{"version":3,"sources":["shared/enums/request-status.ts","components/prospect/enums/time.ts","shared/utils/type-checker.ts","shared/utils/native-attachment-constants.ts","shared/utils/get-unique-number.ts","shared/utils/is-string-link.ts","shared/utils/time.ts","shared/utils/get-formatted-number.ts","shared/toaster/toast.tsx","shared/toaster/helper.ts","shared/toaster/toast-manager.tsx","shared/toaster/toaster-helper.ts","shared/toaster/index.tsx","shared/enums/status-codes.ts","api.ts","shared/utils/errors/system-error-toaster.ts","components/sequence/enums/sequence-setting.ts","components/sequence/enums/pagination-option.ts","components/sequence/enums/sequence-score.ts","components/sequence/enums/sequence-step-types.ts","shared/utils/subscription-plans.ts","shared/utils/access-control/enums/permissions.ts","shared/design-system/components/overlay/index.tsx","shared/utils/access-control/has-permission.tsx","shared/app-constants.tsx","components/sequence/extra-actions.ts","shared/types/keyboard-keys.ts","shared/utils/accessible-on-click.ts","components/prospect/extra-actions.ts","components/home/types.ts","components/settings/components/billing-subscription/extra-actions.tsx","components/settings/components/billing-subscription/helpers/billing-subscription.api.ts","shared/design-system/components/atoms/button/index.tsx","shared/utils/user-details.tsx","components/leads/type.ts","shared/design-system/components/input/index.tsx","shared/components/images/image-icon.tsx","components/email-accounts/extra-actions.tsx","components/home/helpers/credits-api.ts","components/home/extra-actions.ts","shared/utils/billing-options.tsx","shared/utils/execute-on-request-status.ts","components/settings/enums/users-and-teams.ts","shared/enums/constants.ts","shared/design-system/components/atoms/modal/index.tsx","components/email-accounts/components/email-accounts-content/components/connect-smtp-imap-account-modal/types.ts","components/sequence/helpers/sequence.api.ts","components/leads/constants/lead-email-excluded-domains.ts","components/leads/helpers/helper.ts","components/settings/components/users-and-teams/extra-actions.tsx","components/tasks/utils/enums.ts","components/email-accounts/helpers/email-accounts-infra-local-storage.tsx","shared/utils/get-request-status.ts","components/email-accounts/enums/email-account.ts","shared/components/global-settings-wrapper/global-settings-wrapper.tsx","shared/svg/sh-logo-dark.tsx","shared/svg/sh-logo-icon.tsx","shared/svg/chevron-left.tsx","shared/svg/chevron-right.tsx","shared/svg/message-circle.tsx","shared/svg/cross.tsx","shared/svg/arrow-forward-up.tsx","shared/svg/mail-read.tsx","shared/svg/trash.tsx","shared/svg/arrow-back-up.tsx","shared/svg/arrow-back-forward.tsx","shared/svg/no-messages.tsx","shared/svg/arrows-minimize.tsx","shared/svg/sh-logo-dark-sm.tsx","shared/svg/truly-inbox.tsx","shared/svg/swap-arrow.tsx","shared/svg/mail-open.tsx","shared/svg/tag.tsx","shared/svg/play-circle.tsx","shared/svg/variants-list.tsx","shared/svg/gauge-chart.tsx","shared/svg/no-upcoming-trips.tsx","shared/svg/verify-email.tsx","shared/svg/broken-link.tsx","shared/svg/success-checks.tsx","shared/svg/teams-ui.tsx","shared/svg/see-more.tsx","shared/svg/search.tsx","shared/svg/team-performace-ui.tsx","shared/svg/connectivity.tsx","shared/svg/no-logs-found.tsx","shared/svg/gift-box.tsx","shared/svg/sparkling-mail.tsx","shared/svg/no-email-accounts-found.tsx","shared/svg/no-email-content.tsx","shared/svg/no-email-result-found.tsx","shared/svg/no-prospect-result-found.tsx","shared/svg/arrow-right.tsx","shared/svg/arrow-left.tsx","shared/svg/dnc-empty-list.tsx","shared/svg/no-dnc-list-found.tsx","shared/svg/download.tsx","shared/svg/no-tags-found.tsx","shared/svg/dots-verticals.tsx","shared/svg/email-account.tsx","shared/design-system/components/atoms/icon/icon.tsx","store/index.ts","components/unified-inbox/helpers/unified-inbox.api.ts","components/unified-inbox/extra-actions.ts","shared/routes.ts","components/settings/components/billing-subscription/billing-subscription-slice.tsx","shared/utils/urls.ts","shared/design-system/components/select/index.tsx","components/prospect/helpers/prospect.api.ts","shared/types/user-setting.ts","shared/utils/access-control/has-resource.tsx","shared/utils/access-control/enums/resource-identifiers.ts","shared/design-system/components/molecules/pricing-card/types.ts","shared/design-system/components/atoms/icon/index.tsx","components/settings/enums/admin-settings.ts","components/home/home-slice.tsx","shared/history.ts","components/settings/components/billing-subscription/utils/helper.ts","components/tasks/components/tasks-content/utils/helper.ts","shared/components/config-route/config-route.tsx","shared/components/auth-route.tsx","shared/design-system/components/atoms/confirmation-modal/confirmation-modal-v3.tsx","components/settings/helpers/my-profile.api.ts","components/settings/components/my-profile/extra-actions.tsx","shared/utils/errors/validation-error/validation-error.tsx","shared/utils/errors/validation-error/validation-error-helper.tsx","shared/utils/errors/system-error.ts","shared/utils/errors/general-error.ts","components/agency-client-management/helpers/agency-client.api.ts","components/agency-client-management/extra-actions.ts","components/email-accounts/helpers/email-account.api.ts","components/retry-lazy.ts","components/leads/helpers/leads.api.ts","shared/design-system/components/atoms/checkbox.tsx","shared/design-system/components/organisms/table/types.ts","shared/design-system/components/molecules/subscription-plan-details/helper/helper.ts","components/prospect/enums/prospect.ts","components/settings/helpers/admin-settings.api.ts","components/settings/components/admin-settings/extra-actions.tsx","shared/enums/analytics.ts","shared/utils/open-chat-support.ts","components/settings/components/custom-outcomes/extra-actions.tsx","components/settings/components/billing-subscription/components/outreach-plans/utils/helper.ts","shared/design-system/components/organisms/form/types.ts","components/settings/components/api-tokens/extra-actions.tsx","shared/components/truncated-text-with-tooltip/index.tsx","shared/error-boundary/error-boundary.tsx","shared/components/error-boundary-wrapper/error-boundary-wrapper.tsx","shared/design-system/components/input/enums.ts","components/settings/components/custom-fields/extra-actions.tsx","components/prospect/helpers/prospect-filters-resolver.ts","shared/enums/order.ts","shared/design-system/components/alert.tsx","components/reports/enums/reports.ts","components/settings/enums/custom-outcome.ts","shared/types/prospects-filters.ts","components/settings/helpers/custom-domain.api.ts","components/settings/components/custom-domain/extra-actions.tsx","shared/components/protected-route.tsx","shared/utils/errors/plan-permission-error/plan-error-helper.tsx","shared/utils/errors/plan-permission-error/plan-error-manager.tsx","shared/utils/errors/plan-permission-error/index.tsx","shared/design-system/components/atoms/icon-text/index.tsx","shared/design-system/components/atoms/text-stack/index.tsx","shared/design-system/components/molecules/text-stacks-directional/index.tsx","shared/design-system/components/molecules/sequence-name-field/index.tsx","shared/design-system/components/atoms/tooltip-wrapper.tsx","shared/design-system/components/molecules/team-member-name-field/index.tsx","shared/design-system/components/organisms/table/pagination-wrapper.tsx","shared/design-system/components/organisms/table/helper.ts","shared/design-system/components/organisms/table/columns-selector/columns-selector.tsx","shared/design-system/components/organisms/table/index.tsx","shared/utils/set.ts","shared/utils/contact-admin.tsx","shared/design-system/ui/button.tsx","shared/components/suspense/suspense.tsx","shared/enums/master-log-enum.ts","components/settings/components/billing-subscription/components/modify-subscription/types.ts","shared/enums/onboarding-question-options.ts","components/agency-portal/helper.ts","components/agency-portal/agency-portal.tsx","components/agency-portal/agency-portal-container.tsx","shared/components/onboarding-modal/onboarding-questions.ts","shared/components/onboarding-modal/components/progress-bar.tsx","shared/components/onboarding-modal/onboarding-modal.tsx","components/settings/components/setting-navigation/components/settings-navigation-item.tsx","components/settings/components/setting-navigation/components/settings-navigation-title.tsx","components/settings/components/setting-navigation/setting-navigation.tsx","components/settings/helpers/helper.ts","components/settings/setting.tsx","components/settings/setting-container.tsx","components/home/components/header/header-container.tsx","components/home/components/sidenavbar/nav-items.ts","components/home/components/sidenavbar/get-nav-item-icon.tsx","components/home/components/sidenavbar/nav-item.tsx","components/home/components/sidenavbar/dropdown-nav-item.tsx","shared/components/logo-secondary/logo-secondary.tsx","shared/components/logo-secondary/logo-secondary-container.tsx","components/home/components/sidenavbar/sidenavbar.tsx","components/home/components/sidenavbar/types.tsx","components/home/components/sidenavbar/sidenavbar-container.tsx","components/home/components/header/components/session-expire-modal/session-expire-modal.tsx","components/home/home.tsx","components/home/home-container.tsx","shared/enums/product-tour.ts","components/prospect/prospect-slice.ts","components/prospect/helpers/utils/get-merged-prospects.ts","shared/design-system/components/atoms/confirmation-modal/enum.ts","components/auth/helpers/auth.api.ts","components/settings/components/billing-subscription/components/modify-subscription/utils/helper.ts","components/auth/types/request-payload.ts","components/auth/components/signup/extra-actions.ts","components/settings/components/billing-subscription/components/upgrade-plan/utils/helper.ts","components/sequence/shared/modals/email-modal/types.ts","shared/design-system/components/atoms/switch.tsx","shared/design-system/components/input/input-icon.tsx","shared/design-system/components/input/input-icon-list.tsx","shared/design-system/components/input/helpers.ts","shared/design-system/components/input/input-container.tsx","shared/design-system/components/input/input-span.tsx","shared/design-system/components/input/input-button.tsx","shared/design-system/components/input/native-html-input.tsx","shared/design-system/components/input/input.tsx","components/reports/extra-actions.ts","shared/utils/plans.ts","components/settings/helpers/users-and-teams.api.ts","components/settings/components/users-and-teams/users-and-teams-slice.tsx","shared/design-system/components/tag/index.tsx","components/settings/helpers/get-free-plan-banner-string.tsx","components/settings/components/header-banner/header-banner.tsx","components/settings/components/header-banner/header-banner-container.tsx","shared/utils/is-internal-url.tsx","components/settings/components/billing-subscription/components/modify-lead-finder-subscription/types.ts","components/prospect/components/prospect-filters-modal/types.ts","shared/design-system/components/molecules/upgrade-plan-billing-section/helper/helper.ts","shared/design-system/components/molecules/upgrade-plan-billing-section/helper/get-total-after-discount.tsx","shared/types/index.ts","components/sequence/enums/sequence-step.ts","components/templates/helpers/templates.api.tsx","components/templates/extra-actions.tsx","shared/design-system/components/input-number/enums.ts","shared/design-system/components/input-number/helper.ts","shared/utils/native-elements.ts","shared/design-system/components/input-number/input-number.tsx","components/home/components/header/utils/helper.ts","shared/utils/errors/plan-permission-error/plan-error.tsx","components/settings/components/admin-settings/admin-settings-slice.tsx","shared/utils/redirect.ts","components/settings/components/my-profile/components/change-email-modal/change-email-modal-flow/sub-components/description.tsx","components/home/utils/plan-transition.ts","shared/enums/intercom-events.ts","components/settings/enums/field.ts","components/home/helpers/meta-api.ts","components/sequence/components/sequence-single-content/components/sequence-single-contacts/components/contact-list-content/components/helpers/step-filter-mapper.tsx","shared/design-system/ui/carousel.tsx","shared/components/testimonials-carousel/testimonials-carousel.tsx","components/settings/components/my-profile/my-profile-slice.tsx","shared/functions/date.ts","components/settings/components/billing-subscription/components/select-plan/utils/helper.ts","components/settings/enums/field-category.ts","components/settings/helpers/field.api.ts","components/mailbox-emails/helpers/mailbox-emails.api.ts","components/mailbox-emails/extra-actions.ts","shared/design-system/components/molecules/empty-list/empty-list.tsx","shared/design-system/components/overlay/enums.ts","shared/design-system/components/atoms/spinner/spinner.tsx","shared/design-system/components/molecules/status-badge/types.ts","shared/design-system/components/atoms/search-input/index.tsx","components/settings/components/my-profile/components/change-email-modal/change-email-modal-flow/sub-components/title.tsx","components/settings/components/my-profile/components/change-email-modal/change-email-modal-flow/sub-components/footer.tsx","components/settings/components/my-profile/components/change-email-modal/change-email-modal-flow/sub-components/divider.tsx","shared/design-system/components/atoms/link-badge/index.tsx","components/settings/enums/safety-settings.ts","components/settings/helpers/safety-settings.api.ts","components/settings/components/safety-settings/extra-actions.tsx","components/settings/components/safety-settings/safety-settings-slice.tsx","components/settings/components/safety-settings/safety-settings.tsx","components/settings/components/safety-settings/safety-settings-container.tsx","shared/design-system/components/atoms/page-header/page-header.tsx","shared/design-system/components/atoms/page-header/page-header-container.tsx","shared/components/connect-email-account-options/components/SMTP-modal/smtp-modal.tsx","shared/components/connect-email-account-options/connect-email-account-options.tsx","shared/components/connect-email-account-options/extra-actions.tsx","shared/components/connect-email-account-options/helper/update-preferred-app-api.tsx","shared/components/connect-email-account-options/connect-email-account-options-container.tsx","shared/components/connect-email-account-options/connect-email-account-slice.tsx","store/root-reducer.ts","store/store.ts","shared/design-system/components/input/input-label.tsx","shared/utils/password-validator.ts","components/auth/components/login/extra-actions.ts","shared/design-system/components/molecules/prospects-filter/date-filter.tsx","shared/design-system/components/molecules/prospects-filter/select-filter.tsx","shared/design-system/components/molecules/prospects-filter/prospects-filter.tsx","shared/components/getting-started-onboarding/helpers/meta-api.ts","shared/components/getting-started-onboarding/extra-actions.ts","components/home/utils/helper.ts","shared/design-system/components/molecules/tag-autosuggest/tag-autosuggest.tsx","shared/utils/hooks.ts","components/auth/components/oauth-buttons/extra-actions.ts","shared/design-system/components/tag/enums.ts","components/leads/extra-actions.ts","shared/components/helmet-no-index/helmet-no-index.tsx","components/auth/components/alert-container.tsx","components/auth/components/button-container.tsx","components/auth/components/form-section.tsx","shared/components/logo/logo.tsx","shared/components/logo/logo-container.tsx","components/auth/components/top-logo.tsx","components/auth/components/top-welcome.tsx","components/auth/enums/verification-code-config.ts","components/auth/components/ltd-signup-form/validator.ts","components/auth/components/ltd-signup-form/ltd-signup-form.tsx","components/auth/components/ltd-signup-form/ltd-signup-form-container.tsx","components/auth/components/signup/components/verification-code-form/validator.ts","components/auth/components/signup/components/timer/timer.tsx","components/auth/components/signup/components/resend-verification-code/resend-verification-code.tsx","components/auth/components/signup/components/resend-verification-code/resend-verification-code-container.tsx","components/auth/components/ltd-signup/ltd-verification-modal.tsx","components/auth/components/ltd-signup/ltd-signup.tsx","components/auth/components/ltd-signup/ltd-signup-container.tsx","components/auth/components/ltd-checkout/helper.ts","components/auth/components/ltd-checkout/ltd-checkout.tsx","components/auth/components/ltd-checkout/ltd-checkout-container.tsx","components/auth/components/agency-client-login/validator.ts","components/auth/components/agency-client-login/agency-client-login.tsx","components/auth/components/agency-client-login/agency-client-login-container.tsx","components/auth/components/mfa-verify/mfa-verify.tsx","components/auth/components/mfa-verify/mfa-verify-container.tsx","components/auth/auth.tsx","components/auth/auth-container.ts","shared/design-system/ui/modal/modal.tsx","components/prospect/components/prospect-list/components/modals/restriction-error-modal/index.tsx","shared/design-system/components/overlay/tooltip/index.tsx","shared/design-system/components/overlay/tooltip/overlay-tooltip.tsx","shared/components/handle-3d-secure-card-payment/handle3dSecureCardPayment.tsx","shared/design-system/components/atoms/custom-spinner/index.tsx","components/sequence/components/sequence-single-content/components/sequence-single-contacts/components/contact-list-content/helper.ts","components/sequence/components/sequence-single-content/components/sequence-single-contacts/components/prospect-outcome-select/utils/helper.ts","shared/design-system/components/atoms/report-page/constants/report-constants.ts","components/auth/components/login/login-slice.ts","components/settings/components/billing-subscription/components/modify-lead-finder-subscription/utils/helper.ts","components/sequence/sequence-slice.ts","components/agency-client-management/helpers/helpers.ts","components/email-accounts/enums/smtp-imap-encryption.ts","components/email-accounts/components/email-accounts-content/utils/helpers.ts","shared/enums/module.ts","components/settings/enums/prospect-type.ts","components/auth/components/reset-password/extra-actions.ts","components/settings/components/users-and-teams/utils/get-formatted-date.ts","components/reports/helpers/reports.api.ts","shared/design-system/components/transfer/index.tsx","shared/components/images/alert-triangle-large.tsx","shared/design-system/components/atoms/confirmation-modal/confirmation-modal.tsx","shared/design-system/components/atoms/button/button.tsx","shared/design-system/components/molecules/prospect-tags-row/prospect-tags-row.tsx","components/prospect/components/prospect-list/utils/helper.ts","components/settings/components/my-profile/components/change-email-modal/change-email-modal-flow/sub-components/action.tsx","components/auth/components/signup/signup-slice.ts","components/sequence/shared/modals/email-modal/test-email/enums.ts","components/sequence/shared/modals/email-modal/test-email/helpers/test-email.api.ts","components/sequence/shared/modals/email-modal/test-email/extra-actions.ts","shared/components/helmet-icon/helmet-icon.tsx","shared/enums/system-errors.ts","shared/enums/feature-codes.ts","shared/enums/helpscout-beacon-events.ts","components/settings/components/custom-fields/custom-field-slice.tsx","components/auth/components/oauth-buttons/types.ts","components/auth/components/oauth-buttons/oauth-buttons.tsx","components/auth/components/oauth-buttons/oauth-button-container.ts","components/auth/components/oauth-buttons/oauth-slice.ts","components/home/components/header/header-helper.tsx","components/settings/helpers/outcome.api.ts","components/settings/helpers/api-token.api.ts","shared/utils/page-header-alert-types.ts","shared/utils/event-bus.ts","shared/notification/notification.tsx","shared/notification/notification-manager.tsx","shared/notification/notification-helper.ts","shared/notification/index.tsx","shared/design-system/components/molecules/activity-column/type.ts","shared/utils/token.ts","components/email-warmup/enums/index.ts","components/email-accounts/email-accounts-slice.ts","components/settings/components/billing-subscription/enums/subscription-status.ts","shared/design-system/components/atoms/modal/modal.tsx","shared/utils/string.ts","shared/design-system/components/radio-button-group.tsx","shared/components/truncated-text-with-tooltip/truncated-text-with-tooltip.tsx","components/email-accounts/enums/email-account-settings.ts","components/prospect/components/prospect-list/components/modals/add-to-sequence-modal/add-to-sequence-modal.tsx","components/prospect/components/prospect-list/components/modals/add-to-sequence-modal/add-to-sequence-modal-container.tsx","components/settings/components/custom-outcomes/components/custom-outcome-dropdown/types.tsx","components/settings/components/custom-outcomes/components/custom-outcome-dropdown/custom-outcome-dropdown.tsx","components/settings/components/custom-outcomes/components/custom-outcome-dropdown/custom-outcome-dropdown-container.tsx","shared/design-system/components/overlay/overlay.tsx","shared/enums/user-roles.ts","components/auth/components/invitation-signup/extra-actions.ts","components/auth/components/invitation-signup/invitation-signup-slice.ts","shared/svg/sh-typography.tsx","shared/components/validation-checklist.tsx","shared/components/password-validation-checklist/password-validation-checklist.tsx","shared/components/premium-feature-indicator/premium-feature-indicator.tsx","components/auth/components/sso-login/extra-actions.ts","shared/enums/source.ts","shared/design-system/components/tag/tag-sub-span.tsx","shared/design-system/components/tag/tag.tsx","components/unified-inbox/helpers/helper.ts","shared/utils/initialize-third-party-integrations.ts","components/auth/components/reset-password/reset-password-slice.tsx","shared/design-system/components/atoms/button/button-container.tsx","components/email-accounts/components/add-email-accounts/helpers/helpers.ts","shared/utils/handle-onboarding-routing.ts","components/settings/components/billing-subscription/types/apply-coupon-code.ts","components/auth/components/agency-client-login/helper.ts","components/sequence/enums/sequence-pause-reasons.ts","locales/en.ts","locales/fr.ts","i18n.ts","components/agency-client-management/enums/agency-client.ts","components/unified-inbox/enum/unified-inbox.enum.ts","shared/design-system/components/dropdown.tsx","components/email-accounts/enums/create-email-infrastructure.ts","shared/components/upgrade-plan-error-modal/upgrade-plan-error-modal.tsx","shared/components/upgrade-plan-error-modal/upgrade-plan-error-modal-container.tsx","shared/design-system/components/molecules/contact-name-field/index.tsx","shared/design-system/components/atoms/contact-status-tag/contact-status-tag.tsx","shared/design-system/components/molecules/tag-autosuggest/index.tsx","components/email-accounts/components/create-email-infrastructure/components/email-infrastructure-service-provider.tsx","shared/utils/auth-helper.ts","components/sequence/enums/contact.ts","shared/design-system/components/overlay/helpers.ts","shared/enums/trial-extend-source.ts","shared/design-system/components/atoms/initials-avatar/index.tsx","components/settings/components/do-not-contact/components/do-not-contact-list-details/components/do-not-contact-list-details-input/emails-and-domains-input.tsx","shared/components/images/sh-tag.tsx","shared/components/images/upload-cloud.tsx","components/settings/components/billing-subscription/components/select-plan/utils/get-plan-meta-data.ts","shared/design-system/components/molecules/upgrade-plan-billing-section/validator.ts","shared/utils/errors/pause-account-error/helper.tsx","shared/utils/errors/pause-account-error/pause-account-manager/pause-account-manager.tsx","shared/utils/errors/pause-account-error/index.tsx","shared/utils/errors/pause-lead-finder-error/helper.tsx","shared/utils/errors/pause-lead-finder-error/pause-lead-finder-manager/pause-lead-finder-manager.tsx","shared/utils/errors/pause-lead-finder-error/index.tsx","components/settings/components/custom-fields/components/delete-custom-field-modal/delete-custom-field-modal.tsx","components/auth/components/login-form/validator.ts","shared/enums/icp-status.ts","shared/utils/helpscout-handlers.ts","components/sequence/helpers/helper.ts","components/email-accounts/types/email-account.ts","components/prospect/helpers/helper.ts","components/email-accounts/enums/smtp-or-imap.ts","components/prospect/types.ts","shared/utils/mail-body-contents.tsx","shared/utils/timezones-array.ts","shared/utils/date-time.ts","shared/utils/cookies-handlers.ts","shared/design-system/components/molecules/prospects-filter/type.ts","components/sequence/components/sequence-single-content/components/sequence-single-contacts/components/email-verification/risky-prospect-constant.ts","components/email-accounts/enums/default-rampup-settings.ts","shared/utils/initialize-custom-script.ts","components/sequence/components/sequence-single-content/components/sequence-single-settings/components/sequence-single-settings-content/components/sequence-sending-priority/sequence-sending-priority.tsx","shared/design-system/components/molecules/email-verification-content/enum.ts","components/auth/components/change-password/components/change-password-success/change-password-success.tsx","components/auth/components/change-password/extra-actions.ts","components/auth/components/change-password/change-password-slice.ts","components/auth/components/change-password/components/change-password-form/validator.ts","components/auth/components/change-password/components/change-password-form/change-password-form.tsx","components/auth/components/change-password/components/change-password-form/change-password-form-container.tsx","components/auth/components/change-password/change-password.tsx","components/auth/components/change-password/change-password-container.tsx","components/auth/components/change-password/set-user-password-slice.ts","shared/loader/loader-helper.ts","shared/loader/loader.tsx","shared/loader/loader-manager.tsx","shared/loader/index.tsx","shared/enums/browsers.ts","shared/utils/copy-to-clipboard.ts","shared/utils/detect-browser.ts","shared/design-system/components/atoms/prospect-tag/prospect-tag.tsx","components/settings/components/billing-subscription/components/lead-finder-plans/components/plans-section/utils/get-lead-finder-plans-priority.ts","shared/design-system/components/molecules/pricing-card/helpers.ts","components/sequence/shared/add-to-step-select/add-to-step-select.tsx","shared/editor/types.ts","components/email-accounts/components/email-accounts-content/components/update-email-account/helpers.ts","components/settings/components/integrations/utils/helper.ts","shared/design-system/components/atoms/banner/banner.tsx","shared/utils/avoid-banner-alert.ts","components/prospect/components/prospect-filters-modal/utils/helpers.ts","components/sequence/helpers/sequence-step.ts","components/sequence/components/sequence-list/helper.ts","shared/design-system/components/molecules/youtube-video-modal/youtube-video-modal.tsx","shared/design-system/components/atoms/banner/index.tsx","shared/design-system/components/atoms/initials-avatar/avatar.tsx","components/sequence/enums/sequence.ts","components/prospect/components/prospect-table/utils/helper.ts","shared/components/teams-filter/utils/on-select-deselect.ts","components/prospect/helpers/withProspectsFiltersAPI.tsx","shared/components/date-filter/date-filter-options.ts","components/settings/components/billing-subscription/components/resume-subscription-modal.tsx/resume-subscription-modal.tsx","shared/svg/arrows-maximize.tsx","shared/utils/reset-state.ts","components/sequence/components/sequence-single-content/components/sequence-single-step-variant-item/helper.ts","shared/svg/google.tsx","shared/svg/microsoft.tsx","shared/design-system/components/overlay/tooltip/raw-tooltip.tsx","shared/design-system/components/overlay/tooltip/tooltip.tsx","shared/design-system/components/overlay/popover/enums.ts","shared/design-system/components/atoms/badge/badge.tsx","store/actions.ts","shared/design-system/components/atoms/link-badge/link-badge.tsx","shared/components/priority/index.tsx","components/agency-client-management/agency-client.tsx","shared/design-system/components/overlay/popover/raw-popover.tsx","shared/design-system/components/overlay/popover/popover.tsx","shared/design-system/components/overlay/popover/overlay-popover.tsx","shared/design-system/components/transfer/transfer-overlay.tsx","shared/design-system/components/transfer/transfer-overlay-trigger.tsx","shared/design-system/components/transfer/helpers.ts","shared/design-system/components/atoms/page-header/types.tsx","shared/design-system/components/atoms/page-header/page-header-slice.tsx","shared/design-system/components/pagination/pagination.tsx","shared/design-system/components/pagination/pages.tsx","shared/components/images/close.tsx","components/settings/components/billing-subscription/components/upgrade-plan/payment-failed.tsx","shared/components/delete-alert-modal/delete-alert-modal.tsx","shared/design-system/components/atoms/report-page/report-page.tsx","components/auth/components/privacy-policy.tsx","shared/design-system/components/atoms/timezone-option-renderer.tsx","shared/components/images/alert-triangle.tsx","shared/design-system/components/atoms/avatar-with-name/avatar-with-name.tsx","components/sequence/components/sequence-single-content/components/sequence-single-settings/components/sequence-single-settings-content/components/sequence-sending-priority/radio-button-show.tsx","shared/design-system/components/atoms/prospect-tag/with-cancel.tsx","components/home/components/watch-video-modal.tsx","shared/utils/get-current-route.ts","components/unified-inbox/helpers/utils/get-default-filters.ts","shared/hooks/use-base-route.tsx","shared/utils/get-upgrade-cta.tsx","components/prospect/components/prospect-list/components/prospect-list-table/helpers/data-card/data-card.tsx","shared/design-system/components/molecules/upgrade-plan-billing-section/helper/get-total-amount.tsx","components/settings/components/billing-subscription/components/upgrade-plan-static/upgrade-plan-static.tsx","shared/svg/angelist.tsx","shared/svg/stackoverflow.tsx","shared/svg/github.tsx","shared/svg/quora.tsx","shared/svg/me.tsx","shared/svg/no-gender-avatar.tsx","components/leads/components/view-more/view-more.tsx","shared/svg/default-company-logo.tsx","components/prospect/components/prospect-list/components/modals/get-contact-info-modal/get-contact-info-modal.tsx","components/leads/helpers/leads-message.ts","components/leads/components/lead-domains/lead-domains.tsx","components/leads/components/individual-leads/individual-leads.tsx","components/leads/components/hooks/useLeadFilter.tsx","components/leads/components/lead-listing/lead-listing.tsx","components/leads/helpers/filter-data.ts","components/leads/components/search-auto-complete/search-auto-complete.tsx","components/leads/components/people-tab/dropdown-filter.tsx","shared/hooks/useFirstEffect.tsx","components/leads/components/people-tab/filter-checkbox.tsx","components/leads/components/keyword-search-input/keyword-search-input.tsx","components/leads/components/modal/save-filter-modal/types.ts","components/leads/components/modal/save-filter-modal/save-filter-modal.tsx","components/leads/components/saved-filter/saved-filter.tsx","components/leads/components/people-tab/people-tab.tsx","components/leads/components/hooks/useLeadSavedFilter.tsx","components/leads/components/saved-tab/components/tags/tag-saved-filter.tsx","components/leads/components/saved-tab/components/tags/tag-saved-filters-container.tsx","shared/design-system/components/molecules/leads-filter/date-filter.tsx","components/leads/components/saved-tab/saved-tab.tsx","components/leads/components/leads-filter-bulk-search/config/index.tsx","shared/components/multi-chip-input/constants/constants.ts","shared/components/multi-chip-input/helpers/helpers.ts","shared/components/multi-chip-input/multi-chip-input.tsx","components/leads/components/leads-filter-bulk-search/helper/bulk-search-helper.ts","components/leads/components/leads-filter-bulk-search/leads-filter-bulk-search.tsx","components/leads/components/leads-filter/leads-filter.tsx","components/leads/components/add-remove-tag-button/add-remove-tag-button.tsx","components/leads/components/total-credits/total-credits.tsx","shared/components/images/searching-empty-image.tsx","components/leads/components/recent-search/recent-search.tsx","components/leads/components/searching-empty/searching-empty.tsx","components/leads/components/leadsSkeleton/leadsHeaderSkeleton.tsx","components/leads/components/no-search-result/no-search-result.tsx","components/leads/components/leadsSkeleton/individualLeadsSkeleton.tsx","shared/components/images/no-search-result-icon.tsx","components/leads/leads.tsx","components/leads/components/hooks/useLeadFinder.tsx","components/leads/components/hooks/useLeadApiState.tsx","components/leads/components/hooks/useLeadBulkReveal.tsx","components/leads/lead-slice.ts","components/tasks/utils/helper.ts","components/tasks/components/tasks-header/task-header.tsx","components/tasks/helper/tasks.api.ts","components/tasks/extra-actions.ts","components/tasks/components/tasks-header/tasks-header-container.tsx","components/tasks/components/tasks-content/utils/tasks-data.ts","components/tasks/components/tasks-content/utils/tasks-columns.tsx","components/tasks/components/tasks-content/components/snooze-modal/helper.ts","components/tasks/components/tasks-content/components/snooze-modal/snooze-date-picker.tsx","components/tasks/components/tasks-content/components/snooze-modal/snooze-modal.tsx","components/tasks/helper/empty-list.tsx","components/tasks/components/tasks-content/components/tasks-filter-bar/components/task-type-select/helper.ts","components/tasks/components/tasks-content/components/tasks-filter-bar/components/task-type-select/task-type-select.tsx","shared/svg/vector.tsx","components/tasks/components/tasks-content/components/tasks-filter-bar/tasks-filter-bar.tsx","components/tasks/components/tasks-content/components/tasks-filter-bar/tasks-filter-bar-container.tsx","components/tasks/components/tasks-content/utils/swr-helper.ts","components/tasks/components/tasks-content/components/reassign-modal/reassign-modal.tsx","components/tasks/components/tasks-content/components/reassign-modal/reassign-modal-container.tsx","components/tasks/components/tasks-content/components/task-banner/task-banner.tsx","components/tasks/components/tasker-modal/utils/helper.ts","components/tasks/components/tasker-modal/tasker-modal.tsx","components/tasks/tasks-slice.ts","components/tasks/components/tasker-modal/tasker-modal-container.tsx","components/tasks/components/tasks-content/components/task-note-modal/task-note-modal.tsx","components/tasks/components/tasks-content/tasks-content.tsx","components/tasks/components/tasks-content/hooks/useTasks.ts","components/tasks/components/tasks-content/tasks-content-container.tsx","components/tasks/tasks.tsx","components/tasks/tasks-container.tsx","shared/design-system/components/atoms/notification/helper/notification-helper.ts","shared/design-system/components/atoms/notification/notification-badge.tsx","shared/design-system/components/atoms/notification/notification-text-async.tsx","shared/design-system/components/atoms/notification/notification.tsx","shared/design-system/components/atoms/profile-dropdown/helper/AvatarEmail.tsx","shared/design-system/components/atoms/profile-dropdown/helper/credits-box-helper.ts","shared/design-system/components/atoms/profile-dropdown/helper/credits-box.tsx","shared/design-system/components/atoms/profile-dropdown/helper/common-profile-dropdown-item.tsx","components/home/components/header/header.tsx","shared/design-system/components/atoms/profile-dropdown/helper/multichannel-beta-access-switch.tsx","shared/design-system/components/atoms/profile-dropdown/profile-dropdown.tsx","components/email-warmup/components/email-warmup-header.tsx","components/sequence/components/sequence-single-header/components/sequence-single-title/sequence-single-title.tsx","components/sequence/components/sequence-single-header/sequence-single-header.tsx","components/sequence/components/sequence-single-header/sequence-single-header-container.tsx","components/home/components/header/components/change-log/change-log.tsx","components/home/components/header/components/header-banner.tsx","components/email-accounts/components/email-accounts-content/components/email-accounts-header/email-accounts-header.tsx","components/email-accounts/components/email-accounts-content/components/email-accounts-header/email-accounts-header-container.tsx","components/email-accounts/modals/going-back-to-email-accounts-modal.tsx","components/email-accounts/components/create-email-infrastructure/components/create-email-infrastructure-header.tsx","components/email-accounts/components/add-email-accounts/components/add-email-accounts-header.tsx","shared/components/async-progress-bar/async-progress-bar.tsx","components/settings/components/billing-subscription/components/upgrade-plan-header/upgrade-plan-header.tsx","shared/hooks/usePolling.tsx","components/growth-hub/extra-actions.ts","components/growth-hub/helper/growth-hub.api.ts","components/growth-hub/components/masterclass-progress/master-class-progress.tsx","components/growth-hub/components/masterclass-progress/master-class-progress-container.tsx","components/growth-hub/growth-hub-slice.tsx","components/growth-hub/components/master-class-lessons/master-class-lessons.tsx","components/growth-hub/components/master-class-lessons/master-class-lessons-container.tsx","components/growth-hub/components/master-class-chapter-content/master-class-chapter-content.tsx","components/growth-hub/components/master-class-chapter-content/master-class-chapter-content-container.tsx","components/growth-hub/growth-hub.tsx","components/growth-hub/growth-hub-container.tsx","components/domains/enums.ts","components/domains/helpers/domains.api.ts","components/domains/extra-actions.tsx","components/domains/domains-slice.ts","components/domains/components/domains-actions.tsx","components/domains/components/domains-mailboxes-popover.tsx","components/domains/components/domains-table.tsx","components/domains/modals/delete-domain-modal.tsx","components/domains/modals/revoke-cancellation-modal.tsx","components/domains/components/no-search-result.tsx","components/domains/components/domains-content/domains-content.tsx","components/domains/components/domains-content/domains-content-container.tsx","components/domains/domains.tsx","shared/design-system/components/molecules/performance-stats/types.ts","components/email-warmup/components/email-warmup-collaboration.tsx","components/email-warmup/email-warmup.tsx","components/email-warmup/helpers/helper.ts","components/email-warmup/helpers/email-warmup.api.tsx","components/email-warmup/extra-actions.tsx","components/email-warmup/email-warmup-slice.tsx","components/email-warmup/email-warmup-container.tsx","shared/design-system/components/molecules/all-features-list-modal/components/features-header.tsx","shared/design-system/components/molecules/all-features-list-modal/components/feature-meta.tsx","shared/design-system/components/molecules/all-features-list-modal/components/features-section.tsx","shared/design-system/components/molecules/all-features-list-modal/all-features-list-modal.tsx","shared/design-system/components/molecules/all-features-list-modal/utils/get-all-features.ts","shared/design-system/components/molecules/pricing-card/pricing-card.tsx","components/settings/components/billing-subscription/components/select-plan/select-plan.tsx","components/auth/components/reset-password/components/reset-password-form/reset-password-form.tsx","components/auth/components/reset-password/components/reset-password-form/reset-password-form-container.tsx","components/auth/components/reset-password/components/reset-password-success/reset-password-success.tsx","components/auth/components/reset-password/reset-password.tsx","components/auth/components/reset-password/reset-password-container.tsx","components/auth/components/sso-login-form/sso-login-form.tsx","components/auth/components/sso-login/sso-login-slice.ts","components/auth/components/sso-login-form/sso-login-form-container.tsx","components/auth/components/sso-login/sso-login.tsx","components/auth/components/sso-login/sso-login-container.tsx","shared/design-system/components/atoms/prospect-contact-field/enum.ts","shared/design-system/components/atoms/prospect-contact-field/types.ts","shared/design-system/components/atoms/prospect-contact-field/individual-email-field.tsx","shared/design-system/components/atoms/prospect-contact-field/individual-phone-field.tsx","shared/design-system/components/atoms/prospect-contact-field/prospect-contact-field.tsx","shared/design-system/components/atoms/prospect-contact-field/prospect-label-field.tsx","shared/design-system/components/organisms/form/index.tsx","components/auth/components/login-form/login-form.tsx","components/auth/components/login-form/login-form-container.tsx","components/auth/components/login/login.tsx","components/auth/components/login/login-container.tsx","components/auth/components/denied-invitation/denied-invitation.tsx","components/auth/components/invitation-signup/components/invitation-signup-failed.tsx","components/auth/components/invitation-signup/invitation-signup.tsx","components/auth/components/invitation-signup/invitation-signup-container.tsx","components/auth/components/reset-password-callback/reset-password-callback.tsx","components/auth/components/reset-password-callback/extra-actions.ts","components/auth/components/reset-password-callback/reset-password-callback-slice.ts","components/auth/components/reset-password-callback/reset-password-callback-container.tsx","components/auth/components/sso-callback/sso-callback.tsx","components/auth/components/sso-callback/extra-actions.ts","components/auth/components/sso-callback/sso-callback-container.tsx","components/auth/components/sso-callback/sso-callback-slice.ts","components/auth/components/signup-form/validator.ts","components/auth/components/signup-form/signup-form.tsx","components/auth/components/signup-form/signup-form-container.tsx","shared/design-system/components/transfer/transfer-empty.tsx","shared/design-system/components/transfer/option-list.tsx","shared/design-system/components/transfer/search.tsx","shared/design-system/components/transfer/transfer.tsx","components/settings/components/billing-subscription/components/upgrade-plan/components/downgrade-warning-modal.tsx","shared/design-system/components/molecules/upgrade-plan-billing-section/upgrade-plan-billing-section.tsx","shared/design-system/components/molecules/upgrade-plan-billing-section/upgrade-plan-billing-section-container.tsx","components/auth/components/verify-email-callback/verify-email-callback.tsx","components/auth/components/verify-email-callback/verify-email-callback-container.tsx","components/auth/components/signup/signup.tsx","components/auth/components/signup/signup-container.tsx","components/settings/components/custom-fields/components/generic-create-update-custom-field-modal/validator.tsx","components/settings/components/custom-fields/components/generic-create-update-custom-field-modal/create-update-custom-field-modal.tsx","components/settings/components/custom-outcomes/components/generic-create-update-custom-outcome-modal/validator.tsx","components/settings/components/custom-outcomes/components/generic-create-update-custom-outcome-modal/create-update-custom-outcome-modal.tsx","components/sequence/sequence.tsx","components/prospect/prospect.tsx","components/mailbox-emails/mailbox-emails.tsx","components/reports/reports.tsx","components/templates/templates.tsx","components/unified-inbox/unified-inbox.tsx","components/email-accounts/email-accounts.tsx","shared/components/helpscout-button/helpscout-button.tsx","components/settings/components/custom-fields/components/generic-create-update-custom-field-modal/prospect-modal/create-prospect-custom-field-modal/create-prospect-custom-field-modal.tsx","components/settings/components/custom-outcomes/components/generic-create-update-custom-outcome-modal/prospect-modal/create-prospect-custom-outcome-modal/create-prospect-custom-outcome-modal.tsx","shared/design-system/components/atoms/cell-card/cell-card.tsx","shared/design-system/components/atoms/radio-button-transfer/radio-button-transfer.tsx","shared/design-system/components/atoms/warning-message/warning-message.tsx","shared/design-system/components/molecules/upgrade-plans-details/upgrade-plan-details.tsx","shared/design-system/components/molecules/plan-cycle-switch/plan-cycle-switch.tsx","components/reports/helpers/helper.ts","components/sequence/components/sequence-single-content/components/sequence-single-emails/helper/sequence-emails-filters-resolver.ts","components/reports/components/graph-content/utils/helper.ts","shared/utils/sleep.ts","shared/utils/event.ts","components/sequence/components/sequence-single-content/components/sequence-single-header-actions/utils/helper.tsx","components/sequence/shared/modals/email-modal/helpers.ts","shared/design-system/components/atoms/export-button/export-button.tsx","components/mailbox-emails/enum/mailbox-emails.enum.ts","components/mailbox-emails/helpers/helper.ts","components/email-accounts/components/email-accounts-content/components/update-email-account/types.tsx","components/agency-client-management/agency-client-slice.tsx","components/unified-inbox/unified-inbox-slice.ts","shared/utils/time-conversions.ts","shared/utils/HOC/with-resize-detector-ref.tsx","shared/design-system/components/select/select-bar.tsx","shared/design-system/components/select/select.tsx","components/reports/reports-slice.ts","shared/enums/status.ts","components/prospect/components/prospect-list/components/prospect-details/prospect-details-modal/prospect-details-modal.tsx","components/prospect/components/prospect-list/components/prospect-details/prospect-details-modal/prospect-sequence-list-table/prospect-sequence-list-table.tsx","components/prospect/components/prospect-list/components/prospect-details/prospect-details-modal/prospect-sequence-list-table/helper/prospect-column-data.tsx","components/prospect/components/prospect-list/components/prospect-details/prospect-details-modal/prospect-profile-form/prospect-profile-form.tsx","shared/design-system/components/atoms/infinite-scroll-custom/infinite-scroll-custom.tsx","shared/design-system/components/organisms/activity/activity.tsx","components/prospect/components/prospect-list/components/prospect-details/prospect-details-modal/prospect-activity/prospect-activity.tsx","components/prospect/components/prospect-list/components/prospect-details/prospect-details.tsx","components/prospect/components/prospect-list/components/prospect-details/prospect-details-container.tsx","components/settings/components/billing-subscription/components/ev-credits/components/ev-credit-plans/ev-credit-plans.tsx","components/settings/components/billing-subscription/components/purchase-credits-modal/purchase-credits-modal.tsx","components/settings/components/billing-subscription/components/purchase-credits-modal/purchase-credits-modal-container.tsx","shared/components/email-preview-modal/type.ts","components/templates/components/helpers.ts","shared/components/images/empty-data-icon-1.tsx","shared/utils/plan-restriction.ts","components/sequence/shared/modals/create-step-modal/utils/helper.ts","components/templates/templates-slice.tsx","shared/design-system/components/atoms/circular-progressbar.tsx","shared/design-system/components/atoms/filter-tab/filter-tab.tsx","shared/components/images/sh-backward.tsx","shared/components/images/sh-forward.tsx","shared/design-system/components/atoms/horizontal-menu/arrow.tsx","shared/design-system/components/atoms/horizontal-menu/horizontal-menu.tsx","components/prospect/components/prospect-list/components/prospects-filters/prospects-filter-bar/prospects-filter-bar.tsx","shared/design-system/components/molecules/tag-autosuggest-2/tag-autosuggest-2.tsx","shared/components/add-remove-tag/add-remove-tag.tsx","shared/design-system/components/molecules/status-badge/status-badge.tsx","components/unified-inbox/helpers/utils/email-inbox-filters-local-storage-handler.ts","shared/components/data-table/data-table.tsx","shared/design-system/components/atoms/search-input/search-input.tsx","components/mailbox-emails/mailbox-emails-slice.ts","components/sequence/shared/modals/email-modal/test-email/test-email-slice.ts","components/email-accounts/components/email-accounts-content/components/no-seat-available-for-email-modal.tsx","shared/components/images/clicked-with-background.tsx","shared/components/images/opened-with-background.tsx","shared/components/images/paused-with-background.tsx","shared/components/images/prospect-activity-email-bounced-colored.tsx","shared/components/images/prospect-activity-email-failed-colored.tsx","shared/components/images/prospect-activity-email-opened-colored.tsx","shared/components/images/prospect-activity-email-reply-colored.tsx","shared/components/images/prospect-activity-email-sent.tsx","shared/components/images/prospect-activity-email-sent-colored.tsx","shared/components/images/prospect-activity-email-unsubscribed-colored.tsx","shared/components/images/prospect-activity-link-clicked-colored.tsx","shared/components/images/prospect-blacklisted-colored.tsx","shared/components/images/prospect-removed-from-blacklist-colored.tsx","shared/components/images/resume-with-background.tsx","shared/design-system/components/atoms/icon-and-log/icon-and-log.tsx","shared/design-system/components/molecules/activity-component/activity-component.tsx","shared/utils/get-prospect-icon.tsx","components/settings/components/users-and-teams/utils/multi-select.tsx","components/prospect/components/prospect-list/components/prospects-filters/prospects-filters-modal/custom-filter-group-label.tsx","components/prospect/components/prospect-list/components/prospects-filters/prospects-filters-modal/prospects-filters-modal.tsx","components/prospect/components/prospect-list/components/prospects-filters/prospects-filters-modal/prospects-filters-modal-container.tsx","shared/design-system/components/atoms/email-verification-error/email-verification-error.tsx","shared/design-system/components/molecules/email-verification-content/manual-email-verification.tsx","shared/design-system/components/molecules/email-verification-content/import-email-verification.tsx","shared/design-system/components/molecules/email-verification-content/email-verification-content.tsx","components/agency-client-management/components/agency-client-dropdown/agency-client-dropdown.tsx","components/agency-client-management/components/agency-client-dropdown/agency-client-dropdown-container.tsx","shared/components/restriction-error-modal/restriction-error-modal.tsx","shared/utils/get-account-email-sending-detail.ts","shared/design-system/components/atoms/custom-spinner/custom-spinner.tsx","shared/utils/get-email-accounts-esp-mapping.ts","components/sequence/helpers/step-types.tsx","shared/components/add-to-sequence-modal/add-to-sequence-modal.tsx","components/prospect/components/prospect-list/components/modals/restriction-error-modal/restriction-error-modal.tsx","components/sequence/shared/modals/reached-email-sending-limit/reached-email-sending-limit.tsx","components/sequence/components/sequence-single-content/components/sequence-single-contacts/components/import-flow/stage.ts","components/sequence/components/sequence-single-content/components/sequence-single-contacts/components/select-file/enum.ts","components/sequence/components/sequence-single-content/components/sequence-single-contacts/components/select-file/components/file-uploader/file-uploader.tsx","components/sequence/components/sequence-single-content/components/sequence-single-contacts/components/map-fields/components/map-list/enums/default-fields.ts","components/sequence/components/sequence-single-content/components/sequence-single-contacts/components/select-file/components/pre-select/pre-select.tsx","components/sequence/components/sequence-single-content/components/sequence-single-contacts/components/select-file/components/post-select/post-select.tsx","components/sequence/components/sequence-single-content/components/sequence-single-contacts/components/select-file/select-file.tsx","components/sequence/components/sequence-single-content/components/sequence-single-contacts/components/map-fields/components/map-list/utils/possible-csv-default-headers.ts","components/sequence/components/sequence-single-content/components/sequence-single-contacts/components/email-verification/email-verification.tsx","components/sequence/components/sequence-single-content/components/sequence-single-contacts/components/map-fields/components/map-list/utils/field-type-validator.ts","components/sequence/components/sequence-single-content/components/sequence-single-contacts/components/map-fields/components/map-list/map-list.tsx","components/sequence/components/sequence-single-content/components/sequence-single-contacts/components/map-fields/conflict-action.ts","shared/components/info-circle.tsx","components/sequence/components/sequence-single-content/components/sequence-single-contacts/components/map-fields/map-fields.tsx","components/sequence/helpers/field.ts","components/sequence/components/sequence-single-content/components/sequence-single-contacts/components/map-fields/map-field-container.tsx","shared/design-system/components/molecules/tag-prospects-content/tag-prospects-content.tsx","shared/utils/tags-payload-parser.ts","components/sequence/components/sequence-single-content/components/sequence-single-contacts/components/email-verification/email-verification-container.tsx","components/sequence/components/sequence-single-content/components/sequence-single-contacts/components/import-flow/components/import-stage-tabs.tsx","components/sequence/components/sequence-single-content/components/sequence-single-contacts/components/import-flow/import-flow.tsx","components/sequence/components/sequence-single-content/components/sequence-single-contacts/components/report/report.tsx","components/sequence/components/sequence-single-content/components/sequence-single-contacts/components/report/report-container.tsx","components/sequence/components/sequence-single-content/components/sequence-single-contacts/components/import-contacts-modal/utils/helper.ts","components/sequence/components/sequence-single-content/components/sequence-single-contacts/components/import-contacts-modal/import-contacts-modal.tsx","components/sequence/components/sequence-single-content/components/sequence-single-contacts/components/import-contacts-modal/import-contacts-modal-container.tsx","components/email-accounts/components/email-accounts-content/components/email-daily-sending-limit/sub-components/daily-sending-limit-input.tsx","components/email-accounts/components/email-accounts-content/components/email-daily-sending-limit/sub-components/zero-limit-error.tsx","components/email-accounts/components/email-accounts-content/components/email-daily-sending-limit/helpers.ts","components/email-accounts/components/email-accounts-content/components/email-daily-sending-limit/sub-components/soft-limit-error.tsx","components/email-accounts/components/email-accounts-content/components/email-daily-sending-limit/email-sending-limit-nudge-content.tsx","components/email-accounts/components/email-accounts-content/components/email-daily-sending-limit/sub-components/hard-limit-error.tsx","components/email-accounts/components/email-accounts-content/components/email-daily-sending-limit/sub-components/lower-limit-error.tsx","components/email-accounts/helpers/email-account-sending-limit.tsx","components/email-accounts/components/email-accounts-content/components/email-daily-sending-limit/extra-actions.tsx","components/email-accounts/components/email-accounts-content/components/email-daily-sending-limit/email-daily-sending-limit-slice.tsx","components/email-accounts/components/email-accounts-content/components/email-daily-sending-limit/email-daily-sending-limit.tsx","components/email-accounts/components/email-accounts-content/components/email-daily-sending-limit/email-daily-sending-limit-container.tsx","components/email-accounts/components/email-accounts-content/components/add-email-bulk-import-modal/components/select-email-accounts-file/types.tsx","components/email-accounts/components/email-accounts-content/components/add-email-bulk-import-modal/components/pre-file-select/pre-file-select.tsx","components/email-accounts/components/email-accounts-content/components/add-email-bulk-import-modal/components/post-file-select/post-file-select.tsx","components/email-accounts/components/email-accounts-content/components/add-email-bulk-import-modal/components/select-email-accounts-file/select-email-accounts-file.tsx","components/email-accounts/components/email-accounts-content/components/add-email-bulk-import-modal/add-bulk-import-modal.tsx","components/email-accounts/components/email-accounts-content/components/add-email-bulk-import-modal/utils/helper.tsx","components/email-accounts/components/email-accounts-content/components/add-email-bulk-import-modal/add-bulk-import-modal-container.tsx","shared/components/add-prospect-form/helper.ts","shared/components/add-prospect-form/add-prospect-form.tsx","shared/components/add-prospect-form/add-prospect-form-container.tsx","shared/components/verify-email-modal/verify-email-modal.tsx","shared/components/verify-email-modal/verify-email-modal-container.tsx","shared/components/date-filter/helper.ts","shared/design-system/components/atoms/date-picker/DatePicker.tsx","shared/components/date-filter/date-filter.tsx","components/email-accounts/components/email-accounts-content/components/add-email-account-modal/add-email-account-modal.tsx","shared/design-system/components/atoms/report-modal/report-modal.tsx","components/sequence/shared/modals/create-step-modal/components/step-content-area/step-content-area.tsx","components/sequence/shared/modals/pause-resume-sequence-modal/pause-resume-sequence-modal.tsx","shared/design-system/components/atoms/dropdown/dropdown.tsx","shared/types/exception-types.ts","shared/types/contact-verification-status.ts","assets/images/youtube.svg","assets/images/mail-send.svg","assets/images/circle-check-green.svg","shared/utils/spammy-word-list.ts","components/prospect/components/prospect-table/utils/get-prospect-system-attributes.ts","shared/design-system/ui/alert.tsx","shared/design-system/components/molecules/sequence-name-field/helper.ts","shared/design-system/components/pagination/index.tsx","components/prospect/components/prospect-filters-modal/utils/get-prospect-filters-field-attribute-values.ts","shared/utils/get-verification-sub-status-mapping.ts","shared/utils/trim-leading-zeros.ts","shared/components/priority/priority.tsx","components/unified-inbox/helpers/utils/get-truncated-text-for-category.ts","shared/hooks/useAxios.tsx","shared/utils/open-url.ts","components/sequence/components/sequence-single-content/components/sequence-single-contacts/components/contact-list-content/components/prospect-activity-modal/helpers.ts","components/settings/components/billing-subscription/enums/redirect-user.ts","components/prospect/components/prospect-list/components/prospect-list-table/helpers/prospect-column-data.tsx","components/prospect/components/prospect-list/components/prospect-list-table/helpers/prospect-sequence-name.tsx","components/prospect/components/prospect-list/components/prospect-list-table/helpers/outcome-cell.tsx","components/settings/components/billing-subscription/components/lead-finder-plans/components/range-input/range-input.tsx","shared/utils/filter-decimal.tsx","components/settings/components/billing-subscription/components/outreach-plans/components/range-input/range-input.tsx","shared/utils/feature-code.ts","shared/components/date-filter/index.tsx","shared/reducers/api-cache-slice.ts","components/settings/components/billing-subscription/components/cold-email-plans/components/cold-email-plan-card/types.ts","components/settings/components/billing-subscription/components/modify-subscription/components/modify-subscription-progress-bar/modify-subscription-progress-bar.tsx","components/settings/components/billing-subscription/components/upgrade-plan/upgrade-plan.tsx","components/settings/components/billing-subscription/components/modify-subscription/components/cold-email-plan-explore-banner/cold-email-plan-explore-banner.tsx","components/settings/components/billing-subscription/components/outreach-plans/components/billing-summary-modal/billing-summary-modal.tsx","components/settings/components/billing-subscription/components/outreach-plans/components/billing-summary-modal/utils/helper.ts","components/settings/components/billing-subscription/components/outreach-plans/components/billing-summary-modal/billing-summary-modal-container.tsx","components/settings/components/billing-subscription/components/outreach-plans/components/plans-section/utils/helper.ts","components/settings/components/billing-subscription/components/outreach-plans/components/outreach-plan-card/utils/helper.ts","components/settings/components/billing-subscription/components/outreach-plans/components/outreach-plan-card/outreach-plan-card.tsx","components/settings/components/billing-subscription/components/outreach-plans/components/plans-section/plans-section.tsx","components/settings/components/billing-subscription/components/outreach-plans/components/plans-section/plans-section-container.tsx","components/settings/components/billing-subscription/components/cold-email-plans/components/cold-email-plans-comparison/components/features-header.tsx","components/settings/components/billing-subscription/components/cold-email-plans/components/cold-email-plans-comparison/components/feature-meta.tsx","components/settings/components/billing-subscription/components/cold-email-plans/components/cold-email-plans-comparison/components/features-section.tsx","components/settings/components/billing-subscription/components/cold-email-plans/components/cold-email-plans-comparison/utils/get-all-features.ts","components/settings/components/billing-subscription/components/outreach-plans/outreach-plans.tsx","components/settings/components/billing-subscription/components/outreach-plans/outreach-plans-container.tsx","components/settings/components/billing-subscription/components/modify-subscription/modify-subscription.tsx","components/settings/components/billing-subscription/components/modify-subscription/modify-subscription-container.tsx","components/settings/components/billing-subscription/components/lead-finder-plans/utils/helper.ts","components/settings/components/billing-subscription/components/modify-lead-finder-subscription/components/modify-subscription-progress-bar/modify-subscription-progress-bar.tsx","components/settings/components/billing-subscription/components/modify-lead-finder-subscription/components/cold-email-plan-explore-banner/cold-email-plan-explore-banner.tsx","components/settings/components/billing-subscription/components/lead-finder-plans/components/billing-summary-modal/billing-summary-modal.tsx","components/settings/components/billing-subscription/components/lead-finder-plans/components/billing-summary-modal/utils/helper.ts","components/settings/components/billing-subscription/components/lead-finder-plans/components/billing-summary-modal/billing-summary-modal-container.tsx","components/settings/components/billing-subscription/components/lead-finder-plans/components/plans-section/utils/helper.ts","components/settings/components/billing-subscription/components/lead-finder-plans/components/lead-finder-plan-card/utils/helper.ts","components/settings/components/billing-subscription/components/lead-finder-plans/components/lead-finder-plan-card/lead-finder-plan-card.tsx","components/settings/components/billing-subscription/components/lead-finder-plans/components/plans-section/lead-finder-plans-section.tsx","components/settings/components/billing-subscription/components/lead-finder-plans/components/plans-section/lead-finder-plans-section-container.tsx","components/settings/components/billing-subscription/components/lead-finder-plans/components/credit-slider/credit-slider.tsx","components/settings/components/billing-subscription/components/lead-finder-plans/lead-finder-plans.tsx","components/settings/components/billing-subscription/components/lead-finder-plans/lead-finder-plans-container.tsx","components/settings/components/billing-subscription/components/lead-finder-upgrade-plan/utils/helper.ts","components/settings/components/billing-subscription/components/lead-finder-upgrade-plan/lead-finder-upgrade-plan.tsx","components/settings/components/billing-subscription/components/modify-lead-finder-subscription/modify-lead-finder-subscription.tsx","components/settings/components/billing-subscription/components/modify-lead-finder-subscription/modify-lead-finder-subscription-container.tsx","components/sequence/components/sequence-single-content/components/sequence-single-contacts/components/search-and-add-modal/search-and-add-modal.tsx","components/sequence/components/sequence-single-content/components/sequence-single-contacts/components/search-and-add-modal/search-and-add-modal-container.tsx","components/sequence/shared/modals/add-contact-button/utils/helper.ts","components/sequence/shared/modals/add-contact-button/add-contact-button.tsx","components/sequence/shared/modals/add-contact-button/add-contact-button-container.tsx","shared/components/block-page/helper.ts","shared/components/block-page/block-page.tsx","shared/components/block-page/block-page-container.tsx","shared/design-system/components/overlay/popover-confirm/raw-popover-confirm.tsx","shared/design-system/components/overlay/popover-confirm/popover-confirm.tsx","shared/design-system/components/overlay/popover-confirm/overlay-popover-confirm.tsx","components/prospect/components/prospect-list/components/modals/tags-modal/tags-modal.tsx","components/prospect/components/prospect-list/components/modals/tags-modal/tags-modal-container.tsx","components/prospect/components/prospect-list/components/prospect-list-table/prospect-list-table.tsx","components/prospect/components/prospect-list/components/prospect-actions/components/prospect-list-search-bar/prospect-list-search-bar.tsx","shared/components/connect-email-account-modal/connect-email-account-modal.tsx","components/settings/components/billing-subscription/components/lead-finder-plans/components/range-input/index.tsx","components/settings/components/billing-subscription/components/outreach-plans/components/range-input/index.tsx","components/settings/enums/do-not-contact-list.ts","components/settings/components/do-not-contact/components/do-not-contact-list/components/do-not-contact-list-header/do-not-contact-list-header.tsx","components/settings/components/do-not-contact/components/modals/import-emails-domains-via-csv/enum.ts","components/settings/components/do-not-contact/components/do-not-contact-list/components/do-not-contact-list-table/fields/list-name-field.tsx","components/settings/components/do-not-contact/components/do-not-contact-list/components/do-not-contact-list-table/fields/total-field.tsx","components/settings/components/do-not-contact/components/do-not-contact-list/components/do-not-contact-list-table/fields/client-associated-field.tsx","components/settings/components/do-not-contact/components/do-not-contact-list/components/do-not-contact-list-table/fields/added-by-field.tsx","components/settings/components/do-not-contact/components/do-not-contact-list/components/do-not-contact-list-table/fields/updated-at-field.tsx","components/settings/components/do-not-contact/components/do-not-contact-list/components/do-not-contact-list-table/utils/get-do-not-contact-list-columns.tsx","components/settings/components/do-not-contact/components/do-not-contact-list/components/do-not-contact-list-table/do-not-contact-list-table.tsx","components/settings/components/do-not-contact/components/modals/delete-do-not-contact-list/delete-do-not-contact-list.tsx","components/settings/components/do-not-contact/components/do-not-contact-list/components/do-not-contact-list-empty-ui/do-not-contact-list-empty-ui.tsx","components/settings/components/do-not-contact/components/modals/add-modify-do-not-contact-list/helper.ts","components/settings/components/do-not-contact/helper/get-list-helper-text.tsx","components/settings/components/do-not-contact/components/modals/add-modify-do-not-contact-list/add-modify-do-not-contact-list.tsx","components/settings/components/do-not-contact/components/do-not-contact-list/do-not-contact-list.tsx","components/settings/helpers/do-not-contact.api.ts","components/settings/components/do-not-contact/extra-actions.tsx","components/settings/components/do-not-contact/do-not-contact-slice.tsx","components/settings/components/do-not-contact/components/do-not-contact-list/do-not-contact-list-container.tsx","shared/design-system/components/atoms/delete-button/delete-button.tsx","components/settings/components/do-not-contact/components/do-not-contact-list-details/components/do-not-contact-list-details-header/do-not-contact-list-details-header.tsx","components/settings/components/do-not-contact/helper/get-entries-message.ts","components/settings/components/do-not-contact/components/do-not-contact-list-details/components/do-not-contact-list-details-input/do-not-contact-list-details-input.tsx","components/settings/components/do-not-contact/components/do-not-contact-list-details/components/do-not-contact-list-details-input/do-not-contact-list-details-input-container.tsx","components/settings/components/do-not-contact/components/do-not-contact-list-details/components/do-not-contact-list-details-table/utils/bulk-action-helper-function.ts","components/settings/components/do-not-contact/components/do-not-contact-list-details/components/do-not-contact-list-details-table/selected-emails-domains-info-banner.tsx","components/settings/components/do-not-contact/components/do-not-contact-list-details/components/do-not-contact-list-details-table/fields/email-domain-name-field.tsx","components/settings/components/do-not-contact/components/do-not-contact-list-details/components/do-not-contact-list-details-table/fields/added-by-field.tsx","components/settings/components/do-not-contact/components/do-not-contact-list-details/components/do-not-contact-list-details-table/fields/updated-at-field.tsx","components/settings/components/do-not-contact/components/do-not-contact-list-details/components/do-not-contact-list-details-table/utils/get-do-not-contact-list-details-columns.tsx","components/settings/components/do-not-contact/components/do-not-contact-list-details/components/do-not-contact-list-details-table/do-not-contact-list-details-table.tsx","components/settings/components/do-not-contact/components/do-not-contact-list-details/components/do-not-contact-list-details-table/do-not-contact-list-details-table-container.tsx","components/settings/components/do-not-contact/components/modals/import-emails-domains-via-csv/components/file-selector-input/components/choose-file-input/choose-file-input.tsx","components/settings/components/do-not-contact/components/modals/import-emails-domains-via-csv/components/file-selector-input/components/pre-select/pre-select.tsx","components/settings/components/do-not-contact/components/modals/import-emails-domains-via-csv/components/file-selector-input/components/post-select/post-select.tsx","components/settings/components/do-not-contact/components/modals/import-emails-domains-via-csv/components/file-selector-input/file-selector-input.tsx","components/settings/components/do-not-contact/components/modals/import-emails-domains-via-csv/components/import-report.tsx","components/settings/components/do-not-contact/components/modals/import-emails-domains-via-csv/import-emails-domains-via-csv.tsx","components/settings/components/do-not-contact/components/modals/import-emails-domains-via-csv/import-emails-domains-via-csv-container.tsx","components/settings/components/do-not-contact/components/do-not-contact-list-details/components/do-not-contact-list-details-search.tsx","components/settings/components/do-not-contact/components/do-not-contact-list-details/do-not-contact-list-details.tsx","components/settings/components/do-not-contact/helper/get-list-associated-by-name.ts","components/settings/components/do-not-contact/components/do-not-contact-list-details/do-not-contact-list-details-container.tsx","components/settings/components/do-not-contact/do-not-contact.tsx","components/settings/enums/webhook.ts","components/settings/components/webhook/components/webhook-header.tsx","components/settings/components/webhook/components/webhook-empty-ui.tsx","components/settings/components/webhook/components/webhook-list/components/webhook-table/fields/webhook-status-field.tsx","components/settings/components/webhook/utils/get-webhook-status-field-values.ts","components/settings/components/webhook/components/webhook-list/components/webhook-table/fields/webhook-name-field.tsx","components/settings/components/webhook/components/webhook-list/components/webhook-table/fields/webhook-trigger-event-field.tsx","components/settings/components/webhook/utils/get-webhook-trigger-event-name.ts","components/settings/components/webhook/components/webhook-list/components/webhook-table/fields/webhook-last-sent-field.tsx","components/settings/components/webhook/components/webhook-list/components/webhook-table/fields/webhook-url-field.tsx","components/settings/components/webhook/components/webhook-list/components/webhook-table/fields/webhook-created-by-field.tsx","components/settings/components/webhook/components/webhook-list/components/webhook-table/webhook-table.tsx","components/settings/components/webhook/components/webhook-list/components/webhook-table/utils/get-webhook-table-columns.tsx","components/settings/components/webhook/components/webhook-list/components/restriction-modal.tsx","components/settings/components/webhook/components/webhook-list/webhook-list.tsx","components/settings/helpers/webhook.api.ts","components/settings/components/webhook/extra-actions.tsx","components/settings/components/webhook/webhook-slice.tsx","components/settings/components/webhook/components/webhook-list/webhook-list-container.tsx","components/settings/components/webhook/components/add-webhook/components/add-webhook-header.tsx","components/settings/components/webhook/components/add-webhook/components/text-input.tsx","components/settings/components/webhook/components/add-webhook/components/http-headers-input.tsx","components/settings/components/webhook/components/add-webhook/components/event-to-send-input.tsx","components/settings/components/webhook/components/add-webhook/components/add-webhook-form.tsx","components/settings/components/webhook/components/webhook-req-res-preview/webhook-req-res-preview.tsx","components/settings/components/webhook/components/webhook-details-and-logs/helper.ts","components/settings/components/webhook/components/add-webhook/add-webhook.tsx","components/settings/components/webhook/components/add-webhook/add-webhook-container.tsx","components/settings/components/webhook/components/webhook-details-and-logs/components/no-logs-found.tsx","components/settings/components/webhook/components/webhook-details-and-logs/components/webhook-code-block-loader.tsx","components/settings/components/webhook/components/webhook-details-and-logs/components/webhook-logs-list-loader.tsx","components/settings/components/webhook/components/webhook-details-and-logs/components/webhook-logs/webhook-logs.tsx","components/settings/components/webhook/components/webhook-details-and-logs/components/webhook-logs/webhook-logs-container.tsx","components/settings/components/webhook/components/add-webhook/components/add-webhook-loader.tsx","components/settings/components/webhook/components/webhook-details-and-logs/webhook-details-and-logs.tsx","components/settings/components/webhook/components/webhook-details-and-logs/webhook-details-and-logs-container.tsx","components/settings/components/webhook/webhook.tsx","components/settings/components/users-and-teams/components/users-and-teams-header.tsx","components/settings/components/users-and-teams/components/users/cells/user-name-cell.tsx","components/settings/components/users-and-teams/components/users/cells/actions-cell.tsx","components/settings/components/users-and-teams/components/users/utils/get-action-permissions.ts","components/settings/components/users-and-teams/components/users/modals/change-role-modal.tsx","components/settings/components/users-and-teams/components/users/modals/assign-team-modal.tsx","components/settings/components/users-and-teams/components/users/modals/delete-user-modal.tsx","components/settings/components/users-and-teams/components/users/modals/disable-user-modal.tsx","components/settings/components/users-and-teams/components/email-input.tsx","shared/hooks/useScreenSize.tsx","components/settings/components/users-and-teams/components/users/modals/invite-user-modal.tsx","components/settings/components/users-and-teams/components/users/modals/agency-invite-user-modal/validator.ts","components/settings/components/users-and-teams/components/users/modals/agency-invite-user-modal/agency-invite-user-modal.tsx","components/settings/components/users-and-teams/utils/should-show-upgrade-plan-modal.ts","components/settings/components/users-and-teams/components/users/users.tsx","components/settings/components/users-and-teams/components/users/utils/get-invite-user-message.ts","components/settings/components/users-and-teams/components/users/users-container.tsx","components/settings/components/users-and-teams/components/search-input.tsx","components/settings/components/users-and-teams/components/teams/modals/add-modify-team-modal.tsx","components/settings/components/users-and-teams/components/teams/modals/team-details-modal.tsx","components/settings/components/users-and-teams/components/teams/modals/delete-team-modal.tsx","components/settings/components/users-and-teams/components/teams/teams.tsx","components/settings/components/users-and-teams/components/teams/utils/get-action-permissions.ts","components/settings/components/users-and-teams/components/teams/teams-container.tsx","components/settings/components/users-and-teams/components/users-and-teams-empty-screen.tsx","shared/components/date-filter/date-filter-custom-option.ts","components/settings/components/users-and-teams/components/users-and-teams-extra-content.tsx","components/settings/components/users-and-teams/components/teams-plan-based-restriction.tsx","components/settings/components/users-and-teams/components/no-seat-available-for-team-modal.tsx","components/settings/components/users-and-teams/components/users-and-teams-content/users-and-teams-content.tsx","components/settings/components/users-and-teams/components/users-and-teams-content/users-and-teams-content-container.tsx","components/settings/components/users-and-teams/users-and-teams.tsx","components/settings/components/users-and-teams/users-and-teams-container.tsx","components/settings/components/my-profile/components/change-email-modal/enums.ts","components/settings/components/my-profile/components/change-password-modal/validator.ts","components/settings/components/my-profile/components/change-password-modal/change-password-modal.tsx","components/settings/components/my-profile/components/change-password-modal/change-password-modal-container.tsx","components/settings/components/my-profile/components/my-profile-content/validator.ts","components/settings/components/my-profile/components/delete-account-modal/enums.ts","components/settings/components/my-profile/components/change-email-modal/change-email-modal-flow/validate-current-password.tsx","components/settings/components/my-profile/components/change-email-modal/change-email-modal-flow/reset-password.tsx","components/settings/components/my-profile/components/change-email-modal/change-email-modal-flow/new-email.tsx","components/settings/components/my-profile/components/change-email-modal/change-email-modal-flow/sub-components/resend-otp-button.tsx","components/settings/components/my-profile/components/change-email-modal/change-email-modal-flow/verify-otp.tsx","components/settings/components/my-profile/components/change-email-modal/change-email-modal-flow/email-changed-successfully.tsx","components/settings/components/my-profile/components/change-email-modal/change-email-modal.tsx","components/settings/components/my-profile/components/change-email-modal/change-email-modal-container.tsx","components/settings/components/my-profile/components/delete-account-modal/delete-email-modal-flow/delete-account.tsx","components/settings/enums/authentication-method.ts","components/settings/components/my-profile/components/delete-account-modal/delete-account-modal.tsx","components/settings/components/my-profile/components/delete-account-modal/delete-account-modal-container.tsx","shared/enums/sso-status.ts","components/settings/components/my-profile/components/my-profile-content/my-profle-content.tsx","components/settings/components/my-profile/components/my-profile-content/my-profile-content-container.tsx","components/settings/components/my-profile/my-profile.tsx","components/settings/components/my-profile/my-profile-container.tsx","components/settings/components/whitelabel/utils/enums.ts","components/settings/components/whitelabel/components/logo-branding/utils/crop-image.ts","components/settings/components/whitelabel/components/logo-branding/components/whitelabel-image-picker/whitelabel-image-picker.tsx","components/settings/components/whitelabel/components/logo-branding/utils/whitelabel-skeleton-view.tsx","shared/utils/get-capital-title.ts","components/settings/components/whitelabel/components/logo-branding/logo-branding.tsx","components/settings/components/whitelabel/utils/whitelabel.api.ts","components/settings/components/whitelabel/extra-actions.ts","shared/utils/get-initail-request-state.ts","components/settings/components/whitelabel/whitelabel-slice.ts","components/settings/components/whitelabel/components/logo-branding/logo-branding-container.tsx","components/settings/components/whitelabel/components/domain-configuration/utils/domain-setup-table-column.tsx","components/settings/components/whitelabel/components/domain-configuration/components/domain-setup-table/domain-setup-table.tsx","shared/design-system/components/notification-banner/notification-banner.tsx","components/settings/components/whitelabel/components/domain-configuration/domain-configuration.tsx","components/settings/components/whitelabel/components/domain-configuration/domain-configuration-container.tsx","components/settings/components/whitelabel/whitelabel.tsx","components/settings/components/whitelabel/whitelabel-container.tsx","components/settings/components/custom-domain/components/custom-domain-list/custom-domain-list.tsx","components/settings/components/custom-domain/custom-domain-slice.tsx","shared/design-system/components/atoms/multi-select/select-customizations.tsx","shared/design-system/components/atoms/multi-select/multi-select.tsx","components/settings/components/custom-domain/components/custom-domain-dns-record/custom-domain-dns-record.tsx","components/settings/components/custom-domain/components/custom-domain-modal/custom-domain-modal.tsx","components/settings/components/custom-domain/components/custom-domain-header/custom-domain-header.tsx","shared/design-system/components/atoms/skeletons/table-skeleton/table-skeleton.tsx","components/settings/components/custom-domain/components/custom-domain-list/helpers/custom-domain-valid-icon.tsx","components/settings/components/custom-domain/components/custom-domain-list/helpers/custom-domain-data.tsx","components/settings/components/custom-domain/helper.ts","components/settings/components/custom-domain/custom-domain.tsx","components/settings/components/custom-domain/components/custom-domain-empty-screen/custom-domain-empty-screen.tsx","components/settings/components/custom-domain/custom-domain-container.tsx","components/settings/helpers/schedule.api.ts","components/settings/components/schedule/extra-actions.tsx","components/settings/components/schedule/schedule-slice.tsx","components/settings/components/schedule/components/schedule-header/schedule-header.tsx","components/settings/components/schedule/components/update-schedule/validator.tsx","components/settings/components/schedule/components/update-schedule/update-schedule.tsx","components/settings/components/schedule/components/update-schedule/helper.ts","components/settings/components/schedule/components/update-schedule/update-schedule-container.tsx","components/settings/components/schedule/components/schedule-list/schedule-list.tsx","components/settings/components/schedule/components/delete-schedule/delete-schedule.tsx","components/settings/components/schedule/components/delete-schedule/delete-schedule-alert/delete-schedule-alert.tsx","components/settings/components/schedule/schedule.tsx","components/settings/components/schedule/schedule-container.tsx","components/settings/components/admin-settings/components/admin-setting-toggle/admin-setting-toggle.tsx","components/settings/components/admin-settings/utils/helper.ts","components/settings/components/admin-settings/components/admin-setting-sequence/admin-setting-sequence.tsx","components/settings/components/admin-settings/components/admin-setting-sequence/admin-settings-sequence-container.tsx","components/settings/components/admin-settings/components/admin-setting-section/admin-setting-section.tsx","components/settings/components/admin-settings/components/admin-setting-exclusion-input/admin-setting-exclusion-input.tsx","components/settings/components/admin-settings/components/admin-setting-exclusion-input/admin-setting-exclusion-input-container.tsx","components/settings/components/admin-settings/admin-settings.tsx","components/settings/components/admin-settings/admin-settings-container.tsx","components/settings/components/custom-outcomes/components/custom-outcome-content/types.ts","components/settings/components/custom-outcomes/custom-outcome-slice.tsx","components/settings/components/custom-outcomes/components/custom-outcome-header/custom-outcome-header.tsx","components/settings/components/custom-outcomes/components/custom-outcome-content/helpers/custom-outcome-column-data.tsx","components/settings/components/custom-outcomes/components/delete-custom-outcome-modal/delete-custom-outcome-modal.tsx","components/settings/components/custom-outcomes/components/generic-create-update-custom-outcome-modal/prospect-modal/update-prospect-custom-outcome-modal/update-prospect-custom-field-modal.tsx","components/settings/components/custom-outcomes/components/custom-outcome-content/custom-outcome-tabpanes.tsx","components/settings/components/custom-outcomes/components/custom-outcome-content/custom-outcome-content.tsx","components/settings/components/custom-outcomes/custom-outcome.tsx","components/settings/components/custom-outcomes/custom-outcome-container.tsx","components/settings/components/api-tokens/components/api-token-header/api-token-header.tsx","components/settings/components/api-tokens/components/api-token-list/api-token-list.tsx","components/settings/components/api-tokens/components/create-or-show-api-token-modal/validator.ts","components/settings/components/api-tokens/components/create-or-show-api-token-modal/create-or-show-api-token-modal.tsx","components/settings/components/api-tokens/components/delete-api-token-modal/delete-api-token-modal.tsx","components/settings/components/api-tokens/api-tokens.tsx","components/settings/components/api-tokens/api-tokens-slice.tsx","components/settings/components/api-tokens/api-tokens-container.tsx","components/settings/components/custom-fields/components/custom-field-content/types.ts","components/settings/components/custom-fields/components/custom-field-header/custom-field-header.tsx","components/settings/components/custom-fields/components/custom-field-content/helpers/custom-field-column-data.tsx","components/settings/components/custom-fields/components/custom-field-content/custom-field-tabpanes.tsx","components/settings/components/custom-fields/components/custom-field-content/custom-field-content.tsx","components/settings/components/custom-fields/components/generic-create-update-custom-field-modal/prospect-modal/update-prospect-custom-field-modal/update-prospect-custom-field-modal.tsx","components/settings/components/custom-fields/custom-field.tsx","components/settings/components/custom-fields/custom-field-container.tsx","components/settings/enums/out-of-office.ts","components/settings/components/out-of-office/components/out-of-office-header.tsx","components/settings/components/out-of-office/components/out-of-office-confirmation.tsx","components/settings/components/out-of-office/components/out-of-office-content.tsx","components/settings/components/out-of-office/out-of-office.tsx","components/settings/helpers/out-of-office.api.ts","components/settings/components/out-of-office/extra-actions.tsx","components/settings/components/out-of-office/out-of-office-slice.tsx","components/settings/components/out-of-office/out-of-office-container.tsx","components/settings/components/billing-subscription/billing-subscription.tsx","components/settings/components/billing-subscription/billing-subscription-container.tsx","assets/images/promo-login.svg","assets/images/rotatevector.svg","assets/images/accountlinksuccess.svg","assets/images/accountstatusreject.svg","assets/images/rotatevector2.svg","assets/images/stepstoimport.svg","assets/images/csv.svg","assets/images/sh-logo-icon.svg","assets/images/sh-logo-icon-70x70.svg","assets/images/sh-logo.svg","assets/images/saleshandy-logo.svg","assets/images/saleshandy-logo-icon.svg","assets/images/saleshandy-logo-text.svg","assets/images/logo-with-name.svg","assets/images/google-login.svg","assets/images/file-check.svg","assets/images/google-icon.svg","assets/images/gmail-icon.svg","assets/images/microsoft-login.svg","assets/images/microsoft-logo.svg","assets/images/microsoft-logo-small.svg","assets/images/broken-link.svg","assets/images/empty-data-1.svg","assets/images/empty-data-2.svg","assets/images/empty-data-3.svg","assets/images/empty-data-4.svg","assets/images/empty-data-5.svg","assets/images/empty-data-6.svg","assets/images/squiggles.svg","assets/images/sequence/step-type-email.svg","assets/images/person-monocular.svg","assets/images/customers/neptik-logo.svg","assets/images/customers/neptik-logo-black.svg","assets/images/customers/maropost-logo.svg","assets/images/customers/kellton-logo.svg","assets/images/customers/digital-rafter-logo.svg","assets/images/customers/yelp-logo.svg","assets/images/customers/cloudtalk-logo.svg","assets/images/customers/dorik-logo.svg","assets/images/customers/godaddy-logo.svg","assets/images/customers/integrately-logo.svg","assets/images/customers/opslyft-logo.svg","assets/images/customers/revvix-logo.svg","assets/images/customers/vroozi-logo.svg","assets/images/vector-doctor.svg","assets/images/vector-filter.svg","assets/images/sh-call-active.svg","assets/images/mail-disabled.svg","assets/images/no-search-result-icon.svg","assets/images/no-search-result-saved-icon.svg","assets/images/mail-enable.svg","assets/images/sh-eye-active.svg","assets/images/sh-eye-disabled.svg","assets/images/sh-reply-active.svg","assets/images/sh-reply-disabled.svg","assets/images/sh-link-active.svg","assets/images/link-enable-2.svg","assets/images/sh-link-disabled.svg","assets/images/link-disable-2.svg","assets/images/email-sent.svg","assets/images/email-sent-blue.svg","assets/images/tab-all.svg","assets/images/tab-all-blue.svg","assets/images/tab-opened.svg","assets/images/tab-opened-blue.svg","assets/images/tab-clicked.svg","assets/images/tab-clicked-blue.svg","assets/images/tab-replied.svg","assets/images/tab-replied-blue.svg","assets/images/email-sent-colored.svg","assets/images/link-clicked.svg","assets/images/link-clicked-colored.svg","assets/images/mail-bounced.svg","assets/images/mail-bounced-colored.svg","assets/images/mail-failed.svg","assets/images/mail-failed-colored.svg","assets/images/mail-opened.svg","assets/images/mail-opened-colored.svg","assets/images/reply-received.svg","assets/images/reply-received-colored.svg","assets/images/email-unsubscribed.svg","assets/images/unsubscribed-colored.svg","assets/images/sh-shield.svg","assets/images/send.svg","assets/images/send-email-l.svg","assets/images/sent-email-blue.svg","assets/images/email-sent-blue-xl.svg","assets/images/activeseen.svg","assets/images/seen-email-cyan.svg","assets/images/alert-triangle-warning.svg","assets/images/alert-triangle.svg","assets/images/alert-triangle-red.svg","assets/images/alert-triangle-xl.svg","assets/images/clock.svg","assets/images/clock-yellow.svg","assets/images/tag.svg","assets/images/tag-grey.svg","assets/images/tag-blue.svg","assets/images/tag-blue-xl.svg","assets/images/forward.svg","assets/images/backward.svg","assets/images/close.svg","assets/images/wallet.svg","assets/images/ban.svg","assets/images/ban-blue-xl.svg","assets/images/trash.svg","assets/images/trash-light.svg","assets/images/trash-blue-xl.svg","assets/images/trash-danger.svg","assets/images/send-grey.svg","assets/images/shield-check.svg","assets/images/shield-blue-xl.svg","assets/images/bell.svg","assets/images/bell-enabled.svg","assets/images/bell-disabled.svg","assets/images/headset.svg","assets/images/gift.svg","assets/images/help.svg","assets/images/apps.svg","assets/images/logout.svg","assets/images/bx-cog.svg","assets/images/pencil.svg","assets/images/copy.svg","assets/images/upload.svg","assets/images/upload-cloud.svg","assets/images/cloud-upload-blue.svg","assets/images/blacklist.svg","assets/images/removed-from-blacklist.svg","assets/images/export-icon.svg","assets/images/export-grey.svg","assets/images/clipboard-x.svg","assets/images/file-blank.svg","assets/images/arrows-sort.svg","assets/images/info-circle.svg","assets/images/arrow-down.svg","assets/images/arrow-right.svg","assets/images/arrow-forward.svg","assets/images/smile-icon.svg","assets/images/template-icon.svg","assets/images/info-circle-yellow.svg","assets/images/checks-green.svg","assets/images/ban-for-unsubscribe.svg","assets/images/notification-pause.svg","assets/images/notification-alert.svg","assets/images/notification-bulk-reveal.svg","assets/images/notification-refresh.svg","assets/images/notification-user.svg","assets/images/no-notification.svg","assets/images/blue-bell.svg","assets/images/blue-logout.svg","assets/images/blue-cog.svg","assets/images/blue-help.svg","assets/images/chevron-left-blue.svg","assets/images/chevron-right-blue.svg","assets/images/peoples.svg","assets/images/prospect-add.svg","assets/images/replied.svg","assets/images/mail-bounced-gray.svg","assets/images/alert-circle.svg","assets/images/opened.svg","assets/images/clicked.svg","assets/images/unsubscribed.svg","assets/images/calendar.svg","assets/images/mail.svg","assets/images/loader.svg","assets/images/user.svg","assets/images/wallet-blue.svg","assets/images/blank-shield.svg","assets/images/alert-circle-red.svg","assets/images/user-check.svg","assets/images/user-exclamation.svg","assets/images/refresh-blue.svg","assets/images/info-circle-blue.svg","assets/images/lock.svg","assets/images/chevron-left.svg","assets/images/info-circle-red.svg","assets/images/chevron-down.svg","assets/images/check.svg","assets/images/check-single-green.svg","assets/images/check-orange.svg","assets/images/alert-circle-orange.svg","assets/images/cross.svg","assets/images/cross-red.svg","assets/images/cross-gray.svg","assets/images/refresh.svg","assets/images/refresh-grey.svg","assets/images/smart-ideas.svg","assets/images/server.svg","assets/images/gmail.svg","assets/images/microsoft.svg","assets/images/external-link.svg","assets/images/external-link-white.svg","assets/images/ban-m.svg","assets/images/server-blue.svg","assets/images/user-list.svg","assets/images/trash-small.svg","assets/images/opened-disabled.svg","assets/images/opened-enabled.svg","assets/images/opened-blue.svg","assets/images/clicked-disabled.svg","assets/images/clicked-enabled.svg","assets/images/clicked-blue.svg","assets/images/opened-bg.svg","assets/images/clicked-bg.svg","assets/images/link-chain.svg","assets/images/mailbox.svg","assets/images/no-result.svg","assets/images/chrome-light.svg","assets/images/chrome-dark.svg","assets/images/chrome-gray.svg","assets/images/chrome-blue.svg","assets/images/play-circle.svg","assets/images/google-plus.svg","assets/images/microsoft-sm.svg","assets/images/favicon.ico","assets/images/setting.svg","assets/images/trending-up.svg","assets/images/trending-down.svg","assets/images/chart-pie.svg","assets/images/email.svg","assets/images/chevron-right.svg","assets/images/empty-pie.svg","assets/images/broken.svg","assets/images/google-30x30.svg","assets/images/microsoft-30x30.svg","assets/images/server-30x30.svg","assets/images/ellips-1.svg","assets/images/ellips-2.svg","assets/images/ellips-3.svg","assets/images/ellips-4.svg","assets/images/half-circle.svg","assets/images/friends.svg","assets/images/friends-blue.svg","assets/images/no-email-found.svg","assets/images/popper.svg","assets/images/messages.svg","assets/images/default.svg","assets/images/image.svg","assets/images/zip.svg","assets/images/pdf.svg","assets/images/video.svg","assets/images/ppt.svg","assets/images/sheets.svg","assets/images/docs.svg","assets/images/rotate.svg","assets/images/star.svg","assets/images/magic-wand.svg","assets/images/discount.svg","assets/images/paper-plane.svg","assets/images/paused-with-bg.svg","assets/images/resume-with-bg.svg","assets/images/searching-empty.svg","assets/images/alert-triangle-orange.svg","assets/images/in-progress.svg","assets/images/folder-open.svg","assets/images/premium-feature.svg","assets/images/access-denied.svg","assets/images/email-accounts/Create_New_Email_Icon.svg","assets/images/email-accounts/Email_Configuration_Icon.svg","assets/images/email-accounts/Empty-List-Search-Domain_Icon.svg","assets/images/email-accounts/NO_DOMAIN_SEARCH_RESULT_ICON.svg","assets/images/email-accounts/NO_EMAIL_FOUND_ICON.svg","assets/images/email-accounts/No_Gender_Avatar.svg","assets/images/email-accounts/microsoft-disabled.svg","assets/images/email-accounts/maildoso-disabled.svg","assets/images/email-accounts/maildoso.png","assets/images/email-accounts/maildoso-square.png","assets/images/Pipedrive.svg","assets/images/Zoho.svg","assets/images/Hubspot.svg","assets/images/salesforce.svg","assets/images/switch-horizontal.svg","assets/images/agency-portal.svg","assets/images/arrow-up-circle.svg","assets/images/testimonials/1.jpeg","assets/images/testimonials/2.jpeg","assets/images/testimonials/3.jpeg","assets/images/testimonials/4.png","assets/images/testimonials/2-bg.png","assets/images/testimonials/3-bg.png","assets/images/testimonials/4-bg.png","assets/images/rocket.svg","assets/images/user-with-bg.svg","assets/images/teams-ui.svg","assets/images/party-horn.svg","assets/images/mail-send-yellow.svg","assets/images/bx-dollar-green.svg","assets/images/bx-dollar-gray.svg","assets/images/grip-vertical.svg","assets/images/ellipse-green.svg","assets/images/ellipse-purple.svg","assets/images/pause-circle.svg","assets/images/zapier-logo.svg","assets/images/sendler-logo.svg","assets/images/pichlane-log.svg","assets/images/sendspark-logo.svg","assets/images/weezly-log.svg","assets/images/spintax-gray.svg","assets/images/spintax-black.svg","assets/images/quotes.svg","shared/svg/verified-false.svg","shared/svg/verified-true.svg","shared/svg/verified-error.svg","shared/svg/whitelabel-logo.svg","shared/svg/whitelabel-favicon.svg","assets/images/sh-logo-blue.svg","assets/images/bx-right-arrow.svg","assets/images/stars.svg","assets/images/rocket-color.svg","assets/images/heart-color.svg","assets/images/star-color.svg","assets/images/building-color.svg","assets/images/g2-logo.svg","assets/images/upgrade-plan/g2-rating.svg","assets/images/upgrade-plan/g2-achievement.svg","assets/images/upgrade-plan/certificates.svg","assets/images/google-play-store-qr.svg","assets/images/apple-app-store-qr.svg","components/temp/temp-navigation.tsx","shared/components/fixed-home.tsx","components/temp/temp-auth-indicator.tsx","components/settings/components/connect-email-account-callback/connect-email-account-callback.tsx","components/settings/components/connect-email-account-callback/connect-email-account-callback-container.tsx","shared/components/images/person-monocular-icon.tsx","shared/components/error-404/error-404.tsx","components/auth/components/oauth-authenticate-callback/oauth-authenticate-callback.tsx","components/auth/components/oauth-authenticate-callback/oauth-authenticate-callback-container.tsx","components/settings/components/connect-whitelabel-email-account-callback/connect-whitelabel-email-account-callback.tsx","components/settings/components/connect-whitelabel-email-account-callback/connect-whitelabel-email-account-callback-container.tsx","components/auth/components/oauth-whitelabel-callback/oauth-whitelabel-callback.tsx","components/app/app.tsx","shared/loading-bar/loading-bar.tsx","shared/utils/errors/pause-account-error/pause-account-manager/pause-account-manager-container.tsx","shared/utils/errors/pause-lead-finder-error/pause-lead-finder-manager/pause-lead-finder-manager-container.tsx","root.tsx","index.tsx"],"names":["RequestStatus","Time","isBoolean","obj","isString","String","isArray","Array","NumberOfAttachmentsAllowed","EmailContentSizeAllowed","SubjectSizeAllowed","docExtensions","pdfExtensions","imageFileExtensions","videoFileExtensions","sheetFileExtensions","presentationFileExtensions","zipFileExtensions","validAttachmentExtensions","getUniqueNumbers","numbers","uniqueNumbers","forEach","number","indexOf","push","isStringALink","str","validator","isURL","getSingularAndPlural","value","singular","plural","getFormattedTime","time","createdTime","Math","floor","Date","getTime","timeElapsedInMinutes","MINUTESINYEAR","year","MINUTESINMONTH","month","MINUTESINDAY","day","MINUTESINHOUR","hours","getFormattedDateWithMoment","now","moment","dueMoment","duration","isAfter","diff","isSame","days","ceil","asDays","months","asMonths","getFormatNumber","num","toString","units","unitIndex","log10","scaledNum","pow","toFixed","Variant","Theme","Toast","props","state","showToast","hideToast","bind","onClose","this","setState","variant","content","delay","animation","className","theme","showCloseIcon","rest","iconWrapperClass","classNames","Primary","Success","Warning","Error","Loading","iconIdentifier","danger","toastClass","New","iconSrc","Images","ChecksGreen","iconAlt","AlertTriangleRed","WarningTriangle","getIconBasedOnVariantForNewTheme","closeIconSrc","CrossRed","getCloseIconBasedOnVariant","autohide","show","src","alt","identifier","onClick","React","Component","defaultProps","Position","ToasterHelper","_addToast","bindActions","addToast","toast","options","info","success","warning","error","loading","ToastManager","removeToastTimeout","getNextId","id","activeToasts","removeToast","position","Bottom","remainingOptions","produce","draft","setTimeout","filter","activeToast","topToasts","Top","map","getToastComponent","bottomToasts","toaster","ApiStatusCode","instance","axios","create","baseURL","process","interceptors","request","use","config","token","getToken","headers","authorization","err","Promise","reject","debounceSystemError","debounce","errorMessage","message","handleSystemError","SystemErrors","InternalServerError","response","data","status","type","ExceptionTypes","System","isHandled","isCancel","Silent","code","isCustomError","Auth","triggerSessionExpiration","Validation","showValidationErrorNotification","messages","PlanPermission","planError","General","RateLimit","SequenceSettingCode","UnsubscribeText","SequencePrioritySettingCode","PaginationOption","SequenceScoreErrorType","SequenceScoreTab","SequenceScoreChartColor","StepType","SubscriptionPlans","LeadFinderSubscriptionPlans","SubscriptionPlanTitle","SubscriptionPlanPrice","SubscriptionPlanModes","ModifyPlanAction","PlanPurchaseAction","PlanType","LeadFinderEmailOnlySubscriptionPlans","SubscriptionPlanIdMap","Object","freeze","free","trial","PAID_MONTHLY","PAID_YEARLY","EMAIL_STARTER_MONTHLY","EMAIL_STARTER_YEARLY","EMAIL_OUTREACH_MONTHLY","EMAIL_OUTREACH_YEARLY","EMAIL_OUTREACH_LIFETIME","EMAIL_OUTREACH_PRO_LIFETIME","OUTREACH_BASIC_MONTHLY","OUTREACH_PRO_MONTHLY","OUTREACH_SCALE_MONTHLY","OUTREACH_BASIC_YEARLY","OUTREACH_PRO_YEARLY","OUTREACH_SCALE_YEARLY","OUTREACH_BASIC_MONTHLY_8_2023","OUTREACH_PRO_MONTHLY_8_2023","OUTREACH_SCALE_MONTHLY_8_2023","OUTREACH_BASIC_YEARLY_8_2023","OUTREACH_PRO_YEARLY_8_2023","OUTREACH_SCALE_YEARLY_8_2023","Permissions","hasPermission","requiredPermission","permissions","store","getState","home","replace","findIndex","userPermission","RegExp","test","Promo","require","default","RotateVector","AccountLinkSuccess","AccountLinkReject","RotateVector2","Bulb","CSV","SHIcon","SHIcon70","SHLogoSmall","SHLogo","SHLogoIcon","SHLogoText","SHLogoWithText","GoogleLogin","FileCheck","GoogleIcon","GmailIcon","MicrosoftLogin","MicrosoftIcon","MicrosoftIconSmall","BrokenLink","EmptyData1","EmptyData2","EmptyData3","EmptyData4","EmptyData5","EmptyData6","Squiggles","StepTypeEmail","PersonMonocular","NeptikLogo","NeptikLogoBlack","MaropostLogo","KelltonLogo","DigitalRafterLogo","YelpLogo","CloudtalkLogo","DorikLogo","GoDaddyLogo","IntegratelyLogo","OpslyftLogo","RevvixLogo","VrooziLogo","DoctorLogo","FilterLogo","MailActive","MailDisabled","NoSearchResultIcon","NoSearchResultSavedIcon","MailEnabled","EyeActive","EyeDisabled","ReplyActive","ReplyDisabled","LinkActive","LinkActive2","LinkDisabled","LinkDisabled2","ProspectActivityEmailSent","ProspectActivityEmailSentBlue","EngagementActivityAllTab","EngagementActivityAllTabBlue","EngagementActivityOpenedTab","EngagementActivityOpenedTabBlue","EngagementActivityClickedTab","EngagementActivityClickedTabBlue","EngagementActivityRepliedTab","EngagementActivityRepliedTabBlue","ProspectActivityEmailSentColored","ProspectActivityLinkClicked","ProspectActivityLinkClickedColored","ProspectActivityEmailBounced","ProspectActivityEmailBouncedColored","ProspectActivityEmailFailed","ProspectActivityEmailFailedColored","ProspectActivityEmailOpened","ProspectActivityEmailOpenedColored","ProspectActivityEmailReceived","ProspectActivityEmailReceivedColored","ProspectActivityEmailUnsubscribed","ProspectActivityEmailUnsubscribedColored","Shield","SentEmail","SentEmailLarge","SentEmailBlue","SentEmailBlueXL","SeenEmail","SeenEmailCyan","AlertTriangle","AlertTriangleLarge","Clock","ClockYl","Tag","GreyTag","TagBlue","TagBlueXL","Forward","Backward","Close","Wallet","Ban","BanBlueXL","Trash","TrashLight","TrashBlueXL","TrashDanger","GreySend","SH_Shield","SH_ShieldBlueXL","Bell","BellEnabled","BellDisabled","Headset","Gift","Help","Apps","Logout","Cog","Pencil","Copy","Upload","UploadCloud","UploadCloudBlue","ProspectBlacklistedColored","ProspectRemovedFromBlacklistColored","Export","ExportGrey","BlacklistDomain","FileBlank","ArrowsSort","InfoCircle","ArrowDown","ArrowRight","ArrowForward","SmileIcon","TemplateIcon","InfoCircleYellow","BanForUnsubscribe","NotificationPause","NotificationAlert","NotificationLeadBulkReveal","NotificationRefresh","NotificationUser","NoNotifications","ActiveNotificationBell","LogoutActive","CogActive","HelpActive","ChevronLeftBlue","ChevronRightBlue","Peoples","ProspectAdd","Replied","MailBounced","AlertCircle","Opened","Clicked","Unsubscribed","Calendar","Mail","Loader","User","WalletBlue","EmptyShield","AlertCircleRed","UserCheck","UserExcremental","RefreshBlue","AlertCircleBlue","Lock","ChevronLeft","YoutubeLogo","InfoCircleRed","ChevronDown","CheckGreen","CheckSingleGreen","CheckSingleOrange","AlertCircleOrange","Cross","CrossGray","Refresh","RefreshGrey","SmartIdeas","Server","Gmail","Microsoft","Youtube","ExternalLinkIcon","ExternalLinkWhite","BanMedium","ServerBlue","MailSend","UserList","TrashSmall","OpenedDisabled","OpenedEnabled","OpenedBlue","ClickedDisabled","ClickedEnabled","ClickedBlue","OpenedWithBg","ClickedWithBg","LinkChain","Mailbox","NoResult","ChromeLight","ChromeDark","ChromeGrey","ChromeBlue","PlayCircle","GooglePlus","MicrosoftSM","FavIcon","Setting","TrendingUp","TrendingDown","PieChart","Email","ChevronRight","EmptyPie","Broken","Google30x30","Microsoft30x30","Server30x30","Ellipse1","Ellipse2","Ellipse3","Ellipse4","HalfCircle","Friends","FriendsBlue","NoEmailsFound","Popper","Messages","Default","Image","Zip","Pdf","Video","Ppt","Sheets","Docs","Rotate","Star","MagicWand","Discount","PaperPlane","PausedWithBackground","ResumeWithBackground","SearchingEmpty","CircleCheckGreen","AlertTriangleOrange","InProgress","FolderOpen","PremiumFeature","AccessDenied","CreateNewEmail","EmailConfiguration","EmptyListSearchDomain","NoDomainSearchResult","NoEmailFound","NoGenderAvatar","MicrosoftDisabled","MaildosoDisabled","Maildoso","MaildosoSquare","Pipedrive","Zoho","Hubspot","Salesforce","SwitchHorizontal","AgencyPortal","ArrowUpCircle","Testimonial1","Testimonial2","Testimonial3","Testimonial4","Testimonial2Bg","Testimonial3Bg","Testimonial4Bg","Rocket","UserWithBg","TeamsUI","PartyHorn","EmailSend","EmailSendYellow","BxDollarGreen","BxDollarGray","GripVertical","EllipseGreen","EllipsePurple","PauseCircle","ZapierLogo","SendlerLogo","PichlaneLogo","SendsparkLogo","WeezlyLogo","CircleCheck","SpintaxGray","SpintaxBlack","Quotes","VerifiedFalse","VerifiedTrue","VerifiedError","LogoCompanyName","WhitelabelFavicon","ShLogoBlue","BxRightArrow","Stars","RocketColor","HeartColor","StarColor","BuildingColor","G2Logo","G2Rating","G2Achievement","Certificates","GooglePlayQR","AppleAppStoreQR","getSequenceRequest","createAsyncThunk","sequenceId","thunkAPI","a","getSequence","rejectWithValue","getSequencesRequest","args","getSequences","getSequenceStatsRequest","getSequenceStats","getSequencesStatsRequest","getSequencesStats","createSequenceRequest","createSequence","renameSequenceRequest","renameSequence","pauseResumeSequenceRequest","pauseResumeSequence","cloneSequenceRequest","cloneSequence","getAIGeneratedEmailVariantRequest","stepId","variantId","cancelToken","getAIGeneratedEmailVariant","deleteSequenceRequest","deleteSequence","deleteSequencesRequest","deleteSequences","addSequenceStepRequest","addSequenceStep","updateSequenceStepExecutionDayRequest","updateSequenceStepExecutionDay","updateSequenceStepRequest","updateSequenceStep","deleteSequenceStepRequest","deleteSequenceStep","addSequenceStepVariantRequest","addSequenceStepVariant","updateSequenceStepVariantDataRequest","updateSequenceStepVariantData","updateSequenceStepVariantStatusRequest","updateSequenceStepVariantStatus","deleteSequenceStepVariantRequest","deleteSequenceStepVariant","cloneSequenceStepVariantRequest","cloneSequenceStepVariant","updateSequenceSettingsRequest","updateSequenceSettings","getContactFieldsRequest","getContactFields","getSequenceStepsRequest","getSequenceSteps","addContactsFromCSVRequest","addContactsFromCSV","addContactsFromCSVRequestWithoutStep","addContactsFromCSVWithoutStep","getSchedulesRequest","getAllSchedules","getConnectedEmailsRequest","getConnectedEmails","getContactStatusCountRequest","params","getContactStatusCount","changeStatusOfContacts","contactAndStepIds","pauseDelayInDays","changeStatusOfContactsOfSequence","getContactSequenceListRequest","getContactSequenceList","getContactSequenceStepListRequest","getContactStepList","addContactsToStepRequest","contactIds","addContactsToStep","removeContactFromSequenceRequest","removeContactFromSequence","getSequenceContactListRequest","getSequenceContactList","imageUploadRequest","formData","onUploadProgress","uploadImage","getProspectRequestModal","getProspect","getAdminSettingsRequest","getAdminSettings","getProspectCountRequestModal","getProspectCount","addToStepModalRequest","payload","sequenceSendEmailStatus","getSequenceMailSendingStatus","finishOnboardingRequest","finishOnboarding","getSequenceConfigRequest","getSequenceConfig","getSequencePriorityConfigRequest","getSequencePriorityConfig","updateSequencePriorityConfigRequest","priorityDistributionId","updateSequencePriorityConfig","createSampleStepsRequest","createSampleSteps","addSampleProspectsToStepRequest","addSampleProspectsToStep","getMyTemplateRequest","getTemplates","getTeamTemplateRequest","getEmailStepOfStatusRequest","getEmailStepsOfStatus","getEmailStatusOfStepRequest","getEmailStatusOfStep","getEmailListRequest","getEmailList","sendScheduledEmailRequest","sendScheduledEmail","changeEmailStatusRequest","changeEmailStatus","getCustomDomainsRequest","prospectId","getSequenceProspectActivity","getCustomDomains","getSequenceProspectVerificationStatsRequest","getSequenceProspectVerificationStats","sendSequenceProspectVerifyStartRequest","sendSequenceProspectVerifyStart","uploadAttachmentRequest","uploadAttachment","deleteAttachmentRequest","attachmentId","deleteFromTemplate","sequenceStepVariantId","deleteAttachment","getSentEmailPreviewRequest","getSentEmailPreview","getSequenceScoreRequest","refresh","getSequenceScore","createEmailWritingFactorsRequest","createEmailWritingFactors","updateEmailWritingFactorsRequest","updateEmailWritingFactors","getLinkedEmailAccountsRequest","pageNum","getLinkedEmailAccounts","linkEmailToSequenceRequest","emailAccountIds","linkEmailToSequence","getAllNotLinkedEmailAccountsRequest","clientIds","search","tagIds","getAllNotLinkedEmailAccounts","removeConnectedEMailAccountRequest","emailAccountId","removeConnectedEmailAccount","getNotLinkedEmailAccountsCountRequest","getNotLinkedEmailAccountsCount","getSenderEmailsRequest","getSenderEmails","resendFailedEmailRequest","sequenceContactHistoryId","resendType","resendFailedEmail","onOutcomeChangeRequest","outcomeId","onOutcomeChange","getTaskAssigneeListRequest","userId","getTaskAssigneeList","bulkPauseSequenceRequest","bulkPauseSequence","bulkResumeSequenceRequest","bulkResumeSequence","getAllConnectedEmailAccountsRequest","getAllConnectedEmailAccounts","getSequenceTimezoneRequest","getSequenceTimezone","sequenceProspectBulkStatusUpdateRequest","sequenceProspectBulkStatusUpdate","sequenceProspectBulkTagAssignRequest","sequenceProspectBulkTagAssign","sequenceProspectBulkTagUnAssignRequest","sequenceProspectBulkTagUnAssign","sequenceProspectBulkAddToSequenceRequest","sequenceProspectBulkAddToSequence","sequenceProspectBulkRemoveFromSequenceRequest","sequenceProspectBulkRemoveFromSequence","getSequenceStatsCountsRequest","getSequenceStatsCounts","getEspMatchingDetailsRequest","getEspMatchingDetails","getSequenceProspectStepStatesRequest","getSequenceProspectStepStates","getSequenceEmailAccountStatesRequest","getSequenceEmailAccountStates","KeyCodes","KeyValues","onKeyDown","handler","e","keyCode","ENTER","key","trim","toLowerCase","accessibleOnClick","tabIndex","role","getProspectListRequest","getProspectList","getProspectListCountRequest","getProspectListCount","getProspectListByIdsRequest","getProspectListByIds","getProspectRequest","getProspectCountRequest","getSequenceListRequest","getSequenceList","getStepListRequest","getStepList","getStepDetailsListRequest","getStepDetailsList","addToStepRequest","removeProspectRequest","removeProspect","getSingleProspectDetailsRequest","getSingleProspectDetails","getSingleProspectSequencesDetailsRequest","getMinimalSingleProspectSequencesDetails","singleProspectSequencesMarkAsRepliedRequest","singleProspectSequencesMarkAsReplied","singleProspectSequencesMarkAsFinishedRequest","singleProspectSequencesMarkAsFinished","singleProspectRemoveFromSequencesRequest","singleProspectRemoveFromSequences","unsubscribeProspectRequest","unsubscribeProspect","saveContactAttributesRequest","contactId","attributes","saveContactAttributes","saveContactDealValueRequest","saveContactDealValue","getFieldsRequest","getFieldsGeneric","includeDefaults","addProspectManuallyRequest","addProspectManually","verifyProspectsManuallyRequest","verifyProspects","getTagsRequest","getTags","addTagsToProspectsRequest","addTagsToProspects","removeTagsFromProspectsRequest","removeTagsFromProspects","verifyBulkProspectsRequest","verifyBulkProspects","deleteBulkProspectsRequest","deleteBulkProspects","unsubscribeBulkProspectRequest","unsubscribeBulkProspects","addBulkProspectsToStepRequest","addBulkProspectsToStep","addTagsToBulkProspectsRequest","addTagsToBulkProspects","removeTagsFromBulkProspectsRequest","removeTagsFromBulkProspects","changePrimaryEmailInProspectRequest","changePrimaryEmailInProspect","deleteSecondaryEmailRequest","deleteSecondaryEmail","deleteSecondaryPhoneRequest","deleteSecondaryPhone","getFilterViewListRequest","getFilterViewList","getProspectFiltersFieldsListRequest","_args","getProspectFiltersFieldsList","pinUnpinSavedFilterRequest","viewId","action","pipUnpinSavedFilter","updateSavedFilterRequest","updateSavedFilter","deleteSavedViewRequest","deleteSavedView","getProspectFiltersFieldValuesRequest","getProspectFiltersFieldValues","getProspectFiltersAttributeFieldValuesRequest","getProspectFiltersAttributeFieldValues","getProspectFiltersSequencesListRequest","getProspectFiltersSequencesList","getProspectFiltersClientsListRequest","getProspectFiltersClientsList","getProspectFiltersTagsListRequest","getProspectFiltersOwnersListRequest","getTeamsAndMembersList","getProspectFiltersOwnersListForAgencyRequest","getMembersList","UserStatusKeys","Active","getProspectFiltersOutcomeListRequest","getAllOutcomes","saveProspectFiltersViewRequest","saveProspectFiltersView","updateProspectFiltersViewRequest","updateProspectFiltersView","deleteProspectFiltersViewRequest","deleteProspectFiltersView","getContactListByViewIdRequest","selectedField","getContactListByViewId","getImportedFilesListRequest","ids","getImportedFilesList","updateProspectFieldByIdRequest","updateProspectFieldById","getLongTextByProspectAndColumnIdRequest","getLongTextByProspectAndColumnId","NotificationType","NotificationReason","NotificationAction","NotificationActionType","getAccountSubscriptionRequest","api","get","getAccountSubscriptionPlanRequest","getLeadFinderSubscriptionRequest","getPlansRequest","getLeadFinderPlansRequest","getInvoiceURLRequest","post","purchaseSubscriptionRequest","sleep","purchaseLeadFinderSubscriptionRequest","getConnectedUsersAndEmailAccountsRequest","applyCouponCodeRequest","couponCode","planId","amount","getEmailVerificationCreditsRequest","getEmailVerificationPlanRequest","purchaseEmailVerificationCreditsRequest","modifySubscriptionRequest","accountSubscriptionPlanId","slots","stripeCardToken","purchaseModifySubscriptionRequest","purchaseLeadFinderModifySubscriptionRequest","reactivateSubscriptionRequest","reactivateLeadFinderSubscriptionRequest","resumeSubscriptionRequest","resumeLeadFinderSubscriptionRequest","handleSubscriptionRequest","handleLeadFinderChurnkeySubscriptionRequest","calculatePayRequest","upgradePlanRequest","downgradePlanRequest","purchaseLtdPlanRequest","upgradeLtdPlanRequest","patch","modifyLtdPlanRequest","getPurchaseHistoryRequest","getPurchaseDetailsByIdRequest","orderId","exportCreditHistoryRequest","getLeadFinderOneTimePlansRequest","purchaseLeadFinderOneTimePlanRequest","defaultPlanCode","TRIAL","getUserSubscriptionDetails","subscription","getUserId","getUserFirstName","firstName","getUserLastName","lastName","getAdminFirstName","adminDetails","getUserFullName","getUserEmail","email","getUserSignUpDate","createdAt","getUserTrackingId","trackingId","getUserRole","isAgencyUser","isAgency","parseInt","getAgencyUserRole","getAgencyClient","client","getAgencyName","agencyConfig","agencyName","getUserCurrentPlan","planCode","getUserUseCase","useCase","getUserIndustry","industry","getUserJobRole","jobRole","getUserShAccountId","shAccountId","getUserPlanCode","getUserPlanName","planName","getUserTimeZone","timeZone","getUserLeadFinderPlanName","leadFinderSubscription","isMultichannelActive","leadFinderBulkOperationLimit","leadFinderLimit","userHasWhitelabelAccessPermission","WHITELABEL_ACCESS","isWhiteLabel","clientBaseUrl","icon","isWhitelabelWithoutClientView","isNull","isEmpty","isWhitelabelWithClientView","getAgencyConfigDetails","getWhitelabelCompanyName","companyName","isAgencificationClientOrAgencyUser","getIntercomHash","intercomHash","LeadRevealType","FilterComponentType","SEARCH_INPUT","DROP_DOWN","MULTILEVEL_CHECKBOX","TAG_CHECKBOX","SAVED_LEAD_DATE","LeadFinderTabKey","PEOPLE_TAB","SAVED_TAB","BulkLeadsActionType","BULK_ACTION_TIMEOUT","MAX_POLLING_LIMIT","RR_PAGINATION_LIMIT","ImageIcon","height","connectEmailAccountRequest","method","connectEmailAccount","verifyEmailAccountRequest","verifyEmailAccount","verifyWhitelabelEmailAccountRequest","verifyWhitelabelEmailAccount","setDefaultEmailAccountRequest","setDefaultEmailAccount","disconnectEmailAccountRequest","disconnectEmailAccount","getEmailAccountsRequest","getEmailAccounts","getEmailAccountsListRequest","getEmailAccountsList","deleteEmailAccountRequest","deleteEmailAccount","updateEmailAccountRequest","updateEmailAccount","emailTimeIntervalSettingsRequest","emailTimeIntervalSettings","getEmailAccountRequest","getEmailAccount","getEmailAccountSettingsRequest","hashId","getEmailAccountSettings","updateEmailAccountRampUpSettingsRequest","updateEmailAccountRampUpSettings","getEmailAccountSetupScoreRequest","getEmailAccountSetupScore","testSMTPConnectionRequest","testSmtpImapConnection","testIMAPConnectionRequest","connectSmtpImapAccountRequest","connectSmtpImapAccount","getSmtpImapAccountDetailsRequest","getSmtpImapAccountDetails","updateSmtpImapAccountDetailsRequest","updateSmtpImapAccountDetails","updateEmailAgeRequest","ageInMonths","updateEmailAge","importEmailAccountCsvRequest","file","importEmailAccountCsv","bulkEmailUpdateRequest","bulkEmailUpdate","trulyinboxEmailAccountVerifyShApiKeyRequest","trulyinboxEmailAccountVerifyShApiKey","getEmailAccountTagsRequest","getTagsToEmailAccount","emailAccountTagsAssignRequest","emailAccountTagsAssign","emailAccountTagsUnassignRequest","emailAccountTagsUnassign","emailAccountTagsBulkAssignRequest","emailAccountTagsBulkAssign","emailAccountTagsBulkUnassignRequest","emailAccountTagsBulkUnassign","getTrulyInboxTokenRequest","tiUserId","getTrulyInboxToken","updateEmailAccountStatusRequest","updateEmailAccountStatus","getDomainPlansRequest","getDomainPlans","getDomainSearchRequest","getDomainSearch","getDomainOwnerContactDetailsRequest","getDomainOwnerContactDetails","uploadDomainProfilePictureRequest","uploadDomainProfilePicture","purchaseDomainRequest","purchaseDomain","addEmailAccountsRequest","addEmailAccounts","calculatePay","getCoreFeaturesCredits","getUserSettingsRequest","getUserSettings","getPostLoadMetaRequest","getPostLoadMeta","getAgencyConfigRequest","getAgencyConfig","updateUserSettingsRequest","updateUserSettings","getFirstSequenceRequest","_","getFirstSequence","compareAuthTokenRequest","compareAuthToken","getSampleSequenceRequest","getSampleSequence","upgradeOnboardingStepRequest","upgradeOnboardingStep","getUserNotificationsRequest","getUserNotifications","getUserUnreadNotificationsRequest","getUnreadNotifications","getUnreadEmailThreadsCountRequest","getUnreadEmailThreadsCount","markNotificationsAsReadRequest","thunkApi","markNotificationsAsRead","createSequenceFromGettingStartedRequest","source","extendTrialPeriodRequest","extendTrialPeriod","getCoreFeaturesCreditsRequest","getPollingNotificationsRequest","getPollingNotifications","updateHiddenNotificationRequest","notificationId","updateHiddenNotification","BillingOption","executeOnRequestStatus","onIdeal","onPending","onSuccess","onFailed","Ideal","Pending","Succeeded","Failed","executeOnRequestStatusWithPrevStatusCheck","prevStatus","executeOnErrorWithErrorCheck","onError","UserAndTeamsTabs","UserSortBy","TeamSortBy","UserStatusLabel","UserRole","constants","DEFAULT_SEQUENCE_PAGE_SIZE","DEFAULT_PAGE_SIZE","SMALLER_PAGE_SIZE","DEFAULT_PAGE_NUM","PROSPECT_PAGE_SIZE","DOWNLOAD_SAMPLE_FILE_URL","MODAL_HANDLER","EMAIL_ACCOUNT_SETUP_SCORE_LIMIT","LEAD_REVEAL_BOTTOM_LIMIT","LEAD_FINDER_DEFAULT_PAGE_SIZE","EMAIL_VERIFICATION_BOTTOM_LIMIT","SEQUENCE_STEP_MESSAGE_LIMIT","SELECTED_SEQUENCE_LIMIT","BULK_EDIT_EMAIL_ACCOUNT_LIMIT","BULK_DELETE_DNC_LIST_EMAILS_DOMAINS","DOWNLOAD_DNC_SAMPLE_FILE_URL","DOWNLOAD_SAMPLE_WHITELABEL_FILE_URL","DOWNLOAD_DELIVERABILITY_PDF","DOWNLOAD_ROI_COLD_EMAIL_PDF","SmtpImapProviders","LastTestConnection","Source","SequenceTab","clients","queryParams","paramsSerializer","qs","stringify","skipNulls","baseVariantId","delete","updateSequenceStepVariant","saveProspectDealValue","dealValue","mapConfig","conflictAction","includeRiskyContact","includeVerification","tags","totalRecords","FormData","append","JSON","SequenceProspectImportCsv","ProspectImportCsv","newPriorityDistributionId","limit","sequenceProspectTaskId","sequenceProspectTaskIds","emailWritingFactors","emailWritingScans","pageSize","sequenceIds","deSelectedContactIds","contactsFilter","length","undefined","newTags","LEAD_EMAIL_EXCLUDED_DOMAINS","getLeadsActiveTab","location","hash","locationHash","values","includes","validateNumberForQueryParams","fallbackValue","isNaN","Number","deepClone","parse","getExceptFilterValues","keys","list","some","item","children","childItem","getFilterValues","continent","label","child","getFilterValuesWithExtraValues","locationData","extraValues","parentKeys","queryParam","URLSearchParams","history","locationFilterKey","exactMatch","match","result","parentKey","substring","getValueForResultData","getFilterKeys","Values","Keys","country","getFilterKeysWithExtraKeys","getExceptFilterKeys","findParentKey","targetKey","getTimeAgoString","timestamp","timestampDate","timeDifference","seconds","minutes","capitalizeFirstLetter","string","charAt","toUpperCase","slice","mapObjectToString","mappedString","hasOwnProperty","formattedValue","showingLengthPerPageOptions","isLeadFinderURL","window","pathname","gradeTooltips","A","ContactVerificationStatusTypeDisplayName","Valid","B","Risky","gradeClassNames","getCircleCheckTooltip","grade","Unverified","getCircleCheckIconClassName","getLeadListingPageSize","savedPageSize","localStorage","getItem","console","log","setLeadListingPageSize","setItem","filterOutExcludedAndDuplicateDomains","domains","filteredDomains","domain","getDomainsFromEmails","emailsData","employerDomain","emailData","split","getUsersRequest","getUsers","changeUserRoleRequest","changeUserRole","getTeamsListRequest","getTeamsList","assignTeamRequest","assignTeam","deleteUserRequest","deleteUser","disableUserRequest","disableUser","reactivateUserRequest","reactivateUser","resendInviteRequest","resendInvite","addUserRequest","addUser","getTeamsRequest","getTeams","getMembersListRequest","getTeamsAndMembersListRequest","modifyTeamRequest","modifyTeam","deleteTeamRequest","deleteTeam","addTeamRequest","addTeam","getAssignTeamSetting","getUserSetting","deleteUserFromTeamRequest","deleteUserFromTeam","agencyInviteUserRequest","agencyInviteUser","exportUsersRequest","exportUsers","deleteExpireSessionRequest","deleteExpireSession","TaskStatusDisplayLabel","TaskStatusKey","TaskStatusParamsKey","TaskAction","CallOutcome","LOCAL_STORAGE_KEYS","EMAIL_ACCOUNT_INFRASTRUCTURE_CART","EMAIL_ACCOUNT_INFRASTRUCTURE_SERVICE_PROVIDER","EMAIL_ACCOUNT_INFRASTRUCTURE_CONTACT_DETAILS","EMAIL_ACCOUNT_INFRASTRUCTURE_FORWARDING_DOMAIN","EMAIL_ACCOUNT_INFRASTRUCTURE_LAST_UPDATED_AT","EMAIL_CHANGE_FOR_SSO_USER_IN_PROGRESS","NEW_SSO_EMAIL_VARIFICATION_IN_PROGRESS","saveToLocalStorage","getFromLocalStorage","removeFromLocalStorage","removeItem","clearAllEmailAccountInfrastructureKeysFromLocalStorage","getEmailAccountInfrastructureServiceProvider","getEmailAccountInfrastructureLastUpdatedAt","getEmailAccountInfrastructureCart","preloadDataFromLocalStorage","serviceProvider","cart","forwardingDomain","contactDetails","getIsRequestIdeal","getIsRequestPending","getIsRequestSucceeded","getIsRequestFailed","EmailAccountMethod","EmailAccountType","EmailServiceProvider","EmailAccountsSortBy","GlobalSettings","Wrapper","Content","Header","HeaderLeft","HeaderRight","HeaderTitle","title","isToolTip","tooltipText","headerTitle","rootClose","placement","Placement","text","SHLogoDark","width","xmlns","viewBox","fill","clipPath","d","x1","y1","x2","y2","gradientUnits","stopColor","offset","transform","fillRule","clipRule","MessageCircle","ArrowForwardUp","MailRead","ArrowBackUp","ArrowBackForward","NoMessages","size","cx","cy","r","ArrowsMinimize","SHLogoDarkSM","TrulyInbox","SwapArrow","stroke","strokeLinecap","x","y","rx","strokeWidth","strokeLinejoin","MailOpen","VariantsList","colorInterpolationFilters","filterUnits","floodOpacity","in","dy","stdDeviation","in2","GaugeChart","NoUpcomingTrips","style","maskType","maskUnits","mask","fillOpacity","strokeDasharray","VerifyEmail","SuccessChecks","operator","mode","SeeMore","stopOpacity","SearchIcon","TeamPerformanceUI","Connectivity","NoLogsFound","GiftBox","SparklingMail","NoEmailAccountsFound","NoEmailContent","NoEmailResultFound","NoProspectResultFound","ArrowLeft","DNCEmptyList","NoDNCListFound","fill-rule","clip-rule","clip-path","stroke-width","stop-color","Download","NoTagsFound","DotsVerticals","EmailAccount","Icon","forwardRef","ref","identifierClass","iconClass","getEmailInbox","page","categoryIds","owners","date","isRead","sentiment","startDate","endDate","getEmailThread","getEmailThreadActivity","getSequencesListForFilter","getEmailAccountsListForFilter","replyEmail","forwardEmail","getEmailCategories","updateEmailCategory","updateEmailReadUnreadStatus","deleteEmailConversation","bulkMarkAsReadUnread","readStatus","deSelectedEmailThreadIds","emailsFilter","categoryId","bulkDelete","bulkCategoryAssign","assignCategoryId","replyDraft","replySchedule","replyDraftDiscard","repliedOnEmailId","replyScheduleCancel","unifiedScheduledId","exclusionListBlock","getEmailInboxRequest","getEmailThreadRequest","getEmailThreadActivityRequest","getSequencesListForFilterRequest","getEmailAccountsListForFilterRequest","replyEmailRequest","forwardEmailRequest","uploadAttachmentUniboxRequest","deleteAttachmentUniboxRequest","replyDraftRequest","getEmailCategoriesRequest","updateEmailCategoryRequest","updateEmailReadUnreadStatusHandler","markEmailConversationAsRead","markEmailConversationAsUnRead","deleteEmailConversationRequest","bulkMarkAsReadUnreadRequest","bulkDeleteRequest","bulkCategoryAssignRequest","replyDraftDiscardRequest","replyScheduleCancelRequest","replyScheduleRequest","scheduledAt","sendEmailIfReplied","timezone","exclusionListBlockRequest","Routes","initialState","cancelEmailVerificationPlanRequest","selectedPlanDetails","getAccountSubscriptionResponse","getAccountSubscriptionPlanResponse","getLeadFinderSubscriptionResponse","getInvoiceResponse","getPlansResponse","getLeadFinderPlansResponse","getConnectedUsersAndEmailAccountsResponse","applyCouponCodeResponse","getEmailVerificationCreditsResponse","getEmailVerificationPlanResponse","purchaseEmailVerificationCreditsResponse","modifySubscriptionResponse","getCalculatePayResponse","purchaseModifySubscriptionResponse","purchaseLeadFinderModifySubscriptionResponse","reactivateSubscriptionResponse","reactivateLeadFinderSubscriptionResponse","resumeSubscriptionResponse","resumeLeadFinderSubscriptionResponse","handleSubscriptionResponse","handleLeadFinderChurnkeySubscriptionResponse","purchaseLtdPlanResponse","upgradeLtdPlanResponse","modifyLtdPlanResponse","purchaseHistory","purchaseDetailsById","getLeadFinderOneTimePlansResponse","purchaseLeadFinderOneTimePlanResponse","billingSubscriptionSlice","createSlice","name","reducers","resetSubscription","resetPurchaseEmailVerificationCreditsResponse","resetPurchaseModifySubscriptionResponse","resetPurchaseLeadFinderModifySubscriptionResponse","resetReactivateSubscriptionResponse","resetReactivateLeadFinderSubscriptionResponse","resetResumeSubscriptionResponse","resetResumeLeadFinderSubscriptionResponse","resetHandleSubscriptionResponse","resetHandleLeadFinderSubscriptionChurnkeyResponse","resetModifySubscriptionResponse","deleteAppliedCouponCode","resetConnectedUsersAndEmailAccountsRequest","resetCalculatePayState","resetPurchaseLtdPlan","resetUpgradeLtdPlan","resetModifyLtdPlan","selectPlan","resetInvoice","resetPurchaseDetails","resetExportCreditHistoryRequest","resetPurchaseLeadFinderOneTimePlan","extraReducers","builder","addCase","pending","fulfilled","nextBillingAt","startAt","endAt","rejected","rows","actions","supportUrls","teamsOfService","emailVerificationBlog","scheduleCall","refundPolicy","becomeOurAffiliate","warmupFaq","outreachPlanViewFAQ","leadFinderPlanViewFAQ","updateCardDetails","smtpImapCouldNotAuth","smtpImapEmailNotFound","smtpImapConnectionTimeOut","smtpImapOtherError","pauseProspectInSequence","spintaxBlog","emailInfrastructureFAQ","coldEmailMasterClass","intercomBaseUrl","celloBaseUsrl","howToConnectGmailAccountWithSmtpImap","howToConnectGmailAccountWithSmtpImapStep3","howToConnectGmailAccountWithSmtpImapVideo","learnHowUnifiedInboxWorks","trulyInboxForWarmupFaq","sequenceReport","spfYtUrl","ctdYtUrl","dmarcYtUrl","emailAgeYtUrl","dmarcVideoUrl","ctdVideoUrl","spfVideoUrl","dkimVideoUrl","mxRecordVideoUrl","sendingIntervalVideoUrl","domainIPBlacklistVideoUrl","emailAgeVideoUrl","dailySendingQuotaVideoUrl","spfBlog","ctdBLog","dmarcBlog","emailAgeBlog","emailSendingIntervalBlog","domainAndIPBlacklistBlog","dkimBlog","mxRecordBlog","integration","zapierIntegrationBlog","zapierIntegration","videoPersonalizationBlog","pitchlaneIntegration","sendlerIntegration","sendsparkIntegration","weezlyIntegration","bulkImportGuide","bulkImportSampleCSV","bulkImportSampleCSVWhitelabel","ccBccBlog","agencyPortalVideoGuide","customTrackingDomainVideoGuide","doYouKnowWhyScheduledEmailsAreNotShown","planComparisonPDFURL","prospectEngagement","prospectOutcome","emailEngagement","outOfOfficeBlog","agencyPortalSignupURL","g2ReviewSubmissionForm","g2LeadFinderReviewSubmissionForm","startG2ReviewLink","AMSButtonSequenceScoreURL","AMSButtonEmailSetupScoreURL","webhookBlogURL","webhookSetupGuideURL","webhookExampleDataURL","agencyOnboardingVideoURL","leadOnboardingVideoURL","clientPermissionsBlog","dncBlogURL","findYourDNSProvider","whitelabelYoutubeURL","whitelabelKnowMoreURL","variableTagsBlogURL","outreachOnboardingVideoURL","stepsCreatedVideoURL","addProspectVideoURL","connectEmailAccountVideoURL","launchSequenceVideoURL","addClientsVideoURL","sendingPriorityBlog","trackExternalEmailsBlog","emailAccountSpf","emailAccountDmarc","emailAccountCustomDomain","howToRunMultichannelSequences","connectEmailAccountsVideoURL","emailInfrastructureVideoURL","ssoSetUpBlog","sequenceViewBlog","filterGroupLogic","ContactStatusType","Finished","ProspectManually","generationType","TagsGenerationType","All","prospects","primaryEmailProspectInfoId","prospectInfoId","fieldName","selectedIds","join","fieldId","filterName","filterCriteria","isShared","teamIds","attributeValue","fieldRef","fieldRefId","UserSettingCode","OnboardingSteps","ProfileProgressSteps","OnboardingRoutes","Step0","Step1","hasResource","resource","userHasResource","resources","SubscriptionStatus","Paused","pauseAccountError","showModal","ResourceIdentifiers","SelectPlanCTAText","ShAccountSettingsCode","updateProfileProgressRequest","credits","meta","profileProgress","firstSequence","notifications","notificationCount","pollingNotifications","blinkNotificationIcon","team_size","designation","phoneNumber","referralPage","application","showActivateSequenceTooltip","showAddEmailAccountModal","hasUserConnectedEmailAccount","loggedUserEmail","shouldLogoutUser","logoURL","hasSignUpCompleted","hasVisitedAgencyPortal","featureUsages","signup_date","gettingStatedCreatedSequenceId","churnkeyHash","leadFinderChurnkeyHash","defaultAgencyObj","unreadNotificationCount","unreadEmailThreadsCount","filteredUnreadEmailThreadsCount","showYoutubeVideModal","icpStatus","getPostLoadMetaResponse","isEligibleToExtendTrial","allowInboxRotation","companySize","landingPage","verified","atmRole","isSelfSignup","shouldBulkActionsPoll","hasDomains","initiateFetchUnreadCount","ssoStatus","organizationId","shouldDisplayMobileAppBanner","homeSlice","markNotificationAsRead","notification","_id","hasRead","resetCoreFeaturesCreditsRequestStatus","updateApplicationState","showGettingStartedVideoModal","resetFirstSequenceData","resetCompareAuthTokenRequest","resetApplicationState","resetNotificationData","onSettingsTabProfileUpdate","updateIsMultichannelActive","enableBulkActionRequestPolling","disableBulkActionRequestPolling","startNotificationBlink","stopNotificationBlink","resetInitiateFetchUnreadCount","updateShowMobileApplicationBannerInMeta","account","count","prevNotifications","newNotifications","shouldPoll","newNotif","completedAt","prevNotif","find","prev","unReadNotificationCount","filterCount","createBrowserHistory","getIsUserSubscribed","FREE","getIsLeadFinderUserSubscribed","LEAD_FINDER_FREE","LEAD_FINDER_TRIAL","isRequestPending","getCallOutcomeOptions","Interested","CallbackLater","Followup","NotInterested","WrongNumber","NoAnswer","LeftVoicemail","NotInService","getTaskTitle","purpose","SequenceStepType","LinkedInConnectionRequest","LinkedInMessage","LinkedInInMail","LinkedInViewProfile","LinkedInPostInteraction","Call","getCallTitle","Whatsapp","isLinkedInType","getDateColumnTitle","taskStatus","DueToday","Upcoming","Overdue","Completed","getTaskDate","cell","dueAt","skippedAt","isActionsVisible","Skipped","getToasterMessage","taskAction","ExecuteTask","SkipTask","setTasksFiltersInLocalStore","filters","getTasksFiltersFromLocalStore","removeTasksFiltersFromLocalStore","setTaskTypeFiltersInLocalStore","taskTypes","getTaskTypeFiltersInLocalStore","removeTaskTypeFiltersInLocalStore","getSelectedTasksId","selectedTasks","reduce","accumulator","currentValue","getTaskActionTitle","selectedTaskIds","getCallTaskDesc","getCompleteActionDesc","isAnyCallTaskSelected","taskTitle","getConfirmationModalClass","taskType","getTaskTableClass","tasksFilters","checkIsFilterApplied","RouteType","AuthRoute","component","render","AuthHelper","isAuthenticated","to","ConfigRoute","RouteComponent","showBrandingSuffix","useEffect","document","oldTitle","addSuffix","newTitle","getNewTitle","Protected","ProtectedRoute","Route","ConfirmationModalV3","onSubmit","contents","customJSX","iconType","hideTitleIcon","hideCancelButton","hideSubmitButton","submitButtonClassName","cancelButtonClassName","isSubmitLoading","isCancelLoading","isSubmitDisabled","isCancelDisabled","submitButtonText","cancelButtonText","submitButtonVariant","Button","disableEnforceFocus","hideFooter","titleContent","ConfirmationModalIconType","ALERT_TRIANGLE","INFO_CIRCLE_BLUE","INFO_CIRCLE_RED","INFO_CIRCLE_YELLOW","TRASH_RED","ALERT_CIRCLE_ORANGE","cancelButtonVarient","Outlined","backdrop","extraModalProps","centered","enforceFocus","contentItem","updatePassword","updateMyProfile","getMyProfile","verifyCurrentPassword","sendOtpForChangeEmail","newEmail","resendOtpForChangeEmail","verifyOtpForChangeEmail","deleteMyProfile","currentPassword","getMyProfileRequest","updateMyProfileRequest","updatePasswordRequest","verifyCurrentPasswordRequest","sendOtpForChangeEmailRequest","resendOtpForChangeEmailRequest","_payload","verifyOtpForChangeEmailRequest","deleteMyProfileRequest","ValidationError","index","header","showSystemErrorNotification","showGeneralErrorNotification","agencyClientsDropdown","selectedAgencyClientsDropdown","resourceId","resourceType","assignAgencyClientResource","resourceIds","clientId","getAgencyClients","createAgencyClient","updateAgencyClient","deleteAgencyClient","toggleClientStatus","getAgencyClientActiveSequences","agencyClientResetPassword","getAgencyClientsRequest","createAgencyClientRequest","updateAgencyClientRequest","deleteAgencyClientRequest","toggleAgencyClientStatusRequest","getAgencyClientActiveSequencesRequest","getAgencyClientsDropdown","getSelectedAgencyClient","updateAssignAgencyClientResource","agencyClientResetPasswordRequest","requestUrl","order","rampUpInitialSendingLimit","rampUpPercent","rampUpStatus","trulyinboxEmailAccountConsent","domainId","mailboxes","retryLazy","componentToImport","res","rej","hasRefreshed","sessionStorage","refreshCount","then","catch","reload","getLeads","leadPayload","purgeCache","fetchLeadStatusPoll","getSavedLeads","keyword","createdDate","start","take","editSavedFilterAPI","filterId","apiParam","deleteSavedFilterAPI","addSavedFilterAPI","getSavedFilterListAPI","getFilterSuggestionAPI","revealSingleLeadAPI","revealLeadId","restPayload","leadAddToProspectAPI","leadAddToSequenceAPI","leadId","bulkRevealLeadAPI","bulkPeopleRevealLeadAPI","filteredPayload","bulkAddToProspectLeadAPI","bulkAddToSequenceLeadAPI","bulkSavedAddToSequenceLeadAPI","leadsFilter","bulkSavedAddToProspectLeadAPI","bulkExportLeadAPI","exportAllLeadsAPI","dates","dateString","dateToString","getTagsToLeads","addTagsToLeads","leads","removeTagsToLeads","addTagsToBulkLeads","removeTagsFromBulkLeads","Checkbox","disabled","checked","intermediate","onChange","labelClass","spanClass","event","target","displayName","PaginationShowHide","Sorting","PaginationLocalStorageKey","getSubscriptionPlanClassName","subscriptionPlanStatus","Canceled","isUserInPaidPlan","checkIsLtdPlan","planType","LTD","checkNewLtdPlanUser","LTD2","checkIsUserPlan","checkIsSubscriptionPausedOrCancelled","getButtonTitle","isUserSubscribed","isValueBasedPlan","getBillOverview","pausedAt","pauseEndsAt","userQuota","planAmount","stripeCredits","dateFormat","format","showTooltip","checkIsLtdPeriodExpired","expiryDate","showBillSummary","ltdExpiryDate","isInvoice","shouldShowBillSummaryForLtd","shouldShowLtdExpireAlertOrModifyBtn","ProspectProgress","OnProspectSequenceActions","BulkActionProspect","ConversationType","ProspectSortBy","updateAdminSettings","getExclusionList","pageNumber","currentPage","pageLimit","itemsPerPage","updateExclusionList","updateSSOOrganization","getSSOOrganization","getSSOSetupUrl","updateAdminSettingsRequest","getExclusionListRequest","updateExclusionListRequest","updateSSOOrganizationRequest","getSSOOrganizationRequest","getSSOSetupUrlRequest","AnalyticsEvents","openChatSupport","Intercom","IntercomEvents","SHOW_MESSAGES","openIntercomHome","SHOW","getCustomOutcomeRequest","getCustomOutcomes","getCustomOutcomesWithPaginationRequest","requestArgs","getCustomOutcomesWithPagination","getDefaultOutcomesWithPaginationRequest","getDefaultOutcomesWithPagination","createCustomOutcomeRequest","createCustomOutcome","updateCustomOutcomeRequest","customOutcomeId","updateCustomOutcome","deleteCustomOutcomeRequest","newOutcomeId","deleteCustomOutcome","getAllOutcomesRequest","UpgradePlanQueryParamsKey","ValueBased","getPlanIndex","plans","getPlanPeriod","planCycle","MONTHLY","getSubscribeAction","isUserModifyingSubscription","Upgrade","Subscribe","isAnnuallyPlan","ANNUALLY","stepWisePlanMonthly","step1","OutreachScaleMonthly100k","step2","OutreachScaleMonthly200k","step3","OutreachScaleMonthly300k","step4","OutreachScaleMonthly400k","step5","OutreachScaleMonthly500k","step6","Custom","stepWisePlanYearly","OutreachScaleYearly100k","OutreachScaleYearly200k","OutreachScaleYearly300k","OutreachScaleYearly400k","OutreachScaleYearly500k","getCustomScalePlusPlanName","step","isAnnualPlan","InputValidationType","FormMode","getApiTokenListRequest","getApiTokenList","createApiTokenRequest","createApiToken","revokeApiTokenRequest","tokenId","revokeApiToken","getCobaltSessionTokenRequest","getCobaltSessionToken","cobaltEventsSubscribeRequest","cobaltEventsSubscribe","getIntegrationAdminSettingRequest","getIntegrationAdminSetting","changeIntegrationSettingRequest","isAllUser","changeIntegrationSetting","generateIntegrationApiTokenRequest","generateIntegrationApiToken","authenticateApiTokenWithCurrentUserRequest","apiToken","authenticateApiTokenWithCurrentUser","ErrorFallback","t","useTranslation","ErrorBoundaryWrapper","fallback","showDialog","beforeCapture","scope","setTag","version","IconPlace","Size","getCustomFieldRequest","getCustomFields","getCustomFieldsWithPaginationRequest","getCustomFieldsWithPagination","getDefaultFieldsWithPaginationRequest","getDefaultFieldsWithPagination","createCustomFieldRequest","createCustomField","updateCustomFieldRequest","customFieldId","updateCustomField","deleteCustomFieldRequest","deleteCustomField","getAllFieldsRequest","getAllFields","filterSeparator","filterToProperties","displayNameKey","valueKey","separator","outcomes","sequences","conversationType","statuses","ContactStatusTypeDisplayName","subscribed","Subscribed","isHeaderFilter","unsubscribed","bounced","Bounced","paused","ContactStatusFilterEnum","NotContacted","Contacted","Open","SentNotOpen","OpenNotClick","OpenNotReply","ClickedNoReply","verificationStatuses","ProspectOutcomeDisplayName","MeetingBooked","OutOfOffice","Closed","NotNow","DoNotContact","ContactVerificationStatus","Bad","taskPriorities","SequenceStepPriority","Low","Normal","High","Urgent","creationSource","CreationSourceDisplayName","Manually_Created","ProspectCreationSource","manually_created","CSV_Import","csv_import","Chrome_Extention","chrome_extension","API","Lead_Finder","lead_finder","Unified_Inbox","unified_inbox","Undefined","resolveFilters","appliedFilters","isSequenceNone","entries","filterValues","isNoneSequence","filterVal","setProspectsFiltersInLocalStore","getProspectsFiltersFromLocalStore","removeProspectsFiltersFromLocalStore","getProspectParams","ocs","verificationStatus","stepIds","emailAccount","importedFile","updatedParams","verification","prospectImportFileIds","areFiltersApplied","Order","SortOrder","Alert","dismissibleTextElement","iconElement","body","banner","dismissible","contentContainer","svgIcon","onDismissibleClick","alertClass","Danger","Old","dismissibleProp","Heading","data-banner","ReportsTabs","ReportsBy","SequenceReportSortBy","TeamStatsReportSortBy","TableColumnsKey","ReportCountBy","Granularity","OutcomeCategory","OutcomeSentiment","OutcomeSentimentColor","OutcomeSentimentBGColor","OutcomeSentimentIconColor","Filters","getCustomDomainsList","createCustomDomain","deleteCustomDomain","userCustomDomainId","updateCustomDomain","setDefaultCustomDomain","checkBulkEmailAccountSetupScore","setDefaultCustomDomainRequest","getCustomDomainsListRequest","createCustomDomainRequest","deleteCustomDomainRequest","updateCustomDomainRequest","checkBulkEmailAccountSetupScoreRequest","verifyAuth","userEmail","logout","fallbackTo","query","withRouter","PlanErrorHelper","_shoeUpdatePlanModal","showUpdatePlanModal","showButtons","PlanErrorManager","handleSubmit","ACCOUNT_SUBSCRIPTION_READ","showPlanPermissionModal","Setting_Billing_Upgrade_Email_Outreach_Plan","emailBody","contactAdmin","showUpgradePlanModal","hidePlanPermissionModal","onHide","hideHeader","withTranslation","planPermissionError","IconText","TextStack","TextStacksDirectional","stacks","stack","renderStacks","sequenceNameJSX","row","ProductTour","VisitFirstSequence","sequenceStatus","sequenceStatusData","sequenceProgress","sequencePauseReason","sequencepauseReason","getBadgeVariant","SequenceProgress","Pause","userTimeZone","tz","showOnlyThesePauseReasonsToClient","SequencePauseReasons","EmailAccountDisconnected","EmailSendingLimitReached","EmailAccountDeleted","reason","sequencePauseMessages","renderPausedMessage","SequenceNameField","formatDate","isoDateString","DateTime","fromISO","isValid","zone","toFormat","isPaused","pausedAtDate","createdAtDate","sequenceCreatedAt","totalSteps","TooltipWrapper","OverlayTrigger","overlay","getTooltip","Tooltip","TeamMemberNameField","PaginationWrapper","dataSize","showRowsPerPage","isNewPagination","onPageChange","sequenceFixedPageSize","fixedPageSize","defaultSize","perPageLimit","useMemo","totalPages","totalPagesCount","getTotalSize","totalSize","paginationOptions","totalElements","pagesCount","getKeyAndId","getNoDataClassName","columns","selectedColumnsIds","onColumnSelect","useState","setShow","selectedColumnsKeys","setSelectedColumnsKeys","v","isRequiredColumn","isDisabled","showSearch","multiSelect","BottomEnd","selectedOptionKey","optionFilterProp","filterOption","option","customFilterOption","_options","searchValue","searchPlaceholder","optionRenderer","selectedOptions","showOptionsSeparator","display","justifyContent","arr","Small","onToggle","Table","resetSelectedRows","selectedRows","resetPagination","resetOptions","pgOptions","goToPage","selectAllCurrentPageRows","deselectedRows","temp","onRowSelectAllHandler","sortCaret","sortOptions","Ascending","Descending","renderSortIcon","field","sort","useCustomSortIcon","isSortedColumn","dataField","isAscending","isDescending","generateFormatter","showColumnsToggler","filteredColumns","col","cellClasses","componentClasses","align","headerAlign","isDummyField","headerStyle","hdrCls","headerClasses","onSort","switchOffTooltip","switchOnTooltip","tooltipPlacement","overlayTooltipClass","headerLoadingSkeleton","cellLoadingSkeleton","isCellClickable","headerComponent","isLoading","classes","expandedRowIds","removeAllExpandRows","headerFormatter","column","formatter","rowIndex","getCoreComponent","conditionCheck","tempRow","condition","conditionKey","customDomain","renderIconInDropDownMenu","onAction","customIcon","generateDropdownItemsListFromActions","newThemeActions","dropdownItems","gridItems","circle","overlayTooltip","color","dropdownItem","Dropdown","Item","bsPrefix","isSVGIcon","SVGIcon","imageIcon","generateActionsColumn","headerVisibleForGenerateColumn","borderOverActions","actionColumnName","onActionDropdownToggle","hideActionColumnHeader","generatedDropdownItemsListFromActions","drop","Toggle","createPortal","Menu","paddingLeft","paddingRight","borderTop","generateTogglerColumn","handleOnColumnSelect","colIds","minWidth","maxWidth","generateExpandColumn","isExpandColumnPositionFixed","attrs","_cell","_row","events","_e","_column","_columnIndex","handleExpandRows","getTotalPages","handleTableChange","sizePerPage","onPaginationOptionsChange","handelChangeGoToPage","handleOnBlur","isNumeric","isError","addErrorVariantToInput","showBounce","isGoToPageValid","goToPageValue","totalPage","handleGoToPage","preventDefault","handleSelectRowsPerPage","customShowingKey","renderOption","removeExpandRow","tbody","querySelector","targetRow","closest","users","rowToRemove","nextSibling","removeChild","rowId","showExpandColumn","unshift","self","reverse","user","tr","createElement","classList","add","td","cls","renderedJSX","expandedCellRenderer","ReactDOM","appendChild","insertBefore","onSelectedRowsUpdate","onChangeHandler","onRowSelect","onResetShowRowsPerPage","tableRef","defaultSelectedRows","prevProps","resetSelected","handleResetSelected","resetExpandedRows","isRefreshClicked","setOnRefresh","isSelect","maxSelectedRowsLimit","selectHandler","selectedRowsLength","onRowSelectAll","rowIds","remainingSelectionCount","idsToSelect","from","setA","setB","_difference","Set","elem","difference","uniqueRows","SEQUENCE_UPDATE_STATUS","isFreePlan","SEQUENCE_UPDATE","tooltip","headerWrapperClasses","bodyWrapperClasses","tableWrapperClasses","rowClasses","pagination","loadingRowsCount","finalColumns","dataColumns","getFinalColumns","paginationShow","HIDE","getShouldShowPagination","end","goToPageInputClasses","tableData","renderSelectCheckbox","checkedRows","rowKey","BottomStart","onRowClickHandler","tableId","paginationFactory","custom","withFirstAndLast","paginationProps","paginationTableProps","remote","selectRow","selected","onSelect","onSelectAll","selectionHeaderRenderer","selectionRenderer","headerColumnStyle","bordered","keyField","columnIndex","bodyClasses","onTableChange","noDataIndication","description","imgSrc","isVertical","selectedOptionRenderer","placeholder","min","max","Input","emailSubject","supportEmail","emailToSend","set","encodedAdminEmail","mailString","open","Suspense","MasterLog","ModifySubscriptionSteps","OnboardingType","SaleshandyUsageOptions","JobRoleOptions","UseCaseOptions","ProspectSizeOptions","IndustryOptions","ColdEmailToolOptions","OutreachProspectOptions","AgencyTypeOptions","ClientSizeOptions","EmailSendOptions","FindUsOptions","BusinessUseCaseOptions","TeamSizeOptions","AverageDealValueOptions","UsagePreferenceOptions","OccupationOptions","IndividualUseCaseOptions","LeadSizeOptions","getHasVisitedAgencyPortal","handleHasVisitedAgencyPortal","watchDemoVideoModal","setWatchDemoVideoModal","hasVisitedAgencyPortalInLS","splitUserEmail","emailDomain","analytics","track","ClickedGetStartedOnAgencyTab","properties","current_plan","use_case","job_role","email_domain","youtubeVideoUrl","mapDispatchToProps","connector","connect","shuffledOccupationOptions","Freelancer","Influencer","ConsultantAdvisor","shuffledIndividualUseCaseOptions","GenerateB2BLeadsBookMeetings","PromoteProductsServices","OneTimeEmailOutreach","OutreachCandidates","LinkBuilding","GenerateLeadsForBusiness","EngageProspects","OnetimeEmailOutreach","RecruitTalent","shuffledAgencyTypeOptions","LeadGenerationAgency","SalesAgency","DigitalMarketingAgency","SocialMediaAgency","RecruitmentAgency","onboardingTypeOptions","Agency","Business","Individual","getAgencyOnboardingQuestions","question","Other","CLIENT_0_5","CLIENT_6_20","CLIENT_21_50","More_Than_50","EMAIL_0_30","EMAIL_30_100","EMAIL_100_250","More_Than_250","LinkedIn","Blog","Google","Ads","YouTube","Recommendation","questionNumber","getBusinessOnboardingQuestions","Used","NotUsed","NotReally","ColdEmailOutreach","FindLead","FindLeadColdOutreach","getOnboardingQuestions","LEAD_0_1","LEAD_1_5","LEAD_5_20","More_Than_20","getInitialOnboardingValues","acc","userType","agencyType","clientsCount","monthlyemailsCount","priorColdEmailToolExperience","teamSize","avgDealSize","usagePreference","occupation","leadsSizeCount","getTotalQuestionCount","isOutreachLead","selectedValue","ProgressBar","percentage","bgColor","backgroundColor","OnboardingModal","sendOnboardingRequest","onBoardingRequestStatus","checkIsLeadFinderICP","onboardingType","setOnboardingType","onboardingQuestions","currentQuestion","setCurrentQuestion","setSelectedOptions","otherOptionInput","setOtherOptionInput","otherOptionInputError","setOtherOptionInputError","onSelectedOptionChanged","sltOptions","getCurrentQuestionNumber","handleTextOptionSubmit","optionEntries","newObj","fromEntries","sourceDetails","isNextButtonDisabled","optionsEntries","active","getPercentageValue","SettingsNavigationItem","IconComponent","activeClassName","SettingsNavigationTitle","SettingNavigation","userSettings","navItems","permission","MY_PROFILE_READ","EMAIL_ACCOUNT_READ","SCHEDULE_SHOW","SCHEDULE_READ","OOO_SETTING_READ","companySettings","USER_TEAM_SHOW","ACCOUNT_USER_READ","TEAM_SHOW","Users","FIELD_SHOW","FIELD_READ","TerminalCode","OUTCOME_SHOW","OUTCOME_READ","UserStar","INTEGRATION_READ","Link","WEBHOOKS_SHOW","Webhook","API_TOKEN_SHOW","API_TOKEN_READ","Code","CUSTOM_DOMAIN_SHOW","CUSTOM_DOMAIN_READ","World","Bullet","DNC_READ","FileX","WHITELABEL_SHOW","Brush","BILLING_SHOW","renderNavItems","renderSection","settings","renderDivider","getGlobalSettingsWrapperCustomClassName","MyProfile","lazy","UsersAndTeams","Schedule","CustomField","CustomOutcome","CustomDomain","AdminSettings","BillingSubscription","DoNotContactList","Integrations","APITokens","Whitelabel","route","settingsNavigationClassName","Setting_Billing_Upgrade_Lead_Finder_Plan","settingComponentsClassName","Container","fluid","Row","Col","exact","path","Setting_Billing_Upgrade_Plan","subscriptionDetails","pageHeaderBannerMessage","pageHeader","ctaURL","CTAUrl","ctaText","CTAText","sendGetUserNotificationRequest","sendGetPollingNotificationsRequest","sendUpdateHiddenNotificationRequest","sendMarkNotificationAsReadRequest","sendGetProfileRequest","sendGetUserUnreadNotification","sendConnectEmailAccountRequest","sendGetSmtpImapAccountDetailsRequest","sendGetEmailAccountsRequest","sendGetEmailAccountRequest","sendUpdateAdminDetailsRequest","resetUpdateAdminSettings","bannerTextTwo","bannerMessageTwo","paymentActionType","userProfile","myProfile","getUserNotificationsRequestStatus","getUserNotificationsDataRequestStatus","remainingProspectLimit","accountUsageQuotaRemaining","remainingEmailSentLimit","getUserSettingsRequestStatus","leadFinderCredits","getPostLoadMetaRequestStatus","agencyConfigRequestStatus","updateAdminSettingsRequestStatus","adminSettings","updateAdminSettingsRequestError","emailAccountSetupInProgress","eventKey","SEQUENCE_READ","TASK_READ","UNIFIED_INBOX_READ","CLIENT_READ","LEAD_FINDER_READ","PROSPECT_READ","TEMPLATE_READ","REPORT_READ","SETTING_READ","navItemsBottom","REFER_TAB_SHOW","EMAIL_WARMUP_READ","MAILBOX_EMAIL_READ","GROWTH_HUB_TAB_SHOW","getNavItemIcon","NavItem","useHistory","navItemClassName","startsWith","badgeClassName","sm","md","lg","dotBadgeClassName","badge","dotBadge","shouldShowBadgeForUnifiedInbox","shouldShowBadgeForAgencyPortal","navItem","NavigateToSequences","NavigateToLeadFinder","DOMAIN_READ","Right","DropDownNavItem","LogoSecondary","logo","secondary","SideNavbar","sendGetUnreadEmailThreadsCountRequest","useBaseRoute","baseRoute","isBase","bottomMoreMenu","setBottomMoreMenu","topNavItems","setTotalNavItems","bottomMoreMenuButton","setBottomMoreMenuButton","sideNavClassName","shouldCalculateFilterCount","handlerFunctionForSidenav","handleSidenavScalling","currentTarget","innerHeight","isBottomNavRendered","addEventListener","removeEventListener","isAnyBottomNavMenuVisible","isLocallyCached","origin","isMultichannelActiveValue","isTopNavRendered","CHAT_SUPPORT_SHOW","referrer","SessionExpireModal","Home","originalFavicon","redirectSpamUrl","onTrialExtended","sendExtendTrialPeriodRequest","TrialExtendSource","updateWatchVideoProfileProgressStep","profileProgressStep","stepName","WatchVideo","isCompleted","updateConnectEmailProfileProgressStep","ConnectEmail","handleHelpscoutWelcomeMessage","showHelpscoutWelcomeMessage","Beacon","force","showHideHelpscoutWelcomeMessage","initializeHelpScoutChatSupport","initializeIntercom","initializeCelloReferral","initializeCello","handleSessionExpire","sessionExpire","handleSessionExpireLogin","redirect","pathName","getAgencyClientRedirectURLOnLogout","interval","setInterval","clearAgencyClientRedirectURLOnLogout","clearInterval","showWatchVideoModal","showGettingStarted","isViewSequenceBtnClicked","showOnboardingModal","willRedirectToLeadFinder","showHideWatchVideoModal","showHideGettingStarted","showHideOnboardingModal","onViewSampleSequence","handleSendVerificationLinkRequest","sendGetUserSettingsRequest","sendGetAgencyConfigRequest","sendCompareAuthTokenRequest","getMyProfileRequestStatus","baseUrl","href","authToken","setSessionExpireHandler","sendGetPostLoadMetaRequest","getSampleSequenceRequestStatus","updateProfileProgressRequestStatus","createSequenceFromGettingStartedRequestStatus","handleHasUserConnectedEmailAccount","compareAuthTokenRequestStatus","extendTrialPeriodRequestStatus","extendTrialPeriodRequestMessage","onBoardingRequestError","resendVerificationEmailRequestStatus","resendVerificationEmailRequestError","outcomeChangeRequestStatus","outcomeChangeRequestMessage","getAgencyConfigRequestStatus","isGettingStartedVideoModalShow","storeUserEmail","onCompleteOnboardingProcess","checkPaymentPendingBanner","customScriptForAgency","getElementById","initializeCustomScript","redirectWithoutRefresh","colorPalette","documentInstance","documentElement","setProperty","redirectWithRefresh","searchParam","HelpscoutBeaconEvents","PAGE_VIEWED","url","SUGGEST","destroyChatSupport","removeCustomScript","sampleSequence","sendGetSampleSequenceRequest","isMemberAccount","sendFinishOnboardingRequest","isUserAlreadyInStepPage","handleHasSignUpCompleted","onboardingStep","setting","Onboarding","currentPath","handleOnboarding","Step2","planTransitionDetails","resendVerificationEmailRequest","setPageHeaderBannerAlert","paymentActionRequired","PaymentActionType","Initial","bannerType","PageHeaderAlertTypes","PAYMENT_PENDING","paymentActionUrl","bannerMessageOne","NONE","isPlanDowngraded","sendCreateSequenceRequest","SEQUENCE_WRITE","SEQUENCES_CREATE","getNewSequenceName","userSubscriptionPlan","homeContainerClass","favicon","ThemeProvider","prefixes","btn","Sequence","Tasks","UnifiedInbox","AgencyClient","Prospect","EmailAccounts","Domains","Templates","MailboxEmails","Reports","growthHub","EmailWarmup","VerifyEmailCallback","BlockPage","isGettingStartedVideModalShowThroughIcon","onCreateNewSequence","OnboardingVideo","getCurrentRoute","isCreateSequenceRequestPending","isViewSampleSequenceRequestPending","s","handleActivateSequenceTooltip","handleAddEmailAccountModal","handleHelpscoutBeaconId","helpscoutBeaconId","sendUpgradeOnboardingStepRequest","agencyConfigPayload","onboardingDetailsRequest","resetChangeOutcomeRequest","getUserSettingsRequestMessage","getUserSettingsRequestError","createSequenceFromGettingStartedRequestMessage","createSequenceFromGettingStartedRequestError","updateProfileProgressRequestMessage","updateProfileProgressRequestError","compareAuthTokenRequestMessage","compareAuthTokenRequestError","userRole","extendTrialPeriodRequestError","signup","onBoardingDetailsRequest","onBoardingRequestMessage","sequence","getUserDetailRequest","prospectsFiltersInitialState","verifyProspectManuallyRequest","getTagsToLeadsRequest","prospectPaginationData","steps","selectedContacts","selectAllContactDetails","singleProspect","singleProspectSequenceDetails","leadTags","isProspectSubscribed","addToStepRequestResultCount","failed","successful","resultData","addProspectResponse","prospectsFilters","prospectCount","sortBy","CreateAt","sortOrder","DESC","selectedFields","shouldFetchProspectList","shouldFetchProspectListCount","shouldFetchSavedFilters","fields","savedFilters","selectedSavedView","prospectFiltersFieldsList","prospectFiltersFieldsAttributesValue","prospectFiltersFieldsAttributesLoading","prospectFiltersFieldsAttributesFetched","stepsDetails","importedFilesList","longText","prospectSlice","resetGetProspectListRequest","resetGetProspectListCountRequest","resetGetProspectListByIdsRequest","resetGetProspectFiltersFieldsListRequest","resetSaveProspectFiltersViewRequest","resetUpdateProspectFiltersViewRequest","resetPinUnpinSavedFilterRequest","resetUpdateSavedFilterRequest","resetDeleteSavedViewRequest","setFilters","resetProspectFiltersSelectedFields","resetProspect","resetRemoveProspectRequest","resetAddToProspectForm","resetGetStepDetailsListRequest","resetSequenceAndStepData","resetStep","selectAllContacts","clearSelection","resetSaveContactAttributesRequestStatus","resetProspectDeleteEmailRequestStatus","resetProspectDeletePhoneRequestStatus","resetProspectPrimaryEmailChangeRequestStatus","resetSingleProspect","checkAll","isAllProspectsSelected","concat","isPresent","setProspectDetails","prospectWithId","prospect","isBlacklisted","isSubscribed","resetSelectedContacts","checkSingle","changeProspectPagination","saveSearch","setProspectsFilters","resetProspectsFilters","resetOff","resetTags","resetBulkRequests","resetUnsubscribeRequestState","setSelectedSavedView","removedSelectedSavedView","resetFilterGroupLogic","resetProspectFiltersFieldsAttributesValue","resetAll","resetImportedFilesListValue","resetGetLongTextByProspectAndColumnIdRequest","arr1","arr2Map","Map","prospectFromArr2","mergedAttributes","mergedEngagementFields","engagementFields","getMergedProspects","getSortedProspectFilterFields","arg","hasMoreData","prospectValues","prospectAttributeValues","clientSequenceAssociation","tag","owner","outcome","contacts","view","teams","login","verifyUserVerificationCode","resendUserVerificationCode","resetPassword","verifyResetPasswordCode","changePassword","userSetPassword","verifyInvitaitonToken","acceptInvitation","onBoardingDetails","resendVerificationEmail","ssoLogin","ssoLoginCallback","verifyOtp","resendOtp","getOAuthRedirectUrl","oauthAuthenticate","billingOptions","getHighlightMessage","gePlanCycleBasedOnPlanType","planMode","LIFETIME","MonthlyMode","YearlyMode","getDisabledLabel","sendGetAccountSubscriptionResponse","getDisabledTab","SelectPlan","SelectSlots","getPlanName","isBillingAndSubscriptionPageReady","sendGetAccountSubscriptionRequestStatus","sendGetPlansRequestStatus","isColdEmailPlanBannerShow","currentPlan","isValueBasedPlanVisible","ActionForAuthentication","signupRequest","verifyUserVerificationCodeRequest","resendUserVerificationCodeRequest","onPurchaseSubscription","numberOfSlotsUserWant","onPurchaseSubscriptionRequest","onPurchaseModifySubscriptionRequest","sendUpgradeLtdPlanRequest","sendModifyLtdPlanRequest","existingPlanCode","existingSlots","getCouponCodeResponse","abs","getPlanId","plan","getPlanNameByPlanMode","getPlanNameByPlanCycle","previousPlanCycle","currentPlanCycle","getNumberOfSlotsUserWant","minimumNumberOfSlotsUserCanHave","PreheaderErrorConditions","EmailSuggestionStatus","TOO_SHORT","SHORT","IDEAL","LENGTHY","TOO_LENGTHY","POOR","AVERAGE","GOOD","EXCELLENT","EmailSuggestionClasses","State","Switch","localRef","useRef","sizeClass","stateClass","variantClass","Text","switchClass","RenderLabelAndTooltip","labelTooltip","composeRefs","htmlFor","current","click","Medium","InputIcon","place","colorDefault","iconPlacingSubClass","prefix","Left","suffix","iconPlacingClass","InputIconList","icons","getSizeSubClass","Large","getVariantSubClass","succeeded","InputContainer","caption","variantSubClass","containerClass","InputLabel","Place","Before","After","InputSpan","sizeSubClass","InputButton","button","buttonTitle","NativeHTMLInput","inputSizeSubClass","inputSizeClass","inputClass","leftIconsList","rightIconsList","rightButton","leftIcons","rightIcons","addContainer","input","getSelectedSequencesRequest","getSelectedSequences","getSelectedUsersRequest","getSelectedUsers","getSequenceReportsSummaryRequest","getSequenceReportsSummary","getTeamReportsSummaryRequest","getTeamReportsSummary","getSequenceReportsStatsRequest","getSequenceReportsStats","getTeamReportsStatsRequest","getTeamReportsStats","gerGraphDataRequest","exportSequenceReports","exportSequenceConsolidatedReports","getGraphData","teamId","exportUserRequest","userInvitedCount","usersPaginationOptions","teamsList","teamsPaginationOptions","membersList","keepAllTeamsAssigned","teamsAndUsersList","usersAndTeamsSlice","resetGetUsersRequest","resetChangeUserRoleRequest","resetAssignTeamRequest","resetDeleteUserRequest","resetExpireSessionRequest","resetExportUserRequest","resetDisableUserRequest","resetResendInviteRequest","resetReactivateUserRequest","resetAddUserRequest","resetGetTeamsListRequest","resetGetMembersListRequest","resetGetTeamsAndMembersListRequest","resetTeamsAndUsersListData","resetGetTeamsRequest","resetDeleteTeamRequest","resetAddTeamRequest","resetModifyTeamRequest","resetDeleteUserFromTeamRequest","resetAgencyInviteUserRequest","items","DefaultMember","Boolean","getFreePlanBannerString","isEmailAccountPage","isTeamPage","isPlanDowngradedFromTrial","isPlanDowngradedFromPaid","HeaderBanner","setCTAText","memberFreePlanBannerString","ctaBtnText","ctaBtnClick","Webapp","rel","isInternalUrl","currentBaseUrl","hostname","FilterSource","FilterOperation","FilterLogic","DateFilter","getFinalSubTotal","sendGetCalculatePayResponse","planPrice","billingOption","couponCodeDiscountType","couponCodeDiscount","subTotalPrice","totalPriceAfterDiscount","totalAmountPrice","totalAfterDiscount","DiscountType","Percentage","Amount","getTotalAfterDiscount","getTotalAmount","getSubtotalDiscountAmount","totalAmount","showToastMessage","showErrorNotification","requestStatus","requestError","checkShouldShowTotalAmoutToPayText","existingPlanSlots","getTotalAmountMinusDiscount","discountType","discount","discountedAmount","SequenceStepConfig","SequenceStepExecutionDay","SequenceStepExecutionType","SequenceStepPriorityValue","CallPurpose","SequenceStepAction","createTemplate","updateTemplate","deleteTemplate","cloneTemplate","shareTemplate","getTemplatesRequest","createTemplateRequest","updateTemplateRequest","deleteTemplateRequest","cloneTemplateRequest","shareTemplateRequest","setNativeValue","element","valueSetter","getOwnPropertyDescriptor","prototype","getPrototypeOf","prototypeValueSetter","call","emitEvent","Event","dispatchEvent","InputNumber","containerClassName","showUpHandlerWithTooltip","showDownHandlerWithTooltip","upHandlerTooltipText","downHandlerTooltipText","addToValue","previousValue","newValue","bubbles","changeNativeValue","upHandler","downHandler","inputNumberClass","inputNumberContainerClass","onMouseDown","inputNumberHandlerUp","inputNumberHandlerDown","targetValue","Infinity","remainingValue","total","getProspectAndEmailSentLimit","totalProspectLimit","featureLimits","totalEmailSentLimit","totalLeadRevealLimit","remainingLeadRevealLimit","remainingLeadRevealLimitPer","quotaResetDate","accountUsageQuotaResetDate","leadFinderQuotaResetDate","leadFinderAccountUsageQuotaResetDate","remainingProspectLimitPer","remainingEmailSentLimitPer","getRestrictionWarning","NaN","getRestrictionWarningTooltip","formateDate","getEmailBody","senderFirstName","getTrailPlanWarningString","subscriptionEndDays","trailPlanWarningText","i18n","getExclusionListPaginationInitialState","totalItems","itemCount","ssoSetupUrl","createSSOOrganizationRequest","adminSettingsPriority","exclusionList","exclusionListPaginationOptions","organizationData","adminSettingsSlice","resetAdminSettings","resetExclusionList","resetUpdateExclusionRequestStatus","shAccountSettingData","priorityAndDistributionData","redirectWithNewTab","Description","checkIsPlanDowngraded","includeTrailPlan","freePlanId","trialPlanId","FieldType","getColor","Total","StatusColor","COLOR_TOTAL","COLOR_ACTIVE","COLOR_FINISH","COLOR_OPEN","COLOR_CLICKED","COLOR_REPLIED","COLOR_BOUNCED","COLOR_UNSUBSCRIBED","stepFilterMapper","statusFilterList","segments","clicked","OpenNoReply","j","statusFilter","ContactTotal","TOTAL","countColor","isDropDownSegment","segmentOptions","prospectOutcomeMapper","outcomeFilterList","allOutcomes","customOutcomes","isDefault","isCustomOutcome","ProspectOutcome","Uncategorized","outcomeFilter","mapSequenceStatusToContactFilter","SequenceProspectStatus","BlackListed","Blacklisted","contactListMapper","contactList","sequenceProspects","bounceType","sequenceProspect","currentStep","stepNumber","updatedAt","currentStepClickedAt","currentStepOpenedAt","currentStepCompletedAt","currentStepRepliedAt","iconLabel","MAIL","EngagementActivityType","EmailSent","stepType","EYE","EmailOpened","LINK","LinkClicked","REPLY","EmailReplied","lastActivity","isBounced","sequenceStepFilterMapper","currentSequenceStep","stepFilterList","stepDetail","stepNumberWithCount","getOutcomeIcon","isColorsIcon","Carousel","testimonials","profileURL","TestimonialsCarousel","currentSlide","setCurrentSlide","dynamicHeight","showIndicators","selectedItem","testimonial","isCurrentPasswordValid","canResendChangeEmailVerificationCode","myProfileSlice","resetVerifyCurrentPasswordRequest","resetIsCurrentPasswordValid","resetSendOtpForChangeEmailRequest","resetResendOtpForChangeEmailRequest","resetVerifyOtpForChangeEmailRequest","resetDeleteMyProfileRequest","fromJSDate","getFormattedDate","getNumericalFormattedDate","stringToDate","toISO","getPlanCode","getPlanMode","LTDMode","getPlanData","getPlanResponse","FieldCategory","category","prospectType","ProspectType","Contact","getPropsectsOverview","getMailboxEmailsList","mailbox","getMailboxesList","getMailboxEmailActivity","toggleMailboxEmailNotification","deleteMailboxEmail","mailboxEmailId","getMailboxEmailsListRequest","getMailboxesListRequest","getMailboxEmailActivityRequest","toggleMailboxEmailNotificationRequest","deleteMailboxEmailRequest","EmptyList","withBgAndShadow","emptyListInnerClass","emptyListPhotoClass","emptyListContentClass","emptyListTitleClass","emptyListBodyClass","emptyListButtonClass","TriggerType","SpinnerAnimation","Spinner","StatusBadgeVariant","Title","Footer","Divider","SafetySettingCode","updateSafetySettings","getSafetySettings","getSafetySettingsRequest","updateSafetySettingsRequest","safetySettings","safetySettingsSlice","SafetySettings","stopSequenceAllProspect","onSequenceAllProspectChangeHandler","StopSequenceAllPropspect","sendUpdateSafetySettingsRequest","sendGetSafetySettingsRequest","getSafetySettingsRequestStatus","updateSafetySettingsRequestStatus","updateSafetySettingsRequestMessage","updateSafetySettingsRequestError","dispatch","showLoading","hideLoading","setSettings","getSafetySettingsRequestMessage","getSafetySettingsRequestError","PageHeader","heading","SMTPModal","skipConnectEmailAccount","Modal","aria-labelledby","Body","Ghost","ConnectEmailAccountOptions","handleConnectOnClick","handleSendUpdatePreferredApp","sendUpdatePreferredApp","userEmailId","preferred_app","from_v3","isSMTPModalOpen","accessToken","showSMTPModal","hideSMTPModal","preState","sendUpdatePreferredAppRequestStatus","sendUpdatePreferredAppRequestError","sendUpdatePreferredAppRequest","Accept","updatePreferredApp","connectEmailAccountOptions","updatePreferredAppResponse","connectEmailAccountSlice","combinedReducer","combineReducers","ssoLoginReducer","ssoCallback","ssoCallbackReducer","loadingBar","loadingBarReducer","loginReducer","signupReducer","oauth","oauthReducer","resetPasswordReducer","resetPasswordCallback","resetPasswordCallbackReducer","changePasswordReducer","setUserPassword","setUserPasswordReducer","sequenceReducer","schedule","scheduleReducer","prospectReducer","leadsReducer","safetySettingsReducer","customField","customFieldReducer","customDomainReducer","myProfileReducer","adminSettingsReducer","invitationSignup","invitationSignupReducer","emailModal","emailModalReducer","homeReducer","reports","reportsReducer","templates","templateReducer","pageHeaderBannerAlertReducer","billingAndSubscription","billingReducer","updatePreferredAppReducer","apiTokensReducer","emailDailySendingLimit","emailDailySendingLimitReducer","mailboxEmails","mailboxEmailsReducer","emailWarmup","emailWarmupReducer","growthHubReducer","unifiedInbox","unifiedInboxReducer","usersAndTeams","usersAndTeamsReducer","tasks","tasksReducer","outOfOffice","outOfOfficeReducer","webhook","webhookReducer","doNotContact","doNotContactReducer","customOutcome","customOutcomeReducer","agencyClient","agencyClientReducer","whitelabel","whitelabelReducer","apiCache","apiCacheReducer","emailAccountsReducer","domainsReducer","rootReducer","reset","configureStore","reducer","labelSubClass","passwordValidator","uppercase","password","matches","lowercase","numeric","minLength","isLength","maxLength","loginRequest","verifyOtpRequest","resendOtpRequest","isOpen","setIsOpen","onFocus","setZone","toJSDate","onInputClick","onClickOutside","selectsRange","customInput","memo","Option","makeAnimated","isMultiSelect","isSelected","textStyle","fontSize","fontStyle","lineHeight","SelectFilter","labelKey","uniqueKey","customStyles","control","base","border","wordWrap","multiValue","marginRight","borderRadius","multiValueLabel","fontWeight","multiValueRemove","isMulti","closeMenuOnSelect","hideSelectedOptions","classNamePrefix","components","isOptionSelected","op","getOptionLabel","getOptionValue","menuPlacement","styles","ProspectsFilter","filterType","FilterType","DropDown","formatGroupLabel","updateProfileProgress","showClientName","showInAppNotification","showWhatsNew","showScheduleADemo","showChatSupport","showHelp","showFeatureRequest","showInfoTips","showYTVideoGuide","showFAQ","showEmailContentGuideHelp","showEmailContentGuide","primary","tertiary","showAgencyNameWithLogo","__v","showAddStepButton","showColdEmailTips","showDraftSequence","sidebarBgColor","navItemActiveBgColor","navItemHoverBgColor","navItemTextColor","showNameFieldsInInviteModal","showTermOfServiceAndPrivacyPolicy","clientName","closeOnLogout","getUserEmailFromStore","existingUserEmail","currentUserEmail","removeProspectTableColumnsFromLocalStorage","removeUserEmailFromStore","RenderMode","defaultTheme","margin","padding","listStyleType","zIndex","left","right","fontFamily","marginTop","overflow","renderMode","Block","selectedProspects","tagsToRemove","tagsToAdd","setTagsToAdd","setTagsToRemove","containerProps","selectedAllProspectsDetails","showAllTags","hideNoTagsMessage","showAddedTags","checkInputCharacterLength","tagContainerStyle","suggestionsList","suggestionsContainer","suggestionsContainerOpen","suggestionHighlighted","inputValue","setInputValue","suggestions","setSuggestions","alreadyAddedTags","setAlreadyAddedTags","showAddRemoveWarning","setShowAddRemoveWarning","addRemoveTagWarningText","setAddRemoveTagWarningText","tagsToProspects","prospectsTags","extractTagsFromProspects","tagsToRender","getSuggestions","differenceBy","isNew","onSuggestionSelected","suggestion","suggestionRef","renderSelectedTags","idx","onCancel","updatedTags","cancelTag","inputProps","onSuggestionsFetchRequested","getSuggestionValue","renderSuggestion","renderInputComponent","Inline","onSuggestionsClearRequested","usePrevious","useOutClickHook","handleClickOutside","contains","usePageVisibility","hidden","isPageVisible","setIsPageVisible","handleVisibilityChange","getOAuthRedirectUrlRequest","oauthAuthenticateRequest","Color","LeadsFindRequestPayload","addTagsToBulkLeadsRequest","removeTagsFromBulkLeadsRequest","HelmetNoIndex","Helmet","AlertContainer","ButtonContainer","FormSection","Logo","logoTextStyles","isTertiary","logoPrimary","logoTertiary","logoWarpperClassName","TopLogo","TopWelcome","VerificationCodeConfig","validate","isEmail","all","LTDSignupForm","v3","errors","dirty","showPassword","togglePasswordVisibility","onInputChange","onInputBlur","onFormSubmit","hideErrorHandler","showVerificationCodeComponent","acceptInvitationRequestStatus","initializeThirdPartyIntegrations","initializeSentryIntegrations","hideError","errorValues","dirtyRef","errorsRef","errorsKeys","getCurrentTimeZone","forInvitation","sendAcceptInvitationRequest","sendSignupRequest","isLtdUser","setUserEmail","rewardfulReferralId","rewardful","Rewardful","referral","showError","welcomeHeader","welcomeBody","showPasswordValidationMessage","showLoginLink","isSignUpButtonDisable","onBlur","autoComplete","isDirty","Type","Submit","PureComponent","hideSignupRequestError","acceptInvitationRequest","isInt","Timer","timer","startTimer","countDown","onTimerFinish","ResendVerificationCode","showTimer","hideTimer","onResendUserVerificationCodeClick","resendUserVerificationCodeRequestStatus","resendUserVerificationCodeRequestMessage","resendUserVerificationCodeRequestError","sendResendUserVerificationCodeRequest","resendVerificationCodeLinkOrTimer","ConsecutiveRequestDelay","resendCodeOptionClass","LTDVerificationModal","userEmailAddress","verificationModal","hideVerificationModal","sendVerifyUserVerificationCodeRequest","verifyUserVerificationCodeRequestStatus","verifyUserVerificationCodeRequestError","otpValue","setOtpValue","otpError","setOtpError","LTDSignup","verifyUserVerificationCodeRequestMessage","setVerificationModal","showCheckoutComponent","setToken","canResendUserVerificationCode","setUserSelectedPlansAndSlotsOnLoad","setSelectedPlan","setProspects","newPlans","getNewLifetimePlans","formatProspect","found","getSubTotalDiscountAmount","discountValue","getTotalAmountToPay","LTDCheckout","sendGetPlansRequest","sendApplyCouponCodeRequest","sendApplyCouponCodeRequestStatus","sendApplyCouponCodeRequestError","sendPurchaseLtdPlanRequest","purchaseLtdPlanRequestStatus","selectedPlan","haveDiscountCode","setHaveDiscountCode","setCouponCode","isCouponCodeInvalid","setIsCouponCodeInvalid","isCouponCodeValid","setIsCouponCodeValid","isSecure3dPending","setIsSecure3dPending","onCouponCodeDelete","redirectToOnboardingFrom","handle3dSecureCard","handle3dSecureCardPayment","apiEndPoint","requires_action","aria-label","image","stripeKey","zipCode","billingAddress","ComponentClass","sendGetPlansRequestError","purchaseLtdPlanRequestMessage","purchaseLtdPlanRequestError","sendApplyCouponCodeRequestMessage","AgencyClientLogin","onPasswordVisibilityChange","hasErrors","setIsRedirectedFromAgency","loginRequestStatus","mfaChannel","setAgencyClientRedirectURLOnLogout","sendLoginRequest","agencyLoading","isWhitelabel","clientLogo","loginRequestError","loginRequestShowError","isLoginBtnLoading","isLoginBtnDisabled","isAgencyLoading","clientLogoLoader","companyNameLoader","isFullWidth","loadingText","loginRequestMessage","MFAVerify","isRedirectedFromAgency","sendResendOtpRequest","sendVerifyOtpRequest","resetMFAData","verifyOtpRequestStatus","verifyOtpRequestError","resendOtpRequestStatus","otp","setOtp","setError","resendTimer","setResendTimer","isVerifyBtnLoading","isVerifyBtnDisabled","redirectToLoginPage","timeout","clearTimeout","getFullYear","inputOtp","shouldAutoFocus","inputType","numInputs","containerStyle","inputStyle","renderInput","padStart","verifyOtpRequestMessage","resendOtpRequestMessage","resendOtpRequestError","Login","SSOLogin","Signup","ChangePassword","AcceptInvitationSignup","ResetPassword","ReactBootstrapModal","showCloseButton","primaryBtnIcon","primaryBtnIconPlacement","primaryBtnLabel","secondaryBtnLabel","primaryBtnDisabled","secondaryBtnDisabled","primaryBtnLoading","secondaryBtnLoading","primaryBtnClassName","secondaryBtnClassName","primaryBtnClickedHandler","secondaryBtnClickedHandler","footer","modalHeaderClassNames","iconPlacement","OverlayTooltip","rePositionOnChange","generateTooltipId","trigger","Hover","Focus","Click","uuid","serverResponse","loadStripe","stripePromise","confirmCardPayment","payment_intent_client_secret","errorAction","paymentIntent","paymentIntentId","getSearchValue","handleClearSearchParam","updateListRequestAfterBulkActionHandler","contactsPagination","calledFrom","BulkAction","successCount","mappedContactList","requestOptions","selectedStatus","changePagination","prospectFilterPayloadCreator","sendGetContactStatusCountRequest","sendGetSequenceContactListRequest","sendGetTagsRequest","RemoveFromSequence","AddToSequence","onSelectedSequenceIdMatched","selectedSequenceId","setResetSelected","getProspectName","getIsEmptyList","sequenceProspectsFilters","isSomeStatusSelected","getFilterGadgetClassNameFromType","filterTypes","segment","executeOnRequestError","isFilterApplied","handleMarkAsPaused","handleViewActionStatModal","pauseResumeResultCount","setShowActionStatModal","getProspectOutcomeOptions","borderColor","hoverBackgroundColor","hoverBorderColor","getCustomProspectOutcomeOptions","textColor","Positive","emoji","Negative","Neutral","setDealValueBannerHideValue","isDealValueBannerShow","getAppliedSequenceProspectsFilters","validateSelectedContacts","selectedAllProspects","getBulkSelectedProspectCount","mapOutcomeToOption","getOptionFromOutcome","hasSelectedStatus","reportConstants","ADD_PROSPECT_HEADING","ADD_PROSPECT_SEQUENCE","IMPORT_PROSPECT_REPORT","ADD_PROSPECTS_TO_SEQUENCE_REPORT","FAILED_TO_MOVE","SUCCESSFULLY_MOVED","IMPORTED_SUCCESSFULLY","SKIPPED","loginSlice","sendGetLeadFinderSubscriptionRequestStatus","sendGetLeadFinderPlansRequestStatus","sendGetLeadFinderSubscriptionResponse","isLeadFinderColdEmailPlanBannerShow","isLeadFinderValueBasedPlanVisible","leadFinderSubscriptionPlanStatus","sequenceEmailsFiltersInitialState","variantNumbers","sentAt","aiGeneratedVariantDetailsState","subject","sequenceStepVariantAttachments","getSequenceEmailSendRequest","getSequenceTimezoneResponse","uploadedAttachment","deletedAttachmentId","customDomains","myTemplates","myTemplatesMeta","teamTemplates","teamTemplatesMeta","SequenceSortBy","CreatedAt","Desc","progress","contactPagination","totalSequences","totalSelectedSequences","sequenceStats","sequencesStats","schedules","connectedEmails","createdSequenceId","selectedSequence","contactFields","importCSVReport","contactStatusFilterCount","contactStepFilterCount","totalContacts","contactSequence","contactStep","addToSequenceResultCount","addToSequenceResultFromModalCount","isSequenceMailSending","sequenceConfig","emailList","emailStatusOfStep","emailStepOfStatus","sequenceProspectsVerificationStatsResponse","sequenceProspectsVerifyStartResponse","sentEmailPreview","selectedProspectId","selectedProspectData","selectedProspectSequences","createEmailWritingScoreForStepOne","sequenceScore","getLinkedEmailAccountsResponse","getAllNotLinkedEmailAccountsResponse","getNotLinkedEmailAccountsCountResponse","getSenderEmailsResponse","sequenceEmailsFilters","taskAssigneeList","updatedSteps","sequenceActionStats","lastAbsoluteDay","allConnectedEmailAccounts","sequenceStatsCounts","isSequenceCreatedFromOnboarding","isStepsGuideVisible","espMatchingDetails","isAiGeneratedVariant","aiGeneratedVariantDetails","isAiVariantDisabled","sequenceStepsStates","sequenceEmailAccStates","sequenceSlice","resetPauseResumeSequenceState","resetPaginationOptions","resetSequencesData","checkedChange","checkChangeAll","resetSequence","resetSelectedSequences","changeContactPagination","resetOnboardingFinish","resetContacts","resetContactsRequest","resetEmail","selectAllSequenceContact","selectSingleSequenceContact","setSequenceEmailsFilter","resetSequenceEmailsFilters","resetContactSequenceAndStepData","resetProspectsForModal","resetSequenceSettings","resetSequenceConfigRequestStatus","resetSequenceSettingUpdateRequestStatus","resetSequenceSettingsContentRequest","resetSequenceProspectVerifyStart","setSequenceProspectsFilters","resetSequenceProspectsFilters","resetSequenceProspectVerificationStats","resetPauseResumeSequenceRequestState","resetUploadAttachmentRequest","resetDeleteAttachmentRequest","resetPauseResumeResultCount","resetGetSentEmailPreviewRequest","setSelectedProspectId","resetSelectedProspectId","resetSelectedProspectData","sendCreateEmailWritingScoreForStepOne","resetLinkEmailAccountsState","resetRemoveEmailAccountState","resetAddStepRequest","updateStepsRequest","resetBulkPauseSequenceRequest","resetBulkResumeSequenceRequest","setLastAbsoluteDay","resetChangeEmailStatusRequest","resetSequenceTimezoneData","resetSequenceProspectBulkStatusUpdateRequest","resetSequenceProspectBulkTagAssignRequest","resetSequenceProspectBulkTagUnAssignRequest","resetSequenceProspectBulkAddToSequenceRequest","resetSequenceProspectBulkRemoveFromSequenceRequest","resetSequenceStatsCountsRequest","setIsSequenceCreatedFromOnboarding","toggleStepsGuideVisibility","setIsAiGeneratedVariant","resetGetAIGeneratedEmailVariantRequestState","resetIsAiGeneratedVariant","resetAiGeneratedVariantDetails","removeAIGeneratedVariantDefaultAttachement","currentDefaultAttachmentIds","att","filteredList","resetSequenceStepsStates","resetSequenceEmailAccStates","SEQUENCE_SETTING_VISITED","sequenceHasStartedProcessingEmails","prioritySetting","attachmentIdentifier","toEmail","uniqueId","fieldType","nameValidator","checkIsAlpha","maxCharLimit","isAlpha","getClientName","truncateLength","company","AgencyClientStatus","Deleted","deleted","getTruncatedTextForCategory","Encryption","freeGmailAccounts","getEmailAccountType","showHideLoading","prevPropsIsLoading","showToasterWithErrorCheck","shouldShowAddEmailAccountModal","showAddEmailAccountModalProp","prevShowAddEmailAccountModalProp","isSavedSMTPAccount","smtpImapConnectionPayload","smtpConnectionErrorDetails","imapConnectionErrorDetails","smtpHosts","GmailGsuite","Office365","OutlookHotmailLive","YahooMail","Godaddy","Sendgrid","Yandex","smtpPorts","smtpEncryptions","SSL","TLS","imapHosts","imapPorts","imapEncryptions","getDefaultValuesForSmtpImapProviders","provider","smtpHostValue","smtpPortValue","smtpEncryptionValue","imapHostValue","imapPortValue","imapEncryptionValue","getDefaultSmtpImapValues","getEmailProviderListValue","getEmailProviderValue","emailProviderDropDown","encryptionOption","getVariantTypeForSmtpImap","testConnectionResponse","connectSmtpImapResponse","smtpImapAccountDetailsResponse","updateSmtpImapAccountDetailsResponse","requestFrom","connectionType","lastTestConnection","DANGER","isConnectionError","connectionErrorMessage","Test","isConnectionEstablished","ConnectAndSave","Update","SMTPIMAP","IMAP","imapError","isErrorInImap","imapConnectionError","SMTP","smtpError","isErrorInSmtp","smtpConnectionError","getIsConnectionError","SUCCESS","getIsButtonIsLoading","isConnectAccountRequestPending","isUpdateSmtpImapAccountRequestPending","getIsButtonDisable","isConnectAndSaveButtonDisable","isSenderValid","validateEmail","isSMTPTestButtonDisable","useUsername","username","smtpEmailAddress","smtpEmailPassword","smtpHost","smtpPort","smtpEncryption","emailProvider","isUsernameValidate","isIMAPTestButtonDisable","imapEmailAddress","imapEmailPassword","imapHost","imapPort","imapEncryption","getEmailServiceProvider","emailAddress","domainName","pop","Gsuite","O365","Yahoo","useSameEmailPasswordSwitchDisable","emailPassword","isDisable","showTestConnectionSignal","sendTestConnectionResponse","sendConnectSmtpImapResponse","sendGetSmtpImapAccountDetailsResponse","sendUpdateSmtpImapAccountDetailsResponse","badgeVariant","isUseSameEmailPasswordToggleOn","setHotPortEncryptionValue","setSMTPHost","setSMTPPort","setSMTPEncryption","setIMAPHost","setIMAPPort","setIMAPEncryption","isConnectButtonDisable","isSMTPTestDisable","isIMAPTestDisabled","checkEmailValidationBeforeTesting","isSmtpEmailValid","isImapEmailValid","isSMTPEmailNotValid","isIMAPEmailNotValid","onEmailIsValid","checkEmailValidationBeforeConnecting","getInitialFiltersForEmailAccounts","queriedPage","queriedOrder","Asc","queriedSortByKey","sortByKey","SetupScore","emailServiceProvider","setURLParamsForEmailAccountsFilters","emailAccountSearchQuery","getEmailAccountsSearchQuery","setEmailAccountsSearchQuery","removeEmailAccountsSearchQuery","SHModules","resetPasswordRequest","userTimezone","showTime","formattedDate","numberOfSteps","reportsBy","exportTeamsReports","ConfirmationModal","showSuccessButton","showCancelButton","successButtonText","hideIcon","showFooterBorder","eventBus","isModalOpened","tempSize","rbSize","rbClassName","iconOnly","buttonClass","Solid","ProspectTagsRow","groupedTagNames","maxTags","renderAddTag","isColumnMode","tagLength","isPosition","emptyPlaceString","sortedTags","orderBy","tagsToDisplay","tagsToGroup","renderTags","useCallback","isPopoverVisible","getRestrictionPlanModalBodyContent","getRestrictionPlanWarningEmailBody","agencyUserRole","AGENCYOWNER","getEmailSendingRestrictionModalContent","getOverLimitConnectedEmailErrorMsg","getConversationTypeLabel","External","Action","signupSlice","hideVerifyUserVerificationCodeRequestError","SUBJECT","sendTestEmail","fromEmailAccountId","preheader","attachmentIds","EMPTY","DEFAULT","sendTestEmailRequest","getPropsectsOverviewRequest","HelmetIcon","useFavicon","setAttribute","sizes","FeatureCodes","defaultField","totalFields","customFieldPagination","defaultFieldPagination","customFieldSlice","resetCreateCustomFieldRequest","resetCustomFieldsData","OAuthMethod","OAuthButtons","getOAuthRedirectUrlRequestStatus","getOAuthRedirectUrlRequestError","authUrl","loadingMethod","setLoadingMethod","handleOAuthClick","invitedEmail","getProviderButtonText","ChangeEmail","googleButtonText","microsoftButtonText","oauthSlice","getHeaderHelper","locationPathName","SEQUENCE","TASKS","AGENCY_CLIENT","UNIFIED_INBOX","PROSPECTS","EMAIL_ACCOUNTS","DOMAINS","TEMPLATES","REPORTS","EMAIL_INSIGHTS","EMAIL_WARMUP","GROWTH_HUB","AGENCY_PORTAL","SETTINGS","LEADS","routeStateChange","getHeader","sequenceRoutes","setSingleSequenceHeader","emailWarmupRoutes","setEmailWarmupHeader","setEmailWarmupHeaderWithReport","setCreateEmailInfrastructureHeader","setAddEmailAccountsHeader","setEmailAccountsHeader","setHeaderTitle","formatNumberToK","numberString","numberStringArr","getProgressBarText","totalCount","ProspectImportAsync","SequenceProspectImportAsync","LeadRevealCompletedAsync","LeadRevealCompletedNoEmailOrPhoneAsync","getProgressBarCompletionText","getCtaText","getProgressBarPercentage","completedCount","maxPercentageValue","round","getOutcomesGeneric","cobaltProspectImportSubscribe","on","callback","detail","CustomEvent","remove","Notification","showNotification","hideNotification","isIcon","iconWrapperSubClass","toastHeadIconClass","NotificationHelper","_addNotification","addNotification","_notify","notify","NotificationManager","removeNotificationTimeout","activeNotifications","isNotificationCallback","close","removeNotification","TopRight","n","activeNotification","topLeftNotifications","TopLeft","getNotificationComponent","topRightNotifications","bottomLeftNotifications","BottomLeft","bottomRightNotifications","BottomRight","topCenterNotifications","TopCenter","bottomCenterNotifications","BottomCenter","removeToken","sessionExpireHandler","EmailAccountWarmupSortKey","EmailAccountWarmupOrder","EmailWarmupStatus","emailAccountsFiltersInitialState","deleteMultipleEmailAccountRequest","emailAccounts","isTiIntegrated","emailAccountsPagination","emailsCount","connectedEmailsCount","disconnectedEmailsCount","pausedEmailsCount","emailAccountsList","emailAccountSettings","emailAccountSetup","testSMTPConnectionResponse","testIMAPConnectionResponse","connectSmtpImapAccountResponse","sendTrulyinboxEmailAccountVerifyShApiKeyResponse","bulkSelectedEmailAccounts","selectedEmailAccounts","whitelabelEmailAccountResponse","emailAccountsFilters","emailAccountTagsList","trulyInboxToken","domainPlans","emailAccountInfrastructureServiceProvider","emailAccountInfrastructureCart","domainOwnerContactDetails","emailAccountInfrastructureForwardingDomain","hasErrorsInContactDetailsForm","uploadDomainProfilePictureResponse","purchaseDomainResponse","selectedDomain","newEmailAccountsToAdd","calculatePayResponse","emailAccountSlice","changeEmailAccountStatus","resetEmailAccountSetupState","resetEmailAccountRampUpSettingsRequestState","resetEmailAccountAndSettings","resetUpdateSmtpImapAccountDetails","resetSmtpImapTestConnection","resetSmtpIMapConnectResponse","resetUpdateEmailAgeRequest","onBulkSelectEmailAccounts","clearEmailAccountsSelection","selectAllEmailAccounts","isAllEmailAccountsSelected","deSelectedEmailAccountIds","selectSingleEmailAccount","resetSelectedEmailAccount","updateEmailAccountsFilters","resetEmailAccountTagsRequest","resetEmailAccountTagsList","setEmailAccountInfrastructureDataFromLS","preloadedData","setEmailAccountInfrastructureServiceProvider","addDomainToEmailAccountInfrastructureCart","toISOString","removeDomainFromEmailAccountInfrastructureCart","addEmailAccountToEmailAccountInfrastructureCart","removeEmailAccountFromEmailAccountInfrastructureCart","updateEmailAccountProfileInEmailAccountInfrastructureCart","profile","resetEmailAccountInfrastructureCart","resetGetDomainSearchRequest","resetUploadDomainProfilePictureRequest","setEmailAccountInfrastructureForwardingDomain","updateHasErrorsInContactDetailsForm","resetEmailAccountInfrastructureServiceProvider","resetDomains","resetDomainPlans","resetEmailAccountInfrastructureForwardingDomain","resetHasErrorsInContactDetailsForm","resetDomainOwnerContactDetails","resetPurchaseDomainRequest","resetEmailAccountInfrastructure","resetImportEmailAccountCsvRequest","resetAddEmailAccountsRequest","resetCalculatePayRequest","setAddEmailAccountsDataFromLS","getAddEmailAccountsDataFromLS","setSelectedDomains","resetSelectedDomains","addNewEmailAccount","setAddEmailAccountsDataInLS","removeNewEmailAccount","removeAllNewEmailAccount","removeAddEmailAccountsDataFromLS","emails","successMessage","uniqueDomains","BootstrapModal","isCustomCloseIcon","footerContent","showSidebar","isCollapsibleSidebar","sidebarTitle","sidebarContent","cancelButtonTheme","submitButtonRef","showSidebarFooter","sidebarCtaMeta","defaultSidebarCollapsedValue","showSeparator","onSidebarCollapseToggle","footerClassNames","footerActionsPrefixComponent","isCollapsed","setIsCollapsed","onCloseHandler","isHiddenButton","modalClasses","modalFooterClasses","sidebarBodyClasses","sidebarBodyContentClasses","renderCloseBtn","alignItems","generateRandomString","chars","i","random","generateId","variableLength","truncate","useWordBoundary","subString","substr","lastIndexOf","capitalize","RadioButtonGroup","selectedButtonVariant","radioButtonsList","radioButtonGroupClass","OutlinedDanger","TruncatedTextWithTooltip","tooltipClassName","textClassName","EmailAccountSettingCode","AddToSequenceModal","resetStepAndSequence","sendGetSequenceList","sendGetSequenceStepList","getSequenceListRequestStatus","getStepListRequestStatus","getSequenceListRequestError","getStepListRequestError","sequenceList","stepList","addToSequence","addToStepRequestStatus","currentSequenceId","isFetchingSequenceList","isFetchingStepList","isSubmitRequestPending","contactSequenceList","contactStepList","selectedStepId","SEQUENCES_CONTACTS_IMPORT","sendGetStepRequest","showWarning","submitRequestStatus","CustomOutcomeDropdownPlacement","GenericCustomOutcomeDropdown","elementRef","onCategoryChange","changeOutcomeRequestPayload","sendOnOutcomeChangeRequest","selectedOption","onCreateProspectCustomOutcomeSubmit","sendCreateCustomOutcomeRequest","setSelectedOption","initialSelectedOption","showCreateProspectCustomOutcome","showCreateProspectCustomOutcomeModal","hideCreateProspectCustomOutcome","elementBottom","createRef","updateElementHeight","rect","getBoundingClientRect","currentBottom","topAvailableHeight","top","bottom","DynamicTop","DynamicBottom","selectedOptionClassName","showFooter","createCustomOutcomeRequestStatus","disableAutomaticOpening","isCreateRequestPending","customOutcomeDropdownClasses","selectedOptionRendererClasses","autoFocusSearch","showListSeparator","listSeparatorOptions","onSave","createCustomOutcomeRequestMessage","createCustomOutcomeRequestError","Overlay","verifyInvitationTokenRequest","SHLogoTypography","ValidationChecklist","validationColumns","columnItemIndex","valid","PasswordValidationChecklist","PremiumFeatureIndicator","tooltipTxt","tooltipClassname","ssoLoginRequest","TagSubSpan","iconBefore","iconSpanClass","Add","Remove","Fragment","tagSubClass","tagClass","MAX_DAYS_RANGE","checkIsFilterModified","getDefaultFilters","getTotalSelectedEmailCount","SELECT_ALL_EMAIL_THREADS_LIMIT","getAppliedFiltersCount","unifiedInboxFilters","filterValue","getIsFeedDraft","uniboxFiltersFeed","UnifiedInboxFeed","Draft","getSnippet","htmlToText","img","getUniboxEmailListWithUpdatedScheduleData","emailsList","emailThreadList","relavantUnifiedScheduleEmail","emailThread","unifiedScheduled","isDraftTab","isSameOrBefore","contentSnippet","failedReason","fwcrm","identify","getCookie","Sentry","updateCelloAuthToken","reponse","cellAuthToken","celloAuthToken","cello","cmd","celloScript","async","boot","productId","showOnBoot","customLauncherSelector","hideDefaultLauncher","language","productUserDetails","fullName","onTokenExpiring","newToken","Cello","onTokenExpired","resetPasswordSlice","resetPasswordRequestState","LoaderPlace","btnLoadingClass","loaderPlace","iconLeft","iconRight","loaderClass","newChildren","newIconOnly","newIconLeft","newIconRight","iconOnlyProp","loaderIconClass","loaderIconElement","leftLoaderIconElement","rightLoaderIconElement","btnClass","ADD_EMAIL_ACCOUNTS_DATA","ADD_EMAIL_ACCOUNTS_DOMAIN_ID","ADD_EMAIL_ACCOUNTS_LAST_UPDATED_AT","lastUpdatedAt","isLeadUrl","agencyClientRedirectURLOnLogout","BounceLimitReached","PlanExpired","ManuallyPaused","TrialQuotaExhausted","PlanPaused","AgencyClientDeleted","AgencyClientDisabled","PlanDowngraded","OverLimitConnectedEmails","EmailAccountPaused","EmailAccountRemoved","onboarding","hi","welcome_to_saleshandy","all_of","lets_quickly","lets_start","set_up","this_is_where","we_will_come","great","start_by_prospects","steps_created","prospects_added","activate_the_sequence","tabs","you_are_all_set","way_to_go","for_every_sequence","check_our_tutorials","emptyList","you_asked","email_tab_another_way","through_this","please_click_on","link_to_view","start_templates","templates_help","add_templates","planSummary","userAccounts","newUserSeats","newEmailSeats","prospectFilterLabels","verification_status","created_date","creation_source","current_step","en","translation","labels","apply","select_all","this_month","last_month","last_15_days","last_7_days","last_14_days","last_30_days","last_90_days","this_week","last_week","yesterday","today","add_email_account","add_prospects","add_prospect","do_later","select_email_service","sequence_settings","save","email_account","safety_settings","sending_priority","average_deal_value_settings","prospectsAdded","emailsSent","opened","link_clicked","sent","replied","activity","cancel","save_filterBtn","okay","verify","export","totalProspects","no","yes","daily","weekly","monthly","quarterly","no_data_available","create_and_add_to_sequence","upgrade","upgrade_now","upgrade_plan","downgrade_plan","add_more_slots","sub_total","total_amount","total_amount_to_pay_today","total_after_discount","total_per_year","total_per_month","cancel_subscription","reactivate_subscription","resume_subscription","bill_summary","plan_name","pay_now","monthly_billing","annually_billing","upgrade_subscription","modify_subscription","search_hit_enter","done","mark_all_as_read","resume","reconnect","download","viewLeads","profile_settings","feature_request","become_our_affiliate","lead_finder_credits","email_verification","total_prospects","monthly_emails_sent","help","emailDisconnected","sequencePaused","changeLog","scheduleADemo","noNotifications","sequenceProspectExportForClient","sequenceReportClient","uniboxConversationForClient","emailConnectionReport","emailAccountBulkConnectClient","prospectVerify","sequenceBulkProspectClient","whitelabelDomainSet","dnsExport","dnsImport","sequenceProspectImport","viewDraft","uniboxScheduleCanceled","sequenceProspectBulkAction","leadRevealCompleted","leadRevealCompletedNoEmailOrPhone","activate","emailAccountPaused","prospectImportAsync","sequenceProspectImportAsync","prospectImportAsyncCompleted","sequenceProspectImportAsyncCompleted","leadRevealCompletedAsync","leadRevealCompletedNoEmailOrPhoneAsync","leadRevealCompletedAsyncProcess","leadRevealCompletedNoEmailOrPhoneAsyncProcess","viewList","viewLead","domainRegistrationInProgress","domainRegistrationComplete","mailboxRegistrationComplete","viewEmailAccounts","payment_failed","retry_payment","contact_support","Contact_Support","Contact_Owner","resume_email_sending","i_will_use_legacy_version","clear_all","apply_filters","copy","create_api_key","unsubscribe_success_message","unsubscribe_error","have_a_promo_code","remove_discount_code","need_help","unsubscribe","remove_delete","send","connect_now","continue","unsubscribe_prospect","delete_prospect","get_contact_info","save_filter","edit_filter","delete_filter","api_key","my_profile","email_accounts","team","users_and_teams","custom_fields","system_fields","add_prospect_fields","prospect_label_error","prospect_fallback_text_error","prospect_fields","prospect_outcomes","custom_outcomes","system_outcomes","custom_outcomes_empty_list_description","custom_outcomes_empty_list_title","add_prospect_outcomes","update_system_outcome","update_custom_outcome","custom_tracking_domain","admin_settings","blacklist_domains","do_not_contact_list","billing_and_subscription","prospect_search_placeholder","prospect_selected","email_account_selected","sequence_statistics","purchase_credits","buy_now","contact_admin","contact_admin_reach_out","buy_credits","verification_status_settings","verify_now","verifying","already_paid","total_to_be_paid","days_billing","save_and_pay","note","pre_header_placeholder","pre_header","pre_header_label","pre_header_recommendation","pre_header_error","pre_header_tooltip_1","pre_header_tooltip_2","create_new_prospect","email_sending_limit_header","bulk_email_sending_limit_header","email_sending_limit_caption","check_new_score","delete_email","mark_as_replied","remove_from_sequence","move_to_step","mark_as_finished","no_results_found","empty_prospects","click_here","imported_file","upgrade_to_saleshandy_pro_email_sub","upgrade_required","sender","sending_limit","setup_score","connected_by","turn_off_email_tracking_model_title","turn_off_mark_prospect_as_replied_model_title","your_subscription_end","your_trail_expired","use_unsubscribe_link_in_email","canceled","sales_team","marketing_team","agency_consultant","recruiters","other","team_1_10","team_11_50","team_51_200","team_201_500","team_501_1000","team_1000_plus","it_services","saas","human_resources","marketing_advertising","internet","invoice","open_billing_portal","opt_out_option","update_system_field","update_custom_field","get_started","edit_email_settings","error_occured","view_sample_sequence","create_new_sequence","take_action_now_cta","enable","see_all_features","most_value","most_popular","best_value_plan_insight_monthly","best_value_plan_insight_yearly","best_value_plan_insight_email_monthly","best_value_plan_insight_email_yearly","unused_balance","manage_billing","add_remove_slots","update_card_details","next","thanks","regards","upgrade_to_saleshandy_email_sub","got_it","update_settings","disconnect_email_accounts","delete_email_accounts","add_remove_tags","bulk_update_settings","refresh_setup_score","this_email_was_previously_bounced","delete_client","schedule_demo","cold_email_masterclass","download_chrome_plugin","add_credits","NOTE","and","min_max_interval_limit","warning_cannot_add_to_sequence","update_custom_field_warning","warning_cannot_add_to_sequence_search_and_add","email_sent_on","email_opened_on","link_clicked_on","email_replied_on","connect_email_account_description","thats_all_for_now","no_activity_data","assign_prospect_to_sequence","prospect_sequences_are_empty","cannot_change_setting_once_sequence_has_started","help_remove_invalid_prospect","two_types_of_prospect","valid_prospect","high_delivery_chances","risky_prospect","low_delivery_chances","email_account_select_message","SMTP_account_select_message","email_account_connect_note","verification_started","please_connect_email","adding_email_account","we_do_not_store","create_and_add_prospect_successfully","provide_field_name","provide_outcome_name","outcome_field_name","invalid_outcome_name","provide_valid_fallback_text","data_not_updated_for_selection","your_plan_expired_text","your_plan_expired_text_0_day","subscription_warning","lead_finder_low_credits","plan_expired_message","plan_expired_message_content","plan_expired_active_sequence_message","plan_expired_active_sequence_content_1","plan_expired_active_sequence_content_2","plan_expired_add_email_message","plan_expired_add_email_content_1","plan_expired_add_email_content_2","plan_expired_connect_email_message","plan_expired_connect_email_content_1","plan_expired_connect_email_content_2","plan_expired_invite_member_message","plan_expired_invite_member_content_1","plan_expired_invite_member_content_2","plan_expired_clone_sequence_message","plan_expired_create_api_key","email_verification_title","number_input_alert_message","upgrade_plan_header_text","trial_plan_message","free_plan_message","pro_to_free_plan_message","payment_failed_message","upgrade_plan_contact_admin","make_changes_to_daily_sending_limit","you_have_already_sent","emails_today","more_emails_today","limit_restoration_tomorrow","include_risky_prospects","smtp_message_one","smtp_message_two","smtp_message_three","delete_email_account_message","delete_default_email_account_message","disconnect_email_account_message","disable_agency_client_modal_message","create_api_token_label","contact_infromation_massage_one","contact_infromation_massage_two","delete_modal_massage_one","delete_modal_massage_two","show_api_token","delete_api_token_part_one","delete_api_token_part_two","api_key_copied_to_clipboard","your_new_api_key","your_api_key_deleted","delete_api_key","reached_email_sending_limit_message_one","reached_email_sending_limit_message_two","reached_email_sending_limit_message_for_member","user_subscription_text","email_account_subscription_text","user_plan_description","email_account_plan_description","your_plan_details","slots_info","unsubscribe_prospect_message_one","unsubscribe_prospect_message_two","delete_prospect_message_one","delete_prospect_message_two","delete_mail_modal_title","delete_mail_modal_content","confirmation_mail_modal_title","confirmation_mail_modal_content","delete_phone_number_modal_title","delete_phone_number_modal_content","confirmation_phone_number_modal_title","confirmation_phone_number_modal_content","email_verification_error","low_ev_credits","verification_credits","skip_verification","purchase_ev_credits_agreement","purchase_lead_finder_credits_agreement","email_verification_action_required_message","fallback_text_info","prospect_not_selected_warning","report_graph_tooltip","verify_status_banner_message","verify_status_pending_banner_message","modify_subscription_note","turn_off_mark_prospect_as_replied_message","are_you_sure_want_to_turn_it_off","track_email_opens_model_message","unverified_prospect_banner_message","ev_credits_payment_failed_message","verification_started_content","buy_email_credits_sequence_settings_message","upgrade_to_pro_email_body","subscription_ended_message","trail_expired","trail_plan_expired_email_account_page_message","custom_fields_empty_list_description","custom_fields_empty_list_description2","custom_fields_empty_list_title","custom_field_update_successfully","system_field_update_successfully","custom_outcome_update_successfully","system_outcome_update_successfully","plan_expired_team_page_message","subscription_expired_email_account_page_message","trial_plan_expired_team_page_message","delete_email_message_one","delete_email_message_two","delete_email_message_three","step_1","step_2","step_3","upgrade_plan_for_add_email_account","no_prospect_found_in_sequence","general_email_sub_for_purchase_ev","email_sub_for_purchase_ev_from_sequence_settings","upgrade_plan_for_add_email_account_admin","admin_block_page_message","member_block_page_message","paid_plan_expired_message","create_new_prospect_description","import_prospect_and_start_engaging","user_industry","user_job_role","saleshandy_usage","subscription_canceled","subscription_paused","reactivate_subscription_message_one","reactivate_subscription_message_two","reactivate_subscription_email_body","resume_subscription_admin_message_one","resume_subscription_admin_message_two","resume_subscription_member_message_one","resume_subscription_member_message_two","resume_subscription_success_message","resume_subscription_email_body","no_seat_available_email_modal_title","no_seat_available_email_modal__content_1","no_seat_available_email_modal__content_2","no_seat_available_team_modal_title","no_seat_available_team_modal__content_1","no_seat_available_team_modal__content_2","plan_description","select_unsubscribe_message_text","need_help_for_connecting_email","update_smtp_imap_connect_failed","manually_cancel_subscription","not_allowed_to_add_email_accounts_message_1","not_allowed_to_add_email_accounts_message_2","please_enter_valid_email","sender_name_limit_error","email_account_not_found","no_result_found_title","no_result_found_desc","now_allowed_to_add_unsubscribe_contact_to_sequence","view_only_access_to_user","payment_pending","initial_payment_pending_text_one","initial_payment_pending_text_two","recurring_payment_pending_text_two","email_account_sending_limit_tooltip","email_account_setup_score_tooltip","dont_know_your_email_provider","monthly_highlight_message","yearly_highlight_message","monthly_outreach_highlight_message","yearly_outreach_highlight_message","what_is_tentative_date_1","what_is_tentative_date_2","upgrade_plan_error_email_subject","saleshandy_agency_account_upgrade_required","upgrade_plan_error_email_body1","upgrade_plan_error_email_body2","drag_and_drop_csv","drop_your_csv_here","email_warmup_collaboration_msg_1","email_warmup_collaboration_msg_2","view_faqs","go_to_trulyinbox","get_contact_line1_modal","get_contact_line2_modal","agency_portal","agency_portal_desc","setup_score_updated_successfully","disconnect_email_accounts_desc","delete_email_accounts_desc","delete_client_message_one","delete_client_message_two","esp_matching_update_success","esp_matching_update_fail","clone_warning","clone_template","delete_warning","delete_template","share_warning","share_template","enter_subject","send_email_subject","send_email","tags_title","no_tags_found_title","no_tags_found_sub_title","tags_placeholder","tags_removeMode","add_tag","prospects_updated","valid_domain","blacklist_domain_sub_header","blacklist_domain_instruction","hello","getting_started","you_are_gonna_be_a_saleshandy_superstar","completed","nice_work","going_good","excellent_work","activate_sequence_message","learn_create_sequence","api_key_home_part_1","api_key_home_part_2","api_key_home_part_3","enter_your_label","save_filter_lable","invalid_label_input","only_letters_allowed","label_less_than","api_keys_empty","please_add_api_keys","bounce_limit_reached","email_account_disconnected","plan_expired","manually_paused","email_sending_limit_reached","trial_quota_exhausted","plan_paused","agency_client_deleted","agency_client_disabled","email_account_deleted","plan_downgraded","over_limit_connected_emails","email_account_paused","email_account_removed","test_email_title","test_email_content","email_account_note_content","email_account_disconnected_title","email_account_disconnected_content","email_account_not_connected_title","email_account_not_connected_content","email_not_added_title","email_not_added_content","confirmation_modal_title","confirmation_modal_content","confirmation_modal_content_2","content_guide","cold_email_tips","cold_email_tip_1_title","cold_email_tip_1_content","cold_email_tip_2_title","cold_email_tip_2_content","cold_email_tip_3_title","cold_email_tip_3_content_1","cold_email_tip_3_content_2","cold_email_tip_3_content_3","cold_email_tip_4_title","cold_email_tip_4_content_1","cold_email_tip_4_content_2","subject_title","character","characters","subject_helper_text","word_title","word_helper_text","word_helper_text_1","personalization_title","merge_tag","merge_tags","personalization_helper_text","link_title","link","links","link_helper_text","spammy_title","word","words","spammy_helper_text","cta_1","cta_2","cta_3","cta_4","turn_on_line_tracking","link_tracking_disabled","domain_not_set_part_1","domain_not_set_part_2","domain_not_set_part_3","domain_set_part_1","domain_set_part_2","domain_set_part_3","delete_custom_domain_title","delete_custom_domain_title_2","delete_default_custom_domain_content_1","delete_default_custom_domain_content_2","delete_default_custom_domain_content_3","delete_default_custom_domain_content_4","do_you_want_to_send_emails_to_risky_prospects","risky_prospect_model_title_1","emails_per_day_error","emails_per_day_percent_error","daily_rampup_title","daily_rampup_tooltip_text_1","daily_rampup_tooltip_text_2","daily_rampup_tooltip_text_3","daily_rampup_tooltip_text_4","emails_per_day_start","emails_per_day_end","emails_per_day_suggestion","emails_per_day_percent_start","emails_per_day_percent_end","emails_per_day_percent_suggestion","rampup_results","disable_rampup_confirmation_title","disable_rampup_confirmation_content_1","disable_rampup_confirmation_content_2","disable_rampup_confirmation_content_3","ramp_up_limit_reached","save_rampup_confirmation_title","save_rampup_confirmation_content_1","save_rampup_confirmation_content_2","save_rampup_confirmation_content_3","tomorrow","email_disconnected_message","learn_how_to_set_this","learn_how_to_warm_up","spf_result_message_1","spf_result_message_2","spf_result_message_3","ctd_error_result_message_1","ctd_error_result_message_2","ctd_error_result_message_3","ctd_error_result_message_4","dmarc_result_message_1","dmarc_result_message_2","dmarc_result_message_3","email_age_result_message_1","email_age_result_message_2","email_age_error_result_message_1","email_age_error_result_message_2","email_age_error_result_message_3","email_age_error_result_message_4","email_age_error_result_message_5","email_age_error_result_message_6","email_age_error_result_message_7","check_deliverability_loading_1","check_deliverability_loading_2","check_deliverability_1","check_deliverability_2","check_deliverability_3","need_help_to_improve_your_score","need_help_content","talk_to_deliverability_expert","check_deliverability_score","email_setup_score","email_account_health","last_updated_at","email_setup_score_description","sequence_setup_score","sequence_setup_score_description","email_writing_score","email_writing_score_description","check_deliverability_manually_fetch","changes_updated_successfully","daily_ramp_up_settings_updated_successfully","sending_limit_updated_text_1","sending_limit_updated_text_2","lower_value_limit_then_ramp_up_limit_error","soft_limit_modal_title","soft_limit_modal_content_1","soft_limit_modal_content_2","soft_limit_modal_content_3","soft_limit_modal_content_4","soft_limit_modal_content_5","soft_limit_modal_content_6","soft_limit_modal_content_7","soft_limit_modal_content_8","soft_limit_modal_content_9","email_per_day_success_message","zero_limit_error","learn_how_to_set","hard_limit_error_content_1","hard_limit_error_content_capital_1","hard_limit_error_content_2","hard_limit_error_content_3","hard_limit_error_content_4","hard_limit_error_content_5","access_token_error_description_1","access_token_error_description_2","get_it_done_by_experts","no_seat_available_email_subject_1","no_seat_available_email_subject_2","no_seat_available_email_body_1","no_seat_available_email_body_2","no_seat_available_email_body_3","no_seat_available_email_body_4","unsubscribe_link_modal_title","unsubscribe_link_modal_message_one","unsubscribe_link_modal_message_two","issue_with_smtp_connection","issue_with_imap_connection","tips_title","smtp_tips_one","smtp_tips_two","smtp_tips_three","imap_tips_one","imap_tips_two","smtp_gmail_tips_one_a","smtp_gmail_tips_one_b","smtp_gmail_tips_one_c","smtp_gmail_tips_two","smtp_gmail_tips_three_a","smtp_gmail_tips_three_b","smtp_gmail_tips_three_c","imap_gmail_tips_one","imap_gmail_tips_two","create_sequence","watch_later","watch_video_description_1","watch_video_description_2","track_your_first_email","install_saleshandy_connect","see_how_extension_works","install_chrome_extrension","delete_mailbox_email","delete_mailbox_email_description","email_deleted_successfully","notification_turned_on_tooltip_text","notification_turned_off_tooltip_text","notification_turned_on_successfully","notification_turned_off_successfully","desktop_notification","track_email_by_my_team","track_email_by_my_team_tooltip","test_notification","test_notification_tooltip","link_click_here","notification_body","notification_not_supported","notification_denied_message_1","notification_denied_message_2","settings_saved","start_with_email_per_day","increase_by_emails_every_day","maximum_emails_sent_per_day","reply_rate","sender_name","recommended","zero_value_error_1","zero_value_error_2","max_value_error","char_limit_error","email_warmup_paused_successfully","email_warmup_enabled_successfully","reconnect_email_account_title","reconnect_email_account_content","disconnect_email_account_title","disconnect_email_account_content","email_account_is_connected","email_account_is_disconnected","email_warmup_empty_list_title","email_warmup_empty_list_desc","see_how_warmup_works","add_new_email_account","email_warmup_settings_updated_successfully","deliverability","inbox","spam","received_today","received_in_last_seven_days","received_in_last_thirty_days","sent_today","sent_in_last_seven_days","sent_in_last_thirty_days","click_here_to_turn_on_warmup","click_here_to_turn_off_warmup","running","warmup_settings","enable_email_warmup_title","enable_email_warmup_desc_1","enable_email_warmup_desc_2","dont_show_this_message_again","error_boundary_title","error_boundary_sub_text_one","error_boundary_sub_text_two","return_to_application","google","microsoft","smtp_imap","unsupported_file_type","email_content_size_exceeds","number_of_attachments_allowed_1","number_of_attachments_allowed_2","attachment_removed_successfully","time_interval_error","same_time_interval_error","time_interval_warning","are_you_sure_you_want_to_turn_this_on","are_you_sure_you_want_to_turn_this_off","turning_this_toggle_on_will_allow_you","turning_this_toggle_off_will_not_allow_you","to_have_one_prospect_in_multiple_sequences_simultaneously","and_your_team_member_to_verify_prospects_while_importing_them","change_will_not_affect","change_will_apply_to_future_imports","prospect_sharing_toggle_off","prospect_sharing_toggle_on","auto_add_to_prospect_on_lead_reveal_toggle_on","auto_add_to_prospect_on_lead_reveal_toggle_off","to_auto_add_to_prospect_on_lead_reveal","team_invite_msg_1","team_invite_msg_2","api_key_msg_1","api_key_msg_2","team_create_msg_1","team_create_msg_2","step_variant_msg_1","step_variant_msg_2","score_poor_1","score_poor_2","score_below_average_1","score_below_average_2","score_average_1","score_average_2","score_good_1","score_good_2","score_very_good_1","score_very_good_2","score_excellent_1","score_excellent_2","domain_blacklist_title","ip_blacklist_title","mx_records_title","dmarc_title","dkim_title","spf_title","modal_col_status","modal_col_blacklist","modal_col_reason","modal_col_response_time","modal_col_learn_more","modal_col_hostname","modal_col_ipaddress","fr","just_me","team_2_5","team_5_20","team_20_plus","verify_status_setting_banner_message","score_factor_details","initReactI18next","LanguageDetector","init","debug","load","supportedLngs","fallbackLng","detection","keySeparator","AgencyResourceType","AgencyClientSortBy","AgencyClientPermissions","SortByKey","RecipientType","MailSentimentTypes","MailCategories","UnifiedInboxTrippedFeatures","CategoryUpdatedType","EmailAccountInfrastructureServiceProvider","EmailInfrastructureStep","EmailAccountInfrastructurePlanType","UpgradePlanErrorModal","restrictionOn","adminFirstName","modifySubscriptionStep","iconStyle","marginLeft","iconConfigs","skip","toolTipText","risky","bad","unknown","inProgress","ContactNameField","maxEmailLength","contactField","iconConfig","verificationToolTip","contactName","isSequenceProspectTag","PROSPECT_UPDATE","ContactStatusTag","capitalizedStatus","st","activeTagClass","finishedTagClass","repliedTagClass","bouncedTagClass","unsubscribedTagClass","blacklistTagClass","pausedTagClass","EmailInfrastructureServiceProvider","esp","MailDoso","deleteTokenAndRedirect","isBackToMainSHDomain","resetState","loader","hide","signupRoute","redirectURL","deleteTestEmailFromLocalStorage","clearTestEmailAddressFromLocalStorage","isTokenPresent","SignedOut","removeEmailInboxFiltersFromLocalStore","removeSequenceFilterFromLocalStorage","removeCobaltSessionToken","removeTeamPerformanceFilters","removeSequenceReportsFilters","ConflictAction","ZeroBounceSubStatusSaleshandy","ProspectActivityTabs","generatePopoverId","generatePopoverConfirmId","EmailsAndDomainsInput","emailsAndDomains","setEmailsAndDomains","setIsError","isMaxedEmailAdded","hasMore","onLoadMore","loadMoreLabel","showInputCount","maxInputCount","domainRegex","emailsAndDomainsInputRef","emailsAndDomainsValue","setEmailsAndDomainsValue","onEmailsAndDomainsRemove","addedEmailsAndDomains","replaceAll","emailsAndDomainRef","emailsAndDomainValues","isErrorRef","onAddEmailsAndDomains","focus","onKeyPress","onPaste","SHTag","starterPlanMeta","features","headerImage","isBestValuePlan","outreachPlanMeta","ltdEmailOutreachPlanMeta","ltdEmailOutreachProPlanMeta","planMetaData","StarterMonthly","price","OutreachMonthly","StarterYearly","OutreachYearly","EmailOutreach","EmailOutreachLifetime","EmailOutreachPro","EmailOutreachProLifetime","getOldPlanPrice","OldOureachMonthly","OldOureachYearly","getPlanMetaData","ignore_whitespace","PauseAccountHelper","_showResumePlanModal","showResumePlanModal","PauseAccountManager","onCloseResumeSubscriptionModal","showResumeSubscriptionModal","openResumeSubscriptionModal","is3dSecureResponseStatePending","resumeSubscription","sendResumeSubscriptionRequest","customerId","sendGetResumeSubscriptionRequestStatus","sendGetResumeSubscriptionRequestError","sendGetResumeSubscriptionResponse","onResumeSubscription","pauseEndsDate","resumeSubscriptionModalMessage1","resumeSubscriptionModalMessage2","resumeSubscriptionModalHeaderMessage","PauseLeadFinderHelper","_showLeadFinderResumePlanModal","showLeadFinderResumePlanModal","PauseLeadFinderManager","showResumeLeadFinderSubscriptionModal","sendResumeLeadFinderSubscriptionRequest","leadFinderCustomerId","LEAD_FINDER_SUBSCRIPTION_READ","sendGetResumeLeadFinderSubscriptionStatus","sendGetResumeLeadFinderSubscriptionError","sendGetResumeLeadFinderSubscriptionResponse","leadFinderPauseEndsAt","pauseLeadFinderError","DeleteCustomFieldModal","IcpStatus","script","intercomScript","DESTROY","SHUTDOWN","intercomSettings","api_base","app_id","alignment","horizontal_padding","user_id","company_id","user_hash","innerHTML","truncateText","formatPercentage","formatNumberToKM","EmailAccountSortBy","EmailAccountConnectionStatus","EmailAccountStatus","EmailAccountFilterStatus","showHideLoadingBar","viewEmailVerificationAndTagModal","showProspectSelectedRowInfoBanner","totalProspect","sendGetAdminSettingsRequest","getProspectTablePerPageSize","prospectRowsPerPage","ProspectRowsPerPage","updateProspectListRequestsHandler","sendGetProspectRequest","sendGetProspectCountRequest","resetPageNumber","RemoveProspect","TagsUpdated","sendGetDetailsOfContactRequestHandler","setSelectedContactId","viewShowProspectDetailsModal","verifyProspectsHandler","setRemainingCredit","hideEmailVerificationModal","viewPurchaseCreditsModal","sendEmailVerificationFn","creditsAvailable","handle3dSecureCardResponse","sendGetEmailVerificationCreditsRequest","hidePurchaseCreditsModal","addRemoveTagsFromProspectRequestSuccessHandler","updateProspectListRequests","addRemoveTagsInBulkFromProspectRequestSuccessHandler","getAvailableEvCreditsAndEvPlanHandler","sendGetEmailVerificationPlansRequest","refreshSelectedContactHandler","selectedContactId","showProspectDetailsModal","getProspectRequestStatus","sendGetSingleProspectDetailsRequest","executeWithValueCheck","purchaseEvCreditsRequestSuccessHandler","showPurchaseCreditModel","sendPurchaseEmailVerificationCreditsRequestMessage","getPurchaseEmailVerificationCreditsResponse","purchaseEvCreditsRequestErrorHandler","getShouldShowSelectedRowInfoBanner","isProspectSelectedRowInfoBannerVisible","getTagsFilterApplied","getIsPurchaseEmailVerificationCreditsLoadingState","sendPurchaseEmailVerificationCreditsRequestStatus","sendGetEmailVerificationPlansRequestStatus","SELECT_ALL_PRODUCTS_LIMIT","INDIVIDUAL_SELECT_LIMIT","getBulkActionRequestPayload","isAnyFilterApplied","doesFieldExistInConditions","group","conditions","PinUnpinActionType","basicTrailPlanRestriction","invalidTimeZones","getTimeZonesArray","names","getTimezoneList","timeZones","timezoneList","getTimezoneValueByName","timeZoneList","timeZoneValue","timeZoneObj","guess","addDatePrefix","luxonFormattedString","datePart","monthAndYearPart","parts","cookie","shift","riskyProspectWarningconstants","INCLUDE_RISKY_PROSPECT_IN_SEQUENCE","NOT_INCLUDE_RISKY_PROSPECT_IN_SEQUENCE","PROSPECT_DEFAULT_WARNING","DefaultRampUpSettings","CRISP_WEBSITE_ID","$crisp","createOption","titleKey","descriptionKey","shouldDisplayHorizontal","LAST_TO_FIRST","FIRST_TO_LAST","EQUAL","AGGRESSIVE_FISRT","SequenceSendingPriority","updateSequencePriorityConfigError","updateSequencePriorityConfigMessage","updateSequencePriorityConfigStatus","setIsLoading","setIsDisabled","selectedPriorityCode","setSelectedPriorityCode","initialPriorityCode","setInitialPriorityCode","handleSave","val","handlePriorityChange","EmailVerificationProcess","ChangePasswordSuccess","changePasswordRequest","setUserPasswordRequest","changePasswordSlice","ChangePasswordForm","confirmPassword","changePasswordStatus","showSuccessComponent","sendChangePasswordRequest","changePasswordError","changePasswordShowError","autoFocus","changePasswordMessage","ownProps","setUserPasswordSlice","LoaderHelper","_showLoader","_hideLoader","showLoader","hideLoader","animationData","loaderData","LoaderManager","loaderBackgroundClass","Browser","copyToClipboard","domRef","navigator","userAgent","Opera","Chrome","Safari","Firefox","InternetExplorer","select","execCommand","clipboard","writeText","OverlayPopoverContent","ProspectTag","isVisibleOverlayPopover","setIsVisibleOverlayPopover","showOverlayPopover","popoverWrapperClassName","planTypePriority","planLevelPriority","starter","pro","scale","creditCountPriority","planDurationPriority","yearly","calculatePlanPriority","level","subscriberCount","subscriberIdx","part","getParsedPlanCode","priority","getButtonLabel","sendGetPlansResponse","CurrentPlan","DowngradePlan","UpgradePlan","subscriptionId","getButtonLabelForNormalPlan","getLeadFinderButtonLabel","currentPlanCode","currentPlanPriority","newPlanPriority","AddToStepSelect","stepOptions","stepKey","setStepKey","AttachmentUploadStatus","getEmailAccountId","getEmailAccountInfo","emailAccountInfo","accountType","isConnected","fromName","fromEmail","getSettingsForEmailAccount","RampUpPercent","InitialSendingLimit","RampUpStatus","initialSendingLimit","RampUpInitialSendingLimit","rampUpLimit","RampUpLimit","maxSendingLimit","MaxSendingLimit","minInterval","MinInterval","maxInterval","MaxInterval","rampUpLimitReached","showGeneralErrorMessage","getErrorMessage","showPlanErrorForSubscription","getShouldSendingSettingsTabDisabled","SmtpImap","Status","Inactive","handleLoading","onTabChange","tabKey","UpdateEmailTabKeys","setShowSmtpModalOnDisconnect","EMAIL_SETUP_SCORE","connectEmailAccountHandler","subscriptionPlan","EMAIL_ACCOUNT_CONNECT","getEmailAccountMethod","shouldRefreshEmailSetupScoreValue","setShouldRefreshEmailSetupScoreValue","score","clearShouldRefreshEmailSetupScoreValue","CobaltEvent","cobaltSessionTokenStorageKey","setCobaltSessionToken","IntegrationTabs","staticOptionsForCategory","cleanPlanName","BannerVariant","avoidBannerRoutes","Banner","isIconShow","ctaSecondaryBtnText","ctaSecondaryBtnClick","onBannerClose","closeBtnClassName","useLocation","bannerClasses","Recurring","multiSelectOperations","IS","IS_NOT","textInputOperations","CONTAINS","DOES_NOT_CONTAIN","numberInputOperations","NOT_EQUAL","GREATER_THAN","GREATER_THAN_OR_EQUAL","LESS_THAN","LESS_THAN_OR_EQUAL","BETWEEN","dateDropdownOperations","IS_WITHIN","IS_BEFORE","IS_AFTER","IS_ON_OR_BEFORE","IS_ON_OR_AFTER","dateFieldsKeys","priorityMap","sortedFields","b","prospectFiltersFieldsKeysWithNoSearch","staticDropdownKeysForProspectFilter","prospectFiltersFieldsKeysFilterOptions","getProspectFiltersMultiSelectSearchOptions","useFilterOption","useAPICall","userIds","u","userName","isAddFilterButtonEnabled","filterGroup","formatDateTooltipTxt","formattedStartDate","formattedEndDate","gmtOffset","getIsFieldsDoesNotExist","prospectFields","FIELD","f","getProspectFiledLabel","isFirstStep","getMinRelativeDays","MinDay","getDefaultRelativeExecutionDay","resultDay","MaxDay","getLastAbsoluteDay","array","updatedArr","relativeDays","getStepPriority","getStepPriorityText","getTagClassName","getStepPriorityVariant","SequenceConfig","NewSequenceTitle","sequenceFilters","getSequenceFilterFromLocalStorage","setSequenceFilterFromLocalStorage","YoutubeVideoModal","allow","allowFullScreen","allowTransparency","maxHeight","Avatar","SequenceAction","SequenceActionLabel","SortSequenceProgress","SortBySequence","getDefaultSelectedProspectAttributes","getProspectSystemAttributes","attr","getProspectTableColumnsFromLocalStorage","setProspectTableColumnsInLocalStorage","onUserOptionClicked","selectedUserIds","setSelectedUserIds","onTeamOptionClicked","every","userIDsToAdd","withProspectsFiltersAPI","useStore","getCurrentTimeInUTC","local","durationOptions","displayText","minus","startOf","weeks","plus","endOf","years","getDateRange","this_quarter","last_quarter","quarters","this_year","last_year","ResumeSubscriptionModal","ArrowsMaximize","Introduction","Demo","FollowUp","Reminder","getSubjectStr","variantTitle","callPurpose","RawTooltip","popper","scheduleUpdate","Badge","data-show","createAction","LinkBadge","AgencyClientList","RawPopover","popoverClass","as","Popover","OverlayPopover","popover","TransferOverlay","arrowProps","customRef","transferOverlayClass","TransferOverlayTrigger","onSearch","onDeselect","initialSearchValue","showEmpty","emptyText","customEmptyElement","clickListenerOn","transferContainerStyle","downSearch","loadMoreMeta","bannerAlert","bannerAlertType","CTAType","pageHeaderSlice","TRIAL_EXPIRED","itemTypeToComponent","PAGE","isActive","ELLIPSIS","Ellipsis","FIRST_PAGE_LINK","First","PREVIOUS_PAGE_LINK","Prev","NEXT_PAGE_LINK","Next","LAST_PAGE_LINK","Last","UltimatePagination","createUltimatePagination","WrapperComponent","Pagination","hideFirstAndLastPageLinks","PaymentFailed","onRetryPayment","Light","ConfirmDeleteContent","focusInputRef","deleteConfirmText","DeleteAlertModal","isConfirmDelete","isInputValid","setIsInputValid","handleKeyPress","onShow","isValidInput","ReportPage","structure","showContent","infoDescription","isAddSequenceStateModal","sections","reportData","handleDownloadErrorReport","failedReport","failedResultData","csvContent","blob","Blob","URL","createObjectURL","revokeObjectURL","topic","shouldShowDownload","colSpan","PrivacyPolicy","TimezoneOptionRenderer","timeZoneArray","AvatarWithName","RadioButtonGroupWithShow","ProspectTagWithCancel","WatchVideoModal","isLeadFinderOnboarding","viewSampleSequenceBtnRef","isWhiteLabelVideo","feed","getUpgradePlanCTA","isCTAForModal","DataCard","showAllSequences","selectedOutcomeOption","showTotal","isModifySubscription","subTotal","alreadyPaid","amountToPay","AddSlots","customers","UpgradePlanStatic","customer","Angelist","Stackoverflow","Github","Quora","Me","NogenderAvatar","ViewMore","lead","leadProffesionalInfo","job_history","leadEducationInfo","education","skills","phones","current_employer_domain","isContactCopied","setIsContactCopied","onContactCopied","contact","hasFocus","currentEducation","degree","major","school","currentPhone","currentEmail","currentDomain","stopPropagation","DefaultCompanyLogo","GetContactDetail","onDelete","disableSubmit","LEAD_SAVED_FILTER_MESSAGES","LEAD_RECENT_SEARCH_MESSAGES","LEAD_LISTING_MESSAGES","reveal_single_lead_succeess_msg","add_to_prospect_single_lead_succeess_msg","add_to_sequence_single_lead_succeess_msg","max_limit_reached_tooltip_msg","add_to_sequence_tooltip_msg","bulk_export_success_msg","bulk_export_error_msg","LeadDomains","expandedLeads","handleViewLess","isRevealed","teaser","emailIndex","ix","IndividualLeads","topPeopleLimit","leadCredits","leadSampleData","handleCheckUnCheckSingleLead","selectedLeads","handleAppendLead","isBulkRevealing","disabledLeads","deSelectedLeads","isSelectedAllLeads","activeTabKey","handleResetStateAfterAnyAction","leadsPaginationData","setLoadingGetInfoLeads","handleFetchLeadsAfterBulkActions","isFirstPollRequest","emailRevealingLeads","setEmailRevealingLeads","emailPhoneRevealingLeads","setEmailPhoneRevealingLeads","useDispatch","loadingAddToProspect","setLoadingAddToProspect","useSelector","revealLead","setRevealLead","showAddToSequenceModal","setShowAddToSequenceModal","setExpandedLeads","hoveredLead","setHoveredLead","hoveredAddToProspectLead","setHoveredAddToProspectLead","CreditNotAvailableModalOpen","setCreditNotAvailableModalOpen","hoveredEmail","setHoveredEmail","hoveredPhone","setHoveredPhone","leadRevealType","setLeadRevealType","prevExpandedLeads","exterClass","isLeadSelected","totalLeadsSelectionLimit","l","handleFetchLead","handleRevealLead","revealType","EMAIL","EMAIL_PHONE","singleRevealRes","addtoProspectHandle","addToProspectRes","addContactToStep","handleViewContactInfo","TrippedFeature","feature_type","getViewEmailInfoButton","isRevealing","getViewEmailPhoneInfoButtonTooltip","getViewEmailPhoneInfoButton","getProspectButton","onMouseEnter","onMouseLeave","isProspectCreated","CONTACTS_IMPORT","getAddToSequenceButton","SEQUENCE_PROSPECT_WRITE","getLeadActionButtons","reReveal","getLeadActionButtonsForReRevealedLead","getLeadActionButtonsForRevealedLead","getLeadActionButtonsForNotRevealedLead","profile_pic","current_title","facebook","linkedin","twitter","github","quora","stackoverflow","aboutme","angelist","current_employer","department","phoneObj","phoneIndex","emailObj","isCreditRefunded","Setting_Billing_Add_Credits","LeadListing","leadsData","handlePagination","savedApiParam","setShowProspectDetailsModal","getContactId","profiles","getSingleProspectDetailsStatus","getSingleProspectSequencesDetailsStatus","isTagsFilterApplied","toLocaleString","DEPARTMENT_DATA","LOCATION_DATA","INDUSTRY_DATA","MANAGEMENT_LEVELS_DATA","REVENUE_DATA","YEARS_OF_EXPERIENCE_DATA","EMPLOYEE_COUNT_DATA","CHANGE_JOB_DATA","FILTER_LIST","excludeKey","inputClassName","inputPlaceHolder","inputLabel","includeMaxLimit","expandedMaxFilterTags","hideSearchBox","isPrefix","removeTopMargin","hideIncludeExclude","infoCircleToolTipMapping","Phone","Autocomplete","isExpand","filterKey","handleFoundValueExceptFromList","handleQuery","inputRef","setExactMatch","initValue","getAll","trimmedValue","showExactMatch","handleShowExactMatch","CustomSelect","minValue","setMinValue","maxValue","setMaxValue","isInvalidRange","handleInputKeyPress","isSearchLeads","has","matchingOption","sizeQueryParam","handleCustomSelect","thousandSeparator","onValueChange","useFirstEffect","fn","isFirstRun","MAPPED_KEYS","jobTitle","NOT_ALLOWED_APPEND_CHECKBOXES","RenderAutocomplete","onSelectOption","selectedSuggestionIndex","handleOnChange","setShowAutoComplete","isIncludeDisabled","includeTooltip","groupName","getLebelTooltip","RenderCheckboxGroup","expanded","setShowLabelToolTip","showLabelToolTip","infoCircleToolTip","isPhoneNumberNudgeOpen","check","childName","FilterCheckbox","bulkFilterSyncKey","handleExpandFilterTags","searchLeads","handleInitializeCheckboxes","mainCheckbox","initCheckboxes","isExcluded","childrenCheckedCount","c","isIntermediate","exceptListValues","exceptExcludeListValues","setCheckboxes","checkboxes","initialCheckboxes","setExpanded","showAutoComplete","setSelectedSuggestionIndex","onFirstTimeKeyEnter","setOnFirstTimeKeyEnter","searchInputContainerId","suggestionsContainerID","showTagTooltip","setShowTagTooltip","getIsMaxValuesIncluded","handleGetCheckedKeys","include","handleCheckState","checkedChild","totalChild","handlePreQuery","updatedCheckboxes","onKeyEnter","includedKeys","excludedKeys","filterExcludeKey","exclude","groupIndex","childIndex","prevState","updatedValues","existingIndividualTagsValues","tagValues","filteredObjects","keysToRemove","includeExcludeOptions","checkedCount","tagInputKey","updatedItem","cIndex","tagKey","tagIndex","filteredUpdatedValues","uniqueKeys","handleInputChange","searchInputValue","debouncedInputChangeRef","includedItemsFromParams","excludedItemsFromParams","newState","parentChecked","targetDiv","enteredValue","direction","newIndex","selectedSuggestion","selectedTag","KeywordInputComponent","keywordInputRef","onHandleQuery","setSearch","SaveFilterModalVarient","SaveFilterModal","varient","selectedSavedFilter","getSavedFilters","handleGeneratePayload","setFilterName","loadingSavedFilters","setLoadingSavedFilters","handleSavedFilter","searchQuery","SavedFilter","setSavedFilters","setSelectedSavedFilter","showPopOver","setshowPopOver","showSaveFilter","setshowSaveFilter","showEditFilter","setshowEditFilter","showDeleteFilter","setshowDeleteFilter","showAppliedFilter","setshowAppliedFilter","activeFilter","setActiveFilter","mappedArray","applySavedFilter","filterObject","queryString","finalUrl","buildQueryString","isEqual","TopStart","PeopleTabComponent","handleRecentSearch","setSelectedLeads","onBulkSearchShow","handleDeleteFilter","handleGetAllKeysByFilterFromQuery","handleIndividualTag","showPhoneNumberNudge","setShowPhoneNumberNudge","setIgnorePhoneNumberNudge","selectedFilter","setSelectedFilter","overlayRef","useOverlayScrollbars","scrollbars","autoHide","autoHideDelay","defer","initialize","isSelectedFilter","contactMethodFilter","filterElement","scrollIntoView","behavior","block","inline","handleApplyPhoneNumberNudge","contactMethod","allowMultipleExpanded","allowZeroExpanded","allTags","Dark","data-filter-id","dangerouslySetExpanded","ItemHeading","prevSelectedFilter","onSelectFilter","ItemButton","ItemState","ItemPanel","subFilter","FILTER_SAVED_LIST","useSavedLeadFilter","handleDefaultValues","initialFilters","ele","dateArr","__handleSetDeletePaginationParams","dateObjects","__handleDeleteSpecificValueFromQuery","leadTagsIds","onLeadTagsIdsChange","selectedLeadTagsIds","setSelectedLeadTagsIds","sendGetLeadTagsRequest","TagSavedFilter","textIndent","SavedTab","isLeadTagsLoading","handleDateChange","createdDates","dateTimes","prevFilters","handleDeleteTagFilter","tagId","tagValue","idToRemove","handlePillClose","BULK_SEARCH_FILTERS","labelText","showExactMatchCheckbox","checkboxDataList","DEFAULT_SEPARATORS","ERRORS","getSeparatedTextList","separators","regex","getTrimmedChipValue","MultiChipInput","maxChipLength","scrollTo","multiChipInputRef","onContainerClicked","newValueList","onValuesRemove","onAddValues","isBlur","pasteData","addedValues","valueList","clipboardData","getData","getMappedKeyFromValue","dataList","childValue","getMappedValueFromKey","childKey","LeadsFilterBulkSearch","errorMapping","focusKey","bulkFilters","setBulkFilters","bulkFilterError","setBulkFilterError","updateBulkFiltersFromQueryParams","updatedBulkFilters","excludeQueryValues","queryValues","filterList","shouldReplaceParent","childValueList","childList","replaceParentValueIfAllChildExists","onCheckExactMatch","prevError","LeadsSidebar","isSidebarExpanded","setIsSidebarExpanded","setActiveTabKey","setLeadsData","handleRouteChange","showBulkSearch","setShowBulkSearch","bulkSearchFocusFilterKey","setBulkSearchFocusFilterKey","setBulkFilterSyncKey","__handleSetUniqueKeys","param","locationValues","departMentValues","industryValues","revenueValues","managementLevelsValues","changeJobValues","yearsOfExperienceValues","employeeCountValues","foundedValue","paramValues","listValues","preSearch","findValue","includeKey","handleBulkQuery","bulkQueryInputs","includeValue","excludeValue","useLeadFilter","bulkQuery","newBulkFilterSyncKeys","bulkFilterKey","bulkFilter","defaultActiveKey","activeKey","handleTabChange","prefixCls","tab","AddRemoveTagButton","handleAddTag","handleRemoveTag","fetchLeadTags","deselectedLeads","selectedAllLeads","showDropdown","setShowDropdown","setShowModal","modalTitle","setModalTitle","isRemoveMode","setIsRemoveMode","isApplyButtonDisabled","setIsApplyButtonDisabled","setIsSubmitLoading","dropdownRef","closeDropdown","closeModal","newTagValue","handleSubmitModal","bulkPayload","deSelectedLeadIds","TotalCredits","handleSelectAllLead","setIsBulkRevealing","isSelectAllIndeterminate","selectedAllLeadsCount","setIsSelectedAllLeads","handleClearSelectedAllBulkAction","handleSelectAllBulkActionLead","loadingGetInfoLeads","ignorePhoneNumberNudge","setLeadFinderRevealType","bulkTimeout","setBulkTimeout","hoveredSelectAll","setHoveredSelectAll","loadingReveal","loadingExport","loadingAddToSequence","loadingAddTag","loadingBulkAction","setLoadingBulkAction","selectedMoreThanLimitModalOpen","setSelectedMoreThanLimitModalOpen","showBulkSelectTagModal","setShowBulkSelectTagModal","hideLimitreachedModal","isLeadNoRevealedPresent","isLeadReRevealedPresent","isLeadPhoneRevealPresent","isLeadNotSavedPresent","shouldDisplayBulkAction","getSelectedCount","isIntermediateAll","tempArr","availableLeadsData","handleBulkReveal","leadIds","leadIdsForPolling","firstPageLeadIds","currentRevealingLeadIds","completedLeadsInFirstPage","paginationCount","bulkRevealRes","handleBulkAddToProspect","handleBulkExport","handleBulkRevealEmailPhone","handleBulkAction","actionType","REVEAL_EMAIL","REVEAL_EMAIL_PHONE","ADD_TO_PROSPECT","ADD_TO_SEQUENCE","EXPORT","handleFetchLeadTags","isSelectedAll","leadsOnCurrentPage","prevLeads","currentLead","SearchingEmptyImage","RecentSearch","storedUrls","setStoredUrls","loginUserEmail","urlToDelete","updatedUrls","allStoredUrls","deleteUrlByUrl","LeadsHeaderSkeleton","NoSearchResult","IndividualLeadsSkeleton","Leads","urlState","setUrlState","setApiParam","setSavedApiParam","queryParamsUpdated","paramArray","tempParam","encodeURIComponent","locationPayload","handleGenerateAPIParam","handleFetchLeads","fetchLeads","storedUrlsKey","existingUrlIndex","urlData","updatedEntry","splice","updatedPayload","meaningfulParams","currentUrlWithParams","isCurrentLead","performSearch","useLeadFinder","setLeadTags","setIsLeadTagsLoading","applyLoading","useLeadApiState","userUrls","isWatchVideoModalVisible","setIsWatchVideoModalVisible","setDisabledLeads","setIsSelectAllIndeterminate","setLeadsCredits","leadCreditsState","setDeSelectedLeads","setSelectedAllLeadsCount","setTopPeopleLimit","isAllSelected","dLead","isSomeSelected","MAX_BULK_ACTION_COUNT","finalCount","isLeadAdded","isLeadDisabled","currLead","leadProfiles","leadProfileArrIds","filteredSelectedLeadArr","filteredLeadProfiles","useLeadBulkAction","LoadedAPage","timerIdRef","pollingAttemptsRef","isPollingEnabled","setIsPollingEnabled","setIsFirstPollRequest","leadFinderRevealType","enablePolling","newPolling","leadIdsToSend","accountId","revealedLeads","UpdatedEmailRevealingLeads","UpdatedEmailPhoneRevealingLeads","updatedLead","revealingLeads","updateLoadingForLeads","revealingEmailLeads","revealedEmailLeads","updateLoadingEmailLeads","revealingEmailPhoneLeads","revealedEmailPhoneLeads","updateLoadingEmailPhoneLeads","stopPolling","searchParams","filteredLeads","dl","setLeadsDataState","leadSlice","resetSelectedLeads","deselectLeads","getTaskStatusParams","TasksHeader","taskStatusCount","getTasksRequestStatus","getTasksStatusCountRequest","getTaskStatusCount","getTasks","updateTasks","getTaskerData","updateTaskNote","taskId","taskNote","getTasksRequest","getTaskStatusCountRequest","updateTasksRequest","getTaskerDataRequest","updateTaskNoteRequest","tasksCount","tasksTableData","task","sequenceProspectTask","sequenceName","taskPayload","processedAt","assignee","SnoozeTask","getDateColumnCellValue","getTasksColumns","onTaskClick","snoozeOptions","generateTimeArray","timeArray","hour","minute","formattedHour12","formattedMinute","ampm","timeObject","SnoozeDatePicker","dt","CustomInput","minDate","handleSelect","placeholderText","renderCustomHeader","decreaseMonth","increaseMonth","prevMonthButtonDisabled","nextMonthButtonDisabled","SnoozeModal","setValue","setDate","setTime","getDate","toDate","mergedDateTime","activeTab","tasksTypeFilterOptions","subTypes","getSelectedOptionKey","selectedTaskTypeIds","selectedKeys","TaskTypeSelect","onApply","selectedTypeIds","setSelectedTypesIds","isFilterDirty","setIsFilterDirty","allTaskTypeIds","taskTypeIds","isSelectAllCheckboxChecked","taskTypeId","getIsAllCheckboxChecked","onSelectDeselect","setSelectedTaskIds","taskIDsToAdd","onLinkedInOptionClicked","preExpanded","Vector","TasksFilterBar","onFilterToggle","onTaskTypeFilterApply","onRefresh","onStartAllTasks","setSearchValue","onClearSearch","searchIconPlace","taskActionRequestStatus","getTasksListFetcher","ReassignModal","sendGetTaskAssigneeListRequest","selectedAssignee","setSelectedAssignee","getModalContent","TaskBanner","getProspectDetails","Twitter","Facebook","Website","Name","getAttributes","getTaskContentLabel","stepContentMaxLength","TaskerModal","taskerData","getTaskerDataRequestStatus","updateTaskNoteRequestStatus","onTaskNoteClick","sendGetAllOutcomesRequest","resetTaskerState","resetTaskId","getInitialTaskNumber","callOutcome","setCallOutcome","taskerDataIndex","setTaskerDataIndex","currentTaskNumber","setCurrentTaskNumber","currentData","setCurrentData","setCurrentPage","isContentCopied","setIsContentCopied","onContentCopy","apiCall","openLink","getTaskContent","contentText","connectionNote","handleUpdateTask","tAction","taskPayloads","instructions","instruction","onNextPage","onPrevPage","onNextTask","onPrevTask","tStatus","stepBgColor","getStepType","renderTaskIcon","renderTaskPriority","prospectDetails","UNIBOX_CATEGORY_UPDATE","renderProspectDetails","renderTaskContent","handleOutcomeChange","tasksFiltersInitialState","tasksSlice","resetSelectedTasks","resetTasksState","setTasksFilters","resetTasksFilters","removeTaskFromTaskerData","TaskNoteModal","setText","debouncedSave","stepContentHTML","isAutoSaved","TasksContent","updateTaskRequestMessage","showLoadingBar","hideLoadingBar","setPaginationOptions","setTaskId","setTaskAction","setTaskType","setTaskNote","extraPayload","setExtraPayload","isSnoozeConfirmationModalVisible","setIsSnoozeConfirmationModalVisible","isConfirmationModalVisible","setIsConfirmationModalVisible","isTaskFilterModalVisible","setIsTaskFilterModalVisible","setSelectedTaskTypeIds","isReassignModalVisible","setIsReassignModalVisible","isTaskerModalVisible","setTaskerModalVisible","isTaskNoteModalOpen","setIsTaskNoteModalOpen","dueDate","useSWR","revalidateOnFocus","shouldRetryOnError","initialData","isValidating","mutateTasks","mutate","useTasks","tId","tType","ePayload","resetOutcome","onSnooze","taskIds","rescheduledDate","onConfirm","onReassign","reAssigneeId","newAssigneeId","getTasksAfterFilter","handleSearch","ReassignTask","getProspects","refValue","except","Owners","Tags","VerificationStatus","CreationSource","ClientAssociated","isATMOwnerList","isTasksFilter","handleClearAll","tNote","setTaskStatus","onTaskStatusChange","statusParam","taskStatusKeyObject","keyExists","updateTasksRequestStatus","quoteRegex","quoteRegexForEmail","getRedirectUrl","reactAppUrl","notificationRedirectionUrl","notificationUrlParams","emailAccountType","notificationType","SequencePaused","SequencePausedBounce","UniboxScheduleCanceled","emailThreadHashId","prospectEmail","LeadRevealCompleted","LeadRevealCompletedNoEmailOrPhone","reportUrl","metaData","importFile","DomainRegistrationComplete","getNotificationType","ViewDraft","WhitelabelDomainSet","proscpectNotifications","leadNotifications","ViewList","ViewLeads","SequenceProspectImport","Activate","ViewEmailAccounts","Reconnect","Resume","getRegexForEmail","getNotificationReason","SequenceProspectExportForClient","SequenceReportClient","UniboxConversationForClient","EmailAccountBulkConnectClient","SequenceBulkProspectClient","DnsImport","DnsExport","SequenceProspectVerify","ProspectVerifyReport","SequenceProspectBulkAction","ProspectBulkAction","ProspectImportAsyncCompleted","DomainRegistrationInProgress","MailboxRegistrationComplete","SequenceProspectImportAsyncCompleted","LeadRevealCompletedAsyncProcess","LeadRevealCompletedNoEmailOrPhoneAsyncProcess","EmailDisconneted","getImageIcon","getNotificationClassName","showNotifications","showBlink","asyncNotificationTypes","isAsyncOperationNotification","isLogVisibleNotificationTypes","pausedNotifications","prospectBulkAndSequence","bulkSequenceAndDomainNotificationTypes","isCompletedOperationNotification","NotificationBadge","userUnreadNotificationCount","bounce","setBounce","toggleClassName","NotificationTextAsync","notificationText","importFileName","totalCountNumber","completedCountNumber","logList","getTextByVariableDetail","variable","countData","variableData","markAsRead","fetchNextNotifications","isHasPermissionToCallUnreadNotification","setShowNotifications","showUnreadNotifications","setShowUnreadNotifications","hasMoreNotifications","setHasMoreNotifications","notificationsLength","notificationRef","markAsReadAndDownload","markAsReadAndRedirect","redirectUrl","unread","moreNotificationExist","popoverText","initiateEmailAccountConnectionFlow","onUpdateEmailAccountHandler","emailAccountStatus","InActive","onEmailAccountPausedClickHandler","emailAccountRequest","emailAccountData","currentEmailAccountStatus","getUpdatedProgressData","pollingNotif","NOTIFICATION_READ","NotificationClicked","current_tab_url","xs","dataLength","endMessage","scrollableTarget","pollingData","dangerouslySetInnerHTML","__html","getRelativeDate","Border","AvatarEmail","useCreditsSelectors","credit","featureCode","LeadReveal","leadFinderRevealTypeValue","LeadRevealPhone","emailSendCredits","EmailSending","prospectAddCredits","emailVerificationCredits","EmailVerification","leadFinderCreditsAvailable","emailSendAvailable","emailSendTotal","prospectAddAvailable","prospectAddTotal","emailVerificationAvailable","getCoreFeaturesCreditsRequestStatus","CreditsBox","dropdownIsOpen","hoveredCredit","setHoveredCredit","setLoading","creditsData","available","additionalCreditsData","handleMouseEnter","handleMouseLeave","isBelowThreshold","leadFinderThreshold","emailVerificationThreshold","creditsUsedPercentage","CommonProfileDropdownItem","showNewBadge","MultichannelBetaAccessSwitch","handleShowMultichannelBetaAccessConfirmationModal","ProfileDropdown","shouldShowDivider","SCHEDULE_DEMO_SHOW","MASTER_CLASS_SHOW","CHROME_EXTENSION_READ","FEATURE_REQUEST_SHOW","FeatureRequestClicked","BECOME_OUR_AFFILATE_SHOW","HELP_SHOW","openUrl","ExtensionIconClicked","BANNER_MOBILEAPP_SHOW","DownloadMobileAppFromProfileSection","EmailWarmupHeader","emailWarmupHeaderWithReport","SequenceSingleTitle","spanRef","adjustInputWidth","textContent","offsetWidth","isEditMode","onSetTitle","onInputKeyPress","activateEditMode","deactivateEditMode","propsTitle","isEnterKey","blur","isEscapeKey","onRevert","changeFilterSequenceTitle","previousTitle","taskFilter","prospectFilter","taskFilterSequence","prospectFilterSequence","newTaskFilter","newProspectFilter","SEQUENCES_RENAME","inputClasses","onKeyUp","MaxSequenceTitleLength","readOnly","SequenceSingleHeader","switchRef","hideRestrictionModal","isRestrictionModalVisible","onToggleSequenceAction","showRestrictionModal","isSequenceHasOverLimitEmails","shouldShowPlanUpgradeErrorModal","showUpgradePlanErrorModal","getSequenceAction","SEQUENCES_PAUSE_RESUME","showPauseResumeSequenceModal","showVerifyEmailModal","isVerifyEmailModalShow","hideVerifyEmailModal","hideUpgradePlanErrorModal","showConnectEmailAccountModal","hidePauseResumeSequenceModal","onSwitchChange","onPauseResumeSequenceModalSubmit","onSequenceTitleChange","pauseResumeSequenceRequestStatus","pauseResumeSequenceRequestError","sendGetSequenceRequest","connectEmailAccountRequestStatus","sendRenameSequenceRequest","ADMIN","sendPauseResumeSequenceRequest","pausedReasonIdentifier","isSequenceActive","isPauseResumeSequenceRequestPending","ActiveSequence","getLabel","getTooltipText","bodyContent","renameSequenceRequestStatus","renameSequenceRequestMessage","renameSequenceRequestError","pauseResumeSequenceRequestMessage","isStepsListEmpty","isContactsEmpty","getUserSettingRequestStatus","ChangeLog","cursor","handleUpgradePlanCTA","isPostLoadMetaRequestPending","showTooltipOnButton","warningMessage","getBannerMetaData","bannerMsgJSX","EmailAccountsHeader","renderEmailAccounts","GoingBackToEmailAccountsModal","onlyEmailAccounts","CreateEmailInfrastructureHeader","showClearAllCartModal","setShowClearAllCartModal","onCloseClearAllCartModal","AddEmailAccountsHeader","handleOnSubmitClick","OnScreenAsyncProgressBar","textPercentage","completionText","ctaRedirectLink","isComplete","onCompletion","classNameSuffix","handleCtaRedirectLink","pathColor","trailColor","textFontSize","textFontWeight","UpgradePlanHeader","emailOutreach","isMultichannelActiveToggled","pollingCancelRef","singleSequenceHeader","emailWarmupHeader","emailAccountsHeader","createEmailInfrastructureHeader","addEmailAccountsHeader","upgradePlanHeader","setUpgradePlanHeader","setPage","setNotificationId","setSubscriptionEndDays","setSubscriptionPlan","isYoutubeIconVisible","setIsYoutubeIconVisible","showMultichannelBetaAccessConfirmationModal","setShowMultichannelBetaAccessConfirmationModal","progressBars","setProgressBars","hiddenNotification","setHiddenNotification","handleAsyncToasterClose","actionTakenOnNotificationId","bar","isClosing","isEntering","handleCompletion","closeTime","getNewOnscreenNotifications","onScreen","handleNotificationPollingRequest","CancelToken","newNotification","onScreenNotifications","currentProgressBarValue","newBars","existingBarsWithUpdates","requestAnimationFrame","newBar","update","handleCloseMultichannelBetaAccessConfirmationModal","openHelpScoutBeacon","setAnalyticsTrackData","BeaconOpened","OPEN","ON_SHOW","head","selector","onload","Headway","GlobalRoutes","UPDATE","toUTC","toObject","lastBarId","intervalId","usePolling","notificationIdToMarkAsRead","isEmailAccountsPage","pageHeaderClassNames","noBoxShadow","noBorderNoBoxShadow","currentTab","isPlanExpired","agencyEmailSubject","WHATSANEW_SHOW","fileId","getRedirectUrlFromNotification","marginBottom","IsMultichannelActive","getAcademyTopicsRequest","getAcademyTopicsProgressRequest","updateAcademyTopicProgressRequest","MasterClassProgress","academyLessons","academyTopicsProgress","getAcademyTopicsProgressRequestStatus","showExploding","numberOfCompletedLessons","setNumberOfCompletedLessons","lessonId","lessons","topics","getCompletedLessonIdWithTotalTopics","baseColor","hasBreakPoints","getAcademyTopicsProgress","getAcademyTopicsResponse","getAcademyTopicsProgressResponse","updateAcademyTopicProgressRequestStatus","growthHubSlice","resetUpdateAcademyProgressStatus","MasterClassLessons","currentLessonId","currentTopicId","onTopicSelect","lesson","setSelectedTopic","setOpenedLessons","isTopicSelected","topicId","isTopicCompleted","getLessonProgressValue","numberOfTopics","getLessonProgress","onAccordionChange","buildStyles","onSelectTopic","MasterClassChapterContent","isMaximized","onNextTopic","onPreviousTopic","onMaximizeMinimize","updateAcademyLessonProgress","lastLessonId","lastTopicId","firstTopicId","courseId","GrowthHub","getAcademyTopicsRequestStatus","getAcademyTopics","setCurrentLessonId","selectedTopic","setIsMaximized","isExploding","setIsExploding","onTopicChange","currentLessonIdex","currentTopicIndex","updatedLessonId","isLessonHasNextTopic","nextLessonFirstTopic","preciousLessonLastTopicIndex","previousLessonLastTopic","DomainStatus","DomainAction","getDomains","deleteDomain","getDomainsRequest","deleteDomainRequest","domainsFilters","domainsSlice","resetGetDomainsRequestState","resetDeleteDomainRequestState","updateDomainsFilters","DomainsActions","onDomainsFiltersChange","searchIconFixed","DomainsMailboxesPopover","onAddMoreEmailAccountClicked","showPopover","setShowPopover","profilePic","renderMailbox","AutoStart","DomainsTable","_c","redirectDomain","createdBy","REVOKE","DELETE","DeleteDomainModal","RevokeCancellationModal","DomainsContent","sendGetDomainsRequest","getDomainsRequestStatus","getDomainsRequestError","sendDeleteDomainRequest","deleteDomainRequestStatus","deleteDomainRequestError","hasSearched","searched","setAction","actionRow","setActionRow","showDeleteDomainModal","setShowDeleteDomainModal","showRevokeCancellationModal","setShowRevokeCancellationModal","onCloseDeleteDomainModal","onCloseRevokeCancellationModal","PerformanceStatsVariant","EmailWarmupCollaboration","sendTurnOnOffEmailAccountWarmupRequest","turnOnOffEmailAccountWarmupRequestStatus","turnOnOffEmailAccountWarmupRequestError","connectEmailAccountRequestError","resetTurnOnOffEmailAccountWarmupState","updateEnableEmailWarmupConsent","updateUserSettingsRequestStatus","reconnectEmailAccountModal","setReconnectEmailAccountModal","enableEmailWarmupModal","setEnableEmailWarmupModal","disconnectEmailWarmupModal","setDisconnectEmailWarmupModal","emailAccountMethod","isEmailWarmupEnableConsentChecked","setIsEmailWarmupEnableConsentChecked","showEmailWarmupEnableConsent","enableEmailWarmupConsentValue","ShowEmailWarmupEnableConsent","getEnableEmailWarmupConsent","trulyInboxRefModal","setTrulyInboxRefModal","hideDisconnectEmailWarmupModal","hideEnableEmailWarmupModal","showConnectSmtpImapEmailAccountModal","onConnectEmailWarmup","onTunrOnOffRequestSuccessHandler","reconnectEmailAccountHandler","getEmailAccountsInWarmup","getEmailAccountWarmupDeliverabilityReport","getEmailAccountWarmupList","getEmailAccountWarmupSentReceivedReport","getEmailAccountWarmupSettings","saveEmailAccountWarmupSettings","turnOnOffEmailAccountWarmup","getEmailAccountsInWarmupRequest","getEmailAccountWarmupDeliverabilityReportRequest","getEmailAccountWarmupListRequest","getEmailAccountWarmupSentReceivedReportRequest","getEmailAccountWarmupSettingsRequest","saveEmailAccountWarmupSettingsRequest","turnOnOffEmailAccountWarmupRequest","emailWarmupAccounts","totalEmailWarmupAccounts","emailAccountWarmupSentReceivedReport","emailAccountWarmupDeliverabilityReport","emailAccountWarmupSettings","emailAccountWarmupList","emailWarmupSlice","resetEmailWarmupState","emailAccountCount","FeaturesHeader","FeatureMeta","isAvailable","helperText","isComingSoon","EmailWarmupFeatureMeta","EmailOutreachFeatureMeta","FeaturesSection","feature","featureName","emailWarmupFeatureMeta","emailOutreachFeatureMeta","featureId","AllFeaturesListModal","featuresList","PricingCard","onSelectPlan","isLeadFinderPlans","btnDisabled","setBtnDisabled","btnLabel","btnClassName","classnames","cardClassName","Downgrade","sendGetLeadFinderPlansResponse","isAllFeaturesTableVisible","setIsAllFeaturesTableVisible","planData","setPlanData","ResetPasswordForm","resetPasswordStatus","setEmail","sendResetPasswordRequest","resetPasswordError","resetPasswordShowError","isResetPasswordBtnLoading","isResetPasswordBtnDisabled","ResetPasswordSuccess","onResendVerificationEmail","SSOLoginForm","truncateWord","ssoLoginRequestStatus","ssoLoginRequestError","sendSSOLoginRequest","ssoLoginRequestMessage","ssoLoginRequestShowError","authWrapperClassName","ssoLoginSlice","ProspectContactInfoCategory","ContactType","CONTACT_CATEGORY_OPTIONS","Personal","Work","IndividualEmailField","setEmails","handleBlur","touched","setFieldTouched","formMode","primaryEmailChangeInProspectRequest","deleteEmailFromProspectRequest","setIsExpandedContacts","isShowDeleteModal","setIsShowDeleteModal","isShowConfirmationModal","setIsShowConfirmationModal","handleEmailChange","updatedEmails","isPrimary","emailVerificationStatus","Edit","emailType","handleEmailTypeChange","indexTobeDelete","_index","deleteEmail","handleDeleteClick","AddProspectHandleDeleteClick","AddProspectHandleIsPrimaryChange","emailTobeChange","_email","handleIsPrimaryChange","IndividualPhoneNumberField","phonenumber","PhoneNumbers","setPhoneNumbers","deletePhoneFromProspectRequest","shouldPhoneRadioInputDisabled","radioInput","updatedPhoneNumbers","handlePhoneNumberChange","phoneType","handlePhoneTypeChange","phone","deletePhone","ProspectContactFieldComponent","setFieldValue","setContacts","isExpandedContacts","visibleContacts","setVisibleContacts","sortedData","PhoneNumber","newContact","addContactHandler","ProspectLabelField","CustomForm","formRef","generateValidationObject","assign","isValidPhoneNumber","validateMaxCharLimit","getNameKey","generateInputFields","handleChange","nonLongTextFields","longTextFields","normalFields","styleClassNames","_val","longTextFieldsJSX","formBodyClasses","formContainerClasses","buttonClassName","submitStatus","validationObject","initialValues","innerRef","isMobilePhone","MaxCharLimit","fieldDef","maxLimit","validateOnBlur","LoginForm","DeniedInvitation","InvitationSignupFailed","isDeniedScreenVisible","sendVerifyInvitationTokenRequest","verifyInvitationTokenRequestStatus","verifyInvitationTokenRequestCode","isVerifyInvitationTokenRequestSucceeded","isVerifyInvitationTokenRequestFailed","isInvitedUser","invitationToken","ResetPasswordCallback","sendVerifyResetPasswordCodeRequest","resetPasswordCallbackStatus","verifyResetPasswordCodeRequest","resetPasswordCallbackSlice","SSOCallback","ssoCallbackRequestStatus","ssoCallbackRequestError","ssoWhitelabelDomain","sendSSOCallbackRequest","accessCode","whiteLabelRedirect","WLToken","WLTrackingId","WLFirstName","WLLastName","WLEmail","WLError","newSSOEmail","isEmailChangeRequest","isNewSSOEmailVarificationRequest","storedSSOWhitelabelDomain","whiteLabelRedirectURL","emailChangeInProgress","newSSOEmailVarificationInProgress","isEmailChangeRequest2","ssoCallbackRequest","ssoCallbackRequestShowError","ssoCallbackSlice","userDomain","dialCode","dialCodeLength","trimDialCode","SignupForm","phoneInputField","propsEmail","queryEmail","disableEmailInputValue","disableEmailInput","handleSuccess","signupRequestStatus","referralId","celloReferralCode","CelloAttribution","SignupCompleted","signupRequestError","showSignupRequestError","isSignupBtnLoading","isSignupBtnDisabled","signupRequestMessage","AuthForm","TransferEmpty","OptionList","propOptions","propFilterOption","searchText","propListSeparatorOptions","defaultFilterOption","searchProp","filterOptions","newPropOptions","selectedOptionKeyArr","optionClickHandler","selectedOptionKeyToEmit","finalPropOptions","prevSelectedOption","o","selectedOptionToEmit","optionList","optionClass","optionJSX","extraOptionList","newOptionList","separatorList","getExtraOptionList","Search","Transfer","isSearchEnabled","setSearchText","onSearchChangeHandler","onKeyDownHandlerHandler","shouldShowLoadMoreBtn","isLoadingMore","loadMoreText","showTabs","DowngradeWarningModal","UpgradePlanBillingSection","onPurchase","couponCodeResponseMessage","isSendApplyCouponCodeRequestError","havePromoCode","onDeleteAppliedCouponCode","onCouponCodeChange","userHasPromoCode","sendGetModifySubscriptionRequestStatus","sendGetModifySubscriptionRequestError","sendGetModifySubscriptionResponse","sendGetCalculatePayRequestStatus","sendPurchaseSubscriptionRequestStatus","sendPurchaseLeadFinderSubscriptionRequestStatus","sendPurchaseSubscriptionRequestMessage","sendPurchaseLeadFinderSubscriptionRequestMessage","sendPurchaseLeadFinderModifySubscriptionRequestMessage","sendGetAccountSubscriptionRequest","sendGetLeadFinderSubscriptionRequest","sendGetPurchaseModifySubscriptionRequestStatus","sendPurchaseLeadFinderModifySubscriptionRequestStatus","sendPurchaseModifySubscriptionResponse","existingPlanPrice","upgradeLtdPlanRequestStatus","upgradeLtdPlanRequestError","modifyLtdPlanRequestStatus","modifyLtdPlanRequestError","isBillingSummaryPending","currentPlanName","isLeadFinderUpgrade","isPurchaseInProgress","isApplyCouponCodeInProgress","userSelectedPlanDetails","setUserSelectedPlanDetails","setSubTotal","setIs3dSecureResponseStatePending","isDowngradeWarningModalShow","setIsDowngradeWarningModalShow","quota","isNewEntry","hideDowngradeWarningModal","handleDeleteAppliedCouponCode","onPurchaseHandler","sendPurchaseSubscriptionRequestSuccess","resetHandler","renderStripeButton","ClickedOnPayNow","handlePayNowAnalyticsEvent","creditBeforeModification","unusedBalance","checkError","onApplyCouponCode","isSubscriptionModified","sendPurchaseSubscriptionRequestError","sendPurchaseLeadFinderSubscriptionRequestError","sendGetPurchaseModifySubscriptionRequestMessage","sendPurchaseLeadFinderModifySubscriptionResponse","verificationToken","Authorization","finally","LongText","CreateUpdateCustomFieldModal","fallbackText","onTextAreaChange","onSelectChange","maxFallbackLength","isFallbackDirty","fallbackError","dirtyKeys","tempDirtyKeys","tempErrors","modalHeaderTitle","disableDropdownBox","CreateUpdateCustomOutcomeModal","_option","stateValues","dirtyValues","keyValue","background","SequenceList","SequenceSingle","ProspectListContent","MailboxEmailsList","ReportsContent","isPropsAreEqual","nextProps","TemplatesContent","UnifiedInboxContent","EmailAccountsContent","UpdateEmailAccount","CreateEmailInfrastructure","AddEmailAccounts","CreateConnectEmailAccount","HelpscoutButton","isHelpscoutBeaconOpen","setIsHelpscoutBeaconOpen","ON_HIDE","CellCard","bulkText","isOutcomeVisible","initialDealValue","sequenceProspectDealValue","iconContainerRef","setDealValue","setEditMode","isEdited","setIsEdited","selectedOutcome","setSelectedOutcome","calculateInputWidth","initialInputValue","inputElement","initialWidth","updatedValue","handleOutsideClick","trimLeadingZeros","handleDealIcon","isDealValueVisible","iconClassNames","inputValueClassNames","userFirstName","userLastName","nameList","RadioButtonTransfer","disabledLabel","WarningMessage","UpgradePlanDetails","planDetailHeading","planDescription","numberOfSlotsUserHave","onNumberOfSlotsChange","licensesText","sendModifySubscriptionRequest","numberOfAccounts","setNumberOfAccounts","isSlotInputDisabled","setIsSlotInputDisabled","showNumberInputWarningText","setShowNumberInputWarningText","member","planPriceDetailClassName","numberOfSlots","PlanCycleSwitch","getOptionClassNames","QUARTERLY","getSequenceReportCellData","getSequenceReportCellDataWithPercentage","getSequenceReportCellDataWithDealValue","showZeroDealValue","getSelectedColumns","setSelectedColumns","cols","sequenceReportsFilter","teamPerformanceFilters","getSequenceReportsFilters","setSequenceReportsFiltersToLocalStore","getTeamPerformanceFilters","setTeamPerformanceFilters","emailFilterToProperties","displayLabel","resolveSequenceEmailsFilters","getSequenceEmailParams","areSequenceEmailFiltersApplied","templateOptions","ByProspects","ByEmail","graphTypeOptions","Relative","Absolute","timeFrameOptions","Daily","applicable","Weekly","Monthly","Quarterly","transformGraphDataResponse","contacted","prospectContacted","replies","unSubscribed","positiveSentiment","positive","negativeSentiment","negative","transformEmailGraphDataResponse","emailSent","aggregateData","initialProspectPeriodData","initialEmailPeriodData","aggregated","currentPeriod","periodData","newPeriod","currentDate","getGraphTooltips","getGraphColorsArray","getGraphDataPercentageWise","totalValue","getGraphSeries","showPercentage","yAxisIndex","ms","resolve","renderUpgradePlanModal","hideUpgradePlanModal","renderConnectEmailAccountModal","showConnectEmailModal","renderAddContactsButton","fromModule","shouldRenderAddStepButton","shouldRenderSequenceScoreRefreshButton","checkProfileProgressAndRequest","IS_SAMPLE_SEQUENCE","activateSequenceStep","ActivateSequence","watchVideoStep","getTestEmailAddressFromLocalStorage","saveTestEmailAddressInLocalStorage","getTestEmaiContent","getEmailAccountDisconnectedContent","getEmailAccountNotConnectedContent","getEmailNotAddedModalContent","getConfirmationModalContent","prepareMergeTagOptions","orderedFields","Account","isButtonDisabled","attachments","Uploading","UploadFailed","Deleting","isSaveDisabled","footerPart","getPrevStepSubject","currentStepNumber","prevStepSubject","stepIndex","prevStep","variants","textContainsSpinTag","paseText","splitSpinContainingTextByPipe","getWordCountFromString","modifiedText","processSpinText","buffer","isBufferContainesSpinText","valueContainsSpinText","errObj","spinContent","valueOptions","getMaximumWordCountFromSpinText","spinText","maximumWordCount","spinTextOptions","maxChFromSubOptions","allWordCount","maxLengthFromOptions","maxWordCountFromSpinText","getMaximumCharacterCountFromSpinText","maximumCharacterCount","allChCount","checkSubjectEmailSuggestions","subjectWithoutEmojis","tagsSanitizedSubject","subjectPercentage","subjectStatus","subjectLength","checkWordCountSuggestions","wordCount","expressionRegex","stringWithoutHTML","normalizedStringWithoutHTML","expressions","expression","remainingWords","wordPercentage","wordStatus","wordLength","checkContentEmailSuggestions","doNotCheckLink","mergeTagOptions","mergeTags","personalizationPercentage","personalizationStatus","personalizationLength","filteredMergeTags","checkPersonalizationEmailSuggestions","linkObj","linkPercentage","linkStatus","linkLength","container","anchors","getElementsByTagName","checkLinksEmailSuggestions","spammyWordsInContent","SpammyWords","spammyPercentage","spammyStatus","spammyLength","spammyWords","checkSpammyEmailSuggestions","personalization","spammy","getEditorClassNames","showTitle","showPreheaderInput","checkTotalEmailContentSizeValidator","attachmentsSizeInBytes","Buffer","byteLength","getStringSize","getAttachmentsSize","attachmentStatusChangeHandler","attachment","oldAttachment","getIsHTMLContentDetected","regexForSenderSignatureExistenceCheck","regexForSenderSignatureCountCheck","ExportButton","handleExport","handleConsolidatedExport","isDropdownFlow","LeftStart","MailboxEmailsActivites","getMailboxEmailActivityLabel","MailboxEmailOpened","MailboxEmailLinkClicked","getMailboxEmailActivityIcon","getInitialMailboxEmailsFilterMeta","SentAt","getQueryParameters","SORT_BY_KEY","ORDER","SEARCH","OWNERS","ASC","getOrderInString","LastActivity","setSortBy","handleActivityItemsFilters","getActivityWithLabel","activityArr","fromMillis","dayText","isInitialAndCurrentFiltersSame","getIsFiltersChanged","getNotificationIconAndTooltip","notificationIcon","notificationTooltip","getActionTooltipText","getActionImageIcon","getOrderInStringForTableSort","getOrderInNumberForTableSort","generateName","getUpdatedFiltersBasedOnQuery","getDateTimeTooltipText","dateObj","ScoreFactorStatus","agencyClients","agencyClientsPaginationOptions","agencyClientsSequences","getAgencyClientsDropdownRequest","updateAgencyClientResource","selectedAgencyClientRequest","selectedAgencyClient","agencyClientManagementSlice","resetCreateAgencyClientRequest","resetUpdateAgencyClientRequest","resetDeleteAgencyClientRequest","resetGetAgencyClientActiveSequencesRequest","resetAgencyClientsSequences","resetAgencyClientResetPasswordRequest","resetAgencyClientAssignResource","resetToggleAgencyClientStatusRequest","resetAgencyClientManagementRequest","clientSequences","connectedClient","emailsListMeta","unifiedInboxEmailThreadActivity","emailCategories","selectedEmailThreads","selectAllEmailThreads","showMarkAsReadMessage","unifiedInboxSlice","resetGetEmailInboxRequestStatus","resetEmailInboxState","resetUnifiedInboxEmailThreadActivity","resetUpdateEmailCategoryRequest","resetMarkEmailConversationAsRead","resetMarkEmailConversationAsUnRead","resetDeleteEmailConversationRequest","updateReadStatus","setUnifiedInboxFilters","resetUnifiedInboxFilters","updateIsEmailSelected","isAllEmailThreadsSelected","refArray","selectedEmail","selectedEmailsCount","updateUniboxEmailScheduleData","clearIsEmailSelected","resetBulkMarkAsReadUnreadRequest","resetBulkCategoryAssignRequest","resetBulkDeleteRequest","setShowMarkAsReadMessage","resetShowMarkAsReadMessage","resetFilterData","resetReplyForwardDraftRequest","resetReplyDraftDiscardRequest","resetReplyScheduleCancelRequest","resetUploadAttachmentUniboxRequest","resetDeleteAttachmentUniboxRequest","resetExclusionListBlockRequest","emailId","hashIds","emailThreadIds","getDateIn12HourFormat","isfullMonth","defaultFormatter","getOffset","getDateIn12HourFormatNoTimeZone","withTime","targetDate","targetDateSeconds","toSeconds","currentDateMidnightSeconds","second","millisecond","secondsInDay","isRelative","dateFormate","withResizeDetectorRef","onResize","handleWidth","handleHeight","SelectBar","targetRef","selectBarClass","contentClass","SelectBarWithResizeDetector","Select","showProp","rootCloseProp","onToggleProp","selectBarRef","optionsListRef","selectBarInternalRef","setWidth","selectBarContent","handleShow","selectOptions","onToggleHandler","onResizeHandler","selectBarWidth","transferClass","selectedSequences","selectedUsers","sequenceReportsSummary","teamReportsSummary","sequenceReportsStats","teamReportsStats","totalTeams","countBy","isFirstEvent","graphData","reportsSlice","resetSequenceReportsState","resetTeamReportsState","resetGetSelectedSequencesRequest","resetGetSelectedUsersRequest","resetGetSequenceReportsSummaryRequest","resetGetTeamReportsSummaryRequest","resetGetSequenceReportsStatsRequest","resetGetTeamReportsStatsRequest","toggleCountByAndFirstEvent","onReportsByChange","DropDownActionOptions","ProspectSequenceListTable","sendSequenceMarkAsRepliedRequest","sendAddToStepRequest","sendRemoveFromSequenceRequest","sendGetSingleProspectSequencesDetailsRequest","isSingleProspectSubscribed","sendSequenceMarkAsFinishedRequest","showAddToStepModal","setShowAddToStepModal","setSequence","MarkAsReplied","MoveToStep","MarkAsFinished","ProspectProfileForm","getShouldFormFieldDisabled","prepareFormConfig","deleteSecondaryEmailRequestStatus","deleteSecondaryPhoneRequestStatus","primaryEmailChangeRequestStatus","onActivityChange","attribute","handleSaveContactAttributesSubmit","saveContactAttributesRequestStatus","sendPrimaryEmailChangeInProspectRequest","sendDeleteEmailFromProspectRequest","sendDeletePhoneFromProspectRequest","InfiniteScrollCustom","wrapperId","wrapperStyle","Activity","lengthOfPage","heightOfScroll","fetchActivity","unsubscribeRequestStatus","setItems","setHasMore","useAxios","axiosConfigSetter","dayTextSet","ts","luxon","activityArrElement","viewAddToSequenceModal","prospectSequenceMarkAsReplied","prospectSequenceRemoveFromSequence","prospectSequenceAddToStep","sendSaveContactAttributesRequest","prospectSequenceMarkAsFinished","sendAddTagsToProspectsRequest","prospectTags","addTagsToProspectsRequestStatus","setFetchActivity","setActiveTab","tagRef","dropDownListOptions","SEQUENCE_PROSPECT_STATUS_UNSUBSCRIBE","Unsubscribe","SEQUENCE_PROSPECT_REMOVE","dropDownActions","actionKey","onDropdownActionSelect","prospectAttributes","getFirstName","getLastName","handleOpenTagModal","openAddTagModal","SEQUENCE_PROSPECT_UPDATE_TAGS","SEQUENCE_PROSPECT_ADD_TO_SEQUENCE","SEQUENCE_PROSPECT_ACTIVITY","SEQUENCE_PROSPECT_SEQUENCES","SEQUENCE_PROSPECT_PROFILE","selectedRecords","isAddTagModal","ProspectDetails","addToStepRequestError","addToStepRequestFailedCount","addToStepRequestSuccessfulCount","sendAddContactToStepRequest","sendUnsubscribeProspectRequest","sendRemoveProspectRequest","unsubscribeProspectStatus","unsubscribeProspectError","removeProspectError","removeProspectStatus","unsubscribeProspectMessage","removeProspectMessage","addToStepRequestMessage","markAsRepliedError","markAsRepliedMessage","markAsRepliedStatus","sendSingleProspectRemoveFromSequencesRequest","removeFromSequenceError","removeFromSequenceMessage","removeFromSequenceStatus","saveContactAttributesRequestMessage","saveContactAttributesRequestError","markAsFinishedStatus","markAsFinishedMessage","markAsFinishedError","showDeleteProspect","setShowDeleteProspectModal","showTagsModal","setShowTagsModal","hideAddToSequenceStepModal","addToSequenceRequest","sendGetSingleProspectSequencesRequest","isRemoveProspectRequestPending","viewTagsModal","contactArr","deleteSecondaryEmailRequestError","deleteSecondaryEmailRequestMessage","deleteSecondaryPhoneRequestError","deleteSecondaryPhoneRequestMessage","primaryEmailChangeRequestError","primaryEmailChangeRequestMessage","EvCreditPlans","remainingCredit","isPlansLoading","creditPlanClass","isBestValue","renderCreditPlans","PurchaseCreditsModal","evCreditPlans","onBuyCredits","isPurchaseEmailVerificationCreditsLoading","sendGetEmailVerificationPlanRequest","getEmailVerificationPlanRequestStatus","sendGetLeadFinderOneTimePlansRequest","getLeadFinderOneTimePlansRequestStatus","openTalkToSalesChat","isChecked","setIsChecked","activeElement","generalEmailSub","emailSubForSequenceProspectVerify","generalEmailBody","sequenceProspectEmailBody","AttachmentFailedType","AttachmentFailedTypeReason","getIsRequestPendingForEmailComposeModal","createTemplateRequestStatus","updateTemplateRequestStatus","getIsDisabledForEmailComposeModal","selectedTemplateId","shared","getShouldRemountTable","onCreateTemplate","onShowUpgradePlanModal","onAddTemplate","starterPlanRestriction","TEMPLATES_CREATE","getTotalAttachmentLabel","getFailedAttachmentByType","failedAttachments","typeCounts","FileSizeExceed","FileFormatNotSupported","InvalidFile","typeToReasonMap","fileWord","dynamicReason","EmptyDataIcon1","PROSPECT_WRITE","TEMPLATE_WRITE","API_TOKEN_WRITE","LinkedInTaskType","PurposeOfCall","contentMaxLength","ConnectionRequest","Message","InMail","ViewProfile","PostInteraction","WhatsApp","Task","subjectInputMaxLength","isSubTypeSectionVisible","getStepSubType","getCallPurposeId","getCallPurposeTxt","purposeId","getInitialSubType","initialSubType","getSubTypeSectionLabel","getStepContentSectionLabel","getLinkedInType","getDaysAndStepsObj","absoluteExecutionDay","resultObject","getSequenceTypeTooltipText","isFormValid","k","getErrorString","getStepInitialTaskNote","actionStep","getIsAnyFieldDirty","getMinLength","selectedStepType","getPlaceHolderText","selectedStepSubType","getIsExpandOptionVisible","getContentAreaSize","getIsTaskNoteContent","getTaskNoteModalTitle","getTaskNoteModalMaxLength","getTemplateRequest","templateList","paginationMeta","templateSlice","resetTemplates","StrokeLinecap","CircularProgressBar","radius","pathDescription","diameter","PI","progressStyle","strokeDashoffset","transition","dominantBaseline","textAnchor","Round","FilterTab","tooltipOptions","groupedFilters","SHBackward","SHForward","Arrow","RightArrow","useContext","VisibilityContext","getNextItem","isLastItemVisible","scrollToItem","visibleItemsWithoutSeparators","setDisabled","nextItem","entry","LeftArrow","getPrevItem","isFirstItemVisible","initComplete","prevItem","HorizontalMenu","ratio","rootMargin","threshold","ProspectsFilterBar","getProspectsCount","handleClearSelection","isSequenceEmailsFilter","appliedFiltersCount","filterToPropertiesTemp","widthForLoaders","itemId","showCreateSuggestion","defaultSuggestionOpened","restrictExistingOnly","limitExceededRef","containerRef","getTagListRequestStatus","forceSuggestions","setForceSuggestions","setIsAddingMode","updateLimitState","currentCount","scrollTop","scrollHeight","existingTag","shouldRenderSuggestions","AddRemoveTag","isShowOnlyTagIcon","bulkSelectedOptions","onValidate","tagIconHeight","tagIconWidth","toggleDropdown","toggle","useImperativeHandle","generateModalTitleContent","removableTags","selectedRecordTags","flatMap","record","recordTag","StatusBadge","badgeClass","SECONDARY","WARNING","LIGHT_GREEN","BLUE","emailInboxFilterKey","emailInboxMetaDetailsKey","getEmailInboxMetaDetailsFromLocalStore","setEmailInboxMetaDetailsInLocalStore","metaDetails","DataTable","renderCell","dataIndex","getCellClassName","sticky","responsive","SearchInput","initialValue","hideClear","showIconOnSearch","setShowIconOnSearch","fixIconOnSearch","setFixIconOnSearch","clearSearch","mailboxEmailActivity","mailboxEmailsPaginationMeta","mailboxEmailsSlice","resetMailboxEmailsState","resetMailboxEmailActivity","resetMailboxEmailNotifications","resetMailboxEmailDelete","prospectsoverview","resetSendTestEmailState","resetProspectsOverview","NoSeatAvailableForEmailModal","isRedirectedFromEmailAccounts","ClickedWithBackground","OpenedWithBackground","IconAndLog","getIconForActivity","EmailBounced","EmailFailed","ReplyReceivedAuto","ReplyReceivedManual","UnsubscribedAuto","UnsubscribedManual","RemovedFromBlacklist","SequenceContactPaused","SequenceContactResumed","UniboxEmailOpened","UniboxEmailLinkClicked","PrimaryEmailChangedAuto","PrimaryEmailChangedManual","getActivityIcon","ActivityComponent","activityObj","parsed","sanitizeHtml","allowedTags","allowedAttributes","div","strong","span","isUncategorizedUser","MultiSelect","filteredValue","newOptions","teamName","getSelectedOptions","subOptions","subItem","updatedSelectedUserIds","newSelectedUserIds","structuredOptions","createGroup","groupOptions","opt","CustomFilterGroupLabel","handleParentGroupClick","isParentGroupSelected","defaultFiltersToDisplay","ProspectsFiltersModal","isUniboxFilters","sendGetOwnersList","sendGetTeamsAndMembersListRequest","sendGetStepDetailsListRequest","unifiedInboxContext","sendGetEmailAccounts","sendGetAgencyClientsDropdownRequest","sendGetSequencesListForFilterRequest","uniboxSequences","uniboxCategory","setConversationType","filtersToDisplay","TEAM_USER_READ","_outcomes","resolveAndSetFilters","setOutcomeFilters","selectedItems","Outcomes","setOutComeFilterGroup","selectedItemsIdList","filteredOutcomes","filterItems","notSelectedOutcomeItems","setOwnersFilters","emailAccountOptions","clientsOptions","mappedOwners","mappedStepsDetails","renderRadioButton","labelClassNames","isFilterDisabled","isParentSelected","RightStart","Sequences","CurrentStep","TaskPriority","ImportedFile","CreatedDate","displayDate","handleResetUnifiedInbox","selectedStatusFromProspectHeader","handleDoneUnifiedInbox","pushState","sendGetEmailCategoriesRequest","getProspectRequestError","getProspectCountRequestStatus","getProspectCountRequestError","getEmailAccountsListForFilterRequestStatus","getAgencyClientsDropdownRequestStatus","getAgencyClientsDropdownRequestMessage","getAgencyClientsDropdownRequestError","EmailVerificationError","accountCreditData","availableCredits","requiredCredits","ManualEmailVerification","isRenderEvPurchaseActionContent","setIsRenderEvPurchaseActionContent","renderEvPurchaseActionContent","ImportEmailVerification","showVerifyProspectCheckbox","verifyProspect","setVerifyProspect","EmailVerificationContent","verificationProcess","Manual","ImportFlow","onRemoveAssociation","oldSelectedOption","onClientChange","agencyClientWrapperClassName","sendGetSelectedAgencyClientRequest","sendUpdateAssignAgencyClientResource","getSelectedAgencyClientsDropdownRequestStatus","getSelectedAgencyClientsDropdownRequestMessage","getSelectedAgencyClientsDropdownRequestError","updateAssignAgencyClientResourceRequestStatus","updateAssignAgencyClientResourceRequestMessage","updateAssignAgencyClientResourceRequestError","AgencyClientDropdown","RestrictionErrorModal","getAccountEmailSendingDetails","EmailAccountsESPLabel","getEmailServiceProviderGroups","g","getLabelForEmailServiceProvider","getLabelsForProviders","providers","getStepTypeArray","usedThemeColor","iconColor","iconWidth","iconHeight","isHide","setSelectedSequence","selectedStep","setSelectedStep","sequenceSelect","absoluteDay","stepSelect","ReachedEmailSendingLimitModal","Stage","FileConfig","stageOptions","SelectFile","MapFields","FileUploader","fileTypes","fileUploaderClass","ChooseFile","accept","files","DefaultFields","allowedExtensions","PreSelect","onSelectSuccess","fileUploaderKey","setFileUploaderKey","dragging","setDragging","failureHandler","showFailedMessage","onFileSelect","firstRow","failedMessage","extension","MaxFileSizeInMB","Papa","parser","MaxRows","abort","MaxColumns","complete","skipEmptyLines","dragAndDropClassName","handleDroppedFiles","backgroundVariant","PostSelect","fileName","onRemove","csvError","message_one","message_two","onFinish","handleCSVImport","fileData","setFileData","setCsvError","importedContactsCount","hasEmptyValues","hasDuplicateValues","nonEmptyArray","hasMoreThanTwoIdenticalNonEmptyStrings","clsNames","DownloadSampleCSV","UploadFileNextStep","headerLikeEmail","headerLikeFirstName","headerLikeLastName","ButtonIdentifier","isRowDataTypeValid","rowData","MapList","fieldKeys","fieldOptions","onFieldRemove","onFieldChange","setFieldKeys","customFieldFooter","suggestedCustomFields","suggested","keyFieldMap","currentHeader","isTypeValid","conflictActionOptions","AddMissingFields","Overwrite","NoUpdate","sendCreateCustomFieldRequest","sendGetContactFieldsRequest","createCustomFieldRequestStatus","createCustomFieldRequestMessage","createCustomFieldRequestError","emailFieldResponse","getEmailField","emailFieldId","addMissingFieldsConflictActionKey","conflictActionKey","setConflictActionKey","firstStepKey","previousStep","onImport","fieldIds","openCustomFieldBox","setIsOpenCustomFieldBox","openCustomFieldDialogBox","FIELDS_CREATE","onCreateProspectCustomFieldSubmit","prevLoading","prevCreateCustomFieldRequestStatus","MapFieldsNextStep","sendGetCustomFieldRequest","getCustomFieldRequestStatus","getCustomFieldRequestMessage","getCustomFieldRequestError","TagProspectsContent","parseTagPayload","onBuyNow","sendGetEmailVerificationCreditsRequestStatus","isEmailVerification","handleOnFinishWithoutVerification","buttonIdentifier","setButtonIdentifier","isEvPurchaseActionRequired","setIsEvPurchaseActionRequired","isRenderContentLoading","setIsRenderContentLoading","onButtonClickHandler","addVerification","isActionRequired","ReviewAndImport","CONTINUE_VERIFICATION","SKIP_VERIFICATION","ImportStageTabs","stage","showPurchaseEvCreditsModal","setStage","importConfigParam","setImportConfigParam","selectFileFinishHandler","fileDataObj","filteredFields","importAnyWay","onStageChange","el","Report","timeOut","skipped","resetSequenceContacts","resetProspects","sendGetProspectListRequest","useParams","onFinishImporting","getPageSize","defaultPagination","reportDataStructure","reportFilePath","ImportProspectReport","paginationOption","prospectPagination","getImportProspectRestrictionMsg","importCount","ImportContactsModal","childRef","updateEmailVerificationValue","emailVerificationOption","IsVerificationActive","emailVerification","showRestrictionErrorModal","hideRestrictionErrorModal","showReport","showVerificationReport","showPurchaseCreditsModel","csvRowCount","importFlowFinishHandler","handleCloseModel","sendGetSequenceStepsRequest","addContactsFromCSVRequestStatus","addContactsFromCSVRequestError","getAdminSettingsRequestStatus","addContactsFromCSVRequestMessage","AddProspects","sendPurchaseEmailVerificationCreditsRequest","sendAddContactsFromCSVRequest","sendAddContactsFromCSVRequestWithoutStep","showState","importFlow","remainingCredits","handelCSVImport","handlePurchaseEvCredits","sendGetEmailVerificationCreditPlansRequest","sendPurchaseEmailVerificationCreditsRequestError","DailySendingLimitInput","sendingLimit","changeSendingLimit","zeroLimitError","isBulkUpdatingEmailAccounts","ZeroLimitErrorNudge","saveButtonDisabledChecker","hardLimitError","lowerLimitError","maxLimitReached","isUpdateMaxSendingLimitLoading","getESPSoftLimitWarningContentOne","softLimit","SoftLimitErrorNudge","softLimitAllowed","setSoftLimitAllowed","errorDivContent","hardLimit","onConnectAnotherEmailAccount","tempEmailServiceProvider","HardLimitErrorNudge","LowerLimitErrorNudge","getEspLimits","updateMaxSendingLimit","getEspLimitsRequest","updateMaxSendingLimitRequest","getEspLimitRequest","espLimits","EmailDailySendingLimitSlice","resetEmailDailySendingLimitState","resetUpdateMaxSendingLimitRequestState","EmailDailySendingLimit","sendGetEspLimitRequest","sendUpdateMaxSendingLimitRequest","sendGetEmailAccountSettingsRequest","updateMaxSendingLimitStatus","sendGetEmailAccountSetupScoreRequest","setSendingLimitBulk","setSendingLimit","setSendingLimitError","emailAccountIdParam","espLimit","domainMailboxId","getLimitsForEmailAccount","getFeatureCodeValue","EmailAccountSendingMaxDailySending","remainingQuota","settingsForEmailAccount","getSettingsLimitForEmailAccount","setShowAddEmailAccountModal","setZeroLimitError","softLimitError","setSoftLimitError","setHardLimitError","setLowerLimitError","showNoSeatAvailableForEmailModal","setShowNoSeatAvailableForEmailModal","setIsDirty","showBulkModal","setShowBulkModal","hideEmailAccountModal","hideSoftLimitModal","onUpdateLimitHandler","softLimitChecker","shouldAllowLimitUpdateChecker","isConnectEmailAccountRequestPending","SENDING_SETTINGS","zeroLimitChecker","lowerLimitChecker","hardLimitChecker","onCSVSelect","execute","executeBasedOnSubscriptionPlan","onSMTPAccountSelect","sendGetConnectedUsersAndEmailAccountsRequest","getEspLimitsRequestStatus","getConnectedUsersAndEmailAccountsRequestStatus","totalEmailAccounts","emailAccountQuota","EmailAccountsFileConfig","PreFileSelect","getSkippedCount","skCount","skippedRows","validRows","occurrences","ownerHashId","sCount","csvData","unparse","validFile","File","PostFileSelect","skippedCount","skRows","SelectEmailAccountsFile","setSuccessCount","setSkippedCount","setSkRows","setSuccessAndSkippedCount","AddBulkImportModal","importEmailAccountCsvRequestStatus","importEmailAccountViaCsv","showConnectButton","setShowConnectButton","handleCancel","linkValue","fData","getFieldValidator","AddProspectForm","addProspectRequestStatus","addProspectRequestMessage","addProspectRequestError","getFieldsRequestStatus","containerClasses","shouldSendAddToContactStepRequest","sendGetFieldsRequest","sendAddProspectRequest","getIsLoading","getAddProspectToasterMessage","getIsCompanyDomainField","generateFormFieldConfig","VerifyEmailModal","setCurrentTimestamp","dateToChange","currentBrowserTimeStamp","currentHour","getHours","currentMinute","getMinutes","currentSecond","getSeconds","setHours","handleDateRangeChange","isCustom","setDateFilter","onDateTimeSelectionChange","customDurationOptions","shouldHaveRangeLimit","shouldHaveOneYearLimit","fetch","selectedDateRangeOption","isValidRange","selectedDate","DatePickerComponent","start_date","end_date","onDateChange","min_date","max_date","datePickerRef","setOpen","getMonth","onCalendarClose","maxDate","shouldHaveMinMaxValueLimit","shouldShowDateTooltip","shouldHaveMaxValueLimit","shouldHaveMinValueLimit","dateFilterRef","isDatePickerOpen","setIsDatePickerOpen","datePickerToolTipText","setDatePickerToolTipText","dateFilter","selectDisplayText","startDateObj","endDateObj","getDateObj","onDateRangeChangeHandler","onClickOutSide","formatDateRangeForDatePickerTooltip","handleOnSelect","DatePicker","EmailAccountService","serviceName","serviceDetails","AddEmailAccountModal","isModalOpen","setIsModalOpen","SelectEmailService","ReportModal","StepContentArea","isContentError","isExpandOptionVisible","onExpandContentArea","contentLength","PauseResumeSequenceModal","actionMessage","capitalizedActionMessage","DropDownAtom","opId","listKey","listLabel","iconComponent","prospectSystemAttributes","isNonRemovable","FirstName","isEditable","skipSystemAttributes","fieldFromApi","dataBanner","getProspectFilterFieldAttributeValues","selectedValues","generateMultiLevelSelectOptions","fieldValue","shouldFetch","sendValuesInPayload","doNotUpdateOptions","getVerificationSubStatusMapping","verificationSubStatuses","ALIAS_EMAIL","CORRECTLY_FORMATTED_EMAIL","LIKELY_SECONDARY_EMAIL","CATCH_ALL","UNKNOWN_NOT_VALIDATED","UNKNOWN_WHILE_VALIDATING_ERROR","UNKNOWN_FAILED_SMTP_CONNECTION","UNKNOWN_SERVER_DISCONNECTED_WHILE_VALIDATING","UNKNOWN_NOT_VALIDATED_TEMPORARILY","UNKNOWN_SERVER_UNRESPONSIVE","UNKNOWN_TEMPORARY_SERVER_ERROR","UNKNOWN_TIMEOUT","DO_NOT_MAIL_GLOBALLY_BLACKLISTED","DO_NOT_MAIL_BOT_CREATED_EMAIL_ACCOUNTS","DO_NOT_MAIL_POSSIBLE_SPAM_TRAP","DO_NOT_MAIL_ROLE_BASED_EMAILS","DO_NOT_MAIL_TEMPORARY_EMAIL_ACCOUNTS","DO_NOT_MAIL_ROLE","DO_NOT_MAIL_MX_FORWARDED","ABUSE","INVALID_DOES_NOT_ACCEPT_EMAIL","INVALID_FAILED_SYNTAX","INVALID_POSSIBLE_TYPO","INVALID_MAILBOX_NOT_FOUND","INVALID_NO_DNS_RECORDS","INVALID_MAILBOX_FULL","INVALID_UNROUTABLE_IP_ADDRESS","SPAMTRAP","mapping","subStatus","getVerificationStatusFromSubStatus","Priority","getTagStyle","axiosParams","initialResponse","axiosConfig","setAxiosConfig","setResponse","Sent","getActivityData","activityItems","checkIsActivityExsist","RedirectUser","getProspectColumn","sequencesDetails","latestActivity","_field","Owner","getModalColumn","ProspectSequenceName","isVisibleAllSequences","setIsVisibleAllSequences","mappedCell","renderOverlayPopoverSpan","firstElement","renderSpan","OutcomeCell","Auto","RangeInput","flexWrap","rtl","renderMark","renderTrack","onTouchStart","getTrackBackground","colors","renderThumb","outlineStyle","outlineColor","outlineWidth","boxShadow","filterDecimal","apiCacheSlice","setApiCacheMetadata","apiName","metadata","clearAPICacheMetadata","selectApiCacheMetadata","ColdEmailPlanName","ModifySubscriptionProgressBar","onStepChange","disabledStep","selectPlanStepClassName","selectSlotsStepClassName","handleStepChange","setNumberOfSlotsUserWant","setMinimumNumberOfSlotsUserCanHave","setHavePromoCode","setIsModifySubscription","sendPurchaseSubscriptionRequest","sendGetAccountSubscriptionRequestError","sendGetConnectedUsersAndEmailAccountsRequestResponse","sendGetConnectedUsersAndEmailAccountsRequestStatus","sendPurchaseModifySubscriptionRequest","sendGetCalculatePayRequest","totalUsers","currentPlanId","ColdEmailPlanExploreBanner","BillingSummaryModal","sendGetAdminDetailsRequest","hasAccountSubscription","totalAmountToPay","getTotalAmountForOutreachPlan","applyDefaultCouponCode","setApplyDefaultCouponCode","hasReferralCode","getAdminSettingsRequestMessage","getAdminSettingsRequestError","sendGetConnectedUsersAndEmailAccountsRequestError","sendGetHandleSubscriptionResponse","sendGetHandleSubscriptionRequestError","sendGetHandleSubscriptionRequestStatus","isValidUser","customPlan","customPlanScale100kMonthly","currency","planValidityDays","isCustomPlan","customPlanScale100kYearly","isCustomScalePlusPlan","customScaleFeatures","highlight","customScale100kMonthlyFeatures","customScale100kYearlyFeatures","strikeText","customScale200kMonthlyFeatures","customScale200kYearlyFeatures","customScale300kMonthlyFeatures","customScale300kYearlyFeatures","customScale400kMonthlyFeatures","customScale400kYearlyFeatures","customScale500kMonthlyFeatures","customScale500kYearlyFeatures","customPlanFeatures","OutreachBasicMonthly","OutreachProMonthly","OutreachScaleMonthly","OutreachBasicYearly","OutreachProYearly","OutreachScaleYearly","getOutreachPlanMetaData","getPlanPrice","parentId","yearlyPlanPrice","getYearlyPlanPrice","isSamePlan","getPlanDetailsObj","getMonthlyPrice","allPlans","stepWisePlanProspects","getInitialStepValue","97","98","99","100","101","getPlansIcon","OutreachPlanCard","customScalePlusPlans","handlePlanSelect","rangeInputValue","setRangeInputValue","planDetails","setPlanDetails","onRangeInputChange","scalePlusPlan","p","correspondingYearlyPlanCode","correspondingYearlyPlan","getEmailOutreachPlanYearlyPrice","CustomPlan","PlansSection","selectedPlanId","setCustomScalePlusPlans","getCustomScalePlusPlanData","planDetailObject","planDetail","yearlyPlan","adjustedPlanDetail","Professional","isLimited","limitedAccessTooltipText","PlansFeatureMeta","ProfessionalFeatureMeta","starterFeatureMeta","professionalFeatureMeta","businessFeatureMeta","scalePlusFeatureMeta","customFeatureMeta","allFeatureAvailable","starterFeatureNotAvailable","higherLimit","OutreachPlans","setPlanCycle","isBillingSummaryModalShow","setIsBillingSummaryModalShow","setSelectedPlanDetails","updateQueryParams","selectPlanIndex","Period","Plan","resetQueryParams","period","upgradePlan","selectPlanBasedOnUrl","emailOutreachPlanMetaData","getActivePlanName","paddingTop","isAnnuallyCycle","ModifySubscription","userCurrentPlan","setModifySubscriptionStep","isPaymentFailed","setIsPaymentFailed","currentPlanMode","modifyAction","handleModifySubscriptionStep","onPaymentFailed","handelSelectPlan","subscriptionStep","sendUpgradePlanRequest","sendDowngradePlanRequest","sendPurchaseLeadFinderSubscriptionRequest","sendPurchaseLeadFinderModifySubscriptionRequest","sendGetHandleLeadFinderChurnkeySubscriptionError","sendGetHandleLeadFinderChurnkeySubscriptionStatus","stepWisePlanEmailMonthly","LeadFinderEmailScalePlus1Monthly","LeadFinderEmailScalePlus2Monthly","LeadFinderEmailScalePlus3Monthly","LeadFinderEmailScalePlus4Monthly","stepWisePlanEmailPhoneMonthly","LeadFinderEmailPhoneScalePlus1Monthly","LeadFinderEmailPhoneScalePlus2Monthly","LeadFinderEmailPhoneScalePlus3Monthly","LeadFinderEmailPhoneScalePlus4Monthly","stepWisePlanEmailYearly","LeadFinderEmailScalePlus1Yearly","LeadFinderEmailScalePlus2Yearly","LeadFinderEmailScalePlus3Yearly","LeadFinderEmailScalePlus4Yearly","stepWisePlanEmailPhoneYearly","LeadFinderEmailPhoneScalePlus1Yearly","LeadFinderEmailPhoneScalePlus2Yearly","LeadFinderEmailPhoneScalePlus3Yearly","LeadFinderEmailPhoneScalePlus4Yearly","LeadFinderSubscriptionPlansKey","leadNormal","1","emailPhone","12","leadScale","LeadFinderEmailStarterMonthly","LeadFinderEmailProMonthly","LeadFinderEmailScaleMonthly","LeadFinderEmailStarterYearly","LeadFinderEmailProYearly","LeadFinderEmailScaleYearly","getLeadFinderPlanMetaData","getLeadFinderPlanMonthlyPrice","correspondingMonthlyPlanCode","correspondingMonthlyPlan","isEmailPhonePlan","planCyclePeriod","planList","getPlanIcon","LeadFinderPlanCard","getLeadFinderPlanYearlyPrice","LeadFinderPlansSection","planCodes","getLeadFinderPlanData","scalePlanCode","getBaseLeadFinderScalePlanData","CreditSlider","getMarkText","getMarkMargin","LeadFinderPlans","leadFinderSubscriptionPlanResponse","sendPurchaseLeadFinderOneTimePlanRequestStatus","sendPurchaseLeadFinderOneTimePlanRequestMessage","sendPurchaseLeadFinderOneTimePlanResponse","sendPurchaseLeadFinderOneTimePlanRequest","setIsEmailPhonePlan","creditSliderSelectedValue","setCreditSliderSelectedValue","selectedLFCreditPlan","setSelectedLFCreditPlan","LFCreditPaymentFailed","leadFinderPlanMetaData","toLocaleLowerCase","LeadFinderUpgradePlan","sendGetLeadFinderPlansRequestError","sendGetLeadFinderSubscriptionRequestError","ModifyLeadFinderSubscription","sendGetLeadFinderPlansRequest","showGeneralErrorNotificationFunc","SearchAndAddModal","showSearchAndAddModal","addToStepRequestResultData","searchString","setSearchString","paginationData","setPaginationData","setSelectedProspects","selectedSteps","isAddProspectView","setIsAddProspectView","handleAddProspectModal","tempData","getProspectAttributes","ProspectNotFound","ProspectListTableOrEmptyData","selectAllContact","getSelectedProspects","selectSingleContact","showNewPagination","ShButton","SearchAndAddModalWrapper","isUserOnStarterPlan","subscribedPlanType","AddContactsButton","subscriptionPlanType","isDropDown","getSequenceStatsCountRequest","showImportContactsModal","setShowImportContactsModal","setShowSearchAndAddModal","showReportModal","setShowReportModal","setSearchAndAddModalResult","setShowUpgradePlanErrorModal","setIsRestrictionModalVisible","setWarning","getRiskyWarning","seqId","configData","TRACK_RISKY_PROSPECTS","fetchData","riskyWarning","onHandleDropdownClick","ImportViaCSV","addContactsButton","AddProspect","closeShowSearchAndAddModal","unsubscribeWarningOption","getPlanExpiredDescriptionMessage","isPlanDowngradedFromPaidPlan","RawPopoverConfirm","_content","PopoverConfirm","selectedAllSequenceProspects","setTagsActions","sendSequenceProspectBulkTagAssignRequest","sendSequenceProspectBulkTagUnAssignRequest","onAddTagsToProspects","onRemoveTagsFromProspects","_tagsToProspects","unassign","TagModal","ProspectListTable","isProspectSelectBannerShow","prospectFilters","columnsWithHandleEngagementOnClick","singleSelected","allSelected","ProspectListSearchBar","setInitialValue","DoNotContactListsSortBy","DoNoContactListApplicableTo","DoNoContactValueType","DoNotContactListHeader","onFiltersChange","onAddList","isAgencyConfigRequestPending","DNC_WRITE","ListNameField","doNotContactList","TotalFieldField","ClientAssociatedField","clientRef","AddedByField","addedBy","UpdatedAtField","updatedAtFiled","DNC_UPDATE","DNC_DELETE","getDoNotContactListColumns","cellClassName","isClientColVisible","colWidth","col1","col2","col3","col4","col5","getColWidth","DoNotContactListTable","doNotContactLists","doNotContactListsPaginationOptions","newFilters","DNC_LIST_READ","DeleteDoNotContactList","DoNotContactListEmptyUI","desc","btnHandler","shouldSaveButtonDisabled","defaultDoNotContactList","selectedClient","stateClientId","defaultClientId","defaultList","stateValue","defaultValue","dncListName","applicableTo","SpecificClient","AllClients","DNCListHelperText","AgencyOwnerGlobalList","AgencyOwnerClientSpecificList","NonAgencyUserList","AgencyClientOrNonAgencyUser","getListHelperText","isGlobalList","messageSpecificFor","DNC_LIST_WRITE","AddModifyDoNotContactList","onAddDoNotContactList","onUpdateDoNotContactList","modalMeta","setModalMeta","setValues","setErrors","setDirty","setSelectedClient","isGlobalAssociation","useLayoutEffect","helperAlertWarningClassname","getDoNotContactListsRequestStatus","getDoNotContactListsRequestError","sendGetDoNotContactListsRequest","resetGetDoNotContactListsRequest","createDoNotContactListRequestStatus","createDoNotContactListRequestError","sendCreateDoNotContactListRequest","resetCreateDoNotContactListRequest","createdDoNotContactListId","resetCreatedDoNotContactListId","updateDoNotContactListRequestStatus","updateDoNotContactListRequestError","sendUpdateDoNotContactListRequest","resetUpdateDoNotContactListRequest","deleteDoNotContactListRequestStatus","deleteDoNotContactListRequestError","sendDeleteDoNotContactListRequest","resetDeleteDoNotContactListRequest","UpdatedAt","selectedDoNotContactList","setSelectedDoNotContactList","addModifyDoNotContactListModalState","setAddModifyDoNotContactListModalState","deleteDoNotContactListModal","setDeleteDoNotContactListModal","onShowAddModifyDoNotContactListModal","onHideAddModifyDoNotContactListModal","onHideDeleteDoNotContactListModal","partialFilters","updatedFilters","getDoNotContactLists","createDoNotContactList","updateDoNotContactList","deleteDoNotContactList","getDoNotContactListDetailsMeta","getDoNotContactListDetails","updateDoNotContactListDetails","deleteDoNotContactListEmailsAndDomains","dncListId","emailDomainsIds","bulkDeleteDoNotContactListEmailsAndDomains","deSelectedIds","dncDetailsFilter","importDoNotContactListEmailsAndDomains","emailsDomainsColumn","getDoNotContactListsRequest","createDoNotContactListRequest","updateDoNotContactListRequest","deleteDoNotContactListRequest","getDoNotContactListDetailsMetaRequest","getDoNotContactListDetailsRequest","updateDoNotContactListDetailsRequest","deleteDoNotContactListEmailsAndDomainsRequest","bulkDeleteDoNotContactListEmailsAndDomainsRequest","importDoNotContactListEmailsAndDomainsRequest","updateDoNotContactListDetailsResponse","doNotContactListDetailsMeta","doNotContactListDetails","doNotContactListDetailsPaginationOptions","importDoNotContactListEmailsAndDomainsResponse","bulkSelectedDNCListEmailsAndDomains","selectedDNCListEmailsAndDomains","doNotContactSlice","resetGetDoNotContactListDetailsMetaRequest","resetDoNotContactListDetailsMeta","resetGetDoNotContactListDetailsRequest","resetUpdateDoNotContactListDetailsRequest","resetDeleteDoNotContactListEmailsAndDomainsRequest","resetBulkDeleteDoNotContactListEmailsAndDomainsRequest","resetImportDoNotContactListEmailsAndDomainsRequest","onBulkSelectDNCListEmailsAndDomains","clearDNCListEmailsAndDomainsSelection","selectAllDNCListEmailsAndDomains","isAllDNCListEmailsAndDomainsSelected","deSelectedDNCListEmailsAndDomainsIds","selectSingleDNCListEmailsAndDomains","resetSelectedDNCListEmailsAndDomains","dncList","dncListData","dncListDetails","getDoNotContactListsRequestMessage","createDoNotContactListRequestMessage","updateDoNotContactListRequestMessage","deleteDoNotContactListRequestMessage","DeleteButton","handleDelete","DoNotContactListDetailsHeader","listName","domainsCount","associatedClient","onEdit","onShowImportDoNotContactListModal","renderListCount","getEntriesMessage","isBulkAction","getEntriesTitle","DoNotContactListDetailsInput","doNotContactListId","updateDoNotContactListDetailsRequestStatus","updateDoNotContactListDetailsRequestError","sendUpdateDoNotContactListDetailsRequest","successfullyAddedItems","skippedItemsDueToLimitExceeded","updateDoNotContactListDetailsRequestMessage","isCurrentPageUnderTheSelectAllPage","lastPage","isBulkEmailAccountsSelected","getFormattedEmailsDomainsCount","selectedEmailsDomainsCount","SelectedEmailsDomainsRowInfoBanner","totalEmailsAndDomains","handleSelectAllRows","getSelectedEmailsDomainsCount","divClasses","spanClasses","EmailDomainNameField","doNotContactListDetail","getDoNotContactListDetailsColumns","isActionsColVisible","DNC_LIST_DELETE","DoNotContactListDetailsTable","getDoNotContactListDetailsRequestStatus","dncListEmailsAndDomainsTableRef","isBulkEmailsAndDomainsSelected","setIsBulkEmailsAndDomainsSelected","handleSelectDeselectRows","shouldResetSelection","handleResetSelectAllRows","AllowedExtensions","CSVFileValidationErrors","ExtensionNotAvailable","TypeNotSupported","SizeExceeds","OneRowRequired","MaxRowsExceeds","ChooseFileInput","chooseFileInputKey","setChooseFileInputKey","handleCsvError","importIcon","importMessage","actionIcon","FileSelectorInput","ImportReport","ImportEmailsDomainsViaCsv","importDoNotContactListEmailsAndDomainsRequestStatus","selectedMappedHeader","setSelectedMappedHeader","isImportedSuccessfully","setIsImportedSuccessfully","handleOnCancel","generateMapFieldDropdownOptions","getDefaultSelectedHeader","DoNotContactListDetailsSearch","ALL","DOMAIN","DoNotContactListDetails","sendGetDoNotContactListDetailsMetaRequest","getDoNotContactListDetailsMetaRequestStatus","getDoNotContactListDetailsMetaRequestError","getDoNotContactListDetailsRequestError","sendGetDoNotContactListDetailsRequest","sendDeleteDoNotContactListEmailsAndDomainsRequest","deleteDoNotContactListEmailsAndDomainsRequestStatus","deleteDoNotContactListEmailsAndDomainsRequestError","sendImportDoNotContactListEmailsAndDomainsRequest","importDoNotContactListEmailsAndDomainsRequestError","sendBulkDeleteDoNotContactListEmailsAndDomainsRequest","bulkDeleteDoNotContactListEmailsAndDomainsRequestStatus","bulkDeleteDoNotContactListEmailsAndDomainsRequestError","listId","dncListRow","setDncListRow","selectedEmailOrDomain","setSelectedEmailOrDomain","modifyDoNotContactListModal","setModifyDoNotContactListModal","importDoNotContactListModal","setImportDoNotContactListModal","onHideModifyDoNotContactListModal","onShowDeleteDoNotContactListModal","resetSelection","getIsGlobalList","updatedRow","totalDomainsCount","totalEmailsCount","getDoNotContactListDetailsMetaRequestLoading","getDoNotContactListDetailsRequestLoading","importDoNotContactListEmailsAndDomainsRequestStatusLoading","renderTableHeader","renderTableJSX","getDoNotContactListDetailsMetaRequestMessage","getDoNotContactListDetailsRequestMessage","deleteDoNotContactListEmailsAndDomainsRequestMessage","bulkDeleteDoNotContactListEmailsAndDomainsRequestMessage","importDoNotContactListEmailsAndDomainsRequestMessage","WebhookTriggerEvent","WebhookTriggerEventName","WebhookStatus","WebhookActivityType","WebhookHeader","onAddWebhook","WebhookEmptyUI","WebhookFailedMessages","400","401","403","404","405","408","429","500","502","503","504","generic","WebhookStatusField","getWebhookStatusFieldValues","WebhookNameField","onClickHandler","WebhookTriggerEventField","EmailLinkClicked","ReplyReceived","ProspectUnsubscribed","ProspectFinished","ProspectOutcomeUpdated","getWebhookTriggerEventName","WebhookLastSentField","lastActivityAt","WebhookUrlField","failedData","WebhookCreatedByField","WebhookTable","webhooks","webhookPaginationOptions","onPaginationChange","onWebhookStatusChanged","onWebhookNameClicked","getWebhookTableColumns","itemsCount","RestrictionModal","WebhookList","getWebhookListRequestStatus","updateWebhookStatusRequestStatus","updateWebhookStatusRequestError","updateWebhookStatusRequestMessage","resetUpdateWebhookStatusRequest","deleteWebhookRequestStatus","deleteWebhookRequestError","resetDeleteWebhookRequest","deleteConfirmationPopup","setDeleteConfirmationPopup","webhookForActions","setWebhookForActions","setShowRestrictionErrorModal","hideDeleteConfirmationPopup","getWebhookListHandler","sendGetWebhookListRequest","WEBHOOKS_WRITE","isWebhookRequestLoading","isDeleteWebhookRequestLoading","sendUpdateWebhookStatusRequest","webhookId","webhookStatus","sendDeleteWebhookRequest","getWebhook","getWebhookList","updateWebhookStatus","createWebhook","updateWebhook","testWebhook","resendFailedWebhookEvent","keyId","deleteWebhook","getWebhookActivityLogs","getWebhookActivityDetails","getWebhookRequest","getWebhookListRequest","updateWebhookStatusRequest","createWebhookRequest","updateWebhookRequest","testWebhookRequest","deleteWebhookRequest","getWebhookActivityLogsRequest","getWebhookActivityDetailsRequest","resendFailedWebhookEventRequest","webhookTestResult","webhookActivityLogs","webhookActivityLogsPaginationOptions","webhookActivityDetails","webhookSlice","resetGetWebhookRequest","updateWebhookData","resetWebhookData","resetGetWebhookListRequest","resetCreateWebhookRequest","resetUpdateWebhookRequest","resetTestWebhookRequest","resetWebhookTestResult","resetGetWebhookActivityLogsRequest","resetWebhookActivityLogs","resetGetWebhookActivityDetailsRequest","resetWebhookActivityDetails","resetResendFailedWebhookEventRequest","logs","eventDetails","sendGetWebhookRequest","getWebhookRequestStatus","getWebhookRequestMessage","getWebhookRequestError","getWebhookListRequestMessage","getWebhookListRequestError","createWebhookRequestStatus","createWebhookRequestMessage","createWebhookRequestError","deleteWebhookRequestMessage","AddWebhookHeader","showActivePausedToggle","onWebhookStatusToggle","TextInput","errorMsg","textInputClasses","HttpHeadersInput","onAddHeader","onDeleteHeader","onHeaderKeyChange","onHeaderValueChange","EventToSendInput","eventsToSend","onEventToSendChange","AddWebhookForm","webhookName","webhookNameError","onWebhookNameChange","webhookURL","webhookURLError","onWebhookURLChange","onWebhookTriggerEventChange","WebhookReqResPreview","statusCode","statusText","json","lastTriggeredAt","isExpanded","onExpandOrCollapsed","showRetry","onRetry","showEventType","showRequest","requestJson","copyState","setCopyState","formattedJson","formattedRequestJson","copyText","headerRight","wrapLongLines","useInlineStyles","webhookActivityTypeOptions","getFormattedDateTime","getFormattedDateForWebhook","dateValue","showTimeZone","momentObj","AddWebhook","defaultWebhook","sendCreateWebhookRequest","sendUpdateWebhookRequest","updateWebhookRequestStatus","updateWebhookRequestError","sendTestWebhookRequest","testWebhookRequestStatus","testWebhookRequestError","setWebhookName","setWebhookNameError","setWebhookURL","setWebhookURLError","setHeaders","setEventsToSend","webhookTestData","setWebhookTestData","testDataRef","setTestDataRef","setIsExpanded","generateHeadersObject","checkIsError","error_code","error_message","testResponse","testData","emailSentAt","isCreateWebhookRequestStatusPending","isUpdateWebhookRequestStatusPending","isTestWebhookRequestStatusPending","testBtn","webhookUrl","webhookEvent","webhookContentWrapperClassNames","updatedHeaders","updateWebhookRequestMessage","testWebhookRequestMessage","NoLogsFoundUI","activityType","WebhookCodeBlockLoader","WebhookLogsListLoader","WebhookLogs","getWebhookActivityLogsRequestStatus","getWebhookActivityLogsRequestError","sendGetWebhookActivityLogsRequest","getWebhookActivityDetailsRequestStatus","getWebhookActivityDetailsRequestError","sendGetWebhookActivityDetailsRequest","resendFailedWebhookEventRequestStatus","resendFailedWebhookEventRequestError","selectedLogStatusKey","setSelectedLogStatusKey","selectedEventIndex","setSelectedEventIndex","isGetWebhookRequestStatusLoading","isGetWebhookActivityLogsRequestStatusLoading","isGetWebhookActivityDetailsRequestStatusLoading","webhookLogsClassNames","webhookSelectedClassNames","visible","activityAt","getWebhookActivityLogsRequestMessage","getWebhookActivityDetailsRequestMessage","resendFailedWebhookEventRequestMessage","AddWebhookLoader","WebhookTabsEnum","WebhookDetailAndLogs","tabFromParams","isGetWebhookRequestStatusPending","showErrorMsg","UsersAndTeamsHeader","UserNameCell","isLastRow","nameCol","getStatusLabel","Invited","ActionsCell","currentUserATMRole","setIsDropdownOpen","actionsCounter","outerAction","dropdownActions","filteredActions","rowRole","Admin","ACCOUNT_USER_UPDATE","ACCOUNT_TEAM_INVITE_WRITE","ACCOUNT_USER_DELETE","ACCOUNT_USER_INVITE","getActionPermissions","ChangeRoleModal","defaultRole","selectedRole","setSelectedRole","roles","Member","AssignTeamModal","getTeamsListRequestStatus","actionUser","keepAllTeamsAssignedDefault","sendGetAssignTeamSettingRequest","searchInput","assignTeamDropdown","setAssignTeamDropdown","selectedTeamsKeys","setSelectedTeamsKeys","setKeepAllTeamsAssigned","isEditableDivFocused","setIsEditableDivFocused","mappedTeamsForFilter","onSearchChange","selectedTeams","html","teamKey","DeleteUserModal","DisableUserModal","EmailInput","onEmailRemove","isEmailError","emailInputRef","useScreenSize","innerWidth","screenWidth","setScreenWidth","screenHeight","setScreenHeight","handleResize","InviteUserModal","addUserRequestStatus","sendGetTeamsListRequest","emailValue","setEmailValue","setIsEmailError","emailInputAction","setEmailInputAction","onAddEmail","addedEmails","emailRef","emailValues","isAddUserRequestPending","AgencyInviteUserModal","onSubmitHandler","shouldShowUpgradePlanModal","onFilterChange","inviteUserModal","hideInviteUserModal","sendGetUsersRequest","getUsersRequestStatus","sendChangeUserRoleRequest","changeUserRoleRequestStatus","changeUserRoleRequestError","sendAssignTeamRequest","assignTeamRequestStatus","assignTeamRequestError","sendAddUserRequest","addUserRequestError","sendDeleteUserRequest","deleteUserRequestStatus","deleteUserRequestError","sendDisableUserRequest","disableUserRequestStatus","disableUserRequestError","sendResendInviteRequest","resendInviteRequestStatus","resendInviteRequestError","sendReactivateUserRequest","reactivateUserRequestStatus","reactivateUserRequestError","sendAgencyInviteUserRequest","agencyInviteUserRequestStatus","agencyInviteUserRequestError","setPremiumFeatureMeta","sendDeleteExpireSessionRequest","sessionExpireRequestStatus","setActionUser","changeRoleModal","setChangeRoleModal","assignTeamModal","setAssignTeamModal","deleteUserModal","setDeleteUserModal","disableUserModal","setDisableUserModal","isDropdownOpen","hideChangeRoleModal","hideAssignTeamModal","hideDeleteUserModal","hideDisableUserModal","getUpgradePlanModalTitleAndBody","ACCOUNT_TEAM_MEMBER_READ","TEAM_MEMBER_READ","TEAM_TEAM_MEMBER_READ","loginTime","logoutTime","ipaddress","getInviteUserMessage","isDefaultTeamMember","AGENCY_USER_INVITE","sendExportUsersRequest","getUsersRequestError","getUsersRequestMessage","changeUserRoleRequestMessage","assignTeamRequestMessage","addUserRequestMessage","getTeamsListRequestError","getTeamsListRequestMessage","deleteUserRequestMessage","disableUserRequestMessage","resendInviteRequestMessage","reactivateUserRequestMessage","agencyInviteUserRequestMessage","AddModifyTeamModal","defaultValues","buttonLabel","buttonLoadingText","getMembersListRequestStatus","teamMembersSearchInput","teamManagersSearchInput","assignTeamMemberDropdown","setAssignTeamMemberDropdown","assignTeamManagerDropdown","setAssignTeamManagerDropdown","membersOptions","setMembersOptions","setTeamName","teamNameError","setTeamNameError","selectedTeamMembers","setSelectedTeamMembers","managersOptions","setManagersOptions","selectedManagers","setSelectedManagers","teamMembersSearchText","setTeamMembersSearchText","teamManagersSearchText","setTeamManagersSearchText","isTeamManagersDivFocused","setIsTeamManagersDivFocused","onAssignTeamManagerSearchChange","TeamManager","getTeamNameErrorMessage","mappedMembersList","newMembers","pillsClassName","managerIds","m","getStatusIcon","TeamDetailsModal","onTeamMemberRemove","getTeamsRequestStatus","deleteUserFromTeamRequestStatus","displayedRows","setDisplayedRows","admins","teamManagers","members","handleSeeMoreClick","renderSeeMoreBtn","isDeletionInProgress","ACCOUNT_TEAM_UPDATE","renderUsers","DeleteTeamModal","Teams","isTeamsFilterDirty","setIsTeamsFilterDirty","addTeamModal","showAddTeamModal","hideAddTeamModal","sendGetTeamsRequest","sendGetMembersListRequest","getMembersListRequestError","sendAddTeamRequest","addTeamRequestStatus","addTeamRequestError","sendModifyTeamRequest","modifyTeamRequestStatus","modifyTeamRequestError","sendDeleteTeamRequest","deleteTeamRequestStatus","deleteTeamRequestError","sendDeleteUserFromTeamRequest","deleteUserFromTeamRequestError","teamDetailsModal","setTeamDetailsModal","deleteTeamModal","setDeleteTeamModal","hideDeleteTeamModal","onHideAddTeamModal","onSortChange","_sortBy","onViewTeamDetailsModal","managers","manager","ACCOUNT_TEAM_DELETE","selectedTeam","getTeamsRequestError","getTeamsRequestMessage","getMembersListRequestMessage","addTeamRequestMessage","modifyTeamRequestMessage","deleteTeamRequestMessage","deleteUserFromTeamRequestMessage","UsersAndTeamsEmptyScreen","imrSrc","durationCustomOptions","UsersAndTeamsExtraContent","showInviteUserModal","isInviteUserModalBtnLoading","dateFilters","onDateFilterChange","isDateFilterModal","setIsDateFilterModal","popoverEle","dateFilterDropdownEle","optionObject","defaultOption","TeamsPlanBasedRestriction","NoSeatAvailableForTeamModal","UsersAndTeamsContent","getConnectedUsersAndEmailAccountsRequestError","exportUserRequestStatus","teamTableRef","setInviteUserModal","setAddTeamModal","restrictionErrorModalMeta","setRestrictionErrorModalMeta","premiumFeatureMeta","isRestrictionModalShow","setIsRestrictionModalShow","noSeatAvailableForTeamModal","setNoSeatAvailableForTeamModal","paths","getDefaultActiveTab","isUsersFilterDirty","setIsUsersFilterDirty","onSendGetUsersRequest","ACCOUNT_TEAM_WRITE","isGetUsersRequestLoading","isGetTeamsRequestLoading","tabBarExtraContent","payloadDate","selectedoption","renderTeamsTab","ChangeEmailModalFlow","newPassword","ChangePasswordModal","sendVerifyCurrentPasswordRequest","confirmNewPassword","currentPasswordVisible","newPasswordVisible","confirmNewPasswordVisible","toggleConfirmPasswordVisibility","toggleCurrentPasswordVisibility","toggleNewPasswordVisibility","verifyCurrentPasswordRequestStatus","hasPermissionToUpdateProfile","DeleteAccountModalFlow","ValidateCurrentPassword","onModalStateChange","setPassword","setShowPassword","setIsCurrentPasswordValid","isVerifyCurrentPasswordRequestPending","resetPasswordRequestStatus","emailError","setEmailError","isResetPasswordRequestLoading","NewEmail","sendOtpForChangeEmailRequestStatus","isSendOtpForChangeEmailRequestPending","ResendOTPButton","isButtonLoading","handleResendOtp","counter","setCounter","prevCounter","VerifyOTP","resendOtpForChangeEmailRequestStatus","verifyOtpForChangeEmailRequestStatus","setOTP","inputRefs","handleKeyDown","currentIndex","isResendOtpForChangeEmailRequestPending","isVerifyOtpForChangeEmailRequestPending","setRef","newOTP","EmailChangedSuccessfully","handleOnSubmit","ChangeEmailModal","sendOtpForChangeEmailRequestError","verifyOtpForChangeEmailRequestError","modalState","setModalState","setNewEmail","verifyCurrentPasswordRequestError","resetPasswordRequestError","resendOtpForChangeEmailRequestError","verifyCurrentPasswordRequestMessage","sendOtpForChangeEmailRequestMessage","resendOtpForChangeEmailRequestMessage","verifyOtpForChangeEmailRequestMessage","resetPasswordRequestMessage","AuthenticationMethod","DeleteAccount","sendDeleteMyProfileRequest","deleteMyProfileRequestStatus","deleteMyProfileRequestError","isDeleteMyProfileRequestPending","DeleteAccountModal","deleteMyProfileRequestMessage","SSOStatus","MyProfileContent","getTimeZoneOptions","deleteAccountButton","authMethod","getAuthenticationMethod","isOAuth","showOAuthDeleteModal","showDeleteAccountModal","ACCOUNT_DATA_DELETE","timeZoneKey","changeEmailModal","showChangePasswordModal","deleteAccountModal","showOAuthChangeEmailWarningModal","showOAuthChangeEmailModal","showVerifySSOEmailModal","newSSOEmailError","showSSOEmailChangeModal","newSSOEmailVerificationInProgress","showSSOEmailChangeSuccessModal","hideChangePasswordModal","changePasswordHandler","handleOnChangeEmail","hideChangeEmailModal","hideDeleteAccountModal","handleVerifyEmail","hideSSOChangeEmailModal","handleSSOEmailChangeSubmit","handleNewSSOEmailInput","hideSSOEmailChangeSuccessModal","handleSSOEmailChangeSuccess","hideOAuthChangeEmailWarningModal","hideOAuthDeleteModal","validateOAuth","hideOAuthChangeEmailModal","oAuthChangeEmail","replaceState","updatePasswordRequestStatus","updatePasswordRequestMessage","updatePasswordRequestError","updateMyProfileRequestError","updateMyProfileRequestMessage","updateMyProfileRequestStatus","sendHomeMetaUpdate","myProfileDetails","MY_PROFILE_UPDATE","sendUpdateMyProfileRequest","ACTIVE_ENABLED","sendUpdatePasswordRequest","oauthMethod","isUpdateMyProfileRequestStatusPending","isUpdatePasswordRequestStatusPending","authenticationMethod","shouldHidePassword","CREDENTIALS_UPDATE","ACCOUNT_PROFILE_DANGER_ZONE","ValidationChangeEmail","sendGetMyProfileRequest","getMyProfileRequestMessage","getMyProfileRequestError","WhitelabelTabs","ResourceType","createImage","getCroppedImg","imageSrc","pixelCrop","canvas","ctx","getContext","drawImage","toBlob","WhitelabelImagePicker","dndDescription","selectedImage","addedImage","showImageCropper","deleteResourceRequestStatus","cropperWidth","cropperHeight","onSelecting","onImageDelete","cropperRef","isEditView","setIsEditView","isImageReplaced","setIsImageReplaced","isDeleteModalVisible","setIsDeleteModalVisible","setImageSrc","setCropper","croppedAreaPixels","setCroppedAreaPixels","readV3Image","credentials","ok","toggleEditView","clickInput","transformToCroppedImage","croppedImage","cropper","getCroppedCanvas","toDataURL","validateImageResolution","croppedArea","onerror","onFileChange","reader","FileReader","readAsDataURL","onDropEnd","aspectRatio","preview","viewMode","guides","autoCropArea","checkOrientation","onInitialized","WhitelabelSkeletonView","getCapitalTitle","splitStr","LogoBranding","saveCompanyNameRequestStatus","getResourceRequestStatus","saveResourceRequestStatus","editCompanyNameRequestStatus","saveCompanyNameRequestMessage","editCompanyNameRequestMessage","uploadResourceRequestStatus","editResourceRequestStatus","getResource","saveCompanyNameRequest","saveResourceRequest","editCompanyNameRequest","editResourceRequest","deleteResourceRequest","resetResourceState","setCompanyName","logoImage","setLogoImage","iconLogoImage","setIconLogoImage","faviconImage","setFaviconImage","actionCard","setActionCard","saveCompanyName","uploadResource","editResource","Favicon","editCompanyName","fileUploadHeaders","ContentType","deleteResource","getDNS","saveDNS","deleteDNS","getResourceRequest","uploadResourceRequest","getDNSRequest","saveDNSRequest","deleteDNSRequest","getInitialRequestState","dnsDetails","isVerified","whitelabelSlice","uploadResourceRequestMessage","editResourceRequestMessage","getDomainSetupTableColumns","refreshDomain","isValidDomain","cNameValue","DomainSetupTable","isDomainSetup","isRefreshed","extractParts","cName","textDomain","isSubDomain","recordType","recordHost","getTextValue","pointsToValue","NotificationBanner","submessage","gap","flex","DomainConfiguration","getDNSDetailsRequestStatus","saveDNSRequestStatus","deleteDNSRequestStatus","setDomain","setIsRefreshed","removeTrailingSlash","endsWith","CustomDomainRowActions","customDomainsList","customDomainSlice","resetCustomDomainState","resetCustomTrackingDomainState","resetCreateCustomTrackingDomain","resetUpdateCustomTrackingDomain","resetDeleteCustomTrackingDomain","resetCheckBulkEmailAccountSetupScoreRequest","clearIndicator","isFocused","indicatorSeparator","provided","valueContainer","DropdownIndicator","CustomDomainDnsRecord","host","hostInput","valueInput","inputIconConfig","CustomDomainModal","verifyAndSave","isEmailAccountsLoading","hostName","setHostName","domainInputField","setDomainInputField","setEmailAccountIds","createCustomDomainRequestError","updateCustomDomainRequestError","setHostAndDomain","isUndefined","domainArray","optionValues","multiSelectHandler","onDomainChangeHandler","CustomDomainHeader","CUSTOM_DOMAIN_CREATE","vpX","TableSkeleton","colCount","rowCount","rowWidth","headerBoxes","headerBoxesPos","box","boxXY","ry","headerFactory","rowLinePos","rowElementPos","lineX","rowLines","rowElements","rowFactory","CustomDomainValidIcon","Green","customDomainColumnData","ConditionTypeEnum","CustomDomainList","editClickHandler","deleteClickHandler","defaultClickHandler","Delete","DomainModal","showWithCondition","ifComponent","elseComponent","conditionType","If","deleteCustomDomainContent","CustomDomainEmptyScreen","showYtModal","setShowYtModal","sendGetEmailAccountsListRequest","sendGetCustomDomainsRequest","sendCreateCustomDomainRequest","getCustomDomainsRequestStatus","getEmailAccountsListRequestStatus","createCustomDomainRequestStatus","createCustomDomainRequestMessage","sendDeleteCustomDomainRequest","deleteCustomDomainRequestStatus","deleteCustomDomainRequestError","deleteCustomDomainRequestMessage","sendUpdateCustomDomainRequest","updateCustomDomainRequestStatus","updateCustomDomainRequestMessage","checkBulkEmailAccountSetupScoreRequestStatus","sendSetDefaultCustomDomainRequest","setDefaultCustomDomainRequestError","setDefaultCustomDomainRequestMessage","setDefaultCustomDomainRequestStatus","showCustomDomainModal","setShowCustomDomainModal","AddDomain","modal","setModal","modalEmailAccounts","setModalEmailAccounts","modalDomain","setModalDomain","modalSelectedEmailAccounts","setModalSelectedEmailAccounts","currentRowData","setCurrentRowData","setVerificationStatus","resetModalProps","hideModal","hideDeleteDomainModal","onAddDomainClickHandler","emailAccountsData","newDomain","emailAccountsToBeRemoved","emailAccountsToBeInserted","EditDomain","CUSTOM_DOMAIN_UPDATE","IfElse","sendCheckBulkEmailAccountSetupScoreRequest","getEmailAccountsListRequestMessage","getEmailAccountsListRequestError","getCustomDomainsRequestMessage","getCustomDomainsRequestError","createSchedule","updateSchedule","scheduleId","getSchedules","deleteSchedule","setDefaultSchedule","createScheduleRequest","getScheduleRequest","updateScheduleRequest","deleteScheduleRequest","setDefaultScheduleRequest","scheduleSlice","hideCreateScheduleRequestError","ScheduleHeader","headerName","buttonText","clickHandler","SCHEDULE_WRITE","SCHEDULES_CREATE","timeSlotDataValidation","timeSlotObj","tmpSlot","checkValidation","slotItem","slotHourMinuteStart","slotHourMinuteEnd","intervalInMinutesStart","validateOverlapTimeSlot","timeSlot","slotsWithAbsoluteValue","convertTimeSlotInAbsoluteTime","startAbsoluteValue","validationObj","endAbsoluteValue","overlapError","slot","absoluteValueOfStartTime","absoluteValueOfEndTime","scheduleName","UpdateSchedule","inputStartHourRef","inputStartMinRef","inputEndHourRef","inputEndMinRef","slot1Ref","slot2Ref","slot3Ref","slotInputRef","timeSlots","updatedSlot","invalidDataError","actionSchedule","addSlotHandler","onSlotChange","addSlot","removeSlot","onInputSlotBlur","slotNumber","nextRef","parentIndex","slotIds","slotId","dirtyFromState","errorsFromState","sendUpdateScheduleRequest","timeSlotWithoutErrorAndId","slotWithoutErrorAndId","timeslot","updateScheduleRequestStatus","timezoneOptions","timeSlotLabelMapWithSlots","slotOfGivenDay","SCHEDULE_UPDATE","onTimezoneSelect","onInputSlotFocus","modifiedSlot","SCHEDULE_DELETE","sendDeleteScheduleRequest","updateScheduleRequestMessage","updateScheduleRequestError","ScheduleList","accordionItemPanel","toggleAccordionCounter","activeUUIDs","uuids","setDefaultHandler","onDeleteHandler","accordionScheduleItem","onTagClick","Blue","onAccordionItemClick","DeleteSchedule","DeleteScheduleAlert","showDeleteScheduleModal","showDeleteScheduleAlert","deleteAlertMessage","handleAddSchedule","hideDeleteScheduleModal","onDeleteScheduleSubmit","makeDefaultSchedule","hideDeleteScheduleAlert","sendGetSchedulesRequest","createScheduleRequestStatus","createScheduleRequestMessage","setDefaultScheduleRequestStatus","setDefaultScheduleRequestMessage","setDefaultScheduleRequestError","deleteScheduleRequestStatus","deleteScheduleRequestMessage","deleteScheduleRequestError","alertMessage","sendCreateScheduleRequest","sendSetDefaultScheduleRequest","isDeleteRequestPending","createScheduleRequestError","getScheduleRequestStatus","getScheduleRequesttMessage","getScheduleRequestError","AdminSettingToggle","learnMoreLink","nestedSettings","IntegrationSetting","getToggleOnOrOffMessage","isOn","getEmailVerificationModalContent","getProspectSharingOnOffMessage","getProspectDuplicationAllowedModalContent","getAutoAddToProspectOnLeadRevealOnOffMessage","getAutoAddToProspectOnLeadRevealModalContent","SequenceSetting","setToastMessage","priorityAndDistributionType","AdminSettingSection","AdminSettingExclusionInput","sendUpdateExclusionListRequest","updateExclusionListRequestStatus","updateExclusionListRequestMessage","updateExclusionListRequestError","getExclusionListRequestStatus","sendGetExclusionListRequest","handleLoadMore","removedIds","setRemovedIds","newAddedEmailsAndDomains","setNewAddedEmailsAndDomains","exclusionListStrings","emailsAndDomainsValues","exclusion","entity","filteredExclusionList","emailOrDomain","updatedEmailsAndDomains","handleOnSave","itemsToAdd","itemsToRemove","isListUpdating","removedItems","newlyAddedItems","updateAdminSettingsStatus","updateAdminSettingsMessage","updateAdminSettingsError","integrationAdminSetting","getIntegrationAdminSettingRequestStatus","changeIntegrationSettingRequestStatus","getIntegrationSetting","sendChangeIntegrationSetting","sendUpdateSSOOrganizationRequest","updateSSOOrganizationRequestStatus","updateSSOOrganizationRequestError","sendGetSSOOrganizationRequest","sendGetSSOSetupUrlRequest","getSSOSetupUrlRequestStatus","getSSOSetupUrlRequestError","shouldFetchExclusionList","isInitialRequest","setIsInitialRequest","emailVerificationModal","setEmailVerificationModal","toastMessage","prospectDuplicationModal","setProspectDuplicationModal","isProspectSharingConfirmationModalVisible","setIsProspectSharingConfirmationModalVisible","autoAddToProspectOnLeadRevealConfirmationModalVisible","setAutoAddToProspectOnLeadRevealConfirmationModalVisible","integrationSetting","setIntegrationSetting","showSSOEnableWarningModal","setShowSSOEnableWarningModal","ssoDisplayName","setSSODisplayName","isSSODisplayNameError","setIsSSODisplayNameError","ssoDomains","setSSODomains","isSSODomainError","setIsSSODomainError","showSSOSetUpModal","setShowSSOSetUpModal","showSSOSetupLinkModal","setShowSSOSetupLinkModal","isUserRequestedSSOUrl","setIsUserRequestedSSOUrl","isSSOSetupInProgress","setIsSSOSetupInProgress","hasSSOValidPlan","subPlan","ProspectDuplicationAllowed","ProspectSharing","AutoAddToProspectOnLeadReveal","onSettingToggle","handleGetExclusionListRequest","onShowSSOSetUpModal","isVerificationActive","prospectDuplicationAllowed","prospectSharing","isAICategorization","trackUniboxOpen","trackUniboxClick","isAddProspectFromBusinessDomain","trackExternalMails","enableExclusionList","isSSOEnabled","isMFAEnabled","AICategorization","TrackUniboxOpen","TrackUniboxClick","AddProspectFromBusinessDomain","TrackExternalMails","EnableExclusionList","IsSSOEnabled","IsMFAEnabled","getAdminSettingsValues","ACCOUNT_SSO_SETTING_READ","agencyId","getSSOTogleLabel","isSSOActiveAndEnabled","ind","getSSOLoginData","ssoOrganizationData","updateSSOOrganizationRequestMessage","getSSOOrganizationRequestStatus","getSSOOrganizationRequestMessage","getSSOOrganizationRequestError","getSSOSetupUrlRequestMessage","getExclusionListRequestMessage","getExclusionListRequestError","integrationSettings","adminSetting","OutcomeContentTabs","defaultOutcome","totalOutcomes","customOutcomePagination","defaultOutcomePagination","customOutcomeSlice","resetCreateCustomOutcomeRequest","resetProspectOutcomeData","processedSentiment","processedName","CustomOutcomeHeader","generateOutcomesActionsColumn","CustomOutcomes","OUTCOME_UPDATE","OUTCOME_DELETE","getDefaultTableWrapper","customFieldPaginationCount","defaultFieldPaginationCount","SystemOutcomes","getDeleteOutcomeDropdownOptions","actionOutcomeId","isSort","currentOption","DeleteCustomOutcomeModal","onOutcomeIdUpdate","getAllOutcomesRequestStatus","sendAllOutcomesRequest","actionCustomOutcome","selectedCustomOutcomeUpdateId","setSelectedCustomOutcomeUpdateId","isFetching","UpdateProspectCustomOutcomeModal","prepareCustomOutcomes","prepareDefaultOutcomes","defaultOutcomes","onDefaultOutcomePaginationOptionsChangeHandler","onCustomOutcomePaginationOptionsChangeHandler","onActonHandler","onCreateHandler","renderTable","hidePageOptions","OUTCOME_WRITE","sendGetCustomOutcomeRequest","sendGetDefaultOutcomeRequest","onUpdateHandler","initialSearch","onCustomFieldPaginationOptionsChangeHandler","newPartialOptions","onDefaultFieldPaginationOptionsChangeHandler","_search","componentWillUnmount","onUpdateProspectCustomOutcomeSubmit","sendUpdateCustomOutcomeRequest","hideCreateProspectCustomOutcomeModal","changeActionCustomOutcomeProspectUpdateId","actionCustomOutcomeProspectUpdateId","showUpdateProspectCustomOutcomeModal","hideUpdateProspectCustomOutcomeModal","showProspectCustomOutcomeDeleteModal","showDeleteCustomOutcomeModal","hideDeleteCustomOutcomeModal","onDeleteCustomOutcomeSubmit","sendDeleteCustomOutcomeRequest","componentDidMount","getOutcomes","forceRefetch","cL","cP","cSearch","dL","dP","dSearch","createProspectCustomOutcomeRefresh","updateProspectCustomOutcomeRefresh","updateCustomOutcomeRequestStatus","updateCustomOutcomeRequestError","showUpdateOutcomeSuccessToaster","deleteCustomOutcomeRefresh","deleteCustomOutcomeRequestStatus","deleteCustomOutcomeRequestMessage","deleteCustomOutcomeRequestError","getCustomOutcomeRequestStatus","getDefaultOutcomeRequestStatus","getAllCustomOutcomeRequestStatus","isUpdateRequestPending","systemCount","customCount","getCustomOutcomeRequestMessage","getCustomOutcomeRequestError","getDefaultOutcomeRequestMessage","getDefaultOutcomeRequestError","updateCustomOutcomeRequestMessage","getAllCustomOutcomeRequestMessage","getAllCustomOutcomeRequestError","ApiTokenHeader","onCreateApiTokenClickHandler","ApiTokenList","apiTokens","apiTokenColumnData","apiTokenData","CreateOrShowApiTokenModal","showCreateApiTokenModal","showApiTokenModal","setLabel","labelError","setLabelError","showToken","setShowToken","inputError","DeleteApiTokenModal","onSubmitDeleteApiToken","ApiTokens","apiTokenList","generatedApiToken","sendGetApiTokenListRequest","getApiTokenListRequestStatus","sendCreateApiTokenRequest","getCreateApiTokenRequestStatus","getCreateApiTokenRequestError","sendRevokeApiTokenRequest","getRevokeApiTokenRequestStatus","resetCreateApiTokenRequest","setShowCreateApiTokenModal","setShowApiTokenModal","showDeleteApiTokenModal","setShowDeleteApiTokenModal","selectedApiToken","setSelectedApiToken","setInputError","isCreateApiTokenRequestPending","isCreateApiTokenRequestSucceed","isRevokeApiTokenRequestPending","isRevokeApiTokenRequestSucceed","API_TOKEN_CREATE","isCurrentUserAuthenticatedWithApiToken","cobaltToken","apiTokensSlice","hashToken","isAuthenticate","getApiTokenListRequestMessage","getApiTokenListRequestError","getCreateApiTokenRequestMessage","getRevokeApiTokenRequestMessage","getRevokeApiTokenRequestError","FieldContentTabs","CustomFieldHeader","FIELD_UPDATE","FIELD_DELETE","CustomFields","SystemFields","prepareCustomFields","customFields","prepareDefaultFields","defaultFields","onCopyClickHandler","FIELD_WRITE","onKeyHandler","getCustomFieldColumns","sendGetCustomFieldsRequest","sendGetDefaultFieldsRequest","UpdateProspectCustomFieldModal","onUpdateProspectCustomFieldSubmit","sendUpdateCustomFieldRequest","actionCustomField","showCreateProspectCustomFieldModal","hideCreateProspectCustomFieldModal","showUpdateProspectCustomFieldModal","hideUpdateProspectCustomFieldModal","showProspectCustomFieldDeleteModal","showDeleteCustomFieldModal","showAccountCustomFieldDeleteModal","hideDeleteCustomFieldModal","onDeleteCustomFieldSubmit","sendDeleteCustomFieldRequest","getFields","sendGetDefaultFieldRequest","getPageNumber","createProspectCustomFieldRefresh","updateProspectCustomFieldRefresh","updateCustomFieldRequestStatus","updateCustomFieldRequestError","showUpdateFieldSuccessToaster","deleteCustomFieldRefresh","deleteCustomFieldRequestStatus","deleteCustomFieldRequestMessage","deleteCustomFieldRequestError","getDefaultFieldRequestStatus","getDefaultFieldRequestMessage","getDefaultFieldRequestError","updateCustomFieldRequestMessage","PauseProspectOption","OutOfOfficeHeader","OutOfOfficeConfirmation","showConfirmationPopup","hideConfirmationPopup","onOutOfOfficeSettingToggledOff","OutOfOfficeContent","oooSettings","setOOOSettings","sendUpdateOOOSettingsRequest","updateOOOSettingsRequestStatus","enableOutOfOffice","setEnableOutOfOffice","PauseProspectAsPerReturnDate","pauseProspectOption","setPauseProspectOption","PauseProspectManually","pauseProspectsForDays","setPauseProspectsForDays","isPauseProspectsForDaysValid","setIsPauseProspectsForDaysValid","setShowConfirmationPopup","isPauseProspectsForDaysInputValid","parseFloat","isInteger","onPauseForDaysChange","pauseProspectForDays","isUpdateOOOSettingsRequestPending","updateOOOSettingsRequestError","resetUpdateOOOSettingsRequest","outOfOfficeOption","pauseForDays","OutOfOfficePauseDays","updateOOOSettings","updateOOOSettingsRequest","outOfOfficeSlice","updateOOOSettingsRequestMessage","SubscriptionInfo","UpgradePlanTabs","Setting_Billing_Upgrade_Plan_BFCM","sendGetAccountSubscriptionPlanRequest","sendGetInvoiceURLRequest","sendReactivateSubscriptionRequest","sendReactivateLeadFinderSubscriptionRequest","sendHandleSubscriptionRequest","sendHandleLeadFinderChurnkeySubscriptionRequest","sendPurchaseHistoryRequest","sendExportCreditHistoryRequest","sendGetAccountSubscriptionPlanRequestStatus","sendGetAccountSubscriptionPlanRequestError","sendGetInvoiceURLRequestStatus","sendGetInvoiceURLRequestError","sendGetAccountSubscriptionPlanResponse","leadFinderSubscriptionId","isPaymentActionRequired","sendGetEmailVerificationCreditsRequestError","sendGetEmailVerificationPlansRequestError","sendGetReactivateSubscriptionRequestStatus","sendGetReactivateSubscriptionRequestError","sendGetReactivateLeadFinderSubscriptionStatus","sendGetReactivateLeadFinderSubscriptionError","sendGetReactivateSubscriptionResponse","sendGetReactivateLeadFinderSubscriptionResponse","leadFinderPlanTransitionDetails","leadFinderpausedAt","leadFinderPlanCode","leadFinderPlanType","getPurchaseHistoryRequestStatus","exportCreditHistoryRequestStatus","exportCreditHistoryRequestMessage","FixedHome","routes","TempNavigation","TempAuthIndicator","ConnectEmailAccountCallback","sendVerifyEmailAccountRequest","redirectToEmailAccountsListing","PersonMonocularIcon","Error404","OAuthAuthenticateCallback","sendOAuthAuthenticateRequest","redirectToHome","redirectToLogin","clientBaseDomain","Invitation","handleRedirection","msg","REACT_APP_WEB_URL","OAuthWhitelabelCallback","queryMessage","App","connectWhitelabelEmailAccountCallback","LoadingBar","loadingBarClass","Root","showFastActions","SHToaster","dsn","integrations","BrowserTracing","environment","tracesSampleRate","replaysSessionSampleRate","replaysOnErrorSampleRate"],"mappings":";qHAAO,IAAKA,EAAZ,kC,SAAYA,K,cAAAA,E,kBAAAA,E,sBAAAA,E,iBAAAA,M,yuDCAAC,E,6CCECC,EAAY,SAACC,GAAD,OAA+B,IAARA,IAAwB,IAARA,GAEnDC,EAAW,SAACD,GAAD,MACP,kBAARA,GAAoBA,aAAeE,QAE/BC,EAAU,SAACH,GAAD,OAAuBI,MAAMD,QAAQH,I,kBCP/CK,EAA6B,EAG7BC,EAA0B,OAC1BC,EAAqB,IAGrBC,EAAgB,CAC3B,OACA,QACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,QAGWC,EAAgB,CAAC,QAEjBC,EAAsB,CACjC,MACA,OACA,OACA,OACA,QACA,OACA,OACA,OACA,OACA,MACA,OACA,OACA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U6qB,EAAOjM,QAAQ5e,QACpEjG,EAAMq2B,qCAAqC9yB,OACxCutB,EAAOjM,QAAQle,WAAamqB,EAAOjM,c,EA6BxCg5B,EAAyBoC,QAtB3BhC,E,EAAAA,kBACAW,E,EAAAA,wBACAV,E,EAAAA,8CACAC,E,EAAAA,wCACAC,E,EAAAA,kDACAO,E,EAAAA,gCACAG,E,EAAAA,uBACAT,E,EAAAA,oCACAC,E,EAAAA,8CACAC,E,EAAAA,gCACAC,E,EAAAA,0CACAK,E,EAAAA,2CACAJ,E,EAAAA,gCACAC,E,EAAAA,kDACAK,E,EAAAA,qBACAC,E,EAAAA,oBACAC,E,EAAAA,mBACAC,E,EAAAA,WACAC,E,EAAAA,aACAC,E,EAAAA,qBACAC,E,EAAAA,gCACAC,E,EAAAA,mCAGazB,MAAf,S,8BCv1CA,kCAAO,IAAMqC,EAAcv3C,OAAOC,OAAO,CACvCu3C,eAAgB,oCAChBC,sBACE,iHACFC,aACE,+GACFC,aAAc,gEACdC,mBACE,0GACFC,UACE,6FACFC,oBACE,kGACFC,sBACE,uFACFC,kBACE,yEACFC,qBACE,oGACFC,sBACE,6FACFC,0BACE,gGACFC,mBACE,mFACFC,wBACE,sFACFC,YACE,gGACFC,uBACE,sFACFC,qBACE,4HACFC,gBAAiB,8BACjBC,cAAe,kCACfC,qCACE,gGACFC,0CACE,6GACFC,0CAA2C,+BAC3CC,0BACE,0EACFC,uBACE,6FACFC,eACE,6EAEFC,SAAU,4CACVC,SAAU,4CACVC,WAAY,4CACZC,cAAe,4CACfC,cACE,8EACFC,YACE,8EACFC,YACE,8EACFC,aACE,8EACFC,iBACE,8EACFC,wBACE,8EACFC,0BACE,8EACFC,iBACE,8EACFC,0BACE,8EACFC,QACE,oFACFC,QACE,4GACFC,UACE,sFACFC,aACE,gHACFC,yBACE,0HACFC,yBACE,8FACFC,SACE,qFACFC,aACE,sFACFC,YACE,kEACFC,sBACE,qEACFC,kBAAmB,kDACnBC,yBACE,qHACFC,qBACE,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ACtB58B,QAAS,KACT1C,MAAO,MAET4c,2BAA4B,CAC1B5Z,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAET8c,qBAAsB,CACpB9Z,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETgd,kCAAmC,CACjCha,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETqd,sBAAuB,CACrBra,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETkhB,iBAAkB,CAChBle,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETud,uBAAwB,CACtBva,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETyd,uBAAwB,CACtBza,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETkiB,yBAA0B,CACxBlf,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAET2d,sCAAuC,CACrC3a,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAET6d,0BAA2B,CACzB7a,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAET+d,0BAA2B,CACzB/a,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETye,gCAAiC,CAC/Bzb,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETie,8BAA+B,CAC7Bjb,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETme,qCAAsC,CACpCnb,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETqe,uCAAwC,CACtCrb,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETue,iCAAkC,CAChCvb,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAET2e,8BAA+B,CAC7B3b,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAET6e,wBAAyB,CACvB7b,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAET+e,wBAAyB,CACvB/b,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETif,0BAA2B,CACzBjc,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETqf,oBAAqB,CACnBrc,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETuf,0BAA2B,CACzBvc,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETyf,6BAA8B,CAC5Bzc,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETygB,8BAA+B,CAC7Bzd,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETggB,8BAA+B,CAC7Bhd,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETkgB,kCAAmC,CACjCld,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAET4f,uBAAwB,CACtB5c,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETogB,yBAA0B,CACxBpd,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAEToiB,gCAAiC,CAC/Bpf,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETugB,iCAAkC,CAChCvd,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETqpB,wBAAyB,CACvBrmB,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAET4pB,iBAAkB,CAChB5mB,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETopB,mBAAoB,CAClBpmB,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETmmI,4BAA6B,CAC3BnjI,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETyhB,wBAAyB,CACvBze,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAET2hB,yBAA0B,CACxB3e,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAET6hB,iCAAkC,CAChC7e,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAET+hB,oCAAqC,CACnC/e,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETsiB,qBAAsB,CACpBtf,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETwiB,uBAAwB,CACtBxf,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAET6iB,oBAAqB,CACnB7f,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAET2iB,4BAA6B,CAC3B3f,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETyiB,4BAA6B,CAC3Bzf,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETmjB,wBAAyB,CACvBngB,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETujB,4CAA6C,CAC3CvgB,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETyjB,uCAAwC,CACtCzgB,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAET2jB,wBAAyB,CACvB3gB,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAET6jB,wBAAyB,CACvB7gB,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETkkB,2BAA4B,CAC1BlhB,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAET+pB,gCAAiC,CAC/B/mB,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETiqB,yCAA0C,CACxCjnB,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETokB,wBAAyB,CACvBphB,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETukB,iCAAkC,CAChCvhB,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAET2kB,8BAA+B,CAC7B3hB,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAET8kB,2BAA4B,CAC1B9hB,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETilB,oCAAqC,CACnCjiB,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETslB,mCAAoC,CAClCtiB,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETylB,sCAAuC,CACrCziB,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAET2lB,uBAAwB,CACtB3iB,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETimB,uBAAwB,CACtBjjB,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETomB,2BAA4B,CAC1BpjB,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETumB,yBAA0B,CACxBvjB,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETymB,0BAA2B,CACzBzjB,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETijB,yBAA0B,CACxBjgB,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAET2mB,oCAAqC,CACnC3jB,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAET6mB,2BAA4B,GAC5Bu/G,4BAA6B,GAC7Br/G,wCAAyC,CACvC/jB,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETinB,qCAAsC,CACpCjkB,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETmnB,uCAAwC,CACtCnkB,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETqnB,yCAA0C,CACxCrkB,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETunB,8CAA+C,CAC7CvkB,OAAQnL,IAAcynC,MAC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KACT1C,MAAO,MAETq5B,+BAAgC,CAC9Br2B,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETw5B,wCAAyC,CACvCx2B,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETuiJ,kCAAmC,CACjCv/I,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAET05B,iCAAkC,CAChC12B,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAET45B,0BAA2B,CACzB52B,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAET85B,0BAA2B,CACzB92B,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAET+5B,8BAA+B,CAC7B/2B,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETi6B,iCAAkC,CAChCj3B,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETm6B,oCAAqC,CACnCn3B,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETi5B,iCAAkC,CAChCj2B,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETq6B,sBAAuB,CACrBr3B,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETw6B,6BAA8B,CAC5Bx3B,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAET26B,uBAAwB,CACtB33B,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAET66B,4CAA6C,CAC3C73B,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAET+6B,2BAA4B,CAC1B/3B,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETi7B,8BAA+B,CAC7Bj4B,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETm7B,gCAAiC,CAC/Bn4B,OAAQnL,IAAcynC,MACtB58B,QAAS,KACT1C,MAAO,MAETq7B,kC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,qBAAsB,gCACtBC,6BACE,wDACFC,qCACE,8CACFC,uCACE,wEACFC,uCACE,yDACFC,+BACE,+CACFC,iCACE,yEACFC,iCACE,+DACFC,mCACE,mDACFC,qCACE,6EACFC,qCACE,mEACFC,mCACE,gDACFC,qCACE,0EACFC,qCACE,2DACFC,oCAAqC,uCACrCC,4BAA6B,qCAC7BC,yBACE,yLACFC,2BACE,0LACFC,yBACE,uFACFC,mBACE,oIACFC,kBACE,8DACFC,yBACE,iGACFC,uBACE,sDACFC,2BACE,uEACFC,oCACE,oEACFC,sBAAuB,wBACvBC,aAAc,6BACdC,kBAAmB,qBACnBC,2BACE,oHACFC,wBAAyB,0CACzBC,iBACE,mEACFC,iBACE,kHACFC,mBACE,mFACFC,6BACE,gOACFC,qCACE,uIACFC,iCACE,qGACFC,oCACE,yHACFC,uBACE,wEACFC,gCACE,2DACFC,gCAAiC,sCACjCC,yBAA0B,iCAC1BC,yBAA0B,sCAC1BC,eACE,gFACFC,0BACE,4DACFC,0BAA2B,2CAC3BC,4BAA6B,8BAC7BC,iBAAkB,mBAClBC,qBAAsB,gCACtBC,eAAgB,iBAChBC,wCACE,qFACFC,wCACE,wDACFC,+CACE,2CACFC,uBAAwB,oDACxBC,gCACE,qEACFC,sBACE,kFACFC,+BACE,yHACFC,kBAAmB,+BACnBC,WACE,kKACFC,iCACE,+DACFC,iCACE,0FACFC,4BACE,0DACFC,4BACE,yEACFC,wBAAyB,4BACzBC,0BACE,0IACFC,8BAA+B,0CAC/BC,gCACE,4JACFC,gCAAiC,2BACjCC,kCACE,yIACFC,sCAAuC,qCACvCC,wCACE,uHACFtmF,OAAQ,SACRjlB,OAAQ,SACRzjE,MAAO,QACPivK,yBAA0B,2BAC1BC,eACE,yGACFC,qBAAsB,uBACtBlN,YAAa,cACbmN,kBAAmB,oBACnBC,8BACE,qFACFC,uCACE,8EACFC,2CACE,gJACFC,mBACE,uEACFC,8BACE,2DACFC,qBACE,sFACFC,6BACE,2IACFC,qCACE,uGACFC,yBACE,oGACFC,0CACE,2GACFC,iCAAkC,oCAClCC,gCACE,2FACFC,mCACE,oKACFC,kCACE,2EACFC,6BACE,+DACFC,4CACE,uEACFC,0BACE,4HACFC,2BAA4B,4CAC5BC,cAAe,uCACfC,8CACE,2FACFC,qCACE,8CACFC,sCACE,mGACFC,+BAAgC,iCAChCC,iCAAkC,oCAClCC,iCAAkC,oCAClCC,mCAAoC,sCACpCC,mCAAoC,sCACpCC,+BACE,uDACFC,gDACE,gGACFC,qCACE,kDACFC,yBACE,8FACFC,yBACE,yFACFC,2BAA4B,8CAC5BC,OACE,sEACFC,OACE,qFACFC,OAAQ,mEACRC,mCACE,oHACFC,8BAA+B,wCAC/BC,kCACE,6CACFC,iDACE,iCACFC,yCACE,6GACFC,yBACE,6IACFC,0BACE,gJACFC,0BACE,kJACFC,gCACE,iEACFC,mCACE,2EACFja,qBAAsB,mCACtB/yG,UAAW,8BACXitH,cAAe,6BACfC,cAAe,0BACflwF,SAAU,sCACVmwF,iBAAkB,gCAClBC,sBAAuB,uCACvBC,oBAAqB,8BACrBC,oCACE,gFACFC,oCACE,2DACFhY,wBAAyB,gDACzBiY,mCACE,oIACFC,sCACE,6DACFC,sCACE,2EACFC,uCACE,0EACFC,uCACE,wFACFpY,oBAAqB,4CACrBqY,oCACE,6CACFC,+BACE,8HACFC,oCAAqC,uBACrCC,yCACE,uDACFC,yCACE,+DACFC,mCAAoC,wBACpCC,wCACE,uDACFC,wCACE,gEACFC,iBACE,kFACFC,gCACE,8CACFC,+BAAgC,2CAChCC,gCACE,wEACFC,6BACE,6GACFC,4CACE,sIACFC,4CACE,mDACFC,yBAA0B,qCAC1BC,wBAAyB,gCACzBC,wBACE,qDACFC,sBAAuB,wDACvBC,qBAAsB,yCACtBC,mDACE,kEACFC,yBAA0B,mCAC1BC,gBAAiB,wCACjBC,iCAAkC,wCAClCC,iCACE,0FACFC,mCACE,mFACFvM,uBAAwB,yBACxBwM,oCAAqC,iCACrCC,kCAAmC,sCACnCC,8BAA+B,0CAC/BC,0BAA2B,qCAC3BC,yBAA0B,kCAC1BC,mCAAoC,uCACpCC,kCAAmC,mCACnCC,yBACE,0GACFC,yBACE,oGACFC,iCAAkC,qCAClCC,2CACE,6CACFC,+BACE,8HACFC,+BACE,0FACFC,kBAAmB,6CACnBC,mBAAoB,qCACpBC,iCACE,mFACFC,iCACE,uEACFC,UAAW,YACXC,iBAAkB,mBAClBC,wBACE,2DACFC,wBAAyB,sCACzBC,cACE,qEACFC,mBACE,oHACFC,iCAAkC,mCAClCC,+BACE,uEACFC,2BACE,mEACFC,0BACE,uDACFC,0BACE,yKACFC,4BAA6B,4CAC7BC,yBAA0B,sCACvB9hB,GACAA,GACAA,GACAA,GACAA,GACAA,GACAmB,GACAA,GA91CW,CAChB4gB,cAAe,8CACfC,eAAgB,iBAChBC,eACE,+HACFC,gBAAiB,kBACjBC,cACE,0FACFC,eAAgB,iBAChBC,cAAe,yBAdF,CACbC,mBAAoB,uBACpBC,WAAY,eAeD,CACXC,WAAY,qBACZC,oBAAqB,uBACrBC,wBAAyB,6CACzBC,iBAAkB,cAClBC,gBAAiB,sCACjBC,QAAS,aACTC,kBAAmB,mCA6DH,CAChBC,aAAc,uDACdjW,kBAAmB,oBACnBkW,4BACE,yDACFC,6BACE,gGAGoB,CAGtB,cAAe,cACf,gBAAiB,gBACjB,kBAAmB,kBACnB,gBAAiB,gBACjB,oBAAqB,oBACrBC,MAAO,QACPC,gBAAiB,kBACjBC,wCACE,8CACFC,UAAW,YACXC,UAAW,YACXC,WAAY,aACZC,eAAgB,iBAChBC,0BACE,wFACFC,sBAAuB,gDAYV,CACbC,oBACE,6EACFC,oBAAoB,WACpBC,oBAAqB,mBACrBC,iBAAkB,mBAClBC,kBAAmB,sBACnB/zI,MAAO,QACPg0I,oBAAqB,sBACrBC,qBAAsB,kDACtBC,gBAAiB,uCACjBC,eAAgB,qBAChBC,oBAAqB,wBAGO,CAC5BC,qBACE,0IACFC,2BACE,0IACFC,aACE,mJACFC,gBACE,gGACFC,4BACE,6IACFC,sBACE,0EACFC,YACE,0EACFC,sBACE,0GACFC,uBACE,2GACFC,sBACE,iEACFC,gBACE,mIACFC,4BACE,iKACFC,qBACE,sJACFC,sBACE,gKAGsB,CACxBC,iBAAkB,kBAClBC,mBACE,0KACFC,2BACE,qJACFC,iCAAkC,6BAClCC,mCACE,oGACFC,kCAAmC,8BACnCC,oCACE,oFACFC,sBAAuB,0BACvBC,wBACE,uGACFC,yBAA0B,iDAC1BC,2BACE,oJACFC,6BACE,qJAGkB,CACpBC,cAAe,gBACfC,gBAAiB,kBACjBC,uBAAwB,gDACxBC,yBACE,sEACFC,uBAAwB,4CACxBC,yBACE,6DACFC,uBAAwB,2CACxBC,2BAA4B,QAC5BC,2BAA4B,OAC5BC,2BACE,oDACFC,uBAAwB,yCACxBC,2BACE,iEACFC,2BAA4B,eAGL,CACvBC,cAAe,iBACfC,UAAW,YACXC,WAAY,aACZC,oBAAqB,8BACrBC,WAAY,aACZC,iBAAkB,0BAClBC,mBAAoB,0BACpBC,sBAAuB,kBACvBC,UAAW,YACXC,WAAY,aACZC,4BAA6B,kCAC7BC,WAAY,QACZC,KAAM,OACNC,MAAO,QACPC,iBAAkB,4BAClBC,aAAc,aACdC,KAAM,OACNC,MAAO,QACPC,mBAAoB,8BAGF,CAClBjd,UAAW,aACXkd,MAAO,UACPC,MAAO,kBACPC,MAAO,6BACPC,MAAO,oBAG4B,CACnCC,sBAAuB,yBACvBC,uBAAwB,yBACxBC,sBACE,6EACFC,sBAAuB,gDACvBC,sBAAuB,kDACvBC,kBACE,yEACFC,kBAAmB,2DACnBC,kBAAmB,mCACnBC,2BAA4B,4CAC5BC,6BAA8B,wCAC9BC,uCACE,kIACFC,uCACE,wEACFC,uCACE,2IACFC,uCACE,mEAG2B,CAC7BC,8CACE,iDACFC,6BACE,qJAiBmB,CACrBC,qBACE,4EACFC,6BACE,kDACFC,mBAAoB,0CACpBC,4BACE,8HACFC,4BACE,gEACFC,4BAA6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ACFC,6BAA8B,+CAC9BC,qBAAsB,wBACtBC,sBAAuB,wBACvBC,2CACE,8CACFC,eAAgB,iBAChB/yE,MAAO,QACPgzE,MAAO,QACPC,KAAM,OACNC,eAAgB,iBAChBC,4BAA6B,0BAC7BC,6BAA8B,2BAC9BC,WAAY,aACZC,wBAAyB,sBACzBC,yBAA0B,uBAC1BC,6BACE,kEACFC,8BACE,mEACFC,QAAS,UACTC,gBAAiB,mBACjBC,0BAA2B,iDAC3BC,2BACE,0FACFC,2BACE,wEACFC,6BAA8B,2CAGV,CACpBC,qBAAsB,iDACtBC,4BAA6B,qCAC7BC,4BAA6B,6CAC7BC,sBAAuB,8BAGA,CACvBC,OAAQ,2BACRC,UAAW,oCACXC,UAAW,6CAGY,CACvBC,sBACE,wDACFC,2BAA4B,0CAC5BC,gCAAiC,YACjCC,gCAAiC,kCACjCC,gCAAiC,8CArWN,CAC3BC,oBAAqB,qDACrBC,yBAA0B,mDAC1BC,sBACE,6KAoWkB,CACpBC,sCACE,yCACFC,uCACE,0CACFC,sCACE,wCACFC,2CACE,6CACFC,0DACE,6DACFC,8DACE,iEACFC,uBACE,4FACFC,oCACE,qDACFC,4BACE,2DACFC,2BACE,4DACFC,8CACE,iFACFC,+CACE,yFACFC,uCACE,qEAIgC,CAClCC,kBACE,uEACFC,kBACE,mFACFC,cAAe,+DACfC,cACE,6GACFC,kBAAmB,2DACnBC,kBACE,qGACFC,mBACE,qFACFC,mBACE,gFAGkB,CACpBC,aACE,iHACFC,aACE,yGACFC,sBACE,0EACFC,sBACE,yIACFC,gBACE,gFACFC,gBACE,4HACFC,aACE,uGACFC,aACE,iIACFC,kBACE,mGACFC,kBACE,0IACFC,kBACE,sHACFC,kBACE,mGAG4B,CAC9BC,uBAAwB,0BACxBC,mBAAoB,sBACpBC,iBAAkB,YAClBC,YAAa,eACbC,WAAY,cACZC,UAAW,aACXC,iBAAkB,SAClBC,oBAAqB,YACrBC,iBAAkB,SAClBC,wBAAyB,gBACzBC,qBAA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uBAAwB,sBACxBC,6BAA8B,kCAC9BC,qBACE,qFACFC,wBACE,2JACFC,qBAAsB,mCACtBC,6BACE,4EACFC,qCACE,6DACFC,uCACE,+FACFC,uCACE,yEACFC,+BACE,wEACFC,iCACE,+GACFC,iCACE,0FACFC,mCACE,0EACFC,qCACE,iHACFC,qCACE,4FACFC,mCACE,yEACFC,qCACE,gHACFC,qCACE,qFACFC,oCACE,uDACFC,4BACE,0DACFC,yBACE,wQACFC,2BACE,2QACFC,yBACE,+HACFC,mBACE,sKACFC,kBACE,oFACFC,yBACE,yIACFC,uBACE,8EACFC,2BACE,mFACFC,oCACE,gEACFC,sBAAuB,iCACvBC,aAAc,6CACdC,kBAAmB,8BACnBC,2BACE,sIACFC,wBAAyB,wDACzBC,iBACE,mGACFC,iBACE,gJACFC,mBACE,sIACFC,6BACE,yUACFC,qCACE,wKACFC,iCACE,gJACFC,oCACE,6JACFC,uBACE,2EACFK,eACE,4FACFC,0BACE,+EACFC,0BACE,8DACFC,4BAA6B,8CAC7BC,iBAAkB,4BAClBC,qBAAsB,4CACtBC,eAAgB,0BAChBC,wCACE,uGACFC,wCACE,kFACFC,+CACE,qEACFC,uBACE,uEACFC,gCACE,gGACFC,sBACE,mIACFC,+BACE,uKACFC,kBAAmB,yCACnBC,WACE,wPACFC,iCACE,kFACFC,iCACE,4FACFC,4BACE,6EACFC,4BACE,iFACF9lF,OAAQ,SACRjlB,OAAQ,WACRzjE,MAAO,YACPivK,yBAA0B,wCAC1BC,eACE,qJACFC,qBAAsB,gCACtBlN,YAAa,yBACbmN,kBAAmB,6BACnBC,8BACE,uHACFC,uCACE,kHACFC,2CACE,+MAGFC,mBACE,8FACFiB,qCACE,6EACFC,sCACE,uJACFC,+BAAgC,+CAChCC,iCACE,qDACFC,iCAAkC,gDAClCC,mCACE,2DACFC,mCACE,wEACFtB,8BACE,2DACFC,qBACE,wGACF0d,qCACE,yNAEFxd,qCACE,0HACFC,yBACE,gJACFC,0CACE,4JACFC,iCAAkC,6CAClCC,gCACE,kIACFK,0BACE,gKACFC,2BAA4B,8CAC5BC,cAAe,sCACfC,8CACE,0GACFQ,+BACE,4EACFE,qCACE,oEACFjB,mCACE,yNAEFC,kCACE,mHACFC,6BACE,kEACFC,4CACE,oGACFe,yBACE,2IACFC,yBACE,uHACFC,2BACE,gFACFC,OACE,mGACFC,OACE,0FACFC,OACE,gGACFC,mCACE,yJACFC,8BACE,6DACFC,kCACE,6DACFC,iDACE,sDACFC,yCACE,0IACFC,yBACE,uMACFC,0BACE,+MACFC,0BACE,wMACFC,gCACE,iFACFC,mCACE,8FACFja,qBACE,6DACF/yG,UAAW,6CACXitH,cAAe,oCACfC,cAAe,+BACflwF,SAAU,6DACVmwF,iBAAkB,6BAClBC,sBAAuB,sCACvBC,oBAAqB,gCACrBC,oCACE,6FACFC,oCACE,gEACFhY,wBAAyB,oDACzBiY,mCACE,iKACFC,sCACE,qDACFC,sCACE,6EACFC,uCACE,sGACFC,uCACE,iHACFpY,oBAAqB,iDACrBqY,oCACE,yDACFC,+BACE,6JACFC,oCAAqC,oCACrCC,yCACE,iEACFC,yCACE,qGACFC,mCAAoC,sCACpCC,wCACE,qEACFC,wCACE,oGACFC,iBACE,sGACFI,6BACE,mIACFH,gCACE,qEACFE,gCACE,kGACFE,4CACE,uKACFC,4CACE,wEACFC,yBACE,sDACFC,wBAAyB,wCACzBC,wBACE,yDACFC,sBACE,gEACFC,qBAAsB,qDACtBC,mDACE,kEACFC,yBAA0B,mDAC1BC,gBAAiB,kDACjBC,iCACE,kDACFC,iCACE,sGACFC,mCACE,+FACFvM,uBAAwB,sCACxBwM,oCAAqC,sCACrCC,kCACE,yDACFC,8BACE,qEACFC,0BACE,uDACFC,yBAA0B,yCAC1BC,mCACE,yEACFC,kCAAmC,4CACnCC,yBACE,oKACFC,yBACE,mHACFC,iCACE,iDACFC,2CACE,yDACFC,+BACE,uKACFC,+BACE,wHACFC,kBACE,yEACFC,mBAAoB,2DACpBC,iCACE,6FACFC,iCACE,+FACFC,UAAW,kBACXC,iBAAkB,wBAClBG,cACE,2FACFC,mBACE,iKACFC,iCACE,sDACFC,+BACE,oGACFxO,sBACE,+FACF0O,0BACE,yEACFC,0BACE,0MACFC,4BACE,kEACFC,yBACE,uEACC9hB,GACAA,GACAA,GACAA,GACAA,GACAA,GACAmB,GACAA,GA10CW,CAChB4gB,cAAe,qDACfC,eAAgB,qBAChBC,eACE,4IACFC,gBAAiB,yBACjBC,cACE,gIACFC,eAAgB,wBAChBC,cAAe,6BAGF,CACbC,mBAAoB,gCACpBC,WAAY,sBAGD,CACXC,WAAY,mCACZC,oBAAqB,2CACrBC,wBAAyB,oDACzBC,iBAAkB,oBAClBC,gBAAiB,oDACjBC,QAAS,wBACTC,kBAAmB,2CA+BH,CAChBC,aAAc,wDACdjW,kBAAmB,2BACnBkW,4BACE,kFACFC,6BACE,gHAGoB,CAGtB,cAAe,uBACf,gBAAiB,qBACjB,kBAAmB,2BACnB,gBAAiB,wBACjB,oBAAqB,yBACrBC,MAAO,UACPC,gBAAiB,YACjBC,wCAAyC,wCACzCC,UAAW,iBACXC,UAAW,YACXC,WAAY,gBACZC,eAAgB,oBAChBC,0BACE,+FACFC,sBAAuB,wDAYV,CACbC,oBACE,8HACFC,oBAAoB,yBACpBC,oBAAoB,yBACpBC,iBAAiB,4BACjB9zI,MAAO,eACPg0I,oBAAoB,sCACpBC,qBACE,wEACFC,gBAAiB,yDACjBC,eAAgB,6BAChBC,oBAAqB,qCAGO,CAC5BC,qBACE,iLACFC,2BACE,6LACFC,aAAa,sMAEbC,gBACE,8HACFC,4BACE,gLACFC,sBACE,oFACFC,YACE,6FACFC,sBACE,6HACFC,uBACE,iIACFC,sBACE,yFACFC,gBACE,iMACFC,4BACE,qMACFC,qBACE,gNACFC,sBACE,6MAuG2B,CAC7B+D,8CACE,kEACFC,6BACE,kNAxGsB,CACxB/D,iBAAkB,yBAClBC,mBACE,iOACFC,2BACE,gPACFC,iCAAkC,wCAClCC,mCACE,0IACFC,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nB,MAAO,cACPsnB,SAAU,WAWa,CACvBC,2BACE,wFACFC,sBAAuB,+BACvBC,qBAAsB,kCACtBC,qBACE,sGACFC,qBACE,2EACFC,qBACE,kGACFC,2BACE,iEACFC,2BACE,sFACFC,2BACE,4FACFC,2BACE,iGACFC,uBACE,iJACFC,uBACE,uEACFC,uBACE,uFACFC,2BACE,sGACFC,2BACE,8JACFC,iCACE,iGACFC,iCACE,qFACFC,iCACE,gGACFC,iCACE,mFACFC,iCACE,4GACFC,iCACE,iFACFC,iCACE,yEACFC,+BACE,+EACFC,+BACE,kHACFC,uBACE,+EACFC,uBACE,2EACFC,uBACE,oHACFC,gCAAiC,gDACjCC,kBACE,qIACFC,8BAA+B,iDAC/BC,2BAA4B,8CAC5BC,kBAAmB,qCACnBE,gBAAiB,kCACjBC,8BACE,uRACFgM,qBAAsB,iCACtB/L,qBAAsB,2CACtBC,iCACE,4MACFC,oBAAqB,gCACrBC,gCACE,uLACFC,oCACE,oGACFC,6BAA8B,gDAC9BC,4CACE,kFACFC,6BACE,oHACFC,6BAA8B,YAC9BC,2CACE,gIACFE,2BAA4B,4CAC5BC,2BAA4B,wBAC5BC,2BAA4B,QAC5BC,2BAA4B,UAC5BC,2BACE,0FACFC,2BAA4B,2CAC5BC,2BAA4B,UAC5BC,2BAA4B,yCAC5BC,2BAA4B,mBAC5BC,8BACE,+DACFC,iBAAkB,8CAClBC,iBAAkB,0BAClBC,2BACE,oDACFC,mCACE,0DACFC,2BAA4B,kDAC5BC,2BAA4B,6BAC5BC,2BAA4B,+BAC5BC,2BAA4B,0CAC5BC,iCAAkC,4CAClCC,iCACE,6EACFC,uBAAwB,oCAgLG,CAC3BC,kCACE,uEACFC,kCACE,yEACFC,+BACE,8DACFC,+BACE,0DACFC,+BACE,iFACFC,+BACE,yIA5KyB,CAC3BC,6BACE,6EACFC,mCACE,6JACFC,mCACE,8GA2BuB,CACzBC,2BAA4B,sCAC5BC,2BAA4B,wCAGK,CACjCC,WAAY,qEACZC,c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YA,K,YAAAA,E,wBAAAA,E,cAAAA,E,cAAAA,E,UAAAA,E,mBAAAA,M,mCCAZ,OAAe,cAA0B,qC,6BCAzC,OAAe,cAA0B,uC,6BCAzC,OAAe,cAA0B,gD,6BC2S1BmoM,IA3SK,CAClB,aACA,MACA,aACA,mBACA,QACA,eACA,4BACA,yBACA,eACA,MACA,WACA,oBACA,mBACA,4BACA,cACA,SACA,kBACA,gBACA,iBACA,eACA,aACA,kBACA,qBACA,mBACA,SACA,aACA,eACA,yBACA,gBACA,cACA,qBACA,sBACA,kBACA,eACA,iBACA,MACA,UACA,cACA,aACA,YACA,OACA,aACA,eACA,sBACA,QACA,QACA,SACA,gBACA,SACA,iBACA,WACA,OACA,aACA,UACA,YACA,gBACA,gBACA,iBACA,SACA,kBACA,YACA,aACA,QACA,eACA,kBACA,QACA,aACA,WACA,iBACA,UACA,UACA,2BACA,SACA,gBACA,UACA,cACA,YACA,SACA,iBACA,aACA,eACA,oBACA,yCACA,mBACA,iBACA,aACA,gBACA,sBACA,uBACA,qBACA,wBACA,cACA,sBACA,kBACA,kBACA,gBACA,8BACA,qBACA,cACA,6BACA,aACA,oBACA,wBACA,8BACA,wBACA,uBACA,iBACA,0BACA,kBACA,WACA,sBACA,wBACA,2BACA,yBACA,eACA,iBACA,yBACA,cACA,UACA,UACA,YACA,+BACA,KACA,qBACA,aACA,QACA,cACA,aACA,kBACA,eACA,mBACA,gBACA,kBACA,iBACA,mBACA,sBACA,kBACA,qBACA,YACA,sBACA,aACA,oBACA,wBACA,wBACA,UACA,mBACA,mBACA,SACA,uBACA,qBACA,wBACA,6BACA,iBACA,uBACA,uBACA,mBACA,kBACA,mBACA,iBACA,eACA,SACA,SACA,UACA,QACA,YACA,UACA,UACA,kBACA,gBACA,6BACA,iCACA,0CACA,OACA,oBACA,YACA,6BACA,4BACA,qBACA,WACA,sBACA,gBACA,YACA,QACA,QACA,SACA,iBACA,QACA,YACA,cACA,kBACA,WACA,kBACA,4BACA,mBACA,MACA,SACA,UACA,MACA,oBACA,yBACA,wBACA,qBACA,kBACA,eACA,uBACA,oBACA,mBACA,qBACA,OACA,cACA,kBACA,oBACA,WACA,YACA,mBACA,eACA,oBACA,eACA,kBACA,aACA,kBACA,aACA,aACA,eACA,qBACA,aACA,cACA,aACA,eACA,cACA,YACA,iBACA,WACA,aACA,qBACA,cACA,aACA,YACA,0BACA,WACA,YACA,eACA,YACA,WACA,cACA,qBACA,WACA,aACA,kBACA,cACA,qBACA,4BACA,UACA,eACA,qBACA,gBACA,mBACA,WACA,YACA,cACA,cACA,oBACA,uBACA,kBACA,eACA,SACA,sBACA,QACA,kBACA,kBACA,SACA,YACA,YACA,aACA,YACA,mBACA,mBACA,qBACA,aACA,aACA,YACA,WACA,cACA,qBACA,YACA,UACA,iBACA,eACA,mBACA,kBACA,wBACA,iBACA,yBACA,uBACA,uBACA,uB,mGCjSImgC,EAAgD,CACpD,CACEttS,GAAI,OACJ+kC,MAAO,OACPm1E,WAAW,EACXqzL,gBAAgB,EAChBnuM,O,OAAQjkC,EAAeqyO,UACvBC,YAAY,GAEd,CACEztS,GAAI,QACJ+kC,MAAO,QACPm1E,WAAW,EACXqzL,gBAAgB,EAChBE,YAAY,GAEd,CACEztS,GAAI,WACJ+kC,MAAO,YACPm1E,WAAW,EACXuzL,YAAY,GAEd,CACEztS,GAAI,iBACJ+kC,MAAO,kBACPm1E,WAAW,EACXuzL,YAAY,GAEd,CACEztS,GAAI,mBACJ+kC,MAAO,oBACPm1E,WAAW,EACXuzL,YAAY,GAEd,CACEztS,GAAI,eACJ+kC,MAAO,gBACPm1E,WAAW,EACXuzL,YAAY,GAEd,CACEztS,GAAI,qBACJ+kC,MAAO,4BACPm1E,WAAW,EACXuzL,YAAY,GAEd,CACEztS,GAAI,uBACJ+kC,MAAO,eACPm1E,WAAW,EACXuzL,YAAY,GAEd,CACEztS,GAAI,gBACJ+kC,MAAO,iBACPm1E,WAAW,EACXuzL,YAAY,GAEd,CACEztS,GAAI,aACJ+kC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D,GAY5BC,CAAUg0G,MCPVy4K,GAhBmB,SAAC,GAAD,IAAG5oW,EAAH,EAAGA,MAAO4+B,EAAV,EAAUA,QAAV,OAChC,cAAC,WAAD,CAAU5+B,MAAOA,EAAjB,SACE,eAAC,IAAD,CAAQ4+B,QAASA,EAAjB,UACE,cAAC,GAAD,CAAYiqU,iBAAe,IAC3B,cAAC,IAAD,CAAcpwW,YAAa4B,IAAQ5B,cACnC,cAAC,IAAD,CAAgBA,YAAaqwW,IAAUrwW,cACvC,cAAC,IAAD,CAAqBA,YAAa6oD,IAAa7oD,cAC/C,cAAC,IAAD,CAAeA,YAAamyL,IAAOnyL,cACnC,cAAC,IAAD,CAAkBA,YAAawsE,IAAoBxsE,cACnD,cAAC,GAAD,CAAqBA,YAAaulD,KAAkBvlD,cACpD,cAAC,GAAD,CAAwBA,YAAam4L,KAAqBn4L,cAC1D,cAAC,GAAD,U,eCKJmyJ,IAAY,CACVm+M,IACE,4EACFC,aAAc,CAAC,IAAIC,IAAkB,IAAIr+M,KACzCs+M,YAAavuW,aAIbwuW,iBAAkB3rU,OAAO7iC,OAGzByuW,yBAA0B5rU,OACxB7iC,KAIF0uW,yBAA0B,IAI9Bn1R,IAASvsB,OACP,cAAC,KAAD,UACE,cAAC,GAAD,CAAM3nD,MAAOA,IAAO4+B,QAASA,QAE/BupB,SAASspC,eAAe,W","file":"static/js/main.1c8e4068.chunk.js","sourcesContent":["export enum RequestStatus {\n Ideal = 'ideal',\n Pending = 'pending',\n Succeeded = 'succeeded',\n Failed = 'failed',\n}\n","export enum Time {\n MINUTESINYEAR = 60 * 24 * 365,\n // Some month have 30 or 31 or 28 days so 60 * 24 * 30 gives 43200 which is not right.\n // Google gives 43800 which is avg minutes of a single month.\n MINUTESINMONTH = 43800,\n MINUTESINDAY = 60 * 24,\n MINUTESINHOUR = 60,\n}\n","// using typeof for comparison is slow.\n// https://stackoverflow.com/questions/28814585/how-to-check-if-type-is-boolean#comment64005607_28814615\nexport const isBoolean = (obj: any): boolean => obj === true || obj === false;\n\nexport const isString = (obj: any): boolean =>\n typeof obj === 'string' || obj instanceof String;\n\nexport const isArray = (obj: any): boolean => Array.isArray(obj);\n\nexport const isFunction = (obj: any): boolean => typeof obj === 'function';\n","export const NumberOfAttachmentsAllowed = 4;\n\n// Note - Referring below value in Bytes - 1mb = 1 * 1024 * 1000\nexport const EmailContentSizeAllowed = 20 * 1024 * 1000;\nexport const SubjectSizeAllowed = 500;\n// Docs, Images, Videos, Sheets, Presentations & Zip\n\nexport const docExtensions = [\n '.doc',\n '.docx',\n '.odt',\n '.msg',\n '.rtf',\n '.tex',\n '.txt',\n '.wks',\n '.wps',\n '.wpd',\n];\n\nexport const pdfExtensions = ['.pdf'];\n\nexport const imageFileExtensions = [\n '.ai',\n '.bmp',\n '.gif',\n '.ico',\n '.jpeg',\n '.jpg',\n '.max',\n '.obj',\n '.png',\n '.ps',\n '.psd',\n '.svg',\n '.tif',\n '.tiff',\n '.3ds',\n '.3dm',\n];\n\nexport const videoFileExtensions = [\n '.avi',\n '.flv',\n '.h264',\n '.m4v',\n '.mkv',\n '.mov',\n '.mp4',\n '.mpg',\n '.mpeg',\n '.rm',\n '.swf',\n '.vob',\n '.wmv',\n '.3g2',\n '.3gp',\n];\n\nexport const sheetFileExtensions = ['.ods', '.xlr', '.xls', '.xlsx', '.csv'];\n\nexport const presentationFileExtensions = [\n '.key',\n '.odp',\n '.pps',\n '.ppt',\n '.pptx',\n];\n\nexport const zipFileExtensions = ['.zip'];\n\nexport const validAttachmentExtensions = [\n ...docExtensions,\n ...imageFileExtensions,\n ...videoFileExtensions,\n ...sheetFileExtensions,\n ...presentationFileExtensions,\n ...pdfExtensions,\n ...zipFileExtensions,\n];\n","export const getUniqueNumbers = (numbers: number[]): number[] => {\n const uniqueNumbers = [];\n\n numbers.forEach((number) => {\n if (uniqueNumbers.indexOf(number) === -1) {\n uniqueNumbers.push(number);\n }\n });\n\n return uniqueNumbers;\n};\n","import validator from 'validator';\n\nexport const isStringALink = (str: string): boolean => validator.isURL(str);\n","import moment from 'moment-timezone';\nimport { Time } from '../../components/prospect/enums/time';\n\nconst getSingularAndPlural = (\n value: number,\n singular: string,\n plural: string,\n): string => {\n if (value === 1) {\n return `1 ${singular} ago`;\n }\n return `${value} ${plural} ago`;\n};\n\nexport const getFormattedTime = (time: string): string => {\n const createdTime = Math.floor(new Date(time).getTime() / 60000);\n const currentTime = Math.floor(new Date().getTime() / 60000);\n\n const timeElapsedInMinutes = currentTime - createdTime;\n\n if (timeElapsedInMinutes === Time.MINUTESINYEAR) {\n return '1 year ago';\n }\n if (timeElapsedInMinutes > Time.MINUTESINYEAR) {\n const year = Math.floor(timeElapsedInMinutes / Time.MINUTESINYEAR);\n return getSingularAndPlural(year, 'year', 'years');\n }\n if (\n timeElapsedInMinutes > Time.MINUTESINMONTH &&\n timeElapsedInMinutes < Time.MINUTESINYEAR\n ) {\n const month = Math.floor(timeElapsedInMinutes / Time.MINUTESINMONTH);\n return getSingularAndPlural(month, 'month', 'months');\n }\n if (timeElapsedInMinutes === Time.MINUTESINMONTH) {\n return `1 month ago`;\n }\n if (\n timeElapsedInMinutes > Time.MINUTESINDAY &&\n timeElapsedInMinutes < Time.MINUTESINMONTH\n ) {\n const day = Math.floor(timeElapsedInMinutes / Time.MINUTESINDAY);\n return getSingularAndPlural(day, 'day', 'days');\n }\n if (timeElapsedInMinutes === Time.MINUTESINDAY) {\n return '1 day ago';\n }\n if (\n timeElapsedInMinutes > Time.MINUTESINHOUR &&\n timeElapsedInMinutes < Time.MINUTESINDAY\n ) {\n const hours = Math.floor(timeElapsedInMinutes / Time.MINUTESINHOUR);\n return getSingularAndPlural(hours, 'hour', 'hours');\n }\n if (timeElapsedInMinutes === Time.MINUTESINHOUR) {\n return 'an hour ago';\n }\n if (timeElapsedInMinutes > 1 && timeElapsedInMinutes < Time.MINUTESINHOUR) {\n return `${timeElapsedInMinutes} minutes ago`;\n }\n if (timeElapsedInMinutes <= 1) {\n return 'a few secs ago';\n }\n return '';\n};\n\nexport const getFormattedDateWithMoment = (time: string): string => {\n const now = moment();\n const dueMoment = moment(time);\n\n const duration = now.isAfter(dueMoment)\n ? moment.duration(now.diff(dueMoment))\n : moment.duration(dueMoment.diff(now));\n\n if (now.isSame(dueMoment, 'day')) {\n return 'Today';\n }\n\n const days = Math.ceil(duration.asDays());\n if (days >= 365) {\n return '1 year';\n }\n\n if (days < 29) {\n return `${days} ${days > 1 ? 'days' : 'day'}`;\n }\n\n const months = Math.ceil(duration.asMonths());\n if (months <= 12) {\n return `${months > 1 ? months - 1 : months} ${\n months - 1 > 1 ? 'months' : 'month'\n }`;\n }\n\n // const years = Math.ceil(duration.asYears());\n // return `${years > 1 ? years - 1 : years} ${years - 1 > 1 ? 'years' : 'year'}`;\n};\n","export const getFormatNumber = (num: number): string => {\n if (num < 1000) return num.toString();\n\n const units = ['k', 'M', 'B', 'T'];\n\n const unitIndex = Math.floor(Math.log10(num) / 3);\n\n // eslint-disable-next-line no-restricted-properties\n const scaledNum = num / Math.pow(1000, unitIndex);\n\n return scaledNum % 1 === 0\n ? `${Math.floor(scaledNum)}${units[unitIndex - 1]}`\n : `${scaledNum.toFixed(1)}${units[unitIndex - 1]}`;\n};\n","import React from 'react';\nimport {\n Toast as ReactBootstrapToast,\n ToastProps as ReactBootstrapToastProps,\n} from 'react-bootstrap';\nimport classNames from 'classnames';\nimport { Modify } from '../types';\nimport Icon from '../design-system/components/atoms/icon/icon';\nimport ImageIcon from '../components/images/image-icon';\n// eslint-disable-next-line import/no-cycle\nimport {\n getIconBasedOnVariantForNewTheme,\n getCloseIconBasedOnVariant,\n} from './helper';\n\nexport enum Variant {\n Success = 'success',\n Warning = 'warning',\n Error = 'error',\n Primary = 'primary',\n Loading = 'loading',\n}\n\nexport enum Theme {\n New = 'new',\n Old = 'old',\n}\n\ntype ToastState = {\n showToast: boolean;\n};\n\nexport type PartialToastProps = {\n variant?: Variant;\n content: React.ReactNode;\n delay?: number;\n animation?: boolean;\n theme?: Theme;\n onClose?: () => void;\n showCloseIcon?: boolean;\n};\n\ntype ToastProps = Modify;\n\nclass Toast extends React.Component {\n static Variant = Variant;\n\n // eslint-disable-next-line react/static-property-placement\n static defaultProps = {\n variant: Variant.Primary,\n delay: 3000,\n animation: true,\n theme: Theme.New,\n showCloseIcon: false,\n };\n\n constructor(props) {\n super(props);\n this.state = { showToast: true };\n this.hideToast = this.hideToast.bind(this);\n }\n\n hideToast() {\n const { onClose } = this.props;\n this.setState({ showToast: false });\n onClose?.();\n }\n\n render() {\n const {\n variant,\n content,\n delay,\n animation,\n className,\n theme,\n showCloseIcon,\n // we aren't using onClose directly as a prop to ReactBootstrapToast,\n // but if we don't extract onClose here, then it would be in rest array,\n // which will add the onClose prop to ReactBootstrapToast.\n // if you keep the ...rest before providing any props to ReactBootstrapToast,\n // then the provided onClose will override the onClose provided by rest array.\n // but still, for safekeeping, we should extract onClose here.\n // eslint-disable-next-line\n onClose,\n ...rest\n } = this.props;\n\n const { showToast } = this.state;\n\n const iconWrapperClass = classNames([\n {\n 'icon-basic': variant === Variant.Primary,\n 'icon-success': variant === Variant.Success,\n 'icon-warning': variant === Variant.Warning,\n 'icon-error': variant === Variant.Error,\n 'icon-loading': variant === Variant.Loading,\n },\n 'message-icon',\n ]);\n\n const iconIdentifier = classNames([\n {\n 'check-o': variant === Variant.Success,\n danger: variant === Variant.Primary || variant === Variant.Warning,\n 'close-o': variant === Variant.Error,\n 'spinner-alt': variant === Variant.Loading,\n },\n ]);\n\n const toastClass = classNames([\n 'message-container',\n className,\n {\n 'theme-new': theme === Theme.New,\n 'variant-basic': variant === Variant.Primary,\n 'variant-success regular-2': variant === Variant.Success,\n 'variant-warning': variant === Variant.Warning,\n 'variant-error': variant === Variant.Error,\n 'variant-loading': variant === Variant.Loading,\n },\n ]);\n\n const { iconSrc, iconAlt } = getIconBasedOnVariantForNewTheme(\n theme,\n variant,\n );\n const closeIconSrc = getCloseIconBasedOnVariant(variant);\n\n return (\n \n
\n {theme === Theme.New ? (\n \n ) : (\n \n )}\n
\n
{content}
\n {showCloseIcon && (\n \n )}\n \n );\n }\n}\n\nexport default Toast;\n","import { Images } from '../app-constants';\nimport { Theme, Variant } from './toast';\n\nexport const getIconBasedOnVariantForNewTheme = (\n theme: Theme,\n variant: Variant,\n): {\n iconSrc: string;\n iconAlt: string;\n} => {\n if (theme === Theme.New) {\n if (variant === Variant.Success) {\n return {\n iconSrc: Images.ChecksGreen,\n iconAlt: 'success',\n };\n }\n if (variant === Variant.Error) {\n return {\n iconSrc: Images.AlertTriangleRed,\n iconAlt: 'error',\n };\n }\n if(variant === Variant.Warning){\n return {\n iconSrc: Images.WarningTriangle,\n iconAlt: 'warning',\n }\n }\n }\n\n return {\n iconSrc: '',\n iconAlt: '',\n };\n};\n\nexport const getCloseIconBasedOnVariant = (variant: Variant): string => {\n if (variant === Variant.Error) {\n return Images.CrossRed;\n }\n\n return '';\n};\n","import React, { ReactElement } from 'react';\nimport produce from 'immer';\nimport ToastComponent, { PartialToastProps } from './toast';\n\nexport enum Position {\n Top = 'top',\n Bottom = 'bottom',\n}\n\nexport type ToastManagerOptions = PartialToastProps & { position?: Position };\n\ntype Toast = ToastManagerOptions & { id: number };\n\ntype ToastManagerState = {\n id: number;\n activeToasts: Toast[];\n};\n\ntype ToastManagerProps = {\n bindActions: (...args: any[]) => any;\n};\n\nclass ToastManager extends React.Component<\n ToastManagerProps,\n ToastManagerState\n> {\n // The toast fade timeout is 0.15s. so keeping this value anything >= 0.15s\n // would work. here, we're keeping it 500 to be safe.\n // settings this value to < 0.15s would remove the toast element from\n // DOM before the css fade animation finishes.\n removeToastTimeout = 500;\n\n constructor(props) {\n super(props);\n\n this.state = {\n // eslint-disable-next-line react/no-unused-state\n id: 0,\n activeToasts: [],\n };\n\n this.addToast = this.addToast.bind(this);\n\n const { bindActions } = this.props;\n bindActions(this.addToast);\n }\n\n getNextId = (id: number): number => id + 1;\n\n getToastComponent(toast: Toast): ReactElement {\n return (\n this.removeToast(toast)}\n showCloseIcon={toast.showCloseIcon}\n />\n );\n }\n\n addToast(options: ToastManagerOptions) {\n const { position = Position.Bottom, ...remainingOptions } = options;\n\n this.setState(\n produce((draft: ToastManagerState) => {\n draft.id = this.getNextId(draft.id);\n const toast: Toast = {\n id: draft.id,\n position,\n ...remainingOptions,\n };\n draft.activeToasts.push(toast);\n }),\n );\n }\n\n removeToast(toast: Toast) {\n toast.onClose?.();\n setTimeout(() => {\n this.setState(\n produce((draft: ToastManagerState) => {\n draft.activeToasts = draft.activeToasts.filter(\n (activeToast) => activeToast.id !== toast.id,\n );\n }),\n );\n }, this.removeToastTimeout);\n }\n\n render() {\n const { activeToasts } = this.state;\n\n const topToasts = activeToasts\n .filter((toast) => toast.position === Position.Top)\n .map((toast) => this.getToastComponent(toast));\n\n const bottomToasts = activeToasts\n .filter((toast) => toast.position === Position.Bottom)\n .map((toast) => this.getToastComponent(toast));\n\n return (\n
\n
{topToasts}
\n
{bottomToasts}
\n
\n );\n }\n}\n\nexport default ToastManager;\n","import { ToastManagerOptions } from './toast-manager';\nimport { Variant } from './toast';\nimport { ReactNode } from 'react';\n\nexport type ToastOptions = Omit;\nexport type ToastOptionsWithoutVariant = Omit;\n\nclass ToasterHelper {\n private _addToast;\n\n bindActions = (addToast) => {\n this._addToast = addToast;\n };\n\n toast = (content: ReactNode, options?: ToastOptions) =>\n this._addToast({ ...options, content });\n\n info = (content: ReactNode, options?: ToastOptionsWithoutVariant) =>\n this.toast(content, { ...options, variant: Variant.Primary });\n\n success = (content: ReactNode, options?: ToastOptionsWithoutVariant) =>\n this.toast(content, { ...options, variant: Variant.Success });\n\n warning = (content: ReactNode, options?: ToastOptionsWithoutVariant) =>\n this.toast(content, { ...options, variant: Variant.Warning });\n\n error = (content: ReactNode, options?: ToastOptionsWithoutVariant) =>\n this.toast(content, { ...options, variant: Variant.Error });\n\n loading = (content: ReactNode, options?: ToastOptionsWithoutVariant) =>\n this.toast(content, { ...options, variant: Variant.Loading });\n}\n\nexport default ToasterHelper;\n","import ToasterHelper from './toaster-helper';\n\nconst toaster = new ToasterHelper();\n\nexport type { ToastOptions } from './toaster-helper';\nexport type { ToastOptionsWithoutVariant } from './toaster-helper';\nexport { Position, default as ToastManager } from './toast-manager';\nexport { Variant, Theme } from './toast';\nexport default toaster;\n","export const ApiStatusCode = {\n Ok: 200,\n Created: 201,\n NoContent: 204,\n BadRequest: 400,\n Unauthorized: 401,\n Forbidden: 403,\n NotFound: 404,\n Conflict: 409,\n UnprocessableEntity: 422,\n InternalServerError: 500,\n ServiceUnavailable: 503,\n GatewayTimeout: 504,\n RateLimitExceeded: 429,\n Unknown: 0,\n};\n","/* eslint-disable import/no-cycle */\nimport axios from 'axios';\nimport { debounce } from 'lodash';\nimport { getToken, triggerSessionExpiration } from './shared/utils';\nimport { ExceptionTypes, ResponseErrorWithHandled } from './shared/types';\nimport { showValidationErrorNotification } from './shared/utils/errors';\nimport { planError } from './shared/utils/errors/plan-permission-error/plan-error';\nimport { showGeneralErrorToaster } from './shared/utils/errors/system-error-toaster';\nimport { SystemErrors } from './shared/enums/system-errors';\nimport { ApiStatusCode } from './shared/enums/status-codes';\n\nconst instance = axios.create({\n baseURL: process.env.REACT_APP_API_URL,\n});\n\ninstance.interceptors.request.use(\n (config) => {\n const token = getToken();\n if (token) {\n config.headers.authorization = `Bearer ${token}`;\n }\n return config;\n },\n (err) => Promise.reject(err),\n);\n\nconst isCustomError = (err: any): boolean => !!err.response?.data?.type;\n\nconst debounceSystemError = debounce((errorMessage) => {\n showGeneralErrorToaster(errorMessage);\n}, 500);\n\nconst handleSystemError = (errorMessage?: string) => {\n debounceSystemError(errorMessage || SystemErrors.InternalServerError);\n};\n\ninstance.interceptors.response.use(\n (response) => response.data,\n (err): Promise => {\n let error: ResponseErrorWithHandled;\n if (err?.response?.status === ApiStatusCode.RateLimitExceeded) {\n error = {\n error: true,\n type: ExceptionTypes.System,\n message:\n 'You have reached the limit of allowed actions. Please wait for some time before trying again.',\n isHandled: true,\n };\n\n handleSystemError(error.message);\n return Promise.reject(error);\n }\n\n // ** Handle Custom API Cancellation\n if (axios?.isCancel(err)) {\n // * Case - Only message passed to cancel token to show custom message in toaster\n if (typeof err?.message === 'string') {\n error = {\n error: true,\n type: ExceptionTypes.System,\n message: err?.message || 'Request was cancelled',\n isHandled: true,\n };\n } else {\n // * Case - Passed error message object with different keys\n const type = err?.message?.type || ExceptionTypes.System;\n const message = err?.message?.message || 'Request was cancelled';\n error = { ...err, type, message, isHandled: true };\n }\n if (error?.type !== ExceptionTypes.Silent) {\n handleSystemError(error.message);\n }\n return Promise.reject(error);\n }\n\n // to prevent to throw error get from backend for suspended user, will use custom error message at login-form\n if (err?.response?.data?.code === 1002) {\n error = { ...err.response.data, isHandled: true };\n return Promise.reject(error);\n }\n\n if (isCustomError(err)) {\n error = { ...err.response.data, isHandled: false };\n\n // eslint-disable-next-line default-case\n switch (error.type) {\n case ExceptionTypes.Auth:\n triggerSessionExpiration();\n break;\n\n case ExceptionTypes.System:\n handleSystemError();\n error.isHandled = true;\n break;\n\n case ExceptionTypes.Validation: {\n showValidationErrorNotification(error.messages);\n error.isHandled = true;\n break;\n }\n case ExceptionTypes.PlanPermission: {\n planError(error.code, error.message);\n error.isHandled = true;\n break;\n }\n case ExceptionTypes.General: {\n handleSystemError(error.message);\n error.isHandled = true;\n break;\n }\n\n case ExceptionTypes.RateLimit: {\n handleSystemError(error.message);\n error.isHandled = true;\n break;\n }\n\n case ExceptionTypes.Silent: {\n error.isHandled = true;\n break;\n }\n }\n } else {\n error = {\n error: true,\n type: ExceptionTypes.System,\n message: err.message,\n isHandled: true,\n };\n\n handleSystemError(error.message);\n }\n\n return Promise.reject(error);\n },\n);\n\nexport default instance;\n","import toaster, { Theme } from '../../toaster';\n\nexport const showGeneralErrorToaster = (message: string) => {\n toaster.error(message, { theme: Theme.New });\n};\n","export enum SequenceSettingCode {\n EMAIL_LIMIT = 'email-limit', // Email limit of prospect in a single day\n UNSUBSCRIBE_LINK = 'unsubscribe-link', // Unsubscribe link in email\n MARK_AS_FINISHED = 'mark-as-finished', // Consider the prospect as finished if a reply is received\n SCHEDULE = 'schedule',\n TRACK_LINK_CLICKS = 'track-link-clicks', // To toggle activation of click tracking in emails.\n TRACK_EMAIL_OPENS = 'track-email-opens', // To toggle activation of click tracking on open email\n IS_SAMPLE_SEQUENCE = 'is-sample-sequence',\n TRACK_RISKY_PROSPECTS = 'email-risky-prospects',\n DEAL_VALUE = 'deal-value',\n CC = 'cc',\n BCC = 'bcc',\n TEXT_ONLY_EMAIL = 'text-only-email',\n SHOW_TEXT_ONLY_OPTION = 'show-text-only-option',\n ESP_MATCHING = 'esp-matching',\n SEQUENCE_SETTING_VISITED = 'sequence-setting-visited',\n}\n\nexport enum UnsubscribeText {\n NO_MAIL_FROM_ME = `If you'd prefer not to receive email from me, Unsubscribe here.`,\n NO_MAIL_FUTURE = `If you don't want to receive such emails in future, Unsubscribe here.`,\n NOT_UP_TO_MAILS = `Not up for all these emails? No Sweat! you can, Unsubscribe here.`,\n CUSTOM = 'custom',\n}\n\nexport enum SequencePrioritySettingCode {\n FIRST_TO_LAST = 'first-to-last',\n LAST_TO_FIRST = 'last-to-first',\n EQUAL = 'equal',\n AGGRESSIVE_FISRT = 'aggressive-first',\n}\n","export enum PaginationOption {\n PAGE = 'page',\n LIMIT = 'limit',\n SORT_BY = 'sortBy',\n ORDER = 'order',\n PROGRESS = 'progress',\n SEARCH = 'search',\n OWNERS = 'owners',\n CLIENTS = 'clients',\n}\n","export enum SequenceScoreErrorType {\n FirstStepNotFound = 2014,\n MaximumEmailContentSizeExceeded = 2015,\n NoEmailAccountConnectedToSequence = 2016,\n FirstStepDataNotAvailable = 2017,\n}\n\nexport enum SequenceScoreTab {\n EmailAccountSetupScore = 'emailAccountSetupScore',\n SequenceSetupScore = 'sequenceSetupScore',\n EmailWritingScore = 'emailWritingScore',\n}\n\nexport enum SequenceScoreChartColor {\n poor = '#DC2626',\n belowAverage = '#F97316',\n average = '#F59E0B',\n good = '#34D399',\n veryGood = '#059669',\n}\n","export enum StepType {\n Email = 'Email',\n LinkedIn = 'LinkedIn',\n Call = 'Call',\n WhatsApp = 'WhatsApp',\n Task = 'Task',\n}\n","export enum SubscriptionPlans {\n FREE = 'free',\n TRIAL = 'trial',\n PAID_MONTHLY = 'paid-monthly',\n PAID_YEARLY = 'paid-yearly',\n EMAIL_STARTER_MONTHLY = 'email-starter-monthly',\n EMAIL_STARTER_YEARLY = 'email-starter-yearly',\n EMAIL_OUTREACH_MONTHLY = 'email-outreach-monthly',\n EMAIL_OUTREACH_YEARLY = 'email-outreach-yearly',\n EMAIL_OUTREACH_LIFETIME = 'ltd-email-outreach',\n EMAIL_OUTREACH_PRO_LIFETIME = 'ltd-email-outreach-pro',\n OLD_OUTREACH_MONTHLY = 'old-outreach-monthly',\n OLD_OUTREACH_YEARLY = 'old-outreach-yearly',\n OUTREACH_BASIC_MONTHLY = 'email-outreach-basic-monthly',\n OUTREACH_BASIC_YEARLY = 'email-outreach-basic-yearly',\n OUTREACH_PRO_MONTHLY = 'email-outreach-pro-monthly',\n OUTREACH_PRO_YEARLY = 'email-outreach-pro-yearly',\n OUTREACH_SCALE_MONTHLY = 'email-outreach-scale-monthly',\n OUTREACH_SCALE_YEARLY = 'email-outreach-scale-yearly',\n OUTREACH_BASIC_MONTHLY_8_2023 = 'email-outreach-basic-monthly-08-2023',\n OUTREACH_BASIC_YEARLY_8_2023 = 'email-outreach-basic-yearly-08-2023',\n OUTREACH_PRO_MONTHLY_8_2023 = 'email-outreach-pro-monthly-08-2023',\n OUTREACH_PRO_YEARLY_8_2023 = 'email-outreach-pro-yearly-08-2023',\n OUTREACH_SCALE_MONTHLY_8_2023 = 'email-outreach-scale-monthly-08-2023',\n OUTREACH_SCALE_YEARLY_8_2023 = 'email-outreach-scale-yearly-08-2023',\n LEAD_FINDER_FREE = 'lead-finder-free',\n LEAD_FINDER_TRIAL = 'lead-finder-trial',\n LEAD_FINDER_EMAIL_STARTER_MONTHLY = 'lead-finder-email-starter-monthly',\n LEAD_FINDER_EMAIL_PRO_MONTHLY = 'lead-finder-email-pro-monthly',\n LEAD_FINDER_EMAIL_SCALE_MONTHLY = 'lead-finder-email-scale-monthly',\n LEAD_FINDER_EMAIL_SCALE_PLUS_1_MONTHLY = 'lead-finder-email-scale-plus-1-monthly',\n LEAD_FINDER_EMAIL_SCALE_PLUS_2_MONTHLY = 'lead-finder-email-scale-plus-2-monthly',\n LEAD_FINDER_EMAIL_SCALE_PLUS_3_MONTHLY = 'lead-finder-email-scale-plus-3-monthly',\n LEAD_FINDER_EMAIL_SCALE_PLUS_4_MONTHLY = 'lead-finder-email-scale-plus-4-monthly',\n LEAD_FINDER_EMAIL_PHONE_STARTER_MONTHLY = 'lead-finder-email-phone-starter-monthly',\n LEAD_FINDER_EMAIL_PHONE_PRO_MONTHLY = 'lead-finder-email-phone-pro-monthly',\n LEAD_FINDER_EMAIL_PHONE_SCALE_MONTHLY = 'lead-finder-email-phone-scale-monthly',\n LEAD_FINDER_EMAIL_PHONE_SCALE_PLUS_1_MONTHLY = 'lead-finder-email-phone-scale-plus-1-monthly',\n LEAD_FINDER_EMAIL_PHONE_SCALE_PLUS_2_MONTHLY = 'lead-finder-email-phone-scale-plus-2-monthly',\n LEAD_FINDER_EMAIL_PHONE_SCALE_PLUS_3_MONTHLY = 'lead-finder-email-phone-scale-plus-3-monthly',\n LEAD_FINDER_EMAIL_PHONE_SCALE_PLUS_4_MONTHLY = 'lead-finder-email-phone-scale-plus-4-monthly',\n LEAD_FINDER_EMAIL_STARTER_YEARLY = 'lead-finder-email-starter-yearly',\n LEAD_FINDER_EMAIL_PRO_YEARLY = 'lead-finder-email-pro-yearly',\n LEAD_FINDER_EMAIL_SCALE_YEARLY = 'lead-finder-email-scale-yearly',\n LEAD_FINDER_EMAIL_SCALE_PLUS_1_YEARLY = 'lead-finder-email-scale-plus-1-yearly',\n LEAD_FINDER_EMAIL_SCALE_PLUS_2_YEARLY = 'lead-finder-email-scale-plus-2-yearly',\n LEAD_FINDER_EMAIL_SCALE_PLUS_3_YEARLY = 'lead-finder-email-scale-plus-3-yearly',\n LEAD_FINDER_EMAIL_SCALE_PLUS_4_YEARLY = 'lead-finder-email-scale-plus-4-yearly',\n LEAD_FINDER_EMAIL_PHONE_STARTER_YEARLY = 'lead-finder-email-phone-starter-yearly',\n LEAD_FINDER_EMAIL_PHONE_PRO_YEARLY = 'lead-finder-email-phone-pro-yearly',\n LEAD_FINDER_EMAIL_PHONE_SCALE_YEARLY = 'lead-finder-email-phone-scale-yearly',\n LEAD_FINDER_EMAIL_PHONE_SCALE_PLUS_1_YEARLY = 'lead-finder-email-phone-scale-plus-1-yearly',\n LEAD_FINDER_EMAIL_PHONE_SCALE_PLUS_2_YEARLY = 'lead-finder-email-phone-scale-plus-2-yearly',\n LEAD_FINDER_EMAIL_PHONE_SCALE_PLUS_3_YEARLY = 'lead-finder-email-phone-scale-plus-3-yearly',\n LEAD_FINDER_EMAIL_PHONE_SCALE_PLUS_4_YEARLY = 'lead-finder-email-phone-scale-plus-4-yearly',\n}\n\nexport enum LeadFinderSubscriptionPlans {\n LEAD_FINDER_FREE = 'lead-finder-free',\n LEAD_FINDER_TRIAL = 'lead-finder-trial',\n LEAD_FINDER_EMAIL_STARTER_MONTHLY = 'lead-finder-email-starter-monthly',\n LEAD_FINDER_EMAIL_PRO_MONTHLY = 'lead-finder-email-pro-monthly',\n LEAD_FINDER_EMAIL_SCALE_MONTHLY = 'lead-finder-email-scale-monthly',\n LEAD_FINDER_EMAIL_SCALE_PLUS_1_MONTHLY = 'lead-finder-email-scale-plus-1-monthly',\n LEAD_FINDER_EMAIL_SCALE_PLUS_2_MONTHLY = 'lead-finder-email-scale-plus-2-monthly',\n LEAD_FINDER_EMAIL_SCALE_PLUS_3_MONTHLY = 'lead-finder-email-scale-plus-3-monthly',\n LEAD_FINDER_EMAIL_SCALE_PLUS_4_MONTHLY = 'lead-finder-email-scale-plus-4-monthly',\n LEAD_FINDER_EMAIL_PHONE_STARTER_MONTHLY = 'lead-finder-email-phone-starter-monthly',\n LEAD_FINDER_EMAIL_PHONE_PRO_MONTHLY = 'lead-finder-email-phone-pro-monthly',\n LEAD_FINDER_EMAIL_PHONE_SCALE_MONTHLY = 'lead-finder-email-phone-scale-monthly',\n LEAD_FINDER_EMAIL_PHONE_SCALE_PLUS_1_MONTHLY = 'lead-finder-email-phone-scale-plus-1-monthly',\n LEAD_FINDER_EMAIL_PHONE_SCALE_PLUS_2_MONTHLY = 'lead-finder-email-phone-scale-plus-2-monthly',\n LEAD_FINDER_EMAIL_PHONE_SCALE_PLUS_3_MONTHLY = 'lead-finder-email-phone-scale-plus-3-monthly',\n LEAD_FINDER_EMAIL_PHONE_SCALE_PLUS_4_MONTHLY = 'lead-finder-email-phone-scale-plus-4-monthly',\n LEAD_FINDER_EMAIL_STARTER_YEARLY = 'lead-finder-email-starter-yearly',\n LEAD_FINDER_EMAIL_PRO_YEARLY = 'lead-finder-email-pro-yearly',\n LEAD_FINDER_EMAIL_SCALE_YEARLY = 'lead-finder-email-scale-yearly',\n LEAD_FINDER_EMAIL_SCALE_PLUS_1_YEARLY = 'lead-finder-email-scale-plus-1-yearly',\n LEAD_FINDER_EMAIL_SCALE_PLUS_2_YEARLY = 'lead-finder-email-scale-plus-2-yearly',\n LEAD_FINDER_EMAIL_SCALE_PLUS_3_YEARLY = 'lead-finder-email-scale-plus-3-yearly',\n LEAD_FINDER_EMAIL_SCALE_PLUS_4_YEARLY = 'lead-finder-email-scale-plus-4-yearly',\n LEAD_FINDER_EMAIL_PHONE_STARTER_YEARLY = 'lead-finder-email-phone-starter-yearly',\n LEAD_FINDER_EMAIL_PHONE_PRO_YEARLY = 'lead-finder-email-phone-pro-yearly',\n LEAD_FINDER_EMAIL_PHONE_SCALE_YEARLY = 'lead-finder-email-phone-scale-yearly',\n LEAD_FINDER_EMAIL_PHONE_SCALE_PLUS_1_YEARLY = 'lead-finder-email-phone-scale-plus-1-yearly',\n LEAD_FINDER_EMAIL_PHONE_SCALE_PLUS_2_YEARLY = 'lead-finder-email-phone-scale-plus-2-yearly',\n LEAD_FINDER_EMAIL_PHONE_SCALE_PLUS_3_YEARLY = 'lead-finder-email-phone-scale-plus-3-yearly',\n LEAD_FINDER_EMAIL_PHONE_SCALE_PLUS_4_YEARLY = 'lead-finder-email-phone-scale-plus-4-yearly',\n}\n\nexport const LeadFinderEmailOnlySubscriptionPlans = [\n 'lead-finder-free',\n 'lead-finder-trial',\n 'lead-finder-email-starter-monthly',\n 'lead-finder-email-pro-monthly',\n 'lead-finder-email-scale-monthly',\n 'lead-finder-email-scale-plus-1-monthly',\n 'lead-finder-email-scale-plus-2-monthly',\n 'lead-finder-email-scale-plus-3-monthly',\n 'lead-finder-email-scale-plus-4-monthly',\n 'lead-finder-email-starter-yearly',\n 'lead-finder-email-pro-yearly',\n 'lead-finder-email-scale-yearly',\n 'lead-finder-email-scale-plus-1-yearly',\n 'lead-finder-email-scale-plus-2-yearly',\n 'lead-finder-email-scale-plus-3-yearly',\n 'lead-finder-email-scale-plus-4-yearly',\n];\n\nexport const LeadFinderEmailPhoneSubscriptionPlans = [\n 'lead-finder-email-phone-starter-monthly',\n 'lead-finder-email-phone-pro-monthly',\n 'lead-finder-email-phone-scale-monthly',\n 'lead-finder-email-phone-scale-plus-1-monthly',\n 'lead-finder-email-phone-scale-plus-2-monthly',\n 'lead-finder-email-phone-scale-plus-3-monthly',\n 'lead-finder-email-phone-scale-plus-4-monthly',\n 'lead-finder-email-phone-starter-yearly',\n 'lead-finder-email-phone-pro-yearly',\n 'lead-finder-email-phone-scale-yearly',\n 'lead-finder-email-phone-scale-plus-1-yearly',\n 'lead-finder-email-phone-scale-plus-2-yearly',\n 'lead-finder-email-phone-scale-plus-3-yearly',\n 'lead-finder-email-phone-scale-plus-4-yearly',\n];\n\nexport enum SubscriptionPlanTitle {\n StarterMonthly = 'Starter (Monthly)',\n StarterYearly = 'Starter (Yearly)',\n OutreachMonthly = 'Outreach (Monthly)',\n OutreachYearly = 'Outreach (Yearly)',\n EmailOutreach = 'Email Outreach',\n EmailOutreachPro = 'Outreach (Lifetime)',\n CancelledProMonthly = 'Cancelled Pro ( Monthly )',\n CancelledProYearly = 'Cancelled Pro ( Yearly )',\n OutreachBasicMonthly = 'Outreach Starter (Monthly)',\n OutreachBasicYearly = 'Outreach Starter (Yearly)',\n OutreachProMonthly = 'Outreach Pro (Monthly)',\n OutreachProYearly = 'Outreach Pro (Yearly)',\n OutreachScaleMonthly = 'Outreach Scale (Monthly)',\n OutreachScaleYearly = 'Outreach Scale (Yearly)',\n OutreachScaleMonthly100k = 'Outreach Scale Plus 100K (Monthly)',\n OutreachScaleYearly100k = 'Outreach Scale Plus 100K (Yearly)',\n OutreachScaleMonthly200k = 'Outreach Scale Plus 200K (Monthly)',\n OutreachScaleYearly200k = 'Outreach Scale Plus 200K (Yearly)',\n OutreachScaleMonthly300k = 'Outreach Scale Plus 300K (Monthly)',\n OutreachScaleYearly300k = 'Outreach Scale Plus 300K (Yearly)',\n OutreachScaleMonthly400k = 'Outreach Scale Plus 400K (Monthly)',\n OutreachScaleYearly400k = 'Outreach Scale Plus 400K (Yearly)',\n OutreachScaleMonthly500k = 'Outreach Scale Plus 500K (Monthly)',\n OutreachScaleYearly500k = 'Outreach Scale Plus 500K (Yearly)',\n\n Custom = 'Custom',\n\n LeadFinderFree = 'Lead Free',\n LeadFinderTrial = 'Lead Trial',\n LeadFinderEmailStarterMonthly = 'Lead Starter (Monthly)',\n LeadFinderEmailProMonthly = 'Lead Pro (Monthly)',\n LeadFinderEmailScaleMonthly = 'Lead Scale (Monthly)',\n LeadFinderEmailScalePlus1Monthly = 'Lead Scale Plus 10K (Monthly)',\n LeadFinderEmailScalePlus2Monthly = 'Lead Scale Plus 20K (Monthly)',\n LeadFinderEmailScalePlus3Monthly = 'Lead Scale Plus 50K (Monthly)',\n LeadFinderEmailScalePlus4Monthly = 'Lead Scale Plus 100K (Monthly)',\n LeadFinderEmailStarterYearly = 'Lead Starter (Yearly)',\n LeadFinderEmailProYearly = 'Lead Pro (Yearly)',\n LeadFinderEmailScaleYearly = 'Lead Scale (Yearly)',\n LeadFinderEmailScalePlus1Yearly = 'Lead Scale Plus 10K (Yearly)',\n LeadFinderEmailScalePlus2Yearly = 'Lead Scale Plus 20K (Yearly)',\n LeadFinderEmailScalePlus3Yearly = 'Lead Scale Plus 50K (Yearly)',\n LeadFinderEmailScalePlus4Yearly = 'Lead Scale Plus 100K (Yearly)',\n LeadFinderEmailPhoneStarterMonthly = 'Lead Starter (Email+Phone) (Monthly)',\n LeadFinderEmailPhoneProMonthly = 'Lead Pro (Email+Phone) (Monthly)',\n LeadFinderEmailPhoneScaleMonthly = 'Lead Scale (Email+Phone) (Monthly)',\n LeadFinderEmailPhoneScalePlus1Monthly = 'Lead Scale Plus 10K (Email+Phone) (Monthly)',\n LeadFinderEmailPhoneScalePlus2Monthly = 'Lead Scale Plus 20K (Email+Phone) (Monthly)',\n LeadFinderEmailPhoneScalePlus3Monthly = 'Lead Scale Plus 50K (Email+Phone) (Monthly)',\n LeadFinderEmailPhoneScalePlus4Monthly = 'Lead Scale Plus 100K (Email+Phone) (Monthly)',\n LeadFinderEmailPhoneStarterYearly = 'Lead Starter (Email+Phone) (Yearly)',\n LeadFinderEmailPhoneProYearly = 'Lead Pro (Email+Phone) (Yearly)',\n LeadFinderEmailPhoneScaleYearly = 'Lead Scale (Email+Phone) (Yearly)',\n LeadFinderEmailPhoneScalePlus1Yearly = 'Lead Scale Plus 10K (Email+Phone) (Yearly)',\n LeadFinderEmailPhoneScalePlus2Yearly = 'Lead Scale Plus 20K (Email+Phone) (Yearly)',\n LeadFinderEmailPhoneScalePlus3Yearly = 'Lead Scale Plus 50K (Email+Phone) (Yearly)',\n LeadFinderEmailPhoneScalePlus4Yearly = 'Lead Scale Plus 100K (Email+Phone) (Yearly)',\n}\n\nexport enum SubscriptionPlanPrice {\n StarterMonthly = 9,\n StarterYearly = 7,\n OutreachMonthly = 33,\n OutreachYearly = 25,\n EmailOutreachLifetime = 99,\n EmailOutreachProMonthly = 59,\n EmailOutreachProYearly = 49,\n EmailOutreachProLifetime = 79,\n OldOureachMonthly = 29,\n OldOureachYearly = 25,\n OutreachBasicMonthly = 34,\n OutreachBasicYearly = 27,\n OutreachProMonthly = 94,\n OutreachProYearly = 79,\n OutreachScaleMonthly = 179,\n OutreachScaleYearly = 159,\n}\n\nexport enum SubscriptionPlanModes {\n MonthlyMode = 1,\n YearlyMode = 12,\n LTDMode = 0,\n}\n\nexport enum ModifyPlanAction {\n Update = 'update',\n Downgrade = 'downgrade',\n AddSlots = 'add-slots',\n}\n\nexport enum PlanPurchaseAction {\n Upgrade = 'upgrade',\n Downgrade = 'downgrade',\n Subscribe = 'subscribe',\n}\n\nexport enum PlanType {\n User = 'user',\n EmailAccount = 'email-account',\n Slot = 'slot',\n ValueBased = 'value-based',\n LTD = 'ltd',\n LTD2 = 'ltd-2',\n}\n\nexport const SubscriptionPlanIdMap = Object.freeze({\n free: 1,\n trial: 2,\n [SubscriptionPlans.PAID_MONTHLY]: 3,\n [SubscriptionPlans.PAID_YEARLY]: 5,\n [SubscriptionPlans.EMAIL_STARTER_MONTHLY]: 17,\n [SubscriptionPlans.EMAIL_STARTER_YEARLY]: 18,\n [SubscriptionPlans.EMAIL_OUTREACH_MONTHLY]: 19,\n [SubscriptionPlans.EMAIL_OUTREACH_YEARLY]: 20,\n [SubscriptionPlans.EMAIL_OUTREACH_LIFETIME]: 10,\n [SubscriptionPlans.EMAIL_OUTREACH_PRO_LIFETIME]: 13,\n [SubscriptionPlans.OUTREACH_BASIC_MONTHLY]: 21,\n [SubscriptionPlans.OUTREACH_PRO_MONTHLY]: 22,\n [SubscriptionPlans.OUTREACH_SCALE_MONTHLY]: 23,\n [SubscriptionPlans.OUTREACH_BASIC_YEARLY]: 24,\n [SubscriptionPlans.OUTREACH_PRO_YEARLY]: 25,\n [SubscriptionPlans.OUTREACH_SCALE_YEARLY]: 26,\n [SubscriptionPlans.OUTREACH_BASIC_MONTHLY_8_2023]: 77,\n [SubscriptionPlans.OUTREACH_PRO_MONTHLY_8_2023]: 78,\n [SubscriptionPlans.OUTREACH_SCALE_MONTHLY_8_2023]: 79,\n [SubscriptionPlans.OUTREACH_BASIC_YEARLY_8_2023]: 80,\n [SubscriptionPlans.OUTREACH_PRO_YEARLY_8_2023]: 81,\n [SubscriptionPlans.OUTREACH_SCALE_YEARLY_8_2023]: 82,\n});\n","export enum Permissions {\n // Sequence\n ACCOUNT_SEQUENCE_READ = 'ACCOUNT.SEQUENCE.READ',\n ACCOUNT_SEQUENCE_WRITE = 'ACCOUNT.SEQUENCE.WRITE',\n ACCOUNT_SEQUENCE_UPDATE = 'ACCOUNT.SEQUENCE.UPDATE',\n ACCOUNT_SEQUENCE_DELETE = 'ACCOUNT.SEQUENCE.DELETE',\n SEQUENCE_READ = 'SEQUENCE.READ',\n SEQUENCE_PROSPECT_READ = 'SEQUENCE_PROSPECT.READ',\n SEQUENCE_EMAIL_READ = 'SEQUENCE_EMAIL.READ',\n SEQUENCE_SCORE_READ = 'SEQUENCE_SCORE.READ',\n SEQUENCE_SETTING_READ = 'SEQUENCE_SETTING.READ',\n SEQUENCE_WRITE = 'SEQUENCE.WRITE',\n SEQUENCE_DELETE = 'SEQUENCE.DELETE',\n SEQUENCE_UPDATE = 'SEQUENCE.UPDATE',\n DRAFT_SEQUENCE_READ = 'DRAFT_SEQUENCE.READ',\n\n // Sequence Step\n ACCOUNT_SEQUENCE_STEP_READ = 'ACCOUNT.SEQUENCE_STEP.READ',\n ACCOUNT_SEQUENCE_STEP_WRITE = 'ACCOUNT.SEQUENCE_STEP.WRITE',\n ACCOUNT_SEQUENCE_STEP_UPDATE = 'ACCOUNT.SEQUENCE_STEP.UPDATE',\n ACCOUNT_SEQUENCE_STEP_DELETE = 'ACCOUNT.SEQUENCE_STEP.DELETE',\n SEQUENCE_STEP_READ = 'SEQUENCE_STEP.READ',\n SEQUENCE_STEP_WRITE = 'SEQUENCE_STEP.WRITE',\n SEQUENCE_STEP_UPDATE = 'SEQUENCE_STEP.UPDATE',\n SEQUENCE_UPDATE_STATUS = 'SEQUENCE.UPDATE_STATUS',\n SEQUENCE_STEP_DELETE = 'SEQUENCE_STEP.DELETE',\n\n // Sequence Step Variant\n ACCOUNT_SEQUENCE_STEP_VARIANT_READ = 'ACCOUNT.SEQUENCE_STEP_VARIANT.READ',\n ACCOUNT_SEQUENCE_STEP_VARIANT_WRITE = 'ACCOUNT.SEQUENCE_STEP_VARIANT.WRITE',\n ACCOUNT_SEQUENCE_STEP_VARIANT_UPDATE = 'ACCOUNT.SEQUENCE_STEP_VARIANT.UPDATE',\n ACCOUNT_SEQUENCE_STEP_VARIANT_DELETE = 'ACCOUNT.SEQUENCE_STEP_VARIANT.DELETE',\n SEQUENCE_STEP_VARIANT_READ = 'SEQUENCE_STEP_VARIANT.READ',\n SEQUENCE_STEP_VARIANT_WRITE = 'SEQUENCE_STEP_VARIANT.WRITE',\n SEQUENCE_STEP_VARIANT_UPDATE = 'SEQUENCE_STEP_VARIANT.UPDATE',\n SEQUENCE_STEP_VARIANT_DELETE = 'SEQUENCE_STEP_VARIANT.DELETE',\n SEQUENCE_STEP_RELATIVE_DAYS_READ = 'SEQUENCE_STEP.RELATIVE_DAYS.READ',\n SEQUENCE_STEP_RELATIVE_DAYS_UPDATE = 'SEQUENCE_STEP.RELATIVE_DAYS.UPDATE',\n\n // Sequence Prospect\n SEQUENCE_PROSPECT_EXPORT = 'SEQUENCE_PROSPECT.EXPORT',\n SEQUENCE_PROSPECT_ADD_TO_SEQUENCE = 'SEQUENCE_PROSPECT.ADD_TO_SEQUENCE',\n SEQUENCE_PROSPECT_UPDATE_TAGS = 'SEQUENCE_PROSPECT.UPDATE_TAGS',\n SEQUENCE_PROSPECT_REMOVE = 'SEQUENCE_PROSPECT.REMOVE',\n SEQUENCE_PROSPECT_STATUS_REPLIED = 'SEQUENCE_PROSPECT.STATUS.REPLIED',\n SEQUENCE_PROSPECT_STATUS_UNSUBSCRIBE = 'SEQUENCE_PROSPECT.STATUS.UNSUBSCRIBE',\n SEQUENCE_PROSPECT_STATUS_FINISHED = 'SEQUENCE_PROSPECT.STATUS.FINISHED',\n SEQUENCE_PROSPECT_STATUS_PAUSED = 'SEQUENCE_PROSPECT.STATUS.PAUSED',\n SEQUENCE_PROSPECT_STATUS_RESUMED = 'SEQUENCE_PROSPECT.STATUS.RESUMED',\n SEQUENCE_PROSPECT_OUTCOME_UPDATE = 'SEQUENCE_PROSPECT.OUTCOME.UPDATE',\n SEQUENCE_PROSPECT_PROFILE = 'SEQUENCE_PROSPECT.PROFILE',\n SEQUENCE_PROSPECT_ACTIVITY = 'SEQUENCE_PROSPECT.ACTIVITY',\n SEQUENCE_PROSPECT_SEQUENCES = 'SEQUENCE_PROSPECT.SEQUENCES',\n SEQUENCE_PROSPECT_WRITE = 'SEQUENCE_PROSPECT.WRITE',\n\n // Sequence Settings\n SEQUENCE_SETTING_UPDATE = 'SEQUENCE_SETTING.UPDATE',\n SEQUENCE_SETTING_EMAIL_ACCOUNT_UPDATE = 'SEQUENCE_SETTING.EMAIL_ACCOUNT.UPDATE',\n SEQUENCE_SETTING_EV_SETTING_UPDATE = 'SEQUENCE_SETTING.EV_SETTING.UPDATE',\n\n // Task\n TASK_READ = 'TASK.READ',\n\n // Custom Domain\n ACCOUNT_CUSTOM_DOMAIN_READ = 'ACCOUNT.CUSTOM_DOMAIN.READ',\n ACCOUNT_CUSTOM_DOMAIN_WRITE = 'ACCOUNT.CUSTOM_DOMAIN.WRITE',\n ACCOUNT_CUSTOM_DOMAIN_UPDATE = 'ACCOUNT.CUSTOM_DOMAIN.UPDATE',\n ACCOUNT_CUSTOM_DOMAIN_DELETE = 'ACCOUNT.CUSTOM_DOMAIN.DELETE',\n CUSTOM_DOMAIN_SHOW = 'CUSTOM_DOMAIN.SHOW',\n CUSTOM_DOMAIN_READ = 'CUSTOM_DOMAIN.READ',\n CUSTOM_DOMAIN_WRITE = 'CUSTOM_DOMAIN.WRITE',\n CUSTOM_DOMAIN_UPDATE = 'CUSTOM_DOMAIN.UPDATE',\n CUSTOM_DOMAIN_DELETE = 'CUSTOM_DOMAIN.DELETE',\n ACCOUNT_CUSTOM_DOMAIN_EMAIL_ACCOUNT_READ = 'ACCOUNT.CUSTOM_DOMAIN_EMAIL_ACCOUNT.READ',\n ACCOUNT_CUSTOM_DOMAIN_EMAIL_ACCOUNT_UPDATE = 'ACCOUNT.CUSTOM_DOMAIN_EMAIL_ACCOUNT.READ',\n\n // Schedule\n ACCOUNT_SCHEDULE_READ = 'ACCOUNT.SCHEDULE.READ',\n ACCOUNT_SCHEDULE_WRITE = 'ACCOUNT.SCHEDULE.WRITE',\n ACCOUNT_SCHEDULE_DELETE = 'ACCOUNT.SCHEDULE.DELETE',\n ACCOUNT_SCHEDULE_UPDATE = 'ACCOUNT.SCHEDULE.UPDATE',\n SCHEDULE_READ = 'SCHEDULE.READ',\n SCHEDULE_WRITE = 'SCHEDULE.WRITE',\n SCHEDULE_DELETE = 'SCHEDULE.DELETE',\n SCHEDULE_UPDATE = 'SCHEDULE.UPDATE',\n SCHEDULE_SHOW = 'SCHEDULE.SHOW',\n\n // User\n ACCOUNT_USER_READ = 'ACCOUNT.USER.READ',\n ACCOUNT_USER_INVITE = 'ACCOUNT.USER.INVITE',\n ACCOUNT_USER_DELETE = 'ACCOUNT.USER.DELETE',\n ACCOUNT_USER_UPDATE = 'ACCOUNT.USER.UPDATE',\n USER_READ = 'USER.READ',\n\n // Users And Teams\n ACCOUNT_TEAM_INVITE_WRITE = 'ACCOUNT.TEAM_INVITE.WRITE',\n ACCOUNT_TEAM_MEMBER_READ = 'ACCOUNT.TEAM_MEMBER.READ',\n ACCOUNT_TEAM_WRITE = 'ACCOUNT.TEAM.WRITE',\n ACCOUNT_TEAM_UPDATE = 'ACCOUNT.TEAM.UPDATE',\n ACCOUNT_TEAM_DELETE = 'ACCOUNT.TEAM.DELETE',\n TEAM_MEMBER_READ = 'TEAM_MEMBER.READ',\n TEAM_TEAM_MEMBER_READ = 'TEAM.TEAM_MEMBER.READ',\n ACCOUNT_TEAM_READ = 'ACCOUNT.TEAM.READ',\n TEAM_USER_READ = 'TEAM.USER.READ',\n TEAM_SHOW = 'TEAM.SHOW',\n USER_TEAM_SHOW = 'USER.TEAM.SHOW',\n\n // Prospect\n ACCOUNT_PROSPECT_READ = 'ACCOUNT.PROSPECT.READ',\n ACCOUNT_PROSPECT_WRITE = 'ACCOUNT.PROSPECT.WRITE',\n ACCOUNT_PROSPECT_UPDATE = 'ACCOUNT.PROSPECT.UPDATE',\n ACCOUNT_PROSPECT_DELETE = 'ACCOUNT.PROSPECT.DELETE',\n PROSPECT_READ = 'PROSPECT.READ',\n PROSPECT_WRITE = 'PROSPECT.WRITE',\n PROSPECT_UPDATE = 'PROSPECT.UPDATE',\n PROSPECT_DELETE = 'PROSPECT.DELETE',\n\n // Fields\n ACCOUNT_FIELD_READ = 'ACCOUNT.FIELD.READ',\n ACCOUNT_FIELD_WRITE = 'ACCOUNT.FIELD.WRITE',\n ACCOUNT_FIELD_UPDATE = 'ACCOUNT.FIELD.UPDATE',\n ACCOUNT_FIELD_DELETE = 'ACCOUNT.FIELD.DELETE',\n FIELD_SHOW = 'FIELD.SHOW',\n FIELD_READ = 'FIELD.READ',\n FIELD_WRITE = 'FIELD.WRITE',\n FIELD_UPDATE = 'FIELD.UPDATE',\n FIELD_DELETE = 'FIELD.DELETE',\n\n // Outcomes\n ACCOUNT_OUTCOME_READ = 'ACCOUNT.OUTCOME.READ',\n ACCOUNT_OUTCOME_WRITE = 'ACCOUNT.OUTCOME.WRITE',\n ACCOUNT_OUTCOME_UPDATE = 'ACCOUNT.OUTCOME.UPDATE',\n ACCOUNT_OUTCOME_DELETE = 'ACCOUNT.OUTCOME.DELETE',\n OUTCOME_SHOW = 'OUTCOME.SHOW',\n OUTCOME_READ = 'OUTCOME.READ',\n OUTCOME_WRITE = 'OUTCOME.WRITE',\n OUTCOME_UPDATE = 'OUTCOME.UPDATE',\n OUTCOME_DELETE = 'OUTCOME.DELETE',\n\n // TEMPLATE\n ACCOUNT_TEMPLATE_READ = 'ACCOUNT.TEMPLATE.READ',\n ACCOUNT_TEMPLATE_WRITE = 'ACCOUNT.TEMPLATE.WRITE',\n ACCOUNT_TEMPLATE_UPDATE = 'ACCOUNT.TEMPLATE.UPDATE',\n ACCOUNT_TEMPLATE_DELETE = 'ACCOUNT.TEMPLATE.DELETE',\n TEMPLATE_READ = 'TEMPLATE.READ',\n TEMPLATE_WRITE = 'TEMPLATE.WRITE',\n TEMPLATE_UPDATE = 'TEMPLATE.UPDATE',\n TEMPLATE_DELETE = 'TEMPLATE.DELETE',\n TEMPLATE_SHARE = 'TEMPLATE.SHARE',\n MY_TEMPLATES_READ = 'MY_TEMPLATES.READ',\n TEAM_TEMPLATES_READ = 'TEAM_TEMPLATES.READ',\n\n // Report\n REPORT_READ = 'REPORT.READ',\n ACCOUNT_TEAM_REPORT_SHOW = 'ACCOUNT.TEAM_REPORT.SHOW',\n ACCOUNT_TEAM_REPORT_READ = 'ACCOUNT.TEAM_REPORT.READ',\n TEAM_TEAM_REPORT_READ = 'TEAM.TEAM_REPORT.READ',\n\n // EMAIL\n ACCOUNT_EMAIL_READ = 'ACCOUNT.EMAIL.READ',\n ACCOUNT_EMAIL_WRITE = 'ACCOUNT.EMAIL.WRITE',\n ACCOUNT_EMAIL_UPDATE = 'ACCOUNT.EMAIL.UPDATE',\n ACCOUNT_EMAIL_DELETE = 'ACCOUNT.EMAIL.DELETE',\n EMAIL_READ = 'EMAIL.READ',\n EMAIL_WRITE = 'EMAIL.WRITE',\n EMAIL_UPDATE = 'EMAIL.UPDATE',\n EMAIL_DELETE = 'EMAIL.DELETE',\n MAILBOX_EMAIL_READ = 'MAILBOX_EMAIL.READ',\n EMAIL_WARMUP_READ = 'EMAIL.WARMUP.READ',\n EMAIL_WARMUP_SETTINGS_UPDATE = 'EMAIL.WARMUP_SETTINGS.UPDATE',\n EMAIL_ACCOUNT_READ = 'EMAIL_ACCOUNT.READ',\n EMAIL_ACCOUNT_CONNECT = 'EMAIL_ACCOUNT.CONNECT',\n TI_SYNC_CONSENT = 'TI_SYNC_CONSENT',\n EMAIL_ACCOUNT_SETTINGS_GENERAL_SETTING_UPDATE = 'EMAIL_ACCOUNT_SETTINGS.GENERAL_SETTING.UPDATE',\n EMAIL_ACCOUNT_SETTINGS_SENDING_SETTING_UPDATE = 'EMAIL_ACCOUNT_SETTINGS.SENDING_SETTING.UPDATE',\n EMAIL_ACCOUNT_SETTINGS_SETUP_SCORE = 'EMAIL_ACCOUNT_SETTINGS.SETUP_SCORE',\n EMAIL_ACCOUNT_DELETE = 'EMAIL_ACCOUNT.DELETE',\n EMAIL_ACCOUNT_DISCONNECT = 'EMAIL_ACCOUNT.DISCONNECT',\n EMAIL_ACCOUNT_SET_AS_DEFAULT = 'EMAIL_ACCOUNT.SET_AS_DEFAULT',\n EMAIL_ACCOUNT_TAGS = 'EMAIL_ACCOUNT.TAGS',\n\n // Subscription\n ACCOUNT_SUBSCRIPTION_CREATE = 'ACCOUNT.SUBSCRIPTION.CREATE',\n ACCOUNT_SUBSCRIPTION_UPDATE = 'ACCOUNT.SUBSCRIPTION.UPDATE',\n ACCOUNT_SUBSCRIPTION_READ = 'ACCOUNT.SUBSCRIPTION.READ',\n BILLING_SHOW = 'BILLING.SHOW',\n\n // Blacklist Domains\n ACCOUNT_BLACKLISTED_DOMAIN_WRITE = 'ACCOUNT.BLACKLISTED_DOMAIN.WRITE',\n ACCOUNT_BLACKLISTED_DOMAIN_READ = 'ACCOUNT.BLACKLISTED_DOMAIN.READ',\n ACCOUNT_BLACKLISTED_DOMAIN_DELETE = 'ACCOUNT.BLACKLISTED_DOMAIN.DELETE',\n\n // Api Token\n ACCOUNT_API_TOKEN_WRITE = 'ACCOUNT.API_TOKEN.WRITE',\n ACCOUNT_API_TOKEN_READ = 'ACCOUNT.API_TOKEN.READ',\n ACCOUNT_API_TOKEN_DELETE = 'ACCOUNT.API_TOKEN.DELETE',\n API_TOKEN_SHOW = 'API_TOKEN.SHOW',\n API_TOKEN_WRITE = 'API_TOKEN.WRITE',\n API_TOKEN_READ = 'API_TOKEN.READ',\n API_TOKEN_DELETE = 'API_TOKEN.DELETE',\n\n // Notifications\n NOTIFICATION_READ = 'NOTIFICATION.READ',\n NOTIFICATION_UPDATE = 'NOTIFICATION.UPDATE',\n\n // EV-Credits\n ACCOUNT_EV_CREDIT_WRITE = 'ACCOUNT.EV_CREDIT.WRITE',\n EV_CREDIT_READ = 'EV_CREDIT.READ',\n\n // My-Profile\n MY_PROFILE_READ = 'MY_PROFILE.READ',\n MY_PROFILE_UPDATE = 'MY_PROFILE.UPDATE',\n CREDENTIALS_UPDATE = 'CREDENTIALS.UPDATE',\n ACCOUNT_PROFILE_DANGER_ZONE = 'ACCOUNT.PROFILE.DANGERZONE',\n ACCOUNT_DATA_DELETE = 'ACCOUNT.DATA.DELETE',\n\n // Admin-Settings\n ADMIN_SETTING_READ = 'ADMIN_SETTING.READ',\n\n // Setting\n SETTING_READ = 'SETTING.READ',\n\n // Webhook\n WEBHOOKS_SHOW = 'WEBHOOKS.SHOW',\n WEBHOOKS_READ = 'WEBHOOKS.READ',\n WEBHOOKS_WRITE = 'WEBHOOKS.WRITE',\n\n // Chrome-Extentation\n CHROME_EXTENSION_READ = 'CHROME_EXTENSION.READ',\n\n // Agency\n AGENCY_PORTAL_READ = 'AGENCY.PORTAL.READ',\n AGENCY_USER_READ = 'AGENCY.USER.READ',\n AGENCY_CLIENT_ASSIGN = 'AGENCY.CLIENT.ASSIGN',\n AGENCY_USER_UPDATE = 'AGENCY.USER.UPDATE',\n AGENCY_CLIENT_UPDATE = 'AGENCY.CLIENT.UPDATE',\n AGENCY_CLIENT_READ = 'AGENCY.CLIENT.READ',\n AGENCY_CLIENT_CREATE = 'AGENCY.CLIENT.CREATE',\n ACCOUNT_ADMIN_CREATE = 'ACCOUNT.ADMIN.CREATE',\n AGENCY_USER_INVITE = 'AGENCY.USER.INVITE',\n AGENCY_CLIENT_DELETE = 'AGENCY.CLIENT.DELETE',\n AGENCY_USER_DELETE = 'AGENCY.USER.DELETE',\n ACCOUNT_CLIENT_READ = 'ACCOUNT.CLIENT.READ',\n AGENCY_ADMIN_UPDATE = 'AGENCY.ADMIN.UPDATE',\n\n // Unified Inbox\n UNIFIED_INBOX_READ = 'UNIBOX_THREAD.READ',\n UNIFIED_INBOX_REPLY = 'UNIBOX.REPLY',\n UNIFIED_INBOX_FORWARD = 'UNIBOX.FORWARD',\n UNIFIED_INBOX_THREAD_UNLIMITED = 'UNIBOX_THREAD.UNLIMITED',\n UNIFIED_INBOX_THREAD_FILTER = 'UNIBOX_THREAD.FILTER',\n UNIBOX_READ_STATUS_UPDATE = 'UNIBOX_READ_STATUS.UPDATE',\n UNIBOX_CATEGORY_UPDATE = 'UNIBOX_CATEGORY.UPDATE',\n UNIBOX_EMAIL_THREAD_DELETE = 'UNIBOX_EMAIL_THREAD.DELETE',\n\n // Integrations\n INTEGRATION_READ = 'INTEGRATION.READ',\n INTEGRATION_WRITE = 'INTEGRATION.WRITE',\n // Lead Finder\n LEAD_FINDER_READ = 'LEAD_FINDER.READ',\n LEAD_FINDER_REVEAL = 'LEAD_FINDER.REVEAL',\n\n // Lead Finder - Search Leads\n LEAD_FINDER_SEARCH_READ = 'LEAD_FINDER.SEARCH.READ',\n\n // Lead Finder - Filters\n LEAD_FINDER_FILTER_READ = 'LEAD_FINDER.FILTER.READ',\n LEAD_FINDER_FILTER_WRITE = 'LEAD_FINDER.FILTER.WRITE',\n LEAD_FINDER_FILTER_UPDATE = 'LEAD_FINDER.FILTER.UPDATE',\n LEAD_FINDER_FILTER_DELETE = 'LEAD_FINDER.FILTER.DELETE',\n\n // Lead Finder - Filter Suggestion\n LEAD_FINDER_FILTER_SUGGESTION_READ = 'LEAD_FINDER.FILTER.SUGGESTION.READ',\n\n // Lead Finder - Subscription\n LEAD_FINDER_SUBSCRIPTION_READ = 'LEAD_FINDER.SUBSCRIPTION.READ',\n LEAD_FINDER_SUBSCRIPTION_WRITE = 'LEAD_FINDER.SUBSCRIPTION.WRITE',\n LEAD_FINDER_SUBSCRIPTION_UPDATE = 'LEAD_FINDER.SUBSCRIPTION.UPDATE',\n LEAD_FINDER_SUBSCRIPTION_DELETE = 'LEAD_FINDER.SUBSCRIPTION.DELETE',\n\n // Agency Client Management\n CLIENT_READ = 'CLIENT_AGENCY.READ',\n CLIENT_WRITE = 'CLIENT_AGENCY.WRITE',\n CLIENT_UPDATE = 'CLIENT_AGENCY.UPDATE',\n CLIENT_DELETE = 'CLIENT_AGENCY.DELETE',\n WHITELABEL_SHOW = 'WHITELABEL.SHOW',\n WHITELABEL_ACCESS = 'WHITELABEL.ACCESS',\n\n // OOO\n OOO_SETTING_READ = 'OOO.SETTING.READ',\n\n // DNC\n DNC_READ = 'DNC.READ',\n DNC_WRITE = 'DNC.WRITE',\n DNC_UPDATE = 'DNC.UPDATE',\n DNC_DELETE = 'DNC.DELETE',\n DNC_LIST_READ = 'DNC_LIST.READ',\n DNC_LIST_WRITE = 'DNC_LIST.WRITE',\n DNC_LIST_DELETE = 'DNC_LIST.DELETE',\n\n // DOMAINS\n DOMAIN_READ = 'DOMAIN.READ',\n\n REFER_TAB_SHOW = 'REFER.TAB.SHOW',\n GROWTH_HUB_TAB_SHOW = 'GROWTH_HUB.TAB.SHOW',\n CHAT_SUPPORT_SHOW = 'CHAT_SUPPORT.SHOW',\n MASTER_CLASS_SHOW = 'MASTER_CLASS.SHOW',\n WHATSANEW_SHOW = 'WHATSANEW.SHOW',\n SCHEDULE_DEMO_SHOW = 'SCHEDULE.DEMO.SHOW',\n FEATURE_REQUEST_SHOW = 'FEATURE_REQUEST.SHOW',\n BECOME_OUR_AFFILATE_SHOW = 'BECOME_OUR_AFFILATE.SHOW',\n HELP_SHOW = 'HELP.SHOW',\n\n // CREDIT HISTORY\n ACCOUNT_CREDIT_HISTORY_READ = 'ACCOUNT.CREDIT_HISTORY.READ',\n\n // SSO\n ACCOUNT_SSO_SETTING_READ = 'ACCOUNT.SSO_SETTING.READ',\n ACCOUNT_SSO_SETTING_WRITE = 'ACCOUNT.SSO_SETTING.WRITE',\n\n BANNER_MOBILEAPP_SHOW = 'BANNER.MOBILEAPP.SHOW',\n}\n","export * from './enums';\nexport * from './types';\nexport * from './overlay';\nexport * from './tooltip';\nexport * from './popover';\nexport * from './popover-confirm';\n","import store from '../../../store';\n\nconst hasPermission = (requiredPermission: string) => {\n const state = store.getState();\n const permissions = state.home.permissions ?? [];\n requiredPermission = requiredPermission.replace(/\\./g, '\\\\.');\n return permissions.findIndex(userPermission => {\n const regex = new RegExp(`^((ACCOUNT|TEAM|AGENCY)\\\\.)?${requiredPermission}`);\n return regex.test(userPermission);\n }) > -1;\n};\n\nexport default hasPermission;\n","/* eslint-disable global-require */\n/* eslint-disable import/prefer-default-export */\nexport const Images = {\n Promo: require('../assets/images/promo-login.svg').default,\n RotateVector: require('../assets/images/rotatevector.svg').default,\n AccountLinkSuccess: require('../assets/images/accountlinksuccess.svg')\n .default,\n AccountLinkReject: require('../assets/images/accountstatusreject.svg')\n .default,\n RotateVector2: require('../assets/images/rotatevector2.svg').default,\n Bulb: require('../assets/images/stepstoimport.svg').default,\n CSV: require('../assets/images/csv.svg').default,\n SHIcon: require('../assets/images/sh-logo-icon.svg').default,\n SHIcon70: require('../assets/images/sh-logo-icon-70x70.svg').default,\n SHLogoSmall: require('../assets/images/sh-logo.svg').default,\n SHLogo: require('../assets/images/saleshandy-logo.svg').default,\n SHLogoIcon: require('../assets/images/saleshandy-logo-icon.svg').default,\n SHLogoText: require('../assets/images/saleshandy-logo-text.svg').default,\n SHLogoWithText: require('../assets/images/logo-with-name.svg').default,\n GoogleLogin: require('../assets/images/google-login.svg').default,\n FileCheck: require('../assets/images/file-check.svg').default,\n GoogleIcon: require('../assets/images/google-icon.svg').default,\n GmailIcon: require('../assets/images/gmail-icon.svg').default,\n MicrosoftLogin: require('../assets/images/microsoft-login.svg').default,\n MicrosoftIcon: require('../assets/images/microsoft-logo.svg').default,\n MicrosoftIconSmall: require('../assets/images/microsoft-logo-small.svg')\n .default,\n BrokenLink: require('../assets/images/broken-link.svg').default,\n EmptyData1: require('../assets/images/empty-data-1.svg').default,\n EmptyData2: require('../assets/images/empty-data-2.svg').default,\n EmptyData3: require('../assets/images/empty-data-3.svg').default,\n EmptyData4: require('../assets/images/empty-data-4.svg').default,\n EmptyData5: require('../assets/images/empty-data-5.svg').default,\n EmptyData6: require('../assets/images/empty-data-6.svg').default,\n Squiggles: require('../assets/images/squiggles.svg').default,\n StepTypeEmail: require('../assets/images/sequence/step-type-email.svg')\n .default,\n PersonMonocular: require('../assets/images/person-monocular.svg').default,\n NeptikLogo: require('../assets/images/customers/neptik-logo.svg').default,\n NeptikLogoBlack: require('../assets/images/customers/neptik-logo-black.svg')\n .default,\n MaropostLogo: require('../assets/images/customers/maropost-logo.svg').default,\n KelltonLogo: require('../assets/images/customers/kellton-logo.svg').default,\n DigitalRafterLogo: require('../assets/images/customers/digital-rafter-logo.svg')\n .default,\n YelpLogo: require('../assets/images/customers/yelp-logo.svg').default,\n CloudtalkLogo: require('../assets/images/customers/cloudtalk-logo.svg')\n .default,\n DorikLogo: require('../assets/images/customers/dorik-logo.svg').default,\n GoDaddyLogo: require('../assets/images/customers/godaddy-logo.svg').default,\n IntegratelyLogo: require('../assets/images/customers/integrately-logo.svg')\n .default,\n OpslyftLogo: require('../assets/images/customers/opslyft-logo.svg').default,\n RevvixLogo: require('../assets/images/customers/revvix-logo.svg').default,\n VrooziLogo: require('../assets/images/customers/vroozi-logo.svg').default,\n DoctorLogo: require('../assets/images/vector-doctor.svg').default,\n FilterLogo: require('../assets/images/vector-filter.svg').default,\n MailActive: require('../assets/images/sh-call-active.svg').default,\n MailDisabled: require('../assets/images/mail-disabled.svg').default,\n NoSearchResultIcon: require('../assets/images/no-search-result-icon.svg')\n .default,\n NoSearchResultSavedIcon: require('../assets/images/no-search-result-saved-icon.svg')\n .default,\n MailEnabled: require('../assets/images/mail-enable.svg').default,\n EyeActive: require('../assets/images/sh-eye-active.svg').default,\n EyeDisabled: require('../assets/images/sh-eye-disabled.svg').default,\n ReplyActive: require('../assets/images/sh-reply-active.svg').default,\n ReplyDisabled: require('../assets/images/sh-reply-disabled.svg').default,\n LinkActive: require('../assets/images/sh-link-active.svg').default,\n LinkActive2: require('../assets/images/link-enable-2.svg').default,\n LinkDisabled: require('../assets/images/sh-link-disabled.svg').default,\n LinkDisabled2: require('../assets/images/link-disable-2.svg').default,\n ProspectActivityEmailSent: require('../assets/images/email-sent.svg').default,\n ProspectActivityEmailSentBlue: require('../assets/images/email-sent-blue.svg')\n .default,\n EngagementActivityAllTab: require('../assets/images/tab-all.svg').default,\n EngagementActivityAllTabBlue: require('../assets/images/tab-all-blue.svg')\n .default,\n EngagementActivityOpenedTab: require('../assets/images/tab-opened.svg')\n .default,\n EngagementActivityOpenedTabBlue: require('../assets/images/tab-opened-blue.svg')\n .default,\n EngagementActivityClickedTab: require('../assets/images/tab-clicked.svg')\n .default,\n EngagementActivityClickedTabBlue: require('../assets/images/tab-clicked-blue.svg')\n .default,\n EngagementActivityRepliedTab: require('../assets/images/tab-replied.svg')\n .default,\n EngagementActivityRepliedTabBlue: require('../assets/images/tab-replied-blue.svg')\n .default,\n ProspectActivityEmailSentColored: require('../assets/images/email-sent-colored.svg')\n .default,\n ProspectActivityLinkClicked: require('../assets/images/link-clicked.svg')\n .default,\n ProspectActivityLinkClickedColored: require('../assets/images/link-clicked-colored.svg')\n .default,\n ProspectActivityEmailBounced: require('../assets/images/mail-bounced.svg')\n .default,\n ProspectActivityEmailBouncedColored: require('../assets/images/mail-bounced-colored.svg')\n .default,\n ProspectActivityEmailFailed: require('../assets/images/mail-failed.svg')\n .default,\n ProspectActivityEmailFailedColored: require('../assets/images/mail-failed-colored.svg')\n .default,\n ProspectActivityEmailOpened: require('../assets/images/mail-opened.svg')\n .default,\n ProspectActivityEmailOpenedColored: require('../assets/images/mail-opened-colored.svg')\n .default,\n ProspectActivityEmailReceived: require('../assets/images/reply-received.svg')\n .default,\n ProspectActivityEmailReceivedColored: require('../assets/images/reply-received-colored.svg')\n .default,\n ProspectActivityEmailUnsubscribed: require('../assets/images/email-unsubscribed.svg')\n .default,\n ProspectActivityEmailUnsubscribedColored: require('../assets/images/unsubscribed-colored.svg')\n .default,\n Shield: require('../assets/images/sh-shield.svg').default,\n SentEmail: require('../assets/images/send.svg').default,\n SentEmailLarge: require('../assets/images/send-email-l.svg').default,\n SentEmailBlue: require('../assets/images/sent-email-blue.svg').default,\n SentEmailBlueXL: require('../assets/images/email-sent-blue-xl.svg').default,\n SeenEmail: require('../assets/images/activeseen.svg').default,\n SeenEmailCyan: require('../assets/images/seen-email-cyan.svg').default,\n WarningTriangle: require('../assets/images/alert-triangle-warning.svg')\n .default,\n AlertTriangle: require('../assets/images/alert-triangle.svg').default,\n AlertTriangleRed: require('../assets/images/alert-triangle-red.svg').default,\n AlertTriangleLarge: require('../assets/images/alert-triangle-xl.svg').default,\n Clock: require('../assets/images/clock.svg').default,\n ClockYl: require('../assets/images/clock-yellow.svg').default,\n Tag: require('../assets/images/tag.svg').default,\n GreyTag: require('../assets/images/tag-grey.svg').default,\n TagBlue: require('../assets/images/tag-blue.svg').default,\n TagBlueXL: require('../assets/images/tag-blue-xl.svg').default,\n Forward: require('../assets/images/forward.svg').default,\n Backward: require('../assets/images/backward.svg').default,\n Close: require('../assets/images/close.svg').default,\n Wallet: require('../assets/images/wallet.svg').default,\n Ban: require('../assets/images/ban.svg').default,\n BanBlueXL: require('../assets/images/ban-blue-xl.svg').default,\n Trash: require('../assets/images/trash.svg').default,\n TrashLight: require('../assets/images/trash-light.svg').default,\n TrashBlueXL: require('../assets/images/trash-blue-xl.svg').default,\n TrashDanger: require('../assets/images/trash-danger.svg').default,\n GreySend: require('../assets/images/send-grey.svg').default,\n SH_Shield: require('../assets/images/shield-check.svg').default,\n SH_ShieldBlueXL: require('../assets/images/shield-blue-xl.svg').default,\n Bell: require('../assets/images/bell.svg').default,\n BellEnabled: require('../assets/images/bell-enabled.svg').default,\n BellDisabled: require('../assets/images/bell-disabled.svg').default,\n Headset: require('../assets/images/headset.svg').default,\n Gift: require('../assets/images/gift.svg').default,\n Help: require('../assets/images/help.svg').default,\n Apps: require('../assets/images/apps.svg').default,\n Logout: require('../assets/images/logout.svg').default,\n Cog: require('../assets/images/bx-cog.svg').default,\n Pencil: require('../assets/images/pencil.svg').default,\n Copy: require('../assets/images/copy.svg').default,\n Upload: require('../assets/images/upload.svg').default,\n UploadCloud: require('../assets/images/upload-cloud.svg').default,\n UploadCloudBlue: require('../assets/images/cloud-upload-blue.svg').default,\n ProspectBlacklistedColored: require('../assets/images/blacklist.svg').default,\n ProspectRemovedFromBlacklistColored: require('../assets/images/removed-from-blacklist.svg')\n .default,\n Export: require('../assets/images/export-icon.svg').default,\n ExportGrey: require('../assets/images/export-grey.svg').default,\n BlacklistDomain: require('../assets/images/clipboard-x.svg').default,\n FileBlank: require('../assets/images/file-blank.svg').default,\n ArrowsSort: require('../assets/images/arrows-sort.svg').default,\n InfoCircle: require('../assets/images/info-circle.svg').default,\n ArrowDown: require('../assets/images/arrow-down.svg').default,\n ArrowRight: require('../assets/images/arrow-right.svg').default,\n ArrowForward: require('../assets/images/arrow-forward.svg').default,\n SmileIcon: require('../assets/images/smile-icon.svg').default,\n TemplateIcon: require('../assets/images/template-icon.svg').default,\n InfoCircleYellow: require('../assets/images/info-circle-yellow.svg').default,\n ChecksGreen: require('../assets/images/checks-green.svg').default,\n BanForUnsubscribe: require('../assets/images/ban-for-unsubscribe.svg')\n .default,\n NotificationPause: require('../assets/images/notification-pause.svg').default,\n NotificationAlert: require('../assets/images/notification-alert.svg').default,\n NotificationLeadBulkReveal: require('../assets/images/notification-bulk-reveal.svg')\n .default,\n NotificationRefresh: require('../assets/images/notification-refresh.svg')\n .default,\n NotificationUser: require('../assets/images/notification-user.svg').default,\n NoNotifications: require('../assets/images/no-notification.svg').default,\n ActiveNotificationBell: require('../assets/images/blue-bell.svg').default,\n LogoutActive: require('../assets/images/blue-logout.svg').default,\n CogActive: require('../assets/images/blue-cog.svg').default,\n HelpActive: require('../assets/images/blue-help.svg').default,\n ChevronLeftBlue: require('../assets/images/chevron-left-blue.svg').default,\n ChevronRightBlue: require('../assets/images/chevron-right-blue.svg').default,\n Peoples: require('../assets/images/peoples.svg').default,\n ProspectAdd: require('../assets/images/prospect-add.svg').default,\n Replied: require('../assets/images/replied.svg').default,\n MailBounced: require('../assets/images/mail-bounced-gray.svg').default,\n AlertCircle: require('../assets/images/alert-circle.svg').default,\n Opened: require('../assets/images/opened.svg').default,\n Clicked: require('../assets/images/clicked.svg').default,\n Unsubscribed: require('../assets/images/unsubscribed.svg').default,\n Calendar: require('../assets/images/calendar.svg').default,\n Mail: require('../assets/images/mail.svg').default,\n Loader: require('../assets/images/loader.svg').default,\n User: require('../assets/images/user.svg').default,\n WalletBlue: require('../assets/images/wallet-blue.svg').default,\n EmptyShield: require('../assets/images/blank-shield.svg').default,\n AlertCircleRed: require('../assets/images/alert-circle-red.svg').default,\n UserCheck: require('../assets/images/user-check.svg').default,\n UserExcremental: require('../assets/images/user-exclamation.svg').default,\n RefreshBlue: require('../assets/images/refresh-blue.svg').default,\n AlertCircleBlue: require('../assets/images/info-circle-blue.svg').default,\n Lock: require('../assets/images/lock.svg').default,\n ChevronLeft: require('../assets/images/chevron-left.svg').default,\n YoutubeLogo: require('../assets/images/youtube.svg').default,\n InfoCircleRed: require('../assets/images/info-circle-red.svg').default,\n ChevronDown: require('../assets/images/chevron-down.svg').default,\n CheckGreen: require('../assets/images/check.svg').default,\n CheckSingleGreen: require('../assets/images/check-single-green.svg').default,\n CheckSingleOrange: require('../assets/images/check-orange.svg').default,\n AlertCircleOrange: require('../assets/images/alert-circle-orange.svg')\n .default,\n Cross: require('../assets/images/cross.svg').default,\n CrossRed: require('../assets/images/cross-red.svg').default,\n CrossGray: require('../assets/images/cross-gray.svg').default,\n Refresh: require('../assets/images/refresh.svg').default,\n RefreshGrey: require('../assets/images/refresh-grey.svg').default,\n SmartIdeas: require('../assets/images/smart-ideas.svg').default,\n Server: require('../assets/images/server.svg').default,\n Gmail: require('../assets/images/gmail.svg').default,\n Microsoft: require('../assets/images/microsoft.svg').default,\n Youtube: require('../assets/images/youtube.svg').default,\n ExternalLinkIcon: require('../assets/images/external-link.svg').default,\n ExternalLinkWhite: require('../assets/images/external-link-white.svg')\n .default,\n BanMedium: require('../assets/images/ban-m.svg').default,\n ServerBlue: require('../assets/images/server-blue.svg').default,\n MailSend: require('../assets/images/mail-send.svg').default,\n UserList: require('../assets/images/user-list.svg').default,\n TrashSmall: require('../assets/images/trash-small.svg').default,\n OpenedDisabled: require('../assets/images/opened-disabled.svg').default,\n OpenedEnabled: require('../assets/images/opened-enabled.svg').default,\n OpenedBlue: require('../assets/images/opened-blue.svg').default,\n ClickedDisabled: require('../assets/images/clicked-disabled.svg').default,\n ClickedEnabled: require('../assets/images/clicked-enabled.svg').default,\n ClickedBlue: require('../assets/images/clicked-blue.svg').default,\n OpenedWithBg: require('../assets/images/opened-bg.svg').default,\n ClickedWithBg: require('../assets/images/clicked-bg.svg').default,\n LinkChain: require('../assets/images/link-chain.svg').default,\n Mailbox: require('../assets/images/mailbox.svg').default,\n NoResult: require('../assets/images/no-result.svg').default,\n ChromeLight: require('../assets/images/chrome-light.svg').default,\n ChromeDark: require('../assets/images/chrome-dark.svg').default,\n ChromeGrey: require('../assets/images/chrome-gray.svg').default,\n ChromeBlue: require('../assets/images/chrome-blue.svg').default,\n PlayCircle: require('../assets/images/play-circle.svg').default,\n GooglePlus: require('../assets/images/google-plus.svg').default,\n MicrosoftSM: require('../assets/images/microsoft-sm.svg').default,\n FavIcon: require('../assets/images/favicon.ico').default,\n Setting: require('../assets/images/setting.svg').default,\n TrendingUp: require('../assets/images/trending-up.svg').default,\n TrendingDown: require('../assets/images/trending-down.svg').default,\n PieChart: require('../assets/images/chart-pie.svg').default,\n Email: require('../assets/images/email.svg').default,\n ChevronRight: require('../assets/images/chevron-right.svg').default,\n EmptyPie: require('../assets/images/empty-pie.svg').default,\n Broken: require('../assets/images/broken.svg').default,\n Google30x30: require('../assets/images/google-30x30.svg').default,\n Microsoft30x30: require('../assets/images/microsoft-30x30.svg').default,\n Server30x30: require('../assets/images/server-30x30.svg').default,\n Ellipse1: require('../assets/images/ellips-1.svg').default,\n Ellipse2: require('../assets/images/ellips-2.svg').default,\n Ellipse3: require('../assets/images/ellips-3.svg').default,\n Ellipse4: require('../assets/images/ellips-4.svg').default,\n HalfCircle: require('../assets/images/half-circle.svg').default,\n Friends: require('../assets/images/friends.svg').default,\n FriendsBlue: require('../assets/images/friends-blue.svg').default,\n NoEmailsFound: require('../assets/images/no-email-found.svg').default,\n Popper: require('../assets/images/popper.svg').default,\n Messages: require('../assets/images/messages.svg').default,\n Default: require('../assets/images/default.svg').default,\n Image: require('../assets/images/image.svg').default,\n Zip: require('../assets/images/zip.svg').default,\n Pdf: require('../assets/images/pdf.svg').default,\n Video: require('../assets/images/video.svg').default,\n Ppt: require('../assets/images/ppt.svg').default,\n Sheets: require('../assets/images/sheets.svg').default,\n Docs: require('../assets/images/docs.svg').default,\n Rotate: require('../assets/images/rotate.svg').default,\n Star: require('../assets/images/star.svg').default,\n MagicWand: require('../assets/images/magic-wand.svg').default,\n Discount: require('../assets/images/discount.svg').default,\n PaperPlane: require('../assets/images/paper-plane.svg').default,\n PausedWithBackground: require('../assets/images/paused-with-bg.svg').default,\n ResumeWithBackground: require('../assets/images/resume-with-bg.svg').default,\n SearchingEmpty: require('../assets/images/searching-empty.svg').default,\n CircleCheckGreen: require('../assets/images/circle-check-green.svg').default,\n AlertTriangleOrange: require('../assets/images/alert-triangle-orange.svg')\n .default,\n InProgress: require('../assets/images/in-progress.svg').default,\n FolderOpen: require('../assets/images/folder-open.svg').default,\n PremiumFeature: require('../assets/images/premium-feature.svg').default,\n AccessDenied: require('../assets/images/access-denied.svg').default,\n CreateNewEmail: require('../assets/images/email-accounts/Create_New_Email_Icon.svg')\n .default,\n EmailConfiguration: require('../assets/images/email-accounts/Email_Configuration_Icon.svg')\n .default,\n EmptyListSearchDomain: require('../assets/images/email-accounts/Empty-List-Search-Domain_Icon.svg')\n .default,\n NoDomainSearchResult: require('../assets/images/email-accounts/NO_DOMAIN_SEARCH_RESULT_ICON.svg')\n .default,\n NoEmailFound: require('../assets/images/email-accounts/NO_EMAIL_FOUND_ICON.svg')\n .default,\n NoGenderAvatar: require('../assets/images/email-accounts/No_Gender_Avatar.svg')\n .default,\n MicrosoftDisabled: require('../assets/images/email-accounts/microsoft-disabled.svg')\n .default,\n MaildosoDisabled: require('../assets/images/email-accounts/maildoso-disabled.svg')\n .default,\n Maildoso: require('../assets/images/email-accounts/maildoso.png').default,\n MaildosoSquare: require('../assets/images/email-accounts/maildoso-square.png')\n .default,\n Pipedrive: require('../assets/images/Pipedrive.svg').default,\n Zoho: require('../assets/images/Zoho.svg').default,\n Hubspot: require('../assets/images/Hubspot.svg').default,\n Salesforce: require('../assets/images/salesforce.svg').default,\n SwitchHorizontal: require('../assets/images/switch-horizontal.svg').default,\n AgencyPortal: require('../assets/images/agency-portal.svg').default,\n ArrowUpCircle: require('../assets/images/arrow-up-circle.svg').default,\n Testimonial1: require('../assets/images/testimonials/1.jpeg').default,\n Testimonial2: require('../assets/images/testimonials/2.jpeg').default,\n Testimonial3: require('../assets/images/testimonials/3.jpeg').default,\n Testimonial4: require('../assets/images/testimonials/4.png').default,\n Testimonial2Bg: require('../assets/images/testimonials/2-bg.png').default,\n Testimonial3Bg: require('../assets/images/testimonials/3-bg.png').default,\n Testimonial4Bg: require('../assets/images/testimonials/4-bg.png').default,\n Rocket: require('../assets/images/rocket.svg').default,\n UserWithBg: require('../assets/images/user-with-bg.svg').default,\n TeamsUI: require('../assets/images/teams-ui.svg').default,\n PartyHorn: require('../assets/images/party-horn.svg').default,\n EmailSend: require('../assets/images/mail-send.svg').default,\n EmailSendYellow: require('../assets/images/mail-send-yellow.svg').default,\n BxDollarGreen: require('../assets/images/bx-dollar-green.svg').default,\n BxDollarGray: require('../assets/images/bx-dollar-gray.svg').default,\n GripVertical: require('../assets/images/grip-vertical.svg').default,\n EllipseGreen: require('../assets/images/ellipse-green.svg').default,\n EllipsePurple: require('../assets/images/ellipse-purple.svg').default,\n PauseCircle: require('../assets/images/pause-circle.svg').default,\n ZapierLogo: require('../assets/images/zapier-logo.svg').default,\n SendlerLogo: require('../assets/images/sendler-logo.svg').default,\n PichlaneLogo: require('../assets/images/pichlane-log.svg').default,\n SendsparkLogo: require('../assets/images/sendspark-logo.svg').default,\n WeezlyLogo: require('../assets/images/weezly-log.svg').default,\n CircleCheck: require('../assets/images/circle-check-green.svg').default,\n SpintaxGray: require('../assets/images/spintax-gray.svg').default,\n SpintaxBlack: require('../assets/images/spintax-black.svg').default,\n Quotes: require('../assets/images/quotes.svg').default,\n VerifiedFalse: require('./svg/verified-false.svg').default,\n VerifiedTrue: require('./svg/verified-true.svg').default,\n VerifiedError: require('./svg/verified-error.svg').default,\n LogoCompanyName: require('./svg/whitelabel-logo.svg').default,\n WhitelabelFavicon: require('./svg/whitelabel-favicon.svg').default,\n ShLogoBlue: require('../assets/images/sh-logo-blue.svg').default,\n BxRightArrow: require('../assets/images/bx-right-arrow.svg').default,\n Stars: require('../assets/images/stars.svg').default,\n RocketColor: require('../assets/images/rocket-color.svg').default,\n HeartColor: require('../assets/images/heart-color.svg').default,\n StarColor: require('../assets/images/star-color.svg').default,\n BuildingColor: require('../assets/images/building-color.svg').default,\n G2Logo: require('../assets/images/g2-logo.svg').default,\n G2Rating: require('../assets/images/upgrade-plan/g2-rating.svg').default,\n G2Achievement: require('../assets/images/upgrade-plan/g2-achievement.svg')\n .default,\n Certificates: require('../assets/images/upgrade-plan/certificates.svg')\n .default,\n GooglePlayQR: require('../assets/images/google-play-store-qr.svg').default,\n AppleAppStoreQR: require('../assets/images/apple-app-store-qr.svg').default,\n};\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport { ResponseErrorWithHandled, ResponseSuccess } from '../../shared/types';\nimport {\n addSequenceStep,\n addSequenceStepVariant,\n cloneSequence,\n createSequence,\n deleteSequence,\n deleteSequences,\n deleteSequenceStep,\n deleteSequenceStepVariant,\n getSequence,\n getSequences,\n pauseResumeSequence,\n renameSequence,\n updateSequenceSettings,\n updateSequenceStepExecutionDay,\n updateSequenceStepVariantData,\n updateSequenceStepVariantStatus,\n getSequenceSteps,\n addContactsFromCSV,\n getAllSchedules,\n getConnectedEmails,\n getContactStatusCount,\n getSequenceContactList,\n changeStatusOfContactsOfSequence,\n getContactSequenceList,\n getContactStepList,\n addContactsToStep,\n removeContactFromSequence,\n addContactsFromCSVWithoutStep,\n getAdminSettings,\n uploadImage,\n finishOnboarding,\n getSequenceMailSendingStatus,\n getSequenceStats,\n getSequencesStats,\n getSequenceConfig,\n getSequencePriorityConfig,\n createSampleSteps,\n addSampleProspectsToStep,\n getTemplates,\n getEmailStepsOfStatus,\n getEmailStatusOfStep,\n getEmailList,\n sendScheduledEmail,\n changeEmailStatus,\n getSequenceProspectActivity,\n getCustomDomains,\n getSequenceProspectVerificationStats,\n sendSequenceProspectVerifyStart,\n uploadAttachment,\n deleteAttachment,\n getSentEmailPreview,\n createEmailWritingFactors,\n updateEmailWritingFactors,\n getSequenceScore,\n getLinkedEmailAccounts,\n linkEmailToSequence,\n getAllNotLinkedEmailAccounts,\n removeConnectedEmailAccount,\n getNotLinkedEmailAccountsCount,\n getSenderEmails,\n resendFailedEmail,\n bulkPauseSequence,\n bulkResumeSequence,\n onOutcomeChange,\n updateSequenceStep,\n getTaskAssigneeList,\n getAllConnectedEmailAccounts,\n getSequenceTimezone,\n cloneSequenceStepVariant,\n sequenceProspectBulkStatusUpdate,\n sequenceProspectBulkTagAssign,\n sequenceProspectBulkTagUnAssign,\n sequenceProspectBulkAddToSequence,\n sequenceProspectBulkRemoveFromSequence,\n getSequenceStatsCounts,\n updateSequencePriorityConfig,\n getEspMatchingDetails,\n getAIGeneratedEmailVariant,\n getSequenceProspectStepStates,\n getSequenceEmailAccountStates,\n} from './helpers/sequence.api';\nimport {\n AddContactsFromCSVRequestPayload,\n AddSequenceStepRequestPayload,\n AddSequenceStepVariantRequestPayload,\n ContactListParams,\n CreateSequenceRequestPayload,\n DeleteSequencesRequestPayload,\n GetSequencesQueryParams,\n PauseResumeSequenceRequestPayload,\n RenameSequenceRequestPayload,\n UpdateSequenceSettingsRequestPayload,\n UpdateSequenceStepExecutionDayRequestPayload,\n UpdateSequenceStepVariantDataRequestPayload,\n ChangeSequenceContactStatusPayload,\n UpdateSequenceStepVariantStatusRequestPayload,\n AddToStepParams,\n ImageUploadPayloadWithProgressCallback,\n GetSequenceProspectActivityPayload,\n AttachmentUploadPayload,\n AttachmentDeletePayload,\n EmailWritingFactorsPayload,\n GetSequenceTimezonePayload,\n SequenceProspectBulkStatusUpdatePayload,\n SequenceProspectBulkTagAssignPayload,\n SequenceProspectBulkTagUnAssignPayload,\n SequenceProspectBulkAddToSequencePayload,\n SequenceProspectBulkRemoveFromSequencePayload,\n GetAIGeneratedEmailVariantPayload,\n GetSequenceScorePayload,\n} from './types';\nimport { getContactFields } from '../settings/helpers/field.api';\nimport { ProspectCountParams, ProspectParams } from '../prospect/types';\nimport {\n getProspect,\n getProspectCount,\n} from '../prospect/helpers/prospect.api';\nimport {\n EmailStatus,\n GetEmailRequestPayload,\n ResendType,\n} from './types/emails';\nimport { GetTemplatesRequest } from '../templates/types/request';\n\n// Sequence\n\nexport const getSequenceRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/getSequenceRequest', async (sequenceId, thunkAPI) => {\n try {\n return await getSequence(sequenceId);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const getSequencesRequest = createAsyncThunk<\n ResponseSuccess,\n GetSequencesQueryParams,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/getSequencesRequest', async (args, thunkAPI) => {\n try {\n return await getSequences(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const getSequenceStatsRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/getSequenceStatsRequest', async (sequenceId, thunkAPI) => {\n try {\n return await getSequenceStats(sequenceId);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const getSequencesStatsRequest = createAsyncThunk<\n ResponseSuccess,\n GetSequencesQueryParams,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/getSequencesStatsRequest', async (args, thunkAPI) => {\n try {\n return await getSequencesStats(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const createSequenceRequest = createAsyncThunk<\n ResponseSuccess,\n CreateSequenceRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/createSequenceRequest', async (args, thunkAPI) => {\n try {\n return await createSequence(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\ntype RenameSequenceRequestPayloadCreatorArgs = RenameSequenceRequestPayload & {\n sequenceId: number;\n};\n\nexport const renameSequenceRequest = createAsyncThunk<\n ResponseSuccess,\n RenameSequenceRequestPayloadCreatorArgs,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/renameSequenceRequest',\n async ({ sequenceId, ...rest }, thunkAPI) => {\n try {\n return await renameSequence(sequenceId, rest);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n\ntype PauseResumeSequenceRequestPayloadCreatorArgs = PauseResumeSequenceRequestPayload & {\n sequenceId: number;\n};\n\nexport const pauseResumeSequenceRequest = createAsyncThunk<\n ResponseSuccess,\n PauseResumeSequenceRequestPayloadCreatorArgs,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/pauseResumeSequenceRequest',\n async ({ sequenceId, ...rest }, thunkAPI) => {\n try {\n return await pauseResumeSequence(sequenceId, rest);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n\nexport const cloneSequenceRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/cloneSequenceRequest', async (sequenceId, thunkAPI) => {\n try {\n return await cloneSequence(sequenceId);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const getAIGeneratedEmailVariantRequest = createAsyncThunk<\n ResponseSuccess,\n GetAIGeneratedEmailVariantPayload,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/getAIGeneratedEmailVariantRequest',\n async ({ sequenceId, stepId, variantId, cancelToken }, thunkAPI) => {\n try {\n return await getAIGeneratedEmailVariant(\n sequenceId,\n stepId,\n variantId,\n cancelToken,\n );\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n\nexport const deleteSequenceRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/deleteSequenceRequest', async (sequenceId, thunkAPI) => {\n try {\n return await deleteSequence(sequenceId);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const deleteSequencesRequest = createAsyncThunk<\n ResponseSuccess,\n DeleteSequencesRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/deleteSequencesRequest', async (args, thunkAPI) => {\n try {\n return await deleteSequences(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\n// Step\n\ntype AddSequenceStepRequestPayloadCreatorArgs = AddSequenceStepRequestPayload & {\n sequenceId: number;\n};\n\nexport const addSequenceStepRequest = createAsyncThunk<\n ResponseSuccess,\n AddSequenceStepRequestPayloadCreatorArgs,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/addSequenceStepRequest',\n async ({ sequenceId, ...rest }, thunkAPI) => {\n try {\n return await addSequenceStep(sequenceId, rest);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n\ntype UpdateSequenceStepExecutionDayRequestPayloadCreatorArgs = UpdateSequenceStepExecutionDayRequestPayload & {\n sequenceId: number;\n stepId: number;\n};\n\nexport const updateSequenceStepExecutionDayRequest = createAsyncThunk<\n ResponseSuccess,\n UpdateSequenceStepExecutionDayRequestPayloadCreatorArgs,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/updateSequenceStepExecutionDayRequest',\n async ({ sequenceId, stepId, ...rest }, thunkAPI) => {\n try {\n return await updateSequenceStepExecutionDay(sequenceId, stepId, rest);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n\nexport const updateSequenceStepRequest = createAsyncThunk<\n ResponseSuccess,\n UpdateSequenceStepExecutionDayRequestPayloadCreatorArgs,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/updateSequenceStepRequest',\n async ({ sequenceId, stepId, ...rest }, thunkAPI) => {\n try {\n return await updateSequenceStep(sequenceId, stepId, rest);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n\ntype DeleteSequenceStepRequestPayloadCreatorArgs = {\n sequenceId: number;\n stepId: number;\n};\n\nexport const deleteSequenceStepRequest = createAsyncThunk<\n ResponseSuccess,\n DeleteSequenceStepRequestPayloadCreatorArgs,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/deleteSequenceStepRequest',\n async ({ sequenceId, stepId }, thunkAPI) => {\n try {\n return await deleteSequenceStep(sequenceId, stepId);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n\ntype AddSequenceStepVariantRequestPayloadCreatorArgs = AddSequenceStepVariantRequestPayload & {\n sequenceId: number;\n stepId: number;\n};\n\nexport const addSequenceStepVariantRequest = createAsyncThunk<\n ResponseSuccess,\n AddSequenceStepVariantRequestPayloadCreatorArgs,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/addSequenceStepVariantRequest',\n async ({ sequenceId, stepId, ...rest }, thunkAPI) => {\n try {\n return await addSequenceStepVariant(sequenceId, stepId, rest);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n\ntype UpdateSequenceStepVariantDataRequestPayloadCreatorArgs = UpdateSequenceStepVariantDataRequestPayload & {\n sequenceId: number;\n stepId: number;\n variantId: number;\n};\n\nexport const updateSequenceStepVariantDataRequest = createAsyncThunk<\n ResponseSuccess,\n UpdateSequenceStepVariantDataRequestPayloadCreatorArgs,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/updateSequenceStepVariantDataRequest',\n async ({ sequenceId, stepId, variantId, ...rest }, thunkAPI) => {\n try {\n return await updateSequenceStepVariantData(\n sequenceId,\n stepId,\n variantId,\n rest,\n );\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n\ntype UpdateSequenceStepVariantStatusRequestPayloadCreatorArgs = UpdateSequenceStepVariantStatusRequestPayload & {\n sequenceId: number;\n stepId: number;\n variantId: number;\n};\n\nexport const updateSequenceStepVariantStatusRequest = createAsyncThunk<\n ResponseSuccess,\n UpdateSequenceStepVariantStatusRequestPayloadCreatorArgs,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/updateSequenceStepVariantStatusRequest',\n async ({ sequenceId, stepId, variantId, ...rest }, thunkAPI) => {\n try {\n return await updateSequenceStepVariantStatus(\n sequenceId,\n stepId,\n variantId,\n rest,\n );\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n\n// Create a generic type for sequenceId, stepId and variantId.\n// just like SequenceIdParamDto, etc. in backend\ntype DeleteSequenceStepVariantRequestPayloadCreatorArgs = {\n sequenceId: number;\n stepId: number;\n variantId: number;\n};\n\nexport const deleteSequenceStepVariantRequest = createAsyncThunk<\n ResponseSuccess,\n DeleteSequenceStepVariantRequestPayloadCreatorArgs,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/deleteSequenceStepVariantRequest',\n async ({ sequenceId, stepId, variantId }, thunkAPI) => {\n try {\n return await deleteSequenceStepVariant(sequenceId, stepId, variantId);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n\nexport const cloneSequenceStepVariantRequest = createAsyncThunk<\n ResponseSuccess,\n { variantId: number },\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/cloneSequenceStepVariantRequest',\n async ({ variantId }, thunkAPI) => {\n try {\n return await cloneSequenceStepVariant(variantId);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n\ntype UpdateSequenceSettingsRequestPayloadCreatorArgs = UpdateSequenceSettingsRequestPayload & {\n sequenceId: string;\n};\n\nexport const updateSequenceSettingsRequest = createAsyncThunk<\n ResponseSuccess,\n UpdateSequenceSettingsRequestPayloadCreatorArgs,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/updateSequenceSettingsRequest',\n async ({ sequenceId, ...rest }, thunkAPI) => {\n try {\n return await updateSequenceSettings(sequenceId, rest);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n\nexport const getContactFieldsRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/getContactFieldsRequest', async (args, thunkAPI) => {\n try {\n return await getContactFields();\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const getSequenceStepsRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/getSequenceStepsRequest', async (sequenceId, thunkAPI) => {\n try {\n return await getSequenceSteps(sequenceId);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\ntype AddContactsFromCSVRequestPayloadCreatorArgs = AddContactsFromCSVRequestPayload & {\n stepId: number;\n};\n\nexport const addContactsFromCSVRequest = createAsyncThunk<\n ResponseSuccess,\n AddContactsFromCSVRequestPayloadCreatorArgs,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/addContactsFromCSVRequest', async ({ ...rest }, thunkAPI) => {\n try {\n return await addContactsFromCSV(rest);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const addContactsFromCSVRequestWithoutStep = createAsyncThunk<\n ResponseSuccess,\n AddContactsFromCSVRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/addContactsFromCSVRequest', async ({ ...rest }, thunkAPI) => {\n try {\n return await addContactsFromCSVWithoutStep(rest);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const getSchedulesRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/getSchedules', async (args, thunkAPI) => {\n try {\n return await getAllSchedules();\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const getConnectedEmailsRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/getConnectedEmails', async (args, thunkAPI) => {\n try {\n return await getConnectedEmails();\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\ntype GetContactStatusCountRequestPayloadArgsCreator = ContactListParams & {\n sequenceId: string;\n includeAllFields?: boolean;\n};\n\n// Contact Status Count Request\nexport const getContactStatusCountRequest = createAsyncThunk<\n ResponseSuccess,\n GetContactStatusCountRequestPayloadArgsCreator,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/getContactStatusCount',\n async ({ sequenceId, ...params }, thunkAPI) => {\n try {\n return await getContactStatusCount(sequenceId, params);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n\n// Change sequence contacts status.\nexport const changeStatusOfContacts = createAsyncThunk<\n ResponseSuccess,\n ChangeSequenceContactStatusPayload,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/changeStatusOfContacts',\n async ({ contactAndStepIds, status, pauseDelayInDays }, thunkAPI) => {\n try {\n return await changeStatusOfContactsOfSequence(\n status,\n contactAndStepIds,\n pauseDelayInDays,\n );\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n\n// Get Contact Sequence List.\nexport const getContactSequenceListRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/getContactSequenceListRequest', async (args, thunkAPI) => {\n try {\n return await getContactSequenceList();\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\n// Get Contact Step List.\nexport const getContactSequenceStepListRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/getContactSequenceStepListRequest', async (args, thunkAPI) => {\n try {\n return await getContactStepList(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\n// Add Contact to Sequence's Step\nexport const addContactsToStepRequest = createAsyncThunk<\n ResponseSuccess,\n AddToStepParams,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/addContactsToStepRequest',\n async ({ stepId, sequenceId, contactIds }, thunkAPI) => {\n try {\n return await addContactsToStep({ stepId, sequenceId, contactIds });\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n\n// Remove Contacts from Sequences\nexport const removeContactFromSequenceRequest = createAsyncThunk<\n ResponseSuccess,\n AddToStepParams,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/removeContactFromSequenceRequest',\n async ({ sequenceId, contactIds }, thunkAPI) => {\n try {\n return await removeContactFromSequence(sequenceId, contactIds);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n\n// Get sequence List based on filter\ntype GetSequenceContactListArgsCreator = GetContactStatusCountRequestPayloadArgsCreator;\n\nexport const getSequenceContactListRequest = createAsyncThunk<\n ResponseSuccess,\n GetSequenceContactListArgsCreator,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/getSequenceContactList',\n async ({ sequenceId, ...params }, thunkAPI) => {\n try {\n return await getSequenceContactList(sequenceId, params);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n\nexport const imageUploadRequest = createAsyncThunk<\n ResponseSuccess,\n ImageUploadPayloadWithProgressCallback,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/imageUploadRequest',\n async ({ formData, onUploadProgress }, thunkAPI) => {\n try {\n return await uploadImage(formData, onUploadProgress);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n\nexport const getProspectRequestModal = createAsyncThunk<\n ResponseSuccess,\n ProspectParams,\n { rejectValue: ResponseErrorWithHandled }\n>('contact/getProspectRequestModal', async (args: ProspectParams, thunkAPI) => {\n try {\n return await getProspect(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getAdminSettingsRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'adminSettings/getAdminSettingsRequest',\n async (args: ProspectParams, thunkAPI) => {\n try {\n return await getAdminSettings();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const getProspectCountRequestModal = createAsyncThunk<\n ResponseSuccess,\n ProspectCountParams,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'contact/getProspectCountRequestModal',\n async (args: ProspectCountParams, thunkAPI) => {\n try {\n return await getProspectCount(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const addToStepModalRequest = createAsyncThunk<\n ResponseSuccess,\n AddToStepParams,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/addToStepModal', async (payload, thunkAPI) => {\n try {\n return await addContactsToStep(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const sequenceSendEmailStatus = createAsyncThunk<\n ResponseSuccess,\n { sequenceId: string },\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/sequenceSendEmailStatus', async ({ sequenceId }, thunkAPI) => {\n try {\n return await getSequenceMailSendingStatus(sequenceId);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const finishOnboardingRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/finishOnboardingRequest', async (args, thunkAPI) => {\n try {\n return await finishOnboarding();\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const getSequenceConfigRequest = createAsyncThunk<\n ResponseSuccess,\n { sequenceId: string },\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/getSequenceConfigRequest', async ({ sequenceId }, thunkAPI) => {\n try {\n return await getSequenceConfig(sequenceId);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getSequencePriorityConfigRequest = createAsyncThunk<\n ResponseSuccess,\n { sequenceId: string },\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/getSequencePriorityConfigRequest',\n async ({ sequenceId }, thunkAPI) => {\n try {\n return await getSequencePriorityConfig(sequenceId);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const updateSequencePriorityConfigRequest = createAsyncThunk<\n ResponseSuccess,\n { sequenceId: string; priorityDistributionId: number },\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/updateSequencePriorityConfigRequest',\n async ({ sequenceId, priorityDistributionId }, thunkAPI) => {\n try {\n return await updateSequencePriorityConfig({\n sequenceId,\n priorityDistributionId,\n });\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\n// Create Sample Steps\nexport const createSampleStepsRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/createSampleStepsRequest', async (args, thunkAPI) => {\n try {\n return await createSampleSteps(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\n// Create Sample Steps\nexport const addSampleProspectsToStepRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/addSampleProspectsToStep', async (args, thunkAPI) => {\n try {\n return await addSampleProspectsToStep(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\n// My Template\nexport const getMyTemplateRequest = createAsyncThunk<\n ResponseSuccess,\n GetTemplatesRequest,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/getMyTemplates', async (args, thunkAPI) => {\n try {\n return await getTemplates(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\n// Team Template\nexport const getTeamTemplateRequest = createAsyncThunk<\n ResponseSuccess,\n GetTemplatesRequest,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/getTeamTemplates', async (args, thunkAPI) => {\n try {\n return await getTemplates(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\n// Email tab\n\n// Get steps list of status\nexport const getEmailStepOfStatusRequest = createAsyncThunk<\n ResponseSuccess,\n {\n sequenceId: string;\n args: {\n status: EmailStatus;\n search: string;\n emailAccountIds?: string;\n variantNumbers?: string;\n sentAt?: any;\n };\n },\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/getEmailStepsOfStatus', async ({ sequenceId, args }, thunkAPI) => {\n try {\n return await getEmailStepsOfStatus(sequenceId, args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\n// Get list of status with step\nexport const getEmailStatusOfStepRequest = createAsyncThunk<\n ResponseSuccess,\n {\n sequenceId: string;\n args: {\n stepId: number | null;\n search: string;\n emailAccountIds?: string;\n variantNumbers?: string;\n sentAt?: any;\n };\n },\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/getEmailStatusOfStep', async ({ sequenceId, args }, thunkAPI) => {\n try {\n return await getEmailStatusOfStep(sequenceId, args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\n// Get emails list\nexport const getEmailListRequest = createAsyncThunk<\n ResponseSuccess,\n GetEmailRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/getEmailsList', async (args, thunkAPI) => {\n try {\n return await getEmailList(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const sendScheduledEmailRequest = createAsyncThunk<\n ResponseSuccess,\n any,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/sendScheduledEmail', async (args, thunkAPI) => {\n try {\n return await sendScheduledEmail(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const changeEmailStatusRequest = createAsyncThunk<\n ResponseSuccess,\n any,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/changeEmailStatus', async (args, thunkAPI) => {\n try {\n return await changeEmailStatus(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getSequenceProspectActivityRequest = createAsyncThunk<\n ResponseSuccess,\n GetSequenceProspectActivityPayload,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/getSequenceProspectActivity',\n async ({ sequenceId, prospectId }, thunkAPI) => {\n try {\n return await getSequenceProspectActivity(sequenceId, prospectId);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n\nexport const getCustomDomainsRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('customDomain/getCustomDomainsRequest', async (args, thunkAPI) => {\n try {\n return await getCustomDomains();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getSequenceProspectVerificationStatsRequest = createAsyncThunk<\n ResponseSuccess,\n any,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/getSequenceProspectVerificationStats', async (args, thunkAPI) => {\n try {\n return await getSequenceProspectVerificationStats(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const sendSequenceProspectVerifyStartRequest = createAsyncThunk<\n ResponseSuccess,\n any,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/sendSequenceProspectVerifyStart', async (args, thunkAPI) => {\n try {\n return await sendSequenceProspectVerifyStart(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\n// Upload Attachment Request\nexport const uploadAttachmentRequest = createAsyncThunk<\n ResponseSuccess,\n AttachmentUploadPayload,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/uploadAttachmentRequest',\n async ({ formData, onUploadProgress, cancelToken }, thunkAPI) => {\n try {\n return await uploadAttachment(formData, onUploadProgress, cancelToken);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n\n// Delete Attachment Request\nexport const deleteAttachmentRequest = createAsyncThunk<\n ResponseSuccess,\n AttachmentDeletePayload,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/deleteAttachmentRequest',\n async (\n { attachmentId, deleteFromTemplate, sequenceStepVariantId },\n thunkAPI,\n ) => {\n try {\n return await deleteAttachment(\n attachmentId,\n deleteFromTemplate,\n sequenceStepVariantId,\n );\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n\nexport const getSentEmailPreviewRequest = createAsyncThunk<\n ResponseSuccess,\n string,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/getSentEmailPreview', async (args, thunkAPI) => {\n try {\n return await getSentEmailPreview(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getSequenceScoreRequest = createAsyncThunk<\n ResponseSuccess,\n GetSequenceScorePayload,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/getSequenceScore', async ({ sequenceId, refresh }, thunkAPI) => {\n try {\n return await getSequenceScore(sequenceId, refresh);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const createEmailWritingFactorsRequest = createAsyncThunk<\n ResponseSuccess,\n EmailWritingFactorsPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/createEmailWritingFactors', async (args, thunkAPI) => {\n try {\n return await createEmailWritingFactors(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const updateEmailWritingFactorsRequest = createAsyncThunk<\n ResponseSuccess,\n EmailWritingFactorsPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/updateEmailWritingFactors', async (args, thunkAPI) => {\n try {\n return await updateEmailWritingFactors(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getLinkedEmailAccountsRequest = createAsyncThunk<\n ResponseSuccess,\n { sequenceId: string; pageNum: number },\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/getLinkedEmailAccounts',\n async ({ sequenceId, pageNum }, thunkAPI) => {\n try {\n return await getLinkedEmailAccounts(sequenceId, pageNum);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const linkEmailToSequenceRequest = createAsyncThunk<\n ResponseSuccess,\n { sequenceId: string; emailAccountIds: number[] },\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/linkEmailToSequence',\n async ({ sequenceId, emailAccountIds }, thunkAPI) => {\n try {\n return await linkEmailToSequence(sequenceId, emailAccountIds);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const getAllNotLinkedEmailAccountsRequest = createAsyncThunk<\n ResponseSuccess,\n {\n sequenceId: string;\n clientIds: number[];\n tagIds: number[];\n search: string;\n pageNum: number;\n },\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/getAllNotLinedEmailAccount',\n async ({ sequenceId, clientIds, search, pageNum, tagIds }, thunkAPI) => {\n try {\n return await getAllNotLinkedEmailAccounts(\n sequenceId,\n clientIds,\n search,\n pageNum,\n tagIds,\n );\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const removeConnectedEMailAccountRequest = createAsyncThunk<\n ResponseSuccess,\n { sequenceId: string; emailAccountId: number },\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/removeConnectedEmailAccount',\n async ({ sequenceId, emailAccountId }, thunkAPI) => {\n try {\n return await removeConnectedEmailAccount(sequenceId, emailAccountId);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const getNotLinkedEmailAccountsCountRequest = createAsyncThunk<\n ResponseSuccess,\n { sequenceId: string; search: string; clientIds: number[]; tagIds: number[] },\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/notLinkedEmailAccountCount',\n async ({ sequenceId, search, clientIds, tagIds }, thunkAPI) => {\n try {\n return await getNotLinkedEmailAccountsCount(\n sequenceId,\n search,\n clientIds,\n tagIds,\n );\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const getSenderEmailsRequest = createAsyncThunk<\n ResponseSuccess,\n { sequenceId: string },\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/getSenderEmailRequest', async ({ sequenceId }, thunkAPI) => {\n try {\n return await getSenderEmails(sequenceId);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const resendFailedEmailRequest = createAsyncThunk<\n ResponseSuccess,\n {\n sequenceId: number;\n sequenceContactHistoryId: number;\n resendType: ResendType;\n },\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/resendFailedEmail',\n async ({ sequenceId, sequenceContactHistoryId, resendType }, thunkAPI) => {\n try {\n return await resendFailedEmail(\n sequenceId,\n sequenceContactHistoryId,\n resendType,\n );\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const onOutcomeChangeRequest = createAsyncThunk<\n ResponseSuccess,\n { sequenceId: number; prospectId: number; outcomeId: number },\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/onOutcomeChangeRequest',\n async ({ sequenceId, prospectId, outcomeId }, thunkAPI) => {\n try {\n return await onOutcomeChange(sequenceId, prospectId, outcomeId);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const getTaskAssigneeListRequest = createAsyncThunk<\n ResponseSuccess,\n { userId: number },\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/getTaskAssigneeList', async ({ userId }, thunkAPI) => {\n try {\n return await getTaskAssigneeList(userId);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const bulkPauseSequenceRequest = createAsyncThunk<\n ResponseSuccess,\n number[],\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/bulkPauseSequence', async (args, thunkAPI) => {\n try {\n return await bulkPauseSequence(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const bulkResumeSequenceRequest = createAsyncThunk<\n ResponseSuccess,\n number[],\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/bulkResumeSequence', async (args, thunkAPI) => {\n try {\n return await bulkResumeSequence(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getAllConnectedEmailAccountsRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/getAllConnectedEmailAccounts', async (args, thunkAPI) => {\n try {\n return await getAllConnectedEmailAccounts(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getSequenceTimezoneRequest = createAsyncThunk<\n ResponseSuccess,\n GetSequenceTimezonePayload,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/getSequenceTimezone', async ({ sequenceId }, thunkAPI) => {\n try {\n return await getSequenceTimezone(sequenceId);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const sequenceProspectBulkStatusUpdateRequest = createAsyncThunk<\n ResponseSuccess,\n SequenceProspectBulkStatusUpdatePayload,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/sequenceProspectBulkStatusUpdate', async (args, thunkAPI) => {\n try {\n return await sequenceProspectBulkStatusUpdate(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const sequenceProspectBulkTagAssignRequest = createAsyncThunk<\n ResponseSuccess,\n SequenceProspectBulkTagAssignPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/sequenceProspectBulkTagAssign', async (args, thunkAPI) => {\n try {\n return await sequenceProspectBulkTagAssign(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const sequenceProspectBulkTagUnAssignRequest = createAsyncThunk<\n ResponseSuccess,\n SequenceProspectBulkTagUnAssignPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/sequenceProspectBulkTagUnAssign', async (args, thunkAPI) => {\n try {\n return await sequenceProspectBulkTagUnAssign(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const sequenceProspectBulkAddToSequenceRequest = createAsyncThunk<\n ResponseSuccess,\n SequenceProspectBulkAddToSequencePayload,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/sequenceProspectBulkAddToSequence', async (args, thunkAPI) => {\n try {\n return await sequenceProspectBulkAddToSequence(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const sequenceProspectBulkRemoveFromSequenceRequest = createAsyncThunk<\n ResponseSuccess,\n SequenceProspectBulkRemoveFromSequencePayload,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/sequenceProspectBulkRemoveFromSequence', async (args, thunkAPI) => {\n try {\n return await sequenceProspectBulkRemoveFromSequence(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getSequenceStatsCountsRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/getSequenceStatsCountsRequest', async (sequenceId, thunkAPI) => {\n try {\n return await getSequenceStatsCounts(sequenceId);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const getEspMatchingDetailsRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/getEspMatchingDetailsRequest', async (sequenceId, thunkAPI) => {\n try {\n return await getEspMatchingDetails(sequenceId);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\n/**\n * @description - Extra Action for handling sequence prospect steps states\n */\nexport const getSequenceProspectStepStatesRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/getSequenceProspectStepStatesRequest',\n async (sequenceId, thunkAPI) => {\n try {\n return await getSequenceProspectStepStates(sequenceId);\n } catch (err) {\n return thunkAPI.rejectWithValue(err as ResponseErrorWithHandled);\n }\n },\n);\n\n/**\n * @description - Extra Action for handling sequence prospect email account states\n */\nexport const getSequenceEmailAccountStatesRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/getSequenceEmailAccountStatesRequest',\n async (sequenceId, thunkAPI) => {\n try {\n return await getSequenceEmailAccountStates(sequenceId);\n } catch (err) {\n return thunkAPI.rejectWithValue(err as ResponseErrorWithHandled);\n }\n },\n);\n","export enum KeyCodes {\n ENTER = 13,\n}\n\nexport enum KeyValues {\n ENTER = 'enter',\n SPACE = ' ',\n COMMA = ',',\n}\n","import { KeyCodes, KeyValues } from '../types/keyboard-keys';\n\nexport const onKeyDown = (handler) => (e) => {\n if (\n e.keyCode === KeyCodes.ENTER &&\n e.key.trim().toLowerCase() === KeyValues.ENTER\n ) {\n handler?.(e);\n }\n};\n\nexport const accessibleOnClick = (handler, tabIndex?: number) => ({\n role: 'button',\n tabIndex: tabIndex || 0,\n onKeyDown: onKeyDown(handler),\n onClick: handler,\n});\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport {\n getProspect,\n getProspectCount,\n getSequenceList,\n getStepList,\n getStepDetailsList,\n addContactsToStep,\n removeProspect,\n unsubscribeProspect,\n getSingleProspectDetails,\n getMinimalSingleProspectSequencesDetails,\n singleProspectSequencesMarkAsReplied,\n singleProspectRemoveFromSequences,\n saveContactAttributes,\n saveContactDealValue,\n addProspectManually,\n singleProspectSequencesMarkAsFinished,\n verifyProspects,\n getTags,\n addTagsToProspects,\n removeTagsFromProspects,\n verifyBulkProspects,\n deleteBulkProspects,\n unsubscribeBulkProspects,\n addBulkProspectsToStep,\n addTagsToBulkProspects,\n removeTagsFromBulkProspects,\n deleteSecondaryEmail,\n deleteSecondaryPhone,\n changePrimaryEmailInProspect,\n getProspectList,\n getProspectListCount,\n getProspectListByIds,\n getFilterViewList,\n pipUnpinSavedFilter,\n updateSavedFilter,\n deleteSavedView,\n getProspectFiltersFieldsList,\n getProspectFiltersFieldValues,\n getProspectFiltersAttributeFieldValues,\n getProspectFiltersSequencesList,\n getProspectFiltersClientsList,\n saveProspectFiltersView,\n updateProspectFiltersView,\n deleteProspectFiltersView,\n getContactListByViewId,\n getImportedFilesList,\n updateProspectFieldById,\n getLongTextByProspectAndColumnId,\n} from './helpers/prospect.api';\nimport { ResponseErrorWithHandled, ResponseSuccess } from '../../shared/types';\nimport {\n AddProspectManuallyPayload,\n AddToStepParams,\n markAsRepliedParam,\n ProspectCountParams,\n ProspectParams,\n removeFromSequenceParam,\n SaveContactAttributesPayload,\n saveContactDealValuePayload,\n AddTagsToProspectsPayload,\n RemoveTagsFromProspectsPayload,\n BulkActionPayload,\n changePrimaryEmailInProspectPayload,\n deleteSecondaryEmailParams,\n deleteSecondaryPhoneParams,\n ProspectListPayload,\n ProspectListByIdsPayload,\n PinUnpinActionType,\n ProspectFiltersValuesPayload,\n ProspectFiltersSequencesClientsPayload,\n ProspectFiltersSaveViewPayload,\n ProspectFiltersUpdateViewPayload,\n TagsGenerationType,\n ProspectFieldPayload,\n} from './types';\nimport { getFieldsGeneric } from '../settings/helpers/field.api';\nimport { GetFieldsQueryParams } from '../settings/types/request-payload';\nimport {\n getMembersList,\n getTeamsAndMembersList,\n} from '../settings/helpers/users-and-teams.api';\nimport { getAllOutcomes } from '../settings/helpers/outcome.api';\nimport { UserStatusKeys } from '../settings/enums/users-and-teams';\n\nexport const getProspectListRequest = createAsyncThunk<\n ResponseSuccess,\n ProspectListPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/getProspectList', async (args, thunkAPI) => {\n try {\n return await getProspectList(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getProspectListCountRequest = createAsyncThunk<\n ResponseSuccess,\n ProspectListPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/getProspectListCount', async (args, thunkAPI) => {\n try {\n return await getProspectListCount(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getProspectListByIdsRequest = createAsyncThunk<\n ResponseSuccess,\n ProspectListByIdsPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/getProspectListByIds', async (args, thunkAPI) => {\n try {\n return await getProspectListByIds(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getProspectRequest = createAsyncThunk<\n ResponseSuccess,\n ProspectParams,\n { rejectValue: ResponseErrorWithHandled }\n>('contact/getProspectRequest', async (args: ProspectParams, thunkAPI) => {\n try {\n return await getProspect(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getProspectCountRequest = createAsyncThunk<\n ResponseSuccess,\n ProspectCountParams,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'contact/getProspectCountRequest',\n async (args: ProspectCountParams, thunkAPI) => {\n try {\n return await getProspectCount(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const getSequenceListRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/getSequenceList', async (args, thunkAPI) => {\n try {\n return await getSequenceList();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getStepListRequest = createAsyncThunk<\n ResponseSuccess,\n { sequenceId: string },\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/getSequenceStepList', async ({ sequenceId }, thunkAPI) => {\n try {\n return await getStepList(sequenceId);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getStepDetailsListRequest = createAsyncThunk<\n ResponseSuccess,\n string,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/getStepDetailsList', async (args, thunkAPI) => {\n try {\n return await getStepDetailsList(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const addToStepRequest = createAsyncThunk<\n ResponseSuccess,\n AddToStepParams,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/addToStep', async (payload, thunkAPI) => {\n try {\n return await addContactsToStep(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const removeProspectRequest = createAsyncThunk<\n ResponseSuccess,\n number[],\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/removeProspectRequest', async (args, thunkAPI) => {\n try {\n return await removeProspect(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getSingleProspectDetailsRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/getSingleProspectDetailsRequest', async (args, thunkAPI) => {\n try {\n return await getSingleProspectDetails(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getSingleProspectSequencesDetailsRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'contacts/getSingleProspectSequencesDetailsRequest',\n async (args, thunkAPI) => {\n try {\n return await getMinimalSingleProspectSequencesDetails(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const singleProspectSequencesMarkAsRepliedRequest = createAsyncThunk<\n ResponseSuccess,\n markAsRepliedParam[],\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'contacts/singleProspectSequencesMarkAsRepliedRequest',\n async (args, thunkAPI) => {\n try {\n return await singleProspectSequencesMarkAsReplied(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const singleProspectSequencesMarkAsFinishedRequest = createAsyncThunk<\n ResponseSuccess,\n markAsRepliedParam[],\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'contacts/singleProspectSequencesMarkAsFinishedRequest',\n async (args, thunkAPI) => {\n try {\n return await singleProspectSequencesMarkAsFinished(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const singleProspectRemoveFromSequencesRequest = createAsyncThunk<\n ResponseSuccess,\n removeFromSequenceParam,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'contacts/singleProspectRemoveFromSequencesRequest',\n async (args, thunkAPI) => {\n try {\n return await singleProspectRemoveFromSequences(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const unsubscribeProspectRequest = createAsyncThunk<\n ResponseSuccess,\n number[],\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/unsubscribeProspectRequest', async (args, thunkAPI) => {\n try {\n return await unsubscribeProspect(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const saveContactAttributesRequest = createAsyncThunk<\n ResponseSuccess,\n SaveContactAttributesPayload,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'contacts/saveContactAttributesRequest',\n async ({ contactId, attributes }, thunkAPI) => {\n try {\n return await saveContactAttributes(contactId, attributes);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const saveContactDealValueRequest = createAsyncThunk<\n ResponseSuccess,\n saveContactDealValuePayload,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'contacts/saveContactDealValueRequest',\n async ({ sequenceId, attributes }, thunkAPI) => {\n try {\n return await saveContactDealValue(sequenceId, attributes);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const getFieldsRequest = createAsyncThunk<\n ResponseSuccess,\n GetFieldsQueryParams | null,\n { rejectValue: ResponseErrorWithHandled }\n>('prospect/getFieldsRequest', async (args = {}, thunkAPI) => {\n try {\n return await getFieldsGeneric({ includeDefaults: true, ...args });\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const addProspectManuallyRequest = createAsyncThunk<\n ResponseSuccess,\n AddProspectManuallyPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/addProspectManuallyRequest', async ({ attributes }, thunkAPI) => {\n try {\n return await addProspectManually(attributes);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const verifyProspectsManuallyRequest = createAsyncThunk<\n ResponseSuccess,\n { contactIds: number[] },\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/verifyProspectManuallyRequest', async (args, thunkAPI) => {\n try {\n return await verifyProspects(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getTagsRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('contact/getTagsRequest', async (args, thunkAPI) => {\n try {\n return await getTags(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const addTagsToProspectsRequest = createAsyncThunk<\n ResponseSuccess,\n AddTagsToProspectsPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/addTagsToProspectsRequest', async (args, thunkAPI) => {\n try {\n return await addTagsToProspects(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const removeTagsFromProspectsRequest = createAsyncThunk<\n ResponseSuccess,\n RemoveTagsFromProspectsPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/removeTagsFromProspectsRequest', async (args, thunkAPI) => {\n try {\n return await removeTagsFromProspects(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const verifyBulkProspectsRequest = createAsyncThunk<\n ResponseSuccess,\n BulkActionPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/verifyBulkProspectsRequest', async (args, thunkAPI) => {\n try {\n return await verifyBulkProspects(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const deleteBulkProspectsRequest = createAsyncThunk<\n ResponseSuccess,\n BulkActionPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/deleteBulkProspectsRequest', async (args, thunkAPI) => {\n try {\n return await deleteBulkProspects(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const unsubscribeBulkProspectRequest = createAsyncThunk<\n ResponseSuccess,\n BulkActionPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/unsubscribeBulkProspectRequest', async (args, thunkAPI) => {\n try {\n return await unsubscribeBulkProspects(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const addBulkProspectsToStepRequest = createAsyncThunk<\n ResponseSuccess,\n BulkActionPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/addBulkProspectsToStepRequest', async (args, thunkAPI) => {\n try {\n return await addBulkProspectsToStep(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const addTagsToBulkProspectsRequest = createAsyncThunk<\n ResponseSuccess,\n BulkActionPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/addTagsToBulkProspectsRequest', async (args, thunkAPI) => {\n try {\n return await addTagsToBulkProspects(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const removeTagsFromBulkProspectsRequest = createAsyncThunk<\n ResponseSuccess,\n BulkActionPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/removeTagsFromBulkProspectsRequest', async (args, thunkAPI) => {\n try {\n return await removeTagsFromBulkProspects(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const changePrimaryEmailInProspectRequest = createAsyncThunk<\n ResponseSuccess,\n changePrimaryEmailInProspectPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/changePrimaryEmailInProspectRequest', async (args, thunkAPI) => {\n try {\n return await changePrimaryEmailInProspect(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const deleteSecondaryEmailRequest = createAsyncThunk<\n ResponseSuccess,\n deleteSecondaryEmailParams,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/deleteSecondaryEmail', async (args, thunkAPI) => {\n try {\n return await deleteSecondaryEmail(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const deleteSecondaryPhoneRequest = createAsyncThunk<\n ResponseSuccess,\n deleteSecondaryPhoneParams,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/deleteSecondaryPhone', async (args, thunkAPI) => {\n try {\n return await deleteSecondaryPhone(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getCustomFieldRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/getFieldsGeneric', async (args, thunkAPI) => {\n try {\n return await getFieldsGeneric({ includeDefaults: false });\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getFilterViewListRequest = createAsyncThunk<\n ResponseSuccess,\n ProspectListPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/getFilterViewList', async (args, thunkAPI) => {\n try {\n return await getFilterViewList(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getProspectFiltersFieldsListRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/getProspectFiltersFieldsList', async (_args, thunkAPI) => {\n try {\n return await getProspectFiltersFieldsList();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const pinUnpinSavedFilterRequest = createAsyncThunk<\n ResponseSuccess,\n { viewId: number; action: PinUnpinActionType },\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'contacts/pinUnpinSavedFilterRequest',\n async ({ viewId, action }, thunkAPI) => {\n try {\n return await pipUnpinSavedFilter(viewId, action);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const updateSavedFilterRequest = createAsyncThunk<\n ResponseSuccess,\n {\n viewId: number;\n payload: { filterName: string; isShared: boolean; teamIds: number[] };\n },\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'contacts/updateSavedFilterRequest',\n async ({ viewId, payload }, thunkAPI) => {\n try {\n return await updateSavedFilter(viewId, payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const deleteSavedViewRequest = createAsyncThunk<\n ResponseSuccess,\n { viewId: number },\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/deleteSavedViewRequest', async ({ viewId }, thunkAPI) => {\n try {\n return await deleteSavedView(viewId);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getProspectFiltersFieldValuesRequest = createAsyncThunk<\n ResponseSuccess,\n ProspectFiltersValuesPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/getProspectFiltersFieldValues', async (args, thunkAPI) => {\n try {\n return await getProspectFiltersFieldValues(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getProspectFiltersAttributeFieldValuesRequest = createAsyncThunk<\n ResponseSuccess,\n ProspectFiltersValuesPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/getProspectFiltersAttributeFieldValues', async (args, thunkAPI) => {\n try {\n return await getProspectFiltersAttributeFieldValues(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getProspectFiltersSequencesListRequest = createAsyncThunk<\n ResponseSuccess,\n ProspectFiltersSequencesClientsPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/getProspectFiltersSequencesList', async (args, thunkAPI) => {\n try {\n return await getProspectFiltersSequencesList(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getProspectFiltersClientsListRequest = createAsyncThunk<\n ResponseSuccess,\n ProspectFiltersSequencesClientsPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/getProspectFiltersClientsList', async (args, thunkAPI) => {\n try {\n return await getProspectFiltersClientsList(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getProspectFiltersTagsListRequest = createAsyncThunk<\n ResponseSuccess,\n TagsGenerationType,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/getProspectFiltersTagsList', async (args, thunkAPI) => {\n try {\n return await getTags(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getProspectFiltersOwnersListRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/getProspectFiltersOwnersList', async (_args, thunkAPI) => {\n try {\n return await getTeamsAndMembersList();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getProspectFiltersOwnersListForAgencyRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'contacts/getProspectFiltersOwnersListForAgencyRequest',\n async (_args, thunkAPI) => {\n try {\n return await getMembersList([UserStatusKeys.Active]);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const getProspectFiltersOutcomeListRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/getProspectFiltersOutcomeList', async (_args, thunkAPI) => {\n try {\n return await getAllOutcomes();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const saveProspectFiltersViewRequest = createAsyncThunk<\n ResponseSuccess,\n ProspectFiltersSaveViewPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/saveProspectFiltersView', async (args, thunkAPI) => {\n try {\n return await saveProspectFiltersView(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const updateProspectFiltersViewRequest = createAsyncThunk<\n ResponseSuccess,\n ProspectFiltersUpdateViewPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/updateProspectFiltersView', async (args, thunkAPI) => {\n try {\n return await updateProspectFiltersView(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const deleteProspectFiltersViewRequest = createAsyncThunk<\n ResponseSuccess,\n string,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/deleteProspectFiltersView', async (args, thunkAPI) => {\n try {\n return await deleteProspectFiltersView(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getContactListByViewIdRequest = createAsyncThunk<\n ResponseSuccess,\n ProspectListPayload,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'contacts/getContactListByViewIdRequest',\n async ({ viewId, selectedField }, thunkAPI) => {\n try {\n return await getContactListByViewId(viewId, selectedField);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const getImportedFilesListRequest = createAsyncThunk<\n ResponseSuccess,\n string | undefined,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/getImportedFilesListRequest', async (ids, thunkAPI) => {\n try {\n return await getImportedFilesList(ids);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\nexport const updateProspectFieldByIdRequest = createAsyncThunk<\n ResponseSuccess,\n ProspectFieldPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('contacts/updateProspectFieldByIdRequest', async (args, thunkAPI) => {\n try {\n return await updateProspectFieldById(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getLongTextByProspectAndColumnIdRequest = createAsyncThunk<\n ResponseSuccess,\n ProspectFieldPayload,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'contacts/getLongTextByProspectAndColumnIdRequest',\n async (args, thunkAPI) => {\n try {\n return await getLongTextByProspectAndColumnId(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n","import { DateTime } from 'luxon';\nimport { OnboardingSteps } from '../../shared/types/user-setting';\nimport {\n PlanType,\n SubscriptionPlans,\n} from '../../shared/utils/subscription-plans';\nimport SubscriptionStatus from '../settings/components/billing-subscription/enums/subscription-status';\n\nexport type UpgradeOnboardingStepPayload = {\n onboardingStep: OnboardingSteps;\n};\n\nexport type SubscriptionDetails = {\n planId: number;\n planName: string;\n planAmount: string;\n planMode: number;\n slots: number;\n emailAccountQuota: number;\n userQuota: number;\n startAt: string;\n nextBillingAt: string;\n subscriptionId(pin): string;\n customerId: string;\n paymentActionRequired: boolean;\n paymentActionUrl: string;\n paymentActionType: string;\n planType: PlanType;\n planCode: SubscriptionPlans;\n planTransitionDetails: {\n current: number;\n from: number;\n };\n status: SubscriptionStatus;\n pauseEndsAt?: string;\n pausedAt?: string;\n};\n\nexport enum NotificationType {\n SequencePaused = 'sequence-paused',\n SequencePausedBounce = 'sequence-paused-bounce',\n EmailAccountDisconnected = 'email-account-disconnected',\n SequenceBulkProspectClient = 'sequence-prospect-bulk-client',\n SequenceProspectExportForClient = 'sequence-prospect-export-client',\n UniboxConversationForClient = 'unibox-conversation-client',\n EmailAccountBulkConnectClient = 'email-account-bulk-connect-client',\n SequenceReportClient = 'sequence-report-client',\n ProspectVerifyReport = 'prospect-verify-report',\n WhitelabelDomainSet = 'whitelabel-domain-set',\n SequenceProspectImport = 'sequence-prospect-import',\n DnsImport = 'dnc-import',\n DnsExport = 'dnc-export',\n SequenceProspectVerify = 'sequence-prospect-verify',\n UniboxScheduleCanceled = 'unibox-schedule-canceled',\n SequenceProspectBulkAction = 'sequence-prospect-bulk-action',\n ProspectBulkAction = 'prospect-bulk-action',\n LeadRevealCompleted = 'lead-reveal-completed',\n LeadRevealCompletedNoEmailOrPhone = 'lead-reveal-completed-no-email-or-phone',\n EmailAccountPaused = 'email-account-paused',\n ProspectImportAsync = 'prospect-import-async',\n SequenceProspectImportAsync = 'sequence-prospect-import-async',\n LeadRevealCompletedAsync = 'lead-reveal-completed-async',\n LeadRevealCompletedNoEmailOrPhoneAsync = 'lead-reveal-completed-no-email-or-phone-async',\n DomainRegistrationInProgress = 'domain-registration-in-progress',\n DomainRegistrationComplete = 'domain-registration-complete',\n MailboxRegistrationComplete = 'mailbox-registration-complete',\n}\n\nexport enum NotificationReason {\n EmailDisconneted = 'emailDisconnected',\n SequencePaused = 'sequencePaused',\n SequenceProspectExportForClient = 'sequenceProspectExportForClient',\n SequenceReportClient = 'sequenceReportClient',\n EmailAccountBulkConnectClient = 'emailAccountBulkConnectClient',\n UniboxConversationForClient = 'uniboxConversationForClient',\n SequenceBulkProspectClient = 'sequenceBulkProspectClient',\n ProspectVerifyReport = 'prospectVerify',\n WhitelabelDomainSet = 'whitelabelDomainSet',\n DnsImport = 'dnsImport',\n DnsExport = 'dnsExport',\n SequenceProspectImport = 'sequenceProspectImport',\n SequenceProspectVerify = 'prospectVerify',\n UniboxScheduleCanceled = 'uniboxScheduleCanceled',\n ProspectBulkAction = 'prospect-bulk-action',\n SequenceProspectBulkAction = 'sequenceProspectBulkAction',\n LeadRevealCompleted = 'leadRevealCompleted',\n LeadRevealCompletedNoEmailOrPhone = 'leadRevealCompletedNoEmailOrPhone',\n EmailAccountPaused = 'emailAccountPaused',\n ProspectImportAsync = 'prospectImportAsync',\n SequenceProspectImportAsync = 'sequenceProspectImportAsync',\n ProspectImportAsyncCompleted = 'prospectImportAsyncCompleted',\n SequenceProspectImportAsyncCompleted = 'sequenceProspectImportAsyncCompleted',\n LeadRevealCompletedAsync = 'leadRevealCompletedAsync',\n LeadRevealCompletedNoEmailOrPhoneAsync = 'leadRevealCompletedNoEmailOrPhoneAsync',\n LeadRevealCompletedAsyncProcess = 'leadRevealCompletedAsyncProcess',\n LeadRevealCompletedNoEmailOrPhoneAsyncProcess = 'leadRevealCompletedNoEmailOrPhoneAsyncProcess',\n DomainRegistrationInProgress = 'domainRegistrationInProgress',\n DomainRegistrationComplete = 'domainRegistrationComplete',\n MailboxRegistrationComplete = 'mailboxRegistrationComplete',\n}\n\nexport enum NotificationAction {\n Reconnect = 'reconnect',\n Resume = 'resume',\n Download = 'download',\n Login = 'login',\n ViewDraft = 'viewDraft',\n Leads = 'leads',\n Activate = 'activate',\n ViewList = 'viewList',\n ViewLeads = 'viewLead',\n ViewEmailAccounts = 'viewEmailAccounts',\n}\n\nexport enum NotificationActionType {\n BulkOperations = 'bulkOperations',\n General = 'general',\n}\n\nexport type Notifications = {\n emailAccountId?: number;\n sequenceId?: number;\n notificationType: NotificationType;\n accountId: number;\n userId: number;\n _id: string;\n log: string;\n redirectUrl: string;\n timestamp: string;\n timezone: string;\n hasRead: boolean;\n emailAccountType: number;\n reportUrl: string;\n prospectEmail?: string;\n emailThreadHashId?: string;\n uuid?: string;\n actionType?: NotificationActionType;\n onScreen: boolean;\n sequenceName?: string;\n metaData: {\n totalCount: number;\n completedCount: number;\n failedCount?: number;\n updatedCount?: number;\n insertedCount?: number;\n importFile?: {\n name?: string;\n id?: number;\n };\n };\n completedAt?: DateTime;\n createdAt: DateTime;\n};\n\nexport type NotificationPollingResponse = {\n shouldPoll: boolean;\n notifications: Notifications[];\n};\n\nexport type CompareAuthTokenPayload = {\n authToken: string;\n};\n\nexport type LogoConfig = {\n primary: string;\n secondary: string;\n tertiary: string;\n favicon?: string;\n showAgencyNameWithLogo: boolean;\n};\n\nexport type AgencyConfig = {\n showColdEmailTips: boolean;\n showAddStepButton: boolean;\n showEmailContentGuideHelp: boolean;\n showFAQ: boolean;\n showYTVideoGuide: boolean;\n showInfoTips: boolean;\n showGettingStarted: boolean;\n showHelp: boolean;\n showFeatureRequest: boolean;\n showChatSupport: boolean;\n showScheduleADemo: boolean;\n showWhatsNew: boolean;\n showInAppNotification: boolean;\n showClientName: boolean;\n closeOnLogout: boolean;\n isDefault: boolean;\n showNameFieldsInInviteModal: boolean;\n colorPalette: Record;\n logo: LogoConfig;\n agencyName: string;\n agencyId?: number;\n clientName: string;\n showTermOfServiceAndPrivacyPolicy: boolean;\n ltdExpiryDate: string;\n clientBaseUrl?: string;\n clientLogo?: string;\n icon?: string;\n favicon?: string;\n companyName?: string;\n isLocallyCached?: boolean;\n};\n\ntype FeatureLimit = {\n ['EMAIL.SEND']: string;\n ['PROSPECT.ADD']: string;\n ['LEAD.REVEAL']: string;\n ['SEQUENCE.EMAIL_ACCOUNT']?: number;\n ['AI_VARIANT.CREDIT']: string;\n};\n\nexport type GetPostLoadMetaResponse = {\n featureLimits: FeatureLimit;\n accountUsageQuotaRemaining: FeatureLimit;\n accountUsageQuotaResetDate: Date;\n celloAuthToken: string;\n leadFinderAccountUsageQuotaResetDate: Date;\n};\n\nexport type UnreadEmailThreadsCountPayload = {\n search?: string;\n categoryId?: number;\n sequenceIds?: number[];\n emailAccountIds?: number[];\n clientIds?: number[];\n owners?: number[];\n date?: {\n startDate?: DateTime | string;\n endDate?: DateTime | string;\n };\n shouldCalculateFilterCount?: boolean;\n};\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport {\n ResponseErrorWithHandled,\n ResponseSuccess,\n} from '../../../../shared/types';\nimport { sleep } from '../../../../shared/utils/sleep';\nimport {\n getAccountSubscription,\n getAccountSubscriptionPlanDetail,\n getConnectedUsersAndEmailAccounts,\n getInvoiceUrl,\n getPlans,\n purchaseSubscription,\n applyCouponCode,\n getEmailVerificationCredits,\n getEmailVerificationPlan,\n purchaseEmailVerificationCredits,\n modifySubscription,\n purchaseModifySubscription,\n reactivateSubscription,\n resumeSubscription,\n handleSubscription,\n calculatePay,\n upgradePlan,\n downgradePlan,\n purchaseLtdPlan,\n upgradeLtdPlan,\n modifyLtdPlan,\n getLeadFinderSubscription,\n getLeadFinderPlans,\n purchaseLeadFinderSubscription,\n purchaseLeadFinderModifySubscription,\n handleLeadFinderChurnkeySubscription,\n reactivateLeadFinderSubscription,\n resumeLeadFinderSubscription,\n purchaseHistory,\n purchaseDetailsById,\n exportCreditHistory,\n getLeadFinderOneTimePlans,\n purchaseLeadFinderOneTimePlan,\n} from './helpers/billing-subscription.api';\nimport {\n ApplyCouponCodeRequest,\n GetInvoiceURLRequest,\n PurchaseEmailVerificationCreditsRequest,\n ModifySubscriptionRequest,\n PurchaseSubscriptionRequest,\n PurchaseModifySubscriptionRequest,\n ReactivateResumeSubscriptionRequest,\n HandleSubscriptionRequest,\n CalculatePayRequest,\n UpgradePlanRequest,\n DowngradePlanRequest,\n LTDPurchasePayload,\n LTDModifyPayload,\n LTDUpgradePayload,\n} from './types';\nimport {\n ExportCreditHistoryPayload,\n GetOrderDetailsByIdPayload,\n} from './types/purchase-history';\nimport { PurchaseLeadFinderCreditsRequest } from './types/purchase-lead-finder-credits';\n\nexport const getAccountSubscriptionRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('subscription/getAccountSubscriptionRequest', async (args, thunkAPI) => {\n try {\n return await getAccountSubscription();\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getAccountSubscriptionPlanRequest = createAsyncThunk<\n ResponseSuccess,\n string,\n { rejectValue: ResponseErrorWithHandled }\n>('/getAccountSubscriptionPlanRequest', async (args, thunkAPI) => {\n try {\n return await getAccountSubscriptionPlanDetail(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getLeadFinderSubscriptionRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('subscription/getLeadFinderSubscriptionRequest', async (args, thunkAPI) => {\n try {\n return await getLeadFinderSubscription();\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getPlansRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('subscription/getPlansRequest', async (args, thunkAPI) => {\n try {\n return await getPlans();\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getLeadFinderPlansRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('subscription/getLeadFinderPlansRequest', async (args, thunkAPI) => {\n try {\n return await getLeadFinderPlans();\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getInvoiceURLRequest = createAsyncThunk<\n ResponseSuccess,\n GetInvoiceURLRequest,\n { rejectValue: ResponseErrorWithHandled }\n>('subscription/getInvoiceURLRequest', async (args, thunkAPI) => {\n try {\n return await getInvoiceUrl(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const purchaseSubscriptionRequest = createAsyncThunk<\n ResponseSuccess,\n PurchaseSubscriptionRequest,\n { rejectValue: ResponseErrorWithHandled }\n>('subscription/purchaseSubscriptionRequest', async (args, thunkAPI) => {\n try {\n const data = await purchaseSubscription(args);\n await sleep(5000);\n return data;\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const purchaseLeadFinderSubscriptionRequest = createAsyncThunk<\n ResponseSuccess,\n PurchaseSubscriptionRequest,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'subscription/purchaseLeadFinderSubscriptionRequest',\n async (args, thunkAPI) => {\n try {\n const data = await purchaseLeadFinderSubscription(args);\n await sleep(5000);\n return data;\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const getConnectedUsersAndEmailAccountsRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'accounts/getConnectedUsersAndEmailAccountsRequest',\n async (args, thunkAPI) => {\n try {\n return await getConnectedUsersAndEmailAccounts();\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const applyCouponCodeRequest = createAsyncThunk<\n ResponseSuccess,\n ApplyCouponCodeRequest,\n { rejectValue: ResponseErrorWithHandled }\n>('subscription/applyCouponCodeRequest', async (args, thunkAPI) => {\n try {\n return await applyCouponCode(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getEmailVerificationCreditsRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('email-verification-credits', async (args, thunkAPI) => {\n try {\n return await getEmailVerificationCredits();\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getEmailVerificationPlanRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('email-verification-plans', async (args, thunkAPI) => {\n try {\n return await getEmailVerificationPlan();\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const purchaseEmailVerificationCreditsRequest = createAsyncThunk<\n ResponseSuccess,\n PurchaseEmailVerificationCreditsRequest,\n { rejectValue: ResponseErrorWithHandled }\n>('email-verification-credits/purchase', async (args, thunkAPI) => {\n try {\n return await purchaseEmailVerificationCredits(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const modifySubscriptionRequest = createAsyncThunk<\n ResponseSuccess,\n ModifySubscriptionRequest,\n { rejectValue: ResponseErrorWithHandled }\n>('subscription/modifySubscription', async (args, thunkAPI) => {\n try {\n return await modifySubscription(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const purchaseModifySubscriptionRequest = createAsyncThunk<\n ResponseSuccess,\n PurchaseModifySubscriptionRequest,\n { rejectValue: ResponseErrorWithHandled }\n>('subscription/purchaseModifySubscriptionRequest', async (args, thunkAPI) => {\n try {\n return await purchaseModifySubscription(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const purchaseLeadFinderModifySubscriptionRequest = createAsyncThunk<\n ResponseSuccess,\n PurchaseModifySubscriptionRequest,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'subscription/purchaseLeadFinderModifySubscriptionRequest',\n async (args, thunkAPI) => {\n try {\n return await purchaseLeadFinderModifySubscription(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const reactivateSubscriptionRequest = createAsyncThunk<\n ResponseSuccess,\n ReactivateResumeSubscriptionRequest,\n { rejectValue: ResponseErrorWithHandled }\n>('subscription/reactivateSubscriptionRequest', async (args, thunkAPI) => {\n try {\n return await reactivateSubscription(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const reactivateLeadFinderSubscriptionRequest = createAsyncThunk<\n ResponseSuccess,\n ReactivateResumeSubscriptionRequest,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'subscription/reactivateLeadFinderSubscriptionRequest',\n async (args, thunkAPI) => {\n try {\n return await reactivateLeadFinderSubscription(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const resumeSubscriptionRequest = createAsyncThunk<\n ResponseSuccess,\n ReactivateResumeSubscriptionRequest,\n { rejectValue: ResponseErrorWithHandled }\n>('subscription/resumeSubscriptionRequest', async (args, thunkAPI) => {\n try {\n return await resumeSubscription(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const resumeLeadFinderSubscriptionRequest = createAsyncThunk<\n ResponseSuccess,\n ReactivateResumeSubscriptionRequest,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'subscription/resumeLeadFinderSubscriptionRequest',\n async (args, thunkAPI) => {\n try {\n return await resumeLeadFinderSubscription(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const handleSubscriptionRequest = createAsyncThunk<\n ResponseSuccess,\n HandleSubscriptionRequest,\n { rejectValue: ResponseErrorWithHandled }\n>('subscription/handleSubscriptionRequest', async (args, thunkAPI) => {\n try {\n return await handleSubscription(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const handleLeadFinderChurnkeySubscriptionRequest = createAsyncThunk<\n ResponseSuccess,\n HandleSubscriptionRequest,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'subscription/handleLeadFinderChurnkeySubscriptionRequest',\n async (args, thunkAPI) => {\n try {\n return await handleLeadFinderChurnkeySubscription(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const calculatePayRequest = createAsyncThunk<\n ResponseSuccess,\n CalculatePayRequest,\n { rejectValue: ResponseErrorWithHandled }\n>('subscription/calculatePayRequest', async (args, thunkAPI) => {\n try {\n return await calculatePay(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const upgradePlanRequest = createAsyncThunk<\n ResponseSuccess,\n UpgradePlanRequest,\n { rejectValue: ResponseErrorWithHandled }\n>('subscription/upgradePlanRequest', async (args, thunkAPI) => {\n try {\n return await upgradePlan(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const downgradePlanRequest = createAsyncThunk<\n ResponseSuccess,\n DowngradePlanRequest,\n { rejectValue: ResponseErrorWithHandled }\n>('subscription/downgradePlanRequest', async (args, thunkAPI) => {\n try {\n return await downgradePlan(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const purchaseLtdPlanRequest = createAsyncThunk<\n ResponseSuccess,\n LTDPurchasePayload,\n { rejectValue: ResponseErrorWithHandled }\n>('subscription/purchaseLtdPlanRequest', async (args, thunkAPI) => {\n try {\n return await purchaseLtdPlan(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const upgradeLtdPlanRequest = createAsyncThunk<\n ResponseSuccess,\n LTDUpgradePayload,\n { rejectValue: ResponseErrorWithHandled }\n>('subscription/upgradeLtdPlanRequest', async (args, thunkAPI) => {\n try {\n return await upgradeLtdPlan(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const modifyLtdPlanRequest = createAsyncThunk<\n ResponseSuccess,\n LTDModifyPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('subscription/modifyLtdPlanRequest', async (args, thunkAPI) => {\n try {\n return await modifyLtdPlan(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getPurchaseHistoryRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('subscription/getPurchaseHistoryRequest', async (args, thunkAPI) => {\n try {\n return await purchaseHistory();\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getPurchaseDetailsByIdRequest = createAsyncThunk<\n ResponseSuccess,\n GetOrderDetailsByIdPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('subscription/getPurchaseDetailsByIdRequest', async (args, thunkAPI) => {\n try {\n return await purchaseDetailsById(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const exportCreditHistoryRequest = createAsyncThunk<\n ResponseSuccess,\n ExportCreditHistoryPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('subscription/exportCreditHistoryRequest', async (args, thunkAPI) => {\n try {\n return await exportCreditHistory(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getLeadFinderOneTimePlansRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('subscription/getLeadFinderOneTimePlansRequest', async (args, thunkAPI) => {\n try {\n return await getLeadFinderOneTimePlans();\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const purchaseLeadFinderOneTimePlanRequest = createAsyncThunk<\n ResponseSuccess,\n PurchaseLeadFinderCreditsRequest,\n { rejectValue: ResponseErrorWithHandled }\n>('subscription/purchaseLeadFinderPlanRequest', async (args, thunkAPI) => {\n try {\n return await purchaseLeadFinderOneTimePlan(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n","import api from '../../../../../api';\nimport { ResponseSuccess } from '../../../../../shared/types';\nimport {\n ApplyCouponCodeRequest,\n GetInvoiceURLRequest,\n PurchaseEmailVerificationCreditsRequest,\n ModifySubscriptionRequest,\n PurchaseSubscriptionRequest,\n PurchaseModifySubscriptionRequest,\n ReactivateResumeSubscriptionRequest,\n HandleSubscriptionRequest,\n CalculatePayRequest,\n UpgradePlanRequest,\n DowngradePlanRequest,\n} from '../types';\nimport {\n LTDModifyPayload,\n LTDPurchasePayload,\n LTDUpgradePayload,\n} from '../types/ltd-plans';\nimport {\n ExportCreditHistoryPayload,\n GetOrderDetailsByIdPayload,\n} from '../types/purchase-history';\nimport { PurchaseLeadFinderCreditsRequest } from '../types/purchase-lead-finder-credits';\n\nexport const getAccountSubscription = () =>\n api.get('/subscription');\n\nexport const getAccountSubscriptionPlanDetail = (id: string) =>\n api.get(`retrive-upcoming-invoice?customerId=${id}`);\n\nexport const getLeadFinderSubscription = () =>\n api.get('/lead-finder/subscription');\n\nexport const purchaseSubscription = (payload: PurchaseSubscriptionRequest) =>\n api.post('/subscription', payload);\n\nexport const purchaseLeadFinderSubscription = (\n payload: PurchaseSubscriptionRequest,\n) => api.post('/lead-finder/subscription', payload);\n\nexport const getPlans = () => api.get('/plans');\n\nexport const getLeadFinderPlans = () =>\n api.get('/lead-finder/plans');\n\nexport const getInvoiceUrl = (payload: GetInvoiceURLRequest) =>\n api.post('/invoice-url', payload);\n\nexport const getConnectedUsersAndEmailAccounts = () =>\n api.get('/accounts/connected-emails-and-users-count');\n\nexport const applyCouponCode = (payload: ApplyCouponCodeRequest) =>\n api.get(\n `/coupons/${payload.couponCode}/validate?planId=${payload.planId}&amount=${payload.amount}`,\n );\n\nexport const getEmailVerificationCredits = () =>\n api.get('/email-verification-credits');\n\nexport const getEmailVerificationPlan = () =>\n api.get('/email-verification-plans');\n\nexport const purchaseEmailVerificationCredits = (\n payload: PurchaseEmailVerificationCreditsRequest,\n) => api.post('/email-verification-credits/purchase', payload);\n\nexport const modifySubscription = (payload: ModifySubscriptionRequest) =>\n api.get('/subscription/calculate-pay', {\n params: {\n accountSubscriptionPlanId: payload.accountSubscriptionPlanId,\n slots: payload.slots,\n stripeCardToken: payload.stripeCardToken,\n },\n });\n\nexport const purchaseModifySubscription = (\n payload: PurchaseModifySubscriptionRequest,\n) => api.post('/subscription/modify', payload);\n\nexport const purchaseLeadFinderModifySubscription = (\n payload: PurchaseModifySubscriptionRequest,\n) => api.post('/lead-finder/subscription/modify', payload);\n\nexport const reactivateSubscription = (\n payload: ReactivateResumeSubscriptionRequest,\n) => api.post('/subscription/reactivate', payload);\n\nexport const reactivateLeadFinderSubscription = (\n payload: ReactivateResumeSubscriptionRequest,\n) => api.post('/lead-finder/subscription/reactivate', payload);\n\nexport const resumeSubscription = (\n payload: ReactivateResumeSubscriptionRequest,\n) => api.post('/subscription/resume', payload);\n\nexport const resumeLeadFinderSubscription = (\n payload: ReactivateResumeSubscriptionRequest,\n) => api.post('/lead-finder/subscription/resume', payload);\n\nexport const handleSubscription = (payload: HandleSubscriptionRequest) =>\n api.post('/subscription/churnkey-event', payload);\n\nexport const handleLeadFinderChurnkeySubscription = (\n payload: HandleSubscriptionRequest,\n) =>\n api.post(\n '/lead-finder/subscription/churnkey-event',\n payload,\n );\n\nexport const calculatePay = (payload: CalculatePayRequest) =>\n api.get('/subscription/calculate-pay', { params: payload });\n\nexport const upgradePlan = (payload: UpgradePlanRequest) =>\n api.post('/subscriptions/upgrade', payload);\n\nexport const downgradePlan = (payload: DowngradePlanRequest) =>\n api.post('/subscriptions/downgrade', payload);\n\nexport const purchaseLtdPlan = (payload: LTDPurchasePayload) =>\n api.post('/ltd-purchase', payload);\n\nexport const upgradeLtdPlan = (payload: LTDUpgradePayload) =>\n api.patch('/ltd-upgrade ', payload);\n\nexport const modifyLtdPlan = (payload: LTDModifyPayload) =>\n api.patch('/ltd-modify ', payload);\n\nexport const purchaseHistory = () =>\n api.get('/domain/purchase-history');\n\nexport const purchaseDetailsById = (payload: GetOrderDetailsByIdPayload) =>\n api.get(`/domain/purchase-details/${payload.orderId}`);\n\nexport const exportCreditHistory = (payload: ExportCreditHistoryPayload) =>\n api.post(`/credit-history/export`, payload);\n\nexport const getLeadFinderOneTimePlans = () =>\n api.get('/lead-finder/one-time-plans');\n\nexport const purchaseLeadFinderOneTimePlan = (\n payload: PurchaseLeadFinderCreditsRequest,\n) => api.post('/lead-finder/credits', payload);\n","export { default } from './button-container';\n","import { isEmpty, isNull } from 'lodash';\nimport store from '../../store/store';\nimport { Permissions } from './access-control/enums/permissions';\nimport hasPermission from './access-control/has-permission';\nimport { SubscriptionPlans } from './subscription-plans';\n\nconst getState = () => store?.getState();\nconst defaultPlanCode = SubscriptionPlans.TRIAL;\n\nexport const getUserSubscriptionDetails = () => getState().home?.subscription;\n\nexport const getUserId = () => getState().home?.userId;\n\nexport const getUserFirstName = () => getState().home?.firstName;\n\nexport const getUserLastName = () => getState().home?.lastName;\n\nexport const getAdminFirstName = () => getState().home?.adminDetails?.firstName;\n\nexport const getUserFullName = () =>\n `${getUserFirstName()} ${getUserLastName()}`;\n\nexport const getUserEmail = () => getState()?.home?.email;\n\nexport const getUserSignUpDate = () => getState().home?.createdAt;\n\nexport const getUserTrackingId = () => getState().home?.trackingId;\n\nexport const getUserRole = () => getState().home?.role;\n\nexport const isAgencyUser = () => getState().home?.isAgencyUser;\n\nexport const isAgency = () => !!parseInt(getState().home?.isAgency, 10);\n\nexport const getAgencyUserRole = () => isAgencyUser() && getState().home?.role;\n\nexport const getAgencyClient = () => getState().home?.client;\n\nexport const getAgencyName = () =>\n isAgencyUser() && getState().home?.agencyConfig?.agencyName;\n\nexport const getUserCurrentPlan = () =>\n getState().home.subscription?.planCode || defaultPlanCode;\n\nexport const getUserUseCase = () => getState().home?.useCase;\n\nexport const getUserIndustry = () => getState().home?.industry;\n\nexport const getUserCompanySize = () => getState().home?.companySize;\n\nexport const getUserJobRole = () => getState().home?.jobRole;\n\nexport const getUserPlanStartDate = () => getState().home.subscription?.startAt;\n\nexport const getUserPlanEndDate = () =>\n getState().home.subscription?.nextBillingAt;\n\nexport const getUserSubscribedAt = () => getState().home.subscription?.startAt;\n\nexport const getUserCountry = () => getState().home?.country;\n\nexport const getUserPhoneNumber = () => getState().home?.phoneNumber;\n\nexport const getUserReferralPage = () => 'www.saleshandy.com';\n\nexport const getUserShAccountId = () => getState().home?.shAccountId;\n\nexport const getUserPlanCode = () => getState().home?.subscription?.planCode;\n\nexport const getUserPlanName = () => getState().home?.subscription?.planName;\n\nexport const getUserTimeZone = () => getState().home?.timeZone;\n\nexport const getUserLeadFinderPlanName = () =>\n getState().home?.leadFinderSubscription?.planName;\n\nexport const isMultichannelActive = () =>\n getState()?.home?.isMultichannelActive;\n\nexport const leadFinderBulkOperationLimit = () =>\n getState()?.home?.leadFinderLimit;\n\nexport const userHasWhitelabelAccessPermission = () =>\n hasPermission(Permissions.WHITELABEL_ACCESS);\n\nexport const isWhiteLabel = () =>\n getState()?.home?.agencyConfig?.clientBaseUrl ||\n getState()?.home?.agencyConfig?.icon;\n\nexport const isWhitelabelWithoutClientView = () =>\n isNull(getAgencyClient()) || isEmpty(getAgencyClient()) || !isWhiteLabel();\n\nexport const isWhitelabelWithClientView = () =>\n (!isNull(getAgencyClient()) || !isEmpty(getAgencyClient())) && isWhiteLabel();\n\nexport const getAgencyConfigDetails = () => getState().home.agencyConfig;\n\nexport const getWhitelabelCompanyName = () =>\n getState()?.home?.agencyConfig?.companyName;\n\nexport const isAgencificationClientOrAgencyUser = () => {\n return isAgencyUser() || !!getAgencyClient()?.id;\n};\n\nexport const getIntercomHash = () => getState()?.home?.intercomHash;\n","export type IProps = any;\n\nexport type LeadsFindRequestPayload = {\n start: number;\n take: number;\n name?: string;\n keyword?: string;\n};\n\nexport const FilterComponentType = {\n SEARCH_INPUT: 'searchInput',\n DROP_DOWN: 'dropDown',\n MULTILEVEL_CHECKBOX: 'checkbox',\n TAG_CHECKBOX: 'savedTag',\n SAVED_LEAD_DATE: 'createdDate',\n};\n\nexport const LeadFinderTabKey = {\n PEOPLE_TAB: 'people',\n SAVED_TAB: 'saved',\n};\n\nexport enum LeadRevealType {\n EMAIL = 'email',\n EMAIL_PHONE = 'emailphone',\n}\n\nexport const LeadRevealLimit = {\n VALID: 'valid',\n CREDIT_LIMIT_REACHED: 'credit-limit-reached',\n MORE_SELECTED: 'more-selected',\n};\n\nexport enum BulkLeadsActionType {\n REVEAL_EMAIL = 'reveal_email',\n REVEAL_EMAIL_PHONE = 'reveal_email_phone',\n ADD_TO_PROSPECT = 'add_to_prospect',\n ADD_TO_SEQUENCE = 'add_tp_sequence',\n EXPORT = 'export',\n}\n\nexport const BULK_ACTION_TIMEOUT = 7000;\nexport const MAX_POLLING_LIMIT = 20;\n\nexport const RR_PAGINATION_LIMIT = 10000;\n\nexport const LEAD_FINDER_REVEAL_LIMIT = 100;\n\nexport type SavedTabFilters = {\n tags: number[];\n createdDate: Date[];\n search: string;\n};\n\nexport type AddTagsToLeadsPayload = {\n tagIds: number[];\n leads: number[];\n newTags: string[];\n};\n\nexport type RemoveTagsToLeadsPayload = {\n tagIds: number[];\n leads: number[];\n};\n\nexport type BulkActionPayload = {\n deSelectedLeadIds?: number[];\n leadsFilter?: {\n tags?: number[];\n search?: string;\n createdDate?: any[];\n };\n newTags?: string[];\n tagIds?: number[];\n};\n\nexport type BulkActionRemoveTagsPayload = {\n deSelectedLeadIds?: number[];\n leadsFilter?: {\n tags?: number[];\n search?: string;\n createdDate?: any[];\n };\n tagIds?: number[];\n};\n\nexport interface BulkAddToProspectSavedDto {\n deSelectedLeadIds?: number[];\n leadsFilter: {\n tags?: number[];\n search?: string;\n createdDate?: any[];\n };\n}\n\nexport interface BulkAddToSequenceSavedDto {\n sequenceId: number;\n stepId: number;\n deSelectedLeadIds?: number[];\n leadsFilter: {\n tags?: number[];\n search?: string;\n createdDate?: any[];\n };\n}\n\nexport interface BulkLeadRevealPeopleDto {\n leadsFilter: any;\n count: number;\n leadIds: number[];\n newTags?: string[];\n tagIds?: number[];\n revealType: LeadRevealType;\n}\n\nexport interface BulkLeadExportSavedDto {\n deSelectedLeadIds?: number[];\n leadsFilter: {\n tags?: number[];\n search?: string;\n createdDate?: any[];\n };\n}\n\nexport interface RevealSingleLeadPayload {\n revealLeadId: number;\n leadsFilter: any;\n revealType: LeadRevealType;\n}\n","export { default } from './input';\n","import React from 'react';\n\ntype IProps = {\n src: string;\n alt?: string;\n className?: string;\n height?: number;\n onClick?: () => void;\n};\n\nconst ImageIcon: React.FC = ({\n src,\n alt,\n height,\n onClick,\n ...props\n}) => {alt};\n\nexport default ImageIcon;\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport {\n VerifyEmailAccountRequestPayload,\n UpdateEmailAccountRequestPayload,\n ConnectEmailAccountRequestPayload,\n UpdateEmailAccountRampUpSettingsRequestPayload,\n EmailTimeIntervalSettingsRequest,\n EmailAccountSetupScorePayload,\n EmailAgePayload,\n EmailAccountTagsAssignPayload,\n EmailAccountTagsUnassignPayload,\n BulkActionPayload,\n DomainSearchRequestPayload,\n PurchaseDomainRequestPayload,\n AddEmailAccountsRequestPayload,\n CalculatePayRequestPayload,\n} from './types/request-payload';\nimport {\n connectEmailAccount,\n verifyEmailAccount,\n verifyWhitelabelEmailAccount,\n setDefaultEmailAccount,\n disconnectEmailAccount,\n getEmailAccounts,\n getEmailAccountsList,\n deleteEmailAccount,\n updateEmailAccount,\n uploadImage,\n updateEmailAccountRampUpSettings,\n getEmailAccountSetupScore,\n getEmailAccount,\n getEmailAccountSettings,\n testSmtpImapConnection,\n connectSmtpImapAccount,\n getSmtpImapAccountDetails,\n updateSmtpImapAccountDetails,\n emailTimeIntervalSettings,\n updateEmailAge,\n importEmailAccountCsv,\n bulkEmailUpdate,\n trulyinboxEmailAccountVerifyShApiKey,\n emailAccountTagsAssign,\n getTagsToEmailAccount,\n emailAccountTagsUnassign,\n emailAccountTagsBulkAssign,\n emailAccountTagsBulkUnassign,\n getTrulyInboxToken,\n updateEmailAccountStatus,\n getDomainSearch,\n getDomainPlans,\n getDomainOwnerContactDetails,\n uploadDomainProfilePicture,\n purchaseDomain,\n addEmailAccounts,\n calculatePay,\n} from './helpers/email-account.api';\nimport { ResponseSuccess, ResponseErrorWithHandled } from '../../shared/types';\nimport { EmailAccountMethod } from './enums/email-account';\nimport { ImageUploadPayloadWithProgressCallback } from '../../shared/types/request';\nimport {\n ConnectSmtpImapAccountRequest,\n TestConnectionRequest,\n UpdateSMTPIMAPAccountRequest,\n} from './types/smtp-imap';\nimport {\n EmailAccountsFilters,\n EmailAccountStatus,\n} from './types/email-account';\n\nexport const connectEmailAccountRequest = createAsyncThunk<\n ResponseSuccess,\n ConnectEmailAccountRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'emailAccount/connectEmailAccountRequest',\n async ({ method, emailAccountId }, thunkAPI) => {\n try {\n return await connectEmailAccount(method, emailAccountId);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\ntype VerifyEmailAccountRequestPayloadCreatorArgs = VerifyEmailAccountRequestPayload & {\n method: EmailAccountMethod;\n};\n\nexport const verifyEmailAccountRequest = createAsyncThunk<\n ResponseSuccess,\n VerifyEmailAccountRequestPayloadCreatorArgs,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'emailAccount/verifyEmailAccountRequest',\n async ({ method, ...rest }, thunkAPI) => {\n try {\n return await verifyEmailAccount(method, rest);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const verifyWhitelabelEmailAccountRequest = createAsyncThunk<\n ResponseSuccess,\n VerifyEmailAccountRequestPayloadCreatorArgs,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'emailAccount/verifyWhitelabelEmailAccountRequest',\n async ({ method, ...rest }, thunkAPI) => {\n try {\n return await verifyWhitelabelEmailAccount(method, rest);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const setDefaultEmailAccountRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>('emailAccount/setDefaultEmailAccountRequest', async (args, thunkAPI) => {\n try {\n return await setDefaultEmailAccount(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const disconnectEmailAccountRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>('emailAccount/disconnectEmailAccountRequest', async (args, thunkAPI) => {\n try {\n return await disconnectEmailAccount(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getEmailAccountsRequest = createAsyncThunk<\n ResponseSuccess,\n EmailAccountsFilters,\n { rejectValue: ResponseErrorWithHandled }\n>('emailAccount/getEmailAccountsRequest', async (args, thunkAPI) => {\n try {\n return await getEmailAccounts(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getEmailAccountsListRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('emailAccount/getEmailAccountsListRequest', async (_args, thunkAPI) => {\n try {\n return await getEmailAccountsList();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const deleteEmailAccountRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'emailAccount/deleteEmailAccountRequest',\n async (emailAccountId, thunkAPI) => {\n try {\n return await deleteEmailAccount(emailAccountId);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\ntype UpdateEmailAccountPayloadCreatorArgs = UpdateEmailAccountRequestPayload & {\n emailAccountId: number;\n};\n\ntype UpdateSmtpImapAccountRequestPayload = {\n payload: UpdateSMTPIMAPAccountRequest;\n emailAccountId: number;\n};\n\ntype EmailTimeIntervalRequestPayload = EmailTimeIntervalSettingsRequest & {\n emailAccountId: number;\n};\n\nexport const updateEmailAccountRequest = createAsyncThunk<\n ResponseSuccess,\n UpdateEmailAccountPayloadCreatorArgs,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'emailAccount/updateEmailAccountRequest',\n async ({ emailAccountId, ...rest }, thunkAPI) => {\n try {\n return await updateEmailAccount(emailAccountId, rest);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const emailTimeIntervalSettingsRequest = createAsyncThunk<\n ResponseSuccess,\n EmailTimeIntervalRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'emailAccount/emailTimeIntervalSettingsRequest',\n async ({ emailAccountId, ...rest }, thunkAPI) => {\n try {\n return await emailTimeIntervalSettings(emailAccountId, rest);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const getEmailAccountRequest = createAsyncThunk<\n ResponseSuccess,\n string | number,\n { rejectValue: ResponseErrorWithHandled }\n>('emailAccountSendingLimit/getEmailAccount', async (id, thunkAPI) => {\n try {\n return await getEmailAccount(id);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const getEmailAccountSettingsRequest = createAsyncThunk<\n ResponseSuccess,\n string | number,\n { rejectValue: ResponseErrorWithHandled }\n>('emailAccount/getEmailAccountSettingsRequest', async (hashId, thunkAPI) => {\n try {\n return await getEmailAccountSettings(hashId);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const updateEmailAccountRampUpSettingsRequest = createAsyncThunk<\n ResponseSuccess,\n UpdateEmailAccountRampUpSettingsRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'emailAccount/updateEmailAccountRampUpSettingsRequest',\n async ({ emailAccountId, ...payload }, thunkAPI) => {\n try {\n return await updateEmailAccountRampUpSettings(emailAccountId, payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const getEmailAccountSetupScoreRequest = createAsyncThunk<\n ResponseSuccess,\n EmailAccountSetupScorePayload,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'emailAccount/getEmailAccountSetupScoreRequest',\n async ({ emailAccountId, refresh }, thunkAPI) => {\n try {\n return await getEmailAccountSetupScore(emailAccountId, refresh);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const imageUploadRequest = createAsyncThunk<\n ResponseSuccess,\n ImageUploadPayloadWithProgressCallback,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'settings/imageUploadRequest',\n async ({ formData, onUploadProgress }, thunkAPI) => {\n try {\n return await uploadImage(formData, onUploadProgress);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n\nexport const testSMTPConnectionRequest = createAsyncThunk<\n ResponseSuccess,\n TestConnectionRequest,\n { rejectValue: ResponseErrorWithHandled }\n>('emailAccount/testSMTPConnection', async (args, thunkAPI) => {\n // Test SMTP Connection\n try {\n return await testSmtpImapConnection(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const testIMAPConnectionRequest = createAsyncThunk<\n ResponseSuccess,\n TestConnectionRequest,\n { rejectValue: ResponseErrorWithHandled }\n>('emailAccount/testIMAPConnection', async (args, thunkAPI) => {\n // Test IMAP Connection\n try {\n return await testSmtpImapConnection(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const connectSmtpImapAccountRequest = createAsyncThunk<\n ResponseSuccess,\n ConnectSmtpImapAccountRequest,\n { rejectValue: ResponseErrorWithHandled }\n>('emailAccount/connectSmtpImapAccount', async (args, thunkAPI) => {\n try {\n return await connectSmtpImapAccount(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const getSmtpImapAccountDetailsRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'emailAccount/getSmtpImapAccountDetails',\n async (emailAccountId, thunkAPI) => {\n try {\n return await getSmtpImapAccountDetails(emailAccountId);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n\nexport const updateSmtpImapAccountDetailsRequest = createAsyncThunk<\n ResponseSuccess,\n UpdateSmtpImapAccountRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'emailAccount/updateSmtpImapAccountDetails',\n async ({ emailAccountId, payload }, thunkAPI) => {\n try {\n return await updateSmtpImapAccountDetails(emailAccountId, payload);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n\nexport const updateEmailAgeRequest = createAsyncThunk<\n ResponseSuccess,\n EmailAgePayload,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'emailAccount/updateEmailAge',\n async ({ emailAccountId, ageInMonths }, thunkAPI) => {\n try {\n return await updateEmailAge(emailAccountId, ageInMonths);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n\nexport const importEmailAccountCsvRequest = createAsyncThunk<\n ResponseSuccess,\n { file: File },\n { rejectValue: ResponseErrorWithHandled }\n>('emailAccount/import', async ({ file }, thunkAPI) => {\n try {\n return await importEmailAccountCsv(file);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const bulkEmailUpdateRequest = createAsyncThunk<\n ResponseSuccess,\n any,\n { rejectValue: ResponseErrorWithHandled }\n>('emailAccount/bulk-operation', async (payload, thunkAPI) => {\n try {\n return await bulkEmailUpdate(payload);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const trulyinboxEmailAccountVerifyShApiKeyRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('emailAccount/ti-sync/verify-api-key', async (_args, thunkAPI) => {\n try {\n return await trulyinboxEmailAccountVerifyShApiKey();\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const getEmailAccountTagsRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('email-account/getTagsToEmailAccount', async (args, thunkAPI) => {\n try {\n return await getTagsToEmailAccount();\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const emailAccountTagsAssignRequest = createAsyncThunk<\n ResponseSuccess,\n EmailAccountTagsAssignPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('email-account/emailAccountTagsAssign', async (args, thunkAPI) => {\n try {\n return await emailAccountTagsAssign(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const emailAccountTagsUnassignRequest = createAsyncThunk<\n ResponseSuccess,\n EmailAccountTagsUnassignPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('email-account/emailAccountTagsUnassign', async (args, thunkAPI) => {\n try {\n return await emailAccountTagsUnassign(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const emailAccountTagsBulkAssignRequest = createAsyncThunk<\n ResponseSuccess,\n BulkActionPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('email-account/emailAccountTagsBulkAssign', async (args, thunkAPI) => {\n try {\n return await emailAccountTagsBulkAssign(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const emailAccountTagsBulkUnassignRequest = createAsyncThunk<\n ResponseSuccess,\n BulkActionPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('email-account/emailAccountTagsBulkUnassign', async (args, thunkAPI) => {\n try {\n return await emailAccountTagsBulkUnassign(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const getTrulyInboxTokenRequest = createAsyncThunk<\n ResponseSuccess,\n { tiUserId: number; email: string },\n { rejectValue: ResponseErrorWithHandled }\n>('email-account/ti-sync/consent', async ({ tiUserId, email }, thunkAPI) => {\n try {\n return await getTrulyInboxToken(tiUserId, email);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const updateEmailAccountStatusRequest = createAsyncThunk<\n ResponseSuccess,\n { emailAccountId: number; status: EmailAccountStatus },\n { rejectValue: ResponseErrorWithHandled }\n>('email-account/status', async ({ emailAccountId, status }, thunkAPI) => {\n try {\n return await updateEmailAccountStatus(emailAccountId, status);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\n// Email Account Infrastructure API's\n\nexport const getDomainPlansRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('email-account/getDomainPlans', async (_args, thunkAPI) => {\n try {\n return await getDomainPlans();\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const getDomainSearchRequest = createAsyncThunk<\n ResponseSuccess,\n DomainSearchRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('email-account/getDomainSearch', async (args, thunkAPI) => {\n try {\n return await getDomainSearch(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const getDomainOwnerContactDetailsRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('email-account/getDomainOwnerContactDetails', async (args, thunkAPI) => {\n try {\n return await getDomainOwnerContactDetails();\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const uploadDomainProfilePictureRequest = createAsyncThunk<\n ResponseSuccess,\n FormData,\n { rejectValue: ResponseErrorWithHandled }\n>('email-account/uploadDomainProfilePicture', async (formData, thunkAPI) => {\n try {\n return await uploadDomainProfilePicture(formData);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const purchaseDomainRequest = createAsyncThunk<\n ResponseSuccess,\n PurchaseDomainRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('email-account/purchaseDomain', async (args, thunkAPI) => {\n try {\n return await purchaseDomain(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const addEmailAccountsRequest = createAsyncThunk<\n ResponseSuccess,\n AddEmailAccountsRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('email-account/addEmailAccounts', async (args, thunkAPI) => {\n try {\n return await addEmailAccounts(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const calculatePayRequest = createAsyncThunk<\n ResponseSuccess,\n CalculatePayRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('email-account/calculatePay', async (args, thunkAPI) => {\n try {\n return await calculatePay(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n","import api from '../../../api';\nimport { ResponseSuccess } from '../../../shared/types';\n\nexport const getCoreFeaturesCredits = async () => {\n return api.get(`/user/credits`);\n};\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport { CancelToken } from 'axios';\nimport { Source } from '../../shared/enums/source';\nimport { TrialExtendSource } from '../../shared/enums/trial-extend-source';\nimport { ResponseErrorWithHandled, ResponseSuccess } from '../../shared/types';\nimport {\n getFirstSequence,\n getSampleSequence,\n} from '../sequence/helpers/sequence.api';\nimport {\n CreateSequenceRequestPayload,\n UpdateUserSettingsRequestPayload,\n} from '../sequence/types';\nimport {\n getUserSettings,\n updateUserSettings,\n upgradeOnboardingStep,\n getUserNotifications,\n getUnreadNotifications,\n getUnreadEmailThreadsCount,\n markNotificationsAsRead,\n createSequence,\n compareAuthToken,\n getAgencyConfig,\n getPostLoadMeta,\n extendTrialPeriod,\n getPollingNotifications,\n updateHiddenNotification,\n} from './helpers/meta-api';\nimport {\n CompareAuthTokenPayload,\n UnreadEmailThreadsCountPayload,\n UpgradeOnboardingStepPayload,\n} from './types';\nimport { getCoreFeaturesCredits } from './helpers/credits-api';\n\ntype CreateSequenceType = CreateSequenceRequestPayload & { source: Source };\n\nexport const getUserSettingsRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('home/getUserSettingsRequest', async (args, thunkAPI) => {\n try {\n return await getUserSettings();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getPostLoadMetaRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('home/getPostLoadMetaRequest', async (args, thunkAPI) => {\n try {\n return await getPostLoadMeta();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getAgencyConfigRequest = createAsyncThunk<\n ResponseSuccess,\n any,\n { rejectValue: ResponseErrorWithHandled }\n>('home/getAgencyConfigRequest', async (args, thunkAPI) => {\n try {\n return await getAgencyConfig(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const updateUserSettingsRequest = createAsyncThunk<\n ResponseSuccess,\n UpdateUserSettingsRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('home/updateUserSettingsRequest', async ({ ...rest }, thunkAPI) => {\n try {\n return await updateUserSettings(rest);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const getFirstSequenceRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('home/getFirstSequenceRequest', async (_, thunkAPI) => {\n try {\n return await getFirstSequence();\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const compareAuthTokenRequest = createAsyncThunk<\n ResponseSuccess,\n CompareAuthTokenPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('home/compareAuthTokenRequest', async (args, thunkAPI) => {\n try {\n return await compareAuthToken(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const getSampleSequenceRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('home/getSampleSequenceRequest', async (_, thunkAPI) => {\n try {\n return await getSampleSequence();\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const upgradeOnboardingStepRequest = createAsyncThunk<\n ResponseSuccess,\n UpgradeOnboardingStepPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('home/upgradeOnboardingStepRequest', async (args, thunkAPI) => {\n try {\n return await upgradeOnboardingStep(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const getUserNotificationsRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>('home/userNotifications', async (args, thunkAPI) => {\n try {\n return await getUserNotifications(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const getUserUnreadNotificationsRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('home/userUnreadNotification', async (args, thunkAPI) => {\n try {\n return await getUnreadNotifications();\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const getUnreadEmailThreadsCountRequest = createAsyncThunk<\n ResponseSuccess,\n UnreadEmailThreadsCountPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('home/getUnreadEmailThreadsCountRequest', async (args, thunkAPI) => {\n try {\n return await getUnreadEmailThreadsCount(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const markNotificationsAsReadRequest = createAsyncThunk<\n ResponseSuccess,\n string,\n { rejectValue: ResponseErrorWithHandled }\n>('home/markNotificationAsRead', async (args, thunkApi) => {\n try {\n return await markNotificationsAsRead(args);\n } catch (err) {\n return thunkApi.rejectWithValue(err);\n }\n});\n\nexport const createSequenceFromGettingStartedRequest = createAsyncThunk<\n ResponseSuccess,\n CreateSequenceType,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/createSequenceFromGettingStartedRequest',\n async ({ source, ...rest }, thunkAPI) => {\n try {\n return await createSequence(source, rest);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n\nexport const extendTrialPeriodRequest = createAsyncThunk<\n ResponseSuccess,\n TrialExtendSource,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/extendTrialPeriodRequest', async (args, thunkAPI) => {\n try {\n return await extendTrialPeriod(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const getCoreFeaturesCreditsRequest = createAsyncThunk(\n 'home/fetchCoreFeaturesCredits',\n async (_, thunkAPI) => {\n // No parameter now\n try {\n const response = await getCoreFeaturesCredits(); // Adjust API call accordingly\n return response;\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n\nexport const getPollingNotificationsRequest = createAsyncThunk<\n ResponseSuccess,\n CancelToken,\n { rejectValue: ResponseErrorWithHandled }\n>('home/getPollingNotifications', async (cancelToken, thunkAPI) => {\n try {\n return await getPollingNotifications(cancelToken);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const updateHiddenNotificationRequest = createAsyncThunk<\n ResponseSuccess,\n string,\n { rejectValue: ResponseErrorWithHandled }\n>('home/updateHiddenNotification', async (notificationId, thunkAPI) => {\n try {\n return await updateHiddenNotification(notificationId);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n","export enum BillingOption {\n MONTHLY = 'monthly',\n ANNUALLY = 'annually',\n LIFETIME = 'lifetime',\n QUARTERLY = 'quarterly',\n}\n","import { RequestStatus } from '../enums/request-status';\nimport { ResponseErrorWithHandled } from '../types';\n\nexport type ExecuteOnRequestStatusProps = {\n status: string;\n onIdeal?: () => void;\n onPending?: () => void;\n onSuccess?: () => void;\n onFailed?: () => void;\n};\n\nexport const executeOnRequestStatus = ({\n status,\n onIdeal,\n onPending,\n onSuccess,\n onFailed,\n}: ExecuteOnRequestStatusProps) => {\n if (status === RequestStatus.Ideal && onIdeal) {\n onIdeal();\n return;\n }\n if (status === RequestStatus.Pending && onPending) {\n onPending();\n return;\n }\n if (status === RequestStatus.Succeeded && onSuccess) {\n onSuccess();\n return;\n }\n if (status === RequestStatus.Failed && onFailed) {\n onFailed();\n }\n};\n\nexport type ExecuteOnRequestStatusWithPrevStatusCheckProps = {\n status: string;\n prevStatus: string;\n onIdeal?: () => void;\n onPending?: () => void;\n onSuccess?: () => void;\n onFailed?: () => void;\n};\n\nexport const executeOnRequestStatusWithPrevStatusCheck = ({\n status,\n prevStatus,\n onIdeal,\n onPending,\n onSuccess,\n onFailed,\n}: ExecuteOnRequestStatusWithPrevStatusCheckProps) => {\n if (status !== prevStatus) {\n if (status === RequestStatus.Ideal && onIdeal) {\n onIdeal();\n return;\n }\n if (status === RequestStatus.Pending && onPending) {\n onPending();\n return;\n }\n if (status === RequestStatus.Succeeded && onSuccess) {\n onSuccess();\n return;\n }\n if (status === RequestStatus.Failed && onFailed) {\n onFailed();\n }\n }\n};\n\nexport type ExecuteOnErrorWithErrorCheckProps = {\n error: ResponseErrorWithHandled;\n onError: () => void;\n};\n\nexport const executeOnErrorWithErrorCheck = ({\n error,\n onError,\n}: ExecuteOnErrorWithErrorCheckProps) => {\n if (error && onError) {\n onError();\n }\n};\n","export enum UserAndTeamsTabs {\n Users = 'Users',\n Teams = 'Teams',\n}\n\nexport enum UserSortBy {\n LastLogin = 'lastLogin',\n}\n\nexport enum TeamSortBy {\n CreatedAt = 'createdAt',\n}\n\nexport enum UserStatusKeys {\n InActive = 0,\n Active = 1,\n Invited = 2,\n InviteCancelled = 3,\n Deleted = 4,\n Failed = 5,\n}\n\nexport enum UserStatusLabel {\n InActive = 'Disabled',\n Active = 'Active',\n Invited = 'Invited',\n InviteCancelled = 'InviteCancelled',\n Deleted = 'Deleted',\n Failed = 'Failed',\n}\n\nexport enum UserRole {\n Owner = 'owner',\n Admin = 'admin',\n Member = 'member',\n TeamManager = 'team-manager',\n}\n","export const constants = {\n DEFAULT_SEQUENCE_PAGE_SIZE: 15,\n DEFAULT_PAGE_SIZE: 25,\n SMALLER_PAGE_SIZE: 10,\n DEFAULT_PAGE_NUM: 0,\n PROSPECT_PAGE_SIZE: 25,\n DOWNLOAD_SAMPLE_FILE_URL:\n 'https://v3artifacts.s3-us-west-2.amazonaws.com/downloads/sh-sample-csv.csv',\n MODAL_HANDLER: 'modal-handler',\n EMAIL_ACCOUNT_SETUP_SCORE_LIMIT: 100,\n LEAD_REVEAL_BOTTOM_LIMIT : 100 ,\n LEAD_FINDER_DEFAULT_PAGE_SIZE : 25,\n EMAIL_VERIFICATION_BOTTOM_LIMIT : 1000 ,\n SEQUENCE_STEP_MESSAGE_LIMIT: 3,\n SELECTED_SEQUENCE_LIMIT: 100,\n BULK_EDIT_EMAIL_ACCOUNT_LIMIT: 25000,\n BULK_DELETE_DNC_LIST_EMAILS_DOMAINS: 25000,\n DOWNLOAD_DNC_SAMPLE_FILE_URL:\n 'https://v3artifacts.s3.us-west-2.amazonaws.com/Sample+CSV+for+DNC.csv',\n DOWNLOAD_SAMPLE_WHITELABEL_FILE_URL:\n 'https://v3artifacts.s3.us-west-2.amazonaws.com/Sample+CSV+for+Client.csv',\n DOWNLOAD_DELIVERABILITY_PDF:\n 'https://v3artifacts.s3.us-west-2.amazonaws.com/downloads/Deliverability.pdf',\n DOWNLOAD_ROI_COLD_EMAIL_PDF:\n 'https://v3artifacts.s3.us-west-2.amazonaws.com/downloads/ROI.pdf',\n};\n","export { default } from './modal';\n","import { AgencyConfig } from '../../../../../home/types';\nimport { SMTPIMAP } from '../../../../enums/smtp-or-imap';\n\nexport type PropsType = {\n show: boolean;\n onClose: () => void;\n isSMTPTestConnectionRequestPending: boolean;\n isIMAPTestConnectionRequestPending: boolean;\n isConnectAccountRequestPending: boolean;\n emailAccountId?: number;\n isUpdateSmtpImapAccountRequestPending?: boolean;\n agencyConfig: Partial;\n showErrorLogModal: (accountType: SMTPIMAP, errorLog: string) => void;\n selectGmailAsDefault?: boolean;\n};\n\nexport type EmailProviderDropDown = {\n key: string;\n value: string;\n};\n\nexport type TestConnection = {\n username?: string;\n emailAddress: string;\n password: string;\n host: string;\n port: number;\n encryption?: string;\n requestFrom: SMTPIMAP;\n};\n\nexport enum SmtpImapProviders {\n GmailGsuite = 'Gmail/Gsuite',\n Office365 = 'Office 365',\n OutlookHotmailLive = 'Outlook.com / Hotmail.com / Live.com',\n YahooMail = 'Yahoo Mail',\n Zoho = 'Zoho.com',\n Godaddy = 'Godaddy',\n Sendgrid = 'Sendgrid',\n Yandex = 'Yandex',\n}\n\nexport enum LastTestConnection {\n Test = 'test',\n ConnectAndSave = 'connectAndSave',\n Update = 'update',\n}\n\nexport type ValidationProp = {\n validCondition: boolean;\n msg: string;\n};\n","import qs from 'qs';\nimport { isEmpty } from 'lodash';\nimport { CancelToken } from 'axios';\nimport api from '../../../api';\nimport {\n AddContactsFromCSVRequestPayload,\n AddSequenceStepRequestPayload,\n AddSequenceStepVariantRequestPayload,\n CreateSequenceRequestPayload,\n DeleteSequencesRequestPayload,\n GetSequencesQueryParams,\n PauseResumeSequenceRequestPayload,\n RenameSequenceRequestPayload,\n UpdateSequenceSettingsRequestPayload,\n UpdateSequenceStepExecutionDayRequestPayload,\n UpdateSequenceStepRequestPayload,\n UpdateSequenceStepVariantDataRequestPayload,\n UpdateSequenceStepVariantRequestPayload,\n UpdateSequenceStepVariantStatusRequestPayload,\n ContactListParams,\n AddToStepParams,\n EmailWritingFactorsPayload,\n SequenceProspectBulkStatusUpdatePayload,\n SequenceProspectBulkTagAssignPayload,\n SequenceProspectBulkTagUnAssignPayload,\n SequenceProspectBulkAddToSequencePayload,\n SequenceProspectBulkRemoveFromSequencePayload,\n} from '../types';\nimport { ResponseSuccess } from '../../../shared/types';\nimport { ContactStatusType } from '../enums';\nimport { PaginationQueryParams } from '../../../shared/types/request';\nimport { GetEmailRequestPayload, ResendType } from '../types/emails';\nimport { GetTemplatesRequest } from '../../templates/types/request';\nimport { Source } from '../../../shared/enums/source';\nimport { constants } from '../../../shared/enums/constants';\n\n// Sequence\nexport const createSequence = async (payload: CreateSequenceRequestPayload) =>\n api.post('/sequences', payload, {\n headers: { 'sh-source': Source.SequenceTab },\n });\n\nexport const getSequence = async (sequenceId: number) =>\n api.get(`/sequences/${sequenceId}`);\n\nexport const getSequences = async ({\n clients,\n ...queryParams\n}: GetSequencesQueryParams) =>\n api.get('/sequences', {\n params: { ...queryParams, ...(clients && { clientIds: clients }) },\n paramsSerializer: (params) => qs.stringify(params, { skipNulls: true }),\n });\n\nexport const getSequenceStats = async (sequenceId: number) =>\n api.get(`/sequences/${sequenceId}/stats`);\n\nexport const getSequencesStats = async ({\n clients,\n ...queryParams\n}: GetSequencesQueryParams) =>\n api.get('/sequences/stats', {\n params: { ...queryParams, ...(clients && { clientIds: clients }) },\n paramsSerializer: (params) => qs.stringify(params, { skipNulls: true }),\n });\n\nexport const renameSequence = async (\n sequenceId: number,\n payload: RenameSequenceRequestPayload,\n) => api.patch(`/sequences/${sequenceId}/rename`, payload);\n\nexport const pauseResumeSequence = async (\n sequenceId: number,\n payload: PauseResumeSequenceRequestPayload,\n) =>\n api.patch(`/sequences/${sequenceId}/pause-resume`, payload);\n\nexport const cloneSequence = async (sequenceId: number) =>\n api.get(`/sequences/clone/${sequenceId}`);\n\n/**\n * --> FETCH AI GENERATED EMAIL VARIANT\n * @param sequenceId - Selected Sequence's Id\n * @param stepId - Selected Step's Id\n * @param variantId - Selected Variant's Id\n * @returns Payload which contains AI generated Subject & Content of email for Selected Variant\n */\nexport const getAIGeneratedEmailVariant = async (\n sequenceId: number,\n stepId: number,\n variantId: number,\n cancelToken?: CancelToken,\n) =>\n api.post(\n `/sequences/${sequenceId}/steps/${stepId}/generate-ai-variant`,\n {\n baseVariantId: variantId,\n },\n { cancelToken },\n );\n\nexport const deleteSequence = async (sequenceId: number) =>\n api.delete(`/sequences/${sequenceId}`);\n\nexport const deleteSequences = async (payload: DeleteSequencesRequestPayload) =>\n api.post('/sequences/delete', payload);\n\n// Step\nexport const addSequenceStep = async (\n sequenceId: number,\n payload: AddSequenceStepRequestPayload,\n) => api.post(`/sequences/${sequenceId}/steps`, payload);\n\n// Generic request.\nexport const updateSequenceStep = async (\n sequenceId: number,\n stepId: number,\n payload: UpdateSequenceStepRequestPayload,\n) =>\n api.patch(\n `/sequences/${sequenceId}/steps/${stepId}`,\n payload,\n );\n\nexport const updateSequenceStepExecutionDay = async (\n sequenceId: number,\n stepId: number,\n payload: UpdateSequenceStepExecutionDayRequestPayload,\n) => updateSequenceStep(sequenceId, stepId, payload);\n\nexport const deleteSequenceStep = async (sequenceId: number, stepId: number) =>\n api.delete(`/sequences/${sequenceId}/steps/${stepId}`);\n\n// Variant\nexport const addSequenceStepVariant = async (\n sequenceId: number,\n stepId: number,\n payload: AddSequenceStepVariantRequestPayload,\n) =>\n api.post(\n `/sequences/${sequenceId}/steps/${stepId}/variants`,\n payload,\n );\n\n// Generic request.\nexport const updateSequenceStepVariant = async (\n sequenceId: number,\n stepId: number,\n variantId: number,\n payload: UpdateSequenceStepVariantRequestPayload,\n) =>\n api.patch(\n `/sequences/${sequenceId}/steps/${stepId}/variants/${variantId}`,\n payload,\n );\n\nexport const saveProspectDealValue = async (\n sequenceId: string,\n prospectId: number,\n dealValue: number,\n) =>\n api.patch(`/sequences/${sequenceId}/deal-value`, {\n prospectId,\n dealValue,\n });\n\nexport const updateSequenceStepVariantData = async (\n sequenceId: number,\n stepId: number,\n variantId: number,\n payload: UpdateSequenceStepVariantDataRequestPayload,\n) => updateSequenceStepVariant(sequenceId, stepId, variantId, payload);\n\nexport const updateSequenceStepVariantStatus = async (\n sequenceId: number,\n stepId: number,\n variantId: number,\n payload: UpdateSequenceStepVariantStatusRequestPayload,\n) => updateSequenceStepVariant(sequenceId, stepId, variantId, payload);\n\nexport const deleteSequenceStepVariant = async (\n sequenceId: number,\n stepId: number,\n variantId: number,\n) =>\n api.delete(\n `/sequences/${sequenceId}/steps/${stepId}/variants/${variantId}`,\n );\n\nexport const cloneSequenceStepVariant = async (variantId: number) =>\n api.get(`/sequences/variants/clone/${variantId}`);\n\n// Settings\nexport const updateSequenceSettings = async (\n sequenceId: string,\n payload: UpdateSequenceSettingsRequestPayload,\n) => api.patch(`/sequences/${sequenceId}/settings`, payload);\n\nexport const getSequenceSteps = async (sequenceId: number) =>\n api.get(`/sequences/${sequenceId}/steps`);\n\n// Import contacts csv.\nexport const addContactsFromCSV = async ({\n file,\n mapConfig,\n conflictAction,\n includeRiskyContact,\n includeVerification,\n tags,\n stepId,\n totalRecords,\n}: AddContactsFromCSVRequestPayload) => {\n const data = new FormData();\n data.append('file', file);\n data.append('mapConfig', JSON.stringify(mapConfig));\n data.append('conflictAction', conflictAction);\n data.append('includeRiskyContacts', includeRiskyContact ? '1' : '0');\n data.append('verifyContacts', includeVerification ? '1' : '0');\n tags && data.append('tags', JSON.stringify(tags));\n data.append('totalRecords', totalRecords?.toString());\n return api.post(`/contacts/sequence-async/${stepId}`, data, {\n headers: { 'sh-source': Source.SequenceProspectImportCsv },\n });\n};\n\nexport const addContactsFromCSVWithoutStep = async ({\n file,\n mapConfig,\n conflictAction,\n includeVerification,\n tags,\n stepId,\n totalRecords,\n}: AddContactsFromCSVRequestPayload) => {\n const data = new FormData();\n data.append('file', file);\n data.append('mapConfig', JSON.stringify(mapConfig));\n data.append('conflictAction', conflictAction);\n data.append('verifyContacts', includeVerification ? '1' : '0');\n tags && data.append('tags', JSON.stringify(tags));\n stepId && data.append('stepId', JSON.stringify(stepId));\n data.append('totalRecords', totalRecords?.toString());\n return api.post(`/contacts/import-async`, data, {\n headers: { 'sh-source': Source.ProspectImportCsv },\n });\n};\n\n// Schedule.\nexport const getAllSchedules = async () => api.get('/schedules');\n\n// Connected Email Accounts.\nexport const getConnectedEmails = async () =>\n api.get('/email-account/connected');\n\n// Contact API\n\n// Get the filter list of steps\nexport const getSequenceContactList = async (\n sequenceId: string,\n params: ContactListParams,\n) => api.get(`/sequences/${parseInt(sequenceId, 10)}/contacts`, { params });\n\n// Get count of related to status\nexport const getContactStatusCount = async (\n sequenceId: string,\n params: ContactListParams,\n) =>\n api.get(`sequences/${parseInt(sequenceId, 10)}/contacts/status/count`, {\n params,\n });\n\n// Change Status of Contacts of Sequence.\nexport const changeStatusOfContactsOfSequence = async (\n status: ContactStatusType,\n contactAndStepIds: any[],\n pauseDelayInDays?: number,\n) =>\n api.patch(`/contacts/status`, {\n contactAndStepIds,\n status,\n ...(pauseDelayInDays && { pauseDelayInDays }),\n });\n\n// Remove Contacts From Sequence.\nexport const removeContactFromSequence = async (\n sequenceId: string,\n contactIds: number[],\n) =>\n api.patch(`/sequences/${parseInt(sequenceId, 10)}/contacts`, {\n contactIds,\n });\n\n// Get Contact Sequence List.\nexport const getContactSequenceList = async () =>\n api.get('/sequences/list?numberOfSteps=gt:0');\n\n// Get Steps by Sequence for Contacts.\nexport const getContactStepList = async (sequenceId: number) =>\n api.get(`/sequences/${sequenceId}/steps`);\n\n// Add Contact to sequence's step Request.\nexport const addContactsToStep = async ({\n stepId,\n contactIds,\n sequenceId,\n}: AddToStepParams) =>\n api.post(`/sequences/${parseInt(sequenceId, 10)}/contacts`, {\n stepId,\n contactIds,\n });\nexport const getUsersList = async (queryParams?: PaginationQueryParams) =>\n api.get(`/team/members`, { params: queryParams });\n\nexport const uploadImage = async (\n formData: FormData,\n onUploadProgress: (e: any) => void,\n) => api.post('/attachment-broker/upload', formData, { onUploadProgress });\n\nexport const finishOnboarding = async () =>\n api.delete(`/user/onboarding`);\n\nexport const getAdminSettings = async () =>\n api.get(`/accounts`);\n\nexport const getSequenceMailSendingStatus = async (sequenceId: string) =>\n api.get(\n `/sequences/${parseInt(sequenceId, 10)}/send-status`,\n );\n\nexport const getSequenceConfig = async (sequenceId: string) =>\n api.get(`/sequences/${parseInt(sequenceId, 10)}/config`);\n\nexport const getSequencePriorityConfig = async (sequenceId: string) =>\n api.get(\n `/sequences/${parseInt(sequenceId, 10)}/priority-distribution`,\n );\n\nexport const updateSequencePriorityConfig = async ({\n sequenceId,\n priorityDistributionId,\n}: any) =>\n api.patch(\n `/sequences/${parseInt(sequenceId, 10)}/priority-distribution`,\n {\n newPriorityDistributionId: priorityDistributionId,\n },\n );\n\n// Get first sequence created for user.\nexport const getFirstSequence = async () =>\n api.get('/sequences/first');\n\n// Get sample sequence\nexport const getSampleSequence = async () =>\n api.get('sequences/sample');\n\nexport const getUserTimeZone = async () =>\n api.get('/user/time-zone');\n\n// Create sample steps for sequence.\nexport const createSampleSteps = async (sequenceId: number) =>\n api.post(`/sequences/${sequenceId}/steps/sample`);\n\n// Add sample prospects to step.\nexport const addSampleProspectsToStep = async (stepId: number) =>\n api.post(`/contacts/sequence/${stepId}/sample`);\n\nexport const getTemplates = async ({\n limit = 50,\n ...rest\n}: GetTemplatesRequest) =>\n api.get(`templates`, {\n params: { limit, ...rest },\n });\n\nexport const getEmailStepsOfStatus = async (sequenceId, params) =>\n api.get(`sequences/${parseInt(sequenceId, 10)}/emails/step-count`, {\n params,\n });\n\nexport const getEmailStatusOfStep = async (sequenceId, params) =>\n api.get(`sequences/${parseInt(sequenceId, 10)}/emails/status-count`, {\n params,\n });\n\nexport const getEmailList = async ({\n sequenceId,\n ...rest\n}: GetEmailRequestPayload) =>\n api.get(`sequences/${parseInt(sequenceId, 10)}/emails`, {\n params: rest,\n });\n\nexport const getSenderEmails = async (sequenceId: string) =>\n api.get(`sequences/${sequenceId}/emails/sender-filter`);\n\nexport const sendScheduledEmail = async ({\n sequenceId,\n sequenceContactHistoryId,\n emailAccountId,\n variantId,\n}) =>\n api.post(`/sequences/${sequenceId}/emails/send`, {\n sequenceProspectTaskId: sequenceContactHistoryId,\n emailAccountId,\n variantId,\n });\n\nexport const changeEmailStatus = async ({\n sequenceId,\n sequenceContactHistoryId,\n status,\n}) =>\n api.patch(`/sequences/${sequenceId}/emails/status`, {\n sequenceProspectTaskIds: [sequenceContactHistoryId],\n status,\n });\n\n// Get the filter list of steps\nexport const getSequenceProspectActivity = async (\n sequenceId: string,\n prospectId: string,\n) =>\n api.get(`/sequences/${parseInt(sequenceId, 10)}/prospects/activity`, {\n params: { prospectId },\n });\n\n// Get user customDomain\nexport const getCustomDomains = async () => api.get('/custom-domain');\n\n// Get sequence prospect verification stats\nexport const getSequenceProspectVerificationStats = async (\n sequenceId: string,\n) => api.get(`/sequences/${sequenceId}/prospect-verification-stats`);\n\n// Send sequence prospect verify start request\nexport const sendSequenceProspectVerifyStart = async (sequenceId: string) =>\n api.post(`sequences/${sequenceId}/verify-prospects`);\n\n// Upload Attachment Request\nexport const uploadAttachment = async (\n formData: FormData,\n onUploadProgress: (e: any) => void,\n cancelToken,\n) =>\n api.post('/attachment-broker/attachment', formData, {\n onUploadProgress,\n cancelToken,\n });\n\n// Delete Attachment Request\nexport const deleteAttachment = async (\n attachmentId: number,\n deleteFromTemplate: boolean,\n sequenceStepVariantId: number,\n) =>\n api.delete(`/attachment-broker/attachment/${attachmentId}`, {\n data: { deleteFromTemplate, sequenceStepVariantId },\n });\n\n// Get sent email preview\nexport const getSentEmailPreview = async (sequenceProspectTaskId: string) =>\n api.get(\n `/sequences/sequence-prospect-task/${sequenceProspectTaskId}/sent-email`,\n );\n\n// Get sequence score\nexport const getSequenceScore = async (\n sequenceId: string,\n refresh: boolean = false,\n) =>\n api.get(`/sequences/${sequenceId}/sequence-score`, {\n params: { ...(refresh && { refresh }) },\n });\n\n// Variant Email Writing Score\nexport const createEmailWritingFactors = async ({\n sequenceId,\n stepId,\n emailWritingFactors,\n}: EmailWritingFactorsPayload) =>\n api.post(`/sequences/${sequenceId}/steps/${stepId}/email-writing-scan`, {\n emailWritingScans: emailWritingFactors,\n });\n\nexport const updateEmailWritingFactors = async ({\n sequenceId,\n stepId,\n emailWritingFactors,\n}: EmailWritingFactorsPayload) => {\n const { variantId, ...payload } = emailWritingFactors[0];\n\n return api.patch(\n `/sequences/${sequenceId}/steps/${stepId}/variant/${variantId}/email-writing-scan`,\n payload,\n );\n};\n\nexport const getLinkedEmailAccounts = async (\n sequenceId: string,\n pageNum: number,\n) =>\n api.get(`/sequences/${sequenceId}/connected-email-accounts`, {\n params: {\n pageSize: 10,\n pageNum,\n },\n });\n\nexport const linkEmailToSequence = async (\n sequenceId: string,\n emailAccountIds: number[],\n) =>\n api.post(`sequences/${sequenceId}/add-email-accounts`, { emailAccountIds });\n\nexport const getAllNotLinkedEmailAccounts = async (\n sequenceId: string,\n clientIds: number[],\n search: string,\n pageNum: number,\n tagIds: number[],\n) =>\n api.post(`sequences/${sequenceId}/add-emails/list`, {\n pageSize: constants.DEFAULT_PAGE_SIZE,\n pageNum,\n search,\n ...(clientIds && { clientIds }),\n ...(tagIds && { tagIds }),\n });\n\nexport const removeConnectedEmailAccount = async (\n sequenceId: string,\n emailAccountId: number,\n) => api.delete(`sequences/${sequenceId}/emailAccount/${emailAccountId}`);\n\nexport const getNotLinkedEmailAccountsCount = async (\n sequenceId: string,\n search: string,\n clientIds: number[],\n tagIds: number[],\n) =>\n api.post(`sequences/${sequenceId}/add-emails/list-total-count`, {\n search,\n ...(clientIds && { clientIds }),\n ...(tagIds && { tagIds }),\n });\n\nexport const resendFailedEmail = async (\n sequenceId,\n sequenceContactHistoryId,\n resendType: ResendType,\n) =>\n api.post(`/sequences/${sequenceId}/emails/resend-failed`, {\n sequenceProspectTaskId: sequenceContactHistoryId,\n resendType,\n });\n\nexport const onOutcomeChange = async (\n sequenceId: number,\n prospectId: number,\n outcomeId: number,\n) =>\n api.patch(`sequences/${sequenceId}/outcome`, {\n prospectId,\n outcomeId,\n });\n\nexport const getTaskAssigneeList = (userId) =>\n api.get(`/user/task-assignee`);\n\nexport const bulkPauseSequence = async (sequenceIds: number[]) =>\n api.patch('/sequences/bulk-pause', { sequenceIds });\n\nexport const bulkResumeSequence = async (sequenceIds: number[]) =>\n api.patch('/sequences/bulk-resume', { sequenceIds });\n\nexport const getAllConnectedEmailAccounts = async (sequenceId: number) =>\n api.get(\n `/sequences/${sequenceId}/all-connected-email-accounts`,\n );\n\nexport const getSequenceTimezone = (sequenceId: number) =>\n api.get(`/sequences/timezone/${sequenceId}`);\n\nexport const sequenceProspectBulkStatusUpdate = async ({\n sequenceId,\n status,\n deSelectedContactIds,\n contactsFilter,\n pauseDelayInDays,\n}: SequenceProspectBulkStatusUpdatePayload) =>\n api.patch(`/sequences/${sequenceId}/contacts/bulk-status`, {\n status,\n ...(deSelectedContactIds?.length > 0 && {\n deSelectedContactIds,\n }),\n ...(!isEmpty(contactsFilter) && { contactsFilter }),\n ...(pauseDelayInDays !== undefined && { pauseDelayInDays }),\n });\n\nexport const sequenceProspectBulkTagAssign = async ({\n sequenceId,\n ids,\n newTags,\n deSelectedContactIds,\n contactsFilter,\n}: SequenceProspectBulkTagAssignPayload) =>\n api.post(`/sequences/${sequenceId}/tag/bulk-assign`, {\n ids,\n newTags,\n ...(deSelectedContactIds?.length > 0 && {\n deSelectedContactIds,\n }),\n ...(!isEmpty(contactsFilter) && { contactsFilter }),\n });\n\nexport const sequenceProspectBulkTagUnAssign = async ({\n sequenceId,\n tagIds,\n deSelectedContactIds,\n contactsFilter,\n}: SequenceProspectBulkTagUnAssignPayload) =>\n api.post(`/sequences/${sequenceId}/tag/bulk-un-assign`, {\n tagIds,\n ...(deSelectedContactIds?.length > 0 && {\n deSelectedContactIds,\n }),\n ...(!isEmpty(contactsFilter) && { contactsFilter }),\n });\n\nexport const sequenceProspectBulkAddToSequence = async ({\n sequenceId,\n stepId,\n deSelectedContactIds,\n contactsFilter,\n}: SequenceProspectBulkAddToSequencePayload) =>\n api.post(`/sequences/${sequenceId}/bulk-sequence-contacts`, {\n stepId,\n ...(deSelectedContactIds?.length > 0 && {\n deSelectedContactIds,\n }),\n ...(!isEmpty(contactsFilter) && { contactsFilter }),\n });\n\nexport const sequenceProspectBulkRemoveFromSequence = async ({\n sequenceId,\n deSelectedContactIds,\n contactsFilter,\n}: SequenceProspectBulkRemoveFromSequencePayload) =>\n api.patch(\n `/sequences/${sequenceId}/contacts/bulk-contacts`,\n {\n ...(deSelectedContactIds?.length > 0 && {\n deSelectedContactIds,\n }),\n ...(!isEmpty(contactsFilter) && { contactsFilter }),\n },\n );\n\nexport const getSequenceStatsCounts = async (sequenceId: number) =>\n api.get(`/sequences/${sequenceId}/counts`);\n\nexport const getEspMatchingDetails = async (sequenceId: number) =>\n api.get(`/sequences/${sequenceId}/esp-details`);\n\n/**\n *\n * @param sequenceId - Selected Sequence ID\n * @returns - Sequence Prospect's Steps list with their states\n */\nexport const getSequenceProspectStepStates = async (sequenceId: number) =>\n api.get(`/sequences/${sequenceId}/prospect-step-stats`);\n\n/**\n *\n * @param sequenceId - Selected Sequence ID\n * @returns - Sequence Email Accounts list with their States\n */\nexport const getSequenceEmailAccountStates = async (sequenceId: number) =>\n api.get(`/sequences/${sequenceId}/email-account-stats`);\n","export const LEAD_EMAIL_EXCLUDED_DOMAINS = [\n 'gmail.com',\n 'outlook.com',\n 'icloud.com',\n 'yahoo.com',\n 'aol.com',\n 'hotmail.com',\n 'protonmail.com',\n 'zoho.com',\n 'yandex.com',\n 'mail.com',\n 'gmx.com',\n 'fastmail.com',\n 'tutanota.com',\n 'hushmail.com',\n 'runbox.com',\n 'inbox.com',\n 'rediffmail.com',\n 'qq.com',\n 'rambler.ru',\n 'web.de',\n];\n","import history from '../../../shared/history';\nimport { LeadFinderTabKey } from '../type';\nimport { ContactVerificationStatusTypeDisplayName } from '../../sequence/enums';\nimport { LEAD_EMAIL_EXCLUDED_DOMAINS } from '../constants/lead-email-excluded-domains';\nimport { constants } from '../../../shared/enums/constants';\n\n/* eslint-disable */\nexport const getLeadsActiveTab = (location) => {\n let key = LeadFinderTabKey.PEOPLE_TAB;\n if (location?.hash) {\n const locationHash = location?.hash.replace(/^#/, '');\n key = Object.values(LeadFinderTabKey).includes(locationHash)\n ? locationHash\n : LeadFinderTabKey.PEOPLE_TAB;\n }\n return key;\n};\n\nexport const validateNumberForQueryParams = (\n value: string,\n fallbackValue: number = 1,\n) =>\n isNaN(Number(value)) || Number(value) < 1 ? fallbackValue : Number(value);\n\nexport const deepClone = (obj: any) => {\n return JSON.parse(JSON.stringify(obj));\n};\n\nexport const getExceptFilterValues = (keys, list) => {\n const values = keys.filter((value) => {\n return !list.some(\n (item) =>\n item.key.toLowerCase() === value.toLowerCase() ||\n (item.children &&\n item.children.some(\n (childItem) => childItem.key.toLowerCase() === value.toLowerCase(),\n )),\n );\n });\n\n return values;\n};\n\nexport const getExceptFilterKeys = (values, list) => {\n const keys = values.filter((value) => {\n return !list.some(\n (item) =>\n item.value.toLowerCase() === value.toLowerCase() ||\n (item.children &&\n item.children.some(\n (childItem) =>\n childItem.value.toLowerCase() === value.toLowerCase(),\n )),\n );\n });\n\n return keys;\n};\n\nexport const getFilterValues = (keys: string[], list) => {\n const values = [];\n\n if (!keys?.length || !list?.length) return values;\n\n keys?.forEach((key: string) => {\n for (const continent of list) {\n if (typeof key === 'string') {\n if (continent?.key?.toLowerCase() === key?.toLowerCase()) {\n values.push(continent?.value || continent?.label);\n break;\n }\n if (continent?.children?.length > 0) {\n for (const child of continent.children) {\n if (child.key.toLowerCase() === key.toLowerCase()) {\n values.push(child.value || child?.label);\n break;\n }\n }\n }\n }\n }\n });\n\n return values;\n};\n\nexport const getFilterValuesWithExtraValues = (\n keys,\n list,\n locationData?: boolean,\n) => {\n const values = getFilterValues(keys, list);\n const extraValues = getExceptFilterValues(keys, list);\n const parentKeys = keys?.filter((key) => key?.length === 2);\n\n const queryParam = new URLSearchParams(history?.location?.search);\n const locationFilterKey =\n queryParam.get('location') || queryParam.get('excludeLocation');\n\n const exactMatch = (locationFilterKey?.match(/\\\"/g) || [])?.length === 2;\n\n let data = [...values, ...extraValues];\n\n if (exactMatch && locationData) {\n const result = [];\n keys?.map((key) => {\n if (parentKeys?.length) {\n parentKeys?.filter((parentKey) => {\n if (!key?.substring(0, 2).includes(parentKey)) {\n if (!result?.includes(key)) {\n result?.push(key);\n }\n }\n });\n } else {\n if (!result?.includes(key)) {\n result?.push(key);\n }\n }\n });\n let getValueForResultData = getFilterValues(result, list);\n\n data = data?.map((value) => {\n if (getValueForResultData?.includes(value)) {\n return `\"${value}\"`;\n } else {\n return value;\n }\n });\n }\n\n // final data return\n return data;\n};\n\nexport const getFilterKeys = (Values, list) => {\n const Keys = [];\n\n Values.forEach((value: any) => {\n for (const continent of list) {\n if (continent.value.toLowerCase() === value.toLowerCase()) {\n Keys.push(continent.key);\n break;\n }\n if (continent?.children?.length > 0) {\n for (const country of continent.children) {\n if (country.value.toLowerCase() === value.toLowerCase()) {\n Keys.push(country.key);\n break;\n }\n }\n }\n }\n });\n\n return Keys;\n};\n\nexport const getFilterKeysWithExtraKeys = (keys, list) => {\n const values = getFilterKeys(keys, list);\n const extraValues = getExceptFilterKeys(keys, list);\n return [...values, ...extraValues];\n};\n\nexport const findParentKey = (data, targetKey) => {\n for (const continent of data) {\n if (continent?.children?.length > 0) {\n const childIndex = continent?.children?.findIndex(\n (child) => child?.key?.toLowerCase() === targetKey?.toLowerCase(),\n );\n if (childIndex !== -1) {\n return continent?.key;\n }\n }\n }\n return null; // Return null if the targetKey is not found in any children array\n};\n\nexport const getTimeAgoString = (timestamp) => {\n var timestampDate: any = new Date(timestamp);\n\n var currentDate: any = new Date();\n\n var timeDifference = currentDate - timestampDate;\n\n var seconds = Math.floor(timeDifference / 1000); // Convert milliseconds to seconds\n var minutes = Math.floor(seconds / 60);\n var hours = Math.floor(minutes / 60);\n var days = Math.floor(hours / 24);\n\n if (seconds < 60) {\n return 'Just Now';\n } else if (minutes < 60) {\n return minutes + ' minutes ago';\n } else if (hours < 24) {\n return hours + ' hours ago';\n } else {\n return days + ' days ago';\n }\n};\n\nexport const capitalizeFirstLetter = (string = '') => {\n if (string) {\n return string?.charAt(0).toUpperCase() + string?.slice(1);\n }\n};\nexport const mapObjectToString = (obj) => {\n let mappedString = '';\n\n for (const key in obj) {\n if (obj.hasOwnProperty(key)) {\n let formattedValue;\n\n if (Array.isArray(obj[key])) {\n formattedValue =\n obj[key].length > 1\n ? `${obj[key][0]}+${obj[key].length - 1}`\n : obj[key][0];\n } else {\n formattedValue = obj[key];\n }\n\n mappedString += `${formattedValue}, `;\n }\n }\n\n // Remove the trailing comma and space\n mappedString = mappedString.slice(0, -2);\n\n return mappedString;\n};\n\nexport const showingLengthPerPageOptions = [\n {\n key: '25',\n value: 25,\n },\n {\n key: '50',\n value: 50,\n },\n {\n key: '100',\n value: 100,\n },\n];\n\nexport const camelCaseAndRemoveSpecialChars = (string: string) => {\n // Remove special characters\n const cleanedString = string.replace(/[^a-zA-Z0-9]/g, '');\n\n // Convert to camel case\n const words = cleanedString.split(' ');\n const camelCaseString =\n words[0].toLowerCase() +\n words\n .slice(1)\n .map((word) => word.charAt(0).toUpperCase() + word.slice(1).toLowerCase())\n .join('');\n\n return camelCaseString;\n};\n\nexport const isLeadFinderURL = () => window.location.pathname.includes('leads');\n\nexport const gradeTooltips: { [key: string]: string } = {\n A: ContactVerificationStatusTypeDisplayName.Valid,\n B: ContactVerificationStatusTypeDisplayName.Risky,\n 'A-': ContactVerificationStatusTypeDisplayName.Valid,\n};\n\nexport const gradeClassNames: { [key: string]: string } = {\n A: 'valid-email',\n B: 'risky-email',\n 'A-': 'valid-email',\n};\n\nexport const getCircleCheckTooltip = (grade: string): string => {\n return (\n gradeTooltips[grade] || ContactVerificationStatusTypeDisplayName.Unverified\n );\n};\n\nexport const getCircleCheckIconClassName = (grade: string) => {\n return gradeClassNames[grade] || 'unverified-email';\n};\n\nexport const getLeadListingPageSize = () => {\n try {\n const savedPageSize = localStorage.getItem('leadListingPageSize');\n return savedPageSize\n ? Number(savedPageSize)\n : constants.LEAD_FINDER_DEFAULT_PAGE_SIZE;\n } catch (error) {\n console.log(\n 'Error getting lead listing page size from local storage',\n error,\n );\n return constants.LEAD_FINDER_DEFAULT_PAGE_SIZE;\n }\n};\n\nexport const setLeadListingPageSize = (pageSize: number) => {\n try {\n localStorage.setItem('leadListingPageSize', pageSize.toString());\n } catch (error) {\n console.log('Error setting lead listing page size in local storage', error);\n }\n};\n\nexport const filterOutExcludedAndDuplicateDomains = (domains: string[]) => {\n const filteredDomains = [];\n\n if (!domains?.length) return filteredDomains;\n domains.forEach((domain) => {\n if (\n !LEAD_EMAIL_EXCLUDED_DOMAINS.includes(domain) &&\n !filteredDomains.includes(domain)\n ) {\n filteredDomains.push(domain);\n }\n });\n return filteredDomains;\n};\n\nexport const getDomainsFromEmails = (\n emailsData: any[],\n employerDomain?: string,\n) => {\n const domains = [];\n if (employerDomain) {\n domains.push(employerDomain);\n }\n emailsData?.forEach((emailData) => {\n const domain = emailData?.email?.split('@')[1];\n if (!domain) return;\n\n domains.push(domain);\n });\n return filterOutExcludedAndDuplicateDomains(domains);\n};\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport {\n ResponseSuccess,\n ResponseErrorWithHandled,\n} from '../../../../shared/types';\nimport {\n addTeam,\n addUser,\n agencyInviteUser,\n assignTeam,\n changeUserRole,\n deleteExpireSession,\n deleteTeam,\n deleteUser,\n deleteUserFromTeam,\n disableUser,\n exportUsers,\n getMembersList,\n getTeams,\n getTeamsAndMembersList,\n getTeamsList,\n getUserSetting,\n getUsers,\n modifyTeam,\n reactivateUser,\n resendInvite,\n} from '../../helpers/users-and-teams.api';\nimport {\n AddTeamPayload,\n AddUserPayload,\n AssignTeamPayload,\n ChangeUserRolePayload,\n DatePickerFilter,\n DeleteUserFromTeamPayload,\n ModifyTeamPayload,\n TeamsFilter,\n UsersFilter,\n} from '../../types/users-and-teams';\nimport { UserStatusKeys } from '../../enums/users-and-teams';\nimport { AgencyInviteUserRequestPayload } from '../../types/request-payload';\n\nexport const getUsersRequest = createAsyncThunk<\n ResponseSuccess,\n UsersFilter,\n { rejectValue: ResponseErrorWithHandled }\n>('users/getUsersRequest', async (args, thunkAPI) => {\n try {\n return await getUsers(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const changeUserRoleRequest = createAsyncThunk<\n ResponseSuccess,\n ChangeUserRolePayload,\n { rejectValue: ResponseErrorWithHandled }\n>('users/changeUserRoleRequest', async (args, thunkAPI) => {\n try {\n return await changeUserRole(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getTeamsListRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('users/getTeamsListRequest', async (_args, thunkAPI) => {\n try {\n return await getTeamsList();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const assignTeamRequest = createAsyncThunk<\n ResponseSuccess,\n AssignTeamPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('users/assignTeamRequest', async (args, thunkAPI) => {\n try {\n return await assignTeam(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const deleteUserRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>('users/deleteUserRequest', async (args, thunkAPI) => {\n try {\n return await deleteUser(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const disableUserRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>('users/disableUserRequest', async (args, thunkAPI) => {\n try {\n return await disableUser(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const reactivateUserRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>('users/reactivateUserRequest', async (args, thunkAPI) => {\n try {\n return await reactivateUser(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const resendInviteRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>('users/resendInviteRequest', async (args, thunkAPI) => {\n try {\n return await resendInvite(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const addUserRequest = createAsyncThunk<\n ResponseSuccess,\n AddUserPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('users/addUserRequest', async (args, thunkAPI) => {\n try {\n return await addUser(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getTeamsRequest = createAsyncThunk<\n ResponseSuccess,\n TeamsFilter,\n { rejectValue: ResponseErrorWithHandled }\n>('users/getTeamsRequest', async (args, thunkAPI) => {\n try {\n return await getTeams(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getMembersListRequest = createAsyncThunk<\n ResponseSuccess,\n UserStatusKeys[],\n { rejectValue: ResponseErrorWithHandled }\n>('users/getMembersListRequest', async (args, thunkAPI) => {\n try {\n return await getMembersList(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getTeamsAndMembersListRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('users/getTeamsAndMembersListRequest', async (_, thunkAPI) => {\n try {\n return await getTeamsAndMembersList();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const modifyTeamRequest = createAsyncThunk<\n ResponseSuccess,\n ModifyTeamPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('users/modifyTeamRequest', async (args, thunkAPI) => {\n try {\n return await modifyTeam(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const deleteTeamRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>('users/deleteTeamRequest', async (args, thunkAPI) => {\n try {\n return await deleteTeam(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const addTeamRequest = createAsyncThunk<\n ResponseSuccess,\n AddTeamPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('users/addTeam', async (args, thunkAPI) => {\n try {\n return await addTeam(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getAssignTeamSetting = createAsyncThunk<\n ResponseSuccess,\n { id: number },\n { rejectValue: ResponseErrorWithHandled }\n>('users/getAssignTeamSetting', async ({ id }, thunkAPI) => {\n try {\n return await getUserSetting(id);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const deleteUserFromTeamRequest = createAsyncThunk<\n ResponseSuccess,\n DeleteUserFromTeamPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('users/deleteUserFromTeam', async (args, thunkAPI) => {\n try {\n return await deleteUserFromTeam(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const agencyInviteUserRequest = createAsyncThunk<\n ResponseSuccess,\n AgencyInviteUserRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('team/agencyInviteUserRequest', async (payload, thunkAPI) => {\n try {\n return await agencyInviteUser(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const exportUsersRequest = createAsyncThunk<\n ResponseSuccess,\n DatePickerFilter,\n { rejectValue: ResponseErrorWithHandled }\n>('team/exportUsersRequest', async (payload , thunkAPI) => {\n try {\n return await exportUsers(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const deleteExpireSessionRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>('team/deleteExpireSession', async (args, thunkAPI) => {\n try {\n return await deleteExpireSession(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n","export enum TaskStatusDisplayLabel {\n DueToday = 'Due Today',\n Upcoming = 'Upcoming',\n Overdue = 'Overdue',\n Completed = 'Completed',\n Skipped = 'Skipped',\n}\n\nexport enum TaskStatusKey {\n DueToday = 'dueToday',\n Upcoming = 'upcoming',\n Overdue = 'overdue',\n Completed = 'completed',\n Skipped = 'skipped',\n}\n\nexport enum TaskStatusParamsKey {\n Upcoming = 1,\n DueToday = 2,\n Completed = 3,\n Skipped = 4,\n Overdue = 5,\n}\n\nexport enum TaskAction {\n ExecuteTask = 0,\n SnoozeTask = 1,\n SkipTask = 2,\n ReassignTask = 3,\n}\n\nexport enum CallOutcome {\n Interested = 'Interested',\n CallbackLater = 'Callback Later',\n Followup = 'Followup',\n NotInterested = 'Not Interested',\n WrongNumber = 'Wrong Number',\n NoAnswer = 'No Answer',\n LeftVoicemail = 'Left Voicemail',\n NotInService = 'Not In Service',\n}\n","/* eslint-disable no-console */\n\nexport const LOCAL_STORAGE_KEYS = {\n EMAIL_ACCOUNT_INFRASTRUCTURE_CART: 'emailAccountInfrastructureCart',\n EMAIL_ACCOUNT_INFRASTRUCTURE_SERVICE_PROVIDER:\n 'emailAccountInfrastructureServiceProvider',\n EMAIL_ACCOUNT_INFRASTRUCTURE_CONTACT_DETAILS:\n 'emailAccountInfrastructureContactDetails',\n EMAIL_ACCOUNT_INFRASTRUCTURE_FORWARDING_DOMAIN:\n 'emailAccountInfrastructureForwardingDomain',\n EMAIL_ACCOUNT_INFRASTRUCTURE_LAST_UPDATED_AT:\n 'emailAccountInfrastructureLastUpdatedAt',\n EMAIL_CHANGE_FOR_SSO_USER_IN_PROGRESS:\n 'email-change-for-sso-user-in-progress',\n NEW_SSO_EMAIL_VARIFICATION_IN_PROGRESS:\n 'new-sso-email-varification-in-progress'\n};\n\n// Helper to save an item to local storage\nexport const saveToLocalStorage = (key, value) => {\n try {\n localStorage.setItem(key, JSON.stringify(value));\n } catch (error) {\n console.error(`Error saving ${key} to local storage:`, error);\n }\n};\n\n// Helper to get an item from local storage\nexport const getFromLocalStorage = (key) => {\n try {\n const value = localStorage.getItem(key);\n return value ? JSON.parse(value) : null;\n } catch (error) {\n console.error(`Error getting ${key} from local storage:`, error);\n return null;\n }\n};\n\n// Helper to remove an item from local storage\nexport const removeFromLocalStorage = (key) => {\n try {\n localStorage.removeItem(key);\n } catch (error) {\n console.error(`Error removing ${key} from local storage:`, error);\n }\n};\n\n// Helper to remove all keys from local storage\nexport const clearAllEmailAccountInfrastructureKeysFromLocalStorage = () => {\n Object.values(LOCAL_STORAGE_KEYS).forEach((key) => {\n removeFromLocalStorage(key);\n });\n};\n\nexport const getEmailAccountInfrastructureServiceProvider = () =>\n getFromLocalStorage(\n LOCAL_STORAGE_KEYS.EMAIL_ACCOUNT_INFRASTRUCTURE_SERVICE_PROVIDER,\n );\n\nexport const getEmailAccountInfrastructureLastUpdatedAt = () =>\n getFromLocalStorage(\n LOCAL_STORAGE_KEYS.EMAIL_ACCOUNT_INFRASTRUCTURE_LAST_UPDATED_AT,\n );\n\nexport const getEmailAccountInfrastructureCart = () =>\n getFromLocalStorage(LOCAL_STORAGE_KEYS.EMAIL_ACCOUNT_INFRASTRUCTURE_CART);\n\nexport const preloadDataFromLocalStorage = () => {\n const serviceProvider = getEmailAccountInfrastructureServiceProvider();\n\n const cart = getEmailAccountInfrastructureCart();\n\n const forwardingDomain = getFromLocalStorage(\n LOCAL_STORAGE_KEYS.EMAIL_ACCOUNT_INFRASTRUCTURE_FORWARDING_DOMAIN,\n );\n const contactDetails = getFromLocalStorage(\n LOCAL_STORAGE_KEYS.EMAIL_ACCOUNT_INFRASTRUCTURE_CONTACT_DETAILS,\n );\n\n return { serviceProvider, cart, forwardingDomain, contactDetails };\n};\n","import { RequestStatus } from '../enums/request-status';\n\nexport const getIsRequestIdeal = (status: RequestStatus): boolean =>\n status === RequestStatus.Ideal;\n\nexport const getIsRequestPending = (status: RequestStatus): boolean =>\n status === RequestStatus.Pending;\n\nexport const getIsRequestSucceeded = (status: RequestStatus): boolean =>\n status === RequestStatus.Succeeded;\n\nexport const getIsRequestFailed = (status: RequestStatus): boolean =>\n status === RequestStatus.Failed;\n","export enum EmailAccountMethod {\n Gmail = 'gmail',\n Microsoft = 'microsoft',\n SmtpImap = 'smtp-imap',\n}\n\nexport enum EmailAccountType {\n Gmail = 1,\n Microsoft = 2,\n SmtpImap = 3,\n}\n\nexport enum EmailServiceProvider {\n Gmail = 'gmail',\n Gsuite = 'gsuite',\n Microsoft = 'microsoft',\n O365 = 'o365',\n Yahoo = 'yahoo',\n Zoho = 'zoho',\n Godaddy = 'godaddy',\n Yandex = 'yandex',\n Sendgrid = 'sendgrid',\n Other = 'other',\n}\n\nexport enum EmailAccountsSortBy {\n SetupScore = 'health-score',\n EmailSent = 'remaining-quota',\n ClientAssociated = 'clientFirstName',\n DeliverabilityRate = 'deliverabilityRate',\n}\n","import React from 'react';\nimport {\n GlobalSettingsProps,\n GlobalSettingsHeaderTitleProps,\n GlobalSettingsHeaderProps,\n GlobalSettingsContentProps,\n} from './type';\nimport {\n OverlayTooltip,\n Placement,\n} from '../../design-system/components/overlay';\n\nconst GlobalSettingWrapper: React.FC = ({\n children,\n className = '',\n}) =>
{children}
;\n\nconst GlobalSettingsHeader: React.FC = ({\n children,\n className,\n}) =>
{children}
;\n\nconst GlobalSettingsContent: React.FC = ({\n children,\n className,\n}) =>
{children}
;\n\nconst GlobalSettingsHeaderLeft: React.FC = ({\n children,\n}) =>
{children}
;\n\nconst GlobalSettingsHeaderRight: React.FC = ({\n children,\n}) =>
{children}
;\n\nconst GlobalSettingsHeaderTitle: React.FC = ({\n title,\n isToolTip,\n tooltipText,\n}) => {\n const headerTitle = (\n
\n

{title}

\n
\n );\n return (\n <>\n {isToolTip ? (\n \n {headerTitle}\n \n ) : (\n headerTitle\n )}\n \n );\n};\nconst GlobalSettings = {\n Wrapper: GlobalSettingWrapper,\n Content: GlobalSettingsContent,\n Header: GlobalSettingsHeader,\n HeaderLeft: GlobalSettingsHeaderLeft,\n HeaderRight: GlobalSettingsHeaderRight,\n HeaderTitle: GlobalSettingsHeaderTitle,\n};\n\nexport default GlobalSettings;\n","import React from 'react';\n\nexport const SHLogoDark = ({ width = 30, height = 30 }) => (\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 from 'react';\n\nexport const SHLogoIcon = () => (\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 from 'react';\n\nexport const ChevronLeft = ({ width = 24, height = 24, className = '' }) => (\n \n \n \n);\n","import React from 'react';\n\nexport const ChevronRight = ({ width = 24, height = 24, className = '' }) => (\n \n \n \n \n);\n","import React from 'react';\n\nexport const MessageCircle = ({ width = 24, height = 24 }) => (\n \n \n \n \n);\n","import React from 'react';\n\nexport const Cross = ({ width = 24, height = 24 }) => (\n \n \n \n \n);\n","import React from 'react';\n\nexport const ArrowForwardUp = ({ width = 24, height = 24 }) => (\n \n \n \n);\n","import React from 'react';\n\nexport const MailRead = ({ width = 24, height = 24 }) => (\n \n \n \n \n \n \n);\n","import React from 'react';\n\nexport const Trash = ({ width = 24, height = 24 }) => (\n \n \n \n \n \n \n \n);\n","import React from 'react';\n\nexport const ArrowBackUp = ({ width = 24, height = 24 }) => (\n \n \n \n);\n","import React from 'react';\n\nexport const ArrowBackForward = ({ width = 24, height = 24 }) => (\n \n \n \n \n);\n","import React from 'react';\n\nexport const NoMessages = ({ size = 'sm' }) =>\n size === 'lg' ? (\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 from 'react';\n\nexport const ArrowsMinimize = ({ width = 24, height = 24 }) => (\n \n \n \n);\n","import React from 'react';\n\nexport const SHLogoDarkSM = () => (\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 from 'react';\n\nexport const TrulyInbox = () => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n","import React from 'react';\n\nexport const SwapArrow = () => (\n \n \n \n \n \n \n);\n","import React from 'react';\n\nexport const MailOpen = ({ width = 24, height = 24 }) => (\n \n \n \n \n \n \n);\n","import React from 'react';\n\nexport const Tag = ({ width = 24, height = 24 }) => (\n \n \n \n \n);\n","import React from 'react';\n\nexport const PlayCircle = ({ width = 14, height = 16 }) => (\n \n \n \n \n);\n","import * as React from 'react';\n\nexport const VariantsList = (props) => (\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 from 'react';\n\nexport const GaugeChart = () => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n","import React from 'react';\n\nexport const NoUpcomingTrips = () => (\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 from 'react';\n\nexport const VerifyEmail = () => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n","import React from 'react';\n\nexport const BrokenLink = () => (\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 from 'react';\n\nexport const SuccessChecks = () => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n","import React from 'react';\n\nexport const TeamsUI = () => (\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 from 'react';\n\nexport const SeeMore = () => (\n \n \n \n \n \n \n \n \n \n);\n","import React from 'react';\n\nexport const SearchIcon = ({ width = 24, height = 24 }) => (\n \n \n \n \n);\n","import React from 'react';\n\nexport const TeamPerformanceUI = () => (\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 \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 from 'react';\n\nexport const Connectivity = () => (\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 from 'react';\n\nexport const NoLogsFound = () => (\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 from 'react';\n\nexport const GiftBox = () => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n","import React from 'react';\n\nexport const SparklingMail = () => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n","import React from 'react';\n\nexport const NoEmailAccountsFound = () => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n","import React from 'react';\n\nexport const NoEmailContent = () => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n","import React from 'react';\n\nexport const NoEmailResultFound = () => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n","import React from 'react';\n\nexport const NoProspectResultFound = () => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n","import React from 'react';\n\nexport const ArrowRight = ({ width = 24, height = 24, className = '' }) => (\n \n \n \n \n \n);\n","import React from 'react';\n\nexport const ArrowLeft = ({ width = 24, height = 24, className = '' }) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n","import React from 'react';\n\nexport const DNCEmptyList = () => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n","import React from 'react';\n\nexport const NoDNCListFound = () => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n","import React from 'react';\n\nexport const Download = ({ width = 24, height = 24, className = '' }) => (\n \n \n \n \n \n);\n","import React from 'react';\n\nexport const NoTagsFound = () => (\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 from 'react';\n\nexport const DotsVerticals = () => (\n \n \n \n \n \n \n \n \n);\n","import React from 'react';\n\nexport const EmailAccount = ({ width = 16, height = 16 }) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n","import React from 'react';\nimport classNames from 'classnames';\nimport { IconPropsShared } from '../../../types';\nimport { Modify } from '../../../../types';\nimport { accessibleOnClick } from '../../../../utils/accessible-on-click';\n\ntype PartialIconProps = IconPropsShared & {\n onClick?: (event: React.MouseEvent) => void;\n};\n\ntype IconProps = Modify, PartialIconProps>;\n\nconst Icon = React.forwardRef(\n ({ identifier, onClick, className, ...rest }, ref) => {\n // patch for not adding prefix for dot icon.\n const prefix = identifier === 'dot' ? '' : 'sh-';\n\n const identifierClass = `${prefix}${identifier}`;\n const iconClass = classNames([identifierClass, className]);\n\n return (\n \n );\n },\n);\n\nexport default Icon;\n","export { default } from './store';\nexport * from './actions';\n","import api from '../../../api';\nimport {\n EmailCategoryPayload,\n EmailDeletePayload,\n EmailInboxFiltersPayload,\n EmailReadUnreadStatusPayload,\n EmailThreadActivityPayload,\n EmailThreadFilters,\n ForwardEmailPayload,\n ReplyEmailPayload,\n BulkMarkAsReadUnreadPayload,\n BulkDeletePayload,\n BulkCategoryAssignPayload,\n ReplyDraftPayload,\n ReplyScheduleBasePayload,\n ReplyDraftDiscardBasePayload,\n ReplyScheduleCancelBasePayload,\n ExclusionListBlockPayload,\n} from '../type';\n\n// Get Email Inbox List\nexport const getEmailInbox = async ({\n page,\n limit,\n search,\n // categoryId,\n categoryIds,\n sequenceIds,\n emailAccountIds,\n clientIds,\n owners,\n date,\n isRead,\n status,\n type,\n sentiment,\n}: EmailInboxFiltersPayload) =>\n api.post('/unibox/emails/', {\n page,\n limit,\n ...(type && { type }),\n ...(search !== '' && { search }),\n // ...(categoryId > 0 && { categoryId }),\n ...(categoryIds?.length > 0 && { categoryIds }), // categoryIds is array\n ...(sequenceIds?.length > 0 && { sequenceIds }),\n ...(emailAccountIds?.length > 0 && { emailAccountIds }),\n ...(clientIds?.length > 0 && { clientIds }),\n ...(owners?.length > 0 && { owners }),\n ...(date?.startDate &&\n date?.endDate && { startDate: date.startDate, endDate: date.endDate }),\n ...(isRead !== null && { isRead }),\n ...(status && { status }),\n ...(sentiment && !categoryIds?.length && {\n sentiment:\n sentiment?.charAt(0)?.toUpperCase() +\n sentiment?.slice(1)?.toLowerCase(),\n }),\n });\n\n// Get Email From Thread List\nexport const getEmailThread = async ({ hashId }: EmailThreadFilters) =>\n api.get(`/unibox/emails/${hashId}`);\n\n// Get Email From Thread List\nexport const getEmailThreadActivity = async ({\n id,\n ...rest\n}: EmailThreadActivityPayload) =>\n api.get(`/unibox/emails/activity/${id}`, {\n params: {\n ...rest,\n },\n });\n\n// Get Sequences List For Filter\nexport const getSequencesListForFilter = async () =>\n api.get('/unibox/sequences');\n\n// Get Email Accounts List For Filter\nexport const getEmailAccountsListForFilter = async () =>\n api.get('/unibox/email-accounts');\n\nexport const replyEmail = async (payload: ReplyEmailPayload) =>\n api.post('/unibox/emails/reply', payload);\n\nexport const forwardEmail = async (payload: ForwardEmailPayload) =>\n api.post('/unibox/emails/forward', payload);\n\n// Get Email Categories List\nexport const getEmailCategories = async () => api.get(`/unibox/categories`);\n\nexport const updateEmailCategory = async (payload: EmailCategoryPayload) =>\n api.patch('/unibox/category', payload);\n\n// Update Read Unread Status For Email\nexport const updateEmailReadUnreadStatus = async (\n payload: EmailReadUnreadStatusPayload,\n) => api.patch('/unibox/read-status', payload);\n\n// Delete Email Conversation\nexport const deleteEmailConversation = async (payload: EmailDeletePayload) =>\n api.patch('/unibox/email-thread-delete', payload);\n\n// Bulk Mark As Read and Unread\nexport const bulkMarkAsReadUnread = async ({\n readStatus,\n deSelectedEmailThreadIds,\n emailsFilter: {\n categoryId,\n search,\n sequenceIds,\n emailAccountIds,\n date,\n clientIds,\n type,\n },\n}: BulkMarkAsReadUnreadPayload) =>\n api.patch('/unibox/bulk-read-status', {\n readStatus,\n ...(deSelectedEmailThreadIds.length > 0 && { deSelectedEmailThreadIds }),\n emailsFilter: {\n ...(type && { type }),\n ...(clientIds?.length > 0 && { clientIds }),\n ...(categoryId > 0 && { categoryId }),\n ...(search !== '' && { search }),\n ...(sequenceIds?.length > 0 && { sequenceIds }),\n ...(emailAccountIds?.length > 0 && { emailAccountIds }),\n ...(date?.startDate &&\n date?.endDate && { startDate: date.startDate, endDate: date.endDate }),\n },\n });\n\n// Bulk Delete\nexport const bulkDelete = async ({\n deSelectedEmailThreadIds,\n emailsFilter: {\n categoryId,\n search,\n sequenceIds,\n emailAccountIds,\n date,\n clientIds,\n type,\n },\n}: BulkDeletePayload) =>\n api.patch('/unibox/email-thread/bulk-delete', {\n ...(deSelectedEmailThreadIds.length > 0 && { deSelectedEmailThreadIds }),\n emailsFilter: {\n ...(type && { type }),\n ...(clientIds?.length > 0 && { clientIds }),\n ...(categoryId > 0 && { categoryId }),\n ...(search !== '' && { search }),\n ...(sequenceIds?.length > 0 && { sequenceIds }),\n ...(emailAccountIds?.length > 0 && { emailAccountIds }),\n ...(date?.startDate &&\n date?.endDate && { startDate: date.startDate, endDate: date.endDate }),\n },\n });\n\n// Bulk Category Assign\nexport const bulkCategoryAssign = async ({\n categoryId: assignCategoryId,\n deSelectedEmailThreadIds,\n emailsFilter: {\n categoryId,\n search,\n sequenceIds,\n emailAccountIds,\n date,\n clientIds,\n type,\n },\n}: BulkCategoryAssignPayload) =>\n api.patch('/unibox/bulk-category', {\n categoryId: assignCategoryId,\n ...(deSelectedEmailThreadIds.length > 0 && { deSelectedEmailThreadIds }),\n emailsFilter: {\n ...(type && { type }),\n ...(clientIds?.length > 0 && { clientIds }),\n ...(categoryId > 0 && { categoryId }),\n ...(search !== '' && { search }),\n ...(sequenceIds?.length > 0 && { sequenceIds }),\n ...(emailAccountIds?.length > 0 && { emailAccountIds }),\n ...(date?.startDate &&\n date?.endDate && { startDate: date.startDate, endDate: date.endDate }),\n },\n });\n\n// Unibox reply draft (Create/Update)\nexport const replyDraft = async (payload: ReplyDraftPayload) =>\n api.post('/unibox/emails/draft', payload);\n\n// Unibox reply schedule\nexport const replySchedule = async (payload: ReplyScheduleBasePayload) =>\n api.post('/unibox/emails/schedule', payload);\n\n// Unibox draft/schedule discard\nexport const replyDraftDiscard = async ({\n repliedOnEmailId,\n}: ReplyDraftDiscardBasePayload) =>\n api.delete(`/unibox/emails/draft/${repliedOnEmailId}`);\n\n// Unibox reply schedule cancel\nexport const replyScheduleCancel = async ({\n unifiedScheduledId,\n}: ReplyScheduleCancelBasePayload) =>\n api.delete(`/unibox/emails/schedule/${unifiedScheduledId}`);\n\n// Unibox exclusion list block\nexport const exclusionListBlock = async (payload: ExclusionListBlockPayload) =>\n api.patch(`/unibox/exclusion-list/block`, payload);\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport { ResponseErrorWithHandled, ResponseSuccess } from '../../shared/types';\nimport {\n bulkCategoryAssign,\n bulkDelete,\n bulkMarkAsReadUnread,\n replyScheduleCancel,\n deleteEmailConversation,\n forwardEmail,\n getEmailAccountsListForFilter,\n getEmailCategories,\n getEmailInbox,\n getEmailThread,\n getEmailThreadActivity,\n getSequencesListForFilter,\n replyDraft,\n replyEmail,\n updateEmailCategory,\n updateEmailReadUnreadStatus,\n replyDraftDiscard,\n replySchedule,\n exclusionListBlock,\n} from './helpers/unified-inbox.api';\nimport {\n AttachmentDeleteUniboxPayload,\n AttachmentUploadUniboxPayload,\n BulkCategoryAssignPayload,\n BulkDeletePayload,\n BulkMarkAsReadUnreadPayload,\n EmailCategoryPayload,\n EmailDeletePayload,\n EmailInboxFiltersPayload,\n EmailReadUnreadStatusPayload,\n EmailThreadActivityPayload,\n EmailThreadFilters,\n ExclusionListBlockPayload,\n ForwardEmailPayload,\n ReplyDraftDiscardPayload,\n ReplyDraftPayload,\n ReplyEmailPayload,\n ReplyScheduleCancelPayload,\n ReplySchedulePayload,\n} from './type';\nimport {\n deleteAttachment,\n uploadAttachment,\n} from '../sequence/helpers/sequence.api';\n\nexport const getEmailInboxRequest = createAsyncThunk<\n ResponseSuccess,\n EmailInboxFiltersPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('unifiedInbox/getEmailInbox', async (args, thunkAPI) => {\n try {\n return await getEmailInbox(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getEmailThreadRequest = createAsyncThunk<\n ResponseSuccess,\n EmailThreadFilters,\n { rejectValue: ResponseErrorWithHandled }\n>('unifiedInbox/getEmailThread', async (args, thunkAPI) => {\n try {\n return await getEmailThread(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getEmailThreadActivityRequest = createAsyncThunk<\n ResponseSuccess,\n EmailThreadActivityPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('unifiedInbox/getEmailThreadActivity', async (args, thunkAPI) => {\n try {\n return await getEmailThreadActivity(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getSequencesListForFilterRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('unifiedInbox/getSequencesListForFilter', async (_args, thunkAPI) => {\n try {\n return await getSequencesListForFilter();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getEmailAccountsListForFilterRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('unifiedInbox/getEmailAccountsListForFilter', async (_args, thunkAPI) => {\n try {\n return await getEmailAccountsListForFilter();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const replyEmailRequest = createAsyncThunk<\n ResponseSuccess,\n ReplyEmailPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('unifiedInbox/replyEmail', async (args, thunkAPI) => {\n try {\n return await replyEmail(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const forwardEmailRequest = createAsyncThunk<\n ResponseSuccess,\n ForwardEmailPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('unifiedInbox/forwardEmail', async (args, thunkAPI) => {\n try {\n return await forwardEmail(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\n// Upload Attachment Request [This is a copy of uploadAttachmentRequest made for multiple editors]\nexport const uploadAttachmentUniboxRequest = createAsyncThunk<\n ResponseSuccess,\n AttachmentUploadUniboxPayload,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'unifiedInbox/uploadAttachmentRequest',\n async ({ formData, onUploadProgress, cancelToken }, thunkAPI) => {\n try {\n return await uploadAttachment(formData, onUploadProgress, cancelToken);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\n// Delete Attachment Request [This is a copy of deleteAttachmentRequest made for multiple editors]\nexport const deleteAttachmentUniboxRequest = createAsyncThunk<\n ResponseSuccess,\n AttachmentDeleteUniboxPayload,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'unifiedInbox/deleteAttachmentRequest',\n async (\n { attachmentId, deleteFromTemplate, sequenceStepVariantId },\n thunkAPI,\n ) => {\n try {\n return await deleteAttachment(\n attachmentId,\n deleteFromTemplate,\n sequenceStepVariantId,\n );\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const replyDraftRequest = createAsyncThunk<\n ResponseSuccess,\n ReplyDraftPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('unifiedInbox/replyDraft', async (args, thunkAPI) => {\n try {\n return await replyDraft(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getEmailCategoriesRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('unifiedInbox/getEmailCategories', async (_args, thunkAPI) => {\n try {\n return await getEmailCategories();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const updateEmailCategoryRequest = createAsyncThunk<\n ResponseSuccess,\n EmailCategoryPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('unifiedInbox/updateEmailCategory', async (args, thunkAPI) => {\n try {\n return await updateEmailCategory(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nconst updateEmailReadUnreadStatusHandler = async (args, thunkAPI) => {\n try {\n return await updateEmailReadUnreadStatus(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n};\n\nexport const markEmailConversationAsRead = createAsyncThunk<\n ResponseSuccess,\n EmailReadUnreadStatusPayload,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'unifiedInbox/markEmailConversationAsRead',\n updateEmailReadUnreadStatusHandler,\n);\n\nexport const markEmailConversationAsUnRead = createAsyncThunk<\n ResponseSuccess,\n EmailReadUnreadStatusPayload,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'unifiedInbox/markEmailConversationAsUnRead',\n updateEmailReadUnreadStatusHandler,\n);\n\nexport const deleteEmailConversationRequest = createAsyncThunk<\n ResponseSuccess,\n EmailDeletePayload,\n { rejectValue: ResponseErrorWithHandled }\n>('unifiedInbox/deleteEmailConversation', async (args, thunkAPI) => {\n try {\n return await deleteEmailConversation(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const bulkMarkAsReadUnreadRequest = createAsyncThunk<\n ResponseSuccess,\n BulkMarkAsReadUnreadPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('unifiedInbox/bulkMarkAsReadUnread', async (args, thunkAPI) => {\n try {\n return await bulkMarkAsReadUnread(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const bulkDeleteRequest = createAsyncThunk<\n ResponseSuccess,\n BulkDeletePayload,\n { rejectValue: ResponseErrorWithHandled }\n>('unifiedInbox/bulkDelete', async (args, thunkAPI) => {\n try {\n return await bulkDelete(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const bulkCategoryAssignRequest = createAsyncThunk<\n ResponseSuccess,\n BulkCategoryAssignPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('unifiedInbox/bulkCategoryAssign', async (args, thunkAPI) => {\n try {\n return await bulkCategoryAssign(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const replyDraftDiscardRequest = createAsyncThunk<\n ResponseSuccess,\n ReplyDraftDiscardPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('unifiedInbox/replyDraftDiscard', async ({ repliedOnEmailId }, thunkAPI) => {\n try {\n return await replyDraftDiscard({ repliedOnEmailId });\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const replyScheduleCancelRequest = createAsyncThunk<\n ResponseSuccess,\n ReplyScheduleCancelPayload,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'unifiedInbox/replyScheduleCancel',\n async ({ repliedOnEmailId, unifiedScheduledId }, thunkAPI) => {\n try {\n return await replyScheduleCancel({\n repliedOnEmailId,\n unifiedScheduledId,\n });\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const replyScheduleRequest = createAsyncThunk<\n ResponseSuccess,\n ReplySchedulePayload,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'unifiedInbox/replySchedule',\n async (\n { unifiedScheduledId, scheduledAt, sendEmailIfReplied, timezone },\n thunkAPI,\n ) => {\n try {\n return await replySchedule({\n unifiedScheduledId,\n scheduledAt,\n sendEmailIfReplied,\n timezone,\n });\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const exclusionListBlockRequest = createAsyncThunk<\n ResponseSuccess,\n ExclusionListBlockPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('unifiedInbox/exclusionListBlockRequest', async (args, thunkAPI) => {\n try {\n return await exclusionListBlock(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n","export enum Routes {\n Setting_Billing_Upgrade_Plan = '/settings/billing/upgrade-plan',\n Setting_Billing_Upgrade_Email_Outreach_Plan = '/settings/billing/upgrade-plan/email-outreach',\n Setting_Billing_Upgrade_Lead_Finder_Plan = '/settings/billing/upgrade-plan/lead-finder',\n Setting_Billing_Upgrade_Plan_BFCM = '/settings/billing/upgrade-plan-bfcm',\n Setting_Billing_Upgrade_Email_Outreach_Plan_BFCM = '/settings/billing/upgrade-plan-bfcm/email-outreach',\n Setting_Billing_Add_Credits = '/settings/billing/subscriptions/lead-finder#lead-finder-credit-plans',\n}\n","import { createSlice, PayloadAction } from '@reduxjs/toolkit';\n\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport { ResponseErrorWithHandled } from '../../../../shared/types';\nimport {\n getAccountSubscriptionRequest,\n getLeadFinderSubscriptionRequest,\n getConnectedUsersAndEmailAccountsRequest,\n getInvoiceURLRequest,\n getPlansRequest,\n getLeadFinderPlansRequest,\n purchaseSubscriptionRequest,\n purchaseLeadFinderSubscriptionRequest,\n applyCouponCodeRequest,\n getEmailVerificationCreditsRequest,\n getEmailVerificationPlanRequest,\n purchaseEmailVerificationCreditsRequest,\n modifySubscriptionRequest,\n purchaseModifySubscriptionRequest,\n purchaseLeadFinderModifySubscriptionRequest,\n reactivateSubscriptionRequest,\n reactivateLeadFinderSubscriptionRequest,\n resumeSubscriptionRequest,\n resumeLeadFinderSubscriptionRequest,\n handleSubscriptionRequest,\n handleLeadFinderChurnkeySubscriptionRequest,\n calculatePayRequest,\n upgradePlanRequest,\n downgradePlanRequest,\n purchaseLtdPlanRequest,\n upgradeLtdPlanRequest,\n modifyLtdPlanRequest,\n getAccountSubscriptionPlanRequest,\n getPurchaseHistoryRequest,\n getPurchaseDetailsByIdRequest,\n exportCreditHistoryRequest,\n getLeadFinderOneTimePlansRequest,\n purchaseLeadFinderOneTimePlanRequest,\n} from './extra-actions';\nimport {\n ApplyCouponCodeResponse,\n GetAccountSubscriptionResponse,\n GetAccountSubscriptionPlanResponse,\n GetLeadFinderSubscriptionResponse,\n GetConnectedUsersAndEmailAccountsResponse,\n GetEmailVerificationCreditsResponse,\n GetEmailVerificationPlanResponse,\n GetInvoiceURLResponse,\n GetPlansResponse,\n PurchaseModifySubscriptionResponse,\n PurchaseEmailVerificationCreditsResponse,\n ModifySubscriptionResponse,\n ReactivateResumeSubscriptionResponse,\n HandleSubscriptionResponse,\n SelectedPlanDetails,\n CalculatePayResponse,\n} from './types';\nimport { PurchaseDetails, PurchaseHistory } from './types/purchase-history';\nimport { GetLeadFinderPlanResponse } from './types/response/get-lead-finder-credit-plans';\nimport { PurchaseLeadFinderCreditsResponse } from './types/purchase-lead-finder-credits';\n\ntype RequestState = {\n status: RequestStatus;\n message: string;\n error: ResponseErrorWithHandled;\n};\n\ntype State = {\n getAccountSubscriptionRequest: RequestState;\n getAccountSubscriptionPlanRequest: RequestState;\n getLeadFinderSubscriptionRequest: RequestState;\n getPlansRequest: RequestState;\n getLeadFinderPlansRequest: RequestState;\n getInvoiceURLRequest: RequestState;\n getConnectedUsersAndEmailAccountsRequest: RequestState;\n applyCouponCodeRequest: RequestState;\n purchaseSubscriptionRequest: RequestState;\n purchaseLeadFinderSubscriptionRequest: RequestState;\n getEmailVerificationCreditsRequest: RequestState;\n getEmailVerificationPlanRequest: RequestState;\n purchaseEmailVerificationCreditsRequest: RequestState;\n modifySubscriptionRequest: RequestState;\n purchaseModifySubscriptionRequest: RequestState;\n purchaseLeadFinderModifySubscriptionRequest: RequestState;\n reactivateSubscriptionRequest: RequestState;\n reactivateLeadFinderSubscriptionRequest: RequestState;\n resumeSubscriptionRequest: RequestState;\n resumeLeadFinderSubscriptionRequest: RequestState;\n getAccountSubscriptionResponse: GetAccountSubscriptionResponse;\n getAccountSubscriptionPlanResponse: GetAccountSubscriptionPlanResponse;\n getLeadFinderSubscriptionResponse: GetLeadFinderSubscriptionResponse;\n getPlansResponse: GetPlansResponse;\n getLeadFinderPlansResponse: GetPlansResponse;\n getInvoiceResponse: GetInvoiceURLResponse;\n getConnectedUsersAndEmailAccountsResponse: GetConnectedUsersAndEmailAccountsResponse;\n applyCouponCodeResponse: ApplyCouponCodeResponse;\n getEmailVerificationCreditsResponse: GetEmailVerificationCreditsResponse;\n getEmailVerificationPlanResponse: GetEmailVerificationPlanResponse[];\n cancelEmailVerificationPlanRequest: RequestState;\n purchaseEmailVerificationCreditsResponse: PurchaseEmailVerificationCreditsResponse;\n modifySubscriptionResponse: ModifySubscriptionResponse;\n purchaseModifySubscriptionResponse: PurchaseModifySubscriptionResponse;\n purchaseLeadFinderModifySubscriptionResponse: PurchaseModifySubscriptionResponse;\n reactivateSubscriptionResponse: ReactivateResumeSubscriptionResponse;\n reactivateLeadFinderSubscriptionResponse: ReactivateResumeSubscriptionResponse;\n resumeSubscriptionResponse: ReactivateResumeSubscriptionResponse;\n resumeLeadFinderSubscriptionResponse: ReactivateResumeSubscriptionResponse;\n handleSubscriptionRequest: RequestState;\n handleLeadFinderChurnkeySubscriptionRequest: RequestState;\n handleSubscriptionResponse: HandleSubscriptionResponse;\n handleLeadFinderChurnkeySubscriptionResponse: HandleSubscriptionResponse;\n selectedPlanDetails: SelectedPlanDetails;\n calculatePayRequest: RequestState;\n upgradePlanRequest: RequestState;\n downgradePlanRequest: RequestState;\n purchaseLtdPlanRequest: RequestState;\n upgradeLtdPlanRequest: RequestState;\n modifyLtdPlanRequest: RequestState;\n getCalculatePayResponse: CalculatePayResponse;\n purchaseLtdPlanResponse: ReactivateResumeSubscriptionResponse;\n upgradeLtdPlanResponse: ReactivateResumeSubscriptionResponse;\n modifyLtdPlanResponse: ReactivateResumeSubscriptionResponse;\n purchaseHistory: PurchaseHistory[];\n purchaseDetailsById: PurchaseDetails;\n getPurchaseHistoryRequest: RequestState;\n getPurchaseDetailsByIdRequest: RequestState;\n exportCreditHistoryRequest: RequestState;\n getLeadFinderOneTimePlansRequest: RequestState;\n getLeadFinderOneTimePlansResponse: GetLeadFinderPlanResponse[];\n purchaseLeadFinderOneTimePlanRequest: RequestState;\n purchaseLeadFinderOneTimePlanResponse: PurchaseLeadFinderCreditsResponse;\n};\n\nconst initialState: State = {\n getAccountSubscriptionRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getAccountSubscriptionPlanRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getLeadFinderSubscriptionRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getInvoiceURLRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getPlansRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getLeadFinderPlansRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n purchaseSubscriptionRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n purchaseLeadFinderSubscriptionRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getConnectedUsersAndEmailAccountsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n applyCouponCodeRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getEmailVerificationCreditsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getEmailVerificationPlanRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n purchaseEmailVerificationCreditsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n cancelEmailVerificationPlanRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n modifySubscriptionRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n purchaseModifySubscriptionRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n purchaseLeadFinderModifySubscriptionRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n reactivateSubscriptionRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n reactivateLeadFinderSubscriptionRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n resumeSubscriptionRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n resumeLeadFinderSubscriptionRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n handleSubscriptionRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n handleLeadFinderChurnkeySubscriptionRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n calculatePayRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n upgradePlanRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n downgradePlanRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n purchaseLtdPlanRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n upgradeLtdPlanRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n modifyLtdPlanRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n selectedPlanDetails: null,\n getAccountSubscriptionResponse: null,\n getAccountSubscriptionPlanResponse: null,\n getLeadFinderSubscriptionResponse: null,\n getInvoiceResponse: null,\n getPlansResponse: null,\n getLeadFinderPlansResponse: null,\n getConnectedUsersAndEmailAccountsResponse: null,\n applyCouponCodeResponse: null,\n getEmailVerificationCreditsResponse: null,\n getEmailVerificationPlanResponse: null,\n purchaseEmailVerificationCreditsResponse: null,\n modifySubscriptionResponse: null,\n getCalculatePayResponse: null,\n purchaseModifySubscriptionResponse: null,\n purchaseLeadFinderModifySubscriptionResponse: null,\n reactivateSubscriptionResponse: null,\n reactivateLeadFinderSubscriptionResponse: null,\n resumeSubscriptionResponse: null,\n resumeLeadFinderSubscriptionResponse: null,\n handleSubscriptionResponse: null,\n handleLeadFinderChurnkeySubscriptionResponse: null,\n purchaseLtdPlanResponse: null,\n upgradeLtdPlanResponse: null,\n modifyLtdPlanResponse: null,\n purchaseHistory: [],\n purchaseDetailsById: null,\n getPurchaseHistoryRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getPurchaseDetailsByIdRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n exportCreditHistoryRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getLeadFinderOneTimePlansRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getLeadFinderOneTimePlansResponse: null,\n purchaseLeadFinderOneTimePlanRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n purchaseLeadFinderOneTimePlanResponse: null,\n};\n\nconst billingSubscriptionSlice = createSlice({\n name: 'billingSubscription',\n initialState,\n reducers: {\n resetSubscription: (state) => {\n state.getAccountSubscriptionRequest =\n initialState.getAccountSubscriptionRequest;\n state.getAccountSubscriptionPlanRequest =\n initialState.getAccountSubscriptionPlanRequest;\n state.getLeadFinderSubscriptionRequest =\n initialState.getLeadFinderSubscriptionRequest;\n state.getAccountSubscriptionResponse =\n initialState.getAccountSubscriptionResponse;\n state.getAccountSubscriptionPlanResponse =\n initialState.getAccountSubscriptionPlanResponse;\n state.getLeadFinderSubscriptionResponse =\n initialState.getLeadFinderSubscriptionResponse;\n state.getInvoiceResponse = initialState.getInvoiceResponse;\n state.getInvoiceURLRequest = initialState.getInvoiceURLRequest;\n state.getPlansRequest = initialState.getPlansRequest;\n state.getLeadFinderPlansRequest = initialState.getLeadFinderPlansRequest;\n state.getLeadFinderPlansResponse =\n initialState.getLeadFinderPlansResponse;\n state.purchaseSubscriptionRequest =\n initialState.purchaseSubscriptionRequest;\n state.purchaseLeadFinderSubscriptionRequest =\n initialState.purchaseLeadFinderSubscriptionRequest;\n state.applyCouponCodeRequest = initialState.applyCouponCodeRequest;\n state.applyCouponCodeResponse = initialState.applyCouponCodeResponse;\n state.cancelEmailVerificationPlanRequest =\n initialState.cancelEmailVerificationPlanRequest;\n state.getEmailVerificationCreditsRequest =\n initialState.getEmailVerificationCreditsRequest;\n state.getEmailVerificationCreditsResponse =\n initialState.getEmailVerificationCreditsResponse;\n state.getEmailVerificationPlanRequest =\n initialState.getEmailVerificationPlanRequest;\n state.getEmailVerificationPlanResponse =\n initialState.getEmailVerificationPlanResponse;\n state.purchaseEmailVerificationCreditsRequest =\n initialState.purchaseEmailVerificationCreditsRequest;\n state.purchaseEmailVerificationCreditsResponse =\n initialState.purchaseEmailVerificationCreditsResponse;\n state.modifySubscriptionRequest = initialState.modifySubscriptionRequest;\n state.modifySubscriptionResponse =\n initialState.modifySubscriptionResponse;\n state.purchaseModifySubscriptionRequest =\n initialState.purchaseModifySubscriptionRequest;\n state.purchaseLeadFinderModifySubscriptionRequest =\n initialState.purchaseLeadFinderModifySubscriptionRequest;\n state.purchaseModifySubscriptionResponse =\n initialState.purchaseModifySubscriptionResponse;\n state.reactivateSubscriptionRequest =\n initialState.reactivateSubscriptionRequest;\n state.reactivateLeadFinderSubscriptionRequest =\n initialState.reactivateLeadFinderSubscriptionRequest;\n state.reactivateSubscriptionResponse =\n initialState.reactivateSubscriptionResponse;\n state.reactivateLeadFinderSubscriptionResponse =\n initialState.reactivateLeadFinderSubscriptionResponse;\n state.resumeSubscriptionRequest =\n initialState.reactivateSubscriptionRequest;\n state.resumeLeadFinderSubscriptionRequest =\n initialState.resumeLeadFinderSubscriptionRequest;\n state.resumeSubscriptionResponse =\n initialState.resumeSubscriptionResponse;\n state.resumeLeadFinderSubscriptionResponse =\n initialState.resumeLeadFinderSubscriptionResponse;\n state.handleSubscriptionRequest = initialState.handleSubscriptionRequest;\n state.handleLeadFinderChurnkeySubscriptionRequest =\n initialState.handleLeadFinderChurnkeySubscriptionRequest;\n state.handleSubscriptionResponse =\n initialState.handleSubscriptionResponse;\n state.handleLeadFinderChurnkeySubscriptionResponse =\n initialState.handleLeadFinderChurnkeySubscriptionResponse;\n\n state.purchaseLtdPlanRequest = initialState.purchaseLtdPlanRequest;\n state.upgradeLtdPlanRequest = initialState.upgradeLtdPlanRequest;\n state.modifyLtdPlanRequest = initialState.modifyLtdPlanRequest;\n state.purchaseLtdPlanResponse = initialState.purchaseLtdPlanResponse;\n state.upgradeLtdPlanResponse = initialState.upgradeLtdPlanResponse;\n state.modifyLtdPlanResponse = initialState.modifyLtdPlanResponse;\n\n state.calculatePayRequest = initialState.calculatePayRequest;\n state.getCalculatePayResponse = initialState.getCalculatePayResponse;\n\n state.getLeadFinderOneTimePlansRequest =\n initialState.getLeadFinderOneTimePlansRequest;\n state.purchaseLeadFinderOneTimePlanRequest =\n initialState.purchaseLeadFinderOneTimePlanRequest;\n state.getLeadFinderOneTimePlansResponse =\n initialState.getLeadFinderOneTimePlansResponse;\n },\n\n /** we're using purchase email verification from different places.\n * so we need to reset from every places.\n */\n resetPurchaseEmailVerificationCreditsResponse: (state) => {\n state.purchaseEmailVerificationCreditsRequest =\n initialState.purchaseEmailVerificationCreditsRequest;\n state.purchaseEmailVerificationCreditsResponse =\n initialState.purchaseEmailVerificationCreditsResponse;\n },\n\n resetPurchaseModifySubscriptionResponse: (state) => {\n state.purchaseModifySubscriptionRequest =\n initialState.purchaseModifySubscriptionRequest;\n state.purchaseModifySubscriptionResponse =\n initialState.purchaseModifySubscriptionResponse;\n },\n\n resetPurchaseLeadFinderModifySubscriptionResponse: (state) => {\n state.purchaseLeadFinderModifySubscriptionRequest =\n initialState.purchaseLeadFinderModifySubscriptionRequest;\n state.purchaseLeadFinderModifySubscriptionResponse =\n initialState.purchaseLeadFinderModifySubscriptionResponse;\n },\n\n resetReactivateSubscriptionResponse: (state) => {\n state.reactivateSubscriptionRequest =\n initialState.reactivateSubscriptionRequest;\n state.reactivateSubscriptionResponse =\n initialState.reactivateSubscriptionResponse;\n },\n\n resetReactivateLeadFinderSubscriptionResponse: (state) => {\n state.reactivateLeadFinderSubscriptionRequest =\n initialState.reactivateLeadFinderSubscriptionRequest;\n state.reactivateLeadFinderSubscriptionResponse =\n initialState.reactivateLeadFinderSubscriptionResponse;\n },\n\n resetResumeSubscriptionResponse: (state) => {\n state.resumeSubscriptionRequest = initialState.resumeSubscriptionRequest;\n state.resumeSubscriptionResponse =\n initialState.resumeSubscriptionResponse;\n },\n\n resetResumeLeadFinderSubscriptionResponse: (state) => {\n state.resumeLeadFinderSubscriptionRequest =\n initialState.resumeLeadFinderSubscriptionRequest;\n state.resumeLeadFinderSubscriptionResponse =\n initialState.resumeLeadFinderSubscriptionResponse;\n },\n\n resetHandleSubscriptionResponse: (state) => {\n state.handleSubscriptionRequest = initialState.handleSubscriptionRequest;\n state.handleSubscriptionResponse =\n initialState.handleSubscriptionResponse;\n },\n\n resetHandleLeadFinderSubscriptionChurnkeyResponse: (state) => {\n state.handleLeadFinderChurnkeySubscriptionRequest =\n initialState.handleLeadFinderChurnkeySubscriptionRequest;\n state.handleLeadFinderChurnkeySubscriptionResponse =\n initialState.handleLeadFinderChurnkeySubscriptionResponse;\n },\n\n resetModifySubscriptionResponse: (state) => {\n state.modifySubscriptionRequest = initialState.modifySubscriptionRequest;\n state.modifySubscriptionResponse =\n initialState.modifySubscriptionResponse;\n },\n\n deleteAppliedCouponCode: (state) => {\n state.applyCouponCodeResponse = initialState.applyCouponCodeResponse;\n state.applyCouponCodeRequest = initialState.applyCouponCodeRequest;\n },\n resetConnectedUsersAndEmailAccountsRequest: (state) => {\n state.getConnectedUsersAndEmailAccountsRequest =\n initialState.getConnectedUsersAndEmailAccountsRequest;\n },\n\n // Reset Calculate Pay State\n resetCalculatePayState: (state) => {\n state.calculatePayRequest = initialState.calculatePayRequest;\n state.getCalculatePayResponse = initialState.getCalculatePayResponse;\n },\n\n // Reset Purchase LTD Plan State\n resetPurchaseLtdPlan: (state) => {\n state.purchaseLtdPlanRequest = initialState.purchaseLtdPlanRequest;\n state.purchaseLtdPlanResponse = initialState.purchaseLtdPlanResponse;\n },\n\n // Reset Upgrade LTD Plan State\n resetUpgradeLtdPlan: (state) => {\n state.upgradeLtdPlanRequest = initialState.upgradeLtdPlanRequest;\n state.upgradeLtdPlanResponse = initialState.upgradeLtdPlanResponse;\n },\n\n // Reset Modify LTD Plan State\n resetModifyLtdPlan: (state) => {\n state.modifyLtdPlanRequest = initialState.modifyLtdPlanRequest;\n state.modifyLtdPlanResponse = initialState.modifyLtdPlanResponse;\n },\n\n // Store the select plan details\n selectPlan: (state, action: PayloadAction) => {\n state.selectedPlanDetails = action.payload;\n },\n\n // Reset Invoice State\n resetInvoice: (state) => {\n state.getInvoiceURLRequest = initialState.getInvoiceURLRequest;\n state.getInvoiceResponse = initialState.getInvoiceResponse;\n },\n\n // Reset Purchase Details\n resetPurchaseDetails: (state) => {\n state.purchaseDetailsById = initialState.purchaseDetailsById;\n },\n\n // Reset Export Credit History\n resetExportCreditHistoryRequest: (state) => {\n state.exportCreditHistoryRequest =\n initialState.exportCreditHistoryRequest;\n },\n\n // Reset Purchase Lead Finder Plan\n resetPurchaseLeadFinderOneTimePlan: (state) => {\n state.purchaseLeadFinderOneTimePlanRequest =\n initialState.purchaseLeadFinderOneTimePlanRequest;\n state.purchaseLeadFinderOneTimePlanResponse =\n initialState.purchaseLeadFinderOneTimePlanResponse;\n },\n },\n extraReducers: (builder) => {\n // Get account subscription detail\n builder.addCase(getAccountSubscriptionRequest.pending, (state) => {\n state.getAccountSubscriptionRequest.status = RequestStatus.Pending;\n state.getAccountSubscriptionRequest.message = null;\n state.getAccountSubscriptionRequest.error = null;\n });\n builder.addCase(getAccountSubscriptionPlanRequest.pending, (state) => {\n state.getAccountSubscriptionPlanRequest.status = RequestStatus.Pending;\n state.getAccountSubscriptionPlanRequest.message = null;\n state.getAccountSubscriptionPlanRequest.error = null;\n });\n builder.addCase(\n getAccountSubscriptionRequest.fulfilled,\n (state, action) => {\n state.getAccountSubscriptionRequest.status = RequestStatus.Succeeded;\n state.getAccountSubscriptionResponse = action.payload.payload;\n state.getAccountSubscriptionResponse.nextBillingAt = state.getAccountSubscriptionResponse.nextBillingAt?.replace(\n /-/g,\n '/',\n );\n state.getAccountSubscriptionResponse.startAt = state.getAccountSubscriptionResponse.startAt?.replace(\n /-/g,\n '/',\n );\n state.getAccountSubscriptionRequest.message = null;\n state.getAccountSubscriptionRequest.error = null;\n },\n );\n builder.addCase(\n getAccountSubscriptionPlanRequest.fulfilled,\n (state, action) => {\n state.getAccountSubscriptionPlanRequest.status =\n RequestStatus.Succeeded;\n state.getAccountSubscriptionPlanResponse = action.payload.payload;\n state.getAccountSubscriptionPlanResponse.startAt = state.getAccountSubscriptionPlanResponse.startAt?.replace(\n /-/g,\n '/',\n );\n state.getAccountSubscriptionPlanResponse.endAt = state.getAccountSubscriptionPlanResponse.endAt?.replace(\n /-/g,\n '/',\n );\n // state.getAccountSubscriptionPlanResponse.message = null;\n // state.getAccountSubscriptionPlanResponse.error = null;\n },\n );\n builder.addCase(getAccountSubscriptionRequest.rejected, (state, action) => {\n state.getAccountSubscriptionRequest.status = RequestStatus.Failed;\n state.getAccountSubscriptionRequest.message = action.payload.message;\n state.getAccountSubscriptionRequest.error =\n !action.payload.isHandled && action.payload;\n });\n builder.addCase(\n getAccountSubscriptionPlanRequest.rejected,\n (state, action) => {\n state.getAccountSubscriptionRequest.status = RequestStatus.Failed;\n state.getAccountSubscriptionRequest.message = action.payload.message;\n state.getAccountSubscriptionRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Get Lead Finder subscription detail\n\n builder.addCase(getLeadFinderSubscriptionRequest.pending, (state) => {\n state.getLeadFinderSubscriptionRequest.status = RequestStatus.Pending;\n state.getLeadFinderSubscriptionRequest.message = null;\n state.getLeadFinderSubscriptionRequest.error = null;\n });\n builder.addCase(\n getLeadFinderSubscriptionRequest.fulfilled,\n (state, action) => {\n state.getLeadFinderSubscriptionRequest.status = RequestStatus.Succeeded;\n state.getLeadFinderSubscriptionResponse = action.payload.payload;\n state.getLeadFinderSubscriptionResponse.nextBillingAt = state.getLeadFinderSubscriptionResponse.nextBillingAt?.replace(\n /-/g,\n '/',\n );\n state.getLeadFinderSubscriptionResponse.startAt = state.getLeadFinderSubscriptionResponse.startAt?.replace(\n /-/g,\n '/',\n );\n state.getLeadFinderSubscriptionRequest.message = null;\n state.getLeadFinderSubscriptionRequest.error = null;\n },\n );\n builder.addCase(\n getLeadFinderSubscriptionRequest.rejected,\n (state, action) => {\n state.getLeadFinderSubscriptionRequest.status = RequestStatus.Failed;\n state.getLeadFinderSubscriptionRequest.message = action.payload.message;\n state.getLeadFinderSubscriptionRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Get invoice-url request\n builder.addCase(getInvoiceURLRequest.pending, (state) => {\n state.getInvoiceURLRequest.status = RequestStatus.Pending;\n state.getInvoiceURLRequest.message = null;\n state.getInvoiceURLRequest.error = null;\n });\n builder.addCase(getInvoiceURLRequest.fulfilled, (state, action) => {\n state.getInvoiceURLRequest.status = RequestStatus.Succeeded;\n state.getInvoiceResponse = action.payload.payload;\n state.getInvoiceURLRequest.message = null;\n state.getInvoiceURLRequest.error = null;\n });\n builder.addCase(getInvoiceURLRequest.rejected, (state, action) => {\n state.getInvoiceURLRequest.status = RequestStatus.Failed;\n state.getInvoiceURLRequest.message = action.payload.message;\n state.getInvoiceURLRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Purchase Subscription request\n builder.addCase(purchaseSubscriptionRequest.pending, (state) => {\n state.purchaseSubscriptionRequest.status = RequestStatus.Pending;\n state.purchaseSubscriptionRequest.message = null;\n state.purchaseSubscriptionRequest.error = null;\n });\n builder.addCase(purchaseSubscriptionRequest.fulfilled, (state, action) => {\n state.purchaseSubscriptionRequest.status = RequestStatus.Succeeded;\n state.purchaseSubscriptionRequest.message =\n action.payload.payload.message;\n state.purchaseSubscriptionRequest.error = null;\n });\n builder.addCase(purchaseSubscriptionRequest.rejected, (state, action) => {\n state.purchaseSubscriptionRequest.status = RequestStatus.Failed;\n state.purchaseSubscriptionRequest.message = action.payload.message;\n state.purchaseSubscriptionRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Purchase Lead Finder Subscription request\n builder.addCase(purchaseLeadFinderSubscriptionRequest.pending, (state) => {\n state.purchaseLeadFinderSubscriptionRequest.status =\n RequestStatus.Pending;\n state.purchaseLeadFinderSubscriptionRequest.message = null;\n state.purchaseLeadFinderSubscriptionRequest.error = null;\n });\n builder.addCase(\n purchaseLeadFinderSubscriptionRequest.fulfilled,\n (state, action) => {\n state.purchaseLeadFinderSubscriptionRequest.status =\n RequestStatus.Succeeded;\n state.purchaseLeadFinderSubscriptionRequest.message =\n action.payload.payload.message;\n state.purchaseLeadFinderSubscriptionRequest.error = null;\n },\n );\n builder.addCase(\n purchaseLeadFinderSubscriptionRequest.rejected,\n (state, action) => {\n state.purchaseLeadFinderSubscriptionRequest.status =\n RequestStatus.Failed;\n state.purchaseLeadFinderSubscriptionRequest.message =\n action.payload.message;\n state.purchaseLeadFinderSubscriptionRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Apply coupon code request\n builder.addCase(applyCouponCodeRequest.pending, (state) => {\n state.applyCouponCodeRequest.status = RequestStatus.Pending;\n state.applyCouponCodeRequest.message = null;\n state.applyCouponCodeRequest.error = null;\n });\n builder.addCase(applyCouponCodeRequest.fulfilled, (state, action) => {\n state.applyCouponCodeRequest.status = RequestStatus.Succeeded;\n state.applyCouponCodeRequest.message = action.payload.payload.message;\n state.applyCouponCodeRequest.error = null;\n state.applyCouponCodeResponse = action.payload.payload;\n });\n builder.addCase(applyCouponCodeRequest.rejected, (state, action) => {\n state.applyCouponCodeRequest.status = RequestStatus.Failed;\n state.applyCouponCodeRequest.message = action.payload.message;\n state.applyCouponCodeRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get plans request\n builder.addCase(getPlansRequest.pending, (state) => {\n state.getPlansRequest.status = RequestStatus.Pending;\n state.getPlansRequest.message = null;\n state.getPlansRequest.error = null;\n });\n builder.addCase(getPlansRequest.fulfilled, (state, action) => {\n state.getPlansRequest.status = RequestStatus.Succeeded;\n state.getPlansResponse = action.payload.payload.rows;\n state.getPlansRequest.message = null;\n state.getPlansRequest.error = null;\n });\n builder.addCase(getPlansRequest.rejected, (state, action) => {\n state.getPlansRequest.status = RequestStatus.Failed;\n state.getPlansRequest.message = action.payload.message;\n state.getPlansRequest.error = !action.payload.isHandled && action.payload;\n });\n\n // Get Lead Finder plans request\n builder.addCase(getLeadFinderPlansRequest.pending, (state) => {\n state.getLeadFinderPlansRequest.status = RequestStatus.Pending;\n state.getLeadFinderPlansRequest.message = null;\n state.getLeadFinderPlansRequest.error = null;\n });\n builder.addCase(getLeadFinderPlansRequest.fulfilled, (state, action) => {\n state.getLeadFinderPlansRequest.status = RequestStatus.Succeeded;\n state.getLeadFinderPlansResponse = action.payload.payload.rows;\n state.getLeadFinderPlansRequest.message = null;\n state.getLeadFinderPlansRequest.error = null;\n });\n builder.addCase(getLeadFinderPlansRequest.rejected, (state, action) => {\n state.getLeadFinderPlansRequest.status = RequestStatus.Failed;\n state.getLeadFinderPlansRequest.message = action.payload.message;\n state.getLeadFinderPlansRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get connected users and email accounts\n builder.addCase(\n getConnectedUsersAndEmailAccountsRequest.pending,\n (state) => {\n state.getConnectedUsersAndEmailAccountsRequest.status =\n RequestStatus.Pending;\n state.getConnectedUsersAndEmailAccountsRequest.message = null;\n state.getConnectedUsersAndEmailAccountsRequest.error = null;\n },\n );\n builder.addCase(\n getConnectedUsersAndEmailAccountsRequest.fulfilled,\n (state, action) => {\n state.getConnectedUsersAndEmailAccountsRequest.status =\n RequestStatus.Succeeded;\n // eslint-disable-next-line prefer-destructuring\n state.getConnectedUsersAndEmailAccountsResponse =\n action.payload.payload[0];\n state.getConnectedUsersAndEmailAccountsRequest.message = null;\n state.getConnectedUsersAndEmailAccountsRequest.error = null;\n },\n );\n builder.addCase(\n getConnectedUsersAndEmailAccountsRequest.rejected,\n (state, action) => {\n state.getConnectedUsersAndEmailAccountsRequest.status =\n RequestStatus.Failed;\n state.getConnectedUsersAndEmailAccountsRequest.message =\n action.payload.message;\n state.getConnectedUsersAndEmailAccountsRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Get email verification credits request\n builder.addCase(getEmailVerificationCreditsRequest.pending, (state) => {\n state.getEmailVerificationCreditsRequest.status = RequestStatus.Pending;\n state.getEmailVerificationCreditsRequest.message = null;\n state.getEmailVerificationCreditsRequest.error = null;\n });\n builder.addCase(\n getEmailVerificationCreditsRequest.fulfilled,\n (state, action) => {\n state.getEmailVerificationCreditsRequest.status =\n RequestStatus.Succeeded;\n state.getEmailVerificationCreditsResponse = action.payload.payload;\n state.getEmailVerificationCreditsRequest.message = null;\n state.getEmailVerificationCreditsRequest.error = null;\n },\n );\n builder.addCase(\n getEmailVerificationCreditsRequest.rejected,\n (state, action) => {\n state.getEmailVerificationCreditsRequest.status = RequestStatus.Failed;\n state.getEmailVerificationCreditsRequest.message =\n action.payload.message;\n state.getEmailVerificationCreditsRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Get email verification plans request\n builder.addCase(getEmailVerificationPlanRequest.pending, (state) => {\n state.getEmailVerificationPlanRequest.status = RequestStatus.Pending;\n state.getEmailVerificationPlanRequest.message = null;\n state.getEmailVerificationPlanRequest.error = null;\n });\n builder.addCase(\n getEmailVerificationPlanRequest.fulfilled,\n (state, action) => {\n state.getEmailVerificationPlanRequest.status = RequestStatus.Succeeded;\n state.getEmailVerificationPlanResponse = action.payload.payload.rows;\n state.getEmailVerificationPlanRequest.message = null;\n state.getEmailVerificationPlanRequest.error = null;\n },\n );\n builder.addCase(\n getEmailVerificationPlanRequest.rejected,\n (state, action) => {\n state.getEmailVerificationPlanRequest.status = RequestStatus.Failed;\n state.getEmailVerificationPlanRequest.message = action.payload.message;\n state.getEmailVerificationPlanRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Purchase email verification credits request\n builder.addCase(\n purchaseEmailVerificationCreditsRequest.pending,\n (state) => {\n state.purchaseEmailVerificationCreditsRequest.status =\n RequestStatus.Pending;\n state.purchaseEmailVerificationCreditsRequest.message = null;\n state.purchaseEmailVerificationCreditsRequest.error = null;\n },\n );\n builder.addCase(\n purchaseEmailVerificationCreditsRequest.fulfilled,\n (state, action) => {\n state.purchaseEmailVerificationCreditsRequest.status =\n RequestStatus.Succeeded;\n state.purchaseEmailVerificationCreditsResponse = action.payload.payload;\n state.purchaseEmailVerificationCreditsRequest.message =\n action.payload.payload.message;\n state.purchaseEmailVerificationCreditsRequest.error = null;\n },\n );\n builder.addCase(\n purchaseEmailVerificationCreditsRequest.rejected,\n (state, action) => {\n state.purchaseEmailVerificationCreditsRequest.status =\n RequestStatus.Failed;\n state.purchaseEmailVerificationCreditsRequest.message =\n action.payload.message;\n state.purchaseEmailVerificationCreditsRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n // Modify subscription request\n builder.addCase(modifySubscriptionRequest.pending, (state) => {\n state.modifySubscriptionRequest.status = RequestStatus.Pending;\n state.modifySubscriptionRequest.message = null;\n state.modifySubscriptionRequest.error = null;\n });\n builder.addCase(modifySubscriptionRequest.fulfilled, (state, action) => {\n state.modifySubscriptionRequest.status = RequestStatus.Succeeded;\n state.modifySubscriptionRequest.message = action.payload.payload.message;\n state.modifySubscriptionRequest.error = null;\n state.modifySubscriptionResponse = action.payload.payload;\n });\n builder.addCase(modifySubscriptionRequest.rejected, (state, action) => {\n state.modifySubscriptionRequest.status = RequestStatus.Failed;\n state.modifySubscriptionRequest.message = action.payload.message;\n state.modifySubscriptionRequest.error =\n !action.payload.isHandled && action.payload;\n });\n // Purchase modify subscription request\n builder.addCase(purchaseModifySubscriptionRequest.pending, (state) => {\n state.purchaseModifySubscriptionRequest.status = RequestStatus.Pending;\n state.purchaseModifySubscriptionRequest.message = null;\n state.purchaseModifySubscriptionRequest.error = null;\n });\n builder.addCase(\n purchaseModifySubscriptionRequest.fulfilled,\n (state, action) => {\n state.purchaseModifySubscriptionRequest.status =\n RequestStatus.Succeeded;\n state.purchaseModifySubscriptionResponse = action.payload?.payload;\n state.purchaseModifySubscriptionRequest.message = null;\n state.purchaseModifySubscriptionRequest.error = null;\n },\n );\n builder.addCase(\n purchaseModifySubscriptionRequest.rejected,\n (state, action) => {\n state.purchaseModifySubscriptionRequest.status = RequestStatus.Failed;\n state.purchaseModifySubscriptionRequest.message =\n action.payload.message;\n state.purchaseModifySubscriptionRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Purchase Lead Finder modify subscription request\n builder.addCase(\n purchaseLeadFinderModifySubscriptionRequest.pending,\n (state) => {\n state.purchaseLeadFinderModifySubscriptionRequest.status =\n RequestStatus.Pending;\n state.purchaseLeadFinderModifySubscriptionRequest.message = null;\n state.purchaseLeadFinderModifySubscriptionRequest.error = null;\n },\n );\n builder.addCase(\n purchaseLeadFinderModifySubscriptionRequest.fulfilled,\n (state, action) => {\n state.purchaseLeadFinderModifySubscriptionRequest.status =\n RequestStatus.Succeeded;\n state.purchaseLeadFinderModifySubscriptionResponse =\n action.payload?.payload;\n state.purchaseLeadFinderModifySubscriptionRequest.message =\n action.payload.payload.message;\n state.purchaseLeadFinderModifySubscriptionRequest.error = null;\n },\n );\n builder.addCase(\n purchaseLeadFinderModifySubscriptionRequest.rejected,\n (state, action) => {\n state.purchaseLeadFinderModifySubscriptionRequest.status =\n RequestStatus.Failed;\n state.purchaseLeadFinderModifySubscriptionRequest.message =\n action.payload.message;\n state.purchaseLeadFinderModifySubscriptionRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Reactivate subscription request\n builder.addCase(reactivateSubscriptionRequest.pending, (state) => {\n state.reactivateSubscriptionRequest.status = RequestStatus.Pending;\n state.reactivateSubscriptionRequest.message = null;\n state.reactivateSubscriptionRequest.error = null;\n });\n builder.addCase(\n reactivateSubscriptionRequest.fulfilled,\n (state, action) => {\n state.reactivateSubscriptionRequest.status = RequestStatus.Succeeded;\n state.reactivateSubscriptionResponse = action.payload.payload;\n state.reactivateSubscriptionRequest.message = null;\n state.reactivateSubscriptionRequest.error = null;\n },\n );\n builder.addCase(reactivateSubscriptionRequest.rejected, (state, action) => {\n state.reactivateSubscriptionRequest.status = RequestStatus.Failed;\n state.reactivateSubscriptionRequest.message = action.payload.message;\n state.reactivateSubscriptionRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Reactivate Lead Finder subscription request\n builder.addCase(\n reactivateLeadFinderSubscriptionRequest.pending,\n (state) => {\n state.reactivateLeadFinderSubscriptionRequest.status =\n RequestStatus.Pending;\n state.reactivateLeadFinderSubscriptionRequest.message = null;\n state.reactivateLeadFinderSubscriptionRequest.error = null;\n },\n );\n builder.addCase(\n reactivateLeadFinderSubscriptionRequest.fulfilled,\n (state, action) => {\n state.reactivateLeadFinderSubscriptionRequest.status =\n RequestStatus.Succeeded;\n state.reactivateLeadFinderSubscriptionResponse = action.payload.payload;\n state.reactivateLeadFinderSubscriptionRequest.message = null;\n state.reactivateLeadFinderSubscriptionRequest.error = null;\n },\n );\n builder.addCase(\n reactivateLeadFinderSubscriptionRequest.rejected,\n (state, action) => {\n state.reactivateLeadFinderSubscriptionRequest.status =\n RequestStatus.Failed;\n state.reactivateLeadFinderSubscriptionRequest.message =\n action.payload.message;\n state.reactivateLeadFinderSubscriptionRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Resume subscription request\n builder.addCase(resumeSubscriptionRequest.pending, (state) => {\n state.resumeSubscriptionRequest.status = RequestStatus.Pending;\n state.resumeSubscriptionRequest.message = null;\n state.resumeSubscriptionRequest.error = null;\n });\n builder.addCase(resumeSubscriptionRequest.fulfilled, (state, action) => {\n state.resumeSubscriptionRequest.status = RequestStatus.Succeeded;\n state.resumeSubscriptionResponse = action.payload?.payload;\n state.resumeSubscriptionRequest.message = null;\n state.resumeSubscriptionRequest.error = null;\n });\n builder.addCase(resumeSubscriptionRequest.rejected, (state, action) => {\n state.resumeSubscriptionRequest.status = RequestStatus.Failed;\n state.resumeSubscriptionRequest.message = action.payload.message;\n state.resumeSubscriptionRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Resume Lead Finder subscription request\n builder.addCase(resumeLeadFinderSubscriptionRequest.pending, (state) => {\n state.resumeLeadFinderSubscriptionRequest.status = RequestStatus.Pending;\n state.resumeLeadFinderSubscriptionRequest.message = null;\n state.resumeLeadFinderSubscriptionRequest.error = null;\n });\n builder.addCase(\n resumeLeadFinderSubscriptionRequest.fulfilled,\n (state, action) => {\n state.resumeLeadFinderSubscriptionRequest.status =\n RequestStatus.Succeeded;\n state.resumeLeadFinderSubscriptionResponse = action.payload?.payload;\n state.resumeLeadFinderSubscriptionRequest.message = null;\n state.resumeLeadFinderSubscriptionRequest.error = null;\n },\n );\n builder.addCase(\n resumeLeadFinderSubscriptionRequest.rejected,\n (state, action) => {\n state.resumeLeadFinderSubscriptionRequest.status = RequestStatus.Failed;\n state.resumeLeadFinderSubscriptionRequest.message =\n action.payload.message;\n state.resumeLeadFinderSubscriptionRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Handle Subscription Request\n builder.addCase(handleSubscriptionRequest.pending, (state) => {\n state.handleSubscriptionRequest.status = RequestStatus.Pending;\n state.handleSubscriptionRequest.message = null;\n state.handleSubscriptionRequest.error = null;\n });\n builder.addCase(handleSubscriptionRequest.fulfilled, (state, action) => {\n state.handleSubscriptionRequest.status = RequestStatus.Succeeded;\n state.handleSubscriptionResponse = action.payload.payload;\n state.handleSubscriptionRequest.message = null;\n state.handleSubscriptionRequest.error = null;\n });\n builder.addCase(handleSubscriptionRequest.rejected, (state, action) => {\n state.handleSubscriptionRequest.status = RequestStatus.Failed;\n state.handleSubscriptionRequest.message = action.payload.message;\n state.handleSubscriptionRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Handle Lead Finder Subscription Request\n builder.addCase(\n handleLeadFinderChurnkeySubscriptionRequest.pending,\n (state) => {\n state.handleLeadFinderChurnkeySubscriptionRequest.status =\n RequestStatus.Pending;\n state.handleLeadFinderChurnkeySubscriptionRequest.message = null;\n state.handleLeadFinderChurnkeySubscriptionRequest.error = null;\n },\n );\n builder.addCase(\n handleLeadFinderChurnkeySubscriptionRequest.fulfilled,\n (state, action) => {\n state.handleLeadFinderChurnkeySubscriptionRequest.status =\n RequestStatus.Succeeded;\n state.handleLeadFinderChurnkeySubscriptionResponse =\n action.payload.payload;\n state.handleLeadFinderChurnkeySubscriptionRequest.message = null;\n state.handleLeadFinderChurnkeySubscriptionRequest.error = null;\n },\n );\n builder.addCase(\n handleLeadFinderChurnkeySubscriptionRequest.rejected,\n (state, action) => {\n state.handleLeadFinderChurnkeySubscriptionRequest.status =\n RequestStatus.Failed;\n state.handleLeadFinderChurnkeySubscriptionRequest.message =\n action.payload.message;\n state.handleLeadFinderChurnkeySubscriptionRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Calculate Pay Request\n builder.addCase(calculatePayRequest.pending, (state) => {\n state.calculatePayRequest.status = RequestStatus.Pending;\n state.calculatePayRequest.message = null;\n state.calculatePayRequest.error = null;\n });\n builder.addCase(calculatePayRequest.fulfilled, (state, action) => {\n state.calculatePayRequest.status = RequestStatus.Succeeded;\n state.getCalculatePayResponse = action.payload.payload;\n state.calculatePayRequest.message = action.payload.message;\n state.calculatePayRequest.error = null;\n });\n builder.addCase(calculatePayRequest.rejected, (state, action) => {\n state.calculatePayRequest.status = RequestStatus.Failed;\n state.calculatePayRequest.message = action.payload.message;\n state.calculatePayRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Upgrade Plan Request\n builder.addCase(upgradePlanRequest.pending, (state) => {\n state.upgradePlanRequest.status = RequestStatus.Pending;\n state.upgradePlanRequest.message = null;\n state.upgradePlanRequest.error = null;\n });\n builder.addCase(upgradePlanRequest.fulfilled, (state) => {\n state.upgradePlanRequest.status = RequestStatus.Succeeded;\n state.upgradePlanRequest.message = null;\n state.upgradePlanRequest.error = null;\n });\n builder.addCase(upgradePlanRequest.rejected, (state, action) => {\n state.upgradePlanRequest.status = RequestStatus.Failed;\n state.upgradePlanRequest.message = action.payload.message;\n state.upgradePlanRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Downgrade Plan Request\n builder.addCase(downgradePlanRequest.pending, (state) => {\n state.downgradePlanRequest.status = RequestStatus.Pending;\n state.downgradePlanRequest.message = null;\n state.downgradePlanRequest.error = null;\n });\n builder.addCase(downgradePlanRequest.fulfilled, (state) => {\n state.downgradePlanRequest.status = RequestStatus.Succeeded;\n state.downgradePlanRequest.message = null;\n state.downgradePlanRequest.error = null;\n });\n builder.addCase(downgradePlanRequest.rejected, (state, action) => {\n state.downgradePlanRequest.status = RequestStatus.Failed;\n state.downgradePlanRequest.message = action.payload.message;\n state.downgradePlanRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // LTD Purchase Plan Request\n builder.addCase(purchaseLtdPlanRequest.pending, (state) => {\n state.purchaseLtdPlanRequest.status = RequestStatus.Pending;\n state.purchaseLtdPlanRequest.message = null;\n state.purchaseLtdPlanRequest.error = null;\n });\n builder.addCase(purchaseLtdPlanRequest.fulfilled, (state, action) => {\n state.purchaseLtdPlanRequest.status = RequestStatus.Succeeded;\n state.purchaseLtdPlanRequest.message = action.payload.message;\n state.purchaseLtdPlanRequest.error = null;\n state.purchaseLtdPlanResponse = action.payload.payload;\n });\n builder.addCase(purchaseLtdPlanRequest.rejected, (state, action) => {\n state.purchaseLtdPlanRequest.status = RequestStatus.Failed;\n state.purchaseLtdPlanRequest.message = action.payload.message;\n state.purchaseLtdPlanRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // LTD Upgrade Plan Request\n builder.addCase(upgradeLtdPlanRequest.pending, (state) => {\n state.upgradeLtdPlanRequest.status = RequestStatus.Pending;\n state.upgradeLtdPlanRequest.message = null;\n state.upgradeLtdPlanRequest.error = null;\n });\n builder.addCase(upgradeLtdPlanRequest.fulfilled, (state, action) => {\n state.upgradeLtdPlanRequest.status = RequestStatus.Succeeded;\n state.upgradeLtdPlanRequest.message = action.payload.message;\n state.upgradeLtdPlanRequest.error = null;\n state.upgradeLtdPlanResponse = action.payload.payload;\n });\n builder.addCase(upgradeLtdPlanRequest.rejected, (state, action) => {\n state.upgradeLtdPlanRequest.status = RequestStatus.Failed;\n state.upgradeLtdPlanRequest.message = action.payload.message;\n state.upgradeLtdPlanRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // LTD Modify Plan Request\n builder.addCase(modifyLtdPlanRequest.pending, (state) => {\n state.modifyLtdPlanRequest.status = RequestStatus.Pending;\n state.modifyLtdPlanRequest.message = null;\n state.modifyLtdPlanRequest.error = null;\n });\n builder.addCase(modifyLtdPlanRequest.fulfilled, (state, action) => {\n state.modifyLtdPlanRequest.status = RequestStatus.Succeeded;\n state.modifyLtdPlanRequest.message = action.payload.message;\n state.modifyLtdPlanRequest.error = null;\n state.modifyLtdPlanResponse = action.payload.payload;\n });\n builder.addCase(modifyLtdPlanRequest.rejected, (state, action) => {\n state.modifyLtdPlanRequest.status = RequestStatus.Failed;\n state.modifyLtdPlanRequest.message = action.payload.message;\n state.modifyLtdPlanRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Purchase History\n builder.addCase(getPurchaseHistoryRequest.pending, (state) => {\n state.getPurchaseHistoryRequest.status = RequestStatus.Pending;\n state.getPurchaseHistoryRequest.error = null;\n state.getPurchaseHistoryRequest.message = null;\n });\n builder.addCase(getPurchaseHistoryRequest.fulfilled, (state, action) => {\n state.getPurchaseHistoryRequest.status = RequestStatus.Succeeded;\n state.purchaseHistory = action.payload.payload.history;\n });\n builder.addCase(getPurchaseHistoryRequest.rejected, (state, action) => {\n state.getPurchaseHistoryRequest.status = RequestStatus.Failed;\n state.getPurchaseHistoryRequest.message = action.payload.message;\n state.getPurchaseHistoryRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Purchase Details By Id\n builder.addCase(getPurchaseDetailsByIdRequest.pending, (state) => {\n state.getPurchaseDetailsByIdRequest.status = RequestStatus.Pending;\n state.getPurchaseDetailsByIdRequest.error = null;\n state.getPurchaseDetailsByIdRequest.message = null;\n });\n builder.addCase(\n getPurchaseDetailsByIdRequest.fulfilled,\n (state, action) => {\n state.getPurchaseDetailsByIdRequest.status = RequestStatus.Succeeded;\n state.purchaseDetailsById = action.payload.payload;\n },\n );\n builder.addCase(getPurchaseDetailsByIdRequest.rejected, (state, action) => {\n state.getPurchaseDetailsByIdRequest.status = RequestStatus.Failed;\n state.getPurchaseDetailsByIdRequest.message = action.payload.message;\n state.getPurchaseDetailsByIdRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n builder.addCase(exportCreditHistoryRequest.pending, (state) => {\n state.exportCreditHistoryRequest.status = RequestStatus.Pending;\n state.exportCreditHistoryRequest.error = null;\n state.exportCreditHistoryRequest.message = null;\n });\n\n builder.addCase(exportCreditHistoryRequest.fulfilled, (state, action) => {\n state.exportCreditHistoryRequest.status = RequestStatus.Succeeded;\n state.exportCreditHistoryRequest.message = action.payload.payload.message;\n });\n\n builder.addCase(exportCreditHistoryRequest.rejected, (state, action) => {\n state.exportCreditHistoryRequest.status = RequestStatus.Failed;\n state.exportCreditHistoryRequest.message = action.payload.message;\n state.exportCreditHistoryRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Lead Finder Plan Request\n builder.addCase(getLeadFinderOneTimePlansRequest.pending, (state) => {\n state.getLeadFinderOneTimePlansRequest.status = RequestStatus.Pending;\n state.getLeadFinderOneTimePlansRequest.message = null;\n state.getLeadFinderOneTimePlansRequest.error = null;\n });\n\n builder.addCase(getLeadFinderOneTimePlansRequest.fulfilled, (state, action) => {\n state.getLeadFinderOneTimePlansRequest.status = RequestStatus.Succeeded;\n state.getLeadFinderOneTimePlansResponse = action.payload.payload.rows;\n state.getLeadFinderOneTimePlansRequest.message = action.payload.payload.message;\n });\n\n builder.addCase(getLeadFinderOneTimePlansRequest.rejected, (state, action) => {\n state.getLeadFinderOneTimePlansRequest.status = RequestStatus.Failed;\n state.getLeadFinderOneTimePlansRequest.message = action.payload.message;\n state.getLeadFinderOneTimePlansRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Purchase Lead Finder Plan Request\n builder.addCase(purchaseLeadFinderOneTimePlanRequest.pending, (state) => {\n state.purchaseLeadFinderOneTimePlanRequest.status = RequestStatus.Pending;\n state.purchaseLeadFinderOneTimePlanRequest.message = null;\n state.purchaseLeadFinderOneTimePlanRequest.error = null;\n });\n\n builder.addCase(purchaseLeadFinderOneTimePlanRequest.fulfilled, (state, action) => {\n state.purchaseLeadFinderOneTimePlanRequest.status = RequestStatus.Succeeded;\n state.purchaseLeadFinderOneTimePlanResponse = action.payload.payload;\n state.purchaseLeadFinderOneTimePlanRequest.message = action.payload.payload.message;\n state.purchaseLeadFinderOneTimePlanRequest.error = null;\n });\n\n builder.addCase(purchaseLeadFinderOneTimePlanRequest.rejected, (state, action) => {\n state.purchaseLeadFinderOneTimePlanRequest.status = RequestStatus.Failed;\n state.purchaseLeadFinderOneTimePlanRequest.message = action.payload.message;\n state.purchaseLeadFinderOneTimePlanRequest.error =\n !action.payload.isHandled && action.payload;\n });\n \n },\n});\n\nexport const {\n resetSubscription,\n deleteAppliedCouponCode,\n resetPurchaseEmailVerificationCreditsResponse,\n resetPurchaseModifySubscriptionResponse,\n resetPurchaseLeadFinderModifySubscriptionResponse,\n resetModifySubscriptionResponse,\n resetCalculatePayState,\n resetReactivateSubscriptionResponse,\n resetReactivateLeadFinderSubscriptionResponse,\n resetResumeSubscriptionResponse,\n resetResumeLeadFinderSubscriptionResponse,\n resetConnectedUsersAndEmailAccountsRequest,\n resetHandleSubscriptionResponse,\n resetHandleLeadFinderSubscriptionChurnkeyResponse,\n resetPurchaseLtdPlan,\n resetUpgradeLtdPlan,\n resetModifyLtdPlan,\n selectPlan,\n resetInvoice,\n resetPurchaseDetails,\n resetExportCreditHistoryRequest,\n resetPurchaseLeadFinderOneTimePlan,\n} = billingSubscriptionSlice.actions;\n\nexport default billingSubscriptionSlice.reducer;\n","export const supportUrls = Object.freeze({\n teamsOfService: 'https://www.saleshandy.com/terms/',\n emailVerificationBlog:\n 'https://docs.saleshandy.com/en/articles/6970056-email-verification-what-why-and-how-to-set-it-up-in-saleshandy',\n scheduleCall:\n 'https://www.saleshandy.com/demo/?utm_source=webapp&utm_medium=top_right_button&utm_campaign=product_demo_v3/',\n refundPolicy: 'https://docs.saleshandy.com/en/articles/6969685-refund-policy',\n becomeOurAffiliate:\n 'https://www.saleshandy.com/affiliate-program/?utm_source=inapp&utm_medium=direct&utm_campaign=affiliate',\n warmupFaq:\n 'https://docs.saleshandy.com/en/articles/7146556-transition-to-trulyinbox-for-email-warm-up',\n outreachPlanViewFAQ:\n 'https://docs.saleshandy.com/en/articles/6980297-everything-about-saleshandy-s-pricing-and-plans',\n leadFinderPlanViewFAQ:\n 'https://docs.saleshandy.com/en/articles/8778847-saleshandy-lead-finder-pricing-plans',\n updateCardDetails:\n 'https://billing.stripe.com/p/login/14kbJC7H05AW8qk9AA?prefilled_email=',\n smtpImapCouldNotAuth:\n 'https://docs.saleshandy.com/en/articles/7041196-how-to-fix-smtp-imap-could-not-authenticate-error',\n smtpImapEmailNotFound:\n 'https://docs.saleshandy.com/en/articles/6970075-how-to-fix-smtp-imap-email-not-found-error',\n smtpImapConnectionTimeOut:\n 'https://docs.saleshandy.com/en/articles/7041212-how-to-fix-smtp-imap-connection-timeout-error',\n smtpImapOtherError:\n 'https://docs.saleshandy.com/en/articles/7041222-how-to-fix-smtp-imap-other-error',\n pauseProspectInSequence:\n 'https://docs.saleshandy.com/en/articles/6970073-how-to-pause-a-prospect-in-sequence',\n spintaxBlog:\n 'https://docs.saleshandy.com/en/articles/6946631-what-is-spintax-how-to-use-it-with-saleshandy',\n emailInfrastructureFAQ:\n 'https://docs.saleshandy.com/en/articles/10530994-email-infrastructure-in-saleshandy',\n coldEmailMasterClass:\n 'https://www.saleshandy.com/cold-email-masterclass/?utm_source=inapp&utm_medium=inappsection&utm_campaign=coldemailmastery',\n intercomBaseUrl: 'https://api-iam.intercom.io',\n celloBaseUsrl: 'https://api.sandbox.cello.so/\t',\n howToConnectGmailAccountWithSmtpImap:\n 'https://docs.saleshandy.com/en/articles/6948265-how-to-connect-a-gmail-account-with-smtp-imap',\n howToConnectGmailAccountWithSmtpImapStep3:\n 'https://docs.saleshandy.com/en/articles/6948265-how-to-connect-a-gmail-account-with-smtp-imap#h_6cddbd857b',\n howToConnectGmailAccountWithSmtpImapVideo: 'https://youtu.be/fUpKGwuncvQ',\n learnHowUnifiedInboxWorks:\n 'https://docs.saleshandy.com/en/articles/6999237-unified-inbox-explained',\n trulyInboxForWarmupFaq:\n 'https://docs.saleshandy.com/en/articles/7146556-transition-to-trulyinbox-for-email-warm-up',\n sequenceReport:\n 'https://docs.saleshandy.com/en/articles/7237800-sequence-reports-explained',\n\n spfYtUrl: 'https://www.youtube.com/embed/EvZE4FEzF6Q',\n ctdYtUrl: 'https://www.youtube.com/embed/0KBK9bIggoc',\n dmarcYtUrl: 'https://www.youtube.com/embed/DrG1j0G1krg',\n emailAgeYtUrl: 'https://www.youtube.com/embed/rcv6PPyTn70',\n dmarcVideoUrl:\n 'https://fast.wistia.com/embed/medias/vdbuo6sgk1?web_component=true&seo=true',\n ctdVideoUrl:\n 'https://fast.wistia.com/embed/medias/p8hy5sssxu?web_component=true&seo=true',\n spfVideoUrl:\n 'https://fast.wistia.com/embed/medias/8zoa6z1emh?web_component=true&seo=true',\n dkimVideoUrl:\n 'https://fast.wistia.com/embed/medias/w4f79q2077?web_component=true&seo=true',\n mxRecordVideoUrl:\n 'https://fast.wistia.com/embed/medias/d95lkfszwa?web_component=true&seo=true',\n sendingIntervalVideoUrl:\n 'https://fast.wistia.com/embed/medias/k7wa1rsf0k?web_component=true&seo=true',\n domainIPBlacklistVideoUrl:\n 'https://fast.wistia.com/embed/medias/j1853kgdbt?web_component=true&seo=true',\n emailAgeVideoUrl:\n 'https://fast.wistia.com/embed/medias/exmf7bk9qw?web_component=true&seo=true',\n dailySendingQuotaVideoUrl:\n 'https://fast.wistia.com/embed/medias/0v4ersqngk?web_component=true&seo=true',\n spfBlog:\n 'https://docs.saleshandy.com/en/articles/8001502-spf-what-why-and-how-to-set-it-up',\n ctdBLog:\n 'https://docs.saleshandy.com/en/articles/7991392-setting-up-your-custom-tracking-domain-step-by-step-guide',\n dmarcBlog:\n 'https://docs.saleshandy.com/en/articles/8003992-dmarc-what-why-and-how-to-set-it-up',\n emailAgeBlog:\n 'https://docs.saleshandy.com/en/articles/7876762-email-set-up-score-what-why-and-how-to-set-it-up#h_d746a318bc',\n emailSendingIntervalBlog:\n 'https://docs.saleshandy.com/en/articles/6970057-email-sending-settings-limit-how-many-emails-can-i-send-with-saleshandy',\n domainAndIPBlacklistBlog:\n 'https://docs.saleshandy.com/en/articles/10597760-how-to-delist-ip-and-domain-from-blacklist',\n dkimBlog:\n 'https://docs.saleshandy.com/en/articles/8001406-dkim-what-why-and-how-to-set-it-up',\n mxRecordBlog:\n 'https://docs.saleshandy.com/en/articles/8637190-how-to-add-an-mx-records-in-godaddy',\n integration:\n 'https://docs.saleshandy.com/en/collections/3820211-integrations',\n zapierIntegrationBlog:\n 'https://docs.saleshandy.com/en/articles/8861470-zapier-integration',\n zapierIntegration: 'https://zapier.com/apps/saleshandy/integrations',\n videoPersonalizationBlog:\n 'https://docs.saleshandy.com/en/articles/9614843-elevate-your-cold-email-strategy-with-personalized-video-campaigns',\n pitchlaneIntegration:\n 'https://pitchlane.com/integrations/saleshandy?ref=Saleshandy',\n sendlerIntegration: 'https://sendler.ai?fpr=naitik13',\n sendsparkIntegration: 'https://sendspark.com/?via=saleshandy',\n weezlyIntegration: 'https://weezly.com/?aff=SaleshandyIntegration',\n bulkImportGuide:\n 'https://docs.saleshandy.com/en/articles/7881940-bulk-email-import-explained',\n bulkImportSampleCSV:\n 'https://v3artifacts.s3.us-west-2.amazonaws.com/161024/Connect%2BBulk%2BEmail%2BDemo%2B__%2BSaleshandy.csv',\n bulkImportSampleCSVWhitelabel:\n 'https://v3artifacts.s3.us-west-2.amazonaws.com/Connect+Bulk+Email+Demo.csv',\n ccBccBlog:\n 'https://docs.saleshandy.com/en/articles/7055488-sequence-settings-what-why-and-how-to-set-it-up#h_f79518846d',\n agencyPortalVideoGuide: 'https://www.youtube.com/embed/pOvzJp84QI0',\n customTrackingDomainVideoGuide: 'https://www.youtube.com/embed/0KBK9bIggoc',\n doYouKnowWhyScheduledEmailsAreNotShown:\n 'https://docs.saleshandy.com/en/articles/8286429-do-you-know-why-scheduled-emails-are-not-shown',\n planComparisonPDFURL:\n 'https://v3artifacts.s3.us-west-2.amazonaws.com/downloads/Saleshandy+plans+comparison.pdf',\n prospectEngagement:\n 'https://docs.saleshandy.com/en/articles/7237800-reports-what-why-and-how-to-set-it-up#h_b95ab79588',\n prospectOutcome:\n 'https://docs.saleshandy.com/en/articles/7237800-reports-what-why-and-how-to-set-it-up#h_fb48cf48e3',\n emailEngagement:\n 'https://docs.saleshandy.com/en/articles/7237800-reports-what-why-and-how-to-set-it-up#h_de9e535255',\n outOfOfficeBlog:\n 'https://docs.saleshandy.com/en/articles/8535613-out-of-office-detection-auto-pause-and-resume',\n agencyPortalSignupURL:\n 'https://agency.saleshandy.com/signup?utm_source=V3_inappagencytab&utm_medium=V3product&utm_campaign=product',\n g2ReviewSubmissionForm: 'https://forms.gle/tLnbisjNK67dKGE87',\n g2LeadFinderReviewSubmissionForm:\n 'https://docs.google.com/forms/d/e/1FAIpQLSdnObefoF5Bct-e8kV8gs3EfRHI1thjHXcVnLqgGtkVw34tlw/viewform?usp=header',\n startG2ReviewLink: 'https://www.g2.com/products/saleshandy/reviews/start',\n AMSButtonSequenceScoreURL:\n 'https://www.saleshandy.com/account-management-service/?utm_source=AMS&utm_medium=saleshandy&utm_campaign=AMS_Sequence_Score&utm_id=ams-sequence-score',\n AMSButtonEmailSetupScoreURL:\n 'https://www.saleshandy.com/account-management-service/?utm_source=AMS&utm_medium=saleshandy&utm_campaign=AMS_Email_Score&utm_id=ams-email-score',\n webhookBlogURL: 'https://docs.saleshandy.com/en/articles/9202403-webhook-new',\n webhookSetupGuideURL:\n 'https://docs.saleshandy.com/en/articles/9202403-webhook-new#h_e0881be3d3',\n webhookExampleDataURL:\n 'https://docs.saleshandy.com/en/articles/9207215-example-webhook-data',\n agencyOnboardingVideoURL:\n 'https://fast.wistia.net/embed/iframe/cnj4a7b95u?seo=false&videoFoam=false',\n leadOnboardingVideoURL:\n 'https://fast.wistia.net/embed/iframe/c0g7p8xi49?seo=false&videoFoam=false',\n clientPermissionsBlog:\n 'https://docs.saleshandy.com/en/articles/9335104-client-permissions',\n dncBlogURL:\n 'https://docs.saleshandy.com/en/articles/9439569-introducing-the-do-not-contact-list-a-new-feature-in-saleshandy',\n findYourDNSProvider:\n 'https://docs.saleshandy.com/en/articles/6969623-how-to-check-your-dns-provider',\n whitelabelYoutubeURL:\n 'https://fast.wistia.net/embed/iframe/mc1whpvvu6?seo=true&videoFoam=false',\n whitelabelKnowMoreURL:\n 'https://docs.saleshandy.com/en/articles/9439052-white-label',\n variableTagsBlogURL: '',\n // 'https://docs.saleshandy.com/en/articles/9795619-variable-merge-tags-in-saleshandy',\n outreachOnboardingVideoURL:\n 'https://fast.wistia.net/embed/iframe/cnj4a7b95u?seo=false&videoFoam=false',\n stepsCreatedVideoURL:\n 'https://fast.wistia.net/embed/iframe/s5cow1py7q?seo=true&videoFoam=false',\n addProspectVideoURL:\n 'https://fast.wistia.net/embed/iframe/8ltu5czw5v?seo=true&videoFoam=false',\n connectEmailAccountVideoURL:\n 'https://fast.wistia.net/embed/iframe/7e3kcczr3j?seo=true&videoFoam=false',\n launchSequenceVideoURL:\n 'https://fast.wistia.net/embed/iframe/otp7n9w2g1?seo=true&videoFoam=false',\n addClientsVideoURL:\n 'https://fast.wistia.net/embed/iframe/lnuld49n2w?seo=true&videoFoam=false',\n sendingPriorityBlog:\n 'https://docs.saleshandy.com/en/articles/10008162-sending-priority-in-saleshandy',\n trackExternalEmailsBlog:\n 'https://docs.saleshandy.com/en/articles/10141100-enhanced-reply-tracking-in-unified-inbox',\n emailAccountSpf:\n 'https://docs.saleshandy.com/en/articles/8001502-spf-what-why-and-how-to-set-it-up',\n emailAccountDmarc:\n 'https://docs.saleshandy.com/en/articles/8003992-dmarc-what-why-and-how-to-set-it-up',\n emailAccountCustomDomain:\n 'https://docs.saleshandy.com/en/articles/6921749-custom-tracking-domain-explained',\n howToRunMultichannelSequences:\n 'https://docs.saleshandy.com/en/articles/10449816-how-to-run-multichannel-sequences-in-saleshandy',\n connectEmailAccountsVideoURL:\n 'https://fast.wistia.net/embed/iframe/7e3kcczr3j?web_component=true&seo=true',\n emailInfrastructureVideoURL:\n 'https://fast.wistia.net/embed/iframe/a7kutlqnad?web_component=true&seo=true',\n ssoSetUpBlog:\n 'https://docs.saleshandy.com/en/articles/10717545-setting-up-sso-in-saleshandy',\n sequenceViewBlog:\n 'https://docs.saleshandy.com/en/articles/10833856-smarter-sequence-view',\n});\n","export { default } from './select';\n","/* eslint-disable radix */\nimport api from '../../../api';\nimport { ResponseSuccess } from '../../../shared/types';\nimport { Source } from '../../../shared/enums/source';\nimport { ContactStatusType } from '../../sequence/enums';\nimport {\n ProspectParams,\n ProspectCountParams,\n AddToStepParams,\n markAsRepliedParam,\n AddTagsToProspectsPayload,\n RemoveTagsFromProspectsPayload,\n BulkActionPayload,\n changePrimaryEmailInProspectPayload,\n deleteSecondaryEmailParams,\n deleteSecondaryPhoneParams,\n ProspectListPayload,\n ProspectListByIdsPayload,\n PinUnpinActionType,\n ProspectFiltersValuesPayload,\n ProspectFiltersSequencesClientsPayload,\n ProspectFiltersSaveViewPayload,\n ProspectFiltersUpdateViewPayload,\n TagsGenerationType,\n ProspectFieldPayload,\n} from '../types';\n\n// Prospect\n\nexport const getProspectList = async ({\n filterGroupLogic,\n ...rest\n}: ProspectListPayload) =>\n api.post('/contacts/list', {\n ...(filterGroupLogic && { filterGroupLogic }),\n ...rest,\n });\n\nexport const getProspectListCount = async ({\n filterGroupLogic,\n ...rest\n}: ProspectListPayload) =>\n api.post('/contacts/count', {\n ...(filterGroupLogic && { filterGroupLogic }),\n ...rest,\n });\n\nexport const getProspectListByIds = async (payload: ProspectListByIdsPayload) =>\n api.post('/contacts/list-by-ids', payload);\n\nexport const getProspect = async (params: ProspectParams) =>\n api.get('/contacts', { params });\n\nexport const getProspectCount = async (params: ProspectCountParams) =>\n api.get('/contacts/count', { params });\n\nexport const getSequenceList = async () =>\n api.get('sequences/list?numberOfSteps=gt:0');\n\nexport const getStepList = async (sequenceId) =>\n api.get(`/sequences/${Number(sequenceId)}/steps`);\n\nexport const getStepDetailsList = async (sequenceId: string) =>\n api.get(`/sequences/${Number(sequenceId)}/step-filter-data`);\n\nexport const addContactsToStep = async ({\n contactIds,\n sequenceId,\n stepId,\n}: AddToStepParams) =>\n api.post(`/sequences/${Number(sequenceId)}/contacts`, {\n stepId,\n contactIds,\n });\n\nexport const removeProspect = async (contactIds: number[]) =>\n api.patch(`/contacts`, {\n contactIds,\n });\n\nexport const unsubscribeProspect = async (contactIds: number[]) =>\n api.post('/contacts/unsubscribe', {\n contactIds,\n });\n\nexport const getSingleProspectDetails = async (contactId) =>\n api.get(`/contacts/${parseInt(contactId)}`);\n\nexport const getMinimalSingleProspectSequencesDetails = async (contactId) =>\n api.get(\n `/contacts/${parseInt(contactId)}/minimal/sequences`,\n );\n\nexport const singleProspectSequencesMarkAsReplied = async (\n contactAndStepIds: markAsRepliedParam[],\n) =>\n api.patch(`/contacts/status`, {\n contactAndStepIds,\n status: ContactStatusType.Replied,\n });\n\nexport const singleProspectSequencesMarkAsFinished = async (\n contactAndStepIds: markAsRepliedParam[],\n) =>\n api.patch(`/contacts/status`, {\n contactAndStepIds,\n status: ContactStatusType.Finished,\n });\n\nexport const singleProspectRemoveFromSequences = async ({\n sequenceId,\n contactIds,\n}) =>\n api.patch(`/sequences/${parseInt(sequenceId)}/contacts`, {\n contactIds,\n });\n\nexport const saveContactAttributes = async (contactId: number, attributes) =>\n api.post(`/contacts/${contactId}/profile`, {\n attributes,\n });\n\nexport const saveContactDealValue = async (sequenceId, attributes) =>\n api.patch(`/contacts/${parseInt(sequenceId)}/deal-value`, {\n attributes,\n });\n\nexport const addProspectManually = async (attributes) =>\n api.post(\n `/contacts/`,\n {\n attributes,\n },\n { headers: { 'sh-source': Source.ProspectManually } },\n );\n\nexport const verifyProspects = async ({ contactIds }) =>\n api.post('/contacts/verify', {\n contactIds,\n });\n\nexport const getTags = async (generationType = TagsGenerationType.User) =>\n api.get(`/tag`, {\n params: {\n ...(generationType &&\n generationType !== TagsGenerationType.All && {\n generationType,\n }),\n },\n });\n\nexport const addTagsToProspects = async ({\n ids,\n prospects,\n newTags,\n}: AddTagsToProspectsPayload) =>\n api.post('/tag/assign', {\n ids,\n prospects,\n newTags,\n });\n\nexport const removeTagsFromProspects = async (\n payload: RemoveTagsFromProspectsPayload,\n) => api.post('/tag/un-assign', payload);\n\nexport const verifyBulkProspects = async (payload: BulkActionPayload) =>\n api.post('/contacts/bulk-verify', payload);\n\nexport const deleteBulkProspects = async (payload: BulkActionPayload) =>\n api.patch('/contacts/bulk-delete', payload);\n\nexport const unsubscribeBulkProspects = async (payload: BulkActionPayload) =>\n api.post('/contacts/bulk-unsubscribe', payload);\n\nexport const addBulkProspectsToStep = async ({\n sequenceId,\n ...payload\n}: BulkActionPayload) =>\n api.post(\n `/sequences/${parseInt(sequenceId)}/bulk-contacts`,\n payload,\n );\n\nexport const addTagsToBulkProspects = async (payload: BulkActionPayload) =>\n api.post('/tag/bulk-assign', payload);\n\nexport const removeTagsFromBulkProspects = async (payload: BulkActionPayload) =>\n api.post('/tag/bulk-un-assign', payload);\n\nexport const changePrimaryEmailInProspect = async ({\n primaryEmailProspectInfoId,\n contactId,\n}: changePrimaryEmailInProspectPayload) =>\n api.post(`/contacts/${contactId}/change-primary-email`, {\n primaryEmailProspectInfoId,\n });\n\nexport const deleteSecondaryEmail = async ({\n prospectInfoId,\n contactId,\n}: deleteSecondaryEmailParams) =>\n api.delete(`/contacts/${contactId}/email/${prospectInfoId}\n `);\n\nexport const deleteSecondaryPhone = async ({\n prospectInfoId,\n contactId,\n}: deleteSecondaryPhoneParams) =>\n api.delete(`/contacts/${contactId}/phone/${prospectInfoId}\n `);\n\nexport const getFilterViewList = async (params: ProspectListPayload) =>\n api.get('/contacts/prospect-view/list', { params });\n\nexport const pipUnpinSavedFilter = async (\n viewId: number,\n action: PinUnpinActionType,\n) =>\n api.patch(`/contacts/pin-view/${viewId}`, {\n action,\n });\n\nexport const updateSavedFilter = async (\n viewId: number,\n payload: { filterName: string; isShared: boolean; teamIds: number[] },\n) => api.patch(`/contacts/prospect-view/${viewId}`, payload);\n\nexport const deleteSavedView = async (viewId: number) =>\n api.delete(`/contacts/prospect-view/${viewId}`);\n\nexport const getProspectFiltersFieldsList = async () =>\n api.get('/contacts/fields/list');\n\nexport const getProspectFiltersFieldValues = async ({\n key: fieldName,\n page,\n pageSize,\n search,\n selectedIds,\n}: ProspectFiltersValuesPayload) =>\n api.get('/contacts/field/values', {\n params: {\n fieldName,\n page,\n pageSize,\n ...(search !== '' && { search }),\n ...(selectedIds?.length > 0 && { selectedIds: selectedIds.join(',') }),\n },\n });\n\nexport const getProspectFiltersAttributeFieldValues = async ({\n key: fieldId,\n page,\n pageSize,\n search,\n selectedIds,\n}: ProspectFiltersValuesPayload) =>\n api.get(`/contacts/attribute/${fieldId}/values`, {\n params: {\n page,\n pageSize,\n ...(search !== '' && { search }),\n ...(selectedIds?.length > 0 && { selectedIds: selectedIds.join(',') }),\n },\n });\n\nexport const getProspectFiltersSequencesList = async ({\n page,\n pageSize,\n search,\n selectedIds,\n}: ProspectFiltersSequencesClientsPayload) =>\n api.get(`/sequences/minimal-list`, {\n params: {\n page,\n pageSize,\n ...(search !== '' && { search }),\n ...(selectedIds?.length > 0 && { selectedIds: selectedIds.join(',') }),\n },\n });\n\nexport const getProspectFiltersClientsList = async ({\n page,\n pageSize,\n search,\n selectedIds,\n}: ProspectFiltersSequencesClientsPayload) =>\n api.get(`/client/minimal-list`, {\n params: {\n page,\n pageSize,\n ...(search !== '' && { search }),\n ...(selectedIds?.length > 0 && { selectedIds: selectedIds.join(',') }),\n },\n });\n\nexport const saveProspectFiltersView = async ({\n filterName,\n filterCriteria,\n isShared,\n teamIds,\n}: ProspectFiltersSaveViewPayload) =>\n api.post(`/contacts/prospect-view`, {\n filterName,\n filterCriteria,\n isShared,\n ...(teamIds?.length > 0 && { teamIds }),\n });\n\nexport const updateProspectFiltersView = async ({\n id,\n filterName,\n filterCriteria,\n isShared,\n teamIds,\n}: ProspectFiltersUpdateViewPayload) =>\n api.patch(`/contacts/prospect-view/${id}`, {\n filterName,\n filterCriteria,\n isShared,\n ...(filterName !== undefined && { filterName }),\n ...(filterCriteria !== undefined && { filterCriteria }),\n ...(isShared !== undefined && { isShared }),\n ...(teamIds !== undefined && { teamIds }),\n });\n\nexport const deleteProspectFiltersView = async (id: string) =>\n api.delete(`/contacts/prospect-view/${id}`);\n\nexport const getContactListByViewId = async (\n viewId: number,\n selectedField: string[],\n) =>\n api.post(`/contacts/${viewId}/list`, {\n selectedField,\n });\n\nexport const getImportedFilesList = async (ids = '') =>\n api.get('/contacts/imported-files', {\n params: ids ? { ids } : {},\n });\n\nexport const updateProspectFieldById = async (payload: ProspectFieldPayload) =>\n api.post(`/contacts/${payload.contactId}/attribute`, {\n attributeValue: payload.attributeValue,\n fieldRef: payload.fieldRef,\n });\n\nexport const getLongTextByProspectAndColumnId = async (\n payload: ProspectFieldPayload,\n) =>\n api.get(`/contacts/fields/long-text`, {\n params: {\n prospectId: Number(payload.contactId),\n fieldRefId: Number(payload.fieldRef),\n },\n });\n","export enum UserSettingCode {\n Onboarding = 'onboarding',\n ProfileSetupCompletion = 'profile-setup-completion',\n DesktopNotification = 'desktop_notification',\n TrackEmailByMyTeam = 'track_email_by_my_team',\n ShowEmailWarmupEnableConsent = 'show_email_warmup_enable_consent',\n DefaultMember = 'default-member',\n OutOfOffice = 'out-of-office',\n OutOfOfficePauseDays = 'out-of-office-pause-days',\n MobileAppBannerViewed = 'mobile-app-banner-viewed',\n AuthenticationMethod = 'authentication-method',\n}\n\nexport enum OnboardingSteps {\n Step0 = 'plan_purchase',\n Step1 = 'onboarding_form',\n Step2 = 'intro-video',\n}\n\nexport type UserSetting = {\n code: UserSettingCode;\n value: string;\n};\n\nexport const OnboardingRoutes = {\n [OnboardingSteps.Step0]: '/LTD-Checkout',\n [OnboardingSteps.Step1]: '/sequence',\n};\n\nexport enum ProfileProgressSteps {\n WatchVideo = 'watch-video',\n ConnectEmail = 'connect-email',\n CreateSequence = 'create-sequence',\n AddProspects = 'add-prospects',\n ActivateSequence = 'activate-sequence',\n CreateClient = 'create-client',\n DeliverabilityPDF = 'deliverability-pdf',\n ColdEmailBestPracticePdf = 'cold-email-best-practice-pdf',\n}\n\nexport type ProfileProgressStep = {\n id: number;\n stepName: ProfileProgressSteps;\n order: number;\n};\n\nexport type ProfileProgress = {\n id: number;\n profileProgressStepId: number;\n isCompleted: boolean;\n profileProgressStep: ProfileProgressStep;\n};\n\nexport type UpdateProfileProgressPayload = {\n step: ProfileProgressSteps;\n isCompleted: boolean;\n};\n","import store from '../../../store';\nimport pauseAccountError from '../errors/pause-account-error';\nimport SubscriptionStatus from '../../../components/settings/components/billing-subscription/enums/subscription-status';\n\nconst hasResource = (resource: string) => {\n const state = store.getState();\n\n const userHasResource = state.home.resources?.includes(resource);\n const subscriptionStatus = state.home.subscription?.status;\n\n if (subscriptionStatus === SubscriptionStatus.Paused && !userHasResource) {\n pauseAccountError.showModal();\n }\n return userHasResource;\n};\n\nexport default hasResource;\n","export enum ResourceIdentifiers {\n SEQUENCES_READ = 'sequences/read',\n SEQUENCES_CREATE = 'sequences/create',\n SEQUENCES_CLONE = 'sequences/clone',\n SEQUENCES_RENAME = 'sequences/rename',\n SEQUENCES_DELETE = 'sequences/delete',\n SEQUENCES_PAUSE_RESUME = 'sequences/pause-resume',\n SEQUENCES_STEPS_CREATE = 'sequences/steps/create',\n SEQUENCES_STEPS_LIST = 'sequences/steps/list',\n SEQUENCES_STEPS_UPDATE = 'sequences/steps/update',\n SEQUENCES_STEPS_DELETE = 'sequences/steps/delete',\n SEQUENCES_STEPS_VARIANTS_CREATE = 'sequences/steps/variants/create',\n SEQUENCES_STEPS_VARIANTS_READ = 'sequences/steps/variants/read',\n SEQUENCES_STEPS_VARIANTS_UPDATE = 'sequences/steps/variants/update',\n SEQUENCES_STEPS_VARIANTS_DELETE = 'sequences/steps/variants/delete',\n SEQUENCES_SETTINGS_READ = 'sequences/settings/read',\n SEQUENCES_SETTINGS_UPDATE = 'sequences/settings/update',\n SEQUENCES_EMAILS_READ = 'sequences/emails/read',\n SEQUENCES_EMAILS_STATUS_UPDATE = 'sequences/emails/status/update',\n SEQUENCES_EMAILS_EXPORT = 'sequences/emails/export',\n SEQUENCES_PROSPECT_VERIFICATION_STATS_READ = 'sequences/prospect-verification-stats/read',\n SEQUENCES_CONTACTS_READ = 'sequences/contacts/read',\n SEQUENCES_CONTACTS_REMOVE = 'sequences/contacts/remove',\n SEQUENCES_VERIFY_PROSPECTS = 'sequences/verify-prospects',\n SEQUENCES_CONTACTS_COUNT = 'sequences/contacts/count',\n SEQUENCES_CONTACTS_IMPORT = 'sequences/contacts/import',\n SEQUENCES_PROSPECTS_EXPORT = 'sequences/prospects/export',\n SEQUENCES_SEND_TEST_MAIL = 'sequences/test-mail',\n CONTACTS_IMPORT = 'contacts/import',\n CONTACTS_CREATE = 'contacts/create',\n CONTACTS_VERIFY = 'contacts/verify',\n CONTACTS_DELETE = 'contacts/delete',\n CONTACTS_UNSUBSCRIBE = 'contacts/unsubscribe',\n CONTACTS_EXPORT = 'contacts/export',\n CONTACTS_READ = 'contacts/read',\n CONTACTS_COUNT = 'contacts/count',\n TAG_ASSIGN = 'tag/assign',\n TAG_UNASSIGN = 'tag/un-assign',\n TEMPLATES_READ = 'templates/read',\n TEMPLATES_SHARE = 'templates/share',\n TEMPLATES_UPDATE = 'templates/update',\n TEMPLATES_DELETE = 'templates/delete',\n TEMPLATES_CREATE = 'templates/create',\n TEMPLATES_CLONE = 'templates/clone',\n REPORTS_SEQUENCE_STATS = 'reports/sequence-stats',\n REPORTS_SEQUENCE_GRAPH = 'reports/sequence-graph',\n REPORTS_SEQUENCE_STATS_EXPORT = 'reports/sequence-stats/export',\n EMAIL_ACCOUNT_READ = 'email-account/read',\n EMAIL_ACCOUNT_DELETE = 'email-account/delete',\n EMAIL_ACCOUNT_TAGS = 'email-account/tags',\n EMAIL_ACCOUNT_CONNECT = 'email-account/connect',\n EMAIL_ACCOUNT_DISCONNECT = 'email-account/disconnect',\n EMAIL_ACCOUNT_UPDATE = 'email-account/update',\n EMAIL_ACCOUNT_HEALTH_SCORE_READ = 'email-account/email-health/read',\n EMAIL_ACCOUNT_HEALTH_SCORE_INITIATE = 'email-account/email-health/initiate',\n USER_SETTINGS_UPDATE = 'user-settings/update',\n SCHEDULES_READ = 'schedules/read',\n SCHEDULES_CREATE = 'schedules/create',\n SCHEDULES_UPDATE = 'schedules/update',\n SCHEDULES_DELETE = 'schedules/delete',\n TEAM_USER_INVITE = 'team/invite-user',\n TEAM_USER_DEACTIVATE = 'team/deactivate',\n TEAM_USER_REACTIVATE = 'team/reactivate',\n TEAM_USER_DELETE = 'team/delete',\n FIELDS_LIST = 'fields/list',\n FIELDS_CREATE = 'fields/create',\n FIELDS_UPDATE = 'fields/update',\n FIELDS_DELETE = 'fields/delete',\n API_TOKEN_READ = 'api-token/read',\n API_TOKEN_CREATE = 'api-token/create',\n API_TOKEN_DELETE = 'api-token/delete',\n CUSTOM_DOMAIN_CREATE = 'custom-domain/create',\n CUSTOM_DOMAIN_UPDATE = 'custom-domain/update',\n CUSTOM_DOMAIN_DELETE = 'custom-domain/delete',\n BLACKLIST_DOMAINS_ADD = 'blacklist-domains/add',\n BLACKLIST_DOMAINS_DELETE = 'blacklist-domains/delete',\n SUBSCRIPTION_MODIFY = 'subscription/modify',\n EV_CREDIT_READ = 'ev-credit/read',\n EV_CREDIT_PURCHASE = 'ev-credit/purchase',\n USER_PASSWORD_UPDATE = 'user/password/update',\n NOTIFICATION_MARK_AS_READ = 'notification/mark-as-read',\n}\n","import {\n GetAccountSubscriptionResponse,\n GetPlansResponse,\n Plan,\n} from '../../../../../components/settings/components/billing-subscription/types';\nimport { BillingOption } from '../../../../utils/billing-options';\nimport {\n ModifyPlanAction,\n PlanType,\n SubscriptionPlanModes,\n SubscriptionPlans,\n} from '../../../../utils/subscription-plans';\n\nexport type IProps = {\n plan: Plan;\n planCycle: BillingOption;\n onSelectPlan: (\n planCode: SubscriptionPlans,\n planType: PlanType,\n planName: string,\n planMode: SubscriptionPlanModes,\n action: ModifyPlanAction,\n ) => void;\n sendGetAccountSubscriptionResponse?: GetAccountSubscriptionResponse;\n sendGetLeadFinderSubscriptionResponse?: GetAccountSubscriptionResponse;\n sendGetPlansResponse?: GetPlansResponse;\n sendGetLeadFinderPlansResponse?: GetPlansResponse;\n isLeadFinderPlans?: boolean;\n};\n\nexport enum SelectPlanCTAText {\n UpgradePlan = 'Upgrade',\n DowngradePlan = 'Downgrade',\n CurrentPlan = 'Current',\n CustomPlan = 'Contact Us',\n}\n\nexport type GetButtonLabel = {\n plan: Plan;\n planCycle?: BillingOption;\n sendGetAccountSubscriptionResponse?: GetAccountSubscriptionResponse;\n sendGetLeadFinderSubscriptionResponse?: GetAccountSubscriptionResponse;\n sendGetPlansResponse?: GetPlansResponse;\n sendGetLeadFinderPlansResponse?: GetPlansResponse;\n};\n","export { default } from './icon';\n","export enum ShAccountSettingsCode {\n IsVerificationActive = 'is-verification-active',\n ProspectDuplicationAllowed = 'prospect-duplication-allowed',\n IntegrationSetting = 'integration-setting',\n ProspectSharing = 'prospect-sharing',\n AutoAddToProspectOnLeadReveal = 'auto-add-to-prospects-on-lead-reveal',\n AICategorization = 'AI-Categorization',\n TrackUniboxOpen = 'track-unibox-open',\n TrackUniboxClick = 'track-unibox-click',\n AddProspectFromBusinessDomain = 'track-replies-and-add-prospects-from-business-domain',\n TrackExternalMails = 'track-external-mails',\n EnableExclusionList = 'enable-exclusion-list',\n IsMultichannelActive = 'is-multichannel-active',\n IsSSOEnabled = 'is-sso-enabled',\n IsMFAEnabled = 'mfa-email-enabled',\n}\n","/* eslint-disable no-param-reassign */\nimport { createSlice, PayloadAction } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../shared/enums/request-status';\nimport {\n UserSetting,\n ProfileProgress,\n} from '../../shared/types/user-setting';\nimport { FeatureUsage } from '../../shared/types/feature-usage';\nimport { Sequence } from '../sequence/types';\nimport {\n getFirstSequenceRequest,\n getSampleSequenceRequest,\n getUserSettingsRequest,\n updateUserSettingsRequest,\n upgradeOnboardingStepRequest,\n getUserNotificationsRequest,\n getUserUnreadNotificationsRequest,\n getUnreadEmailThreadsCountRequest,\n markNotificationsAsReadRequest,\n createSequenceFromGettingStartedRequest,\n compareAuthTokenRequest,\n getAgencyConfigRequest,\n getPostLoadMetaRequest,\n extendTrialPeriodRequest,\n getCoreFeaturesCreditsRequest,\n getPollingNotificationsRequest,\n updateHiddenNotificationRequest,\n} from './extra-actions';\nimport updateProfileProgressRequest from '../../shared/components/getting-started-onboarding/extra-actions';\nimport {\n AgencyConfig,\n GetPostLoadMetaResponse,\n NotificationPollingResponse,\n Notifications,\n SubscriptionDetails,\n} from './types';\nimport { IcpStatus } from '../../shared/enums/icp-status';\nimport { defaultAgencyObj } from './utils/helper';\nimport { SSOStatus } from '../../shared/enums/sso-status';\n\ntype RequestState = {\n status: RequestStatus;\n message: string;\n error: any;\n};\n\ntype ApplicationState = {\n showActivateSequenceTooltip?: boolean;\n showAddEmailAccountModal?: boolean;\n hasUserConnectedEmailAccount?: boolean;\n loggedUserEmail?: string;\n shouldLogoutUser?: boolean;\n logoURL?: string;\n hasSignUpCompleted?: boolean;\n helpscoutBeaconId?: string;\n hasVisitedAgencyPortal?: boolean;\n};\n\ntype AdminDetails = {\n email: string;\n firstName: string;\n lastName: string;\n};\n\ninterface Credit {\n featureCode: string;\n featureLimits?: string; // Optional, since not all features have a limit\n accountUsageQuotaRemaining: string;\n}\n\ntype State = {\n getUserSettingsRequest: RequestState;\n getAgencyConfigRequest: RequestState;\n getFirstSequenceRequest: RequestState;\n getUserNotificationsRequest: RequestState;\n getPollingNotificationsRequest: RequestState;\n updateHiddenNotificationRequest: RequestState;\n getSampleSequenceRequest: RequestState;\n updateUserSettingsRequest: RequestState;\n upgradeOnboardingStepRequest: RequestState;\n updateProfileProgressRequest: RequestState;\n createSequenceFromGettingStartedRequest: RequestState;\n getUserUnreadNotificationsRequest: RequestState;\n getUnreadEmailThreadsCountRequest: RequestState;\n compareAuthTokenRequest: RequestState;\n getPostLoadMetaRequest: RequestState;\n extendTrialPeriodRequest: RequestState;\n getCoreFeaturesCreditsRequest: RequestState;\n credits: Credit[];\n meta: UserSetting[];\n profileProgress: ProfileProgress[];\n gettingStatedCreatedSequenceId: number;\n email: string;\n firstName: string;\n lastName: string;\n trackingId: string;\n firstSequence: Sequence;\n team_size: string;\n subscription: SubscriptionDetails;\n leadFinderSubscription: SubscriptionDetails;\n notifications: Notifications[];\n notificationCount: number;\n pollingNotifications: NotificationPollingResponse;\n blinkNotificationIcon: boolean;\n role: string;\n client: any;\n featureUsages: FeatureUsage[];\n permissions: string[];\n resources: string[];\n designation: string;\n signup_date: string;\n markNotificationsAsReadRequest: RequestState;\n application: ApplicationState;\n adminDetails: AdminDetails;\n churnkeyHash: string;\n leadFinderChurnkeyHash: string;\n agencyConfig: AgencyConfig;\n unreadNotificationCount: number;\n unreadEmailThreadsCount: number;\n filteredUnreadEmailThreadsCount: number;\n showYoutubeVideModal: boolean;\n icpStatus: IcpStatus;\n getPostLoadMetaResponse: GetPostLoadMetaResponse;\n createdAt: Date;\n isEligibleToExtendTrial: boolean;\n allowInboxRotation: boolean;\n userId: number;\n planName: string;\n useCase: string;\n industry: string;\n companySize: string;\n jobRole: string;\n country: string;\n phoneNumber: string;\n referralPage: string;\n landingPage: string;\n shAccountId: number;\n verified: boolean;\n timeZone: string;\n atmRole: string;\n isAgencyUser: boolean;\n isMultichannelActive: boolean;\n leadFinderLimit: number;\n isAgency: string;\n isSelfSignup: boolean;\n shouldBulkActionsPoll: boolean;\n hasDomains: boolean;\n intercomHash: string;\n initiateFetchUnreadCount: boolean;\n ssoStatus: SSOStatus;\n organizationId: string;\n shouldDisplayMobileAppBanner: boolean;\n};\n\nconst initialState: State = {\n getAgencyConfigRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n markNotificationsAsReadRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getUserSettingsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getFirstSequenceRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getUserNotificationsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getPollingNotificationsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateHiddenNotificationRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getSampleSequenceRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateUserSettingsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n upgradeOnboardingStepRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateProfileProgressRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n createSequenceFromGettingStartedRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getUserUnreadNotificationsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getUnreadEmailThreadsCountRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n compareAuthTokenRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getPostLoadMetaRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n extendTrialPeriodRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getCoreFeaturesCreditsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n credits: [],\n meta: null,\n profileProgress: null,\n email: null,\n firstName: null,\n planName: null,\n lastName: null,\n trackingId: null,\n firstSequence: null,\n subscription: null,\n leadFinderSubscription: null,\n notifications: [],\n notificationCount: 0,\n pollingNotifications: null,\n blinkNotificationIcon: false,\n team_size: null,\n designation: null,\n role: null,\n client: null,\n useCase: null,\n industry: null,\n country: null,\n phoneNumber: null,\n referralPage: null,\n shAccountId: null,\n application: {\n showActivateSequenceTooltip: false,\n showAddEmailAccountModal: false,\n hasUserConnectedEmailAccount: false,\n loggedUserEmail: '',\n shouldLogoutUser: false,\n logoURL: '',\n hasSignUpCompleted: false,\n hasVisitedAgencyPortal: false,\n },\n featureUsages: [],\n permissions: [],\n resources: [],\n\n signup_date: null,\n gettingStatedCreatedSequenceId: null,\n adminDetails: null,\n churnkeyHash: null,\n leadFinderChurnkeyHash: null,\n agencyConfig: defaultAgencyObj,\n unreadNotificationCount: null,\n unreadEmailThreadsCount: 0,\n filteredUnreadEmailThreadsCount: 0,\n showYoutubeVideModal: null,\n icpStatus: null,\n getPostLoadMetaResponse: null,\n createdAt: null,\n isEligibleToExtendTrial: false,\n allowInboxRotation: false,\n userId: null,\n companySize: null,\n jobRole: null,\n landingPage: null,\n verified: true,\n timeZone: null,\n atmRole: '',\n isAgencyUser: false,\n isMultichannelActive: false,\n leadFinderLimit: 0,\n isAgency: '0',\n isSelfSignup: true,\n shouldBulkActionsPoll: true,\n hasDomains: false,\n intercomHash: null,\n initiateFetchUnreadCount: false,\n ssoStatus: null,\n organizationId: null,\n shouldDisplayMobileAppBanner: false,\n};\n\ntype ReadNotification = {\n notificationId?: string;\n};\n\nconst homeSlice = createSlice({\n name: 'meta',\n initialState,\n reducers: {\n markNotificationAsRead: (\n state,\n action: PayloadAction,\n ) => {\n const { notificationId } = action.payload;\n\n if (notificationId) {\n state.notifications = state.notifications.map((notification) => {\n // eslint-disable-next-line no-underscore-dangle\n if (notification._id === notificationId) {\n notification.hasRead = true;\n }\n return notification;\n });\n } else {\n state.notifications = state.notifications.map((notification) => ({\n ...notification,\n hasRead: true,\n }));\n if (state?.pollingNotifications?.notifications?.length > 0) {\n state.pollingNotifications.notifications = state.pollingNotifications.notifications.map(\n (notification) => ({ ...notification, hasRead: true }),\n );\n }\n\n state.unreadNotificationCount = null;\n }\n },\n resetCoreFeaturesCreditsRequestStatus: (state) => {\n state.getCoreFeaturesCreditsRequest.status =\n initialState.getCoreFeaturesCreditsRequest.status;\n state.getCoreFeaturesCreditsRequest.message =\n initialState.getCoreFeaturesCreditsRequest.message;\n state.getCoreFeaturesCreditsRequest.error =\n initialState.getCoreFeaturesCreditsRequest.error;\n },\n updateApplicationState: (\n state,\n action: PayloadAction,\n ) => {\n state.application = { ...state.application, ...action.payload };\n },\n\n showGettingStartedVideoModal: (\n state,\n action: PayloadAction<{ show: boolean }>,\n ) => {\n state.showYoutubeVideModal = action.payload.show;\n },\n resetFirstSequenceData: (state) => {\n state.firstSequence = null;\n },\n resetCompareAuthTokenRequest: (state) => {\n state.createSequenceFromGettingStartedRequest =\n initialState.compareAuthTokenRequest;\n },\n resetApplicationState: (state) => {\n state.application.hasSignUpCompleted = false;\n },\n resetNotificationData: (state) => {\n state.notifications = initialState.notifications;\n },\n onSettingsTabProfileUpdate: (state, action) => {\n state.firstName = action.payload?.firstName || '';\n state.lastName = action.payload?.lastName || '';\n state.email = action.payload?.email || '';\n state.timeZone = action.payload?.timeZone || '';\n },\n updateIsMultichannelActive: (state) => {\n state.isMultichannelActive = true;\n },\n enableBulkActionRequestPolling: (state) => {\n state.shouldBulkActionsPoll = true;\n },\n disableBulkActionRequestPolling: (state) => {\n state.shouldBulkActionsPoll = false;\n },\n startNotificationBlink: (state) => {\n state.blinkNotificationIcon = true;\n },\n stopNotificationBlink: (state) => {\n state.blinkNotificationIcon = false;\n },\n resetInitiateFetchUnreadCount: (state) => {\n state.initiateFetchUnreadCount = false;\n },\n updateShowMobileApplicationBannerInMeta: (state) => {\n state.shouldDisplayMobileAppBanner = false;\n },\n },\n extraReducers: (builder) => {\n // Get Color Palette And Logo\n builder.addCase(getAgencyConfigRequest.pending, (state) => {\n state.getAgencyConfigRequest.status = RequestStatus.Pending;\n state.getAgencyConfigRequest.error = null;\n });\n builder.addCase(getAgencyConfigRequest.fulfilled, (state, action) => {\n state.getAgencyConfigRequest.status = RequestStatus.Succeeded;\n state.getAgencyConfigRequest.message = action.payload.message;\n state.agencyConfig = action.payload.payload;\n });\n builder.addCase(getAgencyConfigRequest.rejected, (state, action) => {\n state.getAgencyConfigRequest.status = RequestStatus.Failed;\n state.getAgencyConfigRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get user settings\n builder.addCase(getUserSettingsRequest.pending, (state) => {\n state.getUserSettingsRequest.status = RequestStatus.Pending;\n state.getUserSettingsRequest.error = null;\n });\n builder.addCase(getUserSettingsRequest.fulfilled, (state, action) => {\n state.getUserSettingsRequest.status = RequestStatus.Succeeded;\n state.getUserSettingsRequest.message = action.payload.message;\n state.meta = action.payload.payload.meta\n ? action.payload.payload.meta\n : [];\n state.profileProgress = action.payload.payload.profileProgress;\n state.subscription = action.payload.payload.account?.subscription;\n state.leadFinderSubscription =\n action.payload.payload.account?.leadFinderSubscription;\n\n if (state.subscription) {\n state.subscription.nextBillingAt = state.subscription?.nextBillingAt?.replace(\n /-/g,\n '/',\n );\n state.subscription.startAt = state.subscription?.startAt?.replace(\n /-/g,\n '/',\n );\n }\n if (state.leadFinderSubscription) {\n state.leadFinderSubscription.nextBillingAt = state.leadFinderSubscription?.nextBillingAt?.replace(\n /-/g,\n '/',\n );\n state.leadFinderSubscription.startAt = state.leadFinderSubscription?.startAt?.replace(\n /-/g,\n '/',\n );\n }\n state.firstName = action.payload.payload.firstName;\n state.lastName = action.payload.payload.lastName;\n state.trackingId = action.payload.payload.trackingId;\n state.email = action.payload.payload.email;\n state.role = action.payload.payload.role;\n state.client = action.payload.payload?.client || {};\n state.churnkeyHash = action.payload.payload.churnkeyHash;\n state.leadFinderChurnkeyHash =\n action.payload.payload.leadFinderChurnkeyHash;\n state.featureUsages = action.payload.payload.featureUsages;\n state.permissions = action.payload.payload.permissions;\n state.resources = action.payload.payload.resources;\n state.adminDetails = action.payload.payload.adminDetails;\n state.signup_date = action.payload.payload.signup_date;\n state.icpStatus = action.payload.payload.icpStatus;\n state.createdAt = action.payload.payload.createdAt;\n state.isEligibleToExtendTrial =\n action.payload.payload.isEligibleToExtendTrial;\n state.allowInboxRotation = action.payload.payload.allowInboxRotation;\n state.userId = action.payload.payload.userId;\n state.companySize = action.payload.payload.companySize;\n state.planName = action.payload.payload.planName;\n state.industry = action.payload.payload.industry;\n state.country = action.payload.payload.country;\n state.phoneNumber = action.payload.payload.phoneNumber;\n state.jobRole = action.payload.payload.jobRole;\n state.shAccountId = action.payload.payload.shAccountId;\n state.useCase = action.payload.payload.useCase;\n state.verified = action.payload.payload.verified !== false;\n state.timeZone = action.payload.payload.timeZone;\n state.atmRole = action.payload.payload.atmRole;\n state.isAgencyUser = action.payload.payload.isAgencyUser;\n state.isMultichannelActive = action.payload.payload.isMultichannelActive;\n state.leadFinderLimit = action.payload.payload.leadFinderLimit;\n state.isAgency = action.payload.payload.isAgency;\n state.isSelfSignup = action.payload.payload.isSelfSignup;\n state.hasDomains = action.payload.payload.hasDomains;\n state.intercomHash = action.payload.payload.intercomHash;\n state.ssoStatus = action.payload.payload.ssoStatus?.value;\n state.organizationId = action.payload.payload.organizationId;\n state.shouldDisplayMobileAppBanner =\n action.payload.payload.shouldDisplayMobileAppBanner;\n });\n builder.addCase(getUserSettingsRequest.rejected, (state, action) => {\n state.getUserSettingsRequest.status = RequestStatus.Failed;\n state.getUserSettingsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get first sequence\n builder.addCase(getFirstSequenceRequest.pending, (state) => {\n state.getFirstSequenceRequest.status = RequestStatus.Pending;\n state.getFirstSequenceRequest.error = null;\n });\n builder.addCase(getFirstSequenceRequest.fulfilled, (state, action) => {\n state.getFirstSequenceRequest.status = RequestStatus.Succeeded;\n state.getFirstSequenceRequest.message = action.payload.message;\n state.firstSequence = action.payload.payload;\n });\n builder.addCase(getFirstSequenceRequest.rejected, (state, action) => {\n state.getFirstSequenceRequest.status = RequestStatus.Failed;\n state.getFirstSequenceRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Post Load Meta Request\n builder.addCase(getPostLoadMetaRequest.pending, (state) => {\n state.getPostLoadMetaRequest.status = RequestStatus.Pending;\n state.getPostLoadMetaRequest.error = null;\n });\n builder.addCase(getPostLoadMetaRequest.fulfilled, (state, action) => {\n state.getPostLoadMetaRequest.status = RequestStatus.Succeeded;\n state.getPostLoadMetaResponse = action.payload.payload;\n state.getPostLoadMetaRequest.message = action.payload.message;\n });\n builder.addCase(getPostLoadMetaRequest.rejected, (state, action) => {\n state.getPostLoadMetaRequest.status = RequestStatus.Failed;\n state.getPostLoadMetaRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get sample sequence\n builder.addCase(getSampleSequenceRequest.pending, (state) => {\n state.getSampleSequenceRequest.status = RequestStatus.Pending;\n state.getSampleSequenceRequest.error = null;\n });\n builder.addCase(getSampleSequenceRequest.fulfilled, (state, action) => {\n state.getSampleSequenceRequest.status = RequestStatus.Succeeded;\n state.getSampleSequenceRequest.message = action.payload.message;\n state.firstSequence = action.payload.payload;\n });\n builder.addCase(getSampleSequenceRequest.rejected, (state, action) => {\n state.getSampleSequenceRequest.status = RequestStatus.Failed;\n state.getSampleSequenceRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Update user settings\n builder.addCase(updateUserSettingsRequest.pending, (state) => {\n state.updateUserSettingsRequest.status = RequestStatus.Pending;\n state.updateUserSettingsRequest.error = null;\n });\n builder.addCase(updateUserSettingsRequest.fulfilled, (state, action) => {\n state.updateUserSettingsRequest.status = RequestStatus.Succeeded;\n state.updateUserSettingsRequest.message = action.payload.message;\n });\n builder.addCase(updateUserSettingsRequest.rejected, (state, action) => {\n state.updateUserSettingsRequest.status = RequestStatus.Failed;\n state.updateUserSettingsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Upgrade Onboarding Step\n builder.addCase(upgradeOnboardingStepRequest.pending, (state) => {\n state.upgradeOnboardingStepRequest.status = RequestStatus.Pending;\n state.upgradeOnboardingStepRequest.error = null;\n });\n builder.addCase(upgradeOnboardingStepRequest.fulfilled, (state, action) => {\n state.upgradeOnboardingStepRequest.status = RequestStatus.Succeeded;\n state.upgradeOnboardingStepRequest.message = action.payload.message;\n state.meta = action.payload.payload.meta;\n });\n builder.addCase(upgradeOnboardingStepRequest.rejected, (state, action) => {\n state.upgradeOnboardingStepRequest.status = RequestStatus.Failed;\n state.upgradeOnboardingStepRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Update Steps Progress Status\n builder.addCase(updateProfileProgressRequest.pending, (state) => {\n state.updateProfileProgressRequest.status = RequestStatus.Pending;\n state.updateProfileProgressRequest.error = null;\n });\n builder.addCase(updateProfileProgressRequest.fulfilled, (state, action) => {\n state.updateProfileProgressRequest.status = RequestStatus.Succeeded;\n state.updateProfileProgressRequest.message = action.payload.message;\n });\n builder.addCase(updateProfileProgressRequest.rejected, (state, action) => {\n state.updateProfileProgressRequest.status = RequestStatus.Failed;\n state.updateProfileProgressRequest.error = action.payload;\n });\n\n // Compare Auth Tokens\n builder.addCase(compareAuthTokenRequest.pending, (state) => {\n state.compareAuthTokenRequest.status = RequestStatus.Pending;\n state.compareAuthTokenRequest.error = null;\n });\n builder.addCase(compareAuthTokenRequest.fulfilled, (state, action) => {\n state.compareAuthTokenRequest.status = RequestStatus.Succeeded;\n state.compareAuthTokenRequest.message = action.payload.message;\n state.application.loggedUserEmail = action.payload.payload.email;\n state.application.shouldLogoutUser =\n action.payload.payload.shouldLogoutUser;\n });\n builder.addCase(compareAuthTokenRequest.rejected, (state, action) => {\n state.compareAuthTokenRequest.status = RequestStatus.Failed;\n state.compareAuthTokenRequest.error = action.payload;\n });\n\n // Create Sequence Status\n builder.addCase(\n createSequenceFromGettingStartedRequest.pending,\n (state) => {\n state.createSequenceFromGettingStartedRequest.status =\n RequestStatus.Pending;\n state.createSequenceFromGettingStartedRequest.error = null;\n },\n );\n builder.addCase(\n createSequenceFromGettingStartedRequest.fulfilled,\n (state, action) => {\n state.createSequenceFromGettingStartedRequest.status =\n RequestStatus.Succeeded;\n state.createSequenceFromGettingStartedRequest.message =\n action.payload.message;\n state.gettingStatedCreatedSequenceId = action.payload.payload.id;\n },\n );\n builder.addCase(\n createSequenceFromGettingStartedRequest.rejected,\n (state, action) => {\n state.createSequenceFromGettingStartedRequest.status =\n RequestStatus.Failed;\n state.createSequenceFromGettingStartedRequest.error = action.payload;\n },\n );\n\n // User notifications\n builder.addCase(getUserNotificationsRequest.rejected, (state) => {\n state.getUserNotificationsRequest.status = RequestStatus.Failed;\n });\n builder.addCase(getUserNotificationsRequest.pending, (state) => {\n state.getUserNotificationsRequest.status = RequestStatus.Pending;\n });\n builder.addCase(getUserNotificationsRequest.fulfilled, (state, action) => {\n state.notifications = [\n ...state.notifications,\n ...action.payload.payload.notifications,\n ];\n state.notificationCount = action.payload.payload.count;\n state.getUserNotificationsRequest.status = RequestStatus.Succeeded;\n });\n\n // Polling notifications\n builder.addCase(getPollingNotificationsRequest.rejected, (state) => {\n state.getPollingNotificationsRequest.status = RequestStatus.Failed;\n });\n builder.addCase(getPollingNotificationsRequest.pending, (state) => {\n state.getPollingNotificationsRequest.status = RequestStatus.Pending;\n });\n builder.addCase(\n getPollingNotificationsRequest.fulfilled,\n (state, action) => {\n const prevNotifications =\n state?.pollingNotifications?.notifications || [];\n const newNotifications = action.payload?.payload?.notifications;\n const shouldPoll = action.payload?.payload?.shouldPoll;\n\n const hasCompletedNotifications = newNotifications?.some((newNotif) => {\n if (prevNotifications?.length === 0) {\n return newNotif?.completedAt;\n }\n\n // Find matching notification from previous state\n const prevNotif = prevNotifications?.find(\n // eslint-disable-next-line no-underscore-dangle\n (prev) => prev?._id === newNotif?._id,\n );\n\n return (\n (!prevNotif && newNotif?.completedAt) ||\n (prevNotif && prevNotif?.completedAt !== newNotif?.completedAt)\n );\n });\n\n if (hasCompletedNotifications) {\n state.initiateFetchUnreadCount = true;\n }\n\n state.pollingNotifications = {\n shouldPoll,\n notifications: newNotifications,\n };\n state.getPollingNotificationsRequest.status = RequestStatus.Succeeded;\n },\n );\n\n // Update hidden notification\n builder.addCase(updateHiddenNotificationRequest.pending, (state) => {\n state.updateHiddenNotificationRequest.status = RequestStatus.Pending;\n });\n\n builder.addCase(updateHiddenNotificationRequest.fulfilled, (state) => {\n state.updateHiddenNotificationRequest.status = RequestStatus.Succeeded;\n });\n\n builder.addCase(updateHiddenNotificationRequest.rejected, (state) => {\n state.updateHiddenNotificationRequest.status = RequestStatus.Failed;\n });\n\n // Marking notifications as read\n builder.addCase(markNotificationsAsReadRequest.fulfilled, (state) => {\n state.markNotificationsAsReadRequest.status = RequestStatus.Succeeded;\n });\n\n builder.addCase(markNotificationsAsReadRequest.rejected, (state) => {\n state.markNotificationsAsReadRequest.status = RequestStatus.Failed;\n });\n\n // Get user unread notification\n builder.addCase(\n getUserUnreadNotificationsRequest.fulfilled,\n (state, action) => {\n state.getUserUnreadNotificationsRequest.status =\n RequestStatus.Succeeded;\n state.unreadNotificationCount =\n action.payload.payload?.unReadNotificationCount || 0;\n },\n );\n\n builder.addCase(getUserUnreadNotificationsRequest.rejected, (state) => {\n state.getUserUnreadNotificationsRequest.status = RequestStatus.Failed;\n });\n\n // Get Unread Email Threads Count\n builder.addCase(\n getUnreadEmailThreadsCountRequest.fulfilled,\n (state, action) => {\n state.getUnreadEmailThreadsCountRequest.status =\n RequestStatus.Succeeded;\n state.unreadEmailThreadsCount = action.payload.payload.count;\n state.filteredUnreadEmailThreadsCount =\n action.payload.payload?.filterCount;\n },\n );\n\n builder.addCase(getUnreadEmailThreadsCountRequest.rejected, (state) => {\n state.getUnreadEmailThreadsCountRequest.status = RequestStatus.Failed;\n });\n\n // Extend Trial Period\n builder.addCase(extendTrialPeriodRequest.pending, (state) => {\n state.extendTrialPeriodRequest.status = RequestStatus.Pending;\n });\n builder.addCase(extendTrialPeriodRequest.fulfilled, (state) => {\n state.extendTrialPeriodRequest.status = RequestStatus.Succeeded;\n });\n\n builder.addCase(extendTrialPeriodRequest.rejected, (state, action) => {\n state.extendTrialPeriodRequest.status = RequestStatus.Failed;\n state.extendTrialPeriodRequest.error = action.payload;\n });\n\n builder.addCase(getCoreFeaturesCreditsRequest.rejected, (state) => {\n state.getCoreFeaturesCreditsRequest.status = RequestStatus.Failed;\n });\n\n builder.addCase(getCoreFeaturesCreditsRequest.pending, (state) => {\n state.getCoreFeaturesCreditsRequest.status = RequestStatus.Pending;\n });\n\n builder.addCase(\n getCoreFeaturesCreditsRequest.fulfilled,\n (state, action) => {\n state.credits = action.payload.payload; // Assuming 'credits' is the returned data\n state.getCoreFeaturesCreditsRequest.status = RequestStatus.Succeeded;\n },\n );\n },\n});\n\n// email | web-app\n\nexport {\n getUserSettingsRequest,\n updateUserSettingsRequest,\n upgradeOnboardingStepRequest,\n updateProfileProgressRequest,\n getSampleSequenceRequest,\n getCoreFeaturesCreditsRequest,\n};\nexport const {\n markNotificationAsRead,\n updateApplicationState,\n showGettingStartedVideoModal,\n resetFirstSequenceData,\n resetCompareAuthTokenRequest,\n resetCoreFeaturesCreditsRequestStatus,\n resetApplicationState,\n resetNotificationData,\n onSettingsTabProfileUpdate,\n updateIsMultichannelActive,\n enableBulkActionRequestPolling,\n disableBulkActionRequestPolling,\n startNotificationBlink,\n stopNotificationBlink,\n resetInitiateFetchUnreadCount,\n updateShowMobileApplicationBannerInMeta,\n} = homeSlice.actions;\nexport default homeSlice.reducer;\n","import { createBrowserHistory } from 'history';\n\nconst history = createBrowserHistory();\n\nexport default history;\n","import { RequestStatus } from '../../../../../shared/enums/request-status';\nimport { SubscriptionPlans } from '../../../../../shared/utils/subscription-plans';\n\nexport const getIsUserSubscribed = (planCode: SubscriptionPlans) =>\n planCode !== SubscriptionPlans.FREE && planCode !== SubscriptionPlans.TRIAL;\n\nexport const getIsLeadFinderUserSubscribed = (planCode: SubscriptionPlans) =>\n planCode !== SubscriptionPlans.LEAD_FINDER_FREE &&\n planCode !== SubscriptionPlans.LEAD_FINDER_TRIAL;\n\nexport const isPageLoading = (\n sendGetPlansRequestStatus,\n sendGetAccountSubscriptionRequestStatus,\n sendGetConnectedUsersAndEmailAccountsRequestStatus,\n) =>\n sendGetPlansRequestStatus === RequestStatus.Ideal ||\n sendGetPlansRequestStatus === RequestStatus.Pending ||\n sendGetAccountSubscriptionRequestStatus === RequestStatus.Ideal ||\n sendGetAccountSubscriptionRequestStatus === RequestStatus.Pending ||\n sendGetConnectedUsersAndEmailAccountsRequestStatus === RequestStatus.Ideal ||\n sendGetConnectedUsersAndEmailAccountsRequestStatus === RequestStatus.Pending;\n\nexport const isRequestPending = (status) => status === RequestStatus.Pending;\n","import { ProspectsFilters } from '../../../../../shared/types/prospects-filters';\nimport { checkIsFilterApplied } from '../../../../sequence/components/sequence-single-content/components/sequence-single-contacts/components/contact-list-content/helper';\nimport { getCallTitle } from '../../../../sequence/components/sequence-single-content/components/sequence-single-step-variant-item/helper';\nimport { SequenceStepType } from '../../../../sequence/enums';\nimport { CallOutcome, TaskAction, TaskStatusKey } from '../../../utils/enums';\n\nexport const getCallOutcomeOptions = [\n {\n key: CallOutcome.Interested,\n label: 'Interested (Positive)',\n },\n {\n key: CallOutcome.CallbackLater,\n label: 'Callback Later',\n },\n {\n key: CallOutcome.Followup,\n label: 'Follow-up',\n },\n {\n key: CallOutcome.NotInterested,\n label: 'Not Interested',\n },\n {\n key: CallOutcome.WrongNumber,\n label: 'Wrong Number',\n },\n {\n key: CallOutcome.NoAnswer,\n label: 'No Answer',\n },\n {\n key: CallOutcome.LeftVoicemail,\n label: 'Left Voicemail',\n },\n {\n key: CallOutcome.NotInService,\n label: 'Not In Service',\n },\n];\n\nexport const getTaskTitle = (type, purpose = null) => {\n if (type === SequenceStepType.LinkedInConnectionRequest) {\n return 'Connection Request';\n }\n if (type === SequenceStepType.LinkedInMessage) {\n return 'Message';\n }\n if (type === SequenceStepType.LinkedInInMail) {\n return 'InMail';\n }\n if (type === SequenceStepType.LinkedInViewProfile) {\n return 'View Profile';\n }\n if (type === SequenceStepType.LinkedInPostInteraction) {\n return 'Post Interaction';\n }\n if (type === SequenceStepType.Call) {\n return getCallTitle(purpose);\n }\n if (type === SequenceStepType.Whatsapp) {\n return 'WhatsApp Message';\n }\n\n return 'Custom Task';\n};\n\nexport const isLinkedInType = (type: SequenceStepType) =>\n type === SequenceStepType.LinkedInConnectionRequest ||\n type === SequenceStepType.LinkedInMessage ||\n type === SequenceStepType.LinkedInPostInteraction ||\n type === SequenceStepType.LinkedInInMail ||\n type === SequenceStepType.LinkedInViewProfile;\n\nexport const getDateColumnTitle = (taskStatus: TaskStatusKey) => {\n if (\n taskStatus === TaskStatusKey.DueToday ||\n taskStatus === TaskStatusKey.Upcoming ||\n taskStatus === TaskStatusKey.Overdue\n ) {\n return 'Due Date';\n }\n if (taskStatus === TaskStatusKey.Completed) {\n return 'Completion Date';\n }\n\n return 'Skipped Date';\n};\n\nexport const removeAgo = (string) => string.replace(/\\s*ago\\s*/, '');\n\nexport const getTaskDate = (taskStatus: TaskStatusKey, cell) => {\n if (\n taskStatus === TaskStatusKey.DueToday ||\n taskStatus === TaskStatusKey.Upcoming ||\n taskStatus === TaskStatusKey.Overdue\n ) {\n return cell?.dueAt;\n }\n\n if (taskStatus === TaskStatusKey.Completed) {\n return cell?.completedAt;\n }\n\n return cell?.skippedAt;\n};\n\nexport const isActionsVisible = (taskStatus: TaskStatusKey) =>\n taskStatus === TaskStatusKey.Completed ||\n taskStatus === TaskStatusKey.Skipped;\n\nexport const getToasterMessage = (taskAction: TaskAction) => {\n if (taskAction === TaskAction.ExecuteTask) {\n return 'Task marked completed successfully.';\n }\n if (taskAction === TaskAction.SkipTask) {\n return 'Task skipped successfully.';\n }\n\n return 'Task snoozed successfully.';\n};\n\nexport const isCompletedOrSkippedTab = (taskStatus: TaskStatusKey) =>\n taskStatus === TaskStatusKey.Completed ||\n taskStatus === TaskStatusKey.Skipped;\n\n// Tasks Filters\nexport const setTasksFiltersInLocalStore = (filters: ProspectsFilters) => {\n localStorage.setItem('t-f', JSON.stringify(filters));\n};\nexport const getTasksFiltersFromLocalStore = (): ProspectsFilters =>\n JSON.parse(localStorage.getItem('t-f'));\nexport const removeTasksFiltersFromLocalStore = (): void => {\n localStorage.removeItem('t-f');\n};\n\nexport const setTaskTypeFiltersInLocalStore = (taskTypes: number[]) => {\n localStorage.setItem('t_t-f', JSON.stringify(taskTypes));\n};\nexport const getTaskTypeFiltersInLocalStore = () =>\n JSON.parse(localStorage.getItem('t_t-f'));\n\nexport const removeTaskTypeFiltersInLocalStore = () => {\n localStorage.removeItem('t_t-f');\n};\n\n// Extract ids using reduce method\nexport const getSelectedTasksId = (selectedTasks) =>\n selectedTasks.reduce((accumulator, currentValue) => {\n accumulator.push(currentValue.id);\n return accumulator;\n }, []);\n\nexport const getTaskActionTitle = (taskAction: TaskAction, selectedTaskIds) => {\n if (!selectedTaskIds) {\n return taskAction === TaskAction.ExecuteTask\n ? 'Complete this task'\n : 'Skip this task';\n }\n\n return taskAction === TaskAction.ExecuteTask\n ? `Complete this ${selectedTaskIds} task(s)`\n : `Skip this ${selectedTaskIds} task(s)`;\n};\n\nexport const getCallTaskDesc = (selectedTaskIds) =>\n `To mark ${\n selectedTaskIds > 0 ? `${selectedTaskIds} Calling task(s)` : 'calling task'\n } as complete, select call outcome`;\n\nexport const getCompleteActionDesc = (selectedTaskIds) =>\n `Are you sure you want to mark ${\n selectedTaskIds > 0 ? `these ${selectedTaskIds} tasks` : 'this task'\n } as complete?`;\n\nexport const isCallTask = (type: SequenceStepType) =>\n type === SequenceStepType.Call;\n\nexport const isAnyCallTaskSelected = (selectedTasks) =>\n selectedTasks?.filter((item) => item.taskTitle.type === SequenceStepType.Call)\n ?.length || 0;\n\nexport const getConfirmationModalClass = (\n taskAction: TaskAction,\n taskType: SequenceStepType,\n selectedTasks,\n) => {\n if (\n taskAction === TaskAction.ExecuteTask &&\n isAnyCallTaskSelected(selectedTasks)\n ) {\n return 'task-confirmation-modal-tertiary';\n }\n\n return taskAction === TaskAction.ExecuteTask &&\n taskType === SequenceStepType.Call\n ? 'task-confirmation-modal-call'\n : 'task-confirmation-modal-second';\n};\n\nexport const getTaskTableClass = (tasksFilters, selectedTasks) => {\n if (checkIsFilterApplied(tasksFilters) && selectedTasks) {\n return 'lg-table';\n }\n\n if (checkIsFilterApplied(tasksFilters)) {\n return 'sm-table';\n }\n\n if (selectedTasks) {\n return 'md-table';\n }\n\n return '';\n};\n","import React, { useEffect } from 'react';\nimport { RouteProps } from 'react-router';\nimport { Route } from 'react-router-dom';\nimport AuthRoute from '../auth-route';\nimport ProtectedRoute from '../protected-route';\n\nexport enum RouteType {\n Auth = 'auth',\n Protected = 'protected',\n Default = 'default',\n}\n\ntype ConfigRouteProps = Omit & {\n title?: string;\n type?: RouteType;\n showBrandingSuffix?: boolean;\n};\n\ntype ConfigRouteStatic = {\n RouteType: typeof RouteType;\n};\n\nconst ConfigRoute: React.FC & ConfigRouteStatic = ({\n title,\n type,\n showBrandingSuffix,\n ...rest\n}) => {\n const getNewTitle = (oldTitle: string, addSuffix: boolean): string => {\n let newTitle = oldTitle;\n if (addSuffix) {\n newTitle = `${oldTitle}`;\n }\n return newTitle;\n };\n\n useEffect(() => {\n if (title || title === '') {\n document.title = getNewTitle(title, showBrandingSuffix);\n }\n }, [title, showBrandingSuffix]);\n\n let RouteComponent;\n\n switch (type) {\n case RouteType.Auth:\n RouteComponent = AuthRoute;\n break;\n case RouteType.Protected:\n RouteComponent = ProtectedRoute;\n break;\n case RouteType.Default:\n default:\n RouteComponent = Route;\n break;\n }\n\n return ;\n};\n\nConfigRoute.defaultProps = {\n type: RouteType.Default,\n showBrandingSuffix: true,\n};\n\nConfigRoute.RouteType = RouteType;\n\nexport default ConfigRoute;\n","import React from 'react';\nimport { AuthHelper } from '../utils';\nimport { Redirect, Route, RouteProps } from 'react-router';\n\ntype IProps = Omit;\n\nconst AuthRoute: React.FC = ({ component: Component, ...rest }) => (\n \n !AuthHelper.isAuthenticated ? (\n \n ) : (\n \n )\n }\n />\n);\n\nexport default AuthRoute;\n","import React from 'react';\nimport { Images } from '../../../../app-constants';\nimport ImageIcon from '../../../../components/images/image-icon';\nimport Button from '../button';\nimport Modal from '../modal';\nimport { ConfirmationModalIconType } from './enum';\nimport { ConfirmationModalProps } from './type';\n\nconst ConfirmationModalV3: React.FC = ({\n show,\n title,\n onClose,\n onSubmit,\n className = '',\n content = '',\n contents = [],\n customJSX = null,\n iconSrc,\n iconType,\n hideTitleIcon = false,\n showCloseIcon = true,\n hideCancelButton = false,\n hideSubmitButton = false,\n submitButtonClassName = '',\n cancelButtonClassName = '',\n isSubmitLoading = false,\n isCancelLoading = false,\n isSubmitDisabled = false,\n isCancelDisabled = false,\n submitButtonText = 'Yes',\n cancelButtonText = 'No',\n icon = null,\n submitButtonVariant = Button.Variant.Primary,\n disableEnforceFocus,\n hideFooter = false,\n}) => {\n const getImageIconSource = () => {\n if (iconType === ConfirmationModalIconType.ALERT_TRIANGLE) {\n return Images.AlertTriangleLarge;\n }\n if (iconType === ConfirmationModalIconType.INFO_CIRCLE_BLUE) {\n return Images.AlertCircleBlue;\n }\n if (iconType === ConfirmationModalIconType.INFO_CIRCLE_RED) {\n return Images.AlertCircleRed;\n }\n if (iconType === ConfirmationModalIconType.INFO_CIRCLE_YELLOW) {\n return Images.InfoCircleYellow;\n }\n if (iconType === ConfirmationModalIconType.TRASH_RED) {\n return Images.TrashDanger;\n }\n if (iconType === ConfirmationModalIconType.ALERT_CIRCLE_ORANGE) {\n return Images.AlertCircleOrange;\n }\n if (iconSrc) {\n return iconSrc;\n }\n return Images.InfoCircle;\n };\n\n const generateModalTitleContent = () => (\n \n {!hideTitleIcon && (\n \n )}\n { icon &&\n
\n {icon}\n
\n }\n

{title}

\n \n );\n\n return (\n \n
\n {contents.length > 0 && (\n
\n {contents.map((contentItem) => (\n

\n {contentItem}\n

\n ))}\n
\n )}\n {content && (\n
\n
{content}
\n
\n )}\n {customJSX && <>{customJSX}}\n
\n \n );\n};\nexport default ConfirmationModalV3;\n","import api from '../../../api';\nimport {\n UpdateUserProfilePayload,\n UpdatePasswordPayload,\n verifyCurrentPasswordPayload,\n} from '../types/request-payload';\nimport { ResponseSuccess } from '../../../shared/types/response';\n\nexport const updatePassword = async (payload: UpdatePasswordPayload) =>\n api.patch(`/user/password`, payload);\n\nexport const updateMyProfile = async ({\n firstName,\n lastName,\n ...payload\n}: UpdateUserProfilePayload) =>\n api.patch(`/user/`, {\n ...(firstName && { firstName }),\n ...(lastName && { lastName }),\n ...payload,\n });\n\nexport const getMyProfile = async () => api.get(`/user/`);\n\nexport const verifyCurrentPassword = async (\n payload: verifyCurrentPasswordPayload,\n) => api.post('/user/verify-current-password', payload);\n\nexport const sendOtpForChangeEmail = async (newEmail: string) =>\n api.post('/user/change-email/otp', { newEmail });\n\nexport const resendOtpForChangeEmail = async () =>\n api.post('/user/change-email/otp/resend');\n\nexport const verifyOtpForChangeEmail = async (code: number) =>\n api.post('/user/change-email/otp/verify', { code });\n\nexport const deleteMyProfile = async (currentPassword: string) =>\n api.delete(`/user`, { params: { currentPassword } });\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport {\n deleteMyProfile,\n getMyProfile,\n resendOtpForChangeEmail,\n sendOtpForChangeEmail,\n updateMyProfile,\n updatePassword,\n verifyCurrentPassword,\n verifyOtpForChangeEmail,\n} from '../../helpers/my-profile.api';\nimport {\n UpdateUserProfilePayload,\n UpdatePasswordPayload,\n verifyCurrentPasswordPayload,\n} from '../../types/request-payload';\n\nimport {\n ResponseSuccess,\n ResponseErrorWithHandled,\n} from '../../../../shared/types';\n\nexport const getMyProfileRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('myProfile/getMyProfileRequest', async (args, thunkAPI) => {\n try {\n return await getMyProfile();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const updateMyProfileRequest = createAsyncThunk<\n ResponseSuccess,\n UpdateUserProfilePayload,\n { rejectValue: ResponseErrorWithHandled }\n>('myProfile/updateMyProfileRequest', async (payload, thunkAPI) => {\n try {\n return await updateMyProfile(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const updatePasswordRequest = createAsyncThunk<\n ResponseSuccess,\n UpdatePasswordPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('myProfile/updatePasswordRequest', async (payload, thunkAPI) => {\n try {\n return await updatePassword(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const verifyCurrentPasswordRequest = createAsyncThunk<\n ResponseSuccess,\n verifyCurrentPasswordPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('myProfile/verifyCurrentPassword', async (payload, thunkAPI) => {\n try {\n return await verifyCurrentPassword(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const sendOtpForChangeEmailRequest = createAsyncThunk<\n ResponseSuccess,\n string,\n { rejectValue: ResponseErrorWithHandled }\n>('myProfile/sendOtpForChangeEmail', async (payload, thunkAPI) => {\n try {\n return await sendOtpForChangeEmail(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const resendOtpForChangeEmailRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('myProfile/resendOtpForChangeEmail', async (_payload, thunkAPI) => {\n try {\n return await resendOtpForChangeEmail();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const verifyOtpForChangeEmailRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>('myProfile/verifyOtpForChangeEmail', async (payload, thunkAPI) => {\n try {\n return await verifyOtpForChangeEmail(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const deleteMyProfileRequest = createAsyncThunk<\n ResponseSuccess,\n string,\n { rejectValue: ResponseErrorWithHandled }\n>('myProfile/deleteMyProfile', async (payload, thunkAPI) => {\n try {\n return await deleteMyProfile(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n","import React from 'react';\nimport './validation-error.scss';\n\ntype ValidationErrorsProps = {\n messages: string | string[];\n};\n\nconst ValidationError: React.FC = ({ messages }) => {\n if (typeof messages === 'string') {\n return (\n
    \n
  • {messages}
  • \n
\n );\n }\n\n return (\n
    \n {messages.map((message, index) => (\n
  • {message}
  • \n ))}\n
\n );\n};\n\nexport default ValidationError;\n","import React from 'react';\nimport notification from '../../../notification';\nimport ValidationError from './validation-error';\n\nexport const showValidationErrorNotification = (messages: string[]) => {\n notification.error({\n header: 'Validation Error!',\n content: ,\n });\n};\n","import notification from '../../notification';\n\nexport const showSystemErrorNotification = (message: string) => {\n notification.error({\n header: 'Oops!',\n content: message,\n });\n};\n","import notification from '../../notification';\n\nexport const showGeneralErrorNotification = (\n message: React.ReactNode,\n header = 'Oops!',\n) => {\n notification.error({\n header,\n content: message,\n });\n};\n","import api from '../../../api';\nimport type { ResponseSuccess } from '../../../shared/types';\nimport {\n CreateAgencyClientRequestPayload,\n UpdateAgencyClientRequestPayload,\n AssignAgencyClientResourceRequestPayload,\n GetAgencyClientDropdownRequestPayload,\n GetSelectedAgencyClientRequestPayload,\n} from '../types/request-payload';\nimport type { ClientParams } from '../types/types';\n\n// get clients list for dropdown\nexport const agencyClientsDropdown = async (\n payload: GetAgencyClientDropdownRequestPayload,\n) =>\n api.get(`/client/list`, {\n params: {\n ...(payload.search && { search: payload.search }),\n ...(payload.status && { status: payload.status }),\n },\n });\n\n// get selected client for resourceType\nexport const selectedAgencyClientsDropdown = async (\n payload: GetSelectedAgencyClientRequestPayload,\n) =>\n api.get(\n `/client/${payload.resourceId}/${payload.resourceType}/connected-client`,\n );\n\n// assign resource to client\nexport const assignAgencyClientResource = async (\n payload: AssignAgencyClientResourceRequestPayload,\n) =>\n api.post(`/client/assign/${payload.resourceType}`, {\n resourceIds: payload.resourceIds,\n clientId: payload.clientId,\n });\n\n// Get Agency Clients\nexport const getAgencyClients = async (params: ClientParams) =>\n api.get('/client', { params });\n\n// Create Agency Client\nexport const createAgencyClient = async (\n payload: CreateAgencyClientRequestPayload,\n) => api.post('/client', { ...payload });\n\n// Update Agency Client\nexport const updateAgencyClient = async ({\n clientId,\n ...payload\n}: UpdateAgencyClientRequestPayload) =>\n api.patch(`/client/${clientId}`, { ...payload });\n\n// Delete Agency Client\nexport const deleteAgencyClient = async (clientId: string) =>\n api.delete(`/client/${clientId}`);\n\n// Toggle Agency Client Status\nexport const toggleClientStatus = async (clientId: number) =>\n api.post(`/client/${clientId}/toggle-status`);\n\n// Get Agency Client Active Sequences\nexport const getAgencyClientActiveSequences = async (clientId: string) =>\n api.get(`/client/sequences/${clientId}`);\n\n// Send Agency Client Reset Password\nexport const agencyClientResetPassword = async (clientId: string) =>\n api.patch(`/client/reset-password/${clientId}`);\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport { ResponseSuccess, ResponseErrorWithHandled } from '../../shared/types';\nimport { ClientParams } from './types/types';\nimport {\n getAgencyClients,\n createAgencyClient,\n updateAgencyClient,\n agencyClientsDropdown,\n assignAgencyClientResource,\n selectedAgencyClientsDropdown,\n deleteAgencyClient,\n toggleClientStatus,\n getAgencyClientActiveSequences,\n agencyClientResetPassword,\n} from './helpers/agency-client.api';\nimport {\n CreateAgencyClientRequestPayload,\n UpdateAgencyClientRequestPayload,\n AssignAgencyClientResourceRequestPayload,\n GetAgencyClientDropdownRequestPayload,\n GetSelectedAgencyClientRequestPayload,\n} from './types/request-payload';\n\nexport const getAgencyClientsRequest = createAsyncThunk<\n ResponseSuccess,\n ClientParams,\n { rejectValue: ResponseErrorWithHandled }\n>('/getAgencyClientsRequest', async (args, thunkAPI) => {\n try {\n return await getAgencyClients(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const createAgencyClientRequest = createAsyncThunk<\n ResponseSuccess,\n CreateAgencyClientRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('/createAgencyClientRequest', async (args, thunkAPI) => {\n try {\n return await createAgencyClient(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const updateAgencyClientRequest = createAsyncThunk<\n ResponseSuccess,\n UpdateAgencyClientRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('/updateAgencyClientRequest', async (args, thunkAPI) => {\n try {\n return await updateAgencyClient(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const deleteAgencyClientRequest = createAsyncThunk<\n ResponseSuccess,\n string,\n { rejectValue: ResponseErrorWithHandled }\n>('/deleteAgencyClientRequest', async (args, thunkAPI) => {\n try {\n return await deleteAgencyClient(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const toggleAgencyClientStatusRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>('agencyClient/toggleAgencyClientStatusRequest', async (args, thunkAPI) => {\n try {\n return await toggleClientStatus(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getAgencyClientActiveSequencesRequest = createAsyncThunk<\n ResponseSuccess,\n string,\n { rejectValue: ResponseErrorWithHandled }\n>('/getAgencyClientActiveSequencesRequest', async (args, thunkAPI) => {\n try {\n return await getAgencyClientActiveSequences(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getAgencyClientsDropdown = createAsyncThunk<\n ResponseSuccess,\n GetAgencyClientDropdownRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('agencyClient/agencyClientsDropdown', async (payload, thunkAPI) => {\n try {\n return await agencyClientsDropdown(payload);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getSelectedAgencyClient = createAsyncThunk<\n ResponseSuccess,\n GetSelectedAgencyClientRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('agencyClient/selectedAgencyClientsDropdown', async (payload, thunkAPI) => {\n try {\n return await selectedAgencyClientsDropdown(payload);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const updateAssignAgencyClientResource = createAsyncThunk<\n ResponseSuccess,\n AssignAgencyClientResourceRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('agencyClient/assignAgencyClientResource', async (payload, thunkAPI) => {\n try {\n return await assignAgencyClientResource(payload);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const agencyClientResetPasswordRequest = createAsyncThunk<\n ResponseSuccess,\n string,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'agencyClient/agencyClientResetPasswordRequest',\n async (payload, thunkAPI) => {\n try {\n return await agencyClientResetPassword(payload);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n","import api from '../../../api';\n\nimport { EmailAccountMethod } from '../enums/email-account';\nimport {\n EmailAccountsFilters,\n EmailAccountStatus,\n} from '../types/email-account';\nimport {\n UpdateEmailAccountRampUpSettingsRequestPayload,\n UpdateEmailAccountRequestPayload,\n VerifyEmailAccountRequestPayload,\n EmailTimeIntervalSettingsRequest,\n EmailAccountTagsAssignPayload,\n EmailAccountTagsUnassignPayload,\n BulkActionPayload,\n DomainSearchRequestPayload,\n PurchaseDomainRequestPayload,\n AddEmailAccountsRequestPayload,\n CalculatePayRequestPayload,\n} from '../types/request-payload';\nimport {\n TestConnectionRequest,\n ConnectSmtpImapAccountRequest,\n UpdateSMTPIMAPAccountRequest,\n} from '../types/smtp-imap';\n\nexport const connectEmailAccount = async (\n method: string,\n emailAccountId?: number,\n) => {\n let requestUrl = `/email-account/connect/${method}`;\n if (emailAccountId) {\n requestUrl = `${requestUrl}/${emailAccountId}`;\n }\n return api.get(requestUrl);\n};\n\nexport const verifyEmailAccount = async (\n method: EmailAccountMethod,\n payload: VerifyEmailAccountRequestPayload,\n) => api.post(`/email-account/verify/${method}`, payload);\n\nexport const verifyWhitelabelEmailAccount = async (\n method: EmailAccountMethod,\n payload: VerifyEmailAccountRequestPayload,\n) => api.post(`/email-account/whitelabel/verify/${method}`, payload);\n\nexport const setDefaultEmailAccount = async (emailAccountId: number) =>\n api.get(`/email-account/${emailAccountId}/make-default`);\n\nexport const disconnectEmailAccount = async (emailAccountId: number) =>\n api.get(`/email-account/${emailAccountId}/disconnect`);\n\nexport const getEmailAccounts = async ({\n order,\n status,\n ...params\n}: EmailAccountsFilters) =>\n api.post(`/email-account`, {\n order: order === 1 ? 'ASC' : 'DESC',\n ...(status?.length > 0 && { status: status[0] }),\n ...params,\n });\n\nexport const getEmailAccountsList = async () => api.get(`/email-account/list`);\n\nexport const deleteEmailAccount = async (emailAccountId: number) =>\n api.delete(`/email-account/${emailAccountId}`);\n\nexport const updateEmailAccount = async (\n emailAccountId: number,\n payload: UpdateEmailAccountRequestPayload,\n // TODO: change endpoint in backend as well as frontend.\n) => api.patch(`/email-account/${emailAccountId}`, payload);\n\nexport const getEmailAccount = async (hashId: string | number) =>\n api.get(`/email-account/${hashId}`);\n\nexport const getEmailAccountSettings = async (hashId: string | number) =>\n api.get(`/email-account/email-account-settings/${hashId}`);\n\ntype PayloadProps = Pick<\n UpdateEmailAccountRampUpSettingsRequestPayload,\n 'rampUpInitialSendingLimit' | 'rampUpPercent' | 'rampUpStatus'\n>;\nexport const updateEmailAccountRampUpSettings = async (\n emailAccountId: number,\n payload: PayloadProps,\n) =>\n api.patch(`/email-account/ramp-up-settings/${emailAccountId}`, {\n rampUpInitialSendingLimit: Number(payload.rampUpInitialSendingLimit),\n rampUpPercent: Number(payload.rampUpPercent),\n rampUpStatus: payload.rampUpStatus,\n });\n\nexport const emailTimeIntervalSettings = async (\n emailAccountId: number,\n payload: EmailTimeIntervalSettingsRequest,\n) => api.patch(`/email-account/interval-settings/${emailAccountId}`, payload);\n\nexport const getEmailAccountSetupScore = async (\n emailAccountId: number,\n refresh: boolean,\n) =>\n api.get(`/email-account/email-setup-score/${emailAccountId}`, {\n params: { ...(refresh && { refresh }) },\n });\n\nexport const uploadImage = async (\n formData: FormData,\n onUploadProgress: (e: any) => void,\n) => api.post('/attachment-broker/upload', formData, { onUploadProgress });\n\nexport const testSmtpImapConnection = async (payload: TestConnectionRequest) =>\n api.post('/email-account/smtp-imap/test-connection', payload);\n\nexport const connectSmtpImapAccount = async (\n payload: ConnectSmtpImapAccountRequest,\n) => api.post('/email-account/smtp-imap/connect', payload);\n\nexport const getSmtpImapAccountDetails = async (emailAccountId: number) =>\n api.get(`/email-account/smtp-imap/${emailAccountId}`);\n\nexport const updateSmtpImapAccountDetails = async (\n emailAccountId: number,\n payload: UpdateSMTPIMAPAccountRequest,\n) => api.patch(`/email-account/smtp-imap/${emailAccountId}`, payload);\n\nexport const updateEmailAge = async (\n emailAccountId: number,\n ageInMonths: number,\n) => api.patch(`/email-account/${emailAccountId}/email-age`, { ageInMonths });\n\nexport const importEmailAccountCsv = (file: File) => {\n const data = new FormData();\n data.append('file', file);\n\n return api.post('/email-account/bulk-connect', data);\n};\n\nexport const bulkEmailUpdate = (payload: any) =>\n api.post('/email-account/bulk-operation', payload);\n\nexport const trulyinboxEmailAccountConsent = () =>\n api.patch('/email-account/ti-sync/consent');\n\nexport const trulyinboxEmailAccountVerifyShApiKey = () =>\n api.get('/email-account/ti-sync/verify-api-key');\n\nexport const getTagsToEmailAccount = async () => api.get(`/email-account/tag`);\n\nexport const emailAccountTagsAssign = async (\n payload: EmailAccountTagsAssignPayload,\n) => api.post('/email-account/tag/assign', payload);\n\nexport const emailAccountTagsUnassign = async (\n payload: EmailAccountTagsUnassignPayload,\n) => api.post('/email-account/tag/un-assign', payload);\n\nexport const emailAccountTagsBulkAssign = async (payload: BulkActionPayload) =>\n api.post('/email-account/tag/bulk-assign', payload);\n\nexport const emailAccountTagsBulkUnassign = async (\n payload: BulkActionPayload,\n) => api.post('/email-account/tag/bulk-un-assign', payload);\n\nexport const getTrulyInboxToken = async (tiUserId: number, email: string) =>\n api.post(`user/${tiUserId}/login-as-truly-inbox-user`, {\n email,\n });\n\nexport const updateEmailAccountStatus = async (\n emailAccountId: number,\n status: EmailAccountStatus,\n) => api.patch(`/email-account/status/${emailAccountId}`, { status });\n\n// Email Account Infrastructure API's\n\nexport const getDomainPlans = async () => api.get(`/domain/plans`);\n\nexport const getDomainSearch = async (payload: DomainSearchRequestPayload) =>\n api.get(`/domain/search`, {\n params: {\n ...payload,\n },\n });\n\nexport const getDomainOwnerContactDetails = async () =>\n api.get(`/domain/contact-details`, {});\n\nexport const uploadDomainProfilePicture = async (formData: FormData) =>\n api.post('/domain/profile-picture/upload', formData);\n\nexport const purchaseDomain = async (payload: PurchaseDomainRequestPayload) =>\n api.post('/domain', payload);\n\nexport const addEmailAccounts = async ({\n domainId,\n mailboxes,\n}: AddEmailAccountsRequestPayload) =>\n api.post(`/domain/${domainId}/add-email-accounts`, { mailboxes });\n\nexport const calculatePay = async (params: CalculatePayRequestPayload) =>\n api.get(`/domain/calculate-pay/`, { params });\n","/* eslint-disable consistent-return */\nimport { ComponentType } from 'react';\n\nconst retryLazy = (\n componentToImport,\n): Promise<{ default: ComponentType }> =>\n new Promise((res, rej) => {\n const hasRefreshed = JSON.parse(\n window.sessionStorage.getItem('retry-lazy-refreshed') || 'false',\n );\n const refreshCount = JSON.parse(\n window.sessionStorage.getItem('retry-lazy-refresh-count') || '0',\n );\n\n componentToImport()\n .then((component) => {\n console.log('retry-lazy ~ then section');\n window.sessionStorage.setItem('retry-lazy-refreshed', 'false');\n window.sessionStorage.setItem('retry-lazy-refresh-count', '0');\n res(component);\n })\n .catch((error) => {\n console.log('🚀 ~ retry-lazy ~ error:', error);\n console.log('🚀 ~ retry-lazy ~ hasRefreshed:', hasRefreshed);\n console.log('🚀 ~ retry-lazy ~ refreshCount:', refreshCount);\n if (!hasRefreshed || refreshCount <= 3) {\n // not been refreshed yet\n window.sessionStorage.setItem('retry-lazy-refreshed', 'true');\n window.sessionStorage.setItem(\n 'retry-lazy-refresh-count',\n String(refreshCount + 1),\n );\n return window.location.reload();\n }\n rej(error);\n });\n });\n\nexport default retryLazy;\n","import api from '../../../api';\nimport { dateToString } from '../../../shared/functions/date';\nimport { ResponseSuccess } from '../../../shared/types';\nimport {\n AddTagsToLeadsPayload,\n BulkActionPayload,\n BulkActionRemoveTagsPayload,\n BulkAddToProspectSavedDto,\n BulkAddToSequenceSavedDto,\n BulkLeadExportSavedDto,\n BulkLeadRevealPeopleDto,\n RemoveTagsToLeadsPayload,\n RevealSingleLeadPayload,\n} from '../type';\n\nexport const getLeads = async (leadPayload) => {\n const queryParams = new URLSearchParams(window.location?.search);\n if (queryParams?.get('purgeCache') === '1') {\n leadPayload.purgeCache = true;\n }\n return api.post(`/lead-finder/leads/search`, {\n ...leadPayload,\n });\n};\n\nexport const fetchLeadStatusPoll = async (leadPayload) =>\n api.post(`/lead-finder/status`, {\n ...leadPayload,\n });\n\nexport const getSavedLeads = async (leadPayload) => {\n const keyword = leadPayload?.keyword;\n const tags = leadPayload?.tags;\n const createdDate = leadPayload?.createdDate;\n let queryParams = `start=${leadPayload?.start}&take=${leadPayload?.take}`;\n if (keyword) {\n queryParams += `&search=${keyword}`;\n }\n if (tags) {\n queryParams += `&tags=${tags}`;\n }\n if (createdDate) {\n queryParams += `&createdDate=${createdDate}`;\n }\n return api.get(`/lead-finder/leads?${queryParams}`);\n};\n\nexport const editSavedFilterAPI = async (filterId, apiParam) =>\n api.patch(\n // eslint-disable-next-line no-underscore-dangle\n `/lead-finder/leads/filters/${filterId}`,\n apiParam,\n );\n\nexport const deleteSavedFilterAPI = async (filterId) =>\n api.delete(\n // eslint-disable-next-line no-underscore-dangle\n `/lead-finder/leads/filters/${filterId}`,\n );\n\nexport const addSavedFilterAPI = async (apiParam) =>\n api.post(`/lead-finder/leads/filters`, apiParam);\n\nexport const getSavedFilterListAPI = async () =>\n api.get(`/lead-finder/leads/filters`);\n\nexport const getFilterSuggestionAPI = async ({ type, search }) =>\n api.get(`/lead-finder/filter-suggestion/${type}?search=${search}`);\n\nexport const revealSingleLeadAPI = async (payload: RevealSingleLeadPayload) => {\n const { revealLeadId, ...restPayload } = payload;\n return api.post(`/lead-finder/leads/reveal/${revealLeadId}`, restPayload);\n};\n\nexport const leadAddToProspectAPI = async (prospectId) =>\n api.get(`/lead-finder/leads/add-to-prospect/${prospectId}`);\n\nexport const leadAddToSequenceAPI = async (leadId, payload) =>\n api.post(`/lead-finder/leads/add-to-sequence/${leadId}`, payload);\n\nexport const bulkRevealLeadAPI = async (payload) =>\n api.post(`/lead-finder/leads/bulk-actions/reveal`, payload);\n\nexport const bulkPeopleRevealLeadAPI = async (\n payload: BulkLeadRevealPeopleDto,\n) => {\n const filteredPayload: BulkLeadRevealPeopleDto = {\n ...payload,\n ...(payload?.tagIds?.length > 0 && {\n tagIds: payload?.tagIds,\n }),\n ...(payload?.newTags?.length > 0 && {\n newTags: payload?.newTags,\n }),\n };\n\n return api.post(\n `/lead-finder/leads/bulk-actions/people-reveal`,\n filteredPayload,\n );\n};\n\nexport const bulkAddToProspectLeadAPI = async (payload) =>\n api.post(`/lead-finder/leads/bulk-actions/add-to-prospect`, payload);\n\nexport const bulkAddToSequenceLeadAPI = async (payload) =>\n api.post(`/lead-finder/leads/bulk-actions/add-to-sequence`, payload);\n\nexport const bulkSavedAddToSequenceLeadAPI = async (\n payload: BulkAddToSequenceSavedDto,\n) => {\n const filteredPayload: BulkAddToSequenceSavedDto = {\n ...payload,\n leadsFilter: {\n ...(payload.leadsFilter?.tags?.length > 0 && {\n tags: payload.leadsFilter?.tags,\n }),\n ...(payload.leadsFilter?.search?.length > 0 && {\n search: payload.leadsFilter?.search,\n }),\n ...(payload.leadsFilter?.createdDate?.length > 0 && {\n createdDate: payload.leadsFilter?.createdDate,\n }),\n },\n };\n return api.post(\n `/lead-finder/leads/bulk-actions/saved-add-to-sequence`,\n filteredPayload,\n );\n};\n\nexport const bulkSavedAddToProspectLeadAPI = async (\n payload: BulkAddToProspectSavedDto,\n) => {\n const filteredPayload: BulkAddToProspectSavedDto = {\n ...payload,\n leadsFilter: {\n ...(payload.leadsFilter?.tags?.length > 0 && {\n tags: payload.leadsFilter?.tags,\n }),\n ...(payload.leadsFilter?.search?.length > 0 && {\n search: payload.leadsFilter?.search,\n }),\n ...(payload.leadsFilter?.createdDate?.length > 0 && {\n createdDate: payload.leadsFilter?.createdDate,\n }),\n },\n };\n return api.post(\n `/lead-finder/leads/bulk-actions/saved-add-to-prospect`,\n filteredPayload,\n );\n};\n\nexport const bulkExportLeadAPI = async (payload) =>\n api.post(`/lead-finder/leads/export`, payload);\n\nexport const exportAllLeadsAPI = async (payload: BulkLeadExportSavedDto) => {\n const dates = payload?.leadsFilter?.createdDate || [];\n let dateString = [];\n if (dates?.length) {\n const startDate = dates[0];\n const endDate = dates[1];\n if (startDate && endDate) {\n dateString = [dateToString(startDate), dateToString(endDate)];\n }\n }\n const filteredPayload: BulkAddToProspectSavedDto = {\n ...payload,\n leadsFilter: {\n ...(payload.leadsFilter?.tags?.length > 0 && {\n tags: payload.leadsFilter?.tags,\n }),\n ...(payload.leadsFilter?.search?.length > 0 && {\n search: payload.leadsFilter?.search,\n }),\n ...(dates?.length > 0 && {\n createdDate: dateString,\n }),\n },\n };\n return api.post(`/lead-finder/leads/export-async`, filteredPayload);\n};\n\nexport const getTagsToLeads = async () => api.get(`/lead-finder/tags`);\n\nexport const addTagsToLeads = async ({\n tagIds,\n leads,\n newTags,\n}: AddTagsToLeadsPayload) =>\n api.post('/lead-finder/tag/assign', {\n tagIds,\n leads,\n newTags,\n });\n\nexport const removeTagsToLeads = async ({\n tagIds,\n leads,\n}: RemoveTagsToLeadsPayload) =>\n api.post('/lead-finder/tag/un-assign', {\n tagIds,\n leads,\n });\n\nexport const addTagsToBulkLeads = async (payload: BulkActionPayload) => {\n const filteredPayload: BulkActionPayload = {\n ...payload,\n leadsFilter: {\n ...(payload.leadsFilter?.tags?.length > 0 && {\n tags: payload.leadsFilter?.tags,\n }),\n ...(payload.leadsFilter?.search?.length > 0 && {\n search: payload.leadsFilter?.search,\n }),\n ...(payload.leadsFilter?.createdDate?.length > 0 && {\n createdDate: payload.leadsFilter?.createdDate,\n }),\n },\n };\n return api.post(\n '/lead-finder/tag/bulk-assign',\n filteredPayload,\n );\n};\n\nexport const removeTagsFromBulkLeads = async (\n payload: BulkActionRemoveTagsPayload,\n) => {\n const filteredPayload: BulkActionRemoveTagsPayload = {\n ...payload,\n leadsFilter: {\n ...(payload.leadsFilter?.tags?.length > 0 && {\n tags: payload.leadsFilter?.tags,\n }),\n ...(payload.leadsFilter?.search?.length > 0 && {\n search: payload.leadsFilter?.search,\n }),\n ...(payload.leadsFilter?.createdDate?.length > 0 && {\n createdDate: payload.leadsFilter?.createdDate,\n }),\n },\n };\n return api.post(\n '/lead-finder/tag/bulk-un-assign',\n filteredPayload,\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { Modify } from '../../../types';\n\ntype CheckboxProps = Modify<\n React.HTMLProps,\n {\n label?: React.ReactNode;\n checked?: boolean;\n intermediate?: boolean;\n disabled?: boolean;\n onChange?: (\n checked: boolean,\n event: React.ChangeEvent,\n ) => void;\n }\n>;\n\nconst Checkbox = React.forwardRef(\n (\n { disabled, label, checked, intermediate, className, onChange, ...rest },\n ref,\n ) => {\n const onChangeHandler = (event: React.ChangeEvent) => {\n onChange?.(event.target.checked, event);\n };\n\n const labelClass = classNames([\n 'bs-checkbox-wrapper',\n {\n 'bs-checkbox-wrapper-disabled': disabled,\n },\n className,\n ]);\n\n const spanClass = classNames([\n 'bs-checkbox',\n {\n 'bs-checkbox-disabled': disabled,\n 'bs-checkbox-indeterminate': intermediate,\n },\n ]);\n\n return (\n \n );\n },\n);\n\nCheckbox.displayName = 'Checkbox';\n\nCheckbox.defaultProps = {\n intermediate: false,\n disabled: false,\n};\n\nexport default Checkbox;\n","import React, { ReactElement, ReactNode } from 'react';\nimport { SortOrder, ColumnDescription } from 'react-bootstrap-table-next';\nimport { Placement } from '../../overlay';\n\nexport type Column = {\n dataField: string;\n text: string;\n component?: string | ReactElement | ((cell, row, rowIndex) => void);\n expandedCellRenderer?: (cell, row) => ReactElement;\n headerAlign?: string;\n isDummyField?: boolean;\n id?: number;\n isRequiredColumn?: boolean;\n isColumnSelected?: boolean;\n cellClasses?: string;\n componentClasses?: string;\n align?: string;\n onClick?: any;\n style?: any;\n headerStyle?: any;\n sort?: boolean;\n useCustomSortIcon?: boolean;\n headerTooltipPlacement?: Placement;\n onSort?: (field, order) => void;\n sortCaret?: (order, column) => ReactNode;\n headerFormatter?: (\n column,\n colIndex,\n { sortElement, filterElement },\n ) => ReactNode;\n switchOnTooltip?: string;\n switchOffTooltip?: string;\n tooltipPlacement?: Placement;\n overlayTooltipClass?: string;\n headerLoadingSkeleton?: ReactElement;\n cellLoadingSkeleton?: ReactElement;\n isCellClickable?: boolean;\n headerComponent?: () => React.ReactElement;\n} & ColumnDescription;\n\nexport enum PaginationShowHide {\n HIDE = 'HIDE',\n SHOW = 'SHOW',\n}\n\nexport type IState = {\n selectedRows: any[];\n expandedRowIds: number[];\n goToPage: number;\n showRowsPerPage: TablePageLengthDropDown;\n showBounce: boolean;\n isError: boolean;\n pgOptions: TablePageLengthDropDown[];\n};\n\nexport type OverlayTooltipProps = {\n placement?: Placement;\n text?: string;\n};\n\nexport type Action = {\n key: string;\n displayName: string;\n icon?: string;\n position?: string;\n conditionKey?: string;\n condition?: boolean;\n imageIcon?: any;\n customIcon?: boolean;\n iconElement?: ReactElement;\n isSVGIcon?: boolean;\n SVGIcon?: ReactNode;\n disabled?: boolean;\n overlayTooltip?: OverlayTooltipProps;\n};\n\nexport type SortOptions = {\n dataField: string;\n order: SortOrder;\n};\n\nexport type IProps = {\n columns: Column[];\n data?: any;\n actionColumnName?: string;\n actions?: Action[] | ((cell, row) => Action[]);\n onRowClickHandler?: (row) => void;\n tableWrapperClasses?: string;\n bodyWrapperClasses?: string;\n headerWrapperClasses?: string;\n newThemeActions?: boolean;\n onClick?: (\n event: React.MouseEvent,\n row: any,\n ) => void;\n onChange?: (\n value: any,\n event: React.ChangeEvent,\n cell: any,\n row: any,\n index: number,\n ) => void;\n paginationOptions?: any;\n onPaginationOptionsChange?: any;\n onAction?: (key: string, row: any) => void;\n onRowSelect?: (row: any, checked: boolean) => void;\n onRowSelectAll?: (rows: any, checked: boolean) => void;\n resetSelected?: boolean;\n handleResetSelected?: VoidFunction;\n headerVisibleForGenerateColumn?: boolean;\n borderOverActions?: boolean;\n pagination: PaginationShowHide;\n sort?: SortOptions;\n id?: any;\n hidePageOptions?: boolean;\n isNewPagination?: boolean;\n tableRef?: any;\n deselectedRows?: any[];\n isLoading?: boolean;\n rowClasses?: string | ((row: any, rowIndex: number) => string);\n showExpandColumn?: boolean;\n isExpandColumnPositionFixed?: boolean;\n resetExpandedRows?: boolean;\n showColumnsToggler?: boolean;\n selectedColumnsIds?: number[];\n onColumnSelect?: (colIds: number[]) => void;\n sequenceFixedPageSize?: boolean;\n maxSelectedRowsLimit?: number;\n defaultSelectedRows?: number[];\n isRefreshClicked?: boolean;\n setOnRefresh?: (refresh: boolean) => void;\n onActionDropdownToggle?: (isOpen: boolean) => void;\n showRowsPerPage?: ShowingLengthPerPageOption;\n loadingRowsCount?: number;\n fixedPageSize?: number;\n hideActionColumnHeader?: boolean;\n useCustomSortIcon?: boolean;\n};\n\nexport enum Sorting {\n Ascending = 'asc',\n Descending = 'desc',\n}\n\nexport type TablePageLengthDropDown = {\n key: string;\n value: number;\n};\n\nexport enum PaginationLocalStorageKey {\n ProspectRowsPerPage = 'prospect-rows-per-page',\n}\n\nexport type ShowingLengthPerPageOption = {\n key: string;\n value: number;\n};\n","import moment from 'moment-timezone';\nimport { RedirectUser } from '../../../../../../components/settings/components/billing-subscription/enums/redirect-user';\nimport SubscriptionStatus from '../../../../../../components/settings/components/billing-subscription/enums/subscription-status';\nimport {\n PlanType,\n SubscriptionPlans,\n} from '../../../../../utils/subscription-plans';\nimport { isValueBasedPlan } from '../../../../../../components/settings/components/billing-subscription/components/outreach-plans/utils/helper';\n\nexport const getSubscriptionPlanClassName = (\n subscriptionPlanStatus: SubscriptionStatus,\n) =>\n subscriptionPlanStatus === SubscriptionStatus.Canceled\n ? 'canceled-plan'\n : 'paused-plan';\n\nexport const isUserInPaidPlan = (planCode: SubscriptionPlans) =>\n planCode !== SubscriptionPlans.TRIAL && planCode !== SubscriptionPlans.FREE;\n\nexport const redirectUser = (rediract) =>\n rediract === RedirectUser.EmailAccounts\n ? window.open('/email-accounts', '_blank')\n : window.open('/settings/team', '_blank');\n\nexport const checkIsLtdPlan = (planType: PlanType): boolean =>\n planType === PlanType.LTD;\n\nexport const checkNewLtdPlanUser = (planType: PlanType): boolean =>\n planType === PlanType.LTD2;\n\nexport const checkIsUserPlan = (planType: PlanType): boolean =>\n planType === PlanType.User;\n\nexport const checkIsSubscriptionPausedOrCancelled = (subscriptionPlanStatus) =>\n subscriptionPlanStatus === SubscriptionStatus.Paused ||\n subscriptionPlanStatus === SubscriptionStatus.Canceled;\n\nexport const getButtonTitle = (isUserSubscribed, planType, planCode) => {\n if (checkIsLtdPlan(planType)) {\n // if (planType === SubscriptionPlans.EMAIL_OUTREACH_LIFETIME) {\n // return 'upgrade_plan';\n // }\n // if (\n // planType === SubscriptionPlans.EMAIL_OUTREACH_PRO_LIFETIME &&\n // Number(userQuota) < 20\n // ) {\n // }\n return 'add_more_slots';\n }\n\n if (isUserSubscribed && !isValueBasedPlan(planCode)) {\n return 'modify_subscription';\n }\n\n if (isValueBasedPlan(planCode)) {\n return 'upgrade_subscription';\n }\n\n return 'upgrade_plan';\n};\n\nexport const getBillOverview = (\n pausedAt,\n startAt,\n pauseEndsAt,\n nextBillingAt,\n planType,\n planCode,\n userQuota,\n planAmount,\n stripeCredits,\n) => {\n const dateFormat = 'DD MMM, yyyy';\n return [\n {\n title: pausedAt ? 'Paused on' : 'Start Date',\n value: moment(pausedAt || startAt).format(dateFormat),\n icon: '',\n },\n ...(!checkIsLtdPlan(planType)\n ? [\n {\n title: pauseEndsAt ? 'Resumes on' : 'Next Billing Date',\n value: moment(pauseEndsAt || nextBillingAt).format(dateFormat),\n icon: '',\n },\n {\n title: 'Next Billing Amount',\n value: `$${planAmount}`,\n },\n !isValueBasedPlan(planType) && {\n title: 'Number of Slots',\n value: userQuota,\n },\n stripeCredits > 0 && {\n title: 'Credit Balance',\n value: `$${stripeCredits}`,\n showTooltip: true,\n tooltipText:\n 'The credit balance automatically applies to the next payment.',\n },\n ]\n : [\n {\n title: 'Number of Slots',\n value: userQuota,\n },\n ]),\n ];\n};\n\nexport const getLtdExpiryDateLabel = (expiryDate: string): string => {\n if (expiryDate) {\n const date = moment(expiryDate);\n\n return `Hurry up! Upgrade your plan now. (Only ${date.diff(\n moment(),\n 'days',\n )} days left)`;\n }\n\n return '';\n};\n\nexport const checkIsLtdPeriodExpired = (expiryDate: string): boolean =>\n moment(expiryDate).diff(moment(), 'days') >= 0;\n\nexport const shouldShowBillSummaryForLtd = ({\n planType,\n planCode,\n userQuota,\n ltdExpiryDate,\n}) => {\n if (checkIsLtdPlan(planType)) {\n if (!checkIsLtdPeriodExpired(ltdExpiryDate)) {\n return true;\n }\n\n if (planCode === SubscriptionPlans.EMAIL_OUTREACH_PRO_LIFETIME) {\n return Number(userQuota) === 20;\n }\n }\n\n return false;\n};\n\nexport const showBillSummary = ({\n planType,\n planCode,\n userQuota,\n ltdExpiryDate,\n isUserSubscribed,\n isInvoice,\n}) => {\n if (planType) {\n if (checkNewLtdPlanUser(planType)) {\n return false;\n }\n\n if (checkIsLtdPlan(planCode)) {\n return shouldShowBillSummaryForLtd({\n planType,\n planCode,\n userQuota,\n ltdExpiryDate,\n });\n }\n\n return isUserSubscribed && !isInvoice;\n }\n\n return false;\n};\n\nexport const shouldShowLtdExpireAlertOrModifyBtn = ({\n ltdExpiryDate,\n}): boolean => {\n if (checkIsLtdPeriodExpired(ltdExpiryDate)) {\n return true;\n }\n return false;\n};\n","export enum ProspectProgress {\n Active = 'active',\n Replied = 'replied',\n Bounced = 'bounced',\n Unsubscribed = 'unsubscribed',\n Finished = 'finished',\n Paused = 'paused',\n}\n\nexport enum OnProspectSequenceActions {\n MarkAsReplied = 'mark as replied',\n RemoveFromSequence = 'remove from sequence',\n MoveToStep = 'move to step',\n MarkAsFinished = 'mark as finished',\n}\n\nexport enum BulkActionProspect {\n AddManually = 'Add Prospect Manually',\n AddToStep = 'Add To Step',\n RemoveProspect = 'Remove Prospect',\n Unsubscribe = 'Unsubscribe Prospect',\n ProspectDetail = 'Prospect Detail Tab',\n TagsUpdated = 'Updated Tags',\n}\n\nexport enum ConversationType {\n All = 'all', // Get All Emails\n External = 'external', // Get External Emails Only\n System = 'system', // Get Sequence Emails Only\n}\n\nexport enum ProspectSortBy {\n FirstName = 'firstName',\n LastName = 'lastName',\n Email = 'email',\n JobTitle = 'jobTitle',\n Department = 'department',\n Owner = 'owner',\n City = 'city',\n State = 'state',\n Country = 'country',\n CreateAt = 'createAt',\n CompanyName = 'companyName',\n CompanyIndustry = 'companyIndustry',\n // LastContactedAt = 'lastContactedAt',\n // LastUpdatedAt = 'lastUpdatedAt',\n // TotalOpenCount = 'totalOpenCount',\n // TotalClickCount = 'totalClickCount',\n // LastClickedAt = 'lastClickedAt',\n // LastRepliedAt = 'lastRepliedAt',\n}\n","import api from '../../../api';\nimport { ResponseSuccess } from '../../../shared/types/response';\nimport { PaginationOptions } from '../components/admin-settings/types';\nimport {\n UpdateAdminSettingsExcludeList,\n UpdateAdminSettingsRequestPayload,\n} from '../types/request-payload';\n\nexport const getAdminSettings = async () =>\n api.get(`/accounts`);\n\nexport const updateAdminSettings = async (\n payload: UpdateAdminSettingsRequestPayload,\n) => api.patch(`/accounts`, payload);\n\nexport const getExclusionList = async (payload: PaginationOptions) =>\n api.get(`/unibox/exclude-list`, {\n params: {\n pageNumber: payload.currentPage,\n pageLimit: payload.itemsPerPage,\n },\n });\n\nexport const updateExclusionList = async (\n payload: UpdateAdminSettingsExcludeList,\n) => api.post('/unibox/exclude-list', payload);\n\nexport const updateSSOOrganization = async (\n payload: { displayName: string; domains: string[] },\n) => api.patch('/accounts/sso/update-organization', payload);\n\nexport const getSSOOrganization = async () =>\n api.get(`/accounts/sso/organization`);\n\nexport const getSSOSetupUrl = async () =>\n api.get(`/accounts/sso/setupURL`);\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport {\n ResponseSuccess,\n ResponseErrorWithHandled,\n} from '../../../../shared/types';\n\nimport {\n getAdminSettings,\n getExclusionList,\n getSSOOrganization,\n getSSOSetupUrl,\n updateAdminSettings,\n updateExclusionList,\n updateSSOOrganization,\n} from '../../helpers/admin-settings.api';\nimport {\n UpdateAdminSettingsExcludeList,\n UpdateAdminSettingsRequestPayload,\n} from '../../types/request-payload';\nimport { PaginationOptions } from './types';\n\nexport const getAdminSettingsRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('adminSettings/getAdminSettingsRequest', async (args, thunkAPI) => {\n try {\n return await getAdminSettings();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const updateAdminSettingsRequest = createAsyncThunk<\n ResponseSuccess,\n UpdateAdminSettingsRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('adminSettings/updateAdminSettingsRequest', async (args, thunkAPI) => {\n try {\n return await updateAdminSettings(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getExclusionListRequest = createAsyncThunk<\n ResponseSuccess,\n PaginationOptions,\n { rejectValue: ResponseErrorWithHandled }\n>('adminSettings/getExclusionListRequest', async (args, thunkAPI) => {\n try {\n return await getExclusionList(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const updateExclusionListRequest = createAsyncThunk<\n ResponseSuccess,\n UpdateAdminSettingsExcludeList,\n { rejectValue: ResponseErrorWithHandled }\n>('adminSettings/updateExclusionListRequest', async (args, thunkAPI) => {\n try {\n return await updateExclusionList(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const updateSSOOrganizationRequest = createAsyncThunk<\n ResponseSuccess,\n { displayName: string; domains: string[] },\n { rejectValue: ResponseErrorWithHandled }\n>('adminSettings/updateSSOOrganization', async (args, thunkAPI) => {\n try {\n return await updateSSOOrganization(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getSSOOrganizationRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('adminSettings/getSSOOrganization', async (args, thunkAPI) => {\n try {\n return await getSSOOrganization();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getSSOSetupUrlRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('adminSettings/getSSOSetupUrl', async (args, thunkAPI) => {\n try {\n return await getSSOSetupUrl();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});","export enum AnalyticsEvents {\n SignupCompleted = 'Sign-up Completed',\n OnboardingCompleted = 'Onboarding Completed',\n SignedOut = 'Signed Out',\n NotificationClicked = 'Notification Clicked',\n ExtensionIconClicked = 'Extension Icon Clicked',\n FeatureRequestClicked = 'Feature Request Clicked',\n BeaconOpened = 'Beacon Opened',\n TemplateInserted = 'Template Inserted',\n ExtraVariantAdded = 'Extra Variant Added',\n TrialExtended = 'Trial Extended',\n TrippedFeature = 'Tripped Feature',\n LoadedAPage = 'Loaded a Page',\n ClickedGetStartedOnAgencyTab = 'Clicked Get Started on Agency Tab',\n ClickedOnPayNow = 'Clicked On Pay Now',\n IntegrationConnected = 'Integration Connected',\n IntegrationDisconnected = 'Integration Disconnected',\n IntegrationConfigured = 'Integration Configured',\n PreSendPreviewLoaded = 'Pre Send Preview Loaded',\n SpintaxCreated = 'Spintax created',\n ReportsImageDownloaded = 'Reports Image Downloaded',\n FiltersApplied = 'Filters applied',\n AiVariantGenerate = 'AI Variant Generate',\n AiVariantSaved = 'AI Variant Saved',\n AiVariantDiscard = 'AI Variant Discard',\n CheckedSequenceProgress = 'Checked Sequence Progress',\n ProspectStepBifurcation = 'Prospect Step Bifurcation',\n CheckedRepliesFromSequence = 'Checked Replies From Sequence',\n CheckedPositiveRepliesFromSequence = 'Checked Positive Replies From Sequence',\n CheckedStatusOfEmailAccounts = 'Checked Status Of Email Accounts',\n DownloadMobileAppFromProfileSection = 'Download mobile app from profile section',\n DownloadMobileAppFromUnifiedInbox = 'Download mobile app from unified inbox',\n}\n","import { IntercomEvents } from '../enums/intercom-events';\n\nexport const openChatSupport = () => {\n if (window.Intercom) {\n window.Intercom(IntercomEvents.SHOW_MESSAGES);\n }\n};\n\nexport const openIntercomHome = () => {\n if (window.Intercom) {\n window.Intercom(IntercomEvents.SHOW);\n }\n};\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport {\n CreateOutcomeRequestPayload,\n DeleteOutcomeRequestPayload,\n UpdateOutcomeRequestPayload,\n} from '../../types/request-payload';\nimport {\n ResponseSuccess,\n ResponseErrorWithHandled,\n} from '../../../../shared/types';\nimport {\n getCustomOutcomes,\n createCustomOutcome,\n updateCustomOutcome,\n deleteCustomOutcome,\n getCustomOutcomesWithPagination,\n getDefaultOutcomesWithPagination,\n getAllOutcomes,\n} from '../../helpers/outcome.api';\nimport { PaginationQueryParams } from '../../../../shared/types/request';\n\nexport const getCustomOutcomeRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('customOutcome/getCustomOutcomeRequest', async (args, thunkAPI) => {\n try {\n return await getCustomOutcomes();\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getCustomOutcomesWithPaginationRequest = createAsyncThunk<\n ResponseSuccess,\n PaginationQueryParams & {search?: string},\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'customOutcome/getCustomOutcomesWithPaginationRequest',\n async ({ search, ...args }, thunkAPI) => {\n try {\n const requestArgs = {\n ...args,\n ...(search && { search })\n };\n return await getCustomOutcomesWithPagination(requestArgs);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const getDefaultOutcomesWithPaginationRequest = createAsyncThunk<\n ResponseSuccess,\n PaginationQueryParams & {search?: string},\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'customOutcome/getDefaultOutcomesWithPaginationRequest',\n async ({ search, ...args }, thunkAPI) => {\n try {\n const requestArgs = {\n ...args,\n ...(search && { search })\n };\n return await getDefaultOutcomesWithPagination(requestArgs);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const createCustomOutcomeRequest = createAsyncThunk<\n ResponseSuccess,\n CreateOutcomeRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('customOutcome/createCustomOutcomeRequest', async (payload, thunkAPI) => {\n try {\n return await createCustomOutcome(payload);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\ntype UpdateCustomOutcomePayloadCreatorArgs = UpdateOutcomeRequestPayload & {\n customOutcomeId: number;\n};\n\nexport const updateCustomOutcomeRequest = createAsyncThunk<\n ResponseSuccess,\n UpdateCustomOutcomePayloadCreatorArgs,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'customOutcome/updateCustomOutcomeRequest',\n async ({ customOutcomeId, ...payload }, thunkAPI) => {\n try {\n return await updateCustomOutcome(customOutcomeId, payload);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const deleteCustomOutcomeRequest = createAsyncThunk<\n ResponseSuccess,\n DeleteOutcomeRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('customOutcome/deleteCustomOutcomeRequest', async ({customOutcomeId, newOutcomeId}, thunkAPI) => {\n try {\n return await deleteCustomOutcome(customOutcomeId, newOutcomeId);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getAllOutcomesRequest = createAsyncThunk<\n ResponseSuccess,\n PaginationQueryParams & {search?: string},\n { rejectValue: ResponseErrorWithHandled }\n>('api-token/getAllOutcomesRequest', async ({ search, ...args }, thunkAPI) => {\n try {\n const requestArgs = {\n ...args,\n ...(search && { search })\n };\n return await getAllOutcomes(requestArgs);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n","import { BillingOption } from '../../../../../../../shared/utils/billing-options';\nimport {\n PlanPurchaseAction,\n PlanType,\n SubscriptionPlanTitle,\n SubscriptionPlans,\n} from '../../../../../../../shared/utils/subscription-plans';\n\nexport enum UpgradePlanQueryParamsKey {\n Action = 'action',\n Plan = 'plan',\n Period = 'period',\n}\n\nexport const isValueBasedPlan = (planType: PlanType) =>\n planType === PlanType.ValueBased;\n\nexport const getPlanIndex = (plans, planId) =>\n plans\n .filter(({ planCode }) => isValueBasedPlan(planCode))\n .findIndex(({ id }) => id === planId);\n\nexport const getPlanPeriod = (planCycle: BillingOption) =>\n planCycle === BillingOption.MONTHLY ? '1' : '12';\n\nexport const getSubscribeAction = (isUserModifyingSubscription: boolean) =>\n isUserModifyingSubscription\n ? PlanPurchaseAction.Upgrade\n : PlanPurchaseAction.Subscribe;\n\nexport const isPremiumFeatureBannerShow = (planCode) =>\n planCode === SubscriptionPlans.TRIAL ||\n planCode === SubscriptionPlans.OUTREACH_BASIC_MONTHLY ||\n planCode === SubscriptionPlans.OUTREACH_BASIC_YEARLY ||\n planCode === SubscriptionPlans.OUTREACH_BASIC_MONTHLY_8_2023 ||\n planCode === SubscriptionPlans.OUTREACH_BASIC_YEARLY_8_2023;\n\nexport const isAnnuallyPlan = (planCycle: BillingOption) =>\n planCycle === BillingOption.ANNUALLY;\n\nexport const stepWisePlanMonthly = {\n step1: SubscriptionPlanTitle.OutreachScaleMonthly100k,\n step2: SubscriptionPlanTitle.OutreachScaleMonthly200k,\n step3: SubscriptionPlanTitle.OutreachScaleMonthly300k,\n step4: SubscriptionPlanTitle.OutreachScaleMonthly400k,\n step5: SubscriptionPlanTitle.OutreachScaleMonthly500k,\n step6: SubscriptionPlanTitle.Custom,\n};\n\nexport const stepWisePlanYearly = {\n step1: SubscriptionPlanTitle.OutreachScaleYearly100k,\n step2: SubscriptionPlanTitle.OutreachScaleYearly200k,\n step3: SubscriptionPlanTitle.OutreachScaleYearly300k,\n step4: SubscriptionPlanTitle.OutreachScaleYearly400k,\n step5: SubscriptionPlanTitle.OutreachScaleYearly500k,\n step6: SubscriptionPlanTitle.Custom,\n};\n\nexport const getCustomScalePlusPlanName = (step, isAnnualPlan) =>\n isAnnualPlan\n ? stepWisePlanYearly[`step${step}`]\n : stepWisePlanMonthly[`step${step}`];\n","import React, { ReactElement } from 'react';\n\nexport type FormField = {\n id: string | number;\n name: string;\n type?: string;\n value?: any;\n displayName: string;\n placeHolder?: string;\n required?: boolean;\n validationErrorMessage?: string;\n disabled?: boolean;\n validator?: string | (() => boolean);\n component: string | ReactElement;\n styleClassNames?: string;\n inlineStyle?: React.CSSProperties;\n};\n\nexport type IProps = {\n fields: FormField[];\n formBodyClasses?: string;\n formMode?: FormMode;\n formContainerClasses?: string;\n onSubmit: (values: any) => void;\n onCancel: () => void;\n buttonClassName?: string;\n submitStatus?: boolean;\n buttonTitle?: string;\n t: (x: string) => string;\n primaryEmailChangeInProspectRequest?: (primaryEmailProspectInfoId: number, contactId: number) => void;\n deleteEmailFromProspectRequest?: (prospectInfoId:number, contactId:number) => void;\n deletePhoneFromProspectRequest?:(prospectInfoId:number, contactId:number) => void;\n selectedProspectId?: number;\n};\n\nexport enum InputValidationType {\n isEmail = 'isEmail',\n MaxCharLimit = 'maxCharLimit',\n isMobilePhone = 'isMobilePhone',\n}\n\nexport enum FormMode {\n Edit = 'edit',\n Add = 'add',\n}\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport {\n ResponseErrorWithHandled,\n ResponseSuccess,\n} from '../../../../shared/types';\nimport {\n createApiToken,\n getApiTokenList,\n revokeApiToken,\n getCobaltSessionToken,\n cobaltEventsSubscribe,\n getIntegrationAdminSetting,\n changeIntegrationSetting,\n generateIntegrationApiToken,\n authenticateApiTokenWithCurrentUser,\n} from '../../helpers/api-token.api';\nimport {\n CreateApiTokenPayload,\n RevokeApiTokenPayload,\n SubscribedEventPayload,\n} from './types';\n\nexport const getApiTokenListRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('api-token/getApiTokenList', async (args, thunkAPI) => {\n try {\n return await getApiTokenList();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const createApiTokenRequest = createAsyncThunk<\n ResponseSuccess,\n CreateApiTokenPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('api-token/createApiTokenRequest', async ({ label }, thunkAPI) => {\n try {\n return await createApiToken(label);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const revokeApiTokenRequest = createAsyncThunk<\n ResponseSuccess,\n RevokeApiTokenPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('api-token/revokeApiToken', async ({ tokenId }, thunkAPI) => {\n try {\n return await revokeApiToken(tokenId);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getCobaltSessionTokenRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('api-token/getCobaltSessionToken', async (args, thunkAPI) => {\n try {\n return await getCobaltSessionToken();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const cobaltEventsSubscribeRequest = createAsyncThunk<\n ResponseSuccess,\n SubscribedEventPayload[],\n { rejectValue: ResponseErrorWithHandled }\n>('api-token/cobaltEventsSubscribeRequest', async (args, thunkAPI) => {\n try {\n return await cobaltEventsSubscribe(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getIntegrationAdminSettingRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('api-token/getIntegrationAdminSettingRequest', async (args, thunkAPI) => {\n try {\n return await getIntegrationAdminSetting();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const changeIntegrationSettingRequest = createAsyncThunk<\n ResponseSuccess,\n { isAllUser: boolean },\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'api-token/changeIntegrationSettingRequest',\n async ({ isAllUser }, thunkAPI) => {\n try {\n return await changeIntegrationSetting(isAllUser);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const generateIntegrationApiTokenRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('api-token/generateIntegrationApiTokenRequest', async (_args, thunkAPI) => {\n try {\n return await generateIntegrationApiToken();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const authenticateApiTokenWithCurrentUserRequest = createAsyncThunk<\n ResponseSuccess,\n { apiToken: string },\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'api-token/authenticateApiTokenWithCurrentUserRequest',\n async ({ apiToken }, thunkAPI) => {\n try {\n return await authenticateApiTokenWithCurrentUser(apiToken);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n","export { default } from './truncated-text-with-tooltip';\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport Button from '../design-system/components/atoms/button';\nimport { Images } from '../app-constants';\nimport ImageIcon from '../components/images/image-icon';\nimport { accessibleOnClick } from '../utils/accessible-on-click';\nimport { openChatSupport } from '../utils/open-chat-support';\n\nconst ErrorFallback: React.FC = () => {\n const { t } = useTranslation();\n\n const openBeacon = () => {\n openChatSupport();\n };\n\n const onRefresh = () => {\n window.location.reload();\n };\n\n return (\n
\n \n {t('messages.error_boundary_title')}\n \n
\n \n
\n \n {t('messages.error_boundary_sub_text_one')}\n \n
\n \n {t('messages.error_boundary_sub_text_two')}\n \n \n {t('labels.Contact_Support')}.\n \n
\n \n {t('messages.return_to_application')}\n \n
\n );\n};\n\nexport default ErrorFallback;\n","import React from 'react';\nimport { ErrorBoundary } from '@sentry/react';\nimport { IProps } from './types';\nimport ErrorBoundaryUI from '../../error-boundary/error-boundary';\nimport store from '../../../store';\nimport { version } from '../../../../package.json';\n\nconst ErrorBoundaryWrapper: React.FC = ({ children }) => {\n const state = store.getState();\n\n return (\n }\n showDialog\n beforeCapture={(scope) => {\n scope.setTag('isFallbackUIShown', true);\n scope.setTag('version', version);\n console.log('User Email - ', state?.home?.email);\n }}\n onError={(error: Error) => {\n console.log('Error Message: ', error?.message);\n if (\n error?.message?.includes('NotFoundError') &&\n (error?.message?.includes('insertBefore') ||\n error?.message?.includes('removeChild'))\n ) {\n console.log('Auto Reloading...');\n window.location.reload();\n }\n }}\n >\n {children}\n \n );\n};\n\nexport default ErrorBoundaryWrapper;\n","export enum IconPlace {\n Right = 'right',\n Left = 'left',\n}\n\nexport enum Size {\n Small = 'small',\n Medium = 'medium',\n Large = 'large',\n}\n\nexport enum Variant {\n Default = 'default',\n Error = 'error',\n Warning = 'warning',\n Success = 'success',\n Succeeded = 'succeeded',\n}\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport {\n CreateCustomFieldRequestPayload,\n UpdateCustomFieldRequestPayload,\n} from '../../types/request-payload';\nimport {\n ResponseSuccess,\n ResponseErrorWithHandled,\n} from '../../../../shared/types';\nimport {\n getCustomFields,\n createCustomField,\n updateCustomField,\n deleteCustomField,\n getCustomFieldsWithPagination,\n getDefaultFieldsWithPagination,\n getAllFields,\n} from '../../helpers/field.api';\nimport { PaginationQueryParams } from '../../../../shared/types/request';\n\nexport const getCustomFieldRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('customField/getCustomFieldRequest', async (args, thunkAPI) => {\n try {\n return await getCustomFields();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getCustomFieldsWithPaginationRequest = createAsyncThunk<\n ResponseSuccess,\n PaginationQueryParams,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'customField/getCustomFieldsWithPaginationRequest',\n async (args, thunkAPI) => {\n try {\n return await getCustomFieldsWithPagination(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const getDefaultFieldsWithPaginationRequest = createAsyncThunk<\n ResponseSuccess,\n PaginationQueryParams,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'customField/getDefaultFieldsWithPaginationRequest',\n async (args, thunkAPI) => {\n try {\n return await getDefaultFieldsWithPagination(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const createCustomFieldRequest = createAsyncThunk<\n ResponseSuccess,\n CreateCustomFieldRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('customField/createCustomFieldRequest', async (payload, thunkAPI) => {\n try {\n return await createCustomField(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\ntype UpdateCustomFieldPayloadCreatorArgs = UpdateCustomFieldRequestPayload & {\n customFieldId: number;\n};\n\nexport const updateCustomFieldRequest = createAsyncThunk<\n ResponseSuccess,\n UpdateCustomFieldPayloadCreatorArgs,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'customField/updateCustomFieldRequest',\n async ({ customFieldId, ...payload }, thunkAPI) => {\n try {\n return await updateCustomField(customFieldId, payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const deleteCustomFieldRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>('customField/deleteCustomFieldRequest', async (customFieldId, thunkAPI) => {\n try {\n return await deleteCustomField(customFieldId);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getAllFieldsRequest = createAsyncThunk<\n ResponseSuccess,\n PaginationQueryParams,\n { rejectValue: ResponseErrorWithHandled }\n>('api-token/getAllFieldsRequest', async (args, thunkAPI) => {\n try {\n return await getAllFields(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n","/* eslint-disable @typescript-eslint/no-shadow */\nimport { map } from 'lodash';\nimport {\n Filters,\n ProspectsFilters,\n FilterProperties,\n} from '../../../shared/types/prospects-filters';\nimport {\n ContactStatusFilterEnum,\n ContactStatusType,\n ContactStatusTypeDisplayName,\n ContactVerificationStatus,\n ContactVerificationStatusTypeDisplayName,\n ProspectOutcomeDisplayName,\n CreationSourceDisplayName,\n ProspectCreationSource,\n SequenceStepPriority,\n} from '../../sequence/enums';\n\n// To separate filters when displayed on UI\nexport const filterSeparator = ', ';\n\nexport const filterToProperties: Record = {\n tags: {\n displayNameKey: 'name',\n valueKey: 'id',\n separator: filterSeparator,\n },\n owners: {\n displayNameKey: 'firstName',\n valueKey: 'id',\n separator: filterSeparator,\n },\n status: {\n displayNameKey: 'name',\n valueKey: 'id',\n separator: filterSeparator,\n },\n outcomes: {\n displayNameKey: 'name',\n valueKey: 'id',\n separator: filterSeparator,\n },\n 'current step': {\n displayNameKey: 'name',\n valueKey: 'id',\n separator: filterSeparator,\n },\n sequences: {\n displayNameKey: 'title',\n valueKey: 'id',\n separator: filterSeparator,\n },\n 'email account': {\n displayNameKey: 'email',\n valueKey: 'id',\n separator: filterSeparator,\n },\n 'client associated': {\n displayNameKey: 'email',\n valueKey: 'id',\n separator: filterSeparator,\n },\n 'verification status': {\n displayNameKey: 'name',\n valueKey: 'id',\n separator: filterSeparator,\n },\n 'task priority': {\n displayNameKey: 'name',\n valueKey: 'id',\n separator: filterSeparator,\n },\n 'created date': {\n displayNameKey: 'displayDate',\n valueKey: 'date',\n separator: ' - ',\n },\n 'creation source': {\n displayNameKey: 'name',\n valueKey: 'id',\n separator: filterSeparator,\n },\n conversationType: {\n displayNameKey: 'name',\n valueKey: 'name',\n separator: filterSeparator,\n },\n 'imported file': {\n displayNameKey: 'name',\n valueKey: 'id',\n separator: filterSeparator,\n },\n};\n\n/**\n * Prospect Statuses\n */\nexport const statuses = [\n {\n name: ContactStatusTypeDisplayName.subscribed,\n id: ContactStatusType.Subscribed,\n isHeaderFilter: false,\n },\n {\n name: ContactStatusTypeDisplayName.unsubscribed,\n id: ContactStatusType.Unsubscribed,\n isHeaderFilter: false,\n },\n {\n name: ContactStatusTypeDisplayName.bounced,\n id: ContactStatusType.Bounced,\n isHeaderFilter: false,\n },\n {\n name: ContactStatusTypeDisplayName.paused,\n id: ContactStatusType.Paused,\n isHeaderFilter: false,\n },\n {\n name: ContactStatusFilterEnum.NotContacted,\n id: ContactStatusFilterEnum.NotContacted,\n isHeaderFilter: true,\n },\n {\n name: ContactStatusFilterEnum.Contacted,\n id: ContactStatusFilterEnum.Contacted,\n isHeaderFilter: true,\n },\n {\n name: ContactStatusFilterEnum.Open,\n id: ContactStatusFilterEnum.Open,\n isHeaderFilter: true,\n },\n {\n name: ContactStatusFilterEnum.Replied,\n id: ContactStatusFilterEnum.Replied,\n isHeaderFilter: true,\n },\n {\n name: ContactStatusFilterEnum.Clicked,\n id: ContactStatusFilterEnum.Clicked,\n isHeaderFilter: true,\n },\n {\n name: ContactStatusFilterEnum.SentNotOpen,\n id: ContactStatusFilterEnum.SentNotOpen,\n isHeaderFilter: true,\n },\n {\n name: ContactStatusFilterEnum.OpenNotClick,\n id: ContactStatusFilterEnum.OpenNotClick,\n isHeaderFilter: true,\n },\n {\n name: ContactStatusFilterEnum.OpenNotReply,\n id: ContactStatusFilterEnum.OpenNotReply,\n isHeaderFilter: true,\n },\n {\n name: ContactStatusFilterEnum.ClickedNoReply,\n id: ContactStatusFilterEnum.ClickedNoReply,\n isHeaderFilter: true,\n },\n];\n\n/**\n * Prospect Outcomes\n */\nexport const outcomes = [\n {\n name: ProspectOutcomeDisplayName.Interested,\n id: 2,\n },\n {\n name: ProspectOutcomeDisplayName.NotInterested,\n id: 3,\n },\n {\n name: ProspectOutcomeDisplayName.MeetingBooked,\n id: 4,\n },\n {\n name: ProspectOutcomeDisplayName.OutOfOffice,\n id: 5,\n },\n {\n name: ProspectOutcomeDisplayName.Closed,\n id: 6,\n },\n {\n name: ProspectOutcomeDisplayName.NotNow,\n id: 7,\n },\n {\n name: ProspectOutcomeDisplayName.DoNotContact,\n id: 8,\n },\n];\n\n/**\n * Prospect Statuses\n */\nexport const verificationStatuses = [\n {\n name: ContactVerificationStatusTypeDisplayName.Unverified,\n id: ContactVerificationStatus.Unverified,\n },\n {\n name: ContactVerificationStatusTypeDisplayName.Valid,\n id: ContactVerificationStatus.Valid,\n },\n {\n name: ContactVerificationStatusTypeDisplayName.Risky,\n id: ContactVerificationStatus.Risky,\n },\n {\n name: ContactVerificationStatusTypeDisplayName.Bad,\n id: ContactVerificationStatus.Bad,\n },\n];\n\n/**\n * Task Priorities\n */\nexport const taskPriorities = [\n {\n name: SequenceStepPriority.Low,\n id: 4,\n },\n {\n name: SequenceStepPriority.Normal,\n id: 3,\n },\n {\n name: SequenceStepPriority.High,\n id: 2,\n },\n {\n name: SequenceStepPriority.Urgent,\n id: 1,\n },\n];\n\n/**\n * Prospect creation source\n */\nexport const creationSource = [\n {\n name: CreationSourceDisplayName.Manually_Created,\n id: ProspectCreationSource.manually_created,\n },\n {\n name: CreationSourceDisplayName.CSV_Import,\n id: ProspectCreationSource.csv_import,\n },\n {\n name: CreationSourceDisplayName.Chrome_Extention,\n id: ProspectCreationSource.chrome_extension,\n },\n {\n name: CreationSourceDisplayName.API,\n id: ProspectCreationSource.api,\n },\n {\n name: CreationSourceDisplayName.Lead_Finder,\n id: ProspectCreationSource.lead_finder,\n },\n {\n name: CreationSourceDisplayName.Unified_Inbox,\n id: ProspectCreationSource.unified_inbox,\n },\n {\n name: CreationSourceDisplayName.Undefined,\n id: ProspectCreationSource.undefined,\n },\n];\n\n/**\n * Retrieves all the value of the filter.\n * @summary - Gets all the values of the applied filters using the value Key mentioned in filter properties\n * @param {Filters} filterName - Name of the filter.\n * @param {ProspectsFilters} filter - Applied filters.\n * @returns {string[]} Values of the filter.\n */\nexport const getFilterValues = (\n filterName: Filters,\n filter: ProspectsFilters,\n): string[] => map(filter, filterToProperties[filterName].valueKey);\n\n/**\n * Resolves the filters to query string\n * @param {Record} appliedFilters - applied filters.\n * @returns {Record} Returns the Object having the applied filter and its corresponding query string\n */\ntype ResolveFilters = Record & { isSequenceNone: boolean };\n\nexport const resolveFilters = (\n appliedFilters: Record,\n): ResolveFilters => {\n const payload: ResolveFilters = {\n conversationType: '',\n tags: '',\n owners: '',\n status: '',\n outcomes: '',\n sequences: '',\n isSequenceNone: false,\n 'verification status': '',\n 'task priority': '',\n 'created date': '',\n 'creation source': '',\n 'current step': '',\n 'email account': '',\n 'client associated': '',\n 'imported file': '',\n };\n\n Object.entries(appliedFilters).forEach(([filter, values]) => {\n payload[filter] = '';\n let filterValues: any = [...values];\n if (filterValues.some((item) => item?.isNoneSequence === true)) {\n payload.isSequenceNone = true;\n filterValues = filterValues.filter((item) => item.id !== null);\n }\n\n const filterVal = getFilterValues(filter as Filters, filterValues).join(\n ',',\n );\n filterVal && (payload[filter] += filterVal);\n });\n\n return payload;\n};\n\nexport const setProspectsFiltersInLocalStore = (filters: ProspectsFilters) => {\n localStorage.setItem('p-f', JSON.stringify(filters));\n};\n\nexport const getProspectsFiltersFromLocalStore = (): ProspectsFilters =>\n JSON.parse(localStorage.getItem('p-f'));\n\nexport const removeProspectsFiltersFromLocalStore = (): void => {\n localStorage.removeItem('p-f');\n};\n\n/**\n * Returns the extended params of an API with the applied filters.\n * @param {Record} params - Params of a API\n * @param {ProspectsFilters} filters - Applied filters.\n */\nexport const getProspectParams = (\n params: Record,\n filters: ProspectsFilters,\n) => {\n // Resolving the applied filters to query string\n const {\n tags,\n owners,\n status,\n outcomes: ocs,\n sequences,\n isSequenceNone,\n 'verification status': verificationStatus,\n 'created date': createdDate,\n 'creation source': creationSource,\n 'current step': stepIds,\n 'email account': emailAccount,\n 'client associated': clients,\n 'imported file': importedFile,\n } = resolveFilters(filters);\n\n const updatedParams: Record = { ...params };\n status && (updatedParams.status = status);\n ocs && (updatedParams.outcomes = ocs);\n tags && (updatedParams.tags = tags);\n owners && (updatedParams.owners = owners);\n sequences && (updatedParams.sequences = sequences);\n isSequenceNone && (updatedParams.isSequenceNone = isSequenceNone);\n verificationStatus && (updatedParams.verification = verificationStatus);\n creationSource && (updatedParams.creationSource = creationSource);\n importedFile && (updatedParams.prospectImportFileIds = importedFile);\n createdDate && (updatedParams.createdDate = createdDate);\n stepIds && (updatedParams.stepIds = stepIds);\n emailAccount && (updatedParams.emailAccount = emailAccount);\n clients && (updatedParams.clients = clients);\n\n return updatedParams;\n};\n\nexport const areFiltersApplied = (filters: ProspectsFilters): boolean =>\n Object.values(filters).some((value) => value.length);\n","export enum Order {\n Asc = 1,\n Desc = -1,\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n","import React from 'react';\nimport {\n Alert as ReactBootstrapAlert,\n Button as ReactBootstrapButton,\n AlertProps as ReactBootstrapAlertProps,\n} from 'react-bootstrap';\nimport classNames from 'classnames';\nimport { isBoolean } from '../../utils';\nimport Icon from './atoms/icon/icon';\nimport { Modify } from '../../types';\nimport { ForwardRef } from '../../types/forward-ref';\nimport ImageIcon from '../../components/images/image-icon';\n\nenum Variant {\n Primary = 'primary',\n Warning = 'warning',\n Danger = 'danger',\n Success = 'success',\n}\n\nenum Theme {\n New = 'new',\n Old = 'old',\n}\n\ntype AlertProps = Modify<\n ReactBootstrapAlertProps,\n {\n variant?: Variant;\n theme?: Theme;\n banner?: boolean;\n dismissible?: boolean | string;\n iconIdentifier?: string;\n header?: React.ReactNode;\n onClose?: (\n event: React.MouseEvent,\n ) => void;\n contentContainer?: JSX.Element;\n svgIcon?: string;\n }\n>;\n\ntype AlertStatic = {\n Variant: typeof Variant;\n Theme: typeof Theme;\n};\n\nconst Alert = React.forwardRef(\n (\n {\n variant,\n theme,\n banner,\n dismissible,\n iconIdentifier,\n header,\n children: content,\n className,\n onClose,\n contentContainer,\n svgIcon,\n ...rest\n },\n ref,\n ) => {\n const onDismissibleClick = (\n event: React.MouseEvent,\n ) => onClose?.(event);\n\n const onCloseHandler = (a, event: React.MouseEvent) =>\n onDismissibleClick(event);\n\n const alertClass = classNames([\n {\n 'info-alert': variant === Variant.Primary,\n 'warning-alert': variant === Variant.Warning,\n 'danger-alert': variant === Variant.Danger,\n 'success-alert': variant === Variant.Success,\n },\n {\n 'alert-banner': banner,\n },\n {\n 'new-theme': theme === Theme.New,\n 'old-theme': theme === Theme.Old,\n },\n className,\n ]);\n\n let dismissibleProp = false;\n let dismissibleTextElement;\n\n if (dismissible) {\n if (isBoolean(dismissible)) {\n dismissibleProp = dismissible as boolean;\n } else {\n dismissibleTextElement = (\n
\n \n {dismissible}\n \n
\n );\n }\n }\n\n let iconElement;\n\n if (iconIdentifier) {\n iconElement = ;\n }\n\n let body;\n\n if (header) {\n body = (\n <>\n {header}\n

{content}

\n \n );\n\n if (iconElement) {\n iconElement =
{iconElement}
;\n\n body = (\n
\n {iconElement}\n
{body}
\n
\n );\n }\n } else {\n body = (\n

\n {iconElement}\n {content}\n

\n );\n }\n\n if (contentContainer) {\n body = (\n
\n {svgIcon && (\n
\n \n
\n )}\n
{contentContainer}
\n
\n );\n }\n\n body = (\n <>\n {body}\n {dismissibleTextElement}\n \n );\n\n return (\n
\n \n {body}\n \n
\n );\n },\n) as ForwardRef & AlertStatic;\n\nAlert.displayName = 'Alert';\n\nAlert.Variant = Variant;\nAlert.Theme = Theme;\n\nAlert.defaultProps = {\n variant: Variant.Primary,\n theme: Theme.Old,\n banner: false,\n dismissible: false,\n};\n\nexport default Alert;\n","export enum ReportsTabs {\n Sequence = 'sequence',\n Team = 'team',\n}\n\nexport enum ReportsBy {\n ByProspects = 'prospect',\n ByEmail = 'email',\n}\n\nexport enum SequenceReportSortBy {\n SequenceCreatedAt = 'createdAt',\n TotalProspects = 'totalProspects',\n ProspectsAdded = 'prospectAdded',\n ProspectContacted = 'prospectContacted',\n EmailsSent = 'emailSent',\n Opened = 'opened',\n Clicked = 'clicked',\n Replied = 'replied',\n Bounced = 'bounced',\n Unsubscribed = 'unSubscribed',\n Owner = 'userName',\n Uncategorized = 'Uncategorized',\n SequenceId = 'sequenceId',\n PositiveSentiment = 'positive',\n NegativeSentiment = 'negative',\n NeutralSentiment = 'neutral',\n Interested = 'Interested',\n NotInterested = 'Not Interested',\n MeetingBooked = 'Meeting Booked',\n OutOfOffice = 'Out of Office',\n Closed = 'Closed',\n NotNow = 'Not Now',\n DoNotContact = 'Do Not Contact',\n}\n\nexport enum TeamStatsReportSortBy {\n ProspectsAdded = 'prospectAdded',\n ProspectsContacted = 'prospectContacted',\n EmailSent = 'emailSent',\n Opened = 'opened',\n Clicked = 'clicked',\n Replied = 'replied',\n Unsubscribed = 'unSubscribed',\n Bounced = 'bounced',\n Uncategorized = 'Uncategorized',\n Interested = 'Interested',\n NotInterested = 'Not Interested',\n MeetingBooked = 'Meeting Booked',\n OutOfOffice = 'Out of Office',\n Closed = 'Closed',\n NotNow = 'Not Now',\n DoNotContact = 'Do Not Contact',\n}\n\nexport enum TableColumnsKey {\n SequenceProspectCols = 'sequence-prospect-cols',\n TeamProspectCols = 'team-prospect-cols',\n}\n\nexport enum ReportCountBy {\n Relative = 'relative',\n Absolute = 'absolute',\n}\n\nexport enum Granularity {\n Daily = 'daily',\n Weekly = 'weekly',\n Monthly = 'monthly',\n Quarterly = 'quarterly',\n}\n\nexport type SequenceSummarySentimentDropdown = {\n name: string;\n value: number;\n trend: number;\n percentage: number;\n key: string;\n}","export enum OutcomeCategory {\n Custom = 'custom',\n Default = 'default',\n}\n\nexport enum OutcomeSentiment{\n Positive = 'Positive',\n Negative = 'Negative',\n Neutral = 'Neutral',\n}\n\nexport const OutcomeSentimentTextColor = '#1F2937';\n\nexport enum OutcomeSentimentColor{\n Positive = '#D1FAE5',\n Negative = '#FEE2E2',\n Neutral = '#F3F4F6',\n}\n\nexport enum OutcomeSentimentBGColor{\n Positive = '#10B981',\n Negative = '#EF4444',\n Neutral = '#9CA3AF',\n}\n\nexport enum OutcomeSentimentIconColor{\n Positive = '#34D399',\n Negative = '#F87171',\n Neutral = '#9CA3AF',\n}","import { EmailFilters } from '../../components/sequence/components/sequence-single-content/components/sequence-single-emails/components/email-filter-modal/types';\n\n// Filters that can be applied to Prospects.\nexport enum Filters {\n ConversationType = 'conversationType',\n Tags = 'tags',\n Owners = 'owners',\n Status = 'status',\n Sequences = 'sequences',\n VerificationStatus = 'verification status',\n CreatedDate = 'created date',\n Outcomes = 'outcomes',\n CreationSource = 'creation source',\n TaskPriority = 'task priority',\n CurrentStep = 'current step',\n EmailAccount = 'email account',\n ClientAssociated = 'client associated',\n ImportedFile = 'imported file'\n}\n\nexport type ProspectsFilters = Record;\n\nexport type FilterProperties = {\n /**\n * Name of the key to extract the the text to display on UI from the filter object.\n */\n displayNameKey: string;\n /**\n * Name of the key to extract the value of the filter. This value will be send to API calls.\n */\n valueKey: string;\n /**\n * To separate the filters on UI in Filter Tab.\n */\n separator: string;\n /**\n * To separate the filters on UI in Filter Tab.\n */\n displayLabel?: string;\n};\n\nexport type ProspectFilterResetArg = Filters | 'all';\n\nexport type SequenceEmailsFilterResetArg = EmailFilters | 'all';\n","import api from '../../../api';\nimport { UpdateCustomDomainPayload } from '../components/custom-domain/types';\n\nexport const getCustomDomains = async () => api.get('/custom-domain');\nexport const getCustomDomainsList = async () => api.get('/custom-domain/list');\nexport const createCustomDomain = async (\n domain: string,\n emailAccountIds?: number[],\n) => api.post('/custom-domain', { domain, emailAccountIds });\n\nexport const deleteCustomDomain = async (userCustomDomainId: number) =>\n api.delete(`/custom-domain/${userCustomDomainId}`);\n\nexport const updateCustomDomain = async ({\n userCustomDomainId,\n ...rest\n}: UpdateCustomDomainPayload) =>\n api.patch(`/custom-domain/${userCustomDomainId}`, rest);\n\nexport const setDefaultCustomDomain = async (userCustomDomainId: number) =>\n api.get(`/custom-domain/${userCustomDomainId}/make-default`);\n\nexport const checkBulkEmailAccountSetupScore = async (\n emailAccountIds: number[],\n) =>\n api.post(`/email-account/bulk/email-setup-scores`, {\n emailAccountIds,\n });\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport {\n ResponseSuccess,\n ResponseErrorWithHandled,\n} from '../../../../shared/types';\nimport {\n getCustomDomains,\n createCustomDomain,\n deleteCustomDomain,\n updateCustomDomain,\n getCustomDomainsList,\n setDefaultCustomDomain,\n checkBulkEmailAccountSetupScore,\n} from '../../helpers/custom-domain.api';\nimport {\n CreateCustomDomainPayload,\n DeleteCustomDomainPayload,\n UpdateCustomDomainPayload,\n} from './types';\n\nexport const setDefaultCustomDomainRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>('customDomain/setDefaultCustomDomainRequest', async (args, thunkAPI) => {\n try {\n return await setDefaultCustomDomain(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getCustomDomainsRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('customDomain/getCustomDomainsRequest', async (args, thunkAPI) => {\n try {\n return await getCustomDomains();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getCustomDomainsListRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('customDomain/getCustomDomainListRequest', async (args, thunkAPI) => {\n try {\n return await getCustomDomainsList();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const createCustomDomainRequest = createAsyncThunk<\n ResponseSuccess,\n CreateCustomDomainPayload,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'customDomain/createCustomDomainRequest',\n async ({ domain, emailAccountIds }, thunkAPI) => {\n try {\n return await createCustomDomain(domain, emailAccountIds);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\nexport const deleteCustomDomainRequest = createAsyncThunk<\n ResponseSuccess,\n DeleteCustomDomainPayload,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'customDomain/deleteCustomDomainRequest',\n async ({ userCustomDomainId }, thunkAPI) => {\n try {\n return await deleteCustomDomain(userCustomDomainId);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\nexport const updateCustomDomainRequest = createAsyncThunk<\n ResponseSuccess,\n UpdateCustomDomainPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('customDomain/updateCustomDomainRequest', async (payload, thunkAPI) => {\n try {\n return await updateCustomDomain(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const checkBulkEmailAccountSetupScoreRequest = createAsyncThunk<\n ResponseSuccess,\n number[],\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'customDomain/checkBulkEmailAccountSetupScoreRequest',\n async (payload, thunkAPI) => {\n try {\n return await checkBulkEmailAccountSetupScore(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n","import React from 'react';\nimport {\n Route,\n RouteProps,\n withRouter,\n RouteComponentProps,\n} from 'react-router';\nimport { AuthHelper } from '../utils';\n\nexport type IProps = RouteComponentProps & Omit;\nclass ProtectedRoute extends React.Component {\n constructor(props) {\n super(props);\n this.verifyAuth = this.verifyAuth.bind(this);\n }\n\n componentDidMount() {\n this.verifyAuth();\n }\n\n componentDidUpdate() {\n this.verifyAuth();\n }\n\n verifyAuth() {\n if (!AuthHelper.isAuthenticated) {\n const { location } = this.props;\n const { pathname, search } = location;\n const params = new URLSearchParams(search);\n const userEmail = params.get('userEmail');\n params.delete('authToken');\n AuthHelper.logout({\n fallbackTo: pathname,\n ...(userEmail && { query: params.toString() }),\n });\n }\n }\n\n render() {\n const { component: Component, ...rest } = this.props;\n\n return (\n \n AuthHelper.isAuthenticated ? : null\n }\n />\n );\n }\n}\n\nexport default withRouter(ProtectedRoute);\n","/* eslint-disable no-underscore-dangle */\nclass PlanErrorHelper {\n private _shoeUpdatePlanModal;\n\n bindActions = (showUpdatePlanModal) => {\n this._shoeUpdatePlanModal = showUpdatePlanModal;\n };\n\n showModal = (title: string, contents: string[], showButtons: boolean) =>\n this._shoeUpdatePlanModal(title, contents, showButtons);\n}\n\nexport default PlanErrorHelper;\n","import React from 'react';\nimport { withTranslation } from 'react-i18next';\nimport { RouteComponentProps, withRouter } from 'react-router';\nimport { AlertCircle, CloudUpload } from '@saleshandy/icons';\nimport Modal from '../../../design-system/components/atoms/modal';\nimport { Images } from '../../../app-constants';\nimport ImageIcon from '../../../components/images/image-icon';\nimport { contactAdmin } from '../../contact-admin';\nimport Button from '../../../design-system/components/atoms/button';\nimport hasPermission from '../../access-control/has-permission';\nimport { Permissions } from '../../access-control/enums/permissions';\nimport { Routes } from '../../../routes';\n\ntype PlanErrorManagerState = {\n showPlanPermissionModal: boolean;\n title: string;\n contents: string[];\n showButtons: boolean;\n};\n\ntype PlanErrorManagerProps = RouteComponentProps & {\n bindActions: (...args: any[]) => any;\n t: (x: string) => string;\n};\n\nclass PlanErrorManager extends React.Component<\n PlanErrorManagerProps,\n PlanErrorManagerState\n> {\n constructor(props) {\n super(props);\n\n this.state = {\n showPlanPermissionModal: false,\n title: '',\n contents: [],\n showButtons: false,\n };\n\n this.showUpgradePlanModal = this.showUpgradePlanModal.bind(this);\n this.hidePlanPermissionModal = this.hidePlanPermissionModal.bind(this);\n\n const { bindActions } = this.props;\n\n bindActions(this.showUpgradePlanModal);\n }\n\n handleSubmit = () => {\n const { history, t } = this.props;\n\n if (hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)) {\n this.setState({ showPlanPermissionModal: false });\n history.push(Routes.Setting_Billing_Upgrade_Email_Outreach_Plan);\n } else {\n const emailBody = `${t('messages.upgrade_to_pro_email_body')}`;\n\n contactAdmin(t('labels.upgrade_to_saleshandy_pro_email_sub'), emailBody);\n }\n };\n\n showUpgradePlanModal(\n title: string,\n contents: string[],\n showButtons: boolean,\n ) {\n this.setState({\n showPlanPermissionModal: true,\n title,\n contents,\n showButtons,\n });\n }\n\n hidePlanPermissionModal() {\n this.setState({ showPlanPermissionModal: false });\n }\n\n render() {\n const {\n showPlanPermissionModal,\n title,\n contents,\n showButtons,\n } = this.state;\n const { t } = this.props;\n\n return (\n \n // \n //
{title || t('labels.upgrade_required')}
\n // \n // }\n onClose={this.hidePlanPermissionModal}\n onHide={this.hidePlanPermissionModal}\n onSubmit={this.handleSubmit}\n showCloseIcon={true}\n hideHeader={true}\n hideCancelButton={!showButtons}\n hideSubmitButton={!showButtons}\n cancelButtonText={t('labels.cancel')}\n cancelButtonVarient={Button.Variant.Outlined}\n submitButtonText={\n hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)\n ? t('labels.upgrade')\n : t('labels.contact_admin')\n }\n >\n
\n {/* */}\n \n
\n {' '}\n {title || t('labels.upgrade_required')}\n
\n
\n {contents && (\n
\n {contents.map((content, index) => (\n <>\n 0 && 'bs-mb-20 bs-mt-15'\n } regular-2 line-height-20 popover-arrow-color-txt`}\n >\n {content}\n

\n \n ))}\n
\n )}\n \n );\n }\n}\n\nexport default withTranslation()(withRouter(PlanErrorManager));\n","import PlanErrorHelper from './plan-error-helper';\n\nconst planPermissionError = new PlanErrorHelper();\n\nexport { default as PlanErrorManager } from './plan-error-manager';\nexport default planPermissionError;\n","import React from 'react';\n\nexport type IconTextProps = {\n text: string;\n icon?: string;\n};\n\nconst IconText: React.FC = (props) => {\n const { text, icon } = props;\n return (\n
\n {icon && }\n {text}\n
\n );\n};\n\nexport default IconText;\n","import React from 'react';\n\nexport type TextStackProps = {\n label: string;\n value: string;\n type?: string;\n};\n\nconst TextStack: React.FC = (props) => {\n const { value, label, type } = props;\n return (\n \n {value}\n {label}\n \n );\n};\n\nexport default TextStack;\n","import React from 'react';\nimport { IProps } from './types';\nimport TextStack, { TextStackProps } from '../../atoms/text-stack';\n\nclass TextStacksDirectional extends React.Component {\n renderStacks(stacks: TextStackProps[]) {\n return stacks.map((stack, index) => );\n }\n\n render() {\n const { stacks } = this.props;\n return (\n
\n {this.renderStacks(stacks)}\n
\n );\n }\n}\n\nexport default TextStacksDirectional;\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { Link } from 'react-router-dom';\nimport { isEmpty } from 'lodash';\nimport moment from 'moment-timezone';\nimport { DateTime } from 'luxon';\nimport { OverlayTooltip, Placement } from '../../overlay';\nimport { getBadgeVariant } from './helper';\nimport { SequenceProgress } from '../../../../../components/sequence/enums';\nimport {\n SequencePauseReasons,\n sequencePauseMessages,\n} from '../../../../../components/sequence/enums/sequence-pause-reasons';\nimport Badge from '../../atoms/badge';\nimport StatusBadge from '../status-badge';\nimport { ProductTour } from '../../../../enums/product-tour';\nimport {\n getAgencyClient,\n getUserTimeZone,\n} from '../../../../utils/user-details';\n\nexport type SequenceNameProps = {\n name: string;\n row?: any;\n};\n\nconst sequenceNameJSX = ({ name, row }: SequenceNameProps) => (\n \n {name}\n \n);\n\nconst sequenceStatus = (row, t) => {\n if (!row || !row.sequenceStatusData) {\n return null;\n }\n\n const {\n sequenceProgress,\n sequencepauseReason: sequencePauseReason,\n pausedAt,\n } = row.sequenceStatusData;\n\n const { variant, label } = getBadgeVariant(sequenceProgress, t);\n\n if (sequenceProgress === SequenceProgress.Pause) {\n const userTimeZone = getUserTimeZone();\n\n let date = '';\n\n if (pausedAt) {\n if (userTimeZone) {\n date = moment(pausedAt).tz(userTimeZone).format('DD MMM, YYYY');\n } else {\n date = moment(pausedAt).format('DD MMM, YYYY');\n }\n }\n\n const client = getAgencyClient();\n\n const renderPausedMessage = () => {\n const paused = (\n

{`${t('messages.paused')}`}

\n );\n\n const showOnlyThesePauseReasonsToClient = [\n SequencePauseReasons.EmailAccountDisconnected,\n SequencePauseReasons.EmailSendingLimitReached,\n SequencePauseReasons.EmailAccountDeleted,\n ];\n\n if (\n isEmpty(client) ||\n showOnlyThesePauseReasonsToClient.includes(sequencePauseReason)\n ) {\n const reason = sequencePauseMessages[sequencePauseReason];\n\n return (\n \n {paused}\n \n );\n }\n\n return paused;\n };\n\n return (\n
\n
\n \n
\n {renderPausedMessage()}\n
\n );\n }\n\n return ;\n};\n\nexport const SequenceNameField = ({ name, row }: SequenceNameProps) => {\n const { t } = useTranslation();\n\n const formatDate = (isoDateString: string) => {\n if (!isoDateString || !DateTime.fromISO(isoDateString).isValid) {\n return '';\n }\n\n const userTimeZone = getUserTimeZone() || 'UTC';\n return DateTime.fromISO(isoDateString, { zone: userTimeZone })?.toFormat(\n 'dd MMM yyyy, hh:mm a',\n );\n };\n\n const { sequenceStatusData } = row || {};\n const { sequenceProgress } = sequenceStatusData || {};\n\n const isPaused = sequenceProgress === SequenceProgress.Pause;\n const pausedAtDate = row?.pausedAt ? formatDate(row?.pausedAt) : null;\n const createdAtDate = row?.sequenceCreatedAt\n ? formatDate(row?.sequenceCreatedAt)\n : null;\n\n return (\n
\n \n {sequenceNameJSX({ name, row })}\n \n\n
\n {sequenceStatus(row, t)}\n\n
\n |\n {`${row?.totalSteps} Steps`}{' '}\n {pausedAtDate && (\n <>\n |\n {`Paused at ${pausedAtDate}`}\n \n )}\n {!isPaused && createdAtDate && (\n <>\n |\n {`Created on ${createdAtDate}`}\n \n )}\n
\n
\n
\n );\n};\n","import React, { ReactElement } from 'react';\nimport { OverlayTrigger, Tooltip } from 'react-bootstrap';\n\nexport type TooltipWrapperProps = {\n children: ReactElement;\n text: string;\n};\n\nexport const TooltipWrapper = (props: TooltipWrapperProps) => (\n \n {props.children}\n \n);\n\nconst getTooltip = (text: string) => {\n return (\n \n {text}\n \n );\n};\n","import React from 'react';\nimport { TooltipWrapper } from '../../atoms/tooltip-wrapper';\n\nexport type TeamMemberNameProps = {\n name: string;\n};\n\nconst sequenceNameJSX = ({ name }: TeamMemberNameProps) => (\n
{name}
\n);\n\nexport const TeamMemberNameField = ({ name }: TeamMemberNameProps) =>\n name.length < 25 ? (\n sequenceNameJSX({ name })\n ) : (\n {sequenceNameJSX({ name })}\n );\n","import React, { useMemo } from 'react';\nimport Pagination from '../../pagination';\nimport { constants } from '../../../../enums/constants';\n\nconst PaginationWrapper: React.FC = (props) => {\n const {\n dataSize,\n page,\n showRowsPerPage,\n isNewPagination,\n onPageChange,\n sequenceFixedPageSize,\n fixedPageSize,\n } = props;\n\n let defaultSize = sequenceFixedPageSize\n ? constants.DEFAULT_SEQUENCE_PAGE_SIZE\n : constants.DEFAULT_PAGE_SIZE;\n if (fixedPageSize) {\n defaultSize = fixedPageSize || defaultSize;\n }\n const perPageLimit = isNewPagination ? showRowsPerPage : defaultSize;\n\n const currentPage = useMemo(() => {\n const pageNumber = Number(page);\n if (isNaN(pageNumber)) {\n console.log('Page is not a number. Defaulting to page 1.');\n return 1;\n }\n return pageNumber;\n }, [page]);\n\n const totalPages = useMemo(() => {\n const totalPagesCount = Math.ceil(dataSize / perPageLimit);\n\n if (currentPage > totalPagesCount) {\n console.log(\"Case: Current page shouldn't be greater than total pages\");\n onPageChange({ page: 1, perPageLimit });\n }\n\n return totalPagesCount;\n }, [dataSize, perPageLimit]);\n\n if (currentPage === null || totalPages === 0) {\n return null;\n }\n\n return (\n \n );\n};\n\nexport default PaginationWrapper;\n","import { constants } from '../../../../enums/constants';\nimport { PaginationShowHide, ShowingLengthPerPageOption } from './types';\n\nexport const getFinalColumns = ({\n actions,\n dataColumns,\n generateActionsColumn,\n headerVisibleForGenerateColumn,\n borderOverActions,\n showColumnsToggler,\n generateTogglerColumn,\n showExpandColumn,\n generateExpandColumn,\n}) => {\n let columns: any[] = dataColumns;\n\n if (actions) {\n columns = [\n ...columns,\n generateActionsColumn(\n actions,\n headerVisibleForGenerateColumn,\n borderOverActions,\n ),\n ];\n }\n\n if (showExpandColumn) {\n columns.unshift(generateExpandColumn());\n }\n\n if (showColumnsToggler) {\n columns.push(generateTogglerColumn());\n }\n\n columns = columns.filter(\n (value, index, self) =>\n index === self.findIndex((t) => t.dataField === value.dataField),\n );\n\n return columns;\n};\n\nexport const getTotalSize = ({ paginationOptions, sequenceFixedPageSize }) => {\n if (paginationOptions?.options?.totalElements === 0) {\n return 1;\n }\n\n let totalSize;\n\n if (paginationOptions.pagesCount) {\n totalSize = paginationOptions.count;\n } else {\n totalSize = paginationOptions.options.totalElements;\n }\n if (!totalSize) {\n totalSize = sequenceFixedPageSize\n ? constants.DEFAULT_SEQUENCE_PAGE_SIZE\n : constants.DEFAULT_PAGE_SIZE;\n }\n\n return totalSize;\n};\n\nexport const getShouldShowPagination = ({\n pagination,\n totalSize,\n isNewPagination,\n sequenceFixedPageSize,\n fixedPageSize,\n}) => {\n // for new pagination the initial per page limit is 50\n if (isNewPagination && totalSize <= constants.PROSPECT_PAGE_SIZE) {\n return false;\n }\n\n // we will not show pagination in case totalSize is less then 25 because we don't require pagination there(only 1 page is sufficient)\n let defaultSize = sequenceFixedPageSize\n ? constants.DEFAULT_SEQUENCE_PAGE_SIZE\n : constants.DEFAULT_PAGE_SIZE;\n\n if (fixedPageSize) {\n defaultSize = fixedPageSize || defaultSize;\n }\n\n if (totalSize <= defaultSize) {\n return false;\n }\n\n if (pagination === PaginationShowHide.SHOW) {\n return true;\n }\n\n if (pagination === PaginationShowHide.HIDE) {\n return false;\n }\n\n return null;\n};\n\nexport const getKeyAndId = (id) => id || null;\n\nexport const getNoDataClassName = (data) =>\n data?.length === 0 ? 'no-data' : '';\n\nexport const showingLengthPerPageOptions: ShowingLengthPerPageOption[] = [\n {\n key: '25',\n value: 25,\n },\n {\n key: '50',\n value: 50,\n },\n {\n key: '100',\n value: 100,\n },\n {\n key: '250',\n value: 250,\n },\n {\n key: '500',\n value: 500,\n },\n {\n key: '1000',\n value: 1000,\n },\n];\n","/* eslint-disable radix */\nimport React, { useState, useEffect } from 'react';\nimport { withTranslation } from 'react-i18next';\nimport { LayoutColumns } from '@saleshandy/icons';\nimport { IProps, ColumnsTogglerOption } from './types';\nimport { Placement } from '../../../overlay';\nimport Transfer from '../../../transfer';\nimport Checkbox from '../../../atoms/checkbox';\nimport Button from '../../../atoms/button';\n\nconst convertNumberToString = (arr: number[]): string[] =>\n arr.map((v) => v && v.toString());\n\nconst convertStringToNumber = (arr: string[]): number[] =>\n arr.map((v) => v && parseInt(v, 10));\n\nconst ColumnsSelector: React.FC = ({\n columns,\n selectedColumnsIds,\n onColumnSelect,\n t,\n}) => {\n const [show, setShow] = useState(false);\n const [selectedColumnsKeys, setSelectedColumnsKeys] = useState([]);\n\n useEffect(() => {\n setSelectedColumnsKeys(convertNumberToString(selectedColumnsIds));\n }, [show, selectedColumnsIds]);\n\n const options: ColumnsTogglerOption[] = columns.map(\n ({ id, text = '', isRequiredColumn = false }) => ({\n key: id?.toString(),\n text,\n isDisabled: isRequiredColumn,\n }),\n );\n\n return (\n \n showSearch\n className=\"columns-toggler-select\"\n multiSelect\n placement={Placement.BottomEnd}\n options={options}\n selectedOptionKey={selectedColumnsKeys}\n optionFilterProp=\"key\"\n filterOption={(value, option) =>\n option?.key?.toLowerCase().includes(value.toLowerCase())\n }\n customFilterOption={(_options, searchValue) =>\n _options.filter((option) =>\n option?.text?.toLowerCase().includes(searchValue?.toLowerCase()),\n )\n }\n searchPlaceholder=\"Search Column type\"\n optionRenderer={(option) => (\n {option.text}\n )}\n onChange={(selectedOptions) => {\n setSelectedColumnsKeys(selectedOptions.map((option) => option?.key));\n }}\n showOptionsSeparator={true}\n header={\n
\n {\n if (checked) {\n setSelectedColumnsKeys(options.map((option) => option?.key));\n } else {\n const arr = options.filter(({ isDisabled }) => isDisabled);\n setSelectedColumnsKeys(arr.map((option) => option.key));\n }\n }}\n />\n {\n onColumnSelect(convertStringToNumber(selectedColumnsKeys));\n setShow(false);\n }}\n >\n {t('labels.apply')}\n \n
\n }\n show={show}\n onToggle={(value) => setShow(value)}\n >\n \n \n );\n};\n\nexport default withTranslation()(ColumnsSelector);\n","import React from 'react';\nimport ReactDOM, { createPortal } from 'react-dom';\nimport BootstrapTable from 'react-bootstrap-table-next';\nimport { SkeletonLoading } from '@saleshandy/design-system';\nimport {\n ArrowNarrowDown,\n ArrowNarrowUp,\n ChevronDown,\n ChevronRight,\n ChevronUp,\n} from '@saleshandy/icons';\nimport { Dropdown } from 'react-bootstrap';\nimport paginationFactory, {\n PaginationProvider,\n} from 'react-bootstrap-table2-paginator';\nimport classNames from 'classnames';\nimport validator from 'validator';\nimport Icon from '../../atoms/icon/icon';\nimport {\n IProps,\n Column,\n IState,\n Action,\n Sorting,\n TablePageLengthDropDown,\n} from './types';\nimport Switch, { Size } from '../../atoms/switch';\nimport Checkbox from '../../atoms/checkbox';\nimport IconText from '../../atoms/icon-text';\nimport TextStacksDirectional from '../../molecules/text-stacks-directional';\nimport ContactNameField from '../../molecules/contact-name-field';\nimport { difference } from '../../../../utils/set';\nimport { SequenceNameField } from '../../molecules/sequence-name-field';\nimport { TeamMemberNameField } from '../../molecules/team-member-name-field';\nimport { OverlayTooltip, Placement } from '../../overlay';\nimport PaginationWrapper from './pagination-wrapper';\nimport { constants } from '../../../../enums/constants';\nimport ImageIcon from '../../../../components/images/image-icon';\nimport { Images } from '../../../../app-constants';\nimport { accessibleOnClick } from '../../../../utils/accessible-on-click';\nimport EmptyList from '../../molecules/empty-list/empty-list';\nimport {\n getFinalColumns,\n getKeyAndId,\n getNoDataClassName,\n getShouldShowPagination,\n getTotalSize,\n showingLengthPerPageOptions,\n} from './helper';\nimport hasPermission from '../../../../utils/access-control/has-permission';\nimport { Permissions } from '../../../../utils/access-control/enums/permissions';\nimport Select from '../../select';\nimport Input from '../../input/input';\nimport ColumnsSelector from './columns-selector';\nimport { isFreePlan } from '../../../../utils/plans';\n\nclass Table extends React.Component {\n constructor(props: IProps) {\n super(props);\n this.state = {\n selectedRows: [],\n expandedRowIds: [],\n goToPage: 1,\n showRowsPerPage: showingLengthPerPageOptions[0],\n showBounce: false,\n isError: false,\n pgOptions: showingLengthPerPageOptions,\n };\n this.onSelectedRowsUpdate = this.onSelectedRowsUpdate.bind(this);\n this.onChangeHandler = this.onChangeHandler.bind(this);\n this.onRowSelect = this.onRowSelect.bind(this);\n this.onRowSelectAllHandler = this.onRowSelectAllHandler.bind(this);\n this.getCoreComponent = this.getCoreComponent.bind(this);\n this.resetSelectedRows = this.resetSelectedRows.bind(this);\n this.resetPagination = this.resetPagination.bind(this);\n this.onResetShowRowsPerPage = this.onResetShowRowsPerPage.bind(this);\n this.selectAllCurrentPageRows = this.selectAllCurrentPageRows.bind(this);\n }\n\n componentDidMount() {\n const { tableRef, defaultSelectedRows } = this.props;\n\n if (tableRef) {\n tableRef(this);\n }\n\n if (defaultSelectedRows?.length > 0) {\n this.setState({ selectedRows: defaultSelectedRows });\n }\n }\n\n componentDidUpdate(prevProps: IProps) {\n const { resetSelected, handleResetSelected } = this.props;\n const { selectedRows, showRowsPerPage } = this.state;\n\n if (resetSelected && selectedRows.length === 0) {\n handleResetSelected?.();\n }\n\n if (resetSelected && selectedRows.length > 0) {\n this.onSelectedRowsUpdate([]);\n handleResetSelected?.();\n\n if (showRowsPerPage?.key !== showingLengthPerPageOptions[0]?.key) {\n this.onResetShowRowsPerPage();\n }\n }\n\n const { resetExpandedRows, id } = this.props;\n const { expandedRowIds } = this.state;\n\n if (\n (id !== prevProps.id ||\n resetExpandedRows !== prevProps.resetExpandedRows) &&\n expandedRowIds.length > 0\n ) {\n this.removeAllExpandRows();\n }\n\n const { isRefreshClicked, setOnRefresh } = this.props;\n if (prevProps.isRefreshClicked !== isRefreshClicked && isRefreshClicked) {\n // eslint-disable-next-line react/no-did-update-set-state\n this.setState({ goToPage: 1 });\n setOnRefresh(false);\n }\n }\n\n componentWillUnmount() {\n const { tableRef } = this.props;\n\n if (tableRef) {\n tableRef(undefined);\n }\n }\n\n onResetShowRowsPerPage() {\n this.setState({\n showRowsPerPage: showingLengthPerPageOptions[0],\n });\n }\n\n onSelectedRowsUpdate(value) {\n this.setState({ selectedRows: value });\n }\n\n onChangeHandler(\n checked: boolean,\n event: React.ChangeEvent,\n cell: any,\n row: any,\n index: number,\n ) {\n const { onChange } = this.props;\n onChange(checked, event, cell, row, index);\n }\n\n onRowSelect(row: any, isSelect: boolean) {\n const { selectedRows } = this.state;\n const { onRowSelect, maxSelectedRowsLimit } = this.props;\n\n if (isSelect) {\n const selectHandler = () => {\n this.setState(\n () => ({\n selectedRows: selectedRows?.includes(row.id)\n ? selectedRows\n : [...selectedRows, row.id],\n }),\n () => {\n !!onRowSelect && onRowSelect(row, isSelect);\n },\n );\n };\n\n if (maxSelectedRowsLimit) {\n const selectedRowsLength = selectedRows.length;\n\n if (\n selectedRowsLength !== maxSelectedRowsLimit &&\n selectedRowsLength < maxSelectedRowsLimit\n ) {\n selectHandler();\n } else {\n return false;\n }\n } else {\n selectHandler();\n }\n } else {\n this.setState(\n () => ({\n selectedRows: selectedRows.filter((x) => x !== row.id),\n }),\n () => {\n !!onRowSelect && onRowSelect(row, isSelect);\n },\n );\n }\n return null;\n }\n\n onRowSelectAllHandler(isSelect: boolean, rows: any) {\n const ids = rows.map((r) => r.id);\n const { selectedRows } = this.state;\n const { onRowSelectAll, maxSelectedRowsLimit } = this.props;\n\n if (isSelect) {\n const selectHandler = (rowIds) => {\n this.setState(\n () => ({\n selectedRows: rowIds,\n }),\n () => {\n !!onRowSelectAll && onRowSelectAll(rows, isSelect);\n },\n );\n };\n\n if (maxSelectedRowsLimit) {\n const remainingSelectionCount =\n maxSelectedRowsLimit - selectedRows.length;\n\n if (remainingSelectionCount > 0) {\n const idsToSelect = ids.slice(0, remainingSelectionCount);\n const rowIds = [...selectedRows, ...idsToSelect];\n selectHandler(rowIds);\n return rowIds;\n }\n return [];\n }\n\n const rowIds = [...selectedRows, ...ids];\n\n selectHandler(rowIds);\n return rowIds;\n }\n\n const rowIds = Array.from(difference(new Set(selectedRows), new Set(ids)));\n const uniqueRows = Array.from(\n new Set(rows.map((obj) => obj.id)),\n ).map((id) => rows.find((obj) => obj.id === id));\n\n this.setState({ selectedRows: rowIds }, () => {\n !!onRowSelectAll && onRowSelectAll(uniqueRows, isSelect);\n });\n\n return rowIds;\n }\n\n getCoreComponent(\n component: string,\n cell: any,\n row: any,\n index: number,\n componentClasses: string,\n onClick: any,\n switchOffTooltip = 'Resume',\n switchOnTooltip = 'Pause',\n tooltipPlacement = Placement.Bottom,\n overlayTooltipClass = '',\n ) {\n if (cell !== null && cell !== undefined) {\n const tooltipText = () => {\n if (\n !hasPermission(Permissions.SEQUENCE_UPDATE_STATUS) &&\n isFreePlan()\n ) {\n return 'This sequence is paused because your plan was expired. Please upgrade your account to resume sequence if you have not upgraded your account yet.';\n }\n return cell ? switchOnTooltip : switchOffTooltip;\n };\n switch (component) {\n case 'switch':\n return hasPermission(Permissions.SEQUENCE_UPDATE) ? (\n \n this.onChangeHandler(checked, event, cell, row, index)\n }\n />\n ) : (\n <>\n );\n case 'checkbox':\n return (\n \n this.onChangeHandler(checked, event, cell, row, index)\n }\n />\n );\n case 'text-stack':\n return ;\n case 'icon-text':\n return ;\n case 'contact-name-field':\n return ;\n case 'gray-text':\n return {cell};\n case 'sequence-name-field':\n return ;\n case 'team-member-name-field':\n return ;\n default:\n break;\n }\n }\n return null;\n }\n\n resetSelectedRows = () => {\n this.setState({ selectedRows: [] });\n };\n\n resetPagination = () => {\n const resetOptions = showingLengthPerPageOptions.map((option) => ({\n key: option.value.toString(),\n value: option.value,\n }));\n\n this.setState({\n pgOptions: resetOptions,\n showRowsPerPage: resetOptions[0],\n goToPage: 1,\n });\n };\n\n selectAllCurrentPageRows = () => {\n const { data, deselectedRows } = this.props;\n\n const temp = data.filter(({ id }) => !deselectedRows?.includes(id));\n\n this.onRowSelectAllHandler(true, temp);\n };\n\n sortCaret = (sortOptions, order: Sorting) => {\n if (!sortOptions) {\n return null;\n }\n if (order === Sorting.Ascending) {\n return ;\n }\n if (order === Sorting.Descending) {\n return ;\n }\n return null;\n };\n\n renderSortIcon = (field, order) => {\n const { sort, useCustomSortIcon } = this.props;\n const isSortedColumn = field === sort?.dataField;\n const isAscending = isSortedColumn && sort?.order === 'asc';\n const isDescending = isSortedColumn && sort?.order === 'desc';\n\n if (useCustomSortIcon) {\n return (\n \n order === Sorting.Ascending)}\n >\n \n \n order === Sorting.Descending)}\n >\n \n \n \n );\n }\n\n if (field === sort?.dataField) {\n if (order === Sorting.Ascending) {\n return ;\n }\n if (order === Sorting.Descending) {\n return ;\n }\n }\n return ;\n };\n\n generateFormatter = (columns: Column[]) => {\n const { showColumnsToggler = false, selectedColumnsIds = [] } = this.props;\n\n let filteredColumns: Column[] = columns;\n\n if (showColumnsToggler && selectedColumnsIds?.length > 0) {\n filteredColumns = columns.filter((col) =>\n selectedColumnsIds.includes(col.id),\n );\n }\n\n return filteredColumns.map((col: Column, index: number) => {\n const {\n cellClasses,\n componentClasses,\n dataField,\n text,\n component,\n align,\n headerAlign,\n isDummyField,\n onClick,\n style,\n headerStyle,\n headerClasses: hdrCls,\n sort,\n useCustomSortIcon,\n onSort,\n switchOffTooltip,\n switchOnTooltip,\n tooltipPlacement,\n overlayTooltipClass,\n headerLoadingSkeleton,\n cellLoadingSkeleton,\n isCellClickable = true,\n headerComponent,\n } = col;\n const { sort: sortOptions, isLoading } = this.props;\n return {\n dataField,\n text,\n classes: cellClasses,\n align,\n headerAlign,\n isDummyField,\n style,\n headerStyle,\n headerClasses: `${sort || ''} ${hdrCls || ''} ${\n isLoading ? 'table-header-loading' : ''\n }`.trim(),\n isCellClickable,\n sort,\n useCustomSortIcon,\n onSort: (field, order) => {\n const { expandedRowIds } = this.state;\n\n if (expandedRowIds.length > 0) {\n this.removeAllExpandRows();\n }\n\n onSort(field, order);\n },\n sortCaret: (order: Sorting) => this.sortCaret(sortOptions, order),\n headerFormatter: (column) => {\n if (isLoading) {\n return headerLoadingSkeleton;\n }\n\n if (headerComponent) {\n // return headerComponent();\n return (\n
\n {headerComponent()}\n {(column?.sort || column?.useCustomSortIcon) && (\n
\n {this.renderSortIcon(column?.dataField, sortOptions?.order)}\n
\n )}\n
\n );\n }\n\n return (\n
\n \n {column?.text ?? ''}\n \n {column?.text?.length > 0 &&\n (column.sort || column.useCustomSortIcon) && (\n
\n {this.renderSortIcon(column.dataField, sortOptions?.order)}\n
\n )}\n
\n );\n },\n formatter: (cell, row, rowIndex) => {\n if (isLoading) {\n return cellLoadingSkeleton;\n }\n\n if (typeof component === 'string') {\n return this.getCoreComponent(\n component,\n cell,\n row,\n index,\n componentClasses,\n onClick,\n switchOffTooltip,\n switchOnTooltip,\n tooltipPlacement,\n overlayTooltipClass,\n );\n }\n if (component instanceof React.Component) {\n return component;\n }\n if (typeof component === 'function') {\n return component(cell, row, rowIndex);\n }\n return cell;\n },\n };\n });\n };\n\n conditionCheck = (row, action) => {\n let tempRow = row;\n\n const { condition, conditionKey } = action;\n\n if (!conditionKey) {\n return true;\n }\n\n if (row.customDomain) {\n tempRow = { ...row.customDomain };\n }\n\n if (condition) {\n return tempRow[conditionKey];\n }\n return !tempRow[conditionKey];\n };\n\n renderIconInDropDownMenu = (action, row, index) => {\n const { onAction } = this.props;\n\n return !action.customIcon ? (\n onAction(action.key, row)}\n identifier={action.icon}\n className=\"lfloat gray-txt-6 mx-1\"\n />\n ) : (\n onAction(action.key, row))}\n src={action.icon}\n alt={action.displayName}\n />\n );\n };\n\n generateDropdownItemsListFromActions = (actions: Action[], row) => {\n const { onAction, isLoading, newThemeActions } = this.props;\n const dropdownItems = [];\n const gridItems = [];\n let index = 0;\n actions.forEach((action) => {\n if (action.position === 'out') {\n if (isLoading) {\n gridItems.push();\n } else {\n const tooltipText =\n action?.overlayTooltip?.text || action?.displayName || '';\n\n gridItems.push(\n \n \n {!action.customIcon && !action.iconElement && (\n onAction(action.key, row),\n })}\n identifier={action.icon}\n className={`${\n newThemeActions ? 'action-icon-generic' : ''\n }`}\n color=\"#6B7280\"\n width={18}\n height={18}\n />\n )}\n\n {action.customIcon && (\n onAction(action.key, row))\n : {})}\n src={action.icon}\n alt={action.displayName}\n />\n )}\n {action.iconElement && (\n onAction(action.key, row))\n : {})}\n >\n {action.iconElement}\n \n )}\n \n ,\n );\n }\n } else if (this.conditionCheck(row, action)) {\n const dropdownItem = (\n onAction(action.key, row),\n })}\n key={index}\n bsPrefix=\"dropdown-item-custom\"\n className={action?.disabled ? 'table-action-icon-disabled' : ''}\n >\n {action.isSVGIcon && action.SVGIcon}\n {!action.customIcon && action.icon && (\n \n )}\n\n {action.imageIcon && (\n \n )}\n\n {action.customIcon && action.icon && (\n onAction(action.key, row))\n : {})}\n src={action.icon}\n alt={action.displayName}\n className=\"lfloat gray-txt-6\"\n />\n )}\n\n {action.iconElement && action.iconElement}\n\n {action.displayName && (\n \n {action.displayName}\n \n )}\n \n );\n\n if (action?.disabled && action?.overlayTooltip?.text) {\n dropdownItems.push(\n \n {dropdownItem}\n ,\n );\n } else {\n dropdownItems.push(dropdownItem);\n }\n }\n index += 1;\n });\n\n return { gridItems, dropdownItems };\n };\n\n generateActionsColumn = (\n actions,\n headerVisibleForGenerateColumn,\n borderOverActions,\n ) => {\n const {\n actionColumnName = '',\n isLoading,\n onActionDropdownToggle,\n newThemeActions,\n hideActionColumnHeader,\n } = this.props;\n\n return {\n dataField: 'actions',\n text: hideActionColumnHeader ? '' : actionColumnName || 'Actions',\n headerFormatter: (column) => {\n if (isLoading) {\n return ;\n }\n\n return (\n
\n {column.text}\n
\n );\n },\n headerClasses: `bs-table-thead ${\n isLoading ? 'table-header-loading' : ''\n }`,\n formatter: (cell, row) => {\n const generatedDropdownItemsListFromActions =\n typeof actions === 'function'\n ? this.generateDropdownItemsListFromActions(actions(cell, row), row)\n : this.generateDropdownItemsListFromActions(actions, row);\n return generatedDropdownItemsListFromActions !== null ? (\n
\n {/* Showing grid action items */}\n {generatedDropdownItemsListFromActions.gridItems.length !== 0 &&\n generatedDropdownItemsListFromActions.gridItems}\n\n {/* showing dropdown action items */}\n {generatedDropdownItemsListFromActions.dropdownItems.length !== 0 &&\n isLoading && }\n\n {generatedDropdownItemsListFromActions.dropdownItems.length !== 0 &&\n !isLoading && (\n
\n \n \n \n \n {hideActionColumnHeader ? (\n createPortal(\n \n {generatedDropdownItemsListFromActions.dropdownItems}\n ,\n document.body,\n )\n ) : (\n \n {generatedDropdownItemsListFromActions.dropdownItems}\n \n )}\n \n
\n )}\n
\n ) : null;\n },\n isDummyField: true,\n align: 'right',\n headerAlign: 'center',\n headerStyle: {\n display: headerVisibleForGenerateColumn ? 'table-cell' : 'none',\n },\n style: {\n paddingLeft: hideActionColumnHeader ? '0rem' : '',\n paddingRight: hideActionColumnHeader ? '0rem' : '',\n borderTop: borderOverActions ? '1px solid #dee2e6' : 'none',\n },\n };\n };\n\n generateTogglerColumn = () => {\n const {\n isLoading,\n selectedColumnsIds,\n onColumnSelect,\n columns,\n } = this.props;\n const { expandedRowIds } = this.state;\n\n const handleOnColumnSelect = (colIds: number[]) => {\n if (expandedRowIds.length > 0) {\n this.removeAllExpandRows();\n }\n onColumnSelect(colIds);\n };\n\n return {\n dataField: 'togglerColumn',\n text: '',\n headerClasses: 'columns-toggler',\n headerFormatter: () =>\n isLoading ? (\n \n ) : (\n \n ),\n align: 'left',\n headerAlign: 'left',\n headerStyle: () => ({\n minWidth: '2.25rem',\n width: '2.25rem',\n maxWidth: '2.25rem',\n paddingRight: '0.5rem',\n }),\n classes: 'toggler-column',\n };\n };\n\n generateExpandColumn = () => {\n const { isLoading, isExpandColumnPositionFixed } = this.props;\n return {\n dataField: 'expandColumn',\n text: '',\n headerFormatter: () =>\n isLoading ? : ,\n align: 'left',\n headerAlign: 'left',\n headerStyle: () => ({\n minWidth: '2.25rem',\n width: '2.25rem',\n paddingRight: '0.5rem',\n }),\n classes: `columns-expand ${\n isExpandColumnPositionFixed ? 'fixed-td' : ''\n }`,\n headerClasses: isExpandColumnPositionFixed ? 'fixed-th' : '',\n cellLoadingSkeleton: ,\n attrs: (cell, row, rowIndex) => ({\n 'row-id': rowIndex + 1,\n }),\n formatter: (_cell, _row, rowIndex) => {\n const { expandedRowIds } = this.state;\n\n if (isLoading) {\n return ;\n }\n\n return (\n
\n {expandedRowIds.includes(rowIndex + 1) ? (\n \n ) : (\n \n )}\n
\n );\n },\n events: {\n onClick: (_e, _column, _columnIndex, _row, rowIndex) => {\n this.handleExpandRows(rowIndex);\n },\n },\n };\n };\n\n getTotalPages = () => {\n const { paginationOptions, sequenceFixedPageSize } = this.props;\n const { showRowsPerPage } = this.state;\n\n const totalSize = getTotalSize({\n paginationOptions,\n sequenceFixedPageSize,\n });\n return Math.ceil(totalSize / showRowsPerPage?.value);\n };\n\n handleTableChange = (type, { page, sizePerPage }) => {\n const {\n paginationOptions,\n sequenceFixedPageSize,\n onPaginationOptionsChange,\n } = this.props;\n const totalSize = getTotalSize({\n paginationOptions,\n sequenceFixedPageSize,\n });\n\n if (page > totalSize) {\n onPaginationOptionsChange({ page: 1, limit: sizePerPage });\n return;\n }\n\n if (type === 'pagination') {\n onPaginationOptionsChange({ page, limit: sizePerPage });\n this.setState({ goToPage: page });\n\n const { expandedRowIds } = this.state;\n\n if (expandedRowIds.length > 0) {\n this.removeAllExpandRows();\n }\n }\n };\n\n handelChangeGoToPage = (page) => {\n const { paginationOptions, sequenceFixedPageSize } = this.props;\n const { showRowsPerPage } = this.state;\n\n const totalSize = getTotalSize({\n paginationOptions,\n sequenceFixedPageSize,\n });\n\n this.setState({\n goToPage: page,\n });\n\n if (page < 1) {\n return;\n }\n\n if (page > Math.ceil(totalSize / showRowsPerPage?.value)) {\n return;\n }\n\n const { expandedRowIds } = this.state;\n\n if (expandedRowIds.length > 0) {\n this.removeAllExpandRows();\n }\n };\n\n handleOnBlur = () => {\n const { goToPage } = this.state;\n const totalPage = this.getTotalPages();\n\n if (\n goToPage > totalPage ||\n goToPage < 1 ||\n !validator.isNumeric(goToPage.toString())\n ) {\n this.setState({\n isError: true,\n });\n } else {\n this.setState({\n isError: false,\n });\n }\n };\n\n addErrorVariantToInput = () => {\n this.setState({\n showBounce: true,\n isError: true,\n });\n\n setTimeout(() => {\n this.setState({\n showBounce: false,\n });\n }, 1000);\n };\n\n isGoToPageValid = (goToPageValue) => {\n const totalPage = this.getTotalPages();\n\n if (\n goToPageValue < 1 ||\n goToPageValue > totalPage ||\n !validator.isNumeric(goToPageValue.toString())\n ) {\n this.addErrorVariantToInput();\n\n return false;\n }\n\n this.setState({\n isError: false,\n });\n return true;\n };\n\n handleGoToPage = (e) => {\n e.preventDefault();\n\n const { goToPage, showRowsPerPage } = this.state;\n\n const checkPageIsValid = this.isGoToPageValid(goToPage);\n\n if (checkPageIsValid) {\n this.handleTableChange('pagination', {\n page: Number(goToPage),\n sizePerPage: showRowsPerPage?.value,\n });\n }\n };\n\n handleSelectRowsPerPage = (option) => {\n const { paginationOptions, sequenceFixedPageSize } = this.props;\n\n const totalSize = getTotalSize({\n paginationOptions,\n sequenceFixedPageSize,\n });\n\n let customShowingKey;\n const renderOption: TablePageLengthDropDown = option;\n\n if (option.value > totalSize) {\n customShowingKey = totalSize;\n renderOption.key = customShowingKey;\n }\n\n this.setState({ showRowsPerPage: renderOption, goToPage: 1 });\n this.handleTableChange('pagination', {\n page: 1,\n sizePerPage: option?.value,\n });\n };\n\n removeExpandRow = (rowIndex: number) => {\n const { expandedRowIds } = this.state;\n const { data, id } = this.props;\n\n const tbody = document.querySelector(`.${id}`);\n\n const targetRow = tbody\n ?.querySelector(`tr > td[row-id=\"${rowIndex + 1}\"]`)\n ?.closest('tr');\n\n if (targetRow) {\n data[rowIndex]?.users?.forEach(() => {\n const rowToRemove = targetRow.nextSibling;\n if (rowToRemove) {\n tbody.removeChild(rowToRemove);\n }\n });\n }\n\n this.setState({\n expandedRowIds: expandedRowIds.filter((rowId) => rowId !== rowIndex + 1),\n });\n };\n\n removeAllExpandRows = () => {\n const { expandedRowIds } = this.state;\n const { data, id } = this.props;\n\n const tbody = document.querySelector(`.${id}`);\n\n expandedRowIds.forEach((rowId) => {\n const targetRow = tbody\n ?.querySelector(`tr > td[row-id=\"${rowId}\"]`)\n ?.closest('tr');\n\n if (targetRow) {\n data[rowId - 1]?.users?.forEach(() => {\n const rowToRemove = targetRow.nextSibling;\n if (rowToRemove) {\n tbody.removeChild(rowToRemove);\n }\n });\n }\n });\n\n this.setState({ expandedRowIds: [] });\n };\n\n handleExpandRows = (rowIndex: number) => {\n const {\n columns,\n data,\n showExpandColumn,\n showColumnsToggler,\n selectedColumnsIds,\n id,\n } = this.props;\n\n const { expandedRowIds } = this.state;\n const rowId = rowIndex + 1;\n\n if (expandedRowIds.includes(rowId)) {\n this.removeExpandRow(rowIndex);\n } else {\n const tbody = document.querySelector(`.${id}`);\n\n const targetRow = tbody\n ?.querySelector(`tr > td[row-id=\"${rowId}\"]`)\n .closest('tr');\n\n if (targetRow) {\n let filteredColumns: Column[] = columns;\n\n if (showColumnsToggler && selectedColumnsIds?.length > 0) {\n filteredColumns = columns.filter((col) =>\n selectedColumnsIds.includes(col.id),\n );\n filteredColumns.push(this.generateTogglerColumn());\n }\n if (showExpandColumn) {\n filteredColumns.unshift(this.generateExpandColumn());\n }\n\n filteredColumns = filteredColumns.filter(\n (value, index, self) =>\n index === self.findIndex((t) => t.dataField === value.dataField),\n );\n\n data[rowId - 1]?.users?.reverse()?.forEach((user) => {\n const tr = document.createElement('tr');\n tr.classList.add('expand-row');\n\n filteredColumns.forEach((col) => {\n const td = document.createElement('td');\n col?.cellClasses?.split(' ')?.forEach((cls) => {\n td.classList.add(cls);\n });\n\n col?.classes\n ?.toString()\n ?.split(' ')\n ?.forEach((cls) => {\n td.classList.add(cls);\n });\n\n const renderedJSX =\n col.dataField === 'togglerColumn' || !col.expandedCellRenderer ? (\n <>\n ) : (\n col.expandedCellRenderer(user[col.dataField], user)\n );\n\n ReactDOM.render(renderedJSX, td);\n\n tr.appendChild(td);\n });\n\n tbody.insertBefore(tr, targetRow.nextSibling);\n });\n }\n\n this.setState({ expandedRowIds: [...expandedRowIds, rowId] });\n }\n };\n\n render() {\n const {\n data,\n columns,\n actions,\n headerWrapperClasses = '',\n bodyWrapperClasses = '',\n sort,\n tableWrapperClasses = '',\n rowClasses,\n headerVisibleForGenerateColumn,\n borderOverActions,\n paginationOptions,\n pagination,\n id,\n onRowSelect,\n onRowSelectAll,\n isNewPagination,\n isLoading,\n sequenceFixedPageSize,\n maxSelectedRowsLimit,\n showColumnsToggler,\n showExpandColumn,\n loadingRowsCount = 4,\n fixedPageSize,\n } = this.props;\n\n const {\n selectedRows,\n goToPage,\n showRowsPerPage,\n showBounce,\n isError,\n pgOptions,\n } = this.state;\n const dataColumns = this.generateFormatter(columns);\n const finalColumns: Column[] = getFinalColumns({\n actions,\n dataColumns,\n generateActionsColumn: this.generateActionsColumn,\n headerVisibleForGenerateColumn,\n borderOverActions,\n showColumnsToggler,\n generateTogglerColumn: this.generateTogglerColumn,\n showExpandColumn,\n generateExpandColumn: this.generateExpandColumn,\n });\n const totalSize = getTotalSize({\n paginationOptions,\n sequenceFixedPageSize,\n });\n\n const paginationShow = getShouldShowPagination({\n pagination,\n totalSize,\n isNewPagination,\n sequenceFixedPageSize,\n fixedPageSize,\n });\n\n let defaultSize = sequenceFixedPageSize\n ? constants.DEFAULT_SEQUENCE_PAGE_SIZE\n : constants.DEFAULT_PAGE_SIZE;\n\n if (fixedPageSize) {\n defaultSize = fixedPageSize || defaultSize;\n }\n\n const start = (paginationOptions.options.page - 1) * defaultSize + 1;\n const end =\n (paginationOptions.options.page - 1) * defaultSize + data.length;\n\n // Go To Page classes\n const goToPageInputClasses = classNames([\n 'page-number-input',\n {\n 'input-bounce': showBounce,\n },\n ]);\n\n const tableData = isLoading\n ? Array.from(Array(loadingRowsCount).keys())\n : data;\n const renderSelectCheckbox = (options, checkedRows) => {\n if (isLoading) {\n return ;\n }\n\n if (\n maxSelectedRowsLimit &&\n checkedRows.length === maxSelectedRowsLimit &&\n (options.rowKey || !options.checked) &&\n !checkedRows.includes(options?.rowKey)\n ) {\n return (\n \n \n \n );\n }\n return ;\n };\n\n const { onRowClickHandler } = this.props;\n\n const tableId =\n maxSelectedRowsLimit && maxSelectedRowsLimit === selectedRows.length\n ? 'disabled-table'\n : '';\n\n return (\n \n {({ paginationProps, paginationTableProps }) => (\n <>\n
\n
\n
\n
\n \n renderSelectCheckbox(options, selectedRows),\n selectionRenderer: (options) =>\n renderSelectCheckbox(options, selectedRows),\n headerColumnStyle: { width: '20px' },\n }\n : undefined\n }\n sort={\n sort && {\n dataField: sort.dataField,\n order: sort.order,\n }\n }\n bordered={false}\n classes=\"table-organism\"\n keyField=\"id\"\n data={tableData}\n columns={finalColumns.map((column) => ({\n ...column,\n ...(column.isCellClickable && {\n events: {\n onClick: (e, col, columnIndex, row) => {\n if (col.text !== '' && col.isCellClickable) {\n onRowClickHandler?.(row);\n }\n },\n },\n }),\n }))}\n bodyClasses={`table-organism-body ${bodyWrapperClasses} ${getNoDataClassName(\n tableData,\n )}`}\n headerWrapperClasses={`table-organism-header ${headerWrapperClasses}`}\n rowClasses={rowClasses}\n onTableChange={this.handleTableChange}\n noDataIndication={\n !isLoading ? (\n \n ) : null\n }\n {...paginationTableProps}\n />\n
\n {!isLoading && paginationShow && (\n \n
\n {isNewPagination ? (\n <>\n
\n \n Showing\n \n \n options={pgOptions}\n selectedOptionKey={showRowsPerPage?.key}\n selectedOptionRenderer={([option]) => (\n \n {option?.key}\n \n )}\n onChange={([option]) =>\n this.handleSelectRowsPerPage(option)\n }\n optionRenderer={(option) => (\n {option?.value}\n )}\n placeholder=\"Select Plan\"\n placement={Placement.Top}\n />\n {`out of ${totalSize}`}\n
\n\n
\n\n
\n \n Go to page:\n \n
\n
\n \n \n
\n {`/${Math.ceil(\n totalSize / showRowsPerPage?.value,\n )}`}\n
\n \n ) : (\n {`${start}-${end} of ${totalSize}`}\n )}\n \n
\n
\n )}\n
\n
\n
\n \n )}\n \n );\n }\n}\n\nexport default Table;\n","export function difference(setA, setB) {\n const _difference = new Set(setA);\n for (const elem of setB) {\n _difference.delete(elem);\n }\n return _difference;\n}\n","import store from '../../store/store';\n\nexport const contactAdmin = (emailSubject, emailBody, supportEmail = null) => {\n const { home } = store.getState();\n\n const params = new URLSearchParams('');\n let emailToSend = home?.adminDetails?.email;\n\n if (supportEmail) {\n emailToSend = supportEmail;\n }\n params.set('to', emailToSend || '');\n\n const encodedAdminEmail = params.toString().split('=')[1];\n\n const mailString = `mailto:${encodedAdminEmail}?subject=${emailSubject}&body=${emailBody}`;\n\n window.open(mailString, '_blank');\n};\n","import React from 'react';\nimport { Button as ShButton, ButtonProps } from '@saleshandy/design-system';\n\nconst Button: React.FC = ({ children, ...rest }) => (\n {children}\n);\n\nexport default Button;\n","import React, { Suspense as ReactSuspense } from 'react';\nimport type { IProps } from './types';\nimport Spinner from '../../design-system/components/atoms/custom-spinner';\n\nconst Suspense: React.FC = ({ children }) => (\n }> {children} \n);\n\nexport default Suspense;\n","enum MasterLog {\n EmailSent = 'email-sent',\n EmailFailed = 'email-failed',\n EmailOpened = 'email-opened',\n EmailBounced = 'email-bounced',\n LinkClicked = 'link-clicked',\n UnsubscribedAuto = 'unsubscribed-auto',\n UnsubscribedManual = 'unsubscribed-manual',\n ReSubscribed = 'resubscribed',\n ReplyReceivedAuto = 'reply-received-auto',\n ReplyReceivedManual = 'reply-received-manual',\n Blacklisted = 'blacklisted',\n RemovedFromBlacklist = 'removed-from-blacklist',\n MailboxEmailSent = 'mailbox-email-sent',\n MailboxEmailOpened = 'mailbox-email-opened',\n MailboxEmailLinkClicked = 'mailbox-email-link-clicked',\n SequenceContactResumed = 'sequence-contact-resumed',\n SequenceContactPaused = 'sequence-contact-paused',\n UniboxEmailOpened = 'unibox-email-opened',\n UniboxEmailLinkClicked = 'unibox-email-link-clicked',\n PrimaryEmailChangedAuto = 'primary-email-changed-auto',\n PrimaryEmailChangedManual = 'primary-email-changed-manual',\n}\n\nexport default MasterLog;\n","import {\n ModifyPlanAction,\n PlanType,\n SubscriptionPlanModes,\n SubscriptionPlans,\n} from '../../../../../../shared/utils/subscription-plans';\n\nexport enum ModifySubscriptionSteps {\n SelectPlan = 'select plan',\n SelectSlots = 'select slots',\n}\n\nexport type SetPlanDetails = {\n planCode?: SubscriptionPlans;\n planType?: PlanType;\n planMode?: SubscriptionPlanModes;\n planName?: string;\n action?: ModifyPlanAction;\n};\n","export enum OnboardingType {\n Agency = 'Agency',\n Business = 'Business',\n Individual = 'Individual',\n}\n\nexport enum SaleshandyUsageOptions {\n SalesTeam = 'Sales Team',\n MarketingTeam = 'Marketing Team',\n Agency_Consultant = 'Agency/Consultant',\n Recruiters = 'Recruiters',\n Other = 'Other',\n}\n\nexport enum JobRoleOptions {\n BusinessDevelopmentRepresentative = 'Business Development Representative',\n BusinessDevelopmentManager = 'Business Development Manager',\n SalesDevelopmentRepresentative = 'Sales Development Representative',\n SalesDevelopmentManager = 'Sales Development Manager',\n AccountExecutive = 'Account Executive',\n SalesAccountManager = 'Sales account manager',\n MarketingExecutive = 'Marketing Executive',\n GrowthManager = 'Growth Manager',\n MarketingManager = 'Marketing Manager',\n Recruiter = 'Recruiter',\n Consultant = 'Consultant',\n Founder = 'Founder',\n Other = 'Other',\n}\n\nexport enum UseCaseOptions {\n LeadGeneration = 'Lead Generation',\n LeadQualification = 'Lead Qualification',\n BookMoreMeetings_BuildSalesPipeline = 'Book more meetings / Build sales pipeline',\n OutreachToCandidates_Recruitment = 'Outreach to candidates / Recruitment',\n FindEmailAddressesFromSaleshandyConnect = 'Find email addresses from Saleshandy connect',\n PromoteProduct_Services = 'Promote your product & services',\n OneTimeColdEmailOutreach = 'One time cold email outreach to my list',\n LinkBuilding_PR = 'Link Building / PR',\n FindleadsUsingLeadFinder = 'Find leads using Lead Finder',\n Other = 'Other',\n}\n\nexport enum ProspectSizeOptions {\n PROSPECT_0_2 = '0 - 2K',\n PROSPECT_2_40 = '2K - 40K',\n PROSPECT_40_100 = '40K - 100K',\n PROSPECT_100_500 = '100K - 500K',\n PROSPECT_500 = '500K+',\n Other = 'Other',\n}\n\nexport enum IndustryOptions {\n Saas = 'SaaS',\n ItServices = 'Information Technology & Services',\n ComputerSoftware = 'Computer Software',\n SalesMarketingAgency = 'Sales / Marketing agency',\n Internet = 'Internet',\n StaffingRecruitment = 'Staffing & Recruitment',\n MarketingAndAdvertising = 'Marketing & Advertising',\n ELearningEdTech = 'E-learning / EdTech',\n ManagementConsulting = 'Management Consulting',\n RealEstate = 'Real Estate',\n Finance = 'Finance',\n Other = 'Other',\n}\n\nexport enum ColdEmailToolOptions {\n Used = 'Yes, I have',\n NotUsed = 'No, I have not',\n NotReally = 'Not exactly, but I’ve used an email marketing tool',\n}\n\nexport enum OutreachProspectOptions {\n EmailOnly = 'Email Only',\n Multichannel = 'Multi-Channel (Email + LinkedIn + Call + Others)',\n}\n\nexport enum AgencyTypeOptions {\n LeadGenerationAgency = 'Lead Generation Agency',\n SalesAgency = 'Sales Agency',\n DigitalMarketingAgency = 'Digital Marketing Agency',\n SocialMediaAgency = 'Social Media Agency',\n RecruitmentAgency = 'Recruitment Agency',\n Other = 'Other',\n}\n\nexport enum ClientSizeOptions {\n CLIENT_0_5 = '0 - 5',\n CLIENT_6_20 = '6 - 20',\n CLIENT_21_50 = '21 - 50',\n More_Than_50 = 'More than 50',\n}\n\nexport enum EmailSendOptions {\n EMAIL_0_30 = '0 - 30K',\n EMAIL_30_100 = '30K - 100K',\n EMAIL_100_250 = '100K - 250K',\n More_Than_250 = 'More than 250K',\n}\n\nexport enum FindUsOptions {\n LinkedIn = 'LinkedIn',\n Blog = 'Blog',\n Google = 'Google',\n Ads = 'Ads',\n YouTube = 'YouTube',\n Recommendation = 'Recommendation',\n Other = 'Others',\n}\n\nexport enum BusinessUseCaseOptions {\n GenerateB2BLeadsBookMeetings = 'Generate B2B Leads / Book Meetings',\n PromoteProductsServices = 'Promote Products / Services',\n OneTimeEmailOutreach = 'One-time Email Outreach',\n OutreachCandidates = 'Outreach Candidates',\n LinkBuilding = 'Link Building',\n Other = 'Other',\n}\n\nexport enum TeamSizeOptions {\n TEAM_0_5 = '0 - 5',\n TEAM_6_20 = '6 - 20',\n TEAM_21_50 = '21 - 50',\n More_Than_50 = 'More than 50',\n}\n\nexport enum AverageDealValueOptions {\n DEAL_0_1 = '0 - $1K',\n DEAL_1_5 = '$1K - $5K',\n DEAL_5_20 = '$5K - $20K',\n More_Than_20 = 'More than $20K',\n}\n\nexport enum UsagePreferenceOptions {\n ColdEmailOutreach = 'Cold Outreach',\n FindLead = 'Lead Finder',\n FindLeadColdOutreach = 'Find Leads & Cold Outreach',\n}\n\nexport enum OccupationOptions {\n Freelancer = 'Freelancer',\n Influencer = 'Influencer',\n ConsultantAdvisor = 'Consultant / Advisor',\n Other = 'Other',\n}\n\nexport enum IndividualUseCaseOptions {\n GenerateLeadsForBusiness = 'Generate Leads for my Business',\n EngageProspects = 'Engage with Prospects',\n OnetimeEmailOutreach = 'One-time Email Outreach',\n RecruitTalent = 'Recruit Talent',\n Other = 'Other',\n}\n\nexport enum LeadSizeOptions {\n LEAD_0_1 = '0 - 1K',\n LEAD_1_5 = '1K - 5K',\n LEAD_5_20 = '5K - 20K',\n More_Than_20 = 'More than 20K',\n}\n","const hasVisitedAgencyPortal = 'hasVisitedAgencyPortal';\n\nexport const getHasVisitedAgencyPortal = () =>\n localStorage.getItem(hasVisitedAgencyPortal);\n\nexport const setHasVisitedAgencyPortal = (value: string) =>\n localStorage.setItem(hasVisitedAgencyPortal, value);\n\nexport const removeHasVisitedAgencyPortal = () =>\n localStorage.removeItem(hasVisitedAgencyPortal);\n","import React, { useEffect, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { Button } from '@saleshandy/design-system';\nimport * as Icons from '../../shared/svg';\nimport YoutubeVideoModal from '../../shared/design-system/components/molecules/youtube-video-modal';\nimport { supportUrls } from '../../shared/utils/urls';\nimport { getHasVisitedAgencyPortal, setHasVisitedAgencyPortal } from './helper';\nimport type { IProps } from './agency-portal-container';\nimport { AnalyticsEvents } from '../../shared/enums/analytics';\nimport {\n getUserEmail,\n getUserSignUpDate,\n getUserUseCase,\n getUserIndustry,\n getUserJobRole,\n} from '../../shared/utils/user-details';\nimport ImageIcon from '../../shared/components/images/image-icon';\nimport { Images } from '../../shared/app-constants';\n\nconst AgencyPortal: React.FC = ({\n trackingId,\n planName,\n\n hasVisitedAgencyPortal,\n handleHasVisitedAgencyPortal,\n}) => {\n const { t } = useTranslation();\n\n const [watchDemoVideoModal, setWatchDemoVideoModal] = useState(\n false,\n );\n\n const onShowWatchDemoVideoModal = () => {\n setWatchDemoVideoModal(true);\n };\n\n const onHideWatchDemoVideoModal = () => {\n setWatchDemoVideoModal(false);\n };\n\n const oGetStartedClicked = () => {\n const userEmail = getUserEmail() || '';\n const splitUserEmail = userEmail?.split('@');\n const emailDomain =\n splitUserEmail && splitUserEmail.length > 1 ? splitUserEmail?.[1] : '';\n\n window.analytics?.track?.({\n userId: trackingId,\n event: AnalyticsEvents.ClickedGetStartedOnAgencyTab,\n properties: {\n current_plan: planName,\n signup_date: getUserSignUpDate(),\n use_case: getUserUseCase(),\n industry: getUserIndustry(),\n job_role: getUserJobRole(),\n email_domain: emailDomain,\n },\n });\n\n window.open(supportUrls.agencyPortalSignupURL, '_blank');\n };\n\n useEffect(() => {\n const hasVisitedAgencyPortalInLS = getHasVisitedAgencyPortal();\n if (\n !hasVisitedAgencyPortalInLS ||\n hasVisitedAgencyPortalInLS === 'false' ||\n !hasVisitedAgencyPortal\n ) {\n setHasVisitedAgencyPortal('true');\n handleHasVisitedAgencyPortal(true);\n }\n }, []);\n\n return (\n
\n
\n
\n \n
\n

{t('messages.agency_portal')}

\n

{t('messages.agency_portal_desc')}

\n
\n \n \n
\n
\n\n \n
\n );\n};\n\nexport default AgencyPortal;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../store/root-reducer';\nimport { updateApplicationState } from '../home/home-slice';\nimport AgencyPortal from './agency-portal';\n\nconst mapStateToProps = (state: RootState) => ({\n hasVisitedAgencyPortal: state.home.application.hasVisitedAgencyPortal,\n\n trackingId: state.home.trackingId,\n planName: state.home.subscription?.planName,\n});\n\nconst mapDispatchToProps = {\n handleHasVisitedAgencyPortal: (hasVisitedAgencyPortal: boolean) =>\n updateApplicationState({ hasVisitedAgencyPortal }),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps;\n\nexport default connector(AgencyPortal);\n","import { OnboardingQuestionType } from './type';\nimport {\n ColdEmailToolOptions,\n AgencyTypeOptions,\n ClientSizeOptions,\n EmailSendOptions,\n BusinessUseCaseOptions,\n UsagePreferenceOptions,\n OccupationOptions,\n IndividualUseCaseOptions,\n LeadSizeOptions,\n OnboardingType,\n FindUsOptions,\n} from '../../enums/onboarding-question-options';\n\n// Pre-shuffled arrays for options\nconst shuffledOccupationOptions = [\n { value: OccupationOptions.Freelancer },\n { value: OccupationOptions.Influencer },\n { value: OccupationOptions.ConsultantAdvisor },\n];\n\nconst shuffledBusinessUseCaseOptions = [\n { value: BusinessUseCaseOptions.GenerateB2BLeadsBookMeetings },\n { value: BusinessUseCaseOptions.PromoteProductsServices },\n { value: BusinessUseCaseOptions.OneTimeEmailOutreach },\n { value: BusinessUseCaseOptions.OutreachCandidates },\n { value: BusinessUseCaseOptions.LinkBuilding },\n];\n\nconst shuffledIndividualUseCaseOptions = [\n { value: IndividualUseCaseOptions.GenerateLeadsForBusiness },\n { value: IndividualUseCaseOptions.EngageProspects },\n { value: IndividualUseCaseOptions.OnetimeEmailOutreach },\n { value: IndividualUseCaseOptions.RecruitTalent },\n];\n\nconst shuffledAgencyTypeOptions = [\n { value: AgencyTypeOptions.LeadGenerationAgency },\n { value: AgencyTypeOptions.SalesAgency },\n { value: AgencyTypeOptions.DigitalMarketingAgency },\n { value: AgencyTypeOptions.SocialMediaAgency },\n { value: AgencyTypeOptions.RecruitmentAgency },\n];\n\nconst onboardingTypeOptions = [\n {\n label: 'Clients',\n value: OnboardingType.Agency,\n description: 'I want to outreach for my clients',\n },\n {\n label: OnboardingType.Business,\n value: OnboardingType.Business,\n description: 'I want to grow my business using cold emails',\n },\n {\n label: 'Personal Use',\n value: OnboardingType.Individual,\n description: 'I want to do cold emailing for personal use',\n },\n];\n//! FUnction to get the agency onboarding questions\nexport const getAgencyOnboardingQuestions = (): OnboardingQuestionType[] => {\n const onboardingQuestions = [\n {\n question: '',\n key: 'userType',\n options: [...onboardingTypeOptions],\n },\n {\n question: 'What type of agency are you?',\n key: 'agencyType',\n options: [\n ...shuffledAgencyTypeOptions,\n { value: AgencyTypeOptions.Other },\n ],\n },\n {\n question: 'How many clients do you serve?',\n key: 'clientsCount',\n options: [\n { value: ClientSizeOptions.CLIENT_0_5 },\n { value: ClientSizeOptions.CLIENT_6_20 },\n { value: ClientSizeOptions.CLIENT_21_50 },\n { value: ClientSizeOptions.More_Than_50 },\n ],\n },\n {\n question: 'How many emails are you likely to send every month?',\n key: 'monthlyemailsCount',\n options: [\n { value: EmailSendOptions.EMAIL_0_30 },\n { value: EmailSendOptions.EMAIL_30_100 },\n { value: EmailSendOptions.EMAIL_100_250 },\n { value: EmailSendOptions.More_Than_250 },\n ],\n },\n {\n question: 'How did you find us?',\n key: 'source',\n options: [\n { value: FindUsOptions.LinkedIn },\n { value: FindUsOptions.Blog },\n { value: FindUsOptions.Google },\n { value: FindUsOptions.Ads },\n { value: FindUsOptions.YouTube },\n { value: FindUsOptions.Recommendation },\n { value: FindUsOptions.Other, type: 'text' },\n ],\n },\n ];\n\n return onboardingQuestions.map((item, index) => ({\n ...item,\n questionNumber: index + 1,\n })) as OnboardingQuestionType[];\n};\n\n//! Function to get the business onboarding questions\nexport const getBusinessOnboardingQuestions = (): OnboardingQuestionType[] => {\n const onboardingQuestions = [\n {\n question: '',\n key: 'userType',\n options: [...onboardingTypeOptions],\n },\n {\n question: 'What is your primary goal for using Saleshandy?',\n key: 'useCase',\n options: [\n { value: BusinessUseCaseOptions.GenerateB2BLeadsBookMeetings },\n { value: BusinessUseCaseOptions.PromoteProductsServices },\n { value: BusinessUseCaseOptions.OneTimeEmailOutreach },\n { value: BusinessUseCaseOptions.OutreachCandidates },\n { value: BusinessUseCaseOptions.LinkBuilding },\n { value: BusinessUseCaseOptions.Other },\n ],\n },\n {\n question: 'Have you used a cold outreach tool like Saleshandy before?',\n key: 'priorColdEmailToolExperience',\n options: [\n { value: ColdEmailToolOptions.Used },\n { value: ColdEmailToolOptions.NotUsed },\n { value: ColdEmailToolOptions.NotReally },\n ],\n },\n {\n question: 'How would you use Saleshandy?',\n key: 'usagePreference',\n options: [\n { value: UsagePreferenceOptions.ColdEmailOutreach },\n { value: UsagePreferenceOptions.FindLead },\n { value: UsagePreferenceOptions.FindLeadColdOutreach },\n ],\n },\n {\n question: 'How did you find us?',\n key: 'source',\n options: [\n { value: FindUsOptions.LinkedIn },\n { value: FindUsOptions.Blog },\n { value: FindUsOptions.Google },\n { value: FindUsOptions.Ads },\n { value: FindUsOptions.YouTube },\n { value: FindUsOptions.Recommendation },\n { value: FindUsOptions.Other, type: 'text' },\n ],\n },\n ];\n\n return onboardingQuestions.map((item, index) => ({\n ...item,\n questionNumber: index + 1,\n })) as OnboardingQuestionType[];\n};\n\n//! Function to get the individual onboarding questions\nexport const getIndividualOnboardingQuestions = (): OnboardingQuestionType[] => {\n const onboardingQuestions = [\n {\n question: '',\n key: 'userType',\n options: [...onboardingTypeOptions],\n questionNumber: 1,\n },\n {\n question: 'Please select your occupation',\n key: 'occupation',\n options: [\n ...shuffledOccupationOptions,\n { value: OccupationOptions.Other },\n ],\n questionNumber: 2,\n },\n {\n question: 'What is your primary goal for using Saleshandy?',\n key: 'useCase',\n options: [\n ...shuffledIndividualUseCaseOptions,\n { value: IndividualUseCaseOptions.Other },\n ],\n questionNumber: 3,\n },\n {\n question: 'How would you use Saleshandy?',\n key: 'usagePreference',\n options: [\n { value: UsagePreferenceOptions.ColdEmailOutreach },\n { value: UsagePreferenceOptions.FindLead },\n { value: UsagePreferenceOptions.FindLeadColdOutreach },\n ],\n questionNumber: 4,\n },\n {\n question: 'How many emails are you likely to send every month?',\n key: 'monthlyemailsCount',\n options: [\n { value: EmailSendOptions.EMAIL_0_30 },\n { value: EmailSendOptions.EMAIL_30_100 },\n { value: EmailSendOptions.EMAIL_100_250 },\n { value: EmailSendOptions.More_Than_250 },\n ],\n questionNumber: 5,\n },\n {\n question: 'How many leads do you need?',\n key: 'leadsSizeCount',\n options: [\n { value: LeadSizeOptions.LEAD_0_1 },\n { value: LeadSizeOptions.LEAD_1_5 },\n { value: LeadSizeOptions.LEAD_5_20 },\n { value: LeadSizeOptions.More_Than_20 },\n ],\n questionNumber: 5,\n },\n {\n question: 'How did you find us?',\n key: 'source',\n options: [\n { value: FindUsOptions.LinkedIn },\n { value: FindUsOptions.Blog },\n { value: FindUsOptions.Google },\n { value: FindUsOptions.Ads },\n { value: FindUsOptions.YouTube },\n { value: FindUsOptions.Recommendation },\n { value: FindUsOptions.Other, type: 'text' },\n ],\n questionNumber: 6,\n },\n ];\n\n return onboardingQuestions as OnboardingQuestionType[];\n};\n\nexport const getOnboardingQuestions = (\n type: OnboardingType,\n): OnboardingQuestionType[] => {\n if (type === OnboardingType.Agency) {\n return getAgencyOnboardingQuestions();\n }\n if (type === OnboardingType.Business) {\n return getBusinessOnboardingQuestions();\n }\n\n return getIndividualOnboardingQuestions();\n};\n\nexport const getInitialOnboardingValues = (type: OnboardingType) => {\n const ques = getOnboardingQuestions(type);\n\n const obj = ques.reduce(\n (acc, item) => {\n acc[item.key] = '';\n return acc;\n },\n {\n userType: '',\n agencyType: '',\n clientsCount: '',\n monthlyemailsCount: '',\n useCase: '',\n priorColdEmailToolExperience: '',\n teamSize: '',\n avgDealSize: '',\n usagePreference: '',\n occupation: '',\n leadsSizeCount: '',\n },\n );\n\n return obj;\n};\n\nexport const getTotalQuestionCount = (type: OnboardingType) => {\n if (type === OnboardingType.Agency) {\n return getAgencyOnboardingQuestions().length - 1;\n }\n if (type === OnboardingType.Business) {\n return getBusinessOnboardingQuestions().length - 1;\n }\n return getOnboardingQuestions(type).length - 2;\n};\n\nexport const isOutreachLead = (selectedValue) =>\n [\n BusinessUseCaseOptions.OneTimeEmailOutreach,\n BusinessUseCaseOptions.OutreachCandidates,\n BusinessUseCaseOptions.LinkBuilding,\n ].includes(selectedValue);\n","import React, { useState } from 'react';\n\ntype ProgressBarProps = {\n percentage: number;\n};\n\nconst ProgressBar: React.FC = React.forwardRef<\n HTMLDivElement,\n ProgressBarProps\n>(({ percentage }, ref) => {\n const [bgColor] = useState('#3B82F6');\n\n return (\n
\n \n \n \n
\n );\n});\n\nexport default ProgressBar;\n","/* eslint-disable jsx-a11y/label-has-associated-control */\nimport React, { useState, useEffect } from 'react';\nimport classNames from 'classnames';\n\nimport Modal from '../../design-system/components/atoms/modal';\nimport {\n getInitialOnboardingValues,\n getOnboardingQuestions,\n getTotalQuestionCount,\n isOutreachLead,\n} from './onboarding-questions';\nimport { OnboardingQuestionOption, OnboardingQuestionType } from './type';\nimport { OnBoardingRequest } from '../../../components/auth/types';\nimport { getIsRequestPending } from '../../utils';\nimport { RequestStatus } from '../../enums/request-status';\nimport {\n OnboardingType,\n UsagePreferenceOptions,\n} from '../../enums/onboarding-question-options';\nimport { getPercentageValue } from '../../../components/home/components/header/utils/helper';\nimport ProgressBar from './components/progress-bar';\nimport { accessibleOnClick } from '../../utils/accessible-on-click';\nimport { ArrowRight, ArrowLeft } from '../../svg';\n\ntype IProps = {\n show: boolean;\n firstName: string;\n sendOnboardingRequest: (payload: OnBoardingRequest) => void;\n onBoardingRequestStatus: RequestStatus;\n trackingId: string;\n shAccountId: number;\n checkIsLeadFinderICP?: (p: boolean) => void;\n};\n\nconst OnboardingModal: React.FC = ({\n show,\n firstName,\n sendOnboardingRequest,\n onBoardingRequestStatus,\n checkIsLeadFinderICP,\n}) => {\n const isLoading = getIsRequestPending(onBoardingRequestStatus);\n const [onboardingType, setOnboardingType] = useState(null);\n\n let onboardingQuestions = getOnboardingQuestions(onboardingType);\n\n const [\n currentQuestion,\n setCurrentQuestion,\n ] = useState(onboardingQuestions[0]);\n const [selectedOptions, setSelectedOptions] = useState(\n getInitialOnboardingValues(onboardingType),\n );\n const [otherOptionInput, setOtherOptionInput] = useState('');\n const [otherOptionInputError, setOtherOptionInputError] = useState(false);\n\n const getCurrentQuestionNumber = (value: string) => {\n if (onboardingType === OnboardingType.Individual) {\n if (value === UsagePreferenceOptions.FindLead) {\n return onboardingQuestions.find(\n (question) => question.key === 'leadsSizeCount',\n );\n }\n\n if (currentQuestion?.questionNumber === 5) {\n return onboardingQuestions[currentQuestion?.questionNumber + 1];\n }\n return onboardingQuestions[currentQuestion?.questionNumber];\n }\n\n if (\n onboardingType === OnboardingType.Business &&\n isOutreachLead(selectedOptions?.useCase) &&\n currentQuestion?.key === 'priorColdEmailToolExperience'\n ) {\n return onboardingQuestions.find(\n (question) => question.key === 'usagePreference',\n );\n }\n\n return onboardingQuestions[currentQuestion?.questionNumber];\n };\n\n const onSelectedOptionChanged = (value: string) => {\n if (isLoading) {\n return;\n }\n\n if (value === UsagePreferenceOptions.FindLead) {\n checkIsLeadFinderICP(true);\n }\n\n if (currentQuestion?.key === 'userType' && onboardingType !== value) {\n onboardingQuestions = getOnboardingQuestions(value as OnboardingType);\n const sltOptions = getInitialOnboardingValues(value as OnboardingType);\n\n setOnboardingType(value as OnboardingType);\n setSelectedOptions({ ...sltOptions, [currentQuestion?.key]: value });\n setCurrentQuestion(onboardingQuestions[0]);\n } else {\n setSelectedOptions({\n ...selectedOptions,\n [currentQuestion?.key]: value,\n });\n }\n\n if (\n currentQuestion?.questionNumber !==\n onboardingQuestions[onboardingQuestions.length - 1].questionNumber\n ) {\n setCurrentQuestion(getCurrentQuestionNumber(value));\n }\n };\n\n const onTextOptionSelected = (value: string) => {\n if (isLoading) {\n return;\n }\n\n setSelectedOptions({\n ...selectedOptions,\n [currentQuestion?.key]: value,\n });\n };\n\n const handleTextOptionSubmit = () => {\n if (selectedOptions[currentQuestion?.key] === 'Others') {\n if (otherOptionInput.length >= 1 && otherOptionInput.length <= 64) {\n if (isLoading) {\n return;\n }\n\n const optionEntries = Object.entries(selectedOptions ?? {})?.filter(\n ([, value]) => value !== '',\n );\n\n const newObj =\n optionEntries?.length > 0 ? Object.fromEntries(optionEntries) : {};\n\n const payload = {\n ...newObj,\n sourceDetails: otherOptionInput,\n };\n\n if (payload) {\n sendOnboardingRequest(payload);\n }\n } else {\n setOtherOptionInputError(true);\n }\n }\n };\n\n const previousQuestion = () => {\n if (\n onboardingType === OnboardingType.Business &&\n isOutreachLead(selectedOptions?.useCase) &&\n currentQuestion?.questionNumber === 6\n ) {\n setCurrentQuestion(onboardingQuestions[2]);\n return;\n }\n\n setCurrentQuestion(\n onboardingQuestions[currentQuestion?.questionNumber - 2],\n );\n };\n\n const nextQuestion = () => {\n if (\n onboardingType === OnboardingType.Business &&\n isOutreachLead(selectedOptions?.useCase) &&\n currentQuestion?.questionNumber === 3\n ) {\n setCurrentQuestion(onboardingQuestions[5]);\n return;\n }\n\n setCurrentQuestion(onboardingQuestions[currentQuestion?.questionNumber]);\n };\n\n const isNextButtonDisabled = () => {\n if (currentQuestion?.questionNumber === onboardingQuestions.length) {\n if (\n selectedOptions[currentQuestion?.key] === 'Others' &&\n otherOptionInput !== ''\n ) {\n return false;\n }\n\n return true;\n }\n\n if (selectedOptions[currentQuestion?.key]) {\n return false;\n }\n\n return true;\n };\n\n useEffect(() => {\n if (\n show &&\n currentQuestion?.questionNumber - 1 >=\n getTotalQuestionCount(onboardingType) &&\n selectedOptions[currentQuestion?.key] &&\n selectedOptions[currentQuestion?.key] !== 'Others'\n ) {\n const optionsEntries = Object.entries(selectedOptions ?? {})?.filter(\n ([, value]) => value !== '',\n );\n const newObj =\n optionsEntries?.length > 0 ? Object.fromEntries(optionsEntries) : {};\n\n const payload = {\n ...newObj,\n };\n if (payload) {\n sendOnboardingRequest(payload);\n }\n }\n }, [selectedOptions]);\n\n return (\n \n {currentQuestion?.questionNumber === 1 && (\n
\n
\n

\n Hey {`${firstName},`}\n

\n
\n

\n Let’s shape your experience\n

\n \n Whom you are going to use it for?\n \n
\n
\n\n
\n {currentQuestion?.options.map(\n (option: OnboardingQuestionOption) => (\n \n
\n onSelectedOptionChanged(option.value)}\n checked={\n selectedOptions[currentQuestion?.key] === option.value\n }\n />\n
\n \n {option.label}\n \n \n {option?.description}\n \n
\n
\n \n ),\n )}\n
\n
\n )}\n\n {currentQuestion?.questionNumber > 1 && (\n
\n \n
\n

\n {currentQuestion?.question}\n

\n
\n {currentQuestion?.options.map(\n (option: OnboardingQuestionOption) =>\n option?.type === 'text' ? (\n \n onTextOptionSelected(option.value),\n )}\n >\n ,\n ) => {\n setOtherOptionInput(event.target.value);\n if (\n event.target.value.length >= 1 &&\n event.target.value.length <= 64\n ) {\n setOtherOptionInputError(false);\n }\n }}\n onKeyDown={(\n event: React.KeyboardEvent,\n ) => {\n if (event.key === 'Enter') {\n handleTextOptionSubmit();\n }\n }}\n />\n {otherOptionInputError && (\n \n Should be between 1-64 characters.\n \n )}\n
\n ) : (\n onSelectedOptionChanged(option.value)}\n >\n {option.value}\n \n ),\n )}\n
\n
\n\n
\n \n
\n
previousQuestion())}>\n \n
\n {\n if (\n (onboardingType === OnboardingType.Individual &&\n currentQuestion?.key === 'source') ||\n currentQuestion.questionNumber ===\n onboardingQuestions.length\n ) {\n handleTextOptionSubmit();\n } else {\n nextQuestion();\n }\n })}\n >\n \n
\n
\n \n \n \n )}\n \n );\n};\n\nexport default OnboardingModal;\n","import React from 'react';\nimport { NavLink } from 'react-router-dom';\n\ntype IProps = {\n to: string;\n label: string;\n icon: React.FC;\n};\n\nconst SettingsNavigationItem: React.FC = ({\n to,\n label,\n icon: IconComponent,\n}) => (\n \n
\n \n {label}\n
\n \n);\n\nexport default SettingsNavigationItem;\n","import React from 'react';\n\ntype IProps = {\n title: string;\n};\n\nconst SettingsNavigationTitle: React.FC = ({ title }) => (\n {title}\n);\n\nexport default SettingsNavigationTitle;\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport {\n User,\n Mail,\n Calendar,\n Users,\n TerminalCode,\n Link,\n Code,\n World,\n Bullet,\n FileX,\n Wallet,\n OutOfOffice,\n Webhook,\n UserStar,\n Brush,\n} from '@saleshandy/icons';\nimport SettingsNavigationItem from './components/settings-navigation-item';\nimport SettingsNavigationTitle from './components/settings-navigation-title';\n\nimport store from '../../../../store';\nimport hasPermission from '../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../shared/utils/access-control/enums/permissions';\nimport { isValueBasedPlan } from '../billing-subscription/components/outreach-plans/utils/helper';\n\ntype SettingsNavItem = {\n id: string;\n to: string;\n permission: boolean;\n icon: React.FC;\n label: string;\n};\n\ntype Settings = {\n title: string;\n navItems: SettingsNavItem[];\n};\n\nconst SettingNavigation = () => {\n const { t } = useTranslation();\n const state = store.getState();\n const planType = state.home?.subscription?.planType;\n\n const userSettings: Settings = {\n title: 'User Settings',\n navItems: [\n {\n id: 'profile',\n to: '/settings/profile',\n permission: hasPermission(Permissions.MY_PROFILE_READ),\n icon: User,\n label: t('labels.my_profile'),\n },\n {\n id: 'email-accounts',\n to: '/settings/email-accounts',\n permission: hasPermission(Permissions.EMAIL_ACCOUNT_READ),\n icon: Mail,\n label: t('labels.email_accounts'),\n },\n {\n id: 'schedules',\n to: '/settings/schedules',\n permission:\n hasPermission(Permissions.SCHEDULE_SHOW) &&\n hasPermission(Permissions.SCHEDULE_READ),\n icon: Calendar,\n label: t('labels.schedules'),\n },\n {\n id: 'out-of-office',\n to: '/settings/out-of-office',\n permission: hasPermission(Permissions.OOO_SETTING_READ),\n icon: OutOfOffice,\n label: t('labels.outOfOffice'),\n },\n ],\n };\n\n const companySettings: Settings = {\n title: 'Company Settings',\n navItems: [\n {\n id: 'users',\n to: '/settings/users',\n permission:\n hasPermission(Permissions.USER_TEAM_SHOW) &&\n (hasPermission(Permissions.ACCOUNT_USER_READ) ||\n hasPermission(Permissions.TEAM_SHOW)),\n icon: Users,\n label: t('labels.users_and_teams'),\n },\n {\n id: 'custom-fields',\n to: '/settings/custom-fields',\n permission:\n hasPermission(Permissions.FIELD_SHOW) &&\n hasPermission(Permissions.FIELD_READ),\n icon: TerminalCode,\n label: t('labels.prospect_fields'),\n },\n {\n id: 'custom-outcomes',\n to: '/settings/custom-outcomes',\n permission:\n hasPermission(Permissions.OUTCOME_SHOW) &&\n hasPermission(Permissions.OUTCOME_READ),\n icon: UserStar,\n label: t('labels.prospect_outcomes'),\n },\n {\n id: 'integrations',\n to: '/settings/integrations',\n permission: hasPermission(Permissions.INTEGRATION_READ),\n icon: Link,\n label: t('labels.integration'),\n },\n {\n id: 'webhook',\n to: '/settings/webhook',\n permission: hasPermission(Permissions.WEBHOOKS_SHOW),\n icon: Webhook,\n label: t('labels.webhook'),\n },\n {\n id: 'api-keys',\n to: '/settings/api-keys',\n permission:\n hasPermission(Permissions.API_TOKEN_SHOW) &&\n hasPermission(Permissions.API_TOKEN_READ),\n icon: Code,\n label: t('labels.api_key'),\n },\n {\n id: 'custom-domain',\n to: '/settings/custom-domain',\n permission:\n hasPermission(Permissions.CUSTOM_DOMAIN_SHOW) &&\n hasPermission(Permissions.CUSTOM_DOMAIN_READ),\n icon: World,\n label: t('labels.custom_tracking_domain'),\n },\n {\n id: 'admin-settings',\n to: '/settings/admin-settings',\n permission: hasPermission(Permissions.ACCOUNT_USER_READ),\n icon: Bullet,\n label: t('labels.admin_settings'),\n },\n {\n id: 'do-not-contact-list',\n to: '/settings/dnc-list',\n permission: hasPermission(Permissions.DNC_READ),\n icon: FileX,\n label: t('labels.do_not_contact_list'),\n },\n {\n id: 'whitelabel',\n to: '/settings/whitelabel',\n permission: hasPermission(Permissions.WHITELABEL_SHOW),\n icon: Brush,\n label: 'Whitelabel',\n },\n {\n id: 'billing',\n to: '/settings/billing',\n permission:\n hasPermission(Permissions.BILLING_SHOW) &&\n (isValueBasedPlan(planType) ||\n hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)),\n icon: Wallet,\n label: hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)\n ? t('labels.billing_and_subscription')\n : 'Plan details & billing',\n },\n ],\n };\n\n const renderNavItems = (navItems: SettingsNavItem[]) =>\n navItems\n .filter((item) => item.permission)\n .map((item) => (\n \n ));\n\n const renderSection = (settings: Settings, renderDivider = false) => {\n const navItems = renderNavItems(settings.navItems);\n if (navItems.length > 0) {\n return (\n <>\n {renderDivider &&
}\n \n {navItems}\n \n );\n }\n return null;\n };\n\n return (\n <>\n {renderSection(userSettings)}\n {renderSection(companySettings, true)}\n \n );\n};\n\nexport default SettingNavigation;\n","import history from '../../../shared/history';\n\nexport const getGlobalSettingsWrapperCustomClassName = (): string => {\n if (history?.location?.pathname?.includes('dnc-list')) {\n return 'p-0';\n }\n return '';\n};\n","import React from 'react';\nimport { Container, Row, Col } from 'react-bootstrap';\nimport { Redirect, Route, Switch } from 'react-router-dom';\nimport classNames from 'classnames';\nimport type { IProps } from './setting-container';\nimport SettingNavigation from './components/setting-navigation';\nimport hasPermission from '../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../shared/utils/access-control/enums/permissions';\nimport Suspense from '../../shared/components/suspense';\nimport ErrorBoundaryWrapper from '../../shared/components/error-boundary-wrapper';\nimport retryLazy from '../retry-lazy';\nimport { Routes } from '../../shared/routes';\nimport { GlobalSettings } from '../../shared/components/global-settings-wrapper';\nimport { getGlobalSettingsWrapperCustomClassName } from './helpers/helper';\nimport history from '../../shared/history';\n\nconst MyProfile = React.lazy(() =>\n retryLazy(() => import('./components/my-profile')),\n);\nconst UsersAndTeams = React.lazy(() =>\n retryLazy(() => import('./components/users-and-teams')),\n);\nconst Schedule = React.lazy(() =>\n retryLazy(() => import('./components/schedule')),\n);\nconst OutOfOffice = React.lazy(() =>\n retryLazy(() => import('./components/out-of-office')),\n);\nconst CustomField = React.lazy(() =>\n retryLazy(() => import('./components/custom-fields')),\n);\nconst CustomOutcome = React.lazy(() =>\n retryLazy(() => import('./components/custom-outcomes')),\n);\nconst CustomDomain = React.lazy(() =>\n retryLazy(() => import('./components/custom-domain')),\n);\nconst AdminSettings = React.lazy(() =>\n retryLazy(() => import('./components/admin-settings')),\n);\nconst BillingSubscription = React.lazy(() =>\n retryLazy(() => import('./components/billing-subscription')),\n);\nconst DoNotContactList = React.lazy(() =>\n retryLazy(() => import('./components/do-not-contact')),\n);\nconst Integrations = React.lazy(() =>\n retryLazy(() => import('./components/integrations')),\n);\nconst APITokens = React.lazy(() =>\n retryLazy(() => import('./components/api-tokens')),\n);\nconst Webhook = React.lazy(() =>\n retryLazy(() => import('./components/webhook')),\n);\nconst Whitelabel = React.lazy(() =>\n retryLazy(() => import('./components/whitelabel')),\n);\n\nconst Setting: React.FC = () => {\n const route = history?.location?.pathname;\n\n const settingsNavigationClassName = classNames([\n 'settings-navigation',\n {\n 'settings-navigation__hidden' : (route.includes(Routes.Setting_Billing_Upgrade_Lead_Finder_Plan) || route.includes(Routes.Setting_Billing_Upgrade_Email_Outreach_Plan)),\n }\n ]);\n\n const settingComponentsClassName = classNames([\n 'setting-components',\n {\n 'setting-components-nav-hidden' : (route.includes(Routes.Setting_Billing_Upgrade_Lead_Finder_Plan) || route.includes(Routes.Setting_Billing_Upgrade_Email_Outreach_Plan)),\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 {(hasPermission(Permissions.ACCOUNT_USER_READ) ||\n hasPermission(Permissions.TEAM_SHOW)) && (\n \n )}\n {hasPermission(Permissions.ACCOUNT_USER_READ) && (\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\nexport default Setting;\n","import { connect, ConnectedProps } from 'react-redux';\nimport Setting from './setting';\nimport { RootState } from '../../store/root-reducer';\n\nconst mapStateToProps = (state: RootState) => ({\n subscriptionDetails: state.home.subscription,\n pageHeaderBannerMessage: state.pageHeader.message,\n ctaURL: state.pageHeader.CTAUrl,\n ctaText: state.pageHeader.CTAText,\n target: state.pageHeader.target,\n role: state.home.role,\n});\n\nconst connector = connect(mapStateToProps);\n\nexport type IProps = ConnectedProps;\n\nexport default connector(Setting);\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps, withRouter } from 'react-router';\nimport { RootState } from '../../../../store/root-reducer';\nimport {\n getPollingNotificationsRequest,\n getUserNotificationsRequest,\n getUserUnreadNotificationsRequest,\n markNotificationsAsReadRequest,\n updateHiddenNotificationRequest,\n} from '../../extra-actions';\nimport Header from './header';\nimport {\n disableBulkActionRequestPolling,\n enableBulkActionRequestPolling,\n markNotificationAsRead,\n resetInitiateFetchUnreadCount,\n resetNotificationData,\n showGettingStartedVideoModal,\n startNotificationBlink,\n stopNotificationBlink,\n updateIsMultichannelActive,\n} from '../../home-slice';\nimport { SequenceIdRouteComponentProps } from '../../../sequence/types';\nimport { getMyProfileRequest } from '../../../settings/components/my-profile/extra-actions';\nimport {\n connectEmailAccountRequest,\n getSmtpImapAccountDetailsRequest,\n getEmailAccountsRequest,\n getEmailAccountRequest,\n} from '../../../email-accounts/extra-actions';\nimport { EmailAccountsFilters } from '../../../email-accounts/types/email-account';\nimport { EmailAccountMethod } from '../../../email-accounts/enums/email-account';\n\nimport { UpdateAdminSettingsRequestPayload } from '../../../settings/types/request-payload';\nimport { updateAdminSettingsRequest } from '../../../settings/components/admin-settings/extra-actions';\nimport { resetUpdateAdminSettings } from '../../../settings/components/admin-settings/admin-settings-slice';\n\nconst mapStateToProps = (state: RootState) => ({\n notifications: state.home.notifications,\n pollingNotifications: state?.home?.pollingNotifications,\n pageHeaderBannerMessage: state.pageHeader.message,\n subscriptionDetails: state.home.subscription,\n ctaURL: state.pageHeader.CTAUrl,\n ctaText: state.pageHeader.CTAText,\n bannerTextTwo: state.pageHeader.bannerMessageTwo,\n paymentActionType: state.pageHeader.paymentActionType,\n target: state.pageHeader.target,\n notificationCount: state.home.notificationCount,\n userProfile: state.myProfile.myProfile,\n getUserNotificationsRequestStatus:\n state.home.markNotificationsAsReadRequest.status,\n agencyConfig: state.home.agencyConfig,\n getUserNotificationsDataRequestStatus:\n state.home.getUserNotificationsRequest.status,\n unreadNotificationCount: state.home.unreadNotificationCount,\n trackingId: state.home.trackingId,\n planName: state.home.subscription?.planName,\n planType: state.home?.subscription?.planType,\n planCode: state.home?.subscription?.planCode,\n remainingProspectLimit: parseInt(\n state.home.getPostLoadMetaResponse?.accountUsageQuotaRemaining?.[\n 'PROSPECT.ADD'\n ],\n 10,\n ),\n remainingEmailSentLimit: parseInt(\n state.home.getPostLoadMetaResponse?.accountUsageQuotaRemaining?.[\n 'EMAIL.ADD'\n ],\n 10,\n ),\n\n meta: state.home.meta,\n client: state.home.client,\n firstName: state.home.adminDetails?.firstName,\n getUserSettingsRequestStatus: state.home.getUserSettingsRequest.status,\n leadFinderCredits:\n state?.home?.getPostLoadMetaResponse?.accountUsageQuotaRemaining?.[\n 'LEAD.REVEAL'\n ] ?? 0,\n\n getPostLoadMetaRequestStatus: state.home.getPostLoadMetaRequest.status,\n agencyConfigRequestStatus: state.home?.getAgencyConfigRequest.status,\n\n isMultichannelActive: state.home.isMultichannelActive,\n updateAdminSettingsRequestStatus:\n state.adminSettings.updateAdminSettingsRequest.status,\n updateAdminSettingsRequestError:\n state.adminSettings.updateAdminSettingsRequest.error,\n shouldBulkActionsPoll: state?.home?.shouldBulkActionsPoll || false,\n verified: state?.home?.verified || false,\n emailAccountSetupInProgress: state.emailAccount.emailAccountSetupInProgress,\n initiateFetchUnreadCount: state?.home?.initiateFetchUnreadCount || false,\n});\n\nconst mapDispatchToProps = {\n sendGetUserNotificationRequest: (page: number) =>\n getUserNotificationsRequest(page),\n sendGetPollingNotificationsRequest: (cancelToken: any) =>\n getPollingNotificationsRequest(cancelToken),\n sendUpdateHiddenNotificationRequest: (notificationId: string) =>\n updateHiddenNotificationRequest(notificationId),\n sendMarkNotificationAsReadRequest: (notificationId?: string) =>\n markNotificationsAsReadRequest(notificationId),\n markNotificationAsRead: (notificationId?: string) =>\n markNotificationAsRead({ notificationId }),\n sendGetProfileRequest: () => getMyProfileRequest(),\n sendGetUserUnreadNotification: () => getUserUnreadNotificationsRequest(),\n showGettingStartedVideoModal: (show: boolean) =>\n showGettingStartedVideoModal({ show }),\n resetNotificationData: () => resetNotificationData(),\n sendConnectEmailAccountRequest: (\n method: EmailAccountMethod,\n emailAccountId?: number,\n ) => connectEmailAccountRequest({ method, emailAccountId }),\n sendGetSmtpImapAccountDetailsRequest: (emailAccountId: number) =>\n getSmtpImapAccountDetailsRequest(emailAccountId),\n sendGetEmailAccountsRequest: (filters: EmailAccountsFilters) =>\n getEmailAccountsRequest(filters),\n sendGetEmailAccountRequest: (id: string | number) =>\n getEmailAccountRequest(id),\n\n sendUpdateAdminDetailsRequest: (payload: UpdateAdminSettingsRequestPayload) =>\n updateAdminSettingsRequest(payload),\n resetUpdateAdminSettings: () => resetUpdateAdminSettings(),\n updateIsMultichannelActive: () => updateIsMultichannelActive(),\n enableBulkActionRequestPolling: () => enableBulkActionRequestPolling(),\n disableBulkActionRequestPolling: () => disableBulkActionRequestPolling(),\n startNotificationBlink: () => startNotificationBlink(),\n stopNotificationBlink: () => stopNotificationBlink(),\n resetInitiateFetchUnreadCount: () => resetInitiateFetchUnreadCount(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps &\n RouteComponentProps &\n SequenceIdRouteComponentProps;\n\nexport default withRouter(connector(Header));\n","import { Permissions } from '../../../../shared/utils/access-control/enums/permissions';\nimport { SidebarNavItem } from './types';\n\nconst navItems = (): SidebarNavItem[] => [\n {\n eventKey: 'sequence',\n route: '/sequence',\n text: 'Sequences',\n tooltipText: 'Sequences',\n permission: Permissions.SEQUENCE_READ,\n },\n {\n eventKey: 'tasks',\n route: '/tasks',\n text: 'Tasks',\n tooltipText: 'Tasks',\n permission: Permissions.TASK_READ,\n },\n {\n eventKey: 'unifiedInbox',\n route: '/conversations',\n text: 'Unified Inbox',\n tooltipText: 'Unified Inbox',\n permission: Permissions.UNIFIED_INBOX_READ,\n },\n {\n eventKey: 'agency-client',\n route: '/clients',\n text: 'Client Management',\n tooltipText: 'Client Management',\n permission: Permissions.CLIENT_READ,\n },\n {\n eventKey: 'leads',\n route: '/leads',\n text: 'Lead Finder',\n tooltipText: 'Lead Finder',\n permission: Permissions.LEAD_FINDER_READ,\n },\n {\n eventKey: 'prospects',\n route: '/prospects',\n text: 'Prospects',\n tooltipText: 'Prospects',\n permission: Permissions.PROSPECT_READ,\n },\n {\n eventKey: 'email-accounts',\n route: '/email-accounts',\n text: 'Email Accounts',\n tooltipText: 'Email Accounts',\n permission: Permissions.EMAIL_ACCOUNT_READ,\n hasDomains: true,\n },\n {\n eventKey: 'templates',\n route: '/templates',\n text: 'Templates',\n tooltipText: 'Templates',\n permission: Permissions.TEMPLATE_READ,\n },\n {\n eventKey: 'reports',\n route: '/reports',\n text: 'Analytics',\n tooltipText: 'Analytics',\n permission: Permissions.REPORT_READ,\n },\n {\n eventKey: 'setting',\n route: '/settings',\n text: 'Settings',\n tooltipText: 'Settings',\n permission: Permissions.SETTING_READ,\n },\n];\n\nconst navItemsBottom = [\n {\n eventKey: 'referral',\n route: '',\n text: 'Refer A Friend',\n tooltipText: 'Refer A Friend',\n permission: Permissions.REFER_TAB_SHOW,\n },\n {\n eventKey: 'warmup',\n route: '/warmup',\n text: 'Email Warm-up',\n tooltipText: 'Email Warm-up',\n permission: Permissions.EMAIL_WARMUP_READ,\n },\n {\n eventKey: 'email-insights',\n route: '/email-insights',\n text: '1:1 Email Insights',\n tooltipText: '1:1 Email Insights',\n permission: Permissions.MAILBOX_EMAIL_READ,\n },\n {\n eventKey: 'growthHub',\n route: '/growth-hub',\n text: 'Growth Hub',\n tooltipText: 'Growth Hub',\n permission: Permissions.GROWTH_HUB_TAB_SHOW,\n },\n {\n eventKey: 'agency-client',\n route: '/clients',\n text: 'Client Management',\n tooltipText: 'Client Management',\n permission: Permissions.CLIENT_READ,\n },\n];\n\nexport { navItems, navItemsBottom };\n","import React from 'react';\nimport {\n Gift,\n Inbox,\n UserList,\n FileText,\n Book,\n Briefcase,\n PaperPlane,\n MailCheck,\n Flame,\n Gear,\n Search,\n Dots,\n Checkbox,\n ChartBar,\n Mail,\n} from '@saleshandy/icons';\n\nexport const getNavItemIcon = (eventKey: string) => {\n if (eventKey === 'referral') {\n return ;\n }\n if (eventKey === 'sequence') {\n return ;\n }\n if (eventKey === 'tasks') {\n return ;\n }\n if (eventKey === 'agency-client') {\n return ;\n }\n if (eventKey === 'unifiedInbox') {\n return ;\n }\n if (eventKey === 'prospects') {\n return ;\n }\n if (eventKey === 'email-accounts') {\n return ;\n }\n if (eventKey === 'email-insights') {\n return ;\n }\n if (eventKey === 'warmup') {\n return ;\n }\n if (eventKey === 'templates') {\n return ;\n }\n if (eventKey === 'reports') {\n return ;\n }\n if (eventKey === 'growthHub') {\n return ;\n }\n if (eventKey === 'agencyPortal') {\n return ;\n }\n if (eventKey === 'setting') {\n return ;\n }\n if (eventKey === 'cold-email-masterclass') {\n return ;\n }\n if (eventKey === 'leads') {\n return ;\n }\n if (eventKey === 'threeDot') {\n return ;\n }\n if (eventKey === 'Refer') {\n return ;\n }\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { Link, useHistory } from 'react-router-dom';\n\nimport {\n OverlayTooltip,\n Placement,\n} from '../../../../shared/design-system/components/overlay';\nimport { ProductTour } from '../../../../shared/enums/product-tour';\nimport { getNavItemIcon } from './get-nav-item-icon';\nimport hasPermission from '../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../shared/utils/access-control/enums/permissions';\n\nconst NavItem = ({\n eventKey,\n route,\n text,\n tooltipText,\n count,\n hasVisitedAgencyPortal,\n hasDomains = false,\n}) => {\n const history = useHistory();\n\n const navItemClassName = classNames([\n 'sidenav__item',\n {\n active:\n eventKey !== 'referral'\n ? history.location.pathname.startsWith(route)\n : false,\n },\n ]);\n\n const badgeClassName = classNames([\n 'sidenav__badge',\n {\n sm: count < 10,\n md: count >= 10 && count < 100,\n lg: count >= 100,\n },\n ]);\n\n const dotBadgeClassName = classNames(['sidenav__dot-badge']);\n\n const badge = (\n
\n {count < 100 ? count : '99+'}\n
\n );\n\n const getNavItemId = () => {\n if (eventKey === 'sequence') {\n return ProductTour.NavigateToSequences;\n }\n if (eventKey === 'leads') {\n return ProductTour.NavigateToLeadFinder;\n }\n\n return null;\n };\n\n const dotBadge =
;\n\n const shouldShowBadgeForUnifiedInbox =\n eventKey === 'unifiedInbox' && count > 0;\n\n const shouldShowBadgeForAgencyPortal =\n eventKey === 'agencyPortal' && !hasVisitedAgencyPortal;\n\n const navItem = (\n
  • \n {eventKey !== 'email-accounts' && (\n
    \n {getNavItemIcon(eventKey)}\n {shouldShowBadgeForUnifiedInbox && badge}\n {shouldShowBadgeForAgencyPortal && dotBadge}\n
    \n )}\n\n
    {text}
    \n {eventKey === 'email-accounts' && (\n
    \n
    \n {getNavItemIcon(eventKey)}\n {shouldShowBadgeForUnifiedInbox && badge}\n {shouldShowBadgeForAgencyPortal && dotBadge}\n
    \n {hasPermission(Permissions.DOMAIN_READ) && hasDomains && (\n
    \n
    \n \n Email Accounts\n \n \n Domains\n \n
    \n
    \n )}\n
    \n )}\n
  • \n );\n\n if (route === '') {\n return (\n // eslint-disable-next-line jsx-a11y/anchor-is-valid\n \n {!hasDomains && (\n \n
  • \n
    {navItem}
    \n
  • \n \n )}\n {hasDomains &&
  • {navItem}
  • }\n
    \n );\n }\n\n return (\n \n {!hasDomains && (\n \n {navItem}\n \n )}\n {hasDomains && navItem}\n \n );\n};\n\nexport default NavItem;\n","import React from 'react';\nimport classNames from 'classnames';\nimport { Link, useHistory } from 'react-router-dom';\nimport { ProductTour } from '../../../../shared/enums/product-tour';\nimport { getNavItemIcon } from './get-nav-item-icon';\n\nconst DropDownNavItem = ({ eventKey, route, text }) => {\n const history = useHistory();\n\n const navItemClassName = classNames([\n 'sidenav__item sidenav__dropdown__item d-flex w-100 align-items-center justify-content-start border-2',\n {\n active:\n eventKey !== 'referral'\n ? history.location.pathname.startsWith(route)\n : false,\n },\n ]);\n\n const getNavItemId = () => {\n if (eventKey === 'sequence') {\n return ProductTour.NavigateToSequences;\n }\n if (eventKey === 'leads') {\n return ProductTour.NavigateToLeadFinder;\n }\n\n return null;\n };\n\n const navItem = (\n
  • \n
    {getNavItemIcon(eventKey)}
    \n
    {text}
    \n
  • \n );\n\n if (eventKey === 'referral') {\n return (\n
    \n {navItem}\n
    \n );\n }\n\n return (\n \n {navItem}\n \n );\n};\n\nexport default DropDownNavItem;\n","import React from 'react';\nimport type { IProps } from './logo-secondary-container';\n\nconst LogoSecondary: React.FC = ({ agencyConfig }) => {\n if (agencyConfig?.icon) {\n return (\n
    \n {!!agencyConfig?.icon && \"Logo\"}\n
    \n );\n }\n\n if (agencyConfig?.logo?.secondary !== '') {\n return (\n
    \n \"Logo\"\n
    \n );\n }\n\n return null;\n};\n\nexport default LogoSecondary;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../store/root-reducer';\nimport LogoSecondary from './logo-secondary';\n\nconst mapStateToProps = (state: RootState) => ({\n agencyConfig: state.home.agencyConfig,\n});\n\nconst mapDispatchToProps = {};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps;\n\nexport default connector(LogoSecondary);\n","import React, { useEffect, useMemo, useState } from 'react';\nimport { Link } from 'react-router-dom';\nimport classNames from 'classnames';\nimport { Dots } from '@saleshandy/icons';\n\nimport * as Icons from '../../../../shared/svg';\nimport { UNREAD_MAX_LIMIT, IProps, SidebarNavItem } from './types';\n\nimport { navItems, navItemsBottom } from './nav-items';\nimport NavItem from './nav-item';\nimport DropDownNavItem from './dropdown-nav-item';\nimport HelpscoutButton from '../../../../shared/components/helpscout-button';\nimport LogoSecondary from '../../../../shared/components/logo-secondary';\nimport hasPermission from '../../../../shared/utils/access-control/has-permission';\nimport history from '../../../../shared/history';\nimport { Permissions } from '../../../../shared/utils/access-control/enums/permissions';\nimport { getHasVisitedAgencyPortal } from '../../../agency-portal/helper';\nimport { getIsRequestPending } from '../../../../shared/utils';\nimport useBaseRoute from '../../../../shared/hooks/use-base-route';\nimport { Routes } from '../../../../shared/routes'; \n\nconst SideNavbar: React.FC = ({\n agencyConfig,\n planCode,\n unreadEmailThreadsCount,\n hasVisitedAgencyPortal,\n handleHasVisitedAgencyPortal,\n sendGetUnreadEmailThreadsCountRequest,\n isAgency,\n agencyConfigRequestStatus,\n hasDomains,\n isMultichannelActive,\n}) => {\n const route = history.location.pathname;\n const { baseRoute, isBase } = useBaseRoute(route);\n\n const [bottomMoreMenu, setBottomMoreMenu] = useState([\n ...navItemsBottom,\n ]);\n const [topNavItems, setTotalNavItems] = useState([\n ...navItems(),\n ]);\n\n const [bottomMoreMenuButton, setBottomMoreMenuButton] = useState(false);\n const sideNavClassName = classNames([\n 'bs-sidenav-container',\n 'sidenav',\n 'sidenav--collapse',\n {\n 'sidenav__hidden' : (route.includes(Routes.Setting_Billing_Upgrade_Lead_Finder_Plan) || route.includes(\n Routes.Setting_Billing_Upgrade_Email_Outreach_Plan,\n )),\n },\n ]);\n\n const renderLogo = () => {\n if (\n getIsRequestPending(agencyConfigRequestStatus) ||\n (agencyConfig && agencyConfig?.isLocallyCached)\n ) {\n return null;\n }\n\n if (\n !agencyConfig?.icon &&\n window.location.origin === process.env.REACT_APP_BASE_URL\n ) {\n return ;\n }\n return ;\n };\n\n useEffect(() => {}, [agencyConfigRequestStatus]);\n\n useEffect(() => {\n if (\n planCode &&\n hasPermission(Permissions.UNIFIED_INBOX_READ) &&\n unreadEmailThreadsCount < UNREAD_MAX_LIMIT &&\n isBase\n ) {\n sendGetUnreadEmailThreadsCountRequest({\n shouldCalculateFilterCount: false,\n });\n }\n\n const hasVisitedAgencyPortalInLS = getHasVisitedAgencyPortal() === 'true';\n\n handleHasVisitedAgencyPortal(hasVisitedAgencyPortalInLS);\n }, [baseRoute, isBase]);\n\n const handlerFunctionForSidenav = (height: number) => {\n const { length } = navItems();\n\n switch (true) {\n case height < 387:\n setBottomMoreMenuButton(true);\n setBottomMoreMenu([\n ...navItems().slice(length - 4, length),\n ...bottomMoreMenu,\n ]);\n setTotalNavItems(navItems().slice(0, length - 4));\n break;\n\n case height < 433:\n setBottomMoreMenu([\n ...navItems().slice(length - 3, length),\n ...bottomMoreMenu,\n ]);\n setTotalNavItems(navItems().slice(0, length - 3));\n break;\n\n case height < 484:\n setBottomMoreMenu([\n ...navItems().slice(length - 2, length),\n ...bottomMoreMenu,\n ]);\n setTotalNavItems(navItems().slice(0, length - 2));\n break;\n\n case height < 530:\n setBottomMoreMenu([\n ...navItems().slice(length - 1, length),\n ...bottomMoreMenu,\n ]);\n setTotalNavItems(navItems().slice(0, length - 1));\n break;\n\n case height < 576:\n setBottomMoreMenuButton(true);\n setBottomMoreMenu([...bottomMoreMenu]);\n setTotalNavItems(navItems());\n break;\n\n case height > 624:\n setTotalNavItems(navItems());\n setBottomMoreMenuButton(false);\n break;\n\n default:\n break;\n }\n };\n const handleSidenavScalling = (e: any) => {\n if (e?.currentTarget?.innerHeight < 624) {\n setBottomMoreMenuButton(true);\n }\n\n handlerFunctionForSidenav(e?.currentTarget?.innerHeight);\n };\n\n const isTopNavRendered = (navItem, isMultichannelActiveValue) => {\n if (navItem.eventKey === 'agency-client' && !isAgency) {\n return false;\n }\n if (\n navItem.eventKey === 'tasks' &&\n (!isMultichannelActiveValue || !hasPermission(navItem.permission))\n ) {\n return false;\n }\n\n return navItem.permission && hasPermission(navItem.permission);\n };\n\n const isBottomNavRendered = (navItem) => {\n if (navItem.eventKey === 'agency-client' && isAgency) {\n return false;\n }\n\n return navItem.permission && hasPermission(navItem.permission);\n };\n\n useEffect(() => {\n if (window.innerHeight <= 644) {\n setBottomMoreMenuButton(true);\n }\n\n handlerFunctionForSidenav(window.innerHeight);\n\n window.addEventListener('resize', (e) => handleSidenavScalling(e));\n\n return window.removeEventListener('resize', (e) =>\n handleSidenavScalling(e),\n );\n }, []);\n\n const isAnyBottomNavMenuVisible = useMemo(\n () => navItemsBottom.some((navItem) => isBottomNavRendered(navItem)),\n [navItemsBottom],\n );\n\n return (\n
    \n
    \n {renderLogo()}\n
    \n\n
      \n {topNavItems.map(\n (navItem) =>\n isTopNavRendered(navItem, isMultichannelActive) && (\n \n ),\n )}\n
    \n\n
      \n {(isAnyBottomNavMenuVisible ||\n hasPermission(Permissions.CHAT_SUPPORT_SHOW)) && (\n
      \n )}\n {navItemsBottom.map(\n (navItem) =>\n !bottomMoreMenuButton &&\n isBottomNavRendered(navItem) && (\n \n ),\n )}\n\n {bottomMoreMenuButton && (\n \n \n
      \n \n
      \n\n
      \n
      \n {bottomMoreMenu.map(\n (navItem) =>\n isBottomNavRendered(navItem) && (\n \n ),\n )}\n
      \n
      \n \n
    \n )}\n {hasPermission(Permissions.CHAT_SUPPORT_SHOW) &&\n !document.referrer.includes('apus.saleshandy') && }\n \n
    \n );\n};\n\nexport default SideNavbar;\n","export type SidebarNavItem = {\n eventKey: string;\n route: string;\n text: string;\n permission: string;\n tooltipText: string;\n isDisabled?: boolean;\n hasDomains?: boolean;\n};\n\nexport type IState = {\n expandSidebar: boolean;\n};\n\nexport const UNREAD_MAX_LIMIT = 200;\n\n// eslint-disable-next-line import/no-cycle\nexport type { IProps } from './sidenavbar-container';\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps, withRouter } from 'react-router';\nimport { RootState } from '../../../../store/root-reducer';\nimport { getUnreadEmailThreadsCountRequest } from '../../extra-actions';\n\nimport SideNavbar from './sidenavbar';\nimport { updateApplicationState } from '../../home-slice';\nimport { UnreadEmailThreadsCountPayload } from '../../types';\n\nconst mapStateToProps = (state: RootState) => ({\n agencyConfig: state.home.agencyConfig,\n agencyConfigRequestStatus: state.home.getAgencyConfigRequest.status,\n\n planCode: state.home.subscription?.planCode,\n\n unreadEmailThreadsCount: state.home.unreadEmailThreadsCount,\n\n hasVisitedAgencyPortal: state.home.application.hasVisitedAgencyPortal,\n isAgency: parseInt(state.home.isAgency, 10),\n hasDomains: state.home.hasDomains,\n\n isMultichannelActive: state.home.isMultichannelActive,\n});\n\nconst mapDispatchToProps = {\n sendGetUnreadEmailThreadsCountRequest: (\n payload: UnreadEmailThreadsCountPayload,\n ) => getUnreadEmailThreadsCountRequest(payload),\n handleHasVisitedAgencyPortal: (hasVisitedAgencyPortal: boolean) =>\n updateApplicationState({ hasVisitedAgencyPortal }),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & RouteComponentProps;\n\nexport default withRouter(connector(SideNavbar));\n","/* eslint-disable no-nested-ternary */\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { AlertCircle } from '@saleshandy/icons';\nimport { IProps } from './type';\nimport Modal from '../../../../../../shared/design-system/components/atoms/modal';\n\nconst SessionExpireModal: React.FC = ({\n show,\n onHide,\n onSubmit,\n isLoading,\n submitButtonText,\n showCloseIcon,\n}) => {\n const { t } = useTranslation();\n\n return (\n \n
    \n
    \n \n Session Expired \n
    \n
    \n \n Your session has expired. To continue using our services, please log\n in again.\n \n
    \n
    \n \n );\n};\n\nexport default SessionExpireModal;\n","/* eslint-disable consistent-return */\nimport classNames from 'classnames';\nimport { isEmpty } from 'lodash';\nimport React from 'react';\nimport { Container, Row, ThemeProvider } from 'react-bootstrap';\nimport { Switch } from 'react-router-dom';\nimport BlockPage from '../../shared/components/block-page';\nimport ConfigRoute from '../../shared/components/config-route';\nimport HelmetIcon from '../../shared/components/helmet-icon';\nimport { RequestStatus } from '../../shared/enums/request-status';\nimport {\n OnboardingSteps,\n ProfileProgressSteps,\n UserSettingCode,\n} from '../../shared/types/user-setting';\nimport {\n AuthHelper,\n getIsRequestSucceeded,\n setSessionExpireHandler,\n} from '../../shared/utils';\nimport { Permissions } from '../../shared/utils/access-control/enums/permissions';\nimport hasPermission from '../../shared/utils/access-control/has-permission';\nimport { planError } from '../../shared/utils/errors/plan-permission-error/plan-error';\nimport {\n executeOnErrorWithErrorCheck,\n executeOnRequestStatusWithPrevStatusCheck,\n} from '../../shared/utils/execute-on-request-status';\nimport { handleOnboarding } from '../../shared/utils/handle-onboarding-routing';\nimport {\n destroyChatSupport,\n initializeIntercom,\n} from '../../shared/utils/helpscout-handlers';\nimport { initializeCello } from '../../shared/utils/initialize-third-party-integrations';\nimport hasResource from '../../shared/utils/access-control/has-resource';\nimport { ResourceIdentifiers } from '../../shared/utils/access-control/enums/resource-identifiers';\nimport { getNewSequenceName } from '../sequence/components/sequence-list/helper';\nimport HelpscoutBeaconEvents from '../../shared/enums/helpscout-beacon-events';\nimport { Source } from '../../shared/enums/source';\nimport ErrorBoundaryWrapper from '../../shared/components/error-boundary-wrapper';\nimport { PaymentActionType } from '../../shared/design-system/components/atoms/banner/banner';\nimport toaster, { Theme } from '../../shared/toaster';\nimport { TrialExtendSource } from '../../shared/enums/trial-extend-source';\nimport growthHub from '../growth-hub';\nimport AgencyPortal from '../agency-portal';\nimport OnboardingModal from '../../shared/components/onboarding-modal';\nimport Alert from '../../shared/design-system/components/alert';\nimport { accessibleOnClick } from '../../shared/utils/accessible-on-click';\nimport VerifyEmailCallback from '../auth/components/verify-email-callback';\nimport { openIntercomHome } from '../../shared/utils/open-chat-support';\nimport Tasks from '../tasks';\nimport { PageHeaderAlertTypes } from '../../shared/utils/page-header-alert-types';\nimport {\n redirectWithRefresh,\n redirectWithoutRefresh,\n} from '../../shared/utils/redirect';\nimport { SubscriptionPlans } from '../../shared/utils/subscription-plans';\nimport EmailWarmup from '../email-warmup';\nimport leads from '../leads';\nimport MailboxEmails from '../mailbox-emails';\nimport Prospect from '../prospect';\nimport Reports from '../reports';\nimport Sequence from '../sequence';\nimport { getIsRequestPending } from '../sequence/helpers/helper';\nimport Setting from '../settings';\nimport Templates from '../templates';\nimport UnifiedInbox from '../unified-inbox';\nimport Header from './components/header';\nimport SideNavbar from './components/sidenavbar';\nimport WatchVideoModal from './components/watch-video-modal';\nimport type { IProps, IState } from './home-container';\nimport { isPlanDowngraded } from './utils/plan-transition';\nimport AgencyClient from '../agency-client-management/agency-client';\nimport { storeUserEmail } from './utils/helper';\nimport { isWhitelabelWithoutClientView } from '../../shared/utils/user-details';\nimport { getCurrentRoute } from '../../shared/utils/get-current-route';\nimport {\n initializeCustomScript,\n removeCustomScript,\n} from '../../shared/utils/initialize-custom-script';\nimport SessionExpireModal from './components/header/components/session-expire-modal';\nimport {\n clearAgencyClientRedirectURLOnLogout,\n getAgencyClientRedirectURLOnLogout,\n} from '../auth/components/agency-client-login/helper';\nimport EmailAccounts from '../email-accounts';\nimport Domains from '../domains';\nimport { Routes } from '../../shared/routes';\n\nclass Home extends React.Component {\n // private unlisten;\n\n private originalFavicon: null;\n\n constructor(props) {\n super(props);\n\n this.state = {\n ...this.state,\n showWatchVideoModal: false,\n showGettingStarted: false,\n showHelpscoutWelcomeMessage: false,\n isViewSequenceBtnClicked: false,\n showOnboardingModal: false,\n willRedirectToLeadFinder: false,\n sessionExpire: false,\n };\n this.originalFavicon = null;\n\n this.updateWatchVideoProfileProgressStep = this.updateWatchVideoProfileProgressStep.bind(\n this,\n );\n this.updateConnectEmailProfileProgressStep = this.updateConnectEmailProfileProgressStep.bind(\n this,\n );\n this.showHideWatchVideoModal = this.showHideWatchVideoModal.bind(this);\n this.showHideGettingStarted = this.showHideGettingStarted.bind(this);\n this.showHideHelpscoutWelcomeMessage = this.showHideHelpscoutWelcomeMessage.bind(\n this,\n );\n this.showHideOnboardingModal = this.showHideOnboardingModal.bind(this);\n this.createSequence = this.createSequence.bind(this);\n this.handleHelpscoutWelcomeMessage = this.handleHelpscoutWelcomeMessage.bind(\n this,\n );\n this.onViewSampleSequence = this.onViewSampleSequence.bind(this);\n this.initializeHelpScoutChatSupport = this.initializeHelpScoutChatSupport.bind(\n this,\n );\n this.initializeCelloReferral = this.initializeCelloReferral.bind(this);\n this.handleSendVerificationLinkRequest = this.handleSendVerificationLinkRequest.bind(\n this,\n );\n // this.unlisten = React.createRef();\n }\n\n // eslint-disable-next-line react/sort-comp\n redirectSpamUrl = () => {\n window.open(\n 'https://docs.saleshandy.com/en/articles/8743773-troubleshooting-didn-t-receive-your-verification-email',\n '_blank',\n );\n };\n\n componentDidMount() {\n const {\n sendGetUserSettingsRequest,\n sendGetAgencyConfigRequest,\n email,\n location,\n sendCompareAuthTokenRequest,\n getMyProfileRequestStatus,\n } = this.props;\n sendGetUserSettingsRequest();\n\n if (getMyProfileRequestStatus === RequestStatus.Succeeded) {\n const agencyConfigPayload = {\n baseUrl: window.location.origin,\n email,\n };\n sendGetAgencyConfigRequest(agencyConfigPayload);\n }\n\n // Store the original favicon URL\n const originalFavicon: any = document.querySelector(\"link[rel*='icon']\");\n if (originalFavicon) {\n this.originalFavicon = originalFavicon.href;\n }\n\n // this.unlisten.current = history.listen((locationParam) => {\n // if (isPlanDowngraded(this.getPlanTransitionDetails())) {\n // if (\n // !hasRedirectToBlockPage(locationParam.pathname) &&\n // locationParam.pathname !== '/login' &&\n // locationParam.pathname !== '/signup' &&\n // history.location.pathname !== '/block'\n // ) {\n // history.push('/block');\n // }\n // }\n // });\n\n const params = new URLSearchParams(location.search);\n\n const authToken = params.get('authToken');\n\n if (authToken) {\n sendCompareAuthTokenRequest({\n authToken,\n });\n }\n\n setSessionExpireHandler(this.handleSessionExpire);\n }\n\n componentDidUpdate(prevProps) {\n const {\n sendGetUserSettingsRequest,\n sendGetPostLoadMetaRequest,\n getUserSettingsRequestStatus,\n getSampleSequenceRequestStatus,\n updateProfileProgressRequestStatus,\n location,\n createSequenceFromGettingStartedRequestStatus,\n gettingStatedCreatedSequenceId,\n hasUserConnectedEmailAccount,\n handleHasUserConnectedEmailAccount,\n compareAuthTokenRequestStatus,\n shouldLogoutUser,\n resetCompareAuthTokenRequest,\n history,\n agencyConfig,\n sendGetAgencyConfigRequest,\n shAccountId,\n email,\n client,\n extendTrialPeriodRequestStatus,\n extendTrialPeriodRequestMessage,\n onBoardingRequestStatus,\n onBoardingRequestError,\n resendVerificationEmailRequestStatus,\n resendVerificationEmailRequestError,\n outcomeChangeRequestStatus,\n outcomeChangeRequestMessage,\n getAgencyConfigRequestStatus,\n isGettingStartedVideoModalShow,\n } = this.props;\n\n if (prevProps.email !== email) {\n const agencyConfigPayload = {\n baseUrl: window.location.origin,\n email,\n };\n\n sendGetAgencyConfigRequest(agencyConfigPayload);\n }\n\n this.initializeHelpScoutChatSupport();\n\n const { isViewSequenceBtnClicked } = this.state;\n\n executeOnRequestStatusWithPrevStatusCheck({\n status: getUserSettingsRequestStatus,\n prevStatus: prevProps.getUserSettingsRequestStatus,\n onSuccess: () => {\n const { willRedirectToLeadFinder } = this.state;\n\n storeUserEmail();\n sendGetPostLoadMetaRequest();\n // this.redirectToBlankPage();\n this.onCompleteOnboardingProcess();\n this.checkPaymentPendingBanner();\n\n const customScriptForAgency = document.getElementById(\n 'custom-script-for-agency',\n );\n if (\n shAccountId === 70803 &&\n client &&\n !isEmpty(client) &&\n !customScriptForAgency\n ) {\n initializeCustomScript();\n }\n\n if (willRedirectToLeadFinder) {\n return redirectWithoutRefresh('/leads');\n }\n\n if (hasUserConnectedEmailAccount) {\n this.updateConnectEmailProfileProgressStep();\n }\n\n const params = new URLSearchParams(location.search);\n const action = params.get('action');\n\n if (action === 'extendTrial') {\n this.onTrialExtended();\n }\n },\n });\n\n executeOnRequestStatusWithPrevStatusCheck({\n status: outcomeChangeRequestStatus,\n prevStatus: prevProps.outcomeChangeRequestStatus,\n onSuccess: () => {\n toaster.success('Prospect outcome updated successfully', {\n theme: Theme.New,\n });\n },\n onFailed: () => {\n toaster.error(outcomeChangeRequestMessage, {\n theme: Theme.New,\n });\n },\n });\n\n executeOnRequestStatusWithPrevStatusCheck({\n status: updateProfileProgressRequestStatus,\n prevStatus: prevProps.updateProfileProgressRequestStatus,\n onSuccess: () => {\n sendGetUserSettingsRequest();\n if (hasUserConnectedEmailAccount) {\n handleHasUserConnectedEmailAccount(false);\n }\n },\n });\n\n executeOnRequestStatusWithPrevStatusCheck({\n status: resendVerificationEmailRequestStatus,\n prevStatus: prevProps.resendVerificationEmailRequestStatus,\n onSuccess: () => {\n toaster.success('Email resent successfully.', {\n theme: Theme.New,\n });\n },\n onFailed: () => {\n executeOnErrorWithErrorCheck({\n error: resendVerificationEmailRequestError,\n onError: () => {\n toaster.error(resendVerificationEmailRequestError.message, {\n theme: Theme.New,\n });\n },\n });\n },\n });\n\n executeOnRequestStatusWithPrevStatusCheck({\n status: getAgencyConfigRequestStatus,\n prevStatus: prevProps.getAgencyConfigRequestStatus,\n });\n\n if (agencyConfig?.colorPalette) {\n // Create Instance of the document element\n const documentInstance = document.documentElement;\n\n // Loop through the 'colorPalette' object\n Object.keys(agencyConfig.colorPalette).forEach((color) => {\n // Set CSS variables\n documentInstance.style.setProperty(\n `--${color}`,\n agencyConfig.colorPalette[color],\n );\n });\n }\n\n // Change the favicon\n\n executeOnRequestStatusWithPrevStatusCheck({\n status: createSequenceFromGettingStartedRequestStatus,\n prevStatus: prevProps.createSequenceFromGettingStartedRequestStatus,\n onSuccess: () => {\n redirectWithRefresh(\n `/sequence/${gettingStatedCreatedSequenceId}/steps`,\n );\n this.showHideWatchVideoModal(false);\n this.handleHelpscoutWelcomeMessage();\n },\n });\n\n executeOnRequestStatusWithPrevStatusCheck({\n status: getSampleSequenceRequestStatus,\n prevStatus: prevProps.getSampleSequenceRequestStatus,\n onSuccess: () => {\n if (isGettingStartedVideoModalShow && isViewSequenceBtnClicked) {\n this.onViewSampleSequence();\n }\n },\n });\n\n executeOnRequestStatusWithPrevStatusCheck({\n status: compareAuthTokenRequestStatus,\n prevStatus: prevProps.compareAuthTokenRequestStatus,\n onSuccess: () => {\n const params = new URLSearchParams(location.search);\n params.delete('authToken');\n if (shouldLogoutUser) {\n this.handleSessionExpire();\n } else {\n history.push(location.pathname);\n }\n resetCompareAuthTokenRequest();\n },\n });\n\n executeOnRequestStatusWithPrevStatusCheck({\n status: extendTrialPeriodRequestStatus,\n prevStatus: prevProps.extendTrialPeriodRequestStatus,\n onSuccess: () => {\n toaster.success('Trial has been extended successfully', {\n theme: Theme.New,\n });\n\n redirectWithRefresh('/sequence');\n },\n onFailed: () => {\n if (extendTrialPeriodRequestMessage) {\n toaster.error(extendTrialPeriodRequestMessage, {\n theme: Theme.New,\n });\n }\n },\n });\n\n executeOnRequestStatusWithPrevStatusCheck({\n status: onBoardingRequestStatus,\n prevStatus: prevProps.onBoardingRequestStatus,\n onSuccess: () => {\n const { willRedirectToLeadFinder } = this.state;\n\n this.showHideOnboardingModal(false);\n sendGetUserSettingsRequest();\n\n const searchParam = new URLSearchParams('');\n searchParam.set('onboarding', 'completed');\n\n if (willRedirectToLeadFinder) {\n redirectWithoutRefresh('/leads');\n } else {\n history.push({\n search: searchParam.toString(),\n });\n }\n },\n onFailed: () => {\n executeOnErrorWithErrorCheck({\n error: onBoardingRequestError,\n onError: () => {\n toaster.error(onBoardingRequestError.message, {\n theme: Theme.New,\n });\n },\n });\n },\n });\n\n if (window.Intercom) {\n window.Intercom('event', {\n type: HelpscoutBeaconEvents.PAGE_VIEWED,\n url: document.location.href,\n title: document.title,\n });\n window.Intercom(HelpscoutBeaconEvents.SUGGEST);\n }\n this.initializeCelloReferral();\n }\n\n componentWillUnmount() {\n // this.unlisten.current();\n\n destroyChatSupport();\n removeCustomScript();\n }\n\n onViewSampleSequence() {\n const {\n sampleSequence,\n sendGetSampleSequenceRequest,\n isMemberAccount,\n sendFinishOnboardingRequest,\n } = this.props;\n\n if (this.isUserAlreadyInStepPage()) {\n this.showHideWatchVideoModal(false);\n return;\n }\n\n if (isMemberAccount) {\n sendFinishOnboardingRequest();\n }\n\n if (sampleSequence) {\n const sequenceId = sampleSequence?.id;\n this.showHideWatchVideoModal(false);\n redirectWithoutRefresh(`/sequence/${sequenceId}/steps`);\n setTimeout(() => {\n window.location.reload();\n }, 2000);\n } else {\n this.setState({ isViewSequenceBtnClicked: true });\n sendGetSampleSequenceRequest();\n }\n }\n\n onCompleteOnboardingProcess() {\n const {\n meta,\n sendFinishOnboardingRequest,\n handleHasSignUpCompleted,\n sendGetSampleSequenceRequest,\n location,\n history,\n isMemberAccount,\n } = this.props;\n const {\n showWatchVideoModal,\n showGettingStarted,\n willRedirectToLeadFinder,\n } = this.state;\n\n if (willRedirectToLeadFinder) {\n return;\n }\n\n if (!isEmpty(meta)) {\n const onboardingStep = meta.find(\n (setting) => setting.code === UserSettingCode.Onboarding,\n );\n\n if (onboardingStep?.value === OnboardingSteps.Step1) {\n if (isMemberAccount) {\n sendGetSampleSequenceRequest();\n // this.showHideWatchVideoModal(true);\n return;\n }\n\n this.showHideOnboardingModal(true);\n\n const currentPath = location.pathname + location.search;\n handleOnboarding(meta, currentPath, location.search);\n }\n\n if (onboardingStep?.value === OnboardingSteps.Step2) {\n sendFinishOnboardingRequest();\n handleHasSignUpCompleted(true);\n // this.showHideWatchVideoModal(true);\n this.showHideHelpscoutWelcomeMessage(true);\n\n const currentPath = location.pathname + location.search;\n handleOnboarding(meta, currentPath, 'videostarted');\n\n setTimeout(() => {\n history.push({\n search: '',\n });\n }, 2000);\n }\n\n const params = new URLSearchParams(location.search);\n if (\n params.get('redirect_to') === 'ltd-checkout' &&\n onboardingStep?.value === OnboardingSteps.Step0\n ) {\n history.push('/LTD-Checkout');\n }\n } else if (!showWatchVideoModal && !showGettingStarted) {\n this.showHideGettingStarted(true);\n }\n }\n\n onTrialExtended = () => {\n const {\n isEligibleToExtendTrial,\n sendExtendTrialPeriodRequest,\n } = this.props;\n\n if (isEligibleToExtendTrial) {\n sendExtendTrialPeriodRequest(TrialExtendSource.Email);\n }\n };\n\n getPlanTransitionDetails() {\n const { planTransitionDetails } = this.props;\n return planTransitionDetails;\n }\n\n updateWatchVideoProfileProgressStep = () => {\n const { profileProgress, updateProfileProgressRequest } = this.props;\n if (profileProgress) {\n const watchVideoStep = profileProgress.find(\n (step) =>\n step.profileProgressStep.stepName === ProfileProgressSteps.WatchVideo,\n );\n if (!watchVideoStep.isCompleted) {\n updateProfileProgressRequest({\n step: ProfileProgressSteps.WatchVideo,\n isCompleted: true,\n });\n }\n }\n };\n\n updateConnectEmailProfileProgressStep = () => {\n const { profileProgress, updateProfileProgressRequest } = this.props;\n if (profileProgress) {\n const connectEmailStep = profileProgress.find(\n (step) =>\n step.profileProgressStep.stepName ===\n ProfileProgressSteps.ConnectEmail,\n );\n if (!connectEmailStep.isCompleted) {\n updateProfileProgressRequest({\n step: ProfileProgressSteps.ConnectEmail,\n isCompleted: true,\n });\n }\n }\n };\n\n handleHelpscoutWelcomeMessage = () => {\n const { showHelpscoutWelcomeMessage } = this.state;\n\n window?.Beacon?.(\n 'show-message',\n process.env.REACT_APP_HELPSCOUT_ONBOARDING_MESSAGE_ID,\n {\n delay: 5000,\n force: showHelpscoutWelcomeMessage,\n },\n );\n setTimeout(() => {\n this.showHideHelpscoutWelcomeMessage(false);\n }, 6000);\n };\n\n initializeHelpScoutChatSupport = () => {\n const { subscriptionDetails, icpStatus, location } = this.props;\n\n if (\n (subscriptionDetails || icpStatus) &&\n hasPermission(Permissions.CHAT_SUPPORT_SHOW)\n ) {\n initializeIntercom();\n\n setTimeout(() => {\n const params = new URLSearchParams(location.search);\n const chatOpen = params.get('chatopen');\n if (chatOpen === 'true') {\n openIntercomHome();\n }\n }, 1000);\n }\n };\n\n initializeCelloReferral = () => {\n initializeCello();\n };\n\n handleSendVerificationLinkRequest() {\n const { resendVerificationEmailRequest, email } = this.props;\n\n resendVerificationEmailRequest(email);\n }\n\n checkPaymentPendingBanner() {\n const { subscriptionDetails, setPageHeaderBannerAlert, t } = this.props;\n\n if (subscriptionDetails?.paymentActionRequired) {\n if (hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)) {\n if (\n subscriptionDetails?.paymentActionType === PaymentActionType.Initial\n ) {\n setPageHeaderBannerAlert({\n bannerType: PageHeaderAlertTypes.PAYMENT_PENDING,\n paymentActionUrl: subscriptionDetails?.paymentActionUrl,\n bannerMessageOne: t('messages.initial_payment_pending_text_one'),\n bannerMessageTwo: t('messages.initial_payment_pending_text_two'),\n ctaText: t('labels.take_action_now_cta'),\n paymentActionType: subscriptionDetails?.paymentActionType,\n });\n } else {\n setPageHeaderBannerAlert({\n bannerType: PageHeaderAlertTypes.PAYMENT_PENDING,\n paymentActionUrl: subscriptionDetails?.paymentActionUrl,\n bannerMessageOne: t('messages.initial_payment_pending_text_one'),\n bannerMessageTwo: t('messages.recurring_payment_pending_text_two'),\n ctaText: t('labels.take_action_now_cta'),\n paymentActionType: subscriptionDetails?.paymentActionType,\n });\n }\n }\n } else {\n setPageHeaderBannerAlert({\n bannerType: PageHeaderAlertTypes.NONE,\n });\n }\n }\n\n redirectToBlankPage() {\n const { planTransitionDetails, history } = this.props;\n\n if (isPlanDowngraded(planTransitionDetails)) {\n history.push('/block');\n }\n }\n\n isUserAlreadyInStepPage() {\n const { sampleSequence, match } = this.props;\n const { params }: any = match;\n\n if (params) {\n return sampleSequence?.id === +params?.sequenceId;\n }\n\n return false;\n }\n\n showHideGettingStarted(value: boolean) {\n this.setState({ showGettingStarted: value });\n }\n\n showHideWatchVideoModal(value: boolean) {\n const { showGettingStartedVideoModal } = this.props;\n\n this.setState({ showWatchVideoModal: value });\n showGettingStartedVideoModal(false);\n }\n\n showHideHelpscoutWelcomeMessage(value: boolean) {\n this.setState({ showHelpscoutWelcomeMessage: value });\n }\n\n showHideOnboardingModal(value: boolean) {\n this.setState({ showOnboardingModal: value });\n }\n\n createSequence(source: Source) {\n const { sendCreateSequenceRequest } = this.props;\n if (!hasPermission(Permissions.SEQUENCE_WRITE)) {\n if (hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)) {\n planError(2002);\n } else {\n planError(3002);\n }\n } else if (!hasResource(ResourceIdentifiers.SEQUENCES_CREATE)) {\n this.showHideWatchVideoModal(false);\n } else {\n sendCreateSequenceRequest(getNewSequenceName(), source);\n }\n }\n\n handleSessionExpire = () => {\n this.setState({ sessionExpire: true });\n };\n\n handleSessionExpireLogin = () => {\n const { location } = this.props;\n\n this.setState({ sessionExpire: false });\n\n AuthHelper.logout({\n fallbackTo: location,\n redirect: true,\n pathName: getAgencyClientRedirectURLOnLogout() || '/login',\n });\n\n const interval = setInterval(() => {\n clearAgencyClientRedirectURLOnLogout();\n clearInterval(interval);\n }, 1000);\n };\n\n render() {\n const {\n getUserSettingsRequestStatus,\n meta,\n subscriptionDetails,\n firstName,\n agencyConfig,\n isGettingStartedVideoModalShow,\n getSampleSequenceRequestStatus,\n createSequenceFromGettingStartedRequestStatus,\n sendOnboardingRequest,\n verified,\n onBoardingRequestStatus,\n trackingId,\n userId,\n history,\n isMemberAccount,\n sendFinishOnboardingRequest,\n getAgencyConfigRequestStatus,\n pageHeaderBannerMessage,\n } = this.props;\n\n const {\n userSubscriptionPlan,\n showOnboardingModal,\n showWatchVideoModal,\n sessionExpire,\n } = this.state;\n\n const location = history?.location;\n const isLoading =\n getUserSettingsRequestStatus === RequestStatus.Pending ||\n getUserSettingsRequestStatus === RequestStatus.Ideal;\n\n if (isLoading && isEmpty(meta) && !subscriptionDetails) {\n return null;\n }\n\n // Classes\n const homeContainerClass = classNames([\n {\n 'home-container': userSubscriptionPlan !== SubscriptionPlans.FREE,\n },\n {\n 'home-container show-alert':\n userSubscriptionPlan === SubscriptionPlans.FREE,\n },\n {\n 'home-container-sidenav-hidden': (location?.pathname?.includes(Routes.Setting_Billing_Upgrade_Lead_Finder_Plan) || location?.pathname?.includes(\n Routes.Setting_Billing_Upgrade_Email_Outreach_Plan,\n )),\n },\n ]);\n\n return (\n \n {getIsRequestSucceeded(getAgencyConfigRequestStatus) && (\n \n )}\n {/* */}\n {/* {agencyConfig?.logo?.favicon !== '' && (\n \n )} */}\n \n \n \n \n
    \n {!verified && (\n \n Check your registered email and authenticate your\n profile by clicking on the link. If you have not\n received it,{' '}\n {/* eslint-disable-next-line jsx-a11y/interactive-supports-focus, jsx-a11y/click-events-have-key-events */}\n \n check spam folder\n \n {' / '}\n \n send again\n \n .\n \n }\n variant={Alert.Variant.Warning}\n theme={Alert.Theme.New}\n />\n )}\n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n {/* {agencyConfig?.showGettingStarted && (\n \n this.createSequence(Source.OnboardingChecklist)\n }\n showGettingStarted={showGettingStarted}\n />\n )} */}\n\n {isGettingStartedVideoModalShow &&\n isWhitelabelWithoutClientView() && (\n \n this.createSequence(Source.OnboardingVideo)\n }\n onClose={() => {\n if (isMemberAccount) {\n sendFinishOnboardingRequest();\n setTimeout(() => {\n window.location.reload();\n }, 1000);\n return this.showHideWatchVideoModal(false);\n }\n\n this.showHideWatchVideoModal(false);\n\n if (\n getCurrentRoute(location) !== '/settings/whitelabel'\n ) {\n this.showHideOnboardingModal(false);\n this.handleHelpscoutWelcomeMessage();\n this.setState({ isViewSequenceBtnClicked: false });\n history.push({\n search: 'videoclosed',\n });\n window.location.reload();\n setTimeout(() => {\n history.push({\n search: '',\n });\n }, 2000);\n }\n }}\n updateWatchVideoProfileProgressStep={\n this.updateWatchVideoProfileProgressStep\n }\n isCreateSequenceRequestPending={getIsRequestPending(\n createSequenceFromGettingStartedRequestStatus,\n )}\n isViewSampleSequenceRequestPending={getIsRequestPending(\n getSampleSequenceRequestStatus,\n )}\n />\n )}\n\n \n this.setState({\n willRedirectToLeadFinder: s,\n })\n }\n />\n\n {}}\n onSubmit={this.handleSessionExpireLogin}\n submitButtonText=\"Login\"\n />\n
    \n
    \n
    \n
    \n \n );\n }\n}\n\nexport default Home;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteProps, withRouter, RouteComponentProps } from 'react-router';\nimport { withTranslation } from 'react-i18next';\nimport { RootState } from '../../store/root-reducer';\nimport Home from './home';\nimport {\n getUserSettingsRequest,\n resetCompareAuthTokenRequest,\n showGettingStartedVideoModal,\n updateApplicationState,\n} from './home-slice';\nimport {\n compareAuthTokenRequest,\n createSequenceFromGettingStartedRequest,\n extendTrialPeriodRequest,\n getAgencyConfigRequest,\n getPostLoadMetaRequest,\n getSampleSequenceRequest,\n upgradeOnboardingStepRequest,\n} from './extra-actions';\nimport updateProfileProgressRequest from '../../shared/components/getting-started-onboarding/extra-actions';\nimport { setPageHeaderBannerAlert } from '../../shared/design-system/components/atoms/page-header/page-header-slice';\nimport { UpdateProfileProgressPayload } from '../../shared/types/user-setting';\nimport { PageHeaderAlertTypes } from '../../shared/utils/page-header-alert-types';\nimport { CompareAuthTokenPayload, UpgradeOnboardingStepPayload } from './types';\nimport { finishOnboardingRequest } from '../sequence/extra-actions';\nimport { Source } from '../../shared/enums/source';\nimport { TrialExtendSource } from '../../shared/enums/trial-extend-source';\nimport {\n onboardingDetailsRequest,\n resendVerificationEmailRequest,\n} from '../auth/components/signup/extra-actions';\nimport { OnBoardingRequest } from '../auth/types';\nimport { resetChangeOutcomeRequest } from '../sequence/sequence-slice';\n\nconst mapStateToProps = (state: RootState) => ({\n getUserSettingsRequestStatus: state.home.getUserSettingsRequest.status,\n getUserSettingsRequestMessage: state.home.getUserSettingsRequest.message,\n getUserSettingsRequestError: state.home.getUserSettingsRequest.error,\n getSampleSequenceRequestStatus: state.home.getSampleSequenceRequest.status,\n createSequenceFromGettingStartedRequestStatus:\n state.home.createSequenceFromGettingStartedRequest.status,\n createSequenceFromGettingStartedRequestMessage:\n state.home.createSequenceFromGettingStartedRequest.message,\n createSequenceFromGettingStartedRequestError:\n state.home.createSequenceFromGettingStartedRequest.error,\n gettingStatedCreatedSequenceId: state.home.gettingStatedCreatedSequenceId,\n meta: state.home.meta,\n sampleSequence: state.home.firstSequence,\n profileProgress: state.home.profileProgress,\n updateProfileProgressRequestStatus:\n state.home.updateProfileProgressRequest.status,\n updateProfileProgressRequestMessage:\n state.home.updateProfileProgressRequest.message,\n updateProfileProgressRequestError:\n state.home.updateProfileProgressRequest.error,\n compareAuthTokenRequestStatus: state.home.compareAuthTokenRequest.status,\n compareAuthTokenRequestMessage: state.home.compareAuthTokenRequest.message,\n compareAuthTokenRequestError: state.home.compareAuthTokenRequest.error,\n subscriptionDetails: state.home.subscription,\n shAccountId: state.home.shAccountId,\n client: state.home.client,\n userRole: state.home.role,\n firstName: state.home.firstName,\n lastName: state.home.lastName,\n team_size: state.home.team_size,\n designation: state.home.designation,\n signup_date: state.home.signup_date,\n hasUserConnectedEmailAccount:\n state.home.application.hasUserConnectedEmailAccount,\n agencyConfig: state.home.agencyConfig,\n planTransitionDetails: state.home.subscription?.planTransitionDetails,\n email: state.myProfile.myProfile.email,\n isGettingStartedVideoModalShow: state.home.showYoutubeVideModal,\n shouldLogoutUser: state.home.application.shouldLogoutUser,\n helpscoutBeaconId: state.home.application.helpscoutBeaconId,\n icpStatus: state.home.icpStatus,\n trackingId: state.home.trackingId,\n userId: state.home.userId,\n planName: state.home.subscription?.planName,\n\n isEligibleToExtendTrial: state.home.isEligibleToExtendTrial,\n pageHeaderBannerMessage: state.pageHeader.message,\n\n extendTrialPeriodRequestStatus: state.home.extendTrialPeriodRequest.status,\n extendTrialPeriodRequestError: state.home.extendTrialPeriodRequest.error,\n extendTrialPeriodRequestMessage: state.home.extendTrialPeriodRequest.message,\n\n verified: state.home.verified,\n\n onBoardingRequestStatus: state.signup.onBoardingDetailsRequest.status,\n onBoardingRequestError: state.signup.onBoardingDetailsRequest.error,\n onBoardingRequestMessage: state.signup.onBoardingDetailsRequest.message,\n\n resendVerificationEmailRequestStatus:\n state.signup.resendVerificationEmailRequest.status,\n resendVerificationEmailRequestError:\n state.signup.resendVerificationEmailRequest.error,\n outcomeChangeRequestStatus: state.sequence.onOutcomeChangeRequest.status,\n outcomeChangeRequestMessage: state.sequence.onOutcomeChangeRequest.message,\n isMemberAccount: !state.home.isSelfSignup,\n getMyProfileRequestStatus: state.myProfile.getUserDetailRequest.status,\n getAgencyConfigRequestStatus: state.home.getAgencyConfigRequest.status,\n});\n\nconst mapDispatchToProps = {\n sendGetUserSettingsRequest: () => getUserSettingsRequest(),\n sendGetPostLoadMetaRequest: () => getPostLoadMetaRequest(),\n sendGetSampleSequenceRequest: () => getSampleSequenceRequest(),\n updateProfileProgressRequest: (payload: UpdateProfileProgressPayload) =>\n updateProfileProgressRequest(payload),\n setPageHeaderBannerAlert: (payload: {\n bannerType: PageHeaderAlertTypes;\n paymentActionUrl?: string;\n message?: string;\n ctaText?: string;\n bannerMessageOne?: string;\n bannerMessageTwo?: string;\n paymentActionType?: string;\n }) => setPageHeaderBannerAlert(payload),\n handleActivateSequenceTooltip: (showActivateSequenceTooltip: boolean) =>\n updateApplicationState({ showActivateSequenceTooltip }),\n handleAddEmailAccountModal: (showAddEmailAccountModal: boolean) =>\n updateApplicationState({ showAddEmailAccountModal }),\n handleHasUserConnectedEmailAccount: (hasUserConnectedEmailAccount: boolean) =>\n updateApplicationState({ hasUserConnectedEmailAccount }),\n handleHasSignUpCompleted: (hasSignUpCompleted: boolean) =>\n updateApplicationState({ hasSignUpCompleted }),\n handleHelpscoutBeaconId: (helpscoutBeaconId: string) =>\n updateApplicationState({ helpscoutBeaconId }),\n sendCreateSequenceRequest: (title: string, source: Source) =>\n createSequenceFromGettingStartedRequest({ title, source }),\n sendFinishOnboardingRequest: () => finishOnboardingRequest(),\n sendUpgradeOnboardingStepRequest: (payload?: UpgradeOnboardingStepPayload) =>\n upgradeOnboardingStepRequest(payload),\n sendGetAgencyConfigRequest: (agencyConfigPayload: {\n baseUrl: string;\n email?: string;\n }) => getAgencyConfigRequest(agencyConfigPayload),\n showGettingStartedVideoModal: (show: boolean) =>\n showGettingStartedVideoModal({ show }),\n sendCompareAuthTokenRequest: (payload: CompareAuthTokenPayload) =>\n compareAuthTokenRequest(payload),\n resetCompareAuthTokenRequest: () => resetCompareAuthTokenRequest(),\n sendExtendTrialPeriodRequest: (source: TrialExtendSource) =>\n extendTrialPeriodRequest(source),\n\n sendOnboardingRequest: (payload: OnBoardingRequest) =>\n onboardingDetailsRequest(payload),\n\n resendVerificationEmailRequest: (email: string) =>\n resendVerificationEmailRequest(email),\n resetChangeOutcomeRequest: () => resetChangeOutcomeRequest(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps &\n RouteComponentProps & { t: (x: string) => string } & Omit<\n RouteProps,\n 'render'\n >;\n\nexport type IState = {\n userSubscriptionPlan: string;\n showWatchVideoModal: boolean;\n showGettingStarted: boolean;\n showHelpscoutWelcomeMessage: boolean;\n isViewSequenceBtnClicked: boolean;\n showOnboardingModal: boolean;\n planName: string;\n willRedirectToLeadFinder: boolean;\n sessionExpire: boolean;\n};\n\nexport default withTranslation()(withRouter(connector(Home)));\n","export enum ProductTour {\n CreateSequence = 'p-t__create-sequence',\n AddStep = 'p-t__add-step',\n TemplateButton = 'p-t__template-button',\n FirstTemplate = 'p-t__first-template',\n UseTemplate = 'p-t__use-template',\n SaveStep = 'p-t__save-step',\n SequenceProspectsTab = 'p-t__sequence-prospects-tab',\n AddProspect = 'p-t__add-prospect',\n ImportViaCSV = 'p-t__import-via-csv',\n DownloadSampleCSV = 'p-t__download-sample-csv',\n ChooseFile = 'p-t__choose-file',\n UploadFileNextStep = 'p-t__upload-file-next-step',\n MapFieldsNextStep = 'p-t__map-fields-next-step',\n ReviewAndImport = 'p-t__review-and-import',\n ImportProspectReport = 'p-t__import-prospect-report',\n SequenceSettingsTab = 'p-t__sequence-settings-tab',\n ConnectEmailAccountToSequence = 'p-t__connect-email',\n ConnectNewEmailAccount = 'p-t__connect-new-email',\n SelectEmailService = 'p-t__select-email-service',\n NavigateToSequences = 'p-t__navigate-to-sequences',\n VisitFirstSequence = 'p-t__visit-first-sequence',\n ActiveSequence = 'p-t__active-sequence',\n NavigateToLeadFinder = 'p-t__navigate-to-lead-finder',\n}\n","import { createSlice } from '@reduxjs/toolkit';\nimport { constants } from '../../shared/enums/constants';\nimport { RequestStatus } from '../../shared/enums/request-status';\nimport { ResponseErrorWithHandled } from '../../shared/types';\nimport { AddProspectResponse } from '../sequence/types';\nimport { Field } from '../settings/types/field';\nimport {\n getProspectRequest,\n getProspectCountRequest,\n getSequenceListRequest,\n getStepListRequest,\n getStepDetailsListRequest,\n addToStepRequest,\n removeProspectRequest,\n unsubscribeProspectRequest,\n getSingleProspectDetailsRequest,\n getSingleProspectSequencesDetailsRequest,\n singleProspectSequencesMarkAsRepliedRequest,\n singleProspectRemoveFromSequencesRequest,\n saveContactAttributesRequest,\n saveContactDealValueRequest,\n getFieldsRequest,\n addProspectManuallyRequest,\n singleProspectSequencesMarkAsFinishedRequest,\n verifyProspectsManuallyRequest,\n getTagsRequest,\n addTagsToProspectsRequest,\n removeTagsFromProspectsRequest,\n verifyBulkProspectsRequest,\n deleteBulkProspectsRequest,\n unsubscribeBulkProspectRequest,\n addBulkProspectsToStepRequest,\n addTagsToBulkProspectsRequest,\n removeTagsFromBulkProspectsRequest,\n changePrimaryEmailInProspectRequest,\n deleteSecondaryEmailRequest,\n deleteSecondaryPhoneRequest,\n getProspectListRequest,\n getProspectListCountRequest,\n getProspectListByIdsRequest,\n getFilterViewListRequest,\n pinUnpinSavedFilterRequest,\n updateSavedFilterRequest,\n deleteSavedViewRequest,\n getProspectFiltersFieldsListRequest,\n getProspectFiltersFieldValuesRequest,\n getProspectFiltersAttributeFieldValuesRequest,\n getProspectFiltersSequencesListRequest,\n getProspectFiltersClientsListRequest,\n getProspectFiltersTagsListRequest,\n getProspectFiltersOwnersListRequest,\n getProspectFiltersOwnersListForAgencyRequest,\n getProspectFiltersOutcomeListRequest,\n saveProspectFiltersViewRequest,\n updateProspectFiltersViewRequest,\n deleteProspectFiltersViewRequest,\n getContactListByViewIdRequest,\n getImportedFilesListRequest,\n updateProspectFieldByIdRequest,\n getLongTextByProspectAndColumnIdRequest,\n} from './extra-actions';\nimport { getTagsToLeadsRequest } from '../leads/extra-actions';\nimport {\n getProspectsFiltersFromLocalStore,\n removeProspectsFiltersFromLocalStore,\n setProspectsFiltersInLocalStore,\n} from './helpers/prospect-filters-resolver';\nimport {\n Filters,\n ProspectPagination,\n SavedFilter,\n SelectAllContacts,\n} from './types';\nimport {\n ProspectsFilters,\n ProspectFilterResetArg,\n} from '../../shared/types/prospects-filters';\nimport { getMergedProspects } from './helpers/utils/get-merged-prospects';\nimport { ProspectSortBy } from './enums/prospect';\nimport { SortOrder } from '../../shared/enums/order';\nimport {\n ProspectFilterField,\n ProspectFiltersFieldsAttributesValue,\n} from './components/prospect-filters-modal/types';\nimport { getSortedProspectFilterFields } from './components/prospect-filters-modal/utils/helpers';\n\ninterface RequestState {\n status: RequestStatus;\n message: string;\n error: ResponseErrorWithHandled;\n}\n\nexport const prospectsFiltersInitialState: ProspectsFilters = {\n conversationType: [],\n tags: [],\n owners: [],\n status: [],\n outcomes: [],\n sequences: [],\n 'verification status': [],\n 'task priority': [],\n 'created date': [],\n 'creation source': [],\n 'current step': [],\n 'email account': [],\n 'client associated': [],\n 'imported file': [],\n};\n\ninterface State {\n getProspectRequest: RequestState;\n getSequenceListRequest: RequestState;\n getStepListRequest: RequestState;\n getStepDetailsListRequest: RequestState;\n getProspectCountRequest: RequestState;\n addToStepRequest: RequestState;\n addToStepRequestResultCount: {\n failed: number;\n successful: number;\n resultData: any;\n };\n removeProspectRequest: RequestState;\n unsubscribeProspectRequest: RequestState;\n getSingleProspectDetailsRequest: RequestState;\n getSingleProspectSequencesDetailsRequest: RequestState;\n singleProspectSequencesMarkAsRepliedRequest: RequestState;\n singleProspectSequencesMarkAsFinishedRequest: RequestState;\n singleProspectRemoveFromSequencesRequest: RequestState;\n saveContactAttributesRequest: RequestState;\n saveContactDealValueRequest: RequestState;\n getFieldsRequest: RequestState;\n addProspectManuallyRequest: RequestState;\n verifyProspectManuallyRequest: RequestState;\n getTagsRequest: RequestState;\n getTagsToLeadsRequest: RequestState;\n addTagsToProspectsRequest: RequestState;\n removeTagsFromProspectsRequest: RequestState;\n verifyBulkProspectsRequest: RequestState;\n deleteBulkProspectsRequest: RequestState;\n unsubscribeBulkProspectRequest: RequestState;\n addBulkProspectsToStepRequest: RequestState;\n addTagsToBulkProspectsRequest: RequestState;\n removeTagsFromBulkProspectsRequest: RequestState;\n changePrimaryEmailInProspectRequest: RequestState;\n deleteSecondaryEmailRequest: RequestState;\n deleteSecondaryPhoneRequest: RequestState;\n getFilterViewListRequest: RequestState;\n pinUnpinSavedFilterRequest: RequestState;\n updateSavedFilterRequest: RequestState;\n deleteSavedViewRequest: RequestState;\n getContactListByViewIdRequest: RequestState;\n getImportedFilesListRequest: RequestState;\n search: string;\n steps: any[];\n sequences: any[];\n selectedContacts: any[];\n selectAllContactDetails: SelectAllContacts;\n singleProspect: any;\n singleProspectSequenceDetails: any[];\n tags: any[];\n leadTags: any[];\n isProspectSubscribed: boolean;\n prospectPaginationData: ProspectPagination;\n addProspectResponse: AddProspectResponse;\n prospectsFilters: ProspectsFilters;\n\n // New State\n prospects: any[];\n prospectCount: number;\n filters: Filters;\n fields: Field[];\n savedFilters: SavedFilter[];\n selectedSavedView: SavedFilter;\n prospectFiltersFieldsList: ProspectFilterField[];\n prospectFiltersFieldsAttributesValue: ProspectFiltersFieldsAttributesValue;\n prospectFiltersFieldsAttributesLoading: Record;\n prospectFiltersFieldsAttributesFetched: Record;\n\n getProspectListRequest: RequestState;\n getProspectListCountRequest: RequestState;\n getProspectListByIdsRequest: RequestState;\n getProspectFiltersFieldsListRequest: RequestState;\n getProspectFiltersFieldValuesRequest: RequestState;\n getProspectFiltersAttributeFieldValuesRequest: RequestState;\n getProspectFiltersSequencesListRequest: RequestState;\n getProspectFiltersClientsListRequest: RequestState;\n getProspectFiltersTagsListRequest: RequestState;\n getProspectFiltersOwnersListRequest: RequestState;\n getProspectFiltersOwnersListForAgencyRequest: RequestState;\n getProspectFiltersOutcomeListRequest: RequestState;\n saveProspectFiltersViewRequest: RequestState;\n updateProspectFiltersViewRequest: RequestState;\n deleteProspectFiltersViewRequest: RequestState;\n updateProspectFieldByIdRequest: RequestState;\n getLongTextByProspectAndColumnIdRequest: RequestState;\n stepsDetails: {\n id: number;\n number: number;\n }[];\n importedFilesList: { name: string; value: number }[] | [];\n longText: string;\n}\n\nconst initialState: State = {\n getProspectListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getProspectListCountRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getProspectListByIdsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getProspectFiltersFieldsListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getProspectFiltersFieldValuesRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getProspectFiltersAttributeFieldValuesRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getProspectFiltersSequencesListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getProspectFiltersClientsListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getProspectFiltersTagsListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getProspectFiltersOwnersListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getProspectFiltersOwnersListForAgencyRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getProspectFiltersOutcomeListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n saveProspectFiltersViewRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateProspectFiltersViewRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n deleteProspectFiltersViewRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n\n getProspectRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getSequenceListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getStepListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getStepDetailsListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getProspectCountRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getSingleProspectDetailsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getSingleProspectSequencesDetailsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n addToStepRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n singleProspectSequencesMarkAsRepliedRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n singleProspectSequencesMarkAsFinishedRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n singleProspectRemoveFromSequencesRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n unsubscribeProspectRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n removeProspectRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n saveContactAttributesRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n saveContactDealValueRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getFieldsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n addProspectManuallyRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n\n verifyProspectManuallyRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getTagsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getTagsToLeadsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n addTagsToProspectsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n removeTagsFromProspectsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n verifyBulkProspectsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n deleteBulkProspectsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n unsubscribeBulkProspectRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n addBulkProspectsToStepRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n addTagsToBulkProspectsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n removeTagsFromBulkProspectsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n changePrimaryEmailInProspectRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n deleteSecondaryEmailRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n deleteSecondaryPhoneRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getFilterViewListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n pinUnpinSavedFilterRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateSavedFilterRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n deleteSavedViewRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getContactListByViewIdRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getImportedFilesListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateProspectFieldByIdRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getLongTextByProspectAndColumnIdRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n prospectPaginationData: {\n pageNum: constants.DEFAULT_PAGE_NUM,\n pageSize: constants.PROSPECT_PAGE_SIZE,\n },\n search: null,\n sequences: [],\n steps: [],\n selectedContacts: [],\n selectAllContactDetails: null,\n singleProspect: null,\n singleProspectSequenceDetails: [],\n tags: [],\n leadTags: [],\n isProspectSubscribed: null,\n addToStepRequestResultCount: {\n failed: 0,\n successful: 0,\n resultData: null,\n },\n addProspectResponse: null,\n prospectsFilters:\n getProspectsFiltersFromLocalStore() || prospectsFiltersInitialState,\n\n // New State\n prospects: [],\n prospectCount: 0,\n filters: {\n pageNum: 1,\n pageSize: 25,\n sortBy: ProspectSortBy.CreateAt,\n sortOrder: SortOrder.DESC,\n search: '',\n selectedFields: [],\n shouldFetchProspectList: false,\n shouldFetchProspectListCount: false,\n shouldFetchSavedFilters: false,\n },\n fields: [],\n savedFilters: [],\n selectedSavedView: null,\n prospectFiltersFieldsList: [],\n prospectFiltersFieldsAttributesValue: null,\n prospectFiltersFieldsAttributesLoading: null,\n prospectFiltersFieldsAttributesFetched: null,\n stepsDetails: [],\n importedFilesList: [],\n longText: '',\n};\n\nconst prospectSlice = createSlice({\n name: 'prospect',\n initialState,\n reducers: {\n resetGetProspectListRequest: (state) => {\n state.getProspectListRequest = initialState.getProspectListRequest;\n },\n resetGetProspectListCountRequest: (state) => {\n state.getProspectListCountRequest =\n initialState.getProspectListCountRequest;\n },\n resetGetProspectListByIdsRequest: (state) => {\n state.getProspectListByIdsRequest =\n initialState.getProspectListByIdsRequest;\n },\n resetGetProspectFiltersFieldsListRequest: (state) => {\n state.getProspectFiltersFieldsListRequest =\n initialState.getProspectFiltersFieldsListRequest;\n },\n resetSaveProspectFiltersViewRequest: (state) => {\n state.saveProspectFiltersViewRequest =\n initialState.saveProspectFiltersViewRequest;\n },\n resetUpdateProspectFiltersViewRequest: (state) => {\n state.updateProspectFiltersViewRequest =\n initialState.updateProspectFiltersViewRequest;\n },\n resetPinUnpinSavedFilterRequest: (state) => {\n state.pinUnpinSavedFilterRequest =\n initialState.pinUnpinSavedFilterRequest;\n },\n resetUpdateSavedFilterRequest: (state) => {\n state.updateSavedFilterRequest = initialState.updateSavedFilterRequest;\n },\n resetDeleteSavedViewRequest: (state) => {\n state.deleteSavedViewRequest = initialState.deleteSavedViewRequest;\n },\n\n setFilters: (\n state,\n action: {\n payload: Partial;\n },\n ) => {\n state.filters = {\n ...state.filters,\n ...action.payload,\n };\n },\n\n resetProspectFiltersSelectedFields: (state) => {\n state.filters = {\n ...state.filters,\n selectedFields: [],\n };\n },\n\n resetProspect: (state) => {\n state.prospectCount = initialState.prospectCount;\n state.prospectPaginationData = initialState.prospectPaginationData;\n state.prospects = initialState.prospects;\n state.search = initialState.search;\n state.getProspectRequest = initialState.getProspectRequest;\n },\n\n resetRemoveProspectRequest: (state) => {\n state.removeProspectRequest.status = RequestStatus.Ideal;\n state.removeProspectRequest.error = null;\n state.removeProspectRequest.message = null;\n },\n\n resetAddToProspectForm: (state) => {\n state.addProspectManuallyRequest =\n initialState.addProspectManuallyRequest;\n state.addProspectResponse = initialState.addProspectResponse;\n },\n\n resetGetStepDetailsListRequest: (state) => {\n state.getStepDetailsListRequest = initialState.getStepDetailsListRequest;\n },\n\n resetSequenceAndStepData: (state) => {\n state.sequences = initialState.sequences;\n state.steps = initialState.steps;\n state.getStepListRequest = initialState.getStepListRequest;\n state.getStepDetailsListRequest = initialState.getStepDetailsListRequest;\n state.getSequenceListRequest = initialState.getSequenceListRequest;\n state.addToStepRequest = initialState.addToStepRequest;\n state.removeProspectRequest = initialState.removeProspectRequest;\n state.singleProspectRemoveFromSequencesRequest =\n initialState.singleProspectRemoveFromSequencesRequest;\n state.singleProspectSequencesMarkAsRepliedRequest =\n initialState.singleProspectSequencesMarkAsRepliedRequest;\n state.singleProspectSequencesMarkAsFinishedRequest =\n initialState.singleProspectSequencesMarkAsFinishedRequest;\n state.unsubscribeProspectRequest =\n initialState.unsubscribeProspectRequest;\n state.saveContactAttributesRequest =\n initialState.saveContactAttributesRequest;\n state.saveContactDealValueRequest =\n initialState.saveContactDealValueRequest;\n state.verifyProspectManuallyRequest =\n initialState.verifyProspectManuallyRequest;\n },\n resetStep: (state) => {\n state.steps = initialState.steps;\n state.addToStepRequest = initialState.addToStepRequest;\n },\n selectAllContacts: (state, action) => {\n state.selectAllContactDetails = action.payload;\n },\n clearSelection: (state) => {\n state.selectAllContactDetails = initialState.selectAllContactDetails;\n state.selectedContacts = initialState.selectedContacts;\n },\n resetSaveContactAttributesRequestStatus: (state) => {\n state.saveContactAttributesRequest =\n initialState.saveContactAttributesRequest;\n },\n resetProspectDeleteEmailRequestStatus: (state) => {\n state.deleteSecondaryEmailRequest =\n initialState.deleteSecondaryEmailRequest;\n },\n resetProspectDeletePhoneRequestStatus: (state) => {\n state.deleteSecondaryPhoneRequest =\n initialState.deleteSecondaryPhoneRequest;\n },\n resetProspectPrimaryEmailChangeRequestStatus: (state) => {\n state.changePrimaryEmailInProspectRequest =\n initialState.changePrimaryEmailInProspectRequest;\n },\n resetSingleProspect: (state) => {\n state.singleProspect = initialState.singleProspect;\n },\n checkAll: (state, action) => {\n if (action.payload.status === true) {\n if (state.selectAllContactDetails?.isAllProspectsSelected) {\n action.payload.rows.forEach(({ id: contactId }) => {\n state.selectAllContactDetails.deSelectedContactIds = state.selectAllContactDetails.deSelectedContactIds.filter(\n (id) => contactId !== id,\n );\n });\n }\n state.selectedContacts = state.selectedContacts.concat(\n action.payload.rows,\n );\n } else {\n if (state.selectAllContactDetails?.isAllProspectsSelected) {\n action.payload.rows.forEach(({ id }) => {\n state.selectAllContactDetails.deSelectedContactIds = state.selectAllContactDetails?.deSelectedContactIds.concat(\n [id],\n );\n });\n }\n state.selectedContacts = state.selectedContacts.reduce((acc, item) => {\n let isPresent = false;\n action.payload.rows.forEach(({ id }) => {\n if (id === item.id) {\n isPresent = true;\n }\n });\n if (isPresent) {\n return acc;\n }\n return [...acc, item];\n }, []);\n }\n },\n setProspectDetails: (state, action) => {\n const prospectWithId = state.prospects.find(\n (prospect) => prospect.id === action.payload,\n );\n\n const attributes = {\n id: prospectWithId.id,\n attributes: prospectWithId.attributes,\n tags: prospectWithId.tags,\n isBlacklisted: prospectWithId.isBlacklisted,\n };\n\n // state.singleProspectSequenceDetails = listOfSequences;\n state.singleProspect = attributes;\n state.isProspectSubscribed = prospectWithId.isSubscribed;\n },\n resetSelectedContacts: (state) => {\n state.selectedContacts = initialState.selectedContacts;\n },\n checkSingle: (state, action) => {\n if (action.payload.status === true) {\n if (state.selectAllContactDetails?.isAllProspectsSelected) {\n state.selectAllContactDetails.deSelectedContactIds = state.selectAllContactDetails.deSelectedContactIds.filter(\n (id) => id !== action.payload.row.id,\n );\n }\n state.selectedContacts = state.selectedContacts.concat([\n action.payload.row,\n ]);\n } else {\n if (state.selectAllContactDetails?.isAllProspectsSelected) {\n state.selectAllContactDetails.deSelectedContactIds = state.selectAllContactDetails?.deSelectedContactIds.concat(\n [action.payload.row.id],\n );\n }\n state.selectedContacts = state.selectedContacts.filter(\n ({ id }) => id !== action.payload.row.id,\n );\n }\n },\n changeProspectPagination: (state, action) => {\n state.prospectPaginationData = action.payload;\n },\n\n saveSearch: (state, action) => {\n state.search = action.payload;\n },\n setProspectsFilters: (state, action) => {\n state.prospectsFilters = { ...action.payload };\n setProspectsFiltersInLocalStore(action.payload);\n },\n resetProspectsFilters: (state, action) => {\n const resetOff: ProspectFilterResetArg = action.payload;\n if (resetOff === 'all') {\n state.prospectsFilters = prospectsFiltersInitialState;\n\n removeProspectsFiltersFromLocalStore();\n } else {\n state.prospectsFilters[resetOff] = [];\n setProspectsFiltersInLocalStore(state.prospectsFilters);\n }\n },\n resetTags: (state) => {\n state.addTagsToProspectsRequest = initialState.addTagsToProspectsRequest;\n state.removeTagsFromProspectsRequest =\n initialState.removeTagsFromProspectsRequest;\n },\n resetBulkRequests: (state) => {\n state.verifyBulkProspectsRequest =\n initialState.verifyBulkProspectsRequest;\n state.deleteBulkProspectsRequest =\n initialState.deleteBulkProspectsRequest;\n state.unsubscribeBulkProspectRequest =\n initialState.unsubscribeBulkProspectRequest;\n state.addBulkProspectsToStepRequest =\n initialState.addBulkProspectsToStepRequest;\n state.addTagsToBulkProspectsRequest =\n initialState.addTagsToBulkProspectsRequest;\n state.removeTagsFromBulkProspectsRequest =\n initialState.removeTagsFromBulkProspectsRequest;\n },\n resetUnsubscribeRequestState: (state) => {\n state.unsubscribeProspectRequest =\n initialState.unsubscribeProspectRequest;\n },\n setSelectedSavedView: (state, action) => {\n state.selectedSavedView = action.payload;\n },\n removedSelectedSavedView: (state) => {\n state.selectedSavedView = initialState.selectedSavedView;\n },\n resetFilterGroupLogic: (state) => {\n state.filters = {\n ...state.filters,\n filterGroupLogic: null,\n };\n },\n resetProspectFiltersFieldsAttributesValue: (state, action) => {\n if (\n state.prospectFiltersFieldsAttributesValue &&\n action?.payload?.resetAll\n ) {\n state.prospectFiltersFieldsAttributesValue =\n initialState.prospectFiltersFieldsAttributesValue;\n state.prospectFiltersFieldsAttributesFetched =\n initialState.prospectFiltersFieldsAttributesFetched;\n state.prospectFiltersFieldsAttributesLoading =\n initialState.prospectFiltersFieldsAttributesLoading;\n return;\n }\n\n if (\n state.prospectFiltersFieldsAttributesValue &&\n action?.payload?.key &&\n state.prospectFiltersFieldsAttributesValue?.[action?.payload?.key]\n ) {\n const { meta } = state.prospectFiltersFieldsAttributesValue?.[\n action.payload.key\n ] || { meta: null };\n\n if ((meta && meta.search !== '') || action.payload.key === 'tags') {\n state.prospectFiltersFieldsAttributesValue[action.payload.key] = {\n meta: null,\n payload: [],\n };\n state.prospectFiltersFieldsAttributesFetched[\n action.payload.key\n ] = false;\n }\n }\n },\n resetImportedFilesListValue: (state) => {\n state.importedFilesList = [];\n },\n resetGetLongTextByProspectAndColumnIdRequest: (state) => {\n state.getLongTextByProspectAndColumnIdRequest =\n initialState.getLongTextByProspectAndColumnIdRequest;\n state.longText = initialState.longText;\n },\n },\n extraReducers: (builder) => {\n // Get Prospect List\n builder.addCase(getProspectListRequest.pending, (state) => {\n state.getProspectListRequest.status = RequestStatus.Pending;\n state.getProspectListRequest.error = null;\n });\n builder.addCase(getProspectListRequest.fulfilled, (state, action) => {\n state.getProspectListRequest.status = RequestStatus.Succeeded;\n state.getProspectListRequest.message = action.payload.message;\n state.prospects = action.payload.payload;\n });\n builder.addCase(getProspectListRequest.rejected, (state, action) => {\n state.getProspectListRequest.status = RequestStatus.Failed;\n state.getProspectListRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Prospect List Count\n builder.addCase(getProspectListCountRequest.pending, (state) => {\n state.getProspectListCountRequest.status = RequestStatus.Pending;\n state.getProspectListCountRequest.error = null;\n });\n builder.addCase(getProspectListCountRequest.fulfilled, (state, action) => {\n state.getProspectListCountRequest.status = RequestStatus.Succeeded;\n state.getProspectListCountRequest.message = action.payload.message;\n state.prospectCount = action.payload.payload;\n });\n builder.addCase(getProspectListCountRequest.rejected, (state, action) => {\n state.getProspectListCountRequest.status = RequestStatus.Failed;\n state.getProspectListCountRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Prospect List By Ids\n builder.addCase(getProspectListByIdsRequest.pending, (state) => {\n state.getProspectListByIdsRequest.status = RequestStatus.Pending;\n state.getProspectListByIdsRequest.error = null;\n });\n builder.addCase(getProspectListByIdsRequest.fulfilled, (state, action) => {\n state.getProspectListByIdsRequest.status = RequestStatus.Succeeded;\n state.getProspectListByIdsRequest.message = action.payload.message;\n state.prospects = getMergedProspects(\n state.prospects,\n action.payload.payload,\n );\n });\n builder.addCase(getProspectListByIdsRequest.rejected, (state, action) => {\n state.getProspectListByIdsRequest.status = RequestStatus.Failed;\n state.getProspectListByIdsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Prospect Filter Fields List\n builder.addCase(getProspectFiltersFieldsListRequest.pending, (state) => {\n state.getProspectFiltersFieldsListRequest.status = RequestStatus.Pending;\n state.getProspectFiltersFieldsListRequest.error = null;\n });\n builder.addCase(\n getProspectFiltersFieldsListRequest.fulfilled,\n (state, action) => {\n state.getProspectFiltersFieldsListRequest.status =\n RequestStatus.Succeeded;\n state.getProspectFiltersFieldsListRequest.message =\n action.payload.message;\n state.prospectFiltersFieldsList = getSortedProspectFilterFields(\n action.payload.payload.fields,\n );\n },\n );\n builder.addCase(\n getProspectFiltersFieldsListRequest.rejected,\n (state, action) => {\n state.getProspectFiltersFieldsListRequest.status = RequestStatus.Failed;\n state.getProspectFiltersFieldsListRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Get Prospect Filter Fields Values\n builder.addCase(\n getProspectFiltersFieldValuesRequest.pending,\n (state, action) => {\n state.getProspectFiltersFieldValuesRequest.status =\n RequestStatus.Pending;\n state.getProspectFiltersFieldValuesRequest.error = null;\n state.prospectFiltersFieldsAttributesLoading = {\n ...state.prospectFiltersFieldsAttributesLoading,\n [action.meta.arg.key]: true,\n };\n state.prospectFiltersFieldsAttributesFetched = {\n ...state.prospectFiltersFieldsAttributesFetched,\n [action.meta.arg.key]: true,\n };\n },\n );\n builder.addCase(\n getProspectFiltersFieldValuesRequest.fulfilled,\n (state, action) => {\n state.getProspectFiltersFieldValuesRequest.status =\n RequestStatus.Succeeded;\n state.getProspectFiltersFieldValuesRequest.message =\n action.payload.message;\n state.prospectFiltersFieldsAttributesValue = {\n ...state.prospectFiltersFieldsAttributesValue,\n [action.meta.arg.key]: {\n meta: {\n ...action.meta.arg,\n hasMoreData: action.payload.payload.hasMoreData,\n },\n payload:\n action.meta.arg.page === 1\n ? action.payload.payload.prospectValues\n : [\n ...(state.prospectFiltersFieldsAttributesValue?.[\n action.meta.arg.key\n ]?.payload || []),\n ...action.payload.payload.prospectValues,\n ],\n },\n };\n state.prospectFiltersFieldsAttributesLoading = {\n ...state.prospectFiltersFieldsAttributesLoading,\n [action.meta.arg.key]: false,\n };\n },\n );\n builder.addCase(\n getProspectFiltersFieldValuesRequest.rejected,\n (state, action) => {\n state.getProspectFiltersFieldValuesRequest.status =\n RequestStatus.Failed;\n state.getProspectFiltersFieldValuesRequest.error =\n !action.payload.isHandled && action.payload;\n state.prospectFiltersFieldsAttributesLoading = {\n ...state.prospectFiltersFieldsAttributesLoading,\n [action.meta.arg.key]: false,\n };\n },\n );\n\n // Get Prospect Filter Field Attribute Values\n builder.addCase(\n getProspectFiltersAttributeFieldValuesRequest.pending,\n (state, action) => {\n state.getProspectFiltersAttributeFieldValuesRequest.status =\n RequestStatus.Pending;\n state.getProspectFiltersAttributeFieldValuesRequest.error = null;\n state.prospectFiltersFieldsAttributesLoading = {\n ...state.prospectFiltersFieldsAttributesLoading,\n [action.meta.arg.key]: true,\n };\n state.prospectFiltersFieldsAttributesFetched = {\n ...state.prospectFiltersFieldsAttributesFetched,\n [action.meta.arg.key]: true,\n };\n },\n );\n builder.addCase(\n getProspectFiltersAttributeFieldValuesRequest.fulfilled,\n (state, action) => {\n state.getProspectFiltersAttributeFieldValuesRequest.status =\n RequestStatus.Succeeded;\n state.getProspectFiltersAttributeFieldValuesRequest.message =\n action.payload.message;\n state.prospectFiltersFieldsAttributesValue = {\n ...state.prospectFiltersFieldsAttributesValue,\n [action.meta.arg.key]: {\n meta: {\n ...action.meta.arg,\n hasMoreData: action.payload.payload.hasMoreData,\n },\n payload:\n action.meta.arg.page === 1\n ? action.payload.payload.prospectAttributeValues\n : [\n ...(state.prospectFiltersFieldsAttributesValue?.[\n action.meta.arg.key\n ]?.payload || []),\n ...action.payload.payload.prospectAttributeValues,\n ],\n },\n };\n state.prospectFiltersFieldsAttributesLoading = {\n ...state.prospectFiltersFieldsAttributesLoading,\n [action.meta.arg.key]: false,\n };\n },\n );\n builder.addCase(\n getProspectFiltersAttributeFieldValuesRequest.rejected,\n (state, action) => {\n state.getProspectFiltersAttributeFieldValuesRequest.status =\n RequestStatus.Failed;\n state.getProspectFiltersAttributeFieldValuesRequest.error =\n !action.payload.isHandled && action.payload;\n state.prospectFiltersFieldsAttributesLoading = {\n ...state.prospectFiltersFieldsAttributesLoading,\n [action.meta.arg.key]: false,\n };\n },\n );\n\n // Get Prospect Filter Sequence List\n builder.addCase(getProspectFiltersSequencesListRequest.pending, (state) => {\n state.getProspectFiltersSequencesListRequest.status =\n RequestStatus.Pending;\n state.getProspectFiltersSequencesListRequest.error = null;\n state.prospectFiltersFieldsAttributesLoading = {\n ...state.prospectFiltersFieldsAttributesLoading,\n sequence: true,\n };\n state.prospectFiltersFieldsAttributesFetched = {\n ...state.prospectFiltersFieldsAttributesFetched,\n sequence: true,\n };\n });\n builder.addCase(\n getProspectFiltersSequencesListRequest.fulfilled,\n (state, action) => {\n state.getProspectFiltersSequencesListRequest.status =\n RequestStatus.Succeeded;\n state.getProspectFiltersSequencesListRequest.message =\n action.payload.message;\n state.prospectFiltersFieldsAttributesValue = {\n ...state.prospectFiltersFieldsAttributesValue,\n sequence: {\n meta: {\n ...action.meta.arg,\n key: 'sequence',\n hasMoreData: action.payload.payload.hasMoreData,\n },\n payload:\n action.meta.arg.page === 1\n ? action.payload.payload.sequences?.map((sequence) => ({\n name: sequence.title,\n value: sequence.id.toString(),\n }))\n : [\n ...(state.prospectFiltersFieldsAttributesValue?.sequence\n ?.payload || []),\n ...action.payload.payload.sequences?.map((sequence) => ({\n name: sequence.title,\n value: sequence.id.toString(),\n })),\n ],\n },\n };\n state.prospectFiltersFieldsAttributesLoading = {\n ...state.prospectFiltersFieldsAttributesLoading,\n sequence: false,\n };\n },\n );\n builder.addCase(\n getProspectFiltersSequencesListRequest.rejected,\n (state, action) => {\n state.getProspectFiltersSequencesListRequest.status =\n RequestStatus.Failed;\n state.getProspectFiltersSequencesListRequest.error =\n !action.payload.isHandled && action.payload;\n state.prospectFiltersFieldsAttributesLoading = {\n ...state.prospectFiltersFieldsAttributesLoading,\n sequence: false,\n };\n },\n );\n\n // Get Prospect Filter Clients List\n builder.addCase(getProspectFiltersClientsListRequest.pending, (state) => {\n state.getProspectFiltersClientsListRequest.status = RequestStatus.Pending;\n state.getProspectFiltersClientsListRequest.error = null;\n state.prospectFiltersFieldsAttributesLoading = {\n ...state.prospectFiltersFieldsAttributesLoading,\n clientSequenceAssociation: true,\n };\n state.prospectFiltersFieldsAttributesFetched = {\n ...state.prospectFiltersFieldsAttributesFetched,\n clientSequenceAssociation: true,\n };\n });\n builder.addCase(\n getProspectFiltersClientsListRequest.fulfilled,\n (state, action) => {\n state.getProspectFiltersClientsListRequest.status =\n RequestStatus.Succeeded;\n state.getProspectFiltersClientsListRequest.message =\n action.payload.message;\n state.prospectFiltersFieldsAttributesValue = {\n ...state.prospectFiltersFieldsAttributesValue,\n clientSequenceAssociation: {\n meta: {\n ...action.meta.arg,\n key: 'clientSequenceAssociation',\n hasMoreData: action.payload.payload.hasMoreData,\n },\n payload:\n action.meta.arg.page === 1\n ? action.payload.payload.clients?.map((client) => ({\n name: `${client.companyName || ''} (${\n client.email\n })`.trim(),\n value: client.id.toString(),\n }))\n : [\n ...(state.prospectFiltersFieldsAttributesValue\n ?.clientSequenceAssociation?.payload || []),\n ...action.payload.payload.clients?.map((client) => ({\n name: `${client.companyName || ''} (${\n client.email\n })`.trim(),\n value: client.id.toString(),\n })),\n ],\n },\n };\n state.prospectFiltersFieldsAttributesLoading = {\n ...state.prospectFiltersFieldsAttributesLoading,\n clientSequenceAssociation: false,\n };\n },\n );\n builder.addCase(\n getProspectFiltersClientsListRequest.rejected,\n (state, action) => {\n state.getProspectFiltersClientsListRequest.status =\n RequestStatus.Failed;\n state.getProspectFiltersClientsListRequest.error =\n !action.payload.isHandled && action.payload;\n state.prospectFiltersFieldsAttributesLoading = {\n ...state.prospectFiltersFieldsAttributesLoading,\n clientSequenceAssociation: false,\n };\n },\n );\n\n // Get Prospect Filter Tags List\n builder.addCase(getProspectFiltersTagsListRequest.pending, (state) => {\n state.getProspectFiltersTagsListRequest.status = RequestStatus.Pending;\n state.getProspectFiltersTagsListRequest.error = null;\n state.prospectFiltersFieldsAttributesLoading = {\n ...state.prospectFiltersFieldsAttributesLoading,\n tags: true,\n };\n state.prospectFiltersFieldsAttributesFetched = {\n ...state.prospectFiltersFieldsAttributesFetched,\n tags: true,\n };\n });\n builder.addCase(\n getProspectFiltersTagsListRequest.fulfilled,\n (state, action) => {\n state.getProspectFiltersTagsListRequest.status =\n RequestStatus.Succeeded;\n state.getProspectFiltersTagsListRequest.message =\n action.payload.message;\n state.prospectFiltersFieldsAttributesValue = {\n ...state.prospectFiltersFieldsAttributesValue,\n tags: {\n meta: null,\n payload: [\n ...(state.prospectFiltersFieldsAttributesValue?.tags?.payload ||\n []),\n ...action.payload.payload?.map((tag) => ({\n name: tag.name,\n value: tag.id.toString(),\n })),\n ],\n },\n };\n state.prospectFiltersFieldsAttributesLoading = {\n ...state.prospectFiltersFieldsAttributesLoading,\n tags: false,\n };\n },\n );\n builder.addCase(\n getProspectFiltersTagsListRequest.rejected,\n (state, action) => {\n state.getProspectFiltersTagsListRequest.status = RequestStatus.Failed;\n state.getProspectFiltersTagsListRequest.error =\n !action.payload.isHandled && action.payload;\n state.prospectFiltersFieldsAttributesLoading = {\n ...state.prospectFiltersFieldsAttributesLoading,\n tags: false,\n };\n },\n );\n\n // Get Prospect Filter Owners List\n builder.addCase(getProspectFiltersOwnersListRequest.pending, (state) => {\n state.getProspectFiltersOwnersListRequest.status = RequestStatus.Pending;\n state.getProspectFiltersOwnersListRequest.error = null;\n state.prospectFiltersFieldsAttributesLoading = {\n ...state.prospectFiltersFieldsAttributesLoading,\n owners: true,\n };\n state.prospectFiltersFieldsAttributesFetched = {\n ...state.prospectFiltersFieldsAttributesFetched,\n owners: true,\n };\n });\n builder.addCase(\n getProspectFiltersOwnersListRequest.fulfilled,\n (state, action) => {\n state.getProspectFiltersOwnersListRequest.status =\n RequestStatus.Succeeded;\n state.getProspectFiltersOwnersListRequest.message =\n action.payload.message;\n state.prospectFiltersFieldsAttributesValue = {\n ...state.prospectFiltersFieldsAttributesValue,\n owners: {\n meta: null,\n payload: [\n ...(state.prospectFiltersFieldsAttributesValue?.owners?.payload ||\n []),\n ...action.payload.payload,\n ],\n },\n };\n state.prospectFiltersFieldsAttributesLoading = {\n ...state.prospectFiltersFieldsAttributesLoading,\n owners: false,\n };\n },\n );\n builder.addCase(\n getProspectFiltersOwnersListRequest.rejected,\n (state, action) => {\n state.getProspectFiltersOwnersListRequest.status = RequestStatus.Failed;\n state.getProspectFiltersOwnersListRequest.error =\n !action.payload.isHandled && action.payload;\n state.prospectFiltersFieldsAttributesLoading = {\n ...state.prospectFiltersFieldsAttributesLoading,\n owners: false,\n };\n },\n );\n\n // Get Prospect Filter Owners List For Agency\n builder.addCase(\n getProspectFiltersOwnersListForAgencyRequest.pending,\n (state) => {\n state.getProspectFiltersOwnersListForAgencyRequest.status =\n RequestStatus.Pending;\n state.getProspectFiltersOwnersListForAgencyRequest.error = null;\n state.prospectFiltersFieldsAttributesLoading = {\n ...state.prospectFiltersFieldsAttributesLoading,\n owners: true,\n };\n state.prospectFiltersFieldsAttributesFetched = {\n ...state.prospectFiltersFieldsAttributesFetched,\n owners: true,\n };\n },\n );\n builder.addCase(\n getProspectFiltersOwnersListForAgencyRequest.fulfilled,\n (state, action) => {\n state.getProspectFiltersOwnersListForAgencyRequest.status =\n RequestStatus.Succeeded;\n state.getProspectFiltersOwnersListForAgencyRequest.message =\n action.payload.message;\n\n state.prospectFiltersFieldsAttributesValue = {\n ...state.prospectFiltersFieldsAttributesValue,\n owners: {\n meta: null,\n payload: [\n ...(state.prospectFiltersFieldsAttributesValue?.owners?.payload ||\n []),\n ...action.payload.payload?.map((owner) => ({\n name:\n `${owner?.firstName || ''} ${owner?.lastName || ''}`.trim() ??\n owner?.email,\n value: owner?.id?.toString() || '',\n })),\n ],\n },\n };\n state.prospectFiltersFieldsAttributesLoading = {\n ...state.prospectFiltersFieldsAttributesLoading,\n owners: false,\n };\n },\n );\n builder.addCase(\n getProspectFiltersOwnersListForAgencyRequest.rejected,\n (state, action) => {\n state.getProspectFiltersOwnersListForAgencyRequest.status =\n RequestStatus.Failed;\n state.getProspectFiltersOwnersListForAgencyRequest.error =\n !action.payload.isHandled && action.payload;\n state.prospectFiltersFieldsAttributesLoading = {\n ...state.prospectFiltersFieldsAttributesLoading,\n owners: false,\n };\n },\n );\n\n // Get Prospect Filter Outcomes List\n builder.addCase(getProspectFiltersOutcomeListRequest.pending, (state) => {\n state.getProspectFiltersOutcomeListRequest.status = RequestStatus.Pending;\n state.getProspectFiltersOutcomeListRequest.error = null;\n state.prospectFiltersFieldsAttributesLoading = {\n ...state.prospectFiltersFieldsAttributesLoading,\n outcomes: true,\n };\n state.prospectFiltersFieldsAttributesFetched = {\n ...state.prospectFiltersFieldsAttributesFetched,\n outcomes: true,\n };\n });\n builder.addCase(\n getProspectFiltersOutcomeListRequest.fulfilled,\n (state, action) => {\n state.getProspectFiltersOutcomeListRequest.status =\n RequestStatus.Succeeded;\n state.getProspectFiltersOutcomeListRequest.message =\n action.payload.message;\n state.prospectFiltersFieldsAttributesValue = {\n ...state.prospectFiltersFieldsAttributesValue,\n outcomes: {\n meta: null,\n payload: [\n ...(state.prospectFiltersFieldsAttributesValue?.outcomes\n ?.payload || []),\n ...action.payload.payload?.map((outcome) => ({\n name: outcome.name,\n value: outcome.id.toString(),\n })),\n ],\n },\n };\n state.prospectFiltersFieldsAttributesLoading = {\n ...state.prospectFiltersFieldsAttributesLoading,\n outcomes: false,\n };\n },\n );\n builder.addCase(\n getProspectFiltersOutcomeListRequest.rejected,\n (state, action) => {\n state.getProspectFiltersOutcomeListRequest.status =\n RequestStatus.Failed;\n state.getProspectFiltersOutcomeListRequest.error =\n !action.payload.isHandled && action.payload;\n state.prospectFiltersFieldsAttributesLoading = {\n ...state.prospectFiltersFieldsAttributesLoading,\n outcomes: false,\n };\n },\n );\n\n // Save Prospect Filters View\n builder.addCase(saveProspectFiltersViewRequest.pending, (state) => {\n state.saveProspectFiltersViewRequest.status = RequestStatus.Pending;\n state.saveProspectFiltersViewRequest.error = null;\n });\n builder.addCase(\n saveProspectFiltersViewRequest.fulfilled,\n (state, action) => {\n state.saveProspectFiltersViewRequest.status = RequestStatus.Succeeded;\n state.saveProspectFiltersViewRequest.message = action.payload.message;\n state.selectedSavedView = action.payload.payload;\n },\n );\n builder.addCase(\n saveProspectFiltersViewRequest.rejected,\n (state, action) => {\n state.saveProspectFiltersViewRequest.status = RequestStatus.Failed;\n state.saveProspectFiltersViewRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Update Prospect Filters View\n builder.addCase(updateProspectFiltersViewRequest.pending, (state) => {\n state.updateProspectFiltersViewRequest.status = RequestStatus.Pending;\n state.updateProspectFiltersViewRequest.error = null;\n });\n builder.addCase(\n updateProspectFiltersViewRequest.fulfilled,\n (state, action) => {\n state.updateProspectFiltersViewRequest.status = RequestStatus.Succeeded;\n state.updateProspectFiltersViewRequest.message = action.payload.message;\n },\n );\n builder.addCase(\n updateProspectFiltersViewRequest.rejected,\n (state, action) => {\n state.updateProspectFiltersViewRequest.status = RequestStatus.Failed;\n state.updateProspectFiltersViewRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Delete Prospect Filters View\n builder.addCase(deleteProspectFiltersViewRequest.pending, (state) => {\n state.deleteProspectFiltersViewRequest.status = RequestStatus.Pending;\n state.deleteProspectFiltersViewRequest.error = null;\n });\n builder.addCase(\n deleteProspectFiltersViewRequest.fulfilled,\n (state, action) => {\n state.deleteProspectFiltersViewRequest.status = RequestStatus.Succeeded;\n state.deleteProspectFiltersViewRequest.message = action.payload.message;\n },\n );\n builder.addCase(\n deleteProspectFiltersViewRequest.rejected,\n (state, action) => {\n state.deleteProspectFiltersViewRequest.status = RequestStatus.Failed;\n state.deleteProspectFiltersViewRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Prospect Request\n builder.addCase(getProspectRequest.pending, (state) => {\n state.getProspectRequest.status = RequestStatus.Pending;\n state.getProspectRequest.error = null;\n });\n builder.addCase(getProspectRequest.fulfilled, (state, action) => {\n state.getProspectRequest.status = RequestStatus.Succeeded;\n state.getProspectRequest.message = action.payload.message;\n state.prospects = action.payload.payload.contacts;\n });\n builder.addCase(getProspectRequest.rejected, (state, action) => {\n state.getProspectRequest.status = RequestStatus.Failed;\n state.getProspectRequest.error =\n !action.payload.isHandled && action.payload;\n });\n // Prospect Count Request\n builder.addCase(getProspectCountRequest.pending, (state) => {\n state.getProspectCountRequest.status = RequestStatus.Pending;\n state.getProspectCountRequest.error = null;\n });\n builder.addCase(getProspectCountRequest.fulfilled, (state, action) => {\n state.getProspectCountRequest.status = RequestStatus.Succeeded;\n state.getProspectCountRequest.message = action.payload.message;\n state.prospectCount = action.payload.payload;\n });\n builder.addCase(getProspectCountRequest.rejected, (state, action) => {\n state.getProspectCountRequest.status = RequestStatus.Failed;\n state.getProspectCountRequest.error =\n !action.payload.isHandled && action.payload;\n });\n // Sequence List\n builder.addCase(getSequenceListRequest.pending, (state) => {\n state.getSequenceListRequest.status = RequestStatus.Pending;\n state.getSequenceListRequest.error = null;\n });\n builder.addCase(getSequenceListRequest.fulfilled, (state, action) => {\n state.getSequenceListRequest.status = RequestStatus.Succeeded;\n state.getSequenceListRequest.message = action.payload.message;\n state.sequences = action.payload.payload;\n });\n builder.addCase(getSequenceListRequest.rejected, (state, action) => {\n state.getSequenceListRequest.status = RequestStatus.Failed;\n state.getSequenceListRequest.error =\n !action.payload.isHandled && action.payload;\n });\n // Step List\n builder.addCase(getStepListRequest.pending, (state) => {\n state.getStepListRequest.status = RequestStatus.Pending;\n state.getStepListRequest.error = null;\n });\n builder.addCase(getStepListRequest.fulfilled, (state, action) => {\n state.getStepListRequest.status = RequestStatus.Succeeded;\n state.getStepListRequest.message = action.payload.message;\n state.steps = action.payload.payload;\n });\n builder.addCase(getStepListRequest.rejected, (state, action) => {\n state.getStepListRequest.status = RequestStatus.Failed;\n state.getStepListRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Step Details List\n builder.addCase(getStepDetailsListRequest.pending, (state) => {\n state.getStepDetailsListRequest.status = RequestStatus.Pending;\n state.getStepDetailsListRequest.error = null;\n });\n builder.addCase(getStepDetailsListRequest.fulfilled, (state, action) => {\n state.getStepDetailsListRequest.status = RequestStatus.Succeeded;\n state.getStepDetailsListRequest.message = action.payload.message;\n state.stepsDetails = action.payload.payload;\n });\n builder.addCase(getStepDetailsListRequest.rejected, (state, action) => {\n state.getStepDetailsListRequest.status = RequestStatus.Failed;\n state.getStepDetailsListRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Remove Prospect\n builder.addCase(removeProspectRequest.pending, (state) => {\n state.removeProspectRequest.status = RequestStatus.Pending;\n state.removeProspectRequest.error = null;\n });\n builder.addCase(removeProspectRequest.fulfilled, (state, action) => {\n state.removeProspectRequest.status = RequestStatus.Succeeded;\n state.removeProspectRequest.message = action.payload.message;\n state.steps = action.payload.payload;\n });\n builder.addCase(removeProspectRequest.rejected, (state, action) => {\n state.removeProspectRequest.status = RequestStatus.Failed;\n state.removeProspectRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Unsubscribe Prospect Request\n builder.addCase(unsubscribeProspectRequest.pending, (state) => {\n state.unsubscribeProspectRequest.status = RequestStatus.Pending;\n state.unsubscribeProspectRequest.error = null;\n });\n builder.addCase(unsubscribeProspectRequest.fulfilled, (state, action) => {\n state.unsubscribeProspectRequest.status = RequestStatus.Succeeded;\n state.unsubscribeProspectRequest.message = action.payload.message;\n state.steps = action.payload.payload;\n });\n builder.addCase(unsubscribeProspectRequest.rejected, (state, action) => {\n state.unsubscribeProspectRequest.status = RequestStatus.Failed;\n state.unsubscribeProspectRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Single Contact Details\n builder.addCase(getSingleProspectDetailsRequest.pending, (state) => {\n state.getSingleProspectDetailsRequest.status = RequestStatus.Pending;\n state.getSingleProspectDetailsRequest.error = null;\n });\n builder.addCase(\n getSingleProspectDetailsRequest.fulfilled,\n (state, action) => {\n state.getSingleProspectDetailsRequest.status = RequestStatus.Succeeded;\n state.getSingleProspectDetailsRequest.message = action.payload.message;\n state.singleProspect = action.payload.payload;\n },\n );\n builder.addCase(\n getSingleProspectDetailsRequest.rejected,\n (state, action) => {\n state.getSingleProspectDetailsRequest.status = RequestStatus.Failed;\n state.getSingleProspectDetailsRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Get Single Contact Sequence Details\n builder.addCase(\n getSingleProspectSequencesDetailsRequest.pending,\n (state) => {\n state.getSingleProspectSequencesDetailsRequest.status =\n RequestStatus.Pending;\n state.getSingleProspectSequencesDetailsRequest.error = null;\n },\n );\n builder.addCase(\n getSingleProspectSequencesDetailsRequest.fulfilled,\n (state, action) => {\n state.getSingleProspectSequencesDetailsRequest.status =\n RequestStatus.Succeeded;\n state.getSingleProspectSequencesDetailsRequest.message =\n action.payload.message;\n state.singleProspectSequenceDetails = action.payload.payload;\n },\n );\n builder.addCase(\n getSingleProspectSequencesDetailsRequest.rejected,\n (state, action) => {\n state.getSingleProspectSequencesDetailsRequest.status =\n RequestStatus.Failed;\n state.getSingleProspectSequencesDetailsRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Mark Single Contact Sequence as Replied\n builder.addCase(\n singleProspectSequencesMarkAsRepliedRequest.pending,\n (state) => {\n state.singleProspectSequencesMarkAsRepliedRequest.status =\n RequestStatus.Pending;\n state.singleProspectSequencesMarkAsRepliedRequest.error = null;\n },\n );\n builder.addCase(\n singleProspectSequencesMarkAsRepliedRequest.fulfilled,\n (state, action) => {\n state.singleProspectSequencesMarkAsRepliedRequest.status =\n RequestStatus.Succeeded;\n state.singleProspectSequencesMarkAsRepliedRequest.message =\n action.payload.message;\n },\n );\n builder.addCase(\n singleProspectSequencesMarkAsRepliedRequest.rejected,\n (state, action) => {\n state.singleProspectSequencesMarkAsRepliedRequest.status =\n RequestStatus.Failed;\n state.singleProspectSequencesMarkAsRepliedRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Mark Single Contact Sequence as Finished\n builder.addCase(\n singleProspectSequencesMarkAsFinishedRequest.pending,\n (state) => {\n state.singleProspectSequencesMarkAsFinishedRequest.status =\n RequestStatus.Pending;\n state.singleProspectSequencesMarkAsFinishedRequest.error = null;\n },\n );\n builder.addCase(\n singleProspectSequencesMarkAsFinishedRequest.fulfilled,\n (state, action) => {\n state.singleProspectSequencesMarkAsFinishedRequest.status =\n RequestStatus.Succeeded;\n state.singleProspectSequencesMarkAsFinishedRequest.message =\n action.payload.message;\n },\n );\n builder.addCase(\n singleProspectSequencesMarkAsFinishedRequest.rejected,\n (state, action) => {\n state.singleProspectSequencesMarkAsFinishedRequest.status =\n RequestStatus.Failed;\n state.singleProspectSequencesMarkAsFinishedRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Remove From Sequence for single contact\n builder.addCase(\n singleProspectRemoveFromSequencesRequest.pending,\n (state) => {\n state.singleProspectRemoveFromSequencesRequest.status =\n RequestStatus.Pending;\n state.singleProspectRemoveFromSequencesRequest.error = null;\n },\n );\n builder.addCase(\n singleProspectRemoveFromSequencesRequest.fulfilled,\n (state, action) => {\n state.singleProspectRemoveFromSequencesRequest.status =\n RequestStatus.Succeeded;\n state.singleProspectRemoveFromSequencesRequest.message =\n action.payload.message;\n },\n );\n builder.addCase(\n singleProspectRemoveFromSequencesRequest.rejected,\n (state, action) => {\n state.singleProspectRemoveFromSequencesRequest.status =\n RequestStatus.Failed;\n state.singleProspectRemoveFromSequencesRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Add Contact to step\n builder.addCase(addToStepRequest.pending, (state) => {\n state.addToStepRequest.status = RequestStatus.Pending;\n state.addToStepRequest.error = null;\n });\n builder.addCase(addToStepRequest.fulfilled, (state, action) => {\n state.addToStepRequest.status = RequestStatus.Succeeded;\n state.addToStepRequest.message = action.payload.message;\n state.addToStepRequestResultCount.failed = action.payload.payload.failed;\n state.addToStepRequestResultCount.successful =\n action.payload.payload.successful;\n state.addToStepRequestResultCount.resultData = action.payload.payload;\n });\n builder.addCase(addToStepRequest.rejected, (state, action) => {\n state.addToStepRequest.status = RequestStatus.Failed;\n state.addToStepRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Save contact attributes\n builder.addCase(saveContactAttributesRequest.pending, (state) => {\n state.saveContactAttributesRequest.status = RequestStatus.Pending;\n state.saveContactAttributesRequest.error = null;\n });\n builder.addCase(saveContactAttributesRequest.fulfilled, (state, action) => {\n state.saveContactAttributesRequest.status = RequestStatus.Succeeded;\n state.saveContactAttributesRequest.message = action.payload.message;\n state.singleProspect = action.payload.payload;\n });\n builder.addCase(saveContactAttributesRequest.rejected, (state, action) => {\n state.saveContactAttributesRequest.status = RequestStatus.Failed;\n state.saveContactAttributesRequest.error =\n !action.payload.isHandled && action.payload;\n });\n // saveContactDealValueRequest\n builder.addCase(saveContactDealValueRequest.pending, (state) => {\n state.saveContactDealValueRequest.status = RequestStatus.Pending;\n state.saveContactDealValueRequest.error = null;\n });\n builder.addCase(saveContactDealValueRequest.fulfilled, (state, action) => {\n state.saveContactDealValueRequest.status = RequestStatus.Succeeded;\n state.saveContactDealValueRequest.message = action.payload.message;\n state.singleProspect = action.payload.payload;\n });\n builder.addCase(saveContactDealValueRequest.rejected, (state, action) => {\n state.saveContactDealValueRequest.status = RequestStatus.Failed;\n state.saveContactDealValueRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Fields\n builder.addCase(getFieldsRequest.pending, (state) => {\n state.getFieldsRequest.status = RequestStatus.Pending;\n state.getFieldsRequest.error = null;\n });\n builder.addCase(getFieldsRequest.fulfilled, (state, action) => {\n state.getFieldsRequest.status = RequestStatus.Succeeded;\n state.getFieldsRequest.message = action.payload.message;\n state.fields = action.payload.payload;\n });\n builder.addCase(getFieldsRequest.rejected, (state, action) => {\n state.getFieldsRequest.status = RequestStatus.Failed;\n state.getFieldsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Add prospect manually\n builder.addCase(addProspectManuallyRequest.pending, (state) => {\n state.addProspectManuallyRequest.status = RequestStatus.Pending;\n state.addProspectManuallyRequest.error = null;\n });\n builder.addCase(addProspectManuallyRequest.fulfilled, (state, action) => {\n state.addProspectManuallyRequest.status = RequestStatus.Succeeded;\n state.addProspectResponse = action.payload.payload;\n state.addProspectManuallyRequest.message = action.payload.message;\n });\n builder.addCase(addProspectManuallyRequest.rejected, (state, action) => {\n state.addProspectManuallyRequest.status = RequestStatus.Failed;\n state.addProspectManuallyRequest.error =\n !action.payload?.isHandled && action.payload;\n });\n\n // Verify Prospect Manually\n builder.addCase(verifyProspectsManuallyRequest.pending, (state) => {\n state.verifyProspectManuallyRequest.status = RequestStatus.Pending;\n state.verifyProspectManuallyRequest.error = null;\n });\n builder.addCase(\n verifyProspectsManuallyRequest.fulfilled,\n (state, action) => {\n state.verifyProspectManuallyRequest.status = RequestStatus.Succeeded;\n state.verifyProspectManuallyRequest.message = action.payload.message;\n },\n );\n builder.addCase(\n verifyProspectsManuallyRequest.rejected,\n (state, action) => {\n state.verifyProspectManuallyRequest.status = RequestStatus.Failed;\n state.verifyProspectManuallyRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Tags\n builder.addCase(getTagsRequest.pending, (state) => {\n state.getTagsRequest.status = RequestStatus.Pending;\n state.getTagsRequest.error = null;\n });\n builder.addCase(getTagsRequest.fulfilled, (state, action) => {\n state.getTagsRequest.status = RequestStatus.Succeeded;\n state.getTagsRequest.message = action.payload.message;\n state.tags = action.payload.payload;\n });\n builder.addCase(getTagsRequest.rejected, (state, action) => {\n state.getTagsRequest.status = RequestStatus.Failed;\n state.getTagsRequest.error = !action.payload.isHandled && action.payload;\n });\n\n builder.addCase(getTagsToLeadsRequest.pending, (state) => {\n state.getTagsToLeadsRequest.status = RequestStatus.Pending;\n state.getTagsToLeadsRequest.error = null;\n });\n builder.addCase(getTagsToLeadsRequest.fulfilled, (state, action) => {\n state.getTagsToLeadsRequest.status = RequestStatus.Succeeded;\n state.getTagsToLeadsRequest.message = action.payload.message;\n state.leadTags = action.payload.payload;\n });\n builder.addCase(getTagsToLeadsRequest.rejected, (state, action) => {\n state.getTagsToLeadsRequest.status = RequestStatus.Failed;\n state.getTagsToLeadsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Add Tags to Prospects\n builder.addCase(addTagsToProspectsRequest.pending, (state) => {\n state.addTagsToProspectsRequest.status = RequestStatus.Pending;\n state.addTagsToProspectsRequest.error = null;\n });\n builder.addCase(addTagsToProspectsRequest.fulfilled, (state, action) => {\n state.addTagsToProspectsRequest.status = RequestStatus.Succeeded;\n state.addTagsToProspectsRequest.message = action.payload.message;\n });\n builder.addCase(addTagsToProspectsRequest.rejected, (state, action) => {\n state.addTagsToProspectsRequest.status = RequestStatus.Failed;\n state.addTagsToProspectsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Remove Tags to Prospects\n builder.addCase(removeTagsFromProspectsRequest.pending, (state) => {\n state.removeTagsFromProspectsRequest.status = RequestStatus.Pending;\n state.removeTagsFromProspectsRequest.error = null;\n });\n builder.addCase(\n removeTagsFromProspectsRequest.fulfilled,\n (state, action) => {\n state.removeTagsFromProspectsRequest.status = RequestStatus.Succeeded;\n state.removeTagsFromProspectsRequest.message = action.payload.message;\n },\n );\n builder.addCase(\n removeTagsFromProspectsRequest.rejected,\n (state, action) => {\n state.removeTagsFromProspectsRequest.status = RequestStatus.Failed;\n state.removeTagsFromProspectsRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Verify Bulk Prospects\n builder.addCase(verifyBulkProspectsRequest.pending, (state) => {\n state.verifyBulkProspectsRequest.status = RequestStatus.Pending;\n state.verifyBulkProspectsRequest.error = null;\n });\n builder.addCase(verifyBulkProspectsRequest.fulfilled, (state, action) => {\n state.verifyBulkProspectsRequest.status = RequestStatus.Succeeded;\n state.verifyBulkProspectsRequest.message = action.payload.payload.message;\n });\n builder.addCase(verifyBulkProspectsRequest.rejected, (state, action) => {\n state.verifyBulkProspectsRequest.status = RequestStatus.Failed;\n state.verifyBulkProspectsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Delete Bulk Prospects\n builder.addCase(deleteBulkProspectsRequest.pending, (state) => {\n state.deleteBulkProspectsRequest.status = RequestStatus.Pending;\n state.deleteBulkProspectsRequest.error = null;\n });\n builder.addCase(deleteBulkProspectsRequest.fulfilled, (state, action) => {\n state.deleteBulkProspectsRequest.status = RequestStatus.Succeeded;\n state.deleteBulkProspectsRequest.message = action.payload.payload.message;\n });\n builder.addCase(deleteBulkProspectsRequest.rejected, (state, action) => {\n state.deleteBulkProspectsRequest.status = RequestStatus.Failed;\n state.deleteBulkProspectsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Unsubscribe Bulk Prospects\n builder.addCase(unsubscribeBulkProspectRequest.pending, (state) => {\n state.unsubscribeBulkProspectRequest.status = RequestStatus.Pending;\n state.unsubscribeBulkProspectRequest.error = null;\n });\n builder.addCase(\n unsubscribeBulkProspectRequest.fulfilled,\n (state, action) => {\n state.unsubscribeBulkProspectRequest.status = RequestStatus.Succeeded;\n state.unsubscribeBulkProspectRequest.message =\n action.payload.payload.message;\n state.steps = action.payload.payload;\n },\n );\n builder.addCase(\n unsubscribeBulkProspectRequest.rejected,\n (state, action) => {\n state.unsubscribeBulkProspectRequest.status = RequestStatus.Failed;\n state.unsubscribeBulkProspectRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Add Bulk Prospects To Step\n builder.addCase(addBulkProspectsToStepRequest.pending, (state) => {\n state.addBulkProspectsToStepRequest.status = RequestStatus.Pending;\n state.addBulkProspectsToStepRequest.error = null;\n });\n builder.addCase(\n addBulkProspectsToStepRequest.fulfilled,\n (state, action) => {\n state.addBulkProspectsToStepRequest.status = RequestStatus.Succeeded;\n state.addBulkProspectsToStepRequest.message =\n action.payload.payload.message;\n state.addToStepRequestResultCount.failed =\n action.payload.payload.failed;\n state.addToStepRequestResultCount.successful =\n action.payload.payload.successful;\n state.addToStepRequestResultCount.resultData = action.payload.payload;\n },\n );\n builder.addCase(addBulkProspectsToStepRequest.rejected, (state, action) => {\n state.addBulkProspectsToStepRequest.status = RequestStatus.Failed;\n state.addBulkProspectsToStepRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Add Tags To Bulk Prospects\n builder.addCase(addTagsToBulkProspectsRequest.pending, (state) => {\n state.addTagsToBulkProspectsRequest.status = RequestStatus.Pending;\n state.addTagsToBulkProspectsRequest.error = null;\n });\n builder.addCase(\n addTagsToBulkProspectsRequest.fulfilled,\n (state, action) => {\n state.addTagsToBulkProspectsRequest.status = RequestStatus.Succeeded;\n state.addTagsToBulkProspectsRequest.message =\n action.payload.payload.message;\n },\n );\n builder.addCase(addTagsToBulkProspectsRequest.rejected, (state, action) => {\n state.addTagsToBulkProspectsRequest.status = RequestStatus.Failed;\n state.addTagsToBulkProspectsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Remove Tags From Bulk Prospects\n builder.addCase(removeTagsFromBulkProspectsRequest.pending, (state) => {\n state.removeTagsFromBulkProspectsRequest.status = RequestStatus.Pending;\n state.removeTagsFromBulkProspectsRequest.error = null;\n });\n builder.addCase(\n removeTagsFromBulkProspectsRequest.fulfilled,\n (state, action) => {\n state.removeTagsFromBulkProspectsRequest.status =\n RequestStatus.Succeeded;\n state.removeTagsFromBulkProspectsRequest.message =\n action.payload.payload.message;\n },\n );\n builder.addCase(\n removeTagsFromBulkProspectsRequest.rejected,\n (state, action) => {\n state.removeTagsFromBulkProspectsRequest.status = RequestStatus.Failed;\n state.removeTagsFromBulkProspectsRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Prospect primary email change\n builder.addCase(changePrimaryEmailInProspectRequest.pending, (state) => {\n state.changePrimaryEmailInProspectRequest.status = RequestStatus.Pending;\n state.changePrimaryEmailInProspectRequest.error = null;\n });\n builder.addCase(\n changePrimaryEmailInProspectRequest.fulfilled,\n (state, action) => {\n state.changePrimaryEmailInProspectRequest.status =\n RequestStatus.Succeeded;\n state.changePrimaryEmailInProspectRequest.message =\n action.payload.message;\n },\n );\n builder.addCase(\n changePrimaryEmailInProspectRequest.rejected,\n (state, action) => {\n state.changePrimaryEmailInProspectRequest.status = RequestStatus.Failed;\n state.changePrimaryEmailInProspectRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Delete secondary email from prospect\n builder.addCase(deleteSecondaryEmailRequest.pending, (state) => {\n state.deleteSecondaryEmailRequest.status = RequestStatus.Pending;\n state.deleteSecondaryEmailRequest.error = null;\n });\n builder.addCase(deleteSecondaryEmailRequest.fulfilled, (state, action) => {\n state.deleteSecondaryEmailRequest.status = RequestStatus.Succeeded;\n state.deleteSecondaryEmailRequest.message = action.payload.message;\n });\n builder.addCase(deleteSecondaryEmailRequest.rejected, (state, action) => {\n state.deleteSecondaryEmailRequest.status = RequestStatus.Failed;\n state.deleteSecondaryEmailRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Delete secondary Phone from prospect\n builder.addCase(deleteSecondaryPhoneRequest.pending, (state) => {\n state.deleteSecondaryPhoneRequest.status = RequestStatus.Pending;\n state.deleteSecondaryPhoneRequest.error = null;\n });\n builder.addCase(deleteSecondaryPhoneRequest.fulfilled, (state, action) => {\n state.deleteSecondaryPhoneRequest.status = RequestStatus.Succeeded;\n state.deleteSecondaryPhoneRequest.message = action.payload.message;\n });\n builder.addCase(deleteSecondaryPhoneRequest.rejected, (state, action) => {\n state.deleteSecondaryPhoneRequest.status = RequestStatus.Failed;\n state.deleteSecondaryPhoneRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Filter View List\n builder.addCase(getFilterViewListRequest.pending, (state) => {\n state.getFilterViewListRequest.status = RequestStatus.Pending;\n state.getFilterViewListRequest.error = null;\n });\n builder.addCase(getFilterViewListRequest.fulfilled, (state, action) => {\n state.getFilterViewListRequest.status = RequestStatus.Succeeded;\n state.savedFilters = action.payload.payload;\n state.getFilterViewListRequest.message = action.payload.message;\n });\n builder.addCase(getFilterViewListRequest.rejected, (state, action) => {\n state.getFilterViewListRequest.status = RequestStatus.Failed;\n state.getFilterViewListRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Pin Unpin Saved Filter\n builder.addCase(pinUnpinSavedFilterRequest.pending, (state) => {\n state.pinUnpinSavedFilterRequest.status = RequestStatus.Pending;\n state.pinUnpinSavedFilterRequest.error = null;\n });\n builder.addCase(pinUnpinSavedFilterRequest.fulfilled, (state, action) => {\n state.pinUnpinSavedFilterRequest.status = RequestStatus.Succeeded;\n // state.savedFilters = action.payload.payload;\n state.pinUnpinSavedFilterRequest.message = action.payload.message;\n });\n builder.addCase(pinUnpinSavedFilterRequest.rejected, (state, action) => {\n state.pinUnpinSavedFilterRequest.status = RequestStatus.Failed;\n state.pinUnpinSavedFilterRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Update Saved Filter\n builder.addCase(updateSavedFilterRequest.pending, (state) => {\n state.updateSavedFilterRequest.status = RequestStatus.Pending;\n state.updateSavedFilterRequest.error = null;\n });\n builder.addCase(updateSavedFilterRequest.fulfilled, (state, action) => {\n state.updateSavedFilterRequest.status = RequestStatus.Succeeded;\n if (\n state.selectedSavedView &&\n state.selectedSavedView?.id === action.payload.payload?.id\n ) {\n state.selectedSavedView = {\n ...(state.selectedSavedView || {}),\n ...(action.payload.payload || {}),\n };\n }\n state.updateSavedFilterRequest.message = action.payload.message;\n });\n builder.addCase(updateSavedFilterRequest.rejected, (state, action) => {\n state.updateSavedFilterRequest.status = RequestStatus.Failed;\n state.updateSavedFilterRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Delete Saved Filter\n builder.addCase(deleteSavedViewRequest.pending, (state) => {\n state.deleteSavedViewRequest.status = RequestStatus.Pending;\n state.deleteSavedViewRequest.error = null;\n });\n builder.addCase(deleteSavedViewRequest.fulfilled, (state, action) => {\n state.deleteSavedViewRequest.status = RequestStatus.Succeeded;\n // state.savedFilters = action.payload.payload;\n state.deleteSavedViewRequest.message = action.payload.message;\n });\n builder.addCase(deleteSavedViewRequest.rejected, (state, action) => {\n state.deleteSavedViewRequest.status = RequestStatus.Failed;\n state.deleteSavedViewRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Contact By View Id\n builder.addCase(getContactListByViewIdRequest.pending, (state) => {\n state.getContactListByViewIdRequest.status = RequestStatus.Pending;\n state.getContactListByViewIdRequest.error = null;\n state.prospects = [];\n state.prospectCount = 0;\n });\n builder.addCase(\n getContactListByViewIdRequest.fulfilled,\n (state, action) => {\n state.getContactListByViewIdRequest.status = RequestStatus.Succeeded;\n state.prospects = action.payload.payload.contacts;\n state.selectedSavedView = {\n ...(state.selectedSavedView || {}),\n ...action.payload.payload.view,\n ...(state.selectedSavedView?.teams?.length > 0 && {\n teams: state.selectedSavedView?.teams,\n }),\n };\n state.filters = {\n ...state.filters,\n pageNum: 1,\n search: '',\n filterGroupLogic: action.payload.payload.view.filterCriteria,\n };\n state.getContactListByViewIdRequest.message = action.payload.message;\n },\n );\n builder.addCase(getContactListByViewIdRequest.rejected, (state, action) => {\n state.getContactListByViewIdRequest.status = RequestStatus.Failed;\n state.getContactListByViewIdRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Imported Files List\n builder.addCase(getImportedFilesListRequest.pending, (state) => {\n state.getImportedFilesListRequest.status = RequestStatus.Pending;\n state.getImportedFilesListRequest.error = null;\n });\n builder.addCase(getImportedFilesListRequest.fulfilled, (state, action) => {\n state.getImportedFilesListRequest.status = RequestStatus.Succeeded;\n state.importedFilesList =\n action?.payload?.payload?.length > 0 ? action.payload.payload : [];\n });\n builder.addCase(getImportedFilesListRequest.rejected, (state, action) => {\n state.getImportedFilesListRequest.status = RequestStatus.Failed;\n state.getImportedFilesListRequest.error =\n !action?.payload?.isHandled && action?.payload;\n });\n // Update Prospect field\n builder.addCase(updateProspectFieldByIdRequest.pending, (state) => {\n state.updateProspectFieldByIdRequest.status = RequestStatus.Pending;\n state.updateProspectFieldByIdRequest.error = null;\n });\n builder.addCase(\n updateProspectFieldByIdRequest.fulfilled,\n (state, action) => {\n state.updateProspectFieldByIdRequest.status = RequestStatus.Succeeded;\n state.updateProspectFieldByIdRequest.message = action.payload.message;\n },\n );\n builder.addCase(\n updateProspectFieldByIdRequest.rejected,\n (state, action) => {\n state.updateProspectFieldByIdRequest.status = RequestStatus.Failed;\n state.updateProspectFieldByIdRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n builder.addCase(\n getLongTextByProspectAndColumnIdRequest.pending,\n (state) => {\n state.getLongTextByProspectAndColumnIdRequest.status =\n RequestStatus.Pending;\n state.getLongTextByProspectAndColumnIdRequest.error = null;\n },\n );\n builder.addCase(\n getLongTextByProspectAndColumnIdRequest.fulfilled,\n (state, action) => {\n state.getLongTextByProspectAndColumnIdRequest.status =\n RequestStatus.Succeeded;\n state.getLongTextByProspectAndColumnIdRequest.message =\n action.payload.message;\n state.longText = action.payload.payload.attributeValue;\n },\n );\n builder.addCase(\n getLongTextByProspectAndColumnIdRequest.rejected,\n (state, action) => {\n state.getLongTextByProspectAndColumnIdRequest.status =\n RequestStatus.Failed;\n state.getLongTextByProspectAndColumnIdRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n },\n});\nexport const {\n resetGetProspectListRequest,\n setFilters,\n resetProspectFiltersSelectedFields,\n resetGetProspectFiltersFieldsListRequest,\n resetSaveProspectFiltersViewRequest,\n resetUpdateProspectFiltersViewRequest,\n resetPinUnpinSavedFilterRequest,\n resetUpdateSavedFilterRequest,\n resetDeleteSavedViewRequest,\n\n changeProspectPagination,\n resetProspect,\n saveSearch,\n resetSequenceAndStepData,\n selectAllContacts,\n clearSelection,\n checkAll,\n checkSingle,\n resetStep,\n resetSelectedContacts,\n setProspectDetails,\n resetAddToProspectForm,\n setProspectsFilters,\n resetProspectsFilters,\n resetTags,\n resetRemoveProspectRequest,\n resetBulkRequests,\n resetUnsubscribeRequestState,\n resetSaveContactAttributesRequestStatus,\n resetProspectDeleteEmailRequestStatus,\n resetProspectDeletePhoneRequestStatus,\n resetProspectPrimaryEmailChangeRequestStatus,\n setSelectedSavedView,\n removedSelectedSavedView,\n resetFilterGroupLogic,\n resetProspectFiltersFieldsAttributesValue,\n resetGetStepDetailsListRequest,\n resetGetProspectListByIdsRequest,\n resetGetLongTextByProspectAndColumnIdRequest,\n resetSingleProspect,\n} = prospectSlice.actions;\n\nexport default prospectSlice.reducer;\n","export const getMergedProspects = (arr1 = [], arr2 = []) => {\n // Convert arr2 to a Map for easier lookup\n const arr2Map = new Map(arr2.map((item) => [item.id, item]));\n\n return arr1.map((prospect) => {\n const prospectFromArr2 = arr2Map.get(prospect.id);\n\n // If there's no matching prospect in arr2, return the original prospect\n if (!prospectFromArr2) return prospect;\n\n // Merge attributes array\n const mergedAttributes = [\n ...(prospect.attributes || []),\n ...(prospectFromArr2.attributes || []),\n ];\n\n // Merge engagementFields, ensuring no value is overwritten\n const mergedEngagementFields = {\n ...(prospect.engagementFields || {}),\n ...(prospectFromArr2.engagementFields || {}),\n };\n\n // Return the merged prospect object\n return {\n ...prospect,\n ...prospectFromArr2,\n attributes: mergedAttributes,\n engagementFields: mergedEngagementFields,\n };\n });\n};\n","// eslint-disable-next-line import/prefer-default-export\nexport enum ConfirmationModalIconType {\n ALERT_TRIANGLE = 'alert-triange',\n INFO_CIRCLE = 'info-circle',\n INFO_CIRCLE_BLUE = 'info-circle-blue',\n INFO_CIRCLE_RED = 'info-circle-red',\n INFO_CIRCLE_YELLOW = 'info-circle-yellow',\n TRASH_RED = 'trash-red',\n ALERT_CIRCLE_ORANGE = 'alert-circle-orange',\n}\n","import api from '../../../api';\nimport {\n ChangePasswordRequestPayload,\n LoginRequestPayload,\n ResetPasswordRequestPayload,\n SignupRequestPayload,\n VerifyUserVerificationCodeRequestPayload,\n ResendUserVerificationCodeRequestPayload,\n AcceptInvitationRequestPayload,\n OnBoardingRequest,\n UserSetPasswordPayload,\n SetPasswordRequest,\n VerifyOtpPayload,\n ResendOtpPayload,\n OAuthPayload,\n} from '../types';\nimport { ResponseSuccess } from '../../../shared/types';\nimport { OAuthMethod } from '../components/oauth-buttons/types';\n\nexport const login = async (payload: LoginRequestPayload) =>\n api.post('/auth/login', payload);\n\nexport const signup = async (payload: SignupRequestPayload) =>\n api.post('/auth/signup', payload);\n\nexport const verifyUserVerificationCode = async (\n payload: VerifyUserVerificationCodeRequestPayload,\n) => api.post('/auth/signup/otp', payload);\n\nexport const resendUserVerificationCode = async (\n payload: ResendUserVerificationCodeRequestPayload,\n) => api.post('/auth/signup/otp/resend', payload);\n\nexport const resetPassword = async (payload: ResetPasswordRequestPayload) =>\n api.post('/auth/reset-password', payload);\n\nexport const verifyResetPasswordCode = async (code: string) =>\n api.get(`/auth/reset-password/${code}`);\n\nexport const changePassword = async (\n code: string,\n payload: ChangePasswordRequestPayload,\n) => api.post(`/auth/reset-password/${code}`, payload);\n\nexport const userSetPassword = async (payload: UserSetPasswordPayload) =>\n api.patch(`/user/set-password`, payload);\n\nexport const verifyInvitaitonToken = async (token: string) =>\n api.get(`/team/verify-invitation-token?token=${token}`);\n\nexport const acceptInvitation = async (\n payload: AcceptInvitationRequestPayload,\n) => api.post('/team/accept-invitation', payload);\n\nexport const onBoardingDetails = async (payload: OnBoardingRequest) =>\n api.patch('/user/onboarding', payload);\n\nexport const setPassword = async (payload: SetPasswordRequest) =>\n api.patch('/auth/set-password', payload);\n\nexport const verificationLink = async (token: string) =>\n api.get('/auth/handle-verification-link', {\n headers: { Authorization: `Bearer ${token}` },\n });\n\nexport const resendVerificationEmail = async (email: string) =>\n api.post('/auth/user-verification-link/resend', {\n email,\n });\n\nexport const ssoLogin = async (payload: { email: string }) =>\n api.post('/auth/login-sso', payload);\n\nexport const ssoLoginCallback = async (payload: { accessCode: string }) =>\n api.post('/auth/login-sso-callback', payload);\nexport const verifyOtp = async (payload: VerifyOtpPayload) =>\n api.post('/auth/login/verify-otp', payload);\n\nexport const resendOtp = async (payload: ResendOtpPayload) =>\n api.post('/auth/login/resend-otp', payload);\n\nexport const getOAuthRedirectUrl = async (method: OAuthMethod, payload: OAuthPayload) =>\n api.post(`/auth/oauth-authenticate/${method}`, payload);\n\nexport const oauthAuthenticate = async (method: OAuthMethod, code: string, state?: string) =>\n api.post(`/auth/oauth-authenticate-callback/${method}`, { code, state });\n","import { BillingOption } from '../../../../../../../shared/utils/billing-options';\nimport {\n getIsRequestIdeal,\n getIsRequestPending,\n} from '../../../../../../../shared/utils/get-request-status';\nimport {\n PlanType,\n SubscriptionPlanModes,\n SubscriptionPlans,\n} from '../../../../../../../shared/utils/subscription-plans';\nimport { GetAccountSubscriptionResponse } from '../../../types';\nimport { ModifySubscriptionSteps } from '../types';\nimport { isValueBasedPlan } from '../../outreach-plans/utils/helper';\nimport {\n checkIsSubscriptionPausedOrCancelled,\n checkIsUserPlan,\n} from '../../../../../../../shared/design-system/components/molecules/subscription-plan-details/helper/helper';\n\nexport const billingOptions = [\n { label: 'Monthly', value: BillingOption.MONTHLY },\n { label: 'Annually', value: BillingOption.ANNUALLY },\n];\n\nexport const getHighlightMessage = (planCycle) =>\n planCycle === BillingOption.MONTHLY\n ? 'monthly_outreach_highlight_message'\n : 'yearly_outreach_highlight_message';\n\nexport const gePlanCycleBasedOnPlanType = (planCode, planMode) => {\n if (\n planCode === SubscriptionPlans.EMAIL_OUTREACH_LIFETIME ||\n planCode === SubscriptionPlans.EMAIL_OUTREACH_PRO_LIFETIME\n ) {\n return BillingOption.LIFETIME;\n }\n\n if (planMode === SubscriptionPlanModes.MonthlyMode) {\n return BillingOption.MONTHLY;\n }\n\n if (planMode === SubscriptionPlanModes.YearlyMode) {\n return BillingOption.ANNUALLY;\n }\n\n return BillingOption.ANNUALLY;\n};\n\nexport const getDisabledLabel = (\n sendGetAccountSubscriptionResponse: GetAccountSubscriptionResponse,\n) => {\n if (\n sendGetAccountSubscriptionResponse?.planMode ===\n SubscriptionPlanModes.YearlyMode\n ) {\n return 'Monthly';\n }\n\n return null;\n};\n\nexport const getDisabledTab = (\n planCode: SubscriptionPlans,\n planType: PlanType,\n): ModifySubscriptionSteps => {\n if (\n planCode === SubscriptionPlans.PAID_MONTHLY ||\n planCode === SubscriptionPlans.PAID_YEARLY ||\n planCode === SubscriptionPlans.EMAIL_OUTREACH_PRO_LIFETIME ||\n checkIsUserPlan(planType)\n ) {\n return ModifySubscriptionSteps.SelectPlan;\n }\n\n if (\n planCode === SubscriptionPlans.FREE ||\n planCode === SubscriptionPlans.TRIAL\n ) {\n return ModifySubscriptionSteps.SelectSlots;\n }\n\n return null;\n};\n\nexport const getPlanName = (planCycle, planName, planCode = null) => {\n if (planCycle === BillingOption.ANNUALLY && planName) {\n return planName.replace('(Yearly)', '');\n }\n if (planCycle === BillingOption.MONTHLY && planName) {\n return planName.replace('(Monthly)', '');\n }\n\n if (planCycle === BillingOption.LIFETIME && planName) {\n if (\n planCode &&\n planCode === SubscriptionPlans.EMAIL_OUTREACH_PRO_LIFETIME\n ) {\n return 'Outreach';\n }\n return planName;\n }\n\n return planName;\n};\n\nexport const isBillingAndSubscriptionPageReady = ({\n sendGetAccountSubscriptionRequestStatus,\n sendGetPlansRequestStatus,\n sendGetAccountSubscriptionResponse,\n selectedPlanDetails,\n}) =>\n getIsRequestPending(sendGetAccountSubscriptionRequestStatus) ||\n getIsRequestIdeal(sendGetAccountSubscriptionRequestStatus) ||\n getIsRequestPending(sendGetPlansRequestStatus) ||\n getIsRequestIdeal(sendGetPlansRequestStatus) ||\n !sendGetAccountSubscriptionResponse ||\n !selectedPlanDetails;\n\nexport const isColdEmailPlanBannerShow = (currentPlan) =>\n currentPlan === SubscriptionPlans.FREE ||\n currentPlan === SubscriptionPlans.TRIAL;\n\nexport const isValueBasedPlanVisible = (\n planCode,\n planType,\n subscriptionPlanStatus,\n) =>\n isValueBasedPlan(planType) ||\n planCode === SubscriptionPlans.FREE ||\n planCode === SubscriptionPlans.TRIAL ||\n checkIsSubscriptionPausedOrCancelled(subscriptionPlanStatus);\n","export type LoginRequestPayload = {\n email: string;\n password: string;\n};\n\nexport type SignupRequestPayload = {\n firstName?: string;\n lastName?: string;\n email?: string;\n password?: string;\n phone?: string;\n timeZone?: string;\n rewardfulReferralId?: string;\n celloReferralCode?: string;\n isLtdUser?: boolean;\n landingPage?: string;\n referralPage?: string;\n};\n\nexport type UserSignUpEventCelloPayload = {\n firstName?: string;\n lastName?: string;\n email?: string;\n password?: string;\n phone?: string;\n timeZone?: string;\n rewardfulReferralId?: string;\n isLtdUser?: boolean;\n landingPage?: string;\n referralPage?: string;\n};\n\nexport type VerifyUserVerificationCodeRequestPayload = {\n email: string;\n code: number;\n};\n\nexport type ResendUserVerificationCodeRequestPayload = {\n email: string;\n};\n\nexport type ResetPasswordRequestPayload = {\n email: string;\n};\n\nexport type ChangePasswordRequestPayload = {\n password: string;\n};\n\nexport type UserSetPasswordPayload = {\n newPassword: string;\n};\n\nexport type AcceptInvitationRequestPayload = {\n firstName?: string;\n lastName?: string;\n email?: string;\n password?: string;\n phone?: string;\n timeZone?: string;\n token?: string;\n};\n\nexport type OnBoardingRequest = {\n userType?: string;\n agencyType?: string;\n clientsCount?: string;\n monthlyemailsCount?: string;\n useCase?: string;\n priorColdEmailToolExperience?: string;\n teamSize?: string;\n avgDealSize?: string;\n usagePreference?: string;\n occupation?: string;\n leadsSizeCount?: string;\n source?: string;\n sourceDetails?: string;\n};\n\nexport type SetPasswordRequest = {\n firstName: string;\n lastName: string;\n phone?: string;\n password: string;\n email: string;\n country: string;\n};\n\nexport type VerifyOtpPayload = {\n email: string;\n otp: string;\n};\n\nexport type ResendOtpPayload = {\n email: string;\n};\n\nexport enum ActionForAuthentication {\n Signup = 'signup',\n Login = 'login',\n ChangeEmail = 'change-email',\n ValidationChangeEmail = 'validation-change-email',\n Invitation = 'invitation',\n DeleteAccount = 'delete-account',\n}\n\nexport type OAuthPayload = {\n timeZone: string;\n action: ActionForAuthentication;\n userId?: number;\n invitedEmail?: string;\n};\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport {\n SignupRequestPayload,\n VerifyUserVerificationCodeRequestPayload,\n ResendUserVerificationCodeRequestPayload,\n OnBoardingRequest,\n} from '../../types';\nimport {\n signup,\n verifyUserVerificationCode,\n resendUserVerificationCode,\n onBoardingDetails,\n resendVerificationEmail,\n} from '../../helpers/auth.api';\nimport {\n ResponseErrorWithHandled,\n ResponseSuccess,\n} from '../../../../shared/types';\n\nexport const signupRequest = createAsyncThunk<\n ResponseSuccess,\n SignupRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('signup/signupRequest', async (args, thunkAPI) => {\n try {\n return await signup(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const verifyUserVerificationCodeRequest = createAsyncThunk<\n ResponseSuccess,\n VerifyUserVerificationCodeRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('signup/verifyUserVerificationCodeRequest', async (args, thunkAPI) => {\n try {\n return await verifyUserVerificationCode(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const resendUserVerificationCodeRequest = createAsyncThunk<\n ResponseSuccess,\n ResendUserVerificationCodeRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('signup/resendUserVerificationCodeRequest', async (args, thunkAPI) => {\n try {\n return await resendUserVerificationCode(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const onboardingDetailsRequest = createAsyncThunk<\n ResponseSuccess,\n OnBoardingRequest,\n { rejectValue: ResponseErrorWithHandled }\n>('signup/onboardingDetailsRequest', async (args, thunkAPI) => {\n try {\n return await onBoardingDetails(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const resendVerificationEmailRequest = createAsyncThunk<\n ResponseSuccess,\n string,\n { rejectValue: ResponseErrorWithHandled }\n>('signup/resendVerificationEmailRequest', async (args, thunkAPI) => {\n try {\n return await resendVerificationEmail(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n","import { checkIsLtdPlan } from '../../../../../../../shared/design-system/components/molecules/subscription-plan-details/helper/helper';\nimport { BillingOption } from '../../../../../../../shared/utils/billing-options';\nimport {\n PlanType,\n SubscriptionPlanModes,\n SubscriptionPlans,\n} from '../../../../../../../shared/utils/subscription-plans';\nimport { GetPlansResponse, SelectedPlanDetails } from '../../../types';\n\n// eslint-disable-next-line import/prefer-default-export\nexport const onPurchaseSubscription = ({\n isUserModifyingSubscription,\n token,\n numberOfSlotsUserWant,\n selectedPlanDetails,\n couponCode,\n onPurchaseSubscriptionRequest,\n onPurchaseModifySubscriptionRequest,\n sendUpgradeLtdPlanRequest,\n sendModifyLtdPlanRequest,\n existingPlanCode,\n existingSlots,\n getCouponCodeResponse,\n}) => {\n if (checkIsLtdPlan(selectedPlanDetails?.planType)) {\n if (existingPlanCode !== selectedPlanDetails?.planCode) {\n sendUpgradeLtdPlanRequest({\n slots: numberOfSlotsUserWant,\n planId: selectedPlanDetails?.planId,\n stripeCardToken: token.id,\n ...(getCouponCodeResponse &&\n !getCouponCodeResponse.isError &&\n couponCode && { couponCode }),\n });\n } else if (existingSlots < numberOfSlotsUserWant) {\n sendModifyLtdPlanRequest({\n slots: Math.abs(numberOfSlotsUserWant - existingSlots),\n stripeCardToken: token.id,\n ...(getCouponCodeResponse &&\n !getCouponCodeResponse.isError &&\n couponCode && { couponCode }),\n });\n }\n\n return;\n }\n\n if (!isUserModifyingSubscription) {\n const payload = {\n slots: Math.floor(numberOfSlotsUserWant),\n planId: Number(selectedPlanDetails.planId),\n ...(token && { stripeCardToken: token.id }),\n ...(getCouponCodeResponse &&\n !getCouponCodeResponse.isError &&\n couponCode && { couponCode }),\n };\n onPurchaseSubscriptionRequest(payload);\n } else {\n const payload = {\n accountSubscriptionPlanId: Number(selectedPlanDetails.planId),\n slots: Math.floor(numberOfSlotsUserWant),\n stripeCardToken: token.id,\n ...(getCouponCodeResponse &&\n !getCouponCodeResponse.isError &&\n couponCode && { couponCode }),\n };\n onPurchaseModifySubscriptionRequest(payload);\n }\n};\n\nexport const getPlanName = (selectedPlanDetails, planCycle: BillingOption) => {\n if (planCycle === BillingOption.MONTHLY) {\n return `${selectedPlanDetails.displayName}`;\n }\n if (planCycle === BillingOption.LIFETIME) {\n return `${selectedPlanDetails.displayName} (Lifetime)`;\n }\n\n return `${selectedPlanDetails.displayName}`;\n};\n\nexport const getIsEmailOutreachProPlan = (\n selectedPlanDetails: SelectedPlanDetails,\n planCycle: BillingOption,\n) => {\n if (planCycle === BillingOption.LIFETIME) {\n if (\n selectedPlanDetails.planCode ===\n SubscriptionPlans.EMAIL_OUTREACH_PRO_LIFETIME\n ) {\n return true;\n }\n }\n return false;\n};\n\nexport const getPlanId = (\n getPlansResponse: GetPlansResponse,\n planName: string,\n planCode: SubscriptionPlans,\n planType: PlanType,\n) => {\n if (checkIsLtdPlan(planType)) {\n return getPlansResponse?.find(\n (plan) =>\n plan.planName.split('(')[0].trim() === planName.split('(')[0].trim(),\n )?.id;\n }\n\n if (\n planCode === SubscriptionPlans.PAID_MONTHLY ||\n planCode === SubscriptionPlans.PAID_YEARLY\n ) {\n return getPlansResponse?.find((plan) => plan?.planCode === planCode)?.id;\n }\n\n return getPlansResponse?.find(\n (plan) =>\n plan?.planName === planName &&\n plan?.planCode !== SubscriptionPlans.PAID_MONTHLY &&\n plan?.planCode !== SubscriptionPlans.PAID_YEARLY,\n )?.id;\n};\n\nexport const getPlanNameByPlanMode = (\n getPlansResponse: GetPlansResponse,\n planCode: SubscriptionPlans,\n planMode: SubscriptionPlanModes,\n) =>\n getPlansResponse?.find(\n (plan) => plan?.planCode === planCode && plan?.planMode === planMode,\n )?.planName;\n\nexport const getPlanNameByPlanCycle = (planName, planCycle) => {\n const previousPlanCycle =\n planCycle === BillingOption.ANNUALLY ? 'Monthly' : 'Yearly';\n const currentPlanCycle =\n planCycle === BillingOption.ANNUALLY ? 'Yearly' : 'Monthly';\n\n return planName.replace(previousPlanCycle, currentPlanCycle);\n};\n\nexport const getPrice = (\n getPlansResponse: GetPlansResponse,\n timeFrame: BillingOption,\n) => {\n const price = {\n emailAccount: null,\n user: null,\n };\n\n if (timeFrame === BillingOption.MONTHLY) {\n price.emailAccount = getPlansResponse.find(\n (row) =>\n row?.planType === PlanType.EmailAccount &&\n row?.planCode === SubscriptionPlans.PAID_MONTHLY,\n ).amount;\n\n price.user = getPlansResponse.find(\n (row) =>\n row?.planType === PlanType.User &&\n row?.planCode === SubscriptionPlans.PAID_MONTHLY,\n ).amount;\n } else if (timeFrame === BillingOption.ANNUALLY) {\n price.emailAccount = getPlansResponse.find(\n (row) =>\n row?.planType === PlanType.EmailAccount &&\n row?.planCode === SubscriptionPlans.PAID_YEARLY,\n )?.amount;\n\n price.user = getPlansResponse.find(\n (row) =>\n row?.planType === PlanType.User &&\n row?.planCode === SubscriptionPlans.PAID_YEARLY,\n )?.amount;\n }\n\n return price;\n};\n\nexport const getNumberOfSlotsUserWant = (\n numberOfSlotsUserWant,\n minimumNumberOfSlotsUserCanHave,\n) =>\n Number(minimumNumberOfSlotsUserCanHave) > Number(numberOfSlotsUserWant)\n ? minimumNumberOfSlotsUserCanHave\n : numberOfSlotsUserWant;\n","import {\n AttachmentMetaDataType,\n AttachmentType,\n} from '../../../../../shared/editor/types';\nimport { Schedule } from '../../../../settings/types/schedule';\nimport { Template } from '../template-modal/types';\nimport { FromEmailAccount, ToProspect } from './components/sidebar/types';\n\nexport type StateValues = {\n title: string;\n subject: string;\n content: string;\n email: string;\n preheader: string;\n attachments?: string;\n};\n\nexport type StateErrors = { [P in keyof StateValues]: string };\nexport type StateDirty = { [P in keyof StateErrors]: boolean };\n\nexport type SubjectEmailSuggestion = {\n subjectPercentage: number;\n subjectStatus: string;\n subjectLength: number;\n};\n\nexport type WordEmailSuggestion = {\n wordPercentage: number;\n wordStatus: string;\n wordLength: number;\n};\n\nexport type PersonalizationEmailSuggestion = {\n personalizationPercentage: number;\n personalizationStatus: string;\n personalizationLength: number;\n};\n\nexport type LinkEmailSuggestion = {\n linkPercentage: number;\n linkStatus: string;\n linkLength: number;\n};\n\nexport type SpammyEmailSuggestion = {\n spammyPercentage: number;\n spammyStatus: string;\n spammyLength: number;\n spammyWords: string[];\n};\n\nexport type IState = {\n values: StateValues;\n errors: StateErrors;\n dirty: StateDirty;\n subjectEmailSuggestion: SubjectEmailSuggestion;\n wordEmailSuggestion: WordEmailSuggestion;\n personalizationEmailSuggestion: PersonalizationEmailSuggestion;\n linkEmailSuggestion: LinkEmailSuggestion;\n spammyEmailSuggestion: SpammyEmailSuggestion;\n sendAutomatically: boolean;\n sendTestEmailVisible: boolean;\n skipFocusOnEditorOnce: boolean;\n selectedTemplate?: Template;\n showTemplates: boolean;\n showTitle: boolean;\n showSendTestEmailModal: boolean;\n showEmailDisconnectedModal: boolean;\n showEmailNotConnectedModal: boolean;\n showEmailNotAddedModal: boolean;\n showConfirmationModal: boolean;\n showPreheaderInput: boolean;\n showPreheaderRecommendation: boolean;\n shouldInitiateAChat: boolean;\n attachments: AttachmentType[];\n attachmentsMeta: AttachmentMetaDataType[];\n attachmentsSizeInBytes: number;\n showHTMLContentDetectedModal: boolean;\n skipHTMLContentDetection: boolean;\n showSidebarFooter: boolean;\n selectedProspectInEmailPreview: ToProspect;\n selectedEmailInEmailPreview: FromEmailAccount;\n sendThisEmailInSameThreadCheckbox: boolean;\n sequenceSchedule: Schedule;\n disabledVariableTags: string[];\n};\n\nexport type TemplateDropDownOption = {\n name: string;\n key: number;\n isOwn: boolean;\n};\n\nexport enum PreheaderErrorConditions {\n ErrorLength = 150,\n RecommendationLength = 130,\n}\nexport const EmailSuggestionStatus = {\n TOO_SHORT: 'Too short',\n SHORT: 'Short',\n IDEAL: 'Ideal',\n LENGTHY: 'Lengthy',\n TOO_LENGTHY: 'Too lengthy',\n POOR: 'Poor',\n AVERAGE: 'Average',\n GOOD: 'Good',\n EXCELLENT: 'Excellent',\n};\n\nexport const EmailSuggestionClasses = {\n [EmailSuggestionStatus.TOO_SHORT]: 'too-short',\n [EmailSuggestionStatus.SHORT]: 'short',\n [EmailSuggestionStatus.IDEAL]: 'ideal',\n [EmailSuggestionStatus.LENGTHY]: 'lengthy',\n [EmailSuggestionStatus.TOO_LENGTHY]: 'too-lengthy',\n [EmailSuggestionStatus.POOR]: 'poor',\n [EmailSuggestionStatus.AVERAGE]: 'average',\n [EmailSuggestionStatus.GOOD]: 'good',\n [EmailSuggestionStatus.EXCELLENT]: 'excellent',\n};\n","import React, { useRef } from 'react';\nimport classNames from 'classnames';\nimport { OverlayTrigger, Tooltip } from 'react-bootstrap';\nimport composeRefs from '@seznam/compose-react-refs';\nimport { Modify } from '../../../types';\nimport { ForwardRef } from '../../../types/forward-ref';\nimport { Placement } from '../overlay';\nimport { accessibleOnClick } from '../../../utils/accessible-on-click';\n\nexport enum Variant {\n Text = 'text',\n Icon = 'icon',\n Default = 'default',\n}\n\nexport enum State {\n Pending = 'pending',\n Default = 'default',\n}\n\nexport enum Size {\n Small = 'small',\n Medium = 'medium',\n}\n\ntype SwitchProps = Modify<\n React.HTMLProps,\n {\n checked?: boolean;\n label?: React.ReactNode;\n state?: State;\n variant?: Variant;\n size?: Size;\n disabled?: boolean;\n onChange?: (\n checked: boolean,\n event: React.ChangeEvent,\n ) => void;\n tooltip?: string;\n placement?: Placement;\n overlayTooltipClass?: string;\n }\n>;\n\ntype SwitchStatic = {\n Variant: typeof Variant;\n State: typeof State;\n Size: typeof Size;\n};\n\nconst Switch = React.forwardRef(\n (\n {\n checked,\n label,\n state,\n variant,\n size,\n disabled,\n className,\n onChange,\n tooltip,\n placement,\n overlayTooltipClass,\n ...rest\n },\n ref,\n ) => {\n const localRef = useRef(null);\n\n const onChangeHandler = (event: React.ChangeEvent) =>\n onChange?.(event.target.checked, event);\n\n const labelClickHandler = () => localRef.current.click();\n\n const sizeClass = classNames([{ 'switch-small': size === Size.Small }]);\n const stateClass = classNames([\n { 'switch-pending': state === State.Pending },\n ]);\n const variantClass = classNames([\n {\n 'switch-text': variant === Variant.Text,\n 'switch-icon': variant === Variant.Icon,\n },\n ]);\n\n const switchClass = classNames([\n 'switchToggle',\n sizeClass,\n stateClass,\n variantClass,\n className,\n ]);\n\n const getTooltip = (text: string) => (\n \n {text}\n \n );\n\n const RenderLabelAndTooltip = ({ labelTooltip, children }) =>\n labelTooltip ? (\n \n {children}\n \n ) : (\n children\n );\n\n return (\n
    \n \n \n \n \n
    \n );\n },\n) as ForwardRef & SwitchStatic;\n\nSwitch.displayName = 'Switch';\n\nSwitch.Variant = Variant;\nSwitch.State = State;\nSwitch.Size = Size;\n\nSwitch.defaultProps = {\n state: State.Default,\n variant: Variant.Default,\n size: Size.Medium,\n disabled: false,\n overlayTooltipClass: 'bs-tooltip-inner',\n};\n\nexport default Switch;\n","import { InputIconConfig } from './types';\nimport React from 'react';\nimport classNames from 'classnames';\nimport { IconPlace } from './enums';\nimport Icon from '../atoms/icon/icon';\n\ntype InputIconProps = {\n icon: InputIconConfig;\n};\n\nconst InputIcon: React.FC = ({\n icon: { place, className, colorDefault, identifier, onClick },\n}) => {\n const iconPlacingSubClass = classNames({\n prefix: place === IconPlace.Left,\n suffix: place === IconPlace.Right,\n });\n\n const iconPlacingClass = `bs-input-${iconPlacingSubClass}`;\n\n const spanClass = classNames([\n iconPlacingClass,\n { 'color-default': colorDefault },\n className,\n ]);\n\n return (\n \n \n \n );\n};\n\nexport default InputIcon;\n","import React from 'react';\nimport { InputIconConfig } from './types';\nimport InputIcon from './input-icon';\n\ntype InputIconListProps = {\n icons: InputIconConfig[];\n className?: string;\n};\n\nconst InputIconList: React.FC = ({ icons, className }) => (\n // wrap the children inside a fragment to keep the correct return type of\n // a functional component.\n // see https://github.com/DefinitelyTyped/DefinitelyTyped/issues/33006\n <>\n {icons.map((icon, index) => (\n \n {icon.component ? (\n icon.component\n ) : (\n \n )}\n \n ))}\n \n);\n\nexport default InputIconList;\n","import classNames from 'classnames';\nimport { Size, Variant } from './enums';\n\nexport const getSizeSubClass = (size: Size): string => {\n return classNames({\n sm: size === Size.Small,\n md: size === Size.Medium,\n lg: size === Size.Large,\n });\n};\n\nexport const getVariantSubClass = (variant: Variant): string => {\n return classNames({\n error: variant === Variant.Error,\n warning: variant === Variant.Warning,\n success: variant === Variant.Success,\n default: variant === Variant.Default,\n succeeded: variant === Variant.Succeeded,\n });\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { getVariantSubClass } from './helpers';\nimport { ClassNameProp } from '../../../types';\nimport { Variant } from './enums';\nimport InputLabel from './input-label';\n\ntype InputContainerProps = ClassNameProp & {\n variant: Variant;\n label: React.ReactNode;\n caption: React.ReactNode;\n};\n\nconst InputContainer: React.FC = ({\n label,\n variant,\n caption,\n className,\n children,\n}) => {\n const variantSubClass = getVariantSubClass(variant);\n const variantClass = `input-${variantSubClass}-container`;\n\n const containerClass = classNames([\n 'bs-input-container',\n variantClass,\n className,\n ]);\n\n return (\n
    \n {label && }\n {children}\n {caption && }\n
    \n );\n};\n\nexport default InputContainer;\n","import React from 'react';\nimport classNames from 'classnames';\nimport { getSizeSubClass, getVariantSubClass } from './helpers';\nimport { ClassNameProp } from '../../../types';\nimport { Size, Variant } from './enums';\n\ntype InputSpanProps = ClassNameProp & {\n size: Size;\n variant: Variant;\n disabled: boolean;\n};\n\nconst InputSpan: React.FC = ({\n size,\n className,\n variant,\n disabled,\n children,\n}) => {\n const sizeSubClass = getSizeSubClass(size);\n const sizeClass = `bs-input-affix-wrapper-${sizeSubClass}`;\n\n const variantSubClass = getVariantSubClass(variant);\n const variantClass = `input-${variantSubClass}`;\n\n const spanClass = classNames([\n 'bs-input-affix-wrapper',\n sizeClass,\n variantClass,\n { 'bs-input-affix-wrapper-disabled': disabled },\n className,\n ]);\n\n return {children};\n};\n\nexport default InputSpan;\n","import React from 'react';\nimport { InputButtonConfig } from './types';\n\ntype InputButtonConfigProps = {\n button: InputButtonConfig;\n};\n\nconst InputButton: React.FC = ({ button }) => (\n \n {button.buttonTitle}\n \n);\n\nexport default InputButton;\n","import React from 'react';\nimport classNames from 'classnames';\nimport { getSizeSubClass } from './helpers';\nimport { Size } from './enums';\nimport { Modify } from '../../../types';\n\ntype NativeHtmlInputProps = Modify<\n React.HTMLProps,\n {\n size: Size;\n }\n>;\n\nconst NativeHTMLInput = React.forwardRef<\n HTMLInputElement,\n NativeHtmlInputProps\n // eslint-disable-next-line\n>(({ size, children, ...rest }, ref) => {\n const inputSizeSubClass = getSizeSubClass(size);\n const inputSizeClass = `bs-input-${inputSizeSubClass}`;\n const inputClass = classNames([inputSizeClass, 'bs-input']);\n\n return ;\n});\n\nexport default NativeHTMLInput;\n","import React from 'react';\nimport { InputButtonConfig, InputIconConfig } from './types';\nimport { IconPlace, Size, Variant } from './enums';\nimport InputIconList from './input-icon-list';\nimport InputContainer from './input-container';\nimport InputSpan from './input-span';\nimport InputButton from './input-button';\nimport NativeHTMLInput from './native-html-input';\nimport { ClassNameProp, Modify } from '../../../types';\nimport { ForwardRef } from '../../../types/forward-ref';\n\n// Overriding the same properties (className and disabled) from the HTMLProps\n// just because we use it outside the html input element too.\n// You can remove those properties from the type and it would work just fine.\ntype InputProps = Modify<\n React.HTMLProps,\n ClassNameProp & {\n variant?: Variant;\n label?: React.ReactNode;\n caption?: React.ReactNode;\n size?: Size;\n disabled?: boolean;\n icons?: InputIconConfig[];\n button?: InputButtonConfig;\n onChange?: (\n value?: string,\n event?: React.ChangeEvent,\n ) => void;\n }\n>;\n\ntype InputStatic = {\n IconPlace: typeof IconPlace;\n Size: typeof Size;\n Variant: typeof Variant;\n};\n\nconst Input = React.forwardRef(\n (\n {\n icons,\n caption,\n variant,\n label,\n disabled,\n size,\n className,\n button,\n onChange,\n ...rest\n },\n ref,\n ) => {\n const onChangeHandler = (event: React.ChangeEvent) => {\n const { value } = event.target;\n onChange?.(value, event);\n };\n\n let leftIconsList;\n let rightIconsList;\n let rightButton;\n\n if (icons) {\n const leftIcons = icons.filter((icon) => icon.place === IconPlace.Left);\n const rightIcons = icons.filter((icon) => icon.place === IconPlace.Right);\n\n leftIconsList = (\n \n );\n rightIconsList = (\n \n );\n }\n\n if (button) {\n rightButton = ;\n }\n\n const addContainer = !!(label || caption);\n\n let input = (\n \n {leftIconsList}\n \n {rightButton}\n {rightIconsList}\n \n );\n\n if (addContainer) {\n input = (\n \n {input}\n \n );\n }\n\n return input;\n },\n) as ForwardRef & InputStatic;\n\nInput.displayName = 'Input';\n\nInput.defaultProps = {\n disabled: false,\n variant: Variant.Default,\n size: Size.Medium,\n};\n\nInput.IconPlace = IconPlace;\nInput.Size = Size;\nInput.Variant = Variant;\n\nexport default Input;\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport { ResponseErrorWithHandled, ResponseSuccess } from '../../shared/types';\nimport {\n getSequenceList,\n getSelectedSequences,\n getSelectedUsers,\n getSequenceReportsSummary,\n getTeamReportsSummary,\n getSequenceReportsStats,\n getTeamReportsStats,\n exportSequenceReports,\n getGraphData,\n exportSequenceConsolidatedReports,\n} from './helpers/reports.api';\n\nimport {\n ReportGraphPayload,\n SelectedSequencesOrUserPayload,\n SequenceReportsStatsPayload,\n SequenceReportsSummaryPayload,\n TeamReportsStatsPayload,\n TeamReportsSummaryPayload,\n} from './types';\n\nexport const getSequenceListRequest = createAsyncThunk<\n ResponseSuccess,\n number[],\n { rejectValue: ResponseErrorWithHandled }\n>('reports/getSequenceList', async (args, thunkAPI) => {\n try {\n return await getSequenceList(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getSelectedSequencesRequest = createAsyncThunk<\n ResponseSuccess,\n SelectedSequencesOrUserPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('reports/getSelectedSequences', async (args, thunkAPI) => {\n try {\n return await getSelectedSequences(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getSelectedUsersRequest = createAsyncThunk<\n ResponseSuccess,\n SelectedSequencesOrUserPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('reports/getSelectedUsers', async (args, thunkAPI) => {\n try {\n return await getSelectedUsers(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getSequenceReportsSummaryRequest = createAsyncThunk<\n ResponseSuccess,\n SequenceReportsSummaryPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('reports/getSequenceReportsSummary', async (args, thunkAPI) => {\n try {\n return await getSequenceReportsSummary(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getTeamReportsSummaryRequest = createAsyncThunk<\n ResponseSuccess,\n TeamReportsSummaryPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('reports/getTeamReportsSummary', async (args, thunkAPI) => {\n try {\n return await getTeamReportsSummary(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getSequenceReportsStatsRequest = createAsyncThunk<\n ResponseSuccess,\n SequenceReportsStatsPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('reports/getSequenceReportsStats', async (args, thunkAPI) => {\n try {\n return await getSequenceReportsStats(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getTeamReportsStatsRequest = createAsyncThunk<\n ResponseSuccess,\n TeamReportsStatsPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('reports/getTeamReportsStats', async (args, thunkAPI) => {\n try {\n return await getTeamReportsStats(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const exportSequenceReportsRequest = createAsyncThunk<\n ResponseSuccess,\n SequenceReportsSummaryPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('reports/exportSequenceReports', async (args, thunkAPI) => {\n try {\n return await exportSequenceReports(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const exportSequenceConsolidatedReportsRequest = createAsyncThunk<\n ResponseSuccess,\n SequenceReportsSummaryPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('reports/exportSequenceConsolidatedReports', async (args, thunkAPI) => {\n try {\n return await exportSequenceConsolidatedReports(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const gerGraphDataRequest = createAsyncThunk<\n ResponseSuccess,\n ReportGraphPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('reports/getGraphDataRequest', async (args, thunkAPI) => {\n try {\n return await getGraphData(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n","import { SubscriptionPlans } from './subscription-plans';\nimport { getUserCurrentPlan } from './user-details';\n\nexport const isTrailPlan = (planType: SubscriptionPlans) =>\n planType === SubscriptionPlans.TRIAL;\n\nexport const isFreePlan = () => {\n const planCode = getUserCurrentPlan();\n\n return planCode === SubscriptionPlans.FREE;\n};\n\nexport const isFreeArTrailPlan = (planCode: SubscriptionPlans) =>\n planCode === SubscriptionPlans.FREE || planCode === SubscriptionPlans.TRIAL;\n","import api from '../../../api';\nimport { ResponseSuccess } from '../../../shared/types';\nimport { UserStatusKeys } from '../enums/users-and-teams';\nimport { AgencyInviteUserRequestPayload } from '../types/request-payload';\nimport {\n AddTeamPayload,\n AddUserPayload,\n AssignTeamPayload,\n ChangeUserRolePayload,\n DatePickerFilter,\n DeleteUserFromTeamPayload,\n ModifyTeamPayload,\n TeamsFilter,\n UsersFilter,\n} from '../types/users-and-teams';\n\n// get Users List\nexport const getUsers = async ({ sortBy, ...params }: UsersFilter) =>\n api.get(`/team/members`, {\n params: {\n ...(sortBy && { sortBy }),\n ...params,\n },\n });\n\n// Change Role\nexport const changeUserRole = async (payload: ChangeUserRolePayload) =>\n api.patch(`/user/role-change`, payload);\n\n// Get Teams For Dropdown\nexport const getTeamsList = async () => api.get(`/team/list`);\n\n// Assign Team\nexport const assignTeam = async ({ id, ...payload }: AssignTeamPayload) =>\n api.patch(`/user/${id}/assign-team`, payload);\n\n// Delete User\nexport const deleteUser = async (id: number) =>\n api.delete(`/team/${id}/user`);\n\n// Disable User\nexport const disableUser = async (id: number) =>\n api.patch(`/team/${id}/deactivate`);\n\n// Resend Invite\nexport const resendInvite = async (id: number) =>\n api.patch(`/team/${id}/resend-invitation`);\n\n// Reactivate User\nexport const reactivateUser = async (userId: number) =>\n api.patch(`/team/${userId}/reactivate`);\n\n// Add User\nexport const addUser = async (payload: AddUserPayload) =>\n api.post(`/team/invite-user`, payload);\n\n// Get Teams For Table\nexport const getTeams = async (params: TeamsFilter) =>\n api.get(`/team`, { params });\n\n// Get All Members List\nexport const getMembersList = async (status: UserStatusKeys[]) =>\n api.get(`/team/members/list`, { params: { status } });\n\n// Get All Team List With Members\nexport const getTeamsAndMembersList = async () =>\n api.get(`/user/team-member-list`);\n\n// Modify Team\nexport const modifyTeam = async ({ teamId, ...payload }: ModifyTeamPayload) =>\n api.patch(`/team/${teamId}`, payload);\n\n// Delete Team\nexport const deleteTeam = async (id: number) =>\n api.delete(`/team/${id}`);\n\n// Add Team\nexport const addTeam = async (payload: AddTeamPayload) =>\n api.post(`/team/create-team`, payload);\n\n// Get User Settings\nexport const getUserSetting = async (id: number) =>\n api.get(`/user/${id}/setting`);\n\n// Delete User From Team\nexport const deleteUserFromTeam = async ({\n teamId,\n userId,\n}: DeleteUserFromTeamPayload) =>\n api.delete(`/team/${teamId}/users/${userId}`);\n\nexport const agencyInviteUser = async (\n payload: AgencyInviteUserRequestPayload,\n) => api.post(`/team/invite-user`, payload);\n\nexport const exportUsers = async (\n payload: DatePickerFilter,\n) =>\n api.post(`/team/user-session/export`, payload);\n\nexport const deleteExpireSession = async (id: number) =>\n api.delete(`/team/user-session/${id}`);\n","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport {\n addTeamRequest,\n addUserRequest,\n assignTeamRequest,\n changeUserRoleRequest,\n deleteTeamRequest,\n deleteUserRequest,\n disableUserRequest,\n reactivateUserRequest,\n getMembersListRequest,\n getTeamsListRequest,\n getTeamsRequest,\n getUsersRequest,\n modifyTeamRequest,\n resendInviteRequest,\n getAssignTeamSetting,\n deleteUserFromTeamRequest,\n agencyInviteUserRequest,\n getTeamsAndMembersListRequest,\n deleteExpireSessionRequest,\n exportUsersRequest,\n} from './extra-actions';\nimport {\n Team,\n MembersList,\n TeamsList,\n User,\n UserPaginationOptions,\n TeamsAndUsersList,\n} from '../../types/users-and-teams';\nimport { UserSettingCode } from '../../../../shared/types/user-setting';\n\ntype RequestState = {\n status: RequestStatus;\n message: string;\n error: any;\n};\n\ntype State = {\n getUsersRequest: RequestState;\n changeUserRoleRequest: RequestState;\n getTeamsListRequest: RequestState;\n assignTeamRequest: RequestState;\n deleteUserRequest: RequestState;\n disableUserRequest: RequestState;\n resendInviteRequest: RequestState;\n reactivateUserRequest: RequestState;\n deleteExpireSessionRequest: RequestState;\n exportUserRequest: RequestState;\n addUserRequest: RequestState;\n getTeamsRequest: RequestState;\n getMembersListRequest: RequestState;\n getTeamsAndMembersListRequest: RequestState;\n modifyTeamRequest: RequestState;\n deleteTeamRequest: RequestState;\n addTeamRequest: RequestState;\n deleteUserFromTeamRequest: RequestState;\n agencyInviteUserRequest: RequestState;\n userInvitedCount: number;\n getAssignTeamSetting: RequestState;\n users: User[];\n usersPaginationOptions: UserPaginationOptions;\n teamsList: TeamsList[];\n\n teams: Team[];\n teamsPaginationOptions: UserPaginationOptions;\n membersList: MembersList[];\n keepAllTeamsAssigned: boolean;\n teamsAndUsersList: TeamsAndUsersList[];\n};\n\nconst initialState: State = {\n getUsersRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n changeUserRoleRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getTeamsListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n assignTeamRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n deleteUserRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n disableUserRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n resendInviteRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n reactivateUserRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n deleteExpireSessionRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n exportUserRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n addUserRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getTeamsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getMembersListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getTeamsAndMembersListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n modifyTeamRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n deleteTeamRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n addTeamRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n deleteUserFromTeamRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n agencyInviteUserRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n userInvitedCount: 0,\n getAssignTeamSetting: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n users: [],\n usersPaginationOptions: null,\n teamsList: [],\n teams: [],\n teamsPaginationOptions: null,\n membersList: [],\n keepAllTeamsAssigned: false,\n teamsAndUsersList: [],\n};\n\nconst usersAndTeamsSlice = createSlice({\n name: 'usersAndTeams',\n initialState,\n reducers: {\n resetGetUsersRequest: (state) => {\n state.getUsersRequest = initialState.getUsersRequest;\n },\n resetChangeUserRoleRequest: (state) => {\n state.changeUserRoleRequest = initialState.changeUserRoleRequest;\n },\n resetAssignTeamRequest: (state) => {\n state.assignTeamRequest = initialState.assignTeamRequest;\n },\n resetDeleteUserRequest: (state) => {\n state.deleteUserRequest = initialState.deleteUserRequest;\n },\n resetExpireSessionRequest: (state) => {\n state.deleteExpireSessionRequest =\n initialState.deleteExpireSessionRequest;\n },\n resetExportUserRequest: (state) => {\n state.exportUserRequest = initialState.exportUserRequest;\n },\n resetDisableUserRequest: (state) => {\n state.disableUserRequest = initialState.disableUserRequest;\n },\n resetResendInviteRequest: (state) => {\n state.resendInviteRequest = initialState.resendInviteRequest;\n },\n resetReactivateUserRequest: (state) => {\n state.reactivateUserRequest = initialState.reactivateUserRequest;\n },\n resetAddUserRequest: (state) => {\n state.addUserRequest = initialState.addUserRequest;\n state.userInvitedCount = initialState.userInvitedCount;\n },\n resetGetTeamsListRequest: (state) => {\n state.getTeamsListRequest = initialState.getTeamsListRequest;\n },\n resetGetMembersListRequest: (state) => {\n state.getMembersListRequest = initialState.getMembersListRequest;\n },\n resetGetTeamsAndMembersListRequest: (state) => {\n state.getTeamsAndMembersListRequest =\n initialState.getTeamsAndMembersListRequest;\n },\n resetTeamsAndUsersListData: (state) => {\n state.teamsAndUsersList = initialState.teamsAndUsersList;\n },\n resetGetTeamsRequest: (state) => {\n state.getTeamsRequest = initialState.getTeamsRequest;\n },\n resetDeleteTeamRequest: (state) => {\n state.deleteTeamRequest = initialState.deleteTeamRequest;\n },\n resetAddTeamRequest: (state) => {\n state.addTeamRequest = initialState.addTeamRequest;\n },\n resetModifyTeamRequest: (state) => {\n state.modifyTeamRequest = initialState.modifyTeamRequest;\n },\n resetDeleteUserFromTeamRequest: (state) => {\n state.deleteUserFromTeamRequest = initialState.deleteUserFromTeamRequest;\n },\n resetAgencyInviteUserRequest: (state) => {\n state.agencyInviteUserRequest = initialState.agencyInviteUserRequest;\n },\n },\n extraReducers: (builder) => {\n // Get Users List\n builder.addCase(getUsersRequest.pending, (state: State) => {\n state.getUsersRequest.status = RequestStatus.Pending;\n state.getUsersRequest.error = null;\n });\n builder.addCase(getUsersRequest.fulfilled, (state: State, action) => {\n state.getUsersRequest.status = RequestStatus.Succeeded;\n state.getUsersRequest.message = action.payload.message;\n state.users = action.payload.payload.items;\n state.usersPaginationOptions = action.payload.payload.meta;\n });\n builder.addCase(getUsersRequest.rejected, (state: State, action) => {\n state.getUsersRequest.status = RequestStatus.Failed;\n state.getUsersRequest.error = action.payload;\n });\n\n // Change User Role\n builder.addCase(changeUserRoleRequest.pending, (state: State) => {\n state.changeUserRoleRequest.status = RequestStatus.Pending;\n state.changeUserRoleRequest.error = null;\n });\n builder.addCase(changeUserRoleRequest.fulfilled, (state: State, action) => {\n state.changeUserRoleRequest.status = RequestStatus.Succeeded;\n state.changeUserRoleRequest.message = action.payload.message;\n });\n builder.addCase(changeUserRoleRequest.rejected, (state: State, action) => {\n state.changeUserRoleRequest.status = RequestStatus.Failed;\n state.changeUserRoleRequest.error = action.payload;\n });\n\n // Assign Team Request\n builder.addCase(assignTeamRequest.pending, (state: State) => {\n state.assignTeamRequest.status = RequestStatus.Pending;\n state.assignTeamRequest.error = null;\n });\n builder.addCase(assignTeamRequest.fulfilled, (state: State, action) => {\n state.assignTeamRequest.status = RequestStatus.Succeeded;\n state.assignTeamRequest.message = action.payload.message;\n });\n builder.addCase(assignTeamRequest.rejected, (state: State, action) => {\n state.assignTeamRequest.status = RequestStatus.Failed;\n state.assignTeamRequest.error = action.payload;\n });\n\n // Delete User Request\n builder.addCase(deleteUserRequest.pending, (state: State) => {\n state.deleteUserRequest.status = RequestStatus.Pending;\n state.deleteUserRequest.error = null;\n });\n builder.addCase(deleteUserRequest.fulfilled, (state: State, action) => {\n state.deleteUserRequest.status = RequestStatus.Succeeded;\n state.deleteUserRequest.message = action.payload.message;\n });\n builder.addCase(deleteUserRequest.rejected, (state: State, action) => {\n state.deleteUserRequest.status = RequestStatus.Failed;\n state.deleteUserRequest.error = action.payload;\n });\n\n // Disable User Request\n builder.addCase(disableUserRequest.pending, (state: State) => {\n state.disableUserRequest.status = RequestStatus.Pending;\n state.disableUserRequest.error = null;\n });\n builder.addCase(disableUserRequest.fulfilled, (state: State, action) => {\n state.disableUserRequest.status = RequestStatus.Succeeded;\n state.disableUserRequest.message = action.payload.message;\n });\n builder.addCase(disableUserRequest.rejected, (state: State, action) => {\n state.disableUserRequest.status = RequestStatus.Failed;\n state.disableUserRequest.error = action.payload;\n });\n\n // Resend Invite Request\n builder.addCase(resendInviteRequest.pending, (state: State) => {\n state.resendInviteRequest.status = RequestStatus.Pending;\n state.resendInviteRequest.error = null;\n });\n builder.addCase(resendInviteRequest.fulfilled, (state: State, action) => {\n state.resendInviteRequest.status = RequestStatus.Succeeded;\n state.resendInviteRequest.message = action.payload.message;\n });\n builder.addCase(resendInviteRequest.rejected, (state: State, action) => {\n state.resendInviteRequest.status = RequestStatus.Failed;\n state.resendInviteRequest.error = action.payload;\n });\n\n // Reactivate User Request\n builder.addCase(reactivateUserRequest.pending, (state: State) => {\n state.reactivateUserRequest.status = RequestStatus.Pending;\n state.reactivateUserRequest.error = null;\n });\n builder.addCase(reactivateUserRequest.fulfilled, (state: State, action) => {\n state.reactivateUserRequest.status = RequestStatus.Succeeded;\n state.reactivateUserRequest.message = action.payload.message;\n });\n builder.addCase(reactivateUserRequest.rejected, (state: State, action) => {\n state.reactivateUserRequest.status = RequestStatus.Failed;\n state.reactivateUserRequest.error = action.payload;\n });\n\n // Session Expire Request\n builder.addCase(deleteExpireSessionRequest.pending, (state: State) => {\n state.deleteExpireSessionRequest.status = RequestStatus.Pending;\n state.deleteExpireSessionRequest.error = null;\n });\n builder.addCase(\n deleteExpireSessionRequest.fulfilled,\n (state: State, action) => {\n state.deleteExpireSessionRequest.status = RequestStatus.Succeeded;\n state.deleteExpireSessionRequest.message = action.payload.message;\n },\n );\n builder.addCase(\n deleteExpireSessionRequest.rejected,\n (state: State, action) => {\n state.deleteExpireSessionRequest.status = RequestStatus.Failed;\n state.deleteExpireSessionRequest.error = action.payload;\n },\n );\n\n // Export User Request\n builder.addCase(exportUsersRequest.pending, (state: State) => {\n state.exportUserRequest.status = RequestStatus.Pending;\n state.exportUserRequest.error = null;\n });\n builder.addCase(exportUsersRequest.fulfilled, (state: State, action) => {\n state.exportUserRequest.status = RequestStatus.Succeeded;\n state.exportUserRequest.message = action.payload.message;\n });\n builder.addCase(exportUsersRequest.rejected, (state: State, action) => {\n state.exportUserRequest.status = RequestStatus.Failed;\n state.exportUserRequest.error = action.payload;\n });\n\n // Add User Request\n builder.addCase(addUserRequest.pending, (state: State) => {\n state.addUserRequest.status = RequestStatus.Pending;\n state.addUserRequest.error = null;\n });\n builder.addCase(addUserRequest.fulfilled, (state: State, action) => {\n state.addUserRequest.status = RequestStatus.Succeeded;\n state.addUserRequest.message = action.payload.message;\n state.userInvitedCount = action.payload.payload?.length || 0;\n });\n builder.addCase(addUserRequest.rejected, (state: State, action) => {\n state.addUserRequest.status = RequestStatus.Failed;\n state.addUserRequest.error = action.payload;\n });\n\n // Get Team Request\n builder.addCase(getTeamsRequest.pending, (state: State) => {\n state.getTeamsRequest.status = RequestStatus.Pending;\n state.getTeamsRequest.error = null;\n });\n builder.addCase(getTeamsRequest.fulfilled, (state: State, action) => {\n state.getTeamsRequest.status = RequestStatus.Succeeded;\n state.getTeamsRequest.message = action.payload.message;\n state.teams = action.payload.payload.items;\n state.teamsPaginationOptions = action.payload.payload.meta;\n });\n builder.addCase(getTeamsRequest.rejected, (state: State, action) => {\n state.getTeamsRequest.status = RequestStatus.Failed;\n state.getTeamsRequest.error = action.payload;\n });\n\n // Get Teams List\n builder.addCase(getTeamsListRequest.pending, (state: State) => {\n state.getTeamsListRequest.status = RequestStatus.Pending;\n state.getTeamsListRequest.error = null;\n });\n builder.addCase(getTeamsListRequest.fulfilled, (state: State, action) => {\n state.getTeamsListRequest.status = RequestStatus.Succeeded;\n state.getTeamsListRequest.message = action.payload.message;\n state.teamsList = action.payload.payload;\n });\n builder.addCase(getTeamsListRequest.rejected, (state: State, action) => {\n state.getTeamsListRequest.status = RequestStatus.Failed;\n state.getTeamsListRequest.error = action.payload;\n });\n\n // Get Members List\n builder.addCase(getMembersListRequest.pending, (state: State) => {\n state.getMembersListRequest.status = RequestStatus.Pending;\n state.getMembersListRequest.error = null;\n });\n builder.addCase(getMembersListRequest.fulfilled, (state: State, action) => {\n state.getMembersListRequest.status = RequestStatus.Succeeded;\n state.getMembersListRequest.message = action.payload.message;\n state.membersList = action.payload.payload;\n });\n builder.addCase(getMembersListRequest.rejected, (state: State, action) => {\n state.getMembersListRequest.status = RequestStatus.Failed;\n state.getMembersListRequest.error = action.payload;\n });\n\n // Get Teams And Users List\n builder.addCase(getTeamsAndMembersListRequest.pending, (state: State) => {\n state.getTeamsAndMembersListRequest.status = RequestStatus.Pending;\n state.getTeamsAndMembersListRequest.error = null;\n });\n builder.addCase(\n getTeamsAndMembersListRequest.fulfilled,\n (state: State, action) => {\n state.getTeamsAndMembersListRequest.status = RequestStatus.Succeeded;\n state.getTeamsAndMembersListRequest.message = action.payload.message;\n state.teamsAndUsersList = action.payload.payload;\n },\n );\n builder.addCase(\n getTeamsAndMembersListRequest.rejected,\n (state: State, action) => {\n state.getTeamsAndMembersListRequest.status = RequestStatus.Failed;\n state.getTeamsAndMembersListRequest.error = action.payload;\n },\n );\n\n // Modify Team Request\n builder.addCase(modifyTeamRequest.pending, (state: State) => {\n state.modifyTeamRequest.status = RequestStatus.Pending;\n state.modifyTeamRequest.error = null;\n });\n builder.addCase(modifyTeamRequest.fulfilled, (state: State, action) => {\n state.modifyTeamRequest.status = RequestStatus.Succeeded;\n state.modifyTeamRequest.message = action.payload.message;\n state.membersList = action.payload.payload;\n });\n builder.addCase(modifyTeamRequest.rejected, (state: State, action) => {\n state.modifyTeamRequest.status = RequestStatus.Failed;\n state.modifyTeamRequest.error = action.payload;\n });\n\n // Delete Team Request\n builder.addCase(deleteTeamRequest.pending, (state: State) => {\n state.deleteTeamRequest.status = RequestStatus.Pending;\n state.deleteTeamRequest.error = null;\n });\n builder.addCase(deleteTeamRequest.fulfilled, (state: State, action) => {\n state.deleteTeamRequest.status = RequestStatus.Succeeded;\n state.deleteTeamRequest.message = action.payload.message;\n state.membersList = action.payload.payload;\n });\n builder.addCase(deleteTeamRequest.rejected, (state: State, action) => {\n state.deleteTeamRequest.status = RequestStatus.Failed;\n state.deleteTeamRequest.error = action.payload;\n });\n\n // Add Team\n builder.addCase(addTeamRequest.pending, (state: State) => {\n state.addTeamRequest.status = RequestStatus.Pending;\n state.addTeamRequest.error = null;\n });\n builder.addCase(addTeamRequest.fulfilled, (state: State, action) => {\n state.addTeamRequest.status = RequestStatus.Succeeded;\n state.addTeamRequest.message = action.payload.message;\n });\n builder.addCase(addTeamRequest.rejected, (state: State, action) => {\n state.addTeamRequest.status = RequestStatus.Failed;\n state.addTeamRequest.error = action.payload;\n });\n\n // Delete User From Team\n builder.addCase(deleteUserFromTeamRequest.pending, (state: State) => {\n state.deleteUserFromTeamRequest.status = RequestStatus.Pending;\n state.deleteUserFromTeamRequest.error = null;\n });\n builder.addCase(\n deleteUserFromTeamRequest.fulfilled,\n (state: State, action) => {\n state.deleteUserFromTeamRequest.status = RequestStatus.Succeeded;\n state.deleteUserFromTeamRequest.message = action.payload.message;\n },\n );\n builder.addCase(\n deleteUserFromTeamRequest.rejected,\n (state: State, action) => {\n state.deleteUserFromTeamRequest.status = RequestStatus.Failed;\n state.deleteUserFromTeamRequest.error = action.payload;\n },\n );\n\n // Get Assign Team Setting\n builder.addCase(getAssignTeamSetting.pending, (state: State) => {\n state.getAssignTeamSetting.status = RequestStatus.Pending;\n state.getAssignTeamSetting.error = null;\n });\n builder.addCase(getAssignTeamSetting.fulfilled, (state: State, action) => {\n state.getAssignTeamSetting.status = RequestStatus.Succeeded;\n state.getAssignTeamSetting.message = action.payload.message;\n\n const setting = action.payload.payload?.find(\n (item) => item.code === UserSettingCode.DefaultMember,\n );\n\n if (setting) {\n state.keepAllTeamsAssigned = Boolean(Number(setting?.value) || 0);\n } else {\n state.keepAllTeamsAssigned = false;\n }\n });\n builder.addCase(\n agencyInviteUserRequest.rejected,\n (state: State, action) => {\n state.agencyInviteUserRequest.status = RequestStatus.Failed;\n state.agencyInviteUserRequest.error = action.payload;\n },\n );\n\n builder.addCase(agencyInviteUserRequest.pending, (state: State) => {\n state.agencyInviteUserRequest.status = RequestStatus.Pending;\n state.agencyInviteUserRequest.error = null;\n });\n builder.addCase(\n agencyInviteUserRequest.fulfilled,\n (state: State, action) => {\n state.agencyInviteUserRequest.status = RequestStatus.Succeeded;\n state.agencyInviteUserRequest.message = action.payload.message;\n },\n );\n builder.addCase(getAssignTeamSetting.rejected, (state: State, action) => {\n state.getAssignTeamSetting.status = RequestStatus.Failed;\n state.getAssignTeamSetting.error = action.payload;\n });\n },\n});\n\nexport const {\n resetGetUsersRequest,\n resetChangeUserRoleRequest,\n resetAssignTeamRequest,\n resetDeleteUserRequest,\n resetExpireSessionRequest,\n resetExportUserRequest,\n resetDisableUserRequest,\n resetResendInviteRequest,\n resetReactivateUserRequest,\n resetAddUserRequest,\n resetGetMembersListRequest,\n resetGetTeamsRequest,\n resetDeleteTeamRequest,\n resetAddTeamRequest,\n resetModifyTeamRequest,\n resetDeleteUserFromTeamRequest,\n resetAgencyInviteUserRequest,\n resetGetTeamsAndMembersListRequest,\n resetTeamsAndUsersListData,\n} = usersAndTeamsSlice.actions;\nexport default usersAndTeamsSlice.reducer;\n","export { default } from './tag';\n","import { useTranslation } from 'react-i18next';\nimport { Permissions } from '../../../shared/utils/access-control/enums/permissions';\nimport hasPermission from '../../../shared/utils/access-control/has-permission';\nimport store from '../../../store';\nimport {\n isPlanDowngradedFromPaid,\n isPlanDowngradedFromTrial,\n} from '../../home/utils/plan-transition';\n\nexport const getFreePlanBannerString = (\n isEmailAccountPage = false,\n isTeamPage = false,\n) => {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n const { t } = useTranslation();\n const { home } = store.getState();\n let string: string;\n\n if (hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)) {\n if (isPlanDowngradedFromTrial(home.subscription?.planTransitionDetails)) {\n string = t('messages.trail_expired');\n\n if (isEmailAccountPage) {\n string = '';\n }\n if (isTeamPage) {\n string = t('messages.trial_plan_expired_team_page_message');\n }\n }\n if (isPlanDowngradedFromPaid(home.subscription?.planTransitionDetails)) {\n if (isTeamPage) {\n string = t('messages.plan_expired_team_page_message');\n } else if (isEmailAccountPage) {\n string = '';\n } else {\n string = t('messages.subscription_ended_message');\n }\n }\n } else {\n if (isPlanDowngradedFromTrial(home.subscription?.planTransitionDetails)) {\n string = t('messages.trail_expired');\n\n if (isEmailAccountPage) {\n string = '';\n }\n }\n if (isPlanDowngradedFromPaid(home.subscription?.planTransitionDetails)) {\n string = t('messages.subscription_ended_message');\n\n if (isEmailAccountPage) {\n string = '';\n }\n }\n }\n\n return string;\n};\n\nexport default getFreePlanBannerString;\n","import React, { useState, useEffect } from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport AlertTriangle from '../../../../shared/components/images/alert-triangle';\nimport Banner from '../../../../shared/design-system/components/atoms/banner';\nimport { TrialExtendSource } from '../../../../shared/enums/trial-extend-source';\n\nimport { Permissions } from '../../../../shared/utils/access-control/enums/permissions';\nimport hasPermission from '../../../../shared/utils/access-control/has-permission';\n\nimport { isPlanDowngradedFromPaid } from '../../../home/utils/plan-transition';\nimport { getFreePlanBannerString } from '../../helpers/get-free-plan-banner-string';\nimport type { IProps } from './header-banner-container';\nimport { Routes } from '../../../../shared/routes';\nimport Alert from '../../../../shared/design-system/ui/alert';\nimport { isAgencificationClientOrAgencyUser } from '../../../../shared/utils/user-details';\n\nconst HeaderBanner: React.FC = ({\n isEmailAccountPage = false,\n isTeamPage = false,\n firstName,\n email,\n planTransitionDetails,\n isEligibleToExtendTrial,\n sendExtendTrialPeriodRequest,\n}) => {\n const { t } = useTranslation();\n\n const [ctaText, setCTAText] = useState('Upgrade now');\n\n const emailBody = `Hey ${firstName}, %0D%0A %0D%0A ${t(\n 'messages.upgrade_to_pro_email_body',\n )}`;\n\n const onTrialExtended = () => {\n if (isEligibleToExtendTrial) {\n sendExtendTrialPeriodRequest(TrialExtendSource.Webapp);\n }\n };\n\n useEffect(() => {\n if (isPlanDowngradedFromPaid(planTransitionDetails)) {\n setCTAText('Resubscribe now');\n }\n }, []);\n\n const memberFreePlanBannerString = getFreePlanBannerString(\n isEmailAccountPage,\n isTeamPage,\n );\n\n if (isAgencificationClientOrAgencyUser() || !memberFreePlanBannerString) {\n return <>;\n }\n\n return (\n <>\n {!hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ) ? (\n
    \n
    \n \n \n {memberFreePlanBannerString}\n \n \n {` ${t('labels.contact_admin_reach_out')} `}{' '}\n \n to request an upgrade to a paid plan.\n \n \n \n }\n icon={AlertTriangle}\n className={`bs-banner mr-2 bs-banner-danger icon-alert`}\n />\n
    \n
    \n ) : (\n \n )}\n \n );\n};\n\nexport default HeaderBanner;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { TrialExtendSource } from '../../../../shared/enums/trial-extend-source';\nimport { RootState } from '../../../../store/root-reducer';\nimport { extendTrialPeriodRequest } from '../../../home/extra-actions';\nimport HeaderBanner from './header-banner';\n\nconst mapStateToProps = (state: RootState) => ({\n firstName: state.home.adminDetails?.firstName,\n email: state.home.adminDetails?.email,\n planTransitionDetails: state.home.subscription?.planTransitionDetails,\n\n isEligibleToExtendTrial: state.home.isEligibleToExtendTrial,\n});\n\nconst mapDispatchToProps = {\n sendExtendTrialPeriodRequest: (source: TrialExtendSource) =>\n extendTrialPeriodRequest(source),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n isEmailAccountPage?: boolean;\n isTeamPage?: boolean;\n};\n\nexport default connector(HeaderBanner);\n","export const isInternalUrl = () => {\n const urls = ['saleshandy.com', 'lifeisgoodforlearner.com'];\n const currentBaseUrl = window.location.hostname;\n\n return urls.some((url) => currentBaseUrl.includes(url));\n};\n","import {\n ModifyPlanAction,\n PlanType,\n SubscriptionPlanModes,\n SubscriptionPlans,\n} from '../../../../../../shared/utils/subscription-plans';\n\nexport enum ModifySubscriptionSteps {\n SelectPlan = 'select plan',\n SelectSlots = 'select slots',\n}\n\nexport type SetPlanDetails = {\n planCode?: SubscriptionPlans;\n planType?: PlanType;\n planMode?: SubscriptionPlanModes;\n planName?: string;\n action?: ModifyPlanAction;\n};\n","import { ProspectFiltersValuesPayload } from '../../types';\n\n// Enum for filter source, such as prospects, fields, tags, or sequences\nexport enum FilterSource {\n PROSPECTS = 'prospects',\n FIELD = 'field',\n TAGS = 'tags',\n SEQUENCES = 'sequences',\n}\n\n// Enum for filter operations, like \"is\", \"contains\", \"greater_than\", etc.\nexport enum FilterOperation {\n IS = 'is',\n IS_NOT = 'is_not',\n IS_EMPTY = 'is_empty',\n IS_NOT_EMPTY = 'is_not_empty',\n CONTAINS = 'contains',\n DOES_NOT_CONTAIN = 'does_not_contain',\n EQUAL = 'equal',\n NOT_EQUAL = 'is_not_equal',\n GREATER_THAN = 'is_greater_than',\n GREATER_THAN_OR_EQUAL = 'is_greater_than_or_equal',\n LESS_THAN_OR_EQUAL = 'is_less_than_or_equal',\n LESS_THAN = 'is_less_than',\n BETWEEN = 'is_between',\n IS_WITHIN = 'is_within',\n IS_BEFORE = 'is_before',\n IS_AFTER = 'is_after',\n IS_ON_OR_BEFORE = 'is_on_or_before',\n IS_ON_OR_AFTER = 'is_on_or_after',\n START_WITH = 'starts_with',\n IN = 'in',\n NOT_IN = 'not_in',\n}\n\n// Enum for logic to apply between filter conditions (AND/OR)\nexport enum FilterLogic {\n AND = 'AND',\n OR = 'OR',\n}\n\nexport enum DateFilter {\n YESTERDAY = 'Yesterday',\n TODAY = 'Today',\n LAST_WEEK = 'The last week',\n THIS_WEEK = 'This week',\n LAST_MONTH = 'The last month',\n THIS_MONTH = 'This month',\n LAST_YEAR = 'The last year',\n THIS_YEAR = 'This year',\n}\n\n// Type representing a single filter condition\nexport interface FilterCondition {\n field: ProspectFilterField;\n operation: FilterOperation | null;\n value?: string | number | (string | number)[];\n}\n\n// Type representing a group of filter conditions with logic\nexport interface FilterGroup {\n group: number;\n conditions: FilterCondition[];\n logic: FilterLogic;\n}\n\n// Type representing filter logic between groups\nexport interface FilterGroupLogic {\n filters: FilterGroup[];\n group_logic: FilterLogic;\n}\n\nexport interface ProspectFilterField {\n id: string;\n key: string;\n source: FilterSource;\n value: string;\n label: string;\n operations: FilterOperation[];\n}\n\nexport interface ProspectFiltersFieldsAttributesValue {\n [key: string]: {\n meta: ProspectFiltersValuesPayload & {\n hasMoreData: boolean;\n };\n payload: {\n name: string;\n value: string;\n }[];\n };\n}\n","import { DateTime } from 'luxon';\nimport { DiscountType } from '../../../../../../components/settings/components/billing-subscription/types/apply-coupon-code';\nimport { RequestStatus } from '../../../../../enums/request-status';\nimport toaster, { Theme } from '../../../../../toaster';\nimport { BillingOption } from '../../../../../utils/billing-options';\nimport { showGeneralErrorNotification } from '../../../../../utils/errors';\nimport { ModifyPlanAction } from '../../../../../utils/subscription-plans';\nimport { checkIsLtdPlan } from '../../subscription-plan-details/helper/helper';\nimport { getTotalAfterDiscount } from './get-total-after-discount';\nimport { getTotalAmount } from './get-total-amount';\n\nexport const getAlreadyPaidLabel = (action: ModifyPlanAction) =>\n action === ModifyPlanAction.Update ? 'unused_balance' : 'credits';\n\nexport const getFinalSubTotal = ({\n isUserModifyingSubscription,\n sendGetCalculatePayResponse,\n numberOfSlotsUserWant,\n planPrice,\n billingOption,\n couponCodeDiscountType,\n couponCodeDiscount,\n action,\n}) => {\n let subTotalPrice = 0;\n\n if (billingOption === BillingOption.ANNUALLY) {\n subTotalPrice = 12 * numberOfSlotsUserWant * planPrice;\n } else {\n subTotalPrice = numberOfSlotsUserWant * planPrice;\n }\n\n const totalAmountPrice = getTotalAmount(\n billingOption,\n isUserModifyingSubscription,\n subTotalPrice,\n sendGetCalculatePayResponse,\n action,\n );\n\n const totalPriceAfterDiscount = getTotalAfterDiscount(\n couponCodeDiscountType,\n totalAmountPrice,\n couponCodeDiscount,\n );\n\n return { subTotalPrice, totalPriceAfterDiscount };\n};\n\nexport const getSubtotalDiscountAmount = (\n couponCodeDiscountType,\n totalAmount,\n couponCodeDiscount,\n): number =>\n couponCodeDiscountType === DiscountType.Percentage\n ? (totalAmount * couponCodeDiscount) / 100\n : couponCodeDiscount;\n\nexport const getAmount = (totalAfterDiscount, totalAmount) =>\n totalAfterDiscount ? totalAfterDiscount * 100 : totalAmount * 100;\n\nexport const showToastMessage = (message: string) =>\n message.toLowerCase().includes('successful')\n ? toaster.success(message, { theme: Theme.New })\n : toaster.warning(message);\n\nexport const showErrorNotification = (requestStatus, requestError) => {\n if (requestStatus === RequestStatus.Failed && requestError) {\n showGeneralErrorNotification(requestError.message);\n }\n};\n\nexport const getRemainingDays = (timeStamp) => {\n const date = new Date(timeStamp * 1000);\n\n return Math.ceil(\n DateTime.fromJSDate(date, {\n zone: 'Etc/UTC',\n })\n .diff(DateTime.now().toUTC(), ['days'])\n .toObject().days,\n );\n};\n\nexport const checkShouldShowTotalAmoutToPayText = ({\n planType,\n planCode,\n existingPlanSlots,\n numberOfSlotsUserWant,\n existingPlanCode,\n}): boolean =>\n checkIsLtdPlan(planType) &&\n (Number(existingPlanSlots) !== Number(numberOfSlotsUserWant) ||\n planCode !== existingPlanCode);\n\nexport const getTotalAmountMinusDiscount = ({\n totalAmount,\n discountType,\n discount,\n}) => {\n const discountedAmount = getSubtotalDiscountAmount(\n discountType,\n totalAmount,\n discount,\n );\n\n if (discountedAmount) {\n return (totalAmount - discountedAmount).toFixed(2);\n }\n\n return totalAmount.toFixed(2);\n};\n","import { DiscountType } from '../../../../../../components/settings/components/billing-subscription/types/apply-coupon-code';\n\nexport const getTotalAfterDiscount = (\n couponCodeDiscountType,\n totalAmountPrice,\n couponCodeDiscount,\n) => {\n let totalAfterDiscount;\n\n if (couponCodeDiscountType === DiscountType.Percentage) {\n totalAfterDiscount =\n totalAmountPrice - (totalAmountPrice * couponCodeDiscount) / 100;\n } else if (couponCodeDiscountType === DiscountType.Amount) {\n totalAfterDiscount = totalAmountPrice - couponCodeDiscount;\n }\n\n return totalAfterDiscount;\n};\n","export * from './response';\nexport * from './class-name-prop';\nexport * from './modify';\nexport * from './exception-types';\nexport * from './contact-verification-status';\n","export enum SequenceStepConfig {\n MaxVariants = 26,\n MinActiveVariants = 1,\n}\n\nexport enum SequenceStepExecutionDay {\n MinDay = 1,\n MaxDay = 999,\n}\n\nexport enum SequenceStepExecutionType {\n AutomatedEmail = 1,\n ManualEmail = 2,\n Call = 3,\n Sms = 4,\n LinkedIn = 5,\n Twitter = 6,\n}\n\nexport enum SequenceStepType {\n Email = 1,\n LinkedInConnectionRequest = 2,\n LinkedInMessage = 3,\n LinkedInInMail = 4,\n LinkedInViewProfile = 5,\n LinkedInPostInteraction = 6,\n Call = 7,\n Whatsapp = 8,\n Custom = 9,\n}\n\nexport enum SequenceStepPriorityValue {\n Low = 4,\n Normal = 3,\n High = 2,\n Urgent = 1,\n}\n\nexport enum SequenceStepPriority {\n Low = 'Low',\n Normal = 'Normal',\n High = 'High',\n Urgent = 'Urgent',\n}\n\nexport enum CallPurpose {\n Introduction = 1,\n Demo = 2,\n FollowUp = 3,\n Reminder = 4,\n Other = 5,\n}\n\nexport enum SequenceStepAction {\n CreateStep = 'CreateStep',\n CreateVariant = 'CreateVariant',\n EditVariant = 'EditVariant',\n}\n","import {\n CreateTemplateRequest,\n DeleteTemplateRequest,\n GetTemplatesRequest,\n UpdateTemplateRequest,\n} from '../types/request';\nimport api from '../../../api';\nimport { CloneTemplateRequest } from '../types/request/clone-template';\nimport { ShareTemplateRequest } from '../types/request/share-template';\n\nexport const getTemplates = async ({\n limit = 50,\n ...rest\n}: GetTemplatesRequest) =>\n api.get(`templates`, {\n params: { limit, ...rest },\n });\n\nexport const createTemplate = async (options: CreateTemplateRequest) =>\n api.post(`templates`, options);\n\nexport const updateTemplate = async ({ id, ...rest }: UpdateTemplateRequest) =>\n api.patch(`templates/${id}`, rest);\n\nexport const deleteTemplate = async ({ id }: DeleteTemplateRequest) =>\n api.delete(`templates/${id}`);\n\nexport const cloneTemplate = async ({ id }: CloneTemplateRequest) =>\n api.get(`templates/clone/${id}`);\n\nexport const shareTemplate = async ({ id }: ShareTemplateRequest) =>\n api.get(`templates/share/${id}`);\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport { ResponseErrorWithHandled, ResponseSuccess } from '../../shared/types';\nimport {\n cloneTemplate,\n createTemplate,\n deleteTemplate,\n getTemplates,\n shareTemplate,\n updateTemplate,\n} from './helpers/templates.api';\nimport {\n CreateTemplateRequest,\n DeleteTemplateRequest,\n GetTemplatesRequest,\n UpdateTemplateRequest,\n} from './types/request';\nimport { CloneTemplateRequest } from './types/request/clone-template';\nimport { ShareTemplateRequest } from './types/request/share-template';\n\nexport const getTemplatesRequest = createAsyncThunk<\n ResponseSuccess,\n GetTemplatesRequest,\n { rejectValue: ResponseErrorWithHandled }\n>('templates/getTemplates', async (args, thunkAPI) => {\n try {\n return await getTemplates(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const createTemplateRequest = createAsyncThunk<\n ResponseSuccess,\n CreateTemplateRequest,\n { rejectValue: ResponseErrorWithHandled }\n>('templates/createTemplate', async (args, thunkAPI) => {\n try {\n return await createTemplate(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const updateTemplateRequest = createAsyncThunk<\n ResponseSuccess,\n UpdateTemplateRequest,\n { rejectValue: ResponseErrorWithHandled }\n>('templates/updateTemplate', async (args, thunkAPI) => {\n try {\n return await updateTemplate(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const deleteTemplateRequest = createAsyncThunk<\n ResponseSuccess,\n DeleteTemplateRequest,\n { rejectValue: ResponseErrorWithHandled }\n>('templates/deleteTemplate', async (args, thunkAPI) => {\n try {\n return await deleteTemplate(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const cloneTemplateRequest = createAsyncThunk<\n ResponseSuccess,\n CloneTemplateRequest,\n { rejectValue: ResponseErrorWithHandled }\n>('templates/cloneTemplate', async (args, thunkAPI) => {\n try {\n return await cloneTemplate(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const shareTemplateRequest = createAsyncThunk<\n ResponseSuccess,\n ShareTemplateRequest,\n { rejectValue: ResponseErrorWithHandled }\n>('templates/shareTemplate', async (args, thunkAPI) => {\n try {\n return await shareTemplate(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n","export enum Size {\n Small = 'small',\n Medium = 'medium',\n Large = 'large',\n}\n\nexport enum Variant {\n Default = 'default',\n Error = 'error',\n}\n","import classNames from 'classnames';\nimport { Size } from './enums';\n\nexport const getSizeSubClass = (size: Size): string => {\n return classNames({\n sm: size === Size.Small,\n md: size === Size.Medium,\n lg: size === Size.Large,\n });\n};\n","type EventOptions = EventInit & {\n type?: string;\n};\n\n// https://stackoverflow.com/questions/23892547/what-is-the-best-way-to-trigger-onchange-event-in-react-js#46012210\n// https://github.com/facebook/react/issues/11488#issuecomment-558874287\n// https://github.com/facebook/react/issues/11488#issuecomment-347775628\n// https://github.com/facebook/react/issues/11488\n// The entire thread is helpful.\n// Small improvements and use cases in a lot of different comments.\nexport const setNativeValue = (element: HTMLElement, value: any) => {\n const valueSetter = Object.getOwnPropertyDescriptor(element, 'value')?.set;\n const prototype = Object.getPrototypeOf(element);\n const prototypeValueSetter = Object.getOwnPropertyDescriptor(\n prototype,\n 'value',\n )?.set;\n if (prototypeValueSetter && valueSetter !== prototypeValueSetter) {\n prototypeValueSetter.call(element, value);\n } else if (valueSetter) {\n valueSetter.call(element, value);\n }\n};\n\nexport const emitEvent = (\n type: string,\n element: HTMLElement,\n options?: EventInit,\n) => {\n const event = new Event(type, options);\n element.dispatchEvent(event);\n};\n\nexport const changeNativeValue = (\n element: HTMLElement,\n value: any,\n { type = 'input', bubbles = true, ...rest }: EventOptions = {},\n) => {\n setNativeValue(element, value);\n emitEvent(type, element, { bubbles, ...rest });\n};\n","import React, { useRef } from 'react';\nimport classNames from 'classnames';\nimport composeRefs from '@seznam/compose-react-refs';\nimport Icon from '../atoms/icon/icon';\nimport { Modify } from '../../../types';\nimport { ForwardRef } from '../../../types/forward-ref';\nimport { Size, Variant } from './enums';\nimport { getSizeSubClass } from './helper';\nimport { changeNativeValue } from '../../../utils/native-elements';\nimport { OverlayTooltip } from '../overlay';\nimport { accessibleOnClick } from '../../../utils/accessible-on-click';\n\ntype InputNumberProps = Modify<\n React.HTMLProps,\n {\n size?: Size;\n variant?: Variant;\n label?: React.ReactNode;\n caption?: React.ReactNode;\n disabled?: boolean;\n min?: number;\n max?: number;\n value?: number | string;\n containerClassName?: string;\n onChange?: (\n value: string,\n event: React.ChangeEvent,\n ) => void;\n showUpHandlerWithTooltip?: boolean;\n showDownHandlerWithTooltip?: boolean;\n upHandlerTooltipText?: string;\n downHandlerTooltipText?: string;\n }\n>;\n\ntype InputNumberStatic = {\n Size: typeof Size;\n Variant: typeof Variant;\n};\n\nconst InputNumber = React.forwardRef(\n (\n {\n size,\n variant,\n label,\n caption,\n disabled,\n value,\n max,\n min,\n className,\n onChange,\n containerClassName,\n showUpHandlerWithTooltip,\n showDownHandlerWithTooltip,\n upHandlerTooltipText,\n downHandlerTooltipText,\n ...rest\n },\n ref,\n ) => {\n const localRef = useRef(null);\n\n const applyRangeFilter = (v: number): number =>\n Math.max(min, Math.min(max, v));\n\n const addToValue = (step: number) => {\n const previousValue = Number(value ?? localRef.current.value);\n let newValue = previousValue + step;\n newValue = applyRangeFilter(newValue);\n if (newValue !== previousValue) {\n changeNativeValue(localRef.current, newValue);\n }\n };\n\n const upHandler = () => addToValue(1);\n const downHandler = () => addToValue(-1);\n\n const onChangeHandler = (event: React.ChangeEvent) => {\n const targetValue = event.target.value;\n onChange?.(targetValue, event);\n };\n\n const sizeSubClass = getSizeSubClass(size);\n const sizeClass = `bs-input-number-${sizeSubClass}`;\n const inputNumberClass = classNames([\n 'bs-input-number',\n sizeClass,\n {\n 'bs-input-number-disabled': disabled,\n },\n className,\n ]);\n\n const variantClass = classNames([\n {\n 'bs-input-number-error': variant === Variant.Error,\n },\n ]);\n\n const inputNumberContainerClass = classNames([\n 'bs-input-number-container',\n containerClassName,\n variantClass,\n ]);\n\n const inputNumberHandlerUp = () => {\n const handler = (\n e.preventDefault()}\n {...accessibleOnClick(upHandler)}\n >\n \n \n \n \n );\n\n if (showUpHandlerWithTooltip && value >= max) {\n return (\n {handler}\n );\n }\n\n return handler;\n };\n\n const inputNumberHandlerDown = () => {\n const handler = (\n e.preventDefault()}\n {...accessibleOnClick(downHandler)}\n >\n \n \n \n \n );\n\n if (showDownHandlerWithTooltip && value <= min) {\n return (\n \n {handler}\n \n );\n }\n\n return handler;\n };\n\n return (\n
    \n {label && (\n // eslint-disable-next-line jsx-a11y/label-has-associated-control\n \n )}\n
    \n
    \n
    \n {inputNumberHandlerUp()}\n {inputNumberHandlerDown()}\n
    \n
    \n \n
    \n
    \n
    \n {caption && (\n // eslint-disable-next-line jsx-a11y/label-has-associated-control\n \n )}\n
    \n );\n },\n) as ForwardRef & InputNumberStatic;\n\nInputNumber.displayName = 'InputNumber';\n\nInputNumber.defaultProps = {\n size: Size.Medium,\n variant: Variant.Default,\n disabled: false,\n min: -Infinity,\n max: Infinity,\n};\n\nInputNumber.Size = Size;\nInputNumber.Variant = Variant;\n\nexport default InputNumber;\n","import isNaN from 'lodash/isNaN';\nimport { formateDate } from '../../../../../shared/utils';\nimport store from '../../../../../store';\n\nexport const getPercentageValue = (remainingValue: number, total: number) => {\n const percentage = (remainingValue / total) * 100;\n\n if (isNaN(percentage)) {\n return 0;\n }\n\n return percentage;\n};\n\nexport const getProspectAndEmailSentLimit = () => {\n const state = store.getState();\n\n const totalProspectLimit = parseInt(\n state.home.getPostLoadMetaResponse?.featureLimits?.['PROSPECT.ADD'],\n 10,\n );\n const remainingProspectLimit = parseInt(\n state.home.getPostLoadMetaResponse?.accountUsageQuotaRemaining?.[\n 'PROSPECT.ADD'\n ],\n 10,\n );\n const totalEmailSentLimit = parseInt(\n state.home.getPostLoadMetaResponse?.featureLimits?.['EMAIL.SEND'],\n 10,\n );\n const remainingEmailSentLimit = parseInt(\n state.home.getPostLoadMetaResponse?.accountUsageQuotaRemaining?.[\n 'EMAIL.SEND'\n ],\n 10,\n );\n const totalLeadRevealLimit = parseInt(\n state.home.getPostLoadMetaResponse?.featureLimits?.['LEAD.REVEAL'],\n 10,\n );\n const remainingLeadRevealLimit = parseInt(\n state.home.getPostLoadMetaResponse?.accountUsageQuotaRemaining?.[\n 'LEAD.REVEAL'\n ],\n 10,\n );\n const remainingLeadRevealLimitPer = getPercentageValue(\n remainingLeadRevealLimit,\n totalLeadRevealLimit,\n );\n\n const quotaResetDate =\n state.home.getPostLoadMetaResponse?.accountUsageQuotaResetDate;\n\n const leadFinderQuotaResetDate =\n state.home.getPostLoadMetaResponse?.leadFinderAccountUsageQuotaResetDate;\n\n const remainingProspectLimitPer = getPercentageValue(\n remainingProspectLimit,\n totalProspectLimit,\n );\n const remainingEmailSentLimitPer = getPercentageValue(\n remainingEmailSentLimit,\n totalEmailSentLimit,\n );\n\n return {\n totalProspectLimit,\n remainingProspectLimit,\n totalEmailSentLimit,\n remainingEmailSentLimit,\n remainingProspectLimitPer,\n remainingEmailSentLimitPer,\n quotaResetDate,\n totalLeadRevealLimit,\n remainingLeadRevealLimit,\n remainingLeadRevealLimitPer,\n leadFinderQuotaResetDate,\n };\n};\n\nexport const getRestrictionWarning = () => {\n const {\n totalProspectLimit,\n remainingProspectLimit,\n totalEmailSentLimit,\n remainingEmailSentLimit,\n remainingProspectLimitPer,\n remainingEmailSentLimitPer,\n } = getProspectAndEmailSentLimit();\n\n if (\n [\n totalProspectLimit,\n remainingProspectLimit,\n remainingEmailSentLimit,\n totalEmailSentLimit,\n ].includes(NaN)\n ) {\n return '';\n }\n\n if (remainingEmailSentLimitPer === 0 && remainingProspectLimitPer === 0) {\n return 'Monthly email limit and prospect limit reached.';\n }\n if (remainingEmailSentLimitPer === 0) {\n return 'Monthly email limit reached.';\n }\n if (remainingProspectLimitPer === 0) {\n return 'Prospect limit reached.';\n }\n if (remainingEmailSentLimitPer <= 5 && remainingProspectLimitPer <= 5) {\n return 'Monthly email & Prospect limit almost reached.';\n }\n if (remainingEmailSentLimitPer <= 5) {\n return 'Monthly email limit almost reached.';\n }\n if (remainingProspectLimitPer <= 5) {\n return 'Prospect limit almost reached.';\n }\n\n return '';\n};\n\nexport const getRestrictionWarningTooltip = (): string => {\n const {\n remainingEmailSentLimitPer,\n remainingProspectLimitPer,\n quotaResetDate,\n } = getProspectAndEmailSentLimit();\n\n if (remainingEmailSentLimitPer === 0 && remainingProspectLimitPer === 0) {\n return 'Attention: You have reached the limit of total prospects & monthly emails. To continue using your account without interruption, please upgrade your account.';\n }\n if (remainingEmailSentLimitPer === 0) {\n return `Your monthly sending limit is reached & further emails shall not be sent. Please upgrade your account. Automatic resume on: ${formateDate(\n quotaResetDate,\n )}`;\n }\n if (remainingProspectLimitPer === 0) {\n return 'Your account has reached the maximum number of prospects allowed. To continue importing prospects, please upgrade your account. ';\n }\n if (remainingEmailSentLimitPer <= 5 && remainingProspectLimitPer <= 5) {\n return 'Attention: Your monthly email sending and prospects limit is reached. To ensure seamless account usage, please upgrade your account.';\n }\n if (remainingEmailSentLimitPer <= 5) {\n return 'Your monthly email-sending limit is almost reached. To ensure an uninterrupted email-sending experience, please upgrade your account.';\n }\n if (remainingProspectLimitPer <= 5) {\n return 'Your account prospect limit is almost reached. To ensure a seamless prospect import experience, please upgrade your account.';\n }\n\n return '';\n};\n\nexport const getRestrictionWarningClass = () =>\n getRestrictionWarning().includes('almost')\n ? 'bs-banner-warning'\n : 'bs-banner-danger';\n\nexport const getEmailBody = () => {\n const state = store.getState();\n const senderFirstName = state.home?.firstName;\n const {\n totalEmailSentLimit,\n totalProspectLimit,\n remainingEmailSentLimitPer,\n quotaResetDate,\n } = getProspectAndEmailSentLimit();\n\n if (remainingEmailSentLimitPer <= 5) {\n return (\n `It looks like the Saleshandy account has reached the maximum email sending limit - ${totalEmailSentLimit}.` +\n `It requires the upgrade to start sending emails from this account. Please do the needful.` +\n `%0D%0APlease note that the automatic resume of email sending will be on ${formateDate(\n quotaResetDate,\n )} %0D%0A %0D%0A Thanks,%0D%0A %0D%0A ${senderFirstName}`\n );\n }\n\n return `It looks like the Saleshandy account has reached the maximum prospect limit - ${totalProspectLimit}. It requires the upgrade to add more prospects into account. Please do the needful.%0D%0A %0D%0A Thanks,%0D%0A %0D%0A ${senderFirstName}`;\n};\n\nexport const getTrailPlanWarningString = ({ t, subscriptionEndDays }) => {\n let trailPlanWarningText = '';\n\n if (subscriptionEndDays === 0) {\n trailPlanWarningText = t('messages.your_plan_expired_text_0_day');\n } else {\n trailPlanWarningText = `${t(\n 'messages.your_plan_expired_text',\n )} ${subscriptionEndDays}`;\n\n if (subscriptionEndDays === 1) {\n trailPlanWarningText += ` ${t('labels.day')}.`;\n } else {\n trailPlanWarningText += ` ${t('labels.days')}.`;\n }\n }\n\n return trailPlanWarningText;\n};\n","import i18n from 'i18next';\nimport planPermissionError from './index';\n\nexport const planError = (code?: number, message?: string) => {\n let title: string;\n let contents: string[];\n let showButtons: boolean;\n\n switch (code) {\n case 2002: {\n title = i18n.t('messages.plan_expired_message');\n contents = [i18n.t('messages.plan_expired_message_content')];\n showButtons = true;\n break;\n }\n\n case 2003: {\n title = i18n.t('messages.plan_expired_active_sequence_message');\n contents = [\n i18n.t('messages.plan_expired_active_sequence_content_1'),\n i18n.t('messages.plan_expired_active_sequence_content_2'),\n ];\n showButtons = true;\n break;\n }\n\n case 2004: {\n title = i18n.t('messages.plan_expired_clone_sequence_message');\n contents = [i18n.t('messages.subscription_warning')];\n showButtons = true;\n break;\n }\n\n case 2005: {\n title = i18n.t('messages.plan_expired_add_email_message');\n contents = [\n i18n.t('messages.plan_expired_add_email_content_1'),\n i18n.t('messages.plan_expired_add_email_content_2'),\n ];\n showButtons = true;\n break;\n }\n\n case 2007: {\n title = i18n.t('messages.plan_expired_invite_member_message');\n contents = [\n i18n.t('messages.plan_expired_invite_member_content_1'),\n i18n.t('messages.plan_expired_invite_member_content_2'),\n ];\n showButtons = true;\n break;\n }\n\n case 2009: {\n title = i18n.t('messages.plan_expired_connect_email_message');\n contents = [\n i18n.t('messages.plan_expired_connect_email_content_1'),\n i18n.t('messages.plan_expired_connect_email_content_2'),\n ];\n showButtons = true;\n break;\n }\n case 2010: {\n title = i18n.t('messages.plan_expired_create_api_key');\n contents = [i18n.t('messages.subscription_warning')];\n showButtons = true;\n break;\n }\n\n case 2011: {\n title = message;\n contents = [i18n.t('messages.lead_finder_low_credits')];\n break;\n }\n\n case 3002: {\n title = i18n.t('messages.plan_expired_message');\n contents = [i18n.t('messages.upgrade_plan_contact_admin')];\n showButtons = false;\n break;\n }\n\n case 3003: {\n title = i18n.t('messages.plan_expired_active_sequence_message');\n contents = [i18n.t('messages.upgrade_plan_contact_admin')];\n showButtons = false;\n break;\n }\n\n case 3004: {\n title = i18n.t('messages.plan_expired_clone_sequence_message');\n contents = [i18n.t('messages.upgrade_plan_contact_admin')];\n showButtons = false;\n break;\n }\n\n case 3005: {\n title = i18n.t('messages.plan_expired_add_email_message');\n contents = [i18n.t('messages.upgrade_plan_contact_admin')];\n showButtons = false;\n break;\n }\n\n case 3007: {\n title = i18n.t('messages.plan_expired_invite_member_message');\n contents = [i18n.t('messages.upgrade_plan_contact_admin')];\n showButtons = false;\n break;\n }\n\n case 3009: {\n title = i18n.t('messages.plan_expired_connect_email_message');\n contents = [i18n.t('messages.upgrade_plan_contact_admin')];\n showButtons = false;\n break;\n }\n\n case 5000: {\n title = i18n.t('labels.upgrade_required');\n contents = [i18n.t('messages.upgrade_plan_for_add_email_account_admin')];\n showButtons = true;\n break;\n }\n\n case 5001: {\n title = i18n.t('labels.upgrade_required');\n contents = [i18n.t('messages.upgrade_plan_for_add_email_account')];\n showButtons = true;\n break;\n }\n\n default: {\n title = message;\n contents = [i18n.t('messages.subscription_warning')];\n }\n }\n\n planPermissionError.showModal(title, contents, showButtons);\n};\n","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport {\n AdminSettings,\n AdminSettingsPriority,\n organizationData,\n} from '../../types/admin-settings';\nimport {\n getAdminSettingsRequest,\n getExclusionListRequest,\n getSSOOrganizationRequest,\n getSSOSetupUrlRequest,\n updateAdminSettingsRequest,\n updateExclusionListRequest,\n updateSSOOrganizationRequest,\n} from './extra-actions';\nimport { ExclusionListEmailsAndDomains, PaginationOptions } from './types';\n\nexport const getExclusionListPaginationInitialState = () => ({\n totalItems: 0,\n currentPage: 1,\n itemsPerPage: 50,\n totalPages: 1,\n itemCount: 0,\n});\n\ntype RequestState = {\n status: RequestStatus;\n message: string;\n error: any;\n};\n\ntype State = {\n createSSOOrganizationRequest: RequestState;\n updateSSOOrganizationRequest: RequestState;\n getSSOOrganizationRequest: RequestState;\n getSSOSetupUrlRequest: RequestState;\n getAdminSettingsRequest: RequestState;\n updateAdminSettingsRequest: RequestState;\n getExclusionListRequest: RequestState;\n updateExclusionListRequest: RequestState;\n adminSettings: AdminSettings[];\n adminSettingsPriority: AdminSettingsPriority[];\n exclusionList: ExclusionListEmailsAndDomains[];\n exclusionListPaginationOptions: PaginationOptions;\n ssoSetupUrl: string;\n organizationData: organizationData;\n};\n\nconst initialState: State = {\n ssoSetupUrl: null,\n createSSOOrganizationRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateSSOOrganizationRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getSSOOrganizationRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getSSOSetupUrlRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getAdminSettingsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateAdminSettingsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getExclusionListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateExclusionListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n adminSettings: null,\n adminSettingsPriority: null,\n exclusionList: [],\n exclusionListPaginationOptions: getExclusionListPaginationInitialState(),\n organizationData: null,\n};\n\nconst adminSettingsSlice = createSlice({\n name: 'adminSettings',\n initialState,\n reducers: {\n resetUpdateAdminSettings: (state) => {\n state.updateAdminSettingsRequest =\n initialState.updateAdminSettingsRequest;\n },\n resetAdminSettings: (state) => {\n state.getAdminSettingsRequest = initialState.getAdminSettingsRequest;\n state.updateAdminSettingsRequest =\n initialState.updateAdminSettingsRequest;\n state.adminSettings = initialState.adminSettings;\n state.adminSettingsPriority = initialState.adminSettingsPriority;\n },\n resetExclusionList: (state) => {\n state.exclusionList = initialState.exclusionList;\n state.exclusionListPaginationOptions =\n initialState.exclusionListPaginationOptions;\n },\n\n resetUpdateExclusionRequestStatus: (state) => {\n state.updateExclusionListRequest =\n initialState.updateExclusionListRequest;\n },\n },\n extraReducers: (builder) => {\n // Get Admin Settings\n builder.addCase(getAdminSettingsRequest.pending, (state) => {\n state.getAdminSettingsRequest.status = RequestStatus.Pending;\n state.getAdminSettingsRequest.error = null;\n });\n builder.addCase(getAdminSettingsRequest.fulfilled, (state, action) => {\n state.getAdminSettingsRequest.status = RequestStatus.Succeeded;\n state.getAdminSettingsRequest.message = action.payload.message;\n state.adminSettings = action.payload.payload[0].shAccountSettingData;\n state.adminSettingsPriority =\n action.payload.payload[0].priorityAndDistributionData;\n });\n builder.addCase(getAdminSettingsRequest.rejected, (state, action) => {\n state.getAdminSettingsRequest.status = RequestStatus.Failed;\n state.getAdminSettingsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Update Admin Settings\n builder.addCase(updateAdminSettingsRequest.pending, (state) => {\n state.updateAdminSettingsRequest.status = RequestStatus.Pending;\n state.updateAdminSettingsRequest.error = null;\n });\n builder.addCase(updateAdminSettingsRequest.fulfilled, (state, action) => {\n state.updateAdminSettingsRequest.status = RequestStatus.Succeeded;\n state.updateAdminSettingsRequest.message = action.payload.message;\n state.ssoSetupUrl = action.payload.payload?.ssoSetupUrl;\n });\n builder.addCase(updateAdminSettingsRequest.rejected, (state, action) => {\n state.updateAdminSettingsRequest.status = RequestStatus.Failed;\n state.updateAdminSettingsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Exclusion List\n builder.addCase(getExclusionListRequest.pending, (state) => {\n state.getExclusionListRequest.status = RequestStatus.Pending;\n state.getExclusionListRequest.error = null;\n });\n builder.addCase(getExclusionListRequest.fulfilled, (state, action) => {\n state.getExclusionListRequest.status = RequestStatus.Succeeded;\n state.getExclusionListRequest.message = action.payload.message;\n\n if (action.meta.arg.currentPage === 1) {\n state.exclusionList = action.payload.payload.items || [];\n } else if (action.meta.arg.currentPage > 1) {\n state.exclusionList = [\n ...(state.exclusionList || []),\n ...(action.payload.payload.items || []),\n ];\n }\n state.exclusionListPaginationOptions = action.payload.payload.meta;\n });\n builder.addCase(getExclusionListRequest.rejected, (state, action) => {\n state.getExclusionListRequest.status = RequestStatus.Failed;\n state.getExclusionListRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Update Exclusion List\n builder.addCase(updateExclusionListRequest.pending, (state) => {\n state.updateExclusionListRequest.status = RequestStatus.Pending;\n state.updateAdminSettingsRequest.error = null;\n });\n builder.addCase(updateExclusionListRequest.fulfilled, (state, action) => {\n state.updateExclusionListRequest.status = RequestStatus.Succeeded;\n state.updateExclusionListRequest.message = action.payload.message;\n });\n builder.addCase(updateExclusionListRequest.rejected, (state, action) => {\n state.updateExclusionListRequest.status = RequestStatus.Failed;\n state.updateExclusionListRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Update SSO Organization\n builder.addCase(updateSSOOrganizationRequest.pending, (state) => {\n state.updateSSOOrganizationRequest.status = RequestStatus.Pending;\n state.updateSSOOrganizationRequest.error = null;\n });\n builder.addCase(updateSSOOrganizationRequest.fulfilled, (state, action) => {\n state.updateSSOOrganizationRequest.status = RequestStatus.Succeeded;\n state.updateSSOOrganizationRequest.message = action.payload.message;\n });\n builder.addCase(updateSSOOrganizationRequest.rejected, (state, action) => {\n state.updateSSOOrganizationRequest.status = RequestStatus.Failed;\n state.updateSSOOrganizationRequest.error = action.error;\n });\n\n // Get SSO Organization\n builder.addCase(getSSOOrganizationRequest.pending, (state) => {\n state.getSSOOrganizationRequest.status = RequestStatus.Pending;\n state.getSSOOrganizationRequest.error = null;\n });\n builder.addCase(getSSOOrganizationRequest.fulfilled, (state, action) => {\n state.getSSOOrganizationRequest.status = RequestStatus.Succeeded;\n state.getSSOOrganizationRequest.message = action.payload.message;\n state.organizationData = action.payload.payload;\n });\n builder.addCase(getSSOOrganizationRequest.rejected, (state, action) => {\n state.getSSOOrganizationRequest.status = RequestStatus.Failed;\n state.getSSOOrganizationRequest.error = action.error;\n });\n\n // Get SSO Setup Url\n builder.addCase(getSSOSetupUrlRequest.pending, (state) => {\n state.getSSOSetupUrlRequest.status = RequestStatus.Pending;\n state.getSSOSetupUrlRequest.error = null;\n });\n builder.addCase(getSSOSetupUrlRequest.fulfilled, (state, action) => {\n state.getSSOSetupUrlRequest.status = RequestStatus.Succeeded;\n state.getSSOSetupUrlRequest.message = action.payload.message;\n state.ssoSetupUrl = action.payload.payload.url;\n });\n builder.addCase(getSSOSetupUrlRequest.rejected, (state, action) => {\n state.getSSOSetupUrlRequest.status = RequestStatus.Failed;\n state.getSSOSetupUrlRequest.error = action.error;\n });\n },\n});\n\nexport const {\n resetUpdateAdminSettings,\n resetAdminSettings,\n resetExclusionList,\n\n resetUpdateExclusionRequestStatus,\n} = adminSettingsSlice.actions;\n\nexport { getAdminSettingsRequest };\nexport default adminSettingsSlice.reducer;\n","import history from '../history';\nimport { LocationDescriptor, LocationState } from 'history';\n\nexport const redirectWithRefresh = (url: string) => {\n window.location.href = url;\n};\n\nexport const redirectWithoutRefresh = (\n location: LocationDescriptor,\n) => {\n history.push(location);\n};\n\nexport const redirectWithNewTab = (url: string, target = '_blank') => {\n window.open(url, target);\n}","import React from 'react';\n\ntype IProps = {\n content: React.ReactNode;\n className?: string;\n};\n\nconst Description: React.FC = ({ className = '', content }) => (\n
    \n

    {content}

    \n
    \n);\n\nexport default Description;\n","import {\n SubscriptionPlanIdMap,\n SubscriptionPlans,\n} from '../../../shared/utils/subscription-plans';\n\nconst checkIsPlanDowngraded = (from, includeTrailPlan = false): boolean => {\n const freePlanId = SubscriptionPlanIdMap[SubscriptionPlans.FREE];\n const trialPlanId = SubscriptionPlanIdMap[SubscriptionPlans.TRIAL];\n\n if (includeTrailPlan) {\n return from !== freePlanId;\n }\n return from !== freePlanId && from !== trialPlanId;\n};\n\n// eslint-disable-next-line import/prefer-default-export\nexport const isPlanDowngraded = (planTransitionDetails: {\n current: number;\n from: number;\n}) =>\n planTransitionDetails !== null &&\n planTransitionDetails?.current === SubscriptionPlanIdMap.free &&\n checkIsPlanDowngraded(planTransitionDetails?.from, true);\n\nexport const isPlanDowngradedFromTrial = (planTransitionDetails: {\n current: number;\n from: number;\n}) =>\n planTransitionDetails !== null &&\n planTransitionDetails?.current === SubscriptionPlanIdMap.free &&\n planTransitionDetails?.from === SubscriptionPlanIdMap.trial;\n\nexport const isPlanDowngradedFromPaid = (planTransitionDetails: {\n current: number;\n from: number;\n}) =>\n planTransitionDetails !== null &&\n planTransitionDetails?.current === SubscriptionPlanIdMap.free &&\n checkIsPlanDowngraded(planTransitionDetails?.from);\n","export enum IntercomEvents {\n SHOW = 'show',\n HIDE = 'hide',\n ON_SHOW = 'onShow',\n ON_HIDE = 'onHide',\n UPDATE = 'update',\n SHUTDOWN = 'shutdown',\n SHOW_MESSAGES = 'showMessages',\n SHOW_NEW_MESSAGES = 'showNewMessages',\n}\n","export enum FieldType {\n Text = 'text',\n Number = 'number',\n LongText = 'long-text',\n}\n","import { CancelToken } from 'axios';\nimport api from '../../../api';\nimport { Source } from '../../../shared/enums/source';\nimport { TrialExtendSource } from '../../../shared/enums/trial-extend-source';\nimport { ResponseSuccess } from '../../../shared/types';\nimport {\n CreateSequenceRequestPayload,\n UpdateUserSettingsRequestPayload,\n} from '../../sequence/types';\nimport {\n CompareAuthTokenPayload,\n UnreadEmailThreadsCountPayload,\n UpgradeOnboardingStepPayload,\n} from '../types';\n\nexport const getUserSettings = async () =>\n api.get(`/user/meta`);\n\nexport const getAgencyConfig = async (args) =>\n api.get(`/agency/config`, {\n params: { baseUrl: args.baseUrl, email: args.email },\n });\n\nexport const updateUserSettings = async (\n payload: UpdateUserSettingsRequestPayload,\n) => api.patch(`/user/meta`, payload);\n\nexport const compareAuthToken = async (payload: CompareAuthTokenPayload) =>\n api.post('/user/compare-user', {\n ...payload,\n });\n\nexport const upgradeOnboardingStep = async (\n payload: UpgradeOnboardingStepPayload,\n) => api.patch('/user/onboarding/upgrade', payload);\n\nexport const getUserNotifications = async (args) =>\n api.get(`/notification`, {\n params: {\n page: args,\n },\n });\n\nexport const getPollingNotifications = async (cancelToken?: CancelToken) =>\n api.get('/notification/polling', {cancelToken});\n\nexport const updateHiddenNotification = async (notificationId: string) =>\n api.patch(`/notification/${notificationId}/mark-as-hidden`);\n\nexport const getUnreadNotifications = async () =>\n api.get(`/notification/get-unread-count`);\n\nexport const markNotificationsAsRead = async (notificationId?: string) =>\n api.post(`/notification/mark-as-read`, {\n notificationId,\n });\n\nexport const createSequence = async (\n source: Source,\n payload: CreateSequenceRequestPayload,\n) =>\n api.post('/sequences/getting-started', payload, {\n headers: { 'sh-source': source },\n });\n\nexport const getPostLoadMeta = async () =>\n api.get(`/user/postload-meta`);\n\nexport const extendTrialPeriod = async (source: TrialExtendSource) =>\n api.patch(`/accounts/trial-extend`, {\n source,\n });\n\n// Get Unread Email Threads Count\nexport const getUnreadEmailThreadsCount = async ({\n search,\n categoryId,\n sequenceIds,\n emailAccountIds,\n clientIds,\n owners,\n date,\n shouldCalculateFilterCount,\n}: UnreadEmailThreadsCountPayload) =>\n api.post('/unibox/unread-email-threads-count', {\n ...(search !== '' && { search }),\n ...(categoryId > 0 && { categoryId }),\n ...(sequenceIds?.length > 0 && { sequenceIds }),\n ...(emailAccountIds?.length > 0 && { emailAccountIds }),\n ...(clientIds?.length > 0 && { clientIds }),\n ...(owners?.length > 0 && { owners }),\n ...(date?.startDate &&\n date?.endDate && { startDate: date.startDate, endDate: date.endDate }),\n shouldCalculateFilterCount,\n });\n","/* eslint-disable react/react-in-jsx-scope */\nimport {\n Like,\n Calendar,\n Dislike,\n Clock,\n Mail,\n CircleX,\n Tag,\n OutOfOffice,\n UserStar,\n} from '@saleshandy/icons';\nimport isNull from 'lodash/isNull';\nimport { ReactNode } from 'react';\nimport {\n ActivityData,\n EngagementActivityType,\n Icon,\n} from '../../../../../../../../../../shared/design-system/components/molecules/activity-column/type';\nimport { getFormattedTime } from '../../../../../../../../../../shared/utils';\nimport {\n ContactStatusFilterEnum,\n ContactStatusType,\n ContactStatusTypeDisplayName,\n ContactTotal,\n ProspectOutcome,\n ProspectOutcomeDisplayName,\n SequenceProspectStatus,\n StatusColor,\n} from '../../../../../../../../enums';\nimport { StatusFilterDetail } from '../../../../../../../../types';\nimport i18n from '../../../../../../../../../../i18n';\nimport { Images } from '../../../../../../../../../../shared/app-constants';\nimport { OutcomeSentimentIconColor } from '../../../../../../../../../settings/enums/custom-outcome';\n\nconst getColor = (status: string) => {\n switch (status) {\n case ContactStatusFilterEnum.Total:\n return StatusColor.COLOR_TOTAL;\n case ContactStatusFilterEnum.Active:\n return StatusColor.COLOR_ACTIVE;\n case ContactStatusFilterEnum.Finished:\n return StatusColor.COLOR_FINISH;\n case ContactStatusFilterEnum.Open:\n return StatusColor.COLOR_OPEN;\n case ContactStatusFilterEnum.Clicked:\n return StatusColor.COLOR_CLICKED;\n case ContactStatusFilterEnum.Replied:\n return StatusColor.COLOR_REPLIED;\n case ContactStatusFilterEnum.Bounced:\n return StatusColor.COLOR_BOUNCED;\n case ContactStatusFilterEnum.Unsubscribed:\n return StatusColor.COLOR_UNSUBSCRIBED;\n default:\n return StatusColor.COLOR_TOTAL;\n }\n};\n\nexport const stepFilterMapper = (statusFilterList) => {\n const segments = [\n {\n text: ContactStatusTypeDisplayName.clicked,\n type: ContactStatusFilterEnum.Clicked,\n count: 0,\n },\n {\n text: ContactStatusTypeDisplayName.SentNotOpen,\n type: ContactStatusFilterEnum.SentNotOpen,\n count: 0,\n },\n {\n text: ContactStatusTypeDisplayName.OpenNotClick,\n type: ContactStatusFilterEnum.OpenNotClick,\n count: 0,\n },\n {\n text: ContactStatusTypeDisplayName.OpenNoReply,\n type: ContactStatusFilterEnum.OpenNotReply,\n count: 0,\n },\n {\n text: ContactStatusTypeDisplayName.ClickedNoReply,\n type: ContactStatusFilterEnum.ClickedNoReply,\n count: 0,\n },\n ];\n\n // eslint-disable-next-line no-restricted-syntax, guard-for-in\n for (const status in statusFilterList) {\n // eslint-disable-next-line no-plusplus\n for (let j = 0; j < segments.length; j++) {\n if (status === segments[j].type) {\n segments[j].count = Number(statusFilterList[status]) || 0;\n break;\n }\n }\n }\n\n const statusFilter: StatusFilterDetail[] = [\n {\n text: 'Total',\n type: ContactTotal.TOTAL,\n count: statusFilterList?.total || 0,\n countColor: getColor(ContactTotal.TOTAL),\n },\n {\n text: ContactStatusTypeDisplayName.NotContacted,\n type: ContactStatusFilterEnum.NotContacted,\n count: 0,\n countColor: getColor(ContactStatusFilterEnum.Active),\n },\n {\n text: ContactStatusTypeDisplayName.Contacted,\n type: ContactStatusFilterEnum.Contacted,\n count: 0,\n countColor: getColor(ContactStatusFilterEnum.Active),\n },\n {\n text: ContactStatusTypeDisplayName[ContactStatusFilterEnum.Open],\n type: ContactStatusFilterEnum.Open,\n count: 0,\n countColor: getColor(ContactStatusFilterEnum.Open),\n },\n {\n text: ContactStatusTypeDisplayName[ContactStatusFilterEnum.Replied],\n type: ContactStatusFilterEnum.Replied,\n count: 0,\n countColor: getColor(ContactStatusFilterEnum.Replied),\n },\n {\n text: ContactStatusTypeDisplayName[ContactStatusFilterEnum.Clicked],\n type: ContactStatusFilterEnum.Clicked,\n count: 0,\n countColor: getColor(ContactStatusFilterEnum.Clicked),\n isDropDownSegment: true,\n segmentOptions: segments,\n },\n ];\n\n // eslint-disable-next-line no-restricted-syntax, guard-for-in\n for (const status in statusFilterList) {\n // eslint-disable-next-line no-plusplus\n for (let j = 0; j < statusFilter.length; j++) {\n if (status === statusFilter[j].type) {\n statusFilter[j].count = Number(statusFilterList[status]) || 0;\n break;\n }\n }\n }\n\n return statusFilter;\n};\n\nexport const prospectOutcomeMapper = (outcomeFilterList, allOutcomes) => {\n let customOutcomes =\n allOutcomes?.filter((outcome) => !outcome.isDefault) || [];\n customOutcomes = customOutcomes.map((outcome) => {\n const outcomeObj = {\n text: outcome.name,\n type: outcome.name,\n count: 0,\n isCustomOutcome: true,\n sentiment: outcome.sentiment,\n };\n return outcomeObj;\n });\n const outcomes = [\n {\n text: ProspectOutcomeDisplayName.OutOfOffice,\n type: ProspectOutcome.OutOfOffice,\n count: 0,\n },\n {\n text: ProspectOutcomeDisplayName.NotInterested,\n type: ProspectOutcome.NotInterested,\n count: 0,\n },\n {\n text: ProspectOutcomeDisplayName.NotNow,\n type: ProspectOutcome.NotNow,\n count: 0,\n },\n {\n text: ProspectOutcomeDisplayName.DoNotContact,\n type: ProspectOutcome.DoNotContact,\n count: 0,\n },\n {\n text: ProspectOutcomeDisplayName.Uncategorized,\n type: ProspectOutcome.Uncategorized,\n count: 0,\n },\n ];\n\n if (customOutcomes.length) {\n outcomes.push(...customOutcomes);\n }\n\n // eslint-disable-next-line no-restricted-syntax, guard-for-in\n for (const status in outcomeFilterList) {\n // eslint-disable-next-line no-plusplus\n for (let j = 0; j < outcomes.length; j++) {\n if (status === outcomes[j].type) {\n outcomes[j].count = Number(outcomeFilterList[status]);\n break;\n }\n }\n }\n\n const outcomeFilter: StatusFilterDetail[] = [\n {\n text: ProspectOutcomeDisplayName.Interested,\n type: ProspectOutcome.Interested,\n count: 0,\n dealValue: 0,\n countColor: getColor(ContactTotal.TOTAL),\n },\n {\n text: ProspectOutcomeDisplayName.MeetingBooked,\n type: ProspectOutcome.MeetingBooked,\n count: 0,\n dealValue: 0,\n countColor: getColor(ContactTotal.TOTAL),\n },\n {\n text: ProspectOutcomeDisplayName.Closed,\n type: ProspectOutcome.Closed,\n count: 0,\n dealValue: 0,\n countColor: getColor(ContactTotal.TOTAL),\n },\n {\n text: ProspectOutcomeDisplayName.OutOfOffice,\n type: ProspectOutcome.OutOfOffice,\n count: 0,\n countColor: getColor(ContactStatusFilterEnum.Replied),\n isDropDownSegment: true,\n segmentOptions: outcomes,\n },\n ];\n\n // eslint-disable-next-line no-restricted-syntax, guard-for-in\n for (const status in outcomeFilterList) {\n // eslint-disable-next-line no-plusplus\n for (let j = 0; j < outcomeFilter.length; j++) {\n if (status === outcomeFilter[j].type) {\n outcomeFilter[j].count = Number(outcomeFilterList[status]);\n outcomeFilter[j].dealValue = outcomeFilterList[`${status}DealValue`];\n break;\n }\n }\n }\n\n return outcomeFilter;\n};\n\nexport const mapSequenceStatusToContactFilter = (\n sequenceStatus: SequenceProspectStatus,\n): ContactStatusType => {\n switch (sequenceStatus) {\n case SequenceProspectStatus.Active:\n return ContactStatusType.Active;\n case SequenceProspectStatus.Paused:\n return ContactStatusType.Paused;\n case SequenceProspectStatus.Unsubscribed:\n return ContactStatusType.Unsubscribed;\n case SequenceProspectStatus.Replied:\n return ContactStatusType.Replied;\n case SequenceProspectStatus.Finished:\n return ContactStatusType.Finished;\n case SequenceProspectStatus.BlackListed:\n return ContactStatusType.Blacklisted;\n case SequenceProspectStatus.Bounced:\n return ContactStatusType.Bounced;\n default:\n return ContactStatusType.Active;\n }\n};\n\nexport const contactListMapper = (contactList, timeZone, allOutcomes) =>\n contactList?.map(\n ({\n id,\n attributes,\n sequenceProspects,\n verificationStatus,\n isSubscribed,\n bounceType,\n tags,\n }) => {\n const name = attributes.map(\n ({ attributeValue: value, fieldRef: { isDefault, label } }) => ({\n value,\n isDefault,\n label,\n }),\n );\n name.verificationStatus = verificationStatus;\n\n const sequenceProspect = sequenceProspects?.[0] || {};\n const { status } = sequenceProspect;\n const { categoryId, currentStep = {} } = sequenceProspect;\n const { number: stepNumber, id: stepId, type, sequence } = currentStep;\n\n const {\n updatedAt,\n currentStepClickedAt,\n currentStepOpenedAt,\n currentStepCompletedAt,\n currentStepRepliedAt,\n } = sequenceProspect;\n\n const history: ActivityData[] = [\n {\n timeZone,\n date: currentStepCompletedAt,\n text: i18n.t('messages.email_sent_on'),\n iconLabel: Icon.MAIL,\n type: EngagementActivityType.EmailSent,\n stepType: type,\n },\n {\n timeZone,\n date: currentStepOpenedAt,\n text: i18n.t('messages.email_opened_on'),\n iconLabel: Icon.EYE,\n type: EngagementActivityType.EmailOpened,\n stepType: type,\n },\n {\n timeZone,\n date: currentStepClickedAt,\n text: i18n.t('messages.link_clicked_on'),\n iconLabel: Icon.LINK,\n type: EngagementActivityType.LinkClicked,\n stepType: type,\n },\n {\n timeZone,\n date: currentStepRepliedAt,\n text: i18n.t('messages.email_replied_on'),\n iconLabel: Icon.REPLY,\n type: EngagementActivityType.EmailReplied,\n stepType: type,\n },\n ];\n\n const lastActivity = updatedAt;\n\n return {\n id,\n name,\n stepNumber: `${i18n.t('labels.step')} #${stepNumber}`,\n stepType: type,\n status: mapSequenceStatusToContactFilter(status),\n stepId,\n history,\n lastActivity: lastActivity\n ? getFormattedTime(lastActivity?.toString())\n : '',\n isSubscribed,\n isBounced: !isNull(bounceType),\n tags,\n outcome: {\n prospectId: id,\n sequenceId: sequence?.id,\n outcome: categoryId\n ? {\n categoryId,\n }\n : '',\n allOutcomes: allOutcomes || [],\n },\n };\n },\n ) || [];\n\nexport const sequenceStepFilterMapper = (currentSequenceStep, stepFilterList) =>\n currentSequenceStep.reduce((acc, current) => {\n const stepDetail = stepFilterList.stepNumberWithCount.find(\n (item) => item.stepId === current.id,\n );\n if (stepDetail) {\n return [\n ...acc,\n {\n id: stepDetail.stepId,\n count: stepDetail.count,\n text: `Step ${stepDetail.stepNumber}`,\n number: stepDetail.stepNumber,\n },\n ];\n }\n\n return [\n ...acc,\n {\n id: current.id,\n count: 0,\n number: current.number,\n text: `Step ${current.number}`,\n },\n ];\n }, []);\n\nexport const getOutcomeIcon = (\n outcome: ProspectOutcomeDisplayName | string,\n isColorsIcon = false,\n defaultProps = null,\n): ReactNode => {\n if (defaultProps && defaultProps.sentiment && !defaultProps.isDefault) {\n return (\n \n );\n }\n\n if (outcome === 'All Outcomes') {\n return ;\n }\n\n switch (outcome) {\n case ProspectOutcomeDisplayName.Interested:\n return (\n \n );\n case ProspectOutcomeDisplayName.MeetingBooked:\n return (\n \n );\n case ProspectOutcomeDisplayName.Closed:\n return (\n \n );\n case ProspectOutcomeDisplayName.OutOfOffice:\n return (\n \n );\n case ProspectOutcomeDisplayName.NotInterested:\n return (\n \n );\n case ProspectOutcomeDisplayName.NotNow:\n return (\n \n );\n case ProspectOutcomeDisplayName.DoNotContact:\n return (\n \n );\n default:\n return (\n \n );\n }\n};\n","import React from 'react';\nimport {\n Carousel as ShCarousel,\n CarouselProps,\n} from '@saleshandy/design-system';\n\nconst Carousel: React.FC = ({ children, ...rest }) => (\n {children}\n);\n\nexport default Carousel;\n","import React, { useState } from 'react';\nimport Carousel from '../../design-system/ui/carousel';\nimport { Images } from '../../app-constants';\nimport { Quotes } from '../../svg';\nimport { accessibleOnClick } from '../../utils/accessible-on-click';\n\ntype Testimonials = {\n id: number;\n message: React.ReactNode;\n name: string;\n profileURL: string;\n role: string;\n};\n\nconst testimonials: Testimonials[] = [\n {\n id: 1,\n message: (\n \n A must-have in your outreach arsenal.{' '}\n It has everything that you’re looking for your business growth.\n \n ),\n name: 'Joshua Lim',\n profileURL: Images.Testimonial1,\n role: 'Managing Director, Social Hackrs',\n },\n {\n id: 2,\n message:\n 'The perfect outreach platform for our business. You can add unlimited email accounts to increase volume at any scale.',\n name: 'Skyrocket',\n profileURL: Images.Testimonial2,\n role: 'Founder, SalesLink',\n },\n {\n id: 3,\n message: (\n \n The future of cadence tools has\n arrived. The simplicity and straight forwardness of the product are\n great.\n \n ),\n name: 'Thomas Foley',\n profileURL: Images.Testimonial3,\n role: 'HighTouch, Founder',\n },\n];\n\nconst TestimonialsCarousel: React.FC = (): JSX.Element => {\n const [currentSlide, setCurrentSlide] = useState(0);\n\n const updateCurrentSlide = (index: number) => {\n if (currentSlide !== index) {\n setCurrentSlide(index);\n }\n };\n\n return (\n
    \n \n {testimonials.map((testimonial) => (\n
    \n
    \n \"quotes\"\n
    \n\n {testimonial.message}\n
    \n
    \n \"Profile\"\n
    \n
    \n

    {testimonial.name}

    \n

    {testimonial.role}

    \n
    \n
    \n
    \n ))}\n \n
    \n setCurrentSlide(0))}\n />\n setCurrentSlide(1))}\n />\n setCurrentSlide(2))}\n />\n
    \n
    \n );\n};\n\nexport default TestimonialsCarousel;\n","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport { MyProfile } from '../../types/my-profile';\nimport {\n getMyProfileRequest,\n resendOtpForChangeEmailRequest,\n sendOtpForChangeEmailRequest,\n updateMyProfileRequest,\n updatePasswordRequest,\n verifyCurrentPasswordRequest,\n verifyOtpForChangeEmailRequest,\n deleteMyProfileRequest,\n} from './extra-actions';\n\ntype RequestState = {\n status: RequestStatus;\n message: string;\n error: any;\n};\n\ntype State = {\n getUserDetailRequest: RequestState;\n updateMyProfileRequest: RequestState;\n updatePasswordRequest: RequestState;\n verifyCurrentPasswordRequest: RequestState;\n sendOtpForChangeEmailRequest: RequestState;\n resendOtpForChangeEmailRequest: RequestState;\n verifyOtpForChangeEmailRequest: RequestState;\n deleteMyProfileRequest: RequestState;\n myProfile: MyProfile;\n isCurrentPasswordValid: boolean;\n canResendChangeEmailVerificationCode: boolean;\n isLoading: boolean;\n};\n\nconst initialState: State = {\n getUserDetailRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateMyProfileRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updatePasswordRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n verifyCurrentPasswordRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n sendOtpForChangeEmailRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n resendOtpForChangeEmailRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n verifyOtpForChangeEmailRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n deleteMyProfileRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n myProfile: {\n firstName: null,\n lastName: null,\n timeZone: null,\n email: null,\n },\n isCurrentPasswordValid: true,\n canResendChangeEmailVerificationCode: true,\n isLoading: false,\n};\n\nconst myProfileSlice = createSlice({\n name: 'myProfile',\n initialState,\n reducers: {\n resetVerifyCurrentPasswordRequest: (state) => {\n state.verifyCurrentPasswordRequest =\n initialState.verifyCurrentPasswordRequest;\n },\n resetIsCurrentPasswordValid: (state) => {\n state.isCurrentPasswordValid = initialState.isCurrentPasswordValid;\n },\n resetSendOtpForChangeEmailRequest: (state) => {\n state.sendOtpForChangeEmailRequest =\n initialState.sendOtpForChangeEmailRequest;\n },\n resetResendOtpForChangeEmailRequest: (state) => {\n state.resendOtpForChangeEmailRequest =\n initialState.resendOtpForChangeEmailRequest;\n },\n resetVerifyOtpForChangeEmailRequest: (state) => {\n state.verifyOtpForChangeEmailRequest =\n initialState.verifyOtpForChangeEmailRequest;\n },\n resetDeleteMyProfileRequest: (state) => {\n state.deleteMyProfileRequest = initialState.deleteMyProfileRequest;\n },\n },\n extraReducers: (builder) => {\n // Get My profile\n builder.addCase(getMyProfileRequest.pending, (state) => {\n state.getUserDetailRequest.status = RequestStatus.Pending;\n state.getUserDetailRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(getMyProfileRequest.fulfilled, (state, action) => {\n state.getUserDetailRequest.status = RequestStatus.Succeeded;\n state.getUserDetailRequest.message = action.payload.message;\n state.myProfile = action.payload.payload;\n state.isLoading = false;\n });\n builder.addCase(getMyProfileRequest.rejected, (state, action) => {\n state.getUserDetailRequest.status = RequestStatus.Failed;\n state.getUserDetailRequest.error =\n !action.payload.isHandled && action.payload;\n state.isLoading = false;\n });\n\n // Update My profile\n builder.addCase(updateMyProfileRequest.pending, (state) => {\n state.updateMyProfileRequest.status = RequestStatus.Pending;\n state.updateMyProfileRequest.error = null;\n });\n builder.addCase(updateMyProfileRequest.fulfilled, (state, action) => {\n state.updateMyProfileRequest.status = RequestStatus.Succeeded;\n state.updateMyProfileRequest.message = action.payload.message;\n state.myProfile = action.payload.payload;\n });\n builder.addCase(updateMyProfileRequest.rejected, (state, action) => {\n state.updateMyProfileRequest.status = RequestStatus.Failed;\n state.updateMyProfileRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Update Password\n builder.addCase(updatePasswordRequest.pending, (state) => {\n state.updatePasswordRequest.status = RequestStatus.Pending;\n state.updatePasswordRequest.error = null;\n });\n builder.addCase(updatePasswordRequest.fulfilled, (state, action) => {\n state.updatePasswordRequest.status = RequestStatus.Succeeded;\n state.updatePasswordRequest.message = action.payload.message;\n });\n builder.addCase(updatePasswordRequest.rejected, (state, action) => {\n state.updatePasswordRequest.status = RequestStatus.Failed;\n state.updatePasswordRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Verify Current Password\n builder.addCase(verifyCurrentPasswordRequest.pending, (state) => {\n state.verifyCurrentPasswordRequest.status = RequestStatus.Pending;\n state.verifyCurrentPasswordRequest.error = null;\n });\n builder.addCase(verifyCurrentPasswordRequest.fulfilled, (state, action) => {\n state.verifyCurrentPasswordRequest.status = RequestStatus.Succeeded;\n state.verifyCurrentPasswordRequest.message = action.payload.message;\n state.isCurrentPasswordValid = action.payload.payload;\n });\n builder.addCase(verifyCurrentPasswordRequest.rejected, (state, action) => {\n state.verifyCurrentPasswordRequest.status = RequestStatus.Failed;\n state.verifyCurrentPasswordRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Send OTP To Change Email\n builder.addCase(sendOtpForChangeEmailRequest.pending, (state) => {\n state.sendOtpForChangeEmailRequest.status = RequestStatus.Pending;\n state.sendOtpForChangeEmailRequest.error = null;\n });\n builder.addCase(sendOtpForChangeEmailRequest.fulfilled, (state, action) => {\n state.sendOtpForChangeEmailRequest.status = RequestStatus.Succeeded;\n state.sendOtpForChangeEmailRequest.message = action.payload.message;\n });\n builder.addCase(sendOtpForChangeEmailRequest.rejected, (state, action) => {\n state.sendOtpForChangeEmailRequest.status = RequestStatus.Failed;\n state.sendOtpForChangeEmailRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Resend OTP To Change Email\n builder.addCase(resendOtpForChangeEmailRequest.pending, (state) => {\n state.resendOtpForChangeEmailRequest.status = RequestStatus.Pending;\n state.resendOtpForChangeEmailRequest.error = null;\n });\n builder.addCase(\n resendOtpForChangeEmailRequest.fulfilled,\n (state, action) => {\n state.resendOtpForChangeEmailRequest.status = RequestStatus.Succeeded;\n state.resendOtpForChangeEmailRequest.message = action.payload.message;\n state.canResendChangeEmailVerificationCode =\n action.payload.payload.canResendChangeEmailVerificationCode;\n },\n );\n builder.addCase(\n resendOtpForChangeEmailRequest.rejected,\n (state, action) => {\n state.resendOtpForChangeEmailRequest.status = RequestStatus.Failed;\n state.resendOtpForChangeEmailRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Verify OTP To Change Email\n builder.addCase(verifyOtpForChangeEmailRequest.pending, (state) => {\n state.verifyOtpForChangeEmailRequest.status = RequestStatus.Pending;\n state.verifyOtpForChangeEmailRequest.error = null;\n });\n builder.addCase(\n verifyOtpForChangeEmailRequest.fulfilled,\n (state, action) => {\n state.verifyOtpForChangeEmailRequest.status = RequestStatus.Succeeded;\n state.verifyOtpForChangeEmailRequest.message = action.payload.message;\n },\n );\n builder.addCase(\n verifyOtpForChangeEmailRequest.rejected,\n (state, action) => {\n state.verifyOtpForChangeEmailRequest.status = RequestStatus.Failed;\n state.verifyOtpForChangeEmailRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Delete Account\n builder.addCase(deleteMyProfileRequest.pending, (state) => {\n state.deleteMyProfileRequest.status = RequestStatus.Pending;\n state.deleteMyProfileRequest.error = null;\n });\n builder.addCase(deleteMyProfileRequest.fulfilled, (state, action) => {\n state.deleteMyProfileRequest.status = RequestStatus.Succeeded;\n state.deleteMyProfileRequest.message = action.payload.message;\n });\n builder.addCase(deleteMyProfileRequest.rejected, (state, action) => {\n state.deleteMyProfileRequest.status = RequestStatus.Failed;\n state.deleteMyProfileRequest.error =\n !action.payload.isHandled && action.payload;\n });\n },\n});\n\nexport const {\n resetVerifyCurrentPasswordRequest,\n resetIsCurrentPasswordValid,\n resetSendOtpForChangeEmailRequest,\n resetResendOtpForChangeEmailRequest,\n resetVerifyOtpForChangeEmailRequest,\n resetDeleteMyProfileRequest,\n} = myProfileSlice.actions;\nexport { getMyProfileRequest, updateMyProfileRequest, updatePasswordRequest };\nexport default myProfileSlice.reducer;\n","import { DateTime } from 'luxon';\n\n/**\n * Parses JS Date to string.\n * @summary Use this to store dates in Redux Store because Non-Serializable date(JS Date) can't be stored(without warnings :( )\n * in Redux Store\n * @param {Date} date - Date\n * @returns {string} parsed date.\n */\nexport const dateToString = (date: Date): string => {\n return DateTime.fromJSDate(date).toString();\n};\n\n/**\n * Formats the date to readable format\n * @summary Useful to parse dates before displaying them on UI\n * @param {Date} date - Date to parse.\n * @return {string} Formatted date\n */\nexport const getFormattedDate = (date: Date): string => {\n return DateTime.fromJSDate(date).toFormat('MMM dd, yyyy');\n};\n\n/**\n * Formats the date to numerical date format like (20-02-2021)\n * @param {Date} date - Date to parse\n * @returns {string} Formatted date\n */\n\nexport const getNumericalFormattedDate = (date: Date): string => {\n return DateTime.fromJSDate(date).toFormat('dd-MM-yyyy');\n};\n\n/**\n * Parses string to JS Date.\n * @summary Useful to parse string dates before sending them to API or Date Picker\n * @param {string} date - date to parse\n * @returns {Date} JS Date\n */\nexport const stringToDate = (date: string): Date => {\n return new Date(DateTime.fromISO(date).toISO());\n};\n","import { Images } from '../../../../../../../shared/app-constants';\nimport { BillingOption } from '../../../../../../../shared/utils/billing-options';\nimport {\n SubscriptionPlanModes,\n SubscriptionPlans,\n} from '../../../../../../../shared/utils/subscription-plans';\n\nconst ltdEmailOutreachPlanFeatures = [\n 'Limited to 1 user account',\n 'Unlimited email sequences',\n '50k prospects',\n 'Unlimited shared templates',\n];\n\nconst ltdEmailOutreachProPlanFeatures = [\n 'Multiple user accounts',\n 'Can stack upto 20 email accounts',\n 'Unlimited email sequences',\n 'Unlimited prospects',\n 'Unlimited shared templates',\n];\n\nexport const ltdPlans = [\n {\n name: 'Outreach',\n description:\n 'Automate your cold email outreach through fully automated sequences.',\n features: ltdEmailOutreachPlanFeatures,\n headerImage: Images.Ellipse1,\n },\n {\n name: 'Outreach Pro',\n description:\n 'Collaborate with your team with advanced team management & reports.',\n features: ltdEmailOutreachProPlanFeatures,\n headerImage: Images.Ellipse3,\n isBestValuePlan: true,\n },\n];\n\nexport const getPlanCode = (planCycle) => {\n let planCode;\n\n if (planCycle === BillingOption.ANNUALLY) {\n planCode = SubscriptionPlans.PAID_YEARLY;\n } else if (planCycle === BillingOption.MONTHLY) {\n planCode = SubscriptionPlans.PAID_MONTHLY;\n } else if (planCycle === BillingOption.LIFETIME) {\n planCode = 'ltd';\n }\n\n return planCode;\n};\n\nexport const getPlanMode = (planCycle) => {\n if (planCycle === BillingOption.MONTHLY) {\n return SubscriptionPlanModes.MonthlyMode;\n }\n if (planCycle === BillingOption.ANNUALLY) {\n return SubscriptionPlanModes.YearlyMode;\n }\n\n return SubscriptionPlanModes.LTDMode;\n};\n\nexport const getPlanData = (planMode, getPlanResponse, planCode) => {\n if (planMode === SubscriptionPlanModes.LTDMode) {\n if (\n planCode === SubscriptionPlans.EMAIL_OUTREACH_LIFETIME ||\n planCode === SubscriptionPlans.EMAIL_OUTREACH_PRO_LIFETIME\n ) {\n return getPlanResponse.filter(\n (response) =>\n response?.planCode === SubscriptionPlans.EMAIL_OUTREACH_LIFETIME ||\n response?.planCode === SubscriptionPlans.EMAIL_OUTREACH_PRO_LIFETIME,\n );\n }\n return getPlanResponse.filter(\n (response) =>\n response?.planCode !== SubscriptionPlans.EMAIL_OUTREACH_LIFETIME &&\n response?.planCode !== SubscriptionPlans.EMAIL_OUTREACH_PRO_LIFETIME,\n );\n }\n\n return getPlanResponse.filter((response) => response.planMode === planMode);\n};\n","export enum FieldCategory {\n Custom = 'custom',\n Default = 'default',\n}\n","import { ResponseSuccess } from '../../../shared/types';\nimport api from '../../../api';\nimport {\n CreateCustomFieldRequestPayload,\n GetFieldsQueryParams,\n UpdateCustomFieldRequestPayload,\n} from '../types/request-payload';\nimport { ProspectType } from '../enums/prospect-type';\nimport { PaginationQueryParams } from '../../../shared/types/request';\nimport { FieldCategory } from '../enums/field-category';\nimport { ProspectOverviewParams } from '../../sequence/shared/modals/email-modal/test-email/types/request-payload';\n\n// Get fields with pagination function\nexport const getCustomFieldsWithPagination = async (\n params: PaginationQueryParams = {},\n) =>\n api.get('/fields/list', {\n params: { ...params, category: FieldCategory.Custom },\n });\n\n// Get fields with pagination function\nexport const getDefaultFieldsWithPagination = async (\n params: PaginationQueryParams = {},\n) =>\n api.get('/fields/list', {\n params: { ...params, category: FieldCategory.Default },\n });\n\n// Get All Fields\nexport const getAllFields = async (params: PaginationQueryParams = {}) =>\n api.get('/fields/list', { params });\n\n// Get fields generic function\nexport const getFieldsGeneric = async (params: GetFieldsQueryParams = {}) =>\n api.get('/fields', { params });\n\n// Get fields (excluding defaults)\nexport const getCustomFields = () =>\n getFieldsGeneric({ includeDefaults: true });\n\n// Get contact fields (including defaults)\nexport const getContactFields = async () =>\n getFieldsGeneric({\n prospectType: ProspectType.Contact,\n includeDefaults: true,\n });\n\n// Get account fields (including defaults)\nexport const getAccountFields = async () =>\n getFieldsGeneric({\n prospectType: ProspectType.Account,\n includeDefaults: true,\n });\n\n// Get contact fields (excluding defaults)\nexport const getContactCustomFields = async () =>\n getFieldsGeneric({\n prospectType: ProspectType.Contact,\n includeDefaults: false,\n });\n\n// Get account fields (excluding defaults)\nexport const getAccountCustomFields = async () =>\n getFieldsGeneric({\n prospectType: ProspectType.Account,\n includeDefaults: false,\n });\n\n// Create field\nexport const createCustomField = async (\n payload: CreateCustomFieldRequestPayload,\n) => api.post('/fields', payload);\n\n// Update field\nexport const updateCustomField = async (\n fieldId: number,\n payload: UpdateCustomFieldRequestPayload,\n) => api.patch(`/fields/${fieldId}`, payload);\n\n// Delete field\nexport const deleteCustomField = async (fieldId: number) =>\n api.delete(`/fields/${fieldId}`);\n\nexport type ProspectOverviewWithoutSequenceId = Omit;\n\nexport const getPropsectsOverview = async (\n sequenceId: string,\n params: ProspectOverviewWithoutSequenceId,\n) =>\n api.get(\n `/sequences/${parseInt(sequenceId, 10)}/contacts/overview`,\n {\n params,\n },\n );\n","import api from '../../../api';\nimport {\n MailboxEmailActivityPayload,\n MailboxEmailNotificationPayload,\n MailboxEmailsFiltersMeta,\n} from '../type';\n\n// Get Mailbox Emails List\nexport const getMailboxEmailsList = async ({\n mailbox,\n ...rest\n}: MailboxEmailsFiltersMeta) =>\n api.get('/mailboxes/emails', {\n params: {\n ...rest,\n ...(mailbox > 0 && { mailboxes: mailbox }),\n },\n });\n\n// Get Mailboxed List\nexport const getMailboxesList = async () => api.get('/mailboxes');\n\n// Get Mailbox Emails List\nexport const getMailboxEmailActivity = async ({\n id,\n ...rest\n}: MailboxEmailActivityPayload) =>\n api.get(`/activity/emails/${id}`, {\n params: {\n ...rest,\n },\n });\n\n// Toggle Mailbox Email Notification\nexport const toggleMailboxEmailNotification = async ({\n id,\n ...rest\n}: MailboxEmailNotificationPayload) =>\n api.patch(`/mailboxes/emails/${id}`, {\n ...rest,\n });\n\n// Delete Mailbox Email\nexport const deleteMailboxEmail = async (mailboxEmailId: number) =>\n api.delete(`/mailboxes/emails/${mailboxEmailId}`);\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport { ResponseErrorWithHandled, ResponseSuccess } from '../../shared/types';\nimport {\n deleteMailboxEmail,\n getMailboxEmailActivity,\n getMailboxEmailsList,\n getMailboxesList,\n toggleMailboxEmailNotification,\n} from './helpers/mailbox-emails.api';\nimport {\n MailboxEmailActivityPayload,\n MailboxEmailNotificationPayload,\n MailboxEmailsFiltersMeta,\n} from './type';\n\nexport const getMailboxEmailsListRequest = createAsyncThunk<\n ResponseSuccess,\n MailboxEmailsFiltersMeta,\n { rejectValue: ResponseErrorWithHandled }\n>('mailboxEmails/getMailboxEmailsList', async (args, thunkAPI) => {\n try {\n return await getMailboxEmailsList(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getMailboxesListRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('mailboxEmails/getMailboxesList', async (_args, thunkAPI) => {\n try {\n return await getMailboxesList();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getMailboxEmailActivityRequest = createAsyncThunk<\n ResponseSuccess,\n MailboxEmailActivityPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('mailboxEmails/getMailboxEmailActivity', async (args, thunkAPI) => {\n try {\n return await getMailboxEmailActivity(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const toggleMailboxEmailNotificationRequest = createAsyncThunk<\n ResponseSuccess,\n MailboxEmailNotificationPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('mailboxEmails/toggleMailboxEmailNotification', async (args, thunkAPI) => {\n try {\n return await toggleMailboxEmailNotification(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const deleteMailboxEmailRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>('mailboxEmails/deleteMailboxEmail', async (args, thunkAPI) => {\n try {\n return await deleteMailboxEmail(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n","import classNames from 'classnames';\nimport React from 'react';\nimport ImageIcon from '../../../../components/images/image-icon';\n\nexport type EmptyListProps = {\n children?;\n title: React.ReactNode;\n description: React.ReactNode;\n imgSrc: string;\n className?: string;\n isVertical?: boolean;\n withBgAndShadow?: boolean;\n};\n\nconst EmptyList: React.FC = ({\n children,\n title,\n description,\n imgSrc,\n className,\n isVertical = false,\n withBgAndShadow = false,\n}) => {\n const emptyListInnerClass = classNames([\n { 'empty-list__inner': !isVertical },\n { 'empty-list__inner-vertical': isVertical },\n ]);\n const emptyListPhotoClass = classNames([\n { 'empty-list__photo': !isVertical },\n { 'empty-list__photo-vertical': isVertical },\n {\n 'empty-list__photo-vertical--withBgAndShadow':\n isVertical && withBgAndShadow,\n },\n ]);\n const emptyListContentClass = classNames([\n { 'empty-list__content': !isVertical },\n {\n 'empty-list__content-vertical d-flex align-items-center justify-content-center flex-column': isVertical,\n },\n {\n 'empty-list__content-vertical--withBgAndShadow':\n isVertical && withBgAndShadow,\n },\n ]);\n const emptyListTitleClass = classNames([\n { 'empty-list__title': !isVertical },\n { 'empty-list__title-vertical': isVertical },\n ]);\n const emptyListBodyClass = classNames([\n { 'empty-list__body': !isVertical },\n { 'empty-list__body-vertical': isVertical },\n ]);\n const emptyListButtonClass = classNames([\n { 'empty-list__buttons': !isVertical },\n { 'empty-list__buttons-vertical': isVertical },\n ]);\n\n return (\n
    \n
    \n
    \n {imgSrc && withBgAndShadow ? (\n
    \n \n
    \n ) : (\n \n )}\n
    \n
    \n
    {title}
    \n

    {description}

    \n
    {children}
    \n
    \n
    \n
    \n );\n};\n\nexport default EmptyList;\n","export enum Placement {\n Auto = 'auto',\n Top = 'top',\n Bottom = 'bottom',\n Right = 'right',\n Left = 'left',\n AutoStart = 'auto-start',\n AutoEnd = 'auto-end',\n TopStart = 'top-start',\n TopEnd = 'top-end',\n BottomStart = 'bottom-start',\n BottomEnd = 'bottom-end',\n RightStart = 'right-start',\n RightEnd = 'right-end',\n LeftStart = 'left-start',\n LeftEnd = 'left-end',\n}\n\nexport enum TriggerType {\n Click = 'click',\n Hover = 'hover',\n Focus = 'focus',\n}\n\nexport enum Theme {\n New = 'new',\n Old = 'old',\n}\n","import React from 'react';\nimport { Spinner as ReactBootstrapSpinner } from 'react-bootstrap';\n\nexport enum SpinnerAnimation {\n Border = 'border',\n Grow = 'grow',\n}\n\nexport type SpinnerProps = {\n animation: SpinnerAnimation;\n};\n\nconst Spinner: React.FC = ({ animation }) => (\n \n);\n\nexport default Spinner;\n","export enum StatusBadgeVariant {\n SUCCESS = 'success',\n DANGER = 'danger',\n SECONDARY = 'secondary',\n WARNING = 'warning',\n LIGHT_GREEN = 'light_green',\n BLUE = 'blue',\n}\n\nexport type IProps = {\n label?: string;\n variant: StatusBadgeVariant;\n};\n","export { default } from './search-input';\n","import React from 'react';\n\nconst Title: React.FC = ({ children }) => (\n
    {children}
    \n);\n\nexport default Title;\n","import React from 'react';\n\nconst Footer: React.FC = ({ children }) => (\n
    {children}
    \n);\n\nexport default Footer;\n","import React from 'react';\n\nconst Divider: React.FC = () =>
    ;\n\nexport default Divider;\n","export { default } from './link-badge';\n","export enum SafetySettingCode {\n StopSequenceAllPropspect = 'stop-sequence-all-prospect',\n}\n","import api from '../../../api';\nimport { UpdateSafetySettingsRequestPayload } from '../types/request-payload';\n\nexport const updateSafetySettings = async (\n payload: UpdateSafetySettingsRequestPayload,\n) => api.patch(`/safety-settings`, payload);\n\nexport const getSafetySettings = async () => api.get(`/safety-settings`);\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport { UpdateSafetySettingsRequestPayload } from '../../types/request-payload';\nimport {\n getSafetySettings,\n updateSafetySettings,\n} from '../../helpers/safety-settings.api';\nimport {\n ResponseSuccess,\n ResponseErrorWithHandled,\n} from '../../../../shared/types';\n\nexport const getSafetySettingsRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('safetySettings/getSafetySettingsRequest', async (args, thunkAPI) => {\n try {\n return await getSafetySettings();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const updateSafetySettingsRequest = createAsyncThunk<\n ResponseSuccess,\n UpdateSafetySettingsRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('safetySettings/updateSafetySettingsRequest', async (payload, thunkAPI) => {\n try {\n return await updateSafetySettings(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport {\n getSafetySettingsRequest,\n updateSafetySettingsRequest,\n} from './extra-actions';\nimport { SafetySetting } from '../../types/safety-settings';\n\ninterface RequestState {\n status: RequestStatus;\n message: string;\n error: any;\n}\n\ninterface State {\n getSafetySettingsRequest: RequestState;\n updateSafetySettingsRequest: RequestState;\n safetySettings: SafetySetting[];\n isLoading: boolean;\n}\n\nconst initialState: State = {\n getSafetySettingsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateSafetySettingsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n safetySettings: [],\n isLoading: false,\n};\n\nconst safetySettingsSlice = createSlice({\n name: 'safetySettings',\n initialState,\n reducers: {},\n extraReducers: (builder) => {\n // Get safety settings\n builder.addCase(getSafetySettingsRequest.pending, (state) => {\n state.getSafetySettingsRequest.status = RequestStatus.Pending;\n state.getSafetySettingsRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(getSafetySettingsRequest.fulfilled, (state, action) => {\n state.getSafetySettingsRequest.status = RequestStatus.Succeeded;\n state.getSafetySettingsRequest.message = action.payload.message;\n state.safetySettings = action.payload.payload;\n state.isLoading = false;\n });\n builder.addCase(getSafetySettingsRequest.rejected, (state, action) => {\n state.getSafetySettingsRequest.status = RequestStatus.Failed;\n state.getSafetySettingsRequest.error =\n !action.payload.isHandled && action.payload;\n state.isLoading = false;\n });\n\n // Update safety settings\n builder.addCase(updateSafetySettingsRequest.pending, (state) => {\n state.updateSafetySettingsRequest.status = RequestStatus.Pending;\n state.updateSafetySettingsRequest.error = null;\n });\n builder.addCase(updateSafetySettingsRequest.fulfilled, (state, action) => {\n state.updateSafetySettingsRequest.status = RequestStatus.Succeeded;\n state.updateSafetySettingsRequest.message = action.payload.message;\n });\n builder.addCase(updateSafetySettingsRequest.rejected, (state, action) => {\n state.updateSafetySettingsRequest.status = RequestStatus.Failed;\n state.updateSafetySettingsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n },\n});\n\nexport { getSafetySettingsRequest, updateSafetySettingsRequest };\nexport default safetySettingsSlice.reducer;\n","import React from 'react';\nimport Switch from '../../../../shared/design-system/components/atoms/switch';\nimport { IProps } from './types';\nimport { SafetySettingCode } from '../../enums/safety-settings';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport { UpdateSafetySettingsRequestPayload } from '../../types/request-payload';\nimport toaster from '../../../../shared/toaster';\nimport store from '../../../../store';\nimport { showLoading, hideLoading } from 'react-redux-loading-bar';\n\ntype StateValues = {\n stopSequenceAllProspect: boolean;\n};\n\ntype IState = {\n values: StateValues;\n};\n\nclass SafetySettings extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n values: {\n stopSequenceAllProspect: false,\n },\n };\n this.onSequenceAllProspectChangeHandler = this.onSequenceAllProspectChangeHandler.bind(\n this,\n );\n }\n\n onSequenceAllProspectChangeHandler(value) {\n const payload: UpdateSafetySettingsRequestPayload = {\n settings: [\n {\n code: SafetySettingCode.StopSequenceAllPropspect,\n value: String(Number(value)),\n },\n ],\n };\n this.props.sendUpdateSafetySettingsRequest(payload);\n }\n\n setSettings() {\n const { safetySettings } = this.props;\n const values = { ...this.state.values };\n safetySettings.forEach((setting) => {\n switch (setting.code) {\n case SafetySettingCode.StopSequenceAllPropspect:\n values.stopSequenceAllProspect = Boolean(JSON.parse(setting.value));\n break;\n default:\n break;\n }\n });\n this.setState({\n values,\n });\n }\n\n componentDidMount() {\n this.props.sendGetSafetySettingsRequest();\n }\n\n componentDidUpdate(prevProps: Readonly) {\n const {\n getSafetySettingsRequestStatus,\n updateSafetySettingsRequestStatus,\n updateSafetySettingsRequestMessage,\n updateSafetySettingsRequestError,\n sendGetSafetySettingsRequest,\n isLoading,\n } = this.props;\n\n if (isLoading !== prevProps.isLoading) {\n isLoading ? store.dispatch(showLoading()) : store.dispatch(hideLoading());\n }\n\n if (\n getSafetySettingsRequestStatus !==\n prevProps.getSafetySettingsRequestStatus\n ) {\n if (getSafetySettingsRequestStatus === RequestStatus.Succeeded) {\n this.setSettings();\n }\n }\n\n if (\n updateSafetySettingsRequestStatus !==\n prevProps.updateSafetySettingsRequestStatus\n ) {\n if (updateSafetySettingsRequestStatus === RequestStatus.Succeeded) {\n toaster.success(updateSafetySettingsRequestMessage);\n sendGetSafetySettingsRequest();\n }\n\n if (\n updateSafetySettingsRequestStatus === RequestStatus.Failed &&\n updateSafetySettingsRequestError\n ) {\n toaster.error(updateSafetySettingsRequestError.message);\n }\n }\n }\n\n render() {\n const { values } = this.state;\n\n return (\n
    \n
    \n Safety Settings\n
    \n
    \n
    \n \n
    \n
    \n
    \n );\n }\n}\n\nexport default SafetySettings;\n","import { RootState } from '../../../../store/root-reducer';\nimport { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps } from 'react-router';\nimport {\n getSafetySettingsRequest,\n updateSafetySettingsRequest,\n} from './safety-settings-slice';\nimport { UpdateSafetySettingsRequestPayload } from '../../types/request-payload';\nimport SafetySettings from './safety-settings';\n\nconst mapStateToProps = (state: RootState) => ({\n getSafetySettingsRequestStatus:\n state.safetySettings.getSafetySettingsRequest.status,\n getSafetySettingsRequestMessage:\n state.safetySettings.getSafetySettingsRequest.message,\n getSafetySettingsRequestError:\n state.safetySettings.getSafetySettingsRequest.error,\n\n updateSafetySettingsRequestStatus:\n state.safetySettings.updateSafetySettingsRequest.status,\n updateSafetySettingsRequestMessage:\n state.safetySettings.updateSafetySettingsRequest.message,\n updateSafetySettingsRequestError:\n state.safetySettings.updateSafetySettingsRequest.error,\n safetySettings: state.safetySettings.safetySettings,\n isLoading: state.safetySettings.isLoading,\n});\n\nconst mapDispatchToProps = {\n sendGetSafetySettingsRequest: () => getSafetySettingsRequest(),\n sendUpdateSafetySettingsRequest: (\n payload: UpdateSafetySettingsRequestPayload,\n ) => updateSafetySettingsRequest(payload),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & RouteComponentProps;\n\nexport default connector(SafetySettings);\n","import React from 'react';\nimport { Col } from 'react-bootstrap';\nimport type { IProps } from './page-header-container';\n\nconst PageHeader: React.FC = ({ title, heading, children }) => (\n <>\n \n
    \n

    {title}

    \n {heading}\n
    \n \n {children}\n \n);\n\nexport default PageHeader;\n","import pageHeader from './page-header';\nimport { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../../store/root-reducer';\nimport { ReactNode } from 'react';\n\nconst mapStateToProps = (state: RootState) => ({\n pageHeaderBannerMessage: state.pageHeader.message,\n});\n\nconst connector = connect(mapStateToProps);\n\nexport type IProps = ConnectedProps & {\n title: string;\n children?: ReactNode;\n heading?: ReactNode;\n};\n\nexport default connector(pageHeader);\n","import React from 'react';\nimport { Modal } from 'react-bootstrap';\nimport { useTranslation } from 'react-i18next';\n\nimport { IProps } from './types';\nimport Button from '../../../../design-system/components/atoms/button';\nimport { Images } from '../../../../app-constants';\nimport ImageIcon from '../../../images/image-icon';\n\nconst SMTPModal: React.FC = ({ onClose, skipConnectEmailAccount }) => {\n const { t } = useTranslation();\n\n return (\n \n \n
    \n
    \n \n Connect SMTP\n
    \n
    \n\n
    \n

    \n {t('messages.smtp_message_one')}\n

    \n

    \n {t('messages.smtp_message_two')}\n

    \n

    \n {t('messages.smtp_message_three')}\n

    \n
    \n
    \n\n \n \n {t('labels.cancel')}\n \n \n {t('labels.get_started')}\n \n \n \n );\n};\n\nexport default SMTPModal;\n","/* eslint-disable import/no-cycle */\nimport React from 'react';\nimport { withTranslation } from 'react-i18next';\nimport { EmailAccountMethod } from '../../../components/email-accounts/enums/email-account';\nimport { Images } from '../../app-constants';\nimport { RequestStatus } from '../../enums/request-status';\nimport { accessibleOnClick } from '../../utils/accessible-on-click';\nimport { showGeneralErrorNotification } from '../../utils/errors';\nimport ImageIcon from '../images/image-icon';\nimport SMTPModal from './components/SMTP-modal/smtp-modal';\nimport { IProps } from './connect-email-account-options-container';\nimport { IState } from './types';\n\nclass ConnectEmailAccountOptions extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n isSMTPModalOpen: false,\n accessToken: '',\n userEmailId: '',\n };\n\n this.showSMTPModal = this.showSMTPModal.bind(this);\n this.hideSMTPModal = this.hideSMTPModal.bind(this);\n }\n\n componentDidMount() {\n const { location } = this.props;\n const { search } = location;\n\n if (search) {\n const accessToken = new URLSearchParams(search).get('accessToken');\n const userEmailId = new URLSearchParams(search).get('email');\n\n this.setState((preState) => ({\n ...preState,\n accessToken,\n userEmailId,\n }));\n }\n }\n\n componentDidUpdate(prevProps: Readonly) {\n const {\n sendUpdatePreferredAppRequestStatus,\n sendUpdatePreferredAppRequestError,\n } = this.props;\n const { accessToken } = this.state;\n\n if (\n sendUpdatePreferredAppRequestStatus !==\n prevProps.sendUpdatePreferredAppRequestStatus\n ) {\n if (sendUpdatePreferredAppRequestStatus === RequestStatus.Succeeded) {\n window.open(\n `${process.env.REACT_APP_V2_URL}/login?access_token=${accessToken}`,\n '_self',\n );\n } else if (\n sendUpdatePreferredAppRequestStatus === RequestStatus.Failed &&\n sendUpdatePreferredAppRequestError\n ) {\n showGeneralErrorNotification(sendUpdatePreferredAppRequestError);\n }\n }\n }\n\n handleConnectOnClick = (method: EmailAccountMethod) => {\n const { sendConnectEmailAccountRequest } = this.props;\n\n sendConnectEmailAccountRequest(method);\n };\n\n handleSendUpdatePreferredApp = () => {\n const { sendUpdatePreferredApp } = this.props;\n const { userEmailId } = this.state;\n\n sendUpdatePreferredApp({\n email: userEmailId,\n preferred_app: 'V2',\n from_v3: true,\n });\n };\n\n showSMTPModal() {\n this.setState({ isSMTPModalOpen: true });\n }\n\n hideSMTPModal() {\n this.setState({ isSMTPModalOpen: false });\n }\n\n render() {\n const { t, title, body, skipConnectEmailAccount } = this.props;\n const { isSMTPModalOpen } = this.state;\n\n return (\n <>\n {isSMTPModalOpen && (\n \n )}\n
    \n

    \n {title || t('labels.add_email_account')}\n

    \n

    \n {body || t('messages.connect_email_account_description')}\n

    \n
    \n

    {t('labels.select_email_service')}

    \n
    \n \n this.handleConnectOnClick(EmailAccountMethod.Gmail)\n }\n >\n \n Gmail\n {' '}\n \n this.handleConnectOnClick(EmailAccountMethod.Microsoft)\n }\n >\n \n Microsoft\n \n {/* We should not show SMTP option when user invites member from the V3 account */}\n \n
    \n Beta\n
    \n \n SMTP/IMAP\n \n
    \n
    \n \n {t('labels.do_later')}\n \n
    \n
    \n
    \n \n );\n }\n}\n\nexport default withTranslation()(ConnectEmailAccountOptions);\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport { ResponseSuccess, ResponseErrorWithHandled } from '../../types';\nimport { sendUpdatePreferredApp } from './helper/update-preferred-app-api';\nimport { UpdatePreferredAppRequest } from './types';\n\nexport const sendUpdatePreferredAppRequest = createAsyncThunk<\n ResponseSuccess,\n UpdatePreferredAppRequest,\n { rejectValue: ResponseErrorWithHandled }\n>('user/updatePreferredAppRequest', async (args, thunkAPI) => {\n try {\n return await sendUpdatePreferredApp(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n","import api from '../../../../api';\nimport { ResponseSuccess } from '../../../types';\nimport { UpdatePreferredAppRequest } from '../types';\n\nexport const sendUpdatePreferredApp = (payload: UpdatePreferredAppRequest) => {\n return api.post('/user/update-preferred-app', payload, {\n baseURL: process.env.REACT_APP_V2_API_URL,\n headers: {\n 'Content-Type': 'application/json;charset=UTF-8',\n Accept: 'application/json',\n 'X-SH-Source': 'WEB_APP',\n },\n });\n};\n","import { ReactNode } from 'react';\nimport { connect, ConnectedProps } from 'react-redux';\nimport { RouteProps, withRouter, RouteComponentProps } from 'react-router';\nimport { hideLoading, showLoading } from 'react-redux-loading-bar';\n\nimport { RootState } from '../../../store/root-reducer';\nimport connectEmailAccountOptions from './connect-email-account-options';\nimport { sendUpdatePreferredAppRequest } from './extra-actions';\nimport { UpdatePreferredAppRequest } from './types';\nimport { EmailAccountMethod } from '../../../components/email-accounts/enums/email-account';\n\nconst mapStateToProps = (state: RootState) => ({\n sendUpdatePreferredAppRequestStatus:\n state.updatePreferredApp.sendUpdatePreferredAppRequest.status,\n sendUpdatePreferredAppRequestError:\n state.updatePreferredApp.sendUpdatePreferredAppRequest.error,\n});\n\nconst mapDispatchToProps = {\n sendUpdatePreferredApp: (payload: UpdatePreferredAppRequest) =>\n sendUpdatePreferredAppRequest(payload),\n hideLoading: () => hideLoading(),\n showLoading: () => showLoading(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps &\n RouteComponentProps &\n Omit & {\n sendConnectEmailAccountRequest: (method: EmailAccountMethod) => void;\n skipConnectEmailAccount: () => void;\n title?: string;\n body?: string;\n t?: (x: string) => ReactNode;\n };\n\nexport default withRouter(connector(connectEmailAccountOptions));\n","import { createSlice } from '@reduxjs/toolkit';\n\nimport { RequestStatus } from '../../enums/request-status';\nimport { ResponseErrorWithHandled } from '../../../shared/types';\nimport { sendUpdatePreferredAppRequest } from './extra-actions';\n\ntype RequestState = {\n status: RequestStatus;\n message: string;\n error: ResponseErrorWithHandled;\n};\n\ntype State = {\n sendUpdatePreferredAppRequest: RequestState;\n updatePreferredAppResponse: any;\n};\n\nconst initialState: State = {\n sendUpdatePreferredAppRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updatePreferredAppResponse: null,\n};\n\nconst connectEmailAccountSlice = createSlice({\n name: 'updatePreferredApp',\n initialState,\n reducers: {},\n extraReducers: (builder) => {\n // Get account subscription detail\n builder.addCase(sendUpdatePreferredAppRequest.pending, (state) => {\n state.sendUpdatePreferredAppRequest.status = RequestStatus.Pending;\n state.sendUpdatePreferredAppRequest.message = null;\n state.sendUpdatePreferredAppRequest.error = null;\n });\n builder.addCase(\n sendUpdatePreferredAppRequest.fulfilled,\n (state, action) => {\n state.sendUpdatePreferredAppRequest.status = RequestStatus.Succeeded;\n state.updatePreferredAppResponse = action.payload.payload;\n },\n );\n builder.addCase(sendUpdatePreferredAppRequest.rejected, (state, action) => {\n state.sendUpdatePreferredAppRequest.status = RequestStatus.Failed;\n state.sendUpdatePreferredAppRequest.message = action.payload.message;\n state.sendUpdatePreferredAppRequest.error =\n !action.payload.isHandled && action.payload;\n });\n },\n});\n\nexport default connectEmailAccountSlice.reducer;\n","import { combineReducers, Reducer } from '@reduxjs/toolkit';\nimport { loadingBarReducer } from 'react-redux-loading-bar';\nimport { loginReducer } from '../components/auth/components/login';\nimport { ssoLoginReducer } from '../components/auth/components/sso-login';\nimport { signupReducer } from '../components/auth/components/signup';\nimport { resetPasswordReducer } from '../components/auth/components/reset-password';\nimport { resetPasswordCallbackReducer } from '../components/auth/components/reset-password-callback';\nimport {\n changePasswordReducer,\n setUserPasswordReducer,\n} from '../components/auth/components/change-password';\nimport { sequenceReducer } from '../components/sequence';\nimport { scheduleReducer } from '../components/settings/components/schedule';\nimport { safetySettingsReducer } from '../components/settings/components/safety-settings';\nimport { customFieldReducer } from '../components/settings/components/custom-fields';\nimport { myProfileReducer } from '../components/settings/components/my-profile';\nimport { invitationSignupReducer } from '../components/auth/components/invitation-signup';\nimport { reset } from './actions';\nimport { prospectReducer } from '../components/prospect';\nimport { customDomainReducer } from '../components/settings/components/custom-domain';\nimport { adminSettingsReducer } from '../components/settings/components/admin-settings';\nimport { homeReducer } from '../components/home';\nimport { reportsReducer } from '../components/reports';\nimport { templateReducer } from '../components/templates';\nimport { emailModalReducer } from '../components/sequence/shared/modals/email-modal/test-email';\nimport { pageHeaderBannerAlertReducer } from '../shared/design-system/components/atoms/page-header';\nimport { billingReducer } from '../components/settings/components/billing-subscription';\nimport { updatePreferredAppReducer } from '../shared/components/connect-email-account-options';\nimport { apiTokensReducer } from '../components/settings/components/api-tokens';\nimport { emailDailySendingLimitReducer } from '../components/email-accounts/components/email-accounts-content/components/email-daily-sending-limit';\nimport { mailboxEmailsReducer } from '../components/mailbox-emails';\nimport { emailWarmupReducer } from '../components/email-warmup';\nimport { growthHubReducer } from '../components/growth-hub';\nimport { unifiedInboxReducer } from '../components/unified-inbox';\nimport { usersAndTeamsReducer } from '../components/settings/components/users-and-teams';\nimport { tasksReducer } from '../components/tasks';\nimport { outOfOfficeReducer } from '../components/settings/components/out-of-office';\nimport { webhookReducer } from '../components/settings/components/webhook';\nimport { doNotContactReducer } from '../components/settings/components/do-not-contact';\nimport { customOutcomeReducer } from '../components/settings/components/custom-outcomes';\nimport { agencyClientReducer } from '../components/agency-client-management';\nimport { whitelabelReducer } from '../components/settings/components/whitelabel';\nimport { apiCacheReducer } from '../shared/reducers/api-cache-slice';\nimport { leadsReducer } from '../components/leads';\nimport { emailAccountsReducer } from '../components/email-accounts';\nimport { domainsReducer } from '../components/domains';\nimport { oauthReducer } from '../components/auth/components/oauth-buttons';\nimport { ssoCallbackReducer } from '../components/auth/components/sso-callback';\n\nconst combinedReducer = combineReducers({\n ssoLogin: ssoLoginReducer,\n ssoCallback: ssoCallbackReducer,\n loadingBar: loadingBarReducer,\n login: loginReducer,\n signup: signupReducer,\n oauth: oauthReducer,\n resetPassword: resetPasswordReducer,\n resetPasswordCallback: resetPasswordCallbackReducer,\n changePassword: changePasswordReducer,\n setUserPassword: setUserPasswordReducer,\n sequence: sequenceReducer,\n schedule: scheduleReducer,\n prospect: prospectReducer,\n leads: leadsReducer,\n safetySettings: safetySettingsReducer,\n customField: customFieldReducer,\n customDomain: customDomainReducer,\n myProfile: myProfileReducer,\n adminSettings: adminSettingsReducer,\n invitationSignup: invitationSignupReducer,\n emailModal: emailModalReducer,\n home: homeReducer,\n reports: reportsReducer,\n templates: templateReducer,\n pageHeader: pageHeaderBannerAlertReducer,\n billingAndSubscription: billingReducer,\n updatePreferredApp: updatePreferredAppReducer,\n apiToken: apiTokensReducer,\n emailDailySendingLimit: emailDailySendingLimitReducer,\n mailboxEmails: mailboxEmailsReducer,\n emailWarmup: emailWarmupReducer,\n growthHub: growthHubReducer,\n unifiedInbox: unifiedInboxReducer,\n usersAndTeams: usersAndTeamsReducer,\n tasks: tasksReducer,\n outOfOffice: outOfOfficeReducer,\n webhook: webhookReducer,\n doNotContact: doNotContactReducer,\n customOutcome: customOutcomeReducer,\n agencyClient: agencyClientReducer,\n whitelabel: whitelabelReducer,\n apiCache: apiCacheReducer,\n emailAccount: emailAccountsReducer,\n domains: domainsReducer,\n});\n\nexport type RootState = ReturnType;\n\nconst rootReducer: Reducer = (state, action) => {\n if (action.type === reset.type) {\n state = undefined;\n }\n return combinedReducer(state, action);\n};\n\nexport default rootReducer;\n","import { configureStore } from '@reduxjs/toolkit';\nimport rootReducer from './root-reducer';\n\nconst store = configureStore({\n reducer: rootReducer,\n});\n\nexport default store;\n","import React from 'react';\nimport classNames from 'classnames';\n\nenum Place {\n Before = 'before',\n After = 'after',\n}\n\ntype InputLabelProps = {\n text: React.ReactNode;\n place: Place;\n};\n\ntype InputLabelStatic = {\n Place: typeof Place;\n};\n\nconst InputLabel: React.FC & InputLabelStatic = ({\n text,\n place,\n}) => {\n const labelSubClass = classNames({\n prefix: place === Place.Before,\n suffix: place === Place.After,\n });\n\n const labelClass = `bs-input-label-${labelSubClass}`;\n\n return ;\n};\n\nInputLabel.Place = Place;\n\nexport default InputLabel;\n","import validator from 'validator';\n\ntype PasswordValidatorFunction = (password: string) => boolean;\n\ntype PasswordValidator = {\n uppercase: PasswordValidatorFunction;\n lowercase: PasswordValidatorFunction;\n numeric: PasswordValidatorFunction;\n minLength: PasswordValidatorFunction;\n maxLength: PasswordValidatorFunction;\n all: PasswordValidatorFunction;\n};\n\nconst passwordValidator = {\n uppercase: (password) => validator.matches(password, /[A-Z]/),\n lowercase: (password) => validator.matches(password, /[a-z]/),\n numeric: (password) => validator.matches(password, /\\d/),\n minLength: (password) => validator.isLength(password, { min: 8 }),\n maxLength: (password) => validator.isLength(password, { max: 64 }),\n} as PasswordValidator;\n\npasswordValidator.all = (password) =>\n passwordValidator.uppercase(password) &&\n passwordValidator.lowercase(password) &&\n passwordValidator.numeric(password) &&\n passwordValidator.minLength(password) &&\n passwordValidator.maxLength(password);\n\nexport default passwordValidator;\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport {\n LoginRequestPayload,\n ResendOtpPayload,\n VerifyOtpPayload,\n} from '../../types';\nimport { login, resendOtp, verifyOtp } from '../../helpers/auth.api';\nimport {\n ResponseErrorWithHandled,\n ResponseSuccess,\n} from '../../../../shared/types';\n\nexport const loginRequest = createAsyncThunk<\n ResponseSuccess,\n LoginRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('login/loginRequest', async (args, thunkAPI) => {\n try {\n return await login(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err as ResponseErrorWithHandled);\n }\n});\n\nexport const verifyOtpRequest = createAsyncThunk<\n ResponseSuccess,\n VerifyOtpPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('login/verifyOtp', async (args, thunkAPI) => {\n try {\n return await verifyOtp(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err as ResponseErrorWithHandled);\n }\n});\n\nexport const resendOtpRequest = createAsyncThunk<\n ResponseSuccess,\n ResendOtpPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('login/resendOtp', async (args, thunkAPI) => {\n try {\n return await resendOtp(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err as ResponseErrorWithHandled);\n }\n});\n","import React, { memo, useMemo } from 'react';\nimport DatePicker from 'react-datepicker';\nimport 'react-datepicker/dist/react-datepicker.css';\nimport { DateTime } from 'luxon';\nimport { DateFilterProps } from './type';\nimport { stringToDate } from '../../../../functions/date';\nimport Icon from '../../atoms/icon';\nimport { getUserTimeZone } from '../../../../utils/user-details';\n\nconst DateFilter: React.FC = ({\n onSelect,\n values = [],\n isDisabled = false,\n}) => {\n const [isOpen, setIsOpen] = React.useState(false);\n\n const onDateChange = (date: Date) => {\n onSelect(date);\n date[1] && setIsOpen(false);\n };\n\n const Input = React.forwardRef<\n HTMLInputElement,\n React.HTMLProps\n >(({ value, onClick, onChange }, ref) => (\n
    \n setIsOpen(true)}\n onChange={onChange}\n value={value.toString().length > 15 ? value : ''} // Displaying the value only when both start_date and end_date are selected\n ref={ref}\n />\n
    \n {\n onSelect([]);\n }}\n />\n \n
    \n
    \n ));\n\n const startDate = useMemo(\n () =>\n values[0]?.date\n ? stringToDate(values[0].date)\n : DateTime.fromJSDate(new Date()).setZone(getUserTimeZone()).toJSDate(),\n [values],\n );\n\n const endDate = useMemo(\n () => (values[1]?.date ? stringToDate(values[1].date) : null),\n [values],\n );\n\n return (\n
    \n setIsOpen(true)}\n selected={startDate}\n onChange={onDateChange}\n startDate={startDate}\n endDate={endDate}\n onClickOutside={() => setIsOpen(false)}\n selectsRange\n open={isOpen}\n customInput={}\n dateFormat=\"MMM d, yyyy\"\n isDisabled={isDisabled}\n />\n
    \n );\n};\n\nexport default memo(DateFilter);\n","/* eslint-disable react/destructuring-assignment */\nimport React, { memo } from 'react';\nimport Select, { components } from 'react-select';\nimport 'react-datepicker/dist/react-datepicker.css';\nimport makeAnimated from 'react-select/animated';\nimport { SelectFilterProps } from './type';\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nconst animatedComponents = makeAnimated();\n\nconst Option = (props) => (\n \n
    \n {props?.isMultiSelect && (\n null}\n />\n )}{' '}\n \n {props.children}\n \n
    \n
    \n);\n\n/**\n * Styles to pass in `react-select`\n */\nconst textStyle = {\n fontSize: '14px',\n fontStyle: 'normal',\n lineHeight: '20px',\n color: '#6b7280',\n};\n\nconst SelectFilter: React.FC = ({\n placeholder,\n options,\n labelKey = 'name',\n onSelect,\n uniqueKey = 'id',\n values = [],\n placement = 'bottom',\n isMultiSelect,\n isDisabled = false,\n ...rest\n}) => {\n const getOptionLabel = (option) => option[labelKey];\n const getOptionValue = (option) => option[uniqueKey];\n\n const customStyles = {\n control: (base) => ({\n ...base,\n border: '1px solid #E5E7EB',\n }),\n placeholder: (base) => ({\n ...base,\n ...textStyle,\n }),\n option: (base, state) => ({\n ...base,\n ...textStyle,\n color: '#1F2937',\n wordWrap: 'break-word',\n backgroundColor: state.isSelected && '#EFF6FF',\n '&:active': {\n backgroundColor: '#EFF6FF',\n },\n '&:hover': {\n backgroundColor: '#dbeafe',\n color: '#1d4ed8',\n },\n }),\n multiValue: (base) => ({\n ...base,\n marginRight: '8px',\n borderRadius: '4px',\n border: '1px solid #D1D5DB',\n backgroundColor: '#FFF',\n }),\n multiValueLabel: (base) => ({\n ...base,\n ...textStyle,\n fontWeight: 500,\n color: '#1F2937',\n }),\n multiValueRemove: (base) => ({\n ...base,\n marginRight: '0px',\n color: '#6B7280',\n '&:hover': {\n backgroundColor: '#dbeafe',\n color: '#1d4ed8',\n },\n }),\n };\n\n return (\n
    \n);\n\nexport default memo(ProspectsFilter);\n","import api from '../../../../api';\nimport { UpdateProfileProgressPayload } from '../../../types/user-setting';\n\nconst updateProfileProgress = async (payload: UpdateProfileProgressPayload) =>\n api.patch('/user/profile/progress', payload);\n\nexport default updateProfileProgress;\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport { ResponseErrorWithHandled, ResponseSuccess } from '../../types';\nimport { UpdateProfileProgressPayload } from '../../types/user-setting';\nimport updateProfileProgress from './helpers/meta-api';\n\nconst updateProfileProgressRequest = createAsyncThunk<\n ResponseSuccess,\n UpdateProfileProgressPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('home/updateProfileProgress', async (args, thunkAPI) => {\n try {\n return await updateProfileProgress(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport default updateProfileProgressRequest;\n","import { getUserEmail } from '../../../shared/utils/user-details';\nimport { removeProspectTableColumnsFromLocalStorage } from '../../prospect/components/prospect-table/utils/helper';\n\nexport const baseUrls = {\n production: 'https://my.saleshandy.com',\n staging: 'https://pyxis.lifeisgoodforlearner.com',\n};\n\nexport const defaultAgencyObj = {\n showClientName: false,\n isDefault: true,\n showInAppNotification: true,\n showWhatsNew: true,\n showScheduleADemo: true,\n showChatSupport: true,\n showHelp: true,\n showFeatureRequest: true,\n showGettingStarted: true,\n showInfoTips: true,\n showYTVideoGuide: true,\n showFAQ: true,\n showEmailContentGuideHelp: true,\n showEmailContentGuide: true,\n logo: {\n primary:\n 'https://v3api.lifeisgoodforlearner.com/image-broker/image/' +\n 'eyJpdiI6IjUyOTZlYzA4NmU3NTYzYjdmZmQ4ZmFhYjhmZWY4NDFmIiwiY29udGVudCI6IjU0YjE3N2E3MjZhMzk4ZTJiMmJhYjc3OWVhZDk2ZGZlYzM2' +\n 'ZTNkZWU5M2VlOGU0OTg3Y2MwMDA3ZmM0ODI5MWIyZDNjMDg5MmYxODU1NzllZTVlYWNkZWI2MzlkM2U4NTFhYTg4OWYyYTQ4MjM3ZmJkZjlkM2I1ODM2' +\n 'MzYzNTIzZDgxODg1MDdmZGE5ZGM1ZWUyNDQ3NzBiMDU3MjY2YTVhYSJ9',\n tertiary:\n 'https://v3api.lifeisgoodforlearner.com/image-broker/image/' +\n 'eyJpdiI6IjUyOTZlYzA4NmU3NTYzYjdmZmQ4ZmFhYjhmZWY4NDFmIiwiY29udGVudCI6IjU0YjE3N2E3MjZhMzk4ZTJiMmJhYjc3OWVhZDk2ZGZlYzM2' +\n 'ZTNkZWU5M2VlOGU0OTg3Y2MwMDA3ZmM0ODI5MWIyZDNjMDg5MmYxODU1NzllZTVlYWNkZWI2MzlkM2U4NTFhYTg4OWYyYTQ4MjM3ZmJkZjlkM2I1ODM2' +\n 'MzYzNTIzZDgxODg1MDdmZGE5ZGM1ZWUyNDQ3NzBiMDU3MjY2YTVhYSJ9',\n showAgencyNameWithLogo: true,\n secondary:\n 'https://v3api.lifeisgoodforlearner.com/image-broker/image/' +\n 'eyJpdiI6IjUyOTZlYzA4NmU3NTYzYjdmZmQ4ZmFhYjhmZWY4NDFmIiwiY29udGVudCI6IjU0YjE3N2E3MjZhMzk4ZTJiMmJhYjc3OWVhZDk2ZGZlYzM2' +\n 'ZTNkZWU5M2VlOGU0OTg3Y2MwMDA3ZmM0ODI5MWIyZDNjMDg5MmYxODU1NzllZTVlYWNkZWI2MzlkM2U4NTFhYTg4OWYyYTQ4MjM3ZmJkZjlkM2I1ODM2' +\n 'MzYzNTIzZDgxODg1MDdmZGE5ZGM1ZWUyNDQ3NzBiMDU3MjY2YTVhYSJ9',\n },\n baseUrl: process.env.REACT_APP_API_URL,\n createdAt: '2022-06-01T18:24:56.129Z',\n updatedAt: '2023-01-10T04:33:26.276Z',\n __v: 0,\n showAddStepButton: true,\n showColdEmailTips: true,\n showDraftSequence: true,\n agencyName: 'saleshandy',\n colorPalette: {\n sidebarBgColor: '#F3F4F6',\n navItemActiveBgColor: '#374151',\n navItemHoverBgColor: '#1F2937',\n navItemTextColor: '#1F2937',\n },\n showAgencyNameWithLogo: true,\n showNameFieldsInInviteModal: false,\n ltdExpiryDate: '12-20-2022',\n showTermOfServiceAndPrivacyPolicy: true,\n clientName: 'saleshandy',\n closeOnLogout: false,\n isLocallyCached: true,\n favicon: '/favicon-16x16.png',\n};\n\nexport const getUserEmailFromStore = () => localStorage.getItem('userEmail');\n\nexport const storeUserEmail = () => {\n const existingUserEmail = getUserEmailFromStore();\n const currentUserEmail = getUserEmail();\n\n if (existingUserEmail !== currentUserEmail) {\n // Remove Prospect Table Columns\n removeProspectTableColumnsFromLocalStorage();\n }\n\n localStorage.setItem('userEmail', currentUserEmail);\n};\n\nexport const removeUserEmailFromStore = () =>\n localStorage.removeItem('userEmail');\n","/* eslint-disable @typescript-eslint/no-shadow */\nimport React, { useState, useEffect, useMemo } from 'react';\nimport Autosuggest from 'react-autosuggest';\nimport { withTranslation } from 'react-i18next';\nimport { differenceBy, find } from 'lodash';\nimport ProspectTagWithCancel from '../../atoms/prospect-tag/with-cancel';\nimport './tag-autosuggest.scss';\nimport { SelectAllContacts } from '../../../../../components/prospect/types';\nimport Icon from '../../atoms/icon';\n\n// Render the selected tags inline or in block mode.\nexport enum RenderMode {\n Inline = 'Inline',\n Block = 'Block',\n}\n\nexport interface ContainerProps {\n style: React.CSSProperties;\n}\n\n/**\n * Styles for the react-autosuggest \n * https://www.npmjs.com/package/react-autosuggest#theme-prop\n */\nexport interface Styles {\n suggestionsList?: React.CSSProperties;\n suggestionsContainer?: React.CSSProperties;\n suggestionsContainerOpen?: React.CSSProperties;\n suggestionHighlighted?: React.CSSProperties;\n}\n\nconst extractTagsFromProspects = (prospects) => {\n const tagsToProspects = {};\n const prospectsTags = [];\n\n prospects.forEach((prospect) => {\n const { tags } = prospect;\n if (tags && tags.length) {\n tags.forEach((tag) => {\n const { id } = tag;\n if (tagsToProspects[id]) {\n tagsToProspects[id].push(prospect.id);\n } else {\n tagsToProspects[id] = [prospect.id];\n prospectsTags.push(tag);\n }\n });\n }\n });\n\n return prospectsTags;\n};\n\nconst defaultTheme: Styles = {\n suggestionsList: {\n margin: 0,\n padding: 0,\n listStyleType: 'none',\n },\n suggestionsContainer: {\n position: 'absolute',\n zIndex: 99999,\n left: '1.5rem',\n right: '1.5rem',\n },\n suggestionsContainerOpen: {\n display: 'block',\n border: '2px solid green',\n borderRadius: '4px',\n fontFamily: 'Inter',\n fontStyle: 'normal',\n fontWeight: 'normal',\n fontSize: '14px',\n lineHeight: '20px',\n marginTop: '10px',\n height: '11.45rem',\n overflow: 'auto',\n zIndex: 2,\n backgroundColor: 'white',\n },\n suggestionHighlighted: {\n backgroundColor: '#EFF6FF',\n },\n};\n\ntype IProps = {\n selectedProspects?: any[];\n /**\n * Tags to display as suggestions.\n */\n tags: any[];\n /**\n * Tags which are needed to be removed.\n */\n tagsToRemove?: number[];\n /**\n * Tags which are tp be added to the prospects.\n */\n tagsToAdd: any[];\n setTagsToRemove?: (tags: any[]) => void;\n setTagsToAdd: (tags: any[]) => void;\n t: (x: string) => React.ReactNode;\n /**\n * Mode for rendering the selected tags\n */\n renderMode?: RenderMode;\n containerProps?: ContainerProps;\n styles?: Styles;\n selectedAllProspectsDetails?: SelectAllContacts;\n\n showAllTags?: boolean;\n hideNoTagsMessage?: boolean;\n showAddedTags?: boolean;\n placeholder?: string;\n checkInputCharacterLength?: boolean;\n tagContainerStyle?: boolean;\n};\n\nconst TagAutoSuggest: React.FC = ({\n renderMode = RenderMode.Block,\n tags,\n selectedProspects = [],\n tagsToRemove = [],\n tagsToAdd,\n setTagsToAdd,\n setTagsToRemove,\n containerProps = {\n style: {\n marginTop: '1.25rem',\n },\n },\n t,\n styles = {},\n selectedAllProspectsDetails,\n showAllTags = false,\n // hideAlreadyAddedTags = false,\n hideNoTagsMessage = false,\n showAddedTags = false,\n placeholder = '',\n checkInputCharacterLength = false,\n tagContainerStyle = false,\n}) => {\n const theme = useMemo(\n () => ({\n suggestionsList: {\n ...defaultTheme.suggestionsList,\n ...styles.suggestionsList,\n },\n suggestionsContainer: {\n ...defaultTheme.suggestionsContainer,\n ...styles.suggestionsContainer,\n },\n suggestionsContainerOpen: {\n ...defaultTheme.suggestionsContainerOpen,\n ...styles.suggestionsContainerOpen,\n },\n suggestionHighlighted: {\n ...defaultTheme.suggestionHighlighted,\n ...styles.suggestionHighlighted,\n },\n }),\n [],\n );\n\n const [inputValue, setInputValue] = useState('');\n\n // Suggestions to display in autosuggest.\n const [suggestions, setSuggestions] = useState([]);\n\n // Tags which are already added/assigned/linked to the selected prospects.\n const [alreadyAddedTags, setAlreadyAddedTags] = useState([]);\n\n // Show Add Remove Tag Warning For Bulk Actions.\n const [showAddRemoveWarning, setShowAddRemoveWarning] = useState(\n false,\n );\n const [\n addRemoveTagWarningText,\n setAddRemoveTagWarningText,\n ] = useState('');\n\n useEffect(() => {\n if (!showAllTags && showAddedTags) {\n setAlreadyAddedTags(extractTagsFromProspects(selectedProspects));\n }\n }, []);\n\n useEffect(() => {\n if (showAllTags && tags?.length > 0) {\n const tagsToRender = tags.length > 15 ? tags.slice(0, 15) : tags;\n setAlreadyAddedTags(tagsToRender);\n }\n }, [showAllTags, tags]);\n\n const hideAutoSuggestBorder = () => {\n theme.suggestionsContainerOpen.border = 'none';\n };\n\n const showAutoSuggestBorder = () => {\n theme.suggestionsContainerOpen.border = '1px solid #D1D5DB';\n };\n\n /**\n * Returns the valid list of suggestions to display.\n * How the validate which suggestions to display?\n * 1. The suggestion should include the input text.\n * 1. Its not already selected.\n * 2. If the exact match is not found then its a new tag.\n * 3. If no match is found then its a new tag\n * @param inputValue String: Input text\n */\n const getSuggestions = (inputValue: string) => {\n // Exact match found for the input value and a suggestion\n let exactMatch = false;\n\n // Filtering already selected tags\n const selectableSuggestions = differenceBy(\n [...tags],\n tagsToAdd.concat(alreadyAddedTags),\n 'name',\n );\n\n const suggestions = selectableSuggestions.filter((tag) => {\n if (tag.name === inputValue) {\n exactMatch = true;\n }\n return tag.name.toLowerCase().includes(inputValue.toLowerCase());\n });\n\n if (!suggestions.length) {\n /**\n * No Suggestions are found for this input value.\n * So user should be able to create a tag for this value.\n * Hiding the border because of design constraint :(\n */\n hideAutoSuggestBorder();\n return [\n {\n name: inputValue,\n isNew: true,\n },\n ];\n }\n /**\n * If the exact match is not found for the input then\n * User should be able to create a tag for the same value.\n * Showing the border :)\n */\n showAutoSuggestBorder();\n if (!exactMatch) {\n suggestions.push({\n name: inputValue,\n isNew: true,\n });\n }\n return suggestions;\n };\n\n const getSuggestionValue = (suggestion) => suggestion.name;\n\n const onSuggestionSelected = (e: Event, { suggestion }) => {\n const suggestionRef = {\n ...suggestion,\n name: suggestion.name.trim(),\n };\n\n if (\n checkInputCharacterLength &&\n (!suggestion.name.trim() || suggestion.name.trim().length < 3)\n ) {\n e.preventDefault();\n setAddRemoveTagWarningText('Tag must be at least 3 characters long.');\n setShowAddRemoveWarning(true);\n return;\n }\n\n if (\n !tagsToAdd\n .concat(alreadyAddedTags)\n .filter((s) => s.name === suggestionRef.name).length\n ) {\n setTagsToAdd([...tagsToAdd, suggestionRef]);\n setInputValue('');\n }\n };\n\n const onSuggestionsFetchRequest = ({ value }) => {\n setSuggestions(getSuggestions(value.trim()));\n };\n\n const onChange = (event, { newValue }) => {\n if (newValue.length > 62 && !showAddedTags) {\n setAddRemoveTagWarningText(\n 'Tag name must not be greater than 62 characters.',\n );\n setShowAddRemoveWarning(true);\n return;\n }\n if (\n (selectedAllProspectsDetails?.isAllProspectsSelected || showAllTags) &&\n tagsToAdd.length === 2\n ) {\n setAddRemoveTagWarningText(\n 'You can assign a maximum of 2 tags to each prospect.',\n );\n setShowAddRemoveWarning(true);\n return;\n }\n setInputValue(newValue);\n setShowAddRemoveWarning(false);\n };\n\n const onKeyDown = (event) => {\n if (\n event.keyCode === 13 &&\n event.key.trim().toLowerCase() === 'enter' &&\n inputValue.trim().toLowerCase() !== ''\n ) {\n onSuggestionSelected(event, {\n suggestion: {\n name: inputValue,\n isNew: true,\n },\n });\n }\n };\n\n const renderSuggestion = (suggestion) => {\n // if (hideAlreadyAddedTags) {\n // return
    {suggestion.name}
    ; // Render the suggestion without checking if it's new\n // }\n\n if (suggestion.isNew) {\n return (\n
    \n [+] Create new tag \"{inputValue}\"\n
    \n );\n }\n\n return
    {suggestion.name}
    ;\n };\n\n /**\n * Cancelling a tag can mean 2 things.\n * 1. It was a local tag -> it was not yet added to prospects.\n * 2. The tag was assigned to prospects. By cancelling here, we mean to remove this tag from the selected prospects\n */\n const cancelTag = (tag) => {\n if (\n (selectedAllProspectsDetails?.isAllProspectsSelected || showAllTags) &&\n tagsToRemove.length === 2\n ) {\n setAddRemoveTagWarningText(\n 'You can remove a maximum of 2 tags from each prospect.',\n );\n setShowAddRemoveWarning(true);\n return;\n }\n\n // this tag was already added to prospects;\n if (find(alreadyAddedTags, { id: tag.id })) {\n /**\n * This tag was already added to prospects.\n * So removing the tag from `alreadyAdded`.\n * And this tags needs to be removed from the selected prospects. So pushing it into the `tagsToRemove`\n */\n const updatedTags = alreadyAddedTags?.filter(\n (item) => item?.id !== tag?.id,\n );\n\n setTagsToRemove && setTagsToRemove([...tagsToRemove, tag.id]);\n setAlreadyAddedTags(updatedTags);\n } else if (tag.isNew) {\n const updatedTags = tagsToAdd?.filter((item) => item?.name !== tag?.name);\n setTagsToAdd([...updatedTags]);\n } else {\n const updatedTags = tagsToAdd?.filter((item) => item?.id !== tag?.id);\n setTagsToAdd([...updatedTags]);\n }\n };\n\n const renderSelectedTags = () =>\n alreadyAddedTags.concat(tagsToAdd).map((tag, idx) => (\n // eslint-disable-next-line react/no-array-index-key\n
    \n {\n cancelTag(tag);\n }}\n />\n
    \n ));\n\n const renderInputComponent = (inputProps) => {\n if (renderMode === RenderMode.Inline) {\n return (\n
    \n
    \n {renderSelectedTags()}\n
    \n
    \n \n
    \n
    \n
    \n
    \n );\n }\n return ;\n };\n\n const renderNoTags = () => {\n if (hideNoTagsMessage) {\n return null;\n }\n return (\n
    \n \n {t('messages.no_tags_found_title')}\n
    \n {t('messages.no_tags_found_sub_title')}\n
    \n
    \n );\n };\n\n const renderAddRemoveTagRestrictionWarning = () => {\n if (showAddRemoveWarning) {\n return (\n
    \n \n \n {addRemoveTagWarningText}\n \n
    \n );\n }\n\n return null;\n };\n\n const onSuggestionsClearRequested = () => {\n setSuggestions([]);\n };\n\n const inputProps = {\n placeholder:\n placeholder ??\n (showAddedTags\n ? t('messages.tags_removeMode')\n : t('messages.tags_placeholder')),\n value: inputValue,\n onChange,\n onKeyDown,\n };\n\n return (\n \n \n {showAddRemoveWarning && (\n
    {addRemoveTagWarningText}
    \n )}\n \n {renderAddRemoveTagRestrictionWarning()}\n {renderMode === RenderMode.Block &&\n (tagsToAdd.length || alreadyAddedTags.length\n ? renderSelectedTags()\n : renderNoTags())}\n
    \n \n );\n};\n\nexport default withTranslation()(TagAutoSuggest);\n","import { useEffect, useRef, useState } from 'react';\n\nexport const usePrevious = (value) => {\n const ref = useRef();\n useEffect(() => {\n ref.current = value;\n }, [value]);\n return ref.current;\n};\n\nexport const useOutClickHook = (ref, onClick) => {\n useEffect(() => {\n /**\n * Function handle for outside click\n */\n const handleClickOutside = (event: MouseEvent) => {\n if (ref.current && !ref.current.contains(event.target)) {\n onClick();\n }\n };\n\n // Binding the event listener\n document.addEventListener('mousedown', handleClickOutside);\n return () => {\n // Unbinding the event listener on clean up\n document.removeEventListener('mousedown', handleClickOutside);\n };\n }, [ref]);\n};\n\nexport function usePageVisibility() {\n const [isPageVisible, setIsPageVisible] = useState(!document.hidden);\n\n useEffect(() => {\n const handleVisibilityChange = () => {\n setIsPageVisible(!document.hidden);\n };\n\n document.addEventListener('visibilitychange', handleVisibilityChange);\n\n return () => {\n document.removeEventListener('visibilitychange', handleVisibilityChange);\n };\n }, []);\n\n return isPageVisible;\n}\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport {\n ResponseErrorWithHandled,\n ResponseSuccess,\n} from '../../../../shared/types';\nimport { OAuthMethod } from './types';\nimport { getOAuthRedirectUrl, oauthAuthenticate } from '../../helpers/auth.api';\nimport { OAuthPayload } from '../../types';\n\ntype GetOAuthRedirectUrlRequestPayload = {\n method: OAuthMethod;\n payload: OAuthPayload;\n};\n\ntype OAuthAuthenticateRequestPayload = {\n method: OAuthMethod;\n code: string;\n state?: string;\n};\n\nexport const getOAuthRedirectUrlRequest = createAsyncThunk<\n ResponseSuccess,\n GetOAuthRedirectUrlRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('oauth/getRedirectUrl', async ({ method, payload }, thunkAPI) => {\n try {\n const response = await getOAuthRedirectUrl(method, payload);\n return response;\n } catch (err) {\n return thunkAPI.rejectWithValue(err as ResponseErrorWithHandled);\n }\n});\n\nexport const oauthAuthenticateRequest = createAsyncThunk<\n ResponseSuccess,\n OAuthAuthenticateRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('oauth/authenticate', async ({ method, code, state }, thunkAPI) => {\n try {\n const response = await oauthAuthenticate(method, code, state);\n return response;\n } catch (err) {\n return thunkAPI.rejectWithValue(err as ResponseErrorWithHandled);\n }\n});\n","export enum Variant {\n Add = 'add',\n Remove = 'remove',\n Default = 'default',\n}\n\nexport enum Color {\n Geekblue = 'geekblue',\n Blue = 'blue',\n Red = 'red',\n Volcano = 'volcano',\n Orange = 'orange',\n Gold = 'gold',\n Lime = 'lime',\n Green = 'green',\n Cyna = 'cyan',\n Magenta = 'magenta',\n}\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport {\n AddTagsToLeadsPayload,\n BulkActionPayload,\n LeadsFindRequestPayload,\n} from './type';\nimport { ResponseErrorWithHandled, ResponseSuccess } from '../../shared/types';\nimport {\n addTagsToBulkLeads,\n addTagsToLeads,\n getLeads,\n getTagsToLeads,\n removeTagsFromBulkLeads,\n} from './helpers/leads.api';\n\nexport const getLeadsListRequest = createAsyncThunk<\n ResponseSuccess,\n { LeadsFindRequestPayload: LeadsFindRequestPayload },\n { rejectValue: ResponseErrorWithHandled }\n // eslint-disable-next-line @typescript-eslint/no-shadow\n>('leads/getLeadList', async ({ LeadsFindRequestPayload }, thunkAPI) => {\n try {\n return await getLeads(LeadsFindRequestPayload);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const addTagsToLeadsRequest = createAsyncThunk<\n ResponseSuccess,\n AddTagsToLeadsPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('leads/addTagsToLeadsRequest', async (args, thunkAPI) => {\n try {\n return await addTagsToLeads(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getTagsToLeadsRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('leads/getTagsToLeads', async (args, thunkAPI) => {\n try {\n return await getTagsToLeads();\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const addTagsToBulkLeadsRequest = createAsyncThunk<\n ResponseSuccess,\n BulkActionPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('leads/addTagsToBulkLeadsRequest', async (args, thunkAPI) => {\n try {\n return await addTagsToBulkLeads(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const removeTagsFromBulkLeadsRequest = createAsyncThunk<\n ResponseSuccess,\n BulkActionPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('leads/removeTagsFromBulkLeadsRequest', async (args, thunkAPI) => {\n try {\n return await removeTagsFromBulkLeads(args);\n } catch (e: any) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n","import React from 'react';\nimport { Helmet } from 'react-helmet';\n\nconst HelmetNoIndex: React.FC = () => (\n \n \n \n);\n\nexport default HelmetNoIndex;\n","import React from 'react';\n\nconst AlertContainer: React.FC = ({ children }) => (\n
    {children}
    \n);\n\nexport default AlertContainer;\n","import React from 'react';\n\nconst ButtonContainer = (props) => (\n
    {props.children}
    \n);\n\nexport default ButtonContainer;\n","import React from 'react';\n\nconst FormSection = (props) => (\n
    {props.children}
    \n);\n\nexport default FormSection;\n","import React from 'react';\nimport classNames from 'classnames';\nimport type { IProps } from './logo-container';\n\nconst Logo: React.FC = ({\n agencyConfig,\n logoTextStyles = {},\n isTertiary = false,\n}) => {\n if (agencyConfig && agencyConfig?.logo) {\n const {\n primary,\n tertiary,\n showAgencyNameWithLogo,\n } = agencyConfig?.logo || {\n primary: '',\n tertiary: '',\n showAgencyNameWithLogo: false,\n };\n\n const logoPrimary = primary ? \"Logo\" : <>;\n\n const logoTertiary = tertiary ? \"Logo\" : <>;\n\n const logo = isTertiary ? logoTertiary : logoPrimary;\n\n const logoWarpperClassName = classNames([\n 'logo--primary',\n {\n 'logo--with-text': showAgencyNameWithLogo,\n },\n ]);\n\n return (\n
    \n {logo}\n {showAgencyNameWithLogo && (\n \n {agencyConfig?.agencyName}\n \n )}\n
    \n );\n }\n\n return <>;\n};\n\nexport default Logo;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../store/root-reducer';\nimport Logo from './logo';\n\nconst mapStateToProps = (state: RootState) => ({\n agencyConfig: state.home.agencyConfig,\n});\n\nconst mapDispatchToProps = {};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n logoTextStyles?: Record;\n isTertiary?: boolean;\n};\n\nexport default connector(Logo);\n","import React from 'react';\nimport store from '../../../store';\n\nimport Logo from '../../../shared/components/logo';\nimport { SHLogoDark } from '../../../shared/svg';\n\nconst TopLogo = ({ prefix, children = <> }) => {\n const state = store.getState();\n\n const { agencyConfig } = state.home;\n\n return (\n
    \n {prefix}\n {agencyConfig?.agencyName === 'saleshandy' ? (\n \n ) : (\n \n )}\n {children}\n
    \n );\n};\n\nexport default TopLogo;\n","import React from 'react';\nimport TopLogo from './top-logo';\n\nconst TopWelcome = (props) => (\n <>\n \n
    {props.children}
    \n \n);\n\nTopWelcome.Header = function Header(props) {\n return

    {props.children}

    ;\n};\n\nTopWelcome.Body = function Body(props) {\n return

    {props.children}

    ;\n};\n\nexport default TopWelcome;\n","export enum VerificationCodeConfig {\n ConsecutiveRequestDelay = 60,\n}\n","import validator from 'validator';\nimport passwordValidator from '../../../../shared/utils/password-validator';\n\nexport const validate = (name, value) => {\n switch (name) {\n case 'email':\n if (!validator.isEmail(value)) {\n return 'Please enter a valid email address';\n }\n break;\n\n case 'password':\n if (!passwordValidator.all(value)) {\n return 'Password must contain at least one upper case, lowercase and a number';\n }\n break;\n default:\n break;\n }\n\n return '';\n};\n","import produce from 'immer';\nimport React from 'react';\nimport { Link } from 'react-router-dom';\nimport PasswordValidationChecklist from '../../../../shared/components/password-validation-checklist';\nimport Alert from '../../../../shared/design-system/components/alert';\nimport Button from '../../../../shared/design-system/components/atoms/button';\nimport Input from '../../../../shared/design-system/components/input';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport toaster, { Theme } from '../../../../shared/toaster';\nimport {\n getCurrentTimeZone,\n initializeSentryIntegrations,\n initializeThirdPartyIntegrations,\n} from '../../../../shared/utils';\nimport { executeOnRequestStatus } from '../../../../shared/utils/execute-on-request-status';\nimport AlertContainer from '../alert-container';\nimport ButtonContainer from '../button-container';\nimport FormSection from '../form-section';\nimport PrivacyPolicy from '../privacy-policy';\nimport TopWelcome from '../top-welcome';\nimport { IProps, IState } from './types';\nimport { validate } from './validator';\n\nclass LTDSignupForm extends React.PureComponent {\n private readonly v3 = 'V3';\n\n constructor(props: IProps) {\n super(props);\n\n this.state = {\n values: {\n email: props.email ? props.email : '',\n password: '',\n },\n errors: {\n email: '',\n password: '',\n },\n dirty: {\n email: false,\n password: false,\n },\n showPassword: false,\n };\n\n this.togglePasswordVisibility = this.togglePasswordVisibility.bind(this);\n this.onInputChange = this.onInputChange.bind(this);\n this.onInputBlur = this.onInputBlur.bind(this);\n this.onFormSubmit = this.onFormSubmit.bind(this);\n this.hideErrorHandler = this.hideErrorHandler.bind(this);\n }\n\n componentDidUpdate(prevProps: Readonly) {\n const {\n status,\n showVerificationCodeComponent,\n message,\n acceptInvitationRequestStatus,\n trackingId,\n firstName,\n lastName,\n email,\n } = this.props;\n\n if (\n acceptInvitationRequestStatus !== prevProps.acceptInvitationRequestStatus\n ) {\n executeOnRequestStatus({\n status: acceptInvitationRequestStatus,\n onSuccess: () => {\n initializeThirdPartyIntegrations({\n trackingId,\n firstName,\n lastName,\n email,\n });\n\n initializeSentryIntegrations(email);\n },\n });\n }\n\n if (status !== prevProps.status) {\n if (status === RequestStatus.Succeeded) {\n showVerificationCodeComponent?.();\n toaster.success(message, {\n theme: Theme.New,\n });\n }\n }\n }\n\n componentWillUnmount() {\n const { hideError } = this.props;\n hideError?.();\n }\n\n onInputChange(value, e) {\n const { name } = e.target;\n this.setState(\n produce((draft) => {\n draft.values[name] = value;\n draft.dirty[name] = true;\n }),\n );\n }\n\n onInputBlur(e) {\n const { name } = e.target;\n this.setState(\n produce((draft) => {\n if (draft.dirty[name]) {\n draft.errors[name] = validate(name, draft.values[name]);\n }\n }),\n );\n }\n\n onFormSubmit(e) {\n e.preventDefault();\n\n const { dirty, errors, values: errorValues } = this.state;\n\n const dirtyRef = { ...dirty };\n const dirtyKeys = Object.keys(dirtyRef);\n\n dirtyKeys.forEach((key) => {\n dirtyRef[key] = true;\n });\n\n const errorsRef = { ...errors };\n const errorsKeys = Object.keys(errorsRef);\n let isError = false;\n\n errorsKeys.forEach((key) => {\n const error = validate(key, errorValues[key]);\n\n errorsRef[key] = error;\n isError = isError || !!error;\n });\n\n this.setState({ errors: errorsRef, dirty: dirtyRef });\n\n if (isError) {\n return;\n }\n\n const timeZone = getCurrentTimeZone();\n const { values } = this.state;\n const { email, password } = values;\n const {\n forInvitation,\n sendAcceptInvitationRequest,\n token,\n sendSignupRequest,\n isLtdUser = false,\n setUserEmail,\n } = this.props;\n if (forInvitation) {\n sendAcceptInvitationRequest({\n password,\n token,\n timeZone,\n });\n } else {\n let rewardfulReferralId = '';\n if (window.rewardful) {\n rewardfulReferralId = window.Rewardful?.referral;\n }\n sendSignupRequest({\n email,\n password,\n timeZone,\n rewardfulReferralId,\n isLtdUser,\n });\n }\n\n setUserEmail(email);\n }\n\n togglePasswordVisibility() {\n this.setState((state) => ({ showPassword: !state.showPassword }));\n }\n\n hideErrorHandler() {\n const { hideError } = this.props;\n hideError?.();\n }\n\n render() {\n const { values, errors, showPassword, dirty } = this.state;\n const {\n status,\n error,\n showError,\n forInvitation,\n welcomeHeader,\n welcomeBody,\n showPasswordValidationMessage = true,\n agencyConfig,\n showTermOfServiceAndPrivacyPolicy = true,\n showLoginLink = true,\n } = this.props;\n const isLoading = status === RequestStatus.Pending;\n const isSignUpButtonDisable =\n !(!!values?.email && !!values?.password) ||\n !!validate('email', values.email) ||\n !!validate('password', values.password) ||\n isLoading;\n\n return (\n
    \n
    \n \n {welcomeHeader}\n {welcomeBody}\n \n {showError && (\n \n \n {error.message}\n \n \n )}\n \n \n \n \n \n \n \n {forInvitation ? 'Continue' : 'Sign up'}\n \n \n \n \n {showTermOfServiceAndPrivacyPolicy &&\n agencyConfig?.showTermOfServiceAndPrivacyPolicy && (\n \n )}\n {showLoginLink && (\n
    \n

    \n Already have an account? Login\n

    \n
    \n )}\n
    \n
    \n );\n }\n}\n\nexport default LTDSignupForm;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps, withRouter } from 'react-router';\nimport { RootState } from '../../../../store/root-reducer';\nimport { signupRequest, hideSignupRequestError } from '../signup/signup-slice';\nimport { acceptInvitationRequest } from '../invitation-signup/invitation-signup-slice';\nimport {\n AcceptInvitationRequestPayload,\n SignupRequestPayload,\n} from '../../types/request-payload';\nimport LTDSignupForm from './ltd-signup-form';\n\nconst mapStateToProps = (state: RootState) => ({\n status: state.signup.signupRequest.status,\n message: state.signup.signupRequest.message,\n error: state.signup.signupRequest.error,\n showError: state.signup.signupRequest.showError,\n trackingId: state.invitationSignup.trackingId,\n firstName: state.invitationSignup.firstName,\n lastName: state.invitationSignup.lastName,\n acceptInvitationRequestStatus:\n state.invitationSignup.acceptInvitationRequest.status,\n agencyConfig: state.home.agencyConfig,\n});\n\nconst mapDispatchToProps = {\n hideError: () => hideSignupRequestError(),\n sendSignupRequest: (payload: SignupRequestPayload) => signupRequest(payload),\n sendAcceptInvitationRequest: (payload: AcceptInvitationRequestPayload) =>\n acceptInvitationRequest(payload),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps &\n RouteComponentProps & {\n showVerificationCodeComponent?: () => void;\n forInvitation?: boolean;\n token?: string;\n email?: string;\n welcomeHeader: string;\n welcomeBody: string;\n showPasswordValidationMessage?: boolean;\n showTermOfServiceAndPrivacyPolicy?: boolean;\n showLoginLink?: boolean;\n isLtdUser?: boolean;\n setUserEmail: (email: string) => void;\n };\n\nexport default withRouter(connector(LTDSignupForm));\n","import validator from 'validator';\n\nexport const validate = (value) => {\n if (\n !validator.isLength(value, { min: 1, max: 4 }) ||\n !validator.isInt(value)\n ) {\n return 'Number must be between 0 to 9';\n }\n return '';\n};\n","import React from 'react';\nimport { IProps, IState } from './types';\n\nclass Timer extends React.Component {\n timer: any;\n\n constructor(props: IProps) {\n super(props);\n\n this.state = { seconds: this.props.seconds };\n\n this.timer = null;\n\n this.startTimer = this.startTimer.bind(this);\n this.countDown = this.countDown.bind(this);\n }\n\n componentDidMount() {\n this.startTimer();\n }\n\n componentWillUnmount() {\n clearInterval(this.timer);\n }\n\n startTimer() {\n if (this.state.seconds > 0) {\n this.timer = setInterval(this.countDown, 1000);\n }\n }\n\n countDown() {\n // Remove one second, set state so a re-render happens.\n const seconds = this.state.seconds - 1;\n this.setState({ seconds });\n\n // Check if we're at zero.\n if (seconds === 0) {\n const { onTimerFinish } = this.props;\n clearInterval(this.timer);\n onTimerFinish();\n }\n }\n\n render() {\n let seconds: string | number = this.state.seconds;\n\n // If seconds is in 1 digit then convert to 2 digit i.e. 2 => 02.\n if (Math.floor(seconds / 10) === 0) {\n seconds = `0${seconds}`;\n }\n\n return (\n \n Wait for {seconds} Seconds...\n \n );\n }\n}\n\nexport default Timer;\n","import React from 'react';\nimport classNames from 'classnames';\nimport { RequestStatus } from '../../../../../../shared/enums/request-status';\nimport Timer from '../timer/index';\nimport { IProps, IState } from './types';\nimport { VerificationCodeConfig } from '../../../../enums/verification-code-config';\nimport toaster from '../../../../../../shared/toaster';\nimport { showGeneralErrorNotification } from '../../../../../../shared/utils/errors';\nimport Icon from '../../../../../../shared/design-system/components/atoms/icon/icon';\nimport { accessibleOnClick } from '../../../../../../shared/utils/accessible-on-click';\n\nclass ResendVerificationCode extends React.PureComponent {\n constructor(props: IProps) {\n super(props);\n\n this.showTimer = this.showTimer.bind(this);\n this.hideTimer = this.hideTimer.bind(this);\n this.onResendUserVerificationCodeClick = this.onResendUserVerificationCodeClick.bind(\n this,\n );\n\n this.state = { showTimer: true };\n }\n\n componentDidUpdate(prevProps: Readonly) {\n const {\n resendUserVerificationCodeRequestStatus,\n resendUserVerificationCodeRequestMessage,\n resendUserVerificationCodeRequestError,\n } = this.props;\n\n if (\n resendUserVerificationCodeRequestStatus !==\n prevProps.resendUserVerificationCodeRequestStatus\n ) {\n if (resendUserVerificationCodeRequestStatus === RequestStatus.Succeeded) {\n this.showTimer();\n toaster.success(resendUserVerificationCodeRequestMessage);\n }\n\n if (\n resendUserVerificationCodeRequestStatus === RequestStatus.Failed &&\n resendUserVerificationCodeRequestError\n ) {\n showGeneralErrorNotification(\n resendUserVerificationCodeRequestError.message,\n );\n }\n }\n }\n\n onResendUserVerificationCodeClick() {\n const { email, sendResendUserVerificationCodeRequest } = this.props;\n sendResendUserVerificationCodeRequest(email);\n }\n\n showTimer() {\n this.setState({ showTimer: true });\n }\n\n hideTimer() {\n this.setState({ showTimer: false });\n }\n\n render() {\n const { showTimer } = this.state;\n const { resendUserVerificationCodeRequestStatus } = this.props;\n\n const isLoading =\n resendUserVerificationCodeRequestStatus === RequestStatus.Pending;\n\n let resendVerificationCodeLinkOrTimer: React.ReactNode;\n\n if (showTimer) {\n resendVerificationCodeLinkOrTimer = (\n \n );\n } else {\n const resendCodeOptionClass = classNames([\n {\n 'verification-code-resend': !isLoading,\n 'verification-code-resend-disabled': isLoading,\n },\n ]);\n\n resendVerificationCodeLinkOrTimer = (\n <>\n \n Resend Code\n
    \n {isLoading && (\n \n \n \n )}\n \n );\n }\n\n return (\n \n Didn't get verification code?\n \n {resendVerificationCodeLinkOrTimer}\n \n \n );\n }\n}\n\nexport default ResendVerificationCode;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../../../store/root-reducer';\nimport { resendUserVerificationCodeRequest } from '../../signup-slice';\nimport ResendVerificationCode from './resend-verification-code';\n\nconst mapStateToProps = (state: RootState) => ({\n resendUserVerificationCodeRequestStatus:\n state.signup.resendUserVerificationCodeRequest.status,\n resendUserVerificationCodeRequestMessage:\n state.signup.resendUserVerificationCodeRequest.message,\n resendUserVerificationCodeRequestError:\n state.signup.resendUserVerificationCodeRequest.error,\n});\n\nconst mapDispatchToProps = {\n sendResendUserVerificationCodeRequest: (email: string) =>\n resendUserVerificationCodeRequest({ email }),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n email: string;\n};\n\nexport default connector(ResendVerificationCode);\n","import React, { useState } from 'react';\nimport Modal from '../../../../shared/design-system/components/atoms/modal';\nimport InputNumber from '../../../../shared/design-system/components/input-number';\nimport { LTDVerificationModalProps } from './types';\nimport { validate } from '../signup/components/verification-code-form/validator';\nimport ResendVerificationCode from '../signup/components/resend-verification-code';\nimport Button from '../../../../shared/design-system/components/atoms/button';\nimport { getIsRequestPending } from '../../../../shared/utils/get-request-status';\nimport Alert from '../../../../shared/design-system/components/alert';\n\nconst LTDVerificationModal: React.FC = ({\n userEmailAddress,\n verificationModal,\n hideVerificationModal,\n sendVerifyUserVerificationCodeRequest,\n verifyUserVerificationCodeRequestStatus,\n verifyUserVerificationCodeRequestError,\n}) => {\n const [otpValue, setOtpValue] = useState('');\n const [otpError, setOtpError] = useState('');\n\n const onInputChangeHelper = (value) => {\n const error = validate(value);\n\n if (!error || value === '') {\n setOtpValue(value);\n }\n };\n\n const onVerificationSubmit = () => {\n const error = validate(otpValue);\n\n if (error) {\n setOtpError(error);\n return;\n }\n\n sendVerifyUserVerificationCodeRequest(userEmailAddress, Number(otpValue));\n };\n\n const isRequestPending = getIsRequestPending(\n verifyUserVerificationCodeRequestStatus,\n );\n\n const isError =\n otpError ||\n (verifyUserVerificationCodeRequestError &&\n verifyUserVerificationCodeRequestError?.message?.toLowerCase() ===\n 'invalid otp');\n\n return (\n \n

    Verify your email

    \n

    \n You’re almost there! We sent an email to{' '}\n {userEmailAddress}\n

    \n {isError && (\n Failed to authenticate. OTP code is invalid.\n }\n variant={Alert.Variant.Danger}\n theme={Alert.Theme.New}\n className=\"m-auto verification-error-alert\"\n />\n )}\n

    \n Please enter the code you received below\n

    \n \n

    \n Please check spam or junk folder if not received in inbox\n

    \n \n \n Continue\n \n \n );\n};\n\nexport default LTDVerificationModal;\n","import React, { useEffect, useState } from 'react';\nimport { useHistory } from 'react-router';\nimport {\n initializeSentryIntegrations,\n initializeThirdPartyIntegrations,\n setToken,\n} from '../../../../shared/utils';\nimport LTDSignupForm from '../ltd-signup-form';\nimport LTDVerificationModal from './ltd-verification-modal';\nimport type { IProps } from './ltd-signup-container';\nimport { executeOnRequestStatus } from '../../../../shared/utils/execute-on-request-status';\nimport toaster, { Theme } from '../../../../shared/toaster';\n\nconst LTDSignup: React.FC = ({\n email,\n token,\n trackingId,\n firstName,\n lastName,\n agencyConfig,\n sendVerifyUserVerificationCodeRequest,\n verifyUserVerificationCodeRequestStatus,\n verifyUserVerificationCodeRequestError,\n verifyUserVerificationCodeRequestMessage,\n}) => {\n const history = useHistory();\n\n const [verificationModal, setVerificationModal] = useState(false);\n const [userEmail, setUserEmail] = useState(email || '');\n\n const showVerificationModal = () => {\n setVerificationModal(true);\n };\n\n const hideVerificationModal = () => {\n setVerificationModal(false);\n };\n\n const showCheckoutComponent = () => {\n const { location } = history;\n\n const search = new URLSearchParams(location.search);\n\n history.push({\n pathname: '/LTD-checkout',\n search: search.toString(),\n });\n };\n\n useEffect(() => {\n if (token) {\n setToken(token);\n showCheckoutComponent();\n\n initializeThirdPartyIntegrations({\n trackingId,\n showChatSupport: agencyConfig?.showChatSupport,\n firstName,\n lastName,\n email: userEmail,\n });\n }\n initializeSentryIntegrations(userEmail);\n }, [token]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: verifyUserVerificationCodeRequestStatus,\n onSuccess: () => {\n toaster.success('Sign up has been completed successfully.', {\n theme: Theme.New,\n });\n showCheckoutComponent();\n },\n });\n }, [verifyUserVerificationCodeRequestStatus]);\n\n return (\n <>\n \n \n \n );\n};\n\nexport default LTDSignup;\n","import { RouteComponentProps } from 'react-router';\nimport { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../store/root-reducer';\nimport LTDSignup from './ltd-signup';\nimport { verifyUserVerificationCodeRequest } from '../signup/extra-actions';\n\nconst mapStateToProps = (state: RootState) => ({\n verifyUserVerificationCodeRequestStatus:\n state.signup.verifyUserVerificationCodeRequest.status,\n verifyUserVerificationCodeRequestMessage:\n state.signup.verifyUserVerificationCodeRequest.message,\n verifyUserVerificationCodeRequestError:\n state.signup.verifyUserVerificationCodeRequest.error,\n\n email: state.signup.email,\n token: state.signup.token,\n trackingId: state.signup.trackingId,\n firstName: state.signup.firstName,\n lastName: state.signup.lastName,\n canResendUserVerificationCode: state.signup.canResendUserVerificationCode,\n agencyConfig: state.home.agencyConfig,\n});\n\nconst mapDispatchToProps = {\n sendVerifyUserVerificationCodeRequest: (email: string, code: number) =>\n verifyUserVerificationCodeRequest({ email, code }),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & RouteComponentProps;\n\nexport default connector(LTDSignup);\n","import { SubscriptionPlans } from '../../../../shared/utils/subscription-plans';\nimport { DiscountType } from '../../../settings/components/billing-subscription/types/apply-coupon-code';\n\nexport const getPlansForCheckoutDropdown = (plans) => {\n const plansForDropdown = [];\n\n plans?.forEach((plan) => {\n const planName = plan?.planName.split('(')[0];\n\n plansForDropdown.push({\n key: plan.id.toString(),\n id: plan.id,\n planName,\n planCode: plan.planCode,\n amount: plan.amount,\n });\n });\n\n return plansForDropdown;\n};\n\nexport const getEmailOutreachProLifetimePlan = (plans: any[]) =>\n plans.filter(\n (plan) => plan.planCode === SubscriptionPlans.EMAIL_OUTREACH_PRO_LIFETIME,\n )[0];\n\nexport const getNewLifetimePlans = (plans: any[]) =>\n plans.filter(\n (plan) =>\n plan.planCode !== SubscriptionPlans.EMAIL_OUTREACH_LIFETIME &&\n plan.planCode !== SubscriptionPlans.EMAIL_OUTREACH_PRO_LIFETIME,\n );\n\nexport const setUserSelectedPlansAndSlotsOnLoad = ({\n plans,\n setSelectedPlan,\n // setSlots,\n search,\n setProspects,\n}) => {\n if (plans) {\n // const plan = getEmailOutreachProLifetimePlan(plans);\n const newPlans = getNewLifetimePlans(plans);\n\n // const slots = new URLSearchParams(search).get('slots');\n const planId = new URLSearchParams(search).get('planId');\n\n const selectedPlan = newPlans.filter(\n (item) => item.id === Number(planId),\n )?.[0];\n\n setSelectedPlan(selectedPlan || newPlans[0]);\n // setSlots(slots || 1);\n setProspects(\n newPlans.map((item) => ({\n key: item?.id?.toString(),\n id: item?.id,\n amount: item?.amount,\n planName: item?.planName,\n })),\n );\n }\n};\n\nexport const formatProspect = (planName: string) => {\n const regex = /\\d.*\\d/g;\n const found = planName.match(regex);\n if (found) {\n return found[0];\n }\n return '';\n};\n\nexport const getSubTotalDiscountAmount = ({\n discountType,\n discountValue,\n totalAmount,\n}) =>\n discountType === DiscountType.Percentage\n ? (totalAmount * discountValue) / 100\n : discountValue;\n\nexport const getTotalAmountToPay = ({\n discountType,\n discountValue,\n totalAmount,\n}) => {\n const discountAmout = getSubTotalDiscountAmount({\n discountType,\n discountValue,\n totalAmount,\n });\n\n return (totalAmount - discountAmout).toFixed(2);\n};\n","import { isEmpty } from 'lodash';\nimport React, { useEffect, useState } from 'react';\nimport { useHistory } from 'react-router';\nimport StripeCheckout from 'react-stripe-checkout';\nimport { Images } from '../../../../shared/app-constants';\nimport { handle3dSecureCardPayment } from '../../../../shared/components/handle-3d-secure-card-payment/handle3dSecureCardPayment';\nimport ImageIcon from '../../../../shared/components/images/image-icon';\nimport Button from '../../../../shared/design-system/components/atoms/button';\nimport Input from '../../../../shared/design-system/components/input';\n// import InputNumber from '../../../../shared/design-system/components/input-number';\nimport { InputIconConfig } from '../../../../shared/design-system/components/input/types';\n// import {\n// OverlayTooltip,\n// Placement,\n// } from '../../../../shared/design-system/components/overlay';\nimport Select from '../../../../shared/design-system/components/select';\nimport toaster, { Theme } from '../../../../shared/toaster';\nimport { UserSettingCode } from '../../../../shared/types/user-setting';\nimport { accessibleOnClick } from '../../../../shared/utils/accessible-on-click';\nimport {\n executeOnErrorWithErrorCheck,\n executeOnRequestStatus,\n} from '../../../../shared/utils/execute-on-request-status';\nimport {\n getIsRequestFailed,\n getIsRequestPending,\n} from '../../../../shared/utils/get-request-status';\nimport { handleOnboarding } from '../../../../shared/utils/handle-onboarding-routing';\n// import { SubscriptionPlans } from '../../../../shared/utils/subscription-plans';\nimport FormSection from '../form-section';\nimport TopWelcome from '../top-welcome';\nimport {\n formatProspect,\n getSubTotalDiscountAmount,\n getTotalAmountToPay,\n setUserSelectedPlansAndSlotsOnLoad,\n} from './helper';\nimport type { IProps } from './ltd-checkout-container';\nimport { PlanSelectDropdown } from './types';\nimport { openChatSupport } from '../../../../shared/utils/open-chat-support';\n\nconst LTDCheckout: React.FC = ({\n plans,\n sendGetPlansRequest,\n sendApplyCouponCodeRequest,\n sendApplyCouponCodeRequestStatus,\n sendApplyCouponCodeRequestError,\n sendPurchaseLtdPlanRequest,\n applyCouponCodeResponse,\n purchaseLtdPlanResponse,\n purchaseLtdPlanRequestStatus,\n resetPurchaseLtdPlan,\n meta,\n getUserSettingsRequestStatus,\n sendGetUserSettingsRequest,\n location,\n}) => {\n const history = useHistory();\n\n const [selectedPlan, setSelectedPlan] = useState(null);\n // const [slots, setSlots] = useState('');\n // const [slotsError, setSlotsError] = useState(false);\n const [prospects, setProspects] = useState([]);\n\n const [haveDiscountCode, setHaveDiscountCode] = useState(false);\n const [couponCode, setCouponCode] = useState('');\n const [isCouponCodeInvalid, setIsCouponCodeInvalid] = useState(false);\n const [isCouponCodeValid, setIsCouponCodeValid] = useState(false);\n const [isSecure3dPending, setIsSecure3dPending] = useState(false);\n\n const handleHaveDiscountCode = () => {\n setHaveDiscountCode(true);\n };\n\n const onCouponCodeApplied = () => {\n if (couponCode && selectedPlan) {\n sendApplyCouponCodeRequest({\n couponCode,\n planId: selectedPlan.id,\n amount: selectedPlan.amount,\n });\n } else {\n setIsCouponCodeValid(false);\n setIsCouponCodeInvalid(true);\n }\n };\n\n const onCouponCodeDelete = () => {\n setCouponCode('');\n setIsCouponCodeValid(false);\n setIsCouponCodeInvalid(false);\n };\n\n const onPurchaseHandler = (token) => {\n if (token) {\n sendPurchaseLtdPlanRequest({\n planId: selectedPlan.id,\n // slots: 5,\n stripeCardToken: token.id,\n ...(couponCode && isCouponCodeValid && { couponCode }),\n });\n }\n };\n\n // const onSlotsChangeHandler = (value) => {\n // // Check Plan Id Before If Check\n // if (value > 20) {\n // setSlotsError(true);\n // } else {\n // setSlotsError(false);\n // }\n // if (haveDiscountCode) {\n // onCouponCodeDelete();\n // }\n // setSlots(value);\n // };\n\n const redirectToOnboardingFrom = () => {\n history.push({\n pathname: '/sequence',\n });\n };\n\n // Handle 3d secure card\n const handle3dSecureCard = async (response) => {\n const apiEndPoint = '/ltd/confirm-payment-intent';\n\n setIsSecure3dPending(true);\n\n const { isError } = await handle3dSecureCardPayment({\n response,\n apiEndPoint,\n });\n\n setIsSecure3dPending(false);\n\n if (isError) {\n toaster.error('Oh no! Something went wrong. Please try again.', {\n showCloseIcon: true,\n theme: Theme.New,\n delay: 10000,\n });\n } else {\n toaster.success(\n 'Congratulations! Your deal has been activated successfully.',\n { theme: Theme.New },\n );\n redirectToOnboardingFrom();\n }\n resetPurchaseLtdPlan();\n };\n\n const openHelpscoutBeacon = () => {\n openChatSupport();\n };\n\n useEffect(() => {\n sendGetPlansRequest();\n sendGetUserSettingsRequest();\n }, []);\n\n useEffect(() => {\n setUserSelectedPlansAndSlotsOnLoad({\n plans,\n setSelectedPlan,\n setProspects,\n // setSlots,\n search: history.location.search,\n });\n }, [plans]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: sendApplyCouponCodeRequestStatus,\n onSuccess: () => {\n // DO something\n setIsCouponCodeInvalid(false);\n setIsCouponCodeValid(true);\n },\n onFailed: () => {\n executeOnErrorWithErrorCheck({\n error: sendApplyCouponCodeRequestError,\n onError: () => {\n setIsCouponCodeValid(false);\n setIsCouponCodeInvalid(true);\n },\n });\n },\n });\n }, [sendApplyCouponCodeRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: purchaseLtdPlanRequestStatus,\n onSuccess: () => {\n if (purchaseLtdPlanResponse.requires_action) {\n handle3dSecureCard(purchaseLtdPlanResponse);\n } else {\n toaster.success(\n 'Congratulations! Your deal has been activated successfully.',\n { theme: Theme.New },\n );\n redirectToOnboardingFrom();\n resetPurchaseLtdPlan();\n }\n },\n onFailed: () => {\n toaster.error('Oh no! Something went wrong. Please try again..', {\n theme: Theme.New,\n showCloseIcon: true,\n delay: 1000000,\n });\n },\n });\n }, [purchaseLtdPlanRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getUserSettingsRequestStatus,\n onSuccess: () => {\n if (!isEmpty(meta)) {\n const onboardingStep = meta.find(\n (setting) => setting.code === UserSettingCode.Onboarding,\n );\n\n if (onboardingStep) {\n const currentPath = location.pathname + location.search;\n handleOnboarding(meta, currentPath, location.search);\n return;\n }\n\n history.push('/sequence');\n }\n },\n });\n }, [getUserSettingsRequestStatus]);\n\n const getCouponCodeInputIcon = (): InputIconConfig[] => {\n if (getIsRequestPending(sendApplyCouponCodeRequestStatus)) {\n return [\n {\n place: Input.IconPlace.Right,\n identifier: 'spinner-alt',\n colorDefault: true,\n className: 'icon-loading',\n },\n ];\n }\n\n if (isCouponCodeValid) {\n return [\n {\n place: Input.IconPlace.Right,\n identifier: 'trash',\n colorDefault: true,\n onClick: onCouponCodeDelete,\n },\n ];\n }\n\n return [];\n };\n\n // const getSlotInput = () => {\n // const isEmailOutreachPlanSelected =\n // selectedPlan &&\n // selectedPlan.planCode === SubscriptionPlans.EMAIL_OUTREACH_LIFETIME;\n\n // const slotInput = (\n // onSlotsChangeHandler(val)}\n // max={20}\n // min={1}\n // variant={slotsError && InputNumber.Variant.Error}\n // disabled={isEmailOutreachPlanSelected}\n // {...(selectedPlan &&\n // selectedPlan.planCode ===\n // SubscriptionPlans.EMAIL_OUTREACH_PRO_LIFETIME && {\n // max: 20,\n // showUpHandlerWithTooltip: true,\n // upHandlerTooltipText:\n // 'The maximum number of slots allowed in this plan is 20. You cannot exceed the limit from here.',\n // })}\n // />\n // );\n\n // if (isEmailOutreachPlanSelected) {\n // return (\n // \n // {slotInput}\n // \n // );\n // }\n\n // return slotInput;\n // };\n\n return (\n
    \n
    \n \n Make a Payment\n \n One time payment, Lifetime access{' '}\n \n 🎉\n \n \n \n
    \n \n
    \n
    \n \n
    \n
    \n

    \n {selectedPlan && <>Saleshandy {selectedPlan?.planName}}\n

    \n

    \n {selectedPlan && (\n <>\n ${selectedPlan?.amount}{' '}\n {/* /slot */}\n \n )}\n

    \n
    \n
    \n\n
    \n
    \n

    Plan

    \n \n
    \n
    \n {/*

    Slots

    */}\n {/* {getSlotInput()} */}\n

    Prospects

    \n \n className=\"plan-options--slots\"\n options={prospects}\n selectedOptionKey={selectedPlan?.id?.toString()}\n optionRenderer={(option) => (\n {formatProspect(option?.planName)}\n )}\n onChange={([option]) => {\n setSelectedPlan(option);\n }}\n selectedOptionRenderer={([option]) => (\n {formatProspect(option?.planName)}\n )}\n />\n
    \n
    \n
    \n
    \n

    \n Total Amount\n

    \n {/*

    \n {selectedPlan && Number(slots) <= 20 ? (\n <>${(selectedPlan.amount * Number(slots)).toFixed(2)}\n ) : (\n <>-\n )}\n

    */}\n

    \n {selectedPlan ? <>${selectedPlan?.amount} : <>-}\n

    \n
    \n {haveDiscountCode ? (\n
    \n \n
    \n {isCouponCodeInvalid && (\n \n INVALID DISCOUNT CODE\n \n )}\n {isCouponCodeValid && (\n \n DISCOUNT CODE APPLIED SUCCESSFULLY\n \n )}\n
    \n {isCouponCodeValid && (\n <>\n
    \n

    \n Discount\n

    \n

    \n $\n {getSubTotalDiscountAmount({\n discountType: applyCouponCodeResponse.discountType,\n discountValue: applyCouponCodeResponse.discountValue,\n // totalAmount: selectedPlan.amount * Number(slots),\n totalAmount: selectedPlan.amount,\n })}\n

    \n
    \n\n
    \n\n
    \n

    \n Total Amount to pay\n

    \n

    \n $\n {getTotalAmountToPay({\n discountType: applyCouponCodeResponse.discountType,\n discountValue: applyCouponCodeResponse.discountValue,\n // totalAmount: selectedPlan.amount * Number(slots),\n totalAmount: selectedPlan.amount,\n })}\n

    \n
    \n \n )}\n
    \n ) : (\n \n Have a discount code?\n

    \n )}\n\n {!isCouponCodeValid &&
    }\n\n \n \n Proceed to Pay\n \n \n \n\n {getIsRequestFailed(purchaseLtdPlanRequestStatus) && (\n

    \n Looking for an alternate payment method?{' '}\n \n Click here\n \n .\n

    \n )}\n
    \n );\n};\n\nexport default LTDCheckout;\n","import { RouteComponentProps } from 'react-router';\nimport { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../store/root-reducer';\nimport LTDCheckout from './ltd-checkout';\nimport {\n applyCouponCodeRequest,\n getPlansRequest,\n purchaseLtdPlanRequest,\n} from '../../../settings/components/billing-subscription/extra-actions';\nimport {\n ApplyCouponCodeRequest,\n LTDPurchasePayload,\n} from '../../../settings/components/billing-subscription/types';\nimport { resetPurchaseLtdPlan } from '../../../settings/components/billing-subscription/billing-subscription-slice';\nimport { getUserSettingsRequest } from '../../../home/extra-actions';\n\nconst mapStateToProps = (state: RootState) => ({\n email: state.signup.email,\n plans: state.billingAndSubscription.getPlansResponse,\n\n sendGetPlansRequestStatus:\n state.billingAndSubscription.getPlansRequest.status,\n sendGetPlansRequestError: state.billingAndSubscription.getPlansRequest.error,\n\n meta: state.home.meta,\n getUserSettingsRequestStatus: state.home.getUserSettingsRequest.status,\n\n purchaseLtdPlanRequestStatus:\n state.billingAndSubscription.purchaseLtdPlanRequest.status,\n purchaseLtdPlanRequestMessage:\n state.billingAndSubscription.purchaseLtdPlanRequest.message,\n purchaseLtdPlanRequestError:\n state.billingAndSubscription.purchaseLtdPlanRequest.error,\n purchaseLtdPlanResponse: state.billingAndSubscription.purchaseLtdPlanResponse,\n\n sendApplyCouponCodeRequestStatus:\n state.billingAndSubscription.applyCouponCodeRequest.status,\n sendApplyCouponCodeRequestMessage:\n state.billingAndSubscription.applyCouponCodeRequest.message,\n sendApplyCouponCodeRequestError:\n state.billingAndSubscription.applyCouponCodeRequest.error,\n applyCouponCodeResponse: state.billingAndSubscription.applyCouponCodeResponse,\n\n getCouponCodeResponse: state.billingAndSubscription.applyCouponCodeResponse,\n});\n\nconst mapDispatchToProps = {\n sendGetUserSettingsRequest: () => getUserSettingsRequest(),\n sendGetPlansRequest: () => getPlansRequest(),\n sendApplyCouponCodeRequest: (payload: ApplyCouponCodeRequest) =>\n applyCouponCodeRequest(payload),\n sendPurchaseLtdPlanRequest: (payload: LTDPurchasePayload) =>\n purchaseLtdPlanRequest(payload),\n\n resetPurchaseLtdPlan: () => resetPurchaseLtdPlan(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & RouteComponentProps;\n\nexport default connector(LTDCheckout);\n","import validator from 'validator';\n\nexport const validate = (name: string, value: string): string => {\n switch (name) {\n case 'email':\n if (!validator.isEmail(value)) {\n return 'Please enter a valid email address.';\n }\n break;\n\n case 'password':\n if (validator.isEmpty(value)) {\n return 'Please enter a valid password.';\n }\n break;\n default:\n break;\n }\n\n return '';\n};\n","import React from 'react';\nimport produce from 'immer';\nimport { SkeletonLoading } from '@saleshandy/design-system';\n\nimport { validate } from './validator';\nimport type { IState } from './types';\nimport type { IProps } from './agency-client-login-container';\n\nimport Input from '../../../../shared/design-system/components/input';\nimport Button from '../../../../shared/design-system/ui/button';\n\nimport {\n getIsRequestPending,\n initializeThirdPartyIntegrations,\n executeOnRequestStatusWithPrevStatusCheck,\n AuthHelper,\n initializeSentryIntegrations,\n getIsRequestSucceeded,\n redirectWithoutRefresh,\n} from '../../../../shared/utils';\nimport { setAgencyClientRedirectURLOnLogout } from './helper';\nimport { isInternalUrl } from '../../../../shared/utils/is-internal-url';\nimport HelmetIcon from '../../../../shared/components/helmet-icon';\nimport { SHLogoDark } from '../../../../shared/svg';\n\nclass AgencyClientLogin extends React.PureComponent {\n constructor(props: IProps) {\n super(props);\n\n this.state = {\n values: {\n email: '',\n password: '',\n },\n errors: {\n email: '',\n password: '',\n },\n dirty: {\n email: false,\n password: false,\n },\n showPassword: false,\n };\n\n this.onInputChange = this.onInputChange.bind(this);\n this.onInputBlur = this.onInputBlur.bind(this);\n this.onPasswordVisibilityChange = this.onPasswordVisibilityChange.bind(\n this,\n );\n this.onFormSubmit = this.onFormSubmit.bind(this);\n this.hasErrors = this.hasErrors.bind(this);\n }\n\n componentDidMount() {\n const { history, setIsRedirectedFromAgency } = this.props;\n const { values } = this.state;\n\n const { search } = history.location;\n const userEmail = new URLSearchParams(search).get('userEmail');\n\n if (userEmail !== '') {\n this.setState({ values: { ...values, email: userEmail } });\n }\n\n setIsRedirectedFromAgency(true);\n }\n\n componentDidUpdate(prevProps: Readonly) {\n const {\n loginRequestStatus,\n token,\n trackingId,\n firstName,\n lastName,\n email,\n agencyConfig,\n mfaChannel,\n } = this.props;\n\n executeOnRequestStatusWithPrevStatusCheck({\n status: loginRequestStatus,\n prevStatus: prevProps.loginRequestStatus,\n onSuccess: () => {\n if (mfaChannel) {\n // Redirect to otp screen\n redirectWithoutRefresh('/mfa-verify');\n return;\n }\n if (token) {\n AuthHelper.login({ token });\n\n setAgencyClientRedirectURLOnLogout();\n\n initializeThirdPartyIntegrations({\n trackingId,\n showChatSupport: agencyConfig?.showChatSupport,\n firstName,\n lastName,\n email,\n });\n }\n initializeSentryIntegrations(email);\n },\n });\n }\n\n componentWillUnmount() {\n const { hideError } = this.props;\n hideError?.();\n }\n\n onInputChange(value: string, e: React.ChangeEvent) {\n const { name } = e.target;\n this.setState(\n produce((draft) => {\n draft.values[name] = value;\n draft.dirty[name] = true;\n }),\n );\n }\n\n onInputBlur(e) {\n const { name } = e.target;\n this.setState(\n produce((draft) => {\n if (draft.dirty[name]) {\n draft.errors[name] = validate(name, draft.values[name]);\n }\n }),\n );\n }\n\n onPasswordVisibilityChange() {\n const { showPassword } = this.state;\n\n this.setState({ showPassword: !showPassword });\n }\n\n onFormSubmit(e) {\n e.preventDefault();\n\n const { dirty, errors, values } = this.state;\n const { sendLoginRequest } = this.props;\n\n const dirtyRef = { ...dirty };\n const dirtyKeys = Object.keys(dirtyRef);\n\n dirtyKeys.forEach((key) => {\n dirtyRef[key] = true;\n });\n\n const errorsRef = { ...errors };\n const errorsKeys = Object.keys(errorsRef);\n let isError = false;\n\n errorsKeys.forEach((key) => {\n const error = validate(key, values[key]);\n\n errorsRef[key] = error;\n isError = isError || !!error;\n });\n\n this.setState({ errors: errorsRef, dirty: dirtyRef });\n\n if (isError) {\n return;\n }\n\n const { email, password } = values;\n sendLoginRequest(email, password);\n }\n\n hasErrors() {\n const { errors, dirty } = this.state;\n\n let isError = false;\n\n Object.keys(errors).forEach((key) => {\n if (errors[key] !== '' || !dirty[key]) {\n isError = true;\n }\n });\n\n return isError;\n }\n\n companyNameLoader(\n agencyLoading: boolean,\n isWhitelabel: boolean,\n companyName?: string,\n ) {\n if (agencyLoading) {\n return (\n
    \n \n
    \n );\n }\n\n return (\n \n {`Welcome Back to ${isWhitelabel ? companyName || '' : 'Saleshandy'} `}\n \n );\n }\n\n clientLogoLoader(\n agencyLoading: boolean,\n isWhitelabel?: boolean,\n clientLogo?: string,\n ) {\n if (agencyLoading) {\n return (\n
    \n \n
    \n );\n }\n\n if (!isWhitelabel && !clientLogo) {\n return ;\n }\n\n if (isWhitelabel && clientLogo) {\n return \"logo\";\n }\n }\n\n render() {\n const { values, errors, showPassword } = this.state;\n const {\n loginRequestStatus,\n loginRequestError,\n loginRequestShowError,\n companyName,\n agencyConfig,\n agencyConfigRequestStatus,\n clientLogo,\n } = this.props;\n\n const isWhitelabel = !!agencyConfig.clientBaseUrl;\n\n const isLoginBtnLoading = getIsRequestPending(loginRequestStatus);\n const isLoginBtnDisabled = isLoginBtnLoading || this.hasErrors();\n const isAgencyLoading =\n getIsRequestPending(agencyConfigRequestStatus) && !isInternalUrl();\n\n return (\n <>\n {getIsRequestSucceeded(agencyConfigRequestStatus) && (\n \n )}\n
    \n
    \n
    \n
    \n {this.clientLogoLoader(\n isAgencyLoading,\n isWhitelabel,\n clientLogo,\n )}\n
    \n

    \n {this.companyNameLoader(\n isAgencyLoading,\n isWhitelabel,\n companyName,\n )}\n

    \n\n \n
    \n
    \n \n
    \n
    \n\n
    \n
    \n \n
    \n
    \n\n \n Login\n \n \n
    \n
    \n
    \n \n );\n }\n}\n\nexport default AgencyClientLogin;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps, withRouter } from 'react-router';\nimport { RootState } from '../../../../store/root-reducer';\nimport {\n hideError,\n loginRequest,\n setIsRedirectedFromAgency,\n} from '../login/login-slice';\nimport AgencyClientLogin from './agency-client-login';\n\nconst mapStateToProps = (state: RootState) => ({\n loginRequestStatus: state.login.loginRequest.status,\n loginRequestMessage: state.login.loginRequest.message,\n loginRequestError: state.login.loginRequest.error,\n loginRequestShowError: state.login.loginRequest.showError,\n\n token: state.login.token,\n\n trackingId: state.login.trackingId,\n firstName: state.login.firstName,\n lastName: state.login.lastName,\n email: state.login.email,\n mfaChannel: state.login.mfaChannel,\n\n agencyConfig: state.home.agencyConfig,\n agencyConfigRequestStatus: state.home?.getAgencyConfigRequest.status,\n companyName: state.home.agencyConfig?.companyName,\n clientLogo: state.home.agencyConfig?.clientLogo,\n});\n\nconst mapDispatchToProps = {\n hideError: () => hideError(),\n sendLoginRequest: (email: string, password: string) =>\n loginRequest({ email, password }),\n setIsRedirectedFromAgency: (value: boolean) =>\n setIsRedirectedFromAgency(value),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & RouteComponentProps;\n\nexport default withRouter(connector(AgencyClientLogin));\n","import React, { useEffect, useState } from 'react';\nimport OTPInput from 'react-otp-input';\nimport { Pencil } from '@saleshandy/icons';\nimport type { IProps } from './types';\nimport {\n AuthHelper,\n executeOnRequestStatus,\n getIsRequestPending,\n getIsRequestSucceeded,\n initializeSentryIntegrations,\n initializeThirdPartyIntegrations,\n redirectWithoutRefresh,\n} from '../../../../shared/utils';\nimport { isInternalUrl } from '../../../../shared/utils/is-internal-url';\nimport HelmetIcon from '../../../../shared/components/helmet-icon';\nimport { SHLogoDark } from '../../../../shared/svg';\nimport { SHLogoTypography } from '../../../../shared/svg/sh-typography';\nimport TestimonialsCarousel from '../../../../shared/components/testimonials-carousel';\nimport Button from '../../../../shared/design-system/ui/button';\nimport { accessibleOnClick } from '../../../../shared/utils/accessible-on-click';\nimport toaster, { Theme } from '../../../../shared/toaster';\nimport { openChatSupport } from '../../../../shared/utils/open-chat-support';\nimport { ExceptionTypes } from '../../../../shared/types';\nimport { setAgencyClientRedirectURLOnLogout } from '../agency-client-login/helper';\n\nconst OTP_LENGTH = 4;\nconst OTP_RESEND_TIME = 60;\n\nconst MFAVerify: React.FC = ({\n agencyConfig,\n agencyConfigRequestStatus,\n isRedirectedFromAgency,\n email,\n token,\n firstName,\n lastName,\n trackingId,\n sendResendOtpRequest,\n sendVerifyOtpRequest,\n resetMFAData,\n verifyOtpRequestStatus,\n verifyOtpRequestError,\n resendOtpRequestStatus,\n}) => {\n const [otp, setOtp] = useState('');\n const [error, setError] = useState('');\n const [resendTimer, setResendTimer] = useState(OTP_RESEND_TIME);\n\n const isWhitelabel = !!agencyConfig?.clientBaseUrl;\n const isAgencyLoading =\n getIsRequestPending(agencyConfigRequestStatus) && !isInternalUrl();\n const isVerifyBtnLoading = getIsRequestPending(verifyOtpRequestStatus);\n const isVerifyBtnDisabled =\n isVerifyBtnLoading || otp?.length < OTP_LENGTH || !!error;\n\n const onResend = () => {\n if (!getIsRequestPending(resendOtpRequestStatus)) {\n sendResendOtpRequest(email);\n setResendTimer(OTP_RESEND_TIME);\n }\n };\n\n const onInputChange = (inputOtp: string) => {\n setOtp(inputOtp);\n setError('');\n };\n\n const onVerify = () => {\n sendVerifyOtpRequest(email, otp);\n };\n\n const redirectToLoginPage = () => {\n redirectWithoutRefresh(isRedirectedFromAgency ? '/agency/login' : '/login');\n };\n\n const onEditAction = () => {\n redirectToLoginPage();\n };\n\n useEffect(() => {\n if (!email) {\n redirectToLoginPage();\n }\n }, [email]);\n\n useEffect(() => {\n if (!isVerifyBtnDisabled) {\n sendVerifyOtpRequest(email, otp);\n }\n }, [otp]);\n\n useEffect(() => {\n let timeout: NodeJS.Timeout = null;\n if (resendTimer > 0) {\n timeout = setTimeout(() => setResendTimer(resendTimer - 1), 1000);\n }\n return () => clearTimeout(timeout);\n }, [resendTimer]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: verifyOtpRequestStatus,\n onSuccess: () => {\n if (token) {\n AuthHelper.login({ token });\n\n if (isRedirectedFromAgency) {\n setAgencyClientRedirectURLOnLogout();\n }\n\n initializeThirdPartyIntegrations({\n trackingId,\n showChatSupport: agencyConfig?.showChatSupport,\n firstName,\n lastName,\n email,\n });\n }\n initializeSentryIntegrations(email);\n },\n onFailed: () => {\n if (verifyOtpRequestError?.message?.includes('support')) {\n toaster.error(\n
    \n Your account is suspended, to revoke this suspension feel free to\n reach out to{' '}\n {\n openChatSupport();\n })}\n >\n support\n \n
    ,\n {\n theme: Theme.New,\n showCloseIcon: true,\n delay: 1000000,\n },\n );\n } else if (\n verifyOtpRequestError.type === ExceptionTypes.Silent &&\n verifyOtpRequestError.message\n ) {\n setError(verifyOtpRequestError.message);\n }\n },\n });\n }, [verifyOtpRequestStatus]);\n\n useEffect(\n () => () => {\n resetMFAData();\n },\n [],\n );\n\n return (\n <>\n {getIsRequestSucceeded(agencyConfigRequestStatus) && (\n \n )}\n {isAgencyLoading || isWhitelabel || isRedirectedFromAgency ? null : (\n
    \n
    \n \n
    \n \n
    \n
    \n\n \n

    \n ©{`${new Date().getFullYear()} Saleshandy`}\n

    \n
    \n )}\n\n \n
    \n
    \n

    \n Verification Code\n

    \n\n
    \n
    \n Please enter the code we have sent to\n
    \n
    \n {email}\n \n
    \n
    \n\n
    \n }\n />\n {error &&
    {error}
    }\n
    \n\n
    \n Please check spam or junk folder if not received in inbox\n
    \n\n
    \n {resendTimer <= 0 ? (\n \n Resend Code\n \n ) : (\n <>\n \n Didn’t get verification code?\n {' '}\n Resend code in {resendTimer.toString().padStart(2, '0')}s\n \n )}\n
    \n\n \n Verify\n \n
    \n
    \n
    \n \n );\n};\n\nexport default MFAVerify;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps, withRouter } from 'react-router';\nimport { RootState } from '../../../../store/root-reducer';\nimport MFAVerify from './mfa-verify';\nimport { resendOtpRequest, verifyOtpRequest } from '../login/extra-actions';\nimport { resetMFAData } from '../login/login-slice';\n\nconst mapStateToProps = (state: RootState) => ({\n agencyConfig: state.home?.agencyConfig,\n agencyConfigRequestStatus: state.home?.getAgencyConfigRequest.status,\n email: state.login?.email,\n token: state.login?.token,\n trackingId: state.login?.trackingId,\n firstName: state.login?.firstName,\n lastName: state.login?.lastName,\n isRedirectedFromAgency: state.login?.isRedirectedFromAgency,\n\n verifyOtpRequestStatus: state.login?.verifyOtpRequest?.status,\n verifyOtpRequestMessage: state.login?.verifyOtpRequest?.message,\n verifyOtpRequestError: state.login?.verifyOtpRequest?.error,\n\n resendOtpRequestStatus: state.login?.resendOtpRequest?.status,\n resendOtpRequestMessage: state.login?.resendOtpRequest?.message,\n resendOtpRequestError: state.login?.resendOtpRequest?.error,\n});\n\nconst mapDispatchToProps = {\n sendVerifyOtpRequest: (email: string, otp: string) =>\n verifyOtpRequest({ email, otp }),\n sendResendOtpRequest: (email: string) => resendOtpRequest({ email }),\n resetMFAData: () => resetMFAData(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & RouteComponentProps;\n\nexport default withRouter(connector(MFAVerify));\n","import React, { useEffect } from 'react';\nimport classNames from 'classnames';\nimport { Route, Switch } from 'react-router-dom';\n\nimport { IProps } from './type';\n\nimport HelmetNoIndex from '../../shared/components/helmet-no-index';\nimport HelpscoutButton from '../../shared/components/helpscout-button';\n\nimport Login from './components/login';\nimport SSOLogin from './components/sso-login';\nimport Signup from './components/signup';\nimport ResetPassword from './components/reset-password';\nimport ChangePassword from './components/change-password';\nimport AcceptInvitationSignup from './components/invitation-signup';\nimport HelpscoutBeaconEvents from '../../shared/enums/helpscout-beacon-events';\nimport LTDSignup from './components/ltd-signup';\nimport LTDCheckout from './components/ltd-checkout';\nimport AgencyClientLogin from './components/agency-client-login';\n\nimport {\n destroyChatSupport,\n initializeIntercom,\n} from '../../shared/utils/helpscout-handlers';\nimport { openIntercomHome } from '../../shared/utils/open-chat-support';\nimport { isWhiteLabel } from '../../shared/utils/user-details';\nimport { getIsRequestPending } from '../../shared/utils';\nimport { isInternalUrl } from '../../shared/utils/is-internal-url';\nimport ssoCallback from './components/sso-callback';\nimport MFAVerify from './components/mfa-verify';\n\nconst Auth: React.FC = ({\n sendGetAgencyConfigRequest,\n agencyConfig,\n location,\n agencyConfigRequestStatus,\n}) => {\n const agencyConfigPayload = {\n baseUrl: window.location.origin,\n };\n\n useEffect(() => {\n sendGetAgencyConfigRequest(agencyConfigPayload);\n }, []);\n\n useEffect(() => {\n if (\n agencyConfig?.showChatSupport &&\n window.location.pathname?.toLowerCase() !== '/agency/login'\n ) {\n initializeIntercom();\n\n setTimeout(() => {\n const params = new URLSearchParams(location.search);\n const chatOpen = params.get('chatopen');\n if (chatOpen === 'true') {\n openIntercomHome();\n }\n }, 1000);\n }\n\n return () => {\n destroyChatSupport();\n };\n }, [agencyConfig]);\n\n useEffect(() => {\n if (window.Beacon) {\n window.Beacon('event', {\n type: HelpscoutBeaconEvents.PAGE_VIEWED,\n url: document.location.href,\n title: document.title,\n });\n window.Beacon(HelpscoutBeaconEvents.SUGGEST);\n }\n }, [window.Beacon, document.location.href]);\n\n const containerClassName = classNames([\n 'auth',\n {\n 'ltd-container':\n window.location.pathname?.toLowerCase() === '/ltd-signup' ||\n window.location.pathname?.toLowerCase() === '/ltd-checkout',\n },\n ]);\n\n return (\n
    \n \n {/* {agencyConfig?.logo?.favicon !== '' && (\n \n )} */}\n \n \n \n \n \n \n \n \n \n \n \n \n \n\n {agencyConfig?.showChatSupport &&\n (!isWhiteLabel() || isInternalUrl()) &&\n !getIsRequestPending(agencyConfigRequestStatus) && }\n
    \n );\n};\n\nexport default Auth;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps, withRouter } from 'react-router';\nimport { RootState } from '../../store/root-reducer';\nimport { getAgencyConfigRequest } from '../home/extra-actions';\nimport Auth from './auth';\n\nconst mapStateToProps = (state: RootState) => ({\n agencyConfig: state.home?.agencyConfig,\n agencyConfigRequestStatus: state.home?.getAgencyConfigRequest.status,\n});\n\nconst mapDispatchToProps = {\n sendGetAgencyConfigRequest: (agencyConfigPayload: {\n baseUrl: string;\n email?: string;\n }) => getAgencyConfigRequest(agencyConfigPayload),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps &\n RouteComponentProps;\n\nexport default withRouter(connector(Auth));\n","import React from 'react';\nimport { Cross } from '@saleshandy/icons';\nimport { Modal as ReactBootstrapModal } from 'react-bootstrap';\nimport classNames from 'classnames';\n\nimport Button from '../button';\n\nconst { Header, Title, Body, Footer } = ReactBootstrapModal;\n\ntype IProps = {\n show: boolean;\n className?: string;\n title: React.ReactNode;\n onHide: VoidFunction;\n variant?: 'border' | 'with-divider';\n showCloseButton?: boolean;\n\n primaryBtnIcon?: React.FC;\n primaryBtnIconPlacement?: 'left' | 'right';\n\n primaryBtnLabel?: string;\n secondaryBtnLabel?: string;\n\n primaryBtnDisabled?: boolean;\n secondaryBtnDisabled?: boolean;\n\n primaryBtnLoading?: boolean;\n secondaryBtnLoading?: boolean;\n\n primaryBtnClassName?: string;\n secondaryBtnClassName?: string;\n\n primaryBtnClickedHandler?: VoidFunction;\n secondaryBtnClickedHandler?: VoidFunction;\n\n hideFooter?: boolean;\n footer?: React.ReactNode;\n};\n\nconst Modal: React.FC = ({\n show,\n className = '',\n title = '',\n onHide,\n variant = 'with-divider',\n showCloseButton = false,\n primaryBtnIcon,\n primaryBtnIconPlacement = 'right',\n primaryBtnLabel = 'Save',\n secondaryBtnLabel = 'Cancel',\n primaryBtnDisabled = false,\n secondaryBtnDisabled = false,\n primaryBtnLoading = false,\n secondaryBtnLoading = false,\n primaryBtnClassName = '',\n secondaryBtnClassName = 'cancel-btn',\n primaryBtnClickedHandler,\n secondaryBtnClickedHandler,\n children,\n hideFooter = false,\n footer,\n}) => {\n const modalHeaderClassNames = classNames([\n 'shd-modal--header',\n {\n 'd-flex justify-content-between align-items-center': showCloseButton,\n },\n ]);\n\n return (\n \n
    \n {title}\n {showCloseButton && (\n \n \n \n )}\n
    \n\n {children}\n\n {variant === 'with-divider' &&
    }\n\n {!hideFooter && (\n
    \n {footer &&
    {footer}
    }\n\n
    \n \n {secondaryBtnLabel}\n \n \n {primaryBtnLabel}\n \n
    \n
    \n )}\n \n );\n};\n\nexport default Modal;\n","export { default } from './restriction-error-modal';\n","export * from './raw-tooltip';\nexport * from './tooltip';\nexport * from './overlay-tooltip';\n","import React, { useState } from 'react';\nimport { Overlay, OverlayProps } from '../overlay';\nimport { Tooltip, TooltipProps } from './tooltip';\nimport { Placement, TriggerType } from '../enums';\nimport { generateTooltipId } from '../helpers';\n\ntype OverlayTooltipProps = Omit &\n Partial> &\n Pick;\n\nexport const OverlayTooltip: React.FC = ({\n id: _id,\n placement,\n text,\n rePositionOnChange,\n className,\n children,\n ...rest\n}) => {\n const [id] = useState(_id || generateTooltipId());\n\n const tooltip = (\n \n );\n return (\n \n {children}\n \n );\n};\n\nOverlayTooltip.defaultProps = {\n placement: Placement.Bottom,\n};\n","import { loadStripe } from '@stripe/stripe-js';\nimport api from '../../../api';\n\ntype IProps = {\n response: any;\n apiEndPoint?: string;\n uuid?: string;\n};\n\n// eslint-disable-next-line import/prefer-default-export\nexport const handle3dSecureCardPayment = async (body: IProps) => {\n const { response, apiEndPoint, uuid } = body;\n\n let isError = false;\n let serverResponse = null;\n\n const stripePromise = await loadStripe(process.env.REACT_APP_STRIPE_KEY);\n\n // Use Stripe.js to handle the required card action\n const {\n error: errorAction,\n paymentIntent,\n } = await stripePromise.confirmCardPayment(\n response.payment_intent_client_secret,\n );\n\n if (errorAction) {\n isError = true;\n } else {\n // The card action has been handled\n // The PaymentIntent can be confirmed again on the server\n if (apiEndPoint) {\n const res = await api.post(apiEndPoint, {\n paymentIntentId: paymentIntent.id,\n uuid,\n });\n\n serverResponse = res;\n }\n return { isError, serverResponse };\n }\n return { isError };\n};\n","export { default } from './custom-spinner';\n","import { isEmpty } from 'lodash';\nimport {\n ContactStatusType,\n ContactTotal,\n ProspectOutcome,\n ProspectOutcomeDisplayName,\n} from '../../../../../../enums';\nimport { areFiltersApplied } from '../../../../../../../prospect/helpers/prospect-filters-resolver';\nimport { OutcomeSentiment } from '../../../../../../../settings/enums/custom-outcome';\nimport { ProspectsFilters } from '../../../../../../../../shared/types/prospects-filters';\nimport toaster, { Theme } from '../../../../../../../../shared/toaster';\nimport { SelectAllContacts } from '../../../../../../../prospect/types';\n\nexport const getSearchValue = (handleClearSearchParam, searchValue): string =>\n handleClearSearchParam ? searchValue : '';\n\nexport const updateListRequestAfterBulkActionHandler = ({\n contactsPagination,\n calledFrom,\n BulkAction,\n successCount,\n mappedContactList,\n selectedContacts,\n requestOptions,\n sequenceId,\n searchValue,\n selectedStatus,\n changePagination,\n resetSelectedContacts,\n prospectFilterPayloadCreator,\n sendGetContactStatusCountRequest,\n sendGetSequenceContactListRequest,\n sendGetTagsRequest,\n}) => {\n let { pageNum } = contactsPagination;\n\n if (\n calledFrom === BulkAction.RemoveFromSequence ||\n (calledFrom === BulkAction.AddToSequence &&\n successCount === mappedContactList.length)\n ) {\n pageNum =\n mappedContactList.length === selectedContacts.length && pageNum !== 0\n ? contactsPagination.pageNum - 1\n : 0;\n changePagination({ ...contactsPagination, pageNum });\n }\n\n if (calledFrom === BulkAction.AddToSequence) {\n resetSelectedContacts();\n }\n\n if (requestOptions.sendGetContactStatusCountRequest) {\n sendGetContactStatusCountRequest(\n sequenceId,\n prospectFilterPayloadCreator({\n pageNum,\n pageSize: contactsPagination.pageSize,\n searchValue,\n selectedStatus: null,\n }),\n );\n }\n\n if (requestOptions.sendGetSequenceContactListRequest) {\n sendGetSequenceContactListRequest(\n sequenceId,\n prospectFilterPayloadCreator({\n pageNum,\n pageSize: contactsPagination.pageSize,\n searchValue,\n selectedStatus,\n }),\n );\n }\n\n if (requestOptions.sendGetTagsRequest) {\n sendGetTagsRequest();\n }\n};\n\nexport const onSelectedSequenceIdMatched = ({\n selectedSequenceId,\n sequenceId,\n setResetSelected,\n}) => {\n if (selectedSequenceId.toString() === sequenceId) {\n setResetSelected(true);\n }\n};\n\nexport const getProspectName = ({ firstName, lastName }): string =>\n `${firstName || ''} ${lastName || ''}`;\n\nexport const getIsEmptyList = ({\n isRequestPending,\n currentSequenceStep,\n searchValue,\n sequenceProspectsFilters,\n contactList,\n selectedStatus,\n isSomeStatusSelected,\n}): boolean =>\n isEmpty(currentSequenceStep) ||\n (searchValue === null &&\n !areFiltersApplied(sequenceProspectsFilters) &&\n isEmpty(contactList) &&\n !isRequestPending &&\n selectedStatus === ContactTotal.TOTAL &&\n !isSomeStatusSelected);\n\nexport const getFilterGadgetClassNameFromId = ({\n id,\n selectedStepFilterId,\n}): string =>\n id === selectedStepFilterId ? 'active-step-filter' : 'inactive-step-filter';\n\nconst flattenTypes = (arr) =>\n arr.reduce((acc, item) => {\n // If the item has a dropdown segment, add the types from segmentOptions\n if (item.isDropDownSegment) {\n acc.push(...item.segmentOptions.map((segment) => segment.type));\n }\n\n return acc;\n }, []);\n\nexport const getFilterGadgetClassNameFromType = ({\n type,\n selectedStatus,\n filter,\n}): string => {\n const filterTypes = flattenTypes(filter);\n\n if (\n type === selectedStatus ||\n (filterTypes.includes(selectedStatus) && filterTypes.includes(type))\n ) {\n return 'active-status-filter';\n }\n\n return 'inactive-status-filter';\n};\n\nexport const getFilterGadgetColorFromType = ({\n type,\n selectedStatus,\n countColor,\n}): string => (type === selectedStatus ? null : countColor);\n\nexport const executeOnRequestError = (error, handler) => {\n if (error) {\n handler();\n }\n};\n\nexport const checkIsFilterApplied = (sequenceProspectsFilters): boolean => {\n let isFilterApplied = false;\n\n Object.keys(sequenceProspectsFilters).forEach((key) => {\n if (sequenceProspectsFilters[key].length > 0) {\n if (key === 'status') {\n const filterApplied = sequenceProspectsFilters[key].find(\n (item) => !item?.isHeaderFilter,\n );\n\n if (filterApplied) {\n isFilterApplied = true;\n }\n } else {\n isFilterApplied = true;\n }\n }\n });\n\n return isFilterApplied;\n};\n\nexport const handleMarkAsPaused = ({\n selectedContacts,\n pauseDelayInDays,\n changeStatusOfContacts,\n}) => {\n const contactAndStepIds = selectedContacts?.map((item) => ({\n contactId: item.id,\n stepId: item.stepId,\n }));\n\n if (pauseDelayInDays) {\n changeStatusOfContacts(\n ContactStatusType.Paused,\n contactAndStepIds,\n pauseDelayInDays,\n );\n } else {\n changeStatusOfContacts(ContactStatusType.Paused, contactAndStepIds);\n }\n};\n\nexport const handleViewActionStatModal = (\n pauseResumeResultCount,\n setShowActionStatModal,\n) => {\n if (\n pauseResumeResultCount &&\n (pauseResumeResultCount.success || pauseResumeResultCount.failed)\n ) {\n setShowActionStatModal(true);\n }\n};\n\nexport const getProspectOutcomeOptions = [\n {\n id: 2,\n key: ProspectOutcome.Interested,\n value: ProspectOutcomeDisplayName.Interested,\n backgroundColor: '#F5F3FF',\n borderColor: '#DDD6FE',\n hoverBackgroundColor: '#EDE9FE',\n hoverBorderColor: '#C4B5FD',\n },\n {\n id: 3,\n key: ProspectOutcome.NotInterested,\n value: ProspectOutcomeDisplayName.NotInterested,\n backgroundColor: '#FFF7ED',\n borderColor: '#FED7AA',\n hoverBackgroundColor: '#FFEDD5',\n hoverBorderColor: '#FDBA74',\n },\n {\n id: 4,\n key: ProspectOutcome.MeetingBooked,\n value: ProspectOutcomeDisplayName.MeetingBooked,\n backgroundColor: '#EFF6FF',\n borderColor: '#BFDBFE',\n hoverBackgroundColor: '#DBEAFE',\n hoverBorderColor: '#93C5FD',\n },\n {\n id: 5,\n key: ProspectOutcome.OutOfOffice,\n value: ProspectOutcomeDisplayName.OutOfOffice,\n backgroundColor: '#ECFEFF',\n borderColor: '#A5F3FC',\n hoverBackgroundColor: '#CFFAFE',\n hoverBorderColor: '#67E8F9',\n },\n {\n id: 6,\n key: ProspectOutcome.Closed,\n value: ProspectOutcomeDisplayName.Closed,\n backgroundColor: '#ECFDF5',\n borderColor: '#A7F3D0',\n hoverBackgroundColor: '#D1FAE5',\n hoverBorderColor: '#6EE7B7',\n },\n {\n id: 7,\n key: ProspectOutcome.NotNow,\n value: ProspectOutcomeDisplayName.NotNow,\n backgroundColor: '#FEF2F2',\n borderColor: '#FECACA',\n hoverBackgroundColor: '#FEE2E2',\n hoverBorderColor: '#FCA5A5',\n },\n {\n id: 8,\n key: ProspectOutcome.DoNotContact,\n value: ProspectOutcomeDisplayName.DoNotContact,\n backgroundColor: '#FEF2F2',\n borderColor: '#FECACA',\n hoverBackgroundColor: '#FEE2E2',\n hoverBorderColor: '#FCA5A5',\n },\n];\n\nexport const getCustomProspectOutcomeOptions = [\n {\n id: 2,\n key: ProspectOutcome.Interested,\n name: ProspectOutcomeDisplayName.Interested,\n bgColor: '#F5F3FF',\n textColor: '#DDD6FE',\n hoverBackgroundColor: '#EDE9FE',\n isDefault: true,\n sentiment: OutcomeSentiment.Positive,\n total: 0,\n emoji: 'emoji',\n },\n {\n id: 3,\n key: ProspectOutcome.NotInterested,\n name: ProspectOutcomeDisplayName.NotInterested,\n bgColor: '#FFF7ED',\n textColor: '#FED7AA',\n hoverBackgroundColor: '#FFEDD5',\n isDefault: true,\n sentiment: OutcomeSentiment.Negative,\n total: 0,\n emoji: 'emoji',\n },\n {\n id: 4,\n key: ProspectOutcome.MeetingBooked,\n name: ProspectOutcomeDisplayName.MeetingBooked,\n bgColor: '#EFF6FF',\n textColor: '#BFDBFE',\n hoverBackgroundColor: '#DBEAFE',\n isDefault: true,\n sentiment: OutcomeSentiment.Positive,\n total: 0,\n emoji: 'emoji',\n },\n {\n id: 5,\n key: ProspectOutcome.OutOfOffice,\n name: ProspectOutcomeDisplayName.OutOfOffice,\n bgColor: '#ECFEFF',\n textColor: '#A5F3FC',\n hoverBackgroundColor: '#CFFAFE',\n isDefault: true,\n sentiment: OutcomeSentiment.Neutral,\n total: 0,\n emoji: 'emoji',\n },\n {\n id: 6,\n key: ProspectOutcome.Closed,\n name: ProspectOutcomeDisplayName.Closed,\n bgColor: '#ECFDF5',\n textColor: '#A7F3D0',\n hoverBackgroundColor: '#D1FAE5',\n isDefault: true,\n sentiment: OutcomeSentiment.Positive,\n total: 0,\n emoji: 'emoji',\n },\n {\n id: 7,\n key: ProspectOutcome.NotNow,\n name: ProspectOutcomeDisplayName.NotNow,\n bgColor: '#FEF2F2',\n textColor: '#FECACA',\n hoverBackgroundColor: '#FEE2E2',\n isDefault: true,\n sentiment: OutcomeSentiment.Neutral,\n total: 0,\n emoji: 'emoji',\n },\n {\n id: 8,\n key: ProspectOutcome.DoNotContact,\n name: ProspectOutcomeDisplayName.DoNotContact,\n bgColor: '#FEF2F2',\n textColor: '#FECACA',\n hoverBackgroundColor: '#FEE2E2',\n isDefault: true,\n sentiment: OutcomeSentiment.Negative,\n total: 0,\n emoji: 'emoji',\n },\n];\n\nexport const setDealValueBannerHideValue = () =>\n localStorage.setItem('is-deal-value-banner-show', 'true');\n\nexport const isDealValueBannerShow = () =>\n localStorage.getItem('is-deal-value-banner-show');\n\nexport const getAppliedSequenceProspectsFilters = (\n sequenceProspectsFilters: ProspectsFilters,\n search: string,\n) => {\n const status = sequenceProspectsFilters?.status?.map(({ id }) => id);\n const tags = sequenceProspectsFilters?.tags?.map(({ id }) => id);\n const owners = sequenceProspectsFilters?.owners?.map(({ id }) => id);\n const outcomes = sequenceProspectsFilters?.outcomes?.map(({ id }) => id);\n const stepIds = sequenceProspectsFilters?.['current step']?.map(\n ({ id }) => id,\n );\n const verification = sequenceProspectsFilters?.['verification status']?.map(\n ({ id }) => id,\n );\n const creationSource = sequenceProspectsFilters?.['creation source']?.map(\n ({ id }) => id,\n );\n const createdDate = sequenceProspectsFilters?.['created date']?.map(\n ({ date }) => date,\n );\n\n return {\n ...(status?.length > 0 && { status }),\n ...(tags?.length > 0 && { tags }),\n ...(owners?.length > 0 && { owners }),\n ...(verification?.length > 0 && { verification }),\n ...(outcomes?.length > 0 && { outcomes }),\n ...(stepIds?.length > 0 && { stepIds }),\n ...(createdDate?.length > 0 && { createdDate }),\n ...(creationSource?.length > 0 && { creationSource }),\n ...(search && { search }),\n };\n};\n\ntype GetBulkSelectedProspectCount = (prospects: SelectAllContacts) => number;\n\nexport const validateSelectedContacts = (\n handler: VoidFunction,\n selectedAllProspects: SelectAllContacts | null,\n selectedContacts: any[],\n getBulkSelectedProspectCount: GetBulkSelectedProspectCount,\n) => {\n const hasBulkSelectedProspects =\n (selectedAllProspects?.isAllProspectsSelected &&\n getBulkSelectedProspectCount(selectedAllProspects) > 0) ||\n selectedContacts.length > 0;\n\n if (hasBulkSelectedProspects) {\n handler();\n } else {\n toaster.error('Please select at least 1 prospect to complete the action', {\n theme: Theme.New,\n });\n }\n};\n","import { ProspectOutcome } from '../../../../../../../enums';\nimport { StatusFilterDetail } from '../../../../../../../types';\nimport {\n getCustomProspectOutcomeOptions,\n getProspectOutcomeOptions,\n} from '../../contact-list-content/helper';\n\nexport const getSelectBgAndBorderColor = (outcome: ProspectOutcome) => {\n let bgColor = '#F9FAFB';\n let borderColor = '#E5E7EB';\n let hoverBackgroundColor = '#F3F4F6';\n let hoverBorderColor = '#D1D5DB';\n\n const getOutcome = getProspectOutcomeOptions.find(\n ({ key }) => key === outcome,\n );\n\n if (getOutcome) {\n bgColor = getOutcome.backgroundColor;\n borderColor = getOutcome.borderColor;\n hoverBackgroundColor = getOutcome.hoverBackgroundColor;\n hoverBorderColor = getOutcome.hoverBorderColor;\n }\n\n return { bgColor, borderColor, hoverBackgroundColor, hoverBorderColor };\n};\n\nexport const getOutcomeFromId = (outcomeId: number) =>\n getProspectOutcomeOptions.find(({ id }) => id === outcomeId);\n\nexport const getOutcomeFromIdOption = (outcomeId: number) =>\n getCustomProspectOutcomeOptions.find(({ id }) => id === outcomeId);\n\nexport const mapOutcomeToOption = (allOutcomes) =>\n allOutcomes.map((outcome) => {\n const option = {\n id: outcome.id,\n key: outcome.id,\n name: outcome.name,\n bgColor: outcome.bgColor,\n textColor: outcome.textColor,\n isDefault: outcome.isDefault,\n sentiment: outcome.sentiment,\n total: outcome?.total || 0,\n emoji: outcome.emoji,\n };\n return option;\n });\n\nexport const getOptionFromOutcome = (allOutcomes, outcomeId) => {\n const outcome = allOutcomes.find(({ id }) => id === outcomeId);\n\n if (!outcome) {\n return null;\n }\n const option = {\n id: outcome.id,\n key: outcome.id,\n name: outcome.name,\n bgColor: outcome.bgColor,\n textColor: outcome.textColor,\n isDefault: outcome.isDefault,\n sentiment: outcome.sentiment,\n total: outcome?.total || 0,\n emoji: outcome.emoji,\n };\n return option;\n};\n\nexport const getWordWidthInRem = (word, fontSizeRem) => {\n const widthInRem = word.length * fontSizeRem;\n\n if (widthInRem > 10.5) {\n return 10;\n }\n if (widthInRem < 7) {\n return 7.5;\n }\n\n return widthInRem;\n};\n\nexport const hasSelectedStatus = (outcome: StatusFilterDetail, selectedStatus: string) => {\n if (outcome?.type === selectedStatus) {\n return true;\n }\n if (outcome.isDropDownSegment && outcome.segmentOptions.length) {\n return outcome.segmentOptions.some(segment => segment?.type === selectedStatus);\n }\n return false;\n}","export const reportConstants = {\n //Headings\n ADD_PROSPECT_HEADING: 'Adding Prospects to Steps Status',\n ADD_PROSPECT_SEQUENCE: 'Adding Prospects to Sequence Report',\n IMPORT_PROSPECT_REPORT: 'Import Prospect Report',\n ADD_PROSPECTS_TO_SEQUENCE_REPORT: 'Add Prospects to Sequence Report',\n\n //Sections\n FAILED_TO_MOVE: 'Failed to move',\n SUCCESSFULLY_MOVED: 'Successfully Moved',\n IMPORTED_SUCCESSFULLY: 'Imported Successfully',\n SKIPPED: 'Skipped',\n};\n","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport {\n loginRequest,\n resendOtpRequest,\n verifyOtpRequest,\n} from './extra-actions';\nimport { MFAChannel } from '../../enums/mfa-channel';\n\ntype RequestState = {\n status: RequestStatus;\n message: string;\n error: any;\n showError?: boolean;\n};\n\ntype State = {\n loginRequest: RequestState;\n verifyOtpRequest: RequestState;\n resendOtpRequest: RequestState;\n\n token: string;\n trackingId: string;\n firstName: string;\n lastName: string;\n email: string;\n mfaChannel: MFAChannel;\n isRedirectedFromAgency: boolean;\n};\n\nconst initialState: State = {\n loginRequest: {\n status: RequestStatus.Ideal,\n message: '',\n error: '',\n showError: false,\n },\n verifyOtpRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n resendOtpRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n token: '',\n trackingId: null,\n firstName: null,\n lastName: null,\n email: null,\n mfaChannel: null,\n isRedirectedFromAgency: false,\n};\n\nconst loginSlice = createSlice({\n name: 'login',\n initialState,\n reducers: {\n hideError: (state) => {\n state.loginRequest.showError = false;\n },\n resetMFAData: (state) => {\n state.email = null;\n state.mfaChannel = null;\n state.verifyOtpRequest = initialState.verifyOtpRequest;\n state.resendOtpRequest = initialState.resendOtpRequest;\n },\n setIsRedirectedFromAgency: (state, action) => {\n state.isRedirectedFromAgency = action.payload;\n },\n },\n extraReducers: (builder) => {\n builder.addCase(loginRequest.pending, (state) => {\n state.loginRequest.status = RequestStatus.Pending;\n state.loginRequest.showError = false;\n });\n builder.addCase(loginRequest.fulfilled, (state, action) => {\n state.loginRequest.status = RequestStatus.Succeeded;\n state.loginRequest.message = action?.payload?.message;\n state.email = action?.payload?.payload?.email;\n if (action?.payload?.payload?.mfaChannel) {\n state.mfaChannel = action.payload.payload.mfaChannel;\n return;\n }\n state.mfaChannel = null;\n state.token = action?.payload?.payload?.accessToken;\n state.trackingId = action?.payload?.payload?.trackingId;\n state.firstName = action?.payload?.payload?.firstName;\n state.lastName = action?.payload?.payload?.lastName;\n });\n builder.addCase(loginRequest.rejected, (state, action) => {\n state.loginRequest.status = RequestStatus.Failed;\n state.loginRequest.error = action.payload;\n state.loginRequest.showError = !action.payload.isHandled;\n });\n\n // Verify OTP\n builder.addCase(verifyOtpRequest.pending, (state) => {\n state.verifyOtpRequest.status = RequestStatus.Pending;\n state.verifyOtpRequest.error = null;\n });\n builder.addCase(verifyOtpRequest.fulfilled, (state, action) => {\n state.verifyOtpRequest.status = RequestStatus.Succeeded;\n state.verifyOtpRequest.message = action?.payload?.message;\n\n state.email = action?.payload?.payload?.email;\n state.token = action?.payload?.payload?.accessToken;\n state.trackingId = action?.payload?.payload?.trackingId;\n state.firstName = action?.payload?.payload?.firstName;\n state.lastName = action?.payload?.payload?.lastName;\n });\n builder.addCase(verifyOtpRequest.rejected, (state, action) => {\n state.verifyOtpRequest.status = RequestStatus.Failed;\n state.verifyOtpRequest.error = action.payload;\n });\n\n // Resend OTP\n builder.addCase(resendOtpRequest.pending, (state) => {\n state.resendOtpRequest.status = RequestStatus.Pending;\n state.resendOtpRequest.error = null;\n });\n builder.addCase(resendOtpRequest.fulfilled, (state, action) => {\n state.resendOtpRequest.status = RequestStatus.Succeeded;\n state.resendOtpRequest.message = action.payload.message;\n });\n builder.addCase(resendOtpRequest.rejected, (state, action) => {\n state.resendOtpRequest.status = RequestStatus.Failed;\n state.resendOtpRequest.error =\n !action.payload.isHandled && action.payload;\n });\n },\n});\n\nexport const {\n hideError,\n resetMFAData,\n setIsRedirectedFromAgency,\n} = loginSlice.actions;\nexport { loginRequest };\nexport default loginSlice.reducer;\n","import { BillingOption } from '../../../../../../../shared/utils/billing-options';\nimport {\n getIsRequestIdeal,\n getIsRequestPending,\n} from '../../../../../../../shared/utils/get-request-status';\nimport {\n PlanType,\n SubscriptionPlanModes,\n SubscriptionPlans,\n} from '../../../../../../../shared/utils/subscription-plans';\nimport { GetAccountSubscriptionResponse } from '../../../types';\nimport { ModifySubscriptionSteps } from '../types';\nimport { isValueBasedPlan } from '../../outreach-plans/utils/helper';\nimport {\n checkIsSubscriptionPausedOrCancelled,\n checkIsUserPlan,\n} from '../../../../../../../shared/design-system/components/molecules/subscription-plan-details/helper/helper';\n\nexport const billingOptions = [\n { label: 'Monthly', value: BillingOption.MONTHLY },\n { label: 'Annually', value: BillingOption.ANNUALLY },\n];\n\nexport const getHighlightMessage = (planCycle) =>\n planCycle === BillingOption.MONTHLY\n ? 'monthly_outreach_highlight_message'\n : 'yearly_outreach_highlight_message';\n\nexport const gePlanCycleBasedOnPlanType = (planCode, planMode) => {\n if (\n planCode === SubscriptionPlans.EMAIL_OUTREACH_LIFETIME ||\n planCode === SubscriptionPlans.EMAIL_OUTREACH_PRO_LIFETIME\n ) {\n return BillingOption.LIFETIME;\n }\n\n if (planMode === SubscriptionPlanModes.MonthlyMode) {\n return BillingOption.MONTHLY;\n }\n\n if (planMode === SubscriptionPlanModes.YearlyMode) {\n return BillingOption.ANNUALLY;\n }\n\n return BillingOption.ANNUALLY;\n};\n\nexport const getDisabledLabel = (\n sendGetAccountSubscriptionResponse: GetAccountSubscriptionResponse,\n) => {\n if (\n sendGetAccountSubscriptionResponse?.planMode ===\n SubscriptionPlanModes.YearlyMode\n ) {\n return 'Monthly';\n }\n\n return null;\n};\n\nexport const getDisabledTab = (\n planCode: SubscriptionPlans,\n planType: PlanType,\n): ModifySubscriptionSteps => {\n if (\n planCode === SubscriptionPlans.PAID_MONTHLY ||\n planCode === SubscriptionPlans.PAID_YEARLY ||\n planCode === SubscriptionPlans.EMAIL_OUTREACH_PRO_LIFETIME ||\n checkIsUserPlan(planType)\n ) {\n return ModifySubscriptionSteps.SelectPlan;\n }\n\n if (\n planCode === SubscriptionPlans.FREE ||\n planCode === SubscriptionPlans.TRIAL\n ) {\n return ModifySubscriptionSteps.SelectSlots;\n }\n\n return null;\n};\n\nexport const getPlanName = (planCycle, planName, planCode = null) => {\n if (planCycle === BillingOption.ANNUALLY && planName) {\n return planName.replace('(Yearly)', '');\n }\n if (planCycle === BillingOption.MONTHLY && planName) {\n return planName.replace('(Monthly)', '');\n }\n\n if (planCycle === BillingOption.LIFETIME && planName) {\n if (\n planCode &&\n planCode === SubscriptionPlans.EMAIL_OUTREACH_PRO_LIFETIME\n ) {\n return 'Outreach';\n }\n return planName;\n }\n\n return planName;\n};\n\nexport const isBillingAndSubscriptionPageReady = ({\n sendGetLeadFinderSubscriptionRequestStatus,\n sendGetLeadFinderPlansRequestStatus,\n sendGetLeadFinderSubscriptionResponse,\n selectedPlanDetails,\n}) =>\n getIsRequestPending(sendGetLeadFinderSubscriptionRequestStatus) ||\n getIsRequestIdeal(sendGetLeadFinderSubscriptionRequestStatus) ||\n getIsRequestPending(sendGetLeadFinderPlansRequestStatus) ||\n getIsRequestIdeal(sendGetLeadFinderPlansRequestStatus) ||\n !sendGetLeadFinderSubscriptionResponse ||\n !selectedPlanDetails;\n\nexport const isLeadFinderColdEmailPlanBannerShow = (currentPlan) =>\n currentPlan === SubscriptionPlans.LEAD_FINDER_FREE ||\n currentPlan === SubscriptionPlans.LEAD_FINDER_TRIAL;\n\nexport const isLeadFinderValueBasedPlanVisible = (\n planCode,\n planType,\n leadFinderSubscriptionPlanStatus,\n) =>\n isValueBasedPlan(planType) ||\n planCode === SubscriptionPlans.LEAD_FINDER_FREE ||\n planCode === SubscriptionPlans.LEAD_FINDER_TRIAL ||\n checkIsSubscriptionPausedOrCancelled(leadFinderSubscriptionPlanStatus);\n","/* eslint-disable no-param-reassign */\nimport { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../shared/enums/request-status';\nimport {\n Sequence,\n GetSequencesQueryParams,\n SequenceStep,\n ContactsPagination,\n ContactRequestResponse,\n StepFilterResponse,\n SequenceStats,\n VariantStats,\n SequenceConfig,\n ContactStatusFilter,\n ImportCSVReport,\n AttachmentUploadResponse,\n SelectedProspectData,\n SequenceScoreType,\n GetLinkedEmailAccountsResponse,\n GetAllNotLinkedEmailAccountsResponse,\n GetSenderEmailsResponse,\n SequenceStatsCounts,\n} from './types';\nimport { SequenceSettingCode, SequenceSortBy } from './enums';\nimport {\n createSequenceRequest,\n getSequenceRequest,\n getSequencesRequest,\n pauseResumeSequenceRequest,\n renameSequenceRequest,\n cloneSequenceRequest,\n deleteSequenceRequest,\n deleteSequencesRequest,\n addSequenceStepRequest,\n updateSequenceStepExecutionDayRequest,\n updateSequenceStepRequest,\n deleteSequenceStepRequest,\n cloneSequenceStepVariantRequest,\n addSequenceStepVariantRequest,\n updateSequenceStepVariantDataRequest,\n updateSequenceStepVariantStatusRequest,\n deleteSequenceStepVariantRequest,\n updateSequenceSettingsRequest,\n getContactFieldsRequest,\n getSequenceStepsRequest,\n addContactsFromCSVRequest,\n getSchedulesRequest,\n getConnectedEmailsRequest,\n getContactStatusCountRequest,\n getSequenceContactListRequest,\n changeStatusOfContacts,\n getContactSequenceListRequest,\n getContactSequenceStepListRequest,\n addContactsToStepRequest,\n removeContactFromSequenceRequest,\n addToStepModalRequest,\n getProspectCountRequestModal,\n getProspectRequestModal,\n finishOnboardingRequest,\n getAdminSettingsRequest,\n getSequencesStatsRequest,\n sequenceSendEmailStatus,\n getSequenceStatsRequest,\n getSequenceConfigRequest,\n getSequencePriorityConfigRequest,\n updateSequencePriorityConfigRequest,\n createSampleStepsRequest,\n addSampleProspectsToStepRequest,\n getMyTemplateRequest,\n getTeamTemplateRequest,\n getEmailStatusOfStepRequest,\n getEmailStepOfStatusRequest,\n getEmailListRequest,\n getCustomDomainsRequest,\n getSequenceProspectVerificationStatsRequest,\n sendSequenceProspectVerifyStartRequest,\n uploadAttachmentRequest,\n deleteAttachmentRequest,\n getSentEmailPreviewRequest,\n getSequenceScoreRequest,\n createEmailWritingFactorsRequest,\n getLinkedEmailAccountsRequest,\n linkEmailToSequenceRequest,\n getAllNotLinkedEmailAccountsRequest,\n removeConnectedEMailAccountRequest,\n getNotLinkedEmailAccountsCountRequest,\n getSenderEmailsRequest,\n onOutcomeChangeRequest,\n getTaskAssigneeListRequest,\n bulkPauseSequenceRequest,\n bulkResumeSequenceRequest,\n changeEmailStatusRequest,\n getAllConnectedEmailAccountsRequest,\n getSequenceTimezoneRequest,\n sequenceProspectBulkStatusUpdateRequest,\n sequenceProspectBulkTagAssignRequest,\n sequenceProspectBulkTagUnAssignRequest,\n sequenceProspectBulkAddToSequenceRequest,\n sequenceProspectBulkRemoveFromSequenceRequest,\n getSequenceStatsCountsRequest,\n getEspMatchingDetailsRequest,\n getAIGeneratedEmailVariantRequest,\n getSequenceProspectStepStatesRequest,\n getSequenceEmailAccountStatesRequest,\n} from './extra-actions';\nimport { Order } from '../../shared/enums/order';\nimport { ResponseErrorWithHandled } from '../../shared/types';\nimport { Field } from '../settings/types/field';\nimport { Schedule } from '../settings/types/schedule';\nimport { EmailAccount } from '../email-accounts/types/email-account';\nimport { Template, TemplateMeta } from './shared/modals/template-modal/types';\nimport { EmailStatus, Mail } from './types/emails';\nimport { constants } from '../../shared/enums/constants';\nimport {\n ProspectFilterResetArg,\n ProspectsFilters,\n SequenceEmailsFilterResetArg,\n} from '../../shared/types/prospects-filters';\nimport { CustomDomainWithEmailAccountType } from '../settings/types/custom-domain';\nimport {\n SequenceProspectsVerificationStatsResponse,\n SequenceProspectsVerifyStartResponse,\n} from './types/sequence-prospect-verification-stats';\nimport { SentEmailPreview } from '../../shared/components/email-preview-modal/type';\nimport {\n getSingleProspectDetailsRequest,\n getSingleProspectSequencesDetailsRequest,\n} from '../prospect/extra-actions';\nimport { EmailFilter } from './components/sequence-single-content/components/sequence-single-emails/components/email-filter-modal/types';\nimport { SelectAllContacts } from '../prospect/types';\nimport { ESPDetails } from './types/esp-matching-details';\nimport { AiGeneratedVariantDetails } from './type';\n\ntype RequestState = {\n status: RequestStatus;\n message: string;\n error: ResponseErrorWithHandled;\n};\n\nexport type EmailListResponse = {\n emails: {\n bounced: {\n status: boolean;\n reason?: string;\n manual: boolean;\n };\n count: {\n clicked: number;\n replied: number;\n opened: number;\n sent: number;\n };\n contact: {\n name: string;\n email: string;\n id: number;\n };\n id: number;\n subject: string;\n stepNumber: number;\n time: {\n value: Date;\n type: Mail;\n };\n activity: {\n sentAt: Date;\n openedAt: Date;\n clickedAt: Date;\n repliedAt: Date;\n bouncedAt: Date;\n };\n emailAccountId: {\n emailAccountId: number;\n fromEmail: string;\n fromName: string;\n };\n variantId: number;\n variantNumber: number;\n }[];\n timeZone: string;\n currentPage: number;\n totalCount: number;\n hasEmails: boolean;\n isQueued: boolean;\n isSkipped?: boolean;\n};\n\nexport const prospectsFiltersInitialState: ProspectsFilters = {\n conversationType: [],\n tags: [],\n owners: [],\n status: [],\n outcomes: [],\n sequences: [],\n 'verification status': [],\n 'task priority': [],\n 'created date': [],\n 'creation source': [],\n 'current step': [],\n 'email account': [],\n 'client associated': [],\n 'imported file': [],\n};\n\nexport const sequenceEmailsFiltersInitialState: EmailFilter = {\n emailAccountIds: [],\n variantNumbers: [],\n sentAt: [],\n};\n\nexport const aiGeneratedVariantDetailsState: AiGeneratedVariantDetails = {\n subject: null,\n content: null,\n sequenceStepVariantAttachments: [],\n};\n\ntype State = {\n createSequenceRequest: RequestState;\n getSequenceRequest: RequestState;\n getSequencesRequest: RequestState;\n getSequenceStatsRequest: RequestState;\n getSequencesStatsRequest: RequestState;\n renameSequenceRequest: RequestState;\n pauseResumeSequenceRequest: RequestState;\n cloneSequenceRequest: RequestState;\n getAIGeneratedEmailVariantRequest: RequestState;\n deleteSequenceRequest: RequestState;\n deleteSequencesRequest: RequestState;\n addSequenceStepRequest: RequestState;\n createSampleStepsRequest: RequestState;\n updateSequenceStepExecutionDayRequest: RequestState;\n updateSequenceStepRequest: RequestState;\n deleteSequenceStepRequest: RequestState;\n cloneSequenceStepVariantRequest: RequestState;\n addSequenceStepVariantRequest: RequestState;\n updateSequenceStepVariantDataRequest: RequestState;\n updateSequenceStepVariantStatusRequest: RequestState;\n deleteSequenceStepVariantRequest: RequestState;\n updateSequenceSettingsRequest: RequestState;\n getContactFieldsRequest: RequestState;\n getSequenceStepsRequest: RequestState;\n addContactsFromCSVRequest: RequestState;\n getSchedulesRequest: RequestState;\n getConnectedEmailsRequest: RequestState;\n getContactStatusCountRequest: RequestState;\n getSequenceContactListRequest: RequestState;\n changeStatusOfContacts: RequestState;\n getContactSequenceListRequest: RequestState;\n removeContactFromSequenceRequest: RequestState;\n getContactSequenceStepListRequest: RequestState;\n addContactsToStepRequest: RequestState;\n addSampleProspectsToStepRequest: RequestState;\n getProspectRequest: RequestState;\n getProspectCountRequest: RequestState;\n addToStepRequest: RequestState;\n finishOnboardingRequest: RequestState;\n getAdminSettings: RequestState;\n getSequenceEmailSendRequest: RequestState;\n getSequenceConfigRequest: RequestState;\n getSequencePriorityConfigRequest: RequestState;\n updateSequencePriorityConfigRequest: RequestState;\n getMyTemplateRequest: RequestState;\n getTeamTemplateRequest: RequestState;\n getEmailStatusOfStepRequest: RequestState;\n getEmailStepOfStatusRequest: RequestState;\n getEmailListRequest: RequestState;\n getCustomDomainsRequest: RequestState;\n getSequenceProspectVerificationStatsRequest: RequestState;\n sendSequenceProspectVerifyStartRequest: RequestState;\n uploadAttachmentRequest: RequestState;\n deleteAttachmentRequest: RequestState;\n getSentEmailPreviewRequest: RequestState;\n getSingleProspectDetailsRequest: RequestState;\n getSingleProspectSequencesDetailsRequest: RequestState;\n getSequenceScoreRequest: RequestState;\n createEmailWritingFactorsRequest: RequestState;\n getLinkedEmailAccountsRequest: RequestState;\n linkEmailToSequenceRequest: RequestState;\n getAllNotLinkedEmailAccountsRequest: RequestState;\n removeConnectedEMailAccountRequest: RequestState;\n getNotLinkedEmailAccountsCountRequest: RequestState;\n getSenderEmailsRequest: RequestState;\n onOutcomeChangeRequest: RequestState;\n getTaskAssigneeListRequest: RequestState;\n bulkPauseSequenceRequest: RequestState;\n bulkResumeSequenceRequest: RequestState;\n changeEmailStatusRequest: RequestState;\n getAllConnectedEmailAccountsRequest: RequestState;\n getSequenceTimezoneRequest: {\n [id: number]: RequestState;\n };\n getSequenceTimezoneResponse: {\n [id: number]: string;\n };\n sequenceProspectBulkStatusUpdateRequest: RequestState;\n sequenceProspectBulkTagAssignRequest: RequestState;\n sequenceProspectBulkTagUnAssignRequest: RequestState;\n sequenceProspectBulkAddToSequenceRequest: RequestState;\n sequenceProspectBulkRemoveFromSequenceRequest: RequestState;\n getSequenceStatsCountsRequest: RequestState;\n getSequenceProspectStepStatesRequest: RequestState;\n getSequenceEmailAccountStatesRequest: RequestState;\n uploadedAttachment: AttachmentUploadResponse;\n deletedAttachmentId: number;\n pagination: {\n options: Required;\n pagesCount: number;\n count: number;\n };\n contactPagination: ContactsPagination;\n schedules: Schedule[];\n connectedEmails: EmailAccount[];\n totalSequences: number;\n totalSelectedSequences: number;\n sequenceStats: VariantStats[];\n sequencesStats: SequenceStats[];\n sequences: Sequence[];\n sequence: Sequence;\n createdSequenceId: number;\n selectedSequence: any;\n contactFields: Field[];\n steps: SequenceStep[];\n importCSVReport: ImportCSVReport;\n contacts: ContactRequestResponse[];\n contactStepFilterCount: StepFilterResponse;\n contactStatusFilterCount: ContactStatusFilter;\n selectedContacts: any[];\n contactSequence: any[];\n contactStep: any[];\n addToSequenceResultCount: {\n failed: number;\n successful: number;\n resultData: any;\n };\n addToSequenceResultFromModalCount: {\n failed: number;\n successful: number;\n resultData: any;\n };\n pauseResumeResultCount: {\n failed: number;\n success: number;\n };\n prospects: any[];\n prospectCount: number;\n adminSettings: any[];\n isSequenceMailSending: boolean;\n sequenceConfig: SequenceConfig;\n myTemplates: Template[];\n myTemplatesMeta: TemplateMeta;\n teamTemplates: Template[];\n teamTemplatesMeta: TemplateMeta;\n emailStatusOfStep: {\n total: number;\n status: {\n type: EmailStatus;\n count: number;\n }[];\n isSkipped?: boolean;\n };\n emailStepOfStatus: {\n total: number;\n steps: {\n id: number;\n number: number;\n count: number;\n }[];\n };\n emailList: EmailListResponse;\n sequenceProspectsFilters: ProspectsFilters;\n customDomains: CustomDomainWithEmailAccountType[];\n sequenceProspectsVerificationStatsResponse: SequenceProspectsVerificationStatsResponse;\n sequenceProspectsVerifyStartResponse: SequenceProspectsVerifyStartResponse;\n sentEmailPreview: SentEmailPreview;\n\n selectedProspectId: number;\n selectedProspectData: SelectedProspectData;\n selectedProspectSequences: any[];\n createEmailWritingScoreForStepOne: boolean;\n sequenceScore: SequenceScoreType;\n getLinkedEmailAccountsResponse: GetLinkedEmailAccountsResponse;\n getAllNotLinkedEmailAccountsResponse: GetAllNotLinkedEmailAccountsResponse;\n getNotLinkedEmailAccountsCountResponse: any;\n getSenderEmailsResponse: GetSenderEmailsResponse[];\n sequenceEmailsFilters: EmailFilter;\n taskAssigneeList: any;\n updatedSteps: any;\n sequenceActionStats: {\n success: number;\n failed: number;\n };\n lastAbsoluteDay: number;\n allConnectedEmailAccounts: any[];\n selectAllContactDetails: SelectAllContacts;\n sequenceStatsCounts: SequenceStatsCounts;\n isSequenceCreatedFromOnboarding: boolean;\n isStepsGuideVisible: boolean;\n getEspMatchingDetailsRequest: RequestState;\n espMatchingDetails: ESPDetails | null;\n isAiGeneratedVariant: boolean;\n aiGeneratedVariantDetails: AiGeneratedVariantDetails;\n isAiVariantDisabled: boolean;\n sequenceStepsStates: any[];\n sequenceEmailAccStates: any[];\n};\n\nconst initialState: State = {\n createSequenceRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getSequenceRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getSequencesRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getSequenceStatsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getSequencesStatsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n renameSequenceRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n pauseResumeSequenceRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n cloneSequenceRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getAIGeneratedEmailVariantRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n deleteSequenceRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getAdminSettings: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n deleteSequencesRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n addSequenceStepRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n createSampleStepsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateSequenceStepExecutionDayRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateSequenceStepRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n deleteSequenceStepRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n cloneSequenceStepVariantRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n addSequenceStepVariantRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateSequenceStepVariantDataRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateSequenceStepVariantStatusRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n deleteSequenceStepVariantRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateSequenceSettingsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getContactFieldsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getSequenceStepsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n addContactsFromCSVRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getSchedulesRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getConnectedEmailsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getContactStatusCountRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getSequenceContactListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getContactSequenceListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getContactSequenceStepListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n changeStatusOfContacts: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n addContactsToStepRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n addSampleProspectsToStepRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n removeContactFromSequenceRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getProspectCountRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n addToStepRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getProspectRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getSequenceEmailSendRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n finishOnboardingRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getSequenceConfigRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getSequencePriorityConfigRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateSequencePriorityConfigRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getMyTemplateRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getTeamTemplateRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getEmailListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getEmailStatusOfStepRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getEmailStepOfStatusRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getCustomDomainsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getSequenceProspectVerificationStatsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n sendSequenceProspectVerifyStartRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n uploadAttachmentRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n deleteAttachmentRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getSentEmailPreviewRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getSingleProspectDetailsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getSingleProspectSequencesDetailsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getSequenceScoreRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n createEmailWritingFactorsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getLinkedEmailAccountsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n linkEmailToSequenceRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getAllNotLinkedEmailAccountsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n removeConnectedEMailAccountRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getNotLinkedEmailAccountsCountRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getSenderEmailsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n onOutcomeChangeRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getTaskAssigneeListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n bulkPauseSequenceRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n bulkResumeSequenceRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n changeEmailStatusRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getAllConnectedEmailAccountsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getSequenceTimezoneRequest: {},\n getSequenceTimezoneResponse: {},\n sequenceProspectBulkStatusUpdateRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n sequenceProspectBulkTagAssignRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n sequenceProspectBulkTagUnAssignRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n sequenceProspectBulkAddToSequenceRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n sequenceProspectBulkRemoveFromSequenceRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getSequenceStatsCountsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getSequenceProspectStepStatesRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getSequenceEmailAccountStatesRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n uploadedAttachment: null,\n deletedAttachmentId: null,\n customDomains: [],\n myTemplates: [],\n myTemplatesMeta: null,\n teamTemplates: [],\n teamTemplatesMeta: null,\n pagination: {\n options: {\n page: 1,\n limit: constants.DEFAULT_PAGE_SIZE,\n sortBy: SequenceSortBy.CreatedAt,\n order: Order.Desc,\n progress: null,\n search: '',\n owners: '',\n clients: '',\n },\n count: 0,\n pagesCount: 0,\n },\n contactPagination: {\n pageNum: constants.DEFAULT_PAGE_NUM,\n pageSize: constants.DEFAULT_PAGE_SIZE,\n },\n totalSequences: 0,\n totalSelectedSequences: 0,\n sequenceStats: [],\n sequencesStats: [],\n sequences: [],\n sequence: null,\n schedules: [],\n connectedEmails: [],\n createdSequenceId: null,\n selectedSequence: [],\n contactFields: [],\n steps: [],\n importCSVReport: null,\n contacts: null,\n contactStatusFilterCount: null,\n contactStepFilterCount: {\n stepNumberWithCount: [],\n totalContacts: null,\n },\n selectedContacts: [],\n contactSequence: [],\n contactStep: [],\n addToSequenceResultCount: {\n failed: 0,\n successful: 0,\n resultData: null,\n },\n addToSequenceResultFromModalCount: {\n failed: 0,\n successful: 0,\n resultData: null,\n },\n pauseResumeResultCount: {\n failed: 0,\n success: 0,\n },\n prospectCount: 0,\n prospects: [],\n adminSettings: [],\n isSequenceMailSending: null,\n sequenceConfig: null,\n emailList: null,\n emailStatusOfStep: null,\n emailStepOfStatus: null,\n sequenceProspectsFilters: prospectsFiltersInitialState,\n sequenceProspectsVerificationStatsResponse: null,\n sequenceProspectsVerifyStartResponse: null,\n sentEmailPreview: null,\n\n selectedProspectId: null,\n selectedProspectData: null,\n selectedProspectSequences: [],\n createEmailWritingScoreForStepOne: false,\n sequenceScore: null,\n getLinkedEmailAccountsResponse: null,\n getAllNotLinkedEmailAccountsResponse: null,\n getNotLinkedEmailAccountsCountResponse: null,\n getSenderEmailsResponse: null,\n sequenceEmailsFilters: sequenceEmailsFiltersInitialState,\n taskAssigneeList: null,\n updatedSteps: null,\n sequenceActionStats: {\n success: 0,\n failed: 0,\n },\n lastAbsoluteDay: null,\n allConnectedEmailAccounts: [],\n selectAllContactDetails: null,\n sequenceStatsCounts: null,\n isSequenceCreatedFromOnboarding: false,\n isStepsGuideVisible: true,\n getEspMatchingDetailsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n espMatchingDetails: null,\n isAiGeneratedVariant: false,\n aiGeneratedVariantDetails: aiGeneratedVariantDetailsState,\n isAiVariantDisabled: false,\n sequenceStepsStates: [],\n sequenceEmailAccStates: [],\n};\n\nconst sequenceSlice = createSlice({\n name: 'sequence',\n initialState,\n reducers: {\n resetPauseResumeSequenceState: (state) => {\n state.pauseResumeSequenceRequest =\n initialState.pauseResumeSequenceRequest;\n state.renameSequenceRequest = initialState.renameSequenceRequest;\n },\n resetPaginationOptions: (state) => {\n state.pagination.options = initialState.pagination.options;\n },\n resetSequencesData: (state) => {\n state.sequences = initialState.sequences;\n state.totalSequences = initialState.totalSequences;\n state.totalSelectedSequences = initialState.totalSelectedSequences;\n },\n checkedChange: (state, action) => {\n if (action.payload.isSelect === true) {\n state.selectedSequence = state.selectedSequence.concat([\n action.payload.row,\n ]);\n } else {\n state.selectedSequence = state.selectedSequence.filter(\n ({ id }) => id !== action.payload.row.id,\n );\n }\n },\n checkChangeAll: (state, action) => {\n if (action.payload.isSelect === true) {\n state.selectedSequence = state.selectedSequence.concat(\n action.payload.rows,\n );\n } else {\n state.selectedSequence = state.selectedSequence.reduce((acc, item) => {\n let isPresent = false;\n action.payload.rows.forEach(({ id }) => {\n if (id === item.id) {\n isPresent = true;\n }\n });\n if (isPresent) {\n return acc;\n }\n return [...acc, item];\n }, []);\n }\n },\n resetSequence: (state) => {\n state.sequence = null;\n },\n resetSelectedSequences: (state) => {\n state.selectedSequence = initialState.selectedSequence;\n },\n changeContactPagination: (state, action) => {\n state.contactPagination = action.payload;\n },\n resetStep: (state) => {\n state.contactStep = initialState.contactStep;\n state.getContactSequenceStepListRequest =\n initialState.getContactSequenceStepListRequest;\n },\n resetOnboardingFinish: (state) => {\n state.finishOnboardingRequest = initialState.finishOnboardingRequest;\n },\n resetContacts: (state) => {\n state.contacts = initialState.contacts;\n state.contactStatusFilterCount = initialState.contactStatusFilterCount;\n state.contactPagination = initialState.contactPagination;\n state.getContactStatusCountRequest =\n initialState.getContactStatusCountRequest;\n state.getSequenceContactListRequest =\n initialState.getSequenceContactListRequest;\n },\n resetContactsRequest: (state) => {\n state.contacts = initialState.contacts;\n state.getSequenceContactListRequest =\n initialState.getSequenceContactListRequest;\n },\n resetEmail: (state) => {\n state.emailList = initialState.emailList;\n state.emailStatusOfStep = initialState.emailStatusOfStep;\n state.emailStepOfStatus = initialState.emailStepOfStatus;\n state.getEmailListRequest = initialState.getEmailListRequest;\n state.getEmailStatusOfStepRequest =\n initialState.getEmailStatusOfStepRequest;\n state.getEmailStepOfStatusRequest =\n initialState.getEmailStatusOfStepRequest;\n },\n selectAllSequenceContact: (state, action) => {\n if (action.payload.isSelect === true) {\n state.selectedContacts = state.selectedContacts.concat(\n action.payload.rows,\n );\n } else {\n state.selectedContacts = state.selectedContacts.reduce((acc, item) => {\n let isPresent = false;\n action.payload.rows.forEach(({ id }) => {\n if (id === item.id) {\n isPresent = true;\n }\n });\n if (isPresent) {\n return acc;\n }\n return [...acc, item];\n }, []);\n }\n },\n selectSingleSequenceContact: (state, action) => {\n if (action.payload.isSelect === true) {\n state.selectedContacts = state.selectedContacts.concat([\n action.payload.row,\n ]);\n } else {\n state.selectedContacts = state.selectedContacts.filter(\n ({ id }) => id !== action.payload.row.id,\n );\n }\n },\n selectAllContacts: (state, action) => {\n state.selectAllContactDetails = action.payload;\n },\n setSequenceEmailsFilter: (state, action) => {\n state.sequenceEmailsFilters = action.payload;\n },\n resetSequenceEmailsFilters: (state, action) => {\n const resetOff: SequenceEmailsFilterResetArg = action.payload;\n if (resetOff === 'all') {\n state.sequenceEmailsFilters = sequenceEmailsFiltersInitialState;\n } else {\n state.sequenceEmailsFilters[resetOff] = [];\n }\n },\n resetContactSequenceAndStepData: (state) => {\n state.contactSequence = initialState.contactSequence;\n state.contactStep = initialState.contactStep;\n state.getContactSequenceStepListRequest =\n initialState.getContactSequenceStepListRequest;\n state.getContactSequenceListRequest =\n initialState.getContactSequenceListRequest;\n state.addContactsToStepRequest = initialState.addContactsToStepRequest;\n state.removeContactFromSequenceRequest =\n initialState.removeContactFromSequenceRequest;\n state.changeStatusOfContacts = initialState.changeStatusOfContacts;\n },\n resetSelectedContacts: (state) => {\n state.selectedContacts = initialState.selectedContacts;\n },\n\n clearSelection: (state) => {\n state.selectAllContactDetails = initialState.selectAllContactDetails;\n state.selectedContacts = initialState.selectedContacts;\n },\n resetProspectsForModal: (state) => {\n state.getProspectRequest = initialState.getProspectRequest;\n state.getProspectCountRequest = initialState.getProspectCountRequest;\n state.addToStepRequest = initialState.addContactsToStepRequest;\n state.addToSequenceResultFromModalCount =\n initialState.addToSequenceResultFromModalCount;\n state.prospects = initialState.prospects;\n state.prospectCount = initialState.prospectCount;\n },\n resetSequenceSettings: (state) => {\n state.sequenceConfig = initialState.sequenceConfig;\n state.getSequenceConfigRequest = initialState.getSequenceConfigRequest;\n state.schedules = initialState.schedules;\n state.getSchedulesRequest = initialState.getSchedulesRequest;\n state.connectedEmails = initialState.connectedEmails;\n state.getConnectedEmailsRequest = initialState.getConnectedEmailsRequest;\n },\n resetSequenceConfigRequestStatus: (state) => {\n state.getSequenceConfigRequest = initialState.getSequenceConfigRequest;\n },\n resetSequenceSettingUpdateRequestStatus: (state) => {\n state.updateSequenceSettingsRequest =\n initialState.updateSequenceSettingsRequest;\n },\n resetSequenceSettingsContentRequest: (state) => {\n state.removeConnectedEMailAccountRequest =\n initialState.removeConnectedEMailAccountRequest;\n },\n resetSequenceProspectVerifyStart: (state) => {\n state.sequenceProspectsVerifyStartResponse =\n initialState.sequenceProspectsVerifyStartResponse;\n state.sendSequenceProspectVerifyStartRequest =\n initialState.sendSequenceProspectVerifyStartRequest;\n },\n setSequenceProspectsFilters: (state, action) => {\n state.sequenceProspectsFilters = { ...action.payload };\n },\n resetSequenceProspectsFilters: (state, action) => {\n const resetOff: ProspectFilterResetArg = action.payload;\n if (resetOff === 'all') {\n state.sequenceProspectsFilters = prospectsFiltersInitialState;\n } else {\n state.sequenceProspectsFilters[resetOff] = [];\n }\n },\n resetSequenceProspectVerificationStats: (state) => {\n state.sequenceProspectsVerificationStatsResponse =\n initialState.sequenceProspectsVerificationStatsResponse;\n state.sequenceProspectsVerifyStartResponse =\n initialState.sequenceProspectsVerifyStartResponse;\n },\n resetPauseResumeSequenceRequestState: (state) => {\n state.pauseResumeSequenceRequest =\n initialState.pauseResumeSequenceRequest;\n },\n resetUploadAttachmentRequest: (state) => {\n state.uploadAttachmentRequest = initialState.uploadAttachmentRequest;\n state.uploadedAttachment = initialState.uploadedAttachment;\n },\n resetDeleteAttachmentRequest: (state) => {\n state.deleteAttachmentRequest = initialState.deleteAttachmentRequest;\n state.deletedAttachmentId = initialState.deletedAttachmentId;\n },\n resetPauseResumeResultCount: (state) => {\n state.pauseResumeResultCount = initialState.pauseResumeResultCount;\n },\n resetGetSentEmailPreviewRequest: (state) => {\n state.getSentEmailPreviewRequest =\n initialState.getSentEmailPreviewRequest;\n state.sentEmailPreview = initialState.sentEmailPreview;\n },\n setSelectedProspectId: (state, action) => {\n state.selectedProspectId = action.payload;\n },\n resetSelectedProspectId: (state) => {\n state.selectedProspectId = initialState.selectedProspectId;\n },\n resetSelectedProspectData: (state) => {\n state.selectedProspectId = initialState.selectedProspectId;\n state.selectedProspectData = initialState.selectedProspectData;\n state.selectedProspectSequences = initialState.selectedProspectSequences;\n state.getSingleProspectDetailsRequest =\n initialState.getSingleProspectDetailsRequest;\n state.getSingleProspectSequencesDetailsRequest =\n initialState.getSingleProspectSequencesDetailsRequest;\n },\n sendCreateEmailWritingScoreForStepOne: (state, action) => {\n state.createEmailWritingScoreForStepOne = action.payload;\n },\n resetLinkEmailAccountsState: (state) => {\n state.linkEmailToSequenceRequest =\n initialState.linkEmailToSequenceRequest;\n },\n resetRemoveEmailAccountState: (state) => {\n state.removeConnectedEMailAccountRequest =\n initialState.removeConnectedEMailAccountRequest;\n },\n resetChangeOutcomeRequest: (state) => {\n state.onOutcomeChangeRequest = initialState.onOutcomeChangeRequest;\n },\n resetAddStepRequest: (state) => {\n state.addSequenceStepRequest = initialState.addSequenceStepRequest;\n },\n updateStepsRequest: (state, action) => {\n state.updatedSteps = action.payload;\n },\n resetBulkPauseSequenceRequest: (state) => {\n state.bulkPauseSequenceRequest = initialState.bulkPauseSequenceRequest;\n },\n resetBulkResumeSequenceRequest: (state) => {\n state.bulkResumeSequenceRequest = initialState.bulkResumeSequenceRequest;\n },\n setLastAbsoluteDay: (state, action) => {\n state.lastAbsoluteDay = action.payload;\n },\n resetChangeEmailStatusRequest: (state) => {\n state.changeEmailStatusRequest = initialState.changeEmailStatusRequest;\n },\n resetSequenceTimezoneData: (state, action: { payload: number }) => {\n delete state.getSequenceTimezoneRequest[action.payload];\n delete state.getSequenceTimezoneResponse[action.payload];\n },\n checkAll: (state, action) => {\n if (action.payload.status === true) {\n if (state.selectAllContactDetails?.isAllProspectsSelected) {\n action.payload.rows.forEach(({ id: contactId }) => {\n state.selectAllContactDetails.deSelectedContactIds = state.selectAllContactDetails.deSelectedContactIds.filter(\n (id) => contactId !== id,\n );\n });\n }\n state.selectedContacts = state.selectedContacts.concat(\n action.payload.rows,\n );\n } else {\n if (state.selectAllContactDetails?.isAllProspectsSelected) {\n action.payload.rows.forEach(({ id }) => {\n state.selectAllContactDetails.deSelectedContactIds = state.selectAllContactDetails?.deSelectedContactIds.concat(\n [id],\n );\n });\n }\n state.selectedContacts = state.selectedContacts.reduce((acc, item) => {\n let isPresent = false;\n action.payload.rows.forEach(({ id }) => {\n if (id === item.id) {\n isPresent = true;\n }\n });\n if (isPresent) {\n return acc;\n }\n return [...acc, item];\n }, []);\n }\n },\n checkSingle: (state, action) => {\n if (action.payload.status === true) {\n if (state.selectAllContactDetails?.isAllProspectsSelected) {\n state.selectAllContactDetails.deSelectedContactIds = state.selectAllContactDetails.deSelectedContactIds.filter(\n (id) => id !== action.payload.row.id,\n );\n }\n state.selectedContacts = state.selectedContacts.concat([\n action.payload.row,\n ]);\n } else {\n if (state.selectAllContactDetails?.isAllProspectsSelected) {\n state.selectAllContactDetails.deSelectedContactIds = state.selectAllContactDetails?.deSelectedContactIds.concat(\n [action.payload.row.id],\n );\n }\n state.selectedContacts = state.selectedContacts.filter(\n ({ id }) => id !== action.payload.row.id,\n );\n }\n },\n resetSequenceProspectBulkStatusUpdateRequest: (state) => {\n state.sequenceProspectBulkStatusUpdateRequest =\n initialState.sequenceProspectBulkStatusUpdateRequest;\n },\n resetSequenceProspectBulkTagAssignRequest: (state) => {\n state.sequenceProspectBulkTagAssignRequest =\n initialState.sequenceProspectBulkTagAssignRequest;\n },\n resetSequenceProspectBulkTagUnAssignRequest: (state) => {\n state.sequenceProspectBulkTagUnAssignRequest =\n initialState.sequenceProspectBulkTagUnAssignRequest;\n },\n resetSequenceProspectBulkAddToSequenceRequest: (state) => {\n state.sequenceProspectBulkAddToSequenceRequest =\n initialState.sequenceProspectBulkAddToSequenceRequest;\n },\n resetSequenceProspectBulkRemoveFromSequenceRequest: (state) => {\n state.sequenceProspectBulkRemoveFromSequenceRequest =\n initialState.sequenceProspectBulkRemoveFromSequenceRequest;\n },\n resetSequenceStatsCountsRequest: (state) => {\n state.getSequenceStatsCountsRequest =\n initialState.getSequenceStatsCountsRequest;\n },\n setIsSequenceCreatedFromOnboarding: (state, action) => {\n state.isSequenceCreatedFromOnboarding = action.payload;\n },\n toggleStepsGuideVisibility: (state, action) => {\n state.isStepsGuideVisible = action.payload;\n },\n setIsAiGeneratedVariant: (state) => {\n state.isAiGeneratedVariant = true;\n },\n resetGetAIGeneratedEmailVariantRequestState: (state) => {\n state.getAIGeneratedEmailVariantRequest =\n initialState.getAIGeneratedEmailVariantRequest;\n },\n resetIsAiGeneratedVariant: (state) => {\n state.isAiGeneratedVariant = false;\n },\n resetAiGeneratedVariantDetails: (state) => {\n state.aiGeneratedVariantDetails = { ...aiGeneratedVariantDetailsState };\n },\n removeAIGeneratedVariantDefaultAttachement: (state, action) => {\n const currentDefaultAttachmentIds =\n state?.aiGeneratedVariantDetails?.sequenceStepVariantAttachments?.map(\n (att) => att.attachmentId,\n ) || [];\n if (\n currentDefaultAttachmentIds?.length > 0 &&\n currentDefaultAttachmentIds?.includes(action.payload)\n ) {\n const filteredList = state.aiGeneratedVariantDetails.sequenceStepVariantAttachments.filter(\n (att) => att.attachmentId !== action.payload,\n ); // filter out the attachmentId\n state.aiGeneratedVariantDetails.sequenceStepVariantAttachments = filteredList;\n }\n },\n resetSequenceStepsStates: (state) => {\n state.sequenceStepsStates = [];\n },\n resetSequenceEmailAccStates: (state) => {\n state.sequenceEmailAccStates = [];\n },\n },\n extraReducers: (builder) => {\n // Get Sequences\n builder.addCase(getSequencesRequest.pending, (state, action) => {\n state.getSequencesRequest.status = RequestStatus.Pending;\n state.getSequencesRequest.error = null;\n const keys = Object.keys(state.pagination.options);\n keys.forEach((key) => {\n state.pagination.options[key] = action.meta.arg[key];\n });\n });\n builder.addCase(getSequencesRequest.fulfilled, (state, action) => {\n state.getSequencesRequest.status = RequestStatus.Succeeded;\n state.getSequencesRequest.message = action.payload.message;\n state.sequences = action.payload.payload.sequences;\n state.totalSequences = action.payload.payload.totalSequences;\n state.totalSelectedSequences =\n action.payload.payload.totalSelectedSequences;\n });\n builder.addCase(getSequencesRequest.rejected, (state, action) => {\n state.getSequencesRequest.status = RequestStatus.Failed;\n state.getSequencesRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Sequence Stats\n builder.addCase(getSequenceStatsRequest.pending, (state) => {\n state.getSequenceStatsRequest.status = RequestStatus.Pending;\n state.getSequenceStatsRequest.error = null;\n });\n builder.addCase(getSequenceStatsRequest.fulfilled, (state, action) => {\n state.getSequenceStatsRequest.status = RequestStatus.Succeeded;\n state.getSequenceStatsRequest.message = action.payload.message;\n state.sequenceStats = action.payload.payload;\n });\n builder.addCase(getSequenceStatsRequest.rejected, (state, action) => {\n state.getSequenceStatsRequest.status = RequestStatus.Failed;\n state.getSequenceStatsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Sequences Stats\n builder.addCase(getSequencesStatsRequest.pending, (state) => {\n state.getSequencesStatsRequest.status = RequestStatus.Pending;\n state.getSequencesStatsRequest.error = null;\n });\n builder.addCase(getSequencesStatsRequest.fulfilled, (state, action) => {\n state.getSequencesStatsRequest.status = RequestStatus.Succeeded;\n state.getSequencesStatsRequest.message = action.payload.message;\n state.sequencesStats = action.payload.payload;\n });\n builder.addCase(getSequencesStatsRequest.rejected, (state, action) => {\n state.getSequencesStatsRequest.status = RequestStatus.Failed;\n state.getSequencesStatsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Sequence\n builder.addCase(getSequenceRequest.pending, (state) => {\n state.getSequenceRequest.status = RequestStatus.Pending;\n state.getSequenceRequest.error = null;\n });\n builder.addCase(getSequenceRequest.fulfilled, (state, action) => {\n state.getSequenceRequest.status = RequestStatus.Succeeded;\n state.getSequenceRequest.message = action.payload.message;\n state.sequence = action.payload.payload;\n state.updatedSteps = null;\n });\n builder.addCase(getSequenceRequest.rejected, (state, action) => {\n state.getSequenceRequest.status = RequestStatus.Failed;\n state.getSequenceRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Create Sequence\n builder.addCase(createSequenceRequest.pending, (state) => {\n state.createSequenceRequest.status = RequestStatus.Pending;\n state.createSequenceRequest.error = null;\n });\n builder.addCase(createSequenceRequest.fulfilled, (state, action) => {\n state.createSequenceRequest.status = RequestStatus.Succeeded;\n state.createSequenceRequest.message = action.payload.message;\n // Either get the entire sequence, with steps, variants and settings,\n // or don't assign the sequence here at all.\n // state.sequence = action.payload.payload;\n state.createdSequenceId = action.payload.payload.id;\n });\n builder.addCase(createSequenceRequest.rejected, (state, action) => {\n state.createSequenceRequest.status = RequestStatus.Failed;\n state.createSequenceRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Rename Sequence\n builder.addCase(renameSequenceRequest.pending, (state) => {\n state.renameSequenceRequest.status = RequestStatus.Pending;\n state.renameSequenceRequest.error = null;\n });\n builder.addCase(renameSequenceRequest.fulfilled, (state, action) => {\n state.renameSequenceRequest.status = RequestStatus.Succeeded;\n state.renameSequenceRequest.message = action.payload.message;\n });\n builder.addCase(renameSequenceRequest.rejected, (state, action) => {\n state.renameSequenceRequest.status = RequestStatus.Failed;\n state.renameSequenceRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Pause Resume Sequence\n builder.addCase(pauseResumeSequenceRequest.pending, (state) => {\n state.pauseResumeSequenceRequest.status = RequestStatus.Pending;\n state.pauseResumeSequenceRequest.error = null;\n });\n builder.addCase(pauseResumeSequenceRequest.fulfilled, (state, action) => {\n state.pauseResumeSequenceRequest.status = RequestStatus.Succeeded;\n state.pauseResumeSequenceRequest.message = action.payload.message;\n });\n builder.addCase(pauseResumeSequenceRequest.rejected, (state, action) => {\n state.pauseResumeSequenceRequest.status = RequestStatus.Failed;\n state.pauseResumeSequenceRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Clone Sequence\n builder.addCase(cloneSequenceRequest.pending, (state) => {\n state.cloneSequenceRequest.status = RequestStatus.Pending;\n state.cloneSequenceRequest.error = null;\n });\n builder.addCase(cloneSequenceRequest.fulfilled, (state, action) => {\n state.cloneSequenceRequest.status = RequestStatus.Succeeded;\n state.cloneSequenceRequest.message = action.payload.message;\n });\n builder.addCase(cloneSequenceRequest.rejected, (state, action) => {\n state.cloneSequenceRequest.status = RequestStatus.Failed;\n state.cloneSequenceRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Generate AI Email Variant Based on Sequence\n builder.addCase(getAIGeneratedEmailVariantRequest.pending, (state) => {\n state.getAIGeneratedEmailVariantRequest.status = RequestStatus.Pending;\n state.getAIGeneratedEmailVariantRequest.error = null;\n });\n builder.addCase(\n getAIGeneratedEmailVariantRequest.fulfilled,\n (state, action) => {\n state.getAIGeneratedEmailVariantRequest.status =\n RequestStatus.Succeeded;\n state.getAIGeneratedEmailVariantRequest.message =\n action.payload.message;\n state.isAiGeneratedVariant = true;\n state.aiGeneratedVariantDetails.subject =\n action?.payload?.payload?.subject || '';\n state.aiGeneratedVariantDetails.content =\n action?.payload?.payload?.content || '';\n state.aiGeneratedVariantDetails.sequenceStepVariantAttachments =\n action?.payload?.payload?.sequenceStepVariantAttachments || [];\n },\n );\n builder.addCase(\n getAIGeneratedEmailVariantRequest.rejected,\n (state, action) => {\n state.getAIGeneratedEmailVariantRequest.status = RequestStatus.Failed;\n state.getAIGeneratedEmailVariantRequest.error = action.payload;\n state.isAiGeneratedVariant = false;\n state?.aiGeneratedVariantDetails?.subject &&\n (state.aiGeneratedVariantDetails.subject = null);\n state?.aiGeneratedVariantDetails?.content &&\n (state.aiGeneratedVariantDetails.content = null);\n state?.aiGeneratedVariantDetails?.sequenceStepVariantAttachments &&\n (state.aiGeneratedVariantDetails.sequenceStepVariantAttachments = []);\n\n if (action.payload.code === 1101) {\n state.isAiVariantDisabled = true;\n }\n },\n );\n\n // Delete Sequence\n builder.addCase(deleteSequenceRequest.pending, (state) => {\n state.deleteSequenceRequest.status = RequestStatus.Pending;\n state.deleteSequenceRequest.error = null;\n });\n builder.addCase(deleteSequenceRequest.fulfilled, (state, action) => {\n state.deleteSequenceRequest.status = RequestStatus.Succeeded;\n state.deleteSequenceRequest.message = action.payload.message;\n });\n builder.addCase(deleteSequenceRequest.rejected, (state, action) => {\n state.deleteSequenceRequest.status = RequestStatus.Failed;\n state.deleteSequenceRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Delete Sequences\n builder.addCase(deleteSequencesRequest.pending, (state) => {\n state.deleteSequencesRequest.status = RequestStatus.Pending;\n state.deleteSequencesRequest.error = null;\n });\n builder.addCase(deleteSequencesRequest.fulfilled, (state, action) => {\n state.deleteSequencesRequest.status = RequestStatus.Succeeded;\n state.deleteSequencesRequest.message = action.payload.message;\n state.selectedSequence = initialState.selectedSequence;\n });\n builder.addCase(deleteSequencesRequest.rejected, (state, action) => {\n state.deleteSequencesRequest.status = RequestStatus.Failed;\n state.deleteSequencesRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Add Sequence Step\n builder.addCase(addSequenceStepRequest.pending, (state) => {\n state.addSequenceStepRequest.status = RequestStatus.Pending;\n state.addSequenceStepRequest.error = null;\n });\n builder.addCase(addSequenceStepRequest.fulfilled, (state, action) => {\n state.addSequenceStepRequest.status = RequestStatus.Succeeded;\n state.addSequenceStepRequest.message = action.payload.message;\n });\n builder.addCase(addSequenceStepRequest.rejected, (state, action) => {\n state.addSequenceStepRequest.status = RequestStatus.Failed;\n state.addSequenceStepRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Create Sample Steps\n builder.addCase(createSampleStepsRequest.pending, (state) => {\n state.createSampleStepsRequest.status = RequestStatus.Pending;\n state.createSampleStepsRequest.error = null;\n });\n builder.addCase(createSampleStepsRequest.fulfilled, (state, action) => {\n state.createSampleStepsRequest.status = RequestStatus.Succeeded;\n state.createSampleStepsRequest.message = action.payload.message;\n });\n builder.addCase(createSampleStepsRequest.rejected, (state, action) => {\n state.createSampleStepsRequest.status = RequestStatus.Failed;\n state.createSampleStepsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Change Email Status\n builder.addCase(changeEmailStatusRequest.pending, (state) => {\n state.changeEmailStatusRequest.status = RequestStatus.Pending;\n state.changeEmailStatusRequest.error = null;\n });\n builder.addCase(changeEmailStatusRequest.fulfilled, (state, action) => {\n state.changeEmailStatusRequest.status = RequestStatus.Succeeded;\n state.changeEmailStatusRequest.message = action.payload.message;\n });\n builder.addCase(changeEmailStatusRequest.rejected, (state, action) => {\n state.changeEmailStatusRequest.status = RequestStatus.Failed;\n state.changeEmailStatusRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Update Sequence Step Execution Day/Time\n builder.addCase(updateSequenceStepExecutionDayRequest.pending, (state) => {\n state.updateSequenceStepExecutionDayRequest.status =\n RequestStatus.Pending;\n state.updateSequenceStepExecutionDayRequest.error = null;\n });\n builder.addCase(\n updateSequenceStepExecutionDayRequest.fulfilled,\n (state, action) => {\n state.updateSequenceStepExecutionDayRequest.status =\n RequestStatus.Succeeded;\n state.updateSequenceStepExecutionDayRequest.message =\n action.payload.message;\n },\n );\n builder.addCase(\n updateSequenceStepExecutionDayRequest.rejected,\n (state, action) => {\n state.updateSequenceStepExecutionDayRequest.status =\n RequestStatus.Failed;\n state.updateSequenceStepExecutionDayRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Update Sequence Step Order\n builder.addCase(updateSequenceStepRequest.pending, (state) => {\n state.updateSequenceStepRequest.status = RequestStatus.Pending;\n state.updateSequenceStepRequest.error = null;\n });\n builder.addCase(updateSequenceStepRequest.fulfilled, (state, action) => {\n state.updateSequenceStepRequest.status = RequestStatus.Succeeded;\n state.updateSequenceStepRequest.message = action.payload.message;\n });\n builder.addCase(updateSequenceStepRequest.rejected, (state, action) => {\n state.updateSequenceStepRequest.status = RequestStatus.Failed;\n state.updateSequenceStepRequest.message = action.payload.message;\n state.updateSequenceStepRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Delete Sequence Step\n builder.addCase(cloneSequenceStepVariantRequest.pending, (state) => {\n state.cloneSequenceStepVariantRequest.status = RequestStatus.Pending;\n state.cloneSequenceStepVariantRequest.error = null;\n });\n builder.addCase(\n cloneSequenceStepVariantRequest.fulfilled,\n (state, action) => {\n state.cloneSequenceStepVariantRequest.status = RequestStatus.Succeeded;\n state.cloneSequenceStepVariantRequest.message = action.payload.message;\n },\n );\n builder.addCase(\n cloneSequenceStepVariantRequest.rejected,\n (state, action) => {\n state.cloneSequenceStepVariantRequest.status = RequestStatus.Failed;\n state.cloneSequenceStepVariantRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Delete Sequence Step\n builder.addCase(deleteSequenceStepRequest.pending, (state) => {\n state.deleteSequenceStepRequest.status = RequestStatus.Pending;\n state.deleteSequenceStepRequest.error = null;\n });\n builder.addCase(deleteSequenceStepRequest.fulfilled, (state, action) => {\n state.deleteSequenceStepRequest.status = RequestStatus.Succeeded;\n state.deleteSequenceStepRequest.message = action.payload.message;\n });\n builder.addCase(deleteSequenceStepRequest.rejected, (state, action) => {\n state.deleteSequenceStepRequest.status = RequestStatus.Failed;\n state.deleteSequenceStepRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Add Sequence Step Variant\n builder.addCase(addSequenceStepVariantRequest.pending, (state) => {\n state.addSequenceStepVariantRequest.status = RequestStatus.Pending;\n state.addSequenceStepVariantRequest.error = null;\n });\n builder.addCase(\n addSequenceStepVariantRequest.fulfilled,\n (state, action) => {\n state.addSequenceStepVariantRequest.status = RequestStatus.Succeeded;\n state.addSequenceStepVariantRequest.message = action.payload.message;\n },\n );\n builder.addCase(addSequenceStepVariantRequest.rejected, (state, action) => {\n state.addSequenceStepVariantRequest.status = RequestStatus.Failed;\n state.addSequenceStepVariantRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Update Sequence Step Variant Subject/Content\n builder.addCase(updateSequenceStepVariantDataRequest.pending, (state) => {\n state.updateSequenceStepVariantDataRequest.status = RequestStatus.Pending;\n state.updateSequenceStepVariantDataRequest.error = null;\n });\n builder.addCase(\n updateSequenceStepVariantDataRequest.fulfilled,\n (state, action) => {\n state.updateSequenceStepVariantDataRequest.status =\n RequestStatus.Succeeded;\n state.updateSequenceStepVariantDataRequest.message =\n action.payload.message;\n },\n );\n builder.addCase(\n updateSequenceStepVariantDataRequest.rejected,\n (state, action) => {\n state.updateSequenceStepVariantDataRequest.status =\n RequestStatus.Failed;\n state.updateSequenceStepVariantDataRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Update Sequence Step Variant Status\n builder.addCase(updateSequenceStepVariantStatusRequest.pending, (state) => {\n state.updateSequenceStepVariantStatusRequest.status =\n RequestStatus.Pending;\n state.updateSequenceStepVariantStatusRequest.error = null;\n });\n builder.addCase(\n updateSequenceStepVariantStatusRequest.fulfilled,\n (state, action) => {\n state.updateSequenceStepVariantStatusRequest.status =\n RequestStatus.Succeeded;\n state.updateSequenceStepVariantStatusRequest.message =\n action.payload.message;\n },\n );\n builder.addCase(\n updateSequenceStepVariantStatusRequest.rejected,\n (state, action) => {\n state.updateSequenceStepVariantStatusRequest.status =\n RequestStatus.Failed;\n state.updateSequenceStepVariantStatusRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Delete Sequence Step Variant\n builder.addCase(deleteSequenceStepVariantRequest.pending, (state) => {\n state.deleteSequenceStepVariantRequest.status = RequestStatus.Pending;\n state.deleteSequenceStepVariantRequest.error = null;\n });\n builder.addCase(\n deleteSequenceStepVariantRequest.fulfilled,\n (state, action) => {\n state.deleteSequenceStepVariantRequest.status = RequestStatus.Succeeded;\n state.deleteSequenceStepVariantRequest.message = action.payload.message;\n },\n );\n builder.addCase(\n deleteSequenceStepVariantRequest.rejected,\n (state, action) => {\n state.deleteSequenceStepVariantRequest.status = RequestStatus.Failed;\n state.deleteSequenceStepVariantRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Update Sequence Settings\n builder.addCase(updateSequenceSettingsRequest.pending, (state) => {\n state.updateSequenceSettingsRequest.status = RequestStatus.Pending;\n state.updateSequenceSettingsRequest.error = null;\n });\n builder.addCase(\n updateSequenceSettingsRequest.fulfilled,\n (state, action) => {\n state.updateSequenceSettingsRequest.status = RequestStatus.Succeeded;\n state.updateSequenceSettingsRequest.message = action.payload.message;\n\n // Updating Sequence Object only when the SEQUENCE_SETTING_VISITED value is updated\n // Because it is needed to mark the settings as completed in Sequence Onboarding\n const isUpdatingSequenceSettingsVisited = action.meta.arg?.settings?.find(\n ({ code }) => code === SequenceSettingCode.SEQUENCE_SETTING_VISITED,\n );\n if (isUpdatingSequenceSettingsVisited) {\n state.sequence = {\n ...state.sequence,\n settings: action.payload.payload,\n };\n }\n },\n );\n builder.addCase(updateSequenceSettingsRequest.rejected, (state, action) => {\n state.updateSequenceSettingsRequest.status = RequestStatus.Failed;\n state.updateSequenceSettingsRequest.message = action.payload.message;\n state.updateSequenceSettingsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Contact Fields\n builder.addCase(getContactFieldsRequest.pending, (state) => {\n state.getContactFieldsRequest.status = RequestStatus.Pending;\n state.getContactFieldsRequest.error = null;\n });\n builder.addCase(getContactFieldsRequest.fulfilled, (state, action) => {\n state.getContactFieldsRequest.status = RequestStatus.Succeeded;\n state.getContactFieldsRequest.message = action.payload.message;\n state.contactFields = action.payload.payload;\n });\n builder.addCase(getContactFieldsRequest.rejected, (state, action) => {\n state.getContactFieldsRequest.status = RequestStatus.Failed;\n state.getContactFieldsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Sequence Steps\n builder.addCase(getSequenceStepsRequest.pending, (state) => {\n state.getSequenceStepsRequest.status = RequestStatus.Pending;\n state.getSequenceStepsRequest.error = null;\n });\n builder.addCase(getSequenceStepsRequest.fulfilled, (state, action) => {\n state.getSequenceStepsRequest.status = RequestStatus.Succeeded;\n state.getSequenceStepsRequest.message = action.payload.message;\n state.steps = action.payload.payload;\n });\n builder.addCase(getSequenceStepsRequest.rejected, (state, action) => {\n state.getSequenceStepsRequest.status = RequestStatus.Failed;\n state.getSequenceStepsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Sequence Steps\n builder.addCase(addContactsFromCSVRequest.pending, (state) => {\n state.addContactsFromCSVRequest.status = RequestStatus.Pending;\n state.addContactsFromCSVRequest.error = null;\n });\n builder.addCase(addContactsFromCSVRequest.fulfilled, (state, action) => {\n state.addContactsFromCSVRequest.status = RequestStatus.Succeeded;\n state.addContactsFromCSVRequest.message = action.payload.message;\n state.importCSVReport = action.payload.payload;\n });\n\n builder.addCase(addContactsFromCSVRequest.rejected, (state, action) => {\n state.addContactsFromCSVRequest.status = RequestStatus.Failed;\n state.addContactsFromCSVRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Schedules\n builder.addCase(getSchedulesRequest.pending, (state) => {\n state.getSchedulesRequest.status = RequestStatus.Pending;\n state.getSchedulesRequest.error = null;\n });\n builder.addCase(getSchedulesRequest.fulfilled, (state, action) => {\n state.getSchedulesRequest.status = RequestStatus.Succeeded;\n state.getSchedulesRequest.message = action.payload.message;\n state.schedules = action.payload.payload;\n });\n builder.addCase(getSchedulesRequest.rejected, (state, action) => {\n state.getSchedulesRequest.status = RequestStatus.Failed;\n state.getSchedulesRequest.error =\n !action.payload.isHandled && action.payload;\n });\n // Connected Emails\n builder.addCase(getConnectedEmailsRequest.pending, (state) => {\n state.getConnectedEmailsRequest.status = RequestStatus.Pending;\n state.getConnectedEmailsRequest.error = null;\n });\n builder.addCase(getConnectedEmailsRequest.fulfilled, (state, action) => {\n state.getConnectedEmailsRequest.status = RequestStatus.Succeeded;\n state.getConnectedEmailsRequest.message = action.payload.message;\n state.connectedEmails = action.payload.payload;\n });\n builder.addCase(getConnectedEmailsRequest.rejected, (state, action) => {\n state.getConnectedEmailsRequest.status = RequestStatus.Failed;\n state.getConnectedEmailsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Change Contacts Status\n builder.addCase(changeStatusOfContacts.pending, (state) => {\n state.changeStatusOfContacts.status = RequestStatus.Pending;\n state.changeStatusOfContacts.error = null;\n });\n builder.addCase(changeStatusOfContacts.fulfilled, (state, action) => {\n state.changeStatusOfContacts.status = RequestStatus.Succeeded;\n state.changeStatusOfContacts.message = action.payload.message;\n state.pauseResumeResultCount = action.payload.payload;\n });\n builder.addCase(changeStatusOfContacts.rejected, (state, action) => {\n state.changeStatusOfContacts.status = RequestStatus.Failed;\n state.changeStatusOfContacts.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get the status filter list\n builder.addCase(getContactStatusCountRequest.pending, (state) => {\n state.getContactStatusCountRequest.status = RequestStatus.Pending;\n state.getContactStatusCountRequest.error = null;\n });\n builder.addCase(getContactStatusCountRequest.fulfilled, (state, action) => {\n state.getContactStatusCountRequest.status = RequestStatus.Succeeded;\n state.getContactStatusCountRequest.message = action.payload.message;\n const [payload] = action.payload.payload;\n state.contactStatusFilterCount = payload;\n state.contactStepFilterCount.totalContacts = payload?.total;\n });\n builder.addCase(getContactStatusCountRequest.rejected, (state, action) => {\n state.getContactStatusCountRequest.status = RequestStatus.Failed;\n state.getContactStatusCountRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Contact Sequence List\n builder.addCase(getContactSequenceListRequest.pending, (state) => {\n state.getContactSequenceListRequest.status = RequestStatus.Pending;\n state.getContactSequenceListRequest.error = null;\n });\n builder.addCase(\n getContactSequenceListRequest.fulfilled,\n (state, action) => {\n state.getContactSequenceListRequest.status = RequestStatus.Succeeded;\n state.getContactSequenceListRequest.message = action.payload.message;\n state.contactSequence = action.payload.payload;\n },\n );\n builder.addCase(getContactSequenceListRequest.rejected, (state, action) => {\n state.getContactSequenceListRequest.status = RequestStatus.Failed;\n state.getContactSequenceListRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Contact Sequence Step List\n builder.addCase(getContactSequenceStepListRequest.pending, (state) => {\n state.getContactSequenceStepListRequest.status = RequestStatus.Pending;\n state.getContactSequenceStepListRequest.error = null;\n });\n builder.addCase(\n getContactSequenceStepListRequest.fulfilled,\n (state, action) => {\n state.getContactSequenceStepListRequest.status =\n RequestStatus.Succeeded;\n state.getContactSequenceStepListRequest.message =\n action.payload.message;\n state.contactStep = action.payload.payload;\n },\n );\n builder.addCase(\n getContactSequenceStepListRequest.rejected,\n (state, action) => {\n state.getContactSequenceStepListRequest.status = RequestStatus.Failed;\n state.getContactSequenceStepListRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Add Contact to step\n builder.addCase(addContactsToStepRequest.pending, (state) => {\n state.addContactsToStepRequest.status = RequestStatus.Pending;\n state.addContactsToStepRequest.error = null;\n });\n builder.addCase(addContactsToStepRequest.fulfilled, (state, action) => {\n state.addContactsToStepRequest.status = RequestStatus.Succeeded;\n state.addContactsToStepRequest.message = action.payload.message;\n state.addToSequenceResultCount.failed = action.payload.payload.failed;\n state.addToSequenceResultCount.successful =\n action.payload.payload.successful;\n state.addToSequenceResultCount.resultData = action.payload.payload;\n });\n builder.addCase(addContactsToStepRequest.rejected, (state, action) => {\n state.addContactsToStepRequest.status = RequestStatus.Failed;\n state.addContactsToStepRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Add sample prospects to step\n builder.addCase(addSampleProspectsToStepRequest.pending, (state) => {\n state.addSampleProspectsToStepRequest.status = RequestStatus.Pending;\n state.addSampleProspectsToStepRequest.error = null;\n });\n builder.addCase(\n addSampleProspectsToStepRequest.fulfilled,\n (state, action) => {\n state.addSampleProspectsToStepRequest.status = RequestStatus.Succeeded;\n state.addSampleProspectsToStepRequest.message = action.payload.message;\n },\n );\n builder.addCase(\n addSampleProspectsToStepRequest.rejected,\n (state, action) => {\n state.addSampleProspectsToStepRequest.status = RequestStatus.Failed;\n state.addSampleProspectsToStepRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Remove Contact from Sequence\n builder.addCase(removeContactFromSequenceRequest.pending, (state) => {\n state.removeContactFromSequenceRequest.status = RequestStatus.Pending;\n state.removeContactFromSequenceRequest.error = null;\n });\n builder.addCase(\n removeContactFromSequenceRequest.fulfilled,\n (state, action) => {\n state.removeContactFromSequenceRequest.status = RequestStatus.Succeeded;\n state.removeContactFromSequenceRequest.message = action.payload.message;\n },\n );\n builder.addCase(\n removeContactFromSequenceRequest.rejected,\n (state, action) => {\n state.removeContactFromSequenceRequest.status = RequestStatus.Failed;\n state.removeContactFromSequenceRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Get the filtered contact List\n builder.addCase(getSequenceContactListRequest.pending, (state) => {\n state.getSequenceContactListRequest.status = RequestStatus.Pending;\n state.getSequenceContactListRequest.error = null;\n });\n builder.addCase(\n getSequenceContactListRequest.fulfilled,\n (state, action) => {\n state.getSequenceContactListRequest.status = RequestStatus.Succeeded;\n state.getSequenceContactListRequest.message = action.payload.message;\n state.contacts = action.payload.payload.contacts;\n },\n );\n builder.addCase(getSequenceContactListRequest.rejected, (state, action) => {\n state.getSequenceContactListRequest.status = RequestStatus.Failed;\n state.getSequenceContactListRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Getting the list of all the prospects\n builder.addCase(getProspectRequestModal.pending, (state) => {\n state.getProspectRequest.status = RequestStatus.Pending;\n state.getProspectRequest.error = null;\n });\n builder.addCase(getProspectRequestModal.fulfilled, (state, action) => {\n state.getProspectRequest.status = RequestStatus.Succeeded;\n state.getProspectRequest.message = action.payload.message;\n state.prospects = action.payload.payload.contacts;\n });\n builder.addCase(getProspectRequestModal.rejected, (state, action) => {\n state.getProspectRequest.status = RequestStatus.Failed;\n state.getProspectRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Getting the count of all the prospects for the pagination component\n builder.addCase(getProspectCountRequestModal.pending, (state) => {\n state.getProspectCountRequest.status = RequestStatus.Pending;\n state.getProspectCountRequest.error = null;\n });\n builder.addCase(getProspectCountRequestModal.fulfilled, (state, action) => {\n state.getProspectCountRequest.status = RequestStatus.Succeeded;\n state.getProspectCountRequest.message = action.payload.message;\n state.prospectCount = action.payload.payload;\n });\n builder.addCase(getProspectCountRequestModal.rejected, (state, action) => {\n state.getProspectCountRequest.status = RequestStatus.Failed;\n state.getProspectCountRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Admin Settings\n builder.addCase(getAdminSettingsRequest.pending, (state) => {\n state.getAdminSettings.status = RequestStatus.Pending;\n state.getAdminSettings.error = null;\n });\n builder.addCase(getAdminSettingsRequest.fulfilled, (state, action) => {\n state.getAdminSettings.status = RequestStatus.Succeeded;\n state.getAdminSettings.message = action.payload.message;\n state.adminSettings =\n action.payload.payload?.[0]?.shAccountSettingData || [];\n });\n builder.addCase(getAdminSettingsRequest.rejected, (state, action) => {\n state.getAdminSettings.status = RequestStatus.Failed;\n state.getAdminSettings.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Add Contact to step\n builder.addCase(addToStepModalRequest.pending, (state) => {\n state.addToStepRequest.status = RequestStatus.Pending;\n state.addToStepRequest.error = null;\n });\n builder.addCase(addToStepModalRequest.fulfilled, (state, action) => {\n state.addToStepRequest.status = RequestStatus.Succeeded;\n state.addToStepRequest.message = action.payload.message;\n state.addToSequenceResultFromModalCount.failed =\n action.payload.payload.failed;\n state.addToSequenceResultFromModalCount.successful =\n action.payload.payload.successful;\n state.addToSequenceResultFromModalCount.resultData =\n action.payload.payload;\n });\n builder.addCase(addToStepModalRequest.rejected, (state, action) => {\n state.addToStepRequest.status = RequestStatus.Failed;\n state.addToStepRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get sequence mail send status\n builder.addCase(sequenceSendEmailStatus.pending, (state) => {\n state.getSequenceEmailSendRequest.status = RequestStatus.Pending;\n state.getSequenceEmailSendRequest.error = null;\n });\n builder.addCase(sequenceSendEmailStatus.fulfilled, (state, action) => {\n state.getSequenceEmailSendRequest.status = RequestStatus.Succeeded;\n state.isSequenceMailSending =\n action.payload.payload.sequenceHasStartedProcessingEmails;\n });\n builder.addCase(sequenceSendEmailStatus.rejected, (state, action) => {\n state.getSequenceEmailSendRequest.status = RequestStatus.Failed;\n state.finishOnboardingRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Finish onboarding\n builder.addCase(finishOnboardingRequest.pending, (state) => {\n state.finishOnboardingRequest.status = RequestStatus.Pending;\n state.finishOnboardingRequest.error = null;\n });\n builder.addCase(finishOnboardingRequest.fulfilled, (state, action) => {\n state.finishOnboardingRequest.status = RequestStatus.Succeeded;\n state.finishOnboardingRequest.message = action.payload.message;\n });\n builder.addCase(finishOnboardingRequest.rejected, (state, action) => {\n state.finishOnboardingRequest.status = RequestStatus.Failed;\n state.finishOnboardingRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Sequence Config\n builder.addCase(getSequenceConfigRequest.pending, (state) => {\n state.getSequenceConfigRequest.status = RequestStatus.Pending;\n state.getSequenceConfigRequest.error = null;\n });\n builder.addCase(getSequenceConfigRequest.fulfilled, (state, action) => {\n state.getSequenceConfigRequest.status = RequestStatus.Succeeded;\n state.getSequenceConfigRequest.message = action.payload.message;\n state.sequenceConfig = action.payload.payload;\n });\n builder.addCase(getSequenceConfigRequest.rejected, (state, action) => {\n state.getSequenceConfigRequest.status = RequestStatus.Failed;\n state.getSequenceConfigRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Sequence Config\n builder.addCase(getSequencePriorityConfigRequest.pending, (state) => {\n state.getSequencePriorityConfigRequest.status = RequestStatus.Pending;\n state.getSequencePriorityConfigRequest.error = null;\n });\n builder.addCase(\n getSequencePriorityConfigRequest.fulfilled,\n (state, action) => {\n state.getSequencePriorityConfigRequest.status = RequestStatus.Succeeded;\n state.sequenceConfig = {\n ...(state.sequenceConfig || {}),\n prioritySetting: action.payload.payload,\n };\n },\n );\n builder.addCase(\n getSequencePriorityConfigRequest.rejected,\n (state, action) => {\n state.getSequencePriorityConfigRequest.status = RequestStatus.Failed;\n state.getSequencePriorityConfigRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Get Sequence Config\n builder.addCase(updateSequencePriorityConfigRequest.pending, (state) => {\n state.updateSequencePriorityConfigRequest.status = RequestStatus.Pending;\n state.updateSequencePriorityConfigRequest.error = null;\n });\n builder.addCase(\n updateSequencePriorityConfigRequest.fulfilled,\n (state, action) => {\n state.updateSequencePriorityConfigRequest.status =\n RequestStatus.Succeeded;\n state.updateSequencePriorityConfigRequest.message =\n action.payload.message;\n },\n );\n builder.addCase(\n updateSequencePriorityConfigRequest.rejected,\n (state, action) => {\n state.updateSequencePriorityConfigRequest.status = RequestStatus.Failed;\n state.updateSequencePriorityConfigRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Get My Templates\n builder.addCase(getMyTemplateRequest.pending, (state) => {\n state.getMyTemplateRequest.status = RequestStatus.Pending;\n state.getMyTemplateRequest.error = null;\n });\n builder.addCase(getMyTemplateRequest.fulfilled, (state, action) => {\n state.getMyTemplateRequest.status = RequestStatus.Succeeded;\n state.myTemplates = action.payload.payload.items;\n state.myTemplatesMeta = action.payload.payload.meta;\n });\n builder.addCase(getMyTemplateRequest.rejected, (state) => {\n state.getMyTemplateRequest.status = RequestStatus.Failed;\n });\n\n // Get Team Templates\n builder.addCase(getTeamTemplateRequest.pending, (state) => {\n state.getTeamTemplateRequest.status = RequestStatus.Pending;\n state.getTeamTemplateRequest.error = null;\n });\n builder.addCase(getTeamTemplateRequest.fulfilled, (state, action) => {\n state.getTeamTemplateRequest.status = RequestStatus.Succeeded;\n state.teamTemplates = action.payload.payload.items;\n state.teamTemplatesMeta = action.payload.payload.meta;\n });\n builder.addCase(getTeamTemplateRequest.rejected, (state) => {\n state.getTeamTemplateRequest.status = RequestStatus.Failed;\n });\n\n // Get Email Status of Step Request\n builder.addCase(getEmailStatusOfStepRequest.pending, (state) => {\n state.getEmailStatusOfStepRequest.status = RequestStatus.Pending;\n state.getEmailStatusOfStepRequest.error = null;\n });\n builder.addCase(getEmailStatusOfStepRequest.fulfilled, (state, action) => {\n state.getEmailStatusOfStepRequest.status = RequestStatus.Succeeded;\n state.emailStatusOfStep = action.payload.payload;\n });\n builder.addCase(getEmailStatusOfStepRequest.rejected, (state) => {\n state.getEmailStatusOfStepRequest.status = RequestStatus.Failed;\n });\n\n // Get Email Step of Status Request\n builder.addCase(getEmailStepOfStatusRequest.pending, (state) => {\n state.getEmailStepOfStatusRequest.status = RequestStatus.Pending;\n state.getEmailStepOfStatusRequest.error = null;\n });\n builder.addCase(getEmailStepOfStatusRequest.fulfilled, (state, action) => {\n state.getEmailStepOfStatusRequest.status = RequestStatus.Succeeded;\n state.emailStepOfStatus = action.payload.payload;\n });\n builder.addCase(getEmailStepOfStatusRequest.rejected, (state) => {\n state.getEmailStepOfStatusRequest.status = RequestStatus.Failed;\n });\n\n // Get Email Request\n builder.addCase(getEmailListRequest.pending, (state) => {\n state.getEmailListRequest.status = RequestStatus.Pending;\n state.getEmailListRequest.error = null;\n });\n builder.addCase(getEmailListRequest.fulfilled, (state, action) => {\n state.getEmailListRequest.status = RequestStatus.Succeeded;\n state.emailList = action.payload.payload;\n });\n builder.addCase(getEmailListRequest.rejected, (state) => {\n state.getEmailListRequest.status = RequestStatus.Failed;\n });\n\n // Get Custom Domain\n builder.addCase(getCustomDomainsRequest.pending, (state) => {\n state.getCustomDomainsRequest.status = RequestStatus.Pending;\n state.getCustomDomainsRequest.error = null;\n });\n builder.addCase(getCustomDomainsRequest.fulfilled, (state, action) => {\n state.getCustomDomainsRequest.status = RequestStatus.Succeeded;\n state.customDomains = action.payload.payload;\n });\n builder.addCase(getCustomDomainsRequest.rejected, (state) => {\n state.getCustomDomainsRequest.status = RequestStatus.Failed;\n });\n\n // Get Sequence Prospect Verification Stats\n builder.addCase(\n getSequenceProspectVerificationStatsRequest.pending,\n (state) => {\n state.getSequenceProspectVerificationStatsRequest.status =\n RequestStatus.Pending;\n state.getSequenceProspectVerificationStatsRequest.message = null;\n state.getSequenceProspectVerificationStatsRequest.error = null;\n },\n );\n builder.addCase(\n getSequenceProspectVerificationStatsRequest.fulfilled,\n (state, action) => {\n state.getSequenceProspectVerificationStatsRequest.status =\n RequestStatus.Succeeded;\n state.sequenceProspectsVerificationStatsResponse =\n action.payload.payload;\n },\n );\n builder.addCase(\n getSequenceProspectVerificationStatsRequest.rejected,\n (state, action) => {\n state.getSequenceProspectVerificationStatsRequest.status =\n RequestStatus.Failed;\n state.getSequenceProspectVerificationStatsRequest.message =\n action.payload.message;\n state.getSequenceProspectVerificationStatsRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Send Sequence Prospect Verification Start Request\n builder.addCase(sendSequenceProspectVerifyStartRequest.pending, (state) => {\n state.sendSequenceProspectVerifyStartRequest.status =\n RequestStatus.Pending;\n state.sendSequenceProspectVerifyStartRequest.message = null;\n state.sendSequenceProspectVerifyStartRequest.error = null;\n });\n builder.addCase(\n sendSequenceProspectVerifyStartRequest.fulfilled,\n (state, action) => {\n state.sendSequenceProspectVerifyStartRequest.status =\n RequestStatus.Succeeded;\n state.sequenceProspectsVerifyStartResponse = action.payload.payload;\n state.sendSequenceProspectVerifyStartRequest.message =\n action.payload.message;\n state.sendSequenceProspectVerifyStartRequest.error = null;\n },\n );\n builder.addCase(\n sendSequenceProspectVerifyStartRequest.rejected,\n (state, action) => {\n state.sendSequenceProspectVerifyStartRequest.status =\n RequestStatus.Failed;\n state.sendSequenceProspectVerifyStartRequest.message =\n action.payload.message;\n state.sendSequenceProspectVerifyStartRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Upload Attachment Request\n builder.addCase(uploadAttachmentRequest.pending, (state) => {\n state.uploadAttachmentRequest.status = RequestStatus.Pending;\n state.uploadAttachmentRequest.message = null;\n state.uploadAttachmentRequest.error = null;\n });\n builder.addCase(uploadAttachmentRequest.fulfilled, (state, action) => {\n state.uploadAttachmentRequest.status = RequestStatus.Succeeded;\n state.uploadedAttachment = action.payload.payload;\n state.uploadAttachmentRequest.message = action.payload.message;\n state.uploadAttachmentRequest.error = null;\n });\n builder.addCase(uploadAttachmentRequest.rejected, (state, action) => {\n state.uploadAttachmentRequest.status = RequestStatus.Failed;\n state.uploadAttachmentRequest.message = action.payload.message;\n state.uploadAttachmentRequest.error =\n !action.payload.isHandled && action.payload;\n\n state.uploadedAttachment = {\n attachmentId: null,\n attachmentIdentifier: action.meta.arg.formData\n .get('attachmentIdentifier')\n .toString(),\n };\n });\n\n // Delete Attachment Request\n builder.addCase(deleteAttachmentRequest.pending, (state) => {\n state.deleteAttachmentRequest.status = RequestStatus.Pending;\n state.deleteAttachmentRequest.message = null;\n state.deleteAttachmentRequest.error = null;\n });\n builder.addCase(deleteAttachmentRequest.fulfilled, (state, action) => {\n state.deleteAttachmentRequest.status = RequestStatus.Succeeded;\n state.deleteAttachmentRequest.message = action.payload.message;\n state.deleteAttachmentRequest.error = null;\n state.deletedAttachmentId = action.meta.arg.attachmentId;\n });\n builder.addCase(deleteAttachmentRequest.rejected, (state, action) => {\n state.deleteAttachmentRequest.status = RequestStatus.Failed;\n state.deleteAttachmentRequest.message = action.payload.message;\n state.deleteAttachmentRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Sent Email Preview\n builder.addCase(getSentEmailPreviewRequest.pending, (state) => {\n state.getSentEmailPreviewRequest.status = RequestStatus.Pending;\n state.getSentEmailPreviewRequest.message = null;\n state.getSentEmailPreviewRequest.error = null;\n });\n builder.addCase(getSentEmailPreviewRequest.fulfilled, (state, action) => {\n state.getSentEmailPreviewRequest.status = RequestStatus.Succeeded;\n const { toEmail, ...rest } = action.payload.payload;\n state.sentEmailPreview = {\n ...rest,\n to: toEmail ? [toEmail] : [],\n };\n });\n builder.addCase(getSentEmailPreviewRequest.rejected, (state, action) => {\n state.getSentEmailPreviewRequest.status = RequestStatus.Failed;\n state.getSentEmailPreviewRequest.message = action.payload.message;\n state.getSentEmailPreviewRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Single Contact Details\n builder.addCase(getSingleProspectDetailsRequest.pending, (state) => {\n state.getSingleProspectDetailsRequest.status = RequestStatus.Pending;\n state.getSingleProspectDetailsRequest.error = null;\n });\n builder.addCase(\n getSingleProspectDetailsRequest.fulfilled,\n (state, action) => {\n state.getSingleProspectDetailsRequest.status = RequestStatus.Succeeded;\n state.getSingleProspectDetailsRequest.message = action.payload.message;\n state.selectedProspectData = action.payload.payload;\n },\n );\n builder.addCase(\n getSingleProspectDetailsRequest.rejected,\n (state, action) => {\n state.getSingleProspectDetailsRequest.status = RequestStatus.Failed;\n state.getSingleProspectDetailsRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Get Single Contact Sequence Details\n builder.addCase(\n getSingleProspectSequencesDetailsRequest.pending,\n (state) => {\n state.getSingleProspectSequencesDetailsRequest.status =\n RequestStatus.Pending;\n state.getSingleProspectSequencesDetailsRequest.error = null;\n },\n );\n builder.addCase(\n getSingleProspectSequencesDetailsRequest.fulfilled,\n (state, action) => {\n state.getSingleProspectSequencesDetailsRequest.status =\n RequestStatus.Succeeded;\n state.getSingleProspectSequencesDetailsRequest.message =\n action.payload.message;\n state.selectedProspectSequences = action.payload.payload;\n },\n );\n builder.addCase(\n getSingleProspectSequencesDetailsRequest.rejected,\n (state, action) => {\n state.getSingleProspectSequencesDetailsRequest.status =\n RequestStatus.Failed;\n state.getSingleProspectSequencesDetailsRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Get Sequence Score\n builder.addCase(getSequenceScoreRequest.pending, (state) => {\n state.getSequenceScoreRequest.status = RequestStatus.Pending;\n state.getSequenceScoreRequest.error = null;\n });\n builder.addCase(getSequenceScoreRequest.fulfilled, (state, action) => {\n state.getSequenceScoreRequest.status = RequestStatus.Succeeded;\n state.getSequenceScoreRequest.message = action.payload.message;\n state.sequenceScore = action.payload.payload;\n });\n builder.addCase(getSequenceScoreRequest.rejected, (state, action) => {\n state.getSequenceScoreRequest.status = RequestStatus.Failed;\n state.getSequenceScoreRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Sequence Score\n builder.addCase(createEmailWritingFactorsRequest.pending, (state) => {\n state.createEmailWritingFactorsRequest.status = RequestStatus.Pending;\n state.createEmailWritingFactorsRequest.error = null;\n });\n builder.addCase(\n createEmailWritingFactorsRequest.fulfilled,\n (state, action) => {\n state.createEmailWritingFactorsRequest.status = RequestStatus.Succeeded;\n state.createEmailWritingFactorsRequest.message = action.payload.message;\n state.sequenceScore = action.payload.payload;\n },\n );\n builder.addCase(\n createEmailWritingFactorsRequest.rejected,\n (state, action) => {\n state.createEmailWritingFactorsRequest.status = RequestStatus.Failed;\n state.createEmailWritingFactorsRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Get Linked Email Accounts Request\n builder.addCase(getLinkedEmailAccountsRequest.pending, (state) => {\n state.getLinkedEmailAccountsRequest.status = RequestStatus.Pending;\n state.getLinkedEmailAccountsRequest.message = null;\n state.getLinkedEmailAccountsRequest.error = null;\n });\n builder.addCase(\n getLinkedEmailAccountsRequest.fulfilled,\n (state, action) => {\n state.getLinkedEmailAccountsRequest.status = RequestStatus.Succeeded;\n state.getLinkedEmailAccountsResponse = action.payload.payload;\n },\n );\n builder.addCase(getLinkedEmailAccountsRequest.rejected, (state, action) => {\n state.getLinkedEmailAccountsRequest.status = RequestStatus.Failed;\n state.getLinkedEmailAccountsRequest.message = action.payload.message;\n state.getLinkedEmailAccountsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Send Link Email Account Request\n builder.addCase(linkEmailToSequenceRequest.pending, (state) => {\n state.linkEmailToSequenceRequest.status = RequestStatus.Pending;\n state.linkEmailToSequenceRequest.message = null;\n state.linkEmailToSequenceRequest.error = null;\n });\n builder.addCase(linkEmailToSequenceRequest.fulfilled, (state, action) => {\n state.linkEmailToSequenceRequest.status = RequestStatus.Succeeded;\n state.linkEmailToSequenceRequest.message = action.payload.message;\n });\n builder.addCase(linkEmailToSequenceRequest.rejected, (state, action) => {\n state.linkEmailToSequenceRequest.status = RequestStatus.Failed;\n state.linkEmailToSequenceRequest.message = action.payload.message;\n state.linkEmailToSequenceRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get All Not Linked Email Accounts\n builder.addCase(getAllNotLinkedEmailAccountsRequest.pending, (state) => {\n state.getAllNotLinkedEmailAccountsRequest.status = RequestStatus.Pending;\n state.getAllNotLinkedEmailAccountsRequest.message = null;\n state.getAllNotLinkedEmailAccountsRequest.error = null;\n });\n builder.addCase(\n getAllNotLinkedEmailAccountsRequest.fulfilled,\n (state, action) => {\n state.getAllNotLinkedEmailAccountsRequest.status =\n RequestStatus.Succeeded;\n state.getAllNotLinkedEmailAccountsResponse = action.payload.payload;\n },\n );\n builder.addCase(\n getAllNotLinkedEmailAccountsRequest.rejected,\n (state, action) => {\n state.getAllNotLinkedEmailAccountsRequest.status = RequestStatus.Failed;\n state.getAllNotLinkedEmailAccountsRequest.message =\n action.payload.message;\n state.getAllNotLinkedEmailAccountsRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Remove Connected Email Account\n builder.addCase(removeConnectedEMailAccountRequest.pending, (state) => {\n state.removeConnectedEMailAccountRequest.status = RequestStatus.Pending;\n state.removeConnectedEMailAccountRequest.message = null;\n state.removeConnectedEMailAccountRequest.error = null;\n });\n builder.addCase(\n removeConnectedEMailAccountRequest.fulfilled,\n (state, action) => {\n state.removeConnectedEMailAccountRequest.status =\n RequestStatus.Succeeded;\n state.removeConnectedEMailAccountRequest.message =\n action.payload.message;\n },\n );\n builder.addCase(\n removeConnectedEMailAccountRequest.rejected,\n (state, action) => {\n state.removeConnectedEMailAccountRequest.status = RequestStatus.Failed;\n state.removeConnectedEMailAccountRequest.message =\n action.payload.message;\n state.removeConnectedEMailAccountRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Get Not Linked Email Accounts Count\n builder.addCase(getNotLinkedEmailAccountsCountRequest.pending, (state) => {\n state.getNotLinkedEmailAccountsCountRequest.status =\n RequestStatus.Pending;\n state.getNotLinkedEmailAccountsCountRequest.message = null;\n state.getNotLinkedEmailAccountsCountRequest.error = null;\n });\n builder.addCase(\n getNotLinkedEmailAccountsCountRequest.fulfilled,\n (state, action) => {\n state.getNotLinkedEmailAccountsCountRequest.status =\n RequestStatus.Succeeded;\n state.getNotLinkedEmailAccountsCountResponse = action.payload.payload;\n },\n );\n builder.addCase(\n getNotLinkedEmailAccountsCountRequest.rejected,\n (state, action) => {\n state.getNotLinkedEmailAccountsCountRequest.status =\n RequestStatus.Failed;\n state.getNotLinkedEmailAccountsCountRequest.message =\n action.payload.message;\n state.getNotLinkedEmailAccountsCountRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Get Sender Emails\n builder.addCase(getSenderEmailsRequest.pending, (state) => {\n state.getSenderEmailsRequest.status = RequestStatus.Pending;\n state.getSenderEmailsRequest.message = null;\n state.getSenderEmailsRequest.error = null;\n });\n builder.addCase(getSenderEmailsRequest.fulfilled, (state, action) => {\n state.getSenderEmailsRequest.status = RequestStatus.Succeeded;\n state.getSenderEmailsResponse = action.payload.payload;\n });\n builder.addCase(getSenderEmailsRequest.rejected, (state, action) => {\n state.getSenderEmailsRequest.status = RequestStatus.Failed;\n state.getSenderEmailsRequest.message = action.payload.message;\n state.getSenderEmailsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // On Outcome Change\n builder.addCase(onOutcomeChangeRequest.pending, (state) => {\n state.onOutcomeChangeRequest.status = RequestStatus.Pending;\n state.onOutcomeChangeRequest.message = null;\n state.onOutcomeChangeRequest.error = null;\n });\n builder.addCase(onOutcomeChangeRequest.fulfilled, (state, action) => {\n state.onOutcomeChangeRequest.status = RequestStatus.Succeeded;\n state.getSenderEmailsResponse = action.payload.payload;\n });\n builder.addCase(onOutcomeChangeRequest.rejected, (state, action) => {\n state.onOutcomeChangeRequest.status = RequestStatus.Failed;\n state.onOutcomeChangeRequest.message = action.payload.message;\n state.onOutcomeChangeRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Task Assignee List Request\n builder.addCase(getTaskAssigneeListRequest.pending, (state) => {\n state.getTaskAssigneeListRequest.status = RequestStatus.Pending;\n state.getTaskAssigneeListRequest.message = null;\n state.getTaskAssigneeListRequest.error = null;\n });\n builder.addCase(getTaskAssigneeListRequest.fulfilled, (state, action) => {\n state.getTaskAssigneeListRequest.status = RequestStatus.Succeeded;\n state.taskAssigneeList = action.payload.payload;\n });\n builder.addCase(getTaskAssigneeListRequest.rejected, (state, action) => {\n state.getTaskAssigneeListRequest.status = RequestStatus.Failed;\n state.getTaskAssigneeListRequest.message = action.payload.message;\n state.getTaskAssigneeListRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Bulk Sequence Pause\n builder.addCase(bulkPauseSequenceRequest.pending, (state) => {\n state.bulkPauseSequenceRequest.status = RequestStatus.Pending;\n state.bulkPauseSequenceRequest.message = null;\n state.bulkPauseSequenceRequest.error = null;\n });\n builder.addCase(bulkPauseSequenceRequest.fulfilled, (state, action) => {\n state.bulkPauseSequenceRequest.status = RequestStatus.Succeeded;\n state.sequenceActionStats = action.payload.payload;\n });\n builder.addCase(bulkPauseSequenceRequest.rejected, (state, action) => {\n state.bulkPauseSequenceRequest.status = RequestStatus.Failed;\n state.bulkPauseSequenceRequest.message = action.payload.message;\n state.bulkPauseSequenceRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Bulk Sequence Resume\n builder.addCase(bulkResumeSequenceRequest.pending, (state) => {\n state.bulkResumeSequenceRequest.status = RequestStatus.Pending;\n state.bulkResumeSequenceRequest.message = null;\n state.bulkResumeSequenceRequest.error = null;\n });\n builder.addCase(bulkResumeSequenceRequest.fulfilled, (state, action) => {\n state.bulkResumeSequenceRequest.status = RequestStatus.Succeeded;\n state.sequenceActionStats = action.payload.payload;\n });\n builder.addCase(bulkResumeSequenceRequest.rejected, (state, action) => {\n state.bulkResumeSequenceRequest.status = RequestStatus.Failed;\n state.bulkResumeSequenceRequest.message = action.payload.message;\n state.bulkResumeSequenceRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get All Connected Email Accounts\n builder.addCase(getAllConnectedEmailAccountsRequest.pending, (state) => {\n state.getAllConnectedEmailAccountsRequest.status = RequestStatus.Pending;\n state.getAllConnectedEmailAccountsRequest.message = null;\n state.getAllConnectedEmailAccountsRequest.error = null;\n });\n builder.addCase(\n getAllConnectedEmailAccountsRequest.fulfilled,\n (state, action) => {\n state.getAllConnectedEmailAccountsRequest.status =\n RequestStatus.Succeeded;\n state.allConnectedEmailAccounts = action.payload.payload;\n },\n );\n builder.addCase(\n getAllConnectedEmailAccountsRequest.rejected,\n (state, action) => {\n state.getAllConnectedEmailAccountsRequest.status = RequestStatus.Failed;\n state.getAllConnectedEmailAccountsRequest.message =\n action.payload.message;\n state.getAllConnectedEmailAccountsRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Get Sequence Timezone Request\n builder.addCase(getSequenceTimezoneRequest.pending, (state, action) => {\n const { uniqueId } = action.meta.arg;\n if (!state.getSequenceTimezoneRequest[uniqueId]) {\n state.getSequenceTimezoneRequest[uniqueId] = {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n };\n }\n state.getSequenceTimezoneRequest[uniqueId].status = RequestStatus.Pending;\n state.getSequenceTimezoneRequest[uniqueId].error = null;\n });\n builder.addCase(getSequenceTimezoneRequest.fulfilled, (state, action) => {\n const { uniqueId } = action.meta.arg;\n if (state.getSequenceTimezoneRequest[uniqueId]) {\n state.getSequenceTimezoneRequest[uniqueId].status =\n RequestStatus.Succeeded;\n state.getSequenceTimezoneRequest[uniqueId].error = null;\n\n if (action.payload?.payload?.timezone) {\n state.getSequenceTimezoneResponse[uniqueId] =\n action.payload.payload.timezone;\n }\n }\n });\n builder.addCase(getSequenceTimezoneRequest.rejected, (state, action) => {\n const { uniqueId } = action.meta.arg;\n if (state.getSequenceTimezoneRequest[uniqueId]) {\n state.getSequenceTimezoneRequest[uniqueId].status =\n RequestStatus.Failed;\n state.getSequenceTimezoneRequest[uniqueId].message =\n action.payload.message;\n state.getSequenceTimezoneRequest[uniqueId].error =\n !action.payload.isHandled && action.payload;\n }\n });\n // Sequence Prospect Bulk Status Update Request\n builder.addCase(\n sequenceProspectBulkStatusUpdateRequest.pending,\n (state) => {\n state.sequenceProspectBulkStatusUpdateRequest.status =\n RequestStatus.Pending;\n state.sequenceProspectBulkStatusUpdateRequest.message = null;\n state.sequenceProspectBulkStatusUpdateRequest.error = null;\n },\n );\n builder.addCase(\n sequenceProspectBulkStatusUpdateRequest.fulfilled,\n (state, action) => {\n state.sequenceProspectBulkStatusUpdateRequest.status =\n RequestStatus.Succeeded;\n state.sequenceProspectBulkStatusUpdateRequest.message =\n action.payload.payload.message;\n },\n );\n builder.addCase(\n sequenceProspectBulkStatusUpdateRequest.rejected,\n (state, action) => {\n state.sequenceProspectBulkStatusUpdateRequest.status =\n RequestStatus.Failed;\n state.sequenceProspectBulkStatusUpdateRequest.message =\n action.payload.message;\n state.sequenceProspectBulkStatusUpdateRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Sequence Prospect Bulk Tag Assign Request\n builder.addCase(sequenceProspectBulkTagAssignRequest.pending, (state) => {\n state.sequenceProspectBulkTagAssignRequest.status = RequestStatus.Pending;\n state.sequenceProspectBulkTagAssignRequest.message = null;\n state.sequenceProspectBulkTagAssignRequest.error = null;\n });\n builder.addCase(\n sequenceProspectBulkTagAssignRequest.fulfilled,\n (state, action) => {\n state.sequenceProspectBulkTagAssignRequest.status =\n RequestStatus.Succeeded;\n state.sequenceProspectBulkTagAssignRequest.message =\n action.payload.payload.message;\n },\n );\n builder.addCase(\n sequenceProspectBulkTagAssignRequest.rejected,\n (state, action) => {\n state.sequenceProspectBulkTagAssignRequest.status =\n RequestStatus.Failed;\n state.sequenceProspectBulkTagAssignRequest.message =\n action.payload.message;\n state.sequenceProspectBulkTagAssignRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Sequence Prospect Bulk Tag UnAssign Request\n builder.addCase(sequenceProspectBulkTagUnAssignRequest.pending, (state) => {\n state.sequenceProspectBulkTagUnAssignRequest.status =\n RequestStatus.Pending;\n state.sequenceProspectBulkTagUnAssignRequest.message = null;\n state.sequenceProspectBulkTagUnAssignRequest.error = null;\n });\n builder.addCase(\n sequenceProspectBulkTagUnAssignRequest.fulfilled,\n (state, action) => {\n state.sequenceProspectBulkTagUnAssignRequest.status =\n RequestStatus.Succeeded;\n state.sequenceProspectBulkTagUnAssignRequest.message =\n action.payload.payload.message;\n },\n );\n builder.addCase(\n sequenceProspectBulkTagUnAssignRequest.rejected,\n (state, action) => {\n state.sequenceProspectBulkTagUnAssignRequest.status =\n RequestStatus.Failed;\n state.sequenceProspectBulkTagUnAssignRequest.message =\n action.payload.message;\n state.sequenceProspectBulkTagUnAssignRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Sequence Prospect Bulk Add To Sequence Request\n builder.addCase(\n sequenceProspectBulkAddToSequenceRequest.pending,\n (state) => {\n state.sequenceProspectBulkAddToSequenceRequest.status =\n RequestStatus.Pending;\n state.sequenceProspectBulkAddToSequenceRequest.message = null;\n state.sequenceProspectBulkAddToSequenceRequest.error = null;\n },\n );\n builder.addCase(\n sequenceProspectBulkAddToSequenceRequest.fulfilled,\n (state, action) => {\n state.sequenceProspectBulkAddToSequenceRequest.status =\n RequestStatus.Succeeded;\n state.sequenceProspectBulkAddToSequenceRequest.message =\n action.payload.payload.message;\n },\n );\n builder.addCase(\n sequenceProspectBulkAddToSequenceRequest.rejected,\n (state, action) => {\n state.sequenceProspectBulkAddToSequenceRequest.status =\n RequestStatus.Failed;\n state.sequenceProspectBulkAddToSequenceRequest.message =\n action.payload.message;\n state.sequenceProspectBulkAddToSequenceRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Sequence Prospect Bulk Remove From Sequence Request\n builder.addCase(\n sequenceProspectBulkRemoveFromSequenceRequest.pending,\n (state) => {\n state.sequenceProspectBulkRemoveFromSequenceRequest.status =\n RequestStatus.Pending;\n state.sequenceProspectBulkRemoveFromSequenceRequest.message = null;\n state.sequenceProspectBulkRemoveFromSequenceRequest.error = null;\n },\n );\n builder.addCase(\n sequenceProspectBulkRemoveFromSequenceRequest.fulfilled,\n (state, action) => {\n state.sequenceProspectBulkRemoveFromSequenceRequest.status =\n RequestStatus.Succeeded;\n state.sequenceProspectBulkRemoveFromSequenceRequest.message =\n action.payload.payload.message;\n },\n );\n builder.addCase(\n sequenceProspectBulkRemoveFromSequenceRequest.rejected,\n (state, action) => {\n state.sequenceProspectBulkRemoveFromSequenceRequest.status =\n RequestStatus.Failed;\n state.sequenceProspectBulkRemoveFromSequenceRequest.message =\n action.payload.message;\n state.sequenceProspectBulkRemoveFromSequenceRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Get Sequence Stats Counts Request\n builder.addCase(getSequenceStatsCountsRequest.pending, (state) => {\n state.getSequenceStatsCountsRequest.status = RequestStatus.Pending;\n state.getSequenceStatsCountsRequest.message = null;\n state.getSequenceStatsCountsRequest.error = null;\n });\n builder.addCase(\n getSequenceStatsCountsRequest.fulfilled,\n (state, action) => {\n state.getSequenceStatsCountsRequest.status = RequestStatus.Succeeded;\n state.getSequenceStatsCountsRequest.message =\n action.payload.payload.message;\n state.sequenceStatsCounts = action.payload.payload;\n },\n );\n builder.addCase(getSequenceStatsCountsRequest.rejected, (state, action) => {\n state.getSequenceStatsCountsRequest.status = RequestStatus.Failed;\n state.getSequenceStatsCountsRequest.message = action.payload.message;\n state.getSequenceStatsCountsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Esp-Matching Details\n builder.addCase(getEspMatchingDetailsRequest.pending, (state) => {\n state.getEspMatchingDetailsRequest.status = RequestStatus.Pending;\n state.getEspMatchingDetailsRequest.error = null;\n });\n builder.addCase(getEspMatchingDetailsRequest.fulfilled, (state, action) => {\n state.getEspMatchingDetailsRequest.status = RequestStatus.Succeeded;\n state.getEspMatchingDetailsRequest.message = action.payload.message;\n state.espMatchingDetails = action.payload.payload;\n });\n builder.addCase(getEspMatchingDetailsRequest.rejected, (state, action) => {\n state.getEspMatchingDetailsRequest.status = RequestStatus.Failed;\n state.getEspMatchingDetailsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // ** Get Sequence Prospect Steps States\n builder.addCase(getSequenceProspectStepStatesRequest.pending, (state) => {\n // Api Pending State\n state.getSequenceProspectStepStatesRequest.status = RequestStatus.Pending;\n state.getSequenceProspectStepStatesRequest.error = null;\n });\n builder.addCase(\n getSequenceProspectStepStatesRequest.fulfilled,\n (state, action) => {\n // Api Success State\n state.getSequenceProspectStepStatesRequest.status =\n RequestStatus.Succeeded;\n state.getSequenceProspectStepStatesRequest.message =\n action.payload.message;\n state.sequenceStepsStates = action?.payload?.payload || [];\n },\n );\n builder.addCase(\n getSequenceProspectStepStatesRequest.rejected,\n (state, action) => {\n // Api Failed State\n state.getSequenceProspectStepStatesRequest.status =\n RequestStatus.Failed;\n state.getSequenceProspectStepStatesRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // ** Get Sequence Email Accounts States\n builder.addCase(getSequenceEmailAccountStatesRequest.pending, (state) => {\n // Api Pending State\n state.getSequenceEmailAccountStatesRequest.status = RequestStatus.Pending;\n state.getSequenceEmailAccountStatesRequest.error = null;\n });\n builder.addCase(\n getSequenceEmailAccountStatesRequest.fulfilled,\n (state, action) => {\n // Api Success State\n state.getSequenceEmailAccountStatesRequest.status =\n RequestStatus.Succeeded;\n state.getSequenceEmailAccountStatesRequest.message =\n action.payload.message;\n state.sequenceEmailAccStates = action?.payload?.payload || [];\n },\n );\n builder.addCase(\n getSequenceEmailAccountStatesRequest.rejected,\n (state, action) => {\n // Api Failed State\n state.getSequenceEmailAccountStatesRequest.status =\n RequestStatus.Failed;\n state.getSequenceEmailAccountStatesRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n },\n});\n\nexport const {\n resetPaginationOptions,\n checkedChange,\n checkChangeAll,\n resetSequence,\n resetContacts,\n changeContactPagination,\n selectSingleSequenceContact,\n selectAllSequenceContact,\n setSequenceEmailsFilter,\n resetSequenceEmailsFilters,\n resetContactSequenceAndStepData,\n resetStep,\n resetSelectedContacts,\n resetSelectedSequences,\n resetProspectsForModal,\n resetOnboardingFinish,\n resetEmail,\n resetSequenceSettings,\n resetSequenceSettingUpdateRequestStatus,\n resetSequenceConfigRequestStatus,\n resetSequenceSettingsContentRequest,\n setSequenceProspectsFilters,\n resetSequenceProspectsFilters,\n resetPauseResumeSequenceState,\n resetSequenceProspectVerificationStats,\n resetSequenceProspectVerifyStart,\n resetPauseResumeSequenceRequestState,\n resetUploadAttachmentRequest,\n resetDeleteAttachmentRequest,\n resetPauseResumeResultCount,\n resetGetSentEmailPreviewRequest,\n setSelectedProspectId,\n resetSelectedProspectId,\n resetSelectedProspectData,\n sendCreateEmailWritingScoreForStepOne,\n resetLinkEmailAccountsState,\n resetRemoveEmailAccountState,\n resetChangeOutcomeRequest,\n resetAddStepRequest,\n updateStepsRequest,\n resetBulkPauseSequenceRequest,\n resetBulkResumeSequenceRequest,\n resetSequencesData,\n setLastAbsoluteDay,\n resetChangeEmailStatusRequest,\n resetContactsRequest,\n resetSequenceTimezoneData,\n clearSelection,\n selectAllContacts,\n checkAll,\n checkSingle,\n resetSequenceProspectBulkStatusUpdateRequest,\n resetSequenceProspectBulkTagAssignRequest,\n resetSequenceProspectBulkTagUnAssignRequest,\n resetSequenceProspectBulkAddToSequenceRequest,\n resetSequenceProspectBulkRemoveFromSequenceRequest,\n resetSequenceStatsCountsRequest,\n setIsSequenceCreatedFromOnboarding,\n toggleStepsGuideVisibility,\n setIsAiGeneratedVariant,\n resetIsAiGeneratedVariant,\n resetAiGeneratedVariantDetails,\n resetGetAIGeneratedEmailVariantRequestState,\n removeAIGeneratedVariantDefaultAttachement,\n resetSequenceStepsStates,\n resetSequenceEmailAccStates,\n} = sequenceSlice.actions;\nexport default sequenceSlice.reducer;\n","import validator from 'validator';\nimport { AgencyClientDisplayState, AgencyClientFilter } from '../types/types';\nimport { getTruncatedTextForCategory } from '../../unified-inbox/helpers/utils/get-truncated-text-for-category';\nimport { AgencyClientStatus } from '../enums/agency-client';\n\nexport const fields = [\n {\n fieldType: 'text',\n id: 1,\n label: 'First Name',\n name: 'firstName',\n placeholder: 'John',\n },\n {\n fieldType: 'text',\n id: 2,\n label: 'Last Name',\n name: 'lastName',\n placeholder: 'Doe',\n },\n {\n fieldType: 'email',\n id: 3,\n label: 'Client Email',\n name: 'email',\n placeholder: 'john@acme.com',\n },\n {\n fieldType: 'text',\n id: 4,\n label: 'Company Name',\n name: 'companyName',\n placeholder: 'Acme',\n },\n];\n\nconst nameValidator = (\n value: string,\n key: string,\n checkIsAlpha = true,\n maxCharLimit = 25,\n): string => {\n if (validator.isEmpty(value)) {\n return `${key} name is required.`;\n }\n if (checkIsAlpha && !validator.isAlpha(value)) {\n return `Alphabetic characters only.`;\n }\n if (!validator.isLength(value, { min: 1, max: maxCharLimit })) {\n return `Should be between 1-${maxCharLimit} characters.`;\n }\n return '';\n};\n\nexport const validate = (name: string, value: string): string => {\n switch (name) {\n case 'firstName':\n return nameValidator(value, 'First');\n\n case 'lastName':\n return nameValidator(value, 'Last');\n\n case 'email':\n if (validator.isEmpty(value)) {\n return 'Email is required';\n }\n if (!validator.isEmail(value)) {\n return 'Please enter a valid email address.';\n }\n break;\n\n case 'companyName':\n return nameValidator(value, 'Company', false, 100);\n default:\n break;\n }\n\n return '';\n};\n\nexport const getClientName = (\n client: AgencyClientFilter,\n truncateLength: number,\n show: AgencyClientDisplayState,\n): string => {\n const { firstName, companyName, email, status } = client;\n let name = '';\n if (show.name) {\n name += firstName;\n }\n if (show.company) {\n if (name.length) {\n name += ' - ';\n }\n name += companyName;\n }\n if (show.email) {\n if (name.length) {\n name += ` (${email})`;\n } else {\n name = `${email}`;\n }\n }\n if (status === AgencyClientStatus.Deleted && show.deleted) {\n name += ' (deleted)';\n }\n return truncateLength > 0\n ? getTruncatedTextForCategory(name, truncateLength)\n : name;\n};\n","// eslint-disable-next-line import/prefer-default-export\nexport enum Encryption {\n TLS = 'TLS',\n SSL = 'SSL',\n}\n","/* eslint-disable no-restricted-globals */\nimport { hideLoading, showLoading } from 'react-redux-loading-bar';\nimport { StatusBadgeVariant } from '../../../../../shared/design-system/components/molecules/status-badge/types';\nimport toaster, { Theme } from '../../../../../shared/toaster';\nimport store from '../../../../../store';\nimport {\n EmailAccountMethod,\n EmailAccountType,\n EmailAccountsSortBy,\n EmailServiceProvider,\n} from '../../../enums/email-account';\nimport { Encryption } from '../../../enums/smtp-imap-encryption';\nimport { SMTPIMAP } from '../../../enums/smtp-or-imap';\nimport {\n EmailProviderDropDown,\n SmtpImapProviders,\n LastTestConnection,\n} from '../components/connect-smtp-imap-account-modal/types';\nimport history from '../../../../../shared/history';\nimport { Order } from '../../../../../shared/enums/order';\nimport { EmailAccountsFilters } from '../../../types/email-account';\n\nconst freeGmailAccounts = ['gmail.com', 'googlemail.com'];\n\nexport const getEmailAccountType = (emailAccount) =>\n emailAccount.type === EmailAccountType.Gmail\n ? EmailAccountMethod.Gmail\n : EmailAccountMethod.Microsoft;\n\nexport const showHideLoading = (isLoading, prevPropsIsLoading) => {\n if (isLoading !== prevPropsIsLoading) {\n if (isLoading) {\n store.dispatch(showLoading());\n } else {\n store.dispatch(hideLoading());\n }\n }\n};\n\nexport const showToasterWithErrorCheck = (error) => {\n if (error) {\n if (typeof error === 'string') {\n toaster.error(error, {\n theme: Theme.New,\n showCloseIcon: true,\n delay: 10000,\n });\n\n return;\n }\n toaster.error(error.message, {\n theme: Theme.New,\n showCloseIcon: true,\n delay: 10000,\n });\n }\n};\n\nexport const shouldShowAddEmailAccountModal = (\n showAddEmailAccountModalProp,\n prevShowAddEmailAccountModalProp,\n): boolean =>\n showAddEmailAccountModalProp !== prevShowAddEmailAccountModalProp &&\n showAddEmailAccountModalProp;\n\nexport const isSavedSMTPAccount = (emailAccount) =>\n emailAccount.smtpImapConnectionPayload\n ? emailAccount?.smtpImapConnectionPayload?.smtpConnectionErrorDetails !==\n null ||\n emailAccount?.smtpImapConnectionPayload?.imapConnectionErrorDetails !==\n null\n : false;\n\nconst smtpHosts = {\n [SmtpImapProviders.GmailGsuite]: 'smtp.gmail.com',\n [SmtpImapProviders.Office365]: 'smtp.office365.com',\n [SmtpImapProviders.OutlookHotmailLive]: 'smtp-mail.outlook.com',\n [SmtpImapProviders.YahooMail]: 'smtp.mail.yahoo.com',\n [SmtpImapProviders.Zoho]: 'smtp.zoho.com',\n [SmtpImapProviders.Godaddy]: 'smtpout.secureserver.net',\n [SmtpImapProviders.Sendgrid]: 'smtp.sendgrid.net',\n [SmtpImapProviders.Yandex]: 'smtp.yandex.com',\n};\n\nconst smtpPorts = {\n [SmtpImapProviders.GmailGsuite]: 465,\n [SmtpImapProviders.Office365]: 587,\n [SmtpImapProviders.OutlookHotmailLive]: 587,\n [SmtpImapProviders.YahooMail]: 465,\n [SmtpImapProviders.Zoho]: 465,\n [SmtpImapProviders.Godaddy]: 465,\n [SmtpImapProviders.Sendgrid]: 465,\n [SmtpImapProviders.Yandex]: 465,\n};\n\nconst smtpEncryptions = {\n [SmtpImapProviders.GmailGsuite]: Encryption.SSL,\n [SmtpImapProviders.Office365]: Encryption.TLS,\n [SmtpImapProviders.OutlookHotmailLive]: Encryption.TLS,\n [SmtpImapProviders.YahooMail]: Encryption.SSL,\n [SmtpImapProviders.Zoho]: Encryption.SSL,\n [SmtpImapProviders.Godaddy]: Encryption.SSL,\n [SmtpImapProviders.Sendgrid]: Encryption.SSL,\n [SmtpImapProviders.Yandex]: Encryption.SSL,\n};\n\nconst imapHosts = {\n [SmtpImapProviders.GmailGsuite]: 'imap.gmail.com',\n [SmtpImapProviders.Office365]: 'outlook.office365.com',\n [SmtpImapProviders.OutlookHotmailLive]: 'imap-mail.outlook.com',\n [SmtpImapProviders.YahooMail]: 'imap.mail.yahoo.com',\n [SmtpImapProviders.Zoho]: 'imap.zoho.com',\n [SmtpImapProviders.Godaddy]: 'imap.secureserver.net',\n [SmtpImapProviders.Sendgrid]: null,\n [SmtpImapProviders.Yandex]: 'imap.yandex.com',\n};\n\nconst imapPorts = {\n [SmtpImapProviders.GmailGsuite]: 993,\n [SmtpImapProviders.Office365]: 993,\n [SmtpImapProviders.OutlookHotmailLive]: 993,\n [SmtpImapProviders.YahooMail]: 993,\n [SmtpImapProviders.Zoho]: 993,\n [SmtpImapProviders.Godaddy]: 993,\n [SmtpImapProviders.Sendgrid]: null,\n [SmtpImapProviders.Yandex]: 993,\n};\n\nconst imapEncryptions = {\n [SmtpImapProviders.GmailGsuite]: Encryption.SSL,\n [SmtpImapProviders.Office365]: Encryption.SSL,\n [SmtpImapProviders.OutlookHotmailLive]: Encryption.SSL,\n [SmtpImapProviders.YahooMail]: Encryption.SSL,\n [SmtpImapProviders.Zoho]: Encryption.SSL,\n [SmtpImapProviders.Godaddy]: Encryption.SSL,\n [SmtpImapProviders.Sendgrid]: null,\n [SmtpImapProviders.Yandex]: Encryption.SSL,\n};\n\nexport const getDefaultValuesForSmtpImapProviders = (\n provider: SmtpImapProviders,\n) => ({\n smtpHostValue: smtpHosts[provider],\n smtpPortValue: smtpPorts[provider],\n smtpEncryptionValue: smtpEncryptions[provider],\n imapHostValue: imapHosts[provider],\n imapPortValue: imapPorts[provider],\n imapEncryptionValue: imapEncryptions[provider],\n});\n\nexport const getDefaultSmtpImapValues = (value) => {\n if (value === SmtpImapProviders.GmailGsuite) {\n return getDefaultValuesForSmtpImapProviders(SmtpImapProviders.GmailGsuite);\n }\n\n if (value === SmtpImapProviders.Office365) {\n return getDefaultValuesForSmtpImapProviders(SmtpImapProviders.Office365);\n }\n\n if (value === SmtpImapProviders.OutlookHotmailLive) {\n return getDefaultValuesForSmtpImapProviders(\n SmtpImapProviders.OutlookHotmailLive,\n );\n }\n\n if (value === SmtpImapProviders.YahooMail) {\n return getDefaultValuesForSmtpImapProviders(SmtpImapProviders.YahooMail);\n }\n\n if (value === SmtpImapProviders.Zoho) {\n return getDefaultValuesForSmtpImapProviders(SmtpImapProviders.Zoho);\n }\n\n if (value === SmtpImapProviders.Godaddy) {\n return getDefaultValuesForSmtpImapProviders(SmtpImapProviders.Godaddy);\n }\n\n if (value === SmtpImapProviders.Sendgrid) {\n return getDefaultValuesForSmtpImapProviders(SmtpImapProviders.Sendgrid);\n }\n\n if (value === SmtpImapProviders.Yandex) {\n return getDefaultValuesForSmtpImapProviders(SmtpImapProviders.Yandex);\n }\n\n return {\n smtpHostValue: null,\n smtpPortValue: null,\n smtpEncryptionValue: Encryption.SSL,\n imapHostValue: null,\n imapPortValue: null,\n imapEncryptionValue: Encryption.SSL,\n };\n};\n\nconst getEmailProviderListValue = (provider) => ({\n key: provider,\n value: provider,\n});\n\nexport const getEmailProviderValue = (key) => {\n const emailProviderLists = [\n {\n key: 'smtp.gmail.com',\n value: getEmailProviderListValue(SmtpImapProviders.GmailGsuite),\n },\n {\n key: 'smtp.office365.com',\n value: getEmailProviderListValue(SmtpImapProviders.Office365),\n },\n {\n key: 'smtp-mail.outlook.com',\n value: getEmailProviderListValue(SmtpImapProviders.OutlookHotmailLive),\n },\n {\n key: 'smtp.mail.yahoo.com',\n value: getEmailProviderListValue(SmtpImapProviders.YahooMail),\n },\n {\n key: 'smtp.zoho.com',\n value: getEmailProviderListValue(SmtpImapProviders.Zoho),\n },\n {\n key: 'smtpout.secureserver.net',\n value: getEmailProviderListValue(SmtpImapProviders.Godaddy),\n },\n {\n key: 'smtp.sendgrid.net',\n value: getEmailProviderListValue(SmtpImapProviders.Sendgrid),\n },\n {\n key: 'smtp.yandex.com',\n value: getEmailProviderListValue(SmtpImapProviders.Yandex),\n },\n ];\n\n const result = emailProviderLists.find(\n (e) =>\n e.key.split('.').slice(-2, -1)[0] === key.split('.').slice(-2, -1)[0],\n );\n\n return result?.value || { key: 'Other', value: 'Other' };\n};\n\nexport const emailProviderDropDown: EmailProviderDropDown[] = [\n { key: SmtpImapProviders.GmailGsuite, value: SmtpImapProviders.GmailGsuite },\n { key: SmtpImapProviders.Office365, value: SmtpImapProviders.Office365 },\n {\n key: SmtpImapProviders.OutlookHotmailLive,\n value: SmtpImapProviders.OutlookHotmailLive,\n },\n { key: SmtpImapProviders.YahooMail, value: SmtpImapProviders.YahooMail },\n { key: SmtpImapProviders.Zoho, value: SmtpImapProviders.Zoho },\n { key: SmtpImapProviders.Godaddy, value: SmtpImapProviders.Godaddy },\n { key: SmtpImapProviders.Sendgrid, value: SmtpImapProviders.Sendgrid },\n { key: SmtpImapProviders.Yandex, value: SmtpImapProviders.Yandex },\n { key: 'Other', value: 'Other' },\n];\n\nexport const encryptionOption = [\n {\n label: Encryption.SSL,\n value: Encryption.SSL,\n },\n {\n label: Encryption.TLS,\n value: Encryption.TLS,\n },\n {\n label: 'None',\n value: 'none',\n },\n];\n\nconst getIsConnectionError = (\n requestFrom,\n connectionType,\n testConnectionResponse,\n connectSmtpImapResponse,\n smtpImapAccountDetailsResponse,\n updateSmtpImapAccountDetailsResponse,\n lastTestConnection,\n) => {\n let isConnectionError;\n let connectionErrorMessage = '';\n\n if (lastTestConnection === LastTestConnection.Test) {\n isConnectionError = testConnectionResponse?.isConnectionEstablished;\n connectionErrorMessage = testConnectionResponse?.error;\n } else if (lastTestConnection === LastTestConnection.ConnectAndSave) {\n isConnectionError =\n connectSmtpImapResponse?.[connectionType]?.isConnectionEstablished;\n connectionErrorMessage = connectSmtpImapResponse?.[connectionType]?.error;\n } else if (lastTestConnection === LastTestConnection.Update) {\n isConnectionError =\n updateSmtpImapAccountDetailsResponse?.[connectionType]\n ?.isConnectionEstablished;\n connectionErrorMessage =\n updateSmtpImapAccountDetailsResponse?.[connectionType]?.error;\n } else if (smtpImapAccountDetailsResponse && requestFrom === SMTPIMAP.IMAP) {\n isConnectionError = !smtpImapAccountDetailsResponse?.imapError\n ?.isErrorInImap;\n connectionErrorMessage =\n smtpImapAccountDetailsResponse?.imapError?.imapConnectionError;\n } else if (smtpImapAccountDetailsResponse && requestFrom === SMTPIMAP.SMTP) {\n isConnectionError = !smtpImapAccountDetailsResponse?.smtpError\n ?.isErrorInSmtp;\n connectionErrorMessage =\n smtpImapAccountDetailsResponse?.smtpError?.smtpConnectionError;\n }\n\n return { isConnectionError, connectionErrorMessage };\n};\n\nexport const getVariantTypeForSmtpImap = ({\n testConnectionResponse,\n connectSmtpImapResponse,\n smtpImapAccountDetailsResponse,\n updateSmtpImapAccountDetailsResponse,\n requestFrom,\n connectionType,\n lastTestConnection,\n}) => {\n let variant: StatusBadgeVariant = StatusBadgeVariant.DANGER;\n const { isConnectionError, connectionErrorMessage } = getIsConnectionError(\n requestFrom,\n connectionType,\n testConnectionResponse,\n connectSmtpImapResponse,\n smtpImapAccountDetailsResponse,\n updateSmtpImapAccountDetailsResponse,\n lastTestConnection,\n );\n\n if (isConnectionError) {\n variant = StatusBadgeVariant.SUCCESS;\n }\n\n return { variant, connectionErrorMessage };\n};\n\nexport const getIsButtonIsLoading = (\n isConnectAccountRequestPending,\n isUpdateSmtpImapAccountRequestPending,\n) => isConnectAccountRequestPending || isUpdateSmtpImapAccountRequestPending;\n\nexport const getIsButtonDisable = (\n isConnectAndSaveButtonDisable,\n isConnectAccountRequestPending,\n isUpdateSmtpImapAccountRequestPending,\n isSenderValid,\n isDisabled,\n) =>\n isConnectAndSaveButtonDisable ||\n isConnectAccountRequestPending ||\n isUpdateSmtpImapAccountRequestPending ||\n isSenderValid ||\n isDisabled;\n\nexport const validateEmail = (email) =>\n String(email)\n .toLowerCase()\n .match(\n /^(([^<>()[\\]\\\\.,;:\\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\nexport const isSMTPTestButtonDisable = ({\n useUsername,\n username,\n smtpEmailAddress,\n smtpEmailPassword,\n smtpHost,\n smtpPort,\n smtpEncryption,\n senderFirstName,\n emailProvider,\n}) => {\n let isUsernameValidate = true;\n\n if (useUsername) {\n isUsernameValidate = username?.length > 0;\n }\n\n return (\n isUsernameValidate &&\n smtpEmailAddress?.length > 0 &&\n smtpEmailPassword?.length > 0 &&\n smtpHost?.length > 0 &&\n smtpPort !== null &&\n smtpEncryption?.length > 0 &&\n senderFirstName?.length > 0 &&\n emailProvider !== null\n );\n};\n\nexport const isIMAPTestButtonDisable = (\n imapEmailAddress,\n imapEmailPassword,\n imapHost,\n imapPort,\n imapEncryption,\n) =>\n imapEmailAddress?.length > 0 &&\n imapEmailPassword?.length > 0 &&\n imapHost?.length > 0 &&\n imapPort !== null &&\n imapEncryption?.length > 0;\n\nexport const getEmailServiceProvider = (emailProvider, emailAddress) => {\n let provider;\n\n switch (emailProvider.value) {\n case SmtpImapProviders.GmailGsuite: {\n const domainName = emailAddress.split('@').pop();\n if (freeGmailAccounts.includes(domainName)) {\n provider = EmailServiceProvider.Gmail;\n } else {\n provider = EmailServiceProvider.Gsuite;\n }\n break;\n }\n case SmtpImapProviders.OutlookHotmailLive:\n provider = EmailServiceProvider.Microsoft;\n break;\n case SmtpImapProviders.Office365:\n provider = EmailServiceProvider.O365;\n break;\n case SmtpImapProviders.YahooMail:\n provider = EmailServiceProvider.Yahoo;\n break;\n case SmtpImapProviders.Godaddy:\n provider = EmailServiceProvider.Godaddy;\n break;\n case SmtpImapProviders.Sendgrid:\n provider = EmailServiceProvider.Sendgrid;\n break;\n case SmtpImapProviders.Zoho:\n provider = EmailServiceProvider.Zoho;\n break;\n case SmtpImapProviders.Yandex:\n provider = EmailServiceProvider.Yandex;\n break;\n default:\n provider = EmailServiceProvider.Other;\n break;\n }\n\n return provider;\n};\n\nexport const useSameEmailPasswordSwitchDisable = (\n emailAddress,\n emailPassword,\n username = null,\n) => {\n const isDisable = emailAddress?.length === 0 || emailPassword?.length === 0;\n if (username) {\n return username?.length === 0 && isDisable;\n }\n\n return isDisable;\n};\n\nexport const showTestConnectionSignal = ({\n sendTestConnectionResponse,\n sendConnectSmtpImapResponse,\n sendGetSmtpImapAccountDetailsResponse,\n sendUpdateSmtpImapAccountDetailsResponse,\n badgeVariant,\n}) =>\n (sendTestConnectionResponse ||\n sendConnectSmtpImapResponse ||\n sendGetSmtpImapAccountDetailsResponse ||\n sendUpdateSmtpImapAccountDetailsResponse) &&\n badgeVariant === StatusBadgeVariant.DANGER;\n\nexport const isUseSameEmailPasswordToggleOn = (\n username,\n smtpEmailAddress,\n smtpEmailPassword,\n imapEmailAddress,\n imapEmailPassword,\n) => {\n const isEmailAddressSame =\n smtpEmailAddress === imapEmailAddress || username === imapEmailAddress;\n const isEmailPasswordSame = smtpEmailPassword === imapEmailPassword;\n\n return isEmailAddressSame && isEmailPasswordSame;\n};\n\nexport const setHotPortEncryptionValue = ({\n smtpHostValue,\n smtpPortValue,\n smtpEncryptionValue,\n imapHostValue,\n imapPortValue,\n imapEncryptionValue,\n setSMTPHost,\n setSMTPPort,\n setSMTPEncryption,\n setIMAPHost,\n setIMAPPort,\n setIMAPEncryption,\n}) => {\n if (smtpHostValue) {\n setSMTPHost();\n }\n if (smtpPortValue) {\n setSMTPPort();\n }\n if (smtpEncryptionValue) {\n setSMTPEncryption();\n }\n if (imapHostValue) {\n setIMAPHost();\n }\n if (imapPortValue) {\n setIMAPPort();\n }\n if (imapEncryptionValue) {\n setIMAPEncryption();\n }\n};\n\nexport const isConnectButtonDisable = (isSMTPTestDisable, isIMAPTestDisabled) =>\n isSMTPTestDisable || isIMAPTestDisabled;\n\nexport const checkEmailValidationBeforeTesting = ({\n isSmtpEmailValid,\n isImapEmailValid,\n requestFrom,\n isSMTPEmailNotValid,\n isIMAPEmailNotValid,\n onEmailIsValid,\n}) => {\n if (!isSmtpEmailValid && requestFrom === SMTPIMAP.SMTP) {\n isSMTPEmailNotValid();\n } else if (!isImapEmailValid && requestFrom === SMTPIMAP.IMAP) {\n isIMAPEmailNotValid();\n } else {\n onEmailIsValid();\n }\n};\n\nexport const checkEmailValidationBeforeConnecting = ({\n isSmtpEmailValid,\n isImapEmailValid,\n isSMTPEmailNotValid,\n isIMAPEmailNotValid,\n onEmailIsValid,\n}) => {\n if (!isSmtpEmailValid) {\n isSMTPEmailNotValid();\n } else if (!isImapEmailValid) {\n isIMAPEmailNotValid();\n } else {\n onEmailIsValid();\n }\n};\n\nexport const getInitialFiltersForEmailAccounts = (): EmailAccountsFilters => {\n const query = new URLSearchParams(history.location.search);\n\n const queriedPage = query.get('page');\n const page =\n queriedPage && !isNaN(Number(queriedPage)) ? parseInt(queriedPage, 10) : 1;\n\n const queriedOrder = query.get('order');\n const order =\n Number(queriedOrder) === Order.Asc || Number(queriedOrder) === Order.Desc\n ? Number(queriedOrder)\n : Order.Desc;\n\n const search = query.get('search') || '';\n\n const queriedSortByKey = query.get('sortByKey');\n const sortByKey = (Object.values(EmailAccountsSortBy) as string[]).includes(\n queriedSortByKey,\n )\n ? (queriedSortByKey as EmailAccountsSortBy)\n : EmailAccountsSortBy.SetupScore;\n const clientIds = query.get('clients');\n\n return {\n page,\n limit: 25,\n order,\n search,\n sortByKey,\n clientIds: clientIds\n ? clientIds.split(',').map((id) => parseInt(id, 10))\n : [],\n tagIds: [],\n sequenceIds: [],\n status: [],\n owners: [],\n emailServiceProvider: [],\n };\n};\n\nexport const setURLParamsForEmailAccountsFilters = (\n filters: EmailAccountsFilters,\n) => {\n const query = new URLSearchParams();\n\n query.set('page', filters.page.toString());\n query.set('order', filters.order.toString());\n query.set('sortByKey', filters.sortByKey);\n query.set('search', filters.search);\n query.set('clientIds', filters.clientIds.toString());\n query.set('tagIds', filters.tagIds.toString());\n query.set('sequenceIds', filters.sequenceIds.toString());\n query.set('status', filters.status.toString());\n query.set('owners', filters.owners.toString());\n query.set('emailServiceProvider', filters.emailServiceProvider.toString());\n\n history.push({\n search: query.toString(),\n });\n};\n\nconst emailAccountSearchQuery = 'email-account-search-query';\n\nexport const getEmailAccountsSearchQuery = () =>\n localStorage.getItem(emailAccountSearchQuery) || '';\n\nexport const setEmailAccountsSearchQuery = (query: string) =>\n localStorage.setItem(emailAccountSearchQuery, query);\n\nexport const removeEmailAccountsSearchQuery = () =>\n localStorage.removeItem(emailAccountSearchQuery);\n","export enum SHModules {\n Prospect = 'prospect',\n Sequence = 'sequence',\n}\n","export enum ProspectType {\n Account = 'account',\n Contact = 'contact',\n}\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport { ResetPasswordRequestPayload } from '../../types';\nimport { resetPassword } from '../../helpers/auth.api';\nimport {\n ResponseErrorWithHandled,\n ResponseSuccess,\n} from '../../../../shared/types';\n\nexport const resetPasswordRequest = createAsyncThunk<\n ResponseSuccess,\n ResetPasswordRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('resetPassword/resetPasswordRequest', async (args, thunkAPI) => {\n try {\n return await resetPassword(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n","import moment from 'moment-timezone';\n\nexport const getFormattedDate = (\n date: string,\n userTimezone: string,\n showTime = true,\n): string => {\n if (date && userTimezone) {\n const formattedDate = moment(date);\n\n return `${formattedDate.format('DD MMM')}, ${formattedDate?.format(\n 'YYYY',\n )} ${showTime ? formattedDate?.format('hh:mm a').toUpperCase() : ''}`;\n }\n return '';\n};\n","import { AxiosResponse } from 'axios';\nimport { ResponseSuccess } from '../../../shared/types';\nimport api from '../../../api';\nimport {\n ReportGraphPayload,\n SelectedSequencesOrUserPayload,\n SequenceReportsStatsPayload,\n SequenceReportsSummaryPayload,\n TeamReportsStatsPayload,\n TeamReportsSummaryPayload,\n} from '../types';\n\n// Get Sequence List\nexport const getSequenceList = async (owners?: number[]) =>\n api.get('sequences/list-owners', {\n params: { numberOfSteps: 'gt:0', ...(owners.length > 0 && { owners }) },\n });\n\n// Get Selected Sequences\nexport const getSelectedSequences = async (\n payload: SelectedSequencesOrUserPayload,\n) => api.post('/reports/selected-sequence', payload);\n\n// Get Selected Users\nexport const getSelectedUsers = async (\n payload: SelectedSequencesOrUserPayload,\n) => api.post('/reports/selected-users', payload);\n\n// Get Sequence Reports Summary\nexport const getSequenceReportsSummary = async ({\n reportsBy,\n ...payload\n}: SequenceReportsSummaryPayload) =>\n api.post(`reports/${reportsBy}/sequence-summary`, payload);\n\n// Get Team Reports Summary\nexport const getTeamReportsSummary = async ({\n reportsBy,\n ...payload\n}: TeamReportsSummaryPayload) =>\n api.post(`reports/${reportsBy}/sequence-summary`, payload);\n\n// Get Sequence Reports Stats\nexport const getSequenceReportsStats = async ({\n reportsBy,\n ...payload\n}: SequenceReportsStatsPayload) =>\n api.post(`reports/${reportsBy}/sequence-stats`, {\n ...payload,\n page: payload.page,\n });\n\n// Get Team Reports Stats\nexport const getTeamReportsStats = async ({\n reportsBy,\n ...payload\n}: TeamReportsStatsPayload) =>\n api.post(`reports/team/${reportsBy}`, {\n ...payload,\n page: payload.page,\n });\n\nexport const exportSequenceReports = async ({\n reportsBy,\n ...payload\n}: SequenceReportsSummaryPayload): Promise> =>\n api.post(\n `reports/sequence-stats/${reportsBy}/export`,\n payload,\n );\n\nexport const exportTeamsReports = async ({\n reportsBy,\n ...payload\n}: TeamReportsSummaryPayload): Promise> =>\n api.post(`reports/team/${reportsBy}/export`, payload);\n\nexport const exportSequenceConsolidatedReports = async ({\n reportsBy,\n ...payload\n}: SequenceReportsSummaryPayload): Promise> =>\n api.post(\n `reports/sequence-stats/consolidated-export`,\n payload,\n );\n\nexport const getGraphData = async ({\n reportsBy,\n ...payload\n}: ReportGraphPayload) =>\n api.post(`reports/${reportsBy}/sequence-analytics`, payload);\n","export { default } from './transfer-overlay-trigger';\n","import React from 'react';\nimport { Images } from '../../app-constants';\nimport ImageIcon from './image-icon';\n\nconst AlertTriangleLarge = () => (\n \n);\n\nexport default AlertTriangleLarge;\n","import React from 'react';\nimport { IProps } from './type';\nimport Icon from '../icon/icon';\nimport Button from '../button/button-container';\nimport AlertTriangleLarge from '../../../../components/images/alert-triangle-large';\nimport Modal from '../modal';\nimport eventBus from '../../../../utils/event-bus';\nimport { constants } from '../../../../enums/constants';\n\nconst ConfirmationModal: React.FC = ({\n show,\n onClose,\n onSubmit,\n isRequestPending,\n title,\n content,\n contents,\n iconClass,\n iconType,\n showSuccessButton,\n showCancelButton,\n successButtonText,\n cancelButtonText,\n showCloseButton,\n hideIcon,\n showFooterBorder,\n className,\n submitButtonClassName,\n}) => {\n const onCloseHandler = () => {\n onClose();\n eventBus.dispatch(constants.MODAL_HANDLER, { isModalOpened: false });\n };\n\n const onSubmitHandler = (e) => {\n onSubmit(e);\n eventBus.dispatch(constants.MODAL_HANDLER, { isModalOpened: false });\n };\n\n return (\n \n
    \n {!hideIcon && (\n
    \n {iconType === 'warning' ? (\n \n ) : (\n \n )}\n
    \n )}\n
    \n

    {title}

    \n\n {contents ? (\n
    \n {contents.map((contentItem) => (\n <>\n \n {contentItem}\n

    \n \n ))}\n
    \n ) : (\n

    {content}

    \n )}\n
    \n
    \n\n \n {showCancelButton && (\n \n {cancelButtonText || 'No'}\n \n )}\n {showSuccessButton && (\n \n {successButtonText || 'Yes'}\n \n )}\n
    \n \n );\n};\n\nexport default ConfirmationModal;\n","import React from 'react';\nimport classNames from 'classnames';\nimport {\n Button as ReactBootstrapButton,\n ButtonProps as ReactBootstrapButtonProps,\n ThemeProvider,\n} from 'react-bootstrap';\nimport { Modify } from '../../../../types';\n\nexport enum Type {\n Button = 'button',\n Reset = 'reset',\n Submit = 'submit',\n}\n\nexport enum Theme {\n Solid = 'solid',\n Ghost = 'ghost',\n}\n\nexport enum Variant {\n Default = 'default',\n Primary = 'primary',\n Outlined = 'outlined',\n Dashed = 'dashed',\n Danger = 'danger',\n Light = 'light',\n}\n\nexport enum Size {\n Small = 'small',\n Medium = 'medium',\n Large = 'large',\n}\n\nexport type ButtonProps = Modify<\n ReactBootstrapButtonProps,\n {\n type?: Type;\n theme?: Theme;\n variant?: Variant;\n size?: Size;\n disabled?: boolean;\n onClick?: (event?: React.MouseEvent) => void;\n iconOnly?: boolean;\n }\n>;\n\nconst Button = React.forwardRef(\n (\n {\n children,\n size,\n type,\n theme,\n variant,\n onClick,\n className,\n disabled,\n iconOnly,\n ...rest\n },\n ref,\n ) => {\n let tempSize;\n\n // we are keeping size = undefined for ElementSize.Medium.\n // because react bootstrap button has size type = 'sm' | 'lg'.\n // so it won't accept 'md' or even ''.\n // we have to pass undefined because passing undefined is equivalent\n // to not passing the prop.\n switch (size) {\n case Size.Small:\n tempSize = 'sm';\n break;\n case Size.Large:\n tempSize = 'lg';\n break;\n default:\n tempSize = 'md';\n break;\n }\n\n // one of these two will be undefined. because rbClassName is for\n // only icon button and rbSize is for icon + text button\n let rbSize;\n let rbClassName;\n\n if (iconOnly) {\n rbClassName = `btn-icon`;\n\n if (tempSize) {\n rbClassName += `-${tempSize}`;\n }\n } else {\n rbSize = tempSize;\n }\n\n const buttonClass = classNames([rbClassName, className]);\n\n return (\n \n \n {children}\n \n \n );\n },\n);\n\nButton.displayName = 'Button';\n\nButton.defaultProps = {\n type: Type.Button,\n theme: Theme.Solid,\n variant: Variant.Default,\n size: Size.Medium,\n disabled: false,\n iconOnly: false,\n};\n\nexport default Button;\n","import { orderBy } from 'lodash';\nimport React, { memo, ReactNode, useCallback, useMemo } from 'react';\nimport ProspectTag from '../../atoms/prospect-tag';\nimport './prospect-tags-row.scss';\n\nexport type ProspectTagsRowProps = {\n /**\n * No of tags to display in a row. Other tags will be grouped together.\n */\n maxTags?: number;\n tags: any[];\n renderAddTag?: () => ReactNode;\n size?: number;\n isColumnMode?: boolean;\n tagLength?: number;\n isPosition?: boolean;\n emptyPlaceString?: string;\n};\n\n/**\n * Renders a Row of prospect tags.\n * Max no of tags in a row can be limited.\n * All the other tags will be grouped together.\n */\nconst ProspectTagsRow: React.FC = ({\n tags,\n maxTags = tags?.length > 2 ? 1 : 2,\n renderAddTag,\n size,\n isColumnMode = false,\n tagLength = 10,\n isPosition = false,\n emptyPlaceString = '-',\n}) => {\n const sortedTags = useMemo(() => orderBy(tags, 'id', 'desc'), [tags]);\n\n let groupedTagNames: React.ReactNode = '';\n\n const [tagsToDisplay, tagsToGroup] = [\n sortedTags.slice(0, maxTags),\n sortedTags.slice(maxTags),\n ];\n\n groupedTagNames = useMemo(\n () => tagsToGroup.map(({ name, id }) =>
    {name}
    ),\n [tagsToGroup],\n );\n\n const renderTags = useCallback(() => {\n const row = tagsToDisplay.map(({ name, id }) => (\n
    \n \n
    \n ));\n\n if (tagsToGroup.length) {\n row.push(\n
    \n \n
    ,\n );\n }\n\n return row;\n }, [groupedTagNames, tagsToDisplay, tagsToGroup.length]);\n\n return (\n \n {tagsToDisplay.length ? renderTags() : emptyPlaceString}\n {renderAddTag && renderAddTag()}\n
    \n );\n};\n\nexport default memo(ProspectTagsRow);\n","import { Permissions } from '../../../../../shared/utils/access-control/enums/permissions';\nimport hasPermission from '../../../../../shared/utils/access-control/has-permission';\nimport store from '../../../../../store';\nimport { getProspectAndEmailSentLimit } from '../../../../home/components/header/utils/helper';\nimport {\n isAgencyUser,\n getAgencyUserRole,\n} from '../../../../../shared/utils/user-details';\nimport { UserRole } from '../../../../../shared/enums/user-roles';\nimport { ConversationType } from '../../../enums/prospect';\n\nexport const getRestrictionPlanModalBodyContent = () => {\n const { totalProspectLimit } = getProspectAndEmailSentLimit();\n\n if (isAgencyUser()) {\n const msg1 = `Your current plans allows you to store ${totalProspectLimit} prospects.`;\n const msg2 =\n 'Contact your admin and request to upgrade your subscription to continue adding more prospects';\n return [msg1, msg2];\n }\n\n const msg1 = `Your current plans allows you to store ${totalProspectLimit} prospects.`;\n const msg2 = hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)\n ? 'Please upgrade your subscription to add more prospects to your account.'\n : 'Contact your admin and request to upgrade your subscription to continue adding more prospects';\n\n return [msg1, msg2];\n};\n\nexport const getRestrictionPlanWarningEmailBody = (): string => {\n const state = store.getState();\n const senderFirstName = state.home?.firstName;\n const { totalProspectLimit } = getProspectAndEmailSentLimit();\n\n if (isAgencyUser()) {\n const agencyUserRole = getAgencyUserRole();\n if (agencyUserRole && agencyUserRole === UserRole.AGENCYOWNER) {\n return `It looks like the Saleshandy account has reached the maximum prospect limit - ${totalProspectLimit}. It requires the upgrade to add more prospects into account. Please do the needful.%0D%0A %0D%0A Thanks,%0D%0A %0D%0A ${senderFirstName}`;\n }\n }\n\n return `It looks like the Saleshandy account has reached the maximum prospect limit - ${totalProspectLimit}. It requires the upgrade to add more prospects into account. Please do the needful.%0D%0A %0D%0A Thanks,%0D%0A %0D%0A ${senderFirstName}`;\n};\n\nexport const getEmailSendingRestrictionModalContent = () => {\n const { totalEmailSentLimit } = getProspectAndEmailSentLimit();\n\n const msg1 = `Your current plan allows you to send ${totalEmailSentLimit} emails in a month.`;\n const msg2 = hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)\n ? 'Please upgrade your subscription to resume your email-sending service for your account.'\n : 'Contact your admin and request to upgrade your subscription to resume email-sending service for your account.';\n\n return [msg1, msg2];\n};\n\nexport const getOverLimitConnectedEmailErrorMsg = () => {\n const msg1 =\n 'Your current plan allows you to connect only 10 email for each sequence.';\n const msg2 = hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)\n ? 'Please upgrade your subscription to resume your sequence or remove extra emails from this sequence.'\n : 'Contact your admin and request to upgrade your subscription to resume this sequence or remove extra emails from this sequence.';\n\n return [msg1, msg2];\n};\n\nexport const getConversationTypeLabel = (type: ConversationType): string => {\n let label = '';\n\n switch (type) {\n case ConversationType.External:\n label = 'External';\n break;\n case ConversationType.System:\n label = 'Sequence';\n break;\n default:\n label = 'All';\n }\n\n return label;\n};\n","import React from 'react';\n\nconst Action: React.FC = ({ children }) => (\n
    {children}
    \n);\n\nexport default Action;\n","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport {\n signupRequest,\n verifyUserVerificationCodeRequest,\n resendUserVerificationCodeRequest,\n onboardingDetailsRequest,\n resendVerificationEmailRequest,\n} from './extra-actions';\n\ntype RequestState = {\n status: RequestStatus;\n message: string;\n error: any;\n showError?: boolean;\n};\n\ntype State = {\n signupRequest: RequestState;\n verifyUserVerificationCodeRequest: RequestState;\n resendUserVerificationCodeRequest: RequestState;\n onBoardingDetailsRequest: RequestState;\n resendVerificationEmailRequest: RequestState;\n email: string;\n token: string;\n trackingId: string;\n firstName: string;\n lastName: string;\n canResendUserVerificationCode: boolean;\n};\n\nconst initialState: State = {\n signupRequest: {\n status: RequestStatus.Ideal,\n message: '',\n error: '',\n showError: false,\n },\n verifyUserVerificationCodeRequest: {\n status: RequestStatus.Ideal,\n message: '',\n error: '',\n showError: false,\n },\n resendUserVerificationCodeRequest: {\n status: RequestStatus.Ideal,\n message: '',\n error: '',\n },\n onBoardingDetailsRequest: {\n status: RequestStatus.Ideal,\n message: '',\n error: '',\n },\n resendVerificationEmailRequest: {\n status: RequestStatus.Ideal,\n message: '',\n error: '',\n },\n email: '',\n token: '',\n trackingId: null,\n firstName: null,\n lastName: null,\n canResendUserVerificationCode: true,\n};\n\nconst signupSlice = createSlice({\n name: 'signup',\n initialState,\n reducers: {\n hideSignupRequestError: (state) => {\n state.signupRequest.showError = false;\n },\n hideVerifyUserVerificationCodeRequestError: (state) => {\n state.verifyUserVerificationCodeRequest.showError = false;\n },\n },\n extraReducers: (builder) => {\n builder.addCase(signupRequest.pending, (state) => {\n state.signupRequest.status = RequestStatus.Pending;\n state.signupRequest.showError = false;\n });\n builder.addCase(signupRequest.fulfilled, (state, action) => {\n state.signupRequest.status = RequestStatus.Succeeded;\n state.signupRequest.message = action.payload.message;\n state.token = action.payload.payload.accessToken;\n });\n builder.addCase(signupRequest.rejected, (state, action) => {\n state.signupRequest.status = RequestStatus.Failed;\n state.signupRequest.error = action.payload;\n state.signupRequest.showError = !action.payload.isHandled;\n });\n\n builder.addCase(onboardingDetailsRequest.pending, (state) => {\n state.onBoardingDetailsRequest.status = RequestStatus.Pending;\n state.onBoardingDetailsRequest.showError = false;\n });\n builder.addCase(onboardingDetailsRequest.fulfilled, (state, action) => {\n state.onBoardingDetailsRequest.status = RequestStatus.Succeeded;\n state.onBoardingDetailsRequest.message = action.payload.message;\n state.firstName = action.payload.payload.firstName;\n state.lastName = action.payload.payload.lastName;\n state.email = action.payload.payload.email;\n });\n builder.addCase(onboardingDetailsRequest.rejected, (state, action) => {\n state.onBoardingDetailsRequest.status = RequestStatus.Failed;\n state.onBoardingDetailsRequest.error = action.payload;\n state.onBoardingDetailsRequest.showError = !action.payload.isHandled;\n });\n\n builder.addCase(verifyUserVerificationCodeRequest.pending, (state) => {\n state.verifyUserVerificationCodeRequest.status = RequestStatus.Pending;\n state.verifyUserVerificationCodeRequest.showError = false;\n });\n builder.addCase(\n verifyUserVerificationCodeRequest.fulfilled,\n (state, action) => {\n state.verifyUserVerificationCodeRequest.status =\n RequestStatus.Succeeded;\n state.verifyUserVerificationCodeRequest.message =\n action.payload.message;\n state.token = action.payload.payload.accessToken;\n state.trackingId = action.payload.payload.trackingId;\n state.firstName = action.payload.payload.firstName;\n state.lastName = action.payload.payload.lastName;\n state.email = action.payload.payload.email;\n },\n );\n builder.addCase(\n verifyUserVerificationCodeRequest.rejected,\n (state, action) => {\n state.verifyUserVerificationCodeRequest.status = RequestStatus.Failed;\n state.verifyUserVerificationCodeRequest.error = action.payload;\n state.verifyUserVerificationCodeRequest.showError = !action.payload\n .isHandled;\n },\n );\n builder.addCase(resendUserVerificationCodeRequest.pending, (state) => {\n state.resendUserVerificationCodeRequest.status = RequestStatus.Pending;\n state.resendUserVerificationCodeRequest.error = null;\n });\n builder.addCase(\n resendUserVerificationCodeRequest.fulfilled,\n (state, action) => {\n state.resendUserVerificationCodeRequest.status =\n RequestStatus.Succeeded;\n state.resendUserVerificationCodeRequest.message =\n action.payload.message;\n state.canResendUserVerificationCode =\n action.payload.payload.canResendUserVerificationCode;\n },\n );\n builder.addCase(\n resendUserVerificationCodeRequest.rejected,\n (state, action) => {\n state.resendUserVerificationCodeRequest.status = RequestStatus.Failed;\n state.resendUserVerificationCodeRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n builder.addCase(resendVerificationEmailRequest.pending, (state) => {\n state.resendVerificationEmailRequest.status = RequestStatus.Pending;\n state.resendVerificationEmailRequest.error = null;\n });\n builder.addCase(\n resendVerificationEmailRequest.fulfilled,\n (state, action) => {\n state.resendVerificationEmailRequest.status = RequestStatus.Succeeded;\n state.resendVerificationEmailRequest.message = action.payload.message;\n },\n );\n builder.addCase(\n resendVerificationEmailRequest.rejected,\n (state, action) => {\n state.resendVerificationEmailRequest.status = RequestStatus.Failed;\n state.resendVerificationEmailRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n },\n});\n\nexport const {\n hideSignupRequestError,\n hideVerifyUserVerificationCodeRequestError,\n} = signupSlice.actions;\nexport {\n signupRequest,\n verifyUserVerificationCodeRequest,\n resendUserVerificationCodeRequest,\n};\nexport default signupSlice.reducer;\n","export enum SUBJECT {\n EMPTY = '',\n DEFAULT = 'No Subject',\n}\n","import { ResponseSuccess } from '../../../../../../../shared/types';\nimport api from '../../../../../../../api';\nimport { SendTestEmailPayload } from '../types/request-payload';\nimport { SUBJECT } from '../enums';\n\nexport const sendTestEmail = async ({\n fromEmailAccountId,\n to,\n content,\n sequenceId,\n subject,\n stepNumber,\n preheader,\n attachmentIds,\n prospectId,\n}: SendTestEmailPayload) => {\n let url = `/templates/send-test-mail`;\n\n if (!subject || subject === SUBJECT.EMPTY) {\n subject = SUBJECT.DEFAULT;\n }\n\n const payload: SendTestEmailPayload = {\n fromEmailAccountId,\n to,\n content,\n subject,\n preheader,\n attachmentIds,\n prospectId,\n };\n\n if (sequenceId) {\n payload.stepNumber = stepNumber;\n url = `/sequences/${sequenceId}/test-email`;\n }\n\n return api.post(url, payload);\n};\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport {\n ResponseErrorWithHandled,\n ResponseSuccess,\n} from '../../../../../../shared/types';\nimport {\n getCustomFields,\n getPropsectsOverview,\n} from '../../../../../settings/helpers/field.api';\nimport { sendTestEmail } from './helpers/test-email.api';\nimport { ProspectOverviewParams, SendTestEmailPayload } from './types/request-payload';\n\nexport const sendTestEmailRequest = createAsyncThunk<\n ResponseSuccess,\n SendTestEmailPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/sendTestEmailRequest', async (args, thunkAPI) => {\n try {\n return await sendTestEmail(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const getFieldsRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('sequence/getFieldsRequest', async (args, thunkAPI) => {\n try {\n return await getCustomFields();\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const getPropsectsOverviewRequest = createAsyncThunk<\n ResponseSuccess,\n ProspectOverviewParams,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'sequence/getPropsectsOverviewRequest',\n async ({ sequenceId, ...params }, thunkAPI) => {\n try {\n return await getPropsectsOverview(sequenceId, params);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n","/* eslint-disable react-hooks/rules-of-hooks */\nimport React from 'react';\nimport { Helmet } from 'react-helmet';\nimport { useFavicon } from 'react-use';\nimport type { IProps } from './type';\nimport { defaultAgencyObj } from '../../../components/home/utils/helper';\n\nconst HelmetIcon: React.FC = ({ icon }) => {\n useFavicon(icon || defaultAgencyObj?.favicon);\n document.querySelector('#favicon').setAttribute('href', icon);\n\n return (\n \n \n \n \n \n \n );\n};\n\nexport default HelmetIcon;\n","export enum SystemErrors {\n InternalServerError = 'Something went wrong. Please try after some time.',\n}\n","enum FeatureCodes {\n EmailSending = 'EMAIL.SEND',\n ProspectAdd = 'PROSPECT.ADD',\n LeadReveal = 'LEAD.REVEAL',\n EmailVerification = 'EMAIL.VERIFICATION',\n LeadRevealPhone = 'LEAD.REVEAL.PHONE',\n EmailAccountSendingMinInterval = 'EMAIL_ACCOUNT_SETTING.MIN_INTERVAL',\n EmailAccountSendingMinIntervalDifference = 'EMAIL_ACCOUNT_SETTING.MIN_INTERVAL_DIFFERENCE',\n EmailAccountSendingMaxDailySending = 'EMAIL_ACCOUNT_SETTING.MAX_DAILY_EMAIL_SENDING_LIMIT',\n}\n\nexport default FeatureCodes;\n","enum HelpscoutBeaconEvents {\n OPEN = 'open',\n CLOSE = 'close',\n INIT = 'init',\n DESTROY = 'destroy',\n MESSAGE_TRIGGERED = 'message-triggered',\n MESSAGE_CLOSED = 'message-closed',\n PAGE_VIEWED = 'page-viewed',\n SUGGEST = 'suggest',\n TOGGLE = 'toggle',\n}\n\nexport default HelpscoutBeaconEvents;\n","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport {\n getCustomFieldRequest,\n getCustomFieldsWithPaginationRequest,\n getDefaultFieldsWithPaginationRequest,\n createCustomFieldRequest,\n updateCustomFieldRequest,\n deleteCustomFieldRequest,\n getAllFieldsRequest,\n} from './extra-actions';\nimport { CustomField, DefaultField } from '../../types/custom-field';\nimport { PaginationQueryParams } from '../../../../shared/types/request';\nimport { constants } from '../../../../shared/enums/constants';\n\ninterface RequestState {\n status: RequestStatus;\n message: string;\n error: any;\n}\n\ninterface State {\n getCustomFieldsWithPaginationRequest: RequestState;\n getDefaultFieldsWithPaginationRequest: RequestState;\n getCustomFieldRequest: RequestState;\n createCustomFieldRequest: RequestState;\n updateCustomFieldRequest: RequestState;\n deleteCustomFieldRequest: RequestState;\n getAllFieldsRequest: RequestState;\n customField: CustomField[];\n defaultField: DefaultField[];\n fields: DefaultField[];\n isLoading: boolean;\n totalFields: number;\n customFieldPagination: {\n options: Required;\n pagesCount: number;\n count: number;\n };\n defaultFieldPagination: {\n options: Required;\n pagesCount: number;\n count: number;\n };\n}\n\nconst initialState: State = {\n getCustomFieldRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getCustomFieldsWithPaginationRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getDefaultFieldsWithPaginationRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n createCustomFieldRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateCustomFieldRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n deleteCustomFieldRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getAllFieldsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n customField: [],\n defaultField: [],\n fields: [],\n isLoading: false,\n totalFields: 0,\n customFieldPagination: {\n options: {\n page: 1,\n limit: constants.DEFAULT_PAGE_SIZE,\n },\n count: 0,\n pagesCount: 0,\n },\n defaultFieldPagination: {\n options: {\n page: 1,\n limit: constants.DEFAULT_PAGE_SIZE,\n },\n count: 0,\n pagesCount: 0,\n },\n};\n\nconst customFieldSlice = createSlice({\n name: 'customField',\n initialState,\n reducers: {\n resetCreateCustomFieldRequest: (state) => {\n state.createCustomFieldRequest.status = RequestStatus.Ideal;\n state.createCustomFieldRequest.error = null;\n state.isLoading = false;\n },\n resetCustomFieldsData: (state) => {\n state.customField = [];\n state.defaultField = [];\n },\n },\n extraReducers: (builder) => {\n // Get custom fields\n builder.addCase(getCustomFieldRequest.pending, (state) => {\n state.getCustomFieldRequest.status = RequestStatus.Pending;\n state.getCustomFieldRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(getCustomFieldRequest.fulfilled, (state, action) => {\n state.getCustomFieldRequest.status = RequestStatus.Succeeded;\n state.getCustomFieldRequest.message = action.payload.message;\n state.customField = action.payload.payload;\n state.isLoading = false;\n });\n builder.addCase(getCustomFieldRequest.rejected, (state, action) => {\n state.getCustomFieldRequest.status = RequestStatus.Failed;\n state.getCustomFieldRequest.error = action.payload;\n state.isLoading = false;\n });\n\n // Get custom fields with pagination\n builder.addCase(\n getCustomFieldsWithPaginationRequest.pending,\n (state, action) => {\n state.getCustomFieldsWithPaginationRequest.status =\n RequestStatus.Pending;\n state.getCustomFieldsWithPaginationRequest.error = null;\n Object.keys(state.customFieldPagination.options).forEach((key) => {\n state.customFieldPagination.options[key] = action.meta.arg[key];\n });\n\n state.isLoading = true;\n },\n );\n builder.addCase(\n getCustomFieldsWithPaginationRequest.fulfilled,\n (state, action) => {\n state.getCustomFieldsWithPaginationRequest.status =\n RequestStatus.Succeeded;\n state.getCustomFieldsWithPaginationRequest.message =\n action.payload.message;\n state.customField = action.payload.payload.fields;\n state.customFieldPagination.options.page =\n action.payload.payload.meta.currentPage;\n state.totalFields = action.payload.payload.meta.itemCount;\n state.customFieldPagination.count =\n action.payload.payload.meta.totalItems;\n state.isLoading = false;\n },\n );\n builder.addCase(\n getCustomFieldsWithPaginationRequest.rejected,\n (state, action) => {\n state.getCustomFieldsWithPaginationRequest.status =\n RequestStatus.Failed;\n state.getCustomFieldsWithPaginationRequest.error = action.payload;\n state.isLoading = false;\n },\n );\n\n // Get default fields with pagination\n builder.addCase(\n getDefaultFieldsWithPaginationRequest.pending,\n (state, action) => {\n state.getDefaultFieldsWithPaginationRequest.status =\n RequestStatus.Pending;\n state.getDefaultFieldsWithPaginationRequest.error = null;\n Object.keys(state.defaultFieldPagination.options).forEach((key) => {\n state.defaultFieldPagination.options[key] = action.meta.arg[key];\n });\n\n state.isLoading = true;\n },\n );\n builder.addCase(\n getDefaultFieldsWithPaginationRequest.fulfilled,\n (state, action) => {\n state.getDefaultFieldsWithPaginationRequest.status =\n RequestStatus.Succeeded;\n state.getDefaultFieldsWithPaginationRequest.message =\n action.payload.message;\n state.defaultField = action.payload.payload.fields;\n state.defaultFieldPagination.options.page =\n action.payload.payload.meta.currentPage;\n state.totalFields = action.payload.payload.meta.itemCount;\n state.defaultFieldPagination.count =\n action.payload.payload.meta.totalItems;\n state.isLoading = false;\n },\n );\n builder.addCase(\n getDefaultFieldsWithPaginationRequest.rejected,\n (state, action) => {\n state.getDefaultFieldsWithPaginationRequest.status =\n RequestStatus.Failed;\n state.getDefaultFieldsWithPaginationRequest.error = action.payload;\n state.isLoading = false;\n },\n );\n\n // Create custom field for prospect\n builder.addCase(createCustomFieldRequest.pending, (state) => {\n state.createCustomFieldRequest.status = RequestStatus.Pending;\n state.createCustomFieldRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(createCustomFieldRequest.fulfilled, (state, action) => {\n state.createCustomFieldRequest.status = RequestStatus.Succeeded;\n state.createCustomFieldRequest.message = action.payload.message;\n state.customField.unshift(action.payload.payload);\n state.isLoading = false;\n });\n builder.addCase(createCustomFieldRequest.rejected, (state, action) => {\n state.createCustomFieldRequest.status = RequestStatus.Failed;\n state.createCustomFieldRequest.error =\n !action.payload.isHandled && action.payload;\n state.isLoading = false;\n });\n\n // Update custom field for prospect\n builder.addCase(updateCustomFieldRequest.pending, (state) => {\n state.updateCustomFieldRequest.status = RequestStatus.Pending;\n state.updateCustomFieldRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(updateCustomFieldRequest.fulfilled, (state, action) => {\n state.updateCustomFieldRequest.status = RequestStatus.Succeeded;\n state.updateCustomFieldRequest.message = action.payload.message;\n state.isLoading = false;\n });\n builder.addCase(updateCustomFieldRequest.rejected, (state, action) => {\n state.updateCustomFieldRequest.status = RequestStatus.Failed;\n state.updateCustomFieldRequest.error =\n !action.payload.isHandled && action.payload;\n state.isLoading = false;\n });\n\n // Delete custom field for prospect\n builder.addCase(deleteCustomFieldRequest.pending, (state) => {\n state.deleteCustomFieldRequest.status = RequestStatus.Pending;\n state.deleteCustomFieldRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(deleteCustomFieldRequest.fulfilled, (state, action) => {\n state.deleteCustomFieldRequest.status = RequestStatus.Succeeded;\n state.deleteCustomFieldRequest.message = action.payload.message;\n state.isLoading = false;\n });\n builder.addCase(deleteCustomFieldRequest.rejected, (state, action) => {\n state.deleteCustomFieldRequest.status = RequestStatus.Failed;\n state.deleteCustomFieldRequest.error =\n !action.payload.isHandled && action.payload;\n state.isLoading = false;\n });\n\n // Get All Fields Request\n builder.addCase(getAllFieldsRequest.pending, (state) => {\n state.getAllFieldsRequest.status = RequestStatus.Pending;\n state.getAllFieldsRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(getAllFieldsRequest.fulfilled, (state, action) => {\n state.getAllFieldsRequest.status = RequestStatus.Succeeded;\n state.getAllFieldsRequest.message = action.payload.message;\n state.fields = action.payload.payload.fields;\n state.isLoading = false;\n });\n builder.addCase(getAllFieldsRequest.rejected, (state, action) => {\n state.getAllFieldsRequest.status = RequestStatus.Failed;\n state.getAllFieldsRequest.error =\n !action.payload.isHandled && action.payload;\n state.isLoading = false;\n });\n },\n});\n\nexport {\n getCustomFieldRequest,\n getCustomFieldsWithPaginationRequest,\n getDefaultFieldsWithPaginationRequest,\n deleteCustomFieldRequest,\n createCustomFieldRequest,\n updateCustomFieldRequest,\n};\n\nexport const {\n resetCreateCustomFieldRequest,\n resetCustomFieldsData,\n} = customFieldSlice.actions;\nexport default customFieldSlice.reducer;\n","import { RequestStatus } from '../../../../shared/enums/request-status';\nimport { ActionForAuthentication, OAuthPayload } from '../../types';\n\nexport enum OAuthMethod {\n Google = 'google',\n Microsoft = 'microsoft',\n}\n\nexport interface OAuthButtonsProps {\n type?: ActionForAuthentication;\n className?: string;\n getOAuthRedirectUrlRequestStatus?: RequestStatus;\n getOAuthRedirectUrlRequestError?: string;\n authUrl?: string;\n email?: string;\n userId?: number;\n getOAuthRedirectUrl?: (method: OAuthMethod, payload: OAuthPayload) => void;\n}\n\nexport interface OAuthRedirectResponse {\n authUrl: string;\n}\n","import React, { useEffect, useMemo } from 'react';\nimport { Google } from '../../../../shared/svg/google';\nimport { Microsoft } from '../../../../shared/svg/microsoft';\nimport { OAuthButtonsProps, OAuthMethod } from './types';\nimport Button from '../../../../shared/design-system/ui/button';\nimport {\n executeOnRequestStatus,\n getCurrentTimeZone,\n redirectWithRefresh,\n} from '../../../../shared/utils';\nimport { showToasterWithErrorCheck } from '../../../email-accounts/components/email-accounts-content/utils/helpers';\nimport { ActionForAuthentication } from '../../types';\n\nconst OAuthButtons: React.FC = ({\n type = ActionForAuthentication.Login,\n className = '',\n getOAuthRedirectUrlRequestStatus,\n getOAuthRedirectUrlRequestError,\n authUrl,\n email,\n userId,\n getOAuthRedirectUrl,\n}) => {\n const [loadingMethod, setLoadingMethod] = React.useState(\n null,\n );\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getOAuthRedirectUrlRequestStatus,\n onSuccess: () => {\n redirectWithRefresh(authUrl);\n },\n onFailed: () => {\n showToasterWithErrorCheck(getOAuthRedirectUrlRequestError);\n },\n });\n }, [getOAuthRedirectUrlRequestStatus]);\n\n const handleOAuthClick = (method: OAuthMethod) => {\n const timeZone = getCurrentTimeZone();\n setLoadingMethod(method);\n getOAuthRedirectUrl(method, {\n timeZone,\n invitedEmail: email,\n userId,\n action: type,\n });\n };\n\n const getProviderButtonText = (provider: 'Google' | 'Microsoft') => {\n if (type === ActionForAuthentication.Login) {\n return `Log In with ${provider}`;\n }\n if (type === ActionForAuthentication.Signup) {\n return `Sign up with ${provider}`;\n }\n if (type === ActionForAuthentication.ChangeEmail) {\n return `Sign in with ${provider}`;\n }\n return `Continue with ${provider}`;\n };\n\n const googleButtonText = useMemo(() => getProviderButtonText('Google'), [\n type,\n ]);\n const microsoftButtonText = useMemo(\n () => getProviderButtonText('Microsoft'),\n [type],\n );\n\n return (\n
    \n handleOAuthClick(OAuthMethod.Google)}\n isLoading={loadingMethod === OAuthMethod.Google}\n loadingText=\"Connecting to Google...\"\n disabled={!!loadingMethod}\n >\n {googleButtonText}\n \n handleOAuthClick(OAuthMethod.Microsoft)}\n isLoading={loadingMethod === OAuthMethod.Microsoft}\n loadingText=\"Connecting to Microsoft...\"\n disabled={!!loadingMethod}\n >\n {microsoftButtonText}\n \n {(type === ActionForAuthentication.Login ||\n type === ActionForAuthentication.Signup) && (\n
    \n OR\n
    \n )}\n
    \n );\n};\n\nexport default OAuthButtons;\n","import { connect } from 'react-redux';\nimport { RootState } from '../../../../store/root-reducer';\nimport OAuthButtons from './oauth-buttons';\nimport { getOAuthRedirectUrlRequest } from './extra-actions';\nimport { OAuthMethod } from './types';\nimport { OAuthPayload } from '../../types';\n\nconst mapStateToProps = (state: RootState) => ({\n getOAuthRedirectUrlRequestStatus: state.oauth.getOAuthRedirectUrlRequest.status,\n getOAuthRedirectUrlRequestError: state.oauth.getOAuthRedirectUrlRequest.error,\n authUrl: state.oauth.authUrl,\n});\n\nconst mapDispatchToProps = {\n getOAuthRedirectUrl: (method: OAuthMethod, payload: OAuthPayload) =>\n getOAuthRedirectUrlRequest({ method, payload }),\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(OAuthButtons);\n","import { createSlice } from '@reduxjs/toolkit';\nimport { getOAuthRedirectUrlRequest, oauthAuthenticateRequest } from './extra-actions';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport { RequestState } from '../../../../shared/types/request-state';\nimport { ActionForAuthentication } from '../../types';\n\ninterface OAuthState {\n getOAuthRedirectUrlRequest: RequestState;\n oauthAuthenticateRequest: RequestState;\n authUrl: string | null;\n\n token: string;\n trackingId: string;\n firstName: string;\n lastName: string;\n email: string;\n action: ActionForAuthentication;\n}\n\nconst initialState: OAuthState = {\n getOAuthRedirectUrlRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n oauthAuthenticateRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n authUrl: '',\n token: '',\n trackingId: null,\n firstName: null,\n lastName: null,\n email: null,\n action: null,\n};\n\nconst oauthSlice = createSlice({\n name: 'oauth',\n initialState,\n reducers: {},\n extraReducers: (builder) => {\n builder.addCase(getOAuthRedirectUrlRequest.pending, (state) => {\n state.getOAuthRedirectUrlRequest.status = RequestStatus.Pending;\n state.getOAuthRedirectUrlRequest.error = null;\n });\n builder.addCase(getOAuthRedirectUrlRequest.fulfilled, (state, action) => {\n state.getOAuthRedirectUrlRequest.status = RequestStatus.Succeeded;\n state.getOAuthRedirectUrlRequest.message = action.payload.message;\n state.authUrl = action.payload.payload?.authUrl;\n });\n builder.addCase(getOAuthRedirectUrlRequest.rejected, (state, action) => {\n state.getOAuthRedirectUrlRequest.status = RequestStatus.Failed;\n state.getOAuthRedirectUrlRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n builder.addCase(oauthAuthenticateRequest.pending, (state) => {\n state.oauthAuthenticateRequest.status = RequestStatus.Pending;\n state.oauthAuthenticateRequest.error = null;\n });\n builder.addCase(oauthAuthenticateRequest.fulfilled, (state, action) => {\n state.oauthAuthenticateRequest.status = RequestStatus.Succeeded;\n state.oauthAuthenticateRequest.message = action.payload.message;\n state.email = action.payload.payload?.email;\n state.token = action.payload.payload?.accessToken;\n state.trackingId = action.payload.payload?.trackingId;\n state.firstName = action.payload.payload?.firstName;\n state.lastName = action.payload.payload?.lastName;\n state.action = action.payload.payload?.action;\n });\n builder.addCase(oauthAuthenticateRequest.rejected, (state, action) => {\n state.oauthAuthenticateRequest.status = RequestStatus.Failed;\n state.oauthAuthenticateRequest.error = !action.payload.isHandled && action.payload;\n });\n },\n});\n\nexport default oauthSlice.reducer; ","import { NotificationType } from '../../types';\n\nexport function getHeaderHelper(locationPathName, Routes) {\n switch (locationPathName) {\n case Routes.SEQUENCE:\n return Routes.SEQUENCE[0].toUpperCase() + Routes.SEQUENCE.slice(1);\n case Routes.TASKS:\n return Routes.TASKS[0].toUpperCase() + Routes.TASKS.slice(1);\n case Routes.AGENCY_CLIENT:\n return 'Client Management';\n case Routes.UNIFIED_INBOX:\n return 'Unified Inbox';\n case Routes.PROSPECTS:\n return Routes.PROSPECTS[0].toUpperCase() + Routes.PROSPECTS.slice(1);\n case Routes.EMAIL_ACCOUNTS:\n return 'Email Accounts';\n case Routes.DOMAINS:\n return 'Domains';\n case Routes.TEMPLATES:\n return Routes.TEMPLATES[0].toUpperCase() + Routes.TEMPLATES.slice(1);\n case Routes.REPORTS:\n return 'Analytics';\n case Routes.EMAIL_INSIGHTS:\n return '1:1 Email Insights';\n case Routes.EMAIL_WARMUP:\n return (\n Routes.EMAIL_WARMUP[0].toUpperCase() + Routes.EMAIL_WARMUP.slice(1)\n );\n case Routes.GROWTH_HUB:\n return 'Growth Hub';\n case Routes.AGENCY_PORTAL:\n return 'Agency Portal';\n case Routes.SETTINGS:\n return Routes.SETTINGS[0].toUpperCase() + Routes.SETTINGS.slice(1);\n case Routes.LEADS:\n return 'Lead Finder';\n default:\n return '';\n }\n}\n\nexport function routeStateChange({\n getHeader,\n path,\n Routes,\n sequenceRoutes,\n setSingleSequenceHeader,\n emailWarmupRoutes,\n setEmailWarmupHeader,\n setEmailWarmupHeaderWithReport,\n setCreateEmailInfrastructureHeader,\n setAddEmailAccountsHeader,\n setEmailAccountsHeader,\n setHeaderTitle,\n}) {\n if (\n getHeader(path?.[1]).toLowerCase() === Routes.SEQUENCE &&\n sequenceRoutes.includes(path?.[3])\n ) {\n setSingleSequenceHeader(true);\n } else {\n setSingleSequenceHeader(false);\n }\n\n if (getHeader(path?.[1]).toLowerCase() === Routes.EMAIL_WARMUP) {\n if (emailWarmupRoutes.includes(path?.[3])) {\n setEmailWarmupHeader(true);\n setEmailWarmupHeaderWithReport(true);\n } else {\n setEmailWarmupHeader(true);\n setEmailWarmupHeaderWithReport(false);\n }\n } else {\n setEmailWarmupHeader(false);\n setEmailWarmupHeaderWithReport(false);\n }\n\n if (path?.[1] === Routes.EMAIL_ACCOUNTS) {\n if (path?.[2] === 'create-email-accounts') {\n setCreateEmailInfrastructureHeader(true);\n setEmailAccountsHeader(false);\n setAddEmailAccountsHeader(false);\n } else if (path?.[2] === 'add-email-accounts') {\n setAddEmailAccountsHeader(true);\n setEmailAccountsHeader(false);\n setCreateEmailInfrastructureHeader(false);\n } else {\n setEmailAccountsHeader(true);\n setCreateEmailInfrastructureHeader(false);\n setAddEmailAccountsHeader(false);\n }\n } else {\n setEmailAccountsHeader(false);\n setCreateEmailInfrastructureHeader(false);\n setAddEmailAccountsHeader(false);\n }\n\n // changing header as the page changes\n setHeaderTitle(getHeader(path?.[1]));\n}\n\nexport const formatNumberToK = (num: number): string => {\n if (num >= 1000) {\n const numberString = (num / 1000).toFixed(num % 1000 === 0 ? 0 : 1);\n const numberStringArr = numberString?.split('.');\n if (numberStringArr?.length === 2 && numberStringArr?.[1] === '0') {\n numberStringArr.pop();\n }\n return `${numberStringArr?.join('.')}K`;\n }\n return num.toString();\n};\n\nexport const getProgressBarText = (\n type: NotificationType,\n totalCount: number,\n) => {\n if (\n type === NotificationType.ProspectImportAsync ||\n type === NotificationType.SequenceProspectImportAsync\n ) {\n return `Importing ${formatNumberToK(totalCount)} Prospects`;\n }\n if (\n type === NotificationType.LeadRevealCompletedAsync ||\n type === NotificationType.LeadRevealCompletedNoEmailOrPhoneAsync\n ) {\n return `Revealing ${formatNumberToK(totalCount)} Leads`;\n }\n return '';\n};\n\nexport const getProgressBarCompletionText = (\n type: NotificationType,\n totalCount: number,\n) => {\n if (\n type === NotificationType.ProspectImportAsync ||\n type === NotificationType.SequenceProspectImportAsync\n ) {\n return `Imported ${formatNumberToK(totalCount)} Prospects`;\n }\n if (\n type === NotificationType.LeadRevealCompletedAsync ||\n type === NotificationType.LeadRevealCompletedNoEmailOrPhoneAsync\n ) {\n return `Revealed ${formatNumberToK(totalCount)} Leads`;\n }\n return '';\n};\n\nexport const getCtaText = (type: NotificationType) => {\n if (\n type === NotificationType.ProspectImportAsync ||\n type === NotificationType.SequenceProspectImportAsync\n ) {\n return 'View List';\n }\n if (\n type === NotificationType.LeadRevealCompletedAsync ||\n type === NotificationType.LeadRevealCompletedNoEmailOrPhoneAsync\n ) {\n return 'View Leads';\n }\n return '';\n};\n\nexport const getProgressBarPercentage = (\n completedCount: number,\n totalCount: number,\n maxPercentageValue = 99,\n): number => {\n if (totalCount === 0) return 0;\n const percentage = Math.round((completedCount / totalCount) * 100);\n return Math.min(percentage, maxPercentageValue);\n};\n","import { ResponseSuccess } from '../../../shared/types';\nimport api from '../../../api';\nimport {\n CreateOutcomeRequestPayload,\n // GetOutcomesQueryParams,\n UpdateOutcomeRequestPayload,\n} from '../types/request-payload';\n// import { ProspectType } from '../enums/prospect-type';\nimport { PaginationQueryParams } from '../../../shared/types/request';\nimport { OutcomeCategory } from '../enums/custom-outcome';\n\n// Get Outcomes with pagination function\nexport const getCustomOutcomesWithPagination = async (\n params: PaginationQueryParams = {},\n) =>\n api.get('/outcome', {\n params: { ...params, category: OutcomeCategory.Custom },\n });\n\n// Get fields with pagination function\nexport const getDefaultOutcomesWithPagination = async (\n params: PaginationQueryParams = {},\n) =>\n api.get('/outcome', {\n params: { ...params, category: OutcomeCategory.Default },\n });\n\n// Get All Fields\nexport const getAllOutcomes = async (\n params: PaginationQueryParams & { search?: string } = {},\n) => api.get('/outcome', { params });\n\n// Get fields generic function\nconst getOutcomesGeneric = async () => api.get('/outcome');\n\n// Get fields (excluding defaults)\nexport const getCustomOutcomes = () => getOutcomesGeneric();\n\n// Create Outcome\nexport const createCustomOutcome = async (\n payload: CreateOutcomeRequestPayload,\n) =>\n api.post('/outcome', {\n name: payload.label,\n sentiment: payload.sentiment,\n });\n\n// Update outcome\nexport const updateCustomOutcome = async (\n outcomeId: number,\n payload: UpdateOutcomeRequestPayload,\n) =>\n api.patch(`/outcome/${outcomeId}`, {\n name: payload.label,\n sentiment: payload.sentiment,\n });\n\n// Delete outcome\nexport const deleteCustomOutcome = async (outcomeId: number, newOutcomeId: number) =>\n api.delete(`/outcome/${outcomeId}?updateOutcomeId=${newOutcomeId}`);\n","import api from '../../../api';\nimport { ResponseSuccess } from '../../../shared/types';\nimport {\n ProspectImportEventPayload,\n SubscribedEventPayload,\n} from '../components/api-tokens/types';\n\nexport const getApiTokenList = async () =>\n api.get(`/api-token/`);\n\nexport const createApiToken = async (label: string) =>\n api.post(`/api-token`, { label });\n\nexport const revokeApiToken = async (tokenId: number) =>\n api.delete(`/api-token/${tokenId}`);\n\nexport const getCobaltSessionToken = async () =>\n api.get(`/integration/session-token`);\n\nexport const cobaltEventsSubscribe = async (\n payload: SubscribedEventPayload[],\n) => api.post(`/integration/event-subscribe`, payload);\n\nexport const cobaltProspectImportSubscribe = async (\n payload: ProspectImportEventPayload,\n) => api.post(`/integration/import-prospect`, payload);\n\nexport const getIntegrationAdminSetting = async () =>\n api.get(`/integration/admin-setting`);\n\nexport const changeIntegrationSetting = async (isAllUser: boolean) =>\n api.patch(`/integration/event-recipient-type`, {\n isAllUser,\n });\n\nexport const generateIntegrationApiToken = async () =>\n api.patch(`/api-token/generate-integration-api-key`);\n\nexport const authenticateApiTokenWithCurrentUser = async (apiToken: string) =>\n api.get(\n `/api-token/authenticate-api-token?apiToken=${apiToken}`,\n );\n","export enum PageHeaderAlertTypes {\n TRIAL_EXPIRED = 'trial-expired',\n PAYMENT_PENDING = 'payment-pending',\n NONE = 'none',\n}\n","type EventPayload = {\n isModalOpened: boolean;\n};\n\nconst eventBus = {\n on(event: string, callback: (payload: EventPayload) => void) {\n document.addEventListener(event, (e: Event) =>\n callback((e).detail),\n );\n },\n dispatch(event: string, payload: EventPayload) {\n document.dispatchEvent(new CustomEvent(event, { detail: payload }));\n },\n remove(event: string, callback?: () => void) {\n document.removeEventListener(event, callback);\n },\n};\n\nexport default eventBus;\n","import React from 'react';\nimport classNames from 'classnames';\nimport {\n Toast as ReactBootstrapToast,\n ToastProps as ReactBootstrapToastProps,\n} from 'react-bootstrap';\nimport { Modify } from '../types';\nimport Icon from '../design-system/components/atoms/icon/icon';\n\nexport enum Variant {\n Default = 'default',\n Primary = 'primary',\n Success = 'success',\n Warning = 'warning',\n Error = 'error',\n}\n\ntype IState = {\n showNotification: boolean;\n};\n\nexport type PartialNotificationProps = {\n variant?: Variant;\n header: React.ReactNode;\n content: React.ReactNode;\n delay?: number;\n // animation?: boolean;\n button?: React.ReactNode;\n onClose?: () => void;\n};\n\ntype IProps = Modify<\n Omit,\n PartialNotificationProps\n>;\n\nclass Notification extends React.Component {\n static Variant = Variant;\n\n static defaultProps: Partial = {\n variant: Variant.Default,\n // animation: false,\n };\n\n constructor(props) {\n super(props);\n this.state = { showNotification: true };\n this.hideNotification = this.hideNotification.bind(this);\n }\n\n hideNotification() {\n this.setState({ showNotification: false });\n this.props.onClose?.();\n }\n\n render() {\n const {\n variant,\n header,\n content,\n delay,\n // animation,\n button,\n className,\n // we aren't using onClose directly as a prop to ReactBootstrapToast,\n // but if we don't extract onClose here, then it would be in rest array,\n // which will add the onClose prop to ReactBootstrapToast.\n // if you keep the ...rest before providing any props to ReactBootstrapToast,\n // then the provided onClose will override the onClose provided by rest array.\n // but still, for safekeeping, we should extract onClose here.\n // eslint-disable-next-line\n onClose,\n ...rest\n } = this.props;\n\n const toastClass = classNames([\n 'bs-toast',\n 'notification-container',\n className,\n ]);\n\n const isIcon = variant !== Variant.Default;\n\n const iconWrapperSubClass = classNames([\n {\n 'icon-basic': variant === Variant.Primary,\n 'icon-success': variant === Variant.Success,\n 'icon-warning': variant === Variant.Warning,\n 'icon-error': variant === Variant.Error,\n },\n ]);\n\n const toastHeadIconClass = 'notification-icon';\n\n const iconWrapperClass = classNames([\n iconWrapperSubClass,\n toastHeadIconClass,\n ]);\n\n const iconIdentifier = classNames([\n {\n 'check-o': variant === Variant.Success,\n danger: variant === Variant.Primary || variant === Variant.Warning,\n 'close-o': variant === Variant.Error,\n },\n ]);\n\n return (\n \n \n {isIcon && (\n
    \n \n
    \n )}\n {header}\n \n \n {content}\n \n {button && (\n
    {button}
    \n )}\n \n );\n }\n}\n\nexport default Notification;\n","import React, { ReactElement } from 'react';\nimport NotificationComponent, {\n PartialNotificationProps,\n Variant,\n} from './notification';\nimport produce from 'immer';\n\nexport enum Position {\n TopLeft = 'top-left',\n TopRight = 'top-right',\n BottomLeft = 'bottom-left',\n BottomRight = 'bottom-right',\n TopCenter = 'top-center',\n BottomCenter = 'bottom-center',\n}\n\nexport type NotificationConfig = PartialNotificationProps & {\n position?: Position;\n};\n\ntype NotificationCallbackArgs = {\n id: number;\n close: () => void;\n};\n\ntype NotificationCallbackGeneric = (args: NotificationCallbackArgs) => T;\n\nexport type NotificationOptionsGeneric = T | NotificationCallbackGeneric;\n\nexport type NotificationOptions = NotificationOptionsGeneric<\n NotificationConfig\n>;\n\ntype NotificationCallback = NotificationCallbackGeneric;\n\ntype Notification = NotificationConfig & { id: number };\n\ntype NotificationManagerState = {\n id: number;\n activeNotifications: Notification[];\n};\n\ntype NotificationManagerProps = {\n bindActions: (...args: any[]) => any;\n};\n\nclass NotificationManager extends React.Component<\n NotificationManagerProps,\n NotificationManagerState\n> {\n // The toast fade timeout is 0.15s. so keeping this value anything >= 0.15s\n // would work. here, we're keeping it 500 to be safe.\n // settings this value to < 0.15s would remove the toast element from\n // DOM before the css fade animation finishes.\n removeNotificationTimeout = 500;\n\n constructor(props) {\n super(props);\n\n this.state = {\n id: 0,\n activeNotifications: [],\n };\n\n this.addNotification = this.addNotification.bind(this);\n\n this.props.bindActions(this.addNotification);\n }\n\n getNextId(id: number): number {\n return id + 1;\n }\n\n addNotification(options: NotificationOptions, variant?: Variant) {\n const id = this.getNextId(this.state.id);\n let config: NotificationConfig;\n\n if (isNotificationCallback(options)) {\n const callbackArgs: NotificationCallbackArgs = {\n id,\n close: () => this.removeNotification(id),\n };\n config = options(callbackArgs);\n } else {\n config = options;\n }\n\n const notification: Notification = {\n id,\n position: Position.TopRight,\n ...config,\n ...(variant && { variant }),\n };\n\n this.setState(\n produce((draft: NotificationManagerState) => {\n draft.id = id;\n draft.activeNotifications.push(notification);\n }),\n );\n }\n\n removeNotification(id: number) {\n const notification = this.state.activeNotifications.find(\n (n) => n.id === id,\n );\n\n notification.onClose?.();\n\n // const waitTime = notification.animation\n // ? this.removeNotificationTimeout\n // : 0;\n\n const waitTime = 0;\n\n setTimeout(() => {\n this.setState(\n produce((draft: NotificationManagerState) => {\n draft.activeNotifications = draft.activeNotifications.filter(\n (activeNotification) => activeNotification.id !== notification.id,\n );\n }),\n );\n }, waitTime);\n }\n\n getNotificationComponent(notification: Notification): ReactElement {\n return (\n this.removeNotification(notification.id)}\n />\n );\n }\n\n render() {\n const { activeNotifications } = this.state;\n\n const topLeftNotifications = activeNotifications\n .filter((notification) => notification.position === Position.TopLeft)\n .map((notification) => this.getNotificationComponent(notification));\n\n const topRightNotifications = activeNotifications\n .filter((notification) => notification.position === Position.TopRight)\n .map((notification) => this.getNotificationComponent(notification));\n\n const bottomLeftNotifications = activeNotifications\n .filter((notification) => notification.position === Position.BottomLeft)\n .map((notification) => this.getNotificationComponent(notification));\n\n const bottomRightNotifications = activeNotifications\n .filter((notification) => notification.position === Position.BottomRight)\n .map((notification) => this.getNotificationComponent(notification));\n\n const topCenterNotifications = activeNotifications\n .filter((notification) => notification.position === Position.TopCenter)\n .map((notification) => this.getNotificationComponent(notification));\n\n const bottomCenterNotifications = activeNotifications\n .filter((notification) => notification.position === Position.BottomCenter)\n .map((notification) => this.getNotificationComponent(notification));\n\n return (\n
    \n
    {topLeftNotifications}
    \n
    {topRightNotifications}
    \n
    \n {bottomLeftNotifications}\n
    \n
    \n {bottomRightNotifications}\n
    \n
    \n {topCenterNotifications}\n
    \n
    \n {bottomCenterNotifications}\n
    \n
    \n );\n }\n}\n\nfunction isNotificationCallback(\n options: NotificationOptions,\n): options is NotificationCallback {\n return typeof options === 'function';\n}\n\nexport default NotificationManager;\n","import { Variant } from './notification';\nimport {\n NotificationConfig,\n NotificationOptions,\n NotificationOptionsGeneric,\n} from './notification-manager';\n\nexport type NotificationOptionsWithoutVariant = NotificationOptionsGeneric<\n Omit\n>;\n\nclass NotificationHelper {\n private _addNotification;\n\n bindActions = (addNotification) => {\n this._addNotification = addNotification;\n };\n\n private readonly _notify = (\n options: NotificationOptions,\n variant?: Variant,\n ) => this._addNotification(options, variant);\n\n notify = (options: NotificationOptions) => this._notify(options);\n\n info = (options: NotificationOptionsWithoutVariant) =>\n this._notify(options, Variant.Primary);\n\n success = (options: NotificationOptionsWithoutVariant) =>\n this._notify(options, Variant.Success);\n\n warning = (options: NotificationOptionsWithoutVariant) =>\n this._notify(options, Variant.Warning);\n\n error = (options: NotificationOptionsWithoutVariant) =>\n this._notify(options, Variant.Error);\n}\n\nexport default NotificationHelper;\n","import NotificationHelper from './notification-helper';\n\nconst notification = new NotificationHelper();\n\nexport type { NotificationOptions } from './notification-manager';\nexport type { NotificationOptionsWithoutVariant } from './notification-helper';\nexport {\n Position,\n default as NotificationManager,\n} from './notification-manager';\nexport { Variant } from './notification';\nexport default notification;\n","import { SequenceStepType } from '../../../../../components/sequence/enums';\n\nexport enum Icon {\n MAIL = 'mail',\n EYE = 'eye',\n REPLY = 'reply',\n LINK = 'link',\n}\n\nexport type ActivityProps = {\n cell: ActivityData[];\n isEmailTable?: boolean;\n onClick?: (type: EngagementActivityType) => void;\n};\n\nexport type ActivityData = {\n date: string;\n text: string;\n iconLabel: Icon;\n timeZone: string;\n type: EngagementActivityType;\n stepType?: SequenceStepType;\n};\n\nexport enum EngagementActivityType {\n EmailSent = 'email-sent',\n EmailOpened = 'email-opened',\n LinkClicked = 'link-clicked',\n EmailReplied = 'email-replied',\n}\n","export const setToken = (token: string) => localStorage.setItem('token', token);\nexport const getToken = () => localStorage.getItem('token');\nexport const removeToken = () => localStorage.removeItem('token');\n\nlet sessionExpireHandler: () => void = null;\n\nexport const setSessionExpireHandler = (handler: () => void) => {\n sessionExpireHandler = handler;\n};\n\nexport const triggerSessionExpiration = () => {\n sessionExpireHandler?.();\n};\n","export enum EmailAccountWarmupSortKey {\n Deliverability = 'deliverability',\n SentToday = 'sent-today',\n ReceivedToday = 'received-today',\n}\n\nexport enum EmailAccountWarmupOrder {\n Asc = 'asc',\n Desc = 'desc',\n}\n\nexport enum EmailWarmupStatus {\n Stopped = 0,\n Running = 1,\n Suspended = 2,\n Paused = 3,\n\n // Paused = 0,\n // Active = 1,\n // Blocked = 2,\n}\n","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../shared/enums/request-status';\nimport {\n connectEmailAccountRequest,\n verifyEmailAccountRequest,\n verifyWhitelabelEmailAccountRequest,\n setDefaultEmailAccountRequest,\n disconnectEmailAccountRequest,\n getEmailAccountsRequest,\n getEmailAccountsListRequest,\n deleteEmailAccountRequest,\n updateEmailAccountRequest,\n getEmailAccountRequest,\n getEmailAccountSettingsRequest,\n updateEmailAccountRampUpSettingsRequest,\n getEmailAccountSetupScoreRequest,\n testSMTPConnectionRequest,\n testIMAPConnectionRequest,\n connectSmtpImapAccountRequest,\n getSmtpImapAccountDetailsRequest,\n updateSmtpImapAccountDetailsRequest,\n emailTimeIntervalSettingsRequest,\n updateEmailAgeRequest,\n importEmailAccountCsvRequest,\n bulkEmailUpdateRequest,\n trulyinboxEmailAccountVerifyShApiKeyRequest,\n emailAccountTagsAssignRequest,\n emailAccountTagsUnassignRequest,\n emailAccountTagsBulkAssignRequest,\n emailAccountTagsBulkUnassignRequest,\n getEmailAccountTagsRequest,\n getTrulyInboxTokenRequest,\n updateEmailAccountStatusRequest,\n getDomainPlansRequest,\n getDomainSearchRequest,\n getDomainOwnerContactDetailsRequest,\n uploadDomainProfilePictureRequest,\n purchaseDomainRequest,\n addEmailAccountsRequest,\n calculatePayRequest,\n} from './extra-actions';\n\nimport {\n ConnectSmtpImapAccountResponse,\n GetSMTPIMAPEmailDetailsResponse,\n TestConnectionResponse,\n} from './types/smtp-imap';\nimport { EmailAccountSetup } from '../../shared/components/email-account-setup-score/types';\nimport {\n BulkSelectedEmailAccounts,\n EmailAccount,\n EmailAccountsFilters,\n} from './types/email-account';\nimport { getInitialFiltersForEmailAccounts } from './components/email-accounts-content/utils/helpers';\nimport { EmailAccountTag } from './types/request-payload';\nimport { EmailAccountSettings } from './types/email-account-settings';\nimport {\n Domain,\n DomainPlan,\n CreateEmailAccountInfrastructureCart,\n DomainOwnerContactDetails,\n EmailAccountProfile,\n EmailAccountType,\n CalculatePayResponse,\n} from './types/create-email-infrastructure';\nimport { Domain as SelectedDomain } from '../domains/types';\nimport { EmailAccountInfrastructureServiceProvider } from './enums/create-email-infrastructure';\nimport {\n LOCAL_STORAGE_KEYS,\n preloadDataFromLocalStorage,\n removeFromLocalStorage,\n saveToLocalStorage,\n} from './helpers/email-accounts-infra-local-storage';\nimport {\n getAddEmailAccountsDataFromLS,\n removeAddEmailAccountsDataFromLS,\n setAddEmailAccountsDataInLS,\n} from './components/add-email-accounts/helpers/helpers';\n\nexport const emailAccountsFiltersInitialState: EmailAccountsFilters = {\n tagIds: [],\n owners: [],\n sequenceIds: [],\n emailServiceProvider: [],\n status: [],\n clientIds: [],\n ...getInitialFiltersForEmailAccounts(),\n};\n\ninterface RequestState {\n status: RequestStatus;\n message: string;\n error: any;\n}\n\ninterface State {\n connectEmailAccountRequest: RequestState;\n verifyEmailAccountRequest: RequestState;\n verifyWhitelabelEmailAccountRequest: RequestState;\n setDefaultEmailAccountRequest: RequestState;\n disconnectEmailAccountRequest: RequestState;\n updateEmailAccountStatusRequest: RequestState;\n getEmailAccountsRequest: RequestState;\n getEmailAccountsListRequest: RequestState;\n deleteEmailAccountRequest: RequestState;\n updateEmailAccountRequest: RequestState;\n getEmailAccountRequest: RequestState;\n getEmailAccountSettingsRequest: RequestState;\n updateEmailAccountRampUpSettingsRequest: RequestState;\n deleteMultipleEmailAccountRequest: RequestState;\n getEmailAccountSetupScoreRequest: RequestState;\n testSMTPConnectionRequest: RequestState;\n testIMAPConnectionRequest: RequestState;\n connectSmtpImapAccountRequest: RequestState;\n getSmtpImapAccountDetailsRequest: RequestState;\n updateSmtpImapAccountDetailsRequest: RequestState;\n emailTimeIntervalSettingsRequest: RequestState;\n updateEmailAgeRequest: RequestState;\n importEmailAccountCsvRequest: RequestState;\n bulkEmailUpdateRequest: RequestState;\n trulyinboxEmailAccountVerifyShApiKeyRequest: RequestState;\n getTrulyInboxTokenRequest: RequestState;\n authUrl: string;\n emailAccounts: EmailAccount[];\n isTiIntegrated: boolean;\n emailAccountsPagination: {\n totalItems: number;\n currentPage: number;\n itemsPerPage: number;\n totalPages: number;\n itemCount: number;\n };\n emailsCount: {\n connectedEmailsCount: number;\n disconnectedEmailsCount: number;\n pausedEmailsCount: number;\n };\n emailAccount: EmailAccount;\n emailAccountsList: EmailAccount[];\n emailAccountSettings: EmailAccountSettings[];\n isLoading: boolean;\n emailAccountSetup: EmailAccountSetup;\n testSMTPConnectionResponse: TestConnectionResponse;\n testIMAPConnectionResponse: TestConnectionResponse;\n connectSmtpImapAccountResponse: ConnectSmtpImapAccountResponse;\n sendGetSmtpImapAccountDetailsResponse: GetSMTPIMAPEmailDetailsResponse;\n sendUpdateSmtpImapAccountDetailsResponse: any;\n sendTrulyinboxEmailAccountVerifyShApiKeyResponse: any;\n bulkSelectedEmailAccounts: BulkSelectedEmailAccounts;\n selectedEmailAccounts: EmailAccount[];\n whitelabelEmailAccountResponse: {\n emailAccount: string;\n domain: string;\n };\n emailAccountsFilters: EmailAccountsFilters;\n emailAccountTagsAssignRequest: RequestState;\n emailAccountTagsUnassignRequest: RequestState;\n emailAccountTagsBulkAssignRequest: RequestState;\n emailAccountTagsBulkUnassignRequest: RequestState;\n emailAccountTagsList: EmailAccountTag[];\n getEmailAccountTagsRequest: RequestState;\n trulyInboxToken: string;\n\n // Email Account Infrastructure State\n getDomainPlansRequest: RequestState;\n getDomainSearchRequest: RequestState;\n getDomainOwnerContactDetailsRequest: RequestState;\n uploadDomainProfilePictureRequest: RequestState;\n purchaseDomainRequest: RequestState;\n addEmailAccountsRequest: RequestState;\n calculatePayRequest: RequestState;\n\n domainPlans: Record;\n domains: Domain[];\n domainOwnerContactDetails: DomainOwnerContactDetails;\n emailAccountInfrastructureServiceProvider: EmailAccountInfrastructureServiceProvider;\n emailAccountInfrastructureCart: CreateEmailAccountInfrastructureCart;\n emailAccountInfrastructureForwardingDomain: string;\n hasErrorsInContactDetailsForm: boolean;\n uploadDomainProfilePictureResponse: EmailAccountProfile;\n purchaseDomainResponse: {\n stripeCheckoutUrl: string;\n };\n emailAccountSetupInProgress: boolean;\n\n selectedDomain: SelectedDomain;\n newEmailAccountsToAdd: EmailAccountType[];\n calculatePayResponse: CalculatePayResponse;\n}\n\nconst initialState: State = {\n connectEmailAccountRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n verifyEmailAccountRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n verifyWhitelabelEmailAccountRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n setDefaultEmailAccountRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n disconnectEmailAccountRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateEmailAccountStatusRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getEmailAccountsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getEmailAccountsListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n deleteEmailAccountRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateEmailAccountRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getEmailAccountRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getEmailAccountSettingsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateEmailAccountRampUpSettingsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n deleteMultipleEmailAccountRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getEmailAccountSetupScoreRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n testSMTPConnectionRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n testIMAPConnectionRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n connectSmtpImapAccountRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getSmtpImapAccountDetailsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateSmtpImapAccountDetailsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n emailTimeIntervalSettingsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateEmailAgeRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n importEmailAccountCsvRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n bulkEmailUpdateRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n trulyinboxEmailAccountVerifyShApiKeyRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getEmailAccountTagsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n emailAccountTagsAssignRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n emailAccountTagsUnassignRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n emailAccountTagsBulkAssignRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n emailAccountTagsBulkUnassignRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getTrulyInboxTokenRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n authUrl: '',\n emailAccounts: [],\n isTiIntegrated: false,\n emailAccountsPagination: null,\n emailsCount: {\n connectedEmailsCount: 0,\n disconnectedEmailsCount: 0,\n pausedEmailsCount: 0,\n },\n emailAccount: null,\n emailAccountsList: [],\n emailAccountSettings: [],\n isLoading: false,\n emailAccountSetup: null,\n testSMTPConnectionResponse: null,\n testIMAPConnectionResponse: null,\n connectSmtpImapAccountResponse: null,\n sendGetSmtpImapAccountDetailsResponse: null,\n sendUpdateSmtpImapAccountDetailsResponse: null,\n sendTrulyinboxEmailAccountVerifyShApiKeyResponse: null,\n bulkSelectedEmailAccounts: null,\n selectedEmailAccounts: [],\n whitelabelEmailAccountResponse: null,\n emailAccountsFilters: emailAccountsFiltersInitialState,\n emailAccountTagsList: [],\n trulyInboxToken: '',\n\n // Email Account Infrastructure State\n getDomainPlansRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getDomainSearchRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getDomainOwnerContactDetailsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n uploadDomainProfilePictureRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n purchaseDomainRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n addEmailAccountsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n calculatePayRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n\n domainPlans: null,\n domains: [],\n emailAccountInfrastructureServiceProvider: null,\n emailAccountInfrastructureCart: {\n domains: [],\n emailAccounts: [],\n },\n domainOwnerContactDetails: null,\n emailAccountInfrastructureForwardingDomain: '',\n hasErrorsInContactDetailsForm: true,\n uploadDomainProfilePictureResponse: null,\n purchaseDomainResponse: null,\n emailAccountSetupInProgress: false,\n\n // Add More Email Accounts\n selectedDomain: null,\n newEmailAccountsToAdd: [],\n calculatePayResponse: null,\n};\n\nconst emailAccountSlice = createSlice({\n name: 'emailAccount',\n initialState,\n reducers: {\n changeEmailAccountStatus: (state, action) => {\n state.emailAccount.status = action.payload;\n },\n resetEmailAccountSetupState: (state) => {\n state.getEmailAccountSetupScoreRequest =\n initialState.getEmailAccountSetupScoreRequest;\n state.emailAccountSetup = initialState.emailAccountSetup;\n },\n resetEmailAccountRampUpSettingsRequestState: (state) => {\n state.updateEmailAccountRampUpSettingsRequest =\n initialState.updateEmailAccountRampUpSettingsRequest;\n },\n resetEmailAccountAndSettings: (state) => {\n state.emailAccount = initialState.emailAccount;\n state.emailAccountSettings = initialState.emailAccountSettings;\n state.emailTimeIntervalSettingsRequest =\n initialState.emailTimeIntervalSettingsRequest;\n },\n resetUpdateSmtpImapAccountDetails: (state) => {\n state.getSmtpImapAccountDetailsRequest =\n initialState.getSmtpImapAccountDetailsRequest;\n state.updateSmtpImapAccountDetailsRequest =\n initialState.updateSmtpImapAccountDetailsRequest;\n state.sendGetSmtpImapAccountDetailsResponse =\n initialState.sendGetSmtpImapAccountDetailsResponse;\n state.sendUpdateSmtpImapAccountDetailsResponse =\n initialState.sendUpdateSmtpImapAccountDetailsResponse;\n },\n resetSmtpImapTestConnection: (state) => {\n state.testSMTPConnectionRequest = initialState.testSMTPConnectionRequest;\n state.testIMAPConnectionRequest = initialState.testIMAPConnectionRequest;\n state.testSMTPConnectionResponse =\n initialState.testSMTPConnectionResponse;\n state.testIMAPConnectionResponse =\n initialState.testIMAPConnectionResponse;\n },\n resetSmtpIMapConnectResponse: (state) => {\n state.connectSmtpImapAccountRequest =\n initialState.connectSmtpImapAccountRequest;\n state.connectSmtpImapAccountResponse =\n initialState.connectSmtpImapAccountResponse;\n },\n resetUpdateEmailAgeRequest: (state) => {\n state.updateEmailAgeRequest = initialState.updateEmailAgeRequest;\n },\n\n // Email Accounts Bulk Action Handlers\n onBulkSelectEmailAccounts: (state, action) => {\n state.bulkSelectedEmailAccounts = action.payload;\n },\n clearEmailAccountsSelection: (state) => {\n state.bulkSelectedEmailAccounts = initialState.bulkSelectedEmailAccounts;\n state.selectedEmailAccounts = initialState.selectedEmailAccounts;\n },\n selectAllEmailAccounts: (state, action) => {\n if (action.payload.status === true) {\n if (state.bulkSelectedEmailAccounts?.isAllEmailAccountsSelected) {\n action.payload.rows.forEach(({ id: contactId }) => {\n state.bulkSelectedEmailAccounts.deSelectedEmailAccountIds = state.bulkSelectedEmailAccounts.deSelectedEmailAccountIds.filter(\n (id) => contactId !== id,\n );\n });\n }\n state.selectedEmailAccounts = state.selectedEmailAccounts.concat(\n action.payload.rows,\n );\n } else {\n if (state.bulkSelectedEmailAccounts?.isAllEmailAccountsSelected) {\n action.payload.rows.forEach(({ id }) => {\n state.bulkSelectedEmailAccounts.deSelectedEmailAccountIds = state.bulkSelectedEmailAccounts?.deSelectedEmailAccountIds.concat(\n [id],\n );\n });\n }\n state.selectedEmailAccounts = state.selectedEmailAccounts.reduce(\n (acc, row) => {\n let isPresent = false;\n action.payload.rows.forEach(({ id }) => {\n if (id === row.id) {\n isPresent = true;\n }\n });\n if (isPresent) {\n return acc;\n }\n return [...acc, row];\n },\n [],\n );\n }\n },\n selectSingleEmailAccount: (state, action) => {\n if (action.payload.status === true) {\n if (state.bulkSelectedEmailAccounts?.isAllEmailAccountsSelected) {\n state.bulkSelectedEmailAccounts.deSelectedEmailAccountIds = state.bulkSelectedEmailAccounts.deSelectedEmailAccountIds.filter(\n (id) => id !== action.payload.row.id,\n );\n }\n state.selectedEmailAccounts = state.selectedEmailAccounts.concat([\n action.payload.row,\n ]);\n } else {\n if (state.bulkSelectedEmailAccounts?.isAllEmailAccountsSelected) {\n state.bulkSelectedEmailAccounts.deSelectedEmailAccountIds = state.bulkSelectedEmailAccounts?.deSelectedEmailAccountIds.concat(\n [action.payload.row.id],\n );\n }\n state.selectedEmailAccounts = state.selectedEmailAccounts.filter(\n ({ id }) => id !== action.payload.row.id,\n );\n }\n },\n resetSelectedEmailAccount: (state) => {\n state.selectedEmailAccounts = initialState.selectedEmailAccounts;\n },\n updateEmailAccountsFilters: (state, action) => {\n state.emailAccountsFilters = {\n ...state.emailAccountsFilters,\n ...action.payload,\n };\n },\n resetEmailAccountTagsRequest: (state) => {\n state.emailAccountTagsAssignRequest =\n initialState.emailAccountTagsAssignRequest;\n state.emailAccountTagsUnassignRequest =\n initialState.emailAccountTagsUnassignRequest;\n state.emailAccountTagsBulkAssignRequest =\n initialState.emailAccountTagsBulkAssignRequest;\n state.emailAccountTagsBulkUnassignRequest =\n initialState.emailAccountTagsBulkUnassignRequest;\n },\n resetEmailAccountTagsList: (state) => {\n state.emailAccountTagsList = [];\n },\n\n // Email Account Infrastructure Reducers\n setEmailAccountInfrastructureDataFromLS: (state) => {\n const preloadedData = preloadDataFromLocalStorage();\n if (preloadedData) {\n state.emailAccountInfrastructureServiceProvider =\n preloadedData.serviceProvider ||\n initialState.emailAccountInfrastructureServiceProvider;\n state.emailAccountInfrastructureCart =\n preloadedData.cart || initialState.emailAccountInfrastructureCart;\n state.emailAccountInfrastructureForwardingDomain =\n preloadedData.forwardingDomain ||\n initialState.emailAccountInfrastructureForwardingDomain;\n state.domainOwnerContactDetails =\n preloadedData.contactDetails ||\n initialState.domainOwnerContactDetails;\n }\n },\n setEmailAccountInfrastructureServiceProvider: (state, action) => {\n state.emailAccountInfrastructureServiceProvider = action.payload;\n saveToLocalStorage(\n LOCAL_STORAGE_KEYS.EMAIL_ACCOUNT_INFRASTRUCTURE_SERVICE_PROVIDER,\n action.payload,\n );\n },\n addDomainToEmailAccountInfrastructureCart: (state, action) => {\n state.emailAccountInfrastructureCart.domains = state.emailAccountInfrastructureCart.domains.concat(\n action.payload,\n );\n\n saveToLocalStorage(\n LOCAL_STORAGE_KEYS.EMAIL_ACCOUNT_INFRASTRUCTURE_CART,\n state.emailAccountInfrastructureCart,\n );\n\n saveToLocalStorage(\n LOCAL_STORAGE_KEYS.EMAIL_ACCOUNT_INFRASTRUCTURE_LAST_UPDATED_AT,\n new Date().toISOString(),\n );\n },\n removeDomainFromEmailAccountInfrastructureCart: (state, action) => {\n state.emailAccountInfrastructureCart.domains = state.emailAccountInfrastructureCart.domains.filter(\n (obj) => obj.name !== action.payload,\n );\n\n state.emailAccountInfrastructureCart.emailAccounts = state.emailAccountInfrastructureCart.emailAccounts.filter(\n (obj) => obj.email.split('@')[1] !== action.payload,\n );\n\n saveToLocalStorage(\n LOCAL_STORAGE_KEYS.EMAIL_ACCOUNT_INFRASTRUCTURE_CART,\n state.emailAccountInfrastructureCart,\n );\n\n saveToLocalStorage(\n LOCAL_STORAGE_KEYS.EMAIL_ACCOUNT_INFRASTRUCTURE_LAST_UPDATED_AT,\n new Date().toISOString(),\n );\n },\n addEmailAccountToEmailAccountInfrastructureCart: (state, action) => {\n state.emailAccountInfrastructureCart.emailAccounts = state.emailAccountInfrastructureCart.emailAccounts.concat(\n action.payload,\n );\n\n saveToLocalStorage(\n LOCAL_STORAGE_KEYS.EMAIL_ACCOUNT_INFRASTRUCTURE_CART,\n state.emailAccountInfrastructureCart,\n );\n\n saveToLocalStorage(\n LOCAL_STORAGE_KEYS.EMAIL_ACCOUNT_INFRASTRUCTURE_LAST_UPDATED_AT,\n new Date().toISOString(),\n );\n },\n removeEmailAccountFromEmailAccountInfrastructureCart: (state, action) => {\n state.emailAccountInfrastructureCart.emailAccounts = state.emailAccountInfrastructureCart.emailAccounts.filter(\n (obj) => obj.email !== action.payload,\n );\n\n saveToLocalStorage(\n LOCAL_STORAGE_KEYS.EMAIL_ACCOUNT_INFRASTRUCTURE_CART,\n state.emailAccountInfrastructureCart,\n );\n\n saveToLocalStorage(\n LOCAL_STORAGE_KEYS.EMAIL_ACCOUNT_INFRASTRUCTURE_LAST_UPDATED_AT,\n new Date().toISOString(),\n );\n },\n updateEmailAccountProfileInEmailAccountInfrastructureCart: (\n state,\n action,\n ) => {\n state.emailAccountInfrastructureCart.emailAccounts = state.emailAccountInfrastructureCart.emailAccounts.map(\n (obj) => {\n if (!obj.profile) {\n return {\n ...obj,\n profile: action.payload,\n };\n }\n return obj;\n },\n );\n\n saveToLocalStorage(\n LOCAL_STORAGE_KEYS.EMAIL_ACCOUNT_INFRASTRUCTURE_CART,\n state.emailAccountInfrastructureCart,\n );\n\n saveToLocalStorage(\n LOCAL_STORAGE_KEYS.EMAIL_ACCOUNT_INFRASTRUCTURE_LAST_UPDATED_AT,\n new Date().toISOString(),\n );\n },\n resetEmailAccountInfrastructureCart: (state) => {\n state.emailAccountInfrastructureCart =\n initialState.emailAccountInfrastructureCart;\n\n removeFromLocalStorage(\n LOCAL_STORAGE_KEYS.EMAIL_ACCOUNT_INFRASTRUCTURE_CART,\n );\n },\n resetGetDomainSearchRequest: (state) => {\n state.getDomainSearchRequest = initialState.getDomainSearchRequest;\n },\n resetUploadDomainProfilePictureRequest: (state) => {\n state.uploadDomainProfilePictureRequest =\n initialState.uploadDomainProfilePictureRequest;\n },\n setEmailAccountInfrastructureForwardingDomain: (state, action) => {\n state.emailAccountInfrastructureForwardingDomain = action.payload;\n saveToLocalStorage(\n LOCAL_STORAGE_KEYS.EMAIL_ACCOUNT_INFRASTRUCTURE_FORWARDING_DOMAIN,\n state.emailAccountInfrastructureForwardingDomain,\n );\n\n saveToLocalStorage(\n LOCAL_STORAGE_KEYS.EMAIL_ACCOUNT_INFRASTRUCTURE_LAST_UPDATED_AT,\n new Date().toISOString(),\n );\n },\n updateHasErrorsInContactDetailsForm: (state, action) => {\n state.hasErrorsInContactDetailsForm = action.payload;\n },\n resetEmailAccountInfrastructureServiceProvider: (state) => {\n state.emailAccountInfrastructureServiceProvider =\n initialState.emailAccountInfrastructureServiceProvider;\n removeFromLocalStorage(\n LOCAL_STORAGE_KEYS.EMAIL_ACCOUNT_INFRASTRUCTURE_SERVICE_PROVIDER,\n );\n },\n resetDomains: (state) => {\n state.domains = initialState.domains;\n },\n resetDomainPlans: (state) => {\n state.domainPlans = initialState.domainPlans;\n },\n resetEmailAccountInfrastructureForwardingDomain: (state) => {\n state.emailAccountInfrastructureForwardingDomain =\n initialState.emailAccountInfrastructureForwardingDomain;\n\n removeFromLocalStorage(\n LOCAL_STORAGE_KEYS.EMAIL_ACCOUNT_INFRASTRUCTURE_FORWARDING_DOMAIN,\n );\n },\n resetHasErrorsInContactDetailsForm: (state) => {\n state.hasErrorsInContactDetailsForm =\n initialState.hasErrorsInContactDetailsForm;\n },\n resetDomainOwnerContactDetails: (state) => {\n state.domainOwnerContactDetails = initialState.domainOwnerContactDetails;\n removeFromLocalStorage(\n LOCAL_STORAGE_KEYS.EMAIL_ACCOUNT_INFRASTRUCTURE_CONTACT_DETAILS,\n );\n },\n resetPurchaseDomainRequest: (state) => {\n state.purchaseDomainRequest = initialState.purchaseDomainRequest;\n state.purchaseDomainResponse = initialState.purchaseDomainResponse;\n },\n\n resetEmailAccountInfrastructure: (state) => {\n state.emailAccountInfrastructureCart =\n initialState.emailAccountInfrastructureCart;\n\n state.uploadDomainProfilePictureRequest =\n initialState.uploadDomainProfilePictureRequest;\n\n state.getDomainSearchRequest = initialState.getDomainSearchRequest;\n state.emailAccountInfrastructureServiceProvider =\n initialState.emailAccountInfrastructureServiceProvider;\n state.domains = initialState.domains;\n state.domainPlans = initialState.domainPlans;\n state.emailAccountInfrastructureForwardingDomain =\n initialState.emailAccountInfrastructureForwardingDomain;\n state.hasErrorsInContactDetailsForm =\n initialState.hasErrorsInContactDetailsForm;\n state.domainOwnerContactDetails = initialState.domainOwnerContactDetails;\n },\n resetImportEmailAccountCsvRequest: (state) => {\n state.importEmailAccountCsvRequest =\n initialState.importEmailAccountCsvRequest;\n },\n\n // Add More Email Accounts\n resetAddEmailAccountsRequest: (state) => {\n state.addEmailAccountsRequest = initialState.addEmailAccountsRequest;\n },\n resetCalculatePayRequest: (state) => {\n state.calculatePayRequest = initialState.calculatePayRequest;\n },\n setAddEmailAccountsDataFromLS: (state) => {\n const data = getAddEmailAccountsDataFromLS(state.selectedDomain?.id);\n state.newEmailAccountsToAdd = data || [];\n },\n setSelectedDomains: (state, action) => {\n state.selectedDomain = action.payload;\n },\n resetSelectedDomains: (state) => {\n state.selectedDomain = initialState.selectedDomain;\n },\n addNewEmailAccount: (state, action) => {\n const payload = state.newEmailAccountsToAdd.concat(action.payload);\n state.newEmailAccountsToAdd = payload;\n setAddEmailAccountsDataInLS(state.selectedDomain?.id, payload);\n },\n removeNewEmailAccount: (state, action) => {\n const payload = state.newEmailAccountsToAdd.filter(\n (obj) => obj.email !== action.payload,\n );\n state.newEmailAccountsToAdd = payload;\n setAddEmailAccountsDataInLS(state.selectedDomain?.id, payload);\n },\n removeAllNewEmailAccount: (state) => {\n state.newEmailAccountsToAdd = initialState.newEmailAccountsToAdd;\n removeAddEmailAccountsDataFromLS();\n },\n },\n extraReducers: (builder) => {\n // Get Authorization urlverifyWhitelabelEmailAccount\n builder.addCase(connectEmailAccountRequest.pending, (state) => {\n state.connectEmailAccountRequest.status = RequestStatus.Pending;\n state.connectEmailAccountRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(connectEmailAccountRequest.fulfilled, (state, action) => {\n state.connectEmailAccountRequest.status = RequestStatus.Succeeded;\n state.connectEmailAccountRequest.message = action.payload.message;\n state.authUrl = action.payload.payload.authUrl;\n state.isLoading = false;\n });\n builder.addCase(connectEmailAccountRequest.rejected, (state, action) => {\n state.connectEmailAccountRequest.status = RequestStatus.Failed;\n state.connectEmailAccountRequest.error =\n !action.payload.isHandled && action.payload;\n state.isLoading = false;\n });\n\n // Add and reconnect email account\n builder.addCase(verifyEmailAccountRequest.pending, (state) => {\n state.verifyEmailAccountRequest.status = RequestStatus.Pending;\n state.verifyEmailAccountRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(verifyEmailAccountRequest.fulfilled, (state, action) => {\n state.verifyEmailAccountRequest.status = RequestStatus.Succeeded;\n state.verifyEmailAccountRequest.message = action.payload.message;\n state.isLoading = false;\n });\n builder.addCase(verifyEmailAccountRequest.rejected, (state, action) => {\n state.verifyEmailAccountRequest.status = RequestStatus.Failed;\n state.verifyEmailAccountRequest.error =\n !action.payload.isHandled && action.payload;\n state.isLoading = false;\n });\n\n // Add and reconnect email account\n builder.addCase(verifyWhitelabelEmailAccountRequest.pending, (state) => {\n state.verifyWhitelabelEmailAccountRequest.status = RequestStatus.Pending;\n state.verifyWhitelabelEmailAccountRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(\n verifyWhitelabelEmailAccountRequest.fulfilled,\n (state, action) => {\n state.verifyWhitelabelEmailAccountRequest.status =\n RequestStatus.Succeeded;\n state.whitelabelEmailAccountResponse = action.payload.payload;\n state.verifyWhitelabelEmailAccountRequest.message =\n action.payload.message;\n state.isLoading = false;\n },\n );\n builder.addCase(\n verifyWhitelabelEmailAccountRequest.rejected,\n (state, action) => {\n state.verifyWhitelabelEmailAccountRequest.status = RequestStatus.Failed;\n state.verifyWhitelabelEmailAccountRequest.error =\n !action.payload.isHandled && action.payload;\n state.isLoading = false;\n },\n );\n\n // Make a default email account\n builder.addCase(setDefaultEmailAccountRequest.pending, (state) => {\n state.setDefaultEmailAccountRequest.status = RequestStatus.Pending;\n state.setDefaultEmailAccountRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(\n setDefaultEmailAccountRequest.fulfilled,\n (state, action) => {\n state.setDefaultEmailAccountRequest.status = RequestStatus.Succeeded;\n state.setDefaultEmailAccountRequest.message = action.payload.message;\n state.isLoading = false;\n },\n );\n builder.addCase(setDefaultEmailAccountRequest.rejected, (state, action) => {\n state.setDefaultEmailAccountRequest.status = RequestStatus.Failed;\n state.setDefaultEmailAccountRequest.error =\n !action.payload.isHandled && action.payload;\n state.isLoading = false;\n });\n\n // Revoke email account\n builder.addCase(disconnectEmailAccountRequest.pending, (state) => {\n state.disconnectEmailAccountRequest.status = RequestStatus.Pending;\n state.disconnectEmailAccountRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(\n disconnectEmailAccountRequest.fulfilled,\n (state, action) => {\n state.disconnectEmailAccountRequest.status = RequestStatus.Succeeded;\n state.disconnectEmailAccountRequest.message = action.payload.message;\n state.isLoading = false;\n if (state.emailAccount) {\n state.emailAccount = {\n ...state.emailAccount,\n status: action.payload.payload.status,\n };\n }\n },\n );\n builder.addCase(disconnectEmailAccountRequest.rejected, (state, action) => {\n state.disconnectEmailAccountRequest.status = RequestStatus.Failed;\n state.disconnectEmailAccountRequest.error =\n !action.payload.isHandled && action.payload;\n state.isLoading = false;\n });\n\n // Pause email account\n builder.addCase(updateEmailAccountStatusRequest.pending, (state) => {\n state.updateEmailAccountStatusRequest.status = RequestStatus.Pending;\n state.updateEmailAccountStatusRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(\n updateEmailAccountStatusRequest.fulfilled,\n (state, action) => {\n state.updateEmailAccountStatusRequest.status = RequestStatus.Succeeded;\n state.updateEmailAccountStatusRequest.message = action.payload.message;\n state.isLoading = false;\n },\n );\n builder.addCase(\n updateEmailAccountStatusRequest.rejected,\n (state, action) => {\n state.updateEmailAccountStatusRequest.status = RequestStatus.Failed;\n state.updateEmailAccountStatusRequest.error =\n !action.payload.isHandled && action.payload;\n state.isLoading = false;\n },\n );\n\n // Get Email Accounts\n builder.addCase(getEmailAccountsRequest.pending, (state) => {\n state.getEmailAccountsRequest.status = RequestStatus.Pending;\n state.getEmailAccountsRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(getEmailAccountsRequest.fulfilled, (state, action) => {\n state.getEmailAccountsRequest.status = RequestStatus.Succeeded;\n state.getEmailAccountsRequest.message = action.payload.message;\n state.emailAccounts = action.payload.payload.emails;\n state.isTiIntegrated = action.payload.payload.isTiIntegrated;\n state.emailAccountsPagination = action.payload.payload.meta;\n state.emailsCount = {\n connectedEmailsCount: action.payload.payload.connectedEmailsCount,\n disconnectedEmailsCount: action.payload.payload.disconnectedEmailsCount,\n pausedEmailsCount: action.payload.payload.pausedEmailsCount,\n };\n state.emailAccountSetupInProgress =\n action.payload.payload.emailAccountSetupInProgress;\n state.isLoading = false;\n });\n builder.addCase(getEmailAccountsRequest.rejected, (state, action) => {\n state.getEmailAccountsRequest.status = RequestStatus.Failed;\n state.getEmailAccountsRequest.error = action.payload;\n state.isLoading = false;\n });\n\n // Get Email Accounts List\n builder.addCase(getEmailAccountsListRequest.pending, (state) => {\n state.getEmailAccountsListRequest.status = RequestStatus.Pending;\n state.getEmailAccountsListRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(getEmailAccountsListRequest.fulfilled, (state, action) => {\n state.getEmailAccountsListRequest.status = RequestStatus.Succeeded;\n state.getEmailAccountsListRequest.message = action.payload.message;\n state.emailAccountsList = action.payload.payload;\n state.isLoading = false;\n });\n builder.addCase(getEmailAccountsListRequest.rejected, (state, action) => {\n state.getEmailAccountsListRequest.status = RequestStatus.Failed;\n state.getEmailAccountsListRequest.error = action.payload;\n state.isLoading = false;\n });\n\n // Delete email account\n builder.addCase(deleteEmailAccountRequest.pending, (state) => {\n state.deleteEmailAccountRequest.status = RequestStatus.Pending;\n state.deleteEmailAccountRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(deleteEmailAccountRequest.fulfilled, (state, action) => {\n state.deleteEmailAccountRequest.status = RequestStatus.Succeeded;\n state.deleteEmailAccountRequest.message = action.payload.message;\n state.isLoading = false;\n });\n builder.addCase(deleteEmailAccountRequest.rejected, (state, action) => {\n state.deleteEmailAccountRequest.status = RequestStatus.Failed;\n state.deleteEmailAccountRequest.error =\n !action.payload.isHandled && action.payload;\n state.isLoading = false;\n });\n\n // Update email account\n builder.addCase(updateEmailAccountRequest.pending, (state) => {\n state.updateEmailAccountRequest.status = RequestStatus.Pending;\n state.updateEmailAccountRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(updateEmailAccountRequest.fulfilled, (state, action) => {\n state.updateEmailAccountRequest.status = RequestStatus.Succeeded;\n state.updateEmailAccountRequest.message = action.payload.message;\n state.isLoading = false;\n });\n builder.addCase(updateEmailAccountRequest.rejected, (state, action) => {\n state.updateEmailAccountRequest.status = RequestStatus.Failed;\n state.updateEmailAccountRequest.error =\n !action.payload.isHandled && action.payload;\n state.isLoading = false;\n });\n\n // Update email account\n builder.addCase(\n updateEmailAccountRampUpSettingsRequest.pending,\n (state) => {\n state.updateEmailAccountRampUpSettingsRequest.status =\n RequestStatus.Pending;\n state.updateEmailAccountRampUpSettingsRequest.error = null;\n state.isLoading = true;\n },\n );\n builder.addCase(\n updateEmailAccountRampUpSettingsRequest.fulfilled,\n (state, action) => {\n state.updateEmailAccountRampUpSettingsRequest.status =\n RequestStatus.Succeeded;\n state.updateEmailAccountRampUpSettingsRequest.message =\n action.payload.message;\n state.isLoading = false;\n },\n );\n builder.addCase(\n updateEmailAccountRampUpSettingsRequest.rejected,\n (state, action) => {\n state.updateEmailAccountRampUpSettingsRequest.status =\n RequestStatus.Failed;\n state.updateEmailAccountRampUpSettingsRequest.error =\n !action.payload.isHandled && action.payload;\n state.isLoading = false;\n },\n );\n\n // Email Time Interval\n builder.addCase(emailTimeIntervalSettingsRequest.pending, (state) => {\n state.emailTimeIntervalSettingsRequest.status = RequestStatus.Pending;\n state.emailTimeIntervalSettingsRequest.error = null;\n });\n builder.addCase(\n emailTimeIntervalSettingsRequest.fulfilled,\n (state, action) => {\n state.emailTimeIntervalSettingsRequest.status = RequestStatus.Succeeded;\n state.emailTimeIntervalSettingsRequest.message = action.payload.message;\n },\n );\n builder.addCase(\n emailTimeIntervalSettingsRequest.rejected,\n (state, action) => {\n state.emailTimeIntervalSettingsRequest.status = RequestStatus.Failed;\n state.emailTimeIntervalSettingsRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Get Email Account\n builder.addCase(getEmailAccountRequest.pending, (state) => {\n state.getEmailAccountRequest.status = RequestStatus.Pending;\n state.getEmailAccountRequest.error = null;\n state.isLoading = true;\n });\n\n builder.addCase(getEmailAccountRequest.fulfilled, (state, action) => {\n state.getEmailAccountRequest.status = RequestStatus.Succeeded;\n state.getEmailAccountRequest.error = null;\n state.emailAccount = action.payload.payload;\n state.isLoading = false;\n });\n\n builder.addCase(getEmailAccountRequest.rejected, (state, action) => {\n state.getEmailAccountRequest.status = RequestStatus.Failed;\n state.getEmailAccountRequest.error = action.payload;\n state.isLoading = false;\n });\n\n // Get email account settings\n builder.addCase(getEmailAccountSettingsRequest.pending, (state) => {\n state.getEmailAccountSettingsRequest.status = RequestStatus.Pending;\n state.getEmailAccountSettingsRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(\n getEmailAccountSettingsRequest.fulfilled,\n (state, action) => {\n state.getEmailAccountSettingsRequest.status = RequestStatus.Succeeded;\n state.emailAccountSettings = action.payload.payload;\n state.isLoading = false;\n },\n );\n builder.addCase(\n getEmailAccountSettingsRequest.rejected,\n (state, action) => {\n state.getEmailAccountSettingsRequest.status = RequestStatus.Failed;\n state.getEmailAccountSettingsRequest.error =\n !action.payload.isHandled && action.payload;\n state.isLoading = false;\n },\n );\n\n // Fetch Email Account Health Score\n builder.addCase(getEmailAccountSetupScoreRequest.pending, (state) => {\n state.getEmailAccountSetupScoreRequest.status = RequestStatus.Pending;\n state.getEmailAccountSetupScoreRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(\n getEmailAccountSetupScoreRequest.fulfilled,\n (state, action) => {\n state.getEmailAccountSetupScoreRequest.status = RequestStatus.Succeeded;\n state.emailAccountSetup = action.payload.payload;\n state.isLoading = false;\n },\n );\n builder.addCase(\n getEmailAccountSetupScoreRequest.rejected,\n (state, action) => {\n state.getEmailAccountSetupScoreRequest.status = RequestStatus.Failed;\n state.getEmailAccountSetupScoreRequest.error =\n !action.payload.isHandled && action.payload;\n state.isLoading = false;\n },\n );\n\n // Test SMTP Connection\n builder.addCase(testSMTPConnectionRequest.pending, (state) => {\n state.testSMTPConnectionRequest.status = RequestStatus.Pending;\n state.testSMTPConnectionRequest.message = null;\n state.testSMTPConnectionRequest.error = null;\n });\n builder.addCase(testSMTPConnectionRequest.fulfilled, (state, action) => {\n state.testSMTPConnectionRequest.status = RequestStatus.Succeeded;\n state.testSMTPConnectionResponse = action.payload.payload;\n state.testSMTPConnectionRequest.message = action.payload.message;\n state.testSMTPConnectionRequest.error = null;\n });\n builder.addCase(testSMTPConnectionRequest.rejected, (state, action) => {\n state.testSMTPConnectionRequest.status = RequestStatus.Failed;\n state.testSMTPConnectionRequest.message = action.payload.message;\n state.testSMTPConnectionRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Test IMAP Connection\n builder.addCase(testIMAPConnectionRequest.pending, (state) => {\n state.testIMAPConnectionRequest.status = RequestStatus.Pending;\n state.testIMAPConnectionRequest.message = null;\n state.testIMAPConnectionRequest.error = null;\n });\n builder.addCase(testIMAPConnectionRequest.fulfilled, (state, action) => {\n state.testIMAPConnectionRequest.status = RequestStatus.Succeeded;\n state.testIMAPConnectionResponse = action.payload.payload;\n state.testIMAPConnectionRequest.message = action.payload.message;\n state.testIMAPConnectionRequest.error = null;\n });\n builder.addCase(testIMAPConnectionRequest.rejected, (state, action) => {\n state.testIMAPConnectionRequest.status = RequestStatus.Failed;\n state.testIMAPConnectionRequest.message = action.payload.message;\n state.testIMAPConnectionRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Connect SMTP IMAP Email Account\n builder.addCase(connectSmtpImapAccountRequest.pending, (state) => {\n state.connectSmtpImapAccountRequest.status = RequestStatus.Pending;\n state.connectSmtpImapAccountRequest.message = null;\n state.connectSmtpImapAccountRequest.error = null;\n });\n builder.addCase(\n connectSmtpImapAccountRequest.fulfilled,\n (state, action) => {\n state.connectSmtpImapAccountRequest.status = RequestStatus.Succeeded;\n state.connectSmtpImapAccountResponse = action.payload.payload;\n state.connectSmtpImapAccountRequest.message =\n action.payload.payload?.message;\n state.connectSmtpImapAccountRequest.error = null;\n },\n );\n builder.addCase(connectSmtpImapAccountRequest.rejected, (state, action) => {\n state.connectSmtpImapAccountRequest.status = RequestStatus.Failed;\n state.connectSmtpImapAccountRequest.message = action.payload.message;\n state.connectSmtpImapAccountRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get SMTP IMAP Account Details\n builder.addCase(getSmtpImapAccountDetailsRequest.pending, (state) => {\n state.getSmtpImapAccountDetailsRequest.status = RequestStatus.Pending;\n state.getSmtpImapAccountDetailsRequest.message = null;\n state.getSmtpImapAccountDetailsRequest.error = null;\n });\n builder.addCase(\n getSmtpImapAccountDetailsRequest.fulfilled,\n (state, action) => {\n state.getSmtpImapAccountDetailsRequest.status = RequestStatus.Succeeded;\n state.sendGetSmtpImapAccountDetailsResponse = action.payload.payload;\n state.getSmtpImapAccountDetailsRequest.message = action.payload.message;\n state.getSmtpImapAccountDetailsRequest.error = null;\n },\n );\n builder.addCase(\n getSmtpImapAccountDetailsRequest.rejected,\n (state, action) => {\n state.getSmtpImapAccountDetailsRequest.status = RequestStatus.Failed;\n state.getSmtpImapAccountDetailsRequest.message = action.payload.message;\n state.getSmtpImapAccountDetailsRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Update SMTP IMAP Account Details\n builder.addCase(updateSmtpImapAccountDetailsRequest.pending, (state) => {\n state.updateSmtpImapAccountDetailsRequest.status = RequestStatus.Pending;\n state.updateSmtpImapAccountDetailsRequest.message = null;\n state.updateSmtpImapAccountDetailsRequest.error = null;\n });\n builder.addCase(\n updateSmtpImapAccountDetailsRequest.fulfilled,\n (state, action) => {\n state.updateSmtpImapAccountDetailsRequest.status =\n RequestStatus.Succeeded;\n state.sendUpdateSmtpImapAccountDetailsResponse = action.payload.payload;\n state.updateSmtpImapAccountDetailsRequest.message =\n action.payload.payload.message;\n state.updateSmtpImapAccountDetailsRequest.error = null;\n },\n );\n builder.addCase(\n updateSmtpImapAccountDetailsRequest.rejected,\n (state, action) => {\n state.updateSmtpImapAccountDetailsRequest.status = RequestStatus.Failed;\n state.updateSmtpImapAccountDetailsRequest.message =\n action.payload.message;\n state.updateSmtpImapAccountDetailsRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Update Email Age Request\n builder.addCase(updateEmailAgeRequest.pending, (state) => {\n state.updateEmailAgeRequest.status = RequestStatus.Pending;\n state.updateEmailAgeRequest.message = null;\n state.updateEmailAgeRequest.error = null;\n });\n builder.addCase(updateEmailAgeRequest.fulfilled, (state, action) => {\n state.updateEmailAgeRequest.status = RequestStatus.Succeeded;\n state.updateEmailAgeRequest.message = action.payload.message;\n state.updateEmailAgeRequest.error = null;\n });\n builder.addCase(updateEmailAgeRequest.rejected, (state, action) => {\n state.updateEmailAgeRequest.status = RequestStatus.Failed;\n state.updateEmailAgeRequest.message = action.payload.message;\n state.updateEmailAgeRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Import Email Accounts Via CSV\n builder.addCase(importEmailAccountCsvRequest.pending, (state) => {\n state.importEmailAccountCsvRequest.status = RequestStatus.Pending;\n state.importEmailAccountCsvRequest.message = null;\n state.importEmailAccountCsvRequest.error = null;\n });\n builder.addCase(importEmailAccountCsvRequest.fulfilled, (state, action) => {\n state.importEmailAccountCsvRequest.status = RequestStatus.Succeeded;\n state.importEmailAccountCsvRequest.message = action.payload.message;\n state.importEmailAccountCsvRequest.error = null;\n });\n builder.addCase(importEmailAccountCsvRequest.rejected, (state, action) => {\n state.importEmailAccountCsvRequest.status = RequestStatus.Failed;\n state.importEmailAccountCsvRequest.message = action.payload.message;\n state.importEmailAccountCsvRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Bulk Email Update\n builder.addCase(bulkEmailUpdateRequest.pending, (state) => {\n state.bulkEmailUpdateRequest.status = RequestStatus.Pending;\n state.bulkEmailUpdateRequest.message = null;\n state.bulkEmailUpdateRequest.error = null;\n });\n builder.addCase(bulkEmailUpdateRequest.fulfilled, (state, action) => {\n state.bulkEmailUpdateRequest.status = RequestStatus.Succeeded;\n state.bulkEmailUpdateRequest.message =\n action.payload.payload.successMessage;\n state.bulkEmailUpdateRequest.error = null;\n });\n builder.addCase(bulkEmailUpdateRequest.rejected, (state, action) => {\n state.bulkEmailUpdateRequest.status = RequestStatus.Failed;\n state.bulkEmailUpdateRequest.message = action.payload.message;\n state.bulkEmailUpdateRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Trulyinbox email account api key with consent request\n builder.addCase(\n trulyinboxEmailAccountVerifyShApiKeyRequest.pending,\n (state) => {\n state.trulyinboxEmailAccountVerifyShApiKeyRequest.status =\n RequestStatus.Pending;\n state.trulyinboxEmailAccountVerifyShApiKeyRequest.message = null;\n state.trulyinboxEmailAccountVerifyShApiKeyRequest.error = null;\n },\n );\n builder.addCase(\n trulyinboxEmailAccountVerifyShApiKeyRequest.fulfilled,\n (state, action) => {\n state.trulyinboxEmailAccountVerifyShApiKeyRequest.status =\n RequestStatus.Succeeded;\n state.sendTrulyinboxEmailAccountVerifyShApiKeyResponse =\n action.payload.payload?.payload || {};\n state.trulyinboxEmailAccountVerifyShApiKeyRequest.message =\n action.payload.payload?.message || '';\n state.trulyinboxEmailAccountVerifyShApiKeyRequest.error = null;\n },\n );\n builder.addCase(\n trulyinboxEmailAccountVerifyShApiKeyRequest.rejected,\n (state, action) => {\n state.trulyinboxEmailAccountVerifyShApiKeyRequest.status =\n RequestStatus.Failed;\n state.trulyinboxEmailAccountVerifyShApiKeyRequest.message =\n action.payload.message;\n state.trulyinboxEmailAccountVerifyShApiKeyRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Email Account Tags\n builder.addCase(getEmailAccountTagsRequest.pending, (state) => {\n state.getEmailAccountTagsRequest.status = RequestStatus.Pending;\n state.getEmailAccountTagsRequest.error = null;\n state.getEmailAccountTagsRequest.message = null;\n });\n builder.addCase(getEmailAccountTagsRequest.fulfilled, (state, action) => {\n state.getEmailAccountTagsRequest.status = RequestStatus.Succeeded;\n state.emailAccountTagsList = action.payload.payload;\n });\n builder.addCase(getEmailAccountTagsRequest.rejected, (state, action) => {\n state.getEmailAccountTagsRequest.status = RequestStatus.Failed;\n state.getEmailAccountTagsRequest.message = action.payload.message;\n state.getEmailAccountTagsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n builder.addCase(emailAccountTagsAssignRequest.pending, (state) => {\n state.emailAccountTagsAssignRequest.status = RequestStatus.Pending;\n state.emailAccountTagsAssignRequest.error = null;\n state.emailAccountTagsAssignRequest.message = null;\n });\n builder.addCase(\n emailAccountTagsAssignRequest.fulfilled,\n (state, action) => {\n state.emailAccountTagsAssignRequest.status = RequestStatus.Succeeded;\n state.emailAccountTagsAssignRequest.message = action.payload.message;\n },\n );\n builder.addCase(emailAccountTagsAssignRequest.rejected, (state, action) => {\n state.emailAccountTagsAssignRequest.status = RequestStatus.Failed;\n state.emailAccountTagsAssignRequest.message = action.payload.message;\n state.emailAccountTagsAssignRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n builder.addCase(emailAccountTagsUnassignRequest.pending, (state) => {\n state.emailAccountTagsUnassignRequest.status = RequestStatus.Pending;\n state.emailAccountTagsUnassignRequest.error = null;\n state.emailAccountTagsUnassignRequest.message = null;\n });\n builder.addCase(\n emailAccountTagsUnassignRequest.fulfilled,\n (state, action) => {\n state.emailAccountTagsUnassignRequest.status = RequestStatus.Succeeded;\n state.emailAccountTagsUnassignRequest.message = action.payload.message;\n },\n );\n builder.addCase(\n emailAccountTagsUnassignRequest.rejected,\n (state, action) => {\n state.emailAccountTagsUnassignRequest.status = RequestStatus.Failed;\n state.emailAccountTagsUnassignRequest.message = action.payload.message;\n state.emailAccountTagsUnassignRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n builder.addCase(emailAccountTagsBulkAssignRequest.pending, (state) => {\n state.emailAccountTagsBulkAssignRequest.status = RequestStatus.Pending;\n state.emailAccountTagsBulkAssignRequest.error = null;\n state.emailAccountTagsBulkAssignRequest.message = null;\n });\n builder.addCase(\n emailAccountTagsBulkAssignRequest.fulfilled,\n (state, action) => {\n state.emailAccountTagsBulkAssignRequest.status =\n RequestStatus.Succeeded;\n state.emailAccountTagsBulkAssignRequest.message =\n action.payload.message;\n },\n );\n builder.addCase(\n emailAccountTagsBulkAssignRequest.rejected,\n (state, action) => {\n state.emailAccountTagsBulkAssignRequest.status = RequestStatus.Failed;\n state.emailAccountTagsBulkAssignRequest.message =\n action.payload.message;\n state.emailAccountTagsBulkAssignRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n builder.addCase(emailAccountTagsBulkUnassignRequest.pending, (state) => {\n state.emailAccountTagsBulkUnassignRequest.status = RequestStatus.Pending;\n state.emailAccountTagsBulkUnassignRequest.error = null;\n state.emailAccountTagsBulkUnassignRequest.message = null;\n });\n builder.addCase(\n emailAccountTagsBulkUnassignRequest.fulfilled,\n (state, action) => {\n state.emailAccountTagsBulkUnassignRequest.status =\n RequestStatus.Succeeded;\n state.emailAccountTagsBulkUnassignRequest.message =\n action.payload.message;\n },\n );\n builder.addCase(\n emailAccountTagsBulkUnassignRequest.rejected,\n (state, action) => {\n state.emailAccountTagsBulkUnassignRequest.status = RequestStatus.Failed;\n state.emailAccountTagsBulkUnassignRequest.message =\n action.payload.message;\n state.emailAccountTagsBulkUnassignRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Get Truly Inbox Token\n builder.addCase(getTrulyInboxTokenRequest.pending, (state) => {\n state.getTrulyInboxTokenRequest.status = RequestStatus.Pending;\n state.getTrulyInboxTokenRequest.error = null;\n state.getTrulyInboxTokenRequest.message = null;\n });\n builder.addCase(getTrulyInboxTokenRequest.fulfilled, (state, action) => {\n state.getTrulyInboxTokenRequest.status = RequestStatus.Succeeded;\n state.trulyInboxToken = action.payload.payload.accessToken;\n });\n builder.addCase(getTrulyInboxTokenRequest.rejected, (state, action) => {\n state.getTrulyInboxTokenRequest.status = RequestStatus.Failed;\n state.getTrulyInboxTokenRequest.message = action.payload.message;\n state.getTrulyInboxTokenRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Email Account Infrastructure Cases\n\n // Get Domain Plans\n builder.addCase(getDomainPlansRequest.pending, (state) => {\n state.getDomainPlansRequest.status = RequestStatus.Pending;\n state.getDomainPlansRequest.error = null;\n state.getDomainPlansRequest.message = null;\n });\n builder.addCase(getDomainPlansRequest.fulfilled, (state, action) => {\n state.getDomainPlansRequest.status = RequestStatus.Succeeded;\n state.domainPlans = action.payload.payload;\n });\n builder.addCase(getDomainPlansRequest.rejected, (state, action) => {\n state.getDomainPlansRequest.status = RequestStatus.Failed;\n state.getDomainPlansRequest.message = action.payload.message;\n state.getDomainPlansRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Domain Search\n builder.addCase(getDomainSearchRequest.pending, (state) => {\n state.getDomainSearchRequest.status = RequestStatus.Pending;\n state.getDomainSearchRequest.error = null;\n state.getDomainSearchRequest.message = null;\n });\n builder.addCase(getDomainSearchRequest.fulfilled, (state, action) => {\n state.getDomainSearchRequest.status = RequestStatus.Succeeded;\n\n const domains: Domain[] = action.payload.payload as Domain[];\n\n const uniqueDomains = Array.from(\n new Map(domains.map((domain) => [domain.name, domain])).values(),\n );\n\n state.domains = uniqueDomains;\n });\n builder.addCase(getDomainSearchRequest.rejected, (state, action) => {\n state.getDomainSearchRequest.status = RequestStatus.Failed;\n state.getDomainSearchRequest.message = action.payload.message;\n state.getDomainSearchRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Domain Owner Contact Details\n builder.addCase(getDomainOwnerContactDetailsRequest.pending, (state) => {\n state.getDomainOwnerContactDetailsRequest.status = RequestStatus.Pending;\n state.getDomainOwnerContactDetailsRequest.error = null;\n state.getDomainOwnerContactDetailsRequest.message = null;\n });\n builder.addCase(\n getDomainOwnerContactDetailsRequest.fulfilled,\n (state, action) => {\n state.getDomainOwnerContactDetailsRequest.status =\n RequestStatus.Succeeded;\n state.domainOwnerContactDetails = action.payload.payload;\n\n saveToLocalStorage(\n LOCAL_STORAGE_KEYS.EMAIL_ACCOUNT_INFRASTRUCTURE_CONTACT_DETAILS,\n state.domainOwnerContactDetails,\n );\n },\n );\n builder.addCase(\n getDomainOwnerContactDetailsRequest.rejected,\n (state, action) => {\n state.getDomainOwnerContactDetailsRequest.status = RequestStatus.Failed;\n state.getDomainOwnerContactDetailsRequest.message =\n action.payload.message;\n state.getDomainOwnerContactDetailsRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Upload Domain Profile Picture\n builder.addCase(uploadDomainProfilePictureRequest.pending, (state) => {\n state.uploadDomainProfilePictureRequest.status = RequestStatus.Pending;\n state.uploadDomainProfilePictureRequest.error = null;\n state.uploadDomainProfilePictureRequest.message = null;\n });\n builder.addCase(\n uploadDomainProfilePictureRequest.fulfilled,\n (state, action) => {\n state.uploadDomainProfilePictureRequest.status =\n RequestStatus.Succeeded;\n state.uploadDomainProfilePictureResponse = action.payload.payload;\n },\n );\n builder.addCase(\n uploadDomainProfilePictureRequest.rejected,\n (state, action) => {\n state.uploadDomainProfilePictureRequest.status = RequestStatus.Failed;\n state.uploadDomainProfilePictureRequest.message =\n action.payload.message;\n state.uploadDomainProfilePictureRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Purchase Domain\n builder.addCase(purchaseDomainRequest.pending, (state) => {\n state.purchaseDomainRequest.status = RequestStatus.Pending;\n state.purchaseDomainRequest.error = null;\n state.purchaseDomainRequest.message = null;\n });\n builder.addCase(purchaseDomainRequest.fulfilled, (state, action) => {\n state.purchaseDomainRequest.status = RequestStatus.Succeeded;\n state.purchaseDomainResponse = action.payload.payload;\n });\n builder.addCase(purchaseDomainRequest.rejected, (state, action) => {\n state.purchaseDomainRequest.status = RequestStatus.Failed;\n state.purchaseDomainRequest.message = action.payload.message;\n state.purchaseDomainRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Add Email Accounts\n builder.addCase(addEmailAccountsRequest.pending, (state) => {\n state.addEmailAccountsRequest.status = RequestStatus.Pending;\n state.addEmailAccountsRequest.error = null;\n state.addEmailAccountsRequest.message = null;\n });\n builder.addCase(addEmailAccountsRequest.fulfilled, (state, action) => {\n state.addEmailAccountsRequest.status = RequestStatus.Succeeded;\n state.addEmailAccountsRequest.message = action.payload.message;\n });\n builder.addCase(addEmailAccountsRequest.rejected, (state, action) => {\n state.addEmailAccountsRequest.status = RequestStatus.Failed;\n state.addEmailAccountsRequest.message = action.payload.message;\n state.addEmailAccountsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Add Email Accounts\n builder.addCase(calculatePayRequest.pending, (state) => {\n state.calculatePayRequest.status = RequestStatus.Pending;\n state.calculatePayRequest.error = null;\n state.calculatePayRequest.message = null;\n });\n builder.addCase(calculatePayRequest.fulfilled, (state, action) => {\n state.calculatePayRequest.status = RequestStatus.Succeeded;\n state.calculatePayResponse = action.payload.payload.data;\n });\n builder.addCase(calculatePayRequest.rejected, (state, action) => {\n state.calculatePayRequest.status = RequestStatus.Failed;\n state.calculatePayRequest.message = action.payload.message;\n state.calculatePayRequest.error =\n !action.payload.isHandled && action.payload;\n });\n },\n});\n\nexport const {\n changeEmailAccountStatus,\n resetEmailAccountSetupState,\n resetEmailAccountRampUpSettingsRequestState,\n resetEmailAccountAndSettings,\n resetSmtpImapTestConnection,\n resetSmtpIMapConnectResponse,\n resetUpdateSmtpImapAccountDetails,\n resetUpdateEmailAgeRequest,\n\n onBulkSelectEmailAccounts,\n clearEmailAccountsSelection,\n selectAllEmailAccounts,\n selectSingleEmailAccount,\n resetSelectedEmailAccount,\n updateEmailAccountsFilters,\n resetEmailAccountTagsRequest,\n resetEmailAccountTagsList,\n setEmailAccountInfrastructureServiceProvider,\n resetGetDomainSearchRequest,\n setEmailAccountInfrastructureForwardingDomain,\n addDomainToEmailAccountInfrastructureCart,\n removeDomainFromEmailAccountInfrastructureCart,\n addEmailAccountToEmailAccountInfrastructureCart,\n removeEmailAccountFromEmailAccountInfrastructureCart,\n updateEmailAccountProfileInEmailAccountInfrastructureCart,\n resetEmailAccountInfrastructureCart,\n updateHasErrorsInContactDetailsForm,\n resetUploadDomainProfilePictureRequest,\n resetEmailAccountInfrastructureServiceProvider,\n resetDomains,\n resetDomainPlans,\n resetEmailAccountInfrastructureForwardingDomain,\n resetHasErrorsInContactDetailsForm,\n resetDomainOwnerContactDetails,\n resetPurchaseDomainRequest,\n resetEmailAccountInfrastructure,\n setEmailAccountInfrastructureDataFromLS,\n resetImportEmailAccountCsvRequest,\n resetAddEmailAccountsRequest,\n resetCalculatePayRequest,\n setAddEmailAccountsDataFromLS,\n setSelectedDomains,\n resetSelectedDomains,\n addNewEmailAccount,\n removeNewEmailAccount,\n removeAllNewEmailAccount,\n} = emailAccountSlice.actions;\nexport {\n connectEmailAccountRequest,\n verifyEmailAccountRequest,\n setDefaultEmailAccountRequest,\n disconnectEmailAccountRequest,\n updateEmailAccountStatusRequest,\n getEmailAccountsRequest,\n deleteEmailAccountRequest,\n updateEmailAccountRequest,\n emailTimeIntervalSettingsRequest,\n getEmailAccountTagsRequest,\n emailAccountTagsAssignRequest,\n emailAccountTagsUnassignRequest,\n emailAccountTagsBulkAssignRequest,\n emailAccountTagsBulkUnassignRequest,\n};\nexport default emailAccountSlice.reducer;\n","enum SubscriptionStatus {\n Active = 'active',\n Canceled = 'canceled',\n Paused = 'paused',\n}\n\nexport default SubscriptionStatus;\n","import React, { ReactNode, useEffect, useState } from 'react';\nimport { Modal as BootstrapModal } from 'react-bootstrap';\nimport { ChevronLeft, ChevronRight, Cross } from '@saleshandy/icons';\nimport { Button as SHButton } from '@saleshandy/design-system';\nimport classNames from 'classnames';\n\nimport Button from '../button';\nimport Icon from '../icon';\nimport eventBus from '../../../../utils/event-bus';\nimport { constants } from '../../../../enums/constants';\nimport { Variant, Theme } from '../button/button';\nimport { accessibleOnClick } from '../../../../utils/accessible-on-click';\n\nconst { Header, Title, Body, Footer } = BootstrapModal;\n\ntype IProps = {\n // modal configurations\n show: boolean;\n onClose?: () => void;\n onSubmit?: (e?: any) => void;\n onCancel?: (e?: any) => void;\n onHide?: () => void;\n className?: string;\n backdrop?: 'static' | boolean;\n\n extraModalProps?: Record;\n\n // modal title\n titleContent?: ReactNode;\n showCloseIcon?: boolean;\n hideHeader?: boolean;\n isCustomCloseIcon?: boolean;\n\n // modal body\n children: ReactNode;\n\n // modal footer\n hideFooter?: boolean;\n hideCancelButton?: boolean;\n hideSubmitButton?: boolean;\n submitButtonText?: ReactNode;\n cancelButtonText?: ReactNode;\n isSubmitDisabled?: boolean;\n isSubmitLoading?: boolean;\n isCancelLoading?: boolean;\n isCancelDisabled?: boolean;\n footerContent?: ReactNode;\n showSidebar?: boolean;\n isCollapsibleSidebar?: boolean;\n sidebarTitle?: ReactNode;\n sidebarContent?: ReactNode;\n submitButtonClassName?: string;\n cancelButtonClassName?: string;\n submitButtonVariant?: Variant;\n cancelButtonVarient?: Variant;\n cancelButtonTheme?: Theme;\n submitButtonRef?: any;\n showSidebarFooter?: boolean;\n sidebarCtaMeta?: {\n label: string;\n onClick: VoidFunction;\n disabled: boolean;\n };\n showSeparator?: boolean;\n defaultSidebarCollapsedValue?: boolean;\n onSidebarCollapseToggle?: (value: boolean) => void;\n footerClassNames?: string;\n footerActionsPrefixComponent?: ReactNode;\n} & ({ backdrop: 'static' | boolean } | { onHide: () => void });\n\nconst Modal: React.FC = ({\n show,\n onClose,\n onSubmit,\n onCancel,\n onHide,\n className = '',\n backdrop,\n extraModalProps,\n titleContent,\n showCloseIcon = false,\n isCustomCloseIcon = false,\n hideHeader = false,\n children,\n hideFooter = false,\n hideCancelButton = false,\n hideSubmitButton = false,\n submitButtonText = 'Submit',\n cancelButtonText = 'Cancel',\n isSubmitDisabled = false,\n isSubmitLoading = false,\n isCancelLoading = false,\n isCancelDisabled = false,\n footerContent = false,\n showSidebar = false,\n isCollapsibleSidebar = false,\n sidebarTitle,\n sidebarContent,\n submitButtonClassName,\n cancelButtonClassName,\n submitButtonVariant,\n cancelButtonVarient = Button.Variant.Primary,\n cancelButtonTheme = Button.Theme.Ghost,\n submitButtonRef,\n showSidebarFooter,\n sidebarCtaMeta,\n defaultSidebarCollapsedValue = false,\n showSeparator,\n onSidebarCollapseToggle,\n footerClassNames = '',\n footerActionsPrefixComponent,\n}) => {\n const [isCollapsed, setIsCollapsed] = useState(defaultSidebarCollapsedValue);\n\n const onCloseHandler = () => {\n onClose();\n eventBus.dispatch(constants.MODAL_HANDLER, { isModalOpened: false });\n };\n\n const onCancelHandler = () => {\n if (onCancel) {\n onCancel();\n } else {\n onCloseHandler();\n }\n };\n\n const onSubmitHandler = (e) => {\n onSubmit(e);\n eventBus.dispatch(constants.MODAL_HANDLER, { isModalOpened: false });\n };\n\n useEffect(() => {\n eventBus.dispatch(constants.MODAL_HANDLER, { isModalOpened: show });\n }, [show]);\n\n const isHiddenButton = hideSubmitButton && hideCancelButton;\n\n const modalClasses = classNames([\n 'bs-modal-container',\n className,\n { 'modal-with-sidebar': showSidebar },\n { 'modal-with-collapsible-sidebar': showSidebar && isCollapsibleSidebar },\n {\n 'modal-sidebar-collapsed':\n showSidebar && isCollapsibleSidebar && isCollapsed,\n },\n ]);\n\n const modalFooterClasses = classNames([\n 'bs-modal-footer',\n { 'footer-with-content': !isHiddenButton && footerContent },\n footerClassNames,\n ]);\n\n const sidebarBodyClasses = classNames([\n 'bs-modal-body sidebar-body',\n { 'h-100': !(showSidebarFooter && sidebarCtaMeta) },\n ]);\n\n const sidebarBodyContentClasses = classNames([\n 'sidebar-body-content',\n { 'd-none': isCollapsibleSidebar && isCollapsed },\n ]);\n\n const renderCloseBtn = () =>\n showCloseIcon && (\n \n );\n\n return (\n \n
    \n {!hideHeader && (\n
    \n {titleContent}\n {!isCollapsibleSidebar && renderCloseBtn()}\n
    \n )}\n\n \n {showSidebar && isCollapsibleSidebar && (\n {\n setIsCollapsed(!isCollapsed);\n onSidebarCollapseToggle?.(!isCollapsed);\n })}\n >\n {isCollapsed ? : }\n
    \n )}\n\n {children}\n \n\n {showSeparator && }\n\n {!hideFooter && (\n
    \n {footerContent && (\n
    {footerContent}
    \n )}\n\n {!isHiddenButton && (\n \n {footerActionsPrefixComponent && (\n <>{footerActionsPrefixComponent}\n )}\n\n {!hideCancelButton && (\n \n {cancelButtonText}\n \n )}\n {!hideSubmitButton && (\n \n {submitButtonText}\n \n )}\n
    \n )}\n \n )}\n \n\n {showSidebar && (\n
    \n
    \n {sidebarTitle && {sidebarTitle}}\n {isCollapsibleSidebar && renderCloseBtn()}\n
    \n \n
    {sidebarContent}
    \n \n {showSidebarFooter && sidebarCtaMeta && !isCollapsed && (\n
    \n \n {sidebarCtaMeta.label}\n \n
    \n )}\n
    \n )}\n \n );\n};\n\nexport default Modal;\n","export const generateRandomNumber = (a: number, b: number): number => {\n return a + Math.floor(Math.random() * (b - a + 1));\n};\n\nexport const generateRandomNumberOfLength = (length: number): number => {\n return generateRandomNumber(\n Math.pow(10, length - 1),\n Math.pow(10, length) - 1,\n );\n};\n\nexport const generateRandomString = (length: number): string => {\n const chars =\n '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';\n let result = '';\n\n for (let i = length; i > 0; i--) {\n result += chars[Math.floor(Math.random() * chars.length)];\n }\n\n return result;\n};\n\nexport type GenerateIdArgs = {\n prefix: string;\n variableLength?: number;\n};\n\nexport const generateId = ({ prefix, variableLength = 10 }: GenerateIdArgs) =>\n `${prefix}-${generateRandomString(variableLength)}`;\n\nexport const truncate = (\n str: string,\n n: number,\n useWordBoundary = true,\n): string => {\n if (str.length <= n) {\n return str;\n }\n const subString = str.substr(0, n - 1);\n return (\n (useWordBoundary\n ? subString.substr(0, subString.lastIndexOf(' '))\n : subString) + '...'\n );\n};\n\nexport const capitalize = (str = '') =>\n str.charAt(0).toUpperCase() + str.slice(1);\n","import React from 'react';\nimport {\n ThemeProvider,\n ToggleButton,\n ToggleButtonGroup,\n ToggleButtonRadioProps,\n} from 'react-bootstrap';\nimport classNames from 'classnames';\nimport { ForwardRef } from '../../types/forward-ref';\n\nenum Variant {\n Default = 'default',\n Solid = 'solid',\n Outlined = 'outlined',\n OutlinedDanger = 'outline-danger',\n}\n\nexport enum Size {\n Small = 'small',\n Medium = 'medium',\n Large = 'large',\n}\n\nexport type Option = {\n label?: React.ReactNode;\n value: any;\n disabled?: boolean;\n};\n\ntype RadioButtonGroupProps = Omit<\n ToggleButtonRadioProps,\n 'type' | 'value' | 'defaultValue' | 'onChange' | 'name' | 'size'\n> & {\n variant?: Variant;\n size?: Size;\n options: Option[];\n value: any;\n onChange: (value: any, event: React.ChangeEvent) => void;\n name: string;\n};\n\ntype RadioButtonGroupStatic = {\n Variant: typeof Variant;\n Size: typeof Size;\n};\n\nconst RadioButtonGroup = React.forwardRef<\n HTMLDivElement,\n RadioButtonGroupProps\n>(\n (\n { variant, options, size, value, onChange, name, className, ...rest },\n ref,\n ) => {\n if (variant === Variant.Default) {\n const radioButtonsList = options.map((option, index) => {\n const checked = option.value === value;\n\n const labelClass = classNames([\n 'bs-radio-wrapper',\n {\n 'bs-radio-wrapper-disabled': option.disabled,\n },\n ]);\n\n const spanClass = classNames([\n 'bs-radio',\n {\n 'bs-radio-checked': checked,\n 'bs-radio-disabled': option.disabled,\n },\n ]);\n\n return (\n \n );\n });\n\n const radioButtonGroupClass = classNames(['rb-group', className]);\n\n return (\n
    \n {radioButtonsList}\n
    \n );\n }\n\n let rbSize, selectedButtonVariant;\n\n // no need to set size for medium. react bootstrap uses medium size when\n // undefined is passed for size.\n switch (size) {\n case Size.Large:\n rbSize = 'lg';\n break;\n case Size.Small:\n rbSize = 'sm';\n break;\n }\n\n switch (variant) {\n case Variant.Solid:\n selectedButtonVariant = 'primary';\n break;\n case Variant.Outlined:\n selectedButtonVariant = 'outlined';\n break;\n case Variant.OutlinedDanger:\n selectedButtonVariant = 'outline-danger';\n break;\n }\n\n return (\n \n \n {options.map((option, index) => (\n \n {option.label}\n \n ))}\n \n \n );\n },\n) as ForwardRef & RadioButtonGroupStatic;\n\nRadioButtonGroup.displayName = 'RadioButtonGroup';\n\nRadioButtonGroup.Variant = Variant;\nRadioButtonGroup.Size = Size;\n\nRadioButtonGroup.defaultProps = {\n variant: Variant.Default,\n size: Size.Medium,\n};\n\nexport default RadioButtonGroup;\n","import React from 'react';\nimport {\n OverlayTooltip,\n Placement,\n} from '../../design-system/components/overlay';\nimport type { IProps } from './type';\n\nconst TruncatedTextWithTooltip: React.FC = ({\n string = '',\n length,\n placement = Placement.Bottom,\n tooltipClassName = '',\n textClassName = '',\n}) =>\n string?.length > length ? (\n \n {`${string\n .slice(0, length)\n .trim()}...`}\n \n ) : (\n {string}\n );\n\nexport default TruncatedTextWithTooltip;\n","export enum EmailAccountSettingCode {\n DailySendingLimit = 'daily-sending-limit',\n AvailableQuota = 'available-quota',\n Bcc = 'bcc',\n Signature = 'signature',\n RampUpInitialSendingLimit = 'ramp-up-initial-sending-limit',\n RampUpStatus = 'ramp-up-status',\n RampUpLimit = 'ramp-up-limit',\n RampUpPercent = 'ramp-up-percent',\n MaxSendingLimit = 'max-sending-limit',\n MinInterval = 'min-interval',\n MaxInterval = 'max-interval',\n}\n","import React, { useEffect } from 'react';\nimport { Send } from '@saleshandy/icons';\nimport AddToSequenceModalDropDown from '../../../../../../../shared/components/add-to-sequence-modal';\nimport { RequestStatus } from '../../../../../../../shared/enums/request-status';\nimport { showGeneralErrorNotification } from '../../../../../../../shared/utils/errors';\n// eslint-disable-next-line import/no-cycle\nimport { IProps } from './add-to-sequence-modal-container';\nimport { ResourceIdentifiers } from '../../../../../../../shared/utils/access-control/enums/resource-identifiers';\nimport hasResource from '../../../../../../../shared/utils/access-control/has-resource';\nimport planPermissionError from '../../../../../../../shared/utils/errors/plan-permission-error';\nimport { isFreePlan } from '../../../../../../../shared/utils/plans';\n\nconst AddToSequenceModal: React.FC = ({\n show,\n onHide,\n resetStepAndSequence,\n sendGetSequenceList,\n sendGetSequenceStepList,\n getSequenceListRequestStatus,\n getStepListRequestStatus,\n getSequenceListRequestError,\n getStepListRequestError,\n sequenceList,\n stepList,\n addToSequence,\n addToStepRequestStatus,\n sequence,\n isSubscribed,\n currentSequenceId,\n}) => {\n useEffect(() => {\n if (sequence && sequence.id) {\n sendGetSequenceStepList(sequence.id);\n } else {\n sendGetSequenceList();\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n useEffect(\n () => () => {\n resetStepAndSequence();\n },\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [],\n );\n\n const sendGetStepRequest = (selectedSequence) => {\n sendGetSequenceStepList(selectedSequence);\n };\n\n useEffect(() => {\n if (getSequenceListRequestStatus === RequestStatus.Failed) {\n if (getSequenceListRequestError) {\n showGeneralErrorNotification(getSequenceListRequestError.message);\n }\n }\n if (getStepListRequestStatus === RequestStatus.Failed) {\n if (getStepListRequestError) {\n showGeneralErrorNotification(getStepListRequestError.message);\n }\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [getSequenceListRequestStatus, getStepListRequestStatus]);\n\n const onSubmit = (selectedSequenceId, selectedStepId) => {\n if (\n isFreePlan() &&\n !hasResource(ResourceIdentifiers.SEQUENCES_CONTACTS_IMPORT)\n ) {\n const title = 'Please upgrade your plan to start adding prospects';\n const content = [\n 'Your account is downgraded to a free plan. Upgrade to paid plan to add prospects and resume email sending.',\n ];\n\n planPermissionError.showModal(title, content, true);\n return;\n }\n addToSequence(selectedSequenceId, selectedStepId);\n onHide();\n };\n\n const isFetchingSequenceList =\n getSequenceListRequestStatus === RequestStatus.Pending;\n const isFetchingStepList = getStepListRequestStatus === RequestStatus.Pending;\n\n const isSubmitRequestPending =\n addToStepRequestStatus === RequestStatus.Pending;\n return (\n }\n sequence={sequence}\n showWarning={!isSubscribed}\n submitRequestStatus={addToStepRequestStatus}\n currentSequenceId={currentSequenceId}\n />\n );\n};\n\nexport default AddToSequenceModal;\n","import { connect, ConnectedProps } from 'react-redux';\nimport {\n getSequenceListRequest,\n getStepListRequest,\n} from '../../../../../extra-actions';\nimport {\n resetSelectedContacts,\n resetSequenceAndStepData,\n} from '../../../../../prospect-slice';\nimport { RootState } from '../../../../../../../store/root-reducer';\nimport AddToSequenceModal from './add-to-sequence-modal';\n\nconst mapStateToProps = (state: RootState) => ({\n sequenceList: state.prospect.sequences,\n getSequenceListRequestStatus: state.prospect.getSequenceListRequest.status,\n getSequenceListRequestError: state.prospect.getSequenceListRequest.error,\n stepList: state.prospect.steps,\n getStepListRequestStatus: state.prospect.getStepListRequest.status,\n getStepListRequestError: state.prospect.getStepListRequest.error,\n addToStepRequestStatus: state.prospect.addToStepRequest.status,\n});\n\nconst mapDispatchToProps = {\n sendGetSequenceList: () => getSequenceListRequest(),\n sendGetSequenceStepList: (sequenceId) => getStepListRequest({ sequenceId }),\n resetStepAndSequence: () => resetSequenceAndStepData(),\n resetSelectedContacts: () => resetSelectedContacts(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n onHide: () => void;\n show: boolean;\n addToSequence: (sequenceId, stepId) => void;\n sequence?: Record;\n isSubscribed?: boolean;\n currentSequenceId?: number;\n};\n\nexport default connector(AddToSequenceModal);\n","import { ReactNode } from 'react';\nimport { ProspectOutcomeDisplayName } from '../../../../../sequence/enums';\nimport { OutcomeSentiment } from '../../../../enums/custom-outcome';\n\n// import { IProps as IPropsContainer } from './custom-outcome-dropdown-container';\n\nexport type IPropsComponent = {\n className?: string;\n initialSelectedOption?: Option | null;\n showFooter: boolean;\n options: Option[];\n showTotal: boolean;\n onChange?: (option) => void;\n optionRenderer: (option) => ReactNode;\n selectedOptionRenderer?: (option) => JSX.Element;\n selectedOptionClassName?: string;\n changeOutcomeRequestPayload?: any;\n disableAutomaticOpening?: boolean;\n disabled?: boolean;\n};\n\nexport enum CustomOutcomeDropdownPlacement {\n Top = 'top',\n Bottom = 'bottom',\n DynamicTop = 'DynamicTop',\n DynamicBottom = 'DynamicBottom',\n}\n\nexport type IState = {\n selectedOption: any;\n show: boolean;\n showCreateProspectCustomOutcomeModal: boolean;\n elementBottom: number;\n placement: CustomOutcomeDropdownPlacement;\n};\n\nexport type Option = {\n key: number | string;\n id: number;\n name: ProspectOutcomeDisplayName | string;\n emoji: string | ReactNode;\n total?: number;\n textColor: string;\n bgColor: string;\n isDefault: boolean;\n sentiment: OutcomeSentiment;\n};\n","import React from 'react';\nimport { ChevronDown, ChevronUp } from '@saleshandy/icons';\nimport { withRouter } from 'react-router';\nimport classNames from 'classnames';\nimport Transfer from '../../../../../../shared/design-system/components/transfer';\nimport { Placement } from '../../../../../../shared/design-system/components/overlay';\nimport CreateProspectCustomOutcomeModal from '../generic-create-update-custom-outcome-modal/prospect-modal/create-prospect-custom-outcome-modal';\nimport { CustomOutcomeDropdownPlacement, IState } from './types';\nimport { RequestStatus } from '../../../../../../shared/enums/request-status';\nimport { CreateUpdateModalData } from '../../types';\nimport type { IProps } from './custom-outcome-dropdown-container';\nimport { getOutcomeIcon } from '../../../../../sequence/components/sequence-single-content/components/sequence-single-contacts/components/contact-list-content/components/helpers/step-filter-mapper';\nimport { OutcomeSentiment } from '../../../../enums/custom-outcome';\n\nclass GenericCustomOutcomeDropdown extends React.Component {\n private elementRef: React.RefObject;\n\n constructor(props) {\n super(props);\n const { initialSelectedOption, options } = this.props;\n this.state = {\n selectedOption: initialSelectedOption || options[0],\n show: false,\n showCreateProspectCustomOutcomeModal: false,\n elementBottom: null,\n placement: null,\n };\n this.elementRef = React.createRef();\n this.updateElementHeight = this.updateElementHeight.bind(this);\n }\n\n componentDidUpdate(prevProps: Readonly) {\n const { initialSelectedOption, options } = this.props;\n if (\n prevProps.initialSelectedOption?.id !== initialSelectedOption?.id ||\n prevProps.initialSelectedOption?.name !== initialSelectedOption?.name ||\n prevProps.initialSelectedOption?.sentiment !==\n initialSelectedOption?.sentiment\n ) {\n this.setSelectedOption(initialSelectedOption, options);\n }\n this.updateElementHeight();\n }\n\n onCategoryChange = (option) => {\n if (option) {\n const {\n onChange,\n changeOutcomeRequestPayload,\n sendOnOutcomeChangeRequest,\n } = this.props;\n this.setState({ selectedOption: option, show: false });\n if (changeOutcomeRequestPayload) {\n sendOnOutcomeChangeRequest(\n changeOutcomeRequestPayload.sequenceId,\n changeOutcomeRequestPayload.prospectId,\n option.id,\n );\n }\n onChange?.(option);\n }\n };\n\n onCreateProspectCustomOutcomeSubmit = (payload: CreateUpdateModalData) => {\n const { sendCreateCustomOutcomeRequest } = this.props;\n sendCreateCustomOutcomeRequest({\n label: payload.label,\n sentiment: payload.sentiment,\n });\n };\n\n setSelectedOption = (initialSelectedOption, options) => {\n this.setState({\n selectedOption: initialSelectedOption || options[0],\n });\n };\n\n showCreateProspectCustomOutcome = () => {\n this.setState({\n showCreateProspectCustomOutcomeModal: true,\n show: false,\n });\n };\n\n hideCreateProspectCustomOutcome = () => {\n this.setState({\n showCreateProspectCustomOutcomeModal: false,\n });\n };\n\n updateElementHeight() {\n const element = this.elementRef.current;\n if (element) {\n const rect = element.getBoundingClientRect();\n const { elementBottom: currentBottom } = this.state;\n const topAvailableHeight = rect.top;\n if (rect.bottom !== currentBottom) {\n // if element is scrolled either way up or down\n const isSufficientHeightTop = topAvailableHeight > 400;\n\n const placement = isSufficientHeightTop\n ? CustomOutcomeDropdownPlacement.DynamicTop\n : CustomOutcomeDropdownPlacement.DynamicBottom;\n\n this.setState({\n elementBottom: rect.bottom,\n placement,\n });\n }\n }\n }\n\n render() {\n const {\n className,\n options,\n optionRenderer,\n selectedOptionRenderer,\n selectedOptionClassName,\n showFooter,\n createCustomOutcomeRequestStatus,\n initialSelectedOption,\n disableAutomaticOpening,\n disabled = false,\n } = this.props;\n\n const {\n selectedOption,\n show,\n showCreateProspectCustomOutcomeModal,\n placement,\n } = this.state;\n\n const isCreateRequestPending =\n createCustomOutcomeRequestStatus === RequestStatus.Pending;\n\n const customOutcomeDropdownClasses = classNames([\n 'custom-outcome-dropdown',\n className,\n {\n 'transfer-container-transform':\n !disableAutomaticOpening &&\n placement === CustomOutcomeDropdownPlacement.Top &&\n false,\n 'transfer-container-dynamic-bottom':\n placement === CustomOutcomeDropdownPlacement.DynamicBottom &&\n !disableAutomaticOpening,\n 'transfer-container-dynamic-top':\n placement === CustomOutcomeDropdownPlacement.DynamicTop &&\n !disableAutomaticOpening,\n disabled,\n },\n ]);\n\n const selectedOptionRendererClasses = classNames([\n 'prospect-custom-outcome-select',\n {\n 'positive-sentiment':\n selectedOption?.sentiment === OutcomeSentiment.Positive,\n 'negative-sentiment':\n selectedOption?.sentiment === OutcomeSentiment.Negative,\n 'neutral-sentiment':\n selectedOption?.sentiment === OutcomeSentiment.Neutral,\n 'default-sentiment':\n !selectedOption ||\n !initialSelectedOption ||\n !selectedOption?.sentiment,\n 'cursor-text': disabled,\n disabled,\n },\n ]);\n\n const renderAddOutcomeDropdown = () =>\n disabled ? (\n -\n ) : (\n
    \n
    \n Add Outcome\n
    \n\n
    \n {show ? : }\n
    \n
    \n );\n\n return (\n <>\n {selectedOption && (\n option.isDefault)}\n customFilterOption={(_options, searchValue) =>\n _options.filter((option) =>\n option.name.toLowerCase().includes(searchValue.toLowerCase()),\n )\n }\n selectedOptionKey={selectedOption.key}\n onChange={([option]) => this.onCategoryChange(option)}\n optionRenderer={optionRenderer}\n placement={Placement.Bottom}\n showSearch\n searchPlaceholder=\"Search\"\n show={show}\n onToggle={(value) => {\n if (!disabled) {\n this.setState({ show: value });\n }\n }}\n showOptionsSeparator={true}\n showListSeparator={true}\n listSeparatorOptions={options.filter((option) => !option.isDefault)}\n optionFilterProp=\"name\"\n footer={\n showFooter && (\n \n

    + Custom Outcome

    \n \n )\n }\n >\n {!selectedOptionRenderer ? (\n \n <>\n {initialSelectedOption ? (\n
    \n
    \n {getOutcomeIcon(selectedOption?.name, false, {\n isDefault: selectedOption.isDefault,\n sentiment: selectedOption.sentiment,\n })}\n \n {selectedOption?.name.length > 11 + 3\n ? `${selectedOption?.name.substring(0, 11)}...`\n : selectedOption?.name}\n \n
    \n {!disabled && (\n
    \n {show ? : }\n
    \n )}\n
    \n ) : (\n renderAddOutcomeDropdown()\n )}\n \n \n ) : (\n \n {selectedOptionRenderer?.([selectedOption])}\n {!disabled && (\n
    \n {show ? : }\n
    \n )}\n \n )}\n \n )}\n {showCreateProspectCustomOutcomeModal && (\n \n )}\n \n );\n }\n}\n\nexport default withRouter(GenericCustomOutcomeDropdown);\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps } from 'react-router';\nimport { RootState } from '../../../../../../store/root-reducer';\nimport { CreateOutcomeRequestPayload } from '../../../../types/request-payload';\nimport { createCustomOutcomeRequest } from '../../extra-actions';\nimport GenericCustomOutcomeDropdown from './custom-outcome-dropdown';\nimport { IPropsComponent } from './types';\nimport { onOutcomeChangeRequest } from '../../../../../sequence/extra-actions';\n\nconst mapStateToProps = (state: RootState) => ({\n\n createCustomOutcomeRequestStatus:\n state.customOutcome.createCustomOutcomeRequest.status,\n createCustomOutcomeRequestMessage:\n state.customOutcome.createCustomOutcomeRequest.message,\n createCustomOutcomeRequestError:\n state.customOutcome.createCustomOutcomeRequest.error,\n allOutcomes: state.customOutcome.outcomes,\n});\n\nconst mapDispatchToProps = {\n sendCreateCustomOutcomeRequest: (payload: CreateOutcomeRequestPayload) =>\n createCustomOutcomeRequest(payload),\n sendOnOutcomeChangeRequest: (\n sequenceId: number,\n prospectId: number,\n outcomeId: number,\n ) => onOutcomeChangeRequest({ sequenceId, prospectId, outcomeId }),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps &\n RouteComponentProps & IPropsComponent;\n\nexport default connector(GenericCustomOutcomeDropdown);\n","import React from 'react';\nimport { OverlayTrigger, OverlayTriggerProps } from 'react-bootstrap';\nimport { Modify } from '../../../types';\nimport { Placement, TriggerType } from './enums';\n\nexport type OverlayProps = Modify<\n OverlayTriggerProps,\n {\n placement?: Placement;\n trigger?: TriggerType | TriggerType[];\n }\n>;\n\nexport const Overlay: React.FC = ({ children, ...rest }) => (\n {children}\n);\n","// eslint-disable-next-line import/prefer-default-export\nexport enum UserRole {\n SHADMIN = 'shAdmin',\n ADMIN = 'admin',\n MEMBER = 'member',\n AGENCYUSER = 'agency-user',\n AGENCYOWNER = 'agency-owner',\n AGENCYTEAMLEADER = 'agency-team-leader',\n AGENCYCLIENTUSER = 'agency-client-user',\n AGENCYADMIN = 'agency-admin',\n LtdAdmin = 'ltd-admin',\n LtdMember = 'ltd-member',\n}\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport {\n ResponseErrorWithHandled,\n ResponseSuccess,\n} from '../../../../shared/types';\nimport {\n acceptInvitation,\n verifyInvitaitonToken,\n} from '../../helpers/auth.api';\nimport { AcceptInvitationRequestPayload } from '../../types';\n\nexport const verifyInvitationTokenRequest = createAsyncThunk<\n ResponseSuccess,\n string,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'acceptInvitationCallback/verifyInvitationTokenRequest',\n async (code, thunkAPI) => {\n try {\n return await verifyInvitaitonToken(code);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n\nexport const acceptInvitationRequest = createAsyncThunk<\n ResponseSuccess,\n AcceptInvitationRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('signup/acceptInvitationRequest', async (args, thunkAPI) => {\n try {\n return await acceptInvitation(args);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport {\n acceptInvitationRequest,\n verifyInvitationTokenRequest,\n} from './extra-actions';\n\ntype RequestState = {\n status: RequestStatus;\n message: string;\n error: any;\n code?: any;\n};\n\ntype State = {\n acceptInvitationRequest: RequestState;\n verifyInvitationTokenRequest: RequestState;\n accessToken: string;\n trackingId: string;\n firstName: string;\n lastName: string;\n email: string;\n};\n\nconst initialState: State = {\n acceptInvitationRequest: {\n status: RequestStatus.Ideal,\n message: '',\n error: '',\n },\n verifyInvitationTokenRequest: {\n status: RequestStatus.Ideal,\n message: '',\n error: '',\n code: null,\n },\n email: '',\n accessToken: null,\n trackingId: null,\n firstName: null,\n lastName: null,\n};\n\nconst invitationSignup = createSlice({\n name: 'invitationSignup',\n initialState,\n reducers: {},\n extraReducers: (builder) => {\n // Accept invitation signup\n builder.addCase(acceptInvitationRequest.pending, (state) => {\n state.acceptInvitationRequest.status = RequestStatus.Pending;\n });\n builder.addCase(acceptInvitationRequest.fulfilled, (state, action) => {\n state.acceptInvitationRequest.status = RequestStatus.Succeeded;\n state.acceptInvitationRequest.message = action.payload.message;\n state.accessToken = action.payload.payload.accessToken;\n state.trackingId = action.payload.payload.trackingId;\n state.firstName = action.payload.payload.firstName;\n state.lastName = action.payload.payload.lastName;\n state.email = action.payload.payload.email;\n });\n builder.addCase(acceptInvitationRequest.rejected, (state, action) => {\n state.acceptInvitationRequest.status = RequestStatus.Failed;\n state.acceptInvitationRequest.error = action.payload;\n });\n\n // Verify invitation token\n builder.addCase(verifyInvitationTokenRequest.pending, (state: State) => {\n state.verifyInvitationTokenRequest.status = RequestStatus.Pending;\n });\n builder.addCase(\n verifyInvitationTokenRequest.fulfilled,\n (state: State, action) => {\n state.verifyInvitationTokenRequest.status = RequestStatus.Succeeded;\n state.verifyInvitationTokenRequest.message = action.payload.message;\n state.accessToken = action.payload.payload.accessToken;\n state.trackingId = action.payload.payload.trackingId;\n state.firstName = action.payload.payload.firstName;\n state.lastName = action.payload.payload.lastName;\n state.email = action.payload.payload.email;\n },\n );\n builder.addCase(\n verifyInvitationTokenRequest.rejected,\n (state: State, action) => {\n state.verifyInvitationTokenRequest.status = RequestStatus.Failed;\n state.verifyInvitationTokenRequest.code = action.payload.code;\n state.verifyInvitationTokenRequest.error = action.payload;\n },\n );\n },\n});\n\nexport { acceptInvitationRequest, verifyInvitationTokenRequest };\nexport default invitationSignup.reducer;\n","import React from 'react';\n\nexport const SHLogoTypography = () => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n","import React from 'react';\nimport classNames from 'classnames';\nimport { isArray } from '../utils';\nimport Icon from '../design-system/components/atoms/icon/icon';\n\ntype ValidationItem = {\n valid?: boolean;\n text?: string;\n};\n\ntype IProps = {\n columns: (ValidationItem | ValidationItem[])[];\n isDirty: boolean;\n};\n\nconst ValidationChecklist: React.FC = (props) => {\n const { columns: validationColumns, isDirty } = props;\n const columns = validationColumns.map((column) => {\n if (!isArray(column)) {\n column = [column as ValidationItem];\n }\n return column;\n }) as ValidationItem[][];\n\n const getValidationClassNames = (isValid) =>\n classNames([\n {\n default: !isDirty,\n valid: isValid && isDirty,\n },\n ]);\n\n return (\n <>\n

    Password must contain:

    \n
    \n {columns.map((column, columnIndex) => (\n // eslint-disable-next-line react/no-array-index-key\n
      \n {column.map((item, columnItemIndex) => (\n \n \n \n \n

      {item.text}

      \n \n ))}\n
    \n ))}\n
    \n \n );\n};\n\nexport default ValidationChecklist;\n","import React from 'react';\nimport ValidationChecklist from '../validation-checklist';\nimport passwordValidator from '../../utils/password-validator';\n\ntype IProps = {\n password: string;\n isDirty?: boolean;\n};\n\nconst PasswordValidationChecklist: React.FC = ({\n password,\n isDirty,\n}) => (\n <>\n \n \n);\n\nexport default PasswordValidationChecklist;\n","import React from 'react';\nimport { ImageIcon } from '@saleshandy/design-system';\nimport {\n OverlayTooltip,\n Placement,\n} from '../../design-system/components/overlay';\nimport { Images } from '../../app-constants';\nimport type { IProps } from './types';\nimport { getUserPlanCode } from '../../utils/user-details';\nimport { SubscriptionPlans } from '../../utils/subscription-plans';\n\nconst PremiumFeatureIndicator: React.FC = ({\n show = false,\n tooltipTxt,\n placement,\n className,\n tooltipClassname,\n}) => {\n const tooltipText = () =>\n getUserPlanCode() === SubscriptionPlans.TRIAL\n ? 'This is a premium feature that is available on PRO & higher plans. You can try it for free in your trial.'\n : \"This is a premium feature that is available on PRO & higher plans. It's not included in your current plan.\";\n\n const isPremiumIconVisible = () =>\n getUserPlanCode() === SubscriptionPlans.TRIAL ||\n getUserPlanCode() === SubscriptionPlans.OUTREACH_BASIC_MONTHLY ||\n getUserPlanCode() === SubscriptionPlans.OUTREACH_BASIC_YEARLY ||\n getUserPlanCode() === SubscriptionPlans.OUTREACH_BASIC_MONTHLY_8_2023 ||\n getUserPlanCode() === SubscriptionPlans.OUTREACH_BASIC_YEARLY_8_2023;\n\n if (isPremiumIconVisible() || show) {\n return (\n \n \n \n );\n }\n\n return null;\n};\n\nexport default PremiumFeatureIndicator;\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport { ssoLogin } from '../../helpers/auth.api';\nimport { ResponseErrorWithHandled, ResponseSuccess } from '../../../../shared/types';\n\nexport const ssoLoginRequest = createAsyncThunk<\n ResponseSuccess,\n { email: string },\n { rejectValue: ResponseErrorWithHandled }\n>('ssoLogin/ssoLoginRequest', async (data, thunkAPI) => {\n try {\n const response = await ssoLogin(data);\n return response;\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n","export enum Source {\n ProspectImportCsv = 'prospect-import-csv',\n SequenceProspectImportCsv = 'sequence-prospect-import-csv',\n ProspectManually = 'prospect-manually',\n SequenceProspectSearchAndAdd = 'sequence-prospect-search-and-add',\n OnboardingVideo = 'onboarding-video',\n OnboardingChecklist = 'onboarding-checklist',\n SequenceTab = 'sequence-create',\n System = 'system',\n}\n","import React from 'react';\nimport classNames from 'classnames';\nimport { Variant } from './enums';\nimport Icon from '../atoms/icon/icon';\n\ntype TagSubSpanProps = {\n variant: Variant;\n iconBefore: boolean;\n};\n\nconst TagSubSpan: React.FC = ({ variant, iconBefore }) => {\n const iconSpanClass = classNames([\n {\n 'bs-tag-close-icon':\n variant === Variant.Add || variant === Variant.Remove,\n },\n ]);\n\n if (!iconSpanClass) {\n return null;\n }\n\n const identifier = classNames([\n {\n 'math-plus': variant === Variant.Add,\n close: variant === Variant.Remove,\n },\n ]);\n\n return (\n \n {!iconBefore && ' '}\n \n \n \n {iconBefore && ' '}\n \n );\n};\n\nexport default TagSubSpan;\n","import React from 'react';\nimport classNames from 'classnames';\nimport { Modify } from '../../../types';\nimport { ForwardRef } from '../../../types/forward-ref';\nimport TagSubSpan from './tag-sub-span';\nimport { Color, Variant } from './enums';\n\ntype TagProps = Modify<\n React.HTMLProps,\n {\n value: React.ReactNode;\n variant?: Variant;\n color?: Color;\n onClick?: (event: React.MouseEvent) => void;\n }\n>;\n\ntype TagStatic = {\n Variant: typeof Variant;\n Color: typeof Color;\n};\n\nconst Tag = React.forwardRef(\n ({ variant, value, color, onClick, className, ...rest }, ref) => {\n const tagSubClass = classNames([\n {\n 'site-tag-plus': variant === Variant.Add,\n },\n ]);\n\n const tagClass = classNames([\n 'bs-tag',\n tagSubClass,\n {\n [`bs-tag-${color}`]: color,\n },\n className,\n ]);\n\n const iconBefore = variant === Variant.Add;\n\n return (\n \n {iconBefore && }\n {value}\n {!iconBefore && (\n \n )}\n \n );\n },\n) as ForwardRef & TagStatic;\n\nTag.displayName = 'Tag';\n\nTag.Variant = Variant;\nTag.Color = Color;\n\nTag.defaultProps = {\n variant: Variant.Default,\n};\n\nexport default Tag;\n","import moment from 'moment-timezone';\nimport { htmlToText } from 'html-to-text';\nimport {\n EmailInboxFilters,\n EmailListItem,\n EmailThreadItem,\n UpdateUniboxEmailScheduleDataPayload,\n} from '../type';\nimport { getDefaultFilters } from './utils/get-default-filters';\nimport { getIsRequestPending } from '../../../shared/utils/get-request-status';\nimport {\n SELECT_ALL_EMAIL_THREADS_LIMIT,\n UnifiedInboxFeed,\n} from '../enum/unified-inbox.enum';\nimport { TeamsAndUsersList } from '../../settings/types/users-and-teams';\nimport { ConversationType } from '../../prospect/enums/prospect';\n\n/* Max Days Range for Filter */\nexport const MAX_DAYS_RANGE = 90;\n\n/* Function to check whether the filters are modified or not.\nIt returns true, if the filters has been modified, else return false */\nexport const checkIsFilterModified = (filter: EmailInboxFilters) =>\n JSON.stringify(filter) !== JSON.stringify(getDefaultFilters());\n\n/* Function to check is the filters get API has been succeeded or not,\n It will be used to determine, weather to show or hide loading state UI */\nexport const getIsFilterLoading = ({\n getEmailCategoriesRequestStatus,\n getEmailAccountsListForFilterRequestStatus,\n getSequencesListForFilterRequestStatus,\n getAgencyClientsDropdownRequestStatus,\n getTeamsAndMembersListRequestStatus,\n}) => ({\n agencyClientFilterLoading: getIsRequestPending(\n getAgencyClientsDropdownRequestStatus,\n ),\n sequencesFilterLoading: getIsRequestPending(\n getSequencesListForFilterRequestStatus,\n ),\n emailAccountsFilterLoading: getIsRequestPending(\n getEmailAccountsListForFilterRequestStatus,\n ),\n categoriesFilterLoading: getIsRequestPending(getEmailCategoriesRequestStatus),\n ownersFilterLoading: getIsRequestPending(getTeamsAndMembersListRequestStatus),\n});\n\nexport const getUnifiedInboxPathName = (hashId: string): string =>\n hashId ? `/conversations/${hashId}` : '/conversations';\n\nexport const getTotalSelectedEmailCount = (totalItems: number) =>\n totalItems > SELECT_ALL_EMAIL_THREADS_LIMIT\n ? SELECT_ALL_EMAIL_THREADS_LIMIT\n : totalItems;\n\nexport const getAppliedFiltersCount = (\n unifiedInboxFilters: EmailInboxFilters,\n): number => {\n const filterKeys: (keyof EmailInboxFilters)[] = [\n 'conversationType',\n 'sequences',\n 'clients',\n 'emailAccounts',\n 'outcomes',\n 'owners',\n 'date',\n ];\n\n return filterKeys.reduce((count, key) => {\n const filterValue = unifiedInboxFilters[key];\n if (Array.isArray(filterValue) && filterValue.length > 0) {\n count += 1;\n }\n if (key === 'conversationType' && filterValue !== ConversationType.All) {\n count += 1;\n }\n return count;\n }, 0);\n};\n\nexport const updateUserIdsWithNames = (\n ids: {\n id: number;\n firstName: string;\n }[],\n teams: TeamsAndUsersList[],\n) => {\n const idMap = new Map();\n\n // Populate the idMap with the first matching user names from the teams array\n teams.forEach((team) => {\n team.users.forEach((user) => {\n if (!idMap.has(user.id)) {\n idMap.set(user.id, user.userName);\n }\n });\n });\n\n // Update the ids array with names from the idMap\n return ids.map((item) => {\n if (idMap.has(item.id)) {\n return {\n ...item,\n firstName: idMap.get(item.id),\n };\n }\n return item;\n });\n};\n\nexport const getIsFeedDraft = (uniboxFiltersFeed: UnifiedInboxFeed) =>\n uniboxFiltersFeed === UnifiedInboxFeed.Draft;\n\nexport const getSnippet = (content: string): string | null => {\n try {\n return htmlToText(content, {\n tags: {\n img: {\n format: 'skip',\n },\n },\n }).substring(0, 60);\n } catch (err) {\n console.log('Error in getSnippet:', err);\n return null;\n }\n};\n\n/**\n * This function will go through emailsList and emailsThreadList\n * and will process changes only for emailList item matching payload.hashId\n * and then will process emailsThreadsList to match backend's behaviour\n * which return values related to relavant draft/schedule\n * and add it to current emailList item\n */\n/* eslint-disable */\nexport const getUniboxEmailListWithUpdatedScheduleData = (\n emailsList: EmailListItem[],\n emailThreadList: EmailThreadItem[],\n payload: UpdateUniboxEmailScheduleDataPayload,\n): EmailListItem[] => {\n return emailsList.map((email) => {\n if (email.hashId === payload.hashId) {\n let relavantUnifiedScheduleEmail: EmailThreadItem;\n //Get changes from right side conversation\n emailThreadList.forEach((emailThread) => {\n if (emailThread.unifiedScheduled) {\n //Only using emailThreads that has unifiedScheduled object\n if (payload.isDraftTab) {\n if (!emailThread.unifiedScheduled?.scheduledAt) {\n //Only using emailThreads that does not have scheduledAt\n relavantUnifiedScheduleEmail = emailThread;\n }\n } else {\n //Only using emailThreads that has unifiedScheduled object\n if (!relavantUnifiedScheduleEmail) {\n //If None is selected\n relavantUnifiedScheduleEmail = emailThread;\n } else if (\n !relavantUnifiedScheduleEmail.unifiedScheduled?.scheduledAt\n ) {\n //If Selected Object is draft (always update)\n relavantUnifiedScheduleEmail = emailThread;\n } else {\n //If Selected Object is schedule\n if (emailThread.unifiedScheduled.scheduledAt) {\n //Current Item is schedule\n if (\n moment(\n emailThread.unifiedScheduled.scheduledAt,\n ).isSameOrBefore(\n relavantUnifiedScheduleEmail.unifiedScheduled.scheduledAt,\n )\n ) {\n //If Current Schedule is Before Selected Schedule\n relavantUnifiedScheduleEmail = emailThread;\n }\n }\n }\n }\n }\n });\n // Get Content Snippet\n const contentSnippet = relavantUnifiedScheduleEmail\n ? getSnippet(\n relavantUnifiedScheduleEmail.unifiedScheduled?.content ?? '',\n )\n : getSnippet(\n emailThreadList[emailThreadList.length - 1]?.content ?? '',\n );\n //Update them accordingly in left side\n return {\n ...email,\n status: relavantUnifiedScheduleEmail\n ? relavantUnifiedScheduleEmail.unifiedScheduled.status\n : null,\n scheduledAt: relavantUnifiedScheduleEmail\n ? relavantUnifiedScheduleEmail.unifiedScheduled.scheduledAt\n : null,\n timezone: relavantUnifiedScheduleEmail\n ? relavantUnifiedScheduleEmail.unifiedScheduled.timezone\n : null,\n failedReason: relavantUnifiedScheduleEmail\n ? relavantUnifiedScheduleEmail.unifiedScheduled.failedReason\n : null,\n ...(contentSnippet ? { content: contentSnippet } : {}),\n };\n }\n return email;\n });\n};\n","/* eslint-disable @typescript-eslint/no-unused-vars */\nimport * as Sentry from '@sentry/react';\nimport { getCookie } from './cookies-handlers';\nimport {\n getUserEmail,\n getUserFullName,\n getUserFirstName,\n getUserLastName,\n} from './user-details';\nimport store from '../../store';\n// eslint-disable-next-line import/no-cycle\nimport { getPostLoadMeta } from '../../components/home/helpers/meta-api';\n\ntype InitializeThirdPartyIntegrations = {\n trackingId: string;\n showChatSupport?: boolean;\n firstName: string;\n lastName: string;\n email: string;\n};\n\nexport const initializeThirdPartyIntegrations = ({\n trackingId,\n showChatSupport = false,\n firstName = '',\n lastName = '',\n email = '',\n}: InitializeThirdPartyIntegrations): void => {\n const name = `${firstName} ${lastName}`;\n\n if (trackingId) {\n // Freshworks CRM Initialization\n window.fwcrm &&\n window.fwcrm.identify(trackingId, {\n 'First Name': firstName,\n 'Last Name': lastName,\n Email: email,\n });\n\n // Google Analytics Initialization\n window.analytics &&\n window.analytics.identify(trackingId, {\n 'First Name': firstName,\n 'Last Name': lastName,\n email,\n 'Referral page': getCookie('shreferer'),\n 'Landing page': getCookie('sh_ulp'),\n });\n }\n};\n\n// Sentry Initialization\nexport const initializeSentryIntegrations = (email: string): void =>\n email && Sentry.setUser({ email });\n\nasync function updateCelloAuthToken() {\n const reponse = await getPostLoadMeta();\n return reponse?.payload?.cellAuthToken;\n}\n\nexport const initializeCello = () => {\n const state = store.getState().home;\n const celloAuthToken = state.getPostLoadMetaResponse?.celloAuthToken;\n window.cello = window.cello || { cmd: [] };\n // First step: Initialize Cello library\n const celloScript = document.createElement('script');\n celloScript.type = 'module';\n celloScript.src = process.env.REACT_APP_CELLO_SCRIPT;\n celloScript.async = true;\n if (celloAuthToken) {\n setTimeout(() => {\n document.body.appendChild(celloScript);\n window.cello.cmd.push((cello) => {\n cello.boot({\n productId: process.env.REACT_APP_CELLO_PRODUCT_ID,\n token: celloAuthToken,\n showOnBoot: true,\n customLauncherSelector: '.celloClass',\n hideDefaultLauncher: true,\n language: 'en',\n productUserDetails: {\n firstName: getUserFirstName(),\n lastName: getUserLastName(),\n fullName: getUserFullName(),\n email: getUserEmail(),\n },\n onTokenExpiring: async () => {\n const newToken = await updateCelloAuthToken();\n await window.Cello('updateToken', newToken);\n },\n onTokenExpired: async () => {\n const newToken = updateCelloAuthToken();\n await window.Cello('updateToken', newToken);\n },\n });\n });\n }, 1000);\n }\n};\n","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport { resetPasswordRequest } from './extra-actions';\n\ntype State = {\n status: RequestStatus;\n message: string;\n error: any;\n email: string;\n showError: boolean;\n};\n\nconst initialState: State = {\n status: RequestStatus.Ideal,\n message: '',\n error: '',\n email: '',\n showError: false,\n};\n\nconst resetPasswordSlice = createSlice({\n name: 'resetPassword',\n initialState,\n reducers: {\n hideError: (state) => {\n state.showError = false;\n },\n resetPasswordRequestState: (state) => {\n state.status = initialState.status;\n },\n },\n extraReducers: (builder) => {\n builder.addCase(resetPasswordRequest.pending, (state) => {\n state.status = RequestStatus.Pending;\n state.showError = false;\n });\n builder.addCase(resetPasswordRequest.fulfilled, (state, action) => {\n state.status = RequestStatus.Succeeded;\n state.message = action.payload.message;\n state.email = action.meta.arg.email;\n });\n builder.addCase(resetPasswordRequest.rejected, (state, action) => {\n state.status = RequestStatus.Failed;\n state.error = action.payload;\n state.showError = !action.payload.isHandled;\n });\n },\n});\n\nexport const {\n hideError,\n resetPasswordRequestState,\n} = resetPasswordSlice.actions;\nexport { resetPasswordRequest };\nexport default resetPasswordSlice.reducer;\n","import React from 'react';\nimport classNames from 'classnames';\nimport Button, { Type, Theme, Variant, Size, ButtonProps } from './button';\nimport Icon from '../icon/icon';\nimport { Modify } from '../../../../types';\nimport { ForwardRef } from '../../../../types/forward-ref';\n\nexport enum LoaderPlace {\n Left = 'left',\n Right = 'right',\n}\n\nexport type ButtonContainerProps = Modify<\n ButtonProps,\n {\n iconOnly?: React.ReactNode;\n isLoading?: boolean;\n loaderPlace?: LoaderPlace;\n iconLeft?: React.ReactNode;\n iconRight?: React.ReactNode;\n loaderClass?: string;\n }\n>;\n\ntype ButtonContainerStatic = {\n Type: typeof Type;\n Theme: typeof Theme;\n Variant: typeof Variant;\n Size: typeof Size;\n LoaderPlace: typeof LoaderPlace;\n};\n\nconst ButtonContainer = React.forwardRef<\n HTMLButtonElement,\n ButtonContainerProps\n>(\n (\n {\n iconOnly,\n isLoading,\n loaderPlace,\n iconLeft,\n iconRight,\n children,\n className,\n loaderClass = '',\n ...rest\n },\n ref,\n ) => {\n let newChildren = children;\n let newIconOnly = iconOnly;\n let newIconLeft = iconLeft;\n let newIconRight = iconRight;\n let btnLoadingClass;\n\n const iconOnlyProp = !!iconOnly;\n\n if (isLoading) {\n btnLoadingClass = 'btn-loading';\n const loaderIconClass = 'icon-loading';\n\n const loaderIconElement = (\n \n );\n\n const leftLoaderIconElement = (\n \n );\n\n const rightLoaderIconElement = (\n \n );\n\n if (iconOnly) {\n newIconOnly = loaderIconElement;\n } else if (loaderPlace === LoaderPlace.Left) {\n newIconLeft = leftLoaderIconElement;\n } else if (loaderPlace === LoaderPlace.Right) {\n newIconRight = rightLoaderIconElement;\n }\n }\n\n if (newIconOnly) {\n newIconOnly = {newIconOnly};\n }\n\n if (newIconLeft) {\n newIconLeft = {newIconLeft};\n }\n\n if (newIconRight) {\n newIconRight = {newIconRight};\n }\n\n if (newIconOnly) {\n newChildren = newIconOnly;\n } else {\n newChildren = (\n <>\n {newIconLeft}\n {newChildren}\n {newIconRight}\n \n );\n }\n\n const btnClass = classNames([className, btnLoadingClass]);\n\n return (\n \n );\n },\n) as ForwardRef &\n ButtonContainerStatic;\n\nButtonContainer.displayName = 'ButtonContainer';\n\nButtonContainer.defaultProps = {\n isLoading: false,\n loaderPlace: LoaderPlace.Left,\n};\n\nButtonContainer.Type = Type;\nButtonContainer.Theme = Theme;\nButtonContainer.Variant = Variant;\nButtonContainer.Size = Size;\nButtonContainer.LoaderPlace = LoaderPlace;\n\nexport default ButtonContainer;\n","import { EmailAccountType } from '../../../types/create-email-infrastructure';\n\nconst ADD_EMAIL_ACCOUNTS_DATA = 'addEmailAccounts_data';\nconst ADD_EMAIL_ACCOUNTS_DOMAIN_ID = 'addEmailAccounts_domainId';\nconst ADD_EMAIL_ACCOUNTS_LAST_UPDATED_AT = 'addEmailAccounts_lastUpdatedAt';\n\nexport const removeAddEmailAccountsDataFromLS = () => {\n localStorage.removeItem(ADD_EMAIL_ACCOUNTS_DATA);\n localStorage.removeItem(ADD_EMAIL_ACCOUNTS_DOMAIN_ID);\n localStorage.removeItem(ADD_EMAIL_ACCOUNTS_LAST_UPDATED_AT);\n};\n\nexport const getAddEmailAccountsDataFromLS = (id: string) => {\n const domainId = localStorage.getItem(ADD_EMAIL_ACCOUNTS_DOMAIN_ID);\n\n if (id !== domainId) {\n removeAddEmailAccountsDataFromLS();\n return [];\n }\n\n const now = Date.now();\n const lastUpdatedAt = localStorage.getItem(\n ADD_EMAIL_ACCOUNTS_LAST_UPDATED_AT,\n );\n const lastUpdatedTime = new Date(lastUpdatedAt).getTime();\n\n // Data updated within last 10 min\n if (now - lastUpdatedTime < 10 * 60 * 1000) {\n return JSON.parse(localStorage.getItem(ADD_EMAIL_ACCOUNTS_DATA)) || [];\n }\n\n removeAddEmailAccountsDataFromLS();\n return [];\n};\n\nexport const setAddEmailAccountsDataInLS = (\n domainId: string,\n newEmailAccountsToAdd: EmailAccountType[],\n) => {\n localStorage.setItem(ADD_EMAIL_ACCOUNTS_DOMAIN_ID, domainId);\n localStorage.setItem(\n ADD_EMAIL_ACCOUNTS_LAST_UPDATED_AT,\n new Date().toISOString(),\n );\n localStorage.setItem(\n ADD_EMAIL_ACCOUNTS_DATA,\n JSON.stringify(newEmailAccountsToAdd),\n );\n};\n","import { isEmpty } from 'lodash';\nimport {\n OnboardingRoutes,\n OnboardingSteps,\n UserSetting,\n UserSettingCode,\n} from '../types/user-setting';\nimport { redirectWithoutRefresh } from './redirect';\n\nexport const handleOnboarding = (\n meta: UserSetting[],\n currentPath: string,\n search = '',\n isLeadUrl = false,\n) => {\n const onboardingStep = meta.find(\n (setting) => setting.code === UserSettingCode.Onboarding,\n );\n\n if (onboardingStep) {\n if (currentPath !== OnboardingRoutes[onboardingStep.value]) {\n if (onboardingStep.value === OnboardingSteps.Step0) {\n redirectWithoutRefresh({\n pathname: './LTD-Checkout',\n search,\n });\n } else if (\n (onboardingStep.value === OnboardingSteps.Step1 ||\n onboardingStep.value === OnboardingSteps.Step2) &&\n !isLeadUrl\n ) {\n redirectWithoutRefresh({\n pathname: './sequence',\n search,\n });\n } else if (\n (onboardingStep.value === OnboardingSteps.Step1 ||\n onboardingStep.value === OnboardingSteps.Step2) &&\n isLeadUrl\n ) {\n redirectWithoutRefresh({\n pathname: './leads',\n search,\n });\n } else if (window.location.search) {\n // If there are query parameters in URL, instead of redirecting to \"/sequence\" in else condition, we want to skip the redirection for url parameters not to lost.\n // Skip redirect\n } else {\n redirectWithoutRefresh(OnboardingRoutes[onboardingStep.value]);\n }\n }\n }\n};\n\nexport const compareOnboardingStep = (\n meta,\n onboardingStepToCheck: OnboardingSteps,\n) => {\n if (isEmpty(meta)) {\n return false;\n }\n\n const onboardingStep = meta.find(\n (setting) =>\n setting.code === UserSettingCode.Onboarding &&\n setting.value === onboardingStepToCheck,\n );\n return !!onboardingStep;\n};\n","export type ApplyCouponCodeRequest = {\n couponCode: string;\n planId: number;\n amount: number;\n};\n\nexport enum DiscountType {\n Amount = 'amount',\n Percentage = 'percentage',\n}\n\nexport type ApplyCouponCodeResponse = {\n discountType: DiscountType;\n discountValue: number;\n message: string;\n isError: boolean;\n};\n","const agencyClientRedirectURLOnLogout = 'agency-client-redirect-url-on-logout';\n\nexport const getAgencyClientRedirectURLOnLogout = () =>\n localStorage.getItem(agencyClientRedirectURLOnLogout);\n\nexport const setAgencyClientRedirectURLOnLogout = () =>\n localStorage.setItem(agencyClientRedirectURLOnLogout, '/agency/login');\n\nexport const clearAgencyClientRedirectURLOnLogout = () =>\n localStorage.removeItem(agencyClientRedirectURLOnLogout);\n","export enum SequencePauseReasons {\n BounceLimitReached = 1,\n EmailAccountDisconnected = 2,\n PlanExpired = 3,\n ManuallyPaused = 4,\n EmailSendingLimitReached = 5,\n TrialQuotaExhausted = 6,\n PlanPaused = 7,\n AgencyClientDeleted = 8,\n EmailAccountDeleted = 9,\n PlanDowngraded = 10,\n OverLimitConnectedEmails = 11,\n AgencyClientDisabled = 12,\n EmailAccountPaused = 13,\n EmailAccountRemoved = 14,\n}\n\nexport const sequencePauseMessages = {\n [SequencePauseReasons.BounceLimitReached]: 'bounce_limit_reached',\n [SequencePauseReasons.EmailAccountDisconnected]: 'email_account_disconnected',\n [SequencePauseReasons.PlanExpired]: 'plan_expired',\n [SequencePauseReasons.ManuallyPaused]: 'manually_paused',\n [SequencePauseReasons.EmailSendingLimitReached]:\n 'email_sending_limit_reached',\n [SequencePauseReasons.TrialQuotaExhausted]: 'trial_quota_exhausted',\n [SequencePauseReasons.PlanPaused]: 'plan_paused',\n [SequencePauseReasons.AgencyClientDeleted]: 'agency_client_deleted',\n [SequencePauseReasons.AgencyClientDisabled]: 'agency_client_disabled',\n [SequencePauseReasons.EmailAccountDeleted]: 'email_account_deleted',\n [SequencePauseReasons.PlanDowngraded]: 'plan_downgraded',\n [SequencePauseReasons.OverLimitConnectedEmails]:\n 'over_limit_connected_emails',\n [SequencePauseReasons.EmailAccountPaused]: 'email_account_paused',\n [SequencePauseReasons.EmailAccountRemoved]: 'email_account_removed',\n};\n","const onboarding = {\n step3: {\n hi: 'Hi',\n welcome_to_saleshandy:\n 'Welcome to Saleshandy v3.0! Your new place for sales engagement.',\n all_of: `All of your email communication can be managed using Sequences -\n multi-touch drip campaigns to automate your salesbook and boost\n productivity.\n `,\n lets_quickly: `Let’s quickly see how to use it. \n `,\n lets_start: `Let's Start`,\n },\n step4: {\n set_up: `Set up the communication flow. If you don’t have any particular campaign\n in mind right now, you can explore our sample Sequence.`,\n },\n step5: {\n this_is_where: `This is where you can analyse the Prospects and track engagement of your Sequence.\n`,\n we_will_come: `We will come back to it in detail after we create Steps and launch the\n Sequence.`,\n great: `🎉 Great!`,\n },\n step6: {\n start_by_prospects: `Start by adding Prospects with whom you would like to start engaging\n with emails.`,\n },\n step7: {\n steps_created: `Steps created`,\n prospects_added: `Prospects added`,\n activate_the_sequence: `Activate the Sequence to send the step-wise emails to your prospects.\n You can then check Performance of the Sequence in`,\n tabs: `tabs`,\n you_are_all_set: `You are all set!`,\n },\n step8: {\n way_to_go: `Way to go!!`,\n for_every_sequence: `For every Sequence you can monitor Performance of the Sequence in`,\n check_our_tutorials: `Check our tutorials to learn best practices to use Saleshandy to boost\n your business.`,\n },\n};\n\nconst emptyList = {\n emailsTab: {\n you_asked: `You asked and we listened. It’s official.`,\n email_tab_another_way: `Emails tab, another way to efficiently track your emails,\n comes out on October 5th, 2021.`,\n through_this: `Through this, you could now easily manage & monitor your email\n activities. With the email tab you will be able to see how\n many emails are sent and the schedule of upcoming emails.`,\n please_click_on: `Please click on`,\n link_to_view: `link to view our product roadmap and provide us with any\n additional feedback that you have for us to help shape our\n product better for our users.`,\n },\n templates: {\n start_templates: 'Start With Templates',\n templates_help:\n 'Templates will help you manage your content so that you create your sequences faster than ever',\n add_templates: 'New Template',\n },\n};\n\nconst emails = {\n send_email_subject: 'Send the email now ?',\n send_email: 'Send Email',\n};\n\nconst templates = {\n clone_warning: 'Are you sure you want to clone the template',\n clone_template: 'Clone Template',\n delete_warning:\n 'Are you sure you want to delete this template? The template will be deleted permanently and you can’t undo this action.',\n delete_template: 'Delete Template',\n share_warning:\n 'Everyone in your team can use this template once you share it. Do you want to continue?',\n share_template: 'Share Template',\n enter_subject: 'Please enter subject',\n};\n\nconst tags = {\n tags_title: 'Add or Remove Tags',\n no_tags_found_title: 'No tags defined yet.',\n no_tags_found_sub_title: 'Go ahead, add your first tag! 🔥',\n tags_placeholder: 'Enter a tag',\n tags_removeMode: 'Applied tags will be displayed here',\n add_tag: '+ Add Tags',\n prospects_updated: 'Prospects Updated Successfully',\n};\n\nconst header = {\n mark_all_as_read: 'Mark all as Read',\n resume: 'Resume',\n reconnect: 'Reconnect',\n download: 'Download',\n viewLeads: 'View',\n notifications: 'Notifications',\n profile_settings: 'Profile Settings',\n feature_request: 'Feature Request',\n become_our_affiliate: 'Become Our Affiliate',\n lead_finder_credits: 'Lead Finder Credits',\n email_verification: 'Email Verification Credits',\n total_prospects: 'Total Prospects',\n monthly_emails_sent: 'Monthly Emails Sent',\n help: 'Help',\n login: 'Login',\n logout: 'Log Out',\n emailDisconnected: 'Email Disconnected',\n sequencePaused: 'Sequence Paused',\n changeLog: `What’s new`,\n scheduleADemo: 'Schedule a Demo',\n noNotifications: 'No new notifications yet',\n sequenceProspectExportForClient: 'Sequence Bulk Prospect Selection Report',\n sequenceReportClient: 'Your Sequence Report is Ready',\n uniboxConversationForClient: 'Bulk conversation Select Report',\n emailConnectionReport: 'Your Email Connection Report is Ready',\n emailAccountBulkConnectClient: 'Your Email Connection Report is Ready',\n prospectVerify: 'Your Email Verification Report is ready',\n sequenceBulkProspectClient: 'Sequence Bulk Prospect selection report',\n whitelabelDomainSet: 'Brand domain is Whitelabeled',\n dnsExport: 'Your DNC Export File is ready',\n dnsImport: 'Your DNC Import File is ready',\n sequenceProspectImport: 'Your Prospect Import File is ready',\n viewDraft: 'View Draft',\n uniboxScheduleCanceled: 'Scheduled email not sent from Unified Inbox',\n sequenceProspectBulkAction: 'Sequence Bulk Prospect selection report',\n 'prospect-bulk-action': 'Prospect Bulk selection report',\n leadRevealCompleted: 'Bulk-reveal request is completed',\n leadRevealCompletedNoEmailOrPhone: 'Bulk-reveal request is completed',\n leads: 'View',\n activate: 'Activate',\n emailAccountPaused: 'Email Account Paused',\n prospectImportAsync: 'Prospect import is in progress',\n sequenceProspectImportAsync: 'Prospect import is in progress',\n prospectImportAsyncCompleted: 'Prospect import is completed',\n sequenceProspectImportAsyncCompleted: 'Prospect import is completed',\n leadRevealCompletedAsync: 'Lead Reveal is in Progress',\n leadRevealCompletedNoEmailOrPhoneAsync: 'Lead Reveal is in Progress',\n leadRevealCompletedAsyncProcess: 'Lead Reveal is completed',\n leadRevealCompletedNoEmailOrPhoneAsyncProcess: 'Lead Reveal is completed',\n viewList: 'View List',\n viewLead: 'View Leads',\n domainRegistrationInProgress: 'Domain Registration In Progress',\n domainRegistrationComplete: 'Domain Registration Complete',\n mailboxRegistrationComplete: 'Mailbox Registration Complete',\n viewEmailAccounts: 'View Email Accounts',\n};\n\nconst blacklist = {\n valid_domain: 'Enter the valid domain name in the format domain.com',\n blacklist_domains: 'Blacklist Domains',\n blacklist_domain_sub_header:\n 'Prevent emails going to Prospects in specific domains.',\n blacklist_domain_instruction:\n 'Use a comma to separate multiple domains. For example: gmail.com, facebook.org, outlook.com',\n};\n\nconst profileProgress = {\n // keeping object keys for profile progress steps to be same\n // as receiving in api response payload\n 'watch-video': 'Watch Video',\n 'connect-email': 'Connect Email',\n 'create-sequence': 'Create Sequence',\n 'add-prospects': 'Add Prospects',\n 'activate-sequence': 'Activate Sequence',\n hello: 'Hello',\n getting_started: 'Getting Started',\n you_are_gonna_be_a_saleshandy_superstar:\n 'You’re gonna be a Saleshandy superstar',\n completed: 'Completed',\n nice_work: 'Nice Work',\n going_good: 'Going Good',\n excellent_work: 'Excellent Work',\n activate_sequence_message:\n 'Turn on this toggle to activate the sequence and start outreaching to your prospects.',\n learn_create_sequence: 'Learn how to create a sequence in 3 minutes',\n};\n\nconst watchVideoModal = {\n create_sequence: 'Create Sequence',\n watch_later: 'Watch Later',\n watch_video_description_1:\n 'Before you get started, we recommend watching this video to learn',\n watch_video_description_2:\n 'how to set up and run your first email sequence with Saleshandy.',\n};\n\nconst apiKey = {\n api_key_home_part_1:\n 'Your API keys need to be treated as securely as any other password. Refer ',\n api_key_home_part_2: `api docs`,\n api_key_home_part_3: ' for integration',\n enter_your_label: 'Enter your label',\n save_filter_lable: 'Enter a filter name',\n label: 'Label',\n invalid_label_input: 'Invalid label input',\n only_letters_allowed: 'Only characters, numbers, & hyphens are allowed',\n label_less_than: 'Label must be less than 25 character',\n api_keys_empty: 'API Keys are empty',\n please_add_api_keys: 'Please add API Keys',\n};\n\nconst sequencePauseMessages = {\n bounce_limit_reached:\n 'This sequence is paused because of the high number of bounced emails. We suggest you verify the prospects before resuming the sequence.',\n email_account_disconnected:\n 'This sequence is paused because your email account was disconnected. Please visit Settings to reconnect and start sending emails again.',\n plan_expired:\n 'This sequence is paused because your plan was expired. Please upgrade your account to resume sequence if you have not upgraded your account yet.',\n manually_paused:\n 'You have manually paused your sequence. Activate your sequence to start sending emails again.',\n email_sending_limit_reached:\n \"This sequence is paused because you have reached your provider's sending limit. Please resume after 24 hours of your sequence paused date.\",\n trial_quota_exhausted:\n 'The sequence is paused because you have exhausted the trial plan quota.',\n plan_paused:\n 'You subscription is paused due to which your sequences has been paused.',\n agency_client_deleted:\n 'This sequence is paused because the client is deleted. Please resume the sequence with a toggle button.',\n agency_client_disabled:\n 'This sequence is paused because the client is disabled. Please resume the sequence with a toggle button.',\n email_account_deleted:\n 'This sequence is paused because the email account was deleted.',\n plan_downgraded:\n 'You are currently on starter plan due to which all your sequences are paused. Update your existing plan to start sending emails.',\n over_limit_connected_emails:\n 'Your sequence is paused because it has more than 3 email accounts connected which is not allowed in the current plan, Please upgrade to activate the sequence.',\n email_account_paused:\n 'This sequence is paused because your email account is paused. Please visit Settings -> Email account and activate it again to start sending emails.',\n email_account_removed:\n 'This sequence is paused because your active email account is removed. Please visit Settings -> Email account and activate it again to start sending emails.',\n};\n\nconst emailEditorModals = {\n test_email_title: 'Send test email',\n test_email_content:\n 'Preview email will be delivered to this email address. You can also send to multiple email addresses by separating them with comma. Maximum number allowed is 5 emails.',\n email_account_note_content:\n 'Note: You might lose your currently unsaved email data if you click on connect now. Click on cancel to save the email text and avoid losing data. ',\n email_account_disconnected_title: 'Email account disconnected',\n email_account_disconnected_content:\n 'Your email account is disconnected. Please connect your email account to continue sending emails.',\n email_account_not_connected_title: 'Email account not connected',\n email_account_not_connected_content:\n 'Please select an email account from sequence settings to continue sending emails.',\n email_not_added_title: 'Email account not added',\n email_not_added_content:\n 'Your email account has not been added. Please connect your email account to continue sending emails.',\n confirmation_modal_title: 'Want to close the step without saving changes?',\n confirmation_modal_content:\n 'Closing the editor would discard the unsaved changes made in the email. If you want to save those changes, click Cancel and then the Save button.',\n confirmation_modal_content_2:\n 'Closing the editor would discard the unsaved changes made in the step. If you want to save those changes, click Cancel and then the Save button.',\n};\n\nconst coldEmailTips = {\n content_guide: 'Content Guide',\n cold_email_tips: 'Cold Email Tips',\n cold_email_tip_1_title: 'Personalize the subject line using merge tags',\n cold_email_tip_1_content:\n 'An email with personalized subject lines gets 6% higher open rates.',\n cold_email_tip_2_title: 'Add preheader text to summarise the email',\n cold_email_tip_2_content:\n 'Emails with relevant preheaders get 10% higher open rates.',\n cold_email_tip_3_title: 'Learn how to write effective cold emails',\n cold_email_tip_3_content_1: 'Click',\n cold_email_tip_3_content_2: 'here',\n cold_email_tip_3_content_3:\n 'to read the ultimate guide to writing cold emails',\n cold_email_tip_4_title: 'Use Spintax to maximize deliverability',\n cold_email_tip_4_content_1:\n 'Spintax allows you to generate multiple variants in one email.',\n cold_email_tip_4_content_2: 'Learn more',\n};\n\nconst emailSuggestions = {\n subject_title: 'Subject Length',\n character: 'character',\n characters: 'characters',\n subject_helper_text: '30-60 characters suggested.',\n word_title: 'Word Count',\n word_helper_text: '50-200 words suggested.',\n word_helper_text_1: '25-149 words suggested.',\n personalization_title: 'Personalization',\n merge_tag: 'merge tag',\n merge_tags: 'merge tags',\n personalization_helper_text: '2 or more merge tags suggested.',\n link_title: 'Links',\n link: 'link',\n links: 'links',\n link_helper_text: 'We suggest minimal usage.',\n spammy_title: 'Spamminess',\n word: 'word',\n words: 'words',\n spammy_helper_text: 'We suggest minimal usage.',\n};\n\nconst needHelpCta = {\n need_help: 'Need Help?',\n cta_1: 'You can',\n cta_2: 'initiate a chat',\n cta_3: 'to get assistance from us.',\n cta_4: 'schedule a call',\n};\n\nconst customTrackingDomainMessages = {\n turn_on_line_tracking: 'Turn on Link Tracking?',\n link_tracking_disabled: 'Link Tracking Disabled',\n domain_not_set_part_1:\n 'We recommend you set up a custom domain to track links using branded URLs.',\n domain_not_set_part_2: 'It helps you improve the email delivery rate.',\n domain_not_set_part_3: 'Do you still want to turn on the link tracking?',\n domain_set_part_1:\n 'We recommend disabling link tracking for a better email delivery rate.',\n domain_set_part_2: 'Enabling link tracking may decrease the open rate by 5%.',\n domain_set_part_3: 'Do you still want to turn it on?',\n delete_custom_domain_title: 'Do you want to delete this custom domain?',\n delete_custom_domain_title_2: 'You cannot delete this custom domain!',\n delete_default_custom_domain_content_1:\n 'You are trying to delete default custom tracking domain, upon deleting this system will set new default custom tracking domain.',\n delete_default_custom_domain_content_2:\n 'Deleting a custom tracking domain can harm your email deliverability.',\n delete_default_custom_domain_content_3:\n 'You are trying to delete default custom tracking domain. Upon deleting this, system will need to set new default custom tracking domain.',\n delete_default_custom_domain_content_4:\n 'Please add new custom tracking domain in order to delete this.',\n};\n\nconst riskyProspectsMessages = {\n do_you_want_to_send_emails_to_risky_prospects:\n 'Do you want to send emails to Risky Prospects?',\n risky_prospect_model_title_1:\n 'To maintain an optimal sender reputation, we suggest not sending emails to risky prospects, as there are high chances of emails getting bounced.',\n};\n\nconst planSummary = {\n userAccounts: 'User Accounts',\n emailAccounts: 'Email Accounts',\n newUserSeats: 'New User Seats',\n newEmailSeats: 'New Email Seats',\n};\n\nconst timeIntervalSettings = {\n time_interval_error: 'Time interval should be between 20 to 2000 seconds',\n same_time_interval_error: 'There should be a minimum interval of 10 seconds',\n time_interval_warning:\n 'Sending too many emails in an hour may lead to suspension or blacklisting of the account. We suggest keeping this interval at 60-190 seconds for optimal deliverability.',\n};\n\nconst rampUpSettings = {\n emails_per_day_error:\n 'The value could not be greater than the maximum number of emails per day.',\n emails_per_day_percent_error:\n 'The percentage value must be between 1 and 100.',\n daily_rampup_title: 'Daily Ramp-Up (to warmup email account)',\n daily_rampup_tooltip_text_1:\n 'We suggest you enable this option to gradually increase the daily sending quota as it helps you warm up your email account.',\n daily_rampup_tooltip_text_2:\n 'You can turn it off any time to move to a static daily quota.',\n daily_rampup_tooltip_text_3: 'Click here',\n daily_rampup_tooltip_text_4: 'to learn more.',\n emails_per_day_start: 'Start with',\n emails_per_day_end: 'emails per day.',\n emails_per_day_suggestion: '(We suggest to start with 5)',\n emails_per_day_percent_start: 'Increase by',\n emails_per_day_percent_end: 'percent per day.',\n emails_per_day_percent_suggestion: '(We suggest 10-20%)',\n rampup_results: 'Total number of emails to be sent today is',\n disable_rampup_confirmation_title:\n 'Are you sure you want to deactivate Ramp-Up?',\n disable_rampup_confirmation_content_1:\n 'Deactivating Ramp-up in the middle may increase your email sending activity steeply,',\n disable_rampup_confirmation_content_2:\n 'which may affect your sequence performance. We recommend allowing Ramp-up to gradually',\n disable_rampup_confirmation_content_3:\n 'increase the sending until it reaches the maximum number of emails per days limit set by you.',\n ramp_up_limit_reached:\n 'Ramp-up was disabled after it reached the maximum number of emails per day limit.',\n save_rampup_confirmation_title: 'Are you sure you want to change the value?',\n save_rampup_confirmation_content_1:\n 'Upon saving the changes, updated sending settings will be applicable from',\n save_rampup_confirmation_content_2: 'onwards. ',\n save_rampup_confirmation_content_3: 'Do you want to save it?',\n today: 'today',\n tomorrow: 'tomorrow',\n};\n\nconst emailAccountTableHeader = {\n sender: 'Sender',\n sending_limit: 'Sending Limit',\n setup_score: 'Setup Score',\n connected_by: 'Connected By',\n actions: 'Actions',\n};\n\nconst unsubscribeLinkModal = {\n unsubscribe_link_modal_title:\n 'Are you sure you wish to remove unsubscribe link?',\n unsubscribe_link_modal_message_one:\n 'We strongly recommend to keep unsubscribe link in the emails to reduce spam complaints by recipients.',\n unsubscribe_link_modal_message_two:\n 'Disabling this option may affect your email deliverability negatively.',\n};\n\nconst emailHealthScore = {\n email_disconnected_message:\n 'Email is disconnected. Connect it for accurate setup score.',\n learn_how_to_set_this: 'Learn How to set this',\n learn_how_to_warm_up: 'Learn How to warm-up',\n spf_result_message_1:\n 'SPF (Sender Policy Framework) is an essential record for email authentication. ',\n spf_result_message_2: 'It vastly affects your email deliverability. ',\n spf_result_message_3:\n 'We strongly suggest you set it up before you start sending emails. ',\n ctd_error_result_message_1: 'Custom tracking domain is a feature ',\n ctd_error_result_message_2:\n 'that allows you to replace generic tracking domain with your domain ',\n ctd_error_result_message_3:\n 'which eventually helps you improve your email deliverability. ',\n ctd_error_result_message_4:\n 'We strongly recommend you set it up before you start sending emails.',\n dmarc_result_message_1:\n 'DMARC is a standard email authentication method, and it helps mail administrators prevent hackers ',\n dmarc_result_message_2:\n 'and other attackers from spoofing their organization and domain. ',\n dmarc_result_message_3:\n \"It's suggested to set it up for optimum email results.\",\n email_age_result_message_1:\n 'Your email account is old enough to get decent deliverability.',\n email_age_result_message_2:\n ' We suggest you use our email ramp-up feature if you wish to build a good sender reputation.',\n email_age_error_result_message_1:\n 'Newly created email accounts are vulnerable to spam filters. ',\n email_age_error_result_message_2:\n 'The email provider may also restrict them if you attempt to ',\n email_age_error_result_message_3:\n 'send a high number of emails from a relatively new email account.',\n email_age_error_result_message_4:\n 'We suggest that users keep the lowest sending quota and ',\n email_age_error_result_message_5:\n 'use our email ramp-up feature to gradually increase the sending quota.',\n email_age_error_result_message_6:\n 'If you believe that your email is old, please disconnect the email &',\n email_age_error_result_message_7:\n 'reconnect the email and check the health score again.',\n check_deliverability_loading_1:\n 'We are checking the latest health score for this email account ',\n check_deliverability_loading_2:\n 'which might take up to 2 minutes. Please wait while we fetch the details. ',\n check_deliverability_1:\n \"We allows you to assess your email account's healthiness on \",\n check_deliverability_2:\n \"various aspects to know if it's good enough to send emails. \",\n check_deliverability_3:\n 'We also highlight the issues you need to fix to achieve the best results.',\n need_help_to_improve_your_score: 'Need help to improve your score?',\n need_help_content:\n 'Improve your email setup score by scheduling a call with our email deliverability expert.',\n talk_to_deliverability_expert: 'Talk to Deliverability Experts',\n check_deliverability_score: 'Check Deliverability Score',\n email_setup_score: 'Email Setup Score',\n email_account_health: 'Email Account Health',\n last_updated_at: 'Last updated at',\n email_setup_score_description:\n 'This is average email account health for all the email account connected in the sequence.',\n sequence_setup_score: 'Sequence Setup Score',\n sequence_setup_score_description:\n 'This score is calculated based upon sequence configuration and best practices. Also, it evaluates some key parameters to run successful sequence.',\n email_writing_score: 'Email Writing Score',\n email_writing_score_description:\n 'This score measures the effectiveness of a content. Also, it evaluates the possible red flags and suggest some best practices to write a perfect cold email.',\n check_deliverability_manually_fetch:\n 'Saleshandy could not fetch health score for this email. Please try again.',\n changes_updated_successfully: 'Changes updated successfully.',\n daily_ramp_up_settings_updated_successfully:\n 'Daily ramp-up settings updated successfully',\n sending_limit_updated_text_1:\n 'Sending limit updated. Now, you can increase the total number of emails per day upto ',\n sending_limit_updated_text_2: ' emails.',\n lower_value_limit_then_ramp_up_limit_error:\n 'This value should not be less than the email ramp-up value to be sent today.',\n soft_limit_modal_title: 'Suggested sending limit exceeded',\n soft_limit_modal_content_1: 'We recommend sending less than',\n soft_limit_modal_content_2: 'emails a day from a',\n soft_limit_modal_content_3: 'free',\n soft_limit_modal_content_4: 'account.',\n soft_limit_modal_content_5:\n 'Please connect a business email for higher sending limits.',\n soft_limit_modal_content_6: 'I understand the risk of sending more than',\n soft_limit_modal_content_7: 'emails',\n soft_limit_modal_content_8: 'from this email account',\n soft_limit_modal_content_9: 'emails a day',\n email_per_day_success_message:\n 'Total number of emails per day updated successfully',\n zero_limit_error: 'Sending limit should be atleast 1',\n learn_how_to_set: 'Learn how to set',\n hard_limit_error_content_1: 'might block your account if you send more than',\n hard_limit_error_content_capital_1:\n 'This might block your account if you send more than',\n hard_limit_error_content_2: 'might be affected if you send more than',\n hard_limit_error_content_3: 'emails. We recommend',\n hard_limit_error_content_4: 'to send more emails.',\n hard_limit_error_content_5: 'connecting another email account',\n access_token_error_description_1: 'Your account has been disconnected',\n access_token_error_description_2:\n 'Please reconnect it to fetch latest health score.',\n get_it_done_by_experts: 'Get it done by Experts',\n};\n\nconst prospectFilterLabels = {\n filters: 'Filters',\n owners: 'Owners',\n tags: 'Tags',\n sequence: 'Sequence',\n status: 'Status',\n verification_status: 'Verification Status',\n created_date: 'Created Date',\n outcomes: 'Outcomes',\n creation_source: 'Creation Source',\n current_step: 'Current Step',\n imported_file: 'Import File Name',\n};\n\nconst noSeatAvailableEmail = {\n no_seat_available_email_subject_1: 'Email account seats exhausted.',\n no_seat_available_email_subject_2: 'Need to upgrade to add more email seats',\n no_seat_available_email_body_1:\n 'It appears that our subscription has exhausted',\n no_seat_available_email_body_2:\n 'the quota of connecting email accounts as per the current',\n no_seat_available_email_body_3:\n 'subscription and therefore, I am unable to connect my email.',\n no_seat_available_email_body_4:\n 'I’d request you to upgrade the current subscription to add extra email account seats.',\n};\n\nconst saleshandyUsageLabels = {\n sales_team: 'Sales Team',\n marketing_team: 'Marketing Team',\n agency_consultant: 'Agency / Consultant',\n recruiters: 'Recruiters',\n other: 'Other',\n};\n\nconst teamSizeLabels = {\n team_1_10: '1-10',\n team_11_50: '11-50',\n team_51_200: '51-200',\n team_201_500: '201-500',\n team_501_1000: '501-1000',\n team_1000_plus: '1000+',\n};\n\nconst industryLabels = {\n it_services: 'it services',\n saas: 'saas',\n human_resources: 'human resources',\n marketing_advertising: 'marketing & advertising',\n internet: 'internet',\n other: 'other',\n};\n\nconst SMTPIMAPConnection = {\n issue_with_smtp_connection: 'Issue with SMTP connection.',\n issue_with_imap_connection: 'Issue with IMAP connection.',\n};\n\nconst tipsToConnectSMTPIMAPEmail = {\n tips_title: 'Tips to successfully connect your email account:',\n smtp_tips_one: 'Ensure your email account is enabled for SMTP.',\n smtp_tips_two: 'Ensure that 2FA is not enabled on your email account.',\n smtp_tips_three:\n 'If 2FA is enabled, please use app-password instead of email password.',\n imap_tips_one: 'Ensure your email account is enabled for IMAP.',\n imap_tips_two:\n 'Ensure that use your email account credentials for IMAP connection.',\n smtp_gmail_tips_one_a: 'We strongly recommend creating an',\n smtp_gmail_tips_one_b: 'app password',\n smtp_gmail_tips_one_c:\n 'to connect your Gmail account through SMPT/IMAP method.',\n smtp_gmail_tips_two:\n 'Enabling 2-step verification is mandatory to create an app password for a Gmail account.',\n smtp_gmail_tips_three_a: 'Click here',\n smtp_gmail_tips_three_b:\n 'to learn how to create & use an app password for connecting your Gmail account through SMTP/IMAP method.',\n smtp_gmail_tips_three_c: 'Learn from video.',\n imap_gmail_tips_one: 'Make sure that IMAP is enabled for this Gmail mailbox.',\n imap_gmail_tips_two: 'You can use the same app password to connect the IMAP.',\n};\n\nconst mailboxEmails = {\n track_your_first_email: 'Track your first email',\n install_saleshandy_connect:\n 'Install Saleshandy Connect extension and start tracking individual emails.',\n see_how_extension_works: 'See how the extension works',\n install_chrome_extrension: 'Install Chrome Extension',\n delete_mailbox_email: 'Do you want to delete this email entry?',\n delete_mailbox_email_description:\n 'All the email tracking-related information for this email will be erased and can’t be recovered.',\n email_deleted_successfully: 'Email has been deleted successfully.',\n notification_turned_on_tooltip_text: 'Turn off notification',\n notification_turned_off_tooltip_text: 'Turn on notification',\n notification_turned_on_successfully:\n 'Notification has been turned on successfully.',\n notification_turned_off_successfully:\n 'Notification has been turned off successfully.',\n};\n\nconst chromeExtensionSettings = {\n desktop_notification: 'Desktop Notifications',\n track_email_by_my_team: 'Track emails by my team',\n track_email_by_my_team_tooltip:\n 'This option allows you to turn on/off email tracking for individual emails sent to your team members.',\n test_notification: 'Test Notification',\n test_notification_tooltip: \"If you're facing some issues with notifications,\",\n link_click_here: 'click here',\n notification_body: 'This is a sample notification for Saleshandy activity.',\n notification_not_supported:\n 'This browser does not support desktop notifications.',\n notification_denied_message_1:\n 'You have denied notifications for Saleshandy,',\n notification_denied_message_2:\n 'for a step by step guide to enable notifications again.',\n settings_saved: 'Settings saved.',\n};\n\nconst emailWarmup = {\n start_with_email_per_day: 'Start with emails/day',\n increase_by_emails_every_day: 'Increase by emails every day',\n maximum_emails_sent_per_day: 'Maximum emails to be sent per day',\n reply_rate: 'Reply rate',\n sender_name: 'Sender name',\n recommended: 'Recommended',\n zero_value_error_1: 'The value could not be less than',\n zero_value_error_2: 'or in fraction.',\n max_value_error: 'The value should not be more than',\n char_limit_error: 'The value should be in between 3 to 80 characters.',\n email_warmup_paused_successfully:\n 'Email Warm-up has been paused successfully.',\n email_warmup_enabled_successfully: 'Email Warm-up enabled successfully.',\n reconnect_email_account_title: 'Your email account is disconnected!',\n reconnect_email_account_content:\n \"You can't turn on email warm-up for a disconnected email account. Please reconnect it first.\",\n disconnect_email_account_title:\n 'Do you want to turn off email warm-up for this email account?',\n disconnect_email_account_content:\n 'Email Warm-up lets you build & maintain an optimal sender reputation. Removing it may impact deliverability in the future.',\n email_account_is_connected: 'Email account is connected.',\n email_account_is_disconnected: 'Email account is disconnected.',\n email_warmup_empty_list_title:\n 'Build your email reputation with our email warm-up & never land in spam again.',\n email_warmup_empty_list_desc: 'Add your first email account to get started.',\n see_how_warmup_works: 'See how warm-up works',\n add_new_email_account: 'Add new Email Account',\n email_warmup_settings_updated_successfully:\n 'Email warmup settings updated successfully.',\n deliverability: 'Deliverability',\n total: 'Total',\n inbox: 'Inbox',\n spam: 'Spam',\n received_today: 'Received Today',\n received_in_last_seven_days: 'Received in last 7 days',\n received_in_last_thirty_days: 'Received in last 30 days',\n sent_today: 'Sent Today',\n sent_in_last_seven_days: 'Sent in last 7 days',\n sent_in_last_thirty_days: 'Sent in last 30 days',\n click_here_to_turn_on_warmup:\n 'Click here to turn on the email warm-up for this email account.',\n click_here_to_turn_off_warmup:\n 'Click here to turn off the email warm-up for this email account.',\n running: 'Running',\n warmup_settings: 'Warm-up Settings',\n enable_email_warmup_title: 'Activate email warm-up for this email account?',\n enable_email_warmup_desc_1:\n 'Enabling warm-up would allow Saleshandy to send warm-up emails from this email account,',\n enable_email_warmup_desc_2:\n 'and you will also receive warm-up emails from other Saleshandy users.',\n dont_show_this_message_again: 'Don’t show me this message again.',\n};\n\nconst errorBoundary = {\n error_boundary_title: 'Oops! It seems something broke down at our end',\n error_boundary_sub_text_one: 'Engineering team is auto-notified.',\n error_boundary_sub_text_two: 'We request you to re-check in some time or',\n return_to_application: 'Return to the Application',\n};\n\nconst emailAccountType = {\n google: 'Gmail & Google Workspace',\n microsoft: 'Exchange, O365, Outlook & Hotmail',\n smtp_imap: 'Any other Email Service provider account',\n};\n\nconst nativeAttachment = {\n unsupported_file_type:\n 'The file type you are trying to add is not supported.',\n email_content_size_exceeds: 'Your total email size should not exceed',\n number_of_attachments_allowed_1: 'More than',\n number_of_attachments_allowed_2: 'attachments cannot be uploaded.',\n attachment_removed_successfully: 'Attachment has been removed successfully.',\n};\n\nconst adminSettings = {\n are_you_sure_you_want_to_turn_this_on:\n 'Are you sure you want to turn this on?',\n are_you_sure_you_want_to_turn_this_off:\n 'Are you sure you want to turn this off?',\n turning_this_toggle_on_will_allow_you:\n 'Turning this toggle on will allow you',\n turning_this_toggle_off_will_not_allow_you:\n 'Turning this toggle off will not allow you',\n to_have_one_prospect_in_multiple_sequences_simultaneously:\n 'to have one prospect in multiple sequences simultaneously.',\n and_your_team_member_to_verify_prospects_while_importing_them:\n 'and your team member to verify prospects while importing them.',\n change_will_not_affect:\n 'This change will not affect the existing prospects already present in multiple sequences.',\n change_will_apply_to_future_imports:\n 'This change will apply to all your future imports.',\n prospect_sharing_toggle_off:\n 'Do you want to enable prospect sharing for team members?',\n prospect_sharing_toggle_on:\n 'Do you want to disable prospect sharing for team members?',\n auto_add_to_prospect_on_lead_reveal_toggle_on:\n 'Do you want to Save revealed leads from lead finder as prospects automatically',\n auto_add_to_prospect_on_lead_reveal_toggle_off:\n 'Do you want to disable Save revealed leads from lead finder as prospects automatically',\n to_auto_add_to_prospect_on_lead_reveal:\n 'save revealed leads from lead finder as prospects automatically.',\n};\n\n// Outreach Basic Restriction\nconst outreachBasicRestrictionMsg = {\n team_invite_msg_1:\n 'Your current plan doesn’t allow you to invite the team members.',\n team_invite_msg_2:\n 'Please upgrade to Outreach Pro or higher plans to invite unlimited team members.',\n api_key_msg_1: 'Your current plan doesn’t allow you to use the API key.',\n api_key_msg_2:\n 'Please upgrade to the Outreach Pro or higher plans to create unlimited API keys for seamless integrations.',\n team_create_msg_1: 'Your current plan doesn’t allow you to create team.',\n team_create_msg_2:\n 'Please upgrade to the Outreach Pro or higher plans to create team & invite unlimited team members.',\n step_variant_msg_1:\n 'The Outreach Starter doesn’t allow you to create multiple variants in a step.',\n step_variant_msg_2:\n 'Please upgrade to the Outreach Pro or Higher plans to create more variants.',\n};\n\nconst sequenceScore = {\n score_poor_1:\n \"This indicates significant issues with your sequence, and it's highly unlikely to produce the desired results.\",\n score_poor_2:\n \"It's imperative that you take immediate action based on feedback and rectify the problems highlighted.\",\n score_below_average_1:\n 'This suggests that some issues with your sequence need to be addressed.',\n score_below_average_2:\n 'Your sequence is unlikely to get good results. We strongly recommend you take prompt actions based on feedback & fix mentioned issues.',\n score_average_1:\n \"While it's not a bad score, it does suggest some areas that need improvement.\",\n score_average_2:\n \"It's essential to carefully consider the feedback provided and work on enhancing your sequence to achieve better results.\",\n score_good_1:\n 'This indicates that your sequence is well-constructed and has the potential to produce good results.',\n score_good_2:\n 'However, there might be some minor areas for improvement, and we suggest you consider the feedback and make necessary changes.',\n score_very_good_1:\n 'This suggests that your sequence is well-constructed and is likely to produce excellent results.',\n score_very_good_2:\n 'While there is always room for improvement, you should be proud of your work and consider the feedback provided to make it even better.',\n score_excellent_1:\n 'This indicates that your sequence is exceptionally well-constructed and is expected to produce outstanding results.',\n score_excellent_2:\n 'Congratulations! You should consider this a significant achievement and keep up the good work.',\n};\n\nconst emailAccountSetupFactor = {\n domain_blacklist_title: 'Domains Blacklist Check',\n ip_blacklist_title: 'IPs Blacklist Check',\n mx_records_title: 'MX Record',\n dmarc_title: 'DMARC Set-up',\n dkim_title: 'DKIM Set-up',\n spf_title: 'SPF Set-up',\n modal_col_status: 'Status',\n modal_col_blacklist: 'Blacklist',\n modal_col_reason: 'Reason',\n modal_col_response_time: 'Response Time',\n modal_col_learn_more: 'Learn More',\n modal_col_hostname: 'Hostname',\n modal_col_ipaddress: 'IP Address',\n};\n\n// eslint-disable-next-line import/prefer-default-export\nexport const en = {\n labels: {\n selected: 'Selected',\n apply: 'Apply',\n select_all: 'Select All',\n reports: 'Reports',\n duration: 'Duration',\n this_month: 'This Month',\n last_month: 'Last Month',\n last_15_days: 'Last 15 Days',\n last_7_days: 'Last 7 Days',\n last_14_days: 'Last 14 Days',\n last_30_days: 'Last 30 Days',\n last_90_days: 'Last 90 Days',\n this_week: 'This Week',\n last_week: 'Last Week',\n yesterday: 'Yesterday',\n today: 'Today',\n add_email_account: 'Add email account',\n add_prospects: 'Add Prospects',\n add_prospect: 'Add Prospect',\n do_later: `I'll do it later`,\n select_email_service: 'Select the email service you use',\n sequence_settings: 'Sequence Settings',\n save: 'Save',\n add: 'Add',\n email_account: 'Email Account',\n safety_settings: 'Safety Settings',\n sending_priority: 'Sending Priority',\n average_deal_value_settings: 'Estimated Deal Value',\n schedule: 'Schedule',\n step: 'Step',\n prospects: 'Prospects',\n prospectsAdded: 'Prospects Added',\n emailsSent: 'Emails Sent',\n opened: 'Opened',\n clicked: 'Clicked',\n link_clicked: 'Link Clicked',\n sent: 'Sent',\n replied: 'Replied',\n bounced: 'Bounced',\n unsubscribed: 'Unsubscribed',\n activity: 'Activity',\n sequences: 'Sequences',\n profile: 'Profile',\n cancel: 'Cancel',\n save_filterBtn: 'Save Filter',\n okay: 'Okay',\n verify: 'Verify',\n export: 'Export',\n emails: 'Emails',\n email: 'Email',\n totalProspects: 'Total Prospects',\n no: 'No',\n yes: 'Yes',\n delete: 'Delete',\n title: 'Title',\n daily: 'Daily',\n weekly: 'Weekly',\n monthly: 'Monthly',\n quarterly: 'Quarterly',\n all: 'All',\n no_data_available: 'No Data Available!',\n create_and_add_to_sequence: 'Create & Add to sequence',\n day: 'day',\n days: 'days',\n upgrade: 'Upgrade',\n upgrade_now: 'Upgrade Now',\n upgrade_plan: 'Upgrade Plan',\n downgrade_plan: 'Downgrade Plan',\n current_plan: 'Current Plan',\n add_more_slots: 'Add More Slots',\n sub_total: 'Sub-total',\n total_amount: 'Total Amount',\n total_amount_to_pay_today: 'Total Amount to pay today',\n discount: 'Discount',\n total_after_discount: 'Total after discount',\n total_per_year: 'Total Per Year',\n total_per_month: 'Total Per Month',\n cancel_subscription: 'Cancel Subscription',\n reactivate_subscription: 'Reactivate Subscription',\n resume_subscription: 'Resume Subscription',\n bill_summary: 'Bill Summary',\n plan_name: 'Plan Name',\n pay_now: 'Pay Now',\n monthly_billing: 'Monthly Billing',\n annually_billing: 'Annually Billing',\n upgrade_subscription: 'Upgrade Subscription',\n modify_subscription: 'Modify Subscription',\n search_hit_enter: 'Search',\n search: 'Search..',\n done: 'Done',\n ...header,\n payment_failed: 'Payment Failed',\n retry_payment: 'Retry Payment',\n contact_support: 'contact support',\n Contact_Support: 'Contact Support',\n Contact_Owner: 'Contact Owner',\n resume_email_sending: 'Resume Email Sending',\n\n i_will_use_legacy_version: 'I’ll use legacy version',\n clear_all: 'Clear all',\n apply_filters: 'Apply Filters',\n create: 'Create',\n close: 'Close',\n copy: 'Copy',\n create_api_key: 'Create API Key',\n unsubscribe_success_message:\n 'Unsubscribe message has been saved successfully.',\n unsubscribe_error:\n 'Unsubscribe tag is required to have the custom unsubscribe text.',\n have_a_promo_code: 'Have a Promo Code?',\n remove_discount_code: 'Remove Discount Code',\n need_help: 'Need help?',\n unsubscribe: 'Unsubscribe',\n remove_delete: 'Remove/Delete',\n send: 'Send',\n connect_now: 'Connect Now',\n continue: 'Continue',\n unsubscribe_prospect: 'Unsubscribe Prospects',\n delete_prospect: 'Delete Prospect',\n get_contact_info: 'Get Contact Information',\n save_filter: 'Save Filter',\n edit_filter: 'Edit Filter',\n delete_filter: 'Delete this saved filter',\n api_key: 'API Key',\n integration: 'Integrations',\n webhook: 'Webhook',\n my_profile: 'My Profile',\n email_accounts: 'Email Accounts',\n schedules: 'Schedules',\n outOfOffice: 'Out of Office',\n team: 'Team',\n users_and_teams: 'Users & Teams',\n custom_fields: 'Custom Fields',\n system_fields: 'System Fields',\n add_prospect_fields: 'Add Prospect Fields',\n prospect_label_error:\n 'Label must be shorter than or equals to 100 characters.',\n prospect_fallback_text_error:\n 'Fallback text must be shorter than or equal to 255 characters.',\n prospect_fields: 'Prospect Fields',\n prospect_outcomes: 'Prospect Outcomes',\n custom_outcomes: 'Custom Outcome',\n system_outcomes: 'System Outcome',\n custom_outcomes_empty_list_description:\n 'Start organizing your prospects with custom outcomes.',\n custom_outcomes_empty_list_title: 'Create custom outcomes',\n add_prospect_outcomes: 'Custom Outcome',\n update_system_outcome: 'Update System Outcome',\n update_custom_outcome: 'Update Custom Outcome',\n custom_tracking_domain: 'Custom Tracking Domain',\n admin_settings: 'Admin Settings',\n blacklist_domains: 'Blacklist Domains',\n do_not_contact_list: 'Do Not Contact List',\n billing_and_subscription: 'Billing & Subscription',\n prospect_search_placeholder: 'Search...',\n sequence: 'Sequence',\n status: 'Status',\n prospect_selected: 'Prospects are selected.',\n email_account_selected: 'Email Account(s) selected',\n sequence_statistics: 'Sequence Statistics',\n purchase_credits: 'Purchase Credits',\n buy_now: 'Buy Now',\n contact_admin: 'Contact Admin',\n contact_admin_reach_out: 'Reach out to your admin',\n buy_credits: 'Buy Credits',\n verification_status_settings: 'Verification Status',\n verify_now: 'Verify Now',\n verifying: 'Verifying',\n already_paid: 'Already Paid',\n total_to_be_paid: 'Total to be paid',\n days_billing: 'days billing',\n save_and_pay: 'Save & Pay',\n note: 'Note',\n ...planSummary,\n pre_header_placeholder: 'Enter a pre-header...',\n pre_header: 'Pre-Header',\n pre_header_label: 'Set Pre-Header',\n pre_header_recommendation:\n 'Recommendation: Use from 40 to 130 characters in the pre-header.',\n pre_header_error: 'You are not allowed to enter more than 150 characters',\n pre_header_tooltip_1: `A preheader is an email text displayed when an unopened email is previewed in the inbox.`,\n pre_header_tooltip_2: `It's shown after the subject line ends. The visibility may vary for each email client.`,\n create_new_prospect: 'Create New Prospect',\n email_sending_limit_header: 'Total number of emails per day',\n bulk_email_sending_limit_header: 'Maximum emails per day',\n email_sending_limit_caption:\n 'Maximum number of emails that could be sent via this email account per day.',\n check_new_score: 'Check New Score',\n delete_email: 'Do you want to delete this email account?',\n mark_as_replied: 'mark as replied',\n remove_from_sequence: 'remove from sequence',\n move_to_step: 'move to step',\n mark_as_finished: 'mark as finished',\n no_results_found: 'No Results Found!',\n empty_prospects: 'Prospects are empty',\n ...planSummary,\n click_here: 'Click here',\n ...prospectFilterLabels,\n upgrade_to_saleshandy_pro_email_sub: 'Upgrade to PRO',\n upgrade_required: 'Upgrade required',\n ...planSummary,\n ...emailAccountTableHeader,\n turn_off_email_tracking_model_title: 'Turn off Email Open Tracking?',\n turn_off_mark_prospect_as_replied_model_title:\n 'Turn off mark Prospect as replied?',\n your_subscription_end: 'Your subscription has ended',\n your_trail_expired: 'Your trial is expired',\n use_unsubscribe_link_in_email: 'Use Unsubscribe Link in Emails',\n canceled: 'Canceled',\n paused: 'Paused',\n ...saleshandyUsageLabels,\n ...teamSizeLabels,\n ...industryLabels,\n invoice: 'Invoices',\n open_billing_portal: 'Open Billing Portal',\n opt_out_option: 'Opt-out option',\n update_system_field: 'Update System Field',\n update_custom_field: 'Update Custom Field',\n get_started: 'Get Started',\n edit_email_settings: 'Edit Email Settings',\n error_occured: 'Error occured!',\n connect: 'Connect',\n chrome_extension: 'Chrome Extension',\n view_sample_sequence: 'View sample sequence',\n create_new_sequence: 'Create a new sequence',\n take_action_now_cta: 'Take action now',\n refresh: 'Refresh',\n enable: 'Enable',\n see_all_features: 'See our complete feature comparison ',\n most_value: 'MOST VALUABLE',\n most_popular: 'Most Popular',\n best_value_plan_insight_monthly: '73% of users are purchasing this plan',\n best_value_plan_insight_yearly: '68% of users are purchasing this plan',\n best_value_plan_insight_email_monthly: '72% of users are purchasing this plan',\n best_value_plan_insight_email_yearly: '80% of users are purchasing this plan',\n unused_balance: 'Unused balance',\n credits: 'Credits',\n manage_billing: 'Manage Billing',\n add_remove_slots: 'Add or Remove Slots',\n update_card_details: 'Update Card / Invoices',\n next: 'Next',\n thanks: 'Thanks',\n regards: 'Regards',\n upgrade_to_saleshandy_email_sub:\n 'Request to upgrade our Saleshandy account.',\n got_it: 'Got it',\n update_settings: 'Update Settings',\n disconnect_email_accounts: 'Disconnect Email Accounts',\n delete_email_accounts: 'Delete Email Accounts',\n add_remove_tags: 'Add & Remove Tags',\n bulk_update_settings: 'Bulk update Settings',\n refresh_setup_score: 'Refresh Setup Score',\n this_email_was_previously_bounced: 'This email was previously bounced',\n delete_client: 'Delete Client',\n schedule_demo: 'Schedule a Demo',\n cold_email_masterclass: 'Cold Email Masterclass',\n download_chrome_plugin: 'Download Chrome Plugin',\n add_credits: 'Add Credits',\n },\n messages: {\n NOTE: 'NOTE',\n and: 'and',\n this: 'this',\n min_max_interval_limit:\n 'Minimum and Maximum interval limit for sending automated emails',\n warning_cannot_add_to_sequence:\n 'Contacts that already exist or Unsubscribed/Bounced can not be added to the Sequence',\n update_custom_field_warning:\n 'If you edit the custom field, it may hinder the email personalization',\n warning_cannot_add_to_sequence_search_and_add:\n \"Please note that Unsubscribed/Bounced contacts won't be added to the sequence\",\n email_sent_on: 'Email Sent on',\n email_opened_on: 'Email Opened on',\n link_clicked_on: 'Link Clicked on',\n email_replied_on: 'Email Replied on',\n connect_email_account_description: `Adding email account is necessary for sending any Sequence to your\n prospects. We recommend you to do it now for a valuable onboarding.\n You can always edit, remove, or add new account later.`,\n thats_all_for_now: \"That's all for now!!\",\n no_activity_data: 'No activity found',\n assign_prospect_to_sequence: 'Assign Prospect to Sequences',\n prospect_sequences_are_empty: \"Prospect's Sequences are Empty\",\n cannot_change_setting_once_sequence_has_started:\n 'You can not change settings once the sequence has started',\n help_remove_invalid_prospect:\n 'Email verification will help you remove invalid prospects from your sequence.',\n two_types_of_prospect:\n 'Below are the two types of prospects to whom we recommend you send emails.',\n valid_prospect: 'Valid Prospects',\n high_delivery_chances: 'Email Delivery chances are very high.',\n risky_prospect: 'Risky Prospects',\n low_delivery_chances: 'Email Delivery chances are very low.',\n email_verification: 'Email Verification',\n email_account_select_message:\n 'Connect your Email account from which you want to send email from Saleshandy.',\n SMTP_account_select_message:\n 'Choose an option to connect email accounts either in bulk or individually.',\n email_account_connect_note:\n \"Note: We don't store your mailbox data & you can remove your email account at any time.\",\n verification_started: 'Verification Started',\n please_connect_email: 'Add your email account to start a sequence',\n adding_email_account:\n 'Adding email account is necessary for sending any Sequence to your prospects. We recommend you to do it now for a valuable onboarding. You can always edit, remove, or add new account later.',\n we_do_not_store: `We don’t store any data from your email service provider for purposes other than providing you analytics.`,\n create_and_add_prospect_successfully:\n 'Create & Add prospect to sequence successfully',\n provide_field_name: 'Please provide a field name',\n provide_outcome_name: 'Please provide an outcome name',\n outcome_field_name: 'Character limit 1 to 20 allowed',\n invalid_outcome_name: 'Invalid character found : Comma (,)',\n provide_valid_fallback_text: 'Please provide valid fallback text',\n no_data_available: `Data isn’t updated in this section, It will show up here once\n the prospect takes an action`,\n data_not_updated_for_selection: `Data for this selection is not yet updated!`,\n your_plan_expired_text: 'Your Outreach trial expires in',\n your_plan_expired_text_0_day: 'Your Outreach trial has expired',\n subscription_warning:\n 'Your free trial has expired. To continue, upgrade your plan.',\n lead_finder_low_credits:\n \"You don't have enough lead finder credits to view contact information for selected leads.\",\n plan_expired_message: 'Uh-Oh! Your trial has expired',\n plan_expired_message_content:\n 'To create sequences you need to upgrade your account.',\n plan_expired_active_sequence_message:\n \"You're not allowed to activate the sequence\",\n plan_expired_active_sequence_content_1:\n 'You are not allowed to activate the sequence as you are in free plan.',\n plan_expired_active_sequence_content_2:\n 'To activate sequence you have to upgrade your account.',\n plan_expired_add_email_message:\n \"You're not allowed to add the email accounts\",\n plan_expired_add_email_content_1:\n 'You are not allowed to add the email accounts as you are in free plan.',\n plan_expired_add_email_content_2:\n 'To add more email accounts you have to upgrade your account.',\n plan_expired_connect_email_message:\n \"You're not allowed to connect the email accounts\",\n plan_expired_connect_email_content_1:\n 'You are not allowed to connect the email accounts as you are in free plan.',\n plan_expired_connect_email_content_2:\n 'To connect more email accounts you have to upgrade your account.',\n plan_expired_invite_member_message:\n \"You're not allowed to invite the team members\",\n plan_expired_invite_member_content_1:\n 'You are not allowed to invite the team members as you are in free plan.',\n plan_expired_invite_member_content_2:\n 'To invite team members you have to upgrade your account.',\n plan_expired_clone_sequence_message: 'Upgrade the plan to clone a sequence',\n plan_expired_create_api_key: 'Upgrade the plan to create API key',\n email_verification_title:\n 'After Import, We will run email verification which helps you remove invalid prospects from your sequence. Below are the two type of prospects to whom we recommend you to send emails.',\n number_input_alert_message:\n 'Note:- You cannot downgrade the no. of accounts in the case when you have more connected numbers. If want to add more delete the connected ones and add in place of that or upgrade it.',\n upgrade_plan_header_text:\n 'Pro plan includes every feature plus unlimited sequences, prospects, and templates.',\n trial_plan_message:\n 'You are in the free trial plan and your account will be restricted after the trial period. To continue, please upgrade your plan.',\n free_plan_message:\n 'Your free trial has expired. To continue, upgrade your plan',\n pro_to_free_plan_message:\n 'Your subscription has ended and you are on a free plan. To continue, please upgrade your plan.',\n payment_failed_message:\n 'Your payment was not successfully processed. Please',\n upgrade_plan_contact_admin:\n 'Your free trial has expired. To continue contact your administrator.',\n make_changes_to_daily_sending_limit:\n 'Are you sure you want to make changes to the daily sending limit?',\n you_have_already_sent: 'You have already sent',\n emails_today: 'emails today. You can send',\n more_emails_today: 'more emails today.',\n limit_restoration_tomorrow:\n 'emails which is exceeding your email sending limit for today. Your daily sending limit will be restored tomorrow.',\n include_risky_prospects: 'Include risky prospects in the sequence',\n smtp_message_one:\n 'We support all ESPs and you can connect it with SMTP/IMAP setup.',\n smtp_message_two:\n 'You can connect SMTP/IMAP account with video guidance so that email account can be linked without difficulties.',\n smtp_message_three:\n 'Add SMTP/IMAP email account from settings and execute your sequences seamlessly.',\n delete_email_account_message:\n 'Once you delete an email account, all the sequences using the email account will be paused. If any sequence is not started, you can change the email account and resume it later. Other sequences can not be activated later.',\n delete_default_email_account_message:\n 'It seems like you are trying to delete a default email account. Please mark another email account as default to delete this account.',\n disconnect_email_account_message:\n 'Once you disconnect the email account, Your all sequences using this email account will be paused.',\n disable_agency_client_modal_message:\n 'Once disabled, the client user won’t be able to log in. All sequences associated with this client will be paused.',\n create_api_token_label:\n 'Choose a label that is short, memorable and easy for you to remember.',\n contact_infromation_massage_one:\n 'You have selected 1 leads to reveal contact information.',\n contact_infromation_massage_two: 'Are you sure, you want to continue?',\n delete_modal_massage_one: \"This action can't be reversed.\",\n delete_modal_massage_two: 'Are you sure, you want to continue?',\n show_api_token:\n \"Make sure you copy your new API key. You won't be able to see this key again.\",\n delete_api_token_part_one:\n 'Are you sure you want to permanently delete your API key ',\n delete_api_token_part_two: '? Deleting an API key is not reversible.',\n api_key_copied_to_clipboard: 'API key copied to clipboard',\n your_new_api_key: 'Your new API Key',\n your_api_key_deleted: 'Your API key has been deleted',\n delete_api_key: 'Delete API Key',\n reached_email_sending_limit_message_one:\n \"You've reached the email sending limit of 200 emails during the free trial period.\",\n reached_email_sending_limit_message_two:\n 'Upgrade your plan to continue creating new sequences.',\n reached_email_sending_limit_message_for_member:\n 'Contact your admin to upgrade your plan.',\n user_subscription_text: 'Please enter the number of slots you want to add.',\n email_account_subscription_text:\n 'Enter the number of additional email accounts you want to connect.',\n user_plan_description:\n 'Add slots to be able to connect additional email accounts and add team members.',\n email_account_plan_description:\n 'This allows you to connect additional email accounts in the same account. Each user gets one email account by default.',\n your_plan_details: 'Your Saleshandy Plan Details',\n slots_info:\n '*Purchased slots are the shared quota of email accounts between you and your team members. Your team size (including you) can be extended upto purchased slots.',\n unsubscribe_prospect_message_one:\n 'Are you sure you want to unsubscribe the selected prospects.',\n unsubscribe_prospect_message_two:\n 'If you unsubscribe the prospects, you will not be able to send emails to the prospects.',\n delete_prospect_message_one:\n 'Are you sure you want to delete the selected prospects.',\n delete_prospect_message_two:\n 'If you delete the prospects, you will permanently lose your prospects.',\n delete_mail_modal_title: 'Delete this email address',\n delete_mail_modal_content:\n \"It will remove the selected email address from this prospect profile. The prospect won't be deleted. Are you sure you want to continue?\",\n confirmation_mail_modal_title: 'Changing the primary email of prospect?',\n confirmation_mail_modal_content:\n 'The system will send all upcoming emails to the new primary email address. It might affect the previous email thread. Are you sure you want to update it?',\n delete_phone_number_modal_title: 'Delete this phone number',\n delete_phone_number_modal_content:\n \"It will remove the selected phone number from this prospect profile. The prospect won't be deleted. Are you sure you want to continue?\",\n confirmation_phone_number_modal_title: 'Changing the default phone number?',\n confirmation_phone_number_modal_content:\n 'The system uses merge tag of default phone number. Updating it will change the phone number value for this prospect.',\n active: 'Active',\n paused: 'Paused',\n draft: 'Draft',\n email_verification_error: 'Email Verification Error',\n low_ev_credits:\n 'As the EV credits required to verify emails are low. So you need to buy more credits to verify emails.',\n verification_credits: 'Verification Credits',\n buy_credits: 'Buy Credits',\n skip_verification: 'Skip Verification',\n purchase_ev_credits_agreement:\n 'By purchasing credits, I agree that email verification credits are non-refundable.',\n purchase_lead_finder_credits_agreement:\n 'By purchasing credits, I agree that lead finder credits are non-refundable.',\n email_verification_action_required_message:\n 'As the EV credits required to verify emails are low. So you need to buy more credits to verify emails. EV credits available are shown below:-',\n fallback_text_info:\n 'A fallback text is a substitute text when the custom field is empty.',\n prospect_not_selected_warning:\n 'Please select at least 1 prospect to complete the action',\n report_graph_tooltip:\n 'Compare between all metrics of the selected sequences within the given time period.',\n verify_status_banner_message:\n 'Sending emails to unverified prospects may result in a high number of bounced emails, which significantly affects your email reputation.',\n verify_status_pending_banner_message:\n 'Prospect Verification has been started. You will receive an email once the verification is completed',\n modify_subscription_note:\n 'The latest email account seat removal will apply to your billing after the current billing cycle.',\n turn_off_mark_prospect_as_replied_message:\n 'Disabling this option will let system send follow-ups to prospects even after they reply to your emails.',\n are_you_sure_want_to_turn_it_off: 'Are you sure want to turn it off?',\n track_email_opens_model_message:\n 'Disabling this option will stop email open tracking for all the emails in this sequence.',\n unverified_prospect_banner_message:\n 'Sending emails to unverified prospects may result in a high number of bounced emails, which significantly affects your email reputation. Click here to know more.',\n ev_credits_payment_failed_message:\n 'Payment failed! Please retry again after some time from billing section.',\n verification_started_content:\n 'You will receive an email once the verification is completed',\n buy_email_credits_sequence_settings_message:\n 'To verify email address, you need to buy email verification credits.',\n upgrade_to_pro_email_body:\n \"It appears that our account is downgraded to the free plan. I'd request you to take prompt action to upgrade our account.\",\n subscription_ended_message: 'Your subscription has ended. To continue,',\n trail_expired: 'Your trial has expired. To continue,',\n trail_plan_expired_email_account_page_message:\n 'Your trial has expired and your email accounts are disconnected. To reconnect the email,',\n custom_fields_empty_list_description:\n 'You can add numeric and text custom fields.',\n custom_fields_empty_list_description2:\n 'Custom fields can be used to store the data of prospects and sending highly personalized emails.',\n custom_fields_empty_list_title: 'Create your first custom field',\n custom_field_update_successfully: 'Custom field updated successfully',\n system_field_update_successfully: 'System field updated successfully',\n custom_outcome_update_successfully: 'Custom outcome updated successfully',\n system_outcome_update_successfully: 'System outcome updated successfully',\n plan_expired_team_page_message:\n 'Your subscription has ended. To invite team members,',\n subscription_expired_email_account_page_message:\n 'Your subscription has ended and your email accounts are disconnected. To reconnect the email,',\n trial_plan_expired_team_page_message:\n 'Your trial has expired. To invite team members,',\n delete_email_message_one:\n 'Once you delete an email account, all the sequences using the email account will be paused.',\n delete_email_message_two:\n 'If any sequence is not started, you can change the email account and resume it later. ',\n delete_email_message_three: 'Other sequences can not be activated later.',\n step_1:\n \"Add a follow-up step to increase your sequence's reply rate by 40%.\",\n step_2:\n \"Often it’s the follow-up that makes prospects reply. Let's add one more step.\",\n step_3: 'Add one more follow-up step to further increase the reply rates.',\n upgrade_plan_for_add_email_account:\n 'Your account is on the free plan now and your admin need to upgrade your account to reconnect this email account.',\n no_prospect_found_in_sequence: 'No prospect was found in the sequence',\n general_email_sub_for_purchase_ev:\n 'Email Verification Credit Purchase Request',\n email_sub_for_purchase_ev_from_sequence_settings:\n 'Buy credits to verify prospect',\n upgrade_plan_for_add_email_account_admin:\n 'Your account is on the free plan now and you need to upgrade your account to reconnect this email account.',\n admin_block_page_message:\n 'Your sequences are paused. Please upgrade your account to continue using or access the data. Need help? Click the chat icon to contact us.',\n member_block_page_message:\n 'Your sequences are paused. To continue using your account, please ask the admin to resubscribe. Need help? Click the chat icon to contact us.',\n paid_plan_expired_message:\n 'Your sequences are paused. Please resubscribe to continue using your account and access the data. Need help? Click the chat icon to contact us.',\n create_new_prospect_description:\n 'You can create a new prospect by clicking on the button below.',\n import_prospect_and_start_engaging:\n 'Import your prospects or add them manually and start engaging with them.',\n select_email_service: 'Select the email service you use',\n team_size: 'What is your company size?*',\n user_industry: 'What industry are you in?*',\n user_job_role: 'What is your job role?*',\n use_case: 'What describes your use-case best?*',\n saleshandy_usage: 'Who will be using Saleshandy?',\n subscription_canceled: 'You have canceled this subscription.',\n subscription_paused: 'Your subscription is paused',\n reactivate_subscription_message_one:\n \"You have canceled your existing subscription, and it's scheduled to end after\",\n reactivate_subscription_message_two:\n 'Please reactivate it to modify the current subscription.',\n reactivate_subscription: 'please reactivate our saleshandy subscription',\n reactivate_subscription_email_body:\n 'it seems our Saleshandy subscription is canceled at the moment. I’d request you to reactivate it so I can access my account.',\n resume_subscription_admin_message_one:\n 'Your subscription is paused that is scheduled to resume on',\n resume_subscription_admin_message_two:\n 'In order to perform this activity, you need to resume your subscription.',\n resume_subscription_member_message_one:\n \"Your subscription is paused by admin and it's is scheduled to resume on\",\n resume_subscription_member_message_two:\n 'In order to perform this activity, please ask your admin to resume your subscription.',\n resume_subscription: 'please resume our saleshandy subscription',\n resume_subscription_success_message:\n 'Subscription has been resumed successfully',\n resume_subscription_email_body:\n 'it seems our Saleshandy subscription is paused at the moment. I’d request you to resume it so I can access my account.',\n no_seat_available_email_modal_title: 'Add email account(s)',\n no_seat_available_email_modal__content_1:\n 'You have reached a limit of adding email account(s).',\n no_seat_available_email_modal__content_2:\n 'To add more email accounts you have to buy additional slots.',\n no_seat_available_team_modal_title: 'Invite team member(s)',\n no_seat_available_team_modal__content_1:\n 'You have reached a limit of inviting team member(s).',\n no_seat_available_team_modal__content_2:\n 'To invite more team members you have to buy additional slots.',\n plan_description:\n 'You can view your invoices and the past billing history on your billing portal.',\n select_unsubscribe_message_text:\n 'Select unsubscribe message type from below.',\n need_help_for_connecting_email: 'Need help connecting your email account?',\n update_smtp_imap_connect_failed:\n 'All the sequences associated with this email account has been paused.',\n manually_cancel_subscription:\n 'Your subscription was created manually. Please contact the support team to get your subscription canceled.',\n not_allowed_to_add_email_accounts_message_1:\n 'You are not allowed to add the email accounts as you have canceled your existing subscription, and it’s scheduled to end after',\n not_allowed_to_add_email_accounts_message_2:\n 'Please reactivate it to add more email accounts.',\n please_enter_valid_email: 'Please enter a valid email address',\n sender_name_limit_error: 'Maximum 50 characters allowed',\n email_account_not_found:\n 'The account you are trying to reconnect is missing',\n no_result_found_title: 'Sorry, we couldn’t find what you are looking for',\n no_result_found_desc: 'Please try searching with another term',\n now_allowed_to_add_unsubscribe_contact_to_sequence:\n 'It is not possible to add unsubscribed contacts to the sequence',\n view_only_access_to_user: 'User will have view only access.',\n payment_pending: 'Your subscription payment is pending.',\n initial_payment_pending_text_one: 'Your subscription payment is pending.',\n initial_payment_pending_text_two:\n 'your subscription will be activated only after successful payment in the next 23 hours.',\n recurring_payment_pending_text_two:\n 'to save your plan from getting cancelled and moving to the free plan in the next',\n download_chrome_plugin: 'Download Chrome Plugin',\n email_account_sending_limit_tooltip: 'Click here to modify the limit',\n email_account_setup_score_tooltip: 'Click here to view your setup score',\n dont_know_your_email_provider: \"Don't know your email service provider?\",\n monthly_highlight_message: 'Switch Yearly to get 3 months free',\n yearly_highlight_message: \"You're saving 3 months for free\",\n monthly_outreach_highlight_message: 'Switch to Yearly to get upto 20% off',\n yearly_outreach_highlight_message: 'You’re saving 20% on yearly',\n what_is_tentative_date_1:\n 'This is a tentative date for scheduling tasks or emails in this step, assuming you add prospects today.',\n what_is_tentative_date_2:\n 'The actual date may change as per the attached schedule, sending quota & other ongoing sequences.',\n upgrade_plan_error_email_subject: 'Request to upgrade Saleshandy plan',\n saleshandy_agency_account_upgrade_required:\n 'Saleshandy Agency Account upgrade required',\n upgrade_plan_error_email_body1:\n 'I am writing to request an appropriate upgrade in current Saleshandy account so that it enables me to use its best feature.',\n upgrade_plan_error_email_body2:\n 'Please let me know if there is anything else that I can do to make this request happen.',\n drag_and_drop_csv: 'Drag & Drop your CSV with Prospect Details',\n drop_your_csv_here: 'Drop to upload your CSV file here.',\n email_warmup_collaboration_msg_1:\n 'Saleshandy and TrulyInbox have partnered to bring you the Email Warm Up feature.',\n email_warmup_collaboration_msg_2:\n 'Connect Unlimited Email Accounts and warm up your accounts for FREE!',\n view_faqs: 'View FAQs',\n go_to_trulyinbox: 'Go To TrulyInbox',\n get_contact_line1_modal:\n 'You have selected 2 leads to reveal contact information.',\n get_contact_line2_modal: 'Are you sure, you want to continue?',\n agency_portal:\n 'Discover the power of saleshandy agency portal, built for agencies',\n agency_portal_desc:\n 'Streamline your outreach, manage multiple clients, and drive impressive results - all in one centralised platform',\n setup_score_updated_successfully: 'Setup score updated successfully',\n disconnect_email_accounts_desc:\n 'Are you sure you want to disconnect all the selected email accounts?',\n delete_email_accounts_desc:\n 'Are you sure you want to delete all the selected email accounts?',\n delete_client_message_one:\n 'Are you sure you want to delete the selected client?',\n delete_client_message_two:\n 'Once deleted, the client user won’t be able to log in and will be removed from the account permanently. All sequences associated with this client will be paused.',\n esp_matching_update_success: 'ESP Matching setting updated successfully',\n esp_matching_update_fail: 'ESP Matching setting update failed',\n ...onboarding.step3,\n ...onboarding.step4,\n ...onboarding.step5,\n ...onboarding.step6,\n ...onboarding.step7,\n ...onboarding.step8,\n ...emptyList.emailsTab,\n ...emptyList.templates,\n ...templates,\n ...emails,\n ...tags,\n ...blacklist,\n ...profileProgress,\n ...apiKey,\n ...sequencePauseMessages,\n ...emailEditorModals,\n ...coldEmailTips,\n ...emailSuggestions,\n ...needHelpCta,\n ...customTrackingDomainMessages,\n ...riskyProspectsMessages,\n ...rampUpSettings,\n ...emailHealthScore,\n ...noSeatAvailableEmail,\n ...unsubscribeLinkModal,\n ...SMTPIMAPConnection,\n ...tipsToConnectSMTPIMAPEmail,\n ...watchVideoModal,\n ...mailboxEmails,\n ...chromeExtensionSettings,\n ...emailWarmup,\n ...errorBoundary,\n ...emailAccountType,\n ...nativeAttachment,\n ...timeIntervalSettings,\n ...adminSettings,\n ...outreachBasicRestrictionMsg,\n ...sequenceScore,\n ...emailAccountSetupFactor,\n },\n};\n","const onboarding = {\n step3: {\n hi: `Salut`,\n welcome_to_saleshandy: `Bienvenue dans Saleshandy v3.0 ! Votre nouveau lieu d'engagement commercial.`,\n all_of: `Toutes vos communications par e-mail peuvent être gérées à l'aide de séquences -\n campagnes goutte à goutte multi-touch pour automatiser votre carnet de ventes et booster\n productivité.`,\n lets_quickly: `Voyons rapidement comment l'utiliser.`,\n lets_start: `Let's Start`,\n },\n step4: {\n set_up: `Mettre en place le flux de communication. Si vous n'avez pas de campagne particulière en tête pour le moment, vous pouvez explorer notre exemple de séquence.`,\n },\n step5: {\n this_is_where: `C'est ici que vous pouvez analyser les perspectives et suivre l'engagement de votre séquence.`,\n we_will_come: `Nous y reviendrons en détail après avoir créé les étapes et lancé la séquence.`,\n great: `🎉 Super!`,\n },\n step6: {\n start_by_prospects: `Commencez par ajouter des prospects avec lesquels vous souhaitez commencer à interagir avec des e-mails.`,\n },\n step7: {\n steps_created: `Étapes créées`,\n prospects_added: `Perspectives ajoutées`,\n activate_the_sequence: `Activez la séquence pour envoyer les e-mails par étapes à vos prospects.\n Vous pouvez ensuite vérifier les performances de la séquence dans`,\n tabs: `onglets`,\n you_are_all_set: `Vous êtes prêt!`,\n },\n step8: {\n way_to_go: `Marche à suivre!!`,\n for_every_sequence: `Pour chaque séquence, vous pouvez surveiller les performances de la séquence dans`,\n check_our_tutorials: `Consultez nos tutoriels pour apprendre les meilleures pratiques pour utiliser Saleshandy pour booster\n votre entreprise.`,\n },\n};\n\nconst emptyList = {\n emailsTab: {\n you_asked: `Vous avez demandé et nous avons écouté. C'est officiel.`,\n email_tab_another_way: `L'onglet E-mails, un autre moyen de suivre efficacement vos e-mails,\n sort le 5 octobre 2021.`,\n through_this: `Grâce à cela, vous pouvez désormais facilement gérer et surveiller votre courrier électronique\n Activités. Avec l'onglet e-mail, vous pourrez voir comment\n de nombreux mails sont envoyés ainsi que le planning des mails à venir.`,\n please_click_on: `Veuillez cliquer sur`,\n link_to_view: `lien pour afficher notre feuille de route de produits et nous fournir tout\n commentaires supplémentaires que vous avez pour nous aider à façonner notre\n produit meilleur pour nos utilisateurs`,\n },\n templates: {\n start_templates: 'Commencez avec des modèles',\n templates_help:\n 'Les modèles vous aideront à gérer votre contenu afin que vous puissiez créer vos séquences plus rapidement que jamais',\n add_templates: 'Nouveau modèle',\n },\n};\n\nconst templates = {\n clone_warning: 'Êtes-vous sûr de vouloir cloner le modèle',\n clone_template: 'Modèle de clone',\n delete_warning:\n 'Voulez-vous vraiment supprimer ce modèle ? Le modèle sera supprimé définitivement et vous ne pourrez pas annuler cette action',\n delete_template: 'Supprimer le modèle',\n share_warning:\n \"Tous les membres de votre équipe peuvent utiliser ce modèle une fois que vous l'avez partagé. Voulez-vous continuer?\",\n share_template: 'Partager le modèle',\n enter_subject: 'Veuillez saisir le sujet',\n};\n\nconst emails = {\n send_email_subject: \"Envoyez l'e-mail maintenant ?\",\n send_email: 'Envoyer un e-mail',\n};\n\nconst tags = {\n tags_title: 'Ajouter ou supprimer des balises',\n no_tags_found_title: 'Aucune balise définie pour le moment.',\n no_tags_found_sub_title: 'Allez-y, ajoutez votre premier tag ! 🔥',\n tags_placeholder: 'Entrer une balise',\n tags_removeMode: 'Les balises appliquées seront affichées ici',\n add_tag: '+ ajouter des balises',\n prospects_updated: 'Prospects Mis à jour avec succés',\n};\n\nconst header = {\n mark_all_as_read: 'Tout marquer comme lu',\n resume: 'Reprendre',\n reconnect: 'Se reconnecter',\n notifications: 'Notifications',\n profile_settings: 'Paramètres de profil',\n feature_request: 'Demande de fonctionnalité',\n become_our_affiliate: 'Devenez notre affilié',\n lead_finder_credits: 'Crédits de Recherche de Prospects',\n email_verification: 'Crédits de vérification des e-mails',\n total_prospects: 'Prospects Totals',\n monthly_emails_sent: 'Emails Mensuels Envoyés',\n help: 'aider',\n logout: 'Se déconnecter',\n emailDisconnected: 'E-mail déconnecté',\n sequencePaused: 'Séquence en pause',\n changeLog: 'Quoi de neuf',\n scheduleADemo: 'Planifier une démo',\n noNotifications: 'Aucune nouvelle notification pour le moment.',\n sequenceProspectBulkAction:\n 'Rapport de sélection des prospects en vrac de séquence',\n 'prospect-bulk-action': 'Rapport de sélection groupée de prospects',\n domainRegistrationInProgress: 'Enregistrement du domaine en cours',\n domainRegistrationComplete: 'Enregistrement du domaine terminé',\n mailboxRegistrationComplete: 'Enregistrement du boîtier mail terminé',\n viewEmailAccounts: 'View Email Accounts',\n};\n\nconst blacklist = {\n valid_domain: 'Entrez le nom de domaine valide au format domaine.com',\n blacklist_domains: 'Domaines sur liste noire',\n blacklist_domain_sub_header:\n \"Empêchez les e-mails d'aller aux prospects dans des domaines spécifiques.\",\n blacklist_domain_instruction:\n 'Utilisez une virgule pour séparer plusieurs domaines. Par exemple : gmail.com, facebook.org, outlook.com',\n};\n\nconst profileProgress = {\n // keeping object keys for profile progress steps to be same\n // as receiving in api response payload\n 'watch-video': 'Regarder la vidéo',\n 'connect-email': \"Connecter l'e-mail\",\n 'create-sequence': 'Créer une séquence',\n 'add-prospects': 'Ajouter des prospects',\n 'activate-sequence': 'Activer la séquence',\n hello: 'Bonjour',\n getting_started: 'Commencer',\n you_are_gonna_be_a_saleshandy_superstar: 'Tu vas être une superstar vendeuse',\n completed: 'Complété',\n nice_work: 'Nice Work',\n going_good: 'Ça va bien',\n excellent_work: 'Excellent travail',\n activate_sequence_message:\n 'Activez cette bascule pour activer la séquence et commencer à contacter vos prospects.',\n learn_create_sequence: 'Apprenez à créer une séquence en 3 minutes',\n};\n\nconst watchVideoModal = {\n create_sequence: 'Créer une séquence',\n watch_later: 'Regarder plus tard',\n watch_video_description_1:\n 'Avant de commencer, nous vous recommandons de regarder cette vidéo pour apprendre',\n watch_video_description_2:\n \"comment configurer et exécuter votre première séquence d'e-mails avec Saleshandy.\",\n};\n\nconst apiKey = {\n api_key_home_part_1:\n 'Vos clés API doivent être traitées de manière aussi sécurisée que tout autre mot de passe. Référer ',\n api_key_home_part_2: `documentation de l'API`,\n api_key_home_part_3: ` pour l'intégration`,\n enter_your_label: `Entrez votre étiquette`,\n label: 'Étiqueter',\n invalid_label_input: `Entrée d'étiquette non valide`,\n only_letters_allowed:\n 'Seuls les caractères, les chiffres et les tirets sont autorisés',\n label_less_than: 'Le libellé doit comporter moins de 25 caractères',\n api_keys_empty: 'Les clés API sont vides',\n please_add_api_keys: 'Veuillez ajouter des clés API',\n};\n\nconst sequencePauseMessages = {\n bounce_limit_reached:\n \"Cette séquence est interrompue en raison du nombre élevé d'e-mails rejetés. Nous vous suggérons de vérifier les prospects avant de reprendre la séquence.\",\n email_account_disconnected:\n 'Cette séquence est suspendue car votre compte de messagerie a été déconnecté. Veuillez visiter Paramètres pour vous reconnecter et recommencer à envoyer des e-mails.',\n plan_expired: `Cette séquence est suspendue car votre forfait a expiré. \n Veuillez mettre à niveau votre compte pour reprendre la séquence si vous n'avez pas encore mis à niveau votre compte.`,\n manually_paused:\n 'Vous avez mis manuellement votre séquence en pause. Activez votre séquence pour recommencer à envoyer des e-mails.',\n email_sending_limit_reached:\n \"Cette séquence est suspendue car vous avez atteint la limite d'envoi de votre fournisseur. Veuillez reprendre après 24 heures de la date de pause de votre séquence.\",\n trial_quota_exhausted:\n \"La séquence est suspendue car vous avez épuisé le quota du plan d'essai.\",\n plan_paused:\n 'Votre abonnement est suspendu en raison de quoi vos séquences ont été suspendues.',\n agency_client_deleted:\n 'Cette séquence est interrompue car le client est supprimé. Veuillez reprendre la séquence avec un bouton bascule.',\n agency_client_disabled:\n 'Cette séquence est interrompue car le client est désactivé. Veuillez reprendre la séquence avec un bouton bascule.',\n email_account_deleted:\n 'Cette séquence est interrompue car le compte de messagerie a été supprimé.',\n plan_downgraded:\n 'Vous êtes actuellement sur le plan de démarrage en raison duquel toutes vos séquences sont en pause. Mettez à jour votre forfait existant pour commencer à envoyer des e-mails.',\n over_limit_connected_emails:\n \"Votre séquence est en pause car elle a plus de 3 comptes de messagerie connectés, ce qui n'est pas autorisé dans le plan actuel. Veuillez mettre à niveau pour activer la séquence.\",\n email_account_paused:\n \"Cette séquence est en pause car votre compte de messagerie est en pause. Veuillez accéder à Paramètres -> Compte de messagerie et l'activer à nouveau pour commencer à envoyer des e-mails.\",\n email_account_removed:\n 'Cette séquence est suspendue car votre compte de messagerie est actif supprimé. Veuillez visiter Paramètres -> Compte de messagerie et réactivez-le pour commencer à envoyer des e-mails.',\n};\n\nconst emailEditorModals = {\n test_email_title: 'Envoyer un e-mail test',\n test_email_content:\n 'Un e-mail de prévisualisation sera envoyé à cette adresse e-mail. Vous pouvez également envoyer à plusieurs adresses e-mail en les séparant par une virgule. Le nombre maximum autorisé est de 5 e-mails.',\n email_account_note_content:\n \"Remarque : Vous risquez de perdre vos données de messagerie actuellement non enregistrées si vous cliquez sur se connecter maintenant. Cliquez sur Annuler pour enregistrer le texte de l'e-mail et éviter de perdre des données.\",\n email_account_disconnected_title: 'Compte de messagerie déconnecté',\n email_account_disconnected_content:\n 'Votre compte de messagerie est déconnecté. Veuillez connecter votre compte de messagerie pour continuer à envoyer des e-mails.',\n email_account_not_connected_title: 'Compte de messagerie non connecté',\n email_account_not_connected_content:\n 'Veuillez sélectionner un compte de messagerie dans les paramètres de séquence pour continuer à envoyer des e-mails.',\n email_not_added_title: 'Compte de messagerie non ajouté',\n email_not_added_content:\n \"Votre compte de messagerie n'a pas été ajouté. Veuillez connecter votre compte de messagerie pour continuer à envoyer des e-mails.\",\n confirmation_modal_title:\n \"Vous souhaitez fermer l'étape sans enregistrer les modifications?\",\n confirmation_modal_content:\n \"La fermeture de l'éditeur supprimerait les modifications non enregistrées apportées dans l'e-mail. Si vous souhaitez enregistrer ces modifications, cliquez sur Annuler, puis sur le bouton Enregistrer.\",\n confirmation_modal_content_2:\n \"La fermeture de l'éditeur annulerait les modifications non enregistrées apportées à l'étape. Si vous souhaitez enregistrer ces modifications, cliquez sur Annuler puis sur le bouton Enregistrer.\",\n};\n\nconst coldEmailTips = {\n content_guide: 'Guide de contenu',\n cold_email_tips: 'Conseils pour les e-mails froids',\n cold_email_tip_1_title:\n \"Personnalisez la ligne d'objet à l'aide de merge tags\",\n cold_email_tip_1_content:\n \"Un e-mail avec des lignes d'objet personnalisées obtient des taux d'ouverture 6% plus élevés.\",\n cold_email_tip_2_title:\n \"Ajouter un texte de pré-en-tête pour résumer l'e-mail\",\n cold_email_tip_2_content:\n \"Les e-mails avec des pré-en-têtes pertinents obtiennent des taux d'ouverture 10% plus élevés.\",\n cold_email_tip_3_title: 'Apprenez à rédiger des e-mails froids efficaces',\n cold_email_tip_3_content_1: 'Cliquez sur',\n cold_email_tip_3_content_2: 'ici',\n cold_email_tip_3_content_3:\n 'pour lire le guide ultime pour écrire des e-mails froids',\n cold_email_tip_4_title: 'Utilisez Spintax pour maximiser la délivrabilité',\n cold_email_tip_4_content_1:\n 'Spintax vous permet de générer plusieurs variantes dans un seul e-mail.',\n cold_email_tip_4_content_2: 'Apprendre encore plus',\n};\n\nconst emailSuggestions = {\n subject_title: 'Longueur du sujet',\n character: 'personnage',\n characters: 'personnages',\n subject_helper_text: '30-60 caractères suggérés.',\n word_title: 'Nombre de mots',\n word_helper_text: '50-200 mots suggérés.',\n word_helper_text_1: '25-149 mots suggérés.',\n personalization_title: 'Personnalisation',\n merge_tag: 'balise de fusion',\n merge_tags: 'balises de fusion',\n personalization_helper_text: '2 balises de fusion ou plus suggérées.',\n link_title: 'Liens',\n link: 'lien',\n links: 'liens',\n link_helper_text: 'Nous suggérons une utilisation minimale.',\n spammy_title: 'Spam',\n word: 'mot',\n words: 'mots',\n spammy_helper_text: 'Nous suggérons une utilisation minimale.',\n};\n\nconst needHelpCta = {\n need_help: \"Besoin d'aide?\",\n cta_1: 'Tu peux',\n cta_2: 'initier une conversation',\n cta_3: \"pour obtenir de l'aide de notre part.\",\n cta_4: 'planifier un appel',\n};\n\nconst customTrackingDomainMessages = {\n turn_on_line_tracking: 'Activer le suivi des liens?',\n title: 'Suivi des liens désactivé',\n domain_not_set_part_1:\n \"Nous vous recommandons de configurer un domaine personnalisé pour suivre les liens à l'aide d'URL de marque.\",\n domain_not_set_part_2:\n 'Il vous aide à améliorer le taux de livraison des e-mails.',\n domain_not_set_part_3: 'Voulez-vous toujours activer le suivi des liens ?',\n domain_set_part_1:\n 'Nous vous recommandons de désactiver le suivi des liens pour un meilleur taux de livraison des e-mails.',\n domain_set_part_2:\n \"L'activation du suivi des liens peut réduire le taux d'ouverture de 5%.\",\n domain_set_part_3: \"Voulez-vous toujours l'activer?\",\n delete_custom_domain_title: 'Voulez-vous supprimer ce domaine personnalisé?',\n delete_default_custom_domain_content_1:\n 'Vous essayez de supprimer le domaine de suivi personnalisé par défaut. Lors de la suppression, ce système définira un nouveau domaine de suivi personnalisé par défaut.',\n delete_default_custom_domain_content_2: `La suppression d'un domaine de suivi personnalisé peut nuire à la délivrabilité de vos e-mails.`,\n delete_default_custom_domain_content_3:\n 'Vous essayez de supprimer le domaine de suivi personnalisé par défaut. Lors de la suppression, le système devra définir un nouveau domaine de suivi personnalisé par défaut.',\n delete_default_custom_domain_content_4:\n 'Veuillez ajouter un nouveau domaine de suivi personnalisé afin de le supprimer.',\n delete_custom_domain_title_2:\n 'Vous ne pouvez pas supprimer ce domaine personnalisé !',\n};\n\nconst riskyProspectsMessages = {\n do_you_want_to_send_emails_to_risky_prospects:\n 'Voulez-vous envoyer des e-mails à des prospects risqués ?',\n risky_prospect_model_title_1:\n \"Pour maintenir une réputation d'expéditeur optimale, nous vous suggérons de ne pas envoyer d'e-mails à des prospects à risque, car il y a de fortes chances que les e-mails soient rejetés.\",\n};\n\nconst planSummary = {\n userAccounts: 'Comptes utilisateur',\n emailAccounts: 'Comptes mail',\n newUserSeats: 'Nouveaux sièges utilisateur',\n newEmailSeats: 'Nouveaux postes de messagerie',\n};\n\nconst timeIntervalSettings = {\n time_interval_error:\n \"L'intervalle de temps doit être compris entre 20 et 2000 secondes\",\n same_time_interval_error:\n 'Il devrait y avoir un intervalle minimum de 10 secondes',\n time_interval_warning:\n \"L'envoi d'un trop grand nombre d'e-mails en une heure peut entraîner la suspension ou la mise sur liste noire du compte. Nous suggérons de maintenir cet intervalle entre 60 et 190 secondes pour une délivrabilité optimale.\",\n};\n\nconst rampUpSettings = {\n emails_per_day_error:\n \"La valeur ne peut pas être supérieure au nombre maximal d'e-mails par jour.\",\n emails_per_day_percent_error:\n 'La valeur en pourcentage doit être comprise entre 1 et 100.',\n daily_rampup_title: 'Daily Ramp-Up (pour réchauffer le compte de messagerie)',\n daily_rampup_tooltip_text_1:\n \"Nous vous suggérons d'activer cette option pour augmenter progressivement le quota d'envoi quotidien car cela vous aide à réchauffer votre compte de messagerie.\",\n daily_rampup_tooltip_text_2:\n 'Vous pouvez le désactiver à tout moment pour passer à un quota quotidien statique.',\n daily_rampup_tooltip_text_3: 'Cliquez ici',\n daily_rampup_tooltip_text_4: 'pour apprendre plus.',\n emails_per_day_start: 'Commencer avec',\n emails_per_day_end: 'e-mails par jour.',\n emails_per_day_suggestion: '(Nous suggérons de commencer par 5)',\n emails_per_day_percent_start: 'Augmenté de',\n emails_per_day_percent_end: 'pour cent par jour.',\n emails_per_day_percent_suggestion: '(Nous suggérons 10-20%)',\n rampup_results: \"Le nombre total d'e-mails à envoyer aujourd'hui est de\",\n disable_rampup_confirmation_title:\n 'Êtes-vous sûr de vouloir désactiver Ramp-Up?',\n disable_rampup_confirmation_content_1:\n \"La désactivation de Ramp-up au milieu peut augmenter considérablement votre activité d'envoi d'e-mails,\",\n disable_rampup_confirmation_content_2:\n \"ce qui peut affecter les performances de votre séquence. Nous vous recommandons d'autoriser la montée en puissance progressivement\",\n disable_rampup_confirmation_content_3:\n \"augmentez l'envoi jusqu'à ce qu'il atteigne le nombre maximum d'e-mails par jour que vous avez défini.\",\n ramp_up_limit_reached:\n \"L'accélération a été désactivée après avoir atteint le nombre maximal d'e-mails par jour.\",\n save_rampup_confirmation_title: 'Voulez-vous vraiment modifier la valeur?',\n save_rampup_confirmation_content_1:\n \"Une fois les modifications enregistrées, les paramètres d'envoi mis à jour seront applicables à partir de\",\n save_rampup_confirmation_content_2: 'À partir de.',\n save_rampup_confirmation_content_3: \"Voulez-vous l'enregistrer?\",\n today: \"aujourd'hui\",\n tomorrow: 'demain',\n};\n\nconst emailAccountTableHeader = {\n sender: 'Expéditrice',\n sending_limit: \"Limite d'envoi\",\n setup_score: 'Score de configuration',\n connected_by: 'Connecté par',\n actions: 'Actions',\n};\n\nconst emailHealthScore = {\n email_disconnected_message:\n \"L'e-mail est déconnecté. Connectez-le pour un score de configuration précis.\",\n learn_how_to_set_this: 'Apprenez à régler ceci',\n learn_how_to_warm_up: 'Apprenez à vous échauffer',\n spf_result_message_1:\n \"SPF (Sender Policy Framework) est un enregistrement essentiel pour l'authentification des e-mails. \",\n spf_result_message_2:\n 'Cela affecte considérablement la délivrabilité de vos e-mails. ',\n spf_result_message_3:\n 'Nous vous suggérons fortement de le configurer avant de commencer à envoyer des e-mails. ',\n ctd_error_result_message_1:\n 'Le domaine de suivi personnalisé est une fonctionnalité ',\n ctd_error_result_message_2:\n 'qui vous permet de remplacer le domaine de suivi générique par votre domaine ',\n ctd_error_result_message_3:\n 'qui vous aide éventuellement à améliorer la délivrabilité de vos e-mails. ',\n ctd_error_result_message_4:\n 'Nous vous recommandons vivement de le configurer avant de commencer à envoyer des e-mails. ',\n dmarc_result_message_1:\n \"DMARC est une méthode d'authentification de messagerie standard, et il aide les administrateurs de messagerie à empêcher les pirates \",\n dmarc_result_message_2:\n \"et d'autres attaquants d'usurper leur organisation et leur domaine. \",\n dmarc_result_message_3:\n 'Il est suggéré de le configurer pour des résultats de messagerie optimaux. ',\n email_age_result_message_1:\n 'Votre compte de messagerie est suffisamment ancien pour obtenir une délivrabilité décente.',\n email_age_result_message_2:\n \" Nous vous suggérons d'utiliser notre fonction d'accélération des e-mails si vous souhaitez vous bâtir une bonne réputation d'expéditeur.\",\n email_age_error_result_message_1:\n 'Les comptes de messagerie nouvellement créés sont vulnérables aux filtres anti-spam. ',\n email_age_error_result_message_2:\n 'Le fournisseur de messagerie peut également les restreindre si vous essayez de ',\n email_age_error_result_message_3:\n \"envoyer un grand nombre d'e-mails à partir d'un compte de messagerie relativement nouveau.\",\n email_age_error_result_message_4:\n \"Nous suggérons aux utilisateurs de conserver le quota d'envoi le plus bas et \",\n email_age_error_result_message_5:\n \"utilisez notre fonction d'accélération des e-mails pour augmenter progressivement le quota d'envoi.\",\n email_age_error_result_message_6:\n \"Si vous pensez que votre e-mail est ancien, veuillez déconnecter l'e-mail &\",\n email_age_error_result_message_7:\n \"reconnectez l'e-mail et vérifiez à nouveau le score de santé.\",\n check_deliverability_loading_1:\n 'Nous vérifions le dernier score de santé pour ce compte de messagerie ',\n check_deliverability_loading_2:\n \"ce qui peut prendre jusqu'à 2 minutes. Veuillez patienter pendant que nous récupérons les détails. \",\n check_deliverability_1:\n \"Nous vous permet d'évaluer la santé de votre compte de messagerie sur \",\n check_deliverability_2:\n \"divers aspects pour savoir si c'est assez bon pour envoyer des e-mails. \",\n check_deliverability_3:\n 'Nous soulignons également les problèmes que vous devez résoudre pour obtenir les meilleurs résultats.',\n need_help_to_improve_your_score: \"Besoin d'aide pour améliorer votre score ?\",\n need_help_content:\n 'Améliorez votre score de configuration des e-mails en planifiant un appel avec notre expert en délivrabilité des e-mails.',\n talk_to_deliverability_expert: 'Parlez à des experts en délivrabilité',\n check_deliverability_score: 'Vérifier le score de délivrabilité',\n email_setup_score: 'Score de configuration des e-mails',\n last_updated_at: 'Dernière mise à jour à',\n email_setup_score_description:\n \"Ce score mesure la capacité d'un compte de messagerie à s'installer et à se configurer correctement. En outre, il évalue les protocoles d'authentification et les meilleures pratiques suggérées par des experts pour maintenir une parfaite santé des e-mails.\",\n score_factor_details: 'Détails du facteur de score',\n sequence_setup_score: 'Score de configuration de la séquence',\n sequence_setup_score_description:\n 'Ce score est calculé en fonction de la configuration de la séquence et des meilleures pratiques. En outre, il évalue certains paramètres clés pour exécuter une séquence réussie.',\n email_writing_score: \"Score d'écriture d'e-mails\",\n email_writing_score_description:\n \"Ce score mesure l'efficacité d'un contenu. En outre, il évalue les signaux d'alarme possibles et suggère quelques bonnes pratiques pour rédiger un e-mail froid parfait.\",\n check_deliverability_manually_fetch:\n \"Saleshandy n'a pas pu récupérer l'état de santé de cet e-mail. Veuillez réessayer.\",\n changes_updated_successfully: 'Modifications mises à jour avec succès.',\n daily_ramp_up_settings_updated_successfully:\n 'Paramètres de montée en puissance quotidiens mis à jour avec succès',\n sending_limit_updated_text_1:\n \"Limite d'envoi mise à jour. Désormais, vous pouvez augmenter le nombre total d'e-mails par jour jusqu'à \",\n sending_limit_updated_text_2: ' e-mails.',\n lower_value_limit_then_ramp_up_limit_error:\n \"Cette valeur ne doit pas être inférieure à la valeur de montée en puissance des e-mails à envoyer aujourd'hui.\",\n soft_limit_modal_content_1: \"Nous vous recommandons d'envoyer moins de\",\n soft_limit_modal_content_2: \"e-mails par jour d'un\",\n soft_limit_modal_content_3: 'libre',\n soft_limit_modal_content_4: 'Compte.',\n soft_limit_modal_content_5:\n \"Veuillez connecter un e-mail professionnel pour des limites d'envoi plus élevées.\",\n soft_limit_modal_content_6: \"Je comprends le risque d'envoyer plus de\",\n soft_limit_modal_content_7: 'e-mails',\n soft_limit_modal_content_8: 'à partir de ce compte de messagerie',\n soft_limit_modal_content_9: 'e-mails par jour',\n email_per_day_success_message:\n \"Nombre total d'e-mails par jour mis à jour avec succès\",\n zero_limit_error: \"La limite d'envoi doit être d'au moins 1\",\n learn_how_to_set: 'Apprenez à régler',\n hard_limit_error_content_1:\n 'peut bloquer votre compte si vous envoyez plus de',\n hard_limit_error_content_capital_1:\n 'Cette peut bloquer votre compte si vous envoyez plus de',\n hard_limit_error_content_2: 'peut être affecté si vous envoyez plus de',\n hard_limit_error_content_3: 'e-mails. Nous recommandons',\n hard_limit_error_content_4: \"pour envoyer plus d'e-mails.\",\n hard_limit_error_content_5: 'connecter un autre compte de messagerie',\n access_token_error_description_1: 'Votre compte a été déconnecté',\n access_token_error_description_2:\n 'Veuillez le reconnecter pour récupérer le dernier score de santé.',\n get_it_done_by_experts: 'faites-le faire par des experts',\n};\n\nconst prospectFilterLabels = {\n filters: 'Filtres',\n owners: 'Propriétaires',\n tags: 'Mots clés',\n sequence: 'Séquence',\n status: 'Statut',\n verification_status: 'Statut de vérification',\n created_date: 'Date de création',\n outcomes: 'Résultats',\n creation_source: 'source de création',\n current_step: 'Étape actuelle',\n};\n\nconst unsubscribeLinkModal = {\n unsubscribe_link_modal_title:\n 'Êtes-vous sûr de vouloir supprimer le lien de désinscription ?',\n unsubscribe_link_modal_message_one:\n 'Nous vous recommandons fortement de conserver le lien de désinscription dans les e-mails afin de réduire les plaintes de spam par les destinataires.',\n unsubscribe_link_modal_message_two:\n 'La désactivation de cette option peut affecter négativement la délivrabilité de votre e-mail.',\n};\n\nconst saleshandyUsageLabels = {\n sales_team: 'Équipe de vente',\n marketing_team: 'Équipe de marketing',\n agency_consultant: 'Agence / Conseil',\n recruiters: 'Recruteurs',\n other: 'Autre',\n};\n\nconst teamSizeLabels = {\n just_me: 'juste moi',\n team_2_5: '2-5',\n team_5_20: '5-20',\n team_20_plus: '20+',\n};\n\nconst industryLabels = {\n it_services: 'services informatiques',\n saas: 'saas',\n human_resources: 'ressources humaines',\n marketing_advertising: 'publicité Marketing',\n internet: \"l'Internet\",\n other: 'autre',\n};\n\nconst SMTPIMAPConnection = {\n issue_with_smtp_connection: 'Problème avec la connexion SMTP.',\n issue_with_imap_connection: 'Problème avec la connexion IMAP.',\n};\n\nconst tipsToConnectSMTPIMAPEmail = {\n tips_title: 'Conseils pour connecter avec succès votre compte de messagerie:',\n smtp_tips_one:\n 'Assurez-vous que votre compte de messagerie est activé pour SMTP.',\n smtp_tips_two:\n \"Assurez-vous que 2FA n'est pas activé sur votre compte de messagerie.\",\n smtp_tips_three:\n \"Si 2FA est activé, veuillez utiliser le mot de passe de l'application au lieu du mot de passe de l'e-mail.\",\n imap_tips_one:\n 'Assurez-vous que votre compte de messagerie est activé pour IMAP.',\n imap_tips_two:\n \"Assurez-vous d'utiliser les informations d'identification de votre compte de messagerie pour la connexion IMAP.\",\n smtp_gmail_tips_one_a: 'Nous vous recommandons vivement de créer un',\n smtp_gmail_tips_one_b: \"mot de passe de l'application\",\n smtp_gmail_tips_one_c:\n 'pour connecter votre compte Gmail via la méthode SMPT/IMAP.',\n smtp_gmail_tips_two:\n \"L'activation de la vérification en 2 étapes est obligatoire pour créer un mot de passe de l'application pour un compte Gmail.\",\n smtp_gmail_tips_three_a: 'Cliquez ici',\n smtp_gmail_tips_three_b:\n \"pour savoir comment créer et utiliser un mot de passe d'application pour connecter votre compte Gmail via la méthode SMTP/IMAP.\",\n smtp_gmail_tips_three_c: 'Apprendre de la vidéo.',\n imap_gmail_tips_one:\n \"Assurez-vous qu'IMAP est activé pour cette boîte aux lettres Gmail.\",\n imap_gmail_tips_two:\n \"Vous pouvez utiliser le même mot de passe d'application pour connecter l'IMAP.\",\n};\n\nconst mailboxEmails = {\n track_your_first_email: 'Suivre votre premier e-mail',\n install_saleshandy_connect:\n \"Installez l'extension Saleshandy Connect et commencez à suivre les e-mails individuels.\",\n see_how_extension_works: \"Découvrez comment fonctionne l'extension\",\n install_chrome_extrension: \"Installer l'extension Chrome\",\n delete_mailbox_email: \"Voulez-vous supprimer cette entrée d'e-mail?\",\n delete_mailbox_email_description:\n 'Toutes les informations relatives au suivi des e-mails pour cet e-mail seront effacées et ne pourront pas être récupérées.',\n email_deleted_successfully: \"L'e-mail a été supprimé avec succès.\",\n notification_turned_on_tooltip_text: 'Désactiver les notifications',\n notification_turned_off_tooltip_text: 'Désactiver les notifications',\n notification_turned_on_successfully:\n 'La notification a été activée avec succès.',\n notification_turned_off_successfully:\n 'La notification a été désactivée avec succès.',\n};\n\nconst chromeExtensionSettings = {\n desktop_notification: 'Notifications de bureau',\n track_email_by_my_team: 'Suivre les e-mails de mon équipe',\n track_email_by_my_team_tooltip:\n \"Cette option vous permet d'activer/désactiver le suivi des e-mails pour les e-mails individuels envoyés aux membres de votre équipe.\",\n test_notification: \"Avis d'essai\",\n test_notification_tooltip:\n 'Si vous rencontrez des problèmes avec les notifications,',\n link_click_here: 'Cliquez ici',\n notification_body:\n \"Ceci est un exemple de notification pour l'activité Saleshandy.\",\n notification_not_supported:\n 'Ce navigateur ne prend pas en charge les notifications de bureau.',\n notification_denied_message_1:\n 'Vous avez refusé les notifications pour Saleshandy,',\n notification_denied_message_2:\n 'pour un guide étape par étape pour réactiver les notifications.',\n settings_saved: 'Paramètres sauvegardés.',\n};\n\nconst emailWarmup = {\n start_with_email_per_day: 'Commencez avec des e-mails/jour',\n increase_by_emails_every_day: 'Augmenter par e-mails tous les jours',\n maximum_emails_sent_per_day: \"Maximum d'emails à envoyer par jour\",\n reply_rate: 'Taux de réponse',\n sender_name: \"Nom de l'expéditeur\",\n recommended: 'Recommandée',\n zero_value_error_1: 'La valeur ne peut pas être inférieure à',\n zero_value_error_2: 'ou en fraction.',\n max_value_error: 'La valeur ne doit pas dépasser',\n char_limit_error: 'La valeur doit être comprise entre 3 et 80 caractères.',\n email_warmup_paused_successfully:\n 'Le préchauffage des e-mails a été suspendu avec succès.',\n email_warmup_enabled_successfully: 'Email Warm-up activé avec succès.',\n reconnect_email_account_title: 'Votre compte de messagerie est déconnecté!',\n reconnect_email_account_content:\n \"Vous ne pouvez pas activer le préchauffage des e-mails pour un compte de messagerie déconnecté. Veuillez d'abord le reconnecter.\",\n disconnect_email_account_title:\n 'Voulez-vous désactiver le préchauffage des e-mails pour ce compte de messagerie?',\n disconnect_email_account_content:\n \"Email Warm-up vous permet de construire et de maintenir une réputation d'expéditeur optimale. Le supprimer peut avoir un impact sur la délivrabilité à l'avenir.\",\n email_account_is_connected: 'Le compte de messagerie est connecté.',\n email_account_is_disconnected: 'Le compte de messagerie est déconnecté.',\n email_warmup_empty_list_title:\n \"Construisez votre réputation d'e-mail avec notre échauffement des e-mails et ne tombez plus jamais dans le spam.\",\n email_warmup_empty_list_desc:\n 'Ajoutez votre premier compte de messagerie pour commencer.',\n see_how_warmup_works: \"Découvrez comment fonctionne l'échauffement\",\n add_new_email_account: 'Ajouter un nouveau compte de messagerie',\n email_warmup_settings_updated_successfully:\n 'Les paramètres de préchauffage des e-mails ont été mis à jour avec succès.',\n deliverability: 'Deliverability',\n total: 'Total',\n inbox: 'Inbox',\n spam: 'Spam',\n received_today: \"Reçu aujourd'hui\",\n received_in_last_seven_days: 'Reçu au cours des 7 derniers jours',\n received_in_last_thirty_days: 'Reçu au cours des 30 derniers jours',\n sent_today: \"Envoyé aujourd'hui\",\n sent_in_last_seven_days: 'Envoyé au cours des 7 derniers jours',\n sent_in_last_thirty_days: 'Envoyé au cours des 30 derniers jours',\n click_here_to_turn_on_warmup:\n \"Cliquez ici pour activer l'échauffement des e-mails pour ce compte de messagerie.\",\n click_here_to_turn_off_warmup:\n \"Cliquez ici pour désactiver l'échauffement des e-mails pour ce compte de messagerie.\",\n running: 'Fonctionnement',\n warmup_settings: \"Paramètres d'échauffement\",\n enable_email_warmup_title:\n \"Activer l'échauffement des e-mails pour ce compte de messagerie?\",\n enable_email_warmup_desc_1:\n \"L'activation de l'échauffement permettrait à Saleshandy d'envoyer des e-mails d'échauffement à partir de ce compte de messagerie,\",\n enable_email_warmup_desc_2:\n \"et vous recevrez également des e-mails d'échauffement d'autres utilisateurs de Saleshandy.\",\n dont_show_this_message_again: \"Ne m'affichez plus ce message.\",\n};\n\nconst noSeatAvailableEmail = {\n no_seat_available_email_subject_1:\n 'Les sièges du compte de messagerie Saleshandy sont épuisés.',\n no_seat_available_email_subject_2:\n 'Besoin de mettre à niveau pour ajouter plus de postes de messagerie',\n no_seat_available_email_body_1:\n 'Il semble que notre abonnement Saleshandy soit épuisé',\n no_seat_available_email_body_2:\n 'le quota de comptes de messagerie connectés selon le',\n no_seat_available_email_body_3:\n 'abonnement et par conséquent, je ne parviens pas à connecter mon e-mail.',\n no_seat_available_email_body_4:\n \"Je vous demanderais de mettre à niveau l'abonnement actuel pour ajouter des sièges de compte de messagerie supplémentaires.\",\n};\n\nconst errorBoundary = {\n error_boundary_title:\n 'Oops! Il semble que quelque chose est tombé en panne de notre côté',\n error_boundary_sub_text_one:\n \"L'équipe d'ingénierie est automatiquement notifiée.\",\n error_boundary_sub_text_two:\n 'Nous vous demandons de réenregistrer dans un certain temps ou',\n return_to_application: \"Retour à l'application\",\n};\n\nconst emailAccountType = {\n google: 'Gmail et Google Workspace',\n microsoft: 'Échange, O365, Outlook et Hotmail',\n smtp_imap: 'Tout autre compte de fournisseur de service de messagerie',\n};\n\nconst nativeAttachment = {\n unsupported_file_type:\n \"Le type de fichier que vous essayez d'ajouter n'est pas pris en charge.\",\n email_content_size_exceeds:\n 'La taille totale de votre e-mail ne doit pas dépasser',\n number_of_attachments_allowed_1: 'Plus de',\n number_of_attachments_allowed_2:\n 'les pièces jointes ne peuvent pas être téléchargées.',\n attachment_removed_successfully:\n 'La pièce jointe a été supprimée avec succès.',\n};\n\nconst adminSettings = {\n are_you_sure_you_want_to_turn_this_on:\n 'Voulez-vous vraiment activer cette option?',\n are_you_sure_you_want_to_turn_this_off:\n 'Voulez-vous vraiment désactiver cette option?',\n turning_this_toggle_on_will_allow_you:\n \"L'activation de cette bascule vous permettra\",\n turning_this_toggle_off_will_not_allow_you:\n 'La désactivation de cette bascule ne vous permettra pas',\n to_have_one_prospect_in_multiple_sequences_simultaneously:\n \"d'avoir un prospect dans plusieurs séquences simultanément.\",\n and_your_team_member_to_verify_prospects_while_importing_them:\n 'à vous et au membre de votre équipe, de vérifier les prospects lors de leur importation.',\n change_will_not_affect:\n \"Ce changement n'affectera pas les prospects existants déjà présents dans plusieurs séquences.\",\n change_will_apply_to_future_imports:\n \"Ce changement s'appliquera à toutes vos futures importations.\",\n prospect_sharing_toggle_off:\n \"Voulez-vous activer le partage de prospects pour les membres de l'équipe?\",\n prospect_sharing_toggle_on:\n \"Voulez-vous désactiver le partage de prospects pour les membres de l'équipe?\",\n auto_add_to_prospect_on_lead_reveal_toggle_on:\n 'Do you want to enable adding prospect on reveal?',\n auto_add_to_prospect_on_lead_reveal_toggle_off:\n 'Do you want to disable adding prospect on reveal?',\n to_auto_add_to_prospect_on_lead_reveal: 'to add to prospect on reveal.',\n};\n\n// Outreach Basic Restriction\nconst outreachBasicRestrictionMsg = {\n team_invite_msg_1:\n \"Votre forfait actuel ne vous permet pas d'inviter les membres de l'équipe.\",\n team_invite_msg_2:\n \"Veuillez passer à Outreach Pro ou à des plans supérieurs pour inviter un nombre illimité de membres de l'équipe.\",\n api_key_msg_1:\n \"Votre forfait actuel ne vous permet pas d'utiliser la clé API.\",\n api_key_msg_2:\n 'Veuillez passer à Outreach Pro ou à des plans supérieurs pour créer des clés API illimitées pour des intégrations transparentes.',\n team_create_msg_1:\n 'Votre forfait actuel ne vous permet pas de créer une équipe.',\n team_create_msg_2:\n \"Veuillez passer au forfait Outreach Pro ou supérieur pour créer une équipe et inviter un nombre illimité de membres de l'équipe.\",\n step_variant_msg_1:\n 'Outreach Starter ne vous permet pas de créer plusieurs variantes en une seule étape.',\n step_variant_msg_2:\n 'Veuillez passer aux plans Outreach Pro ou supérieur pour créer plus de variantes.',\n};\n\nconst sequenceScore = {\n score_poor_1:\n \"Cela indique des problèmes importants avec votre séquence et il est très peu probable qu'elle produise les résultats souhaités.\",\n score_poor_2:\n 'Il est impératif que vous preniez des mesures immédiates en fonction des commentaires et que vous corrigiez les problèmes mis en évidence.',\n score_below_average_1:\n 'Cela suggère que certains problèmes liés à votre séquence doivent être résolus.',\n score_below_average_2:\n 'Il est peu probable que votre séquence obtienne de bons résultats. Nous vous recommandons fortement de prendre des mesures rapides en fonction des commentaires et de résoudre les problèmes mentionnés.',\n score_average_1:\n 'Bien que ce ne soit pas un mauvais score, cela suggère certains domaines qui doivent être améliorés.',\n score_average_2:\n \"Il est essentiel d'examiner attentivement les commentaires fournis et de travailler à l'amélioration de votre séquence pour obtenir de meilleurs résultats.\",\n score_good_1:\n 'Cela indique que votre séquence est bien construite et a le potentiel de produire de bons résultats.',\n score_good_2:\n \"Cependant, il peut y avoir quelques points mineurs à améliorer, et nous vous suggérons de prendre en compte les commentaires et d'apporter les modifications nécessaires.\",\n score_very_good_1:\n \"Cela suggère que votre séquence est bien construite et est susceptible de produire d'excellents résultats.\",\n score_very_good_2:\n \"Bien qu'il y ait toujours place à l'amélioration, vous devriez être fier de votre travail et tenir compte des commentaires fournis pour le rendre encore meilleur.\",\n score_excellent_1:\n 'Cela indique que votre séquence est exceptionnellement bien construite et devrait produire des résultats exceptionnels.',\n score_excellent_2:\n 'Toutes nos félicitations! Vous devriez considérer cela comme une réalisation importante et continuer votre bon travail.',\n};\n\n// eslint-disable-next-line import/prefer-default-export\nexport const fr = {\n labels: {\n selected: 'Choisie',\n apply: 'Appliquer',\n select_all: 'Tout sélectionner',\n reports: 'Rapports',\n duration: 'Durée',\n this_month: 'Ce mois-ci',\n last_month: 'Le mois dernier',\n last_15_days: '15 derniers jours',\n last_7_days: '7 derniers jours',\n last_14_days: '14 derniers jours',\n last_30_days: '30 derniers jours',\n last_90_days: '90 derniers jours',\n this_week: 'Cette semaine',\n last_week: 'La semaine dernière',\n yesterday: 'Hier',\n today: \"Aujourd'hui\",\n add_email_account: 'Ajouter un compte de messagerie',\n add_prospects: 'Ajouter des prospects',\n add_prospect: 'Ajouter un prospect',\n do_later: `je le ferais plus tard`,\n select_email_service:\n 'Sélectionnez le service de messagerie que vous utilisez',\n sequence_settings: 'Paramètres de séquence',\n save: 'Sauvegarder',\n Add: 'ajouter',\n schedule: 'Horaire',\n email_account: 'Compte email',\n safety_settings: 'Paramètres de sécurité',\n sending_priority: \"Priorité d'envoi\",\n step: 'Marcher',\n prospects: 'Perspectives',\n prospectsAdded: 'Perspectives ajoutées',\n emailsSent: 'Courriels envoyés',\n opened: 'Ouvert',\n clicked: 'Cliqué',\n link_clicked: 'Lien Cliqué',\n sent: 'Envoyé',\n replied: 'A répondu',\n bounced: 'Rebondi',\n unsubscribed: 'Désabonné',\n activity: 'Activité',\n sequences: 'Séquences',\n profile: 'Profil',\n cancel: 'Annuler',\n okay: \"D'accord\",\n verify: 'Vérifier',\n export: 'Exportation',\n emails: 'Courriels',\n email: 'Courriel',\n totalProspects: 'Perspectives totales',\n no: 'Non',\n yes: 'Oui',\n delete: 'Effacer',\n title: 'Titre',\n daily: 'Du quotidien',\n weekly: 'Hebdomadaire',\n monthly: 'Mensuel',\n quarterly: 'Trimestrielle',\n all: 'Tout',\n no_data_available: 'Pas de données disponibles!',\n create_and_add_to_sequence: 'Créer et ajouter à la séquence',\n day: 'journée',\n days: 'jours',\n upgrade: 'Améliorer',\n upgrade_now: 'Mettre à jour maintenant',\n upgrade_plan: 'Plan de mise à niveau',\n downgrade_plan: 'Plan de rétrogradation',\n current_plan: 'Plan actuel',\n add_more_slots: \"Ajouter plus d'emplacements\",\n sub_total: 'Sous-total',\n total_amount: 'Montant total',\n total_amount_to_pay_today: \"Montant total à payer aujourd'hui\",\n discount: 'Remise',\n total_after_discount: 'Total après remise',\n total_per_year: 'Total par an',\n total_per_month: 'Total par mois',\n cancel_subscription: \"Annuler l'abonnement\",\n reactivate_subscription: \"Réactiver l'abonnement\",\n resume_subscription: \"Reprendre l'abonnement\",\n bill_summary: 'Résumé de la facture',\n plan_name: 'Nom du régime',\n pay_now: 'Payez maintenant',\n monthly_billing: 'Facturation mensuelle',\n annually_billing: 'Facturation annuelle',\n upgrade_subscription: \"Mettre à niveau l'abonnement\",\n modify_subscription: \"Modifier l'abonnement\",\n search_hit_enter: 'rechercher et appuyer sur entrée',\n search: 'Chercher..',\n done: 'terminé',\n ...header,\n payment_failed: 'Paiement échoué',\n retry_payment: 'Retry Payment',\n contact_support: 'Contactez le support',\n Contact_Support: 'Contactez le support',\n Contact_Owner: 'Contacter le Propriétaire',\n resume_email_sending: \"Reprendre l'envoi d'e-mails\",\n i_will_use_legacy_version: 'Je vais utiliser la version héritée',\n clear_all: 'Tout effacer',\n apply_filters: 'appliquer des filtres',\n create: 'Créer',\n close: 'Fermer',\n copy: 'Copie',\n create_api_key: 'Créer une clé API',\n unsubscribe_success_message:\n 'Le message de désabonnement a été enregistré avec succès.',\n unsubscribe_error:\n 'La balise de désabonnement est requise pour avoir le texte de désabonnement personnalisé.',\n have_a_promo_code: 'Avez vous un code de réduction?',\n remove_discount_code: 'Supprimer le code de réduction',\n need_help: \"Besoin d'aide?\",\n unsubscribe: 'Se désabonner',\n remove_delete: 'Supprimer/Supprimer',\n send: 'Envoyer',\n connect_now: 'Se connecter maintenant',\n continue: 'Continuez',\n unsubscribe_prospect: 'Désinscrire les prospects',\n delete_prospect: 'Supprimer le prospect',\n api_key: 'clé API',\n integration: 'Intégrations',\n webhook: 'Webhook',\n my_profile: 'Mon profil',\n email_accounts: 'Comptes mail',\n schedules: 'Des horaires',\n outOfOffice: 'Absent du bureau',\n team: 'Équipe',\n users_and_teams: 'Utilisateurs et équipes',\n custom_fields: 'Les champs personnalisés',\n system_fields: 'Champs système',\n add_prospect_fields: 'Ajouter des champs de prospect',\n prospect_label_error: `L'étiquette doit être inférieure ou égale à 100 caractères.`,\n prospect_fallback_text_error:\n 'Le texte de remplacement doit être inférieur ou égal à 255 caractères.',\n prospect_fields: 'Champs de prospect',\n prospect_outcomes: 'Résultat du prospect',\n custom_outcomes: 'Résultats personnalisés',\n system_outcomes: 'Résultats du système',\n add_prospect_outcomes: 'Résultat personnalisé',\n custom_outcomes_empty_list_description:\n 'Commencez à organiser vos prospects avec des résultats personnalisés.',\n custom_outcomes_empty_list_title: 'Créer des résultats personnalisés',\n update_system_outcome: 'Mettre à jour le champ système',\n update_custom_outcome: 'Mettre à jour le champ personnalisé',\n custom_tracking_domain: 'Domaine de suivi personnalisé',\n admin_settings: `Paramètres d'administration`,\n blacklist_domains: 'Domaines sur liste noire',\n do_not_contact_list: 'Ne pas contacter la liste',\n billing_and_subscription: 'Facturation & abonnement',\n prospect_search_placeholder: 'Chercher...',\n sequence: 'Séquence',\n status: 'Statut',\n prospect_selected: 'Prospects sélectionné(s).',\n email_account_selected: 'Compte(s) de messagerie sélectionné(s)',\n sequence_statistics: 'Statistiques de séquence',\n purchase_credits: \"Crédits d'achat\",\n buy_now: 'Acheter maintenant',\n contact_admin: \"Contacter l'administrateur\",\n contact_admin_reach_out: 'Contactez votre administrateur',\n buy_credits: 'Acheter des crédits',\n verification_status_settings: 'Statut de vérification',\n verify_now: 'Vérifiez maintenant',\n verifying: 'Verifying',\n already_paid: 'Déjà payé',\n total_to_be_paid: 'Total à payer',\n days_billing: 'jours de facturation',\n save_and_pay: 'Économisez et payez',\n note: 'Noter',\n ...planSummary,\n pre_header_placeholder: 'Entrez un pré-en-tête...',\n pre_header: 'pré-en-tête',\n pre_header_label: 'définir le pré-en-tête',\n pre_header_recommendation:\n 'Recommandation : Utilisez de 40 à 130 caractères dans le pré-en-tête.',\n pre_header_error: `Vous n'êtes pas autorisé à entrer plus de 150 caractères`,\n pre_header_tooltip_1: `Un pré-en-tête est un texte d'e-mail affiché lorsqu'un e-mail non ouvert est prévisualisé dans la boîte de réception.`,\n pre_header_tooltip_2: `Il s'affiche après la fin de la ligne d'objet. La visibilité peut varier pour chaque client de messagerie.`,\n create_new_prospect: 'Créer un nouveau prospect',\n email_sending_limit_header: `Nombre total d'e-mails par jour`,\n bulk_email_sending_limit_header: \"Nombre maximum d'e-mails par jour\",\n email_sending_limit_caption: `Nombre maximum d'e-mails pouvant être envoyés via ce compte de messagerie par jour.`,\n check_new_score: 'Vérifier le nouveau score',\n delete_email: 'Voulez-vous supprimer ce compte de messagerie ?',\n mark_as_replied: 'marquer comme répondu',\n remove_from_sequence: 'supprimer de la séquence',\n move_to_step: \"passer à l'étape\",\n mark_as_finished: 'marquer comme terminé',\n no_results_found: 'No Results Found!',\n empty_prospects: 'Les perspectives sont vides',\n ...planSummary,\n click_here: 'Cliquez ici',\n ...prospectFilterLabels,\n upgrade_to_saleshandy_pro_email_sub: 'Passer à Pro',\n upgrade_required: 'Mise à niveau requise',\n ...planSummary,\n ...emailAccountTableHeader,\n turn_off_email_tracking_model_title:\n \"Désactiver le suivi de l'ouverture des e-mails?\",\n turn_off_mark_prospect_as_replied_model_title:\n 'Désactiver la marque Prospect comme répondu?',\n ...prospectFilterLabels,\n your_subscription_end: 'Votre abonnement est terminé',\n your_trail_expired: 'Votre essai est expiré',\n use_unsubscribe_link_in_email:\n 'Utiliser le lien de désabonnement dans les e-mails',\n canceled: 'Annulé',\n invoice: 'Factures',\n open_billing_portal: 'Ouvrir le portail de facturation',\n opt_out_option: 'Option de désinscription',\n update_system_field: 'Mettre à jour le champ système',\n update_custom_field: 'Mettre à jour le champ personnalisé',\n get_started: 'Commencer',\n edit_email_settings: 'Modifier les paramètres de messagerie',\n error_occured: 'Erreur est survenue!',\n connect: 'Relier',\n chrome_extension: 'Extension chromée',\n ...saleshandyUsageLabels,\n ...teamSizeLabels,\n ...industryLabels,\n view_sample_sequence: \"Voir l'exemple de séquence\",\n create_new_sequence: 'Créer une nouvelle séquence',\n take_action_now_cta: 'Agir dès maintenant',\n refresh: 'Rafraîchir',\n enable: 'Activer',\n see_all_features: 'Voir notre comparaison complète des fonctionnalités',\n most_value: 'LE PLUS VALEUR',\n most_popular: 'Le Plus Populaire',\n best_value_plan_insight_monthly: '73% des utilisateurs achètent ce plan',\n best_value_plan_insight_yearly: '68% des utilisateurs achètent ce plan',\n best_value_plan_insight_email_monthly: '72% des utilisateurs achètent ce plan',\n best_value_plan_insight_email_yearly: '80% des utilisateurs achètent ce plan',\n unused_balance: 'Solde inutilisé',\n credits: 'Crédits',\n manage_billing: 'Gérer la facturation',\n add_remove_slots: 'Ajouter ou supprimer des emplacements',\n update_card_details: 'Mettre à jour la carte/les factures',\n next: 'Prochain',\n thanks: 'Merci',\n regards: 'Cordialement',\n upgrade_to_saleshandy_email_sub:\n 'Demande de mise à niveau de notre compte Saleshandy.',\n got_it: \"J'ai compris\",\n disconnect_email_accounts: 'Déconnecter les comptes de messagerie',\n delete_email_accounts: 'Supprimer des comptes de messagerie',\n add_remove_tags: 'Ajouter et supprimer des balises',\n bulk_update_settings: 'Paramètres de mise à jour groupée',\n refresh_setup_score: 'Actualiser le score de configuration',\n this_email_was_previously_bounced: 'Cet e-mail a déjà été renvoyé',\n delete_client: 'supprimer le client',\n schedule_demo: 'Planifier une démo',\n cold_email_masterclass: 'Masterclass Emailing à Froid',\n download_chrome_plugin: 'Télécharger le plugin Chrome',\n },\n messages: {\n NOTE: 'REMARQUE',\n and: `et`,\n min_max_interval_limit:\n \"Limite d'intervalle minimum et maximum pour l'envoi automatisé e-mails\",\n warning_cannot_add_to_sequence:\n 'Les contacts déjà existants ou désabonnés/rejetés ne peuvent pas être ajoutés à la séquence',\n update_custom_field_warning:\n \"Si vous modifiez le champ personnalisé, cela peut entraver la personnalisation de l'e-mail\",\n warning_cannot_add_to_sequence_search_and_add:\n 'Veuillez noter que les contacts non inscrits/rebondis ne seront pas ajoutés à la séquence',\n email_sent_on: 'Courriel envoyé le',\n email_opened_on: 'E-mail ouvert le',\n link_clicked_on: 'Lien cliqué sur',\n email_replied_on: 'E-mail répondu le',\n connect_email_account_description: `L'ajout d'un compte de messagerie est nécessaire pour envoyer n'importe quelle séquence à votre\n perspectives. Nous vous recommandons de le faire maintenant pour une intégration précieuse.\n Vous pouvez toujours modifier, supprimer ou ajouter un nouveau compte plus tard.`,\n thats_all_for_now: \"C'est tout pour le moment!!\",\n no_activity_data: 'Aucune activité trouvée',\n assign_prospect_to_sequence: 'Attribuer un prospect à des séquences',\n prospect_sequences_are_empty: 'Les séquences du prospect sont vides',\n cannot_change_setting_once_sequence_has_started:\n 'Vous ne pouvez pas modifier les paramètres une fois que la séquence a commencé',\n help_remove_invalid_prospect:\n 'La vérification des e-mails vous aidera à supprimer les prospects non valides de votre séquence.',\n two_types_of_prospect:\n \"Vous trouverez ci-dessous les deux types de prospects auxquels nous vous recommandons d'envoyer des e-mails.\",\n valid_prospect: 'Prospects valides',\n high_delivery_chances:\n 'Les chances de livraison par e-mail sont très élevées.',\n risky_prospect: 'Perspective risquée',\n low_delivery_chances:\n 'Les chances de livraison par e-mail sont très faibles.',\n email_verification: \"vérification de l'E-mail\",\n email_account_select_message:\n 'Connectez votre compte de messagerie à partir duquel vous souhaitez envoyer des e-mails depuis Saleshandy.',\n SMTP_account_select_message:\n 'Choisissez une option pour connecter les comptes de messagerie en masse ou individuellement.',\n email_account_connect_note:\n 'Remarque : Nous ne stockons pas les données de votre boîte aux lettres et vous pouvez supprimer votre compte de messagerie à tout moment.',\n verification_started: 'Vérification commencée',\n please_connect_email:\n 'Ajoutez votre compte de messagerie pour démarrer une séquence',\n adding_email_account: `L'ajout d'un compte de messagerie est nécessaire pour envoyer n'importe quelle séquence à vos prospects. Nous vous recommandons de le faire maintenant pour une intégration précieuse. Vous pouvez toujours modifier, supprimer ou ajouter un nouveau compte ultérieurement.`,\n we_do_not_store:\n 'Nous ne stockons aucune donnée de votre fournisseur de service de messagerie à des fins autres que de vous fournir des analyses.',\n create_and_add_prospect_successfully:\n 'Créer et ajouter un prospect à séquencer avec succès',\n provide_field_name: 'Veuillez fournir un nom de champ',\n provide_outcome_name: 'Veuillez fournir un nom de résultat',\n outcome_field_name: 'Limite de caractères autorisée de 1 à 20',\n provide_valid_fallback_text:\n 'Veuillez fournir un texte de remplacement valide',\n no_data_available: `Les données ne sont pas mises à jour dans cette section, elles apparaîtront ici une fois\n le prospect agit`,\n data_not_updated_for_selection: `Les données de cette sélection ne sont pas encore mises à jour !`,\n your_plan_expired_text: \"L'essai expire dans\",\n your_plan_expired_text_0_day: 'Votre essai gratuit a expiré',\n subscription_warning:\n 'Votre essai gratuit a expiré. Pour continuer, mettez à niveau votre forfait.',\n lead_finder_low_credits:\n 'Vous ne disposez pas de suffisamment de crédits de recherche de prospects pour afficher les informations de contact des prospects sélectionnés.',\n plan_expired_message: 'Euh-Oh ! Votre essai a expiré',\n plan_expired_message_content:\n 'Pour créer des séquences, vous devez mettre à jour votre compte.',\n plan_expired_active_sequence_message:\n \"Vous n'êtes pas autorisé à activer la séquence\",\n plan_expired_active_sequence_content_1:\n \"Vous n'êtes pas autorisé à activer la séquence car vous êtes en plan gratuit.\",\n plan_expired_active_sequence_content_2:\n 'Pour activer la séquence, vous devez mettre à jour votre compte.',\n plan_expired_add_email_message:\n \"Vous n'êtes pas autorisé à ajouter les comptes de messagerie\",\n plan_expired_add_email_content_1:\n \"Vous n'êtes pas autorisé à ajouter les comptes de messagerie car vous êtes dans le plan gratuit.\",\n plan_expired_add_email_content_2:\n 'Pour ajouter plus de comptes de messagerie, vous devez mettre à niveau votre compte.',\n plan_expired_connect_email_message:\n \"Vous n'êtes pas autorisé à connecter les comptes de messagerie\",\n plan_expired_connect_email_content_1:\n \"Vous n'êtes pas autorisé à connecter les comptes de messagerie car vous êtes dans le plan gratuit.\",\n plan_expired_connect_email_content_2:\n 'Pour connecter plus de comptes de messagerie, vous devez mettre à niveau votre compte.',\n plan_expired_invite_member_message:\n \"Vous n'êtes pas autorisé à inviter les membres de l'équipe\",\n plan_expired_invite_member_content_1:\n \"Vous n'êtes pas autorisé à inviter les membres de l'équipe car vous êtes dans le plan gratuit.\",\n plan_expired_invite_member_content_2:\n \"Pour inviter des membres de l'équipe, vous devez mettre à jour votre compte.\",\n plan_expired_clone_sequence_message:\n 'Mettre à jour le plan pour cloner une séquence',\n plan_expired_create_api_key:\n 'Mettre à niveau le plan pour créer une clé API',\n email_verification_title:\n \"Après l'importation, nous effectuerons une vérification des e-mails qui vous aidera à supprimer les prospects non valides de votre séquence. Vous trouverez ci-dessous les deux types de prospects auxquels nous vous recommandons d'envoyer des e-mails.\",\n number_input_alert_message:\n \"Remarque : - Vous ne pouvez pas rétrograder le numéro. de comptes dans le cas où vous avez plus de numéros connectés. Si vous souhaitez en ajouter d'autres, supprimez ceux qui sont connectés et ajoutez-les à la place ou mettez-les à niveau.\",\n upgrade_plan_header_text:\n 'Le plan Pro comprend toutes les fonctionnalités ainsi que des séquences, des prospects et des modèles illimités.',\n trial_plan_message:\n \"Vous êtes dans le plan d'essai gratuit et votre compte sera restreint après la période d'essai. Pour continuer, veuillez mettre à niveau votre forfait.\",\n free_plan_message:\n 'Votre essai gratuit a expiré. Pour continuer, mettez à niveau votre forfait',\n pro_to_free_plan_message:\n \"Votre abonnement est terminé et vous bénéficiez d'un forfait gratuit. Pour continuer, veuillez mettre à niveau votre plan.\",\n payment_failed_message:\n \"Votre paiement n'a pas été traité avec succès. S'il te plaît\",\n upgrade_plan_contact_admin:\n 'Votre essai gratuit a expiré. Pour continuer, contactez votre administrateur.',\n make_changes_to_daily_sending_limit:\n \"Voulez-vous vraiment modifier la limite d'envoi quotidienne ?\",\n you_have_already_sent: 'Vous avez déjà envoyé',\n emails_today: \"courriels aujourd'hui. Vous pouvez envoyer\",\n more_emails_today: \"plus d'e-mails aujourd'hui.\",\n limit_restoration_tomorrow:\n \"e-mails qui dépassent votre limite d'envoi d'e-mails pour aujourd'hui. Votre limite d'envoi quotidienne sera rétablie demain.\",\n include_risky_prospects: 'Inclure les prospects à risque dans la séquence',\n smtp_message_one:\n 'Nous prenons en charge tous les ESP et vous pouvez le connecter avec la configuration SMTP/IMAP.',\n smtp_message_two:\n 'Vous pouvez connecter un compte SMTP/IMAP avec un guidage vidéo afin que le compte de messagerie puisse être lié sans difficulté.',\n smtp_message_three:\n 'Ajoutez un compte de messagerie SMTP/IMAP à partir des paramètres et exécutez vos séquences de manière transparente.',\n delete_email_account_message:\n \"Une fois que vous avez supprimé un compte de messagerie, toutes les séquences utilisant le compte de messagerie seront suspendues. Si une séquence n'est pas lancée, vous pouvez modifier le compte de messagerie et le reprendre plus tard. Les autres séquences ne peuvent pas être activées ultérieurement.\",\n delete_default_email_account_message:\n 'Il semble que vous essayez de supprimer un compte de messagerie par défaut. Veuillez marquer un autre compte de messagerie par défaut pour supprimer ce compte.',\n disconnect_email_account_message:\n 'Une fois que vous avez déconnecté le compte de messagerie, toutes vos séquences utilisant ce compte de messagerie seront suspendues.',\n disable_agency_client_modal_message:\n 'Une fois désactivé, l’utilisateur client ne pourra pas se connecter. Toutes les séquences associées à ce client seront mises en pause.',\n create_api_token_label:\n 'Choisissez une étiquette courte, mémorable et facile à retenir.',\n show_api_token:\n 'Assurez-vous de copier votre nouvelle clé API. Vous ne pourrez plus voir cette clé.',\n delete_api_token_part_one:\n 'Êtes-vous sûr de vouloir supprimer définitivement votre clé API ',\n delete_api_token_part_two:\n \" ? La suppression d'une clé API n'est pas réversible.\",\n api_key_copied_to_clipboard: 'Clé API copiée dans le presse-papiers',\n your_new_api_key: 'Votre nouvelle clé API',\n your_api_key_deleted: 'Votre clé API a été supprimée',\n delete_api_key: 'Supprimer la clé API',\n reached_email_sending_limit_message_one:\n \"Vous avez atteint la limite d'envoi d'e-mails de 200 e-mails pendant la période d'essai gratuite.\",\n reached_email_sending_limit_message_two:\n 'Améliorez votre plan pour continuer à créer de nouvelles séquences.',\n reached_email_sending_limit_message_for_member:\n 'Contactez votre administrateur pour mettre à niveau votre plan.',\n user_subscription_text:\n \"Veuillez entrer le nombre d'emplacements que vous souhaitez ajouter.\",\n email_account_subscription_text:\n 'Saisissez le nombre de comptes de messagerie supplémentaires que vous souhaitez connecter.',\n user_plan_description:\n \"Ajoutez des emplacements pour pouvoir connecter des comptes de messagerie supplémentaires et ajouter des membres d'équipe.\",\n email_account_plan_description:\n 'Cela vous permet de connecter des comptes de messagerie supplémentaires dans le même compte. Chaque utilisateur obtient un compte de messagerie par défaut.',\n your_plan_details: 'Détails de votre forfait Saleshandy',\n slots_info:\n \"*Les créneaux horaires achetés correspondent au quota partagé de comptes de messagerie entre vous et les membres de votre équipe. La taille de votre équipe (y compris vous) peut être étendue jusqu'aux créneaux achetés.\",\n unsubscribe_prospect_message_one:\n 'Êtes-vous sûr de vouloir désinscrire les prospects sélectionnés.',\n unsubscribe_prospect_message_two:\n \"Si vous désabonnez les prospects, vous ne pourrez pas envoyer d'e-mails aux prospects.\",\n delete_prospect_message_one:\n 'Êtes-vous sûr de vouloir supprimer les prospects sélectionnés.',\n delete_prospect_message_two:\n 'Si vous supprimez les prospects, vous perdrez définitivement vos prospects.',\n active: 'Active',\n paused: 'En pause',\n draft: 'Brouillon',\n email_verification_error: \"Erreur de vérification de l'e-mail\",\n low_ev_credits:\n 'Comme les crédits EV requis pour vérifier les e-mails sont faibles. Vous devez donc acheter plus de crédits pour vérifier les e-mails.',\n verification_credits: 'Crédits de vérification',\n buy_credits: 'Acheter des crédits',\n skip_verification: 'Ignorer la vérification',\n purchase_ev_credits_agreement:\n \"En achetant des crédits, j'accepte que les crédits de vérification des e-mails ne soient pas remboursables.\",\n purchase_lead_finder_credits_agreement:\n \"En achetant des crédits, j'accepte que les crédits de recherche de prospects ne soient pas remboursables.\",\n email_verification_action_required_message:\n 'Comme les crédits EV requis pour vérifier les e-mails sont faibles.' +\n 'Vous devez donc acheter plus de crédits pour vérifier les e-mails.' +\n 'Les crédits EV disponibles sont indiqués ci-dessous:-',\n fallback_text_info:\n 'Un texte de secours est un texte de substitution lorsque le champ personnalisé est vide.',\n custom_fields_empty_list_description:\n 'Vous pouvez ajouter des champs personnalisés numériques et textuels.',\n custom_fields_empty_list_description2:\n 'Les champs personnalisés peuvent être utilisés pour stocker les données des prospects et envoyer des e-mails hautement personnalisés.',\n custom_fields_empty_list_title: 'Créez votre premier champ personnalisé',\n custom_field_update_successfully:\n 'Champ personnalisé mis à jour avec succès',\n system_field_update_successfully: 'Champ système mis à jour avec succès',\n custom_outcome_update_successfully:\n 'Résultat personnalisé mis à jour avec succès',\n system_outcome_update_successfully:\n 'Le résultat du système a été mis à jour avec succès',\n prospect_not_selected_warning:\n 'Please select at least 1 prospect to complete the action',\n report_graph_tooltip:\n 'Comparez toutes les mesures des séquences sélectionnées au cours de la période donnée.',\n verify_status_setting_banner_message:\n \"L'envoi d'e-mails à des prospects non vérifiés peut entraîner un nombre\" +\n \"élevé d'e-mails rejetés, ce qui affecte considérablement votre réputation d'e-mail. Cliquez ici pour en savoir plus.\",\n verify_status_pending_banner_message:\n 'La vérification des prospects a été lancée. Vous recevrez un e-mail une fois la vérification terminée',\n modify_subscription_note:\n \"La dernière suppression de siège de compte de messagerie s'appliquera à votre facturation après le cycle de facturation en cours.\",\n turn_off_mark_prospect_as_replied_message:\n \"La désactivation de cette option permettra au système d'envoyer des suivis aux prospects même après qu'ils aient répondu à vos e-mails.\",\n are_you_sure_want_to_turn_it_off: 'Voulez-vous vraiment le désactiver ?',\n track_email_opens_model_message:\n \"La désactivation de cette option arrêtera le suivi de l'ouverture des e-mails pour tous les e-mails de cette séquence.\",\n upgrade_to_pro_email_body:\n 'Il semble que notre compte soit rétrogradé au forfait gratuit. Je vous demanderais de prendre des mesures rapides pour mettre à niveau notre compte.',\n subscription_ended_message: 'Votre abonnement est terminé. Continuer,',\n trail_expired: 'Votre essai a expiré. Continuer,',\n trail_plan_expired_email_account_page_message:\n \"Votre essai a expiré et vos comptes de messagerie sont déconnectés. Pour reconnecter l'e-mail,\",\n plan_expired_team_page_message:\n \"Votre abonnement est terminé. Pour inviter les membres de l'équipe,\",\n trial_plan_expired_team_page_message:\n \"Votre essai a expiré. Pour inviter des membres de l'équipe,\",\n unverified_prospect_banner_message:\n \"L'envoi d'e-mails à des prospects non vérifiés peut entraîner un nombre\" +\n \"élevé d'e-mails rejetés, ce qui affecte considérablement votre réputation d'e-mail. Cliquez ici pour en savoir plus.\",\n ev_credits_payment_failed_message:\n 'Paiement échoué! Veuillez réessayer après un certain temps à partir de la section de facturation.',\n verification_started_content:\n 'Vous recevrez un e-mail une fois la vérification terminée',\n buy_email_credits_sequence_settings_message:\n \"Pour vérifier l'adresse e-mail, vous devez acheter des crédits de vérification d'e-mail.\",\n delete_email_message_one:\n 'Une fois que vous avez supprimé un compte de messagerie, toutes les séquences utilisant le compte de messagerie seront suspendues.',\n delete_email_message_two:\n \"Si une séquence n'est pas démarrée, vous pouvez changer de compte de messagerie et la reprendre plus tard. \",\n delete_email_message_three:\n 'Les autres séquences ne peuvent pas être activées ultérieurement.',\n step_1:\n 'Ajoutez une étape de suivi pour augmenter le taux de réponse de votre séquence de 40 %.',\n step_2:\n \"C'est souvent le suivi qui fait réagir les prospects. Ajoutons une étape de plus.\",\n step_3:\n 'Ajoutez une étape de suivi supplémentaire pour augmenter encore les taux de réponse.',\n upgrade_plan_for_add_email_account:\n 'Votre compte est maintenant sur le plan gratuit et votre administrateur doit mettre à niveau votre compte pour reconnecter ce compte de messagerie.',\n no_prospect_found_in_sequence:\n \"Aucun prospect n'a été trouvé dans la séquence\",\n general_email_sub_for_purchase_ev:\n \"Demande d'achat de crédit de vérification par e-mail\",\n email_sub_for_purchase_ev_from_sequence_settings:\n 'Acheter des crédits pour vérifier le prospect',\n upgrade_plan_for_add_email_account_admin:\n 'Votre compte est maintenant sur le plan gratuit et vous devez mettre à niveau votre compte pour reconnecter ce compte de messagerie.',\n admin_block_page_message:\n \"Vos séquences sont en pause. Veuillez mettre à jour votre compte pour continuer à utiliser ou accéder aux données. Besoin d'aide? Cliquez sur l'icône de chat pour nous contacter.\",\n member_block_page_message:\n \"Vos séquences sont en pause. Pour continuer à utiliser votre compte, veuillez demander à l'administrateur de vous réinscrire. Besoin d'aide? Cliquez sur l'icône de chat pour nous contacter.\",\n paid_plan_expired_message:\n \"Vos séquences sont en pause. Veuillez vous réabonner pour continuer à utiliser votre compte et accéder aux données. Besoin d'aide? Cliquez sur l'icône de chat pour nous contacter.\",\n create_new_prospect_description:\n 'Vous pouvez créer un nouveau prospect en cliquant sur le bouton ci-dessous.',\n import_prospect_and_start_engaging:\n 'Importez vos prospects ou ajoutez-les manuellement et commencez à vous engager avec eux.',\n select_email_service:\n 'Sélectionnez le service de messagerie que vous utilisez',\n team_size: 'Quelle est la taille de votre entreprise?*',\n user_industry: 'Dans quelle industrie etes-vous?*',\n user_job_role: 'Quelle est votre fonction ?*',\n use_case: \"Qu'est-ce qui décrit le mieux votre cas d'utilisation?*\",\n saleshandy_usage: 'Qui utilisera Saleshandy ?',\n subscription_canceled: 'Vous avez annulé cet abonnement.',\n subscription_paused: 'Votre abonnement est suspendu',\n reactivate_subscription_message_one:\n \"Vous avez annulé votre abonnement existant et il est prévu qu'il se termine après\",\n reactivate_subscription_message_two:\n \"Veuillez le réactiver pour modifier l'abonnement en cours.\",\n reactivate_subscription: 'veuillez réactiver notre abonnement saleshandy',\n reactivate_subscription_email_body:\n 'il semble que notre abonnement Saleshandy soit annulé pour le moment. Je vous demanderais de le réactiver afin que je puisse accéder à mon compte.',\n resume_subscription_admin_message_one:\n 'Votre abonnement est suspendu et doit reprendre le',\n resume_subscription_admin_message_two:\n \"Afin d'effectuer cette activité, vous devez reprendre votre abonnement.\",\n resume_subscription_member_message_one:\n \"Votre abonnement a été mis en pause par l'administrateur et il est prévu qu'il reprenne le\",\n resume_subscription_member_message_two:\n \"Afin d'effectuer cette activité, veuillez demander à votre administrateur de reprendre votre abonnement.\",\n resume_subscription: 'veuillez reprendre notre abonnement saleshandy',\n resume_subscription_success_message:\n \"L'abonnement a été réactivé avec succès\",\n resume_subscription_email_body:\n 'il semble que notre abonnement Saleshandy soit suspendu pour le moment. Je vous demanderais de le reprendre afin que je puisse accéder à mon compte.',\n no_seat_available_email_modal_title: 'Ajouter des comptes de messagerie',\n no_seat_available_email_modal__content_1:\n \"Vous avez atteint la limite d'ajout de comptes de messagerie).\",\n no_seat_available_email_modal__content_2:\n 'Pour ajouter plus de comptes de messagerie, vous devez acheter des emplacements supplémentaires',\n no_seat_available_team_modal_title: \"Inviter les membres de l'équipe)\",\n no_seat_available_team_modal__content_1:\n \"Vous avez atteint une limite d'invitation de membres d'équipe).\",\n no_seat_available_team_modal__content_2:\n \"Pour inviter plus de membres d'équipe, vous devez acheter des emplacements supplémentaires.\",\n plan_description:\n \"Vous pouvez consulter vos factures et l'historique de facturation sur votre portail de facturation.\",\n manually_cancel_subscription:\n \"Votre abonnement a été créé manuellement. Veuillez contacter l'équipe d'assistance pour annuler votre abonnement.\",\n select_unsubscribe_message_text:\n 'Sélectionnez le type de message de désabonnement ci-dessous.',\n update_smtp_imap_connect_failed:\n 'Toutes les séquences associées à ce compte de messagerie ont été mises en pause.',\n not_allowed_to_add_email_accounts_message_1:\n \"Vous n'êtes pas autorisé à ajouter les comptes de messagerie car vous avez annulé votre abonnement existant et il est prévu qu'il se termine après\",\n not_allowed_to_add_email_accounts_message_2:\n \"Veuillez le réactiver pour ajouter d'autres comptes de messagerie.\",\n please_enter_valid_email:\n \"S'il vous plaît, mettez une adresse email valide\",\n sender_name_limit_error: '50 caractères maximum autorisés',\n email_account_not_found:\n 'Le compte que vous essayez de reconnecter est manquant',\n no_result_found_title:\n \"Désolé, nous n'avons pas trouvé ce que vous cherchez\",\n no_result_found_desc: 'Veuillez essayer de rechercher avec un autre terme',\n now_allowed_to_add_unsubscribe_contact_to_sequence:\n 'It is not possible to add unsubscribed contacts to the sequence',\n view_only_access_to_user: \"L'utilisateur aura un accès en lecture seule.\",\n payment_pending: 'Le paiement de votre abonnement est en attente.',\n initial_payment_pending_text_one:\n 'Le paiement de votre abonnement est en attente.',\n initial_payment_pending_text_two:\n \"votre abonnement ne sera activé qu'après un paiement réussi dans les prochaines 23 heures.\",\n recurring_payment_pending_text_two:\n 'pour éviter que votre plan ne soit annulé et ne passe au plan gratuit dans le prochain',\n download_chrome_plugin: 'Télécharger le plug-in Chrome',\n email_account_sending_limit_tooltip: 'Cliquez ici pour modifier la limite',\n email_account_setup_score_tooltip:\n 'Cliquez ici pour afficher votre score de configuration',\n dont_know_your_email_provider:\n 'Vous ne connaissez pas votre fournisseur de service de messagerie?',\n monthly_highlight_message:\n 'Changez chaque année pour obtenir 3 mois gratuits',\n yearly_highlight_message: 'Vous économisez 3 mois gratuitement',\n monthly_outreach_highlight_message:\n \"Passez à l'année pour obtenir jusqu'à 20 % de réduction\",\n yearly_outreach_highlight_message: \"Vous économisez 20 % sur l'année\",\n what_is_tentative_date_1:\n \"Il s'agit d'une date provisoire pour planifier des tâches ou des e-mails au cours de cette étape, en supposant que vous ajoutiez des prospects aujourd'hui.\",\n what_is_tentative_date_2:\n \"La date réelle peut changer selon le calendrier ci-joint, le quota d'envoi et d'autres séquences en cours.\",\n upgrade_plan_error_email_subject:\n 'Demande de mise à niveau du plan Saleshandy',\n saleshandy_agency_account_upgrade_required:\n \"Mise à niveau du compte d'agence Saleshandy requise\",\n upgrade_plan_error_email_body1:\n \"Je vous écris pour demander une mise à niveau appropriée dans le compte Saleshandy actuel afin qu'il me permette d'utiliser sa meilleure fonctionnalité.\",\n upgrade_plan_error_email_body2:\n \"S'il vous plaît, faites-moi savoir s'il y a autre chose que je peux faire pour que cette demande se concrétise.\",\n drag_and_drop_csv:\n 'Faites glisser et déposez votre CSV avec les détails du prospect',\n drop_your_csv_here: 'Déposez pour télécharger votre fichier CSV ici.',\n email_warmup_collaboration_msg_1:\n 'Saleshandy et TrulyInbox se sont associés pour vous proposer la fonction Email Warm Up.',\n email_warmup_collaboration_msg_2:\n 'Connectez des comptes de messagerie illimités et préchauffez vos comptes GRATUITEMENT!',\n view_faqs: 'Afficher la FAQ',\n go_to_trulyinbox: 'Aller à TrulyInbox',\n agency_portal:\n \"Découvrez la puissance du portail de l'agence Saleshandy, construite pour les agences\",\n agency_portal_desc:\n 'Rationalisez votre sensibilisation, gérez plusieurs clients et générez des résultats impressionnants - le tout dans une plate-forme centralisée',\n setup_score_updated_successfully:\n 'Score de configuration mis à jour avec succès',\n disconnect_email_accounts_desc:\n 'Êtes-vous sûr de vouloir déconnecter tous les comptes de messagerie sélectionnés ?',\n delete_email_accounts:\n 'Êtes-vous sûr de vouloir supprimer tous les comptes de messagerie sélectionnés ?',\n delete_client_message_one:\n 'Êtes-vous sûr de vouloir supprimer le client sélectionné ?',\n delete_client_message_two:\n 'Une fois supprimé, l’utilisateur client ne pourra plus se connecter et sera définitivement supprimé du compte. Toutes les séquences associées à ce client seront mises en pause.',\n esp_matching_update_success:\n 'Paramètre de correspondance ESP mis à jour avec succès',\n esp_matching_update_fail:\n 'Échec de la mise à jour du paramètre de correspondance ESP',\n ...onboarding.step3,\n ...onboarding.step4,\n ...onboarding.step5,\n ...onboarding.step6,\n ...onboarding.step7,\n ...onboarding.step8,\n ...emptyList.emailsTab,\n ...emptyList.templates,\n ...templates,\n ...emails,\n ...tags,\n ...blacklist,\n ...profileProgress,\n ...apiKey,\n ...sequencePauseMessages,\n ...riskyProspectsMessages,\n ...emailEditorModals,\n ...coldEmailTips,\n ...emailSuggestions,\n ...needHelpCta,\n ...customTrackingDomainMessages,\n ...rampUpSettings,\n ...emailHealthScore,\n ...noSeatAvailableEmail,\n ...unsubscribeLinkModal,\n ...SMTPIMAPConnection,\n ...tipsToConnectSMTPIMAPEmail,\n ...watchVideoModal,\n ...mailboxEmails,\n ...chromeExtensionSettings,\n ...emailWarmup,\n ...errorBoundary,\n ...emailAccountType,\n ...nativeAttachment,\n ...timeIntervalSettings,\n ...adminSettings,\n ...outreachBasicRestrictionMsg,\n ...sequenceScore,\n },\n};\n","import i18n from 'i18next';\nimport { initReactI18next } from 'react-i18next';\nimport LanguageDetector from 'i18next-browser-languagedetector';\nimport { en, fr } from './locales';\n\nconst resources = {\n en: {\n translation: en,\n },\n fr: {\n translation: fr,\n },\n};\n\ni18n\n .use(initReactI18next)\n .use(LanguageDetector)\n .init({\n resources,\n debug: true,\n load: 'languageOnly',\n supportedLngs: ['en', 'fr'],\n fallbackLng: 'en',\n detection: {\n order: ['navigator'],\n },\n keySeparator: '.',\n });\n\nexport default i18n;\n","export enum AgencyClientStatus {\n Active = 'active',\n InActive = 'in-active',\n Deleted = 'deleted',\n}\n\nexport enum AgencyResourceType {\n Sequence = 'sequence',\n EmailAccount = 'emailAccount',\n}\n\nexport enum AgencyClientSortBy {\n firstName = 'firstName',\n CompanyName = 'companyName',\n ActiveSequence = 'activeSequence',\n ActiveEmailAccounts = 'activeEmailAccounts',\n TotalProspects = 'totalProspects',\n TotalEmailSent = 'emailSent',\n CreatedDate = 'createdDate',\n}\n\nexport enum AgencyClientPermissions {\n FullAccess = 'full-access',\n LimitedAccess = 'limited-access',\n NoAccess = 'no-access',\n}\n","export enum SortByKey {\n SentAt = 'sentAt',\n Opened = 'opened',\n Clicked = 'clicked',\n LastActivity = 'lastActivity',\n}\n\nexport enum RecipientType {\n to = 'to',\n cc = 'cc',\n bcc = 'bcc',\n}\n\nexport enum UnifiedInboxFeed {\n All = 'all',\n Unread = 'unread',\n Scheduled = 'scheduled',\n Draft = 'draft',\n}\n\nexport enum PaginationOption {\n PAGE = 'page',\n SORT_BY_KEY = 'sortByKey',\n ORDER = 'order',\n SEARCH = 'search',\n OWNERS = 'mailbox',\n}\n\nexport enum MailSentimentTypes {\n Positive = 'Positive',\n Negative = 'Negative',\n Neutral = 'Neutral',\n Uncategorized = 'Uncategorized',\n}\n\nexport enum MailCategories {\n Uncategorized = '🏷️ Uncategorized',\n Interested = '👍 Interested',\n Not_Interested = '👎 Not Interested',\n Meeting_Booked = '📅 Meeting Booked',\n Out_Of_Office = '📩️ Out of Office',\n Closed = '🎉 Closed',\n Not_Now = '🚫 Not now',\n Do_Not_Contact = '📵 Do Not Contact',\n}\n\nexport enum UnifiedInboxTrippedFeatures {\n Filters = 'filters',\n Reply = 'reply',\n Forward = 'forward',\n ReplyAll = 'replyAll',\n}\n\nexport const SELECT_ALL_EMAIL_THREADS_LIMIT = 10000;\n\nexport enum CategoryUpdatedType {\n System = 'system',\n Manual = 'manual',\n}\n","import React from 'react';\nimport {\n Dropdown as ReactBootstrapDropdown,\n DropdownProps as ReactBootstrapDropdownProps,\n} from 'react-bootstrap';\nimport { ForwardRef } from '../../types/forward-ref';\n\nexport enum IconPlace {\n Left = 'left',\n Right = 'right',\n}\n\ntype Value = {\n text: string;\n iconIdentifier?: string;\n iconPlace?: IconPlace;\n values?: Value[];\n onClick?: () => void;\n className?: string;\n disabled?: boolean;\n};\n\ntype DropdownProps = Omit & {\n values: Value[];\n};\n\ntype DropdownStatic = {\n IconPlace: typeof IconPlace;\n};\n\nconst Dropdown = React.forwardRef(\n // eslint-disable-next-line\n ({ values, children, ...rest }, ref) => {\n return (\n \n \n {children}\n \n \n );\n\n // \n // \n // Dropdown \n // \n //\n // \n // \n // Action\n // \n },\n) as ForwardRef & DropdownStatic;\n\nDropdown.displayName = 'Dropdown';\n\nDropdown.IconPlace = IconPlace;\n\nDropdown.defaultProps = {\n drop: 'down',\n};\n\nexport default Dropdown;\n\n// eslint-disable-next-line\nconst getItems = (values: Value[]) => {\n return (\n \n {values.map((value, index) => {\n return (\n \n Action\n \n );\n })}\n \n );\n};\n","export enum EmailAccountInfrastructureServiceProvider {\n Google = 'Google',\n Microsoft = 'Microsoft',\n MailDoso = 'MailDoso',\n}\n\nexport enum EmailInfrastructureStep {\n PurchaseDomains = 'purchase-domains',\n CreateEmailAccounts = 'create-email-accounts',\n ContactDetails = 'contact-details',\n}\n\nexport enum EmailAccountInfrastructurePlanType {\n InboxSetup = 'inbox-setup',\n DomainSetup = 'domain-setup',\n}\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { useHistory } from 'react-router';\nimport { ModifySubscriptionSteps } from '../../../components/settings/components/billing-subscription/components/modify-subscription/types';\nimport { Images } from '../../app-constants';\nimport Button from '../../design-system/components/atoms/button';\nimport Modal from '../../design-system/components/atoms/modal';\nimport { Permissions } from '../../utils/access-control/enums/permissions';\nimport hasPermission from '../../utils/access-control/has-permission';\nimport { contactAdmin } from '../../utils/contact-admin';\nimport type { IProps } from './upgrade-plan-error-modal-container';\nimport { openChatSupport } from '../../utils/open-chat-support';\nimport { Routes } from '../../routes';\n\nconst UpgradePlanErrorModal: React.FC = ({\n show,\n onClose,\n planName,\n restrictionOn,\n adminFirstName,\n senderFirstName,\n}) => {\n const { t } = useTranslation();\n const history = useHistory();\n\n const onSubmit = () => {\n const emailSubject = `${t('messages.upgrade_plan_error_email_subject')}`;\n\n const emailBody = `Hello ${adminFirstName}, %0D%0A %0D%0A${t(\n 'messages.upgrade_plan_error_email_body1',\n )} %0D%0A %0D%0A${t(\n 'messages.upgrade_plan_error_email_body2',\n )} %0D%0A %0D%0A${t('labels.thanks')} %26 ${t(\n 'labels.regards',\n )}%2C %0D%0A${senderFirstName}`;\n\n if (hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)) {\n history.push({\n pathname: Routes.Setting_Billing_Upgrade_Email_Outreach_Plan,\n state: {\n modifySubscriptionStep: ModifySubscriptionSteps.SelectPlan,\n },\n });\n } else {\n contactAdmin(emailSubject, emailBody);\n }\n };\n\n const onCloseHandler = () => {\n onClose();\n\n openChatSupport();\n };\n\n return (\n \n \"Alert\"\n

    Upgrade plan

    \n \n }\n showCloseIcon\n onSubmit={onSubmit}\n onClose={onClose}\n onCancel={onCloseHandler}\n submitButtonText={\n hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)\n ? 'Upgrade'\n : t('labels.contact_admin')\n }\n cancelButtonText=\"Need help?\"\n cancelButtonVarient={Button.Variant.Outlined}\n submitButtonClassName=\"header-btn\"\n backdrop=\"static\"\n >\n
    \n

    \n {`You are currently on the ${planName} plan in which there is no ${restrictionOn} feature included.`}\n

    \n

    \n {`Upgrade your plan to continue creating new ${restrictionOn}s.`}\n

    \n
    \n \n );\n};\n\nexport default UpgradePlanErrorModal;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../store/root-reducer';\nimport UpgradePlanErrorModal from './upgrade-plan-error-modal';\n\nconst mapStateToProps = (state: RootState) => ({\n adminFirstName: state.home?.adminDetails?.firstName,\n senderFirstName: state.home?.firstName,\n});\n\nconst mapDispatchToProps = {};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n show: boolean;\n onClose: VoidFunction;\n planName: string;\n restrictionOn: string;\n};\n\nexport default connector(UpgradePlanErrorModal);\n","import React from 'react';\nimport TruncatedTextWithTooltip from '../../../../components/truncated-text-with-tooltip';\nimport { Permissions } from '../../../../utils/access-control/enums/permissions';\nimport hasPermission from '../../../../utils/access-control/has-permission';\nimport { accessibleOnClick } from '../../../../utils/accessible-on-click';\nimport Icon from '../../atoms/icon';\nimport { Overlay, Placement, Tooltip } from '../../overlay';\nimport ContactStatusTag from '../../atoms/contact-status-tag/contact-status-tag';\n\nconst getContactName = (firstName, lastName) => {\n if (firstName && lastName) {\n return `${firstName} ${lastName}`;\n }\n if (firstName) {\n return firstName;\n }\n return lastName;\n};\n\nconst iconStyle = { marginLeft: '.25rem', marginTop: '.15rem' };\n\nconst iconConfigs = {\n skip: {\n identifier: 'circle-check',\n toolTipText: 'Unverified',\n className: 'gray-txt-23',\n },\n valid: {\n identifier: 'circle-check',\n toolTipText: 'Valid',\n className: 'green-txt-14',\n },\n risky: {\n identifier: 'danger',\n toolTipText: 'Risky',\n className: 'orange-txt-6',\n },\n bad: {\n identifier: 'warning',\n toolTipText: 'Bad',\n className: 'red-txt-6',\n },\n unknown: {\n identifier: 'danger',\n toolTipText: 'Risky',\n className: 'red-txt-6',\n },\n inProgress: {\n identifier: 'rotate-clockwise',\n toolTipText: 'In Progress',\n className: 'gray-txt-23',\n },\n};\n\nconst ContactNameField = ({\n cell,\n onClick = null,\n status = null,\n maxEmailLength = 25,\n}) => {\n const field = {\n Email: '',\n 'First Name': '',\n 'Last Name': '',\n };\n cell.forEach((contactField) => {\n if (\n contactField?.label === 'Email' ||\n contactField?.label === 'First Name' ||\n contactField?.label === 'Last Name'\n ) {\n field[contactField.label] = contactField.value;\n }\n });\n\n const iconConfig = iconConfigs[cell.verificationStatus];\n\n const getVerificationIcon = () => (\n \n );\n\n const verificationToolTip = (\n }\n >\n {getVerificationIcon()}\n \n );\n\n const contactName = getContactName(field['First Name'], field['Last Name']);\n\n return (\n !!onClick && onClick(cell[0]?.id))}\n >\n
    \n
    \n {contactName ? (\n \n \n \n ) : (\n \n No Name\n \n )}\n
    \n \n
    \n
    \n
    \n
    \n \n {hasPermission(Permissions.PROSPECT_UPDATE) &&\n iconConfig &&\n verificationToolTip}\n
    \n \n );\n};\n\nexport default ContactNameField;\n","/* eslint-disable consistent-return */\nimport React from 'react';\nimport classNames from 'classnames';\nimport {\n ContactStatusType,\n ContactStatusTypeDisplayName,\n} from '../../../../../components/sequence/enums';\n\nconst ContactStatusTag = ({ status, isSequenceProspectTag = false }) => {\n let capitalizedStatus = ContactStatusTypeDisplayName[status]\n ? ContactStatusTypeDisplayName[status]\n : '';\n\n if (capitalizedStatus) {\n capitalizedStatus =\n capitalizedStatus?.charAt(0)?.toUpperCase() + capitalizedStatus?.slice(1);\n }\n\n const activeTagClass = classNames([\n 'bs-tag',\n { 'bs-tag-blue-2': isSequenceProspectTag },\n { 'bs-tag-green': !isSequenceProspectTag },\n ]);\n const finishedTagClass = classNames([\n 'bs-tag',\n { 'bs-tag-blue-2': isSequenceProspectTag },\n { 'bs-tag-green': !isSequenceProspectTag },\n ]);\n const repliedTagClass = classNames([\n 'bs-tag',\n { 'bs-tag-green-2': isSequenceProspectTag },\n { 'bs-tag-lime': !isSequenceProspectTag },\n ]);\n const bouncedTagClass = classNames([\n 'bs-tag',\n { 'bs-tag-red-2': isSequenceProspectTag },\n { 'bs-tag-red': !isSequenceProspectTag },\n ]);\n const unsubscribedTagClass = classNames([\n 'bs-tag',\n { 'bs-tag-red-2': isSequenceProspectTag },\n { 'bs-tag-gold': !isSequenceProspectTag },\n ]);\n const blacklistTagClass = classNames([\n 'bs-tag',\n { 'bs-tag-gray': isSequenceProspectTag },\n { 'bs-tag-gray': !isSequenceProspectTag },\n ]);\n const pausedTagClass = classNames(['bs-tag bs-tag-pause']);\n\n const getClassName = (st: ContactStatusType): string => {\n if (st === ContactStatusType.Active) {\n return activeTagClass;\n }\n if (st === ContactStatusType.Failed) {\n return finishedTagClass;\n }\n if (st === ContactStatusType.Replied) {\n return repliedTagClass;\n }\n if (st === ContactStatusType.Bounced) {\n return bouncedTagClass;\n }\n if (st === ContactStatusType.Unsubscribed) {\n return unsubscribedTagClass;\n }\n if (st === ContactStatusType.Blacklisted) {\n return blacklistTagClass;\n }\n if (st === ContactStatusType.Paused) {\n return pausedTagClass;\n }\n if (st === ContactStatusType.Finished) {\n return finishedTagClass;\n }\n };\n\n return (\n \n {capitalizedStatus}\n \n );\n};\n\nexport default ContactStatusTag;\n","export { default } from './tag-autosuggest';\n","import React from 'react';\n\nimport { EmailAccountInfrastructureServiceProvider } from '../../../enums/create-email-infrastructure';\n\nimport { Images } from '../../../../../shared/app-constants';\nimport ImageIcon from '../../../../../shared/components/images/image-icon';\n\nimport { Google } from '../../../../../shared/svg/google';\nimport { Microsoft } from '../../../../../shared/svg/microsoft';\n\ninterface IProps {\n esp: EmailAccountInfrastructureServiceProvider;\n}\n\nconst EmailInfrastructureServiceProvider: React.FC = ({ esp }) => {\n const renderESPIcon = () => {\n if (esp === EmailAccountInfrastructureServiceProvider.Google) {\n return ;\n }\n if (esp === EmailAccountInfrastructureServiceProvider.Microsoft) {\n return ;\n }\n if (esp === EmailAccountInfrastructureServiceProvider.MailDoso) {\n return ;\n }\n return null;\n };\n\n return <>{renderESPIcon()};\n};\n\nexport default EmailInfrastructureServiceProvider;\n","import * as Sentry from '@sentry/react';\nimport { LocationDescriptor } from 'history';\nimport { getToken, removeToken, setToken } from './token';\nimport { resetState } from './reset-state';\nimport { redirectWithoutRefresh } from './redirect';\nimport loader from '../loader';\n// eslint-disable-next-line import/no-cycle\nimport api from '../../api';\nimport toaster from '../toaster';\nimport { AnalyticsEvents } from '../enums/analytics';\nimport { clearTestEmailAddressFromLocalStorage } from '../../components/sequence/shared/modals/email-modal/helpers';\nimport { removeProspectsFiltersFromLocalStore } from '../../components/prospect/helpers/prospect-filters-resolver';\nimport { removeEmailInboxFiltersFromLocalStore } from '../../components/unified-inbox/helpers/utils/email-inbox-filters-local-storage-handler';\nimport { removeCobaltSessionToken } from '../../components/settings/components/integrations/utils/helper';\nimport { removeSequenceFilterFromLocalStorage } from '../../components/sequence/components/sequence-list/helper';\nimport {\n removeSequenceReportsFilters,\n removeTeamPerformanceFilters,\n} from '../../components/reports/helpers/helper';\nimport { removeTasksFiltersFromLocalStore } from '../../components/tasks/components/tasks-content/utils/helper';\nimport { removeCustomScript } from './initialize-custom-script';\nimport { removeProspectTableColumnsFromLocalStorage } from '../../components/prospect/components/prospect-table/utils/helper';\nimport { removeUserEmailFromStore } from '../../components/home/utils/helper';\nimport { clearAllEmailAccountInfrastructureKeysFromLocalStorage } from '../../components/email-accounts/helpers/email-accounts-infra-local-storage';\nimport { removeAddEmailAccountsDataFromLS } from '../../components/email-accounts/components/add-email-accounts/helpers/helpers';\n\nexport type LoginOptions = {\n redirect?: boolean;\n token: string;\n};\n\nexport type LocationDescriptorOptions = LocationDescriptor & {\n pathname?: string;\n};\n\nexport type LogoutOptions = {\n redirect?: boolean;\n pathName?: string;\n fallbackTo?: LocationDescriptorOptions;\n query?: string;\n isBackToMainSHDomain?: boolean;\n};\n\ntype FallbackUrlState = {\n from: LocationDescriptorOptions;\n};\n\nconst deleteTokenAndRedirect = ({\n redirect = true,\n pathName = '/login',\n fallbackTo,\n query,\n isBackToMainSHDomain,\n}: LogoutOptions = {}) => {\n removeToken();\n resetState();\n // cleanup\n loader.hide();\n\n const signupRoute = '/signup';\n const redirectURL =\n fallbackTo && fallbackTo.pathname === signupRoute ? signupRoute : pathName;\n\n if (isBackToMainSHDomain) {\n window.open(process.env.REACT_APP_BASE_URL, '_self');\n\n return;\n }\n\n if (redirect) {\n redirectWithoutRefresh({\n pathname: redirectURL,\n state: { from: fallbackTo },\n search: query,\n });\n }\n};\n\nconst deleteTestEmailFromLocalStorage = () =>\n clearTestEmailAddressFromLocalStorage();\n\nexport class AuthHelper {\n static get isAuthenticated(): boolean {\n const token = new URLSearchParams(window.location.search).get('token');\n if (token) {\n setToken(token);\n return true;\n }\n const isTokenPresent = !!getToken();\n if (isTokenPresent) {\n return isTokenPresent;\n }\n\n return false;\n }\n\n static login({ redirect = true, token }: LoginOptions) {\n setToken(token);\n\n if (redirect) {\n redirectWithoutRefresh('/');\n }\n }\n\n static async logout({\n redirect = true,\n pathName,\n fallbackTo,\n query = '',\n isBackToMainSHDomain = false,\n }: LogoutOptions = {}) {\n if (getToken()) {\n api\n .get('/auth/logout', {\n headers: { authorization: `Bearer ${getToken()}` },\n })\n .then(() => {\n toaster.success('Successfully logged out!');\n\n // Analytics Track this event\n window.analytics?.track?.(AnalyticsEvents.SignedOut);\n })\n .catch(() => {\n // eslint-disable-next-line no-console\n console.log('Session expired');\n });\n }\n\n // Sentry, set user to null on logout\n Sentry.setUser(null);\n\n removeCustomScript();\n\n deleteTokenAndRedirect({\n redirect,\n pathName,\n fallbackTo,\n query,\n isBackToMainSHDomain,\n });\n\n // Delete test_email_address\n deleteTestEmailFromLocalStorage();\n\n // Removing filters from local store\n removeProspectsFiltersFromLocalStore();\n removeEmailInboxFiltersFromLocalStore();\n removeSequenceFilterFromLocalStorage();\n\n // Delete cobalt token from local store\n removeCobaltSessionToken();\n\n // Remove Prospect Table Columns\n removeProspectTableColumnsFromLocalStorage();\n\n // Remove task filters from local storage\n removeTasksFiltersFromLocalStore();\n\n removeTeamPerformanceFilters();\n\n // Remove Sequence Reports filters\n removeSequenceReportsFilters();\n\n // Remove User Email Address\n removeUserEmailFromStore();\n\n // Remove Email Infra Cart Details\n clearAllEmailAccountInfrastructureKeysFromLocalStorage();\n\n // Remove Add Email Accounts Data\n removeAddEmailAccountsDataFromLS();\n }\n}\n","export enum ConflictAction {\n Overwrite = 'overwrite',\n NoUpdate = 'noUpdate',\n AddMissingFields = 'addMissingFields',\n}\n\nexport enum SequenceProspectStatus {\n Active = 1,\n Paused = 2,\n Replied = 3,\n Unsubscribed = 4,\n Finished = 5,\n BlackListed = 6,\n Bounced = 7,\n Opened = 8,\n}\n\nexport enum ContactStatusFilterEnum {\n Total = 'total',\n Active = 'active',\n Open = 'open',\n Replied = 'replied',\n Bounced = 'bounced',\n Unsubscribed = 'unsubscribed',\n Finished = 'finished',\n Clicked = 'clicked',\n Failed = 'failed',\n NotContacted = 'notContacted',\n Contacted = 'contacted',\n SentNotOpen = 'sentNoOpen',\n OpenNotClick = 'openedNoClicked',\n OpenNotReply = 'openedNoReply',\n ClickedNoReply = 'clickedNoReply',\n}\n\nexport enum ContactStatusType {\n Active = 'active',\n Finished = 'finished',\n Replied = 'replied',\n Bounced = 'bounced',\n HardBounced = 'hardBounced',\n SoftBounced = 'softBounced',\n Unsubscribed = 'unsubscribed',\n Blacklisted = 'blacklisted',\n Open = 'open',\n Clicked = 'clicked',\n Subscribed = 'subscribed',\n Paused = 'paused',\n Resume = 'resume',\n Failed = 'failed',\n}\n\nexport enum ContactStatusTypeDisplayName {\n Total = 'Total',\n active = 'Active',\n open = 'Opened',\n replied = 'Replied',\n bounced = 'Bounced',\n unsubscribed = 'Unsubscribed',\n finished = 'Finished',\n clicked = 'Clicked',\n blacklisted = 'Blacklisted',\n subscribed = 'Subscribed',\n paused = 'Paused',\n resume = 'Resume',\n failed = 'Failed',\n NotContacted = 'Not Contacted',\n Contacted = 'Contacted',\n SentNotOpen = 'Sent, No Open',\n OpenNotClick = 'Opened, No Click',\n OpenNoReply = 'Opened, No Reply',\n ClickedNoReply = 'Clicked, No Reply',\n}\n\nexport enum ProspectOutcome {\n Interested = 'interested',\n MeetingBooked = 'meetingBooked',\n Closed = 'closed',\n OutOfOffice = 'outOfOffice',\n NotInterested = 'notInterested',\n NotNow = 'notNow',\n DoNotContact = 'doNotContact',\n Uncategorized = 'uncategorized',\n}\n\nexport enum ProspectOutcomeDisplayName {\n Interested = 'Interested',\n MeetingBooked = 'Meeting Booked',\n Closed = 'Closed',\n OutOfOffice = 'Out of Office',\n NotInterested = 'Not Interested',\n NotNow = 'Not Now',\n DoNotContact = 'Do Not Contact',\n Uncategorized = 'Uncategorized',\n}\n\nexport enum ContactVerificationStatus {\n Unverified = 'skip',\n Valid = 'valid',\n Risky = 'risky',\n Bad = 'bad',\n}\n\nexport enum ContactVerificationStatusTypeDisplayName {\n Unverified = 'Unverified',\n Valid = 'Valid',\n Risky = 'Risky',\n Bad = 'Bad',\n InProgress = 'In Progress',\n}\n\nexport enum ZeroBounceSubStatusSaleshandy {\n ALIAS_EMAIL = 'Alias email',\n INVALID_DOES_NOT_ACCEPT_EMAIL = 'Invalid_Does not accept mail',\n CORRECTLY_FORMATTED_EMAIL = 'Correctly formatted email',\n INVALID_FAILED_SYNTAX = 'Invalid_Failed syntax',\n LIKELY_SECONDARY_EMAIL = 'Likely secondary email',\n INVALID_POSSIBLE_TYPO = 'Invalid_Possible typo',\n INVALID_MAILBOX_NOT_FOUND = 'Invalid_Mailbox not found',\n INVALID_NO_DNS_RECORDS = 'Invalid_No DNS records',\n INVALID_MAILBOX_FULL = 'Invalid_Mailbox full',\n INVALID_UNROUTABLE_IP_ADDRESS = 'Invalid_Unroutable ip address',\n DO_NOT_MAIL_GLOBALLY_BLACKLISTED = 'Do not mail_Globally blacklisted',\n DO_NOT_MAIL_POSSIBLE_SPAM_TRAP = 'Do not mail_Possible spam trap',\n DO_NOT_MAIL_ROLE_BASED_EMAILS = 'Do not mail_Role based emails',\n DO_NOT_MAIL_TEMPORARY_EMAIL_ACCOUNTS = 'Do not mail_Temporary email accounts',\n DO_NOT_MAIL_BOT_CREATED_EMAIL_ACCOUNTS = 'Do not mail_Bot created email accounts',\n DO_NOT_MAIL_ROLE = 'Do not mail_Role based catch all',\n DO_NOT_MAIL_MX_FORWARDED = 'Do not mail_MX forwarded',\n UNKNOWN_NOT_VALIDATED = 'Unknown_Not validated',\n UNKNOWN_WHILE_VALIDATING_ERROR = 'Unknown_While validating error',\n UNKNOWN_FAILED_SMTP_CONNECTION = 'Unknown_Failed smtp connection',\n UNKNOWN_SERVER_DISCONNECTED_WHILE_VALIDATING = 'Unknown_Server disconnected while validating',\n UNKNOWN_NOT_VALIDATED_TEMPORARILY = 'Unknown_Not validated temporarily',\n UNKNOWN_SERVER_UNRESPONSIVE = 'Unknown_Server unresponsive',\n UNKNOWN_TEMPORARY_SERVER_ERROR = 'Unknown_Temporary server error',\n UNKNOWN_TIMEOUT = 'Unknown_Timeout',\n CATCH_ALL = 'Catch all',\n SPAMTRAP = 'Spamtrap',\n ABUSE = 'Abuse',\n}\n\nexport enum ProspectCreationSource {\n manually_created = 'manually_created',\n csv_import = 'csv_import',\n chrome_extension = 'chrome_extension',\n api = 'api',\n lead_finder = 'lead_finder',\n unified_inbox = 'unified_inbox',\n undefined = 'null',\n}\n\nexport enum CreationSourceDisplayName {\n Manually_Created = 'Manually Created',\n CSV_Import = 'CSV Import',\n Chrome_Extention = 'Chrome Extension',\n API = 'API',\n Lead_Finder = 'Lead Finder',\n Unified_Inbox = 'Unified Inbox',\n Undefined = 'Undefined',\n}\n\nexport enum StatusColor {\n COLOR_TOTAL = '#0C1D33',\n COLOR_ACTIVE = '#0004C9',\n COLOR_FINISH = '#389E0D',\n COLOR_OPEN = '#13C2C2',\n COLOR_CLICKED = '#9254DE',\n COLOR_REPLIED = '#FA8C16',\n COLOR_BOUNCED = '#FF0000',\n COLOR_UNSUBSCRIBED = '#0C1D33',\n}\nexport enum ContactTotal {\n TOTAL = 'total',\n}\n\nexport enum SortOrder {\n Asc = 'ASC',\n Desc = 'DESC',\n}\n\nexport enum ProspectActivityTabs {\n All = 'all',\n Sent = 'email-sent',\n Opened = 'email-opened',\n Clicked = 'link-clicked',\n Replied = 'email-replied',\n}\n","import { generateId } from '../../../utils/string';\n\nexport const generateTooltipId = (variableLength?: number) =>\n generateId({ prefix: 'tooltip', variableLength });\n\nexport const generatePopoverId = (variableLength?: number) =>\n generateId({ prefix: 'popover', variableLength });\n\nexport const generatePopoverConfirmId = (variableLength?: number) =>\n generateId({ prefix: 'popover-confirm', variableLength });\n","export enum TrialExtendSource {\n Webapp = 'Web app',\n Email = 'Email',\n}\n","export { default } from './avatar';\n","import React, { useRef, useState } from 'react';\nimport validator from 'validator';\nimport classNames from 'classnames';\nimport { Pills, SkeletonLoading } from '@saleshandy/design-system';\nimport { accessibleOnClick } from '../../../../../../../../shared/utils/accessible-on-click';\n\ntype IProps = {\n emailsAndDomains: string[];\n setEmailsAndDomains: (emailsAndDomains: string[]) => void;\n isError: boolean;\n setIsError: (value: boolean) => void;\n isMaxedEmailAdded: boolean;\n hasMore?: boolean;\n onLoadMore?: () => void;\n loadMoreLabel?: string;\n isLoading?: boolean;\n placeholder?: string;\n showInputCount?: boolean;\n maxInputCount?: number;\n};\nconst EmailsAndDomainsInput: React.FC = ({\n emailsAndDomains,\n setEmailsAndDomains,\n isError,\n setIsError,\n isMaxedEmailAdded,\n hasMore = false,\n onLoadMore,\n loadMoreLabel = '',\n isLoading = false,\n placeholder = 'Add entries with comma, semicolon, space or line breaks',\n showInputCount = false,\n maxInputCount,\n}) => {\n // https://regex101.com/r/YlyqJk/1 => Regular Expression working example\n const domainRegex = /^\\s*(?:(?:\\w+(?:-+\\w+)*\\.)+[a-z,A-Z]+)\\s*(?:,\\s*(?:(?:\\w+(?:-+\\w+)*\\.)+[a-z,A-Z]+)\\s*)*$/;\n\n const emailsAndDomainsInputRef = useRef(null);\n\n const [emailsAndDomainsValue, setEmailsAndDomainsValue] = useState(\n '',\n );\n\n const onContainerClicked = () => {\n if (emailsAndDomainsInputRef?.current) {\n emailsAndDomainsInputRef.current.focus();\n }\n };\n\n const onEmailAndDomainValueChange = (value: string) => {\n if (value !== ',' && value !== ' ' && value !== ';') {\n setEmailsAndDomainsValue(value);\n }\n };\n\n const onEmailsAndDomainsRemove = (value: string) => {\n setEmailsAndDomains(emailsAndDomains.filter((email) => email !== value));\n };\n\n const onAddEmailsAndDomains = () => {\n const addedEmailsAndDomains = emailsAndDomainsValue\n .replaceAll(',', ' ')\n .replaceAll(';', ' ')\n .split(' ')\n .filter((e) => e.trim());\n\n const emailsAndDomainRef = [];\n let emailsAndDomainValues = '';\n let isErrorRef = false;\n\n addedEmailsAndDomains.forEach((v, index) => {\n const value = v.toLowerCase();\n if (\n (validator.isEmail(value) || domainRegex.test(value)) &&\n !emailsAndDomains.includes(value) &&\n !emailsAndDomainRef.includes(value)\n ) {\n emailsAndDomainRef.push(value);\n } else if (index === addedEmailsAndDomains.length - 1) {\n emailsAndDomainValues = emailsAndDomainValues.concat(`${value}`);\n } else {\n emailsAndDomainValues = emailsAndDomainValues.concat(`${value}, `);\n }\n isErrorRef = isErrorRef || !!emailsAndDomainValues;\n });\n setIsError(isErrorRef);\n setEmailsAndDomainsValue(emailsAndDomainValues);\n setEmailsAndDomains([...emailsAndDomains, ...emailsAndDomainRef]);\n };\n\n const onAction = (action: string) => {\n if (\n action === ',' ||\n action === ' ' ||\n action === ';' ||\n action === 'Enter' ||\n action === 'Blur' ||\n action === 'Paste'\n ) {\n onAddEmailsAndDomains();\n }\n };\n\n const onKeyPress = (e) => {\n onAction(e.key);\n };\n\n const onKeyDown = (e) => {\n if (\n e.key === 'Backspace' &&\n emailsAndDomainsValue === '' &&\n emailsAndDomains.length > 0\n ) {\n onEmailsAndDomainsRemove(emailsAndDomains[emailsAndDomains.length - 1]);\n }\n };\n\n const onPaste = () => {\n onAction('Paste');\n };\n const onBlur = () => {\n onAction('Blur');\n };\n\n const classes = classNames([\n 'emails-and-domains-input--container',\n {\n error: isMaxedEmailAdded || isError,\n },\n ]);\n\n return (\n <>\n
    \n
    \n {emailsAndDomains?.map(\n (value) =>\n value && (\n onEmailsAndDomainsRemove(value)}\n key={value}\n />\n ),\n )}\n\n {hasMore &&\n (isLoading ? null : (\n {\n onLoadMore?.();\n }}\n showCloseIcon={false}\n key=\"hasMore\"\n className=\"cursor-pointer\"\n />\n ))}\n\n {isLoading && (\n
    \n \n \n \n \n \n
    \n )}\n\n onEmailAndDomainValueChange(e?.target?.value)}\n ref={emailsAndDomainsInputRef}\n onKeyPress={onKeyPress}\n onPaste={onPaste}\n onBlur={onBlur}\n onKeyDown={onKeyDown}\n />\n
    \n {showInputCount ? (\n \n {emailsAndDomains.length}/{maxInputCount ?? 0}\n \n ) : null}\n
    \n
    \n \n {isMaxedEmailAdded && 'You can enter up to 1000 items here'}\n {!isMaxedEmailAdded && isError && 'Invalid entrie(s) found'}\n \n
    \n \n );\n};\n\nexport default EmailsAndDomainsInput;\n","import React from 'react';\nimport { Images } from '../../app-constants';\nimport ImageIcon from './image-icon';\n\nconst SHTag = () => ;\n\nexport default SHTag;\n","import React from 'react';\nimport { Images } from '../../app-constants';\nimport ImageIcon from './image-icon';\n\nconst UploadCloud = () => (\n \n);\n\nexport default UploadCloud;\n","import { Images } from '../../../../../../../shared/app-constants';\nimport { BillingOption } from '../../../../../../../shared/utils/billing-options';\nimport {\n SubscriptionPlanPrice,\n SubscriptionPlans,\n SubscriptionPlanTitle,\n} from '../../../../../../../shared/utils/subscription-plans';\n\nconst starterPlanMeta = {\n description:\n 'Get email tracking and email warm up to kickstart your journey in cold email space.',\n features: [\n 'Unlimited email tracking',\n 'Fully automated email warm-up',\n 'Customized warm-up settings',\n 'SMTP/IMAP Supported',\n ],\n headerImage: Images.Ellipse3,\n isBestValuePlan: false,\n};\n\nconst outreachPlanMeta = {\n description:\n 'Accelerate your cold email outreach journey with fully automated sequences.',\n features: [\n 'Everything in Starter',\n 'Unlimited prospects',\n 'Unlimited Email Sequences',\n 'A/B Test',\n ],\n headerImage: Images.Ellipse2,\n isBestValuePlan: true,\n};\n\nconst ltdEmailOutreachPlanMeta = {\n description:\n 'Automate your cold email outreach through fully automated sequences.',\n features: [\n 'Limited to 1 user account',\n 'Unlimited email sequences',\n '100k prospects',\n 'Unlimited shared templates',\n ],\n headerImage: Images.Ellipse1,\n isBestValuePlan: false,\n};\n\nconst ltdEmailOutreachProPlanMeta = {\n description:\n 'Collaborate with your team with advanced team management & reports.',\n features: [\n 'Multiple user accounts',\n 'Can stack upto 20 email accounts',\n 'Unlimited email sequences',\n 'Unlimited prospects',\n 'Unlimited shared templates',\n ],\n headerImage: Images.Ellipse3,\n isBestValuePlan: true,\n};\n\nconst planMetaData = {\n [BillingOption.MONTHLY]: {\n [SubscriptionPlanTitle.StarterMonthly]: {\n ...starterPlanMeta,\n displayName: SubscriptionPlanTitle.StarterMonthly,\n price: SubscriptionPlanPrice.StarterMonthly,\n planCode: SubscriptionPlans.EMAIL_STARTER_MONTHLY,\n },\n [SubscriptionPlanTitle.OutreachMonthly]: {\n ...outreachPlanMeta,\n displayName: SubscriptionPlanTitle.OutreachMonthly,\n price: SubscriptionPlanPrice.OutreachMonthly,\n planCode: SubscriptionPlans.EMAIL_OUTREACH_MONTHLY,\n },\n },\n [BillingOption.ANNUALLY]: {\n [SubscriptionPlanTitle.StarterYearly]: {\n ...starterPlanMeta,\n displayName: SubscriptionPlanTitle.StarterYearly,\n price: SubscriptionPlanPrice.StarterYearly,\n planCode: SubscriptionPlans.EMAIL_STARTER_YEARLY,\n },\n [SubscriptionPlanTitle.OutreachYearly]: {\n ...outreachPlanMeta,\n displayName: SubscriptionPlanTitle.OutreachYearly,\n price: SubscriptionPlanPrice.OutreachYearly,\n planCode: SubscriptionPlans.EMAIL_OUTREACH_MONTHLY,\n },\n },\n [SubscriptionPlans.EMAIL_OUTREACH_LIFETIME]: {\n ...ltdEmailOutreachPlanMeta,\n displayName: SubscriptionPlanTitle.EmailOutreach,\n price: SubscriptionPlanPrice.EmailOutreachLifetime,\n planCode: SubscriptionPlans.EMAIL_OUTREACH_LIFETIME,\n },\n [SubscriptionPlans.EMAIL_OUTREACH_PRO_LIFETIME]: {\n ...ltdEmailOutreachProPlanMeta,\n displayName: SubscriptionPlanTitle.EmailOutreachPro,\n price: SubscriptionPlanPrice.EmailOutreachProLifetime,\n planCode: SubscriptionPlans.EMAIL_OUTREACH_PRO_LIFETIME,\n },\n};\n\nexport const getOldPlanPrice = (planCode) => {\n if (planCode === SubscriptionPlans.PAID_MONTHLY) {\n return SubscriptionPlanPrice.OldOureachMonthly;\n }\n return SubscriptionPlanPrice.OldOureachYearly;\n};\n\nexport const getPlanMetaData = (\n planCode: SubscriptionPlans,\n planCycle: BillingOption,\n planName?: string,\n): {\n displayName: SubscriptionPlanTitle;\n description: string;\n features: string[];\n headerImage: string;\n isBestValuePlan: boolean;\n price: number;\n planCode: SubscriptionPlans;\n} => {\n if (\n planCode &&\n (planCode === SubscriptionPlans.EMAIL_OUTREACH_PRO_LIFETIME ||\n planCode === SubscriptionPlans.EMAIL_OUTREACH_LIFETIME)\n ) {\n return planMetaData[planCode];\n }\n\n if (\n planCode === SubscriptionPlans.PAID_MONTHLY ||\n planCode === SubscriptionPlans.PAID_YEARLY\n ) {\n return {\n ...planMetaData[planCycle][planName],\n planCode,\n price: getOldPlanPrice(planCode),\n };\n }\n\n return planMetaData[planCycle][planName];\n};\n","import validator from 'validator';\n\nexport const validate = (name, value) => {\n switch (name) {\n case 'couponCode':\n if (validator.isEmpty(value, { ignore_whitespace: true })) {\n return 'ENTER A VALID COUPON CODE';\n }\n }\n return '';\n};\n","class PauseAccountHelper {\n private _showResumePlanModal;\n\n bindActions = (showResumePlanModal) => {\n // eslint-disable-next-line no-underscore-dangle\n this._showResumePlanModal = showResumePlanModal;\n };\n\n // eslint-disable-next-line no-underscore-dangle\n showModal = () => this._showResumePlanModal();\n}\n\nexport default PauseAccountHelper;\n","import React from 'react';\nimport { withTranslation } from 'react-i18next';\nimport { withRouter } from 'react-router';\nimport ResumeSubscriptionModal from '../../../../../components/settings/components/billing-subscription/components/resume-subscription-modal.tsx';\nimport { IProps } from './pause-account-manager-container';\nimport { RequestStatus } from '../../../../enums/request-status';\nimport { executeOnRequestStatusWithPrevStatusCheck } from '../../../execute-on-request-status';\nimport toaster, { Theme } from '../../../../toaster';\nimport { contactAdmin } from '../../../contact-admin';\nimport hasPermission from '../../../access-control/has-permission';\nimport { Permissions } from '../../../access-control/enums/permissions';\nimport { handle3dSecureCardPayment } from '../../../../components/handle-3d-secure-card-payment/handle3dSecureCardPayment';\n\ntype PauseAccountManagerState = {\n showResumeSubscriptionModal: boolean;\n is3dSecureResponseStatePending: boolean;\n};\n\nclass PauseAccountManager extends React.Component<\n IProps,\n PauseAccountManagerState\n> {\n constructor(props) {\n super(props);\n\n this.state = {\n showResumeSubscriptionModal: false,\n is3dSecureResponseStatePending: false,\n };\n\n this.onCloseResumeSubscriptionModal = this.onCloseResumeSubscriptionModal.bind(\n this,\n );\n this.openResumeSubscriptionModal = this.openResumeSubscriptionModal.bind(\n this,\n );\n\n const { bindActions } = this.props;\n\n bindActions(this.openResumeSubscriptionModal);\n }\n\n componentDidUpdate(prevProps: Readonly) {\n const {\n sendGetResumeSubscriptionRequestStatus,\n sendGetUserSettingsRequest,\n resetResumeSubscriptionResponse,\n sendGetResumeSubscriptionRequestError,\n sendGetResumeSubscriptionResponse,\n } = this.props;\n\n executeOnRequestStatusWithPrevStatusCheck({\n status: sendGetResumeSubscriptionRequestStatus,\n prevStatus: prevProps.sendGetResumeSubscriptionRequestStatus,\n onSuccess: () => {\n this.onCloseResumeSubscriptionModal();\n\n if (sendGetResumeSubscriptionResponse?.requires_action) {\n this.handle3dSecureCard(sendGetResumeSubscriptionResponse);\n toaster.error(sendGetResumeSubscriptionResponse?.message, {\n theme: Theme.New,\n });\n } else {\n resetResumeSubscriptionResponse();\n sendGetUserSettingsRequest();\n toaster.success(sendGetResumeSubscriptionResponse?.message, {\n theme: Theme.New,\n });\n }\n },\n onFailed: () => {\n this.onCloseResumeSubscriptionModal();\n toaster.error(sendGetResumeSubscriptionRequestError?.message);\n },\n });\n }\n\n onCloseResumeSubscriptionModal = () => {\n this.setState({\n showResumeSubscriptionModal: false,\n });\n };\n\n openResumeSubscriptionModal = () => {\n this.setState({\n showResumeSubscriptionModal: true,\n });\n };\n\n handle3dSecureCard = async (response) => {\n const {\n resetResumeSubscriptionResponse,\n sendGetUserSettingsRequest,\n t,\n } = this.props;\n\n this.setState({ is3dSecureResponseStatePending: true });\n const { isError } = await handle3dSecureCardPayment({\n response,\n });\n\n if (isError) {\n toaster.error(\n 'Payment failed! Please retry again after some time from billing section.',\n );\n } else {\n sendGetUserSettingsRequest();\n resetResumeSubscriptionResponse();\n toaster.success(t('messages.resume_subscription_success_message'), {\n theme: Theme.New,\n });\n }\n this.setState({ is3dSecureResponseStatePending: false });\n };\n\n resumeSubscription = () => {\n const {\n sendResumeSubscriptionRequest,\n customerId,\n t,\n firstName,\n } = this.props;\n\n const emailBody = `Hello ${firstName}, %0D%0A %0D%0A ${t(\n 'messages.resume_subscription_email_body',\n )}`;\n if (hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)) {\n sendResumeSubscriptionRequest({ customerId });\n } else {\n contactAdmin(t('messages.resume_subscription'), emailBody);\n }\n };\n\n render() {\n const {\n showResumeSubscriptionModal,\n is3dSecureResponseStatePending,\n } = this.state;\n const { sendGetResumeSubscriptionRequestStatus, pauseEndsAt } = this.props;\n\n return (\n \n );\n }\n}\n\nexport default withTranslation()(withRouter(PauseAccountManager));\n","import PauseAccountHelper from './helper';\n\nconst pauseAccountError = new PauseAccountHelper();\n\nexport { default as PauseAccountManager } from './pause-account-manager/pause-account-manager';\nexport default pauseAccountError;\n","class PauseLeadFinderHelper {\n private _showLeadFinderResumePlanModal;\n\n bindActions = (showLeadFinderResumePlanModal) => {\n // eslint-disable-next-line no-underscore-dangle\n this._showLeadFinderResumePlanModal = showLeadFinderResumePlanModal;\n };\n\n // eslint-disable-next-line no-underscore-dangle\n showModal = () => this._showLeadFinderResumePlanModal();\n}\n\nexport default PauseLeadFinderHelper;\n","import React from 'react';\nimport { withTranslation } from 'react-i18next';\nimport { withRouter } from 'react-router';\nimport ResumeSubscriptionModal from '../../../../../components/settings/components/billing-subscription/components/resume-subscription-modal.tsx';\nimport { IProps } from './pause-lead-finder-manager-container';\nimport { RequestStatus } from '../../../../enums/request-status';\nimport { executeOnRequestStatusWithPrevStatusCheck } from '../../../execute-on-request-status';\nimport toaster, { Theme } from '../../../../toaster';\nimport { contactAdmin } from '../../../contact-admin';\nimport hasPermission from '../../../access-control/has-permission';\nimport { Permissions } from '../../../access-control/enums/permissions';\nimport { handle3dSecureCardPayment } from '../../../../components/handle-3d-secure-card-payment/handle3dSecureCardPayment';\n\ntype PauseLeadFinderManagerState = {\n showResumeLeadFinderSubscriptionModal: boolean;\n is3dSecureResponseStatePending: boolean;\n};\n\nclass PauseLeadFinderManager extends React.Component<\n IProps,\n PauseLeadFinderManagerState\n> {\n constructor(props) {\n super(props);\n\n this.state = {\n showResumeLeadFinderSubscriptionModal: false,\n is3dSecureResponseStatePending: false,\n };\n\n this.onCloseResumeSubscriptionModal = this.onCloseResumeSubscriptionModal.bind(\n this,\n );\n this.openResumeSubscriptionModal = this.openResumeSubscriptionModal.bind(\n this,\n );\n\n const { bindActions } = this.props;\n\n bindActions(this.openResumeSubscriptionModal);\n }\n\n componentDidUpdate(prevProps: Readonly) {\n const {\n sendGetResumeLeadFinderSubscriptionStatus,\n sendGetUserSettingsRequest,\n resetResumeLeadFinderSubscriptionResponse,\n sendGetResumeLeadFinderSubscriptionError,\n sendGetResumeLeadFinderSubscriptionResponse,\n } = this.props;\n executeOnRequestStatusWithPrevStatusCheck({\n status: sendGetResumeLeadFinderSubscriptionStatus,\n prevStatus: prevProps.sendGetResumeLeadFinderSubscriptionStatus,\n onSuccess: () => {\n if (sendGetResumeLeadFinderSubscriptionResponse?.requires_action) {\n this.onCloseResumeSubscriptionModal();\n this.handle3dSecureCard(sendGetResumeLeadFinderSubscriptionResponse);\n toaster.error(sendGetResumeLeadFinderSubscriptionResponse?.message, {\n theme: Theme.New,\n });\n } else {\n this.onCloseResumeSubscriptionModal();\n sendGetUserSettingsRequest();\n resetResumeLeadFinderSubscriptionResponse();\n toaster.success(\n sendGetResumeLeadFinderSubscriptionResponse?.message,\n {\n theme: Theme.New,\n },\n );\n }\n },\n onFailed: () => {\n this.onCloseResumeSubscriptionModal();\n toaster.error(sendGetResumeLeadFinderSubscriptionError?.message);\n },\n });\n }\n\n onCloseResumeSubscriptionModal = () => {\n this.setState({\n showResumeLeadFinderSubscriptionModal: false,\n });\n };\n\n openResumeSubscriptionModal = () => {\n this.setState({\n showResumeLeadFinderSubscriptionModal: true,\n });\n };\n\n handle3dSecureCard = async (response) => {\n const {\n resetResumeLeadFinderSubscriptionResponse,\n sendGetUserSettingsRequest,\n t,\n } = this.props;\n\n this.setState({ is3dSecureResponseStatePending: true });\n const { isError } = await handle3dSecureCardPayment({\n response,\n });\n\n if (isError) {\n toaster.error(\n 'Payment failed! Please retry again after some time from billing section.',\n );\n } else {\n sendGetUserSettingsRequest();\n resetResumeLeadFinderSubscriptionResponse();\n toaster.success(t('messages.resume_subscription_success_message'), {\n theme: Theme.New,\n });\n }\n this.setState({ is3dSecureResponseStatePending: false });\n };\n\n resumeSubscription = () => {\n const {\n sendResumeLeadFinderSubscriptionRequest,\n leadFinderCustomerId,\n t,\n firstName,\n } = this.props;\n\n const emailBody = `Hello ${firstName}, %0D%0A %0D%0A ${t(\n 'messages.resume_subscription_email_body',\n )}`;\n if (hasPermission(Permissions.LEAD_FINDER_SUBSCRIPTION_READ)) {\n sendResumeLeadFinderSubscriptionRequest({\n customerId: leadFinderCustomerId,\n });\n } else {\n contactAdmin(t('messages.resume_subscription'), emailBody);\n }\n };\n\n render() {\n const {\n showResumeLeadFinderSubscriptionModal,\n is3dSecureResponseStatePending,\n } = this.state;\n const {\n sendGetResumeLeadFinderSubscriptionStatus,\n leadFinderPauseEndsAt,\n } = this.props;\n\n return (\n \n );\n }\n}\n\nexport default withTranslation()(withRouter(PauseLeadFinderManager));\n","import PauseLeadFinderHelper from './helper';\n\nconst pauseLeadFinderError = new PauseLeadFinderHelper();\n\nexport { default as PauseLeadFinderManager } from './pause-lead-finder-manager/pause-lead-finder-manager';\nexport default pauseLeadFinderError;\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { Trash } from '@saleshandy/icons';\nimport Button from '../../../../../../shared/design-system/components/atoms/button';\nimport { IProps } from './types';\nimport Modal from '../../../../../../shared/design-system/components/atoms/modal';\n\nconst DeleteCustomFieldModal: React.FC = ({\n show,\n onSubmit,\n onClose,\n title,\n className,\n content,\n isRequestPending,\n showCloseIcon,\n}) => {\n const { t } = useTranslation();\n\n return (\n \n \n
    {title}
    \n \n }\n showCloseIcon={showCloseIcon}\n onClose={onClose}\n cancelButtonText={t('labels.cancel')}\n submitButtonText={t('labels.delete')}\n isSubmitLoading={isRequestPending}\n isSubmitDisabled={isRequestPending}\n onSubmit={onSubmit}\n cancelButtonVarient={Button.Variant.Outlined}\n onHide={onClose}\n >\n {content}\n \n );\n};\n\nexport default DeleteCustomFieldModal;\n","import validator from 'validator';\n\nexport const validate = (name: string, value: string): string => {\n switch (name) {\n case 'email':\n if (!validator.isEmail(value)) {\n return 'Please enter a valid email address.';\n }\n break;\n\n case 'password':\n if (validator.isEmpty(value)) {\n return 'Please enter a valid password.';\n }\n break;\n default:\n break;\n }\n\n return '';\n};\n","export enum IcpStatus {\n ICP = 'ICP',\n GCP = 'GCP',\n NONICP = 'NON-ICP',\n}\n","import HelpscoutBeaconEvents from '../enums/helpscout-beacon-events';\nimport { IcpStatus } from '../enums/icp-status';\nimport { IntercomEvents } from '../enums/intercom-events';\nimport { SubscriptionPlans } from './subscription-plans';\nimport { supportUrls } from './urls';\nimport {\n getUserEmail,\n getUserFullName,\n getUserFirstName,\n getUserLastName,\n getUserSignUpDate,\n getUserTrackingId,\n getAgencyUserRole,\n isAgencyUser,\n getAgencyName,\n getUserCurrentPlan,\n getUserShAccountId,\n getIntercomHash,\n} from './user-details';\n\nconst script = document.createElement('script');\nconst intercomScript = document.createElement('script');\nscript.setAttribute('id', 'chat-support-script');\nintercomScript.setAttribute('id', 'intercom-support-script');\n\nexport const destroyChatSupport = () => {\n if (document.getElementById('chat-support-script')) {\n document.body.removeChild(script);\n window.Beacon && window.Beacon(HelpscoutBeaconEvents.DESTROY);\n }\n if (document.getElementById('intercom-support-script')) {\n document.body.removeChild(intercomScript);\n window.Intercom && window.Intercom(IntercomEvents.SHUTDOWN);\n }\n};\n\nexport const initializeIntercom = () => {\n destroyChatSupport();\n\n window.intercomSettings = {\n api_base: supportUrls.intercomBaseUrl,\n app_id: process.env.REACT_APP_INTERCOM_APP_ID,\n alignment: 'left',\n horizontal_padding: 65,\n name: getUserFullName(),\n 'First Name': getUserFirstName(),\n 'Last Name': getUserLastName(),\n 'Signed up': getUserSignUpDate(),\n user_id: getUserTrackingId(),\n email: getUserEmail(),\n isAgencyUser: isAgencyUser(),\n 'Agency Role': getAgencyUserRole(),\n 'Agency Name': getAgencyName(),\n 'Client Name': isAgencyUser() && getUserFullName(),\n company: {\n company_id: getUserShAccountId(),\n plan: getUserCurrentPlan(),\n },\n user_hash: getIntercomHash(),\n };\n\n intercomScript.innerHTML = `(function () {\n var w = window;\n var ic = w.Intercom;\n if (typeof ic === 'function') {\n ic('reattach_activator');\n ic('update', w.intercomSettings);\n } else {\n var d = document;\n var i = function () {\n i.c(arguments);\n };\n i.q = [];\n i.c = function (args) {\n i.q.push(args);\n };\n w.Intercom = i;\n var l = function () {\n var s = d.createElement('script');\n s.type = 'text/javascript';\n s.async = true;\n s.src =\n 'https://widget.intercom.io/widget/${process.env.REACT_APP_INTERCOM_APP_ID}';\n var x = d.getElementsByTagName('script')[0];\n if(x){\n x.parentNode.insertBefore(s, x);\n }\n };\n if (document.readyState === 'complete') {\n l();\n } else if (w.attachEvent) {\n w.attachEvent('onload', l);\n } else {\n w.addEventListener('load', l, false);\n }\n }\n })();`;\n\n setTimeout(() => {\n document.body.appendChild(intercomScript);\n window?.Intercom &&\n window?.Intercom?.('boot', {\n api_base: supportUrls.intercomBaseUrl,\n app_id: process.env.REACT_APP_INTERCOM_APP_ID,\n });\n }, 1000);\n};\n\nexport const getHelpscoutBeaconId = (\n planCode?: SubscriptionPlans,\n icpStatus?: IcpStatus,\n): string => {\n const ltdBeaconId = '78082ab8-48fe-4827-abf8-91853b675bec';\n const generalBeaconId = '19093d77-d406-4050-ae63-a681893c0d1a';\n const icpAndGcpBeaconId = '669ab2d9-1d6f-4a62-af0b-b719b4264379';\n const nonIcpBeaconId = '668e5203-ad1e-46f8-adbd-2359b7ccd90d';\n\n const params = new URLSearchParams(window.location?.search);\n\n if (\n (planCode &&\n (planCode === SubscriptionPlans.EMAIL_OUTREACH_LIFETIME ||\n planCode === SubscriptionPlans.EMAIL_OUTREACH_PRO_LIFETIME)) ||\n window.location?.pathname?.toLocaleLowerCase().includes('ltd') ||\n params.get('redirectedFrom') === 'ltd'\n ) {\n return ltdBeaconId;\n }\n\n if (icpStatus === IcpStatus.ICP || icpStatus === IcpStatus.GCP) {\n return icpAndGcpBeaconId;\n }\n\n if (icpStatus === IcpStatus.NONICP) {\n return nonIcpBeaconId;\n }\n\n return generalBeaconId;\n};\n","import { RequestStatus } from '../../../shared/enums/request-status';\n\nexport const getIsRequestPending = (status): boolean =>\n status === RequestStatus.Pending;\n\nexport const truncateText = (text: string, maxLength: number): string => {\n if (text.length > maxLength) {\n return `${text.substring(0, maxLength)}...`;\n }\n\n return text;\n};\n\nexport const formatPercentage = (percentage?: string): string => {\n if (!percentage) return '';\n\n const num = Number(percentage);\n if (Number.isNaN(num)) return '';\n\n return num % 1 === 0 ? `${parseInt(percentage, 10)}` : `${num.toFixed(2)}`;\n};\n\nexport const formatNumberToKM = (num: number): string => {\n if (num >= 1_000_000) {\n const numberString = (num / 1_000_000).toFixed(\n num % 1_000_000 === 0 ? 0 : 1,\n );\n const numberStringArr = numberString?.split('.');\n if (numberStringArr?.length === 2 && numberStringArr?.[1] === '0') {\n numberStringArr.pop();\n }\n return `${numberStringArr?.join('.')}M`;\n }\n if (num >= 1000) {\n const numberString = (num / 1000).toFixed(num % 1000 === 0 ? 0 : 1);\n const numberStringArr = numberString?.split('.');\n if (numberStringArr?.length === 2 && numberStringArr?.[1] === '0') {\n numberStringArr.pop();\n }\n return `${numberStringArr?.join('.')}K`;\n }\n return num.toString();\n};\n","import { Order } from '../../../shared/enums/order';\nimport { CustomDomainType } from '../../settings/types/custom-domain';\nimport { EmailAccountsSortBy, EmailAccountType } from '../enums/email-account';\nimport { EmailAccountSettings } from './email-account-settings';\n\nexport enum Filters {\n ClientAssociated = 'clientIds',\n EmailServiceProviders = 'emailServiceProvider',\n Tags = 'tagIds',\n Sequences = 'sequenceIds',\n EmailAccountStatus = 'status',\n EmailAccountAddedBy = 'owners',\n}\n\nexport type EmailAccountsFilters = Record & {\n page: number;\n limit: number;\n search: string;\n sortByKey: EmailAccountsSortBy;\n order: Order;\n};\n\nexport type BulkSelectedEmailAccounts = {\n isAllEmailAccountsSelected?: boolean;\n selectionCount?: boolean;\n deSelectedEmailAccountIds?: any[];\n};\n\nexport enum EmailAccountSortBy {\n Owner = 'owner',\n}\n\nexport enum SortOrder {\n Asc = 'ASC',\n Desc = 'DESC',\n}\n\ntype CredentialPayload = {\n emailAddress: string;\n password: string;\n host: string;\n port: number;\n};\n\ntype SmtpImapConnectionPayload = {\n id: number;\n emailAccount: number;\n smtpCredentialPayload: CredentialPayload;\n imapCredentialPayload: CredentialPayload;\n smtpConnectionErrorDetails: string | null;\n imapConnectionErrorDetails: string | null;\n};\n\nexport enum EmailAccountConnectionStatus {\n Active = 'active',\n InActive = 'inActive',\n InProgress = 'inProgress',\n}\n\nexport enum EmailAccountStatus {\n InActive = 0,\n Active = 1,\n InProgress = 2,\n Pause = 3,\n}\n\nexport enum EmailAccountFilterStatus {\n Active = 1,\n Disconnected = 0,\n Paused = 3,\n}\n\nexport type EmailAccount = {\n id?: number;\n user?: any;\n fromName?: string;\n fromFirstName?: string;\n fromLastName?: string;\n fromEmail?: string;\n type?: EmailAccountType;\n status?: EmailAccountStatus;\n isDefault?: number;\n lastConnectedAt?: Date;\n createdAt?: Date | string;\n modifiedAt?: Date | string;\n settings?: EmailAccountSettings[];\n emailAccountCustomDomain?: EmailAccountCustomDomain;\n healthScore: number;\n emailServiceProvider?: string;\n smtpImapConnectionPayload?: SmtpImapConnectionPayload;\n hashId: string;\n sequences: {\n id: string;\n title: string;\n }[];\n tags: number[];\n domainMailboxId?: number;\n spf?: {\n isValid: boolean;\n spfResults: string;\n },\n dkim?: {\n isValid: boolean;\n dkimRecord: string[];\n },\n dmarc?: {\n isValid: boolean;\n dmarcResults: string;\n },\n domainBlacklist?: {\n listedCount: number;\n ip: string;\n domain: string;\n isFreeDomainOrIp?: boolean;\n data: {\n status: string;\n blacklist: string[];\n }[];\n },\n ipBlacklist?: {\n listedCount: number;\n ip: string;\n data: {\n status: string;\n blacklist: string[];\n }[];\n isFreeDomainOrIp?: boolean;\n },\n mxRecord?: {\n isValid: boolean;\n mxRecords: {\n ip: string;\n exchange: string;\n priority?: number;\n }[]\n }\n};\n\nexport type EmailAccountCustomDomain = {\n id: number;\n userCustomDomain: CustomDomainType;\n};\n","import * as _ from 'lodash';\nimport { PaginationLocalStorageKey } from '../../../shared/design-system/components/organisms/table/types';\nimport { RequestStatus } from '../../../shared/enums/request-status';\nimport toaster from '../../../shared/toaster';\nimport { ResponseErrorWithHandled } from '../../../shared/types';\nimport { executeOnRequestStatus } from '../../../shared/utils/execute-on-request-status';\nimport {\n getIsRequestPending,\n getIsRequestSucceeded,\n} from '../../../shared/utils/get-request-status';\nimport { BulkActionProspect } from '../enums/prospect';\nimport { constants } from '../../../shared/enums/constants';\nimport { isRequestPending } from '../../settings/components/billing-subscription/utils/helper';\nimport { ProspectsFilters } from '../../../shared/types/prospects-filters';\nimport { FilterGroupLogicPayload, SelectAllContacts } from '../types';\n\n// * Show Hide Loading Bar Handler\nexport const showHideLoadingBar = (\n status: RequestStatus,\n showLoading,\n hideLoading,\n error: ResponseErrorWithHandled,\n showGeneralErrorNotification: {\n (message: React.ReactNode): void;\n (message: React.ReactNode): void;\n (arg0: any): void;\n },\n) => {\n if (status === RequestStatus.Pending) {\n showLoading();\n }\n if (status === RequestStatus.Succeeded) {\n hideLoading();\n }\n if (status === RequestStatus.Failed) {\n hideLoading();\n if (error) {\n showGeneralErrorNotification(error.message);\n }\n }\n};\n\n// * View Email Verification And Tag Modal Handler\nexport const viewEmailVerificationAndTagModal = (\n selectedProspects,\n showProspectSelectedRowInfoBanner,\n selectedAllProspects: SelectAllContacts,\n totalProspect: number,\n) => {\n if (\n selectedProspects.length > 0 ||\n (selectedAllProspects?.isAllProspectsSelected &&\n selectedAllProspects?.deSelectedContactIds?.length !== totalProspect)\n ) {\n return true;\n }\n\n showProspectSelectedRowInfoBanner();\n\n return false;\n};\n\nexport const viewLeadTagModal = (selectedLeads, isSelectedAll) => {\n if (selectedLeads.length > 0 || isSelectedAll) {\n return true;\n }\n return false;\n};\n\n// * Get Admin Settings Request Handler\nexport const getAdminSettingsRequest = (\n adminSettings,\n sendGetAdminSettingsRequest,\n) => {\n if (adminSettings.length < 1) {\n sendGetAdminSettingsRequest();\n }\n};\n\nexport const getProspectTablePerPageSize = () => {\n const prospectRowsPerPage = localStorage.getItem(\n PaginationLocalStorageKey.ProspectRowsPerPage,\n );\n\n if (prospectRowsPerPage) {\n return Number(prospectRowsPerPage);\n }\n\n return constants.PROSPECT_PAGE_SIZE;\n};\n\n// * Update Prospect List Requests Handler\nexport const updateProspectListRequestsHandler = ({\n data,\n calledFrom,\n requestOptions,\n selectedProspects,\n prospectPaginationData,\n resetTags,\n sendGetTagsRequest,\n resetSelectedContacts,\n sendGetProspectRequest,\n resetSequenceAndStepData,\n changeProspectPagination,\n sendGetProspectCountRequest,\n resetBulkRequests,\n search,\n resetPageNumber = false,\n}) => {\n let { pageNum } = prospectPaginationData;\n\n if (calledFrom === BulkActionProspect.RemoveProspect) {\n if (pageNum !== 0 && selectedProspects.length === data.length) {\n pageNum -= 1;\n }\n changeProspectPagination({ ...prospectPaginationData, pageNum });\n resetSelectedContacts();\n resetSequenceAndStepData();\n }\n if (calledFrom === BulkActionProspect.TagsUpdated) {\n resetSelectedContacts();\n resetTags();\n }\n if (requestOptions.sendGetProspectRequest) {\n sendGetProspectRequest({\n pageNum: resetPageNumber ? 0 : pageNum,\n pageSize: prospectPaginationData?.pageSize,\n search,\n });\n }\n if (requestOptions.sendGetProspectCountRequest) {\n sendGetProspectCountRequest({ search });\n }\n if (requestOptions.sendGetTagsRequest) {\n sendGetTagsRequest();\n }\n resetBulkRequests();\n};\n\n// * Send Get Details Of Contact Request Handler\nexport const sendGetDetailsOfContactRequestHandler = ({\n id,\n setSelectedContactId,\n setProspectDetails,\n viewShowProspectDetailsModal,\n}) => {\n if (id) {\n setSelectedContactId(id);\n setProspectDetails(id);\n viewShowProspectDetailsModal();\n }\n};\n\n// * Verify Prospects Handler\nexport const verifyProspectsHandler = ({\n setRemainingCredit,\n selectedProspects,\n getEmailVerificationCreditsResponse,\n hideEmailVerificationModal,\n viewPurchaseCreditsModal,\n sendEmailVerificationFn,\n}) => {\n if (\n selectedProspects.length >\n getEmailVerificationCreditsResponse?.creditsAvailable\n ) {\n setRemainingCredit(\n selectedProspects.length -\n getEmailVerificationCreditsResponse?.creditsAvailable,\n );\n hideEmailVerificationModal();\n viewPurchaseCreditsModal();\n } else {\n sendEmailVerificationFn();\n }\n};\n\n// * Get Handle 3d Secure Card Response Handler\nexport const handle3dSecureCardResponse = ({\n isError,\n serverResponse,\n sendGetEmailVerificationCreditsRequest,\n resetPurchaseEmailVerificationCreditsResponse,\n sendEmailVerificationFn,\n hidePurchaseCreditsModal,\n}) => {\n if (isError) {\n toaster.error(\n 'Payment failed! Please retry again after some time from billing section.',\n );\n } else {\n toaster.success(serverResponse.payload.message);\n sendGetEmailVerificationCreditsRequest();\n resetPurchaseEmailVerificationCreditsResponse();\n sendEmailVerificationFn();\n hidePurchaseCreditsModal();\n }\n};\n\n// * Add and Remove Tags From Prospects Request Success Handler\nexport const addRemoveTagsFromProspectRequestSuccessHandler = ({\n updateProspectListRequests,\n t,\n}) => {\n updateProspectListRequests(\n {\n sendGetProspectCountRequest: false,\n sendGetProspectRequest: true,\n sendGetTagsRequest: false,\n },\n BulkActionProspect.TagsUpdated,\n );\n toaster.success(t('messages.prospects_updated'));\n};\n\n/* Success Handler for bulk tags add remove operation */\nexport const addRemoveTagsInBulkFromProspectRequestSuccessHandler = ({\n updateProspectListRequests,\n t,\n}) => {\n updateProspectListRequests(\n {\n sendGetProspectCountRequest: false,\n sendGetProspectRequest: true,\n sendGetTagsRequest: false,\n },\n BulkActionProspect.TagsUpdated,\n );\n};\n\n// * Get Available EV Credits And EV Plan Handler\nexport const getAvailableEvCreditsAndEvPlanHandler = ({\n sendGetEmailVerificationCreditsRequest,\n getEmailVerificationPlanResponse,\n sendGetEmailVerificationPlansRequest,\n}) => {\n sendGetEmailVerificationCreditsRequest();\n if (!getEmailVerificationPlanResponse) {\n // sendGetEmailVerificationPlansRequest();\n }\n};\n\n// * Refresh Selected Contacts Handler\nexport const refreshSelectedContactHandler = ({\n selectedContactId,\n showProspectDetailsModal,\n getProspectRequestStatus,\n sendGetSingleProspectDetailsRequest,\n}) => {\n if (showProspectDetailsModal) {\n executeOnRequestStatus({\n status: getProspectRequestStatus,\n onSuccess: () => {\n sendGetSingleProspectDetailsRequest?.(selectedContactId);\n },\n });\n }\n};\n\n// * Execute With Value Check Handler\nexport const executeWithValueCheck = ({ value, handler }) => {\n if (value) {\n handler();\n }\n};\n\n// * Get Purchase EV Credits Request Success Handler\nexport const purchaseEvCreditsRequestSuccessHandler = ({\n showPurchaseCreditModel,\n sendPurchaseEmailVerificationCreditsRequestMessage,\n getPurchaseEmailVerificationCreditsResponse,\n handle3dSecureCard,\n sendEmailVerificationFn,\n sendGetEmailVerificationCreditsRequest,\n hidePurchaseCreditsModal,\n resetPurchaseEmailVerificationCreditsResponse,\n}) => {\n if (\n sendPurchaseEmailVerificationCreditsRequestMessage &&\n showPurchaseCreditModel\n ) {\n if (getPurchaseEmailVerificationCreditsResponse.requires_action) {\n handle3dSecureCard(getPurchaseEmailVerificationCreditsResponse);\n } else {\n toaster.success(sendPurchaseEmailVerificationCreditsRequestMessage);\n sendEmailVerificationFn();\n sendGetEmailVerificationCreditsRequest();\n hidePurchaseCreditsModal();\n resetPurchaseEmailVerificationCreditsResponse();\n }\n }\n};\n\n// * Get Purchase EV Credits Request Error Handler\nexport const purchaseEvCreditsRequestErrorHandler = ({\n sendPurchaseEmailVerificationCreditsRequestMessage,\n hidePurchaseCreditsModal,\n resetPurchaseEmailVerificationCreditsResponse,\n}) => {\n if (sendPurchaseEmailVerificationCreditsRequestMessage) {\n toaster.error(sendPurchaseEmailVerificationCreditsRequestMessage);\n hidePurchaseCreditsModal();\n resetPurchaseEmailVerificationCreditsResponse();\n }\n};\n\n// * Get Should Return Null Handler\nexport const shouldReturnNull = ({\n getProspectRequestStatus,\n prospects,\n prospectCount,\n search,\n}) =>\n !getIsRequestSucceeded(getProspectRequestStatus) &&\n prospects.length === 0 &&\n prospectCount === 0 &&\n search === null;\n\n// * Get Should Show Selected Row Info Banner Handler\nexport const getShouldShowSelectedRowInfoBanner = ({\n selectedProspects,\n selectedAllProspects,\n isProspectSelectedRowInfoBannerVisible,\n}) =>\n selectedProspects.length > 0 ||\n selectedAllProspects?.isAllProspectsSelected ||\n isProspectSelectedRowInfoBannerVisible;\n\n// * Get Tags Filter Applied Handler\nexport const getTagsFilterApplied = ({ prospectsFilters }) =>\n !!(prospectsFilters.tags && prospectsFilters.tags.length);\n\n// * Get Is Purchase Email Verification Credits Loading State Handler\nexport const getIsPurchaseEmailVerificationCreditsLoadingState = ({\n sendPurchaseEmailVerificationCreditsRequestStatus,\n sendGetEmailVerificationPlansRequestStatus,\n is3dSecureResponseStatePending,\n}) =>\n getIsRequestPending(sendPurchaseEmailVerificationCreditsRequestStatus) ||\n getIsRequestPending(sendGetEmailVerificationPlansRequestStatus) ||\n is3dSecureResponseStatePending;\n\n// Select All Prospects Limit\nexport const SELECT_ALL_PRODUCTS_LIMIT = 25000;\nexport const INDIVIDUAL_SELECT_LIMIT = 1000;\n\nexport const getBulkActionRequestPayload = (selectedAllProspects) => {\n const { deSelectedContactIds, contactsFilter } = selectedAllProspects;\n\n return {\n ...(deSelectedContactIds.length > 0 && { deSelectedContactIds }),\n ...(!_.isEmpty(contactsFilter) && { contactsFilter }),\n };\n};\n\nexport const isAnyBulkActionPending = (\n sendVerifyBulkProspectsRequestStatus,\n sendDeleteBulkProspectsRequestStatus,\n sendUnsubscribeBulkProspectsRequestStatus,\n sendAddBulkProspectsToStepsRequestStatus,\n sendAddTagsToBulkProspectsRequestStatus,\n sendRemoveTagsFromBulkProspectsRequestStatus,\n) =>\n isRequestPending(sendVerifyBulkProspectsRequestStatus) ||\n isRequestPending(sendDeleteBulkProspectsRequestStatus) ||\n isRequestPending(sendUnsubscribeBulkProspectsRequestStatus) ||\n isRequestPending(sendAddBulkProspectsToStepsRequestStatus) ||\n isRequestPending(sendAddTagsToBulkProspectsRequestStatus) ||\n isRequestPending(sendRemoveTagsFromBulkProspectsRequestStatus);\n\nexport const isAnyFilterApplied = (\n prospectsFilters: ProspectsFilters,\n): boolean => {\n const { tags, owners, sequences, status } = prospectsFilters;\n const verificationStatus = prospectsFilters['verification status'];\n const createdDate = prospectsFilters['created date'];\n const creationSource = prospectsFilters['creation source'] || [];\n\n return (\n tags.length > 0 ||\n owners.length > 0 ||\n sequences.length > 0 ||\n status.length > 0 ||\n verificationStatus.length > 0 ||\n createdDate.length > 0 ||\n (creationSource && creationSource.length > 0)\n );\n};\n\nexport const getBulkSelectedProspectCount = (selectedAllProspects) => {\n const count =\n selectedAllProspects?.prospectCount > SELECT_ALL_PRODUCTS_LIMIT\n ? SELECT_ALL_PRODUCTS_LIMIT\n : selectedAllProspects?.prospectCount;\n\n return count - selectedAllProspects?.deSelectedContactIds?.length;\n};\n\nexport const doesFieldExistInConditions = (\n payload: FilterGroupLogicPayload,\n field: string,\n): boolean => {\n if (!payload || !payload.filters.length) return false;\n\n return payload.filters.some((group) =>\n group.conditions?.some((condition) => condition.field === field),\n );\n};\n","// eslint-disable-next-line import/prefer-default-export\nexport enum SMTPIMAP {\n SMTP = 'SMTP',\n IMAP = 'IMAP',\n}\n","/* eslint-disable @typescript-eslint/naming-convention */\nimport { RouteComponentProps } from 'react-router';\nimport { ProspectsFilters } from '../../shared/types/prospects-filters';\nimport {\n ContactStatusType,\n SortOrder as TableSortOrder,\n} from '../sequence/enums';\nimport { ProspectSortBy as ContactFilterSortBy } from './enums/prospect';\nimport { SortOrder } from '../../shared/enums/order';\nimport type {\n FilterLogic,\n FilterOperation,\n FilterSource,\n} from './components/prospect-filters-modal/types';\n\nexport type IProps = RouteComponentProps;\n\nexport type ProspectParams = {\n email?: string;\n search?: string;\n sequenceId?: number;\n pageSize: number;\n pageNum: number;\n tags?: string[];\n status?: ContactStatusType[];\n sortBy?: ProspectSortBy;\n sortOrder?: TableSortOrder;\n isSequenceNone?: boolean;\n};\n\nexport type ProspectFilters = {\n sortBy: ProspectSortBy;\n sortOrder: TableSortOrder;\n};\n\nexport type ProspectCountParams = {\n email?: string;\n search?: string;\n sequenceId?: number;\n};\n\nexport type ProspectPagination = {\n pageNum: number;\n pageSize: number;\n};\n\nexport type AddToStepParams = {\n stepId?: number;\n sequenceId: string;\n contactIds: number[];\n};\n\nexport type removeProspectParam = {\n contactId: number;\n sequenceIds: number[];\n};\n\nexport type markAsRepliedParam = {\n contactId: number;\n stepId: number;\n};\n\nexport type removeFromSequenceParam = {\n contactIds: number[];\n sequenceId: number;\n};\n\nexport type SaveContactAttributesPayload = {\n contactId: number;\n attributes: [];\n};\n\nexport type saveContactDealValuePayload = {\n sequenceId: number;\n attributes: [];\n};\n\nexport type AddProspectManuallyPayload = {\n attributes: any[];\n};\n\nexport enum TagsGenerationType {\n All = 'all',\n System = 'System',\n User = 'User',\n}\n\nexport type AddTagsToProspectsPayload = {\n ids: number[];\n prospects: number[];\n newTags: string[];\n};\n\nexport type RemoveTagsFromProspectsPayload = {\n tagId: number;\n prospects: number[];\n}[];\n\ntype BulkActionFilters = ProspectsFilters & {\n sortBy?: ProspectSortBy;\n sortOrder?: TableSortOrder;\n search?: string;\n isSequenceNone?: boolean;\n};\n\nexport type BulkActionPayload = {\n deSelectedContactIds?: number[];\n contactsFilter?: FilterGroupLogicPayload;\n stepId?: number;\n sequenceId?: string;\n ids?: number[];\n newTags?: string[];\n tagIds?: number[];\n search?: string;\n sortOrder?: SortOrder;\n sortBy?: ContactFilterSortBy;\n};\n\nexport enum ProspectSortBy {\n Owner = 'owner',\n}\n\nexport type SelectAllContacts = {\n isAllProspectsSelected?: boolean;\n contactsFilter?: BulkActionFilters;\n deSelectedContactIds?: any[];\n};\n\nexport type deleteSecondaryEmailParams = {\n prospectInfoId: number;\n contactId: number;\n};\n\nexport type changePrimaryEmailInProspectPayload = {\n primaryEmailProspectInfoId: number;\n contactId: number;\n};\n\nexport type deleteSecondaryPhoneParams = {\n prospectInfoId: number;\n contactId: number;\n};\n\nexport type FilterGroupLogic = {\n filters: {\n group: number;\n conditions: {\n source: string;\n field: string;\n operation: string;\n value?: string | number | (string | number)[];\n }[];\n logic: FilterLogic;\n }[];\n group_logic: FilterLogic;\n};\n\n// Filters\n\nexport type FilterGroupLogicPayload = {\n filters: {\n group: number;\n conditions: {\n source: FilterSource;\n field: string;\n operation: FilterOperation | null;\n value?: string | number | (string | number)[];\n }[];\n logic: FilterLogic;\n }[];\n group_logic: FilterLogic;\n};\n\nexport type ProspectListPayload = {\n filterGroupLogic?: FilterGroupLogicPayload;\n pageSize?: number;\n pageNum?: number;\n sortOrder?: SortOrder;\n sortBy?: ContactFilterSortBy;\n search?: string;\n selectedField?: string[];\n viewId?: number;\n};\n\nexport type Filters = {\n filterGroupLogic?: FilterGroupLogicPayload;\n pageNum: number;\n pageSize: number;\n selectedFields: any[];\n sortBy: ContactFilterSortBy;\n sortOrder?: SortOrder;\n search: string;\n\n shouldFetchProspectList: boolean;\n shouldFetchProspectListCount: boolean;\n shouldFetchSavedFilters: boolean;\n};\n\nexport type ProspectListByIdsPayload = {\n contactIds: string[];\n selectedField: string[];\n};\n\nexport type SavedFilter = {\n id: number;\n shAccountId: number;\n filterName: string;\n isShared: boolean;\n pinnedAt: string;\n createdAt: string;\n updatedAt: string;\n filterCriteria: FilterGroupLogicPayload;\n created: {\n id: number;\n firstName: string;\n lastName: string;\n };\n teams: any[];\n};\n\nexport enum PinUnpinActionType {\n Pin = 'pin',\n UnPin = 'unpin',\n}\n\nexport type ProspectFiltersSequencesClientsPayload = {\n search?: string;\n page: number;\n pageSize: number;\n selectedIds?: (string | number)[];\n};\n\nexport type ProspectFiltersValuesPayload = {\n search?: string;\n page: number;\n pageSize: number;\n key: string;\n selectedIds?: (string | number)[];\n};\n\nexport type ProspectFiltersSaveViewPayload = {\n filterName: string;\n filterCriteria: FilterGroupLogicPayload;\n isShared?: boolean;\n teamIds?: number[];\n};\n\nexport type ProspectFiltersUpdateViewPayload = Partial & {\n id: string;\n};\n\nexport type ProspectFieldPayload = {\n contactId: number;\n fieldRef: number;\n attributeValue: string;\n};\n","import store from '../../store/store';\n\nconst getState = () => store.getState();\n\nexport const basicTrailPlanRestriction = () =>\n `Hello ${\n getState().home?.adminDetails?.firstName\n }, %0D%0A %0D%0A Could you please check this and upgrade the account if required?`;\n","import { tz } from 'moment-timezone';\n\nconst invalidTimeZones = [\n 'CST6CDT',\n 'EST5EDT',\n 'GMT+0',\n 'GMT-0',\n 'GMT0',\n 'MST7MDT',\n 'PST8PDT',\n];\n\nconst getTimeZonesArray = () =>\n tz.names().filter((timezone) => !invalidTimeZones.includes(timezone));\n\nexport default getTimeZonesArray;\n","import moment, { tz } from 'moment-timezone';\nimport getTimeZonesArray from './timezones-array';\n\nexport const getCurrentTimestamp = (): number => Math.floor(Date.now() / 1000);\n\nexport type Timezone = {\n name: string;\n value: string;\n};\n\nexport const getTimezoneList = (): Timezone[] => {\n const timeZones = getTimeZonesArray();\n const timezoneList = [];\n timeZones.forEach((timezone) => {\n const name = timezone;\n const value = `${timezone} (GMT ${tz(timezone).format('Z')})`;\n timezoneList.push({ name, value });\n });\n return timezoneList;\n};\n\nexport const getTimezoneValueByName = (name: string): string => {\n const timeZoneList = getTimezoneList();\n let timeZoneValue = 'UTC';\n timeZoneList.forEach((timeZoneObj) => {\n if (timeZoneObj.name === name) {\n timeZoneValue = timeZoneObj.value;\n }\n });\n return timeZoneValue;\n};\n\nexport const getCurrentTimeZone = () => {\n let timeZone = tz.guess();\n if (\n timeZone === 'Asia/Calcutta' ||\n timeZone === 'Asia/calcutta' ||\n timeZone === 'Asia/kolkata'\n ) {\n timeZone = 'Asia/Kolkata';\n }\n return timeZone;\n};\n\nexport const years = [\n 'January',\n 'February',\n 'March',\n 'April',\n 'May',\n 'June',\n 'July',\n 'August',\n 'September',\n 'October',\n 'November',\n 'December',\n];\n\nexport const addDatePrefix = (luxonFormattedString: string) => {\n const datePart = +luxonFormattedString.substr(\n 0,\n luxonFormattedString.indexOf(' '),\n );\n const monthAndYearPart = luxonFormattedString.substr(\n luxonFormattedString.indexOf(' ') + 1,\n );\n\n let suffix;\n\n if (datePart === 1 || datePart === 21 || datePart === 31) {\n suffix = 'st';\n } else if (datePart === 2 || datePart === 22) {\n suffix = 'nd';\n } else if (datePart === 3 || datePart === 23) {\n suffix = 'rd';\n } else {\n suffix = 'th';\n }\n return `${datePart}${suffix} ${monthAndYearPart}`;\n};\n\nexport const formateDate = (date, format = 'DD MMM, yyyy') =>\n moment(date).format(format);\n","export const getCookie = (name: string) => {\n const value = `; ${document.cookie}`;\n const parts = value.split(`; ${name}=`);\n if (parts.length === 2) return parts.pop().split(';').shift();\n\n return '';\n};\n","import { ReactNode } from 'react';\n\n/**\n * Type of filter.\n * Can be a dropdown or a date picker\n */\nexport enum FilterType {\n DropDown = 'DropDown',\n Date = 'Date',\n}\n\nexport type DateFilterProps = {\n /**\n * Select change handler\n */\n onSelect: (x: any) => void;\n /**\n * Selected values.\n */\n values: any[];\n isDisabled?: boolean;\n};\n\nexport type SelectFilterProps = DateFilterProps & {\n /**\n * Placeholder for the input.\n */\n placeholder: string;\n /**\n * Options to display as suggestions.\n */\n options: any[];\n /**\n * Key to extract the the values for `options`.\n */\n labelKey?: string;\n /**\n * Unique identifier of the option passed in `options`.\n */\n uniqueKey?: string;\n placement?: 'auto' | 'top' | 'bottom';\n isMultiSelect?: boolean;\n isDisabled?: boolean;\n containerClassName?: string;\n};\n\nexport type ProspectsFilterProps = SelectFilterProps & {\n /**\n * Name/label for the filter.\n */\n label: string;\n /**\n * ClassName for the parent component.\n */\n containerClassName?: string;\n /**\n * Type of filter. Can be dropdown or date picker\n */\n filterType?: FilterType;\n /**\n * Is multi select enabled.\n */\n isMultiSelect?: boolean;\n isDisabled?: boolean;\n /**\n * Format Group Label for React-Select\n */\n formatGroupLabel?: ReactNode | null;\n};\n","export const riskyProspectWarningconstants = {\n INCLUDE_RISKY_PROSPECT_IN_SEQUENCE:\n 'Emails will be sent to the risky prospects. You can modify this from sequence settings.',\n NOT_INCLUDE_RISKY_PROSPECT_IN_SEQUENCE:\n 'Emails will not be sent to the risky prospects. You can modify this from sequence settings.',\n PROSPECT_DEFAULT_WARNING:\n 'In order to send emails to the risky prospects, modify the sequence settings.',\n};\n","enum DefaultRampUpSettings {\n InitialSendingLimit = 5,\n RampUpPercent = 10,\n}\n\nexport default DefaultRampUpSettings;\n","export const initializeCustomScript = () => {\n const script = document.createElement('script');\n script.setAttribute('id', 'custom-script-for-agency');\n script.setAttribute('type', 'text/javascript');\n\n script.innerHTML = `\n window.$crisp = [];\n window.CRISP_WEBSITE_ID = '1dce0304-73c1-4f87-bf72-78fd06ab9893';\n (function () {\n d = document;\n s = d.createElement('script');\n s.src = 'https://client.crisp.chat/l.js';\n s.async = 1;\n d.getElementsByTagName('head')[0].appendChild(s);\n })();\n `;\n\n document.body.appendChild(script);\n};\n\nexport const removeCustomScript = () => {\n const customScriptForAgency = document.getElementById(\n 'custom-script-for-agency',\n );\n customScriptForAgency && document.body.removeChild(customScriptForAgency);\n window.CRISP_WEBSITE_ID = null;\n window.$crisp?.push?.(['do', 'session:reset']);\n};\n","import React, { useState, useEffect } from 'react';\nimport { Button } from '@saleshandy/design-system';\nimport { useTranslation } from 'react-i18next';\nimport type { IProps } from './sequence-sending-priority-container';\nimport { SequencePrioritySettingCode } from '../../../../../../../../enums';\nimport {\n executeOnErrorWithErrorCheck,\n executeOnRequestStatus,\n} from '../../../../../../../../../../shared/utils';\nimport toaster, { Theme } from '../../../../../../../../../../shared/toaster';\nimport RadioButtonGroupWithShow from './radio-button-show';\nimport { OverlayTooltip } from '../../../../../../../../../../shared/design-system/components/overlay';\nimport { supportUrls } from '../../../../../../../../../../shared/utils/urls';\nimport LinkBadge from '../../../../../../../../../../shared/design-system/components/atoms/link-badge/link-badge';\n\n// Helper function to generate options\nexport const createOption = (\n id: number,\n titleKey: string,\n descriptionKey: string,\n value: string,\n shouldDisplayHorizontal = false,\n) => ({\n id,\n label: shouldDisplayHorizontal ? (\n
    {titleKey}
    \n ) : (\n
    \n
    {titleKey}
    \n
    \n {descriptionKey}\n
    \n
    \n ),\n value,\n});\n\nexport const options = [\n createOption(\n 1,\n 'Prioritise Follow-Ups',\n 'More emails will be sent from follow-up steps',\n SequencePrioritySettingCode.LAST_TO_FIRST,\n ),\n createOption(\n 2,\n 'Prioritise New Prospects',\n 'More emails will be sent from the first step',\n SequencePrioritySettingCode.FIRST_TO_LAST,\n ),\n createOption(\n 3,\n 'Balanced Sending',\n 'Equal number of emails will be sent from each step',\n SequencePrioritySettingCode.EQUAL,\n ),\n createOption(\n 4,\n 'Aggressively Prioritise New Prospects',\n 'Up to 80% of total emails will be sent from the first Step',\n SequencePrioritySettingCode.AGGRESSIVE_FISRT,\n ),\n];\nconst SequenceSendingPriority: React.FC = ({\n prioritySetting = [],\n sequenceId,\n updateSequencePriorityConfigRequest,\n updateSequencePriorityConfigError,\n updateSequencePriorityConfigMessage,\n updateSequencePriorityConfigStatus,\n}) => {\n const { t } = useTranslation();\n\n const [isLoading, setIsLoading] = useState(false);\n const [isDisabled, setIsDisabled] = useState(true);\n const [selectedPriorityCode, setSelectedPriorityCode] = useState('');\n const [initialPriorityCode, setInitialPriorityCode] = useState('');\n\n // This will handle the radio button value change\n const handlePriorityChange = (val: string) => {\n setSelectedPriorityCode(val);\n setIsDisabled(initialPriorityCode === val);\n };\n\n useEffect(() => {\n if (prioritySetting.length > 0) {\n const selected = prioritySetting.find((setting) => setting.value === '1');\n if (selected) {\n setSelectedPriorityCode(selected.code);\n setInitialPriorityCode(selected.code);\n setIsDisabled(true);\n }\n }\n }, [prioritySetting]);\n\n const handleSave = async () => {\n setIsLoading(true);\n try {\n const selectedOption = options.find(\n (option) => option.value === selectedPriorityCode,\n );\n if (selectedOption) {\n await updateSequencePriorityConfigRequest({\n sequenceId,\n priorityDistributionId: selectedOption.id,\n });\n setIsLoading(false);\n setIsDisabled(true);\n }\n } catch (err) {\n setIsLoading(false);\n console.log(err);\n }\n };\n\n //* useEffect\n useEffect(() => {\n executeOnRequestStatus({\n status: updateSequencePriorityConfigStatus,\n onSuccess: () => {\n toaster.success(\n 'Sending priority is updated successfully for this sequence',\n );\n setInitialPriorityCode(selectedPriorityCode);\n },\n onFailed: () => {\n executeOnErrorWithErrorCheck({\n error: updateSequencePriorityConfigError,\n onError: () => {\n toaster.error(updateSequencePriorityConfigMessage, {\n theme: Theme.New,\n });\n },\n });\n },\n });\n }, [\n updateSequencePriorityConfigStatus,\n updateSequencePriorityConfigError,\n updateSequencePriorityConfigMessage,\n ]);\n\n return (\n <>\n
    \n
    \n
    \n \n {t('labels.sending_priority')}\n \n \n \n \n
    \n
    \n handlePriorityChange(val)} // Call API on value change\n />\n
    \n handleSave()}\n isLoading={isLoading}\n disabled={isDisabled}\n className=\"sending-priority-save-btn\"\n loadingText=\"Save\"\n >\n {t('labels.save')}\n \n
    \n
    \n \n );\n};\n\nexport default SequenceSendingPriority;\n","export enum EmailVerificationProcess {\n Manual = 'Manual',\n ImportFlow = 'ImportFlow',\n}\n","import React from 'react';\nimport Button from '../../../../../../shared/design-system/ui/button';\nimport { SuccessChecks } from '../../../../../../shared/svg';\nimport { redirectWithoutRefresh } from '../../../../../../shared/utils';\n\nconst ChangePasswordSuccess: React.FC = () => (\n
    \n
    \n
    \n \n
    \n

    \n Password reset successful\n

    \n

    \n Awesome! You’ve successfully reset your password.\n

    \n
    \n \n
    \n
    \n
    \n);\n\nexport default ChangePasswordSuccess;\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport {\n ChangePasswordRequestPayload,\n UserSetPasswordPayload,\n} from '../../types';\nimport { changePassword, userSetPassword } from '../../helpers/auth.api';\nimport {\n ResponseErrorWithHandled,\n ResponseSuccess,\n} from '../../../../shared/types';\n\ntype ChangePasswordRequestPayloadCreatorArgs = ChangePasswordRequestPayload & {\n code: string;\n};\n\nexport const changePasswordRequest = createAsyncThunk<\n ResponseSuccess,\n ChangePasswordRequestPayloadCreatorArgs,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'changePassword/changePasswordRequest',\n async ({ code, ...rest }, thunkAPI) => {\n try {\n return await changePassword(code, rest);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n\nexport const setUserPasswordRequest = createAsyncThunk<\n ResponseSuccess,\n UserSetPasswordPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('user/setUserPasswordRequest', async ({ ...rest }, thunkAPI) => {\n try {\n return await userSetPassword(rest);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport { changePasswordRequest } from './extra-actions';\n\ntype State = {\n status: RequestStatus;\n message: string;\n error: any;\n showError: boolean;\n};\n\nconst initialState: State = {\n status: RequestStatus.Ideal,\n message: '',\n error: '',\n showError: false,\n};\n\nconst changePasswordSlice = createSlice({\n name: 'changePassword',\n initialState,\n reducers: {\n hideError: (state) => {\n state.showError = false;\n },\n },\n extraReducers: (builder) => {\n builder.addCase(changePasswordRequest.pending, (state) => {\n state.status = RequestStatus.Pending;\n state.showError = false;\n });\n builder.addCase(changePasswordRequest.fulfilled, (state, action) => {\n state.status = RequestStatus.Succeeded;\n state.message = action.payload.message;\n });\n builder.addCase(changePasswordRequest.rejected, (state, action) => {\n state.status = RequestStatus.Failed;\n state.error = action.payload;\n state.showError = !action.payload.isHandled;\n });\n },\n});\n\nexport const { hideError } = changePasswordSlice.actions;\nexport { changePasswordRequest };\nexport default changePasswordSlice.reducer;\n","import passwordValidator from '../../../../../../shared/utils/password-validator';\nimport { StateValues } from './types';\n\nexport const validate = (name, value, values: StateValues) => {\n switch (name) {\n case 'password':\n if (!passwordValidator.all(value)) {\n return 'Password must contain at least one upper case, lowercase and a number';\n }\n break;\n\n case 'confirmPassword':\n if (value !== values.password) {\n return `Password doesn't match`;\n }\n break;\n }\n return '';\n};\n","import React from 'react';\nimport produce from 'immer';\nimport { Link } from 'react-router-dom';\n\nimport Button from '../../../../../../shared/design-system/ui/button';\nimport Input from '../../../../../../shared/design-system/components/input';\nimport PasswordValidationChecklist from '../../../../../../shared/components/password-validation-checklist';\nimport { SHLogoDark } from '../../../../../../shared/svg';\n\nimport { validate } from './validator';\nimport { IProps, IState } from './types';\nimport {\n getIsRequestPending,\n executeOnRequestStatusWithPrevStatusCheck,\n} from '../../../../../../shared/utils';\n\nclass ChangePasswordForm extends React.Component {\n constructor(props) {\n super(props);\n\n this.state = {\n values: {\n password: '',\n confirmPassword: '',\n },\n errors: {\n password: '',\n confirmPassword: '',\n },\n dirty: {\n password: false,\n confirmPassword: false,\n },\n showPassword: {\n password: false,\n confirmPassword: false,\n },\n };\n\n this.togglePasswordVisibility = this.togglePasswordVisibility.bind(this);\n this.onInputChange = this.onInputChange.bind(this);\n this.onInputBlur = this.onInputBlur.bind(this);\n this.onFormSubmit = this.onFormSubmit.bind(this);\n this.hasErrors = this.hasErrors.bind(this);\n }\n\n componentDidUpdate(prevProps: Readonly) {\n const { changePasswordStatus, showSuccessComponent } = this.props;\n\n executeOnRequestStatusWithPrevStatusCheck({\n status: changePasswordStatus,\n prevStatus: prevProps.changePasswordStatus,\n onSuccess: () => {\n showSuccessComponent();\n },\n });\n }\n\n componentWillUnmount() {\n const { hideError } = this.props;\n\n hideError?.();\n }\n\n onInputChange(value, e) {\n const { name } = e.target;\n this.setState(\n produce((draft) => {\n draft.values[name] = value;\n draft.dirty[name] = true;\n }),\n );\n this.onInputBlur(e);\n }\n\n onInputBlur(e) {\n const { name } = e.target;\n this.setState(\n produce((draft) => {\n if (draft.dirty[name]) {\n draft.errors[name] = validate(name, draft.values[name], draft.values);\n if (name !== 'confirmPassword' && draft.dirty.confirmPassword) {\n draft.errors.confirmPassword = validate(\n 'confirmPassword',\n draft.values.confirmPassword,\n draft.values,\n );\n }\n }\n }),\n );\n }\n\n onFormSubmit(e) {\n e.preventDefault();\n\n const { sendChangePasswordRequest } = this.props;\n\n const { dirty, errors, values } = this.state;\n\n const dirtyRef = { ...dirty };\n const dirtyKeys = Object.keys(dirtyRef);\n\n dirtyKeys.forEach((key) => {\n dirtyRef[key] = true;\n });\n\n const errorsRef = { ...errors };\n const errorsKeys = Object.keys(errorsRef);\n let isError = false;\n\n errorsKeys.forEach((key) => {\n const error = validate(key, values[key], values);\n\n errorsRef[key] = error;\n isError = isError || !!error;\n });\n\n this.setState({ errors: errorsRef, dirty: dirtyRef });\n\n if (isError) {\n return;\n }\n\n const {\n values: { password },\n } = this.state;\n\n sendChangePasswordRequest(password);\n }\n\n togglePasswordVisibility(name) {\n this.setState(\n produce((draft) => {\n draft.showPassword[name] = !draft.showPassword[name];\n }),\n );\n }\n\n hasErrors() {\n const { errors, dirty } = this.state;\n\n let isError = false;\n\n Object.keys(errors).forEach((key) => {\n if (errors[key] !== '' || !dirty[key]) {\n isError = true;\n }\n });\n\n return isError;\n }\n\n render() {\n const { values, errors, showPassword, dirty } = this.state;\n const {\n changePasswordStatus,\n changePasswordError,\n changePasswordShowError,\n } = this.props;\n\n const isLoading = getIsRequestPending(changePasswordStatus);\n\n return (\n
    \n
    \n
    \n \n
    \n\n

    Set your password

    \n

    \n A strong password helps prevent unauthorized access to your account.\n

    \n\n \n
    \n
    \n this.togglePasswordVisibility('password'),\n },\n ]}\n />\n
    \n
    \n
    \n
    \n \n this.togglePasswordVisibility('confirmPassword'),\n },\n ]}\n />\n \n
    \n
    \n\n \n Submit\n \n \n\n
    \n

    \n \n Return to Log in!\n \n

    \n
    \n
    \n
    \n );\n }\n}\n\nexport default ChangePasswordForm;\n","import { withRouter } from 'react-router';\nimport { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../../../store/root-reducer';\nimport { changePasswordRequest, hideError } from '../../change-password-slice';\nimport { ResetPasswordCallbackRouteProps } from '../../../reset-password-callback/types';\nimport ChangePasswordForm from './change-password-form';\n\nconst mapStateToProps = (state: RootState) => ({\n changePasswordStatus: state.changePassword.status,\n changePasswordMessage: state.changePassword.message,\n changePasswordError: state.changePassword.error,\n changePasswordShowError: state.changePassword.showError,\n});\n\ntype IPropsWithRoute = ResetPasswordCallbackRouteProps & {\n showSuccessComponent: () => void;\n};\n\nconst mapDispatchToProps = (dispatch, ownProps: IPropsWithRoute) => ({\n hideError: () => dispatch(hideError()),\n\n sendChangePasswordRequest: (password: string) =>\n dispatch(\n changePasswordRequest({ code: ownProps.match.params.code, password }),\n ),\n});\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & IPropsWithRoute;\n\nexport default withRouter(connector(ChangePasswordForm));\n","import React from 'react';\nimport { IProps, IState } from './types';\nimport { SHLogoDark } from '../../../../shared/svg';\nimport ChangePasswordSuccess from './components/change-password-success';\nimport ChangePasswordForm from './components/change-password-form';\nimport TestimonialsCarousel from '../../../../shared/components/testimonials-carousel';\n\nclass ChangePassword extends React.Component {\n constructor(props) {\n super(props);\n this.state = { showSuccessComponent: false };\n this.showSuccessComponent = this.showSuccessComponent.bind(this);\n }\n\n showSuccessComponent() {\n this.setState({ showSuccessComponent: true });\n }\n\n render() {\n const { showSuccessComponent } = this.state;\n\n return (\n <>\n
    \n \n \n

    \n ©{`${new Date().getFullYear()} Saleshandy`}\n

    \n
    \n {showSuccessComponent ? (\n \n ) : (\n \n )}\n \n );\n }\n}\n\nexport default ChangePassword;\n","import { withRouter } from 'react-router';\nimport ChangePassword from './change-password';\nimport { ResetPasswordCallbackRouteProps } from '../reset-password-callback/reset-password-callback-container';\n\nexport type IProps = ResetPasswordCallbackRouteProps;\n\nexport default withRouter(ChangePassword);\n","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport { setUserPasswordRequest } from './extra-actions';\n\ntype State = {\n status: RequestStatus;\n message: string;\n error: any;\n showError: boolean;\n};\n\nconst initialState: State = {\n status: RequestStatus.Ideal,\n message: '',\n error: '',\n showError: false,\n};\n\nconst setUserPasswordSlice = createSlice({\n name: 'setUserPassword',\n initialState,\n reducers: {\n hideError: (state) => {\n state.showError = false;\n },\n },\n extraReducers: (builder) => {\n builder.addCase(setUserPasswordRequest.pending, (state) => {\n state.status = RequestStatus.Pending;\n state.showError = false;\n });\n builder.addCase(setUserPasswordRequest.fulfilled, (state, action) => {\n state.status = RequestStatus.Succeeded;\n state.message = action.payload.message;\n });\n builder.addCase(setUserPasswordRequest.rejected, (state, action) => {\n state.status = RequestStatus.Failed;\n state.error = action.payload;\n state.showError = !action.payload.isHandled;\n });\n },\n});\n\nexport const { hideError } = setUserPasswordSlice.actions;\nexport { setUserPasswordRequest };\nexport default setUserPasswordSlice.reducer;\n","class LoaderHelper {\n private _showLoader;\n private _hideLoader;\n\n bindActions = (showLoader, hideLoader) => {\n this._showLoader = showLoader;\n this._hideLoader = hideLoader;\n };\n\n show = () => this._showLoader();\n\n hide = () => this._hideLoader();\n}\n\nexport default LoaderHelper;\n","import React from 'react';\nimport Lottie, { LottieComponentProps } from 'lottie-react';\nimport loaderData from './lf20_j3bZ7k.json';\n\nexport type LoaderProps = Omit;\n\nconst Loader: React.FC = ({ ...rest }) => (\n \n);\n\nexport default Loader;\n","import React from 'react';\nimport './loader-manager.scss';\nimport Loader from './loader';\nimport classNames from 'classnames';\n\ntype IState = {\n showLoader: boolean;\n // startAnimation: boolean;\n};\n\ntype IProps = {\n bindActions: (...args: any[]) => any;\n};\n\nclass LoaderManager extends React.Component {\n // animationTime = 3000; // sync this time with css animation.\n\n constructor(props) {\n super(props);\n\n this.state = {\n showLoader: false,\n // startAnimation: false,\n };\n\n this.showLoader = this.showLoader.bind(this);\n this.hideLoader = this.hideLoader.bind(this);\n\n this.props.bindActions(this.showLoader, this.hideLoader);\n }\n\n showLoader() {\n this.setState({ showLoader: true });\n }\n\n hideLoader() {\n this.setState({ showLoader: false });\n // setTimeout(() => {\n // this.setState({ showLoader: false, startAnimation: false });\n // }, this.animationTime);\n }\n\n render() {\n const {\n showLoader,\n // startAnimation\n } = this.state;\n\n // const visibilityClass = startAnimation && 'fade';\n\n const loaderBackgroundClass = classNames([\n 'loader-background',\n // visibilityClass,\n ]);\n\n return (\n showLoader && (\n
    \n
    \n \n
    \n
    \n )\n );\n }\n}\n\nexport default LoaderManager;\n","import LoaderHelper from './loader-helper';\n\nconst loader = new LoaderHelper();\n\nexport { default as LoaderManager } from './loader-manager';\nexport default loader;\n","export enum Browser {\n Firefox = 'Firefox',\n Chrome = 'Chrome',\n Edge = 'Edge',\n Safari = 'Safari',\n InternetExplorer = 'MSIE',\n Opera = 'Opera',\n}\n","import { Browser } from '../enums/browsers';\nimport { detectBrowser } from './detect-browser';\n\nexport const copyToClipboard = (text: string, domRef?: HTMLInputElement) => {\n if (detectBrowser() === Browser.InternetExplorer) {\n domRef.select();\n document.execCommand('copy');\n } else {\n navigator.clipboard.writeText(text);\n }\n};\n","import { Browser } from '../enums/browsers';\n\nexport function detectBrowser() {\n if (\n (navigator.userAgent.indexOf(Browser.Opera) ||\n navigator.userAgent.indexOf('OPR')) != -1\n ) {\n return Browser.Opera;\n } else if (navigator.userAgent.indexOf(Browser.Chrome) != -1) {\n return Browser.Chrome;\n } else if (navigator.userAgent.indexOf(Browser.Safari) != -1) {\n return Browser.Safari;\n } else if (navigator.userAgent.indexOf(Browser.Firefox) != -1) {\n return Browser.Firefox;\n } else if (navigator.userAgent.indexOf(Browser.InternetExplorer) != -1) {\n return Browser.InternetExplorer;\n } else {\n return null;\n }\n}\n","import React, { memo, useState } from 'react';\nimport classNames from 'classnames';\nimport { OverlayPopover, Placement } from '../../overlay';\nimport { accessibleOnClick } from '../../../../utils/accessible-on-click';\nimport './prospect-tag.scss';\nimport TruncatedTextWithTooltip from '../../../../components/truncated-text-with-tooltip';\n\nexport type ProspectTagProps = {\n // * Name of the tag\n name: string;\n // * Text to display on tool tip.\n tooltipText: React.ReactNode | string;\n // * Name of the class for the tag container.\n className?: string;\n // * Children to render alongside the tag.\n children?: React.ReactNode;\n isPopoverVisible?: boolean;\n tagLength?: number;\n position?: 'top' | 'bottom';\n};\n\nconst OverlayPopoverContent = ({ data }) => (\n
    \n {data.map((tag, index) => (\n
    \n {/* eslint-disable-next-line react/no-array-index-key */}\n \n {tag.props.children}\n \n
    \n ))}\n
    \n);\n\nconst ProspectTag: React.FC = ({\n name,\n tooltipText,\n className,\n children,\n isPopoverVisible,\n tagLength = 10,\n position = 'top',\n}) => {\n const [\n isVisibleOverlayPopover,\n setIsVisibleOverlayPopover,\n ] = useState(false);\n\n const onToggle = () => {\n setIsVisibleOverlayPopover(!isVisibleOverlayPopover);\n };\n\n const showOverlayPopover = () => {\n setIsVisibleOverlayPopover(true);\n };\n\n const popoverWrapperClassName = classNames([\n 'bs-tag',\n 'bs-tag-blue-17',\n 'd-flex flex-row',\n className,\n ]);\n\n if (isPopoverVisible) {\n return (\n }\n placement={position === 'top' ? Placement.Top : Placement.Bottom}\n rootClose={true}\n >\n \n {name}\n {children}\n \n \n );\n }\n\n return (\n \n \n \n \n {children}\n \n );\n};\n\nexport default memo(ProspectTag);\n","// Priority mappings for different plan attributes\nconst planTypePriority = {\n email: 1,\n 'email-phone': 2,\n};\n\nconst planLevelPriority = {\n starter: 1,\n pro: 2,\n scale: 3,\n 'scale-plus': 4,\n};\n\nconst creditCountPriority = {\n '10k': 1,\n '20k': 2,\n '50k': 3,\n '100k': 4,\n};\n\nconst planDurationPriority = {\n monthly: 1,\n yearly: 2,\n};\n\n// Function to parse the plan code and extract its components\nexport const getParsedPlanCode = (planCode: string) => {\n const parts = planCode.split('-');\n\n const plan = {\n type: '',\n level: '',\n duration: '',\n subscriberCount: '',\n date: '',\n };\n\n // Determine the plan type (email-only or email-phone)\n if (parts.includes('email') && parts.includes('phone')) {\n plan.type = 'email-phone';\n } else if (parts.includes('email')) {\n plan.type = 'email';\n }\n\n // Identify the level (starter, pro, scale, scale-plus)\n if (parts.includes('starter')) {\n plan.level = 'starter';\n } else if (parts.includes('pro')) {\n plan.level = 'pro';\n } else if (parts.includes('scale')) {\n plan.level = 'scale';\n if (parts.includes('plus')) {\n plan.level = 'scale-plus';\n const subscriberIdx = parts.findIndex((part) => part === 'plus') + 1;\n plan.subscriberCount = parts[subscriberIdx];\n }\n }\n\n // Determine the plan duration (monthly or yearly)\n if (parts.includes('monthly')) {\n plan.duration = 'monthly';\n } else if (parts.includes('yearly')) {\n plan.duration = 'yearly';\n }\n\n // Capture any date information (e.g., '09-2024')\n const datePart = parts.find((part) => /^\\d{2}-\\d{4}$/.test(part));\n if (datePart) {\n plan.date = datePart;\n }\n\n return plan;\n};\n\n// Function to calculate the priority of a given plan\nexport const calculatePlanPriority = (planCode) => {\n const { type, level, subscriberCount, duration } = getParsedPlanCode(\n planCode,\n );\n\n let priority = 0;\n\n // Add type priority (email-only or email-phone)\n priority += planTypePriority[type] || 0;\n\n // Add level priority (starter, pro, scale, scale-plus)\n priority += (planLevelPriority[level] || 0) * 10;\n\n // If the level is 'scale-plus', add subscriber count priority\n if (level === 'scale-plus') {\n priority += (creditCountPriority[subscriberCount] || 0) * 100;\n }\n\n // Add duration priority (monthly or yearly)\n priority += (planDurationPriority[duration] || 0) * 1000;\n\n return priority;\n};\n","import {\n getParsedPlanCode,\n calculatePlanPriority,\n} from '../../../../../components/settings/components/billing-subscription/components/lead-finder-plans/components/plans-section/utils/get-lead-finder-plans-priority';\nimport { getPlanId } from '../../../../../components/settings/components/billing-subscription/components/upgrade-plan/utils/helper';\nimport { BillingOption } from '../../../../utils/billing-options';\nimport {\n SubscriptionPlanModes,\n SubscriptionPlans,\n} from '../../../../utils/subscription-plans';\nimport { GetButtonLabel, SelectPlanCTAText } from './types';\n\nconst getButtonLabelForNormalPlan = (\n plan,\n planCycle,\n sendGetAccountSubscriptionResponse,\n sendGetPlansResponse,\n) => {\n const {\n planName,\n planMode,\n planType,\n planCode,\n } = sendGetAccountSubscriptionResponse;\n\n const subscriptionId = getPlanId(\n sendGetPlansResponse,\n planName,\n planCode,\n planType,\n );\n\n if (\n planMode === SubscriptionPlanModes.MonthlyMode &&\n planCycle === BillingOption.ANNUALLY\n ) {\n return SelectPlanCTAText.UpgradePlan;\n }\n if (subscriptionId) {\n if (subscriptionId > plan.id) {\n return SelectPlanCTAText.DowngradePlan;\n }\n if (subscriptionId === plan.id) {\n return SelectPlanCTAText.CurrentPlan;\n }\n }\n\n return SelectPlanCTAText.UpgradePlan;\n};\n\nexport const getButtonLabel = ({\n plan,\n planCycle,\n sendGetAccountSubscriptionResponse,\n sendGetPlansResponse,\n}: GetButtonLabel) => {\n if (planCycle === BillingOption.LIFETIME) {\n if (plan?.planCode === sendGetAccountSubscriptionResponse?.planCode) {\n return SelectPlanCTAText.CurrentPlan;\n }\n if (plan?.planCode === SubscriptionPlans.EMAIL_OUTREACH_LIFETIME) {\n return SelectPlanCTAText.DowngradePlan;\n }\n return SelectPlanCTAText.UpgradePlan;\n }\n\n return getButtonLabelForNormalPlan(\n plan,\n planCycle,\n sendGetAccountSubscriptionResponse,\n sendGetPlansResponse,\n );\n};\n\n// Function to determine the appropriate CTA label for the plan button\nexport const getLeadFinderButtonLabel = ({\n plan,\n sendGetLeadFinderSubscriptionResponse,\n}: GetButtonLabel) => {\n const { planCode: currentPlanCode } = sendGetLeadFinderSubscriptionResponse;\n\n // Free or Trial plan always leads to upgrade\n if (\n currentPlanCode === SubscriptionPlans.LEAD_FINDER_FREE ||\n currentPlanCode === SubscriptionPlans.LEAD_FINDER_TRIAL\n ) {\n return SelectPlanCTAText.UpgradePlan;\n }\n\n const currentPlanPriority = calculatePlanPriority(currentPlanCode);\n const newPlanPriority = calculatePlanPriority(plan?.planCode);\n\n // Compare plan priorities\n if (newPlanPriority === currentPlanPriority) {\n return SelectPlanCTAText.CurrentPlan;\n }\n if (newPlanPriority > currentPlanPriority) {\n return SelectPlanCTAText.UpgradePlan;\n }\n return SelectPlanCTAText.DowngradePlan;\n};\n","import React from 'react';\nimport { Placement } from '../../../../shared/design-system/components/overlay';\nimport Select from '../../../../shared/design-system/components/select';\nimport { SequenceStep } from '../../types';\n\nexport type SequenceStepOption = SequenceStep & {\n key: number;\n};\n\nconst AddToStepSelect = ({ stepOptions, stepKey, setStepKey }) => {\n return (\n
    \n
    \n Import into\n
    \n\n \n selectedOptionRenderer={([option]) => (\n Step {option?.number}\n )}\n optionRenderer={(option) => Step {option?.number}}\n options={stepOptions}\n selectedOptionKey={stepKey}\n onChange={([selectedOption]) => setStepKey(selectedOption.key)}\n placement={Placement.Top}\n />\n
    \n );\n};\n\nexport default AddToStepSelect;\n","import { CancelTokenSource } from 'axios';\nimport { IAllProps as TinyMCEEditorProps } from '@tinymce/tinymce-react';\nimport { ClassNameProp, ResponseErrorWithHandled } from '../types';\nimport { RequestStatus } from '../enums/request-status';\nimport { MergeTagOption } from '../components/overlay-merge-tags';\nimport {\n AttachmentDeletePayload,\n AttachmentUploadPayload,\n AttachmentUploadResponse,\n} from '../../components/sequence/types';\nimport { ReplyForwardEditorAction } from '../../components/unified-inbox/type';\n\nexport type EditorProps = Partial> &\n Pick &\n ClassNameProp & {\n error?: boolean;\n onEditorBlur?: () => void;\n showMergeAndVariableTags?: boolean;\n mergeTags?: MergeTagOption[];\n imageUploader?: ({ formData, onUploadProgress }) => any;\n onEditorInit?: () => void;\n getEditorInstance?: (editor: any) => void;\n shouldRenderTemplate?: boolean;\n showTemplateModal?: () => void;\n onKeyUp?: (e: any) => void;\n addMergeTagInContent?: (option: any) => void;\n addVariableTagInContent?: (tag: string) => void;\n addSpintaxInContent?: (tag: string) => void;\n showAddAttachments: boolean;\n attachments?: AttachmentType[];\n onAttachmentStatusChange?: (attachment: AttachmentType) => void;\n onAttachmentsChange?: (\n attachments: AttachmentType[],\n isAttachmentDeleted?: boolean,\n ) => void;\n sendAttachmentUploadRequest?: (\n payload: AttachmentUploadPayload,\n uniqueId?: number,\n ) => void; // UniqueId was added to handle concurrent API calls\n uploadedAttachment?: AttachmentUploadResponse;\n uploadAttachmentRequestStatus?: RequestStatus;\n uploadAttachmentRequestError?: ResponseErrorWithHandled;\n uploadAttachmentRequestMessage?: string;\n resetUploadAttachmentRequest?: (uniqueId?: number) => void;\n errorMessage?: string;\n sendDeleteAttachmentRequest?: (\n payload: AttachmentDeletePayload,\n uniqueId?: number,\n ) => void;\n deleteAttachmentRequestStatus?: RequestStatus;\n deleteAttachmentRequestError?: ResponseErrorWithHandled;\n deletedAttachmentId?: number;\n resetDeleteAttachmentRequest?: (uniqueId?: number) => void;\n onAttachmentsMetaChange?: (\n attachmentsMeta: AttachmentMetaDataType[],\n ) => void;\n isTemplateEditorModal?: boolean;\n sequenceStepVariantId?: number;\n spintaxOptions?: SpintaxOption[];\n mainList?: MainList[];\n showSpintaxDropdown?: boolean;\n disabledVariableTags?: string[];\n tagsDropdownClassName?: string;\n attachmentsClassname?: string;\n uniqueId?: number;\n action?: ReplyForwardEditorAction;\n disableRenderTemplateBtn?: boolean;\n };\n\nexport type MainList = {\n key: number;\n name: string;\n showInsertNewSpintax: boolean;\n};\nexport type SpintaxOption = {\n key: number;\n name: string;\n category: string;\n};\n\nexport enum AttachmentUploadStatus {\n Upload = 'upload',\n Uploading = 'uploading',\n UploadFailed = 'upload_failed',\n UploadSuccess = 'upload_success',\n Existing = 'existing',\n Deleting = 'deleting',\n}\n\nexport type AttachmentType = {\n attachmentId: number;\n attachmentIdentifier?: string;\n status: AttachmentUploadStatus;\n file: any;\n attachmentSize?: number;\n};\n\nexport type AttachmentMetaDataType = {\n attachmentIdentifier: string;\n percentage: number;\n source: CancelTokenSource;\n};\n\nexport type TagsOptionsForInlineDropdown = {\n text: string;\n value: string;\n group?: string;\n type: 'merge tag' | 'variable tag';\n}[];\n","import { hideLoading, showLoading } from 'react-redux-loading-bar';\nimport { RequestStatus } from '../../../../../../shared/enums/request-status';\nimport { Status } from '../../../../../../shared/enums/status';\nimport { Permissions } from '../../../../../../shared/utils/access-control/enums/permissions';\nimport hasPermission from '../../../../../../shared/utils/access-control/has-permission';\nimport { showGeneralErrorNotification } from '../../../../../../shared/utils/errors';\nimport { planError } from '../../../../../../shared/utils/errors/plan-permission-error/plan-error';\nimport { SubscriptionPlans } from '../../../../../../shared/utils/subscription-plans';\nimport store from '../../../../../../store';\nimport DefaultRampUpSettings from '../../../../enums/default-rampup-settings';\nimport {\n EmailAccountMethod,\n EmailAccountType,\n} from '../../../../enums/email-account';\nimport { EmailAccountSettingCode } from '../../../../enums/email-account-settings';\n\nimport { EmailAccountInfo, RampUpSettings } from './types';\nimport hasResource from '../../../../../../shared/utils/access-control/has-resource';\nimport { ResourceIdentifiers } from '../../../../../../shared/utils/access-control/enums/resource-identifiers';\n\nexport const getEmailAccountId = (id: string): number => {\n const state = store.getState();\n const { emailAccounts } = state.emailAccount;\n\n return emailAccounts.find(({ hashId }) => hashId === id)?.id;\n};\n\nexport const getEmailAccountMethod = (emailAccount) =>\n emailAccount?.type === EmailAccountType.Gmail\n ? EmailAccountMethod.Gmail\n : EmailAccountMethod.Microsoft;\n\nexport const getEmailAccountInfo = (emailAccount): EmailAccountInfo => {\n let emailAccountInfo = {\n name: '',\n email: '',\n accountType: '',\n isConnected: 0,\n method: EmailAccountMethod.Gmail,\n };\n\n if (emailAccount) {\n const { fromName, fromEmail, type, status } = emailAccount;\n\n emailAccountInfo = {\n name: fromName || '',\n email: fromEmail || '',\n accountType: type === EmailAccountType.Gmail ? 'google' : 'windows',\n isConnected: status,\n method:\n type === EmailAccountType.Gmail\n ? EmailAccountMethod.Gmail\n : EmailAccountMethod.Microsoft,\n };\n }\n\n return emailAccountInfo;\n};\n\nexport const getSettingsForEmailAccount = (\n emailAccountSettings,\n): RampUpSettings => {\n let rampUpSettings = {\n rampUpStatus: 0,\n rampUpPercent: DefaultRampUpSettings.RampUpPercent,\n initialSendingLimit: DefaultRampUpSettings.InitialSendingLimit,\n rampUpLimit: '0',\n maxSendingLimit: '0',\n rampUpLimitReached: false,\n minInterval: 0,\n maxInterval: 0,\n };\n\n const rampUpStatus = emailAccountSettings?.filter(\n (settings) => settings.code === EmailAccountSettingCode.RampUpStatus,\n )[0]?.value;\n const rampUpPercent = emailAccountSettings?.filter(\n (settings) => settings.code === EmailAccountSettingCode.RampUpPercent,\n )[0]?.value;\n const initialSendingLimit = emailAccountSettings?.filter(\n (settings) =>\n settings.code === EmailAccountSettingCode.RampUpInitialSendingLimit,\n )[0]?.value;\n const rampUpLimit = emailAccountSettings?.filter(\n (settings) => settings.code === EmailAccountSettingCode.RampUpLimit,\n )[0]?.value;\n const maxSendingLimit = emailAccountSettings?.filter(\n (settings) => settings.code === EmailAccountSettingCode.MaxSendingLimit,\n )[0]?.value;\n const minInterval = emailAccountSettings?.filter(\n (settings) => settings.code === EmailAccountSettingCode.MinInterval,\n )[0]?.value;\n const maxInterval = emailAccountSettings?.filter(\n (settings) => settings.code === EmailAccountSettingCode.MaxInterval,\n )[0]?.value;\n\n rampUpSettings = {\n rampUpStatus: Number(rampUpStatus) || 0,\n rampUpPercent: Number(rampUpPercent) || DefaultRampUpSettings.RampUpPercent,\n initialSendingLimit:\n Number(initialSendingLimit) || DefaultRampUpSettings.InitialSendingLimit,\n rampUpLimit: rampUpLimit || '0',\n maxSendingLimit: maxSendingLimit || '0',\n rampUpLimitReached:\n Boolean(rampUpStatus) && rampUpLimit === maxSendingLimit,\n minInterval: Number(minInterval) || 0,\n maxInterval: Number(maxInterval) || 0,\n };\n\n return rampUpSettings;\n};\n\nexport const showGeneralErrorMessage = (requestError) => {\n if (requestError) {\n showGeneralErrorNotification(requestError.message);\n }\n};\n\nexport const getIsRequestPending = (status) => status === RequestStatus.Pending;\n\nexport const getErrorMessage = (error) => (error ? error.message : '');\n\nexport const showPlanErrorForSubscription = () => {\n if (hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)) {\n planError(2009);\n } else {\n planError(3009);\n }\n};\n\nexport const getShouldSendingSettingsTabDisabled = (emailAccount) =>\n emailAccount?.type === EmailAccountType.SmtpImap &&\n emailAccount?.status === Status.Inactive;\n\nexport const handleLoading = (isLoading) => {\n if (isLoading) {\n store.dispatch(showLoading());\n } else {\n store.dispatch(hideLoading());\n }\n};\n\nexport const checkSubscriptionPlan = ({\n subscriptionPlan,\n setDoNotHaveSubscription,\n}) => {\n if (subscriptionPlan === SubscriptionPlans.FREE) {\n setDoNotHaveSubscription(true);\n } else {\n setDoNotHaveSubscription(false);\n }\n};\n\nexport const onTabChange = (\n tabKey: string,\n UpdateEmailTabKeys,\n setShowSmtpModalOnDisconnect,\n history,\n hashId,\n) => {\n if (tabKey === UpdateEmailTabKeys.EMAIL_SETUP_SCORE) {\n setShowSmtpModalOnDisconnect(true);\n } else {\n setShowSmtpModalOnDisconnect(false);\n }\n\n history.push(`/email-accounts/${hashId}/${tabKey}`);\n};\n\nexport const connectEmailAccountHandler = (\n subscriptionPlan,\n emailAccount,\n emailAccountId,\n sendGetSmtpImapAccountDetailsRequest,\n sendConnectEmailAccountRequest,\n) => {\n if (!hasResource(ResourceIdentifiers.EMAIL_ACCOUNT_CONNECT)) {\n showPlanErrorForSubscription();\n } else if (emailAccount?.type === 3) {\n sendGetSmtpImapAccountDetailsRequest(emailAccountId);\n } else {\n sendConnectEmailAccountRequest(\n getEmailAccountMethod(emailAccount),\n emailAccountId,\n );\n }\n};\n\nconst shouldRefreshEmailSetupScoreValue = 'shouldRefreshEmailSetupScoreValue';\n\nexport const getShouldRefreshEmailSetupScoreValue = () =>\n localStorage.getItem(shouldRefreshEmailSetupScoreValue);\n\nexport const setShouldRefreshEmailSetupScoreValue = (score: number) =>\n localStorage.setItem(\n shouldRefreshEmailSetupScoreValue,\n score <= 10 ? 'true' : 'false',\n );\n\nexport const clearShouldRefreshEmailSetupScoreValue = () =>\n localStorage.removeItem(shouldRefreshEmailSetupScoreValue);\n","export const cobaltSessionTokenStorageKey = 'cobalt-session-token';\n\nexport const setCobaltSessionToken = (token: string) =>\n localStorage.setItem(cobaltSessionTokenStorageKey, token);\nexport const getCobaltSessionToken = () =>\n localStorage.getItem(cobaltSessionTokenStorageKey);\nexport const removeCobaltSessionToken = () =>\n localStorage.removeItem(cobaltSessionTokenStorageKey);\n\nexport enum CobaltEvent {\n 'When a Prospect is Unsubscribed' = 'prospect-unsubscribed',\n 'Prospect is Unsubscribed in Saleshandy' = 'prospect-unsubscribed',\n 'When a Prospect is Finished' = 'prospect-finished',\n 'Prospect is Finished in Saleshandy' = 'prospect-finished',\n 'Reply is Received in Saleshandy' = 'reply-received',\n 'Link is Clicked in Saleshandy' = 'email-link-clicked',\n 'Sequence Email is Opened in Saleshandy' = 'email-opened',\n 'Email Sent from Saleshandy' = 'sequence-email-sent',\n 'When an Email is Bounced' = 'email-bounced',\n 'Email is Bounced in Saleshandy' = 'email-bounced',\n 'Conversation Category is Updated in Saleshandy' = 'reply-category-updated',\n 'Conversation Category Updated in Saleshandy' = 'reply-category-updated',\n 'Prospect Outcome is updated in Saleshandy' = 'reply-category-updated',\n 'Prospect Added to Sequence in Saleshandy' = 'prospect-added-to-sequence',\n 'Email is Opened in Saleshandy' = 'email-opened',\n 'Import Prospects from Salesforce' = 'sync-prospects',\n 'Import Prospects from Hubspot' = 'sync-prospects',\n}\nexport const staticOptionsForCategory = [\n {\n key: 'Interested',\n value: 'Interested',\n },\n { key: 'Not Interested', value: 'Not Interested' },\n { key: 'Closed', value: 'Closed' },\n { key: ':Meeting Booked', value: 'Meeting Booked' },\n { key: 'Do Not Contact', value: 'Do Not Contact' },\n { key: 'Out of Office', value: 'Out of Office' },\n { key: 'Not Now', value: 'Not Now' },\n];\n\nexport enum IntegrationTabs {\n FieldMapping = 'Field Mapping',\n TriggersActivity = 'Triggers & Activity',\n ProspectImport = 'Prospects Import',\n}\nexport const hasConversationCategorySelected = (obj) =>\n Object.values(obj).some((objValue) =>\n staticOptionsForCategory.some((arrItem) => arrItem.value === objValue),\n );\n\nexport const cleanPlanName = (planName: string): string =>\n planName\n .replace(/\\([^)]*\\)/g, '')\n .toLowerCase()\n .trim();\n","import React from 'react';\nimport { Button } from '@saleshandy/design-system';\nimport { Cross } from '@saleshandy/icons';\nimport { Link, useLocation } from 'react-router-dom';\nimport classNames from 'classnames';\nimport AlertTriangle from '../../../../components/images/alert-triangle';\nimport { avoidBannerRoutes } from '../../../../utils/avoid-banner-alert';\n\nexport enum BannerVariant {\n Danger = 'danger',\n Warning = 'warning',\n Primary = 'primary',\n}\n\nexport enum PaymentActionType {\n Initial = 'initial',\n Recurring = 'recurring',\n}\n\ntype IProps = {\n pageHeaderBannerMessage?: React.ReactNode;\n ctaURL?: string;\n ctaText?: string;\n target?: string;\n style?: React.CSSProperties;\n className?: string;\n variant?: BannerVariant;\n Icon?: React.ReactNode;\n children?: React.ReactChild;\n bannerTextOne?: string;\n bannerTextTwo?: string;\n paymentActionType?: string;\n ctaBtnText?: string;\n ctaBtnClick?: VoidFunction;\n ctaSecondaryBtnText?: string;\n ctaSecondaryBtnClick?: VoidFunction;\n isIconShow?: boolean;\n onBannerClose?: VoidFunction;\n closeBtnClassName?: string;\n};\n\nconst Banner: React.FC = ({\n pageHeaderBannerMessage,\n style,\n className,\n ctaURL,\n ctaText,\n target,\n variant,\n Icon,\n children,\n bannerTextTwo,\n paymentActionType,\n ctaBtnText,\n isIconShow = true,\n ctaSecondaryBtnText,\n ctaSecondaryBtnClick,\n ctaBtnClick,\n onBannerClose,\n closeBtnClassName = '',\n}) => {\n const location = useLocation();\n\n if (avoidBannerRoutes.indexOf(location.pathname) !== -1) {\n return null;\n }\n\n const bannerClasses = classNames([\n `fade danger-alert alert show ${className}`,\n {\n 'alert-danger': variant === BannerVariant.Danger,\n 'alert-warning-2': variant === BannerVariant.Warning,\n 'alert-primary-2': variant === BannerVariant.Primary,\n },\n ]);\n\n if (!pageHeaderBannerMessage) {\n return <>;\n }\n\n const renderBanner = () => {\n if (pageHeaderBannerMessage && !bannerTextTwo) {\n return (\n {pageHeaderBannerMessage}\n );\n }\n\n return (\n <>\n {pageHeaderBannerMessage}{' '}\n \n {ctaText}\n {' '}\n {`${bannerTextTwo} ${\n paymentActionType === PaymentActionType.Recurring\n ? process.env.REACT_APP_PAY_BEFORE\n : ''\n }`}\n \n );\n };\n\n return (\n
    \n
    \n {isIconShow && <>{Icon || }}\n\n {children || renderBanner()}\n\n {target && !bannerTextTwo && (\n \n {ctaText}\n \n )}\n {!bannerTextTwo && (\n \n {ctaText}\n \n )}\n {ctaBtnText && (\n <>\n or\n \n {ctaBtnText}\n \n \n )}\n {ctaSecondaryBtnText && ctaSecondaryBtnClick && (\n \n {ctaSecondaryBtnText}\n \n )}\n
    \n {onBannerClose && (\n \n )}\n
    \n );\n};\n\nBanner.defaultProps = {\n variant: BannerVariant.Danger,\n};\n\nexport default Banner;\n","import { Routes } from '../routes';\n\nexport const avoidBannerRoutes = [\n Routes.Setting_Billing_Upgrade_Email_Outreach_Plan as string,\n];\n","import { DateTime } from 'luxon';\nimport {\n FilterGroup,\n FilterOperation,\n FilterSource,\n ProspectFilterField,\n} from '../types';\n// eslint-disable-next-line import/no-cycle\nimport { staticDropdownKeysForProspectFilter } from './get-prospect-filters-field-attribute-values';\n\nexport const multiSelectOperations = [\n FilterOperation.IS,\n FilterOperation.IS_NOT,\n];\n\nexport const textInputOperations = [\n FilterOperation.CONTAINS,\n FilterOperation.DOES_NOT_CONTAIN,\n];\n\nexport const numberInputOperations = [\n FilterOperation.EQUAL,\n FilterOperation.NOT_EQUAL,\n FilterOperation.GREATER_THAN,\n FilterOperation.GREATER_THAN_OR_EQUAL,\n FilterOperation.LESS_THAN,\n FilterOperation.LESS_THAN_OR_EQUAL,\n FilterOperation.BETWEEN,\n];\n\nexport const dateDropdownOperations = [\n FilterOperation.IS_WITHIN,\n FilterOperation.IS_BEFORE,\n FilterOperation.IS_AFTER,\n FilterOperation.IS_ON_OR_BEFORE,\n FilterOperation.IS_ON_OR_AFTER,\n];\n\nexport const dateFieldsKeys = ['creationDate', 'lastUpdatedAt'];\n\nconst prospectFilterPriorityOrder = [\n 'First Name',\n 'Last Name',\n 'Email',\n 'Job Title',\n 'Prospect Status',\n 'Prospect Outcomes',\n 'Prospect Tags',\n 'Email Verification Status',\n 'Prospect ESP',\n 'Department',\n 'Company',\n 'Company Industry',\n 'Company Website',\n 'Prospect Owner',\n 'Creation Date',\n 'Last Updated',\n 'Sequence',\n 'Email Verification Sub Status',\n 'MX Record',\n 'Free Email Account',\n 'Creation Source',\n 'Client associated with sequence',\n 'LinkedIn',\n 'Phone Number',\n 'Experience',\n 'Industry',\n 'Twitter',\n 'Facebook',\n 'Website',\n 'City',\n 'State',\n 'Country',\n 'Company LinkedIn',\n 'Company Phone',\n 'Company Domain',\n 'Company Size',\n 'Company Revenue',\n 'Company Founded Year',\n 'Import file name',\n];\n\n// Create a mapping of priorities\nconst priorityMap = new Map(\n prospectFilterPriorityOrder.map((item, index) => [item, index]),\n);\n\n// Sort the fieldsArray based on the priority of their 'value'\nexport const getSortedProspectFilterFields = (\n fields: ProspectFilterField[],\n) => {\n const sortedFields = [...fields];\n\n sortedFields.sort((a, b) => {\n const priorityA = priorityMap.get(a.value) ?? Infinity;\n const priorityB = priorityMap.get(b.value) ?? Infinity;\n return priorityA - priorityB;\n });\n\n return sortedFields;\n};\n\n// keys which do not required search\nconst prospectFiltersFieldsKeysWithNoSearch = [\n ...staticDropdownKeysForProspectFilter,\n 'creationDate',\n 'lastUpdatedAt',\n];\n\n// keys which do not required api calls for search\nexport const prospectFiltersFieldsKeysFilterOptions = [\n 'tags',\n 'outcomes',\n 'owners',\n];\n\nexport const getProspectFiltersMultiSelectSearchOptions = (\n field: ProspectFilterField,\n) => {\n if (prospectFiltersFieldsKeysWithNoSearch.includes(field.key)) {\n return {\n showSearch: false,\n useFilterOption: false,\n useAPICall: false,\n };\n }\n\n if (prospectFiltersFieldsKeysFilterOptions.includes(field.key)) {\n return {\n showSearch: true,\n useFilterOption: true,\n useAPICall: false,\n };\n }\n\n return {\n showSearch: true,\n useFilterOption: false,\n useAPICall: true,\n };\n};\n\nexport const getSelectedUsers = (\n userIds: number[],\n users: {\n id: number;\n userName: string;\n email: string;\n }[],\n) =>\n userIds\n ?.map((id) => {\n // Find the user object in users array\n const user = users.find((u) => u.id === id);\n\n // If user is found, return the key and name (userName or email if userName is empty)\n return user\n ? {\n key: user.id.toString(),\n name: user.userName !== '' ? user.userName : user.email,\n }\n : null; // Return null if no user is found for that ID\n })\n .filter(Boolean) || []; // Filter out any null values in case a user ID doesn't match\n\nexport const isAddFilterButtonEnabled = (filterGroup: FilterGroup): boolean => {\n if (!filterGroup || filterGroup?.conditions?.length === 0) return false;\n\n // Check if any condition in the group has a null field\n return !filterGroup.conditions.some((condition) => condition.field === null);\n};\n\nexport const formatDateTooltipTxt = (\n startDate: DateTime,\n endDate: DateTime,\n timeZone = 'Asia/Kolkata',\n): string => {\n const formattedStartDate = startDate\n .setZone(timeZone)\n .toFormat('MMM dd, yyyy');\n const formattedEndDate = endDate.setZone(timeZone).toFormat('MMM dd, yyyy');\n\n const offset = startDate.setZone(timeZone).toFormat('ZZ');\n const gmtOffset = `GMT${offset}`;\n return `${formattedStartDate} - ${formattedEndDate}\\n(${gmtOffset}) ${timeZone}`;\n};\n\nexport const getIsFieldsDoesNotExist = ({ prospectFields, field }) => {\n if (!field || prospectFields?.length === 0) return false;\n\n if (field?.source === FilterSource.FIELD) {\n return !prospectFields.some(\n (f) => f.id?.toString() === field?.id?.toString(),\n );\n }\n\n return !prospectFields.some(\n (f) => f.key?.toString() === field?.key?.toString(),\n );\n};\n\nexport const getProspectFiledLabel = (key: string): string => {\n if (key === 'owners') {\n return 'Prospect Owners';\n }\n return key;\n};\n","/* eslint-disable no-restricted-syntax */\nimport { SequenceStep } from '../types';\nimport {\n SequenceStepExecutionDay,\n SequenceStepPriority,\n SequenceStepPriorityValue,\n} from '../enums/sequence-step';\n\nexport const isFirstStep = (step: SequenceStep): boolean => step.number === 1;\n\nexport const getMinRelativeDays = (): number => SequenceStepExecutionDay.MinDay;\n\nexport const getDefaultRelativeExecutionDay = (\n stepNumber: number,\n lastAbsoluteDay: number,\n): number => {\n if (stepNumber === 1) {\n return 1;\n }\n\n const resultDay = lastAbsoluteDay + 2;\n\n return resultDay >= SequenceStepExecutionDay.MaxDay\n ? SequenceStepExecutionDay.MaxDay\n : resultDay;\n};\n\nexport const getLastAbsoluteDay = (array, updatedArr = null) => {\n if (updatedArr) {\n return updatedArr;\n }\n\n let lastAbsoluteDay = 1; // Initialize the last absolute day to 0\n\n for (const item of array) {\n // If relativeDays is not 0, update lastAbsoluteDay by adding relativeDays\n lastAbsoluteDay += item.relativeDays;\n }\n\n return lastAbsoluteDay;\n};\n\nexport const getLastAbsoluteDayForUpdateStep = (array, stepNumber) => {\n if (stepNumber === 1) {\n return 0;\n }\n\n let lastAbsoluteDay = 1; // Initialize the last absolute day to 0\n\n array\n .filter((step) => step.number < stepNumber)\n .forEach((item) => {\n lastAbsoluteDay += item.relativeDays;\n });\n\n return lastAbsoluteDay;\n};\n\nexport const getStepPriorityText = (priority: number) => {\n if (priority === SequenceStepPriorityValue.Low) {\n return SequenceStepPriority.Low;\n }\n if (priority === SequenceStepPriorityValue.Normal) {\n return SequenceStepPriority.Normal;\n }\n if (priority === SequenceStepPriorityValue.High) {\n return SequenceStepPriority.High;\n }\n\n return SequenceStepPriority.Urgent;\n};\n\nconst getTagClassName = (priority: number) => {\n if (priority === SequenceStepPriorityValue.Low) {\n return 'priority__low';\n }\n if (priority === SequenceStepPriorityValue.Normal) {\n return 'priority__normal';\n }\n if (priority === SequenceStepPriorityValue.High) {\n return 'priority__high';\n }\n\n return 'priority__urgent';\n};\n\nexport const getStepPriorityVariant = (text: SequenceStepPriority) => {\n if (text === SequenceStepPriority.Low) {\n return 'secondary';\n }\n if (text === SequenceStepPriority.High) {\n return 'tertiary';\n }\n if (text === SequenceStepPriority.Urgent) {\n return 'danger';\n }\n\n return 'primary';\n};\n\nexport const getStepPriority = (priority: number) => {\n const text = getStepPriorityText(priority);\n const className = getTagClassName(priority);\n const variant:\n | 'primary'\n | 'secondary'\n | 'tertiary'\n | 'danger' = getStepPriorityVariant(text);\n\n return { text, variant, className };\n};\n","import moment from 'moment-timezone';\nimport { SequenceConfig } from '../../enums';\n\nexport const getNewSequenceName = (): string =>\n `${SequenceConfig.NewSequenceTitle} - ${moment(new Date()).format(\n 'ddd Do MMM',\n )}`;\n\nconst sequenceFilters = 'sequence-filters';\n\nexport const getSequenceFilterFromLocalStorage = () =>\n localStorage.getItem(sequenceFilters);\n\nexport const setSequenceFilterFromLocalStorage = (filters) =>\n localStorage.setItem(sequenceFilters, JSON.stringify(filters));\n\nexport const removeSequenceFilterFromLocalStorage = () =>\n localStorage.removeItem(sequenceFilters);\n","import React from 'react';\n\nimport Modal from '../../atoms/modal';\nimport type { IProps } from './types';\n\nconst YoutubeVideoModal: React.FC = ({\n show,\n titleContent = 'Video tutorial',\n youtubeVideoUrl,\n onClose,\n}) => (\n \n
    \n
    \n \n
    \n
    \n \n);\n\nexport default YoutubeVideoModal;\n","export { default } from './banner';\n","import React from 'react';\n\ntype IProps = {\n firstName: string;\n lastName: string;\n className?: string;\n};\n\nconst Avatar: React.FC = ({ firstName, lastName, className }) => {\n return (\n \n \n {firstName && firstName[0]?.toUpperCase()}\n {lastName && lastName[0]?.toUpperCase()}\n \n \n );\n};\n\nexport default Avatar;\n","export enum SequenceTab {\n Steps = 'steps',\n Prospects = 'prospects',\n Emails = 'emails',\n Settings = 'settings',\n SequenceScore = 'sequence-score',\n}\n\nexport enum SequenceConfig {\n NewSequenceTitle = 'New Sequence',\n MaxSequenceTitleLength = 100,\n}\n\nexport enum SequenceProgress {\n Active = 1,\n Pause = 2,\n Draft = 3,\n}\n\nexport enum SequenceAction {\n Pause = 1,\n Resume = 2,\n}\n\nexport enum SequenceActionLabel {\n Pause = 'pause',\n Resume = 'resume',\n}\n\nexport enum SequenceSortBy {\n CreatedAt = 'created-date',\n Title = 'title',\n SequenceScore = 'sequenceScore',\n TotalSteps = 'totalSteps',\n Status = 'progress',\n Active = 'active',\n Finished = 'finished',\n Total = 'total',\n Opened = 'opened',\n Replied = 'replied',\n Contacted = 'contacted',\n PositiveSentiment = 'positiveSentiment',\n Progress = 'sequenceProgress',\n EmailAccounts = 'sequenceEmailAccountCount',\n SequenceProgressPer = 'sequenceProgressPer',\n // CreatedBy = 'userName',\n // ClientAssociated = 'client',\n}\n\nexport enum SortSequenceProgress {\n ALL = 'ALL',\n ACTIVE = 'ACTIVE',\n PAUSED = 'PAUSED',\n DRAFT = 'DRAFT',\n}\n\nexport enum SortBySequence {\n Opened = 'opened',\n Replied = 'replied',\n CreatedBy = 'created-by',\n}\n","import { Field } from '../../../../settings/types/field';\n\nimport { getProspectSystemAttributes } from './get-prospect-system-attributes';\n\nexport const getDefaultSelectedProspectAttributes = (fields: Field[]) =>\n getProspectSystemAttributes(fields).filter((attr) => attr?.isDefault);\n\nexport const getProspectTableColumnsFromLocalStorage = () =>\n JSON.parse(localStorage.getItem('prospectTableColumns'));\n\nexport const setProspectTableColumnsInLocalStorage = (fields) => {\n localStorage.setItem('prospectTableColumns', JSON.stringify(fields));\n};\n\nexport const removeProspectTableColumnsFromLocalStorage = () => {\n localStorage.removeItem('prospectTableColumns');\n};\n","import { TeamForFilter } from '../types';\n\nexport const onUserOptionClicked = (\n userId: number,\n selectedUserIds: number[],\n setSelectedUserIds: (payload: number[]) => void,\n) => {\n // Check if the user ID is already in the selectedUserIds array\n const isSelected = selectedUserIds.includes(userId);\n\n // If the user is already selected, remove the ID; otherwise, add it\n if (isSelected) {\n setSelectedUserIds(selectedUserIds.filter((id) => id !== userId));\n } else {\n setSelectedUserIds([...selectedUserIds, userId]);\n }\n};\n\nexport const onTeamOptionClicked = (\n team: TeamForFilter,\n selectedUserIds: number[],\n setSelectedUserIds: (payload: number[]) => void,\n) => {\n // Check if all user IDs in the team are in selectedUserIds\n const allUsersSelected = team.users.every((user) =>\n selectedUserIds.includes(user.id),\n );\n\n if (allUsersSelected) {\n // If all users are selected, remove all of them\n const updatedSelectedUserIds = selectedUserIds.filter(\n (id) => !team.users.some((user) => user.id === id),\n );\n setSelectedUserIds(updatedSelectedUserIds);\n } else {\n // If not all users are selected, add those who are not already in selectedUserIds\n const userIDsToAdd = team.users\n .map((user) => user.id)\n .filter((userId) => !selectedUserIds.includes(userId));\n\n const newSelectedUserIds = [...selectedUserIds, ...userIDsToAdd];\n setSelectedUserIds(newSelectedUserIds);\n }\n};\n","import React from 'react';\nimport { useStore } from 'react-redux';\nimport { getProspectParams } from './prospect-filters-resolver';\nimport { RootState } from '../../../store/root-reducer';\nimport { ProspectParams } from '../types';\n\n/**\n * Updates the props `sendGetProspectRequest` and `sendGetProspectCountRequest` with the data of applied filters.\n */\nconst withProspectsFiltersAPI = (Component) => ({\n sendGetProspectRequest,\n sendGetProspectCountRequest,\n ...props\n}) => {\n const store = useStore();\n\n const getSequenceEmail = (params: ProspectParams) => {\n // Applied filters\n const { prospectsFilters, search } = store.getState().prospect;\n return sendGetProspectRequest(\n getProspectParams({ ...params, search }, prospectsFilters),\n );\n };\n const getProspectsCount = (params: ProspectParams) => {\n // Applied filters\n const { prospectsFilters, search } = store.getState().prospect;\n return sendGetProspectCountRequest(\n getProspectParams({ ...params, search }, prospectsFilters),\n );\n };\n\n return (\n \n );\n};\n\nexport default withProspectsFiltersAPI;\n","import { DateTime } from 'luxon';\nimport { DatePickerOption } from './types';\n\nexport const getCurrentTimeInUTC = () => DateTime.local();\n\nconst durationOptions: DatePickerOption[] = [\n {\n displayText: 'Today',\n label: 'today',\n startDate: getCurrentTimeInUTC(),\n endDate: getCurrentTimeInUTC(),\n value: 'today',\n key: 'today',\n },\n {\n displayText: 'Yesterday',\n label: 'yesterday',\n startDate: getCurrentTimeInUTC().minus({ days: 1 }),\n endDate: getCurrentTimeInUTC(),\n value: 'yesterday',\n key: 'yesterday',\n },\n {\n displayText: 'Last 7 Days',\n label: 'last_7_days',\n startDate: getCurrentTimeInUTC().minus({ days: 7 }),\n endDate: getCurrentTimeInUTC(),\n value: 'last_7_days',\n key: 'last_7_days',\n },\n {\n displayText: 'Last 14 Days',\n label: 'last_14_days',\n startDate: getCurrentTimeInUTC().minus({ days: 14 }),\n endDate: getCurrentTimeInUTC(),\n value: 'last_14_days',\n key: 'last_14_days',\n },\n {\n displayText: 'Last 30 Days',\n label: 'last_30_days',\n startDate: getCurrentTimeInUTC().minus({ days: 30 }),\n endDate: getCurrentTimeInUTC(),\n value: 'last_30_days',\n key: 'last_30_days',\n },\n {\n displayText: 'Last 90 Days',\n label: 'last_90_days',\n startDate: getCurrentTimeInUTC().minus({ days: 90 }),\n endDate: getCurrentTimeInUTC(),\n value: 'last_90_days',\n key: 'last_90_days',\n },\n {\n displayText: 'This Week',\n label: 'this_week',\n startDate: getCurrentTimeInUTC().startOf('week'),\n endDate: getCurrentTimeInUTC(),\n value: 'this_week',\n key: 'this_week',\n },\n {\n displayText: 'Last Week',\n label: 'last_week',\n startDate: getCurrentTimeInUTC().startOf('week').minus({ weeks: 1 }),\n endDate: getCurrentTimeInUTC().startOf('week').minus({ days: 1 }),\n value: 'last_week',\n key: 'last_week',\n },\n {\n displayText: 'This Month',\n label: 'this_month',\n startDate: getCurrentTimeInUTC().startOf('month'),\n endDate: getCurrentTimeInUTC(),\n value: 'this_month',\n key: 'this_month',\n },\n {\n displayText: 'Last Month',\n label: 'last_month',\n startDate: getCurrentTimeInUTC()\n .startOf('month')\n .minus({ months: 1 })\n .startOf('day'),\n endDate: getCurrentTimeInUTC().startOf('month').minus({ days: 1 }),\n value: 'last_month',\n key: 'last_month',\n },\n {\n displayText: 'This Quarter',\n label: 'this_quarter',\n startDate: getCurrentTimeInUTC().startOf('month'),\n endDate: getCurrentTimeInUTC()\n .startOf('month')\n .plus({ months: 2 })\n .endOf('month'),\n value: 'this_quarter',\n key: 'this_quarter',\n },\n {\n displayText: 'Last Quarter',\n label: 'last_quarter',\n startDate: getCurrentTimeInUTC()\n .startOf('month')\n .minus({ months: 3 })\n .startOf('day'),\n endDate: getCurrentTimeInUTC().startOf('month').minus({ days: 1 }),\n value: 'last_quarter',\n key: 'last_quarter',\n },\n {\n displayText: 'This Year',\n label: 'this_year',\n startDate: getCurrentTimeInUTC().startOf('year'),\n endDate: getCurrentTimeInUTC(),\n value: 'this_year',\n key: 'this_year',\n },\n {\n displayText: 'Last Year',\n label: 'last_year',\n startDate: getCurrentTimeInUTC()\n .startOf('year')\n .minus({ years: 1 })\n .startOf('day'),\n endDate: getCurrentTimeInUTC().startOf('year').minus({ days: 1 }),\n value: 'last_year',\n key: 'last_year',\n },\n {\n displayText: 'Custom',\n label: 'custom',\n startDate: getCurrentTimeInUTC().minus({ days: 30 }),\n endDate: getCurrentTimeInUTC(),\n value: 'custom',\n key: 'custom',\n },\n];\n\nexport default durationOptions;\n\nexport const getDateRange = (displayName, tz) => {\n // To be fixed: Refact to lazy load the date filter\n\n const now = DateTime.now().setZone(tz);\n const ranges = {\n today: { startDate: now, endDate: now },\n yesterday: {\n startDate: now.minus({ days: 1 }),\n endDate: now.minus({ days: 1 }),\n },\n last_7_days: {\n startDate: now.minus({ days: 7 }),\n endDate: now,\n },\n last_14_days: {\n startDate: now.minus({ days: 14 }),\n endDate: now,\n },\n last_30_days: {\n startDate: now.minus({ days: 30 }),\n endDate: now,\n },\n last_90_days: {\n startDate: now.minus({ days: 90 }),\n endDate: now,\n },\n this_week: { startDate: now.startOf('week'), endDate: now },\n last_week: {\n startDate: now.startOf('week').minus({ weeks: 1 }),\n endDate: now.startOf('week').minus({ days: 1 }),\n },\n this_month: { startDate: now.startOf('month'), endDate: now },\n last_month: {\n startDate: now.startOf('month').minus({ months: 1 }),\n endDate: now.startOf('month').minus({ days: 1 }),\n },\n this_quarter: {\n startDate: now.startOf('quarter'),\n endDate: now,\n },\n last_quarter: {\n startDate: now.startOf('quarter').minus({ quarters: 1 }),\n endDate: now.startOf('quarter').minus({ days: 1 }),\n },\n this_year: { startDate: now.startOf('year'), endDate: now },\n last_year: {\n startDate: now.startOf('year').minus({ years: 1 }),\n endDate: now.startOf('year').minus({ days: 1 }),\n },\n };\n\n return (\n ranges[displayName] || {\n startDate: now.minus({ days: 30 }),\n endDate: now.endOf('day'),\n }\n );\n};\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { DateTime } from 'luxon';\nimport { IProps } from './types';\nimport { Images } from '../../../../../../shared/app-constants';\nimport ImageIcon from '../../../../../../shared/components/images/image-icon';\nimport { Variant } from '../../../../../../shared/design-system/components/atoms/button/button';\nimport Modal from '../../../../../../shared/design-system/components/atoms/modal';\n\nconst ResumeSubscriptionModal: React.FC = ({\n show,\n onClose,\n onResumeSubscription,\n pauseEndsDate,\n isRequestPending,\n resumeSubscriptionModalHeaderMessage,\n resumeSubscriptionModalMessage1,\n resumeSubscriptionModalMessage2,\n submitButtonText,\n}) => {\n const { t } = useTranslation();\n return (\n \n \n
    \n {' '}\n {t(`messages.${resumeSubscriptionModalHeaderMessage}`)}\n
    \n \n }\n showCloseIcon={!isRequestPending}\n onClose={onClose}\n cancelButtonText={t('labels.cancel')}\n submitButtonText={t(`labels.${submitButtonText}`)}\n onSubmit={onResumeSubscription}\n cancelButtonVarient={Variant.Outlined}\n isSubmitDisabled={isRequestPending}\n isSubmitLoading={isRequestPending}\n isCancelDisabled={isRequestPending}\n cancelButtonClassName=\"resume-subscription-modal-cancel-btn\"\n submitButtonClassName=\"resume-subscription-modal-submit-btn\"\n onHide={onClose}\n backdrop=\"static\"\n >\n
    \n \n {t(`messages.${resumeSubscriptionModalMessage1}`)}\n {' '}\n \n {DateTime.fromJSDate(new Date(pauseEndsDate)).toFormat('d MMM, yyyy')}\n \n
    \n
    \n \n {t(`messages.${resumeSubscriptionModalMessage2}`)}\n \n
    \n \n );\n};\n\nexport default ResumeSubscriptionModal;\n","import React from 'react';\n\nexport const ArrowsMaximize = ({ width = 24, height = 24 }) => (\n \n \n \n);\n","import store, { reset } from '../../store';\n\nexport const resetState = () => store.dispatch(reset());\n","import { CallPurpose, SequenceStepType } from '../../../../enums';\n\nexport const getCallTitle = (purpose: CallPurpose) => {\n if (purpose === CallPurpose.Introduction) {\n return 'Introduction Call';\n }\n if (purpose === CallPurpose.Demo) {\n return 'Demo Call';\n }\n if (purpose === CallPurpose.FollowUp) {\n return 'Follow-up Call';\n }\n if (purpose === CallPurpose.Reminder) {\n return 'Reminder Call';\n }\n\n return 'Calling Task';\n};\n\nexport const getSubjectStr = (\n stepType: SequenceStepType,\n variantTitle,\n callPurpose: CallPurpose,\n) => {\n if (stepType === SequenceStepType.LinkedInConnectionRequest) {\n return 'LinkedIn Connection Request';\n }\n if (stepType === SequenceStepType.LinkedInMessage) {\n return 'LinkedIn Message';\n }\n if (stepType === SequenceStepType.LinkedInInMail) {\n return 'LinkedIn InMail';\n }\n if (stepType === SequenceStepType.LinkedInViewProfile) {\n return 'LinkedIn View Profile';\n }\n if (stepType === SequenceStepType.LinkedInPostInteraction) {\n return 'LinkedIn Post Interaction';\n }\n\n if (stepType === SequenceStepType.Whatsapp) {\n return 'Whatsapp Message';\n }\n\n if (stepType === SequenceStepType.Call) {\n return getCallTitle(callPurpose);\n }\n\n return variantTitle;\n};\n","import React from 'react';\n\nexport const Google = ({ width = 16, height = 16 }) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n","import React from 'react';\n\nexport const Microsoft = ({ width = 16, height = 16 }) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n","import React from 'react';\nimport {\n Tooltip as ReactBootstrapTooltip,\n TooltipProps as ReactBootstrapTooltipProps,\n} from 'react-bootstrap';\n\nexport type RawTooltipProps = ReactBootstrapTooltipProps & {\n text: React.ReactNode;\n};\n\nexport const RawTooltip = React.forwardRef(\n // eslint-disable-next-line\n ({ text, children, ...rest }, ref) => (\n \n {text}\n \n ),\n);\n","import React, { useEffect } from 'react';\nimport { RawTooltip, RawTooltipProps } from './raw-tooltip';\nimport { RepositionOnChange } from '../types';\n\nexport type TooltipProps = RawTooltipProps & RepositionOnChange;\n\nexport const Tooltip = React.forwardRef(\n ({ popper, text, rePositionOnChange, ...rest }, ref) => {\n useEffect(() => {\n rePositionOnChange && popper.scheduleUpdate();\n }, [text, popper, rePositionOnChange]);\n\n return ;\n },\n);\n\nTooltip.defaultProps = {\n rePositionOnChange: false,\n};\n","export enum Theme {\n Light = 'light',\n Dark = 'dark',\n}\n","import React from 'react';\n\nconst Badge = ({ className }) => (\n \n \n \n);\n\nexport default Badge;\n","import { createAction } from '@reduxjs/toolkit';\n\nexport const reset = createAction('reset');\n","import { InfoCircle } from '@saleshandy/icons';\nimport React from 'react';\nimport { LinkBadgeProps } from './type';\n\nconst LinkBadge: React.FC = ({\n label = 'Know more',\n url,\n className,\n Icon = ,\n}) => (\n \n \n \n);\n\nexport default LinkBadge;\n","export * from './priority';\nexport * from './types';\n","import React from 'react';\nimport { Container } from 'react-bootstrap';\nimport { Redirect, Route, Switch } from 'react-router-dom';\n\nimport Suspense from '../../shared/components/suspense';\nimport ErrorBoundaryWrapper from '../../shared/components/error-boundary-wrapper';\nimport retryLazy from '../retry-lazy';\n\nconst AgencyClientList = React.lazy(() =>\n retryLazy(() => import('./components/agency-client-list')),\n);\n\nconst AgencyClient: React.FC = () => (\n \n \n \n \n \n \n \n \n \n \n);\n\nexport default AgencyClient;\n","import React from 'react';\nimport {\n Popover as ReactBootstrapPopover,\n PopoverProps as ReactBootstrapPopoverProps,\n} from 'react-bootstrap';\nimport classNames from 'classnames';\nimport { Modify } from '../../../../types';\nimport { Theme } from './enums';\n\nexport type RawPopoverProps = Modify<\n ReactBootstrapPopoverProps,\n {\n header?: React.ReactNode;\n content: React.ReactNode;\n theme?: Theme;\n }\n>;\n\nexport const RawPopover = React.forwardRef(\n // eslint-disable-next-line\n ({ header, content, className, children, theme, ...rest }, ref) => {\n const popoverClass = classNames([\n 'bs-popover-inner',\n className,\n theme?.toString(),\n ]);\n return (\n \n {header && (\n \n {header}\n \n )}\n \n
    \n
    {content}
    \n
    \n
    \n
    \n );\n },\n);\n","import React, { useEffect } from 'react';\nimport { RawPopover, RawPopoverProps } from './raw-popover';\nimport { RepositionOnChange } from '../types';\nimport { Theme } from './enums';\nimport { ForwardRef } from '../../../../types/forward-ref';\n\nexport type PopoverProps = RawPopoverProps & RepositionOnChange;\n\nexport const Popover = React.forwardRef(\n ({ popper, header, content, rePositionOnChange, ...rest }, ref) => {\n useEffect(() => {\n rePositionOnChange && popper.scheduleUpdate();\n }, [header, content, popper, rePositionOnChange]);\n\n return ;\n },\n) as ForwardRef & {\n Theme: typeof Theme;\n};\n\nPopover.defaultProps = {\n rePositionOnChange: false,\n};\n\nPopover.Theme = Theme;\n","import React, { useState } from 'react';\nimport { Overlay, OverlayProps } from '../overlay';\nimport { Popover, PopoverProps } from './popover';\nimport { Placement, TriggerType } from '../enums';\nimport { generatePopoverId } from '../helpers';\n\nexport type OverlayPopoverProps = Omit &\n Partial> &\n Pick &\n Pick;\n\nexport const OverlayPopover: React.FC = ({\n id: _id,\n placement,\n trigger,\n header,\n content,\n rePositionOnChange,\n className,\n children,\n theme,\n ...rest\n}) => {\n const [id] = useState(_id || generatePopoverId());\n const popover = (\n \n );\n return (\n \n {children}\n \n );\n};\n\nOverlayPopover.defaultProps = {\n placement: Placement.Right,\n trigger: TriggerType.Click,\n};\n","import React, { ReactElement, Ref } from 'react';\nimport { ArrowProps, Placement } from 'react-bootstrap/Overlay';\nimport composeRefs from '@seznam/compose-react-refs';\nimport classNames from 'classnames';\nimport Transfer, { ExtendedOption, TransferProps } from './transfer';\n\nexport type TransferOverlayProps = {\n id: string;\n placement?: Placement;\n arrowProps?: ArrowProps;\n popper?: any;\n show?: boolean;\n style?: any;\n customRef?: Ref;\n transferContainerStyle?: any;\n autoFocusSearch?: boolean;\n downSearch?: boolean;\n} & TransferProps;\n\n// Disabled @typescript-eslint/no-unused-vars warning for some props as they\n// needs to be extracted for using the rest operator.\n// They aren't used anywhere for now, but they will be useful in the future.\nconst TransferOverlay = (React.forwardRef(\n (\n {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n id,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n placement,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n arrowProps,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n show,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n popper,\n style,\n customRef,\n className,\n ...rest\n }: TransferOverlayProps,\n ref: Ref,\n ) => {\n const transferOverlayClass = classNames(['transfer-overlay', className]);\n return (\n \n {...rest} />\n \n );\n },\n) as unknown) as (\n props: TransferOverlayProps & { ref?: Ref },\n) => ReactElement;\n\nexport default TransferOverlay;\n","import React, { ReactElement, Ref, useState } from 'react';\nimport { Overlay, OverlayProps, Placement, TriggerType } from '../overlay';\nimport TransferOverlay, { TransferOverlayProps } from './transfer-overlay';\nimport { ExtendedOption, TransferProps } from './transfer';\nimport { generateTransferOverlayId } from './helpers';\n\nexport type TransferOverlayTriggerProps = Omit &\n Partial, 'id' | 'style'>> &\n TransferProps;\n\nconst TransferOverlayTrigger = (React.forwardRef(\n (\n {\n multiSelect,\n header,\n footer,\n options,\n // tabs,\n // showTabs,\n optionRenderer,\n filterOption,\n customFilterOption,\n optionFilterProp,\n selectedOptionKey,\n onSearch,\n onKeyDown,\n onSelect,\n onDeselect,\n onChange,\n showOptionsSeparator,\n showSearch,\n initialSearchValue,\n showEmpty,\n emptyText,\n customEmptyElement,\n className,\n id: _id,\n style,\n children,\n trigger = TriggerType.Click,\n rootClose = true,\n placement = Placement.Bottom,\n searchPlaceholder,\n isLoading,\n clickListenerOn,\n showListSeparator,\n listSeparatorOptions,\n transferContainerStyle,\n autoFocusSearch,\n downSearch,\n loadMoreMeta,\n ...rest\n }: TransferOverlayTriggerProps,\n ref: Ref,\n ) => {\n const [id] = useState(_id || generateTransferOverlayId());\n return (\n \n id={id}\n style={style}\n multiSelect={multiSelect}\n header={header}\n footer={footer}\n options={options}\n // tabs={tabs}\n // showTabs={showTabs}\n optionRenderer={optionRenderer}\n filterOption={filterOption}\n customFilterOption={customFilterOption}\n optionFilterProp={optionFilterProp}\n selectedOptionKey={selectedOptionKey}\n onSearch={onSearch}\n onKeyDown={onKeyDown}\n onSelect={onSelect}\n onDeselect={onDeselect}\n onChange={onChange}\n showOptionsSeparator={showOptionsSeparator}\n showSearch={showSearch}\n initialSearchValue={initialSearchValue}\n showEmpty={showEmpty}\n emptyText={emptyText}\n customEmptyElement={customEmptyElement}\n className={className}\n customRef={ref}\n searchPlaceholder={searchPlaceholder}\n isLoading={isLoading}\n clickListenerOn={clickListenerOn}\n showListSeparator={showListSeparator}\n listSeparatorOptions={listSeparatorOptions}\n transferContainerStyle={transferContainerStyle}\n downSearch={downSearch}\n autoFocusSearch={autoFocusSearch}\n loadMoreMeta={loadMoreMeta}\n />\n }\n >\n {children}\n \n );\n },\n) as unknown) as ((\n props: TransferOverlayTriggerProps & { ref?: Ref },\n) => ReactElement) & { propTypes?: Record };\n\n// Move this to the transfer.tsx file.\n// Added here because of the types mismatch.\nTransferOverlayTrigger.propTypes = {\n selectedOptionKey: (props, propName) => {\n if (\n !props.multiSelect &&\n Array.isArray(props[propName]) &&\n props[propName].length > 1\n ) {\n throw new Error(\n `\\`${propName}\\` can't contain multiple values if \\`multiSelect\\` is set to \\`false\\`. Either set \\`multiSelect\\` to \\`true\\` or pass only one value to \\`${propName}\\``,\n );\n }\n },\n};\n\nexport default TransferOverlayTrigger;\n","import { generateId } from '../../../utils';\n\nexport const generateTransferOverlayId = (variableLength?: number) =>\n generateId({ prefix: 'transfer-overlay', variableLength });\n","export enum BannerVariant {\n Success = 'success',\n Danger = 'Danger',\n}\n","import { createSlice, PayloadAction } from '@reduxjs/toolkit';\n\nimport { PageHeaderAlertTypes } from '../../../../utils/page-header-alert-types';\nimport { BannerVariant } from './types';\nimport { Routes } from '../../../../routes';\n\ntype State = {\n bannerAlert: string;\n icon: string;\n message: string;\n CTAText: string;\n bannerAlertType: string;\n CTAType: string;\n CTAUrl: string;\n target: string;\n bannerMessageOne: string;\n bannerMessageTwo: string;\n paymentActionType: string;\n};\n\ntype Action = {\n bannerType: string;\n paymentActionUrl?: string;\n message?: string;\n ctaText?: string;\n bannerMessageOne?: string;\n bannerMessageTwo?: string;\n paymentActionType?: string;\n};\n\nconst initialState: State = {\n bannerAlert: '',\n icon: '',\n message: '',\n CTAText: '',\n bannerAlertType: '',\n CTAType: '',\n CTAUrl: '',\n target: '',\n bannerMessageOne: '',\n bannerMessageTwo: '',\n paymentActionType: '',\n};\n\nconst pageHeaderSlice = createSlice({\n name: 'pageHeaderBannerAlert',\n initialState,\n reducers: {\n setPageHeaderBannerAlert: (state, action: PayloadAction) => {\n switch (action.payload.bannerType) {\n case PageHeaderAlertTypes.PAYMENT_PENDING: {\n state.bannerAlert = PageHeaderAlertTypes.PAYMENT_PENDING;\n state.icon = 'svg';\n state.message =\n action.payload.message || action.payload.bannerMessageOne;\n state.bannerMessageTwo = action.payload.bannerMessageTwo;\n state.paymentActionType = action.payload.paymentActionType;\n state.CTAText = action.payload.ctaText || 'Take action now';\n state.bannerAlertType = BannerVariant.Danger;\n state.CTAType = 'redirect';\n state.CTAUrl = action.payload.paymentActionUrl;\n state.target = '_blank';\n break;\n }\n case PageHeaderAlertTypes.TRIAL_EXPIRED: {\n state.bannerAlert = PageHeaderAlertTypes.TRIAL_EXPIRED;\n state.icon = 'svg';\n state.message = action.payload.message;\n state.CTAText = action.payload.ctaText;\n state.bannerAlertType = BannerVariant.Danger;\n state.CTAType = 'redirect';\n state.CTAUrl = Routes.Setting_Billing_Upgrade_Email_Outreach_Plan;\n break;\n }\n case PageHeaderAlertTypes.NONE: {\n state.CTAText = initialState.CTAText;\n state.CTAType = initialState.CTAType;\n state.CTAUrl = initialState.CTAUrl;\n state.bannerAlert = initialState.bannerAlert;\n state.bannerAlertType = initialState.bannerAlertType;\n state.icon = initialState.icon;\n state.message = initialState.message;\n state.target = initialState.target;\n break;\n }\n\n default:\n break;\n }\n },\n },\n});\n\nexport const { setPageHeaderBannerAlert } = pageHeaderSlice.actions;\nexport default pageHeaderSlice.reducer;\n","import React from 'react';\nimport {\n createUltimatePagination,\n UltimatePaginationProps,\n} from 'react-ultimate-pagination';\nimport {\n Ellipsis,\n FirstPageLink,\n LastPageLink,\n NextPageLink,\n Page,\n PreviousPageLink,\n Wrapper,\n} from './pages';\n\nconst itemTypeToComponent = {\n PAGE: Page,\n ELLIPSIS: Ellipsis,\n FIRST_PAGE_LINK: FirstPageLink,\n PREVIOUS_PAGE_LINK: PreviousPageLink,\n NEXT_PAGE_LINK: NextPageLink,\n LAST_PAGE_LINK: LastPageLink,\n};\n\nconst UltimatePagination = createUltimatePagination({\n itemTypeToComponent,\n WrapperComponent: Wrapper,\n});\n\nexport type PaginationProps = Omit;\n\n// check default configurations here:\n// https://github.com/ultimate-pagination/react-ultimate-pagination#usage\n\nconst Pagination: React.FC = (props) => {\n const { totalPages, currentPage } = props;\n\n if (currentPage === null || currentPage > totalPages) {\n return null;\n }\n\n return ;\n};\n\nPagination.defaultProps = {\n hideFirstAndLastPageLinks: true,\n};\n\nexport default Pagination;\n","import { Pagination as ReactBootstrapPagination } from 'react-bootstrap';\nimport Icon from '../atoms/icon/icon';\nimport React from 'react';\nimport { PaginationComponentProps } from 'react-ultimate-pagination';\n\nexport const Page = ({\n value,\n isActive,\n isDisabled,\n onClick,\n}: PaginationComponentProps) => (\n \n {value}\n \n);\n\nexport const Ellipsis = () => (\n \n);\n\nexport const FirstPageLink = ({\n isActive,\n isDisabled,\n onClick,\n}: PaginationComponentProps) => (\n \n \n \n);\n\nexport const PreviousPageLink = ({\n isActive,\n isDisabled,\n onClick,\n}: PaginationComponentProps) => (\n \n \n \n);\n\nexport const NextPageLink = ({\n isActive,\n isDisabled,\n onClick,\n}: PaginationComponentProps) => (\n \n \n \n);\n\nexport const LastPageLink = ({\n isActive,\n isDisabled,\n onClick,\n}: PaginationComponentProps) => (\n \n \n \n);\n\nexport const Wrapper: React.FC = (props) => (\n {props.children}\n);\n","import { Images } from '../../app-constants';\nimport React from 'react';\nimport ImageIcon from './image-icon';\n\nconst Close = () => ;\n\nexport default Close;\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport Button from '../../../../../../shared/design-system/components/atoms/button';\nimport Close from '../../../../../../shared/components/images/close';\nimport { accessibleOnClick } from '../../../../../../shared/utils/accessible-on-click';\nimport { IntercomEvents } from '../../../../../../shared/enums/intercom-events';\n\ntype IProps = {\n onRetryPayment: () => void;\n};\n\nconst PaymentFailed: React.FC = ({ onRetryPayment }) => {\n const { t } = useTranslation();\n\n return (\n
    \n
    \n
    \n \n
    \n

    {t('labels.payment_failed')}

    \n\n
    \n {t('messages.payment_failed_message')}\n window.Intercom(IntercomEvents.SHOW))}\n >\n {t('labels.contact_support')}\n \n
    \n\n
    \n \n {t('labels.retry_payment')}\n \n
    \n
    \n
    \n );\n};\n\nexport default PaymentFailed;\n","import React, { useState, useEffect, useRef, useCallback } from 'react';\nimport { Trash } from '@saleshandy/icons';\nimport Button from '../../design-system/components/atoms/button';\nimport Modal from '../../design-system/components/atoms/modal/modal';\nimport { DeleteAlertModalProps, ConfirmDeleteContentProps } from './type';\nimport Input from '../../design-system/components/input/input';\n\nconst ConfirmDeleteContent: React.FC = ({\n onInputChange,\n inputValue,\n focusInputRef,\n deleteConfirmText = 'delete',\n onKeyPress,\n}) => (\n
    \n

    \n Confirm by typing\n \n {deleteConfirmText}\n \n below\n

    \n \n
    \n);\n\nconst DeleteAlertModal: React.FC = ({\n show,\n title,\n onClose,\n onSubmit,\n className = '',\n contents = [],\n isSubmitLoading = false,\n isConfirmDelete = false,\n children = '',\n deleteConfirmText = isConfirmDelete && 'delete',\n submitButtonText = 'Delete',\n}) => {\n const focusInputRef = useRef(null);\n const [isInputValid, setIsInputValid] = useState(false);\n const [inputValue, setInputValue] = useState('');\n\n const onInputChange = (\n value: string,\n e: React.ChangeEvent,\n ) => {\n e.preventDefault();\n const isValidInput = value.trim();\n setInputValue(isValidInput);\n setIsInputValid(isValidInput === deleteConfirmText);\n };\n\n const handleKeyPress = useCallback(\n (e: React.KeyboardEvent) => {\n if (e.key === 'Enter' && isInputValid) {\n onSubmit();\n }\n },\n [isInputValid, onSubmit],\n );\n\n useEffect(() => {\n if (show && focusInputRef.current) {\n focusInputRef.current.focus();\n }\n }, [show]);\n\n const generateModalTitleContent = () => (\n
    \n \n

    {title}

    \n
    \n );\n\n return (\n {\n if (focusInputRef.current) {\n focusInputRef.current.focus();\n }\n },\n }}\n >\n {contents.length > 0 && (\n
    \n {contents.map((contentItem, index) => (\n

    \n {contentItem}\n

    \n ))}\n
    \n )}\n {isConfirmDelete && (\n \n )}\n {children &&
    {children}
    }\n \n );\n};\n\nexport default DeleteAlertModal;\n","/* eslint-disable jsx-a11y/control-has-associated-label */\nimport React, { ReactNode } from 'react';\nimport { ReportStructure } from './types/report-structure';\nimport { reportConstants } from './constants/report-constants';\n\ntype IProps = {\n structure: ReportStructure;\n showContent?: boolean;\n infoTitle?: string;\n infoContent?: string;\n infoDescription?: ReactNode;\n isAddSequenceStateModal?: boolean;\n};\n\nconst ReportPage: React.FC = ({\n structure,\n showContent,\n infoDescription,\n isAddSequenceStateModal = false,\n}) => {\n const { heading, sections, reportData } = structure;\n\n const isDownloadTxtShow = () =>\n sections.some(({ value, link }) => link && value > 0);\n\n const handleDownloadErrorReport = () => {\n const failedReport = reportData.failedResultData.failedReport;\n\n if (failedReport && failedReport.length > 0) {\n const csvContent = `Email,Failed reason\\n${failedReport\n .map((item) => `\"${item.email}\",\"${item.reason}\"`)\n .join('\\n')}`;\n\n const blob = new Blob([csvContent], { type: 'text/csv' });\n const url = URL.createObjectURL(blob);\n\n const a = document.createElement('a');\n a.href = url;\n a.download = 'sh_seq_import_err_report.csv';\n a.click();\n\n // Release the URL resource\n URL.revokeObjectURL(url);\n }\n };\n\n if (isAddSequenceStateModal) {\n return (\n
    \n {sections.map(({ topic, value, icon, link }) => {\n const shouldShowDownload =\n topic === reportConstants.FAILED_TO_MOVE && value > 0;\n return (\n
    \n
    \n \n {topic}\n {/* {reportData.payload.message} */}\n \n
    \n \n {value}\n \n 0 && 'margin-space'}`}\n >\n {icon}\n \n \n {link && value > 0 && (\n \n Download\n \n )}\n \n
    \n
    \n {shouldShowDownload && (\n \n Download Error Report\n
    \n )}\n
    \n );\n })}\n \n );\n }\n\n return (\n \n
    \n
    \n \n \n \n \n {heading}\n \n \n \n \n \n {sections.map(({ topic, value, icon, link }) => (\n \n \n \n \n ))}\n \n
    \n
    {topic}\n
    \n \n {value}\n \n\n {icon}\n
    \n\n {link && value > 0 ? (\n \n Download Error Report\n \n ) : (\n topic === reportConstants.FAILED_TO_MOVE &&\n value > 0 && (\n \n Download Error Report\n \n )\n )}\n
    \n
    \n {showContent && infoDescription}\n
    \n \n );\n};\n\nexport default ReportPage;\n","import React from 'react';\n\nconst PrivacyPolicy = () => (\n
    \n

    \n By clicking sign up, you agree to the Saleshandy’s{' '}\n \n Privacy Policy\n {' '}\n and{' '}\n \n Terms of Service\n \n .\n

    \n
    \n);\n\nexport default PrivacyPolicy;\n","import React from 'react';\n\nconst TimezoneOptionRenderer = ({ timezone }) => {\n const timeZoneArray = timezone.split('(');\n return (\n
    \n
    {timeZoneArray[0]}
    \n
    ({timeZoneArray[1]}
    \n
    \n );\n};\nexport default TimezoneOptionRenderer;\n","import React from 'react';\nimport { Images } from '../../app-constants';\nimport ImageIcon from './image-icon';\n\nconst AlertTriangle = () => (\n \n);\n\nexport default AlertTriangle;\n","import React from 'react';\nimport Avatar from '../initials-avatar';\n\ntype IProps = {\n firstName: string;\n lastName: string;\n};\n\nexport const AvatarWithName: React.FC = ({ firstName, lastName }) => (\n
    \n \n
    \n {firstName} {lastName}\n
    \n
    \n);\n","// RadioButtonGroupWithShow.tsx\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport RadioButtonGroup from '../../../../../../../../../../shared/design-system/components/radio-button-group';\n\ninterface Option {\n id: number;\n label: JSX.Element;\n value: string;\n descriptionKey?: string;\n titleKey?: string;\n}\n\ninterface RadioButtonGroupWithShowProps {\n name: string;\n options: Option[];\n value: string;\n onChange: (val: string) => void;\n shouldDisplayHorizontal: boolean;\n}\n\nconst RadioButtonGroupWithShow: React.FC = ({\n name,\n options,\n value,\n onChange,\n shouldDisplayHorizontal,\n}) => {\n return (\n \n );\n};\n\nexport default RadioButtonGroupWithShow;\n","import React from 'react';\nimport ProspectTag from '.';\nimport { ProspectTagProps } from './prospect-tag';\nimport Icon from '../icon';\n\ntype ProspectTagWithCancelProps = ProspectTagProps & {\n onCancel: (tag: any) => void;\n};\n\n/**\n * Enhanced Prospect Tag.\n * Enriched with the CTA to cancel a tag.\n */\nconst ProspectTagWithCancel: React.FC = ({\n onCancel,\n ...props\n}) => {\n return (\n \n
    \n \n
    \n
    \n );\n};\n\nexport default ProspectTagWithCancel;\n","import React, { useEffect, useRef } from 'react';\nimport { useHistory, useLocation } from 'react-router';\nimport { Button } from '@saleshandy/design-system';\nimport { useTranslation } from 'react-i18next';\nimport Modal from '../../../shared/design-system/components/atoms/modal';\nimport { accessibleOnClick } from '../../../shared/utils/accessible-on-click';\nimport { isLeadFinderURL } from '../../leads/helpers/helper';\nimport {\n getWhitelabelCompanyName,\n isAgency,\n} from '../../../shared/utils/user-details';\nimport { supportUrls } from '../../../shared/utils/urls';\nimport { getCurrentRoute } from '../../../shared/utils/get-current-route';\n\ntype IProps = {\n show: boolean;\n firstName: string;\n onViewSampleSequence?: VoidFunction;\n onCreateNewSequence?: VoidFunction;\n onClose: VoidFunction;\n updateWatchVideoProfileProgressStep: VoidFunction;\n isGettingStartedVideModalShowThroughIcon: boolean;\n isCreateSequenceRequestPending?: boolean;\n isViewSampleSequenceRequestPending?: boolean;\n isLeadFinderOnboarding?: boolean;\n};\n\nconst WatchVideoModal: React.FC = ({\n show,\n firstName,\n onViewSampleSequence,\n onCreateNewSequence,\n onClose,\n updateWatchVideoProfileProgressStep,\n isGettingStartedVideModalShowThroughIcon,\n isViewSampleSequenceRequestPending,\n isCreateSequenceRequestPending,\n isLeadFinderOnboarding = isLeadFinderURL(),\n}) => {\n const history = useHistory();\n const location = useLocation();\n const { t } = useTranslation();\n const viewSampleSequenceBtnRef = useRef();\n const isWhiteLabelVideo =\n getCurrentRoute(location) === '/settings/whitelabel';\n\n const getVideoLink = () => {\n if (isWhiteLabelVideo) {\n return supportUrls.whitelabelYoutubeURL;\n }\n\n if (isAgency()) {\n return supportUrls.agencyOnboardingVideoURL;\n }\n if (isLeadFinderOnboarding) {\n return supportUrls.leadOnboardingVideoURL;\n }\n\n return supportUrls.outreachOnboardingVideoURL;\n };\n\n const generateWelcomeText = () => {\n if (isGettingStartedVideModalShowThroughIcon) {\n if (firstName && firstName.length > 15) {\n return `Hi ${firstName.substring(0, 15)}...!👋, Welcome to Saleshandy`;\n }\n return `Hi ${firstName}!👋, Welcome to Saleshandy`;\n }\n\n return t('messages.learn_create_sequence');\n };\n\n const onSubmit = () => {\n history.push({\n search: 'videoskipped',\n });\n setTimeout(() => {\n history.push({\n search: '',\n });\n }, 2000);\n onViewSampleSequence();\n };\n\n const onCancel = () => {\n history.push({\n search: 'videoskipped',\n });\n setTimeout(() => {\n history.push({\n search: '',\n });\n }, 2000);\n onCreateNewSequence();\n };\n\n useEffect(() => {\n if (show && viewSampleSequenceBtnRef.current) {\n viewSampleSequenceBtnRef.current.focus();\n }\n }, [viewSampleSequenceBtnRef, show]);\n\n useEffect(() => {\n const script = document.createElement('script');\n script.setAttribute(\n 'src',\n 'https://fast.wistia.net/assets/external/E-v1.js',\n );\n script.setAttribute('async', '');\n\n document.body.appendChild(script);\n }, []);\n\n return (\n \n
    \n \n \n
    \n\n
    \n
    \n \n {isWhiteLabelVideo\n ? `Setup your brand identity with ${\n getWhitelabelCompanyName() || 'Saleshandy'\n }`\n : `Welcome to ${getWhitelabelCompanyName() || 'Saleshandy'}!`}\n \n

    \n {isWhiteLabelVideo\n ? 'Unlock a Tailored Experience: Your Brand, Your Domain, Your Identity - All Seamlessly Integrated.'\n : 'Take 3 minutes now to save hours down the line by watching this video or else directly jump into the product.'}\n

    \n
    \n\n {isLeadFinderOnboarding || isWhiteLabelVideo ? (\n
    \n \n
    \n ) : (\n
    \n \n View sample sequence\n \n \n
    \n )}\n
    \n \n \n );\n};\n\nexport default WatchVideoModal;\n","// utils.ts\n\nimport { Location } from 'history';\n\n/**\n * Returns the current route (pathname) from a Location object.\n *\n * @param location - The location object from react-router-dom.\n * @returns The current pathname.\n */\nexport const getCurrentRoute = (location: Location): string =>\n location.pathname;\n","import { EmailInboxFilters } from '../../type';\nimport { UnifiedInboxFeed } from '../../enum/unified-inbox.enum';\nimport { ConversationType } from '../../../prospect/enums/prospect';\n\nexport const getDefaultFilters = (): EmailInboxFilters => ({\n page: 1,\n limit: 50, // Changed from 10 to 50 limit for new changes\n\n feed: UnifiedInboxFeed.All,\n search: '',\n conversationType: ConversationType.All,\n\n outcomes: null,\n owners: [],\n sequences: [],\n emailAccounts: [],\n clients: [],\n date: null,\n});\n","import { useMemo } from 'react';\n\nconst useBaseRoute = (\n pathname: string,\n): { baseRoute: string; isBase: boolean } => {\n const baseRouteData = useMemo(() => {\n const segments = pathname.split('/').filter(Boolean);\n const baseRoute = segments[0] || '';\n const isBase = segments.length <= 1;\n return { baseRoute, isBase };\n }, [pathname]);\n\n return baseRouteData;\n};\n\nexport default useBaseRoute;\n","import { useLocation } from 'react-router';\nimport store from '../../store';\nimport { checkIsLtdPlan } from '../design-system/components/molecules/subscription-plan-details/helper/helper';\nimport { Permissions } from './access-control/enums/permissions';\nimport hasPermission from './access-control/has-permission';\nimport { isAgencyUser, getAgencyUserRole } from './user-details';\nimport { UserRole } from '../enums/user-roles';\nimport { isFreePlan } from './plans';\nimport { Routes } from '../../components/home/components/header/header';\nimport { isPlanDowngradedFromTrial } from '../../components/home/utils/plan-transition';\n\nexport const getUpgradePlanCTA = (isCTAForModal = false) => {\n const state = store.getState();\n const planType = state.home?.subscription?.planType;\n const planTransitionDetails = state.home.subscription?.planTransitionDetails;\n const location = useLocation();\n const path = location.pathname.split('/')?.[1];\n\n if (isAgencyUser()) {\n const agencyUserRole = getAgencyUserRole();\n if (agencyUserRole && agencyUserRole === UserRole.AGENCYOWNER) {\n return 'Contact_Support';\n }\n return 'Contact_Owner';\n }\n\n if (checkIsLtdPlan(planType)) {\n return 'Contact_Support';\n }\n\n if (!hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)) {\n return 'Contact_Owner';\n }\n\n if(isFreePlan()){\n if (path === Routes.LEADS || isPlanDowngradedFromTrial(planTransitionDetails)) {\n return 'upgrade_now';\n }\n return 'resume_email_sending';\n }\n\n\n return isCTAForModal ? 'upgrade' : 'upgrade_now';\n};\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { Link } from 'react-router-dom';\nimport { IProps } from './types';\nimport ContactStatusTag from '../../../../../../../../shared/design-system/components/atoms/contact-status-tag/contact-status-tag';\nimport TruncatedTextWithTooltip from '../../../../../../../../shared/components/truncated-text-with-tooltip/truncated-text-with-tooltip';\nimport { getOutcomeIcon } from '../../../../../../../sequence/components/sequence-single-content/components/sequence-single-contacts/components/contact-list-content/components/helpers/step-filter-mapper';\nimport {\n getOptionFromOutcome,\n mapOutcomeToOption,\n} from '../../../../../../../sequence/components/sequence-single-content/components/sequence-single-contacts/components/prospect-outcome-select/utils/helper';\nimport GenericCustomOutcomeDropdown from '../../../../../../../settings/components/custom-outcomes/components/custom-outcome-dropdown';\n\nconst DataCard: React.FC = ({\n data,\n showAllSequences,\n allOutcomes,\n}) => {\n const { t } = useTranslation();\n\n return (\n
    \n
    \n
    \n {t('labels.sequence')}\n
    \n
    \n {t('labels.status')}\n
    \n
    \n Outcome\n
    \n
    \n
    \n {data.map(\n ({ sequenceId, sequence, status, categoryId, prospectId }) => {\n const selectedOutcomeOption = getOptionFromOutcome(\n allOutcomes,\n categoryId,\n );\n return (\n
    \n
    \n \n \n \n
    \n
    \n {status ? (\n \n ) : (\n '-'\n )}\n
    \n\n
    \n {\n showAllSequences();\n }}\n changeOutcomeRequestPayload={{\n sequenceId,\n prospectId,\n }}\n initialSelectedOption={selectedOutcomeOption}\n optionRenderer={(option) => (\n
    \n {getOutcomeIcon(option?.name, false, {\n isDefault: option.isDefault,\n sentiment: option.sentiment,\n })}\n {option.name}\n
    \n )}\n />\n
    \n
    \n );\n },\n )}\n
    \n
    \n );\n};\n\nexport default DataCard;\n","import { BillingOption } from '../../../../../utils/billing-options';\nimport { ModifyPlanAction } from '../../../../../utils/subscription-plans';\n\nexport const getTotalAmount = (\n billingOption,\n isModifySubscription,\n subTotal,\n sendGetCalculatePayResponse,\n action,\n alreadyPaid = 0,\n) => {\n if (billingOption === BillingOption.LIFETIME) {\n return subTotal - alreadyPaid;\n }\n if (sendGetCalculatePayResponse) {\n subTotal = sendGetCalculatePayResponse?.amountToPay;\n }\n\n if (\n isModifySubscription &&\n action === ModifyPlanAction.AddSlots &&\n !sendGetCalculatePayResponse\n ) {\n return 0;\n }\n\n return billingOption === BillingOption.ANNUALLY && !isModifySubscription\n ? subTotal\n : subTotal - alreadyPaid;\n};\n","/* eslint-disable jsx-a11y/accessible-emoji */\nimport React from 'react';\nimport { Images } from '../../../../../../shared/app-constants';\nimport { supportUrls } from '../../../../../../shared/utils/urls';\n\ntype Testimonials = {\n id: number;\n message: React.ReactNode;\n name: string;\n profileURL: string;\n role: string;\n};\n\ntype Customer = {\n id: number;\n logo: string;\n};\n\nconst testimonials: Testimonials[] = [\n {\n id: 1,\n message: (\n \n \"One of the{' '}\n simplest cold email automation platforms\n with good pricing. Customer support is highly helpful.\"\n \n ),\n name: 'Cong Nguyen',\n profileURL: Images.Testimonial4Bg,\n role: 'Synodus, Founder & CEO',\n },\n {\n id: 2,\n message: (\n \n \"The future of cold email tools has\n arrived. The simplicity and straightforwardness of the product are\n great.\"\n \n ),\n name: 'Thomas Foley',\n profileURL: Images.Testimonial3Bg,\n role: 'HighTouch, Founder',\n },\n {\n id: 3,\n message: (\n \n \"The perfect outreach platform for our\n business. You can add unlimited email accounts to increase volume at any\n scale.\"\n \n ),\n name: 'Gino Taka',\n profileURL: Images.Testimonial2Bg,\n role: 'Skyrocket, Founder',\n },\n];\n\nconst customers: Customer[] = [\n {\n id: 1,\n logo: Images.GoDaddyLogo,\n },\n {\n id: 2,\n logo: Images.CloudtalkLogo,\n },\n {\n id: 3,\n logo: Images.VrooziLogo,\n },\n {\n id: 4,\n logo: Images.IntegratelyLogo,\n },\n {\n id: 5,\n logo: Images.NeptikLogoBlack,\n },\n {\n id: 6,\n logo: Images.OpslyftLogo,\n },\n {\n id: 7,\n logo: Images.RevvixLogo,\n },\n {\n id: 8,\n logo: Images.DorikLogo,\n },\n];\n\nconst UpgradePlanStatic: React.FC<({link: string})> = ({link = ''}): JSX.Element => (\n
    \n
    \n \n 🤔 Have questions? We have your questions answered.{' '}\n \n View FAQs\n \n \n
    \n\n
    \n \n Over 10,000 businesses are generating $15M in revenue with Saleshandy\n \n\n
    \n {customers.map((customer) => (\n \n {`customer-${customer.id}`}\n
    \n ))}\n
    \n\n
    \n
    \n
    \n \"g2-logo\"\n
    \n
    \n
    \n \"g2-rating\"\n
    4.5 out of 5 on G2
    \n
    \n
    \n
    \n \"g2-achievement\"\n
    \n
    \n \n Ensuring Trust, Securing Success.\n \n
    \n \"certificates\"\n
    \n
    \n
    \n
    \n
    \n
    \n Don't just take it from us\n
    \n
    \n {testimonials.map((testimonial) => (\n \n
    \n {testimonial.message}\n
    \n
    \n
    \n \n
    \n
    \n
    \n {testimonial.name}\n
    \n
    \n {testimonial.role}\n
    \n
    \n
    \n
    \n ))}\n
    \n
    \n \n);\n\nexport default UpgradePlanStatic;\n","import React from 'react';\n\nexport const Angelist = ({ width = 16, height = 16 }) => (\n \n \n \n);\n","import React from 'react';\n\nexport const Stackoverflow = ({ width = 16, height = 16 }) => (\n \n \n \n);\n","import React from 'react';\n\nexport const Github = ({ width = 16, height = 16 }) => (\n \n \n \n);\n","import React from 'react';\n\nexport const Quora = ({ width = 16, height = 16 }) => (\n \n \n \n);\n","import React from 'react';\n\nexport const Me = ({ width = 16, height = 16 }) => (\n \n \n \n);\n","import React from 'react';\n\nexport const NogenderAvatar = () => (\n \n \n \n \n \n \n \n \n \n \n);\n","import {\n Book,\n Briefcase,\n CircleCheck,\n Copy,\n GraduationHat,\n Mail,\n PhoneSignal,\n World,\n} from '@saleshandy/icons';\nimport React, { useState } from 'react';\nimport { OverlayTrigger, Tooltip } from 'react-bootstrap';\nimport { Placement } from '../../../../shared/design-system/components/overlay';\nimport ProspectTagsRow from '../../../../shared/design-system/components/molecules/prospect-tags-row';\nimport {\n getCircleCheckIconClassName,\n getCircleCheckTooltip,\n getDomainsFromEmails,\n} from '../../helpers/helper';\n\nexport default function ViewMore({ lead }) {\n const getTooltip = (text: string) => (\n \n {text}\n \n );\n\n const leadProffesionalInfo = lead?.job_history ?? [];\n const leadEducationInfo = lead?.education ?? [];\n const skills = lead?.skills ?? [];\n const emails = lead?.emails ?? [];\n const phones = lead?.phones ?? [];\n const domains = getDomainsFromEmails(emails, lead?.current_employer_domain);\n const tags = lead?.tags ?? [];\n\n const [isContactCopied, setIsContactCopied] = useState(false);\n\n const onContactCopied = (contact) => {\n if (document.hasFocus()) {\n navigator.clipboard\n ?.writeText(contact)\n .then(() => {\n setIsContactCopied(true);\n setTimeout(() => setIsContactCopied(false), 2000);\n })\n .catch(() => {});\n }\n };\n return (\n <>\n
    \n
    \n {leadProffesionalInfo && leadProffesionalInfo?.length > 0 && (\n
    \n \n
    \n {leadProffesionalInfo &&\n leadProffesionalInfo?.map((current) => (\n \n {current?.title} @ {current?.company}\n

    \n ))}\n
    \n
    \n )}\n {leadEducationInfo && leadEducationInfo?.length > 0 && (\n
    \n
    \n \n
    \n
    \n {leadEducationInfo &&\n leadEducationInfo.map((currentEducation) => (\n \n {currentEducation?.start} - {currentEducation?.end}{' '}\n {currentEducation?.degree} in {currentEducation?.major}:{' '}\n {currentEducation?.school}\n

    \n ))}\n
    \n
    \n )}\n {skills && skills?.length > 0 && (\n
    \n \n

    \n Skills - {skills.join(', ')}\n

    \n
    \n )}\n
    \n {(phones?.length > 0 || emails?.length > 0) && (\n
    \n

    More Contact Details

    \n {phones &&\n phones?.map((currentPhone) => (\n \n \n \n {currentPhone?.number}\n \n {\n onContactCopied(currentPhone?.number);\n }}\n />\n \n \n
    \n ))}\n {emails &&\n emails?.map((currentEmail) => (\n \n \n\n \n {getCircleCheckTooltip(currentEmail?.grade)}\n \n }\n >\n \n \n \n {currentEmail?.email}\n \n {\n onContactCopied(currentEmail?.email);\n }}\n />\n \n \n
    \n ))}\n\n {domains &&\n domains?.map((currentDomain) => (\n \n e.stopPropagation()}\n >\n \n {currentDomain}\n \n \n ))}\n \n )}\n {tags?.length > 0 && (\n
    \n

    Tags

    \n \n
    \n )}\n \n \n );\n}\n","import React from 'react';\n\nexport const DefaultCompanyLogo = ({ width = 16, height = 16 }) => (\n \n \n \n \n);\n","/* eslint-disable no-nested-ternary */\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { IProps } from './types';\nimport Modal from '../../../../../../../shared/design-system/components/atoms/modal';\nimport Button from '../../../../../../../shared/design-system/components/atoms/button';\n\nconst GetContactDetail: React.FC = ({\n show,\n onHide,\n onDelete,\n isLoading,\n title,\n icon,\n content,\n submitButtonText,\n showCloseIcon,\n disableSubmit = false,\n}) => {\n const { t } = useTranslation();\n\n return (\n \n
    {icon}
    \n
    {title}
    \n \n }\n showCloseIcon={showCloseIcon}\n onClose={onHide}\n cancelButtonText={t('labels.cancel')}\n submitButtonText={submitButtonText}\n onSubmit={onDelete}\n cancelButtonVarient={Button.Variant.Outlined}\n onHide={onHide}\n isSubmitLoading={isLoading}\n isCancelDisabled={false}\n className=\"get-contact-info-modal\"\n isSubmitDisabled={disableSubmit}\n >\n
    {content}
    \n \n );\n};\n\nexport default GetContactDetail;\n","import { leadFinderBulkOperationLimit } from \"../../../shared/utils/user-details\";\n\nexport const LEAD_SAVED_FILTER_MESSAGES = {\n saved_filter_add_success_msg: 'Filter saved',\n saved_filter_edit_success_msg: 'Filter saved',\n saved_filter_delete_success_msg: 'Filter deleted',\n};\n\nexport const LEAD_RECENT_SEARCH_MESSAGES = {\n recent_search_delete_msg: 'Recent search deleted Successfully!',\n};\n\nexport const LEAD_LISTING_MESSAGES = {\n reveal_single_lead_succeess_msg: 'Lead revealed',\n add_to_prospect_single_lead_succeess_msg: 'Prospect added successfully',\n add_to_sequence_single_lead_succeess_msg:\n 'Prospect added to sequence successfully',\n max_limit_reached_tooltip_msg: `Max ${leadFinderBulkOperationLimit()} leads can be selected at once`,\n add_to_sequence_tooltip_msg: 'Add to Sequence',\n bulk_export_success_msg: `Lead exported successfully`,\n bulk_export_error_msg: `Lead exported successfully`,\n};\n","/* eslint-disable react/no-array-index-key */\nimport React from 'react';\nimport { World } from '@saleshandy/icons';\n\nimport {\n filterOutExcludedAndDuplicateDomains,\n getDomainsFromEmails,\n} from '../../helpers/helper';\nimport { accessibleOnClick } from '../../../../shared/utils/accessible-on-click';\n\nconst LeadDomains = ({ lead, expandedLeads, handleViewLess }) => {\n const domains = lead?.isRevealed\n ? getDomainsFromEmails(lead?.emails, lead?.current_employer_domain)\n : filterOutExcludedAndDuplicateDomains(lead?.teaser?.emails?.slice(0, 2));\n return (\n <>\n {lead?.isRevealed && domains.length > 0 && (\n \n {domains.slice(0, 1).map((domain, emailIndex) => (\n
    \n e.stopPropagation()}\n >\n
    \n \n
    \n {domain || ''}\n \n {domains?.length > 1 && !expandedLeads.includes(lead?.id) && (\n handleViewLess(lead))}\n >\n +{domains?.length - 1} more\n \n )}\n
    \n ))}\n \n )}\n\n {!lead?.isRevealed &&\n lead?.teaser?.emails?.length > 0 &&\n domains?.slice(0, 1).map((e: any, ix) => (\n \n event.stopPropagation()}\n >\n
    \n \n
    \n {e}\n \n \n ))}\n \n );\n};\n\nexport default LeadDomains;\n","/* eslint-disable react/no-array-index-key */\n/* eslint-disable jsx-a11y/click-events-have-key-events */\n/* eslint-disable jsx-a11y/no-static-element-interactions */\n/* eslint-disable jsx-a11y/anchor-is-valid */\nimport { Button, ImageIcon } from '@saleshandy/design-system';\nimport {\n Building,\n Check,\n ChevronDown,\n ChevronUp,\n CircleCheck,\n Copy,\n FacebookBw,\n LinkedinBw,\n Mail,\n MailPhoneIcon,\n MapPin,\n PhoneSignal,\n Send,\n TwitterBw,\n UserList,\n} from '@saleshandy/icons';\nimport React, { useState } from 'react';\nimport { OverlayTrigger, Tooltip } from 'react-bootstrap';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { Angelist } from '../../../../shared/svg/angelist';\nimport { Stackoverflow } from '../../../../shared/svg/stackoverflow';\nimport { Github } from '../../../../shared/svg/github';\nimport { Quora } from '../../../../shared/svg/quora';\nimport { Me } from '../../../../shared/svg/me';\nimport { NogenderAvatar } from '../../../../shared/svg/no-gender-avatar';\nimport Checkbox from '../../../../shared/design-system/components/atoms/checkbox';\nimport ViewMore from '../view-more';\nimport {\n OverlayTooltip,\n Placement,\n} from '../../../../shared/design-system/components/overlay';\nimport AddToSequenceModal from '../../../prospect/components/prospect-list/components/modals/add-to-sequence-modal';\nimport { DefaultCompanyLogo } from '../../../../shared/svg/default-company-logo';\nimport {\n leadAddToProspectAPI,\n leadAddToSequenceAPI,\n revealSingleLeadAPI,\n} from '../../helpers/leads.api';\nimport toaster, { Theme } from '../../../../shared/toaster';\nimport { LeadFinderTabKey, LeadRevealType } from '../../type';\nimport { getPostLoadMetaRequest } from '../../../home/extra-actions';\nimport GetContactDetail from '../../../prospect/components/prospect-list/components/modals/get-contact-info-modal';\nimport { RootState } from '../../../../store/root-reducer';\nimport { LEAD_LISTING_MESSAGES } from '../../helpers/leads-message';\nimport SubscriptionStatus from '../../../settings/components/billing-subscription/enums/subscription-status';\nimport pauseLeadFinderError from '../../../../shared/utils/errors/pause-lead-finder-error';\nimport hasResource from '../../../../shared/utils/access-control/has-resource';\nimport { ResourceIdentifiers } from '../../../../shared/utils/access-control/enums/resource-identifiers';\nimport {\n getUserLeadFinderPlanName,\n getUserPlanName,\n getUserRole,\n getUserShAccountId,\n getUserTrackingId,\n leadFinderBulkOperationLimit,\n} from '../../../../shared/utils/user-details';\nimport { AnalyticsEvents } from '../../../../shared/enums/analytics';\nimport { SystemErrors } from '../../../../shared/enums/system-errors';\nimport { isFreePlan } from '../../../../shared/utils/plans';\nimport planPermissionError from '../../../../shared/utils/errors/plan-permission-error';\nimport hasPermission from '../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../shared/utils/access-control/enums/permissions';\nimport {\n getCircleCheckIconClassName,\n getCircleCheckTooltip,\n getDomainsFromEmails,\n} from '../../helpers/helper';\nimport LeadDomains from '../lead-domains';\nimport { redirectWithoutRefresh } from '../../../../shared/utils';\nimport { Routes } from '../../../../shared/routes';\n\nexport default function IndividualLeads({\n topPeopleLimit,\n leadCredits,\n leadSampleData,\n handleCheckUnCheckSingleLead,\n selectedLeads,\n handleAppendLead,\n isBulkRevealing,\n disabledLeads,\n deSelectedLeads,\n isSelectedAllLeads,\n viewShowProspectDetailsModal,\n activeTabKey,\n handleResetStateAfterAnyAction,\n leadsPaginationData,\n setLoadingGetInfoLeads,\n handleFetchLeadsAfterBulkActions,\n isFirstPollRequest,\n apiParam,\n emailRevealingLeads,\n setEmailRevealingLeads,\n emailPhoneRevealingLeads,\n setEmailPhoneRevealingLeads,\n}) {\n const dispatch = useDispatch();\n const [loadingAddToProspect, setLoadingAddToProspect] = useState(\n false,\n );\n const leadFinderSubscriptionPlanStatus = useSelector(\n (state: RootState) => state.home?.leadFinderSubscription?.status,\n );\n const [revealLead, setRevealLead] = useState(null);\n const [isContactCopied, setIsContactCopied] = useState(false);\n const [showAddToSequenceModal, setShowAddToSequenceModal] = useState(\n false,\n );\n const [expandedLeads, setExpandedLeads] = useState([]);\n const [hoveredLead, setHoveredLead] = useState(null);\n const [hoveredAddToProspectLead, setHoveredAddToProspectLead] = useState(\n null,\n );\n const [\n CreditNotAvailableModalOpen,\n setCreditNotAvailableModalOpen,\n ] = useState(false);\n\n const [hoveredEmail, setHoveredEmail] = useState(null);\n const [hoveredPhone, setHoveredPhone] = useState(null);\n\n const [leadRevealType, setLeadRevealType] = useState(\n null,\n );\n\n const hideAddToSequenceModal = () => {\n setShowAddToSequenceModal(false);\n };\n\n const hideCreditNotAvailableModal = () => {\n setCreditNotAvailableModalOpen(false);\n };\n\n const handleViewLess = (lead) => {\n setExpandedLeads((prevExpandedLeads) => {\n if (!prevExpandedLeads.includes(lead.id)) {\n return [...prevExpandedLeads, lead.id];\n }\n return prevExpandedLeads.filter((leadId) => leadId !== lead.id);\n });\n };\n\n const getTooltip = (text: string, exterClass?: string) => (\n \n {text}\n \n );\n\n const isLeadSelected = (lead, index) => {\n if (activeTabKey === LeadFinderTabKey.PEOPLE_TAB) {\n const totalLeadsSelectionLimit = leadsPaginationData.start + index + 1;\n return (\n (isSelectedAllLeads &&\n totalLeadsSelectionLimit <= topPeopleLimit &&\n !deSelectedLeads?.some((l) => l?.id === lead?.id)) ||\n selectedLeads?.some((l) => l?.id === lead?.id)\n );\n }\n\n return (\n (isSelectedAllLeads &&\n !deSelectedLeads?.some((l) => l?.id === lead?.id)) ||\n selectedLeads?.some((l) => l?.id === lead?.id)\n );\n };\n\n const onContactCopied = (contact) => {\n if (document.hasFocus()) {\n navigator.clipboard\n ?.writeText(contact)\n .then(() => {\n setIsContactCopied(true);\n setTimeout(() => setIsContactCopied(false), 2000);\n })\n .catch(() => {});\n }\n };\n\n const handleFetchLead = async (leadId) => {\n if (isFirstPollRequest) {\n handleFetchLeadsAfterBulkActions(true, true, [leadId]);\n }\n };\n\n const handleRevealLead = async (\n leadId: number,\n revealType: LeadRevealType,\n ) => {\n try {\n setLoadingGetInfoLeads((prev) => ({\n ...prev,\n [leadId]: true,\n }));\n if (revealType === LeadRevealType.EMAIL) {\n setEmailRevealingLeads((prev) => ({\n ...prev,\n [leadId]: true,\n }));\n }\n if (revealType === LeadRevealType.EMAIL_PHONE) {\n setEmailPhoneRevealingLeads((prev) => ({\n ...prev,\n [leadId]: true,\n }));\n }\n\n handleResetStateAfterAnyAction([leadId]);\n const payload = {\n revealLeadId: leadId,\n leadsFilter: apiParam,\n revealType,\n };\n const singleRevealRes = await revealSingleLeadAPI(payload);\n if (singleRevealRes) {\n const { message, status } = singleRevealRes?.payload || {};\n if (status === 0) {\n toaster.error(message || SystemErrors.InternalServerError, {\n theme: Theme.New,\n });\n } else if (status === 2) {\n toaster.warning(\n message ||\n 'You another lead reveal action is currently in progress. Please wait until it finishes.',\n { theme: Theme.New },\n );\n } else {\n toaster.success(message || '1 Lead will be revealed', {\n theme: Theme.New,\n });\n }\n handleFetchLead(leadId);\n }\n } catch (e: any) {\n setLoadingGetInfoLeads((prev) => ({\n ...prev,\n [leadId]: false,\n }));\n if (revealType === LeadRevealType.EMAIL) {\n setEmailRevealingLeads((prev) => ({\n ...prev,\n [leadId]: false,\n }));\n }\n if (revealType === LeadRevealType.EMAIL_PHONE) {\n setEmailPhoneRevealingLeads((prev) => ({\n ...prev,\n [leadId]: false,\n }));\n }\n toaster.error(e?.message || SystemErrors.InternalServerError, {\n theme: Theme.New,\n });\n }\n };\n\n const addtoProspectHandle = async (prospectId) => {\n try {\n setLoadingAddToProspect(true);\n const addToProspectRes = await leadAddToProspectAPI(prospectId);\n if (addToProspectRes) {\n handleAppendLead(addToProspectRes?.payload);\n toaster.success(\n LEAD_LISTING_MESSAGES.add_to_prospect_single_lead_succeess_msg,\n );\n }\n dispatch(getPostLoadMetaRequest());\n\n setLoadingAddToProspect(false);\n } catch (e: any) {\n toaster.error(e?.message);\n setLoadingAddToProspect(false);\n }\n };\n\n const addContactToStep = async (sequenceId, stepId) => {\n try {\n const response = await leadAddToSequenceAPI(revealLead, {\n sequenceId,\n stepId,\n });\n if (response?.payload?.failed) {\n if (response?.payload?.failedReport?.length) {\n const failedReport = response?.payload?.failedReport?.[0];\n const errorMessage =\n failedReport?.reason ||\n 'Prospect already exists in the selected step';\n toaster.error(errorMessage, {\n theme: Theme.New,\n });\n } else {\n toaster.error('Prospect already exists in the selected step', {\n theme: Theme.New,\n });\n }\n } else {\n toaster.success(\n LEAD_LISTING_MESSAGES.add_to_sequence_single_lead_succeess_msg,\n );\n }\n dispatch(getPostLoadMetaRequest());\n } catch (e: any) {\n toaster.error(e?.message);\n }\n };\n\n const upgradePlanhandler = () => {\n redirectWithoutRefresh(Routes.Setting_Billing_Add_Credits);\n };\n\n const checkPeopleTabLeadSelection = () =>\n isSelectedAllLeads && activeTabKey === LeadFinderTabKey.PEOPLE_TAB;\n\n const handleViewContactInfo = (\n leadId: number,\n revealType: LeadRevealType,\n ) => {\n setLeadRevealType(revealType);\n if (leadFinderSubscriptionPlanStatus === SubscriptionStatus.Paused) {\n pauseLeadFinderError.showModal();\n } else if (\n (revealType === LeadRevealType.EMAIL && Number(leadCredits) > 0) ||\n (revealType === LeadRevealType.EMAIL_PHONE && Number(leadCredits) > 1)\n ) {\n setRevealLead(leadId);\n handleRevealLead(leadId, revealType);\n } else {\n setCreditNotAvailableModalOpen(true);\n // Lead Finder Tripped Feature Event\n window.analytics?.track?.({\n userId: getUserTrackingId(),\n event: AnalyticsEvents.TrippedFeature,\n properties: {\n shAccountId: getUserShAccountId(),\n current_plan: getUserPlanName(),\n role: getUserRole(),\n 'LF Plan': getUserLeadFinderPlanName(),\n feature_type: 'Lead Finder',\n },\n });\n }\n };\n\n const getViewEmailInfoButton = (lead) => (\n \n {\n handleViewContactInfo(lead?.id, LeadRevealType.EMAIL);\n }}\n >\n View Email Info\n \n \n );\n\n const getViewEmailPhoneInfoButtonTooltip = (lead) =>\n lead?.isRevealed && !(lead?.teaser?.phones?.length > 0) ? (\n Lead does not have any phone number\n ) : (\n \n View Email + Phone:\n 2 Credits Required\n \n );\n\n const getViewEmailPhoneInfoButton = (lead) => (\n \n \n handleViewContactInfo(lead?.id, LeadRevealType.EMAIL_PHONE)\n }\n disabled={\n emailRevealingLeads[lead?.id] ||\n emailPhoneRevealingLeads[lead?.id] ||\n isBulkRevealing ||\n lead?.isRevealing ||\n (lead?.isRevealed && !(lead?.teaser?.phones?.length > 0))\n }\n isLoading={emailPhoneRevealingLeads[lead?.id] || isBulkRevealing}\n loadingText=\"\"\n >\n \n \n \n );\n\n const getProspectButton = (lead) => (\n setHoveredAddToProspectLead(lead?.id)}\n onMouseLeave={() => setHoveredAddToProspectLead(null)}\n >\n \n {\n if (\n hasResource(ResourceIdentifiers.CONTACTS_IMPORT) &&\n !loadingAddToProspect\n ) {\n setRevealLead(lead?.id);\n addtoProspectHandle(lead?.id);\n } else if (isFreePlan()) {\n const title =\n 'Please upgrade your plan to start adding prospects';\n const content = [\n 'Your account is downgraded to a free plan. Upgrade to paid plan to add prospects and resume email sending.',\n ];\n\n planPermissionError.showModal(title, content, true);\n }\n }}\n >\n {lead?.isProspectCreated ? (\n \n ) : (\n \n )}\n\n \n {lead?.isProspectCreated ? 'Prospect Saved' : 'Save as Prospect'}\n \n \n \n \n );\n\n const getAddToSequenceButton = (lead) => (\n \n {\n if (\n isFreePlan() &&\n !hasPermission(Permissions.SEQUENCE_PROSPECT_WRITE)\n ) {\n const title = 'Please upgrade your plan to start adding prospects';\n const content = [\n 'Your account is downgraded to a free plan. Upgrade to paid plan to add prospects and resume email sending.',\n ];\n\n planPermissionError.showModal(title, content, true);\n return;\n }\n setRevealLead(lead?.id);\n setShowAddToSequenceModal(true);\n }}\n >\n \n \n \n );\n\n const getLeadActionButtonsForRevealedLead = (lead) => (\n
    \n {getProspectButton(lead)}\n {getAddToSequenceButton(lead)}\n
    \n );\n\n const getLeadActionButtonsForReRevealedLead = (lead) => (\n
    \n {getProspectButton(lead)}\n {getAddToSequenceButton(lead)}\n {activeTabKey === LeadFinderTabKey.PEOPLE_TAB && getViewEmailPhoneInfoButton(lead)}\n
    \n );\n\n const getLeadActionButtonsForNotRevealedLead = (lead) => (\n
    \n {getViewEmailInfoButton(lead)}\n {activeTabKey === LeadFinderTabKey.PEOPLE_TAB && getViewEmailPhoneInfoButton(lead)}\n
    \n );\n\n const getLeadActionButtons = (lead) => {\n if (lead?.isRevealed) {\n if (lead?.reReveal) {\n return getLeadActionButtonsForReRevealedLead(lead);\n }\n return getLeadActionButtonsForRevealedLead(lead);\n }\n\n return getLeadActionButtonsForNotRevealedLead(lead);\n };\n\n return (\n <>\n {leadSampleData?.map((lead, index) => (\n \n \n
    \n
    \n setHoveredLead(lead?.id)}\n onMouseLeave={() => setHoveredLead(null)}\n >\n =\n leadFinderBulkOperationLimit() &&\n !selectedLeads?.some((l) => l?.id === lead?.id)) ||\n disabledLeads?.some((l: any) => l?.id === lead?.id))\n }\n >\n =\n leadFinderBulkOperationLimit() &&\n !selectedLeads?.some((l) => l?.id === lead?.id)) ||\n disabledLeads?.some((l: any) => l?.id === lead?.id)\n }\n className=\"checkbox-custome\"\n checked={isLeadSelected(lead, index)}\n onChange={() => handleCheckUnCheckSingleLead(lead)}\n />\n \n \n {lead?.isProspectCreated ? (\n \n \n viewShowProspectDetailsModal(lead?.contactId)\n }\n >\n {lead?.profile_pic ? (\n \n ) : (\n
    \n \n
    \n )}\n
    \n \n ) : (\n
    \n {lead?.profile_pic ? (\n \n ) : (\n
    \n \n
    \n )}\n
    \n )}\n\n viewShowProspectDetailsModal(lead?.contactId)}\n >\n {lead?.name && (\n {lead?.name ?? '-'}\n )}\n {lead?.current_title && (\n \n {lead?.current_title ?? '-'}\n \n )}\n {lead?.location && (\n
    \n \n {lead?.location ?? '-'}\n
    \n )}\n {lead?.links && (\n \n {lead?.links?.facebook && (\n e.stopPropagation()}\n >\n \n \n )}\n {lead?.links?.linkedin && (\n e.stopPropagation()}\n >\n \n \n )}\n {lead?.links?.twitter && (\n e.stopPropagation()}\n >\n \n \n )}\n {lead?.links?.github && (\n e.stopPropagation()}\n >\n \n \n )}\n {lead?.links?.quora && (\n e.stopPropagation()}\n >\n \n \n )}\n {lead?.links?.stackoverflow && (\n e.stopPropagation()}\n >\n \n \n )}\n {lead?.links?.aboutme && (\n e.stopPropagation()}\n >\n \n \n )}\n {lead?.links?.angelist && (\n e.stopPropagation()}\n >\n \n \n )}\n \n )}\n
    \n \n
    \n
    \n {lead?.current_employer && (\n
    \n
    \n \n
    \n \n {lead?.current_employer}\n \n
    \n )}\n {lead?.job_history && lead?.job_history[0]?.department && (\n
    \n
    \n \n
    \n \n {lead?.job_history[0]?.department}\n \n
    \n )}\n {/*
    \n
    \n \n
    \n 17.2K\n
    */}\n {lead?.location && (\n
    \n
    \n \n
    \n \n {' '}\n {lead?.location ?? '-'}\n \n
    \n )}\n
    \n
    \n
    \n
    \n {lead?.phones?.length > 0 && (\n
    \n {lead.phones.slice(0, 1).map((phoneObj, phoneIndex) => (\n \n setHoveredPhone(phoneObj?.number || null)\n }\n onMouseLeave={() => setHoveredPhone(null)}\n >\n
    \n \n
    \n \n {phoneObj?.number || ''}\n \n {hoveredPhone === phoneObj?.number &&\n expandedLeads.includes(lead?.id) && (\n \n {\n onContactCopied(phoneObj?.number);\n }}\n />\n \n )}\n {lead?.phones?.length > 1 &&\n !expandedLeads.includes(lead?.id) && (\n handleViewLess(lead)}\n >\n +{lead?.phones?.length - 1} more\n \n )}\n
    \n ))}\n
    \n )}\n {(!lead?.isRevealed ||\n lead?.revealType === LeadRevealType.EMAIL) &&\n lead?.teaser?.phones?.length > 0 && (\n
    \n
    \n \n
    \n \n {lead?.teaser?.phones[0]?.number?.slice(0, 3)}\n \n •••••••\n \n \n
    \n )}\n {lead?.emails?.length > 0 && (\n \n {lead.emails.slice(0, 1).map((emailObj, emailIndex) => (\n \n setHoveredEmail(emailObj?.email || null)\n }\n onMouseLeave={() => setHoveredEmail(null)}\n >\n
    \n \n
    \n
    \n \n {getCircleCheckTooltip(\n lead?.emails[0]?.grade,\n )}\n \n }\n >\n \n \n
    \n \n {emailObj?.email || ''}\n \n {hoveredEmail === emailObj?.email &&\n expandedLeads.includes(lead?.id) && (\n \n {\n onContactCopied(emailObj?.email);\n }}\n />\n \n )}\n {lead?.emails?.length > 1 &&\n !expandedLeads.includes(lead?.id) && (\n handleViewLess(lead)}\n >\n +{lead?.emails?.length - 1} more\n \n )}\n
    \n ))}\n \n )}\n\n {!lead?.isRevealed &&\n lead?.teaser?.emails?.length > 0 &&\n // eslint-disable-next-line @typescript-eslint/no-shadow\n lead?.teaser?.emails?.slice(0, 2).map((e: any, index) => (\n \n
    \n \n
    \n \n {' '}\n \n ••••••\n \n @{e}\n \n \n ))}\n\n \n\n {!lead?.isRevealed &&\n lead?.teaser?.emails?.length === 0 &&\n lead?.teaser?.phones?.length === 0 && (\n \n
    \n \n
    \n \n Click Get Contact Info to view data\n \n \n )}\n {lead?.isCreditRefunded &&\n !expandedLeads?.includes(lead?.id) && (\n \n \n Credit refunded\n \n \n )}\n \n \n \n
    \n {getLeadActionButtons(lead)}\n
    \n \n {lead?.isRevealed && (\n
    \n handleViewLess(lead)}\n role=\"button\"\n >\n {expandedLeads.includes(lead?.id) ? (\n <>\n View Less \n \n ) : (\n <>\n View More \n \n )}\n \n
    \n )}\n {expandedLeads.includes(lead?.id) && }\n \n ))}\n\n {showAddToSequenceModal && (\n \n )}\n\n {CreditNotAvailableModalOpen && (\n }\n content={\n <>\n
    \n \n {leadRevealType === LeadRevealType.EMAIL\n ? \"You don't have enough lead finder credits to view contact information for selected leads.\"\n : \"You don't have enough lead finder credits to view all the selected leads, as email + phone information requires 2 credits per lead.\"}\n \n
    \n
    \n \n Please add more credits or upgrade your plan to continue.\n \n
    \n \n }\n submitButtonText=\"Add Credits\"\n />\n )}\n \n );\n}\n","/* eslint-disable no-case-declarations */\n/* eslint-disable no-underscore-dangle */\n/* eslint-disable @typescript-eslint/naming-convention */\n/* eslint-disable react/react-in-jsx-scope */\nimport {\n Briefcase,\n Building,\n BuildingArch,\n Calendar,\n ChartLine,\n GraduationHat,\n Mail,\n MapPin,\n Search,\n Share,\n Tool,\n User,\n UserList,\n Users,\n} from '@saleshandy/icons';\nimport { useHistory, useLocation } from 'react-router-dom';\nimport { FilterComponentType, LeadFinderTabKey } from '../../type';\nimport {\n DEGREE_DATA,\n DEPARTMENT_DATA,\n INDUSTRY_DATA,\n LOCATION_DATA,\n MAJOR_DATA,\n CHANGE_JOB_DATA,\n EMPLOYEE_COUNT_DATA,\n MANAGEMENT_LEVELS_DATA,\n REVENUE_DATA,\n YEARS_OF_EXPERIENCE_DATA,\n CONTACT_METHOD_DATA,\n} from '../../helpers/filter-data';\nimport {\n getFilterValues,\n getLeadListingPageSize,\n getLeadsActiveTab,\n} from '../../helpers/helper';\n\nlet timeout: any;\n\nexport const FILTER_LIST: any = [\n {\n id: 'filter-name',\n key: 'name',\n label: 'Name',\n icon: ,\n type: [\n {\n id: 'filter-name-search-input',\n key: 'name',\n value: FilterComponentType.SEARCH_INPUT,\n placeholder: 'name',\n },\n ],\n },\n {\n id: 'filter-location',\n key: 'location',\n label: 'Location',\n icon: ,\n type: [\n {\n id: 'filter-location-checkboxes',\n key: 'location',\n value: FilterComponentType.MULTILEVEL_CHECKBOX,\n excludeKey: 'excludeLocation',\n inputClassName: 'location-input',\n inputPlaceHolder: 'Enter location',\n list: LOCATION_DATA,\n },\n ],\n },\n {\n id: 'filter-role-and-department',\n key: 'role_and_department',\n label: 'Role & Department',\n icon: ,\n type: [\n {\n id: 'filter-rol-and-department-search-input-1',\n key: 'jobTitle',\n value: FilterComponentType.MULTILEVEL_CHECKBOX,\n excludeKey: 'excludeJobTitle',\n inputClassName: 'job-title-input',\n inputPlaceHolder: 'Enter job title',\n inputLabel: 'Job Title',\n includeMaxLimit: 100,\n expandedMaxFilterTags: 5,\n },\n {\n id: 'filter-rol-and-department-checkbox-1',\n key: 'department',\n value: FilterComponentType.MULTILEVEL_CHECKBOX,\n excludeKey: 'excludeDepartment',\n inputClassName: 'department-search-input',\n inputPlaceHolder: 'Enter department',\n inputLabel: 'Department',\n list: DEPARTMENT_DATA,\n },\n {\n id: 'filter-rol-and-department-search-checkbox-1',\n key: 'managementLevels',\n value: FilterComponentType.MULTILEVEL_CHECKBOX,\n excludeKey: 'excludeManagementLevels',\n inputLabel: 'Management Levels',\n inputClassName: 'management-levels-label',\n hideSearchBox: true,\n list: MANAGEMENT_LEVELS_DATA,\n },\n {\n id: 'filter-rol-and-department-dropdown-1',\n key: 'jobChangeRange',\n value: FilterComponentType.DROP_DOWN,\n excludeKey: 'excludeJobChangeRange',\n placeholder: 'Select Job Change',\n list: CHANGE_JOB_DATA,\n name: 'Changed Jobs Within',\n className: 'job-change-dropdown',\n },\n ],\n },\n {\n id: 'filter-skills',\n key: 'skills',\n label: 'Skills',\n icon: ,\n type: [\n {\n id: 'filter-skills-search-checkbox-1',\n key: 'skills',\n value: FilterComponentType.MULTILEVEL_CHECKBOX,\n excludeKey: 'excludeSkills',\n inputClassName: 'skills-input',\n inputPlaceHolder: 'Enter skill',\n includeMaxLimit: 100,\n expandedMaxFilterTags: 5,\n },\n ],\n },\n {\n id: 'filter-years-experience',\n key: 'yearsExperience',\n label: 'Years Of Experience',\n icon: ,\n type: [\n {\n id: 'filter-years-experience-dropdown-1',\n key: 'yearsExperience',\n value: FilterComponentType.DROP_DOWN,\n excludeKey: 'excludeYearsExperience',\n placeholder: 'Select experience',\n list: YEARS_OF_EXPERIENCE_DATA,\n },\n ],\n },\n {\n id: 'filter-company-name',\n key: 'employer',\n label: 'Company Name / Domain',\n icon: ,\n type: [\n {\n id: 'filter-company-name-search-checkbox',\n key: 'employer',\n value: FilterComponentType.MULTILEVEL_CHECKBOX,\n excludeKey: 'excludeEmployer',\n inputPlaceHolder: 'Enter company name',\n inputClassName: 'employer-input',\n includeMaxLimit: 100,\n expandedMaxFilterTags: 5,\n },\n ],\n },\n {\n id: 'filter-company-size',\n key: 'companySize',\n label: 'Employee Count',\n icon: ,\n type: [\n {\n id: 'filter-company-size-dropdown-1',\n key: 'companySize',\n value: FilterComponentType.DROP_DOWN,\n excludeKey: 'excludeCompanySize',\n list: EMPLOYEE_COUNT_DATA,\n },\n ],\n },\n {\n id: 'filter-revenue',\n key: 'companyRevenue',\n label: 'Revenue',\n icon: ,\n type: [\n {\n id: 'filter-revenue-drop-down',\n key: 'companyRevenue',\n value: FilterComponentType.DROP_DOWN,\n excludeKey: 'excludeCompanyRevenue',\n list: REVENUE_DATA,\n isPrefix: true,\n },\n ],\n },\n {\n id: 'filter-industry',\n key: 'industry',\n label: 'Industry',\n icon: ,\n type: [\n {\n id: 'filter-industry-checkbox',\n key: 'industry',\n value: FilterComponentType.MULTILEVEL_CHECKBOX,\n excludeKey: 'excludeIndustry',\n inputClassName: 'industry-search-input',\n inputPlaceHolder: 'Enter industry',\n list: INDUSTRY_DATA,\n includeMaxLimit: 100,\n expandedMaxFilterTags: 5,\n },\n {\n id: 'filter-industry-search-checkbox-1',\n key: 'sicCode',\n value: FilterComponentType.MULTILEVEL_CHECKBOX,\n excludeKey: 'excludeSicCode',\n inputClassName: 'sic-code-input',\n inputPlaceHolder: 'Enter a SIC code',\n inputLabel: 'SIC Code',\n },\n {\n id: 'filter-industry-search-checkbox-2',\n key: 'naicsCode',\n value: FilterComponentType.MULTILEVEL_CHECKBOX,\n excludeKey: 'excludeNaicsCode',\n inputClassName: 'naics-code-input',\n inputPlaceHolder: 'Enter a NAICS code',\n inputLabel: 'NAICS Code',\n },\n ],\n },\n {\n id: 'filter-contact-method',\n key: 'contact-method',\n label: 'Contact Method',\n icon: ,\n type: [\n {\n id: 'filter-contact-method-checkbox',\n key: 'contactMethod',\n value: FilterComponentType.MULTILEVEL_CHECKBOX,\n hideSearchBox: true,\n removeTopMargin: true,\n hideIncludeExclude: true,\n infoCircleToolTipMapping: {\n Phone: 'Includes work, office, and HQ phone numbers',\n },\n list: CONTACT_METHOD_DATA,\n },\n ],\n },\n {\n id: 'filter-education',\n key: 'education',\n label: 'Education',\n icon: ,\n type: [\n {\n id: 'filter-education-search-checkbox-1',\n key: 'major',\n value: FilterComponentType.MULTILEVEL_CHECKBOX,\n excludeKey: 'excludeMajor',\n inputClassName: 'major-input',\n inputPlaceHolder: 'Enter major',\n inputLabel: 'Major',\n list: MAJOR_DATA,\n },\n {\n id: 'filter-education-search-checkbox-2',\n key: 'school',\n value: FilterComponentType.MULTILEVEL_CHECKBOX,\n excludeKey: 'excludeSchool',\n inputClassName: 'major-input-school',\n inputPlaceHolder: 'Enter school',\n inputLabel: 'School',\n },\n {\n id: 'filter-education-search-checkbox-3',\n key: 'degree',\n value: FilterComponentType.MULTILEVEL_CHECKBOX,\n excludeKey: 'excludeDegree',\n inputClassName: 'major-input-degree',\n inputPlaceHolder: 'Enter degree',\n inputLabel: 'Degree',\n list: DEGREE_DATA,\n },\n ],\n },\n {\n id: 'filter-contact-info',\n key: 'contactInfo',\n label: 'Contact Info',\n icon: ,\n type: [\n {\n id: 'filter-contact-info-search-input',\n key: 'contactInfo',\n value: FilterComponentType.MULTILEVEL_CHECKBOX,\n placeholder: 'email or phone',\n includeMaxLimit: 100,\n expandedMaxFilterTags: 5,\n },\n ],\n },\n {\n id: 'filter-social-link',\n key: 'link',\n label: 'Social Link',\n icon: ,\n type: [\n {\n id: 'filter-social-link-search-input',\n key: 'link',\n value: FilterComponentType.MULTILEVEL_CHECKBOX,\n placeholder: 'any social profile url',\n includeMaxLimit: 100,\n expandedMaxFilterTags: 5,\n },\n ],\n },\n {\n id: 'filter-keywords',\n key: 'keyword',\n label: 'Keywords',\n icon: ,\n type: [\n {\n id: 'filter-keywords-search-input-1',\n key: 'keyword',\n value: FilterComponentType.MULTILEVEL_CHECKBOX,\n inputPlaceHolder: 'keywords',\n excludeKey: 'excludeKeyword',\n inputClassName: 'keyword-input',\n includeMaxLimit: 100,\n expandedMaxFilterTags: 5,\n },\n ],\n },\n];\n\nexport const useLeadFilter = (\n activeTabKey: string,\n searchLeads: (payload?: any, performSearch?: boolean) => void,\n) => {\n const history = useHistory();\n const location = useLocation();\n const queryParams = new URLSearchParams(location?.search);\n\n const __handleDeleteSpecificValueFromQuery = ({ key, value }) => {\n const paramValues = queryParams\n .getAll(key)\n ?.map((item) => item.replace(/\"/g, ''));\n // Remove the specified parameter value\n const updatedValues = paramValues.filter((v) => v !== value);\n\n // Update the URL with the modified parameter values\n queryParams.delete(key);\n updatedValues.forEach((v) => queryParams.append(key, v));\n };\n\n const __handleSetDeletePaginationParams = (action) => {\n if (action === 'set') {\n queryParams.set('start', '1');\n queryParams.set(\n 'take',\n queryParams.get('take') || getLeadListingPageSize().toString(),\n );\n } else if (\n action === 'delete' &&\n activeTabKey === LeadFinderTabKey.PEOPLE_TAB\n ) {\n const queryParamLength = Array.from(queryParams.entries()).length;\n if (\n queryParamLength === 2 &&\n queryParams.has('start') &&\n queryParams.has('take')\n ) {\n queryParams.delete('start');\n queryParams.delete('take');\n }\n }\n };\n\n const __handleSetUniqueKeys = ({\n filterKey,\n uniqueKeys,\n }: {\n filterKey: string;\n uniqueKeys: any;\n }) => {\n queryParams\n .getAll(filterKey)\n ?.map((item) => item.replace(/\"/g, ''))\n ?.forEach((param) => {\n switch (filterKey) {\n case 'location':\n case 'excludeLocation':\n const locationValues = getFilterValues([param], LOCATION_DATA);\n uniqueKeys.add({\n key: filterKey,\n label: locationValues?.length > 0 ? locationValues[0] : param,\n value: param,\n });\n break;\n case 'department':\n case 'excludeDepartment':\n const departMentValues = getFilterValues([param], DEPARTMENT_DATA);\n uniqueKeys.add({\n key: filterKey,\n label: departMentValues?.length > 0 ? departMentValues[0] : param,\n value: param,\n });\n break;\n case 'industry':\n case 'excludeIndustry':\n const industryValues = getFilterValues([param], INDUSTRY_DATA);\n uniqueKeys.add({\n key: filterKey,\n label: industryValues?.length > 0 ? industryValues[0] : param,\n value: param,\n });\n break;\n case 'companyRevenue':\n case 'excludeCompanyRevenue':\n const revenueValues = getFilterValues([param], REVENUE_DATA);\n uniqueKeys.add({\n key: filterKey,\n label: revenueValues?.length > 0 ? revenueValues[0] : param,\n value: param,\n });\n break;\n case 'managementLevels':\n case 'excludeManagementLevels':\n const managementLevelsValues = getFilterValues(\n [param],\n MANAGEMENT_LEVELS_DATA,\n );\n uniqueKeys.add({\n key: filterKey,\n label:\n managementLevelsValues?.length > 0\n ? managementLevelsValues[0]\n : param,\n value: param,\n });\n break;\n case 'jobChangeRange':\n case 'excludeJobChangeRange':\n const changeJobValues = getFilterValues([param], CHANGE_JOB_DATA);\n uniqueKeys.add({\n key: filterKey,\n label: changeJobValues?.length > 0 ? changeJobValues[0] : param,\n value: param,\n });\n break;\n case 'yearsExperience':\n case 'excludeYearsExperience':\n const yearsOfExperienceValues = getFilterValues(\n [param],\n YEARS_OF_EXPERIENCE_DATA,\n );\n uniqueKeys.add({\n key: filterKey,\n label:\n yearsOfExperienceValues?.length > 0\n ? yearsOfExperienceValues[0]\n : param,\n value: param,\n });\n break;\n case 'companySize':\n case 'excludeCompanySize':\n const employeeCountValues = getFilterValues(\n [param],\n EMPLOYEE_COUNT_DATA,\n );\n uniqueKeys.add({\n key: filterKey,\n label:\n employeeCountValues?.length > 0\n ? employeeCountValues[0]\n : param,\n value: param,\n });\n break;\n default:\n uniqueKeys.add({\n key: filterKey,\n label: param,\n value: param,\n });\n }\n });\n };\n\n const handleGetAllKeysByFilterFromQuery = (filter: any) => {\n const uniqueKeys = new Set();\n\n if (filter.type?.length > 0) {\n // eslint-disable-next-line array-callback-return\n filter.type.map((type) => {\n if (type.key) {\n __handleSetUniqueKeys({ filterKey: type?.key, uniqueKeys });\n }\n if (type?.excludeKey) {\n __handleSetUniqueKeys({ filterKey: type?.excludeKey, uniqueKeys });\n }\n });\n }\n return uniqueKeys;\n };\n\n const handleIndividualTag = (tag: any) => {\n __handleDeleteSpecificValueFromQuery({ key: tag?.key, value: tag?.value });\n // handle delete pagination params\n __handleSetDeletePaginationParams('delete');\n\n history.push({\n search: queryParams.toString(),\n hash: getLeadsActiveTab(location),\n });\n searchLeads(null, false);\n };\n\n const handleFoundValueExceptFromList = (key) => {\n let foundedValue = '';\n const paramValues =\n queryParams.getAll(key)?.map((item) => item.replace(/\"/g, '')) || [];\n let list = [];\n if (key === 'location') {\n list = LOCATION_DATA;\n } else if (key === 'department') {\n list = DEPARTMENT_DATA;\n } else if (key === 'industry') {\n list = INDUSTRY_DATA;\n }\n if (paramValues?.length > 0) {\n // eslint-disable-next-line array-callback-return\n paramValues.map((value) => {\n const listValues = getFilterValues([value], list);\n if (listValues?.length === 0) {\n foundedValue = value;\n }\n });\n }\n return foundedValue;\n };\n\n const handleQuery = ({\n filterKey,\n filterValue,\n filterType,\n filterExcludeKey,\n showExactMatch,\n isSearchLeads = true,\n onKeyEnter = false,\n }: {\n filterKey: string;\n filterValue: any;\n filterType: string;\n filterExcludeKey?: string;\n showExactMatch?: boolean;\n isSearchLeads?: boolean;\n onKeyEnter?: boolean;\n }) => {\n const preSearch = location?.search;\n if (filterKey) {\n // handle add pagination params\n __handleSetDeletePaginationParams('set');\n }\n\n // eslint-disable-next-line default-case\n switch (filterType) {\n case FilterComponentType.SEARCH_INPUT:\n if (filterValue !== '') {\n if (!showExactMatch) {\n queryParams.set(filterKey, filterValue.replace(/\"/g, ''));\n } else {\n queryParams.set(filterKey, [`\"${filterValue}\"`].toString());\n }\n }\n break;\n case FilterComponentType.DROP_DOWN:\n if (filterValue !== '') {\n queryParams.set(filterKey, filterValue);\n } else {\n const findValue = handleFoundValueExceptFromList(filterKey);\n if (findValue) {\n __handleDeleteSpecificValueFromQuery({\n key: filterKey,\n value: findValue,\n });\n } else {\n queryParams.delete(filterKey);\n }\n }\n break;\n case FilterComponentType.MULTILEVEL_CHECKBOX:\n queryParams.delete(filterKey);\n if (filterExcludeKey) {\n queryParams.delete(filterExcludeKey);\n }\n if (filterValue?.includedKeys?.length > 0) {\n filterValue?.includedKeys.forEach((includeKey) => {\n if (!showExactMatch) {\n if (queryParams.has(filterKey)) {\n queryParams.append(filterKey, includeKey);\n } else {\n queryParams.set(filterKey, includeKey);\n }\n } else if (queryParams.has(filterKey)) {\n queryParams.append(filterKey, `\"${includeKey}\"`);\n } else {\n queryParams.set(filterKey, `\"${includeKey}\"`);\n }\n });\n }\n if (filterValue?.excludedKeys?.length > 0) {\n filterValue?.excludedKeys.forEach((excludeKey) => {\n if (!showExactMatch) {\n if (queryParams.has(filterExcludeKey)) {\n queryParams.append(filterExcludeKey, excludeKey);\n } else {\n queryParams.set(filterExcludeKey, excludeKey);\n }\n } else if (queryParams.has(filterExcludeKey)) {\n queryParams.append(filterExcludeKey, `\"${excludeKey}\"`);\n } else {\n queryParams.set(filterExcludeKey, `\"${excludeKey}\"`);\n }\n });\n }\n break;\n }\n\n // handle delete pagination params\n __handleSetDeletePaginationParams('delete');\n const queryString = queryParams.toString();\n if (preSearch !== `?${queryString}` || onKeyEnter) {\n clearTimeout(timeout);\n timeout = setTimeout(() => {\n history.push({\n search: queryString,\n hash: getLeadsActiveTab(location),\n });\n searchLeads(null, isSearchLeads);\n }, 0);\n }\n };\n\n const handleBulkQuery = (\n bulkQueryInputs: {\n filterKey: string;\n filterValue: any;\n filterType: string;\n filterExcludeKey?: string;\n showExactMatch?: boolean;\n }[],\n ) => {\n const preSearch = location?.search;\n __handleSetDeletePaginationParams('set');\n bulkQueryInputs.forEach(\n ({\n filterKey,\n filterValue,\n filterType,\n filterExcludeKey,\n showExactMatch,\n }) => {\n // eslint-disable-next-line default-case\n switch (filterType) {\n case FilterComponentType.SEARCH_INPUT:\n if (filterValue === '') break;\n const formattedValue = showExactMatch\n ? `\"${filterValue}\"`\n : filterValue.replace(/\"/g, '');\n queryParams.set(filterKey, formattedValue);\n break;\n case FilterComponentType.DROP_DOWN:\n if (filterValue !== '') {\n queryParams.set(filterKey, filterValue);\n break;\n }\n const findValue = handleFoundValueExceptFromList(filterKey);\n if (!findValue) {\n queryParams.delete(filterKey);\n break;\n }\n __handleDeleteSpecificValueFromQuery({\n key: filterKey,\n value: findValue,\n });\n break;\n case FilterComponentType.MULTILEVEL_CHECKBOX:\n queryParams.delete(filterKey);\n if (filterExcludeKey) {\n queryParams.delete(filterExcludeKey);\n }\n filterValue?.includedKeys?.forEach((includeKey) => {\n const includeValue = showExactMatch\n ? `\"${includeKey}\"`\n : includeKey;\n if (!queryParams.has(filterKey)) {\n queryParams.set(filterKey, includeValue);\n return;\n }\n queryParams.append(filterKey, includeValue);\n });\n filterValue?.excludedKeys?.forEach((excludeKey) => {\n const excludeValue = showExactMatch\n ? `\"${excludeKey}\"`\n : excludeKey;\n if (!queryParams.has(filterExcludeKey)) {\n queryParams.set(filterExcludeKey, excludeValue);\n return;\n }\n queryParams.append(filterExcludeKey, excludeValue);\n });\n break;\n }\n },\n );\n\n // handle delete pagination params\n __handleSetDeletePaginationParams('delete');\n const queryString = queryParams.toString();\n if (preSearch !== `?${queryString}`) {\n clearTimeout(timeout);\n timeout = setTimeout(() => {\n history.push({\n search: queryString,\n hash: getLeadsActiveTab(location),\n });\n searchLeads(null, true);\n }, 0);\n }\n };\n\n const handleDeleteFilter = (filter) => {\n if (filter) {\n filter?.type.forEach((type) => {\n queryParams.delete(type?.key);\n queryParams.delete(type?.excludeKey);\n });\n const queryParamLength = Array.from(queryParams.entries()).length;\n if (\n queryParamLength === 2 &&\n queryParams.has('start') &&\n queryParams.has('take')\n ) {\n queryParams.delete('start');\n queryParams.delete('take');\n }\n history.push({\n search: queryParams.toString(),\n hash: getLeadsActiveTab(location),\n });\n searchLeads(null, false);\n }\n };\n\n return {\n handleQuery,\n handleDeleteFilter,\n handleGetAllKeysByFilterFromQuery,\n handleIndividualTag,\n handleFoundValueExceptFromList,\n handleBulkQuery,\n };\n};\n","import React, { useState } from 'react';\nimport classNames from 'classnames';\nimport { useSelector } from 'react-redux';\nimport IndividualLeads from '../individual-leads/individual-leads';\nimport Pagination from '../../../../shared/design-system/components/pagination/pagination';\nimport {\n setLeadListingPageSize,\n showingLengthPerPageOptions,\n} from '../../helpers/helper';\nimport Select from '../../../../shared/design-system/components/select';\nimport { TablePageLengthDropDown } from '../../../../shared/design-system/components/organisms/table/types';\nimport { Placement } from '../../../../shared/design-system/components/overlay';\nimport 'overlayscrollbars/styles/overlayscrollbars.css';\nimport {\n sendGetDetailsOfContactRequestHandler,\n getTagsFilterApplied,\n} from '../../../prospect/helpers/helper';\nimport { setProspectDetails } from '../../../prospect/prospect-slice';\nimport { RootState } from '../../../../store/root-reducer';\n\nimport ProspectDetails from '../../../prospect/components/prospect-list/components/prospect-details';\nimport hasPermission from '../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../shared/utils/access-control/enums/permissions';\nimport { LeadFinderTabKey, RR_PAGINATION_LIMIT } from '../../type';\n\nconst LeadListing = (props: any) => {\n const {\n topPeopleLimit,\n leadCredits,\n isLoading,\n leadsData,\n handlePagination,\n handleCheckUnCheckSingleLead,\n selectedLeads,\n isBulkRevealing,\n apiParam,\n savedApiParam,\n handleAppendLead,\n disabledLeads,\n deSelectedLeads,\n isSelectedAllLeads,\n handleResetStateAfterAnyAction,\n activeTabKey,\n setLoadingGetInfoLeads,\n handleFetchLeadsAfterBulkActions,\n isFirstPollRequest,\n emailRevealingLeads,\n setEmailRevealingLeads,\n emailPhoneRevealingLeads,\n setEmailPhoneRevealingLeads,\n } = props;\n\n const currentPage =\n activeTabKey === LeadFinderTabKey.PEOPLE_TAB\n ? Math.ceil(Number(apiParam?.start) / apiParam?.take)\n : Math.ceil(Number(savedApiParam?.start) / savedApiParam?.take);\n const totalPages =\n activeTabKey === LeadFinderTabKey.PEOPLE_TAB\n ? Math.ceil(\n Number(Math.min(leadsData?.pagination?.total, RR_PAGINATION_LIMIT)) /\n apiParam?.take,\n )\n : Math.ceil(Number(leadsData?.pagination?.total) / savedApiParam?.take);\n\n const {\n singleProspect,\n singleProspectSequenceDetails,\n getSingleProspectDetailsRequest,\n getSingleProspectSequencesDetailsRequest,\n prospectsFilters,\n } = useSelector((state: RootState) => state.prospect);\n\n const [selectedContactId, setSelectedContactId] = useState(null);\n const [\n showProspectDetailsModal,\n setShowProspectDetailsModal,\n ] = useState(false);\n\n const viewShowProspectDetailsModal = () => {\n if (!hasPermission(Permissions.PROSPECT_READ)) {\n return;\n }\n setShowProspectDetailsModal(true);\n };\n\n const getContactId = (id) => {\n sendGetDetailsOfContactRequestHandler({\n id,\n setProspectDetails,\n setSelectedContactId,\n viewShowProspectDetailsModal,\n });\n };\n\n const hideShowProspectDetailsModal = () => {\n setShowProspectDetailsModal(false);\n };\n\n const resetSelectedId = () => {\n setSelectedContactId(null);\n };\n\n return (\n
    \n \n {!isLoading && leadsData && (\n getContactId(id)}\n handleResetStateAfterAnyAction={handleResetStateAfterAnyAction}\n setLoadingGetInfoLeads={setLoadingGetInfoLeads}\n handleFetchLeadsAfterBulkActions={handleFetchLeadsAfterBulkActions}\n isFirstPollRequest={isFirstPollRequest}\n apiParam={apiParam}\n emailRevealingLeads={emailRevealingLeads}\n setEmailRevealingLeads={setEmailRevealingLeads}\n emailPhoneRevealingLeads={emailPhoneRevealingLeads}\n setEmailPhoneRevealingLeads={setEmailPhoneRevealingLeads}\n />\n )}\n
    \n {showProspectDetailsModal && selectedContactId && (\n \n )}\n {leadsData && leadsData?.pagination?.total > 25 && !isLoading && (\n \n
    \n
    \n \n Showing\n \n \n // options={handleGetShowingLengthPerPageOptions(Number(leadsData?.pagination?.total))}\n options={showingLengthPerPageOptions}\n selectedOptionKey={\n activeTabKey === LeadFinderTabKey.PEOPLE_TAB\n ? (apiParam?.take ?? '25').toString()\n : (savedApiParam?.take ?? '25').toString()\n }\n selectedOptionRenderer={([option]) => (\n {option?.key}\n )}\n onChange={([option]) => {\n setLeadListingPageSize(Number(option.value));\n handlePagination({\n start: 1, // apiParam?.start,\n take: Number(option.value),\n });\n }}\n optionRenderer={(option) => {option?.value}}\n placeholder=\"Select Plan\"\n placement={Placement.Top}\n />\n {`out of ${parseInt(\n leadsData?.pagination?.total,\n 10,\n ).toLocaleString('en-US')}`}\n
    \n\n
    \n\n {\n if (activeTabKey === LeadFinderTabKey.PEOPLE_TAB) {\n handlePagination({\n start: e * apiParam?.take - (apiParam?.take - 1),\n take: apiParam?.take,\n });\n } else {\n handlePagination({\n start: e * savedApiParam?.take - (savedApiParam?.take - 1),\n take: savedApiParam?.take,\n });\n }\n }}\n />\n
    \n
    \n )}\n \n );\n};\n\nexport default LeadListing;\n","export const DEPARTMENT_DATA = [\n {\n key: 'CU',\n value: 'C-Suite',\n children: [\n { key: 'CU000', value: 'Executive' },\n { key: 'CU001', value: 'Founder' },\n { key: 'CU002', value: 'Finance Executive' },\n { key: 'CU003', value: 'HR Executive' },\n { key: 'CU004', value: 'Health Executive' },\n { key: 'CU005', value: 'Legal Executive' },\n { key: 'CU006', value: 'Marketing Executive' },\n { key: 'CU007', value: 'Operations Executive' },\n { key: 'CU008', value: 'Product & Engineering Executive' },\n { key: 'CU009', value: 'Sales Executive' },\n ],\n },\n {\n key: 'FN',\n value: 'Finance',\n children: [\n { key: 'FN000', value: 'Accounting' },\n { key: 'FN001', value: 'Financial Planning & Analysis' },\n { key: 'FN002', value: 'Financial Reporting' },\n { key: 'FN003', value: 'Financial Strategy' },\n { key: 'FN004', value: 'Internal Audit & Control' },\n { key: 'FN005', value: 'Investment Management' },\n { key: 'FN006', value: 'Investor Relations' },\n { key: 'FN007', value: 'Risk' },\n { key: 'FN008', value: 'Tax' },\n ],\n },\n {\n key: 'HR',\n value: 'Hr',\n children: [\n { key: 'HR000', value: 'Compensation & Benefits' },\n { key: 'HR001', value: 'Diversity & Inclusion' },\n { key: 'HR002', value: 'Employee & Labor Relations' },\n { key: 'HR003', value: 'Learning & Development' },\n { key: 'HR004', value: 'Recruiting' },\n { key: 'HR005', value: 'Talent Management' },\n ],\n },\n {\n key: 'HL',\n value: 'Health',\n children: [\n { key: 'HL000', value: 'Clinical Operations' },\n { key: 'HL001', value: 'Dental' },\n { key: 'HL002', value: 'Doctor' },\n { key: 'HL003', value: 'Fitness' },\n { key: 'HL004', value: 'Medical Administration' },\n { key: 'HL005', value: 'Medical Education & Training' },\n { key: 'HL006', value: 'Medical Research' },\n { key: 'HL007', value: 'Nursing' },\n { key: 'HL008', value: 'Therapy' },\n { key: 'HL009', value: 'Wellness' },\n ],\n },\n {\n key: 'LG',\n value: 'Legal',\n children: [\n { key: 'LG000', value: 'Compliance' },\n { key: 'LG001', value: 'Contracts' },\n { key: 'LG002', value: 'Corporate Secretary' },\n { key: 'LG003', value: 'Legal Counsel' },\n { key: 'LG004', value: 'Litigation' },\n { key: 'LG005', value: 'Privacy' },\n ],\n },\n {\n key: 'MR',\n value: 'Marketing',\n children: [\n { key: 'MR000', value: 'Advertising' },\n { key: 'MR001', value: 'Brand Management' },\n { key: 'MR002', value: 'Content Marketing' },\n { key: 'MR003', value: 'Customer Experience' },\n { key: 'MR004', value: 'Demand Generation' },\n { key: 'MR005', value: 'Digital Marketing' },\n { key: 'MR006', value: 'Event Marketing' },\n { key: 'MR007', value: 'Product Marketing' },\n { key: 'MR008', value: 'Public Relations (PR)' },\n { key: 'MR009', value: 'Search Engine Optimization (SEO)' },\n { key: 'MR010', value: 'Social Media Marketing' },\n ],\n },\n {\n key: 'OP',\n value: 'Operations',\n children: [\n { key: 'OP000', value: 'Call Center' },\n { key: 'OP001', value: 'Corporate Strategy' },\n { key: 'OP002', value: 'Customer Service / Support' },\n { key: 'OP003', value: 'Facilities Management' },\n { key: 'OP004', value: 'Logistics' },\n { key: 'OP005', value: 'Manufacturing' },\n { key: 'OP006', value: 'Office Operations' },\n { key: 'OP007', value: 'Project Management' },\n { key: 'OP008', value: 'Quality Management' },\n { key: 'OP009', value: 'Real Estate' },\n { key: 'OP010', value: 'Supply Chain' },\n ],\n },\n {\n key: 'PR',\n value: 'Product & Engineering',\n children: [\n { key: 'PR000', value: 'Artificial Intelligence / Machine Learning' },\n { key: 'PR001', value: 'Devops' },\n { key: 'PR002', value: 'Data Science' },\n { key: 'PR003', value: 'Digital Transformation' },\n { key: 'PR004', value: 'Electrical Engineering' },\n { key: 'PR005', value: 'Graphic Design' },\n { key: 'PR006', value: 'Information Security' },\n { key: 'PR007', value: 'Information Technology' },\n { key: 'PR008', value: 'Mechanical Engineering' },\n { key: 'PR009', value: 'Network Operations' },\n { key: 'PR010', value: 'Product Design' },\n { key: 'PR011', value: 'Product Management' },\n { key: 'PR012', value: 'Project Engineering' },\n { key: 'PR013', value: 'Quality Assurance' },\n { key: 'PR014', value: 'Software Development' },\n { key: 'PR015', value: 'Systems Administration' },\n { key: 'PR006', value: 'Web Design' },\n { key: 'PR017', value: 'Web Development' },\n ],\n },\n {\n key: 'SL',\n value: 'Sales',\n children: [\n { key: 'SL000', value: 'Account Management' },\n { key: 'SL001', value: 'Business Development' },\n { key: 'SL002', value: 'Channel Sales' },\n { key: 'SL003', value: 'Customer Success' },\n { key: 'SL004', value: 'Inside Sales' },\n { key: 'SL005', value: 'Sales Enablement' },\n { key: 'SL006', value: 'Sales Operations' },\n ],\n },\n {\n key: 'EC',\n value: 'Education',\n children: [\n { key: 'EC000', value: 'Administration' },\n { key: 'EC001', value: 'Professor' },\n { key: 'EC002', value: 'Researcher' },\n { key: 'EC003', value: 'Teacher' },\n ],\n },\n];\n\nexport const LOCATION_DATA = [\n {\n key: 'AF',\n value: 'Africa',\n children: [\n { key: 'AF000', value: 'Algeria' },\n { key: 'AF001', value: 'Angola' },\n { key: 'AF002', value: 'Benin' },\n { key: 'AF003', value: 'Botswana' },\n { key: 'AF004', value: 'Burkina Faso' },\n { key: 'AF005', value: 'Burundi' },\n { key: 'AF006', value: 'Cameroon' },\n { key: 'AF007', value: 'Cape Verde' },\n { key: 'AF008', value: 'Central African Republic' },\n { key: 'AF009', value: 'Chad' },\n { key: 'AF010', value: 'Comoros' },\n { key: 'AF011', value: 'Congo (DRC)' },\n { key: 'AF012', value: 'Congo (Republic)' },\n { key: 'AF013', value: 'Djibouti' },\n { key: 'AF014', value: 'Egypt' },\n { key: 'AF015', value: 'Equatorial Guinea' },\n { key: 'AF016', value: 'Eritrea' },\n { key: 'AF017', value: 'Ethiopia' },\n { key: 'AF018', value: 'Gabon' },\n { key: 'AF019', value: 'Gambia' },\n { key: 'AF020', value: 'Ghana' },\n { key: 'AF021', value: 'Guinea' },\n { key: 'AF022', value: 'Guinea-Bissau' },\n { key: 'AF023', value: 'Kenya' },\n { key: 'AF024', value: 'Lesotho' },\n { key: 'AF025', value: 'Liberia' },\n { key: 'AF026', value: 'Libya' },\n { key: 'AF027', value: 'Madagascar' },\n { key: 'AF028', value: 'Malawi' },\n { key: 'AF029', value: 'Mali' },\n { key: 'AF030', value: 'Mauritania' },\n { key: 'AF031', value: 'Mauritius' },\n { key: 'AF032', value: 'Morocco' },\n { key: 'AF033', value: 'Mozambique' },\n { key: 'AF034', value: 'Namibia' },\n { key: 'AF035', value: 'Niger' },\n { key: 'AF036', value: 'Nigeria' },\n { key: 'AF037', value: 'Rwanda' },\n { key: 'AF038', value: 'Sao Tome and Principe' },\n { key: 'AF039', value: 'Senegal' },\n { key: 'AF040', value: 'Seychelles' },\n { key: 'AF041', value: 'Sierra Leone' },\n { key: 'AF042', value: 'Somalia' },\n { key: 'AF043', value: 'South Africa' },\n { key: 'AF044', value: 'Sudan' },\n { key: 'AF045', value: 'Swaziland' },\n { key: 'AF046', value: 'Tanzania' },\n { key: 'AF047', value: 'Togo' },\n { key: 'AF048', value: 'Tunisia' },\n { key: 'AF049', value: 'Uganda' },\n { key: 'AF050', value: 'Zambia' },\n { key: 'AF051', value: 'Zimbabwe' },\n ],\n },\n {\n key: 'AS',\n value: 'Asia',\n children: [\n { key: 'AS000', value: 'Afghanistan' },\n { key: 'AS001', value: 'Armenia' },\n { key: 'AS002', value: 'Azerbaijan' },\n { key: 'AS003', value: 'Bahrain' },\n { key: 'AS004', value: 'Bangladesh' },\n { key: 'AS005', value: 'Bhutan' },\n { key: 'AS006', value: 'Brunei Darussalam' },\n { key: 'AS007', value: 'Cambodia' },\n { key: 'AS008', value: 'China' },\n { key: 'AS009', value: 'Georgia (C)' },\n { key: 'AS010', value: 'India' },\n { key: 'AS011', value: 'Indonesia' },\n { key: 'AS012', value: 'Iran' },\n { key: 'AS013', value: 'Israel' },\n { key: 'AS014', value: 'Japan' },\n { key: 'AS015', value: 'Jordan' },\n { key: 'AS016', value: 'Kazakhstan' },\n { key: 'AS017', value: 'Kuwait' },\n { key: 'AS018', value: 'Kyrgyzstan' },\n { key: 'AS019', value: 'Laos' },\n { key: 'AS020', value: 'Lebanon' },\n { key: 'AS021', value: 'Malaysia' },\n { key: 'AS022', value: 'Maldives' },\n { key: 'AS023', value: 'Mongolia' },\n { key: 'AS024', value: 'Myanmar' },\n { key: 'AS025', value: 'Nepal' },\n { key: 'AS026', value: 'North Korea' },\n { key: 'AS027', value: 'Oman' },\n { key: 'AS028', value: 'Pakistan' },\n { key: 'AS029', value: 'Philippines' },\n { key: 'AS030', value: 'Qatar' },\n { key: 'AS031', value: 'Saudi Arabia' },\n { key: 'AS032', value: 'Singapore' },\n { key: 'AS033', value: 'South Korea' },\n { key: 'AS034', value: 'Sri Lanka' },\n { key: 'AS035', value: 'Syria' },\n { key: 'AS036', value: 'Taiwan' },\n { key: 'AS037', value: 'Tajikistan' },\n { key: 'AS038', value: 'Thailand' },\n { key: 'AS039', value: 'Turkey' },\n { key: 'AS040', value: 'Turkmenistan' },\n { key: 'AS041', value: 'United Arab Emirates' },\n { key: 'AS042', value: 'Uzbekistan' },\n { key: 'AS043', value: 'Vietnam' },\n { key: 'AS044', value: 'Yemen' },\n ],\n },\n {\n key: 'CM',\n value: 'CAN > Metro Areas',\n children: [\n { key: 'CM000', value: 'AB > Calgary Area' },\n { key: 'CM001', value: 'AB > Edmonton Area' },\n { key: 'CM002', value: 'BC > Abbotsford Area' },\n { key: 'CM003', value: 'BC > Kelowna Area' },\n { key: 'CM004', value: 'BC > Vancouver Area' },\n { key: 'CM005', value: 'BC > Victoria Area' },\n { key: 'CM006', value: 'MB > Winnipeg Area' },\n { key: 'CM007', value: 'NB > Moncton Area' },\n { key: 'CM008', value: 'NB > St. John Area' },\n { key: 'CM009', value: 'NL > St. John Area' },\n { key: 'CM010', value: 'NS > Halifax Area' },\n { key: 'CM011', value: 'NT > Yellowknife Area' },\n { key: 'CM012', value: 'ON > Barrie Area' },\n { key: 'CM013', value: 'ON > Brantford Area' },\n { key: 'CM014', value: 'ON > Guelph Area' },\n { key: 'CM015', value: 'ON > Hamilton Area' },\n { key: 'CM016', value: 'ON > Kingston Area' },\n { key: 'CM017', value: 'ON > Kitchener Area' },\n { key: 'CM018', value: 'ON > London Area' },\n { key: 'CM019', value: 'ON > Ottawa Area' },\n { key: 'CM020', value: 'ON > Peterborough Area' },\n { key: 'CM021', value: 'ON > St. Catherines Area' },\n { key: 'CM022', value: 'ON > Sudbury Area' },\n { key: 'CM023', value: 'ON > Thunder Bay Area' },\n { key: 'CM024', value: 'ON > Toronto Area' },\n { key: 'CM025', value: 'ON > Windsor Area' },\n { key: 'CM026', value: 'PEI > Charlottetown Area' },\n { key: 'CM027', value: 'QC > Chicoutimi Area' },\n { key: 'CM028', value: 'QC > Montreal Area' },\n { key: 'CM029', value: 'QC > Quebec Area' },\n { key: 'CM030', value: 'QC > Sherbrooke Area' },\n { key: 'CM031', value: 'QC > Trois Rivieres Area' },\n { key: 'CM032', value: 'SK > Regina Area' },\n { key: 'CM033', value: 'SK > Saskatoon Area' },\n ],\n },\n {\n key: 'CP',\n value: 'CAN > Provinces',\n children: [\n { key: 'CP000', value: 'Alberta' },\n { key: 'CP001', value: 'British Columbia' },\n { key: 'CP002', value: 'Manitoba' },\n { key: 'CP003', value: 'New Brunswick' },\n { key: 'CP004', value: 'Newfoundland' },\n { key: 'CP005', value: 'Northwest Territories' },\n { key: 'CP006', value: 'Nova Scotia' },\n { key: 'CP007', value: 'Nunavut' },\n { key: 'CP008', value: 'Ontario' },\n { key: 'CP009', value: 'Prince Edward Island' },\n { key: 'CP010', value: 'Quebec' },\n { key: 'CP011', value: 'Saskatchewan' },\n { key: 'CP012', value: 'Yukon' },\n ],\n },\n {\n key: 'EU',\n value: 'Europe',\n children: [\n { key: 'EU000', value: 'Albania' },\n { key: 'EU001', value: 'Andorra' },\n { key: 'EU002', value: 'Austria' },\n { key: 'EU003', value: 'Belarus' },\n { key: 'EU004', value: 'Belgium' },\n { key: 'EU005', value: 'Bosnia Herzegovina' },\n { key: 'EU006', value: 'Bulgaria' },\n { key: 'EU007', value: 'Croatia' },\n { key: 'EU008', value: 'Cyprus' },\n { key: 'EU009', value: 'Czech Republic' },\n { key: 'EU010', value: 'Denmark' },\n { key: 'EU011', value: 'Estonia' },\n { key: 'EU012', value: 'Finland' },\n { key: 'EU013', value: 'France' },\n { key: 'EU014', value: 'Germany' },\n { key: 'EU015', value: 'Greece' },\n { key: 'EU016', value: 'Hungary' },\n { key: 'EU017', value: 'Iceland' },\n { key: 'EU018', value: 'Ireland' },\n { key: 'EU019', value: 'Italy' },\n { key: 'EU020', value: 'Latvia' },\n { key: 'EU021', value: 'Liechtenstein' },\n { key: 'EU022', value: 'Lithuania' },\n { key: 'EU023', value: 'Luxembourg' },\n { key: 'EU024', value: 'Macedonia (FYROM)' },\n { key: 'EU025', value: 'Malta' },\n { key: 'EU026', value: 'Moldova' },\n { key: 'EU027', value: 'Monaco' },\n { key: 'EU028', value: 'Netherlands' },\n { key: 'EU029', value: 'Norway' },\n { key: 'EU030', value: 'Poland' },\n { key: 'EU031', value: 'Portugal' },\n { key: 'EU032', value: 'Romania' },\n { key: 'EU033', value: 'Russia' },\n { key: 'EU034', value: 'San Marino' },\n { key: 'EU035', value: 'Slovakia' },\n { key: 'EU036', value: 'Slovenia' },\n { key: 'EU037', value: 'Spain' },\n { key: 'EU038', value: 'Sweden' },\n { key: 'EU039', value: 'Switzerland' },\n { key: 'EU040', value: 'Ukraine' },\n { key: 'EU041', value: 'United Kingdom' },\n ],\n },\n {\n key: 'NA',\n value: 'North America',\n children: [\n { key: 'NA000', value: 'Antigua and Barbuda' },\n { key: 'NA001', value: 'Bahamas' },\n { key: 'NA002', value: 'Barbados' },\n { key: 'NA003', value: 'Belize' },\n { key: 'NA004', value: 'Canada' },\n { key: 'NA005', value: 'Costa Rica' },\n { key: 'NA006', value: 'Cuba' },\n { key: 'NA007', value: 'Dominica' },\n { key: 'NA008', value: 'Dominican Republic' },\n { key: 'NA009', value: 'El Salvador' },\n { key: 'NA010', value: 'Grenada' },\n { key: 'NA011', value: 'Guatemala' },\n { key: 'NA012', value: 'Haiti' },\n { key: 'NA013', value: 'Honduras' },\n { key: 'NA014', value: 'Jamaica' },\n { key: 'NA015', value: 'Mexico' },\n { key: 'NA016', value: 'Nicaragua' },\n { key: 'NA017', value: 'Panama' },\n { key: 'NA018', value: 'Saint Kitts and Nevis' },\n { key: 'NA019', value: 'Saint Vincent and the Grenadines' },\n { key: 'NA020', value: 'Trinidad and Tobago' },\n { key: 'NA021', value: 'United States' },\n ],\n },\n {\n key: 'OC',\n value: 'Oceania',\n children: [\n { key: 'OC000', value: 'Australia' },\n { key: 'OC001', value: 'Cook Islands' },\n { key: 'OC002', value: 'Fiji' },\n { key: 'OC003', value: 'Kiribati' },\n { key: 'OC004', value: 'New Zealand' },\n { key: 'OC005', value: 'Papua New Guinea' },\n { key: 'OC006', value: 'Samoa' },\n { key: 'OC007', value: 'Solomon Islands' },\n { key: 'OC008', value: 'Timor-Leste' },\n { key: 'OC009', value: 'Tonga' },\n { key: 'OC010', value: 'Vanuatu' },\n ],\n },\n {\n key: 'SA',\n value: 'South America',\n children: [\n { key: 'SA000', value: 'Argentina' },\n { key: 'SA001', value: 'Bolivia' },\n { key: 'SA002', value: 'Brazil' },\n { key: 'SA003', value: 'Chile' },\n { key: 'SA004', value: 'Colombia' },\n { key: 'SA005', value: 'Ecuador' },\n { key: 'SA006', value: 'Guyana' },\n { key: 'SA007', value: 'Paraguay' },\n { key: 'SA008', value: 'Peru' },\n { key: 'SA009', value: 'Suriname' },\n { key: 'SA010', value: 'Uruguay' },\n { key: 'SA011', value: 'Venezuela' },\n ],\n },\n {\n key: 'UM',\n value: 'US > Metro Areas',\n children: [\n { key: 'UM000', value: 'TX > Abilene Area' },\n { key: 'UM001', value: 'TX > Amarillo Area' },\n { key: 'UM002', value: 'TX > Austin Area' },\n { key: 'UM003', value: 'TX > Beaumont Area' },\n { key: 'UM004', value: 'TX > Bryan Area' },\n { key: 'UM005', value: 'TX > Corpus Christi Area' },\n { key: 'UM006', value: 'TX > Dallas Area' },\n { key: 'UM007', value: 'TX > El Paso Area' },\n { key: 'UM008', value: 'TX > Harlingen Area' },\n { key: 'UM009', value: 'TX > Houston Area' },\n { key: 'UM010', value: 'TX > Laredo Area' },\n { key: 'UM011', value: 'TX > Lubbock Area' },\n { key: 'UM012', value: 'TX > Odessa Area' },\n { key: 'UM013', value: 'TX > San Angelo Area' },\n { key: 'UM014', value: 'TX > San Antonio Area' },\n { key: 'UM015', value: 'TX > Tyler Area' },\n { key: 'UM016', value: 'TX > Victoria Area' },\n { key: 'UM017', value: 'TX > Wichita Falls Area' },\n { key: 'UM018', value: 'UT > Salt Lake City Area' },\n { key: 'UM019', value: 'VA > Charlottesville Area' },\n { key: 'UM020', value: 'VA > Hampton Roads Area' },\n { key: 'UM021', value: 'VA > Harrisonburg Area' },\n { key: 'UM022', value: 'VA > Richmond Area' },\n { key: 'UM023', value: 'VA > Roanoke Area' },\n { key: 'UM024', value: 'VT > Burlington Area' },\n { key: 'UM025', value: 'WA > Seattle Area' },\n { key: 'UM026', value: 'WA > Spokane Area' },\n { key: 'UM027', value: 'WA > Tri Cities Area' },\n { key: 'UM028', value: 'WI > Green Bay Area' },\n { key: 'UM029', value: 'WI > La Crosse Area' },\n { key: 'UM030', value: 'WI > Madison Area' },\n { key: 'UM031', value: 'WI > Milwaukee Area' },\n { key: 'UM032', value: 'WI > Wausau Area' },\n { key: 'UM033', value: 'WV > Bluefield Area' },\n { key: 'UM034', value: 'WV > Charleston Area' },\n { key: 'UM035', value: 'WV > Clarksburg Area' },\n { key: 'UM036', value: 'WV > Parkersburg Area' },\n { key: 'UM037', value: 'WY > Casper Area' },\n { key: 'UM038', value: 'WY > Cheyenne Area' },\n { key: 'UM039', value: 'CA > Los Angeles Area' },\n { key: 'UM040', value: 'CA > Monterey Bay Area' },\n { key: 'UM041', value: 'CA > Palm Springs Area' },\n { key: 'UM042', value: 'CA > Sacramento Area' },\n { key: 'UM043', value: 'CA > San Diego Area' },\n { key: 'UM044', value: 'CA > San Francisco Area' },\n { key: 'UM045', value: 'CA > San Jose Area' },\n { key: 'UM046', value: 'CA > Santa Barbara Area' },\n { key: 'UM047', value: 'CO > Colorado Springs Area' },\n { key: 'UM048', value: 'CO > Denver Area' },\n { key: 'UM049', value: 'CO > Grand Junction Area' },\n { key: 'UM050', value: 'CT > Hartford Area' },\n { key: 'UM051', value: 'DC > Washington Area' },\n { key: 'UM052', value: 'FL > Fort Myers Area' },\n { key: 'UM053', value: 'FL > Gainesville Area' },\n { key: 'UM054', value: 'FL > Jacksonville Area' },\n { key: 'UM055', value: 'FL > Miami Area' },\n { key: 'UM056', value: 'FL > Orlando Area' },\n { key: 'UM057', value: 'FL > Panama City Area' },\n { key: 'UM058', value: 'FL > Tallahassee Area' },\n { key: 'UM059', value: 'FL > Tampa Bay Area' },\n { key: 'UM060', value: 'FL > West Palm Beach Area' },\n { key: 'UM061', value: 'GA > Albany Area' },\n { key: 'UM062', value: 'GA > Atlanta Area' },\n { key: 'UM063', value: 'GA > Augusta Area' },\n { key: 'UM064', value: 'GA > Columbus Area' },\n { key: 'UM065', value: 'GA > Macon Area' },\n { key: 'UM066', value: 'GA > Savannah Area' },\n { key: 'UM067', value: 'HI > Honolulu Area' },\n { key: 'UM068', value: 'IA > Cedar Rapids Area' },\n { key: 'UM069', value: 'IA > Davenport Area' },\n { key: 'UM070', value: 'IA > Des Moines Area' },\n { key: 'UM071', value: 'IA > Ottumwa Area' },\n { key: 'UM072', value: 'IA > Sioux City Area' },\n { key: 'UM073', value: 'ID > Boise City Area' },\n { key: 'UM074', value: 'ID > Idaho Falls Area' },\n { key: 'UM075', value: 'ID > Twin Falls Area' },\n { key: 'UM076', value: 'IL > Chicago Area' },\n { key: 'UM077', value: 'IL > Peoria Area' },\n { key: 'UM078', value: 'IL > Quincy Area' },\n { key: 'UM079', value: 'IL > Rockford Area' },\n { key: 'UM080', value: 'IL > Springfield Area' },\n { key: 'UM081', value: 'IN > Evansville Area' },\n { key: 'UM082', value: 'IN > Fort Wayne Area' },\n { key: 'UM083', value: 'IN > Indianapolis Area' },\n { key: 'UM084', value: 'IN > Lafayette Area' },\n { key: 'UM085', value: 'IN > South Bend Area' },\n { key: 'UM086', value: 'IN > Terre Haute Area' },\n { key: 'UM087', value: 'KS > Topeka Area' },\n { key: 'UM088', value: 'KS > Wichita Area' },\n { key: 'UM089', value: 'KY > Bowling Green Area' },\n { key: 'UM090', value: 'KY > Lexington Area' },\n { key: 'UM091', value: 'KY > Louisville Area' },\n { key: 'UM092', value: 'KY > Paducah Area' },\n { key: 'UM093', value: 'LA > Alexandria Area' },\n { key: 'UM094', value: 'LA > Baton Rouge Area' },\n { key: 'UM095', value: 'LA > Lafayette Area' },\n { key: 'UM096', value: 'LA > Lake Charles Area' },\n { key: 'UM097', value: 'LA > Monroe Area' },\n { key: 'UM098', value: 'LA > New Orleans Area' },\n { key: 'UM099', value: 'LA > Shreveport Area' },\n { key: 'UM100', value: 'MA > Boston Area' },\n { key: 'UM101', value: 'MA > Springfield Area' },\n { key: 'UM102', value: 'MD > Baltimore Area' },\n { key: 'UM103', value: 'MD > Salisbury Area' },\n { key: 'UM104', value: 'ME > Bangor Area' },\n { key: 'UM105', value: 'ME > Portland Area' },\n { key: 'UM106', value: 'ME > PresqueIsle Area' },\n { key: 'UM107', value: 'MI > Alpena Area' },\n { key: 'UM108', value: 'MI > Detroit Area' },\n { key: 'UM109', value: 'MI > Flint Area' },\n { key: 'UM110', value: 'MI > Grand Rapids Area' },\n { key: 'UM111', value: 'MI > Lansing Area' },\n { key: 'UM112', value: 'MI > Marquette Area' },\n { key: 'UM113', value: 'MI > Traverse City Area' },\n { key: 'UM114', value: 'MN > Duluth Area' },\n { key: 'UM115', value: 'MN > Mankato Area' },\n { key: 'UM116', value: 'MN > Minneapolis Area' },\n { key: 'UM117', value: 'MN > Rochester Area' },\n { key: 'UM118', value: 'MO > Jefferson City Area' },\n { key: 'UM119', value: 'MO > Joplin Area' },\n { key: 'UM120', value: 'MO > Kansas City Area' },\n { key: 'UM121', value: 'MO > Saint Joseph Area' },\n { key: 'UM122', value: 'MO > Saint Louis Area' },\n { key: 'UM123', value: 'MO > Springfield Area' },\n { key: 'UM124', value: 'MS > Biloxi Area' },\n { key: 'UM125', value: 'MS > Columbus Area' },\n { key: 'UM126', value: 'MS > Greenville Area' },\n { key: 'UM127', value: 'MS > Hattiesburg Area' },\n { key: 'UM128', value: 'MS > Jackson Area' },\n { key: 'UM129', value: 'MS > Meridian Area' },\n { key: 'UM130', value: 'MT > Billings Area' },\n { key: 'UM131', value: 'MT > Butte Area' },\n { key: 'UM132', value: 'MT > Glendive Area' },\n { key: 'UM133', value: 'MT > Great Falls Area' },\n { key: 'UM134', value: 'MT > Helena Area' },\n { key: 'UM135', value: 'MT > Missoula Area' },\n { key: 'UM136', value: 'NC > Charlotte Area' },\n { key: 'UM137', value: 'NC > Greenville Area' },\n { key: 'UM138', value: 'NC > Raleigh Area' },\n { key: 'UM139', value: 'NC > Wilmington Area' },\n { key: 'UM140', value: 'NC > Winston Salem Area' },\n { key: 'UM141', value: 'ND > Bismarck Area' },\n { key: 'UM142', value: 'ND > Fargo Area' },\n { key: 'UM143', value: 'NE > Lincoln Area' },\n { key: 'UM144', value: 'NE > North Platte Area' },\n { key: 'UM145', value: 'NE > Omaha Area' },\n { key: 'UM146', value: 'NM > Albuquerque Area' },\n { key: 'UM147', value: 'NV > Las Vegas Area' },\n { key: 'UM148', value: 'NV > Reno Area' },\n { key: 'UM149', value: 'NY > Albany Area' },\n { key: 'UM150', value: 'NY > Binghamton Area' },\n { key: 'UM151', value: 'NY > Buffalo Area' },\n { key: 'UM152', value: 'NY > Elmira Area' },\n { key: 'UM153', value: 'NY > New York Area' },\n { key: 'UM154', value: 'NY > Rochester Area' },\n { key: 'UM155', value: 'NY > Syracuse Area' },\n { key: 'UM156', value: 'NY > Utica Area' },\n { key: 'UM157', value: 'NY > Watertown Area' },\n { key: 'UM158', value: 'OH > Cincinnati Area' },\n { key: 'UM159', value: 'OH > Cleveland Area' },\n { key: 'UM160', value: 'OH > Columbus Area' },\n { key: 'UM161', value: 'OH > Dayton Area' },\n { key: 'UM162', value: 'OH > Lima Area' },\n { key: 'UM163', value: 'OH > Toledo Area' },\n { key: 'UM164', value: 'OH > Wheeling Area' },\n { key: 'UM165', value: 'OH > Youngstown Area' },\n { key: 'UM166', value: 'OH > Zanesville Area' },\n { key: 'UM167', value: 'OK > Ardmore Area' },\n { key: 'UM168', value: 'OK > Oklahoma City Area' },\n { key: 'UM169', value: 'OK > Tulsa Area' },\n { key: 'UM170', value: 'OR > Bend Area' },\n { key: 'UM171', value: 'OR > Eugene Area' },\n { key: 'UM172', value: 'OR > Medford Area' },\n { key: 'UM173', value: 'OR > Portland Area' },\n { key: 'UM174', value: 'PA > Erie Area' },\n { key: 'UM175', value: 'PA > Harrisburg Area' },\n { key: 'UM176', value: 'PA > Johnstown Area' },\n { key: 'UM177', value: 'PA > Philadelphia Area' },\n { key: 'UM178', value: 'PA > Pittsburgh Area' },\n { key: 'UM179', value: 'PA > Wilkes Barre Area' },\n { key: 'UM180', value: 'PR > Aguadilla Area' },\n { key: 'UM181', value: 'PR > Mayaguez Area' },\n { key: 'UM182', value: 'PR > Ponce Area' },\n { key: 'UM183', value: 'PR > San Juan Area' },\n { key: 'UM184', value: 'RI > Providence Area' },\n { key: 'UM185', value: 'SC > Charleston Area' },\n { key: 'UM186', value: 'SC > Columbia Area' },\n { key: 'UM187', value: 'SC > Florence Area' },\n { key: 'UM188', value: 'SC > Greenville Area' },\n { key: 'UM189', value: 'SD > Rapid City Area' },\n { key: 'UM190', value: 'SD > Sioux Falls Area' },\n { key: 'UM191', value: 'TN > Chattanooga Area' },\n { key: 'UM192', value: 'TN > Jackson Area' },\n { key: 'UM193', value: 'TN > Knoxville Area' },\n { key: 'UM194', value: 'TN > Memphis Area' },\n { key: 'UM195', value: 'TN > Nashville Area' },\n { key: 'UM196', value: 'TN > Tri Cities Area' },\n { key: 'UM197', value: 'TX > Abilene Area' },\n { key: 'UM198', value: 'TX > Amarillo Area' },\n { key: 'UM199', value: 'TX > Austin Area' },\n { key: 'UM200', value: 'TX > Beaumont Area' },\n { key: 'UM201', value: 'TX > Bryan Area' },\n { key: 'UM202', value: 'TX > Corpus Christi Area' },\n { key: 'UM203', value: 'TX > Dallas Area' },\n { key: 'UM204', value: 'TX > El Paso Area' },\n { key: 'UM205', value: 'TX > Harlingen Area' },\n { key: 'UM206', value: 'TX > Houston Area' },\n { key: 'UM207', value: 'TX > Laredo Area' },\n { key: 'UM208', value: 'TX > Lubbock Area' },\n { key: 'UM209', value: 'TX > Odessa Area' },\n { key: 'UM210', value: 'TX > San Angelo Area' },\n { key: 'UM211', value: 'TX > San Antonio Area' },\n { key: 'UM212', value: 'TX > Tyler Area' },\n { key: 'UM213', value: 'TX > Victoria Area' },\n { key: 'UM214', value: 'TX > Wichita Falls Area' },\n { key: 'UM215', value: 'UT > Salt Lake City Area' },\n { key: 'UM216', value: 'VA > Charlottesville Area' },\n { key: 'UM217', value: 'VA > Hampton Roads Area' },\n { key: 'UM218', value: 'VA > Harrisonburg Area' },\n { key: 'UM219', value: 'VA > Richmond Area' },\n { key: 'UM220', value: 'VA > Roanoke Area' },\n { key: 'UM221', value: 'VT > Burlington Area' },\n { key: 'UM222', value: 'WA > Seattle Area' },\n { key: 'UM223', value: 'WA > Spokane Area' },\n { key: 'UM224', value: 'WA > Tri Cities Area' },\n { key: 'UM225', value: 'WI > Green Bay Area' },\n { key: 'UM226', value: 'WI > La Crosse Area' },\n { key: 'UM227', value: 'WI > Madison Area' },\n { key: 'UM228', value: 'WI > Milwaukee Area' },\n { key: 'UM229', value: 'WI > Wausau Area' },\n { key: 'UM230', value: 'WV > Bluefield Area' },\n { key: 'UM231', value: 'WV > Charleston Area' },\n { key: 'UM232', value: 'WV > Clarksburg Area' },\n { key: 'UM233', value: 'WV > Parkersburg Area' },\n { key: 'UM234', value: 'WY > Casper Area' },\n { key: 'UM235', value: 'WY > Cheyenne Area' },\n ],\n },\n {\n key: 'US',\n value: 'US > States',\n children: [\n { key: 'US000', value: 'Alabama, US' },\n { key: 'US001', value: 'Alaska, US' },\n { key: 'US002', value: 'Arizona, US' },\n { key: 'US003', value: 'Arkansas, US' },\n { key: 'US004', value: 'California, US' },\n { key: 'US005', value: 'Colorado, US' },\n { key: 'US006', value: 'Connecticut, US' },\n { key: 'US007', value: 'Delaware, US' },\n { key: 'US008', value: 'Florida, US' },\n { key: 'US009', value: 'Georgia, US' },\n { key: 'US010', value: 'Hawaii, US' },\n { key: 'US011', value: 'Idaho, US' },\n { key: 'US012', value: 'Illinois, US' },\n { key: 'US013', value: 'Indiana, US' },\n { key: 'US014', value: 'Iowa, US' },\n { key: 'US015', value: 'Kansas, US' },\n { key: 'US016', value: 'Kentucky, US' },\n { key: 'US017', value: 'Louisiana, US' },\n { key: 'US018', value: 'Maine, US' },\n { key: 'US019', value: 'Maryland, US' },\n { key: 'US020', value: 'Massachusetts, US' },\n { key: 'US021', value: 'Michigan, US' },\n { key: 'US022', value: 'Minnesota, US' },\n { key: 'US023', value: 'Mississippi, US' },\n { key: 'US024', value: 'Missouri, US' },\n { key: 'US025', value: 'Montana, US' },\n { key: 'US026', value: 'Nebraska, US' },\n { key: 'US027', value: 'Nevada, US' },\n { key: 'US028', value: 'New Hampshire, US' },\n { key: 'US029', value: 'New Jersey, US' },\n { key: 'US030', value: 'New Mexico, US' },\n { key: 'US031', value: 'New York, US' },\n { key: 'US032', value: 'North Carolina, US' },\n { key: 'US033', value: 'North Dakota, US' },\n { key: 'US034', value: 'Ohio, US' },\n { key: 'US035', value: 'Oklahoma, US' },\n { key: 'US036', value: 'Oregon, US' },\n { key: 'US037', value: 'Pennsylvania, US' },\n { key: 'US038', value: 'Rhode Island, US' },\n { key: 'US039', value: 'South Carolina, US' },\n { key: 'US040', value: 'South Dakota, US' },\n { key: 'US041', value: 'Tennessee, US' },\n { key: 'US042', value: 'Texas, US' },\n { key: 'US043', value: 'Utah, US' },\n { key: 'US044', value: 'Vermont, US' },\n { key: 'US045', value: 'Virginia, US' },\n { key: 'US046', value: 'Washington, US' },\n { key: 'US047', value: 'West Virginia, US' },\n { key: 'US048', value: 'Wisconsin, US' },\n { key: 'US049', value: 'Wyoming, US' },\n { key: 'US050', value: 'District of Columbia' },\n { key: 'US051', value: 'American Samoa' },\n { key: 'US052', value: 'Canal Zone' },\n { key: 'US053', value: 'Guam' },\n { key: 'US054', value: 'Puerto Rico' },\n { key: 'US055', value: 'Virgin Islands' },\n ],\n },\n];\n\nexport const INDUSTRY_DATA = [\n {\n key: 'AF',\n value: 'Agriculture & Fishing',\n children: [\n { key: 'AF000', value: 'Agriculture' },\n { key: 'AF001', value: 'Crops' },\n { key: 'AF002', value: 'Dairy' },\n { key: 'AF003', value: 'Farming Animals & Livestock' },\n { key: 'AF004', value: 'Fishery & Aquaculture' },\n { key: 'AF005', value: 'Ranching' },\n ],\n },\n {\n key: 'BS',\n value: 'Business Services',\n children: [\n { key: 'BS000', value: 'Accounting & Accounting Services' },\n { key: 'BS001', value: 'Auctions' },\n { key: 'BS002', value: 'Business Services - General' },\n { key: 'BS003', value: 'Call Centers & Business Centers' },\n { key: 'BS004', value: 'Commercial Printing' },\n { key: 'BS005', value: 'Design' },\n { key: 'BS006', value: 'Digital Accessibility Services' },\n { key: 'BS007', value: 'Engineering Services' },\n { key: 'BS008', value: 'Equipment Rental Services' },\n { key: 'BS009', value: 'Event Services' },\n { key: 'BS010', value: 'Executive Search Services' },\n { key: 'BS011', value: 'Facilities Management & Services' },\n { key: 'BS012', value: 'Food Service' },\n { key: 'BS013', value: 'Geography & Positioning' },\n { key: 'BS014', value: 'Human Resources & Staffing' },\n { key: 'BS015', value: 'Information Services' },\n { key: 'BS017', value: 'Janitorial Services' },\n { key: 'BS018', value: 'Management Consulting' },\n { key: 'BS019', value: 'Multimedia & Graphic Design' },\n { key: 'BS020', value: 'Office Administration' },\n { key: 'BS021', value: 'Outsourcing' },\n { key: 'BS022', value: 'Repair & Maintenance' },\n { key: 'BS023', value: 'Sales, Marketing & Advertising' },\n { key: 'BS024', value: 'Security & Investigations Products & Services' },\n { key: 'BS025', value: 'Translation & Localization' },\n { key: 'BS026', value: 'HR, Staffing, & Recruiting' },\n { key: 'BS027', value: 'Writing & Editing' }\n ],\n },\n {\n key: 'CNO',\n value: 'Community & Non-Profit Organizations',\n children: [\n {\n key: 'CNO000',\n value: 'Non-Profit & Charitable Organizations & Foundations',\n },\n { key: 'CNO001', value: 'Organizations - General' },\n { key: 'CNO002', value: 'Philanthropy' },\n {\n key: 'CNO003',\n value: 'Professional Organizations',\n },\n { key: 'CNO004', value: 'Program Development' },\n { key: 'CNO005', value: 'Religious Organizations' },\n ],\n },\n {\n key: 'CN',\n value: 'Construction',\n children: [\n { key: 'CN000', value: 'Architecture Engineering & Design' },\n { key: 'CN001', value: 'Building Construction' },\n { key: 'CN002', value: 'Building Equipment Contractors' },\n { key: 'CN003', value: 'Building Finishing Contractors' },\n { key: 'CN004', value: 'Building Structure and Exterior Contractors' },\n { key: 'CN005', value: 'Construction - General' },\n { key: 'CN006', value: 'Highway, Street, and Bridge Construction' },\n { key: 'CN007', value: 'Landscaping Services' },\n { key: 'CN008', value: 'Mechanical Engineering' },\n { key: 'CN009', value: 'Mechanical or Industrial Engineering' },\n { key: 'CN010', value: 'Nonresidential Building Construction' },\n { key: 'CN011', value: 'Residential Building Construction' },\n { key: 'CN012', value: 'Specialty Trade Contractors' },\n { key: 'CN013', value: 'Utility System Construction' },\n ],\n },\n {\n key: 'CS',\n value: 'Consumer Services',\n children: [\n { key: 'CS000', value: 'Car & Truck Rental' },\n { key: 'CS001', value: 'Caterers' },\n { key: 'CS002', value: 'Child Care' },\n { key: 'CS003', value: 'Consumer Services - General' },\n { key: 'CS004', value: 'Funeral Homes & Funeral Related Services' },\n { key: 'CS005', value: 'Hair Salons and Cosmetology' },\n { key: 'CS006', value: 'Health Wellness & Fitness' },\n { key: 'CS007', value: 'Household Services' },\n { key: 'CS008', value: 'Laundry & Dry Cleaning Services' },\n { key: 'CS009', value: 'Photography' },\n { key: 'CS010', value: 'Vehicle Repair and Maintenance' },\n { key: 'CS011', value: 'Veterinary Care' },\n ],\n },\n {\n key: 'ED',\n value: 'Education',\n children: [\n { key: 'ED000', value: 'Career Services' },\n { key: 'ED001', value: 'Colleges & Universities' },\n { key: 'ED002', value: 'E-learning' },\n { key: 'ED003', value: 'Education - General' },\n { key: 'ED004', value: 'Education Management' },\n { key: 'ED005', value: 'Fine Arts Schools' },\n { key: 'ED006', value: 'Higher Education' },\n { key: 'ED007', value: 'K-12 Schools' },\n { key: 'ED008', value: 'Professional Training & Coaching' },\n { key: 'ED009', value: 'Sports and Recreation Instruction' },\n { key: 'ED010', value: 'Training' },\n ],\n },\n {\n key: 'EU',\n value: 'Energy, Utilities & Waste Treatment',\n children: [\n { key: 'EU000', value: 'Electricity & Energy' },\n { key: 'EU001', value: 'Environmental Services' },\n { key: 'EU002', value: 'Nuclear' },\n { key: 'EU003', value: 'Oil & Gas Exploration & Services' },\n { key: 'EU004', value: 'Renewables & Environment' },\n { key: 'EU005', value: 'Solar Electric Power Generation' },\n { key: 'EU006', value: 'Utilities' },\n { key: 'EU007', value: 'Water Energy & Waste Treatment' },\n { key: 'EU008', value: 'Energy, Utilities & Waste Treatment - General' },\n ],\n },\n {\n key: 'FI',\n value: 'Finance',\n children: [\n { key: 'FI000', value: 'Banking' },\n { key: 'FI001', value: 'Collection Agencies' },\n { key: 'FI002', value: 'Credit Cards & Transaction Processing' },\n { key: 'FI003', value: 'Finance - General' },\n { key: 'FI004', value: 'Financial Services' },\n { key: 'FI005', value: 'Funds, Trusts and Estates' },\n { key: 'FI006', value: 'Holding Companies' },\n { key: 'FI007', value: 'Investment Advice' },\n { key: 'FI008', value: 'Investment Advice' },\n { key: 'FI009', value: 'Investment Banking' },\n { key: 'FI010', value: 'Loan Brokers' },\n { key: 'FI011', value: 'Securities and Commodity Exchanges' },\n { key: 'FI012', value: 'Venture Capital & Private Equity' },\n ],\n },\n {\n key: 'GV',\n value: 'Government & Public Services',\n children: [\n { key: 'GV000', value: 'Chamber of Commerce' },\n { key: 'GV001', value: 'Communities' },\n { key: 'GV002', value: 'Conservation Programs' },\n { key: 'GV003', value: 'Corrections Facilities' },\n { key: 'GV004', value: 'Fire Protection' },\n { key: 'GV005', value: 'Government - General' },\n { key: 'GV006', value: 'Health & Human Services' },\n { key: 'GV007', value: 'International Affairs' },\n { key: 'GV008', value: 'Law Enforcement' },\n { key: 'GV009', value: 'Military' },\n { key: 'GV010', value: 'Public Policy' },\n { key: 'GV011', value: 'Public Safety' },\n { key: 'GV012', value: 'Space Research and Technology' },\n { key: 'GV013', value: 'Cities Towns & Municipalities - General' },\n ],\n },\n {\n key: 'HC',\n value: 'Healthcare',\n children: [\n { key: 'HC000', value: 'Biotechnology' },\n { key: 'HC001', value: 'Chiropractors' },\n { key: 'HC002', value: 'Dentists' },\n { key: 'HC003', value: 'Drug Manufacturing & Research' },\n { key: 'HC004', value: 'Drug Stores & Pharmacies' },\n { key: 'HC005', value: 'Emergency and Relief Services' },\n { key: 'HC006', value: 'Emergency Medical Transportation & Services' },\n { key: 'HC007', value: 'Elder & Disabled Care' },\n { key: 'HC008', value: 'Healthcare - General' },\n { key: 'HC009', value: 'Home Health Care Services' },\n { key: 'HC010', value: 'Hospitals' },\n { key: 'HC011', value: 'Hospitals & Healthcare' },\n { key: 'HC012', value: 'Medical & Diagnostic Laboratories' },\n { key: 'HC013', value: 'Medical Practice' },\n { key: 'HC014', value: 'Medicine' },\n { key: 'HC015', value: 'Mental Health Care' },\n { key: 'HC016', value: 'Optometrists' },\n { key: 'HC017', value: 'Pharmaceuticals' },\n { key: 'HC018', value: 'Physical, Occupational and Speech Therapists' },\n { key: 'HC019', value: 'Public Health' },\n ],\n },\n {\n key: 'LHT',\n value: 'Leisure & Hospitality',\n children: [\n { key: 'LHT000', value: 'Amusement Parks Arcades & Attractions' },\n { key: 'LHT001', value: 'Entertainment' },\n { key: 'LHT002', value: 'Fine Arts' },\n { key: 'LHT003', value: 'Fitness & Dance Facilities' },\n { key: 'LHT004', value: 'Gambling & Casinos' },\n { key: 'LHT005', value: 'Gaming' },\n { key: 'LHT006', value: 'Hotels, Lodging & Resorts' },\n { key: 'LHT007', value: 'Leisure & Hospitality - General' },\n { key: 'LHT008', value: 'Leisure, Travel & Tourism' },\n { key: 'LHT009', value: 'Libraries' },\n { key: 'LHT010', value: 'Movie Theaters' },\n { key: 'LHT011', value: 'Museums & Art Galleries' },\n { key: 'LHT012', value: 'Performing Arts' },\n { key: 'LHT013', value: 'Recreation' },\n { key: 'LHT014', value: 'Restaurants' },\n { key: 'LHT015', value: 'Sports' },\n { key: 'LHT016', value: 'Zoos & National Parks' },\n { key: 'LHT017', value: 'Bars, Taverns, and Nightclubs' },\n { key: 'LHT018', value: 'Cultural - General' },\n { key: 'LHT019', value: 'Golf Courses and Country Clubs' },\n { key: 'LHT020', value: 'Hotels, Lodging, & Resorts' },\n\n ],\n },\n {\n key: 'IS',\n value: 'Insurance',\n children: [{ key: 'IS000', value: 'Insurance - General' }],\n },\n {\n key: 'LFLS',\n value: 'Law Firms & Legal Services',\n children: [\n { key: 'LFLS000', value: 'Courts of Law' },\n { key: 'LFLS001', value: 'Law Firms & Legal Services - General' },\n ],\n },\n {\n key: 'LCS',\n value: 'Logistics & Supply Chain',\n children: [\n { key: 'LCS000', value: 'Import & Export & Trade' },\n { key: 'LCS001', value: 'Logistics & Supply Chain - General' },\n { key: 'LCS002', value: 'Shipping' },\n { key: 'LCS003', value: 'Warehousing' },\n { key: 'LCS004', value: 'Wholesale' },\n ],\n },\n {\n key: 'MF',\n value: 'Manufacturing',\n children: [\n { key: 'MF000', value: 'Aerospace & Defense' },\n { key: 'MF001', value: 'Animal and Leather Products' },\n { key: 'MF002', value: 'Appliances' },\n { key: 'MF003', value: 'Audio and Video Equipment and Products' },\n { key: 'MF004', value: 'Automotive' },\n { key: 'MF005', value: 'Automotive Equipment' },\n { key: 'MF006', value: 'Boats & Submarines' },\n { key: 'MF007', value: 'Building Materials' },\n { key: 'MF008', value: 'Business Supplies & Equipment' },\n { key: 'MF009', value: 'Chemical Products' },\n { key: 'MF010', value: 'Cleaning Products' },\n {\n key: 'MF011',\n value: 'Commercial and Industrial Machinery Maintenance',\n },\n { key: 'MF012', value: 'Commercial Machinery' },\n { key: 'MF013', value: 'Computer Hardware' },\n { key: 'MF014', value: 'Consumer Electronics' },\n { key: 'MF015', value: 'Consumer Goods' },\n {\n key: 'MF016',\n value: 'Cosmetics & Personal Care Products',\n },\n { key: 'MF017', value: 'Electrical Equipment and Products' },\n { key: 'MF018', value: 'Electronics & Electronics Manufacturing' },\n { key: 'MF019', value: 'Energy Equipment and Products' },\n { key: 'MF020', value: 'Fabricated Metal Products' },\n { key: 'MF021', value: 'Food & Beverages' },\n { key: 'MF022', value: 'Food Production' },\n { key: 'MF023', value: 'Furniture' },\n { key: 'MF024', value: 'Glass & Concrete' },\n { key: 'MF025', value: 'Hand Power and Lawn-care Tools' },\n { key: 'MF026', value: 'Household Goods' },\n { key: 'MF027', value: 'Industrial Machinery Equipment & Automation' },\n { key: 'MF028', value: 'Lighting Equipment and Products' },\n { key: 'MF029', value: 'Lumber & Wood Production' },\n { key: 'MF030', value: 'Manufacturing - General' },\n { key: 'MF031', value: 'Maritime' },\n { key: 'MF032', value: 'Measurement & Testing Equipment' },\n { key: 'MF033', value: 'Medical Devices & Equipment' },\n { key: 'MF034', value: 'Metal Products' },\n { key: 'MF035', value: 'Miscellaneous Building Materials' },\n { key: 'MF037', value: 'Office Equipment and Products' },\n { key: 'MF039', value: 'Paper, Wood & Forest Products' },\n { key: 'MF040', value: 'Petrochemicals' },\n { key: 'MF041', value: 'Plastics and Rubber Products' },\n { key: 'MF042', value: 'Plastics & Packaging & Containers' },\n { key: 'MF043', value: 'Plumbing & HVAC Equipment' },\n { key: 'MF044', value: 'Power Conversion & Protection Equipment' },\n { key: 'MF045', value: 'Recyclable Materials' },\n { key: 'MF046', value: 'Renewable Energy Equipment and Products' },\n { key: 'MF047', value: 'Semiconductor & Semiconductor Equipment' },\n { key: 'MF048', value: 'Shipbuilding' },\n { key: 'MF049', value: 'Telecommunication Equipment' },\n { key: 'MF050', value: 'Test & Measurement Equipment' },\n { key: 'MF051', value: 'Textiles, Fashion and Apparel' },\n { key: 'MF052', value: 'Textiles & Apparel' },\n { key: 'MF053', value: 'Tires & Rubber' },\n { key: 'MF054', value: 'Tobacco' },\n { key: 'MF055', value: 'Wine, Beer and Spirits' },\n { key: 'MF056', value: 'Health & Nutrition Products' },\n { key: 'MF057', value: 'Personal Computers & Peripherals' },\n\n ],\n },\n {\n key: 'MI',\n value: 'Media & Internet',\n children: [\n { key: 'MI000', value: 'Animation' },\n { key: 'MI001', value: 'Blogs' },\n { key: 'MI002', value: 'Broadcasting & Media' },\n { key: 'MI003', value: 'Ebook & Audiobooks' },\n { key: 'MI004', value: 'Ecommerce & Internet Retail' },\n { key: 'MI005', value: 'Film Video & Media Production & Services' },\n { key: 'MI006', value: 'Internet & Digital Media' },\n { key: 'MI007', value: 'Internet-related Services' },\n { key: 'MI008', value: 'Internet News & Publishing' },\n { key: 'MI009', value: 'Media & Internet - General' },\n { key: 'MI010', value: 'Music & Music Related Services' },\n { key: 'MI011', value: 'Newspapers & News Services' },\n { key: 'MI012', value: 'Public Relations & Communication' },\n { key: 'MI013', value: 'Publishing' },\n { key: 'MI014', value: 'Radio Stations' },\n { key: 'MI015', value: 'Search Engines & Internet Portals' },\n { key: 'MI016', value: 'Social Media' },\n { key: 'MI017', value: 'Television Stations' },\n { key: 'MI018', value: 'Writing & Editing' },\n ],\n },\n {\n key: 'MN',\n value: 'Metals & Mining',\n children: [\n { key: 'MN000', value: 'Metals & Mining - General' },\n { key: 'MN001', value: 'Mining' },\n ],\n },\n {\n key: 'RE',\n value: 'Real Estate',\n children: [\n { key: 'RE000', value: 'Commercial Real Estate' },\n { key: 'RE001', value: 'Consumer Goods Rental' },\n { key: 'RE002', value: 'Equipment Rental Services' },\n { key: 'RE003', value: 'Leasing Residential Real Estate' },\n { key: 'RE004', value: 'Real Estate - General' },\n { key: 'RE005', value: 'Real Estate Agents & Brokers' },\n {\n key: 'RE006',\n value: 'Real Estate & Equipment Rental Services',\n },\n ],\n },\n {\n key: 'RT',\n value: 'Research & Technology',\n children: [\n { key: 'RT000', value: 'Artificial Intelligence & Machine Learning' },\n { key: 'RT001', value: 'Climate Data & Analytics' },\n { key: 'RT002', value: 'Nanotechnology' },\n { key: 'RT003', value: 'Research & Technology - General' },\n { key: 'RT004', value: 'Robotics' },\n { key: 'RT005', value: 'Technology' },\n { key: 'RT006', value: 'Think Tanks' },\n { key: 'RT007', value: 'Cryptocurrency' },\n { key: 'RT008', value: 'Mobile' },\n { key: 'RT009', value: 'Research - General' },\n { key: 'RT010', value: 'Think Tanks' },\n ],\n },\n {\n key: 'RL',\n value: 'Retail',\n children: [\n { key: 'RL001', value: 'Apparel & Accessories Retail' },\n { key: 'RL002', value: 'Consumer Electronics & Computers Retail' },\n {\n key: 'RL003',\n value: 'Department Stores Shopping Centers & Superstores',\n },\n { key: 'RL004', value: 'Eyewear' },\n { key: 'RL005', value: 'Flowers Gifts & Specialty' },\n { key: 'RL006', value: 'Footwear' },\n { key: 'RL007', value: 'Gas Stations Convenience & Liquor Stores' },\n { key: 'RL008', value: 'Grocery & Supermarkets' },\n { key: 'RL010', value: 'Home Improvement & Hardware' },\n { key: 'RL011', value: 'Jewelry & Watch Retail' },\n { key: 'RL012', value: 'Luxury Goods & Jewelry' },\n { key: 'RL014', value: 'Pet Products' },\n { key: 'RL015', value: 'Record, Video & Book Stores' },\n {\n key: 'RL016',\n value:\n 'Rental - Other - Furniture A/V Construction & Industrial Equipment',\n },\n { key: 'RL017', value: 'Rental - Video & DVD' },\n { key: 'RL018', value: 'Retail - General' },\n { key: 'RL019', value: 'Retail Motor Vehicles' },\n { key: 'RL020', value: 'Retail Musical Instruments' },\n { key: 'RL021', value: 'Sporting & Recreational Equipment' },\n { key: 'RL023', value: 'Toys & Games' },\n { key: 'RL024', value: 'Wire & Cable' },\n ],\n },\n {\n key: 'SW',\n value: 'IT & Software',\n children: [\n { key: 'SW001', value: 'Business Intelligence Software' },\n { key: 'SW002', value: 'Cloud Software' },\n { key: 'SW003', value: 'Computer Games' },\n { key: 'SW004', value: 'Content & Collaboration Software' },\n {\n key: 'SW006',\n value: 'Customer Relationship Management Software (CRM)',\n },\n { key: 'SW007', value: 'Database & File Management Software' },\n { key: 'SW008', value: 'Desktop Computing Software Products' },\n { key: 'SW09', value: 'Embedded Software Products' },\n { key: 'SW010', value: 'Enterprise Resource Planning Software (ERP)' },\n { key: 'SW012', value: 'Mobile' },\n { key: 'SW013', value: 'Mobile Computing Software Products' },\n { key: 'SW014', value: 'Software & Technical Consulting' },\n { key: 'SW015', value: 'Data Infrastructure & Analytics'},\n { key: 'SW016', value: 'IT Systems & Services' },\n { key: 'SW017', value: 'Network Security Hardware & Software' },\n { key: 'SW018', value: 'Software Engineering' },\n { key: 'SW019', value: 'Software - General' },\n\n ],\n },\n {\n key: 'TC',\n value: 'Telecommunications',\n children: [\n { key: 'TC000', value: 'Cable & Satellite' },\n { key: 'TC001', value: 'Telecommunications - General' },\n { key: 'TC002', value: 'Wireless' },\n ],\n },\n {\n key: 'TP',\n value: 'Transportation',\n children: [\n { key: 'TP000', value: 'Airlines & Aviation' },\n { key: 'TP001', value: 'Delivery' },\n { key: 'TP002', value: 'Freight & Logistics Services' },\n { key: 'TP003', value: 'Rail Bus & Taxi' },\n { key: 'TP004', value: 'Ground Passenger Transportation' },\n { key: 'TP005', value: 'Rail Transportation' },\n { key: 'TP006', value: 'School & Employee Bus Services' },\n {\n key: 'TP006',\n value: 'Shuttle & Special Needs Transportation Services',\n },\n { key: 'TP007', value: 'Sightseeing Transportation' },\n { key: 'TP008', value: 'Taxi & Limousine Services' },\n { key: 'TP009', value: 'Transportation - General' },\n { key: 'TP010', value: 'Trucking Moving & Storage' },\n { key: 'TP011', value: 'Urban Transit Services' },\n ],\n },\n];\n\nexport const CONTACT_METHOD_DATA = [\n { key: 'Work Email', value: 'Work Email' },\n { key: 'Personal Email', value: 'Personal Email' },\n { key: 'Mobile', value: 'Mobile' },\n { key: 'Phone', value: 'Phone' },\n];\n\nexport const MAJOR_DATA = [\n { key: 'Computer Science', value: 'Computer Science' },\n { key: 'Business Administration', value: 'Business Administration' },\n { key: 'Management', value: 'Management' },\n { key: 'Accounting', value: 'Accounting' },\n { key: 'Marketing', value: 'Marketing' },\n];\n\nexport const DEGREE_DATA = [\n { key: 'Bachelors', value: 'Bachelors' },\n { key: 'Masters', value: 'Masters' },\n { key: 'Associates', value: 'Associates' },\n { key: 'Doctorates', value: 'Doctorates' },\n { key: 'High School', value: 'High School' },\n];\n\nexport const MANAGEMENT_LEVELS_DATA = [\n { key: 'Founder/Owner', value: 'Founder/Owner' },\n { key: 'C-Level', value: 'C-Level' },\n { key: 'Vice President', value: 'Vice President' },\n { key: 'Head', value: 'Head' },\n { key: 'Director', value: 'Director' },\n { key: 'Manager', value: 'Manager' },\n { key: 'Senior', value: 'Senior' },\n {\n key: 'Individual Contributor',\n value: 'Individual Contributor',\n },\n { key: 'Entry', value: 'Entry' },\n { key: 'Intern', value: 'Intern' },\n { key: 'Volunteer', value: 'Volunteer' },\n];\n\nexport const REVENUE_DATA = [\n { key: 'select', label: 'Select' },\n { key: '<10000000', label: '< $10M' },\n { key: '10000000-50000000', label: '$10M - $50M' },\n { key: '50000000-100000000', label: '$50M - $100M' },\n { key: '100000000-500000000', label: '$100M - $500M' },\n { key: '500000000-1000000000', label: '$500M - $1B' },\n { key: '1000000000-5000000000', label: '$1B - $5B' },\n { key: '5000000000<', label: '$5B+' },\n { key: 'custom', label: 'Custom' },\n];\n\nexport const YEARS_OF_EXPERIENCE_DATA = [\n { key: 'select', label: 'Select' },\n { key: '0-3', label: '0 - 3' },\n { key: '3-10', label: '3 - 10' },\n { key: '10<', label: '10 +' },\n { key: 'custom', label: 'Custom' },\n];\n\nexport const EMPLOYEE_COUNT_DATA = [\n { key: 'select', label: 'Select' },\n { key: '1-10', label: '1 - 10' },\n { key: '11-50', label: '11 - 50' },\n { key: '51-100', label: '51 - 100' },\n { key: '101-500', label: '101 - 500' },\n { key: '501-1000', label: '501 - 1,000' },\n { key: '1001-5000', label: '1,001 - 5,000' },\n { key: '5001-10000', label: '5,001 - 10,000' },\n { key: '10001-25000', label: '10,001 - 25,000' },\n { key: '25001<', label: '25,001 +' },\n { key: 'custom', label: 'Custom' },\n];\n\nexport const CHANGE_JOB_DATA = [\n { key: 'select', label: 'Select' },\n { key: '0-90', label: 'Last 3 Months' },\n { key: '0-180', label: 'Last 6 Months' },\n { key: '0-360', label: 'Last Year' },\n { key: '0-720', label: 'Last 2 Years' },\n { key: '0-1080', label: 'Last 3 Years' },\n];\n","/* eslint-disable react/react-in-jsx-scope */\nimport { useEffect, useRef, useState } from 'react';\nimport { useLocation } from 'react-router-dom';\nimport { FilterComponentType } from '../../type';\nimport Checkbox from '../../../../shared/design-system/components/atoms/checkbox';\n\nconst Autocomplete = (props) => {\n const {\n isExpand,\n placeholder,\n filterKey,\n name,\n className,\n handleFoundValueExceptFromList,\n handleQuery,\n } = props;\n const location = useLocation();\n const queryParams = new URLSearchParams(location.search);\n const [inputValue, setInputValue] = useState('');\n const inputRef = useRef(null);\n\n // For exact match option\n const [exactMatch, setExactMatch] = useState(null);\n\n const onKeyDown = (e) => {\n if (e.keyCode === 13) {\n const trimmedValue = e.target?.value?.trim();\n\n if (trimmedValue === '') {\n return;\n }\n setInputValue(trimmedValue);\n handleQuery({\n filterKey,\n filterValue: trimmedValue,\n filterType: FilterComponentType.SEARCH_INPUT,\n });\n }\n };\n\n useEffect(() => {\n let initValue = '';\n if (['location', 'department', 'industry'].includes(filterKey)) {\n initValue = handleFoundValueExceptFromList(filterKey);\n } else {\n initValue = queryParams.get(filterKey) || '';\n }\n setInputValue(initValue);\n }, [location?.search]);\n\n useEffect(() => {\n if (inputRef && isExpand) {\n inputRef.current.focus();\n }\n }, [isExpand]);\n\n // for handling show exact match\n const handleShowExactMatch = (checked: boolean) => {\n handleQuery({\n filterKey,\n filterValue: inputValue,\n filterType: FilterComponentType.SEARCH_INPUT,\n showExactMatch: checked,\n });\n setExactMatch(checked);\n };\n\n // for handling show exact match in referesh or location changes in url\n useEffect(() => {\n if (queryParams.getAll(filterKey)[0]?.includes(`\"`)) {\n setExactMatch(true);\n } else {\n setExactMatch(false);\n }\n }, [location?.search]);\n\n return (\n
    \n {name &&

    {name}

    }\n setInputValue(e?.target?.value)}\n onKeyDown={onKeyDown}\n value={inputValue}\n placeholder={placeholder}\n />\n {!['contactInfo', 'link'].includes(filterKey) && (\n {\n setExactMatch(checked);\n handleShowExactMatch(checked);\n }}\n checked={exactMatch}\n label={\n
    \n

    Show Exact Match

    \n
    \n }\n />\n )}\n
    \n );\n};\nexport default Autocomplete;\n","/* eslint-disable react/react-in-jsx-scope */\nimport { AlertCircle } from '@saleshandy/icons';\nimport { OverlayTrigger, Tooltip } from 'react-bootstrap';\nimport { NumericFormat } from 'react-number-format';\nimport { useEffect, useState } from 'react';\nimport { FilterComponentType } from '../../type';\nimport { Placement } from '../../../../shared/design-system/components/overlay';\nimport Select from '../../../../shared/design-system/components/select';\n\nconst CustomSelect = ({\n list,\n isPrefix,\n filterKey,\n name,\n className,\n handleQuery,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n placeholder,\n}) => {\n const [selectedOption, setSelectedOption] = useState(null);\n const [minValue, setMinValue] = useState('');\n const [maxValue, setMaxValue] = useState('');\n\n const isInvalidRange =\n selectedOption?.key === 'custom' &&\n maxValue &&\n minValue &&\n +maxValue < +minValue;\n\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const handleCustomSelect = (selectedOption) => {\n setSelectedOption(selectedOption);\n if (selectedOption?.key === 'custom') {\n setMinValue('');\n setMaxValue('');\n } else {\n const sizeQueryParam =\n selectedOption?.key === 'select' ? '' : selectedOption?.key;\n handleQuery({\n filterKey,\n filterValue: sizeQueryParam,\n filterType: FilterComponentType.DROP_DOWN,\n isSearchLeads: false,\n });\n }\n };\n\n const handleBlurInput = () => {\n const isValidRange = +maxValue > +minValue;\n if (isValidRange) {\n handleQuery({\n filterKey,\n filterValue: `${minValue || 0}-${maxValue || 0}`,\n filterType: FilterComponentType.DROP_DOWN,\n isSearchLeads: true,\n });\n }\n };\n\n const handleInputKeyPress = (e) => {\n if (e.key === 'Enter' && selectedOption?.key === 'custom') {\n handleBlurInput();\n }\n };\n\n useEffect(() => {\n // eslint-disable-next-line no-restricted-globals\n const queryParams = new URLSearchParams(location.search);\n const filterValue = queryParams.get(filterKey);\n\n if (queryParams.has(filterKey) && filterValue) {\n const matchingOption = list.find((option) => option.key === filterValue);\n setSelectedOption(matchingOption ?? { key: 'custom', label: 'Custom' });\n const [min, max] = (filterValue || '').split('-');\n setMinValue(min || '');\n setMaxValue(max || '');\n } else {\n setSelectedOption(null);\n setMinValue('');\n setMaxValue('');\n }\n // eslint-disable-next-line no-restricted-globals\n }, [location?.search]);\n\n const getTooltip = (text) => (\n \n {text}\n \n );\n\n return (\n
    \n {name &&

    {name}

    }\n {option?.label}}\n onChange={([option]) => {\n handleCustomSelect(option);\n }}\n selectedOptionRenderer={([option]) => {option?.label}}\n />\n\n {selectedOption?.key === 'custom' && (\n
    \n
    \n {isPrefix && (\n
    \n \n $\n \n
    \n )}\n setMinValue(values?.value)}\n onKeyPress={handleInputKeyPress}\n />\n
    \n
    \n {isPrefix && (\n
    \n \n $\n \n
    \n )}\n
    \n setMaxValue(values?.value)}\n className={`form-control gray-txt-11 regular-2 ${\n isInvalidRange ? ' is-invalid' : ''\n } ${!isPrefix ? 'without-prefix' : ''}`}\n onKeyPress={handleInputKeyPress}\n />\n {isInvalidRange && (\n
    \n \n \n \n
    \n )}\n
    \n
    \n
    \n )}\n
    \n );\n};\n\nexport default CustomSelect;\n","import { useEffect, useRef } from 'react';\n\nexport default function useFirstEffect(fn, data) {\n const isFirstRun = useRef(true);\n\n useEffect(() => {\n if (isFirstRun.current) {\n isFirstRun.current = false;\n return;\n }\n fn();\n // TODO: How to return effect?\n }, data);\n}\n","/* eslint-disable jsx-a11y/click-events-have-key-events */\n/* eslint-disable jsx-a11y/no-noninteractive-element-interactions */\n/* eslint-disable @typescript-eslint/no-shadow */\n/* eslint-disable array-callback-return */\n/* eslint-disable no-case-declarations */\n/* eslint-disable react/react-in-jsx-scope */\n/* eslint-disable no-restricted-syntax */\n/* eslint-disable guard-for-in */\n/* eslint-disable @typescript-eslint/no-use-before-define */\nimport { useEffect, useRef, useState } from 'react';\nimport { debounce } from 'lodash';\nimport { Tooltip, OverlayTrigger } from 'react-bootstrap';\nimport {\n CircleMinus,\n CirclePlus,\n InfoCircle,\n Minus,\n Plus,\n} from '@saleshandy/icons';\nimport { useLocation } from 'react-router-dom';\nimport Checkbox from '../../../../shared/design-system/components/atoms/checkbox';\nimport {\n OverlayTooltip,\n Placement,\n} from '../../../../shared/design-system/components/overlay';\nimport Tag from '../../../../shared/design-system/components/tag';\nimport {\n deepClone,\n findParentKey,\n getExceptFilterValues,\n getFilterKeys,\n getFilterValuesWithExtraValues,\n} from '../../helpers/helper';\nimport { FilterComponentType } from '../../type';\nimport useFirstEffect from '../../../../shared/hooks/useFirstEffect';\nimport { getFilterSuggestionAPI } from '../../helpers/leads.api';\nimport Icon from '../../../../shared/design-system/components/atoms/icon/icon';\n\n// Keys Mapped with backend keys\nconst MAPPED_KEYS = {\n location: 'location',\n skills: 'skill',\n school: 'school',\n jobTitle: 'job-title',\n industry: 'industry',\n department: 'department',\n};\n\nconst NOT_ALLOWED_APPEND_CHECKBOXES = ['managementLevels'];\n\nconst RenderAutocomplete = ({\n suggestions,\n onSelectOption,\n filterKey,\n selectedSuggestionIndex,\n handleOnChange,\n setShowAutoComplete,\n isIncludeDisabled,\n includeTooltip,\n}: {\n suggestions: string[];\n onSelectOption: (option: string) => void;\n filterKey: string;\n selectedSuggestionIndex: number;\n handleOnChange: (params: {\n action: string;\n groupName: string;\n childName?: string;\n exclude?: boolean;\n }) => void;\n setShowAutoComplete: (value: boolean) => void;\n isIncludeDisabled: boolean;\n includeTooltip: string;\n}) => {\n if (suggestions?.length === 0) {\n return null;\n }\n\n return (\n \n {suggestions?.map((suggestion, index) => (\n onSelectOption(suggestion)}\n className={\n index === selectedSuggestionIndex\n ? 'autocomplete-menu-list'\n : 'item d-flex align-items-center position-relative justify-content-between'\n }\n >\n

    {suggestion}

    \n
    \n \n {includeTooltip}\n \n }\n >\n {\n e.stopPropagation();\n if (isIncludeDisabled) {\n return;\n }\n handleOnChange({\n action: 'inputOption',\n groupName: suggestion,\n });\n setShowAutoComplete(false);\n }}\n />\n \n\n \n Exclude\n \n }\n >\n {\n e.stopPropagation();\n handleOnChange({\n action: 'excludeOption',\n groupName: suggestion,\n });\n setShowAutoComplete(false);\n }}\n />\n \n
    \n \n ))}\n \n );\n};\nconst getLebelTooltip = (text: string) => (\n \n {text}\n \n);\n\nconst RenderCheckboxGroup = ({\n label,\n name,\n checked,\n children,\n expanded,\n handleOnChange,\n filterKey,\n setShowLabelToolTip,\n showLabelToolTip,\n infoCircleToolTip,\n hideIncludeExclude = false,\n isIncludeDisabled,\n includeTooltip,\n isPhoneNumberNudgeOpen,\n}) => (\n <>\n \n {\n if (!check || !isIncludeDisabled) {\n handleOnChange({ action: 'changeParent', groupName: name });\n }\n }}\n label={\n setShowLabelToolTip(label)}\n onMouseLeave={() => setShowLabelToolTip(null)}\n >\n 22}\n >\n

    \n {label.length > 22 ? `${label?.substring(0, 22)}..` : label}\n

    \n \n\n \n {children?.length > 0 && `(${children?.length})`}\n \n {infoCircleToolTip ? (\n \n \n \n ) : null}\n \n }\n intermediate={checked === 'indeterminate'}\n />\n {!hideIncludeExclude ? (\n
    \n \n {includeTooltip}\n \n }\n >\n {\n if (!isIncludeDisabled) {\n handleOnChange({ action: 'includeParent', groupName: name });\n }\n }}\n />\n \n\n \n Exclude\n \n }\n >\n \n handleOnChange({ action: 'excludeParent', groupName: name })\n }\n />\n \n
    \n ) : null}\n \n
    \n {expanded?.includes(name) && (\n
    \n {children?.map((childItem, index) => (\n \n {\n if (!check || !isIncludeDisabled) {\n handleOnChange({\n action: 'changeChild',\n groupName: name,\n childName: childItem?.key,\n });\n }\n }}\n label={\n setShowLabelToolTip(childItem?.value)}\n onMouseLeave={() => setShowLabelToolTip(null)}\n >\n 21\n }\n >\n \n {childItem?.value?.length > 21\n ? `${childItem?.value?.substring(0, 21)}..`\n : childItem?.value}\n \n \n \n }\n checked={childItem?.checked}\n />\n
    \n \n {includeTooltip}\n \n }\n >\n {\n if (!isIncludeDisabled) {\n handleOnChange({\n action: 'includeChild',\n groupName: name,\n childName: childItem?.key,\n });\n }\n }}\n />\n \n\n \n Exclude\n \n }\n >\n {\n handleOnChange({\n action: 'excludeChild',\n groupName: name,\n childName: childItem?.key,\n });\n }}\n />\n \n
    \n {/* )} */}\n
    \n ))}\n
    \n )}\n \n \n);\n\nconst FilterCheckbox = ({\n list = [],\n filterKey,\n excludeKey,\n inputClassName = '',\n inputPlaceHolder = '',\n inputLabel = '',\n hideSearchBox = false,\n handleQuery,\n isExpand = false,\n parentKey = '',\n removeTopMargin = false,\n infoCircleToolTipMapping = {},\n hideIncludeExclude = false,\n includeMaxLimit,\n bulkFilterSyncKey = {},\n expandedMaxFilterTags,\n handleExpandFilterTags,\n isPhoneNumberNudgeOpen = false,\n searchLeads,\n}) => {\n const location = useLocation();\n const queryParams = new URLSearchParams(location?.search);\n const inputRef = useRef(null);\n\n const handleInitializeCheckboxes = (mainCheckbox: boolean) => {\n let initCheckboxes = list || [];\n // if (initCheckboxes?.length) {\n initCheckboxes = list.map((item) => {\n let children = [];\n if (item?.children?.length > 0) {\n children = item.children.map((child) => ({\n ...child,\n checked:\n (queryParams\n ?.getAll(filterKey)\n ?.map((item) => item?.replace(/\"/g, ''))\n ?.includes(child?.key) ||\n queryParams?.getAll(excludeKey)?.includes(child?.key) ||\n !!(\n queryParams\n ?.getAll(filterKey)\n ?.map((item) => item?.replace(/\"/g, ''))\n ?.includes(item?.key) ||\n queryParams\n ?.getAll(excludeKey)\n ?.map((item) => item?.replace(/\"/g, ''))\n ?.includes(item?.key)\n )) ??\n false,\n isExcluded:\n queryParams\n ?.getAll(excludeKey)\n ?.map((item) => item?.replace(/\"/g, ''))\n ?.includes(child?.key) ?? true,\n }));\n }\n\n const childrenCheckedCount = children?.filter((c) => c?.checked)?.length;\n const isIntermediate = !!(\n childrenCheckedCount >= 1 &&\n item?.children?.length !== childrenCheckedCount\n );\n return {\n ...item,\n checked: isIntermediate\n ? 'indeterminate'\n : !!(\n queryParams\n ?.getAll(filterKey)\n .map((item) => item?.replace(/\"/g, ''))\n ?.includes(item?.key) ||\n queryParams\n ?.getAll(excludeKey)\n .map((item) => item?.replace(/\"/g, ''))\n ?.includes(item?.key)\n ),\n isExcluded:\n queryParams\n ?.getAll(excludeKey)\n .map((item) => item?.replace(/\"/g, ''))\n ?.includes(item?.key) ?? false,\n children,\n };\n });\n // Append Custom checkboxes from queryParams\n if (!NOT_ALLOWED_APPEND_CHECKBOXES?.includes(filterKey) && mainCheckbox) {\n // For Include\n const exceptListValues = getExceptFilterValues(\n queryParams.getAll(filterKey)?.map((item) => item?.replace(/\"/g, '')),\n list,\n );\n if (exceptListValues?.length > 0) {\n exceptListValues?.map((value) => {\n initCheckboxes?.push({\n key: value,\n value,\n checked: true,\n isExcluded: false,\n children: [],\n });\n });\n }\n // For Exclude\n const exceptExcludeListValues = getExceptFilterValues(\n queryParams.getAll(excludeKey)?.map((item) => item?.replace(/\"/g, '')),\n list,\n );\n if (exceptExcludeListValues?.length > 0) {\n exceptExcludeListValues?.map((value) => {\n initCheckboxes?.push({\n key: value,\n value,\n checked: true,\n isExcluded: false,\n children: [],\n });\n });\n }\n }\n // }\n return initCheckboxes;\n };\n\n useEffect(() => {\n if (bulkFilterSyncKey?.[filterKey]) {\n setCheckboxes(handleInitializeCheckboxes(true));\n }\n }, [bulkFilterSyncKey]);\n\n const [inputValue, setInputValue] = useState('');\n // For handling the checboxes with url\n const [checkboxes, setCheckboxes] = useState(\n handleInitializeCheckboxes(true),\n );\n // For display only defalut checkboxes\n const [initialCheckboxes] = useState(handleInitializeCheckboxes(false));\n\n const [expanded, setExpanded] = useState([]);\n // For Input Autocomplete\n const [suggestions, setSuggestions] = useState([]);\n const [showAutoComplete, setShowAutoComplete] = useState(false);\n const [showLabelToolTip, setShowLabelToolTip] = useState(null);\n const [selectedSuggestionIndex, setSelectedSuggestionIndex] = useState(-1);\n\n // For exact match option\n const [exactMatch, setExactMatch] = useState(null);\n\n // For onKeyEnter\n const [onFirstTimeKeyEnter, setOnFirstTimeKeyEnter] = useState(false);\n\n // input/suggestion div ID\n const searchInputContainerId = `filter-${filterKey}-input`;\n const suggestionsContainerID = `autocomplete-${filterKey}`;\n const [showTagTooltip, setShowTagTooltip] = useState(null);\n\n const getIsMaxValuesIncluded = () => {\n if (\n includeMaxLimit &&\n queryParams.getAll(filterKey)?.length >= includeMaxLimit\n ) {\n return true;\n }\n return false;\n };\n const isIncludeDisabled = getIsMaxValuesIncluded();\n const includeTooltip = isIncludeDisabled\n ? `${includeMaxLimit} keywords already included`\n : 'Include';\n\n const handleGetCheckedKeys = (\n obj,\n include = true,\n showExactMatch?: boolean,\n ) => {\n let result = [];\n // eslint-disable-next-line no-restricted-syntax\n for (const key in obj) {\n if (\n (include && obj[key]?.checked === true && !obj[key]?.isExcluded) ||\n (!include && obj[key]?.checked === true && obj[key]?.isExcluded)\n ) {\n result.push(obj[key]?.key);\n if (showExactMatch) {\n if (obj[key]?.children) {\n result = result?.concat(\n handleGetCheckedKeys(obj[key]?.children, true),\n handleGetCheckedKeys(obj[key]?.children, false),\n );\n }\n }\n } else if (obj[key]?.children && obj[key]?.checked === 'indeterminate') {\n // Include/exclude children only if the parent key status matches the desired status\n result = result?.concat(\n handleGetCheckedKeys(obj[key]?.children, include),\n );\n } else if (obj[key]?.checked === false) {\n // result.push(obj[key]?.children?.findOne(child => child?.checked === true)?.key)\n const data = obj[key]?.children?.filter(\n (child) => child?.checked === true,\n );\n if (data?.length) {\n result = result?.concat(handleGetCheckedKeys(data, include));\n }\n }\n }\n return result;\n };\n\n const handleCheckState = ({ checkedChild, totalChild }) => {\n let checked: string | boolean = false;\n if (checkedChild > 0 && checkedChild < totalChild) {\n checked = 'indeterminate';\n } else if (checkedChild === 0) {\n checked = false;\n } else {\n checked = true;\n }\n return checked;\n };\n\n const handlePreQuery = (\n updatedCheckboxes,\n showExactMatch?: boolean,\n isSearchLeads?: boolean,\n onKeyEnter = false,\n ) => {\n const includedKeys = handleGetCheckedKeys(\n updatedCheckboxes,\n true,\n showExactMatch,\n );\n const excludedKeys = handleGetCheckedKeys(\n updatedCheckboxes,\n false,\n showExactMatch,\n );\n\n handleQuery({\n filterKey,\n filterExcludeKey: excludeKey,\n filterValue: { includedKeys, excludedKeys },\n filterType: FilterComponentType?.MULTILEVEL_CHECKBOX,\n showExactMatch,\n isSearchLeads,\n onKeyEnter,\n });\n };\n\n const handleOnChange = ({\n action = 'changeParent', // changeParent | changeChild | includeParent | includeChild | excludeParent | excludeChild | removeTag | inputOption\n groupName = null,\n childName = null,\n exclude = null,\n isSearchLeads = false,\n onKeyEnter = false,\n }: {\n action: string;\n groupName: string;\n childName?: string;\n exclude?: boolean;\n isSearchLeads?: boolean;\n onKeyEnter?: boolean;\n }) => {\n if (!groupName && isSearchLeads && onKeyEnter) {\n searchLeads(null, isSearchLeads);\n return;\n }\n\n let groupIndex = -1;\n let childIndex = -1;\n if (groupName) {\n groupIndex = checkboxes?.findIndex((c) => c?.key === groupName);\n }\n if (\n childName &&\n groupIndex > -1 &&\n checkboxes[groupIndex] &&\n checkboxes[groupIndex]?.children?.length > 0\n ) {\n childIndex = checkboxes[groupIndex]?.children?.findIndex(\n (c) => c?.key === childName,\n );\n }\n\n setCheckboxes((prevState) => {\n let updatedValues = deepClone(prevState);\n\n if (filterKey === 'location' || filterKey === 'excludeLocation') {\n const existingIndividualTagsValues =\n queryParams\n .getAll(filterKey)\n ?.map((item) => item.replace(/\"/g, '')) || [];\n\n let tagValues = Array.from(new Set([...existingIndividualTagsValues]));\n\n const filteredObjects = updatedValues.filter((obj) => obj.checked);\n\n const keysToRemove = new Set();\n filteredObjects.forEach((obj) => {\n keysToRemove.add(obj.key); // Add the main key\n if (obj.children) {\n obj.children.forEach((child) => keysToRemove.add(child.key));\n }\n });\n\n tagValues = tagValues.filter((item) => !keysToRemove.has(item));\n\n tagValues.forEach((tag) => {\n updatedValues.push({\n key: tag,\n value: tag,\n checked: true,\n isExcluded: exclude,\n children: [],\n });\n });\n }\n\n // first time include and exclude\n const includeExcludeOptions = (exclude: boolean) => {\n let checkedCount = 0;\n const tagInputKey = getFilterKeys([groupName], list)[0] || groupName;\n if (tagInputKey) {\n groupIndex = checkboxes?.findIndex((c) => c?.key === tagInputKey);\n }\n updatedValues = updatedValues.map((item) => {\n let updatedItem = deepClone(item);\n if (groupIndex > -1 && item?.key === tagInputKey) {\n updatedItem.checked = true;\n checkedCount = 1;\n updatedItem.isExcluded = exclude;\n } else {\n groupName = findParentKey(list, tagInputKey);\n if (groupName) {\n groupIndex = checkboxes?.findIndex((c) => c?.key === groupName);\n }\n if (\n tagInputKey &&\n groupIndex > -1 &&\n checkboxes[groupIndex] &&\n checkboxes[groupIndex]?.children?.length > 0\n ) {\n childIndex = checkboxes[groupIndex]?.children?.findIndex(\n (c) => c?.key === tagInputKey,\n );\n }\n if (groupIndex > -1 && item?.key === groupName) {\n updatedItem = {\n ...updatedItem,\n children: updatedItem?.children?.map((child, index) => {\n const childItem = deepClone(child);\n if (index === childIndex) {\n childItem.checked = true;\n checkedCount = 1;\n childItem.isExcluded = exclude;\n }\n return childItem;\n }),\n };\n }\n }\n return updatedItem;\n });\n\n // Append New Checkbox\n if (\n !NOT_ALLOWED_APPEND_CHECKBOXES?.includes(filterKey) &&\n checkedCount === 0\n ) {\n updatedValues.push({\n key: tagInputKey,\n value: tagInputKey,\n checked: true,\n isExcluded: exclude,\n children: [],\n });\n }\n setInputValue('');\n };\n\n switch (action) {\n case 'changeParent':\n if (groupIndex > -1) {\n updatedValues[groupIndex] = {\n ...updatedValues[groupIndex],\n checked: !prevState[groupIndex]?.checked,\n children: prevState[groupIndex]?.children?.map((child) => ({\n ...child,\n checked: !prevState[groupIndex]?.checked,\n isExcluded: false,\n })),\n };\n }\n break;\n case 'changeChild':\n if (groupIndex > -1 && childIndex > -1) {\n const children = prevState[\n groupIndex\n ]?.children?.map((child, cIndex) =>\n cIndex === childIndex\n ? { ...child, checked: !child?.checked }\n : child,\n );\n const checkedChild = children\n ?.map((c) => c?.checked)\n ?.filter(Boolean).length;\n updatedValues[groupIndex] = {\n ...updatedValues[groupIndex],\n checked: handleCheckState({\n checkedChild,\n totalChild: children?.length,\n }),\n children,\n };\n }\n break;\n case 'includeParent':\n if (groupIndex > -1) {\n updatedValues[groupIndex] = {\n ...updatedValues[groupIndex],\n checked: true,\n isExcluded: false,\n children: prevState[groupIndex]?.children?.map((child) => ({\n ...child,\n checked: true,\n isExcluded: false,\n })),\n };\n }\n break;\n case 'includeChild':\n if (groupIndex > -1 && childIndex > -1) {\n const children = prevState[\n groupIndex\n ]?.children?.map((child, cIndex) =>\n cIndex === childIndex\n ? { ...child, checked: true, isExcluded: false }\n : child,\n );\n const checkedChild = children\n ?.map((c) => c?.checked)\n ?.filter(Boolean)?.length;\n updatedValues[groupIndex] = {\n ...updatedValues[groupIndex],\n checked: handleCheckState({\n checkedChild,\n totalChild: children?.length,\n }),\n children,\n };\n }\n break;\n case 'excludeParent':\n if (groupIndex > -1) {\n updatedValues[groupIndex] = {\n ...updatedValues[groupIndex],\n checked: true,\n isExcluded: true,\n children: prevState[groupIndex]?.children?.map((child) => ({\n ...child,\n checked: true,\n isExcluded: true,\n })),\n };\n }\n break;\n case 'excludeChild':\n if (groupIndex > -1 && childIndex > -1) {\n const children = prevState[\n groupIndex\n ]?.children?.map((child, cIndex) =>\n cIndex === childIndex\n ? { ...child, checked: true, isExcluded: true }\n : child,\n );\n const checkedChild = children\n ?.map((c) => c?.checked)\n ?.filter(Boolean)?.length;\n updatedValues[groupIndex] = {\n ...updatedValues[groupIndex],\n checked: handleCheckState({\n checkedChild,\n totalChild: children?.length,\n }),\n children,\n };\n }\n break;\n case 'removeTag':\n let tagKey = [];\n tagKey = queryParams\n .getAll(groupName)\n ?.map((item) => item?.replace(/\"/g, '').substring(0, 2));\n\n // Exact match\n if (tagKey?.length > 0) {\n // Remove Tag from Parent\n tagKey.map((tag) => {\n const tagIndex = checkboxes.findIndex(\n (item) => item?.key?.substring(0, 2) === tag,\n );\n\n if (\n tagIndex > -1 &&\n updatedValues[tagIndex].checked !== 'indeterminate'\n ) {\n updatedValues[tagIndex] = {\n ...updatedValues[tagIndex],\n checked: false,\n children: prevState[tagIndex]?.children?.map((child) => ({\n ...child,\n checked: false,\n })),\n };\n } else {\n updatedValues[tagIndex] = {\n ...updatedValues[tagIndex],\n children: prevState[tagIndex]?.children?.map((child) => {\n if (child.isExcluded === exclude) {\n return {\n ...child,\n checked: false,\n };\n }\n return child;\n }),\n };\n }\n });\n } else {\n // for single tag remove\n const tagKey = getFilterKeys([groupName], list)[0] || groupName;\n if (tagKey.replace(/\"/g, '')) {\n groupIndex = checkboxes?.findIndex(\n (c) => c?.key === tagKey?.replace(/\"/g, ''),\n );\n }\n updatedValues[groupIndex] = {\n ...updatedValues[groupIndex],\n checked: false,\n children: prevState[groupIndex]?.children?.map((child) => ({\n ...child,\n checked: false,\n })),\n };\n }\n\n // for remove childeren tags\n if (groupIndex === -1) {\n const tagKey = getFilterKeys([groupName], list)[0] || groupName;\n groupName = findParentKey(list, tagKey);\n if (groupName) {\n groupIndex = checkboxes?.findIndex((c) => c?.key === groupName);\n }\n if (\n tagKey &&\n groupIndex > -1 &&\n checkboxes[groupIndex] &&\n checkboxes[groupIndex]?.children?.length > 0\n ) {\n childIndex = checkboxes[groupIndex]?.children?.findIndex(\n (c) => c?.key === tagKey,\n );\n }\n updatedValues[groupIndex] = {\n ...updatedValues[groupIndex],\n children: prevState[groupIndex]?.children?.map((child, cIndex) =>\n cIndex === childIndex\n ? { ...child, checked: false, isExcluded: false }\n : {\n ...child,\n isExcluded: child?.isExcluded,\n checked: child?.checked,\n },\n ),\n };\n }\n break;\n case 'inputOption':\n includeExcludeOptions(false);\n break;\n case 'excludeOption':\n includeExcludeOptions(true);\n break;\n default:\n break;\n }\n\n const filteredUpdatedValues = [];\n const uniqueKeys = new Set();\n\n updatedValues.forEach((item) => {\n if (!uniqueKeys.has(item.key)) {\n uniqueKeys.add(item.key);\n filteredUpdatedValues.push(item);\n }\n });\n\n // append query\n handlePreQuery(\n filteredUpdatedValues,\n exactMatch,\n isSearchLeads,\n onKeyEnter,\n );\n\n return filteredUpdatedValues;\n });\n };\n\n const onKeyDown = (e) => {\n if (e.key === 'ArrowDown' || e.key === 'ArrowUp') {\n e.preventDefault();\n const direction = e.key === 'ArrowDown' ? 1 : -1;\n const newIndex = selectedSuggestionIndex + direction;\n\n if (newIndex >= 0 && newIndex < suggestions?.length) {\n setSelectedSuggestionIndex(newIndex);\n }\n } else if (e.key === 'Enter') {\n e.preventDefault();\n if (isIncludeDisabled) return;\n if (selectedSuggestionIndex !== -1) {\n const selectedSuggestion = suggestions[selectedSuggestionIndex];\n setInputValue(selectedSuggestion); // Update the input value with the selected suggestion\n setSuggestions([]); // Clear suggestions\n setShowAutoComplete(false);\n setOnFirstTimeKeyEnter(true); // Reset the enter after any new chip is added\n handleOnChange({\n action: 'inputOption',\n groupName: selectedSuggestion,\n isSearchLeads: false,\n });\n setSelectedSuggestionIndex(-1); // Reset selected suggestion index\n } else {\n const trimmedValue = e.target?.value.trim();\n if (trimmedValue === '') {\n if (onFirstTimeKeyEnter) {\n setOnFirstTimeKeyEnter(false);\n handleOnChange({\n action: 'inputOption',\n groupName: trimmedValue,\n isSearchLeads: true,\n onKeyEnter: true,\n });\n }\n return;\n }\n // Hide suggestions\n setShowAutoComplete(false);\n\n // Cancel the previous debounce\n debouncedInputChangeRef.current.cancel();\n setOnFirstTimeKeyEnter(true); // Reset the enter after any new chip is added\n handleOnChange({\n action: 'inputOption',\n groupName: trimmedValue,\n isSearchLeads: false,\n });\n }\n }\n };\n\n // For Input\n const handleInputChange = async (search: string) => {\n try {\n if (search.trim() !== '') {\n if (Object.keys(MAPPED_KEYS).includes(filterKey)) {\n const res: any = await getFilterSuggestionAPI({\n type: MAPPED_KEYS[filterKey],\n search,\n });\n const searchInputValue =\n (document?.getElementById(\n searchInputContainerId,\n ) as HTMLInputElement)?.value || inputValue;\n if (res && res?.payload && searchInputValue.trim() !== '') {\n setShowAutoComplete(true);\n setSuggestions(res?.payload);\n setSelectedSuggestionIndex(-1); // Reset selected suggestion index\n }\n }\n } else {\n setShowAutoComplete(false);\n setSelectedSuggestionIndex(-1); // Reset selected suggestion index\n }\n } catch (e) {\n // eslint-disable-next-line no-console\n console.log('error');\n }\n };\n\n // for handling show exact match\n const handleShowExactMatch = (checked: boolean) => {\n handlePreQuery(checkboxes, checked, false);\n };\n\n const debouncedInputChangeRef = useRef(debounce(handleInputChange, 500));\n\n // For Suggestion\n const onSelectOption = (option: string) => {\n if (isIncludeDisabled) return;\n setSuggestions([]);\n setShowAutoComplete(false);\n handleOnChange({\n action: 'inputOption',\n groupName: option,\n isSearchLeads: false,\n });\n setSelectedSuggestionIndex(-1); // Reset selected suggestion index\n };\n\n useFirstEffect(() => {\n const queryParams = new URLSearchParams(location.search);\n // eslint-disable-next-line no-restricted-globals\n const includedItemsFromParams = queryParams\n .getAll(filterKey)\n .map((item) => item.replace(/\"/g, ''));\n const excludedItemsFromParams = queryParams\n .getAll(excludeKey)\n .map((item) => item.replace(/\"/g, ''));\n\n if (\n includedItemsFromParams.length === 0 &&\n excludedItemsFromParams.length === 0\n ) {\n setExpanded([]);\n }\n\n setCheckboxes((prevState) => {\n let newState = [];\n if (prevState?.length > 0) {\n newState = prevState.map((item) => {\n let children = [];\n if (item?.children?.length > 0) {\n children = item?.children?.map((child) => ({\n ...child,\n isExcluded: excludedItemsFromParams.includes(child?.key) ?? false,\n checked:\n (includedItemsFromParams.includes(item?.key) ||\n excludedItemsFromParams.includes(item?.key) ||\n includedItemsFromParams.includes(child?.key) ||\n excludedItemsFromParams.includes(child?.key)) ??\n false,\n }));\n }\n const checkedChild = children.map((c) => c?.checked).filter(Boolean)\n .length;\n let parentChecked = handleCheckState({\n checkedChild,\n totalChild: children.length,\n });\n if (\n includedItemsFromParams.includes(item?.key) ||\n excludedItemsFromParams.includes(item?.key)\n ) {\n parentChecked = true;\n }\n return {\n ...item,\n checked: parentChecked,\n children,\n };\n });\n }\n return newState;\n });\n }, [location?.search]);\n\n useEffect(() => {\n if (inputRef?.current && isExpand) {\n if (\n ['role_and_department', 'industry', 'education'].includes(parentKey)\n ) {\n if (['jobTitle', 'industry', 'major'].includes(filterKey)) {\n inputRef?.current.focus();\n }\n } else {\n inputRef?.current.focus();\n }\n }\n }, [isExpand]);\n\n useEffect(() => {\n if (typeof window !== 'undefined' && !hideSearchBox) {\n document.addEventListener('click', (event: any) => {\n const targetDiv = document.getElementById(suggestionsContainerID);\n // Check if the clicked element is outside the target div\n if (\n targetDiv &&\n event?.target !== targetDiv &&\n !targetDiv.contains(event?.target)\n ) {\n // The click is outside the target div\n setShowAutoComplete(false);\n }\n });\n }\n\n return () => {\n if (!hideSearchBox) {\n document.removeEventListener('click', () => {});\n }\n setShowLabelToolTip(null);\n };\n }, []);\n\n // for handling show exact match in referesh or location changes in url\n useEffect(() => {\n if (\n queryParams.getAll(filterKey)[0]?.includes(`\"`) ||\n queryParams.getAll(excludeKey)[0]?.includes(`\"`)\n ) {\n setExactMatch(true);\n } else {\n setExactMatch(false);\n }\n }, [location?.search]);\n\n const filterValues = getFilterValuesWithExtraValues(\n queryParams.getAll(filterKey)?.map((item) => item?.replace(/\"/g, '')),\n list,\n );\n\n return (\n <>\n \n {inputLabel &&

    {inputLabel}

    }\n {!hideSearchBox && (\n <>\n
    \n {\n // Cancel the previous debounce\n debouncedInputChangeRef.current.cancel();\n\n const enteredValue = e?.target?.value;\n\n if (\n ['sicCode', 'naicsCode'].includes(filterKey) &&\n !/^\\d*$/.test(enteredValue)\n ) {\n // If the filterKey is 'sicCode' or 'naicsCode' and the entered value contains non-digit characters, prevent setting the value\n return;\n }\n\n // Trigger the new debounce\n debouncedInputChangeRef.current(enteredValue);\n setInputValue(enteredValue);\n }}\n onKeyDown={onKeyDown}\n value={inputValue}\n placeholder={inputPlaceHolder ?? 'Type and press Enter'}\n />\n\n {![\n 'name',\n 'sicCode',\n 'naicsCode',\n 'contactInfo',\n 'link',\n 'keyword',\n ].includes(filterKey) &&\n inputValue && (\n
    \n \n {includeTooltip}\n \n }\n >\n {\n e.stopPropagation();\n if (isIncludeDisabled) {\n return;\n }\n handleOnChange({\n action: 'inputOption',\n groupName: inputValue,\n });\n setShowAutoComplete(false);\n }}\n />\n \n\n \n Exclude\n \n }\n >\n {\n e.stopPropagation();\n handleOnChange({\n action: 'excludeOption',\n groupName: inputValue,\n });\n setShowAutoComplete(false);\n }}\n />\n \n
    \n )}\n
    \n {![\n 'sicCode',\n 'naicsCode',\n 'department',\n 'industry',\n 'contactInfo',\n 'link',\n ].includes(filterKey) && (\n {\n setExactMatch(checked);\n handleShowExactMatch(checked);\n }}\n checked={exactMatch}\n label={\n
    \n

    Show Exact Match

    \n
    \n }\n />\n )}\n\n {showAutoComplete && suggestions?.length > 0 && (\n \n )}\n \n )}\n \n
    \n {!hideIncludeExclude &&\n getFilterValuesWithExtraValues(\n queryParams\n .getAll(filterKey)\n ?.map((item) => item?.replace(/\"/g, '')),\n list,\n )?.length > 0 && (\n <>\n

    Includes

    \n
    \n {exactMatch && filterKey === 'location' ? (\n // for exact match tags\n setShowTagTooltip(filterKey)}\n onMouseLeave={() => setShowTagTooltip(null)}\n >\n item?.replace(/\"/g, '')),\n list,\n )?.join(', ')}\n show={showTagTooltip === filterKey}\n >\n \n \n {getFilterValuesWithExtraValues(\n queryParams\n .getAll(filterKey)\n ?.map((item) => item?.replace(/\"/g, '')),\n list,\n )?.join(',')}\n \n \n handleOnChange({\n action: 'removeTag',\n groupName: filterKey,\n exclude: false,\n })\n }\n />\n \n \n \n ) : (\n // for normal match tags\n filterValues\n ?.slice(0, expandedMaxFilterTags ?? filterValues.length)\n ?.map((selectedTag) => (\n setShowTagTooltip(selectedTag)}\n onMouseLeave={() => setShowTagTooltip(null)}\n >\n 15\n }\n >\n 15\n ? `${selectedTag\n ?.substring(0, 15)\n .replace(/\"/g, '')}..`\n : selectedTag.replace(/\"/g, '')\n }\n variant={Tag.Variant.Remove}\n className=\"filter-tag \"\n onClick={() =>\n handleOnChange({\n action: 'removeTag',\n groupName: selectedTag,\n })\n }\n />\n \n \n ))\n )}\n {expandedMaxFilterTags &&\n filterValues?.length > expandedMaxFilterTags ? (\n \n \n

    \n {Array.from(filterValues)?.length - 5}\n

    \n
    \n }\n className=\"filter-tag more-tag\"\n onClick={() => handleExpandFilterTags?.()}\n />\n ) : null}\n
    \n \n )}\n {!hideIncludeExclude &&\n getFilterValuesWithExtraValues(\n queryParams\n .getAll(excludeKey)\n ?.map((item) => item?.replace(/\"/g, '')),\n list,\n )?.length > 0 && (\n <>\n

    Excludes

    \n
    \n {exactMatch && filterKey === 'location' ? (\n // for exact match tags\n setShowTagTooltip(excludeKey)}\n onMouseLeave={() => setShowTagTooltip(null)}\n >\n item?.replace(/\"/g, '')),\n list,\n )?.join(',')}\n show={showTagTooltip === excludeKey}\n >\n \n \n {getFilterValuesWithExtraValues(\n queryParams\n .getAll(excludeKey)\n ?.map((item) => item?.replace(/\"/g, '')),\n list,\n )?.join(',')}\n \n \n handleOnChange({\n action: 'removeTag',\n groupName: excludeKey,\n exclude: true,\n })\n }\n />\n \n \n \n ) : (\n // for normal match tags\n getFilterValuesWithExtraValues(\n queryParams.getAll(excludeKey),\n list,\n )?.map((selectedTag) => (\n setShowTagTooltip(selectedTag)}\n onMouseLeave={() => setShowTagTooltip(null)}\n >\n 15\n }\n >\n 15\n ? `${selectedTag\n ?.substring(0, 15)\n .replace(/\"/g, '')}..`\n : selectedTag.replace(/\"/g, '')\n }\n variant={Tag.Variant.Remove}\n className=\"filter-tag\"\n onClick={() =>\n handleOnChange({\n action: 'removeTag',\n groupName: selectedTag,\n })\n }\n />\n \n \n ))\n )}\n
    \n \n )}\n {checkboxes?.length > 0 && (\n
    \n {checkboxes?.map(\n (item, index) =>\n item?.key === initialCheckboxes[index]?.key && (\n
    \n
    \n
    \n {item?.children?.length > 0 && (\n <>\n {expanded.includes(item.key) ? (\n \n setExpanded((d) =>\n d.filter((i) => i !== item.key),\n )\n }\n />\n ) : (\n \n setExpanded((d) => [...d, item.key])\n }\n />\n )}\n \n )}\n
    \n \n \n
    \n
    \n
    \n ),\n )}\n \n )}\n \n \n );\n};\n\nexport default FilterCheckbox;\n","/* eslint-disable jsx-a11y/no-static-element-interactions */\n/* eslint-disable jsx-a11y/click-events-have-key-events */\n/* eslint-disable react/react-in-jsx-scope */\n/* eslint-disable react/jsx-curly-brace-presence */\nimport { useState } from 'react';\n// import SearchInput from '../../../../shared/design-system/components/atoms/search-input';\n// import { IconPlace } from '../../../../shared/design-system/components/dropdown';\nimport { FilterComponentType } from '../../type';\nimport { SearchIcon } from '../../../../shared/svg';\nimport useFirstEffect from '../../../../shared/hooks/useFirstEffect';\n\nexport default function KeywordInputComponent({\n handleQuery,\n keywordInputRef,\n onHandleQuery = null,\n}) {\n // eslint-disable-next-line no-restricted-globals\n const queryParams = new URLSearchParams(location?.search);\n const [search, setSearch] = useState(queryParams.get('keyword') || '');\n\n const handlePreQuery = (value = '') => {\n const trimmedValue = value.trim();\n\n if (!trimmedValue) {\n // If the trimmed value is empty, don't proceed with the API call\n return;\n }\n\n if(onHandleQuery){\n onHandleQuery(value);\n }\n\n handleQuery({\n filterKey: 'keyword',\n filterValue: value,\n filterType: FilterComponentType.SEARCH_INPUT,\n });\n };\n\n const onKeyDown = (e) => {\n if (e.keyCode === 13) {\n const trimmedValue = e.target?.value?.trim();\n\n if (!trimmedValue) {\n // If the trimmed value is empty, don't proceed with the API call\n return;\n }\n\n setSearch(trimmedValue);\n handlePreQuery(trimmedValue);\n }\n };\n\n useFirstEffect(() => {\n setSearch(queryParams.get('keyword') || '');\n // eslint-disable-next-line no-restricted-globals\n }, [location?.search]);\n\n return (\n <>\n
    \n
    \n \n \n \n setSearch(e?.target?.value)}\n onKeyDown={onKeyDown}\n value={search}\n placeholder={'Search a name or keyword'}\n />\n {search && (\n {\n setSearch('');\n handleQuery({\n filterKey: 'keyword',\n filterValue: '',\n filterType: FilterComponentType.SEARCH_INPUT,\n });\n }}\n className=\"clear-icon\"\n >\n \n \n )}\n
    \n
    \n \n );\n}\n","export type IProps = {\n show: boolean;\n onHide: () => void;\n isLoading: boolean;\n varient?: string;\n selectedSavedFilter?: any;\n getSavedFilters: () => void;\n handleGeneratePayload?: () => void;\n};\n\nexport const SaveFilterModalVarient = {\n Save: 'Save',\n Edit: 'Edit',\n Delete: 'Delete',\n};\n","/* eslint-disable no-nested-ternary */\nimport React, { useState } from 'react';\nimport { DeviceFloppy, Pencil, Trash } from '@saleshandy/icons';\nimport { useTranslation } from 'react-i18next';\nimport { IProps, SaveFilterModalVarient } from './types';\nimport Modal from '../../../../../shared/design-system/components/atoms/modal';\nimport Button from '../../../../../shared/design-system/components/atoms/button';\nimport Input from '../../../../../shared/design-system/components/input';\nimport toaster from '../../../../../shared/toaster';\nimport {\n addSavedFilterAPI,\n deleteSavedFilterAPI,\n editSavedFilterAPI,\n} from '../../../helpers/leads.api';\nimport { LEAD_SAVED_FILTER_MESSAGES } from '../../../helpers/leads-message';\n\nconst SaveFilterModal: React.FC = ({\n show,\n onHide,\n varient,\n selectedSavedFilter,\n getSavedFilters,\n handleGeneratePayload,\n}) => {\n const { t } = useTranslation();\n const [filterName, setFilterName] = useState(selectedSavedFilter?.name);\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const [loadingSavedFilters, setLoadingSavedFilters] = useState(false);\n\n const handleSavedFilter = async () => {\n setLoadingSavedFilters(true);\n try {\n if (varient === SaveFilterModalVarient.Save) {\n await addSavedFilterAPI({\n name: filterName,\n searchQuery: handleGeneratePayload(),\n });\n toaster.success(\n LEAD_SAVED_FILTER_MESSAGES.saved_filter_add_success_msg,\n );\n }\n if (varient === SaveFilterModalVarient.Edit) {\n // eslint-disable-next-line no-underscore-dangle\n await editSavedFilterAPI(selectedSavedFilter?._id, {\n name: filterName,\n });\n toaster.success(\n LEAD_SAVED_FILTER_MESSAGES.saved_filter_edit_success_msg,\n );\n }\n\n if (varient === SaveFilterModalVarient.Delete) {\n // eslint-disable-next-line no-underscore-dangle\n await deleteSavedFilterAPI(selectedSavedFilter?._id);\n toaster.success(\n LEAD_SAVED_FILTER_MESSAGES.saved_filter_delete_success_msg,\n );\n }\n getSavedFilters();\n setLoadingSavedFilters(false);\n onHide();\n } catch (e: any) {\n getSavedFilters();\n setLoadingSavedFilters(false);\n toaster.error(e?.message);\n }\n };\n\n const handleKeyPress = (event: React.KeyboardEvent) => {\n if (event.key === 'Enter') {\n handleSavedFilter();\n }\n };\n\n return (\n \n {varient === SaveFilterModalVarient.Save ? (\n \n ) : varient === SaveFilterModalVarient.Edit ? (\n \n ) : varient === SaveFilterModalVarient.Delete ? (\n \n ) : (\n ''\n )}\n
    \n {varient === SaveFilterModalVarient.Save\n ? t('labels.save_filter')\n : varient === SaveFilterModalVarient.Edit\n ? t('labels.edit_filter')\n : varient === SaveFilterModalVarient.Delete\n ? t('labels.delete_filter')\n : t('labels.delete')}\n
    \n \n }\n showCloseIcon={false}\n onClose={onHide}\n cancelButtonText={t('labels.cancel')}\n isSubmitLoading={loadingSavedFilters}\n submitButtonText={\n varient === SaveFilterModalVarient.Save\n ? t('labels.save_filterBtn')\n : varient === SaveFilterModalVarient.Edit\n ? t('labels.save_filterBtn')\n : varient === SaveFilterModalVarient.Delete\n ? t('labels.delete')\n : ''\n }\n submitButtonVariant={\n varient === SaveFilterModalVarient.Delete\n ? Button.Variant.Danger\n : Button.Variant.Primary\n }\n cancelButtonVarient={Button.Variant.Outlined}\n onHide={onHide}\n isCancelDisabled={loadingSavedFilters}\n className=\"save-filter-modal\"\n onSubmit={handleSavedFilter}\n >\n {varient !== SaveFilterModalVarient.Delete ? (\n
    \n {\n setFilterName(e);\n }}\n />\n
    \n ) : (\n <>\n

    This action can't be reversed.

    \n

    Are you sure, you want to continue?

    \n \n )}\n \n );\n};\n\nexport default SaveFilterModal;\n","/* eslint-disable @typescript-eslint/no-shadow */\n/* eslint-disable jsx-a11y/no-static-element-interactions */\n/* eslint-disable no-restricted-globals */\nimport React, { useEffect, useState } from 'react';\nimport { Bookmark, Pencil, Trash } from '@saleshandy/icons';\nimport { useHistory } from 'react-router-dom';\nimport _ from 'lodash';\nimport {\n OverlayPopover,\n Placement,\n} from '../../../../shared/design-system/components/overlay';\nimport SaveFilterModal from '../modal/save-filter-modal';\nimport { getFilterKeysWithExtraKeys } from '../../helpers/helper';\nimport {\n DEPARTMENT_DATA,\n INDUSTRY_DATA,\n LOCATION_DATA,\n} from '../../helpers/filter-data';\nimport { getSavedFilterListAPI } from '../../helpers/leads.api';\nimport { SaveFilterModalVarient } from '../modal/save-filter-modal/types';\nimport Transfer from '../../../../shared/design-system/components/transfer/transfer';\nimport Button from '../../../../shared/design-system/components/atoms/button';\nimport Icon from '../../../../shared/design-system/components/atoms/icon';\n\nexport default function SavedFilter({ handleGeneratePayload, searchLeads, isLoading }) {\n const history = useHistory();\n const [savedFilters, setSavedFilters] = useState([]);\n const [selectedSavedFilter, setSelectedSavedFilter] = useState();\n const [showPopOver, setshowPopOver] = useState(false);\n const [showSaveFilter, setshowSaveFilter] = useState(false);\n const [showEditFilter, setshowEditFilter] = useState(false);\n const [showDeleteFilter, setshowDeleteFilter] = useState(false);\n const [showAppliedFilter, setshowAppliedFilter] = useState(false);\n\n const [activeFilter, setActiveFilter] = useState(null);\n\n const onToggle = () => {\n setshowPopOver(!showPopOver);\n };\n const onToggleAppliedFilter = () => {\n setshowAppliedFilter(!showAppliedFilter);\n };\n const hideSaveFilterModal = () => {\n setshowSaveFilter(false);\n };\n const hideEditSaveFilterModal = () => {\n setshowEditFilter(false);\n };\n const hideDeleteSavedFilterModal = () => {\n setshowDeleteFilter(false);\n };\n\n const getSavedFilters = async () => {\n const res = await getSavedFilterListAPI();\n if (res) {\n const mappedArray = res.payload.map((item) => ({\n ...item,\n key: item.name,\n }));\n setSavedFilters(mappedArray);\n }\n };\n const buildQueryString = (filterObject, history) => {\n const queryParams = [];\n queryParams.push(`start=${1}`);\n queryParams.push(`take=${25}`);\n Object.entries(filterObject).forEach(([key, value]) => {\n if (Array.isArray(value)) {\n // Handle arrays\n if (key === 'location' || key === 'excludeLocation') {\n const keys = getFilterKeysWithExtraKeys(value, LOCATION_DATA);\n keys.forEach((item) => {\n queryParams.push(`${key}=${item}`);\n });\n } else if (key === 'department' || key === 'excludeDepartment') {\n const keys = getFilterKeysWithExtraKeys(value, DEPARTMENT_DATA);\n keys.forEach((item) => {\n queryParams.push(`${key}=${item}`);\n });\n } else if (key === 'industry' || key === 'excludeIndustry') {\n const keys = getFilterKeysWithExtraKeys(value, INDUSTRY_DATA);\n keys.forEach((item) => {\n queryParams.push(`${key}=${item}`);\n });\n } else {\n // Handle other arrays\n value.forEach((item) => {\n queryParams.push(`${key}=${item}`);\n });\n }\n } else {\n // Handle other types\n queryParams.push(`${key}=${value}`);\n }\n });\n\n const queryString = queryParams.join('&');\n const finalUrl = `/leads?${queryString}`;\n\n // Push to route\n history.push(finalUrl);\n searchLeads();\n setshowPopOver(false);\n };\n const applySavedFilter = (option: any) => {\n buildQueryString(option?.searchQuery, history);\n };\n\n useEffect(() => {\n getSavedFilters();\n }, []);\n\n useEffect(() => {\n if (savedFilters && savedFilters?.length > 0) {\n const payload = handleGeneratePayload();\n // eslint-disable-next-line no-restricted-syntax\n for (const f of savedFilters) {\n if (_.isEqual(f?.searchQuery, payload)) {\n setActiveFilter(f);\n }\n }\n }\n return () => {\n setActiveFilter(null);\n };\n }, [location?.search, savedFilters]);\n\n return (\n
    \n
    \n searchLeads()}\n variant={Button.Variant.Primary}\n iconLeft={}\n disabled={!location?.search || isLoading}\n >\n Search\n \n
    \n
    \n
    \n \n \n option?.key?.toLowerCase().includes(value.toLowerCase())\n }\n optionRenderer={(option: any) => (\n // eslint-disable-next-line jsx-a11y/click-events-have-key-events\n {\n setSelectedSavedFilter(option);\n applySavedFilter(option);\n }}\n >\n

    {option.key}

    \n
    \n {\n setshowEditFilter(true);\n onToggle();\n e?.stopPropagation();\n setSelectedSavedFilter(option);\n }}\n />\n {\n setshowDeleteFilter(true);\n onToggle();\n e?.stopPropagation();\n setSelectedSavedFilter(option);\n }}\n />\n
    \n
    \n )}\n showSearch\n searchPlaceholder=\"Search\"\n />\n \n }\n placement={Placement.TopStart}\n >\n
    \n
    \n \n
    \n {/* eslint-disable-next-line */}\n setshowPopOver(true)}>Saved Filters\n
    \n \n \n

    Saved Filter Applied

    \n

    {activeFilter?.name}

    \n
    \n }\n placement={Placement.TopStart}\n rootClose={true}\n >\n
    \n {activeFilter && (\n // eslint-disable-next-line jsx-a11y/click-events-have-key-events\n setshowAppliedFilter(true)}\n className=\"saved-filter-dot d-block\"\n />\n )}\n
    \n \n
    \n\n
    \n {/* eslint-disable-next-line */}\n {\n if (location?.search && !activeFilter) {\n setshowSaveFilter(true);\n }\n }}\n className={`save-filter-txt ${\n !location?.search || activeFilter ? 'disable-save-filter' : ''\n }`}\n >\n Save Filter\n \n
    \n\n {showSaveFilter && (\n \n )}\n {showEditFilter && (\n \n )}\n {showDeleteFilter && (\n \n )}\n \n \n );\n}\n","/* eslint-disable arrow-body-style */\n/* eslint-disable @typescript-eslint/no-shadow */\n/* eslint-disable jsx-a11y/no-static-element-interactions */\n/* eslint-disable no-restricted-globals */\nimport { Accordion, Button } from '@saleshandy/design-system';\nimport { Cross, Filter, Minus, Plus } from '@saleshandy/icons';\nimport { useOverlayScrollbars } from 'overlayscrollbars-react';\nimport { OverlayTrigger, Tooltip } from 'react-bootstrap';\nimport 'overlayscrollbars/styles/overlayscrollbars.css';\nimport React, { useEffect, useMemo, useRef, useState } from 'react';\nimport { useLocation } from 'react-router-dom';\nimport classNames from 'classnames';\nimport Tag from '../../../../shared/design-system/components/tag';\nimport { FilterComponentType } from '../../type';\nimport { FILTER_LIST } from '../hooks/useLeadFilter';\nimport Autocomplete from '../search-auto-complete';\nimport DropDownFilterComponent from './dropdown-filter';\nimport FilterCheckbox from './filter-checkbox';\nimport KeywordInputComponent from '../keyword-search-input/keyword-search-input';\nimport SavedFilter from '../saved-filter/saved-filter';\nimport { OverlayPopover, Placement } from '../../../../shared/design-system/components/overlay';\nimport { accessibleOnClick } from '../../../../shared/utils/accessible-on-click';\nimport { Theme } from '../../../../shared/design-system/components/overlay/popover/enums';\n\nexport default function PeopleTabComponent({\n handleRecentSearch,\n handleGeneratePayload,\n setSelectedLeads,\n onBulkSearchShow,\n handleDeleteFilter,\n handleGetAllKeysByFilterFromQuery,\n handleIndividualTag,\n handleFoundValueExceptFromList,\n handleQuery,\n bulkFilterSyncKey,\n showPhoneNumberNudge,\n setShowPhoneNumberNudge,\n setIgnorePhoneNumberNudge,\n searchLeads,\n isLoading,\n}) {\n const [selectedFilter, setSelectedFilter] = useState([]);\n const overlayRef = useRef(null);\n const accordionKey = 3830;\n\n const location = useLocation();\n const queryParams = new URLSearchParams(location?.search);\n const keywordInputRef: any = useRef();\n\n const [showTagTooltip, setShowTagTooltip] = useState(null);\n\n const [initialize] = useOverlayScrollbars({\n options: {\n overflow: {\n x: 'hidden',\n },\n scrollbars: {\n autoHide: 'leave',\n autoHideDelay: 500,\n },\n },\n defer: true,\n });\n\n const onSelectFilter = (id, filter) => {\n setSelectedFilter((prevSelectedFilter) => {\n const index = prevSelectedFilter.findIndex((filter) => filter.id === id);\n if (index === -1) {\n return [\n ...prevSelectedFilter,\n {\n id,\n filter,\n },\n ];\n }\n return prevSelectedFilter.filter((filter) => filter.id !== id);\n });\n };\n\n const isSelectedFilter = useMemo(() => {\n return (filter) => selectedFilter.some((f) => f.id === filter.id);\n }, [selectedFilter]);\n\n const handleClearAll = () => {\n handleRecentSearch();\n setSelectedFilter([]);\n setSelectedLeads([]);\n };\n\n useEffect(() => {\n initialize(overlayRef.current);\n }, [initialize]);\n\n useEffect(() => {\n if (keywordInputRef.current) {\n keywordInputRef.current.focus();\n }\n return () => {\n setSelectedFilter([]);\n };\n }, []);\n const getLebelTooltip = (text: string) => (\n \n {text}\n \n );\n \n useEffect(() => {\n if (showPhoneNumberNudge) {\n const contactMethodFilter = FILTER_LIST.find((filter) => filter.id === 'filter-contact-method');\n if (!isSelectedFilter(contactMethodFilter)) {\n setSelectedFilter([...selectedFilter, { id: contactMethodFilter.id, filter: contactMethodFilter }]);\n }\n\n // Find the contact method filter element and scroll it into view\n setTimeout(() => {\n const filterElement = document.querySelector('[data-filter-id=\"filter-contact-method\"]') as HTMLElement;\n if (filterElement) {\n // Scroll the element into view with smooth behavior\n filterElement.scrollIntoView({\n behavior: 'smooth',\n block: 'center',\n inline: 'nearest'\n });\n }\n }, 300);\n }\n }, [showPhoneNumberNudge, selectedFilter, isSelectedFilter]);\n\n const handleApplyPhoneNumberNudge = () => {\n let contactMethod = queryParams.getAll('contactMethod');\n if (contactMethod.length > 0) {\n contactMethod = contactMethod.filter((method) => method !== 'Mobile' && method !== 'Phone');\n }\n contactMethod.push('Mobile', 'Phone');\n setShowPhoneNumberNudge(false);\n handleQuery({\n filterKey: 'contactMethod',\n filterValue :{\n \"includedKeys\": contactMethod,\n },\n filterType: FilterComponentType.MULTILEVEL_CHECKBOX,\n showExactMatch: false\n });\n };\n\n const getPhoneNumberNudgeContent = () => {\n return (\n
    \n
    \n
    \n Heads up!\n
    \n
    \n Some leads may not have a phone number. To ensure, use the “Contact Method” filter and select “Mobile Number + Phone Number.”\n
    \n This may reduce the lead count, as not every lead has a number.\n
    \n
    \n Once you apply, you’ll need to take “View Email + Phone” action again.\n
    \n
    \n \n \n
    \n
    \n \n
    \n )\n }\n\n return (\n <>\n \n onBulkSearchShow())}\n >\n \n Bulk Search\n \n

    \n
    \n \n Filter\n
    \n {location?.search && (\n \n Clear All\n \n )}\n

    \n
    \n \n onAccordionChange(uuid)}\n >\n {FILTER_LIST &&\n FILTER_LIST.map((filter: any) => {\n const allTags = handleGetAllKeysByFilterFromQuery(filter);\n return (\n \n f?.id === filter?.id,\n )}\n className={classNames([\n 'accordion__item',\n {\n 'accordion__item_selected': isSelectedFilter(filter),\n },\n {\n 'accordion__item_highlighted': filter?.id === 'filter-contact-method' && isSelectedFilter(filter) && showPhoneNumberNudge,\n }\n ])}\n >\n onSelectFilter(filter.id, filter)}\n className={`${\n allTags.size > 0 && !isSelectedFilter(filter)\n ? 'accordion-item-heading-tag'\n : 'accordion-item-heading'\n } ${allTags.size ? 'accordion-item-selected-tag' : ''}`}\n >\n \n
    \n
    \n
    {filter.icon}
    \n
    {filter?.label}
    \n
    \n
    \n {allTags.size > 0 && (\n {\n e?.stopPropagation();\n handleDeleteFilter(filter);\n }}\n />\n )}\n
    \n \n {({ expanded }) =>\n expanded ? (\n \n ) : (\n \n )\n }\n \n
    \n
    \n
    \n {allTags.size > 0 && !isSelectedFilter(filter) && (\n
    \n {Array.from(allTags)\n .slice(0, 5)\n .map((tag: any, index) => (\n \n setShowTagTooltip(\n `tag-${tag?.key}-${\n tag?.label || ''\n }-${index}`,\n )\n }\n onMouseLeave={() => setShowTagTooltip(null)}\n >\n 15\n }\n >\n 15\n ? `${tag?.label.substring(0, 15)}..`\n : tag?.label\n }\n variant={Tag.Variant.Remove}\n className=\"filter-tag\"\n onClick={(e) => {\n e?.stopPropagation();\n handleIndividualTag(tag);\n }}\n />\n \n \n ))}\n {Array.from(allTags)?.length > 5 && (\n \n \n

    \n {Array.from(allTags)?.length - 5}\n

    \n
    \n }\n className=\"filter-tag more-tag\"\n />\n )}\n
    \n )}\n \n \n\n \n {filter?.type?.map((subFilter) => (\n \n {subFilter?.value ===\n FilterComponentType.SEARCH_INPUT && (\n \n )}\n {subFilter?.value ===\n FilterComponentType.MULTILEVEL_CHECKBOX && (\n {\n /**\n * Since expandedMaxFilterTags is introduced for bulk search\n * upon clicking on [+N] tag it will open up bulk search modal\n * by default for now\n */\n onBulkSearchShow(subFilter?.key);\n }}\n isPhoneNumberNudgeOpen={showPhoneNumberNudge}\n />\n )}\n {subFilter?.value ===\n FilterComponentType.DROP_DOWN && (\n \n )}\n \n ))}\n \n \n \n );\n })}\n \n \n \n \n \n );\n}\n","/* eslint-disable no-case-declarations */\n/* eslint-disable no-underscore-dangle */\n/* eslint-disable @typescript-eslint/naming-convention */\n/* eslint-disable react/react-in-jsx-scope */\nimport { Calendar, Tag } from '@saleshandy/icons';\nimport { useHistory, useLocation } from 'react-router';\nimport React from 'react';\nimport {\n FilterComponentType,\n LeadFinderTabKey,\n SavedTabFilters,\n} from '../../type';\nimport {\n getLeadListingPageSize,\n getLeadsActiveTab,\n} from '../../helpers/helper';\n\nlet timeout: any;\n\nexport const FILTER_SAVED_LIST: any = [\n {\n id: 'filter-tag',\n key: 'tags',\n label: 'Tags',\n icon: ,\n type: [\n {\n id: 'filter-tag-checkboxes',\n key: 'tag',\n value: FilterComponentType.TAG_CHECKBOX,\n inputPlaceHolder: 'Select',\n },\n ],\n },\n {\n id: 'filter-date',\n key: 'createdDate',\n label: 'Date',\n icon: ,\n type: [\n {\n id: 'filter-date',\n key: 'createdDate',\n value: FilterComponentType.SAVED_LEAD_DATE,\n inputPlaceHolder: 'Select',\n },\n ],\n },\n];\n\nexport const useSavedLeadFilter = (activeTabKey) => {\n const history = useHistory();\n const location = useLocation();\n const queryParams = new URLSearchParams(location?.search);\n\n const handleDefaultValues = (reset = false) => {\n const initialFilters: SavedTabFilters = {\n tags: [],\n createdDate: [],\n search: '',\n };\n let filters: SavedTabFilters = initialFilters;\n if (reset) {\n return filters;\n }\n try {\n if (queryParams.has('keyword')) {\n filters.search = queryParams.get('keyword');\n }\n if (queryParams.has('tags')) {\n const tags = queryParams\n .get('tags')\n ?.split(',')\n ?.map((ele) => parseInt(ele, 10));\n if (tags?.length) {\n filters.tags = tags;\n } else {\n filters.tags = [];\n }\n }\n if (queryParams.has('createdDate')) {\n const dateArr = queryParams.get('createdDate')?.split('-');\n if (dateArr && dateArr.length === 2) {\n const startDate = new Date(dateArr[0]);\n const endDate = new Date(dateArr[1]);\n filters.createdDate = [startDate, endDate];\n } else {\n filters.createdDate = [];\n }\n }\n } catch (error) {\n filters = initialFilters;\n }\n return filters;\n };\n\n const [savedFilters, setSavedFilters] = React.useState(handleDefaultValues());\n\n const __handleDeleteSpecificValueFromQuery = ({ key, value }) => {\n const paramValues = queryParams\n .getAll(key)\n ?.map((item) => item.replace(/\"/g, ''));\n\n const updatedValues = paramValues.filter((v) => v !== value);\n\n queryParams.delete(key);\n updatedValues.forEach((v) => queryParams.append(key, v));\n };\n\n const __handleSetDeletePaginationParams = (action) => {\n if (action === 'set') {\n queryParams.set('start', '1');\n queryParams.set(\n 'take',\n queryParams.get('take') || getLeadListingPageSize().toString(),\n );\n } else if (\n action === 'delete' &&\n activeTabKey === LeadFinderTabKey.SAVED_TAB\n ) {\n const queryParamLength = Array.from(queryParams.entries()).length;\n if (\n queryParamLength === 2 &&\n queryParams.has('start') &&\n queryParams.has('take')\n ) {\n queryParams.delete('start');\n queryParams.delete('take');\n }\n }\n };\n\n const handleGetAllKeysByFilterFromQuery = (filter: any) => {\n const uniqueKeys = new Set();\n\n return uniqueKeys;\n };\n\n const handleIndividualTag = (tag: any) => {\n __handleDeleteSpecificValueFromQuery({ key: tag?.key, value: tag?.value });\n\n __handleSetDeletePaginationParams('delete');\n\n history.push({\n search: queryParams.toString(),\n hash: getLeadsActiveTab(location),\n });\n };\n\n const handleQuery = ({\n filterKey,\n filterValue,\n filterType,\n }: {\n filterKey: string;\n filterValue: any;\n filterType: string;\n }) => {\n if (filterKey) {\n __handleSetDeletePaginationParams('set');\n }\n\n // eslint-disable-next-line default-case\n switch (filterType) {\n case FilterComponentType.SEARCH_INPUT:\n if (filterValue !== '') {\n queryParams.set(filterKey, [`${filterValue}`].toString());\n } else {\n queryParams.delete(filterKey);\n }\n break;\n case FilterComponentType.SAVED_LEAD_DATE:\n if (filterValue?.createdDate?.length) {\n const dateObjects = filterValue?.createdDate.map((e) => e.toString());\n queryParams.set(filterKey, `${dateObjects.join('-')}`);\n } else {\n queryParams.delete(filterKey);\n }\n break;\n case FilterComponentType.TAG_CHECKBOX:\n if (filterValue?.tags?.length > 0) {\n queryParams.set(filterKey, `${filterValue?.tags.join(',')}`);\n } else {\n queryParams.delete(filterKey);\n }\n break;\n }\n\n clearTimeout(timeout);\n timeout = setTimeout(() => {\n history.push({\n search: queryParams.toString(),\n hash: getLeadsActiveTab(location),\n });\n }, 0);\n };\n\n const handleDeleteFilter = (filter) => {\n if (filter) {\n filter?.type.forEach((type) => {\n queryParams.delete(type?.key);\n queryParams.delete(type?.excludeKey);\n });\n const queryParamLength = Array.from(queryParams.entries()).length;\n if (\n queryParamLength === 2 &&\n queryParams.has('start') &&\n queryParams.has('take')\n ) {\n queryParams.delete('start');\n queryParams.delete('take');\n }\n history.push({\n search: queryParams.toString(),\n hash: getLeadsActiveTab(location),\n });\n }\n };\n\n return {\n handleQuery,\n handleDeleteFilter,\n handleGetAllKeysByFilterFromQuery,\n handleIndividualTag,\n handleDefaultValues,\n savedFilters,\n setSavedFilters,\n };\n};\n","import React, { useEffect, useState } from 'react';\nimport { withRouter } from 'react-router';\nimport { ChevronDown, ChevronUp, Users } from '@saleshandy/icons';\nimport { useTranslation } from 'react-i18next';\nimport { Button } from '@saleshandy/design-system';\nimport Transfer from '../../../../../../shared/design-system/components/transfer';\nimport { Placement } from '../../../../../../shared/design-system/components/overlay/enums';\nimport type { Option } from './types';\nimport Checkbox from '../../../../../../shared/design-system/components/atoms/checkbox';\nimport { IProps } from './tag-saved-filters-container';\n\nconst TagSavedFilters: React.FC = ({\n leadTags,\n leadTagsIds,\n onLeadTagsIdsChange,\n className,\n}) => {\n const { t } = useTranslation();\n\n const [selectedLeadTagsIds, setSelectedLeadTagsIds] = useState([]);\n const [show, setShow] = useState(false);\n\n useEffect(() => {\n setSelectedLeadTagsIds([...leadTagsIds]);\n }, [show, leadTagsIds]);\n\n const options =\n leadTags?.map((leadTags) => ({\n key: leadTags.id.toString(),\n id: leadTags.id,\n name: leadTags.name,\n })) || [];\n\n return (\n \n show={show}\n onToggle={(value) => setShow(value)}\n className={`lead-filter-dropdown lead-filter ${className}`}\n showSearch\n searchPlaceholder=\"Search\"\n multiSelect\n options={options}\n showOptionsSeparator={true}\n selectedOptionKey={selectedLeadTagsIds.map((key) => key.toString())}\n optionFilterProp=\"name\"\n filterOption={(value, option) =>\n option?.name?.toLowerCase().includes(value.toLowerCase())\n }\n optionRenderer={(option) => (\n {option.name}\n )}\n onChange={(selectedOptions) => {\n setSelectedLeadTagsIds(\n selectedOptions.map((option) => option.id),\n );\n }}\n placement={Placement.BottomStart}\n footer={\n <>\n {\n if (checked) {\n setSelectedLeadTagsIds(\n options.map((option) => parseInt(option.key, 10)),\n );\n } else {\n setSelectedLeadTagsIds([]);\n }\n }}\n />\n {\n onLeadTagsIdsChange(selectedLeadTagsIds);\n setShow(false);\n }}\n >\n {t('labels.apply')}\n \n \n }\n >\n setShow(!show)}\n >\n
    \n Select\n
    \n
    \n {show ? : }\n
    \n \n \n );\n};\n\nexport default withRouter(TagSavedFilters);\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps } from 'react-router';\nimport { IPropsComponent } from './types';\nimport { RootState } from '../../../../../../store/root-reducer';\nimport TagSavedFilter from './tag-saved-filter';\nimport { getTagsToLeadsRequest } from '../../../../extra-actions';\n\nconst mapStateToProps = (state: RootState) => ({});\n\nconst mapDispatchToProps = {\n sendGetLeadTagsRequest: () => getTagsToLeadsRequest(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps &\n RouteComponentProps &\n IPropsComponent;\n\nexport default connector(TagSavedFilter);\n","import React, { memo, useMemo } from 'react';\nimport DatePicker from 'react-datepicker';\nimport 'react-datepicker/dist/react-datepicker.css';\nimport { DateTime } from 'luxon';\nimport { stringToDate } from '../../../../functions/date';\nimport Icon from '../../atoms/icon';\nimport { getUserTimeZone } from '../../../../utils/user-details';\n\nexport type DateFilterProps = {\n /**\n * Select change handler\n */\n onSelect: (x: any) => void;\n /**\n * Selected values.\n */\n values: Date[];\n};\n\nconst DateFilter: React.FC = ({ onSelect, values = [] }) => {\n const [isOpen, setIsOpen] = React.useState(false);\n\n const onDateChange = (date: Date) => {\n onSelect(date);\n date[1] && setIsOpen(false);\n };\n\n const Input = React.forwardRef<\n HTMLInputElement,\n React.HTMLProps\n >(({ value, onClick, onChange }, ref) => (\n
    \n setIsOpen(true)}\n onChange={onChange}\n value={value.toString().length > 15 ? value : ''} // Displaying the value only when both start_date and end_date are selected\n ref={ref}\n />\n
    \n {\n onSelect([]);\n }}\n />\n \n
    \n
    \n ));\n\n const startDate = useMemo(\n () =>\n values[0]\n ? values[0]\n : null,\n [values],\n );\n\n const endDate = useMemo(\n () => (values[1] ? values[1] : null),\n [values],\n );\n\n return (\n
    \n setIsOpen(true)}\n selected={startDate}\n onChange={onDateChange}\n startDate={startDate}\n endDate={endDate}\n onClickOutside={() => setIsOpen(false)}\n selectsRange\n open={isOpen}\n customInput={}\n dateFormat=\"MMM d, yyyy\"\n />\n
    \n );\n};\n\nexport default memo(DateFilter);\n","import React, { useRef, useState, useMemo, useEffect } from 'react';\nimport { Accordion, Pills, SkeletonLoading } from '@saleshandy/design-system';\nimport { Minus, Plus, Filter } from '@saleshandy/icons';\nimport { OverlayTrigger, Tooltip } from 'react-bootstrap';\nimport { DateTime } from 'luxon';\nimport KeywordInputComponent from '../keyword-search-input/keyword-search-input';\nimport Tag from '../../../../shared/design-system/components/tag/tag';\nimport {\n useSavedLeadFilter,\n FILTER_SAVED_LIST,\n} from '../hooks/useLeadSavedFilter';\nimport { Placement } from '../../../../shared/design-system/components/overlay';\nimport { FilterComponentType, SavedTabFilters } from '../../type';\nimport TagSavedFilters from './components/tags';\nimport DateFilter from '../../../../shared/design-system/components/molecules/leads-filter/date-filter';\n\nexport type SavedTabProps = {\n leadTags: any[];\n isLeadTagsLoading: boolean;\n activeTabKey;\n savedFilters: SavedTabFilters;\n setSavedFilters: React.Dispatch>;\n};\n\nconst SavedTab: React.FC = ({\n leadTags,\n isLeadTagsLoading,\n activeTabKey,\n savedFilters,\n setSavedFilters,\n}) => {\n const keywordInputRef: any = useRef();\n\n const {\n handleQuery,\n handleGetAllKeysByFilterFromQuery,\n handleIndividualTag,\n } = useSavedLeadFilter(activeTabKey);\n\n const [selectedFilter, setSelectedFilter] = useState([]);\n\n const overlayRef = useRef(null);\n const accordionKey = 3830;\n const [showTagTooltip, setShowTagTooltip] = useState(null);\n\n const onSelectFilter = (id, filter) => {\n setSelectedFilter((prevSelectedFilter) => {\n const index = prevSelectedFilter.findIndex((ele) => ele.id === id);\n if (index === -1) {\n return [\n ...prevSelectedFilter,\n {\n id,\n filter,\n },\n ];\n }\n return prevSelectedFilter.filter((ele) => ele.id !== id);\n });\n };\n\n const isSelectedFilter = useMemo(\n () => (filter) => selectedFilter.some((f) => f.id === filter.id),\n [selectedFilter],\n );\n\n const handleDeleteTagFilter = (filter) => {\n if (filter.key === 'createdDate') {\n setSavedFilters((prevFilters) => ({\n ...prevFilters,\n createdDate: [],\n }));\n } else if (filter.key === 'tags') {\n setSavedFilters((prevFilters) => ({\n ...prevFilters,\n tags: [],\n }));\n }\n\n handleQuery({\n filterKey: filter.key,\n filterValue: {\n tags: [],\n createdDate: [],\n },\n filterType:\n filter.key === 'createdDate'\n ? FilterComponentType.SAVED_LEAD_DATE\n : FilterComponentType.TAG_CHECKBOX,\n });\n };\n\n useEffect(() => {\n if (keywordInputRef.current) {\n keywordInputRef.current.focus();\n }\n return () => {\n setSelectedFilter([]);\n };\n }, []);\n\n const getLebelTooltip = (text: string) => (\n \n {text}\n \n );\n\n const handleDateChange = (createdDates: Date[]) => {\n const dates = createdDates?.filter((e) => !!e);\n setSavedFilters({\n ...savedFilters,\n createdDate: dates,\n });\n\n if (dates?.length === 0) {\n handleQuery({\n filterKey: 'createdDate',\n filterValue: {\n createdDate: [],\n },\n filterType: FilterComponentType.SAVED_LEAD_DATE,\n });\n return;\n }\n\n if (dates?.length < 2) {\n return;\n }\n\n setSavedFilters({\n ...savedFilters,\n createdDate: dates,\n });\n\n const dateTimes = [\n DateTime.fromJSDate(dates[0]),\n DateTime.fromJSDate(dates[1]),\n ];\n\n handleQuery({\n filterKey: 'createdDate',\n filterValue: {\n createdDate: [\n dateTimes[0].toFormat('dd MMM, yy'),\n dateTimes[1].toFormat('dd MMM, yy'),\n ],\n },\n filterType: FilterComponentType.SAVED_LEAD_DATE,\n });\n };\n\n return (\n <>\n {\n setSavedFilters({\n ...savedFilters,\n search: value,\n });\n }}\n />\n

    \n
    \n \n Filter\n
    \n

    \n
    \n \n \n {FILTER_SAVED_LIST &&\n FILTER_SAVED_LIST.map((filter: any) => {\n const allTags = handleGetAllKeysByFilterFromQuery(filter);\n return (\n f?.id === filter?.id,\n )}\n className={`${\n isSelectedFilter(filter)\n ? 'accordion__item_selected'\n : 'accordion__item'\n }`}\n >\n onSelectFilter(filter.id, filter)}\n className={`${\n allTags.size > 0 && !isSelectedFilter(filter)\n ? 'accordion-item-heading-tag'\n : 'accordion-item-heading'\n } ${allTags.size ? 'accordion-item-selected-tag' : ''}`}\n >\n \n
    \n
    \n
    {filter.icon}
    \n
    {filter?.label}
    \n
    \n
    \n {(filter?.label === 'Tags'\n ? savedFilters.tags?.length\n : savedFilters.createdDate?.length) > 0 && (\n {\n e?.stopPropagation();\n handleDeleteTagFilter(filter);\n }}\n />\n )}\n
    \n \n {({ expanded }) =>\n expanded ? (\n \n ) : (\n \n )\n }\n \n
    \n
    \n
    \n {allTags.size > 0 && !isSelectedFilter(filter) && (\n
    \n {Array.from(allTags)\n .slice(0, 5)\n .map((tag: any) => (\n \n setShowTagTooltip(tag?.label)\n }\n onMouseLeave={() => setShowTagTooltip(null)}\n >\n 15\n }\n >\n 15\n ? `${tag?.label.substring(0, 15)}..`\n : tag?.label\n }\n variant={Tag.Variant.Remove}\n className=\"filter-tag\"\n onClick={(e) => {\n e?.stopPropagation();\n handleIndividualTag(tag);\n }}\n />\n \n \n ))}\n {Array.from(allTags)?.length > 5 && (\n \n \n

    \n {Array.from(allTags)?.length - 5}\n

    \n
    \n }\n className=\"filter-tag more-tag\"\n />\n )}\n
    \n )}\n \n \n\n \n {filter?.type?.map((subFilter) => (\n \n {subFilter?.value ===\n FilterComponentType.TAG_CHECKBOX && (\n <>\n
    \n {isLeadTagsLoading ? (\n \n ) : (\n {\n setSavedFilters((prevFilters) => ({\n ...prevFilters,\n tags: leadTagsIds,\n }));\n handleQuery({\n filterKey: 'tags',\n filterValue: {\n tags: leadTagsIds,\n },\n filterType:\n FilterComponentType.TAG_CHECKBOX,\n });\n }}\n />\n )}\n\n {savedFilters.tags?.length > 0 && (\n
    \n {savedFilters.tags.map((tagId) => {\n const tagValue = leadTags.find(\n (ele) => ele.id === tagId,\n );\n const handlePillClose = (idToRemove) => {\n const updatedTags = savedFilters.tags.filter(\n (tag) => tag !== idToRemove,\n );\n setSavedFilters((prevFilters) => ({\n ...prevFilters,\n tags: updatedTags,\n }));\n handleQuery({\n filterKey: 'tags',\n filterValue: {\n tags: updatedTags,\n },\n filterType:\n FilterComponentType.TAG_CHECKBOX,\n });\n };\n\n if (!tagValue || !tagId) {\n return;\n }\n // Render the 'name' property of the tagValue object\n return (\n 15\n ? `${tagValue?.name?.substring(\n 0,\n 15,\n )}...`\n : tagValue?.name\n }\n showCloseIcon={true}\n onClose={() => handlePillClose(tagId)}\n key={tagId}\n />\n );\n })}\n
    \n )}\n
    \n \n )}\n\n {subFilter?.value ===\n FilterComponentType.SAVED_LEAD_DATE && (\n <>\n
    \n \n
    \n \n )}\n \n ))}\n
    \n \n );\n })}\n \n \n \n \n );\n};\n\nexport default SavedTab;\n","import React from 'react';\nimport {\n Briefcase,\n Building,\n BuildingArch,\n Mail,\n Search,\n Share,\n Tool,\n} from '@saleshandy/icons';\nimport { BulkFiltersConfig } from '../type';\nimport { INDUSTRY_DATA } from '../../../helpers/filter-data';\n\n// Use key value same as defined in useLeadFilter.tsx\nexport const BULK_SEARCH_FILTERS: BulkFiltersConfig = [\n {\n key: 'employer',\n excludeKey: 'excludeEmployer',\n icon: ,\n labelText: 'Company Name / Domain',\n showExactMatchCheckbox: true,\n maxInputCount: 100,\n placeholder:\n 'Enter list of Company Name/Domains separated by commas, semicolon or line breaks.',\n },\n {\n key: 'link',\n icon: ,\n labelText: 'Social Link',\n maxInputCount: 100,\n placeholder:\n 'Enter Social Link (e.g. LinkedIn profile URL) separated by commas, semicolon or line breaks.',\n },\n {\n key: 'industry',\n excludeKey: 'excludeIndustry',\n icon: ,\n labelText: 'Industry',\n checkboxDataList: INDUSTRY_DATA,\n maxInputCount: 100,\n placeholder:\n 'Enter Industry (e.g. IT & Software) separated by commas, semicolon or line breaks.',\n },\n {\n key: 'jobTitle',\n excludeKey: 'excludeJobTitle',\n icon: ,\n labelText: 'Job Title',\n showExactMatchCheckbox: true,\n maxInputCount: 100,\n placeholder:\n 'Enter Job Title (e.g. CEO, Sales Head) separated by commas, semicolon or line breaks.',\n },\n {\n key: 'skills',\n excludeKey: 'excludeSkills',\n icon: ,\n labelText: 'Skills',\n showExactMatchCheckbox: true,\n maxInputCount: 100,\n placeholder:\n 'Enter Skills (e.g. Lead Generation) separated by commas, semicolon or line breaks.',\n },\n {\n key: 'contactInfo',\n icon: ,\n labelText: 'Contact Info',\n maxInputCount: 100,\n placeholder:\n 'Enter Contact Info (e.g. Email or Phone) separated by commas, semicolon or line breaks.',\n },\n {\n key: 'keyword',\n icon: ,\n labelText: 'Keywords',\n showExactMatchCheckbox: true,\n maxInputCount: 100,\n placeholder:\n 'Enter Keywords separated by commas, semicolon or line breaks.',\n },\n];\n","export const DEFAULT_SEPARATORS = ['Enter', 'Blur', 'Paste'];\n\nexport const ERRORS = {\n MaxValues: 'You can add maximum 100 keywords',\n};\n","export const getSeparatedTextList = (value: string, separators: string[]) => {\n const regex = new RegExp(`[${separators.join('')}]`, 'g');\n return value\n .split(regex)\n .map((val) => val.trim())\n .filter((val) => val);\n};\n\nexport const getTrimmedChipValue = (value: string, maxLength: number) => {\n if (value.length < maxLength) {\n return value;\n }\n return value.substring(0, maxLength).trim().concat('..');\n};\n","import React, { useEffect, useRef, useState } from 'react';\nimport classNames from 'classnames';\nimport { Pills, SkeletonLoading } from '@saleshandy/design-system';\nimport { accessibleOnClick } from '../../utils/accessible-on-click';\nimport { DEFAULT_SEPARATORS, ERRORS } from './constants/constants';\nimport { getSeparatedTextList, getTrimmedChipValue } from './helpers/helpers';\nimport {\n Placement,\n OverlayTooltip,\n} from '../../design-system/components/overlay';\n\ntype IProps = {\n values: string[];\n onChange: (values: string[]) => void;\n error: string;\n onError: (error: string) => void;\n separators?: string[];\n placeholder?: string;\n hasMore?: boolean;\n onLoadMore?: () => void;\n loadMoreLabel?: string;\n isLoading?: boolean;\n showInputCount?: boolean;\n maxInputCount?: number;\n maxChipLength?: number;\n scrollTo?: boolean;\n};\nconst MultiChipInput: React.FC = ({\n values,\n onChange,\n error,\n onError,\n separators = [',', ';', '\\n', '\\t'],\n placeholder = 'Add entries with comma, semicolon, tabs or line breaks',\n hasMore = false,\n onLoadMore,\n loadMoreLabel = '',\n isLoading = false,\n showInputCount = false,\n maxInputCount,\n maxChipLength = 70,\n scrollTo = false,\n}) => {\n const multiChipInputRef = useRef(null);\n\n const [inputValue, setInputValue] = useState('');\n\n const onContainerClicked = () => {\n if (multiChipInputRef?.current) {\n multiChipInputRef.current.focus();\n }\n };\n\n const onEmailAndDomainValueChange = (value: string) => {\n if (value !== ',' && value !== ' ' && value !== ';') {\n setInputValue(value);\n }\n };\n\n const checkInputValidation = (newValueList) => {\n if (maxInputCount && newValueList.length > maxInputCount) {\n onError(ERRORS.MaxValues);\n } else if (error === ERRORS.MaxValues) {\n onError(null);\n }\n };\n\n useEffect(() => {\n if (scrollTo) {\n onContainerClicked();\n }\n }, [scrollTo])\n\n useEffect(() => {\n checkInputValidation(values);\n }, [values]);\n\n const onValuesRemove = (value: string) => {\n onChange(values.filter((email) => email !== value));\n };\n\n const onAddValues = (isBlur = false, pasteData?: string) => {\n const addedValues = getSeparatedTextList(\n pasteData ?? inputValue,\n separators,\n );\n const valueList = [];\n let newValue = '';\n\n addedValues.forEach((value, index) => {\n if (!values.includes(value) && !valueList.includes(value)) {\n valueList.push(value);\n } else if (index === addedValues.length - 1 && isBlur) {\n newValue = newValue.concat(`${value}`);\n }\n });\n\n const newValueList = [...values, ...valueList];\n setInputValue(newValue);\n onChange(newValueList);\n };\n\n const onAction = (action: string, isBlur = false, pasteData?: string) => {\n if (DEFAULT_SEPARATORS.includes(action) || separators.includes(action)) {\n onAddValues(isBlur, pasteData);\n }\n };\n\n const onKeyPress = (e) => {\n onAction(e.key);\n };\n\n const onKeyDown = (e) => {\n if (e.key === 'Backspace' && inputValue === '' && values.length > 0) {\n onValuesRemove(values[values.length - 1]);\n }\n };\n\n const onPaste = (event) => {\n const pasteData = event.clipboardData.getData('Text');\n event.preventDefault();\n onAction('Paste', false, pasteData);\n };\n const onBlur = () => {\n onAction('Blur', true);\n };\n\n const classes = classNames([\n 'multi-chip-input--container',\n {\n error: !!error,\n },\n ]);\n\n return (\n <>\n \n
    \n {values?.map(\n (value) =>\n value && (\n maxChipLength ? undefined : false}\n key={value}\n >\n onValuesRemove(value)}\n />\n \n ),\n )}\n\n {hasMore &&\n (isLoading ? null : (\n {\n onLoadMore?.();\n }}\n showCloseIcon={false}\n key=\"hasMore\"\n className=\"cursor-pointer\"\n />\n ))}\n\n {isLoading && (\n
    \n \n \n \n \n \n
    \n )}\n\n onEmailAndDomainValueChange(e?.target?.value)}\n ref={multiChipInputRef}\n onKeyPress={onKeyPress}\n onPaste={onPaste}\n onBlur={onBlur}\n onKeyDown={onKeyDown}\n />\n
    \n {showInputCount ? (\n \n {values.length}/{maxInputCount ?? 0}\n \n ) : null}\n \n
    \n {error || null}\n
    \n \n );\n};\n\nexport default MultiChipInput;\n","/* eslint-disable no-restricted-syntax */\nimport { CheckboxDataList } from '../type';\n\nexport const getMappedKeyFromValue = (\n checkboxDataList: CheckboxDataList,\n value: string,\n) => {\n for (const dataList of checkboxDataList) {\n if (value === dataList.value) {\n return dataList.key;\n }\n if (dataList.children) {\n const childValue = getMappedKeyFromValue(dataList.children, value);\n if (childValue) return childValue;\n }\n }\n return undefined;\n};\n\nexport const getMappedValueFromKey = (\n checkboxDataList: CheckboxDataList,\n key: string,\n) => {\n for (const dataList of checkboxDataList) {\n if (key === dataList.key) {\n return dataList.value;\n }\n if (dataList.children) {\n const childKey = getMappedValueFromKey(dataList.children, key);\n if (childKey) return childKey;\n }\n }\n return undefined;\n};\n\nexport const replaceParentValueIfAllChildExists = (\n checkboxDataList: CheckboxDataList,\n filterList: string[],\n) => {\n for (const dataList of checkboxDataList) {\n if (dataList.children) {\n let shouldReplaceParent = true;\n const childValueList = [];\n for (const childList of dataList.children) {\n childValueList.push(childList.key);\n if (!filterList.includes(childList.key)) {\n shouldReplaceParent = false;\n break;\n }\n }\n if (shouldReplaceParent) {\n filterList = filterList.filter((val) => !childValueList.includes(val));\n filterList.push(dataList.key);\n }\n }\n }\n return filterList;\n};\n\nexport const getIsErrorFromErrorMapping = (\n errorMapping: Record,\n) => Object.values(errorMapping).some((error) => error);\n","import React, { useEffect, useState } from 'react';\nimport { useLocation } from 'react-router';\nimport Modal from '../../../../shared/design-system/components/atoms/modal';\nimport { BULK_SEARCH_FILTERS } from './config';\nimport Checkbox from '../../../../shared/design-system/components/atoms/checkbox';\nimport { BulkFilters } from './type';\nimport MultiChipInput from '../../../../shared/components/multi-chip-input';\nimport {\n getIsErrorFromErrorMapping,\n getMappedKeyFromValue,\n getMappedValueFromKey,\n replaceParentValueIfAllChildExists,\n} from './helper/bulk-search-helper';\n\ntype IProps = {\n show: boolean;\n onClose: () => void;\n onSearch: (bulkFilters: BulkFilters) => void;\n focusKey?: string;\n};\n\nconst LeadsFilterBulkSearch: React.FC = ({\n show,\n onClose,\n onSearch,\n focusKey,\n}) => {\n const location = useLocation();\n const queryParams = new URLSearchParams(location?.search);\n\n const [bulkFilters, setBulkFilters] = useState({});\n const [bulkFilterError, setBulkFilterError] = useState<\n Record\n >({});\n\n const isError = getIsErrorFromErrorMapping(bulkFilterError);\n\n const updateBulkFiltersFromQueryParams = () => {\n const updatedBulkFilters: BulkFilters = {};\n BULK_SEARCH_FILTERS.forEach(({ key, excludeKey, checkboxDataList }) => {\n let queryValues = queryParams.getAll(key);\n let excludeQueryValues: string[];\n\n if (excludeKey) {\n excludeQueryValues = queryParams.getAll(excludeKey);\n }\n const showExactMatch = !!(\n (queryValues?.length && queryValues[0].includes(`\"`)) ||\n (excludeQueryValues?.length && excludeQueryValues[0].includes(`\"`))\n );\n\n queryValues = queryValues.map((value) => value.replace(/\"/g, ''));\n\n if (checkboxDataList) {\n // Considering values with checkboxDataList won't have show exact match\n queryValues = queryValues.map(\n (value) => getMappedValueFromKey(checkboxDataList, value) ?? value,\n );\n }\n\n updatedBulkFilters[key] = {\n values: queryValues,\n showExactMatch,\n };\n });\n setBulkFilters(updatedBulkFilters);\n };\n\n useEffect(() => {\n if (show) {\n updateBulkFiltersFromQueryParams();\n }\n }, [show]);\n\n const onCheckExactMatch = (key: string, checked: boolean) => {\n setBulkFilters({\n ...bulkFilters,\n [key]: {\n ...(bulkFilters[key] ? bulkFilters[key] : { values: [] }),\n showExactMatch: checked,\n },\n });\n };\n const onValueChange = (key: string, value: string[]) => {\n setBulkFilters({\n ...bulkFilters,\n [key]: {\n ...(bulkFilters[key] ? bulkFilters[key] : { showExactMatch: false }),\n values: value,\n },\n });\n };\n\n const onSubmit = () => {\n const filters = bulkFilters;\n BULK_SEARCH_FILTERS.forEach(({ key, checkboxDataList }) => {\n if (bulkFilters[key] && checkboxDataList) {\n const { values } = filters[key];\n let updatedValues = values.map(\n (value) => getMappedKeyFromValue(checkboxDataList, value) ?? value,\n );\n updatedValues = replaceParentValueIfAllChildExists(\n checkboxDataList,\n updatedValues,\n );\n filters[key] = {\n ...filters[key],\n values: updatedValues,\n };\n }\n });\n onSearch(filters);\n };\n\n return (\n \n {BULK_SEARCH_FILTERS.map(\n ({\n key,\n icon,\n labelText,\n placeholder,\n showExactMatchCheckbox,\n maxInputCount,\n }) => (\n
    \n
    \n
    \n
    {icon}
    \n
    {labelText}
    \n
    \n {showExactMatchCheckbox ? (\n onCheckExactMatch(key, checked)}\n checked={bulkFilters[key]?.showExactMatch}\n label={\n
    \n

    \n Show Exact Match\n

    \n
    \n }\n />\n ) : null}\n
    \n onValueChange(key, value)}\n placeholder={placeholder}\n showInputCount={true}\n maxInputCount={maxInputCount}\n error={bulkFilterError?.[key]}\n onError={(error) => {\n setBulkFilterError((prevError) => ({\n ...prevError,\n [key]: error,\n }));\n }}\n scrollTo={focusKey === key}\n />\n
    \n ),\n )}\n \n );\n};\n\nexport default LeadsFilterBulkSearch;\n","import React, { useState } from 'react';\nimport { useHistory } from 'react-router';\nimport Tabs, { TabPane } from 'rc-tabs';\nimport classNames from 'classnames';\nimport { accessibleOnClick } from '../../../../shared/utils/accessible-on-click';\nimport * as Icons from '../../../../shared/svg';\nimport PeopleTabComponent from '../people-tab';\nimport {\n FilterComponentType,\n LeadFinderTabKey,\n SavedTabFilters,\n} from '../../type';\nimport SavedTab from '../saved-tab/saved-tab';\nimport { useSavedLeadFilter } from '../hooks/useLeadSavedFilter';\nimport LeadsFilterBulkSearch from '../leads-filter-bulk-search/leads-filter-bulk-search';\nimport { BulkFilters } from '../leads-filter-bulk-search/type';\nimport { useLeadFilter } from '../hooks/useLeadFilter';\nimport { getLeadListingPageSize } from '../../helpers/helper';\n\ninterface LeadsSidebarProps {\n isSidebarExpanded: any;\n setIsSidebarExpanded: any;\n handleRecentSearch: any;\n handleGeneratePayload: any;\n activeTabKey: string;\n setActiveTabKey: (d: string) => void;\n handlePagination: (d?: any) => void;\n // eslint-disable-next-line react/require-default-props\n setLeadsData?: any;\n setSelectedLeads: (d?: any) => void;\n handleRouteChange: (d?: any) => void;\n leadTags: any[];\n isLeadTagsLoading: boolean;\n fetchLeadTags: (applyLoading?: boolean) => void;\n handleResetStateAfterAnyAction: () => void;\n savedFilters: SavedTabFilters;\n setSavedFilters: React.Dispatch>;\n showPhoneNumberNudge: boolean;\n setShowPhoneNumberNudge: React.Dispatch>;\n setIgnorePhoneNumberNudge: React.Dispatch>;\n searchLeads: (payload?: any, performSearch?: boolean) => void;\n isLoading: boolean;\n}\n\nconst LeadsSidebar = (props: LeadsSidebarProps) => {\n const {\n isSidebarExpanded,\n setIsSidebarExpanded,\n handleRecentSearch,\n handleGeneratePayload,\n activeTabKey,\n setActiveTabKey,\n setLeadsData,\n setSelectedLeads,\n handleRouteChange,\n leadTags,\n isLeadTagsLoading,\n handleResetStateAfterAnyAction,\n savedFilters,\n setSavedFilters,\n showPhoneNumberNudge,\n setShowPhoneNumberNudge,\n setIgnorePhoneNumberNudge,\n searchLeads,\n isLoading,\n } = props;\n\n const history = useHistory();\n\n const [showBulkSearch, setShowBulkSearch] = useState(false);\n const [\n bulkSearchFocusFilterKey,\n setBulkSearchFocusFilterKey,\n ] = useState();\n const [bulkFilterSyncKey, setBulkFilterSyncKey] = useState<\n Record\n >({});\n const { handleDefaultValues } = useSavedLeadFilter(activeTabKey);\n\n const {\n handleDeleteFilter,\n handleGetAllKeysByFilterFromQuery,\n handleIndividualTag,\n handleFoundValueExceptFromList,\n handleQuery,\n handleBulkQuery,\n } = useLeadFilter(activeTabKey, searchLeads);\n\n const onSidebarExpansionChange = () => {\n setIsSidebarExpanded(!isSidebarExpanded);\n };\n\n const handleTabChange = (key) => {\n if (key !== activeTabKey) {\n setLeadsData({\n profiles: [],\n pagination: null,\n });\n handleResetStateAfterAnyAction();\n setActiveTabKey(key);\n handleRouteChange();\n setSavedFilters(handleDefaultValues(true));\n const queryParams = new URLSearchParams();\n if (key === LeadFinderTabKey.SAVED_TAB) {\n queryParams.set('start', '1');\n queryParams.set('take', getLeadListingPageSize().toString());\n }\n if (key === LeadFinderTabKey.PEOPLE_TAB) {\n queryParams.delete('start');\n queryParams.delete('take');\n }\n history.push({ search: queryParams.toString(), hash: key });\n }\n };\n\n const onBulkSearchShow = (filterKey) => {\n setBulkSearchFocusFilterKey(filterKey);\n setShowBulkSearch(true);\n };\n const onBulkSearch = (bulkFilters: BulkFilters) => {\n setShowBulkSearch(false);\n\n const bulkQuery = [];\n const newBulkFilterSyncKeys: Record = {};\n Object.keys(bulkFilters).forEach((bulkFilterKey) => {\n const bulkFilter = bulkFilters[bulkFilterKey];\n bulkQuery.push({\n filterKey: bulkFilterKey,\n filterValue: {\n includedKeys: bulkFilter.values,\n },\n filterType: FilterComponentType.MULTILEVEL_CHECKBOX, // This is static since only this type needs bulk search\n showExactMatch: bulkFilter.showExactMatch,\n });\n if (bulkFilter?.values?.length) {\n newBulkFilterSyncKeys[bulkFilterKey] = true;\n }\n });\n handleBulkQuery(bulkQuery);\n\n setTimeout(() => setBulkFilterSyncKey(newBulkFilterSyncKeys), 0);\n };\n\n const sideNavClassName = classNames([\n 'leads-sidebar',\n 'leadsSideNav',\n {\n 'sidenav--collapse': !isSidebarExpanded,\n },\n ]);\n\n return (\n
    \n setShowBulkSearch(false)}\n onSearch={onBulkSearch}\n focusKey={bulkSearchFocusFilterKey}\n />\n \n {isSidebarExpanded ? (\n \n ) : (\n \n )}\n
    \n
    \n {isSidebarExpanded && (\n handleTabChange(key)}\n style={{ zIndex: 1000 }}\n prefixCls=\"bs-tabs\"\n className=\"bs-tabs-small\"\n >\n \n \n \n \n \n \n \n )}\n
    \n \n );\n};\n\nexport default LeadsSidebar;\n","import React, { useEffect, useState, useRef } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport SHTag from '../../../../shared/components/images/sh-tag';\nimport { Button } from '@saleshandy/design-system';\nimport Modal from '../../../../shared/design-system/components/atoms/modal';\nimport TagAutosuggest from '../../../../shared/design-system/components/molecules/tag-autosuggest';\nimport { RenderMode } from '../../../../shared/design-system/components/molecules/tag-autosuggest/tag-autosuggest';\nimport { Tag } from '@saleshandy/icons';\nimport {\n AddTagsToLeadsPayload,\n BulkActionPayload,\n BulkActionRemoveTagsPayload,\n SavedTabFilters,\n} from '../../type';\nimport { map } from 'lodash';\nimport {\n addTagsToBulkLeads,\n addTagsToLeads,\n getTagsToLeads,\n removeTagsFromBulkLeads,\n removeTagsToLeads,\n} from '../../helpers/leads.api';\nimport { redirectWithoutRefresh } from '../../../../shared/utils';\nimport toaster, { Theme } from '../../../../shared/toaster';\nimport { useSavedLeadFilter } from '../hooks/useLeadSavedFilter';\nimport { useHistory } from 'react-router';\n\nconst AddRemoveTagButton = ({\n handleAddTag,\n handleRemoveTag,\n disabled = false,\n show,\n leadTags,\n fetchLeadTags,\n selectedLeads,\n deselectedLeads,\n selectedAllLeads,\n leadsFilter,\n setSavedFilters,\n activeTabKey,\n}: {\n handleAddTag: () => void;\n handleRemoveTag: () => void;\n isDropdownFlow?: boolean;\n show;\n disabled?: boolean;\n leadTags: any[];\n fetchLeadTags: (applyLoading: boolean) => void;\n selectedLeads: any[];\n deselectedLeads?: any[];\n selectedAllLeads?: any;\n leadsFilter: SavedTabFilters;\n setSavedFilters: React.Dispatch>;\n activeTabKey: string;\n}) => {\n const { t } = useTranslation();\n const [showDropdown, setShowDropdown] = useState(false);\n const [showModal, setShowModal] = useState(false);\n const [modalTitle, setModalTitle] = useState('');\n const [tagsToAdd, setTagsToAdd] = useState([]);\n const [tagsToRemove, setTagsToRemove] = useState([]);\n const [isRemoveMode, setIsRemoveMode] = useState(false);\n const [isApplyButtonDisabled, setIsApplyButtonDisabled] = useState(true);\n const [isSubmitLoading, setIsSubmitLoading] = useState(false);\n\n const { handleDefaultValues } = useSavedLeadFilter(activeTabKey);\n\n const dropdownRef = useRef(null);\n\n const toggleDropdown = () => setShowDropdown(!showDropdown);\n const closeDropdown = () => setShowDropdown(false);\n const closeModal = () => setShowModal(false);\n\n const openAddTagModal = () => {\n closeDropdown();\n setModalTitle('Add Tags');\n setIsRemoveMode(false);\n setShowModal(true);\n setTagsToAdd([]);\n setIsApplyButtonDisabled(true);\n };\n\n const history = useHistory();\n\n const openRemoveTagModal = () => {\n closeDropdown();\n setModalTitle('Remove Tags');\n setIsRemoveMode(true);\n setShowModal(true);\n setTagsToRemove([]);\n setIsApplyButtonDisabled(false);\n };\n\n useEffect(() => {\n const handleClickOutside = (event) => {\n if (dropdownRef.current && !dropdownRef.current.contains(event.target)) {\n closeDropdown();\n }\n };\n\n // Add event listener to detect clicks outside the dropdown\n document.addEventListener('mousedown', handleClickOutside);\n\n // Cleanup the event listener\n return () => {\n document.removeEventListener('mousedown', handleClickOutside);\n };\n }, []);\n\n useEffect(() => {\n if (!isRemoveMode) {\n const newTagValue = tagsToAdd.some((tag) => tag.name.length > 64);\n setIsApplyButtonDisabled(tagsToAdd.length === 0 || newTagValue);\n }\n }, [tagsToAdd, isRemoveMode]);\n\n const handleSubmitModal = async () => {\n const payload: AddTagsToLeadsPayload = {\n leads: map(selectedLeads, 'id'),\n tagIds: [],\n newTags: [],\n };\n\n try {\n setIsSubmitLoading(true);\n if (!isRemoveMode) {\n const bulkPayload: BulkActionPayload = {\n deSelectedLeadIds: map(deselectedLeads, 'id'),\n leadsFilter,\n newTags: [],\n tagIds: [],\n };\n tagsToAdd.forEach((tag) => {\n if (tag.isNew) {\n payload.newTags.push(tag.name);\n bulkPayload.newTags.push(tag.name);\n } else {\n payload.tagIds.push(tag.id);\n bulkPayload.tagIds.push(tag.id);\n }\n });\n\n if (selectedAllLeads) {\n await addTagsToBulkLeads(bulkPayload);\n toaster.success('Tag applied successfully', {\n theme: Theme.New,\n });\n } else {\n await addTagsToLeads(payload);\n toaster.success('Tag applied successfully', { theme: Theme.New });\n }\n\n await handleAddTag();\n setSavedFilters(handleDefaultValues(true));\n // redirectWithoutRefresh(history.location.pathname + history.location.search + history.location.hash);\n window.location.reload();\n } else {\n const bulkPayload: BulkActionRemoveTagsPayload = {\n deSelectedLeadIds: map(deselectedLeads, 'id'),\n leadsFilter,\n tagIds: [],\n };\n tagsToRemove.forEach((tag) => {\n payload.tagIds.push(tag);\n bulkPayload.tagIds.push(tag);\n });\n\n if (selectedAllLeads) {\n await removeTagsFromBulkLeads(bulkPayload);\n toaster.success('Tags removed successfully', { theme: Theme.New });\n } else {\n await removeTagsToLeads({\n tagIds: payload.tagIds,\n leads: payload.leads,\n });\n toaster.success('Tags removed successfully', { theme: Theme.New });\n }\n\n setSavedFilters(handleDefaultValues(true));\n await handleRemoveTag();\n // redirectWithoutRefresh(history.location.pathname + history.location.search + history.location.hash);\n window.location.reload();\n }\n } catch (error) {\n toaster.error(\n isRemoveMode ? 'Failed to remove tags' : 'Failed to add tags',\n error,\n );\n } finally {\n setIsSubmitLoading(false);\n closeModal();\n }\n };\n\n return (\n <>\n
    \n \n \n Tags\n \n {showDropdown && (\n
    \n
      \n
    • \n \n
      \n

      Add Tags

      \n
      \n
    \n \n
  • \n \n
    \n

    Remove Tags

    \n
    \n
  • \n \n \n \n )}\n \n\n\n \n \n
    {modalTitle}
    \n \n }\n onClose={closeModal}\n showCloseIcon={false}\n submitButtonText={t('labels.apply')}\n isSubmitDisabled={isApplyButtonDisabled}\n isSubmitLoading={isSubmitLoading}\n onSubmit={handleSubmitModal}\n backdrop=\"static\"\n extraModalProps={{\n enforceFocus: false,\n 'aria-labelledby': 'contained-modal-title-vcenter',\n }}\n >\n \n \n \n \n \n );\n};\n\nexport default AddRemoveTagButton;\n","/* eslint-disable jsx-a11y/interactive-supports-focus */\n/* eslint-disable no-nested-ternary */\n/* eslint-disable jsx-a11y/no-static-element-interactions */\n/* eslint-disable jsx-a11y/click-events-have-key-events */\n/* eslint-disable default-case */\n/* eslint-disable no-else-return */\nimport React, { useEffect, useState } from 'react';\nimport {\n Diamond,\n Download,\n Mail,\n MailPhoneIcon,\n Send,\n Tag,\n UserList,\n} from '@saleshandy/icons';\nimport { Button } from '@saleshandy/design-system';\nimport { useHistory, useLocation } from 'react-router';\nimport { OverlayTrigger, Tooltip } from 'react-bootstrap';\nimport { useDispatch } from 'react-redux';\nimport Checkbox from '../../../../shared/design-system/components/atoms/checkbox';\nimport AddToSequenceModal from '../../../prospect/components/prospect-list/components/modals/add-to-sequence-modal';\nimport GetContactDetail from '../../../prospect/components/prospect-list/components/modals/get-contact-info-modal';\nimport {\n bulkAddToProspectLeadAPI,\n bulkAddToSequenceLeadAPI,\n bulkExportLeadAPI,\n bulkPeopleRevealLeadAPI,\n bulkRevealLeadAPI,\n bulkSavedAddToProspectLeadAPI,\n bulkSavedAddToSequenceLeadAPI,\n exportAllLeadsAPI,\n} from '../../helpers/leads.api';\nimport toaster, { Theme } from '../../../../shared/toaster';\nimport ConfirmationModalV3 from '../../../../shared/design-system/components/atoms/confirmation-modal/confirmation-modal-v3';\nimport { ConfirmationModalIconType } from '../../../../shared/design-system/components/atoms/confirmation-modal/enum';\nimport {\n BULK_ACTION_TIMEOUT,\n BulkLeadsActionType,\n LeadFinderTabKey,\n LeadRevealType,\n} from '../../type';\nimport {\n OverlayTooltip,\n Placement,\n} from '../../../../shared/design-system/components/overlay';\nimport { LEAD_LISTING_MESSAGES } from '../../helpers/leads-message';\nimport hasResource from '../../../../shared/utils/access-control/has-resource';\nimport { ResourceIdentifiers } from '../../../../shared/utils/access-control/enums/resource-identifiers';\nimport {\n getUserLeadFinderPlanName,\n getUserPlanName,\n getUserRole,\n getUserShAccountId,\n getUserTrackingId,\n leadFinderBulkOperationLimit,\n} from '../../../../shared/utils/user-details';\nimport { AnalyticsEvents } from '../../../../shared/enums/analytics';\nimport { SystemErrors } from '../../../../shared/enums/system-errors';\nimport TagAutosuggest, {\n RenderMode,\n} from '../../../../shared/design-system/components/molecules/tag-autosuggest/tag-autosuggest';\nimport AddRemoveTagButton from '../add-remove-tag-button/add-remove-tag-button';\nimport planPermissionError from '../../../../shared/utils/errors/plan-permission-error';\nimport { isFreePlan } from '../../../../shared/utils/plans';\nimport hasPermission from '../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../shared/utils/access-control/enums/permissions';\nimport { enableBulkActionRequestPolling } from '../../../home/home-slice';\nimport { Routes } from '../../../../shared/routes';\nimport { redirectWithoutRefresh } from '../../../../shared/utils';\n\nexport default function TotalCredits({\n topPeopleLimit,\n handleSelectAllLead,\n selectedLeads,\n leadsData,\n isBulkRevealing,\n apiParam,\n activeTabKey,\n setIsBulkRevealing,\n setSelectedLeads,\n isSelectAllIndeterminate,\n disabledLeads,\n selectedAllLeadsCount,\n leadCredits,\n isSelectedAllLeads,\n setIsSelectedAllLeads,\n handleClearSelectedAllBulkAction,\n handleSelectAllBulkActionLead,\n deSelectedLeads,\n leadTags,\n fetchLeadTags,\n handleResetStateAfterAnyAction,\n savedFilters,\n setSavedFilters,\n handleFetchLeadsAfterBulkActions,\n setLoadingGetInfoLeads,\n loadingGetInfoLeads,\n setShowPhoneNumberNudge,\n showPhoneNumberNudge,\n ignorePhoneNumberNudge,\n setIgnorePhoneNumberNudge,\n setLeadFinderRevealType,\n setEmailRevealingLeads,\n setEmailPhoneRevealingLeads,\n}) {\n const location = useLocation();\n const dispatch = useDispatch();\n const queryParams = new URLSearchParams(location.search);\n const history = useHistory();\n const [bulkTimeout, setBulkTimeout] = useState(null);\n\n useEffect(() => {\n if (isSelectedAllLeads) {\n handleSelectAllLead(leadsData.profiles);\n }\n }, []);\n\n const [hoveredSelectAll, setHoveredSelectAll] = useState(false);\n\n const [loadingBulkAction, setLoadingBulkAction] = useState({\n loadingReveal: false,\n loadingAddToProspect: false,\n loadingExport: false,\n loadingAddToSequence: false,\n loadingAddTag: false,\n });\n const [showAddToSequenceModal, setShowAddToSequenceModal] = useState(\n false,\n );\n const [tagsToAdd, setTagsToAdd] = useState([]);\n const [tagsToRemove, setTagsToRemove] = useState([]);\n const [\n CreditNotAvailableModalOpen,\n setCreditNotAvailableModalOpen,\n ] = useState(false);\n const [\n selectedMoreThanLimitModalOpen,\n setSelectedMoreThanLimitModalOpen,\n ] = useState(false);\n\n const [showBulkSelectTagModal, setShowBulkSelectTagModal] = useState(\n false,\n );\n const [leadRevealType, setLeadRevealType] = useState(\n null,\n );\n\n const hideAddToSequenceModal = () => {\n setShowAddToSequenceModal(false);\n };\n\n const hideBulkSelectTagModal = () => {\n setIgnorePhoneNumberNudge(false);\n setShowBulkSelectTagModal(false);\n };\n\n const hideLimitreachedModal = () => {\n setIgnorePhoneNumberNudge(false);\n setSelectedMoreThanLimitModalOpen(false);\n };\n\n const hideCreditNotAvailableModal = () => {\n setIgnorePhoneNumberNudge(false);\n setCreditNotAvailableModalOpen(false);\n };\n\n const isLeadNoRevealedPresent = selectedLeads?.some((l) => !l?.isRevealed);\n\n const isLeadReRevealedPresent = selectedLeads?.some((l) => l?.reReveal);\n\n const isLeadPhoneRevealPresent = selectedLeads?.some(\n (l) => l?.isRevealed && l?.teaser?.phones?.length > 0,\n );\n\n const isLeadNotSavedPresent = selectedLeads?.some(\n (l) => !l?.isProspectCreated,\n );\n\n const shouldDisplayGetContactInfo = () =>\n isLeadNoRevealedPresent ||\n (isSelectedAllLeads && activeTabKey === LeadFinderTabKey.PEOPLE_TAB);\n\n const shouldDisplayEmailPhoneBulkAction = () =>\n activeTabKey === LeadFinderTabKey.PEOPLE_TAB && \n (isLeadNoRevealedPresent ||\n (isLeadReRevealedPresent && isLeadPhoneRevealPresent));\n\n const shouldDisplayBulkAction = () => {\n if (activeTabKey === LeadFinderTabKey.PEOPLE_TAB) {\n return !isLeadNoRevealedPresent && !isSelectedAllLeads;\n }\n return !isLeadNoRevealedPresent;\n };\n\n const shouldDisplaySaveAsProspect = () =>\n (shouldDisplayBulkAction() && isLeadNotSavedPresent) ||\n selectedLeads?.length === 0;\n\n const getSelectedCount = () =>\n selectedAllLeadsCount > topPeopleLimit &&\n activeTabKey === LeadFinderTabKey.PEOPLE_TAB\n ? topPeopleLimit\n : selectedAllLeadsCount;\n\n const isSelectedAll = () =>\n (isSelectedAllLeads &&\n !leadsData?.profiles?.some((lead) =>\n deSelectedLeads?.some((l) => l?.id === lead?.id),\n )) ||\n leadsData?.profiles?.every((lead) =>\n selectedLeads?.some((l) => l?.id === lead?.id),\n );\n const isIntermediateAll = () => {\n const tempArr = leadsData?.profiles?.filter((lead) =>\n selectedLeads?.some((l) => l?.id === lead?.id),\n );\n return (\n tempArr?.length + disabledLeads?.length === leadsData?.profiles?.length\n );\n };\n\n const availableLeadsData = () =>\n leadsData?.profiles?.filter(\n (lead) =>\n !selectedLeads?.some((l) => l?.id === lead?.id) &&\n !disabledLeads?.some((l) => l?.id === lead?.id),\n ).length;\n\n const handleSelectAllLeads = () => {\n handleSelectAllBulkActionLead(leadsData?.profiles);\n };\n\n const handleClearSelection = () => {\n handleClearSelectedAllBulkAction();\n };\n\n const handleBulkReveal = async () => {\n try {\n const leadIds = selectedLeads\n ?.filter(\n (l) =>\n !l?.isRevealed ||\n (leadRevealType === LeadRevealType.EMAIL_PHONE &&\n l?.reReveal &&\n l?.teaser?.phones?.length > 0),\n )\n .map((l) => l?.id);\n const tagIds = [];\n const newTags = [];\n\n tagsToAdd.forEach((tag) => {\n if (tag.isNew) {\n newTags.push(tag.name);\n } else {\n tagIds.push(tag.id);\n }\n });\n\n tagsToRemove.forEach((tag) => {\n tagIds.push(tag);\n });\n\n setLoadingBulkAction((prev) => ({ ...prev, loadingReveal: true }));\n let bulkRevealRes;\n let leadIdsForPolling = [];\n if (isSelectedAllLeads) {\n const firstPageLeadIds =\n leadsData?.profiles\n ?.filter((ele) => !(ele.isRevealed || ele.isRevealing))\n ?.map((lead) => lead.id) ?? [];\n\n const currentRevealingLeadIds =\n Object.entries(loadingGetInfoLeads)\n ?.filter((ele) => ele[1])\n ?.map((ele) => Number(ele[0])) ?? [];\n const completedLeadsInFirstPage =\n leadsData?.profiles\n ?.filter(\n (ele) =>\n ele.isRevealed ||\n ele.isRevealing ||\n currentRevealingLeadIds?.includes(ele.id),\n )\n ?.map((ele) => ele.id) ?? [];\n let paginationCount = getSelectedCount();\n if (completedLeadsInFirstPage?.length) {\n paginationCount -= completedLeadsInFirstPage.length;\n }\n bulkRevealRes = await bulkPeopleRevealLeadAPI({\n leadsFilter: apiParam,\n tagIds,\n newTags,\n leadIds: firstPageLeadIds,\n count: paginationCount,\n revealType: leadRevealType,\n });\n setLoadingGetInfoLeads((prev) => ({\n ...prev,\n ...Object.fromEntries(firstPageLeadIds.map((lead) => [lead, true])),\n }));\n if (leadRevealType === LeadRevealType.EMAIL) {\n setEmailRevealingLeads((prev) => ({\n ...prev,\n ...Object.fromEntries(firstPageLeadIds.map((lead) => [lead, true])),\n }));\n }\n if (leadRevealType === LeadRevealType.EMAIL_PHONE) {\n setEmailPhoneRevealingLeads((prev) => ({\n ...prev,\n ...Object.fromEntries(firstPageLeadIds.map((lead) => [lead, true])),\n }));\n }\n handleResetStateAfterAnyAction(firstPageLeadIds);\n } else {\n leadIdsForPolling = leadIds;\n setLoadingGetInfoLeads((prev) => ({\n ...prev,\n ...Object.fromEntries(leadIds.map((lead) => [lead, true])),\n }));\n if (leadRevealType === LeadRevealType.EMAIL) {\n setEmailRevealingLeads((prev) => ({\n ...prev,\n ...Object.fromEntries(leadIds.map((lead) => [lead, true])),\n }));\n }\n if (leadRevealType === LeadRevealType.EMAIL_PHONE) {\n setEmailPhoneRevealingLeads((prev) => ({\n ...prev,\n ...Object.fromEntries(leadIds.map((lead) => [lead, true])),\n }));\n }\n\n handleResetStateAfterAnyAction(leadIds);\n bulkRevealRes = await bulkRevealLeadAPI({\n leadIds,\n tagIds,\n newTags,\n leadsFilter: apiParam,\n revealType: leadRevealType,\n });\n }\n if (bulkRevealRes) {\n const { message, status } = bulkRevealRes.payload;\n if (status === 0) {\n toaster.error(message || SystemErrors.InternalServerError, {\n theme: Theme.New,\n });\n } else if (status === 2) {\n toaster.warning(\n message ||\n 'Your another bulk lead reveal action is in progress. Please wait until it finishes',\n { theme: Theme.New },\n );\n } else {\n // ** Handling polling API shouldPoll here\n if (bulkRevealRes?.payload?.shouldPoll) {\n dispatch(enableBulkActionRequestPolling());\n }\n\n toaster.success(\n message ||\n 'Bulk reveal for leads are started. This can take few moments, You will be notified once the process is completed. ',\n { theme: Theme.New },\n );\n }\n handleFetchLeadsAfterBulkActions(true, true, leadIdsForPolling);\n setLoadingBulkAction((prev) => ({ ...prev, loadingReveal: false }));\n setShowBulkSelectTagModal(false);\n }\n } catch (e: any) {\n setLoadingBulkAction((prev) => ({ ...prev, loadingReveal: false }));\n setShowBulkSelectTagModal(false);\n setIsBulkRevealing(false);\n toaster.error(e?.message || SystemErrors.InternalServerError, {\n theme: Theme.New,\n });\n } finally {\n setIgnorePhoneNumberNudge(false);\n setShowBulkSelectTagModal(false);\n }\n };\n\n const handleBulkAddToProspect = async () => {\n try {\n setLoadingBulkAction((prev) => ({\n ...prev,\n loadingAddToProspect: true,\n }));\n let res;\n if (isSelectedAllLeads) {\n res = await bulkSavedAddToProspectLeadAPI({\n deSelectedLeadIds: deSelectedLeads?.map((ele) => ele.id),\n leadsFilter: savedFilters,\n });\n } else {\n const leadIds = selectedLeads.map((l) => l?.id);\n res = await bulkAddToProspectLeadAPI({\n leadIds,\n });\n }\n if (res) {\n toaster.success(res?.payload?.message);\n setLoadingBulkAction((prev) => ({\n ...prev,\n loadingAddToProspect: false,\n }));\n handleFetchLeadsAfterBulkActions(false, true);\n handleResetStateAfterAnyAction();\n setBulkTimeout(\n setTimeout(() => {\n handleFetchLeadsAfterBulkActions(false, true);\n }, BULK_ACTION_TIMEOUT),\n );\n }\n } catch (e: any) {\n setLoadingBulkAction((prev) => ({\n ...prev,\n loadingAddToProspect: false,\n }));\n toaster.error(e?.message || SystemErrors.InternalServerError);\n }\n };\n\n const handleBulkExport = async () => {\n let leadIds = [];\n if (selectedLeads.length > 0) {\n leadIds = selectedLeads.map((l) => l?.id);\n }\n\n try {\n setLoadingBulkAction((prev) => ({ ...prev, loadingExport: true }));\n let result;\n if (leadIds?.length === 0 || isSelectedAllLeads) {\n result = await exportAllLeadsAPI({\n deSelectedLeadIds: deSelectedLeads?.map((ele) => ele.id),\n leadsFilter: savedFilters,\n });\n } else if (leadIds.length > 0) {\n result = await bulkExportLeadAPI({ leadIds });\n } else {\n toaster.error('No lead selected for export', { theme: Theme.New });\n setLoadingBulkAction((prev) => ({ ...prev, loadingExport: false }));\n return;\n }\n const { message, status } = result.payload;\n if (status === 0) {\n toaster.error(message, { theme: Theme.New });\n } else if (status === 2) {\n toaster.warning(message, { theme: Theme.New });\n } else {\n toaster.success(message, { theme: Theme.New });\n }\n setLoadingBulkAction((prev) => ({\n ...prev,\n loadingExport: false,\n }));\n } catch (err) {\n setLoadingBulkAction((prev) => ({\n ...prev,\n loadingExport: false,\n }));\n toaster.error('Error while exporting lead data');\n // eslint-disable-next-line no-console\n console.error(err);\n }\n };\n\n const addContactToStep = async (sequenceId, stepId) => {\n try {\n setLoadingBulkAction((prev) => ({\n ...prev,\n loadingAddToSequence: true,\n }));\n\n let res;\n if (isSelectedAllLeads) {\n res = await bulkSavedAddToSequenceLeadAPI({\n deSelectedLeadIds: deSelectedLeads?.map((ele) => ele.id),\n sequenceId,\n stepId,\n leadsFilter: savedFilters,\n });\n } else {\n const leadIds = selectedLeads.map((l) => l?.id);\n res = await bulkAddToSequenceLeadAPI({\n leadIds,\n sequenceId,\n stepId,\n });\n }\n\n if (res) {\n toaster.success(res?.payload?.message);\n setLoadingBulkAction((prev) => ({\n ...prev,\n loadingAddToSequence: false,\n }));\n handleFetchLeadsAfterBulkActions(false, true);\n handleResetStateAfterAnyAction();\n setShowAddToSequenceModal(false);\n setBulkTimeout(\n setTimeout(() => {\n handleFetchLeadsAfterBulkActions(false, true);\n }, BULK_ACTION_TIMEOUT),\n );\n }\n } catch (e: any) {\n toaster.error(e?.message || SystemErrors.InternalServerError);\n setShowAddToSequenceModal(false);\n setLoadingBulkAction((prev) => ({\n ...prev,\n loadingAddToSequence: false,\n }));\n }\n };\n\n const handleBulkRevealEmailPhone = (revealType: LeadRevealType) => {\n setLeadRevealType(revealType);\n setLeadFinderRevealType(revealType);\n let count = 0;\n if (topPeopleLimit <= 0) {\n return setCreditNotAvailableModalOpen(true);\n }\n if (isSelectedAllLeads) {\n count =\n leadsData?.pagination?.total > topPeopleLimit\n ? topPeopleLimit\n : leadsData?.pagination?.total;\n }\n if (!isSelectedAllLeads) {\n count = selectedLeads\n ?.filter(\n (l) =>\n !l?.isRevealed ||\n (revealType === LeadRevealType.EMAIL_PHONE &&\n l?.reReveal &&\n l?.teaser?.phones?.length > 0),\n )\n .map((l) => l?.id).length;\n }\n if (count > leadFinderBulkOperationLimit()) {\n return setSelectedMoreThanLimitModalOpen(true);\n }\n\n if (\n (revealType === LeadRevealType.EMAIL && Number(leadCredits) < count) ||\n (revealType === LeadRevealType.EMAIL_PHONE &&\n Number(leadCredits) < count * 2)\n ) {\n setCreditNotAvailableModalOpen(true);\n // Lead Finder Tripped Feature Event\n window.analytics?.track?.({\n userId: getUserTrackingId(),\n event: AnalyticsEvents.TrippedFeature,\n properties: {\n shAccountId: getUserShAccountId(),\n current_plan: getUserPlanName(),\n role: getUserRole(),\n 'LF Plan': getUserLeadFinderPlanName(),\n feature_type: 'Lead Finder',\n },\n });\n } else {\n setShowBulkSelectTagModal(true);\n }\n return undefined;\n };\n\n // eslint-disable-next-line consistent-return\n const handleBulkAction = (actionType) => {\n let leadIds = [];\n const contactMethod = queryParams.getAll('contactMethod');\n switch (actionType) {\n case BulkLeadsActionType.REVEAL_EMAIL:\n handleBulkRevealEmailPhone(LeadRevealType.EMAIL);\n break;\n case BulkLeadsActionType.REVEAL_EMAIL_PHONE:\n if (\n (contactMethod.includes('Mobile') &&\n contactMethod.includes('Phone')) ||\n ignorePhoneNumberNudge\n ) {\n handleBulkRevealEmailPhone(LeadRevealType.EMAIL_PHONE);\n } else {\n setShowPhoneNumberNudge(true);\n }\n break;\n case BulkLeadsActionType.ADD_TO_PROSPECT:\n leadIds = selectedLeads.map((l) => l?.id);\n if (leadIds?.length > leadFinderBulkOperationLimit()) {\n return setSelectedMoreThanLimitModalOpen(true);\n } else {\n handleBulkAddToProspect();\n }\n break;\n case BulkLeadsActionType.ADD_TO_SEQUENCE:\n leadIds = selectedLeads.map((l) => l?.id);\n if (leadIds?.length > leadFinderBulkOperationLimit()) {\n return setSelectedMoreThanLimitModalOpen(true);\n } else {\n setShowAddToSequenceModal(true);\n }\n break;\n case BulkLeadsActionType.EXPORT:\n leadIds = selectedLeads.map((l) => l?.id);\n if (leadIds?.length > leadFinderBulkOperationLimit()) {\n return setSelectedMoreThanLimitModalOpen(true);\n } else {\n handleBulkExport();\n }\n break;\n }\n };\n\n const upgradePlanhandler = () => {\n setIgnorePhoneNumberNudge(false);\n redirectWithoutRefresh(Routes.Setting_Billing_Add_Credits);\n };\n\n const getTooltip = (text: string) => (\n \n {text}\n \n );\n\n useEffect(\n () => () => {\n clearTimeout(bulkTimeout);\n },\n [bulkTimeout],\n );\n\n const handleFetchLeadTags = async () => {\n await fetchLeadTags(true);\n };\n\n const getLeadFinderExportToolTipText = () => {\n if (isSelectedAllLeads || selectedLeads?.length === 0) {\n return 'Export all saved leads';\n }\n return 'Export selected leads';\n };\n\n const handleAddTag = async () => {\n await handleFetchLeadsAfterBulkActions(false);\n };\n\n const handleRemoveTag = async () => {\n await handleFetchLeadsAfterBulkActions(false);\n };\n\n const customStyles = {\n suggestionsContainer: {\n left: '0',\n width: '29rem',\n },\n };\n\n useEffect(() => {\n if (showBulkSelectTagModal === true) {\n handleFetchLeadTags();\n }\n }, [showBulkSelectTagModal]);\n\n useEffect(() => {\n if (ignorePhoneNumberNudge && selectedLeads?.length > 0) {\n setShowPhoneNumberNudge(false);\n handleBulkAction(BulkLeadsActionType.REVEAL_EMAIL_PHONE);\n }\n }, [ignorePhoneNumberNudge]);\n\n useEffect(() => {\n if (selectedLeads?.length === 0) {\n setShowPhoneNumberNudge(false);\n }\n }, [selectedLeads]);\n\n return (\n <>\n
    \n {leadsData && leadsData?.profiles?.length > 0 && location?.search && (\n
    \n setHoveredSelectAll(true)}\n onMouseLeave={() => setHoveredSelectAll(false)}\n >\n \n leadFinderBulkOperationLimit() &&\n !isIntermediateAll() &&\n leadFinderBulkOperationLimit() - selectedLeads?.length <\n availableLeadsData()\n }\n >\n \n leadFinderBulkOperationLimit() &&\n !isIntermediateAll() &&\n leadFinderBulkOperationLimit() - selectedLeads?.length <\n availableLeadsData()\n }\n onChange={() => {\n setIsSelectedAllLeads(false);\n if (isSelectedAllLeads) {\n setSelectedLeads([]);\n return;\n }\n if (isSelectAllIndeterminate) {\n // Deselect all leads on the current page when the checkbox is in an indeterminate state\n const leadsOnCurrentPage = leadsData?.profiles || [];\n setSelectedLeads((prevLeads) => {\n const updatedLeads = prevLeads.filter(\n (lead) =>\n !leadsOnCurrentPage?.some(\n (currentLead) => currentLead?.id === lead?.id,\n ),\n );\n return updatedLeads;\n });\n } else {\n // Otherwise, proceed with the select all logic\n handleSelectAllLead(leadsData?.profiles);\n }\n }}\n />\n \n \n {isSelectedAllLeads &&\n selectedAllLeadsCount !== null &&\n selectedAllLeadsCount > 0\n ? `${getSelectedCount()} Selected`\n : selectedLeads?.length > 0\n ? `${selectedLeads?.length} Selected`\n : 'Select all'}\n {selectedLeads.length > 0 ? (\n <>\n \n {isSelectedAllLeads ? (\n handleClearSelection()}\n >\n Clear selection\n \n ) : (\n handleSelectAllLeads()}\n >\n Select all leads\n \n )}\n \n ) : null}\n \n \n\n
    \n {shouldDisplayGetContactInfo() &&\n activeTabKey === LeadFinderTabKey.PEOPLE_TAB && (\n \n handleBulkAction(BulkLeadsActionType.REVEAL_EMAIL)\n }\n className=\"btn-leads-user-details btn-custom-secondary\"\n >\n \n View Email Info\n \n )}\n {shouldDisplaySaveAsProspect() && (\n {\n if (isFreePlan()) {\n const title =\n 'Please upgrade your plan to start adding prospects';\n const content = [\n 'Your account is downgraded to a free plan. Upgrade to paid plan to add prospects and resume email sending.',\n ];\n\n planPermissionError.showModal(title, content, true);\n return;\n }\n\n if (hasResource(ResourceIdentifiers.CONTACTS_IMPORT)) {\n handleBulkAction(BulkLeadsActionType.ADD_TO_PROSPECT);\n }\n }}\n >\n \n Save as Prospect\n \n )}\n {shouldDisplayBulkAction() && (\n {\n if (\n isFreePlan() &&\n !hasPermission(Permissions.SEQUENCE_PROSPECT_WRITE)\n ) {\n const title =\n 'Please upgrade your plan to start adding prospects';\n const content = [\n 'Your account is downgraded to a free plan. Upgrade to paid plan to add prospects and resume email sending.',\n ];\n\n planPermissionError.showModal(title, content, true);\n return;\n }\n\n handleBulkAction(BulkLeadsActionType.ADD_TO_SEQUENCE);\n }}\n >\n \n Add to Sequence\n \n )}\n {!isLeadNoRevealedPresent &&\n activeTabKey === LeadFinderTabKey.SAVED_TAB && (\n <>\n \n \n )}\n {shouldDisplayEmailPhoneBulkAction() && (\n \n handleBulkAction(BulkLeadsActionType.REVEAL_EMAIL_PHONE)\n }\n className=\"btn-leads-user-details btn-custom-secondary\"\n >\n \n View Email + Phone\n \n )}\n
    \n
    \n )}\n 0 && location?.search\n ? ''\n : 'ml-auto'\n }`}\n >\n {!isLeadNoRevealedPresent &&\n activeTabKey === LeadFinderTabKey.SAVED_TAB && (\n \n handleBulkAction(BulkLeadsActionType.EXPORT)}\n >\n \n Export\n \n \n )}\n \n history.push({\n pathname: '/settings/billing/upgrade-plan/lead-finder',\n })\n }\n >\n \n

    \n {leadCredits ?? 0}{' '}\n {[0, 1].includes(Number(leadCredits)) ? 'Credit' : 'Credits'}\n

    \n
    \n \n \n {showAddToSequenceModal && (\n \n )}\n\n {showBulkSelectTagModal && (\n }\n hideTitleIcon={true}\n contents={[]}\n onClose={hideBulkSelectTagModal}\n onSubmit={handleBulkReveal}\n isSubmitLoading={loadingBulkAction?.loadingReveal}\n isSubmitDisabled={loadingBulkAction?.loadingReveal || false}\n showCloseIcon={false}\n submitButtonText=\"Continue\"\n cancelButtonText=\"Cancel\"\n content={\n <>\n
    \n \n {' '}\n {isSelectedAllLeads\n ? getSelectedCount()\n : selectedLeads?.length}{' '}\n leads are selected. Applying tag will help you find them\n later.\n \n
    \n\n \n \n }\n />\n )}\n\n {selectedMoreThanLimitModalOpen && (\n \n )}\n\n {CreditNotAvailableModalOpen && (\n }\n content={\n <>\n
    \n \n {leadRevealType === LeadRevealType.EMAIL\n ? \"You don't have enough lead finder credits to view contact information for selected leads.\"\n : \"You don't have enough lead finder credits to view all the selected leads, as email + phone information requires 2 credits per lead.\"}\n \n
    \n
    \n \n Please add more credits or upgrade your plan to continue.\n \n
    \n \n }\n submitButtonText=\"Add Credits\"\n />\n )}\n \n );\n}\n","import React from 'react';\nimport { Images } from '../../app-constants';\nimport ImageIcon from './image-icon';\n\nconst SearchingEmptyImage = () => (\n \n);\n\nexport default SearchingEmptyImage;\n","import React from 'react';\nimport { Clock, Trash } from '@saleshandy/icons';\nimport { useHistory } from 'react-router-dom';\nimport SearchingEmptyImage from '../../../../shared/components/images/searching-empty-image';\nimport toaster from '../../../../shared/toaster';\nimport {\n capitalizeFirstLetter,\n getTimeAgoString,\n mapObjectToString,\n} from '../../helpers/helper';\nimport { LEAD_RECENT_SEARCH_MESSAGES } from '../../helpers/leads-message';\nimport { accessibleOnClick } from '../../../../shared/utils/accessible-on-click';\n\nexport default function RecentSearch({\n storedUrls,\n setStoredUrls,\n loginUserEmail,\n searchLeads,\n}) {\n const history = useHistory();\n\n const deleteUrlByUrl = (urlToDelete) => {\n const updatedUrls = storedUrls.filter((url) => url.url !== urlToDelete);\n\n setStoredUrls(updatedUrls);\n\n const allStoredUrls = JSON.parse(localStorage.getItem('storedUrls')) || {};\n allStoredUrls[loginUserEmail] = updatedUrls;\n localStorage.setItem('storedUrls', JSON.stringify(allStoredUrls));\n\n return toaster.success(\n LEAD_RECENT_SEARCH_MESSAGES.recent_search_delete_msg,\n );\n };\n return (\n <>\n
    \n
    \n
    \n
    \n \n
    \n

    \n Search our database of 700M+ contacts across 60M+ companies\n worldwide.\n

    \n
    \n

    Recent Searches

    \n

    \n {storedUrls?.length > 0\n ? 'Your latest prospecting activity'\n : 'No recent search found!'}\n

    \n
    \n
    \n \n {storedUrls &&\n storedUrls?.map((url) => (\n {\n history.push(url?.url);\n searchLeads(url?.payload);\n })}\n >\n {/* eslint-disable-next-line */}\n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n

    \n {capitalizeFirstLetter(\n mapObjectToString(url?.payload).split(',')[0],\n )}\n {mapObjectToString(url?.payload).split(',')?.length >\n 1 && ','}{' '}\n \n {mapObjectToString(url?.payload)\n .split(',')\n .slice(1)\n .join(',')}\n \n

    \n
    \n

    \n {getTimeAgoString(url?.timestamp)}\n

    \n
    \n
    \n
    \n {\n e?.stopPropagation();\n deleteUrlByUrl(url?.url);\n }}\n />\n
    \n
    \n ))}\n
    \n \n \n \n );\n}\n","import React from 'react';\nimport { Building, Users } from '@saleshandy/icons';\nimport SearchingEmptyImage from '../../../../shared/components/images/searching-empty-image';\n\nexport default function SearchingEmpty() {\n return (\n <>\n
    \n \n

    \n Find your ideal leads with our database of 700M+ contacts across 60M+\n companies worldwide.\n

    \n

    \n Effortlessly uncover verified email addresses and phone numbers for\n your key leads
    using our search-by-name, keyword, or filter\n features.\n

    \n
    \n
    \n \n

    700M+

    \n

    Professional Profiles

    \n
    \n
    \n \n

    60M+

    \n

    Companies

    \n
    \n
    \n
    \n \n );\n}\n","import React from 'react';\nimport { SkeletonLoading } from '@saleshandy/design-system';\nimport { LeadFinderTabKey } from '../../type';\n\nconst LeadsHeaderSkeleton = ({ activeTabKey }) => (\n
    \n
    \n \n \n \n \n {activeTabKey === LeadFinderTabKey.SAVED_TAB && (\n \n )}\n
    \n
    \n {activeTabKey === LeadFinderTabKey.SAVED_TAB && (\n \n )}\n \n
    \n
    \n);\n\nexport default LeadsHeaderSkeleton;\n","import React from 'react';\n\nexport default function NoSearchResult({ children, title, description }) {\n return (\n
    \n {children}\n

    {title}

    \n
    \n {description}\n
    \n
    \n );\n}\n","import React from 'react';\nimport { SkeletonLoading } from '@saleshandy/design-system';\n\nconst IndividualLeadsSkeleton = () => (\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\nexport default IndividualLeadsSkeleton;\n","import React from 'react';\nimport { Images } from '../../app-constants';\nimport ImageIcon from './image-icon';\n\nconst NoSearchResultIcon = () => (\n \n);\n\nexport default NoSearchResultIcon;\n","import React, { useEffect, useRef, useState } from 'react';\nimport { Col, Container, Row } from 'react-bootstrap';\nimport { useHistory, useLocation } from 'react-router-dom';\nimport { useSelector, useDispatch } from 'react-redux';\nimport isEmpty from 'lodash/isEmpty';\nimport { toaster } from '@saleshandy/design-system';\nimport ErrorBoundaryWrapper from '../../shared/components/error-boundary-wrapper';\nimport Suspense from '../../shared/components/suspense';\nimport LeadListing from './components/lead-listing';\nimport LeadsSidebar from './components/leads-filter';\nimport TotalCredits from './components/total-credits/total-credits';\nimport {\n BULK_ACTION_TIMEOUT,\n IProps,\n LeadFinderTabKey,\n LeadRevealType,\n MAX_POLLING_LIMIT,\n} from './type';\nimport RecentSearch from './components/recent-search';\nimport SearchingEmpty from './components/searching-empty';\nimport LeadsHeaderSkeleton from './components/leadsSkeleton/leadsHeaderSkeleton';\nimport { useLeadFinder } from './components/hooks/useLeadFinder';\nimport { useLeadBulkAction } from './components/hooks/useLeadBulkReveal';\nimport NoSearchResult from './components/no-search-result';\nimport { getLeadsActiveTab } from './helpers/helper';\nimport IndividualLeadsSkeleton from './components/leadsSkeleton/individualLeadsSkeleton';\nimport { RootState } from '../../store/root-reducer';\nimport NoSearchResultIcon from '../../shared/components/images/no-search-result-icon';\nimport { getUserTrackingId } from '../../shared/utils/user-details';\nimport { AnalyticsEvents } from '../../shared/enums/analytics';\nimport WatchVideoModal from '../home/components/watch-video-modal';\nimport { executeOnRequestStatus } from '../../shared/utils';\nimport { finishOnboardingRequest } from '../sequence/extra-actions';\nimport {\n OnboardingSteps,\n ProfileProgressSteps,\n UserSettingCode,\n} from '../../shared/types/user-setting';\nimport {\n getUserSettingsRequest,\n updateApplicationState,\n} from '../home/home-slice';\nimport { handleOnboarding } from '../../shared/utils/handle-onboarding-routing';\nimport updateProfileProgressRequest from '../../shared/components/getting-started-onboarding/extra-actions';\nimport { useLeadApiState } from './components/hooks/useLeadApiState';\nimport { useSavedLeadFilter } from './components/hooks/useLeadSavedFilter';\nimport { usePageVisibility } from '../../shared/utils/hooks';\nimport { getPostLoadMetaRequest } from '../home/extra-actions';\nimport {\n fetchLeadStatusPoll,\n getLeads,\n getSavedLeads,\n} from './helpers/leads.api';\nimport store from '../../store';\n\nconst Leads: React.FC = () => {\n const location: any = useLocation();\n const history = useHistory();\n const dispatch = useDispatch();\n const [activeTabKey, setActiveTabKey] = useState(getLeadsActiveTab(location));\n const [selectedLeads, setSelectedLeads] = useState([]);\n const { savedFilters, setSavedFilters } = useSavedLeadFilter(activeTabKey);\n const {\n isLoading,\n leadsData,\n apiParam,\n savedApiParam,\n handlePagination,\n handleRecentSearch,\n handleGeneratePayload,\n handleAppendLead,\n setLeadsData,\n handleRouteChange,\n searchLeads,\n } = useLeadFinder(activeTabKey, setSavedFilters);\n\n const { leadTags, isLeadTagsLoading, fetchLeadTags } = useLeadApiState();\n\n useEffect(() => {\n if (activeTabKey === LeadFinderTabKey.SAVED_TAB) {\n fetchLeadTags(true);\n }\n }, [activeTabKey]);\n\n const [isSidebarExpanded, setIsSidebarExpanded] = useState(true);\n const loginUserEmail = useSelector((state: RootState) => state?.home?.email);\n const getUserSettingsRequestStatus = useSelector(\n (state: RootState) => state?.home.getUserSettingsRequest.status,\n );\n\n const meta = useSelector((state: RootState) => state?.home.meta);\n const profileProgress = useSelector(\n (state: RootState) => state?.home.profileProgress,\n );\n const firstName = useSelector((state: RootState) => state?.home.firstName);\n const userUrls =\n JSON.parse(localStorage.getItem('storedUrls'))?.[loginUserEmail] || [];\n const [storedUrls, setStoredUrls] = useState(userUrls || []);\n const [\n isWatchVideoModalVisible,\n setIsWatchVideoModalVisible,\n ] = useState(false);\n\n const [showPhoneNumberNudge, setShowPhoneNumberNudge] = useState(false);\n const [ignorePhoneNumberNudge, setIgnorePhoneNumberNudge] = useState(false);\n\n const {\n handleCheckUnCheckSingleLead,\n handleSelectAllLead,\n isBulkRevealing,\n setIsBulkRevealing,\n disabledLeads,\n setDisabledLeads,\n isSelectAllIndeterminate,\n selectedAllLeadsCount,\n setSelectedAllLeadsCount,\n isSelectedAllLeads,\n setIsSelectedAllLeads,\n handleClearSelectedAllBulkAction,\n handleSelectAllBulkActionLead,\n deSelectedLeads,\n leadCredits,\n topPeopleLimit,\n leadCreditsState,\n setLeadsCredits,\n handleResetStateAfterAnyAction,\n } = useLeadBulkAction(\n leadsData,\n selectedLeads,\n setSelectedLeads,\n activeTabKey,\n );\n\n const renderComponents = () =>\n Array.from({ length: 4 }, (_, index) => (\n \n ));\n\n const onCompleteOnboardingProcess = () => {\n if (!isEmpty(meta)) {\n const onboardingStep = meta.find(\n (setting) => setting.code === UserSettingCode.Onboarding,\n );\n\n if (onboardingStep?.value === OnboardingSteps.Step2) {\n dispatch(finishOnboardingRequest());\n dispatch(updateApplicationState(true));\n setIsWatchVideoModalVisible(true);\n\n const currentPath = location.pathname + location.search;\n handleOnboarding(meta, currentPath, '', true);\n setTimeout(() => {\n history.push({\n search: '',\n });\n }, 2000);\n }\n }\n };\n\n const onVideoModalClose = () => {\n setIsWatchVideoModalVisible(false);\n dispatch(getUserSettingsRequest());\n };\n\n const updateWatchVideoProfileProgressStep = () => {\n if (profileProgress) {\n const watchVideoStep = profileProgress.find(\n (step) =>\n step.profileProgressStep.stepName === ProfileProgressSteps.WatchVideo,\n );\n if (!watchVideoStep.isCompleted) {\n updateProfileProgressRequest({\n step: ProfileProgressSteps.WatchVideo,\n isCompleted: true,\n });\n }\n }\n };\n\n useEffect(() => {\n // Lead Finder Page Loaded Event\n window.analytics?.track?.({\n userId: getUserTrackingId(),\n event: AnalyticsEvents.LoadedAPage,\n properties: {\n url: document.location.href,\n },\n });\n }, []);\n\n const isPageVisible = usePageVisibility();\n const timerIdRef = useRef(null);\n const pollingAttemptsRef = useRef(0);\n const [isPollingEnabled, setIsPollingEnabled] = useState(false);\n const [isFirstPollRequest, setIsFirstPollRequest] = useState(true);\n const [loadingGetInfoLeads, setLoadingGetInfoLeads] = useState<\n Record\n >({});\n const [\n leadFinderRevealType,\n setLeadFinderRevealType,\n ] = useState(LeadRevealType.EMAIL);\n\n const [emailRevealingLeads, setEmailRevealingLeads] = useState<\n Record\n >({});\n const [emailPhoneRevealingLeads, setEmailPhoneRevealingLeads] = useState<\n Record\n >({});\n\n const {\n home: { shAccountId },\n } = store.getState();\n\n const handleFetchLeadsAfterBulkActions = async (\n enablePolling = false,\n newPolling = false,\n leadIds = [],\n ) => {\n try {\n if (newPolling) {\n const leadIdsToSend = leadIds?.length\n ? leadIds\n : leadsData?.profiles?.map((ele) => ele.id) ?? [];\n if (!leadIdsToSend?.length) {\n setIsPollingEnabled(false);\n setIsBulkRevealing(false);\n setLoadingGetInfoLeads({});\n setEmailRevealingLeads({});\n setEmailPhoneRevealingLeads({});\n handleResetStateAfterAnyAction();\n dispatch(getPostLoadMetaRequest());\n return;\n }\n const res = await fetchLeadStatusPoll({\n ids: leadIdsToSend,\n accountId: shAccountId,\n revealType: leadFinderRevealType,\n });\n if (res?.payload?.length) {\n const revealedLeads = res.payload?.map((lead) => [lead.id, false]);\n setLoadingGetInfoLeads((prev) => ({\n ...prev,\n ...Object.fromEntries(revealedLeads),\n }));\n const UpdatedEmailRevealingLeads = res.payload\n ?.filter((lead) => emailRevealingLeads[lead.id])\n ?.map((lead) => [lead.id, false]);\n setEmailRevealingLeads((prev) => ({\n ...prev,\n ...Object.fromEntries(UpdatedEmailRevealingLeads),\n }));\n const UpdatedEmailPhoneRevealingLeads = res.payload\n ?.filter((lead) => emailPhoneRevealingLeads[lead.id])\n ?.map((lead) => [lead.id, false]);\n setEmailPhoneRevealingLeads((prev) => ({\n ...prev,\n ...Object.fromEntries(UpdatedEmailPhoneRevealingLeads),\n }));\n setLeadsData((prevState) => ({\n ...prevState,\n profiles: (prevState.profiles || []).map((profile) => {\n const updatedLead = res.payload.find(\n (lead) => lead.id === profile.id,\n );\n const reReveal = updatedLead?.reReveal;\n const { tags, teaser } = profile;\n return updatedLead\n ? { ...updatedLead, tags, ...(reReveal ? { teaser } : {}) }\n : profile;\n }),\n }));\n }\n setIsBulkRevealing(false);\n dispatch(getPostLoadMetaRequest());\n if (enablePolling) {\n setIsPollingEnabled(true);\n // handleResetStateAfterAnyAction();\n }\n return;\n }\n let res: any = {};\n if (activeTabKey === LeadFinderTabKey.PEOPLE_TAB) {\n res = await getLeads(apiParam);\n } else {\n res = await getSavedLeads(savedApiParam);\n }\n if (res?.payload) {\n setLeadsData(res.payload);\n setIsBulkRevealing(false);\n const revealingLeads = res.payload.profiles.filter(\n (lead) => lead.isRevealing,\n );\n const revealedLeads = res.payload.profiles.filter(\n (lead) => lead.isRevealed,\n );\n const updateLoadingForLeads = [];\n updateLoadingForLeads.push(\n ...revealingLeads.map((lead) => [lead.id, true]),\n );\n updateLoadingForLeads.push(\n ...revealedLeads.map((lead) => [lead.id, false]),\n );\n setLoadingGetInfoLeads((prev) => ({\n ...prev,\n ...Object.fromEntries(updateLoadingForLeads),\n }));\n // email\n const revealingEmailLeads = revealingLeads.filter(\n (lead) => emailRevealingLeads[lead.id],\n );\n const revealedEmailLeads = revealedLeads.filter(\n (lead) => emailRevealingLeads[lead.id],\n );\n const updateLoadingEmailLeads = [];\n updateLoadingEmailLeads.push(\n ...revealingEmailLeads.map((lead) => [lead.id, true]),\n );\n updateLoadingEmailLeads.push(\n ...revealedEmailLeads.map((lead) => [lead.id, false]),\n );\n setLoadingGetInfoLeads((prev) => ({\n ...prev,\n ...Object.fromEntries(updateLoadingEmailLeads),\n }));\n\n // email phone\n const revealingEmailPhoneLeads = revealingLeads.filter(\n (lead) => emailPhoneRevealingLeads[lead.id],\n );\n const revealedEmailPhoneLeads = revealedLeads.filter(\n (lead) => emailPhoneRevealingLeads[lead.id],\n );\n const updateLoadingEmailPhoneLeads = [];\n updateLoadingEmailPhoneLeads.push(\n ...revealingEmailPhoneLeads.map((lead) => [lead.id, true]),\n );\n updateLoadingEmailPhoneLeads.push(\n ...revealedEmailPhoneLeads.map((lead) => [lead.id, false]),\n );\n setLoadingGetInfoLeads((prev) => ({\n ...prev,\n ...Object.fromEntries(updateLoadingEmailPhoneLeads),\n }));\n\n dispatch(getPostLoadMetaRequest());\n if (enablePolling) {\n setIsPollingEnabled(true);\n // handleResetStateAfterAnyAction();\n }\n }\n } catch (e: any) {\n toaster.error(e?.message);\n }\n };\n\n useEffect(() => {\n const startPolling = () => {\n timerIdRef.current = setInterval(() => {\n pollingAttemptsRef.current += 1;\n const shouldContinuePolling =\n leadsData?.profiles?.some((ele) => ele.isRevealing) ||\n Object.entries(loadingGetInfoLeads).some((ele) => ele[1]) ||\n Object.entries(emailRevealingLeads).some((ele) => ele[1]) ||\n Object.entries(emailPhoneRevealingLeads).some((ele) => ele[1]);\n if (\n !shouldContinuePolling ||\n pollingAttemptsRef.current >= MAX_POLLING_LIMIT\n ) {\n setIsPollingEnabled(false);\n setLoadingGetInfoLeads({});\n setEmailRevealingLeads({});\n setEmailPhoneRevealingLeads({});\n handleFetchLeadsAfterBulkActions(); // calling last search api to get few extra fields and update it.\n } else {\n setIsPollingEnabled(true);\n handleFetchLeadsAfterBulkActions(false, true);\n if (isFirstPollRequest) {\n // handleResetStateAfterAnyAction();\n setIsFirstPollRequest(false);\n }\n }\n }, BULK_ACTION_TIMEOUT);\n };\n\n const stopPolling = () => {\n setIsFirstPollRequest(true);\n clearInterval(timerIdRef.current);\n };\n\n if (isPageVisible && isPollingEnabled) {\n startPolling();\n } else {\n stopPolling();\n }\n\n return () => {\n stopPolling();\n };\n }, [isPageVisible, isPollingEnabled, leadsData, loadingGetInfoLeads, emailRevealingLeads, emailPhoneRevealingLeads]);\n\n useEffect(() => {\n setStoredUrls(userUrls);\n }, [location]);\n\n useEffect(() => {\n const { hash, search } = location;\n const searchParams = new URLSearchParams(search);\n if (hash.includes(LeadFinderTabKey.SAVED_TAB)) {\n setActiveTabKey(LeadFinderTabKey.SAVED_TAB);\n } else {\n setActiveTabKey(LeadFinderTabKey.PEOPLE_TAB);\n }\n\n // Check if no # is present in the current route\n if (\n !hash ||\n !(\n hash.includes(LeadFinderTabKey.SAVED_TAB) ||\n hash.includes(LeadFinderTabKey.PEOPLE_TAB)\n )\n ) {\n // Redirect to the same path with #people added\n history.replace({\n search: searchParams.toString(),\n hash: LeadFinderTabKey.PEOPLE_TAB,\n });\n }\n }, [location, history]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getUserSettingsRequestStatus,\n onSuccess: onCompleteOnboardingProcess,\n });\n }, [getUserSettingsRequestStatus]);\n\n useEffect(() => {\n setLeadsCredits(\n Number(\n leadCreditsState?.home?.getPostLoadMetaResponse\n ?.accountUsageQuotaRemaining?.['LEAD.REVEAL'],\n ),\n );\n }, [leadCreditsState, leadsData]);\n\n useEffect(() => {\n if (activeTabKey === LeadFinderTabKey.SAVED_TAB && isSelectedAllLeads) {\n const filteredLeads = leadsData?.profiles.filter((l) =>\n disabledLeads.filter((dl) => dl.id !== l.id),\n );\n setSelectedLeads(filteredLeads);\n }\n }, [leadsData, isSelectedAllLeads, disabledLeads]);\n\n return (\n <>\n \n \n \n \n \n \n \n \n {!isLoading && (\n \n )}\n {userUrls?.length === 0 &&\n !location?.search &&\n leadsData?.pagination === null && }\n\n {!isLoading &&\n userUrls &&\n userUrls?.length > 0 &&\n (!location?.search || leadsData?.pagination === null) &&\n activeTabKey === LeadFinderTabKey?.PEOPLE_TAB && (\n \n )}\n {!isLoading &&\n leadsData &&\n location?.search &&\n leadsData?.profiles?.length === 0 &&\n leadsData?.pagination?.total === 0 && (\n
    \n \n Results matching this query could not be\n displayed. Please try refining your search{' '}\n
    or clearing some of your filters.\n
    \n }\n title=\"No results found\"\n >\n \n \n \n )}\n {!isLoading &&\n leadsData &&\n location?.search &&\n // eslint-disable-next-line no-prototype-builtins\n (!leadsData?.hasOwnProperty('profiles') ||\n // eslint-disable-next-line no-prototype-builtins\n !leadsData?.hasOwnProperty('pagination')) && (\n
    \n \n Something went wrong
    Please try again\n after sometime\n
    \n }\n title=\"Error Occurred\"\n >\n \n \n \n )}\n {isLoading && location?.search && (\n \n )}\n {isLoading && location?.search && renderComponents()}\n\n {leadsData?.profiles &&\n leadsData?.profiles?.length > 0 &&\n location?.search && (\n <>\n \n \n )}\n \n
    \n \n
    \n
    \n
    \n
    \n\n {isWatchVideoModalVisible && (\n {\n onVideoModalClose();\n }}\n updateWatchVideoProfileProgressStep={\n updateWatchVideoProfileProgressStep\n }\n isLeadFinderOnboarding={true}\n />\n )}\n \n );\n};\n\nexport default Leads;\n","/* eslint-disable no-restricted-globals */\n/* eslint-disable @typescript-eslint/dot-notation */\nimport { useHistory, useLocation } from 'react-router-dom';\nimport { useEffect, useState } from 'react';\nimport { useSelector } from 'react-redux';\nimport {\n getFilterValuesWithExtraValues,\n getLeadListingPageSize,\n getLeadsActiveTab,\n validateNumberForQueryParams,\n} from '../../helpers/helper';\nimport {\n DEPARTMENT_DATA,\n INDUSTRY_DATA,\n LOCATION_DATA,\n} from '../../helpers/filter-data';\nimport { getLeads, getSavedLeads } from '../../helpers/leads.api';\nimport { LeadFinderTabKey, SavedTabFilters } from '../../type';\nimport { RootState } from '../../../../store/root-reducer';\nimport toaster from '../../../../shared/toaster';\nimport { dateToString } from '../../../../shared/functions/date';\nimport { ExceptionTypes } from '../../../../shared/types';\n\nexport const useLeadFinder = (\n tabKey: string,\n setSavedFilters: React.Dispatch>,\n) => {\n const history = useHistory();\n const location = useLocation();\n\n const userEmail = useSelector((state: RootState) => state?.home?.email);\n\n const queryParams = new URLSearchParams(location?.search);\n\n const [isLoading, setIsLoading] = useState(false);\n\n const [urlState, setUrlState] = useState();\n const [apiParam, setApiParam] = useState({\n start: validateNumberForQueryParams(queryParams.get('start')),\n take: validateNumberForQueryParams(\n queryParams.get('take'),\n getLeadListingPageSize(),\n ),\n });\n const [savedApiParam, setSavedApiParam] = useState({\n start: validateNumberForQueryParams(queryParams.get('start')),\n take: validateNumberForQueryParams(\n queryParams.get('take'),\n getLeadListingPageSize(),\n ),\n });\n const [leadsData, setLeadsData] = useState({\n profiles: [],\n pagination: null,\n });\n\n const handleGeneratePayload = () => {\n const queryParamsUpdated = new URLSearchParams(window.location?.search);\n const paramArray = Array.from(queryParamsUpdated.entries());\n const tempParam = {};\n const savedFilters: SavedTabFilters = {\n createdDate: [],\n search: '',\n tags: [],\n };\n\n paramArray.forEach(([key, value]) => {\n switch (key) {\n case 'keyword':\n if (!value) {\n tempParam['start'] = 1;\n tempParam['take'] = getLeadListingPageSize();\n } else {\n tempParam[key] = queryParamsUpdated.getAll(key);\n savedFilters.search = value;\n }\n break;\n case 'tags':\n if (!value) {\n tempParam['start'] = 1;\n tempParam['take'] = getLeadListingPageSize();\n } else {\n tempParam[key] = value;\n savedFilters.tags = value\n .split(',')\n .map((tag) => Number(tag.trim()));\n }\n break;\n case 'createdDate':\n if (!value) {\n tempParam['start'] = 1;\n tempParam['take'] = getLeadListingPageSize();\n } else {\n const [formattedStartDate, formattedEndDate] = value.split('-');\n const startDate = new Date(formattedStartDate);\n const endDate = new Date(formattedEndDate);\n const dateObjects = [\n encodeURIComponent(dateToString(startDate)),\n encodeURIComponent(dateToString(endDate)),\n ];\n tempParam[key] = dateObjects.join(',');\n savedFilters.createdDate = [startDate, endDate];\n }\n break;\n case 'name':\n case 'jobChangeRange':\n case 'yearsExperience':\n case 'companySize':\n case 'companyRevenue':\n tempParam[key] = value;\n break;\n case 'employer':\n case 'excludeEmployer':\n case 'skills':\n case 'excludeSkills':\n case 'jobTitle':\n case 'excludeJobTitle':\n case 'managementLevels':\n case 'excludeManagementLevels':\n case 'sicCode':\n case 'excludeSicCode':\n case 'naicsCode':\n case 'excludeNaicsCode':\n case 'contactMethod':\n case 'major':\n case 'excludeMajor':\n case 'school':\n case 'excludeSchool':\n case 'degree':\n case 'excludeDegree':\n case 'link':\n case 'contactInfo':\n tempParam[key] = queryParamsUpdated.getAll(key); // Convert to array\n break;\n case 'department':\n case 'excludeDepartment':\n // Use getAll to handle multiple values for 'department'\n tempParam[key] = getFilterValuesWithExtraValues(\n queryParamsUpdated.getAll(key),\n DEPARTMENT_DATA,\n );\n break;\n case 'location':\n case 'excludeLocation':\n {\n // Use getAll to handle multiple values for 'location'\n const locationPayload = [];\n getFilterValuesWithExtraValues(\n queryParamsUpdated.getAll(key),\n LOCATION_DATA,\n ).forEach((item) => {\n if (\n LOCATION_DATA.some(\n (data) => data.key === item.substring(1, 3).toUpperCase(),\n )\n ) {\n locationPayload.push(item.replace(/\"/g, ''));\n } else {\n locationPayload.push(item);\n }\n });\n\n tempParam[key] = getFilterValuesWithExtraValues(\n locationPayload,\n LOCATION_DATA,\n true,\n );\n }\n break;\n case 'industry':\n case 'excludeIndustry':\n // Use getAll to handle multiple values for 'location'\n tempParam[key] = getFilterValuesWithExtraValues(\n queryParamsUpdated.getAll(key),\n INDUSTRY_DATA,\n );\n break;\n default:\n }\n });\n\n if (tabKey === LeadFinderTabKey.SAVED_TAB) {\n if (!tempParam['start']) {\n tempParam['start'] = validateNumberForQueryParams(\n queryParams.get('start'),\n );\n }\n if (!tempParam['take']) {\n tempParam['take'] = validateNumberForQueryParams(\n queryParams.get('take'),\n getLeadListingPageSize(),\n );\n }\n setSavedFilters(savedFilters);\n }\n\n return tempParam;\n };\n\n const handleGenerateAPIParam = (key: string) => {\n let payload: any = handleGeneratePayload();\n payload = {\n start: validateNumberForQueryParams(queryParams.get('start')),\n take: validateNumberForQueryParams(\n queryParams.get('take'),\n getLeadListingPageSize(),\n ),\n ...payload,\n };\n if (key === LeadFinderTabKey.PEOPLE_TAB) {\n setApiParam(() => payload);\n } else {\n setSavedApiParam(() => payload);\n }\n return payload;\n };\n\n const handleRecentSearch = () => {\n const payload: any = handleGeneratePayload();\n const meaningfulParams = Object.keys(payload).filter(\n (key) => key !== 'start' && key !== 'take',\n );\n\n if (tabKey !== LeadFinderTabKey.PEOPLE_TAB) {\n return;\n }\n\n if (meaningfulParams.length > 0) {\n if (!userEmail) {\n return;\n }\n\n const storedUrlsKey = 'storedUrls';\n const storedUrls = JSON.parse(localStorage.getItem(storedUrlsKey)) || {};\n\n if (!storedUrls[userEmail]) {\n storedUrls[userEmail] = [];\n }\n\n const currentUrlWithParams =\n window.location.pathname + window.location.search;\n const timestamp = new Date().toISOString();\n\n const existingUrlIndex = storedUrls[userEmail].findIndex(\n (urlData) =>\n urlData?.url?.toLowerCase() === currentUrlWithParams?.toLowerCase(),\n );\n\n const maxUrls = 4;\n\n if (existingUrlIndex !== -1) {\n const updatedEntry = {\n url: currentUrlWithParams,\n timestamp,\n payload,\n };\n\n storedUrls[userEmail].unshift(\n storedUrls[userEmail].splice(existingUrlIndex, 1)[0],\n );\n storedUrls[userEmail][0] = updatedEntry;\n\n storedUrls[userEmail] = storedUrls[userEmail].slice(0, maxUrls);\n } else {\n const urlData = {\n url: currentUrlWithParams,\n timestamp,\n payload,\n };\n\n storedUrls[userEmail].unshift(urlData);\n\n storedUrls[userEmail] = storedUrls[userEmail].slice(0, maxUrls);\n }\n\n localStorage.setItem(storedUrlsKey, JSON.stringify(storedUrls));\n\n const paramArray = Array.from(queryParams.entries());\n\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n paramArray.forEach(([key]) => {\n queryParams.delete(key);\n });\n\n history.push({\n search: queryParams.toString(),\n hash: getLeadsActiveTab(location),\n });\n }\n };\n\n const handleRouteChange = () => {\n const payload: any = handleGeneratePayload();\n const meaningfulParams = Object.keys(payload).filter(\n (key) => key !== 'start' && key !== 'take',\n );\n\n if (tabKey !== LeadFinderTabKey.PEOPLE_TAB) {\n return;\n }\n\n if (meaningfulParams.length > 0) {\n if (!userEmail) {\n return;\n }\n\n const storedUrlsKey = 'storedUrls';\n const storedUrls = JSON.parse(localStorage.getItem(storedUrlsKey)) || {};\n\n if (!storedUrls[userEmail]) {\n storedUrls[userEmail] = [];\n }\n\n const currentUrlWithParams = location.pathname + location.search;\n const timestamp = new Date().toISOString();\n\n const existingUrlIndex = storedUrls[userEmail].findIndex(\n (urlData) =>\n urlData?.url?.toLowerCase() === currentUrlWithParams?.toLowerCase(),\n );\n\n const maxUrls = 4;\n\n if (existingUrlIndex !== -1) {\n const updatedEntry = {\n url: currentUrlWithParams,\n timestamp,\n payload,\n };\n\n storedUrls[userEmail].unshift(\n storedUrls[userEmail].splice(existingUrlIndex, 1)[0],\n );\n storedUrls[userEmail][0] = updatedEntry;\n\n storedUrls[userEmail] = storedUrls[userEmail].slice(0, maxUrls);\n } else {\n const urlData = {\n url: currentUrlWithParams,\n timestamp,\n payload,\n };\n\n storedUrls[userEmail].unshift(urlData);\n\n storedUrls[userEmail] = storedUrls[userEmail].slice(0, maxUrls);\n }\n\n localStorage.setItem(storedUrlsKey, JSON.stringify(storedUrls));\n }\n };\n\n const handleAppendLead = (lead) => {\n const indexOfProfileToReplace = leadsData?.profiles?.findIndex(\n (profile) => profile?.id === lead?.id,\n );\n\n if (indexOfProfileToReplace !== -1) {\n setLeadsData((prevState) => ({\n ...prevState,\n profiles: (prevState.profiles || []).map((profile) => {\n const isCurrentLead = profile?.id === lead?.id;\n const reReveal = lead?.reReveal;\n const { tags, teaser } = profile;\n return isCurrentLead\n ? { ...lead, tags, ...(reReveal ? { teaser } : {}) }\n : profile;\n }),\n }));\n }\n };\n\n const handleFetchLeads = async (data: any, key: string) => {\n try {\n setIsLoading(true);\n let res: any = {};\n if (key === LeadFinderTabKey.PEOPLE_TAB) {\n res = await getLeads(data);\n } else {\n res = await getSavedLeads(data);\n }\n if (res?.payload) {\n setLeadsData(res.payload);\n }\n } catch (e: any) {\n if (e?.type === ExceptionTypes.RateLimit) {\n if (!leadsData?.profiles?.length || !leadsData?.pagination?.total) {\n setLeadsData({\n pagination: {\n start: 0,\n take: 0,\n total: 0,\n },\n profiles: [],\n });\n }\n return;\n }\n if (e?.isHandled) {\n setLeadsData({\n pagination: {\n start: 0,\n take: 0,\n total: 0,\n },\n profiles: [],\n });\n return;\n }\n toaster.error(e?.message);\n } finally {\n setIsLoading(false);\n }\n };\n\n useEffect(() => {\n const fetchLeads = async () => {\n const payload = handleGenerateAPIParam(tabKey);\n if (payload?.start && payload?.take) {\n const { start, take, ...rest } = payload;\n if (\n Object.keys(rest || {})?.length &&\n tabKey === LeadFinderTabKey.PEOPLE_TAB\n ) {\n handleFetchLeads(payload, tabKey);\n }\n }\n };\n fetchLeads();\n }, [tabKey]);\n\n useEffect(() => {\n const fetchLeads = async () => {\n const payload: any = handleGeneratePayload();\n if (payload?.start && payload?.take) {\n handleFetchLeads(payload, tabKey);\n }\n };\n if (tabKey === LeadFinderTabKey.SAVED_TAB) {\n fetchLeads();\n }\n }, [savedApiParam]);\n\n const searchLeads = (payload?: any, performSearch = true) => {\n if (payload) {\n if (tabKey === LeadFinderTabKey.PEOPLE_TAB) {\n setApiParam(payload);\n } else {\n setSavedApiParam(payload);\n }\n if (performSearch) {\n handleFetchLeads(payload, tabKey);\n }\n return;\n }\n const updatedPayload = handleGenerateAPIParam(tabKey);\n if (performSearch) {\n handleFetchLeads(updatedPayload, tabKey);\n }\n };\n\n const handlePagination = ({ start, take }) => {\n if (start && take) {\n queryParams.set('start', start);\n queryParams.set('take', take);\n history.push({\n search: queryParams.toString(),\n hash: getLeadsActiveTab(location),\n });\n const updatedPayload = handleGenerateAPIParam(tabKey);\n if (tabKey === LeadFinderTabKey.PEOPLE_TAB) {\n handleFetchLeads(updatedPayload, tabKey);\n }\n }\n };\n\n useEffect(() => {\n if (location?.search) {\n handleGenerateAPIParam(tabKey);\n setUrlState({\n payload: handleGeneratePayload(),\n url: location?.pathname + location?.search,\n });\n } else {\n setLeadsData({\n profiles: [],\n pagination: null,\n });\n }\n }, [location.search]);\n\n useEffect(\n () => () => {\n if (!urlState || window.location?.pathname === '/leads') {\n return; // If urlState is not set, do nothing\n }\n\n if (tabKey !== LeadFinderTabKey.PEOPLE_TAB) {\n return;\n }\n\n const { payload } = urlState;\n const meaningfulParams = Object.keys(payload)?.filter(\n (key) => key !== 'start' && key !== 'take',\n );\n\n if (meaningfulParams.length > 0 && userEmail) {\n const storedUrlsKey = 'storedUrls';\n const storedUrls =\n JSON.parse(localStorage.getItem(storedUrlsKey)) || {};\n\n if (!storedUrls[userEmail]) {\n storedUrls[userEmail] = [];\n }\n\n const timestamp = new Date().toISOString();\n\n const existingUrlIndex = storedUrls[userEmail].findIndex(\n (urlData) =>\n urlData?.url?.toLowerCase() === urlState?.url?.toLowerCase(),\n );\n\n const maxUrls = 4;\n\n if (existingUrlIndex !== -1) {\n const updatedEntry = {\n url: urlState?.url,\n timestamp,\n payload,\n };\n\n storedUrls[userEmail].unshift(\n storedUrls[userEmail].splice(existingUrlIndex, 1)[0],\n );\n storedUrls[userEmail][0] = updatedEntry;\n\n storedUrls[userEmail] = storedUrls[userEmail].slice(0, maxUrls);\n } else {\n const urlData = {\n url: urlState?.url,\n timestamp,\n payload,\n };\n\n storedUrls[userEmail].unshift(urlData);\n\n storedUrls[userEmail] = storedUrls[userEmail].slice(0, maxUrls);\n }\n\n localStorage.setItem(storedUrlsKey, JSON.stringify(storedUrls));\n }\n },\n [urlState],\n );\n\n return {\n isLoading,\n leadsData,\n apiParam,\n savedApiParam,\n handlePagination,\n handleRecentSearch,\n handleGeneratePayload,\n handleAppendLead,\n setLeadsData,\n handleRouteChange,\n searchLeads,\n };\n};\n","import { useState } from 'react';\nimport { toaster } from '@saleshandy/design-system';\nimport { getTagsToLeads } from '../../helpers/leads.api';\n\nexport const useLeadApiState = () => {\n const [leadTags, setLeadTags] = useState([]);\n const [isLeadTagsLoading, setIsLeadTagsLoading] = useState(false);\n\n const fetchLeadTags = async (applyLoading = false) => {\n try {\n if (applyLoading) {\n setIsLeadTagsLoading(true);\n }\n const response = await getTagsToLeads();\n const data = response.payload || [];\n setLeadTags(data);\n } catch (error) {\n toaster.error('Error fetching tags');\n } finally {\n if (applyLoading) {\n setIsLeadTagsLoading(false);\n }\n }\n };\n\n return {\n leadTags,\n setLeadTags,\n isLeadTagsLoading,\n fetchLeadTags,\n };\n};\n","import { useState, useEffect } from 'react';\nimport { useSelector } from 'react-redux';\nimport { LeadFinderTabKey } from '../../type';\nimport { RootState } from '../../../../store/root-reducer';\nimport { leadFinderBulkOperationLimit } from '../../../../shared/utils/user-details';\n\nexport const useLeadBulkAction = (\n leadsData,\n selectedLeads,\n setSelectedLeads,\n activeTabKey,\n) => {\n const leadFinderLimit = leadFinderBulkOperationLimit();\n const [disabledLeads, setDisabledLeads] = useState([]);\n const [isBulkRevealing, setIsBulkRevealing] = useState(false);\n const [isSelectAllIndeterminate, setIsSelectAllIndeterminate] = useState(\n false,\n );\n\n const [leadCredits, setLeadsCredits] = useState(0);\n\n const leadCreditsState = useSelector((state: RootState) => state);\n\n const [deSelectedLeads, setDeSelectedLeads] = useState([]);\n const [selectedAllLeadsCount, setSelectedAllLeadsCount] = useState(0);\n const [isSelectedAllLeads, setIsSelectedAllLeads] = useState(false);\n\n const [topPeopleLimit, setTopPeopleLimit] = useState(0);\n\n useEffect(() => {\n setTopPeopleLimit(\n Number(leadCredits) >= leadFinderLimit\n ? leadFinderLimit\n : Number(leadCredits),\n );\n }, [leadCredits]);\n\n useEffect(() => {\n const isAllSelected =\n leadsData?.profiles?.length > 0 &&\n leadsData?.profiles?.every(\n (lead) =>\n selectedLeads?.some((l) => l?.id === lead?.id) &&\n !disabledLeads?.some((dLead) => dLead?.id === lead?.id),\n );\n\n const isSomeSelected =\n leadsData?.profiles?.some(\n (lead) =>\n selectedLeads?.some((l) => l?.id === lead?.id) &&\n !disabledLeads?.some((dLead) => dLead?.id === lead?.id),\n ) && !isAllSelected;\n\n setIsSelectAllIndeterminate(isSomeSelected);\n }, [selectedLeads, disabledLeads, leadsData]);\n\n const handleCheckUnCheckSingleLeadV2 = (lead) => {\n const isLeadAdded = selectedLeads?.find((l) => l?.id === lead?.id);\n const isLeadDisabled = disabledLeads?.some(\n (dLead) => dLead?.id === lead?.id,\n );\n\n if (!isLeadAdded && !isLeadDisabled) {\n // selecting the lead\n if (isSelectedAllLeads) {\n setDeSelectedLeads((prevState) => [\n ...prevState.filter((currLead) => currLead.id !== lead.id),\n ]);\n }\n setSelectedLeads((prevState) => [...prevState, lead]);\n } else {\n // de-selecting the lead\n if (isSelectedAllLeads) {\n setDeSelectedLeads((prevState) => [...prevState.concat([lead])]);\n }\n setSelectedLeads((prevState) =>\n prevState.filter((l) => l?.id !== lead?.id),\n );\n }\n };\n\n useEffect(() => {\n const MAX_BULK_ACTION_COUNT =\n activeTabKey === LeadFinderTabKey.PEOPLE_TAB ? leadFinderLimit : 25000;\n const finalCount =\n Math.min(MAX_BULK_ACTION_COUNT, leadsData?.pagination?.total) -\n deSelectedLeads?.length -\n disabledLeads?.length;\n\n setSelectedAllLeadsCount(finalCount);\n }, [deSelectedLeads, disabledLeads, leadsData]);\n\n const handleSelectAllBulkActionLead = (leadProfiles = []) => {\n if (isSelectedAllLeads) {\n return;\n }\n setIsSelectedAllLeads(true);\n setSelectedLeads([...leadProfiles]);\n setSelectedAllLeadsCount(leadsData.pagination.total);\n setDeSelectedLeads([]);\n };\n\n const handleClearSelectedAllBulkAction = () => {\n setIsSelectedAllLeads(false);\n setSelectedLeads([]);\n setSelectedAllLeadsCount(0);\n setDeSelectedLeads([]);\n };\n\n const handleResetStateAfterAnyAction = (leadIds: number[] = []) => {\n if (!leadIds?.length) {\n setIsSelectedAllLeads(false);\n setSelectedLeads([]);\n setSelectedAllLeadsCount(0);\n setDeSelectedLeads([]);\n return;\n }\n setIsSelectedAllLeads(false);\n setDeSelectedLeads([]);\n setSelectedAllLeadsCount(0);\n setSelectedLeads((prevState) => [\n ...prevState.filter((currLead) => !leadIds?.includes(currLead.id)),\n ]);\n };\n\n const handleSelectAllLead = (leadProfiles = []) => {\n const isAllSelected = leadProfiles?.every(\n (lead) =>\n selectedLeads?.some((l) => l?.id === lead?.id) &&\n !disabledLeads?.some((dLead) => dLead?.id === lead?.id),\n );\n\n const leadProfileArrIds = new Set(leadProfiles?.map((item) => item?.id));\n const filteredSelectedLeadArr = selectedLeads?.filter(\n (item) =>\n !leadProfileArrIds?.has(item?.id) &&\n !disabledLeads?.some((dLead) => dLead?.id === item?.id),\n );\n\n if (isAllSelected) {\n setSelectedLeads(filteredSelectedLeadArr);\n if (isSelectedAllLeads) {\n setSelectedAllLeadsCount(null);\n }\n return;\n }\n\n const filteredLeadProfiles = leadProfiles?.filter(\n (lead) => !disabledLeads?.some((dLead) => dLead?.id === lead?.id),\n );\n setSelectedLeads(() => [\n ...filteredSelectedLeadArr,\n ...filteredLeadProfiles,\n ]);\n\n if (isSelectedAllLeads) {\n setSelectedAllLeadsCount(leadsData.pagination.total);\n }\n };\n\n useEffect(() => {\n setDisabledLeads(\n leadsData?.profiles?.filter(\n (l) => l?.isRevealed && l?.emails?.length === 0,\n ),\n );\n }, [leadsData]);\n\n return {\n handleCheckUnCheckSingleLead: handleCheckUnCheckSingleLeadV2,\n selectedLeads,\n handleSelectAllLead,\n setSelectedLeads,\n isBulkRevealing,\n setIsBulkRevealing,\n disabledLeads,\n setDisabledLeads,\n isSelectAllIndeterminate,\n selectedAllLeads: false,\n selectedAllLeadsCount,\n setSelectedAllLeadsCount,\n isSelectedAllLeads,\n setIsSelectedAllLeads,\n handleSelectAllBulkActionLead,\n handleClearSelectedAllBulkAction,\n deSelectedLeads,\n handleResetStateAfterAnyAction,\n leadCredits,\n setLeadsCredits,\n leadCreditsState,\n topPeopleLimit,\n };\n};\n","import { createSlice } from '@reduxjs/toolkit';\nimport { constants } from '../../shared/enums/constants';\nimport { RequestStatus } from '../../shared/enums/request-status';\nimport { ResponseErrorWithHandled } from '../../shared/types';\nimport {\n addTagsToBulkLeadsRequest,\n removeTagsFromBulkLeadsRequest,\n} from '../leads/extra-actions';\n\ninterface RequestState {\n status: RequestStatus;\n message: string;\n error: ResponseErrorWithHandled;\n}\n\ninterface State {\n addTagsToBulkLeadsRequest: RequestState;\n removeTagsFromBulkLeadsRequest: RequestState;\n selectedLeads: any[];\n deselectedLeads: number[];\n}\n\nconst initialState: State = {\n addTagsToBulkLeadsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n removeTagsFromBulkLeadsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n selectedLeads: [],\n // selectAllLeadsDetails: null,\n deselectedLeads: [],\n};\n\nconst leadSlice = createSlice({\n name: 'lead',\n initialState,\n reducers: {\n clearSelection: (state) => {\n // state.selectAllLeadsDetails = initialState.selectAllLeadsDetails;\n state.selectedLeads = initialState.selectedLeads;\n },\n\n resetSelectedLeads: (state) => {\n state.selectedLeads = initialState.selectedLeads;\n },\n selectedLeads: (state, action) => {\n state.selectedLeads = action.payload;\n },\n deselectLeads: (state, action) => {\n const leadsToDeselect = action?.payload; // An array of lead IDs to be deselected\n },\n },\n\n extraReducers: (builder) => {\n // Add Tags to Prospects\n builder.addCase(addTagsToBulkLeadsRequest.pending, (state) => {\n state.addTagsToBulkLeadsRequest.status = RequestStatus.Pending;\n state.addTagsToBulkLeadsRequest.error = null;\n });\n builder.addCase(addTagsToBulkLeadsRequest.fulfilled, (state, action) => {\n state.addTagsToBulkLeadsRequest.status = RequestStatus.Succeeded;\n state.addTagsToBulkLeadsRequest.message = action.payload.message;\n });\n builder.addCase(addTagsToBulkLeadsRequest.rejected, (state, action) => {\n state.addTagsToBulkLeadsRequest.status = RequestStatus.Failed;\n state.addTagsToBulkLeadsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Remove Tags to Prospects\n builder.addCase(removeTagsFromBulkLeadsRequest.pending, (state) => {\n state.removeTagsFromBulkLeadsRequest.status = RequestStatus.Pending;\n state.removeTagsFromBulkLeadsRequest.error = null;\n });\n builder.addCase(\n removeTagsFromBulkLeadsRequest.fulfilled,\n (state, action) => {\n state.removeTagsFromBulkLeadsRequest.status = RequestStatus.Succeeded;\n state.removeTagsFromBulkLeadsRequest.message = action.payload.message;\n },\n );\n builder.addCase(\n removeTagsFromBulkLeadsRequest.rejected,\n (state, action) => {\n state.removeTagsFromBulkLeadsRequest.status = RequestStatus.Failed;\n state.removeTagsFromBulkLeadsRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n },\n});\n\nexport const {\n clearSelection,\n selectedLeads,\n resetSelectedLeads,\n deselectLeads,\n} = leadSlice.actions;\n\nexport default leadSlice.reducer;\n","import {\n TaskStatusDisplayLabel,\n TaskStatusKey,\n TaskStatusParamsKey,\n} from './enums';\n\nexport const getTaskStatusArray = () => [\n {\n label: TaskStatusDisplayLabel.DueToday,\n key: TaskStatusKey.DueToday,\n },\n {\n label: TaskStatusDisplayLabel.Upcoming,\n key: TaskStatusKey.Upcoming,\n },\n {\n label: TaskStatusDisplayLabel.Overdue,\n key: TaskStatusKey.Overdue,\n },\n {\n label: TaskStatusDisplayLabel.Completed,\n key: TaskStatusKey.Completed,\n },\n {\n label: TaskStatusDisplayLabel.Skipped,\n key: TaskStatusKey.Skipped,\n },\n];\n\nexport const getTaskStatusParams = (\n status: TaskStatusKey,\n): TaskStatusParamsKey => {\n if (status === TaskStatusKey.Upcoming) {\n return TaskStatusParamsKey.Upcoming;\n }\n if (status === TaskStatusKey.Skipped) {\n return TaskStatusParamsKey.Skipped;\n }\n if (status === TaskStatusKey.Completed) {\n return TaskStatusParamsKey.Completed;\n }\n if (status === TaskStatusKey.Overdue) {\n return TaskStatusParamsKey.Overdue;\n }\n\n return TaskStatusParamsKey.DueToday;\n};\n","import React from 'react';\nimport type { IProps } from './tasks-header-container';\nimport { TaskStatusKey } from '../../utils/enums';\nimport { getTaskStatusArray } from '../../utils/helper';\nimport { accessibleOnClick } from '../../../../shared/utils/accessible-on-click';\nimport { getIsRequestPending } from '../../../../shared/utils';\n\nconst TasksHeader: React.FC = ({\n taskStatus,\n onChange,\n taskStatusCount,\n getTasksRequestStatus,\n getTasksStatusCountRequest,\n}) => {\n const onTaskStatusChange = (status: TaskStatusKey) => {\n if (getIsRequestPending(getTasksRequestStatus) || taskStatus === status) {\n return;\n }\n\n onChange(status);\n };\n\n if (!taskStatusCount) {\n return null;\n }\n\n return (\n
    \n {getTaskStatusArray().map(({ label, key }) => (\n onTaskStatusChange(key))}\n >\n
    \n \n {label}\n \n\n \n {Number(taskStatusCount[key])}\n \n
    \n
    \n ))}\n \n );\n};\n\nexport default TasksHeader;\n","import api from '../../../api';\nimport { ResponseSuccess } from '../../../shared/types';\nimport {\n GetTaskerParams,\n GetTasksParams,\n UpdateTask,\n UpdateTaskNoteRequest,\n} from '../utils/types';\n\nexport const getTaskStatusCount = async (params: GetTasksParams) =>\n api.get('/tasks/status-count', { params });\n\nexport const getTasks = async (params: GetTasksParams) =>\n api.get('/tasks', { params });\n\nexport const updateTasks = async (payload: UpdateTask) =>\n api.post('/tasks/task-update', payload);\n\nexport const getTaskerData = async (params: GetTaskerParams) =>\n api.get('/tasks/task', { params });\n\nexport const updateTaskNote = async ({\n taskId,\n taskNote,\n}: UpdateTaskNoteRequest) =>\n api.patch(`/tasks/task-note/${taskId}`, {\n taskNote,\n });\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport { ResponseErrorWithHandled, ResponseSuccess } from '../../shared/types';\nimport {\n getTaskStatusCount,\n getTaskerData,\n getTasks,\n updateTasks,\n updateTaskNote,\n} from './helper/tasks.api';\nimport {\n GetTaskerParams,\n GetTasksParams,\n UpdateTask,\n UpdateTaskNoteRequest,\n} from './utils/types';\n\nexport const getTasksRequest = createAsyncThunk<\n ResponseSuccess,\n GetTasksParams,\n { rejectValue: ResponseErrorWithHandled }\n>('contact/getTasksRequest', async (args, thunkAPI) => {\n try {\n return await getTasks(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getTaskStatusCountRequest = createAsyncThunk<\n ResponseSuccess,\n GetTasksParams,\n { rejectValue: ResponseErrorWithHandled }\n>('contact/getTaskStatusCountRequest', async (args, thunkAPI) => {\n try {\n return await getTaskStatusCount(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const updateTasksRequest = createAsyncThunk<\n ResponseSuccess,\n UpdateTask,\n { rejectValue: ResponseErrorWithHandled }\n>('contact/updateTaskRequest', async (args, thunkAPI) => {\n try {\n return await updateTasks(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getTaskerDataRequest = createAsyncThunk<\n ResponseSuccess,\n GetTaskerParams,\n { rejectValue: ResponseErrorWithHandled }\n>('contact/getTaskerDataRequest', async (args, thunkAPI) => {\n try {\n return await getTaskerData(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const updateTaskNoteRequest = createAsyncThunk<\n ResponseSuccess,\n UpdateTaskNoteRequest,\n { rejectValue: ResponseErrorWithHandled }\n>('contact/updateTaskNoteRequest', async (args, thunkAPI) => {\n try {\n return await updateTaskNote(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../store/root-reducer';\nimport TasksHeader from './task-header';\nimport { GetTasksParams } from '../../utils/types';\nimport {\n getTasksRequest,\n getTaskStatusCountRequest,\n} from '../../extra-actions';\nimport { TaskStatusKey } from '../../utils/enums';\n\nconst mapStateToProps = (state: RootState) => ({\n taskStatusCount: state.tasks.taskStatusCount,\n getTasksRequestStatus: state.tasks.getTasksRequest.status,\n tasksCount: state.tasks.tasksCount,\n tasks: state.tasks.tasks,\n});\n\nconst mapDispatchToProps = {\n getTasksRequest: (params: GetTasksParams) => getTasksRequest(params),\n getTasksStatusCountRequest: (params: GetTasksParams) =>\n getTaskStatusCountRequest(params),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n taskStatus: TaskStatusKey;\n onChange: (status: TaskStatusKey) => void;\n};\n\nexport default connector(TasksHeader);\n","import { getTaskTitle } from './helper';\n\nexport const tasksTableData = (tasks) =>\n tasks?.map((task) => {\n const prospect = task?.prospect?.attributes.map(\n ({ attributeValue, fieldRef }) => ({\n id: task?.prospect?.id,\n value: attributeValue,\n label: fieldRef.label,\n isDefault: fieldRef.isDefault,\n }),\n );\n prospect.push({\n id: task?.prospect?.id,\n value: task?.prospect?.email,\n label: 'Email',\n isDefault: true,\n });\n\n const stepNumber = task?.sequenceProspectTask?.step?.number;\n const sequenceName = task?.sequenceProspectTask?.step?.sequence?.title;\n\n return {\n id: task.id,\n prospect,\n taskTitle: {\n type: task?.type,\n title:\n task?.taskPayload?.payload?.title ||\n getTaskTitle(task?.type, task?.taskPayload?.payload?.purpose),\n },\n sequence: {\n stepNumber,\n sequenceName,\n sequenceId: task?.sequenceProspectTask?.step?.sequence?.id,\n },\n priority: task?.priority,\n date: {\n dueAt: task?.dueAt,\n skippedAt: task?.skippedAt,\n processedAt: task?.processedAt,\n completedAt: task?.completedAt,\n },\n owner: {\n taskId: task.id,\n firstName: task?.assignee?.firstName,\n lastName: task?.assignee?.lastName,\n taskType: task?.type,\n },\n };\n });\n","/* eslint-disable react/destructuring-assignment */\nimport React from 'react';\nimport { Avatar, SkeletonLoading } from '@saleshandy/design-system';\nimport {\n Alarm,\n Checkbox,\n CircleCheck,\n Whatsapp,\n Mail,\n ForwardStep,\n LinkedinSquare,\n Signal,\n} from '@saleshandy/icons';\nimport { Link } from 'react-router-dom';\nimport { Column } from '../../../../../shared/design-system/components/organisms/table/types';\nimport { getStepPriority } from '../../../../sequence/helpers/sequence-step';\nimport { accessibleOnClick } from '../../../../../shared/utils/accessible-on-click';\nimport { OverlayTooltip } from '../../../../../shared/design-system/components/overlay';\nimport { TaskAction, TaskStatusKey } from '../../../utils/enums';\nimport ContactNameField from '../../../../../shared/design-system/components/molecules/contact-name-field';\nimport { SequenceStepType } from '../../../../sequence/enums';\nimport {\n getDateColumnTitle,\n getTaskDate,\n isActionsVisible,\n isLinkedInType,\n} from './helper';\nimport TruncatedTextWithTooltip from '../../../../../shared/components/truncated-text-with-tooltip';\nimport { Priority } from '../../../../../shared/components/priority';\nimport { getFormattedDateWithMoment } from '../../../../../shared/utils';\n\nconst actions = [\n {\n icon: ,\n tooltipText: 'Snooze Task',\n taskAction: TaskAction.SnoozeTask,\n },\n {\n icon: ,\n tooltipText: 'Skip Task',\n taskAction: TaskAction.SkipTask,\n },\n {\n icon: ,\n tooltipText: 'Mark as Complete',\n taskAction: TaskAction.ExecuteTask,\n },\n];\n\nconst getTaskIcon = (type: SequenceStepType) => {\n if (isLinkedInType(type)) {\n return (\n \n );\n }\n if (type === SequenceStepType.Whatsapp) {\n return ;\n }\n if (type === SequenceStepType.Call) {\n return ;\n }\n if (type === SequenceStepType.Email) {\n return ;\n }\n\n return ;\n};\nconst getDateColumnCellValue = (taskStatus: TaskStatusKey, date: string) => {\n if (taskStatus === TaskStatusKey.DueToday) {\n return 'Today';\n }\n if (taskStatus === TaskStatusKey.Upcoming) {\n return (\n {`Due in ${getFormattedDateWithMoment(date)}`}\n );\n }\n if (taskStatus === TaskStatusKey.Overdue) {\n return (\n {`Due ${getFormattedDateWithMoment(\n date,\n )} ago`}\n );\n }\n\n return (\n \n {getFormattedDateWithMoment(date)}{' '}\n {getFormattedDateWithMoment(date).toLowerCase() !== 'today' && 'ago'}\n \n );\n};\n\nexport const getTasksColumns = (\n taskStatus: TaskStatusKey,\n updateTasks: (\n id: number,\n taskAction: TaskAction,\n taskType: SequenceStepType,\n ) => void,\n onTaskClick: (id: number) => void,\n): Column[] => [\n {\n dataField: 'prospect',\n text: 'Prospect',\n headerAlign: 'left',\n cellClasses: 'prospect-field',\n headerClasses: 'name-field',\n component: (cell, row) => (\n onTaskClick(row.id)}\n maxEmailLength={50}\n />\n ),\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: (\n
    \n \n \n
    \n ),\n },\n {\n dataField: 'taskTitle',\n text: 'Task Title',\n headerAlign: 'left',\n cellClasses: 'name-field',\n component: (cell, row) => (\n onTaskClick(row.id))}\n >\n {getTaskIcon(cell?.type)}\n \n \n ),\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: (\n
    \n \n \n
    \n ),\n },\n {\n dataField: 'sequence',\n text: 'Sequence',\n headerAlign: 'left',\n cellClasses: 'name-field',\n component: (cell) => (\n
    \n \n Step {cell.stepNumber}\n \n\n \n \n \n
    \n ),\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: (\n
    \n \n \n
    \n ),\n },\n {\n dataField: 'priority',\n text: 'Priority',\n headerAlign: 'left',\n cellClasses: 'tag-field',\n component: (cell) => {\n const { text, variant, className } = getStepPriority(cell);\n\n return ;\n },\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: (\n
    \n \n \n
    \n ),\n },\n {\n dataField: 'date',\n text: getDateColumnTitle(taskStatus),\n headerAlign: 'left',\n cellClasses: 'name-field',\n component: (cell) => {\n const date = new Date(getTaskDate(taskStatus, cell));\n return (\n
    \n \n \n {getDateColumnCellValue(\n taskStatus,\n getTaskDate(taskStatus, cell),\n )}\n \n \n
    \n );\n },\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: (\n
    \n \n \n
    \n ),\n },\n {\n dataField: 'owner',\n text: 'Task Owner',\n headerAlign: 'left',\n cellClasses: 'owner',\n component: (cell, row) => (\n
    \n \n {!isActionsVisible(taskStatus) && (\n
    \n {actions.map(({ icon, tooltipText, taskAction }) => (\n \n \n updateTasks(cell.taskId, taskAction, row?.owner?.taskType),\n )}\n >\n {icon}\n
    \n \n ))}\n
    \n )}\n \n {`${cell.firstName} ${cell.lastName}`}\n \n \n ),\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: (\n
    \n \n \n
    \n ),\n },\n];\n","import moment from 'moment-timezone';\n\nexport const snoozeOptions = [\n {\n key: '1-hour',\n label: '1 hour from now',\n value: 60 * 60 * 1000,\n },\n {\n key: '2-hour',\n label: '2 hour from now',\n value: 2 * 60 * 60 * 1000,\n },\n {\n key: '4-hour',\n label: '4 hour from now',\n value: 4 * 60 * 60 * 1000,\n },\n {\n key: '6-hour',\n label: '6 hour from now',\n value: 6 * 60 * 60 * 1000,\n },\n {\n key: '1-day',\n label: '1 day from now',\n value: 24 * 60 * 60 * 1000,\n },\n {\n key: '2-days',\n label: '2 days from now',\n value: 2 * 24 * 60 * 60 * 1000,\n },\n {\n key: '4-days',\n label: '4 days from now',\n value: 4 * 24 * 60 * 60 * 1000,\n },\n {\n key: '1-week',\n label: '1 week from now',\n value: 7 * 24 * 60 * 60 * 1000,\n },\n {\n key: 'custom',\n label: 'Custom date & time',\n value: null,\n },\n];\n\nexport const generateTimeArray = () => {\n const timeArray = [];\n\n // eslint-disable-next-line no-plusplus\n for (let hour = 0; hour < 24; hour++) {\n for (let minute = 0; minute < 60; minute += 30) {\n const formattedHour12 = (((hour + 11) % 12) + 1)\n .toString()\n .padStart(2, '0');\n const formattedMinute = minute.toString().padStart(2, '0');\n const ampm = hour < 12 ? 'AM' : 'PM';\n\n const timeObject = {\n key: `${formattedHour12}:${formattedMinute} ${ampm}`,\n value: `${hour.toString().padStart(2, '0')}:${formattedMinute}`,\n };\n\n timeArray.push(timeObject);\n }\n }\n\n return timeArray;\n};\n\nexport const mergedDateTime = (date, time): Date =>\n moment(date)\n .hours(moment(time.value, 'HH:mm').hours())\n .minutes(moment(time.value, 'HH:mm').minutes())\n .toDate();\n","/* eslint-disable react/button-has-type */\nimport React, { useRef, forwardRef } from 'react';\nimport moment from 'moment-timezone';\nimport DatePicker from 'react-datepicker';\nimport { ChevronLeft, ChevronRight, ChevronDown } from '@saleshandy/icons';\nimport Input from '../../../../../../shared/design-system/components/input';\n\ntype IProps = {\n dt: Date;\n onSelect: (d: Date) => void;\n};\n\nconst SnoozeDatePicker: React.FC = ({ dt, onSelect }) => {\n const inputRef = useRef(null);\n const [isOpen, setIsOpen] = React.useState(false);\n\n const CustomInput = forwardRef((props: any, ref) => (\n \n ),\n },\n ]}\n />\n ));\n\n const handleSelect = (d) => {\n onSelect(d);\n setIsOpen(false);\n };\n\n return (\n setIsOpen(true)}\n onChange={(d) => handleSelect(d)}\n onClickOutside={() => setIsOpen(false)}\n placeholderText=\"DD/MM/YYYY\"\n dateFormat=\"MMM dd, yyyy\"\n id=\"start-date\"\n autoComplete=\"off\"\n renderCustomHeader={({\n date,\n decreaseMonth,\n increaseMonth,\n prevMonthButtonDisabled,\n nextMonthButtonDisabled,\n }) => (\n \n
    \n \n {moment(date).format('MMMM YYYY')}\n \n
    \n\n
    \n \n \n
    \n \n )}\n customInput={}\n />\n );\n};\n\nexport default SnoozeDatePicker;\n","import React, { useState } from 'react';\nimport moment from 'moment-timezone';\nimport 'react-datepicker/dist/react-datepicker.css';\nimport { Alarm } from '@saleshandy/icons';\nimport type { IProps } from './types';\nimport Modal from '../../../../../../shared/design-system/components/atoms/modal';\nimport Select from '../../../../../../shared/design-system/components/select';\nimport { mergedDateTime, snoozeOptions, generateTimeArray } from './helper';\nimport { Variant } from '../../../../../../shared/design-system/components/atoms/button/button';\nimport SnoozeDatePicker from './snooze-date-picker';\n\nconst SnoozeModal: React.FC = ({\n show,\n onSubmit,\n onClose,\n isRequestPending,\n}) => {\n const [selectedOption, setSelectedOption] = useState<{\n key: string;\n label: string;\n value: number;\n }>(snoozeOptions[0]);\n const [value, setValue] = useState(\n new Date(new Date().getTime() + selectedOption.value),\n );\n const [date, setDate] = useState(new Date());\n const [time, setTime] = useState(generateTimeArray()[0]);\n\n const onChange = (option) => {\n setSelectedOption(option);\n setValue(new Date(new Date().getTime() + option.value));\n };\n\n const onSelect = (d) => {\n setDate(d);\n };\n const onTimeSelect = (t) => {\n setTime(t);\n };\n\n const getDate = (): Date =>\n selectedOption?.key === 'custom' ? mergedDateTime(date, time) : value;\n\n return (\n \n \n Snooze this task\n \n }\n backdrop=\"static\"\n onSubmit={() => onSubmit(getDate())}\n onClose={onClose}\n submitButtonText=\"Snooze\"\n submitButtonClassName=\"font-weight-medium snooze-submit-btn\"\n cancelButtonClassName=\"font-weight-medium snooze-cancel-btn\"\n isSubmitLoading={isRequestPending}\n isCancelDisabled={isRequestPending}\n isSubmitDisabled={isRequestPending}\n cancelButtonVarient={Variant.Outlined}\n extraModalProps={{\n centered: true,\n 'aria-labelledby': 'contained-modal-title-vcenter',\n }}\n >\n
    \n Snooze for\n \n selectedOptionKey={selectedOption.key}\n options={snoozeOptions}\n onChange={([option]) => onChange(option)}\n optionRenderer={(option) => (\n \n {option?.label}\n \n )}\n selectedOptionRenderer={([option]) => {option?.label}}\n className=\"snooze-select\"\n />\n
    \n\n {selectedOption?.key === 'custom' && (\n
    \n
    \n Date\n \n
    \n
    \n Time\n \n selectedOptionKey={time?.key}\n options={generateTimeArray()}\n onChange={([option]) => onTimeSelect(option)}\n optionRenderer={(option) => {option?.key}}\n selectedOptionRenderer={([option]) => {option?.key}}\n />\n
    \n
    \n )}\n\n
    \n Scheduled for\n \n {/* Friday, 18 August at 5:00 PM */}\n {moment(getDate()).format('dddd, DD MMMM [at] h:mm A')}\n \n
    \n \n );\n};\n\nexport default SnoozeModal;\n","import React from 'react';\nimport { Images } from '../../../shared/app-constants';\nimport { TaskStatusKey } from '../utils/enums';\n\nconst EmptyList = ({ activeTab }) => {\n const getTabString = () => {\n if (activeTab === TaskStatusKey.DueToday) {\n return 'pending';\n }\n if (activeTab === TaskStatusKey.Upcoming) {\n return 'upcoming';\n }\n if (activeTab === TaskStatusKey.Overdue) {\n return 'overdue';\n }\n if (activeTab === TaskStatusKey.Completed) {\n return 'completed';\n }\n\n return 'skipped';\n };\n\n return (\n
    \n \"empty-data\"\n
    \n Hurrah !!!\n \n {` You don’t have any ${getTabString()} tasks.`}\n \n
    \n
    \n );\n};\n\nexport default EmptyList;\n","import { TaskTypeFilter } from './types';\n\nexport const tasksTypeFilterOptions: TaskTypeFilter[] = [\n {\n id: 10,\n key: 'linkedin',\n label: 'Linkedin',\n subTypes: [\n {\n id: 2,\n key: 'connectionRequest',\n label: 'Connection Request',\n },\n {\n id: 3,\n key: 'message',\n label: 'Message',\n },\n {\n id: 4,\n key: 'inMail',\n label: 'InMail',\n },\n {\n id: 5,\n key: 'viewProfile',\n label: 'View Profile',\n },\n {\n id: 6,\n key: 'postInteraction',\n label: 'Post Interaction',\n },\n ],\n },\n {\n id: 7,\n key: 'calls',\n label: 'Calls',\n },\n // {\n // id: 8,\n // key: 'whatsApp',\n // label: 'Whatsapp',\n // isDisabled: true,\n // },\n {\n id: 9,\n key: 'tasks',\n label: 'Tasks',\n },\n];\n\nexport const onLinkedInOptionClicked = (\n option: TaskTypeFilter,\n selectedTaskIds: number[],\n setSelectedTaskIds: (payload: number[]) => void,\n) => {\n // Check if all user IDs in the team are in selectedUserIds\n const allUsersSelected = option?.subTypes.every((task) =>\n selectedTaskIds.includes(task.id),\n );\n\n if (allUsersSelected) {\n // If all users are selected, remove all of them\n const updatedSelectedUserIds = selectedTaskIds.filter(\n (id) => !option?.subTypes.some((task) => task.id === id),\n );\n setSelectedTaskIds(updatedSelectedUserIds);\n } else {\n // If not all users are selected, add those who are not already in selectedUserIds\n const taskIDsToAdd = option?.subTypes\n .map((task) => task.id)\n .filter((taskId) => !selectedTaskIds.includes(taskId));\n\n const newSelectedUserIds = [...selectedTaskIds, ...taskIDsToAdd];\n setSelectedTaskIds(newSelectedUserIds);\n }\n};\n\nexport const getIsAllCheckboxChecked = (\n options: TaskTypeFilter[],\n selectedTaskTypeIds: number[],\n) => {\n const allTaskTypeIds = options.reduce((taskTypeIds, option) => {\n if (option?.subTypes?.length > 0) {\n taskTypeIds.push(...option.subTypes.map((t) => t.id));\n } else if (!option?.subTypes?.length) {\n taskTypeIds.push(option.id);\n }\n return taskTypeIds;\n }, []);\n\n if (options?.length > 0) {\n // Check if all user IDs are in selectedUserIds\n return {\n isSelectAllCheckboxChecked: allTaskTypeIds.every((taskTypeId) =>\n selectedTaskTypeIds.includes(taskTypeId),\n ),\n intermediate: allTaskTypeIds.some((taskTypeId) =>\n selectedTaskTypeIds.includes(taskTypeId),\n ),\n };\n }\n return {\n isSelectAllCheckboxChecked: false,\n intermediate: false,\n };\n};\n\nexport const getSelectedOptionKey = (\n options: TaskTypeFilter[],\n selectedTaskTypeIds: number[],\n): string[] => {\n // Initialize an array to store selected team and user keys\n const selectedKeys = [];\n\n // Loop through the \"teams\" array\n options.forEach((option) => {\n // Check if the team is of type \"team\"\n if (option?.subTypes?.length > 0) {\n // Check if all users in the team are selected\n const allUsersSelected = option.subTypes.every((type) =>\n selectedTaskTypeIds.includes(type.id),\n );\n\n // If all users are selected, add the team key to the selectedKeys array\n if (allUsersSelected) {\n selectedKeys.push(option.key);\n }\n }\n // If the team is of type \"user\" and the user is selected, add their key to selectedKeys\n else if (\n !option?.subTypes?.length &&\n selectedTaskTypeIds.includes(option.id)\n ) {\n selectedKeys.push(option.key);\n }\n });\n return selectedKeys;\n};\n","import React, { useState } from 'react';\nimport { Accordion, Button } from '@saleshandy/design-system';\nimport { ChevronDown, ChevronUp, LayoutList } from '@saleshandy/icons';\nimport Transfer from '../../../../../../../../shared/design-system/components/transfer';\nimport type { TaskTypeFilter, IProps } from './types';\nimport {\n getIsAllCheckboxChecked,\n getSelectedOptionKey,\n onLinkedInOptionClicked,\n tasksTypeFilterOptions,\n} from './helper';\nimport { Placement } from '../../../../../../../../shared/design-system/components/overlay';\nimport Checkbox from '../../../../../../../../shared/design-system/components/atoms/checkbox';\nimport { accessibleOnClick } from '../../../../../../../../shared/utils/accessible-on-click';\nimport { onUserOptionClicked } from '../../../../../../../../shared/components/teams-filter/utils/on-select-deselect';\nimport { getUniqueNumbers } from '../../../../../../../../shared/utils';\nimport {\n getTaskTypeFiltersInLocalStore,\n removeTaskTypeFiltersInLocalStore,\n setTaskTypeFiltersInLocalStore,\n} from '../../../../utils/helper';\n\nconst TaskTypeSelect: React.FC = ({ onApply }) => {\n const [show, setShow] = useState(false);\n const [isEmpty, setIsEmpty] = useState(false);\n const [selectedTypeIds, setSelectedTypesIds] = useState(\n getTaskTypeFiltersInLocalStore() || [2, 3, 4, 5, 6, 7, 9],\n );\n const [isFilterDirty, setIsFilterDirty] = useState(false);\n\n const { isSelectAllCheckboxChecked, intermediate } = getIsAllCheckboxChecked(\n tasksTypeFilterOptions,\n selectedTypeIds,\n );\n\n const onSelectDeselect = (option: TaskTypeFilter) => {\n if (!option?.subTypes?.length) {\n onUserOptionClicked(option.id, selectedTypeIds, setSelectedTypesIds);\n }\n if (option?.subTypes?.length > 0) {\n onLinkedInOptionClicked(option, selectedTypeIds, setSelectedTypesIds);\n }\n if (!isFilterDirty) {\n setIsFilterDirty(true);\n }\n };\n\n const onSelectAll = (checked: boolean) => {\n const allTaskTypeIds = tasksTypeFilterOptions.reduce(\n (taskTypeIds, option) => {\n if (option?.subTypes?.length > 0) {\n taskTypeIds.push(...option.subTypes.map((t) => t.id));\n } else if (!option?.subTypes?.length) {\n taskTypeIds.push(option.id);\n }\n return taskTypeIds;\n },\n [],\n );\n\n if (checked) {\n setSelectedTypesIds(\n getUniqueNumbers([...selectedTypeIds, ...allTaskTypeIds]),\n );\n } else {\n setSelectedTypesIds(\n selectedTypeIds.filter((id) => !allTaskTypeIds.includes(id)),\n );\n }\n if (!isFilterDirty) {\n setIsFilterDirty(true);\n }\n };\n\n const handleApply = () => {\n if (isSelectAllCheckboxChecked) {\n removeTaskTypeFiltersInLocalStore();\n } else {\n setTaskTypeFiltersInLocalStore(selectedTypeIds);\n }\n\n onApply(selectedTypeIds);\n };\n\n return (\n \n show={show}\n onToggle={setShow}\n className=\"task-type-filter-select team-filter-select\"\n multiSelect\n showSearch={false}\n placement={Placement.BottomStart}\n options={tasksTypeFilterOptions}\n selectedOptionKey={getSelectedOptionKey(\n tasksTypeFilterOptions,\n selectedTypeIds,\n )}\n onSelect={onSelectDeselect}\n onDeselect={onSelectDeselect}\n optionRenderer={(option: TaskTypeFilter) =>\n option?.subTypes ? (\n \n \n \n \n {option.label}\n \n {({ expanded }) =>\n expanded ? : \n }\n \n \n \n {option?.subTypes?.length > 0 && (\n \n {option.subTypes.map((taskType) => (\n {\n onUserOptionClicked(\n taskType.id,\n selectedTypeIds,\n setSelectedTypesIds,\n );\n })}\n >\n \n {taskType.label}\n \n ))}\n \n )}\n \n \n ) : (\n \n onUserOptionClicked(\n option.id,\n selectedTypeIds,\n setSelectedTypesIds,\n ),\n )}\n >\n {option.label}\n \n )\n }\n showOptionsSeparator={true}\n clickListenerOn=\"checkbox\"\n {...(!isEmpty && {\n footer: (\n
    \n \n {\n handleApply();\n setShow(false);\n }}\n disabled={selectedTypeIds.length === 0}\n className=\"apply-btn\"\n >\n Apply\n \n
    \n ),\n })}\n >\n setShow(!show)}\n >\n
    \n
    \n \n
    \n {selectedTypeIds.length === 7\n ? 'All Tasks'\n : `${selectedTypeIds.length} Task Types Selected`}\n
    \n
    \n {show ? : }\n
    \n \n \n );\n};\n\nexport default TaskTypeSelect;\n","import React from 'react';\n\nconst Vector = ({ width = 18, height = 18 }) => (\n \n \n \n);\n\nexport default Vector;\n","import React, { useState } from 'react';\nimport { Filter, Refresh } from '@saleshandy/icons';\nimport { Button } from '@saleshandy/design-system';\nimport { useTranslation } from 'react-i18next';\nimport type { IProps } from './tasks-filter-bar-container';\nimport SearchInput from '../../../../../../shared/design-system/components/atoms/search-input';\nimport { IconPlace } from '../../../../../../shared/design-system/components/dropdown';\nimport {\n OverlayTooltip,\n Placement,\n} from '../../../../../../shared/design-system/components/overlay';\nimport { accessibleOnClick } from '../../../../../../shared/utils/accessible-on-click';\nimport TasksBulkActions from '../tasks-bulk-actions';\nimport TaskTypeSelect from './components/task-type-select';\nimport { TaskAction, TaskStatusKey } from '../../../../utils/enums';\nimport Vector from '../../../../../../shared/svg/vector';\nimport RefreshButton from '../../../../../../shared/design-system/components/atoms/refresh-button/refresh-button';\n\nconst TasksFilterBar: React.FC = ({\n status,\n onFilterToggle,\n onSearch,\n onTaskTypeFilterApply,\n onAction,\n onRefresh,\n onStartAllTasks,\n tasksCount,\n}) => {\n const { t } = useTranslation();\n\n const [searchValue, setSearchValue] = useState('');\n\n //* Search\n const handleClearSearch = () => {\n setSearchValue('');\n onSearch('');\n };\n const onSearchChangeHandler = (e: string) => {\n setSearchValue(e);\n };\n\n return (\n
    \n
    \n onSearch(searchValue)}\n searchValue={searchValue}\n setSearchValue={onSearchChangeHandler}\n onClearSearch={handleClearSearch}\n placeholder=\"Search here...\"\n searchIconPlace={IconPlace?.Left}\n />\n\n \n \n \n
    \n \n
    \n\n
    \n \n \n \n
    \n \n\n
    \n \n
    \n {tasksCount !== 0 &&\n !(\n status === TaskStatusKey.Completed ||\n status === TaskStatusKey.Skipped\n ) && (\n <>\n
    \n \n \n )}\n
    \n \n );\n};\n\nexport default TasksFilterBar;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps, withRouter } from 'react-router';\nimport { RootState } from '../../../../../../store/root-reducer';\nimport { GetTasksParams, UpdateTask } from '../../../../utils/types';\nimport {\n getTasksRequest,\n getTaskStatusCountRequest,\n updateTasksRequest,\n} from '../../../../extra-actions';\nimport TasksFilterBar from './tasks-filter-bar';\nimport { TaskAction, TaskStatusKey } from '../../../../utils/enums';\n\nconst mapStateToProps = (state: RootState) => ({\n getTasksRequestStatus: state.tasks.getTasksRequest.status,\n taskActionRequestStatus: state.tasks.updateTasksRequest.status,\n});\n\nconst mapDispatchToProps = {\n getTasksRequest: (params: GetTasksParams) => getTasksRequest(params),\n updateTasksRequest: (payload: UpdateTask) => updateTasksRequest(payload),\n getTasksStatusCountRequest: (params: GetTasksParams) =>\n getTaskStatusCountRequest(params),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps &\n RouteComponentProps & {\n onFilterToggle: VoidFunction;\n onSearch: (searchValue: string) => void;\n onTaskTypeFilterApply: (selectedIds: number[]) => void;\n onAction: (action: TaskAction) => void;\n onStartAllTasks: VoidFunction;\n onRefresh: VoidFunction;\n tasksCount: number;\n status: TaskStatusKey;\n };\n\nexport default withRouter(connector(TasksFilterBar));\n","import { getTasks } from '../../../helper/tasks.api';\nimport { GetTasksParams } from '../../../utils/types';\n\nexport const getTasksListFetcher = async (params: GetTasksParams) => {\n const res = await getTasks(params);\n\n return res?.payload;\n};\n","import React, { useEffect, useState } from 'react';\nimport { Replace } from '@saleshandy/icons';\nimport type { IProps } from './reassign-modal-container';\nimport ConfirmationModalV3 from '../../../../../../shared/design-system/components/atoms/confirmation-modal/confirmation-modal-v3';\nimport { getIsRequestPending } from '../../../../../../shared/utils';\nimport { getSelectedTasksId } from '../../utils/helper';\nimport Select from '../../../../../../shared/design-system/components/select';\n\nconst ReassignModal: React.FC = ({\n show,\n selectedTasks,\n taskActionRequestStatus,\n taskAssigneeList,\n userId,\n onClose,\n onSubmit,\n sendGetTaskAssigneeListRequest,\n}) => {\n const selectedTaskIds = getSelectedTasksId(selectedTasks);\n\n const [selectedAssignee, setSelectedAssignee] = useState(null);\n\n const isButtonDisabled = () => getIsRequestPending(taskActionRequestStatus);\n\n useEffect(() => {\n sendGetTaskAssigneeListRequest(userId);\n }, []);\n\n //! Render Function\n const getModalContent = () => {\n const arr = [\n {\n firstName: taskAssigneeList?.firstName,\n lastName: taskAssigneeList?.lastName,\n id: taskAssigneeList?.id,\n },\n ];\n const options = arr?.map((item) => ({\n key: `${item?.firstName} ${item?.lastName}`,\n value: item.id,\n }));\n\n return (\n
    \n \n Task assignee will have full access to the respective sequence(s) and\n prospects of that sequence(s).\n \n\n
    \n Assign to\n
    \n \n options={options}\n selectedOptionKey={\n options?.find((item) => item.value === selectedAssignee)?.key\n }\n placeholder=\"Select Assignee\"\n optionRenderer={(option) => {option?.key}}\n selectedOptionRenderer={([option]) => {option?.key}}\n onChange={([option]) => setSelectedAssignee(option?.value)}\n isLoading={getIsRequestPending(taskActionRequestStatus)}\n />\n
    \n
    \n
    \n );\n };\n\n return (\n onSubmit(selectedAssignee)}\n onClose={onClose}\n showCloseIcon={false}\n hideTitleIcon={true}\n icon={}\n title={`Re-assign ${selectedTaskIds?.length || '1'} Tasks`}\n cancelButtonText=\"Cancel\"\n submitButtonText=\"Assign\"\n content={getModalContent()}\n isSubmitLoading={getIsRequestPending(taskActionRequestStatus)}\n isSubmitDisabled={isButtonDisabled()}\n className=\"task-confirmation-modal-bulk-action\"\n />\n );\n};\n\nexport default ReassignModal;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../../../store/root-reducer';\nimport { UpdateTask } from '../../../../utils/types';\nimport { updateTasksRequest } from '../../../../extra-actions';\nimport ReassignModal from './reassign-modal';\nimport { getTaskAssigneeListRequest } from '../../../../../sequence/extra-actions';\n\nconst mapStateToProps = (state: RootState) => ({\n taskActionRequestStatus: state.tasks.updateTasksRequest.status,\n selectedTasks: state.tasks.selectedTasks,\n taskAssigneeList: state.sequence.taskAssigneeList,\n userId: state.home.userId,\n});\n\nconst mapDispatchToProps = {\n updateTasksRequest: (payload: UpdateTask) => updateTasksRequest(payload),\n sendGetTaskAssigneeListRequest: (userId: number) =>\n getTaskAssigneeListRequest({ userId }),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n show: boolean;\n onClose: VoidFunction;\n onSubmit: (id: number) => void;\n};\n\nexport default connector(ReassignModal);\n","import React from 'react';\n\nconst TaskBanner = ({ selectedTasks }) => (\n \n \n {`${selectedTasks?.length} task(s) selected.`}\n \n \n);\n\nexport default TaskBanner;\n","import { SequenceStepType } from '../../../../sequence/enums';\nimport { isLinkedInType } from '../../tasks-content/utils/helper';\n\nconst getContactName = (firstName, lastName) => {\n if (firstName && lastName) {\n return `${firstName} ${lastName}`;\n }\n if (firstName) {\n return firstName;\n }\n return lastName;\n};\n\nconst getAttributes = (attributes) =>\n attributes?.map(({ attributeValue, fieldRef }) => ({\n value: attributeValue,\n label: fieldRef.label,\n isDefault: fieldRef.isDefault,\n }));\n\nexport const getProspectDetails = (attributes) => {\n const field = {\n Email: '',\n 'First Name': '',\n 'Last Name': '',\n LinkedIn: '',\n Twitter: '',\n Facebook: '',\n Website: '',\n Name: '',\n };\n\n getAttributes(attributes)?.forEach((contactField) => {\n if (\n contactField.label === 'Email' ||\n contactField.label === 'First Name' ||\n contactField.label === 'Last Name' ||\n contactField.label === 'LinkedIn' ||\n contactField.label === 'Twitter' ||\n contactField.label === 'Facebook' ||\n contactField.label === 'Website'\n ) {\n field[contactField.label] = contactField.value;\n }\n });\n\n field.Name =\n getContactName(field['First Name'], field['Last Name']) || 'No Name...';\n\n return field;\n};\n\nexport const getTaskContentLabel = (taskType: SequenceStepType) => {\n if (\n taskType === SequenceStepType.LinkedInConnectionRequest ||\n taskType === SequenceStepType.LinkedInMessage\n ) {\n return 'LinkedIn Connection Message';\n }\n\n if (taskType === SequenceStepType.LinkedInInMail) {\n return 'LinkedIn InMail Message';\n }\n\n return null;\n};\n\nexport const removeLinkedinPrefix = (text, type) => {\n if (isLinkedInType(type)) {\n return text?.substring(9);\n }\n\n return text;\n};\n\nexport const getButtonLabel = (taskType: SequenceStepType) => {\n if (taskType === SequenceStepType.LinkedInConnectionRequest) {\n return 'Send Request';\n }\n if (taskType === SequenceStepType.LinkedInMessage) {\n return 'Send Message';\n }\n if (taskType === SequenceStepType.LinkedInInMail) {\n return 'Send InMail';\n }\n\n return 'View Profile';\n};\n\nexport const stepContentMaxLength = {\n [SequenceStepType.LinkedInConnectionRequest]: 300,\n [SequenceStepType.LinkedInMessage]: 8000,\n [SequenceStepType.LinkedInInMail]: 1900,\n [SequenceStepType.LinkedInViewProfile]: 3000,\n [SequenceStepType.LinkedInPostInteraction]: 3000,\n [SequenceStepType.Call]: 3000,\n [SequenceStepType.Custom]: 3000,\n};\n","import React, { useState, useEffect } from 'react';\nimport { Modal, OverlayTrigger, Tooltip } from 'react-bootstrap';\nimport {\n Alarm,\n Check,\n Checkbox,\n ChevronDown,\n ChevronLeft,\n ChevronRight,\n ChevronUp,\n Copy,\n Cross,\n ForwardStep,\n Linkedin,\n Mail,\n Note,\n Send,\n Signal,\n TwitterBw,\n User,\n Whatsapp,\n World,\n} from '@saleshandy/icons';\nimport { Accordion, Button } from '@saleshandy/design-system';\nimport type { IProps } from './tasker-modal-container';\nimport { SequenceStepType } from '../../../sequence/enums';\nimport {\n getCallOutcomeOptions,\n isLinkedInType,\n} from '../tasks-content/utils/helper';\nimport { stepBgColor } from '../../../sequence/helpers/step-types';\nimport { Priority } from '../../../../shared/components/priority';\nimport { getStepPriority } from '../../../sequence/helpers/sequence-step';\nimport {\n getButtonLabel,\n getProspectDetails,\n getTaskContentLabel,\n removeLinkedinPrefix,\n stepContentMaxLength,\n} from './utils/helper';\nimport TruncatedTextWithTooltip from '../../../../shared/components/truncated-text-with-tooltip';\nimport Select from '../../../../shared/design-system/components/select';\nimport { getTaskStatusParams } from '../../utils/helper';\nimport { getSubjectStr } from '../../../sequence/components/sequence-single-content/components/sequence-single-step-variant-item/helper';\nimport { TaskAction, TaskStatusKey } from '../../utils/enums';\nimport { accessibleOnClick } from '../../../../shared/utils/accessible-on-click';\nimport {\n executeOnRequestStatus,\n getFormattedDateWithMoment,\n getIsRequestPending,\n} from '../../../../shared/utils';\nimport { getStepType } from '../../../sequence/shared/modals/create-step-modal/utils/helper';\nimport Spinner from '../../../../shared/design-system/components/atoms/custom-spinner';\nimport toaster, { Theme } from '../../../../shared/toaster';\nimport GenericCustomOutcomeDropdown from '../../../settings/components/custom-outcomes/components/custom-outcome-dropdown';\nimport {\n getOptionFromOutcome,\n mapOutcomeToOption,\n} from '../../../sequence/components/sequence-single-content/components/sequence-single-contacts/components/prospect-outcome-select/utils/helper';\nimport { getOutcomeIcon } from '../../../sequence/components/sequence-single-content/components/sequence-single-contacts/components/contact-list-content/components/helpers/step-filter-mapper';\nimport {\n OverlayTooltip,\n Placement,\n} from '../../../../shared/design-system/components/overlay';\nimport hasPermission from '../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../shared/utils/access-control/enums/permissions';\n\nconst getTaskIcon = (type: SequenceStepType) => {\n if (isLinkedInType(type)) {\n return ;\n }\n if (type === SequenceStepType.Whatsapp) {\n return ;\n }\n if (type === SequenceStepType.Call) {\n return ;\n }\n if (type === SequenceStepType.Email) {\n return ;\n }\n\n return ;\n};\n\nconst TaskerModal: React.FC = ({\n show,\n taskStatus,\n tasksCount,\n taskerData,\n paginationOptions,\n taskId,\n allOutcomes,\n getTaskerDataRequestStatus,\n outcomeChangeRequestStatus,\n updateTaskNoteRequestStatus,\n filters,\n onHide,\n onTaskNoteClick,\n getTaskerDataRequest,\n updateTasks,\n onOutcomeChange,\n sendGetAllOutcomesRequest,\n resetTaskerState,\n resetTaskId,\n onRefresh,\n}) => {\n const getInitialTaskNumber = (index = null): number => {\n if (paginationOptions.pageNumber > 1) {\n return (\n paginationOptions.pageLimit * (paginationOptions.pageNumber - 1) +\n 1 +\n index\n );\n }\n\n return index + 1 || 1;\n };\n\n //! State\n const [callOutcome, setCallOutcome] = useState<{\n key: string;\n label: string;\n }>(null);\n const [taskerDataIndex, setTaskerDataIndex] = useState(0);\n const [currentTaskNumber, setCurrentTaskNumber] = useState(\n getInitialTaskNumber(),\n );\n\n const [currentData, setCurrentData] = useState(taskerData?.[0]);\n const [currentPage, setCurrentPage] = useState(paginationOptions.pageNumber);\n const [isContentCopied, setIsContentCopied] = useState(false);\n\n //! Helper Functions\n const getTaskerDataIndex = (): number => {\n if (currentPage === 1) {\n return tasksCount - 1;\n }\n\n return paginationOptions.pageLimit - 1;\n };\n const getTooltip = (text: string, exterClass?: string) => (\n \n {text}\n \n );\n const onContentCopy = (text) => {\n navigator.clipboard.writeText(text);\n setIsContentCopied(true);\n\n setTimeout(() => {\n setIsContentCopied(false);\n }, 2000);\n };\n const resetState = () => {\n setTaskerDataIndex(0);\n setCurrentTaskNumber(1);\n setCurrentData(taskerData[0]);\n setCurrentPage(paginationOptions.pageNumber);\n };\n const closeModal = () => {\n resetState();\n onHide();\n };\n\n const handleOutcomeChange = (option) => {\n setCallOutcome(option);\n onOutcomeChange(option);\n };\n\n const apiCall = (pageNumber = currentPage) => {\n getTaskerDataRequest({\n status: getTaskStatusParams(taskStatus),\n pageLimit: paginationOptions.pageLimit,\n pageNumber,\n ...filters,\n });\n };\n const openLink = (url: string) => window.open(url, '_blank');\n\n const getTaskContent = (): string => {\n const contentText =\n currentData?.taskPayload?.payload?.connectionNote ||\n currentData?.taskPayload?.payload?.message ||\n currentData?.taskPayload?.payload?.content;\n\n return contentText?.length ? currentData?.taskPayload?.payload : null;\n };\n const getTaskInstruction = (): string => currentData?.instruction || null;\n\n const handleUpdateTask = (tAction: TaskAction) => {\n updateTasks(currentData?.id, tAction, currentData?.type, {\n taskPayloads: [getTaskContent()],\n instructions: [getTaskInstruction()],\n });\n };\n\n const sendLinkedinRequest = () => {\n const prospectDetails = getProspectDetails(\n currentData?.prospect?.attributes,\n );\n\n if (!prospectDetails?.LinkedIn) {\n return toaster.error('LinkedIn profile not found', { theme: Theme.New });\n }\n\n return window.open(prospectDetails?.LinkedIn, '_blank');\n };\n\n const onNextPage = () => {\n setCurrentPage((prev) => prev + 1);\n setTaskerDataIndex(0);\n setCurrentTaskNumber((prev) => prev + 1);\n resetTaskId();\n apiCall(currentPage + 1);\n };\n const onPrevPage = () => {\n setCurrentPage((prev) => prev - 1);\n setTaskerDataIndex(getTaskerDataIndex());\n setCurrentTaskNumber((prev) => prev - 1);\n resetTaskId();\n apiCall(currentPage - 1);\n };\n\n const onNextTask = () => {\n if (taskerDataIndex === tasksCount - 1) {\n return;\n }\n\n if (taskerDataIndex === taskerData?.length - 1) {\n onNextPage();\n return;\n }\n\n setCurrentTaskNumber((prev) => prev + 1);\n setTaskerDataIndex((prev) => prev + 1);\n setCurrentData(taskerData[taskerDataIndex + 1]);\n };\n\n const onPrevTask = () => {\n if (currentTaskNumber === 1) {\n return;\n }\n\n if (taskerDataIndex === 0 && currentPage > 1) {\n onPrevPage();\n return;\n }\n\n setCurrentTaskNumber((prev) => prev - 1);\n setTaskerDataIndex((prev) => prev - 1);\n setCurrentData(taskerData[taskerDataIndex - 1]);\n };\n\n //! UseEffect\n useEffect(() => {\n apiCall();\n sendGetAllOutcomesRequest();\n }, []);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: outcomeChangeRequestStatus,\n onSuccess: () => {\n apiCall();\n },\n });\n }, [outcomeChangeRequestStatus]);\n useEffect(() => {\n executeOnRequestStatus({\n status: updateTaskNoteRequestStatus,\n onSuccess: () => {\n apiCall();\n },\n });\n }, [updateTaskNoteRequestStatus]);\n\n useEffect(() => {\n if (getIsRequestPending(getTaskerDataRequestStatus)) {\n return;\n }\n\n if (!tasksCount) {\n closeModal();\n }\n\n //* If last task get removed */\n if (\n taskerData.length === taskerDataIndex &&\n tasksCount > currentTaskNumber &&\n taskerData.length > 1\n ) {\n onNextPage();\n return;\n }\n\n //* If first task from > 1 page get removed */\n if (taskerData.length === taskerDataIndex) {\n onPrevTask();\n }\n\n setCurrentData(taskerData[taskerDataIndex]);\n }, [tasksCount]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getTaskerDataRequestStatus,\n onSuccess: () => {\n resetTaskerState();\n\n if (taskId) {\n const index = taskerData?.findIndex((task) => task.id === taskId);\n\n if (index === -1) {\n onRefresh();\n closeModal();\n return;\n }\n\n setTaskerDataIndex(index);\n setCurrentTaskNumber(getInitialTaskNumber(index));\n setCurrentData(taskerData[index]);\n return;\n }\n\n setCurrentData(taskerData[taskerDataIndex]);\n },\n });\n }, [getTaskerDataRequestStatus]);\n\n //! Render Functions\n const renderTaskIcon = () => (\n \n {getTaskIcon(currentData?.type)}\n \n );\n const renderTaskerPagination = () => (\n
    \n \n \n {currentTaskNumber} of {tasksCount} Tasks\n \n \n
    \n );\n const renderTaskPriority = () => {\n const { text, variant, className } = getStepPriority(currentData?.priority);\n\n return ;\n };\n const renderProspectDetails = () => {\n const prospectDetails = getProspectDetails(\n currentData?.prospect?.attributes,\n );\n\n return (\n
    \n
    \n
    \n \n \n {prospectDetails.Name}\n \n {prospectDetails.LinkedIn && (\n openLink(prospectDetails.LinkedIn)}\n />\n )}\n {prospectDetails.Twitter && (\n openLink(prospectDetails.Twitter)}\n />\n )}\n {prospectDetails.Website && (\n openLink(prospectDetails.Website)}\n />\n )}\n
    \n\n {prospectDetails.Email && (\n
    \n \n \n {prospectDetails.Email}\n \n
    \n )}\n\n
    \n \n \n Step {currentData?.sequenceProspectTask?.step?.number}\n \n \n
    \n\n
    \n (\n
    \n {getOutcomeIcon(option?.name, false, {\n isDefault: option.isDefault,\n sentiment: option.sentiment,\n })}\n {option.name}\n
    \n )}\n disabled={!hasPermission(Permissions.UNIBOX_CATEGORY_UPDATE)}\n />\n
    \n
    \n\n
    \n \n onTaskNoteClick(currentData?.id, currentData?.note),\n )}\n >\n \n \n Task Note\n \n
    \n
    \n \n );\n };\n const renderTaskInstruction = () => (\n <>\n
    \n \n \n \n \n Task Instruction\n \n {({ expanded }) =>\n expanded ? : \n }\n \n \n \n \n \n {currentData?.instruction}\n \n \n \n \n
    \n\n
    \n \n );\n const renderTaskContent = () => {\n const contentText =\n currentData?.taskPayload?.payload?.connectionNote ||\n currentData?.taskPayload?.payload?.message ||\n currentData?.taskPayload?.payload?.content;\n\n if (!contentText?.length) {\n return null;\n }\n\n return (\n
    \n {currentData?.type === SequenceStepType.LinkedInInMail && (\n
    \n \n {getTaskContentLabel(currentData?.type)}\n \n
    \n
    \n \n {currentData?.taskPayload?.payload?.subject}\n \n
    \n\n
    \n \n \n onContentCopy(currentData?.taskPayload?.payload?.subject)\n }\n />\n \n\n \n {currentData?.taskPayload?.payload?.subject?.length}/{200}\n \n
    \n
    \n
    \n )}\n\n <>\n \n {getTaskContentLabel(currentData?.type)}\n \n
    \n
    \n \n {contentText}\n \n
    \n\n
    \n \n onContentCopy(contentText)}\n />\n \n \n {contentText?.length}/{stepContentMaxLength[currentData?.type]}\n \n
    \n
    \n \n
    \n );\n };\n const renderCallOutcomeSelect = () => (\n
    \n Call Outcome\n \n options={getCallOutcomeOptions}\n placeholder=\"Select call outcome\"\n selectedOptionKey={callOutcome?.key}\n onChange={([option]) => handleOutcomeChange(option)}\n optionRenderer={(option) => {option?.label}}\n selectedOptionRenderer={([option]) => {option?.label}}\n placement={Placement.Top}\n />\n
    \n );\n const getDateColumnCellValue = (tStatus: TaskStatusKey, date: string) => {\n if (tStatus === TaskStatusKey.DueToday) {\n return 'Due Today';\n }\n if (tStatus === TaskStatusKey.Upcoming) {\n return `Due in ${getFormattedDateWithMoment(date)}`;\n }\n if (tStatus === TaskStatusKey.Overdue) {\n return `Due ${getFormattedDateWithMoment(date)} ago`;\n }\n\n return `${getFormattedDateWithMoment(date)}\n ${getFormattedDateWithMoment(date).toLowerCase() !== 'today' && 'ago'}`;\n };\n\n return (\n \n {getIsRequestPending(getTaskerDataRequestStatus) ? (\n
    \n \n
    \n ) : (\n <>\n \n
    \n
    \n {renderTaskIcon()}\n
    \n \n
    \n \n {getDateColumnCellValue(taskStatus, currentData?.dueAt)}\n \n {renderTaskPriority()}\n
    \n
    \n
    \n\n
    {renderTaskerPagination()}
    \n
    \n \n
    \n \n {/* If LikedIn URL not Found */}\n {isLinkedInType(currentData?.type) &&\n !getProspectDetails(currentData?.prospect?.attributes)\n ?.LinkedIn && (\n
    \n \n LinkedIn URL is invalid / not available\n \n
    \n )}\n\n {/* Prospect Details Section */}\n
    {renderProspectDetails()}
    \n\n {/* Task Instruction */}\n {currentData?.instruction && (\n
    {renderTaskInstruction()}
    \n )}\n\n {/* Task Content */}\n {renderTaskContent()}\n\n {/* Call Task Outcome */}\n {currentData?.type === SequenceStepType.Call && (\n
    {renderCallOutcomeSelect()}
    \n )}\n
    \n \n \n handleUpdateTask(TaskAction.SkipTask),\n )}\n >\n \n Skip\n
    \n\n
    \n \n \n handleUpdateTask(TaskAction.SnoozeTask),\n )}\n >\n \n
    \n \n\n handleUpdateTask(TaskAction.ExecuteTask)}\n >\n \n Complete\n \n\n {isLinkedInType(currentData?.type) && (\n \n {getButtonLabel(currentData?.type)}\n \n )}\n \n \n \n )}\n \n );\n};\n\nexport default TaskerModal;\n","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../shared/enums/request-status';\nimport { RequestState } from '../../shared/types/request-state';\nimport {\n getTasksRequest,\n getTaskStatusCountRequest,\n updateTasksRequest,\n getTaskerDataRequest,\n updateTaskNoteRequest,\n} from './extra-actions';\nimport {\n ProspectFilterResetArg,\n ProspectsFilters,\n} from '../../shared/types/prospects-filters';\nimport {\n getTasksFiltersFromLocalStore,\n removeTasksFiltersFromLocalStore,\n setTasksFiltersInLocalStore,\n} from './components/tasks-content/utils/helper';\n\nexport const tasksFiltersInitialState: ProspectsFilters = {\n conversationType: [],\n tags: [],\n owners: [],\n status: [],\n outcomes: [],\n sequences: [],\n 'verification status': [],\n 'task priority': [],\n 'created date': [],\n 'creation source': [],\n 'current step': [],\n 'email account': [],\n 'client associated': [],\n 'imported file': []\n};\n\ninterface State {\n getTasksRequest: RequestState;\n getTaskStatusCountRequest: RequestState;\n updateTasksRequest: RequestState;\n getTaskerDataRequest: RequestState;\n updateTaskNoteRequest: RequestState;\n tasks: any[];\n taskStatusCount: any[];\n tasksCount: number;\n tasksFilters: ProspectsFilters;\n selectedTasks: any[];\n taskerData: any[];\n}\n\nconst initialState: State = {\n getTasksRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getTaskStatusCountRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateTasksRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getTaskerDataRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateTaskNoteRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n tasks: [],\n taskStatusCount: null,\n tasksCount: null,\n tasksFilters: getTasksFiltersFromLocalStore() || tasksFiltersInitialState,\n selectedTasks: [],\n taskerData: [],\n};\n\nconst tasksSlice = createSlice({\n name: 'tasks',\n initialState,\n reducers: {\n checkSingle: (state, action) => {\n if (action.payload.status === true) {\n state.selectedTasks = state.selectedTasks.concat([action.payload.row]);\n } else {\n state.selectedTasks = state.selectedTasks.filter(\n ({ id }) => id !== action.payload.row.id,\n );\n }\n },\n checkAll: (state, action) => {\n if (action.payload.status === true) {\n state.selectedTasks = state.selectedTasks.concat(action.payload.rows);\n } else {\n state.selectedTasks = state.selectedTasks.reduce((acc, item) => {\n let isPresent = false;\n action.payload.rows.forEach(({ id }) => {\n if (id === item.id) {\n isPresent = true;\n }\n });\n if (isPresent) {\n return acc;\n }\n return [...acc, item];\n }, []);\n }\n },\n resetSelectedTasks: (state) => {\n state.selectedTasks = initialState.selectedTasks;\n },\n resetTasksState: (state) => {\n state.updateTasksRequest = initialState.updateTasksRequest;\n },\n resetTaskerState: (state) => {\n state.getTaskerDataRequest = initialState.getTaskerDataRequest;\n },\n setTasksFilters: (state, action) => {\n state.tasksFilters = { ...action.payload };\n setTasksFiltersInLocalStore(action.payload);\n },\n resetTasksFilters: (state, action) => {\n const resetOff: ProspectFilterResetArg = action.payload;\n if (resetOff === 'all') {\n state.tasksFilters = tasksFiltersInitialState;\n\n removeTasksFiltersFromLocalStore();\n } else {\n state.tasksFilters[resetOff] = [];\n setTasksFiltersInLocalStore(state.tasksFilters);\n }\n },\n removeTaskFromTaskerData: (state, action) => {\n state.taskerData = state.taskerData.filter(\n (task) => task.id !== action.payload.taskId,\n );\n },\n },\n extraReducers: (builder) => {\n // Get Tasks Status Count\n builder.addCase(getTaskStatusCountRequest.pending, (state) => {\n state.getTaskStatusCountRequest.status = RequestStatus.Pending;\n state.getTaskStatusCountRequest.error = null;\n });\n builder.addCase(getTaskStatusCountRequest.fulfilled, (state, action) => {\n state.getTaskStatusCountRequest.status = RequestStatus.Succeeded;\n state.getTaskStatusCountRequest.message = action.payload.message;\n const [payload] = action.payload.payload;\n state.taskStatusCount = payload;\n });\n builder.addCase(getTaskStatusCountRequest.rejected, (state, action) => {\n state.getTaskStatusCountRequest.status = RequestStatus.Failed;\n state.getTaskStatusCountRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Tasks\n builder.addCase(getTasksRequest.pending, (state) => {\n state.getTasksRequest.status = RequestStatus.Pending;\n state.getTasksRequest.error = null;\n });\n builder.addCase(getTasksRequest.fulfilled, (state, action) => {\n state.getTasksRequest.status = RequestStatus.Succeeded;\n state.getTasksRequest.message = action.payload.message;\n state.tasks = action.payload.payload?.data;\n state.tasksCount = action.payload.payload?.count;\n });\n builder.addCase(getTasksRequest.rejected, (state, action) => {\n state.getTasksRequest.status = RequestStatus.Failed;\n state.getTasksRequest.error = !action.payload.isHandled && action.payload;\n });\n\n // Update Tasks\n builder.addCase(updateTasksRequest.pending, (state) => {\n state.updateTasksRequest.status = RequestStatus.Pending;\n state.updateTasksRequest.error = null;\n });\n builder.addCase(updateTasksRequest.fulfilled, (state, action) => {\n state.updateTasksRequest.status = RequestStatus.Succeeded;\n state.updateTasksRequest.message = action.payload.message;\n });\n builder.addCase(updateTasksRequest.rejected, (state, action) => {\n state.updateTasksRequest.status = RequestStatus.Failed;\n state.updateTasksRequest.message = action.payload.message;\n state.updateTasksRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Tasker Data\n builder.addCase(getTaskerDataRequest.pending, (state) => {\n state.getTaskerDataRequest.status = RequestStatus.Pending;\n state.getTaskerDataRequest.error = null;\n });\n builder.addCase(getTaskerDataRequest.fulfilled, (state, action) => {\n state.getTaskerDataRequest.status = RequestStatus.Succeeded;\n state.getTaskerDataRequest.message = action.payload.message;\n state.taskerData = action.payload.payload;\n });\n builder.addCase(getTaskerDataRequest.rejected, (state, action) => {\n state.getTaskerDataRequest.status = RequestStatus.Failed;\n state.getTaskerDataRequest.message = action.payload.message;\n state.getTaskerDataRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Update Task Note\n builder.addCase(updateTaskNoteRequest.pending, (state) => {\n state.updateTaskNoteRequest.status = RequestStatus.Pending;\n state.updateTaskNoteRequest.error = null;\n });\n builder.addCase(updateTaskNoteRequest.fulfilled, (state, action) => {\n state.updateTaskNoteRequest.status = RequestStatus.Succeeded;\n state.updateTaskNoteRequest.message = action.payload.message;\n });\n builder.addCase(updateTaskNoteRequest.rejected, (state, action) => {\n state.updateTaskNoteRequest.status = RequestStatus.Failed;\n state.updateTaskNoteRequest.message = action.payload.message;\n state.updateTaskNoteRequest.error =\n !action.payload.isHandled && action.payload;\n });\n },\n});\n\nexport const {\n checkSingle,\n checkAll,\n resetTasksState,\n setTasksFilters,\n resetTasksFilters,\n resetSelectedTasks,\n removeTaskFromTaskerData,\n resetTaskerState,\n} = tasksSlice.actions;\nexport default tasksSlice.reducer;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps, withRouter } from 'react-router';\nimport { RootState } from '../../../../store/root-reducer';\nimport { GetTaskerParams, GetTasksParams, UpdateTask } from '../../utils/types';\nimport {\n getTaskerDataRequest,\n getTaskStatusCountRequest,\n updateTasksRequest,\n} from '../../extra-actions';\nimport TaskerModal from './tasker-modal';\nimport { TaskAction, TaskStatusKey } from '../../utils/enums';\nimport { SequenceStepType } from '../../../sequence/enums';\nimport { resetTaskerState } from '../../tasks-slice';\nimport { getCustomOutcomeRequest } from '../../../settings/components/custom-outcomes/extra-actions';\n\nconst mapStateToProps = (state: RootState) => ({\n getTaskerDataRequestStatus: state.tasks.getTaskerDataRequest.status,\n taskActionRequestStatus: state.tasks.updateTasksRequest.status,\n taskerData: state.tasks.taskerData,\n allOutcomes: state.customOutcome.outcomes,\n outcomeChangeRequestStatus: state.sequence.onOutcomeChangeRequest.status,\n updateTaskNoteRequestStatus: state.tasks.updateTaskNoteRequest.status,\n});\n\nconst mapDispatchToProps = {\n updateTasksRequest: (payload: UpdateTask) => updateTasksRequest(payload),\n getTasksStatusCountRequest: (params: GetTasksParams) =>\n getTaskStatusCountRequest(params),\n getTaskerDataRequest: (params: GetTaskerParams) =>\n getTaskerDataRequest(params),\n sendGetAllOutcomesRequest: () => getCustomOutcomeRequest(),\n resetTaskerState: () => resetTaskerState(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps &\n RouteComponentProps & {\n show: boolean;\n onHide: VoidFunction;\n taskStatus: TaskStatusKey;\n tasksCount: number;\n paginationOptions: { pageLimit: number; pageNumber: number };\n taskId: number;\n filters: GetTasksParams;\n onTaskNoteClick: (tId: number, tNote: string) => void;\n onOutcomeChange: (outcome: { key: string; label: string }) => void;\n updateTasks: (\n tId: number,\n tAction: TaskAction,\n tType: SequenceStepType,\n extraPayload?: any,\n ) => void;\n resetTaskId: VoidFunction;\n onRefresh: VoidFunction;\n };\n\nexport default withRouter(connector(TaskerModal));\n","import React, { useState, useCallback } from 'react';\nimport debounce from 'lodash/debounce';\nimport { InfoCircle, Minus } from '@saleshandy/icons';\nimport { OverlayTooltip } from '../../../../../../shared/design-system/components/overlay';\nimport type { IProps } from './types';\nimport StepContentArea from '../../../../../sequence/shared/modals/create-step-modal/components/step-content-area';\nimport Modal from '../../../../../../shared/design-system/components/atoms/modal';\n\nconst TaskNoteModal: React.FC = ({\n taskId,\n show,\n onClose,\n onSubmit,\n taskNote,\n isLoading,\n}) => {\n const [text, setText] = useState(taskNote);\n\n const debouncedSave = useCallback(\n debounce(\n (t: string) =>\n t.length &&\n onSubmit({\n taskId,\n taskNote: t,\n }),\n 1500,\n ),\n [],\n );\n\n const onSave = (t: string) => {\n if (t.length > 3000) return;\n\n setText(t);\n debouncedSave(t);\n };\n\n return (\n \n
    \n Task Note\n \n \n \n
    \n
    \n \n
    \n \n }\n backdrop=\"static\"\n className=\"cs-task-note task-note-modal\"\n onClose={onClose}\n onHide={onClose}\n isCustomCloseIcon={false}\n extraModalProps={{\n centered: true,\n enforceFocus: false,\n 'aria-labelledby': 'contained-modal-title-vcenter',\n }}\n hideFooter\n >\n onSave(value)}\n onHide={onClose}\n placeholder=\"Add Task Note\"\n isLoading={isLoading}\n isAutoSaved\n />\n \n );\n};\n\nexport default TaskNoteModal;\n","/* eslint-disable no-return-assign */\nimport React, { useState, useEffect, useRef } from 'react';\nimport { CircleCheck, ForwardStep } from '@saleshandy/icons';\nimport type { IProps } from './tasks-content-container';\nimport Table from '../../../../shared/design-system/components/organisms/table';\nimport { PaginationShowHide } from '../../../../shared/design-system/components/organisms/table/types';\nimport {\n executeOnRequestStatus,\n getIsRequestPending,\n} from '../../../../shared/utils';\nimport { tasksTableData } from './utils/tasks-data';\nimport { getTasksColumns } from './utils/tasks-columns';\nimport { TaskAction, TaskStatusKey } from '../../utils/enums';\nimport SnoozeModal from './components/snooze-modal';\nimport { getTaskStatusParams } from '../../utils/helper';\nimport ConfirmationModalV3 from '../../../../shared/design-system/components/atoms/confirmation-modal/confirmation-modal-v3';\nimport { SequenceStepType } from '../../../sequence/enums';\nimport Select from '../../../../shared/design-system/components/select';\nimport {\n getCallOutcomeOptions,\n getCallTaskDesc,\n getCompleteActionDesc,\n getConfirmationModalClass,\n getSelectedTasksId,\n getTaskActionTitle,\n getTaskTableClass,\n getTaskTypeFiltersInLocalStore,\n getToasterMessage,\n isAnyCallTaskSelected,\n isCallTask,\n} from './utils/helper';\nimport EmptyList from '../../helper/empty-list';\nimport TasksFilterBar from './components/tasks-filter-bar';\nimport { constants } from '../../../../shared/enums/constants';\nimport toaster, { Theme } from '../../../../shared/toaster';\nimport useTasks from './hooks/useTasks';\nimport ProspectsFilters from '../../../prospect/components/prospect-list/components/prospects-filters';\nimport { Filters } from '../../../../shared/types/prospects-filters';\nimport { checkIsFilterApplied } from '../../../sequence/components/sequence-single-content/components/sequence-single-contacts/components/contact-list-content/helper';\nimport ProspectsFilterBar from '../../../prospect/components/prospect-list/components/prospects-filters/prospects-filter-bar';\nimport { resolveFilters } from '../../../prospect/helpers/prospect-filters-resolver';\nimport ReassignModal from './components/reassign-modal';\nimport TaskBanner from './components/task-banner';\nimport TaskerModal from '../tasker-modal';\nimport TaskNoteModal from './components/task-note-modal';\nimport { UpdateTaskNoteRequest } from '../../utils/types';\n// import { updateTasks as sendUpdateTasksRequest } from '../../helper/tasks.api';\n\nconst TasksContent: React.FC = ({\n taskStatus,\n taskActionRequestStatus,\n updateTaskRequestMessage,\n tasksFilters,\n selectedTasks,\n updateTaskNoteRequestStatus,\n updateTasksRequest,\n updateTaskNoteRequest,\n showLoadingBar,\n hideLoadingBar,\n setTasksFilters,\n resetTasksFilters,\n getTasksStatusCountRequest,\n checkSingle,\n resetSelectedTasks,\n removeTaskFromTaskerData,\n}) => {\n const tableRef = useRef(null);\n\n const [paginationOptions, setPaginationOptions] = useState({\n pageNumber: 1,\n pageLimit: constants.DEFAULT_PAGE_SIZE,\n });\n const [search, setSearch] = useState('');\n const [taskId, setTaskId] = useState(null);\n const [taskAction, setTaskAction] = useState(null);\n const [taskType, setTaskType] = useState(null);\n const [callOutcome, setCallOutcome] = useState<{\n key: string;\n label: string;\n }>(null);\n const [taskNote, setTaskNote] = useState('');\n const [extraPayload, setExtraPayload] = useState(null);\n\n const [\n isSnoozeConfirmationModalVisible,\n setIsSnoozeConfirmationModalVisible,\n ] = useState(false);\n const [\n isConfirmationModalVisible,\n setIsConfirmationModalVisible,\n ] = useState(false);\n const [\n isTaskFilterModalVisible,\n setIsTaskFilterModalVisible,\n ] = useState(false);\n const [selectedTaskTypeIds, setSelectedTaskTypeIds] = useState(\n getTaskTypeFiltersInLocalStore()?.join(',') || '',\n );\n const [isReassignModalVisible, setIsReassignModalVisible] = useState(\n false,\n );\n const [\n isSelectedRowBannerVisible,\n setIsSelectedRowBannerVisible,\n ] = useState(false);\n const [isTaskerModalVisible, setTaskerModalVisible] = useState(\n false,\n );\n const [isTaskNoteModalOpen, setIsTaskNoteModalOpen] = useState(\n false,\n );\n\n const filters = resolveFilters(tasksFilters);\n\n const params = {\n ...(filters?.sequences && { sequenceIds: filters?.sequences }),\n ...(filters?.owners && { owners: filters?.owners }),\n ...(filters?.['created date'] && {\n dueDate: filters?.['created date'],\n }),\n ...(filters?.outcomes && { outcomes: filters?.outcomes }),\n ...(filters?.['task priority'] && { priority: filters?.['task priority'] }),\n ...(search && { search }),\n ...(selectedTaskTypeIds && { taskType: selectedTaskTypeIds }),\n };\n\n // SWR\n const { tasks, isLoading, isValidating, mutateTasks } = useTasks({\n status: getTaskStatusParams(taskStatus),\n pageLimit: paginationOptions.pageLimit,\n pageNumber: paginationOptions.pageNumber,\n ...params,\n });\n\n const onRefresh = () => {\n mutateTasks();\n getTasksStatusCountRequest({ ...params });\n };\n\n const paginationChange = ({ page, limit }) => {\n setPaginationOptions({\n pageNumber: page,\n pageLimit: limit,\n });\n\n if (paginationOptions.pageLimit !== limit) {\n setTimeout(() => {\n mutateTasks();\n }, 100);\n }\n };\n\n const updateTasks = (\n tId: number,\n tAction: TaskAction,\n tType: SequenceStepType,\n ePayload = null,\n resetOutcome = true,\n ) => {\n setTaskId(tId);\n setTaskAction(tAction);\n setTaskType(tType);\n setExtraPayload(ePayload);\n\n if (tAction === TaskAction.SnoozeTask) {\n setIsSnoozeConfirmationModalVisible(true);\n return;\n }\n\n resetOutcome && setCallOutcome(null);\n setIsConfirmationModalVisible(true);\n };\n\n const onTaskNoteClick = (tId, tNote) => {\n setTaskId(tId);\n setTaskNote(tNote);\n setIsTaskNoteModalOpen(true);\n };\n\n const onTaskClick = (id: number) => {\n if (\n taskStatus === TaskStatusKey.Completed ||\n taskStatus === TaskStatusKey.Skipped\n ) {\n return null;\n }\n setTaskId(id);\n setTaskerModalVisible(true);\n };\n\n const onSnooze = async (date) => {\n const selectedTaskIds = getSelectedTasksId(selectedTasks);\n\n const payload = {\n taskIds: selectedTaskIds?.length ? selectedTaskIds : [taskId],\n rescheduledDate: date.toString(),\n taskAction: TaskAction.SnoozeTask,\n };\n\n setPaginationOptions({\n pageLimit: paginationOptions.pageLimit,\n pageNumber:\n paginationOptions.pageNumber > 1 && tasks?.data?.length === 1\n ? paginationOptions.pageNumber - 1\n : paginationOptions.pageNumber,\n });\n\n await updateTasksRequest(payload);\n mutateTasks();\n removeTaskFromTaskerData(taskId);\n };\n\n const onConfirm = async () => {\n const selectedTaskIds = getSelectedTasksId(selectedTasks);\n\n const payload = {\n taskIds: selectedTaskIds?.length ? selectedTaskIds : [taskId],\n taskAction,\n ...(taskAction === TaskAction.ExecuteTask &&\n taskType === SequenceStepType.Call && {\n callOutcome: callOutcome.key,\n }),\n ...(extraPayload && { ...extraPayload }),\n };\n\n setPaginationOptions({\n pageLimit: paginationOptions.pageLimit,\n pageNumber:\n paginationOptions.pageNumber > 1 && tasks?.data?.length === 1\n ? paginationOptions.pageNumber - 1\n : paginationOptions.pageNumber,\n });\n\n await updateTasksRequest(payload);\n mutateTasks();\n removeTaskFromTaskerData(taskId);\n setTaskId(null);\n };\n\n //! Bulk Actions\n const onReassign = async (reAssigneeId: number) => {\n const selectedTaskIds = getSelectedTasksId(selectedTasks);\n\n const payload = {\n taskIds: selectedTaskIds?.length ? selectedTaskIds : [taskId],\n newAssigneeId: reAssigneeId,\n taskAction,\n };\n\n await updateTasksRequest(payload);\n mutateTasks();\n };\n\n const onAction = (action: TaskAction) => {\n setTaskAction(action);\n\n if (action === TaskAction.SnoozeTask) {\n setIsSnoozeConfirmationModalVisible(true);\n return;\n }\n if (action === TaskAction.ReassignTask) {\n setIsReassignModalVisible(true);\n return;\n }\n\n setIsConfirmationModalVisible(true);\n };\n\n const showProspectSelectedRowInfoBanner = () => {\n setIsSelectedRowBannerVisible(true);\n };\n const hideProspectSelectedRowInfoBanner = () => {\n setIsSelectedRowBannerVisible(false);\n };\n\n const allSelected = (rows: any, status: boolean) => {\n console.log('selected all', rows, status);\n };\n\n const singleSelected = (row, status: boolean) => {\n // handleResetSelectAllProspectData();\n checkSingle({ row, status });\n // hideProspectSelectedRowInfoBanner();\n };\n\n //! Tasks Filter\n const toggleFilter = () =>\n setIsTaskFilterModalVisible(!isTaskFilterModalVisible);\n const hideFilterModal = () => setIsTaskFilterModalVisible(false);\n\n const getTasksAfterFilter = () => {\n resolveFilters(tasksFilters);\n };\n const onClearFilter = () => {\n mutateTasks();\n };\n const onTaskTypeFilterApply = (selectedIds: number[]) => {\n setSelectedTaskTypeIds(selectedIds.join(','));\n\n getTasksStatusCountRequest({ ...params, taskType: selectedIds.join(',') });\n setTimeout(() => {\n mutateTasks();\n }, 100);\n };\n const handleSearch = (searchValue: string) => {\n setSearch(searchValue);\n\n getTasksStatusCountRequest({ ...params, search: searchValue });\n setTimeout(() => {\n mutateTasks();\n }, 100);\n };\n\n //! useEffect\n useEffect(() => {\n executeOnRequestStatus({\n status: taskActionRequestStatus,\n onSuccess: () => {\n toaster.success(getToasterMessage(taskAction), { theme: Theme.New });\n getTasksStatusCountRequest({\n ...params,\n });\n setIsSnoozeConfirmationModalVisible(false);\n setIsConfirmationModalVisible(false);\n setIsReassignModalVisible(false);\n setTaskId(null);\n resetSelectedTasks();\n },\n });\n }, [taskActionRequestStatus]);\n\n useEffect(() => {\n setPaginationOptions({\n pageLimit: constants.DEFAULT_PAGE_SIZE,\n pageNumber: 1,\n });\n tableRef.current?.resetPagination();\n }, [taskStatus]);\n\n useEffect(() => {\n mutateTasks();\n getTasksStatusCountRequest({\n ...params,\n });\n }, [tasksFilters]);\n\n useEffect(\n () => () => {\n hideLoadingBar();\n resetSelectedTasks();\n },\n [],\n );\n\n //! Render Function\n const getModalContent = () => {\n if (taskAction === TaskAction.ExecuteTask) {\n return (\n <>\n {taskType === SequenceStepType.Call ||\n isAnyCallTaskSelected(selectedTasks) > 0 ? (\n <>\n \n {getCallTaskDesc(selectedTasks?.length)}\n \n
    \n \n options={getCallOutcomeOptions}\n placeholder=\"Select call outcome\"\n selectedOptionKey={callOutcome?.key}\n onChange={([option]) => setCallOutcome(option)}\n optionRenderer={(option) => {option?.label}}\n selectedOptionRenderer={([option]) => (\n {option?.label}\n )}\n />\n
    \n \n ) : (\n \n {getCompleteActionDesc(selectedTasks?.length)}\n \n )}\n \n );\n }\n\n return 'Are you sure you want to skip this task?';\n };\n\n const isButtonDisabled = () =>\n getIsRequestPending(taskActionRequestStatus) ||\n (!callOutcome &&\n taskType === SequenceStepType.Call &&\n taskAction !== TaskAction.SkipTask);\n\n useEffect(() => {\n if (!isLoading && isValidating) {\n showLoadingBar();\n } else {\n hideLoadingBar();\n }\n }, [isLoading, isValidating]);\n\n return (\n <>\n
    \n handleSearch(searchValue)}\n onTaskTypeFilterApply={(selectedIds: number[]) =>\n onTaskTypeFilterApply(selectedIds)\n }\n onRefresh={onRefresh}\n onAction={(action: TaskAction) => onAction(action)}\n onStartAllTasks={() => setTaskerModalVisible(true)}\n tasksCount={tasks?.count}\n status={taskStatus}\n />\n\n {checkIsFilterApplied(tasksFilters) && (\n
    \n \n
    \n )}\n\n {selectedTasks?.length > 0 && (\n
    \n \n
    \n )}\n\n {!isLoading && tasks?.count === 0 ? (\n \n ) : (\n \n singleSelected(row, isSelect)}\n // onRowSelectAll={(rows, isSelect) => allSelected(rows, isSelect)}\n pagination={PaginationShowHide.SHOW}\n isNewPagination={true}\n headerWrapperClasses=\"tasks-table-header\"\n bodyWrapperClasses=\"tasks-body-wrapper\"\n isLoading={isLoading}\n tableRef={(refValue: any) => (tableRef.current = refValue)}\n />\n
    \n )}\n \n {isSnoozeConfirmationModalVisible && (\n setIsSnoozeConfirmationModalVisible(false)}\n onSubmit={(date: Date) => onSnooze(date)}\n isRequestPending={getIsRequestPending(taskActionRequestStatus)}\n />\n )}\n {isConfirmationModalVisible && (\n setIsConfirmationModalVisible(false)}\n showCloseIcon={false}\n hideTitleIcon={true}\n icon={\n taskAction === TaskAction.ExecuteTask ? (\n \n ) : (\n \n )\n }\n title={getTaskActionTitle(taskAction, selectedTasks?.length)}\n cancelButtonText=\"No\"\n content={getModalContent()}\n isSubmitLoading={getIsRequestPending(taskActionRequestStatus)}\n isSubmitDisabled={isButtonDisabled()}\n className={`task-confirmation-modal ${getConfirmationModalClass(\n taskAction,\n taskType,\n selectedTasks,\n )}`}\n />\n )}\n\n {isTaskFilterModalVisible && (\n \n )}\n\n {isReassignModalVisible && (\n setIsReassignModalVisible(false)}\n onSubmit={(id: number) => onReassign(id)}\n />\n )}\n\n {isTaskerModalVisible && (\n setTaskerModalVisible(false)}\n taskStatus={taskStatus}\n tasksCount={tasks?.count}\n paginationOptions={paginationOptions}\n taskId={taskId}\n onOutcomeChange={(outcome) => setCallOutcome(outcome)}\n updateTasks={(\n tId: number,\n tAction: TaskAction,\n tType: SequenceStepType,\n ePayload?: any,\n ) => updateTasks(tId, tAction, tType, ePayload, false)}\n onTaskNoteClick={(tId, tNote) => onTaskNoteClick(tId, tNote)}\n filters={params}\n resetTaskId={() => setTaskId(null)}\n onRefresh={onRefresh}\n />\n )}\n\n {isTaskNoteModalOpen && (\n setIsTaskNoteModalOpen(false)}\n onSubmit={(payload: UpdateTaskNoteRequest) =>\n updateTaskNoteRequest(payload)\n }\n isLoading={getIsRequestPending(updateTaskNoteRequestStatus)}\n />\n )}\n \n );\n};\n\nexport default TasksContent;\n","import useSWR from 'swr';\nimport { getTasksListFetcher } from '../utils/swr-helper';\nimport { GetTasksParams } from '../../../utils/types';\n\nexport default function useTasks(params: GetTasksParams) {\n const { data, isLoading, isValidating, mutate } = useSWR(\n [`/tasks/${params.status}`, params.pageNumber],\n () => getTasksListFetcher(params),\n {\n revalidateOnFocus: false,\n shouldRetryOnError: false,\n initialData: { count: 0, data: [] },\n },\n );\n\n return {\n tasks: data || { count: 0, data: [] },\n isLoading,\n isValidating,\n mutateTasks: mutate,\n };\n}\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps, withRouter } from 'react-router';\nimport { hideLoading, showLoading } from 'react-redux-loading-bar';\nimport { RootState } from '../../../../store/root-reducer';\nimport TasksContent from './tasks-content';\nimport {\n GetTasksParams,\n UpdateTask,\n UpdateTaskNoteRequest,\n} from '../../utils/types';\nimport {\n getTasksRequest,\n getTaskStatusCountRequest,\n updateTaskNoteRequest,\n updateTasksRequest,\n} from '../../extra-actions';\nimport { TaskStatusKey } from '../../utils/enums';\nimport { ProspectFilters } from '../../../prospect/types';\nimport {\n checkSingle,\n removeTaskFromTaskerData,\n resetSelectedTasks,\n resetTasksFilters,\n setTasksFilters,\n} from '../../tasks-slice';\n\nconst mapStateToProps = (state: RootState) => ({\n tasks: state.tasks.tasks,\n tasksCount: state.tasks.tasksCount,\n getTasksRequestStatus: state.tasks.getTasksRequest.status,\n taskActionRequestStatus: state.tasks.updateTasksRequest.status,\n updateTaskRequestMessage: state.tasks.updateTasksRequest.message,\n tasksFilters: state.tasks.tasksFilters,\n selectedTasks: state.tasks.selectedTasks,\n updateTaskNoteRequestStatus: state.tasks.updateTaskNoteRequest.status,\n});\n\nconst mapDispatchToProps = {\n getTasksRequest: (params: GetTasksParams) => getTasksRequest(params),\n updateTasksRequest: (payload: UpdateTask) => updateTasksRequest(payload),\n getTasksStatusCountRequest: (params: GetTasksParams) =>\n getTaskStatusCountRequest(params),\n updateTaskNoteRequest: (payload: UpdateTaskNoteRequest) =>\n updateTaskNoteRequest(payload),\n setTasksFilters: (filters: ProspectFilters) => setTasksFilters(filters),\n resetTasksFilters: (filter: string) => resetTasksFilters(filter),\n checkSingle: ({ row, status }) => checkSingle({ row, status }),\n resetSelectedTasks: () => resetSelectedTasks(),\n removeTaskFromTaskerData: (taskId: number) =>\n removeTaskFromTaskerData({ taskId }),\n showLoadingBar: () => showLoading(),\n hideLoadingBar: () => hideLoading(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps &\n RouteComponentProps & {\n taskStatus: TaskStatusKey;\n };\n\nexport default withRouter(connector(TasksContent));\n","import React, { useEffect, useState } from 'react';\nimport { useHistory, useLocation } from 'react-router';\nimport type { IProps } from './tasks-container';\nimport TasksHeader from './components/tasks-header';\nimport TasksContent from './components/tasks-content';\nimport { TaskStatusKey } from './utils/enums';\nimport hasPermission from '../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../shared/utils/access-control/enums/permissions';\nimport { redirectWithoutRefresh } from '../../shared/utils';\n\nconst Tasks: React.FC = ({ isMultichannelActive, resetTasksState }) => {\n const history = useHistory();\n const location = useLocation();\n\n const [taskStatus, setTaskStatus] = useState(\n TaskStatusKey.DueToday,\n );\n\n const onTaskStatusChange = (status) => {\n setTaskStatus(status);\n\n history.push(`?status=${status}`);\n };\n\n // useEffect\n useEffect(() => {\n // Check Task Permission\n if (!isMultichannelActive || !hasPermission(Permissions.TASK_READ)) {\n redirectWithoutRefresh('/sequence');\n }\n\n onTaskStatusChange(taskStatus);\n // Get status params value from location\n const searchParams = new URLSearchParams(location.search);\n const statusParam: string = searchParams.get('status');\n\n const taskStatusKeyObject = Object.keys(TaskStatusKey).reduce(\n (acc, key) => {\n acc[key] = TaskStatusKey[key];\n return acc;\n },\n {},\n );\n const keyExists = Object.values(taskStatusKeyObject).includes(statusParam);\n\n // Set initial task status based on status param\n if (statusParam) {\n onTaskStatusChange(keyExists ? statusParam : TaskStatusKey.DueToday);\n }\n\n return () => {\n resetTasksState();\n };\n }, []);\n\n return (\n
    \n onTaskStatusChange(status)}\n />\n \n
    \n );\n};\n\nexport default Tasks;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps, withRouter } from 'react-router';\nimport { RootState } from '../../store/root-reducer';\nimport Tasks from './tasks';\nimport { getTasksRequest, getTaskStatusCountRequest } from './extra-actions';\nimport { GetTasksParams } from './utils/types';\nimport { resetTasksState } from './tasks-slice';\n\nconst mapStateToProps = (state: RootState) => ({\n getTasksRequestStatus: state.tasks.getTasksRequest.status,\n updateTasksRequestStatus: state.tasks.updateTasksRequest.status,\n isMultichannelActive: state.home.isMultichannelActive,\n tasksFilters: state.tasks.tasksFilters,\n});\n\nconst mapDispatchToProps = {\n getTasksStatusCountRequest: (params: GetTasksParams) =>\n getTaskStatusCountRequest(params),\n getTasksRequest: (params: GetTasksParams) => getTasksRequest(params),\n resetTasksState: () => resetTasksState(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & RouteComponentProps;\n\nexport default withRouter(connector(Tasks));\n","/* eslint-disable no-underscore-dangle */\nimport classNames from 'classnames';\nimport {\n NotificationAction,\n NotificationReason,\n Notifications,\n NotificationType,\n} from '../../../../../../components/home/types';\nimport { EmailAccountType } from '../../../../../../components/email-accounts/enums/email-account';\nimport { Images } from '../../../../../app-constants';\nimport {\n getAgencyConfigDetails,\n isWhitelabelWithClientView,\n} from '../../../../../utils/user-details';\n\nconst quoteRegex = /(“.*?”)/g;\nconst quoteRegexForEmail = /(”.*?”)/g;\n\nexport const getRedirectUrl = (notification: Notifications) => {\n const reactAppUrl = isWhitelabelWithClientView()\n ? getAgencyConfigDetails()?.clientBaseUrl || ''\n : process.env.REACT_APP_BASE_URL;\n\n const notificationRedirectionUrl = `${reactAppUrl}/email-accounts`;\n const notificationUrlParams = `emailAccountId=${notification.emailAccountId}&emailAccountType=${notification.emailAccountType}`;\n\n switch (notification.notificationType) {\n case NotificationType.EmailAccountDisconnected:\n case NotificationType.EmailAccountPaused:\n return notification.emailAccountType === EmailAccountType.SmtpImap\n ? `${notificationRedirectionUrl}?${notificationUrlParams}`\n : notificationRedirectionUrl;\n case NotificationType.SequencePaused:\n case NotificationType.SequencePausedBounce:\n return `${reactAppUrl}/sequence/${notification.sequenceId}/steps`;\n case NotificationType.UniboxScheduleCanceled:\n return `${reactAppUrl}/conversations/${encodeURIComponent(\n notification.emailThreadHashId,\n )}?page=1&type=draft&search=${encodeURIComponent(\n notification.prospectEmail,\n )}`;\n case NotificationType.LeadRevealCompleted:\n case NotificationType.LeadRevealCompletedNoEmailOrPhone:\n return notification.reportUrl;\n case NotificationType.ProspectImportAsync:\n return `${reactAppUrl}/prospects?importedFile=${\n notification?.metaData?.importFile?.id ?? ''\n }¬ificationId=${notification._id ?? ''}`;\n case NotificationType.SequenceProspectImportAsync:\n return `${reactAppUrl}/sequence/${\n notification?.sequenceId ?? ''\n }/prospects?importedFile=${\n notification?.metaData?.importFile?.id ?? ''\n }¬ificationId=${notification._id ?? ''}`;\n case NotificationType.LeadRevealCompletedAsync:\n case NotificationType.LeadRevealCompletedNoEmailOrPhoneAsync:\n return (\n notification.reportUrl ?? `${reactAppUrl}/leads?start=1&take=25#saved`\n );\n case NotificationType.DomainRegistrationComplete:\n return notification.reportUrl;\n default:\n return '';\n }\n};\n\nexport const moreNotificationExist = (\n notificationsLength: number,\n notificationCount: number,\n) => notificationsLength < notificationCount;\n\nexport const getNotificationType = (notification: Notifications) => {\n if (\n notification.notificationType === NotificationType.UniboxScheduleCanceled\n ) {\n return NotificationAction.ViewDraft;\n }\n if (notification.notificationType === NotificationType.WhitelabelDomainSet) {\n return NotificationAction.Login;\n }\n if (\n notification.notificationType === NotificationType.LeadRevealCompleted ||\n notification.notificationType ===\n NotificationType.LeadRevealCompletedNoEmailOrPhone\n ) {\n return NotificationAction.Leads;\n }\n\n if (notification?.reportUrl) {\n const proscpectNotifications = [\n NotificationType.SequenceProspectImportAsync,\n NotificationType.ProspectImportAsync,\n ];\n\n const leadNotifications = [\n NotificationType.LeadRevealCompletedAsync,\n NotificationType.LeadRevealCompletedNoEmailOrPhoneAsync,\n ];\n\n if (proscpectNotifications?.includes(notification.notificationType)) {\n return NotificationAction.ViewList;\n }\n\n if (leadNotifications?.includes(notification.notificationType)) {\n return NotificationAction.ViewLeads;\n }\n\n return NotificationAction.Download;\n }\n\n if (\n notification.notificationType === NotificationType.SequenceProspectImport\n ) {\n return '';\n }\n\n if (notification.notificationType === NotificationType.EmailAccountPaused) {\n return NotificationAction.Activate;\n }\n\n if (\n notification.notificationType === NotificationType.ProspectImportAsync ||\n notification.notificationType ===\n NotificationType.SequenceProspectImportAsync\n ) {\n return NotificationAction.ViewList;\n }\n\n if (\n notification.notificationType ===\n NotificationType.LeadRevealCompletedAsync ||\n notification.notificationType ===\n NotificationType.LeadRevealCompletedNoEmailOrPhoneAsync\n ) {\n return NotificationAction.ViewLeads;\n }\n if (\n notification.notificationType ===\n NotificationType.DomainRegistrationComplete\n ) {\n return NotificationAction.ViewEmailAccounts;\n }\n\n return notification.notificationType ===\n NotificationType.EmailAccountDisconnected\n ? NotificationAction.Reconnect\n : NotificationAction.Resume;\n};\n\nexport const getRegexForEmail = (notification: Notifications) =>\n notification.notificationType === NotificationType.EmailAccountDisconnected\n ? quoteRegexForEmail\n : quoteRegex;\n\nexport const getNotificationReason = (notification: Notifications) => {\n if (\n notification.notificationType === NotificationType.UniboxScheduleCanceled\n ) {\n return NotificationReason.UniboxScheduleCanceled;\n }\n if (\n notification.notificationType ===\n NotificationType.SequenceProspectExportForClient\n ) {\n return NotificationReason.SequenceProspectExportForClient;\n }\n if (notification.notificationType === NotificationType.SequenceReportClient) {\n return NotificationReason.SequenceReportClient;\n }\n if (\n notification.notificationType ===\n NotificationType.UniboxConversationForClient\n ) {\n return NotificationReason.UniboxConversationForClient;\n }\n if (\n notification.notificationType ===\n NotificationType.EmailAccountBulkConnectClient\n ) {\n return NotificationReason.EmailAccountBulkConnectClient;\n }\n if (\n notification.notificationType ===\n NotificationType.SequenceBulkProspectClient\n ) {\n return NotificationReason.SequenceBulkProspectClient;\n }\n if (notification.notificationType === NotificationType.WhitelabelDomainSet) {\n return NotificationReason.WhitelabelDomainSet;\n }\n if (notification.notificationType === NotificationType.DnsImport) {\n return NotificationReason.DnsImport;\n }\n if (notification.notificationType === NotificationType.DnsExport) {\n return NotificationReason.DnsExport;\n }\n if (\n notification.notificationType === NotificationType.SequenceProspectImport\n ) {\n return NotificationReason.SequenceProspectImport;\n }\n if (notification.notificationType === NotificationType.LeadRevealCompleted) {\n return NotificationReason.LeadRevealCompleted;\n }\n if (\n notification.notificationType ===\n NotificationType.LeadRevealCompletedNoEmailOrPhone\n ) {\n return NotificationReason.LeadRevealCompletedNoEmailOrPhone;\n }\n if (\n notification.notificationType === NotificationType.SequenceProspectVerify ||\n notification.notificationType === NotificationType.ProspectVerifyReport\n ) {\n return NotificationReason.ProspectVerifyReport;\n }\n if (\n notification.notificationType ===\n NotificationType.SequenceProspectBulkAction\n ) {\n return NotificationReason.SequenceProspectBulkAction;\n }\n\n if (notification.notificationType === NotificationType.ProspectBulkAction) {\n return NotificationReason.ProspectBulkAction;\n }\n\n if (notification.notificationType === NotificationType.EmailAccountPaused) {\n return NotificationReason.EmailAccountPaused;\n }\n\n if (notification.notificationType === NotificationType.ProspectImportAsync) {\n if (notification?.completedAt) {\n return NotificationReason.ProspectImportAsyncCompleted;\n }\n return NotificationReason.ProspectImportAsync;\n }\n if (\n notification.notificationType ===\n NotificationType.DomainRegistrationInProgress\n ) {\n return NotificationReason.DomainRegistrationInProgress;\n }\n\n if (\n notification.notificationType ===\n NotificationType.MailboxRegistrationComplete\n ) {\n return NotificationReason.MailboxRegistrationComplete;\n }\n\n if (\n notification.notificationType ===\n NotificationType.SequenceProspectImportAsync\n ) {\n if (notification?.completedAt) {\n return NotificationReason.SequenceProspectImportAsyncCompleted;\n }\n return NotificationReason.SequenceProspectImportAsync;\n }\n\n if (\n notification.notificationType === NotificationType.LeadRevealCompletedAsync\n ) {\n if (notification?.completedAt) {\n return NotificationReason.LeadRevealCompletedAsyncProcess;\n }\n return NotificationReason.LeadRevealCompletedAsync;\n }\n\n if (\n notification.notificationType ===\n NotificationType.LeadRevealCompletedNoEmailOrPhoneAsync\n ) {\n if (notification?.completedAt) {\n return NotificationReason.LeadRevealCompletedNoEmailOrPhoneAsyncProcess;\n }\n return NotificationReason.LeadRevealCompletedNoEmailOrPhoneAsync;\n }\n\n if (\n notification?.notificationType ===\n NotificationType.DomainRegistrationComplete\n ) {\n return NotificationReason.DomainRegistrationComplete;\n }\n\n return notification.notificationType ===\n NotificationType.EmailAccountDisconnected\n ? NotificationReason.EmailDisconneted\n : NotificationReason.SequencePaused;\n};\n\nexport const getImageIcon = (notification: Notifications) => {\n if (\n notification.notificationType === NotificationType.LeadRevealCompleted ||\n notification.notificationType ===\n NotificationType.LeadRevealCompletedNoEmailOrPhone ||\n ((notification.notificationType ===\n NotificationType.LeadRevealCompletedAsync ||\n notification.notificationType ===\n NotificationType.LeadRevealCompletedNoEmailOrPhoneAsync) &&\n notification?.completedAt)\n ) {\n return Images.NotificationLeadBulkReveal;\n }\n\n if (\n (notification.notificationType === NotificationType.ProspectImportAsync ||\n notification.notificationType ===\n NotificationType.SequenceProspectImportAsync ||\n notification.notificationType ===\n NotificationType.LeadRevealCompletedAsync ||\n notification.notificationType ===\n NotificationType.LeadRevealCompletedNoEmailOrPhoneAsync) &&\n !notification?.completedAt\n ) {\n return Images.NotificationRefresh;\n }\n if (\n notification.notificationType === NotificationType.ProspectImportAsync ||\n notification.notificationType ===\n NotificationType.SequenceProspectImportAsync\n ) {\n return Images.NotificationUser;\n }\n if (\n notification.notificationType ===\n NotificationType.DomainRegistrationInProgress\n ) {\n return Images.InfoCircleYellow;\n }\n\n return [\n NotificationType.EmailAccountDisconnected,\n NotificationType.UniboxScheduleCanceled,\n ].includes(notification.notificationType)\n ? Images.NotificationAlert\n : Images.NotificationPause;\n};\n\nexport const getImageIconForBulkActionCompleted = () => Images.CheckGreen;\n\nexport const getNotificationClassName = (\n showNotifications: boolean,\n showBlink?: boolean,\n) =>\n classNames([\n 'notification-circle d-flex bs-badge hover-on-header',\n {\n 'active-notification': showNotifications,\n },\n {\n 'blink-notification': showBlink,\n },\n ]);\n\nexport const getNotificationTypeClass = (notification) => {\n if (\n notification?.reportUrl ||\n notification.notificationType === NotificationType.ProspectBulkAction ||\n notification.notificationType ===\n NotificationType.SequenceProspectBulkAction ||\n notification.notificationType === NotificationType.SequenceProspectImport ||\n notification.notificationType ===\n NotificationType.DomainRegistrationComplete ||\n notification.notificationType ===\n NotificationType.MailboxRegistrationComplete\n ) {\n return 'green'; // or 'green' if you prefer\n }\n\n if (\n [\n NotificationType.LeadRevealCompleted,\n NotificationType.LeadRevealCompletedNoEmailOrPhone,\n ].includes(notification.notificationType)\n ) {\n return 'purple';\n }\n\n if (\n [NotificationType.DomainRegistrationInProgress].includes(\n notification.notificationType,\n )\n ) {\n return 'yellow';\n }\n\n return 'default';\n};\n\nexport const getNotificationClass = (notification) => {\n const notificationType = getNotificationTypeClass(notification);\n\n if (notificationType === 'green') {\n return 'bs-badge-status bs-badge-status-success bs-badge-dot';\n }\n\n if (notificationType === 'purple') {\n return 'bs-badge-purple-dot';\n }\n\n if (notificationType === 'yellow') {\n return 'bs-badge-yellow-dot';\n }\n\n return 'bs-badge-dot';\n};\n\nexport const getNotificationClassNameFordotColor = (notification) => {\n const notificationType = getNotificationTypeClass(notification);\n\n if (notificationType === 'green') {\n return 'notification-green';\n }\n\n if (notificationType === 'purple') {\n return 'notification-purple';\n }\n\n if (notificationType === 'yellow') {\n return 'notification-yellow';\n }\n\n return 'notification-red';\n};\n\nexport const asyncNotificationTypes = [\n NotificationType.LeadRevealCompleted,\n NotificationType.LeadRevealCompletedNoEmailOrPhone,\n NotificationType.SequenceProspectImportAsync,\n NotificationType.ProspectImportAsync,\n NotificationType.LeadRevealCompletedAsync,\n NotificationType.LeadRevealCompletedNoEmailOrPhoneAsync,\n];\n\nexport const isProspectBulkOrSequenceBulk = (type: NotificationType) =>\n type !== NotificationType.ProspectBulkAction &&\n type !== NotificationType.SequenceProspectBulkAction;\n\nexport const isAsyncOperationNotification = (type: NotificationType) =>\n type === NotificationType.ProspectImportAsync ||\n type === NotificationType.SequenceProspectImportAsync ||\n type === NotificationType.LeadRevealCompletedAsync ||\n type === NotificationType.LeadRevealCompletedNoEmailOrPhoneAsync;\n\nexport const isLogVisibleNotificationTypes = [\n NotificationType.ProspectImportAsync,\n NotificationType.SequenceProspectImportAsync,\n NotificationType.LeadRevealCompletedAsync,\n NotificationType.LeadRevealCompletedNoEmailOrPhoneAsync,\n NotificationType.SequenceBulkProspectClient,\n NotificationType.SequenceProspectExportForClient,\n NotificationType.UniboxConversationForClient,\n NotificationType.EmailAccountBulkConnectClient,\n NotificationType.SequenceReportClient,\n NotificationType.WhitelabelDomainSet,\n NotificationType.ProspectVerifyReport,\n NotificationType.SequenceProspectImport,\n NotificationType.DnsImport,\n NotificationType.DnsExport,\n NotificationType.SequenceProspectVerify,\n NotificationType.UniboxScheduleCanceled,\n NotificationType.SequenceProspectBulkAction,\n NotificationType.MailboxRegistrationComplete,\n];\n\nexport const pausedNotifications = [\n NotificationType.SequencePaused,\n NotificationType.SequencePausedBounce,\n NotificationType.EmailAccountDisconnected,\n NotificationType.EmailAccountPaused,\n NotificationType.DomainRegistrationComplete,\n NotificationType.DomainRegistrationInProgress,\n NotificationType.ProspectBulkAction,\n NotificationType.LeadRevealCompleted,\n NotificationType.LeadRevealCompletedNoEmailOrPhone,\n];\n\nexport const prospectBulkAndSequence = [\n NotificationType.ProspectBulkAction,\n NotificationType.SequenceProspectImport,\n NotificationType.SequenceProspectBulkAction,\n NotificationType.MailboxRegistrationComplete,\n];\n\nexport const bulkSequenceAndDomainNotificationTypes = [\n NotificationType.ProspectBulkAction,\n NotificationType.SequenceProspectBulkAction,\n NotificationType.SequenceProspectImport,\n NotificationType.DomainRegistrationComplete,\n NotificationType.MailboxRegistrationComplete,\n];\n\nexport const isCompletedOperationNotification = [\n NotificationType.LeadRevealCompleted,\n NotificationType.SequenceProspectImport,\n NotificationType.DomainRegistrationComplete,\n NotificationType.EmailAccountDisconnected,\n NotificationType.EmailAccountPaused,\n NotificationType.LeadRevealCompletedNoEmailOrPhone,\n NotificationType.SequencePaused,\n];\n","import React, { useEffect, useState } from 'react';\nimport { NotificationBadgeProps } from './type';\n\nconst NotificationBadge: React.FC = ({\n userUnreadNotificationCount,\n}) => {\n const [bounce, setBounce] = useState(true);\n\n useEffect(() => {\n // Function to toggle the classname\n const toggleClassName = () => {\n setBounce((prevState) => !prevState);\n };\n\n // Add the classname for 0.7 seconds, then remove it\n const interval = setInterval(() => {\n toggleClassName();\n setTimeout(() => {\n toggleClassName();\n }, 700); // 700 milliseconds = 0.7 seconds\n }, 10700); // 10700 milliseconds = 10.7 seconds\n\n // Clean up the interval to avoid memory leaks\n return () => clearInterval(interval);\n }, []);\n\n return (\n \n \n {userUnreadNotificationCount > 9 ? '9+' : userUnreadNotificationCount}\n \n \n );\n};\n\nexport default NotificationBadge;\n","import React, { useCallback, useMemo } from 'react';\nimport { OverlayTooltip } from '../../overlay';\nimport { NotificationTextAsyncProps } from './type';\n\nconst NotificationTextAsync: React.FC = ({\n notificationText = '',\n notification = null,\n}) => {\n const importFileName = useMemo(\n () => notification?.metaData?.importFile?.name || '',\n [notification?.metaData?.importFile?.name],\n );\n const sequenceName = useMemo(() => notification?.sequenceName || '', [\n notification?.sequenceName,\n ]);\n const totalCountNumber = useMemo(\n () => notification?.metaData?.totalCount || 0,\n [notification?.metaData?.totalCount],\n );\n const completedCountNumber = useMemo(\n () => notification?.metaData?.completedCount || 0,\n [notification?.metaData?.completedCount],\n );\n\n const logList = useMemo(() => {\n if (notificationText) {\n // eslint-disable-next-line no-useless-escape\n const regex = /([^\\{\\}]+|\\{\\{[a-zA-Z0-9_]+\\}\\})/g;\n\n // Use the regex to match and split the string\n const result = notificationText.match(regex);\n return result;\n }\n return null;\n }, [notificationText, notification?.metaData]);\n\n const getTextByVariableDetail = useCallback(\n (variable) => {\n switch (variable) {\n case '{{import_file_name}}':\n return {\n text: importFileName,\n displayName:\n importFileName?.length > 15\n ? `${importFileName?.slice(0, 15)}..`\n : importFileName,\n };\n case '{{sequence_name}}':\n return {\n text: sequenceName,\n displayName:\n sequenceName?.length > 25\n ? `${sequenceName?.slice(0, 25)}..`\n : sequenceName,\n };\n case '{{total_count}}':\n return {\n text: totalCountNumber,\n displayName: totalCountNumber.toString(),\n };\n case '{{completed_count}}':\n return {\n text: completedCountNumber,\n displayName: completedCountNumber.toString(),\n };\n\n default:\n return variable || '';\n }\n },\n [importFileName, sequenceName, totalCountNumber, completedCountNumber],\n );\n\n if (logList?.length > 0) {\n return (\n \n {logList.map((item, index) => {\n if (item === '{{total_count}}' || item === '{{completed_count}}') {\n const countData = getTextByVariableDetail(item);\n return (\n \n {countData?.displayName || 0}\n \n );\n }\n const isVariable = item.includes('{{') && item.includes('}}');\n\n if (isVariable) {\n const variableData = getTextByVariableDetail(item);\n return (\n \n \n {variableData?.displayName || ''}\n \n \n );\n }\n\n return (\n \n {item}\n \n );\n })}\n \n );\n }\n\n return <>;\n};\n\nexport default NotificationTextAsync;\n","/* eslint-disable no-nested-ternary */\n/* eslint-disable react/no-danger */\n/* eslint-disable no-underscore-dangle */\n/* eslint-disable react-hooks/exhaustive-deps */\nimport React, { useState, useEffect, useRef } from 'react';\nimport { Bell, Checks, Download } from '@saleshandy/icons';\nimport {\n Col,\n OverlayTrigger,\n Row,\n Tooltip,\n Spinner as Loader,\n} from 'react-bootstrap';\nimport InfiniteScroll from 'react-infinite-scroll-component';\nimport { useTranslation } from 'react-i18next';\nimport { useSelector } from 'react-redux';\nimport { ProgressBar } from '@saleshandy/design-system';\nimport {\n Notifications,\n NotificationType,\n} from '../../../../../components/home/types';\nimport { getRelativeDate } from '../../../../utils/time-conversions';\nimport { Images } from '../../../../app-constants';\nimport ImageIcon from '../../../../components/images/image-icon';\nimport { useOutClickHook } from '../../../../utils/hooks';\nimport {\n isProspectBulkOrSequenceBulk,\n getImageIcon,\n getNotificationClassName,\n getNotificationReason,\n getNotificationType,\n getRedirectUrl,\n getRegexForEmail,\n moreNotificationExist,\n isAsyncOperationNotification,\n asyncNotificationTypes,\n prospectBulkAndSequence,\n bulkSequenceAndDomainNotificationTypes,\n pausedNotifications,\n isCompletedOperationNotification,\n isLogVisibleNotificationTypes,\n} from './helper/notification-helper';\nimport { accessibleOnClick } from '../../../../utils/accessible-on-click';\nimport history from '../../../../history';\nimport hasPermission from '../../../../utils/access-control/has-permission';\nimport { Permissions } from '../../../../utils/access-control/enums/permissions';\nimport { AnalyticsEvents } from '../../../../enums/analytics';\nimport Spinner from '../custom-spinner';\nimport { getIsRequestPending, redirectWithRefresh } from '../../../../utils';\nimport { SpinnerAnimation } from '../spinner/spinner';\nimport {\n getEmailAccount,\n updateEmailAccountStatus,\n} from '../../../../../components/email-accounts/helpers/email-account.api';\nimport {\n isSavedSMTPAccount,\n getEmailAccountType,\n} from '../../../../../components/email-accounts/components/email-accounts-content/utils/helpers';\nimport {\n EmailAccountMethod,\n EmailAccountsSortBy,\n EmailAccountType,\n} from '../../../../../components/email-accounts/enums/email-account';\nimport {\n EmailAccount,\n EmailAccountStatus,\n} from '../../../../../components/email-accounts/types/email-account';\nimport { ResourceIdentifiers } from '../../../../utils/access-control/enums/resource-identifiers';\nimport hasResource from '../../../../utils/access-control/has-resource';\nimport { Order } from '../../../../enums/order';\nimport { constants } from '../../../../enums/constants';\nimport toaster, { Theme } from '../../../../toaster';\nimport useBaseRoute from '../../../../hooks/use-base-route';\nimport { getProgressBarPercentage } from '../../../../../components/home/components/header/header-helper';\nimport { RootState } from '../../../../../store/root-reducer';\nimport NotificationBadge from './notification-badge';\nimport { IProps } from './type';\nimport NotificationTextAsync from './notification-text-async';\n\nconst Notification: React.FC = ({\n notifications,\n pollingNotifications,\n markAsRead,\n notificationCount,\n fetchNextNotifications,\n timeZone,\n sendGetUserUnreadNotification,\n userUnreadNotificationCount,\n trackingId,\n isHasPermissionToCallUnreadNotification,\n resetNotificationData,\n getUserNotificationsDataRequestStatus,\n sendConnectEmailAccountRequest,\n sendGetEmailAccountRequest,\n sendGetEmailAccountsRequest,\n}) => {\n const blinkNotificationIcon = useSelector(\n (state: RootState) => state?.home?.blinkNotificationIcon,\n );\n const [showNotifications, setShowNotifications] = useState(false);\n const [showUnreadNotifications, setShowUnreadNotifications] = useState(false);\n const [hasMoreNotifications, setHasMoreNotifications] = useState(false);\n const notificationsLength = notifications?.length;\n\n const toggleNotifications = () => {\n window.analytics?.track?.({\n userId: trackingId,\n event: AnalyticsEvents.NotificationClicked,\n properties: {\n current_tab_url: document.location.href,\n },\n });\n\n setShowNotifications(!showNotifications);\n if (!showNotifications) {\n resetNotificationData();\n }\n };\n\n const closeNotifications = () => setShowNotifications(false);\n\n const { t } = useTranslation();\n\n const route = history.location.pathname;\n const { baseRoute, isBase } = useBaseRoute(route);\n\n const notificationRef = useRef(null);\n useOutClickHook(notificationRef, closeNotifications);\n\n const markAsReadAndDownload = async (id: string, reportUrl: string) => {\n await markAsRead(id);\n window.location.href = reportUrl;\n };\n const markAsReadAndRedirect = async (id: string, redirectUrl: string) => {\n await markAsRead(id);\n window.location.href = redirectUrl;\n };\n\n useEffect(() => {\n if (isHasPermissionToCallUnreadNotification && !isBase) {\n sendGetUserUnreadNotification();\n }\n }, []);\n\n useEffect(() => {\n if (isHasPermissionToCallUnreadNotification && isBase) {\n sendGetUserUnreadNotification();\n }\n }, [baseRoute, isBase]);\n\n useEffect(() => {\n setShowUnreadNotifications(false);\n if (notificationsLength > 0) {\n const unread = notifications.some(\n (notification) => !notification.hasRead,\n );\n setShowUnreadNotifications(unread);\n\n setHasMoreNotifications(\n moreNotificationExist(notificationsLength, notificationCount),\n );\n }\n }, [notifications]);\n\n const addEmailAccountHandler = (\n method: EmailAccountMethod,\n emailAccountId: number,\n ) => {\n hasResource(ResourceIdentifiers.EMAIL_ACCOUNT_CONNECT) &&\n sendConnectEmailAccountRequest(method, emailAccountId);\n };\n\n const initiateEmailAccountConnectionFlow = async (\n emailAccount: EmailAccount,\n ) => {\n if (\n isSavedSMTPAccount(emailAccount) ||\n emailAccount.type === EmailAccountType.SmtpImap\n ) {\n redirectWithRefresh(\n `/email-accounts?connect-smtp=1&emailAccountId=${emailAccount.id}&emailAccountType=${EmailAccountType.SmtpImap}`,\n );\n // eslint-disable-next-line no-useless-return\n return;\n // eslint-disable-next-line no-else-return\n }\n addEmailAccountHandler(getEmailAccountType(emailAccount), emailAccount.id);\n };\n\n const onUpdateEmailAccountHandler = async (\n emailAccountStatus: EmailAccountStatus,\n emailAccount: EmailAccount,\n ) => {\n const response = await updateEmailAccountStatus(\n // active or paused\n emailAccount.id,\n emailAccountStatus,\n );\n const newEmailStatus = response.payload.emailAccountStatus;\n if (newEmailStatus === EmailAccountStatus.InActive) {\n // initiate connection flow\n initiateEmailAccountConnectionFlow(emailAccount);\n return;\n }\n // call the email list api and return;\n sendGetEmailAccountRequest(emailAccount.id);\n sendGetEmailAccountsRequest({\n clientIds: [],\n emailServiceProvider: [],\n tagIds: [],\n sequenceIds: [],\n status: [],\n owners: [],\n page: 1,\n limit: constants.DEFAULT_PAGE_SIZE,\n search: '',\n sortByKey: EmailAccountsSortBy.SetupScore,\n order: Order.Desc,\n });\n toaster.success('Email Account enabled successfully', {\n theme: Theme.New,\n });\n };\n\n const onEmailAccountPausedClickHandler = async (emailAccountId: number) => {\n try {\n const emailAccountRequest = await getEmailAccount(emailAccountId);\n const emailAccountData = emailAccountRequest?.payload || {};\n const currentEmailAccountStatus = emailAccountData?.status;\n if (currentEmailAccountStatus === EmailAccountStatus.Active) {\n toaster.warning('Email Account is already active', {\n theme: Theme.New,\n });\n } else if (currentEmailAccountStatus === EmailAccountStatus.InActive) {\n initiateEmailAccountConnectionFlow(emailAccountData);\n } else if (emailAccountData?.id) {\n onUpdateEmailAccountHandler(\n EmailAccountStatus.Active,\n emailAccountData,\n );\n }\n return;\n } catch (error) {\n console.error(error);\n }\n };\n\n const getUpdatedProgressData = (notification: Notifications) => {\n // Find matching polling notification by id\n const matchingPollingNotification = pollingNotifications?.notifications?.find(\n (pollingNotif) => pollingNotif._id === notification._id,\n );\n\n // If found matching notification, update the progress data\n return matchingPollingNotification || notification;\n };\n\n const NotificationTooltip = (popoverText) => (\n \n {popoverText}\n \n );\n return (\n hasPermission(Permissions.NOTIFICATION_READ) && (\n
    \n \n \n {(showUnreadNotifications || userUnreadNotificationCount) &&\n userUnreadNotificationCount > 0 ? (\n <>\n \n \n ) : (\n <>\n )}\n \n
    \n \n\n {showNotifications && (\n \n \n \n \n {t('labels.notifications')}\n \n \n \n {notificationsLength && showUnreadNotifications ? (\n markAsRead())}\n >\n {t('labels.mark_all_as_read')}\n \n ) : (\n <>\n )}\n \n \n \n \n \n }\n endMessage={\n notificationsLength ? (\n
    \n

    The End

    \n
    \n ) : (\n \n )\n }\n scrollableTarget=\"scrollable-notification\"\n >\n {notifications && notificationsLength > 0 ? (\n notifications.map((notification) => {\n const pollingData = getUpdatedProgressData(notification);\n if (pollingData) {\n notification = pollingData;\n }\n return (\n \n \n \n {!notification.hasRead && (\n \n )}\n {((pollingData?.reportUrl ??\n notification?.reportUrl) ||\n bulkSequenceAndDomainNotificationTypes?.includes(\n notification?.notificationType,\n )) &&\n !asyncNotificationTypes?.includes(\n notification?.notificationType,\n ) ? (\n \n ) : (\n \n )}\n \n \n \n

    \n {t(\n `labels.${getNotificationReason(\n pollingData || notification,\n )}`,\n )}\n

    \n {isLogVisibleNotificationTypes.includes(\n notification?.notificationType,\n ) && (\n

    \n \n

    \n )}\n\n {pausedNotifications?.includes(\n notification?.notificationType,\n ) && (\n $1
    ',\n ),\n }}\n />\n )}\n {isAsyncOperationNotification(\n notification?.notificationType,\n ) && (\n
    \n {pollingNotifications?.notifications?.length > 0 &&\n pollingNotifications?.notifications\n .filter((n) => n._id === notification._id)\n .map((n) =>\n !n.completedAt ? (\n \n ) : (\n <>\n ),\n )}\n {(notification.notificationType ===\n NotificationType.ProspectImportAsync ||\n notification.notificationType ===\n NotificationType.SequenceProspectImportAsync) &&\n notification?.reportUrl && (\n \n markAsReadAndDownload(\n notification._id,\n notification?.reportUrl,\n ),\n )}\n >\n \n \n Download Failed Report\n \n
    \n )}\n \n )}\n

    \n {\n getRelativeDate(\n notification.timestamp,\n timeZone,\n true,\n ).value\n }\n

    \n \n \n {notification?.reportUrl &&\n notification?.notificationType ===\n NotificationType.DomainRegistrationComplete ? (\n \n markAsReadAndRedirect(\n // eslint-disable-next-line no-underscore-dangle\n notification._id,\n getRedirectUrl(notification),\n ),\n )}\n >\n View Email Accounts\n \n ) : notification?.notificationType ===\n NotificationType.DomainRegistrationInProgress ||\n notification.notificationType ===\n NotificationType.MailboxRegistrationComplete ? (\n <>\n ) : (pollingData?.reportUrl ??\n notification?.reportUrl) &&\n !asyncNotificationTypes?.includes(\n notification?.notificationType,\n ) ? (\n \n markAsReadAndDownload(\n notification._id,\n notification?.reportUrl,\n ),\n )}\n >\n {t(`labels.${getNotificationType(notification)}`)}\n \n ) : [NotificationType.EmailAccountPaused].includes(\n notification.notificationType,\n ) ? (\n \n onEmailAccountPausedClickHandler(\n notification.emailAccountId,\n ),\n )}\n >\n {getNotificationType(notification)\n ? t(`labels.${getNotificationType(notification)}`)\n : ''}\n \n ) : isProspectBulkOrSequenceBulk(\n notification?.notificationType,\n ) &&\n notification?.reportUrl !== '' &&\n isAsyncOperationNotification(\n notification?.notificationType,\n ) ? (\n 0\n ? ''\n : 'disabled'\n }`}\n {...(getUpdatedProgressData(notification)?.metaData\n ?.completedCount > 0\n ? accessibleOnClick(() =>\n markAsReadAndRedirect(\n notification._id,\n getRedirectUrl(notification),\n ),\n )\n : accessibleOnClick(() => {}))}\n >\n {getNotificationType(notification)\n ? t(`labels.${getNotificationType(notification)}`)\n : ''}\n \n ) : (\n isCompletedOperationNotification.includes(\n notification?.notificationType,\n ) && (\n \n markAsReadAndRedirect(\n // eslint-disable-next-line no-underscore-dangle\n notification._id,\n getRedirectUrl(notification),\n ),\n )}\n >\n {getNotificationType(notification)\n ? t(\n `labels.${getNotificationType(\n notification,\n )}`,\n )\n : ''}\n \n )\n )}\n \n \n );\n })\n ) : (\n <>\n {getIsRequestPending(\n getUserNotificationsDataRequestStatus,\n ) ? (\n
    \n \n
    \n ) : (\n
    \n
    \n \n

    \n {t('labels.noNotifications')}\n

    \n
    \n
    \n )}\n \n )}\n \n \n )}\n \n )\n );\n};\n\nexport default Notification;\n","import React from 'react';\nimport Avatar from '../../initials-avatar';\n\nexport function AvatarEmail({ userProfile }) {\n return (\n
  • \n
    \n
    \n \n
    \n
    \n

    \n {userProfile.firstName} {userProfile.lastName}\n

    \n

    {userProfile.email}

    \n
    \n
    \n
  • \n );\n}\n","// useCreditsSelectors.ts\nimport { useSelector } from 'react-redux';\nimport { RootState } from '../../../../../../store/root-reducer';\nimport FeatureCodes from '../../../../../enums/feature-codes';\nimport { LeadRevealType } from '../../../../../../components/leads/type';\n\nexport function useCreditsSelectors() {\n const planCode = useSelector(\n (state: RootState) => state.home?.subscription?.planCode,\n );\n const planType = useSelector(\n (state: RootState) => state.home?.subscription?.planType,\n );\n const planName = useSelector(\n (state: RootState) => state.home?.subscription?.planName,\n );\n\n const leadFinderCredits = useSelector((state: RootState) =>\n state.home?.credits?.find(\n (credit) => credit.featureCode === FeatureCodes.LeadReveal,\n ),\n );\n\n const leadFinderRevealTypeValue = useSelector((state: RootState) =>\n state.home?.credits?.find(\n (credit) => credit?.featureCode === FeatureCodes.LeadRevealPhone,\n ),\n );\n\n const emailSendCredits = useSelector((state: RootState) =>\n state.home?.credits?.find(\n (credit) => credit.featureCode === FeatureCodes.EmailSending,\n ),\n );\n\n const prospectAddCredits = useSelector((state: RootState) =>\n state.home?.credits?.find(\n (credit) => credit.featureCode === FeatureCodes.ProspectAdd,\n ),\n );\n\n const emailVerificationCredits = useSelector((state: RootState) =>\n state.home?.credits?.find(\n (credit) => credit.featureCode === FeatureCodes.EmailVerification,\n ),\n );\n\n // Declare variables for each feature's `available` and `total` values\n const leadFinderCreditsAvailable =\n leadFinderCredits?.accountUsageQuotaRemaining;\n const leadFinderRevealType =\n leadFinderRevealTypeValue?.accountUsageQuotaRemaining === '1'\n ? LeadRevealType.EMAIL_PHONE\n : LeadRevealType.EMAIL;\n const emailSendAvailable = emailSendCredits?.accountUsageQuotaRemaining;\n const emailSendTotal = emailSendCredits?.featureLimits;\n const prospectAddAvailable = prospectAddCredits?.accountUsageQuotaRemaining;\n const prospectAddTotal = prospectAddCredits?.featureLimits;\n const emailVerificationAvailable =\n emailVerificationCredits?.accountUsageQuotaRemaining;\n const getCoreFeaturesCreditsRequestStatus = useSelector(\n (state: RootState) => state.home.getCoreFeaturesCreditsRequest.status,\n );\n\n return {\n planName,\n planCode,\n planType,\n leadFinderCreditsAvailable,\n leadFinderRevealType,\n emailSendAvailable,\n emailSendTotal,\n prospectAddAvailable,\n prospectAddTotal,\n emailVerificationAvailable,\n getCoreFeaturesCreditsRequestStatus,\n };\n}\n","/* eslint-disable no-nested-ternary */\nimport React, { useState, useEffect } from 'react';\nimport { useDispatch } from 'react-redux';\nimport { Link } from 'react-router-dom';\nimport { ArrowUpRight } from '@saleshandy/icons';\nimport { SkeletonLoading } from '@saleshandy/design-system';\nimport { useTranslation } from 'react-i18next';\nimport { isValueBasedPlan } from '../../../../../../components/settings/components/billing-subscription/components/outreach-plans/utils/helper';\nimport { SubscriptionPlans } from '../../../../../utils/subscription-plans';\nimport { getCoreFeaturesCreditsRequest } from '../../../../../../components/home/extra-actions';\nimport { constants } from '../../../../../enums/constants';\nimport { executeOnRequestStatus } from '../../../../../utils';\nimport { useCreditsSelectors } from './credits-box-helper';\nimport { resetCoreFeaturesCreditsRequestStatus } from '../../../../../../components/home/home-slice';\nimport { OverlayTooltip, Placement } from '../../../overlay';\n\nfunction CreditsBox({ dropdownIsOpen, closeDropdown }) {\n const { t } = useTranslation();\n const dispatch = useDispatch();\n\n const [hoveredCredit, setHoveredCredit] = useState(null);\n const [loading, setLoading] = useState(true); // Loading state to control skeleton visibility\n\n const {\n planCode,\n planType,\n leadFinderCreditsAvailable,\n emailSendAvailable,\n emailSendTotal,\n prospectAddAvailable,\n prospectAddTotal,\n emailVerificationAvailable,\n getCoreFeaturesCreditsRequestStatus,\n } = useCreditsSelectors();\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getCoreFeaturesCreditsRequestStatus,\n onSuccess: () => {\n setLoading(false);\n },\n onFailed: () => {\n setLoading(false);\n },\n onPending: () => {\n setLoading(true);\n },\n });\n }, [getCoreFeaturesCreditsRequestStatus, dropdownIsOpen]);\n useEffect(() => {\n if (dropdownIsOpen) {\n // Reset the status to 'ideal' to allow re-fetching\n dispatch(resetCoreFeaturesCreditsRequestStatus());\n\n // Now dispatch the request to fetch data\n dispatch(getCoreFeaturesCreditsRequest());\n }\n }, [dropdownIsOpen, dispatch]);\n\n const creditsData = [\n {\n title: t('labels.lead_finder_credits'),\n available: parseInt(leadFinderCreditsAvailable, 10) || 0,\n path: '/settings/billing/subscriptions/lead-finder#lead-finder-credit-plans',\n },\n {\n title: t('labels.email_verification'),\n available: parseInt(emailVerificationAvailable, 10) || 0,\n path: '/settings/billing/subscriptions/ev-credits',\n },\n ];\n\n const additionalCreditsData = [\n {\n title: t('labels.monthly_emails_sent'),\n available: parseInt(emailSendAvailable, 10) || 0,\n total: parseInt(emailSendTotal, 10) || 0,\n },\n {\n title: t('labels.total_prospects'),\n available: parseInt(prospectAddAvailable, 10) || 0,\n total: parseInt(prospectAddTotal, 10) || 0,\n },\n ];\n\n const calculateRemainingPercentage = (\n available: number,\n total: number,\n ): number => {\n if (!total || total <= 0) return 0; // Avoid division by zero or negative totals\n return Math.round((available / total) * 100);\n };\n\n const getRemainingColor = (available, title) => {\n if (\n (title === t('labels.lead_finder_credits') &&\n available < constants.LEAD_REVEAL_BOTTOM_LIMIT) ||\n (title === t('labels.email_verification') &&\n available < constants.EMAIL_VERIFICATION_BOTTOM_LIMIT)\n ) {\n return 'credit-available-red';\n }\n return 'credit-available-normal';\n };\n\n const handleMouseEnter = (title) => {\n setHoveredCredit(title);\n };\n\n const handleMouseLeave = () => {\n setHoveredCredit(null);\n };\n\n const isBelowThreshold = (available: number, title: string): boolean => {\n const leadFinderThreshold = constants.LEAD_REVEAL_BOTTOM_LIMIT;\n const emailVerificationThreshold =\n constants.EMAIL_VERIFICATION_BOTTOM_LIMIT;\n\n return (\n (title === t('labels.lead_finder_credits') &&\n available < leadFinderThreshold) ||\n (title === t('labels.email_verification') &&\n available < emailVerificationThreshold)\n );\n };\n\n return (\n
    \n
    \n {creditsData.map((credit) => (\n handleMouseEnter(credit.title)}\n onMouseLeave={handleMouseLeave}\n >\n
    \n {credit.title}\n \n {loading ? (\n \n ) : hoveredCredit === credit.title &&\n isBelowThreshold(credit.available, credit.title) ? (\n \n
    \n {\n closeDropdown();\n }}\n >\n Add Credits \n \n
    \n \n ) : (\n credit.available.toLocaleString()\n )}\n \n
    \n
    \n ))}\n
    \n\n {/* Conditional Divider and Additional Credits */}\n {(isValueBasedPlan(planType) ||\n planCode === SubscriptionPlans.TRIAL ||\n planCode === SubscriptionPlans.FREE) && (\n <>\n
    \n
    \n {additionalCreditsData.map((credit) => {\n const creditsUsedPercentage =\n 100 -\n calculateRemainingPercentage(credit.available, credit.total);\n return (\n handleMouseEnter(credit.title)}\n onMouseLeave={handleMouseLeave}\n >\n
    \n {credit.title}\n \n {loading ? (\n \n ) : hoveredCredit === credit.title &&\n creditsUsedPercentage >= 85 ? (\n
    \n {\n closeDropdown();\n }}\n >\n Upgrade \n \n
    \n ) : (\n <>\n
    \n \n {(\n credit.total - credit.available\n ).toLocaleString()}\n {' '}\n \n  / \n \n \n {credit.total.toLocaleString()}\n \n
    \n \n )}\n
    \n
    \n {loading ? (\n \n ) : (\n
    \n = 85 ? 'warning' : 'normal'\n }`}\n style={{ width: `${creditsUsedPercentage}%` }}\n />\n
    \n )}\n
    \n );\n })}\n
    \n \n )}\n \n );\n}\n\nexport default CreditsBox;\n","import React from 'react';\nimport { accessibleOnClick } from '../../../../../utils/accessible-on-click';\n\nfunction CommonProfileDropdownItem({\n icon,\n label,\n onClick,\n showNewBadge = false,\n}) {\n return (\n
  • \n
    \n
    {icon}
    \n
    \n

    {label}

    \n {showNewBadge && New}\n
    \n
    \n
  • \n );\n}\n\nexport default CommonProfileDropdownItem;\n","/* eslint-disable no-underscore-dangle */\nimport React, { useCallback, useEffect, useRef, useState } from 'react';\nimport { Row } from 'react-bootstrap';\nimport classNames from 'classnames';\nimport { useTranslation } from 'react-i18next';\nimport { DateTime } from 'luxon';\nimport axios from 'axios';\nimport { AlertCircle } from '@saleshandy/icons';\nimport { Images } from '../../../../shared/app-constants';\nimport ImageIcon from '../../../../shared/components/images/image-icon';\nimport TruncatedTextWithTooltip from '../../../../shared/components/truncated-text-with-tooltip';\nimport Banner from '../../../../shared/design-system/components/atoms/banner';\nimport Notification from '../../../../shared/design-system/components/atoms/notification';\nimport ProfileDropdown from '../../../../shared/design-system/components/atoms/profile-dropdown';\nimport EmailWarmupHeader from '../../../email-warmup/components/email-warmup-header';\nimport { Permissions } from '../../../../shared/utils/access-control/enums/permissions';\nimport hasPermission from '../../../../shared/utils/access-control/has-permission';\nimport SequenceSingleHeader from '../../../sequence/components/sequence-single-header';\nimport ChangeLog from './components/change-log';\nimport { OverlayTooltip } from '../../../../shared/design-system/components/overlay/tooltip/overlay-tooltip';\nimport type { IProps } from './header-container';\nimport {\n getCtaText,\n getHeaderHelper,\n getProgressBarCompletionText,\n getProgressBarPercentage,\n getProgressBarText,\n routeStateChange,\n} from './header-helper';\nimport { AnalyticsEvents } from '../../../../shared/enums/analytics';\nimport HelpscoutBeaconEvents from '../../../../shared/enums/helpscout-beacon-events';\nimport {\n executeOnErrorWithErrorCheck,\n executeOnRequestStatus,\n} from '../../../../shared/utils/execute-on-request-status';\nimport { getEmailBody } from './utils/helper';\nimport {\n getIsRequestPending,\n redirectWithoutRefresh,\n SubscriptionPlans,\n} from '../../../../shared/utils';\nimport { contactAdmin } from '../../../../shared/utils/contact-admin';\nimport { checkIsLtdPlan } from '../../../../shared/design-system/components/molecules/subscription-plan-details/helper/helper';\nimport { openChatSupport } from '../../../../shared/utils/open-chat-support';\nimport { IntercomEvents } from '../../../../shared/enums/intercom-events';\nimport {\n getAgencyUserRole,\n isAgencyUser,\n isWhitelabelWithClientView,\n isWhitelabelWithoutClientView,\n} from '../../../../shared/utils/user-details';\nimport { UserRole } from '../../../../shared/enums/user-roles';\nimport { Routes as GlobalRoutes } from '../../../../shared/routes';\nimport HeaderBanner from './components/header-banner';\nimport { isInternalUrl } from '../../../../shared/utils/is-internal-url';\nimport EmailAccountsHeader from '../../../email-accounts/components/email-accounts-content/components/email-accounts-header';\nimport CreateEmailInfrastructureHeader from '../../../email-accounts/components/create-email-infrastructure/components/create-email-infrastructure-header';\nimport AddEmailAccountsHeader from '../../../email-accounts/components/add-email-accounts/components/add-email-accounts-header';\n\nimport { ShAccountSettingsCode } from '../../../settings/enums/admin-settings';\nimport Modal from '../../../../shared/design-system/ui/modal';\nimport toaster from '../../../../shared/toaster';\nimport OnScreenAsyncProgressBar from '../../../../shared/components/async-progress-bar';\nimport { usePolling } from '../../../../shared/hooks/usePolling';\nimport { usePageVisibility } from '../../../../shared/utils/hooks';\nimport { ExceptionTypes } from '../../../../shared/types';\nimport { NotificationType } from '../../types';\nimport UpgradePlanHeader from '../../../settings/components/billing-subscription/components/upgrade-plan-header/upgrade-plan-header';\n// import UpgradePlanHeader from '../../../settings/components/billing-subscription/components/upgrade-plan-header';\n\nexport enum Routes {\n SEQUENCE = 'sequence',\n TASKS = 'tasks',\n UNIFIED_INBOX = 'conversations',\n AGENCY_CLIENT = 'clients',\n PROSPECTS = 'prospects',\n EMAIL_ACCOUNTS = 'email-accounts',\n DOMAINS = 'domains',\n TEMPLATES = 'templates',\n REPORTS = 'reports',\n EMAIL_INSIGHTS = 'email-insights',\n EMAIL_WARMUP = 'warmup',\n GROWTH_HUB = 'growth-hub',\n AGENCY_PORTAL = 'agency-portal',\n SETTINGS = 'settings',\n LEADS = 'leads',\n}\n\nconst Header: React.FC = ({\n location: { pathname },\n sendGetUserNotificationRequest,\n notifications,\n pollingNotifications,\n sendMarkNotificationAsReadRequest,\n match,\n pageHeaderBannerMessage,\n ctaText,\n ctaURL,\n bannerTextTwo,\n paymentActionType,\n target,\n notificationCount,\n markNotificationAsRead,\n userProfile,\n sendGetProfileRequest,\n getUserNotificationsRequestStatus,\n agencyConfig,\n sendGetUserUnreadNotification,\n unreadNotificationCount,\n showGettingStartedVideoModal,\n trackingId,\n planName,\n planType,\n planCode,\n remainingProspectLimit,\n remainingEmailSentLimit,\n getUserSettingsRequestStatus,\n meta,\n subscriptionDetails,\n firstName,\n resetNotificationData,\n getUserNotificationsDataRequestStatus,\n leadFinderCredits,\n client,\n getPostLoadMetaRequestStatus,\n agencyConfigRequestStatus,\n sendConnectEmailAccountRequest,\n sendGetSmtpImapAccountDetailsRequest,\n sendGetEmailAccountRequest,\n sendGetEmailAccountsRequest,\n isMultichannelActive,\n updateAdminSettingsRequestStatus,\n updateAdminSettingsRequestError,\n updateIsMultichannelActive,\n sendUpdateAdminDetailsRequest,\n resetUpdateAdminSettings,\n sendGetPollingNotificationsRequest,\n shouldBulkActionsPoll,\n enableBulkActionRequestPolling,\n disableBulkActionRequestPolling,\n sendUpdateHiddenNotificationRequest,\n verified,\n startNotificationBlink,\n stopNotificationBlink,\n emailAccountSetupInProgress,\n initiateFetchUnreadCount,\n resetInitiateFetchUnreadCount,\n}) => {\n const isMultichannelActiveToggled = useRef(false);\n\n const pollingCancelRef = useRef(null);\n\n const { t } = useTranslation();\n const sequenceRoutes = [\n 'steps',\n 'prospects',\n 'sequence-score',\n 'settings',\n 'emails',\n ];\n const emailWarmupRoutes = ['report'];\n\n const [headerTitle, setHeaderTitle] = useState('Sequence');\n const [singleSequenceHeader, setSingleSequenceHeader] = useState(false);\n const [emailWarmupHeader, setEmailWarmupHeader] = useState(false);\n const [\n emailWarmupHeaderWithReport,\n setEmailWarmupHeaderWithReport,\n ] = useState(false);\n const [emailAccountsHeader, setEmailAccountsHeader] = useState(false);\n const [\n createEmailInfrastructureHeader,\n setCreateEmailInfrastructureHeader,\n ] = useState(false);\n const [addEmailAccountsHeader, setAddEmailAccountsHeader] = useState(false);\n const [upgradePlanHeader, setUpgradePlanHeader] = useState(false);\n const [page, setPage] = useState(1);\n const [notificationId, setNotificationId] = useState();\n\n const [subscriptionEndDays, setSubscriptionEndDays] = useState(null);\n const [subscriptionPlan, setSubscriptionPlan] = useState('');\n const [isYoutubeIconVisible, setIsYoutubeIconVisible] = useState(\n false,\n );\n\n const [\n showMultichannelBetaAccessConfirmationModal,\n setShowMultichannelBetaAccessConfirmationModal,\n ] = useState(false);\n\n const isPageVisible = usePageVisibility();\n\n const [progressBars, setProgressBars] = useState([]);\n const [hiddenNotification, setHiddenNotification] = useState([]);\n\n const handleAsyncToasterClose = (actionTakenOnNotificationId: string) => {\n stopNotificationBlink();\n sendUpdateHiddenNotificationRequest(actionTakenOnNotificationId);\n setHiddenNotification([...hiddenNotification, actionTakenOnNotificationId]);\n\n // First set isClosing to true for the target bar\n setProgressBars((prev) =>\n prev.map((bar) =>\n bar?._id === actionTakenOnNotificationId\n ? {\n ...bar,\n isClosing: true,\n isEntering: false,\n active: false,\n }\n : bar,\n ),\n );\n\n // Remove the bar after animation completes\n setTimeout(() => {\n setProgressBars((prev) =>\n prev.filter((bar) => bar?._id !== actionTakenOnNotificationId),\n );\n }, 300); // Match this with your CSS transition duration\n\n startNotificationBlink();\n\n setTimeout(() => {\n stopNotificationBlink();\n }, 2000);\n };\n\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const handleCompletion = (\n actionTakenOnNotificationId: string,\n closeTime = 3000,\n ) => {\n setTimeout(() => {\n handleAsyncToasterClose(actionTakenOnNotificationId);\n }, closeTime);\n };\n\n const getNewOnscreenNotifications = (newNotifications) =>\n newNotifications\n ?.filter(\n (notification) =>\n notification?.onScreen &&\n !hiddenNotification.includes(notification._id),\n )\n ?.slice(0, 5)\n ?.map((notification) => ({\n ...notification,\n isClosing: false,\n isEntering: false,\n active: false,\n })) || [];\n\n const handleNotificationPollingRequest = useCallback(async () => {\n if (pollingCancelRef?.current === null) {\n (pollingCancelRef as any).current = axios?.CancelToken?.source();\n } else {\n pollingCancelRef?.current?.cancel({\n type: ExceptionTypes.Silent,\n message: 'POLLING_API_CANCELLED',\n });\n pollingCancelRef.current = null;\n }\n\n const response = await sendGetPollingNotificationsRequest(\n pollingCancelRef?.current?.token || null,\n );\n\n if (response.payload.payload?.notifications?.length > 0) {\n const newNotification = response.payload.payload?.notifications || [];\n const onScreenNotifications = getNewOnscreenNotifications(\n newNotification,\n );\n let currentProgressBarValue = [];\n setProgressBars((prev) => {\n currentProgressBarValue = prev;\n return prev;\n });\n\n const newBars =\n onScreenNotifications?.filter(\n (notification) =>\n !currentProgressBarValue?.some(\n (bar) => bar._id === notification._id,\n ),\n ) || [];\n\n const existingBarsWithUpdates =\n onScreenNotifications?.filter((notification) =>\n currentProgressBarValue?.some((bar) => bar._id === notification._id),\n ) || [];\n\n if (newBars?.length > 0) {\n // Add new bars with initial state\n setProgressBars((prev) =>\n getNewOnscreenNotifications([...newBars, ...prev]),\n );\n\n // Trigger entering animation\n requestAnimationFrame(() => {\n setProgressBars((prev) =>\n prev.map((bar) =>\n newBars.some((newBar) => newBar._id === bar._id)\n ? { ...bar, isEntering: true }\n : { ...bar, active: true },\n ),\n );\n });\n\n // Set to active state after entering animation\n setTimeout(() => {\n setProgressBars((prev) =>\n prev.map((bar) =>\n newBars.some((newBar) => newBar._id === bar._id)\n ? { ...bar, isEntering: false, active: true }\n : { ...bar, active: true },\n ),\n );\n }, 300); // Match this with your CSS transition duration\n }\n if (existingBarsWithUpdates?.length > 0) {\n setProgressBars((prev) =>\n prev.map((bar) => {\n const update = existingBarsWithUpdates?.find(\n (notification) => notification._id === bar._id,\n );\n if (update) {\n return {\n ...bar,\n ...update,\n isEntering: bar.isEntering,\n active: bar.active,\n };\n }\n return bar;\n }),\n );\n }\n }\n\n if (response?.payload?.payload?.shouldPoll) {\n enableBulkActionRequestPolling();\n } else {\n disableBulkActionRequestPolling();\n }\n }, [\n sendGetPollingNotificationsRequest,\n enableBulkActionRequestPolling,\n disableBulkActionRequestPolling,\n hiddenNotification,\n ]);\n\n const handleShowMultichannelBetaAccessConfirmationModal = () => {\n setShowMultichannelBetaAccessConfirmationModal(true);\n };\n\n const handleCloseMultichannelBetaAccessConfirmationModal = () => {\n setShowMultichannelBetaAccessConfirmationModal(false);\n };\n\n const getHeader = (locationPathName) =>\n getHeaderHelper(locationPathName, Routes);\n\n const openHelpScoutBeacon = () => {\n openChatSupport();\n };\n\n const handleUpgradePlanCTA = (isPlanExpired = false) => {\n if (checkIsLtdPlan(planType)) {\n openHelpScoutBeacon();\n return;\n }\n\n const emailSubject = () => {\n if (isWhitelabelWithClientView()) {\n return isPlanExpired\n ? 'Request to upgrade our account.'\n : 'Request to upgrade plan';\n }\n\n return isPlanExpired\n ? t('labels.upgrade_to_saleshandy_email_sub')\n : t('messages.upgrade_plan_error_email_subject');\n };\n\n const emailBody = isPlanExpired\n ? `Hey ${firstName}, %0D%0A %0D%0A ${t(\n 'messages.upgrade_to_pro_email_body',\n )}`\n : getEmailBody();\n\n if (hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)) {\n const path = pathname.split('/')?.[1];\n if (path === Routes.LEADS) {\n if (Number(leadFinderCredits) < 100) {\n redirectWithoutRefresh(\n GlobalRoutes.Setting_Billing_Add_Credits,\n );\n } else if (subscriptionPlan === SubscriptionPlans.TRIAL || subscriptionPlan === SubscriptionPlans.FREE) {\n redirectWithoutRefresh(\n GlobalRoutes.Setting_Billing_Upgrade_Email_Outreach_Plan,\n );\n } else {\n redirectWithoutRefresh(\n GlobalRoutes.Setting_Billing_Upgrade_Lead_Finder_Plan,\n );\n }\n } else {\n redirectWithoutRefresh(\n GlobalRoutes.Setting_Billing_Upgrade_Email_Outreach_Plan,\n );\n }\n } else if (isAgencyUser()) {\n const agencyUserRole = getAgencyUserRole();\n const agencyEmailSubject = `${t(\n 'messages.saleshandy_agency_account_upgrade_required',\n )}`;\n if (agencyUserRole && agencyUserRole === UserRole.AGENCYOWNER) {\n const supportEmail = process.env.REACT_APP_CONTACT_SUPPORT_EMAIL;\n\n contactAdmin(agencyEmailSubject, emailBody, supportEmail);\n }\n contactAdmin(agencyEmailSubject, emailBody);\n } else {\n contactAdmin(emailSubject(), emailBody);\n }\n };\n\n const setAnalyticsTrackData = () => {\n // Send data to analytics\n window.analytics?.track?.({\n userId: trackingId,\n event: AnalyticsEvents.BeaconOpened,\n properties: {\n current_tab_url: document.location.href,\n current_plan: planName,\n },\n });\n };\n\n const handleGetMultichannelAccess = () => {\n const settings = [\n {\n code: ShAccountSettingsCode.IsMultichannelActive,\n value: '1',\n },\n ];\n\n sendUpdateAdminDetailsRequest({\n settings,\n });\n isMultichannelActiveToggled.current = true;\n };\n\n useEffect(() => {\n setIsYoutubeIconVisible(\n agencyConfig?.showYTVideoGuide &&\n headerTitle?.trim()?.toLowerCase() === 'sequence' &&\n isWhitelabelWithoutClientView() &&\n (!getIsRequestPending(agencyConfigRequestStatus) || isInternalUrl()),\n );\n }, [headerTitle]);\n\n useEffect(() => {\n if (window.Beacon) {\n window.Beacon('on', HelpscoutBeaconEvents.OPEN, () => {\n setAnalyticsTrackData();\n });\n }\n if (window.Intercom) {\n window.Intercom(IntercomEvents.ON_SHOW, () => {\n setAnalyticsTrackData();\n });\n }\n }, [window.Beacon, window.Intercom]);\n\n useEffect(() => {\n // Initializing headwat change-log\n const script = document.createElement('script');\n script.async = true;\n script.src = 'https://cdn.headwayapp.co/widget.js';\n document.head.appendChild(script);\n\n const config = {\n selector: '#headway-badge',\n account: '7eoAWy',\n position: {\n y: 40,\n x: 0,\n },\n };\n script.onload = () => {\n window?.Headway?.init?.(config);\n };\n\n // Getting user profile\n sendGetProfileRequest();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n useEffect(() => {\n const path = pathname.split('/');\n\n routeStateChange({\n getHeader,\n path,\n Routes,\n sequenceRoutes,\n setSingleSequenceHeader,\n emailWarmupRoutes,\n setEmailWarmupHeader,\n setEmailWarmupHeaderWithReport,\n setCreateEmailInfrastructureHeader,\n setAddEmailAccountsHeader,\n setEmailAccountsHeader,\n setHeaderTitle,\n });\n\n if (\n pathname.includes(\n GlobalRoutes.Setting_Billing_Upgrade_Email_Outreach_Plan,\n ) || pathname.includes(GlobalRoutes.Setting_Billing_Upgrade_Lead_Finder_Plan)\n ) {\n setUpgradePlanHeader(true);\n } else {\n setUpgradePlanHeader(false);\n }\n\n // Update Intercom\n if (window.Intercom) {\n window.Intercom(IntercomEvents.UPDATE);\n }\n }, [pathname, remainingProspectLimit, remainingEmailSentLimit]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getUserNotificationsRequestStatus,\n onSuccess: () => {\n markNotificationAsRead(notificationId);\n },\n });\n }, [getUserNotificationsRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getUserSettingsRequestStatus,\n onSuccess: () => {\n setSubscriptionPlan(subscriptionDetails?.planCode);\n setSubscriptionEndDays(\n Math.ceil(\n DateTime.fromJSDate(new Date(subscriptionDetails?.nextBillingAt), {\n zone: 'Etc/UTC',\n })\n .diff(DateTime.now().toUTC(), ['days'])\n .toObject().days,\n ),\n );\n },\n });\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [meta, subscriptionDetails]);\n\n useEffect(() => {\n if (initiateFetchUnreadCount) {\n sendGetUserUnreadNotification();\n resetInitiateFetchUnreadCount();\n }\n }, [initiateFetchUnreadCount]);\n\n useEffect(() => {\n if (isMultichannelActiveToggled.current) {\n executeOnRequestStatus({\n status: updateAdminSettingsRequestStatus,\n onSuccess: () => {\n toaster.success('Multi-channel enabled successfully');\n isMultichannelActiveToggled.current = false;\n updateIsMultichannelActive();\n resetUpdateAdminSettings();\n handleCloseMultichannelBetaAccessConfirmationModal();\n },\n onFailed: () => {\n resetUpdateAdminSettings();\n handleCloseMultichannelBetaAccessConfirmationModal();\n isMultichannelActiveToggled.current = false;\n executeOnErrorWithErrorCheck({\n error: updateAdminSettingsRequestError,\n onError: () => {\n toaster.error(updateAdminSettingsRequestError.message);\n },\n });\n },\n });\n }\n }, [updateAdminSettingsRequestStatus]);\n\n useEffect(() => {\n if (progressBars?.length === 5) {\n const lastBarId = progressBars?.[4]?._id;\n if (lastBarId) {\n handleCompletion(lastBarId, 1000);\n }\n }\n }, [progressBars]);\n\n // ** Polling function getting called\n usePolling(\n handleNotificationPollingRequest,\n 5000,\n shouldBulkActionsPoll && isPageVisible,\n );\n\n const markNotificationsAsRead = async (\n notificationIdToMarkAsRead?: string,\n ) => {\n await sendMarkNotificationAsReadRequest(notificationIdToMarkAsRead);\n setNotificationId(notificationIdToMarkAsRead);\n };\n\n const fetchNextNotifications = () => {\n setPage(page + 1);\n sendGetUserNotificationRequest(page + 1);\n };\n const resetNotificationDataAndPage = () => {\n setPage(1);\n resetNotificationData();\n sendGetUserNotificationRequest(1);\n };\n\n const getRedirectUrlFromNotification = (notification) => {\n const fileId = notification?.metaData?.importFile?.id || '';\n switch (notification?.notificationType) {\n case NotificationType.ProspectImportAsync:\n return `/prospects?importedFile=${fileId}¬ificationId=${\n notification?._id || ''\n }`;\n case NotificationType.SequenceProspectImportAsync:\n return `/sequence/${\n notification?.sequenceId || ''\n }/prospects?importedFile=${fileId}¬ificationId=${\n notification?._id || ''\n }`;\n case NotificationType.LeadRevealCompletedAsync:\n case NotificationType.LeadRevealCompletedNoEmailOrPhoneAsync:\n if (notification.reportUrl && notification.reportUrl !== '') {\n return notification.reportUrl?.replace(\n process.env.REACT_APP_BASE_URL,\n '',\n );\n }\n return '';\n default:\n return '';\n }\n };\n\n const getHeaderContent = () => {\n if (singleSequenceHeader) {\n return ;\n }\n\n if (emailWarmupHeader) {\n return (\n \n );\n }\n\n if (emailAccountsHeader) {\n return ;\n }\n\n if (createEmailInfrastructureHeader) {\n return ;\n }\n\n if (addEmailAccountsHeader) {\n return ;\n }\n \n if (upgradePlanHeader) {\n return ;\n }\n\n if (upgradePlanHeader) {\n return ;\n }\n\n return (\n
    \n

    \n {headerTitle}\n

    \n {isYoutubeIconVisible && (\n \n showGettingStartedVideoModal(true)}\n className=\"ml-2 pointer\"\n />\n \n )}\n
    \n );\n };\n\n const isEmailAccountsPage = pathname === '/email-accounts';\n\n const pageHeaderClassNames = classNames([\n 'page-header',\n {\n noBoxShadow: createEmailInfrastructureHeader || singleSequenceHeader,\n noBorderNoBoxShadow:\n headerTitle === 'Email Accounts' &&\n emailAccountSetupInProgress &&\n isEmailAccountsPage,\n },\n ]);\n\n return (\n <>\n \n
    \n
    \n {getHeaderContent()}\n
    \n
    \n
    \n \n {hasPermission(Permissions.WHATSANEW_SHOW) && (\n \n \n \n )}\n \n {hasPermission(Permissions.NOTIFICATION_READ) && (\n \n )}\n \n \n \n \n {agencyConfig?.showClientName && agencyConfig?.clientName && (\n \n )}\n {!agencyConfig?.showClientName && client?.id && (\n \n )}\n
    \n
    \n\n \n {progressBars.length > 0 &&\n progressBars.map((notification) => {\n const redirectUrl = getRedirectUrlFromNotification(notification);\n return (\n handleAsyncToasterClose(notification?._id)}\n isComplete={notification?.completedAt}\n onCompletion={() => handleCompletion(notification?._id)}\n classNameSuffix={`${\n notification?.isEntering ? 'entering' : ''\n } ${notification?.active ? 'active' : ''} ${\n notification?.isClosing ? 'closing' : ''\n }`}\n />\n );\n })}\n \n {pageHeaderBannerMessage && (\n
    \n \n
    \n )}\n\n \n \n Multi-channel Access\n \n }\n onHide={handleCloseMultichannelBetaAccessConfirmationModal}\n primaryBtnLabel=\"Get Access\"\n secondaryBtnLabel=\"Cancel\"\n primaryBtnClickedHandler={handleGetMultichannelAccess}\n secondaryBtnClickedHandler={\n handleCloseMultichannelBetaAccessConfirmationModal\n }\n primaryBtnDisabled={getIsRequestPending(\n updateAdminSettingsRequestStatus,\n )}\n primaryBtnLoading={getIsRequestPending(\n updateAdminSettingsRequestStatus,\n )}\n >\n

    \n Great, you are going to enable multi-channel, that will allow you to\n create a sequence having LinkedIn, Call, and Manual tasks along with\n Email steps.\n

    \n

    Once enabled, multi-channel access cannot be disabled.

    \n \n \n );\n};\n\nexport default Header;\n","import React from 'react';\n\nimport Switch, { Size } from '../../switch';\nimport { supportUrls } from '../../../../../utils/urls';\n\ntype MultichannelBetaAccessSwitchProps = {\n handleShowMultichannelBetaAccessConfirmationModal: () => void;\n};\n\nconst MultichannelBetaAccessSwitch: React.FC = ({\n handleShowMultichannelBetaAccessConfirmationModal,\n}) => (\n
    \n
    \n \n
    \n Multi-channel Access\n Beta\n
    \n
    \n

    \n Smarter sequence to engage prospects via LinkedIn, Calls, and Manual tasks\n along with emails to maximize outreach results.\n

    \n \n Learn More\n \n
    \n);\n\nexport default MultichannelBetaAccessSwitch;\n","import React, { useRef, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport {\n Headset as HeadsetIcon,\n GraduationHat,\n Chrome,\n Apps,\n Friends,\n Logout,\n Help,\n Gear,\n DeviceMobile,\n} from '@saleshandy/icons';\nimport { isEmpty } from 'lodash';\nimport Avatar from '../initials-avatar';\nimport Icon from '../icon';\nimport { useOutClickHook } from '../../../../utils/hooks';\nimport { AuthHelper } from '../../../../utils';\nimport history from '../../../../history';\nimport { accessibleOnClick } from '../../../../utils/accessible-on-click';\nimport { supportUrls } from '../../../../utils/urls';\nimport { AnalyticsEvents } from '../../../../enums/analytics';\nimport { AvatarEmail } from './helper/AvatarEmail';\nimport { openChatSupport } from '../../../../utils/open-chat-support';\nimport hasPermission from '../../../../utils/access-control/has-permission';\nimport { Permissions } from '../../../../utils/access-control/enums/permissions';\nimport CreditsBox from './helper/credits-box';\nimport { openUrl } from '../../../../utils/open-url';\nimport { isValueBasedPlan } from '../../../../../components/settings/components/billing-subscription/components/outreach-plans/utils/helper';\nimport { useCreditsSelectors } from './helper/credits-box-helper';\nimport CommonProfileDropdownItem from './helper/common-profile-dropdown-item';\nimport MultichannelBetaAccessSwitch from './helper/multichannel-beta-access-switch';\nimport {\n getUserPlanName,\n getUserRole,\n getUserShAccountId,\n} from '../../../../utils/user-details';\n\ntype UserProfile = {\n firstName: string;\n lastName: string;\n email: string;\n};\n\ntype IProps = {\n userProfile: UserProfile;\n client: Record;\n trackingId: string;\n\n isMultichannelActive: boolean;\n handleShowMultichannelBetaAccessConfirmationModal: VoidFunction;\n};\n\nconst ProfileDropdown: React.FC = ({\n userProfile,\n client,\n trackingId,\n\n isMultichannelActive,\n handleShowMultichannelBetaAccessConfirmationModal,\n}) => {\n const { t } = useTranslation();\n const dropdownRef = useRef(null);\n const [showDropdown, setShowDropdown] = useState(false);\n\n const { planType, planName } = useCreditsSelectors();\n\n const closeDropdown = () => setShowDropdown(false);\n const toggleDropdown = () => setShowDropdown(!showDropdown);\n useOutClickHook(dropdownRef, closeDropdown);\n\n const navigateToSettings = () => {\n closeDropdown();\n history.push('/settings/profile');\n };\n\n const navigateToFeatureRequest = () => {\n window.analytics?.track?.({\n userId: trackingId,\n event: AnalyticsEvents.FeatureRequestClicked,\n properties: {\n current_tab_url: document.location.href,\n },\n });\n closeDropdown();\n window.open(process.env.REACT_APP_SH_HELP, '_blank');\n };\n const navigateToBecomeOurAffiliate = () => {\n closeDropdown();\n window.open(supportUrls.becomeOurAffiliate, '_blank');\n };\n\n const redirectToScheduleDemo = () => {\n closeDropdown();\n window.open(process.env.REACT_APP_SCHEDULE_DEMO_URL, '_blank');\n };\n const redirectToChromeWebStore = () => {\n // Segment tracking\n window.analytics?.track?.({\n userId: trackingId,\n event: AnalyticsEvents.ExtensionIconClicked,\n properties: {\n current_tab_url: document.location.href,\n current_plan: planName,\n },\n });\n closeDropdown();\n window.open(process.env.REACT_APP_SALESHANDY_CONNECT_URL, '_blank');\n };\n\n const redirectToDownloadMobileAppLink = () => {\n window.analytics?.track?.({\n userId: trackingId,\n event: AnalyticsEvents.DownloadMobileAppFromProfileSection,\n properties: {\n current_tab_url: document.location.href,\n shAccountId: getUserShAccountId(),\n current_plan: getUserPlanName(),\n role: getUserRole(),\n },\n });\n\n closeDropdown();\n window.open('https://www.saleshandy.com/mobile-app/', '_blank');\n };\n\n const openChat = () => {\n closeDropdown();\n openChatSupport();\n };\n\n const onLogoutHandler = () => {\n closeDropdown();\n\n if (!isEmpty(client)) {\n AuthHelper.logout({\n redirect: true,\n pathName: '/agency/login',\n });\n return;\n }\n AuthHelper.logout();\n };\n\n const shouldShowDivider =\n hasPermission(Permissions.SCHEDULE_DEMO_SHOW) ||\n hasPermission(Permissions.MASTER_CLASS_SHOW) ||\n hasPermission(Permissions.CHROME_EXTENSION_READ);\n\n return (\n <>\n
    \n \n \n \n
    \n {showDropdown && (\n
    \n
    \n \n
    \n
    \n
    \n
      \n
      \n }\n label={t('labels.profile_settings')}\n onClick={navigateToSettings}\n />\n\n {hasPermission(Permissions.FEATURE_REQUEST_SHOW) && (\n }\n label={t('labels.feature_request')}\n onClick={navigateToFeatureRequest}\n />\n )}\n {hasPermission(Permissions.BECOME_OUR_AFFILATE_SHOW) && (\n }\n label={t('labels.become_our_affiliate')}\n onClick={navigateToBecomeOurAffiliate}\n />\n )}\n {hasPermission(Permissions.HELP_SHOW) && (\n }\n label={t('labels.help')}\n onClick={openChat}\n />\n )}\n
      \n\n {shouldShowDivider &&
      }\n\n
      \n {hasPermission(Permissions.SCHEDULE_DEMO_SHOW) && (\n \n }\n label={t('labels.schedule_demo')}\n onClick={redirectToScheduleDemo}\n />\n )}\n {hasPermission(Permissions.MASTER_CLASS_SHOW) && (\n \n }\n label={t('labels.cold_email_masterclass')}\n onClick={() => {\n closeDropdown();\n openUrl(supportUrls.coldEmailMasterClass);\n }}\n />\n )}\n {hasPermission(Permissions.CHROME_EXTENSION_READ) && (\n }\n label={t('labels.download_chrome_plugin')}\n onClick={redirectToChromeWebStore}\n />\n )}\n {hasPermission(Permissions.BANNER_MOBILEAPP_SHOW) && (\n }\n label=\"Download Mobile App\"\n onClick={redirectToDownloadMobileAppLink}\n showNewBadge={true}\n />\n )}\n
      \n\n
      \n\n
      \n }\n label={t('labels.logout')}\n onClick={onLogoutHandler}\n />\n
      \n\n {hasPermission(Permissions.BILLING_SHOW) &&\n (isValueBasedPlan(planType) ||\n hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)) && (\n \n )}\n\n {!isMultichannelActive &&\n hasPermission(Permissions.ACCOUNT_USER_READ) && (\n \n )}\n
    \n
    \n
    \n )}\n
    \n \n );\n};\n\nexport default ProfileDropdown;\n","import React from 'react';\nimport { Link } from 'react-router-dom';\nimport { Images } from '../../../shared/app-constants';\nimport { EmailWarmupHeaderProps } from '../types';\n\nconst EmailWarmupHeader: React.FC = ({\n emailWarmupHeaderWithReport,\n}) => (\n <>\n
    \n {emailWarmupHeaderWithReport ? (\n <>\n \n

    Email Warm-up

    \n \n \n ) : (\n <>\n

    Email Warm-up

    \n \n )}\n {emailWarmupHeaderWithReport && (\n <>\n \"Arrow\"\n

    Report

    \n \n )}\n
    \n \n);\n\nexport default EmailWarmupHeader;\n","import React from 'react';\nimport classNames from 'classnames';\nimport { IProps, IState } from './types';\nimport { isEnterKey, isEscapeKey } from '../../../../../../shared/utils/event';\nimport { SequenceConfig } from '../../../../enums/sequence';\nimport {\n getTasksFiltersFromLocalStore,\n setTasksFiltersInLocalStore,\n} from '../../../../../tasks/components/tasks-content/utils/helper';\nimport { setProspectsFiltersInLocalStore } from '../../../../../prospect/helpers/prospect-filters-resolver';\nimport hasPermission from '../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../shared/utils/access-control/enums/permissions';\nimport hasResource from '../../../../../../shared/utils/access-control/has-resource';\nimport { ResourceIdentifiers } from '../../../../../../shared/utils/access-control/enums/resource-identifiers';\n\nclass SequenceSingleTitle extends React.PureComponent {\n private readonly inputRef: React.RefObject;\n // Ideally, it should be 3. but for a better user experience, a higher value\n // would be preferable, because more space on right side on the input would\n // be convenience for the user to click for the first time.\n private readonly spanRef: React.RefObject;\n\n constructor(props: IProps) {\n super(props);\n\n this.state = { title: props.title || '', isEditMode: false };\n\n this.inputRef = React.createRef();\n this.spanRef = React.createRef();\n\n this.onSetTitle = this.onSetTitle.bind(this);\n this.onInputChange = this.onInputChange.bind(this);\n this.onInputBlur = this.onInputBlur.bind(this);\n this.onInputKeyPress = this.onInputKeyPress.bind(this);\n this.activateEditMode = this.activateEditMode.bind(this);\n this.deactivateEditMode = this.deactivateEditMode.bind(this);\n }\n\n componentDidMount() {\n this.adjustInputWidth();\n }\n\n componentDidUpdate(prevProps: Readonly, prevState: IState) {\n const { title: propsTitle } = this.props;\n\n if (prevProps.title !== propsTitle) {\n this.onSetTitle();\n }\n\n if (prevState.title !== this.state.title) {\n this.adjustInputWidth();\n }\n }\n\n onSetTitle() {\n const { title } = this.state;\n const { title: propsTitle } = this.props;\n if (!title) {\n this.setState({ title: propsTitle });\n }\n }\n\n onInputChange(event: React.ChangeEvent) {\n const { value } = event.target;\n this.setState({ title: value });\n }\n\n onInputKeyPress(event: React.KeyboardEvent) {\n if (isEnterKey(event.key)) {\n this.inputRef.current.blur();\n } else if (isEscapeKey(event.key)) {\n this.onRevert();\n }\n }\n\n onInputBlur() {\n this.onSave();\n this.changeFilterSequenceTitle();\n }\n\n onRevert() {\n const { title: previousTitle } = this.props;\n this.setState({ title: previousTitle }, () => {\n this.inputRef.current.blur();\n });\n this.deactivateEditMode();\n }\n\n onSave() {\n const { title: newTitle } = this.state;\n const { title: previousTitle, onChange } = this.props;\n if (!newTitle || newTitle.length === 0 || !newTitle.trim()) {\n // First state change.\n this.setState({ title: previousTitle });\n } else if (previousTitle !== newTitle) {\n onChange(newTitle);\n }\n // Second state change.\n // Even though this is a second state change in the same function,\n // react will batch both setState into one, hence preventing calling\n // render multiple times.\n this.deactivateEditMode();\n }\n\n adjustInputWidth = () => {\n const { title } = this.state;\n\n if (this.spanRef?.current && this.inputRef?.current) {\n this.spanRef.current.textContent = title;\n this.inputRef.current.style.width = `${\n this.spanRef.current.offsetWidth + 14\n }px`;\n }\n };\n\n changeFilterSequenceTitle() {\n const { sequenceId } = this.props;\n const { title: newTitle } = this.state;\n\n const taskFilter = getTasksFiltersFromLocalStore();\n const prospectFilter = getTasksFiltersFromLocalStore();\n\n if (taskFilter || prospectFilter) {\n const taskFilterSequence = taskFilter?.sequences?.map(\n ({ id, title }) => ({\n id,\n title: id === sequenceId ? newTitle : title,\n }),\n );\n\n const prospectFilterSequence = prospectFilter?.sequences?.map(\n ({ id, title }) => ({\n id,\n title: id === sequenceId ? newTitle : title,\n }),\n );\n\n const newTaskFilter = { ...taskFilter, sequences: taskFilterSequence };\n const newProspectFilter = {\n ...prospectFilter,\n sequences: prospectFilterSequence,\n };\n\n setTasksFiltersInLocalStore(newTaskFilter);\n setProspectsFiltersInLocalStore(newProspectFilter);\n }\n }\n\n activateEditMode() {\n this.setState({ isEditMode: true });\n }\n\n deactivateEditMode() {\n this.setState({ isEditMode: false });\n }\n\n render() {\n const { title, isEditMode } = this.state;\n\n const disabled =\n !hasPermission(Permissions.SEQUENCE_UPDATE) ||\n !hasResource(ResourceIdentifiers.SEQUENCES_RENAME);\n\n const inputClasses = classNames([\n 'sequence-name--input',\n {\n disabled,\n },\n ]);\n\n return (\n
    \n \n \n {title}\n \n
    \n );\n }\n}\n\nexport default SequenceSingleTitle;\n","/* eslint-disable react/no-unused-state */\n/* eslint-disable react/no-did-update-set-state */\nimport React from 'react';\nimport { withTranslation } from 'react-i18next';\nimport { Link } from 'react-router-dom';\nimport Icon from '../../../../shared/design-system/components/atoms/icon/icon';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport { redirectWithRefresh } from '../../../../shared/utils';\nimport { SequenceAction, SequenceProgress } from '../../enums';\nimport SequenceSingleTitle from './components/sequence-single-title';\nimport { IProps } from './types';\nimport { planError } from '../../../../shared/utils/errors/plan-permission-error/plan-error';\nimport { SubscriptionPlans } from '../../../../shared/utils/subscription-plans';\nimport { UserRole } from '../../../../shared/enums/user-roles';\nimport hasResource from '../../../../shared/utils/access-control/has-resource';\nimport { ResourceIdentifiers } from '../../../../shared/utils/access-control/enums/resource-identifiers';\nimport hasPermission from '../../../../shared/utils/access-control/has-permission';\nimport Switch, {\n Size,\n} from '../../../../shared/design-system/components/atoms/switch';\nimport { ProductTour } from '../../../../shared/enums/product-tour';\nimport { Permissions } from '../../../../shared/utils/access-control/enums/permissions';\nimport { getLabel } from '../sequence-single-content/components/sequence-single-contacts/components/contact-list-content/components/prospect-activity-modal/helpers';\nimport { Placement } from '../../../../shared/design-system/components/overlay';\nimport {\n getSequenceAction,\n getTooltipText,\n} from '../sequence-single-content/components/sequence-single-header-actions/utils/helper';\nimport { sequencePauseMessages } from '../../enums/sequence-pause-reasons';\nimport UpgradePlanErrorModal from '../../../../shared/components/upgrade-plan-error-modal';\nimport VerifyEmailModal from '../../../../shared/components/verify-email-modal';\nimport PauseResumeSequenceModal from '../../shared/modals/pause-resume-sequence-modal';\nimport RestrictionErrorModal from '../../../prospect/components/prospect-list/components/modals/restriction-error-modal';\nimport {\n getEmailSendingRestrictionModalContent,\n getOverLimitConnectedEmailErrorMsg,\n} from '../../../prospect/components/prospect-list/utils/helper';\nimport { getEmailBody } from '../../../home/components/header/utils/helper';\nimport planPermissionError from '../../../../shared/utils/errors/plan-permission-error';\nimport { isFreePlan } from '../../../../shared/utils/plans';\n\ntype IState = {\n showPauseResumeSequenceModal: boolean;\n action: SequenceAction;\n showConnectEmailAccountModal: boolean;\n showRestrictionModal: boolean;\n showUpgradePlanErrorModal: boolean;\n isVerifyEmailModalShow: boolean;\n isRestrictionModalVisible: boolean;\n};\n\nclass SequenceSingleHeader extends React.Component {\n switchRef: React.RefObject;\n\n constructor(props) {\n super(props);\n this.state = {\n showPauseResumeSequenceModal: false,\n action: null,\n showConnectEmailAccountModal: false,\n showRestrictionModal: false,\n showUpgradePlanErrorModal: false,\n isVerifyEmailModalShow: false,\n isRestrictionModalVisible: false,\n };\n this.showPauseResumeSequenceModal = this.showPauseResumeSequenceModal.bind(\n this,\n );\n this.hidePauseResumeSequenceModal = this.hidePauseResumeSequenceModal.bind(\n this,\n );\n this.onSwitchChange = this.onSwitchChange.bind(this);\n this.onPauseResumeSequenceModalSubmit = this.onPauseResumeSequenceModalSubmit.bind(\n this,\n );\n this.onSequenceTitleChange = this.onSequenceTitleChange.bind(this);\n this.skipConnectEmailAccount = this.skipConnectEmailAccount.bind(this);\n this.switchRef = React.createRef();\n }\n\n componentDidUpdate(prevProps: Readonly) {\n const {\n pauseResumeSequenceRequestStatus,\n pauseResumeSequenceRequestError,\n sendGetSequenceRequest,\n sequenceId,\n connectEmailAccountRequestStatus,\n authUrl,\n } = this.props;\n\n if (\n pauseResumeSequenceRequestStatus !==\n prevProps.pauseResumeSequenceRequestStatus\n ) {\n if (pauseResumeSequenceRequestStatus === RequestStatus.Succeeded) {\n // changing a state when prop changes!!\n this.hidePauseResumeSequenceModal();\n sendGetSequenceRequest(sequenceId);\n }\n\n if (\n pauseResumeSequenceRequestStatus === RequestStatus.Failed &&\n pauseResumeSequenceRequestError\n ) {\n if (pauseResumeSequenceRequestError.code === 4001) {\n // eslint-disable-next-line react/no-unused-state\n this.setState({ showConnectEmailAccountModal: true });\n this.hidePauseResumeSequenceModal();\n }\n }\n }\n\n if (\n connectEmailAccountRequestStatus !==\n prevProps.connectEmailAccountRequestStatus &&\n connectEmailAccountRequestStatus === RequestStatus.Succeeded\n ) {\n redirectWithRefresh(authUrl);\n }\n }\n\n onSequenceTitleChange(title: string) {\n const { sequenceId, sendRenameSequenceRequest } = this.props;\n sendRenameSequenceRequest(sequenceId, title);\n }\n\n onSwitchChange(checked: boolean) {\n const { subscriptionPlan, role } = this.props;\n if (subscriptionPlan === SubscriptionPlans.FREE) {\n if (role === UserRole.ADMIN) {\n planError(2003);\n } else {\n planError(3003);\n }\n } else {\n const action = checked ? SequenceAction.Resume : SequenceAction.Pause;\n this.showPauseResumeSequenceModal(action);\n }\n }\n\n onPauseResumeSequenceModalSubmit() {\n const { action } = this.state;\n const { sequenceId, sendPauseResumeSequenceRequest } = this.props;\n if (!hasPermission(Permissions.SEQUENCE_UPDATE_STATUS) && isFreePlan()) {\n const title = 'Please upgrade to enable the sequence';\n const content = [\n 'Your account is downgraded to a free plan. Upgrade to a paid plan to enable the sequence and resume email sending.',\n ];\n\n // eslint-disable-next-line consistent-return\n return planPermissionError.showModal(title, content, true);\n }\n\n hasResource(ResourceIdentifiers.SEQUENCES_PAUSE_RESUME) &&\n sendPauseResumeSequenceRequest(sequenceId, action);\n }\n\n hideRestrictionModal = () => {\n this.setState({ isRestrictionModalVisible: false });\n };\n\n onToggleSequenceAction = (checked: boolean) => {\n const {\n remainingEmailSentLimit,\n sequence,\n subscriptionDetails,\n verified,\n } = this.props;\n\n if (isFreePlan()) {\n const title = 'Please upgrade to enable the sequence';\n const content = [\n 'Your account is downgraded to a free plan. Upgrade to a paid plan to enable the sequence and resume email sending.',\n ];\n\n planPermissionError.showModal(title, content, true);\n return;\n }\n\n if (remainingEmailSentLimit === 0 && checked) {\n this.showRestrictionModal();\n return;\n }\n\n if (sequence?.isSequenceHasOverLimitEmails) {\n this.showRestrictionModal();\n return;\n }\n\n if (subscriptionDetails?.planCode === SubscriptionPlans.FREE) {\n planError(2003);\n } else if (this.shouldShowPlanUpgradeErrorModal(subscriptionDetails)) {\n this.setState({ showUpgradePlanErrorModal: true });\n // setShowUpgradePlanErrorModal(true);\n } else if (!verified) {\n this.showVerifyEmailModal();\n } else {\n const action = getSequenceAction(checked);\n hasResource(ResourceIdentifiers.SEQUENCES_PAUSE_RESUME) &&\n this.showPauseResumeSequenceModal(action);\n }\n };\n\n shouldShowPlanUpgradeErrorModal = (subscriptionDetails) =>\n subscriptionDetails?.planCode === SubscriptionPlans.EMAIL_STARTER_MONTHLY ||\n subscriptionDetails?.planCode === SubscriptionPlans.EMAIL_STARTER_YEARLY;\n\n showRestrictionModal = () => {\n this.setState({ showRestrictionModal: true });\n };\n\n showVerifyEmailModal = () => {\n this.setState({ isVerifyEmailModalShow: true });\n };\n\n hideVerifyEmailModal = () => {\n this.setState({ isVerifyEmailModalShow: false });\n };\n\n hideUpgradePlanErrorModal = () => {\n this.setState({ showUpgradePlanErrorModal: false });\n };\n\n showPauseResumeSequenceModal(action: SequenceAction) {\n this.setState({ action, showPauseResumeSequenceModal: true });\n }\n\n hidePauseResumeSequenceModal() {\n this.setState({ showPauseResumeSequenceModal: false });\n }\n\n skipConnectEmailAccount() {\n this.setState({ showConnectEmailAccountModal: false });\n }\n\n render() {\n const {\n title,\n sequenceId,\n progress,\n pausedReasonIdentifier,\n pauseResumeSequenceRequestStatus,\n remainingEmailSentLimit,\n t,\n } = this.props;\n const {\n showPauseResumeSequenceModal,\n showUpgradePlanErrorModal,\n isRestrictionModalVisible,\n isVerifyEmailModalShow,\n action,\n } = this.state;\n\n const isSequenceActive = progress === SequenceProgress.Active;\n const reason = pausedReasonIdentifier\n ? sequencePauseMessages[pausedReasonIdentifier]\n : '';\n const isPauseResumeSequenceRequestPending =\n pauseResumeSequenceRequestStatus === RequestStatus.Pending;\n\n return (\n <>\n
    \n
    \n \n Sequence\n \n
    \n \n
    \n \n\n {hasPermission(Permissions.SEQUENCE_WRITE) && (\n
    \n \n
    \n )}\n
    \n
    \n\n \n\n \n\n {isRestrictionModalVisible && (\n \n )}\n\n \n \n );\n }\n}\n\nexport default withTranslation()(SequenceSingleHeader);\n","import { ReactNode } from 'react';\nimport { connect, ConnectedProps } from 'react-redux';\nimport { withRouter } from 'react-router';\nimport SequenceSingleHeader from './sequence-single-header';\nimport { RootState } from '../../../../store/root-reducer';\nimport {\n getSequenceRequest,\n pauseResumeSequenceRequest,\n renameSequenceRequest,\n} from '../../extra-actions';\nimport { SequenceAction } from '../../enums';\nimport { SequenceIdRouteComponentProps } from '../../types';\nimport { upgradeOnboardingStepRequest } from '../../../home/extra-actions';\nimport { UpgradeOnboardingStepPayload } from '../../../home/types';\nimport { connectEmailAccountRequest } from '../../../email-accounts/extra-actions';\nimport { EmailAccountMethod } from '../../../email-accounts/enums/email-account';\n\nconst mapStateToProps = (state: RootState) => ({\n renameSequenceRequestStatus: state.sequence.renameSequenceRequest.status,\n renameSequenceRequestMessage: state.sequence.renameSequenceRequest.message,\n renameSequenceRequestError: state.sequence.renameSequenceRequest.error,\n pauseResumeSequenceRequestStatus:\n state.sequence.pauseResumeSequenceRequest.status,\n pauseResumeSequenceRequestMessage:\n state.sequence.pauseResumeSequenceRequest.message,\n pauseResumeSequenceRequestError:\n state.sequence.pauseResumeSequenceRequest.error,\n title: state.sequence.sequence?.title,\n progress: state.sequence.sequence?.progress,\n isStepsListEmpty: state.sequence.sequence?.steps.length === 0,\n sequenceId: state.sequence.sequence?.id,\n isContactsEmpty: !state.sequence.contactStepFilterCount.totalContacts,\n meta: state.home.meta,\n connectEmailAccountRequestStatus:\n state.emailAccount.connectEmailAccountRequest.status,\n authUrl: state.emailAccount.authUrl,\n getUserSettingRequestStatus: state.home.getUserSettingsRequest.status,\n role: state.home.role,\n subscriptionPlan: state.home.subscription?.planCode,\n pausedReasonIdentifier: state.sequence.sequence?.pausedReasonIdentifier,\n remainingEmailSentLimit: parseInt(\n state.home.getPostLoadMetaResponse?.accountUsageQuotaRemaining?.[\n 'EMAIL.SEND'\n ],\n 10,\n ),\n sequence: state.sequence.sequence,\n subscriptionDetails: state.home.subscription,\n verified: state.home.verified,\n});\n\nconst mapDispatchToProps = {\n sendGetSequenceRequest: (sequenceId: number) =>\n getSequenceRequest(sequenceId),\n sendRenameSequenceRequest: (sequenceId: number, title: string) =>\n renameSequenceRequest({ sequenceId, title }),\n sendPauseResumeSequenceRequest: (\n sequenceId: number,\n action: SequenceAction,\n ) => pauseResumeSequenceRequest({ sequenceId, action }),\n sendUpgradeOnboardingStepRequest: (payload?: UpgradeOnboardingStepPayload) =>\n upgradeOnboardingStepRequest(payload),\n sendConnectEmailAccountRequest: (\n method: EmailAccountMethod,\n emailAccountId?: number,\n ) => connectEmailAccountRequest({ method, emailAccountId }),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps &\n SequenceIdRouteComponentProps & {\n currentTab: string;\n t: (x: string) => ReactNode;\n };\n\nexport default withRouter(connector(SequenceSingleHeader));\n","import React from 'react';\nimport { OverlayTrigger, Tooltip } from 'react-bootstrap';\nimport { useTranslation } from 'react-i18next';\nimport { Bolt } from '@saleshandy/icons';\n\nconst ChangeLogTooltip = (popoverText) => (\n \n {popoverText}\n \n);\n\nconst ChangeLog = () => {\n const { t } = useTranslation();\n return (\n \n
    \n
    \n \n
    \n \n );\n};\n\nexport default ChangeLog;\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { AlertTriangle } from '@saleshandy/icons';\nimport { SubscriptionPlans } from '../../../../../shared/utils/subscription-plans';\nimport { Images } from '../../../../../shared/app-constants';\nimport {\n getRestrictionWarning,\n getRestrictionWarningTooltip,\n getTrailPlanWarningString,\n} from '../utils/helper';\nimport { OverlayTooltip } from '../../../../../shared/design-system/components/overlay';\nimport { accessibleOnClick } from '../../../../../shared/utils/accessible-on-click';\nimport { getUpgradePlanCTA } from '../../../../../shared/utils/get-upgrade-cta';\nimport hasPermission from '../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../shared/utils/access-control/enums/permissions';\nimport { isPlanDowngradedFromTrial } from '../../../utils/plan-transition';\nimport store from '../../../../../store';\nimport { isAgencificationClientOrAgencyUser } from '../../../../../shared/utils/user-details';\n\ntype BannerMetaData = {\n show: boolean;\n type?: 'warning' | 'danger';\n imgSrc?: string;\n message?: string;\n showTooltip?: boolean;\n tooltipText?: string;\n isPostLoadMetaRequestPending?: boolean;\n showTooltipOnButton?: boolean;\n icon?: React.ReactNode;\n};\n\nconst HeaderBanner = ({\n subscriptionPlan,\n subscriptionEndDays,\n pathname,\n leadFinderCredits,\n handleUpgradePlanCTA,\n isPostLoadMetaRequestPending,\n}) => {\n const { t } = useTranslation();\n const state = store.getState();\n const planTransitionDetails = state.home.subscription?.planTransitionDetails;\n\n const getBannerMetaData = (): BannerMetaData => {\n const path = pathname.split('/')?.[1];\n if (isAgencificationClientOrAgencyUser()) {\n return {\n show: false,\n type: 'warning',\n imgSrc: '',\n message: '',\n showTooltip: false,\n tooltipText: '',\n };\n }\n\n if (\n !isPostLoadMetaRequestPending &&\n path === 'leads' &&\n leadFinderCredits < 100 &&\n hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)\n ) {\n return {\n show: true,\n type: 'warning',\n message: 'Your lead finder credits are low.',\n showTooltip: false,\n tooltipText:\n 'By purchasing credits, you can reveal both emails and phone numbers of leads',\n showTooltipOnButton: true,\n icon: ,\n };\n }\n\n if (subscriptionPlan === SubscriptionPlans.TRIAL) {\n return {\n show: true,\n type: 'warning',\n imgSrc: Images.AlertTriangle,\n message: getTrailPlanWarningString({ t, subscriptionEndDays }),\n showTooltip: false,\n tooltipText: '',\n };\n }\n\n if (subscriptionPlan === SubscriptionPlans.FREE) {\n if (isPlanDowngradedFromTrial(planTransitionDetails)) {\n return {\n show: true,\n type: 'danger',\n imgSrc: Images.AlertTriangleRed,\n message: 'Your trial period is expired.',\n showTooltip: false,\n tooltipText: '',\n };\n }\n return {\n show: true,\n type: 'danger',\n imgSrc: Images.AlertTriangleRed,\n message: 'Your plan has expired.',\n showTooltip: false,\n tooltipText: '',\n };\n }\n\n const warningMessage = getRestrictionWarning();\n if (warningMessage) {\n return {\n show: true,\n type: 'danger',\n imgSrc: Images.AlertTriangleRed,\n message: warningMessage,\n showTooltip: true,\n tooltipText: getRestrictionWarningTooltip(),\n };\n }\n\n return {\n show: false,\n type: 'warning',\n imgSrc: '',\n message: '',\n showTooltip: false,\n tooltipText: '',\n };\n };\n\n const {\n show,\n type,\n imgSrc,\n message,\n showTooltip,\n tooltipText,\n showTooltipOnButton,\n icon,\n } = getBannerMetaData();\n\n const bannerMsgJSX = (\n \n {message}{' '}\n \n );\n\n return (\n show && (\n
    \n {icon && icon}\n {imgSrc && {type}}\n\n {showTooltip ? (\n {bannerMsgJSX}\n ) : (\n bannerMsgJSX\n )}\n {showTooltipOnButton ? (\n \n handleUpgradePlanCTA())}\n >\n {t(`labels.add_credits`)}\n \n \n ) : (\n handleUpgradePlanCTA())}\n >\n {t(`labels.${getUpgradePlanCTA()}`)}\n \n )}\n
    \n )\n );\n};\n\nexport default HeaderBanner;\n","import React from 'react';\n\nimport type { IProps } from './email-accounts-header-container';\nimport {\n OverlayPopover,\n Placement,\n TriggerType,\n} from '../../../../../../shared/design-system/components/overlay';\n\nconst EmailAccountsHeader: React.FC = ({ emailsCount }) => {\n const renderEmailAccounts = (\n type: 'active' | 'inactive' | 'paused',\n label: string,\n count: number,\n ) => (\n
    \n
    \n
    \n

    {label}

    \n
    \n

    {count}

    \n
    \n );\n\n return (\n
    \n
    \n

    Email Accounts

    \n\n \n {renderEmailAccounts(\n 'active',\n 'Active Accounts',\n emailsCount.connectedEmailsCount,\n )}\n {renderEmailAccounts(\n 'inactive',\n 'Inactive Accounts',\n emailsCount.disconnectedEmailsCount,\n )}\n {renderEmailAccounts(\n 'paused',\n 'Paused Accounts',\n emailsCount.pausedEmailsCount,\n )}\n
    \n }\n trigger={TriggerType.Hover}\n placement={Placement.BottomStart}\n >\n
    \n \n {emailsCount.connectedEmailsCount +\n (emailsCount.disconnectedEmailsCount +\n emailsCount.pausedEmailsCount)}\n \n
    \n \n
    \n
    \n );\n};\n\nexport default EmailAccountsHeader;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../../../store/root-reducer';\n\nimport EmailAccountsHeader from './email-accounts-header';\n\nconst mapStateToProps = (state: RootState) => ({\n emailsCount: state.emailAccount.emailsCount,\n});\n\nconst mapDispatchToProps = {};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps;\n\nexport default connector(EmailAccountsHeader);\n","import React from 'react';\nimport { AlertCircle } from '@saleshandy/icons';\n\nimport Modal from '../../../shared/design-system/ui/modal';\n\ninterface GoingBackToEmailAccountsModalProps {\n show: boolean;\n onSubmit: () => void;\n onClose: () => void;\n onlyEmailAccounts?: boolean;\n}\n\nconst GoingBackToEmailAccountsModal: React.FC = ({\n show,\n onSubmit,\n onClose,\n onlyEmailAccounts = false,\n}) => (\n \n \n Are you sure you want to go back\n
    \n }\n onHide={onClose}\n primaryBtnLabel=\"Yes\"\n secondaryBtnLabel=\"Cancel\"\n primaryBtnClickedHandler={onSubmit}\n secondaryBtnClickedHandler={onClose}\n >\n <>\n

    \n {`Going back will remove all ${\n !onlyEmailAccounts ? 'selected domains and' : ''\n } email accounts from your cart.`}\n

    \n

    Are you sure you want to proceed?

    \n \n \n);\n\nexport default GoingBackToEmailAccountsModal;\n","import React, { useState } from 'react';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { ChevronRight } from '@saleshandy/icons';\nimport { useHistory } from 'react-router';\n\nimport { RootState } from '../../../../../store/root-reducer';\nimport { accessibleOnClick } from '../../../../../shared/utils/accessible-on-click';\nimport GoingBackToEmailAccountsModal from '../../../modals/going-back-to-email-accounts-modal';\nimport { resetEmailAccountInfrastructure } from '../../../email-accounts-slice';\nimport { clearAllEmailAccountInfrastructureKeysFromLocalStorage } from '../../../helpers/email-accounts-infra-local-storage';\nimport EmailInfrastructureServiceProvider from './email-infrastructure-service-provider';\n\nconst CreateEmailInfrastructureHeader: React.FC = () => {\n const [showClearAllCartModal, setShowClearAllCartModal] = useState(false);\n const dispatch = useDispatch();\n const history = useHistory();\n\n const emailAccountInfrastructureServiceProvider = useSelector(\n (state: RootState) =>\n state.emailAccount.emailAccountInfrastructureServiceProvider,\n );\n\n const emailAccountInfrastructureCart = useSelector(\n (state: RootState) => state.emailAccount.emailAccountInfrastructureCart,\n );\n\n const onShowClearAllCartModal = () => {\n setShowClearAllCartModal(true);\n };\n\n const onCloseClearAllCartModal = () => {\n setShowClearAllCartModal(false);\n };\n\n const handleOnSubmitClick = () => {\n dispatch(resetEmailAccountInfrastructure());\n\n clearAllEmailAccountInfrastructureKeysFromLocalStorage();\n history.push('/email-accounts/create');\n onCloseClearAllCartModal();\n };\n\n const onTitleClick = () => {\n if (\n emailAccountInfrastructureCart?.emailAccounts?.length > 0 ||\n emailAccountInfrastructureCart?.domains?.length > 0\n ) {\n onShowClearAllCartModal();\n } else {\n history.push('/email-accounts');\n }\n };\n\n return (\n
    \n
    \n \n Email Accounts\n

    \n
    \n \n
    \n

    \n Create Email Infrastructure\n

    \n
    \n \n
    \n
    \n\n \n
    \n );\n};\n\nexport default CreateEmailInfrastructureHeader;\n","import React, { useState } from 'react';\nimport { useHistory } from 'react-router';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { ChevronRight } from '@saleshandy/icons';\n\nimport { RootState } from '../../../../../store/root-reducer';\nimport { accessibleOnClick } from '../../../../../shared/utils/accessible-on-click';\n\nimport GoingBackToEmailAccountsModal from '../../../modals/going-back-to-email-accounts-modal';\nimport EmailInfrastructureServiceProvider from '../../create-email-infrastructure/components/email-infrastructure-service-provider';\n\nimport { removeAllNewEmailAccount } from '../../../email-accounts-slice';\n\nconst AddEmailAccountsHeader: React.FC = () => {\n const history = useHistory();\n const dispatch = useDispatch();\n\n const [showClearAllCartModal, setShowClearAllCartModal] = useState(false);\n\n const selectedDomain = useSelector(\n (state: RootState) => state.emailAccount.selectedDomain,\n );\n const newEmailAccountsToAdd = useSelector(\n (state: RootState) => state.emailAccount.newEmailAccountsToAdd,\n );\n\n const onShowClearAllCartModal = () => {\n setShowClearAllCartModal(true);\n };\n\n const onCloseClearAllCartModal = () => {\n setShowClearAllCartModal(false);\n };\n\n const handleOnSubmitClick = () => {\n dispatch(removeAllNewEmailAccount());\n history.push('/domains');\n onCloseClearAllCartModal();\n };\n\n const onTitleClick = () => {\n if (newEmailAccountsToAdd?.length > 0) {\n onShowClearAllCartModal();\n } else {\n handleOnSubmitClick();\n }\n };\n\n return (\n <>\n
    \n
    \n \n {selectedDomain?.name || 'Email Accounts'}\n

    \n
    \n \n
    \n

    \n Add Email Accounts\n

    \n
    \n \n
    \n
    \n
    \n\n \n \n );\n};\n\nexport default AddEmailAccountsHeader;\n","import React, { useCallback, useEffect } from 'react';\nimport { Cross } from '@saleshandy/icons';\nimport CircularProgressBar from '../../design-system/components/atoms/circular-progressbar';\nimport { accessibleOnClick } from '../../utils/accessible-on-click';\nimport { IProps } from './type';\n\nconst OnScreenAsyncProgressBar: React.FC = ({\n show,\n percentage,\n textPercentage,\n text,\n completionText,\n ctaText,\n ctaRedirectLink,\n onClose,\n isComplete,\n onCompletion,\n classNameSuffix = '',\n}) => {\n const handleCtaRedirectLink = useCallback(() => {\n if (ctaRedirectLink) {\n window.open(ctaRedirectLink, '_blank', 'noopener,noreferrer');\n }\n }, [ctaRedirectLink]);\n\n useEffect(() => {\n if (isComplete) {\n onCompletion();\n }\n }, [isComplete]);\n\n if (!show) {\n return <>;\n }\n return (\n
    \n \n {!isComplete ? (\n
    \n \n
    \n {text || ''}\n '0%' ? '' : 'disabled'\n }`}\n {...(textPercentage > '0%'\n ? accessibleOnClick(handleCtaRedirectLink)\n : accessibleOnClick(() => {}))}\n >\n {ctaText || ''}\n \n
    \n
    \n ) : (\n \n {completionText || ''}\n \n {ctaText || ''}\n \n
    \n )}\n \n \n \n \n \n );\n};\n\nexport default OnScreenAsyncProgressBar;\n","import React from 'react';\nimport { ChevronLeft } from '@saleshandy/icons';\nimport history from '../../../../../../shared/history';\nimport { accessibleOnClick } from '../../../../../../shared/utils/accessible-on-click';\nimport { Routes } from '../../../../../../shared/routes';\n\nconst UpgradePlanHeader = () => {\n const location = history?.location;\n const goBack = () => {\n const emailOutreach = location?.pathname?.includes(\n Routes.Setting_Billing_Upgrade_Email_Outreach_Plan,\n );\n history.push({\n pathname: emailOutreach\n ? `/settings/billing/subscriptions/email-outreach`\n : `/settings/billing/subscriptions/lead-finder`,\n });\n };\n\n return (\n
    \n \n Back\n
    \n );\n};\n\nexport default UpgradePlanHeader;\n","import { useEffect, useRef } from 'react';\n\nexport type IProps = {\n callback: () => void;\n interval: number; // In milliseconds\n shouldPoll: boolean;\n};\n\nexport const usePolling = (\n callback = () => {},\n interval = 5000,\n shouldPoll = false,\n) => {\n const intervalId = useRef(null);\n\n useEffect(() => {\n if (!shouldPoll) {\n if (intervalId?.current) {\n clearInterval(intervalId.current);\n intervalId.current = null;\n }\n return;\n }\n\n callback(); // Run immediately on start\n\n intervalId.current = setInterval(() => {\n callback();\n }, interval);\n\n // eslint-disable-next-line consistent-return\n return () => {\n if (intervalId?.current) clearInterval(intervalId.current);\n };\n }, [shouldPoll, interval, callback]);\n};\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport { ResponseErrorWithHandled, ResponseSuccess } from '../../shared/types';\nimport {\n getAcademyTopics,\n getAcademyTopicProgress,\n updateAcademyTopicsProgress,\n} from './helper/growth-hub.api';\nimport { UpdateAcademyTopicsProgressRequest } from './types';\n\nexport const getAcademyTopicsRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('academy/getAcademyTopicRequest', async (_args, thunkAPI) => {\n try {\n return await getAcademyTopics();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getAcademyTopicsProgressRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('academy/getAcademyTopicProgressRequest', async (_args, thunkAPI) => {\n try {\n return await getAcademyTopicProgress();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const updateAcademyTopicProgressRequest = createAsyncThunk<\n ResponseSuccess,\n UpdateAcademyTopicsProgressRequest,\n { rejectValue: ResponseErrorWithHandled }\n>('academy/updateAcademyTopicProgressRequest', async (args, thunkAPI) => {\n try {\n return await updateAcademyTopicsProgress(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n","import api from '../../../api';\nimport { ResponseSuccess } from '../../../shared/types';\nimport { UpdateAcademyTopicsProgressRequest } from '../types';\n\nexport const getAcademyTopics = () =>\n api.get('/academy/topics');\n\nexport const getAcademyTopicProgress = () =>\n api.get('/academy/user/topic/progress');\n\nexport const updateAcademyTopicsProgress = (\n payload: UpdateAcademyTopicsProgressRequest,\n) => api.post('/academy/topics/complete', payload);\n","import React, { useEffect, useState } from 'react';\nimport { ProgressBar } from '@saleshandy/design-system';\nimport { Trophy } from '@saleshandy/icons';\nimport find from 'lodash/find';\nimport type { IProps } from './master-class-progress-container';\nimport { getPercentageValue } from '../../../home/components/header/utils/helper';\nimport { executeOnRequestStatus } from '../../../../shared/utils/execute-on-request-status';\n\nconst MasterClassProgress: React.FC = ({\n academyLessons,\n academyTopicsProgress,\n getAcademyTopicsProgressRequestStatus,\n showExploding,\n}) => {\n //* state\n const [\n numberOfCompletedLessons,\n setNumberOfCompletedLessons,\n ] = useState(0);\n\n const getCompletedLessonIdWithTotalTopics = () => {\n const obj = {};\n\n academyTopicsProgress.forEach(({ lessonId }) => {\n if (lessonId in obj) {\n obj[lessonId] += 1;\n } else {\n obj[lessonId] = 1;\n }\n });\n\n Object.entries(obj).forEach(([key, value]) => {\n const filterLessonArray = find(academyLessons[0].lessons, {\n id: Number(key),\n });\n\n if (filterLessonArray.topics.length === value) {\n setNumberOfCompletedLessons((preState) => preState + 1);\n }\n });\n };\n\n //* useEffect\n useEffect(() => {\n executeOnRequestStatus({\n status: getAcademyTopicsProgressRequestStatus,\n onSuccess: () => {\n if (academyLessons && academyTopicsProgress) {\n setNumberOfCompletedLessons(0);\n getCompletedLessonIdWithTotalTopics();\n }\n },\n });\n }, [getAcademyTopicsProgressRequestStatus]);\n\n if (numberOfCompletedLessons === 6) {\n showExploding();\n }\n return (\n
    \n
    \n \n Cold Email 1O1\n \n
    \n
    \n {`${numberOfCompletedLessons}/6 Lessons Completed`}\n \n
    \n \n
    \n
    \n
    \n );\n};\n\nexport default MasterClassProgress;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps, withRouter } from 'react-router';\nimport { RootState } from '../../../../store/root-reducer';\nimport { getAcademyTopicsProgressRequest } from '../../extra-actions';\nimport MasterClassProgress from './master-class-progress';\n\nconst mapStateToProps = (state: RootState) => ({\n academyLessons: state.growthHub.getAcademyTopicsResponse,\n academyTopicsProgress: state.growthHub.getAcademyTopicsProgressResponse,\n updateAcademyTopicProgressRequestStatus:\n state.growthHub.updateAcademyTopicProgressRequest.status,\n getAcademyTopicsProgressRequestStatus:\n state.growthHub.getAcademyTopicsProgressRequest.status,\n});\n\nconst mapDispatchToProps = {\n getAcademyTopicsProgress: () => getAcademyTopicsProgressRequest(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps &\n RouteComponentProps & {\n showExploding: VoidFunction;\n };\n\nexport default withRouter(connector(MasterClassProgress));\n","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../shared/enums/request-status';\nimport { RequestState } from '../../shared/types/request-state';\nimport {\n getAcademyTopicsRequest,\n getAcademyTopicsProgressRequest,\n updateAcademyTopicProgressRequest,\n} from './extra-actions';\nimport {\n GetAcademyTopicsProgressResponse,\n GetAcademyTopicsResponse,\n} from './types';\n\ntype State = {\n getAcademyTopicsRequest: RequestState;\n getAcademyTopicsProgressRequest: RequestState;\n updateAcademyTopicProgressRequest: RequestState;\n getAcademyTopicsResponse: GetAcademyTopicsResponse[];\n getAcademyTopicsProgressResponse: GetAcademyTopicsProgressResponse;\n};\n\nconst initialState: State = {\n getAcademyTopicsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getAcademyTopicsProgressRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateAcademyTopicProgressRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getAcademyTopicsResponse: null,\n getAcademyTopicsProgressResponse: null,\n};\n\nconst growthHubSlice = createSlice({\n name: 'growthHubSlice',\n initialState,\n reducers: {\n resetUpdateAcademyProgressStatus: (state) => {\n state.updateAcademyTopicProgressRequest.status = RequestStatus.Ideal;\n },\n },\n extraReducers: (builder) => {\n // Get Academy Topics Request\n builder.addCase(getAcademyTopicsRequest.pending, (state) => {\n state.getAcademyTopicsRequest.status = RequestStatus.Pending;\n });\n builder.addCase(getAcademyTopicsRequest.fulfilled, (state, action) => {\n state.getAcademyTopicsRequest.status = RequestStatus.Succeeded;\n state.getAcademyTopicsResponse = action.payload.payload;\n state.getAcademyTopicsRequest.message = action.payload.message;\n });\n builder.addCase(getAcademyTopicsRequest.rejected, (state, action) => {\n state.getAcademyTopicsRequest.status = RequestStatus.Failed;\n state.getAcademyTopicsRequest.message = action.payload.message;\n state.getAcademyTopicsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Academy Progress Request\n builder.addCase(getAcademyTopicsProgressRequest.pending, (state) => {\n state.getAcademyTopicsProgressRequest.status = RequestStatus.Pending;\n });\n builder.addCase(\n getAcademyTopicsProgressRequest.fulfilled,\n (state, action) => {\n state.getAcademyTopicsProgressRequest.status = RequestStatus.Succeeded;\n state.getAcademyTopicsProgressResponse = action.payload.payload;\n state.getAcademyTopicsProgressRequest.message = action.payload.message;\n },\n );\n builder.addCase(\n getAcademyTopicsProgressRequest.rejected,\n (state, action) => {\n state.getAcademyTopicsProgressRequest.status = RequestStatus.Failed;\n state.getAcademyTopicsProgressRequest.message = action.payload.message;\n state.getAcademyTopicsProgressRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Update Academy Progress\n builder.addCase(updateAcademyTopicProgressRequest.pending, (state) => {\n state.updateAcademyTopicProgressRequest.status = RequestStatus.Pending;\n });\n builder.addCase(\n updateAcademyTopicProgressRequest.fulfilled,\n (state, action) => {\n state.updateAcademyTopicProgressRequest.status =\n RequestStatus.Succeeded;\n state.updateAcademyTopicProgressRequest.message =\n action.payload.message;\n },\n );\n builder.addCase(\n updateAcademyTopicProgressRequest.rejected,\n (state, action) => {\n state.updateAcademyTopicProgressRequest.status = RequestStatus.Failed;\n state.updateAcademyTopicProgressRequest.message =\n action.payload.message;\n state.updateAcademyTopicProgressRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n },\n});\n\nexport const { resetUpdateAcademyProgressStatus } = growthHubSlice.actions;\nexport { getAcademyTopicsRequest };\nexport default growthHubSlice.reducer;\n","/* eslint-disable jsx-a11y/accessible-emoji */\nimport React, { useState, useMemo, useEffect, useRef } from 'react';\nimport { Accordion } from '@saleshandy/design-system';\nimport { CircleCheck, Check } from '@saleshandy/icons';\nimport some from 'lodash/some';\nimport filter from 'lodash/filter';\nimport { CircularProgressbar, buildStyles } from 'react-circular-progressbar';\nimport 'react-circular-progressbar/dist/styles.css';\nimport type { IProps } from './master-class-lessons-container';\nimport { getPercentageValue } from '../../../home/components/header/utils/helper';\nimport { accessibleOnClick } from '../../../../shared/utils/accessible-on-click';\nimport { executeOnRequestStatus } from '../../../../shared/utils/execute-on-request-status';\n\nconst MasterClassLessons: React.FC = ({\n currentLessonId,\n currentTopicId,\n onTopicSelect,\n academyLessons,\n academyTopicsProgress,\n updateAcademyTopicProgressRequestStatus,\n getAcademyTopicsProgress,\n resetUpdateAcademyProgressStatus,\n}) => {\n const lessons = useMemo(() => academyLessons && academyLessons[0]?.lessons, [\n academyLessons,\n ]);\n const ref = useRef();\n const accordionKey = 3829;\n\n //* State\n const [, setSelectedTopic] = useState({\n lesson: currentLessonId,\n topic: currentTopicId,\n });\n const [, setOpenedLessons] = useState([]);\n\n //* Function\n const onSelectTopic = (lessonId, topicId, topic) => {\n setSelectedTopic({ lesson: lessonId, topic: topicId });\n onTopicSelect(topic, lessonId);\n };\n\n const isTopicSelected = (lessonId: number, topicId: number): boolean =>\n lessonId === currentLessonId && topicId === currentTopicId;\n\n const isTopicCompleted = (lessonId: number, topicId: number): boolean =>\n some(academyTopicsProgress, { lessonId, topicId });\n\n const getTopicProgressClassName = (\n lessonId: number,\n topicId: number,\n ): string => {\n if (isTopicCompleted(lessonId, topicId)) {\n return 'chapter-track-completed';\n }\n if (isTopicSelected(lessonId, topicId)) {\n return 'chapter-track-current';\n }\n\n return '';\n };\n\n const getLessonProgress = (lessonId: number) =>\n filter(academyTopicsProgress, { lessonId })?.length;\n\n const getLessonProgressValue = (lessonId: number, numberOfTopics: number) =>\n getPercentageValue(getLessonProgress(lessonId), numberOfTopics);\n\n const onAccordionChange = (uuid) => {\n if (!uuid.includes(currentLessonId)) {\n uuid.push(currentLessonId);\n }\n\n setOpenedLessons(uuid);\n };\n\n //* useEffect\n useEffect(() => {\n executeOnRequestStatus({\n status: updateAcademyTopicProgressRequestStatus,\n onSuccess: () => {\n getAcademyTopicsProgress();\n resetUpdateAcademyProgressStatus();\n },\n });\n }, [updateAcademyTopicProgressRequestStatus]);\n\n useEffect(() => {\n ref.current?.click();\n }, [currentTopicId]);\n\n return (\n
    \n onAccordionChange(uuid)}\n >\n {lessons &&\n lessons.map((lesson) => (\n \n \n \n
    \n
    \n {getLessonProgressValue(\n lesson.id,\n lesson.topics.length,\n ) === 100 ? (\n \n ) : (\n \n )}\n
    \n
    \n \n {lesson.name}\n \n \n {lesson.topics.length} Lessons\n \n
    \n
    \n
    \n
    \n \n
    \n {lesson.topics.map((topic) => (\n \n onSelectTopic(lesson.id, topic.id, topic),\n )}\n >\n
    \n {isTopicCompleted(lesson.id, topic.id) ? (\n
    \n \n
    \n ) : (\n \n )}\n
    \n \n {topic.title}\n \n
    \n ))}\n
    \n \n \n ))}\n \n \n );\n};\n\nexport default MasterClassLessons;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps, withRouter } from 'react-router';\nimport { RootState } from '../../../../store/root-reducer';\nimport { getAcademyTopicsProgressRequest } from '../../extra-actions';\nimport { resetUpdateAcademyProgressStatus } from '../../growth-hub-slice';\nimport type { Topic } from '../../types';\nimport MasterClassLessons from './master-class-lessons';\n\nconst mapStateToProps = (state: RootState) => ({\n academyLessons: state.growthHub.getAcademyTopicsResponse,\n academyTopicsProgress: state.growthHub.getAcademyTopicsProgressResponse,\n updateAcademyTopicProgressRequestStatus:\n state.growthHub.updateAcademyTopicProgressRequest.status,\n});\n\nconst mapDispatchToProps = {\n getAcademyTopicsProgress: () => getAcademyTopicsProgressRequest(),\n resetUpdateAcademyProgressStatus: () => resetUpdateAcademyProgressStatus(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps &\n RouteComponentProps & {\n onTopicSelect: (topic: Topic, lessonId: number) => void;\n currentLessonId: number;\n currentTopicId: number;\n };\n\nexport default withRouter(connector(MasterClassLessons));\n","/* eslint-disable react/no-danger */\nimport React, { useMemo, useEffect } from 'react';\nimport { Button } from '@saleshandy/design-system';\nimport type { IProps } from './master-class-chapter-content-container';\nimport { ArrowsMaximize } from '../../../../shared/svg/arrows-maximize';\nimport { accessibleOnClick } from '../../../../shared/utils/accessible-on-click';\nimport { ArrowsMinimize } from '../../../../shared/svg';\nimport { OverlayTooltip } from '../../../../shared/design-system/components/overlay';\nimport { executeOnRequestStatus } from '../../../../shared/utils/execute-on-request-status';\nimport { getIsRequestPending } from '../../../sequence/helpers/helper';\n\nconst MasterClassChapterContent: React.FC = ({\n topic,\n currentLessonId,\n academyLessons,\n isMaximized,\n onNextTopic,\n onPreviousTopic,\n onMaximizeMinimize,\n updateAcademyLessonProgress,\n updateAcademyTopicProgressRequestStatus,\n}) => {\n const lastLessonId = useMemo(\n () => academyLessons && academyLessons[0]?.lessons.slice(-1),\n [],\n );\n const lastTopicId = useMemo(\n () => lastLessonId && lastLessonId[0]?.topics[0].id,\n [],\n );\n const firstTopicId = useMemo(\n () => academyLessons && academyLessons[0]?.lessons[0]?.topics[0]?.id,\n [],\n );\n\n //* Functions\n const onNext = () => {\n updateAcademyLessonProgress({\n courseId: 1,\n lessonId: currentLessonId,\n topicId: topic.id,\n });\n };\n\n //* useEffect\n useEffect(() => {\n executeOnRequestStatus({\n status: updateAcademyTopicProgressRequestStatus,\n onSuccess: () => {\n onNextTopic();\n },\n });\n }, [updateAcademyTopicProgressRequestStatus]);\n\n return (\n
    \n
    \n \n {topic?.title}\n \n\n \n
    \n {isMaximized ? : }\n
    \n
    \n
    \n
    \n \n
    \n
    \n \n Previous\n \n
    \n {lastTopicId !== topic?.id && (\n \n )}\n \n {lastTopicId === topic?.id ? 'Complete' : 'Next'}\n \n
    \n
    \n
    \n );\n};\n\nexport default MasterClassChapterContent;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps, withRouter } from 'react-router';\nimport { RootState } from '../../../../store/root-reducer';\nimport {\n getAcademyTopicsProgressRequest,\n updateAcademyTopicProgressRequest,\n} from '../../extra-actions';\nimport type { Topic, UpdateAcademyTopicsProgressRequest } from '../../types';\nimport MasterClassChapterContent from './master-class-chapter-content';\n\nconst mapStateToProps = (state: RootState) => ({\n academyLessons: state.growthHub.getAcademyTopicsResponse,\n academyTopicsProgress: state.growthHub.getAcademyTopicsProgressResponse,\n updateAcademyTopicProgressRequestStatus:\n state.growthHub.updateAcademyTopicProgressRequest.status,\n});\n\nconst mapDispatchToProps = {\n updateAcademyLessonProgress: (payload: UpdateAcademyTopicsProgressRequest) =>\n updateAcademyTopicProgressRequest(payload),\n getAcademyTopicsProgress: () => getAcademyTopicsProgressRequest(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps &\n RouteComponentProps & {\n topic: Topic;\n currentLessonId: number;\n isMaximized: boolean;\n onNextTopic: () => void;\n onPreviousTopic: () => void;\n onMaximizeMinimize: () => void;\n };\n\nexport default withRouter(connector(MasterClassChapterContent));\n","import React, { useEffect, useState } from 'react';\nimport findIndex from 'lodash/findIndex';\nimport ConfettiExplosion from 'react-confetti-explosion';\nimport type { IProps } from './growth-hub-container';\nimport MasterclassProgress from './components/masterclass-progress';\nimport MasterClassLessons from './components/master-class-lessons';\nimport MasterClassChapterContent from './components/master-class-chapter-content';\nimport type { Topic } from './types';\nimport { executeOnRequestStatus } from '../../shared/utils/execute-on-request-status';\nimport { getIsRequestPending } from '../templates/components/helpers';\nimport Spinner from '../../shared/design-system/components/atoms/custom-spinner';\n\nconst GrowthHub: React.FC = ({\n academyLessons,\n getAcademyTopicsRequestStatus,\n getAcademyTopics,\n getAcademyTopicsProgress,\n}) => {\n const isLoading = getIsRequestPending(getAcademyTopicsRequestStatus);\n\n //* state\n const [currentLessonId, setCurrentLessonId] = useState(1);\n const [selectedTopic, setSelectedTopic] = useState(null);\n const [isMaximized, setIsMaximized] = useState(false);\n const [isExploding, setIsExploding] = useState(false);\n\n //* functions\n const onTopicChange = (topic: Topic, lessonId: number) => {\n setSelectedTopic(topic);\n setCurrentLessonId(lessonId);\n };\n\n const onNextTopic = () => {\n const currentLessonIdex = findIndex(academyLessons[0]?.lessons, {\n id: currentLessonId,\n });\n const currentTopicIndex = findIndex(\n academyLessons[0]?.lessons[currentLessonIdex].topics,\n {\n id: selectedTopic.id,\n },\n );\n const updatedLessonId = academyLessons[0]?.lessons[currentLessonIdex]?.id;\n\n const isLessonHasNextTopic =\n academyLessons[0]?.lessons[currentLessonIdex]?.topics[\n currentTopicIndex + 1\n ];\n const nextLessonFirstTopic =\n academyLessons[0]?.lessons[currentLessonIdex + 1]?.topics[0];\n\n if (isLessonHasNextTopic) {\n onTopicChange(isLessonHasNextTopic, updatedLessonId);\n return;\n }\n\n if (nextLessonFirstTopic) {\n onTopicChange(nextLessonFirstTopic, updatedLessonId + 1);\n }\n };\n\n const onPreviousTopic = () => {\n const currentLessonIdex = findIndex(academyLessons[0]?.lessons, {\n id: currentLessonId,\n });\n const currentTopicIndex = findIndex(\n academyLessons[0]?.lessons[currentLessonIdex].topics,\n {\n id: selectedTopic.id,\n },\n );\n const updatedLessonId = academyLessons[0]?.lessons[currentLessonIdex]?.id;\n\n const isLessonHasNextTopic =\n academyLessons[0]?.lessons[currentLessonIdex]?.topics[\n currentTopicIndex - 1\n ];\n const preciousLessonLastTopicIndex =\n academyLessons[0]?.lessons[currentLessonIdex - 1]?.topics?.length;\n const previousLessonLastTopic =\n academyLessons[0]?.lessons[currentLessonIdex - 1]?.topics[\n preciousLessonLastTopicIndex - 1\n ];\n\n if (isLessonHasNextTopic) {\n onTopicChange(isLessonHasNextTopic, updatedLessonId);\n return;\n }\n\n if (previousLessonLastTopic) {\n onTopicChange(previousLessonLastTopic, updatedLessonId - 1);\n }\n };\n\n const onMaximizeMinimize = () => {\n setIsMaximized((preState) => !preState);\n };\n\n const showExploding = () => setIsExploding(true);\n\n //* useEffect\n useEffect(() => {\n if (!academyLessons) {\n getAcademyTopics();\n }\n getAcademyTopicsProgress();\n }, []);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getAcademyTopicsRequestStatus,\n onSuccess: () => {\n setSelectedTopic(academyLessons[0].lessons[0].topics[0]);\n },\n });\n }, [getAcademyTopicsRequestStatus]);\n\n //* Loader\n if (isLoading) {\n return ;\n }\n\n return (\n
    \n \n \n
    \n onTopicChange(topic, lessonId)}\n currentLessonId={currentLessonId}\n currentTopicId={selectedTopic?.id}\n />\n
    \n
    \n\n
    \n {isExploding && (\n \n )}\n \n
    \n \n );\n};\n\nexport default GrowthHub;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps, withRouter } from 'react-router';\nimport { RootState } from '../../store/root-reducer';\nimport {\n getAcademyTopicsProgressRequest,\n getAcademyTopicsRequest,\n} from './extra-actions';\nimport GrowthHub from './growth-hub';\n\nconst mapStateToProps = (state: RootState) => ({\n getAcademyTopicsRequestStatus: state.growthHub.getAcademyTopicsRequest.status,\n getAcademyTopicsProgressRequestStatus:\n state.growthHub.getAcademyTopicsProgressRequest.status,\n academyLessons: state.growthHub.getAcademyTopicsResponse,\n});\n\nconst mapDispatchToProps = {\n getAcademyTopics: () => getAcademyTopicsRequest(),\n getAcademyTopicsProgress: () => getAcademyTopicsProgressRequest(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & RouteComponentProps;\n\nexport default withRouter(connector(GrowthHub));\n","export enum DomainStatus {\n Pending = 'pending',\n InProgress = 'inProgress',\n Active = 'active',\n Deleted = 'deleted',\n Failed = 'failed',\n}\n\nexport enum DomainAction {\n DELETE = 'delete',\n REVOKE = 'revoke',\n}\n","import api from '../../../api';\n\nimport { DeleteDomainRequestPayload, GetDomainsRequestPayload } from '../types';\n\nexport const getDomains = async (payload: GetDomainsRequestPayload) =>\n api.get(`/domain`, { params: payload });\n\nexport const deleteDomain = async (payload: DeleteDomainRequestPayload) =>\n api.delete(`/domain`, { params: payload });\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport { ResponseErrorWithHandled, ResponseSuccess } from '../../shared/types';\n\nimport { DeleteDomainRequestPayload, GetDomainsRequestPayload } from './types';\n\nimport { getDomains, deleteDomain } from './helpers/domains.api';\n\nexport const getDomainsRequest = createAsyncThunk<\n ResponseSuccess,\n GetDomainsRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('domains/getDomainsRequest', async (payload, thunkAPI) => {\n try {\n return await getDomains(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e as ResponseErrorWithHandled);\n }\n});\n\nexport const deleteDomainRequest = createAsyncThunk<\n ResponseSuccess,\n DeleteDomainRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('domains/deleteDomainRequest', async (payload, thunkAPI) => {\n try {\n return await deleteDomain(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e as ResponseErrorWithHandled);\n }\n});\n","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../shared/enums/request-status';\n\nimport { deleteDomainRequest, getDomainsRequest } from './extra-actions';\n\nimport { Domain, DomainsFilters } from './types';\n\ninterface RequestState {\n status: RequestStatus;\n message: string;\n error: any;\n}\n\ninterface State {\n getDomainsRequest: RequestState;\n deleteDomainRequest: RequestState;\n\n domains: Domain[];\n domainsFilters: DomainsFilters;\n}\n\nconst initialState: State = {\n getDomainsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n deleteDomainRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n domains: [],\n domainsFilters: {\n page: 1,\n pageSize: 25,\n search: '',\n total: 0,\n },\n};\n\nconst domainsSlice = createSlice({\n name: 'domains',\n initialState,\n reducers: {\n resetGetDomainsRequestState: (state) => {\n state.getDomainsRequest = initialState.getDomainsRequest;\n },\n resetDeleteDomainRequestState: (state) => {\n state.deleteDomainRequest = initialState.deleteDomainRequest;\n },\n\n updateDomainsFilters: (state, action) => {\n state.domainsFilters = action.payload;\n },\n },\n extraReducers: (builder) => {\n // Get Domains\n builder.addCase(getDomainsRequest.pending, (state) => {\n state.getDomainsRequest.status = RequestStatus.Pending;\n state.getDomainsRequest.error = null;\n state.getDomainsRequest.message = null;\n });\n builder.addCase(getDomainsRequest.fulfilled, (state, action) => {\n state.getDomainsRequest.status = RequestStatus.Succeeded;\n state.domains = action.payload.payload.domains;\n state.domainsFilters = action.payload.payload.meta;\n });\n builder.addCase(getDomainsRequest.rejected, (state, action) => {\n state.getDomainsRequest.status = RequestStatus.Failed;\n state.getDomainsRequest.message = action.payload.message;\n state.getDomainsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Delete Domain\n builder.addCase(deleteDomainRequest.pending, (state) => {\n state.deleteDomainRequest.status = RequestStatus.Pending;\n state.deleteDomainRequest.error = null;\n state.deleteDomainRequest.message = null;\n });\n builder.addCase(deleteDomainRequest.fulfilled, (state, action) => {\n state.deleteDomainRequest.status = RequestStatus.Succeeded;\n state.deleteDomainRequest.message = action.payload.message;\n });\n builder.addCase(deleteDomainRequest.rejected, (state, action) => {\n state.deleteDomainRequest.status = RequestStatus.Failed;\n state.deleteDomainRequest.message = action.payload.message;\n state.deleteDomainRequest.error =\n !action.payload.isHandled && action.payload;\n });\n },\n});\n\nexport const {\n resetGetDomainsRequestState,\n resetDeleteDomainRequestState,\n updateDomainsFilters,\n} = domainsSlice.actions;\n\nexport default domainsSlice.reducer;\n","import React, { useState } from 'react';\n\nimport { DomainsFilters } from '../types';\n\nimport SearchInput from '../../../shared/design-system/components/atoms/search-input';\nimport { IconPlace } from '../../../shared/design-system/components/input/enums';\n\ntype DomainsActionsProps = {\n domainsFilters: DomainsFilters;\n onDomainsFiltersChange: (filters: Partial) => void;\n};\n\nconst DomainsActions: React.FC = ({\n domainsFilters,\n onDomainsFiltersChange,\n}) => {\n const [search, setSearch] = useState(domainsFilters.search || '');\n\n const onSearch = () => {\n onDomainsFiltersChange({ search, page: 1 });\n };\n\n const onClearSearch = () => {\n setSearch('');\n onDomainsFiltersChange({ search: '', page: 1 });\n };\n\n return (\n
    \n \n
    \n );\n};\n\nexport default DomainsActions;\n","import React, { useState } from 'react';\nimport { Cross, Plus } from '@saleshandy/icons';\n\nimport { Domain, Mailbox } from '../types';\nimport { DomainStatus } from '../enums';\nimport { EmailAccountInfrastructureServiceProvider } from '../../email-accounts/enums/create-email-infrastructure';\n\nimport {\n OverlayPopover,\n Placement,\n} from '../../../shared/design-system/components/overlay';\nimport hasPermission from '../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../shared/utils/access-control/enums/permissions';\nimport { accessibleOnClick } from '../../../shared/utils/accessible-on-click';\n\ntype DomainsMailboxesPopoverProps = {\n row: Domain;\n onAddMoreEmailAccountClicked: (domain: Domain) => void;\n};\n\nconst DomainsMailboxesPopover: React.FC = ({\n row,\n onAddMoreEmailAccountClicked,\n}) => {\n const [showPopover, setShowPopover] = useState(false);\n\n const renderMailbox = (mailbox: Mailbox) => (\n
    \n {mailbox.profilePic && (\n \n )}\n

    {mailbox.email}

    \n
    \n );\n\n return (\n
    \n \n
    \n {row.mailboxes.map((mailbox) => renderMailbox(mailbox))}\n
    \n setShowPopover(false)}\n />\n \n }\n placement={Placement.AutoStart}\n rootClose\n >\n \n {row.mailboxes?.length ?? '-'}\n \n \n {hasPermission(Permissions.DOMAIN_READ) &&\n row.order?.emailServiceProvider ===\n EmailAccountInfrastructureServiceProvider.MailDoso &&\n row.status === DomainStatus.Active &&\n row.mailboxes?.length < 5 && (\n onAddMoreEmailAccountClicked(row))}\n >\n \n Add More\n
    \n )}\n \n );\n};\n\nexport default DomainsMailboxesPopover;\n","import React, { useMemo } from 'react';\nimport { Avatar, SkeletonLoading } from '@saleshandy/design-system';\nimport { ArrowBackUp, Trash } from '@saleshandy/icons';\nimport moment from 'moment-timezone';\n\nimport { Domain, DomainsFilters } from '../types';\nimport { DomainAction, DomainStatus } from '../enums';\n\nimport DomainsMailboxesPopover from './domains-mailboxes-popover';\n\nimport Table from '../../../shared/design-system/components/organisms/table';\nimport {\n Action,\n Column,\n PaginationShowHide,\n} from '../../../shared/design-system/components/organisms/table/types';\nimport EmailInfrastructureServiceProvider from '../../email-accounts/components/create-email-infrastructure/components/email-infrastructure-service-provider';\n\ntype DomainsTableProps = {\n domains: Domain[];\n domainsFilters: DomainsFilters;\n onDomainsFiltersChange: (filters: Partial) => void;\n onAction: (key: string, row: Domain) => void;\n\n isLoading: boolean;\n onAddMoreEmailAccountClicked: (domain: Domain) => void;\n};\n\nconst DomainsTable: React.FC = ({\n domains,\n domainsFilters,\n onDomainsFiltersChange,\n onAction,\n isLoading,\n onAddMoreEmailAccountClicked,\n}) => {\n const columns: Column[] = useMemo(\n () => [\n {\n dataField: 'name',\n text: 'Domains',\n component: (_c, row: Domain) => (\n \n \n \n \n {row.name}\n \n ),\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: ,\n },\n {\n dataField: 'redirectDomain',\n text: 'Forwarded Domain',\n component: (_c, row: Domain) => (\n {row.redirectDomain}\n ),\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: ,\n },\n\n {\n dataField: 'mailboxes',\n text: 'Email Accounts',\n component: (_c, row: Domain) => (\n \n ),\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: ,\n },\n\n {\n dataField: 'createdAt',\n text: 'Created Date',\n component: (_c, row: Domain) => (\n \n {moment(row.createdAt)?.format('DD MMM, YYYY') ?? '-'}\n \n ),\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: ,\n },\n\n {\n dataField: 'createdBy',\n text: 'Created by',\n component: (_c, row: Domain) => {\n const [firstName, lastName] = row.createdBy.split(' ') || ['', ''];\n\n return (\n
    \n \n {row.createdBy}\n
    \n );\n },\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: ,\n },\n ],\n [],\n );\n\n const generateActionsColumn = (row: Domain): Action[] => {\n if (row.status === DomainStatus.Deleted) {\n return [\n {\n key: DomainAction.REVOKE,\n displayName: 'Revoke Cancellation',\n iconElement: ,\n position: 'out',\n },\n ];\n }\n\n return [\n {\n key: DomainAction.DELETE,\n displayName: 'Delete',\n iconElement: ,\n position: 'out',\n disabled: row.status !== DomainStatus.Active,\n },\n ];\n };\n\n const onPaginationOptionsChange = ({ page, limit }) => {\n if (limit && limit !== domainsFilters.pageSize) {\n onDomainsFiltersChange({ page: 1, pageSize: limit });\n return;\n }\n\n if (page && page !== domainsFilters.page) {\n onDomainsFiltersChange({ page });\n }\n };\n\n const revokeDomainClasses = (row) => {\n if (row.status === DomainStatus.Deleted) {\n return 'disable-row';\n }\n\n return '';\n };\n\n return (\n
    \n generateActionsColumn(row)}\n onAction={onAction}\n paginationOptions={{\n options: {\n page: domainsFilters.page,\n limit: domainsFilters.pageSize,\n totalElements: domainsFilters.total,\n },\n }}\n onPaginationOptionsChange={onPaginationOptionsChange}\n pagination={PaginationShowHide.SHOW}\n isNewPagination={true}\n headerVisibleForGenerateColumn={true}\n isLoading={isLoading}\n rowClasses={revokeDomainClasses}\n />\n
    \n );\n};\n\nexport default DomainsTable;\n","import React from 'react';\nimport { Trash } from '@saleshandy/icons';\n\nimport Modal from '../../../shared/design-system/ui/modal';\n\ninterface DeleteDomainModalProps {\n show: boolean;\n onSubmit: () => void;\n onClose: () => void;\n isLoading: boolean;\n}\n\nconst DeleteDomainModal: React.FC = ({\n show,\n onSubmit,\n onClose,\n isLoading,\n}) => (\n \n \n \n Are you sure you want to delete this domain?\n \n \n }\n onHide={onClose}\n primaryBtnLabel=\"Delete\"\n secondaryBtnLabel=\"Cancel\"\n primaryBtnClickedHandler={onSubmit}\n secondaryBtnClickedHandler={onClose}\n primaryBtnDisabled={isLoading}\n primaryBtnLoading={isLoading}\n >\n <>\n
    \n

    \n You will not be charged for this domain and associated email accounts\n anymore.\n

    \n

    \n Please keep in mind all the sequences with this email account will not\n send any further emails from this domain’s email accounts.\n

    \n
    \n
    \n

    \n Once the domain is deleted, it cannot be reversed. Unused days of\n domains & email accounts are non-refundable.\n

    \n
    \n \n \n);\n\nexport default DeleteDomainModal;\n","import React from 'react';\nimport { AlertCircle } from '@saleshandy/icons';\n\nimport Modal from '../../../shared/design-system/ui/modal';\n\ninterface RevokeCancellationModalProps {\n show: boolean;\n onSubmit: () => void;\n onClose: () => void;\n isLoading: boolean;\n}\n\nconst RevokeCancellationModal: React.FC = ({\n show,\n onSubmit,\n onClose,\n isLoading,\n}) => (\n \n \n Revoke Cancellation\n \n }\n onHide={onClose}\n primaryBtnLabel=\"Yes\"\n secondaryBtnLabel=\"Cancel\"\n primaryBtnClickedHandler={onSubmit}\n secondaryBtnClickedHandler={onClose}\n primaryBtnDisabled={isLoading}\n primaryBtnLoading={isLoading}\n >\n

    \n Are you sure you want to revoke the cancellation of this deleted domain?\n

    \n \n);\n\nexport default RevokeCancellationModal;\n","import React from 'react';\nimport ImageIcon from '../../../shared/components/images/image-icon';\nimport { Images } from '../../../shared/app-constants';\n\nexport const NoSearchResult = () => (\n
    \n
    \n \n
    No Search Result
    \n
    \n We can’t find any email accounts matching your search.\n
    \n
    \n
    \n);\n\nexport default NoSearchResult;\n","import React, { useEffect, useRef, useState } from 'react';\nimport { useHistory } from 'react-router';\n\nimport type { IProps } from './domains-content-container';\nimport { Domain, DomainsFilters } from '../../types';\nimport { DomainAction } from '../../enums';\n\nimport toaster from '../../../../shared/toaster';\n\nimport DomainsActions from '../domains-actions';\nimport DomainsTable from '../domains-table';\nimport DeleteDomainModal from '../../modals/delete-domain-modal';\nimport RevokeCancellationModal from '../../modals/revoke-cancellation-modal';\n\nimport {\n executeOnErrorWithErrorCheck,\n executeOnRequestStatus,\n getIsRequestPending,\n} from '../../../../shared/utils';\nimport { NoSearchResult } from '../no-search-result';\n\nconst DomainsContent: React.FC = ({\n domains,\n domainsFilters,\n\n sendGetDomainsRequest,\n resetGetDomainsRequestState,\n getDomainsRequestStatus,\n getDomainsRequestError,\n\n sendDeleteDomainRequest,\n resetDeleteDomainRequestState,\n deleteDomainRequestStatus,\n deleteDomainRequestError,\n\n updateDomainsFilters,\n setSelectedDomains,\n}) => {\n const history = useHistory();\n\n const hasSearched = useRef(false);\n const searched = useRef('');\n const [action, setAction] = useState(null);\n const [actionRow, setActionRow] = useState(null);\n const [showDeleteDomainModal, setShowDeleteDomainModal] = useState(false);\n const [\n showRevokeCancellationModal,\n setShowRevokeCancellationModal,\n ] = useState(false);\n\n const onShowDeleteDomainModal = () => {\n setShowDeleteDomainModal(true);\n };\n\n const onCloseDeleteDomainModal = () => {\n setShowDeleteDomainModal(false);\n setAction(null);\n setActionRow(null);\n };\n\n const onShowRevokeCancellationModal = () => {\n setShowRevokeCancellationModal(true);\n };\n\n const onCloseRevokeCancellationModal = () => {\n setShowRevokeCancellationModal(false);\n setAction(null);\n setActionRow(null);\n };\n\n const onDomainsFiltersChange = (filters: Partial) => {\n hasSearched.current = false;\n const payload = {\n ...domainsFilters,\n ...filters,\n };\n\n updateDomainsFilters(payload);\n\n const { page, pageSize, search } = payload;\n searched.current = filters.search;\n sendGetDomainsRequest({ page, pageSize, search });\n };\n\n const onAction = (key: string, row: Domain) => {\n setAction(key as DomainAction);\n setActionRow(row);\n\n if (key === DomainAction.DELETE) {\n onShowDeleteDomainModal();\n return;\n }\n\n if (key === DomainAction.REVOKE) {\n onShowRevokeCancellationModal();\n }\n };\n\n const onAddMoreEmailAccountClicked = (domain: Domain) => {\n setSelectedDomains(domain);\n history.push('/email-accounts/add-email-accounts');\n };\n\n useEffect(() => {\n const { page, pageSize, search } = domainsFilters;\n sendGetDomainsRequest({ page, pageSize, search });\n }, []);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getDomainsRequestStatus,\n onSuccess: () => {\n if (searched !== undefined && searched.current !== '') {\n hasSearched.current = true;\n } else {\n hasSearched.current = false;\n }\n resetGetDomainsRequestState();\n },\n onFailed: () => {\n resetGetDomainsRequestState();\n executeOnErrorWithErrorCheck({\n error: getDomainsRequestError,\n onError: () => {\n toaster.error(getDomainsRequestError.message);\n },\n });\n },\n });\n }, [getDomainsRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: deleteDomainRequestStatus,\n onSuccess: () => {\n resetDeleteDomainRequestState();\n toaster.success(`Domain ${action.toLowerCase()}d successfully`);\n\n setAction(null);\n setActionRow(null);\n\n onCloseDeleteDomainModal();\n onCloseRevokeCancellationModal();\n\n const { page, pageSize, search } = domainsFilters;\n sendGetDomainsRequest({ page, pageSize, search });\n },\n onFailed: () => {\n resetDeleteDomainRequestState();\n setAction(null);\n setActionRow(null);\n onCloseDeleteDomainModal();\n onCloseRevokeCancellationModal();\n executeOnErrorWithErrorCheck({\n error: deleteDomainRequestError,\n onError: () => {\n toaster.error(deleteDomainRequestError.message);\n },\n });\n },\n });\n }, [deleteDomainRequestStatus]);\n\n const isLoading = getIsRequestPending(getDomainsRequestStatus);\n\n return (\n
    \n \n\n {hasSearched.current && domains.length === 0 ? (\n \n ) : (\n \n )}\n\n {\n sendDeleteDomainRequest({\n id: actionRow.id,\n action: DomainAction.DELETE,\n });\n }}\n />\n\n {\n sendDeleteDomainRequest({\n id: actionRow.id,\n action: DomainAction.REVOKE,\n });\n }}\n />\n
    \n );\n};\n\nexport default DomainsContent;\n","import { connect, ConnectedProps } from 'react-redux';\n\nimport { RootState } from '../../../../store/root-reducer';\nimport {\n DeleteDomainRequestPayload,\n Domain,\n DomainsFilters,\n GetDomainsRequestPayload,\n} from '../../types';\nimport { deleteDomainRequest, getDomainsRequest } from '../../extra-actions';\nimport {\n resetDeleteDomainRequestState,\n resetGetDomainsRequestState,\n updateDomainsFilters,\n} from '../../domains-slice';\nimport { setSelectedDomains } from '../../../email-accounts/email-accounts-slice';\n\nimport DomainsContent from './domains-content';\n\nconst mapStateToProps = (state: RootState) => ({\n domains: state.domains.domains,\n domainsFilters: state.domains.domainsFilters,\n\n getDomainsRequestStatus: state.domains.getDomainsRequest.status,\n getDomainsRequestError: state.domains.getDomainsRequest.error,\n\n deleteDomainRequestStatus: state.domains.deleteDomainRequest.status,\n deleteDomainRequestError: state.domains.deleteDomainRequest.error,\n});\n\nconst mapDispatchToProps = {\n sendGetDomainsRequest: (payload: GetDomainsRequestPayload) =>\n getDomainsRequest(payload),\n resetGetDomainsRequestState: () => resetGetDomainsRequestState(),\n\n sendDeleteDomainRequest: (payload: DeleteDomainRequestPayload) =>\n deleteDomainRequest(payload),\n resetDeleteDomainRequestState: () => resetDeleteDomainRequestState(),\n\n updateDomainsFilters: (filters: DomainsFilters) =>\n updateDomainsFilters(filters),\n\n setSelectedDomains: (domain: Domain) => setSelectedDomains(domain),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps;\n\nexport default connector(DomainsContent);\n","import React from 'react';\n\nimport DomainsContent from './components/domains-content';\n\nconst Domains: React.FC = () => (\n
    \n \n
    \n);\n\nexport default Domains;\n","export enum PerformanceStatsVariant {\n INCREMENT = 'increment',\n DECREMENT = 'decrement',\n}\n\nexport type IProps = {\n value: number;\n variant: PerformanceStatsVariant;\n};\n","import React from 'react';\nimport { Button } from '@saleshandy/design-system';\nimport { useTranslation } from 'react-i18next';\nimport { SHLogoDarkSM, SwapArrow, TrulyInbox } from '../../../shared/svg';\nimport { supportUrls } from '../../../shared/utils/urls';\n\nconst EmailWarmupCollaboration = () => {\n const { t } = useTranslation();\n\n const onViewFAQs = () => {\n window.open(supportUrls.trulyInboxForWarmupFaq, '_blank');\n };\n\n const onGoToTrulyInbox = () => {\n window.open(process.env.REACT_APP_TRULYINBOX_SIGNUP_URL, '_blank');\n };\n\n return (\n
    \n

    \n {t('messages.email_warmup_collaboration_msg_1')}\n

    \n\n
    \n
    \n \n
    \n \n
    \n \n
    \n
    \n\n

    \n When the Account Owner signs up with their Saleshandy-associated email,\n they will get the Free Email Accounts to warm up as per their current\n purchased plan of Saleshandy. Plan sync can take up to 48 hours.\n

    \n\n
    \n \n \n
    \n
    \n );\n};\n\nexport default EmailWarmupCollaboration;\n","import React, { useEffect, useState } from 'react';\nimport { Container, Row, Col } from 'react-bootstrap';\nimport { useTranslation } from 'react-i18next';\nimport { Redirect, Route, Switch, useHistory } from 'react-router-dom';\nimport ConfirmationModalV3 from '../../shared/design-system/components/atoms/confirmation-modal/confirmation-modal-v3';\nimport { ConfirmationModalIconType } from '../../shared/design-system/components/atoms/confirmation-modal/enum';\nimport { getIsRequestPending } from '../../shared/utils/get-request-status';\nimport { EmailAccountMethod } from '../email-accounts/enums/email-account';\nimport type { IProps } from './email-warmup-container';\nimport {\n connectEmailAccountHandler,\n emailWarmupToggleHandler,\n getEnableEmailWarmupConsent,\n onTunrOnOffRequestSuccessHandler,\n reconnectEmailAccountHandler,\n showRequestError,\n} from './helpers/helper';\nimport { EmailAccountWarmupList } from './types';\nimport { executeOnRequestStatus } from '../../shared/utils/execute-on-request-status';\nimport { redirectWithRefresh } from '../../shared/utils';\nimport { showToasterWithErrorCheck } from '../email-accounts/components/email-accounts-content/utils/helpers';\nimport Suspense from '../../shared/components/suspense';\nimport Checkbox from '../../shared/design-system/components/atoms/checkbox';\nimport { UserSettingCode } from '../../shared/types/user-setting';\nimport ErrorBoundaryWrapper from '../../shared/components/error-boundary-wrapper';\nimport { supportUrls } from '../../shared/utils/urls';\nimport EmailWarmupCollaboration from './components/email-warmup-collaboration';\n\nconst EmailWarmup: React.FC = ({\n authUrl,\n subscriptionPlan,\n sendTurnOnOffEmailAccountWarmupRequest,\n sendConnectEmailAccountRequest,\n turnOnOffEmailAccountWarmupRequestStatus,\n turnOnOffEmailAccountWarmupRequestError,\n connectEmailAccountRequestStatus,\n connectEmailAccountRequestError,\n resetTurnOnOffEmailAccountWarmupState,\n showLoading,\n hideLoading,\n meta,\n updateEnableEmailWarmupConsent,\n sendGetUserSettingsRequest,\n updateUserSettingsRequestStatus,\n}) => {\n const history = useHistory();\n const { t } = useTranslation();\n\n const [\n reconnectEmailAccountModal,\n setReconnectEmailAccountModal,\n ] = useState(false);\n const [enableEmailWarmupModal, setEnableEmailWarmupModal] = useState(\n false,\n );\n const [\n disconnectEmailWarmupModal,\n setDisconnectEmailWarmupModal,\n ] = useState(false);\n const [emailAccountId, setEmailAccountId] = useState(null);\n const [\n emailAccountMethod,\n setEmailAccountMethod,\n ] = useState(null);\n const [\n isEmailWarmupEnableConsentChecked,\n setIsEmailWarmupEnableConsentChecked,\n ] = useState(false);\n const showEmailWarmupEnableConsent = getEnableEmailWarmupConsent(meta);\n const [trulyInboxRefModal, setTrulyInboxRefModal] = useState(false);\n\n // Reconnect Email Account Modal Handlers\n const showReconnectEmailAccountModal = (\n id: number,\n method: EmailAccountMethod,\n ) => {\n setReconnectEmailAccountModal(true);\n setEmailAccountId(id);\n setEmailAccountMethod(method);\n };\n\n const hideReconnectEmailAccountModal = () => {\n setReconnectEmailAccountModal(false);\n };\n\n // Disconnect Email Account Modal Handlers\n const showDisconnectEmailWarmupModal = (id: number) => {\n setDisconnectEmailWarmupModal(true);\n setEmailAccountId(id);\n };\n\n const hideDisconnectEmailWarmupModal = () => {\n setDisconnectEmailWarmupModal(false);\n };\n\n // TrulyInbox Modal Handlers\n const showTrulyInboxRefModal = () => {\n setTrulyInboxRefModal(true);\n };\n\n const hideTrulyInboxRefModal = () => {\n setTrulyInboxRefModal(false);\n };\n\n const onJoinTrulyInboxClick = () => {\n window.open(process.env.REACT_APP_TRULYINBOX_SIGNUP_URL, '_blank');\n };\n\n // Enable Email Account Modal Handlers\n const showEnableEmailWarmupModal = (id: number) => {\n setEnableEmailWarmupModal(true);\n setEmailAccountId(id);\n };\n\n const hideEnableEmailWarmupModal = () => {\n setEnableEmailWarmupModal(false);\n };\n\n // Disconnect Email Account\n const onDisconnectEmailWarmup = () => {\n sendTurnOnOffEmailAccountWarmupRequest({\n id: emailAccountId,\n });\n };\n\n // Connect SMTP/IMAP Email Account\n const showConnectSmtpImapEmailAccountModal = () => {\n history.push(`/email-accounts/create?connect-smtp=true`);\n };\n\n // Connect Email Account\n const onConnectEmailWarmup = (id: number) => {\n connectEmailAccountHandler({\n id,\n sendTurnOnOffEmailAccountWarmupRequest,\n });\n if (showEmailWarmupEnableConsent && isEmailWarmupEnableConsentChecked) {\n updateEnableEmailWarmupConsent({\n settings: [\n {\n code: UserSettingCode.ShowEmailWarmupEnableConsent,\n value: '0',\n },\n ],\n });\n }\n };\n\n // Reconnect Email Account\n const onReconnectEmailAccount = () => {\n reconnectEmailAccountHandler({\n subscriptionPlan,\n emailAccountId,\n emailAccountMethod,\n showConnectSmtpImapEmailAccountModal,\n sendConnectEmailAccountRequest,\n });\n };\n\n // Email Warmup Toggle\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const onEmailWarmupToggle = (check: boolean, row: EmailAccountWarmupList) => {\n emailWarmupToggleHandler({\n row,\n check,\n onConnectEmailWarmup,\n showReconnectEmailAccountModal,\n showDisconnectEmailWarmupModal,\n showEmailWarmupEnableConsent,\n showEnableEmailWarmupModal,\n showTrulyInboxRefModal,\n });\n };\n\n useEffect(() => {\n executeOnRequestStatus({\n status: turnOnOffEmailAccountWarmupRequestStatus,\n onPending: () => {\n showLoading();\n },\n onSuccess: () => {\n hideLoading();\n onTunrOnOffRequestSuccessHandler({\n disconnectEmailWarmupModal,\n hideDisconnectEmailWarmupModal,\n t,\n });\n resetTurnOnOffEmailAccountWarmupState();\n hideEnableEmailWarmupModal();\n },\n onFailed: () => {\n hideLoading();\n resetTurnOnOffEmailAccountWarmupState();\n showRequestError(turnOnOffEmailAccountWarmupRequestError);\n hideEnableEmailWarmupModal();\n },\n });\n }, [turnOnOffEmailAccountWarmupRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: connectEmailAccountRequestStatus,\n onSuccess: () => {\n redirectWithRefresh(authUrl);\n },\n onFailed: () => {\n showToasterWithErrorCheck(connectEmailAccountRequestError);\n },\n });\n }, [connectEmailAccountRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: updateUserSettingsRequestStatus,\n onSuccess: () => {\n sendGetUserSettingsRequest();\n },\n });\n }, [updateUserSettingsRequestStatus]);\n\n return (\n <>\n \n \n \n \n \n \n }\n />\n \n \n \n \n \n \n\n \n\n \n\n onConnectEmailWarmup(emailAccountId)}\n isSubmitLoading={getIsRequestPending(\n turnOnOffEmailAccountWarmupRequestStatus,\n )}\n isSubmitDisabled={getIsRequestPending(\n turnOnOffEmailAccountWarmupRequestStatus,\n )}\n submitButtonText={t('labels.enable')}\n cancelButtonText={t('labels.cancel')}\n customJSX={\n
    \n \n
    \n }\n />\n \n
    \n \n );\n};\n\nexport default EmailWarmup;\n","import _, { isEmpty } from 'lodash';\nimport { PerformanceStatsVariant } from '../../../shared/design-system/components/molecules/performance-stats/types';\nimport toaster, { Theme } from '../../../shared/toaster';\nimport { UserSettingCode } from '../../../shared/types/user-setting';\nimport { Permissions } from '../../../shared/utils/access-control/enums/permissions';\nimport hasPermission from '../../../shared/utils/access-control/has-permission';\nimport { planError } from '../../../shared/utils/errors/plan-permission-error/plan-error';\nimport getEmailAccountMethod from '../../../shared/utils/get-email-account-method';\nimport {\n getIsRequestPending,\n getIsRequestSucceeded,\n} from '../../../shared/utils/get-request-status';\nimport { SubscriptionPlans } from '../../../shared/utils/subscription-plans';\nimport {\n EmailAccountMethod,\n EmailAccountType,\n EmailServiceProvider,\n} from '../../email-accounts/enums/email-account';\nimport { EmailAccountWarmupSortKey, EmailWarmupStatus } from '../enums';\nimport { EmailAccountWarmupList } from '../types';\nimport hasResource from '../../../shared/utils/access-control/has-resource';\nimport { ResourceIdentifiers } from '../../../shared/utils/access-control/enums/resource-identifiers';\n\nexport const getEmailWarmupReportDeliverabilityPercentage = (\n deliverabilityReport,\n) => {\n if (deliverabilityReport) {\n if (Number(deliverabilityReport.deliverabilityPercentage) === 0) {\n return '-';\n }\n\n return `${deliverabilityReport.deliverabilityPercentage}%`;\n }\n return '-';\n};\n\nexport const getSeriesForDeliverabilityChart = (deliverabilityReport) => {\n if (deliverabilityReport) {\n const total = Number(deliverabilityReport.total);\n const inbox = Number(deliverabilityReport.inbox);\n const spam = Number(deliverabilityReport.spam);\n\n if (total === 0) {\n return {\n series: [0, 0],\n colors: ['#059669', '#B91C1C'],\n };\n }\n\n const inboxPercentage = Math.round((inbox * 100) / total);\n const spamPercentage = Math.round((spam * 100) / total);\n\n // 100% Inbox Ratio\n if (inboxPercentage > 0 && spamPercentage === 0) {\n return {\n series: [inboxPercentage],\n colors: ['#059669'],\n };\n }\n\n // 100% Spam Ratio\n if (inboxPercentage === 0 && spamPercentage > 0) {\n return {\n series: [inboxPercentage, spamPercentage],\n colors: ['#B91C1C'],\n };\n }\n\n // Mixed Ration\n return {\n series: [inboxPercentage, spamPercentage],\n colors: ['#059669', '#B91C1C'],\n };\n }\n\n return {\n series: [0, 0],\n colors: ['#059669', '#B91C1C'],\n };\n};\n\nexport const emailWarmupSettingsInputHandler = (\n value,\n minValue,\n maxValue,\n setValue,\n setError,\n t,\n) => {\n if (!value || value < minValue) {\n setValue(value);\n setError(\n `${t('messages.zero_value_error_1')} ${minValue} ${t(\n 'messages.zero_value_error_2',\n )}`,\n );\n return;\n }\n if (value > maxValue) {\n setValue(value);\n setError(`${t('messages.max_value_error')} ${maxValue}`);\n return;\n }\n setValue(value);\n setError('');\n};\n\nexport const senderNameInputHandler = (value, setValue, setError, t) => {\n if (value.length < 3 || value.length > 80) {\n setValue(value);\n setError(t('messages.char_limit_error'));\n return;\n }\n setValue(value);\n setError('');\n};\n\nexport const getIsEmailAccountWarmupSettingsSubmitDiabled = ({\n startWithEmailsPerDayError,\n increaseByEmailsEveryDayError,\n maximumEmailsToBeSentPerDayError,\n replyRateError,\n senderNameError,\n isDirty,\n}): boolean =>\n startWithEmailsPerDayError ||\n increaseByEmailsEveryDayError ||\n maximumEmailsToBeSentPerDayError ||\n replyRateError ||\n senderNameError ||\n isDirty;\n\nexport const getPerformanceVariantForEmailDeliverabilityStats = (\n performance: number,\n): PerformanceStatsVariant => {\n if (performance > 0) {\n return PerformanceStatsVariant.INCREMENT;\n }\n\n if (performance < 0) {\n return PerformanceStatsVariant.DECREMENT;\n }\n\n return null;\n};\n\nexport const getPositiveValue = (value: number): number => {\n if (value < 0) {\n return value * -1;\n }\n\n return value;\n};\n\nexport const getIsPieChartDataEmpty = (series: number[]): boolean => {\n if (series[0] === 0 && series[1] === 0) {\n return true;\n }\n\n return false;\n};\n\nexport const getSortByKeyFilter = (key: string): EmailAccountWarmupSortKey => {\n if (key === 'sentToday') {\n return EmailAccountWarmupSortKey.SentToday;\n }\n if (key === 'receivedToday') {\n return EmailAccountWarmupSortKey.ReceivedToday;\n }\n\n return EmailAccountWarmupSortKey.Deliverability;\n};\n\nexport const getEmailAccountFromList = (\n id: number,\n emails: EmailAccountWarmupList[],\n) => emails?.filter((email) => email.id === id)[0];\n\nexport const getEmailWarmupStatus = (\n id: number,\n emails: EmailAccountWarmupList[],\n): boolean => {\n const emailAccount = getEmailAccountFromList(id, emails);\n\n return Number(emailAccount?.warmupStatus) === EmailWarmupStatus.Running;\n};\n\nexport const connectEmailAccountHandler = ({\n id,\n sendTurnOnOffEmailAccountWarmupRequest,\n}) => {\n sendTurnOnOffEmailAccountWarmupRequest({\n id,\n });\n};\n\nexport const reconnectEmailAccountHandler = ({\n subscriptionPlan,\n emailAccountId,\n emailAccountMethod,\n showConnectSmtpImapEmailAccountModal,\n sendConnectEmailAccountRequest,\n}) => {\n if (!hasResource(ResourceIdentifiers.EMAIL_ACCOUNT_CONNECT)) {\n if (hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)) {\n planError(5000);\n } else {\n planError(5001);\n }\n } else if (emailAccountMethod === EmailAccountMethod.SmtpImap) {\n showConnectSmtpImapEmailAccountModal();\n } else {\n sendConnectEmailAccountRequest(emailAccountMethod, emailAccountId);\n }\n};\n\nexport const onTunrOnOffRequestSuccessHandler = ({\n disconnectEmailWarmupModal,\n hideDisconnectEmailWarmupModal,\n t,\n}) => {\n if (disconnectEmailWarmupModal) {\n hideDisconnectEmailWarmupModal();\n }\n toaster.success(\n disconnectEmailWarmupModal\n ? t('messages.email_warmup_paused_successfully')\n : t('messages.email_warmup_enabled_successfully'),\n {\n theme: Theme.New,\n },\n );\n};\n\nexport const showRequestError = (error) => {\n if (error) {\n toaster.error(error.message, {\n theme: Theme.New,\n delay: 11000,\n showCloseIcon: true,\n });\n }\n};\n\nexport const getShouldShowNoResult = ({\n isLoading,\n formattedData,\n filters,\n}): boolean =>\n !isLoading && formattedData.length === 0 && filters.search !== '';\n\nexport const getShouldHideTable = ({\n isLoading,\n formattedData,\n filters,\n}): boolean =>\n !isLoading && formattedData.length === 0 && filters.search === '';\n\nexport const isInitialAndCurrentFiltersSame = (initialFilters, filters) =>\n JSON.stringify(initialFilters) === JSON.stringify(filters);\n\nexport const getIsInitialRequestPending = ({\n getEmailAccountsInWarmupRequestStatus,\n isFilterDirty,\n}): boolean =>\n getIsRequestPending(getEmailAccountsInWarmupRequestStatus) &&\n !isFilterDirty.current;\n\nexport const emailWarmupToggleHandler = ({\n row,\n check,\n onConnectEmailWarmup,\n showReconnectEmailAccountModal,\n showDisconnectEmailWarmupModal,\n showEmailWarmupEnableConsent,\n showEnableEmailWarmupModal,\n showTrulyInboxRefModal,\n}) => {\n if (\n !row.isToggled &&\n check &&\n (row?.type === EmailAccountType.Gmail ||\n row?.emailServiceProvider === EmailServiceProvider.Gsuite)\n ) {\n // * Email warm-up status is false\n // * User trying to turn it on\n // * But the Email of type Gmail is not supported for Warmup\n // * So showing user an error for the same\n showTrulyInboxRefModal();\n return;\n }\n\n if (Number(row.warmupStatus) === EmailWarmupStatus.Suspended) {\n toaster.error(\n 'This email is suspended from the warm-up pool due to high bounce rate. Contact support.',\n { theme: Theme.New },\n );\n } else if (!row.isToggled && check && !row.status) {\n // * Email warm-up status is false\n // * User trying to turn it on\n // * But user email is dissconnected in SH Account\n // * So showing user a modal to reconnect email account\n showReconnectEmailAccountModal(row.id, getEmailAccountMethod(row));\n } else if (!row.isToggled && check) {\n // * Email warm-up status is false\n // * User trying to turn it on\n // * And user email is connected in SH Account\n // * So checking for Email Warmup Enable Consent\n if (showEmailWarmupEnableConsent) {\n // * Email Warmup Enable Consent is true\n // * So making api call to enable email warmup\n showEnableEmailWarmupModal(row.id);\n } else {\n // * Email Warmup Enable Consent is false\n // * So showing user a modal to before enabling the email warmup\n onConnectEmailWarmup(row.id);\n }\n } else if (row.isToggled && !check) {\n // * Email warm-up status is true\n // * User trying to turn it off\n // * So showing user a confirmation modal before disabling email warmup\n showDisconnectEmailWarmupModal(row.id);\n }\n};\n\nexport const getRecommendedLabelText = (value, t): string =>\n `${t('messages.recommended')} ${value}`;\n\nexport const getTooltipText = (): string =>\n hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)\n ? 'Upgrade your plan to access advanced warm-up setting'\n : 'Please contact admin and request to upgrade your plan to access advanced warm-up setting';\n\nexport const setEmailWarmupSettingsInputValue = ({\n getEmailAccountWarmupSettingsRequestStatus,\n emailAccountWarmupSettings,\n setStartWithEmailsPerDay,\n setIncreaseByEmailsEveryDay,\n setMaximumEmailsToBeSentPerDay,\n setReplyRate,\n setSenderName,\n}) => {\n if (\n getIsRequestSucceeded(getEmailAccountWarmupSettingsRequestStatus) &&\n emailAccountWarmupSettings\n ) {\n setStartWithEmailsPerDay(\n emailAccountWarmupSettings.warmUpInitialSendingLimit,\n );\n setIncreaseByEmailsEveryDay(\n emailAccountWarmupSettings.increaseEmailsByNumber,\n );\n setMaximumEmailsToBeSentPerDay(emailAccountWarmupSettings.maxSendingLimit);\n setReplyRate(emailAccountWarmupSettings.replyRate);\n setSenderName(emailAccountWarmupSettings.senderName);\n }\n};\n\nexport const resetEmailWarmupSettingsInputValue = ({\n setStartWithEmailsPerDayError,\n setIncreaseByEmailsEveryDayError,\n setMaximumEmailsToBeSentPerDayError,\n setReplyRateError,\n setSenderNameError,\n}) => {\n setStartWithEmailsPerDayError('');\n setIncreaseByEmailsEveryDayError('');\n setMaximumEmailsToBeSentPerDayError('');\n setReplyRateError('');\n setSenderNameError('');\n};\n\nexport const getDataFieldForTable = (sortByKey: EmailAccountWarmupSortKey) => {\n if (sortByKey === EmailAccountWarmupSortKey.Deliverability) {\n return 'deliverabilityRate';\n }\n if (sortByKey === EmailAccountWarmupSortKey.SentToday) {\n return 'sentToday';\n }\n if (sortByKey === EmailAccountWarmupSortKey.ReceivedToday) {\n return 'receivedToday';\n }\n return '';\n};\n\nexport const getEnableEmailWarmupConsent = (meta) => {\n if (!isEmpty(meta)) {\n const enableEmailWarmupConsentValue =\n _.find(meta, { code: UserSettingCode.ShowEmailWarmupEnableConsent })\n ?.value || 1;\n\n return Boolean(Number(enableEmailWarmupConsentValue));\n }\n\n return true;\n};\n","import api from '../../../api';\nimport {\n EmailAccountId,\n EmailAccountWarmupFilters,\n EmailAccountWarmupSettingsPayload,\n} from '../types';\n\nexport const getEmailAccountsInWarmup = async (\n options: EmailAccountWarmupFilters,\n) =>\n api.get(`email-account/email-warmup`, {\n params: { ...options },\n });\n\nexport const getEmailAccountWarmupDeliverabilityReport = async ({\n id,\n}: EmailAccountId) =>\n api.get(`email-account/email-warmup/deliverability/${id}`);\n\nexport const getEmailAccountWarmupList = async () =>\n api.get('email-account/email-warmup/list');\n\nexport const getEmailAccountWarmupSentReceivedReport = async ({\n id,\n}: EmailAccountId) => api.get(`email-account/email-warmup/sent-received/${id}`);\n\nexport const getEmailAccountWarmupSettings = async ({ id }: EmailAccountId) =>\n api.get(`email-account/email-warmup/settings/${id}`);\n\nexport const saveEmailAccountWarmupSettings = async ({\n id,\n ...rest\n}: EmailAccountWarmupSettingsPayload) =>\n api.patch(`email-account/email-warmup/settings/${id}`, rest);\n\nexport const turnOnOffEmailAccountWarmup = async ({ id }: EmailAccountId) =>\n api.patch(`email-account/email-warmup/${id}`);\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport { ResponseErrorWithHandled, ResponseSuccess } from '../../shared/types';\nimport {\n getEmailAccountsInWarmup,\n getEmailAccountWarmupDeliverabilityReport,\n getEmailAccountWarmupList,\n getEmailAccountWarmupSentReceivedReport,\n getEmailAccountWarmupSettings,\n saveEmailAccountWarmupSettings,\n turnOnOffEmailAccountWarmup,\n} from './helpers/email-warmup.api';\nimport {\n EmailAccountId,\n EmailAccountWarmupFilters,\n EmailAccountWarmupSettingsPayload,\n} from './types';\n\nexport const getEmailAccountsInWarmupRequest = createAsyncThunk<\n ResponseSuccess,\n EmailAccountWarmupFilters,\n { rejectValue: ResponseErrorWithHandled }\n>('emailWarmup/getEmailAccountsInWarmup', async (args, thunkAPI) => {\n try {\n return await getEmailAccountsInWarmup(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getEmailAccountWarmupDeliverabilityReportRequest = createAsyncThunk<\n ResponseSuccess,\n EmailAccountId,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'emailWarmup/getEmailAccountWarmupDeliverabilityReport',\n async (args, thunkAPI) => {\n try {\n return await getEmailAccountWarmupDeliverabilityReport(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const getEmailAccountWarmupListRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('emailWarmup/getEmailAccountWarmupList', async (_args, thunkAPI) => {\n try {\n return await getEmailAccountWarmupList();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getEmailAccountWarmupSentReceivedReportRequest = createAsyncThunk<\n ResponseSuccess,\n EmailAccountId,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'emailWarmup/getEmailAccountWarmupSentReceivedReport',\n async (args, thunkAPI) => {\n try {\n return await getEmailAccountWarmupSentReceivedReport(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const getEmailAccountWarmupSettingsRequest = createAsyncThunk<\n ResponseSuccess,\n EmailAccountId,\n { rejectValue: ResponseErrorWithHandled }\n>('emailWarmup/getEmailAccountWarmupSettings', async (args, thunkAPI) => {\n try {\n return await getEmailAccountWarmupSettings(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const saveEmailAccountWarmupSettingsRequest = createAsyncThunk<\n ResponseSuccess,\n EmailAccountWarmupSettingsPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('emailWarmup/saveEmailAccountWarmupSettings', async (args, thunkAPI) => {\n try {\n return await saveEmailAccountWarmupSettings(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const turnOnOffEmailAccountWarmupRequest = createAsyncThunk<\n ResponseSuccess,\n EmailAccountId,\n { rejectValue: ResponseErrorWithHandled }\n>('emailWarmup/turnOnOffEmailAccountWarmup', async (args, thunkAPI) => {\n try {\n return await turnOnOffEmailAccountWarmup(args);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../shared/enums/request-status';\nimport { ResponseErrorWithHandled } from '../../shared/types';\nimport {\n getEmailAccountsInWarmupRequest,\n getEmailAccountWarmupDeliverabilityReportRequest,\n getEmailAccountWarmupSentReceivedReportRequest,\n getEmailAccountWarmupSettingsRequest,\n saveEmailAccountWarmupSettingsRequest,\n turnOnOffEmailAccountWarmupRequest,\n getEmailAccountWarmupListRequest,\n} from './extra-actions';\nimport {\n EmailAccountWarmupDeliverabilityReport,\n EmailAccountWarmupList,\n EmailAccountWarmupSentReceivedReport,\n EmailAccountWarmupSettings,\n EmailWarmupAccount,\n} from './types';\n\ntype RequestState = {\n status: RequestStatus;\n message: string;\n error: ResponseErrorWithHandled;\n};\n\ntype State = {\n getEmailAccountsInWarmupRequest: RequestState;\n getEmailAccountWarmupDeliverabilityReportRequest: RequestState;\n getEmailAccountWarmupSentReceivedReportRequest: RequestState;\n getEmailAccountWarmupSettingsRequest: RequestState;\n saveEmailAccountWarmupSettingsRequest: RequestState;\n turnOnOffEmailAccountWarmupRequest: RequestState;\n getEmailAccountWarmupListRequest: RequestState;\n emailWarmupAccounts: EmailWarmupAccount[];\n emailAccountWarmupSentReceivedReport: EmailAccountWarmupSentReceivedReport;\n emailAccountWarmupDeliverabilityReport: EmailAccountWarmupDeliverabilityReport;\n emailAccountWarmupSettings: EmailAccountWarmupSettings;\n emailAccountWarmupList: EmailAccountWarmupList[];\n totalEmailWarmupAccounts: number;\n};\n\nconst initialState: State = {\n getEmailAccountsInWarmupRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getEmailAccountWarmupDeliverabilityReportRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getEmailAccountWarmupSentReceivedReportRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getEmailAccountWarmupSettingsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n saveEmailAccountWarmupSettingsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n turnOnOffEmailAccountWarmupRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getEmailAccountWarmupListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n emailWarmupAccounts: [],\n totalEmailWarmupAccounts: 0,\n emailAccountWarmupSentReceivedReport: null,\n emailAccountWarmupDeliverabilityReport: null,\n emailAccountWarmupSettings: null,\n emailAccountWarmupList: null,\n};\n\nconst emailWarmupSlice = createSlice({\n name: 'emailWarmup',\n initialState,\n reducers: {\n resetEmailWarmupState: (state) => {\n state.getEmailAccountsInWarmupRequest =\n initialState.getEmailAccountsInWarmupRequest;\n state.getEmailAccountWarmupDeliverabilityReportRequest =\n initialState.getEmailAccountWarmupDeliverabilityReportRequest;\n state.getEmailAccountWarmupSentReceivedReportRequest =\n initialState.getEmailAccountWarmupSentReceivedReportRequest;\n state.getEmailAccountWarmupSettingsRequest =\n initialState.getEmailAccountWarmupSettingsRequest;\n state.saveEmailAccountWarmupSettingsRequest =\n initialState.saveEmailAccountWarmupSettingsRequest;\n state.turnOnOffEmailAccountWarmupRequest =\n initialState.turnOnOffEmailAccountWarmupRequest;\n state.getEmailAccountWarmupListRequest =\n initialState.getEmailAccountWarmupListRequest;\n state.emailWarmupAccounts = initialState.emailWarmupAccounts;\n state.emailAccountWarmupSentReceivedReport =\n initialState.emailAccountWarmupSentReceivedReport;\n state.emailAccountWarmupDeliverabilityReport =\n initialState.emailAccountWarmupDeliverabilityReport;\n state.emailAccountWarmupSettings =\n initialState.emailAccountWarmupSettings;\n state.emailAccountWarmupList = initialState.emailAccountWarmupList;\n state.totalEmailWarmupAccounts = initialState.totalEmailWarmupAccounts;\n },\n resetTurnOnOffEmailAccountWarmupState: (state) => {\n state.turnOnOffEmailAccountWarmupRequest =\n initialState.turnOnOffEmailAccountWarmupRequest;\n },\n },\n extraReducers: (builder) => {\n // Get Email Account List In Warmup\n builder.addCase(getEmailAccountsInWarmupRequest.pending, (state) => {\n state.getEmailAccountsInWarmupRequest.status = RequestStatus.Pending;\n state.getEmailAccountsInWarmupRequest.error = null;\n state.getEmailAccountsInWarmupRequest.message = null;\n });\n builder.addCase(\n getEmailAccountsInWarmupRequest.fulfilled,\n (state, action) => {\n state.getEmailAccountsInWarmupRequest.status = RequestStatus.Succeeded;\n state.emailWarmupAccounts = action.payload.payload.emailAccounts;\n state.totalEmailWarmupAccounts =\n action.payload.payload.emailAccountCount;\n },\n );\n builder.addCase(\n getEmailAccountsInWarmupRequest.rejected,\n (state, action) => {\n state.getEmailAccountsInWarmupRequest.status = RequestStatus.Failed;\n state.getEmailAccountsInWarmupRequest.message = action.payload.message;\n state.getEmailAccountsInWarmupRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Get Email Account Warmup Deliverability Report\n builder.addCase(\n getEmailAccountWarmupDeliverabilityReportRequest.pending,\n (state) => {\n state.getEmailAccountWarmupDeliverabilityReportRequest.status =\n RequestStatus.Pending;\n state.getEmailAccountWarmupDeliverabilityReportRequest.error = null;\n state.getEmailAccountWarmupDeliverabilityReportRequest.message = null;\n },\n );\n builder.addCase(\n getEmailAccountWarmupDeliverabilityReportRequest.fulfilled,\n (state, action) => {\n state.getEmailAccountWarmupDeliverabilityReportRequest.status =\n RequestStatus.Succeeded;\n state.emailAccountWarmupDeliverabilityReport = action.payload.payload;\n },\n );\n builder.addCase(\n getEmailAccountWarmupDeliverabilityReportRequest.rejected,\n (state, action) => {\n state.getEmailAccountWarmupDeliverabilityReportRequest.status =\n RequestStatus.Failed;\n state.getEmailAccountWarmupDeliverabilityReportRequest.message =\n action.payload.message;\n state.getEmailAccountWarmupDeliverabilityReportRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Get Email Account Warmup Sent Received Report\n builder.addCase(\n getEmailAccountWarmupSentReceivedReportRequest.pending,\n (state) => {\n state.getEmailAccountWarmupSentReceivedReportRequest.status =\n RequestStatus.Pending;\n state.getEmailAccountWarmupSentReceivedReportRequest.error = null;\n state.getEmailAccountWarmupSentReceivedReportRequest.message = null;\n },\n );\n builder.addCase(\n getEmailAccountWarmupSentReceivedReportRequest.fulfilled,\n (state, action) => {\n state.getEmailAccountWarmupSentReceivedReportRequest.status =\n RequestStatus.Succeeded;\n state.emailAccountWarmupSentReceivedReport = action.payload.payload;\n },\n );\n builder.addCase(\n getEmailAccountWarmupSentReceivedReportRequest.rejected,\n (state, action) => {\n state.getEmailAccountWarmupSentReceivedReportRequest.status =\n RequestStatus.Failed;\n state.getEmailAccountWarmupSentReceivedReportRequest.message =\n action.payload.message;\n state.getEmailAccountWarmupSentReceivedReportRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Get Email Account Warmup Settings\n builder.addCase(getEmailAccountWarmupSettingsRequest.pending, (state) => {\n state.getEmailAccountWarmupSettingsRequest.status = RequestStatus.Pending;\n state.getEmailAccountWarmupSettingsRequest.error = null;\n state.getEmailAccountWarmupSettingsRequest.message = null;\n });\n builder.addCase(\n getEmailAccountWarmupSettingsRequest.fulfilled,\n (state, action) => {\n state.getEmailAccountWarmupSettingsRequest.status =\n RequestStatus.Succeeded;\n state.emailAccountWarmupSettings = action.payload.payload;\n },\n );\n builder.addCase(\n getEmailAccountWarmupSettingsRequest.rejected,\n (state, action) => {\n state.getEmailAccountWarmupSettingsRequest.status =\n RequestStatus.Failed;\n state.getEmailAccountWarmupSettingsRequest.message =\n action.payload.message;\n state.getEmailAccountWarmupSettingsRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Save Email Account Warmup Settings\n builder.addCase(saveEmailAccountWarmupSettingsRequest.pending, (state) => {\n state.saveEmailAccountWarmupSettingsRequest.status =\n RequestStatus.Pending;\n state.saveEmailAccountWarmupSettingsRequest.error = null;\n state.saveEmailAccountWarmupSettingsRequest.message = null;\n });\n builder.addCase(\n saveEmailAccountWarmupSettingsRequest.fulfilled,\n (state, action) => {\n state.saveEmailAccountWarmupSettingsRequest.status =\n RequestStatus.Succeeded;\n state.saveEmailAccountWarmupSettingsRequest.message =\n action.payload.message;\n },\n );\n builder.addCase(\n saveEmailAccountWarmupSettingsRequest.rejected,\n (state, action) => {\n state.saveEmailAccountWarmupSettingsRequest.status =\n RequestStatus.Failed;\n state.saveEmailAccountWarmupSettingsRequest.message =\n action.payload.message;\n state.saveEmailAccountWarmupSettingsRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Turn On/Off Email Account Warmup Settings\n builder.addCase(turnOnOffEmailAccountWarmupRequest.pending, (state) => {\n state.turnOnOffEmailAccountWarmupRequest.status = RequestStatus.Pending;\n state.turnOnOffEmailAccountWarmupRequest.error = null;\n state.turnOnOffEmailAccountWarmupRequest.message = null;\n });\n builder.addCase(\n turnOnOffEmailAccountWarmupRequest.fulfilled,\n (state, action) => {\n state.turnOnOffEmailAccountWarmupRequest.status =\n RequestStatus.Succeeded;\n state.turnOnOffEmailAccountWarmupRequest.message =\n action.payload.message;\n },\n );\n builder.addCase(\n turnOnOffEmailAccountWarmupRequest.rejected,\n (state, action) => {\n state.turnOnOffEmailAccountWarmupRequest.status = RequestStatus.Failed;\n state.turnOnOffEmailAccountWarmupRequest.message =\n action.payload.message;\n state.turnOnOffEmailAccountWarmupRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Email Account Warmup List\n builder.addCase(getEmailAccountWarmupListRequest.pending, (state) => {\n state.getEmailAccountWarmupListRequest.status = RequestStatus.Pending;\n state.getEmailAccountWarmupListRequest.error = null;\n state.getEmailAccountWarmupListRequest.message = null;\n });\n builder.addCase(\n getEmailAccountWarmupListRequest.fulfilled,\n (state, action) => {\n state.getEmailAccountWarmupListRequest.status = RequestStatus.Succeeded;\n state.emailAccountWarmupList = action.payload.payload;\n },\n );\n builder.addCase(\n getEmailAccountWarmupListRequest.rejected,\n (state, action) => {\n state.getEmailAccountWarmupListRequest.status = RequestStatus.Failed;\n state.getEmailAccountWarmupListRequest.message = action.payload.message;\n state.getEmailAccountWarmupListRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n },\n});\n\nexport const {\n resetEmailWarmupState,\n resetTurnOnOffEmailAccountWarmupState,\n} = emailWarmupSlice.actions;\n\nexport default emailWarmupSlice.reducer;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { hideLoading, showLoading } from 'react-redux-loading-bar';\nimport EmailWarmup from './email-warmup';\nimport { RootState } from '../../store/root-reducer';\nimport { turnOnOffEmailAccountWarmupRequest } from './extra-actions';\nimport { EmailAccountId } from './types';\nimport { connectEmailAccountRequest } from '../email-accounts/extra-actions';\nimport { EmailAccountMethod } from '../email-accounts/enums/email-account';\nimport { resetTurnOnOffEmailAccountWarmupState } from './email-warmup-slice';\nimport {\n getUserSettingsRequest,\n updateUserSettingsRequest,\n} from '../home/extra-actions';\nimport { UpdateUserSettingsRequestPayload } from '../sequence/types';\n\nconst mapStateToProps = (state: RootState) => ({\n authUrl: state.emailAccount.authUrl,\n subscriptionPlan: state.home.subscription?.planCode,\n meta: state.home.meta,\n\n turnOnOffEmailAccountWarmupRequestStatus:\n state.emailWarmup.turnOnOffEmailAccountWarmupRequest.status,\n turnOnOffEmailAccountWarmupRequestError:\n state.emailWarmup.turnOnOffEmailAccountWarmupRequest.error,\n\n connectEmailAccountRequestStatus:\n state.emailAccount.connectEmailAccountRequest.status,\n connectEmailAccountRequestError:\n state.emailAccount.connectEmailAccountRequest.error,\n\n updateUserSettingsRequestStatus: state.home.updateUserSettingsRequest.status,\n});\n\nconst mapDispatchToProps = {\n sendConnectEmailAccountRequest: (\n method: EmailAccountMethod,\n emailAccountId?: number,\n ) => connectEmailAccountRequest({ method, emailAccountId }),\n sendTurnOnOffEmailAccountWarmupRequest: (payload: EmailAccountId) =>\n turnOnOffEmailAccountWarmupRequest(payload),\n resetTurnOnOffEmailAccountWarmupState: () =>\n resetTurnOnOffEmailAccountWarmupState(),\n showLoading: () => showLoading(),\n hideLoading: () => hideLoading(),\n sendGetUserSettingsRequest: () => getUserSettingsRequest(),\n updateEnableEmailWarmupConsent: (payload: UpdateUserSettingsRequestPayload) =>\n updateUserSettingsRequest(payload),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps;\n\nexport default connector(EmailWarmup);\n","import React from 'react';\n\nconst FeaturesHeader = () => (\n
    \n
    \n FEATURE\n
    \n
    \n Starter\n
    \n
    \n Outreach\n
    \n
    \n);\n\nexport default FeaturesHeader;\n","import React from 'react';\nimport { Images } from '../../../../../app-constants';\nimport ImageIcon from '../../../../../components/images/image-icon';\nimport { FeatureMeta as FeatureMetaProps } from '../types';\n\nconst FeatureMeta: React.FC = ({\n isAvailable,\n helperText,\n isComingSoon,\n}) => {\n let src = Images.CheckSingleGreen;\n let alt = 'Available';\n\n if (!isAvailable) {\n src = Images.CrossRed;\n alt = 'Not Available';\n }\n\n return isComingSoon ? (\n <>\n

    \n Coming Soon\n

    \n \n ) : (\n <>\n \n {helperText}\n \n );\n};\n\nexport const EmailWarmupFeatureMeta: React.FC = ({\n isAvailable,\n helperText,\n isComingSoon,\n}) => (\n
    \n \n
    \n);\n\nexport const EmailOutreachFeatureMeta: React.FC = ({\n isAvailable,\n helperText,\n isComingSoon,\n}) => (\n
    \n \n
    \n);\n\nexport const EmailOutreachProFeatureMeta: React.FC = ({\n isAvailable,\n helperText,\n isComingSoon,\n}) => (\n
    \n \n
    \n);\n","import React from 'react';\nimport { Feature, FeaturesList } from '../types';\nimport {\n EmailOutreachFeatureMeta,\n EmailWarmupFeatureMeta,\n} from './feature-meta';\n\nconst FeaturesSection: React.FC = ({ id, title, features }) => (\n
    \n
    \n {title}\n
    \n {features.map((feature: Feature, index: number) => (\n \n
    \n {feature.featureName}\n
    \n \n \n
    \n ))}\n \n);\n\nexport default FeaturesSection;\n","import React from 'react';\nimport type { IProps } from './types';\nimport { getAllFeaturesList } from './utils/get-all-features';\n\nimport Modal from '../../atoms/modal';\nimport FeaturesHeader from './components/features-header';\nimport FeaturesSection from './components/features-section';\n\nconst AllFeaturesListModal: React.FC = ({ show, onClose }) => {\n const featuresList = getAllFeaturesList();\n\n return (\n \n
    \n \n
    \n {featuresList.map((item) => (\n \n ))}\n
    \n
    \n \n );\n};\n\nexport default AllFeaturesListModal;\n","import { FeaturesList } from '../types';\n\nexport const getAllFeaturesList = (): FeaturesList[] => [\n {\n id: 1,\n title: 'Sequence & Automation',\n features: [\n {\n featureId: 1,\n featureName: 'Unlimited Prospects & Steps',\n emailWarmupFeatureMeta: {\n isAvailable: false,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n helperText: '(Unlimited Prospects)',\n },\n },\n {\n featureId: 2,\n featureName: 'Email Delivery Schedules',\n emailWarmupFeatureMeta: {\n isAvailable: false,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n {\n featureId: 3,\n featureName: 'Auto-reply Detection',\n emailWarmupFeatureMeta: {\n isAvailable: false,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n {\n featureId: 4,\n featureName: 'Gmail, Outlook',\n emailWarmupFeatureMeta: {\n isAvailable: true,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n {\n featureId: 5,\n featureName: 'SMTP & IMAP',\n emailWarmupFeatureMeta: {\n isAvailable: true,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n {\n featureId: 6,\n featureName: 'Prospect Engagement tracking: Open, Click & Reply',\n emailWarmupFeatureMeta: {\n isAvailable: false,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n {\n featureId: 7,\n featureName: 'Sequence step A/B Testing',\n emailWarmupFeatureMeta: {\n isAvailable: false,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n ],\n },\n {\n id: 2,\n title: 'Deliverability / Email Safety',\n features: [\n {\n featureId: 1,\n featureName: 'Real Inbox Email Deliverability Tests',\n emailWarmupFeatureMeta: {\n isComingSoon: true,\n },\n emailOutreachFeatureMeta: {\n isComingSoon: true,\n },\n },\n {\n featureId: 2,\n featureName: 'Ramp-up (Auto Increase Daily Email Sending)',\n emailWarmupFeatureMeta: {\n isAvailable: false,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n ],\n },\n {\n id: 3,\n title: 'Email Warmup',\n features: [\n {\n featureId: 1,\n featureName: 'Warmup with default settings (restricted usage)',\n emailWarmupFeatureMeta: {\n isAvailable: true,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n {\n featureId: 2,\n featureName: 'Warmup with customized settings',\n emailWarmupFeatureMeta: {\n isAvailable: true,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n {\n featureId: 3,\n featureName: 'Warmup reports',\n emailWarmupFeatureMeta: {\n isAvailable: true,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n ],\n },\n {\n id: 4,\n title: 'Prospect Management',\n features: [\n {\n featureId: 1,\n featureName: 'Tags',\n emailWarmupFeatureMeta: {\n isAvailable: false,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n {\n featureId: 2,\n featureName: 'Unlimited Custom Fields',\n emailWarmupFeatureMeta: {\n isAvailable: false,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n {\n featureId: 3,\n featureName: 'CSV Import',\n emailWarmupFeatureMeta: {\n isAvailable: false,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n {\n featureId: 3,\n featureName: 'Custom Tracking Domain',\n emailWarmupFeatureMeta: {\n isAvailable: false,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n {\n featureId: 4,\n featureName: 'Blacklist Domains',\n emailWarmupFeatureMeta: {\n isAvailable: false,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n ],\n },\n {\n id: 5,\n title: 'Chrome Extension',\n features: [\n {\n featureId: 1,\n featureName: 'Track emails from Gmail/Outlook (Chrome)',\n emailWarmupFeatureMeta: {\n isAvailable: true,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n {\n featureId: 2,\n featureName: 'Find email address from linkedin',\n emailWarmupFeatureMeta: {\n isAvailable: true,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n {\n featureId: 3,\n featureName: 'Add prospect from anywhere',\n emailWarmupFeatureMeta: {\n isAvailable: false,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n ],\n },\n {\n id: 6,\n title: 'Reports',\n features: [\n {\n featureId: 1,\n featureName: 'Stepwise reports',\n emailWarmupFeatureMeta: {\n isAvailable: false,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n {\n featureId: 2,\n featureName: 'A/B test Reports',\n emailWarmupFeatureMeta: {\n isAvailable: false,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n {\n featureId: 3,\n featureName: 'Cadence Reports',\n emailWarmupFeatureMeta: {\n isAvailable: false,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n {\n featureId: 4,\n featureName: 'Template Reports',\n emailWarmupFeatureMeta: {\n isAvailable: false,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n {\n featureId: 5,\n featureName: 'Prospect Activity History',\n emailWarmupFeatureMeta: {\n isAvailable: false,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n {\n featureId: 6,\n featureName: 'Team Reports',\n emailWarmupFeatureMeta: {\n isAvailable: false,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n {\n featureId: 7,\n featureName: 'Warmup Reports',\n emailWarmupFeatureMeta: {\n isAvailable: true,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n ],\n },\n {\n id: 7,\n title: 'Integrations',\n features: [\n {\n featureId: 1,\n featureName: 'Public API',\n emailWarmupFeatureMeta: {\n isAvailable: false,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n {\n featureId: 2,\n featureName: 'Zapier Integration',\n emailWarmupFeatureMeta: {\n isAvailable: false,\n },\n emailOutreachFeatureMeta: {\n isComingSoon: true,\n },\n },\n {\n featureId: 3,\n featureName: 'CRM Integration',\n emailWarmupFeatureMeta: {\n isAvailable: false,\n },\n emailOutreachFeatureMeta: {\n isComingSoon: true,\n },\n },\n ],\n },\n {\n id: 8,\n title: 'Support',\n features: [\n {\n featureId: 1,\n featureName: 'Help center of 100+ articles',\n emailWarmupFeatureMeta: {\n isAvailable: true,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n {\n featureId: 2,\n featureName: 'Email support',\n emailWarmupFeatureMeta: {\n isAvailable: true,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n {\n featureId: 3,\n featureName: 'Real-time support through web conference',\n emailWarmupFeatureMeta: {\n isAvailable: false,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n {\n featureId: 4,\n featureName: 'Demos & Onboarding',\n emailWarmupFeatureMeta: {\n isAvailable: false,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n {\n featureId: 5,\n featureName: '1:1 User Success Call',\n emailWarmupFeatureMeta: {\n isAvailable: false,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n {\n featureId: 6,\n featureName: 'Dedicated Success Manager',\n emailWarmupFeatureMeta: {\n isAvailable: false,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n ],\n },\n {\n id: 9,\n title: 'Teams',\n features: [\n {\n featureId: 1,\n featureName: 'Shared Templates & Cadences',\n emailWarmupFeatureMeta: {\n isAvailable: false,\n },\n emailOutreachFeatureMeta: {\n isAvailable: true,\n },\n },\n {\n featureId: 2,\n featureName: 'Admin Controls',\n emailWarmupFeatureMeta: {\n isAvailable: false,\n },\n emailOutreachFeatureMeta: {\n isComingSoon: true,\n },\n },\n {\n featureId: 3,\n featureName: 'IP-based Login Restrictions',\n emailWarmupFeatureMeta: {\n isAvailable: false,\n },\n emailOutreachFeatureMeta: {\n isComingSoon: true,\n },\n },\n {\n featureId: 4,\n featureName: 'Advanced Team Management',\n emailWarmupFeatureMeta: {\n isAvailable: false,\n },\n emailOutreachFeatureMeta: {\n isComingSoon: true,\n },\n },\n ],\n },\n];\n","import React, { useState, useEffect } from 'react';\nimport classnames from 'classnames';\nimport { useTranslation } from 'react-i18next';\n\nimport ImageIcon from '../../../../components/images/image-icon';\nimport Button from '../../atoms/button';\nimport Icon from '../../atoms/icon/icon';\nimport { IProps, SelectPlanCTAText } from './types';\nimport {\n ModifyPlanAction,\n SubscriptionPlans,\n} from '../../../../utils/subscription-plans';\nimport { BillingOption } from '../../../../utils/billing-options';\nimport { getPlanMetaData } from '../../../../../components/settings/components/billing-subscription/components/select-plan/utils/get-plan-meta-data';\nimport { getButtonLabel, getLeadFinderButtonLabel } from './helpers';\nimport { getPlanName } from '../../../../../components/settings/components/billing-subscription/components/modify-subscription/utils/helper';\n\nconst PricingCard: React.FC = ({\n plan,\n planCycle,\n onSelectPlan,\n sendGetAccountSubscriptionResponse,\n sendGetLeadFinderSubscriptionResponse,\n isLeadFinderPlans = false,\n sendGetPlansResponse,\n}) => {\n const { t } = useTranslation();\n\n const [btnDisabled, setBtnDisabled] = useState(false);\n\n const {\n displayName,\n headerImage,\n isBestValuePlan,\n description,\n features,\n price,\n } = getPlanMetaData(plan?.planCode, planCycle, plan?.planName) || {};\n\n const btnLabel = isLeadFinderPlans\n ? getLeadFinderButtonLabel({\n plan,\n planCycle,\n sendGetLeadFinderSubscriptionResponse,\n })\n : getButtonLabel({\n plan,\n planCycle,\n sendGetAccountSubscriptionResponse,\n sendGetPlansResponse,\n });\n\n const setButtonDisabled = () => {\n if (plan?.planCode === SubscriptionPlans.EMAIL_OUTREACH_LIFETIME) {\n setBtnDisabled(true);\n }\n };\n\n const getAction = () => {\n if (btnLabel === SelectPlanCTAText.UpgradePlan) {\n return ModifyPlanAction.Update;\n }\n if (btnLabel === SelectPlanCTAText.DowngradePlan) {\n return ModifyPlanAction.Downgrade;\n }\n\n return ModifyPlanAction.AddSlots;\n };\n\n const handlePlanSelect = () => {\n const action = getAction();\n\n onSelectPlan(\n plan?.planCode,\n plan?.planType,\n plan?.planName,\n plan?.planMode,\n action,\n );\n };\n\n useEffect(() => {\n setButtonDisabled();\n }, []);\n\n // Global Variable\n const btnClassName = classnames([\n {\n 'ghost-primary-new': btnLabel !== SelectPlanCTAText.CurrentPlan,\n 'ghost-secondary-new': btnLabel === SelectPlanCTAText.CurrentPlan,\n },\n ]);\n\n const cardClassName = classnames([\n 'pricing-card',\n {\n 'best-value-plan': isBestValuePlan,\n 'pricing-card-lifetime-plan': planCycle === BillingOption.LIFETIME,\n },\n ]);\n\n return (\n
    \n
    \n
    \n
    \n
    \n \n {isBestValuePlan && (\n \n {t('labels.most_value')}\n \n )}\n
    \n
    \n \n {getPlanName(planCycle, displayName)}\n \n

    \n {description}\n

    \n
    \n
    \n \n $\n \n \n {price}\n \n
    \n \n per slot\n \n \n {planCycle === BillingOption.LIFETIME\n ? planCycle\n : `per ${planCycle}`}\n \n
    \n
    \n
    \n
    \n Includes:\n
      \n {features?.map((feature) => (\n
    • \n \n \n {feature}\n \n
    • \n ))}\n
    \n
    \n
    \n
    \n \n {btnLabel}\n \n
    \n
    \n );\n};\n\nexport default PricingCard;\n","import React, { useEffect, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport Button from '../../../../../../shared/design-system/components/atoms/button';\nimport Icon from '../../../../../../shared/design-system/components/atoms/icon';\nimport AllFeaturesListModal from '../../../../../../shared/design-system/components/molecules/all-features-list-modal';\nimport PricingCard from '../../../../../../shared/design-system/components/molecules/pricing-card';\nimport { accessibleOnClick } from '../../../../../../shared/utils/accessible-on-click';\nimport { BillingOption } from '../../../../../../shared/utils/billing-options';\nimport { IProps } from './types';\nimport { getPlanMode, getPlanData } from './utils/helper';\nimport { supportUrls } from '../../../../../../shared/utils/urls';\nimport { isColdEmailPlanBannerShow } from '../modify-subscription/utils/helper';\nimport { isLeadFinderColdEmailPlanBannerShow } from '../modify-lead-finder-subscription/utils/helper';\n\nconst SelectPlan: React.FC = ({\n planCycle,\n onSelectPlan,\n sendGetAccountSubscriptionResponse,\n sendGetLeadFinderSubscriptionResponse,\n sendGetPlansResponse,\n sendGetLeadFinderPlansResponse,\n isLeadFinderPlans = false,\n}) => {\n const { t } = useTranslation();\n\n const [\n isAllFeaturesTableVisible,\n setIsAllFeaturesTableVisible,\n ] = useState(false);\n const [planData, setPlanData] = useState([]);\n\n const showAllFeaturesTable = () => setIsAllFeaturesTableVisible(true);\n\n const hideAllFeaturesTable = () => setIsAllFeaturesTableVisible(false);\n\n useEffect(() => {\n if (sendGetLeadFinderPlansResponse) {\n setPlanData(\n getPlanData(\n getPlanMode(planCycle),\n sendGetLeadFinderPlansResponse,\n sendGetLeadFinderSubscriptionResponse?.planCode,\n ),\n );\n }\n if (sendGetPlansResponse) {\n setPlanData(\n getPlanData(\n getPlanMode(planCycle),\n sendGetPlansResponse,\n sendGetAccountSubscriptionResponse?.planCode,\n ),\n );\n }\n }, [planCycle]);\n\n return (\n <>\n
    \n
    \n {planData?.map((plan) => (\n \n ))}\n
    \n {planCycle !== BillingOption.LIFETIME && (\n <>\n
    \n \n \n {t('labels.see_all_features')}\n \n
    \n {(!isColdEmailPlanBannerShow(\n sendGetAccountSubscriptionResponse?.planType,\n ) ||\n !isLeadFinderColdEmailPlanBannerShow(\n sendGetLeadFinderSubscriptionResponse?.planType,\n )) && (\n
    \n \n \n 🤔\n \n Want to discuss the custom pricing that suits you?\n \n \n window.open(supportUrls.scheduleCall, '_blank')\n }\n >\n Schedule a call with us\n \n
    \n )}\n \n )}\n
    \n \n \n );\n};\n\nexport default SelectPlan;\n","import React from 'react';\nimport produce from 'immer';\nimport { Link } from 'react-router-dom';\n\nimport type { IProps, IState } from './types';\n\nimport Input from '../../../../../../shared/design-system/components/input';\nimport Button from '../../../../../../shared/design-system/ui/button';\nimport { SHLogoDark } from '../../../../../../shared/svg';\n\nimport { validate } from '../../../login-form/validator';\nimport {\n getIsRequestPending,\n executeOnRequestStatusWithPrevStatusCheck,\n} from '../../../../../../shared/utils';\n\nclass ResetPasswordForm extends React.Component {\n constructor(props) {\n super(props);\n\n this.state = {\n values: {\n email: '',\n },\n errors: {\n email: '',\n },\n dirty: {\n email: false,\n },\n };\n\n this.onInputChange = this.onInputChange.bind(this);\n this.onInputBlur = this.onInputBlur.bind(this);\n this.onFormSubmit = this.onFormSubmit.bind(this);\n this.hasErrors = this.hasErrors.bind(this);\n }\n\n componentDidUpdate(prevProps: Readonly) {\n const {\n values: { email },\n } = this.state;\n const { resetPasswordStatus, setEmail, showSuccessComponent } = this.props;\n\n executeOnRequestStatusWithPrevStatusCheck({\n status: resetPasswordStatus,\n prevStatus: prevProps.resetPasswordStatus,\n onSuccess: () => {\n setEmail(email);\n showSuccessComponent();\n },\n });\n }\n\n componentWillUnmount() {\n const { hideError } = this.props;\n hideError?.();\n }\n\n onInputChange(value: string, e: React.ChangeEvent) {\n const { name } = e.target;\n this.setState(\n produce((draft) => {\n draft.values[name] = value;\n draft.dirty[name] = true;\n }),\n );\n }\n\n onInputBlur(e) {\n const { name } = e.target;\n this.setState(\n produce((draft) => {\n if (draft.dirty[name]) {\n draft.errors[name] = validate(name, draft.values[name]);\n }\n }),\n );\n }\n\n onFormSubmit(e) {\n e.preventDefault();\n\n const { dirty, errors, values } = this.state;\n const { sendResetPasswordRequest } = this.props;\n\n const dirtyRef = { ...dirty };\n const dirtyKeys = Object.keys(dirtyRef);\n\n dirtyKeys.forEach((key) => {\n dirtyRef[key] = true;\n });\n\n const errorsRef = { ...errors };\n const errorsKeys = Object.keys(errorsRef);\n let isError = false;\n\n errorsKeys.forEach((key) => {\n const error = validate(key, values[key]);\n\n errorsRef[key] = error;\n isError = isError || !!error;\n });\n\n this.setState({ errors: errorsRef, dirty: dirtyRef });\n\n if (isError) {\n return;\n }\n\n const { email } = values;\n sendResetPasswordRequest(email);\n }\n\n hasErrors() {\n const { errors, dirty } = this.state;\n\n let isError = false;\n\n Object.keys(errors).forEach((key) => {\n if (errors[key] !== '' || !dirty[key]) {\n isError = true;\n }\n });\n\n return isError;\n }\n\n render() {\n const { values, errors } = this.state;\n const {\n resetPasswordStatus,\n resetPasswordError,\n resetPasswordShowError,\n } = this.props;\n\n const isResetPasswordBtnLoading = getIsRequestPending(resetPasswordStatus);\n const isResetPasswordBtnDisabled =\n isResetPasswordBtnLoading || this.hasErrors();\n\n return (\n
    \n
    \n
    \n \n
    \n

    Reset your password

    \n

    \n Enter the email address associated with your account, and we’ll send\n you instructions to reset your password.\n

    \n\n \n
    \n
    \n \n
    \n
    \n\n \n Reset Password\n \n \n\n
    \n

    \n \n Return to Log in!\n \n

    \n
    \n
    \n
    \n );\n }\n}\n\nexport default ResetPasswordForm;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps, withRouter } from 'react-router';\nimport { RootState } from '../../../../../../store/root-reducer';\nimport { resetPasswordRequest, hideError } from '../../reset-password-slice';\nimport ResetPasswordForm from './reset-password-form';\n\nconst mapStateToProps = (state: RootState) => ({\n resetPasswordStatus: state.resetPassword.status,\n resetPasswordError: state.resetPassword.error,\n resetPasswordShowError: state.resetPassword.showError,\n});\n\nconst mapDispatchToProps = {\n hideError: () => hideError(),\n sendResetPasswordRequest: (email: string) => resetPasswordRequest({ email }),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps &\n RouteComponentProps & {\n showSuccessComponent: () => void;\n setEmail: (email: string) => void;\n };\n\nexport default withRouter(connector(ResetPasswordForm));\n","import React from 'react';\n\nimport { IProps } from './types';\nimport { BrokenLink } from '../../../../../../shared/svg';\nimport { accessibleOnClick } from '../../../../../../shared/utils/accessible-on-click';\n\nconst ResetPasswordSuccess: React.FC = ({\n showSuccessComponent,\n onResendVerificationEmail,\n}) => (\n
    \n
    \n
    \n \n
    \n

    \n We’ve sent you an email containing further instructions for resetting\n your password.\n

    \n

    \n If you haven’t received an email in 5 minutes, check your spam folder,{' '}\n \n resend email\n \n , or{' '}\n \n try again\n \n .\n

    \n
    \n
    \n);\n\nexport default ResetPasswordSuccess;\n","import React from 'react';\n\nimport { IProps, IState } from './types';\nimport { SHLogoDark } from '../../../../shared/svg';\n\nimport toaster, { Theme } from '../../../../shared/toaster';\nimport ResetPasswordForm from './components/reset-password-form';\nimport ResetPasswordSuccess from './components/reset-password-success';\nimport TestimonialsCarousel from '../../../../shared/components/testimonials-carousel';\nimport {\n executeOnErrorWithErrorCheck,\n executeOnRequestStatusWithPrevStatusCheck,\n} from '../../../../shared/utils';\n\nclass ResetPassword extends React.Component {\n constructor(props) {\n super(props);\n\n this.state = {\n showSuccessComponent: false,\n email: '',\n };\n\n this.setEmail = this.setEmail.bind(this);\n this.showSuccessComponent = this.showSuccessComponent.bind(this);\n this.onResendVerificationEmail = this.onResendVerificationEmail.bind(this);\n }\n\n componentDidUpdate(prevProps: Readonly): void {\n const { showSuccessComponent } = this.state;\n const { resetPasswordStatus, resetPasswordError } = this.props;\n\n executeOnRequestStatusWithPrevStatusCheck({\n status: resetPasswordStatus,\n prevStatus: prevProps.resetPasswordStatus,\n onSuccess: () => {\n if (showSuccessComponent) {\n toaster.success('Email sent successfully.', {\n theme: Theme.New,\n });\n }\n },\n onFailed: () => {\n executeOnErrorWithErrorCheck({\n error: resetPasswordError,\n onError: () => {\n toaster.error(resetPasswordError.message, {\n theme: Theme.New,\n });\n },\n });\n },\n });\n }\n\n onResendVerificationEmail() {\n const { email } = this.state;\n const { sendResetPasswordRequest } = this.props;\n sendResetPasswordRequest(email);\n }\n\n setEmail(email: string) {\n this.setState({ email });\n }\n\n showSuccessComponent() {\n const { showSuccessComponent } = this.state;\n this.setState({ showSuccessComponent: !showSuccessComponent });\n }\n\n render() {\n const { showSuccessComponent } = this.state;\n\n return (\n <>\n
    \n \n \n

    \n ©{`${new Date().getFullYear()} Saleshandy`}\n

    \n
    \n {showSuccessComponent ? (\n \n ) : (\n \n )}\n \n );\n }\n}\n\nexport default ResetPassword;\n","import { ConnectedProps, connect } from 'react-redux';\nimport { RouteComponentProps, withRouter } from 'react-router';\nimport { RootState } from '../../../../store/root-reducer';\nimport ResetPassword from './reset-password';\nimport { resetPasswordRequest } from './extra-actions';\n\nconst mapStateToProps = (state: RootState) => ({\n resetPasswordStatus: state.resetPassword.status,\n resetPasswordError: state.resetPassword.error,\n});\n\nconst mapDispatchToProps = {\n sendResetPasswordRequest: (email: string) => resetPasswordRequest({ email }),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & RouteComponentProps;\n\nexport default withRouter(connector(ResetPassword));\n","/* eslint-disable consistent-return */\n/* eslint-disable class-methods-use-this */\nimport React from 'react';\nimport produce from 'immer';\nimport { Link } from 'react-router-dom';\nimport { SkeletonLoading } from '@saleshandy/design-system';\n\nimport { Spinner } from 'reactstrap';\nimport { ChevronLeft } from '@saleshandy/icons';\nimport type { IProps, IState } from './types';\n\nimport Input from '../../../../shared/design-system/components/input';\nimport Button from '../../../../shared/design-system/ui/button';\nimport { SHLogoDark } from '../../../../shared/svg';\n\nimport {\n executeOnRequestStatusWithPrevStatusCheck,\n getIsRequestPending,\n} from '../../../../shared/utils';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport toaster, { Theme } from '../../../../shared/toaster';\nimport { openChatSupport } from '../../../../shared/utils/open-chat-support';\nimport { isInternalUrl } from '../../../../shared/utils/is-internal-url';\nimport { saveToLocalStorage } from '../../../email-accounts/helpers/email-accounts-infra-local-storage';\nimport classNames from 'classnames';\n\nclass SSOLoginForm extends React.PureComponent {\n constructor(props: IProps) {\n super(props);\n\n this.state = {\n values: {\n email: '',\n },\n errors: {\n email: '',\n },\n dirty: {\n email: false,\n },\n };\n\n this.onInputChange = this.onInputChange.bind(this);\n this.onInputBlur = this.onInputBlur.bind(this);\n this.onFormSubmit = this.onFormSubmit.bind(this);\n this.hasErrors = this.hasErrors.bind(this);\n }\n\n componentDidMount() {\n const { history } = this.props;\n const { values } = this.state;\n\n const { search } = history.location;\n const userEmail = new URLSearchParams(search).get('userEmail');\n\n if (userEmail) {\n this.setState({ values: { ...values, email: userEmail } });\n }\n }\n\n componentDidUpdate(prevProps: Readonly) {\n const {\n ssoLoginRequestStatus,\n ssoLoginRequestError,\n redirectUrl,\n } = this.props;\n\n executeOnRequestStatusWithPrevStatusCheck({\n status: ssoLoginRequestStatus,\n prevStatus: prevProps.ssoLoginRequestStatus,\n onSuccess: () => {\n if (redirectUrl) {\n window.open(redirectUrl, '_self');\n }\n },\n onFailed: () => {\n if (ssoLoginRequestError?.message?.includes('support')) {\n toaster.error(\n
    \n Your account is suspended, to revoke this suspension feel free to\n reach out to{' '}\n openChatSupport()}\n className=\"font-bold red-txt-13 underline bg-transparent border-0 p-0 cursor-pointer\"\n >\n support\n \n
    ,\n {\n theme: Theme.New,\n showCloseIcon: true,\n delay: 1000000,\n },\n );\n }\n },\n });\n }\n\n componentWillUnmount() {\n const { hideError } = this.props;\n hideError?.();\n }\n\n onInputChange(value: string, e: React.ChangeEvent) {\n const { name } = e.target;\n this.setState(\n produce((draft) => {\n draft.values[name] = value;\n draft.dirty[name] = true;\n }),\n );\n }\n\n onInputBlur(e) {\n const { name } = e.target;\n this.setState(\n produce((draft) => {\n if (draft.dirty[name]) {\n draft.errors[name] = this.validate(name, draft.values[name]);\n }\n }),\n );\n }\n\n onFormSubmit(e) {\n e.preventDefault();\n\n const { dirty, errors, values } = this.state;\n const { sendSSOLoginRequest } = this.props;\n\n const dirtyRef = { ...dirty };\n const dirtyKeys = Object.keys(dirtyRef);\n\n dirtyKeys.forEach((key) => {\n dirtyRef[key] = true;\n });\n\n const errorsRef = { ...errors };\n const errorsKeys = Object.keys(errorsRef);\n let isError = false;\n\n errorsKeys.forEach((key) => {\n const error = this.validate(key, values[key]);\n\n errorsRef[key] = error;\n isError = isError || !!error;\n });\n\n this.setState({ errors: errorsRef, dirty: dirtyRef });\n\n if (isError) {\n return;\n }\n\n const { email } = values;\n sendSSOLoginRequest(email);\n }\n\n truncateWord = (word, maxLength) => {\n if (word?.length > maxLength) {\n return `${word.substring(0, maxLength)}...`;\n }\n return word;\n };\n\n validate(name: string, value: string): string {\n switch (name) {\n case 'email': {\n if (!value) {\n return 'Email is required';\n }\n\n const emailRegex = /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,}$/i;\n if (!emailRegex.test(value)) {\n return 'Please enter valid email address.';\n }\n\n return '';\n }\n default:\n return '';\n }\n };\n\n companyNameLoader(\n agencyLoading: boolean,\n isWhitelabel: boolean,\n companyName?: string,\n ) {\n if (agencyLoading) {\n return (\n
    \n \n
    \n );\n }\n\n if (isWhitelabel) {\n return (\n
    \n \n Login to {this.truncateWord(companyName || 'Saleshandy', 20)} with SSO\n \n
    \n );\n }\n\n return Login to Saleshandy with SSO;\n }\n\n clientLogoLoader(\n agencyLoading: boolean,\n isWhitelabel?: boolean,\n clientLogo?: string,\n ) {\n if (agencyLoading) {\n return (\n
    \n \n
    \n );\n }\n\n if (!isWhitelabel && !clientLogo) {\n return ;\n }\n\n if (isWhitelabel && clientLogo) {\n return \"logo\";\n }\n }\n\n hasErrors() {\n const { errors, dirty } = this.state;\n\n let isError = false;\n\n Object.keys(errors).forEach((key) => {\n if (errors[key] !== '' || !dirty[key]) {\n isError = true;\n }\n });\n\n return isError;\n }\n\n render() {\n const {\n ssoLoginRequestStatus,\n ssoLoginRequestMessage,\n ssoLoginRequestError,\n ssoLoginRequestShowError,\n agencyConfigRequestStatus,\n isWhitelabel,\n companyName,\n clientLogo,\n } = this.props;\n\n const { values, errors } = this.state;\n\n const isLoginBtnLoading = getIsRequestPending(ssoLoginRequestStatus);\n const isLoginBtnDisabled = isLoginBtnLoading || this.hasErrors();\n const isAgencyLoading =\n getIsRequestPending(agencyConfigRequestStatus) && !isInternalUrl();\n\n if (isAgencyLoading && !isWhitelabel) {\n return ;\n }\n\n const authWrapperClassName = classNames([\n 'auth-wrapper',\n {\n 'w-100 d-flex': isAgencyLoading || isWhitelabel,\n },\n ]); \n\n return (\n \n {isLoginBtnLoading ? (\n
    \n \n Just few seconds more...\n
    \n ) : (\n
    \n
    \n
    \n {this.clientLogoLoader(isAgencyLoading, isWhitelabel, clientLogo)}\n
    \n

    \n {this.companyNameLoader(\n isAgencyLoading,\n isWhitelabel,\n companyName,\n )}\n

    \n
    \n
    \n
    \n \n
    \n
    \n\n \n Login\n \n\n {ssoLoginRequestShowError && (\n
    \n
    \n {ssoLoginRequestError?.message || ssoLoginRequestMessage}\n
    \n
    \n )}\n \n
    \n
    \n

    \n \n \n Back\n \n

    \n
    \n
    \n )}\n
    \n );\n }\n}\n\nexport default SSOLoginForm;\n","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport { ssoLoginRequest } from './extra-actions';\n\ntype RequestState = {\n status: RequestStatus;\n message: string;\n error: any;\n showError?: boolean;\n};\n\ntype State = {\n ssoLoginRequest: RequestState;\n redirectUrl: string;\n};\n\nconst initialState: State = {\n ssoLoginRequest: {\n status: RequestStatus.Ideal,\n message: '',\n error: '',\n showError: false,\n },\n redirectUrl: '',\n};\n\nconst ssoLoginSlice = createSlice({\n name: 'ssoLogin',\n initialState,\n reducers: {\n hideError: (state) => {\n state.ssoLoginRequest.showError = false;\n },\n },\n extraReducers: (builder) => {\n builder.addCase(ssoLoginRequest.pending, (state) => {\n state.ssoLoginRequest.status = RequestStatus.Pending;\n state.ssoLoginRequest.showError = false;\n });\n builder.addCase(ssoLoginRequest.fulfilled, (state, action) => {\n state.ssoLoginRequest.status = RequestStatus.Succeeded;\n state.ssoLoginRequest.message = action.payload.message;\n state.redirectUrl = action.payload?.payload?.redirectUrl;\n });\n builder.addCase(ssoLoginRequest.rejected, (state, action) => {\n state.ssoLoginRequest.status = RequestStatus.Failed;\n state.ssoLoginRequest.error = action.payload;\n });\n },\n});\n\nexport const { hideError } = ssoLoginSlice.actions;\nexport default ssoLoginSlice.reducer;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps, withRouter } from 'react-router';\nimport { RootState } from '../../../../store/root-reducer';\nimport SSOLoginForm from './sso-login-form';\nimport { hideError } from '../sso-login/sso-login-slice';\nimport { ssoLoginRequest } from '../sso-login/extra-actions';\n\nconst mapStateToProps = (state: RootState) => ({\n ssoLoginRequestStatus: state.ssoLogin.ssoLoginRequest.status,\n ssoLoginRequestMessage: state.ssoLogin.ssoLoginRequest.message,\n ssoLoginRequestError: state.ssoLogin.ssoLoginRequest.error,\n ssoLoginRequestShowError: state.ssoLogin.ssoLoginRequest.showError,\n\n redirectUrl: state.ssoLogin.redirectUrl,\n\n agencyConfig: state.home.agencyConfig,\n\n isWhitelabel: !!state.home.agencyConfig?.clientBaseUrl,\n companyName: state.home.agencyConfig?.companyName,\n clientLogo: state.home.agencyConfig?.clientLogo,\n\n agencyConfigRequestStatus: state.home.getAgencyConfigRequest.status,\n});\n\nconst mapDispatchToProps = {\n hideError: () => hideError(),\n sendSSOLoginRequest: (email: string) => ssoLoginRequest({ email }),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & RouteComponentProps;\n\nexport default withRouter(connector(SSOLoginForm));\n","import React, { useEffect } from 'react';\nimport Form from '../sso-login-form';\nimport type { IProps } from './types';\nimport TestimonialsCarousel from '../../../../shared/components/testimonials-carousel';\nimport { SHLogoDark } from '../../../../shared/svg';\nimport { SHLogoTypography } from '../../../../shared/svg/sh-typography';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport { isInternalUrl } from '../../../../shared/utils/is-internal-url';\nimport HelmetIcon from '../../../../shared/components/helmet-icon';\n\nconst SSOLogin: React.FC = ({\n agencyConfig,\n agencyConfigRequestStatus,\n}) => {\n const isWhitelabel = !!agencyConfig?.clientBaseUrl;\n return (\n <>\n {agencyConfigRequestStatus === RequestStatus.Succeeded && (\n \n )}\n {(agencyConfigRequestStatus === RequestStatus.Pending &&\n !isInternalUrl()) ||\n isWhitelabel ? null : (\n
    \n
    \n \n
    \n \n
    \n
    \n\n \n

    \n ©{`${new Date().getFullYear()} Saleshandy`}\n

    \n
    \n )}\n
    \n \n );\n};\n\nexport default SSOLogin;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../store/root-reducer';\nimport SSOLogin from './sso-login';\nimport { RouteComponentProps, withRouter } from 'react-router';\n\nconst mapStateToProps = (state: RootState) => ({\n agencyConfig: state.home.agencyConfig,\n agencyConfigRequestStatus: state.home.getAgencyConfigRequest.status,\n});\n\nconst connector = connect(mapStateToProps);\n\nexport type IProps = ConnectedProps & RouteComponentProps;\n\nexport default withRouter(connector(SSOLogin));\n","// eslint-disable-next-line import/prefer-default-export\nexport enum ProspectContactInfoCategory {\n Work = 'work',\n Personal = 'personal',\n Other = 'other',\n}\n","import { ProspectContactInfoCategory } from './enum';\n\nexport const CONTACT_CATEGORY_OPTIONS = [\n {\n name: ProspectContactInfoCategory.Personal,\n key: ProspectContactInfoCategory.Personal,\n },\n {\n name: ProspectContactInfoCategory.Work,\n key: ProspectContactInfoCategory.Work,\n },\n {\n name: ProspectContactInfoCategory.Other,\n key: ProspectContactInfoCategory.Other,\n },\n];\n\nexport enum ContactType {\n Email = 'email',\n PhoneNumber = 'phonenumber',\n}\n","/* eslint-disable @typescript-eslint/no-shadow */\nimport React, { useState } from 'react';\nimport { AlertCircle, Trash } from '@saleshandy/icons';\nimport { useTranslation } from 'react-i18next';\nimport { useSelector } from 'react-redux';\nimport classNames from 'classnames';\nimport { capitalize } from '../../../../utils';\nimport Input from '../../input';\nimport { Placement } from '../../overlay';\nimport { OverlayTooltip } from '../../overlay/tooltip';\nimport Select from '../../select';\nimport DeleteCustomFieldModal from '../../../../../components/settings/components/custom-fields/components/delete-custom-field-modal';\nimport toaster from '../../../../toaster';\nimport ConfirmationModalV3 from '../confirmation-modal/confirmation-modal-v3';\nimport { CONTACT_CATEGORY_OPTIONS } from './types';\nimport { RootState } from '../../../../../store/root-reducer';\nimport { RequestStatus } from '../../../../enums/request-status';\nimport { FormMode } from '../../organisms/form/types';\nimport Tag from '../../tag';\nimport { Variant } from '../../tag/enums';\nimport Icon from '../icon';\n\nexport default function IndividualEmailField({\n email,\n emails,\n setEmails,\n index,\n handleBlur,\n errors,\n touched,\n setFieldTouched,\n formMode,\n primaryEmailChangeInProspectRequest,\n deleteEmailFromProspectRequest,\n selectedProspectId,\n setIsExpandedContacts,\n}) {\n const { t } = useTranslation();\n const [isShowDeleteModal, setIsShowDeleteModal] = useState(false);\n const [isShowConfirmationModal, setIsShowConfirmationModal] = useState(false);\n const changePrimaryEmailInProspectRequest = useSelector(\n (state: RootState) => state?.prospect?.changePrimaryEmailInProspectRequest,\n );\n\n const handleDeleteClick = (_index) => {\n const deleteEmail = emails.find((_, i) => i === _index);\n deleteEmailFromProspectRequest(deleteEmail?.id, selectedProspectId);\n };\n\n const handleEmailChange = (index: number, newEmail: any) => {\n const updatedEmails = emails.map((email, i) =>\n i === index ? { ...email, email: newEmail } : email,\n );\n\n setEmails(updatedEmails);\n };\n\n const handleEmailTypeChange = (index, emailType: any) => {\n const updatedEmails = emails.map((email, i) =>\n i === index ? { ...email, emailType } : email,\n );\n\n setEmails(updatedEmails);\n };\n\n const handleIsPrimaryChange = (index) => {\n const updatedEmails = emails.map((email, i) =>\n i === index\n ? { ...email, isPrimary: true }\n : { ...email, isPrimary: false },\n );\n const emailTobeChange = emails.find((_email, i) => index === i);\n updatedEmails.sort((a: any, b: any) => b.isPrimary - a.isPrimary);\n setEmails(updatedEmails);\n primaryEmailChangeInProspectRequest(\n emailTobeChange?.id,\n selectedProspectId,\n );\n };\n\n const AddProspectHandleIsPrimaryChange = (index) => {\n const updatedEmails = emails.map((email, i) =>\n i === index\n ? { ...email, isPrimary: true }\n : { ...email, isPrimary: false },\n );\n updatedEmails.sort((a: any, b: any) => b.isPrimary - a.isPrimary);\n setEmails(updatedEmails);\n };\n\n const AddProspectHandleDeleteClick = (_index) => {\n const updatedEmails = emails.filter((_, i) => i !== _index);\n\n setEmails(updatedEmails);\n };\n\n const labelClass = classNames([\n 'bs-radio-wrapper',\n {\n 'bs-radio-wrapper-disabled': false,\n },\n ]);\n\n const spanClass = classNames([\n 'bs-radio',\n {\n 'bs-radio-checked': email?.isPrimary,\n },\n ]);\n\n const iconConfigs = {\n skip: {\n identifier: 'circle-check',\n toolTipText: 'Unverified',\n className: 'gray-txt-23',\n },\n valid: {\n identifier: 'circle-check',\n toolTipText: 'Valid',\n className: 'green-txt-14',\n },\n risky: {\n identifier: 'danger',\n toolTipText: 'Risky',\n className: 'orange-txt-6',\n },\n bad: {\n identifier: 'warning',\n toolTipText: 'Bad',\n className: 'red-txt-6',\n },\n unknown: {\n identifier: 'danger',\n toolTipText: 'Risky',\n className: 'red-txt-6',\n },\n inProgress: {\n identifier: 'rotate-clockwise',\n toolTipText: 'In Progress',\n className: 'gray-txt-23',\n },\n };\n\n const iconStyle = { marginLeft: '.25rem', marginTop: '.15rem' };\n\n const iconConfig = iconConfigs[email?.emailVerificationStatus];\n const getVerificationIcon = () => (\n \n \n \n );\n\n const input = (\n handleEmailChange(index, e)}\n onBlur={() => {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n handleBlur;\n setFieldTouched(`email${index}`);\n }}\n variant={\n errors[`email${index}`] &&\n touched[`email${index}`] &&\n Input.Variant.Error\n }\n />\n );\n\n return (\n
    \n
    \n {/* eslint-disable-next-line no-nested-ternary */}\n {email?.id ? (\n \n \n \n ) : formMode !== FormMode.Edit &&\n (email?.isPrimary ||\n !(email.email === '' || errors[`email${index}`])) ? (\n \n \n \n ) : (\n \n )}\n\n {email?.id ? (\n \n {input}\n \n ) : (\n input\n )}\n\n {iconConfig && getVerificationIcon()}\n {email?.isBounced && (\n \n \n \n \n \n )}\n
    \n
    \n \n options={CONTACT_CATEGORY_OPTIONS}\n optionFilterProp=\"name\"\n placeholder=\"Select Type\"\n selectedOptionKey={email?.emailType}\n optionRenderer={(option) => {capitalize(option?.name)}}\n showOptionsSeparator={true}\n onChange={([e]) => {\n handleEmailTypeChange(index, e?.name);\n setFieldTouched(`email${index}`);\n }}\n selectedOptionRenderer={([option]) => (\n {capitalize(option?.name)}\n )}\n />\n\n \n \n {\n if (!email?.isPrimary) {\n if (email?.id) {\n setIsShowDeleteModal(true);\n return;\n }\n\n setEmails(\n emails?.filter(\n (email, indexTobeDelete) => index !== indexTobeDelete,\n ),\n );\n }\n }}\n />\n \n \n
    \n \n {errors[`email${index}`] &&\n touched[`email${index}`] &&\n errors[`email${index}`]}\n \n {isShowDeleteModal && (\n setIsShowDeleteModal(false)}\n className=\"delete-modal prospect-delete-modal\"\n showCloseIcon={false}\n onSubmit={() => {\n if (!email.isPrimary) {\n if (formMode === FormMode.Edit) {\n handleDeleteClick(index);\n } else {\n AddProspectHandleDeleteClick(index);\n toaster.success('Email address deleted successfully');\n }\n setIsShowDeleteModal(false);\n }\n }}\n isRequestPending={false}\n />\n )}\n {isShowConfirmationModal && (\n setIsShowConfirmationModal(false)}\n onSubmit={() => {\n if (!email.isPrimary && formMode === FormMode.Edit) {\n handleIsPrimaryChange(index);\n setIsShowConfirmationModal(false);\n changePrimaryEmailInProspectRequest?.status ===\n RequestStatus.Succeeded &&\n toaster.success('Primary email address updated successfully');\n } else {\n AddProspectHandleIsPrimaryChange(index);\n setIsShowConfirmationModal(false);\n toaster.success('Primary email address updated successfully');\n }\n }}\n title={t('messages.confirmation_mail_modal_title')}\n content={t('messages.confirmation_mail_modal_content')}\n className=\"confirmation-modal-v3 confirmation-modal\"\n cancelButtonText=\"cancel\"\n icon={}\n showCloseIcon={false}\n hideTitleIcon\n />\n )}\n
    \n );\n}\n","/* eslint-disable @typescript-eslint/no-shadow */\nimport React, { useState, useEffect } from 'react';\nimport { AlertCircle, Trash } from '@saleshandy/icons';\nimport { useTranslation } from 'react-i18next';\nimport { capitalize } from '../../../../utils';\nimport Input from '../../input';\nimport { Placement } from '../../overlay';\nimport { OverlayTooltip } from '../../overlay/tooltip';\nimport Select from '../../select';\nimport DeleteCustomFieldModal from '../../../../../components/settings/components/custom-fields/components/delete-custom-field-modal';\nimport toaster from '../../../../toaster';\nimport ConfirmationModalV3 from '../confirmation-modal/confirmation-modal-v3';\nimport { CONTACT_CATEGORY_OPTIONS } from './types';\nimport { FormMode } from '../../organisms/form/types';\n\nexport default function IndividualPhoneNumberField({\n phonenumber,\n PhoneNumbers,\n setPhoneNumbers,\n index,\n handleBlur,\n errors,\n touched,\n setFieldTouched,\n formMode,\n deletePhoneFromProspectRequest,\n selectedProspectId,\n setIsExpandedContacts,\n}) {\n const { t } = useTranslation();\n const [isShowDeleteModal, setIsShowDeleteModal] = useState(false);\n const [isShowConfirmationModal, setIsShowConfirmationModal] = useState(false);\n\n const handleDeleteClick = (_index) => {\n const deletePhone = PhoneNumbers.find((_, i) => i === _index);\n deletePhoneFromProspectRequest(deletePhone?.id, selectedProspectId);\n };\n\n const AddProspectHandleDeleteClick = (_index) => {\n const updatedPhoneNumbers = PhoneNumbers.filter((_, i) => i !== _index);\n\n setPhoneNumbers(updatedPhoneNumbers);\n };\n\n const handlePhoneNumberChange = (index, newEmail: any) => {\n const updatedPhoneNumbers = PhoneNumbers.map((phonenumber, i) =>\n i === index ? { ...phonenumber, phonenumber: newEmail } : phonenumber,\n );\n\n setPhoneNumbers(updatedPhoneNumbers);\n };\n\n const handlePhoneTypeChange = (index, phoneType: any) => {\n const updatedPhoneNumbers = PhoneNumbers.map((phonenumber, i) =>\n i === index ? { ...phonenumber, phoneType } : phonenumber,\n );\n\n setPhoneNumbers(updatedPhoneNumbers);\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n handleBlur;\n };\n\n const handleIsPrimaryChange = (index) => {\n const updatedPhoneNumbers = PhoneNumbers.map((phonenumber, i) =>\n i === index\n ? { ...phonenumber, isPrimary: true }\n : { ...phonenumber, isPrimary: false },\n );\n updatedPhoneNumbers.sort((a: any, b: any) => b.isPrimary - a.isPrimary);\n\n setPhoneNumbers(updatedPhoneNumbers);\n };\n\n useEffect(() => {\n if (PhoneNumbers?.length > 3) {\n setIsExpandedContacts(true);\n } else {\n setIsExpandedContacts(false);\n }\n }, [PhoneNumbers?.length]);\n\n const shouldPhoneRadioInputDisabled =\n !phonenumber?.isPrimary &&\n (phonenumber?.phonenumber === '' || errors[`phonenumber${index}`]);\n\n const radioInput = (\n setIsShowConfirmationModal(true)}\n />\n );\n\n return (\n
    \n
    \n {shouldPhoneRadioInputDisabled ? (\n radioInput\n ) : (\n \n {radioInput}\n \n )}\n handlePhoneNumberChange(index, e)}\n onBlur={() => {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n handleBlur;\n setFieldTouched(`phonenumber${index}`);\n }}\n variant={\n errors[`phonenumber${index}`] &&\n touched[`phonenumber${index}`] &&\n Input.Variant.Error\n }\n />\n
    \n
    \n \n options={CONTACT_CATEGORY_OPTIONS}\n optionFilterProp=\"name\"\n placeholder=\"Select Type\"\n selectedOptionKey={phonenumber.phoneType}\n optionRenderer={(option) => {capitalize(option?.name)}}\n showOptionsSeparator={true}\n onChange={([e]) => {\n handlePhoneTypeChange(index, e?.name);\n setFieldTouched(`phonenumber${index}`);\n }}\n selectedOptionRenderer={([option]) => (\n {capitalize(option?.name)}\n )}\n />\n\n \n \n {\n if (!phonenumber?.isPrimary) {\n if (phonenumber?.id) {\n setIsShowDeleteModal(true);\n return;\n }\n\n setPhoneNumbers(\n PhoneNumbers?.filter(\n (phone, indexTobeDelete) => index !== indexTobeDelete,\n ),\n );\n }\n }}\n />\n \n \n
    \n \n {errors[`phonenumber${index}`] &&\n touched[`phonenumber${index}`] &&\n errors[`phonenumber${index}`]}\n \n {isShowDeleteModal && (\n setIsShowDeleteModal(false)}\n className=\"delete-modal prospect-delete-modal\"\n showCloseIcon={false}\n onSubmit={() => {\n if (!phonenumber.isPrimary) {\n if (formMode === FormMode.Edit) {\n handleDeleteClick(index);\n } else {\n AddProspectHandleDeleteClick(index);\n toaster.success('Phone number deleted successfully');\n }\n setIsShowDeleteModal(false);\n }\n }}\n isRequestPending={false}\n />\n )}\n {isShowConfirmationModal && (\n setIsShowConfirmationModal(false)}\n onSubmit={() => {\n if (!phonenumber.isPrimary) {\n handleIsPrimaryChange(index);\n setIsShowConfirmationModal(false);\n toaster.success('Primary phone number updated successfully');\n }\n }}\n title={t('messages.confirmation_phone_number_modal_title')}\n content={t('messages.confirmation_phone_number_modal_content')}\n className=\"confirmation-modal-v3 confirmation-modal\"\n cancelButtonText=\"cancel\"\n showCloseIcon={false}\n icon={}\n hideTitleIcon\n />\n )}\n
    \n );\n}\n","/* eslint-disable jsx-a11y/label-has-associated-control */\nimport React, { useEffect, useState } from 'react';\nimport { ChevronDown, ChevronUp } from '@saleshandy/icons';\nimport { Button } from 'react-bootstrap';\nimport IndividualEmailField from './individual-email-field';\nimport { ProspectContactInfoCategory } from './enum';\nimport { FormMode } from '../../organisms/form/types';\nimport { ContactType } from './types';\nimport IndividualPhoneNumberField from './individual-phone-field';\n\nexport default function ProspectContactFieldComponent({\n setFieldValue,\n values,\n handleBlur,\n errors,\n touched,\n setFieldTouched,\n formMode,\n fieldName,\n primaryEmailChangeInProspectRequest,\n deleteEmailFromProspectRequest,\n deletePhoneFromProspectRequest,\n selectedProspectId,\n}) {\n const [contacts, setContacts] = useState(values);\n const [isExpandedContacts, setIsExpandedContacts] = useState(false);\n const [visibleContacts, setVisibleContacts] = useState(3);\n let sortedData = [];\n\n const addContactHandler = () => {\n if (fieldName === ContactType.Email) {\n const newContact = {\n email: '',\n emailType: ProspectContactInfoCategory.Work,\n isPrimary: false,\n };\n\n setContacts([...contacts, newContact]);\n } else {\n const newContact = {\n phonenumber: '',\n phoneType: ProspectContactInfoCategory.Work,\n isPrimary: contacts?.length === 0,\n };\n\n setContacts([...contacts, newContact]);\n }\n if (\n contacts.length >= 3 &&\n formMode === FormMode.Edit &&\n !isExpandedContacts\n ) {\n setVisibleContacts(contacts.length + 1);\n setIsExpandedContacts(true);\n }\n if (isExpandedContacts) {\n setVisibleContacts(visibleContacts + 1);\n }\n };\n\n const handleMoreVisibleContacts = () => {\n setVisibleContacts(contacts.length);\n setIsExpandedContacts(true);\n };\n\n const handleLessVisibleContacts = () => {\n setVisibleContacts(3);\n setIsExpandedContacts(false);\n };\n\n useEffect(() => {\n if (fieldName === 'email') {\n setFieldValue('email', contacts);\n } else {\n setFieldValue('phonenumber', contacts);\n }\n if (formMode === FormMode.Add) {\n setVisibleContacts(contacts.length);\n }\n if(contacts?.length <= 3){\n setIsExpandedContacts(false);\n }\n }, [contacts]);\n\n if(ContactType.Email === \"email\"){\n sortedData = contacts.filter((item) => item.isPrimary).concat(\n contacts.filter((item) => !item.isPrimary)\n );\n }\n\n useEffect(() => {\n setContacts(sortedData);\n }, [sortedData?.length])\n \n return (\n
    \n \n {contacts?.slice(0, visibleContacts).map((email, index) => (\n
    \n {fieldName === ContactType.Email && (\n \n )}\n {fieldName === ContactType.PhoneNumber && (\n \n )}\n
    \n ))}\n
    \n addContactHandler()}\n >\n + Add {fieldName === ContactType.Email ? 'Email' : 'Phone Number'}\n \n {formMode === FormMode.Edit && (\n
    \n {!isExpandedContacts && contacts.length > 3 && (\n // eslint-disable-next-line\n handleMoreVisibleContacts()}\n >\n +{contacts?.length - 3} more{' '}\n \n
    \n )}\n {isExpandedContacts && (\n // eslint-disable-next-line\n handleLessVisibleContacts()}\n >\n See less \n
    \n )}\n
    \n )}\n \n \n );\n}\n","import React from 'react';\nimport { FormMode } from '../../organisms/form/types';\n\nexport default function ProspectLabelField({ index, formMode }) {\n return (\n <>\n {index === 0 && (\n
    \n Contact Information\n
    \n )}\n {index === 4 && (\n
    \n Work Information\n
    \n )}\n {index === 8 && (\n
    \n Social Profiles\n
    \n )}\n {index === 12 && (\n
    \n Location Information\n
    \n )}\n {index === 15 && (\n
    \n Company Information\n
    \n )}\n {formMode === FormMode.Add && index === 23 && (\n
    \n Custom Fields\n
    \n )}\n {formMode === FormMode.Edit && index === 24 && (\n
    \n Custom Fields\n
    \n )}\n \n );\n}\n","import React from 'react';\nimport validator from 'validator';\nimport { isEmpty } from 'lodash';\nimport { Formik, Form, FormikProps } from 'formik';\nimport { withTranslation } from 'react-i18next';\nimport Input from '../../input';\nimport Button from '../../atoms/button';\nimport { FormField, InputValidationType, IProps } from './types';\nimport ProspectContactFieldComponent from '../../atoms/prospect-contact-field/prospect-contact-field';\nimport { ProspectContactInfoCategory } from '../../atoms/prospect-contact-field/enum';\nimport ProspectLabelField from '../../atoms/prospect-contact-field/prospect-label-field';\nimport InputLabel from '../../input/input-label';\nimport InputNumber from '../../input-number';\n\nclass CustomForm extends React.Component {\n private formRef = React.createRef>();\n\n constructor(props: IProps) {\n super(props);\n this.generateInputFields = this.generateInputFields.bind(this);\n this.getNameKey = this.getNameKey.bind(this);\n }\n\n generateValidationObject = () => {\n const { fields } = this.props;\n return fields\n .filter((field) => field.validator)\n .reduce(\n (obj, item) => Object.assign(obj, { [item.name]: item.validator }),\n {},\n );\n };\n\n isValidPhoneNumber = (phone: string) => {\n const phoneRegex = /^(?:\\+?[0-9](?:[0-9().\\-\\s]{6,30})?|[0-9(][0-9().\\-\\s]{5,13}[0-9])$/;\n const digitLengthRegex = /^(?:\\D*\\d\\D*){7,15}$/;\n\n if (phoneRegex.test(phone) && digitLengthRegex.test(phone)) {\n return true;\n }\n return false;\n };\n\n validateMaxCharLimit = (value, limit = 1000) =>\n value.toString().length <= limit;\n\n getNameKey = (str) => str.toString().toLowerCase().split(' ').join('-');\n\n truncateText = (text: string, maxLength: number): string => {\n if (text.length > maxLength) {\n // Truncate the text and add \"...\" at the end\n return `${text.substring(0, maxLength)}...`;\n }\n\n // Text length is within the limit, no need to truncate\n return text;\n };\n\n generateInputFields(\n values,\n handleChange,\n errors,\n touched,\n handleBlur,\n setFieldValue,\n setFieldTouched,\n primaryEmailChangeInProspectRequest,\n deleteEmailFromProspectRequest,\n deletePhoneFromProspectRequest,\n selectedProspectId,\n ) {\n const { fields, formMode } = this.props;\n const nonLongTextFields = fields.filter(\n (field) => field.component !== 'long-text',\n );\n const longTextFields = fields.filter(\n (field) => field.component === 'long-text',\n );\n\n const normalFields = nonLongTextFields.map(\n (field: FormField, index: number) => {\n if (typeof field.component === 'string' && field.name === 'email') {\n return (\n \n );\n }\n if (\n typeof field.component === 'string' &&\n field.name === 'phonenumber'\n ) {\n return (\n \n );\n }\n if (typeof field.component === 'string') {\n switch (field.component) {\n case 'text':\n return (\n \n \n handleChange(e)}\n type={field.component}\n disabled={!!field.disabled}\n caption={\n \n {errors[field.name] &&\n touched[field.name] &&\n errors[field.name]}\n \n }\n />\n \n );\n\n case 'number':\n return (\n \n \n handleChange(e)}\n caption={\n \n {errors[field.name] &&\n touched[field.name] &&\n errors[field.name]}\n \n }\n />\n \n );\n\n default:\n break;\n }\n }\n return field.component instanceof React.Component && field.component;\n },\n );\n\n const longTextFieldsJSX = longTextFields.map((field: FormField) => (\n
    \n
    \n
    \n \n
    \n setFieldValue(field.name, e.target.value)}\n rows={2}\n />\n {errors[field.name] && touched[field.name] && (\n
    \n {errors[field.name]}\n
    \n )}\n
    \n
    \n ));\n\n return [...normalFields, ...longTextFieldsJSX];\n }\n\n render() {\n const {\n fields,\n formBodyClasses,\n formContainerClasses,\n onSubmit,\n onCancel,\n buttonClassName,\n submitStatus,\n buttonTitle,\n primaryEmailChangeInProspectRequest,\n deleteEmailFromProspectRequest,\n deletePhoneFromProspectRequest,\n t,\n } = this.props;\n const validationObject = this.generateValidationObject();\n if (!fields) {\n return null;\n }\n /* eslint-disable */\n const initialValues: any = fields\n .map((field: any) =>\n field.value\n ? { [field.name]: field.value }\n : field.name === 'phonenumber'\n ? { [field.name]: [] }\n : field.name === 'email'\n ? {\n [field.name]: [\n {\n email: '',\n emailType: ProspectContactInfoCategory.Work,\n isPrimary: true,\n },\n ],\n }\n : { [field.name]: '' },\n )\n .reduce((acc, field) => ({ ...acc, ...field }));\n /* eslint-enable */\n\n return (\n {\n const errors = {};\n const validationObjectKeys = Object.keys(validationObject);\n validationObjectKeys.forEach((key) => {\n if (validationObject[key] === InputValidationType.isEmail) {\n values.email.forEach((v, _index) => {\n if (!validator[validationObject[key]](v.email)) {\n errors[`email${_index}`] = 'Enter a valid email address';\n }\n });\n }\n if (validationObject[key] === InputValidationType.isMobilePhone) {\n values.phonenumber.forEach((v, _index) => {\n if (!this.isValidPhoneNumber(v.phonenumber)) {\n errors[`phonenumber${_index}`] = 'Enter a valid phone number';\n }\n });\n }\n if (validationObject[key] === InputValidationType.MaxCharLimit) {\n const fieldDef = fields.find((field) => field.name === key);\n const maxLimit =\n fieldDef && fieldDef.component === 'long-text' ? 10000 : 1000;\n if (!this.validateMaxCharLimit(values[key], maxLimit)) {\n errors[key] = `Characters limit exceeds ${maxLimit}`;\n }\n }\n });\n return errors;\n }}\n validateOnBlur\n initialValues={initialValues}\n onSubmit={onSubmit}\n >\n {({\n values,\n handleChange,\n errors,\n touched,\n dirty,\n handleBlur,\n setFieldValue,\n setFieldTouched,\n }) => (\n \n
    \n
    \n {this.generateInputFields(\n values,\n handleChange,\n errors,\n touched,\n handleBlur,\n setFieldValue,\n setFieldTouched,\n primaryEmailChangeInProspectRequest,\n deleteEmailFromProspectRequest,\n deletePhoneFromProspectRequest,\n this.props?.selectedProspectId,\n )}\n
    \n
    \n
    \n \n Cancel\n \n \n {buttonTitle || t('labels.save')}\n \n
    \n \n )}\n \n );\n }\n}\n\nexport default withTranslation()(CustomForm);\n","/* eslint-disable consistent-return */\n/* eslint-disable class-methods-use-this */\nimport React from 'react';\nimport produce from 'immer';\nimport { Link } from 'react-router-dom';\nimport { SkeletonLoading } from '@saleshandy/design-system';\n\nimport { validate } from './validator';\nimport type { IProps, IState } from './types';\n\nimport Input from '../../../../shared/design-system/components/input';\nimport Button from '../../../../shared/design-system/ui/button';\nimport { SHLogoDark } from '../../../../shared/svg';\n\nimport {\n getIsRequestPending,\n initializeThirdPartyIntegrations,\n executeOnRequestStatusWithPrevStatusCheck,\n AuthHelper,\n initializeSentryIntegrations,\n redirectWithoutRefresh,\n} from '../../../../shared/utils';\nimport toaster, { Theme } from '../../../../shared/toaster';\nimport { openChatSupport } from '../../../../shared/utils/open-chat-support';\nimport { isInternalUrl } from '../../../../shared/utils/is-internal-url';\nimport OAuthButtons from '../oauth-buttons';\nimport { ActionForAuthentication } from '../../types';\n\nclass LoginForm extends React.PureComponent {\n constructor(props: IProps) {\n super(props);\n\n this.state = {\n values: {\n email: '',\n password: '',\n },\n errors: {\n email: '',\n password: '',\n },\n dirty: {\n email: false,\n password: false,\n },\n showPassword: false,\n };\n\n this.onInputChange = this.onInputChange.bind(this);\n this.onInputBlur = this.onInputBlur.bind(this);\n this.onPasswordVisibilityChange = this.onPasswordVisibilityChange.bind(\n this,\n );\n this.onFormSubmit = this.onFormSubmit.bind(this);\n this.hasErrors = this.hasErrors.bind(this);\n }\n\n componentDidMount() {\n const { history, setIsRedirectedFromAgency } = this.props;\n const { values } = this.state;\n\n const { search } = history.location;\n const userEmail = new URLSearchParams(search).get('userEmail');\n\n if (userEmail !== '') {\n this.setState({ values: { ...values, email: userEmail } });\n }\n\n setIsRedirectedFromAgency(false);\n }\n\n componentDidUpdate(prevProps: Readonly) {\n const {\n loginRequestStatus,\n token,\n trackingId,\n firstName,\n lastName,\n email,\n agencyConfig,\n loginRequestError,\n mfaChannel,\n } = this.props;\n\n executeOnRequestStatusWithPrevStatusCheck({\n status: loginRequestStatus,\n prevStatus: prevProps.loginRequestStatus,\n onSuccess: () => {\n if (mfaChannel) {\n // Redirect to otp screen\n redirectWithoutRefresh('/mfa-verify');\n return;\n }\n if (token) {\n AuthHelper.login({ token });\n\n initializeThirdPartyIntegrations({\n trackingId,\n showChatSupport: agencyConfig?.showChatSupport,\n firstName,\n lastName,\n email,\n });\n }\n initializeSentryIntegrations(email);\n },\n onFailed: () => {\n if (loginRequestError?.message?.includes('support')) {\n toaster.error(\n
    \n Your account is suspended, to revoke this suspension feel free to\n reach out to{' '}\n {\n e.preventDefault();\n openChatSupport();\n }}\n >\n \n support\n \n \n
    ,\n {\n theme: Theme.New,\n showCloseIcon: true,\n delay: 1000000,\n },\n );\n }\n },\n });\n }\n\n componentWillUnmount() {\n const { hideError } = this.props;\n hideError?.();\n }\n\n onInputChange(value: string, e: React.ChangeEvent) {\n const { name } = e.target;\n this.setState(\n produce((draft) => {\n draft.values[name] = value;\n draft.dirty[name] = true;\n }),\n );\n }\n\n onInputBlur(e) {\n const { name } = e.target;\n this.setState(\n produce((draft) => {\n if (draft.dirty[name]) {\n draft.errors[name] = validate(name, draft.values[name]);\n }\n }),\n );\n }\n\n onPasswordVisibilityChange() {\n const { showPassword } = this.state;\n\n this.setState({ showPassword: !showPassword });\n }\n\n onFormSubmit(e) {\n e.preventDefault();\n\n const { dirty, errors, values } = this.state;\n const { sendLoginRequest } = this.props;\n\n const dirtyRef = { ...dirty };\n const dirtyKeys = Object.keys(dirtyRef);\n\n dirtyKeys.forEach((key) => {\n dirtyRef[key] = true;\n });\n\n const errorsRef = { ...errors };\n const errorsKeys = Object.keys(errorsRef);\n let isError = false;\n\n errorsKeys.forEach((key) => {\n const error = validate(key, values[key]);\n\n errorsRef[key] = error;\n isError = isError || !!error;\n });\n\n this.setState({ errors: errorsRef, dirty: dirtyRef });\n\n if (isError) {\n return;\n }\n\n const { email, password } = values;\n sendLoginRequest(email, password);\n }\n\n // eslint-disable-next-line react/sort-comp\n hasErrors() {\n const { errors, dirty } = this.state;\n\n let isError = false;\n\n Object.keys(errors).forEach((key) => {\n if (errors[key] !== '' || !dirty[key]) {\n isError = true;\n }\n });\n\n return isError;\n }\n\n truncateWord = (word, maxLength) => {\n if (word?.length > maxLength) {\n return `${word.substring(0, maxLength)}...`;\n }\n return word;\n };\n\n companyNameLoader(\n agencyLoading: boolean,\n isWhitelabel: boolean,\n companyName?: string,\n ) {\n if (agencyLoading) {\n return (\n
    \n \n
    \n );\n }\n\n if (isWhitelabel) {\n return (\n
    \n \n Welcome Back to {this.truncateWord(companyName || 'Saleshandy', 20)}\n \n
    \n );\n }\n\n return Welcome Back to Saleshandy;\n }\n\n clientLogoLoader(\n agencyLoading: boolean,\n isWhitelabel?: boolean,\n clientLogo?: string,\n ) {\n if (agencyLoading) {\n return (\n
    \n \n
    \n );\n }\n\n if (!isWhitelabel && !clientLogo) {\n return ;\n }\n\n if (isWhitelabel && clientLogo) {\n return \"logo\";\n }\n }\n\n render() {\n const { values, errors, showPassword } = this.state;\n const {\n loginRequestStatus,\n loginRequestError,\n loginRequestShowError,\n isWhitelabel,\n companyName,\n agencyConfigRequestStatus,\n clientLogo,\n } = this.props;\n\n const isLoginBtnLoading = getIsRequestPending(loginRequestStatus);\n const isLoginBtnDisabled = isLoginBtnLoading || this.hasErrors();\n const isAgencyLoading =\n getIsRequestPending(agencyConfigRequestStatus) && !isInternalUrl();\n\n return (\n \n
    \n
    \n
    \n {this.clientLogoLoader(isAgencyLoading, isWhitelabel, clientLogo)}\n
    \n

    \n {this.companyNameLoader(\n isAgencyLoading,\n isWhitelabel,\n companyName,\n )}\n

    \n\n \n\n
    \n
    \n
    \n \n
    \n
    \n\n
    \n
    \n \n
    \n Forgot Password?\n
    \n
    \n
    \n\n \n Login\n \n \n
    \n\n
    \n
    \n

    \n Login with SSO\n

    \n
    \n
    \n\n {!isWhitelabel && (\n
    \n
    \n

    \n Don't have an account?{' '}\n \n Sign up!\n \n

    \n
    \n
    \n )}\n
    \n \n );\n }\n}\n\nexport default LoginForm;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps, withRouter } from 'react-router';\nimport { RootState } from '../../../../store/root-reducer';\nimport LoginForm from './login-form';\nimport {\n hideError,\n loginRequest,\n setIsRedirectedFromAgency,\n} from '../login/login-slice';\n\nconst mapStateToProps = (state: RootState) => ({\n loginRequestStatus: state.login.loginRequest.status,\n loginRequestMessage: state.login.loginRequest.message,\n loginRequestError: state.login.loginRequest.error,\n loginRequestShowError: state.login.loginRequest.showError,\n\n token: state.login.token,\n\n trackingId: state.login.trackingId,\n firstName: state.login.firstName,\n lastName: state.login.lastName,\n email: state.login.email,\n mfaChannel: state.login.mfaChannel,\n\n agencyConfig: state.home.agencyConfig,\n\n isWhitelabel: !!state.home.agencyConfig?.clientBaseUrl,\n companyName: state.home.agencyConfig?.companyName,\n clientLogo: state.home.agencyConfig?.clientLogo,\n\n agencyConfigRequestStatus: state.home.getAgencyConfigRequest.status,\n});\n\nconst mapDispatchToProps = {\n hideError: () => hideError(),\n sendLoginRequest: (email: string, password: string) =>\n loginRequest({ email, password }),\n setIsRedirectedFromAgency: (value: boolean) =>\n setIsRedirectedFromAgency(value),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & RouteComponentProps;\n\nexport default withRouter(connector(LoginForm));\n","import React from 'react';\nimport Form from '../login-form';\nimport type { IProps } from './types';\nimport TestimonialsCarousel from '../../../../shared/components/testimonials-carousel';\nimport { SHLogoDark } from '../../../../shared/svg';\nimport { SHLogoTypography } from '../../../../shared/svg/sh-typography';\nimport {\n getIsRequestPending,\n getIsRequestSucceeded,\n} from '../../../../shared/utils';\nimport { isInternalUrl } from '../../../../shared/utils/is-internal-url';\nimport HelmetIcon from '../../../../shared/components/helmet-icon';\n\nconst Signup: React.FC = ({\n agencyConfig,\n agencyConfigRequestStatus,\n}) => {\n const isWhitelabel = !!agencyConfig?.clientBaseUrl;\n\n return (\n <>\n {getIsRequestSucceeded(agencyConfigRequestStatus) && (\n \n )}\n {(getIsRequestPending(agencyConfigRequestStatus) && !isInternalUrl()) ||\n isWhitelabel ? null : (\n
    \n
    \n \n
    \n \n
    \n
    \n\n \n

    \n ©{`${new Date().getFullYear()} Saleshandy`}\n

    \n
    \n )}\n
    \n \n );\n};\n\nexport default Signup;\n","import { RouteComponentProps, withRouter } from 'react-router';\nimport { ConnectedProps, connect } from 'react-redux';\nimport Login from './login';\nimport { RootState } from '../../../../store/root-reducer';\n\nexport const mapStateToProps = (state: RootState) => ({\n agencyConfig: state.home?.agencyConfig,\n agencyConfigRequestStatus: state.home?.getAgencyConfigRequest.status,\n});\n\nconst connector = connect(mapStateToProps);\n\nexport type IProps = ConnectedProps & RouteComponentProps;\n\nexport default withRouter(connector(Login));\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { Button } from '@saleshandy/design-system';\nimport { Images } from '../../../../shared/app-constants';\n\nconst DeniedInvitation = () => {\n const { t } = useTranslation();\n\n const onRefresh = () => {\n window.location.reload();\n };\n\n return (\n
    \n
    \n \"access-denied\"\n \n Access Denied\n \n \n The account is currently on the Basic Plan. Please reach out to your\n Admin to upgrade the account and continue using Saleshandy.\n \n \n
    \n
    \n );\n};\n\nexport default DeniedInvitation;\n","import React from 'react';\nimport { Link } from 'react-router-dom';\nimport { BrokenLink } from '../../../../../shared/svg';\n\nconst InvitationSignupFailed: React.FC = () => (\n
    \n
    \n
    \n \n
    \n

    \n The invite link is no longer active\n

    \n

    \n The invitation link has expired. Please check with the person who shared\n it with you and request a new link or{' '}\n \n Login\n \n .\n

    \n
    \n
    \n);\n\nexport default InvitationSignupFailed;\n","import React from 'react';\n\nimport SignupForm from '../signup-form';\nimport DeniedInvitation from '../denied-invitation';\nimport TestimonialsCarousel from '../../../../shared/components/testimonials-carousel';\nimport InvitationSignupFailed from './components/invitation-signup-failed';\n\nimport { IProps } from './types';\nimport { SHLogoDark } from '../../../../shared/svg';\nimport {\n AuthHelper,\n getIsRequestFailed,\n getIsRequestSucceeded,\n initializeSentryIntegrations,\n initializeThirdPartyIntegrations,\n executeOnRequestStatusWithPrevStatusCheck,\n getIsRequestPending,\n} from '../../../../shared/utils';\nimport { isInternalUrl } from '../../../../shared/utils/is-internal-url';\nimport { isWhiteLabel } from '../../../../shared/utils/user-details';\n\ntype IState = {\n isDeniedScreenVisible: boolean;\n};\n\nclass Signup extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n isDeniedScreenVisible: false,\n };\n }\n\n componentDidMount() {\n const { sendVerifyInvitationTokenRequest } = this.props;\n\n sendVerifyInvitationTokenRequest();\n }\n\n componentDidUpdate(prevProps: Readonly) {\n const {\n verifyInvitationTokenRequestStatus,\n verifyInvitationTokenRequestCode,\n acceptInvitationRequestStatus,\n accessToken,\n firstName,\n lastName,\n email,\n trackingId,\n agencyConfig,\n } = this.props;\n\n executeOnRequestStatusWithPrevStatusCheck({\n status: verifyInvitationTokenRequestStatus,\n prevStatus: prevProps.verifyInvitationTokenRequestStatus,\n onSuccess: () => {\n if (accessToken) {\n AuthHelper.login({ token: accessToken });\n\n initializeThirdPartyIntegrations({\n trackingId,\n showChatSupport: agencyConfig?.showChatSupport,\n firstName,\n lastName,\n email,\n });\n }\n initializeSentryIntegrations(email);\n },\n onFailed: () => {\n if (verifyInvitationTokenRequestCode === 403) {\n this.setState({ isDeniedScreenVisible: true });\n }\n },\n });\n\n executeOnRequestStatusWithPrevStatusCheck({\n status: acceptInvitationRequestStatus,\n prevStatus: prevProps.acceptInvitationRequestStatus,\n onSuccess: () => {\n if (accessToken !== prevProps.accessToken) {\n AuthHelper.login({ token: accessToken });\n }\n },\n });\n }\n\n render() {\n const {\n verifyInvitationTokenRequestStatus,\n email,\n match,\n accessToken,\n agencyConfigRequestStatus,\n } = this.props;\n const { isDeniedScreenVisible } = this.state;\n\n const isVerifyInvitationTokenRequestSucceeded = getIsRequestSucceeded(\n verifyInvitationTokenRequestStatus,\n );\n\n const isVerifyInvitationTokenRequestFailed = getIsRequestFailed(\n verifyInvitationTokenRequestStatus,\n );\n\n if (isDeniedScreenVisible) {\n return ;\n }\n\n return (\n <>\n {(getIsRequestPending(agencyConfigRequestStatus) && !isInternalUrl()) ||\n isWhiteLabel() ? null : (\n
    \n \n \n

    \n ©{`${new Date().getFullYear()} Saleshandy`}\n

    \n
    \n )}\n\n {isVerifyInvitationTokenRequestSucceeded && !accessToken && (\n \n )}\n\n {isVerifyInvitationTokenRequestFailed && }\n \n );\n }\n}\n\nexport default Signup;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps } from 'react-router';\nimport { RootState } from '../../../../store/root-reducer';\nimport AcceptInvitationSignup from './invitation-signup';\nimport { verifyInvitationTokenRequest } from './invitation-signup-slice';\n\nexport type AcceptInvitationCallbackRouteProps = RouteComponentProps<{\n token: string;\n}>;\nconst mapStateToProps = (state: RootState) => ({\n acceptInvitationRequestStatus:\n state.invitationSignup.acceptInvitationRequest.status,\n verifyInvitationTokenRequestStatus:\n state.invitationSignup.verifyInvitationTokenRequest.status,\n verifyInvitationTokenRequestCode:\n state.invitationSignup.verifyInvitationTokenRequest.code,\n email: state.invitationSignup.email,\n accessToken: state.invitationSignup.accessToken,\n trackingId: state.invitationSignup.trackingId,\n firstName: state.invitationSignup.firstName,\n lastName: state.invitationSignup.lastName,\n agencyConfig: state.home.agencyConfig,\n agencyConfigRequestStatus: state.home?.getAgencyConfigRequest.status,\n});\n\nconst mapDispatchToProps = (\n dispatch,\n ownProps: AcceptInvitationCallbackRouteProps,\n) => ({\n sendVerifyInvitationTokenRequest: () =>\n dispatch(verifyInvitationTokenRequest(ownProps.match.params.token)),\n});\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps &\n AcceptInvitationCallbackRouteProps;\n\nexport default connector(AcceptInvitationSignup);\n","import React from 'react';\nimport { Link } from 'react-router-dom';\n\nimport Auth from '../..';\nimport TestimonialsCarousel from '../../../../shared/components/testimonials-carousel';\n\nimport { IProps } from './types';\nimport { SHLogoDark, BrokenLink } from '../../../../shared/svg';\nimport {\n getIsRequestFailed,\n getIsRequestIdeal,\n getIsRequestPending,\n executeOnRequestStatusWithPrevStatusCheck,\n} from '../../../../shared/utils';\n\nclass ResetPasswordCallback extends React.Component {\n componentDidMount() {\n const { sendVerifyResetPasswordCodeRequest, showLoading } = this.props;\n\n sendVerifyResetPasswordCodeRequest();\n\n showLoading();\n }\n\n componentDidUpdate(prevProps: Readonly) {\n const { resetPasswordCallbackStatus, hideLoading } = this.props;\n\n executeOnRequestStatusWithPrevStatusCheck({\n status: resetPasswordCallbackStatus,\n prevStatus: prevProps.resetPasswordCallbackStatus,\n onSuccess: hideLoading,\n onFailed: hideLoading,\n });\n }\n\n render() {\n const { resetPasswordCallbackStatus } = this.props;\n\n if (\n getIsRequestIdeal(resetPasswordCallbackStatus) ||\n getIsRequestPending(resetPasswordCallbackStatus)\n ) {\n return null;\n }\n\n if (getIsRequestFailed(resetPasswordCallbackStatus)) {\n return (\n
    \n
    \n \n \n

    \n ©{`${new Date().getFullYear()} Saleshandy`}\n

    \n
    \n\n
    \n
    \n
    \n \n
    \n

    \n The reset password link is not valid\n

    \n

    \n The reset password link is incorrect or might have expired. You\n can reset the password from{' '}\n here also or{' '}\n Login.\n

    \n
    \n
    \n
    \n );\n }\n\n return ;\n }\n}\n\nexport default ResetPasswordCallback;\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport { verifyResetPasswordCode } from '../../helpers/auth.api';\nimport {\n ResponseErrorWithHandled,\n ResponseSuccess,\n} from '../../../../shared/types';\n\nexport const verifyResetPasswordCodeRequest = createAsyncThunk<\n ResponseSuccess,\n string,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'resetPasswordCallback/verifyResetPasswordCodeRequest',\n async (code, thunkAPI) => {\n try {\n return await verifyResetPasswordCode(code);\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport { verifyResetPasswordCodeRequest } from './extra-actions';\n\ntype State = {\n status: RequestStatus;\n message: string;\n error: any;\n};\n\nconst initialState: State = {\n status: RequestStatus.Ideal,\n message: '',\n error: '',\n};\n\nconst resetPasswordCallbackSlice = createSlice({\n name: 'resetPasswordCallback',\n initialState,\n reducers: {},\n extraReducers: (builder) => {\n builder.addCase(verifyResetPasswordCodeRequest.pending, (state) => {\n state.status = RequestStatus.Pending;\n });\n builder.addCase(\n verifyResetPasswordCodeRequest.fulfilled,\n (state, action) => {\n state.status = RequestStatus.Succeeded;\n state.message = action.payload.message;\n },\n );\n builder.addCase(\n verifyResetPasswordCodeRequest.rejected,\n (state, action) => {\n state.status = RequestStatus.Failed;\n state.error = action.payload;\n },\n );\n },\n});\n\nexport { verifyResetPasswordCodeRequest };\nexport default resetPasswordCallbackSlice.reducer;\n","import { RouteComponentProps } from 'react-router';\nimport { connect, ConnectedProps } from 'react-redux';\nimport { hideLoading, showLoading } from 'react-redux-loading-bar';\nimport { RootState } from '../../../../store/root-reducer';\nimport ResetPasswordCallback from './reset-password-callback';\nimport { verifyResetPasswordCodeRequest } from './reset-password-callback-slice';\n\nconst mapStateToProps = (state: RootState) => ({\n resetPasswordCallbackStatus: state.resetPasswordCallback.status,\n});\n\nexport type ResetPasswordCallbackRouteProps = RouteComponentProps<{\n code: string;\n}>;\n\nconst mapDispatchToProps = (\n dispatch,\n ownProps: ResetPasswordCallbackRouteProps,\n) => ({\n sendVerifyResetPasswordCodeRequest: () =>\n dispatch(verifyResetPasswordCodeRequest(ownProps.match.params.code)),\n\n showLoading: () => showLoading(),\n hideLoading: () => hideLoading(),\n});\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps &\n ResetPasswordCallbackRouteProps;\n\nexport default connector(ResetPasswordCallback);\n","import React, { useEffect } from 'react';\nimport { Spinner } from 'reactstrap';\nimport { useLocation } from 'react-router';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport {\n AuthHelper,\n executeOnRequestStatus,\n initializeSentryIntegrations,\n initializeThirdPartyIntegrations,\n redirectWithoutRefresh,\n} from '../../../../shared/utils';\n\nimport { IProps } from './types';\nimport { getFromLocalStorage, LOCAL_STORAGE_KEYS, removeFromLocalStorage, saveToLocalStorage } from '../../../email-accounts/helpers/email-accounts-infra-local-storage';\nimport { SSOCallbackRequestPayload } from '../../../settings/types/request-payload';\nimport history from '../../../../shared/history';\nimport { openChatSupport } from '../../../../shared/utils/open-chat-support';\nimport toaster, { Theme } from '../../../../shared/toaster';\n\nconst SSOCallback: React.FC = ({\n agencyConfig,\n\n ssoCallbackRequestStatus,\n ssoCallbackRequestError,\n token,\n trackingId,\n firstName,\n lastName,\n email,\n ssoWhitelabelDomain,\n\n sendSSOCallbackRequest,\n}) => {\n const location = useLocation();\n\n useEffect(() => {\n // Extract the saml parameter from URL\n const searchParams = new URLSearchParams(location.search);\n const accessCode = searchParams.get('saml_access_code');\n const whiteLabelRedirect = searchParams.get('whiteLabelRedirect');\n const WLToken = searchParams.get('token');\n const WLTrackingId = searchParams.get('trackingId');\n const WLFirstName = searchParams.get('firstName');\n const WLLastName = searchParams.get('lastName');\n const WLEmail = searchParams.get('email');\n const WLError = searchParams.get('error');\n const newSSOEmail = getFromLocalStorage('new-sso-email');\n const isEmailChangeRequest = getFromLocalStorage(\n LOCAL_STORAGE_KEYS.EMAIL_CHANGE_FOR_SSO_USER_IN_PROGRESS,\n );\n const isNewSSOEmailVarificationRequest = getFromLocalStorage(\n LOCAL_STORAGE_KEYS.NEW_SSO_EMAIL_VARIFICATION_IN_PROGRESS,\n );\n const storedSSOWhitelabelDomain = window.sessionStorage.getItem('sso-whitelabel-domain');\n\n if (storedSSOWhitelabelDomain !== null && storedSSOWhitelabelDomain !== window.location.hostname && accessCode) {\n const whiteLabelRedirectURL = `http://${storedSSOWhitelabelDomain}/sso-callback?saml_access_code=${accessCode}`;\n window.open(whiteLabelRedirectURL, '_self');\n return;\n }\n\n if (whiteLabelRedirect) {\n if (WLError && !AuthHelper.isAuthenticated) {\n history.push('/sso-login');\n toaster.error(WLError,{\n theme: Theme.New,\n delay: 3000\n })\n return;\n }\n\n // for sso email change verification\n if (\n AuthHelper.isAuthenticated &&\n getFromLocalStorage(LOCAL_STORAGE_KEYS.EMAIL_CHANGE_FOR_SSO_USER_IN_PROGRESS)\n ) {\n history.push({\n pathname: '/settings/profile',\n state: {\n emailChangeInProgress: true,\n },\n });\n removeFromLocalStorage(LOCAL_STORAGE_KEYS.EMAIL_CHANGE_FOR_SSO_USER_IN_PROGRESS);\n return;\n }\n\n // for changed sso email varification\n if (\n AuthHelper.isAuthenticated &&\n getFromLocalStorage(LOCAL_STORAGE_KEYS.NEW_SSO_EMAIL_VARIFICATION_IN_PROGRESS)\n ) {\n history.push({\n pathname: '/settings/profile',\n state: {\n newSSOEmailVarificationInProgress: true,\n },\n });\n removeFromLocalStorage(LOCAL_STORAGE_KEYS.NEW_SSO_EMAIL_VARIFICATION_IN_PROGRESS);\n return;\n }\n\n if (WLToken) {\n AuthHelper.login({ token: WLToken });\n initializeThirdPartyIntegrations({\n trackingId: WLTrackingId,\n showChatSupport: agencyConfig?.showChatSupport,\n firstName: WLFirstName,\n lastName: WLLastName,\n email: WLEmail,\n });\n initializeSentryIntegrations(WLEmail);\n }\n return;\n }\n\n if (!accessCode && AuthHelper.isAuthenticated) {\n return redirectWithoutRefresh('/');\n }\n\n const payload: SSOCallbackRequestPayload = {\n accessCode,\n };\n\n if (isEmailChangeRequest) {\n payload.isEmailChangeRequest = true;\n }\n if (isNewSSOEmailVarificationRequest) {\n payload.isEmailChangeRequest2 = true;\n payload.newEmail = newSSOEmail;\n }\n if (accessCode) {\n sendSSOCallbackRequest(payload);\n }\n\n return undefined;\n }, [location.search, sendSSOCallbackRequest]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: ssoCallbackRequestStatus,\n onSuccess: () => {\n if (ssoWhitelabelDomain && window.location.hostname !== ssoWhitelabelDomain) {\n const whiteLabelRedirectURL = `http://${ssoWhitelabelDomain}/sso-callback?whiteLabelRedirect=true&token=${token || ''}&trackingId=${trackingId || ''}&firstName=${firstName || ''}&lastName=${lastName || ''}&email=${email || ''}`;\n window.sessionStorage.setItem('sso-whitelabel-domain', ssoWhitelabelDomain);\n window.open(whiteLabelRedirectURL, '_self');\n } \n // for sso email change verification\n if (getFromLocalStorage(LOCAL_STORAGE_KEYS.EMAIL_CHANGE_FOR_SSO_USER_IN_PROGRESS)) {\n history.push({\n pathname: '/settings/profile',\n state: {\n emailChangeInProgress: true,\n },\n });\n removeFromLocalStorage(LOCAL_STORAGE_KEYS.EMAIL_CHANGE_FOR_SSO_USER_IN_PROGRESS);\n }\n\n // for changed sso email varification\n if (getFromLocalStorage(LOCAL_STORAGE_KEYS.NEW_SSO_EMAIL_VARIFICATION_IN_PROGRESS)) {\n history.push({\n pathname: '/settings/profile',\n state: {\n newSSOEmailVarificationInProgress: true,\n },\n });\n removeFromLocalStorage(LOCAL_STORAGE_KEYS.NEW_SSO_EMAIL_VARIFICATION_IN_PROGRESS);\n }\n\n // for login\n if (token) {\n AuthHelper.login({ token });\n\n initializeThirdPartyIntegrations({\n trackingId,\n showChatSupport: agencyConfig?.showChatSupport,\n firstName,\n lastName,\n email,\n });\n }\n initializeSentryIntegrations(email);\n \n },\n onFailed: () => {\n if (getFromLocalStorage(LOCAL_STORAGE_KEYS.EMAIL_CHANGE_FOR_SSO_USER_IN_PROGRESS)) {\n removeFromLocalStorage(LOCAL_STORAGE_KEYS.EMAIL_CHANGE_FOR_SSO_USER_IN_PROGRESS);\n }\n if (getFromLocalStorage(LOCAL_STORAGE_KEYS.NEW_SSO_EMAIL_VARIFICATION_IN_PROGRESS)) {\n removeFromLocalStorage(LOCAL_STORAGE_KEYS.NEW_SSO_EMAIL_VARIFICATION_IN_PROGRESS);\n }\n if (ssoWhitelabelDomain) {\n const whiteLabelRedirectURL = `https://${ssoWhitelabelDomain}/sso-callback?whiteLabelRedirect=true&error=${ssoCallbackRequestError?.message}`;\n\n window.open(whiteLabelRedirectURL, '_self');\n } else {\n if (ssoCallbackRequestError?.message?.includes('support')) {\n toaster.error(\n
    \n Your account is suspended, to revoke this suspension feel free to\n reach out to{' '}\n openChatSupport()}\n className=\"font-bold red-txt-13 underline bg-transparent border-0 p-0 cursor-pointer\"\n >\n support\n \n
    ,\n {\n theme: Theme.New,\n showCloseIcon: true,\n delay: 1000000,\n },\n );\n }\n history.push('/sso-login');\n }\n },\n });\n }, [ssoCallbackRequestStatus]);\n\n return (\n <>\n
    \n
    \n
    \n
    \n {ssoCallbackRequestStatus === RequestStatus.Failed ? (\n
    \n {ssoCallbackRequestError?.message ||\n 'An error occurred during SSO login. Please try again.'}\n
    \n ) : (\n <>\n \n

    \n Just few seconds more...\n

    \n \n )}\n
    \n
    \n
    \n
    \n \n );\n};\n\nexport default SSOCallback;\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport { ssoLoginCallback } from '../../helpers/auth.api';\nimport {\n ResponseErrorWithHandled,\n ResponseSuccess,\n} from '../../../../shared/types';\nimport { SSOCallbackRequestPayload } from '../../../settings/types/request-payload';\n\nexport const ssoCallbackRequest = createAsyncThunk<\n ResponseSuccess,\n SSOCallbackRequestPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('ssoCallback/ssoCallbackRequest', async (data, thunkAPI) => {\n try {\n const response = await ssoLoginCallback(data);\n return response;\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n","import { connect, ConnectedProps } from \"react-redux\";\nimport { RootState } from \"../../../../store/root-reducer\";\nimport SSOCallback from \"./sso-callback\";\nimport { ssoCallbackRequest } from \"./extra-actions\";\nimport { RouteComponentProps } from \"react-router\";\nimport { SSOCallbackRequestPayload } from \"../../../settings/types/request-payload\";\n\nconst mapStateToProps = (state: RootState) => ({\n agencyConfig: state.home.agencyConfig,\n agencyConfigRequestStatus: state.home.getAgencyConfigRequest.status,\n\n ssoCallbackRequest: state.ssoCallback.ssoCallbackRequest,\n ssoCallbackRequestStatus: state.ssoCallback.ssoCallbackRequest.status,\n ssoCallbackRequestError: state.ssoCallback.ssoCallbackRequest.error,\n ssoCallbackRequestShowError: state.ssoCallback.ssoCallbackRequest.showError,\n\n token: state.ssoCallback.token,\n trackingId: state.ssoCallback.trackingId,\n firstName: state.ssoCallback.firstName,\n lastName: state.ssoCallback.lastName,\n email: state.ssoCallback.email,\n redirectUrl: state.ssoCallback.redirectUrl,\n ssoWhitelabelDomain: state.ssoCallback.ssoWhitelabelDomain,\n\n isWhitelabel: !!state.home.agencyConfig?.clientBaseUrl,\n companyName: state.home.agencyConfig?.companyName,\n clientLogo: state.home.agencyConfig?.clientLogo,\n});\n\nconst mapDispatchToProps = {\n sendSSOCallbackRequest: (payload: SSOCallbackRequestPayload) => ssoCallbackRequest(payload),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & RouteComponentProps;\n\nexport default connector(SSOCallback);","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport { ISSOCallbackState } from './types';\nimport { ssoCallbackRequest } from './extra-actions';\n\nconst initialState: ISSOCallbackState = {\n ssoCallbackRequest: {\n status: RequestStatus.Ideal,\n message: '',\n error: null,\n showError: false,\n },\n token: '',\n trackingId: '',\n firstName: '',\n lastName: '',\n email: '',\n redirectUrl: '',\n ssoWhitelabelDomain: '',\n};\n\nconst ssoCallbackSlice = createSlice({\n name: 'ssoCallback',\n initialState,\n reducers: {\n hideError: (state) => {\n state.ssoCallbackRequest.showError = false;\n },\n },\n extraReducers: (builder) => {\n builder.addCase(ssoCallbackRequest.pending, (state) => {\n state.ssoCallbackRequest.status = RequestStatus.Pending;\n state.ssoCallbackRequest.showError = false;\n });\n builder.addCase(ssoCallbackRequest.fulfilled, (state, action) => {\n state.ssoCallbackRequest.status = RequestStatus.Succeeded;\n state.ssoCallbackRequest.message = action.payload.message;\n state.token = action.payload.payload.accessToken;\n state.trackingId = action.payload.payload.trackingId;\n state.firstName = action.payload.payload.firstName;\n state.lastName = action.payload.payload.lastName;\n state.email = action.payload.payload.email;\n state.ssoWhitelabelDomain = action.payload.payload.userDomain;\n });\n builder.addCase(ssoCallbackRequest.rejected, (state, action) => {\n state.ssoCallbackRequest.status = RequestStatus.Failed;\n state.ssoCallbackRequest.error = action.payload;\n state.ssoWhitelabelDomain = action.payload?.payload?.userDomain;\n state.ssoCallbackRequest.showError = true;\n });\n },\n});\n\nexport const { hideError } = ssoCallbackSlice.actions;\nexport default ssoCallbackSlice.reducer;\n","import validator from 'validator';\nimport passwordValidator from '../../../../shared/utils/password-validator';\n\nconst nameValidator = (value: string, key: string): string => {\n if (validator.isEmpty(value)) {\n return `${key} name is required.`;\n }\n if (!validator.isAlpha(value)) {\n return `Alphabetic characters only.`;\n }\n if (!validator.isLength(value, { min: 2, max: 25 })) {\n return `Should be between 2-25 characters.`;\n }\n return '';\n};\n\nconst trimDialCode = (phoneNumber: string, dialCode: string): string => {\n const dialCodeLength = dialCode.toString().length;\n return phoneNumber.toString().substring(dialCodeLength);\n};\n\nexport const validate = (\n name: string,\n value: string,\n dialCode: string,\n): string => {\n switch (name) {\n case 'firstName':\n return nameValidator(value, 'First');\n\n case 'lastName':\n return nameValidator(value, 'Last');\n\n case 'email':\n if (!validator.isEmail(value)) {\n return 'Please enter a valid email address.';\n }\n break;\n\n case 'phone':\n if (validator.isEmpty(value)) {\n return 'Phone number is required.';\n }\n\n if (\n !validator.isLength(trimDialCode(value, dialCode), { min: 7, max: 15 })\n ) {\n return 'Should be between 7-15 numbers.';\n }\n break;\n\n case 'password':\n if (!passwordValidator.all(value)) {\n return 'Password must contain at least one upper case, lowercase and a number';\n }\n break;\n default:\n break;\n }\n\n return '';\n};\n","import React from 'react';\nimport queryString from 'query-string';\nimport 'react-phone-input-2/lib/style.css';\nimport { Link } from 'react-router-dom';\n\nimport { validate } from './validator';\nimport type { IProps, IState } from './types';\n\nimport PrivacyPolicy from '../privacy-policy';\nimport Input from '../../../../shared/design-system/components/input';\nimport Button from '../../../../shared/design-system/ui/button';\nimport PasswordValidationChecklist from '../../../../shared/components/password-validation-checklist';\nimport { SHLogoDark } from '../../../../shared/svg';\n\nimport {\n getCurrentTimeZone,\n getIsRequestPending,\n redirectWithoutRefresh,\n initializeThirdPartyIntegrations,\n executeOnRequestStatusWithPrevStatusCheck,\n AuthHelper,\n setToken,\n getCookie,\n} from '../../../../shared/utils';\nimport { AnalyticsEvents } from '../../../../shared/enums/analytics';\nimport { isWhiteLabel } from '../../../../shared/utils/user-details';\nimport OAuthButtons from '../oauth-buttons';\nimport { ActionForAuthentication } from '../../types';\n\nclass SignupForm extends React.PureComponent {\n private readonly phoneInputField = React.createRef();\n\n constructor(props: IProps) {\n super(props);\n\n const { location, email: propsEmail, isInvitedUser } = this.props;\n const { email: queryEmail } = queryString.parse(location.search);\n const disableEmailInputValue = isInvitedUser || queryEmail;\n\n this.state = {\n values: {\n firstName: '',\n lastName: '',\n email: propsEmail || queryEmail || '',\n password: '',\n },\n errors: {\n firstName: '',\n lastName: '',\n email: '',\n password: '',\n },\n dirty: {\n firstName: false,\n lastName: false,\n email: disableEmailInputValue || false,\n password: false,\n },\n disableEmailInput: disableEmailInputValue,\n dialCode: '',\n showPassword: false,\n };\n\n this.onInputChange = this.onInputChange.bind(this);\n this.onInputBlur = this.onInputBlur.bind(this);\n this.onPasswordVisibilityChange = this.onPasswordVisibilityChange.bind(\n this,\n );\n this.onFormSubmit = this.onFormSubmit.bind(this);\n this.handleSuccess = this.handleSuccess.bind(this);\n this.hasErrors = this.hasErrors.bind(this);\n }\n\n componentDidUpdate(prevProps: Readonly) {\n const {\n signupRequestStatus,\n acceptInvitationRequestStatus,\n trackingId,\n } = this.props;\n const { values } = this.state;\n\n executeOnRequestStatusWithPrevStatusCheck({\n status: signupRequestStatus,\n prevStatus: prevProps.signupRequestStatus,\n onSuccess: () => {\n this.handleSuccess();\n\n const { firstName, lastName, email } = values;\n\n initializeThirdPartyIntegrations({\n trackingId,\n firstName,\n lastName,\n email,\n });\n },\n });\n\n executeOnRequestStatusWithPrevStatusCheck({\n status: acceptInvitationRequestStatus,\n prevStatus: prevProps.acceptInvitationRequestStatus,\n onSuccess: () => {\n this.handleSuccess();\n\n const { firstName, lastName, email } = values;\n\n initializeThirdPartyIntegrations({\n trackingId,\n firstName,\n lastName,\n email,\n });\n },\n });\n }\n\n componentWillUnmount() {\n const { hideError } = this.props;\n hideError?.();\n }\n\n onInputChange(value: string, e: React.ChangeEvent) {\n const { name } = e.target;\n const { dialCode } = this.state;\n\n this.setState((prevState) => ({\n dirty: {\n ...prevState.dirty,\n [name]: true,\n },\n values: {\n ...prevState.values,\n [name]: value,\n },\n errors: {\n ...prevState.errors,\n [name]: '',\n },\n }));\n\n if (name === 'password') {\n const error = validate(name, value, dialCode);\n this.setState((prevState) => ({\n errors: {\n ...prevState.errors,\n [name]: error,\n },\n }));\n }\n }\n\n onInputBlur(e) {\n if (e?.target) {\n const { name } = e.target;\n const { dialCode, values } = this.state;\n\n this.setState((prevState) => ({\n errors: {\n ...prevState.errors,\n [name]: validate(name, values[name], dialCode),\n },\n }));\n }\n }\n\n onPasswordVisibilityChange() {\n const { showPassword } = this.state;\n\n this.setState({ showPassword: !showPassword });\n }\n\n onFormSubmit(e) {\n e.preventDefault();\n\n const { dirty, errors, values, dialCode } = this.state;\n const { location } = this.props;\n let { referralId } = queryString.parse(location.search);\n\n const dirtyRef = { ...dirty };\n const dirtyKeys = Object.keys(dirtyRef);\n\n dirtyKeys.forEach((key) => {\n dirtyRef[key] = true;\n });\n\n const errorsRef = { ...errors };\n const errorsKeys = Object.keys(errorsRef);\n let isError = false;\n\n errorsKeys.forEach((key) => {\n const error = validate(key, values[key], dialCode);\n\n errorsRef[key] = error;\n isError = isError || !!error;\n });\n\n this.setState({ errors: errorsRef, dirty: dirtyRef });\n\n if (isError) {\n return;\n }\n\n const timeZone = getCurrentTimeZone();\n\n const {\n sendSignupRequest,\n sendAcceptInvitationRequest,\n isInvitedUser,\n invitationToken,\n } = this.props;\n\n if (!referralId && window.Rewardful) {\n referralId = window.Rewardful?.referral;\n }\n\n if (isInvitedUser) {\n sendAcceptInvitationRequest({\n firstName: values.firstName,\n lastName: values.lastName,\n password: values.password,\n token: invitationToken,\n timeZone,\n });\n } else {\n const { ...rest } = values;\n sendSignupRequest({\n ...rest,\n timeZone,\n rewardfulReferralId: referralId,\n landingPage: getCookie('sh_ulp') || '',\n celloReferralCode: window?.CelloAttribution?.('getReferral') || '',\n });\n }\n }\n\n handleSuccess() {\n const { trackingId, token } = this.props;\n const { values } = this.state;\n\n if (token) {\n setToken(token);\n AuthHelper.login({ token });\n }\n\n const { firstName, lastName, email } = values;\n\n if (trackingId) {\n window.analytics?.track?.({\n userId: trackingId,\n event: AnalyticsEvents.SignupCompleted,\n properties: {\n firstName,\n lastName,\n email,\n id: trackingId,\n source: 'v3',\n },\n });\n }\n\n redirectWithoutRefresh({\n pathname: '/sequence',\n search: 'signup=completed',\n });\n }\n\n hasErrors() {\n const { errors, dirty, values } = this.state;\n\n let isError = false;\n\n Object.keys(errors).forEach((key) => {\n if ((errors[key] !== '' || !dirty[key]) && key !== 'password') {\n isError = true;\n }\n });\n\n if (\n values.password.length === 0 ||\n errors.password !== '' ||\n !dirty.password\n ) {\n isError = true;\n }\n\n return isError;\n }\n\n render() {\n const {\n values,\n errors,\n dirty,\n showPassword,\n disableEmailInput,\n } = this.state;\n const {\n signupRequestStatus,\n signupRequestError,\n showSignupRequestError,\n isInvitedUser = false,\n email: propsEmail,\n } = this.props;\n const isSignupBtnLoading = getIsRequestPending(signupRequestStatus);\n const isSignupBtnDisabled = isSignupBtnLoading || this.hasErrors();\n\n return (\n \n
    \n
    \n
    \n \n
    \n

    \n {isInvitedUser ? (\n <>\n Let's go!\n Your team is waiting for you.\n \n ) : (\n Create your account\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 {isSignupBtnDisabled ? (\n \n ) : (\n \n Your password is secured & You're all set!\n \n )}\n
    \n
    \n\n \n Sign up\n \n \n
    \n\n
    \n {!isWhiteLabel() && }\n\n
    \n

    \n Already have an account?{' '}\n \n Log in!\n \n

    \n
    \n
    \n
    \n \n );\n }\n}\n\nexport default SignupForm;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps, withRouter } from 'react-router';\nimport { RootState } from '../../../../store/root-reducer';\nimport { signupRequest, hideSignupRequestError } from '../signup/signup-slice';\nimport { acceptInvitationRequest } from '../invitation-signup/invitation-signup-slice';\nimport {\n AcceptInvitationRequestPayload,\n SignupRequestPayload,\n} from '../../types/request-payload';\nimport AuthForm from './signup-form';\n\nconst mapStateToProps = (state: RootState) => ({\n signupRequestStatus: state.signup.signupRequest.status,\n signupRequestMessage: state.signup.signupRequest.message,\n signupRequestError: state.signup.signupRequest.error,\n showSignupRequestError: state.signup.signupRequest.showError,\n\n token: state.signup.token || state.invitationSignup.accessToken,\n trackingId: state.signup.trackingId || state.invitationSignup.trackingId,\n\n acceptInvitationRequestStatus:\n state.invitationSignup.acceptInvitationRequest.status,\n});\n\nconst mapDispatchToProps = {\n hideError: () => hideSignupRequestError(),\n\n sendSignupRequest: (payload: SignupRequestPayload) => signupRequest(payload),\n\n sendAcceptInvitationRequest: (payload: AcceptInvitationRequestPayload) =>\n acceptInvitationRequest(payload),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps &\n RouteComponentProps & {\n isInvitedUser?: boolean;\n invitationToken?: string;\n email?: string;\n };\n\nexport default withRouter(connector(AuthForm));\n","import React, { ReactNode } from 'react';\nimport EmptyDataIcon1 from '../../../components/images/empty-data-icon-1';\n\ntype TransferEmptyProps = {\n text?: string;\n customEmptyElement?: ReactNode;\n};\n\nconst TransferEmpty: React.FC = ({\n text,\n customEmptyElement = null,\n}) => (\n
    \n {customEmptyElement || (\n <>\n \n {text}\n \n )}\n
    \n);\n\nTransferEmpty.defaultProps = {\n text: 'No Data',\n};\n\nexport default TransferEmpty;\n","/* eslint-disable jsx-a11y/click-events-have-key-events */\n/* eslint-disable jsx-a11y/no-noninteractive-element-interactions */\n/* eslint-disable import/no-cycle */\nimport React, { useMemo } from 'react';\nimport classNames from 'classnames';\nimport { Spinner } from 'reactstrap';\nimport { ExtendedOption, TransferProps } from './transfer';\nimport Checkbox from '../atoms/checkbox';\nimport TransferEmpty from './transfer-empty';\nimport { accessibleOnClick } from '../../../utils/accessible-on-click';\n\ntype OptionListProps = Pick<\n TransferProps,\n | 'multiSelect'\n | 'options'\n | 'optionRenderer'\n | 'filterOption'\n | 'optionFilterProp'\n | 'selectedOptionKey'\n | 'onSelect'\n | 'onDeselect'\n | 'onChange'\n | 'showOptionsSeparator'\n | 'showEmpty'\n | 'emptyText'\n | 'customFilterOption'\n | 'customEmptyElement'\n | 'showListSeparator'\n | 'listSeparatorOptions'\n> & {\n searchText: string;\n isLoading: boolean;\n clickListenerOn: 'row' | 'checkbox';\n};\n\nconst OptionList = ({\n multiSelect,\n options: propOptions,\n optionRenderer,\n filterOption: propFilterOption,\n customFilterOption,\n optionFilterProp,\n selectedOptionKey,\n onSelect,\n onDeselect,\n onChange,\n showOptionsSeparator,\n searchText,\n showEmpty,\n emptyText,\n customEmptyElement,\n isLoading,\n clickListenerOn = 'row',\n showListSeparator = false,\n listSeparatorOptions: propListSeparatorOptions,\n}: OptionListProps) => {\n const defaultFilterOption = (value, option, options, searchProp) =>\n !searchProp ||\n option[searchProp].toLowerCase().includes(value.toLowerCase().trim());\n\n const options = useMemo(() => {\n const filterOptions = propFilterOption || defaultFilterOption;\n const searchProp = optionFilterProp;\n\n if (customFilterOption) {\n return customFilterOption(propOptions, searchText);\n }\n\n return propOptions.filter((option) =>\n filterOptions(searchText, option, propOptions, searchProp),\n );\n }, [\n customFilterOption,\n propFilterOption,\n optionFilterProp,\n propOptions,\n searchText,\n ]);\n\n const listSeparatorOptions = useMemo(() => {\n const filterOptions = propFilterOption || defaultFilterOption;\n const searchProp = optionFilterProp;\n\n const newPropOptions = [];\n if (propListSeparatorOptions && propListSeparatorOptions.length) {\n newPropOptions.push(...propListSeparatorOptions);\n }\n if (customFilterOption) {\n return customFilterOption(newPropOptions, searchText);\n }\n\n return newPropOptions.filter((option) =>\n filterOptions(searchText, option, newPropOptions, searchProp),\n );\n }, [\n customFilterOption,\n propFilterOption,\n optionFilterProp,\n propListSeparatorOptions,\n searchText,\n ]);\n\n // eslint-disable-next-line no-nested-ternary\n const selectedOptionKeyArr = selectedOptionKey\n ? Array.isArray(selectedOptionKey)\n ? selectedOptionKey\n : [selectedOptionKey]\n : [];\n\n const isOptionSelected = (key: T['key']) =>\n selectedOptionKeyArr.includes(key);\n\n const optionClickHandler = (option: T) => {\n const isSelected = isOptionSelected(option.key);\n const finalPropOptions = propOptions;\n if (propListSeparatorOptions && propListSeparatorOptions?.length) {\n finalPropOptions.push(...propListSeparatorOptions);\n }\n let selectedOptionKeyToEmit: T['key'][];\n if (multiSelect) {\n if (isSelected) {\n onDeselect?.(option);\n selectedOptionKeyToEmit = selectedOptionKeyArr.filter(\n (key) => key !== option.key,\n );\n } else {\n onSelect?.(option);\n selectedOptionKeyToEmit = selectedOptionKeyArr.concat([option.key]);\n }\n } else {\n const prevSelectedOption = finalPropOptions.find(\n (o) => o.key === selectedOptionKeyArr[0],\n );\n onSelect?.(option);\n if (prevSelectedOption) {\n // only if prev selected option was there.\n onDeselect?.(prevSelectedOption);\n }\n // below two lined can be simplified into one. i.e. just create a\n // new array containing the selected option's key.\n\n selectedOptionKeyToEmit = selectedOptionKeyArr.filter(\n (key) =>\n (typeof key === 'number' &&\n key >= 0 &&\n key !== prevSelectedOption?.key) ||\n (typeof key === 'string' && key !== prevSelectedOption?.key),\n );\n selectedOptionKeyToEmit = selectedOptionKeyToEmit.concat([option.key]);\n }\n const selectedOptionToEmit = selectedOptionKeyToEmit\n .map((key) => finalPropOptions.find((o) => o.key === key))\n .filter(Boolean);\n onChange?.(selectedOptionToEmit);\n };\n\n if (isLoading) {\n return (\n
    \n \n
    \n );\n }\n\n if (options.length === 0 && listSeparatorOptions.length === 0 && showEmpty) {\n return (\n \n );\n }\n\n const optionList = options.map((option) => {\n const isSelected = isOptionSelected(option.key);\n const optionClass = classNames([\n {\n active: isSelected && !multiSelect,\n separator: showOptionsSeparator,\n disabled: option?.isDisabled,\n },\n ]);\n let optionJSX = optionRenderer(option);\n if (multiSelect) {\n optionJSX = (\n <>\n optionClickHandler(option)))}\n >\n \n \n
    {optionJSX}
    \n \n );\n }\n return (\n optionClickHandler(option)))}\n >\n {optionJSX}\n \n );\n });\n\n const getExtraOptionList = (list: JSX.Element[]) => {\n const extraOptionList: JSX.Element[] = [
    {list}
    ];\n if (showListSeparator && listSeparatorOptions?.length > 0) {\n const newOptionList = listSeparatorOptions.map((option) => {\n const isSelected = isOptionSelected(option.key);\n const optionClass = classNames([\n {\n active: isSelected && !multiSelect,\n separator: showOptionsSeparator,\n disabled: option?.isDisabled,\n },\n ]);\n let optionJSX = optionRenderer(option);\n if (multiSelect) {\n optionJSX = (\n <>\n optionClickHandler(option)))}\n >\n \n \n
    {optionJSX}
    \n \n );\n }\n return (\n optionClickHandler(option)))}\n >\n {optionJSX}\n \n );\n });\n const separatorList =
    ;\n if (options.length) {\n extraOptionList.push(separatorList);\n }\n extraOptionList.push(\n
    {newOptionList}
    ,\n );\n }\n return extraOptionList;\n };\n\n return
      {getExtraOptionList(optionList)}
    ;\n};\n\nexport default OptionList;\n","import React from 'react';\nimport Input from '../input';\n\ntype SearchProps = {\n value: string;\n searchPlaceholder?: string;\n onChange: (value: string) => void;\n onKeyDown?: (\n value: string,\n event: React.KeyboardEvent,\n ) => void;\n autoFocusSearch?: boolean;\n};\n\nconst Search: React.FC = ({\n value,\n onChange,\n onKeyDown,\n searchPlaceholder = 'Search here',\n autoFocusSearch = false,\n}) => (\n
    \n onKeyDown?.(value, event)}\n autoFocus={autoFocusSearch}\n />\n
    \n);\n\nexport default React.memo(Search);\n","import React, { ReactNode, useCallback, useState } from 'react';\nimport { Button } from '@saleshandy/design-system';\nimport { ClassNameProp } from '../../../types';\nimport OptionList from './option-list';\nimport Search from './search';\n\ntype Key = {\n key: string | number;\n};\n\n// type TabType = Key & {\n// label: string;\n// };\n\nexport type ExtendedOption = Key & {\n tab?: string | number;\n isDisabled?: boolean;\n};\n\nexport type TransferProps
    \n );\n};\n\nTransfer.defaultProps = {\n multiSelect: false,\n showTabs: false,\n showOptionsSeparator: false,\n showSearch: true,\n showEmpty: true,\n className: '',\n};\n\n// Removed the props value validation from here because of the types mismatch.\n// Added in the transfer-overlay-trigger.tsx instead.\n// Transfer.propTypes = {\n// selectedOptionKey: (props, propName) => {\n// if (\n// !props.multiSelect &&\n// Array.isArray(props[propName]) &&\n// props[propName].length > 1\n// ) {\n// throw new Error(\n// `\\`${propName}\\` can't contain multiple values if \\`multiSelect\\` is set to \\`false\\`. Either set \\`multiSelect\\` to \\`true\\` or pass only one value to \\`${propName}\\``,\n// );\n// }\n// },\n// };\n\nexport default Transfer;\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { Images } from '../../../../../../../shared/app-constants';\nimport ImageIcon from '../../../../../../../shared/components/images/image-icon';\nimport Modal from '../../../../../../../shared/design-system/components/atoms/modal';\nimport { IProps } from './types';\n\nconst DowngradeWarningModal: React.FC = ({\n show,\n onClose,\n onSubmit,\n}) => {\n const { t } = useTranslation();\n\n return (\n \n \n
    Attention
    \n \n }\n onClose={onClose}\n onHide={onClose}\n onSubmit={onSubmit}\n showCloseIcon={false}\n submitButtonText={t('labels.yes')}\n cancelButtonText={t('labels.cancel')}\n >\n
    \n

    \n You are currently downgrading to the starter plan in which there is no\n sequence feature included.\n

    \n

    \n All your ongoing sequences will get paused once plan is downgraded.\n

    \n

    Are you sure you want to downgrade your current plan?

    \n
    \n \n );\n};\n\nexport default DowngradeWarningModal;\n","import React, { useEffect, useState } from 'react';\nimport StripeCheckout from 'react-stripe-checkout';\nimport { useTranslation } from 'react-i18next';\nimport { useHistory } from 'react-router-dom';\n\nimport type { IProps } from './upgrade-plan-billing-section-container';\nimport { Images } from '../../../../app-constants';\nimport Button from '../../atoms/button';\nimport Input from '../../input/input';\nimport { validate } from './validator';\nimport ImageIcon from '../../../../components/images/image-icon';\nimport { RequestStatus } from '../../../../enums/request-status';\nimport { getTotalAmount } from './helper/get-total-amount';\nimport { handle3dSecureCardPayment } from '../../../../components/handle-3d-secure-card-payment/handle3dSecureCardPayment';\nimport { accessibleOnClick } from '../../../../utils/accessible-on-click';\nimport {\n checkShouldShowTotalAmoutToPayText,\n getFinalSubTotal,\n getSubtotalDiscountAmount,\n getTotalAmountMinusDiscount,\n showErrorNotification,\n showToastMessage,\n} from './helper/helper';\nimport { checkIsLtdPlan } from '../subscription-plan-details/helper/helper';\nimport { executeOnRequestStatus } from '../../../../utils/execute-on-request-status';\nimport { showGeneralErrorNotification } from '../../../../utils/errors';\nimport { getIsRequestPending } from '../../../../utils/get-request-status';\nimport { OverlayTooltip } from '../../overlay/tooltip/overlay-tooltip';\nimport { supportUrls } from '../../../../utils/urls';\nimport { ModifyPlanAction } from '../../../../utils/subscription-plans';\nimport DowngradeWarningModal from '../../../../../components/settings/components/billing-subscription/components/upgrade-plan/components/downgrade-warning-modal';\nimport { BillingOption } from '../../../../utils/billing-options';\nimport { isRequestPending } from '../../../../../components/settings/components/billing-subscription/utils/helper';\nimport { AnalyticsEvents } from '../../../../enums/analytics';\n\nconst UpgradePlanBillingSection: React.FC = ({\n planId,\n planName,\n planPrice,\n planCode,\n planType,\n numberOfSlotsUserWant,\n minimumNumberOfSlotsUserCanHave,\n billingOption,\n onPurchase,\n couponCodeDiscountType,\n couponCodeDiscount,\n couponCodeResponseMessage,\n isSendApplyCouponCodeRequestError,\n couponCode,\n havePromoCode,\n sendApplyCouponCodeRequest,\n onDeleteAppliedCouponCode,\n onCouponCodeChange,\n userHasPromoCode,\n isUserModifyingSubscription,\n sendGetModifySubscriptionRequestStatus,\n sendGetModifySubscriptionRequestError,\n sendGetModifySubscriptionResponse,\n sendGetCalculatePayRequestStatus,\n sendGetCalculatePayResponse,\n sendPurchaseSubscriptionRequestStatus,\n sendPurchaseLeadFinderSubscriptionRequestStatus,\n sendPurchaseSubscriptionRequestMessage,\n sendPurchaseLeadFinderSubscriptionRequestMessage,\n sendPurchaseLeadFinderModifySubscriptionRequestMessage,\n sendApplyCouponCodeRequestStatus,\n sendGetAccountSubscriptionRequest,\n sendGetLeadFinderSubscriptionRequest,\n sendGetUserSettingsRequest,\n sendGetPostLoadMetaRequest,\n sendGetPurchaseModifySubscriptionRequestStatus,\n sendPurchaseLeadFinderModifySubscriptionRequestStatus,\n sendPurchaseModifySubscriptionResponse,\n selectedPlanDetails,\n resetSubscription,\n resetPurchaseModifySubscriptionResponse,\n resetPurchaseLeadFinderModifySubscriptionResponse,\n showLoading,\n hideLoading,\n sendGetAccountSubscriptionResponse: {\n planAmount: existingPlanPrice,\n slots: existingPlanSlots,\n planCode: existingPlanCode,\n },\n upgradeLtdPlanRequestStatus,\n upgradeLtdPlanRequestError,\n upgradeLtdPlanResponse,\n resetUpgradeLtdPlan,\n modifyLtdPlanRequestStatus,\n modifyLtdPlanRequestError,\n modifyLtdPlanResponse,\n resetModifyLtdPlan,\n isBillingSummaryPending,\n currentPlanName,\n isLeadFinderUpgrade = false,\n}) => {\n const { t } = useTranslation();\n const history = useHistory();\n const isPurchaseInProgress: boolean =\n isRequestPending(\n isLeadFinderUpgrade\n ? sendPurchaseLeadFinderSubscriptionRequestStatus\n : sendPurchaseSubscriptionRequestStatus,\n ) ||\n isRequestPending(\n isLeadFinderUpgrade\n ? sendPurchaseLeadFinderModifySubscriptionRequestStatus\n : sendGetPurchaseModifySubscriptionRequestStatus,\n );\n const isApplyCouponCodeInProgress = isRequestPending(\n sendApplyCouponCodeRequestStatus,\n );\n\n const [userSelectedPlanDetails, setUserSelectedPlanDetails] = useState([]);\n const [subTotal, setSubTotal] = useState(\n numberOfSlotsUserWant * planPrice,\n );\n const [error, setError] = useState('');\n const [\n is3dSecureResponseStatePending,\n setIs3dSecureResponseStatePending,\n ] = useState(false);\n const [\n isDowngradeWarningModalShow,\n setIsDowngradeWarningModalShow,\n ] = useState(false);\n\n useEffect(() => {\n setUserSelectedPlanDetails([\n {\n planName: t('labels.userAccounts'),\n quota: numberOfSlotsUserWant,\n price:\n billingOption === BillingOption.ANNUALLY ? 12 * planPrice : planPrice,\n isNewEntry: !isUserModifyingSubscription,\n },\n ]);\n\n const { subTotalPrice } = getFinalSubTotal({\n isUserModifyingSubscription,\n sendGetCalculatePayResponse,\n numberOfSlotsUserWant,\n planPrice,\n billingOption,\n couponCodeDiscountType,\n couponCodeDiscount,\n action: selectedPlanDetails.action,\n });\n\n setSubTotal(subTotalPrice);\n }, [\n numberOfSlotsUserWant,\n planPrice,\n couponCodeDiscount,\n couponCodeDiscountType,\n sendGetCalculatePayRequestStatus,\n ]);\n\n const totalAmount = getTotalAmount(\n billingOption,\n isUserModifyingSubscription,\n subTotal,\n sendGetCalculatePayResponse,\n selectedPlanDetails.action,\n checkIsLtdPlan(planType)\n ? Number(existingPlanPrice) * existingPlanSlots\n : sendGetModifySubscriptionResponse?.alreadyPaid,\n );\n\n const showDowngradeWarningModal = () => setIsDowngradeWarningModalShow(true);\n\n const hideDowngradeWarningModal = () => setIsDowngradeWarningModalShow(false);\n\n const onApplyCouponCode = (e) => {\n e.preventDefault();\n\n let isError = false;\n\n const checkError = validate('couponCode', couponCode);\n isError = isError || !!checkError;\n setError(checkError);\n\n if (isError) {\n return;\n }\n\n sendApplyCouponCodeRequest({\n couponCode,\n amount: totalAmount,\n planId,\n });\n };\n\n const handleDeleteAppliedCouponCode = () => {\n onCouponCodeChange('');\n onDeleteAppliedCouponCode();\n userHasPromoCode(false);\n };\n\n const onPurchaseHandler = (token) => {\n hideDowngradeWarningModal();\n onPurchase(token, subTotal);\n };\n\n const onSave = (token) => {\n if (selectedPlanDetails?.action === ModifyPlanAction.Downgrade) {\n showDowngradeWarningModal();\n } else {\n onPurchaseHandler(token);\n }\n };\n\n const handleUserHasPromoCode = () => {\n userHasPromoCode(true);\n // setHavePromoCode(true);\n };\n\n const sendPurchaseSubscriptionRequestSuccess = (message) => {\n showToastMessage(message);\n\n if (isLeadFinderUpgrade) {\n sendGetLeadFinderSubscriptionRequest();\n } else {\n sendGetAccountSubscriptionRequest();\n }\n hideLoading();\n history.push('/settings/billing/subscriptions');\n resetSubscription();\n sendGetPostLoadMetaRequest();\n\n setTimeout(() => {\n // Stripe is taking time to update payment is pending or not data\n sendGetUserSettingsRequest();\n }, 500);\n };\n\n // Handle 3d secure card\n const handle3dSecureCard = async (\n response,\n baseURL = 'subscription',\n resetHandler = null,\n ) => {\n const apiEndPoint = `/${baseURL}/confirm-payment-intent`;\n setIs3dSecureResponseStatePending(true);\n\n const { isError, serverResponse } = await handle3dSecureCardPayment({\n response,\n apiEndPoint,\n });\n\n setIs3dSecureResponseStatePending(false);\n\n if (isError) {\n hideLoading();\n if (isLeadFinderUpgrade) {\n resetPurchaseLeadFinderModifySubscriptionResponse();\n } else {\n resetPurchaseModifySubscriptionResponse();\n }\n if (resetHandler) {\n resetHandler();\n }\n } else {\n sendPurchaseSubscriptionRequestSuccess(serverResponse.payload.message);\n }\n };\n\n const handlePayNowAnalyticsEvent = () => {\n window.analytics?.track?.({\n event: AnalyticsEvents.ClickedOnPayNow,\n properties: {\n Source: 'Subscription',\n current_plan: currentPlanName,\n 'Clicked Plan': planName,\n },\n });\n };\n\n // Get modify subscription account quota & price status failed\n useEffect(() => {\n showErrorNotification(\n sendGetModifySubscriptionRequestStatus,\n sendGetModifySubscriptionRequestError,\n );\n }, [sendGetCalculatePayRequestStatus]);\n\n // Purchase subscription\n useEffect(() => {\n if (isLeadFinderUpgrade) {\n sendPurchaseLeadFinderSubscriptionRequestStatus ===\n RequestStatus.Pending && showLoading();\n\n sendPurchaseLeadFinderSubscriptionRequestStatus ===\n RequestStatus.Succeeded &&\n sendPurchaseSubscriptionRequestSuccess(\n sendPurchaseLeadFinderSubscriptionRequestMessage,\n );\n\n if (\n sendPurchaseLeadFinderSubscriptionRequestStatus === RequestStatus.Failed\n ) {\n handleDeleteAppliedCouponCode();\n }\n } else {\n sendPurchaseSubscriptionRequestStatus === RequestStatus.Pending &&\n showLoading();\n\n sendPurchaseSubscriptionRequestStatus === RequestStatus.Succeeded &&\n sendPurchaseSubscriptionRequestSuccess(\n sendPurchaseSubscriptionRequestMessage,\n );\n\n if (sendPurchaseSubscriptionRequestStatus === RequestStatus.Failed) {\n handleDeleteAppliedCouponCode();\n }\n }\n }, [\n sendPurchaseSubscriptionRequestStatus,\n sendPurchaseLeadFinderSubscriptionRequestStatus,\n ]);\n\n // Modify subscription\n useEffect(() => {\n if (isLeadFinderUpgrade) {\n sendPurchaseLeadFinderModifySubscriptionRequestStatus ===\n RequestStatus.Pending && showLoading();\n\n if (\n sendPurchaseLeadFinderModifySubscriptionRequestStatus ===\n RequestStatus.Succeeded\n ) {\n sendPurchaseSubscriptionRequestSuccess(\n sendPurchaseLeadFinderModifySubscriptionRequestMessage,\n );\n }\n\n if (\n sendPurchaseLeadFinderModifySubscriptionRequestStatus ===\n RequestStatus.Failed\n ) {\n handleDeleteAppliedCouponCode();\n }\n } else {\n sendGetPurchaseModifySubscriptionRequestStatus ===\n RequestStatus.Pending && showLoading();\n\n if (\n sendGetPurchaseModifySubscriptionRequestStatus ===\n RequestStatus.Succeeded\n ) {\n sendPurchaseSubscriptionRequestSuccess(\n sendPurchaseModifySubscriptionResponse.message,\n );\n }\n\n if (\n sendGetPurchaseModifySubscriptionRequestStatus === RequestStatus.Failed\n ) {\n handleDeleteAppliedCouponCode();\n }\n }\n }, [\n sendGetPurchaseModifySubscriptionRequestStatus,\n sendPurchaseLeadFinderModifySubscriptionRequestStatus,\n ]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: upgradeLtdPlanRequestStatus,\n onSuccess: () => {\n if (upgradeLtdPlanResponse.requires_action) {\n handle3dSecureCard(\n upgradeLtdPlanResponse,\n 'ltd',\n resetUpgradeLtdPlan,\n );\n } else {\n sendPurchaseSubscriptionRequestSuccess(\n upgradeLtdPlanResponse.message,\n );\n }\n },\n onFailed: () => {\n showGeneralErrorNotification(upgradeLtdPlanRequestError.message);\n },\n });\n }, [upgradeLtdPlanRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: modifyLtdPlanRequestStatus,\n onSuccess: () => {\n if (modifyLtdPlanResponse.requires_action) {\n handle3dSecureCard(modifyLtdPlanResponse, 'ltd', resetModifyLtdPlan);\n } else {\n sendPurchaseSubscriptionRequestSuccess(modifyLtdPlanResponse.message);\n }\n },\n onFailed: () => {\n showGeneralErrorNotification(modifyLtdPlanRequestError.message);\n },\n });\n }, [modifyLtdPlanRequestStatus]);\n\n useEffect(() => {\n handleDeleteAppliedCouponCode();\n }, [billingOption]);\n\n const renderSaveButton = () => (\n numberOfSlotsUserWant ||\n (checkIsLtdPlan(planType) &&\n Number(existingPlanSlots) === Number(numberOfSlotsUserWant)) ||\n getIsRequestPending(upgradeLtdPlanRequestStatus) ||\n getIsRequestPending(modifyLtdPlanRequestStatus) ||\n (!sendGetCalculatePayResponse && isUserModifyingSubscription) ||\n !sendGetCalculatePayResponse?.isSubscriptionModified\n }\n onClick={onSave}\n >\n {t('labels.save')}\n \n );\n\n const renderStripeButton = () => (\n \n handlePayNowAnalyticsEvent()}\n variant={Button.Variant.Primary}\n isLoading={\n isPurchaseInProgress ||\n is3dSecureResponseStatePending ||\n getIsRequestPending(upgradeLtdPlanRequestStatus) ||\n getIsRequestPending(modifyLtdPlanRequestStatus)\n }\n disabled={\n isPurchaseInProgress ||\n is3dSecureResponseStatePending ||\n getIsRequestPending(upgradeLtdPlanRequestStatus) ||\n getIsRequestPending(modifyLtdPlanRequestStatus)\n }\n >\n {t('labels.pay_now')}\n \n \n );\n\n const renderButton = () =>\n totalAmount === 0 ? renderSaveButton() : renderStripeButton();\n\n useEffect(() => {\n if (havePromoCode) {\n handleDeleteAppliedCouponCode();\n }\n }, [numberOfSlotsUserWant]);\n\n return (\n <>\n
    \n
    \n
    \n
    \n \n {t('labels.bill_summary')}\n \n
    \n\n {isBillingSummaryPending ? (\n
    \n \n
    \n ) : (\n <>\n
    \n
    \n
    \n {t('labels.plan_name')}\n {planName}\n
    \n {userSelectedPlanDetails.map((plan) => (\n \n
    \n {`${plan.quota} x Slots`}\n
    \n \n ${plan.quota * plan.price}\n \n
    \n ))}\n\n
    \n\n
    \n \n {t('labels.total_amount')}\n \n {`$${Number(\n subTotal,\n ).toFixed(2)}`}\n
    \n\n {checkShouldShowTotalAmoutToPayText({\n planType,\n planCode,\n numberOfSlotsUserWant,\n existingPlanSlots,\n existingPlanCode,\n }) && (\n
    \n \n Amount already paid\n \n \n $\n {Math.abs(\n Number(existingPlanPrice) * existingPlanSlots,\n )}\n \n
    \n )}\n\n {selectedPlanDetails.action !==\n ModifyPlanAction.AddSlots && (\n <>\n {sendGetCalculatePayResponse?.creditBeforeModification >\n 0 &&\n !checkIsLtdPlan(planType) && (\n
    \n
    \n \n {t('labels.credits')}\n \n \n \n \n
    \n {`$${sendGetCalculatePayResponse?.creditBeforeModification.toFixed(\n 2,\n )}`}\n
    \n )}\n\n {sendGetCalculatePayResponse?.unusedBalance > 0 &&\n !checkIsLtdPlan(planType) && (\n
    \n
    \n \n {t('labels.unused_balance')}\n \n \n \n \n
    \n {`$${sendGetCalculatePayResponse?.unusedBalance.toFixed(\n 2,\n )}`}\n
    \n )}\n \n )}\n
    \n\n
    \n {havePromoCode && (\n
    \n onApplyCouponCode(e),\n }\n }\n icons={[\n isApplyCouponCodeInProgress && {\n place: Input.IconPlace.Right,\n identifier: 'spinner-alt',\n colorDefault: true,\n className: 'icon-loading',\n },\n ...(couponCodeDiscount\n ? [\n {\n place: Input.IconPlace.Right,\n identifier: 'trash',\n colorDefault: true,\n className: 'icon-1 icon-2',\n onClick: () =>\n handleDeleteAppliedCouponCode(),\n },\n ]\n : []),\n ]}\n />\n
    \n )}\n\n {couponCodeDiscount && (\n
    \n \n {t('labels.discount')}\n \n {`$${getSubtotalDiscountAmount(\n couponCodeDiscountType,\n totalAmount,\n couponCodeDiscount,\n ).toFixed(2)}`}\n
    \n )}\n\n {!havePromoCode &&\n (selectedPlanDetails.action === ModifyPlanAction.Update ||\n checkIsLtdPlan(planType)) && (\n \n {t('labels.have_a_promo_code')}\n \n )}\n
    \n
    \n\n
    \n\n
    \n
    \n \n {t('labels.total_amount_to_pay_today')}\n {!checkIsLtdPlan(planType) &&\n isUserModifyingSubscription && (\n \n \n \n )}\n \n\n \n $\n {getTotalAmountMinusDiscount({\n totalAmount,\n discountType: couponCodeDiscountType,\n discount: couponCodeDiscount,\n })}\n \n
    \n {!checkIsLtdPlan(planType) && (\n

    \n Your subscription will auto-renew until you cancel. By\n upgrading, you agree to our{' '}\n \n refund policy.\n \n

    \n )}\n
    \n\n
    \n {renderButton()}\n
    \n \n )}\n
    \n
    \n
    \n\n \n \n );\n};\n\nexport default UpgradePlanBillingSection;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { hideLoading, showLoading } from 'react-redux-loading-bar';\nimport { RootState } from '../../../../../store/root-reducer';\nimport UpgradePlanBillingSection from './upgrade-plan-billing-section';\nimport { ApplyCouponCodeRequest } from '../../../../../components/settings/components/billing-subscription/types';\nimport { BillingOption } from '../../../../utils/billing-options';\nimport {\n getPostLoadMetaRequest,\n getUserSettingsRequest,\n} from '../../../../../components/home/extra-actions';\nimport {\n applyCouponCodeRequest,\n getAccountSubscriptionRequest,\n getLeadFinderSubscriptionRequest,\n} from '../../../../../components/settings/components/billing-subscription/extra-actions';\nimport {\n resetModifyLtdPlan,\n resetPurchaseLeadFinderModifySubscriptionResponse,\n resetPurchaseModifySubscriptionResponse,\n resetSubscription,\n resetUpgradeLtdPlan,\n} from '../../../../../components/settings/components/billing-subscription/billing-subscription-slice';\nimport {\n PlanType,\n SubscriptionPlans,\n} from '../../../../utils/subscription-plans';\n\nconst mapStateToProps = (state: RootState) => ({\n // Purchase Subscription request\n sendPurchaseSubscriptionRequestStatus:\n state.billingAndSubscription.purchaseSubscriptionRequest.status,\n sendPurchaseSubscriptionRequestMessage:\n state.billingAndSubscription.purchaseSubscriptionRequest.message,\n sendPurchaseSubscriptionRequestError:\n state.billingAndSubscription.purchaseSubscriptionRequest.error,\n // Purchase Lead Finder Subscription request\n sendPurchaseLeadFinderSubscriptionRequestStatus:\n state.billingAndSubscription.purchaseLeadFinderSubscriptionRequest.status,\n sendPurchaseLeadFinderSubscriptionRequestMessage:\n state.billingAndSubscription.purchaseLeadFinderSubscriptionRequest.message,\n sendPurchaseLeadFinderSubscriptionRequestError:\n state.billingAndSubscription.purchaseLeadFinderSubscriptionRequest.error,\n\n sendGetModifySubscriptionRequestStatus:\n state.billingAndSubscription.modifySubscriptionRequest.status,\n sendGetModifySubscriptionRequestError:\n state.billingAndSubscription.modifySubscriptionRequest.error,\n\n // Purchase modify subscription request\n sendGetPurchaseModifySubscriptionRequestStatus:\n state.billingAndSubscription.purchaseModifySubscriptionRequest.status,\n sendGetPurchaseModifySubscriptionRequestMessage:\n state.billingAndSubscription.purchaseModifySubscriptionRequest.message,\n // Purchase Lead Finder modify subscription request\n sendPurchaseLeadFinderModifySubscriptionRequestStatus:\n state.billingAndSubscription.purchaseLeadFinderModifySubscriptionRequest\n .status,\n sendPurchaseLeadFinderModifySubscriptionRequestMessage:\n state.billingAndSubscription.purchaseLeadFinderModifySubscriptionRequest\n .message,\n\n sendPurchaseModifySubscriptionResponse:\n state.billingAndSubscription.purchaseModifySubscriptionResponse,\n sendPurchaseLeadFinderModifySubscriptionResponse:\n state.billingAndSubscription.purchaseLeadFinderModifySubscriptionResponse,\n\n selectedPlanDetails: state.billingAndSubscription.selectedPlanDetails,\n sendGetModifySubscriptionResponse:\n state.billingAndSubscription.modifySubscriptionResponse,\n sendGetAccountSubscriptionResponse:\n state.billingAndSubscription.getAccountSubscriptionResponse,\n sendGetLeadFinderSubscriptionResponse:\n state.billingAndSubscription.getLeadFinderSubscriptionResponse,\n couponCodeDiscountType:\n state.billingAndSubscription.applyCouponCodeResponse?.discountType,\n couponCodeDiscount:\n state.billingAndSubscription.applyCouponCodeResponse?.discountValue,\n sendApplyCouponCodeRequestStatus:\n state.billingAndSubscription.applyCouponCodeRequest.status,\n couponCodeResponseMessage:\n state.billingAndSubscription.applyCouponCodeRequest.message,\n isSendApplyCouponCodeRequestError:\n state.billingAndSubscription.applyCouponCodeRequest.error?.error,\n\n // Calculate Pay\n sendGetCalculatePayRequestStatus:\n state.billingAndSubscription.calculatePayRequest.status,\n sendGetCalculatePayResponse:\n state.billingAndSubscription.getCalculatePayResponse,\n\n // Upgrade LTD Request Status\n upgradeLtdPlanRequestStatus:\n state.billingAndSubscription.upgradeLtdPlanRequest.status,\n upgradeLtdPlanRequestError:\n state.billingAndSubscription.upgradeLtdPlanRequest.error,\n upgradeLtdPlanResponse: state.billingAndSubscription.upgradeLtdPlanResponse,\n\n // Modify LTD Request Status\n modifyLtdPlanRequestStatus:\n state.billingAndSubscription.modifyLtdPlanRequest.status,\n modifyLtdPlanRequestError:\n state.billingAndSubscription.modifyLtdPlanRequest.error,\n modifyLtdPlanResponse: state.billingAndSubscription.modifyLtdPlanResponse,\n currentPlanName: state.home?.subscription?.planName,\n});\n\nconst mapDispatchToProps = {\n sendGetAccountSubscriptionRequest: () => getAccountSubscriptionRequest(),\n sendGetLeadFinderSubscriptionRequest: () =>\n getLeadFinderSubscriptionRequest(),\n sendGetUserSettingsRequest: () => getUserSettingsRequest(),\n sendGetPostLoadMetaRequest: () => getPostLoadMetaRequest(),\n sendApplyCouponCodeRequest: (payload: ApplyCouponCodeRequest) =>\n applyCouponCodeRequest(payload),\n resetSubscription: () => resetSubscription(),\n resetPurchaseModifySubscriptionResponse: () =>\n resetPurchaseModifySubscriptionResponse(),\n resetPurchaseLeadFinderModifySubscriptionResponse: () =>\n resetPurchaseLeadFinderModifySubscriptionResponse(),\n hideLoading: () => hideLoading(),\n showLoading: () => showLoading(),\n resetUpgradeLtdPlan: () => resetUpgradeLtdPlan(),\n resetModifyLtdPlan: () => resetModifyLtdPlan(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n planId: number;\n planName: string;\n planPrice: number;\n planCode: SubscriptionPlans;\n planType: PlanType;\n numberOfSlotsUserWant: number;\n minimumNumberOfSlotsUserCanHave: number;\n billingOption: BillingOption;\n couponCode: string;\n havePromoCode: boolean;\n isBillingSummaryPending: boolean;\n isUserModifyingSubscription: boolean;\n onPurchase: (token, amount) => void;\n onDeleteAppliedCouponCode: () => void;\n onCouponCodeChange: (value) => void;\n userHasPromoCode: (value) => void;\n isLeadFinderUpgrade?: boolean;\n};\n\nexport default connector(UpgradePlanBillingSection);\n","import React from 'react';\nimport axios from 'axios';\nimport queryString from 'query-string';\n\nimport { IProps } from './types';\nimport { redirectWithoutRefresh } from '../../../../shared/utils';\nimport toaster, { Theme } from '../../../../shared/toaster';\n\nclass VerifyEmailCallback extends React.Component {\n async componentDidMount() {\n const {\n location,\n showLoading,\n hideLoading,\n sendGetUserSettingsRequest,\n } = this.props;\n\n const { verificationToken } = queryString.parse(location.search);\n\n showLoading();\n\n await axios\n .get(`${process.env.REACT_APP_API_URL}/auth/handle-verification-link`, {\n headers: { Authorization: `Bearer ${verificationToken}` },\n })\n .then(() => {\n toaster.success('Email verified successfully.', { theme: Theme.New });\n })\n .catch(() => {\n toaster.error('Verification link has expired.', {\n theme: Theme.New,\n });\n })\n .finally(() => {\n sendGetUserSettingsRequest();\n redirectWithoutRefresh('/sequence');\n hideLoading();\n });\n }\n\n render() {\n return null;\n }\n}\n\nexport default VerifyEmailCallback;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { hideLoading, showLoading } from 'react-redux-loading-bar';\nimport { RouteComponentProps } from 'react-router';\nimport { getUserSettingsRequest } from '../../../home/extra-actions';\nimport VerifyEmailCallback from './verify-email-callback';\n\nconst mapStateToProps = () => ({});\n\nconst mapDispatchToProps = () => ({\n sendGetUserSettingsRequest: () => getUserSettingsRequest(),\n showLoading: () => showLoading(),\n hideLoading: () => hideLoading(),\n});\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & RouteComponentProps;\n\nexport default connector(VerifyEmailCallback);\n","import React from 'react';\nimport SignupForm from '../signup-form';\nimport { IProps } from './types';\nimport TestimonialsCarousel from '../../../../shared/components/testimonials-carousel';\nimport { SHLogoDark } from '../../../../shared/svg';\nimport { SHLogoTypography } from '../../../../shared/svg/sh-typography';\n\nconst Signup: React.FC = () => (\n <>\n
    \n
    \n \n
    \n \n
    \n
    \n \n

    \n ©{`${new Date().getFullYear()} Saleshandy`}\n

    \n
    \n \n \n);\n\nexport default Signup;\n","import { RouteComponentProps, withRouter } from 'react-router';\nimport Signup from './signup';\n\nexport type IProps = RouteComponentProps;\n\nexport default withRouter(Signup);\n","import validator from 'validator';\n\nexport const validate = (name, value) => {\n switch (name) {\n case 'fieldName':\n if (validator.isEmpty(value)) {\n return 'provide_field_name';\n }\n if (value.includes(',')) {\n return 'invalid_outcome_name';\n }\n break;\n default:\n return '';\n }\n\n return '';\n};\n","/* eslint-disable no-restricted-syntax */\nimport React from 'react';\nimport { withTranslation } from 'react-i18next';\nimport produce from 'immer';\nimport { validate } from './validator';\nimport Select from '../../../../../../shared/design-system/components/select';\nimport Input from '../../../../../../shared/design-system/components/input';\nimport Modal from '../../../../../../shared/design-system/components/atoms/modal';\nimport Icon from '../../../../../../shared/design-system/components/atoms/icon/icon';\n\nimport {\n CreateUpdateCustomFieldModalProps,\n CreateUpdateCustomFieldModalState,\n DropdownCreateUpdateOption,\n} from './types';\nimport { FieldType } from '../../../../enums/field';\nimport { CreateUpdateModalData } from '../../types';\nimport { capitalize } from '../../../../../../shared/utils';\nimport {\n OverlayTooltip,\n Placement,\n} from '../../../../../../shared/design-system/components/overlay';\nimport { Images } from '../../../../../../shared/app-constants';\nimport InputLabel from '../../../../../../shared/design-system/components/input/input-label';\n\nconst options: DropdownCreateUpdateOption[] = [\n { name: FieldType.Text, key: FieldType.Text },\n { name: FieldType.Number, key: FieldType.Number },\n { name: FieldType.LongText, key: FieldType.LongText },\n];\n\nclass CreateUpdateCustomFieldModal extends React.Component<\n CreateUpdateCustomFieldModalProps,\n CreateUpdateCustomFieldModalState\n> {\n constructor(props) {\n super(props);\n\n const { customField } = this.props;\n\n this.state = {\n values: {\n fieldName: customField ? customField.label : '',\n fallbackText: customField?.fallbackText ? customField.fallbackText : '',\n },\n errors: {\n fieldName: '',\n fallbackText: '',\n },\n dirty: {\n fieldName: false,\n fallbackText: false,\n },\n fieldType: customField ? customField.fieldType : FieldType.Text,\n isDefault: customField && customField.isDefault,\n };\n\n this.onInputChange = this.onInputChange.bind(this);\n this.onTextAreaChange = this.onTextAreaChange.bind(this);\n this.onInputBlur = this.onInputBlur.bind(this);\n this.onSubmit = this.onSubmit.bind(this);\n this.onSelectChange = this.onSelectChange.bind(this);\n }\n\n onInputChange(value, e) {\n const { name } = e.target;\n this.setState(\n produce((draft) => {\n draft.values[name] = value;\n draft.dirty[name] =\n name === 'fieldName' ? value.length > 100 : value.length > 255;\n }),\n );\n }\n\n onTextAreaChange(e) {\n const { value } = e.target;\n const name = 'fallbackText';\n\n this.setState(\n produce((draft) => {\n draft.values[name] = value;\n draft.dirty[name] = value.length > 10000;\n }),\n );\n }\n\n onSelectChange(option) {\n const { values, errors, dirty } = this.state;\n const { fallbackText } = values;\n const maxFallbackLength = option.name === FieldType.LongText ? 10000 : 255;\n const isFallbackDirty = fallbackText.length > maxFallbackLength;\n const fallbackError = isFallbackDirty\n ? validate('fallbackText', fallbackText)\n : '';\n\n this.setState({\n values: { ...values },\n fieldType: option.name,\n dirty: { ...dirty, fallbackText: isFallbackDirty },\n errors: { ...errors, fallbackText: fallbackError },\n });\n }\n\n onInputBlur(e) {\n const { name } = e.target;\n this.setState(\n produce((draft) => {\n if (draft.dirty[name]) {\n draft.errors[name] = validate(name, draft.values[name]);\n }\n }),\n );\n }\n\n onSubmit(e) {\n e.preventDefault();\n const { dirty, errors, values } = this.state;\n const dirtyKeys = Object.keys(dirty);\n\n const tempDirtyKeys = { ...dirty };\n const tempErrors = { ...errors };\n\n for (const key of dirtyKeys) {\n tempDirtyKeys[key] = true;\n }\n\n const keys = Object.keys(errors);\n let isError = false;\n\n for (const key of keys) {\n const error = validate(key, values[key]);\n tempErrors[key] = error;\n isError = isError || !!error;\n }\n\n if (isError) {\n this.setState({ errors: tempErrors, dirty: tempDirtyKeys });\n return;\n }\n\n const { fieldType } = this.state;\n const { onSave } = this.props;\n\n const payload: CreateUpdateModalData = {\n label: values.fieldName,\n fallbackText: values.fallbackText,\n type: fieldType,\n };\n\n onSave(payload);\n }\n\n render() {\n const { values, errors, isDefault, dirty, fieldType } = this.state;\n const {\n show,\n modalHeaderTitle,\n onClose,\n isRequestPending,\n t,\n disableDropdownBox,\n } = this.props;\n\n return (\n \n
    \n \n
    \n

    {modalHeaderTitle}

    \n
    \n }\n onClose={onClose}\n onSubmit={this.onSubmit}\n showCloseIcon={true}\n cancelButtonText={t(`Cancel`)}\n submitButtonText={t(`Save`)}\n isSubmitLoading={isRequestPending}\n isSubmitDisabled={\n isRequestPending || dirty.fieldName || dirty.fallbackText\n }\n backdrop=\"static\"\n extraModalProps={{\n centered: true,\n }}\n >\n
    \n \n
    \n {dirty.fieldName && (\n \n \"Alert\"\n {t('labels.prospect_label_error')}\n \n )}\n
    \n {t(`Field Type`)}{' '}\n \n options={options}\n selectedOptionKey={fieldType}\n optionFilterProp=\"name\"\n optionRenderer={(option) => (\n \n {option.key === FieldType.LongText\n ? 'Long Text'\n : capitalize(option?.name)}\n \n )}\n showOptionsSeparator={true}\n onChange={([option]) => {\n this.onSelectChange(option);\n }}\n selectedOptionRenderer={([option]) => (\n \n {option.key === FieldType.LongText\n ? 'Long Text'\n : capitalize(option?.name)}\n \n )}\n disabled={disableDropdownBox}\n />\n {fieldType === FieldType.LongText ? (\n
    \n
    \n \n \n \n \n
    \n \n
    \n {dirty.fallbackText && (\n \n \"Alert\"\n Fallback text must be shorter than or equal to 10000\n characters.\n \n )}\n
    \n
    \n ) : (\n <>\n \n
    \n \n
    \n \n \n
    \n {dirty.fallbackText && (\n \n \"Alert\"\n {t('labels.prospect_fallback_text_error')}\n \n )}\n
    \n \n )}\n
    \n
    \n \n );\n }\n}\n\nexport default withTranslation()(CreateUpdateCustomFieldModal);\n","import validator from 'validator';\n\nexport const validate = (name, value) => {\n switch (name) {\n case 'fieldName':\n if (validator.isEmpty(value)) {\n return 'provide_outcome_name';\n }\n if (value.includes(',')) {\n return 'invalid_outcome_name';\n }\n if (!validator.isLength(value, { max: 20, min: 1 })) {\n return 'outcome_field_name';\n }\n break;\n default:\n break;\n }\n\n return '';\n};\n","/* eslint-disable no-restricted-syntax */\nimport React from 'react';\nimport { withTranslation } from 'react-i18next';\nimport produce from 'immer';\nimport { UserStar } from '@saleshandy/icons';\nimport { validate } from './validator';\nimport Select from '../../../../../../shared/design-system/components/select';\nimport Input from '../../../../../../shared/design-system/components/input';\nimport Modal from '../../../../../../shared/design-system/components/atoms/modal';\n\nimport {\n CreateUpdateCustomOutcomeModalState,\n CreateUpdateCustomOutcomeModalProps,\n DropdownCreateUpdateOption,\n} from './types';\nimport { CreateUpdateModalData } from '../../types';\nimport { capitalize } from '../../../../../../shared/utils';\nimport { Images } from '../../../../../../shared/app-constants';\nimport {\n OutcomeSentiment,\n OutcomeSentimentBGColor,\n} from '../../../../enums/custom-outcome';\n\nconst options: DropdownCreateUpdateOption[] = [\n { name: OutcomeSentiment.Positive, key: OutcomeSentiment.Positive },\n { name: OutcomeSentiment.Negative, key: OutcomeSentiment.Negative },\n { name: OutcomeSentiment.Neutral, key: OutcomeSentiment.Neutral },\n];\n\nclass CreateUpdateCustomOutcomeModal extends React.Component<\n CreateUpdateCustomOutcomeModalProps,\n CreateUpdateCustomOutcomeModalState\n> {\n constructor(props) {\n super(props);\n\n const { customOutcome } = this.props;\n\n this.state = {\n values: {\n fieldName: customOutcome ? customOutcome.name : '',\n sentiment: customOutcome\n ? customOutcome.sentiment\n : OutcomeSentiment.Positive,\n },\n errors: {\n fieldName: '',\n sentiment: '',\n },\n dirty: {\n fieldName: false,\n sentiment: false,\n },\n isDefault: customOutcome && customOutcome.isDefault,\n };\n\n this.onInputChange = this.onInputChange.bind(this);\n this.onInputBlur = this.onInputBlur.bind(this);\n this.onSubmit = this.onSubmit.bind(this);\n this.onSelectChange = this.onSelectChange.bind(this);\n }\n\n onInputChange(value, e) {\n const { name } = e.target;\n this.setState(\n produce((draft) => {\n draft.values[name] = value;\n draft.dirty[name] = true;\n draft.errors[name] = validate(name, value);\n }),\n );\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n onSelectChange(_option: DropdownCreateUpdateOption) {\n const { values: stateValues, dirty: dirtyValues } = this.state;\n this.setState({\n values: { ...stateValues, sentiment: _option.key },\n dirty: { ...dirtyValues, sentiment: true },\n });\n }\n\n onInputBlur(e) {\n const { name } = e.target;\n this.setState(\n produce((draft) => {\n if (draft.dirty[name]) {\n draft.errors[name] = validate(name, draft.values[name]);\n }\n }),\n );\n }\n\n onSubmit(e) {\n e.preventDefault();\n const { dirty, errors, values } = this.state;\n const dirtyKeys = Object.keys(dirty);\n\n const tempDirtyKeys = { ...dirty };\n const tempErrors = { ...errors };\n\n for (const key of dirtyKeys) {\n tempDirtyKeys[key] = true;\n }\n\n const keys = Object.keys(errors);\n let isError = false;\n\n for (const key of keys) {\n const keyValue = values[key]?.trim();\n const error = validate(key, keyValue);\n tempErrors[key] = error;\n isError = isError || !!error;\n }\n\n if (isError) {\n this.setState({ errors: tempErrors, dirty: tempDirtyKeys });\n return;\n }\n\n const { onSave } = this.props;\n\n const payload: CreateUpdateModalData = {\n label: values.fieldName,\n sentiment: values.sentiment,\n };\n\n onSave(payload);\n }\n\n isSubmitDisabled() {\n const { values, errors, dirty } = this.state;\n const { isRequestPending, customOutcome } = this.props;\n\n return (\n isRequestPending ||\n !(dirty.fieldName || dirty.sentiment) ||\n (values.fieldName === customOutcome?.name &&\n values.sentiment === customOutcome?.sentiment) ||\n !!errors.fieldName ||\n !!errors.sentiment\n );\n }\n\n render() {\n const { values, errors, isDefault } = this.state;\n const {\n show,\n modalHeaderTitle,\n onClose,\n isRequestPending,\n t,\n disableDropdownBox,\n } = this.props;\n\n return (\n \n
    \n \n
    \n

    {modalHeaderTitle}

    \n \n }\n onClose={onClose}\n onSubmit={this.onSubmit}\n showCloseIcon={false}\n cancelButtonText={t(`Cancel`)}\n submitButtonText={t(`Save`)}\n isSubmitLoading={isRequestPending}\n isSubmitDisabled={this.isSubmitDisabled()}\n backdrop=\"static\"\n showSeparator={true}\n extraModalProps={{\n centered: true,\n }}\n >\n
    \n \n
    \n {errors.fieldName && (\n \n \"Alert\"\n {t(`messages.${errors.fieldName}`)}\n \n )}\n
    \n {t(`Sentiment`)}{' '}\n \n options={options}\n selectedOptionKey={values.sentiment}\n optionRenderer={(option) => {\n if (option) {\n return (\n
    \n \n
    {capitalize(option.name)}
    \n
    \n );\n }\n return '-';\n }}\n showOptionsSeparator={true}\n onChange={([option]) => {\n this.onSelectChange(option);\n }}\n selectedOptionRenderer={([option]) => {\n if (option) {\n return (\n
    \n \n
    {capitalize(option.name)}
    \n
    \n );\n }\n return '-';\n }}\n disabled={disableDropdownBox}\n />\n
    \n \n );\n }\n}\n\nexport default withTranslation()(CreateUpdateCustomOutcomeModal);\n","import React from 'react';\nimport { Container } from 'react-bootstrap';\nimport { Redirect, Route, Switch } from 'react-router-dom';\nimport { IProps } from './type';\nimport Suspense from '../../shared/components/suspense';\nimport ErrorBoundaryWrapper from '../../shared/components/error-boundary-wrapper';\nimport retryLazy from '../retry-lazy';\nimport SequenceScore from './components/sequence-single-content/components/sequence-score';\n\nconst SequenceList = React.lazy(() =>\n retryLazy(() => import('./components/sequence-list')),\n);\nconst SequenceSingle = React.lazy(() =>\n retryLazy(() => import('./components/sequence-single')),\n);\n\nconst Sequence: React.FC = () => (\n \n \n \n \n \n \n {/* \n \n \n */}\n {/* */}\n \n \n \n \n \n);\n\nexport default Sequence;\n","import React from 'react';\nimport { Container } from 'react-bootstrap';\nimport { Redirect, Route, Switch } from 'react-router-dom';\nimport { IProps } from './types';\nimport Suspense from '../../shared/components/suspense';\nimport ErrorBoundaryWrapper from '../../shared/components/error-boundary-wrapper';\nimport retryLazy from '../retry-lazy';\n\nconst ProspectList = React.lazy(() =>\n retryLazy(() => import('./components/prospect-list')),\n);\n\nconst ProspectListContent = React.lazy(() =>\n retryLazy(() => import('./components/prospect-list-content')),\n);\n\nconst Prospect: React.FC = () => (\n \n \n \n \n \n \n \n \n \n \n);\n\nexport default Prospect;\n","import React from 'react';\nimport { Container } from 'react-bootstrap';\nimport { Redirect, Route, Switch } from 'react-router-dom';\nimport { MailboxEmailsProps } from './type';\nimport Suspense from '../../shared/components/suspense';\nimport ErrorBoundaryWrapper from '../../shared/components/error-boundary-wrapper';\nimport retryLazy from '../retry-lazy';\n\nconst MailboxEmailsList = React.lazy(() =>\n retryLazy(() => retryLazy(() => import('./components/mailbox-emails-list'))),\n);\n\nconst MailboxEmails: React.FC = () => (\n \n \n \n \n \n \n \n \n \n \n);\n\nexport default MailboxEmails;\n","import React, { memo } from 'react';\nimport { isEqual } from 'lodash';\nimport { Container } from 'react-bootstrap';\nimport { Redirect, Route, Switch } from 'react-router-dom';\nimport { IProps } from './types';\nimport Suspense from '../../shared/components/suspense';\nimport ErrorBoundaryWrapper from '../../shared/components/error-boundary-wrapper';\nimport retryLazy from '../retry-lazy';\n\nconst ReportsContent = React.lazy(() =>\n retryLazy(() => import('./components/reports-content')),\n);\n\nconst Reports: React.FC = () => (\n \n \n \n \n \n \n \n \n \n \n \n);\n\nfunction isPropsAreEqual(prevProps: IProps, nextProps: IProps) {\n return isEqual(prevProps, nextProps);\n}\n\nexport default memo(Reports, isPropsAreEqual);\n","import React from 'react';\nimport { Redirect, Route, Switch } from 'react-router';\nimport { IProps } from './types/templates';\nimport Suspense from '../../shared/components/suspense';\nimport ErrorBoundaryWrapper from '../../shared/components/error-boundary-wrapper';\nimport retryLazy from '../retry-lazy';\n\nconst TemplatesContent = React.lazy(() =>\n retryLazy(() => import('./components')),\n);\n\nconst Templates: React.FC = () => (\n
    \n \n \n \n \n \n \n \n \n
    \n);\n\nexport default Templates;\n","import React from 'react';\nimport { Container } from 'react-bootstrap';\nimport { Redirect, Route, Switch } from 'react-router-dom';\nimport { UnifiedInboxProps } from './type';\nimport Suspense from '../../shared/components/suspense';\nimport ErrorBoundaryWrapper from '../../shared/components/error-boundary-wrapper';\nimport retryLazy from '../retry-lazy';\n\nconst UnifiedInboxContent = React.lazy(() =>\n retryLazy(() => import('./components/unified-inbox-content')),\n);\n\nconst UnifiedInbox: React.FC = () => (\n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default UnifiedInbox;\n","import React from 'react';\nimport { Container } from 'react-bootstrap';\nimport { Redirect, Route, Switch } from 'react-router-dom';\n\nimport retryLazy from '../retry-lazy';\n\nimport Suspense from '../../shared/components/suspense';\nimport ErrorBoundaryWrapper from '../../shared/components/error-boundary-wrapper';\n\nimport { IProps } from './type';\n\nconst EmailAccountsContent = React.lazy(() =>\n retryLazy(() => import('./components/email-accounts-content')),\n);\n\nconst UpdateEmailAccount = React.lazy(() =>\n retryLazy(\n () =>\n import(\n './components/email-accounts-content/components/update-email-account'\n ),\n ),\n);\n\nconst CreateEmailInfrastructure = React.lazy(() =>\n retryLazy(() => import('./components/create-email-infrastructure')),\n);\n\nconst AddEmailAccounts = React.lazy(() =>\n retryLazy(() => import('./components/add-email-accounts')),\n);\n\nconst CreateConnectEmailAccount = React.lazy(() =>\n retryLazy(() => import('./components/create-connect-email-account')),\n);\n\nconst EmailAccounts: React.FC = () => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default EmailAccounts;\n","import React, { useState } from 'react';\nimport { IntercomEvents } from '../../enums/intercom-events';\nimport { Cross, MessageCircle } from '../../svg';\nimport { AuthHelper } from '../../utils';\n\nconst HelpscoutButton = () => {\n const [isHelpscoutBeaconOpen, setIsHelpscoutBeaconOpen] = useState(false);\n\n const intercomHelperFunction = () => {\n if (window.Intercom && !isHelpscoutBeaconOpen) {\n window.Intercom(IntercomEvents.SHOW, IntercomEvents.ON_SHOW, () => {\n setIsHelpscoutBeaconOpen(true);\n });\n }\n if (window.Intercom && isHelpscoutBeaconOpen) {\n window.Intercom(IntercomEvents.HIDE, IntercomEvents.ON_HIDE, () => {\n setIsHelpscoutBeaconOpen(false);\n });\n }\n };\n\n const onIntercomScoutToggle = () => {\n setIsHelpscoutBeaconOpen(!isHelpscoutBeaconOpen);\n intercomHelperFunction();\n };\n\n if (window.Intercom) {\n window.Intercom(IntercomEvents.ON_SHOW, () => {\n setIsHelpscoutBeaconOpen(true);\n });\n window.Intercom(IntercomEvents.ON_HIDE, () => {\n setIsHelpscoutBeaconOpen(false);\n });\n }\n\n return (\n \n {isHelpscoutBeaconOpen ? : }\n \n );\n};\n\nexport default HelpscoutButton;\n","import React from 'react';\nimport { withTranslation, useTranslation } from 'react-i18next';\nimport CreateUpdateCustomFieldModal from '../..';\nimport { CreateProspectCustomFieldModalProps } from './types';\n\nconst CreateProspectCustomFieldModal: React.FC = (\n props,\n) => {\n const { t } = useTranslation();\n return (\n \n );\n};\n\nexport default withTranslation()(CreateProspectCustomFieldModal);\n","import React from 'react';\nimport { withTranslation, useTranslation } from 'react-i18next';\nimport CreateUpdateCustomOutcomeModal from '../..';\nimport { CreateProspectCustomOutcomeModalProps } from './types';\n\nconst CreateProspectCustomOutcomeModal: React.FC = (\n props,\n) => {\n const { t } = useTranslation();\n return (\n \n );\n};\n\nexport default withTranslation()(CreateProspectCustomOutcomeModal);","import React, { useState, useRef, useEffect } from 'react';\nimport { Mail } from '@saleshandy/icons';\nimport { Avatar } from '@saleshandy/design-system';\nimport { Pencil } from '@saleshandy/icons';\nimport classNames from 'classnames';\nimport { saveProspectDealValue } from '../../../../../components/sequence/helpers/sequence.api';\nimport { OverlayTooltip, Placement } from '../../overlay';\nimport toaster from '../../../../toaster';\nimport { trimLeadingZeros } from '../../../../utils/trim-leading-zeros';\nimport { getOutcomeIcon } from '../../../../../components/sequence/components/sequence-single-content/components/sequence-single-contacts/components/contact-list-content/components/helpers/step-filter-mapper';\nimport {\n getOptionFromOutcome,\n mapOutcomeToOption,\n} from '../../../../../components/sequence/components/sequence-single-content/components/sequence-single-contacts/components/prospect-outcome-select/utils/helper';\nimport GenericCustomOutcomeDropdown from '../../../../../components/settings/components/custom-outcomes/components/custom-outcome-dropdown';\n\nconst CellCard = ({ list, bulkText, isOutcomeVisible = true }) => {\n const initialDealValue = list[0]?.sequenceProspectDealValue\n ? `$${list[0].sequenceProspectDealValue}`\n : `$0`;\n\n const iconContainerRef = useRef(null);\n const inputRef = useRef(null);\n\n const [dealValue, setDealValue] = useState(initialDealValue);\n const [isEditMode, setEditMode] = useState(false);\n const [isEdited, setIsEdited] = useState(false);\n const [selectedOutcome, setSelectedOutcome] = useState(null);\n\n const calculateInputWidth = (inputValue) => {\n const initialInputValue = `$ ${inputValue.substr(1)}`;\n const inputElement = inputRef.current;\n const characterWidth = 14 * 0.6;\n const minWidth = 5;\n let initialWidth = Math.max(\n minWidth,\n initialInputValue.length * characterWidth,\n );\n if (initialWidth < characterWidth * 3) {\n initialWidth = characterWidth * 3;\n }\n if (inputElement) {\n inputElement.style.width = `${initialWidth + 10}px`;\n }\n };\n const onInputChange = (event) => {\n const { value } = event.target;\n setIsEdited(true);\n let updatedValue = value;\n if (updatedValue.charAt(0) !== '$') {\n updatedValue = `$ ${updatedValue.substr(1)}`;\n }\n\n const isValidInput = /^\\$\\s?\\d*$/.test(updatedValue);\n if (isValidInput) {\n setDealValue(updatedValue);\n calculateInputWidth(updatedValue);\n }\n };\n\n const deactivateEditMode = async () => {\n setEditMode(false);\n };\n\n const onRevert = () => {\n const previousTitle = '$1000';\n setDealValue(previousTitle);\n inputRef.current.blur();\n deactivateEditMode();\n };\n\n const onInputKeyPress = (event) => {\n if (event.key === 'Enter') {\n inputRef.current.blur();\n } else if (event.key === 'Escape') {\n onRevert();\n }\n };\n\n useEffect(() => {\n const handleOutsideClick = (event) => {\n if (\n iconContainerRef.current &&\n !iconContainerRef.current.contains(event.target)\n ) {\n deactivateEditMode();\n }\n };\n document.addEventListener('mousedown', handleOutsideClick);\n return () => {\n document.removeEventListener('mousedown', handleOutsideClick);\n };\n }, []);\n\n useEffect(() => {\n calculateInputWidth(initialDealValue);\n }, [initialDealValue]);\n\n useEffect(() => {\n calculateInputWidth(dealValue);\n }, [dealValue]);\n\n useEffect(() => {\n calculateInputWidth(dealValue);\n }, [selectedOutcome]);\n\n const onSave = async () => {\n if (dealValue.trim().length > 1) {\n const { prospectId } = list[0];\n const sequenceId = list[0]?.id;\n deactivateEditMode();\n\n if (isEdited) {\n let trimmedValue = trimLeadingZeros(parseInt(dealValue.substr(1), 10));\n trimmedValue = `$${trimmedValue}`;\n setDealValue(trimmedValue);\n calculateInputWidth(trimmedValue);\n try {\n await saveProspectDealValue(\n sequenceId,\n parseInt(prospectId, 10),\n parseInt(trimmedValue.substr(1), 10),\n );\n toaster.success('Deal value updated successfully');\n } catch (err) {\n toaster.error('Deal value updation failed');\n }\n setIsEdited(false);\n }\n } else {\n setDealValue(initialDealValue);\n calculateInputWidth(initialDealValue);\n }\n };\n\n const onInputBlur = () => {\n onSave();\n };\n\n const activateEditMode = () => {\n setEditMode(true);\n };\n\n const handleDealIcon = () => {\n if (inputRef.current) {\n // Do something with the input box, for example, focus it\n inputRef.current.focus();\n }\n activateEditMode();\n };\n\n const isDealValueVisible = (outcomeId: number) => {\n if (selectedOutcome) {\n return (\n [2, 4, 6].includes(outcomeId) && [2, 4, 6].includes(selectedOutcome?.id)\n );\n }\n\n return [2, 4, 6].includes(outcomeId);\n };\n\n const iconClassNames = classNames('gray-txt-12', 'regular-4', {\n 'icon-deal-remove': isEditMode,\n 'deal-icon-wrap': !isEditMode,\n });\n\n const inputValueClassNames = classNames(\n 'deal-value-input',\n 'popover-arrow-color-txt',\n {\n 'deal-value-icon-btn-cls-border': !isEditMode,\n 'deal-value-icon-btn-cls': isEditMode,\n },\n );\n\n let component = [];\n if (list.length < 3) {\n component = list.map(\n ({\n id,\n value,\n prospectId,\n outcomeId,\n stepNumber,\n userFirstName,\n userLastName,\n sequenceProspectDealValue,\n allOutcomes,\n }) => (\n
    \n
    \n \n {stepNumber}\n \n {value}\n \n
    \n\n {isOutcomeVisible && (\n
    \n \n {\n setSelectedOutcome(option);\n }}\n changeOutcomeRequestPayload={{\n sequenceId: id,\n prospectId,\n }}\n initialSelectedOption={getOptionFromOutcome(\n allOutcomes,\n outcomeId,\n )}\n optionRenderer={(option) => (\n
    \n {getOutcomeIcon(option?.name, false, {\n isDefault: option.isDefault,\n sentiment: option.sentiment,\n })}\n {option.name}\n
    \n )}\n />\n {isDealValueVisible(outcomeId) &&\n sequenceProspectDealValue !== null && (\n
    \n \n \n \n \n
    \n )}\n
    \n )}\n
    \n ),\n );\n } else {\n const nameList = list.map(({ value, index }) => (\n
    {value}
    \n ));\n component[0] = (\n \n
    {`${list.length} ${bulkText}`}
    \n \n );\n }\n\n return {component};\n};\n\nexport default CellCard;\n","/* eslint-disable jsx-a11y/label-has-associated-control */\nimport React from 'react';\nimport { ToggleButtonRadioProps } from 'react-bootstrap';\nimport { ForwardRef } from '../../../../types/forward-ref';\nimport { accessibleOnClick } from '../../../../utils/accessible-on-click';\n\nexport type Option = {\n label: string;\n value: any;\n disabled?: boolean;\n};\n\ntype RadioButtonGroupProps = Omit<\n ToggleButtonRadioProps,\n 'value' | 'onChange' | 'name'\n> & {\n options: Option[];\n value: any;\n onChange: (value: any, event: React.ChangeEvent) => void;\n className?: string;\n disabledLabel?: string;\n};\n\nconst RadioButtonTransfer = React.forwardRef<\n HTMLDivElement,\n RadioButtonGroupProps\n>(({ options, value, onChange, className, disabledLabel }) => (\n
    \n
    \n {options.map((option, index) => (\n <>\n \n onChange(option.value, e))}\n >\n {option.label}\n \n \n ))}\n \n
    \n
    \n)) as ForwardRef;\n\nexport default RadioButtonTransfer;\n","import React from 'react';\nimport Icon from '../icon';\n\nconst WarningMessage = ({ message, className }) => (\n
    \n \n \n \n {message}\n
    \n);\n\nexport default WarningMessage;\n","/* eslint-disable @typescript-eslint/no-unused-vars */\nimport classNames from 'classnames';\nimport React, { useEffect, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport {\n getIsEmailOutreachProPlan,\n getNumberOfSlotsUserWant,\n} from '../../../../../components/settings/components/billing-subscription/components/upgrade-plan/utils/helper';\nimport { BillingOption } from '../../../../utils/billing-options';\nimport { SubscriptionPlans } from '../../../../utils/subscription-plans';\n\nimport InputNumber from '../../input-number';\nimport { checkIsLtdPlan } from '../subscription-plan-details/helper/helper';\nimport { IProps } from './types';\n\nconst UpgradePlanDetails: React.FC = ({\n planDetailHeading,\n planName,\n planDescription,\n planPrice,\n billingOption,\n numberOfSlotsUserWant,\n numberOfSlotsUserHave,\n minimumNumberOfSlotsUserCanHave,\n onNumberOfSlotsChange,\n selectedPlanDetails,\n licensesText,\n isBillingSummaryPending,\n isUserModifyingSubscription: isModifySubscription,\n sendModifySubscriptionRequest,\n}) => {\n const { t } = useTranslation();\n const [numberOfAccounts, setNumberOfAccounts] = useState(null);\n const [isSlotInputDisabled, setIsSlotInputDisabled] = useState(false);\n\n const [\n showNumberInputWarningText,\n setShowNumberInputWarningText,\n ] = useState(false);\n\n useEffect(() => {\n if (\n billingOption === BillingOption.LIFETIME &&\n selectedPlanDetails?.planCode ===\n SubscriptionPlans.EMAIL_OUTREACH_LIFETIME\n ) {\n setNumberOfAccounts(1);\n setIsSlotInputDisabled(true);\n } else {\n setNumberOfAccounts(numberOfSlotsUserWant);\n }\n }, [numberOfSlotsUserWant]);\n\n const onChangeHandler = (value) => {\n if (\n billingOption === BillingOption.LIFETIME &&\n selectedPlanDetails?.planCode ===\n SubscriptionPlans.EMAIL_OUTREACH_PRO_LIFETIME\n ) {\n // if (value > 20) {\n // setShowNumberInputWarningText(true);\n // } else {\n setNumberOfAccounts(value);\n onNumberOfSlotsChange(value);\n setShowNumberInputWarningText(false);\n // }\n } else if (value >= minimumNumberOfSlotsUserCanHave) {\n setNumberOfAccounts(value);\n onNumberOfSlotsChange(value);\n setShowNumberInputWarningText(false);\n } else {\n setShowNumberInputWarningText(true);\n }\n };\n\n const getMemberText = (member: number) => {\n if (member === 1) {\n return 'member';\n }\n\n return 'members';\n };\n\n const planPriceDetailClassName = classNames([\n 'd-flex flex-column mt-1',\n {\n 'mt-3': billingOption === BillingOption.LIFETIME,\n },\n ]);\n\n const numberOfSlots = getNumberOfSlotsUserWant(\n numberOfAccounts,\n minimumNumberOfSlotsUserCanHave,\n );\n\n return (\n
    \n
    \n
    \n
    \n
    \n \n {planDetailHeading && t(`messages.${planDetailHeading}`)}\n \n

    {planName}

    \n
    \n
    \n
    \n $\n {planPrice}\n
    \n per slot\n {billingOption !== BillingOption.LIFETIME && (\n per month\n )}\n
    \n
    \n
    \n
    \n

    \n {t(`messages.${planDescription}`)}\n

    \n\n
    \n
    \n onChangeHandler(v)}\n disabled={isBillingSummaryPending || isSlotInputDisabled}\n // {...(getIsEmailOutreachProPlan(\n // selectedPlanDetails,\n // billingOption,\n // ) &&\n // {\n // max: 20,\n // showUpHandlerWithTooltip: true,\n // upHandlerTooltipText:\n // 'The maximum number of slots allowed in this plan is 20. You cannot exceed the limit from here.',\n // })}\n min={\n checkIsLtdPlan(selectedPlanDetails?.planType)\n ? numberOfSlotsUserHave\n : minimumNumberOfSlotsUserCanHave || 1\n }\n {...(!checkIsLtdPlan(selectedPlanDetails?.planType) && {\n showDownHandlerWithTooltip: true,\n downHandlerTooltipText:\n \"You can't reduce the user slots below the number of existing team members and email accounts. Please remove the equivalent number of slots from your account to decrease your slots.\",\n })}\n className=\"slot-input\"\n />\n \n {t(`messages.${licensesText}`)}\n \n
    \n\n

    \n {numberOfSlots < 2 ? (\n \n With 1 slot, you can connect 1 email account\n only.\n \n ) : (\n \n With{' '}\n \n {getNumberOfSlotsUserWant(\n numberOfAccounts,\n minimumNumberOfSlotsUserCanHave,\n )}\n {' '}\n slots, you and your team members combined can connect{' '}\n {numberOfSlots} email accounts + you can invite{' '}\n {numberOfSlots - 1} team{' '}\n {getMemberText(numberOfSlots - 1)} for free.\n \n )}\n

    \n\n {showNumberInputWarningText && (\n

    \n {t('messages.number_input_alert_message')}\n

    \n )}\n
    \n
    \n
    \n
    \n );\n};\n\nexport default UpgradePlanDetails;\n","import React from 'react';\nimport classNames from 'classnames';\nimport { BillingOption } from '../../../../utils/billing-options';\nimport { accessibleOnClick } from '../../../../utils/accessible-on-click';\n\nexport const billingOptions = [\n { label: 'Monthly', value: BillingOption.MONTHLY },\n // { label: 'Quarterly', value: BillingOption.QUARTERLY, discount: 10 },\n { label: 'Annually', value: BillingOption.ANNUALLY, discount: 20 },\n];\n\ntype IProps = {\n value: BillingOption;\n onChange: (value: BillingOption) => void;\n disabledLabel: string;\n};\n\nconst PlanCycleSwitch: React.FC = ({\n value,\n onChange,\n disabledLabel,\n}) => {\n const getOptionClassNames = (option) =>\n classNames([\n 'plan-cycle-switch--option',\n `${option.value}`,\n {\n selected: value === option.value,\n disabled: disabledLabel === option.label,\n },\n ]);\n\n return (\n
    \n {billingOptions.map((option) => (\n {\n if (disabledLabel !== option.label) {\n onChange(option.value);\n }\n })}\n >\n \n {option.label}\n \n {option.discount && (\n \n Save {option.discount}%\n \n )}\n
    \n ))}\n\n \n \n );\n};\n\nexport default PlanCycleSwitch;\n","export const getSequenceReportCellData = (value) => {\n if (value && value !== null) {\n return value;\n }\n return 0;\n};\nexport const getSequenceReportCellDataWithPercentage = (value) => {\n if (value && value !== null) {\n return `(${value}%)`;\n }\n return '(0%)';\n};\n\nexport const getSequenceReportCellDataWithDealValue = (\n value,\n showZeroDealValue = false,\n) => {\n if (value && value !== null) {\n return `$${value}`;\n }\n if (Number(value) === 0 && showZeroDealValue) {\n return `$0`;\n }\n return '';\n};\n\nexport const getSelectedColumns = (key: string) =>\n JSON.parse(localStorage.getItem(key));\n\nexport const setSelectedColumns = (key: string, cols: number[]) =>\n localStorage.setItem(key, JSON.stringify(cols));\n\nconst sequenceReportsFilter = 'sequence-reports-filter';\nconst teamPerformanceFilters = 'team-performance-filters';\n\nexport const getSequenceReportsFilters = () => {\n const filters = localStorage.getItem(sequenceReportsFilter);\n\n if (filters) {\n return JSON.parse(filters);\n }\n\n return null;\n};\nexport const setSequenceReportsFiltersToLocalStore = (filters) =>\n localStorage.setItem(sequenceReportsFilter, JSON.stringify(filters));\nexport const removeSequenceReportsFilters = () =>\n localStorage.removeItem(sequenceReportsFilter);\n\nexport const getTeamPerformanceFilters = () => {\n const filters = localStorage.getItem(teamPerformanceFilters);\n\n if (filters) {\n return JSON.parse(filters);\n }\n\n return null;\n};\n\nexport const setTeamPerformanceFilters = (filters) =>\n localStorage.setItem(teamPerformanceFilters, JSON.stringify(filters));\n\nexport const removeTeamPerformanceFilters = () =>\n localStorage.removeItem(teamPerformanceFilters);\n","import map from 'lodash/map';\nimport { FilterProperties } from '../../../../../../../shared/types/prospects-filters';\nimport {\n EmailFilter,\n EmailFilters,\n} from '../components/email-filter-modal/types';\n\nexport const setSequenceEmailsFiltersInLocalStore = (filters: EmailFilter) => {\n localStorage.setItem('s-e-f', JSON.stringify(filters));\n};\n\nexport const getSequenceEmailsFiltersFromLocalStore = (): EmailFilter =>\n JSON.parse(localStorage.getItem('s-e-f'));\n\nexport const removeSequenceEmailsFiltersFromLocalStore = (): void => {\n localStorage.removeItem('s-e-f');\n};\n\n// To separate filters when displayed on UI\nexport const filterSeparator = ', ';\n\nexport const emailFilterToProperties: Record = {\n emailAccountIds: {\n displayNameKey: 'fromEmail',\n valueKey: 'id',\n separator: filterSeparator,\n displayLabel: 'Sender Email',\n },\n variantNumbers: {\n displayNameKey: 'value',\n valueKey: 'id',\n separator: filterSeparator,\n displayLabel: 'Email Variants',\n },\n sentAt: {\n displayNameKey: 'displayDate',\n valueKey: 'date',\n separator: ' - ',\n displayLabel: 'Sent Date',\n },\n};\n\nexport const getFilterValues = (\n filterName: EmailFilters,\n filter: EmailFilter,\n): string[] => map(filter, emailFilterToProperties[filterName].valueKey);\n\nexport const resolveSequenceEmailsFilters = (\n appliedFilters: Record,\n): Record => {\n const payload: Record = {\n emailAccountIds: '',\n variantNumbers: '',\n sentAt: '',\n };\n\n Object.entries(appliedFilters).forEach(([filter, values]) => {\n payload[filter] = '';\n const filterValues: any = [...values];\n\n const filterVal = getFilterValues(\n filter as EmailFilters,\n filterValues,\n ).join(',');\n filterVal && (payload[filter] += filterVal);\n });\n\n return payload;\n};\n\nexport const getSequenceEmailParams = (\n params: Record,\n filters: EmailFilter,\n) => {\n // Resolving the applied filters to query string\n const {\n emailAccountIds,\n variantNumbers,\n sentAt,\n } = resolveSequenceEmailsFilters(filters);\n\n // Adding them to params\n emailAccountIds && (params.emailAccountIds = emailAccountIds);\n variantNumbers && (params.variantNumbers = variantNumbers);\n sentAt && (params.sentAt = sentAt);\n\n return params;\n};\n\nexport const areSequenceEmailFiltersApplied = (filters: EmailFilter): boolean =>\n Object.values(filters).some((value) => value.length);\n","/* eslint-disable @typescript-eslint/no-shadow */\nimport { DateTime, Duration } from 'luxon';\nimport { Granularity, ReportCountBy, ReportsBy } from '../../../enums/reports';\n\nexport const templateOptions = [\n {\n label: 'Prospect',\n key: ReportsBy.ByProspects,\n },\n {\n label: `Email`,\n key: ReportsBy.ByEmail,\n },\n];\nexport const graphTypeOptions = [\n {\n label: 'Relative',\n key: ReportCountBy.Relative,\n },\n {\n label: `Absolute`,\n key: ReportCountBy.Absolute,\n },\n];\nexport const timeFrameOptions = [\n {\n label: 'Daily',\n value: Granularity.Daily,\n applicable: (duration: Duration) =>\n duration.days >= 0 && duration.days < 180,\n },\n {\n label: 'Weekly',\n value: Granularity.Weekly,\n applicable: (duration: Duration) => duration.days > 7,\n },\n {\n label: 'Monthly',\n value: Granularity.Monthly,\n applicable: (duration: Duration) => duration.days > 30,\n },\n {\n label: 'Quarterly',\n value: Granularity.Quarterly,\n applicable: (duration: Duration) => duration.days > 90,\n },\n];\n\nexport const transformGraphDataResponse = (data) => {\n if (!data) {\n return null;\n }\n\n const parseData = {\n dates: data?.map((item) => item.date),\n contacted: data?.map((item) => parseInt(item.prospectContacted, 10)),\n opened: data?.map((item) => parseInt(item.opened, 10)),\n replies: data?.map((item) => parseInt(item.replied, 10)),\n unsubscribed: data?.map((item) => parseInt(item.unSubscribed, 10)),\n positiveSentiment: data?.map((item) => parseInt(item.positive, 10)),\n negativeSentiment: data?.map((item) => parseInt(item.negative, 10)),\n };\n\n return parseData;\n};\n\nexport const transformEmailGraphDataResponse = (data) => {\n if (!data) {\n return null;\n }\n\n const parseData = {\n dates: data?.map((item) => item.date),\n emailSent: data?.map((item) => parseInt(item.emailSent, 10)),\n opened: data?.map((item) => parseInt(item.opened, 10)),\n replies: data?.map((item) => parseInt(item.replied, 10)),\n bounced: data?.map((item) => parseInt(item.bounced, 10)),\n };\n\n return parseData;\n};\n\nexport const aggregateData = (\n data,\n interval: Granularity,\n reportsBy: ReportsBy,\n) => {\n const initialProspectData = {\n dates: [],\n contacted: [],\n opened: [],\n replies: [],\n positiveSentiment: [],\n negativeSentiment: [],\n unsubscribed: [],\n };\n const initialEmailData = {\n dates: [],\n emailSent: [],\n opened: [],\n replies: [],\n bounced: [],\n };\n\n const initialProspectPeriodData = {\n contacted: 0,\n opened: 0,\n replies: 0,\n positiveSentiment: 0,\n negativeSentiment: 0,\n unsubscribed: 0,\n };\n const initialEmailPeriodData = {\n emailSent: 0,\n opened: 0,\n replies: 0,\n bounced: 0,\n };\n\n if (!data) {\n return null;\n }\n\n if (interval === Granularity.Daily) {\n return data;\n }\n\n const aggregated: any =\n reportsBy === ReportsBy.ByProspects\n ? initialProspectData\n : initialEmailData;\n let currentPeriod = null;\n let periodData: any =\n reportsBy === ReportsBy.ByProspects\n ? initialProspectPeriodData\n : initialEmailPeriodData;\n\n data.dates.forEach((date, index) => {\n const currentDate = DateTime.fromJSDate(new Date(date));\n\n const transformationMap = {\n [Granularity.Weekly]: (currentDate) => currentDate.startOf('week'),\n [Granularity.Monthly]: (currentDate) => currentDate.startOf('month'),\n [Granularity.Quarterly]: (currentDate) => currentDate.startOf('quarter'),\n };\n\n let newPeriod;\n // eslint-disable-next-line prefer-const\n newPeriod = transformationMap[interval](currentDate).toString();\n\n // if (interval === Granularity.Weekly) {\n // newPeriod = `${currentDate.year}-W${currentDate.weekNumber}`;\n // } else if (interval === Granularity.Monthly) {\n // newPeriod = `${currentDate.year}-${currentDate.month\n // .toString()\n // .padStart(2, '0')}`;\n // } else if (interval === Granularity.Quarterly) {\n // newPeriod = `${currentDate.year}-Q${currentDate.quarter}`;\n // }\n if (newPeriod !== currentPeriod) {\n if (currentPeriod) {\n aggregated.dates.push(currentPeriod);\n aggregated.opened.push(periodData.opened);\n aggregated.replies.push(periodData.replies);\n\n if (reportsBy === ReportsBy.ByProspects) {\n aggregated.contacted.push(periodData.contacted);\n aggregated.positiveSentiment.push(periodData.positiveSentiment);\n aggregated.negativeSentiment.push(periodData.negativeSentiment);\n aggregated.unsubscribed.push(periodData.unsubscribed);\n }\n\n if (reportsBy === ReportsBy.ByEmail) {\n aggregated.emailSent.push(periodData.emailSent);\n aggregated.bounced.push(periodData.bounced);\n }\n }\n currentPeriod = newPeriod;\n periodData =\n reportsBy === ReportsBy.ByProspects\n ? { ...initialProspectPeriodData }\n : { ...initialEmailPeriodData };\n }\n\n periodData.opened += data?.opened?.[index];\n periodData.replies += data?.replies?.[index];\n\n if (reportsBy === ReportsBy.ByProspects) {\n periodData.contacted += data?.contacted?.[index] || 0;\n periodData.positiveSentiment += data?.positiveSentiment?.[index] || 0;\n periodData.negativeSentiment += data?.negativeSentiment?.[index] || 0;\n periodData.unsubscribed += data?.unsubscribed?.[index] || 0;\n }\n\n if (reportsBy === ReportsBy.ByEmail) {\n periodData.emailSent += data?.emailSent?.[index] || 0;\n periodData.bounced += data?.bounced?.[index] || 0;\n }\n });\n // Add the last period\n if (currentPeriod) {\n aggregated.dates.push(currentPeriod);\n aggregated.opened.push(periodData.opened);\n aggregated.replies.push(periodData.replies);\n\n if (reportsBy === ReportsBy.ByProspects) {\n aggregated.contacted.push(periodData.contacted);\n aggregated.positiveSentiment.push(periodData.positiveSentiment);\n aggregated.negativeSentiment.push(periodData.negativeSentiment);\n aggregated.unsubscribed.push(periodData.unsubscribed);\n }\n\n if (reportsBy === ReportsBy.ByEmail) {\n aggregated.emailSent.push(periodData.emailSent);\n aggregated.bounced.push(periodData.bounced);\n }\n }\n\n return aggregated;\n};\n\nexport const getGraphTooltips = (reportsBy: ReportsBy) =>\n reportsBy === ReportsBy.ByProspects\n ? [\n 'Contacted',\n 'Opened',\n 'Replies',\n 'Positive Sentiment',\n 'Negative Sentiment',\n 'Unsubscribed',\n ]\n : ['Email Sent', 'Opened', 'Replies', 'Bounced'];\n\nconst prospectGraphColors = [\n {\n name: 'Contacted',\n colorCode: '#60A5FA',\n },\n {\n name: 'Opened',\n colorCode: '#C67FFF',\n },\n {\n name: 'Replies',\n colorCode: '#9BFFB2',\n },\n {\n name: 'Positive Sentiment',\n colorCode: '#3FE28A',\n },\n {\n name: 'Negative Sentiment',\n colorCode: '#FF623F',\n },\n {\n name: 'Unsubscribed',\n colorCode: '#FFA800',\n },\n];\n\nconst emailGraphColors = [\n {\n name: 'Email Sent',\n colorCode: '#60A5FA',\n },\n {\n name: 'Opened',\n colorCode: '#C67FFF',\n },\n {\n name: 'Replies',\n colorCode: '#9BFFB2',\n },\n {\n name: 'Bounced',\n colorCode: '#FFA800',\n },\n];\n\nexport const selectedLegendsColor = (selectedLegends, arr) =>\n arr.filter((item) => selectedLegends[item.name]);\n\nexport const getShareGraphColorsArray = (\n reportsBy: ReportsBy,\n selectedLegends,\n) =>\n reportsBy === ReportsBy.ByProspects\n ? selectedLegendsColor(selectedLegends, prospectGraphColors)?.map(\n ({ colorCode }) => colorCode,\n )\n : selectedLegendsColor(selectedLegends, emailGraphColors).map(\n ({ colorCode }) => colorCode,\n );\n\nexport const getGraphColorsArray = (reportsBy: ReportsBy) =>\n reportsBy === ReportsBy.ByProspects\n ? ['#60A5FA', '#C67FFF', '#9BFFB2', '#3FE28A', '#FF623F', '#FFA800']\n : ['#60A5FA', '#C67FFF', '#9BFFB2', '#FFA800'];\n\nexport const getGraphDataPercentageWise = (data, totalValue) => {\n totalValue = totalValue || [];\n return (\n data?.map((item, index) => (item / totalValue[index] || 0) * 100) || []\n );\n};\n\nexport const getGraphSeries = (\n aggregateData,\n reportsBy: ReportsBy,\n showPercentage,\n) =>\n reportsBy === ReportsBy.ByProspects\n ? [\n {\n name: 'Contacted',\n data: aggregateData.contacted,\n yAxisIndex: 0,\n },\n {\n name: 'Opened',\n data: showPercentage\n ? getGraphDataPercentageWise(\n aggregateData.opened,\n aggregateData.contacted,\n )\n : aggregateData?.opened || [],\n yAxisIndex: 1,\n },\n {\n name: 'Replies',\n data: showPercentage\n ? getGraphDataPercentageWise(\n aggregateData.replies,\n aggregateData.contacted,\n )\n : aggregateData?.replies || [],\n yAxisIndex: 1,\n },\n {\n name: 'Positive Sentiment',\n data: showPercentage\n ? getGraphDataPercentageWise(\n aggregateData.positiveSentiment,\n aggregateData.contacted,\n )\n : aggregateData?.positiveSentiment || [],\n yAxisIndex: 1,\n },\n {\n name: 'Negative Sentiment',\n data: showPercentage\n ? getGraphDataPercentageWise(\n aggregateData?.negativeSentiment,\n aggregateData.contacted,\n )\n : aggregateData?.negativeSentiment || [],\n yAxisIndex: 1,\n },\n {\n name: 'Unsubscribed',\n data: showPercentage\n ? getGraphDataPercentageWise(\n aggregateData?.unsubscribed,\n aggregateData.contacted,\n )\n : aggregateData?.unsubscribed || [],\n yAxisIndex: 1,\n },\n ]\n : [\n {\n name: 'Email Sent',\n data: aggregateData.emailSent,\n yAxisIndex: 0,\n },\n {\n name: 'Opened',\n data: showPercentage\n ? getGraphDataPercentageWise(\n aggregateData.opened,\n aggregateData.emailSent,\n )\n : aggregateData?.opened || [],\n yAxisIndex: 1,\n },\n {\n name: 'Replies',\n data: showPercentage\n ? getGraphDataPercentageWise(\n aggregateData.replies,\n aggregateData.emailSent,\n )\n : aggregateData?.replies || [],\n yAxisIndex: 1,\n },\n {\n name: 'Bounced',\n data: showPercentage\n ? getGraphDataPercentageWise(\n aggregateData?.bounced,\n aggregateData.emailSent,\n )\n : aggregateData?.bounced || [],\n yAxisIndex: 1,\n },\n {\n name: '',\n data: [],\n yAxisIndex: 1,\n },\n {\n name: '',\n data: [],\n yAxisIndex: 1,\n },\n ];\n\nexport const getOriginalValue = (percentage, totalValue) =>\n ((percentage * totalValue) / 100)?.toFixed(2) || 0;\n","export const sleep = (ms: number) => {\n return new Promise((resolve) => setTimeout(resolve, ms));\n};\n","export const isEnterKey = (key: string): boolean => key === 'Enter';\nexport const isEscapeKey = (key: string): boolean => key === 'Escape';","import React, { ReactNode } from 'react';\nimport ConnectEmailAccountModal from '../../../../../../../shared/components/connect-email-account-modal';\nimport { SHModules } from '../../../../../../../shared/enums/module';\nimport { ProfileProgressSteps } from '../../../../../../../shared/types/user-setting';\nimport { SubscriptionPlans } from '../../../../../../../shared/utils/subscription-plans';\nimport {\n SequenceAction,\n SequenceProgress,\n SequenceSettingCode,\n} from '../../../../../enums';\nimport AddContactsButton from '../../../../../shared/modals/add-contact-button';\nimport ReachedEmailSendingLimitModal from '../../../../../shared/modals/reached-email-sending-limit/reached-email-sending-limit';\nimport { Sequence } from '../../../../../types';\n\nexport const getSequenceLabel = (sequenceProgress): string => {\n if (sequenceProgress === SequenceProgress.Active) {\n return 'Active';\n }\n if (sequenceProgress === SequenceProgress.Pause) {\n return 'Paused';\n }\n\n return 'Draft';\n};\n\nexport const renderUpgradePlanModal = (\n showUpgradePlanModal,\n hideUpgradePlanModal,\n): ReactNode => (\n <>\n {showUpgradePlanModal && (\n \n )}\n \n);\n\nexport const renderConnectEmailAccountModal = (\n showConnectEmailModal,\n skipConnectEmailAccount,\n sendConnectEmailAccountRequest,\n) => (\n <>\n {showConnectEmailModal && (\n \n )}\n \n);\n\nexport const renderAddContactsButton = (\n currentTab,\n isStepsListEmpty,\n isContactsEmpty,\n) =>\n currentTab === 'prospects' &&\n !isStepsListEmpty &&\n !isContactsEmpty && ;\n\nexport const shouldRenderAddStepButton = (currentTab, isStepsListEmpty) =>\n currentTab === 'steps' && !isStepsListEmpty;\n\nexport const shouldRenderSequenceScoreRefreshButton = (currentTab) =>\n currentTab === 'sequence-score';\n\nexport const getTooltipText = (reason, t) =>\n reason ? t(`messages.${reason}`) : '';\n\nexport const shouldShowPlanUpgradeErrorModal = (subscriptionDetails) =>\n subscriptionDetails?.planCode === SubscriptionPlans.EMAIL_STARTER_MONTHLY ||\n subscriptionDetails?.planCode === SubscriptionPlans.EMAIL_STARTER_YEARLY;\n\nexport const getSequenceAction = (checked) =>\n checked ? SequenceAction.Resume : SequenceAction.Pause;\n\nexport const checkProfileProgressAndRequest = (\n profileProgress,\n updateProfileProgressRequest,\n sequence: Sequence,\n) => {\n if (profileProgress) {\n const isSampleSequence = sequence.settings.find(\n (item) => item.code === SequenceSettingCode.IS_SAMPLE_SEQUENCE,\n );\n if (!isSampleSequence) {\n const activateSequenceStep = profileProgress.find(\n (step) =>\n step.profileProgressStep.stepName ===\n ProfileProgressSteps.ActivateSequence,\n );\n\n const watchVideoStep = profileProgress.find(\n (step) =>\n step.profileProgressStep.stepName === ProfileProgressSteps.WatchVideo,\n );\n\n if (!activateSequenceStep.isCompleted) {\n updateProfileProgressRequest({\n step: ProfileProgressSteps.ActivateSequence,\n isCompleted: true,\n });\n }\n\n if (!watchVideoStep.isCompleted) {\n updateProfileProgressRequest({\n step: ProfileProgressSteps.WatchVideo,\n isCompleted: true,\n });\n }\n }\n }\n};\n","/* eslint-disable @typescript-eslint/no-throw-literal */\nimport classNames from 'classnames';\nimport { ProspectType } from '../../../../settings/enums/prospect-type';\nimport {\n SubjectEmailSuggestion,\n EmailSuggestionStatus,\n PersonalizationEmailSuggestion,\n LinkEmailSuggestion,\n SpammyEmailSuggestion,\n WordEmailSuggestion,\n} from './types';\nimport { Sequence } from '../../../types';\nimport SpammyWords from '../../../../../shared/utils/spammy-word-list';\n// eslint-disable-next-line import/no-cycle\nimport { EmailContentSizeAllowed } from '../../../../../shared/utils';\nimport {\n AttachmentType,\n AttachmentUploadStatus,\n} from '../../../../../shared/editor/types';\nimport { SequenceStepType } from '../../../enums';\n\nexport const getTestEmailAddressFromLocalStorage = () =>\n localStorage.getItem('test_email_address');\n\nexport const saveTestEmailAddressInLocalStorage = (value: string) =>\n localStorage.setItem('test_email_address', value);\n\nexport const clearTestEmailAddressFromLocalStorage = () =>\n localStorage.removeItem('test_email_address');\n\nexport const getTestEmaiContent = () => [\n {\n id: 1,\n text: 'test_email_content',\n },\n];\n\nexport const getEmailAccountDisconnectedContent = () => [\n {\n id: 1,\n text: 'email_account_disconnected_content',\n },\n {\n id: 2,\n text: 'email_account_note_content',\n },\n];\n\nexport const getEmailAccountNotConnectedContent = () => [\n {\n id: 1,\n text: 'email_account_not_connected_content',\n },\n {\n id: 2,\n text: 'email_account_note_content',\n },\n];\n\nexport const getEmailNotAddedModalContent = () => [\n {\n id: 1,\n text: 'email_not_added_content',\n },\n {\n id: 2,\n text: 'email_account_note_content',\n },\n];\n\nexport const getConfirmationModalContent = () => [\n {\n id: 1,\n text: 'confirmation_modal_content',\n },\n];\n\nexport const prepareMergeTagOptions = (orderedFields) =>\n orderedFields.map((item) => {\n let tag = '';\n let fallbackText = '';\n let label = `{{${item.label}}}`;\n\n if (item.fallbackText !== null) {\n fallbackText =\n item.fallbackText.length > 0 ? `|'${item.fallbackText}'` : '';\n }\n\n if (item.prospectType === ProspectType.Account) {\n label = `{{account.${item.label}}}`;\n tag = `{{account.${item.label}${fallbackText}}}`;\n } else {\n tag = `{{${item.label}${fallbackText}}}`;\n }\n\n return {\n key: `${item.prospectType}-${item.id}`,\n type: item.prospectType,\n tag,\n label,\n fieldType: item.fieldType,\n };\n });\n\nexport const isButtonDisabled = (errors, attachments: AttachmentType[]) =>\n errors.content !== '' ||\n errors.subject !== '' ||\n errors.preheader !== '' ||\n attachments.some(\n (item) =>\n item.status === AttachmentUploadStatus.Uploading ||\n item.status === AttachmentUploadStatus.UploadFailed ||\n item.status === AttachmentUploadStatus.Deleting,\n );\n\nexport const isSubmitDisabled = (\n isRequestPending,\n isSaveDisabled,\n errors,\n attachments: AttachmentType[],\n) =>\n isRequestPending || isSaveDisabled || isButtonDisabled(errors, attachments);\n\nexport const footerContent = (footerPart) => footerPart && footerPart();\nexport const getPrevStepSubject = (\n sequence: Sequence,\n currentStepNumber: number,\n) => {\n let prevStepSubject = '';\n let subjectToSelect: string[];\n let stepIndex = currentStepNumber - 2;\n while (!prevStepSubject && stepIndex >= 0) {\n const prevStep = sequence.steps?.filter(\n (step) => step.type === SequenceStepType.Email,\n )?.[stepIndex];\n if (prevStep && prevStep.variants) {\n subjectToSelect = prevStep.variants\n .filter(\n (variant) =>\n variant.status === 1 &&\n variant.payload?.subject !== undefined &&\n variant.payload?.subject !== '',\n )\n .map((variant) => variant.payload?.subject);\n prevStepSubject = subjectToSelect?.[0];\n }\n stepIndex -= 1;\n }\n return prevStepSubject;\n};\n\n/**\n *\n * @param text string text\n * @returns normalized string value removing unnecessary space between \\n\n */\nconst normalizeTextWithNewlines = (text: string): string => {\n const parseText = text || '';\n return parseText\n .replace(/[ ]*\\n[ ]*/g, '\\n') // Remove spaces around each newline\n .replace(/[ ]+/g, ' ') // Collapse multiple spaces into one\n .trim(); // Trim leading/trailing spaces\n};\n\n/**\n * @param text - text to check if it contains spintax\n * @returns boolean flag\n */\nexport const textContainsSpinTag = (text = ''): boolean => {\n const paseText = text || '';\n return paseText.includes('{spin}') && paseText.includes('{endspin}');\n};\n\n/**\n * @param text - text to split by | value\n * @returns Array of Strings\n */\nexport const splitSpinContainingTextByPipe = (text = ''): string[] => {\n // Regular expression to match \"parent level\" | (pipe) characters, ignoring ones inside {spin}...{endspin}\n const regex = /\\|(?=(?:[^{}]*{spin}[^{}]*{endspin})*[^{}]*$)/g;\n\n // Split the string using the above regular expression\n const result = text.split(regex);\n\n return result;\n};\n\n/**\n * @param text - text split into words and get their length\n * @returns Length of array\n */\nexport const getWordCountFromString = (text = ''): number => {\n // Match the text between {{ }} as a single \"word\" Considering merge & variable tag a single word count\n const modifiedText =\n text?.trim()?.replace(/{{.*?}}/g, (match) => `{{${match.slice(2, -2)}}}`) ||\n '';\n\n return modifiedText?.split(' ')?.filter((i) => i.trim())?.length || 0;\n};\n\n/**\n * @param text - spintax string to process\n * @returns Array of objects where object contains type, value, valueContainsSpinText and options\n */\nexport const processSpinText = (\n text = '',\n): {\n type: string;\n value: string;\n valueContainsSpinText: boolean;\n valueOptions?: string[];\n}[] => {\n let i = 0;\n const result = [];\n const stack = [];\n let buffer = '';\n\n while (i < text.length) {\n if (text.slice(i, i + 6) === '{spin}') {\n if (buffer) {\n // Adding any buffer text before spin text\n const isBufferContainesSpinText = textContainsSpinTag(buffer);\n\n result.push({\n type: 'text',\n value: buffer,\n valueContainsSpinText: isBufferContainesSpinText,\n });\n buffer = '';\n }\n\n stack.push(i); // Store the index of found spin tag\n i += 6;\n } else if (text.slice(i, i + 9) === '{endspin}') {\n if (stack.length === 0) {\n const message = new Error('Unbalanced Spin Text');\n const status = 'error';\n const errObj = { status, message };\n throw errObj;\n }\n // ** Popping till last element in stack\n const start = stack.pop();\n if (stack.length === 0) {\n const spinContent = text.slice(start + 6, i);\n result.push({\n type: 'spin',\n value: spinContent,\n valueContainsSpinText: textContainsSpinTag(spinContent),\n valueOptions: splitSpinContainingTextByPipe(spinContent),\n });\n // clearing middle buffer values\n buffer = '';\n }\n\n i += 9;\n } else {\n // Adding any buffer text after spin text end (after {endspin})\n if (stack.length === 0) {\n buffer += text[i];\n }\n i += 1;\n }\n }\n\n if (stack.length > 0) {\n const message = new Error('Unbalanced {spin}/{endspin} blocks!');\n const status = 'error';\n const errObj = { status, message };\n throw errObj;\n }\n\n if (buffer) {\n result.push({\n type: 'text',\n value: buffer,\n valueContainsSpinText: textContainsSpinTag(buffer),\n });\n }\n\n return result;\n};\n\n/**\n * @param spinText - String value containing spintext\n * @returns Max word count of spin text\n */\nexport const getMaximumWordCountFromSpinText = (spinText = '') => {\n let maximumWordCount = 0;\n if (spinText) {\n const spinTextOptions = processSpinText(spinText || '');\n\n spinTextOptions.forEach((option) => {\n if (option?.type === 'spin') {\n if (option?.valueContainsSpinText) {\n let maxChFromSubOptions = 0;\n const allWordCount = option?.valueOptions.map((i) =>\n getMaximumWordCountFromSpinText(i || ''),\n );\n maxChFromSubOptions =\n allWordCount?.reduce((max, current) => Math.max(max, current), 0) ||\n 0;\n maximumWordCount += maxChFromSubOptions;\n } else {\n const maxLengthFromOptions =\n option?.valueOptions?.reduce(\n (max, current) =>\n Math.max(max, getMaximumWordCountFromSpinText(current || '')),\n 0,\n ) || 0;\n maximumWordCount += maxLengthFromOptions;\n }\n }\n\n if (option?.type === 'text') {\n if (option?.valueContainsSpinText) {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const maxWordCountFromSpinText = getMaximumWordCountFromSpinText(\n option?.value || '',\n );\n maximumWordCount += maxWordCountFromSpinText;\n } else {\n maximumWordCount += getWordCountFromString(option?.value || '');\n }\n }\n });\n }\n return maximumWordCount;\n};\n\n/**\n * @param spinText - String value containing spintext\n * @returns Max Character count of spin text\n */\nexport const getMaximumCharacterCountFromSpinText = (spinText = '') => {\n let maximumCharacterCount = 0;\n if (spinText) {\n const spinTextOptions = processSpinText(spinText || '');\n spinTextOptions.forEach((option) => {\n if (option?.type === 'spin') {\n if (option?.valueContainsSpinText) {\n let maxChFromSubOptions = 0;\n const allChCount = option?.valueOptions.map((i) =>\n getMaximumCharacterCountFromSpinText(i),\n );\n maxChFromSubOptions =\n allChCount?.reduce((max, current) => Math.max(max, current), 0) ||\n 0;\n maximumCharacterCount += maxChFromSubOptions;\n } else {\n const maxLengthFromOptions =\n option?.valueOptions?.reduce(\n (max, current) => Math.max(max, current?.length || 0),\n 0,\n ) || 0;\n maximumCharacterCount += maxLengthFromOptions;\n }\n }\n\n if (option?.type === 'text') {\n if (option?.valueContainsSpinText) {\n maximumCharacterCount += getMaximumCharacterCountFromSpinText(\n option?.value || '',\n );\n } else {\n maximumCharacterCount += option?.value?.length || 0;\n }\n }\n });\n }\n return maximumCharacterCount;\n};\n\nexport const checkSubjectEmailSuggestions = (\n subject: string,\n): SubjectEmailSuggestion => {\n let length = 0;\n // Remove Emoji from subject string\n const subjectWithoutEmojis = subject.replace(\n /([\\u2700-\\u27BF]|[\\uE000-\\uF8FF]|\\uD83C[\\uDC00-\\uDFFF]|\\uD83D[\\uDC00-\\uDFFF]|[\\u2011-\\u26FF]|\\uD83E[\\uDD10-\\uDDFF])/g,\n '',\n );\n try {\n // Try block : Get max character length\n\n // Below sanitizing tags with $---$ to avoid regex errors & fixing the tag character count to 5\n const tagsSanitizedSubject =\n subjectWithoutEmojis?.replace(/{{(.*?)}}/g, '$---$') || '';\n\n const maxLength = getMaximumCharacterCountFromSpinText(\n tagsSanitizedSubject,\n );\n length = maxLength;\n } catch (error) {\n // Catch block : Get max character length fallback incase of invalid spintext\n const { length: newLength } = subjectWithoutEmojis;\n length = newLength;\n }\n\n if (length >= 1 && length <= 10) {\n return {\n subjectPercentage: 25,\n subjectStatus: EmailSuggestionStatus.TOO_SHORT,\n subjectLength: length,\n };\n }\n if (length >= 11 && length <= 30) {\n return {\n subjectPercentage: 50,\n subjectStatus: EmailSuggestionStatus.SHORT,\n subjectLength: length,\n };\n }\n if (length >= 31 && length <= 60) {\n return {\n subjectPercentage: 100,\n subjectStatus: EmailSuggestionStatus.IDEAL,\n subjectLength: length,\n };\n }\n if (length >= 61 && length <= 70) {\n return {\n subjectPercentage: 50,\n subjectStatus: EmailSuggestionStatus.LENGTHY,\n subjectLength: length,\n };\n }\n if (length >= 71) {\n return {\n subjectPercentage: 25,\n subjectStatus: EmailSuggestionStatus.TOO_LENGTHY,\n subjectLength: length,\n };\n }\n return {\n subjectPercentage: 0,\n subjectStatus: '',\n subjectLength: length,\n };\n};\n\nexport const checkWordCountSuggestions = (\n content: string,\n stepNumber: number,\n): WordEmailSuggestion => {\n // Count the number of words in the expressions\n let wordCount = 0;\n\n // Regular expression to match expressions like {{ merge tag }} or {spin} some text 1 | some text 2 {endspin}\n const expressionRegex = /\\{\\{[^{}]*\\}\\}|\\{spin\\}[^{}]*\\{endspin\\}/g;\n\n // Remove HTML tags from the content\n const stringWithoutHTML = content.replace(/<\\/?[^>]+(>|$)/g, '');\n\n try {\n const normalizedStringWithoutHTML = normalizeTextWithNewlines(\n stringWithoutHTML?.trim() || '',\n );\n\n wordCount = getMaximumWordCountFromSpinText(normalizedStringWithoutHTML);\n } catch (error) {\n // Extract expressions from the string\n const expressions = stringWithoutHTML.match(expressionRegex);\n\n if (expressions) {\n expressions.forEach((expression) => {\n // Treat the entire expression as a single word\n wordCount += expression ? 1 : 0;\n });\n }\n\n // Count the number of words in the remaining text\n const remainingText = stringWithoutHTML.replace(expressionRegex, '');\n const remainingWords = remainingText\n .split(/\\s+/)\n .filter((word) => word !== '');\n\n // Add the count of words in the remaining text to the total word count\n wordCount += remainingWords.length;\n }\n\n if (stepNumber === 1) {\n if (wordCount >= 1 && wordCount < 50) {\n return {\n wordPercentage: 25,\n wordStatus: EmailSuggestionStatus.TOO_SHORT,\n wordLength: wordCount,\n };\n }\n if (wordCount >= 50 && wordCount <= 200) {\n return {\n wordPercentage: 100,\n wordStatus: EmailSuggestionStatus.IDEAL,\n wordLength: wordCount,\n };\n }\n if (wordCount >= 201 && wordCount <= 300) {\n return {\n wordPercentage: 50,\n wordStatus: EmailSuggestionStatus.LENGTHY,\n wordLength: wordCount,\n };\n }\n if (wordCount >= 301) {\n return {\n wordPercentage: 25,\n wordStatus: EmailSuggestionStatus.TOO_LENGTHY,\n wordLength: wordCount,\n };\n }\n }\n\n if (wordCount >= 1 && wordCount < 25) {\n return {\n wordPercentage: 25,\n wordStatus: EmailSuggestionStatus.TOO_SHORT,\n wordLength: wordCount,\n };\n }\n if (wordCount >= 25 && wordCount <= 149) {\n return {\n wordPercentage: 100,\n wordStatus: EmailSuggestionStatus.IDEAL,\n wordLength: wordCount,\n };\n }\n if (wordCount >= 150 && wordCount <= 200) {\n return {\n wordPercentage: 50,\n wordStatus: EmailSuggestionStatus.LENGTHY,\n wordLength: wordCount,\n };\n }\n if (wordCount >= 201) {\n return {\n wordPercentage: 25,\n wordStatus: EmailSuggestionStatus.TOO_LENGTHY,\n wordLength: wordCount,\n };\n }\n\n return {\n wordPercentage: 0,\n wordStatus: '',\n wordLength: wordCount,\n };\n};\n\nexport const checkPersonalizationEmailSuggestions = (\n content: string,\n mergeTagOptions,\n): PersonalizationEmailSuggestion => {\n // This will return all matching merge tags which has opened with {{ and closed with }}\n const ptrn = /{{([^}}]+)}}/g;\n const mergeTags = content.match(ptrn);\n\n if (mergeTags === null || mergeTags.length === 0) {\n return {\n personalizationPercentage: 25,\n personalizationStatus: EmailSuggestionStatus.POOR,\n personalizationLength: 0,\n };\n }\n\n const tags = [];\n mergeTagOptions.forEach((field) => {\n tags.push(field.tag);\n });\n\n const filteredMergeTags = [];\n mergeTags.forEach((tag) => {\n if (tags.includes(tag)) {\n filteredMergeTags.push(tag);\n }\n });\n\n const { length } = filteredMergeTags;\n\n if (length === 1) {\n return {\n personalizationPercentage: 50,\n personalizationStatus: EmailSuggestionStatus.AVERAGE,\n personalizationLength: length,\n };\n }\n if (length === 2) {\n return {\n personalizationPercentage: 100,\n personalizationStatus: EmailSuggestionStatus.GOOD,\n personalizationLength: length,\n };\n }\n if (length >= 3) {\n return {\n personalizationPercentage: 100,\n personalizationStatus: EmailSuggestionStatus.EXCELLENT,\n personalizationLength: length,\n };\n }\n\n return {\n personalizationPercentage: 0,\n personalizationStatus: '',\n personalizationLength: 0,\n };\n};\n\nexport const checkLinksEmailSuggestions = (\n content: string,\n): LinkEmailSuggestion => {\n const container = document.createElement('p');\n container.innerHTML = content;\n\n const anchors = container.getElementsByTagName('a');\n const links = [];\n const keys = Object.keys(anchors);\n keys.forEach((key) => {\n links.push(anchors[key].href);\n });\n container.remove();\n\n const { length } = links;\n\n if (length === 0) {\n return {\n linkPercentage: 100,\n linkStatus: EmailSuggestionStatus.EXCELLENT,\n linkLength: 0,\n };\n }\n\n if (length === 1) {\n return {\n linkPercentage: 100,\n linkStatus: EmailSuggestionStatus.GOOD,\n linkLength: 1,\n };\n }\n if (length >= 2 && length <= 3) {\n return {\n linkPercentage: 50,\n linkStatus: EmailSuggestionStatus.AVERAGE,\n linkLength: length,\n };\n }\n if (length >= 4) {\n return {\n linkPercentage: 25,\n linkStatus: EmailSuggestionStatus.POOR,\n linkLength: length,\n };\n }\n\n return {\n linkPercentage: 0,\n linkStatus: '',\n linkLength: 0,\n };\n};\n\nexport const checkSpammyEmailSuggestions = (\n content: string,\n): SpammyEmailSuggestion => {\n const spammyWordsInContent = [];\n\n SpammyWords.forEach((word) => {\n const regx = new RegExp(`\\\\b${word}\\\\b`, 'gi');\n if (regx.test(content)) {\n spammyWordsInContent.push(word);\n }\n });\n\n const { length } = spammyWordsInContent;\n\n if (length === 0) {\n return {\n spammyPercentage: 100,\n spammyStatus: EmailSuggestionStatus.EXCELLENT,\n spammyLength: 0,\n spammyWords: [],\n };\n }\n\n if (length === 1) {\n return {\n spammyPercentage: 100,\n spammyStatus: EmailSuggestionStatus.GOOD,\n spammyLength: 1,\n spammyWords: spammyWordsInContent,\n };\n }\n\n if (length >= 2 && length <= 5) {\n return {\n spammyPercentage: 50,\n spammyStatus: EmailSuggestionStatus.AVERAGE,\n spammyLength: length,\n spammyWords: spammyWordsInContent,\n };\n }\n\n if (length >= 6) {\n return {\n spammyPercentage: 25,\n spammyStatus: EmailSuggestionStatus.POOR,\n spammyLength: length,\n spammyWords: spammyWordsInContent,\n };\n }\n\n return {\n spammyPercentage: 0,\n spammyStatus: '',\n spammyLength: 0,\n spammyWords: [],\n };\n};\n\nexport const checkContentEmailSuggestions = ({\n content,\n doNotCheckLink = false,\n mergeTagOptions = [],\n stepNumber,\n}: {\n content: string;\n doNotCheckLink?: boolean;\n mergeTagOptions: any;\n stepNumber: number;\n}): {\n wordCount: WordEmailSuggestion;\n personalization: PersonalizationEmailSuggestion;\n link: LinkEmailSuggestion;\n spammy: SpammyEmailSuggestion;\n} => {\n // Word Count Suggestion\n const { wordPercentage, wordStatus, wordLength } = checkWordCountSuggestions(\n content,\n stepNumber,\n );\n\n // Personalization Email Suggestion\n const {\n personalizationPercentage,\n personalizationStatus,\n personalizationLength,\n } = checkPersonalizationEmailSuggestions(content, mergeTagOptions);\n\n // Links Email Suggestion\n let linkObj = {\n linkPercentage: 0,\n linkStatus: '',\n linkLength: 0,\n };\n\n if (!doNotCheckLink) {\n const {\n linkPercentage,\n linkStatus,\n linkLength,\n } = checkLinksEmailSuggestions(content);\n linkObj = {\n linkPercentage,\n linkStatus,\n linkLength,\n };\n }\n\n const {\n spammyPercentage,\n spammyStatus,\n spammyLength,\n spammyWords,\n } = checkSpammyEmailSuggestions(content);\n\n return {\n wordCount: {\n wordPercentage,\n wordStatus,\n wordLength,\n },\n personalization: {\n personalizationPercentage,\n personalizationStatus,\n personalizationLength,\n },\n link: linkObj,\n spammy: {\n spammyPercentage,\n spammyStatus,\n spammyLength,\n spammyWords,\n },\n };\n};\n\nexport const getEditorClassNames = ({\n showTitle,\n showPreheaderInput,\n values,\n errors,\n}): string =>\n classNames([\n 'email-modal--editor',\n {\n 'with-two-inputs': showTitle || showPreheaderInput,\n 'with-one-inputs-one-error':\n !showTitle &&\n !showPreheaderInput &&\n (errors.title ||\n errors.preheader ||\n values.preheader.length > 0 ||\n errors.subject),\n 'with-two-inputs-one-error':\n (errors.title ||\n errors.preheader ||\n values.preheader.length > 0 ||\n errors.subject) &&\n (showTitle || showPreheaderInput),\n 'with-two-errors':\n (errors.title || errors.preheader || values.preheader.length > 0) &&\n errors.subject,\n },\n ]);\n\nexport const getStringSize = (content: string) =>\n Buffer.byteLength(content, 'utf-8');\n\nexport const checkTotalEmailContentSizeValidator = ({\n content,\n attachmentsSizeInBytes,\n}): boolean => {\n const contentSizeInBytes = getStringSize(content);\n\n const totalEmailSize = contentSizeInBytes + attachmentsSizeInBytes;\n\n return totalEmailSize > EmailContentSizeAllowed;\n};\n\nexport const getAttachmentsSize = (attachments) => {\n let attachmentsSizeInBytes = 0;\n\n if (attachments && attachments.length) {\n attachments.forEach((item) => {\n attachmentsSizeInBytes += parseInt(item.file.size, 10);\n });\n }\n\n return attachmentsSizeInBytes;\n};\n\nexport const attachmentStatusChangeHandler = (\n attachment: AttachmentType,\n attachments: AttachmentType[],\n) => {\n let oldAttachment = null;\n\n if (attachment.attachmentIdentifier) {\n oldAttachment = attachments.find(\n (item) => item.attachmentIdentifier === attachment.attachmentIdentifier,\n );\n } else if (attachment.attachmentId) {\n oldAttachment = attachments.find(\n (item) => item.attachmentId === attachment.attachmentId,\n );\n }\n\n if (oldAttachment) {\n if (attachment.attachmentIdentifier) {\n return attachments.map((item) =>\n item.attachmentIdentifier === attachment.attachmentIdentifier\n ? {\n ...oldAttachment,\n ...attachment,\n }\n : item,\n );\n }\n\n if (attachment.attachmentId) {\n return attachments.map((item) =>\n item.attachmentId === attachment.attachmentId\n ? {\n ...oldAttachment,\n ...attachment,\n }\n : item,\n );\n }\n }\n return attachments;\n};\n\nexport const getIsHTMLContentDetected = (content: string): boolean => {\n const imageRegex = /]*alt=['\"]([^'\"]*)['\"][^>]*>/g;\n const restrictedTagRegex = /<(img|span|iframe)[^>]*>/g;\n const styleTagRegex = /style=\"[^\"]*\"/g;\n const headerTagsRegex = //g;\n const underlineBoldItalicTagsRegex = /<(u|b|strong|i|em)>/g;\n const closeTagsRegex = /<\\/(h[1-6]|u|b|strong|i|em)>/g;\n const strikethroughTagRegex = //g;\n const linkTagRegex = /]*>(.*?)<\\/a>/g;\n\n const regexArray = [\n imageRegex,\n restrictedTagRegex,\n styleTagRegex,\n headerTagsRegex,\n underlineBoldItalicTagsRegex,\n closeTagsRegex,\n strikethroughTagRegex,\n linkTagRegex,\n ];\n\n return regexArray.some((regex) => regex.test(content));\n};\n\n// eslint-disable-next-line no-useless-escape\nexport const regexForSenderSignatureExistenceCheck = /\\{\\{\\s*SenderSignature\\s*([\\+\\-\\*\\/]\\s*\\w+)?\\s*\\}\\}/i;\n\n// eslint-disable-next-line no-useless-escape\nexport const regexForSenderSignatureCountCheck = /\\{\\{\\s*SenderSignature\\s*([\\+\\-\\*\\/]\\s*\\w+)?\\s*\\}\\}/gi;\n","import React, { useRef, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport Icon from '../icon';\nimport { useOutClickHook } from '../../../../utils/hooks';\nimport { accessibleOnClick } from '../../../../utils/accessible-on-click';\nimport Button from '../button';\nimport * as Icons from '../../../../svg';\nimport { OverlayTooltip, Placement } from '../../overlay';\n\ntype ExportButtonProps = {\n handleExport: () => void;\n handleConsolidatedExport?: () => void;\n isDropdownFlow?: boolean;\n iconOnly?: boolean;\n};\n\nconst ExportButton: React.FC = ({\n handleExport,\n handleConsolidatedExport,\n isDropdownFlow = false,\n iconOnly = false,\n}) => {\n const { t } = useTranslation();\n const [showDropdown, setShowDropdown] = useState(false);\n const closeDropdown = () => setShowDropdown(false);\n const toggleDropdown = () => setShowDropdown(!showDropdown);\n const dropdownRef = useRef(null);\n useOutClickHook(dropdownRef, closeDropdown);\n\n if (!isDropdownFlow) {\n if (iconOnly) {\n return (\n \n }\n />\n \n );\n }\n\n return (\n }\n >\n {iconOnly ? '' : t('labels.export')}\n \n );\n }\n\n return (\n <>\n \n \n \n {t('labels.export')}\n \n {showDropdown && (\n
    \n
    \n
    \n \n \n
    \n \n Detailed Report\n \n
    \n
    \n \n
    \n
    \n \n \n
    \n \n Table Breakdown\n \n
    \n
    \n \n
    \n \n \n )}\n \n \n );\n};\n\nexport default ExportButton;\n","export enum SortByKey {\n SentAt = 'sentAt',\n Opened = 'opened',\n Clicked = 'clicked',\n LastActivity = 'lastActivity',\n}\n\nexport enum RecipientType {\n to = 'to',\n cc = 'cc',\n bcc = 'bcc',\n}\n\nexport enum MailboxEmailsActivites {\n Opened = 'opened',\n Clicked = 'clicked',\n}\n\nexport enum PaginationOption {\n PAGE = 'page',\n SORT_BY_KEY = 'sortByKey',\n ORDER = 'order',\n SEARCH = 'search',\n OWNERS = 'mailbox',\n}\n","import { DateTime } from 'luxon';\nimport moment from 'moment-timezone';\nimport { Images } from '../../../shared/app-constants';\nimport { constants } from '../../../shared/enums/constants';\nimport MasterLog from '../../../shared/enums/master-log-enum';\nimport { Order, SortOrder } from '../../../shared/enums/order';\nimport { PaginationOption, SortByKey } from '../enum/mailbox-emails.enum';\nimport { MailboxEmailsFiltersMeta } from '../type';\nimport {\n getIsRequestIdeal,\n getIsRequestPending,\n} from '../../../shared/utils/get-request-status';\n\nexport const getMailboxEmailActivityLabel = (tab: MasterLog): string => {\n if (tab === MasterLog.MailboxEmailOpened) {\n return 'opened';\n }\n if (tab === MasterLog.MailboxEmailLinkClicked) {\n return 'clicked';\n }\n return '';\n};\n\nexport const getMailboxEmailActivityIcon = (\n key: MasterLog,\n active: boolean,\n) => {\n switch (key) {\n case MasterLog.MailboxEmailOpened:\n return active ? Images.OpenedBlue : Images.OpenedEnabled;\n case MasterLog.MailboxEmailLinkClicked:\n return active ? Images.ClickedBlue : Images.ClickedEnabled;\n default:\n break;\n }\n return null;\n};\n\nexport const getInitialMailboxEmailsFilterMeta = (): MailboxEmailsFiltersMeta => ({\n page: 1,\n sortByKey: SortByKey.SentAt,\n order: Order.Desc,\n search: '',\n mailbox: 0,\n limit: constants.DEFAULT_PAGE_SIZE,\n});\n\nexport const setSortBy = (sortBy: string): string => {\n if (sortBy === SortByKey.SentAt) {\n return SortByKey.SentAt;\n }\n if (sortBy === SortByKey.Opened) {\n return SortByKey.Opened;\n }\n if (sortBy === SortByKey.Clicked) {\n return SortByKey.Clicked;\n }\n if (sortBy === SortByKey.LastActivity) {\n return SortByKey.LastActivity;\n }\n\n return SortByKey.SentAt;\n};\n\nexport const getOrderInString = (order: number): SortOrder => {\n if (order === Order.Asc) {\n return SortOrder.ASC;\n }\n\n if (order === Order.Desc) {\n return SortOrder.DESC;\n }\n\n return SortOrder.ASC;\n};\n\nexport const getQueryParameters = (\n filters: MailboxEmailsFiltersMeta,\n search: string,\n): string => {\n const queryParams = new URLSearchParams(search);\n\n Object.keys(filters).forEach((key) => {\n if (key === PaginationOption.PAGE) {\n queryParams.set(key, filters[key].toString());\n return;\n }\n\n if (key === PaginationOption.SORT_BY_KEY) {\n const sortBy = setSortBy(filters[key]);\n queryParams.set(key, sortBy);\n return;\n }\n\n if (key === PaginationOption.ORDER) {\n const order = getOrderInString(filters[key]);\n queryParams.set(key, order);\n return;\n }\n\n if (key === PaginationOption.SEARCH) {\n queryParams.set(key, filters[key]);\n return;\n }\n\n if (key === PaginationOption.OWNERS) {\n if (!filters[key]) {\n queryParams.set('owners', '');\n } else {\n queryParams.set('owners', filters[key].toString());\n }\n }\n });\n\n return queryParams.toString();\n};\n\nexport const handleActivityItemsFilters = (tab, item): boolean =>\n item.key === tab;\n\nexport const getActivityWithLabel = (activityArr, t) => {\n const yesterday = DateTime.fromMillis(\n new Date().setDate(new Date().getDate() - 1),\n ).toFormat('dd LLLL yyyy');\n\n const today = DateTime.fromMillis(new Date().getTime()).toFormat(\n 'dd LLLL yyyy',\n );\n\n const activity = [...activityArr];\n\n if (activity.length > 0) {\n if (activity[0].dayText === today) {\n activity[0].dayText = t('labels.today');\n }\n\n if (activity[0].dayText === yesterday) {\n activity[0].dayText = t('labels.yesterday');\n }\n\n if (activity[1] && activity[1].dayText === yesterday) {\n activity[1].dayText = t('labels.yesterday');\n }\n }\n\n return activity.map((item, index) => ({\n ...item,\n id: index,\n }));\n};\n\nexport const getIsInitialMailboxEmailsRequestPending = ({\n filters,\n mailboxEmails,\n getMailboxEmailsListRequestStatus,\n getMailboxesListRequestStatus,\n}): boolean => {\n const initialFilters = getInitialMailboxEmailsFilterMeta();\n\n return (\n JSON.stringify(initialFilters) === JSON.stringify(filters) &&\n mailboxEmails.length === 0 &&\n (getIsRequestPending(getMailboxEmailsListRequestStatus) ||\n getIsRequestIdeal(getMailboxEmailsListRequestStatus)) &&\n (getIsRequestPending(getMailboxesListRequestStatus) ||\n getIsRequestIdeal(getMailboxesListRequestStatus))\n );\n};\n\nexport const isInitialAndCurrentFiltersSame = (filters) =>\n JSON.stringify(getInitialMailboxEmailsFilterMeta()) ===\n JSON.stringify(filters);\n\nexport const getIsFiltersChanged = ({ filters, page, limit }): boolean =>\n filters?.page === page && filters?.limit === limit;\n\nexport const getNotificationIconAndTooltip = (\n cell,\n t,\n): {\n notificationIcon: string;\n notificationTooltip: string;\n} => ({\n notificationIcon: cell ? 'bell' : 'bell-off',\n notificationTooltip: cell\n ? t('messages.notification_turned_on_tooltip_text')\n : t('messages.notification_turned_off_tooltip_text'),\n});\n\nexport const getActionTooltipText = ({ action, notificationTooltip }) =>\n action.key === 'notification' ? notificationTooltip : action.displayName;\n\nexport const getActionImageIcon = ({ action, notificationIcon }) =>\n action.key === 'notification' ? notificationIcon : action.icon;\n\nexport const getOrderInStringForTableSort = (order: number) =>\n order === 1 ? 'asc' : 'desc';\n\nexport const getOrderInNumberForTableSort = (order) =>\n order === 'asc' ? 1 : -1;\n\nexport const generateName = (\n firstName: string,\n lastName: string,\n email: string,\n): string => {\n if (firstName && lastName) {\n return `${firstName} ${lastName}`;\n }\n\n if (firstName || lastName) {\n return `${firstName || lastName}`;\n }\n\n return email;\n};\n\nexport const getUpdatedFiltersBasedOnQuery = ({ filters, params }) => {\n const { page, sortByKey, order, search, owners: mailbox } = params;\n\n return {\n ...filters,\n ...(page && { page }),\n ...(sortByKey && { sortByKey }),\n order: order === SortOrder.ASC ? Order.Asc : Order.Desc,\n ...(search && { search }),\n ...(mailbox && { mailbox }),\n };\n};\n\nexport const getDateTimeTooltipText = (\n date: Date | string,\n userTimezone: string,\n action: string,\n): string => {\n const dateObj = moment(date);\n const timezone = `(GMT${dateObj\n .tz(userTimezone)\n .format('Z')}) ${userTimezone}`;\n\n return `Last ${action} on ${dateObj.format(\n 'Do MMM YYYY',\n )} at ${dateObj.format('hh:mm A')} ${timezone}.`;\n};\n","import { RequestStatus } from '../../../../../../shared/enums/request-status';\nimport { EmailAccount } from '../../../../types/email-account';\nimport {\n UpdateEmailAccountRampUpSettingsRequestPayload,\n UpdateEmailAccountGeneralSettingsRequestPayload,\n EmailTimeIntervalSettingsRequest,\n EmailAccountSetupScorePayload,\n} from '../../../../types/request-payload';\n\nimport { EmailAccountSettings } from '../../../../types/email-account-settings';\nimport {\n EmailAccountMethod,\n EmailAccountType,\n} from '../../../../enums/email-account';\nimport { AgencyConfig } from '../../../../../home/types';\nimport { EmailAccountSetup } from '../../../../../../shared/components/email-account-setup-score/types';\nimport { AgencyClientFilter } from '../../../../../agency-client-management/types/types';\nimport {\n AssignAgencyClientResourceRequestPayload,\n GetAgencyClientDropdownRequestPayload,\n} from '../../../../../agency-client-management/types/request-payload';\nimport { FeatureUsage } from '../../../../../../shared/types/feature-usage';\nimport { CustomDomainType } from '../../../../../settings/types/custom-domain';\n\nexport enum UpdateEmailTabKeys {\n GENERAL_SETTINGS = 'general-settings',\n SENDING_SETTINGS = 'sending-settings',\n EMAIL_SETUP_SCORE = 'email-setup-score',\n}\n\nexport interface RouteParams {\n emailAccountId: string;\n tab: string;\n hashId?: string;\n}\n\nexport type EmailAccountInfo = {\n name: string;\n email: string;\n accountType: string;\n isConnected: number;\n method: EmailAccountMethod;\n};\n\n// Sending Settings Props\n\nexport type RampUpSettings = {\n rampUpStatus: number;\n rampUpPercent: number;\n initialSendingLimit: number;\n rampUpLimit: string;\n maxSendingLimit: string;\n rampUpLimitReached: boolean;\n minInterval: number;\n maxInterval: number;\n};\n\nexport type SendingSettingsProps = {\n emailAccountId: number;\n emailAccountStatus: number;\n emailAccountType: EmailAccountType;\n rampUpSettings: RampUpSettings;\n onSave: (payload: UpdateEmailAccountRampUpSettingsRequestPayload) => void;\n rampUpSettingsRequestStatus: string;\n rampUpSettingsRequestMessage: string;\n rampUpSettingsRequestError: any;\n sendGetEmailAccountSettingsRequest: (id: string | number) => void;\n sendEmailTimeIntervalRequest: (\n emailAccountId: number,\n payload: EmailTimeIntervalSettingsRequest,\n ) => void;\n resetEmailAccountRampUpSettingsRequestState: () => void;\n agencyConfig: Partial;\n emailTimeIntervalSettingsRequestStatus: RequestStatus;\n emailTimeIntervalSettingsRequestMessage: string;\n sendGetEmailAccountSetupScoreRequest: (\n payload: EmailAccountSetupScorePayload,\n ) => void;\n featureUsages: FeatureUsage[];\n};\n\n// Email Account Setup Props\n\nexport enum ScoreFactorStatus {\n Valid = 'valid',\n PartiallyValid = 'partially-valid',\n NotValid = 'not-valid',\n InProgress = 'in-progress',\n NotFound = 'not-found',\n}\n\nexport type EmailAccountSetupProps = {\n emailAccountId: number;\n emailAccountSetup: EmailAccountSetup;\n userTimezone: string;\n agencyConfig: Partial;\n getEmailAccountSetupScoreRequest: RequestStatus;\n getEmailAccountSetupScoreRequestMessage: string;\n getEmailAccountSetupScoreRequestError: any;\n sendGetEmailAccountSetupScoreRequest: (\n payload: EmailAccountSetupScorePayload,\n ) => void;\n resetEmailAccountSetupState: VoidFunction;\n};\n\n// General Settings Props And State\n\ntype StateValues = {\n senderName?: string;\n senderFirstName: string;\n senderLastName?: string;\n bcc: string;\n signature: string;\n};\n\ntype StateErrors = { [P in keyof Required]: string };\ntype StateDirty = { [P in keyof StateErrors]: boolean };\n\nexport type GeneralSettingsState = {\n values: StateValues;\n errors: StateErrors;\n dirty: StateDirty;\n selectedCustomDomain: {\n key: number;\n value: string;\n };\n selectedAgencyClient: AgencyClientFilter;\n isCustomDomainOptionsFetched: boolean;\n isAgencyClientsOptionsFetched: boolean;\n};\n\nexport type GeneralSettingsProps = {\n emailAccountId: number;\n hashId: string;\n emailAccount: EmailAccount;\n tabKey: UpdateEmailTabKeys | string;\n emailAccountSettings: EmailAccountSettings[];\n sendUpdateEmailAccountRequest: (\n emailAccountId: number,\n payload: UpdateEmailAccountGeneralSettingsRequestPayload,\n ) => void;\n updateEmailAccountRequestStatus: RequestStatus;\n getEmailAccountRequestStatus: RequestStatus;\n customDomainList: CustomDomainType[];\n sendImageUploadRequest: (formData, onUploadProgress) => void;\n t: (x: string) => React.ReactNode;\n onCheckEmailScore: (payload: EmailAccountSetupScorePayload) => void;\n sendGetEmailAccountRequest: (id: string | number) => void;\n sendGetEmailAccountSettingsRequest: (id: string | number) => void;\n sendGetCustomDomainsListRequest: () => void;\n agencyClients: AgencyClientFilter[];\n selectedAgencyClient: AgencyClientFilter;\n sendUpdateAssignAgencyClientResource: (\n payload: AssignAgencyClientResourceRequestPayload,\n ) => void;\n getCustomDomainsListRequestStatus: RequestStatus;\n sendGetAgencyClientsDropdownRequest: (\n payload: GetAgencyClientDropdownRequestPayload,\n ) => void;\n getAgencyClientsDropdownRequestStatus: RequestStatus;\n};\n\nexport type CustomDomainDropdown = CustomDomainType & { key: number };\n","import { createSlice } from '@reduxjs/toolkit';\nimport {\n getAgencyClientsRequest,\n createAgencyClientRequest,\n updateAgencyClientRequest,\n deleteAgencyClientRequest,\n getAgencyClientsDropdown,\n getSelectedAgencyClient,\n updateAssignAgencyClientResource,\n toggleAgencyClientStatusRequest,\n getAgencyClientActiveSequencesRequest,\n agencyClientResetPasswordRequest,\n} from './extra-actions';\nimport { RequestStatus } from '../../shared/enums/request-status';\nimport {\n AgencyClient,\n AgencyClientFilter,\n AgencyClientPaginationOptions,\n AgencyClientSequence,\n} from './types/types';\nimport { RequestState } from '../../shared/types/request-state';\n\ninterface State {\n getAgencyClientsRequest: RequestState;\n createAgencyClientRequest: RequestState;\n updateAgencyClientRequest: RequestState;\n deleteAgencyClientRequest: RequestState;\n toggleAgencyClientStatusRequest: RequestState;\n getAgencyClientActiveSequencesRequest: RequestState;\n agencyClientResetPasswordRequest: RequestState;\n\n getAgencyClientsDropdownRequest: RequestState;\n selectedAgencyClientRequest: RequestState;\n updateAgencyClientResource: RequestState;\n clients: AgencyClientFilter[];\n selectedAgencyClient: AgencyClientFilter;\n isLoading: boolean;\n agencyClients: AgencyClient[];\n agencyClientsPaginationOptions: AgencyClientPaginationOptions;\n agencyClientsSequences: AgencyClientSequence[];\n search: string;\n agencyClient: AgencyClient;\n}\n\nconst initialState: State = {\n getAgencyClientsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n createAgencyClientRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateAgencyClientRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n deleteAgencyClientRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n toggleAgencyClientStatusRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getAgencyClientActiveSequencesRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n agencyClientResetPasswordRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n search: '',\n agencyClients: [],\n agencyClientsPaginationOptions: null,\n agencyClientsSequences: [],\n agencyClient: null,\n getAgencyClientsDropdownRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateAgencyClientResource: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n selectedAgencyClientRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n selectedAgencyClient: null,\n clients: [],\n isLoading: false,\n};\n\nconst agencyClientManagementSlice = createSlice({\n name: 'agencyClient',\n initialState,\n reducers: {\n resetCreateAgencyClientRequest: (state) => {\n state.createAgencyClientRequest = initialState.createAgencyClientRequest;\n },\n resetUpdateAgencyClientRequest: (state) => {\n state.updateAgencyClientRequest = initialState.updateAgencyClientRequest;\n },\n resetDeleteAgencyClientRequest: (state) => {\n state.deleteAgencyClientRequest = initialState.deleteAgencyClientRequest;\n },\n resetGetAgencyClientActiveSequencesRequest: (state) => {\n state.getAgencyClientActiveSequencesRequest =\n initialState.getAgencyClientActiveSequencesRequest;\n },\n resetAgencyClientsSequences: (state) => {\n state.agencyClientsSequences = initialState.agencyClientsSequences;\n },\n resetAgencyClientResetPasswordRequest: (state) => {\n state.agencyClientResetPasswordRequest =\n initialState.agencyClientResetPasswordRequest;\n },\n resetAgencyClientAssignResource: (state) => {\n state.updateAgencyClientResource =\n initialState.updateAgencyClientResource;\n },\n resetToggleAgencyClientStatusRequest: (state) => {\n state.toggleAgencyClientStatusRequest =\n initialState.toggleAgencyClientStatusRequest;\n },\n resetAgencyClientManagementRequest: (state) => {\n state.getAgencyClientsDropdownRequest.status = RequestStatus.Ideal;\n state.getAgencyClientsDropdownRequest.error = null;\n state.isLoading = false;\n },\n saveSearch: (state, action) => {\n state.search = action.payload;\n },\n },\n extraReducers: (builder) => {\n // Get Agency Clients List\n builder.addCase(getAgencyClientsRequest.pending, (state) => {\n state.getAgencyClientsRequest.status = RequestStatus.Pending;\n state.getAgencyClientsRequest.error = null;\n });\n builder.addCase(getAgencyClientsRequest.fulfilled, (state, action) => {\n state.getAgencyClientsRequest.status = RequestStatus.Succeeded;\n state.getAgencyClientsRequest.message = action.payload.message;\n state.agencyClients = action.payload.payload.items;\n state.agencyClientsPaginationOptions = action.payload.payload.meta;\n });\n builder.addCase(getAgencyClientsRequest.rejected, (state, action) => {\n state.getAgencyClientsRequest.status = RequestStatus.Failed;\n state.getAgencyClientsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Create Agency Client\n builder.addCase(createAgencyClientRequest.pending, (state) => {\n state.createAgencyClientRequest.status = RequestStatus.Pending;\n state.createAgencyClientRequest.error = null;\n });\n builder.addCase(createAgencyClientRequest.fulfilled, (state, action) => {\n state.createAgencyClientRequest.status = RequestStatus.Succeeded;\n state.createAgencyClientRequest.message = action.payload.message;\n });\n builder.addCase(createAgencyClientRequest.rejected, (state, action) => {\n state.createAgencyClientRequest.status = RequestStatus.Failed;\n state.createAgencyClientRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Update Agency Client\n builder.addCase(updateAgencyClientRequest.pending, (state) => {\n state.updateAgencyClientRequest.status = RequestStatus.Pending;\n state.updateAgencyClientRequest.error = null;\n });\n builder.addCase(updateAgencyClientRequest.fulfilled, (state, action) => {\n state.updateAgencyClientRequest.status = RequestStatus.Succeeded;\n state.updateAgencyClientRequest.message = action.payload.message;\n });\n builder.addCase(updateAgencyClientRequest.rejected, (state, action) => {\n state.updateAgencyClientRequest.status = RequestStatus.Failed;\n state.updateAgencyClientRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Delete Agency Client\n builder.addCase(deleteAgencyClientRequest.pending, (state) => {\n state.deleteAgencyClientRequest.status = RequestStatus.Pending;\n state.deleteAgencyClientRequest.error = null;\n });\n builder.addCase(deleteAgencyClientRequest.fulfilled, (state, action) => {\n state.deleteAgencyClientRequest.status = RequestStatus.Succeeded;\n state.deleteAgencyClientRequest.message = action.payload.message;\n });\n builder.addCase(deleteAgencyClientRequest.rejected, (state, action) => {\n state.deleteAgencyClientRequest.status = RequestStatus.Failed;\n state.deleteAgencyClientRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Toggle Agency Client Status\n builder.addCase(toggleAgencyClientStatusRequest.pending, (state) => {\n state.toggleAgencyClientStatusRequest.status = RequestStatus.Pending;\n state.toggleAgencyClientStatusRequest.error = null;\n });\n builder.addCase(\n toggleAgencyClientStatusRequest.fulfilled,\n (state, action) => {\n state.toggleAgencyClientStatusRequest.status = RequestStatus.Succeeded;\n state.toggleAgencyClientStatusRequest.message = action.payload.message;\n },\n );\n builder.addCase(\n toggleAgencyClientStatusRequest.rejected,\n (state, action) => {\n state.toggleAgencyClientStatusRequest.status = RequestStatus.Failed;\n state.toggleAgencyClientStatusRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Delete Agency Client\n builder.addCase(getAgencyClientActiveSequencesRequest.pending, (state) => {\n state.getAgencyClientActiveSequencesRequest.status =\n RequestStatus.Pending;\n state.getAgencyClientActiveSequencesRequest.error = null;\n });\n builder.addCase(\n getAgencyClientActiveSequencesRequest.fulfilled,\n (state, action) => {\n state.getAgencyClientActiveSequencesRequest.status =\n RequestStatus.Succeeded;\n state.getAgencyClientActiveSequencesRequest.message =\n action.payload.message;\n state.agencyClientsSequences = action.payload.payload.clientSequences;\n },\n );\n builder.addCase(\n getAgencyClientActiveSequencesRequest.rejected,\n (state, action) => {\n state.getAgencyClientActiveSequencesRequest.status =\n RequestStatus.Failed;\n state.getAgencyClientActiveSequencesRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Get agency clients dropdown\n builder.addCase(getAgencyClientsDropdown.pending, (state) => {\n state.getAgencyClientsDropdownRequest.status = RequestStatus.Pending;\n state.getAgencyClientsDropdownRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(getAgencyClientsDropdown.fulfilled, (state, action) => {\n state.getAgencyClientsDropdownRequest.status = RequestStatus.Succeeded;\n state.getAgencyClientsDropdownRequest.message = action.payload.message;\n state.clients = action.payload.payload.clients?.map((client) => ({\n ...client,\n key: client.id,\n }));\n state.isLoading = false;\n });\n builder.addCase(getAgencyClientsDropdown.rejected, (state, action) => {\n state.getAgencyClientsDropdownRequest.status = RequestStatus.Failed;\n state.getAgencyClientsDropdownRequest.error = action.payload;\n state.isLoading = false;\n });\n\n // Get selected agency client\n builder.addCase(getSelectedAgencyClient.pending, (state) => {\n state.selectedAgencyClientRequest.status = RequestStatus.Pending;\n state.selectedAgencyClientRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(getSelectedAgencyClient.fulfilled, (state, action) => {\n state.selectedAgencyClientRequest.status = RequestStatus.Succeeded;\n state.selectedAgencyClientRequest.message = action.payload.message;\n let { connectedClient } = action.payload.payload;\n connectedClient = connectedClient ?? {};\n state.selectedAgencyClient = {\n ...connectedClient,\n ...(connectedClient.id && { key: connectedClient.id }),\n };\n state.isLoading = false;\n });\n builder.addCase(getSelectedAgencyClient.rejected, (state, action) => {\n state.selectedAgencyClientRequest.status = RequestStatus.Failed;\n state.selectedAgencyClientRequest.error = action.payload;\n state.isLoading = false;\n });\n\n // Update/Assign selected agency client\n builder.addCase(updateAssignAgencyClientResource.pending, (state) => {\n state.updateAgencyClientResource.status = RequestStatus.Pending;\n state.updateAgencyClientResource.error = null;\n state.isLoading = true;\n });\n builder.addCase(\n updateAssignAgencyClientResource.fulfilled,\n (state, action) => {\n state.updateAgencyClientResource.status = RequestStatus.Succeeded;\n state.updateAgencyClientResource.message = action.payload.message;\n state.isLoading = false;\n },\n );\n builder.addCase(\n updateAssignAgencyClientResource.rejected,\n (state, action) => {\n state.updateAgencyClientResource.status = RequestStatus.Failed;\n state.updateAgencyClientResource.error = action.payload;\n state.isLoading = false;\n },\n );\n\n // Send Reset Agency Client Password\n builder.addCase(agencyClientResetPasswordRequest.pending, (state) => {\n state.agencyClientResetPasswordRequest.status = RequestStatus.Pending;\n state.agencyClientResetPasswordRequest.error = null;\n });\n builder.addCase(\n agencyClientResetPasswordRequest.fulfilled,\n (state, action) => {\n state.agencyClientResetPasswordRequest.status = RequestStatus.Succeeded;\n state.agencyClientResetPasswordRequest.message = action.payload.message;\n },\n );\n builder.addCase(\n agencyClientResetPasswordRequest.rejected,\n (state, action) => {\n state.agencyClientResetPasswordRequest.status = RequestStatus.Failed;\n state.agencyClientResetPasswordRequest.error = action.payload;\n },\n );\n },\n});\n\nexport { getAgencyClientsDropdown };\n\nexport const {\n resetCreateAgencyClientRequest,\n resetUpdateAgencyClientRequest,\n resetDeleteAgencyClientRequest,\n resetGetAgencyClientActiveSequencesRequest,\n resetAgencyClientsSequences,\n resetAgencyClientAssignResource,\n resetAgencyClientManagementRequest,\n resetAgencyClientResetPasswordRequest,\n resetToggleAgencyClientStatusRequest,\n saveSearch,\n} = agencyClientManagementSlice.actions;\nexport default agencyClientManagementSlice.reducer;\n","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../shared/enums/request-status';\nimport { ResponseErrorWithHandled } from '../../shared/types';\nimport {\n forwardEmailRequest,\n getEmailInboxRequest,\n getEmailThreadActivityRequest,\n getEmailThreadRequest,\n replyEmailRequest,\n getEmailCategoriesRequest,\n updateEmailCategoryRequest,\n getSequencesListForFilterRequest,\n getEmailAccountsListForFilterRequest,\n markEmailConversationAsRead,\n markEmailConversationAsUnRead,\n deleteEmailConversationRequest,\n bulkMarkAsReadUnreadRequest,\n bulkDeleteRequest,\n bulkCategoryAssignRequest,\n uploadAttachmentUniboxRequest,\n deleteAttachmentUniboxRequest,\n replyDraftRequest,\n replyScheduleCancelRequest,\n replyDraftDiscardRequest,\n replyScheduleRequest,\n exclusionListBlockRequest,\n} from './extra-actions';\nimport {\n AttachmentUploadResponse,\n EmailCategoryType,\n EmailInboxFilters,\n EmailListItem,\n EmailListMeta,\n EmailThreadItem,\n IsEmailSelectedPayload,\n SelectAllEmailThreads,\n UnifiedInboxEmailThreadActivity,\n UpdateUniboxEmailScheduleDataPayload,\n} from './type';\nimport {\n getTotalSelectedEmailCount,\n getUniboxEmailListWithUpdatedScheduleData,\n} from './helpers/helper';\nimport { getDefaultFilters } from './helpers/utils/get-default-filters';\nimport toaster, { Theme } from '../../shared/toaster';\n\ntype RequestState = {\n status: RequestStatus;\n message: string;\n error: ResponseErrorWithHandled;\n};\n\ntype State = {\n unifiedInboxFilters: EmailInboxFilters;\n getEmailInboxRequest: RequestState;\n getEmailThreadRequest: RequestState;\n getEmailThreadActivityRequest: RequestState;\n replyEmailRequest: {\n [id: number]: RequestState;\n };\n forwardEmailRequest: {\n [id: number]: RequestState;\n };\n replyDraftRequest: {\n [id: number]: RequestState;\n };\n uploadAttachmentUniboxRequest: {\n [id: number]: RequestState;\n };\n deleteAttachmentUniboxRequest: {\n [id: number]: RequestState;\n };\n uploadedAttachment: {\n [id: number]: AttachmentUploadResponse;\n };\n deletedAttachmentId: {\n [id: number]: number;\n };\n replyDraftDiscardRequest: {\n [id: number]: RequestState;\n };\n replyScheduleCancelRequest: {\n [id: number]: RequestState;\n };\n replyScheduleRequest: {\n [id: number]: RequestState;\n };\n getEmailCategoriesRequest: RequestState;\n updateEmailCategoryRequest: RequestState;\n getSequencesListForFilterRequest: RequestState;\n getEmailAccountsListForFilterRequest: RequestState;\n markEmailConversationAsRead: RequestState;\n markEmailConversationAsUnRead: RequestState;\n deleteEmailConversationRequest: RequestState;\n bulkMarkAsReadUnreadRequest: RequestState;\n bulkDeleteRequest: RequestState;\n bulkCategoryAssignRequest: RequestState;\n emailsList: EmailListItem[];\n emailsListMeta: EmailListMeta;\n emailThreadList: EmailThreadItem[];\n unifiedInboxEmailThreadActivity: UnifiedInboxEmailThreadActivity[];\n emailCategories: EmailCategoryType[];\n sequences: any[];\n emails: any[];\n selectedEmailThreads: EmailListItem[];\n selectAllEmailThreads: SelectAllEmailThreads;\n showMarkAsReadMessage: boolean;\n exclusionListBlockRequest: RequestState;\n};\n\nconst initialState: State = {\n getEmailInboxRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getEmailThreadRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getEmailThreadActivityRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n replyEmailRequest: {},\n forwardEmailRequest: {},\n replyDraftRequest: {},\n uploadAttachmentUniboxRequest: {},\n deleteAttachmentUniboxRequest: {},\n uploadedAttachment: {},\n deletedAttachmentId: {},\n replyDraftDiscardRequest: {},\n replyScheduleCancelRequest: {},\n replyScheduleRequest: {},\n getEmailCategoriesRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateEmailCategoryRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getSequencesListForFilterRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getEmailAccountsListForFilterRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n markEmailConversationAsRead: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n markEmailConversationAsUnRead: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n deleteEmailConversationRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n bulkMarkAsReadUnreadRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n bulkDeleteRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n bulkCategoryAssignRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n emailsList: [],\n emailsListMeta: null,\n emailThreadList: null,\n unifiedInboxEmailThreadActivity: null,\n unifiedInboxFilters: getDefaultFilters(),\n emailCategories: null,\n sequences: [],\n emails: [],\n selectedEmailThreads: [],\n selectAllEmailThreads: null,\n showMarkAsReadMessage: false,\n exclusionListBlockRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n};\n\nconst unifiedInboxSlice = createSlice({\n name: 'unifiedInbox',\n initialState,\n reducers: {\n resetGetEmailInboxRequestStatus: (state) => {\n state.getEmailInboxRequest = initialState.getEmailInboxRequest;\n },\n resetEmailInboxState: (state) => {\n state.getEmailInboxRequest = initialState.getEmailInboxRequest;\n },\n resetUnifiedInboxEmailThreadActivity: (state) => {\n state.getEmailThreadActivityRequest =\n initialState.getEmailThreadActivityRequest;\n state.unifiedInboxEmailThreadActivity =\n initialState.unifiedInboxEmailThreadActivity;\n },\n resetUpdateEmailCategoryRequest: (state) => {\n state.updateEmailCategoryRequest =\n initialState.updateEmailCategoryRequest;\n },\n resetMarkEmailConversationAsRead: (state) => {\n state.markEmailConversationAsRead =\n initialState.markEmailConversationAsRead;\n },\n resetMarkEmailConversationAsUnRead: (state) => {\n state.markEmailConversationAsUnRead =\n initialState.markEmailConversationAsUnRead;\n },\n resetDeleteEmailConversationRequest: (state) => {\n state.deleteEmailConversationRequest =\n initialState.deleteEmailConversationRequest;\n },\n updateReadStatus: (state, action) => {\n state.emailsList = state.emailsList.map((email) => {\n if (action.payload.hashId === email.hashId) {\n return {\n ...email,\n isRead: 1,\n };\n }\n return email;\n });\n },\n setUnifiedInboxFilters: (state, action) => {\n state.unifiedInboxFilters = {\n ...state.unifiedInboxFilters,\n ...action.payload,\n };\n },\n resetUnifiedInboxFilters: (state, action) => {\n const key: keyof EmailInboxFilters | 'all' = action.payload;\n if (key === 'all') {\n state.unifiedInboxFilters = initialState.unifiedInboxFilters;\n } else {\n state.unifiedInboxFilters = {\n ...state.unifiedInboxFilters,\n [key]: initialState.unifiedInboxFilters[key],\n };\n }\n },\n updateIsEmailSelected: (\n state,\n action: { payload: IsEmailSelectedPayload },\n ) => {\n const { hashId, isSelected, select } = action.payload;\n\n if (select === 'bulk') {\n // Update the email list isSelected key\n state.emailsList = state.emailsList.map((email) => ({\n ...email,\n isSelected,\n }));\n\n // Update the selectAllEmailThreads object\n state.selectAllEmailThreads = {\n isAllEmailThreadsSelected: isSelected,\n deSelectedEmailThreadIds: [],\n emailsFilter: action.payload.filters,\n };\n }\n\n if (select === 'all') {\n // Update the email list isSelected key\n state.emailsList = state.emailsList.map((email) => ({\n ...email,\n isSelected,\n }));\n\n if (isSelected) {\n if (state.selectAllEmailThreads?.isAllEmailThreadsSelected) {\n state.emailsList.forEach((email) => {\n state.selectAllEmailThreads.deSelectedEmailThreadIds = state.selectAllEmailThreads.deSelectedEmailThreadIds.filter(\n (id) => email.hashId !== id,\n );\n });\n }\n\n // Update the selectedEmailThreads array\n const refArray = [...state.selectedEmailThreads];\n\n state.emailsList.forEach((email) => {\n const emailData = state.selectedEmailThreads.find(\n (selectedEmail) => selectedEmail.hashId === email.hashId,\n );\n if (!emailData) {\n refArray.push(email);\n }\n });\n\n state.selectedEmailThreads = refArray;\n } else {\n if (state.selectAllEmailThreads?.isAllEmailThreadsSelected) {\n state.emailsList.forEach((email) => {\n state.selectAllEmailThreads.deSelectedEmailThreadIds = state.selectAllEmailThreads?.deSelectedEmailThreadIds.concat(\n [email.hashId],\n );\n });\n }\n\n state.selectedEmailThreads = state.selectedEmailThreads.reduce(\n (acc, item) => {\n let isPresent = false;\n state.emailsList.forEach((email) => {\n if (email.hashId === item.hashId) {\n isPresent = true;\n }\n });\n if (isPresent) {\n return acc;\n }\n return [...acc, item];\n },\n [],\n );\n }\n }\n\n if (select === 'single') {\n state.emailsList = state.emailsList.map((email) => {\n if (hashId === email.hashId) {\n return {\n ...email,\n isSelected,\n };\n }\n return email;\n });\n\n if (isSelected) {\n if (state.selectAllEmailThreads?.isAllEmailThreadsSelected) {\n state.selectAllEmailThreads.deSelectedEmailThreadIds = state.selectAllEmailThreads.deSelectedEmailThreadIds.filter(\n (id) => hashId !== id,\n );\n }\n\n // Update the selectedEmailThreads array\n // state.selectedEmailThreads = isSelected ? state.emailsList : [];\n state.selectedEmailThreads = state.selectedEmailThreads.concat(\n state.emailsList.filter((email) => email.hashId === hashId),\n );\n } else {\n if (state.selectAllEmailThreads?.isAllEmailThreadsSelected) {\n state.selectAllEmailThreads.deSelectedEmailThreadIds = state.selectAllEmailThreads?.deSelectedEmailThreadIds.concat(\n [hashId],\n );\n }\n\n state.selectedEmailThreads = state.selectedEmailThreads.filter(\n (email) => email.hashId !== hashId,\n );\n }\n }\n\n if (state.selectAllEmailThreads) {\n state.selectAllEmailThreads.selectedEmailsCount =\n getTotalSelectedEmailCount(state.emailsListMeta?.totalItems) -\n state.selectAllEmailThreads?.deSelectedEmailThreadIds.length;\n\n if (state.selectAllEmailThreads.selectedEmailsCount === 0) {\n state.selectAllEmailThreads = initialState.selectAllEmailThreads;\n state.selectedEmailThreads = initialState.selectedEmailThreads;\n state.emailsList = state.emailsList.map((email) => ({\n ...email,\n isSelected: false,\n }));\n }\n }\n },\n\n updateUniboxEmailScheduleData: (\n state,\n action: { payload: UpdateUniboxEmailScheduleDataPayload },\n ) => {\n state.emailsList = getUniboxEmailListWithUpdatedScheduleData(\n state.emailsList,\n state.emailThreadList,\n action.payload,\n );\n },\n\n clearIsEmailSelected: (state) => {\n state.selectAllEmailThreads = initialState.selectAllEmailThreads;\n state.selectedEmailThreads = initialState.selectedEmailThreads;\n state.emailsList = state.emailsList.map((email) => ({\n ...email,\n isSelected: false,\n }));\n },\n\n resetBulkMarkAsReadUnreadRequest: (state) => {\n state.bulkMarkAsReadUnreadRequest =\n initialState.bulkMarkAsReadUnreadRequest;\n },\n resetBulkCategoryAssignRequest: (state) => {\n state.bulkCategoryAssignRequest = initialState.bulkCategoryAssignRequest;\n },\n resetBulkDeleteRequest: (state) => {\n state.bulkDeleteRequest = initialState.bulkDeleteRequest;\n },\n setShowMarkAsReadMessage: (state) => {\n state.showMarkAsReadMessage = true;\n },\n resetShowMarkAsReadMessage: (state) => {\n state.showMarkAsReadMessage = initialState.showMarkAsReadMessage;\n },\n resetFilterData: (state) => {\n state.emailCategories = initialState.emailCategories;\n state.sequences = initialState.sequences;\n state.emails = initialState.emails;\n },\n resetReplyForwardDraftRequest: (state, action: { payload: number }) => {\n delete state.replyEmailRequest[action.payload];\n delete state.forwardEmailRequest[action.payload];\n delete state.replyDraftRequest[action.payload];\n delete state.replyScheduleRequest[action.payload];\n },\n resetReplyDraftDiscardRequest: (state, action: { payload: number }) => {\n delete state.replyDraftDiscardRequest[action.payload];\n },\n resetReplyScheduleCancelRequest: (state, action: { payload: number }) => {\n delete state.replyScheduleCancelRequest[action.payload];\n },\n resetUploadAttachmentUniboxRequest: (\n state,\n action: { payload: number },\n ) => {\n delete state.uploadAttachmentUniboxRequest[action.payload];\n delete state.uploadedAttachment[action.payload];\n },\n resetDeleteAttachmentUniboxRequest: (\n state,\n action: { payload: number },\n ) => {\n delete state.deleteAttachmentUniboxRequest[action.payload];\n delete state.deletedAttachmentId[action.payload];\n },\n resetExclusionListBlockRequest: (state) => {\n state.exclusionListBlockRequest = initialState.exclusionListBlockRequest;\n },\n },\n extraReducers: (builder) => {\n // Get Email Inbox List\n builder.addCase(getEmailInboxRequest.pending, (state) => {\n state.getEmailInboxRequest.status = RequestStatus.Pending;\n state.getEmailInboxRequest.error = null;\n });\n builder.addCase(getEmailInboxRequest.fulfilled, (state, action) => {\n state.getEmailInboxRequest.status = RequestStatus.Succeeded;\n\n if (state.selectAllEmailThreads?.isAllEmailThreadsSelected) {\n state.emailsList = action.payload.payload.items.map((email) => ({\n ...email,\n isSelected: !state.selectAllEmailThreads?.deSelectedEmailThreadIds.includes(\n email.hashId,\n ),\n }));\n } else {\n state.emailsList = action.payload.payload.items.map((email) => ({\n ...email,\n isSelected:\n state.selectedEmailThreads?.find(\n (item) => item.hashId === email.hashId,\n ) !== undefined,\n }));\n }\n\n // if first page then only update totalItems\n state.emailsListMeta = {\n ...action.payload.payload.meta,\n totalItems:\n action.meta.arg.page === 1\n ? action.payload.payload.meta?.totalItems\n : state.emailsListMeta?.totalItems,\n totalPages:\n action.meta.arg.page === 1\n ? action.payload.payload.meta?.totalPages\n : state.emailsListMeta?.totalPages,\n };\n\n state.getEmailInboxRequest.error = null;\n });\n builder.addCase(getEmailInboxRequest.rejected, (state, action) => {\n state.getEmailInboxRequest.status = RequestStatus.Failed;\n state.getEmailInboxRequest.message = action.payload.message;\n state.getEmailInboxRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Email Thread List\n builder.addCase(getEmailThreadRequest.pending, (state) => {\n state.getEmailThreadRequest.status = RequestStatus.Pending;\n state.getEmailThreadRequest.error = null;\n });\n builder.addCase(getEmailThreadRequest.fulfilled, (state, action) => {\n state.getEmailThreadRequest.status = RequestStatus.Succeeded;\n state.emailThreadList = action.payload.payload;\n state.getEmailThreadRequest.error = null;\n });\n builder.addCase(getEmailThreadRequest.rejected, (state, action) => {\n state.getEmailThreadRequest.status = RequestStatus.Failed;\n state.getEmailThreadRequest.message = action.payload.message;\n state.getEmailThreadRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Email Thread Activity\n builder.addCase(getEmailThreadActivityRequest.pending, (state) => {\n state.getEmailThreadActivityRequest.status = RequestStatus.Pending;\n state.getEmailThreadActivityRequest.error = null;\n });\n builder.addCase(\n getEmailThreadActivityRequest.fulfilled,\n (state, action) => {\n state.getEmailThreadActivityRequest.status = RequestStatus.Succeeded;\n state.getEmailThreadActivityRequest.message = action.payload.message;\n state.unifiedInboxEmailThreadActivity = action.payload.payload;\n },\n );\n builder.addCase(getEmailThreadActivityRequest.rejected, (state, action) => {\n state.getEmailThreadActivityRequest.status = RequestStatus.Failed;\n state.getEmailThreadActivityRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Sequences List\n builder.addCase(getSequencesListForFilterRequest.pending, (state) => {\n state.getSequencesListForFilterRequest.status = RequestStatus.Pending;\n state.getSequencesListForFilterRequest.error = null;\n });\n builder.addCase(\n getSequencesListForFilterRequest.fulfilled,\n (state, action) => {\n state.getSequencesListForFilterRequest.status = RequestStatus.Succeeded;\n state.getSequencesListForFilterRequest.message = action.payload.message;\n state.sequences = action.payload.payload;\n },\n );\n builder.addCase(\n getSequencesListForFilterRequest.rejected,\n (state, action) => {\n state.getSequencesListForFilterRequest.status = RequestStatus.Failed;\n state.getSequencesListForFilterRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Get Email Accounts List\n builder.addCase(getEmailAccountsListForFilterRequest.pending, (state) => {\n state.getEmailAccountsListForFilterRequest.status = RequestStatus.Pending;\n state.getEmailAccountsListForFilterRequest.error = null;\n });\n builder.addCase(\n getEmailAccountsListForFilterRequest.fulfilled,\n (state, action) => {\n state.getEmailAccountsListForFilterRequest.status =\n RequestStatus.Succeeded;\n state.getEmailAccountsListForFilterRequest.message =\n action.payload.message;\n state.emails = action.payload.payload;\n },\n );\n builder.addCase(\n getEmailAccountsListForFilterRequest.rejected,\n (state, action) => {\n state.getEmailAccountsListForFilterRequest.status =\n RequestStatus.Failed;\n state.getEmailAccountsListForFilterRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Reply Email\n builder.addCase(replyEmailRequest.pending, (state, action) => {\n const { emailId } = action.meta.arg;\n if (!state.replyEmailRequest[emailId]) {\n state.replyEmailRequest[emailId] = {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n };\n }\n state.replyEmailRequest[emailId].status = RequestStatus.Pending;\n state.replyEmailRequest[emailId].error = null;\n });\n builder.addCase(replyEmailRequest.fulfilled, (state, action) => {\n const { emailId } = action.meta.arg;\n if (state.replyEmailRequest[emailId]) {\n state.replyEmailRequest[emailId].status = RequestStatus.Succeeded;\n state.replyEmailRequest[emailId].message = action.payload.message;\n state.replyEmailRequest[emailId].error = null;\n }\n });\n builder.addCase(replyEmailRequest.rejected, (state, action) => {\n const { emailId } = action.meta.arg;\n if (state.replyEmailRequest[emailId]) {\n state.replyEmailRequest[emailId].status = RequestStatus.Failed;\n state.replyEmailRequest[emailId].message = action.payload.message;\n state.replyEmailRequest[emailId].error =\n !action.payload.isHandled && action.payload;\n }\n });\n\n // Forward Email\n builder.addCase(forwardEmailRequest.pending, (state, action) => {\n const { emailId } = action.meta.arg;\n if (!state.forwardEmailRequest[emailId]) {\n state.forwardEmailRequest[emailId] = {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n };\n }\n state.forwardEmailRequest[emailId].status = RequestStatus.Pending;\n state.forwardEmailRequest[emailId].error = null;\n });\n builder.addCase(forwardEmailRequest.fulfilled, (state, action) => {\n const { emailId } = action.meta.arg;\n if (state.forwardEmailRequest[emailId]) {\n state.forwardEmailRequest[emailId].status = RequestStatus.Succeeded;\n state.forwardEmailRequest[emailId].message = action.payload.message;\n state.forwardEmailRequest[emailId].error = null;\n }\n });\n builder.addCase(forwardEmailRequest.rejected, (state, action) => {\n const { emailId } = action.meta.arg;\n if (state.forwardEmailRequest[emailId]) {\n state.forwardEmailRequest[emailId].status = RequestStatus.Failed;\n state.forwardEmailRequest[emailId].message = action.payload.message;\n state.forwardEmailRequest[emailId].error =\n !action.payload.isHandled && action.payload;\n }\n });\n\n // Reply Draft Request\n builder.addCase(replyDraftRequest.pending, (state, action) => {\n const emailId = action.meta.arg.repliedOnEmailId;\n if (!state.replyDraftRequest[emailId]) {\n state.replyDraftRequest[emailId] = {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n };\n }\n state.replyDraftRequest[emailId].status = RequestStatus.Pending;\n state.replyDraftRequest[emailId].error = null;\n });\n builder.addCase(replyDraftRequest.fulfilled, (state, action) => {\n const emailId = action.meta.arg.repliedOnEmailId;\n if (state.replyDraftRequest[emailId]) {\n state.replyDraftRequest[emailId].status = RequestStatus.Succeeded;\n state.replyDraftRequest[emailId].error = null;\n }\n state.emailThreadList = state.emailThreadList.map((email) => {\n if (email.emailId === emailId) {\n return {\n ...email,\n unifiedScheduled: action.payload.payload,\n };\n }\n return email;\n });\n });\n builder.addCase(replyDraftRequest.rejected, (state, action) => {\n const emailId = action.meta.arg.repliedOnEmailId;\n if (state.replyDraftRequest[emailId]) {\n state.replyDraftRequest[emailId].status = RequestStatus.Failed;\n state.replyDraftRequest[emailId].message = action.payload.message;\n state.replyDraftRequest[emailId].error =\n !action.payload.isHandled && action.payload;\n }\n });\n\n // Upload Attachment Request [For unibox multiple reply editors]\n builder.addCase(uploadAttachmentUniboxRequest.pending, (state, action) => {\n const { emailId } = action.meta.arg;\n if (!state.uploadAttachmentUniboxRequest[emailId]) {\n state.uploadAttachmentUniboxRequest[emailId] = {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n };\n }\n state.uploadAttachmentUniboxRequest[emailId].status =\n RequestStatus.Pending;\n state.uploadAttachmentUniboxRequest[emailId].message = null;\n state.uploadAttachmentUniboxRequest[emailId].error = null;\n });\n builder.addCase(\n uploadAttachmentUniboxRequest.fulfilled,\n (state, action) => {\n const { emailId } = action.meta.arg;\n if (state.uploadAttachmentUniboxRequest[emailId]) {\n state.uploadAttachmentUniboxRequest[emailId].status =\n RequestStatus.Succeeded;\n state.uploadAttachmentUniboxRequest[emailId].message =\n action.payload.message;\n state.uploadAttachmentUniboxRequest[emailId].error = null;\n state.uploadedAttachment[emailId] = action.payload.payload;\n }\n },\n );\n builder.addCase(uploadAttachmentUniboxRequest.rejected, (state, action) => {\n const { emailId } = action.meta.arg;\n if (state.uploadAttachmentUniboxRequest[emailId]) {\n state.uploadAttachmentUniboxRequest[emailId].status =\n RequestStatus.Failed;\n state.uploadAttachmentUniboxRequest[emailId].message =\n action.payload.message;\n state.uploadAttachmentUniboxRequest[emailId].error =\n !action.payload.isHandled && action.payload;\n\n state.uploadedAttachment[emailId] = {\n attachmentId: null,\n attachmentIdentifier: action.meta.arg.formData\n .get('attachmentIdentifier')\n .toString(),\n };\n }\n });\n\n // Delete Attachment Request [For unibox multiple reply editors]\n builder.addCase(deleteAttachmentUniboxRequest.pending, (state, action) => {\n const { emailId } = action.meta.arg;\n if (!state.deleteAttachmentUniboxRequest[emailId]) {\n state.deleteAttachmentUniboxRequest[emailId] = {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n };\n }\n state.deleteAttachmentUniboxRequest[emailId].status =\n RequestStatus.Pending;\n state.deleteAttachmentUniboxRequest[emailId].message = null;\n state.deleteAttachmentUniboxRequest[emailId].error = null;\n });\n builder.addCase(\n deleteAttachmentUniboxRequest.fulfilled,\n (state, action) => {\n const { emailId } = action.meta.arg;\n if (state.deleteAttachmentUniboxRequest[emailId]) {\n state.deleteAttachmentUniboxRequest[emailId].status =\n RequestStatus.Succeeded;\n state.deleteAttachmentUniboxRequest[emailId].message =\n action.payload.message;\n state.deleteAttachmentUniboxRequest[emailId].error = null;\n state.deletedAttachmentId[emailId] = action.meta.arg.attachmentId;\n }\n },\n );\n builder.addCase(deleteAttachmentUniboxRequest.rejected, (state, action) => {\n const { emailId } = action.meta.arg;\n if (state.deleteAttachmentUniboxRequest[emailId]) {\n state.deleteAttachmentUniboxRequest[emailId].status =\n RequestStatus.Failed;\n state.deleteAttachmentUniboxRequest[emailId].message =\n action.payload.message;\n state.deleteAttachmentUniboxRequest[emailId].error =\n !action.payload.isHandled && action.payload;\n }\n });\n\n // Reply Draft Discard Request\n builder.addCase(replyDraftDiscardRequest.pending, (state, action) => {\n const emailId = action.meta.arg.repliedOnEmailId;\n if (!state.replyDraftDiscardRequest[emailId]) {\n state.replyDraftDiscardRequest[emailId] = {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n };\n }\n state.replyDraftDiscardRequest[emailId].status = RequestStatus.Pending;\n state.replyDraftDiscardRequest[emailId].error = null;\n });\n builder.addCase(replyDraftDiscardRequest.fulfilled, (state, action) => {\n const { repliedOnEmailId: emailId, hashId, isDraftTab } = action.meta.arg;\n if (state.replyDraftDiscardRequest[emailId]) {\n state.replyDraftDiscardRequest[emailId].status =\n RequestStatus.Succeeded;\n state.replyDraftDiscardRequest[emailId].error = null;\n }\n state.emailThreadList = state.emailThreadList.map((email) => {\n if (email.emailId === emailId) {\n return {\n ...email,\n unifiedScheduled: null,\n };\n }\n return email;\n });\n state.emailsList = getUniboxEmailListWithUpdatedScheduleData(\n state.emailsList,\n state.emailThreadList,\n {\n hashId,\n isDraftTab,\n },\n );\n // Adding toast here since component gets unmounted due to removal of unifiedScheduled\n toaster.success('Email has been discarded successfully.', {\n theme: Theme.New,\n });\n });\n builder.addCase(replyDraftDiscardRequest.rejected, (state, action) => {\n const emailId = action.meta.arg.repliedOnEmailId;\n if (state.replyDraftDiscardRequest[emailId]) {\n state.replyDraftDiscardRequest[emailId].status = RequestStatus.Failed;\n state.replyDraftDiscardRequest[emailId].message =\n action.payload.message;\n state.replyDraftDiscardRequest[emailId].error =\n !action.payload.isHandled && action.payload;\n }\n });\n\n // Reply Schedule Cancel Request\n builder.addCase(replyScheduleCancelRequest.pending, (state, action) => {\n const emailId = action.meta.arg.repliedOnEmailId;\n if (!state.replyScheduleCancelRequest[emailId]) {\n state.replyScheduleCancelRequest[emailId] = {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n };\n }\n state.replyScheduleCancelRequest[emailId].status = RequestStatus.Pending;\n state.replyScheduleCancelRequest[emailId].error = null;\n });\n builder.addCase(replyScheduleCancelRequest.fulfilled, (state, action) => {\n const { repliedOnEmailId: emailId, hashId, isDraftTab } = action.meta.arg;\n if (state.replyScheduleCancelRequest[emailId]) {\n state.replyScheduleCancelRequest[emailId].status =\n RequestStatus.Succeeded;\n state.replyScheduleCancelRequest[emailId].error = null;\n }\n state.emailThreadList = state.emailThreadList.map((email) => {\n if (email.emailId === emailId) {\n return {\n ...email,\n unifiedScheduled: action.payload.payload,\n };\n }\n return email;\n });\n\n state.emailsList = getUniboxEmailListWithUpdatedScheduleData(\n state.emailsList,\n state.emailThreadList,\n {\n hashId,\n isDraftTab,\n },\n );\n toaster.success('Schedule has been canceled successfully.', {\n theme: Theme.New,\n });\n });\n builder.addCase(replyScheduleCancelRequest.rejected, (state, action) => {\n const emailId = action.meta.arg.repliedOnEmailId;\n if (state.replyScheduleCancelRequest[emailId]) {\n state.replyScheduleCancelRequest[emailId].status = RequestStatus.Failed;\n state.replyScheduleCancelRequest[emailId].message =\n action.payload.message;\n state.replyScheduleCancelRequest[emailId].error =\n !action.payload.isHandled && action.payload;\n }\n });\n\n // Reply Schedule Request\n builder.addCase(replyScheduleRequest.pending, (state, action) => {\n const emailId = action.meta.arg.repliedOnEmailId;\n if (!state.replyScheduleRequest[emailId]) {\n state.replyScheduleRequest[emailId] = {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n };\n }\n state.replyScheduleRequest[emailId].status = RequestStatus.Pending;\n state.replyScheduleRequest[emailId].error = null;\n });\n builder.addCase(replyScheduleRequest.fulfilled, (state, action) => {\n const emailId = action.meta.arg.repliedOnEmailId;\n if (state.replyScheduleRequest[emailId]) {\n state.replyScheduleRequest[emailId].status = RequestStatus.Succeeded;\n state.replyScheduleRequest[emailId].error = null;\n }\n state.emailThreadList = state.emailThreadList.map((email) => {\n if (email.emailId === emailId) {\n return {\n ...email,\n unifiedScheduled: action.payload.payload,\n };\n }\n return email;\n });\n });\n builder.addCase(replyScheduleRequest.rejected, (state, action) => {\n const emailId = action.meta.arg.repliedOnEmailId;\n if (state.replyScheduleRequest[emailId]) {\n state.replyScheduleRequest[emailId].status = RequestStatus.Failed;\n state.replyScheduleRequest[emailId].message = action.payload.message;\n state.replyScheduleRequest[emailId].error =\n !action.payload.isHandled && action.payload;\n }\n });\n\n // Get Email Categories\n builder.addCase(getEmailCategoriesRequest.pending, (state) => {\n state.getEmailCategoriesRequest.status = RequestStatus.Pending;\n state.getEmailCategoriesRequest.error = null;\n });\n builder.addCase(getEmailCategoriesRequest.fulfilled, (state, action) => {\n state.getEmailCategoriesRequest.status = RequestStatus.Succeeded;\n state.getEmailCategoriesRequest.message = action.payload.message;\n state.emailCategories = action.payload.payload;\n });\n builder.addCase(getEmailCategoriesRequest.rejected, (state, action) => {\n state.getEmailCategoriesRequest.status = RequestStatus.Failed;\n state.getEmailCategoriesRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Update Email Categories\n builder.addCase(updateEmailCategoryRequest.pending, (state) => {\n state.updateEmailCategoryRequest.status = RequestStatus.Pending;\n state.updateEmailCategoryRequest.error = null;\n });\n builder.addCase(updateEmailCategoryRequest.fulfilled, (state, action) => {\n state.updateEmailCategoryRequest.status = RequestStatus.Succeeded;\n state.updateEmailCategoryRequest.message = action.payload.message;\n\n const hashIds = action.meta.arg.emailThreadIds;\n const { categoryId } = action.meta.arg;\n state.emailsList = state.emailsList.map((email) => {\n if (hashIds.includes(email.hashId)) {\n return {\n ...email,\n categoryId,\n };\n }\n return email;\n });\n });\n builder.addCase(updateEmailCategoryRequest.rejected, (state, action) => {\n state.updateEmailCategoryRequest.status = RequestStatus.Failed;\n state.updateEmailCategoryRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Mark Conversation As Read\n builder.addCase(markEmailConversationAsRead.pending, (state) => {\n state.markEmailConversationAsRead.status = RequestStatus.Pending;\n state.markEmailConversationAsRead.error = null;\n });\n builder.addCase(markEmailConversationAsRead.fulfilled, (state, action) => {\n state.markEmailConversationAsRead.status = RequestStatus.Succeeded;\n state.markEmailConversationAsRead.message = action.payload.message;\n });\n builder.addCase(markEmailConversationAsRead.rejected, (state, action) => {\n state.markEmailConversationAsRead.status = RequestStatus.Failed;\n state.markEmailConversationAsRead.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Mark Conversation As UnRead\n builder.addCase(markEmailConversationAsUnRead.pending, (state) => {\n state.markEmailConversationAsUnRead.status = RequestStatus.Pending;\n state.markEmailConversationAsUnRead.error = null;\n });\n builder.addCase(\n markEmailConversationAsUnRead.fulfilled,\n (state, action) => {\n state.markEmailConversationAsUnRead.status = RequestStatus.Succeeded;\n state.markEmailConversationAsUnRead.message = action.payload.message;\n },\n );\n builder.addCase(markEmailConversationAsUnRead.rejected, (state, action) => {\n state.markEmailConversationAsUnRead.status = RequestStatus.Failed;\n state.markEmailConversationAsUnRead.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Delete Email Conversations\n builder.addCase(deleteEmailConversationRequest.pending, (state) => {\n state.deleteEmailConversationRequest.status = RequestStatus.Pending;\n state.deleteEmailConversationRequest.error = null;\n });\n builder.addCase(\n deleteEmailConversationRequest.fulfilled,\n (state, action) => {\n state.deleteEmailConversationRequest.status = RequestStatus.Succeeded;\n state.deleteEmailConversationRequest.message = action.payload.message;\n },\n );\n builder.addCase(\n deleteEmailConversationRequest.rejected,\n (state, action) => {\n state.deleteEmailConversationRequest.status = RequestStatus.Failed;\n state.deleteEmailConversationRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Bulk Mark As Read Or Unread\n builder.addCase(bulkMarkAsReadUnreadRequest.pending, (state) => {\n state.bulkMarkAsReadUnreadRequest.status = RequestStatus.Pending;\n state.bulkMarkAsReadUnreadRequest.error = null;\n });\n builder.addCase(bulkMarkAsReadUnreadRequest.fulfilled, (state, action) => {\n state.bulkMarkAsReadUnreadRequest.status = RequestStatus.Succeeded;\n state.bulkMarkAsReadUnreadRequest.message = action.payload.message;\n });\n builder.addCase(bulkMarkAsReadUnreadRequest.rejected, (state, action) => {\n state.bulkMarkAsReadUnreadRequest.status = RequestStatus.Failed;\n state.bulkMarkAsReadUnreadRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Bulk Delete\n builder.addCase(bulkDeleteRequest.pending, (state) => {\n state.bulkDeleteRequest.status = RequestStatus.Pending;\n state.bulkDeleteRequest.error = null;\n });\n builder.addCase(bulkDeleteRequest.fulfilled, (state, action) => {\n state.bulkDeleteRequest.status = RequestStatus.Succeeded;\n state.bulkDeleteRequest.message = action.payload.message;\n });\n builder.addCase(bulkDeleteRequest.rejected, (state, action) => {\n state.bulkDeleteRequest.status = RequestStatus.Failed;\n state.bulkDeleteRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Bulk Assign Category\n builder.addCase(bulkCategoryAssignRequest.pending, (state) => {\n state.bulkCategoryAssignRequest.status = RequestStatus.Pending;\n state.bulkCategoryAssignRequest.error = null;\n });\n builder.addCase(bulkCategoryAssignRequest.fulfilled, (state, action) => {\n state.bulkCategoryAssignRequest.status = RequestStatus.Succeeded;\n state.bulkCategoryAssignRequest.message = action.payload.message;\n });\n builder.addCase(bulkCategoryAssignRequest.rejected, (state, action) => {\n state.bulkCategoryAssignRequest.status = RequestStatus.Failed;\n state.bulkCategoryAssignRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Exclusion List Block - Patch\n builder.addCase(exclusionListBlockRequest.rejected, (state, action) => {\n state.exclusionListBlockRequest.status = RequestStatus.Failed;\n state.exclusionListBlockRequest.message = action.payload.message;\n state.exclusionListBlockRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n builder.addCase(exclusionListBlockRequest.pending, (state) => {\n state.exclusionListBlockRequest.status = RequestStatus.Pending;\n state.exclusionListBlockRequest.error = null;\n });\n builder.addCase(exclusionListBlockRequest.fulfilled, (state, action) => {\n state.exclusionListBlockRequest.status = RequestStatus.Succeeded;\n state.exclusionListBlockRequest.message = action.payload.message;\n state.exclusionListBlockRequest.error = null;\n });\n },\n});\n\nexport const {\n resetGetEmailInboxRequestStatus,\n resetEmailInboxState,\n resetUnifiedInboxEmailThreadActivity,\n resetUpdateEmailCategoryRequest,\n resetMarkEmailConversationAsRead,\n resetMarkEmailConversationAsUnRead,\n setUnifiedInboxFilters,\n resetUnifiedInboxFilters,\n resetDeleteEmailConversationRequest,\n updateReadStatus,\n updateIsEmailSelected,\n updateUniboxEmailScheduleData,\n clearIsEmailSelected,\n resetBulkMarkAsReadUnreadRequest,\n resetBulkCategoryAssignRequest,\n resetBulkDeleteRequest,\n setShowMarkAsReadMessage,\n resetShowMarkAsReadMessage,\n resetFilterData,\n resetReplyForwardDraftRequest,\n resetReplyDraftDiscardRequest,\n resetReplyScheduleCancelRequest,\n resetUploadAttachmentUniboxRequest,\n resetDeleteAttachmentUniboxRequest,\n resetExclusionListBlockRequest,\n} = unifiedInboxSlice.actions;\n\nexport default unifiedInboxSlice.reducer;\n","import { DateTime } from 'luxon';\n\nexport const convertSecondsToHourAndMinute = (\n seconds: number,\n): [number, number] => {\n const hour = Math.floor(seconds / 60 / 60);\n const minute = Math.floor((seconds - hour * 60 * 60) / 60);\n return [hour, minute];\n};\n\nexport const getRelative12HourFormatFromSeconds = (\n seconds: number,\n): [string, string, string] => {\n const hourAndMinute = convertSecondsToHourAndMinute(seconds);\n\n let [hour] = hourAndMinute;\n const [, minute] = hourAndMinute;\n\n let amPm = 'AM';\n\n if (hour >= 12) {\n amPm = 'PM';\n if (hour >= 13) {\n hour -= 12;\n }\n }\n\n const hourStr = hour.toString().padStart(2, '0');\n const minuteStr = minute.toString().padStart(2, '0');\n\n return [hourStr, minuteStr, amPm];\n};\n\nexport const convertHourAndMinuteToSeconds = (\n hour: number,\n minute: number,\n): number => hour * 60 * 60 + minute * 60;\n\nexport const getDateIn12HourFormat = (\n date: string,\n timezone: string,\n showTime = true,\n isfullMonth = true,\n defaultFormatter: string = null,\n) => {\n if (!date) {\n return '-';\n }\n\n let formatter = isfullMonth ? 'LLLL dd, y' : 'LLL dd, y';\n if (showTime) {\n formatter += ' hh:mm a';\n }\n return DateTime.fromISO(date, { zone: timezone }).toFormat(\n defaultFormatter || formatter,\n );\n};\n\nexport const getOffset = (date: string, timezone: string) =>\n DateTime.fromISO(date, { zone: timezone }).toFormat('ZZ');\n\nexport const getDateIn12HourFormatNoTimeZone = (date) =>\n DateTime.fromISO(date).toFormat('LLLL dd, y hh:mm a');\n\nexport type RelativeDate = {\n isRelative: boolean;\n value: string;\n};\n\nexport const getRelativeDate = (\n date: string,\n timezone: string,\n withTime = false,\n): RelativeDate => {\n const targetDate = DateTime.fromISO(date).setZone(timezone);\n const time = DateTime.fromISO(date).setZone(timezone).toFormat('hh:mm a');\n const targetDateSeconds = targetDate.toSeconds();\n\n const currentDateMidnightSeconds = DateTime.now()\n .setZone(timezone)\n .set({\n hour: 0,\n minute: 0,\n second: 0,\n millisecond: 0,\n })\n .toSeconds();\n\n const diff = targetDateSeconds - currentDateMidnightSeconds;\n const secondsInDay = 24 * 60 * 60;\n\n let isRelative = false;\n let value = '';\n const dateFormate = 'EEE, LLL dd, y hh:mm a ';\n\n switch (true) {\n case -1 * secondsInDay <= diff && diff < 0:\n isRelative = true;\n value = withTime ? `Yesterday, ${time}` : 'Yesterday';\n break;\n case diff >= 0 && diff < secondsInDay:\n isRelative = true;\n value = withTime ? `Today, ${time}` : 'Today';\n break;\n case secondsInDay <= diff && diff < 2 * secondsInDay:\n isRelative = true;\n value = withTime ? `Tomorrow, ${time}` : 'Tomorrow';\n break;\n default:\n isRelative = false;\n value = getDateIn12HourFormat(\n date,\n timezone,\n undefined,\n false,\n dateFormate,\n );\n break;\n }\n\n return { isRelative, value };\n};\n","import React from 'react';\nimport ReactResizeDetector from 'react-resize-detector';\n\ntype ResizeHOCProps = {\n onResize?: (width: number, height: number) => void;\n handleWidth?: boolean;\n handleHeight?: boolean;\n} & T;\n\n// Note: ReactResizeDetector adds a 'targetRef' prop to its child.\n\nfunction withResizeDetectorRef(Component) {\n return React.forwardRef>(\n ({ onResize, handleWidth, handleHeight, ...rest }, ref) => (\n \n \n \n ),\n );\n}\n\nexport default withResizeDetectorRef;\n","import React, { ReactNode, Ref } from 'react';\nimport composeRefs from '@seznam/compose-react-refs';\nimport classNames from 'classnames';\nimport { ChevronDown, ChevronUp } from '@saleshandy/icons';\n\nexport type SelectBarProps = {\n targetRef?: Ref;\n content?: ReactNode;\n placeholder?: ReactNode;\n disabled?: boolean;\n show?: boolean;\n};\n\nconst SelectBar = React.forwardRef(\n // Extract the 'targetRef' even if you don't use it anywhere, otherwise\n // it will be included in the 'rest' array, resulting in being added to\n // the div element as a property, and the browser/react will complain about\n // adding unknown properties to the native element\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n (\n { targetRef, content, placeholder, children, disabled, show, ...rest },\n ref,\n ) => {\n const selectBarClass = classNames([\n 'bs-select-box',\n 'bs-select-box',\n {\n 'bs-select-box-disabled': disabled,\n },\n ]);\n\n const contentClass = classNames([\n 'bs-select-box-text',\n {\n placeholder: placeholder && !content,\n },\n ]);\n\n let tabIndex;\n\n if (!disabled) {\n tabIndex = 0;\n }\n\n return (\n \n
    {content || placeholder}
    \n
    \n {show ? : }\n
    \n \n );\n },\n);\n\nSelectBar.defaultProps = {\n disabled: false,\n};\n\nexport default SelectBar;\n","import React, {\n ReactNode,\n Ref,\n useCallback,\n useMemo,\n useRef,\n useState,\n} from 'react';\nimport composeRefs from '@seznam/compose-react-refs';\nimport classNames from 'classnames';\nimport Transfer, {\n TransferOverlayTriggerProps,\n} from '../transfer/transfer-overlay-trigger';\nimport withResizeDetectorRef from '../../../utils/HOC/with-resize-detector-ref';\nimport SelectBar, { SelectBarProps } from './select-bar';\nimport { ExtendedOption } from '../transfer/transfer';\n\nconst SelectBarWithResizeDetector = withResizeDetectorRef<\n SelectBarProps,\n HTMLDivElement\n>(SelectBar);\n\ntype SelectProps = Omit, 'children'> &\n Pick & {\n selectedOptionRenderer: (options: T[]) => ReactNode;\n // eslint-disable-next-line react/require-default-props\n selectBarRef?: Ref;\n // eslint-disable-next-line react/require-default-props\n optionsListRef?: Ref;\n };\n\nconst Select = ({\n style,\n placeholder,\n disabled,\n selectedOptionRenderer,\n show: showProp,\n rootClose: rootCloseProp,\n onToggle: onToggleProp,\n options,\n selectedOptionKey,\n selectBarRef,\n optionsListRef,\n onChange,\n className,\n ...rest\n}: SelectProps) => {\n const selectBarInternalRef = useRef(null);\n const [width, setWidth] = useState(0);\n const [show, setShow] = useState(false);\n\n let selectedOptionKeyArr = [];\n\n if (selectedOptionKey) {\n selectedOptionKeyArr = Array.isArray(selectedOptionKey)\n ? selectedOptionKey\n : [selectedOptionKey];\n }\n const selectedOption = useMemo(\n () =>\n selectedOptionKeyArr.map((key) =>\n options.find((option) => option.key === key),\n ),\n [selectedOptionKeyArr, options],\n );\n\n let selectBarContent;\n\n if (selectedOption.length > 0) {\n selectBarContent = selectedOptionRenderer(selectedOption);\n }\n\n const handleShow = showProp === undefined;\n\n const onChangeHandler = useCallback(\n (selectOptions) => {\n handleShow && setShow(false);\n onChange?.(selectOptions);\n },\n [handleShow, setShow, onChange],\n );\n\n const onToggleHandler = useCallback(\n (value) => {\n handleShow && setShow(value);\n onToggleProp?.(value);\n },\n [handleShow, setShow, onToggleProp],\n );\n\n const onResizeHandler = useCallback(() => {\n // width parameter of onResize callback is not equal to the width\n // got from the below getBoundingClientRect() method.\n const {\n width: selectBarWidth,\n } = selectBarInternalRef.current.getBoundingClientRect();\n setWidth(selectBarWidth);\n }, [selectBarInternalRef, setWidth]);\n\n const transferClass = classNames(['transfer-select-box', className]);\n\n return (\n \n {...rest}\n className={transferClass}\n options={options}\n selectedOptionKey={selectedOptionKey}\n style={{ ...style, width: `${width}px` }}\n ref={optionsListRef}\n onChange={onChangeHandler}\n show={!disabled && ((handleShow && show) || showProp)}\n rootClose={(handleShow && true) || rootCloseProp}\n onToggle={!disabled && onToggleHandler}\n >\n \n \n );\n};\n\nSelect.defaultProps = {\n // eslint-disable-next-line\n showSearch: false,\n};\n\nexport default Select;\n","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../shared/enums/request-status';\nimport { ResponseErrorWithHandled } from '../../shared/types';\nimport {\n getSequenceListRequest,\n getSelectedSequencesRequest,\n getSelectedUsersRequest,\n getSequenceReportsSummaryRequest,\n getTeamReportsSummaryRequest,\n getSequenceReportsStatsRequest,\n getTeamReportsStatsRequest,\n gerGraphDataRequest,\n} from './extra-actions';\nimport {\n Sequence,\n ReportsSummary,\n SequenceStatsReport,\n TeamStatsReport,\n SelectedUser,\n SequenceReportsFilter,\n} from './types';\nimport { ReportCountBy, ReportsBy } from './enums/reports';\nimport {\n transformEmailGraphDataResponse,\n transformGraphDataResponse,\n} from './components/graph-content/utils/helper';\n\ntype RequestState = {\n status: RequestStatus;\n message: string;\n error: ResponseErrorWithHandled;\n};\n\ntype State = {\n getSequenceListRequest: RequestState;\n getSelectedSequencesRequest: RequestState;\n getSelectedUsersRequest: RequestState;\n getSequenceReportsSummaryRequest: RequestState;\n getTeamReportsSummaryRequest: RequestState;\n getSequenceReportsStatsRequest: RequestState;\n getTeamReportsStatsRequest: RequestState;\n gerGraphDataRequest: RequestState;\n\n sequences: Sequence[];\n selectedSequences: any[];\n selectedUsers: SelectedUser[];\n sequenceReportsSummary: ReportsSummary;\n // sequenceReportsSummary: any;\n teamReportsSummary: ReportsSummary;\n sequenceReportsStats: SequenceStatsReport[];\n teamReportsStats: TeamStatsReport[];\n totalTeams: number;\n countBy: ReportCountBy;\n isFirstEvent: boolean;\n graphData: any;\n reportsBy: ReportsBy;\n};\n\nconst initialState: State = {\n getSequenceListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getSelectedSequencesRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getSelectedUsersRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getSequenceReportsSummaryRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getTeamReportsSummaryRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getSequenceReportsStatsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getTeamReportsStatsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n gerGraphDataRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n\n sequences: [],\n selectedSequences: [],\n selectedUsers: [],\n sequenceReportsSummary: null,\n teamReportsSummary: null,\n sequenceReportsStats: null,\n teamReportsStats: null,\n totalTeams: 0,\n countBy: ReportCountBy.Relative,\n isFirstEvent: false,\n graphData: null,\n reportsBy: ReportsBy.ByProspects,\n};\n\nconst reportsSlice = createSlice({\n name: 'reports',\n initialState,\n reducers: {\n resetSequenceReportsState: (state) => {\n state.sequenceReportsSummary = initialState.sequenceReportsSummary;\n state.sequenceReportsStats = initialState.sequenceReportsStats;\n },\n resetTeamReportsState: (state) => {\n state.teamReportsSummary = initialState.teamReportsSummary;\n state.teamReportsStats = initialState.teamReportsStats;\n state.totalTeams = initialState.totalTeams;\n },\n resetGetSelectedSequencesRequest: (state) => {\n state.getSelectedSequencesRequest =\n initialState.getSelectedSequencesRequest;\n },\n resetGetSelectedUsersRequest: (state) => {\n state.getSelectedUsersRequest = initialState.getSelectedUsersRequest;\n },\n resetGetSequenceReportsSummaryRequest: (state) => {\n state.getSequenceReportsSummaryRequest =\n initialState.getSequenceReportsSummaryRequest;\n },\n resetGetTeamReportsSummaryRequest: (state) => {\n state.getTeamReportsSummaryRequest =\n initialState.getTeamReportsSummaryRequest;\n },\n resetGetSequenceReportsStatsRequest: (state) => {\n state.getSequenceReportsStatsRequest =\n initialState.getSequenceReportsStatsRequest;\n },\n resetGetTeamReportsStatsRequest: (state) => {\n state.getTeamReportsStatsRequest =\n initialState.getTeamReportsStatsRequest;\n },\n toggleCountByAndFirstEvent: (state, action) => {\n state.countBy = action.payload?.countBy;\n state.isFirstEvent = action.payload?.isFirstEvent;\n },\n onReportsByChange: (state, action) => {\n state.reportsBy = action.payload;\n },\n },\n extraReducers: (builder) => {\n // Get Sequence List\n builder.addCase(getSequenceListRequest.pending, (state) => {\n state.getSequenceListRequest.status = RequestStatus.Pending;\n state.getSequenceListRequest.error = null;\n });\n builder.addCase(getSequenceListRequest.fulfilled, (state, action) => {\n state.getSequenceListRequest.status = RequestStatus.Succeeded;\n state.getSequenceListRequest.message = action.payload.message;\n state.sequences = action.payload.payload;\n });\n builder.addCase(getSequenceListRequest.rejected, (state, action) => {\n state.getSequenceListRequest.status = RequestStatus.Failed;\n state.getSequenceListRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Selected Sequences\n builder.addCase(getSelectedSequencesRequest.pending, (state) => {\n state.getSelectedSequencesRequest.status = RequestStatus.Pending;\n state.getSelectedSequencesRequest.error = null;\n });\n builder.addCase(getSelectedSequencesRequest.fulfilled, (state, action) => {\n state.getSelectedSequencesRequest.status = RequestStatus.Succeeded;\n state.getSelectedSequencesRequest.message = action.payload.message;\n state.selectedSequences = action.payload.payload;\n });\n builder.addCase(getSelectedSequencesRequest.rejected, (state, action) => {\n state.getSelectedSequencesRequest.status = RequestStatus.Failed;\n state.getSelectedSequencesRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Selected Users\n builder.addCase(getSelectedUsersRequest.pending, (state) => {\n state.getSelectedUsersRequest.status = RequestStatus.Pending;\n state.getSelectedUsersRequest.error = null;\n });\n builder.addCase(getSelectedUsersRequest.fulfilled, (state, action) => {\n state.getSelectedUsersRequest.status = RequestStatus.Succeeded;\n state.getSelectedUsersRequest.message = action.payload.message;\n state.selectedUsers = action.payload.payload;\n });\n builder.addCase(getSelectedUsersRequest.rejected, (state, action) => {\n state.getSelectedUsersRequest.status = RequestStatus.Failed;\n state.getSelectedUsersRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Sequence Summary\n builder.addCase(getSequenceReportsSummaryRequest.pending, (state) => {\n state.getSequenceReportsSummaryRequest.status = RequestStatus.Pending;\n state.getSequenceReportsSummaryRequest.error = null;\n });\n builder.addCase(\n getSequenceReportsSummaryRequest.fulfilled,\n (state, action) => {\n state.getSequenceReportsSummaryRequest.status = RequestStatus.Succeeded;\n state.getSequenceReportsSummaryRequest.message = action.payload.message;\n state.sequenceReportsSummary = action.payload.payload;\n },\n );\n builder.addCase(\n getSequenceReportsSummaryRequest.rejected,\n (state, action) => {\n state.getSequenceReportsSummaryRequest.status = RequestStatus.Failed;\n state.getSequenceReportsSummaryRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Get Team Summary\n builder.addCase(getTeamReportsSummaryRequest.pending, (state) => {\n state.getTeamReportsSummaryRequest.status = RequestStatus.Pending;\n state.getTeamReportsSummaryRequest.error = null;\n });\n builder.addCase(getTeamReportsSummaryRequest.fulfilled, (state, action) => {\n state.getTeamReportsSummaryRequest.status = RequestStatus.Succeeded;\n state.getTeamReportsSummaryRequest.message = action.payload.message;\n state.teamReportsSummary = action.payload.payload;\n });\n builder.addCase(getTeamReportsSummaryRequest.rejected, (state, action) => {\n state.getTeamReportsSummaryRequest.status = RequestStatus.Failed;\n state.getTeamReportsSummaryRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Sequence Stats\n builder.addCase(getSequenceReportsStatsRequest.pending, (state) => {\n state.getSequenceReportsStatsRequest.status = RequestStatus.Pending;\n state.getSequenceReportsStatsRequest.error = null;\n });\n builder.addCase(\n getSequenceReportsStatsRequest.fulfilled,\n (state, action) => {\n state.getSequenceReportsStatsRequest.status = RequestStatus.Succeeded;\n state.getSequenceReportsStatsRequest.message = action.payload.message;\n state.sequenceReportsStats = action.payload.payload;\n },\n );\n builder.addCase(\n getSequenceReportsStatsRequest.rejected,\n (state, action) => {\n state.getSequenceReportsStatsRequest.status = RequestStatus.Failed;\n state.getSequenceReportsStatsRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Get Team Stats\n builder.addCase(getTeamReportsStatsRequest.pending, (state) => {\n state.getTeamReportsStatsRequest.status = RequestStatus.Pending;\n state.getTeamReportsStatsRequest.error = null;\n });\n builder.addCase(getTeamReportsStatsRequest.fulfilled, (state, action) => {\n state.getTeamReportsStatsRequest.status = RequestStatus.Succeeded;\n state.getTeamReportsStatsRequest.message = action.payload.message;\n state.teamReportsStats = action.payload.payload.items;\n state.totalTeams = action.payload.payload?.meta?.totalItems;\n });\n builder.addCase(getTeamReportsStatsRequest.rejected, (state, action) => {\n state.getTeamReportsStatsRequest.status = RequestStatus.Failed;\n state.getTeamReportsStatsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Graph Data\n builder.addCase(gerGraphDataRequest.pending, (state) => {\n state.gerGraphDataRequest.status = RequestStatus.Pending;\n state.gerGraphDataRequest.error = null;\n });\n builder.addCase(gerGraphDataRequest.fulfilled, (state, action) => {\n state.gerGraphDataRequest.status = RequestStatus.Succeeded;\n state.gerGraphDataRequest.message = action.payload.message;\n state.graphData =\n state.reportsBy === ReportsBy.ByProspects\n ? transformGraphDataResponse(action.payload.payload)\n : transformEmailGraphDataResponse(action.payload.payload);\n });\n builder.addCase(gerGraphDataRequest.rejected, (state, action) => {\n state.gerGraphDataRequest.status = RequestStatus.Failed;\n state.gerGraphDataRequest.error =\n !action.payload.isHandled && action.payload;\n });\n },\n});\n\nexport const {\n resetSequenceReportsState,\n resetTeamReportsState,\n resetGetSelectedSequencesRequest,\n resetGetSelectedUsersRequest,\n resetGetSequenceReportsSummaryRequest,\n resetGetTeamReportsSummaryRequest,\n resetGetSequenceReportsStatsRequest,\n resetGetTeamReportsStatsRequest,\n toggleCountByAndFirstEvent,\n onReportsByChange,\n} = reportsSlice.actions;\nexport default reportsSlice.reducer;\n","export enum Status {\n Inactive = 0,\n Active = 1,\n Invited = 2,\n InviteCancelled = 3,\n Deleted = 4,\n Failed = 5,\n}\n\nexport const displayTag = [\n 'Inactive',\n 'Active',\n 'Invited',\n 'Invite Cancelled',\n 'Deleted',\n 'Failed',\n];\n","/* eslint-disable @typescript-eslint/dot-notation */\nimport React, { ReactNode, useEffect, useRef, useState } from 'react';\nimport { Avatar, SkeletonLoading } from '@saleshandy/design-system';\nimport { Send, Tag, Forbid, Trash, User } from '@saleshandy/icons';\nimport Tabs, { TabPane } from 'rc-tabs';\nimport { Dropdown } from 'react-bootstrap';\nimport { withTranslation } from 'react-i18next';\nimport Icon from '../../../../../../../shared/design-system/components/atoms/icon/icon';\nimport ProspectSequenceListTable from './prospect-sequence-list-table';\nimport ProspectProfileForm from './prospect-profile-form';\nimport ProspectActivity from './prospect-activity';\nimport { RequestStatus } from '../../../../../../../shared/enums/request-status';\nimport ProspectTagsRow from '../../../../../../../shared/design-system/components/molecules/prospect-tags-row';\nimport Modal from '../../../../../../../shared/design-system/components/atoms/modal';\nimport { accessibleOnClick } from '../../../../../../../shared/utils/accessible-on-click';\nimport { SelectedProspectData } from '../../../../../../sequence/types';\nimport { getIsRequestPending } from '../../../../../../../shared/utils/get-request-status';\nimport { OverlayTooltip } from '../../../../../../../shared/design-system/components/overlay';\nimport TruncatedTextWithTooltip from '../../../../../../../shared/components/truncated-text-with-tooltip/truncated-text-with-tooltip';\nimport hasPermission from '../../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../../shared/utils/access-control/enums/permissions';\nimport AddRemoveTag from '../../../../../../../shared/components/add-remove-tag';\nimport { AddTagsToProspectsPayload } from '../../../../../types';\nimport { executeOnRequestStatus } from '../../../../../../../shared/utils';\n\nenum DropDownActionOptions {\n Unsubscribe = 'unsubscribe',\n Remove = 'remove',\n}\n\nexport type IProps = {\n show: boolean;\n onHide: () => void;\n selectedProspectId: number;\n getSingleProspectSequencesDetailsStatus: RequestStatus;\n getSingleProspectDetailsStatus: RequestStatus;\n saveContactAttributesRequestStatus: RequestStatus;\n viewAddToSequenceModal: () => void;\n unsubscribeProspectRequest: () => void;\n removeProspectRequest: () => void;\n sendGetSingleProspectSequencesDetailsRequest: () => void;\n prospectSequenceRemoveFromSequence: (sequenceId: number) => void;\n prospectSequenceMarkAsReplied: (stepId: number) => void;\n prospectSequenceMarkAsFinished: (stepId: number) => void;\n prospectSequenceAddToStep: (sequenceId, stepId) => void;\n sendSaveContactAttributesRequest: (contactId, attributes) => void;\n selectedProspectData: SelectedProspectData;\n selectedProspectSequences: any[];\n sendGetSingleProspectDetailsRequest: (id: number) => void;\n isSingleProspectSubscribed: boolean;\n t: (x: string) => ReactNode;\n viewTagsModal: () => void;\n sendPrimaryEmailChangeInProspectRequest: (\n primaryEmailProspectInfoId: number,\n contactId: number,\n ) => void;\n sendDeleteEmailFromProspectRequest: (\n prospectInfoId: number,\n contactId: number,\n ) => void;\n sendDeletePhoneFromProspectRequest: (\n prospectInfoId: number,\n contactId: number,\n ) => void;\n deleteSecondaryEmailRequestStatus?: string;\n resetProspectDeleteEmailRequestStatus?: () => void;\n deleteSecondaryPhoneRequestStatus?: string;\n resetProspectDeletePhoneRequestStatus?: () => void;\n resetProspectPrimaryEmailChangeRequestStatus?: () => void;\n primaryEmailChangeRequestStatus?: string;\n allOutcomes: any[];\n sendGetTagsRequest?: () => void;\n sendAddTagsToProspectsRequest?: (payload: AddTagsToProspectsPayload) => void;\n resetTags?: () => void;\n tags?: any[];\n addTagsToProspectsRequestStatus?: RequestStatus;\n};\n\ntype DropDownAction = {\n id: number;\n key: string;\n displayName: ReactNode;\n isSVGIcon?: boolean;\n SVGIcon?: ReactNode;\n};\n\nconst ProspectDetailsModal: React.FC = ({\n show,\n onHide,\n selectedProspectId,\n selectedProspectData,\n selectedProspectSequences,\n getSingleProspectSequencesDetailsStatus,\n viewAddToSequenceModal,\n unsubscribeProspectRequest,\n removeProspectRequest,\n prospectSequenceMarkAsReplied,\n sendGetSingleProspectSequencesDetailsRequest,\n prospectSequenceRemoveFromSequence,\n prospectSequenceAddToStep,\n sendSaveContactAttributesRequest,\n sendGetSingleProspectDetailsRequest,\n getSingleProspectDetailsStatus,\n saveContactAttributesRequestStatus,\n isSingleProspectSubscribed,\n prospectSequenceMarkAsFinished,\n sendPrimaryEmailChangeInProspectRequest,\n sendDeleteEmailFromProspectRequest,\n sendDeletePhoneFromProspectRequest,\n deleteSecondaryEmailRequestStatus,\n resetProspectDeleteEmailRequestStatus,\n deleteSecondaryPhoneRequestStatus,\n resetProspectDeletePhoneRequestStatus,\n resetProspectPrimaryEmailChangeRequestStatus,\n primaryEmailChangeRequestStatus,\n t,\n allOutcomes,\n sendGetTagsRequest,\n sendAddTagsToProspectsRequest,\n resetTags,\n tags: prospectTags = [],\n addTagsToProspectsRequestStatus,\n}) => {\n const isLoading = getIsRequestPending(getSingleProspectDetailsStatus);\n const [fetchActivity, setFetchActivity] = useState(false);\n const [activeTab, setActiveTab] = useState('');\n const [showModal, setShowModal] = useState(false);\n const tagRef = useRef(null);\n\n const onActivityChange = (value: boolean) => {\n setFetchActivity(value);\n };\n\n const dropDownListOptions = [\n hasPermission(Permissions.SEQUENCE_PROSPECT_STATUS_UNSUBSCRIBE) && {\n id: 1,\n key: DropDownActionOptions.Unsubscribe,\n displayName: t('labels.unsubscribe'),\n isSVGIcon: true,\n SVGIcon: ,\n permission: Permissions.SEQUENCE_PROSPECT_STATUS_UNSUBSCRIBE,\n },\n hasPermission(Permissions.SEQUENCE_PROSPECT_REMOVE) && {\n id: 2,\n key: DropDownActionOptions.Remove,\n displayName: t('labels.remove_delete'),\n isSVGIcon: true,\n SVGIcon: ,\n permission: Permissions.SEQUENCE_PROSPECT_REMOVE,\n },\n ];\n\n const onDropdownActionSelect = (actionKey: string) => {\n switch (actionKey) {\n case DropDownActionOptions.Unsubscribe:\n unsubscribeProspectRequest();\n break;\n\n case DropDownActionOptions.Remove:\n removeProspectRequest();\n break;\n default:\n break;\n }\n };\n\n const generateDropdownItemsListFromActions = (actions: DropDownAction[]) =>\n actions !== null\n ? actions.map((action) => (\n onDropdownActionSelect(action.key)}\n key={action.id}\n bsPrefix=\"dropdown-item-custom\"\n >\n {action.SVGIcon}\n {action.displayName && (\n {action.displayName}\n )}\n \n ))\n : null;\n\n const dropDownActions = generateDropdownItemsListFromActions(\n dropDownListOptions,\n );\n\n const prospectAttributes = {};\n\n if (selectedProspectData) {\n selectedProspectData?.attributes?.forEach(\n ({ attributeValue, fieldRef }) => {\n if (\n fieldRef?.['label'].trim().toLowerCase() ===\n 'First Name'.trim().toLowerCase()\n ) {\n prospectAttributes[fieldRef?.['label']] = attributeValue;\n }\n if (\n fieldRef?.['label'].trim().toLowerCase() ===\n 'Last Name'.trim().toLowerCase()\n ) {\n prospectAttributes[fieldRef?.['label']] = attributeValue;\n }\n if (\n fieldRef?.['label'].trim().toLowerCase() ===\n 'Email'.trim().toLowerCase()\n ) {\n prospectAttributes[fieldRef?.['label']] = attributeValue;\n }\n if (\n fieldRef?.['label'].trim().toLowerCase() ===\n 'Time Zone'.trim().toLowerCase()\n ) {\n prospectAttributes[fieldRef?.['label']] = attributeValue;\n }\n },\n );\n\n prospectAttributes['isBlacklisted'] =\n selectedProspectData?.isBlacklisted || false;\n }\n\n const getFirstName = () => prospectAttributes?.['First Name'] || '';\n const getLastName = () => prospectAttributes?.['Last Name'] || '';\n\n const handleSaveContactAttributesSubmit = async (attributes) => {\n const res: any = await sendSaveContactAttributesRequest(\n selectedProspectId,\n attributes,\n );\n if (!res.error) {\n sendGetSingleProspectDetailsRequest(selectedProspectId);\n }\n };\n\n const handleAddTag = async (newTags) => {\n setShowModal(false);\n sendAddTagsToProspectsRequest({\n ids: [],\n newTags: newTags.map((tag) => tag.name),\n prospects: [selectedProspectId],\n });\n };\n\n const handleOpenTagModal = () => {\n setShowModal((prev) => !prev);\n tagRef?.current?.openAddTagModal();\n };\n\n const renderAddTag = () =>\n hasPermission(Permissions.SEQUENCE_PROSPECT_UPDATE_TAGS) ? (\n \n {t('messages.add_tag')}\n \n ) : (\n <>\n );\n\n const renderTags = () => {\n const tags =\n (selectedProspectData &&\n selectedProspectData?.tags?.length > 0 &&\n selectedProspectData.tags) ||\n [];\n\n return (\n
    \n
    \n \n
    \n
    \n {tags && tags.length ? (\n \n ) : (\n renderAddTag()\n )}\n
    \n
    \n );\n };\n\n const renderAvatar = () => {\n if (getFirstName() || getLastName()) {\n return (\n \n );\n }\n\n return (\n
    \n \n
    \n );\n };\n\n useEffect(() => {\n if (showModal) {\n sendGetTagsRequest();\n }\n }, [showModal]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: addTagsToProspectsRequestStatus,\n onSuccess: () => {\n resetTags();\n },\n });\n }, [addTagsToProspectsRequestStatus]);\n\n return (\n <>\n \n
    \n
    \n
    \n
    \n
    \n {isLoading ? (\n \n ) : (\n <>\n {renderAvatar()}\n
    \n \n \n {selectedProspectData?.email}\n \n
    \n \n )}\n
    \n
    \n {hasPermission(\n Permissions.SEQUENCE_PROSPECT_ADD_TO_SEQUENCE,\n ) && (\n \n
    \n \n
    \n
    \n )}\n {(hasPermission(\n Permissions.SEQUENCE_PROSPECT_STATUS_UNSUBSCRIBE,\n ) ||\n hasPermission(Permissions.SEQUENCE_PROSPECT_REMOVE)) && (\n \n \n \n \n \n {dropDownActions}\n \n \n )}\n
    \n
    \n\n {prospectAttributes['Time Zone'] && (\n
    \n {prospectAttributes['Time Zone']}\n
    \n )}\n\n {isLoading ? (\n \n ) : (\n renderTags()\n )}\n
    \n
    \n
    \n setActiveTab(key)}\n >\n {hasPermission(Permissions.SEQUENCE_PROSPECT_ACTIVITY) && (\n \n \n \n )}\n {hasPermission(Permissions.SEQUENCE_PROSPECT_SEQUENCES) && (\n \n \n \n )}\n\n {hasPermission(Permissions.SEQUENCE_PROSPECT_PROFILE) && (\n \n \n \n )}\n \n
    \n {}}\n isSubmitLoading={getIsRequestPending(\n addTagsToProspectsRequestStatus,\n )}\n selectedRecords={selectedProspectData ? [selectedProspectData] : []}\n tags={prospectTags}\n isAddTagModal={true}\n setShowModal={setShowModal}\n showModal={showModal}\n />\n
    \n \n \n );\n};\n\nexport default withTranslation()(ProspectDetailsModal);\n","import React, { useState, useEffect } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport {\n CornerUpLeft,\n LayersSubtract,\n Cross,\n Checkbox,\n} from '@saleshandy/icons';\nimport Table from '../../../../../../../../shared/design-system/components/organisms/table';\nimport { PaginationShowHide } from '../../../../../../../../shared/design-system/components/organisms/table/types';\nimport toaster from '../../../../../../../../shared/toaster';\nimport { OnProspectSequenceActions } from '../../../../../../enums/prospect';\nimport AddToSequenceModal from '../../../modals/add-to-sequence-modal';\nimport { getProspectSequenceColumn } from './helper/prospect-column-data';\nimport { Images } from '../../../../../../../../shared/app-constants';\nimport EmptyList from '../../../../../../../../shared/design-system/components/molecules/empty-list/empty-list';\nimport Spinner, {\n SpinnerAnimation,\n} from '../../../../../../../../shared/design-system/components/atoms/spinner/spinner';\nimport { getIsRequestPending } from '../../../../../../../../shared/utils/get-request-status';\nimport { RequestStatus } from '../../../../../../../../shared/enums/request-status';\nimport { executeOnRequestStatus } from '../../../../../../../../shared/utils';\nimport store from '../../../../../../../../store/store';\nimport { mapSequenceStatusToContactFilter } from '../../../../../../../sequence/components/sequence-single-content/components/sequence-single-contacts/components/contact-list-content/components/helpers/step-filter-mapper';\nimport { ResourceIdentifiers } from '../../../../../../../../shared/utils/access-control/enums/resource-identifiers';\nimport hasResource from '../../../../../../../../shared/utils/access-control/has-resource';\nimport planPermissionError from '../../../../../../../../shared/utils/errors/plan-permission-error';\nimport { isFreePlan } from '../../../../../../../../shared/utils/plans';\n\ntype IProps = {\n selectedProspectSequences: any[];\n isSingleProspectSubscribed: boolean;\n sendSequenceMarkAsRepliedRequest: (stepId: number) => void;\n sendRemoveFromSequenceRequest: (sequenceId: number) => void;\n sendAddToStepRequest: (sequenceId, stepId) => void;\n sendGetSingleProspectSequencesDetailsRequest: () => void;\n sendSequenceMarkAsFinishedRequest: (stepId: number) => void;\n getSingleProspectSequencesDetailsStatus: RequestStatus;\n allOutcomes: any;\n};\n\nconst ProspectSequenceListTable: React.FC = ({\n selectedProspectSequences,\n sendSequenceMarkAsRepliedRequest,\n sendAddToStepRequest,\n sendRemoveFromSequenceRequest,\n sendGetSingleProspectSequencesDetailsRequest,\n isSingleProspectSubscribed,\n sendSequenceMarkAsFinishedRequest,\n getSingleProspectSequencesDetailsStatus,\n allOutcomes,\n}) => {\n const { t } = useTranslation();\n const state = store.getState();\n const outcomeChangeRequestStatus =\n state.sequence.onOutcomeChangeRequest.status;\n\n const [showAddToStepModal, setShowAddToStepModal] = useState(false);\n const [sequence, setSequence] = useState>(\n null,\n );\n\n //* useEffect\n useEffect(() => {\n sendGetSingleProspectSequencesDetailsRequest();\n }, []);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: outcomeChangeRequestStatus,\n onSuccess: () => {\n sendGetSingleProspectSequencesDetailsRequest();\n },\n });\n }, [outcomeChangeRequestStatus]);\n\n const hideAddToStepModal = () => {\n setShowAddToStepModal(false);\n };\n\n const handleAddToSequenceStepModal = () => {\n if (\n isFreePlan() &&\n !hasResource(ResourceIdentifiers.SEQUENCES_CONTACTS_IMPORT)\n ) {\n const title = 'Please upgrade your plan to start adding prospects';\n const content = [\n 'Your account is downgraded to a free plan. Upgrade to paid plan to add prospects and resume email sending.',\n ];\n\n planPermissionError.showModal(title, content, true);\n return;\n }\n if (!isSingleProspectSubscribed) {\n toaster.error(\n 'It is not possible to add unsubscribed contacts to the sequence',\n );\n } else {\n setShowAddToStepModal(true);\n }\n };\n\n const addToSequenceStepRequest = (sequenceId, stepId) => {\n if (\n isFreePlan() &&\n !hasResource(ResourceIdentifiers.SEQUENCES_CONTACTS_IMPORT)\n ) {\n const title = 'Please upgrade your plan to start adding prospects';\n const content = [\n 'Your account is downgraded to a free plan. Upgrade to paid plan to add prospects and resume email sending.',\n ];\n\n planPermissionError.showModal(title, content, true);\n return;\n }\n sendAddToStepRequest(sequenceId, stepId);\n };\n\n const data = selectedProspectSequences.map(({ step, sequenceProspect }) => {\n const sequences = {\n value: step.sequence.title,\n id: sequenceProspect.sequenceId,\n stepId: step.id,\n stepNumber: `Step ${step.number}`,\n prospectId: sequenceProspect?.prospectId,\n sequenceProspectDealValue: sequenceProspect?.dealValue,\n outcomeId: sequenceProspect?.categoryId,\n userFirstName:\n step.sequence.user && step.sequence.user.firstName\n ? step.sequence.user.firstName\n : '',\n userLastName:\n step.sequence.user && step.sequence.user.firstName\n ? step.sequence.user.lastName\n : '',\n allOutcomes: allOutcomes || [],\n };\n return {\n id: step.id,\n sequences,\n status: mapSequenceStatusToContactFilter(sequenceProspect?.status),\n };\n });\n\n data.reverse();\n\n const onAction = (action, row) => {\n switch (action) {\n case OnProspectSequenceActions.MarkAsReplied:\n sendSequenceMarkAsRepliedRequest(row.sequences.stepId);\n break;\n\n case OnProspectSequenceActions.MoveToStep:\n setSequence({\n id: row.sequences.id,\n name: row.sequences.value,\n });\n handleAddToSequenceStepModal();\n break;\n\n case OnProspectSequenceActions.RemoveFromSequence:\n sendRemoveFromSequenceRequest(row.sequences.id);\n break;\n\n case OnProspectSequenceActions.MarkAsFinished:\n sendSequenceMarkAsFinishedRequest(row.sequences.stepId);\n break;\n default:\n break;\n }\n };\n\n const actions = [\n {\n key: OnProspectSequenceActions.MarkAsReplied,\n displayName: 'Mark as Replied',\n isSVGIcon: true,\n SVGIcon: ,\n },\n {\n key: OnProspectSequenceActions.MoveToStep,\n displayName: 'Move to Step',\n isSVGIcon: true,\n SVGIcon: ,\n },\n {\n key: OnProspectSequenceActions.RemoveFromSequence,\n displayName: 'Remove from Sequence',\n isSVGIcon: true,\n SVGIcon: ,\n },\n {\n key: OnProspectSequenceActions.MarkAsFinished,\n displayName: 'Mark as Finished',\n isSVGIcon: true,\n SVGIcon: ,\n },\n ];\n\n if (getIsRequestPending(getSingleProspectSequencesDetailsStatus)) {\n return (\n
    \n \n
    \n );\n }\n\n if (selectedProspectSequences.length === 0) {\n return (\n
    \n \n <>\n \n
    \n );\n }\n\n return (\n <>\n onAction(key, row)}\n paginationOptions={{\n options: {\n limit: 1000,\n page: 0,\n totalElements: 1000,\n },\n }}\n pagination={PaginationShowHide.HIDE}\n bodyWrapperClasses=\"prospect=details-table-body\"\n />\n {showAddToStepModal && (\n \n )}\n \n );\n};\n\nexport default ProspectSequenceListTable;\n","import React from 'react';\nimport CellCard from '../../../../../../../../../shared/design-system/components/atoms/cell-card';\nimport ContactStatusTag from '../../../../../../../../../shared/design-system/components/atoms/contact-status-tag/contact-status-tag';\n\nexport const getProspectSequenceColumn = () => [\n {\n dataField: 'sequences',\n text: '',\n headerAlign: 'left',\n style: { borderTop: 'none', paddingRight: '0px' },\n headerStyle: {\n display: 'none',\n },\n component: (cell) => ,\n },\n {\n dataField: 'status',\n text: '',\n headerAlign: 'left',\n style: { borderTop: 'none', width: '5rem' },\n headerStyle: {\n display: 'none',\n },\n component: (cell) => (\n
    \n \n
    \n ),\n },\n];\n","/* eslint-disable no-nested-ternary */\nimport React from 'react';\nimport Form from '../../../../../../../../shared/design-system/components/organisms/form';\nimport { RequestStatus } from '../../../../../../../../shared/enums/request-status';\nimport {\n FormField,\n FormMode,\n InputValidationType,\n} from '../../../../../../../../shared/design-system/components/organisms/form/types';\nimport Spinner, {\n SpinnerAnimation,\n} from '../../../../../../../../shared/design-system/components/atoms/spinner/spinner';\nimport { SelectedProspectData } from '../../../../../../../sequence/types';\nimport { executeOnRequestStatusWithPrevStatusCheck } from '../../../../../../../../shared/utils';\nimport toaster from '../../../../../../../../shared/toaster';\n\ntype IProps = {\n selectedProspectData: SelectedProspectData;\n selectedProspectId: number;\n onClose: () => void;\n handleSaveContactAttributesSubmit: (attributes) => void;\n getSingleProspectDetailsStatus: RequestStatus;\n saveContactAttributesRequestStatus: RequestStatus;\n sendGetSingleProspectDetailsRequest: (contactId: number) => void;\n sendPrimaryEmailChangeInProspectRequest: (\n primaryEmailProspectInfoId: number,\n contactId: number,\n ) => void;\n sendDeleteEmailFromProspectRequest: (\n prospectInfoId: number,\n contactId: number,\n ) => void;\n sendDeletePhoneFromProspectRequest: (\n prospectInfoId: number,\n contactId: number,\n ) => void;\n deleteSecondaryEmailRequestStatus?: string;\n resetProspectDeleteEmailRequestStatus?: () => void;\n deleteSecondaryPhoneRequestStatus?: string;\n resetProspectDeletePhoneRequestStatus?: () => void;\n resetProspectPrimaryEmailChangeRequestStatus?: () => void;\n primaryEmailChangeRequestStatus: string;\n onActivityChange: (value: boolean) => void;\n};\n\nclass ProspectProfileForm extends React.Component {\n constructor(props: IProps) {\n super(props);\n\n this.prepareFormConfig = this.prepareFormConfig.bind(this);\n this.handleSubmit = this.handleSubmit.bind(this);\n }\n\n componentDidUpdate(prevProps: Readonly): void {\n const {\n deleteSecondaryEmailRequestStatus,\n resetProspectDeleteEmailRequestStatus,\n sendGetSingleProspectDetailsRequest,\n selectedProspectId,\n deleteSecondaryPhoneRequestStatus,\n resetProspectDeletePhoneRequestStatus,\n resetProspectPrimaryEmailChangeRequestStatus,\n primaryEmailChangeRequestStatus,\n onActivityChange,\n } = this.props;\n executeOnRequestStatusWithPrevStatusCheck({\n status: deleteSecondaryEmailRequestStatus,\n prevStatus: prevProps?.deleteSecondaryEmailRequestStatus,\n onSuccess: () => {\n toaster.success('Email address deleted successfully');\n resetProspectDeleteEmailRequestStatus();\n sendGetSingleProspectDetailsRequest(selectedProspectId);\n },\n });\n executeOnRequestStatusWithPrevStatusCheck({\n status: deleteSecondaryPhoneRequestStatus,\n prevStatus: prevProps?.deleteSecondaryPhoneRequestStatus,\n onSuccess: () => {\n toaster.success('Phone number deleted successfully');\n resetProspectDeletePhoneRequestStatus();\n sendGetSingleProspectDetailsRequest(selectedProspectId);\n },\n });\n executeOnRequestStatusWithPrevStatusCheck({\n status: primaryEmailChangeRequestStatus,\n prevStatus: prevProps?.primaryEmailChangeRequestStatus,\n onSuccess: () => {\n toaster.success('Primary Email address updated successfully');\n resetProspectPrimaryEmailChangeRequestStatus();\n sendGetSingleProspectDetailsRequest(selectedProspectId);\n onActivityChange(true);\n },\n });\n }\n\n getShouldFormFieldDisabled = (name: string): boolean =>\n name === 'email' || name === 'companydomain' || name === 'creationsource';\n\n prepareFormConfig(): FormField[] {\n const { selectedProspectData } = this.props;\n\n const { attributes } = selectedProspectData || { attributes: [] };\n return attributes.map((attribute: any) => {\n const name = attribute.fieldRef?.label?.replace(' ', '').toLowerCase();\n return {\n id: attribute.fieldRef.id,\n isDefault: attribute.fieldRef.isDefault,\n name,\n disabled: this.getShouldFormFieldDisabled(name),\n displayName: attribute.fieldRef.label,\n component: attribute.fieldRef.fieldType,\n value: attribute.attributeValue,\n styleClassNames: 'col-md-6',\n\n validator:\n name === 'email'\n ? InputValidationType.isEmail\n : name === 'phonenumber'\n ? InputValidationType.isMobilePhone\n : InputValidationType.MaxCharLimit,\n };\n });\n }\n\n handleSubmit(values) {\n const {\n selectedProspectData,\n handleSaveContactAttributesSubmit,\n } = this.props;\n\n const { attributes } = selectedProspectData || { attributes: [] };\n\n const payload = attributes.map((attribute: any) => {\n const key = attribute.fieldRef?.label?.replace(' ', '').toLowerCase();\n return { attributeValue: values[key], fieldRef: attribute.fieldRef.id };\n });\n handleSaveContactAttributesSubmit(payload);\n }\n\n render() {\n const {\n getSingleProspectDetailsStatus,\n onClose,\n saveContactAttributesRequestStatus,\n selectedProspectData,\n sendPrimaryEmailChangeInProspectRequest,\n sendDeleteEmailFromProspectRequest,\n sendDeletePhoneFromProspectRequest,\n } = this.props;\n\n if (\n !selectedProspectData ||\n getSingleProspectDetailsStatus === RequestStatus.Pending ||\n getSingleProspectDetailsStatus === RequestStatus.Failed\n ) {\n return (\n
    \n \n
    \n );\n }\n return (\n \n );\n }\n}\n\nexport default ProspectProfileForm;\n","import React from 'react';\nimport InfiniteScroll, { Props } from 'react-infinite-scroll-component';\n\ntype WrapperDivProps = {\n wrapperId: string;\n wrapperStyle: React.CSSProperties;\n};\n\nconst InfiniteScrollCustom = ({\n children,\n wrapperId,\n wrapperStyle,\n ...props\n}: Props & WrapperDivProps) => {\n return (\n
    \n {children}\n
    \n );\n};\n\nexport default InfiniteScrollCustom;\n","import React from 'react';\nimport { Spinner } from 'reactstrap';\nimport ActivityComponent from '../../molecules/activity-component';\nimport InfiniteScrollCustom from '../../atoms/infinite-scroll-custom/infinite-scroll-custom';\nimport { ActivityPropTypes } from './types';\n\nconst Activity: React.FC = ({\n onLoadMore,\n hasMore,\n lengthOfPage,\n heightOfScroll,\n activityArr,\n wrapperId,\n scrollableTarget,\n wrapperStyle,\n}) => {\n return (\n \n \n \n }\n wrapperId={wrapperId}\n wrapperStyle={wrapperStyle}\n scrollableTarget={scrollableTarget}\n >\n {activityArr.map(({ dayText, activity }, index: React.Key) => {\n return (\n \n );\n })}\n \n );\n};\n\nexport default Activity;\n","/* eslint-disable @typescript-eslint/no-shadow */\nimport * as luxon from 'luxon';\nimport React, { ReactNode, useEffect, useState } from 'react';\nimport { withTranslation } from 'react-i18next';\nimport { useDispatch } from 'react-redux';\nimport { Images } from '../../../../../../../../shared/app-constants';\nimport { useAxios } from '../../../../../../../../shared/hooks/useAxios';\nimport Activity from '../../../../../../../../shared/design-system/components/organisms/activity';\nimport { ActivityType } from '../../../../../../../../shared/design-system/components/organisms/activity/types';\nimport EmptyList from '../../../../../../../../shared/design-system/components/molecules/empty-list/empty-list';\nimport { constants } from '../../../../../../../../shared/enums/constants';\nimport Spinner, {\n SpinnerAnimation,\n} from '../../../../../../../../shared/design-system/components/atoms/spinner/spinner';\nimport store from '../../../../../../../../store/store';\nimport { executeOnRequestStatus } from '../../../../../../../../shared/utils';\nimport { resetUnsubscribeRequestState } from '../../../../../../prospect-slice';\n\ntype ProspectActivityProps = {\n prospectId: number;\n t: (x: string) => ReactNode;\n fetchActivity: boolean;\n onActivityChange: (value: boolean) => void;\n activeTab: string;\n};\n\nconst ProspectActivity: React.FC = ({\n prospectId,\n t,\n fetchActivity,\n onActivityChange,\n activeTab,\n}) => {\n const state = store.getState();\n const dispatch = useDispatch();\n const unsubscribeRequestStatus =\n state.prospect.unsubscribeProspectRequest.status;\n const [items, setItems] = useState([]);\n const [page, setPage] = useState(1);\n const [hasMore, setHasMore] = useState(true);\n const { loading, response, axiosConfigSetter } = useAxios(\n {\n url: '/activity/prospect',\n params: {\n pageNum: page,\n contactId: prospectId,\n },\n },\n [],\n );\n\n useEffect(() => {\n if (items && response.length < constants.DEFAULT_PAGE_SIZE) {\n setHasMore(false);\n }\n\n setItems(response || []);\n }, [response]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: unsubscribeRequestStatus,\n onSuccess: () => {\n axiosConfigSetter({\n params: {\n pageNum: page,\n contactId: prospectId,\n },\n });\n dispatch(resetUnsubscribeRequestState());\n },\n });\n }, [unsubscribeRequestStatus]);\n\n useEffect(() => {\n if(fetchActivity && activeTab === \"activity\") {\n axiosConfigSetter({\n params: {\n pageNum: page,\n contactId: prospectId,\n },\n });\n onActivityChange(false)\n }\n }, [activeTab])\n\n const getProspectActivity = () => {\n setPage((page) => page + 1);\n axiosConfigSetter({\n params: {\n pageNum: page + 1,\n contactId: prospectId,\n },\n });\n };\n\n // show spinner while loading\n if (loading) {\n return (\n
    \n \n
    \n );\n }\n\n // if the returned data is empty show no data icon\n if (items.length === 0) {\n return (\n \n );\n }\n\n // Creating an activity arr\n const activityArr: ActivityType[] = [];\n\n // Set to track the dayText that we already have got. like \"20 July 2020\"\n const dayTextSet = new Set();\n\n items.forEach(({ timestamp, log, key }) => {\n const ts = luxon.DateTime.fromISO(timestamp)\n .toFormat('dd LLLL yyyy')\n .toString();\n if (!dayTextSet.has(ts)) {\n const activityArrElement: ActivityType = {\n dayText: ts,\n activity: [{ log, key }],\n };\n dayTextSet.add(ts);\n activityArr.push(activityArrElement);\n } else {\n const activityArrElement = activityArr.find(\n ({ dayText }) => dayText === ts,\n );\n activityArrElement.activity.push({ log, key });\n }\n });\n\n const yesterday = luxon.DateTime.fromMillis(\n new Date().setDate(new Date().getDate() - 1),\n ).toFormat('dd LLLL yyyy');\n\n const today = luxon.DateTime.fromMillis(new Date().getTime()).toFormat(\n 'dd LLLL yyyy',\n );\n\n if (activityArr[0].dayText === today) {\n activityArr[0].dayText = t('labels.today');\n }\n\n if (activityArr[0].dayText === yesterday) {\n activityArr[0].dayText = t('labels.yesterday');\n }\n\n if (activityArr[1] && activityArr[1].dayText === yesterday) {\n activityArr[1].dayText = t('labels.yesterday');\n }\n\n return (\n \n );\n};\n\nexport default withTranslation()(ProspectActivity);\n","import React, { useEffect, useState } from 'react';\nimport ConfirmationModal from '../../../../../../shared/design-system/components/atoms/confirmation-modal';\nimport { RequestStatus } from '../../../../../../shared/enums/request-status';\nimport toaster, { Theme } from '../../../../../../shared/toaster';\nimport AddToSequenceModal from '../modals/add-to-sequence-modal';\nimport type { IProps } from './prospect-details-container';\nimport ProspectDetailsModal from './prospect-details-modal';\nimport TagsModal from '../modals/tags-modal';\nimport hasResource from '../../../../../../shared/utils/access-control/has-resource';\nimport { ResourceIdentifiers } from '../../../../../../shared/utils/access-control/enums/resource-identifiers';\nimport { executeOnRequestStatus } from '../../../../../../shared/utils';\nimport { isFreePlan } from '../../../../../../shared/utils/plans';\nimport planPermissionError from '../../../../../../shared/utils/errors/plan-permission-error';\nimport hasPermission from '../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../shared/utils/access-control/enums/permissions';\n\nconst ProspectDetails: React.FC = ({\n show,\n onHide,\n selectedProspectId,\n resetSelectedProspectId,\n selectedProspectData,\n selectedProspectSequences,\n addToStepRequestError,\n addToStepRequestStatus,\n resetSequenceAndStepData,\n addToStepRequestFailedCount,\n addToStepRequestSuccessfulCount,\n sendAddContactToStepRequest,\n sendUnsubscribeProspectRequest,\n sendRemoveProspectRequest,\n sendSequenceMarkAsRepliedRequest,\n unsubscribeProspectStatus,\n unsubscribeProspectError,\n removeProspectError,\n removeProspectStatus,\n unsubscribeProspectMessage,\n removeProspectMessage,\n addToStepRequestMessage,\n sendGetSingleProspectSequencesDetailsRequest,\n getSingleProspectSequencesDetailsStatus,\n markAsRepliedError,\n markAsRepliedMessage,\n markAsRepliedStatus,\n sendSingleProspectRemoveFromSequencesRequest,\n removeFromSequenceError,\n removeFromSequenceMessage,\n removeFromSequenceStatus,\n saveContactAttributesRequestStatus,\n saveContactAttributesRequestMessage,\n saveContactAttributesRequestError,\n sendSaveContactAttributesRequest,\n sendGetSingleProspectDetailsRequest,\n getSingleProspectDetailsStatus,\n sendSequenceMarkAsFinishedRequest,\n markAsFinishedStatus,\n markAsFinishedMessage,\n markAsFinishedError,\n isTagsFilterApplied,\n resetRemoveProspectRequest,\n resetSaveContactAttributesRequestStatus,\n sendPrimaryEmailChangeInProspectRequest,\n sendDeleteEmailFromProspectRequest,\n sendDeletePhoneFromProspectRequest,\n deleteSecondaryEmailRequestStatus,\n resetProspectDeleteEmailRequestStatus,\n deleteSecondaryPhoneRequestStatus,\n resetProspectDeletePhoneRequestStatus,\n primaryEmailChangeRequestStatus,\n resetProspectPrimaryEmailChangeRequestStatus,\n allOutcomes,\n currentSequenceId,\n sendGetTagsRequest,\n sendAddTagsToProspectsRequest,\n resetTags,\n tags,\n addTagsToProspectsRequestStatus\n}) => {\n const [showAddToSequenceModal, setShowAddToSequenceModal] = useState(\n false,\n );\n\n const [showDeleteProspect, setShowDeleteProspectModal] = useState(\n false,\n );\n\n const [showTagsModal, setShowTagsModal] = useState(false);\n\n const hideAddToSequenceStepModal = () => {\n setShowAddToSequenceModal(false);\n };\n\n const handleAddToSequenceStepModal = () => {\n if (isFreePlan() && !hasPermission(Permissions.SEQUENCE_PROSPECT_WRITE)) {\n const title = 'Please upgrade your plan to start adding prospects';\n const content = [\n 'Your account is downgraded to a free plan. Upgrade to paid plan to add prospects and resume email sending.',\n ];\n\n planPermissionError.showModal(title, content, true);\n return;\n }\n\n if (!selectedProspectData?.isSubscribed) {\n toaster.error(\n 'It is not possible to add unsubscribed contacts to the sequence',\n { theme: Theme.New },\n );\n } else if (hasResource(ResourceIdentifiers.CONTACTS_IMPORT)) {\n setShowAddToSequenceModal(true);\n }\n };\n\n const hideDeleteProspectModal = () => {\n setShowDeleteProspectModal(false);\n };\n\n const showDeleteProspectModal = () => {\n setShowDeleteProspectModal(true);\n };\n\n const hideTagsModal = () => {\n /**\n * Handling a case in which a tag filter is applied and the same tag is deleted from the selected\n * Prospect.\n */\n isTagsFilterApplied && onHide();\n setShowTagsModal(false);\n };\n\n const viewTagsModal = () => {\n setShowTagsModal(true);\n };\n\n const addToSequenceRequest = (sequenceId, stepId) => {\n hasResource(ResourceIdentifiers.SEQUENCES_CONTACTS_IMPORT) &&\n sendAddContactToStepRequest({\n sequenceId,\n stepId,\n contactIds: [selectedProspectId],\n });\n };\n\n const unsubscribeProspectRequest = () => {\n sendUnsubscribeProspectRequest([selectedProspectId]);\n };\n\n const removeProspect = () => {\n showDeleteProspectModal();\n };\n\n const removeProspectRequest = () => {\n sendRemoveProspectRequest([selectedProspectId]);\n };\n\n const sendGetSingleProspectSequencesRequest = () => {\n sendGetSingleProspectSequencesDetailsRequest(selectedProspectId);\n };\n\n const prospectSequenceMarkAsReplied = (stepId: number) => {\n const contactAndStepIds = [];\n contactAndStepIds.push({\n contactId: selectedProspectId,\n stepId,\n });\n sendSequenceMarkAsRepliedRequest(contactAndStepIds);\n };\n\n const prospectSequenceMarkedAsFinished = (stepId: number) => {\n const contactAndStepIds = [{ contactId: selectedProspectId, stepId }];\n sendSequenceMarkAsFinishedRequest(contactAndStepIds);\n };\n\n const prospectSequenceRemoveFromSequence = (sequenceId: number) => {\n sendSingleProspectRemoveFromSequencesRequest({\n sequenceId,\n contactIds: [selectedProspectId],\n });\n };\n\n useEffect(() => {\n sendGetSingleProspectDetailsRequest(selectedProspectId);\n }, []);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getSingleProspectDetailsStatus,\n onFailed: () => {\n onHide();\n },\n });\n }, [getSingleProspectDetailsStatus]);\n\n // Add to Step Request.\n useEffect(() => {\n if (addToStepRequestStatus === RequestStatus.Succeeded) {\n hideAddToSequenceStepModal();\n resetSequenceAndStepData();\n sendGetSingleProspectSequencesRequest();\n if (addToStepRequestSuccessfulCount > 0) {\n toaster.success(\n addToStepRequestMessage?.replace(/contact/gi, 'Prospect'),\n );\n }\n if (addToStepRequestFailedCount > 0) {\n toaster.error('Prospect already exists in the selected step', {\n theme: Theme.New,\n });\n }\n }\n if (\n addToStepRequestStatus === RequestStatus.Failed &&\n addToStepRequestError\n ) {\n resetSequenceAndStepData();\n toaster.error(\n addToStepRequestError.message?.replace(/contact/gi, 'Prospect'),\n );\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [addToStepRequestStatus]);\n\n // Unsubscribe Request.\n useEffect(() => {\n if (unsubscribeProspectStatus === RequestStatus.Succeeded) {\n toaster.success(\n unsubscribeProspectMessage?.replace(/contact/gi, 'Prospect'),\n );\n resetSequenceAndStepData();\n }\n if (\n unsubscribeProspectStatus === RequestStatus.Failed &&\n unsubscribeProspectError\n ) {\n toaster.error(\n unsubscribeProspectError.message?.replace(/contact/gi, 'Prospect'),\n );\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [unsubscribeProspectStatus]);\n\n // remove Prospect Request.\n useEffect(() => {\n if (removeProspectStatus === RequestStatus.Succeeded) {\n onHide();\n toaster.success(removeProspectMessage?.replace(/contact/gi, 'Prospect'));\n resetSequenceAndStepData();\n resetSelectedProspectId();\n }\n if (removeProspectStatus === RequestStatus.Failed && removeProspectError) {\n toaster.error(\n removeProspectError.message?.replace(/contact/gi, 'Prospect'),\n );\n resetRemoveProspectRequest();\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [removeProspectStatus]);\n\n // Mark as replied for sequence.\n useEffect(() => {\n if (markAsRepliedStatus === RequestStatus.Succeeded) {\n toaster.success(markAsRepliedMessage?.replace(/contact/gi, 'Prospect'));\n sendGetSingleProspectSequencesRequest();\n resetSequenceAndStepData();\n }\n if (markAsRepliedStatus === RequestStatus.Failed && markAsRepliedError) {\n toaster.error(\n markAsRepliedError.message?.replace(/contact/gi, 'Prospect'),\n );\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [markAsRepliedStatus]);\n\n // Mark as replied for sequence.\n useEffect(() => {\n if (markAsFinishedStatus === RequestStatus.Succeeded) {\n toaster.success(markAsFinishedMessage?.replace(/contact/gi, 'Prospect'));\n sendGetSingleProspectSequencesRequest();\n resetSequenceAndStepData();\n }\n if (markAsFinishedStatus === RequestStatus.Failed && markAsFinishedError) {\n toaster.error(\n markAsFinishedError.message?.replace(/contact/gi, 'Prospect'),\n );\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [markAsFinishedStatus]);\n\n // Remove From sequence.\n useEffect(() => {\n if (removeFromSequenceStatus === RequestStatus.Succeeded) {\n toaster.success(\n removeFromSequenceMessage?.replace(/contact/gi, 'Prospect'),\n );\n sendGetSingleProspectSequencesRequest();\n resetSequenceAndStepData();\n }\n if (\n removeFromSequenceStatus === RequestStatus.Failed &&\n removeFromSequenceError\n ) {\n toaster.error(\n removeFromSequenceError.message?.replace(/contact/gi, 'Prospect'),\n );\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [removeFromSequenceStatus]);\n\n // Save Contact Attribute Request.\n useEffect(() => {\n if (saveContactAttributesRequestStatus === RequestStatus.Succeeded) {\n toaster.success(\n saveContactAttributesRequestMessage?.replace(/contact/gi, 'Prospect'),\n );\n resetSequenceAndStepData();\n }\n if (\n saveContactAttributesRequestStatus === RequestStatus.Failed &&\n saveContactAttributesRequestError\n ) {\n toaster.error(\n saveContactAttributesRequestError.message?.replace(\n /contact/gi,\n 'Prospect',\n ),\n );\n }\n resetSaveContactAttributesRequestStatus();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [saveContactAttributesRequestStatus]);\n\n const isRemoveProspectRequestPending =\n removeProspectStatus === RequestStatus.Pending;\n\n const contentRemoveProspectModal =\n 'This will remove all the history of the prospect(s).';\n\n const titleRemoveProspectModal = 'Are you sure you want to delete?';\n\n return (\n <>\n {show && (\n \n )}\n\n {showAddToSequenceModal && (\n \n )}\n\n {showDeleteProspect && (\n \n )}\n {showTagsModal && (\n \n )}\n \n );\n};\n\nexport default ProspectDetails;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RequestStatus } from '../../../../../../shared/enums/request-status';\nimport { RootState } from '../../../../../../store/root-reducer';\nimport {\n AddToStepParams,\n SelectedProspectData,\n} from '../../../../../sequence/types';\nimport {\n unsubscribeProspectRequest,\n addToStepRequest,\n removeProspectRequest,\n getSingleProspectSequencesDetailsRequest,\n singleProspectSequencesMarkAsRepliedRequest,\n singleProspectRemoveFromSequencesRequest,\n saveContactAttributesRequest,\n getSingleProspectDetailsRequest,\n singleProspectSequencesMarkAsFinishedRequest,\n changePrimaryEmailInProspectRequest,\n deleteSecondaryEmailRequest,\n deleteSecondaryPhoneRequest,\n getTagsRequest,\n addTagsToProspectsRequest,\n} from '../../../../extra-actions';\nimport {\n resetProspectDeleteEmailRequestStatus,\n resetProspectDeletePhoneRequestStatus,\n resetRemoveProspectRequest,\n resetSaveContactAttributesRequestStatus,\n resetSequenceAndStepData,\n resetProspectPrimaryEmailChangeRequestStatus,\n resetTags,\n} from '../../../../prospect-slice';\nimport { AddTagsToProspectsPayload, markAsRepliedParam, removeFromSequenceParam } from '../../../../types';\nimport ProspectDetails from './prospect-details';\n\nconst mapStateToProps = (state: RootState) => ({\n addToStepRequestStatus: state.prospect.addToStepRequest.status,\n addToStepRequestError: state.prospect.addToStepRequest.error,\n addToStepRequestMessage: state.prospect.addToStepRequest.message,\n addToStepRequestFailedCount:\n state.prospect.addToStepRequestResultCount.failed,\n addToStepRequestSuccessfulCount:\n state.prospect.addToStepRequestResultCount.successful,\n\n removeProspectStatus: state.prospect.removeProspectRequest.status,\n removeProspectError: state.prospect.removeProspectRequest.error,\n removeProspectMessage: state.prospect.removeProspectRequest.message,\n\n unsubscribeProspectStatus: state.prospect.unsubscribeProspectRequest.status,\n unsubscribeProspectError: state.prospect.unsubscribeProspectRequest.error,\n unsubscribeProspectMessage: state.prospect.unsubscribeProspectRequest.message,\n\n markAsRepliedError:\n state.prospect.singleProspectSequencesMarkAsRepliedRequest.error,\n markAsRepliedMessage:\n state.prospect.singleProspectSequencesMarkAsRepliedRequest.message,\n markAsRepliedStatus:\n state.prospect.singleProspectSequencesMarkAsRepliedRequest.status,\n\n markAsFinishedError:\n state.prospect.singleProspectSequencesMarkAsFinishedRequest.error,\n markAsFinishedMessage:\n state.prospect.singleProspectSequencesMarkAsFinishedRequest.message,\n markAsFinishedStatus:\n state.prospect.singleProspectSequencesMarkAsFinishedRequest.status,\n\n removeFromSequenceStatus:\n state.prospect.singleProspectRemoveFromSequencesRequest.status,\n removeFromSequenceError:\n state.prospect.singleProspectRemoveFromSequencesRequest.error,\n removeFromSequenceMessage:\n state.prospect.singleProspectRemoveFromSequencesRequest.message,\n\n deleteSecondaryEmailRequestStatus:\n state.prospect.deleteSecondaryEmailRequest.status,\n deleteSecondaryEmailRequestError:\n state.prospect.deleteSecondaryEmailRequest.error,\n deleteSecondaryEmailRequestMessage:\n state.prospect.deleteSecondaryEmailRequest.message,\n\n deleteSecondaryPhoneRequestStatus:\n state.prospect.deleteSecondaryPhoneRequest.status,\n deleteSecondaryPhoneRequestError:\n state.prospect.deleteSecondaryPhoneRequest.error,\n deleteSecondaryPhoneRequestMessage:\n state.prospect.deleteSecondaryPhoneRequest.message,\n\n primaryEmailChangeRequestStatus:\n state.prospect.changePrimaryEmailInProspectRequest.status,\n primaryEmailChangeRequestError:\n state.prospect.changePrimaryEmailInProspectRequest.error,\n primaryEmailChangeRequestMessage:\n state.prospect.changePrimaryEmailInProspectRequest.message,\n\n saveContactAttributesRequestStatus:\n state.prospect.saveContactAttributesRequest.status,\n saveContactAttributesRequestError:\n state.prospect.saveContactAttributesRequest.error,\n saveContactAttributesRequestMessage:\n state.prospect.saveContactAttributesRequest.message,\n allOutcomes: state.customOutcome.outcomes,\n tags: state.prospect.tags,\n addTagsToProspectsRequestStatus:\n state.prospect.addTagsToProspectsRequest.status,\n});\n\nconst mapDispatchToProps = {\n sendAddContactToStepRequest: (payload: AddToStepParams) =>\n addToStepRequest(payload),\n resetSequenceAndStepData: () => resetSequenceAndStepData(),\n sendRemoveProspectRequest: (contactArr: number[]) =>\n removeProspectRequest(contactArr),\n sendUnsubscribeProspectRequest: (contactArr: number[]) =>\n unsubscribeProspectRequest(contactArr),\n sendGetSingleProspectSequencesDetailsRequest: (contactArr: number) =>\n getSingleProspectSequencesDetailsRequest(contactArr),\n sendSequenceMarkAsRepliedRequest: (contactAndStepIds: markAsRepliedParam[]) =>\n singleProspectSequencesMarkAsRepliedRequest(contactAndStepIds),\n sendSequenceMarkAsFinishedRequest: (\n contactAndStepIds: markAsRepliedParam[],\n ) => singleProspectSequencesMarkAsFinishedRequest(contactAndStepIds),\n sendSingleProspectRemoveFromSequencesRequest: (\n param: removeFromSequenceParam,\n ) => singleProspectRemoveFromSequencesRequest(param),\n sendSaveContactAttributesRequest: (contactId: number, attributes: []) =>\n saveContactAttributesRequest({ contactId, attributes }),\n sendGetSingleProspectDetailsRequest: (contactId: number) =>\n getSingleProspectDetailsRequest(contactId),\n resetRemoveProspectRequest: () => resetRemoveProspectRequest(),\n resetSaveContactAttributesRequestStatus: () =>\n resetSaveContactAttributesRequestStatus(),\n sendPrimaryEmailChangeInProspectRequest: (\n primaryEmailProspectInfoId: number,\n contactId: number,\n ) =>\n changePrimaryEmailInProspectRequest({\n primaryEmailProspectInfoId,\n contactId,\n }),\n sendDeleteEmailFromProspectRequest: (\n prospectInfoId: number,\n contactId: number,\n ) => deleteSecondaryEmailRequest({ prospectInfoId, contactId }),\n sendDeletePhoneFromProspectRequest: (\n prospectInfoId: number,\n contactId: number,\n ) => deleteSecondaryPhoneRequest({ prospectInfoId, contactId }),\n resetProspectDeleteEmailRequestStatus: () =>\n resetProspectDeleteEmailRequestStatus(),\n resetProspectDeletePhoneRequestStatus: () =>\n resetProspectDeletePhoneRequestStatus(),\n resetProspectPrimaryEmailChangeRequestStatus: () =>\n resetProspectPrimaryEmailChangeRequestStatus(),\n sendGetTagsRequest: () => getTagsRequest(),\n sendAddTagsToProspectsRequest: (payload: AddTagsToProspectsPayload) =>\n addTagsToProspectsRequest(payload),\n resetTags: () => resetTags(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n show: boolean;\n onHide: VoidFunction;\n selectedProspectId: number;\n resetSelectedProspectId: VoidFunction;\n selectedProspectData: SelectedProspectData;\n selectedProspectSequences: any[];\n getSingleProspectDetailsStatus: RequestStatus;\n getSingleProspectSequencesDetailsStatus: RequestStatus;\n isTagsFilterApplied: boolean;\n t?: (x: string) => string;\n currentSequenceId?: number;\n};\n\nexport default connector(ProspectDetails);\n","import React from 'react';\nimport classnames from 'classnames';\nimport { SkeletonLoading } from '@saleshandy/design-system';\nimport { IProps } from './types';\nimport { accessibleOnClick } from '../../../../../../../../shared/utils/accessible-on-click';\n\nconst EvCreditPlans: React.FC = ({\n credits = [],\n onSelectPlan,\n selectedPlan,\n remainingCredit,\n isPlansLoading = false,\n}) => {\n const handleSelectPlan = (plan) => {\n if (remainingCredit > plan.credits) {\n return;\n }\n onSelectPlan(plan);\n };\n\n const renderCreditPlans = () => {\n if (isPlansLoading || credits?.length === 0) {\n const arr = Array.from({ length: 8 }, (_, i) => i + 1);\n return (\n
    \n {arr.map((key) => (\n
    \n \n
    \n ))}\n
    \n );\n }\n\n return (\n
    \n {credits?.map((credit) => {\n const isSelected = credit.id === selectedPlan?.id;\n const creditPlanClass = classnames('credit-plan', {\n selected: isSelected,\n disabled: remainingCredit > credit.credits,\n });\n\n return (\n handleSelectPlan(credit))}\n >\n {credit.isBestValue === 1 && (\n
    Best Value
    \n )}\n

    {credit.name.replace(' Credits', '')}

    \n
    \n );\n })}\n \n );\n };\n\n return <>{renderCreditPlans()};\n};\n\nexport default EvCreditPlans;\n","import React, { useEffect, useState } from 'react';\nimport { Wallet } from '@saleshandy/icons';\nimport { Button } from '@saleshandy/design-system';\nimport { useTranslation } from 'react-i18next';\nimport StripeCheckout from 'react-stripe-checkout';\n\nimport type { IProps } from './purchase-credits-modal-container';\n\nimport Modal from '../../../../../../shared/design-system/ui/modal';\nimport EvCreditPlans from '../ev-credits/components/ev-credit-plans';\nimport Checkbox from '../../../../../../shared/design-system/components/atoms/checkbox';\n\nimport hasPermission from '../../../../../../shared/utils/access-control/has-permission';\nimport { Images } from '../../../../../../shared/app-constants';\nimport { Permissions } from '../../../../../../shared/utils/access-control/enums/permissions';\nimport { AnalyticsEvents } from '../../../../../../shared/enums/analytics';\nimport { contactAdmin } from '../../../../../../shared/utils/contact-admin';\nimport {\n executeOnRequestStatus,\n getIsRequestPending,\n} from '../../../../../../shared/utils';\n\nconst PurchaseCreditsModal: React.FC = ({\n show,\n evCreditPlans = [],\n onBuyCredits,\n onClose,\n isPurchaseEmailVerificationCreditsLoading,\n remainingCredit,\n sequenceName,\n currentPlan,\n getEmailVerificationPlanResponse,\n sendGetEmailVerificationPlanRequest,\n getEmailVerificationPlanRequestStatus,\n type,\n sendGetLeadFinderOneTimePlansRequest,\n getLeadFinderOneTimePlansRequestStatus,\n getLeadFinderOneTimePlansResponse,\n openTalkToSalesChat,\n}) => {\n const { t } = useTranslation();\n const [selectedPlan, setSelectedPlan] = useState(\n () =>\n (evCreditPlans?.length > 0 &&\n evCreditPlans.find((plan) => plan.isBestValue === 1)) ||\n null,\n );\n const [isChecked, setIsChecked] = useState(false);\n\n const handleCheckBox = () => {\n setIsChecked((preState) => !preState);\n (document.activeElement as HTMLElement)?.blur();\n };\n\n const onSelectPlan = (plan) => {\n setSelectedPlan(plan);\n };\n\n const onPurchaseHandler = (token) => {\n onBuyCredits(token.id, +selectedPlan.id);\n };\n\n const handlePayNowAnalyticsEvent = () => {\n window.analytics?.track?.({\n event: AnalyticsEvents.ClickedOnPayNow,\n properties: {\n Source: 'Verification Credits',\n current_plan: currentPlan,\n },\n });\n };\n const contactAdminHandler = () => {\n const generalEmailSub = t('messages.general_email_sub_for_purchase_ev');\n const emailSubForSequenceProspectVerify = t(\n 'messages.email_sub_for_purchase_ev_from_sequence_settings',\n );\n const generalEmailBody =\n `Hey, %0D%0A %0D%0A I wish to buy ${selectedPlan.name} for Email Verification from SalesHandy.` +\n `%0D%0A Please make arrangements for the same by given URL.` +\n `%0D%0A ${process.env.REACT_APP_V3_PURCHASE_EV_CREDIT_URL} %0D%0A %0D%0AThanks in advance`;\n const sequenceProspectEmailBody =\n `To verify the prospects of our lates sequence \"${sequenceName}\" we need to purchase credits.` +\n `%0D%0A %0D%0APlease purchase credits to ensure that the sequence \"${sequenceName}\" continues smoothly.`;\n\n contactAdmin(\n sequenceName ? emailSubForSequenceProspectVerify : generalEmailSub,\n sequenceName ? sequenceProspectEmailBody : generalEmailBody,\n );\n };\n\n useEffect(() => {\n if (show && (!evCreditPlans || evCreditPlans?.length === 0)) {\n if (type === 'email-verification') {\n sendGetEmailVerificationPlanRequest();\n } else if (type === 'lead-finder') {\n sendGetLeadFinderOneTimePlansRequest();\n }\n }\n }, [show]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getEmailVerificationPlanRequestStatus,\n onSuccess: () => {\n setSelectedPlan(\n () =>\n (getEmailVerificationPlanResponse?.length > 0 &&\n getEmailVerificationPlanResponse.find(\n (plan) => plan.isBestValue === 1,\n )) ||\n null,\n );\n },\n });\n }, [getEmailVerificationPlanRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getLeadFinderOneTimePlansRequestStatus,\n onSuccess: () => {\n setSelectedPlan(\n () =>\n (getLeadFinderOneTimePlansResponse?.length > 0 &&\n getLeadFinderOneTimePlansResponse.find(\n (plan) => plan.isBestValue === 1,\n )) ||\n null,\n );\n },\n });\n }, [getLeadFinderOneTimePlansRequestStatus]);\n\n const creditsToUse = () => {\n if (evCreditPlans?.length > 0) {\n return evCreditPlans;\n }\n if (type === 'email-verification') {\n return getEmailVerificationPlanResponse;\n }\n return getLeadFinderOneTimePlansResponse;\n };\n\n return (\n \n \n \n \n {t('labels.purchase_credits')}\n \n }\n className=\"purchase-credits-modal\"\n variant=\"border\"\n showCloseButton\n onHide={onClose}\n hideFooter\n >\n
    \n onSelectPlan(plan)}\n selectedPlan={selectedPlan}\n remainingCredit={remainingCredit}\n isPlansLoading={\n (type === 'email-verification' &&\n getIsRequestPending(getEmailVerificationPlanRequestStatus)) ||\n (type === 'lead-finder' &&\n getIsRequestPending(getLeadFinderOneTimePlansRequestStatus))\n }\n />\n\n {hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ) && (\n \n )}\n
    \n\n
    \n

    \n {selectedPlan ? `$${selectedPlan?.amount}` : ''}\n

    \n\n {!hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ) && (\n \n )}\n {hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ) &&\n type === 'lead-finder' &&\n selectedPlan?.amount > 1000 && (\n \n Talk to Sales\n \n )}\n {hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ) &&\n (type !== 'lead-finder' || selectedPlan?.amount <= 1000) && (\n \n handlePayNowAnalyticsEvent()}\n isLoading={isPurchaseEmailVerificationCreditsLoading}\n disabled={\n (type === 'email-verification' &&\n getIsRequestPending(\n getEmailVerificationPlanRequestStatus,\n )) ||\n (type === 'lead-finder' &&\n getIsRequestPending(\n getLeadFinderOneTimePlansRequestStatus,\n )) ||\n !selectedPlan ||\n isPurchaseEmailVerificationCreditsLoading ||\n !isChecked\n }\n className=\"buy-now-btn\"\n loadingText=\"Buying...\"\n >\n {t('labels.buy_now')}\n \n \n )}\n
    \n \n );\n};\n\nexport default PurchaseCreditsModal;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../../../store/root-reducer';\nimport { getEmailVerificationPlanRequest, getLeadFinderOneTimePlansRequest } from '../../extra-actions';\n\nimport PurchaseCreditsModal from './purchase-credits-modal';\nimport { GetEmailVerificationPlanResponse } from '../../types';\n\nconst mapStateToProps = (state: RootState) => ({\n getEmailVerificationPlanRequestStatus:\n state.billingAndSubscription.getEmailVerificationPlanRequest.status,\n getEmailVerificationPlanResponse:\n state.billingAndSubscription.getEmailVerificationPlanResponse,\n getLeadFinderOneTimePlansRequestStatus:\n state.billingAndSubscription.getLeadFinderOneTimePlansRequest.status,\n getLeadFinderOneTimePlansResponse:\n state.billingAndSubscription.getLeadFinderOneTimePlansResponse,\n});\n\nconst mapDispatchToProps = {\n sendGetEmailVerificationPlanRequest: () => getEmailVerificationPlanRequest(),\n sendGetLeadFinderOneTimePlansRequest: () =>\n getLeadFinderOneTimePlansRequest(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n show?: boolean;\n evCreditPlans?: GetEmailVerificationPlanResponse[];\n onClose: () => void;\n onBuyCredits: (stripeCardToken: string, planId: number) => void;\n isPurchaseEmailVerificationCreditsLoading?: boolean;\n remainingCredit?: number;\n sequenceName?: string;\n currentPlan: string;\n type: 'email-verification' | 'lead-finder';\n openTalkToSalesChat?: () => void;\n};\nexport default connector(PurchaseCreditsModal);\n","export type SentEmailAttachment = {\n id: number;\n name: string;\n type: string;\n size: string;\n};\n\nexport type FailedEmailAttachment = {\n id: number;\n name: string;\n type: AttachmentFailedType;\n mimeType: string;\n size: string;\n};\n\nexport enum AttachmentFailedType {\n FileSizeExceed = '1',\n FileFormatNotSupported = '2',\n InvalidFile = '3',\n}\n\nexport enum AttachmentFailedTypeReason {\n FileSizeExceed = 'files size is greater than 25MB',\n FileFormatNotSupported = 'files format not supported',\n InvalidFile = 'invalid files',\n}\n\nexport type SentEmailPreview = {\n senderName: string;\n fromEmail: string;\n to: string[];\n subject?: string;\n sentDate: string;\n preHeader?: string;\n content: string;\n attachments?: SentEmailAttachment[];\n failedAttachments?: FailedEmailAttachment[];\n cc?: string[];\n bcc?: string[];\n};\n\nexport type IProps = {\n show: boolean;\n onClose: VoidFunction;\n sentEmailPreview: SentEmailPreview;\n userTimezone: string;\n};\n","import { RequestStatus } from '../../../shared/enums/request-status';\nimport { showGeneralErrorNotification } from '../../../shared/utils/errors';\nimport hasResource from '../../../shared/utils/access-control/has-resource';\nimport { ResourceIdentifiers } from '../../../shared/utils/access-control/enums/resource-identifiers';\nimport { starterPlanRestriction } from '../../../shared/utils/plan-restriction';\nimport {\n AttachmentFailedType,\n AttachmentFailedTypeReason,\n FailedEmailAttachment,\n} from '../../../shared/components/email-preview-modal/type';\n\nexport const showGeneralErrorMessage = (requestError) => {\n if (requestError) {\n showGeneralErrorNotification(requestError.message);\n }\n};\n\nexport const getIsInitialRequestPending = ({\n initialFilters,\n filters,\n templates,\n isFilterDirty,\n getTemplatesRequestStatus,\n}): boolean =>\n JSON.stringify(initialFilters) === JSON.stringify(filters) &&\n templates === null &&\n !isFilterDirty.current &&\n (getTemplatesRequestStatus === RequestStatus.Pending ||\n getTemplatesRequestStatus === RequestStatus.Ideal);\n\nexport const getIsRequestPending = (status) => status === RequestStatus.Pending;\n\nexport const getIsRequestPendingForEmailComposeModal = ({\n createTemplateRequestStatus,\n updateTemplateRequestStatus,\n}) =>\n getIsRequestPending(createTemplateRequestStatus) ||\n getIsRequestPending(updateTemplateRequestStatus);\n\nexport const getIsDisabledForEmailComposeModal = ({\n filters,\n selectedTemplateId,\n}) => filters.shared && selectedTemplateId;\n\nexport const getShouldRemountTable = ({ payload, filters }) =>\n payload.shared !== undefined && payload.shared !== filters.shared;\n\nexport const onCreateTemplate = ({ onShowUpgradePlanModal, onAddTemplate }) => {\n if (starterPlanRestriction()) {\n onShowUpgradePlanModal();\n return;\n }\n\n if (hasResource(ResourceIdentifiers.TEMPLATES_CREATE)) {\n onAddTemplate();\n }\n};\n\nexport const getTotalAttachmentLabel = (attachments: any[]) => {\n if (!attachments?.length) {\n return [];\n }\n const label = attachments?.length === 1 ? 'file' : 'files';\n return [`${attachments?.length} ${label} attached`];\n};\n\nexport const getFailedAttachmentByType = (\n failedAttachments: FailedEmailAttachment[],\n): string[] => {\n if (!failedAttachments?.length) {\n return [];\n }\n\n const typeCounts: Record = {\n [AttachmentFailedType.FileSizeExceed]: 0,\n [AttachmentFailedType.FileFormatNotSupported]: 0,\n [AttachmentFailedType.InvalidFile]: 0,\n };\n\n const typeToReasonMap: Record = {\n [AttachmentFailedType.FileSizeExceed]:\n AttachmentFailedTypeReason.FileSizeExceed,\n [AttachmentFailedType.FileFormatNotSupported]:\n AttachmentFailedTypeReason.FileFormatNotSupported,\n [AttachmentFailedType.InvalidFile]: AttachmentFailedTypeReason.InvalidFile,\n };\n\n failedAttachments.forEach((attachment) => {\n if (typeCounts[attachment.type] !== undefined) {\n typeCounts[attachment.type as AttachmentFailedType]++;\n }\n });\n\n const result: string[] = Object.entries(typeCounts)\n .filter(([, count]) => count > 0)\n .map(([type, count]) => {\n const reason = typeToReasonMap[type as AttachmentFailedType];\n const fileWord = count === 1 ? 'file' : 'files';\n const dynamicReason = reason.replace('files', fileWord);\n\n return `${count} ${dynamicReason}`;\n });\n\n return result;\n};\n","import React from 'react';\nimport { Images } from '../../app-constants';\nimport ImageIcon from './image-icon';\n\nconst EmptyDataIcon1 = () => (\n \n);\n\nexport default EmptyDataIcon1;\n","import { Permissions } from './access-control/enums/permissions';\nimport hasPermission from './access-control/has-permission';\n\nexport const starterPlanRestriction = () =>\n !hasPermission(Permissions.SEQUENCE_WRITE) &&\n !hasPermission(Permissions.PROSPECT_WRITE) &&\n !hasPermission(Permissions.TEMPLATE_WRITE) &&\n !hasPermission(Permissions.API_TOKEN_WRITE);\n","import { CallPurpose, SequenceStepType, StepType } from '../../../../enums';\n\nexport enum LinkedInTaskType {\n ConnectionRequest = 'Connection Request',\n Message = 'Message',\n InMail = 'InMail',\n ViewProfile = 'View Profile',\n PostInteraction = 'Post Interaction',\n}\n\nexport enum PurposeOfCall {\n Introduction = 'Introduction',\n Demo = 'Demo',\n FollowUp = 'Follow-up',\n Reminder = 'Reminder',\n Other = 'Other',\n}\n\nexport const contentMaxLength = {\n [LinkedInTaskType.ConnectionRequest]: 300,\n [LinkedInTaskType.Message]: 8000,\n [LinkedInTaskType.InMail]: 1900,\n [LinkedInTaskType.ViewProfile]: 3000,\n [LinkedInTaskType.PostInteraction]: 3000,\n [StepType.Call]: 3000,\n [StepType.WhatsApp]: 4096,\n [StepType.Task]: 3000,\n};\n\nexport const subjectInputMaxLength = (stepType) =>\n stepType === StepType.Task ? 100 : 200;\n\nexport const isSubTypeSectionVisible = (stepType: StepType) =>\n stepType === StepType.LinkedIn || stepType === StepType.Call;\n\nexport const getStepSubType = (stepType: StepType) => {\n if (stepType === StepType.Call) {\n return PurposeOfCall;\n }\n\n return LinkedInTaskType;\n};\n\nexport const getCallPurposeValue = (value: number): string | undefined => {\n const keys = Object.keys(CallPurpose).filter(\n (key) => CallPurpose[key as keyof typeof CallPurpose] === value,\n );\n return keys.length > 0 ? keys[0] : undefined;\n};\n\nexport const getCallPurposeId = (purpose): number => {\n if (CallPurpose[purpose]) {\n return Number(CallPurpose[purpose]);\n }\n\n return CallPurpose.FollowUp;\n};\n\nexport const getCallPurposeTxt = (purposeId) => {\n const keys = Object.keys(CallPurpose).filter(\n (key) => (CallPurpose as any)[key] === purposeId,\n );\n\n if (keys[0] === 'FollowUp') {\n return 'Follow-up';\n }\n\n return keys.length > 0 ? keys[0] : undefined;\n};\n\nexport const getInitialSubType = (initialSubType: SequenceStepType) => {\n if (initialSubType === SequenceStepType.LinkedInConnectionRequest) {\n return LinkedInTaskType.ConnectionRequest;\n }\n if (initialSubType === SequenceStepType.LinkedInMessage) {\n return LinkedInTaskType.Message;\n }\n if (initialSubType === SequenceStepType.LinkedInInMail) {\n return LinkedInTaskType.InMail;\n }\n if (initialSubType === SequenceStepType.LinkedInPostInteraction) {\n return LinkedInTaskType.PostInteraction;\n }\n if (initialSubType === SequenceStepType.LinkedInViewProfile) {\n return LinkedInTaskType.ViewProfile;\n }\n\n return PurposeOfCall.Introduction;\n};\n\nexport const getSubTypeSectionLabel = (stepType: StepType) => {\n if (stepType === StepType.Call) {\n return 'Purpose of the Call';\n }\n\n return 'LinkedIn Task Type';\n};\n\nexport const getStepContentSectionLabel = (type: SequenceStepType) => {\n if (type === SequenceStepType.LinkedInConnectionRequest) {\n return 'LinkedIn Connection Note';\n }\n if (type === SequenceStepType.LinkedInMessage) {\n return 'LinkedIn Message';\n }\n if (type === SequenceStepType.LinkedInInMail) {\n return 'InMail Message';\n }\n if (type === SequenceStepType.Call) {\n return 'Call Task Note';\n }\n if (type === SequenceStepType.Whatsapp) {\n return 'WhatsApp Message';\n }\n\n return 'Task Note';\n};\n\nexport const getLinkedInType = (type: LinkedInTaskType) => {\n if (type === LinkedInTaskType.ConnectionRequest) {\n return SequenceStepType.LinkedInConnectionRequest;\n }\n if (type === LinkedInTaskType.Message) {\n return SequenceStepType.LinkedInMessage;\n }\n if (type === LinkedInTaskType.InMail) {\n return SequenceStepType.LinkedInInMail;\n }\n if (type === LinkedInTaskType.ViewProfile) {\n return SequenceStepType.LinkedInViewProfile;\n }\n\n return SequenceStepType.LinkedInPostInteraction;\n};\n\nexport const getStepType = (type: SequenceStepType) => {\n if (\n type === SequenceStepType.LinkedInConnectionRequest ||\n type === SequenceStepType.LinkedInMessage ||\n type === SequenceStepType.LinkedInInMail ||\n type === SequenceStepType.LinkedInViewProfile ||\n type === SequenceStepType.LinkedInPostInteraction\n ) {\n return StepType.LinkedIn;\n }\n if (type === SequenceStepType.Whatsapp) {\n return StepType.WhatsApp;\n }\n if (type === SequenceStepType.Call) {\n return StepType.Call;\n }\n if (type === SequenceStepType.Custom) {\n return StepType.Task;\n }\n\n return StepType.Email;\n};\n\nexport const getDaysAndStepsObj = (steps) => {\n let absoluteExecutionDay = 1;\n const resultObject = {};\n\n for (const item of steps) {\n absoluteExecutionDay += item.relativeDays;\n resultObject[absoluteExecutionDay] = item.number;\n }\n\n return resultObject;\n};\n\nexport const getSequenceTypeTooltipText = (type: SequenceStepType) => {\n if (type === SequenceStepType.LinkedInConnectionRequest) {\n return 'Personalized message to send with LinkedIn connection request for introduction and networking.';\n }\n if (type === SequenceStepType.LinkedInMessage) {\n return 'Personalized message you can send to the people in your network.';\n }\n if (type === SequenceStepType.LinkedInInMail) {\n return 'Write personalized InMail message';\n }\n\n if (type === SequenceStepType.Call) {\n return 'Add instructions/tips for task assignee to execute this task successfully.';\n }\n if (type === SequenceStepType.Whatsapp) {\n return 'Personalized whatsapp message.';\n }\n\n return 'Add instructions/tips for task assignee to execute this task successfully.';\n};\n\nexport const isFormValid = (errors) =>\n !Object.keys(errors).some((k) => errors[k]);\n\nexport const isSubmitDisabled = (type, values) => {\n if (type === SequenceStepType.LinkedInMessage) {\n return values?.content.length < 2;\n }\n if (type === SequenceStepType.LinkedInInMail) {\n return values?.content.length < 2 || values?.subject?.length < 2;\n }\n\n return false;\n};\n\nexport const getErrorString = (isError, value, maxLength, minLength = 2) => {\n if (!isError) {\n return '';\n }\n\n if (value?.trim()?.length === 0) {\n return 'Please enter a valid input. Blank spaces are not allowed.';\n }\n\n if (value.length < minLength) {\n return `Mandatory Field: At least ${minLength} characters needed`;\n }\n\n return `Character limit exceeds ${maxLength}`;\n};\n\nexport const getStepInitialTaskNote = (steps, actionStep) => {\n const currentStep = steps.filter((step) => step.id === actionStep?.id);\n\n if (currentStep?.length) {\n const [{ variants }] = currentStep;\n const [{ taskNote }] = variants;\n\n return taskNote;\n }\n\n return '';\n};\n\nexport const getIsAnyFieldDirty = (obj) =>\n Object.values(obj).some((value) => value === true);\n\nexport const getConfirmationModalContent = () => [\n {\n id: 1,\n text: 'confirmation_modal_content_2',\n },\n];\n\nexport const getMinLength = (stepType, selectedStepType) => {\n if (\n selectedStepType === SequenceStepType.LinkedInConnectionRequest ||\n stepType === StepType.Task ||\n stepType === StepType.Call\n ) {\n return 0;\n }\n\n return 2;\n};\n\nexport const getPlaceHolderText = (selectedStepSubType, stepType) => {\n if (\n selectedStepSubType === LinkedInTaskType.Message ||\n selectedStepSubType === LinkedInTaskType.InMail\n ) {\n return 'Add a concise purpose to your connection.';\n }\n if (\n selectedStepSubType === LinkedInTaskType.ViewProfile ||\n selectedStepSubType === LinkedInTaskType.PostInteraction\n ) {\n return 'Give details to a person who will perform this task, so as not to forget anything.';\n }\n\n if (stepType === StepType.Call || stepType === StepType.Task) {\n return 'Give details to a person who will perform this task, so as not to forget anything.';\n }\n\n return 'Briefly explain your reason for connecting.';\n};\n\nexport const getIsExpandOptionVisible = (stepType, selectedStepSubType) => {\n if (\n stepType === StepType.Task ||\n selectedStepSubType === SequenceStepType.LinkedInInMail\n ) {\n return true;\n }\n\n return false;\n};\n\nexport const getContentAreaSize = (stepType, selectedStepSubType) => {\n if (selectedStepSubType === SequenceStepType.LinkedInInMail) {\n return 'sm';\n }\n if (\n stepType === StepType.Call ||\n selectedStepSubType === SequenceStepType.LinkedInPostInteraction ||\n selectedStepSubType === SequenceStepType.LinkedInViewProfile\n ) {\n return 'md';\n }\n if (stepType === StepType.Task) {\n return 'lg';\n }\n\n return 'xm';\n};\n\nexport const getIsTaskNoteContent = (selectedStepType) => {\n if (\n selectedStepType === SequenceStepType.LinkedInPostInteraction ||\n selectedStepType === SequenceStepType.LinkedInViewProfile ||\n selectedStepType === SequenceStepType.Call ||\n selectedStepType === SequenceStepType.Custom\n ) {\n return true;\n }\n\n return false;\n};\n\nexport const getTaskNoteModalTitle = (selectedStepType) => {\n if (selectedStepType === SequenceStepType.LinkedInInMail) {\n return 'InMail Message';\n }\n\n return 'Task Note';\n};\n\nexport const getTaskNoteModalMaxLength = (selectedStepType) => {\n if (selectedStepType === SequenceStepType.LinkedInInMail) {\n return 1900;\n }\n\n return 3000;\n};\n","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../shared/enums/request-status';\nimport { ResponseErrorWithHandled } from '../../shared/types';\nimport {\n cloneTemplateRequest,\n createTemplateRequest,\n deleteTemplateRequest,\n getTemplatesRequest,\n shareTemplateRequest,\n updateTemplateRequest,\n} from './extra-actions';\nimport { Template, TemplateMeta } from './types/templates';\n\ntype RequestState = {\n status: RequestStatus;\n message: string;\n error: ResponseErrorWithHandled;\n};\n\ntype State = {\n getTemplateRequest: RequestState;\n createTemplateRequest: RequestState;\n updateTemplateRequest: RequestState;\n deleteTemplateRequest: RequestState;\n cloneTemplateRequest: RequestState;\n shareTemplateRequest: RequestState;\n templateList: Template[];\n paginationMeta: TemplateMeta;\n};\n\nconst initialState: State = {\n getTemplateRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n cloneTemplateRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n createTemplateRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateTemplateRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n deleteTemplateRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n shareTemplateRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n templateList: null,\n paginationMeta: null,\n};\n\nconst templateSlice = createSlice({\n name: 'templates',\n initialState: initialState,\n reducers: {\n resetTemplates: (state) => {\n state.cloneTemplateRequest = initialState.cloneTemplateRequest;\n state.createTemplateRequest = initialState.createTemplateRequest;\n state.deleteTemplateRequest = initialState.deleteTemplateRequest;\n state.getTemplateRequest = initialState.getTemplateRequest;\n state.shareTemplateRequest = initialState.shareTemplateRequest;\n state.paginationMeta = initialState.paginationMeta;\n state.templateList = initialState.templateList;\n state.updateTemplateRequest = initialState.updateTemplateRequest;\n },\n },\n extraReducers: (builder) => {\n // Get template list\n builder.addCase(getTemplatesRequest.pending, (state) => {\n state.getTemplateRequest.status = RequestStatus.Pending;\n state.getTemplateRequest.error = null;\n state.getTemplateRequest.message = null;\n });\n builder.addCase(getTemplatesRequest.fulfilled, (state, action) => {\n state.getTemplateRequest.status = RequestStatus.Succeeded;\n state.templateList = action.payload.payload.items;\n state.paginationMeta = action.payload.payload.meta;\n });\n builder.addCase(getTemplatesRequest.rejected, (state, action) => {\n state.getTemplateRequest.status = RequestStatus.Failed;\n state.getTemplateRequest.message = action.payload.message;\n state.getTemplateRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Create template\n builder.addCase(createTemplateRequest.pending, (state) => {\n state.createTemplateRequest.status = RequestStatus.Pending;\n state.createTemplateRequest.error = null;\n state.createTemplateRequest.message = null;\n });\n builder.addCase(createTemplateRequest.fulfilled, (state, action) => {\n state.createTemplateRequest.status = RequestStatus.Succeeded;\n state.createTemplateRequest.message = action.payload.message;\n });\n builder.addCase(createTemplateRequest.rejected, (state, action) => {\n state.createTemplateRequest.status = RequestStatus.Failed;\n state.createTemplateRequest.message = action.payload.message;\n state.createTemplateRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Update template\n builder.addCase(updateTemplateRequest.pending, (state) => {\n state.updateTemplateRequest.status = RequestStatus.Pending;\n state.updateTemplateRequest.error = null;\n state.updateTemplateRequest.message = null;\n });\n builder.addCase(updateTemplateRequest.fulfilled, (state, action) => {\n state.updateTemplateRequest.status = RequestStatus.Succeeded;\n state.updateTemplateRequest.message = action.payload.message;\n });\n builder.addCase(updateTemplateRequest.rejected, (state, action) => {\n state.updateTemplateRequest.status = RequestStatus.Failed;\n state.updateTemplateRequest.message = action.payload.message;\n state.updateTemplateRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Delete Template\n builder.addCase(deleteTemplateRequest.pending, (state) => {\n state.deleteTemplateRequest.status = RequestStatus.Pending;\n state.deleteTemplateRequest.error = null;\n state.deleteTemplateRequest.message = null;\n });\n builder.addCase(deleteTemplateRequest.fulfilled, (state, action) => {\n state.deleteTemplateRequest.status = RequestStatus.Succeeded;\n state.deleteTemplateRequest.message = action.payload.message;\n });\n builder.addCase(deleteTemplateRequest.rejected, (state, action) => {\n state.deleteTemplateRequest.status = RequestStatus.Failed;\n state.deleteTemplateRequest.message = action.payload.message;\n state.deleteTemplateRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Clone Template\n builder.addCase(cloneTemplateRequest.pending, (state) => {\n state.cloneTemplateRequest.status = RequestStatus.Pending;\n state.cloneTemplateRequest.error = null;\n state.cloneTemplateRequest.message = null;\n });\n builder.addCase(cloneTemplateRequest.fulfilled, (state, action) => {\n state.cloneTemplateRequest.status = RequestStatus.Succeeded;\n state.cloneTemplateRequest.message = action.payload.message;\n });\n builder.addCase(cloneTemplateRequest.rejected, (state, action) => {\n state.cloneTemplateRequest.status = RequestStatus.Failed;\n state.cloneTemplateRequest.message = action.payload.message;\n state.cloneTemplateRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Share Template\n builder.addCase(shareTemplateRequest.pending, (state) => {\n state.shareTemplateRequest.status = RequestStatus.Pending;\n state.shareTemplateRequest.error = null;\n state.shareTemplateRequest.message = null;\n });\n builder.addCase(shareTemplateRequest.fulfilled, (state, action) => {\n state.shareTemplateRequest.status = RequestStatus.Succeeded;\n state.shareTemplateRequest.message = action.payload.message;\n });\n builder.addCase(shareTemplateRequest.rejected, (state, action) => {\n state.shareTemplateRequest.status = RequestStatus.Failed;\n state.shareTemplateRequest.message = action.payload.message;\n state.shareTemplateRequest.error =\n !action.payload.isHandled && action.payload;\n });\n },\n});\n\nexport const { resetTemplates } = templateSlice.actions;\n\nexport default templateSlice.reducer;\n","import React from 'react';\nimport { ForwardRef } from '../../../types/forward-ref';\n\nenum StrokeLinecap {\n Butt = 'butt',\n Round = 'round',\n Square = 'square',\n Inherit = 'inherit',\n}\n\ntype CircularProgressBarProps = {\n percentage: number;\n strokeWidth?: number;\n strokeLinecap?: StrokeLinecap;\n\n pathColor?: string;\n trailColor?: string;\n\n width?: string | number;\n height?: string | number;\n\n text: string;\n textColor?: string;\n textFontSize?: string;\n textFontWeight?: string;\n};\n\ntype CircularProgressBarStatic = {\n StrokeLinecap: typeof StrokeLinecap;\n};\n\nconst CircularProgressBar = React.forwardRef<\n SVGElement,\n CircularProgressBarProps\n>(\n ({\n percentage = 0,\n strokeWidth = 0,\n strokeLinecap,\n pathColor,\n trailColor,\n width = 0,\n height = 0,\n text,\n textColor,\n textFontSize,\n textFontWeight,\n }) => {\n const radius = 50 - strokeWidth / 2;\n const pathDescription = `\n M 50,50 m 0,-${radius}\n a ${radius},${radius} 0 1 1 0,${2 * radius}\n a ${radius},${radius} 0 1 1 0,-${2 * radius}\n `;\n\n const diameter = Math.PI * 2 * radius;\n const progressStyle = {\n stroke: pathColor,\n strokeLinecap,\n strokeDasharray: `${diameter}px ${diameter}px`,\n strokeDashoffset: `${((100 - percentage) / 100) * diameter}px`,\n transition: 'stroke-dashoffset 0.5s ease-in-out',\n };\n\n return (\n \n \n\n \n\n \n {text}\n \n \n );\n },\n) as ForwardRef &\n CircularProgressBarStatic;\n\nCircularProgressBar.displayName = 'CircularProgressBar';\n\nCircularProgressBar.StrokeLinecap = StrokeLinecap;\n\nCircularProgressBar.defaultProps = {\n strokeWidth: 8,\n strokeLinecap: StrokeLinecap.Round,\n pathColor: '#0137fc',\n trailColor: '#d6d6d6',\n width: 100,\n height: 100,\n textColor: '#0137fc',\n textFontSize: '18px',\n};\n\nexport default CircularProgressBar;\n","import React, { useMemo } from 'react';\nimport { OverlayTooltip, Placement } from '../../overlay';\nimport Icon from '../icon';\nimport './filter-tab.scss';\n\ntype IProps = {\n name: string;\n filters: any[];\n className?: string;\n itemId: number;\n onCancel: VoidFunction;\n /**\n * To Separate grouped filters\n * Example: filters = [{name: 'Active}, {name: 'Clicked}] then They will be display in a line separating\n * by a separator like if separator is ' - ' -> [Active - Clicked]\n */\n separator: string;\n tooltipOptions?: {\n className?: string;\n placement?: Placement;\n };\n};\n\nconst FilterTab: React.FC = ({\n name,\n filters,\n className = '',\n onCancel,\n separator,\n tooltipOptions,\n}) => {\n const groupedFilters = useMemo(\n () => (\n \n
    {filters.join(separator)}
    \n \n ),\n [filters],\n );\n\n return (\n !!filters.length && (\n
    \n
    \n {name}: \n
    \n {groupedFilters}\n
    \n \n \n \n
    \n
    \n )\n );\n};\n\nexport default FilterTab;\n","import React from 'react';\nimport { Images } from '../../app-constants';\nimport ImageIcon from './image-icon';\n\nconst SHBackward = () => (\n \n);\n\nexport default SHBackward;\n","import React from 'react';\nimport { Images } from '../../app-constants';\nimport ImageIcon from './image-icon';\n\nconst SHForward = () => (\n \n);\n\nexport default SHForward;\n","import classNames from 'classnames';\nimport React from 'react';\nimport { VisibilityContext } from 'react-horizontal-scrolling-menu';\nimport SHBackward from '../../../../components/images/sh-backward';\nimport SHForward from '../../../../components/images/sh-forward';\nimport './arrow.scss';\n\nconst Arrow = ({ children, onClick, className }) => {\n return (\n
    \n {children}\n
    \n );\n};\n\nexport const RightArrow = () => {\n const {\n getNextItem,\n isLastItemVisible,\n scrollToItem,\n visibleItemsWithoutSeparators,\n } = React.useContext(VisibilityContext);\n\n const [disabled, setDisabled] = React.useState(\n !visibleItemsWithoutSeparators.length && isLastItemVisible,\n );\n React.useEffect(() => {\n if (visibleItemsWithoutSeparators.length) {\n setDisabled(isLastItemVisible);\n }\n }, [isLastItemVisible, visibleItemsWithoutSeparators]);\n\n const clickHandler = () => {\n const nextItem = getNextItem();\n scrollToItem(nextItem?.entry?.target, 'smooth', 'end');\n };\n\n return (\n !disabled && (\n \n \n \n )\n );\n};\n\nexport const LeftArrow = () => {\n const {\n getPrevItem,\n isFirstItemVisible,\n scrollToItem,\n visibleItemsWithoutSeparators,\n initComplete,\n } = React.useContext(VisibilityContext);\n\n const [disabled, setDisabled] = React.useState(\n !initComplete || (initComplete && isFirstItemVisible),\n );\n React.useEffect(() => {\n if (visibleItemsWithoutSeparators.length) {\n setDisabled(isFirstItemVisible);\n }\n }, [isFirstItemVisible, visibleItemsWithoutSeparators]);\n\n const clickHandler = () => {\n const prevItem = getPrevItem();\n scrollToItem(prevItem?.entry?.target, 'smooth', 'start');\n };\n\n return (\n !disabled && (\n \n \n \n )\n );\n};\n","import React from 'react';\nimport { ScrollMenu } from 'react-horizontal-scrolling-menu';\nimport { LeftArrow, RightArrow } from './arrow';\nimport './horizontal-menu.scss';\n\ntype ChildType = React.ReactElement<{\n /**\n Required. id for every item, should be unique\n */\n itemId: string;\n}>;\n\ntype IProps = {\n children: ChildType | ChildType[];\n};\n\nconst HorizontalMenu: React.FC = ({ children }) => (\n
    \n \n {children}\n \n
    \n);\n\nexport default HorizontalMenu;\n","import React, { memo, useCallback } from 'react';\nimport { SkeletonLoading } from '@saleshandy/design-system';\nimport { map } from 'lodash';\nimport FilterTab from '../../../../../../../shared/design-system/components/atoms/filter-tab';\nimport HorizontalMenu from '../../../../../../../shared/design-system/components/atoms/horizontal-menu';\nimport { filterToProperties } from '../../../../../helpers/prospect-filters-resolver';\nimport { Filters } from '../../../../../../../shared/types/prospects-filters';\nimport { IProps } from './types';\nimport { constants } from '../../../../../../../shared/enums/constants';\nimport { emailFilterToProperties } from '../../../../../../sequence/components/sequence-single-content/components/sequence-single-emails/helper/sequence-emails-filters-resolver';\n\n/**\n * Renders all the applied Filters.\n * If the applied filters exceeds the view port then they are horizontally scrollable.\n */\nconst ProspectsFilterBar: React.FC = ({\n prospectsFilters,\n resetProspectsFilters,\n getProspectsCount,\n getProspects,\n handleClearSelection,\n isLoading,\n isSequenceEmailsFilter = false,\n search,\n appliedFiltersCount,\n tooltipOptions,\n}) => {\n let isEmpty = true;\n const filterToPropertiesTemp = isSequenceEmailsFilter\n ? emailFilterToProperties\n : filterToProperties;\n Object.keys(prospectsFilters)?.forEach((obj) => {\n if (prospectsFilters[obj]?.length > 0) {\n isEmpty = false;\n }\n });\n\n const onCancel = useCallback(\n (filter: Filters) => {\n resetProspectsFilters(filter);\n getProspects?.({\n pageNum: 0,\n pageSize: constants.PROSPECT_PAGE_SIZE,\n search,\n });\n getProspectsCount?.({ search });\n handleClearSelection && handleClearSelection();\n },\n [resetProspectsFilters, getProspectsCount, getProspects],\n );\n\n if (isEmpty) {\n return null;\n }\n\n if (isLoading) {\n const widthForLoaders = [160, 130, 170, 140, 120, 150];\n return (\n
    \n {Array.from({ length: appliedFiltersCount || 4 }).map((_, index) => (\n \n ))}\n
    \n );\n }\n\n return (\n \n {Object.keys(prospectsFilters)?.map((key, idx) => (\n !item?.isHeaderFilter)\n : prospectsFilters[key],\n filterToPropertiesTemp[key]?.displayNameKey,\n )}\n name={\n isSequenceEmailsFilter\n ? emailFilterToProperties[key]?.displayLabel\n : key\n }\n key={prospectsFilters[key]}\n itemId={idx}\n onCancel={() => onCancel(key as Filters)}\n separator={filterToPropertiesTemp[key]?.separator}\n tooltipOptions={tooltipOptions}\n />\n ))}\n \n );\n};\n\nexport default memo(ProspectsFilterBar);\n","/* eslint-disable @typescript-eslint/no-use-before-define */\n/* eslint-disable @typescript-eslint/no-shadow */\nimport React, { useState, useEffect, useMemo, useRef } from 'react';\nimport { useSelector } from 'react-redux';\nimport Autosuggest from 'react-autosuggest';\nimport { withTranslation } from 'react-i18next';\nimport { differenceBy, find, remove } from 'lodash';\nimport { CirclePlus } from '@saleshandy/icons';\nimport ProspectTagWithCancel from '../../atoms/prospect-tag/with-cancel';\nimport '../tag-autosuggest/tag-autosuggest.scss';\nimport { RootState } from '../../../../../store/root-reducer';\nimport { executeOnRequestStatus } from '../../../../utils';\n\n// Render the selected tags inline or in block mode.\nexport enum RenderMode {\n Inline = 'Inline',\n Block = 'Block',\n}\n\nexport interface ContainerProps {\n style: React.CSSProperties;\n}\n\n/**\n * Styles for the react-autosuggest \n * https://www.npmjs.com/package/react-autosuggest#theme-prop\n */\nexport interface Styles {\n suggestionsList?: React.CSSProperties;\n suggestionsContainer?: React.CSSProperties;\n suggestionsContainerOpen?: React.CSSProperties;\n suggestionHighlighted?: React.CSSProperties;\n}\n\nconst extractTagsFromProspects = (prospects) => {\n const tagsToProspects = {};\n const prospectsTags = [];\n\n prospects.forEach((prospect) => {\n const { tags } = prospect;\n if (tags && tags.length) {\n tags.forEach((tag) => {\n const { id } = tag;\n if (tagsToProspects[id]) {\n tagsToProspects[id].push(prospect.id);\n } else {\n tagsToProspects[id] = [prospect.id];\n prospectsTags.push(tag);\n }\n });\n }\n });\n\n return prospectsTags;\n};\n\nconst defaultTheme: Styles = {\n suggestionsList: {\n margin: 0,\n padding: 0,\n listStyleType: 'none',\n },\n suggestionsContainer: {\n position: 'absolute',\n zIndex: 99999,\n left: '1.5rem',\n right: '1.5rem',\n },\n suggestionsContainerOpen: {\n display: 'block',\n border: '2px solid green',\n borderRadius: '4px',\n fontFamily: 'Inter',\n fontStyle: 'normal',\n fontWeight: 'normal',\n fontSize: '14px',\n lineHeight: '20px',\n marginTop: '10px',\n height: '11.45rem',\n overflow: 'auto',\n zIndex: 2,\n backgroundColor: 'white',\n },\n suggestionHighlighted: {\n backgroundColor: '#EFF6FF',\n },\n};\n\ntype IProps = {\n selectedProspects?: any[];\n /**\n * Tags to display as suggestions.\n */\n tags: any[];\n /**\n * Tags which are needed to be removed.\n */\n tagsToRemove?: number[];\n /**\n * Tags which are tp be added to the prospects.\n */\n tagsToAdd: any[];\n setTagsToRemove?: (tags: any[]) => void;\n setTagsToAdd: (tags: any[]) => void;\n t: (x: string) => React.ReactNode;\n /**\n * Mode for rendering the selected tags\n */\n renderMode?: RenderMode;\n containerProps?: ContainerProps;\n styles?: Styles;\n\n showAddedTags?: boolean;\n showCreateSuggestion?: boolean;\n defaultSuggestionOpened?: boolean;\n restrictExistingOnly?: boolean;\n maxLimit?: number | null;\n limitExceededRef: React.MutableRefObject;\n};\n\nconst TagAutoSuggest2: React.FC = ({\n renderMode = RenderMode.Block,\n tags,\n selectedProspects = [],\n tagsToRemove = [],\n tagsToAdd,\n setTagsToAdd,\n setTagsToRemove,\n containerProps = {\n style: {},\n },\n t,\n styles = {\n suggestionsList: {\n height: '11rem',\n },\n },\n\n showAddedTags = false,\n showCreateSuggestion = false,\n defaultSuggestionOpened = false,\n restrictExistingOnly = false,\n maxLimit = null,\n limitExceededRef,\n}) => {\n const inputRef = useRef(null);\n const containerRef = useRef(null);\n\n const getTagListRequestStatus = useSelector(\n (state: RootState) => state.emailAccount.getEmailAccountTagsRequest.status,\n );\n\n const theme = useMemo(\n () => ({\n suggestionsList: {\n ...defaultTheme.suggestionsList,\n ...styles.suggestionsList,\n },\n suggestionsContainer: {\n ...defaultTheme.suggestionsContainer,\n ...styles.suggestionsContainer,\n },\n suggestionsContainerOpen: {\n ...defaultTheme.suggestionsContainerOpen,\n ...styles.suggestionsContainerOpen,\n },\n suggestionHighlighted: {\n ...defaultTheme.suggestionHighlighted,\n ...styles.suggestionHighlighted,\n },\n }),\n [],\n );\n\n const [inputValue, setInputValue] = useState('');\n\n // Suggestions to display in autosuggest.\n const [suggestions, setSuggestions] = useState([]);\n\n // Tags which are already added/assigned/linked to the selected prospects.\n const [alreadyAddedTags, setAlreadyAddedTags] = useState([]);\n\n // Show Add Remove Tag Warning For Bulk Actions.\n const [showAddRemoveWarning, setShowAddRemoveWarning] = useState(\n false,\n );\n\n const [forceSuggestions, setForceSuggestions] = useState(false);\n\n // Add Remove Tag Mode\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const [isAddingMode, setIsAddingMode] = useState(false);\n\n const [\n addRemoveTagWarningText,\n setAddRemoveTagWarningText,\n ] = useState('');\n\n const updateLimitState = (currentCount: number, maxLimit: number | null) => {\n if (maxLimit !== null && currentCount > maxLimit) {\n limitExceededRef.current = true;\n setAddRemoveTagWarningText(\n `You can ${\n showCreateSuggestion ? 'add' : 'remove'\n } a maximum of ${maxLimit} tags.`,\n );\n setShowAddRemoveWarning(true);\n } else {\n limitExceededRef.current = false;\n setShowAddRemoveWarning(false);\n }\n };\n\n useEffect(() => {\n // Extracting tags which are already added/assigned/linked to selected prospects\n if (showAddedTags) {\n setAlreadyAddedTags(extractTagsFromProspects(selectedProspects));\n }\n\n // Refocus the input to keep suggestions open\n setTimeout(() => {\n if (inputRef.current) {\n inputRef.current.focus();\n }\n setSuggestions(getSuggestions(''));\n }, 1);\n }, []);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getTagListRequestStatus,\n onSuccess: () => {\n // Refocus the input to keep suggestions open\n setTimeout(() => {\n if (inputRef.current) {\n inputRef.current.focus();\n }\n setSuggestions(getSuggestions(inputValue));\n }, 1);\n },\n });\n }, [getTagListRequestStatus]);\n\n // useEffect(() => {\n // if (isAddingMode) {\n // // Refocus the input to keep suggestions open\n // setTimeout(() => {\n // if (inputRef.current) {\n // inputRef.current.focus();\n // }\n // setSuggestions(getSuggestions(inputValue));\n // }, 1);\n // }\n // }, [tagsToAdd, inputValue]);\n\n useEffect(() => {\n if (defaultSuggestionOpened) {\n setSuggestions(getSuggestions(''));\n }\n }, [defaultSuggestionOpened, tags]);\n\n useEffect(() => {\n if (containerRef.current) {\n containerRef.current.scrollTop = containerRef.current.scrollHeight;\n }\n }, [tagsToAdd]);\n\n const hideAutoSuggestBorder = () => {\n theme.suggestionsContainerOpen.border = 'none';\n };\n\n const showAutoSuggestBorder = () => {\n theme.suggestionsContainerOpen.border = '1px solid #D1D5DB';\n };\n\n /**\n * Returns the valid list of suggestions to display.\n * How the validate which suggestions to display?\n * 1. The suggestion should include the input text.\n * 1. Its not already selected.\n * 2. If the exact match is not found then its a new tag.\n * 3. If no match is found then its a new tag\n * @param inputValue String: Input text\n */\n const getSuggestions = (inputValue: string) => {\n // Exact match found for the input value and a suggestion\n let exactMatch = false;\n\n // Filtering already selected tags\n const selectableSuggestions = differenceBy(\n [...tags],\n tagsToAdd.concat(alreadyAddedTags),\n 'name',\n );\n\n const suggestions = selectableSuggestions.filter((tag) => {\n if (tag.name === inputValue) {\n exactMatch = true;\n }\n return tag.name.toLowerCase().includes(inputValue?.toLowerCase());\n });\n\n if (inputValue.length >= 3 && !suggestions.length) {\n /**\n * No Suggestions are found for this input value.\n * So user should be able to create a tag for this value.\n * Hiding the border because of design constraint :(\n */\n hideAutoSuggestBorder();\n return [\n {\n name: inputValue,\n isNew: true,\n },\n ];\n }\n\n showAutoSuggestBorder();\n\n if (inputValue.length >= 3 && !exactMatch) {\n suggestions.push({\n name: inputValue,\n isNew: true,\n });\n }\n\n return suggestions;\n };\n\n const getSuggestionValue = (suggestion) => suggestion.name;\n\n const onSuggestionSelected = (e: Event, { suggestion }) => {\n setIsAddingMode(true);\n\n if (!suggestion.name.trim() || suggestion.name.trim().length < 3) {\n e.preventDefault();\n setAddRemoveTagWarningText('Tag must be at least 3 characters long.');\n setShowAddRemoveWarning(true);\n return;\n }\n\n const existingTag = tags.find(\n (t) => t.name.trim() === suggestion.name.trim(),\n );\n const suggestionRef: any = {\n isNew: existingTag ? false : suggestion.isNew,\n name: suggestion.name.trim(),\n };\n\n if (existingTag) {\n suggestionRef.id = existingTag?.id ?? undefined;\n }\n\n if (suggestion.name.trim().length >= 64) {\n e.preventDefault();\n return;\n }\n\n if (restrictExistingOnly && !existingTag) {\n setAddRemoveTagWarningText('Tag does not exist');\n setShowAddRemoveWarning(true);\n e.preventDefault();\n return;\n }\n\n if (\n !tagsToAdd\n .concat(alreadyAddedTags)\n .filter((s) => s.name === suggestionRef.name).length\n ) {\n const updatedTags = [...tagsToAdd, suggestionRef];\n\n updateLimitState(updatedTags.length, maxLimit);\n setTagsToAdd(updatedTags);\n setInputValue('');\n }\n };\n\n const onSuggestionsFetchRequest = ({ value }) => {\n setSuggestions(getSuggestions(value.trim()));\n };\n\n const onChange = (event, { newValue }) => {\n if (newValue.length > 64 && !showAddedTags) {\n setAddRemoveTagWarningText(\n 'Tag name must not be greater than 64 characters.',\n );\n setShowAddRemoveWarning(true);\n return;\n }\n updateLimitState(tagsToAdd.length, maxLimit);\n setInputValue(newValue);\n setShowAddRemoveWarning(false);\n };\n\n const onKeyDown = (event) => {\n if (\n event.keyCode === 13 &&\n event.key.trim().toLowerCase() === 'enter' &&\n inputValue.trim().length >= 3\n ) {\n onSuggestionSelected(event, {\n suggestion: {\n name: inputValue,\n isNew: true,\n },\n });\n } else if (event.keyCode === 13 && inputValue.trim().length < 3) {\n setAddRemoveTagWarningText('Tag must be at least 3 characters long.');\n setShowAddRemoveWarning(true);\n }\n };\n\n const handleInputFocus = () => {\n setForceSuggestions(true); // Force suggestions to show on input focus\n setSuggestions(getSuggestions(inputValue));\n };\n\n const handleInputClick = () => {\n setForceSuggestions(true); // Ensure suggestions are shown on input click\n setSuggestions(getSuggestions(inputValue));\n };\n\n const renderSuggestion = (suggestion, showCreateSuggestion) => {\n if (suggestion.isNew) {\n // Suggest a new tag if it is in add tag mode\n if (showCreateSuggestion) {\n return (\n
    \n Add \"{inputValue}\"\n
    \n );\n }\n return null;\n }\n\n return
    {suggestion.name}
    ;\n };\n\n /**\n * Cancelling a tag can mean 2 things.\n * 1. It was a local tag -> it was not yet added to prospects.\n * 2. The tag was assigned to prospects. By cancelling here, we mean to remove this tag from the selected prospects\n */\n const cancelTag = (tag) => {\n setIsAddingMode(false);\n\n // this tag was already added to prospects;\n if (find(alreadyAddedTags, { id: tag.id })) {\n /**\n * This tag was already added to prospects.\n * So removing the tag from `alreadyAdded`.\n * And this tags needs to be removed from the selected prospects. So pushing it into the `tagsToRemove`\n */\n remove(alreadyAddedTags, { id: tag.id });\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n setTagsToRemove && setTagsToRemove([...tagsToRemove, tag.id]);\n setAlreadyAddedTags(alreadyAddedTags);\n } else {\n if (tag.isNew) {\n remove(tagsToAdd, { name: tag.name });\n } else {\n remove(tagsToAdd, { id: tag.id });\n }\n setTagsToAdd([...tagsToAdd]);\n updateLimitState(tagsToAdd.length, maxLimit);\n }\n };\n\n const renderSelectedTags = () =>\n alreadyAddedTags.concat(tagsToAdd).map((tag, idx) => (\n // eslint-disable-next-line react/no-array-index-key\n
    \n {\n cancelTag(tag);\n }}\n />\n
    \n ));\n\n const renderInputComponent = (inputProps) => {\n if (renderMode === RenderMode.Inline) {\n return (\n
    \n
    \n {renderSelectedTags()}\n
    \n
    \n \n
    \n
    \n
    \n
    \n );\n }\n return ;\n };\n\n const onSuggestionsClearRequested = () => {\n setSuggestions([]);\n };\n\n const inputProps = {\n placeholder: showAddedTags\n ? t('messages.tags_removeMode')\n : t('messages.tags_placeholder'),\n value: inputValue,\n onChange,\n onKeyDown,\n onFocus: handleInputFocus,\n onClick: handleInputClick, // Add onClick handler\n ref: inputRef,\n };\n\n return (\n
    \n \n renderSuggestion(suggestion, showCreateSuggestion)\n }\n inputProps={inputProps}\n renderInputComponent={renderInputComponent}\n theme={theme}\n onSuggestionSelected={onSuggestionSelected}\n onSuggestionsClearRequested={onSuggestionsClearRequested}\n // shouldRenderSuggestions={(value) => value.trim().length <= 64}\n shouldRenderSuggestions={(value) =>\n forceSuggestions || value.trim().length <= 64\n }\n containerProps={containerProps}\n />\n {showAddRemoveWarning && (\n \n {addRemoveTagWarningText}\n
    \n )}\n \n );\n};\n\nexport default withTranslation()(TagAutoSuggest2);\n","/* eslint-disable react/require-default-props */\n/* eslint-disable @typescript-eslint/no-unused-expressions */\nimport React, {\n useEffect,\n useState,\n useRef,\n forwardRef,\n useImperativeHandle,\n useCallback,\n useMemo,\n} from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { Tag } from '@saleshandy/icons';\nimport { Button } from 'react-bootstrap';\nimport Modal from '../../design-system/components/atoms/modal';\nimport SHTag from '../images/sh-tag';\nimport { RenderMode } from '../../design-system/components/molecules/tag-autosuggest/tag-autosuggest';\nimport { accessibleOnClick } from '../../utils/accessible-on-click';\nimport { OverlayTooltip } from '../../design-system/components/overlay';\nimport TagAutosuggest2 from '../../design-system/components/molecules/tag-autosuggest-2';\nimport { BulkSelectedEmailAccounts } from '../../../components/email-accounts/types/email-account';\n\ntype TagType = { id: number; name: string }; // Example Tag Type\n\ntype AddRemoveTagProps = {\n handleAddTag: (tags: TagType[]) => void;\n handleRemoveTag: (tags: TagType[]) => void;\n selectedRecords: any[];\n tags?: TagType[];\n disabled?: boolean;\n isShowOnlyTagIcon?: boolean;\n isSubmitLoading: boolean;\n isAddTagModal?: boolean;\n setShowModal: React.Dispatch>;\n showModal: boolean;\n bulkSelectedOptions?: BulkSelectedEmailAccounts;\n onValidate?: (callback: VoidFunction) => void;\n maxLimit?: number | null;\n tagIconHeight?: number;\n tagIconWidth?: number;\n};\n\nconst AddRemoveTag = forwardRef(\n (\n {\n handleAddTag,\n handleRemoveTag,\n disabled = false,\n selectedRecords,\n tags,\n isShowOnlyTagIcon = true,\n isSubmitLoading,\n isAddTagModal,\n setShowModal,\n showModal,\n bulkSelectedOptions = null,\n onValidate = null,\n maxLimit = null,\n tagIconHeight = 24,\n tagIconWidth = 24,\n }: AddRemoveTagProps,\n ref,\n ) => {\n const limitExceededRef = useRef(false);\n const { t } = useTranslation();\n\n const dropdownRef = useRef(null);\n const [showDropdown, setShowDropdown] = useState(false);\n const [modalTitle, setModalTitle] = useState('');\n const [tagsToAdd, setTagsToAdd] = useState([]);\n const [tagsToRemove, setTagsToRemove] = useState([]);\n const [isApplyButtonDisabled, setIsApplyButtonDisabled] = useState(true);\n\n const closeDropdown = () => setShowDropdown(false);\n const closeModal = () => {\n setTagsToAdd([]);\n setTagsToRemove([]);\n return setShowModal(false);\n };\n\n const isRemoveMode = modalTitle.toLowerCase() !== 'add tags';\n\n const toggleDropdown = () => {\n const toggle = () => setShowDropdown((prev) => !prev);\n if (!disabled) {\n if (onValidate) {\n onValidate(toggle);\n } else {\n toggle();\n }\n }\n };\n\n const openAddTagModal = () => {\n closeDropdown();\n setModalTitle('Add Tags');\n setShowModal(true);\n setTagsToAdd([]);\n setIsApplyButtonDisabled(true);\n };\n\n const openRemoveTagModal = () => {\n closeDropdown();\n setModalTitle('Remove Tags');\n setShowModal(true);\n setTagsToRemove([]);\n setIsApplyButtonDisabled(true);\n };\n\n useEffect(() => {\n const handleClickOutside = (event) => {\n if (\n dropdownRef.current &&\n !dropdownRef.current.contains(event.target)\n ) {\n closeDropdown();\n }\n };\n\n // Add event listener to detect clicks outside the dropdown\n document.addEventListener('mousedown', handleClickOutside);\n\n // Cleanup the event listener\n return () => {\n document.removeEventListener('mousedown', handleClickOutside);\n };\n }, []);\n\n useEffect(() => {\n const newTagValue = tagsToAdd.some((tag) => tag.name.length > 64);\n setIsApplyButtonDisabled(tagsToAdd.length === 0 || newTagValue);\n }, [tagsToAdd]);\n\n useEffect(() => {\n if (\n !showModal &&\n (tagsToAdd?.length !== 0 || tagsToRemove?.length !== 0)\n ) {\n setTagsToAdd([]);\n setTagsToRemove([]);\n }\n }, [showModal]);\n\n // Use useImperativeHandle to expose closeModal to the parent component\n useImperativeHandle(ref, () => ({\n closeModal,\n openAddTagModal,\n }));\n\n // Submit the modal form\n const handleSubmitModal = useCallback(() => {\n isRemoveMode ? handleRemoveTag(tagsToAdd) : handleAddTag(tagsToAdd);\n }, [isRemoveMode, handleAddTag, handleRemoveTag, tagsToAdd, tagsToRemove]);\n\n const generateModalTitleContent = useCallback(\n () => (\n
    \n \n
    {modalTitle}
    \n
    \n ),\n [modalTitle],\n );\n\n const removableTags = useMemo(() => {\n if (!tags) {\n return [];\n }\n if (\n bulkSelectedOptions &&\n bulkSelectedOptions.isAllEmailAccountsSelected\n ) {\n return tags;\n }\n\n if (!selectedRecords || selectedRecords.length === 0) {\n return [];\n }\n\n const selectedRecordTags = selectedRecords.flatMap(\n (record) => record.tags || [],\n );\n\n return tags.filter((tag) =>\n selectedRecordTags.some((recordTag) => recordTag.id === tag.id),\n );\n }, [tags, selectedRecords]);\n\n return (\n <>\n {!isAddTagModal && (\n
    \n \n {isShowOnlyTagIcon ? (\n \n \n
    \n ) : (\n
    \n \n \n Tags\n \n
    \n )}\n \n {showDropdown && !isAddTagModal && (\n
    \n
      \n \n
      \n
      \n

      Add Tags

      \n
      \n
      \n \n \n
      \n
      \n

      Remove Tags

      \n
      \n
      \n \n
    \n
    \n )}\n \n )}\n \n \n {\n setTagsToAdd(data);\n }}\n tagsToRemove={tagsToRemove}\n setTagsToRemove={setTagsToRemove}\n renderMode={RenderMode.Inline}\n showAddedTags={false}\n maxLimit={\n bulkSelectedOptions?.isAllEmailAccountsSelected\n ? maxLimit\n : null\n }\n limitExceededRef={limitExceededRef}\n />\n \n \n \n );\n },\n);\n\nexport default AddRemoveTag;\n","import React from 'react';\nimport classnames from 'classnames';\n\nimport { IProps, StatusBadgeVariant } from './types';\nimport Badge from '../../atoms/badge/badge';\n\nconst StatusBadge: React.FC = ({ label, variant }) => {\n const badgeClass = classnames([\n {\n 'badge-dot-success': variant === StatusBadgeVariant.SUCCESS,\n },\n {\n 'badge-dot-danger': variant === StatusBadgeVariant.DANGER,\n },\n {\n 'badge-dot-secondary': variant === StatusBadgeVariant.SECONDARY,\n },\n {\n 'badge-dot-orange': variant === StatusBadgeVariant.WARNING,\n },\n {\n 'badge-dot-green': variant === StatusBadgeVariant.LIGHT_GREEN,\n },\n {\n 'badge-dot-blue': variant === StatusBadgeVariant.BLUE,\n },\n ]);\n\n return (\n
    \n
    \n \n
    \n

    {label}

    \n
    \n );\n};\n\nexport default StatusBadge;\n","import { EmailInboxFilters } from '../../type';\n\nconst emailInboxFilterKey = 'email-inbox-filters';\nconst emailInboxMetaDetailsKey = 'email-inbox-meta-details';\n\nexport const setEmailInboxFiltersInLocalStore = (\n filters: EmailInboxFilters,\n) => {\n localStorage.setItem(emailInboxFilterKey, JSON.stringify(filters));\n};\n\nexport const getEmailInboxFiltersFromLocalStore = (): EmailInboxFilters =>\n JSON.parse(localStorage.getItem(emailInboxFilterKey));\n\nexport const removeEmailInboxFiltersFromLocalStore = (): void => {\n localStorage.removeItem(emailInboxFilterKey);\n};\n\nexport const getEmailInboxMetaDetailsFromLocalStore = () =>\n JSON.parse(localStorage.getItem(emailInboxMetaDetailsKey));\nexport const setEmailInboxMetaDetailsInLocalStore = (metaDetails: any) =>\n localStorage.setItem(emailInboxMetaDetailsKey, JSON.stringify(metaDetails));\nexport const removeEmailInboxMetaDetailsFromLocalStore = () => {\n localStorage.removeItem(emailInboxMetaDetailsKey);\n};\n","import React, { ReactNode } from 'react';\nimport { Table } from 'reactstrap';\nimport { useTranslation } from 'react-i18next';\nimport { AlertTriangle, CircleCheck } from '@saleshandy/icons';\nimport classNames from 'classnames';\n\ninterface Column {\n title: string | ReactNode;\n dataIndex: string;\n key: string;\n render?: (cell, row) => ReactNode;\n sticky?: boolean;\n align?: string;\n}\n\ninterface DataTableProps {\n columns: Column[];\n data: any[];\n className?: string;\n}\n\nconst DataTable: React.FC = ({\n columns,\n data,\n className = ''\n}) => {\n const { t } = useTranslation();\n\n const renderCell = (column: Column, record: any) => {\n // If column has a custom render function, use it\n if (column.render) {\n return column.render(record[column.dataIndex], record);\n }\n\n // Handle status column specially (keeping existing logic)\n if (column.dataIndex === 'status') {\n return record[column.dataIndex] === 'listed' ? (\n \n \n Listed\n \n ) : (\n \n \n Ok\n \n );\n }\n\n // Return the raw value for normal cells\n return record[column.dataIndex];\n };\n\n const getCellClassName = (column: Column, index: number) => classNames('table-cell', {\n 'sticky-column': column.sticky,\n 'border-left-none': index > 0 && columns[index - 1]?.sticky,\n 'text-left': column.align === 'left',\n 'text-center': column.align === 'center',\n 'text-right': column.align === 'right'\n });\n\n return (\n
    \n \n \n \n {columns.map((column, index) => (\n \n ))}\n \n \n \n {data?.length > 0 ? (\n data.map((row, rowIndex) => (\n \n {columns.map((column, index) => (\n \n {renderCell(column, row)}\n \n ))}\n \n ))\n ) : (\n \n \n \n )}\n \n
    \n {column.title}\n
    \n {t('labels.no_data_available')}\n
    \n
    \n );\n};\n\nexport default DataTable; ","import React, { useEffect, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport Input from '../../input';\nimport { IconPlace } from '../../input/enums';\nimport { InputIconConfig } from '../../input/types';\n\ntype IProps = {\n onSearch: () => void;\n setSearchValue: (value: string) => void;\n initialValue?: string;\n searchValue: string;\n onClearSearch?: () => void;\n placeholder?: string;\n className?: string;\n hideClear?: boolean;\n searchIconPlace?: IconPlace;\n searchIconFixed?: boolean;\n inputRef?: any;\n};\n\nconst SearchInput: React.FC = ({\n onSearch,\n setSearchValue,\n searchValue,\n initialValue = '',\n onClearSearch,\n placeholder,\n className,\n hideClear,\n searchIconPlace,\n searchIconFixed,\n inputRef,\n}) => {\n const { t } = useTranslation();\n const [showIconOnSearch, setShowIconOnSearch] = useState({\n place: searchIconPlace || Input.IconPlace.Right,\n identifier: 'search',\n });\n\n const [fixIconOnSearch, setFixIconOnSearch] = useState([\n {\n place: searchIconPlace || Input.IconPlace.Right,\n identifier: 'search',\n },\n ]);\n\n const clearSearch = () => {\n setSearchValue('');\n setShowIconOnSearch({\n place: searchIconPlace || Input.IconPlace.Right,\n identifier: 'search',\n });\n setFixIconOnSearch([\n {\n place: searchIconPlace || Input.IconPlace.Right,\n identifier: 'search',\n },\n ]);\n onClearSearch();\n };\n\n const onSearchChangeHandler = (value: string) => {\n if (searchIconFixed) {\n if (value === '') {\n setFixIconOnSearch([\n {\n place: searchIconPlace || Input.IconPlace.Right,\n identifier: 'search',\n },\n ]);\n } else {\n setFixIconOnSearch([\n {\n place: Input.IconPlace.Right,\n identifier: 'close-o',\n onClick: clearSearch,\n },\n {\n place: searchIconPlace || Input.IconPlace.Right,\n identifier: 'search',\n },\n ]);\n }\n }\n if (!hideClear && value && value.length > 0) {\n setShowIconOnSearch({\n place: Input.IconPlace.Right,\n identifier: 'close-o',\n onClick: clearSearch,\n });\n } else {\n setShowIconOnSearch({\n place: searchIconPlace || Input.IconPlace.Right,\n identifier: 'search',\n });\n }\n setSearchValue(value);\n };\n\n const onSubmit = (e) => {\n e.preventDefault();\n onSearch();\n };\n\n useEffect(() => {\n if (initialValue !== '') {\n onSearchChangeHandler(initialValue);\n }\n if (searchValue === '') {\n setFixIconOnSearch([\n {\n place: searchIconPlace || Input.IconPlace.Right,\n identifier: 'search',\n },\n ]);\n }\n }, [initialValue]);\n\n // useEffect(() => {\n // if (!inputRef.current) {\n // setFixIconOnSearch([\n // {\n // place: searchIconPlace || Input.IconPlace.Right,\n // identifier: 'search',\n // },\n // ]);\n // }\n // }, [inputRef]);\n\n return (\n
    \n {\n onSearchChangeHandler(searchValue);\n }}\n />\n \n );\n};\n\nexport default SearchInput;\n","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../shared/enums/request-status';\nimport { ResponseErrorWithHandled } from '../../shared/types';\nimport {\n Mailbox,\n MailboxEmail,\n MailboxEmailActivity,\n MailboxEmailsPaginationMeta,\n} from './type';\n\nimport {\n deleteMailboxEmailRequest,\n getMailboxesListRequest,\n getMailboxEmailsListRequest,\n getMailboxEmailActivityRequest,\n toggleMailboxEmailNotificationRequest,\n} from './extra-actions';\n\ntype RequestState = {\n status: RequestStatus;\n message: string;\n error: ResponseErrorWithHandled;\n};\n\ntype State = {\n getMailboxEmailsListRequest: RequestState;\n getMailboxesListRequest: RequestState;\n getMailboxEmailActivityRequest: RequestState;\n toggleMailboxEmailNotificationRequest: RequestState;\n deleteMailboxEmailRequest: RequestState;\n mailboxEmails: MailboxEmail[];\n mailboxes: Mailbox[];\n mailboxEmailActivity: MailboxEmailActivity[];\n mailboxEmailsPaginationMeta: MailboxEmailsPaginationMeta;\n};\n\nconst initialState: State = {\n getMailboxEmailsListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getMailboxesListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getMailboxEmailActivityRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n toggleMailboxEmailNotificationRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n deleteMailboxEmailRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n mailboxEmails: [],\n mailboxes: [],\n mailboxEmailActivity: [],\n mailboxEmailsPaginationMeta: null,\n};\n\nconst mailboxEmailsSlice = createSlice({\n name: 'mailboxEmails',\n initialState,\n reducers: {\n resetMailboxEmailsState: (state) => {\n state.getMailboxEmailsListRequest =\n initialState.getMailboxEmailsListRequest;\n state.getMailboxesListRequest = initialState.getMailboxesListRequest;\n state.getMailboxEmailActivityRequest =\n initialState.getMailboxEmailActivityRequest;\n state.toggleMailboxEmailNotificationRequest =\n initialState.toggleMailboxEmailNotificationRequest;\n state.deleteMailboxEmailRequest = initialState.deleteMailboxEmailRequest;\n state.mailboxEmails = initialState.mailboxEmails;\n state.mailboxes = initialState.mailboxes;\n state.mailboxEmailActivity = initialState.mailboxEmailActivity;\n state.mailboxEmailsPaginationMeta =\n initialState.mailboxEmailsPaginationMeta;\n },\n resetMailboxEmailActivity: (state) => {\n state.getMailboxEmailActivityRequest =\n initialState.getMailboxEmailActivityRequest;\n state.mailboxEmailActivity = initialState.mailboxEmailActivity;\n },\n resetMailboxEmailNotifications: (state) => {\n state.toggleMailboxEmailNotificationRequest =\n initialState.toggleMailboxEmailNotificationRequest;\n },\n resetMailboxEmailDelete: (state) => {\n state.deleteMailboxEmailRequest = initialState.deleteMailboxEmailRequest;\n },\n },\n extraReducers: (builder) => {\n // Get Mailbox Emails List\n builder.addCase(getMailboxEmailsListRequest.pending, (state) => {\n state.getMailboxEmailsListRequest.status = RequestStatus.Pending;\n state.getMailboxEmailsListRequest.error = null;\n });\n builder.addCase(getMailboxEmailsListRequest.fulfilled, (state, action) => {\n state.getMailboxEmailsListRequest.status = RequestStatus.Succeeded;\n state.getMailboxEmailsListRequest.message = action.payload.message;\n state.mailboxEmails = action.payload.payload.emails;\n state.mailboxEmailsPaginationMeta = action.payload.payload.meta;\n });\n builder.addCase(getMailboxEmailsListRequest.rejected, (state, action) => {\n state.getMailboxEmailsListRequest.status = RequestStatus.Failed;\n state.getMailboxEmailsListRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Mailboxes List\n builder.addCase(getMailboxesListRequest.pending, (state) => {\n state.getMailboxesListRequest.status = RequestStatus.Pending;\n state.getMailboxesListRequest.error = null;\n });\n builder.addCase(getMailboxesListRequest.fulfilled, (state, action) => {\n state.getMailboxesListRequest.status = RequestStatus.Succeeded;\n state.getMailboxesListRequest.message = action.payload.message;\n state.mailboxes = action.payload.payload.mailboxes;\n });\n builder.addCase(getMailboxesListRequest.rejected, (state, action) => {\n state.getMailboxesListRequest.status = RequestStatus.Failed;\n state.getMailboxesListRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Mailbox Email Activity\n builder.addCase(getMailboxEmailActivityRequest.pending, (state) => {\n state.getMailboxEmailActivityRequest.status = RequestStatus.Pending;\n state.getMailboxEmailActivityRequest.error = null;\n });\n builder.addCase(\n getMailboxEmailActivityRequest.fulfilled,\n (state, action) => {\n state.getMailboxEmailActivityRequest.status = RequestStatus.Succeeded;\n state.getMailboxEmailActivityRequest.message = action.payload.message;\n state.mailboxEmailActivity = action.payload.payload;\n },\n );\n builder.addCase(\n getMailboxEmailActivityRequest.rejected,\n (state, action) => {\n state.getMailboxEmailActivityRequest.status = RequestStatus.Failed;\n state.getMailboxEmailActivityRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Toggle Mailbox Email Notification\n builder.addCase(toggleMailboxEmailNotificationRequest.pending, (state) => {\n state.toggleMailboxEmailNotificationRequest.status =\n RequestStatus.Pending;\n state.toggleMailboxEmailNotificationRequest.error = null;\n });\n builder.addCase(\n toggleMailboxEmailNotificationRequest.fulfilled,\n (state, action) => {\n state.toggleMailboxEmailNotificationRequest.status =\n RequestStatus.Succeeded;\n state.toggleMailboxEmailNotificationRequest.message =\n action.payload.message;\n },\n );\n builder.addCase(\n toggleMailboxEmailNotificationRequest.rejected,\n (state, action) => {\n state.toggleMailboxEmailNotificationRequest.status =\n RequestStatus.Failed;\n state.toggleMailboxEmailNotificationRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Delete Mailbox Email\n builder.addCase(deleteMailboxEmailRequest.pending, (state) => {\n state.deleteMailboxEmailRequest.status = RequestStatus.Pending;\n state.deleteMailboxEmailRequest.error = null;\n });\n builder.addCase(deleteMailboxEmailRequest.fulfilled, (state, action) => {\n state.deleteMailboxEmailRequest.status = RequestStatus.Succeeded;\n state.deleteMailboxEmailRequest.message = action.payload.message;\n });\n builder.addCase(deleteMailboxEmailRequest.rejected, (state, action) => {\n state.deleteMailboxEmailRequest.status = RequestStatus.Failed;\n state.deleteMailboxEmailRequest.error =\n !action.payload.isHandled && action.payload;\n });\n },\n});\n\nexport const {\n resetMailboxEmailsState,\n resetMailboxEmailActivity,\n resetMailboxEmailNotifications,\n resetMailboxEmailDelete,\n} = mailboxEmailsSlice.actions;\n\nexport default mailboxEmailsSlice.reducer;\n","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../../../../../shared/enums/request-status';\nimport { ResponseErrorWithHandled } from '../../../../../../shared/types';\nimport { Field } from '../../../../../settings/types/field';\nimport {\n getFieldsRequest,\n getPropsectsOverviewRequest,\n sendTestEmailRequest,\n} from './extra-actions';\nimport { ProspectOverview } from './types/request-payload';\n\ntype RequestState = {\n status: RequestStatus;\n message: string;\n error: ResponseErrorWithHandled;\n};\n\ntype State = {\n sendTestEmailRequest: RequestState;\n getFieldsRequest: RequestState;\n getPropsectsOverviewRequest: RequestState;\n prospectsoverview: ProspectOverview[];\n fields: Field[];\n};\n\nconst initialState: State = {\n sendTestEmailRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getFieldsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getPropsectsOverviewRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n prospectsoverview: [],\n fields: [],\n};\n\nconst emailModal = createSlice({\n name: 'test-email',\n initialState,\n reducers: {\n resetSendTestEmailState: (state) => {\n state.sendTestEmailRequest = initialState.sendTestEmailRequest;\n },\n resetProspectsOverview: (state) => {\n state.prospectsoverview = initialState.prospectsoverview;\n },\n },\n extraReducers: (builder) => {\n // Send test email\n builder.addCase(sendTestEmailRequest.pending, (state: State) => {\n state.sendTestEmailRequest.status = RequestStatus.Pending;\n state.sendTestEmailRequest.error = null;\n });\n builder.addCase(sendTestEmailRequest.fulfilled, (state: State, action) => {\n state.sendTestEmailRequest.status = RequestStatus.Succeeded;\n state.sendTestEmailRequest.message = action.payload.message;\n });\n builder.addCase(sendTestEmailRequest.rejected, (state: State, action) => {\n state.sendTestEmailRequest.status = RequestStatus.Failed;\n state.sendTestEmailRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Merge Tags\n builder.addCase(getFieldsRequest.pending, (state) => {\n state.getFieldsRequest.status = RequestStatus.Pending;\n state.getFieldsRequest.error = null;\n });\n builder.addCase(getFieldsRequest.fulfilled, (state, action) => {\n state.getFieldsRequest.status = RequestStatus.Succeeded;\n state.getFieldsRequest.message = action.payload.message;\n state.fields = action.payload.payload;\n });\n builder.addCase(getFieldsRequest.rejected, (state, action) => {\n state.getFieldsRequest.status = RequestStatus.Failed;\n state.getFieldsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Prospects overview\n builder.addCase(getPropsectsOverviewRequest.pending, (state) => {\n state.getPropsectsOverviewRequest.status = RequestStatus.Pending;\n state.getPropsectsOverviewRequest.error = null;\n });\n builder.addCase(getPropsectsOverviewRequest.fulfilled, (state, action) => {\n state.getPropsectsOverviewRequest.status = RequestStatus.Succeeded;\n state.getPropsectsOverviewRequest.message = action.payload.message;\n state.prospectsoverview = action.payload.payload;\n });\n builder.addCase(getPropsectsOverviewRequest.rejected, (state, action) => {\n state.getPropsectsOverviewRequest.status = RequestStatus.Failed;\n state.getPropsectsOverviewRequest.error =\n !action.payload.isHandled && action.payload;\n });\n },\n});\n\nexport const {\n resetSendTestEmailState,\n resetProspectsOverview,\n} = emailModal.actions;\nexport default emailModal.reducer;\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { useHistory } from 'react-router';\n\nimport Modal from '../../../../../shared/design-system/components/atoms/modal';\nimport Button from '../../../../../shared/design-system/components/atoms/button';\nimport { Images } from '../../../../../shared/app-constants';\nimport { contactAdmin } from '../../../../../shared/utils/contact-admin';\nimport hasPermission from '../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../shared/utils/access-control/enums/permissions';\nimport { ModifySubscriptionSteps } from '../../../../settings/components/billing-subscription/components/modify-subscription/types';\nimport { Routes } from '../../../../../shared/routes';\n\nconst NoSeatAvailableForEmailModal = ({ show, onClose, firstName }) => {\n const { t } = useTranslation();\n const history = useHistory();\n\n const onSubmit = () => {\n const emailSubject = `${t(\n 'messages.no_seat_available_email_subject_1',\n )} ${t('messages.no_seat_available_email_subject_2')}`;\n\n const emailBody = `Hello ${firstName}, %0D%0A %0D%0A ${t(\n 'messages.no_seat_available_email_body_1',\n )} ${t('messages.no_seat_available_email_body_2')} ${t(\n 'messages.no_seat_available_email_body_3',\n )} ${t('messages.no_seat_available_email_body_4')}`;\n\n if (hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)) {\n history.push({\n pathname: Routes.Setting_Billing_Upgrade_Email_Outreach_Plan,\n state: {\n isRedirectedFromEmailAccounts: true,\n modifySubscriptionStep: ModifySubscriptionSteps.SelectSlots,\n },\n });\n } else {\n contactAdmin(emailSubject, emailBody);\n }\n };\n\n return (\n \n \"Alert\"\n

    {t('messages.no_seat_available_email_modal_title')}

    \n \n }\n showCloseIcon\n onSubmit={onSubmit}\n onClose={onClose}\n submitButtonText={\n hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)\n ? 'Buy Now'\n : t('labels.contact_admin')\n }\n cancelButtonText={t('labels.cancel')}\n cancelButtonVarient={Button.Variant.Outlined}\n submitButtonClassName=\"header-btn\"\n backdrop=\"static\"\n >\n
    \n

    \n {t('messages.no_seat_available_email_modal__content_1')}\n

    \n

    \n {t('messages.no_seat_available_email_modal__content_2')}\n

    \n
    \n \n );\n};\n\nexport default NoSeatAvailableForEmailModal;\n","import React from 'react';\nimport { Images } from '../../app-constants';\nimport ImageIcon from './image-icon';\n\nconst ClickedWithBackground = () => (\n \n);\n\nexport default ClickedWithBackground;\n","import React from 'react';\nimport { Images } from '../../app-constants';\nimport ImageIcon from './image-icon';\n\nconst OpenedWithBackground = () => (\n \n);\n\nexport default OpenedWithBackground;\n","import React from 'react';\nimport { Images } from '../../app-constants';\nimport ImageIcon from './image-icon';\n\nconst PausedWithBackground = () => (\n \n);\n\nexport default PausedWithBackground;\n","import React from 'react';\nimport { Images } from '../../app-constants';\nimport ImageIcon from './image-icon';\n\nconst ProspectActivityEmailBouncedColored = () => (\n \n);\n\nexport default ProspectActivityEmailBouncedColored;\n","import React from 'react';\nimport { Images } from '../../app-constants';\nimport ImageIcon from './image-icon';\n\nconst ProspectActivityEmailFailedColored = () => (\n \n);\n\nexport default ProspectActivityEmailFailedColored;\n","import React from 'react';\nimport { Images } from '../../app-constants';\nimport ImageIcon from './image-icon';\n\nconst ProspectActivityEmailOpenedColored = () => (\n \n);\n\nexport default ProspectActivityEmailOpenedColored;\n","import React from 'react';\nimport { Images } from '../../app-constants';\nimport ImageIcon from './image-icon';\n\nconst ProspectActivityEmailReceivedColored = () => (\n \n);\n\nexport default ProspectActivityEmailReceivedColored;\n","import React from 'react';\nimport { Images } from '../../app-constants';\nimport ImageIcon from './image-icon';\n\nconst ProspectActivityEmailSent = () => (\n \n);\n\nexport default ProspectActivityEmailSent;\n","import React from 'react';\nimport { Images } from '../../app-constants';\nimport ImageIcon from './image-icon';\n\nconst ProspectActivityEmailSentColored = () => (\n \n);\n\nexport default ProspectActivityEmailSentColored;\n","import React from 'react';\nimport { Images } from '../../app-constants';\nimport ImageIcon from './image-icon';\n\nconst ProspectActivityEmailUnsubscribedColored = () => (\n \n);\n\nexport default ProspectActivityEmailUnsubscribedColored;\n","import React from 'react';\nimport { Images } from '../../app-constants';\nimport ImageIcon from './image-icon';\n\nconst ProspectActivityLinkClickedColored = () => (\n \n);\n\nexport default ProspectActivityLinkClickedColored;\n","import React from 'react';\nimport { Images } from '../../app-constants';\nimport ImageIcon from './image-icon';\n\nconst ProspectBlacklistedColored = () => (\n \n);\n\nexport default ProspectBlacklistedColored;\n","import React from 'react';\nimport { Images } from '../../app-constants';\nimport ImageIcon from './image-icon';\n\nconst ProspectRemovedFromBlacklistColored = () => (\n \n);\n\nexport default ProspectRemovedFromBlacklistColored;\n","import React from 'react';\nimport { Images } from '../../app-constants';\nimport ImageIcon from './image-icon';\n\nconst ResumeWithBackground = () => (\n \n);\n\nexport default ResumeWithBackground;\n","import React, { ReactNode } from 'react';\n\ntype IconAndLogProps = {\n icon: ReactNode;\n log: string;\n type: string;\n};\n\nconst IconAndLog: React.FC = ({ icon, log, type }) => (\n
    \n
    \n
    {icon}
    {' '}\n
    \n \n
    \n);\n\nexport default IconAndLog;\n","import React from 'react';\nimport sanitizeHtml from 'sanitize-html';\nimport { getActivityIcon } from '../../../../utils/get-prospect-icon';\nimport MasterLog from '../../../../enums/master-log-enum';\nimport IconAndLog from '../../atoms/icon-and-log';\n\nconst getIconForActivity = (key: MasterLog) => getActivityIcon(key);\n\nconst ActivityComponent = ({ dayText, activity }) => (\n
    \n {dayText}\n\n {activity.map((activityObj: { log: string; key: MasterLog }) => {\n const parsed = sanitizeHtml(activityObj.log, {\n allowedTags: [\n 'b',\n 'i',\n 'em',\n 'strong',\n 'a',\n 'br',\n 'img',\n 'div',\n 'span',\n 'p',\n ],\n allowedAttributes: {\n a: ['href', 'target'],\n img: ['src', 'height'],\n div: ['class'],\n strong: ['class'],\n span: ['class'],\n },\n });\n return (\n \n );\n })}\n
    \n);\n\nexport default ActivityComponent;\n","import React from 'react';\nimport ClickedWithBackground from '../components/images/clicked-with-background';\nimport OpenedWithBackground from '../components/images/opened-with-background';\nimport PausedWithBackground from '../components/images/paused-with-background';\nimport ProspectActivityEmailBouncedColored from '../components/images/prospect-activity-email-bounced-colored';\nimport ProspectActivityEmailFailedColored from '../components/images/prospect-activity-email-failed-colored';\nimport ProspectActivityEmailOpenedColored from '../components/images/prospect-activity-email-opened-colored';\nimport ProspectActivityEmailReceivedColored from '../components/images/prospect-activity-email-reply-colored';\nimport ProspectActivityEmailSent from '../components/images/prospect-activity-email-sent';\nimport ProspectActivityEmailSentColored from '../components/images/prospect-activity-email-sent-colored';\nimport ProspectActivityEmailUnsubscribedColored from '../components/images/prospect-activity-email-unsubscribed-colored';\nimport ProspectActivityLinkClickedColored from '../components/images/prospect-activity-link-clicked-colored';\nimport ProspectBlacklistedColored from '../components/images/prospect-blacklisted-colored';\nimport ProspectRemovedFromBlacklistColored from '../components/images/prospect-removed-from-blacklist-colored';\nimport ResumeWithBackground from '../components/images/resume-with-background';\nimport MasterLog from '../enums/master-log-enum';\nimport { Exchange } from '@saleshandy/icons';\n\n// eslint-disable-next-line import/prefer-default-export\nexport const getActivityIcon = (key: MasterLog) => {\n switch (key) {\n case MasterLog.EmailBounced:\n return ;\n case MasterLog.EmailFailed:\n return ;\n case MasterLog.EmailOpened:\n return ;\n case MasterLog.EmailSent:\n return ;\n case MasterLog.LinkClicked:\n return ;\n case MasterLog.ReplyReceivedAuto:\n case MasterLog.ReplyReceivedManual:\n return ;\n case MasterLog.UnsubscribedAuto:\n case MasterLog.UnsubscribedManual:\n return ;\n case MasterLog.Blacklisted:\n return ;\n case MasterLog.RemovedFromBlacklist:\n return ;\n case MasterLog.MailboxEmailOpened:\n return ;\n case MasterLog.MailboxEmailLinkClicked:\n return ;\n case MasterLog.SequenceContactPaused:\n return ;\n case MasterLog.SequenceContactResumed:\n return ;\n case MasterLog.UniboxEmailOpened:\n return ;\n case MasterLog.UniboxEmailLinkClicked:\n return ;\n case MasterLog.PrimaryEmailChangedAuto:\n case MasterLog.PrimaryEmailChangedManual:\n return ;\n default:\n return ;\n }\n};\n","/* eslint-disable jsx-a11y/label-has-associated-control */\n/* eslint-disable react/destructuring-assignment */\nimport React, { useEffect, useState } from 'react';\nimport classNames from 'classnames';\nimport Select, { components } from 'react-select';\nimport { SelectFilterProps } from '../../../../../shared/design-system/components/molecules/prospects-filter/type';\n\nconst Option = (props) => (\n
    \n \n
    \n null}\n />{' '}\n \n {props.label}\n \n
    \n
    \n
    \n);\n\n/**\n * Styles to pass in `react-select`\n */\nconst textStyle = {\n fontSize: '14px',\n fontStyle: 'normal',\n lineHeight: '20px',\n color: '#6b7280',\n};\n\nconst createGroup = (\n groupName,\n options,\n setValue,\n onSelect,\n selectedOptions,\n) => {\n const isChecked = options.every((subItem) =>\n selectedOptions.some(\n (selectedItem) =>\n // Define the condition for matching items here\n subItem.id === selectedItem.id,\n ),\n );\n\n return {\n label: (() => (\n // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions\n {\n setValue(options);\n onSelect(options);\n }}\n key={groupName}\n >\n null} />{' '}\n \n {groupName}\n \n \n ))(),\n options,\n };\n};\n\nconst MultiSelect: React.FC = ({\n placeholder,\n options,\n onSelect,\n values = [],\n isDisabled = false,\n containerClassName = '',\n}) => {\n const filteredValue = values.map((item) => ({\n label: item?.firstName,\n value: item?.id,\n id: item?.id,\n }));\n\n const newOptions = options.map((option, idx) => ({\n ...option,\n users: option.users.map((user) => ({\n label: user?.userName?.trim()?.length > 0 ? user?.userName : user?.email,\n value: user?.id,\n uniqueKey: idx,\n isUncategorizedUser: option?.teamName?.toLowerCase() === 'uncategorized',\n ...user,\n })),\n }));\n\n const [selectedOptions, setSelectedOptions] = useState(filteredValue);\n const [search, setSearch] = useState('');\n\n const getSelectedOptions = (subOptions) => {\n // Check if all user IDs in the team are in selectedUserIds\n const allUsersSelected = subOptions.every((subItem) =>\n selectedOptions.some(\n (selectedItem) =>\n // Define the condition for matching items here\n subItem.id === selectedItem.id,\n ),\n );\n\n if (allUsersSelected) {\n // If all users are selected, remove all of them\n const updatedSelectedUserIds = selectedOptions.filter(\n (selectedItem) =>\n !subOptions.some((user) => user.id === selectedItem.id),\n );\n\n setSelectedOptions(updatedSelectedUserIds);\n } else {\n // If not all users are selected, add those who are not already in selectedUserIds\n const userIDsToAdd = subOptions.filter(\n (selectedItem) =>\n !selectedOptions.some((user) => user.id === selectedItem.id),\n );\n\n const newSelectedUserIds = [...selectedOptions, ...userIDsToAdd];\n setSelectedOptions(newSelectedUserIds);\n }\n };\n\n const handleOnSelect = (option) => {\n onSelect(option);\n setSelectedOptions(option);\n setSearch('');\n };\n // Create Options\n const structuredOptions = newOptions.map((option) =>\n createGroup(\n option.teamName,\n option.users,\n getSelectedOptions,\n onSelect,\n selectedOptions,\n ),\n );\n\n const filterOption = ({ label, data }, searchValue) => {\n setSearch(searchValue);\n\n // default search\n if (label?.toLowerCase()?.includes(searchValue.toLowerCase())) {\n return true;\n }\n\n // Search team\n const groupOptions: any = newOptions.filter((group: any) =>\n group.teamName?.toLowerCase().includes(searchValue.toLowerCase()),\n );\n\n // Search options from the groupOptions\n if (groupOptions) {\n // eslint-disable-next-line no-restricted-syntax\n for (const groupOption of groupOptions) {\n // Check if current option is in group\n const option = groupOption.users.find(\n (opt) => opt?.uniqueKey === data.uniqueKey,\n );\n\n if (option) {\n return true;\n }\n }\n }\n\n // If neither the name nor any user within the team matches, exclude the team\n return false;\n };\n\n const handleKeyDown = (event) => {\n if (\n event.key === 'Enter' ||\n event.key === 'Tab' ||\n (event.key === ' ' && search === '')\n ) {\n event.preventDefault(); // Prevent default Enter key behavior\n }\n };\n\n const customStyles = {\n control: (base) => ({\n ...base,\n border: '1px solid #E5E7EB',\n }),\n placeholder: (base) => ({\n ...base,\n ...textStyle,\n }),\n option: (base) => ({\n ...base,\n ...textStyle,\n color: '#1F2937',\n wordWrap: 'break-word',\n backgroundColor: 'transparent',\n '&:hover': {\n backgroundColor: '#EFF6FF',\n },\n }),\n multiValue: (base) => ({\n ...base,\n marginRight: '8px',\n borderRadius: '4px',\n border: '1px solid #D1D5DB',\n backgroundColor: '#FFF',\n }),\n multiValueLabel: (base) => ({\n ...base,\n ...textStyle,\n fontWeight: 500,\n color: '#1F2937',\n }),\n multiValueRemove: (base) => ({\n ...base,\n marginRight: '0px',\n color: '#6B7280',\n '&:hover': {\n backgroundColor: '#dbeafe',\n color: '#1d4ed8',\n },\n }),\n };\n\n useEffect(() => {\n if (isDisabled) {\n setSelectedOptions([]);\n }\n }, [isDisabled]);\n\n return (\n \n selectedOptions.filter((op) => op.id === option?.id).length > 0\n }\n options={structuredOptions}\n className={classNames(['basic-multi-select', containerClassName])}\n classNamePrefix=\"select\"\n placeholder={placeholder}\n styles={customStyles}\n isDisabled={isDisabled}\n />\n );\n};\n\nexport default MultiSelect;\n","// ** React Imports\nimport React, { memo } from 'react';\n// ** Util Imports\nimport { accessibleOnClick } from '../../../../../../../shared/utils/accessible-on-click';\n\n// ** Local Interfaces\nexport interface GroupOptionType {\n id: number;\n name?: string;\n label?: string;\n}\n\nexport interface GroupType {\n label?: string;\n options: GroupOptionType[];\n}\n\nexport interface CustomFilterGroupLabelProps {\n group: GroupType;\n handleParentGroupClick: (\n options: GroupOptionType[],\n isSelected: boolean,\n ) => void;\n isParentGroupSelected: boolean;\n}\n\n/**\n *\n * @description - This is react component to use Inside react-select dropdown to make option group actionable\n * @param group : Group contains react-select options group\n * @param handleParentGroupClick : handler for parent filter group\n * @param isParentGroupSelected : Boolean flag to check if parent group is selected or not\n * @returns React Component\n */\nconst CustomFilterGroupLabel: React.FC = ({\n group = null,\n handleParentGroupClick = () => {},\n isParentGroupSelected = false,\n}) => (\n \n handleParentGroupClick(group?.options ?? [], isParentGroupSelected),\n )}\n >\n \n {group?.label || ''}\n \n);\n\nexport default memo(CustomFilterGroupLabel);\n","import React, { memo, useCallback, useEffect, useMemo, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { Modal } from 'react-bootstrap';\nimport classNames from 'classnames';\nimport { InfoCircle } from '@saleshandy/icons';\nimport Button from '../../../../../../../shared/design-system/components/atoms/button';\nimport Icon from '../../../../../../../shared/design-system/components/atoms/icon/icon';\nimport ProspectsFilter from '../../../../../../../shared/design-system/components/molecules/prospects-filter';\nimport { prospectsFiltersInitialState } from '../../../../../prospect-slice';\nimport {\n Filters,\n ProspectsFilters,\n} from '../../../../../../../shared/types/prospects-filters';\nimport type { IProps } from './prospects-filters-modal-container';\nimport { FilterType } from '../../../../../../../shared/design-system/components/molecules/prospects-filter/type';\nimport {\n dateToString,\n getFormattedDate,\n} from '../../../../../../../shared/functions/date';\nimport { ContactTotal } from '../../../../../../sequence/enums';\nimport {\n statuses,\n verificationStatuses,\n creationSource,\n taskPriorities,\n} from '../../../../../helpers/prospect-filters-resolver';\nimport { constants } from '../../../../../../../shared/enums/constants';\nimport hasPermission from '../../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../../shared/utils/access-control/enums/permissions';\nimport MultiSelect from '../../../../../../settings/components/users-and-teams/utils/multi-select';\nimport {\n isAgency,\n isAgencyUser,\n} from '../../../../../../../shared/utils/user-details';\nimport { getClientName } from '../../../../../../agency-client-management/helpers/helpers';\nimport RadioButtonGroup from '../../../../../../../shared/design-system/components/radio-button-group';\nimport { OverlayTooltip } from '../../../../../../../shared/design-system/components/overlay/tooltip/overlay-tooltip';\nimport { Placement } from '../../../../../../../shared/design-system/components/overlay';\nimport { ConversationType } from '../../../../../enums/prospect';\nimport { getConversationTypeLabel } from '../../../utils/helper';\nimport CustomFilterGroupLabel from './custom-filter-group-label';\n\nconst defaultFiltersToDisplay: Record = {\n conversationType: true,\n tags: true,\n owners: true,\n sequences: true,\n status: true,\n outcomes: true,\n 'verification status': true,\n 'task priority': true,\n 'created date': true,\n 'creation source': true,\n 'current step': true,\n 'email account': true,\n 'client associated': true,\n 'imported file': true,\n};\n\n/**\n * Renders all the prospects filters.\n */\nconst ProspectsFiltersModal: React.FC = ({\n show,\n hide,\n prospectsFilters,\n isUniboxFilters = false,\n getProspects,\n getProspectsCount,\n setProspectsFilters,\n resetProspectsFilters,\n tags,\n sendGetSequenceList,\n sequences,\n owners,\n teamsAndUsersList,\n sendGetOwnersList,\n sendGetTeamsAndMembersListRequest,\n except = [],\n selectedStatus,\n sendGetTagsRequest,\n paginationOptions,\n handleClearSelection,\n changeProspectPagination,\n isATMOwnerList,\n isTasksFilter,\n handleClearAll,\n allOutcomes,\n sendGetAllOutcomesRequest,\n stepsDetails,\n sendGetStepDetailsListRequest,\n sequenceId,\n unifiedInboxContext,\n emails,\n sendGetEmailAccounts,\n clients,\n sendGetAgencyClientsDropdownRequest,\n sendGetSequencesListForFilterRequest,\n getImportedFilesListRequest,\n importedFilesList,\n uniboxSequences,\n uniboxCategory,\n}) => {\n const { t } = useTranslation();\n\n const [filters, setFilters] = useState(prospectsFilters);\n const [conversationType, setConversationType] = useState(\n () => {\n if (prospectsFilters?.conversationType?.length > 0) {\n if (\n prospectsFilters?.conversationType?.[0]?.name ===\n ConversationType.External\n ) {\n return ConversationType.External;\n }\n if (\n prospectsFilters?.conversationType?.[0]?.name ===\n ConversationType.System\n ) {\n return ConversationType.System;\n }\n }\n return ConversationType.All;\n },\n );\n const filtersToDisplay = useMemo(\n () =>\n except.reduce(\n (acc, f) => ({ ...acc, [f]: false }),\n defaultFiltersToDisplay,\n ),\n [except],\n );\n\n useEffect(() => {\n if (!isUniboxFilters && filtersToDisplay.sequences) {\n sendGetSequenceList();\n }\n\n if (filtersToDisplay['current step'] && sequenceId) {\n sendGetStepDetailsListRequest(sequenceId);\n }\n\n if (filtersToDisplay?.['imported file']) {\n getImportedFilesListRequest();\n }\n\n // Getting all the members of the user's SH Account\n if (\n (hasPermission(Permissions.ACCOUNT_USER_READ) ||\n hasPermission(Permissions.TEAM_USER_READ)) &&\n !isATMOwnerList\n ) {\n sendGetTeamsAndMembersListRequest();\n }\n\n // Get Owners List\n if (\n ((hasPermission(Permissions.ACCOUNT_USER_READ) ||\n hasPermission(Permissions.TEAM_USER_READ)) &&\n isATMOwnerList) ||\n isAgencyUser()\n ) {\n sendGetOwnersList();\n }\n\n // Get All Outcomes\n if (\n hasPermission(Permissions.UNIBOX_CATEGORY_UPDATE) &&\n allOutcomes.length === 0 &&\n !isUniboxFilters\n ) {\n sendGetAllOutcomesRequest();\n }\n\n // Get Email Accounts\n if (isUniboxFilters) {\n sendGetEmailAccounts();\n sendGetSequencesListForFilterRequest();\n }\n\n // Get Clients\n if (hasPermission(Permissions.CLIENT_READ) && isAgency()) {\n sendGetAgencyClientsDropdownRequest({});\n }\n\n // Get Tags\n if (!isUniboxFilters) {\n sendGetTagsRequest();\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const resolveAndSetFilters = (name: Filters, value: any[]) => {\n setFilters({\n ...filters,\n [name]: value,\n });\n };\n\n const handleDoneUnifiedInbox = () => {\n const appliedFilters = {\n ...filters,\n conversationType: [{ name: conversationType }],\n };\n if (selectedStatus && selectedStatus !== ContactTotal.TOTAL) {\n const selectedStatusFromProspectHeader = statuses\n ?.filter((item) => !item.isHeaderFilter)\n ?.find((item) => item.id === selectedStatus);\n\n const isAppliedFilterAlreadyExist = appliedFilters?.status?.some(\n (item) => item.id === selectedStatus,\n );\n\n if (!isAppliedFilterAlreadyExist) {\n appliedFilters.status = [\n ...appliedFilters.status,\n selectedStatusFromProspectHeader || {\n id: selectedStatus,\n name: selectedStatus,\n isHeaderFilter: true,\n },\n ];\n }\n }\n\n const { 'created date': createdDate } = appliedFilters;\n if (createdDate.filter((dateObj) => dateObj.date).length !== 2) {\n appliedFilters['created date'] = [];\n setFilters(appliedFilters);\n }\n\n setProspectsFilters(appliedFilters);\n getProspects?.(appliedFilters);\n changeProspectPagination({\n ...paginationOptions,\n pageNum: constants.DEFAULT_PAGE_NUM,\n });\n getProspectsCount?.({});\n hide();\n\n handleClearSelection && handleClearSelection();\n };\n\n const handleDone = () => {\n if (unifiedInboxContext) {\n handleDoneUnifiedInbox();\n const url = new URL(window?.location?.href);\n if (url?.searchParams?.has('sentiment')) {\n url.searchParams.delete('sentiment');\n window?.history?.pushState({}, '', url.toString());\n }\n return;\n }\n\n const appliedFilters = { ...filters };\n\n if (selectedStatus && selectedStatus !== ContactTotal.TOTAL) {\n const selectedStatusFromProspectHeader = statuses\n ?.filter((item) => !item.isHeaderFilter)\n ?.find((item) => item.id === selectedStatus);\n\n const isAppliedFilterAlreadyExist = appliedFilters?.status?.some(\n (item) => item.id === selectedStatus,\n );\n\n if (!isAppliedFilterAlreadyExist) {\n appliedFilters.status = [\n ...appliedFilters.status,\n selectedStatusFromProspectHeader || {\n id: selectedStatus,\n name: selectedStatus,\n isHeaderFilter: true,\n },\n ];\n }\n }\n\n /**\n * Handling a case where only startDate is selected.\n */\n const { 'created date': createdDate } = appliedFilters;\n if (createdDate.filter((dateObj) => dateObj.date).length !== 2) {\n appliedFilters['created date'] = [];\n setFilters(appliedFilters);\n }\n\n setProspectsFilters(appliedFilters);\n getProspects?.({\n pageNum: constants.DEFAULT_PAGE_NUM,\n pageSize: paginationOptions?.pageSize || constants.DEFAULT_PAGE_SIZE,\n });\n changeProspectPagination({\n ...paginationOptions,\n pageNum: constants.DEFAULT_PAGE_NUM,\n });\n getProspectsCount?.({});\n hide();\n\n handleClearSelection && handleClearSelection();\n };\n\n const handleCancel = () => {\n setFilters({ ...prospectsFilters });\n hide();\n };\n\n const handleResetUnifiedInbox = () => {\n setFilters(prospectsFiltersInitialState);\n resetProspectsFilters('all');\n\n if (handleClearAll) {\n handleClearAll();\n } else {\n const appliedFilters = { ...prospectsFiltersInitialState };\n getProspects?.(appliedFilters);\n changeProspectPagination({\n ...paginationOptions,\n pageNum: constants.DEFAULT_PAGE_NUM,\n });\n }\n\n hide();\n };\n\n const handleReset = () => {\n if (unifiedInboxContext) {\n handleResetUnifiedInbox();\n return;\n }\n\n setFilters(prospectsFiltersInitialState);\n resetProspectsFilters('all');\n\n if (handleClearAll) {\n handleClearAll();\n } else {\n getProspects?.({\n pageNum: constants.DEFAULT_PAGE_NUM,\n pageSize: paginationOptions.pageSize || constants.DEFAULT_PAGE_SIZE,\n });\n getProspectsCount({});\n changeProspectPagination({\n ...paginationOptions,\n pageNum: constants.DEFAULT_PAGE_NUM,\n });\n }\n\n hide();\n };\n\n const setTagFilters = (f: any[]) => {\n resolveAndSetFilters(Filters.Tags, f);\n };\n\n const setStatusFilters = (f: any[]) => {\n resolveAndSetFilters(Filters.Status, f);\n };\n\n const setOutcomeFilters = (selectedItems: any[]) => {\n if (unifiedInboxContext) {\n resolveAndSetFilters(Filters.Outcomes, selectedItems);\n } else {\n resolveAndSetFilters(Filters.Outcomes, selectedItems);\n }\n };\n\n const setOutComeFilterGroup = useCallback(\n (selectedItems: any[], isParentGroupSelected = false) => {\n const selectedItemsIdList = selectedItems?.map((i) => i.id);\n\n if (isParentGroupSelected) {\n const filteredOutcomes =\n filters?.[Filters.Outcomes]?.length > 0\n ? filters[Filters.Outcomes]?.filter(\n (i) => !selectedItemsIdList.includes(i.id),\n )\n : [];\n\n setOutcomeFilters(filteredOutcomes);\n } else {\n const filterItems = filters?.[Filters.Outcomes] || [];\n const notSelectedOutcomeItems =\n filterItems?.filter(\n (item) => !selectedItemsIdList?.includes(item.id),\n ) || [];\n\n setOutcomeFilters([...notSelectedOutcomeItems, ...selectedItems]);\n }\n },\n [filters],\n );\n\n const setCurrentStepFilters = (f: any[]) => {\n resolveAndSetFilters(Filters.CurrentStep, f);\n };\n\n const setVerificationStatusFilters = (f: any[]) => {\n resolveAndSetFilters(Filters.VerificationStatus, f);\n };\n\n const setTaskPriorityFilters = (f: any[]) => {\n resolveAndSetFilters(Filters.TaskPriority, f);\n };\n\n const setCreationSourceFilters = (f: any[]) => {\n resolveAndSetFilters(Filters.CreationSource, f);\n };\n\n const setimportedFileFilters = (f: any[]) => {\n resolveAndSetFilters(Filters.ImportedFile, f);\n };\n\n const setSequenceFilters = (f: any[]) => {\n resolveAndSetFilters(Filters.Sequences, f);\n };\n\n const setEmailAccountFilters = (f: any[]) => {\n resolveAndSetFilters(Filters.EmailAccount, f);\n };\n\n const setClientFilters = (f: any[]) => {\n resolveAndSetFilters(Filters.ClientAssociated, f);\n };\n\n const setOwnersFilters = (f: any[]) => {\n const filteredValue = f.map((item) => ({\n firstName: item?.label || item?.firstName,\n id: item.id,\n }));\n resolveAndSetFilters(Filters.Owners, filteredValue);\n };\n\n const getAllOutcomes = (_outcomes) => {\n if (isUniboxFilters) {\n if (!uniboxCategory?.length) {\n return [];\n }\n return uniboxCategory?.reduce((acc, item) => {\n const { sentiment } = item;\n\n let group = acc.find((i) => i?.label === sentiment);\n if (!group) {\n group = { label: sentiment, options: [] };\n acc.push(group);\n }\n\n group.options.push(item);\n\n return acc;\n }, []);\n }\n\n return _outcomes?.map((outcome) => ({\n name: outcome.name,\n id: outcome.id,\n }));\n };\n\n const setDateFilter = (f: any[]) => {\n const startDate = f[0];\n const endDate = f[1];\n\n resolveAndSetFilters(Filters.CreatedDate, [\n {\n date: f[0] && dateToString(startDate),\n displayDate: f[0] && getFormattedDate(startDate),\n },\n {\n date: f[1] && dateToString(endDate),\n displayDate: f[1] && getFormattedDate(endDate),\n },\n ]);\n };\n\n const sequenceOptions = () => {\n if (isUniboxFilters) {\n return uniboxSequences;\n }\n\n return isTasksFilter\n ? sequences\n : [\n {\n id: null,\n title: 'None (Not part of any sequence)',\n isNoneSequence: true,\n },\n ...sequences,\n ];\n };\n\n const emailAccountOptions = emails.length\n ? emails.map((email) => ({\n email: email?.fromEmail,\n id: email?.id,\n }))\n : [];\n\n const clientsOptions = clients.length\n ? clients.map((client) => ({\n email: getClientName(client, 60, {\n company: true,\n email: true,\n deleted: true,\n }),\n id: client?.id,\n }))\n : [];\n\n const mappedOwners = useMemo(\n () =>\n owners?.length\n ? owners.map((item) => ({\n ...item,\n firstName:\n `${item.firstName} ${item.lastName}`.trim() || item.email,\n value: item.id,\n }))\n : [],\n [owners],\n );\n\n const mappedStepsDetails = useMemo(\n () =>\n stepsDetails?.length\n ? stepsDetails.map((item) => ({\n id: item.id,\n name: `Step ${item.number}`,\n }))\n : [],\n [stepsDetails],\n );\n\n const renderRadioButton = (type: ConversationType) => {\n const labelClassNames = classNames({\n 'enabled-radio': conversationType === type,\n 'disabled-radio': conversationType !== type,\n });\n\n return (\n
    \n

    {getConversationTypeLabel(type)}

    \n
    \n );\n };\n\n const onShowConversationChange = (selectedValue: ConversationType) => {\n setConversationType(selectedValue);\n if (selectedValue === ConversationType.External) {\n setFilters({\n ...filters,\n 'client associated': [],\n owners: [],\n sequences: [],\n outcomes: [],\n });\n }\n };\n\n const isFilterDisabled = (filterName: string) =>\n conversationType === ConversationType.External &&\n filterName !== 'Client Associated' &&\n filterName !== 'Date' &&\n filterName !== 'Email Accounts';\n\n const isParentSelected = useCallback(\n (group) => {\n const groupOptions = group?.options;\n return groupOptions.every((option) =>\n filters?.[Filters.Outcomes]?.some((o) => o?.id === option?.id),\n );\n },\n [filters?.outcomes],\n );\n\n return (\n \n \n \n {t('labels.filters')}\n \n \n \n \n {filtersToDisplay.conversationType && (\n
    \n
    \n Show Conversation\n \n \n \n
    \n
    \n \n
    \n
    \n )}\n\n {hasPermission(Permissions.CLIENT_READ) &&\n isAgency() &&\n filtersToDisplay['client associated'] && (\n \n )}\n\n {filtersToDisplay.owners &&\n filtersToDisplay.sequences &&\n !isAgencyUser() &&\n (hasPermission(Permissions.ACCOUNT_USER_READ) ||\n hasPermission(Permissions.TEAM_USER_READ)) && (\n
    \n \n {unifiedInboxContext ? 'Sequence Owner' : 'Prospect Owner'}\n
    \n \n \n )}\n {filtersToDisplay.sequences && (\n \n )}\n {filtersToDisplay['email account'] && (\n \n )}\n {filtersToDisplay.status && (\n !item.isHeaderFilter)}\n placeholder=\"Search and Select Status\"\n values={\n filters.status?.filter((item) => !item.isHeaderFilter) || []\n }\n />\n )}\n {filtersToDisplay.outcomes && (\n {\n const { options } = group;\n const isParentGroupSelected = options?.length\n ? isParentSelected(group)\n : false;\n return (\n \n );\n },\n }\n : {})}\n />\n )}\n {filtersToDisplay['current step'] && (\n \n )}\n {filtersToDisplay.tags && (\n \n )}\n\n {filtersToDisplay['verification status'] && (\n \n )}\n\n {filtersToDisplay['task priority'] && (\n \n )}\n\n {filtersToDisplay['creation source'] && (\n \n )}\n\n {filtersToDisplay?.['imported file'] && (\n 0 ? importedFilesList : []}\n placeholder=\"Import File Name\"\n values={[...(filters?.['imported file'] || [])]}\n placement=\"auto\"\n />\n )}\n\n {(isATMOwnerList || isAgencyUser()) &&\n (hasPermission(Permissions.ACCOUNT_USER_READ) ||\n hasPermission(Permissions.TEAM_USER_READ)) && (\n \n )}\n {filtersToDisplay['created date'] && (\n \n )}\n
    \n \n
    \n \n {t('labels.clear_all')}\n \n
    \n \n {t('labels.cancel')}\n \n \n {t('labels.apply')}\n \n
    \n
    \n
    \n \n );\n};\n\nexport default memo(ProspectsFiltersModal);\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../../../../store/root-reducer';\n\nimport {\n ProspectsFilters,\n ProspectFilterResetArg,\n Filters,\n} from '../../../../../../../shared/types/prospects-filters';\nimport ProspectsFiltersModal from './prospects-filters-modal';\nimport withProspectsFiltersAPI from '../../../../../helpers/withProspectsFiltersAPI';\nimport { getContactSequenceListRequest } from '../../../../../../sequence/extra-actions';\nimport {\n ProspectPagination,\n ProspectParams,\n ProspectCountParams,\n} from '../../../../../types';\nimport {\n getImportedFilesListRequest,\n getStepDetailsListRequest,\n getTagsRequest,\n} from '../../../../../extra-actions';\nimport { ContactsPagination } from '../../../../../../sequence/types';\nimport {\n getMembersListRequest,\n getTeamsAndMembersListRequest,\n} from '../../../../../../settings/components/users-and-teams/extra-actions';\nimport { UserStatusKeys } from '../../../../../../settings/enums/users-and-teams';\nimport { changeProspectPagination } from '../../../../../prospect-slice';\nimport { getCustomOutcomeRequest } from '../../../../../../settings/components/custom-outcomes/extra-actions';\nimport { EmailInboxFilters } from '../../../../../../unified-inbox/type';\nimport {\n getEmailAccountsListForFilterRequest,\n getEmailCategoriesRequest,\n getSequencesListForFilterRequest,\n} from '../../../../../../unified-inbox/extra-actions';\nimport { getAgencyClientsDropdown } from '../../../../../../agency-client-management/extra-actions';\nimport { GetAgencyClientDropdownRequestPayload } from '../../../../../../agency-client-management/types/request-payload';\n\nexport type SelectContact = {\n status: boolean;\n row: any;\n};\n\nconst mapStateToProps = (state: RootState) => ({\n getProspectRequestStatus: state.prospect.getProspectRequest.status,\n getProspectRequestError: state.prospect.getProspectRequest.error,\n getProspectCountRequestStatus: state.prospect.getProspectCountRequest.status,\n getProspectCountRequestError: state.prospect.getProspectCountRequest.error,\n tags: state.prospect.tags,\n sequences: state.sequence.contactSequence,\n owners: state.usersAndTeams.membersList,\n teamsAndUsersList: state.usersAndTeams.teamsAndUsersList,\n allOutcomes: state.customOutcome.outcomes,\n stepsDetails: state.prospect.stepsDetails,\n\n getEmailAccountsListForFilterRequestStatus:\n state.unifiedInbox.getEmailAccountsListForFilterRequest.status,\n emails: state.unifiedInbox.emails,\n\n getAgencyClientsDropdownRequestStatus:\n state.agencyClient.getAgencyClientsDropdownRequest.status,\n getAgencyClientsDropdownRequestMessage:\n state.agencyClient.getAgencyClientsDropdownRequest.message,\n getAgencyClientsDropdownRequestError:\n state.agencyClient.getAgencyClientsDropdownRequest.error,\n clients: state.agencyClient.clients,\n\n uniboxSequences: state.unifiedInbox.sequences,\n uniboxCategory: state.unifiedInbox.emailCategories,\n importedFilesList: state?.prospect?.importedFilesList || [],\n});\n\nconst mapDispatchToProps = {\n sendGetSequenceList: () => getContactSequenceListRequest(),\n sendGetOwnersList: () =>\n getMembersListRequest([UserStatusKeys.Active, UserStatusKeys.Deleted]),\n sendGetTagsRequest: () => getTagsRequest(),\n sendGetTeamsAndMembersListRequest: () => getTeamsAndMembersListRequest(),\n sendGetAllOutcomesRequest: () => getCustomOutcomeRequest(),\n sendGetEmailAccounts: () => getEmailAccountsListForFilterRequest(),\n changeProspectPagination: (paginationOptions: ProspectPagination) =>\n changeProspectPagination(paginationOptions),\n sendGetStepDetailsListRequest: (sequenceId: string) =>\n getStepDetailsListRequest(sequenceId),\n sendGetAgencyClientsDropdownRequest: (\n payload: GetAgencyClientDropdownRequestPayload,\n ) => getAgencyClientsDropdown(payload),\n sendGetEmailCategoriesRequest: () => getEmailCategoriesRequest(),\n sendGetSequencesListForFilterRequest: () =>\n getSequencesListForFilterRequest(),\n getImportedFilesListRequest: () => getImportedFilesListRequest(''),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n show: boolean;\n hide: () => void;\n isUniboxFilters?: boolean;\n prospectsFilters: ProspectsFilters;\n getProspects: (params?: ProspectParams | EmailInboxFilters | any) => void;\n getProspectsCount: (params?: ProspectCountParams) => void;\n resetProspectsFilters: (payload: ProspectFilterResetArg) => void;\n setProspectsFilters: (filters: ProspectsFilters) => void;\n handleClearSelection?: VoidFunction;\n paginationOptions: ProspectPagination | ContactsPagination;\n unifiedInboxContext?: boolean;\n /**\n * Display all filters except\n */\n except?: Filters[];\n selectedStatus: string;\n isATMOwnerList?: boolean;\n isTasksFilter?: boolean;\n handleClearAll?: VoidFunction;\n sequenceId?: string;\n};\n\nexport default connector(withProspectsFiltersAPI(ProspectsFiltersModal));\n","import React from 'react';\n\nconst EmailVerificationError = ({ availableCredits, requiredCredits }) => {\n const accountCreditData = [\n {\n key: 'Available Verification Credits',\n value: availableCredits,\n },\n {\n key: 'Required Verification Credits',\n value: requiredCredits,\n },\n ];\n return (\n <>\n
    \n
    \n
    \n {accountCreditData.map((item) => (\n
    \n

    {item.key}

    \n

    {item.value}

    \n
    \n ))}\n
    \n
    \n
    \n \n );\n};\n\nexport default EmailVerificationError;\n","import React, { memo, useState, useEffect } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport EmailVerificationError from '../../atoms/email-verification-error/email-verification-error';\nimport { Images } from '../../../../app-constants';\nimport ImageIcon from '../../../../components/images/image-icon';\n\nconst ManualEmailVerification = ({\n availableCredits,\n requiredCredits,\n title,\n}) => {\n const { t } = useTranslation();\n const [\n isRenderEvPurchaseActionContent,\n setIsRenderEvPurchaseActionContent,\n ] = useState(false);\n\n useEffect(() => {\n setIsRenderEvPurchaseActionContent(requiredCredits > availableCredits);\n }, [availableCredits, requiredCredits]);\n\n const renderEvPurchaseActionContent = !isRenderEvPurchaseActionContent\n ? t('messages.email_verification_title')\n : t('messages.email_verification_action_required_message');\n\n return (\n
    \n {!isRenderEvPurchaseActionContent ? (\n <>\n {title && (\n
    \n Verifying \n {` ${requiredCredits} `}\n \n from the sequence\n {` \"${title}\" `}, Below are\n the two types of prospects to whom we recommend you to send\n emails.\n \n
    \n )}\n {!title && (\n
    \n {t('messages.help_remove_invalid_prospect')}
    \n {t('messages.two_types_of_prospect')}\n
    \n )}\n
    \n
    \n \n {t('messages.valid_prospect')}\n
    \n
    \n {t('messages.high_delivery_chances')}\n
    \n
    \n
    \n
    \n \n {t('messages.risky_prospect')}\n
    \n
    \n {t('messages.low_delivery_chances')}\n
    \n
    \n \n ) : (\n
    \n \n {title && t('messages.buy_email_credits_sequence_settings_message')}\n {!title && renderEvPurchaseActionContent}\n \n \n
    \n )}\n
    \n );\n};\n\nexport default memo(ManualEmailVerification);\n","import React, { memo } from 'react';\n\nimport Checkbox from '../../atoms/checkbox';\nimport EmailVerificationError from '../../atoms/email-verification-error';\n\nimport { Images } from '../../../../app-constants';\nimport { accessibleOnClick } from '../../../../utils/accessible-on-click';\nimport { supportUrls } from '../../../../utils/urls';\n\ntype IProps = {\n availableCredits: number;\n requiredCredits: number;\n showVerifyProspectCheckbox?: boolean;\n verifyProspect?: boolean;\n setVerifyProspect?: (value: boolean) => void;\n};\n\nconst ImportEmailVerification: React.FC = ({\n availableCredits,\n requiredCredits,\n showVerifyProspectCheckbox = false,\n verifyProspect,\n setVerifyProspect,\n}) => (\n
    \n
    \n \"Shield\"\n Email verification\n
    \n\n {showVerifyProspectCheckbox && (\n
    \n setVerifyProspect(checked)}\n />\n {\n setVerifyProspect(!verifyProspect);\n })}\n >\n Start Email verification after Import\n \n
    \n )}\n\n
    \n

    \n \n To ensure high deliverability and avoid spam, verify prospect emails\n before sending emails. Unverified emails can harm your sender\n reputation, increase bounce rate, and your emails may end up in spam.\n \n \n Learn more\n \n

    \n
    \n\n {verifyProspect && requiredCredits > availableCredits && (\n \n )}\n
    \n);\n\nexport default memo(ImportEmailVerification);\n","import React from 'react';\nimport ManualEmailVerification from './manual-email-verification';\nimport ImportEmailVerification from './import-email-verification';\nimport { EmailVerificationProcess } from './enum';\nimport { IProps } from './type';\n\nconst EmailVerificationContent: React.FC = ({\n verificationProcess = EmailVerificationProcess.Manual,\n availableCredits,\n requiredCredits,\n title,\n showVerifyProspectCheckbox,\n verifyProspect,\n setVerifyProspect,\n}) =>\n verificationProcess === EmailVerificationProcess.ImportFlow ? (\n \n ) : (\n \n );\n\nexport default EmailVerificationContent;\n","import React from 'react';\nimport classNames from 'classnames';\nimport { withRouter } from 'react-router';\nimport { ChevronDown, ChevronUp, Cross } from '@saleshandy/icons';\nimport type { IProps } from './agency-client-dropdown-container';\nimport Transfer from '../../../../shared/design-system/components/transfer';\nimport { AgencyClientFilter } from '../../types/types';\nimport { getClientName } from '../../helpers/helpers';\n\nconst AgencyClientDropdown: React.FC = ({\n options,\n optionRenderer,\n selectedOptionRenderer,\n selectedOptionClassName,\n onChange,\n initialSelectedOption,\n placement,\n isLoading,\n className,\n disabled,\n onRemoveAssociation,\n oldSelectedOption,\n onToggle: onToggleProp,\n}) => {\n const [show, setShow] = React.useState(false);\n\n const [\n selectedOption,\n setSelectedOption,\n ] = React.useState(initialSelectedOption);\n\n const onClientChange = (option) => {\n if (option) {\n setSelectedOption(option);\n setShow(false);\n onChange?.(option);\n }\n };\n\n const agencyClientWrapperClassName = classNames([\n 'agency-client-wrapper',\n {\n 'agency-client-disabled': disabled,\n 'agency-client-show': show,\n },\n ]);\n\n return (\n \n _options.filter(\n (option) =>\n option.companyName\n .toLowerCase()\n .includes(searchValue.toLowerCase()) ||\n option.firstName\n .toLowerCase()\n .includes(searchValue.toLowerCase()) ||\n option.lastName.toLowerCase().includes(searchValue.toLowerCase()) ||\n option.email.toLowerCase().includes(searchValue.toLowerCase()),\n )\n }\n selectedOptionKey={selectedOption.id}\n placement={placement}\n showSearch\n optionFilterProp=\"email\"\n searchPlaceholder=\"Search\"\n show={show}\n onToggle={(value) => {\n if (disabled) {\n setShow(false);\n } else {\n setShow(value);\n onToggleProp?.(value);\n }\n }}\n showOptionsSeparator={true}\n optionRenderer={optionRenderer}\n onChange={([option]) => onClientChange(option)}\n >\n {!selectedOptionRenderer ? (\n
    \n <>\n {initialSelectedOption?.id >= 0 ? (\n
    \n
    \n \n {getClientName(selectedOption, 45, {\n company: true,\n email: true,\n deleted: true,\n })}\n \n
    \n
    \n {onRemoveAssociation &&\n oldSelectedOption?.id === selectedOption?.id && (\n <>\n {\n if (!disabled) {\n e.preventDefault();\n e.stopPropagation();\n onRemoveAssociation?.();\n }\n }}\n className={\n disabled ? 'agency-cross-disabled' : 'agency-cross'\n }\n />\n \n \n )}\n {show ? : }\n
    \n
    \n ) : (\n
    \n
    \n Select Client \n
    \n
    \n {show ? : }\n
    \n
    \n )}\n \n
    \n ) : (\n
    \n {selectedOptionRenderer?.([selectedOption])}\n
    \n {show ? : }\n
    \n
    \n )}\n \n );\n};\n\nexport default withRouter(AgencyClientDropdown);\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps } from 'react-router';\nimport { IPropsComponent } from './types';\nimport { RootState } from '../../../../store/root-reducer';\nimport AgencyClientDropdown from './agency-client-dropdown';\nimport {\n AssignAgencyClientResourceRequestPayload,\n GetAgencyClientDropdownRequestPayload,\n GetSelectedAgencyClientRequestPayload,\n} from '../../types/request-payload';\nimport {\n getAgencyClientsDropdown,\n getSelectedAgencyClient,\n updateAssignAgencyClientResource,\n} from '../../extra-actions';\n\nconst mapStateToProps = (state: RootState) => ({\n getAgencyClientsDropdownRequestStatus:\n state.agencyClient.getAgencyClientsDropdownRequest.status,\n getAgencyClientsDropdownRequestMessage:\n state.agencyClient.getAgencyClientsDropdownRequest.message,\n getAgencyClientsDropdownRequestError:\n state.agencyClient.getAgencyClientsDropdownRequest.error,\n clients: state.agencyClient.clients,\n\n selectedAgencyClient: state.agencyClient.selectedAgencyClient,\n getSelectedAgencyClientsDropdownRequestStatus:\n state.agencyClient.selectedAgencyClientRequest.status,\n getSelectedAgencyClientsDropdownRequestMessage:\n state.agencyClient.selectedAgencyClientRequest.message,\n getSelectedAgencyClientsDropdownRequestError:\n state.agencyClient.selectedAgencyClientRequest.error,\n\n updateAssignAgencyClientResourceRequestStatus:\n state.agencyClient.updateAgencyClientResource.status,\n updateAssignAgencyClientResourceRequestMessage:\n state.agencyClient.updateAgencyClientResource.message,\n updateAssignAgencyClientResourceRequestError:\n state.agencyClient.updateAgencyClientResource.error,\n});\n\nconst mapDispatchToProps = {\n sendGetAgencyClientsDropdownRequest: (\n payload: GetAgencyClientDropdownRequestPayload,\n ) => getAgencyClientsDropdown(payload),\n sendGetSelectedAgencyClientRequest: (\n payload: GetSelectedAgencyClientRequestPayload,\n ) => getSelectedAgencyClient(payload),\n sendUpdateAssignAgencyClientResource: (\n payload: AssignAgencyClientResourceRequestPayload,\n ) => updateAssignAgencyClientResource(payload),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps &\n RouteComponentProps &\n IPropsComponent;\n\nexport default connector(AgencyClientDropdown);\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { useHistory } from 'react-router';\nimport { Images } from '../../app-constants';\nimport Button from '../../design-system/components/atoms/button';\nimport Modal from '../../design-system/components/atoms/modal';\nimport { Permissions } from '../../utils/access-control/enums/permissions';\nimport hasPermission from '../../utils/access-control/has-permission';\nimport { contactAdmin } from '../../utils/contact-admin';\nimport type { IProps } from './types';\nimport { Routes } from '../../routes';\n\nconst RestrictionErrorModal: React.FC = ({\n show,\n onClose,\n planName,\n restrictionOn,\n feature,\n firstName,\n}) => {\n const { t } = useTranslation();\n const history = useHistory();\n\n const onSubmit = () => {\n const emailSubject = `${t(\n 'messages.no_seat_available_email_subject_1',\n )} ${t('messages.no_seat_available_email_subject_2')}`;\n\n const emailBody = `Hello ${firstName}, %0D%0A %0D%0A ${t(\n 'messages.no_seat_available_email_body_1',\n )} ${t('messages.no_seat_available_email_body_2')} ${t(\n 'messages.no_seat_available_email_body_3',\n )} ${t('messages.no_seat_available_email_body_4')}`;\n\n if (hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)) {\n history.push(Routes.Setting_Billing_Upgrade_Email_Outreach_Plan);\n } else {\n contactAdmin(emailSubject, emailBody);\n }\n };\n\n return (\n \n \"Alert\"\n

    Oops, You have reached your maximum limit!

    \n \n }\n onSubmit={onSubmit}\n onClose={onClose}\n submitButtonText={\n hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)\n ? 'Upgrade Plan'\n : t('labels.contact_admin')\n }\n cancelButtonText={t('labels.cancel')}\n cancelButtonVarient={Button.Variant.Outlined}\n submitButtonClassName=\"header-btn\"\n backdrop=\"static\"\n >\n
    \n

    \n Currently, you are on Lifetime Deal with {planName}.\n

    \n

    \n As you have reached the maximum limit of {restrictionOn} you will not\n be able to add {feature} anymore.\n

    \n
    \n \n );\n};\n\nexport default RestrictionErrorModal;\n","import FeatureCodes from '../enums/feature-codes';\nimport { FeatureUsage } from '../types/feature-usage';\n\nexport const getAccountEmailSendingDetails = (featureUsages: FeatureUsage[]) =>\n featureUsages.find(\n ({ featureCode }) => featureCode === FeatureCodes.EmailSending,\n );\n","import React from 'react';\nimport { Spinner as BootstrapSpinner } from 'react-bootstrap';\n\nconst Spinner: React.FC = () => (\n
    \n \n
    \n);\n\nexport default Spinner;\n","import { EmailServiceProvider } from '../../components/email-accounts/enums/email-account';\n\nconst EmailAccountsESPLabel: Record = {\n [EmailServiceProvider.Gmail]: 'Google',\n [EmailServiceProvider.Gsuite]: 'Google',\n [EmailServiceProvider.Microsoft]: 'Microsoft',\n [EmailServiceProvider.O365]: 'Microsoft',\n [EmailServiceProvider.Yahoo]: 'Yahoo',\n [EmailServiceProvider.Zoho]: 'Zoho',\n [EmailServiceProvider.Godaddy]: 'Godaddy',\n [EmailServiceProvider.Yandex]: 'Yandex',\n [EmailServiceProvider.Sendgrid]: 'Sendgrid',\n [EmailServiceProvider.Other]: 'Other',\n};\n\nexport const getEmailServiceProviderGroups = () =>\n Object.entries(EmailAccountsESPLabel).reduce((acc, [provider, label]) => {\n const group = acc.find((g) => g.name === label);\n if (group) {\n group.value.push(provider);\n } else {\n acc.push({ key: label, name: label, value: [provider] });\n }\n return acc;\n }, []);\n\nexport const getLabelForEmailServiceProvider = (\n provider: EmailServiceProvider,\n) => EmailAccountsESPLabel[provider] || 'Other';\n\nexport const getLabelsForProviders = (providers: EmailServiceProvider[]) => {\n const labels = new Set(\n providers.map((provider) => EmailAccountsESPLabel[provider]),\n );\n\n return Array.from(labels);\n};\n","import React, { ReactNode } from 'react';\nimport { Mail, Checkbox, Signal, Whatsapp, Linkedin } from '@saleshandy/icons';\nimport { StepType } from '../enums';\nimport { isMultichannelActive } from '../../../shared/utils/user-details';\n\ntype StepTypes = {\n label: StepType;\n icon: ReactNode;\n bgColor: string;\n isHide?: boolean;\n};\n\nexport const stepBgColor = {\n [StepType.Email]: '#3B82F6',\n [StepType.LinkedIn]: '#178ACF',\n [StepType.Call]: '#8B5CF6',\n [StepType.WhatsApp]: '#65D072',\n [StepType.Task]: '#F97316',\n};\n\nexport const getStepTypeArray = (\n usedThemeColor = false,\n iconColor = '#FFFFFF',\n iconWidth = 18,\n iconHeight = 18,\n): StepTypes[] => [\n {\n label: StepType.Email,\n icon: (\n \n ),\n bgColor: stepBgColor[StepType.Email],\n isHide: false,\n },\n {\n label: StepType.LinkedIn,\n icon: (\n \n ),\n bgColor: stepBgColor[StepType.LinkedIn],\n isHide: !isMultichannelActive(),\n },\n {\n label: StepType.Call,\n icon: (\n \n ),\n bgColor: stepBgColor[StepType.Call],\n isHide: !isMultichannelActive(),\n },\n // {\n // label: StepType.WhatsApp,\n // icon: (\n // \n // ),\n // bgColor: stepBgColor[StepType.WhatsApp],\n // isHide: !isMultichannelActive(),\n // },\n {\n label: StepType.Task,\n icon: (\n \n ),\n bgColor: stepBgColor[StepType.Task],\n isHide: !isMultichannelActive(),\n },\n];\n","import React, { ReactNode, useEffect, useState } from 'react';\nimport { Spinner } from 'react-bootstrap';\nimport { withTranslation } from 'react-i18next';\nimport Select from '../../design-system/components/select';\nimport WarningMessage from '../../design-system/components/atoms/warning-message';\nimport Modal from '../../design-system/components/atoms/modal';\nimport { RequestStatus } from '../../enums/request-status';\nimport { executeOnRequestStatus } from '../../utils';\nimport {\n OverlayTooltip,\n Placement,\n} from '../../design-system/components/overlay';\n\ntype IProps = {\n show: boolean;\n contactSequenceList: any[];\n contactStepList: any[];\n isFetchingSequenceList: boolean;\n isSubmitRequestPending: boolean;\n isFetchingStepList: boolean;\n onSubmit: (selectedSequenceId, selectedStepId) => void;\n onHide: () => void;\n sendGetStepRequest: (selectedSequence) => void;\n sequence?: Record;\n showWarning?: boolean;\n t: (x: string) => ReactNode;\n className?: string;\n icon?: any;\n submitRequestStatus: RequestStatus;\n currentSequenceId?: number;\n};\n\ntype SequenceSelectDropDown = {\n key: number;\n name: string;\n id: number;\n};\ntype StepSelectDropDown = SequenceSelectDropDown;\n\ntype GetSequenceType = {\n title: string;\n id: number;\n};\n\nconst AddToSequenceModalDropDown: React.FC = ({\n show,\n contactSequenceList,\n contactStepList,\n isFetchingSequenceList,\n isFetchingStepList,\n isSubmitRequestPending,\n onSubmit,\n onHide,\n sendGetStepRequest,\n sequence,\n showWarning,\n className,\n icon,\n t,\n submitRequestStatus,\n currentSequenceId,\n}) => {\n const [selectedSequence, setSelectedSequence] = useState(0);\n const [selectedStep, setSelectedStep] = useState(0);\n\n useEffect(() => {\n if (selectedSequence !== 0) {\n setSelectedStep(0);\n sendGetStepRequest(selectedSequence);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [selectedSequence]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: submitRequestStatus,\n onFailed: () => {\n setSelectedSequence(0);\n setSelectedStep(0);\n },\n });\n }, [submitRequestStatus]);\n\n const sequenceSelect: SequenceSelectDropDown[] = contactSequenceList.map(\n // eslint-disable-next-line @typescript-eslint/no-shadow\n (sequence: GetSequenceType) => ({\n ...sequence,\n name: sequence.title,\n key: sequence.id,\n }),\n );\n\n const onAdd = () => {\n if (sequence && sequence.id) {\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n const selectedStepId = stepSelect.find(\n (step) => step.key === selectedStep,\n )?.id;\n onSubmit(sequence.id, selectedStepId);\n } else {\n const selectedSequenceId = sequenceSelect.find(\n // eslint-disable-next-line @typescript-eslint/no-shadow\n (sequence) => sequence.key === selectedSequence,\n )?.id;\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n const selectedStepId = stepSelect.find(\n (step) => step.key === selectedStep,\n )?.id;\n onSubmit(selectedSequenceId, selectedStepId);\n }\n };\n\n let absoluteDay = 1;\n const stepSelect: StepSelectDropDown[] = contactStepList.map((step) => {\n absoluteDay += step.relativeDays;\n return {\n id: step.id,\n name: `Step ${step.number} - Day ${absoluteDay}`,\n key: step.id,\n };\n });\n return (\n \n {icon &&
    {icon}
    }\n

    Add To Sequence

    \n \n }\n onClose={onHide}\n onSubmit={onAdd}\n submitButtonText=\"Add\"\n isSubmitDisabled={\n (sequence && sequence.id === 0 && selectedSequence === 0) ||\n selectedStep === 0 ||\n isSubmitRequestPending\n }\n isSubmitLoading={isSubmitRequestPending}\n backdrop=\"static\"\n extraModalProps={{\n 'aria-labelledby': 'contained-modal-title-vcenter',\n centered: true,\n }}\n >\n <>\n
    Sequence
    \n \n options={sequenceSelect}\n selectedOptionKey={selectedSequence}\n className=\"sequence-select-dropdown\"\n optionRenderer={(option) => {\n if (currentSequenceId && option.id === currentSequenceId) {\n return (\n \n
    \n {option?.name}\n (Current Sequence)\n
    \n \n );\n }\n return {option?.name};\n }}\n showOptionsSeparator={true}\n selectedOptionRenderer={([option]) => {option?.name}}\n onChange={([option]) => setSelectedSequence(option.key)}\n placeholder={\n sequence && sequence.id ? `${sequence.name}` : 'Select Sequence'\n }\n disabled={isFetchingSequenceList || (sequence && !!sequence.id)}\n />\n {isFetchingSequenceList && (\n
    \n \n
    \n )}\n\n
    Sequence Steps
    \n \n options={stepSelect}\n selectedOptionKey={selectedStep}\n optionRenderer={(option) => {option?.name}}\n showOptionsSeparator={true}\n selectedOptionRenderer={([option]) => {option?.name}}\n onChange={([option]) => setSelectedStep(option.key)}\n disabled={contactStepList.length === 0}\n placeholder=\"Select Step of Sequence\"\n />\n {isFetchingStepList && (\n
    \n \n
    \n )}\n {showWarning && (\n \n )}\n \n \n );\n};\n\nexport default withTranslation()(AddToSequenceModalDropDown);\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { Images } from '../../../../../../../shared/app-constants';\nimport Button from '../../../../../../../shared/design-system/components/atoms/button';\nimport Modal from '../../../../../../../shared/design-system/components/atoms/modal';\nimport { checkIsLtdPlan } from '../../../../../../../shared/design-system/components/molecules/subscription-plan-details/helper/helper';\nimport { redirectWithoutRefresh } from '../../../../../../../shared/utils';\nimport { Permissions } from '../../../../../../../shared/utils/access-control/enums/permissions';\nimport hasPermission from '../../../../../../../shared/utils/access-control/has-permission';\nimport { contactAdmin } from '../../../../../../../shared/utils/contact-admin';\nimport { getUpgradePlanCTA } from '../../../../../../../shared/utils/get-upgrade-cta';\nimport { openChatSupport } from '../../../../../../../shared/utils/open-chat-support';\nimport store from '../../../../../../../store';\nimport type { IProps } from './types';\nimport { Routes } from '../../../../../../../shared/routes';\nimport { isWhiteLabel } from '../../../../../../../shared/utils/user-details';\n\nconst RestrictionErrorModal: React.FC = ({\n show,\n modalTitle,\n cancelButtonText,\n submitButtonText,\n bodyContent,\n emailBody,\n onClose,\n onHide,\n}) => {\n const { t } = useTranslation();\n\n const openHelpScoutBeacon = () => {\n openChatSupport();\n };\n\n const onSubmit = () => {\n const state = store.getState();\n const planType = state.home?.subscription?.planType;\n\n if (checkIsLtdPlan(planType)) {\n openHelpScoutBeacon();\n return;\n }\n\n const emailSubject = isWhiteLabel()\n ? 'Request to upgrade plan'\n : `${t('messages.upgrade_plan_error_email_subject')}`;\n\n if (hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)) {\n redirectWithoutRefresh(\n Routes.Setting_Billing_Upgrade_Email_Outreach_Plan,\n );\n } else {\n contactAdmin(emailSubject, emailBody);\n }\n };\n\n return (\n \n \"Alert\"\n

    {modalTitle || 'Upgrade to import more prospects'}

    \n \n }\n showCloseIcon\n onSubmit={onSubmit}\n onClose={onHide || onClose}\n onCancel={onClose}\n submitButtonText={\n submitButtonText ?? t(`labels.${getUpgradePlanCTA(true)}`)\n }\n cancelButtonText={cancelButtonText || 'Cancel'}\n cancelButtonVarient={Button.Variant.Outlined}\n submitButtonClassName=\"header-btn\"\n backdrop=\"static\"\n >\n
    \n {bodyContent.map((text) => (\n

    {text}

    \n ))}\n
    \n \n );\n};\n\nexport default RestrictionErrorModal;\n","import React from 'react';\nimport { Modal } from 'react-bootstrap';\nimport { useTranslation } from 'react-i18next';\n\nimport { IProps } from './types';\nimport Button from '../../../../../shared/design-system/components/atoms/button';\nimport { Images } from '../../../../../shared/app-constants';\nimport ImageIcon from '../../../../../shared/components/images/image-icon';\nimport Icon from '../../../../../shared/design-system/components/atoms/icon/icon';\nimport { redirectWithoutRefresh } from '../../../../../shared/utils/redirect';\nimport { accessibleOnClick } from '../../../../../shared/utils/accessible-on-click';\nimport hasPermission from '../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../shared/utils/access-control/enums/permissions';\nimport { openChatSupport } from '../../../../../shared/utils/open-chat-support';\nimport { Routes } from '../../../../../shared/routes';\n\nconst ReachedEmailSendingLimitModal: React.FC = ({ onClose }) => {\n const { t } = useTranslation();\n\n const handlerUpgrade = () => {\n redirectWithoutRefresh(Routes.Setting_Billing_Upgrade_Email_Outreach_Plan);\n };\n\n const onNeedHelp = () => {\n onClose();\n\n // Open chat\n openChatSupport();\n };\n\n return (\n \n \n
    \n
    \n \n Upgrade plan\n
    \n\n
    \n \n
    \n
    \n\n
    \n

    \n {t('messages.reached_email_sending_limit_message_one')}\n

    \n {hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ) ? (\n

    \n {t('messages.reached_email_sending_limit_message_two')}\n

    \n ) : (\n

    \n {t('messages.reached_email_sending_limit_message_for_member')}\n

    \n )}\n
    \n
    \n\n {hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ) && (\n \n \n\n \n \n )}\n \n );\n};\n\nexport default ReachedEmailSendingLimitModal;\n","export enum Stage {\n SelectFile = 'select-file',\n MapFields = 'map-fields',\n EmailVerification = 'email-verification',\n}\n\nexport type StageOption = {\n label: string;\n value: Stage;\n disabled?: boolean;\n};\n\nexport const stageOptions: StageOption[] = [\n {\n label: 'Upload file',\n value: Stage.SelectFile,\n },\n {\n label: 'Map Fields',\n value: Stage.MapFields,\n },\n {\n label: 'Review and Import',\n value: Stage.EmailVerification,\n },\n];\n","// eslint-disable-next-line import/prefer-default-export\nexport enum FileConfig {\n MaxFileSizeInMB = 95,\n MaxRows = 100000,\n MaxColumns = 120,\n}\n","import React, { useRef } from 'react';\nimport classNames from 'classnames';\nimport { useTranslation } from 'react-i18next';\nimport { FileUploaderProps } from './types';\nimport { ProductTour } from '../../../../../../../../../../shared/enums/product-tour';\n\nconst FileUploader = ({\n className,\n fileTypes = '.csv, text/csv',\n onSelect,\n}: FileUploaderProps) => {\n const inputRef = useRef(null);\n\n const fileUploaderClass = classNames(['file-uploader', className]);\n\n const clickInput = () => inputRef.current.click();\n\n const inputChangeHandler = ({ target: { files } }) =>\n files.length > 0 && onSelect(files[0]);\n\n const { t } = useTranslation();\n return (\n \n
    {t(`Choose a file`)}
    \n \n \n );\n};\n\nexport default FileUploader;\n","export enum DefaultFields {\n Email = 'Email',\n firstName = 'First Name',\n lastName = 'Last Name',\n}\n","import React, { useState } from 'react';\nimport Papa from 'papaparse';\nimport { DragAndDrop } from '@saleshandy/design-system';\nimport classNames from 'classnames';\nimport { useTranslation } from 'react-i18next';\nimport FileUploader from '../file-uploader';\nimport { PreSelectProps } from './types';\nimport toaster, { Theme } from '../../../../../../../../../../shared/toaster';\nimport { FileConfig } from '../../enum';\nimport UploadCloud from '../../../../../../../../../../shared/components/images/upload-cloud';\n\nconst allowedExtensions = ['csv'];\n\nconst PreSelect = ({ onSelectSuccess }: PreSelectProps) => {\n const [fileUploaderKey, setFileUploaderKey] = useState(0);\n const [dragging, setDragging] = useState(false);\n\n const resetFileUploader = () => setFileUploaderKey(1 - fileUploaderKey);\n\n const showFailedMessage = (message: string) =>\n toaster.error(message, { theme: Theme.New });\n\n const failureHandler = (message: string) => {\n showFailedMessage(message);\n resetFileUploader();\n };\n\n const onFileSelect = (file) => {\n let headers;\n let firstRow;\n let count = 0;\n let failedMessage;\n\n const extension: string[] = file?.name?.split('.');\n\n if (!extension || extension.length === 0) {\n failedMessage = `File extension is not available.`;\n return failureHandler(failedMessage);\n }\n\n if (\n !allowedExtensions.includes(\n extension[extension.length - 1].trim().toLowerCase(),\n )\n ) {\n failedMessage = `The file type you are trying to upload is not supported.`;\n return failureHandler(failedMessage);\n }\n\n if (file.size > FileConfig.MaxFileSizeInMB * 1024 * 1024) {\n failedMessage = `File size must be less than ${FileConfig.MaxFileSizeInMB} MB`;\n return failureHandler(failedMessage);\n }\n Papa.parse(file, {\n step: ({ data }, parser) => {\n if (count > FileConfig.MaxRows) {\n failedMessage = `Maximum ${FileConfig.MaxRows} prospects are allowed`;\n return parser.abort();\n }\n if (count === 0) {\n headers = data;\n if (headers.length > FileConfig.MaxColumns) {\n failedMessage = `Maximum ${FileConfig.MaxColumns} columns are allowed`;\n return parser.abort();\n }\n }\n if (count === 1) {\n firstRow = data;\n }\n count += 1;\n\n return null;\n },\n complete: () => {\n if (!failedMessage && !firstRow) {\n failedMessage = 'At least 1 prospect is required';\n }\n if (failedMessage) {\n return failureHandler(failedMessage);\n }\n onSelectSuccess(file, headers, firstRow, count);\n\n return null;\n },\n skipEmptyLines: 'greedy',\n });\n\n return null;\n };\n\n const dragAndDropClassName = classNames([\n {\n dragging,\n },\n ]);\n\n const { t } = useTranslation();\n\n return (\n onFileSelect(files[0])}\n backgroundVariant=\"solid\"\n title={t('messages.drop_your_csv_here')}\n className={dragAndDropClassName}\n >\n
    \n
    \n \n
    \n \n {t('messages.drag_and_drop_csv')}\n \n OR\n\n \n
    \n \n );\n};\n\nexport default PreSelect;\n","import React from 'react';\nimport { CloudUpload } from '@saleshandy/icons';\nimport { PostSelectProps } from './types';\nimport Icon from '../../../../../../../../../../shared/design-system/components/atoms/icon/icon';\nimport ImageIcon from '../../../../../../../../../../shared/components/images/image-icon';\nimport { Images } from '../../../../../../../../../../shared/app-constants';\nimport { accessibleOnClick } from '../../../../../../../../../../shared/utils/accessible-on-click';\n\nconst PostSelect = ({\n fileName,\n onRemove,\n csvError: { error, message_one, message_two },\n}: PostSelectProps) => (\n
    \n
    \n \n
    \n\n
    {fileName}
    \n\n
    \n {error ? (\n <>\n \n Import failed\n \n ) : (\n <>\n \n Successfully uploaded.\n \n )}\n
    \n\n {error && (\n

    \n {message_one}\n {message_two}\n

    \n )}\n\n
    \n {error ? (\n <>\n \n Upload again\n \n ) : (\n <>\n \n Remove file\n \n )}\n
    \n
    \n);\n\nexport default PostSelect;\n","import React, { useCallback, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport classNames from 'classnames';\nimport { Button } from '@saleshandy/design-system';\nimport { Download } from '@saleshandy/icons';\n\nimport PreSelect from './components/pre-select';\nimport PostSelect from './components/post-select';\nimport toaster, { Theme } from '../../../../../../../../shared/toaster';\n\nimport { FileData, SelectFileProps } from './types';\nimport { constants } from '../../../../../../../../shared/enums/constants';\nimport { ProductTour } from '../../../../../../../../shared/enums/product-tour';\nimport { isWhiteLabel } from '../../../../../../../../shared/utils/user-details';\n\nconst SelectFile = ({\n onFinish,\n onClose,\n handleCSVImport,\n}: SelectFileProps) => {\n const [fileData, setFileData] = useState(null);\n const [csvError, setCsvError] = useState<{\n error: boolean;\n message_one: string;\n message_two: string;\n }>({\n error: false,\n message_one: '',\n message_two: '',\n });\n\n const onRemoveHandler = () => {\n setFileData(null);\n\n if (csvError) {\n setCsvError({\n error: false,\n message_one: '',\n message_two: '',\n });\n }\n };\n\n const hasMoreThanTwoEmptyStrings = (arr: string[]) => {\n const emptyStringsCount = arr.filter((item) => item === '').length;\n return emptyStringsCount >= 2;\n };\n\n const hasMoreThanTwoIdenticalNonEmptyStrings = (arr: string[]) => {\n const nonEmptyArray = arr.filter((item) => item !== '');\n\n return nonEmptyArray.some(\n (item, index) => nonEmptyArray.indexOf(item) !== index,\n );\n };\n\n const onSelectSuccess = useCallback(\n (file, headers, firstRow, count) => {\n const payload = {\n file,\n headers,\n firstRow,\n importedContactsCount: count - 1,\n };\n\n handleCSVImport(payload);\n setFileData(payload);\n\n const hasEmptyValues = hasMoreThanTwoEmptyStrings(headers);\n const hasDuplicateValues = hasMoreThanTwoIdenticalNonEmptyStrings(\n headers,\n );\n\n if (hasEmptyValues && hasDuplicateValues) {\n setCsvError({\n error: true,\n message_one:\n 'The uploaded file has duplicate column headers and blank columns between data columns.',\n message_two: 'Please fix this and re-upload the file.',\n });\n } else if (hasEmptyValues) {\n setCsvError({\n error: true,\n message_one:\n 'The uploaded file has multiple blank columns between data columns.',\n message_two: 'Please remove them and re-upload the file.',\n });\n } else if (hasDuplicateValues) {\n setCsvError({\n error: true,\n message_one: 'The uploaded file has duplicate column headers.',\n message_two:\n 'Please ensure the column header is unique and re-upload the file.',\n });\n }\n\n if (hasEmptyValues || hasDuplicateValues) {\n toaster.error('Import prospect CSV failed', { theme: Theme.New });\n } else {\n toaster.success(`${file.name} file selected successfully`, {\n theme: Theme.New,\n });\n }\n },\n [setFileData],\n );\n\n const onContinue = () => onFinish(fileData);\n const { t } = useTranslation();\n\n const clsNames = classNames([\n 'select-file import-contact-stage',\n {\n 'pre-select-stage': !fileData,\n 'post-select-stage': fileData,\n 'csv-error': csvError.error,\n },\n ]);\n\n return (\n <>\n
    \n {!fileData ? (\n
    \n \n
    \n ) : (\n
    \n \n
    \n )}\n
    \n
    \n \n \n \n \n {t(`Try sample file`)}\n \n
    \n
    \n \n {t(`Cancel`)}\n \n \n {t(`Next`)}\n \n
    \n
    \n
    \n \n );\n};\n\nexport default SelectFile;\n","export const headerLikeEmail = [\n 'email address',\n 'email_address',\n 'email',\n 'email id',\n];\n\nexport const headerLikeFirstName = ['first name', 'first_name', 'firstname'];\n\nexport const headerLikeLastName = ['last name', 'last_name', 'lastname'];\n","/* eslint-disable @typescript-eslint/no-shadow */\nimport React, { useState, useEffect } from 'react';\nimport { Alert, Button } from '@saleshandy/design-system';\nimport { AlertCircle } from '@saleshandy/icons';\n\nimport type { IProps } from './email-verification-container';\n\nimport ImageIcon from '../../../../../../../../shared/components/images/image-icon';\nimport EmailVerificationContent from '../../../../../../../../shared/design-system/components/molecules/email-verification-content';\nimport TagProspectsContent from '../../../../../../../../shared/design-system/components/molecules/tag-prospects-content/tag-prospects-content';\nimport { parseTagPayload } from '../../../../../../../../shared/utils/tags-payload-parser';\nimport { EmailVerificationProcess } from '../../../../../../../../shared/design-system/components/molecules/email-verification-content/enum';\nimport { Images } from '../../../../../../../../shared/app-constants';\nimport { RequestStatus } from '../../../../../../../../shared/enums/request-status';\nimport { ProductTour } from '../../../../../../../../shared/enums/product-tour';\nimport { accessibleOnClick } from '../../../../../../../../shared/utils/accessible-on-click';\n\nenum ButtonIdentifier {\n SKIP_VERIFICATION = 'skip',\n CONTINUE_VERIFICATION = 'continue',\n}\n\nconst EmailVerification: React.FC = ({\n onClick,\n tags,\n fileData,\n onBuyNow,\n isPurchaseEmailVerificationCreditsLoading,\n sendGetEmailVerificationCreditsRequestStatus,\n getEmailVerificationCreditsResponse,\n sendGetTagsRequest,\n isEmailVerification,\n handleOnFinishWithoutVerification,\n isRequestPending,\n sendGetEmailVerificationCreditsRequest,\n}) => {\n const [includeRiskyContact] = useState(false);\n\n const [buttonIdentifier, setButtonIdentifier] = useState(null);\n\n const [tagsToAdd, setTagsToAdd] = useState([]);\n const [\n isEvPurchaseActionRequired,\n setIsEvPurchaseActionRequired,\n ] = useState(false);\n const [remainingCredit, setRemainingCredit] = useState(0);\n const [isRenderContentLoading, setIsRenderContentLoading] = useState(\n true,\n );\n const [verifyProspect, setVerifyProspect] = useState(true);\n\n const onButtonClickHandler = (\n includeRiskyContact: boolean,\n addVerification: boolean,\n buttonIdentifier: ButtonIdentifier,\n ) => {\n setButtonIdentifier(buttonIdentifier);\n onClick(includeRiskyContact, addVerification, parseTagPayload(tagsToAdd));\n };\n\n const buyCreditsHandler = () => {\n if (!isPurchaseEmailVerificationCreditsLoading) {\n setButtonIdentifier(null);\n onBuyNow(remainingCredit);\n }\n };\n\n useEffect(() => {\n if (isEmailVerification) {\n const { importedContactsCount } = fileData;\n const { creditsAvailable } = getEmailVerificationCreditsResponse || {\n creditsAvailable: 0,\n };\n const isActionRequired = importedContactsCount > creditsAvailable;\n\n setIsEvPurchaseActionRequired(isActionRequired);\n\n if (isActionRequired) {\n setRemainingCredit(importedContactsCount - creditsAvailable);\n }\n }\n }, [isEmailVerification, getEmailVerificationCreditsResponse, fileData]);\n\n useEffect(() => {\n sendGetTagsRequest();\n }, []);\n\n useEffect(() => {\n if (isEmailVerification) {\n sendGetEmailVerificationCreditsRequest();\n }\n }, [isEmailVerification]);\n\n useEffect(() => {\n const isLoading =\n isEmailVerification &&\n sendGetEmailVerificationCreditsRequestStatus === RequestStatus.Pending &&\n getEmailVerificationCreditsResponse === null;\n\n setIsRenderContentLoading(isLoading);\n }, [\n isEmailVerification,\n sendGetEmailVerificationCreditsRequestStatus,\n getEmailVerificationCreditsResponse,\n ]);\n\n const renderButton = () => {\n if (!isEmailVerification) {\n // Case: Email verification is OFF in admin setting\n return (\n \n handleOnFinishWithoutVerification(parseTagPayload(tagsToAdd))\n }\n isLoading={isRequestPending}\n disabled={isRequestPending}\n loadingText=\"Importing...\"\n >\n Import\n \n );\n }\n\n // Cases: When email verification is ON in admin setting\n if (!verifyProspect) {\n // Case 1: User want to skip verification\n return (\n \n onButtonClickHandler(\n includeRiskyContact,\n false,\n ButtonIdentifier.SKIP_VERIFICATION,\n )\n }\n isLoading={buttonIdentifier === ButtonIdentifier.SKIP_VERIFICATION}\n disabled={buttonIdentifier === ButtonIdentifier.SKIP_VERIFICATION}\n loadingText=\"Importing...\"\n >\n Import\n \n );\n }\n\n // Case: User want to verify prospects, and user does have the required credits\n return (\n \n onButtonClickHandler(\n includeRiskyContact,\n true,\n ButtonIdentifier.CONTINUE_VERIFICATION,\n )\n }\n isLoading={buttonIdentifier === ButtonIdentifier.CONTINUE_VERIFICATION}\n disabled={\n buttonIdentifier === ButtonIdentifier.CONTINUE_VERIFICATION ||\n isEvPurchaseActionRequired\n }\n loadingText=\"Importing...\"\n >\n Import\n \n );\n };\n\n return (\n
    \n
    \n \n\n {isEmailVerification && (\n
    \n {!isRenderContentLoading ? (\n <>\n \n\n {verifyProspect && isEvPurchaseActionRequired && (\n \n

    \n To send emails to only verified prospects\n

    \n {\n buyCreditsHandler();\n })}\n >\n Add Credits\n

    \n
    \n }\n />\n )}\n \n ) : (\n
    \n \n
    \n )}\n
    \n )}\n
    \n\n {!isRenderContentLoading && (\n
    \n
    \n\n
    \n {renderButton()}\n
    \n
    \n )}\n
    \n );\n};\n\nexport default EmailVerification;\n","import _ from 'lodash';\nimport { isString } from '../../../../../../../../../../../shared/utils';\nimport { FieldType } from '../../../../../../../../../../settings/enums/field';\n\nexport const isRowDataTypeValid = (\n fieldType: FieldType,\n rowData: string,\n): boolean => {\n if (fieldType === FieldType.Number) {\n return !_.isNaN(rowData);\n }\n\n if (fieldType === FieldType.Text) {\n return isString(rowData);\n }\n\n return true;\n};\n","import React, { useEffect } from 'react';\nimport { Row } from 'react-bootstrap';\nimport { useTranslation } from 'react-i18next';\nimport Icon from '../../../../../../../../../../shared/design-system/components/atoms/icon/icon';\nimport Select from '../../../../../../../../../../shared/design-system/components/select';\nimport { MapListProps } from './types';\nimport { FieldOption } from '../../map-fields';\nimport {\n headerLikeEmail,\n headerLikeFirstName,\n headerLikeLastName,\n} from './utils/possible-csv-default-headers';\nimport { DefaultFields } from './enums/default-fields';\nimport {\n Overlay,\n Placement,\n Tooltip,\n} from '../../../../../../../../../../shared/design-system/components/overlay';\nimport { isRowDataTypeValid } from './utils/field-type-validator';\nimport { accessibleOnClick } from '../../../../../../../../../../shared/utils/accessible-on-click';\n\nconst MapList = ({\n headers,\n firstRow,\n fieldKeys,\n fieldOptions,\n onFieldRemove,\n onFieldChange,\n setFieldKeys,\n customFieldFooter,\n}: MapListProps) => {\n useEffect(() => {\n const suggestedCustomFields = fieldOptions.map((item) => {\n if (item.isDefault) {\n if (item.label === DefaultFields.Email) {\n return {\n id: item.id,\n suggested: headerLikeEmail,\n fieldType: item.fieldType,\n };\n }\n if (item.label === DefaultFields.firstName) {\n return {\n id: item.id,\n suggested: headerLikeFirstName,\n fieldType: item.fieldType,\n };\n }\n if (item.label === DefaultFields.lastName) {\n return {\n id: item.id,\n suggested: headerLikeLastName,\n fieldType: item.fieldType,\n };\n }\n }\n return {\n id: item.id,\n suggested: [item.label.toLowerCase().trim()],\n };\n });\n\n const keyFieldMap = [...fieldKeys];\n\n headers.forEach((header, index) => {\n const currentHeader = header\n .split(' ')\n .map((item) => item.trim())\n .filter(Boolean)\n .join(' ');\n suggestedCustomFields.forEach((item) => {\n if (item.suggested.includes(currentHeader.toLowerCase().trim())) {\n keyFieldMap[index] = item.id;\n if (firstRow?.[index]) {\n firstRow[index].isTypeValid = isRowDataTypeValid(\n item.fieldType,\n firstRow[index]?.value || '',\n );\n }\n }\n });\n });\n setFieldKeys(keyFieldMap);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const { t } = useTranslation();\n\n const iconJsx = (row) =>\n row?.isTypeValid ? (\n \n ) : (\n }\n >\n \n \n );\n\n return (\n
    \n
    \n \n
    {t(`Fields from file`)}
    \n
    {t(`Sample`)}
    \n
    \n
    {t(`Fields`)}
    \n
    \n
    \n {headers.map((header, index) => (\n // eslint-disable-next-line react/no-array-index-key\n
    \n
    \n
    \n {header}\n
    \n \n {firstRow[index]?.value || ''}\n\n {firstRow[index]?.isTypeValid === null\n ? null\n : iconJsx(firstRow[index])}\n
    \n
    \n
    \n {(fieldKeys[index] || fieldKeys[index] === 0) && (\n onFieldRemove(index))}\n >\n \n
    \n )}\n
    \n \n selectedOptionRenderer={([option]) => (\n {option?.label}\n )}\n optionRenderer={(option) => {option?.label}}\n options={fieldOptions.filter(\n // Show only non-selected fields (and the currently selected field)\n (option) =>\n !fieldKeys.includes(option.key) ||\n option.key === fieldKeys[index],\n )}\n onChange={([{ key, fieldType }]) =>\n onFieldChange(index, key, fieldType)\n }\n selectedOptionKey={fieldKeys[index]}\n placeholder=\"Select Field\"\n className=\"map-field-select\"\n />\n
    \n
    \n
    \n ))}\n \n
    {customFieldFooter}
    \n \n );\n};\nexport default MapList;\n","import { ConflictAction } from '../../../../../../enums/contact';\n\nexport type ConflictActionOption = {\n key: number;\n label: string;\n value: ConflictAction;\n text: string;\n};\n\nexport const conflictActionOptions: ConflictActionOption[] = [\n {\n key: 1,\n label: 'Update Missing Fields',\n value: ConflictAction.AddMissingFields,\n text:\n 'Only updates fields that are missing in your existing prospects with details from the CSV.',\n },\n {\n key: 2,\n label: 'Overwrite',\n value: ConflictAction.Overwrite,\n text:\n 'Replaces all existing prospect field details with new information from the CSV.',\n },\n {\n key: 3,\n label: 'Skip Existing Prospects',\n value: ConflictAction.NoUpdate,\n text:\n 'Keeps existing prospect field details unchanged and does not apply any updates.',\n },\n];\n","import React from 'react';\nimport { Images } from '../app-constants';\nimport ImageIcon from './images/image-icon';\n\nconst InfoCircle = () => (\n \n);\n\nexport default InfoCircle;\n","/* eslint-disable react-hooks/exhaustive-deps */\nimport React, { useCallback, useEffect, useState } from 'react';\nimport { Container, Row } from 'react-bootstrap';\nimport { showLoading, hideLoading } from 'react-redux-loading-bar';\nimport { useTranslation, withTranslation } from 'react-i18next';\nimport { Button } from '@saleshandy/design-system';\nimport { IProps } from './types';\nimport Select from '../../../../../../../../shared/design-system/components/select';\nimport toaster from '../../../../../../../../shared/toaster';\nimport {\n OverlayTooltip,\n Placement,\n} from '../../../../../../../../shared/design-system/components/overlay';\nimport MapList from './components/map-list';\nimport { MapConfig } from '../../../../../../types';\nimport { Field } from '../../../../../../../settings/types/field';\nimport { getEmailField } from '../../../../../../helpers/field';\nimport { ConflictActionOption, conflictActionOptions } from './conflict-action';\nimport { ConflictAction } from '../../../../../../enums';\nimport { isRowDataTypeValid } from './components/map-list/utils/field-type-validator';\nimport AddToStepSelect from '../../../../../../shared/add-to-step-select';\nimport { SequenceStepOption } from '../../../../../../shared/add-to-step-select/add-to-step-select';\nimport CreateProspectCustomFieldModal from '../../../../../../../settings/components/custom-fields/components/generic-create-update-custom-field-modal/prospect-modal/create-prospect-custom-field-modal';\nimport { ProspectType } from '../../../../../../../settings/enums/prospect-type';\nimport { CreateUpdateModalData } from '../../../../../../../settings/components/custom-fields/types';\nimport { RequestStatus } from '../../../../../../../../shared/enums/request-status';\nimport store from '../../../../../../../../store';\nimport { usePrevious } from '../../../../../../../../shared/utils/hooks';\nimport { SHModules } from '../../../../../../../../shared/enums/module';\nimport InfoCircle from '../../../../../../../../shared/components/info-circle';\nimport hasResource from '../../../../../../../../shared/utils/access-control/has-resource';\nimport { ResourceIdentifiers } from '../../../../../../../../shared/utils/access-control/enums/resource-identifiers';\nimport { ProductTour } from '../../../../../../../../shared/enums/product-tour';\n\nexport type FieldOption = Field & {\n key: number;\n};\n\nconst MapFields: React.FC = ({\n headers,\n firstRow,\n fields,\n onFinish,\n isRequestPending,\n steps,\n sendCreateCustomFieldRequest,\n isLoading,\n sendGetContactFieldsRequest,\n createCustomFieldRequestStatus,\n createCustomFieldRequestMessage,\n createCustomFieldRequestError,\n resetCreateCustomFieldRequest,\n fromModule,\n onClose,\n}) => {\n const [fieldKeys, setFieldKeys] = useState(\n Array(headers.length).fill(null),\n );\n\n const fieldOptions: FieldOption[] = fields.map((field) => ({\n ...field,\n key: field.id,\n }));\n\n const emailFieldResponse = getEmailField(fields);\n const emailFieldId = emailFieldResponse?.id;\n\n const addMissingFieldsConflictActionKey = conflictActionOptions.find(\n (option) => option.value === ConflictAction.AddMissingFields,\n ).key;\n\n const [conflictActionKey, setConflictActionKey] = useState(\n addMissingFieldsConflictActionKey,\n );\n\n let stepOptions: SequenceStepOption[] = [];\n let firstStepKey = 0;\n const [stepKey, setStepKey] = useState(firstStepKey);\n\n useEffect(() => {\n setStepKey(firstStepKey);\n }, [firstStepKey]);\n\n if (steps.length > 0) {\n stepOptions = steps.map((step) => ({\n ...step,\n key: step.id,\n }));\n firstStepKey = stepOptions.reduce(\n (previousStep, currentStep) =>\n previousStep.number < currentStep.number ? previousStep : currentStep,\n stepOptions[0],\n ).key;\n }\n\n // eslint-disable-next-line consistent-return\n const onImport = useCallback(() => {\n const fieldIds = fieldKeys.map(\n (key) => fieldOptions.find((option) => option.key === key)?.id,\n );\n\n if (!fieldIds.includes(emailFieldId)) {\n return toaster.error('Email field must be mapped');\n }\n\n const mapConfig: MapConfig = {};\n\n // eslint-disable-next-line no-plusplus\n for (let i = 0; i < fieldIds.length; i++) {\n const field = fieldIds[i];\n if (field || field === 0) {\n mapConfig[i] = field;\n }\n }\n\n const conflictAction = conflictActionOptions?.find(\n (option) => option.key === conflictActionKey,\n )?.value;\n if (steps.length > 0) {\n const stepId = stepOptions?.find((option) => option.key === stepKey)?.id;\n onFinish(mapConfig, conflictAction, stepId);\n } else {\n onFinish(mapConfig, conflictAction, null);\n }\n }, [\n fieldKeys,\n fieldOptions,\n emailFieldId,\n conflictActionKey,\n stepOptions,\n stepKey,\n onFinish,\n steps,\n ]);\n\n const onFieldRemove = useCallback(\n (index) => {\n const keys = [...fieldKeys];\n if (firstRow?.[index]) {\n firstRow[index].isTypeValid = null;\n }\n keys[index] = null;\n setFieldKeys(keys);\n },\n [fieldKeys, setFieldKeys, firstRow],\n );\n\n const onFieldChange = useCallback(\n (index, key, fieldType) => {\n const keys = [...fieldKeys];\n if (firstRow?.[index]) {\n firstRow[index].isTypeValid = isRowDataTypeValid(\n fieldType,\n firstRow[index]?.value || '',\n );\n }\n\n keys[index] = key;\n setFieldKeys(keys);\n },\n [fieldKeys, setFieldKeys, firstRow],\n );\n\n const [openCustomFieldBox, setIsOpenCustomFieldBox] = useState(\n false,\n );\n\n // function to open custom dialog box or close custom dialog box\n const openCustomFieldDialogBox = () => {\n if (hasResource(ResourceIdentifiers.FIELDS_CREATE)) {\n setIsOpenCustomFieldBox(!openCustomFieldBox);\n }\n };\n\n // api call to create new custom field\n const onCreateProspectCustomFieldSubmit = async (\n payload: CreateUpdateModalData,\n ) => {\n await sendCreateCustomFieldRequest({\n prospectType: ProspectType.Contact,\n fieldType: payload.type,\n label: payload.label,\n fallbackText: payload.fallbackText ? payload.fallbackText : '',\n });\n\n // api call to reacieve all the custom fields\n sendGetContactFieldsRequest();\n };\n\n // this function creates new custom fields if it available else it will show an error\n const createProspectCustomFieldRefresh = () => {\n if (createCustomFieldRequestStatus === RequestStatus.Succeeded) {\n toaster.success(createCustomFieldRequestMessage);\n setIsOpenCustomFieldBox(false);\n }\n if (\n createCustomFieldRequestStatus === RequestStatus.Failed &&\n createCustomFieldRequestError\n ) {\n toaster.error(createCustomFieldRequestError.message);\n }\n };\n const prevLoading = usePrevious(isLoading);\n const prevCreateCustomFieldRequestStatus = usePrevious(\n createCustomFieldRequestStatus,\n );\n useEffect(() => {\n if (isLoading !== prevLoading) {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n isLoading ? store.dispatch(showLoading()) : store.dispatch(hideLoading());\n }\n if (createCustomFieldRequestStatus !== prevCreateCustomFieldRequestStatus) {\n createProspectCustomFieldRefresh();\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isLoading, createCustomFieldRequestStatus]);\n\n // reset all the request status\n useEffect(\n () => () => {\n resetCreateCustomFieldRequest();\n },\n [],\n );\n const isCreateRequestPending =\n createCustomFieldRequestStatus === RequestStatus.Pending;\n\n const { t } = useTranslation();\n return (\n
    \n
    \n \n \n
    \n {steps.length > 0 && fromModule === SHModules.Sequence ? (\n \n ) : null}\n
    \n
    \n {t(`After Import`)}\n
    \n \n
    \n \n
    \n \n \n selectedOptionRenderer={([option]) => (\n {option?.label}\n )}\n optionRenderer={(option) => (\n \n
    \n {option?.label}\n
    \n \n )}\n options={conflictActionOptions}\n onChange={([selectedOption]) => {\n setConflictActionKey(selectedOption.key);\n }}\n selectedOptionKey={conflictActionKey}\n placement={Placement.Bottom}\n className=\"conflict-action-select\"\n />\n
    \n
    \n {hasResource(ResourceIdentifiers.FIELDS_CREATE) && (\n
    \n \n {t(`+ Create Custom Field`)}\n \n {openCustomFieldBox && (\n \n )}\n
    \n )}\n
    \n \n }\n />\n
    \n\n
    \n
    \n\n
    \n \n {t(`Cancel`)}\n \n \n {t(`Next`)}\n \n
    \n
    \n
    \n );\n};\n\nexport default withTranslation()(MapFields);\n","import { Field } from '../../settings/types/field';\n\nexport const getEmailField = (fields: Field[]) =>\n fields.find((field) => field.label.toLowerCase() === 'email');\n","import { RootState } from '../../../../../../../../store/root-reducer';\nimport { connect, ConnectedProps } from 'react-redux';\nimport { CreateCustomFieldRequestPayload } from '../../../../../../../settings/types/request-payload';\nimport {\n createCustomFieldRequest,\n getCustomFieldRequest,\n} from '../../../../../../../settings/components/custom-fields/extra-actions';\nimport MapFields from './map-fields';\nimport { MapFieldsProps } from './types';\nimport { getContactFieldsRequest } from '../../../../../../extra-actions';\nimport { resetCreateCustomFieldRequest } from '../../../../../../../settings/components/custom-fields/custom-field-slice';\n\nconst mapStateToProps = (state: RootState) => ({\n getCustomFieldRequestStatus: state.customField.getCustomFieldRequest.status,\n getCustomFieldRequestMessage: state.customField.getCustomFieldRequest.message,\n getCustomFieldRequestError: state.customField.getCustomFieldRequest.error,\n\n createCustomFieldRequestStatus:\n state.customField.createCustomFieldRequest.status,\n createCustomFieldRequestMessage:\n state.customField.createCustomFieldRequest.message,\n createCustomFieldRequestError:\n state.customField.createCustomFieldRequest.error,\n\n customField: state.customField.customField,\n isLoading: state.customField.isLoading,\n});\n\nconst mapDispatchToProps = {\n sendGetCustomFieldRequest: () => getCustomFieldRequest(),\n\n sendCreateCustomFieldRequest: (payload: CreateCustomFieldRequestPayload) =>\n createCustomFieldRequest(payload),\n\n sendGetContactFieldsRequest: () => getContactFieldsRequest(),\n\n resetCreateCustomFieldRequest: () => resetCreateCustomFieldRequest(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & MapFieldsProps;\n\nexport default connector(MapFields);\n","import React, { memo } from 'react';\nimport TagAutoSuggest from '../tag-autosuggest';\nimport { RenderMode } from '../tag-autosuggest/tag-autosuggest';\nimport { Images } from '../../../../app-constants';\n\nconst TagProspectsContent = ({\n tags,\n tagsToAdd,\n setTagsToAdd,\n placeholder = '',\n}) => (\n
    \n
    \n \"Tag\"\n Tag prospects\n
    \n
    \n \n
    \n
    \n);\n\nexport default memo(TagProspectsContent);\n","import { AddTagsToImportedContactsPayload } from '../../components/sequence/types';\n\nexport const parseTagPayload = (tags: any[]) => {\n const payload: AddTagsToImportedContactsPayload = {\n ids: [],\n newTags: [],\n };\n\n tags.forEach((tag) => {\n if (tag.isNew) {\n payload.newTags.push(tag.name);\n } else {\n payload.ids.push(tag.id);\n }\n });\n\n return payload;\n};\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../../../../../store/root-reducer';\nimport { AddTagsToImportedContactsPayload } from '../../../../../../types';\nimport { FileData } from '../select-file/types';\nimport EmailVerification from './email-verification';\nimport { getTagsRequest } from '../../../../../../../prospect/extra-actions';\nimport { getEmailVerificationCreditsRequest } from '../../../../../../../settings/components/billing-subscription/extra-actions';\n\nconst mapStateToProps = (state: RootState) => ({\n tags: state.prospect.tags,\n sendGetEmailVerificationCreditsRequestStatus:\n state.billingAndSubscription.getEmailVerificationCreditsRequest.status,\n getEmailVerificationCreditsResponse:\n state.billingAndSubscription.getEmailVerificationCreditsResponse,\n});\n\nconst mapDispatchToProps = {\n sendGetTagsRequest: () => getTagsRequest(),\n sendGetEmailVerificationCreditsRequest: () =>\n getEmailVerificationCreditsRequest(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n onClick: (\n includeRiskyContact: boolean,\n includeVerification: boolean,\n tags?: AddTagsToImportedContactsPayload,\n ) => void;\n isRequestPending: boolean;\n fileData: FileData;\n onBuyNow: (remainingCredit: number) => void;\n isPurchaseEmailVerificationCreditsLoading: boolean;\n warning: string;\n isEmailVerification: boolean;\n handleOnFinishWithoutVerification: (\n tags?: AddTagsToImportedContactsPayload,\n ) => void;\n};\n\nexport default connector(EmailVerification);\n","import React from 'react';\nimport classNames from 'classnames';\nimport { ChevronRight } from '@saleshandy/icons';\n\nimport { Stage, stageOptions } from '../stage';\n\ntype IProps = {\n stage: Stage;\n onStageChange: (state: Stage) => void;\n};\n\nconst ImportStageTabs: React.FC = ({ stage }) => {\n const options = stageOptions.map((option) => ({\n ...option,\n ...(option.value !== stage && { disabled: true }), // Disabled all stages except the current stage.\n }));\n\n return (\n
    \n {options.map((option, index) => (\n <>\n \n

    {option.label}

    \n
    \n {index < options.length - 1 && (\n
    \n \n
    \n )}\n \n ))}\n
    \n );\n};\n\nexport default ImportStageTabs;\n","import React, { forwardRef, useState, useImperativeHandle } from 'react';\n\nimport { Stage } from './stage';\nimport { FileData } from '../select-file/types';\nimport { ConflictAction } from '../../../../../../enums';\nimport { ImportConfigData, ImportFlowProps } from './types';\nimport { Field } from '../../../../../../../settings/types/field';\nimport { RowDataWithTypeVerification } from '../map-fields/types';\nimport {\n AddTagsToImportedContactsPayload,\n MapConfig,\n} from '../../../../../../types';\n\nimport SelectFile from '../select-file';\nimport MapFields from '../map-fields';\nimport EmailVerification from '../email-verification';\nimport ImportStageTabs from './components/import-stage-tabs';\n\nconst ImportFlow = forwardRef(\n (\n {\n isRequestPending,\n onFinish,\n fields,\n steps,\n isEmailVerification,\n onClose,\n fromModule,\n warning,\n showPurchaseEvCreditsModal,\n isPurchaseEmailVerificationCreditsLoading,\n handleCSVImport,\n }: ImportFlowProps,\n ref,\n ) => {\n const [stage, setStage] = useState(Stage.SelectFile);\n\n const [fileData, setFileData] = useState(null);\n\n const [\n importConfigParam,\n setImportConfigParam,\n ] = useState(null);\n\n const onStageChange = (newState: Stage) => {\n setStage(newState);\n };\n\n const selectFileFinishHandler = (fileDataObj: FileData) => {\n setFileData(fileDataObj);\n setStage(Stage.MapFields);\n };\n\n const mapFieldsFinishHandler = (\n mapConfig: MapConfig,\n conflictAction: ConflictAction,\n stepId: number,\n ) => {\n setStage(Stage.EmailVerification);\n setImportConfigParam({\n file: fileData.file,\n mapConfig,\n conflictAction,\n stepId,\n });\n };\n\n const handleOnFinishWithoutVerification = (\n tags?: AddTagsToImportedContactsPayload,\n ) => {\n onFinish({\n ...importConfigParam,\n tags,\n });\n };\n\n const verificationResponse = (\n includeRiskyContact: boolean,\n includeVerification: boolean,\n tags?: AddTagsToImportedContactsPayload,\n ) => {\n if (includeVerification) {\n onFinish({\n ...importConfigParam,\n includeRiskyContact,\n includeVerification,\n tags,\n });\n } else {\n onFinish({\n ...importConfigParam,\n includeVerification,\n tags,\n });\n }\n };\n\n const filteredFields = fields.reduce((result, field: Field) => {\n const name = field.label.replace(' ', '').toLowerCase();\n if (name !== 'companydomain') {\n result.push(field);\n }\n return result;\n }, []);\n\n const handleCSVImportCount = (fileDataObj: FileData) => {\n setFileData(fileDataObj);\n handleCSVImport(fileDataObj?.importedContactsCount);\n };\n\n useImperativeHandle(ref, () => ({\n importAnyWay() {\n selectFileFinishHandler(fileData);\n },\n }));\n\n return (\n
    \n \n\n
    \n {stage === Stage.SelectFile && (\n \n )}\n {stage === Stage.MapFields && (\n ({\n value: el,\n isTypeValid: null,\n }),\n )}\n fields={filteredFields}\n onFinish={mapFieldsFinishHandler}\n isRequestPending={isRequestPending}\n steps={steps}\n onClose={onClose}\n fromModule={fromModule}\n />\n )}\n {stage === Stage.EmailVerification && (\n \n showPurchaseEvCreditsModal(remainingCredit)\n }\n isPurchaseEmailVerificationCreditsLoading={\n isPurchaseEmailVerificationCreditsLoading\n }\n isEmailVerification={isEmailVerification}\n handleOnFinishWithoutVerification={\n handleOnFinishWithoutVerification\n }\n />\n )}\n
    \n
    \n );\n },\n);\n\nexport default ImportFlow;\n","/* eslint-disable import/no-cycle */\nimport React, { useEffect } from 'react';\nimport { useParams } from 'react-router';\nimport { Modal } from 'react-bootstrap';\nimport Button from '../../../../../../../../shared/design-system/components/atoms/button';\nimport Icon from '../../../../../../../../shared/design-system/components/atoms/icon/icon';\nimport { SequenceSingleContactsReportProps } from './report-container';\nimport { RouteParams } from '../../../../../../types';\nimport ReportPage from '../../../../../../../../shared/design-system/components/atoms/report-page';\nimport { SHModules } from '../../../../../../../../shared/enums/module';\nimport toaster from '../../../../../../../../shared/toaster';\nimport eventBus from '../../../../../../../../shared/utils/event-bus';\nimport { constants } from '../../../../../../../../shared/enums/constants';\nimport { getProspectTablePerPageSize } from '../../../../../../../prospect/helpers/helper';\nimport { reportConstants } from '../../../../../../../../shared/design-system/components/atoms/report-page/constants/report-constants';\nimport { ProductTour } from '../../../../../../../../shared/enums/product-tour';\n\nconst Report = ({\n onFinish,\n importCSVReport: { success, skipped },\n resetSequenceContacts,\n resetProspects,\n sendGetContactStatusCountRequest,\n sendGetSequenceContactListRequest,\n sendGetProspectListRequest,\n sendGetProspectCountRequest,\n fromModule,\n isEmailVerification,\n sendGetPostLoadMetaRequest,\n}: SequenceSingleContactsReportProps) => {\n const { sequenceId } = useParams();\n let timeOut: NodeJS.Timeout;\n\n const onFinishImporting = () => {\n if (isEmailVerification) {\n toaster.success(\n 'Email verification can take some time, we will notify you with an email when it’s done.',\n );\n }\n onFinish();\n const getPageSize = getProspectTablePerPageSize();\n const defaultPagination = {\n pageNum: constants.DEFAULT_PAGE_NUM,\n pageSize: getPageSize,\n };\n // to reset listing after report.\n switch (fromModule) {\n case SHModules.Prospect:\n resetProspects();\n sendGetProspectListRequest(defaultPagination);\n sendGetProspectCountRequest();\n break;\n case SHModules.Sequence:\n resetSequenceContacts();\n sendGetSequenceContactListRequest(sequenceId, defaultPagination);\n sendGetContactStatusCountRequest(sequenceId, defaultPagination);\n break;\n default:\n return;\n }\n sendGetPostLoadMetaRequest();\n eventBus.dispatch(constants.MODAL_HANDLER, { isModalOpened: false });\n };\n\n useEffect(() => {\n if (isEmailVerification) {\n timeOut = setTimeout(() => {\n onFinishImporting();\n }, 5000);\n }\n return () => {\n if (timeOut) {\n clearTimeout(timeOut);\n }\n };\n }, []);\n\n const reportDataStructure = {\n heading: reportConstants.IMPORT_PROSPECT_REPORT,\n\n sections: [\n {\n topic: reportConstants.IMPORTED_SUCCESSFULLY,\n value: success.count,\n icon: ,\n link: null,\n },\n {\n topic: reportConstants.SKIPPED,\n value: skipped.count,\n icon: ,\n link: skipped.reportFilePath ? skipped.reportFilePath : null,\n },\n ],\n reportData: null,\n };\n\n const infoDescription = (\n
    \n
    \n
    \n \n
    Verifying Emails
    \n
    \n
    \n
    \n 'The process to verify email may take sometime'\n
    \n
    \n Don't worry, you can close the window, we'll automatically\n
    start your sequence after verifying prospects.\n
    \n
    \n );\n\n return (\n
    \n 0}\n infoDescription={infoDescription}\n />\n
    \n \n \n Done\n \n \n
    \n
    \n );\n};\n\nexport default Report;\n","/* eslint-disable import/no-cycle */\nimport { connect, ConnectedProps } from 'react-redux';\nimport { getPostLoadMetaRequest } from '../../../../../../../home/extra-actions';\nimport {\n getProspectCountRequest,\n getProspectRequest,\n} from '../../../../../../../prospect/extra-actions';\nimport { resetProspect } from '../../../../../../../prospect/prospect-slice';\nimport { SortOrder } from '../../../../../../enums';\nimport {\n getContactStatusCountRequest,\n getSequenceContactListRequest,\n} from '../../../../../../extra-actions';\nimport { resetContacts } from '../../../../../../sequence-slice';\nimport { ContactsPagination } from '../../../../../../types';\nimport Report from './report';\nimport { ReportProps } from './types';\n\nconst mapDispatchToProps = {\n sendGetPostLoadMetaRequest: () => getPostLoadMetaRequest(),\n sendGetContactStatusCountRequest: (\n sequenceId: string,\n paginationOption: ContactsPagination,\n ) => getContactStatusCountRequest({ sequenceId, ...paginationOption }),\n sendGetSequenceContactListRequest: (\n sequenceId: string,\n contactPagination: ContactsPagination,\n sortOrder: SortOrder = SortOrder.Asc,\n ) =>\n getSequenceContactListRequest({\n sequenceId,\n ...contactPagination,\n sortOrder,\n }),\n\n sendGetProspectListRequest: (prospectPagination: ContactsPagination) =>\n getProspectRequest({ ...prospectPagination }),\n sendGetProspectCountRequest: () => getProspectCountRequest({}),\n\n resetSequenceContacts: () => resetContacts(),\n resetProspects: () => resetProspect(),\n};\n\nconst connector = connect(null, mapDispatchToProps);\n\nexport type SequenceSingleContactsReportProps = ConnectedProps<\n typeof connector\n> &\n ReportProps & {\n isEmailVerification: boolean;\n };\n\nexport default connector(Report);\n","export const getImportProspectRestrictionMsg = (\n importCount,\n remainingProspectLimit,\n) => {\n const msg1 = `The file has ${importCount} prospects, but you can only import ${remainingProspectLimit} more prospects in your current plan.`;\n const msg2 = `You can choose to import the first ${remainingProspectLimit} prospects from the file or upgrade your account to import all the prospects.`;\n\n return [msg1, msg2];\n};\n","import React from 'react';\n\nimport { AddContactsFromCSVRequestData, IProps, IState } from './types';\nimport { SHModules } from '../../../../../../../../shared/enums/module';\nimport { RequestStatus } from '../../../../../../../../shared/enums/request-status';\nimport { ShAccountSettingsCode } from '../../../../../../../settings/enums/admin-settings';\n\nimport toaster from '../../../../../../../../shared/toaster';\nimport Modal from '../../../../../../../../shared/design-system/ui/modal';\n\nimport ImportFlow from '../import-flow';\nimport Report from '../report';\nimport PurchaseCreditsModal from '../../../../../../../settings/components/billing-subscription/components/purchase-credits-modal';\nimport RestrictionErrorModal from '../../../../../../../prospect/components/prospect-list/components/modals/restriction-error-modal';\n\nimport { getImportProspectRestrictionMsg } from './utils/helper';\nimport { ProfileProgressSteps } from '../../../../../../../../shared/types/user-setting';\nimport { showGeneralErrorNotification } from '../../../../../../../../shared/utils/errors';\nimport { getRestrictionPlanWarningEmailBody } from '../../../../../../../prospect/components/prospect-list/utils/helper';\nimport { handle3dSecureCardPayment } from '../../../../../../../../shared/components/handle-3d-secure-card-payment/handle3dSecureCardPayment';\nimport { executeOnRequestStatusWithPrevStatusCheck } from '../../../../../../../../shared/utils';\nimport { isWhitelabelWithClientView } from '../../../../../../../../shared/utils/user-details';\n\nclass ImportContactsModal extends React.Component {\n childRef: React.RefObject;\n\n constructor(props) {\n super(props);\n\n this.childRef = React.createRef();\n\n this.state = {\n showReport: false,\n show: true,\n emailVerification: false,\n showVerificationReport: false,\n showPurchaseCreditsModel: false,\n is3dSecureResponseStatePending: false,\n remainingCredit: 0,\n isRestrictionModalVisible: false,\n csvRowCount: 0,\n };\n this.importFlowFinishHandler = this.importFlowFinishHandler.bind(this);\n this.showReport = this.showReport.bind(this);\n this.showPurchaseEvCreditsModal = this.showPurchaseEvCreditsModal.bind(\n this,\n );\n this.handleCloseModel = this.handleCloseModel.bind(this);\n this.hidePurchaseCreditsModal = this.hidePurchaseCreditsModal.bind(this);\n this.handle3dSecureCard = this.handle3dSecureCard.bind(this);\n this.showRestrictionErrorModal = this.showRestrictionErrorModal.bind(this);\n this.hideRestrictionErrorModal = this.hideRestrictionErrorModal.bind(this);\n this.updateEmailVerificationValue = this.updateEmailVerificationValue.bind(\n this,\n );\n }\n\n componentDidMount() {\n const {\n sendGetContactFieldsRequest,\n sendGetSequenceStepsRequest,\n sequenceId,\n fromModule,\n adminSettings,\n sendGetAdminSettingsRequest,\n } = this.props;\n sendGetContactFieldsRequest();\n if (fromModule !== SHModules.Prospect) {\n sendGetSequenceStepsRequest(sequenceId);\n }\n\n if (!adminSettings || adminSettings?.length === 0) {\n sendGetAdminSettingsRequest();\n } else {\n this.updateEmailVerificationValue();\n }\n }\n\n componentDidUpdate(prevProps: Readonly) {\n const {\n addContactsFromCSVRequestStatus,\n addContactsFromCSVRequestError,\n sendPurchaseEmailVerificationCreditsRequestStatus,\n sendPurchaseEmailVerificationCreditsRequestMessage,\n getPurchaseEmailVerificationCreditsResponse,\n sendGetEmailVerificationCreditsRequest,\n resetPurchaseEmailVerificationCreditsResponse,\n profileProgress,\n sendGetUserSettingsRequest,\n updateProfileProgressRequest,\n updateProfileProgressRequestStatus,\n getAdminSettingsRequestStatus,\n addContactsFromCSVRequestMessage,\n onClose,\n } = this.props;\n\n executeOnRequestStatusWithPrevStatusCheck({\n status: getAdminSettingsRequestStatus,\n prevStatus: prevProps.getAdminSettingsRequestStatus,\n onSuccess: () => {\n this.updateEmailVerificationValue();\n },\n });\n\n executeOnRequestStatusWithPrevStatusCheck({\n status: addContactsFromCSVRequestStatus,\n prevStatus: prevProps.addContactsFromCSVRequestStatus,\n\n onSuccess: () => {\n const { fromModule } = this.props;\n\n if (profileProgress) {\n const addProspectStep = profileProgress.find(\n (step) =>\n step.profileProgressStep.stepName ===\n ProfileProgressSteps.AddProspects,\n );\n\n if (\n !addProspectStep.isCompleted &&\n fromModule === SHModules.Sequence\n ) {\n updateProfileProgressRequest({\n step: ProfileProgressSteps.AddProspects,\n isCompleted: true,\n });\n }\n }\n\n const message = isWhitelabelWithClientView()\n ? addContactsFromCSVRequestMessage?.replace('an email', 'a')\n : addContactsFromCSVRequestMessage;\n\n toaster.success(message);\n onClose();\n },\n onFailed: () => {\n showGeneralErrorNotification(addContactsFromCSVRequestError.message);\n sendGetEmailVerificationCreditsRequest();\n },\n });\n\n // Purchase Ev Credits\n if (\n sendPurchaseEmailVerificationCreditsRequestStatus !==\n prevProps.sendPurchaseEmailVerificationCreditsRequestStatus\n ) {\n if (\n sendPurchaseEmailVerificationCreditsRequestStatus ===\n RequestStatus.Succeeded &&\n sendPurchaseEmailVerificationCreditsRequestMessage\n ) {\n if (getPurchaseEmailVerificationCreditsResponse.requires_action) {\n this.handle3dSecureCard(getPurchaseEmailVerificationCreditsResponse);\n } else {\n toaster.success(sendPurchaseEmailVerificationCreditsRequestMessage);\n this.hidePurchaseCreditsModal();\n sendGetEmailVerificationCreditsRequest();\n resetPurchaseEmailVerificationCreditsResponse();\n }\n } else if (\n sendPurchaseEmailVerificationCreditsRequestStatus ===\n RequestStatus.Failed &&\n sendPurchaseEmailVerificationCreditsRequestMessage\n ) {\n toaster.error(sendPurchaseEmailVerificationCreditsRequestMessage);\n resetPurchaseEmailVerificationCreditsResponse();\n }\n }\n\n if (\n updateProfileProgressRequestStatus !==\n prevProps.updateProfileProgressRequestStatus\n ) {\n if (updateProfileProgressRequestStatus === RequestStatus.Succeeded) {\n sendGetUserSettingsRequest();\n }\n }\n }\n\n updateEmailVerificationValue = () => {\n const { adminSettings } = this.props;\n if (adminSettings?.length > 0) {\n const emailVerificationOption =\n adminSettings?.length > 0\n ? adminSettings.find(\n (setting) =>\n setting.code === ShAccountSettingsCode.IsVerificationActive,\n )?.value || '0'\n : '0';\n\n this.setState({ emailVerification: emailVerificationOption === '1' });\n }\n };\n\n //* Show Hide Restriction Error Modal\n showRestrictionErrorModal = () =>\n this.setState({ isRestrictionModalVisible: true });\n\n hideRestrictionErrorModal = () => {\n const child = this.childRef?.current;\n\n // Call the child component's function\n child.importAnyWay();\n\n this.setState({ isRestrictionModalVisible: false });\n };\n\n showPurchaseEvCreditsModal(remainingCredit: number) {\n this.setState({ showPurchaseCreditsModel: true, remainingCredit });\n }\n\n hidePurchaseCreditsModal() {\n this.setState({ showPurchaseCreditsModel: false });\n }\n\n handleCloseModel() {\n const { showPurchaseCreditsModel } = this.state;\n\n this.setState({\n showPurchaseCreditsModel: !showPurchaseCreditsModel,\n });\n }\n\n async handle3dSecureCard(response) {\n const {\n resetPurchaseEmailVerificationCreditsResponse,\n sendGetEmailVerificationCreditsRequest,\n } = this.props;\n\n this.setState({ is3dSecureResponseStatePending: true });\n\n const apiEndPoint = '/email-verification-credits/confirm-payment-intent';\n\n const { isError, serverResponse } = await handle3dSecureCardPayment({\n response,\n apiEndPoint,\n });\n\n if (isError) {\n toaster.error(\n 'Payment failed! Please retry again after some time from billing section.',\n );\n } else {\n toaster.success(serverResponse.payload.message);\n this.hidePurchaseCreditsModal();\n sendGetEmailVerificationCreditsRequest();\n resetPurchaseEmailVerificationCreditsResponse();\n }\n this.setState({ is3dSecureResponseStatePending: true });\n }\n\n handlePurchaseEvCredits(stripeCardToken, planId) {\n const { sendPurchaseEmailVerificationCreditsRequest } = this.props;\n\n this.hidePurchaseCreditsModal();\n sendPurchaseEmailVerificationCreditsRequest({\n stripeCardToken,\n planId,\n });\n }\n\n async importFlowFinishHandler({\n stepId,\n includeVerification,\n ...rest\n }: AddContactsFromCSVRequestData) {\n const {\n sendAddContactsFromCSVRequest,\n sendAddContactsFromCSVRequestWithoutStep,\n fromModule,\n enableBulkActionRequestPolling,\n } = this.props;\n\n const { csvRowCount } = this.state;\n\n if (stepId === null && stepId === undefined) {\n return;\n }\n\n if (fromModule !== SHModules.Prospect) {\n const response = await sendAddContactsFromCSVRequest({\n includeVerification,\n stepId,\n totalRecords: csvRowCount,\n ...rest,\n });\n if (response?.payload?.payload?.shouldPoll) {\n enableBulkActionRequestPolling();\n }\n this.setState({\n showVerificationReport: includeVerification,\n });\n } else {\n const response = await sendAddContactsFromCSVRequestWithoutStep({\n includeVerification,\n stepId,\n totalRecords: csvRowCount,\n ...rest,\n });\n if (response?.payload?.payload?.shouldPoll) {\n enableBulkActionRequestPolling();\n }\n this.setState({\n showVerificationReport: includeVerification,\n });\n }\n }\n\n showReport() {\n this.setState({ showReport: true });\n }\n\n handelCSVImport(importCount: number) {\n const { remainingProspectLimit } = this.props;\n\n this.setState({ csvRowCount: importCount });\n\n if (importCount > remainingProspectLimit) {\n this.showRestrictionErrorModal();\n }\n }\n\n render() {\n const {\n show: showState,\n showReport,\n emailVerification,\n showVerificationReport,\n showPurchaseCreditsModel,\n is3dSecureResponseStatePending,\n remainingCredit,\n isRestrictionModalVisible,\n csvRowCount,\n } = this.state;\n const {\n show,\n onClose,\n contactFields,\n steps,\n addContactsFromCSVRequestStatus,\n importCSVReport,\n fromModule,\n warning,\n sendPurchaseEmailVerificationCreditsRequestStatus,\n remainingProspectLimit,\n currentPlanName,\n getEmailVerificationPlanResponse,\n } = this.props;\n\n const isRequestPending =\n addContactsFromCSVRequestStatus === RequestStatus.Pending;\n\n const importFlow = showState && (\n \n this.showPurchaseEvCreditsModal(remainingCredits)\n }\n isPurchaseEmailVerificationCreditsLoading={\n sendPurchaseEmailVerificationCreditsRequestStatus ===\n RequestStatus.Pending || is3dSecureResponseStatePending\n }\n handleCSVImport={(importCount) => this.handelCSVImport(importCount)}\n />\n );\n\n return (\n <>\n \n
    \n {!showReport ? (\n importFlow\n ) : (\n \n )}\n
    \n \n {showPurchaseCreditsModel && (\n \n this.handlePurchaseEvCredits(stripeCardToken, planId)\n }\n currentPlan={currentPlanName}\n type=\"email-verification\"\n />\n )}\n {isRestrictionModalVisible && (\n \n )}\n \n );\n }\n}\n\nexport default ImportContactsModal;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../../../../../store/root-reducer';\nimport {\n addContactsFromCSVRequest,\n addContactsFromCSVRequestWithoutStep,\n getAdminSettingsRequest,\n getContactFieldsRequest,\n getSequenceStepsRequest,\n} from '../../../../../../extra-actions';\nimport ImportContactsModal from './import-contacts-modal';\nimport { AddContactsFromCSVRequestPayload } from '../../../../../../types';\nimport { SHModules } from '../../../../../../../../shared/enums/module';\nimport {\n getEmailVerificationPlanRequest,\n purchaseEmailVerificationCreditsRequest,\n getEmailVerificationCreditsRequest,\n} from '../../../../../../../settings/components/billing-subscription/extra-actions';\nimport { resetPurchaseEmailVerificationCreditsResponse } from '../../../../../../../settings/components/billing-subscription/billing-subscription-slice';\nimport { PurchaseEmailVerificationCreditsRequest } from '../../../../../../../settings/components/billing-subscription/types/purchase-email-verification-credits';\nimport updateProfileProgressRequest from '../../../../../../../../shared/components/getting-started-onboarding/extra-actions';\nimport { UpdateProfileProgressPayload } from '../../../../../../../../shared/types/user-setting';\nimport {\n disableBulkActionRequestPolling,\n enableBulkActionRequestPolling,\n getUserSettingsRequest,\n} from '../../../../../../../home/home-slice';\n\nconst mapStateToProps = (state: RootState) => ({\n addContactsFromCSVRequestStatus:\n state.sequence.addContactsFromCSVRequest.status,\n addContactsFromCSVRequestMessage:\n state.sequence.addContactsFromCSVRequest.message,\n addContactsFromCSVRequestError:\n state.sequence.addContactsFromCSVRequest.error,\n importCSVReport: state.sequence.importCSVReport,\n contactFields: state.sequence.contactFields,\n steps: state.sequence.steps ? state.sequence.steps : [],\n sequenceId: state.sequence.sequence ? state.sequence.sequence.id : 0,\n adminSettings: state.sequence.adminSettings,\n cancelEmailVerificationPlanRequest:\n state.billingAndSubscription.cancelEmailVerificationPlanRequest.status,\n sendPurchaseEmailVerificationCreditsRequestStatus:\n state.billingAndSubscription.purchaseEmailVerificationCreditsRequest.status,\n sendPurchaseEmailVerificationCreditsRequestError:\n state.billingAndSubscription.purchaseEmailVerificationCreditsRequest.error,\n sendPurchaseEmailVerificationCreditsRequestMessage:\n state.billingAndSubscription.purchaseEmailVerificationCreditsRequest\n .message,\n getEmailVerificationPlanResponse:\n state.billingAndSubscription.getEmailVerificationPlanResponse,\n getPurchaseEmailVerificationCreditsResponse:\n state.billingAndSubscription.purchaseEmailVerificationCreditsResponse,\n\n profileProgress: state.home.profileProgress,\n\n updateProfileProgressRequestStatus:\n state.home.updateProfileProgressRequest.status,\n updateProfileProgressRequestMessage:\n state.home.updateProfileProgressRequest.message,\n updateProfileProgressRequestError:\n state.home.updateProfileProgressRequest.error,\n\n remainingProspectLimit: parseInt(\n state.home.getPostLoadMetaResponse?.accountUsageQuotaRemaining?.[\n 'PROSPECT.ADD'\n ],\n 10,\n ),\n currentPlanName: state.home?.subscription?.planName,\n\n getAdminSettingsRequestStatus: state.sequence.getAdminSettings.status,\n});\n\nconst mapDispatchToProps = {\n sendGetContactFieldsRequest: () => getContactFieldsRequest(),\n sendGetSequenceStepsRequest: (sequenceId: number) =>\n getSequenceStepsRequest(sequenceId),\n sendAddContactsFromCSVRequest: (payload: AddContactsFromCSVRequestPayload) =>\n addContactsFromCSVRequest({ ...payload }),\n sendAddContactsFromCSVRequestWithoutStep: (\n payload: AddContactsFromCSVRequestPayload,\n ) => addContactsFromCSVRequestWithoutStep({ ...payload }),\n sendPurchaseEmailVerificationCreditsRequest: (\n payload: PurchaseEmailVerificationCreditsRequest,\n ) => purchaseEmailVerificationCreditsRequest(payload),\n sendGetEmailVerificationCreditsRequest: () =>\n getEmailVerificationCreditsRequest(),\n sendGetEmailVerificationCreditPlansRequest: () =>\n getEmailVerificationPlanRequest(),\n resetPurchaseEmailVerificationCreditsResponse: () =>\n resetPurchaseEmailVerificationCreditsResponse(),\n sendGetUserSettingsRequest: () => getUserSettingsRequest(),\n updateProfileProgressRequest: (payload: UpdateProfileProgressPayload) =>\n updateProfileProgressRequest(payload),\n sendGetAdminSettingsRequest: () => getAdminSettingsRequest(),\n enableBulkActionRequestPolling: () => enableBulkActionRequestPolling(),\n disableBulkActionRequestPolling: () => disableBulkActionRequestPolling(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n show: boolean;\n onClose: () => void;\n fromModule: SHModules;\n warning: string;\n};\n\nexport default connector(ImportContactsModal);\n","import React from 'react';\nimport classNames from 'classnames';\nimport InputNumber from '../../../../../../../shared/design-system/components/input-number';\n\nconst DailySendingLimitInput = ({\n t,\n sendingLimit,\n changeSendingLimit,\n zeroLimitError,\n isBulkUpdatingEmailAccounts,\n maxLimit,\n}) => {\n const onKeyPress = (e) => {\n if (e.key === '.' || e.key === '+' || e.key === '-' || e.key === 'e') {\n e.preventDefault();\n }\n };\n\n const rowClasses = classNames([\n 'row',\n {\n 'bulk-update-email-accounts-row': isBulkUpdatingEmailAccounts,\n 'align-items-center': !isBulkUpdatingEmailAccounts,\n },\n ]);\n\n return (\n
    \n
    \n

    \n {t('labels.email_sending_limit_header')}\n

    \n {!isBulkUpdatingEmailAccounts && (\n

    \n {t('labels.email_sending_limit_caption')}\n

    \n )}\n
    \n
    \n \n
    \n
    \n );\n};\n\nexport default DailySendingLimitInput;\n","import React from 'react';\nimport { AlertTriangle } from '@saleshandy/icons';\nimport { Images } from '../../../../../../../shared/app-constants';\nimport Alert from '../../../../../../../shared/design-system/components/alert';\n\nconst ZeroLimitErrorNudge = ({\n zeroLimitError,\n isBulkUpdatingEmailAccounts,\n maxLimit,\n t,\n}) => {\n if (zeroLimitError && !isBulkUpdatingEmailAccounts) {\n return (\n
    \n
    \n {t('messages.zero_limit_error')}}\n variant={Alert.Variant.Danger}\n theme={Alert.Theme.New}\n svgIcon={Images.AlertTriangleRed}\n />\n
    \n
    \n );\n }\n\n if (zeroLimitError && isBulkUpdatingEmailAccounts) {\n return (\n
    \n
    \n \n
    \n

    Sending limit should be min 1 and max {maxLimit || 4000}

    \n
    \n );\n }\n\n return <>;\n};\n\nexport default ZeroLimitErrorNudge;\n","import { SubscriptionPlans } from '../../../../../../shared/utils';\nimport {\n EmailAccountType,\n EmailServiceProvider,\n} from '../../../../enums/email-account';\nimport { showPlanErrorForSubscription } from '../update-email-account/helpers';\nimport { EspLimits } from './types';\n\nexport const zeroLimitChecker = (\n sendingLimit: number,\n isBulkUpdatingEmailAccounts: boolean,\n maxLimit: number,\n): boolean =>\n isBulkUpdatingEmailAccounts\n ? Number(sendingLimit) < 0 ||\n (Number(sendingLimit) > 4000 && sendingLimit > maxLimit)\n : Number(sendingLimit) < 0;\n\nexport const softLimitChecker = (\n sendingLimit: number,\n softLimit: number,\n hardLimit: number,\n softLimitAllowed: boolean,\n) => sendingLimit > softLimit && sendingLimit < hardLimit && !softLimitAllowed;\n\nexport const hardLimitChecker = (\n sendingLimit: number,\n hardLimit: number,\n maxLimit: number,\n): boolean => sendingLimit > hardLimit && sendingLimit > maxLimit;\n\nexport const lowerLimitChecker = (\n sendingLimit: number,\n rampUpStatus: boolean,\n rampUpLimit: number,\n): boolean => rampUpStatus && sendingLimit < rampUpLimit;\n\nexport const saveButtonDisabledChecker = (\n zeroLimitError: boolean,\n hardLimitError: boolean,\n lowerLimitError: boolean,\n maxLimitReached: boolean,\n isUpdateMaxSendingLimitLoading: boolean,\n): boolean =>\n maxLimitReached ||\n zeroLimitError ||\n hardLimitError ||\n lowerLimitError ||\n isUpdateMaxSendingLimitLoading;\n\nexport const shouldAllowLimitUpdateChecker = (\n zeroLimitError: boolean,\n softLimitError: boolean,\n hardLimitError: boolean,\n lowerLimitError: boolean,\n softLimitAllowed: boolean,\n maxLimitReached: boolean,\n isUpdateMaxSendingLimitLoading: boolean,\n): boolean =>\n saveButtonDisabledChecker(\n zeroLimitError,\n hardLimitError,\n lowerLimitError,\n maxLimitReached,\n isUpdateMaxSendingLimitLoading,\n ) ||\n (softLimitError && !softLimitAllowed);\n\nexport const getSettingsLimitForEmailAccount = (\n emailAccountSettings,\n): {\n maxSendingLimit: number;\n rampUpStatus: boolean;\n rampUpLimit: number;\n minInterval: number;\n maxInterval: number;\n} => {\n const settingsForEmailAccount = {\n maxSendingLimit: 0,\n rampUpStatus: false,\n rampUpLimit: 0,\n minInterval: 0,\n maxInterval: 0,\n };\n\n if (emailAccountSettings.length) {\n emailAccountSettings.forEach((setting) => {\n if (setting.code === 'max-sending-limit') {\n settingsForEmailAccount.maxSendingLimit = parseInt(setting.value, 10);\n }\n if (setting.code === 'ramp-up-status') {\n settingsForEmailAccount.rampUpStatus = Boolean(Number(setting.value));\n }\n if (setting.code === 'ramp-up-limit') {\n settingsForEmailAccount.rampUpLimit = parseInt(setting.value, 10);\n }\n if (setting.code === 'min-interval') {\n settingsForEmailAccount.minInterval = parseInt(setting.value, 10);\n }\n if (setting.code === 'max-interval') {\n settingsForEmailAccount.maxInterval = parseInt(setting.value, 10);\n }\n });\n }\n\n return settingsForEmailAccount;\n};\n\nexport const getLimitsForEmailAccount = ({\n emailAccount,\n espLimits,\n}): {\n hardLimit: number;\n softLimit: number;\n} => {\n let espLimit: EspLimits | Record = {};\n let hardLimit: number;\n let softLimit: number;\n\n if (emailAccount) {\n if (\n emailAccount?.type === EmailAccountType.SmtpImap &&\n emailAccount?.domainMailboxId !== null\n ) {\n return {\n hardLimit: 60,\n softLimit: 30,\n };\n }\n\n espLimit = espLimits.find(\n (esp) => emailAccount.emailServiceProvider === esp.esp,\n );\n\n hardLimit = parseInt(espLimit?.hardLimit, 10);\n softLimit = parseInt(espLimit?.softLimit, 10);\n\n if (emailAccount.type === EmailAccountType.Gmail) {\n softLimit = 30;\n\n if (emailAccount?.domainMailboxId !== null) {\n hardLimit = 50;\n }\n }\n }\n return {\n hardLimit,\n softLimit,\n };\n};\n\nexport const executeBasedOnSubscriptionPlan = (\n subscriptionPlan: SubscriptionPlans,\n execute: () => void,\n) => {\n if (subscriptionPlan === SubscriptionPlans.FREE) {\n showPlanErrorForSubscription();\n } else {\n execute();\n }\n};\n\nexport const getEmailServiceProvider = (emailAccount) =>\n emailAccount ? emailAccount.emailServiceProvider : '';\n\nexport const getESPSoftLimitWarningContentOne = (\n emailServiceProvider: EmailServiceProvider,\n softLimit,\n t,\n) => {\n let warningMessage;\n\n switch (emailServiceProvider) {\n case EmailServiceProvider.Gmail:\n case EmailServiceProvider.Microsoft:\n warningMessage = `${t(\n 'messages.soft_limit_modal_content_1',\n )} ${softLimit} ${t('messages.soft_limit_modal_content_2')}\n ${t('messages.soft_limit_modal_content_3')}\n ${\n emailServiceProvider === EmailServiceProvider.Microsoft\n ? 'OUTLOOK'\n : emailServiceProvider.toUpperCase()\n } ${t('messages.soft_limit_modal_content_4')} ${t(\n 'messages.soft_limit_modal_content_5',\n )}`;\n break;\n\n default:\n warningMessage = `${t(\n 'messages.soft_limit_modal_content_1',\n )} ${softLimit} ${t('messages.soft_limit_modal_content_9')}\n ${t('messages.soft_limit_modal_content_8')}.`;\n }\n\n return warningMessage;\n};\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport { Images } from '../../../../../../../shared/app-constants';\n\nimport Modal from '../../../../../../../shared/design-system/components/atoms/modal';\nimport Button from '../../../../../../../shared/design-system/components/atoms/button';\nimport Checkbox from '../../../../../../../shared/design-system/components/atoms/checkbox';\nimport { getESPSoftLimitWarningContentOne } from '../helpers';\n\nconst SoftLimitErrorNudge = ({\n show,\n softLimit,\n emailServiceProvider,\n softLimitAllowed,\n setSoftLimitAllowed,\n onSubmit,\n onClose,\n isLoading,\n}) => {\n const { t } = useTranslation();\n\n return (\n \n \"Alert\"\n

    {t('messages.soft_limit_modal_title')}

    \n \n }\n showCloseIcon\n onSubmit={onSubmit}\n onClose={onClose}\n onHide={onClose}\n submitButtonText={t('labels.save')}\n cancelButtonText={t('labels.cancel')}\n isSubmitDisabled={!softLimitAllowed}\n isSubmitLoading={isLoading}\n cancelButtonVarient={Button.Variant.Outlined}\n submitButtonClassName=\"header-btn\"\n >\n
    \n

    \n {getESPSoftLimitWarningContentOne(emailServiceProvider, softLimit, t)}\n

    \n

    \n \n \n {t('messages.soft_limit_modal_content_6')} {softLimit}{' '}\n {t('messages.soft_limit_modal_content_7')}.\n \n

    \n
    \n \n );\n};\n\nexport default SoftLimitErrorNudge;\n","import React from 'react';\nimport { EmailServiceProvider } from '../../../../enums/email-account';\n\nconst errorDivContent = (\n hardLimit: number,\n onConnectAnotherEmailAccount,\n emailServiceProvider: EmailServiceProvider,\n t,\n) => {\n let tempEmailServiceProvider = emailServiceProvider as string;\n\n if (emailServiceProvider === EmailServiceProvider.Gsuite) {\n tempEmailServiceProvider = EmailServiceProvider.Gmail;\n } else if (emailServiceProvider === EmailServiceProvider.Microsoft) {\n tempEmailServiceProvider = 'Outlook';\n } else if (emailServiceProvider === EmailServiceProvider.O365) {\n tempEmailServiceProvider = EmailServiceProvider.Microsoft;\n }\n\n return emailServiceProvider !== EmailServiceProvider.Other ? (\n \n {tempEmailServiceProvider} \n {tempEmailServiceProvider\n ? t('messages.hard_limit_error_content_1')\n : t('messages.hard_limit_error_content_capital_1')}{' '}\n {hardLimit} {t('messages.hard_limit_error_content_3')}\n \n {t('messages.hard_limit_error_content_5')}\n \n {t('messages.hard_limit_error_content_4')}\n \n ) : (\n \n {'Your deliverability '} {t('messages.hard_limit_error_content_2')}{' '}\n {hardLimit} {t('messages.hard_limit_error_content_3')}\n \n {t('messages.hard_limit_error_content_5')}\n \n {t('messages.hard_limit_error_content_4')}\n \n );\n};\n\nexport default errorDivContent;\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport errorDivContent from '../email-sending-limit-nudge-content';\nimport Alert from '../../../../../../../shared/design-system/components/alert';\nimport { Images } from '../../../../../../../shared/app-constants';\n\nconst HardLimitErrorNudge = ({\n hardLimitError,\n hardLimit,\n onConnectAnotherEmailAccount,\n emailServiceProvider,\n}) => {\n const { t } = useTranslation();\n\n return (\n hardLimitError && (\n
    \n
    \n \n
    \n
    \n )\n );\n};\n\nexport default HardLimitErrorNudge;\n","import React from 'react';\nimport Alert from '../../../../../../../shared/design-system/components/alert';\nimport { Images } from '../../../../../../../shared/app-constants';\n\nconst LowerLimitErrorNudge = ({ t, lowerLimitError }) =>\n lowerLimitError ? (\n
    \n
    \n \n {t('messages.lower_value_limit_then_ramp_up_limit_error')}\n \n }\n variant={Alert.Variant.Danger}\n theme={Alert.Theme.New}\n svgIcon={Images.AlertTriangleRed}\n />\n
    \n
    \n ) : null;\nexport default LowerLimitErrorNudge;\n","import api from '../../../api';\n\nexport const getEspLimits = async () => api.get('/email-account/esp-limits');\n\nexport const updateMaxSendingLimit = async ({ emailAccountId, limit }) =>\n api.patch(`/email-account/max-sending-limit/${emailAccountId}`, { limit });\n","import { createAsyncThunk } from '@reduxjs/toolkit';\n\nimport {\n ResponseErrorWithHandled,\n ResponseSuccess,\n} from '../../../../../../shared/types';\n\nimport { UpdateMaxSendingLimitPayload } from './types';\nimport {\n getEspLimits,\n updateMaxSendingLimit,\n} from '../../../../helpers/email-account-sending-limit';\n\nexport const getEspLimitsRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('emailAccountSendingLimit/getEspLimits', async (args, thunkAPI) => {\n try {\n return await getEspLimits();\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n});\n\nexport const updateMaxSendingLimitRequest = createAsyncThunk<\n ResponseSuccess,\n UpdateMaxSendingLimitPayload,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'emailAccountSendingLimit/updateMaxSendingLimit',\n async ({ emailAccountId, limit }, thunkAPI) => {\n try {\n return await updateMaxSendingLimit({ emailAccountId, limit });\n } catch (err) {\n return thunkAPI.rejectWithValue(err);\n }\n },\n);\n","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../../../../../shared/enums/request-status';\nimport {\n getEspLimitsRequest,\n updateMaxSendingLimitRequest,\n} from './extra-actions';\nimport { EspLimits } from './types';\n\ninterface RequestState {\n status: RequestStatus;\n message: string;\n error: any;\n}\n\ninterface State {\n espLimits: EspLimits[];\n getEspLimitRequest: RequestState;\n updateMaxSendingLimitRequest: RequestState;\n isLoading: boolean;\n}\n\nconst initialState: State = {\n getEspLimitRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateMaxSendingLimitRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n espLimits: [],\n isLoading: false,\n};\n\nconst EmailDailySendingLimitSlice = createSlice({\n name: 'emailDailySendingLimit',\n initialState,\n reducers: {\n resetEmailDailySendingLimitState: (state) => {\n state.espLimits = initialState.espLimits;\n state.updateMaxSendingLimitRequest =\n initialState.updateMaxSendingLimitRequest;\n state.getEspLimitRequest = initialState.getEspLimitRequest;\n },\n resetUpdateMaxSendingLimitRequestState: (state) => {\n state.updateMaxSendingLimitRequest =\n initialState.updateMaxSendingLimitRequest;\n },\n },\n extraReducers: (builder) => {\n // Get esp sending limits\n builder.addCase(getEspLimitsRequest.pending, (state) => {\n state.getEspLimitRequest.status = RequestStatus.Pending;\n state.getEspLimitRequest.error = null;\n state.isLoading = true;\n });\n\n builder.addCase(getEspLimitsRequest.fulfilled, (state, action) => {\n state.getEspLimitRequest.status = RequestStatus.Succeeded;\n state.getEspLimitRequest.error = null;\n state.espLimits = action.payload.payload;\n state.isLoading = false;\n });\n\n builder.addCase(getEspLimitsRequest.rejected, (state, action) => {\n state.getEspLimitRequest.status = RequestStatus.Failed;\n state.getEspLimitRequest.error = action.payload;\n state.isLoading = false;\n });\n\n // Update max sending limit\n builder.addCase(updateMaxSendingLimitRequest.pending, (state) => {\n state.updateMaxSendingLimitRequest.status = RequestStatus.Pending;\n state.updateMaxSendingLimitRequest.error = null;\n state.isLoading = true;\n });\n\n builder.addCase(updateMaxSendingLimitRequest.fulfilled, (state) => {\n state.updateMaxSendingLimitRequest.status = RequestStatus.Succeeded;\n state.updateMaxSendingLimitRequest.error = null;\n state.isLoading = false;\n });\n\n builder.addCase(updateMaxSendingLimitRequest.rejected, (state, action) => {\n state.updateMaxSendingLimitRequest.status = RequestStatus.Failed;\n state.updateMaxSendingLimitRequest.error = action.payload;\n state.isLoading = false;\n });\n },\n});\n\nexport const {\n resetEmailDailySendingLimitState,\n resetUpdateMaxSendingLimitRequestState,\n} = EmailDailySendingLimitSlice.actions;\nexport default EmailDailySendingLimitSlice.reducer;\n","/* eslint-disable react-hooks/exhaustive-deps */\n\nimport React, { useState, useEffect, useMemo } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { useParams } from 'react-router';\n\nimport type { IProps } from './email-daily-sending-limit-container';\n\nimport toaster, { Theme } from '../../../../../../shared/toaster';\nimport Button from '../../../../../../shared/design-system/components/atoms/button';\n\nimport FeatureCodes from '../../../../../../shared/enums/feature-codes';\nimport { redirectWithoutRefresh } from '../../../../../../shared/utils';\nimport { RequestStatus } from '../../../../../../shared/enums/request-status';\nimport { executeOnRequestStatus } from '../../../../../../shared/utils/execute-on-request-status';\nimport { getFeatureCodeValue } from '../../../../../../shared/utils/feature-code';\n\nimport {\n EmailAccountMethod,\n EmailAccountType,\n} from '../../../../enums/email-account';\nimport { getIsRequestPending } from '../update-email-account/helpers';\nimport { RouteParams, UpdateEmailTabKeys } from '../update-email-account/types';\n\nimport AddEmailAccountModal from '../add-email-account-modal';\nimport AddBulkImportModal from '../add-email-bulk-import-modal';\nimport NoSeatAvailableForEmailModal from '../no-seat-available-for-email-modal';\n\nimport DailySendingLimitInput from './sub-components/daily-sending-limit-input';\nimport ZeroLimitErrorNudge from './sub-components/zero-limit-error';\nimport SoftLimitErrorNudge from './sub-components/soft-limit-error';\nimport HardLimitErrorNudge from './sub-components/hard-limit-error';\nimport LowerLimitErrorNudge from './sub-components/lower-limit-error';\n\nimport { resetEmailDailySendingLimitState } from './email-daily-sending-limit-slice';\nimport {\n zeroLimitChecker,\n softLimitChecker,\n hardLimitChecker,\n getLimitsForEmailAccount,\n lowerLimitChecker,\n saveButtonDisabledChecker,\n shouldAllowLimitUpdateChecker,\n getSettingsLimitForEmailAccount,\n executeBasedOnSubscriptionPlan,\n getEmailServiceProvider,\n} from './helpers';\n\nconst EmailDailySendingLimit: React.FC = ({\n subscriptionPlan,\n sendConnectEmailAccountRequest,\n connectEmailAccountRequestStatus,\n sendGetEspLimitRequest,\n espLimits,\n emailAccount,\n sendUpdateMaxSendingLimitRequest,\n sendGetEmailAccountSettingsRequest,\n emailAccountSettings,\n updateMaxSendingLimitStatus,\n resetUpdateMaxSendingLimitRequestState,\n firstName,\n sendGetEmailAccountSetupScoreRequest,\n isBulkUpdatingEmailAccounts,\n setSendingLimit: setSendingLimitBulk,\n setSendingLimitError,\n featureUsages,\n}) => {\n const { t } = useTranslation();\n const params = useParams();\n const { hashId } = params;\n const emailAccountIdParam = emailAccount?.id;\n\n const { hardLimit, softLimit } = getLimitsForEmailAccount({\n emailAccount,\n espLimits,\n });\n\n const maxLimit = useMemo(() => {\n if (emailAccount?.domainMailboxId !== null) {\n if (emailAccount?.type === EmailAccountType.Gmail) {\n return 50;\n }\n if (emailAccount?.type === EmailAccountType.SmtpImap) {\n return 60;\n }\n }\n\n return parseInt(\n getFeatureCodeValue(\n featureUsages,\n FeatureCodes.EmailAccountSendingMaxDailySending,\n )?.remainingQuota ||\n (isBulkUpdatingEmailAccounts ? '4000' : String(hardLimit)),\n 10,\n );\n }, [emailAccount, featureUsages, isBulkUpdatingEmailAccounts, hardLimit]);\n\n const {\n maxSendingLimit,\n rampUpStatus,\n rampUpLimit,\n } = getSettingsLimitForEmailAccount(emailAccountSettings);\n\n const [sendingLimit, setSendingLimit] = useState(null);\n const [\n showAddEmailAccountModal,\n setShowAddEmailAccountModal,\n ] = useState(false);\n\n const [zeroLimitError, setZeroLimitError] = useState(false);\n const [softLimitError, setSoftLimitError] = useState(false);\n const [hardLimitError, setHardLimitError] = useState(false);\n const [lowerLimitError, setLowerLimitError] = useState(false);\n const [softLimitAllowed, setSoftLimitAllowed] = useState(false);\n const [\n showNoSeatAvailableForEmailModal,\n setShowNoSeatAvailableForEmailModal,\n ] = useState(false);\n const [isDirty, setIsDirty] = useState(false);\n const [showBulkModal, setShowBulkModal] = useState(false);\n const [isDisabled, setIsDisabled] = useState(false);\n\n const isUpdateMaxSendingLimitLoading = getIsRequestPending(\n updateMaxSendingLimitStatus,\n );\n\n const hideEmailAccountModal = () => setShowAddEmailAccountModal(false);\n\n const hideSoftLimitModal = () => {\n setSoftLimitAllowed(false);\n setSoftLimitError(false);\n };\n\n const hideNoSeatAvailableForEmailModal = () => {\n setShowNoSeatAvailableForEmailModal(false);\n };\n\n const onConnectAnotherEmailAccount = () => {\n redirectWithoutRefresh('/email-accounts/create');\n };\n\n const addEmailAccountHandler = (\n method: EmailAccountMethod,\n emailAccountId?: number,\n ) => {\n executeBasedOnSubscriptionPlan(subscriptionPlan, () => {\n sendConnectEmailAccountRequest(method, emailAccountId);\n });\n };\n\n const changeSendingLimit = (value) => {\n if (value === '' && isBulkUpdatingEmailAccounts) {\n setSendingLimit(null);\n setZeroLimitError(false);\n setLowerLimitError(false);\n setHardLimitError(false);\n setSendingLimitError?.(false);\n setIsDirty(false);\n setSendingLimitBulk?.(null);\n setSendingLimitError?.(false);\n return;\n }\n\n setSendingLimit(value);\n\n if (zeroLimitChecker(value, isBulkUpdatingEmailAccounts, maxLimit)) {\n setZeroLimitError(true);\n setLowerLimitError(false);\n setHardLimitError(false);\n setSendingLimitError?.(true);\n return;\n }\n\n setZeroLimitError(false);\n\n if (lowerLimitChecker(value, rampUpStatus, rampUpLimit)) {\n setLowerLimitError(true);\n setZeroLimitError(false);\n setHardLimitError(false);\n setSendingLimitError?.(true);\n return;\n }\n\n setLowerLimitError(false);\n\n if (hardLimitChecker(value, hardLimit, maxLimit)) {\n setHardLimitError(true);\n setZeroLimitError(false);\n setLowerLimitError(false);\n setSendingLimitError?.(true);\n return;\n }\n\n setHardLimitError(false);\n\n if (!isDirty) {\n setIsDirty(true);\n }\n\n setSendingLimitBulk?.(value);\n setSendingLimitError?.(false);\n };\n\n const onUpdateLimitHandler = () => {\n if (\n softLimitChecker(sendingLimit, softLimit, hardLimit, softLimitAllowed)\n ) {\n setSoftLimitError(true);\n return;\n }\n\n if (\n shouldAllowLimitUpdateChecker(\n zeroLimitError,\n softLimitError,\n hardLimitError,\n lowerLimitError,\n softLimitAllowed,\n sendingLimit > maxLimit,\n isUpdateMaxSendingLimitLoading,\n )\n ) {\n return;\n }\n\n sendUpdateMaxSendingLimitRequest(emailAccountIdParam, sendingLimit);\n };\n\n const resetComponentState = () => {\n setSendingLimit(maxSendingLimit);\n setShowAddEmailAccountModal(false);\n setZeroLimitError(false);\n setSoftLimitError(false);\n setHardLimitError(false);\n setLowerLimitError(false);\n setSoftLimitAllowed(false);\n };\n\n const showBulkImportModal = () => setShowBulkModal(true);\n\n const hideBulkImportModal = () => setShowBulkModal(false);\n\n const showConnectAndSaveSmtpImapAccountModel = () => {\n setShowAddEmailAccountModal(false);\n };\n\n const showBulkImportCSV = () => {\n hideEmailAccountModal();\n showBulkImportModal();\n };\n\n useEffect(() => {\n executeOnRequestStatus({\n status: updateMaxSendingLimitStatus,\n onSuccess: () => {\n toaster.success(t('messages.email_per_day_success_message'), {\n theme: Theme.New,\n });\n sendGetEmailAccountSettingsRequest(hashId);\n hideSoftLimitModal();\n resetUpdateMaxSendingLimitRequestState();\n sendGetEmailAccountSetupScoreRequest({\n emailAccountId: emailAccountIdParam,\n });\n },\n });\n }, [updateMaxSendingLimitStatus]);\n\n const isConnectEmailAccountRequestPending =\n connectEmailAccountRequestStatus === RequestStatus.Pending;\n\n useEffect(() => {\n sendGetEspLimitRequest();\n }, []);\n\n useEffect(() => {\n if (!isBulkUpdatingEmailAccounts) {\n setSendingLimit(maxSendingLimit);\n }\n }, [maxSendingLimit]);\n\n // Cleaning state on unmounting component.\n useEffect(\n () => () => {\n resetEmailDailySendingLimitState();\n },\n [],\n );\n\n useEffect(\n () => () => {\n if (params.tab === UpdateEmailTabKeys.SENDING_SETTINGS) {\n resetComponentState();\n }\n },\n [params],\n );\n\n useEffect(() => {\n setIsDisabled(\n saveButtonDisabledChecker(\n zeroLimitError,\n hardLimitError,\n lowerLimitError,\n sendingLimit > maxLimit,\n isUpdateMaxSendingLimitLoading,\n ),\n );\n }, [\n zeroLimitError,\n hardLimitError,\n lowerLimitError,\n sendingLimit,\n isUpdateMaxSendingLimitLoading,\n ]);\n\n const emailServiceProvider = getEmailServiceProvider(emailAccount);\n\n return (\n
    \n \n\n \n\n \n\n 1000)\n }\n hardLimit={hardLimit}\n onConnectAnotherEmailAccount={onConnectAnotherEmailAccount}\n emailServiceProvider={emailServiceProvider}\n />\n\n \n\n {isDirty && !isBulkUpdatingEmailAccounts && (\n
    \n
    \n \n Save\n \n
    \n
    \n )}\n\n \n\n \n\n \n
    \n );\n};\n\nexport default EmailDailySendingLimit;\n","import { Dispatch, SetStateAction } from 'react';\nimport { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../../../store/root-reducer';\nimport { EmailAccountMethod } from '../../../../enums/email-account';\n\nimport EmailDailySendingLimit from './email-daily-sending-limit';\nimport { resetUpdateMaxSendingLimitRequestState } from './email-daily-sending-limit-slice';\nimport {\n getEspLimitsRequest,\n updateMaxSendingLimitRequest,\n} from './extra-actions';\n\nimport { FeatureUsage } from '../../../../../../shared/types/feature-usage';\nimport {\n connectEmailAccountRequest,\n getEmailAccountSettingsRequest,\n getEmailAccountSetupScoreRequest,\n} from '../../../../extra-actions';\nimport { getConnectedUsersAndEmailAccountsRequest } from '../../../../../settings/components/billing-subscription/extra-actions';\nimport { resetConnectedUsersAndEmailAccountsRequest } from '../../../../../settings/components/billing-subscription/billing-subscription-slice';\nimport { EmailAccountSetupScorePayload } from '../../../../types/request-payload';\n\nconst mapStateToProps = (state: RootState) => ({\n subscriptionPlan: state.home.subscription?.planCode,\n role: state.home.role,\n connectEmailAccountRequestStatus:\n state.emailAccount.connectEmailAccountRequest.status,\n getEspLimitsRequestStatus:\n state.emailDailySendingLimit.getEspLimitRequest.status,\n espLimits: state.emailDailySendingLimit.espLimits,\n emailAccount: state.emailAccount.emailAccount,\n emailAccountSettings: state.emailAccount.emailAccountSettings,\n updateMaxSendingLimitStatus:\n state.emailDailySendingLimit.updateMaxSendingLimitRequest.status,\n firstName: state.home.adminDetails?.firstName,\n getConnectedUsersAndEmailAccountsRequestStatus:\n state.billingAndSubscription.getConnectedUsersAndEmailAccountsRequest\n .status,\n totalEmailAccounts:\n state.billingAndSubscription.getConnectedUsersAndEmailAccountsResponse\n ?.totalEmailAccounts,\n emailAccountQuota: state.home.subscription?.emailAccountQuota,\n});\n\nconst mapDispatchToProps = {\n sendConnectEmailAccountRequest: (\n method: EmailAccountMethod,\n emailAccountId?: number,\n ) => connectEmailAccountRequest({ method, emailAccountId }),\n sendGetEspLimitRequest: () => getEspLimitsRequest(),\n sendUpdateMaxSendingLimitRequest: (emailAccountId: number, limit: number) =>\n updateMaxSendingLimitRequest({ emailAccountId, limit }),\n sendGetEmailAccountSettingsRequest: (hashId: string) =>\n getEmailAccountSettingsRequest(hashId),\n resetUpdateMaxSendingLimitRequestState: () =>\n resetUpdateMaxSendingLimitRequestState(),\n sendGetConnectedUsersAndEmailAccountsRequest: () =>\n getConnectedUsersAndEmailAccountsRequest(),\n resetConnectedUsersAndEmailAccountsRequest: () =>\n resetConnectedUsersAndEmailAccountsRequest(),\n\n sendGetEmailAccountSetupScoreRequest: (\n payload: EmailAccountSetupScorePayload,\n ) => getEmailAccountSetupScoreRequest(payload),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n isBulkUpdatingEmailAccounts?: boolean;\n setSendingLimit?: Dispatch>;\n setSendingLimitError?: Dispatch>;\n featureUsages: FeatureUsage[];\n};\n\nexport default connector(EmailDailySendingLimit);\n","import { FileData } from '../../../../../../../sequence/components/sequence-single-content/components/sequence-single-contacts/components/select-file/types';\n\nexport type IProps = {\n onFileSelect: (fileData: FileData) => void;\n};\n\nexport enum EmailAccountsFileConfig {\n MaxFileSizeInMB = 5,\n MaxRows = 100,\n}\n","/* eslint-disable no-plusplus */\nimport React, { useState, useRef } from 'react';\nimport Papa from 'papaparse';\nimport { DragAndDrop } from '@saleshandy/design-system';\nimport classNames from 'classnames';\nimport { useTranslation } from 'react-i18next';\nimport toaster, { Theme } from '../../../../../../../../shared/toaster';\nimport { EmailAccountsFileConfig } from '../select-email-accounts-file/types';\nimport UploadCloud from '../../../../../../../../shared/components/images/upload-cloud';\nimport { accessibleOnClick } from '../../../../../../../../shared/utils/accessible-on-click';\n\nconst allowedExtensions = ['csv'];\n\nconst PreFileSelect = ({ onSelectSuccess, getSkippedCount }) => {\n const { t } = useTranslation();\n const inputRef = useRef(null);\n\n //* State\n const [fileUploaderKey, setFileUploaderKey] = useState(0);\n const [dragging, setDragging] = useState(false);\n\n //* Functions\n const resetFileUploader = () => setFileUploaderKey(1 - fileUploaderKey);\n\n const showFailedMessage = (message: string) =>\n toaster.error(message, { theme: Theme.New });\n\n const failureHandler = (message: string) => {\n showFailedMessage(message);\n resetFileUploader();\n };\n\n const onFileSelect = (file) => {\n let headers;\n let firstRow;\n let count = 0;\n let failedMessage;\n let skCount = 0;\n const skippedRows = [];\n const validRows = [];\n const occurrences = new Map();\n\n const extension: string[] = file.name.split('.');\n\n if (\n !allowedExtensions.includes(\n extension[extension.length - 1].trim().toLowerCase(),\n )\n ) {\n failedMessage = `The file type you are trying to upload is not supported.`;\n return failureHandler(failedMessage);\n }\n\n if (file.size > EmailAccountsFileConfig.MaxFileSizeInMB * 1024 * 1024) {\n failedMessage = `File size must be less than ${EmailAccountsFileConfig.MaxFileSizeInMB} MB`;\n return failureHandler(failedMessage);\n }\n Papa.parse(file, {\n step: ({ data }, parser) => {\n const emailAddress = data[0]; // email is in the first column\n const ownerHashId = data[data.length - 1]; // email is in the first column\n\n if (!emailAddress) {\n skippedRows.push(data);\n skCount++;\n } else {\n const emailId = emailAddress + ownerHashId;\n const c = occurrences.get(emailId) || 0;\n if (c >= 1) {\n skippedRows.push(data);\n } else {\n validRows.push(data);\n }\n\n occurrences.set(emailId, c + 1);\n }\n\n if (count > EmailAccountsFileConfig.MaxRows) {\n failedMessage = `Maximum ${EmailAccountsFileConfig.MaxRows} emails are allowed`;\n return parser.abort();\n }\n if (count === 1) {\n firstRow = data;\n }\n count += 1;\n\n return null;\n },\n complete: () => {\n if (!failedMessage && !firstRow) {\n failedMessage = 'At least 1 email account is required';\n }\n if (failedMessage) {\n return failureHandler(failedMessage);\n }\n\n occurrences.forEach((emailId) => {\n if (emailId > 1) {\n skCount++;\n }\n });\n\n const sCount = count - skCount - 1;\n\n //* Create CSV for Success Data\n const csvData = Papa.unparse({\n fields: headers,\n data: validRows,\n });\n const validFile = new File([csvData], file.name, {\n type: 'text/csv',\n });\n\n getSkippedCount(sCount, skCount, skippedRows);\n onSelectSuccess(validFile, headers, firstRow, count);\n\n return null;\n },\n skipEmptyLines: 'greedy',\n });\n\n return null;\n };\n\n const clickInput = () => inputRef.current.click();\n\n const inputChangeHandler = ({ target: { files } }) =>\n files.length > 0 && onFileSelect(files[0]);\n\n const dragAndDropClassName = classNames([\n {\n dragging,\n },\n ]);\n\n return (\n onFileSelect(files[0])}\n backgroundVariant=\"solid\"\n title={t('messages.drop_your_csv_here')}\n className={`${dragAndDropClassName} d-flex justify-content-center align-items-center`}\n >\n
    \n \n\n
    \n \n Drag & Drop CSV file or{' '}\n \n
    \n
    Choose a file
    \n \n
    \n
    \n \n Maximum allowed accounts per CSV: 100\n \n
    \n \n );\n};\n\nexport default PreFileSelect;\n","import React from 'react';\nimport { Trash } from '@saleshandy/icons';\nimport Papa from 'papaparse';\nimport type { IProps } from './types';\nimport ImageIcon from '../../../../../../../../shared/components/images/image-icon';\nimport { Images } from '../../../../../../../../shared/app-constants';\nimport { accessibleOnClick } from '../../../../../../../../shared/utils/accessible-on-click';\n\nconst headers = [\n 'Email Address',\n 'Email service provider',\n 'Sender name',\n 'SMTP Username',\n 'SMTP Password',\n 'SMTP Host',\n 'SMTP Port',\n 'SMTP Encryption',\n 'IMAP Username',\n 'IMAP Password',\n 'IMAP Host',\n 'IMAP Port',\n 'IMAP Encryption',\n 'Daily quota',\n 'Sending interval in Seconds (Minimum)',\n 'Sending interval in Seconds (Maximum)',\n 'Ramp up Email No. to start with',\n 'Ramp up Percentage',\n 'Bcc',\n 'Signature HTMlL',\n 'Owner',\n];\n\nconst PostFileSelect: React.FC = ({\n fileName,\n successCount,\n skippedCount,\n skRows,\n onRemove,\n}) => {\n const onSkippedCSVDownload = () => {\n const csvData = Papa.unparse({\n fields: headers,\n data: skRows,\n });\n\n const blob = new Blob([csvData], { type: 'text/csv;charset=utf-8;' });\n const url = URL.createObjectURL(blob);\n\n // Create a link element to download the CSV file\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', 'Bulk Email Import Failure Report.csv');\n link.click();\n };\n\n return (\n
    \n
    \n \n
    \n\n \n {fileName}\n \n\n
    \n
    \n \n \n Successfully imported:{' '}\n \n {successCount}\n \n \n
    \n\n
    \n \n \n Skipped:{' '}\n \n {skippedCount}\n \n \n \n
    \n
    \n\n \n \n Remove file\n
    \n \n );\n};\n\nexport default PostFileSelect;\n","import React, { useState, useCallback } from 'react';\nimport classnames from 'classnames';\nimport type { IProps } from './types';\nimport { FileData } from '../../../../../../../sequence/components/sequence-single-content/components/sequence-single-contacts/components/select-file/types';\nimport PreFileSelect from '../pre-file-select';\nimport PostFileSelect from '../post-file-select';\n\nconst SelectEmailAccountsFile: React.FC = ({ onFileSelect }) => {\n //* State\n const [fileData, setFileData] = useState(null);\n const [successCount, setSuccessCount] = useState(0);\n const [skippedCount, setSkippedCount] = useState(0);\n const [skRows, setSkRows] = useState([]);\n\n //* Function\n const onRemoveHandler = () => {\n setSuccessCount(0);\n setSkippedCount(0);\n setFileData(null);\n };\n\n const setSuccessAndSkippedCount = (\n sCount: number,\n skCount: number,\n skippedRows: any[],\n ) => {\n setSkippedCount(skCount);\n setSuccessCount(sCount);\n setSkRows(skippedRows);\n };\n\n const onSelectSuccess = useCallback(\n (file, headers, firstRow, count) => {\n const payload = {\n file,\n headers,\n firstRow,\n importedContactsCount: count - 1,\n };\n setFileData(payload);\n onFileSelect(payload);\n },\n [setFileData],\n );\n\n //* Utility Variable\n const className = classnames([\n 'select-file',\n {\n 'select-file--pre': !fileData,\n },\n {\n 'select-file--post': fileData,\n },\n ]);\n\n return (\n
    \n {!fileData ? (\n setSuccessAndSkippedCount(sCount, skCount, skippedRows)}\n />\n ) : (\n \n )}\n
    \n );\n};\n\nexport default SelectEmailAccountsFile;\n\n// duplicate\n// email column empty\n","import React, { useState } from 'react';\nimport type { IProps } from './add-bulk-import-modal-container';\nimport Modal from '../../../../../../shared/design-system/components/atoms/modal/modal';\nimport ImageIcon from '../../../../../../shared/components/images/image-icon';\nimport { Images } from '../../../../../../shared/app-constants';\nimport { arr } from './utils/helper';\nimport SelectEmailAccountsFile from './components/select-email-accounts-file';\nimport { getIsRequestPending } from '../../../../../../shared/utils/get-request-status';\nimport { FileData } from '../../../../../sequence/components/sequence-single-content/components/sequence-single-contacts/components/select-file/types';\nimport Button from '../../../../../../shared/design-system/components/atoms/button';\nimport { isWhitelabelWithoutClientView } from '../../../../../../shared/utils/user-details';\n\nconst AddBulkImportModal: React.FC = ({\n show,\n onCancel,\n importEmailAccountCsvRequestStatus,\n importEmailAccountViaCsv,\n}) => {\n const isRequestPending = getIsRequestPending(\n importEmailAccountCsvRequestStatus,\n );\n //* State\n const [fileData, setFileData] = useState(null);\n\n //* Functions\n const handleSubmit = () => {\n importEmailAccountViaCsv(fileData.file);\n };\n\n // Connect Button\n const [showConnectButton, setShowConnectButton] = useState(true);\n\n const handleConnectButton = (fdata: FileData) => {\n setFileData(fdata);\n setShowConnectButton(false);\n };\n // setShowConnectButton(true)\n\n const handleCancel = () => {\n onCancel();\n setShowConnectButton(true);\n };\n\n return (\n handleCancel()}\n onHide={onCancel}\n onSubmit={handleSubmit}\n submitButtonText=\"Connect\"\n cancelButtonVarient={Button.Variant.Outlined}\n extraModalProps={{\n 'aria-labelledby': 'contained-modal-title-vcenter',\n centered: true,\n }}\n titleContent={\n
    \n Import email accounts\n
    \n }\n isSubmitDisabled={showConnectButton}\n isSubmitLoading={isRequestPending}\n >\n
    \n \n
    \n {arr().map((item) => (\n
    \n {!item.isSelected && item.value}\n {item.linkValue}\n {isWhitelabelWithoutClientView() && item.URL}\n
    \n ))}\n
    \n
    \n {/* drag & drop section */}\n handleConnectButton(fData)}\n />\n \n );\n};\n\nexport default AddBulkImportModal;\n","import React from 'react';\nimport { supportUrls } from '../../../../../../../shared/utils/urls';\nimport { isWhiteLabel } from '../../../../../../../shared/utils/user-details';\n\nconst anchorLinkAdd = () => (\n <>\n 1. Download\n \n Sample CSV\n \n file\n \n);\n\nconst redirectLink = () => (\n <>\n 6. Still have questions? Read step-by-step\n\n \n guide.\n \n \n);\n\nexport const arr = () => [\n {\n id: 1,\n value: '1. Download',\n isSelected: true,\n linkValue: anchorLinkAdd(),\n },\n {\n id: 2,\n value:\n '2. Fill details for all connection fields.(Email account, SMTP host, etc.)',\n isSelected: false,\n },\n {\n id: 3,\n value:\n '3. Fill details for email account settings.(Sending interval, daily limit, etc.)',\n isSelected: false,\n },\n {\n id: 4,\n value: '4. Email account field should be valid and not left blank.',\n isSelected: false,\n },\n {\n id: 5,\n value: '5. Import your CSV file and click on Next.',\n isSelected: false,\n },\n {\n id: 6,\n value: '6. Still have questions? Read step-by-step',\n isSelected: true,\n URL: redirectLink(),\n },\n];\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../../../store/root-reducer';\nimport AddBulkImportModal from './add-bulk-import-modal';\nimport { importEmailAccountCsvRequest } from '../../../../extra-actions';\n\nconst mapStateToProps = (state: RootState) => ({\n importEmailAccountCsvRequestStatus:\n state.emailAccount.importEmailAccountCsvRequest.status,\n});\n\nconst mapDispatchToProps = {\n importEmailAccountViaCsv: (file: File) =>\n importEmailAccountCsvRequest({ file }),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n show: boolean;\n onCancel: VoidFunction;\n};\n\nexport default connector(AddBulkImportModal);\n","import { Field } from '../../../components/settings/types/field';\nimport { InputValidationType } from '../../design-system/components/organisms/form/types';\nimport { RequestStatus } from '../../enums/request-status';\nimport { showGeneralErrorNotification } from '../../utils/errors';\n\nexport const getIsLoading = ({ getFieldsRequestStatus, fields }): boolean =>\n getFieldsRequestStatus === RequestStatus.Pending || fields.length <= 0;\n\nexport const getIsCompanyDomainField = (name: string): boolean =>\n name !== 'companydomain';\n\nexport const getFieldValidator = (name: string): string =>\n // eslint-disable-next-line no-nested-ternary\n name === 'email'\n ? InputValidationType.isEmail\n : name === 'phonenumber'\n ? InputValidationType.isMobilePhone\n : InputValidationType.MaxCharLimit;\n\n// eslint-disable-next-line consistent-return\nexport const generateFormFieldConfig = (field: Field, result) => {\n const name = field?.label?.replace(' ', '')?.toLowerCase();\n\n if (getIsCompanyDomainField(name)) {\n result.push({\n isDefault: field.isDefault,\n id: field.id,\n createdAt: field.createdAt,\n name,\n displayName: field.label,\n component: field.fieldType,\n styleClassNames: 'col-md-6',\n validator: getFieldValidator(name),\n });\n }\n\n return result;\n};\n\nexport const getAddProspectToasterMessage = ({\n t,\n shouldSendAddToContactStepRequest,\n addProspectRequestMessage,\n}) =>\n shouldSendAddToContactStepRequest\n ? t('messages.create_and_add_prospect_successfully')\n : addProspectRequestMessage;\n\nexport const getIsRequestPending = (status): boolean =>\n status === RequestStatus.Pending;\n\nexport const showGeneralError = (error) => {\n if (error) {\n showGeneralErrorNotification(error.message);\n }\n};\n","import React, { useEffect } from 'react';\nimport { Spinner } from 'react-bootstrap';\nimport { useTranslation } from 'react-i18next';\n\nimport type { IProps } from './add-prospect-form-container';\nimport { Field } from '../../../components/settings/types/field';\nimport Form from '../../design-system/components/organisms/form';\nimport toaster from '../../toaster';\nimport { ProfileProgressSteps } from '../../types/user-setting';\nimport {\n generateFormFieldConfig,\n getAddProspectToasterMessage,\n getIsLoading,\n getIsRequestPending,\n showGeneralError,\n} from './helper';\nimport { executeOnRequestStatus } from '../../utils/execute-on-request-status';\nimport { FormMode } from '../../design-system/components/organisms/form/types';\n\nconst AddProspectForm: React.FC = ({\n fields,\n addProspectRequestStatus,\n addProspectRequestMessage,\n addProspectRequestError,\n getFieldsRequestStatus,\n containerClasses,\n sequenceId,\n stepId,\n addProspectResponse,\n shouldSendAddToContactStepRequest = false,\n buttonTitle,\n onClose,\n onSubmit,\n sendGetFieldsRequest,\n sendAddProspectRequest,\n resetAddToProspectForm,\n sendAddContactToStepRequest,\n profileProgress,\n sendGetUserSettingsRequest,\n updateProfileProgressRequest,\n updateProfileProgressRequestStatus,\n content,\n getUserSettingsRequestStatus,\n}) => {\n const { t } = useTranslation();\n const loading = getIsLoading({ getFieldsRequestStatus, fields });\n\n const prepareFormConfig = () =>\n fields.reduce(\n (result, field: Field) => generateFormFieldConfig(field, result),\n [],\n );\n\n const addProspectStepForGettingStarted = () => {\n if (profileProgress) {\n const addProspectStep = profileProgress.find(\n (step) =>\n step.profileProgressStep.stepName ===\n ProfileProgressSteps.AddProspects,\n );\n\n if (!addProspectStep.isCompleted) {\n updateProfileProgressRequest({\n step: ProfileProgressSteps.AddProspects,\n isCompleted: true,\n });\n }\n }\n };\n\n useEffect(() => {\n executeOnRequestStatus({\n status: addProspectRequestStatus,\n onSuccess: () => {\n if (shouldSendAddToContactStepRequest) {\n sendAddContactToStepRequest({\n contactIds: [addProspectResponse.id],\n sequenceId,\n stepId,\n });\n if (onSubmit) {\n onSubmit();\n }\n } else if (onClose) {\n onClose();\n }\n\n addProspectStepForGettingStarted();\n\n toaster.success(\n getAddProspectToasterMessage({\n t,\n shouldSendAddToContactStepRequest,\n addProspectRequestMessage,\n }),\n );\n },\n onFailed: () => {\n showGeneralError(addProspectRequestError);\n },\n });\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [addProspectRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: addProspectRequestStatus,\n onSuccess: () => {\n sendGetUserSettingsRequest();\n },\n });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [addProspectRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: updateProfileProgressRequestStatus,\n onSuccess: () => {\n sendGetUserSettingsRequest();\n },\n });\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [updateProfileProgressRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getUserSettingsRequestStatus,\n onIdeal: () => {\n sendGetUserSettingsRequest();\n },\n });\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [getUserSettingsRequestStatus]);\n\n const handleSubmit = (values) => {\n const payload = fields.map((field: any) => {\n const key = field?.label?.replace(' ', '')?.toLowerCase();\n return { attributeValue: values[key], fieldRef: field.id };\n });\n sendAddProspectRequest({ attributes: payload });\n };\n\n useEffect(() => {\n sendGetFieldsRequest();\n }, [sendGetFieldsRequest]);\n\n useEffect(\n () => () => {\n resetAddToProspectForm();\n },\n [resetAddToProspectForm],\n );\n\n return (\n <>\n {loading ? (\n
    \n \n
    \n ) : (\n <>\n handleSubmit(values)}\n onCancel={onClose}\n submitStatus={getIsRequestPending(addProspectRequestStatus)}\n buttonTitle={buttonTitle}\n />\n
    {content}
    \n \n )}\n \n );\n};\n\nexport default AddProspectForm;\n","import { ReactNode } from 'react';\nimport { connect, ConnectedProps } from 'react-redux';\nimport { addToStepModalRequest } from '../../../components/sequence/extra-actions';\nimport {\n getFieldsRequest,\n addProspectManuallyRequest,\n} from '../../../components/prospect/extra-actions';\nimport { AddProspectManuallyPayload } from '../../../components/prospect/types';\nimport { RootState } from '../../../store/root-reducer';\nimport { AddToStepParams } from '../../../components/sequence/types';\n// eslint-disable-next-line import/no-cycle\nimport AddProspectForm from './add-prospect-form';\nimport { resetAddToProspectForm } from '../../../components/prospect/prospect-slice';\nimport updateProfileProgressRequest from '../getting-started-onboarding/extra-actions';\nimport { UpdateProfileProgressPayload } from '../../types/user-setting';\nimport { getUserSettingsRequest } from '../../../components/home/home-slice';\n\nconst mapStateToProps = (state: RootState) => ({\n getFieldsRequestStatus: state.prospect.getFieldsRequest.status,\n addProspectRequestStatus: state.prospect.addProspectManuallyRequest.status,\n addProspectRequestMessage: state.prospect.addProspectManuallyRequest.message,\n addProspectRequestError: state.prospect.addProspectManuallyRequest.error,\n fields: state.prospect.fields,\n addProspectResponse: state.prospect.addProspectResponse,\n\n getUserSettingsRequestStatus: state.home.getUserSettingsRequest.status,\n profileProgress: state.home.profileProgress,\n\n updateProfileProgressRequestStatus:\n state.home.updateProfileProgressRequest.status,\n updateProfileProgressRequestMessage:\n state.home.updateProfileProgressRequest.message,\n updateProfileProgressRequestError:\n state.home.updateProfileProgressRequest.error,\n});\n\nconst mapDispatchToProps = {\n sendGetFieldsRequest: () => getFieldsRequest({}),\n sendAddProspectRequest: ({ attributes }: AddProspectManuallyPayload) =>\n addProspectManuallyRequest({ attributes }),\n sendAddContactToStepRequest: (payload: AddToStepParams) =>\n addToStepModalRequest(payload),\n resetAddToProspectForm: () => resetAddToProspectForm(),\n sendGetUserSettingsRequest: () => getUserSettingsRequest(),\n updateProfileProgressRequest: (payload: UpdateProfileProgressPayload) =>\n updateProfileProgressRequest(payload),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n onClose?: () => void;\n onSubmit?: () => void;\n show?: boolean;\n containerClasses?: string;\n buttonTitle?: string;\n stepId?: number;\n sequenceId?: string;\n shouldSendAddToContactStepRequest?: boolean;\n content?: ReactNode;\n};\n\nexport default connector(AddProspectForm);\n","import React, { useEffect } from 'react';\nimport { Cross } from '@saleshandy/icons';\n\nimport type { IProps } from './verify-email-modal-container';\nimport Modal from '../../design-system/components/atoms/modal';\nimport { VerifyEmail } from '../../svg';\nimport Button from '../../design-system/ui/button';\nimport { openChatSupport } from '../../utils/open-chat-support';\nimport { accessibleOnClick } from '../../utils/accessible-on-click';\nimport { executeOnRequestStatus, getIsRequestPending } from '../../utils';\n\nconst VerifyEmailModal: React.FC = ({\n show,\n onClose,\n email,\n resendVerificationEmailRequest,\n resendVerificationEmailRequestStatus,\n}) => {\n const onResendVerificationEmail = () => {\n resendVerificationEmailRequest(email);\n };\n\n useEffect(() => {\n executeOnRequestStatus({\n status: resendVerificationEmailRequestStatus,\n onSuccess: () => {\n onClose();\n },\n });\n }, [resendVerificationEmailRequestStatus]);\n\n const isLoading = getIsRequestPending(resendVerificationEmailRequestStatus);\n\n return (\n \n
    \n \n
    \n

    Verify your email to move forward

    \n
    \n \n
    \n

    \n A verification email is sent to {email}. Please verify your\n email by clicking the link in the email. If you need any help with\n verification, contact us.\n

    \n
    \n \n I need help\n \n \n Resend verification email\n \n
    \n \n );\n};\n\nexport default VerifyEmailModal;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../store/root-reducer';\nimport VerifyEmailModal from './verify-email-modal';\nimport { resendVerificationEmailRequest } from '../../../components/auth/components/signup/extra-actions';\n\nconst mapStateToProps = (state: RootState) => ({\n resendVerificationEmailRequestStatus:\n state.signup.resendVerificationEmailRequest.status,\n resendVerificationEmailRequestError:\n state.signup.resendVerificationEmailRequest.error,\n\n email: state.home.email,\n});\n\nconst mapDispatchToProps = {\n resendVerificationEmailRequest: (email: string) =>\n resendVerificationEmailRequest(email),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n onClose: () => void;\n show: boolean;\n};\n\nexport default connector(VerifyEmailModal);\n","import { DateTime } from 'luxon';\nimport moment from 'moment-timezone';\nimport store from '../../../store';\nimport { MAX_DAYS_RANGE } from '../../../components/unified-inbox/helpers/helper';\nimport toaster, { Theme } from '../../toaster';\n\nexport const getDateObj = (start: string, end: string) => ({\n startDateObj: start ? new Date(start) : null,\n endDateObj: end ? new Date(end) : null,\n});\n\nexport const isValidRange = (startDate, endDate) => {\n const daysDiff = moment(new Date(endDate)).diff(\n moment(new Date(startDate)),\n 'days',\n );\n\n return daysDiff <= MAX_DAYS_RANGE;\n};\n\nexport const setCurrentTimestamp = (dateToChange) => {\n const currentBrowserTimeStamp = new Date();\n const currentHour = currentBrowserTimeStamp.getHours();\n const currentMinute = currentBrowserTimeStamp.getMinutes();\n const currentSecond = currentBrowserTimeStamp.getSeconds();\n return new Date(\n new Date(dateToChange).setHours(currentHour, currentMinute, currentSecond),\n );\n};\n\nexport const handleDateRangeChange = ({\n value,\n isCustom = false,\n setDateFilter,\n onDateTimeSelectionChange,\n customDurationOptions,\n shouldHaveRangeLimit = false,\n shouldHaveOneYearLimit = false,\n}) => {\n const state = store.getState();\n const { timeZone } = state.myProfile.myProfile;\n\n if (isCustom) {\n const fetch = !!(value[0] && value[1]);\n\n if (shouldHaveOneYearLimit && value[0] && value[1]) {\n const start = moment(new Date(value[0]));\n const end = moment(new Date(value[1]));\n const diffInDays = end.diff(start, 'days');\n\n if (diffInDays > 365) {\n setDateFilter({\n selectedDateRangeOption: 'custom',\n startDate: new Date(),\n endDate: null,\n displayText: 'Custom',\n });\n\n toaster.error('Date range cannot exceed one year!', {\n theme: Theme.New,\n });\n\n return;\n }\n }\n\n if (!isValidRange(value[0], value[1]) && shouldHaveRangeLimit) {\n setDateFilter({\n selectedDateRangeOption: 'custom',\n startDate: new Date(),\n endDate: null,\n displayText: 'Custom',\n });\n\n toaster.error('Date range should not exceed 90 days!', {\n theme: Theme.New,\n });\n\n return;\n }\n\n setDateFilter({\n selectedDateRangeOption: 'custom',\n startDate: DateTime.fromJSDate(setCurrentTimestamp(value[0])).setZone(\n timeZone,\n ),\n endDate:\n value[1] &&\n DateTime.fromJSDate(setCurrentTimestamp(value[1])).setZone(timeZone),\n displayText: 'Custom',\n });\n\n if (fetch) {\n const startDate = DateTime.fromJSDate(\n setCurrentTimestamp(value[0]),\n ).setZone(timeZone);\n const endDate = DateTime.fromJSDate(\n setCurrentTimestamp(value[1]),\n ).setZone(timeZone);\n\n onDateTimeSelectionChange(\n 'custom',\n startDate,\n value[1] && endDate,\n 'Custom',\n );\n }\n } else {\n const selectedDate = customDurationOptions.find((d) => d.label === value);\n\n setDateFilter({\n selectedDateRangeOption: value,\n startDate: selectedDate.startDate.setZone(timeZone),\n endDate: selectedDate.endDate.setZone(timeZone),\n displayText: selectedDate.displayText,\n });\n\n onDateTimeSelectionChange(\n value,\n selectedDate.startDate.setZone(timeZone),\n selectedDate.endDate.setZone(timeZone),\n selectedDate.displayText,\n );\n }\n};\n\nexport const handleOnSelect = ({\n value,\n isCustom,\n isDatePickerOpen,\n setIsDatePickerOpen,\n onDateRangeChangeHandler,\n}) => {\n setIsDatePickerOpen(false);\n\n if (isCustom && !isDatePickerOpen) {\n setIsDatePickerOpen(true);\n } else {\n onDateRangeChangeHandler(value, isCustom);\n }\n};\n\nexport const handleClickOutside = ({\n event,\n dateFilterRef,\n setIsDatePickerOpen,\n}) => {\n if (\n dateFilterRef &&\n dateFilterRef.current &&\n !dateFilterRef.current.contains(event.target)\n ) {\n setIsDatePickerOpen(false);\n }\n};\n\nexport const formatDateRangeForDatePickerTooltip = (\n startDate: DateTime,\n endDate: DateTime,\n timeZone: string = 'Asia/Kolkata',\n): string => {\n const formattedStartDate = startDate.setZone(timeZone).toFormat('d LLL, yy');\n const formattedEndDate = endDate.setZone(timeZone).toFormat('d LLL, yy');\n\n const offset = startDate.setZone(timeZone).toFormat('ZZ');\n const gmtOffset = `GMT${offset}`;\n return `${formattedStartDate} - ${formattedEndDate}\\n(${gmtOffset}) ${timeZone}`;\n};\n","import React, { forwardRef, useRef, useState } from 'react';\nimport DatePicker from 'react-datepicker';\nimport 'react-datepicker/dist/react-datepicker.css';\nimport Icon from '../icon';\n\ntype DatePickerProps = {\n start_date: Date | null;\n end_date: Date | null;\n onDateChange: (dates: Date[]) => void;\n max_date?: Date | null;\n min_date?: Date | null;\n};\n\ntype ButtonProps = React.HTMLProps;\n\nconst DatePickerComponent = ({\n start_date,\n end_date,\n onDateChange,\n min_date = null,\n max_date,\n}: DatePickerProps) => {\n const months = [\n 'January',\n 'February',\n 'March',\n 'April',\n 'May',\n 'June',\n 'July',\n 'August',\n 'September',\n 'October',\n 'November',\n 'December',\n ];\n\n const datePickerRef = useRef();\n const [open, setOpen] = useState(false);\n\n const getMonth = (date: Date) => {\n const month = new Date(date);\n return months[month.getMonth()];\n };\n\n const CustomInput = forwardRef(\n ({ value, onClick }, ref) => (\n {\n onClick(val);\n if (!open) {\n setOpen(true);\n } else {\n datePickerRef.current.setOpen(false);\n setOpen(false);\n }\n }}\n ref={ref}\n >\n \n {start_date && end_date ? value : 'Custom'} \n \n \n ),\n );\n\n return (\n (\n
    \n {`${getMonth(date)} ${new Date(\n date,\n ).getFullYear()}`}\n
    \n \n \n \n\n \n \n \n
    \n
    \n )}\n selected={start_date}\n onChange={(dates) => {\n onDateChange(dates);\n if (dates[1]) {\n setOpen(false);\n }\n }}\n startDate={start_date}\n endDate={end_date}\n selectsRange\n // customInput={}\n onCalendarClose={() => setOpen(false)}\n inline\n minDate={min_date}\n maxDate={max_date}\n />\n );\n};\n\nexport default DatePickerComponent;\n","import React, { useRef, useState, useEffect } from 'react';\nimport moment from 'moment-timezone';\n\nimport { DateFilterDropDown } from './types';\nimport {\n formatDateRangeForDatePickerTooltip,\n getDateObj,\n handleClickOutside,\n handleDateRangeChange,\n handleOnSelect,\n} from './helper';\nimport Select from '../../design-system/components/select';\nimport durationOptions, { getCurrentTimeInUTC } from './date-filter-options';\nimport ImageIcon from '../images/image-icon';\nimport { Images } from '../../app-constants';\nimport DatePickerComponent from '../../design-system/components/atoms/date-picker/DatePicker';\nimport { OverlayTooltip } from '../../design-system/components/overlay';\nimport { getUserTimeZone } from '../../utils/user-details';\n\nconst DateFilter = ({\n selectedDateRangeOption,\n startDate,\n endDate,\n displayText,\n onDateTimeSelectionChange,\n durationOptions: customDurationOptions = durationOptions,\n shouldHaveMinMaxValueLimit = true,\n shouldHaveRangeLimit = false,\n shouldShowDateTooltip = false,\n shouldHaveMaxValueLimit = false,\n shouldHaveMinValueLimit = false,\n shouldHaveOneYearLimit = false,\n}) => {\n const dateFilterRef = useRef(null);\n\n const [isDatePickerOpen, setIsDatePickerOpen] = useState(false);\n const [datePickerToolTipText, setDatePickerToolTipText] = useState('');\n const [dateFilter, setDateFilter] = useState({\n selectedDateRangeOption,\n startDate,\n endDate,\n displayText,\n });\n\n const selectDisplayText = (start: string, end: string) => {\n const { startDateObj, endDateObj } = getDateObj(start, end);\n\n const dateFormat = 'DD MMM, YY';\n\n if (!endDateObj) {\n return {moment(startDateObj).format(dateFormat)};\n }\n return (\n \n {moment(startDateObj).format(dateFormat)} -{' '}\n {moment(endDateObj).format(dateFormat)}\n \n );\n };\n\n const onDateRangeChangeHandler = (value, isCustom = false) => {\n if (dateFilter?.selectedDateRangeOption === value) {\n return;\n }\n\n handleDateRangeChange({\n value,\n isCustom,\n setDateFilter,\n onDateTimeSelectionChange,\n customDurationOptions,\n shouldHaveRangeLimit,\n shouldHaveOneYearLimit,\n });\n };\n\n const onSelectHandler = (value: string, isCustom: boolean, key: string) => {\n handleOnSelect({\n value,\n isCustom,\n isDatePickerOpen,\n setIsDatePickerOpen,\n onDateRangeChangeHandler,\n });\n };\n\n const onClickOutSide = (event) => {\n handleClickOutside({\n event,\n dateFilterRef,\n setIsDatePickerOpen,\n });\n };\n\n const isDividerVisible = (key) => key === 'this_week' || key === 'custom';\n\n useEffect(() => {\n document.addEventListener('mousedown', onClickOutSide);\n\n return () => {\n document.removeEventListener('mousedown', onClickOutSide);\n };\n }, []);\n\n useEffect(() => {\n if (shouldShowDateTooltip) {\n const timeZone = getUserTimeZone();\n const date = formatDateRangeForDatePickerTooltip(\n startDate,\n endDate,\n timeZone,\n );\n setDatePickerToolTipText(date);\n }\n }, [selectedDateRangeOption]);\n\n return (\n
    \n \n className=\"date-filter-select\"\n options={customDurationOptions}\n selectedOptionKey={selectedDateRangeOption}\n selectedOptionRenderer={([option]) => {\n if (shouldShowDateTooltip && datePickerToolTipText?.length) {\n return (\n \n {option?.displayText === 'Custom' ? (\n
    \n \n {selectDisplayText(startDate, endDate)}\n
    \n ) : (\n
    \n \n {option?.displayText}\n
    \n )}\n
    \n );\n }\n return option?.displayText === 'Custom' ? (\n
    \n \n {selectDisplayText(startDate, endDate)}\n
    \n ) : (\n
    \n \n {option?.displayText}\n
    \n );\n }}\n onChange={([option]) =>\n onSelectHandler(option.value, option.value === 'custom', option.key)\n }\n optionRenderer={(option) => (\n \n {option.displayText}\n \n )}\n />\n {isDatePickerOpen && (\n
    \n onDateRangeChangeHandler(date, true)}\n end_date={\n dateFilter.selectedDateRangeOption === 'custom' &&\n dateFilter.endDate\n ? new Date(dateFilter.endDate)\n : null\n }\n {...(shouldHaveMinMaxValueLimit &&\n !shouldHaveRangeLimit && {\n min_date: new Date(\n getCurrentTimeInUTC().minus({ days: 90 }).toString(),\n ),\n max_date: new Date(),\n })}\n {...(shouldHaveMaxValueLimit && {\n max_date: new Date(),\n })}\n {...(shouldHaveMinValueLimit && {\n min_date: new Date(\n getCurrentTimeInUTC().minus({ days: 90 }).toString(),\n ),\n })}\n />\n
    \n )}\n
    \n );\n};\n\nexport default DateFilter;\n","import React, { useState } from 'react';\nimport { ChevronLeft } from '@saleshandy/icons';\nimport Modal from '../../../../../../shared/design-system/components/atoms/modal';\nimport ImageIcon from '../../../../../../shared/components/images/image-icon';\nimport { Images } from '../../../../../../shared/app-constants';\nimport { IProps } from './type';\nimport { EmailAccountMethod } from '../../../../enums/email-account';\nimport { accessibleOnClick } from '../../../../../../shared/utils/accessible-on-click';\nimport { ProductTour } from '../../../../../../shared/enums/product-tour';\nimport {\n getWhitelabelCompanyName,\n isWhitelabelWithoutClientView,\n} from '../../../../../../shared/utils/user-details';\n\nconst EmailAccountService = ({\n id,\n logo,\n serviceName,\n serviceDetails,\n onClick,\n}) => (\n \n \n \n {serviceName}\n \n \n {serviceDetails}\n \n \n);\n\nconst AddEmailAccountModal: React.FC = ({\n show,\n onSubmit,\n onClose,\n onSMTPAccountSelect,\n onCSVSelect,\n t,\n}) => {\n const [isModalOpen, setIsModalOpen] = useState(true);\n const handleSMTPModal = () => {\n setIsModalOpen(false);\n };\n\n const handleFlag = () => {\n setIsModalOpen(true);\n };\n\n const handleClose = () => {\n onClose();\n setIsModalOpen(true);\n };\n const handleCSVSelect = () => {\n onCSVSelect();\n setIsModalOpen(true);\n };\n const handleSMTPSelect = () => {\n onSMTPAccountSelect();\n setIsModalOpen(true);\n };\n\n return (\n <>\n \n \n \n Connect SMTP/IMAP accounts\n \n \n )\n }\n onClose={handleClose}\n showCloseIcon={true}\n hideFooter={true}\n backdrop=\"static\"\n extraModalProps={{\n 'aria-labelledby': 'contained-modal-title-vcenter',\n centered: true,\n }}\n >\n {isModalOpen ? (\n <>\n
    \n Connect your Email account from which you want to send email from{' '}\n {getWhitelabelCompanyName() || 'Saleshandy'}.\n
    \n
    \n \n {t('messages.select_email_service')}\n \n
    \n \n onSubmit(EmailAccountMethod.Gmail)}\n />\n onSubmit(EmailAccountMethod.Microsoft)}\n />\n \n \n {isWhitelabelWithoutClientView() && (\n
    \n {t('messages.dont_know_your_email_provider')}\n \n {t('labels.click_here')}.\n \n
    \n )}\n
    \n {t('messages.email_account_connect_note')}\n
    \n \n ) : (\n <>\n
    \n {t('messages.SMTP_account_select_message')}\n
    \n\n
    \n \n\n \n
    \n \n )}\n \n \n );\n};\n\nexport default AddEmailAccountModal;\n","import React from 'react';\nimport ReportPage from '../report-page';\nimport { ReportStructure } from '../report-page/types/report-structure';\nimport Modal from '../modal';\n\ntype IProps = {\n onHide: () => void;\n show: boolean;\n modalTitle: React.ReactNode | string;\n reportDataStructure: ReportStructure;\n showContent?: boolean;\n infoDescription?: React.ReactNode;\n isAddSequenceStateModal?: boolean;\n};\n\nconst ReportModal: React.FC = ({\n onHide,\n show,\n modalTitle,\n reportDataStructure,\n showContent,\n infoDescription,\n isAddSequenceStateModal = false,\n}) => (\n \n
    \n \n
    \n \n);\n\nexport default ReportModal;\n","import React, { useEffect } from 'react';\nimport validator from 'validator';\nimport { Spinner } from 'react-bootstrap';\nimport { ArrowsDiagonal, ArrowsMinimize2 } from '@saleshandy/icons';\nimport type { IProps } from './types';\n\nconst StepContentArea = React.forwardRef(\n (\n {\n stepContentHTML,\n isContentError,\n placeholder = 'Briefly explain your reason for connecting.',\n maxLength,\n minLength = 0,\n isExpandOptionVisible,\n size,\n isLoading,\n isAutoSaved = false,\n onChange,\n onBlur,\n onExpandContentArea,\n onHide,\n },\n ref,\n ) => {\n const contentLength = stepContentHTML?.length || 0;\n const [isError, setIsError] = React.useState(\n isContentError || false,\n );\n\n const handleChange = (e) => {\n const { value } = e.target;\n\n onChange(e.target.value);\n setIsError(value.length > maxLength);\n };\n\n const handleBlur = () => {\n onBlur?.();\n setIsError(\n (contentLength > 0 && contentLength < minLength) ||\n contentLength > maxLength ||\n (contentLength > 0 &&\n minLength !== 0 &&\n validator.isEmpty(stepContentHTML?.trim(), {\n ignore_whitespace: false,\n })),\n );\n };\n\n const getErrorString = () => {\n if (stepContentHTML?.trim()?.length === 0) {\n return 'Please enter a valid input. Blank spaces are not allowed.';\n }\n if (stepContentHTML?.trim()?.length < 2) {\n return 'Mandatory Field: At least 2 characters needed';\n }\n\n return `Character limit exceeds ${maxLength}`;\n };\n\n // useEffect\n useEffect(() => {\n handleBlur();\n }, [maxLength]);\n\n return (\n <>\n \n {!onHide && isExpandOptionVisible && (\n
    \n \n \n \n
    \n )}\n {onHide && isExpandOptionVisible && (\n
    \n \n \n \n
    \n )}\n\n \n
    \n {isAutoSaved && (\n
    \n {isLoading ? (\n \n ) : (\n Auto Saved\n )}\n
    \n )}\n \n {contentLength}/{maxLength}\n \n
    \n \n {isError && (\n {getErrorString()}\n )}\n \n );\n },\n);\n\nexport default StepContentArea;\n","import React from 'react';\nimport { IProps } from './types';\nimport { SequenceAction } from '../../../enums';\nimport { capitalize } from '../../../../../shared/utils';\nimport ConfirmationModal from '../../../../../shared/design-system/components/atoms/confirmation-modal';\n\nconst PauseResumeSequenceModal: React.FC = ({\n show,\n action,\n onClose,\n onSubmit,\n isRequestPending,\n}) => {\n const actionMessage = action === SequenceAction.Pause ? 'pause' : 'activate';\n\n const capitalizedActionMessage = capitalize(actionMessage);\n\n return (\n \n );\n};\n\nexport default PauseResumeSequenceModal;\n","/* eslint-disable react/no-array-index-key */\nimport React, { ReactNode } from 'react';\nimport { Dropdown } from 'react-bootstrap';\nimport { ChevronDown } from '@saleshandy/icons';\n\ntype IProps = {\n style?: React.CSSProperties;\n heading: string;\n disabled?: boolean;\n id?: string;\n options: {\n opId?: string;\n listKey: string;\n icon?: string;\n onClick: any;\n listLabel: string;\n iconComponent?: ReactNode;\n }[];\n};\n\nconst DropDownAtom: React.FC = ({\n style,\n options,\n heading,\n disabled,\n id,\n}) => (\n \n \n {heading}\n \n \n\n \n {options.map(\n ({ opId, icon, listKey, onClick, listLabel, iconComponent }, index) => (\n onClick(listKey)}\n >\n {icon && }\n  \n {iconComponent && iconComponent}\n    \n {listLabel}\n \n ),\n )}\n \n \n);\n\nexport default DropDownAtom;\n","export enum ExceptionTypes {\n System = 'system',\n Validation = 'validation',\n General = 'general',\n Auth = 'auth',\n PlanPermission = 'plan-permission',\n Silent = 'silent',\n RateLimit = 'rate-limit',\n}\n","export enum ContactVerificationStatus {\n Skip = 'skip',\n InProgress = 'inProgress',\n Valid = 'valid',\n Risky = 'risky',\n Bad = 'bad',\n Unknown = 'unknown',\n}\n","export default __webpack_public_path__ + \"static/media/youtube.92f3ecc7.svg\";","export default __webpack_public_path__ + \"static/media/mail-send.05eb9ee2.svg\";","export default __webpack_public_path__ + \"static/media/circle-check-green.e7f6556a.svg\";","const SpammyWords = [\n 'As seen on',\n 'Buy',\n 'Buy direct',\n 'Buying judgments',\n 'Order',\n 'Order status',\n 'Orders shipped by shopper',\n 'Dig up dirt on friends',\n 'Meet singles',\n 'XXX',\n 'Near you',\n 'Additional income',\n 'Be your own boss',\n 'Compete for your business',\n 'Double your',\n 'Earn $',\n 'Earn extra cash',\n 'Earn per week',\n 'Expect to earn',\n 'Extra income',\n 'Home based',\n 'Home employment',\n 'Homebased business',\n 'Income from home',\n 'Make $',\n 'Make money',\n 'Money making',\n 'Online biz opportunity',\n 'Online degree',\n 'Opportunity',\n 'Potential earnings',\n 'University diplomas',\n 'While you sleep',\n 'Work at home',\n 'Work from home',\n '$$$',\n 'Bargain',\n 'Beneficiary',\n 'Best price',\n 'Big bucks',\n 'Cash',\n 'Cash bonus',\n 'Cashcashcash',\n 'Cents on the dollar',\n 'Cheap',\n 'Check',\n 'Claims',\n 'Compare rates',\n 'Credit',\n 'Credit bureaus',\n 'Discount',\n 'Earn',\n 'Easy terms',\n 'F r e e',\n 'Fast cash',\n 'For just $XXX',\n 'Hidden assets',\n 'hidden charges',\n 'Income',\n 'Incredible deal',\n 'Insurance',\n 'Investment',\n 'Loans',\n 'Lowest price',\n 'Million dollars',\n 'Money',\n 'Money back',\n 'Mortgage',\n 'Mortgage rates',\n 'No cost',\n 'No fees',\n 'One hundred percent free',\n 'Only $',\n 'Pennies a day',\n 'Profits',\n 'Pure profit',\n 'Refinance',\n 'Save $',\n 'Save big money',\n 'Save up to',\n 'Serious cash',\n 'Subject to credit',\n 'They keep your money — no refund!',\n 'Unsecured credit',\n 'Unsecured debt',\n 'US dollars',\n 'Why pay more?',\n 'Accept credit cards',\n 'Check or money order',\n 'Credit card offers',\n 'Explode your business',\n 'Full refund',\n 'Investment decision',\n 'No credit check',\n 'No hidden Costs',\n 'No investment',\n 'Requires initial investment',\n 'Sent in compliance',\n 'Stock alert',\n 'Stock disclaimer statement',\n 'Stock pick',\n 'Calling creditors',\n 'Collect child support',\n 'Consolidate debt and credit',\n 'Consolidate your debt',\n 'Eliminate bad credit',\n 'Eliminate debt',\n 'Financially independent',\n 'Get out of debt',\n 'Get paid',\n 'Lower interest rate',\n 'Lower monthly payment',\n 'Lower your mortgage rate',\n 'Lowest insurance rates',\n 'Pre-approved',\n 'Refinance home',\n 'Social security number',\n 'Your income',\n 'Freedom',\n 'Miracle',\n 'Passwords',\n 'Dear [email/friend/somebody]',\n 'Ad',\n 'Auto email removal',\n 'Bulk email',\n 'Click',\n 'Click below',\n 'Click here',\n 'Click to remove',\n 'Direct email',\n 'Direct marketing',\n 'Email harvest',\n 'Email marketing',\n 'Increase sales',\n 'Increase traffic',\n 'Increase your sales',\n 'Internet market',\n 'Internet marketing',\n 'Marketing',\n 'Marketing solutions',\n 'Mass email',\n 'Month trial offer',\n 'More Internet Traffic',\n 'Multi level marketing',\n 'Notspam',\n 'One time mailing',\n 'Online marketing',\n 'Opt in',\n 'Removal instructions',\n 'The following form',\n 'Undisclosed recipient',\n 'Will not believe your eyes',\n 'Cures baldness',\n 'Fast Viagra delivery',\n 'Human growth hormone',\n 'Lose weight spam',\n 'Online pharmacy',\n 'Removes wrinkles',\n 'Reverses aging',\n 'Stop snoring',\n 'Valium',\n 'Viagra',\n 'Vicodin',\n 'Xanax',\n '100% free',\n '50% off',\n 'Billion',\n 'Billion dollars',\n 'Join millions',\n 'Join millions of Americans',\n 'One hundred percent guaranteed',\n 'Cannot be combined with any other offer',\n 'Deal',\n 'Financial freedom',\n 'Guarantee',\n 'Have you been turned down?',\n 'Long distance phone offer',\n 'Mail in order form',\n 'Nigerian',\n 'No age restrictions',\n 'No-obligation',\n 'Off shore',\n 'Offer',\n 'Prize',\n 'Prizes',\n 'Shopping spree',\n 'Trial',\n 'Unlimited',\n 'Unsolicited',\n 'Vacation offers',\n 'Warranty',\n 'Weekend getaway',\n 'What are you waiting for?',\n 'Who really wins?',\n 'Win',\n 'Winner',\n 'Winning',\n 'Won',\n 'You are a winner!',\n 'You have been selected',\n 'You’re a Winner!',\n 'Cancel at any time',\n 'Copy accurately',\n 'Give it away',\n 'Print form signature',\n 'Print out and fax',\n 'See for yourself',\n 'Sign up free today',\n 'Free',\n 'Free access',\n 'Free cell phone',\n 'Free consultation',\n 'Free DVD',\n 'Free gift',\n 'Free grant money',\n 'Free hosting',\n 'Free installation',\n 'Free Instant',\n 'Free investment',\n 'Free leads',\n 'Free membership',\n 'Free money',\n 'Free offer',\n 'Free preview',\n 'Free priority mail',\n 'Free quote',\n 'Free sample',\n 'Free trial',\n 'Free website',\n 'All natural',\n 'Certified',\n 'Fantastic deal',\n 'For free',\n 'Guaranteed',\n 'Outstanding values',\n 'Promise you',\n 'Real thing',\n 'Risk free',\n 'Satisfaction guaranteed',\n 'Act now!',\n 'Apply now',\n 'Apply online',\n 'Call free',\n 'Call now',\n 'Do it today',\n 'For instant access',\n 'For Only',\n 'Get it now',\n 'Get started now',\n 'Great offer',\n 'Info you requested',\n 'Information you requested',\n 'Instant',\n 'Limited time',\n 'New customers only',\n 'Offer expires',\n 'Once in lifetime',\n 'One time',\n 'Order now',\n 'Order today',\n 'Please read',\n 'Special promotion',\n 'Supplies are limited',\n 'Take action now',\n 'Time limited',\n 'Urgent',\n 'While supplies last',\n 'Bonus',\n 'Brand new pager',\n 'Cable converter',\n 'Casino',\n 'Celebrity',\n 'Copy DVDs',\n 'Luxury car',\n '100% more',\n 'Consolidate debt',\n 'Double your cash',\n 'Double your income',\n 'Earn money',\n 'Extra cash',\n 'Free info',\n 'Giveaway',\n 'Lower rates',\n 'Once in a lifetime',\n 'Risk-free',\n 'Act now',\n 'Exclusive deal',\n 'Sign up free',\n 'You are a winner',\n 'Confidentiality',\n 'Multi-level marketing',\n 'No hidden fees',\n 'This isn’t a scam',\n 'This isn’t junk',\n 'This isn’t spam',\n 'Marketing solution',\n];\n\nexport default SpammyWords;\n","import { Permissions } from '../../../../../shared/utils/access-control/enums/permissions';\nimport hasPermission from '../../../../../shared/utils/access-control/has-permission';\nimport { isAgency } from '../../../../../shared/utils/user-details';\nimport { Field } from '../../../../settings/types/field';\nimport { ProspectSortBy } from '../../../enums/prospect';\nimport { ProspectAttribute } from '../types';\n\nconst prospectSystemAttributes: ProspectAttribute[] = [\n {\n id: 'name',\n label: 'Name',\n isDefault: true,\n isNonRemovable: true,\n sortBy: ProspectSortBy.FirstName,\n isEditable: false,\n },\n {\n id: 'email',\n label: 'Email',\n isDefault: true,\n isNonRemovable: true,\n isEditable: false,\n },\n {\n id: 'jobTitle',\n label: 'Job Title',\n isDefault: true,\n isEditable: true,\n },\n {\n id: 'prospectStatus',\n label: 'Prospect Status',\n isDefault: true,\n isEditable: false,\n },\n {\n id: 'prospectOutcomes',\n label: 'Prospect Outcomes',\n isDefault: true,\n isEditable: false,\n },\n {\n id: 'prospectTags',\n label: 'Prospect Tags',\n isDefault: true,\n isEditable: false,\n },\n {\n id: 'verificationStatus',\n label: 'Email Verification Status',\n isDefault: true,\n isEditable: false,\n },\n {\n id: 'emailServiceProvider',\n label: 'Prospect ESP',\n isDefault: false,\n isEditable: false,\n },\n {\n id: 'lastContacted',\n label: 'Last Contacted',\n isDefault: true,\n isEditable: false,\n },\n {\n id: 'department',\n label: 'Department',\n isDefault: true,\n isEditable: true,\n },\n {\n id: 'company',\n label: 'Company',\n isDefault: true,\n isEditable: true,\n },\n {\n id: 'companyIndustry',\n label: 'Company Industry',\n isDefault: true,\n isEditable: true,\n },\n {\n id: 'companyWebsite',\n label: 'Company Website',\n isDefault: true,\n isEditable: true,\n },\n {\n id: 'prospectOwner',\n label: 'Prospect Owner',\n isDefault: true,\n isEditable: false,\n },\n {\n id: 'creationDate',\n label: 'Creation Date',\n isEditable: false,\n },\n {\n id: 'lastUpdated',\n label: 'Last Updated',\n isEditable: false,\n },\n {\n id: 'sequenceAssociated',\n label: 'Sequence Associated',\n isEditable: false,\n },\n {\n id: 'verificationSubStatus',\n label: 'Email Verification Sub Status',\n isEditable: false,\n },\n {\n id: 'freeEmailAccount',\n label: 'Free Email Account',\n isEditable: false,\n },\n {\n id: 'mxRecord',\n label: 'MX Record',\n isEditable: false,\n },\n {\n id: 'creationSource',\n label: 'Creation Source',\n isEditable: false,\n },\n {\n id: 'numberOfEmailsSent',\n label: 'Number of Emails sent',\n isEditable: false,\n },\n {\n id: 'clientAssociated',\n label: 'Client Associated',\n isEditable: false,\n },\n {\n id: 'linkedIn',\n label: 'LinkedIn',\n isEditable: true,\n },\n {\n id: 'phoneNumber',\n label: 'Phone Number',\n isEditable: true,\n },\n {\n id: 'experience',\n label: 'Experience',\n isEditable: true,\n },\n {\n id: 'twitter',\n label: 'Twitter',\n isEditable: true,\n },\n {\n id: 'facebook',\n label: 'Facebook',\n isEditable: true,\n },\n {\n id: 'city',\n label: 'City',\n isEditable: true,\n },\n {\n id: 'state',\n label: 'State',\n isEditable: true,\n },\n {\n id: 'country',\n label: 'Country',\n isEditable: true,\n },\n {\n id: 'companyLinkedIn',\n label: 'Company LinkedIn',\n isEditable: true,\n },\n {\n id: 'companyPhone',\n label: 'Company Phone',\n isEditable: true,\n },\n {\n id: 'companyDomain',\n label: 'Company Domain',\n isEditable: true,\n },\n {\n id: 'companySize',\n label: 'Company Size',\n isEditable: true,\n },\n {\n id: 'companyRevenue',\n label: 'Company Revenue',\n isEditable: true,\n },\n {\n id: 'companyFoundedYear',\n label: 'Company Founded Year',\n isEditable: true,\n },\n {\n id: 'numberOfOpens',\n label: 'Number of Opens',\n isDefault: true,\n isEditable: false,\n },\n {\n id: 'numberOfClicks',\n label: 'Number of Clicks',\n isDefault: true,\n isEditable: false,\n },\n {\n id: 'recentlyOpenDate',\n label: 'Recently open date',\n isEditable: false,\n },\n {\n id: 'recentlyClickDate',\n label: 'Recently click date',\n isEditable: false,\n },\n {\n id: 'recentlyReplyDate',\n label: 'Recently reply date',\n isEditable: false,\n },\n];\n\nconst skipSystemAttributes = [\n 'name',\n 'email',\n 'prospectStatus',\n 'prospectOutcomes',\n 'prospectTags',\n 'lastContacted',\n 'prospectOwner',\n 'creationDate',\n 'lastUpdated',\n 'sequenceAssociated',\n 'verificationStatus',\n 'verificationSubStatus',\n 'mxRecord',\n 'freeEmailAccount',\n 'emailServiceProvider',\n 'creationSource',\n 'numberOfEmailsSent',\n 'clientAssociated',\n 'numberOfOpens',\n 'numberOfClicks',\n 'recentlyOpenDate',\n 'recentlyClickDate',\n 'recentlyReplyDate',\n];\n\nexport const getProspectSystemAttributes = (fields: Field[]) =>\n prospectSystemAttributes\n .map((attribute) => {\n // Check if the field label exists in skipSystemAttributes array\n if (skipSystemAttributes.includes(attribute.id)) {\n // Check permission for client associated column\n if (attribute.id === 'clientAssociated') {\n const isClientAssociatedVisible =\n hasPermission(Permissions.CLIENT_READ) && isAgency();\n\n if (isClientAssociatedVisible) {\n return attribute;\n }\n\n return null;\n }\n\n return attribute;\n }\n\n // Check if the field is an API field and update the id based on fields\n const fieldFromApi = fields.find(\n (field) => field.label === attribute.label,\n );\n\n if (fieldFromApi) {\n return {\n ...attribute,\n id: fieldFromApi.id.toString(),\n fieldType: fieldFromApi.fieldType,\n isEditable: attribute.isEditable,\n };\n }\n\n return attribute;\n })\n .filter((item) => item !== null);\n","import React from 'react';\nimport { Alert as ShAlert, AlertProps } from '@saleshandy/design-system';\n\ninterface CustomAlertProps extends AlertProps {\n dataBanner?: boolean;\n}\n\nconst Alert: React.FC = ({ dataBanner = true, ...rest }) => (\n
    \n \n
    \n);\n\nexport default Alert;\n","import { SequenceProgress } from '../../../../../components/sequence/enums';\nimport { StatusBadgeVariant } from '../status-badge/types';\n\nexport const getBadgeVariant = (sequenceProgress, t) => {\n let variant;\n let label;\n\n switch (sequenceProgress) {\n case SequenceProgress.Active:\n variant = StatusBadgeVariant.SUCCESS;\n label = t('messages.active');\n break;\n case SequenceProgress.Pause:\n variant = StatusBadgeVariant.DANGER;\n label = t('messages.paused');\n break;\n case SequenceProgress.Draft:\n variant = StatusBadgeVariant.SECONDARY;\n label = t('messages.draft');\n break;\n default:\n break;\n }\n\n return { variant, label };\n};\n","export { default } from './pagination';\nexport type { PaginationProps } from './pagination';\n","import { getEmailServiceProviderGroups } from '../../../../../shared/utils/get-email-accounts-esp-mapping';\nimport { generateMultiLevelSelectOptions } from '../../../../../shared/utils/get-verification-sub-status-mapping';\nimport { isAgencyUser } from '../../../../../shared/utils/user-details';\nimport {\n ContactStatusType,\n ContactStatusTypeDisplayName,\n ContactVerificationStatus,\n ContactVerificationStatusTypeDisplayName,\n CreationSourceDisplayName,\n ProspectCreationSource,\n} from '../../../../sequence/enums';\n\nimport {\n ProspectFilterField,\n FilterSource,\n ProspectFiltersFieldsAttributesValue,\n} from '../types';\n// eslint-disable-next-line import/no-cycle\nimport { prospectFiltersFieldsKeysFilterOptions } from './helpers';\n\nexport const staticDropdownKeysForProspectFilter = [\n 'verificationStatus',\n 'verificationSubStatus',\n 'freeEmailAccount',\n 'creationSource',\n 'status',\n 'emailServiceProvider',\n];\n\nconst getStaticDropdownForProspectFilter = (key) => {\n if (key === 'verificationStatus') {\n return [\n {\n key: ContactVerificationStatus.Valid,\n name: ContactVerificationStatusTypeDisplayName.Valid,\n },\n {\n key: ContactVerificationStatus.Risky,\n name: ContactVerificationStatusTypeDisplayName.Risky,\n },\n {\n key: ContactVerificationStatus.Bad,\n name: ContactVerificationStatusTypeDisplayName.Bad,\n },\n {\n key: ContactVerificationStatus.Unverified,\n name: ContactVerificationStatusTypeDisplayName.Unverified,\n },\n ];\n }\n if (key === 'verificationSubStatus') {\n return generateMultiLevelSelectOptions();\n }\n\n if (key === 'creationSource') {\n return [\n {\n key: ProspectCreationSource.manually_created,\n name: CreationSourceDisplayName.Manually_Created,\n },\n {\n key: ProspectCreationSource.csv_import,\n name: CreationSourceDisplayName.CSV_Import,\n },\n {\n key: ProspectCreationSource.lead_finder,\n name: CreationSourceDisplayName.Lead_Finder,\n },\n {\n key: ProspectCreationSource.api,\n name: CreationSourceDisplayName.API,\n },\n {\n key: ProspectCreationSource.chrome_extension,\n name: CreationSourceDisplayName.Chrome_Extention,\n },\n {\n key: ProspectCreationSource.unified_inbox,\n name: CreationSourceDisplayName.Unified_Inbox,\n },\n ];\n }\n\n if (key === 'status') {\n return [\n {\n key: ContactStatusType.Active,\n name: ContactStatusTypeDisplayName.active,\n },\n {\n key: ContactStatusType.Paused,\n name: ContactStatusTypeDisplayName.paused,\n },\n {\n key: ContactStatusType.Replied,\n name: ContactStatusTypeDisplayName.replied,\n },\n {\n key: ContactStatusType.Bounced,\n name: ContactStatusTypeDisplayName.bounced,\n },\n {\n key: ContactStatusType.Unsubscribed,\n name: ContactStatusTypeDisplayName.unsubscribed,\n },\n ];\n }\n\n if (key === 'emailServiceProvider') {\n return getEmailServiceProviderGroups();\n }\n\n return [];\n};\n\nexport const getProspectFilterFieldAttributeValues = (\n field: ProspectFilterField,\n value: (string | number)[],\n selectedValues: any[],\n prospectFiltersFieldsAttributesValue: ProspectFiltersFieldsAttributesValue,\n) => {\n if (staticDropdownKeysForProspectFilter.includes(field.key)) {\n return {\n key: field.key,\n meta: null,\n options: getStaticDropdownForProspectFilter(field.key),\n };\n }\n\n let keyValue = field.key;\n let fieldValue = prospectFiltersFieldsAttributesValue?.[field.key];\n\n if (field.source === FilterSource.FIELD) {\n keyValue = field.id;\n fieldValue = prospectFiltersFieldsAttributesValue?.[field.id];\n }\n\n const meta = fieldValue?.meta || null;\n const options =\n fieldValue?.payload?.map((item) => ({\n key: item.value,\n ...item,\n })) || [];\n\n const shouldFetch = options.length === 0;\n const sendValuesInPayload = [\n 'sequence',\n 'clientSequenceAssociation',\n 'fileName',\n ].includes(keyValue);\n\n let doNotUpdateOptions = prospectFiltersFieldsKeysFilterOptions.includes(\n keyValue,\n );\n\n if (keyValue === 'owners' && isAgencyUser()) {\n doNotUpdateOptions = false;\n }\n\n const updatedOptions = doNotUpdateOptions\n ? options\n : [\n ...(sendValuesInPayload\n ? selectedValues.filter(\n (item) =>\n !options.some(\n (option) =>\n option.value.toString() === item?.value?.toString(),\n ),\n )\n : value\n .filter(\n (val) =>\n !options.some(\n (option) => option.value.toString() === val?.toString(),\n ),\n )\n .map((val) => ({\n key: val,\n name: val,\n value: val,\n }))),\n ...options,\n ];\n\n return {\n key: keyValue,\n shouldFetch,\n sendValuesInPayload,\n meta,\n options: updatedOptions,\n };\n};\n","import {\n ContactVerificationStatus,\n ZeroBounceSubStatusSaleshandy,\n} from '../../components/sequence/enums';\n\nimport { capitalize } from './string';\n\ntype VerificationSubStatusMapping = {\n verificationStatus: ContactVerificationStatus;\n verificationSubStatuses: ZeroBounceSubStatusSaleshandy[];\n};\n\nexport const getVerificationSubStatusMapping = (): VerificationSubStatusMapping[] => [\n {\n verificationStatus: ContactVerificationStatus.Valid,\n verificationSubStatuses: [\n ZeroBounceSubStatusSaleshandy.ALIAS_EMAIL,\n ZeroBounceSubStatusSaleshandy.CORRECTLY_FORMATTED_EMAIL,\n ZeroBounceSubStatusSaleshandy.LIKELY_SECONDARY_EMAIL,\n ],\n },\n {\n verificationStatus: ContactVerificationStatus.Risky,\n verificationSubStatuses: [\n ZeroBounceSubStatusSaleshandy.CATCH_ALL,\n ZeroBounceSubStatusSaleshandy.UNKNOWN_NOT_VALIDATED,\n ZeroBounceSubStatusSaleshandy.UNKNOWN_WHILE_VALIDATING_ERROR,\n ZeroBounceSubStatusSaleshandy.UNKNOWN_FAILED_SMTP_CONNECTION,\n ZeroBounceSubStatusSaleshandy.UNKNOWN_SERVER_DISCONNECTED_WHILE_VALIDATING,\n ZeroBounceSubStatusSaleshandy.UNKNOWN_NOT_VALIDATED_TEMPORARILY,\n ZeroBounceSubStatusSaleshandy.UNKNOWN_SERVER_UNRESPONSIVE,\n ZeroBounceSubStatusSaleshandy.UNKNOWN_TEMPORARY_SERVER_ERROR,\n ZeroBounceSubStatusSaleshandy.UNKNOWN_TIMEOUT,\n ZeroBounceSubStatusSaleshandy.DO_NOT_MAIL_GLOBALLY_BLACKLISTED,\n ZeroBounceSubStatusSaleshandy.DO_NOT_MAIL_BOT_CREATED_EMAIL_ACCOUNTS,\n ZeroBounceSubStatusSaleshandy.DO_NOT_MAIL_POSSIBLE_SPAM_TRAP,\n ZeroBounceSubStatusSaleshandy.DO_NOT_MAIL_ROLE_BASED_EMAILS,\n ZeroBounceSubStatusSaleshandy.DO_NOT_MAIL_TEMPORARY_EMAIL_ACCOUNTS,\n ZeroBounceSubStatusSaleshandy.DO_NOT_MAIL_ROLE,\n ZeroBounceSubStatusSaleshandy.DO_NOT_MAIL_MX_FORWARDED,\n ],\n },\n {\n verificationStatus: ContactVerificationStatus.Bad,\n verificationSubStatuses: [\n ZeroBounceSubStatusSaleshandy.ABUSE,\n ZeroBounceSubStatusSaleshandy.INVALID_DOES_NOT_ACCEPT_EMAIL,\n ZeroBounceSubStatusSaleshandy.INVALID_FAILED_SYNTAX,\n ZeroBounceSubStatusSaleshandy.INVALID_POSSIBLE_TYPO,\n ZeroBounceSubStatusSaleshandy.INVALID_MAILBOX_NOT_FOUND,\n ZeroBounceSubStatusSaleshandy.INVALID_NO_DNS_RECORDS,\n ZeroBounceSubStatusSaleshandy.INVALID_MAILBOX_FULL,\n ZeroBounceSubStatusSaleshandy.INVALID_UNROUTABLE_IP_ADDRESS,\n ZeroBounceSubStatusSaleshandy.SPAMTRAP,\n ],\n },\n];\n\n/**\n * Converts the response from `getVerificationSubStatusMapping` to `MultiLevelSelectOption[]`.\n * @returns {MultiLevelSelectOption[]} - Array of MultiLevelSelectOption.\n */\nexport const generateMultiLevelSelectOptions = () => {\n const verificationSubStatusMapping = getVerificationSubStatusMapping();\n\n return verificationSubStatusMapping.map((mapping) => ({\n key: mapping.verificationStatus,\n value: capitalize(mapping.verificationStatus),\n items: mapping.verificationSubStatuses.map((subStatus) => ({\n key: subStatus,\n value: subStatus,\n })),\n }));\n};\n\n// Returns the verification status from the sub status\n// params: subStatus: string\nexport const getVerificationStatusFromSubStatus = (\n subStatus: string,\n): ContactVerificationStatus | undefined => {\n const verificationSubStatusMapping = getVerificationSubStatusMapping();\n\n return verificationSubStatusMapping.find((mapping) =>\n mapping.verificationSubStatuses.includes(\n subStatus as ZeroBounceSubStatusSaleshandy,\n ),\n )?.verificationStatus;\n};\n","export const trimLeadingZeros = (inputValue) => String(Number(inputValue));\n","import React from 'react';\nimport type { PriorityProps } from './types';\n\nexport const Priority: React.FC = ({\n text,\n variant,\n className,\n}) => {\n const getTagStyle = () => {\n switch (variant) {\n case 'primary':\n return {\n backgroundColor: '#EFF6FF',\n color: '#3B82F6',\n };\n case 'secondary':\n return {\n backgroundColor: '#ECFEFF',\n color: '#0891B2',\n };\n case 'tertiary':\n return {\n backgroundColor: '#FFFBEB',\n color: '#D97706',\n };\n case 'danger':\n return {\n backgroundColor: '#FEF2F2',\n color: '#DC2626',\n };\n default:\n return {\n backgroundColor: '#EFF6FF',\n color: '#3B82F6',\n };\n }\n };\n\n return (\n
    \n

    {text}

    \n
    \n );\n};\n","export const getTruncatedTextForCategory = (\n category: string,\n length: number,\n): string =>\n category.length > length + 3\n ? `${category.substring(0, length)}...`\n : category;\n","import axios, { AxiosRequestConfig } from 'axios';\nimport { useEffect, useState } from 'react';\nimport { getToken } from '../utils';\nimport { showSystemErrorNotification } from '../utils/errors';\n\nexport function useAxios(\n axiosParams: Omit,\n initialResponse: any,\n) {\n const [axiosConfig, setAxiosConfig] = useState<\n Omit\n >(axiosParams);\n const [response, setResponse] = useState(initialResponse);\n const [loading, setLoading] = useState(true);\n\n const axiosConfigSetter = (config: Omit) => {\n setAxiosConfig({ ...axiosConfig, ...config });\n };\n\n useEffect(() => {\n const token = getToken();\n axios({\n method: axiosConfig.method,\n url: axiosConfig.url,\n params: axiosConfig.params,\n baseURL: `${process.env.REACT_APP_API_URL}/`,\n headers: {\n authorization: `bearer ${token}`,\n },\n data: axiosConfig.data,\n })\n .then((res) => {\n setResponse(res.data.payload);\n setLoading(false);\n })\n .catch(() => {\n showSystemErrorNotification('Something Went Wrong');\n setLoading(false);\n });\n }, [axiosConfig]);\n\n return {\n axiosConfigSetter,\n response,\n loading,\n };\n}\n","export const openUrl = (url: string) => window.open(url, '_target');\n","import { DateTime } from 'luxon';\nimport MasterLog from '../../../../../../../../../../shared/enums/master-log-enum';\nimport { ProspectActivityTabs } from '../../../../../../../../enums';\n\nexport const getActivityWithLabel = (activityArr, t) => {\n const yesterday = DateTime.fromMillis(\n new Date().setDate(new Date().getDate() - 1),\n ).toFormat('dd LLLL yyyy');\n\n const today = DateTime.fromMillis(new Date().getTime()).toFormat(\n 'dd LLLL yyyy',\n );\n\n const activity = [...activityArr];\n\n if (activity.length > 0) {\n if (activity[0].dayText === today) {\n activity[0].dayText = t('labels.today');\n }\n\n if (activity[0].dayText === yesterday) {\n activity[0].dayText = t('labels.yesterday');\n }\n\n if (activity[1] && activity[1].dayText === yesterday) {\n activity[1].dayText = t('labels.yesterday');\n }\n }\n\n return activity.map((item, index) => ({\n ...item,\n id: index,\n }));\n};\n\nexport const getLabel = (tab): string => {\n if (tab === ProspectActivityTabs.Replied) {\n return 'replied';\n }\n if (tab === ProspectActivityTabs.Sent) {\n return 'sent';\n }\n if (tab === ProspectActivityTabs.Opened) {\n return 'opened';\n }\n if (tab === ProspectActivityTabs.Clicked) {\n return 'clicked';\n }\n\n return 'all';\n};\n\nexport const getActivityData = (activityItems, response): boolean =>\n activityItems ? activityItems.concat(response) : [];\n\nexport const checkIsActivityExsist = (loading, activityItems): boolean =>\n !loading && activityItems?.length <= 0;\n\nexport const handleActivityItemsFilters = (tab, item): boolean => {\n if (tab === 'all') {\n return true;\n }\n\n if (\n tab === ProspectActivityTabs.Replied &&\n (item.key === MasterLog.ReplyReceivedManual ||\n item.key === MasterLog.ReplyReceivedAuto)\n ) {\n return true;\n }\n\n return item.key === tab;\n};\n","export enum RedirectUser {\n EmailAccounts = 'Email Accounts',\n UserAccounts = 'User Accounts',\n}\n","/* eslint-disable import/no-cycle */\nimport React from 'react';\nimport { SkeletonLoading } from '@saleshandy/design-system';\nimport ProspectTagsRow from '../../../../../../../shared/design-system/components/molecules/prospect-tags-row';\nimport { Column } from '../../../../../../../shared/design-system/components/organisms/table/types';\nimport Avatar from '../../../../../../../shared/design-system/components/atoms/initials-avatar/avatar';\nimport ProspectSequenceName from './prospect-sequence-name';\nimport { ProspectSortBy } from '../../../../../types';\nimport { Order } from '../../../../../../templates/enums/templates.enum';\nimport TruncatedTextWithTooltip from '../../../../../../../shared/components/truncated-text-with-tooltip';\nimport OutcomeCell from './outcome-cell';\nimport { OverlayTooltip } from '../../../../../../../shared/design-system/components/overlay';\n\nexport const getProspectColumn = (\n action: (id: number) => void,\n onSort: (field: ProspectSortBy, order: Order) => void,\n): Column[] => [\n {\n dataField: 'fields',\n text: 'Prospects Name',\n headerAlign: 'left',\n cellClasses: 'name-field',\n component: 'contact-name-field',\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: (\n
    \n \n \n
    \n ),\n },\n {\n dataField: 'tags',\n text: 'Tags',\n headerAlign: 'left',\n cellClasses: 'tag-detail',\n style: () => ({ width: '5rem' }),\n component: (cell) => ,\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: (\n
    \n \n
    \n \n
    \n
    \n ),\n },\n {\n dataField: 'sequences',\n text: 'Sequence',\n headerAlign: 'left',\n cellClasses: 'sequence-detail',\n component: ({ sequences, allOutcomes }) => (\n \n ),\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: ,\n },\n {\n dataField: 'outcomes',\n text: 'Outcome',\n headerAlign: 'left',\n component: ({ sequencesDetails, prospectId, allOutcomes }) => (\n \n ),\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: ,\n },\n {\n dataField: 'lastActivity',\n text: 'Last Activity',\n headerAlign: 'left',\n align: 'left',\n cellClasses: 'last-activity',\n component: (_cell, row) => {\n const cellValue = row.sequences;\n const latestActivity = cellValue[0]?.lastActivity;\n return (\n \n {latestActivity || '-'}\n \n );\n },\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: ,\n },\n {\n dataField: 'created',\n text: 'Owner',\n headerAlign: 'left',\n align: 'left',\n sort: true,\n onSort: (_field, order) => onSort(ProspectSortBy.Owner, order),\n component: (cell) => {\n const { firstName, lastName } = cell || { firstName: '', lastName: '' };\n return (\n \n
    \n \n
    \n
    \n );\n },\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: (\n
    \n \n
    \n \n
    \n
    \n ),\n },\n];\n\nexport const getModalColumn: Column[] = [\n {\n dataField: 'name',\n text: 'Name',\n headerAlign: 'left',\n component: (cell) => ,\n headerStyle: {\n borderTop: '1px solid #dee2e6',\n },\n },\n {\n dataField: 'email',\n text: 'Email',\n headerAlign: 'left',\n component: (cell) => {cell},\n headerStyle: {\n borderTop: '1px solid #dee2e6',\n },\n },\n];\n","import React, { useState } from 'react';\nimport classNames from 'classnames';\nimport { useTranslation } from 'react-i18next';\nimport { Link } from 'react-router-dom';\nimport {\n OverlayPopover,\n Placement,\n} from '../../../../../../../shared/design-system/components/overlay';\nimport { accessibleOnClick } from '../../../../../../../shared/utils/accessible-on-click';\nimport DataCard from './data-card/data-card';\n\nconst ProspectSequenceName = ({ sequences, allOutcomes }) => {\n const { t } = useTranslation();\n\n const [isVisibleAllSequences, setIsVisibleAllSequences] = useState(\n false,\n );\n\n const mappedCell = sequences.length\n ? sequences.map((sequence) => ({\n sequenceId: sequence.id,\n sequence: sequence.title,\n status: sequence.status,\n prospectId: sequence.prospectId,\n categoryId: sequence.categoryId,\n }))\n : [];\n\n const cls = classNames([\n 'regular-2 sequence-name font-medium blue-txt-11',\n {\n 'underline-txt': isVisibleAllSequences,\n },\n ]);\n\n const onToggle = () => {\n setIsVisibleAllSequences(!isVisibleAllSequences);\n };\n\n const showAllSequences = () => {\n setIsVisibleAllSequences(true);\n };\n\n const renderOverlayPopoverSpan = (\n \n }\n placement={Placement.AutoStart}\n rootClose\n >\n \n {`${mappedCell.length} ${t('labels.sequences')}`}\n \n \n );\n\n const renderSpan = () => {\n const firstElement = mappedCell.shift();\n\n if (firstElement) {\n return (\n \n {firstElement.sequence}\n \n );\n }\n\n return '-';\n };\n\n return (\n
    \n {mappedCell?.length > 1 ? renderOverlayPopoverSpan : renderSpan()}\n
    \n );\n};\n\nexport default ProspectSequenceName;\n","/* eslint-disable import/no-cycle */\nimport React, { useState } from 'react';\nimport classNames from 'classnames';\nimport {\n OverlayPopover,\n Placement,\n} from '../../../../../../../shared/design-system/components/overlay';\nimport { accessibleOnClick } from '../../../../../../../shared/utils/accessible-on-click';\nimport DataCard from './data-card/data-card';\nimport GenericCustomOutcomeDropdown from '../../../../../../settings/components/custom-outcomes/components/custom-outcome-dropdown';\nimport {\n getOptionFromOutcome,\n mapOutcomeToOption,\n} from '../../../../../../sequence/components/sequence-single-content/components/sequence-single-contacts/components/prospect-outcome-select/utils/helper';\nimport { getOutcomeIcon } from '../../../../../../sequence/components/sequence-single-content/components/sequence-single-contacts/components/contact-list-content/components/helpers/step-filter-mapper';\n\nconst OutcomeCell = ({ sequences, prospectId, allOutcomes }) => {\n const categoryId = sequences?.[0]?.categoryId;\n const [isVisibleAllSequences, setIsVisibleAllSequences] = useState(\n false,\n );\n\n const mappedCell = sequences?.length\n ? sequences.map((sequence) => ({\n sequenceId: sequence.id,\n sequence: sequence.title,\n status: sequence.status,\n prospectId,\n categoryId: sequence?.categoryId,\n allOutcomes,\n }))\n : [];\n\n const cls = classNames([\n 'regular-2 blue-txt-11 sequence-name font-medium',\n {\n 'underline-txt': isVisibleAllSequences,\n },\n ]);\n\n const onToggle = () => {\n setIsVisibleAllSequences(!isVisibleAllSequences);\n };\n\n const showAllSequences = () => {\n setIsVisibleAllSequences(true);\n };\n\n const renderOverlayPopoverSpan = (\n \n }\n placement={Placement.Auto}\n rootClose\n >\n \n View Outcomes\n \n \n );\n\n const renderSpan = () => {\n const firstElement = sequences.shift();\n\n if (firstElement) {\n return (\n (\n
    \n {getOutcomeIcon(option?.name, false, {\n isDefault: option.isDefault,\n sentiment: option.sentiment,\n })}\n {option.name}\n
    \n )}\n />\n );\n }\n\n return '-';\n };\n\n return (\n
    \n {mappedCell?.length > 1 ? renderOverlayPopoverSpan : renderSpan()}\n
    \n );\n};\n\nexport default OutcomeCell;\n","/* eslint-disable jsx-a11y/no-static-element-interactions */\nimport React from 'react';\nimport { Range, getTrackBackground } from 'react-range';\nimport type { RangeInputType } from './types';\n\nconst STEP = 1;\nconst MIN = 1;\nconst MAX = 4;\n\nexport const RangeInput: React.FC = ({ value, onChange }) => {\n const handleChange = (v: number[]) => {\n onChange(v);\n };\n\n return (\n \n handleChange(v)}\n renderMark={({ props, index }) => (\n \n )}\n renderTrack={({ props, children }) => (\n \n \n {children}\n \n \n )}\n renderThumb={({ props }) => (\n \n )}\n />\n \n );\n};\n","export const filterDecimal = (value) => {\n if (Math.round(value) !== value) {\n return value.toFixed(2);\n }\n\n return value % 1 === 0 ? value : value.toFixed(2);\n};\n","/* eslint-disable jsx-a11y/no-static-element-interactions */\nimport React from 'react';\nimport { Range, getTrackBackground } from 'react-range';\nimport type { RangeInputType } from './types';\n\nconst STEP = 1;\nconst MIN = 1;\nconst MAX = 6;\n\nexport const RangeInput: React.FC = ({ value, onChange }) => {\n const handleChange = (v: number[]) => {\n onChange(v);\n };\n\n return (\n \n handleChange(v)}\n renderMark={({ props, index }) => (\n \n )}\n renderTrack={({ props, children }) => (\n \n \n {children}\n \n \n )}\n renderThumb={({ props }) => (\n \n )}\n />\n \n );\n};\n","import FeatureCodes from '../enums/feature-codes';\nimport { FeatureUsage } from '../types/feature-usage';\n\nexport const getFeatureCodeValue = (\n featureUsages: FeatureUsage[],\n code: FeatureCodes,\n) => featureUsages.find(({ featureCode }) => featureCode === code);\n","export { default } from './date-filter';\n","import { createSlice, PayloadAction } from '@reduxjs/toolkit';\nimport { RootStateOrAny } from 'react-redux';\n\nexport type CacheMetadata = {\n queryHash: string;\n timestamp: number;\n};\n\ninterface ApiCacheState {\n [apiName: string]: CacheMetadata;\n}\n\nconst apiCacheSlice = createSlice({\n name: 'apiCache',\n initialState: {} as ApiCacheState,\n reducers: {\n setApiCacheMetadata: (\n state,\n action: PayloadAction<{ apiName: string; metadata: CacheMetadata }>,\n ) => {\n const { apiName, metadata } = action.payload;\n state[apiName] = metadata;\n },\n clearAPICacheMetadata: (state, action: PayloadAction) => {\n const apiName = action.payload;\n delete state[apiName];\n },\n },\n});\n\nexport const {\n setApiCacheMetadata,\n clearAPICacheMetadata,\n} = apiCacheSlice.actions;\nexport const selectApiCacheMetadata = (state: RootStateOrAny) => state.apiCache;\nexport const apiCacheReducer = apiCacheSlice.reducer;\n","export enum ColdEmailPlanName {\n Starter = 'Starter',\n Professional = 'Pro',\n Business = 'Scale',\n ScalePlus = 'Scale Plus',\n Custom = 'Custom',\n}\n\nexport type IProps = {\n planName: ColdEmailPlanName;\n description: string;\n price?: number;\n features: { feature: string; tooltipText?: string }[];\n headerImage: string;\n isBestValuePlan: boolean;\n handlePlanSelect: VoidFunction;\n};\n","import React from 'react';\nimport classnames from 'classnames';\nimport { IProps } from './types';\nimport { ModifySubscriptionSteps } from '../../types';\nimport Icon from '../../../../../../../../shared/design-system/components/atoms/icon';\nimport { accessibleOnClick } from '../../../../../../../../shared/utils/accessible-on-click';\n\nconst ModifySubscriptionProgressBar: React.FC = ({\n modifySubscriptionStep,\n onStepChange,\n disabledStep,\n}) => {\n const selectPlanStepClassName = classnames([\n {\n 'active-step':\n modifySubscriptionStep === ModifySubscriptionSteps.SelectPlan,\n },\n {\n 'done-step':\n modifySubscriptionStep === ModifySubscriptionSteps.SelectSlots,\n },\n {\n 'cursor-not-allowed': disabledStep === ModifySubscriptionSteps.SelectPlan,\n },\n ]);\n const selectSlotsStepClassName = classnames([\n {\n 'active-step':\n modifySubscriptionStep === ModifySubscriptionSteps.SelectSlots,\n },\n {\n 'disable-step':\n modifySubscriptionStep === ModifySubscriptionSteps.SelectPlan ||\n disabledStep === ModifySubscriptionSteps.SelectSlots,\n },\n {\n 'cursor-not-allowed':\n disabledStep === ModifySubscriptionSteps.SelectSlots,\n },\n ]);\n\n const handleStepChange = (step) => {\n if (\n step === ModifySubscriptionSteps.SelectPlan &&\n disabledStep !== ModifySubscriptionSteps.SelectPlan\n ) {\n onStepChange(step);\n return;\n }\n if (\n step === ModifySubscriptionSteps.SelectSlots &&\n disabledStep !== ModifySubscriptionSteps.SelectSlots\n ) {\n onStepChange(step);\n }\n };\n\n return (\n
    \n \n handleStepChange(ModifySubscriptionSteps.SelectPlan),\n )}\n >\n
    \n \n
    \n \n Choose your plan\n \n
    \n
    \n \n handleStepChange(ModifySubscriptionSteps.SelectSlots),\n )}\n >\n
    \n \n
    \n \n Select Slots\n \n
    \n \n );\n};\n\nexport default ModifySubscriptionProgressBar;\n","/* eslint-disable import/no-cycle */\n/* eslint-disable radix */\nimport React, { useCallback, useEffect, useState } from 'react';\nimport { debounce } from 'lodash';\n\nimport UpgradePlanBillingSection from '../../../../../../shared/design-system/components/molecules/upgrade-plan-billing-section';\nimport UpgradePlanDetails from '../../../../../../shared/design-system/components/molecules/upgrade-plans-details';\nimport { RequestStatus } from '../../../../../../shared/enums/request-status';\nimport { BillingOption } from '../../../../../../shared/utils/billing-options';\nimport { showGeneralErrorNotification } from '../../../../../../shared/utils/errors';\nimport { executeOnRequestStatus } from '../../../../../../shared/utils/execute-on-request-status';\nimport { ModifyPlanAction } from '../../../../../../shared/utils/subscription-plans';\n\nimport { getIsUserSubscribed, isRequestPending } from '../../utils/helper';\nimport { IProps } from '../modify-subscription/modify-subscription-container';\nimport {\n getNumberOfSlotsUserWant,\n getPlanId,\n onPurchaseSubscription,\n} from './utils/helper';\nimport { checkIsLtdPlan } from '../../../../../../shared/design-system/components/molecules/subscription-plan-details/helper/helper';\nimport { getPlanName } from '../modify-subscription/utils/helper';\n\nconst UpgradePlan: React.FC<{\n containerProps: IProps;\n planCycle: BillingOption;\n isRedirectedFromEmailAccounts: boolean;\n}> = ({ containerProps, planCycle, isRedirectedFromEmailAccounts }) => {\n const [numberOfSlotsUserWant, setNumberOfSlotsUserWant] = useState(1);\n const [\n minimumNumberOfSlotsUserCanHave,\n setMinimumNumberOfSlotsUserCanHave,\n ] = useState('1');\n const [couponCode, setCouponCode] = useState('');\n const [havePromoCode, setHavePromoCode] = useState(false);\n const [isUserModifyingSubscription, setIsModifySubscription] = useState(\n false,\n );\n\n // get plans\n const {\n sendGetPlansResponse,\n sendGetPlansRequestStatus,\n sendGetPlansRequestError,\n } = containerProps;\n\n const {\n sendPurchaseSubscriptionRequest,\n sendPurchaseSubscriptionRequestStatus,\n } = containerProps;\n\n const {\n sendGetAccountSubscriptionRequestError,\n sendGetAccountSubscriptionRequestStatus,\n sendGetAccountSubscriptionResponse,\n } = containerProps;\n\n const {\n sendGetConnectedUsersAndEmailAccountsRequestResponse,\n sendGetConnectedUsersAndEmailAccountsRequestStatus,\n } = containerProps;\n\n const { deleteAppliedCouponCode, getCouponCodeResponse } = containerProps;\n\n // modify subscriptions\n const {\n sendGetModifySubscriptionRequestStatus,\n sendModifySubscriptionRequest,\n sendPurchaseModifySubscriptionRequest,\n } = containerProps;\n\n // Calculate pay\n const { sendGetCalculatePayRequest } = containerProps;\n\n // Upgrade Downgrade plan\n const {\n sendUpgradeLtdPlanRequest,\n sendModifyLtdPlanRequest,\n } = containerProps;\n\n // Selected Plan\n const { selectedPlanDetails } = containerProps;\n\n useEffect(() => {\n executeOnRequestStatus({\n status: sendGetPlansRequestStatus,\n onFailed: () => {\n showGeneralErrorNotification(sendGetPlansRequestError?.message);\n },\n });\n }, [sendGetPlansRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: sendPurchaseSubscriptionRequestStatus,\n onFailed: () => {\n containerProps.hideLoading();\n },\n });\n }, [sendPurchaseSubscriptionRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: sendGetAccountSubscriptionRequestStatus,\n onSuccess: () => {\n const { slots } = sendGetAccountSubscriptionResponse;\n\n setNumberOfSlotsUserWant(slots);\n },\n onFailed: () => {\n showGeneralErrorNotification(\n sendGetAccountSubscriptionRequestError.message,\n );\n },\n });\n }, [sendGetAccountSubscriptionRequestStatus]);\n\n useEffect(() => {\n if (\n sendGetAccountSubscriptionRequestStatus === RequestStatus.Succeeded &&\n sendGetConnectedUsersAndEmailAccountsRequestStatus ===\n RequestStatus.Succeeded\n ) {\n const { slots, planCode } = sendGetAccountSubscriptionResponse;\n const {\n totalUsers,\n totalEmailAccounts,\n } = sendGetConnectedUsersAndEmailAccountsRequestResponse;\n\n setNumberOfSlotsUserWant(slots);\n setMinimumNumberOfSlotsUserCanHave(\n totalUsers > totalEmailAccounts ? totalUsers : totalEmailAccounts,\n );\n\n const isUserSubscribed = getIsUserSubscribed(planCode);\n setIsModifySubscription(isUserSubscribed);\n }\n }, [\n sendGetConnectedUsersAndEmailAccountsRequestStatus,\n sendGetAccountSubscriptionRequestStatus,\n ]);\n\n useEffect(() => {\n const { slots } = sendGetAccountSubscriptionResponse;\n\n if (\n !isRedirectedFromEmailAccounts &&\n isUserModifyingSubscription &&\n (selectedPlanDetails?.action !== ModifyPlanAction.AddSlots ||\n (slots !== numberOfSlotsUserWant && numberOfSlotsUserWant !== 1))\n ) {\n const currentPlanId = getPlanId(\n sendGetPlansResponse,\n selectedPlanDetails?.displayName,\n selectedPlanDetails?.planCode,\n selectedPlanDetails?.planType,\n );\n\n sendGetCalculatePayRequest({\n slots: numberOfSlotsUserWant,\n accountSubscriptionPlanId:\n currentPlanId || sendGetAccountSubscriptionResponse?.planId,\n });\n }\n }, [selectedPlanDetails]);\n\n // Debounce the calculate pay request when slots value change.\n const debouncedSave = useCallback(\n debounce(\n (slots, currentPlanId) =>\n sendGetCalculatePayRequest({\n slots,\n accountSubscriptionPlanId: currentPlanId,\n }),\n 500,\n ),\n [],\n );\n\n // Function to update the number of slots\n const onNumberOfSlotsChange = (value) => {\n // Get current plan id by filtering the plan array based on\n const currentPlanId = getPlanId(\n sendGetPlansResponse,\n selectedPlanDetails?.displayName ||\n sendGetAccountSubscriptionResponse?.planName,\n selectedPlanDetails?.planCode,\n selectedPlanDetails?.planType,\n );\n\n setNumberOfSlotsUserWant(value);\n\n if (\n isUserModifyingSubscription &&\n !checkIsLtdPlan(sendGetAccountSubscriptionResponse?.planType)\n ) {\n debouncedSave(\n value,\n currentPlanId || sendGetAccountSubscriptionResponse?.planId,\n );\n }\n };\n\n // Function to make an api call after user payed the amount on stripe\n const onPurchase = (token) => {\n onPurchaseSubscription({\n isUserModifyingSubscription,\n token,\n numberOfSlotsUserWant: getNumberOfSlotsUserWant(\n numberOfSlotsUserWant,\n minimumNumberOfSlotsUserCanHave,\n ),\n selectedPlanDetails,\n couponCode,\n onPurchaseSubscriptionRequest: (payload) => {\n sendPurchaseSubscriptionRequest(payload);\n },\n onPurchaseModifySubscriptionRequest: (payload) => {\n sendPurchaseModifySubscriptionRequest(payload);\n },\n sendUpgradeLtdPlanRequest: (payload) => {\n sendUpgradeLtdPlanRequest(payload);\n },\n sendModifyLtdPlanRequest: (payload) => {\n sendModifyLtdPlanRequest(payload);\n },\n existingPlanCode: sendGetAccountSubscriptionResponse?.planCode,\n existingSlots: sendGetAccountSubscriptionResponse.slots,\n getCouponCodeResponse,\n });\n };\n\n // Set coupon code value\n const onCouponCodeChange = (value) => {\n setCouponCode(value);\n };\n\n // User has a promo code\n const userHasPromoCode = (value) => {\n setHavePromoCode(value);\n };\n\n const planName = getPlanName(\n planCycle,\n selectedPlanDetails?.displayName,\n selectedPlanDetails?.planCode,\n );\n\n return (\n <>\n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n \n );\n};\n\nexport default UpgradePlan;\n","import React from 'react';\nimport { Images } from '../../../../../../../../shared/app-constants';\nimport ImageIcon from '../../../../../../../../shared/components/images/image-icon';\nimport { OverlayTooltip } from '../../../../../../../../shared/design-system/components/overlay';\nimport toaster, { Theme } from '../../../../../../../../shared/toaster';\nimport { accessibleOnClick } from '../../../../../../../../shared/utils/accessible-on-click';\n\nconst ColdEmailPlanExploreBanner: React.FC = () => {\n const couponCode = 'BLACKF35';\n\n const copyCouponCode = () => {\n navigator.clipboard.writeText(couponCode);\n toaster.success('Coupon code has been copied successfully', {\n theme: Theme.New,\n });\n };\n\n return (\n
    \n
    \n \n
    \n \n \n Black Friday/Cyber Monday special:{' '}\n \n Get flat 35% discount on yearly plans. Apply code\n \n \n {couponCode}\n \n \n during checkout\n \n
    \n
    \n
    \n );\n};\n\nexport default ColdEmailPlanExploreBanner;\n","import React, { useState, useEffect } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport StripeCheckout from 'react-stripe-checkout';\nimport type { IProps } from './billing-summary-modal-container';\nimport Modal from '../../../../../../../../shared/design-system/components/atoms/modal';\nimport Button from '../../../../../../../../shared/design-system/components/atoms/button';\nimport { accessibleOnClick } from '../../../../../../../../shared/utils/accessible-on-click';\nimport Input from '../../../../../../../../shared/design-system/components/input/input';\nimport { validate } from '../../../../../../../../shared/design-system/components/molecules/upgrade-plan-billing-section/validator';\nimport { isRequestPending } from '../../../../utils/helper';\nimport { Images } from '../../../../../../../../shared/app-constants';\nimport { getSubtotalDiscountAmount } from '../../../../../../../../shared/design-system/components/molecules/upgrade-plan-billing-section/helper/helper';\nimport { executeOnRequestStatus } from '../../../../../../../../shared/utils/execute-on-request-status';\nimport { supportUrls } from '../../../../../../../../shared/utils/urls';\nimport { getTotalAmountForOutreachPlan } from './utils/helper';\nimport ImageIcon from '../../../../../../../../shared/components/images/image-icon';\nimport { AnalyticsEvents } from '../../../../../../../../shared/enums/analytics';\nimport { filterDecimal } from '../../../../../../../../shared/utils/filter-decimal';\n\nconst BillingSummaryModal: React.FC = ({\n show,\n onClose,\n selectedPlanDetails,\n couponCodeDiscount,\n couponCodeDiscountType,\n onPurchase,\n sendGetAdminDetailsRequest,\n\n //* Request Response State\n sendApplyCouponCodeRequestMessage,\n isSendApplyCouponCodeRequestError,\n sendApplyCouponCodeRequestStatus,\n sendPurchaseSubscriptionRequestStatus,\n sendGetPurchaseModifySubscriptionRequestStatus,\n sendGetCalculatePayResponse,\n sendGetCalculatePayRequestStatus,\n //* API Request\n sendApplyCouponCodeRequest,\n //* Redux Util Function\n deleteAppliedCouponCode,\n currentPlanName,\n hasAccountSubscription,\n adminSettings,\n}) => {\n const { t } = useTranslation();\n const totalAmount = selectedPlanDetails?.amount;\n const planId = Number(selectedPlanDetails?.id);\n const planName = selectedPlanDetails?.planName;\n const isApplyCouponCodeInProgress = isRequestPending(\n sendApplyCouponCodeRequestStatus,\n );\n const isPurchaseInProgress =\n isRequestPending(sendPurchaseSubscriptionRequestStatus) ||\n isRequestPending(sendGetPurchaseModifySubscriptionRequestStatus);\n\n const totalAmountToPay: number = getTotalAmountForOutreachPlan({\n totalAmount: Number(totalAmount),\n discountType: couponCodeDiscountType,\n discount: couponCodeDiscount,\n sendGetCalculatePayResponse,\n });\n\n const [havePromoCode, setHavePromoCode] = useState(false);\n const [couponCode, setCouponCode] = useState('');\n const [error, setError] = useState('');\n const [applyDefaultCouponCode, setApplyDefaultCouponCode] = useState(false);\n\n const userHasPromoCode = (value) => {\n setHavePromoCode(value);\n };\n\n const onCouponCodeChange = (value) => {\n setCouponCode(value);\n };\n\n const handleDeleteAppliedCouponCode = () => {\n onCouponCodeChange('');\n deleteAppliedCouponCode();\n userHasPromoCode(false);\n };\n\n const onApplyCouponCode = (e) => {\n e?.preventDefault();\n const res: any = adminSettings;\n const hasReferralCode =\n Array.isArray(res) &&\n res.find((r) => r.code === 'cello-referral-code')?.value;\n if (couponCode === 'REFERRAL10') {\n if (!hasReferralCode) {\n setError('ENTER A VALID COUPON CODE');\n return;\n }\n }\n let isError = false;\n\n const checkError = validate('couponCode', couponCode);\n isError = isError || !!checkError;\n setError(checkError);\n\n if (isError) {\n return;\n }\n\n sendApplyCouponCodeRequest({\n couponCode,\n amount: Number(totalAmountToPay),\n planId,\n });\n };\n\n const onPurchaseHandler = (token) => {\n onPurchase(token, couponCode);\n };\n\n const handleModalClose = () => {\n if (applyDefaultCouponCode) {\n handleDeleteAppliedCouponCode();\n }\n setApplyDefaultCouponCode(false);\n onClose();\n };\n\n const handlePayNowAnalyticsEvent = () => {\n window.analytics?.track?.({\n event: AnalyticsEvents.ClickedOnPayNow,\n properties: {\n Source: 'Subscription',\n current_plan: currentPlanName,\n 'Clicked Plan': planName,\n },\n });\n };\n\n useEffect(() => {\n sendGetAdminDetailsRequest();\n }, []);\n\n useEffect(() => {\n if (show && adminSettings) {\n const res: any = adminSettings;\n // eslint-disable-next-line eqeqeq\n const hasReferralCode =\n Array.isArray(res) &&\n res.find((r) => r.code === 'cello-referral-code')?.value;\n if (!hasAccountSubscription && hasReferralCode) {\n setCouponCode('REFERRAL10');\n setApplyDefaultCouponCode(true);\n userHasPromoCode(true);\n }\n }\n }, [show, adminSettings]);\n\n useEffect(() => {\n if (show && applyDefaultCouponCode) {\n onApplyCouponCode(null);\n }\n }, [show, applyDefaultCouponCode]);\n\n // Purchase subscription\n useEffect(() => {\n executeOnRequestStatus({\n status: sendPurchaseSubscriptionRequestStatus,\n onFailed: () => {\n handleDeleteAppliedCouponCode();\n },\n });\n }, [sendPurchaseSubscriptionRequestStatus]);\n\n // Modify subscription\n useEffect(() => {\n executeOnRequestStatus({\n status: sendGetPurchaseModifySubscriptionRequestStatus,\n onFailed: () => {\n handleDeleteAppliedCouponCode();\n },\n });\n }, [sendGetPurchaseModifySubscriptionRequestStatus]);\n\n const renderCouponCodeView = () => (\n
    \n {havePromoCode && (\n
    \n onApplyCouponCode(e),\n }\n }\n icons={[\n isApplyCouponCodeInProgress && {\n place: Input.IconPlace.Right,\n identifier: 'spinner-alt',\n colorDefault: true,\n className: 'icon-loading',\n },\n ...(couponCodeDiscount\n ? [\n {\n place: Input.IconPlace.Right,\n identifier: 'trash',\n colorDefault: true,\n className: 'icon-1 icon-2',\n onClick: () => handleDeleteAppliedCouponCode(),\n },\n ]\n : []),\n ]}\n />\n
    \n )}\n\n {couponCodeDiscount && (\n
    \n \n {t('labels.discount')}\n \n {`$${filterDecimal(\n getSubtotalDiscountAmount(\n couponCodeDiscountType,\n sendGetCalculatePayResponse?.amountToPay || Number(totalAmount),\n couponCodeDiscount,\n ),\n )}`}\n
    \n )}\n
    \n );\n\n const renderStripeButton = () => (\n \n handlePayNowAnalyticsEvent()}\n variant={Button.Variant.Primary}\n isLoading={isPurchaseInProgress}\n disabled={isPurchaseInProgress}\n className=\"solid-primary-new w-100\"\n >\n {t('labels.pay_now')}\n \n \n );\n\n return (\n \n
    \n Plan Name\n \n {planName}\n \n
    \n\n
    \n
    \n Total Amount\n \n ${totalAmount}\n \n
    \n
    \n {!havePromoCode && (\n \n Have a discount code?\n \n )}\n
    \n {renderCouponCodeView()}\n
    \n\n
    \n \n Total Amount to pay today\n \n \n {isRequestPending(sendGetCalculatePayRequestStatus) ? (\n
    \n \n
    \n ) : (\n `$${totalAmountToPay}`\n )}\n
    \n
    \n\n
    \n

    \n Your subscription will auto-renew until you cancel. By upgrading, you\n agree to our{' '}\n \n refund policy.\n \n

    \n
    \n\n {renderStripeButton()}\n \n );\n};\n\nexport default BillingSummaryModal;\n","import { getSubtotalDiscountAmount } from '../../../../../../../../../shared/design-system/components/molecules/upgrade-plan-billing-section/helper/helper';\n\nexport const getTotalAmountForOutreachPlan = ({\n totalAmount,\n discountType,\n discount,\n sendGetCalculatePayResponse,\n}) => {\n let subTotal = totalAmount;\n\n if (sendGetCalculatePayResponse) {\n subTotal = sendGetCalculatePayResponse?.amountToPay;\n }\n\n const discountedAmount = getSubtotalDiscountAmount(\n discountType,\n sendGetCalculatePayResponse?.amountToPay || totalAmount,\n discount,\n );\n\n if (discountedAmount) {\n return (subTotal - discountedAmount).toFixed(2);\n }\n\n return subTotal.toFixed(2);\n};\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../../../../../store/root-reducer';\n// eslint-disable-next-line import/no-cycle\nimport BillingSummaryModal from './billing-summary-modal';\nimport {\n ApplyCouponCodeRequest,\n ModifySubscriptionRequest,\n Plan,\n PurchaseModifySubscriptionRequest,\n PurchaseSubscriptionRequest,\n} from '../../../../types';\nimport {\n applyCouponCodeRequest,\n modifySubscriptionRequest,\n purchaseModifySubscriptionRequest,\n purchaseSubscriptionRequest,\n} from '../../../../extra-actions';\nimport {\n deleteAppliedCouponCode,\n resetHandleSubscriptionResponse,\n resetSubscription,\n} from '../../../../billing-subscription-slice';\nimport { getAdminSettingsRequest } from '../../../../../admin-settings/extra-actions';\n\nconst mapStateToProps = (state: RootState) => ({\n getAdminSettingsRequestStatus:\n state.adminSettings.getAdminSettingsRequest.status,\n getAdminSettingsRequestMessage:\n state.adminSettings.getAdminSettingsRequest.message,\n getAdminSettingsRequestError:\n state.adminSettings.getAdminSettingsRequest.error,\n\n sendPurchaseSubscriptionRequestStatus:\n state.billingAndSubscription.purchaseSubscriptionRequest.status,\n sendPurchaseSubscriptionRequestError:\n state.billingAndSubscription.purchaseSubscriptionRequest.error,\n sendPurchaseSubscriptionRequestMessage:\n state.billingAndSubscription.purchaseSubscriptionRequest.message,\n\n sendGetConnectedUsersAndEmailAccountsRequestError:\n state.billingAndSubscription.getConnectedUsersAndEmailAccountsRequest.error,\n sendGetConnectedUsersAndEmailAccountsRequestResponse:\n state.billingAndSubscription.getConnectedUsersAndEmailAccountsResponse,\n\n sendApplyCouponCodeRequestStatus:\n state.billingAndSubscription.applyCouponCodeRequest.status,\n sendApplyCouponCodeRequestMessage:\n state.billingAndSubscription.applyCouponCodeRequest.message,\n isSendApplyCouponCodeRequestError:\n state.billingAndSubscription.applyCouponCodeRequest.error?.error,\n getCouponCodeResponse: state.billingAndSubscription.applyCouponCodeResponse,\n\n sendGetModifySubscriptionRequestStatus:\n state.billingAndSubscription.modifySubscriptionRequest.status,\n sendGetModifySubscriptionRequestError:\n state.billingAndSubscription.modifySubscriptionRequest.error,\n sendGetModifySubscriptionResponse:\n state.billingAndSubscription.modifySubscriptionResponse,\n sendGetPurchaseModifySubscriptionRequestStatus:\n state.billingAndSubscription.purchaseModifySubscriptionRequest.status,\n\n sendGetHandleSubscriptionResponse:\n state.billingAndSubscription.handleSubscriptionResponse,\n sendGetHandleSubscriptionRequestError:\n state.billingAndSubscription.handleSubscriptionRequest.error,\n sendGetHandleSubscriptionRequestStatus:\n state.billingAndSubscription.handleSubscriptionRequest.status,\n\n sendGetCalculatePayRequestStatus:\n state.billingAndSubscription.calculatePayRequest.status,\n sendGetCalculatePayResponse:\n state.billingAndSubscription.getCalculatePayResponse,\n\n couponCodeDiscount:\n state.billingAndSubscription.applyCouponCodeResponse?.discountValue,\n couponCodeDiscountType:\n state.billingAndSubscription.applyCouponCodeResponse?.discountType,\n sendGetAccountSubscriptionResponse:\n state.billingAndSubscription.getAccountSubscriptionResponse,\n currentPlanName: state.home?.subscription?.planName,\n currentPlanCode: state.home?.subscription?.planCode,\n hasAccountSubscription: state.home?.subscription?.customerId,\n isValidUser: state.home?.signup_date,\n adminSettings: state.adminSettings?.adminSettings,\n});\n\nconst mapDispatchToProps = {\n sendGetAdminDetailsRequest: () => getAdminSettingsRequest(),\n sendPurchaseSubscriptionRequest: (payload: PurchaseSubscriptionRequest) =>\n purchaseSubscriptionRequest(payload),\n resetSubscription: () => resetSubscription(),\n resetHandleSubscriptionResponse: () => resetHandleSubscriptionResponse(),\n sendApplyCouponCodeRequest: (payload: ApplyCouponCodeRequest) =>\n applyCouponCodeRequest(payload),\n deleteAppliedCouponCode: () => deleteAppliedCouponCode(),\n sendModifySubscriptionRequest: (payload: ModifySubscriptionRequest) =>\n modifySubscriptionRequest(payload),\n sendPurchaseModifySubscriptionRequest: (\n payload: PurchaseModifySubscriptionRequest,\n ) => purchaseModifySubscriptionRequest(payload),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n show: boolean;\n onClose: VoidFunction;\n selectedPlanDetails: Plan | null;\n isUserModifyingSubscription: boolean;\n onPurchase: (token: string, couponCode: string) => void;\n isAnnuallyCycle: boolean;\n};\n\nexport default connector(BillingSummaryModal);\n","import { SubscriptionPlanTitle } from '../../../../../../../../../shared/utils/subscription-plans';\n\nexport const customPlan = {\n id: 27,\n planName: SubscriptionPlanTitle.Custom,\n planCode: 'custom',\n};\n\nexport const customPlanScale100kMonthly = {\n id: 92,\n amount: '299.00',\n planName: SubscriptionPlanTitle.OutreachScaleMonthly100k,\n planCode: 'outreach-scale-plus-100k-monthly',\n currency: 'USD',\n planValidityDays: 30,\n planType: 'value-based',\n planMode: 1,\n isCustomPlan: true,\n};\n\nexport const customPlanScale100kYearly = {\n id: 97,\n amount: '2628.00',\n planName: SubscriptionPlanTitle.OutreachScaleYearly100k,\n planCode: 'outreach-scale-plus-100k-yearly',\n currency: 'USD',\n planValidityDays: 365,\n planType: 'value-based',\n planMode: 12,\n isCustomPlan: true,\n};\n\nexport const getOutreachPlanData = (planMode, allPlans) =>\n allPlans.filter((plan) => plan.planMode === planMode && plan.id <= 82);\n\nexport const getCustomScalePlusPlanData = (planMode, allPlans) =>\n allPlans.filter((plan) => plan.planMode === planMode && plan.id >= 92);\n\nexport const isCustomScalePlusPlan = (planId) => planId >= 92;\n","import {\n GetButtonLabel,\n SelectPlanCTAText,\n} from '../../../../../../../../../shared/design-system/components/molecules/pricing-card/types';\nimport { Images } from '../../../../../../../../../shared/app-constants';\nimport { BillingOption } from '../../../../../../../../../shared/utils/billing-options';\nimport { SubscriptionPlanTitle } from '../../../../../../../../../shared/utils/subscription-plans';\nimport { GetPlansResponse } from '../../../../../types';\nimport { getPlanName } from '../../../../modify-subscription/utils/helper';\nimport { isCustomScalePlusPlan } from '../../plans-section/utils/helper';\n\nconst outreachBasicMonthlyFeatures = [\n // {\n // label: 'Unlimited Prospects',\n // tooltipText: \"You'll be able to import unlimited prospects upto 60,000\",\n // labelClass: 'font-semibold',\n // highlight: true,\n // },\n {\n label: 'Unlimited Email Accounts',\n labelClass: 'font-semibold',\n highlight: true,\n },\n {\n label: 'Unlimited Email Warm up',\n tooltipText:\n 'Email Warm-up is provided by our partner TrulyInbox. Sending is Subject to Fair Usage Policy',\n },\n {\n label: 'Sender Rotation Basic',\n tooltipText: '10 email accounts allowed per sequence',\n },\n {\n label: 'Unified Inbox',\n tooltipText:\n 'Full access to all the conversations with no restrictions on actions',\n },\n {\n label: '2,000 Total prospects',\n tooltipText:\n 'Total number of prospects you can keep in your saleshandy account at a time',\n },\n {\n label: '6,000 Emails Per Month',\n tooltipText:\n 'Total number of emails you can send in a month across your saleshandy account',\n },\n {\n label: '1,100 Email Verification Credits',\n },\n {\n label: '100 Free Lead Finder Credits',\n tooltipText:\n 'These credits are available for first-time purchases and you can reveal Email and Phone numbers both.',\n },\n];\nconst outreachBasicYearlyFeatures = [\n {\n label: 'Unlimited Email Accounts',\n labelClass: 'font-semibold',\n highlight: true,\n },\n {\n label: 'Unlimited Email Warm up',\n tooltipText:\n 'Email Warm-up is provided by our partner TrulyInbox. Sending is Subject to Fair Usage Policy',\n },\n {\n label: 'Sender Rotation Basic',\n tooltipText: '10 email accounts allowed per sequence',\n },\n {\n label: 'Unified Inbox',\n tooltipText:\n 'Full access to all the conversations with no restrictions on actions',\n },\n {\n label: '2,000 Total prospects',\n tooltipText:\n 'Total number of prospects you can keep in your Saleshandy account at a time',\n },\n {\n label: '10,000 Emails per Month',\n strikeText: '6,000',\n tooltipText:\n 'Total number of emails you can send in a month across your Saleshandy account',\n },\n {\n label: '2,500 Email Verification Credits',\n strikeText: '1,100',\n },\n {\n label: '100 Free Lead Finder Credits',\n tooltipText:\n 'These credits are available for first-time purchases and you can reveal Email and Phone numbers both.',\n },\n];\n\nconst outreachProMonthlyFeatures = [\n // {\n // label: 'Unlimited Prospects',\n // tooltipText: \"You'll be able to import unlimited prospects upto 9,00,000\",\n // labelClass: 'font-semibold',\n // highlight: true,\n // },\n {\n label: 'Everything in Outreach Starter',\n labelClass: 'font-semibold',\n highlight: true,\n },\n {\n label: 'Unlimited Team Members',\n },\n {\n label: 'Sender Rotation Pro',\n tooltipText: '50 email accounts allowed per sequence',\n },\n {\n label: 'Unlimited Email Warm up',\n tooltipText:\n 'Email Warm-up is provided by our partner TrulyInbox. Sending is Subject to Fair Usage Policy',\n },\n {\n label: '30,000 Total Prospects',\n tooltipText:\n 'Total number of prospects you can keep in your Saleshandy account at a time',\n },\n {\n label: '100,000 Emails Per Month',\n tooltipText:\n 'Total number of emails you can send in a month across your saleshandy account',\n },\n {\n label: '4,000 Email Verification Credits',\n },\n {\n label: '500 Free Lead Finder Credits',\n tooltipText:\n 'These credits are available for first-time purchases and you can reveal Email and Phone numbers both.',\n },\n];\nconst outreachProYearlyFeatures = [\n {\n label: 'Everything in Outreach Starter',\n labelClass: 'font-semibold',\n highlight: true,\n },\n {\n label: 'Unlimited Team Members',\n // labelClass: 'font-medium',\n // highlight: true,\n },\n {\n label: 'Sender Rotation Pro',\n tooltipText: '50 email accounts allowed per sequence',\n },\n {\n label: 'Unlimited Email Warm up',\n tooltipText:\n 'Email Warm-up is provided by our partner TrulyInbox. Sending is Subject to Fair Usage Policy',\n },\n {\n label: '30,000 Total Prospects',\n tooltipText:\n 'Total number of prospects you can keep in your Saleshandy account at a time',\n },\n {\n label: '125,000 Emails per Month',\n strikeText: '100,000',\n tooltipText:\n 'Total number of emails you can send in a month across your Saleshandy account',\n },\n {\n label: '10,000 Email Verification Credits',\n strikeText: '4,000',\n },\n {\n label: '500 Free Lead Finder Credits',\n tooltipText:\n 'These credits are available for first-time purchases and you can reveal Email and Phone numbers both.',\n },\n];\n\nconst outreachScaleMonthlyFeatures = [\n // {\n // label: 'Unlimited Prospects',\n // tooltipText: \"You'll be able to import unlimited prospects upto 18,00,000\",\n // labelClass: 'font-semibold',\n // highlight: true,\n // },\n {\n label: 'Everything in Outreach Pro',\n labelClass: 'font-semibold',\n highlight: true,\n },\n {\n label: 'Sender Rotation Scale',\n tooltipText: '100 email accounts allowed per sequence',\n },\n {\n label: 'Unlimited Email Warm up',\n tooltipText:\n 'Email Warm-up is provided by our partner TrulyInbox. Sending is Subject to Fair Usage Policy',\n },\n {\n label: '60,000 Total prospects',\n tooltipText:\n 'Total number of prospects you can keep in your Saleshandy account at a time',\n },\n {\n label: '200,000 Emails per Month',\n tooltipText:\n 'Total number of emails you can send in a month across your Saleshandy account',\n },\n {\n label: '12,000 Email Verification Credits',\n },\n {\n label: 'Priority Support',\n },\n {\n label: 'Agency Whitelabel',\n },\n {\n label: '500 Free Lead Finder Credits',\n tooltipText:\n 'These credits are available for first-time purchases and you can reveal Email and Phone numbers both.',\n },\n {\n label: 'Single Sign-on (SSO)',\n },\n];\nconst outreachScaleYearlyFeatures = [\n {\n label: 'Everything in Outreach Pro',\n labelClass: 'font-semibold',\n highlight: true,\n },\n {\n label: 'Sender Rotation Scale',\n tooltipText: '100 email accounts allowed per sequence',\n },\n {\n label: 'Unlimited Email Warm up',\n tooltipText:\n 'Email Warm-up is provided by our partner TrulyInbox. Sending is Subject to Fair Usage Policy',\n },\n {\n label: '60,000 Total Prospects',\n tooltipText:\n 'Total number of prospects you can keep in your Saleshandy account at a time',\n },\n {\n label: '250,000 Emails per Month',\n strikeText: '200,000',\n tooltipText:\n 'Total number of emails you can send in a month across your Saleshandy account',\n },\n {\n label: '25,000 Email Verification Credits',\n strikeText: '12,000',\n },\n {\n label: 'Priority Support',\n },\n {\n label: 'Agency Whitelabel',\n },\n {\n label: '500 Free Lead Finder Credits',\n tooltipText:\n 'These credits are available for first-time purchases and you can reveal Email and Phone numbers both.',\n },\n {\n label: 'Single Sign-on (SSO)',\n },\n];\n\nconst customScaleFeatures = [\n {\n label: 'Everything in Outreach Scale',\n labelClass: 'font-semibold',\n highlight: true,\n },\n {\n label: 'Dedicated Success Manager',\n tooltipText: 'A dedicated success manager to handle your account',\n },\n];\n\nconst customScale100kMonthlyFeatures = [\n // {\n // label: 'Unlimited Prospects',\n // tooltipText: \"You'll be able to import unlimited prospects upto 1-6M\",\n // labelClass: 'font-semibold',\n // highlight: true,\n // },\n ...customScaleFeatures,\n {\n label: 'Unlimited Email Warm up',\n tooltipText:\n 'Email Warm-up is provided by our partner TrulyInbox. Sending is Subject to Fair Usage Policy',\n },\n {\n label: '100,000 Total Prospects',\n tooltipText:\n 'Total number of prospects you can keep in your Saleshandy account at a time',\n },\n {\n label: '300,000 Emails per Month',\n tooltipText:\n 'Total number of emails you can send in a month across your saleshandy account',\n },\n {\n label: '35,000 Email Verification Credits',\n },\n {\n label: '500 Free Lead Finder Credits',\n tooltipText:\n 'These credits are available for first-time purchases and you can reveal Email and Phone numbers both.',\n },\n];\nconst customScale100kYearlyFeatures = [\n ...customScaleFeatures,\n {\n label: 'Unlimited Email Warm up',\n tooltipText:\n 'Email Warm-up is provided by our partner TrulyInbox. Sending is Subject to Fair Usage Policy',\n },\n {\n label: '100,000 Total Prospects',\n tooltipText:\n 'Total number of prospects you can keep in your Saleshandy account at a time',\n },\n {\n label: '350,000 Monthly emails',\n strikeText: '300,000',\n tooltipText:\n 'Total number of emails you can send in a month across your Saleshandy account',\n },\n {\n label: '45,000 Email verification credits',\n strikeText: '35,000',\n },\n {\n label: '500 Free Lead Finder Credits',\n tooltipText:\n 'These credits are available for first-time purchases and you can reveal Email and Phone numbers both.',\n },\n {\n label: 'Single Sign-on (SSO)',\n }\n];\n\nconst customScale200kMonthlyFeatures = [\n ...customScaleFeatures,\n {\n label: 'Customized Email Warm-up',\n tooltipText:\n 'Email Warm-up is provided by our partner TrulyInbox. Sending is Subject to Fair Usage Policy',\n },\n {\n label: '200,000 Total Prospects',\n tooltipText:\n 'Total number of prospects you can keep in your Saleshandy account at a time',\n },\n {\n label: '600,000 Emails per Month',\n tooltipText:\n 'Total number of emails you can send in a month across your Saleshandy account',\n },\n {\n label: '40,000 Email Verification Credits',\n },\n {\n label: '500 Free Lead Finder Credits',\n tooltipText:\n 'These credits are available for first-time purchases and you can reveal Email and Phone numbers both.',\n },\n];\nconst customScale200kYearlyFeatures = [\n ...customScaleFeatures,\n {\n label: 'Customized Email Warm-up',\n tooltipText:\n 'Email Warm-up is provided by our partner TrulyInbox. Sending is Subject to Fair Usage Policy',\n },\n {\n label: '200,000 Total Prospects',\n tooltipText:\n 'Total number of prospects you can keep in your Saleshandy account at a time',\n },\n {\n label: '650,000 Monthly emails',\n strikeText: '600,000',\n tooltipText:\n 'Total number of emails you can send in a month across your Saleshandy account',\n },\n {\n label: '55,000 Email verification credits',\n strikeText: '45,000',\n },\n {\n label: '500 Free Lead Finder Credits',\n tooltipText:\n 'These credits are available for first-time purchases and you can reveal Email and Phone numbers both.',\n },\n];\n\nconst customScale300kMonthlyFeatures = [\n ...customScaleFeatures,\n {\n label: 'Customized Email Warm-up',\n tooltipText:\n 'Email Warm-up is provided by our partner TrulyInbox. Sending is Subject to Fair Usage Policy',\n },\n {\n label: '300,000 Total Prospects',\n tooltipText:\n 'Total number of prospects you can keep in your Saleshandy account at a time',\n },\n {\n label: '900,000 Emails per Month',\n tooltipText:\n 'Total number of emails you can send in a month across your Saleshandy account',\n },\n {\n label: '45,000 Email Verification Credits',\n },\n {\n label: '500 Free Lead Finder Credits',\n tooltipText:\n 'These credits are available for first-time purchases and you can reveal Email and Phone numbers both.',\n },\n];\nconst customScale300kYearlyFeatures = [\n ...customScaleFeatures,\n {\n label: 'Customized Email Warm-up',\n tooltipText:\n 'Email Warm-up is provided by our partner TrulyInbox. Sending is Subject to Fair Usage Policy',\n },\n {\n label: '300,000 Total Prospects',\n tooltipText:\n 'Total number of prospects you can keep in your Saleshandy account at a time',\n },\n {\n label: '950,000 Monthly emails',\n strikeText: '900,000',\n tooltipText:\n 'Total number of emails you can send in a month across your Saleshandy account',\n },\n {\n label: '55,000 Email verification credits',\n strikeText: '45,000',\n },\n {\n label: '500 Free Lead Finder Credits',\n tooltipText:\n 'These credits are available for first-time purchases and you can reveal Email and Phone numbers both.',\n },\n];\n\nconst customScale400kMonthlyFeatures = [\n ...customScaleFeatures,\n {\n label: 'Customized Email Warm-up',\n tooltipText:\n 'Email Warm-up is provided by our partner TrulyInbox. Sending is Subject to Fair Usage Policy',\n },\n {\n label: '400,000 Total Prospects',\n tooltipText:\n 'Total number of prospects you can keep in your Saleshandy account at a time',\n },\n {\n label: '1,200,000 Emails per Month',\n tooltipText:\n 'Total number of emails you can send in a month across your Saleshandy account',\n },\n {\n label: '50,000 Email Verification Credits',\n },\n {\n label: '500 Free Lead Finder Credits',\n tooltipText:\n 'These credits are available for first-time purchases and you can reveal Email and Phone numbers both.',\n },\n];\nconst customScale400kYearlyFeatures = [\n ...customScaleFeatures,\n {\n label: 'Customized Email Warm-up',\n tooltipText:\n 'Email Warm-up is provided by our partner TrulyInbox. Sending is Subject to Fair Usage Policy',\n },\n {\n label: '400,000 Total Prospects',\n tooltipText:\n 'Total number of prospects you can keep in your Saleshandy account at a time',\n },\n {\n label: '1,250,000 Monthly emails',\n strikeText: '1,200,000',\n tooltipText:\n 'Total number of emails you can send in a month across your Saleshandy account',\n },\n {\n label: '60,000 Email verification credits',\n strikeText: '50,000',\n },\n {\n label: '500 Free Lead Finder Credits',\n tooltipText:\n 'These credits are available for first-time purchases and you can reveal Email and Phone numbers both.',\n },\n];\n\nconst customScale500kMonthlyFeatures = [\n ...customScaleFeatures,\n {\n label: 'Customized Email Warm-up',\n tooltipText:\n 'Email Warm-up is provided by our partner TrulyInbox. Sending is Subject to Fair Usage Policy',\n },\n {\n label: '500,000 Total Prospects',\n tooltipText:\n 'Total number of prospects you can keep in your Saleshandy account at a time',\n },\n {\n label: '1,50,000 Emails per Month',\n tooltipText:\n 'Total number of emails you can send in a month across your Saleshandy account',\n },\n {\n label: '55,000 Email Verification Credits',\n },\n {\n label: '500 Free Lead Finder Credits',\n tooltipText:\n 'These credits are available for first-time purchases and you can reveal Email and Phone numbers both.',\n },\n];\nconst customScale500kYearlyFeatures = [\n ...customScaleFeatures,\n {\n label: 'Customized Email Warm-up',\n tooltipText:\n 'Email Warm-up is provided by our partner TrulyInbox. Sending is Subject to Fair Usage Policy',\n },\n {\n label: '500,000 Total Prospects',\n tooltipText:\n 'Total number of prospects you can keep in your Saleshandy account at a time',\n },\n {\n label: '1,550,000 Monthly emails',\n strikeText: '1,500,000',\n tooltipText:\n 'Total number of emails you can send in a month across your Saleshandy account',\n },\n {\n label: '65,000 Email verification credits',\n strikeText: '55,000',\n },\n {\n label: '500 Free Lead Finder Credits',\n tooltipText:\n 'These credits are available for first-time purchases and you can reveal Email and Phone numbers both.',\n },\n];\n\nconst customPlanFeatures = [\n ...customScaleFeatures,\n {\n label: 'Customized Email Warm-up',\n tooltipText:\n 'Email Warm-up is provided by our partner TrulyInbox. Sending is Subject to Fair Usage Policy',\n },\n {\n label: 'Custom Prospects Limit',\n },\n {\n label: 'Custom Emails Sending Limit',\n },\n {\n label: 'Custom Email Verification Credits',\n },\n];\n\nconst planMetaData = {\n [SubscriptionPlanTitle.OutreachBasicMonthly]: {\n displayName: 'Starter',\n features: outreachBasicMonthlyFeatures,\n },\n [SubscriptionPlanTitle.OutreachProMonthly]: {\n displayName: 'Pro',\n features: outreachProMonthlyFeatures,\n isBestValuePlan: true,\n },\n [SubscriptionPlanTitle.OutreachScaleMonthly]: {\n displayName: 'Scale',\n features: outreachScaleMonthlyFeatures,\n },\n [SubscriptionPlanTitle.OutreachBasicYearly]: {\n displayName: 'Starter',\n features: outreachBasicYearlyFeatures,\n },\n [SubscriptionPlanTitle.OutreachProYearly]: {\n displayName: 'Pro',\n features: outreachProYearlyFeatures,\n isBestValuePlan: true,\n },\n [SubscriptionPlanTitle.OutreachScaleYearly]: {\n displayName: 'Scale',\n features: outreachScaleYearlyFeatures,\n },\n [SubscriptionPlanTitle.OutreachScaleMonthly100k]: {\n displayName: 'Plus 100K',\n features: customScale100kMonthlyFeatures,\n },\n [SubscriptionPlanTitle.OutreachScaleYearly100k]: {\n displayName: 'Plus 100K',\n features: customScale100kYearlyFeatures,\n },\n [SubscriptionPlanTitle.OutreachScaleMonthly200k]: {\n displayName: 'Plus 200K',\n features: customScale200kMonthlyFeatures,\n },\n [SubscriptionPlanTitle.OutreachScaleYearly200k]: {\n displayName: 'Plus 200K',\n features: customScale200kYearlyFeatures,\n },\n [SubscriptionPlanTitle.OutreachScaleMonthly300k]: {\n displayName: 'Plus 300K',\n features: customScale300kMonthlyFeatures,\n },\n [SubscriptionPlanTitle.OutreachScaleYearly300k]: {\n displayName: 'Plus 300K',\n features: customScale300kYearlyFeatures,\n },\n [SubscriptionPlanTitle.OutreachScaleMonthly400k]: {\n displayName: 'Plus 400K',\n features: customScale400kMonthlyFeatures,\n },\n [SubscriptionPlanTitle.OutreachScaleYearly400k]: {\n displayName: 'Plus 400K',\n features: customScale400kYearlyFeatures,\n },\n [SubscriptionPlanTitle.OutreachScaleMonthly500k]: {\n displayName: 'Plus 500K',\n features: customScale500kMonthlyFeatures,\n },\n [SubscriptionPlanTitle.OutreachScaleYearly500k]: {\n displayName: 'Plus 500K',\n features: customScale500kYearlyFeatures,\n },\n [SubscriptionPlanTitle.Custom]: {\n displayName: SubscriptionPlanTitle.Custom,\n features: customPlanFeatures,\n },\n};\n\nexport const getOutreachPlanMetaData = (planName) => planMetaData[planName];\n\nexport const getPlanPrice = (planPrice, planMode) =>\n Number(planPrice) / Number(planMode);\n\nconst isSamePlan = (currentPlanName, planName) =>\n getPlanName(BillingOption.MONTHLY, currentPlanName) ===\n getPlanName(BillingOption.ANNUALLY, planName);\n\nconst getYearlyPlanPrice = (sendGetPlansResponse, planName) =>\n sendGetPlansResponse.find(\n (plan) =>\n getPlanName(BillingOption.ANNUALLY, plan.planName) ===\n getPlanName(BillingOption.MONTHLY, planName),\n ).amount;\n\nexport const getButtonLabel = ({\n plan,\n sendGetAccountSubscriptionResponse,\n sendGetPlansResponse,\n planCycle,\n}: GetButtonLabel) => {\n const {\n planName,\n planMode,\n planAmount,\n planId: subscriptionId,\n } = sendGetAccountSubscriptionResponse;\n\n const planPrice = getPlanPrice(Number(planAmount), planMode);\n\n if (sendGetAccountSubscriptionResponse?.parentId && plan.planMode === 1) {\n const yearlyPlanPrice = getPlanPrice(\n Number(getYearlyPlanPrice(sendGetPlansResponse, plan.planName)),\n 12,\n );\n\n if (\n plan.planMode === 1 &&\n planCycle === BillingOption.MONTHLY &&\n Number(planPrice) > Number(yearlyPlanPrice)\n ) {\n return SelectPlanCTAText.DowngradePlan;\n }\n }\n\n if (\n planMode === 1 &&\n planCycle === BillingOption.ANNUALLY &&\n isSamePlan(planName, plan.planName)\n ) {\n return SelectPlanCTAText.UpgradePlan;\n }\n\n if (\n isCustomScalePlusPlan(plan.id) &&\n Number(planPrice - 180) > Number(getPlanPrice(plan.amount, plan.planMode))\n ) {\n return SelectPlanCTAText.DowngradePlan;\n }\n\n if (\n !isCustomScalePlusPlan(plan.id) &&\n Number(planPrice - 5) > Number(getPlanPrice(plan.amount, plan.planMode))\n ) {\n return SelectPlanCTAText.DowngradePlan;\n }\n\n if (subscriptionId) {\n if (subscriptionId === plan.id) {\n return SelectPlanCTAText.CurrentPlan;\n }\n }\n\n return SelectPlanCTAText.UpgradePlan;\n};\n\nexport const getPlanDetailsObj = (plan, isUserSubscribed) => ({\n id: plan?.id || null,\n planName: plan?.planName,\n displayName: getOutreachPlanMetaData(plan?.planName)?.displayName,\n isBestValuePlan: getOutreachPlanMetaData(plan?.planName)?.isBestValuePlan,\n features: isUserSubscribed\n ? getOutreachPlanMetaData(plan?.planName)?.features?.filter(\n (feature) => !feature?.label?.includes('Free Lead Finder Credits'),\n )\n : getOutreachPlanMetaData(plan?.planName)?.features,\n price: getPlanPrice(plan?.amount, plan?.planMode) || null,\n ...plan,\n});\n\n// export const getMonthlyPrice = (planName, allPlans) =>\n// parseInt(\n// allPlans.find(\n// (plan) =>\n// plan.planName === `${planName} (Monthly)` && plan.planMode === 1,\n// )?.amount,\n// 10,\n// );\n\nexport const getMonthlyPrice = (planName, allPlans) => {\n const plan = allPlans?.find(\n (plans) =>\n plans?.planName?.includes(planName) &&\n plans?.planName?.includes('(Monthly)') &&\n plans?.planMode === 1,\n );\n\n return plan && parseInt(plan.amount, 10); // Return 0 if no match is found\n};\nexport const getEmailOutreachPlanYearlyPrice = (\n planCode: string,\n plans: GetPlansResponse,\n) => {\n const correspondingYearlyPlanCode =\n planCode?.replace('monthly', 'yearly') || '';\n\n const correspondingYearlyPlan = plans.find(\n (plan) => plan.planCode === correspondingYearlyPlanCode,\n );\n\n if (correspondingYearlyPlan) {\n return parseInt(correspondingYearlyPlan?.amount || '0', 10);\n }\n\n return 0;\n};\n\nexport const stepWisePlanProspects = {\n step1: '100,000',\n step2: '200,000',\n step3: '300,000',\n step4: '400,000',\n step5: '500,000',\n step6: '500,000+',\n};\n\nexport const getSelectedPlanProspects = (step) =>\n stepWisePlanProspects[`step${step}`];\n\nexport const getInitialStepValue = (planId, planMode) => {\n const planIdWiseStep = {\n 97: 1,\n 98: 2,\n 99: 3,\n 100: 4,\n 101: 5,\n };\n\n if (planMode === 12 && planId >= 97) {\n return planIdWiseStep[planId];\n }\n\n return 1;\n};\n\nexport const getCustomScalePlusDiscountPer = (step) => {\n const stepWiseDiscount = {\n step1: '27',\n step2: '30',\n step3: '31',\n step4: '32',\n step5: '32',\n };\n\n return stepWiseDiscount[`step${step}`];\n};\n\nexport const getPlansIcon = (planName) => {\n const planIconMap = {\n [SubscriptionPlanTitle.OutreachBasicMonthly]: Images.RocketColor,\n [SubscriptionPlanTitle.OutreachProMonthly]: Images.HeartColor,\n [SubscriptionPlanTitle.OutreachScaleMonthly]: Images.StarColor,\n [SubscriptionPlanTitle.OutreachScaleMonthly100k]: Images.BuildingColor,\n [SubscriptionPlanTitle.OutreachScaleMonthly200k]: Images.BuildingColor,\n [SubscriptionPlanTitle.OutreachScaleMonthly300k]: Images.BuildingColor,\n [SubscriptionPlanTitle.OutreachScaleMonthly400k]: Images.BuildingColor,\n [SubscriptionPlanTitle.OutreachScaleMonthly500k]: Images.BuildingColor,\n [SubscriptionPlanTitle.OutreachBasicYearly]: Images.RocketColor,\n [SubscriptionPlanTitle.OutreachProYearly]: Images.HeartColor,\n [SubscriptionPlanTitle.OutreachScaleYearly]: Images.StarColor,\n [SubscriptionPlanTitle.OutreachScaleYearly100k]: Images.BuildingColor,\n [SubscriptionPlanTitle.OutreachScaleYearly200k]: Images.BuildingColor,\n [SubscriptionPlanTitle.OutreachScaleYearly300k]: Images.BuildingColor,\n [SubscriptionPlanTitle.OutreachScaleYearly400k]: Images.BuildingColor,\n [SubscriptionPlanTitle.OutreachScaleYearly500k]: Images.BuildingColor,\n [SubscriptionPlanTitle.Custom]: Images.BuildingColor,\n };\n\n return planIconMap[planName];\n};\n","import React, { useState, useEffect } from 'react';\nimport classnames from 'classnames';\nimport { useTranslation } from 'react-i18next';\nimport {\n Bulb,\n Check,\n ChevronLeft,\n ChevronRight,\n Messages,\n Star,\n} from '@saleshandy/icons';\nimport { IProps } from './types';\nimport Button from '../../../../../../../../shared/design-system/components/atoms/button';\nimport {\n getButtonLabel,\n getCustomScalePlusDiscountPer,\n getEmailOutreachPlanYearlyPrice,\n getInitialStepValue,\n getMonthlyPrice,\n getPlanDetailsObj,\n getPlanPrice,\n getPlansIcon,\n getSelectedPlanProspects,\n} from './utils/helper';\nimport { SelectPlanCTAText } from '../../../../../../../../shared/design-system/components/molecules/pricing-card/types';\nimport { OverlayTooltip } from '../../../../../../../../shared/design-system/components/overlay';\nimport { BillingOption } from '../../../../../../../../shared/utils/billing-options';\nimport { SubscriptionPlans } from '../../../../../../../../shared/utils/subscription-plans';\nimport { RangeInput } from '../range-input';\nimport { getCustomScalePlusPlanName, isAnnuallyPlan } from '../../utils/helper';\nimport {\n customPlan,\n isCustomScalePlusPlan,\n} from '../plans-section/utils/helper';\nimport { isUserInPaidPlan } from '../../../../../../../../shared/design-system/components/molecules/subscription-plan-details/helper/helper';\nimport { accessibleOnClick } from '../../../../../../../../shared/utils/accessible-on-click';\n\nconst OutreachPlanCard: React.FC = ({\n plan,\n customScalePlusPlans,\n isPurchaseInProgress,\n handlePlanSelect,\n sendGetAccountSubscriptionResponse,\n sendGetPlansResponse,\n planCycle,\n}) => {\n const { t } = useTranslation();\n\n //* State */\n const [rangeInputValue, setRangeInputValue] = useState([\n getInitialStepValue(\n sendGetAccountSubscriptionResponse?.planId,\n sendGetAccountSubscriptionResponse?.planMode,\n ),\n ]);\n\n const isUserSubscribed = isUserInPaidPlan(\n sendGetAccountSubscriptionResponse?.planCode,\n );\n\n const [planDetails, setPlanDetails] = useState(\n getPlanDetailsObj(plan, isUserSubscribed),\n );\n\n const btnLabel = getButtonLabel({\n plan: planDetails,\n sendGetAccountSubscriptionResponse,\n sendGetPlansResponse,\n planCycle,\n });\n\n const getButtonLabelTxt = () => {\n if (planDetails.displayName === 'Custom') {\n return SelectPlanCTAText.CustomPlan;\n }\n\n return btnLabel;\n };\n\n const getButtonTheme = () => {\n if (\n planDetails.isBestValuePlan &&\n btnLabel !== SelectPlanCTAText.CurrentPlan &&\n btnLabel !== SelectPlanCTAText.DowngradePlan\n ) {\n return Button.Theme.Solid;\n }\n\n return Button.Theme.Ghost;\n };\n\n const onRangeInputChange = (v: number[]) => {\n setRangeInputValue(v);\n\n if (v[0] === 6) {\n setPlanDetails(getPlanDetailsObj(customPlan, isUserSubscribed));\n\n return;\n }\n\n //* Custom Scale Plus Plan */\n const scalePlusPlan = customScalePlusPlans.find(\n (p) =>\n p.planName ===\n getCustomScalePlusPlanName(v[0], isAnnuallyPlan(planCycle)),\n );\n\n if (scalePlusPlan) {\n setPlanDetails(getPlanDetailsObj(scalePlusPlan, isUserSubscribed));\n }\n };\n\n const getDiscountText = () => {\n if (\n plan.planCode === SubscriptionPlans.OUTREACH_BASIC_MONTHLY_8_2023 ||\n plan.planCode === SubscriptionPlans.OUTREACH_BASIC_YEARLY_8_2023\n ) {\n return planCycle === BillingOption.ANNUALLY\n ? \"You're saving 30%\"\n : 'Save 30% on Annual Plan!';\n }\n\n return planCycle === BillingOption.ANNUALLY\n ? \"You're saving 25%\"\n : 'Save 25% on Annual Plan!';\n };\n\n const getCustomScalePlusDiscountText = () => {\n if (rangeInputValue[0] === 6) {\n return null;\n }\n\n return isAnnuallyPlan(planCycle)\n ? `You're saving ${getCustomScalePlusDiscountPer(rangeInputValue[0])}%`\n : `Save ${getCustomScalePlusDiscountPer(\n rangeInputValue[0],\n )}% on Annual Plan!`;\n };\n\n const getPlanDiscountText = () => {\n if (isAnnuallyPlan(planCycle)) {\n return `Save $${\n (getMonthlyPrice(planDetails.displayName, sendGetPlansResponse) -\n planDetails.price) *\n planDetails.planMode\n } annually`;\n }\n return `Save $${\n (planDetails.price -\n getPlanPrice(\n getEmailOutreachPlanYearlyPrice(\n planDetails.planCode,\n sendGetPlansResponse,\n ),\n 12,\n )) * 12\n } on annual plan`;\n };\n\n useEffect(() => {\n if (\n sendGetAccountSubscriptionResponse?.planMode === 12 &&\n plan.isCustomPlan &&\n isCustomScalePlusPlan(sendGetAccountSubscriptionResponse?.planId)\n ) {\n onRangeInputChange([\n getInitialStepValue(\n sendGetAccountSubscriptionResponse?.planId,\n sendGetAccountSubscriptionResponse?.planMode,\n ),\n ]);\n }\n }, []);\n\n //* Class Variable */\n const cardClassName = classnames([\n 'pricing-card',\n {\n 'best-value-plan': planDetails.isBestValuePlan,\n },\n ]);\n\n const btnClassName = classnames([\n {\n 'ghost-primary-new': !planDetails.isBestValuePlan,\n },\n {\n 'ghost-primary-new-disable': btnLabel === SelectPlanCTAText.DowngradePlan,\n },\n {\n 'solid-primary-new':\n btnLabel !== SelectPlanCTAText.CurrentPlan &&\n btnLabel !== SelectPlanCTAText.DowngradePlan &&\n planDetails.isBestValuePlan,\n },\n {\n 'ghost-secondary-new-disable': btnLabel === SelectPlanCTAText.CurrentPlan,\n },\n ]);\n\n return (\n
    \n
    \n {planDetails?.isBestValuePlan && (\n
    \n \n \n {t('labels.most_popular')}\n \n
    \n )}\n
    \n
    \n
    \n
    \n
    \n \"building\"\n \n {planDetails.displayName}\n \n
    \n
    \n {planDetails?.price ? (\n <>\n
    \n \n ${Math.round(planDetails?.price)}\n \n {isAnnuallyPlan(planCycle) && (\n \n $\n {getMonthlyPrice(\n planDetails?.displayName,\n sendGetPlansResponse,\n )}\n \n )}\n \n /Month\n \n
    \n
    \n \n {getPlanDiscountText()}\n \n
    \n \n ) : (\n
    \n \n
    \n )}\n
    \n\n \n handlePlanSelect(planDetails?.id, planDetails?.planName)\n }\n className={`w-100 ${btnClassName}`}\n isLoading={isPurchaseInProgress}\n disabled={\n btnLabel === SelectPlanCTAText.CurrentPlan ||\n btnLabel === SelectPlanCTAText.DowngradePlan ||\n isPurchaseInProgress\n }\n >\n {getButtonLabelTxt()}\n \n
    \n\n
    \n {plan?.isCustomPlan && (\n
    \n \n
    \n )}\n\n {plan?.isCustomPlan && (\n
    \n 1 &&\n accessibleOnClick(() =>\n onRangeInputChange([rangeInputValue[0] - 1]),\n ))}\n >\n \n \n \n \n {getSelectedPlanProspects(rangeInputValue[0])}{' '}\n \n Total Prospects\n \n \n onRangeInputChange([rangeInputValue[0] + 1]),\n ))}\n >\n \n \n
    \n )}\n
      \n {planDetails.features?.map(\n ({ label, labelClass, tooltipText, strikeText, highlight }) => (\n \n \n \n \n <>\n {tooltipText ? (\n \n \n {strikeText && (\n \n {strikeText}\n \n )}\n {label}\n \n \n ) : (\n \n {strikeText && (\n \n {strikeText}\n \n )}\n {label}\n \n )}\n \n \n ),\n )}\n
    \n
    \n {planDetails?.isBestValuePlan && (\n
    \n \n \n {isAnnuallyPlan(planCycle)\n ? t('labels.best_value_plan_insight_email_yearly')\n : t('labels.best_value_plan_insight_email_monthly')}\n \n
    \n )}\n
    \n
    \n
    \n );\n};\n\nexport default OutreachPlanCard;\n","import React, { useState, useEffect } from 'react';\nimport type { IProps } from './plans-section-container';\nimport OutreachPlanCard from '../outreach-plan-card';\nimport {\n customPlanScale100kMonthly,\n customPlanScale100kYearly,\n getCustomScalePlusPlanData,\n getOutreachPlanData,\n} from './utils/helper';\nimport { getPlanMode } from '../../../select-plan/utils/helper';\nimport { isRequestPending } from '../../../../utils/helper';\nimport { BillingOption } from '../../../../../../../../shared/utils/billing-options';\n\nconst PlansSection: React.FC = ({\n planCycle,\n onSelectPlan,\n selectedPlanId,\n //* API Request State\n sendGetPlansResponse,\n sendGetAccountSubscriptionResponse,\n sendPurchaseSubscriptionRequestStatus,\n sendGetPurchaseModifySubscriptionRequestStatus,\n}) => {\n const isPurchaseInProgress =\n isRequestPending(sendPurchaseSubscriptionRequestStatus) ||\n isRequestPending(sendGetPurchaseModifySubscriptionRequestStatus);\n\n //* states\n const [planData, setPlanData] = useState([]);\n const [customScalePlusPlans, setCustomScalePlusPlans] = useState([]);\n\n //* useEffect\n useEffect(() => {\n if (sendGetPlansResponse) {\n setPlanData([\n ...getOutreachPlanData(getPlanMode(planCycle), sendGetPlansResponse),\n {\n ...(planCycle === BillingOption.MONTHLY\n ? customPlanScale100kMonthly\n : customPlanScale100kYearly),\n },\n ]);\n setCustomScalePlusPlans([\n ...getCustomScalePlusPlanData(\n getPlanMode(planCycle),\n sendGetPlansResponse,\n ),\n ]);\n }\n }, [planCycle, sendGetPlansResponse, sendGetAccountSubscriptionResponse]);\n\n return (\n
    \n {planData.map((plan) => (\n \n onSelectPlan(planId, planName)\n }\n sendGetAccountSubscriptionResponse={\n sendGetAccountSubscriptionResponse\n }\n sendGetPlansResponse={sendGetPlansResponse}\n isPurchaseInProgress={\n isPurchaseInProgress && selectedPlanId === plan.id\n }\n />\n ))}\n
    \n );\n};\n\nexport default PlansSection;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { BillingOption } from '../../../../../../../../shared/utils/billing-options';\nimport { RootState } from '../../../../../../../../store/root-reducer';\nimport PlansSection from './plans-section';\n\nconst mapStateToProps = (state: RootState) => ({\n getCouponCodeResponse: state.billingAndSubscription.applyCouponCodeResponse,\n sendGetAccountSubscriptionRequestStatus:\n state.billingAndSubscription.getAccountSubscriptionRequest.status,\n sendGetAccountSubscriptionResponse:\n state.billingAndSubscription.getAccountSubscriptionResponse,\n sendGetPlansResponse: state.billingAndSubscription.getPlansResponse,\n sendPurchaseSubscriptionRequestStatus:\n state.billingAndSubscription.purchaseSubscriptionRequest.status,\n sendGetPurchaseModifySubscriptionRequestStatus:\n state.billingAndSubscription.purchaseModifySubscriptionRequest.status,\n});\n\nconst mapDispatchToProps = {};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n onSelectPlan: (planId: number, planName: string) => void;\n planCycle: BillingOption;\n selectedPlanId: number;\n};\n\nexport default connector(PlansSection);\n","import React from 'react';\nimport classnames from 'classnames';\nimport { ColdEmailPlanName } from '../../cold-email-plan-card/types';\nimport Button from '../../../../../../../../../shared/design-system/components/atoms/button';\nimport { IProps1 } from '../types';\nimport { isAnnuallyPlan } from '../../../../outreach-plans/utils/helper';\nimport { BillingOption } from '../../../../../../../../../shared/utils/billing-options';\nimport { SelectPlanCTAText } from '../../../../../../../../../shared/design-system/components/molecules/pricing-card/types';\nimport {\n getButtonLabel,\n getPlanDetailsObj,\n} from '../../../../outreach-plans/components/outreach-plan-card/utils/helper';\nimport { isUserInPaidPlan } from '../../../../../../../../../shared/design-system/components/molecules/subscription-plan-details/helper/helper';\nimport { openChatSupport } from '../../../../../../../../../shared/utils/open-chat-support';\n\nconst FeaturesHeader: React.FC = ({\n planDetailObject,\n sendGetPlansResponse,\n handlePlanSelect,\n planCycle,\n sendGetAccountSubscriptionResponse,\n isPurchaseInProgress,\n}) => {\n const isUserSubscribed = isUserInPaidPlan(\n sendGetAccountSubscriptionResponse?.planCode,\n );\n\n return (\n <>\n
    \n
    \n
    \n FEATURE\n
    \n
    \n\n {Object.values(ColdEmailPlanName).map((planName) => {\n const planDetail = planDetailObject?.find((plans) =>\n plans.planName.includes(planName),\n );\n\n const yearlyPlan = planDetailObject?.find(\n (plans) =>\n plans?.planName?.includes('(Yearly)') &&\n plans?.planName?.includes(planName),\n );\n\n const planDetails = getPlanDetailsObj(yearlyPlan, isUserSubscribed);\n\n const btnLabel = getButtonLabel({\n plan: planDetails,\n sendGetAccountSubscriptionResponse,\n sendGetPlansResponse,\n planCycle,\n });\n\n const getButtonTheme = () =>\n planName === ColdEmailPlanName.Professional\n ? Button.Theme.Solid\n : Button.Theme.Ghost;\n\n const getButtonLabelTxt = () => {\n if (planName === ColdEmailPlanName.Custom) {\n return 'Custom';\n }\n return btnLabel;\n };\n const btnClassName = classnames([\n {\n 'ghost-primary-new': planDetails,\n },\n {\n 'ghost-primary-new-disable':\n btnLabel === SelectPlanCTAText.DowngradePlan,\n },\n {\n 'solid-primary-new':\n btnLabel !== SelectPlanCTAText.CurrentPlan &&\n btnLabel !== SelectPlanCTAText.DowngradePlan &&\n planDetails?.isBestValuePlan,\n },\n {\n 'ghost-primary-new': planName === ColdEmailPlanName.Custom,\n },\n {\n 'ghost-secondary-new-disable':\n btnLabel === SelectPlanCTAText.CurrentPlan,\n },\n ]);\n\n const adjustedPlanDetail =\n planCycle === BillingOption.ANNUALLY &&\n yearlyPlan?.amount !== undefined\n ? Number(yearlyPlan?.amount) / 12\n : planDetail?.amount;\n\n const handleSubmitBtn = () => {\n if (planName === ColdEmailPlanName.Custom) {\n openChatSupport();\n return;\n }\n if (isAnnuallyPlan(planCycle)) {\n handlePlanSelect(yearlyPlan?.id, yearlyPlan?.planName);\n return;\n }\n handlePlanSelect(planDetail?.id, planDetail?.planName);\n };\n\n return (\n \n {planName || ''}\n\n
    \n \n {planName === ColdEmailPlanName.Custom\n ? 'Price'\n : `$${Number(adjustedPlanDetail)?.toFixed(0) ?? 0}`}\n \n {isAnnuallyPlan(planCycle) && (\n \n {planName !== ColdEmailPlanName.Custom &&\n `$${Number(planDetail?.amount || '0')?.toFixed(0)}`}\n \n )}\n /Month\n
    \n handleSubmitBtn()}\n className={`w-100 ${btnClassName} upgrade-btn-billing ${\n btnLabel === SelectPlanCTAText.DowngradePlan\n ? 'solid-primary-news'\n : ''\n }`}\n isLoading={isPurchaseInProgress}\n disabled={\n btnLabel === SelectPlanCTAText.CurrentPlan ||\n btnLabel === SelectPlanCTAText.DowngradePlan ||\n isPurchaseInProgress\n }\n >\n {getButtonLabelTxt()}\n \n
    \n );\n })}\n \n \n );\n};\n\nexport default FeaturesHeader;\n","import React from 'react';\nimport { Images } from '../../../../../../../../../shared/app-constants';\nimport ImageIcon from '../../../../../../../../../shared/components/images/image-icon';\nimport { FeatureMeta as FeatureMetaProps } from '../../../../../../../../../shared/design-system/components/molecules/all-features-list-modal/types';\nimport {\n OverlayTooltip,\n Placement,\n} from '../../../../../../../../../shared/design-system/components/overlay';\n\nconst FeatureMeta: React.FC = ({\n isAvailable,\n isComingSoon,\n text,\n tooltipText,\n isLimited,\n limitedAccessTooltipText = '',\n}) => {\n let src = Images.CheckSingleGreen;\n let alt = 'Available';\n\n if (!isAvailable) {\n src = Images.CrossRed;\n alt = 'Not Available';\n }\n\n if (isLimited) {\n return limitedAccessTooltipText ? (\n \n

    Limited Access

    \n \n ) : (\n

    Limited Access

    \n );\n }\n\n if (isComingSoon) {\n return (\n <>\n

    Coming Soon

    \n \n );\n }\n\n if (tooltipText) {\n return (\n \n \n {text}\n \n \n );\n }\n\n return text ? (\n {text}\n ) : (\n \n );\n};\n\nexport const PlansFeatureMeta: React.FC = ({\n isAvailable,\n text,\n tooltipText,\n isComingSoon,\n isLimited,\n limitedAccessTooltipText,\n className,\n}) => (\n \n \n \n);\n\nexport const ProfessionalFeatureMeta: React.FC = ({\n isAvailable,\n text,\n tooltipText,\n isComingSoon,\n isLimited,\n limitedAccessTooltipText,\n className,\n}) => (\n \n \n \n);\n","import React from 'react';\nimport { PlansFeatureMeta, ProfessionalFeatureMeta } from './feature-meta';\nimport {\n Feature,\n FeaturesList,\n} from '../../../../../../../../../shared/design-system/components/molecules/all-features-list-modal/types';\nimport { OverlayTooltip } from '../../../../../../../../../shared/design-system/components/overlay/tooltip/overlay-tooltip';\nimport { Placement } from '../../../../../../../../../shared/design-system/components/overlay';\n\nconst FeaturesSection: React.FC = ({ id, features }) => (\n
    \n {features.map((feature: Feature, index: number) => (\n \n
    \n {feature?.tooltipText ? (\n
    \n \n {feature?.featureName || ''}\n \n
    \n ) : (\n feature.featureName\n )}\n
    \n \n \n \n \n \n
    \n ))}\n \n);\n\nexport default FeaturesSection;\n","import { FeaturesList } from '../../../../../../../../../shared/design-system/components/molecules/all-features-list-modal/types';\nimport { Placement } from '../../../../../../../../../shared/design-system/components/overlay';\n\nconst allFeatureAvailable = {\n starterFeatureMeta: {\n isAvailable: true,\n },\n professionalFeatureMeta: {\n isAvailable: true,\n },\n businessFeatureMeta: {\n isAvailable: true,\n },\n scalePlusFeatureMeta: {\n isAvailable: true,\n },\n customFeatureMeta: {\n isAvailable: true,\n },\n};\n\nconst starterFeatureNotAvailable = {\n starterFeatureMeta: {\n isAvailable: false,\n },\n professionalFeatureMeta: {\n isAvailable: true,\n },\n businessFeatureMeta: {\n isAvailable: true,\n },\n scalePlusFeatureMeta: {\n isAvailable: true,\n },\n customFeatureMeta: {\n isAvailable: true,\n },\n};\n\nconst higherLimit = 'Custom Limit';\n\nexport const getAllFeaturesList = (): FeaturesList[] => [\n {\n id: 1,\n title: '',\n features: [\n // {\n // featureId: 0,\n // featureName: 'Unlimited Prospects',\n // tooltipText:\n // 'Send unlimited emails to unlimited prospects and steps without paying extra.',\n // ...allFeatureAvailable,\n // },\n {\n featureId: 1,\n featureName: 'Unlimited Email Accounts',\n tooltipText:\n 'Connect unlimited email account to your saleshandy account without paying extra',\n ...allFeatureAvailable,\n },\n {\n featureId: 2,\n featureName: 'Unlimited Team Members',\n tooltipText:\n 'Invite unlimited team members to your Saleshandy account without paying extra.',\n ...starterFeatureNotAvailable,\n },\n {\n featureId: 3,\n featureName: 'Unlimited Sequences',\n tooltipText:\n 'Create unlimited email sequences with no caps of steps & prospects',\n ...allFeatureAvailable,\n },\n {\n featureId: 4,\n featureName: 'Email Warm-up',\n tooltipText:\n 'Email Warm-up is provided by our partner TrulyInbox. Sending is Subject to Fair Usage Policy',\n starterFeatureMeta: {\n text: 'Unlimited',\n },\n professionalFeatureMeta: {\n text: 'Unlimited',\n },\n businessFeatureMeta: {\n text: 'Unlimited',\n },\n scalePlusFeatureMeta: {\n text: 'Unlimited',\n },\n customFeatureMeta: {\n text: 'Unlimited',\n },\n },\n {\n featureId: 5,\n featureName: 'Agency Portal',\n tooltipText: 'Manage your clients through our agency portal',\n starterFeatureMeta: {\n isAvailable: false,\n },\n professionalFeatureMeta: {\n isAvailable: false,\n },\n businessFeatureMeta: {\n isAvailable: false,\n },\n scalePlusFeatureMeta: {\n isAvailable: true,\n },\n customFeatureMeta: {\n isAvailable: true,\n },\n },\n {\n featureId: 17,\n featureName: 'Unlimited 1:1 Email Tracking',\n tooltipText: 'Track unlimited emails from Gmail using chrome extension',\n ...allFeatureAvailable,\n },\n {\n featureId: 18,\n featureName: 'Sender Rotation',\n tooltipText:\n 'Connect multiple email accounts to one sequence to rotate the senders automatically',\n starterFeatureMeta: {\n text: '10 Emails',\n },\n professionalFeatureMeta: {\n text: '50 Emails',\n },\n businessFeatureMeta: {\n text: '100 Emails',\n },\n scalePlusFeatureMeta: {\n text: '100 Emails',\n },\n customFeatureMeta: {\n text: 'Custom Limit',\n },\n },\n {\n featureId: 19,\n featureName: 'Unified Inbox',\n tooltipText:\n 'Manage all mailbox replies for Saleshandy emails in one location',\n starterFeatureMeta: {\n text: 'Full Access',\n },\n professionalFeatureMeta: {\n text: 'Full Access',\n },\n businessFeatureMeta: {\n text: 'Full Access',\n },\n scalePlusFeatureMeta: {\n text: 'Full Access',\n },\n customFeatureMeta: {\n text: 'Full Access',\n },\n },\n {\n featureId: 10,\n featureName: 'A-Z Testing (Multivariant)',\n tooltipText:\n 'Testing that allows you to make variants from A to Z in One Step to hyper personalize your sequence.',\n ...starterFeatureNotAvailable,\n },\n {\n featureId: 20,\n featureName: 'Integrations',\n tooltipText:\n 'Salesforce, Zapier, HubSpot, Pipedrive, Zoho Integrations',\n ...starterFeatureNotAvailable,\n },\n // {\n // featureId: 21,\n // featureName: 'Hubspot Integration',\n // ...starterFeatureNotAvailable,\n // },\n // {\n // featureId: 25,\n // featureName: 'Salesforce Integration',\n // ...starterFeatureNotAvailable,\n // },\n {\n featureId: 11,\n featureName: 'Spintax',\n tooltipText:\n 'A spin syntax that allows you to generate different sentences with automatic keyword rotation.',\n ...allFeatureAvailable,\n },\n {\n featureId: 13,\n featureName: 'Advanced Warm-up Settings',\n ...starterFeatureNotAvailable,\n },\n {\n featureId: 6,\n featureName: 'Total Prospects',\n tooltipText: 'Number of prospects allowed in your account.',\n starterFeatureMeta: {\n text: '2,000',\n },\n professionalFeatureMeta: {\n text: '30,000',\n },\n businessFeatureMeta: {\n text: '60,000',\n },\n scalePlusFeatureMeta: {\n text: '100,000 - 500,000',\n },\n customFeatureMeta: {\n text: higherLimit,\n },\n },\n {\n featureId: 7,\n featureName: 'Monthly Emails',\n starterFeatureMeta: {\n text: '10,000',\n tooltipText:\n '10,000 limit is only for yearly subscriptions. It will be 6,000 for monthly subscriptions.',\n },\n professionalFeatureMeta: {\n text: '125,000',\n tooltipText:\n '125,000 limit is only for yearly subscriptions. It will be 100,000 for monthly subscriptions.',\n },\n businessFeatureMeta: {\n text: '250,000',\n tooltipText:\n '250,000 limit is only for yearly subscriptions. It will be 200,000 for monthly subscriptions.',\n },\n scalePlusFeatureMeta: {\n text: '350,000 - 1,550,000',\n },\n customFeatureMeta: {\n text: higherLimit,\n },\n },\n {\n featureId: 8,\n featureName: 'Email Verification Credits',\n starterFeatureMeta: {\n text: '2,500',\n tooltipText:\n '2,500 credits are offered on annual subscriptions only. It will be 1,100 for monthly subscriptions.',\n },\n professionalFeatureMeta: {\n text: '10,000',\n tooltipText:\n '10,000 credits are offered on annual subscriptions only. It will be 4,000 for monthly subscriptions.',\n },\n businessFeatureMeta: {\n text: '25,000',\n tooltipText:\n '25,000 credits are offered on annual subscriptions only. It will be 12,000 for monthly subscriptions.',\n },\n scalePlusFeatureMeta: {\n text: '45,000 - 65,000',\n },\n customFeatureMeta: {\n text: higherLimit,\n },\n },\n {\n featureId: 12,\n featureName: 'Advanced Reports',\n ...allFeatureAvailable,\n },\n {\n featureId: 15,\n featureName: '1:1 User Success Call',\n ...starterFeatureNotAvailable,\n },\n {\n featureId: 9,\n featureName: 'Dedicated Success Manager',\n ...starterFeatureNotAvailable,\n professionalFeatureMeta: {\n isAvailable: false,\n },\n },\n {\n featureId: 14,\n featureName: 'API',\n ...starterFeatureNotAvailable,\n },\n {\n featureId: 15,\n featureName: 'Agency Whitelabel',\n starterFeatureMeta: {\n isAvailable: false,\n },\n professionalFeatureMeta: {\n isAvailable: false,\n },\n businessFeatureMeta: {\n isAvailable: true,\n },\n scalePlusFeatureMeta: {\n isAvailable: true,\n },\n customFeatureMeta: {\n isAvailable: true,\n },\n },\n {\n featureId: 16,\n featureName: 'Lead Finder Credits',\n tooltipText:\n 'These credits are one-off Email Only Lead Finder Credits available on a first time purchase.',\n tooltipPlacement: Placement.TopStart,\n starterFeatureMeta: {\n text: '100',\n },\n professionalFeatureMeta: {\n text: '500',\n },\n businessFeatureMeta: {\n text: '500',\n },\n scalePlusFeatureMeta: {\n text: '500',\n },\n customFeatureMeta: {\n text: '500',\n },\n },\n {\n featureId: 17,\n featureName: 'Single Sign-on (SSO)',\n tooltipText:\n 'SSO is available only for users on Scale and higher plans.',\n tooltipPlacement: Placement.TopStart,\n starterFeatureMeta: {\n isAvailable: false,\n },\n professionalFeatureMeta: {\n isAvailable: false,\n },\n businessFeatureMeta: {\n isAvailable: true,\n },\n scalePlusFeatureMeta: {\n isAvailable: true,\n },\n customFeatureMeta: {\n isAvailable: true,\n },\n },\n ],\n },\n];\n","/* eslint-disable @typescript-eslint/no-use-before-define */\n/* eslint-disable jsx-a11y/accessible-emoji */\nimport React, { useState, useEffect } from 'react';\nimport queryString from 'query-string';\nimport { useLocation, useHistory } from 'react-router';\nimport { ChevronDown, ChevronUp, Star } from '@saleshandy/icons';\nimport type { IProps } from './outreach-plans-container';\nimport BillingSummaryModal from './components/billing-summary-modal';\nimport { executeOnRequestStatus } from '../../../../../../shared/utils/execute-on-request-status';\nimport { getIsUserSubscribed, isRequestPending } from '../../utils/helper';\nimport PlansSection from './components/plans-section';\nimport { accessibleOnClick } from '../../../../../../shared/utils/accessible-on-click';\nimport { BillingOption } from '../../../../../../shared/utils/billing-options';\nimport { getDisabledLabel } from '../modify-subscription/utils/helper';\nimport { Plan } from '../../types';\nimport {\n SubscriptionPlans,\n SubscriptionPlanTitle,\n} from '../../../../../../shared/utils/subscription-plans';\nimport { redirectWithoutRefresh } from '../../../../../../shared/utils';\nimport { showToastMessage } from '../../../../../../shared/design-system/components/molecules/upgrade-plan-billing-section/helper/helper';\nimport { supportUrls } from '../../../../../../shared/utils/urls';\nimport {\n getPlanIndex,\n getPlanPeriod,\n getSubscribeAction,\n UpgradePlanQueryParamsKey,\n isValueBasedPlan,\n} from './utils/helper';\nimport { getPlanId } from '../upgrade-plan/utils/helper';\nimport { openChatSupport } from '../../../../../../shared/utils/open-chat-support';\nimport { Routes } from '../../../../../../shared/routes';\nimport PlanCycleSwitch from '../../../../../../shared/design-system/components/molecules/plan-cycle-switch';\nimport FeaturesHeader from '../cold-email-plans/components/cold-email-plans-comparison/components/features-header';\nimport FeaturesSection from '../cold-email-plans/components/cold-email-plans-comparison/components/features-section';\nimport { getAllFeaturesList } from '../cold-email-plans/components/cold-email-plans-comparison/utils/get-all-features';\nimport { ColdEmailPlanName } from '../cold-email-plans/components/cold-email-plan-card/types';\nimport { getOutreachPlanMetaData } from './components/outreach-plan-card/utils/helper';\nimport UpgradePlanStatic from '../upgrade-plan-static/upgrade-plan-static';\n\nconst OutreachPlans: React.FC = ({\n //* API Request State\n getCouponCodeResponse,\n sendGetAccountSubscriptionRequestStatus,\n sendGetAccountSubscriptionResponse,\n sendGetPlansResponse,\n sendPurchaseSubscriptionRequestStatus,\n sendPurchaseSubscriptionRequestMessage,\n sendGetPurchaseModifySubscriptionRequestStatus,\n sendPurchaseModifySubscriptionResponse,\n //* API Request\n sendPurchaseSubscriptionRequest,\n sendPurchaseModifySubscriptionRequest,\n sendGetCalculatePayRequest,\n sendGetAccountSubscriptionRequest,\n sendGetUserSettingsRequest,\n resetSubscription,\n}) => {\n const location = useLocation();\n const history = useHistory();\n\n //* States\n const [planCycle, setPlanCycle] = useState(\n BillingOption.ANNUALLY,\n );\n const isPurchaseInProgress =\n isRequestPending(sendPurchaseSubscriptionRequestStatus) ||\n isRequestPending(sendGetPurchaseModifySubscriptionRequestStatus);\n const [\n isBillingSummaryModalShow,\n setIsBillingSummaryModalShow,\n ] = useState(false);\n const [isUserModifyingSubscription, setIsModifySubscription] = useState(\n false,\n );\n const [\n isAllFeaturesTableVisible,\n setIsAllFeaturesTableVisible,\n ] = useState(false);\n const [selectedPlanDetails, setSelectedPlanDetails] = useState();\n\n const toggleAllFeaturesTable = () =>\n setIsAllFeaturesTableVisible(!isAllFeaturesTableVisible);\n\n const showBillingSummaryModal = () => setIsBillingSummaryModalShow(true);\n const hideBillingSummaryModal = () => {\n setIsBillingSummaryModalShow(false);\n resetQueryParams();\n };\n\n const handelBillingOption = (value) => setPlanCycle(value);\n\n const [planDetails, setPlanDetails] = useState(sendGetPlansResponse);\n\n const onSelectPlan = (planId: number, planName: string) => {\n const { planCode } = sendGetAccountSubscriptionResponse;\n\n if (planName === SubscriptionPlanTitle.Custom) {\n openChatSupport();\n return;\n }\n\n const selectedPlan = sendGetPlansResponse.find(({ id }) => id === planId);\n setSelectedPlanDetails(selectedPlan);\n\n if (getIsUserSubscribed(planCode)) {\n sendGetCalculatePayRequest({\n accountSubscriptionPlanId: planId,\n slots: 1,\n });\n }\n\n showBillingSummaryModal();\n updateQueryParams(planId);\n };\n\n const onPurchase = (token, couponCode) => {\n if (!isUserModifyingSubscription) {\n const payload = {\n slots: 1,\n planId: Number(selectedPlanDetails?.id),\n ...(token && { stripeCardToken: token.id }),\n ...(getCouponCodeResponse &&\n !getCouponCodeResponse.isError &&\n couponCode && { couponCode }),\n };\n sendPurchaseSubscriptionRequest(payload);\n } else {\n const payload = {\n accountSubscriptionPlanId: Number(selectedPlanDetails?.id),\n slots: 1,\n stripeCardToken: token.id,\n ...(getCouponCodeResponse &&\n !getCouponCodeResponse.isError &&\n couponCode && { couponCode }),\n };\n sendPurchaseModifySubscriptionRequest(payload);\n }\n };\n\n const sendPurchaseSubscriptionRequestSuccess = (message) => {\n showToastMessage(message);\n\n sendGetAccountSubscriptionRequest();\n redirectWithoutRefresh('/settings/billing/subscriptions?plan=subscribed');\n resetSubscription();\n\n setTimeout(() => {\n // Stripe is taking time to update payment is pending or not data\n sendGetUserSettingsRequest();\n }, 500);\n };\n\n const updateQueryParams = (planId) => {\n const queryParams = new URLSearchParams(location.search);\n const index = getPlanIndex(sendGetPlansResponse, planId);\n const selectPlanIndex = index < 3 ? index + 1 : index - 2;\n\n queryParams.set(\n UpgradePlanQueryParamsKey.Action,\n getSubscribeAction(isUserModifyingSubscription),\n );\n queryParams.set(UpgradePlanQueryParamsKey.Period, getPlanPeriod(planCycle));\n queryParams.set(UpgradePlanQueryParamsKey.Plan, selectPlanIndex.toString());\n\n history.push({\n pathname: Routes.Setting_Billing_Upgrade_Email_Outreach_Plan,\n search: queryParams.toString(),\n });\n };\n\n const resetQueryParams = () => {\n const queryParams = new URLSearchParams(location.search);\n queryParams.delete(UpgradePlanQueryParamsKey.Action);\n queryParams.delete(UpgradePlanQueryParamsKey.Period);\n queryParams.delete(UpgradePlanQueryParamsKey.Plan);\n\n history.push({\n pathname: Routes.Setting_Billing_Upgrade_Email_Outreach_Plan,\n search: queryParams.toString(),\n });\n };\n\n const selectPlanBasedOnUrl = () => {\n const { planName, planType, planCode } = sendGetAccountSubscriptionResponse;\n const params = queryString.parse(location.search);\n const { plan, period } = params;\n\n if (sendGetPlansResponse) {\n const upgradePlan = sendGetPlansResponse.filter(\n ({ planMode, planType: type }) =>\n Number(period) === planMode && isValueBasedPlan(type),\n )[Number(plan) - 1];\n\n const subscriptionId = getPlanId(\n sendGetPlansResponse,\n planName,\n planCode,\n planType,\n );\n\n if (\n upgradePlan?.id &&\n (upgradePlan?.id > subscriptionId ||\n planCode === SubscriptionPlans.FREE ||\n planCode === SubscriptionPlans.TRIAL)\n ) {\n onSelectPlan(upgradePlan?.id, upgradePlan?.planName);\n }\n }\n };\n\n const getActivePlanName = () => {\n const { planName } = sendGetAccountSubscriptionResponse;\n const emailOutreachPlanMetaData = getOutreachPlanMetaData(planName);\n\n return emailOutreachPlanMetaData?.displayName || planName;\n };\n\n // const getPremiumFeatureTooltipText = (): string =>\n // 'A/Z variant \\nPipedrive Integration \\nTeam Management \\nAPI \\nSender Rotation \\nUnified Inbox Reply';\n\n //* useEffect\n useEffect(() => {\n executeOnRequestStatus({\n status: sendGetAccountSubscriptionRequestStatus,\n onSuccess: () => {\n const { planCode } = sendGetAccountSubscriptionResponse;\n\n const isUserSubscribed = getIsUserSubscribed(planCode);\n setIsModifySubscription(isUserSubscribed);\n\n selectPlanBasedOnUrl();\n },\n });\n }, [sendGetAccountSubscriptionRequestStatus]);\n\n // Purchase subscription\n useEffect(() => {\n executeOnRequestStatus({\n status: sendPurchaseSubscriptionRequestStatus,\n onSuccess: () => {\n sendPurchaseSubscriptionRequestSuccess(\n sendPurchaseSubscriptionRequestMessage,\n );\n },\n });\n }, [sendPurchaseSubscriptionRequestStatus]);\n\n // Modify subscription\n useEffect(() => {\n executeOnRequestStatus({\n status: sendGetPurchaseModifySubscriptionRequestStatus,\n onSuccess: () => {\n sendPurchaseSubscriptionRequestSuccess(\n sendPurchaseModifySubscriptionResponse?.message,\n );\n },\n });\n }, [sendGetPurchaseModifySubscriptionRequestStatus]);\n\n return (\n
    \n {/* Premium Feature Info Banner */}\n {/* {isFreePlan() && (\n
    \n
    \n \n You have used any of these{' '}\n \n \n \n premium feature\n \n \n \n in\n the trial. We suggest upgrading to Outreach PRO or a higher plan.\n Otherwise, you will lose access to all the premium features.\n \n
    \n
    \n )} */}\n\n
    \n

    Find the right Email Outreach Plan

    \n \n You are currently on the{' '}\n {getActivePlanName()} plan\n \n
    \n\n \n
    \n \n
    \n\n {/* \n \n \n
    */}\n \n\n
    \n \n
    \n\n
    \n
    \n

    Note:

    \n

    \n The savings above show how much you can save by choosing to pay for\n the entire year instead of paying monthly.\n

    \n
    \n
    \n\n \n \n Compare Plans & See all features\n \n {isAllFeaturesTableVisible ? : }\n \n\n {isAllFeaturesTableVisible && (\n
    \n
    \n {ColdEmailPlanName.Professional && (\n
    \n \n \n MOST POPULAR\n \n
    \n )}\n \n onSelectPlan(planId, planName)\n }\n sendGetAccountSubscriptionResponse={\n sendGetAccountSubscriptionResponse\n }\n sendGetPlansResponse={sendGetPlansResponse}\n isPurchaseInProgress={isPurchaseInProgress}\n />\n
    \n {getAllFeaturesList().map((item) => (\n \n ))}\n
    \n
    \n
    \n )}\n\n
    \n \n
    \n\n \n \n );\n};\n\nexport default OutreachPlans;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../../../store/root-reducer';\nimport { getUserSettingsRequest } from '../../../../../home/extra-actions';\nimport { resetSubscription } from '../../billing-subscription-slice';\nimport {\n calculatePayRequest,\n getAccountSubscriptionRequest,\n purchaseModifySubscriptionRequest,\n purchaseSubscriptionRequest,\n} from '../../extra-actions';\nimport {\n CalculatePayRequest,\n PurchaseModifySubscriptionRequest,\n PurchaseSubscriptionRequest,\n} from '../../types';\nimport OutreachPlans from './outreach-plans';\n\nconst mapStateToProps = (state: RootState) => ({\n getCouponCodeResponse: state.billingAndSubscription.applyCouponCodeResponse,\n sendGetAccountSubscriptionRequestStatus:\n state.billingAndSubscription.getAccountSubscriptionRequest.status,\n sendGetAccountSubscriptionResponse:\n state.billingAndSubscription.getAccountSubscriptionResponse,\n sendGetPlansResponse: state.billingAndSubscription.getPlansResponse,\n sendPurchaseSubscriptionRequestStatus:\n state.billingAndSubscription.purchaseSubscriptionRequest.status,\n sendPurchaseSubscriptionRequestMessage:\n state.billingAndSubscription.purchaseSubscriptionRequest.message,\n sendGetPurchaseModifySubscriptionRequestStatus:\n state.billingAndSubscription.purchaseModifySubscriptionRequest.status,\n sendPurchaseModifySubscriptionResponse:\n state.billingAndSubscription.purchaseModifySubscriptionResponse,\n sendGetCalculatePayRequestStatus:\n state.billingAndSubscription.calculatePayRequest.status,\n\n couponCodeDiscount:\n state.billingAndSubscription.applyCouponCodeResponse?.discountValue,\n couponCodeDiscountType:\n state.billingAndSubscription.applyCouponCodeResponse?.discountType,\n});\n\nconst mapDispatchToProps = {\n sendGetCalculatePayRequest: (payload: CalculatePayRequest) =>\n calculatePayRequest(payload),\n sendPurchaseSubscriptionRequest: (payload: PurchaseSubscriptionRequest) =>\n purchaseSubscriptionRequest(payload),\n sendPurchaseModifySubscriptionRequest: (\n payload: PurchaseModifySubscriptionRequest,\n ) => purchaseModifySubscriptionRequest(payload),\n sendGetAccountSubscriptionRequest: () => getAccountSubscriptionRequest(),\n sendGetUserSettingsRequest: () => getUserSettingsRequest(),\n resetSubscription: () => resetSubscription(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps;\n\nexport default connector(OutreachPlans);\n","import React, { useState, useEffect } from 'react';\nimport { useLocation } from 'react-router';\nimport { useTranslation } from 'react-i18next';\nimport SelectPlan from '../select-plan';\nimport ModifySubscriptionProgressBar from './components/modify-subscription-progress-bar';\nimport UpgradePlan from '../upgrade-plan';\nimport type { IProps } from './modify-subscription-container';\nimport { BillingOption } from '../../../../../../shared/utils/billing-options';\nimport { ModifySubscriptionSteps, SetPlanDetails } from './types';\nimport RadioButtonTransfer from '../../../../../../shared/design-system/components/atoms/radio-button-transfer';\nimport {\n billingOptions,\n gePlanCycleBasedOnPlanType,\n getHighlightMessage,\n getDisabledLabel,\n getDisabledTab,\n isBillingAndSubscriptionPageReady,\n isColdEmailPlanBannerShow,\n isValueBasedPlanVisible,\n} from './utils/helper';\nimport {\n ModifyPlanAction,\n PlanType,\n SubscriptionPlanModes,\n SubscriptionPlans,\n} from '../../../../../../shared/utils/subscription-plans';\nimport ImageIcon from '../../../../../../shared/components/images/image-icon';\nimport { Images } from '../../../../../../shared/app-constants';\nimport Spinner from '../../../../../../shared/design-system/components/atoms/custom-spinner';\nimport { getPlanMetaData } from '../select-plan/utils/get-plan-meta-data';\nimport {\n getPlanId,\n getPlanNameByPlanCycle,\n getPlanNameByPlanMode,\n} from '../upgrade-plan/utils/helper';\nimport { getPlanCode } from '../select-plan/utils/helper';\nimport PaymentFailed from '../upgrade-plan/payment-failed';\nimport { executeOnRequestStatus } from '../../../../../../shared/utils/execute-on-request-status';\nimport ColdEmailPlanExploreBanner from './components/cold-email-plan-explore-banner';\nimport OutreachPlans from '../outreach-plans';\nimport { showGeneralErrorNotification } from '../../../../../../shared/utils/errors';\n\nconst ModifySubscription: React.FC = (containerProps) => {\n const { t } = useTranslation();\n const location = useLocation<{\n modifySubscriptionStep: ModifySubscriptionSteps;\n isRedirectedFromBillingOptions: boolean;\n isRedirectedFromEmailAccounts?: boolean;\n }>();\n\n // Select Plan\n const {\n selectPlan,\n selectedPlanDetails,\n sendGetCalculatePayRequest,\n sendGetAccountSubscriptionResponse,\n sendGetPlansResponse,\n userCurrentPlan,\n sendPurchaseSubscriptionRequestStatus,\n sendGetPurchaseModifySubscriptionRequestStatus,\n resetPurchaseModifySubscriptionResponse,\n resetCalculatePayState,\n sendGetAccountSubscriptionRequestStatus,\n sendGetPlansRequestStatus,\n subscriptionPlanStatus,\n } = containerProps;\n\n // States\n const [\n modifySubscriptionStep,\n setModifySubscriptionStep,\n ] = useState(ModifySubscriptionSteps.SelectPlan);\n const [planCycle, setPlanCycle] = useState(\n gePlanCycleBasedOnPlanType(\n sendGetAccountSubscriptionResponse?.planCode,\n sendGetAccountSubscriptionResponse?.planMode,\n ),\n );\n const [isPaymentFailed, setIsPaymentFailed] = useState(false);\n\n const setPlanDetails = ({\n planCode,\n planType,\n planMode,\n planName,\n action,\n }: SetPlanDetails) => {\n const {\n planName: currentPlanName,\n planMode: currentPlanMode,\n planAmount,\n planId,\n } = sendGetAccountSubscriptionResponse || {};\n\n const getPlanName = getPlanNameByPlanMode(\n sendGetPlansResponse,\n planCode,\n planMode,\n );\n\n let modifyAction = action;\n\n if (\n currentPlanMode === SubscriptionPlanModes.MonthlyMode &&\n planCycle === BillingOption.ANNUALLY\n ) {\n modifyAction = ModifyPlanAction.Update;\n } else if (currentPlanName === planName) {\n modifyAction = ModifyPlanAction.AddSlots;\n resetCalculatePayState();\n }\n\n const { displayName, price } =\n getPlanMetaData(planCode, planCycle, planName || getPlanName) || {};\n\n selectPlan({\n displayName: displayName || planName,\n planId:\n getPlanId(\n sendGetPlansResponse,\n planName || getPlanName,\n planCode,\n planType,\n ) || planId,\n planPrice: price || Number(planAmount),\n planCode,\n planType,\n action: modifyAction,\n });\n };\n\n const handleModifySubscriptionStep = (step) =>\n setModifySubscriptionStep(step);\n\n const handelBillingOption = (value) => setPlanCycle(value);\n\n const handelSelectPlan = (\n planCode: SubscriptionPlans,\n planType: PlanType,\n planName,\n planMode: number,\n action,\n ) => {\n const planId = getPlanId(\n sendGetPlansResponse,\n planName,\n planCode,\n planType,\n );\n\n setPlanDetails({ planCode, planType, planMode, planName, action });\n handleModifySubscriptionStep(ModifySubscriptionSteps.SelectSlots);\n\n if (action === ModifyPlanAction.AddSlots) {\n resetCalculatePayState();\n }\n\n if (\n action !== ModifyPlanAction.AddSlots &&\n planCycle !== BillingOption.LIFETIME &&\n userCurrentPlan !== SubscriptionPlans.FREE &&\n userCurrentPlan !== SubscriptionPlans.TRIAL\n ) {\n sendGetCalculatePayRequest({\n accountSubscriptionPlanId: planId,\n slots: sendGetAccountSubscriptionResponse?.slots,\n });\n }\n };\n\n const onPaymentFailed = () => {\n setIsPaymentFailed(true);\n };\n\n const onPaymentRetrieve = () => {\n setIsPaymentFailed(false);\n setModifySubscriptionStep(ModifySubscriptionSteps.SelectPlan);\n };\n\n useEffect(() => {\n const { modifySubscriptionStep: step } = location.state || {\n modifySubscriptionStep: null,\n };\n\n if (step) {\n resetCalculatePayState();\n setModifySubscriptionStep(step);\n }\n }, []);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: sendGetAccountSubscriptionRequestStatus,\n onPending: () => {\n setIsPaymentFailed(false);\n },\n onSuccess: () => {\n if (sendGetAccountSubscriptionResponse) {\n const { planCode, planName } = sendGetAccountSubscriptionResponse;\n setPlanCycle(\n gePlanCycleBasedOnPlanType(\n sendGetAccountSubscriptionResponse?.planCode,\n sendGetAccountSubscriptionResponse?.planMode,\n ),\n );\n setPlanDetails({\n planCode,\n planName,\n action: ModifyPlanAction.AddSlots,\n });\n }\n },\n });\n }, [sendGetAccountSubscriptionRequestStatus, sendGetPlansRequestStatus]);\n\n useEffect(() => {\n if (selectedPlanDetails && sendGetAccountSubscriptionResponse) {\n const { planName, planCode } = sendGetAccountSubscriptionResponse;\n setPlanDetails({\n planCode:\n planCode === SubscriptionPlans.PAID_MONTHLY ||\n planCode === SubscriptionPlans.PAID_YEARLY\n ? getPlanCode(planCycle)\n : planCode,\n planName: getPlanNameByPlanCycle(\n selectedPlanDetails.displayName || planName,\n planCycle,\n ),\n action: selectedPlanDetails.action,\n });\n }\n }, [planCycle]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: sendPurchaseSubscriptionRequestStatus,\n onFailed: () => {\n containerProps.hideLoading();\n onPaymentFailed();\n },\n });\n }, [sendPurchaseSubscriptionRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: sendGetPurchaseModifySubscriptionRequestStatus,\n onFailed: () => {\n containerProps.hideLoading();\n onPaymentFailed();\n resetPurchaseModifySubscriptionResponse();\n },\n });\n }, [sendGetPurchaseModifySubscriptionRequestStatus]);\n\n useEffect(() => {\n const {\n sendGetAccountSubscriptionRequest,\n sendGetPlansRequest,\n sendGetConnectedUsersAndEmailAccountsRequest,\n } = containerProps;\n sendGetAccountSubscriptionRequest();\n sendGetPlansRequest();\n sendGetConnectedUsersAndEmailAccountsRequest();\n }, []);\n\n const {\n sendGetConnectedUsersAndEmailAccountsRequestError,\n sendGetConnectedUsersAndEmailAccountsRequestStatus,\n resetConnectedUsersAndEmailAccountsRequest,\n } = containerProps;\n\n useEffect(() => {\n executeOnRequestStatus({\n status: sendGetConnectedUsersAndEmailAccountsRequestStatus,\n onSuccess: () => {\n resetConnectedUsersAndEmailAccountsRequest();\n },\n onFailed: () => {\n showGeneralErrorNotification(\n sendGetConnectedUsersAndEmailAccountsRequestError?.message,\n );\n resetConnectedUsersAndEmailAccountsRequest();\n },\n });\n }, [sendGetConnectedUsersAndEmailAccountsRequestStatus]);\n\n // Check it payment failed or not\n if (isPaymentFailed) {\n return onPaymentRetrieve()} />;\n }\n\n const isRequestPending = isBillingAndSubscriptionPageReady({\n sendGetAccountSubscriptionRequestStatus,\n sendGetPlansRequestStatus,\n sendGetAccountSubscriptionResponse,\n selectedPlanDetails,\n });\n\n const subscriptionStep = () =>\n modifySubscriptionStep === ModifySubscriptionSteps.SelectPlan ? (\n
    \n \n handelSelectPlan(planCode, planType, planName, planMode, action)\n }\n sendGetAccountSubscriptionResponse={\n sendGetAccountSubscriptionResponse\n }\n sendGetPlansResponse={sendGetPlansResponse}\n />\n
    \n ) : (\n \n );\n\n if (isRequestPending) {\n return ;\n }\n\n if (\n isValueBasedPlanVisible(\n sendGetAccountSubscriptionResponse?.planCode,\n sendGetAccountSubscriptionResponse?.planType,\n subscriptionPlanStatus,\n )\n ) {\n return ;\n }\n\n return (\n <>\n
    \n {isColdEmailPlanBannerShow(\n sendGetAccountSubscriptionResponse?.planCode,\n ) && }\n handleModifySubscriptionStep(step)}\n disabledStep={getDisabledTab(\n sendGetAccountSubscriptionResponse?.planCode,\n sendGetAccountSubscriptionResponse?.planType,\n )}\n />\n {planCycle !== BillingOption.LIFETIME && (\n
    \n
    \n \n {t(`messages.${getHighlightMessage(planCycle)}`)}\n \n
    \n \n
    \n
    \n \n
    \n )}\n
    \n\n {subscriptionStep()}\n \n );\n};\n\nexport default ModifySubscription;\n","import { hideLoading, showLoading } from 'react-redux-loading-bar';\nimport { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../../../store/root-reducer';\nimport ModifySubscription from './modify-subscription';\nimport {\n getConnectedUsersAndEmailAccountsRequest,\n getAccountSubscriptionRequest,\n getPlansRequest,\n purchaseSubscriptionRequest,\n applyCouponCodeRequest,\n modifySubscriptionRequest,\n purchaseModifySubscriptionRequest,\n calculatePayRequest,\n upgradePlanRequest,\n downgradePlanRequest,\n upgradeLtdPlanRequest,\n modifyLtdPlanRequest,\n} from '../../extra-actions';\nimport {\n PurchaseSubscriptionRequest,\n ApplyCouponCodeRequest,\n ModifySubscriptionRequest,\n PurchaseModifySubscriptionRequest,\n CalculatePayRequest,\n UpgradePlanRequest,\n DowngradePlanRequest,\n LTDUpgradePayload,\n LTDModifyPayload,\n} from '../../types';\nimport {\n deleteAppliedCouponCode,\n resetCalculatePayState,\n resetConnectedUsersAndEmailAccountsRequest,\n resetModifySubscriptionResponse,\n resetPurchaseModifySubscriptionResponse,\n selectPlan,\n} from '../../billing-subscription-slice';\n\nconst mapStateToProps = (state: RootState) => ({\n sendGetAccountSubscriptionRequestStatus:\n state.billingAndSubscription.getAccountSubscriptionRequest.status,\n sendGetAccountSubscriptionRequestError:\n state.billingAndSubscription.getAccountSubscriptionRequest.error,\n sendGetPlansRequestStatus:\n state.billingAndSubscription.getPlansRequest.status,\n sendGetPlansRequestError: state.billingAndSubscription.getPlansRequest.error,\n sendPurchaseSubscriptionRequestStatus:\n state.billingAndSubscription.purchaseSubscriptionRequest.status,\n sendGetAccountSubscriptionResponse:\n state.billingAndSubscription.getAccountSubscriptionResponse,\n sendGetConnectedUsersAndEmailAccountsRequestStatus:\n state.billingAndSubscription.getConnectedUsersAndEmailAccountsRequest\n .status,\n sendGetConnectedUsersAndEmailAccountsRequestError:\n state.billingAndSubscription.getConnectedUsersAndEmailAccountsRequest.error,\n sendGetConnectedUsersAndEmailAccountsRequestResponse:\n state.billingAndSubscription.getConnectedUsersAndEmailAccountsResponse,\n sendApplyCouponCodeRequestStatus:\n state.billingAndSubscription.applyCouponCodeRequest.status,\n sendApplyCouponCodeRequestMessage:\n state.billingAndSubscription.applyCouponCodeRequest.message,\n sendApplyCouponCodeRequestError:\n state.billingAndSubscription.applyCouponCodeRequest.error,\n getCouponCodeResponse: state.billingAndSubscription.applyCouponCodeResponse,\n sendGetPlansResponse: state.billingAndSubscription.getPlansResponse,\n sendGetModifySubscriptionRequestStatus:\n state.billingAndSubscription.calculatePayRequest.status,\n sendGetPurchaseModifySubscriptionRequestStatus:\n state.billingAndSubscription.purchaseModifySubscriptionRequest.status,\n sendGetModifySubscriptionResponse:\n state.billingAndSubscription.modifySubscriptionResponse,\n sendGetCalculatePayResponse:\n state.billingAndSubscription.getCalculatePayResponse,\n selectedPlanDetails: state.billingAndSubscription.selectedPlanDetails,\n\n upgradeLtdPlanRequestStatus:\n state.billingAndSubscription.upgradeLtdPlanRequest.status,\n upgradeLtdPlanRequestError:\n state.billingAndSubscription.upgradeLtdPlanRequest.error,\n modifyLtdPlanRequestStatus:\n state.billingAndSubscription.modifyLtdPlanRequest.status,\n modifyLtdPlanRequestError:\n state.billingAndSubscription.modifyLtdPlanRequest.error,\n\n userCurrentPlan: state.home.subscription?.planCode,\n subscriptionPlanStatus: state.home.subscription?.status,\n});\n\nconst mapDispatchToProps = {\n sendGetAccountSubscriptionRequest: () => getAccountSubscriptionRequest(),\n sendGetPlansRequest: () => getPlansRequest(),\n sendPurchaseSubscriptionRequest: (payload: PurchaseSubscriptionRequest) =>\n purchaseSubscriptionRequest(payload),\n sendApplyCouponCodeRequest: (payload: ApplyCouponCodeRequest) =>\n applyCouponCodeRequest(payload),\n sendGetConnectedUsersAndEmailAccountsRequest: () =>\n getConnectedUsersAndEmailAccountsRequest(),\n resetConnectedUsersAndEmailAccountsRequest: () =>\n resetConnectedUsersAndEmailAccountsRequest(),\n deleteAppliedCouponCode: () => deleteAppliedCouponCode(),\n sendModifySubscriptionRequest: (payload: ModifySubscriptionRequest) =>\n modifySubscriptionRequest(payload),\n sendPurchaseModifySubscriptionRequest: (\n payload: PurchaseModifySubscriptionRequest,\n ) => purchaseModifySubscriptionRequest(payload),\n resetModifySubscriptionResponse: () => resetModifySubscriptionResponse(),\n resetCalculatePayState: () => resetCalculatePayState(),\n resetPurchaseModifySubscriptionResponse: () =>\n resetPurchaseModifySubscriptionResponse(),\n sendGetCalculatePayRequest: (payload: CalculatePayRequest) =>\n calculatePayRequest(payload),\n sendUpgradePlanRequest: (payload: UpgradePlanRequest) =>\n upgradePlanRequest(payload),\n sendDowngradePlanRequest: (payload: DowngradePlanRequest) =>\n downgradePlanRequest(payload),\n selectPlan: (payload) => selectPlan(payload),\n hideLoading: () => hideLoading(),\n showLoading: () => showLoading(),\n\n sendUpgradeLtdPlanRequest: (payload: LTDUpgradePayload) =>\n upgradeLtdPlanRequest(payload),\n\n sendModifyLtdPlanRequest: (payload: LTDModifyPayload) =>\n modifyLtdPlanRequest(payload),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps;\n\nexport type LocationStateType = {\n isModifySubscription: boolean;\n};\n\nexport default connector(ModifySubscription);\n","import { BillingOption } from '../../../../../../../shared/utils/billing-options';\nimport {\n PlanPurchaseAction,\n PlanType,\n SubscriptionPlanTitle,\n SubscriptionPlans,\n} from '../../../../../../../shared/utils/subscription-plans';\n\nexport enum UpgradePlanQueryParamsKey {\n Action = 'action',\n Plan = 'plan',\n Period = 'period',\n}\n\nexport const isValueBasedPlan = (planType: PlanType) =>\n planType === PlanType.ValueBased;\n\nexport const getPlanIndex = (plans, planId) =>\n plans\n .filter(({ planCode }) => isValueBasedPlan(planCode))\n .findIndex(({ id }) => id === planId);\n\nexport const getPlanPeriod = (planCycle: BillingOption) =>\n planCycle === BillingOption.MONTHLY ? '1' : '12';\n\nexport const getSubscribeAction = (isUserModifyingSubscription: boolean) =>\n isUserModifyingSubscription\n ? PlanPurchaseAction.Upgrade\n : PlanPurchaseAction.Subscribe;\n\nexport const isPremiumFeatureBannerShow = (planCode) =>\n planCode === SubscriptionPlans.TRIAL ||\n planCode === SubscriptionPlans.OUTREACH_BASIC_MONTHLY ||\n planCode === SubscriptionPlans.OUTREACH_BASIC_YEARLY ||\n planCode === SubscriptionPlans.OUTREACH_BASIC_MONTHLY_8_2023 ||\n planCode === SubscriptionPlans.OUTREACH_BASIC_YEARLY_8_2023;\n\nexport const isAnnuallyPlan = (planCycle: BillingOption) =>\n planCycle === BillingOption.ANNUALLY;\n\nexport const stepWisePlanEmailMonthly = {\n step1: SubscriptionPlanTitle.LeadFinderEmailScalePlus1Monthly,\n step2: SubscriptionPlanTitle.LeadFinderEmailScalePlus2Monthly,\n step3: SubscriptionPlanTitle.LeadFinderEmailScalePlus3Monthly,\n step4: SubscriptionPlanTitle.LeadFinderEmailScalePlus4Monthly,\n};\nexport const stepWisePlanEmailPhoneMonthly = {\n step1: SubscriptionPlanTitle.LeadFinderEmailPhoneScalePlus1Monthly,\n step2: SubscriptionPlanTitle.LeadFinderEmailPhoneScalePlus2Monthly,\n step3: SubscriptionPlanTitle.LeadFinderEmailPhoneScalePlus3Monthly,\n step4: SubscriptionPlanTitle.LeadFinderEmailPhoneScalePlus4Monthly,\n};\nexport const stepWisePlanEmailYearly = {\n step1: SubscriptionPlanTitle.LeadFinderEmailScalePlus1Yearly,\n step2: SubscriptionPlanTitle.LeadFinderEmailScalePlus2Yearly,\n step3: SubscriptionPlanTitle.LeadFinderEmailScalePlus3Yearly,\n step4: SubscriptionPlanTitle.LeadFinderEmailScalePlus4Yearly,\n};\n\nexport const stepWisePlanEmailPhoneYearly = {\n step1: SubscriptionPlanTitle.LeadFinderEmailPhoneScalePlus1Yearly,\n step2: SubscriptionPlanTitle.LeadFinderEmailPhoneScalePlus2Yearly,\n step3: SubscriptionPlanTitle.LeadFinderEmailPhoneScalePlus3Yearly,\n step4: SubscriptionPlanTitle.LeadFinderEmailPhoneScalePlus4Yearly,\n};\n\nexport const getCustomScalePlusPlanName = (\n step,\n isAnnualPlan,\n isEmailPhonePlan,\n) => {\n let data = null;\n if (isEmailPhonePlan) {\n data = isAnnualPlan\n ? stepWisePlanEmailPhoneYearly[`step${step}`]\n : stepWisePlanEmailPhoneMonthly[`step${step}`];\n } else {\n data = isAnnualPlan\n ? stepWisePlanEmailYearly[`step${step}`]\n : stepWisePlanEmailMonthly[`step${step}`];\n }\n return data;\n};\n","import React from 'react';\nimport classnames from 'classnames';\nimport { IProps } from './types';\nimport { ModifySubscriptionSteps } from '../../types';\nimport Icon from '../../../../../../../../shared/design-system/components/atoms/icon';\nimport { accessibleOnClick } from '../../../../../../../../shared/utils/accessible-on-click';\n\nconst ModifySubscriptionProgressBar: React.FC = ({\n modifySubscriptionStep,\n onStepChange,\n disabledStep,\n}) => {\n const selectPlanStepClassName = classnames([\n {\n 'active-step':\n modifySubscriptionStep === ModifySubscriptionSteps.SelectPlan,\n },\n {\n 'done-step':\n modifySubscriptionStep === ModifySubscriptionSteps.SelectSlots,\n },\n {\n 'cursor-not-allowed': disabledStep === ModifySubscriptionSteps.SelectPlan,\n },\n ]);\n const selectSlotsStepClassName = classnames([\n {\n 'active-step':\n modifySubscriptionStep === ModifySubscriptionSteps.SelectSlots,\n },\n {\n 'disable-step':\n modifySubscriptionStep === ModifySubscriptionSteps.SelectPlan ||\n disabledStep === ModifySubscriptionSteps.SelectSlots,\n },\n {\n 'cursor-not-allowed':\n disabledStep === ModifySubscriptionSteps.SelectSlots,\n },\n ]);\n\n const handleStepChange = (step) => {\n if (\n step === ModifySubscriptionSteps.SelectPlan &&\n disabledStep !== ModifySubscriptionSteps.SelectPlan\n ) {\n onStepChange(step);\n return;\n }\n if (\n step === ModifySubscriptionSteps.SelectSlots &&\n disabledStep !== ModifySubscriptionSteps.SelectSlots\n ) {\n onStepChange(step);\n }\n };\n\n return (\n
    \n \n handleStepChange(ModifySubscriptionSteps.SelectPlan),\n )}\n >\n
    \n \n
    \n \n Choose your plan\n \n
    \n
    \n \n handleStepChange(ModifySubscriptionSteps.SelectSlots),\n )}\n >\n
    \n \n
    \n \n Select Slots\n \n
    \n \n );\n};\n\nexport default ModifySubscriptionProgressBar;\n","import React from 'react';\nimport { Images } from '../../../../../../../../shared/app-constants';\nimport ImageIcon from '../../../../../../../../shared/components/images/image-icon';\nimport { OverlayTooltip } from '../../../../../../../../shared/design-system/components/overlay';\nimport toaster, { Theme } from '../../../../../../../../shared/toaster';\nimport { accessibleOnClick } from '../../../../../../../../shared/utils/accessible-on-click';\n\nconst ColdEmailPlanExploreBanner: React.FC = () => {\n const couponCode = 'BLACKF35';\n\n const copyCouponCode = () => {\n navigator.clipboard.writeText(couponCode);\n toaster.success('Coupon code has been copied successfully', {\n theme: Theme.New,\n });\n };\n\n return (\n
    \n
    \n \n
    \n \n \n Black Friday/Cyber Monday special:{' '}\n \n Get flat 35% discount on yearly plans. Apply code\n \n \n {couponCode}\n \n \n during checkout\n \n
    \n
    \n
    \n );\n};\n\nexport default ColdEmailPlanExploreBanner;\n","import React, { useState, useEffect } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport StripeCheckout from 'react-stripe-checkout';\nimport type { IProps } from './billing-summary-modal-container';\nimport Modal from '../../../../../../../../shared/design-system/components/atoms/modal';\nimport Button from '../../../../../../../../shared/design-system/components/atoms/button';\nimport { accessibleOnClick } from '../../../../../../../../shared/utils/accessible-on-click';\nimport Input from '../../../../../../../../shared/design-system/components/input/input';\nimport { validate } from '../../../../../../../../shared/design-system/components/molecules/upgrade-plan-billing-section/validator';\nimport { isRequestPending } from '../../../../utils/helper';\nimport { Images } from '../../../../../../../../shared/app-constants';\nimport { getSubtotalDiscountAmount } from '../../../../../../../../shared/design-system/components/molecules/upgrade-plan-billing-section/helper/helper';\nimport { executeOnRequestStatus } from '../../../../../../../../shared/utils/execute-on-request-status';\nimport { supportUrls } from '../../../../../../../../shared/utils/urls';\nimport { getTotalAmountForOutreachPlan } from './utils/helper';\nimport ImageIcon from '../../../../../../../../shared/components/images/image-icon';\nimport { AnalyticsEvents } from '../../../../../../../../shared/enums/analytics';\n\nconst BillingSummaryModal: React.FC = ({\n show,\n onClose,\n selectedPlanDetails,\n couponCodeDiscount,\n couponCodeDiscountType,\n onPurchase,\n //* Request Response State\n sendApplyCouponCodeRequestMessage,\n isSendApplyCouponCodeRequestError,\n sendApplyCouponCodeRequestStatus,\n sendPurchaseLeadFinderSubscriptionRequestStatus,\n sendPurchaseLeadFinderModifySubscriptionRequestStatus,\n sendGetCalculatePayResponse,\n sendGetCalculatePayRequestStatus,\n //* API Request\n sendApplyCouponCodeRequest,\n //* Redux Util Function\n deleteAppliedCouponCode,\n currentPlanName,\n}) => {\n const { t } = useTranslation();\n const totalAmount = selectedPlanDetails?.amount;\n const planId = Number(selectedPlanDetails?.id);\n const planName = selectedPlanDetails?.planName;\n const isApplyCouponCodeInProgress = isRequestPending(\n sendApplyCouponCodeRequestStatus,\n );\n const isPurchaseInProgress =\n isRequestPending(sendPurchaseLeadFinderSubscriptionRequestStatus) ||\n isRequestPending(sendPurchaseLeadFinderModifySubscriptionRequestStatus);\n\n const totalAmountToPay: number = getTotalAmountForOutreachPlan({\n totalAmount: Number(totalAmount),\n discountType: couponCodeDiscountType,\n discount: couponCodeDiscount,\n sendGetCalculatePayResponse,\n });\n\n const [havePromoCode, setHavePromoCode] = useState(false);\n const [couponCode, setCouponCode] = useState('');\n const [error, setError] = useState('');\n\n const userHasPromoCode = (value) => {\n setHavePromoCode(value);\n };\n\n const onCouponCodeChange = (value) => {\n setCouponCode(value);\n };\n\n const handleDeleteAppliedCouponCode = () => {\n onCouponCodeChange('');\n deleteAppliedCouponCode();\n userHasPromoCode(false);\n };\n\n const onApplyCouponCode = (e) => {\n e.preventDefault();\n\n let isError = false;\n\n const checkError = validate('couponCode', couponCode);\n isError = isError || !!checkError;\n setError(checkError);\n\n if (isError) {\n return;\n }\n\n sendApplyCouponCodeRequest({\n couponCode,\n amount: Number(totalAmountToPay),\n planId,\n });\n };\n\n const onPurchaseHandler = (token) => {\n onPurchase(token, couponCode);\n };\n\n const handleModalClose = () => {\n handleDeleteAppliedCouponCode();\n onClose();\n };\n\n const handlePayNowAnalyticsEvent = () => {\n window.analytics?.track?.({\n event: AnalyticsEvents.ClickedOnPayNow,\n properties: {\n Source: 'Subscription',\n current_plan: currentPlanName,\n 'Clicked Plan': planName,\n },\n });\n };\n\n //* useEffect\n // Purchase subscription\n useEffect(() => {\n executeOnRequestStatus({\n status: sendPurchaseLeadFinderSubscriptionRequestStatus,\n onFailed: () => {\n handleDeleteAppliedCouponCode();\n },\n });\n }, [sendPurchaseLeadFinderSubscriptionRequestStatus]);\n\n // Modify subscription\n useEffect(() => {\n executeOnRequestStatus({\n status: sendPurchaseLeadFinderModifySubscriptionRequestStatus,\n onFailed: () => {\n handleDeleteAppliedCouponCode();\n },\n });\n }, [sendPurchaseLeadFinderModifySubscriptionRequestStatus]);\n\n const renderCouponCodeView = () => (\n
    \n {havePromoCode && (\n
    \n onApplyCouponCode(e),\n }\n }\n icons={[\n isApplyCouponCodeInProgress && {\n place: Input.IconPlace.Right,\n identifier: 'spinner-alt',\n colorDefault: true,\n className: 'icon-loading',\n },\n ...(couponCodeDiscount\n ? [\n {\n place: Input.IconPlace.Right,\n identifier: 'trash',\n colorDefault: true,\n className: 'icon-1 icon-2',\n onClick: () => handleDeleteAppliedCouponCode(),\n },\n ]\n : []),\n ]}\n />\n
    \n )}\n\n {couponCodeDiscount && (\n
    \n \n {t('labels.discount')}\n \n {`$${getSubtotalDiscountAmount(\n couponCodeDiscountType,\n Number(totalAmount),\n couponCodeDiscount,\n )}`}\n
    \n )}\n
    \n );\n\n const renderStripeButton = () => (\n \n handlePayNowAnalyticsEvent()}\n variant={Button.Variant.Primary}\n isLoading={isPurchaseInProgress}\n disabled={isPurchaseInProgress}\n className=\"solid-primary-new w-100\"\n >\n {t('labels.pay_now')}\n \n \n );\n\n return (\n \n
    \n Plan Name\n \n {planName}\n \n
    \n\n
    \n
    \n Total Amount\n \n ${totalAmount}\n \n
    \n
    \n {!havePromoCode && (\n \n Have a discount code?\n \n )}\n
    \n {renderCouponCodeView()}\n
    \n\n
    \n \n Total Amount to pay today\n \n \n {isRequestPending(sendGetCalculatePayRequestStatus) ? (\n
    \n \n
    \n ) : (\n `$${totalAmountToPay}`\n )}\n
    \n
    \n\n
    \n

    \n Your subscription will auto-renew until you cancel. By upgrading, you\n agree to our{' '}\n \n refund policy.\n \n

    \n
    \n\n {renderStripeButton()}\n \n );\n};\n\nexport default BillingSummaryModal;\n","import { getSubtotalDiscountAmount } from '../../../../../../../../../shared/design-system/components/molecules/upgrade-plan-billing-section/helper/helper';\n\nexport const getTotalAmountForOutreachPlan = ({\n totalAmount,\n discountType,\n discount,\n sendGetCalculatePayResponse,\n}) => {\n let subTotal = totalAmount;\n\n if (sendGetCalculatePayResponse) {\n subTotal = sendGetCalculatePayResponse?.amountToPay;\n }\n\n const discountedAmount = getSubtotalDiscountAmount(\n discountType,\n totalAmount,\n discount,\n );\n\n if (discountedAmount) {\n return (subTotal - discountedAmount).toFixed(2);\n }\n\n return subTotal.toFixed(2);\n};\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../../../../../store/root-reducer';\n// eslint-disable-next-line import/no-cycle\nimport BillingSummaryModal from './billing-summary-modal';\nimport {\n ApplyCouponCodeRequest,\n ModifySubscriptionRequest,\n Plan,\n PurchaseModifySubscriptionRequest,\n PurchaseSubscriptionRequest,\n} from '../../../../types';\nimport {\n applyCouponCodeRequest,\n modifySubscriptionRequest,\n purchaseLeadFinderModifySubscriptionRequest,\n purchaseLeadFinderSubscriptionRequest,\n} from '../../../../extra-actions';\nimport {\n deleteAppliedCouponCode,\n resetHandleLeadFinderSubscriptionChurnkeyResponse,\n resetSubscription,\n} from '../../../../billing-subscription-slice';\n\nconst mapStateToProps = (state: RootState) => ({\n sendPurchaseLeadFinderSubscriptionRequestError:\n state.billingAndSubscription.purchaseLeadFinderSubscriptionRequest.error,\n sendPurchaseLeadFinderSubscriptionRequestStatus:\n state.billingAndSubscription.purchaseLeadFinderSubscriptionRequest.status,\n sendPurchaseLeadFinderSubscriptionRequestMessage:\n state.billingAndSubscription.purchaseLeadFinderSubscriptionRequest.message,\n\n sendGetConnectedUsersAndEmailAccountsRequestError:\n state.billingAndSubscription.getConnectedUsersAndEmailAccountsRequest.error,\n sendGetConnectedUsersAndEmailAccountsRequestResponse:\n state.billingAndSubscription.getConnectedUsersAndEmailAccountsResponse,\n\n sendApplyCouponCodeRequestStatus:\n state.billingAndSubscription.applyCouponCodeRequest.status,\n sendApplyCouponCodeRequestMessage:\n state.billingAndSubscription.applyCouponCodeRequest.message,\n isSendApplyCouponCodeRequestError:\n state.billingAndSubscription.applyCouponCodeRequest.error?.error,\n getCouponCodeResponse: state.billingAndSubscription.applyCouponCodeResponse,\n\n sendGetModifySubscriptionRequestStatus:\n state.billingAndSubscription.modifySubscriptionRequest.status,\n sendGetModifySubscriptionRequestError:\n state.billingAndSubscription.modifySubscriptionRequest.error,\n sendGetModifySubscriptionResponse:\n state.billingAndSubscription.modifySubscriptionResponse,\n sendPurchaseLeadFinderModifySubscriptionRequestStatus:\n state.billingAndSubscription.purchaseLeadFinderModifySubscriptionRequest\n .status,\n sendPurchaseLeadFinderModifySubscriptionRequestMessage:\n state.billingAndSubscription.purchaseLeadFinderModifySubscriptionRequest\n .message,\n\n sendGetHandleSubscriptionResponse:\n state.billingAndSubscription.handleSubscriptionResponse,\n sendGetHandleLeadFinderChurnkeySubscriptionError:\n state.billingAndSubscription.handleLeadFinderChurnkeySubscriptionRequest\n .error,\n sendGetHandleLeadFinderChurnkeySubscriptionStatus:\n state.billingAndSubscription.handleLeadFinderChurnkeySubscriptionRequest\n .status,\n\n sendGetCalculatePayRequestStatus:\n state.billingAndSubscription.calculatePayRequest.status,\n sendGetCalculatePayResponse:\n state.billingAndSubscription.getCalculatePayResponse,\n\n couponCodeDiscount:\n state.billingAndSubscription.applyCouponCodeResponse?.discountValue,\n couponCodeDiscountType:\n state.billingAndSubscription.applyCouponCodeResponse?.discountType,\n sendGetAccountSubscriptionResponse:\n state.billingAndSubscription.getAccountSubscriptionResponse,\n currentPlanName: state.home?.subscription?.planName,\n});\n\nconst mapDispatchToProps = {\n sendPurchaseLeadFinderSubscriptionRequest: (\n payload: PurchaseSubscriptionRequest,\n ) => purchaseLeadFinderSubscriptionRequest(payload),\n resetSubscription: () => resetSubscription(),\n resetHandleLeadFinderSubscriptionChurnkeyResponse: () =>\n resetHandleLeadFinderSubscriptionChurnkeyResponse(),\n sendApplyCouponCodeRequest: (payload: ApplyCouponCodeRequest) =>\n applyCouponCodeRequest(payload),\n deleteAppliedCouponCode: () => deleteAppliedCouponCode(),\n sendModifySubscriptionRequest: (payload: ModifySubscriptionRequest) =>\n modifySubscriptionRequest(payload),\n sendPurchaseLeadFinderModifySubscriptionRequest: (\n payload: PurchaseModifySubscriptionRequest,\n ) => purchaseLeadFinderModifySubscriptionRequest(payload),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n show: boolean;\n onClose: VoidFunction;\n selectedPlanDetails: Plan | null;\n isUserModifyingSubscription: boolean;\n onPurchase: (token: string, couponCode: string) => void;\n};\n\nexport default connector(BillingSummaryModal);\n","import { SubscriptionPlanTitle } from '../../../../../../../../../shared/utils/subscription-plans';\n\nexport const LeadFinderSubscriptionPlansKey = {\n leadNormal: {\n 1: {\n email: [\n // Old Plans\n // 'lead-finder-email-starter-monthly',\n // 'lead-finder-email-pro-monthly',\n // 'lead-finder-email-scale-monthly',\n\n // New Plans - Sept 24\n 'lead-finder-email-starter-monthly-09-2024',\n 'lead-finder-email-pro-monthly-09-2024',\n 'lead-finder-email-scale-monthly-09-2024',\n ],\n emailPhone: [\n // Old Plans\n // 'lead-finder-email-phone-starter-monthly',\n // 'lead-finder-email-phone-pro-monthly',\n // 'lead-finder-email-phone-scale-monthly',\n\n // New Plans - Sept 24\n 'lead-finder-email-phone-starter-monthly-09-2024',\n 'lead-finder-email-phone-pro-monthly-09-2024',\n 'lead-finder-email-phone-scale-monthly-09-2024',\n ],\n },\n 12: {\n email: [\n // Old Plans\n // 'lead-finder-email-starter-yearly',\n // 'lead-finder-email-pro-yearly',\n // 'lead-finder-email-scale-yearly',\n\n // New Plans - Sept 24\n 'lead-finder-email-starter-yearly-09-2024',\n 'lead-finder-email-pro-yearly-09-2024',\n 'lead-finder-email-scale-yearly-09-2024',\n ],\n emailPhone: [\n // Old Plans\n // 'lead-finder-email-phone-starter-yearly',\n // 'lead-finder-email-phone-pro-yearly',\n // 'lead-finder-email-phone-scale-yearly',\n\n // New Plans - Sept 24\n 'lead-finder-email-phone-starter-yearly-09-2024',\n 'lead-finder-email-phone-pro-yearly-09-2024',\n 'lead-finder-email-phone-scale-yearly-09-2024',\n ],\n },\n },\n leadScale: {\n 1: {\n email: [\n // Old Plans\n // 'lead-finder-email-scale-plus-1-monthly',\n // 'lead-finder-email-scale-plus-2-monthly',\n // 'lead-finder-email-scale-plus-3-monthly',\n // 'lead-finder-email-scale-plus-4-monthly',\n\n // New Plans - Sept 24\n 'lead-finder-email-scale-plus-10k-monthly',\n 'lead-finder-email-scale-plus-20k-monthly',\n 'lead-finder-email-scale-plus-50k-monthly',\n 'lead-finder-email-scale-plus-100k-monthly',\n ],\n emailPhone: [\n // Old Plans\n // 'lead-finder-email-phone-scale-plus-1-monthly',\n // 'lead-finder-email-phone-scale-plus-2-monthly',\n // 'lead-finder-email-phone-scale-plus-3-monthly',\n // 'lead-finder-email-phone-scale-plus-4-monthly',\n\n // New Plans - Sept 24\n 'lead-finder-email-phone-scale-plus-10k-monthly',\n 'lead-finder-email-phone-scale-plus-20k-monthly',\n 'lead-finder-email-phone-scale-plus-50k-monthly',\n 'lead-finder-email-phone-scale-plus-100k-monthly',\n ],\n },\n 12: {\n email: [\n // Old Plans\n // 'lead-finder-email-scale-plus-1-yearly',\n // 'lead-finder-email-scale-plus-2-yearly',\n // 'lead-finder-email-scale-plus-3-yearly',\n // 'lead-finder-email-scale-plus-4-yearly',\n\n // New Plans - Sept 24\n 'lead-finder-email-scale-plus-10k-yearly',\n 'lead-finder-email-scale-plus-20k-yearly',\n 'lead-finder-email-scale-plus-50k-yearly',\n 'lead-finder-email-scale-plus-100k-yearly',\n ],\n emailPhone: [\n // Old Plans\n // 'lead-finder-email-phone-scale-plus-1-yearly',\n // 'lead-finder-email-phone-scale-plus-2-yearly',\n // 'lead-finder-email-phone-scale-plus-3-yearly',\n // 'lead-finder-email-phone-scale-plus-4-yearly',\n\n // New Plans - Sept 24\n 'lead-finder-email-phone-scale-plus-10k-yearly',\n 'lead-finder-email-phone-scale-plus-20k-yearly',\n 'lead-finder-email-phone-scale-plus-50k-yearly',\n 'lead-finder-email-phone-scale-plus-100k-yearly',\n ],\n },\n },\n};\n\nexport const customPlanScale100kMonthly = {\n id: 92,\n amount: '11111.00',\n planName: SubscriptionPlanTitle.OutreachScaleMonthly100k,\n planCode: 'outreach-scale-plus-100k-monthly',\n currency: 'USD',\n planValidityDays: 30,\n planType: 'value-based',\n planMode: 1,\n isCustomPlan: true,\n};\n\nexport const customPlanScale100kYearly = {\n id: 97,\n amount: '36.00',\n planName: SubscriptionPlanTitle.OutreachScaleYearly100k,\n planCode: 'outreach-scale-plus-100k-yearly',\n currency: 'USD',\n planValidityDays: 365,\n planType: 'value-based',\n planMode: 12,\n isCustomPlan: true,\n};\n\nexport const getBaseLeadFinderScalePlanData = ({\n planMode,\n allPlans,\n isEmailPhonePlan,\n}) => {\n const scalePlanCode =\n LeadFinderSubscriptionPlansKey.leadScale[planMode][\n isEmailPhonePlan ? 'emailPhone' : 'email'\n ][0];\n\n const index = allPlans.findIndex((plan) => scalePlanCode === plan.planCode);\n\n return [{ ...allPlans[index], isCustomPlan: true }];\n};\n\nexport const getLeadFinderPlanData = ({\n planMode,\n allPlans,\n isEmailPhonePlan,\n}) => {\n const planCodes =\n LeadFinderSubscriptionPlansKey.leadNormal[planMode][\n isEmailPhonePlan ? 'emailPhone' : 'email'\n ];\n\n return allPlans.filter((plan) => planCodes.includes(plan.planCode));\n};\n\nexport const getCustomScalePlusPlanData = ({\n planMode,\n allPlans,\n isEmailPhonePlan,\n}) => {\n const planCodes =\n LeadFinderSubscriptionPlansKey.leadScale[planMode][\n isEmailPhonePlan ? 'emailPhone' : 'email'\n ];\n\n return allPlans.filter((plan) => planCodes.includes(plan.planCode));\n};\n\nexport const isLeadFinderScalePlusPlan = (planCode) => {\n const planCodes = [\n ...LeadFinderSubscriptionPlansKey.leadScale[1].email,\n ...LeadFinderSubscriptionPlansKey.leadScale[1].emailPhone,\n ...LeadFinderSubscriptionPlansKey.leadScale[12].email,\n ...LeadFinderSubscriptionPlansKey.leadScale[12].emailPhone,\n ];\n\n return planCodes.includes(planCode);\n};\n","import { Images } from '../../../../../../../../../shared/app-constants';\nimport { SubscriptionPlanTitle } from '../../../../../../../../../shared/utils/subscription-plans';\nimport { GetPlansResponse } from '../../../../../types';\nimport { getPlanPeriod } from '../../../utils/helper';\nimport { LeadFinderSubscriptionPlansKey } from '../../plans-section/utils/helper';\n\nconst leadFinderEmailStarterMonthlyFeatures = [\n {\n label: '1,000 credits monthly',\n labelClass: 'font-semibold',\n highlight: true,\n },\n {\n label: 'Unused Credits Rollover',\n },\n {\n label: 'Real-time verified leads',\n },\n {\n label: 'Includes both personal and work email',\n labelClass: 'break-lines',\n },\n {\n label: 'Advanced search filters',\n },\n {\n label: 'Email and Phone information can be revealed',\n tooltipText:\n '1 credit per email and 2 credits for email + phone information will be charged',\n },\n];\nconst leadFinderEmailStarterYearlyFeatures = [\n {\n label: '1,000 credits monthly',\n labelClass: 'font-semibold',\n highlight: true,\n },\n {\n label: 'Unused Credits Rollover',\n },\n {\n label: 'Real-time verified leads',\n },\n {\n label: 'Includes both personal and work email',\n labelClass: 'break-lines',\n },\n {\n label: 'Advanced search filters',\n },\n {\n label: 'Email and Phone information can be revealed',\n tooltipText:\n '1 credit per email and 2 credits for email + phone information will be charged',\n },\n];\n\nconst leadFinderEmailProMonthlyFeatures = [\n {\n label: '2,500 credits monthly',\n labelClass: 'font-semibold',\n highlight: true,\n },\n {\n label: 'Unused Credits Rollover',\n },\n {\n label: 'Real-time verified leads',\n },\n {\n label: 'Includes both personal and work email',\n labelClass: 'break-lines',\n },\n {\n label: 'Advanced search filters',\n },\n {\n label: 'Email and Phone information can be revealed',\n tooltipText:\n '1 credit per email and 2 credits for email + phone information will be charged',\n },\n];\nconst leadFinderEmailProYearlyFeatures = [\n {\n label: '2,500 credits monthly',\n labelClass: 'font-semibold',\n highlight: true,\n },\n {\n label: 'Unused Credits Rollover',\n },\n {\n label: 'Real-time verified leads',\n },\n {\n label: 'Includes both personal and work email',\n labelClass: 'break-lines',\n },\n {\n label: 'Advanced search filters',\n },\n {\n label: 'Email and Phone information can be revealed',\n tooltipText:\n '1 credit per email and 2 credits for email + phone information will be charged',\n },\n];\n\nconst leadFinderEmailScaleMonthlyFeatures = [\n {\n label: '5,000 credits monthly',\n labelClass: 'font-semibold',\n highlight: true,\n },\n {\n label: 'Unused Credits Rollover',\n },\n {\n label: 'Real-time verified leads',\n },\n {\n label: 'Includes both personal and work email',\n labelClass: 'break-lines',\n },\n {\n label: 'Advanced search filters',\n },\n {\n label: 'Email and Phone information can be revealed',\n tooltipText:\n '1 credit per email and 2 credits for email + phone information will be charged',\n },\n];\nconst leadFinderEmailScaleYearlyFeatures = [\n {\n label: '5,000 credits monthly',\n labelClass: 'font-semibold',\n highlight: true,\n },\n {\n label: 'Unused Credits Rollover',\n },\n {\n label: 'Real-time verified leads',\n },\n {\n label: 'Includes both personal and work email',\n labelClass: 'break-lines',\n },\n {\n label: 'Advanced search filters',\n },\n {\n label: 'Email and Phone information can be revealed',\n tooltipText:\n '1 credit per email and 2 credits for email + phone information will be charged',\n },\n];\n\nconst leadFinderEmailScalePlus1MonthlyFeatures = [\n {\n label: '10,000 credits monthly',\n labelClass: 'font-semibold',\n highlight: true,\n },\n {\n label: 'Unused Credits Rollover',\n },\n {\n label: 'Real-time verified leads',\n },\n {\n label: 'Includes both personal and work email',\n labelClass: 'break-lines',\n },\n {\n label: 'Advanced search filters',\n },\n {\n label: 'Email and Phone information can be revealed',\n tooltipText:\n '1 credit per email and 2 credits for email + phone information will be charged',\n },\n];\nconst leadFinderEmailScalePlus1YearlyFeatures = [\n {\n label: '10,000 credits monthly',\n labelClass: 'font-semibold',\n highlight: true,\n },\n {\n label: 'Unused Credits Rollover',\n },\n {\n label: 'Real-time verified leads',\n },\n {\n label: 'Includes both personal and work email',\n labelClass: 'break-lines',\n },\n {\n label: 'Advanced search filters',\n },\n {\n label: 'Email and Phone information can be revealed',\n tooltipText:\n '1 credit per email and 2 credits for email + phone information will be charged',\n },\n];\n\nconst leadFinderEmailScalePlus2MonthlyFeatures = [\n {\n label: '20,000 credits monthly',\n labelClass: 'font-semibold',\n highlight: true,\n },\n {\n label: 'Unused Credits Rollover',\n },\n {\n label: 'Real-time verified leads',\n },\n {\n label: 'Includes both personal and work email',\n labelClass: 'break-lines',\n },\n {\n label: 'Advanced search filters',\n },\n {\n label: 'Email and Phone information can be revealed',\n tooltipText:\n '1 credit per email and 2 credits for email + phone information will be charged',\n },\n];\nconst leadFinderEmailScalePlus2YearlyFeatures = [\n {\n label: '20,000 credits monthly',\n labelClass: 'font-semibold',\n highlight: true,\n },\n {\n label: 'Unused Credits Rollover',\n },\n {\n label: 'Real-time verified leads',\n },\n {\n label: 'Includes both personal and work email',\n labelClass: 'break-lines',\n },\n {\n label: 'Advanced search filters',\n },\n {\n label: 'Email and Phone information can be revealed',\n tooltipText:\n '1 credit per email and 2 credits for email + phone information will be charged',\n },\n];\n\nconst leadFinderEmailScalePlus3MonthlyFeatures = [\n {\n label: '50,000 credits monthly',\n labelClass: 'font-semibold',\n highlight: true,\n },\n {\n label: 'Unused Credits Rollover',\n },\n {\n label: 'Real-time verified leads',\n },\n {\n label: 'Includes both personal and work email',\n labelClass: 'break-lines',\n },\n {\n label: 'Advanced search filters',\n },\n {\n label: 'Email and Phone information can be revealed',\n tooltipText:\n '1 credit per email and 2 credits for email + phone information will be charged',\n },\n];\nconst leadFinderEmailScalePlus3YearlyFeatures = [\n {\n label: '50,000 credits monthly',\n labelClass: 'font-semibold',\n highlight: true,\n },\n {\n label: 'Unused Credits Rollover',\n },\n {\n label: 'Real-time verified leads',\n },\n {\n label: 'Includes both personal and work email',\n labelClass: 'break-lines',\n },\n {\n label: 'Advanced search filters',\n },\n {\n label: 'Email and Phone information can be revealed',\n tooltipText:\n '1 credit per email and 2 credits for email + phone information will be charged',\n },\n];\n\nconst leadFinderEmailScalePlus4MonthlyFeatures = [\n {\n label: '100,000 credits monthly',\n labelClass: 'font-semibold',\n highlight: true,\n },\n {\n label: 'Unused Credits Rollover',\n },\n {\n label: 'Real-time verified leads',\n },\n {\n label: 'Includes both personal and work email',\n labelClass: 'break-lines',\n },\n {\n label: 'Advanced search filters',\n },\n {\n label: 'Email and Phone information can be revealed',\n tooltipText:\n '1 credit per email and 2 credits for email + phone information will be charged',\n },\n];\nconst leadFinderEmailScalePlus4YearlyFeatures = [\n {\n label: '100,000 credits monthly',\n labelClass: 'font-semibold',\n highlight: true,\n },\n {\n label: 'Unused Credits Rollover',\n },\n {\n label: 'Real-time verified leads',\n },\n {\n label: 'Includes both personal and work email',\n labelClass: 'break-lines',\n },\n {\n label: 'Advanced search filters',\n },\n {\n label: 'Email and Phone information can be revealed',\n tooltipText:\n '1 credit per email and 2 credits for email + phone information will be charged',\n },\n];\n\nconst planMetaData = {\n [SubscriptionPlanTitle.LeadFinderEmailStarterMonthly]: {\n displayName: 'Starter',\n features: leadFinderEmailStarterMonthlyFeatures,\n },\n [SubscriptionPlanTitle.LeadFinderEmailProMonthly]: {\n displayName: 'Pro',\n features: leadFinderEmailProMonthlyFeatures,\n isBestValuePlan: true,\n },\n [SubscriptionPlanTitle.LeadFinderEmailScaleMonthly]: {\n displayName: 'Scale',\n features: leadFinderEmailScaleMonthlyFeatures,\n },\n [SubscriptionPlanTitle.LeadFinderEmailScalePlus1Monthly]: {\n displayName: 'Plus 10K',\n features: leadFinderEmailScalePlus1MonthlyFeatures,\n },\n [SubscriptionPlanTitle.LeadFinderEmailScalePlus2Monthly]: {\n displayName: 'Plus 20K',\n features: leadFinderEmailScalePlus2MonthlyFeatures,\n },\n [SubscriptionPlanTitle.LeadFinderEmailScalePlus3Monthly]: {\n displayName: 'Plus 50K',\n features: leadFinderEmailScalePlus3MonthlyFeatures,\n },\n [SubscriptionPlanTitle.LeadFinderEmailScalePlus4Monthly]: {\n displayName: 'Plus 100K',\n features: leadFinderEmailScalePlus4MonthlyFeatures,\n },\n [SubscriptionPlanTitle.LeadFinderEmailStarterYearly]: {\n displayName: 'Starter',\n features: leadFinderEmailStarterYearlyFeatures,\n },\n [SubscriptionPlanTitle.LeadFinderEmailProYearly]: {\n displayName: 'Pro',\n features: leadFinderEmailProYearlyFeatures,\n isBestValuePlan: true,\n },\n [SubscriptionPlanTitle.LeadFinderEmailScaleYearly]: {\n displayName: 'Scale',\n features: leadFinderEmailScaleYearlyFeatures,\n },\n [SubscriptionPlanTitle.LeadFinderEmailScalePlus1Yearly]: {\n displayName: 'Plus 10K',\n features: leadFinderEmailScalePlus1YearlyFeatures,\n },\n [SubscriptionPlanTitle.LeadFinderEmailScalePlus2Yearly]: {\n displayName: 'Plus 20K',\n features: leadFinderEmailScalePlus2YearlyFeatures,\n },\n [SubscriptionPlanTitle.LeadFinderEmailScalePlus3Yearly]: {\n displayName: 'Plus 50K',\n features: leadFinderEmailScalePlus3YearlyFeatures,\n },\n [SubscriptionPlanTitle.LeadFinderEmailScalePlus4Yearly]: {\n displayName: 'Plus 100K',\n features: leadFinderEmailScalePlus4YearlyFeatures,\n },\n};\n\nexport const getLeadFinderPlanMetaData = (planName) => planMetaData[planName];\n\nexport const getPlanPrice = (planPrice, planMode) =>\n Number(planPrice) / Number(planMode);\n\nexport const getPlanDetailsObj = (plan) => ({\n id: plan.id || null,\n planName: plan.planName,\n displayName: getLeadFinderPlanMetaData(plan.planName)?.displayName,\n isBestValuePlan: getLeadFinderPlanMetaData(plan.planName)?.isBestValuePlan,\n features: getLeadFinderPlanMetaData(plan.planName)?.features,\n price: getPlanPrice(plan.amount, plan.planMode) || null,\n ...plan,\n});\n\nexport const getLeadFinderPlanMonthlyPrice = (\n planCode: string,\n plans: GetPlansResponse,\n) => {\n const correspondingMonthlyPlanCode =\n planCode?.replace('yearly', 'monthly') || '';\n\n const correspondingMonthlyPlan = plans.find(\n (plan) => plan.planCode === correspondingMonthlyPlanCode,\n );\n\n if (correspondingMonthlyPlan) {\n return parseInt(correspondingMonthlyPlan?.amount || '0', 10);\n }\n\n return 0;\n};\n\nexport const getLeadFinderPlanYearlyPrice = (\n planCode: string,\n plans: GetPlansResponse,\n) => {\n const correspondingYearlyPlanCode =\n planCode?.replace('monthly', 'yearly') || '';\n\n const correspondingYearlyPlan = plans.find(\n (plan) => plan.planCode === correspondingYearlyPlanCode,\n );\n\n if (correspondingYearlyPlan) {\n return parseInt(correspondingYearlyPlan?.amount || '0', 10);\n }\n\n return 0;\n};\n\nexport const stepWisePlanProspects = {\n step1: '10,000',\n step2: '20,000',\n step3: '50,000',\n step4: '100,000',\n};\n\nexport const getSelectedPlanProspects = (step) =>\n stepWisePlanProspects[`step${step}`];\n\nexport const getInitialStepValue = ({\n planMode,\n planCode,\n planCycle,\n isEmailPhonePlan,\n}) => {\n const planCyclePeriod = Number(getPlanPeriod(planCycle));\n\n const planList =\n LeadFinderSubscriptionPlansKey.leadScale[planCyclePeriod][\n isEmailPhonePlan ? 'emailPhone' : 'email'\n ];\n\n if (planList.includes(planCode)) {\n if (planCyclePeriod === planMode) {\n const planIndex = planList.findIndex((p) => p === planCode);\n return planIndex + 1;\n }\n }\n return 1;\n};\n\nexport const getCustomScalePlusDiscountPer = (step) => {\n const stepWiseDiscount = {\n step1: '20',\n step2: '20',\n step3: '20',\n step4: '20',\n };\n\n return stepWiseDiscount[`step${step}`];\n};\n\nexport const getPlanIcon = (planName) => {\n const planIconMap = {\n [SubscriptionPlanTitle.LeadFinderEmailStarterMonthly]: Images.RocketColor,\n [SubscriptionPlanTitle.LeadFinderEmailProMonthly]: Images.HeartColor,\n [SubscriptionPlanTitle.LeadFinderEmailScaleMonthly]: Images.StarColor,\n [SubscriptionPlanTitle.LeadFinderEmailScalePlus1Monthly]:\n Images.BuildingColor,\n [SubscriptionPlanTitle.LeadFinderEmailScalePlus2Monthly]:\n Images.BuildingColor,\n [SubscriptionPlanTitle.LeadFinderEmailScalePlus3Monthly]:\n Images.BuildingColor,\n [SubscriptionPlanTitle.LeadFinderEmailScalePlus4Monthly]:\n Images.BuildingColor,\n [SubscriptionPlanTitle.LeadFinderEmailStarterYearly]: Images.RocketColor,\n [SubscriptionPlanTitle.LeadFinderEmailProYearly]: Images.HeartColor,\n [SubscriptionPlanTitle.LeadFinderEmailScaleYearly]: Images.StarColor,\n [SubscriptionPlanTitle.LeadFinderEmailScalePlus1Yearly]:\n Images.BuildingColor,\n [SubscriptionPlanTitle.LeadFinderEmailScalePlus2Yearly]:\n Images.BuildingColor,\n [SubscriptionPlanTitle.LeadFinderEmailScalePlus3Yearly]:\n Images.BuildingColor,\n [SubscriptionPlanTitle.LeadFinderEmailScalePlus4Yearly]:\n Images.BuildingColor,\n };\n\n return planIconMap[planName];\n};\n","import React, { useState, useEffect } from 'react';\nimport classnames from 'classnames';\nimport { useTranslation } from 'react-i18next';\nimport {\n Bulb,\n Check,\n ChevronLeft,\n ChevronRight,\n Messages,\n Star,\n} from '@saleshandy/icons';\nimport { IProps } from './types';\nimport Button from '../../../../../../../../shared/design-system/components/atoms/button';\nimport {\n getInitialStepValue,\n getLeadFinderPlanMonthlyPrice,\n getLeadFinderPlanYearlyPrice,\n getPlanDetailsObj,\n getPlanIcon,\n getPlanPrice,\n getSelectedPlanProspects,\n} from './utils/helper';\nimport { SelectPlanCTAText } from '../../../../../../../../shared/design-system/components/molecules/pricing-card/types';\nimport { OverlayTooltip } from '../../../../../../../../shared/design-system/components/overlay';\nimport { RangeInput } from '../range-input';\nimport { getCustomScalePlusPlanName, isAnnuallyPlan } from '../../utils/helper';\nimport { isLeadFinderScalePlusPlan } from '../plans-section/utils/helper';\nimport { getLeadFinderButtonLabel } from '../../../../../../../../shared/design-system/components/molecules/pricing-card/helpers';\nimport { accessibleOnClick } from '../../../../../../../../shared/utils/accessible-on-click';\n\nconst LeadFinderPlanCard: React.FC = ({\n plan,\n customScalePlusPlans,\n isPurchaseInProgress,\n handlePlanSelect,\n sendGetLeadFinderSubscriptionResponse,\n sendGetLeadFinderPlansResponse,\n planCycle,\n isEmailPhonePlan,\n}) => {\n const { t } = useTranslation();\n\n //* State */\n const [rangeInputValue, setRangeInputValue] = useState([\n getInitialStepValue({\n planMode: sendGetLeadFinderSubscriptionResponse?.planMode,\n planCode: sendGetLeadFinderSubscriptionResponse?.planCode,\n planCycle,\n isEmailPhonePlan,\n }),\n ]);\n\n const [planDetails, setPlanDetails] = useState(getPlanDetailsObj(plan));\n\n const btnLabel = getLeadFinderButtonLabel({\n plan: planDetails,\n sendGetLeadFinderSubscriptionResponse,\n planCycle,\n });\n\n const getButtonTheme = () => {\n if (\n planDetails.isBestValuePlan &&\n btnLabel !== SelectPlanCTAText.CurrentPlan &&\n btnLabel !== SelectPlanCTAText.DowngradePlan\n ) {\n return Button.Theme.Solid;\n }\n return Button.Theme.Ghost;\n };\n\n const onRangeInputChange = (v: number[]) => {\n setRangeInputValue(v);\n\n //* Custom Scale Plus Plan */\n const scalePlusPlan = customScalePlusPlans.find(\n (p) =>\n p.planName ===\n getCustomScalePlusPlanName(\n v[0],\n isAnnuallyPlan(planCycle),\n isEmailPhonePlan,\n ),\n );\n\n if (scalePlusPlan) {\n setPlanDetails(getPlanDetailsObj(scalePlusPlan));\n }\n };\n\n const getPlanDiscountText = () => {\n if (isAnnuallyPlan(planCycle)) {\n return `Save $${\n (getLeadFinderPlanMonthlyPrice(\n planDetails.planCode,\n sendGetLeadFinderPlansResponse,\n ) - planDetails.price)*12\n } annually`;\n }\n\n return `Save $${\n (planDetails.price -\n getPlanPrice(\n getLeadFinderPlanYearlyPrice(\n planDetails.planCode,\n sendGetLeadFinderPlansResponse,\n ),\n 12,\n ))*12\n } on annual plan`;\n };\n\n useEffect(() => {\n if (\n plan.isCustomPlan &&\n isLeadFinderScalePlusPlan(sendGetLeadFinderSubscriptionResponse?.planCode)\n ) {\n onRangeInputChange([\n getInitialStepValue({\n planMode: sendGetLeadFinderSubscriptionResponse?.planMode,\n planCode: sendGetLeadFinderSubscriptionResponse?.planCode,\n planCycle,\n isEmailPhonePlan,\n }),\n ]);\n }\n }, []);\n\n //* Class Variable */\n const cardClassName = classnames([\n 'pricing-card',\n {\n 'best-value-plan': planDetails.isBestValuePlan,\n },\n ]);\n\n const btnClassName = classnames([\n 'ghost-primary-new',\n {\n 'ghost-primary-new-disable': btnLabel === SelectPlanCTAText.DowngradePlan,\n },\n {\n 'solid-primary-new':\n btnLabel !== SelectPlanCTAText.CurrentPlan &&\n btnLabel !== SelectPlanCTAText.DowngradePlan &&\n planDetails.isBestValuePlan,\n },\n {\n 'ghost-secondary-new-disable': btnLabel === SelectPlanCTAText.CurrentPlan,\n },\n ]);\n\n return (\n
    \n
    \n {planDetails.isBestValuePlan && (\n
    \n \n \n {t('labels.most_popular')}\n \n
    \n )}\n
    \n
    \n
    \n
    \n
    \n \"plan-icon\"\n \n {planDetails.displayName}\n \n
    \n
    \n {planDetails.price ? (\n <>\n
    \n \n ${planDetails.price}\n \n {isAnnuallyPlan(planCycle) && (\n \n $\n {getLeadFinderPlanMonthlyPrice(\n planDetails.planCode,\n sendGetLeadFinderPlansResponse,\n )}\n \n )}\n \n /Month\n \n
    \n
    \n \n {getPlanDiscountText()}\n \n
    \n \n ) : (\n
    \n \n
    \n )}\n
    \n\n \n handlePlanSelect(planDetails.id, planDetails.planName)\n }\n className={`w-100 ${btnClassName}`}\n isLoading={isPurchaseInProgress}\n disabled={\n btnLabel === SelectPlanCTAText.CurrentPlan ||\n btnLabel === SelectPlanCTAText.DowngradePlan ||\n isPurchaseInProgress\n }\n >\n {btnLabel}\n \n\n
    \n {plan?.isCustomPlan && (\n
    \n \n
    \n )}\n {plan?.isCustomPlan && (\n
    \n 1 &&\n accessibleOnClick(() =>\n onRangeInputChange([rangeInputValue[0] - 1]),\n ))}\n >\n \n \n \n \n {getSelectedPlanProspects(rangeInputValue[0])}{' '}\n \n lead finder credits\n \n \n onRangeInputChange([rangeInputValue[0] + 1]),\n ))}\n >\n \n \n
    \n )}\n
      \n {planDetails.features?.map(\n ({\n label,\n labelClass,\n tooltipText,\n strikeText,\n highlight,\n }) => (\n \n \n \n \n <>\n {tooltipText ? (\n \n \n {strikeText && (\n \n {strikeText}\n \n )}\n {label}\n \n \n ) : (\n \n {strikeText && (\n \n {strikeText}\n \n )}\n {label}\n \n )}\n \n \n ),\n )}\n
    \n
    \n\n {planDetails.isBestValuePlan && (\n
    \n \n \n {isAnnuallyPlan(planCycle)\n ? t('labels.best_value_plan_insight_yearly')\n : t('labels.best_value_plan_insight_monthly')}\n \n
    \n )}\n
    \n
    \n
    \n
    \n );\n};\n\nexport default LeadFinderPlanCard;\n","import React, { useEffect, useState } from 'react';\nimport { isRequestPending } from '../../../../utils/helper';\nimport { getPlanMode } from '../../../select-plan/utils/helper';\nimport LeadFinderPlanCard from '../lead-finder-plan-card/lead-finder-plan-card';\nimport type { IProps } from './lead-finder-plans-section-container';\nimport {\n getBaseLeadFinderScalePlanData,\n getCustomScalePlusPlanData,\n getLeadFinderPlanData,\n} from './utils/helper';\n\nconst LeadFinderPlansSection: React.FC = ({\n planCycle,\n onSelectPlan,\n selectedPlanId,\n //* API Request State\n sendGetLeadFinderPlansResponse,\n sendGetLeadFinderSubscriptionResponse,\n sendPurchaseLeadFinderSubscriptionRequestStatus,\n sendPurchaseLeadFinderModifySubscriptionRequestStatus,\n isEmailPhonePlan,\n}) => {\n const isPurchaseInProgress =\n isRequestPending(sendPurchaseLeadFinderSubscriptionRequestStatus) ||\n isRequestPending(sendPurchaseLeadFinderModifySubscriptionRequestStatus);\n\n //* states\n const [planData, setPlanData] = useState([]);\n const [customScalePlusPlans, setCustomScalePlusPlans] = useState([]);\n\n //* useEffect\n useEffect(() => {\n if (sendGetLeadFinderPlansResponse) {\n setPlanData([\n ...getLeadFinderPlanData({\n planMode: getPlanMode(planCycle),\n allPlans: sendGetLeadFinderPlansResponse,\n isEmailPhonePlan,\n }),\n ...getBaseLeadFinderScalePlanData({\n planMode: getPlanMode(planCycle),\n allPlans: sendGetLeadFinderPlansResponse,\n isEmailPhonePlan,\n }),\n // {\n // ...(planCycle === BillingOption.MONTHLY\n // ? customPlanScale100kMonthly\n // : customPlanScale100kYearly),\n // },\n ]);\n setCustomScalePlusPlans([\n ...getCustomScalePlusPlanData({\n planMode: getPlanMode(planCycle),\n allPlans: sendGetLeadFinderPlansResponse,\n isEmailPhonePlan,\n }),\n ]);\n }\n }, [\n planCycle,\n sendGetLeadFinderPlansResponse,\n sendGetLeadFinderSubscriptionResponse,\n isEmailPhonePlan,\n ]);\n\n // eslint-disable-next-line arrow-body-style\n useEffect(() => {\n return () => {\n setPlanData([]);\n setCustomScalePlusPlans([]);\n };\n }, []);\n\n return (\n
    \n {planData.map((plan) => (\n \n onSelectPlan(planId, planName)\n }\n sendGetLeadFinderSubscriptionResponse={\n sendGetLeadFinderSubscriptionResponse\n }\n sendGetLeadFinderPlansResponse={sendGetLeadFinderPlansResponse}\n isPurchaseInProgress={\n isPurchaseInProgress && selectedPlanId === plan.id\n }\n isEmailPhonePlan={isEmailPhonePlan}\n />\n ))}\n
    \n );\n};\n\nexport default LeadFinderPlansSection;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { BillingOption } from '../../../../../../../../shared/utils/billing-options';\nimport { RootState } from '../../../../../../../../store/root-reducer';\nimport LeadFinderPlansSection from './lead-finder-plans-section';\n\nconst mapStateToProps = (state: RootState) => ({\n getCouponCodeResponse: state.billingAndSubscription.applyCouponCodeResponse,\n sendGetLeadFinderSubscriptionRequestStatus:\n state.billingAndSubscription.getLeadFinderSubscriptionRequest.status,\n sendGetLeadFinderSubscriptionResponse:\n state.billingAndSubscription.getLeadFinderSubscriptionResponse,\n sendGetLeadFinderPlansResponse:\n state.billingAndSubscription.getLeadFinderPlansResponse,\n sendPurchaseLeadFinderSubscriptionRequestStatus:\n state.billingAndSubscription.purchaseLeadFinderSubscriptionRequest.status,\n sendPurchaseLeadFinderModifySubscriptionRequestStatus:\n state.billingAndSubscription.purchaseLeadFinderModifySubscriptionRequest\n .status,\n});\n\nconst mapDispatchToProps = {};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n onSelectPlan: (planId: number, planName: string) => void;\n planCycle: BillingOption;\n selectedPlanId: number;\n isEmailPhonePlan: boolean;\n};\n\nexport default connector(LeadFinderPlansSection);\n","import React from 'react';\nimport { Range, getTrackBackground } from 'react-range';\nimport { GetLeadFinderPlanResponse } from '../../../../types/response/get-lead-finder-credit-plans';\n\ninterface CreditSliderProps {\n step: number;\n min: number;\n max: number;\n value: number[];\n onChange: (v: number[]) => void;\n plans: GetLeadFinderPlanResponse[];\n}\n\nconst CreditSlider: React.FC = ({\n step = 1,\n min = 1,\n max = 8,\n value,\n plans,\n onChange,\n}) => {\n const handleChange = (v: number[]) => {\n onChange(v);\n };\n\n const getMarkText = (index: number) => {\n const MarkText = plans[index].name;\n return MarkText;\n };\n\n const getMarkMargin = (index: number) => {\n if (index === 0) return '5px';\n if (index === max - 1) return '-6px';\n return '0px';\n };\n\n return (\n \n handleChange(v)}\n renderMark={({ props, index }) => (\n \n
    {getMarkText(index)}
    \n \n )}\n renderTrack={({ props, children }) => (\n \n \n {children}\n \n \n )}\n renderThumb={({ props }) => (\n \n )}\n />\n \n );\n};\n\nexport default CreditSlider;\n","/* eslint-disable @typescript-eslint/no-use-before-define */\n/* eslint-disable jsx-a11y/accessible-emoji */\nimport React, { useState, useEffect } from 'react';\nimport queryString from 'query-string';\nimport { useLocation, useHistory } from 'react-router';\nimport { ImageIcon, toaster } from '@saleshandy/design-system';\nimport StripeCheckout from 'react-stripe-checkout';\nimport type { IProps } from './lead-finder-plans-container';\nimport BillingSummaryModal from './components/billing-summary-modal';\nimport { executeOnRequestStatus } from '../../../../../../shared/utils/execute-on-request-status';\nimport { getIsLeadFinderUserSubscribed } from '../../utils/helper';\nimport PlansSection from './components/plans-section';\nimport { BillingOption } from '../../../../../../shared/utils/billing-options';\nimport { getDisabledLabel } from '../modify-subscription/utils/helper';\nimport { Images } from '../../../../../../shared/app-constants';\nimport { Plan } from '../../types';\nimport {\n LeadFinderEmailOnlySubscriptionPlans,\n LeadFinderEmailPhoneSubscriptionPlans,\n SubscriptionPlans,\n SubscriptionPlanTitle,\n} from '../../../../../../shared/utils/subscription-plans';\nimport {\n getIsRequestPending,\n redirectWithoutRefresh,\n redirectWithRefresh,\n} from '../../../../../../shared/utils';\nimport { showToastMessage } from '../../../../../../shared/design-system/components/molecules/upgrade-plan-billing-section/helper/helper';\nimport {\n getPlanIndex,\n getPlanPeriod,\n getSubscribeAction,\n UpgradePlanQueryParamsKey,\n isValueBasedPlan,\n isPremiumFeatureBannerShow,\n} from './utils/helper';\nimport { getPlanId } from '../upgrade-plan/utils/helper';\nimport { openChatSupport } from '../../../../../../shared/utils/open-chat-support';\nimport { OverlayTooltip } from '../../../../../../shared/design-system/components/overlay';\nimport { Routes } from '../../../../../../shared/routes';\nimport PlanCycleSwitch from '../../../../../../shared/design-system/components/molecules/plan-cycle-switch';\nimport { getLeadFinderPlanMetaData } from './components/lead-finder-plan-card/utils/helper';\nimport CreditSlider from './components/credit-slider/credit-slider';\nimport Button from '../../../../../../shared/design-system/ui/button';\nimport { GetLeadFinderPlanResponse } from '../../types/response/get-lead-finder-credit-plans';\nimport { handle3dSecureCardPayment } from '../../../../../../shared/components/handle-3d-secure-card-payment/handle3dSecureCardPayment';\nimport { RequestStatus } from '../../../../../../shared/enums/request-status';\nimport UpgradePlanStatic from '../upgrade-plan-static/upgrade-plan-static';\nimport { supportUrls } from '../../../../../../shared/utils/urls';\n\nconst LeadFinderPlans: React.FC = ({\n //* API Request State\n getCouponCodeResponse,\n sendGetLeadFinderSubscriptionRequestStatus,\n sendGetLeadFinderSubscriptionResponse,\n sendGetLeadFinderPlansResponse,\n sendPurchaseLeadFinderSubscriptionRequestStatus,\n sendPurchaseLeadFinderSubscriptionRequestMessage,\n sendPurchaseLeadFinderModifySubscriptionRequestStatus,\n sendPurchaseLeadFinderModifySubscriptionRequestMessage,\n leadFinderSubscriptionPlanResponse,\n getLeadFinderOneTimePlansRequestStatus,\n getLeadFinderOneTimePlansResponse,\n sendPurchaseLeadFinderOneTimePlanRequestStatus,\n sendPurchaseLeadFinderOneTimePlanRequestMessage,\n sendPurchaseLeadFinderOneTimePlanResponse,\n //* API Request\n sendPurchaseLeadFinderSubscriptionRequest,\n sendPurchaseLeadFinderModifySubscriptionRequest,\n sendGetCalculatePayRequest,\n sendGetLeadFinderSubscriptionRequest,\n sendGetUserSettingsRequest,\n resetSubscription,\n sendGetLeadFinderOneTimePlansRequest,\n sendPurchaseLeadFinderOneTimePlanRequest,\n resetPurchaseLeadFinderOneTimePlan,\n}) => {\n const location = useLocation();\n const history = useHistory();\n\n //* States\n const [planCycle, setPlanCycle] = useState(\n BillingOption.ANNUALLY,\n );\n const [\n isBillingSummaryModalShow,\n setIsBillingSummaryModalShow,\n ] = useState(false);\n const [isUserModifyingSubscription, setIsModifySubscription] = useState(\n false,\n );\n const [selectedPlanDetails, setSelectedPlanDetails] = useState(null);\n const [isEmailPhonePlan, setIsEmailPhonePlan] = useState(false);\n\n const [creditSliderSelectedValue, setCreditSliderSelectedValue] = useState<\n number[]\n >([1]);\n const [\n selectedLFCreditPlan,\n setSelectedLFCreditPlan,\n ] = useState(null);\n\n const [\n is3dSecureResponseStatePending,\n setIs3dSecureResponseStatePending,\n ] = useState(false);\n\n const showBillingSummaryModal = () => setIsBillingSummaryModalShow(true);\n const hideBillingSummaryModal = () => {\n setIsBillingSummaryModalShow(false);\n resetQueryParams();\n };\n\n const handelBillingOption = (value) => setPlanCycle(value);\n\n const onSelectPlan = (planId: number, planName: string) => {\n const { planCode } = sendGetLeadFinderSubscriptionResponse;\n\n if (planName === SubscriptionPlanTitle.Custom) {\n openChatSupport();\n return;\n }\n\n const selectedPlan = sendGetLeadFinderPlansResponse.find(\n ({ id }) => id === planId,\n );\n setSelectedPlanDetails(selectedPlan);\n\n if (getIsLeadFinderUserSubscribed(planCode)) {\n sendGetCalculatePayRequest({\n accountSubscriptionPlanId: planId,\n slots: 1,\n });\n }\n\n showBillingSummaryModal();\n updateQueryParams(planId);\n };\n\n const onPurchase = (token, couponCode) => {\n if (!isUserModifyingSubscription) {\n const payload = {\n slots: 1,\n planId: Number(selectedPlanDetails?.id),\n ...(token && { stripeCardToken: token.id }),\n ...(getCouponCodeResponse &&\n !getCouponCodeResponse.isError &&\n couponCode && { couponCode }),\n };\n sendPurchaseLeadFinderSubscriptionRequest(payload);\n } else {\n const payload = {\n accountSubscriptionPlanId: Number(selectedPlanDetails?.id),\n slots: 1,\n stripeCardToken: token.id,\n ...(getCouponCodeResponse &&\n !getCouponCodeResponse.isError &&\n couponCode && { couponCode }),\n };\n sendPurchaseLeadFinderModifySubscriptionRequest(payload);\n }\n };\n\n const sendPurchaseSubscriptionRequestSuccess = (message) => {\n showToastMessage(message);\n\n sendGetLeadFinderSubscriptionRequest();\n redirectWithoutRefresh(\n '/settings/billing/subscriptions/lead-finder?plan=subscribed',\n );\n\n resetSubscription();\n\n setTimeout(() => {\n // Stripe is taking time to update payment is pending or not data\n sendGetUserSettingsRequest();\n }, 500);\n };\n\n const updateQueryParams = (planId) => {\n const queryParams = new URLSearchParams(location.search);\n const index = getPlanIndex(sendGetLeadFinderPlansResponse, planId);\n const selectPlanIndex = index < 3 ? index + 1 : index - 2;\n\n queryParams.set(\n UpgradePlanQueryParamsKey.Action,\n getSubscribeAction(isUserModifyingSubscription),\n );\n queryParams.set(UpgradePlanQueryParamsKey.Period, getPlanPeriod(planCycle));\n queryParams.set(UpgradePlanQueryParamsKey.Plan, selectPlanIndex.toString());\n\n history.push({\n pathname: Routes.Setting_Billing_Upgrade_Lead_Finder_Plan,\n search: queryParams.toString(),\n });\n };\n\n const resetQueryParams = () => {\n const queryParams = new URLSearchParams(location.search);\n queryParams.delete(UpgradePlanQueryParamsKey.Action);\n queryParams.delete(UpgradePlanQueryParamsKey.Period);\n queryParams.delete(UpgradePlanQueryParamsKey.Plan);\n\n history.push({\n pathname: Routes.Setting_Billing_Upgrade_Lead_Finder_Plan,\n search: queryParams.toString(),\n });\n };\n\n const selectPlanBasedOnUrl = () => {\n const {\n planName,\n planType,\n planCode,\n } = sendGetLeadFinderSubscriptionResponse;\n const params = queryString.parse(location.search);\n const { plan, period } = params;\n\n const upgradePlan = sendGetLeadFinderPlansResponse.filter(\n ({ planMode, planType: type }) =>\n Number(period) === planMode && isValueBasedPlan(type),\n )[Number(plan) - 1];\n\n const subscriptionId = getPlanId(\n sendGetLeadFinderPlansResponse,\n planName,\n planCode,\n planType,\n );\n\n if (\n upgradePlan?.id &&\n (upgradePlan?.id > subscriptionId ||\n planCode === SubscriptionPlans.FREE ||\n planCode === SubscriptionPlans.TRIAL)\n ) {\n onSelectPlan(upgradePlan?.id, upgradePlan?.planName);\n }\n };\n\n const getPremiumFeatureTooltipText = (): string =>\n 'A/Z variant \\nPipedrive Integration \\nTeam Management \\nAPI \\nSender Rotation \\nUnified Inbox Reply';\n\n const getActivePlanName = () => {\n const { planName } = sendGetLeadFinderSubscriptionResponse;\n const leadFinderPlanMetaData = getLeadFinderPlanMetaData(planName);\n\n return leadFinderPlanMetaData?.displayName || planName;\n };\n\n const handleTalkToSales = () => {\n if (window.Intercom) {\n // First update Intercom to ensure it's in sync\n window.Intercom('update');\n\n // Wait a brief moment for the messenger to be ready\n setTimeout(() => {\n window.Intercom(\n 'showNewMessage',\n \"Hey, I'm interested in buying Lead Finder credits. How can I proceed?\",\n );\n }, 0);\n }\n redirectWithoutRefresh('/settings/billing/subscriptions/lead-finder');\n };\n\n const onPurchaseHandler = (token) => {\n sendPurchaseLeadFinderOneTimePlanRequest({\n stripeCardToken: token.id,\n planId: Number(selectedLFCreditPlan?.id),\n });\n };\n\n const handleCreditSliderChange = (value) => {\n const plan = getLeadFinderOneTimePlansResponse.find(\n ({ id }) => Number(id) === Number(value[0]),\n );\n setSelectedLFCreditPlan(plan);\n setCreditSliderSelectedValue(value);\n };\n\n const handle3dSecureCard = async (response) => {\n const apiEndPoint = '/lead-finder/credits/confirm-payment-intent';\n setIs3dSecureResponseStatePending(true);\n\n const { isError, serverResponse } = await handle3dSecureCardPayment({\n response,\n apiEndPoint,\n });\n\n setIs3dSecureResponseStatePending(false);\n\n if (isError) {\n resetPurchaseLeadFinderOneTimePlan();\n redirectWithoutRefresh({\n pathname: '/settings/billing/subscriptions/lead-finder',\n state: {\n LFCreditPaymentFailed: true,\n }\n });\n } else {\n toaster.success(serverResponse.payload.message);\n resetPurchaseLeadFinderOneTimePlan();\n redirectWithRefresh('/settings/billing/subscriptions/lead-finder');\n }\n };\n\n //* useEffect\n useEffect(() => {\n executeOnRequestStatus({\n status: sendGetLeadFinderSubscriptionRequestStatus,\n onSuccess: () => {\n const { planCode } = sendGetLeadFinderSubscriptionResponse;\n\n const isUserSubscribed = getIsLeadFinderUserSubscribed(planCode);\n setIsModifySubscription(isUserSubscribed);\n\n selectPlanBasedOnUrl();\n },\n });\n }, [sendGetLeadFinderSubscriptionRequestStatus]);\n\n // Purchase subscription\n useEffect(() => {\n executeOnRequestStatus({\n status: sendPurchaseLeadFinderSubscriptionRequestStatus,\n onSuccess: () => {\n sendPurchaseSubscriptionRequestSuccess(\n sendPurchaseLeadFinderSubscriptionRequestMessage,\n );\n },\n });\n }, [sendPurchaseLeadFinderSubscriptionRequestStatus]);\n\n // Modify subscription\n useEffect(() => {\n executeOnRequestStatus({\n status: sendPurchaseLeadFinderModifySubscriptionRequestStatus,\n onSuccess: () => {\n sendPurchaseSubscriptionRequestSuccess(\n sendPurchaseLeadFinderModifySubscriptionRequestMessage,\n );\n },\n });\n }, [sendPurchaseLeadFinderModifySubscriptionRequestStatus]);\n\n useEffect(() => {\n if (leadFinderSubscriptionPlanResponse?.planCode) {\n if (\n LeadFinderEmailOnlySubscriptionPlans.includes(\n leadFinderSubscriptionPlanResponse?.planCode,\n )\n ) {\n setIsEmailPhonePlan(false);\n }\n }\n }, [\n leadFinderSubscriptionPlanResponse &&\n leadFinderSubscriptionPlanResponse?.planCode,\n ]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getLeadFinderOneTimePlansRequestStatus,\n onSuccess: () => {\n setSelectedLFCreditPlan(getLeadFinderOneTimePlansResponse[0]);\n },\n });\n }, [getLeadFinderOneTimePlansRequestStatus]);\n\n useEffect(() => {\n if (\n sendPurchaseLeadFinderOneTimePlanRequestStatus ===\n RequestStatus.Succeeded &&\n sendPurchaseLeadFinderOneTimePlanRequestMessage\n ) {\n if (sendPurchaseLeadFinderOneTimePlanResponse.requires_action) {\n handle3dSecureCard(sendPurchaseLeadFinderOneTimePlanResponse);\n } else {\n toaster.success(sendPurchaseLeadFinderOneTimePlanRequestMessage);\n resetPurchaseLeadFinderOneTimePlan();\n redirectWithRefresh('/settings/billing/subscriptions/lead-finder');\n }\n }\n }, [sendPurchaseLeadFinderOneTimePlanRequestStatus]);\n\n // eslint-disable-next-line arrow-body-style\n useEffect(() => {\n sendGetLeadFinderOneTimePlansRequest();\n return () => {\n setPlanCycle(BillingOption.ANNUALLY);\n setIsBillingSummaryModalShow(false);\n setIsModifySubscription(false);\n setIsEmailPhonePlan(false);\n setSelectedPlanDetails(null);\n };\n }, []);\n\n return (\n
    \n {/* Premium Feature Info Banner */}\n {isPremiumFeatureBannerShow(\n sendGetLeadFinderSubscriptionResponse?.planCode,\n ) && (\n
    \n
    \n \n You have used any of these{' '}\n \n \n \n premium feature\n \n \n \n in\n the trial. We suggest upgrading to Outreach PRO or a higher plan.\n Otherwise, you will lose access to all the premium features.\n \n
    \n
    \n )}\n
    \n

    Find the right Lead Finder plan

    \n \n You are currently on the{' '}\n {getActivePlanName()} plan\n \n
    \n
    \n
    \n \n
    \n
    \n
    \n \n
    \n
    \n
    \n \n Add One-Time Credits to Reveal More\n \n \n Add one-time credits to your plan to reveal more leads,\n including emails and phone numbers. Credits stay\n post-cancellation\n \n
    \n
    \n {selectedLFCreditPlan?.amount > 1000 ? (\n \n ) : (\n \n {}}\n isLoading={\n getIsRequestPending(\n sendPurchaseLeadFinderOneTimePlanRequestStatus,\n ) || is3dSecureResponseStatePending\n }\n disabled={\n getIsRequestPending(\n sendPurchaseLeadFinderOneTimePlanRequestStatus,\n ) || is3dSecureResponseStatePending\n }\n loadingText=\"Buying...\"\n >\n Buy Now\n \n \n )}\n
    \n
    \n
    \n
    \n \n {selectedLFCreditPlan?.name?.toLocaleLowerCase()} Credits\n \n \n ${selectedLFCreditPlan?.amount}\n \n
    \n {getLeadFinderOneTimePlansResponse?.length > 0 && (\n \n )}\n
    \n
    \n
    \n
    \n \n
    \n \n
    \n );\n};\n\nexport default LeadFinderPlans;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../../../store/root-reducer';\nimport { getUserSettingsRequest } from '../../../../../home/extra-actions';\nimport { resetPurchaseLeadFinderOneTimePlan, resetSubscription } from '../../billing-subscription-slice';\nimport {\n calculatePayRequest,\n getLeadFinderOneTimePlansRequest,\n getLeadFinderSubscriptionRequest,\n purchaseLeadFinderModifySubscriptionRequest,\n purchaseLeadFinderOneTimePlanRequest,\n purchaseLeadFinderSubscriptionRequest,\n} from '../../extra-actions';\nimport {\n CalculatePayRequest,\n PurchaseModifySubscriptionRequest,\n PurchaseSubscriptionRequest,\n} from '../../types';\nimport LeadFinderPlans from './lead-finder-plans';\nimport { PurchaseLeadFinderCreditsRequest } from '../../types/purchase-lead-finder-credits';\n\nconst mapStateToProps = (state: RootState) => ({\n getCouponCodeResponse: state.billingAndSubscription.applyCouponCodeResponse,\n sendGetLeadFinderSubscriptionRequestStatus:\n state.billingAndSubscription.getLeadFinderSubscriptionRequest.status,\n sendGetLeadFinderSubscriptionResponse:\n state.billingAndSubscription.getLeadFinderSubscriptionResponse,\n sendGetLeadFinderPlansResponse:\n state.billingAndSubscription.getLeadFinderPlansResponse,\n sendPurchaseLeadFinderSubscriptionRequestStatus:\n state.billingAndSubscription.purchaseLeadFinderSubscriptionRequest.status,\n sendPurchaseLeadFinderSubscriptionRequestMessage:\n state.billingAndSubscription.purchaseLeadFinderSubscriptionRequest.message,\n sendPurchaseLeadFinderModifySubscriptionRequestStatus:\n state.billingAndSubscription.purchaseLeadFinderModifySubscriptionRequest\n .status,\n sendPurchaseLeadFinderModifySubscriptionRequestMessage:\n state.billingAndSubscription.purchaseLeadFinderModifySubscriptionRequest\n .message,\n sendPurchaseModifySubscriptionResponse:\n state.billingAndSubscription.purchaseModifySubscriptionResponse,\n sendGetCalculatePayRequestStatus:\n state.billingAndSubscription.calculatePayRequest.status,\n\n couponCodeDiscount:\n state.billingAndSubscription.applyCouponCodeResponse?.discountValue,\n couponCodeDiscountType:\n state.billingAndSubscription.applyCouponCodeResponse?.discountType,\n leadFinderSubscriptionPlanResponse: state.home.leadFinderSubscription,\n getLeadFinderOneTimePlansRequestStatus:\n state.billingAndSubscription.getLeadFinderOneTimePlansRequest.status,\n getLeadFinderOneTimePlansResponse:\n state.billingAndSubscription.getLeadFinderOneTimePlansResponse,\n\n sendPurchaseLeadFinderOneTimePlanRequestStatus:\n state.billingAndSubscription.purchaseLeadFinderOneTimePlanRequest.status,\n sendPurchaseLeadFinderOneTimePlanRequestMessage:\n state.billingAndSubscription.purchaseLeadFinderOneTimePlanRequest.message,\n sendPurchaseLeadFinderOneTimePlanResponse:\n state.billingAndSubscription.purchaseLeadFinderOneTimePlanResponse,\n});\n\nconst mapDispatchToProps = {\n sendGetCalculatePayRequest: (payload: CalculatePayRequest) =>\n calculatePayRequest(payload),\n sendPurchaseLeadFinderSubscriptionRequest: (\n payload: PurchaseSubscriptionRequest,\n ) => purchaseLeadFinderSubscriptionRequest(payload),\n sendPurchaseLeadFinderModifySubscriptionRequest: (\n payload: PurchaseModifySubscriptionRequest,\n ) => purchaseLeadFinderModifySubscriptionRequest(payload),\n sendGetLeadFinderSubscriptionRequest: () =>\n getLeadFinderSubscriptionRequest(),\n sendGetUserSettingsRequest: () => getUserSettingsRequest(),\n resetSubscription: () => resetSubscription(),\n sendGetLeadFinderOneTimePlansRequest: () =>\n getLeadFinderOneTimePlansRequest(),\n sendPurchaseLeadFinderOneTimePlanRequest: (payload: PurchaseLeadFinderCreditsRequest) =>\n purchaseLeadFinderOneTimePlanRequest(payload),\n resetPurchaseLeadFinderOneTimePlan: () => resetPurchaseLeadFinderOneTimePlan(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps;\n\nexport default connector(LeadFinderPlans);\n","import { checkIsLtdPlan } from '../../../../../../../shared/design-system/components/molecules/subscription-plan-details/helper/helper';\nimport { BillingOption } from '../../../../../../../shared/utils/billing-options';\nimport {\n PlanType,\n SubscriptionPlanModes,\n SubscriptionPlans,\n} from '../../../../../../../shared/utils/subscription-plans';\nimport { GetPlansResponse, SelectedPlanDetails } from '../../../types';\n\n// eslint-disable-next-line import/prefer-default-export\nexport const onPurchaseSubscription = ({\n isUserModifyingSubscription,\n token,\n numberOfSlotsUserWant,\n selectedPlanDetails,\n couponCode,\n onPurchaseSubscriptionRequest,\n onPurchaseModifySubscriptionRequest,\n sendUpgradeLtdPlanRequest,\n sendModifyLtdPlanRequest,\n existingPlanCode,\n existingSlots,\n getCouponCodeResponse,\n}) => {\n if (checkIsLtdPlan(selectedPlanDetails?.planType)) {\n if (existingPlanCode !== selectedPlanDetails?.planCode) {\n sendUpgradeLtdPlanRequest({\n slots: numberOfSlotsUserWant,\n planId: selectedPlanDetails?.planId,\n stripeCardToken: token.id,\n ...(getCouponCodeResponse &&\n !getCouponCodeResponse.isError &&\n couponCode && { couponCode }),\n });\n } else if (existingSlots < numberOfSlotsUserWant) {\n sendModifyLtdPlanRequest({\n slots: Math.abs(numberOfSlotsUserWant - existingSlots),\n stripeCardToken: token.id,\n ...(getCouponCodeResponse &&\n !getCouponCodeResponse.isError &&\n couponCode && { couponCode }),\n });\n }\n\n return;\n }\n\n if (!isUserModifyingSubscription) {\n const payload = {\n slots: Math.floor(numberOfSlotsUserWant),\n planId: Number(selectedPlanDetails.planId),\n ...(token && { stripeCardToken: token.id }),\n ...(getCouponCodeResponse &&\n !getCouponCodeResponse.isError &&\n couponCode && { couponCode }),\n };\n onPurchaseSubscriptionRequest(payload);\n } else {\n const payload = {\n accountSubscriptionPlanId: Number(selectedPlanDetails.planId),\n slots: Math.floor(numberOfSlotsUserWant),\n stripeCardToken: token.id,\n ...(getCouponCodeResponse &&\n !getCouponCodeResponse.isError &&\n couponCode && { couponCode }),\n };\n onPurchaseModifySubscriptionRequest(payload);\n }\n};\n\nexport const getPlanName = (selectedPlanDetails, planCycle: BillingOption) => {\n if (planCycle === BillingOption.MONTHLY) {\n return `${selectedPlanDetails.displayName}`;\n }\n if (planCycle === BillingOption.LIFETIME) {\n return `${selectedPlanDetails.displayName} (Lifetime)`;\n }\n\n return `${selectedPlanDetails.displayName}`;\n};\n\nexport const getIsEmailOutreachProPlan = (\n selectedPlanDetails: SelectedPlanDetails,\n planCycle: BillingOption,\n) => {\n if (planCycle === BillingOption.LIFETIME) {\n if (\n selectedPlanDetails.planCode ===\n SubscriptionPlans.EMAIL_OUTREACH_PRO_LIFETIME\n ) {\n return true;\n }\n }\n return false;\n};\n\nexport const getPlanId = (\n getPlansResponse: GetPlansResponse,\n planName: string,\n planCode: SubscriptionPlans,\n planType: PlanType,\n) => {\n if (checkIsLtdPlan(planType)) {\n return getPlansResponse?.find(\n (plan) =>\n plan.planName.split('(')[0].trim() === planName.split('(')[0].trim(),\n )?.id;\n }\n\n if (\n planCode === SubscriptionPlans.PAID_MONTHLY ||\n planCode === SubscriptionPlans.PAID_YEARLY\n ) {\n return getPlansResponse?.find((plan) => plan?.planCode === planCode)?.id;\n }\n\n return getPlansResponse?.find(\n (plan) =>\n plan?.planName === planName &&\n plan?.planCode !== SubscriptionPlans.PAID_MONTHLY &&\n plan?.planCode !== SubscriptionPlans.PAID_YEARLY,\n )?.id;\n};\n\nexport const getPlanNameByPlanMode = (\n getPlansResponse: GetPlansResponse,\n planCode: SubscriptionPlans,\n planMode: SubscriptionPlanModes,\n) =>\n getPlansResponse?.find(\n (plan) => plan?.planCode === planCode && plan?.planMode === planMode,\n )?.planName;\n\nexport const getPlanNameByPlanCycle = (planName, planCycle) => {\n const previousPlanCycle =\n planCycle === BillingOption.ANNUALLY ? 'Monthly' : 'Yearly';\n const currentPlanCycle =\n planCycle === BillingOption.ANNUALLY ? 'Yearly' : 'Monthly';\n\n return planName.replace(previousPlanCycle, currentPlanCycle);\n};\n\nexport const getPrice = (\n getPlansResponse: GetPlansResponse,\n timeFrame: BillingOption,\n) => {\n const price = {\n emailAccount: null,\n user: null,\n };\n\n if (timeFrame === BillingOption.MONTHLY) {\n price.emailAccount = getPlansResponse.find(\n (row) =>\n row?.planType === PlanType.EmailAccount &&\n row?.planCode === SubscriptionPlans.PAID_MONTHLY,\n ).amount;\n\n price.user = getPlansResponse.find(\n (row) =>\n row?.planType === PlanType.User &&\n row?.planCode === SubscriptionPlans.PAID_MONTHLY,\n ).amount;\n } else if (timeFrame === BillingOption.ANNUALLY) {\n price.emailAccount = getPlansResponse.find(\n (row) =>\n row?.planType === PlanType.EmailAccount &&\n row?.planCode === SubscriptionPlans.PAID_YEARLY,\n )?.amount;\n\n price.user = getPlansResponse.find(\n (row) =>\n row?.planType === PlanType.User &&\n row?.planCode === SubscriptionPlans.PAID_YEARLY,\n )?.amount;\n }\n\n return price;\n};\n\nexport const getNumberOfSlotsUserWant = (\n numberOfSlotsUserWant,\n minimumNumberOfSlotsUserCanHave,\n) =>\n Number(minimumNumberOfSlotsUserCanHave) > Number(numberOfSlotsUserWant)\n ? minimumNumberOfSlotsUserCanHave\n : numberOfSlotsUserWant;\n","/* eslint-disable import/no-cycle */\n/* eslint-disable radix */\nimport React, { useCallback, useEffect, useState } from 'react';\nimport { debounce } from 'lodash';\n\nimport UpgradePlanBillingSection from '../../../../../../shared/design-system/components/molecules/upgrade-plan-billing-section';\nimport UpgradePlanDetails from '../../../../../../shared/design-system/components/molecules/upgrade-plans-details';\nimport { RequestStatus } from '../../../../../../shared/enums/request-status';\nimport { BillingOption } from '../../../../../../shared/utils/billing-options';\nimport { showGeneralErrorNotification } from '../../../../../../shared/utils/errors';\nimport { executeOnRequestStatus } from '../../../../../../shared/utils/execute-on-request-status';\nimport { ModifyPlanAction } from '../../../../../../shared/utils/subscription-plans';\n\nimport { getIsUserSubscribed, isRequestPending } from '../../utils/helper';\nimport { IProps } from '../modify-lead-finder-subscription/modify-lead-finder-subscription-container';\nimport {\n getNumberOfSlotsUserWant,\n getPlanId,\n onPurchaseSubscription,\n} from './utils/helper';\nimport { checkIsLtdPlan } from '../../../../../../shared/design-system/components/molecules/subscription-plan-details/helper/helper';\nimport { getPlanName } from '../modify-subscription/utils/helper';\n\nconst LeadFinderUpgradePlan: React.FC<{\n containerProps: IProps;\n planCycle: BillingOption;\n isRedirectedFromEmailAccounts: boolean;\n}> = ({ containerProps, planCycle, isRedirectedFromEmailAccounts }) => {\n const [numberOfSlotsUserWant, setNumberOfSlotsUserWant] = useState(1);\n const [\n minimumNumberOfSlotsUserCanHave,\n setMinimumNumberOfSlotsUserCanHave,\n ] = useState('1');\n const [couponCode, setCouponCode] = useState('');\n const [havePromoCode, setHavePromoCode] = useState(false);\n const [isUserModifyingSubscription, setIsModifySubscription] = useState(\n false,\n );\n\n // get plans\n const {\n sendGetLeadFinderPlansResponse,\n sendGetLeadFinderPlansRequestStatus,\n sendGetLeadFinderPlansRequestError,\n } = containerProps;\n\n const {\n sendPurchaseLeadFinderSubscriptionRequest,\n sendPurchaseLeadFinderSubscriptionRequestStatus,\n } = containerProps;\n\n const {\n sendGetLeadFinderSubscriptionRequestError,\n sendGetLeadFinderSubscriptionRequestStatus,\n sendGetLeadFinderSubscriptionResponse,\n } = containerProps;\n\n const {\n sendGetConnectedUsersAndEmailAccountsRequestResponse,\n sendGetConnectedUsersAndEmailAccountsRequestStatus,\n } = containerProps;\n\n const { deleteAppliedCouponCode, getCouponCodeResponse } = containerProps;\n\n // modify subscriptions\n const {\n sendPurchaseLeadFinderModifySubscriptionRequestStatus,\n sendPurchaseLeadFinderModifySubscriptionRequest,\n } = containerProps;\n\n // Calculate pay\n const { sendGetCalculatePayRequest } = containerProps;\n\n // Upgrade Downgrade plan\n const {\n sendUpgradeLtdPlanRequest,\n sendModifyLtdPlanRequest,\n } = containerProps;\n\n // Selected Plan\n const { selectedPlanDetails } = containerProps;\n\n useEffect(() => {\n executeOnRequestStatus({\n status: sendGetLeadFinderPlansRequestStatus,\n onFailed: () => {\n showGeneralErrorNotification(\n sendGetLeadFinderPlansRequestError?.message,\n );\n },\n });\n }, [sendGetLeadFinderPlansRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: sendPurchaseLeadFinderSubscriptionRequestStatus,\n onFailed: () => {\n containerProps.hideLoading();\n },\n });\n }, [sendPurchaseLeadFinderSubscriptionRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: sendGetLeadFinderSubscriptionRequestStatus,\n onSuccess: () => {\n const { slots } = sendGetLeadFinderSubscriptionResponse;\n\n setNumberOfSlotsUserWant(slots);\n },\n onFailed: () => {\n showGeneralErrorNotification(\n sendGetLeadFinderSubscriptionRequestError.message,\n );\n },\n });\n }, [sendGetLeadFinderSubscriptionRequestStatus]);\n\n useEffect(() => {\n if (\n sendGetLeadFinderSubscriptionRequestStatus === RequestStatus.Succeeded &&\n sendGetConnectedUsersAndEmailAccountsRequestStatus ===\n RequestStatus.Succeeded\n ) {\n const { slots, planCode } = sendGetLeadFinderSubscriptionResponse;\n const {\n totalUsers,\n totalEmailAccounts,\n } = sendGetConnectedUsersAndEmailAccountsRequestResponse;\n\n setNumberOfSlotsUserWant(slots);\n setMinimumNumberOfSlotsUserCanHave(\n totalUsers > totalEmailAccounts ? totalUsers : totalEmailAccounts,\n );\n\n const isUserSubscribed = getIsUserSubscribed(planCode);\n setIsModifySubscription(isUserSubscribed);\n }\n }, [\n sendGetConnectedUsersAndEmailAccountsRequestStatus,\n sendGetLeadFinderSubscriptionRequestStatus,\n ]);\n\n useEffect(() => {\n const { slots } = sendGetLeadFinderSubscriptionResponse;\n\n if (\n !isRedirectedFromEmailAccounts &&\n isUserModifyingSubscription &&\n (selectedPlanDetails?.action !== ModifyPlanAction.AddSlots ||\n (slots !== numberOfSlotsUserWant && numberOfSlotsUserWant !== 1))\n ) {\n const currentPlanId = getPlanId(\n sendGetLeadFinderPlansResponse,\n selectedPlanDetails?.displayName,\n selectedPlanDetails?.planCode,\n selectedPlanDetails?.planType,\n );\n\n sendGetCalculatePayRequest({\n slots: numberOfSlotsUserWant,\n accountSubscriptionPlanId:\n currentPlanId || sendGetLeadFinderSubscriptionResponse?.planId,\n });\n }\n }, [selectedPlanDetails]);\n\n // Debounce the calculate pay request when slots value change.\n const debouncedSave = useCallback(\n debounce(\n (slots, currentPlanId) =>\n sendGetCalculatePayRequest({\n slots,\n accountSubscriptionPlanId: currentPlanId,\n }),\n 500,\n ),\n [],\n );\n\n // Function to update the number of slots\n const onNumberOfSlotsChange = (value) => {\n // Get current plan id by filtering the plan array based on\n const currentPlanId = getPlanId(\n sendGetLeadFinderPlansResponse,\n selectedPlanDetails?.displayName ||\n sendGetLeadFinderSubscriptionResponse?.planName,\n selectedPlanDetails?.planCode,\n selectedPlanDetails?.planType,\n );\n\n setNumberOfSlotsUserWant(value);\n\n if (\n isUserModifyingSubscription &&\n !checkIsLtdPlan(sendGetLeadFinderSubscriptionResponse?.planType)\n ) {\n debouncedSave(\n value,\n currentPlanId || sendGetLeadFinderSubscriptionResponse?.planId,\n );\n }\n };\n\n // Function to make an api call after user payed the amount on stripe\n const onPurchase = (token) => {\n onPurchaseSubscription({\n isUserModifyingSubscription,\n token,\n numberOfSlotsUserWant: getNumberOfSlotsUserWant(\n numberOfSlotsUserWant,\n minimumNumberOfSlotsUserCanHave,\n ),\n selectedPlanDetails,\n couponCode,\n onPurchaseSubscriptionRequest: (payload) => {\n sendPurchaseLeadFinderSubscriptionRequest(payload);\n },\n onPurchaseModifySubscriptionRequest: (payload) => {\n sendPurchaseLeadFinderModifySubscriptionRequest(payload);\n },\n sendUpgradeLtdPlanRequest: (payload) => {\n sendUpgradeLtdPlanRequest(payload);\n },\n sendModifyLtdPlanRequest: (payload) => {\n sendModifyLtdPlanRequest(payload);\n },\n existingPlanCode: sendGetLeadFinderSubscriptionResponse?.planCode,\n existingSlots: sendGetLeadFinderSubscriptionResponse.slots,\n getCouponCodeResponse,\n });\n };\n\n // Set coupon code value\n const onCouponCodeChange = (value) => {\n setCouponCode(value);\n };\n\n // User has a promo code\n const userHasPromoCode = (value) => {\n setHavePromoCode(value);\n };\n\n const planName = getPlanName(\n planCycle,\n selectedPlanDetails?.displayName,\n selectedPlanDetails?.planCode,\n );\n\n return (\n <>\n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n \n );\n};\n\nexport default LeadFinderUpgradePlan;\n","import React, { useState, useEffect } from 'react';\nimport { useLocation } from 'react-router';\nimport { useTranslation } from 'react-i18next';\nimport SelectPlan from '../select-plan';\nimport ModifySubscriptionProgressBar from './components/modify-subscription-progress-bar';\nimport type { IProps } from './modify-lead-finder-subscription-container';\nimport { BillingOption } from '../../../../../../shared/utils/billing-options';\nimport { ModifySubscriptionSteps, SetPlanDetails } from './types';\nimport RadioButtonTransfer from '../../../../../../shared/design-system/components/atoms/radio-button-transfer';\nimport {\n billingOptions,\n gePlanCycleBasedOnPlanType,\n getHighlightMessage,\n getDisabledLabel,\n getDisabledTab,\n isBillingAndSubscriptionPageReady,\n isLeadFinderValueBasedPlanVisible,\n isLeadFinderColdEmailPlanBannerShow,\n} from './utils/helper';\nimport {\n ModifyPlanAction,\n PlanType,\n SubscriptionPlanModes,\n SubscriptionPlans,\n} from '../../../../../../shared/utils/subscription-plans';\nimport ImageIcon from '../../../../../../shared/components/images/image-icon';\nimport { Images } from '../../../../../../shared/app-constants';\nimport Spinner from '../../../../../../shared/design-system/components/atoms/custom-spinner';\nimport { getPlanMetaData } from '../select-plan/utils/get-plan-meta-data';\nimport {\n getPlanId,\n getPlanNameByPlanCycle,\n getPlanNameByPlanMode,\n} from '../upgrade-plan/utils/helper';\nimport { getPlanCode } from '../select-plan/utils/helper';\nimport PaymentFailed from '../upgrade-plan/payment-failed';\nimport { executeOnRequestStatus } from '../../../../../../shared/utils/execute-on-request-status';\nimport ColdEmailPlanExploreBanner from './components/cold-email-plan-explore-banner';\nimport { showGeneralErrorNotification } from '../../../../../../shared/utils/errors';\nimport LeadFinderPlans from '../lead-finder-plans';\nimport LeadFinderUpgradePlan from '../lead-finder-upgrade-plan';\n\nconst ModifyLeadFinderSubscription: React.FC = (containerProps) => {\n const { t } = useTranslation();\n const location = useLocation<{\n modifySubscriptionStep: ModifySubscriptionSteps;\n isRedirectedFromBillingOptions: boolean;\n isRedirectedFromEmailAccounts?: boolean;\n }>();\n\n // Select Plan\n const {\n selectPlan,\n selectedPlanDetails,\n sendGetCalculatePayRequest,\n sendGetLeadFinderSubscriptionResponse,\n sendGetLeadFinderPlansResponse,\n userCurrentPlan,\n sendPurchaseLeadFinderSubscriptionRequestStatus,\n sendPurchaseLeadFinderModifySubscriptionRequestStatus,\n resetPurchaseLeadFinderModifySubscriptionResponse,\n resetCalculatePayState,\n sendGetLeadFinderSubscriptionRequestStatus,\n sendGetLeadFinderPlansRequestStatus,\n leadFinderSubscriptionPlanStatus,\n } = containerProps;\n\n // States\n const [\n modifySubscriptionStep,\n setModifySubscriptionStep,\n ] = useState(ModifySubscriptionSteps.SelectPlan);\n const [planCycle, setPlanCycle] = useState(\n gePlanCycleBasedOnPlanType(\n sendGetLeadFinderSubscriptionResponse?.planCode,\n sendGetLeadFinderSubscriptionResponse?.planMode,\n ),\n );\n const [isPaymentFailed, setIsPaymentFailed] = useState(false);\n\n const setPlanDetails = ({\n planCode,\n planType,\n planMode,\n planName,\n action,\n }: SetPlanDetails) => {\n const {\n planName: currentPlanName,\n planMode: currentPlanMode,\n planAmount,\n planId,\n } = sendGetLeadFinderSubscriptionResponse || {};\n\n const getPlanName = getPlanNameByPlanMode(\n sendGetLeadFinderPlansResponse,\n planCode,\n planMode,\n );\n\n let modifyAction = action;\n\n if (\n currentPlanMode === SubscriptionPlanModes.MonthlyMode &&\n planCycle === BillingOption.ANNUALLY\n ) {\n modifyAction = ModifyPlanAction.Update;\n } else if (currentPlanName === planName) {\n modifyAction = ModifyPlanAction.AddSlots;\n resetCalculatePayState();\n }\n\n const { displayName, price } =\n getPlanMetaData(planCode, planCycle, planName || getPlanName) || {};\n\n selectPlan({\n displayName: displayName || planName,\n planId:\n getPlanId(\n sendGetLeadFinderPlansResponse,\n planName || getPlanName,\n planCode,\n planType,\n ) || planId,\n planPrice: price || Number(planAmount),\n planCode,\n planType,\n action: modifyAction,\n });\n };\n\n const handleModifySubscriptionStep = (step) =>\n setModifySubscriptionStep(step);\n\n const handelBillingOption = (value) => setPlanCycle(value);\n\n const handelSelectPlan = (\n planCode: SubscriptionPlans,\n planType: PlanType,\n planName,\n planMode: number,\n action,\n ) => {\n const planId = getPlanId(\n sendGetLeadFinderPlansResponse,\n planName,\n planCode,\n planType,\n );\n\n setPlanDetails({ planCode, planType, planMode, planName, action });\n handleModifySubscriptionStep(ModifySubscriptionSteps.SelectSlots);\n\n if (action === ModifyPlanAction.AddSlots) {\n resetCalculatePayState();\n }\n\n if (\n action !== ModifyPlanAction.AddSlots &&\n planCycle !== BillingOption.LIFETIME &&\n userCurrentPlan !== SubscriptionPlans.FREE &&\n userCurrentPlan !== SubscriptionPlans.TRIAL\n ) {\n sendGetCalculatePayRequest({\n accountSubscriptionPlanId: planId,\n slots: sendGetLeadFinderSubscriptionResponse?.slots,\n });\n }\n };\n\n const onPaymentFailed = () => {\n setIsPaymentFailed(true);\n };\n\n const onPaymentRetrieve = () => {\n setIsPaymentFailed(false);\n setModifySubscriptionStep(ModifySubscriptionSteps.SelectPlan);\n };\n\n useEffect(() => {\n const { modifySubscriptionStep: step } = location.state || {\n modifySubscriptionStep: null,\n };\n\n if (step) {\n resetCalculatePayState();\n setModifySubscriptionStep(step);\n }\n }, []);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: sendGetLeadFinderSubscriptionRequestStatus,\n onPending: () => {\n setIsPaymentFailed(false);\n },\n onSuccess: () => {\n if (sendGetLeadFinderSubscriptionResponse) {\n const { planCode, planName } = sendGetLeadFinderSubscriptionResponse;\n setPlanCycle(\n gePlanCycleBasedOnPlanType(\n sendGetLeadFinderSubscriptionResponse?.planCode,\n sendGetLeadFinderSubscriptionResponse?.planMode,\n ),\n );\n setPlanDetails({\n planCode,\n planName,\n action: ModifyPlanAction.AddSlots,\n });\n }\n },\n });\n }, [\n sendGetLeadFinderSubscriptionRequestStatus,\n sendGetLeadFinderPlansRequestStatus,\n ]);\n\n useEffect(() => {\n if (selectedPlanDetails && sendGetLeadFinderSubscriptionResponse) {\n const { planName, planCode } = sendGetLeadFinderSubscriptionResponse;\n setPlanDetails({\n planCode:\n planCode === SubscriptionPlans.PAID_MONTHLY ||\n planCode === SubscriptionPlans.PAID_YEARLY\n ? getPlanCode(planCycle)\n : planCode,\n planName: getPlanNameByPlanCycle(\n selectedPlanDetails.displayName || planName,\n planCycle,\n ),\n action: selectedPlanDetails.action,\n });\n }\n }, [planCycle]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: sendPurchaseLeadFinderSubscriptionRequestStatus,\n onFailed: () => {\n containerProps.hideLoading();\n onPaymentFailed();\n },\n });\n }, [sendPurchaseLeadFinderSubscriptionRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: sendPurchaseLeadFinderModifySubscriptionRequestStatus,\n onFailed: () => {\n containerProps.hideLoading();\n onPaymentFailed();\n resetPurchaseLeadFinderModifySubscriptionResponse();\n },\n });\n }, [sendPurchaseLeadFinderModifySubscriptionRequestStatus]);\n\n useEffect(() => {\n const {\n sendGetLeadFinderSubscriptionRequest,\n sendGetLeadFinderPlansRequest,\n sendGetConnectedUsersAndEmailAccountsRequest,\n } = containerProps;\n sendGetLeadFinderSubscriptionRequest();\n sendGetLeadFinderPlansRequest();\n sendGetConnectedUsersAndEmailAccountsRequest();\n }, []);\n\n const {\n sendGetConnectedUsersAndEmailAccountsRequestError,\n sendGetConnectedUsersAndEmailAccountsRequestStatus,\n resetConnectedUsersAndEmailAccountsRequest,\n } = containerProps;\n\n useEffect(() => {\n executeOnRequestStatus({\n status: sendGetConnectedUsersAndEmailAccountsRequestStatus,\n onSuccess: () => {\n resetConnectedUsersAndEmailAccountsRequest();\n },\n onFailed: () => {\n showGeneralErrorNotification(\n sendGetConnectedUsersAndEmailAccountsRequestError?.message,\n );\n resetConnectedUsersAndEmailAccountsRequest();\n },\n });\n }, [sendGetConnectedUsersAndEmailAccountsRequestStatus]);\n\n // Check it payment failed or not\n if (isPaymentFailed) {\n return onPaymentRetrieve()} />;\n }\n\n const isRequestPending = isBillingAndSubscriptionPageReady({\n sendGetLeadFinderSubscriptionRequestStatus,\n sendGetLeadFinderPlansRequestStatus,\n sendGetLeadFinderSubscriptionResponse,\n selectedPlanDetails,\n });\n\n const subscriptionStep = () =>\n modifySubscriptionStep === ModifySubscriptionSteps.SelectPlan ? (\n
    \n \n handelSelectPlan(planCode, planType, planName, planMode, action)\n }\n sendGetLeadFinderSubscriptionResponse={\n sendGetLeadFinderSubscriptionResponse\n }\n isLeadFinderPlans={true}\n sendGetLeadFinderPlansResponse={sendGetLeadFinderPlansResponse}\n />\n
    \n ) : (\n \n );\n\n if (isRequestPending) {\n return ;\n }\n\n if (\n isLeadFinderValueBasedPlanVisible(\n sendGetLeadFinderSubscriptionResponse?.planCode,\n sendGetLeadFinderSubscriptionResponse?.planType,\n leadFinderSubscriptionPlanStatus,\n )\n ) {\n return ;\n }\n\n return (\n <>\n
    \n {isLeadFinderColdEmailPlanBannerShow(\n sendGetLeadFinderSubscriptionResponse?.planCode,\n ) && }\n handleModifySubscriptionStep(step)}\n disabledStep={getDisabledTab(\n sendGetLeadFinderSubscriptionResponse?.planCode,\n sendGetLeadFinderSubscriptionResponse?.planType,\n )}\n />\n {planCycle !== BillingOption.LIFETIME && (\n
    \n
    \n \n {t(`messages.${getHighlightMessage(planCycle)}`)}\n \n
    \n \n
    \n
    \n \n
    \n )}\n
    \n {subscriptionStep()}\n \n );\n};\n\nexport default ModifyLeadFinderSubscription;\n","import { hideLoading, showLoading } from 'react-redux-loading-bar';\nimport { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../../../store/root-reducer';\nimport {\n getConnectedUsersAndEmailAccountsRequest,\n getLeadFinderSubscriptionRequest,\n getLeadFinderPlansRequest,\n purchaseLeadFinderSubscriptionRequest,\n applyCouponCodeRequest,\n modifySubscriptionRequest,\n purchaseLeadFinderModifySubscriptionRequest,\n calculatePayRequest,\n upgradePlanRequest,\n downgradePlanRequest,\n upgradeLtdPlanRequest,\n modifyLtdPlanRequest,\n} from '../../extra-actions';\nimport {\n PurchaseSubscriptionRequest,\n ApplyCouponCodeRequest,\n ModifySubscriptionRequest,\n PurchaseModifySubscriptionRequest,\n CalculatePayRequest,\n UpgradePlanRequest,\n DowngradePlanRequest,\n LTDUpgradePayload,\n LTDModifyPayload,\n} from '../../types';\nimport {\n deleteAppliedCouponCode,\n resetCalculatePayState,\n resetConnectedUsersAndEmailAccountsRequest,\n resetModifySubscriptionResponse,\n resetPurchaseLeadFinderModifySubscriptionResponse,\n selectPlan,\n} from '../../billing-subscription-slice';\nimport ModifyLeadFinderSubscription from './modify-lead-finder-subscription';\n\nconst mapStateToProps = (state: RootState) => ({\n sendGetLeadFinderSubscriptionRequestStatus:\n state.billingAndSubscription.getLeadFinderSubscriptionRequest.status,\n sendGetLeadFinderSubscriptionRequestError:\n state.billingAndSubscription.getLeadFinderSubscriptionRequest.error,\n sendGetLeadFinderPlansRequestStatus:\n state.billingAndSubscription.getLeadFinderPlansRequest.status,\n sendGetLeadFinderPlansRequestError:\n state.billingAndSubscription.getLeadFinderPlansRequest.error,\n sendPurchaseLeadFinderSubscriptionRequestStatus:\n state.billingAndSubscription.purchaseLeadFinderSubscriptionRequest.status,\n sendGetLeadFinderSubscriptionResponse:\n state.billingAndSubscription.getLeadFinderSubscriptionResponse,\n sendGetConnectedUsersAndEmailAccountsRequestStatus:\n state.billingAndSubscription.getConnectedUsersAndEmailAccountsRequest\n .status,\n sendGetConnectedUsersAndEmailAccountsRequestError:\n state.billingAndSubscription.getConnectedUsersAndEmailAccountsRequest.error,\n sendGetConnectedUsersAndEmailAccountsRequestResponse:\n state.billingAndSubscription.getConnectedUsersAndEmailAccountsResponse,\n sendApplyCouponCodeRequestStatus:\n state.billingAndSubscription.applyCouponCodeRequest.status,\n sendApplyCouponCodeRequestMessage:\n state.billingAndSubscription.applyCouponCodeRequest.message,\n sendApplyCouponCodeRequestError:\n state.billingAndSubscription.applyCouponCodeRequest.error,\n getCouponCodeResponse: state.billingAndSubscription.applyCouponCodeResponse,\n sendGetLeadFinderPlansResponse:\n state.billingAndSubscription.getLeadFinderPlansResponse,\n sendGetModifySubscriptionRequestStatus:\n state.billingAndSubscription.calculatePayRequest.status,\n sendPurchaseLeadFinderModifySubscriptionRequestStatus:\n state.billingAndSubscription.purchaseLeadFinderModifySubscriptionRequest\n .status,\n sendGetModifySubscriptionResponse:\n state.billingAndSubscription.modifySubscriptionResponse,\n sendGetCalculatePayResponse:\n state.billingAndSubscription.getCalculatePayResponse,\n selectedPlanDetails: state.billingAndSubscription.selectedPlanDetails,\n\n upgradeLtdPlanRequestStatus:\n state.billingAndSubscription.upgradeLtdPlanRequest.status,\n upgradeLtdPlanRequestError:\n state.billingAndSubscription.upgradeLtdPlanRequest.error,\n modifyLtdPlanRequestStatus:\n state.billingAndSubscription.modifyLtdPlanRequest.status,\n modifyLtdPlanRequestError:\n state.billingAndSubscription.modifyLtdPlanRequest.error,\n\n userCurrentPlan: state.home.subscription?.planCode,\n leadFinderSubscriptionPlanStatus: state.home?.leadFinderSubscription?.status,\n});\n\nconst mapDispatchToProps = {\n sendGetLeadFinderSubscriptionRequest: () =>\n getLeadFinderSubscriptionRequest(),\n sendGetLeadFinderPlansRequest: () => getLeadFinderPlansRequest(),\n sendPurchaseLeadFinderSubscriptionRequest: (\n payload: PurchaseSubscriptionRequest,\n ) => purchaseLeadFinderSubscriptionRequest(payload),\n sendApplyCouponCodeRequest: (payload: ApplyCouponCodeRequest) =>\n applyCouponCodeRequest(payload),\n sendGetConnectedUsersAndEmailAccountsRequest: () =>\n getConnectedUsersAndEmailAccountsRequest(),\n resetConnectedUsersAndEmailAccountsRequest: () =>\n resetConnectedUsersAndEmailAccountsRequest(),\n deleteAppliedCouponCode: () => deleteAppliedCouponCode(),\n sendModifySubscriptionRequest: (payload: ModifySubscriptionRequest) =>\n modifySubscriptionRequest(payload),\n sendPurchaseLeadFinderModifySubscriptionRequest: (\n payload: PurchaseModifySubscriptionRequest,\n ) => purchaseLeadFinderModifySubscriptionRequest(payload),\n resetModifySubscriptionResponse: () => resetModifySubscriptionResponse(),\n resetCalculatePayState: () => resetCalculatePayState(),\n resetPurchaseLeadFinderModifySubscriptionResponse: () =>\n resetPurchaseLeadFinderModifySubscriptionResponse(),\n sendGetCalculatePayRequest: (payload: CalculatePayRequest) =>\n calculatePayRequest(payload),\n sendUpgradePlanRequest: (payload: UpgradePlanRequest) =>\n upgradePlanRequest(payload),\n sendDowngradePlanRequest: (payload: DowngradePlanRequest) =>\n downgradePlanRequest(payload),\n selectPlan: (payload) => selectPlan(payload),\n hideLoading: () => hideLoading(),\n showLoading: () => showLoading(),\n\n sendUpgradeLtdPlanRequest: (payload: LTDUpgradePayload) =>\n upgradeLtdPlanRequest(payload),\n\n sendModifyLtdPlanRequest: (payload: LTDModifyPayload) =>\n modifyLtdPlanRequest(payload),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps;\n\nexport type LocationStateType = {\n isModifySubscription: boolean;\n};\n\nexport default connector(ModifyLeadFinderSubscription);\n","import React, { useEffect, useState } from 'react';\nimport { Col, Row } from 'react-bootstrap';\nimport { useParams } from 'react-router';\nimport { useTranslation } from 'react-i18next';\nimport { Button } from '@saleshandy/design-system';\nimport { Images } from '../../../../../../../../shared/app-constants';\nimport ShButton from '../../../../../../../../shared/design-system/components/atoms/button';\nimport { RequestStatus } from '../../../../../../../../shared/enums/request-status';\nimport { showGeneralErrorNotification } from '../../../../../../../../shared/utils/errors';\nimport ProspectListSearchBar from '../../../../../../../prospect/components/prospect-list/components/prospect-actions/components/prospect-list-search-bar';\nimport ProspectListTable from '../../../../../../../prospect/components/prospect-list/components/prospect-list-table';\nimport { getModalColumn } from '../../../../../../../prospect/components/prospect-list/components/prospect-list-table/helpers/prospect-column-data';\nimport AddToStepSelect from '../../../../../../shared/add-to-step-select';\nimport EmptyList from '../../../../../../../../shared/design-system/components/molecules/empty-list/empty-list';\nimport Modal from '../../../../../../../../shared/design-system/components/atoms/modal';\nimport type { IProps } from './search-and-add-modal-container';\nimport AddProspectForm from '../../../../../../../../shared/components/add-prospect-form';\nimport { constants } from '../../../../../../../../shared/enums/constants';\nimport { isFreePlan } from '../../../../../../../../shared/utils/plans';\nimport { Permissions } from '../../../../../../../../shared/utils/access-control/enums/permissions';\nimport planPermissionError from '../../../../../../../../shared/utils/errors/plan-permission-error';\nimport hasPermission from '../../../../../../../../shared/utils/access-control/has-permission';\n\nconst showHideLoadingBar = (\n status,\n showLoading,\n hideLoading,\n error,\n showGeneralErrorNotificationFunc,\n) => {\n if (status === RequestStatus.Pending) {\n showLoading();\n }\n if (status === RequestStatus.Succeeded) {\n hideLoading();\n }\n if (status === RequestStatus.Failed) {\n hideLoading();\n if (error) {\n showGeneralErrorNotificationFunc(error.message);\n }\n }\n};\n\nconst getProspectAttributes = (attributes) => {\n const tempData = {\n id: null,\n name: '',\n email: '',\n };\n const name = ['', ''];\n attributes.forEach((item) => {\n if (item.fieldRef.label === 'First Name') {\n name[0] = item.attributeValue;\n }\n if (item.fieldRef.label === 'Last Name') {\n name[1] = item.attributeValue;\n }\n if (item.fieldRef.label === 'Email') {\n tempData.email = item.attributeValue;\n }\n });\n return { tempData, name };\n};\n\nconst getSelectedProspects = (selectedProspects, rows, isSelect) => {\n let prospects;\n if (isSelect) {\n prospects = selectedProspects.concat(rows);\n return prospects;\n }\n prospects = selectedProspects.reduce((acc, item) => {\n let isPresent = false;\n rows.forEach(({ id }) => {\n if (id === item.id) {\n isPresent = true;\n }\n });\n if (isPresent) {\n return acc;\n }\n return [...acc, item];\n }, []);\n return prospects;\n};\nconst SearchAndAddModal: React.FC = ({\n getProspectRequestError,\n getProspectRequestStatus,\n prospects,\n sendGetProspectRequest,\n prospectCount,\n hideLoading,\n showLoading,\n resetProspect,\n sendGetProspectCountRequest,\n closeModal,\n showSearchAndAddModal,\n stepList,\n addToStepRequestError,\n addToStepRequestFailedCount,\n addToStepRequestStatus,\n addToStepRequestSuccessfulCount,\n addToStepRequestResultData,\n remainingProspectLimit,\n sendAddContactToStepRequest,\n onSubmit,\n showRestrictionErrorModal,\n sendGetSequenceStepsRequest,\n}) => {\n const { t } = useTranslation();\n const [searchString, setSearchString] = useState(null);\n const [paginationData, setPaginationData] = useState({\n pageNum: constants.DEFAULT_PAGE_NUM,\n pageSize: constants.DEFAULT_PAGE_SIZE,\n });\n const [selectedProspects, setSelectedProspects] = useState([]);\n const [selectedSteps, setSelectedStep] = useState(null);\n const [isAddProspectView, setIsAddProspectView] = useState(false);\n const { sequenceId } = useParams<{ sequenceId: string }>();\n\n useEffect(() => {\n sendGetProspectRequest({\n pageNum: constants.DEFAULT_PAGE_NUM,\n pageSize: constants.DEFAULT_PAGE_SIZE,\n });\n sendGetProspectCountRequest({});\n sendGetSequenceStepsRequest(Number(sequenceId));\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n useEffect(() => {\n showHideLoadingBar(\n getProspectRequestStatus,\n showLoading,\n hideLoading,\n getProspectRequestError,\n showGeneralErrorNotification,\n );\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [getProspectRequestStatus]);\n\n useEffect(() => {\n showHideLoadingBar(\n addToStepRequestStatus,\n showLoading,\n hideLoading,\n addToStepRequestError,\n showGeneralErrorNotification,\n );\n if (addToStepRequestStatus === RequestStatus.Succeeded) {\n // If the request is succeed send the data like successCount and failedCount\n // to the parent using callback and tell to close this modal and open the modal for report\n onSubmit({\n successful: addToStepRequestSuccessfulCount,\n failed: addToStepRequestFailedCount,\n resultData: addToStepRequestResultData,\n });\n }\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [addToStepRequestStatus]);\n\n useEffect(\n () => () => {\n resetProspect();\n },\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [],\n );\n\n useEffect(() => {\n const stepOptions = stepList.map((step) => ({\n ...step,\n key: step.id,\n }));\n if (stepOptions.length > 0) {\n setSelectedStep(\n stepOptions.reduce(\n (previousStep, currentStep) =>\n previousStep.number < currentStep.number\n ? previousStep\n : currentStep,\n stepOptions[0],\n ).key,\n );\n }\n }, [stepList]);\n\n // After user clicks the submit button send an API to the backend for adding the\n // selected contact to the list and also open the report for successful count and failed\n\n const stepOptions = stepList.map((step) => ({\n ...step,\n key: step.id,\n }));\n\n const changeProspectPagination = (paginationOptions) => {\n setPaginationData(paginationOptions);\n };\n\n const selectAllContact = (rows, isSelect: boolean) => {\n setSelectedProspects(\n getSelectedProspects(selectedProspects, rows, isSelect),\n );\n };\n\n const selectSingleContact = (row, isSelect) => {\n if (isSelect) {\n setSelectedProspects(selectedProspects.concat([row]));\n return;\n }\n setSelectedProspects(\n selectedProspects.filter((prospect) => prospect.id !== row.id),\n );\n };\n\n const addToSequenceStep = () => {\n if (isFreePlan() && !hasPermission(Permissions.SEQUENCE_PROSPECT_WRITE)) {\n const title = 'Please upgrade your plan to start adding prospects';\n const content = [\n 'Your account is downgraded to a free plan. Upgrade to paid plan to add prospects and resume email sending.',\n ];\n\n planPermissionError.showModal(title, content, true);\n return;\n }\n sendAddContactToStepRequest({\n contactIds: selectedProspects.map((item) => item.id),\n sequenceId,\n stepId: stepOptions.find((step) => step.key === selectedSteps).id,\n });\n };\n\n const handleAddProspectModal = () => {\n if (remainingProspectLimit === 0) {\n showRestrictionErrorModal();\n return;\n }\n\n setIsAddProspectView(!isAddProspectView);\n };\n\n const data = prospects.map(({ id, attributes }) => {\n const { tempData, name } = getProspectAttributes(attributes);\n tempData.id = id;\n tempData.name = name.join(' ');\n return tempData;\n });\n\n const ProspectNotFound = (\n <>\n {searchString === null ? (\n
    \n \n \n \n
    \n ) : (\n <>\n
    \n \n \n \n
    \n \n )}\n \n );\n\n const ProspectListTableOrEmptyData = (\n \n {prospects.length > 0 ? (\n \n ) : (\n ProspectNotFound\n )}\n \n );\n\n return (\n \n }\n extraModalProps={{\n centered: true,\n 'aria-labelledby': 'contained-modal-title-vcenter',\n }}\n >\n {!isAddProspectView ? (\n <>\n \n \n \n \n {prospects.length > 0 && (\n
    \n \n
    \n )}\n
    \n {ProspectListTableOrEmptyData}\n \n ) : (\n step.key === selectedSteps)?.id}\n onClose={handleAddProspectModal}\n shouldSendAddToContactStepRequest={true}\n content={\n \n }\n />\n )}\n \n );\n};\n\nexport default SearchAndAddModal;\n","/* eslint-disable @typescript-eslint/naming-convention */\nimport { connect, ConnectedProps } from 'react-redux';\nimport { hideLoading, showLoading } from 'react-redux-loading-bar';\nimport { RootState } from '../../../../../../../../store/root-reducer';\nimport {\n ProspectCountParams,\n ProspectParams,\n} from '../../../../../../../prospect/types';\nimport {\n addToStepModalRequest,\n getProspectCountRequestModal,\n getProspectRequestModal,\n getSequenceStepsRequest,\n} from '../../../../../../extra-actions';\nimport { resetProspectsForModal } from '../../../../../../sequence-slice';\nimport { AddToStepParams } from '../../../../../../types';\nimport SearchAndAddModalWrapper from './search-and-add-modal';\n\nexport type SelectContact = {\n status: boolean;\n id: number;\n};\n\nexport type updateProspectListType = {\n sendGetProspectRequest?: boolean;\n sendGetProspectCountRequest?: boolean;\n};\n\nconst mapStateToProps = (state: RootState) => ({\n getProspectRequestStatus: state.sequence.getProspectRequest.status,\n getProspectRequestError: state.sequence.getProspectRequest.error,\n getProspectCountRequestStatus: state.sequence.getProspectCountRequest.status,\n getProspectCountRequestError: state.sequence.getProspectCountRequest.error,\n addToStepRequestStatus: state.sequence.addToStepRequest.status,\n addToStepRequestError: state.sequence.addToStepRequest.error,\n addToStepRequestMessage: state.sequence.addToStepRequest.message,\n addToStepRequestFailedCount:\n state.sequence.addToSequenceResultFromModalCount.failed,\n addToStepRequestSuccessfulCount:\n state.sequence.addToSequenceResultFromModalCount.successful,\n addToStepRequestResultData:\n state.sequence.addToSequenceResultFromModalCount.resultData,\n\n prospectCount: state.sequence.prospectCount,\n prospects: state.sequence.prospects,\n stepList: state.sequence.steps || [],\n remainingProspectLimit: parseInt(\n state.home.getPostLoadMetaResponse?.accountUsageQuotaRemaining?.[\n 'PROSPECT.ADD'\n ],\n 10,\n ),\n});\n\nconst mapDispatchToProps = {\n sendGetProspectRequest: (params: ProspectParams) =>\n getProspectRequestModal(params),\n resetProspect: () => resetProspectsForModal(),\n showLoading: () => showLoading(),\n hideLoading: () => hideLoading(),\n sendGetProspectCountRequest: (params: ProspectCountParams) =>\n getProspectCountRequestModal(params),\n sendAddContactToStepRequest: (payload: AddToStepParams) =>\n addToStepModalRequest(payload),\n sendGetSequenceStepsRequest: (sequenceId: number) =>\n getSequenceStepsRequest(sequenceId),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n showSearchAndAddModal: boolean;\n closeModal: () => void;\n onSubmit: ({ successful, failed, resultData }) => void;\n showRestrictionErrorModal: () => void;\n};\n\nexport default connector(SearchAndAddModalWrapper);\n","import { SubscriptionPlans } from '../../../../../../shared/utils/subscription-plans';\n\nexport const isUserOnStarterPlan = (subscribedPlanType) =>\n subscribedPlanType === SubscriptionPlans.EMAIL_STARTER_MONTHLY ||\n subscribedPlanType === SubscriptionPlans.EMAIL_STARTER_YEARLY;\n","import React, { useState } from 'react';\nimport { useParams } from 'react-router';\nimport { Button } from '@saleshandy/design-system';\nimport UpgradePlanErrorModal from '../../../../../shared/components/upgrade-plan-error-modal';\nimport DropDownAtom from '../../../../../shared/design-system/components/atoms/dropdown';\nimport Icon from '../../../../../shared/design-system/components/atoms/icon/icon';\nimport AddToSequenceReportModal from '../../../../../shared/design-system/components/atoms/report-modal';\nimport WarningMessage from '../../../../../shared/design-system/components/atoms/warning-message';\nimport { ResourceIdentifiers } from '../../../../../shared/utils/access-control/enums/resource-identifiers';\nimport hasResource from '../../../../../shared/utils/access-control/has-resource';\nimport { accessibleOnClick } from '../../../../../shared/utils/accessible-on-click';\nimport ImportContactsModal from '../../../components/sequence-single-content/components/sequence-single-contacts/components/import-contacts-modal';\nimport SearchAndAddModalWrapper from '../../../components/sequence-single-content/components/sequence-single-contacts/components/search-and-add-modal';\nimport { SequenceButtonContactsProps } from './types';\nimport { isUserOnStarterPlan } from './utils/helper';\nimport {\n getRestrictionPlanModalBodyContent,\n getRestrictionPlanWarningEmailBody,\n} from '../../../../prospect/components/prospect-list/utils/helper';\nimport RestrictionErrorModal from '../../../../prospect/components/prospect-list/components/modals/restriction-error-modal';\nimport { getSequenceConfig } from '../../../helpers/sequence.api';\nimport { SequenceSettingCode } from '../../../enums';\nimport { riskyProspectWarningconstants } from '../../../components/sequence-single-content/components/sequence-single-contacts/components/email-verification/risky-prospect-constant';\nimport { reportConstants } from '../../../../../shared/design-system/components/atoms/report-page/constants/report-constants';\nimport { ProductTour } from '../../../../../shared/enums/product-tour';\nimport hasPermission from '../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../shared/utils/access-control/enums/permissions';\nimport { getProspectParams } from '../../../../prospect/helpers/prospect-filters-resolver';\nimport { ContactListParams } from '../../../types';\nimport { constants } from '../../../../../shared/enums/constants';\nimport { ProfileProgressSteps } from '../../../../../shared/types/user-setting';\nimport {\n isFreeArTrailPlan,\n isFreePlan,\n} from '../../../../../shared/utils/plans';\nimport planPermissionError from '../../../../../shared/utils/errors/plan-permission-error';\n\nconst AddContactsButton = ({\n isStepsListEmpty,\n fromModule,\n onTabChange,\n sendGetContactStatusCountRequest,\n sendGetSequenceContactListRequest,\n resetSequenceContacts,\n sendGetEmailVerificationCreditsRequest,\n subscriptionPlanType,\n remainingProspectLimit,\n sequenceProspectsFilters,\n setSequenceProspectsFilters,\n isDropDown = true,\n profileProgress,\n updateProfileProgressRequest,\n getSequenceStatsCountRequest,\n t,\n}: SequenceButtonContactsProps) => {\n const [showImportContactsModal, setShowImportContactsModal] = useState(false);\n const [showSearchAndAddModal, setShowSearchAndAddModal] = useState(false);\n const [showReportModal, setShowReportModal] = useState(false);\n const [\n { successful, failed, resultData },\n setSearchAndAddModalResult,\n ] = useState({\n successful: 0,\n failed: 0,\n resultData: null,\n });\n const { sequenceId } = useParams<{ sequenceId: string }>();\n\n const [showUpgradePlanErrorModal, setShowUpgradePlanErrorModal] = useState(\n false,\n );\n const [\n isRestrictionModalVisible,\n setIsRestrictionModalVisible,\n ] = useState(false);\n const [warning, setWarning] = useState('');\n\n //* Show Hide Restriction Error Modal\n const showRestrictionErrorModal = () => setIsRestrictionModalVisible(true);\n const hideRestrictionErrorModal = () => setIsRestrictionModalVisible(false);\n\n const callSequenceConfigApi = (seqId) =>\n getSequenceConfig(seqId)\n .then((configData) => configData)\n .catch((error) => {\n console.error('Error fetching config:', error);\n throw error;\n });\n\n const getRiskyWarning = async () => {\n if (fromModule.toString() === 'sequence') {\n try {\n const configData = await callSequenceConfigApi(sequenceId);\n const trackRiskyProspects =\n configData?.payload?.settings?.find(\n (setting) =>\n setting.code === SequenceSettingCode.TRACK_RISKY_PROSPECTS,\n )?.value === '1';\n\n if (trackRiskyProspects) {\n return riskyProspectWarningconstants.INCLUDE_RISKY_PROSPECT_IN_SEQUENCE;\n }\n return riskyProspectWarningconstants.NOT_INCLUDE_RISKY_PROSPECT_IN_SEQUENCE;\n } catch (error) {\n console.error('Error fetching config:', error);\n return riskyProspectWarningconstants.PROSPECT_DEFAULT_WARNING;\n }\n } else {\n return riskyProspectWarningconstants.PROSPECT_DEFAULT_WARNING;\n }\n };\n\n const fetchData = async () => {\n try {\n const riskyWarning = await getRiskyWarning();\n setWarning(riskyWarning);\n } catch (error) {\n console.error('Error fetching risky warning:', error);\n }\n };\n\n const onHandleDropdownClick = (option: string) => {\n if (isFreePlan()) {\n const title = 'Please upgrade your plan to start adding prospects';\n const content = [\n 'Your account is downgraded to a free plan. Upgrade to paid plan to add prospects and resume email sending.',\n ];\n\n planPermissionError.showModal(title, content, true);\n return;\n }\n\n switch (option) {\n case 'SEARCH':\n if (isUserOnStarterPlan(subscriptionPlanType)) {\n setShowUpgradePlanErrorModal(true);\n return;\n }\n\n hasResource(ResourceIdentifiers.SEQUENCES_CONTACTS_IMPORT) &&\n setShowSearchAndAddModal(true);\n break;\n case 'IMPORT':\n if (remainingProspectLimit === 0) {\n showRestrictionErrorModal();\n return;\n }\n if (isUserOnStarterPlan(subscriptionPlanType)) {\n setShowUpgradePlanErrorModal(true);\n return;\n }\n\n fetchData();\n hasResource(ResourceIdentifiers.SEQUENCES_CONTACTS_IMPORT) &&\n setShowImportContactsModal(true);\n sendGetEmailVerificationCreditsRequest();\n break;\n default:\n break;\n }\n };\n\n const options = [\n {\n listKey: 'IMPORT',\n icon: 'software-download',\n onClick: onHandleDropdownClick,\n listLabel: `Import via CSV`,\n opId: ProductTour.ImportViaCSV,\n },\n hasPermission(Permissions.PROSPECT_READ) && {\n listKey: 'SEARCH',\n icon: 'math-plus',\n onClick: onHandleDropdownClick,\n listLabel: `Search & Add`,\n },\n ].filter((opt) => opt);\n\n let addContactsButton = isDropDown ? (\n \n ) : (\n
    \n {options.map((option) => (\n option.onClick(option.listKey)}\n disabled={isStepsListEmpty}\n >\n \n {option.listLabel}\n \n ))}\n
    \n );\n\n if (isStepsListEmpty) {\n addContactsButton = (\n <>\n {addContactsButton}\n
    \n \n Create at-least 1 step to add prospects.\n \n

    \n \n Go to{' '}\n onTabChange('steps'))}>\n Steps\n \n \n

    \n \n );\n }\n\n const closeShowSearchAndAddModal = () => {\n setShowSearchAndAddModal(false);\n };\n\n const addProspectStepForGettingStarted = () => {\n if (profileProgress) {\n const addProspectStep = profileProgress.find(\n (step) =>\n step.profileProgressStep.stepName ===\n ProfileProgressSteps.AddProspects,\n );\n if (!addProspectStep.isCompleted) {\n updateProfileProgressRequest({\n step: ProfileProgressSteps.AddProspects,\n isCompleted: true,\n });\n }\n }\n };\n\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const onSearchAndAdd = ({ successful, failed, resultData }) => {\n closeShowSearchAndAddModal();\n setShowReportModal(true);\n setSearchAndAddModalResult({ successful, failed, resultData });\n\n addProspectStepForGettingStarted();\n getSequenceStatsCountRequest(Number(sequenceId));\n };\n\n const hideReportModal = () => {\n setShowReportModal(false);\n resetSequenceContacts();\n\n const filters = {\n ...sequenceProspectsFilters,\n status: sequenceProspectsFilters.status.filter(\n (item) => !item?.isHeaderFilter,\n ),\n };\n\n setSequenceProspectsFilters(filters);\n\n const payload = getProspectParams(\n {\n pageNum: constants.DEFAULT_PAGE_NUM,\n pageSize: constants.DEFAULT_PAGE_SIZE,\n },\n filters,\n );\n sendGetSequenceContactListRequest(sequenceId, payload as ContactListParams);\n sendGetContactStatusCountRequest(sequenceId, payload as ContactListParams);\n };\n\n const unsubscribeWarningOption = (\n \n );\n\n const reportDataStructure = {\n heading: reportConstants.ADD_PROSPECT_HEADING,\n sections: [\n {\n topic: reportConstants.SUCCESSFULLY_MOVED,\n value: successful,\n icon: ,\n },\n {\n topic: reportConstants.FAILED_TO_MOVE,\n value: failed,\n icon: ,\n },\n ],\n reportData: {\n failedResultData: resultData,\n },\n };\n\n return (\n <>\n
    {addContactsButton}
    \n {showImportContactsModal && (\n setShowImportContactsModal(false)}\n fromModule={fromModule}\n />\n )}\n {showSearchAndAddModal && (\n \n )}\n {showReportModal && (\n <>\n \n \n )}\n {showUpgradePlanErrorModal && (\n setShowUpgradePlanErrorModal(false)}\n planName=\"starter\"\n restrictionOn=\"prospect\"\n />\n )}\n\n {isRestrictionModalVisible && (\n \n )}\n \n );\n};\n\nexport default AddContactsButton;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { withTranslation } from 'react-i18next';\nimport { ReactNode } from 'react';\nimport { RootState } from '../../../../../store/root-reducer';\nimport AddContactsButton from './add-contact-button';\nimport { SHModules } from '../../../../../shared/enums/module';\nimport {\n getContactStatusCountRequest,\n getSequenceContactListRequest,\n getSequenceStatsCountsRequest,\n} from '../../../extra-actions';\nimport { ContactListParams } from '../../../types';\nimport {\n resetContacts,\n setSequenceProspectsFilters,\n} from '../../../sequence-slice';\nimport { getEmailVerificationCreditsRequest } from '../../../../settings/components/billing-subscription/extra-actions';\nimport { ProspectsFilters } from '../../../../../shared/types/prospects-filters';\nimport { UpdateProfileProgressPayload } from '../../../../../shared/types/user-setting';\nimport { updateProfileProgressRequest } from '../../../../home/home-slice';\n\nconst mapStateToProps = (state: RootState) => ({\n isStepsListEmpty: state.sequence.sequence.steps.length === 0,\n subscriptionPlanType: state.home.subscription?.planCode,\n remainingProspectLimit: parseInt(\n state.home.getPostLoadMetaResponse?.accountUsageQuotaRemaining?.[\n 'PROSPECT.ADD'\n ],\n 10,\n ),\n sequenceProspectsFilters: state.sequence.sequenceProspectsFilters,\n profileProgress: state.home.profileProgress,\n});\n\nconst mapDispatchToProps = {\n sendGetContactStatusCountRequest: (\n sequenceId: string,\n params: ContactListParams,\n ) => getContactStatusCountRequest({ sequenceId, ...params }),\n sendGetSequenceContactListRequest: (\n sequenceId: string,\n params: ContactListParams,\n ) =>\n getSequenceContactListRequest({\n sequenceId,\n ...params,\n }),\n resetSequenceContacts: () => resetContacts(),\n sendGetEmailVerificationCreditsRequest: () =>\n getEmailVerificationCreditsRequest(),\n\n setSequenceProspectsFilters: (filters: ProspectsFilters) =>\n setSequenceProspectsFilters(filters),\n\n updateProfileProgressRequest: (payload: UpdateProfileProgressPayload) =>\n updateProfileProgressRequest(payload),\n getSequenceStatsCountRequest: (sequenceId: number) =>\n getSequenceStatsCountsRequest(sequenceId),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type SequenceButtonContactsProps = ConnectedProps & {\n fromModule: SHModules;\n onTabChange?: (tab: string) => void;\n isDropDown?: boolean;\n t: (x: string) => ReactNode;\n};\n\nexport default withTranslation()(connector(AddContactsButton));\n","import { Permissions } from '../../utils/access-control/enums/permissions';\nimport hasPermission from '../../utils/access-control/has-permission';\n\nexport const getPlanExpiredDescriptionMessage = ({\n t,\n planTransitionDetails,\n isPlanDowngradedFromPaid,\n}) => {\n const isPlanDowngradedFromPaidPlan =\n planTransitionDetails !== null &&\n isPlanDowngradedFromPaid(planTransitionDetails);\n\n if (hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)) {\n if (isPlanDowngradedFromPaidPlan) {\n return t('messages.paid_plan_expired_message');\n }\n return t('messages.admin_block_page_message');\n }\n return t('messages.member_block_page_message');\n};\n","import React from 'react';\nimport { Button } from '@saleshandy/design-system';\nimport { useTranslation } from 'react-i18next';\nimport { Images } from '../../app-constants';\nimport EmptyList from '../../design-system/components/molecules/empty-list/empty-list';\n\nimport history from '../../history';\nimport { contactAdmin } from '../../utils/contact-admin';\nimport {\n isPlanDowngraded,\n isPlanDowngradedFromPaid,\n} from '../../../components/home/utils/plan-transition';\nimport type { IProps } from './block-page-container';\nimport hasPermission from '../../utils/access-control/has-permission';\nimport { Permissions } from '../../utils/access-control/enums/permissions';\n\nimport { TrialExtendSource } from '../../enums/trial-extend-source';\nimport { getIsRequestPending } from '../../utils/get-request-status';\n\nimport { getPlanExpiredDescriptionMessage } from './helper';\nimport { Routes } from '../../routes';\n\nconst BlockPage: React.FC = ({\n redirectURL = '/sequence',\n firstName,\n planTransitionDetails,\n isEligibleToExtendTrial,\n sendExtendTrialPeriodRequest,\n extendTrialPeriodRequestStatus,\n}) => {\n const { t } = useTranslation();\n\n if (\n planTransitionDetails !== null &&\n !isPlanDowngraded(planTransitionDetails)\n ) {\n history.push(redirectURL);\n }\n\n const onButtonClick = () => {\n const emailBody = `Hey ${firstName}, %0D%0A %0D%0A ${t(\n 'messages.upgrade_to_pro_email_body',\n )}`;\n\n if (hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)) {\n history.push(Routes.Setting_Billing_Upgrade_Email_Outreach_Plan);\n } else {\n contactAdmin(t('labels.upgrade_to_saleshandy_pro_email_sub'), emailBody);\n }\n };\n\n const onTrialExtended = () => {\n if (isEligibleToExtendTrial) {\n sendExtendTrialPeriodRequest(TrialExtendSource.Webapp);\n }\n };\n\n return (\n
    \n \n \n {isEligibleToExtendTrial &&\n hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ) && (\n \n Extend your trial\n \n )}\n \n
    \n );\n};\n\nexport default BlockPage;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { extendTrialPeriodRequest } from '../../../components/home/extra-actions';\nimport { RootState } from '../../../store/root-reducer';\nimport { TrialExtendSource } from '../../enums/trial-extend-source';\nimport BlockPage from './block-page';\n\nconst mapStateToProps = (state: RootState) => ({\n firstName: state.home.adminDetails?.firstName,\n planTransitionDetails: state.home.subscription?.planTransitionDetails,\n\n isEligibleToExtendTrial: state.home.isEligibleToExtendTrial,\n\n extendTrialPeriodRequestStatus: state.home.extendTrialPeriodRequest.status,\n});\n\nconst mapDispatchToProps = {\n sendExtendTrialPeriodRequest: (source: TrialExtendSource) =>\n extendTrialPeriodRequest(source),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n redirectURL?: string;\n};\n\nexport default connector(BlockPage);\n","import React from 'react';\nimport { RawPopover, RawPopoverProps } from '../popover';\n\nexport type RawPopoverConfirmProps = Omit & {\n footer: React.ReactNode;\n};\n\nexport const RawPopoverConfirm = React.forwardRef<\n HTMLDivElement,\n RawPopoverConfirmProps\n>(({ content: _content, footer, ...rest }, ref) => {\n const content = (\n
    \n
    \n
    \n \n
    \n
    {_content}
    \n
    \n
    {footer}
    \n
    \n );\n return ;\n});\n","import React, { useEffect } from 'react';\nimport {\n RawPopoverConfirm,\n RawPopoverConfirmProps,\n} from './raw-popover-confirm';\nimport { RepositionOnChange } from '../types';\nimport classNames from 'classnames';\n\nexport type PopoverConfirmProps = RawPopoverConfirmProps & RepositionOnChange;\n\nexport const PopoverConfirm = React.forwardRef<\n HTMLDivElement,\n PopoverConfirmProps\n>(\n (\n { popper, content, footer, rePositionOnChange, className, ...rest },\n ref,\n ) => {\n useEffect(() => {\n rePositionOnChange && popper.scheduleUpdate();\n }, [content, footer, popper, rePositionOnChange]);\n\n return (\n \n );\n },\n);\n\nPopoverConfirm.defaultProps = {\n rePositionOnChange: false,\n};\n","import React, { useState } from 'react';\nimport { Overlay, OverlayProps } from '../overlay';\nimport { PopoverConfirm, PopoverConfirmProps } from './popover-confirm';\nimport { Placement, TriggerType } from '../enums';\nimport { generatePopoverConfirmId } from '../helpers';\n\ntype OverlayPopoverConfirmProps = Omit &\n Partial> &\n Pick<\n PopoverConfirmProps,\n 'content' | 'footer' | 'rePositionOnChange' | 'className'\n >;\n\nexport const OverlayPopoverConfirm: React.FC = ({\n id: _id,\n placement,\n trigger,\n content,\n footer,\n rePositionOnChange,\n className,\n children,\n ...rest\n}) => {\n const [id] = useState(_id || generatePopoverConfirmId());\n const popoverConfirm = (\n \n );\n return (\n \n {children}\n \n );\n};\n\nOverlayPopoverConfirm.defaultProps = {\n placement: Placement.Right,\n trigger: TriggerType.Click,\n};\n","/* eslint-disable no-underscore-dangle */\n/* eslint-disable @typescript-eslint/naming-convention */\nimport React, { useMemo, useState, useEffect } from 'react';\nimport { map } from 'lodash';\nimport { withTranslation } from 'react-i18next';\nimport Modal from '../../../../../../../shared/design-system/components/atoms/modal';\nimport SHTag from '../../../../../../../shared/components/images/sh-tag';\nimport TagAutoSuggest from '../../../../../../../shared/design-system/components/molecules/tag-autosuggest';\n\nimport {\n AddTagsToProspectsPayload,\n RemoveTagsFromProspectsPayload,\n} from '../../../../../types';\nimport type { IProps } from './tags-modal-container';\nimport { RenderMode } from '../../../../../../../shared/design-system/components/molecules/tag-autosuggest/tag-autosuggest';\nimport { getAppliedSequenceProspectsFilters } from '../../../../../../sequence/components/sequence-single-content/components/sequence-single-contacts/components/contact-list-content/helper';\n\nconst TagsModal: React.FC = ({\n show,\n onHide,\n selectedProspects,\n setResetSelected,\n tags,\n addTagsToProspectsRequest,\n removeTagsFromProspectsRequest,\n selectedAllProspects,\n sendGetTagsRequest,\n t,\n sequenceId,\n sequenceProspectsFilters,\n search,\n selectedAllSequenceProspects,\n setTagsActions,\n sendSequenceProspectBulkTagAssignRequest,\n sendSequenceProspectBulkTagUnAssignRequest,\n\n onAddTagsToProspects = null,\n onRemoveTagsFromProspects = null,\n\n showAllTags = false,\n}) => {\n const [tagsToRemove, setTagsToRemove] = useState([]);\n const [tagsToAdd, setTagsToAdd] = useState([]);\n\n /**\n * Map of tags to selected prospects.\n */\n const tagsToProspects = useMemo(() => {\n const _tagsToProspects = {};\n\n selectedProspects.forEach((prospect) => {\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { tags } = prospect;\n if (tags && tags.length) {\n tags.forEach(({ id }) => {\n if (\n _tagsToProspects[id] &&\n !_tagsToProspects[id].includes(prospect.id)\n ) {\n _tagsToProspects[id].push(prospect.id);\n } else {\n _tagsToProspects[id] = [prospect.id];\n }\n });\n }\n });\n\n return _tagsToProspects;\n }, [selectedProspects]);\n\n const addTagsToProspects = () => {\n const payload: AddTagsToProspectsPayload = {\n prospects: map(selectedProspects, 'id'),\n ids: [],\n newTags: [],\n };\n\n tagsToAdd.forEach((tag) => {\n if (tag.isNew) {\n payload.newTags.push(tag.name);\n } else {\n payload.ids.push(tag.id);\n }\n });\n\n if (onAddTagsToProspects) {\n onAddTagsToProspects(payload.ids, payload.newTags);\n return;\n }\n\n if (selectedAllSequenceProspects?.isAllProspectsSelected) {\n sendSequenceProspectBulkTagAssignRequest({\n sequenceId,\n ids: payload.ids,\n newTags: payload.newTags,\n contactsFilter: getAppliedSequenceProspectsFilters(\n sequenceProspectsFilters,\n search,\n ),\n deSelectedContactIds:\n selectedAllSequenceProspects?.deSelectedContactIds || [],\n });\n } else {\n addTagsToProspectsRequest(payload);\n }\n };\n\n const removeTagsFromProspects = () => {\n const payload: RemoveTagsFromProspectsPayload = [];\n const tagIds: number[] = [];\n\n tagsToRemove.forEach((id) => {\n tagIds.push(id);\n payload.push({\n tagId: id,\n prospects: tagsToProspects[id],\n });\n });\n\n if (onRemoveTagsFromProspects) {\n onRemoveTagsFromProspects(tagIds, payload);\n return;\n }\n\n if (selectedAllSequenceProspects?.isAllProspectsSelected) {\n sendSequenceProspectBulkTagUnAssignRequest({\n sequenceId,\n tagIds,\n contactsFilter: getAppliedSequenceProspectsFilters(\n sequenceProspectsFilters,\n search,\n ),\n deSelectedContactIds:\n selectedAllSequenceProspects?.deSelectedContactIds || [],\n });\n } else {\n removeTagsFromProspectsRequest(payload);\n }\n };\n\n const onDone = () => {\n if (tagsToAdd.length || tagsToRemove.length) {\n tagsToAdd.length && addTagsToProspects();\n tagsToRemove.length && removeTagsFromProspects();\n setResetSelected && setResetSelected(true);\n\n if (setTagsActions) {\n setTagsActions({\n assign: tagsToAdd.length > 0,\n unassign: tagsToRemove.length > 0,\n });\n }\n }\n onHide();\n };\n\n useEffect(() => {\n if (show) {\n sendGetTagsRequest();\n }\n }, []);\n\n return (\n \n \n
    {t('messages.tags_title')}
    \n \n }\n onClose={onHide}\n onSubmit={onDone}\n showCloseIcon={true}\n submitButtonText={t('labels.done')}\n backdrop=\"static\"\n extraModalProps={{\n centered: true,\n }}\n >\n
    \n \n
    \n \n );\n};\n\nexport default withTranslation()(TagsModal);\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../../../../store/root-reducer';\nimport {\n addTagsToProspectsRequest,\n getProspectRequest,\n getTagsRequest,\n removeTagsFromProspectsRequest,\n} from '../../../../../extra-actions';\n// eslint-disable-next-line import/no-cycle\nimport TagModal from './tags-modal';\nimport {\n AddTagsToProspectsPayload,\n RemoveTagsFromProspectsPayload,\n ProspectParams,\n} from '../../../../../types';\nimport withProspectsFiltersAPI from '../../../../../helpers/withProspectsFiltersAPI';\nimport {\n SequenceProspectBulkTagAssignPayload,\n SequenceProspectBulkTagUnAssignPayload,\n} from '../../../../../../sequence/types';\nimport {\n sequenceProspectBulkTagAssignRequest,\n sequenceProspectBulkTagUnAssignRequest,\n} from '../../../../../../sequence/extra-actions';\nimport { ProspectsFilters } from '../../../../../../../shared/types/prospects-filters';\n\nconst mapStateToProps = (state: RootState) => ({\n tags: state.prospect.tags,\n selectedAllProspects: state.prospect.selectAllContactDetails,\n\n selectedAllSequenceProspects: state.sequence.selectAllContactDetails,\n});\n\nconst mapDispatchToProps = {\n sendGetTagsRequest: () => getTagsRequest(),\n\n addTagsToProspectsRequest: (payload: AddTagsToProspectsPayload) =>\n addTagsToProspectsRequest(payload),\n\n sendGetProspectRequest: (params: ProspectParams) =>\n getProspectRequest(params),\n\n removeTagsFromProspectsRequest: (payload: RemoveTagsFromProspectsPayload) =>\n removeTagsFromProspectsRequest(payload),\n\n sendSequenceProspectBulkTagAssignRequest: (\n payload: SequenceProspectBulkTagAssignPayload,\n ) => sequenceProspectBulkTagAssignRequest(payload),\n\n sendSequenceProspectBulkTagUnAssignRequest: (\n payload: SequenceProspectBulkTagUnAssignPayload,\n ) => sequenceProspectBulkTagUnAssignRequest(payload),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n show: boolean;\n onHide: () => void;\n selectedProspects: any[];\n setResetSelected?: (state: boolean) => void;\n t: (x: string) => React.ReactNode;\n sequenceId?: string;\n search?: string;\n sequenceProspectsFilters?: ProspectsFilters;\n setTagsActions?: (payload: { assign: boolean; unassign: boolean }) => void;\n\n onAddTagsToProspects?: (ids: number[], newTags: string[]) => void;\n onRemoveTagsFromProspects?: (\n tagIds: number[],\n tagsIdsProspectIdsMapping,\n ) => void;\n showAllTags?: boolean;\n};\n\nexport default connector(withProspectsFiltersAPI(TagModal));\n","import React, { useRef, useImperativeHandle } from 'react';\nimport classNames from 'classnames';\nimport Table from '../../../../../../shared/design-system/components/organisms/table';\nimport { PaginationShowHide } from '../../../../../../shared/design-system/components/organisms/table/types';\nimport {\n ProspectFilters,\n ProspectPagination,\n ProspectParams,\n SelectAllContacts,\n} from '../../../../types';\nimport ContactNameField from '../../../../../../shared/design-system/components/molecules/contact-name-field';\nimport { SortOrder } from '../../../../../sequence/enums';\n\ntype IProps = {\n changePagination: (params: ProspectPagination) => void;\n getProspectRequest: (params: ProspectParams) => void;\n prospectCount: number;\n prospectPaginationData: ProspectPagination;\n search: string;\n getProspectRequestStatus;\n selectAllContact: (rows: any, status: any) => void;\n selectSingleContact: (row, status) => void;\n resetSelected: boolean;\n column: any;\n data: any;\n selectedProspects?: any[];\n showNewPagination?: boolean;\n tableRef?: any;\n isAnyFilterApplied?: boolean;\n isProspectSelectBannerShow?: boolean;\n selectedAllProspects?: SelectAllContacts;\n pageHeaderBannerMessage?: string;\n isLoading?: boolean;\n viewShowProspectDetailsModal?: (id: number) => void;\n prospectFilters?: ProspectFilters;\n isRefreshClicked?: boolean;\n setOnRefresh?: (refresh: boolean) => void;\n verified?: boolean;\n};\n\nconst ProspectListTable: React.FC = ({\n changePagination,\n getProspectRequest,\n prospectCount,\n prospectPaginationData,\n search,\n selectAllContact,\n selectSingleContact,\n resetSelected,\n column,\n data,\n selectedProspects,\n showNewPagination = true,\n tableRef,\n isAnyFilterApplied,\n isProspectSelectBannerShow,\n selectedAllProspects,\n pageHeaderBannerMessage,\n isLoading,\n viewShowProspectDetailsModal,\n prospectFilters,\n isRefreshClicked,\n setOnRefresh,\n verified,\n}) => {\n const ref = useRef(null);\n\n const paginationChange = ({ page, limit }) => {\n changePagination({ pageNum: page - 1, pageSize: limit });\n const query: ProspectParams = {\n pageNum: page - 1,\n pageSize: limit,\n };\n if (prospectFilters && prospectFilters.sortBy) {\n query.sortBy = prospectFilters.sortBy;\n query.sortOrder = prospectFilters.sortOrder || SortOrder.Asc;\n }\n if (search) {\n query.search = search;\n }\n getProspectRequest(query);\n };\n\n const allSelected = (rows, isSelect: boolean) => {\n selectAllContact(rows, isSelect);\n };\n\n const singleSelected = (row, isSelect: boolean) => {\n selectSingleContact(row, isSelect);\n };\n\n useImperativeHandle(tableRef, () => ({\n resetSelectedRows() {\n ref.current?.resetSelectedRows();\n },\n selectAllCurrentPageRows() {\n ref.current?.selectAllCurrentPageRows();\n },\n }));\n\n const columnsWithHandleEngagementOnClick = column.map((col) => {\n if (col.dataField === 'fields' && showNewPagination) {\n return {\n ...col,\n component: (cell, row) => (\n viewShowProspectDetailsModal(row.id)}\n />\n ),\n };\n }\n\n return col;\n });\n\n return (\n singleSelected(row, isSelect)}\n onRowSelectAll={(rows, isSelect) => allSelected(rows, isSelect)}\n resetSelected={resetSelected}\n pagination={PaginationShowHide.SHOW}\n isNewPagination={showNewPagination}\n headerWrapperClasses=\"prospect-table-header\"\n bodyWrapperClasses=\"prospect-body-wrapper\"\n // eslint-disable-next-line no-return-assign\n tableRef={(refValue: any) => (ref.current = refValue)}\n deselectedRows={selectedAllProspects?.deSelectedContactIds}\n isLoading={isLoading}\n isRefreshClicked={isRefreshClicked}\n setOnRefresh={setOnRefresh}\n />\n );\n};\n\nexport default ProspectListTable;\n","import React, { useEffect, useState } from 'react';\nimport SearchInput from '../../../../../../../../shared/design-system/components/atoms/search-input';\nimport { constants } from '../../../../../../../../shared/enums/constants';\nimport {\n ProspectCountParams,\n ProspectPagination,\n ProspectParams,\n} from '../../../../../../types';\nimport { IconPlace } from '../../../../../../../../shared/design-system/components/input/enums';\n\ntype IProps = {\n sendGetProspectRequest: (params: ProspectParams) => void;\n sendGetProspectCountRequest: (params: ProspectCountParams) => void;\n saveSearch: (query: string) => void;\n changePagination: (params: ProspectPagination) => void;\n searchValue: string;\n};\n\nconst ProspectListSearchBar: React.FC = ({\n sendGetProspectRequest,\n sendGetProspectCountRequest,\n saveSearch,\n changePagination,\n searchValue,\n}) => {\n const [initialValue, setInitialValue] = useState('');\n\n const onSearchChangeHandler = (value: string) => {\n saveSearch(value);\n };\n\n const handleSubmit = () => {\n changePagination({\n pageNum: constants.DEFAULT_PAGE_NUM,\n pageSize: constants.DEFAULT_PAGE_SIZE,\n });\n sendGetProspectRequest({\n pageNum: constants.DEFAULT_PAGE_NUM,\n pageSize: constants.DEFAULT_PAGE_SIZE,\n search: searchValue,\n });\n sendGetProspectCountRequest({ search: searchValue });\n };\n\n const handleClearSearch = () => {\n changePagination({\n pageNum: constants.DEFAULT_PAGE_NUM,\n pageSize: constants.DEFAULT_PAGE_SIZE,\n });\n sendGetProspectRequest({\n pageNum: constants.DEFAULT_PAGE_NUM,\n pageSize: constants.DEFAULT_PAGE_SIZE,\n search: '',\n });\n sendGetProspectCountRequest({ search: '' });\n };\n\n useEffect(() => {\n if (searchValue !== '') {\n setInitialValue(searchValue);\n }\n }, []);\n\n return (\n
    \n \n
    \n );\n};\n\nexport default ProspectListSearchBar;\n","import React from 'react';\nimport { withTranslation } from 'react-i18next';\nimport { EmailAccountMethod } from '../../../components/email-accounts/enums/email-account';\nimport { Images } from '../../app-constants';\nimport Button from '../../design-system/components/atoms/button';\nimport Modal from '../../design-system/components/atoms/modal';\nimport { redirectWithoutRefresh } from '../../utils';\nimport { accessibleOnClick } from '../../utils/accessible-on-click';\nimport ImageIcon from '../images/image-icon';\nimport { IProps } from './types';\n\nconst ConnectEmailAccountModal: React.FC = ({\n skipConnectEmailAccount,\n sendConnectEmailAccountRequest,\n t,\n}) => {\n const title = t('messages.please_connect_email');\n const body = t('messages.adding_email_account');\n const handleConnectOnClick = (method: EmailAccountMethod) => {\n window.localStorage.setItem('onboarding-step-7', 'true');\n sendConnectEmailAccountRequest(method);\n };\n\n const onSmtpImapAccount = () => {\n redirectWithoutRefresh('/email-accounts/create?connect-smtp=true');\n };\n\n return (\n \n \n {t('labels.do_later')}\n \n \n }\n >\n
    \n

    \n {body || t('messages.connect_email_account_description')}\n

    \n
    \n
    {t('labels.select_email_service')}
    \n
    \n handleConnectOnClick(EmailAccountMethod.Gmail)}\n >\n \n \n Google\n \n \n {t('messages.google')}\n \n \n\n handleConnectOnClick(EmailAccountMethod.Microsoft)}\n >\n \n \n Microsoft\n \n \n {t('messages.microsoft')}\n \n \n \n
    \n Beta\n
    \n \n \n SMTP/IMAP\n \n \n {t('messages.smtp_imap')}\n \n \n
    \n
    \n {t('messages.dont_know_your_email_provider')}\n \n {t('labels.click_here')}.\n \n
    \n
    \n {t('messages.email_account_connect_note')}\n
    \n
    \n
    \n \n );\n};\n\nexport default withTranslation()(ConnectEmailAccountModal);\n","export * from './range-input';\nexport * from './types';\n","export * from './range-input';\nexport * from './types';\n","export enum DoNotContactListsSortBy {\n Total = 'total',\n ClientAssociated = 'client',\n UpdatedAt = 'updatedAt',\n}\n\nexport enum DoNoContactListApplicableTo {\n AllClients = 'all-clients',\n SpecificClient = 'specific-client',\n}\n\nexport enum DoNoContactValueType {\n ALL = 'all',\n EMAIL = 'email',\n DOMAIN = 'domain',\n}\n","import React, { useState } from 'react';\nimport { Button } from '@saleshandy/design-system';\nimport LinkBadge from '../../../../../../../../shared/design-system/components/atoms/link-badge';\nimport SearchInput from '../../../../../../../../shared/design-system/components/atoms/search-input';\nimport { IconPlace } from '../../../../../../../../shared/design-system/components/dropdown';\nimport { GlobalSettings } from '../../../../../../../../shared/components/global-settings-wrapper';\nimport {\n DoNotContactListsFilter,\n ModalActions,\n} from '../../../../../../types/do-not-contact-list';\nimport hasPermission from '../../../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../../../shared/utils/access-control/enums/permissions';\nimport { supportUrls } from '../../../../../../../../shared/utils/urls';\nimport { isWhitelabelWithoutClientView } from '../../../../../../../../shared/utils/user-details';\nimport { isInternalUrl } from '../../../../../../../../shared/utils/is-internal-url';\n\ntype IProps = {\n filters: DoNotContactListsFilter;\n onFiltersChange: (payload: Partial) => void;\n onAddList: (action: ModalActions) => void;\n isAgencyConfigRequestPending?: boolean;\n};\n\nconst DoNotContactListHeader: React.FC = ({\n filters,\n onFiltersChange,\n onAddList,\n isAgencyConfigRequestPending,\n}) => {\n const [search, setSearch] = useState(filters.search || '');\n\n const onSearch = () => {\n onFiltersChange({ search, page: 1 });\n };\n\n const onClearSearch = () => {\n setSearch('');\n onFiltersChange({ search: '', page: 1 });\n };\n\n return (\n \n \n \n {isWhitelabelWithoutClientView() &&\n (!isAgencyConfigRequestPending || isInternalUrl()) && (\n \n )}\n \n \n \n\n {hasPermission(Permissions.DNC_WRITE) && (\n \n )}\n \n \n );\n};\n\nexport default DoNotContactListHeader;\n","export enum FileConfig {\n MaxFileSizeInMB = 5,\n MaxRows = 10000,\n}\n\nexport const AllowedExtensions = ['csv'];\n\nexport const CSVFileValidationErrors = {\n ExtensionNotAvailable: `File extension is not available.`,\n TypeNotSupported: `The file type you are trying to upload is not supported.`,\n SizeExceeds: `File size exceeds the ${FileConfig.MaxFileSizeInMB} MB limit. Please upload a smaller file.`,\n OneRowRequired: `At least 1 row is required`,\n MaxRowsExceeds: `The CSV file exceeds 10,000 rows. Please upload a smaller file. `,\n};\n","import React from 'react';\nimport { DoNotContactList } from '../../../../../../../types/do-not-contact-list';\nimport TruncatedTextWithTooltip from '../../../../../../../../../shared/components/truncated-text-with-tooltip';\n\ntype IProps = {\n doNotContactList: DoNotContactList;\n};\n\nconst ListNameField: React.FC = ({ doNotContactList: { name } }) => (\n \n);\n\nexport default ListNameField;\n","import React from 'react';\nimport { DoNotContactList } from '../../../../../../../types/do-not-contact-list';\n\ntype IProps = {\n doNotContactList: DoNotContactList;\n};\n\nconst TotalFieldField: React.FC = ({ doNotContactList: { total } }) => (\n

    {total}

    \n);\n\nexport default TotalFieldField;\n","import React from 'react';\nimport { isEmpty } from 'lodash';\nimport { DoNotContactList } from '../../../../../../../types/do-not-contact-list';\nimport {\n OverlayTooltip,\n Placement,\n} from '../../../../../../../../../shared/design-system/components/overlay';\nimport { getClientName } from '../../../../../../../../agency-client-management/helpers/helpers';\n\ntype IProps = {\n doNotContactList: DoNotContactList;\n};\n\nconst ClientAssociatedField: React.FC = ({\n doNotContactList: { client },\n}) => {\n if (isEmpty(client)) {\n return

    All Clients (Global)

    ;\n }\n\n const clientRef = {\n id: client.id,\n firstName: client.firstName,\n lastName: client.lastName,\n email: client.email,\n companyName: client.companyName,\n status: client.status,\n };\n\n return (\n

    \n \n \n {getClientName(clientRef, 36, {\n company: true,\n })}\n \n \n

    \n );\n};\n\nexport default ClientAssociatedField;\n","import React from 'react';\nimport { Avatar } from '@saleshandy/design-system';\nimport { DoNotContactList } from '../../../../../../../types/do-not-contact-list';\nimport { OverlayTooltip } from '../../../../../../../../../shared/design-system/components/overlay';\n\ntype IProps = {\n doNotContactList: DoNotContactList;\n};\n\nconst AddedByField: React.FC = ({ doNotContactList: { addedBy } }) => {\n const [firstName = '', lastName = ''] = addedBy?.split(' ');\n return (\n
    \n \n \n \n
    \n );\n};\n\nexport default AddedByField;\n","import React from 'react';\nimport { DoNotContactList } from '../../../../../../../types/do-not-contact-list';\n\nimport { OverlayTooltip } from '../../../../../../../../../shared/design-system/components/overlay';\n\nimport { getUserTimeZone } from '../../../../../../../../../shared/utils/user-details';\nimport { getFormattedDate } from '../../../../../../users-and-teams/utils/get-formatted-date';\nimport { accessibleOnClick } from '../../../../../../../../../shared/utils/accessible-on-click';\n\nimport { Action } from '../../../../../../../../../shared/design-system/components/organisms/table/types';\nimport hasPermission from '../../../../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../../../../shared/utils/access-control/enums/permissions';\n\ntype ActionWithPermission = Action & {\n permission: string;\n};\n\ntype IProps = {\n doNotContactList: DoNotContactList;\n actions: ActionWithPermission[];\n onAction: (key: string, row: DoNotContactList) => void;\n};\n\nconst UpdatedAtField: React.FC = ({\n doNotContactList,\n actions,\n onAction,\n}) => {\n const userTimezone = getUserTimeZone();\n\n const updatedAtFiled = (\n
    \n {getFormattedDate(doNotContactList.lastUpdatedAt, userTimezone)}\n
    \n );\n\n if (\n hasPermission(Permissions.DNC_UPDATE) ||\n hasPermission(Permissions.DNC_DELETE)\n ) {\n return (\n
    \n
    {updatedAtFiled}
    \n
    \n {actions.map(\n (action) =>\n hasPermission(action.permission) && (\n \n \n onAction(action.key, doNotContactList),\n )}\n className=\"action-btn\"\n >\n {action.iconElement}\n
    \n \n ),\n )}\n
    \n \n );\n }\n\n return updatedAtFiled;\n};\n\nexport default UpdatedAtField;\n","import React from 'react';\nimport { Pencil, Trash } from '@saleshandy/icons';\nimport { SkeletonLoading } from '@saleshandy/design-system';\nimport { SortOrder } from 'react-bootstrap-table-next';\n\nimport { DoNotContactList } from '../../../../../../../types/do-not-contact-list';\nimport { DoNotContactListsSortBy } from '../../../../../../../enums/do-not-contact-list';\nimport { Column } from '../../../../../../../../../shared/design-system/components/organisms/table/types';\n\nimport ListNameField from '../fields/list-name-field';\nimport TotalField from '../fields/total-field';\nimport ClientAssociatedField from '../fields/client-associated-field';\nimport AddedByField from '../fields/added-by-field';\nimport UpdatedAtField from '../fields/updated-at-field';\nimport { Permissions } from '../../../../../../../../../shared/utils/access-control/enums/permissions';\nimport hasPermission from '../../../../../../../../../shared/utils/access-control/has-permission';\nimport { isAgency } from '../../../../../../../../../shared/utils/user-details';\n\ntype GetDoNotContactListColumns = {\n onSort: (sortBy: DoNotContactListsSortBy, order: SortOrder) => void;\n onAction: (key: string, doNotContactList: DoNotContactList) => void;\n isCellClickable: boolean;\n};\n\nconst actions = [\n {\n key: 'edit',\n iconElement: ,\n displayName: 'Modify',\n position: 'out',\n permission: Permissions.DNC_UPDATE,\n },\n {\n key: 'delete',\n iconElement: ,\n displayName: 'Delete',\n position: 'out',\n permission: Permissions.DNC_DELETE,\n },\n];\n\nexport const getDoNotContactListColumns = ({\n onSort,\n onAction,\n isCellClickable,\n}: GetDoNotContactListColumns): Column[] => {\n const cellClassName = isCellClickable ? 'cursor-pointer' : '';\n\n const isClientColVisible =\n hasPermission(Permissions.CLIENT_READ) && isAgency();\n\n const colWidth = {\n col1: isClientColVisible ? '30%' : '60.19%',\n col2: '5.77%',\n col3: '28.27%',\n col4: '5.77%',\n col5: isClientColVisible ? '16.35%' : '17.88%',\n };\n\n const getColWidth = (key: string) => ({\n minWidth: colWidth[key],\n width: colWidth[key],\n });\n\n return [\n {\n dataField: 'listName',\n text: 'List Name',\n headerAlign: 'start',\n cellClasses: `list-name-cell ${cellClassName}`,\n component: (_cell, row: DoNotContactList) => (\n \n ),\n headerStyle: () => getColWidth('col1'),\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: ,\n },\n {\n dataField: 'total',\n text: 'Total',\n headerAlign: 'start',\n cellClasses: `total-score-cell ${cellClassName}`,\n sort: true,\n onSort: (_field, order) => onSort(DoNotContactListsSortBy.Total, order),\n component: (_cell, row: DoNotContactList) => (\n \n ),\n headerStyle: () => getColWidth('col2'),\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: (\n \n ),\n },\n isClientColVisible && {\n dataField: 'client',\n text: 'Client Associated',\n headerAlign: 'start',\n cellClasses: `client-associated-cell ${cellClassName}`,\n sort: true,\n onSort: (_field, order) =>\n onSort(DoNotContactListsSortBy.ClientAssociated, order),\n component: (_cell, row: DoNotContactList) => (\n \n ),\n headerStyle: () => getColWidth('col3'),\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: (\n \n ),\n },\n {\n dataField: 'user',\n text: 'Added By',\n headerAlign: 'start',\n cellClasses: `added-by-cell ${cellClassName}`,\n component: (_cell, row: DoNotContactList) => (\n \n ),\n headerStyle: () => getColWidth('col4'),\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: (\n \n ),\n },\n {\n dataField: 'updatedAt',\n text: 'Updated At',\n headerAlign: 'start',\n cellClasses: 'updated-at-cell',\n component: (_cell, row: DoNotContactList) => (\n \n ),\n sort: false,\n onSort: () => null,\n isCellClickable: false,\n headerStyle: () => getColWidth('col5'),\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: (\n \n ),\n },\n ].filter((col) => col);\n};\n","import React from 'react';\nimport { SortOrder as ReactTableSortOrder } from 'react-bootstrap-table-next';\n\nimport type { IProps } from './types';\n\nimport Table from '../../../../../../../../shared/design-system/components/organisms/table';\nimport { PaginationShowHide } from '../../../../../../../../shared/design-system/components/organisms/table/types';\nimport { getDoNotContactListColumns } from './utils/get-do-not-contact-list-columns';\n\nimport { DoNotContactListsSortBy } from '../../../../../../enums/do-not-contact-list';\nimport { DoNotContactList } from '../../../../../../types/do-not-contact-list';\nimport history from '../../../../../../../../shared/history';\nimport { SortOrder } from '../../../../../../../../shared/enums/order';\nimport hasPermission from '../../../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../../../shared/utils/access-control/enums/permissions';\n\nconst DoNotContactListTable: React.FC = ({\n doNotContactLists,\n doNotContactListsPaginationOptions,\n filters,\n onFiltersChange,\n onAction,\n isLoading,\n}) => {\n // handle table pagination change\n const onPaginationOptionsChange = ({ page, limit }) => {\n if (filters.page === page && filters.limit === limit) {\n return;\n }\n onFiltersChange({ page, limit });\n };\n\n // handle table sorting\n const onSort = (key: DoNotContactListsSortBy, order: ReactTableSortOrder) => {\n const newFilters = {\n sortByKey: key,\n order: order === 'asc' ? SortOrder.ASC : SortOrder.DESC,\n };\n\n if (\n newFilters.sortByKey !== filters.sortByKey ||\n newFilters.order !== filters.order\n ) {\n onFiltersChange(newFilters);\n }\n };\n\n return (\n
    \n {\n history.push({\n pathname: `/settings/dnc-list/${row.id}`,\n state: {\n row,\n },\n });\n },\n })}\n isLoading={isLoading}\n pagination={PaginationShowHide.SHOW}\n isNewPagination={true}\n onPaginationOptionsChange={onPaginationOptionsChange}\n />\n
    \n );\n};\n\nexport default DoNotContactListTable;\n","import React from 'react';\n\nimport ConfirmationModalV3 from '../../../../../../../shared/design-system/components/atoms/confirmation-modal/confirmation-modal-v3';\nimport { ConfirmationModalIconType } from '../../../../../../../shared/design-system/components/atoms/confirmation-modal/enum';\n\ntype IProps = {\n show: boolean;\n title: string;\n contents: string[];\n isLoading: boolean;\n onHide: VoidFunction;\n onSubmit: VoidFunction;\n};\n\nconst DeleteDoNotContactList: React.FC = ({\n show,\n title = '',\n contents = [],\n isLoading,\n onHide,\n onSubmit,\n}) => (\n \n);\n\nexport default DeleteDoNotContactList;\n","import { Button } from '@saleshandy/design-system';\nimport React, { ReactElement } from 'react';\n\ntype IProps = {\n icon: ReactElement;\n title: string;\n desc?: string;\n btnLabel?: string;\n btnHandler?: VoidFunction;\n};\n\nconst DoNotContactListEmptyUI: React.FC = ({\n icon,\n title,\n desc,\n btnLabel,\n btnHandler,\n}) => (\n
    \n
    {icon}
    \n
    \n

    {title}

    \n {desc &&

    {desc}

    }\n
    \n {btnLabel && btnHandler && (\n \n )}\n
    \n);\n\nexport default DoNotContactListEmptyUI;\n","import { isEmpty } from 'lodash';\nimport validator from 'validator';\nimport {\n DoNotContactList,\n DoNotContactListMeta,\n ModalActions,\n} from '../../../../../types/do-not-contact-list';\nimport { DoNoContactListApplicableTo } from '../../../../../enums/do-not-contact-list';\nimport { AddModifyStateValues } from './types';\nimport { AgencyClientFilter } from '../../../../../../agency-client-management/types/types';\n\nexport const validate = (name: string, value: string): string => {\n switch (name) {\n case 'dncListName':\n if (validator.isEmpty(value)) {\n return 'List name is required.';\n }\n\n if (!validator.isLength(value, { min: 1, max: 100 })) {\n return 'Should be between 1-100 characters.';\n }\n\n return '';\n\n default:\n break;\n }\n\n return '';\n};\n\nconst isNameChanged = (stateValue: string, defaultValue: string) =>\n stateValue !== defaultValue;\n\nconst isGlobalList = (defaultList: DoNotContactList | DoNotContactListMeta) =>\n isEmpty(defaultList.client);\n\nconst isApplicableToChanged = (applicableTo: DoNoContactListApplicableTo) =>\n applicableTo === DoNoContactListApplicableTo.AllClients;\n\nconst isClientChanged = (stateClientId: number, defaultClientId: number) =>\n stateClientId !== defaultClientId;\n\nexport const shouldSaveButtonDisabled = (\n action: ModalActions,\n values: AddModifyStateValues,\n defaultDoNotContactList: DoNotContactList | DoNotContactListMeta,\n selectedClient: AgencyClientFilter,\n): boolean => {\n if (action === 'modify' && defaultDoNotContactList) {\n /**\n * list name value in default list object is 'XYZ',\n * but list name value in state variable is 'ABC',\n * then the list name value is changed,\n * so Save button should not be disabled.\n */\n if (isNameChanged(values.dncListName, defaultDoNotContactList.name)) {\n return false;\n }\n\n /**\n * list applicable value in default list object is 'All Clients',\n * but list applicable value in state variable is 'Specific Clients',\n * then the list applicable value is changed,\n * so Save button should not be disabled.\n */\n if (isGlobalList(defaultDoNotContactList)) {\n return !(\n values.applicableTo === DoNoContactListApplicableTo.SpecificClient\n );\n }\n\n /**\n * list applicable value in default list object is 'Specific Clients',\n * but list applicable value in state variable is 'All Clients',\n * then the list applicable value is changed,\n * so Save button should not be disabled.\n */\n if (isApplicableToChanged(values.applicableTo)) {\n return false;\n }\n\n /**\n * list applicable value in default list object & state variable is 'Specific Clients',\n * but client id value in default list object is 101,\n * and client id value in state variable is 201,\n * then the client id value is changed,\n * so Save button should not be disabled.\n */\n if (\n isClientChanged(selectedClient?.id, defaultDoNotContactList.client?.id)\n ) {\n return false;\n }\n\n return true;\n }\n\n return false;\n};\n","import React from 'react';\nimport { InfoCircle } from '@saleshandy/icons';\nimport hasPermission from '../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../shared/utils/access-control/enums/permissions';\n\nconst DNCListHelperText: Record = {\n AgencyOwnerGlobalList: (\n <>\n All prospects matching domains/emails from this list will be blacklisted\n in all sequences (including client’s sequences) and will not\n be contacted further.\n \n ),\n AgencyOwnerClientSpecificList: (\n <>\n All prospects matching domains/emails from this list will be blacklisted\n in all sequences of this client and will not be contacted\n further.\n \n ),\n NonAgencyUserList: (\n <>\n This DNC List will be applied to all the sequences\n \n ),\n AgencyClientOrNonAgencyUser: (\n <>\n All prospects matching domains/emails from this list will be blacklisted\n in all sequences and will not be contacted further.\n \n ),\n};\n\ntype GetListHelperTextParams = {\n isAgencyUser: boolean;\n isGlobalList: boolean;\n messageSpecificFor: 'list' | 'user';\n};\n\nexport const getListHelperText = ({\n isAgencyUser,\n isGlobalList,\n messageSpecificFor,\n}: GetListHelperTextParams): React.ReactNode => {\n // Case: Add/Modify List Modal\n if (messageSpecificFor === 'list') {\n if (isAgencyUser) {\n if (isGlobalList) {\n return DNCListHelperText.AgencyOwnerGlobalList;\n }\n return DNCListHelperText.AgencyOwnerClientSpecificList;\n }\n return DNCListHelperText.NonAgencyUserList;\n }\n\n // Case: Add Emails/Domains Input or Import via CSV\n if (messageSpecificFor === 'user') {\n if (isAgencyUser && hasPermission(Permissions.DNC_LIST_WRITE)) {\n if (isGlobalList) {\n return DNCListHelperText.AgencyOwnerGlobalList;\n }\n return DNCListHelperText.AgencyOwnerClientSpecificList;\n }\n return DNCListHelperText.AgencyClientOrNonAgencyUser;\n }\n\n return '';\n};\n","import React, { useEffect, useLayoutEffect, useState } from 'react';\nimport { FileX } from '@saleshandy/icons';\nimport { isEmpty } from 'lodash';\nimport classNames from 'classnames';\n\nimport Input from '../../../../../../../shared/design-system/components/input';\nimport Modal from '../../../../../../../shared/design-system/components/atoms/modal';\nimport RadioButtonGroup from '../../../../../../../shared/design-system/components/radio-button-group';\nimport AgencyClientDropdown from '../../../../../../agency-client-management/components/agency-client-dropdown';\n\nimport { DoNoContactListApplicableTo } from '../../../../../enums/do-not-contact-list';\n\nimport { shouldSaveButtonDisabled, validate } from './helper';\n\nimport {\n AddModifyProps,\n AddModifyStateValues,\n AddModifyStateErrors,\n AddModifyStateDirty,\n} from './types';\nimport { AgencyClientStatus } from '../../../../../../agency-client-management/enums/agency-client';\nimport { AgencyClientFilter } from '../../../../../../agency-client-management/types/types';\nimport { UpdateDoNotContactListPayload } from '../../../../../types/do-not-contact-list';\nimport { getClientName } from '../../../../../../agency-client-management/helpers/helpers';\nimport hasPermission from '../../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../../shared/utils/access-control/enums/permissions';\nimport { isAgency } from '../../../../../../../shared/utils/user-details';\nimport { getListHelperText } from '../../../helper/get-list-helper-text';\n\nconst AddModifyDoNotContactList: React.FC = ({\n show,\n action,\n defaultDoNotContactList,\n isLoading,\n onClose,\n onAddDoNotContactList,\n onUpdateDoNotContactList,\n\n agencyClients,\n sendGetAgencyClientsDropdownRequest,\n}) => {\n const [modalMeta, setModalMeta] = useState({\n title: 'Add List',\n submitButtonText: 'Add',\n });\n\n const [values, setValues] = useState({\n dncListName: '',\n applicableTo: DoNoContactListApplicableTo.AllClients,\n });\n\n const [errors, setErrors] = useState({\n dncListName: '',\n applicableTo: '',\n });\n\n const [dirty, setDirty] = useState({\n dncListName: false,\n applicableTo: true,\n });\n\n const [selectedClient, setSelectedClient] = useState({\n id: -1,\n firstName: '',\n lastName: '',\n email: '',\n companyName: '',\n status: AgencyClientStatus.Active,\n });\n\n const onInputChange = (\n value: string,\n e: React.ChangeEvent,\n ) => {\n e.preventDefault();\n\n const { name } = e.target;\n\n setValues({\n ...values,\n [name]: value,\n });\n\n setDirty({\n ...dirty,\n [name]: true,\n });\n\n if (errors[name]) {\n setErrors({\n ...errors,\n [name]: validate(name, value),\n });\n }\n };\n\n const onInputBlur = (e) => {\n const { name } = e.target;\n\n setErrors({\n ...errors,\n [name]: validate(name, values[name]),\n });\n };\n\n const onListApplicableToChange = (value: DoNoContactListApplicableTo) => {\n setValues({ ...values, applicableTo: value });\n };\n\n const handleSubmit = () => {\n const dirtyRef = { ...dirty };\n const dirtyKeys = Object.keys(dirtyRef);\n\n dirtyKeys.forEach((key) => {\n dirtyRef[key] = true;\n });\n\n const errorsRef = { ...errors };\n const errorsKeys = Object.keys(errorsRef);\n let isError = false;\n\n errorsKeys.forEach((key) => {\n const error = validate(key, values[key]);\n\n errorsRef[key] = error;\n isError = isError || !!error;\n });\n\n if (\n values.applicableTo === DoNoContactListApplicableTo.SpecificClient &&\n selectedClient.id === -1\n ) {\n isError = true;\n }\n\n setErrors(errorsRef);\n setDirty(dirtyRef);\n\n if (isError) {\n return;\n }\n\n if (action === 'add') {\n const isGlobalAssociation =\n values.applicableTo === DoNoContactListApplicableTo.AllClients;\n onAddDoNotContactList?.({\n dncListName: values.dncListName,\n isGlobalAssociation,\n ...(values.applicableTo ===\n DoNoContactListApplicableTo.SpecificClient && {\n clientId: selectedClient.id,\n }),\n });\n return;\n }\n\n if (action === 'modify') {\n const isGlobalAssociation =\n values.applicableTo === DoNoContactListApplicableTo.AllClients;\n\n let payload: UpdateDoNotContactListPayload = {\n id: defaultDoNotContactList.id,\n isGlobalAssociation,\n };\n\n if (defaultDoNotContactList.name !== values.dncListName) {\n payload = { ...payload, dncListName: values.dncListName };\n }\n\n if (\n !isGlobalAssociation &&\n defaultDoNotContactList?.client?.id !== selectedClient.id\n ) {\n payload = { ...payload, clientId: selectedClient.id };\n }\n\n onUpdateDoNotContactList(payload);\n }\n };\n\n const hasErrors = () => {\n let isError = false;\n\n Object.keys(errors).forEach((key) => {\n if (errors[key] !== '' || (action !== 'modify' && !dirty[key])) {\n isError = true;\n }\n });\n\n if (\n values.applicableTo === DoNoContactListApplicableTo.SpecificClient &&\n selectedClient.id === -1\n ) {\n isError = true;\n }\n\n return isError;\n };\n\n useLayoutEffect(() => {\n if (show && action === 'modify') {\n setModalMeta({\n title: 'Modify List',\n submitButtonText: 'Save',\n });\n }\n }, [show]);\n\n useEffect(() => {\n if (show && defaultDoNotContactList) {\n const isGlobalList = isEmpty(defaultDoNotContactList.client);\n setValues({\n dncListName: defaultDoNotContactList?.name,\n applicableTo: isGlobalList\n ? DoNoContactListApplicableTo.AllClients\n : DoNoContactListApplicableTo.SpecificClient,\n });\n\n if (!isGlobalList) {\n setSelectedClient(\n defaultDoNotContactList?.client as AgencyClientFilter,\n );\n }\n }\n }, [show, defaultDoNotContactList]);\n\n useEffect(() => {\n if (!show) {\n setModalMeta({\n title: 'Add List',\n submitButtonText: 'Add',\n });\n setValues({\n dncListName: '',\n applicableTo: DoNoContactListApplicableTo.AllClients,\n });\n setErrors({\n dncListName: '',\n applicableTo: '',\n });\n setDirty({\n dncListName: false,\n applicableTo: true,\n });\n setSelectedClient({\n id: -1,\n firstName: '',\n lastName: '',\n email: '',\n companyName: '',\n status: AgencyClientStatus.Active,\n });\n }\n }, [show]);\n\n useEffect(() => {\n if (show && hasPermission(Permissions.CLIENT_READ) && isAgency()) {\n sendGetAgencyClientsDropdownRequest({\n status: AgencyClientStatus.Active,\n search: '',\n });\n }\n }, [show]);\n\n const renderRadioButton = (title: string) => (\n
    \n

    {title}

    \n
    \n );\n\n const isAgencyUser = hasPermission(Permissions.CLIENT_READ) && isAgency();\n\n const helperAlertWarningClassname = classNames([\n 'helper-alert-warning-wrapper',\n {\n 'rounded-text-color': !isAgencyUser,\n },\n ]);\n\n return (\n \n
    \n
    \n \n
    {modalMeta.title}
    \n
    \n {\n e.preventDefault();\n handleSubmit();\n }}\n >\n \n\n {isAgencyUser && (\n <>\n
    \n

    Applicable to

    \n
    \n \n
    \n
    \n\n {values.applicableTo ===\n DoNoContactListApplicableTo.SpecificClient && (\n {\n if (option) {\n setSelectedClient(option);\n }\n }}\n optionRenderer={(option) => (\n
    \n \n {getClientName(option, 60, {\n company: true,\n email: true,\n deleted: true,\n })}\n \n
    \n )}\n disabled={false}\n />\n )}\n \n )}\n\n
    \n

    \n {getListHelperText({\n isAgencyUser,\n messageSpecificFor: 'list',\n isGlobalList:\n values.applicableTo ===\n DoNoContactListApplicableTo.AllClients,\n })}\n

    \n
    \n \n
    \n \n );\n};\n\nexport default AddModifyDoNotContactList;\n","import React, { useEffect, useState } from 'react';\nimport { useHistory } from 'react-router';\n\nimport type { IProps } from './do-not-contact-list-container';\nimport {\n AddModifyDoNotContactListModalState,\n DoNotContactList as DoNotContactListType,\n DoNotContactListsFilter,\n ModalActions,\n} from '../../../../types/do-not-contact-list';\n\nimport toaster from '../../../../../../shared/toaster';\n\nimport DoNotContactListHeader from './components/do-not-contact-list-header';\nimport DoNotContactListTable from './components/do-not-contact-list-table';\nimport DeleteDoNotContactList from '../modals/delete-do-not-contact-list';\nimport DoNotContactListEmptyUI from './components/do-not-contact-list-empty-ui';\n\nimport AddModifyDoNotContactList from '../modals/add-modify-do-not-contact-list';\n\nimport {\n executeOnErrorWithErrorCheck,\n executeOnRequestStatus,\n getIsRequestPending,\n SubscriptionPlans,\n} from '../../../../../../shared/utils';\nimport { DoNotContactListsSortBy } from '../../../../enums/do-not-contact-list';\nimport { SortOrder } from '../../../../../../shared/enums/order';\nimport { DNCEmptyList, NoDNCListFound } from '../../../../../../shared/svg';\nimport hasPermission from '../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../shared/utils/access-control/enums/permissions';\nimport store from '../../../../../../store';\nimport HeaderBanner from '../../../header-banner';\n\nconst DoNotContactList: React.FC = ({\n doNotContactLists,\n doNotContactListsPaginationOptions,\n\n getDoNotContactListsRequestStatus,\n showLoading,\n hideLoading,\n getDoNotContactListsRequestError,\n sendGetDoNotContactListsRequest,\n resetGetDoNotContactListsRequest,\n\n createDoNotContactListRequestStatus,\n createDoNotContactListRequestError,\n sendCreateDoNotContactListRequest,\n resetCreateDoNotContactListRequest,\n createdDoNotContactListId,\n resetCreatedDoNotContactListId,\n\n updateDoNotContactListRequestStatus,\n updateDoNotContactListRequestError,\n sendUpdateDoNotContactListRequest,\n resetUpdateDoNotContactListRequest,\n\n deleteDoNotContactListRequestStatus,\n deleteDoNotContactListRequestError,\n sendDeleteDoNotContactListRequest,\n resetDeleteDoNotContactListRequest,\n\n agencyClients,\n sendGetAgencyClientsDropdownRequest,\n agencyConfigRequestStatus,\n}) => {\n const history = useHistory();\n\n const [filters, setFilters] = useState({\n page: 1,\n limit: 25,\n search: '',\n sortByKey: DoNotContactListsSortBy.UpdatedAt,\n order: SortOrder.DESC,\n });\n\n const [\n selectedDoNotContactList,\n setSelectedDoNotContactList,\n ] = useState(null);\n\n const [\n addModifyDoNotContactListModalState,\n setAddModifyDoNotContactListModalState,\n ] = useState({\n show: false,\n action: 'add',\n });\n\n const [\n deleteDoNotContactListModal,\n setDeleteDoNotContactListModal,\n ] = useState(false);\n\n const onShowAddModifyDoNotContactListModal = (action: ModalActions) => {\n setAddModifyDoNotContactListModalState({\n show: true,\n action,\n });\n };\n\n const onHideAddModifyDoNotContactListModal = () => {\n setAddModifyDoNotContactListModalState({\n show: false,\n action: 'add',\n });\n setSelectedDoNotContactList(null);\n };\n\n const onShowDeleteDoNotContactListModal = () => {\n setDeleteDoNotContactListModal(true);\n };\n\n const onHideDeleteDoNotContactListModal = () => {\n setDeleteDoNotContactListModal(false);\n setSelectedDoNotContactList(null);\n };\n\n const onFiltersChange = (\n partialFilters: Partial,\n ) => {\n const updatedFilters = {\n ...filters,\n ...partialFilters,\n };\n\n setFilters(updatedFilters);\n sendGetDoNotContactListsRequest(updatedFilters);\n };\n\n const onAction = (key: string, doNotContactList: DoNotContactListType) => {\n if (key === 'edit') {\n onShowAddModifyDoNotContactListModal('modify');\n setSelectedDoNotContactList(doNotContactList);\n return;\n }\n if (key === 'delete') {\n onShowDeleteDoNotContactListModal();\n setSelectedDoNotContactList(doNotContactList);\n }\n };\n\n const onDeleteDoNotContactList = () => {\n sendDeleteDoNotContactListRequest(selectedDoNotContactList.id);\n };\n\n useEffect(() => {\n sendGetDoNotContactListsRequest(filters);\n }, []);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getDoNotContactListsRequestStatus,\n onPending: () => {\n showLoading();\n },\n onSuccess: () => {\n hideLoading();\n resetGetDoNotContactListsRequest();\n },\n onFailed: () => {\n resetGetDoNotContactListsRequest();\n executeOnErrorWithErrorCheck({\n error: getDoNotContactListsRequestError,\n onError: () => {\n toaster.error(getDoNotContactListsRequestError?.message);\n },\n });\n },\n });\n }, [getDoNotContactListsRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: createDoNotContactListRequestStatus,\n onSuccess: () => {\n toaster.success('List added successfully');\n history.push({\n pathname: `/settings/dnc-list/${createdDoNotContactListId}`,\n state: {\n row: null,\n },\n });\n resetCreateDoNotContactListRequest();\n resetCreatedDoNotContactListId();\n },\n onFailed: () => {\n resetCreateDoNotContactListRequest();\n executeOnErrorWithErrorCheck({\n error: createDoNotContactListRequestError,\n onError: () => {\n toaster.error(createDoNotContactListRequestError?.message);\n },\n });\n },\n });\n }, [createDoNotContactListRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: updateDoNotContactListRequestStatus,\n onSuccess: () => {\n toaster.success('List modified successfully');\n sendGetDoNotContactListsRequest(filters);\n onHideAddModifyDoNotContactListModal();\n resetUpdateDoNotContactListRequest();\n },\n onFailed: () => {\n resetUpdateDoNotContactListRequest();\n onHideAddModifyDoNotContactListModal();\n executeOnErrorWithErrorCheck({\n error: updateDoNotContactListRequestError,\n onError: () => {\n toaster.error(updateDoNotContactListRequestError?.message);\n },\n });\n },\n });\n }, [updateDoNotContactListRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: deleteDoNotContactListRequestStatus,\n onSuccess: () => {\n toaster.success('List deleted successfully');\n\n if (doNotContactListsPaginationOptions?.itemCount === 1) {\n onFiltersChange({\n page: 1,\n });\n } else {\n sendGetDoNotContactListsRequest(filters);\n }\n\n resetDeleteDoNotContactListRequest();\n onHideDeleteDoNotContactListModal();\n },\n onFailed: () => {\n resetDeleteDoNotContactListRequest();\n onHideDeleteDoNotContactListModal();\n executeOnErrorWithErrorCheck({\n error: deleteDoNotContactListRequestError,\n onError: () => {\n toaster.error(deleteDoNotContactListRequestError?.message);\n },\n });\n },\n });\n }, [deleteDoNotContactListRequestStatus]);\n\n const isLoading = getIsRequestPending(getDoNotContactListsRequestStatus);\n\n const renderTableJSX = () => {\n if (\n doNotContactLists?.length === 0 &&\n !isLoading &&\n filters.search === ''\n ) {\n return (\n }\n title={\n hasPermission(Permissions.DNC_WRITE)\n ? 'Get started by creating a list to manage domains and emails you want to exclude from your outreach'\n : 'Contact your agency owner to manage domains and emails you want to exclude from your outreach'\n }\n {...(hasPermission(Permissions.DNC_WRITE) && {\n btnLabel: 'Add List',\n btnHandler: () => {\n onShowAddModifyDoNotContactListModal('add');\n },\n })}\n />\n );\n }\n\n if (doNotContactLists?.length === 0 && !isLoading) {\n return (\n }\n title=\"No Search Result\"\n desc=\"We can’t find any list matching your search.\"\n />\n );\n }\n\n return (\n \n );\n };\n\n const {\n home: { subscription },\n } = store.getState();\n\n return (\n
    \n \n\n
    \n {subscription?.planCode === SubscriptionPlans.FREE && }\n
    \n\n {renderTableJSX()}\n\n \n\n \n
    \n );\n};\n\nexport default DoNotContactList;\n","import api from '../../../api';\nimport { ResponseSuccess } from '../../../shared/types';\nimport {\n CreateDoNotContactListPayload,\n GetDoNotContactListsPayload,\n GetDoNotContactListDetailsPayload,\n UpdateDoNotContactListPayload,\n UpdateDoNotContactListDetailsPayload,\n DeleteDoNotContactListEmailsAndDomainsPayload,\n BulkDeleteDoNotContactListEmailsAndDomainsPayload,\n ImportEmailsAndDomainsViaCsvPayload,\n} from '../types/do-not-contact-list';\n\nexport const getDoNotContactLists = async (\n params: GetDoNotContactListsPayload,\n) => api.get(`/dnc`, { params });\n\nexport const createDoNotContactList = async (\n payload: CreateDoNotContactListPayload,\n) => api.post(`/dnc`, payload);\n\nexport const updateDoNotContactList = async ({\n id,\n ...payload\n}: UpdateDoNotContactListPayload) => api.patch(`/dnc/${id}`, payload);\n\nexport const deleteDoNotContactList = async (id: string) =>\n api.delete(`/dnc/${id}`);\n\nexport const getDoNotContactListDetailsMeta = async (id: string) =>\n api.get(`/dnc/${id}/meta`);\n\nexport const getDoNotContactListDetails = async ({\n id,\n ...params\n}: GetDoNotContactListDetailsPayload) => api.get(`/dnc/${id}`, { params });\n\nexport const updateDoNotContactListDetails = async ({\n id,\n ...payload\n}: UpdateDoNotContactListDetailsPayload) => api.post(`/dnc/${id}`, payload);\n\nexport const deleteDoNotContactListEmailsAndDomains = async ({\n dncListId,\n emailDomainsIds,\n}: DeleteDoNotContactListEmailsAndDomainsPayload) =>\n api.patch(`/dnc/${dncListId}/list`, {\n ids: emailDomainsIds,\n });\n\nexport const bulkDeleteDoNotContactListEmailsAndDomains = async ({\n dncListId,\n deSelectedIds,\n dncDetailsFilter,\n}: BulkDeleteDoNotContactListEmailsAndDomainsPayload) =>\n api.patch(`/dnc/${dncListId}/bulk-delete`, {\n deSelectedIds,\n dncDetailsFilter,\n });\n\nexport const importDoNotContactListEmailsAndDomains = async ({\n dncListId,\n file,\n emailsDomainsColumn,\n}: ImportEmailsAndDomainsViaCsvPayload) => {\n const data = new FormData();\n data.append('file', file);\n data.append('mapping', emailsDomainsColumn);\n\n return api.post(`/dnc/${dncListId}/import`, data);\n};\n","import { createAsyncThunk } from '@reduxjs/toolkit';\n\nimport {\n ResponseSuccess,\n ResponseErrorWithHandled,\n} from '../../../../shared/types';\n\nimport {\n createDoNotContactList,\n deleteDoNotContactList,\n getDoNotContactLists,\n getDoNotContactListDetails,\n updateDoNotContactList,\n updateDoNotContactListDetails,\n getDoNotContactListDetailsMeta,\n deleteDoNotContactListEmailsAndDomains,\n bulkDeleteDoNotContactListEmailsAndDomains,\n importDoNotContactListEmailsAndDomains,\n} from '../../helpers/do-not-contact.api';\n\nimport {\n CreateDoNotContactListPayload,\n GetDoNotContactListsPayload,\n GetDoNotContactListDetailsPayload,\n UpdateDoNotContactListPayload,\n UpdateDoNotContactListDetailsPayload,\n DeleteDoNotContactListEmailsAndDomainsPayload,\n BulkDeleteDoNotContactListEmailsAndDomainsPayload,\n ImportEmailsAndDomainsViaCsvPayload,\n} from '../../types/do-not-contact-list';\n\nexport const getDoNotContactListsRequest = createAsyncThunk<\n ResponseSuccess,\n GetDoNotContactListsPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('dnc/getDoNotContactLists', async (payload, thunkAPI) => {\n try {\n return await getDoNotContactLists(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e as ResponseErrorWithHandled);\n }\n});\n\nexport const createDoNotContactListRequest = createAsyncThunk<\n ResponseSuccess,\n CreateDoNotContactListPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('dnc/createDoNotContactList', async (payload, thunkAPI) => {\n try {\n return await createDoNotContactList(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e as ResponseErrorWithHandled);\n }\n});\n\nexport const updateDoNotContactListRequest = createAsyncThunk<\n ResponseSuccess,\n UpdateDoNotContactListPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('dnc/updateDoNotContactList', async (payload, thunkAPI) => {\n try {\n return await updateDoNotContactList(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e as ResponseErrorWithHandled);\n }\n});\n\nexport const deleteDoNotContactListRequest = createAsyncThunk<\n ResponseSuccess,\n string,\n { rejectValue: ResponseErrorWithHandled }\n>('dnc/deleteDoNotContactList', async (payload, thunkAPI) => {\n try {\n return await deleteDoNotContactList(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e as ResponseErrorWithHandled);\n }\n});\n\nexport const getDoNotContactListDetailsMetaRequest = createAsyncThunk<\n ResponseSuccess,\n string,\n { rejectValue: ResponseErrorWithHandled }\n>('dnc/getDoNotContactListDetailsMeta', async (payload, thunkAPI) => {\n try {\n return await getDoNotContactListDetailsMeta(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e as ResponseErrorWithHandled);\n }\n});\n\nexport const getDoNotContactListDetailsRequest = createAsyncThunk<\n ResponseSuccess,\n GetDoNotContactListDetailsPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('dnc/getDoNotContactListDetails', async (payload, thunkAPI) => {\n try {\n return await getDoNotContactListDetails(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e as ResponseErrorWithHandled);\n }\n});\n\nexport const updateDoNotContactListDetailsRequest = createAsyncThunk<\n ResponseSuccess,\n UpdateDoNotContactListDetailsPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('dnc/updateDoNotContactListDetails', async (payload, thunkAPI) => {\n try {\n return await updateDoNotContactListDetails(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e as ResponseErrorWithHandled);\n }\n});\n\nexport const deleteDoNotContactListEmailsAndDomainsRequest = createAsyncThunk<\n ResponseSuccess,\n DeleteDoNotContactListEmailsAndDomainsPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('dnc/deleteDoNotContactListEmailsAndDomains', async (payload, thunkAPI) => {\n try {\n return await deleteDoNotContactListEmailsAndDomains(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e as ResponseErrorWithHandled);\n }\n});\n\nexport const bulkDeleteDoNotContactListEmailsAndDomainsRequest = createAsyncThunk<\n ResponseSuccess,\n BulkDeleteDoNotContactListEmailsAndDomainsPayload,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'dnc/bulkDeleteDoNotContactListEmailsAndDomains',\n async (payload, thunkAPI) => {\n try {\n return await bulkDeleteDoNotContactListEmailsAndDomains(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e as ResponseErrorWithHandled);\n }\n },\n);\n\nexport const importDoNotContactListEmailsAndDomainsRequest = createAsyncThunk<\n ResponseSuccess,\n ImportEmailsAndDomainsViaCsvPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('dnc/importDoNotContactListEmailsAndDomains', async (payload, thunkAPI) => {\n try {\n return await importDoNotContactListEmailsAndDomains(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e as ResponseErrorWithHandled);\n }\n});\n","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\n\nimport {\n createDoNotContactListRequest,\n deleteDoNotContactListRequest,\n getDoNotContactListsRequest,\n getDoNotContactListDetailsRequest,\n updateDoNotContactListRequest,\n updateDoNotContactListDetailsRequest,\n getDoNotContactListDetailsMetaRequest,\n deleteDoNotContactListEmailsAndDomainsRequest,\n bulkDeleteDoNotContactListEmailsAndDomainsRequest,\n importDoNotContactListEmailsAndDomainsRequest,\n} from './extra-actions';\nimport {\n BulkSelectedDNCListEmailsAndDomains,\n DoNotContactList,\n DoNotContactListEmailsAndDomains,\n DoNotContactListMeta,\n ImportDoNotContactListEmailsAndDomainsResponse,\n PaginationOptions,\n} from '../../types/do-not-contact-list';\n\ntype RequestState = {\n status: RequestStatus;\n message: string;\n error: any;\n};\n\ntype State = {\n getDoNotContactListsRequest: RequestState;\n createDoNotContactListRequest: RequestState;\n updateDoNotContactListRequest: RequestState;\n deleteDoNotContactListRequest: RequestState;\n getDoNotContactListDetailsMetaRequest: RequestState;\n getDoNotContactListDetailsRequest: RequestState;\n updateDoNotContactListDetailsRequest: RequestState;\n updateDoNotContactListDetailsResponse: {\n alreadyAvailableItems: number;\n duplicateOrInvalidItems: number;\n skippedItemsDueToLimitExceeded: number;\n successfullyAddedItems: number;\n totalItems: number;\n };\n deleteDoNotContactListEmailsAndDomainsRequest: RequestState;\n bulkDeleteDoNotContactListEmailsAndDomainsRequest: RequestState;\n importDoNotContactListEmailsAndDomainsRequest: RequestState;\n doNotContactLists: DoNotContactList[];\n doNotContactListsPaginationOptions: PaginationOptions;\n doNotContactListDetailsMeta: DoNotContactListMeta;\n doNotContactListDetails: DoNotContactListEmailsAndDomains[];\n doNotContactListDetailsPaginationOptions: PaginationOptions;\n createdDoNotContactListId: number;\n importDoNotContactListEmailsAndDomainsResponse: ImportDoNotContactListEmailsAndDomainsResponse;\n\n bulkSelectedDNCListEmailsAndDomains: BulkSelectedDNCListEmailsAndDomains;\n selectedDNCListEmailsAndDomains: DoNotContactListEmailsAndDomains[];\n};\n\nconst initialState: State = {\n getDoNotContactListsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n createDoNotContactListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateDoNotContactListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n deleteDoNotContactListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getDoNotContactListDetailsMetaRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getDoNotContactListDetailsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateDoNotContactListDetailsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateDoNotContactListDetailsResponse: null,\n deleteDoNotContactListEmailsAndDomainsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n bulkDeleteDoNotContactListEmailsAndDomainsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n importDoNotContactListEmailsAndDomainsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n doNotContactLists: [],\n doNotContactListsPaginationOptions: null,\n doNotContactListDetailsMeta: null,\n doNotContactListDetails: [],\n doNotContactListDetailsPaginationOptions: null,\n createdDoNotContactListId: null,\n importDoNotContactListEmailsAndDomainsResponse: null,\n\n bulkSelectedDNCListEmailsAndDomains: null,\n selectedDNCListEmailsAndDomains: [],\n};\n\nconst doNotContactSlice = createSlice({\n name: 'doNotContact',\n initialState,\n reducers: {\n resetGetDoNotContactListsRequest: (state) => {\n state.getDoNotContactListsRequest =\n initialState.getDoNotContactListsRequest;\n },\n resetCreateDoNotContactListRequest: (state) => {\n state.createDoNotContactListRequest =\n initialState.createDoNotContactListRequest;\n },\n resetCreatedDoNotContactListId: (state) => {\n state.createdDoNotContactListId = initialState.createdDoNotContactListId;\n },\n resetUpdateDoNotContactListRequest: (state) => {\n state.updateDoNotContactListRequest =\n initialState.updateDoNotContactListRequest;\n },\n resetDeleteDoNotContactListRequest: (state) => {\n state.deleteDoNotContactListRequest =\n initialState.deleteDoNotContactListRequest;\n },\n resetGetDoNotContactListDetailsMetaRequest: (state) => {\n state.getDoNotContactListDetailsMetaRequest =\n initialState.getDoNotContactListDetailsMetaRequest;\n },\n resetDoNotContactListDetailsMeta: (state) => {\n state.doNotContactListDetailsMeta =\n initialState.doNotContactListDetailsMeta;\n },\n resetGetDoNotContactListDetailsRequest: (state) => {\n state.getDoNotContactListDetailsRequest =\n initialState.getDoNotContactListDetailsRequest;\n },\n resetUpdateDoNotContactListDetailsRequest: (state) => {\n state.updateDoNotContactListDetailsRequest =\n initialState.updateDoNotContactListDetailsRequest;\n state.updateDoNotContactListDetailsResponse =\n initialState.updateDoNotContactListDetailsResponse;\n },\n resetDeleteDoNotContactListEmailsAndDomainsRequest: (state) => {\n state.deleteDoNotContactListEmailsAndDomainsRequest =\n initialState.deleteDoNotContactListEmailsAndDomainsRequest;\n },\n resetBulkDeleteDoNotContactListEmailsAndDomainsRequest: (state) => {\n state.bulkDeleteDoNotContactListEmailsAndDomainsRequest =\n initialState.bulkDeleteDoNotContactListEmailsAndDomainsRequest;\n },\n resetImportDoNotContactListEmailsAndDomainsRequest: (state) => {\n state.importDoNotContactListEmailsAndDomainsRequest =\n initialState.importDoNotContactListEmailsAndDomainsRequest;\n },\n\n // DNC List Emails And Domains Bulk Action Handlers\n onBulkSelectDNCListEmailsAndDomains: (state, action) => {\n state.bulkSelectedDNCListEmailsAndDomains = action.payload;\n },\n clearDNCListEmailsAndDomainsSelection: (state) => {\n state.bulkSelectedDNCListEmailsAndDomains =\n initialState.bulkSelectedDNCListEmailsAndDomains;\n state.selectedDNCListEmailsAndDomains =\n initialState.selectedDNCListEmailsAndDomains;\n },\n selectAllDNCListEmailsAndDomains: (state, action) => {\n if (action.payload.status === true) {\n if (\n state.bulkSelectedDNCListEmailsAndDomains\n ?.isAllDNCListEmailsAndDomainsSelected\n ) {\n action.payload.rows.forEach(({ id: contactId }) => {\n state.bulkSelectedDNCListEmailsAndDomains.deSelectedDNCListEmailsAndDomainsIds = state.bulkSelectedDNCListEmailsAndDomains.deSelectedDNCListEmailsAndDomainsIds.filter(\n (id) => contactId !== id,\n );\n });\n }\n state.selectedDNCListEmailsAndDomains = state.selectedDNCListEmailsAndDomains.concat(\n action.payload.rows,\n );\n } else {\n if (\n state.bulkSelectedDNCListEmailsAndDomains\n ?.isAllDNCListEmailsAndDomainsSelected\n ) {\n action.payload.rows.forEach(({ id }) => {\n state.bulkSelectedDNCListEmailsAndDomains.deSelectedDNCListEmailsAndDomainsIds = state.bulkSelectedDNCListEmailsAndDomains?.deSelectedDNCListEmailsAndDomainsIds.concat(\n [id],\n );\n });\n }\n state.selectedDNCListEmailsAndDomains = state.selectedDNCListEmailsAndDomains.reduce(\n (acc, row) => {\n let isPresent = false;\n action.payload.rows.forEach(({ id }) => {\n if (id === row.id) {\n isPresent = true;\n }\n });\n if (isPresent) {\n return acc;\n }\n return [...acc, row];\n },\n [],\n );\n }\n },\n selectSingleDNCListEmailsAndDomains: (state, action) => {\n if (action.payload.status === true) {\n if (\n state.bulkSelectedDNCListEmailsAndDomains\n ?.isAllDNCListEmailsAndDomainsSelected\n ) {\n state.bulkSelectedDNCListEmailsAndDomains.deSelectedDNCListEmailsAndDomainsIds = state.bulkSelectedDNCListEmailsAndDomains.deSelectedDNCListEmailsAndDomainsIds.filter(\n (id) => id !== action.payload.row.id,\n );\n }\n state.selectedDNCListEmailsAndDomains = state.selectedDNCListEmailsAndDomains.concat(\n [action.payload.row],\n );\n } else {\n if (\n state.bulkSelectedDNCListEmailsAndDomains\n ?.isAllDNCListEmailsAndDomainsSelected\n ) {\n state.bulkSelectedDNCListEmailsAndDomains.deSelectedDNCListEmailsAndDomainsIds = state.bulkSelectedDNCListEmailsAndDomains?.deSelectedDNCListEmailsAndDomainsIds.concat(\n [action.payload.row.id],\n );\n }\n state.selectedDNCListEmailsAndDomains = state.selectedDNCListEmailsAndDomains.filter(\n ({ id }) => id !== action.payload.row.id,\n );\n }\n },\n resetSelectedDNCListEmailsAndDomains: (state) => {\n state.selectedDNCListEmailsAndDomains =\n initialState.selectedDNCListEmailsAndDomains;\n },\n },\n extraReducers: (builder) => {\n // Get Do Not Contact Lists Request\n builder.addCase(getDoNotContactListsRequest.pending, (state) => {\n state.getDoNotContactListsRequest.status = RequestStatus.Pending;\n state.getDoNotContactListsRequest.error = null;\n });\n builder.addCase(getDoNotContactListsRequest.fulfilled, (state, action) => {\n state.getDoNotContactListsRequest.status = RequestStatus.Succeeded;\n state.getDoNotContactListsRequest.message = action.payload.message;\n state.doNotContactLists = action.payload.payload.dncList;\n state.doNotContactListsPaginationOptions = action.payload.payload.meta;\n });\n builder.addCase(getDoNotContactListsRequest.rejected, (state, action) => {\n state.getDoNotContactListsRequest.status = RequestStatus.Failed;\n state.getDoNotContactListsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Create Do Not Contact List Request\n builder.addCase(createDoNotContactListRequest.pending, (state) => {\n state.createDoNotContactListRequest.status = RequestStatus.Pending;\n state.createDoNotContactListRequest.error = null;\n });\n builder.addCase(\n createDoNotContactListRequest.fulfilled,\n (state, action) => {\n state.createDoNotContactListRequest.status = RequestStatus.Succeeded;\n state.createDoNotContactListRequest.message = action.payload.message;\n state.createdDoNotContactListId = action.payload.payload.dncListData.id;\n },\n );\n builder.addCase(createDoNotContactListRequest.rejected, (state, action) => {\n state.createDoNotContactListRequest.status = RequestStatus.Failed;\n state.createDoNotContactListRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Update Do Not Contact List Request\n builder.addCase(updateDoNotContactListRequest.pending, (state) => {\n state.updateDoNotContactListRequest.status = RequestStatus.Pending;\n state.updateDoNotContactListRequest.error = null;\n });\n builder.addCase(\n updateDoNotContactListRequest.fulfilled,\n (state, action) => {\n state.updateDoNotContactListRequest.status = RequestStatus.Succeeded;\n state.updateDoNotContactListRequest.message = action.payload.message;\n },\n );\n builder.addCase(updateDoNotContactListRequest.rejected, (state, action) => {\n state.updateDoNotContactListRequest.status = RequestStatus.Failed;\n state.updateDoNotContactListRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Delete Do Not Contact List Request\n builder.addCase(deleteDoNotContactListRequest.pending, (state) => {\n state.deleteDoNotContactListRequest.status = RequestStatus.Pending;\n state.deleteDoNotContactListRequest.error = null;\n });\n builder.addCase(\n deleteDoNotContactListRequest.fulfilled,\n (state, action) => {\n state.deleteDoNotContactListRequest.status = RequestStatus.Succeeded;\n state.deleteDoNotContactListRequest.message = action.payload.message;\n },\n );\n builder.addCase(deleteDoNotContactListRequest.rejected, (state, action) => {\n state.deleteDoNotContactListRequest.status = RequestStatus.Failed;\n state.deleteDoNotContactListRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Do Not Contact List Details Meta Request\n builder.addCase(getDoNotContactListDetailsMetaRequest.pending, (state) => {\n state.getDoNotContactListDetailsMetaRequest.status =\n RequestStatus.Pending;\n state.getDoNotContactListDetailsMetaRequest.error = null;\n });\n builder.addCase(\n getDoNotContactListDetailsMetaRequest.fulfilled,\n (state, action) => {\n state.getDoNotContactListDetailsMetaRequest.status =\n RequestStatus.Succeeded;\n state.getDoNotContactListDetailsMetaRequest.message =\n action.payload.message;\n state.doNotContactListDetailsMeta = action.payload.payload;\n },\n );\n builder.addCase(\n getDoNotContactListDetailsMetaRequest.rejected,\n (state, action) => {\n state.getDoNotContactListDetailsMetaRequest.status =\n RequestStatus.Failed;\n state.getDoNotContactListDetailsMetaRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Get Do Not Contact List Details Request\n builder.addCase(getDoNotContactListDetailsRequest.pending, (state) => {\n state.getDoNotContactListDetailsRequest.status = RequestStatus.Pending;\n state.getDoNotContactListDetailsRequest.error = null;\n });\n builder.addCase(\n getDoNotContactListDetailsRequest.fulfilled,\n (state, action) => {\n state.getDoNotContactListDetailsRequest.status =\n RequestStatus.Succeeded;\n state.getDoNotContactListDetailsRequest.message =\n action.payload.message;\n state.doNotContactListDetails = action.payload.payload.dncListDetails;\n state.doNotContactListDetailsPaginationOptions =\n action.payload.payload.meta;\n },\n );\n builder.addCase(\n getDoNotContactListDetailsRequest.rejected,\n (state, action) => {\n state.getDoNotContactListDetailsRequest.status = RequestStatus.Failed;\n state.getDoNotContactListDetailsRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Update Do Not Contact List Details Request\n builder.addCase(updateDoNotContactListDetailsRequest.pending, (state) => {\n state.updateDoNotContactListDetailsRequest.status = RequestStatus.Pending;\n state.updateDoNotContactListDetailsRequest.error = null;\n });\n builder.addCase(\n updateDoNotContactListDetailsRequest.fulfilled,\n (state, action) => {\n state.updateDoNotContactListDetailsRequest.status =\n RequestStatus.Succeeded;\n state.updateDoNotContactListDetailsRequest.message =\n action.payload.message;\n state.updateDoNotContactListDetailsResponse = action.payload.payload;\n },\n );\n builder.addCase(\n updateDoNotContactListDetailsRequest.rejected,\n (state, action) => {\n state.updateDoNotContactListDetailsRequest.status =\n RequestStatus.Failed;\n state.updateDoNotContactListDetailsRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Delete Do Not Contact List Details\n builder.addCase(\n deleteDoNotContactListEmailsAndDomainsRequest.pending,\n (state) => {\n state.deleteDoNotContactListEmailsAndDomainsRequest.status =\n RequestStatus.Pending;\n state.deleteDoNotContactListEmailsAndDomainsRequest.error = null;\n },\n );\n builder.addCase(\n deleteDoNotContactListEmailsAndDomainsRequest.fulfilled,\n (state, action) => {\n state.deleteDoNotContactListEmailsAndDomainsRequest.status =\n RequestStatus.Succeeded;\n state.deleteDoNotContactListEmailsAndDomainsRequest.message =\n action.payload.message;\n },\n );\n builder.addCase(\n deleteDoNotContactListEmailsAndDomainsRequest.rejected,\n (state, action) => {\n state.deleteDoNotContactListEmailsAndDomainsRequest.status =\n RequestStatus.Failed;\n state.deleteDoNotContactListEmailsAndDomainsRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Bulk Delete Do Not Contact List Details\n builder.addCase(\n bulkDeleteDoNotContactListEmailsAndDomainsRequest.pending,\n (state) => {\n state.bulkDeleteDoNotContactListEmailsAndDomainsRequest.status =\n RequestStatus.Pending;\n state.bulkDeleteDoNotContactListEmailsAndDomainsRequest.error = null;\n },\n );\n builder.addCase(\n bulkDeleteDoNotContactListEmailsAndDomainsRequest.fulfilled,\n (state, action) => {\n state.bulkDeleteDoNotContactListEmailsAndDomainsRequest.status =\n RequestStatus.Succeeded;\n state.bulkDeleteDoNotContactListEmailsAndDomainsRequest.message =\n action.payload.message;\n },\n );\n builder.addCase(\n bulkDeleteDoNotContactListEmailsAndDomainsRequest.rejected,\n (state, action) => {\n state.bulkDeleteDoNotContactListEmailsAndDomainsRequest.status =\n RequestStatus.Failed;\n state.bulkDeleteDoNotContactListEmailsAndDomainsRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Import DNC List Emails And Domains via CSV\n builder.addCase(\n importDoNotContactListEmailsAndDomainsRequest.pending,\n (state) => {\n state.importDoNotContactListEmailsAndDomainsRequest.status =\n RequestStatus.Pending;\n state.importDoNotContactListEmailsAndDomainsRequest.error = null;\n },\n );\n builder.addCase(\n importDoNotContactListEmailsAndDomainsRequest.fulfilled,\n (state, action) => {\n state.importDoNotContactListEmailsAndDomainsRequest.status =\n RequestStatus.Succeeded;\n state.importDoNotContactListEmailsAndDomainsRequest.message =\n action.payload.message;\n state.importDoNotContactListEmailsAndDomainsResponse =\n action.payload.payload;\n },\n );\n builder.addCase(\n importDoNotContactListEmailsAndDomainsRequest.rejected,\n (state, action) => {\n state.importDoNotContactListEmailsAndDomainsRequest.status =\n RequestStatus.Failed;\n state.importDoNotContactListEmailsAndDomainsRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n },\n});\n\nexport const {\n resetCreateDoNotContactListRequest,\n resetCreatedDoNotContactListId,\n resetDeleteDoNotContactListRequest,\n resetGetDoNotContactListsRequest,\n resetGetDoNotContactListDetailsRequest,\n resetDoNotContactListDetailsMeta,\n resetUpdateDoNotContactListRequest,\n resetUpdateDoNotContactListDetailsRequest,\n resetDeleteDoNotContactListEmailsAndDomainsRequest,\n resetBulkDeleteDoNotContactListEmailsAndDomainsRequest,\n resetImportDoNotContactListEmailsAndDomainsRequest,\n\n clearDNCListEmailsAndDomainsSelection,\n onBulkSelectDNCListEmailsAndDomains,\n resetGetDoNotContactListDetailsMetaRequest,\n resetSelectedDNCListEmailsAndDomains,\n selectAllDNCListEmailsAndDomains,\n selectSingleDNCListEmailsAndDomains,\n} = doNotContactSlice.actions;\n\nexport default doNotContactSlice.reducer;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { hideLoading, showLoading } from 'react-redux-loading-bar';\n\nimport { RootState } from '../../../../../../store/root-reducer';\n\nimport DoNotContactList from './do-not-contact-list';\n\nimport {\n CreateDoNotContactListPayload,\n GetDoNotContactListsPayload,\n UpdateDoNotContactListPayload,\n} from '../../../../types/do-not-contact-list';\nimport {\n getDoNotContactListsRequest,\n createDoNotContactListRequest,\n updateDoNotContactListRequest,\n deleteDoNotContactListRequest,\n} from '../../extra-actions';\nimport {\n resetGetDoNotContactListsRequest,\n resetCreateDoNotContactListRequest,\n resetUpdateDoNotContactListRequest,\n resetDeleteDoNotContactListRequest,\n resetCreatedDoNotContactListId,\n} from '../../do-not-contact-slice';\nimport { GetAgencyClientDropdownRequestPayload } from '../../../../../agency-client-management/types/request-payload';\nimport { getAgencyClientsDropdown } from '../../../../../agency-client-management/extra-actions';\n\nconst mapStateToProps = (state: RootState) => ({\n getDoNotContactListsRequestStatus:\n state.doNotContact.getDoNotContactListsRequest.status,\n getDoNotContactListsRequestMessage:\n state.doNotContact.getDoNotContactListsRequest.message,\n getDoNotContactListsRequestError:\n state.doNotContact.getDoNotContactListsRequest.error,\n\n createDoNotContactListRequestStatus:\n state.doNotContact.createDoNotContactListRequest.status,\n createDoNotContactListRequestMessage:\n state.doNotContact.createDoNotContactListRequest.message,\n createDoNotContactListRequestError:\n state.doNotContact.createDoNotContactListRequest.error,\n\n updateDoNotContactListRequestStatus:\n state.doNotContact.updateDoNotContactListRequest.status,\n updateDoNotContactListRequestMessage:\n state.doNotContact.updateDoNotContactListRequest.message,\n updateDoNotContactListRequestError:\n state.doNotContact.updateDoNotContactListRequest.error,\n\n deleteDoNotContactListRequestStatus:\n state.doNotContact.deleteDoNotContactListRequest.status,\n deleteDoNotContactListRequestMessage:\n state.doNotContact.deleteDoNotContactListRequest.message,\n deleteDoNotContactListRequestError:\n state.doNotContact.deleteDoNotContactListRequest.error,\n\n doNotContactLists: state.doNotContact.doNotContactLists,\n doNotContactListsPaginationOptions:\n state.doNotContact.doNotContactListsPaginationOptions,\n createdDoNotContactListId: state.doNotContact.createdDoNotContactListId,\n\n agencyClients: state.agencyClient.clients,\n agencyConfigRequestStatus: state.home.getAgencyConfigRequest.status,\n});\n\nconst mapDispatchToProps = {\n sendGetDoNotContactListsRequest: (payload: GetDoNotContactListsPayload) =>\n getDoNotContactListsRequest(payload),\n resetGetDoNotContactListsRequest: () => resetGetDoNotContactListsRequest(),\n\n sendCreateDoNotContactListRequest: (payload: CreateDoNotContactListPayload) =>\n createDoNotContactListRequest(payload),\n resetCreateDoNotContactListRequest: () =>\n resetCreateDoNotContactListRequest(),\n resetCreatedDoNotContactListId: () => resetCreatedDoNotContactListId(),\n\n sendUpdateDoNotContactListRequest: (payload: UpdateDoNotContactListPayload) =>\n updateDoNotContactListRequest(payload),\n resetUpdateDoNotContactListRequest: () =>\n resetUpdateDoNotContactListRequest(),\n\n sendDeleteDoNotContactListRequest: (id: string) =>\n deleteDoNotContactListRequest(id),\n resetDeleteDoNotContactListRequest: () =>\n resetDeleteDoNotContactListRequest(),\n\n sendGetAgencyClientsDropdownRequest: (\n payload: GetAgencyClientDropdownRequestPayload,\n ) => getAgencyClientsDropdown(payload),\n\n showLoading: () => showLoading(),\n hideLoading: () => hideLoading(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps;\n\nexport default connector(DoNotContactList);\n","import React from 'react';\nimport Button from '../button';\nimport Icon from '../icon';\n\nconst DeleteButton = ({ label = '', handleDelete }) => (\n }\n >\n {label}\n \n);\n\nexport default DeleteButton;\n","import React from 'react';\nimport { useHistory } from 'react-router';\nimport { Button, SkeletonLoading } from '@saleshandy/design-system';\nimport { ChevronLeft, Pencil } from '@saleshandy/icons';\n\nimport { accessibleOnClick } from '../../../../../../../../shared/utils/accessible-on-click';\nimport {\n OverlayPopover,\n Placement,\n TriggerType,\n} from '../../../../../../../../shared/design-system/components/overlay';\nimport TruncatedTextWithTooltip from '../../../../../../../../shared/components/truncated-text-with-tooltip';\nimport { GlobalSettings } from '../../../../../../../../shared/components/global-settings-wrapper';\nimport hasPermission from '../../../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../../../shared/utils/access-control/enums/permissions';\nimport { isAgency } from '../../../../../../../../shared/utils/user-details';\n\ntype IProps = {\n listName: string;\n emailsCount: number;\n domainsCount: number;\n associatedClient: string;\n onEdit: VoidFunction;\n isLoading: boolean;\n onShowImportDoNotContactListModal: VoidFunction;\n};\n\nconst DoNotContactListDetailsHeader: React.FC = ({\n listName,\n emailsCount,\n domainsCount,\n associatedClient,\n onEdit,\n isLoading,\n onShowImportDoNotContactListModal,\n}) => {\n const history = useHistory();\n\n const isClientColVisible =\n hasPermission(Permissions.CLIENT_READ) && isAgency();\n\n const renderListCount = (label: string, count: number) => (\n
    \n

    {label}

    \n

    {count}

    \n
    \n );\n\n const renderClientName = () => {\n if (isClientColVisible) {\n if (isLoading) {\n return (\n
    \n \n
    \n );\n }\n\n return

    {associatedClient}

    ;\n }\n\n return <>;\n };\n\n return (\n \n \n {\n history.push(`/settings/dnc-list`);\n })}\n >\n \n \n\n
    \n {isLoading ? (\n
    \n \n
    \n ) : (\n
    \n \n\n \n {renderListCount('Domains', domainsCount)}\n {renderListCount('Emails', emailsCount)}\n
    \n }\n trigger={TriggerType.Hover}\n placement={Placement.BottomStart}\n >\n
    \n {domainsCount + emailsCount}\n
    \n \n\n {hasPermission(Permissions.DNC_UPDATE) && (\n
    \n \n
    \n )}\n
    \n )}\n {renderClientName()}\n \n
    \n \n \n \n
    \n );\n};\n\nexport default DoNotContactListDetailsHeader;\n","export const getEntriesMessage = (\n type: 'added' | 'deleted',\n entry: Record = null,\n entries: any[] = [],\n isBulkAction = false,\n): string => {\n if (entry !== null) {\n return `Entry ${type} successfully`;\n }\n\n if (isBulkAction) {\n return `Entries ${type} successfully`;\n }\n\n if (entries && entries.length > 0) {\n if (entries.length === 1) {\n return `Entry ${type} successfully`;\n }\n return `Entries ${type} successfully`;\n }\n\n return '';\n};\n\nexport const getEntriesTitle = (\n entry: Record = null,\n entries: any[] = [],\n isBulkAction = false,\n): string => {\n if (entry !== null) {\n return `Entry`;\n }\n\n if (isBulkAction) {\n return `Entries`;\n }\n\n if (entries && entries.length > 0) {\n if (entries.length === 1) {\n return `Entry`;\n }\n return `Entries`;\n }\n\n return '';\n};\n","import React, { useEffect, useState } from 'react';\nimport { Button } from '@saleshandy/design-system';\n\nimport type { IProps } from './do-not-contact-list-details-input-container';\n\nimport EmailsAndDomainsInput from './emails-and-domains-input';\n\nimport {\n executeOnErrorWithErrorCheck,\n executeOnRequestStatus,\n getIsRequestPending,\n} from '../../../../../../../../shared/utils';\nimport toaster from '../../../../../../../../shared/toaster';\nimport hasPermission from '../../../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../../../shared/utils/access-control/enums/permissions';\nimport { isAgency } from '../../../../../../../../shared/utils/user-details';\nimport { getEntriesMessage } from '../../../../helper/get-entries-message';\nimport { getListHelperText } from '../../../../helper/get-list-helper-text';\n\nconst DoNotContactListDetailsInput: React.FC = ({\n doNotContactListId,\n isGlobalList,\n\n updateDoNotContactListDetailsRequestStatus,\n updateDoNotContactListDetailsRequestError,\n sendUpdateDoNotContactListDetailsRequest,\n resetUpdateDoNotContactListDetailsRequest,\n updateDoNotContactListDetailsResponse,\n}) => {\n const [emailsAndDomains, setEmailsAndDomains] = useState([]);\n const [isError, setIsError] = useState(false);\n const isMaxedEmailAdded = emailsAndDomains.length > 1000;\n\n const onUpdateDoNotContactListDetails = () => {\n sendUpdateDoNotContactListDetailsRequest({\n id: doNotContactListId,\n items: emailsAndDomains,\n });\n };\n\n useEffect(() => {\n executeOnRequestStatus({\n status: updateDoNotContactListDetailsRequestStatus,\n onSuccess: () => {\n if (updateDoNotContactListDetailsResponse) {\n if (\n updateDoNotContactListDetailsResponse?.successfullyAddedItems ===\n 0 &&\n updateDoNotContactListDetailsResponse?.skippedItemsDueToLimitExceeded >\n 0\n ) {\n toaster.error('Operation Failed : DNC Limit has been reached');\n } else {\n toaster.success(\n getEntriesMessage('added', null, emailsAndDomains, false),\n );\n }\n }\n setEmailsAndDomains([]);\n setIsError(false);\n resetUpdateDoNotContactListDetailsRequest();\n },\n onFailed: () => {\n resetUpdateDoNotContactListDetailsRequest();\n executeOnErrorWithErrorCheck({\n error: updateDoNotContactListDetailsRequestError,\n onError: () => {\n toaster.error(updateDoNotContactListDetailsRequestError?.message);\n },\n });\n },\n });\n }, [updateDoNotContactListDetailsRequestStatus]);\n\n const isLoading = getIsRequestPending(\n updateDoNotContactListDetailsRequestStatus,\n );\n\n const isAgencyUser = hasPermission(Permissions.CLIENT_READ) && isAgency();\n\n return (\n
    \n

    Enter emails or domains

    \n\n \n\n
    \n

    \n {getListHelperText({\n isAgencyUser,\n isGlobalList,\n messageSpecificFor: 'user',\n })}\n

    \n
    \n\n \n Save\n \n
    \n );\n};\n\nexport default DoNotContactListDetailsInput;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../../../../../store/root-reducer';\n\nimport DoNotContactListDetailsInput from './do-not-contact-list-details-input';\n\nimport { UpdateDoNotContactListDetailsPayload } from '../../../../../../types/do-not-contact-list';\n\nimport { updateDoNotContactListDetailsRequest } from '../../../../extra-actions';\nimport { resetUpdateDoNotContactListDetailsRequest } from '../../../../do-not-contact-slice';\n\nconst mapStateToProps = (state: RootState) => ({\n updateDoNotContactListDetailsRequestStatus:\n state.doNotContact.updateDoNotContactListDetailsRequest.status,\n updateDoNotContactListDetailsRequestMessage:\n state.doNotContact.updateDoNotContactListDetailsRequest.message,\n updateDoNotContactListDetailsRequestError:\n state.doNotContact.updateDoNotContactListDetailsRequest.error,\n\n updateDoNotContactListDetailsResponse:\n state.doNotContact.updateDoNotContactListDetailsResponse,\n});\n\nconst mapDispatchToProps = {\n sendUpdateDoNotContactListDetailsRequest: (\n payload: UpdateDoNotContactListDetailsPayload,\n ) => updateDoNotContactListDetailsRequest(payload),\n\n resetUpdateDoNotContactListDetailsRequest: () =>\n resetUpdateDoNotContactListDetailsRequest(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n doNotContactListId: string;\n isGlobalList: boolean;\n};\n\nexport default connector(DoNotContactListDetailsInput);\n","import {\n BulkSelectedDNCListEmailsAndDomains,\n DoNotContactListEmailsAndDomains,\n} from '../../../../../../../types/do-not-contact-list';\nimport { constants } from '../../../../../../../../../shared/enums/constants';\n\nexport const checkIsTableLastPage = (pageNumber: number, pageSize: number) => {\n const lastPage = constants.BULK_DELETE_DNC_LIST_EMAILS_DOMAINS / pageSize;\n\n return lastPage >= pageNumber;\n};\n\nexport const isCurrentPageUnderTheSelectAllPage = (\n bulkSelectedDNCListEmailsAndDomains: BulkSelectedDNCListEmailsAndDomains,\n pageNumber: number,\n pageSize: number,\n) => {\n const lastPage = constants.BULK_DELETE_DNC_LIST_EMAILS_DOMAINS / pageSize;\n\n return (\n bulkSelectedDNCListEmailsAndDomains?.isAllDNCListEmailsAndDomainsSelected &&\n lastPage >= pageNumber\n );\n};\n\n// * Get Should Show Selected Row Info Banner Handler\nexport const getShouldShowSelectedRowInfoBanner = (\n selectedDNCListEmailsAndDomains: DoNotContactListEmailsAndDomains[],\n bulkSelectedDNCListEmailsAndDomains: BulkSelectedDNCListEmailsAndDomains,\n isBulkEmailAccountsSelected: boolean,\n) =>\n selectedDNCListEmailsAndDomains.length > 0 ||\n bulkSelectedDNCListEmailsAndDomains?.isAllDNCListEmailsAndDomainsSelected ||\n isBulkEmailAccountsSelected;\n\nexport const getSelectedEmailsDomainsCount = (\n selectedDNCListEmailsAndDomains: DoNotContactListEmailsAndDomains[],\n bulkSelectedDNCListEmailsAndDomains: BulkSelectedDNCListEmailsAndDomains,\n totalEmailsAndDomains: number,\n) => {\n if (\n bulkSelectedDNCListEmailsAndDomains?.isAllDNCListEmailsAndDomainsSelected\n ) {\n const count =\n totalEmailsAndDomains > constants.BULK_DELETE_DNC_LIST_EMAILS_DOMAINS\n ? constants.BULK_DELETE_DNC_LIST_EMAILS_DOMAINS\n : totalEmailsAndDomains;\n\n return (\n count -\n bulkSelectedDNCListEmailsAndDomains?.deSelectedDNCListEmailsAndDomainsIds\n ?.length\n );\n }\n\n return selectedDNCListEmailsAndDomains.length;\n};\n\nexport const getFormattedEmailsDomainsCount = (\n selectedEmailsDomainsCount: number,\n) =>\n selectedEmailsDomainsCount === 1\n ? `1 entry selected.`\n : `${selectedEmailsDomainsCount\n ?.toString()\n ?.replace(/\\B(?=(\\d{3})+(?!\\d))/g, ',')} entries selected.`;\n","import React, { useEffect } from 'react';\nimport classnames from 'classnames';\n\nimport {\n BulkSelectedDNCListEmailsAndDomains,\n DoNotContactListEmailsAndDomains,\n} from '../../../../../../types/do-not-contact-list';\nimport { constants } from '../../../../../../../../shared/enums/constants';\nimport { accessibleOnClick } from '../../../../../../../../shared/utils/accessible-on-click';\nimport {\n getFormattedEmailsDomainsCount,\n getSelectedEmailsDomainsCount,\n} from './utils/bulk-action-helper-function';\n\ntype IProps = {\n selectedDNCListEmailsAndDomains: DoNotContactListEmailsAndDomains[];\n bulkSelectedDNCListEmailsAndDomains: BulkSelectedDNCListEmailsAndDomains;\n totalEmailsAndDomains: number;\n handleSelectAllRows: VoidFunction;\n handleClearSelection: VoidFunction;\n};\n\nconst SelectedEmailsDomainsRowInfoBanner: React.FC = ({\n selectedDNCListEmailsAndDomains,\n bulkSelectedDNCListEmailsAndDomains,\n totalEmailsAndDomains,\n handleSelectAllRows,\n handleClearSelection,\n}) => {\n const selectedEmailsDomainsCount = getSelectedEmailsDomainsCount(\n selectedDNCListEmailsAndDomains,\n bulkSelectedDNCListEmailsAndDomains,\n totalEmailsAndDomains,\n );\n\n useEffect(() => {\n if (selectedEmailsDomainsCount === 0) {\n handleClearSelection();\n }\n }, [selectedEmailsDomainsCount]);\n\n const divClasses = classnames([\n 'email-selected-row-info',\n {\n 'email-selected-row-info-waring':\n selectedDNCListEmailsAndDomains.length > 0 ||\n bulkSelectedDNCListEmailsAndDomains?.isAllDNCListEmailsAndDomainsSelected,\n },\n {\n 'email-selected-row-info-danger':\n selectedDNCListEmailsAndDomains.length === 0 &&\n !bulkSelectedDNCListEmailsAndDomains?.isAllDNCListEmailsAndDomainsSelected,\n },\n ]);\n\n const spanClasses = classnames([\n 'semibold-1',\n {\n 'popover-arrow-color-txt':\n selectedDNCListEmailsAndDomains.length > 0 ||\n bulkSelectedDNCListEmailsAndDomains?.isAllDNCListEmailsAndDomainsSelected,\n },\n {\n 'red-txt-12':\n selectedDNCListEmailsAndDomains.length === 0 &&\n !bulkSelectedDNCListEmailsAndDomains?.isAllDNCListEmailsAndDomainsSelected,\n },\n ]);\n\n const renderSelectedEmailAccountDetails = () => (\n
    \n {selectedEmailsDomainsCount ===\n constants.BULK_EDIT_EMAIL_ACCOUNT_LIMIT && (\n First\n )}\n\n \n {getFormattedEmailsDomainsCount(selectedEmailsDomainsCount)}\n \n\n {!bulkSelectedDNCListEmailsAndDomains?.isAllDNCListEmailsAndDomainsSelected &&\n totalEmailsAndDomains !== selectedDNCListEmailsAndDomains?.length && (\n <>\n \n Select all entries\n \n \n \n )}\n\n \n Clear selection\n \n\n {totalEmailsAndDomains >\n constants.BULK_DELETE_DNC_LIST_EMAILS_DOMAINS && (\n \n (You can select max 25,000 entries.)\n \n )}\n
    \n );\n\n if (totalEmailsAndDomains > 0) {\n return (\n
    {renderSelectedEmailAccountDetails()}
    \n );\n }\n\n return <>;\n};\n\nexport default SelectedEmailsDomainsRowInfoBanner;\n","import React from 'react';\nimport { DoNotContactListEmailsAndDomains } from '../../../../../../../types/do-not-contact-list';\nimport TruncatedTextWithTooltip from '../../../../../../../../../shared/components/truncated-text-with-tooltip';\n\ntype IProps = {\n doNotContactListDetail: DoNotContactListEmailsAndDomains;\n};\n\nconst EmailDomainNameField: React.FC = ({\n doNotContactListDetail: { value },\n}) => (\n \n);\n\nexport default EmailDomainNameField;\n","import React from 'react';\nimport { Avatar } from '@saleshandy/design-system';\nimport { DoNotContactListEmailsAndDomains } from '../../../../../../../types/do-not-contact-list';\n\ntype IProps = {\n doNotContactListDetail: DoNotContactListEmailsAndDomains;\n};\n\nconst AddedByField: React.FC = ({\n doNotContactListDetail: { addedBy },\n}) => {\n const [firstName = '', lastName = ''] = addedBy?.split(' ');\n return (\n
    \n \n

    {`${addedBy}`.trim()}

    \n
    \n );\n};\n\nexport default AddedByField;\n","import React from 'react';\n\nimport { getUserTimeZone } from '../../../../../../../../../shared/utils/user-details';\nimport { getFormattedDate } from '../../../../../../users-and-teams/utils/get-formatted-date';\nimport { DoNotContactListEmailsAndDomains } from '../../../../../../../types/do-not-contact-list';\n\ntype IProps = {\n doNotContactListDetail: DoNotContactListEmailsAndDomains;\n};\n\nconst UpdatedAtField: React.FC = ({\n doNotContactListDetail: { createdAt },\n}) => {\n const userTimezone = getUserTimeZone();\n\n return

    {getFormattedDate(createdAt, userTimezone)}

    ;\n};\n\nexport default UpdatedAtField;\n","import React from 'react';\nimport { SkeletonLoading } from '@saleshandy/design-system';\n\nimport { Column } from '../../../../../../../../../shared/design-system/components/organisms/table/types';\n\nimport EmailDomainNameField from '../fields/email-domain-name-field';\nimport AddedByField from '../fields/added-by-field';\nimport UpdatedAtField from '../fields/updated-at-field';\nimport hasPermission from '../../../../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../../../../shared/utils/access-control/enums/permissions';\n\nexport const getDoNotContactListDetailsColumns = (): Column[] => {\n const isActionsColVisible = hasPermission(Permissions.DNC_LIST_DELETE);\n\n return [\n {\n dataField: 'name',\n text: 'Email / Domain',\n headerAlign: 'start',\n cellClasses: 'email-domain-name-cell',\n component: (_cell, row) => (\n \n ),\n ...(isActionsColVisible && {\n headerStyle: () => ({ minWidth: '38.46%', width: '38.46%' }),\n }),\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: ,\n },\n {\n dataField: 'user',\n text: 'Added By',\n headerAlign: 'start',\n cellClasses: 'added-by-cell',\n component: (_cell, row) => ,\n headerStyle: () => ({ minWidth: '20.19%', width: '20.19%' }),\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: (\n \n ),\n },\n {\n dataField: 'createdAt',\n text: 'Added On',\n headerAlign: 'start',\n cellClasses: 'updated-at-cell',\n component: (_cell, row) => (\n \n ),\n headerStyle: () => ({ minWidth: '27.69%', width: '27.69%' }),\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: (\n \n ),\n },\n ];\n};\n","import React, { useEffect, useRef, useState } from 'react';\nimport { Trash } from '@saleshandy/icons';\n\nimport type { IProps } from './do-not-contact-list-details-table-container';\n\nimport SelectedEmailsDomainsRowInfoBanner from './selected-emails-domains-info-banner';\nimport Table from '../../../../../../../../shared/design-system/components/organisms/table';\nimport { PaginationShowHide } from '../../../../../../../../shared/design-system/components/organisms/table/types';\nimport { getDoNotContactListDetailsColumns } from './utils/get-do-not-contact-list-details-columns';\nimport { constants } from '../../../../../../../../shared/enums/constants';\nimport { executeOnRequestStatus } from '../../../../../../../../shared/utils';\n\nimport {\n checkIsTableLastPage,\n getShouldShowSelectedRowInfoBanner,\n isCurrentPageUnderTheSelectAllPage,\n} from './utils/bulk-action-helper-function';\nimport hasPermission from '../../../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../../../shared/utils/access-control/enums/permissions';\n\nconst DoNotContactListDetailsTable: React.FC = ({\n doNotContactListDetails,\n doNotContactListDetailsPaginationOptions,\n filters,\n onFiltersChange,\n onAction,\n isLoading,\n getDoNotContactListDetailsRequestStatus,\n\n // bulk action state & handler\n resetSelected,\n handleResetSelected,\n bulkSelectedDNCListEmailsAndDomains,\n selectedDNCListEmailsAndDomains,\n clearDNCListEmailsAndDomainsSelection,\n onBulkSelectDNCListEmailsAndDomains,\n selectAllDNCListEmailsAndDomains,\n selectSingleDNCListEmailsAndDomains,\n}) => {\n const dncListEmailsAndDomainsTableRef = useRef(null);\n const [\n isBulkEmailsAndDomainsSelected,\n setIsBulkEmailsAndDomainsSelected,\n ] = useState(false);\n\n // handle table pagination change\n const onPaginationOptionsChange = ({ page, limit }) => {\n if (filters.page === page && filters.limit === limit) {\n return;\n }\n onFiltersChange({ page, limit });\n };\n\n // * handle select/deselect all rows within a page\n const handleSelectDeselectRows = (rows: any, status: boolean) => {\n selectAllDNCListEmailsAndDomains({ rows, status });\n setIsBulkEmailsAndDomainsSelected(false);\n };\n\n // * handle bulk select from banner\n const handleSelectAllRows = () => {\n if (\n checkIsTableLastPage(\n doNotContactListDetailsPaginationOptions.currentPage,\n doNotContactListDetailsPaginationOptions.itemsPerPage,\n )\n ) {\n dncListEmailsAndDomainsTableRef?.current?.selectAllCurrentPageRows();\n } else {\n dncListEmailsAndDomainsTableRef?.current?.resetSelectedRows();\n }\n\n onBulkSelectDNCListEmailsAndDomains({\n isAllDNCListEmailsAndDomainsSelected: true,\n deSelectedDNCListEmailsAndDomainsIds: [],\n });\n };\n\n // * handle clear selection\n const handleClearSelection = (resetSelectedRows = false) => {\n clearDNCListEmailsAndDomainsSelection();\n handleSelectDeselectRows(doNotContactListDetails, false);\n\n if (\n isCurrentPageUnderTheSelectAllPage(\n bulkSelectedDNCListEmailsAndDomains,\n doNotContactListDetailsPaginationOptions?.currentPage,\n doNotContactListDetailsPaginationOptions?.itemsPerPage,\n ) ||\n resetSelectedRows\n ) {\n dncListEmailsAndDomainsTableRef.current?.resetSelectedRows();\n }\n };\n\n // * handle reset selection via select all\n const handleResetSelectAllRows = () => {\n const shouldResetSelection = isCurrentPageUnderTheSelectAllPage(\n bulkSelectedDNCListEmailsAndDomains,\n doNotContactListDetailsPaginationOptions?.currentPage,\n doNotContactListDetailsPaginationOptions?.itemsPerPage,\n );\n\n if (!shouldResetSelection && shouldResetSelection !== undefined) {\n handleClearSelection();\n }\n };\n\n // * handle select single row\n const handleSelectSingleRow = (row: any, status: boolean) => {\n selectSingleDNCListEmailsAndDomains({ row, status });\n handleResetSelectAllRows();\n setIsBulkEmailsAndDomainsSelected(false);\n };\n\n // * select all rows on current page\n const selectAllCurrentPageRows = () => {\n const lastPage =\n constants.BULK_DELETE_DNC_LIST_EMAILS_DOMAINS /\n doNotContactListDetailsPaginationOptions?.itemsPerPage;\n\n if (\n doNotContactListDetailsPaginationOptions?.totalItems <=\n constants.BULK_DELETE_DNC_LIST_EMAILS_DOMAINS ||\n lastPage > doNotContactListDetailsPaginationOptions?.currentPage\n ) {\n dncListEmailsAndDomainsTableRef.current?.selectAllCurrentPageRows();\n } else {\n dncListEmailsAndDomainsTableRef.current?.resetSelectedRows();\n }\n };\n\n const actions = [\n {\n key: 'delete',\n iconElement: ,\n displayName: 'Delete',\n position: 'out',\n },\n ];\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getDoNotContactListDetailsRequestStatus,\n onSuccess: () => {\n if (\n bulkSelectedDNCListEmailsAndDomains?.isAllDNCListEmailsAndDomainsSelected\n ) {\n selectAllCurrentPageRows();\n }\n },\n });\n }, [getDoNotContactListDetailsRequestStatus]);\n\n useEffect(\n () => () => {\n handleClearSelection();\n },\n [],\n );\n\n return (\n
    \n {getShouldShowSelectedRowInfoBanner(\n selectedDNCListEmailsAndDomains,\n bulkSelectedDNCListEmailsAndDomains,\n isBulkEmailsAndDomainsSelected,\n ) && (\n
    \n handleClearSelection(true)}\n />\n
    \n )}\n\n {\n dncListEmailsAndDomainsTableRef.current = refValue;\n }}\n />\n
    \n );\n};\n\nexport default DoNotContactListDetailsTable;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../../../../../store/root-reducer';\n\nimport DoNotContactListDetailsTable from './do-not-contact-list-details-table';\n\nimport {\n PaginationOptions,\n DoNotContactListDetailsFilter,\n DoNotContactListEmailsAndDomains,\n BulkSelectedDNCListEmailsAndDomains,\n} from '../../../../../../types/do-not-contact-list';\n\nimport {\n clearDNCListEmailsAndDomainsSelection,\n onBulkSelectDNCListEmailsAndDomains,\n selectAllDNCListEmailsAndDomains,\n selectSingleDNCListEmailsAndDomains,\n} from '../../../../do-not-contact-slice';\n\nconst mapStateToProps = (state: RootState) => ({\n bulkSelectedDNCListEmailsAndDomains:\n state.doNotContact.bulkSelectedDNCListEmailsAndDomains,\n selectedDNCListEmailsAndDomains:\n state.doNotContact.selectedDNCListEmailsAndDomains,\n\n getDoNotContactListDetailsRequestStatus:\n state.doNotContact.getDoNotContactListDetailsRequest.status,\n});\n\nconst mapDispatchToProps = {\n onBulkSelectDNCListEmailsAndDomains: (\n payload: BulkSelectedDNCListEmailsAndDomains,\n ) => onBulkSelectDNCListEmailsAndDomains(payload),\n selectAllDNCListEmailsAndDomains: (payload: {\n rows: any[];\n status: boolean;\n }) => selectAllDNCListEmailsAndDomains(payload),\n clearDNCListEmailsAndDomainsSelection: () =>\n clearDNCListEmailsAndDomainsSelection(),\n selectSingleDNCListEmailsAndDomains: (payload: {\n row: any;\n status: boolean;\n }) => selectSingleDNCListEmailsAndDomains(payload),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n doNotContactListDetails: DoNotContactListEmailsAndDomains[];\n doNotContactListDetailsPaginationOptions: PaginationOptions;\n filters: DoNotContactListDetailsFilter;\n onFiltersChange: (payload: Partial) => void;\n onAction: (\n key: string,\n doNotContactList: DoNotContactListEmailsAndDomains,\n ) => void;\n isLoading: boolean;\n resetSelected: boolean;\n handleResetSelected: VoidFunction;\n};\n\nexport default connector(DoNotContactListDetailsTable);\n","import React, { useRef } from 'react';\nimport { accessibleOnClick } from '../../../../../../../../../../../shared/utils/accessible-on-click';\n\nexport type IProps = {\n onSelect: (file: File) => void;\n};\n\nconst ChooseFileInput: React.FC = ({ onSelect }) => {\n const ref = useRef(null);\n\n const inputClicked = () => ref.current.click();\n\n const inputChangeHandler = ({ target: { files } }) =>\n files.length > 0 && onSelect(files[0]);\n\n return (\n
    \n
    Choose a file
    \n \n
    \n );\n};\n\nexport default ChooseFileInput;\n","import React, { useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { CloudUpload } from '@saleshandy/icons';\nimport { DragAndDrop } from '@saleshandy/design-system';\nimport Papa from 'papaparse';\nimport classNames from 'classnames';\n\nimport {\n AllowedExtensions,\n CSVFileValidationErrors,\n FileConfig,\n} from '../../../../enum';\n\nimport ChooseFileInput from '../choose-file-input';\nimport toaster from '../../../../../../../../../../../shared/toaster';\n\ntype IProps = {\n onSelect?: (file: File, headers: string[]) => void;\n};\n\nconst PreSelect: React.FC = ({ onSelect }) => {\n const { t } = useTranslation();\n\n const [chooseFileInputKey, setChooseFileInputKey] = useState(0);\n\n const [dragging, setDragging] = useState(false);\n\n const resetChooseFileInputKey = () => {\n setChooseFileInputKey(1 - chooseFileInputKey);\n };\n\n const handleCsvError = (message: string) => {\n toaster.error(message);\n resetChooseFileInputKey();\n };\n\n const onFileSelect = (file: File) => {\n let headers: string[];\n let firstRow: string[];\n let count = 0;\n let failedMessage = '';\n\n const extension: string[] = file?.name?.split('.');\n\n if (!extension || extension.length === 0) {\n failedMessage = CSVFileValidationErrors.ExtensionNotAvailable;\n return handleCsvError(failedMessage);\n }\n\n const isExtensionAllowed = !AllowedExtensions.includes(\n extension[extension.length - 1].trim().toLowerCase(),\n );\n\n if (isExtensionAllowed) {\n failedMessage = CSVFileValidationErrors.TypeNotSupported;\n return handleCsvError(failedMessage);\n }\n\n if (file.size > FileConfig.MaxFileSizeInMB * 1024 * 1024) {\n failedMessage = CSVFileValidationErrors.SizeExceeds;\n return handleCsvError(failedMessage);\n }\n\n Papa.parse(file, {\n step: ({ data }, parser) => {\n if (count > FileConfig.MaxRows) {\n failedMessage = CSVFileValidationErrors.MaxRowsExceeds;\n return parser.abort();\n }\n\n if (count === 0) {\n headers = data;\n }\n if (count === 1) {\n firstRow = data;\n }\n count += 1;\n return null;\n },\n complete: () => {\n if (!failedMessage && !firstRow) {\n failedMessage = CSVFileValidationErrors.OneRowRequired;\n }\n if (failedMessage) {\n return handleCsvError(failedMessage);\n }\n onSelect(file, headers);\n return null;\n },\n skipEmptyLines: 'greedy',\n });\n\n return null;\n };\n\n const dragAndDropClassName = classNames([\n {\n dragging,\n },\n ]);\n\n return (\n onFileSelect(files[0])}\n backgroundVariant=\"solid\"\n title={t('messages.drop_your_csv_here')}\n className={dragAndDropClassName}\n >\n
    \n
    \n \n
    \n

    Drag & Drop your CSV of Emails or Domains

    \n

    OR

    \n \n
    \n \n );\n};\n\nexport default PreSelect;\n","import React from 'react';\nimport { AlertTriangle, Check, CloudUpload, Trash } from '@saleshandy/icons';\n\nimport ImageIcon from '../../../../../../../../../../../shared/components/images/image-icon';\nimport { Images } from '../../../../../../../../../../../shared/app-constants';\nimport { accessibleOnClick } from '../../../../../../../../../../../shared/utils/accessible-on-click';\n\ntype IProps = {\n fileName: string;\n onRemove: () => void;\n};\n\nconst getPostSelectState = (error: boolean) => {\n if (error) {\n return {\n importIcon: ,\n importMessage: 'Import failed.',\n actionIcon: ,\n actionMessage: 'Upload again',\n };\n }\n return {\n importIcon: ,\n importMessage: 'Successfully uploaded.',\n actionIcon: ,\n actionMessage: 'Remove file',\n };\n};\n\nconst PostSelect: React.FC = ({ fileName, onRemove }) => {\n const {\n importIcon,\n importMessage,\n actionIcon,\n actionMessage,\n } = getPostSelectState(false);\n\n return (\n
    \n
    \n \n
    \n\n
    {fileName}
    \n\n
    \n
    {importIcon}
    \n {importMessage}\n
    \n\n
    \n
    {actionIcon}
    \n {actionMessage}\n
    \n
    \n );\n};\n\nexport default PostSelect;\n","import React, { useCallback, useState } from 'react';\nimport classNames from 'classnames';\n\nimport { FileData } from '../../types';\n\nimport PreSelect from './components/pre-select';\nimport PostSelect from './components/post-select';\nimport toaster from '../../../../../../../../../shared/toaster';\n\ntype IProps = {\n handleCSVImport: (fileData: FileData) => void;\n};\n\nconst FileSelectorInput: React.FC = ({ handleCSVImport }) => {\n const [fileData, setFileData] = useState(null);\n\n const onRemove = () => {\n setFileData(null);\n handleCSVImport(null);\n };\n\n const onSelect = useCallback(\n (file, headers) => {\n const payload = {\n file,\n headers,\n };\n\n handleCSVImport(payload);\n setFileData(payload);\n\n toaster.success(`${file.name} file selected successfully`);\n },\n [setFileData],\n );\n\n const clsNames = classNames([\n 'file-selector-input--container',\n {\n 'pre-select-stage-container': !fileData,\n 'post-select-stage-container': fileData,\n },\n ]);\n\n return (\n <>\n
    \n {!fileData ? (\n
    \n \n
    \n ) : (\n
    \n \n
    \n )}\n
    \n \n );\n};\n\nexport default FileSelectorInput;\n","import React from 'react';\nimport { AlertCircle, CircleCheck } from '@saleshandy/icons';\nimport { ImportDoNotContactListEmailsAndDomainsResponse } from '../../../../../../types/do-not-contact-list';\n\ntype IProps = {\n importDoNotContactListEmailsAndDomainsResponse: ImportDoNotContactListEmailsAndDomainsResponse;\n};\n\nconst ImportReport: React.FC = ({\n importDoNotContactListEmailsAndDomainsResponse,\n}) => {\n const sections = [\n {\n topic: 'Imported Successfully',\n value: importDoNotContactListEmailsAndDomainsResponse?.success.count,\n icon: ,\n link: null,\n },\n {\n topic: 'Skipped',\n value: importDoNotContactListEmailsAndDomainsResponse?.skipped.count,\n icon: ,\n link:\n importDoNotContactListEmailsAndDomainsResponse?.skipped\n .reportFilePath || null,\n },\n ];\n\n return (\n
    \n
    \n

    Import Emails or Domains Report

    \n\n
    \n {sections.map(({ topic, value, icon, link }) => (\n
    \n

    {topic}

    \n
    \n
    \n {value}\n {icon}\n
    \n\n {link && value > 0 && (\n \n Download Error Report\n \n )}\n
    \n
    \n ))}\n
    \n
    \n
    \n );\n};\n\nexport default ImportReport;\n","import React, { useEffect, useMemo, useState } from 'react';\nimport { Download } from '@saleshandy/icons';\n\nimport type { IProps } from './import-emails-domains-via-csv-container';\nimport { FileData, MapFieldDropdownOption } from './types';\n\nimport Modal from '../../../../../../../shared/design-system/components/atoms/modal/modal';\nimport FileSelectorInput from './components/file-selector-input';\nimport Select from '../../../../../../../shared/design-system/components/select';\nimport hasPermission from '../../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../../shared/utils/access-control/enums/permissions';\nimport { isAgency } from '../../../../../../../shared/utils/user-details';\nimport { executeOnRequestStatus } from '../../../../../../../shared/utils';\nimport ImportReport from './components/import-report';\nimport { getListHelperText } from '../../../helper/get-list-helper-text';\nimport { constants } from '../../../../../../../shared/enums/constants';\n\nconst ImportEmailsDomainsViaCsv: React.FC = ({\n show,\n isLoading,\n onCancel,\n onSubmit,\n isGlobalList,\n importDoNotContactListEmailsAndDomainsRequestStatus,\n importDoNotContactListEmailsAndDomainsResponse,\n}) => {\n const [fileData, setFileData] = useState(null);\n const [\n selectedMappedHeader,\n setSelectedMappedHeader,\n ] = useState(null);\n const [isImportedSuccessfully, setIsImportedSuccessfully] = useState(false);\n\n const handleOnCancel = () => {\n onCancel();\n setIsImportedSuccessfully(false);\n setFileData(null);\n setSelectedMappedHeader(null);\n };\n\n const handleOnSubmit = () => {\n if (isImportedSuccessfully) {\n handleOnCancel();\n } else {\n onSubmit(fileData.file, selectedMappedHeader.header);\n }\n };\n\n const getDefaultSelectedHeader = (\n headers: MapFieldDropdownOption[],\n ): MapFieldDropdownOption => {\n if (headers.length === 1) {\n return headers[0];\n }\n\n const defaultHeader = headers.find(({ header }) =>\n /(email|domain)/i.test(header),\n );\n return defaultHeader || null;\n };\n\n const handleCSVImport = (file: FileData) => {\n setFileData(file);\n\n if (!file) {\n setSelectedMappedHeader(null);\n }\n };\n\n const generateMapFieldDropdownOptions = useMemo((): MapFieldDropdownOption[] => {\n if (fileData) {\n const headers = fileData.headers.map((header, index) => ({\n key: index.toString(),\n header,\n }));\n\n setSelectedMappedHeader(getDefaultSelectedHeader(headers));\n\n return headers;\n }\n\n return [];\n }, [fileData]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: importDoNotContactListEmailsAndDomainsRequestStatus,\n onSuccess: () => {\n setIsImportedSuccessfully(true);\n setFileData(null);\n setSelectedMappedHeader(null);\n },\n onFailed: () => {\n setFileData(null);\n setSelectedMappedHeader(null);\n },\n });\n }, [importDoNotContactListEmailsAndDomainsRequestStatus]);\n\n const isAgencyUser = hasPermission(Permissions.CLIENT_READ) && isAgency();\n\n return (\n \n \n
    \n \n
    \n

    Try Sample File

    \n \n \n ),\n })}\n >\n {isImportedSuccessfully ? (\n \n ) : (\n <>\n \n\n

    \n Only the first 10,000 valid items from the selected column will be\n processed and Max file size allowed is 5 MB\n

    \n\n
    \n

    Map Domain / Email Column

    \n\n \n selectedOptionKey={selectedMappedHeader?.key}\n options={generateMapFieldDropdownOptions}\n selectedOptionRenderer={([option]) => (\n {option?.header}\n )}\n optionRenderer={(option) => (\n {option?.header}\n )}\n onChange={([selectedOption]) => {\n setSelectedMappedHeader(selectedOption);\n }}\n showSearch\n optionFilterProp=\"header\"\n filterOption={(value, option) =>\n option?.header?.toLowerCase().includes(value.toLowerCase())\n }\n placeholder=\"Select field\"\n disabled={!fileData || fileData?.headers?.length === 0}\n />\n
    \n\n
    \n

    \n {getListHelperText({\n isAgencyUser,\n isGlobalList,\n messageSpecificFor: 'user',\n })}\n

    \n
    \n \n )}\n \n );\n};\nexport default ImportEmailsDomainsViaCsv;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../../../../store/root-reducer';\nimport ImportEmailsDomainsViaCsv from './import-emails-domains-via-csv';\n\nconst mapStateToProps = (state: RootState) => ({\n importDoNotContactListEmailsAndDomainsRequestStatus:\n state.doNotContact.importDoNotContactListEmailsAndDomainsRequest.status,\n importDoNotContactListEmailsAndDomainsResponse:\n state.doNotContact.importDoNotContactListEmailsAndDomainsResponse,\n});\n\nconst mapDispatchToProps = {};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n show: boolean;\n isLoading: boolean;\n isGlobalList: boolean;\n onCancel: VoidFunction;\n onSubmit: (file: File, emailsDomainsColumn: string) => void;\n};\n\nexport default connector(ImportEmailsDomainsViaCsv);\n","import React, { useState } from 'react';\nimport SearchInput from '../../../../../../../shared/design-system/components/atoms/search-input';\nimport { IconPlace } from '../../../../../../../shared/design-system/components/input/enums';\nimport { DoNotContactListDetailsFilter } from '../../../../../types/do-not-contact-list';\n\ntype IProps = {\n filters: DoNotContactListDetailsFilter;\n onFiltersChange: (\n payload: Partial,\n resetSelection: boolean,\n ) => void;\n};\n\nconst DoNotContactListDetailsSearch: React.FC = ({\n filters,\n onFiltersChange,\n}) => {\n const [search, setSearch] = useState(filters.search || '');\n\n const onSearch = () => {\n onFiltersChange({ search, page: 1 }, true);\n };\n\n const onClearSearch = () => {\n setSearch('');\n onFiltersChange({ search: '', page: 1 }, true);\n };\n\n return (\n \n );\n};\n\nexport default DoNotContactListDetailsSearch;\n","import React, { useEffect, useState } from 'react';\nimport { useHistory, useLocation, useParams } from 'react-router';\nimport { SkeletonLoading } from '@saleshandy/design-system';\nimport { isEmpty } from 'lodash';\n\nimport api from '../../../../../../api';\nimport type { IProps } from './do-not-contact-list-details-container';\nimport { DoNoContactValueType } from '../../../../enums/do-not-contact-list';\nimport {\n DoNotContactList,\n DoNotContactListDetailsFilter,\n DoNotContactListEmailsAndDomains,\n} from '../../../../types/do-not-contact-list';\n\nimport { NoDNCListFound } from '../../../../../../shared/svg';\nimport toaster from '../../../../../../shared/toaster';\nimport Select from '../../../../../../shared/design-system/components/select';\nimport DeleteButton from '../../../../../../shared/design-system/components/atoms/delete-button';\nimport ExportButton from '../../../../../../shared/design-system/components/atoms/export-button/export-button';\n\nimport AddModifyDoNotContactList from '../modals/add-modify-do-not-contact-list';\nimport DeleteDoNotContactList from '../modals/delete-do-not-contact-list';\nimport DoNotContactListDetailsHeader from './components/do-not-contact-list-details-header';\nimport DoNotContactListDetailsInput from './components/do-not-contact-list-details-input';\nimport DoNotContactListDetailsTable from './components/do-not-contact-list-details-table';\nimport ImportEmailsDomainsViaCsv from '../modals/import-emails-domains-via-csv';\n\nimport { getListAssociatedByName } from '../../helper/get-list-associated-by-name';\nimport {\n executeOnErrorWithErrorCheck,\n executeOnRequestStatus,\n getIsRequestPending,\n} from '../../../../../../shared/utils';\nimport DoNotContactListDetailsSearch from './components/do-not-contact-list-details-search';\nimport DoNotContactListEmptyUI from '../do-not-contact-list/components/do-not-contact-list-empty-ui/do-not-contact-list-empty-ui';\nimport hasPermission from '../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../shared/utils/access-control/enums/permissions';\nimport {\n getEntriesMessage,\n getEntriesTitle,\n} from '../../helper/get-entries-message';\nimport {\n isWhiteLabel,\n isWhitelabelWithClientView,\n} from '../../../../../../shared/utils/user-details';\n\nconst filterOptions = [\n {\n key: DoNoContactValueType.ALL,\n label: 'All',\n },\n {\n key: DoNoContactValueType.DOMAIN,\n label: 'Domains',\n },\n {\n key: DoNoContactValueType.EMAIL,\n label: 'Emails',\n },\n];\n\nconst DoNotContactListDetails: React.FC = ({\n doNotContactListDetailsMeta,\n doNotContactListDetails,\n doNotContactListDetailsPaginationOptions,\n\n sendGetDoNotContactListDetailsMetaRequest,\n getDoNotContactListDetailsMetaRequestStatus,\n getDoNotContactListDetailsMetaRequestError,\n resetDoNotContactListDetailsMeta,\n\n getDoNotContactListDetailsRequestStatus,\n getDoNotContactListDetailsRequestError,\n sendGetDoNotContactListDetailsRequest,\n resetGetDoNotContactListDetailsRequest,\n\n updateDoNotContactListRequestStatus,\n updateDoNotContactListRequestError,\n sendUpdateDoNotContactListRequest,\n resetUpdateDoNotContactListRequest,\n\n updateDoNotContactListDetailsRequestStatus,\n\n agencyClients,\n sendGetAgencyClientsDropdownRequest,\n\n sendDeleteDoNotContactListEmailsAndDomainsRequest,\n resetDeleteDoNotContactListEmailsAndDomainsRequest,\n deleteDoNotContactListEmailsAndDomainsRequestStatus,\n deleteDoNotContactListEmailsAndDomainsRequestError,\n\n sendImportDoNotContactListEmailsAndDomainsRequest,\n resetImportDoNotContactListEmailsAndDomainsRequest,\n importDoNotContactListEmailsAndDomainsRequestStatus,\n importDoNotContactListEmailsAndDomainsRequestError,\n\n sendBulkDeleteDoNotContactListEmailsAndDomainsRequest,\n resetBulkDeleteDoNotContactListEmailsAndDomainsRequest,\n bulkDeleteDoNotContactListEmailsAndDomainsRequestStatus,\n bulkDeleteDoNotContactListEmailsAndDomainsRequestError,\n\n selectedDNCListEmailsAndDomains,\n bulkSelectedDNCListEmailsAndDomains,\n clearDNCListEmailsAndDomainsSelection,\n resetSelectedDNCListEmailsAndDomains,\n}) => {\n const history = useHistory();\n const location = useLocation<{ row: DoNotContactList }>();\n const { row } = location.state || {};\n\n const { listId: doNotContactListId } = useParams<{ listId: string }>();\n\n const [dncListRow, setDncListRow] = useState(row);\n\n const [filters, setFilters] = useState({\n page: 1,\n limit: 25,\n search: '',\n type: filterOptions[0].key,\n });\n\n const [resetSelected, setResetSelected] = useState(false);\n\n const [\n selectedEmailOrDomain,\n setSelectedEmailOrDomain,\n ] = useState(null);\n const [\n modifyDoNotContactListModal,\n setModifyDoNotContactListModal,\n ] = useState(false);\n const [\n deleteDoNotContactListModal,\n setDeleteDoNotContactListModal,\n ] = useState(false);\n const [\n importDoNotContactListModal,\n setImportDoNotContactListModal,\n ] = useState(false);\n\n const onShowModifyDoNotContactListModal = () => {\n setModifyDoNotContactListModal(true);\n };\n\n const onHideModifyDoNotContactListModal = () => {\n setModifyDoNotContactListModal(false);\n };\n\n const onShowDeleteDoNotContactListModal = () => {\n setDeleteDoNotContactListModal(true);\n };\n\n const onHideDeleteDoNotContactListModal = () => {\n setDeleteDoNotContactListModal(false);\n setSelectedEmailOrDomain(null);\n };\n\n const onShowImportDoNotContactListModal = () => {\n setImportDoNotContactListModal(true);\n };\n\n const onHideImportDoNotContactListModal = () => {\n setImportDoNotContactListModal(false);\n };\n\n const handleResetSelected = (value = false) => {\n setResetSelected(value);\n };\n\n const onFiltersChange = (\n partialFilters: Partial,\n resetSelection = false,\n ) => {\n const updatedFilters = {\n ...filters,\n ...partialFilters,\n };\n\n setFilters(updatedFilters);\n sendGetDoNotContactListDetailsRequest({\n id: doNotContactListId,\n ...updatedFilters,\n });\n\n if (resetSelection) {\n clearDNCListEmailsAndDomainsSelection();\n handleResetSelected(true);\n }\n };\n\n const onDeleteEmailsAndDomains = () => {\n sendDeleteDoNotContactListEmailsAndDomainsRequest({\n dncListId: doNotContactListId,\n emailDomainsIds: [selectedEmailOrDomain.id],\n });\n };\n\n const onBulkDeleteEmailsAndDomains = () => {\n if (\n bulkSelectedDNCListEmailsAndDomains &&\n bulkSelectedDNCListEmailsAndDomains.isAllDNCListEmailsAndDomainsSelected\n ) {\n sendBulkDeleteDoNotContactListEmailsAndDomainsRequest({\n dncListId: doNotContactListId,\n dncDetailsFilter: {\n search: filters.search,\n type: filters.type,\n },\n deSelectedIds:\n bulkSelectedDNCListEmailsAndDomains.deSelectedDNCListEmailsAndDomainsIds,\n });\n } else {\n sendDeleteDoNotContactListEmailsAndDomainsRequest({\n dncListId: doNotContactListId,\n emailDomainsIds: selectedDNCListEmailsAndDomains?.map((obj) => obj.id),\n });\n }\n };\n\n const onDeleteModalSubmit = () => {\n if (selectedEmailOrDomain) {\n onDeleteEmailsAndDomains();\n } else {\n onBulkDeleteEmailsAndDomains();\n }\n };\n\n const onAction = (\n key: string,\n actionRow: DoNotContactListEmailsAndDomains,\n ) => {\n if (key === 'delete') {\n setSelectedEmailOrDomain(actionRow);\n onShowDeleteDoNotContactListModal();\n }\n };\n\n const handleImport = (file: File, emailsDomainsColumn: string) => {\n sendImportDoNotContactListEmailsAndDomainsRequest({\n dncListId: doNotContactListId,\n file,\n emailsDomainsColumn,\n });\n };\n\n const handleExport = async () => {\n const isBulkAction =\n bulkSelectedDNCListEmailsAndDomains?.isAllDNCListEmailsAndDomainsSelected ||\n false;\n\n const result = await api.post(`/dnc/${doNotContactListId}/export`, {\n type: filters.type,\n ...(filters?.search !== '' && {\n search: filters.search,\n }),\n isBulkAction,\n ...(!isBulkAction &&\n selectedDNCListEmailsAndDomains?.length > 0 && {\n selectedIds: selectedDNCListEmailsAndDomains?.map((obj) => obj.id),\n }),\n ...(isBulkAction &&\n bulkSelectedDNCListEmailsAndDomains\n ?.deSelectedDNCListEmailsAndDomainsIds?.length > 0 && {\n deSelectedIds:\n bulkSelectedDNCListEmailsAndDomains?.deSelectedDNCListEmailsAndDomainsIds,\n }),\n });\n\n const { message, status } = result.payload;\n\n if (status === 0) {\n toaster.error(message);\n } else if (status === 2) {\n toaster.warning(\n isWhitelabelWithClientView()\n ? 'Exporting data has been started successfully. You will shortly receive a notification with the exported data. (Estimate 30 mins)'\n : message,\n );\n } else {\n toaster.success(\n isWhitelabelWithClientView()\n ? 'Exporting data has been started successfully. You will shortly receive a notification with the exported data. (Estimate 30 mins)'\n : message,\n );\n }\n };\n\n const getNoResultMetaData = () => {\n if (filters.search === '' && filters.type === DoNoContactValueType.DOMAIN) {\n return {\n title: 'No Domains Found',\n desc: 'We can’t find any domains entries.',\n };\n }\n if (filters.search === '' && filters.type === DoNoContactValueType.EMAIL) {\n return {\n title: 'No Emails Found',\n desc: 'We can’t find any emails entries.',\n };\n }\n return {\n title: 'No Search Result',\n desc: 'We can’t find any entries matching your search.',\n };\n };\n\n const getIsGlobalList = () =>\n isEmpty(doNotContactListDetailsMeta?.client) && isEmpty(dncListRow?.client);\n\n useEffect(() => {\n if (doNotContactListId) {\n if (!dncListRow) {\n sendGetDoNotContactListDetailsMetaRequest(doNotContactListId);\n }\n sendGetDoNotContactListDetailsRequest({\n id: doNotContactListId,\n ...filters,\n });\n resetSelectedDNCListEmailsAndDomains();\n }\n\n return () => {\n setDncListRow(null);\n resetDoNotContactListDetailsMeta();\n };\n }, []);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getDoNotContactListDetailsMetaRequestStatus,\n onSuccess: () => {\n if (doNotContactListDetailsMeta) {\n const updatedRow = {\n ...dncListRow,\n id: doNotContactListDetailsMeta.id,\n name: doNotContactListDetailsMeta.name,\n client: doNotContactListDetailsMeta.client,\n totalDomainsCount: doNotContactListDetailsMeta.totalDomainsCount,\n totalEmailsCount: doNotContactListDetailsMeta.totalEmailsCount,\n };\n setDncListRow(updatedRow);\n }\n },\n onFailed: () => {\n executeOnErrorWithErrorCheck({\n error: getDoNotContactListDetailsMetaRequestError,\n onError: () => {\n toaster.error(getDoNotContactListDetailsMetaRequestError?.message);\n },\n });\n },\n });\n }, [getDoNotContactListDetailsMetaRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getDoNotContactListDetailsRequestStatus,\n onSuccess: () => {\n resetGetDoNotContactListDetailsRequest();\n },\n onFailed: () => {\n resetGetDoNotContactListDetailsRequest();\n executeOnErrorWithErrorCheck({\n error: getDoNotContactListDetailsRequestError,\n onError: () => {\n toaster.error(getDoNotContactListDetailsRequestError?.message);\n },\n });\n },\n });\n }, [getDoNotContactListDetailsRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: updateDoNotContactListRequestStatus,\n onSuccess: () => {\n toaster.success('List modified successfully');\n sendGetDoNotContactListDetailsMetaRequest(doNotContactListId);\n onHideModifyDoNotContactListModal();\n resetUpdateDoNotContactListRequest();\n },\n onFailed: () => {\n resetUpdateDoNotContactListRequest();\n onHideModifyDoNotContactListModal();\n executeOnErrorWithErrorCheck({\n error: updateDoNotContactListRequestError,\n onError: () => {\n toaster.error(updateDoNotContactListRequestError?.message);\n },\n });\n },\n });\n }, [updateDoNotContactListRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: updateDoNotContactListDetailsRequestStatus,\n onSuccess: () => {\n sendGetDoNotContactListDetailsMetaRequest(doNotContactListId);\n sendGetDoNotContactListDetailsRequest({\n id: doNotContactListId,\n ...filters,\n });\n },\n });\n }, [updateDoNotContactListDetailsRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: deleteDoNotContactListEmailsAndDomainsRequestStatus,\n onSuccess: () => {\n toaster.success(\n getEntriesMessage(\n 'deleted',\n selectedEmailOrDomain,\n selectedDNCListEmailsAndDomains,\n bulkSelectedDNCListEmailsAndDomains?.isAllDNCListEmailsAndDomainsSelected,\n ),\n );\n sendGetDoNotContactListDetailsMetaRequest(doNotContactListId);\n\n if (selectedEmailOrDomain) {\n if (doNotContactListDetailsPaginationOptions?.itemCount === 1) {\n onFiltersChange({\n page: 1,\n });\n } else {\n sendGetDoNotContactListDetailsRequest({\n id: doNotContactListId,\n ...filters,\n });\n }\n } else {\n sendGetDoNotContactListDetailsRequest({\n id: doNotContactListId,\n ...filters,\n page: 1,\n });\n }\n\n onHideDeleteDoNotContactListModal();\n clearDNCListEmailsAndDomainsSelection();\n handleResetSelected(true);\n resetDeleteDoNotContactListEmailsAndDomainsRequest();\n },\n onFailed: () => {\n resetDeleteDoNotContactListEmailsAndDomainsRequest();\n onHideDeleteDoNotContactListModal();\n clearDNCListEmailsAndDomainsSelection();\n handleResetSelected(true);\n executeOnErrorWithErrorCheck({\n error: deleteDoNotContactListEmailsAndDomainsRequestError,\n onError: () => {\n toaster.error(\n deleteDoNotContactListEmailsAndDomainsRequestError?.message,\n );\n },\n });\n },\n });\n }, [deleteDoNotContactListEmailsAndDomainsRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: importDoNotContactListEmailsAndDomainsRequestStatus,\n onSuccess: () => {\n toaster.success(\n isWhiteLabel()\n ? 'You will shortly receive a notification with blacklist data import report. (Estimate 30 min)'\n : 'You will shortly receive an email with blacklist data import report. (Estimate 30 min)',\n );\n sendGetDoNotContactListDetailsMetaRequest(doNotContactListId);\n sendGetDoNotContactListDetailsRequest({\n id: doNotContactListId,\n ...filters,\n });\n resetImportDoNotContactListEmailsAndDomainsRequest();\n },\n onFailed: () => {\n resetImportDoNotContactListEmailsAndDomainsRequest();\n executeOnErrorWithErrorCheck({\n error: importDoNotContactListEmailsAndDomainsRequestError,\n onError: () => {\n toaster.error(\n importDoNotContactListEmailsAndDomainsRequestError?.message,\n );\n },\n });\n },\n });\n }, [importDoNotContactListEmailsAndDomainsRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: bulkDeleteDoNotContactListEmailsAndDomainsRequestStatus,\n onSuccess: () => {\n toaster.success('Entries deleted successfully');\n sendGetDoNotContactListDetailsMetaRequest(doNotContactListId);\n sendGetDoNotContactListDetailsRequest({\n id: doNotContactListId,\n ...filters,\n page: 1,\n });\n onHideDeleteDoNotContactListModal();\n resetBulkDeleteDoNotContactListEmailsAndDomainsRequest();\n clearDNCListEmailsAndDomainsSelection();\n handleResetSelected(true);\n },\n onFailed: () => {\n resetBulkDeleteDoNotContactListEmailsAndDomainsRequest();\n onHideDeleteDoNotContactListModal();\n clearDNCListEmailsAndDomainsSelection();\n handleResetSelected(true);\n executeOnErrorWithErrorCheck({\n error: bulkDeleteDoNotContactListEmailsAndDomainsRequestError,\n onError: () => {\n toaster.error(\n bulkDeleteDoNotContactListEmailsAndDomainsRequestError?.message,\n );\n },\n });\n },\n });\n }, [bulkDeleteDoNotContactListEmailsAndDomainsRequestStatus]);\n\n if (!hasPermission(Permissions.DNC_LIST_READ)) {\n history.push('/settings/dnc-list');\n return null;\n }\n\n const getDoNotContactListDetailsMetaRequestLoading = getIsRequestPending(\n getDoNotContactListDetailsMetaRequestStatus,\n );\n const getDoNotContactListDetailsRequestLoading = getIsRequestPending(\n getDoNotContactListDetailsRequestStatus,\n );\n const importDoNotContactListEmailsAndDomainsRequestStatusLoading = getIsRequestPending(\n importDoNotContactListEmailsAndDomainsRequestStatus,\n );\n\n const renderTableHeader = () => (\n
    \n
    \n {getDoNotContactListDetailsRequestLoading && filters.search === '' ? (\n <>\n \n \n \n ) : (\n <>\n \n\n {option?.label}}\n selectedOptionRenderer={([option]) => (\n {option?.label}\n )}\n onChange={([option]) => {\n onFiltersChange({ type: option.key }, true);\n }}\n />\n \n )}\n
    \n\n
    \n {getDoNotContactListDetailsRequestLoading && filters.search === '' ? (\n <>\n \n \n ) : (\n <>\n {selectedDNCListEmailsAndDomains.length > 0 && (\n \n )}\n\n {doNotContactListDetails?.length > 0 && (\n \n )}\n \n )}\n
    \n
    \n );\n\n const renderTableJSX = () => {\n if (\n doNotContactListDetails?.length === 0 &&\n !getDoNotContactListDetailsRequestLoading &&\n filters.search === '' &&\n filters.type === DoNoContactValueType.ALL\n ) {\n return null;\n }\n\n if (\n doNotContactListDetails?.length === 0 &&\n !getDoNotContactListDetailsRequestLoading\n ) {\n const { title, desc } = getNoResultMetaData();\n return (\n <>\n {renderTableHeader()}\n }\n title={title}\n desc={desc}\n />\n \n );\n }\n\n return (\n <>\n {renderTableHeader()}\n \n \n );\n };\n\n return (\n
    \n \n\n {hasPermission(Permissions.DNC_LIST_WRITE) && (\n \n )}\n\n {renderTableJSX()}\n\n \n\n \n\n \n
    \n );\n};\n\nexport default DoNotContactListDetails;\n","import { isEmpty } from 'lodash';\nimport { ClientAssociated } from '../../../types/do-not-contact-list';\nimport { getClientName } from '../../../../agency-client-management/helpers/helpers';\nimport { AgencyClientFilter } from '../../../../agency-client-management/types/types';\n\nexport const getListAssociatedByName = (\n client: Partial,\n): string => {\n if (isEmpty(client)) {\n return 'All Clients (Global)';\n }\n\n return getClientName(client as AgencyClientFilter, 72, {\n company: true,\n email: true,\n });\n};\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../../../store/root-reducer';\n\nimport DoNotContactListDetails from './do-not-contact-list-details';\n\nimport {\n bulkDeleteDoNotContactListEmailsAndDomainsRequest,\n deleteDoNotContactListEmailsAndDomainsRequest,\n getDoNotContactListDetailsMetaRequest,\n getDoNotContactListDetailsRequest,\n updateDoNotContactListRequest,\n importDoNotContactListEmailsAndDomainsRequest,\n} from '../../extra-actions';\nimport {\n clearDNCListEmailsAndDomainsSelection,\n resetGetDoNotContactListDetailsRequest,\n resetSelectedDNCListEmailsAndDomains,\n resetUpdateDoNotContactListRequest,\n resetDeleteDoNotContactListEmailsAndDomainsRequest,\n resetBulkDeleteDoNotContactListEmailsAndDomainsRequest,\n resetImportDoNotContactListEmailsAndDomainsRequest,\n resetDoNotContactListDetailsMeta,\n} from '../../do-not-contact-slice';\nimport { GetAgencyClientDropdownRequestPayload } from '../../../../../agency-client-management/types/request-payload';\nimport { getAgencyClientsDropdown } from '../../../../../agency-client-management/extra-actions';\nimport {\n BulkDeleteDoNotContactListEmailsAndDomainsPayload,\n DeleteDoNotContactListEmailsAndDomainsPayload,\n GetDoNotContactListDetailsPayload,\n ImportEmailsAndDomainsViaCsvPayload,\n UpdateDoNotContactListPayload,\n} from '../../../../types/do-not-contact-list';\n\nconst mapStateToProps = (state: RootState) => ({\n getDoNotContactListDetailsMetaRequestStatus:\n state.doNotContact.getDoNotContactListDetailsMetaRequest.status,\n getDoNotContactListDetailsMetaRequestMessage:\n state.doNotContact.getDoNotContactListDetailsMetaRequest.message,\n getDoNotContactListDetailsMetaRequestError:\n state.doNotContact.getDoNotContactListDetailsMetaRequest.error,\n\n getDoNotContactListDetailsRequestStatus:\n state.doNotContact.getDoNotContactListDetailsRequest.status,\n getDoNotContactListDetailsRequestMessage:\n state.doNotContact.getDoNotContactListDetailsRequest.message,\n getDoNotContactListDetailsRequestError:\n state.doNotContact.getDoNotContactListDetailsRequest.error,\n\n updateDoNotContactListRequestStatus:\n state.doNotContact.updateDoNotContactListRequest.status,\n updateDoNotContactListRequestMessage:\n state.doNotContact.updateDoNotContactListRequest.message,\n updateDoNotContactListRequestError:\n state.doNotContact.updateDoNotContactListRequest.error,\n\n updateDoNotContactListDetailsRequestStatus:\n state.doNotContact.updateDoNotContactListDetailsRequest.status,\n updateDoNotContactListDetailsRequestMessage:\n state.doNotContact.updateDoNotContactListDetailsRequest.message,\n updateDoNotContactListDetailsRequestError:\n state.doNotContact.updateDoNotContactListDetailsRequest.error,\n\n deleteDoNotContactListEmailsAndDomainsRequestStatus:\n state.doNotContact.deleteDoNotContactListEmailsAndDomainsRequest.status,\n deleteDoNotContactListEmailsAndDomainsRequestMessage:\n state.doNotContact.deleteDoNotContactListEmailsAndDomainsRequest.message,\n deleteDoNotContactListEmailsAndDomainsRequestError:\n state.doNotContact.deleteDoNotContactListEmailsAndDomainsRequest.error,\n\n bulkDeleteDoNotContactListEmailsAndDomainsRequestStatus:\n state.doNotContact.bulkDeleteDoNotContactListEmailsAndDomainsRequest.status,\n bulkDeleteDoNotContactListEmailsAndDomainsRequestMessage:\n state.doNotContact.bulkDeleteDoNotContactListEmailsAndDomainsRequest\n .message,\n bulkDeleteDoNotContactListEmailsAndDomainsRequestError:\n state.doNotContact.bulkDeleteDoNotContactListEmailsAndDomainsRequest.error,\n\n importDoNotContactListEmailsAndDomainsRequestStatus:\n state.doNotContact.importDoNotContactListEmailsAndDomainsRequest.status,\n importDoNotContactListEmailsAndDomainsRequestMessage:\n state.doNotContact.importDoNotContactListEmailsAndDomainsRequest.message,\n importDoNotContactListEmailsAndDomainsRequestError:\n state.doNotContact.importDoNotContactListEmailsAndDomainsRequest.error,\n\n doNotContactListDetailsMeta: state.doNotContact.doNotContactListDetailsMeta,\n doNotContactListDetails: state.doNotContact.doNotContactListDetails,\n doNotContactListDetailsPaginationOptions:\n state.doNotContact.doNotContactListDetailsPaginationOptions,\n\n agencyClients: state.agencyClient.clients,\n\n selectedDNCListEmailsAndDomains:\n state.doNotContact.selectedDNCListEmailsAndDomains,\n bulkSelectedDNCListEmailsAndDomains:\n state.doNotContact.bulkSelectedDNCListEmailsAndDomains,\n});\n\nconst mapDispatchToProps = {\n sendGetDoNotContactListDetailsMetaRequest: (id: string) =>\n getDoNotContactListDetailsMetaRequest(id),\n resetDoNotContactListDetailsMeta: () => resetDoNotContactListDetailsMeta(),\n\n sendGetDoNotContactListDetailsRequest: (\n payload: GetDoNotContactListDetailsPayload,\n ) => getDoNotContactListDetailsRequest(payload),\n resetGetDoNotContactListDetailsRequest: () =>\n resetGetDoNotContactListDetailsRequest(),\n\n sendUpdateDoNotContactListRequest: (payload: UpdateDoNotContactListPayload) =>\n updateDoNotContactListRequest(payload),\n resetUpdateDoNotContactListRequest: () =>\n resetUpdateDoNotContactListRequest(),\n\n sendGetAgencyClientsDropdownRequest: (\n payload: GetAgencyClientDropdownRequestPayload,\n ) => getAgencyClientsDropdown(payload),\n\n sendDeleteDoNotContactListEmailsAndDomainsRequest: (\n payload: DeleteDoNotContactListEmailsAndDomainsPayload,\n ) => deleteDoNotContactListEmailsAndDomainsRequest(payload),\n resetDeleteDoNotContactListEmailsAndDomainsRequest: () =>\n resetDeleteDoNotContactListEmailsAndDomainsRequest(),\n\n sendImportDoNotContactListEmailsAndDomainsRequest: (\n payload: ImportEmailsAndDomainsViaCsvPayload,\n ) => importDoNotContactListEmailsAndDomainsRequest(payload),\n resetImportDoNotContactListEmailsAndDomainsRequest: () =>\n resetImportDoNotContactListEmailsAndDomainsRequest(),\n\n sendBulkDeleteDoNotContactListEmailsAndDomainsRequest: (\n payload: BulkDeleteDoNotContactListEmailsAndDomainsPayload,\n ) => bulkDeleteDoNotContactListEmailsAndDomainsRequest(payload),\n resetBulkDeleteDoNotContactListEmailsAndDomainsRequest: () =>\n resetBulkDeleteDoNotContactListEmailsAndDomainsRequest(),\n\n clearDNCListEmailsAndDomainsSelection: () =>\n clearDNCListEmailsAndDomainsSelection(),\n resetSelectedDNCListEmailsAndDomains: () =>\n resetSelectedDNCListEmailsAndDomains(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps;\n\nexport default connector(DoNotContactListDetails);\n","import React from 'react';\nimport { Container } from 'react-bootstrap';\nimport { Redirect, Route, Switch } from 'react-router-dom';\n\nimport Suspense from '../../../../shared/components/suspense';\nimport ErrorBoundaryWrapper from '../../../../shared/components/error-boundary-wrapper';\n\nimport DoNotContactList from './components/do-not-contact-list';\nimport DoNotContactListDetails from './components/do-not-contact-list-details';\n\nconst DoNotContact: React.FC = () => (\n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default DoNotContact;\n","export enum WebhookTriggerEvent {\n EmailSent = 'email-sent',\n EmailOpened = 'email-opened',\n EmailLinkClicked = 'email-link-clicked',\n ReplyReceived = 'reply-received',\n EmailBounced = 'email-bounced',\n ProspectUnsubscribed = 'prospect-unsubscribed',\n ProspectFinished = 'prospect-finished',\n ProspectOutcomeUpdated = 'prospect-outcome-updated',\n sequencePaused = 'sequence-paused',\n EmailAccountDisconnected = 'email-account-disconnected',\n}\n\nexport enum WebhookTriggerEventName {\n EmailSent = 'Email Sent',\n EmailOpened = 'Email Opened',\n EmailLinkClicked = 'Email Link Clicked',\n ReplyReceived = 'Reply Received',\n EmailBounced = 'Email Bounced',\n ProspectUnsubscribed = 'Prospect Unsubscribed',\n ProspectFinished = 'Prospect Finished',\n ProspectOutcomeUpdated = 'Prospect Outcome Updated',\n sequencePaused = 'Sequence Paused',\n EmailAccountDisconnected = 'Email Account Disconnected',\n}\n\nexport enum WebhookStatus {\n Active = 'active',\n Paused = 'paused',\n}\n\nexport enum WebhookActivityType {\n All = 'all',\n Success = 'success',\n Failed = 'failed',\n}\n\nexport const WebhookFailedMessages = {\n 400: 'Invalid request. Please check webhook configuration.',\n 401: 'Access denied. Check credentials.',\n 403: 'Permission denied. Verify permissions.',\n 404: 'Resource not found. Check webhook URL.',\n 405: 'Invalid HTTP method. Use correct method.',\n 408: 'Server timed out',\n 429: 'Too many requests on your server. ',\n 500: 'Server error. Contact your technical team.',\n 502: 'Invalid response from your server. Contact your technical team.',\n 503: 'Server overloaded or under maintenance. Contact your technical team.',\n 504: 'Server did not receive timely response. Contact your technical team.',\n generic: 'An unknown error occurred. Contact your technical team.',\n};\n","import React from 'react';\nimport { Button } from '@saleshandy/design-system';\n\nimport { supportUrls } from '../../../../../shared/utils/urls';\nimport PremiumFeatureIndicator from '../../../../../shared/components/premium-feature-indicator';\nimport { Placement } from '../../../../../shared/design-system/components/overlay';\nimport { GlobalSettings } from '../../../../../shared/components/global-settings-wrapper';\nimport LinkBadge from '../../../../../shared/design-system/components/atoms/link-badge';\n\ntype IProps = {\n onAddWebhook: VoidFunction;\n};\n\nconst WebhookHeader: React.FC = ({ onAddWebhook }) => (\n <>\n \n \n \n\n \n \n \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n \n);\n\nexport default WebhookHeader;\n","import React from 'react';\nimport { Button } from '@saleshandy/design-system';\n\nimport { Connectivity } from '../../../../../shared/svg';\n\ntype IProps = {\n onAddWebhook: VoidFunction;\n};\n\nconst WebhookEmptyUI: React.FC = ({ onAddWebhook }) => (\n
    \n
    \n \n
    \n

    \n Get started with our outgoing webhook feature by setting up your first\n trigger\n

    \n \n
    \n);\n\nexport default WebhookEmptyUI;\n","import React from 'react';\n\nimport { Webhook } from '../../../../../../../types/webhook';\n\nimport Switch, {\n Size,\n} from '../../../../../../../../../shared/design-system/components/atoms/switch';\nimport { Placement } from '../../../../../../../../../shared/design-system/components/overlay';\nimport { getWebhookStatusFieldValues } from '../../../../../utils/get-webhook-status-field-values';\n\ntype IProps = {\n webhook: Webhook;\n onChangeHandler: (webhook: Webhook) => void;\n};\n\nconst WebhookStatusField: React.FC = ({ webhook, onChangeHandler }) => {\n const { className, tooltip, checked } = getWebhookStatusFieldValues(\n webhook.status,\n );\n\n return (\n onChangeHandler(webhook)}\n size={Size.Small}\n className={className}\n tooltip={tooltip}\n placement={Placement.Bottom}\n />\n );\n};\n\nexport default WebhookStatusField;\n","import { WebhookStatus } from '../../../enums/webhook';\n\nexport const getWebhookStatusFieldValues = (status: WebhookStatus) => {\n let className = 'pause-status';\n let tooltip = 'Active';\n let checked = false;\n\n if (status === WebhookStatus.Active) {\n className = 'active-status';\n tooltip = 'Pause';\n checked = true;\n }\n\n return {\n className,\n tooltip,\n checked,\n };\n};\n","import React from 'react';\nimport { Webhook } from '../../../../../../../types/webhook';\nimport { accessibleOnClick } from '../../../../../../../../../shared/utils/accessible-on-click';\nimport TruncatedTextWithTooltip from '../../../../../../../../../shared/components/truncated-text-with-tooltip';\nimport { Placement } from '../../../../../../../../../shared/design-system/components/overlay';\n\ntype IProps = {\n webhook: Webhook;\n onClickHandler: (webhook: Webhook) => void;\n};\n\nconst WebhookNameField: React.FC = ({ webhook, onClickHandler }) => (\n

    onClickHandler(webhook))}>\n \n

    \n);\n\nexport default WebhookNameField;\n","import React from 'react';\nimport { Webhook } from '../../../../../../../types/webhook';\nimport { getWebhookTriggerEventName } from '../../../../../utils/get-webhook-trigger-event-name';\nimport {\n OverlayPopover,\n Placement,\n} from '../../../../../../../../../shared/design-system/components/overlay';\n\ntype IProps = {\n webhook: Webhook;\n};\n\nconst WebhookTriggerEventField: React.FC = ({ webhook }) => {\n const events = webhook?.events\n ?.map((event) => getWebhookTriggerEventName(event))\n ?.filter((name) => name !== null);\n\n const renderCell = (label: string, className = '') => (\n

    {label}

    \n );\n\n return (\n
    \n {events?.length === 0 ? (\n renderCell('-', 'blue-txt-15')\n ) : (\n \n

    Events Triggered

    \n
    \n {events.map((event) => (\n
    \n

    {event}

    \n
    \n ))}\n
    \n
    \n }\n placement={Placement.BottomStart}\n rootClose\n >\n {renderCell(`${events.length}`, 'cursor-pointer')}\n \n )}\n \n );\n};\n\nexport default WebhookTriggerEventField;\n","import {\n WebhookTriggerEvent,\n WebhookTriggerEventName,\n} from '../../../enums/webhook';\n\nexport const getWebhookTriggerEventName = (\n trigger: WebhookTriggerEvent,\n): WebhookTriggerEventName => {\n switch (trigger) {\n case WebhookTriggerEvent.EmailSent:\n return WebhookTriggerEventName.EmailSent;\n\n case WebhookTriggerEvent.EmailOpened:\n return WebhookTriggerEventName.EmailOpened;\n\n case WebhookTriggerEvent.EmailLinkClicked:\n return WebhookTriggerEventName.EmailLinkClicked;\n\n case WebhookTriggerEvent.ReplyReceived:\n return WebhookTriggerEventName.ReplyReceived;\n\n case WebhookTriggerEvent.EmailBounced:\n return WebhookTriggerEventName.EmailBounced;\n\n case WebhookTriggerEvent.ProspectUnsubscribed:\n return WebhookTriggerEventName.ProspectUnsubscribed;\n\n case WebhookTriggerEvent.ProspectFinished:\n return WebhookTriggerEventName.ProspectFinished;\n\n case WebhookTriggerEvent.ProspectOutcomeUpdated:\n return WebhookTriggerEventName.ProspectOutcomeUpdated;\n\n default:\n return null;\n }\n};\n","import React from 'react';\nimport {\n OverlayTooltip,\n Placement,\n} from '../../../../../../../../../shared/design-system/components/overlay';\n\nimport { Webhook } from '../../../../../../../types/webhook';\n\nimport { getFormattedTime } from '../../../../../../../../../shared/utils';\nimport { getUserTimeZone } from '../../../../../../../../../shared/utils/user-details';\nimport { getDateTimeTooltipText } from '../../../../../../../../mailbox-emails/helpers/helper';\n\ntype IProps = {\n webhook: Webhook;\n};\n\nconst WebhookLastSentField: React.FC = ({\n webhook: { lastActivityAt },\n}) => {\n const latestActivity = getFormattedTime(lastActivityAt?.toString() || '');\n const userTimezone = getUserTimeZone();\n\n return (\n

    \n {lastActivityAt && userTimezone ? (\n \n {latestActivity || '-'}\n \n ) : (\n '-'\n )}\n

    \n );\n};\n\nexport default WebhookLastSentField;\n","import React from 'react';\nimport { AlertTriangle } from '@saleshandy/icons';\nimport { Webhook } from '../../../../../../../types/webhook';\nimport TruncatedTextWithTooltip from '../../../../../../../../../shared/components/truncated-text-with-tooltip';\nimport {\n OverlayTooltip,\n Placement,\n} from '../../../../../../../../../shared/design-system/components/overlay';\nimport { WebhookFailedMessages } from '../../../../../../../enums/webhook';\n\ntype IProps = {\n webhook: Webhook;\n};\n\nconst WebhookUrlField: React.FC = ({ webhook }) => (\n

    \n \n {webhook?.failed && (\n \n

    \n \n
    \n \n )}\n

    \n);\n\nexport default WebhookUrlField;\n","import React from 'react';\nimport { Avatar } from '@saleshandy/design-system';\n\nimport { Webhook } from '../../../../../../../types/webhook';\nimport {\n OverlayTooltip,\n Placement,\n} from '../../../../../../../../../shared/design-system/components/overlay';\n\ntype IProps = {\n webhook: Webhook;\n};\n\nconst WebhookCreatedByField: React.FC = ({ webhook }) => {\n const [firstName, lastName] = webhook?.createdBy?.split(' ');\n\n return (\n

    \n \n \n \n

    \n );\n};\n\nexport default WebhookCreatedByField;\n","import React, { useMemo } from 'react';\nimport { Pencil, Bullet, Trash } from '@saleshandy/icons';\n\nimport {\n Webhook,\n WebhookPaginationOptions,\n} from '../../../../../../types/webhook';\n\nimport Table from '../../../../../../../../shared/design-system/components/organisms/table';\nimport { PaginationShowHide } from '../../../../../../../../shared/design-system/components/organisms/table/types';\n\nimport { getWebhookTableColumns } from './utils/get-webhook-table-columns';\n\ntype IProps = {\n webhooks: Webhook[];\n webhookPaginationOptions: WebhookPaginationOptions;\n isLoading: boolean;\n onPaginationChange: (page: number, limit: number) => void;\n onAction: (key: string, webhook: Webhook) => void;\n};\n\nconst WebhookTable: React.FC = ({\n webhooks,\n webhookPaginationOptions,\n isLoading,\n onPaginationChange,\n onAction,\n}) => {\n const onWebhookStatusChanged = (webhook: Webhook) => {\n onAction('statusUpdate', webhook);\n };\n\n const onWebhookNameClicked = (webhook: Webhook) => {\n onAction('edit', webhook);\n };\n\n const onPaginationOptionsChange = ({ page, limit }) => {\n if (\n webhookPaginationOptions.currentPage === page &&\n webhookPaginationOptions.itemsPerPage === limit\n ) {\n return;\n }\n onPaginationChange(page, limit);\n };\n\n const actions = useMemo(\n () => [\n { key: 'edit', iconElement: , displayName: 'Edit' },\n { key: 'viewLog', iconElement: , displayName: 'View Log' },\n { key: 'delete', iconElement: , displayName: 'Delete' },\n ],\n [],\n );\n\n const columns = useMemo(\n () =>\n getWebhookTableColumns({\n itemCount: webhookPaginationOptions?.itemsCount ?? 0,\n onWebhookStatusChanged,\n onWebhookNameClicked,\n }),\n [webhookPaginationOptions],\n );\n\n return (\n \n );\n};\n\nexport default WebhookTable;\n","import React from 'react';\nimport { SkeletonLoading } from '@saleshandy/design-system';\n\nimport { Webhook } from '../../../../../../../types/webhook';\nimport { Column } from '../../../../../../../../../shared/design-system/components/organisms/table/types';\n\nimport WebhookStatusField from '../fields/webhook-status-field';\nimport WebhookNameField from '../fields/webhook-name-field';\nimport WebhookTriggerEventField from '../fields/webhook-trigger-event-field';\nimport WebhookLastSentField from '../fields/webhook-last-sent-field';\nimport WebhookUrlField from '../fields/webhook-url-field';\nimport WebhookCreatedByField from '../fields/webhook-created-by-field';\n\nexport const getWebhookTableColumns = ({\n onWebhookStatusChanged,\n onWebhookNameClicked,\n}: {\n itemCount: number;\n onWebhookStatusChanged: (webhook: Webhook) => void;\n onWebhookNameClicked: (webhook: Webhook) => void;\n}): Column[] => [\n {\n dataField: 'status',\n text: '',\n headerAlign: 'start',\n cellClasses: 'webhook-status-cell',\n component: (_cell, row) => (\n \n ),\n cellLoadingSkeleton: ,\n headerStyle: () => ({ minWidth: '1.75rem', width: '1.75rem' }),\n },\n {\n dataField: 'name',\n text: 'Webhook Name',\n headerAlign: 'start',\n cellClasses: 'webhook-name-cell cursor-pointer',\n component: (_cell, row) => (\n \n ),\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: ,\n headerStyle: () => ({ minWidth: '14.375rem', width: '14.375rem' }),\n },\n {\n dataField: 'events',\n text: 'Trigger Event',\n headerAlign: 'start',\n cellClasses: 'trigger-event-cell',\n component: (_cell, row) => ,\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: ,\n headerStyle: () => ({ minWidth: '7.5rem', width: '7.5rem' }),\n isCellClickable: false,\n },\n {\n dataField: 'url',\n text: 'Webhook URL',\n headerAlign: 'start',\n cellClasses: 'webhook-url-cell cursor-pointer',\n component: (_cell, row) => ,\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: ,\n },\n {\n dataField: 'lastActivityAt',\n text: 'Last Sent',\n headerAlign: 'start',\n cellClasses: 'last-sent-cell cursor-pointer',\n component: (_cell, row) => ,\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: ,\n headerStyle: () => ({ minWidth: '8.75rem', width: '8.75rem' }),\n },\n {\n dataField: 'createdBy',\n text: 'Created By',\n headerAlign: 'start',\n cellClasses: 'created-at-cell cursor-pointer',\n component: (_cell, row) => ,\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: (\n \n ),\n headerStyle: () => ({ minWidth: '6.25rem', width: '6.25rem' }),\n },\n];\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { Button } from '@saleshandy/design-system';\nimport { CloudUpload } from '@saleshandy/icons';\n\nimport Modal from '../../../../../../../shared/design-system/components/atoms/modal';\n\nimport history from '../../../../../../../shared/history';\nimport { Routes } from '../../../../../../../shared/routes';\nimport hasPermission from '../../../../../../../shared/utils/access-control/has-permission';\n\nimport { contactAdmin } from '../../../../../../../shared/utils';\nimport { getAdminFirstName } from '../../../../../../../shared/utils/user-details';\nimport { Permissions } from '../../../../../../../shared/utils/access-control/enums/permissions';\n\nconst RestrictionModal = ({ show, onClose }) => {\n const { t } = useTranslation();\n\n const onSubmit = () => {\n const emailSubject = `${t(\n 'messages.no_seat_available_email_subject_1',\n )} ${t('messages.no_seat_available_email_subject_2')}`;\n\n const emailBody = `Hello ${getAdminFirstName()}, %0D%0A %0D%0A ${t(\n 'messages.no_seat_available_email_body_1',\n )} ${t('messages.no_seat_available_email_body_2')} ${t(\n 'messages.no_seat_available_email_body_3',\n )} ${t('messages.no_seat_available_email_body_4')}`;\n\n if (hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)) {\n history.push(Routes.Setting_Billing_Upgrade_Email_Outreach_Plan);\n } else {\n contactAdmin(emailSubject, emailBody);\n }\n };\n\n return (\n \n
    \n
    \n
    \n \n
    \n

    Upgrade your plan to use Webhook

    \n
    \n
    \n\n
    \n

    Your current plan doesn’t allow you to use Webhook.

    \n
    \n\n
    \n

    \n Please upgrade to the Outreach Pro or higher plans to use unlimited\n Webhook for seamless integrations.\n

    \n
    \n\n
    \n\n
    \n \n \n
    \n \n );\n};\n\nexport default RestrictionModal;\n","import React, { useEffect, useState } from 'react';\nimport { useHistory } from 'react-router';\n\nimport type { IProps } from './webhook-list-container';\nimport type { Webhook as TWebhook } from '../../../../types/webhook';\nimport { ConfirmationModalIconType } from '../../../../../../shared/design-system/components/atoms/confirmation-modal/enum';\n\nimport toaster, { Theme } from '../../../../../../shared/toaster';\nimport Button from '../../../../../../shared/design-system/components/atoms/button';\nimport ConfirmationModalV3 from '../../../../../../shared/design-system/components/atoms/confirmation-modal/confirmation-modal-v3';\n\nimport {\n executeOnErrorWithErrorCheck,\n executeOnRequestStatus,\n getIsRequestPending,\n SubscriptionPlans,\n} from '../../../../../../shared/utils';\n\nimport WebhookHeader from '../webhook-header';\nimport WebhookEmptyUI from '../webhook-empty-ui';\nimport WebhookTable from './components/webhook-table';\nimport { WebhookStatus } from '../../../../enums/webhook';\nimport hasPermission from '../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../shared/utils/access-control/enums/permissions';\nimport RestrictionModal from './components/restriction-modal';\nimport { GlobalSettings } from '../../../../../../shared/components/global-settings-wrapper';\nimport store from '../../../../../../store';\nimport HeaderBanner from '../../../header-banner';\n\nconst WebhookList: React.FC = ({\n webhooks,\n webhookPaginationOptions,\n\n getWebhookListRequestStatus,\n showLoading,\n hideLoading,\n\n updateWebhookStatusRequestStatus,\n updateWebhookStatusRequestMessage,\n updateWebhookStatusRequestError,\n resetUpdateWebhookStatusRequest,\n\n deleteWebhookRequestStatus,\n deleteWebhookRequestError,\n resetDeleteWebhookRequest,\n\n ...props\n}) => {\n const history = useHistory();\n\n const [deleteConfirmationPopup, setDeleteConfirmationPopup] = useState(false);\n const [webhookForActions, setWebhookForActions] = useState(null);\n const [showRestrictionErrorModal, setShowRestrictionErrorModal] = useState(\n false,\n );\n\n const hideDeleteConfirmationPopup = () => {\n setDeleteConfirmationPopup(false);\n setWebhookForActions(null);\n };\n\n const getWebhookListHandler = (pageNum: number, pageSize: number) => {\n const { sendGetWebhookListRequest } = props;\n sendGetWebhookListRequest({\n pageNum,\n pageSize,\n });\n };\n\n const onAddWebhook = () => {\n if (hasPermission(Permissions.WEBHOOKS_WRITE)) {\n history.push('/settings/webhook/add');\n } else {\n setShowRestrictionErrorModal(true);\n }\n };\n\n const onDeleteWebhook = () => {\n const { sendDeleteWebhookRequest } = props;\n sendDeleteWebhookRequest(webhookForActions?.id?.toString());\n };\n\n const onAction = (key: string, webhook: TWebhook) => {\n if (key === 'edit') {\n history.push(`/settings/webhook/${webhook?.id}/details`);\n return;\n }\n if (key === 'viewLog') {\n history.push(`/settings/webhook/${webhook?.id}/logs`);\n return;\n }\n if (key === 'statusUpdate') {\n if (hasPermission(Permissions.WEBHOOKS_WRITE)) {\n if (webhook?.failed) {\n toaster.error(\n 'Please ensure that the webhook test response is successful before activating.',\n { theme: Theme.New },\n );\n } else {\n setWebhookForActions(webhook);\n const { sendUpdateWebhookStatusRequest } = props;\n sendUpdateWebhookStatusRequest({\n webhookId: webhook?.id?.toString(),\n webhookStatus:\n webhook?.status === WebhookStatus.Active\n ? WebhookStatus.Paused\n : WebhookStatus.Active,\n });\n }\n } else {\n setShowRestrictionErrorModal(true);\n }\n\n return;\n }\n if (key === 'delete') {\n setDeleteConfirmationPopup(true);\n setWebhookForActions(webhook);\n }\n };\n\n useEffect(() => {\n getWebhookListHandler(1, 25);\n }, []);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: updateWebhookStatusRequestStatus,\n onSuccess: () => {\n getWebhookListHandler(1, 25);\n resetUpdateWebhookStatusRequest();\n toaster.success(\n `Webhook has been ${\n webhookForActions?.status === WebhookStatus.Paused\n ? 'activated'\n : 'paused'\n } successfully`,\n {\n theme: Theme.New,\n },\n );\n setWebhookForActions(null);\n },\n onFailed: () => {\n getWebhookListHandler(1, 25);\n resetUpdateWebhookStatusRequest();\n setWebhookForActions(null);\n executeOnErrorWithErrorCheck({\n error: updateWebhookStatusRequestError,\n onError: () => {\n toaster.error(updateWebhookStatusRequestError.message, {\n theme: Theme.New,\n });\n },\n });\n },\n });\n }, [updateWebhookStatusRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: deleteWebhookRequestStatus,\n onSuccess: () => {\n getWebhookListHandler(1, 25);\n resetDeleteWebhookRequest();\n hideDeleteConfirmationPopup();\n toaster.success('Webhook has been deleted successfully', {\n theme: Theme.New,\n });\n },\n onFailed: () => {\n getWebhookListHandler(1, 25);\n resetDeleteWebhookRequest();\n hideDeleteConfirmationPopup();\n executeOnErrorWithErrorCheck({\n error: deleteWebhookRequestError,\n onError: () => {\n toaster.error(deleteWebhookRequestError.message, {\n theme: Theme.New,\n });\n },\n });\n },\n });\n }, [deleteWebhookRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getWebhookListRequestStatus,\n onPending: () => {\n showLoading();\n },\n onSuccess: () => {\n hideLoading();\n },\n });\n }, [getWebhookListRequestStatus]);\n\n const isWebhookRequestLoading = getIsRequestPending(\n getWebhookListRequestStatus,\n );\n const isDeleteWebhookRequestLoading = getIsRequestPending(\n deleteWebhookRequestStatus,\n );\n\n const {\n home: { subscription },\n } = store.getState();\n\n return (\n
    \n \n {subscription?.planCode === SubscriptionPlans.FREE && }\n\n {webhookPaginationOptions?.totalItems === 0 &&\n !isWebhookRequestLoading ? (\n \n ) : (\n \n \n \n )}\n\n \n Are you sure you want to do this? You will no longer receive any\n webhook events at{' '}\n {webhookForActions?.url}\n \n }\n cancelButtonText=\"Cancel\"\n submitButtonText=\"Delete\"\n submitButtonVariant={Button.Variant.Danger}\n onSubmit={onDeleteWebhook}\n onClose={hideDeleteConfirmationPopup}\n submitButtonClassName=\"delete-btn\"\n cancelButtonClassName=\"cancel-btn\"\n isSubmitDisabled={isDeleteWebhookRequestLoading}\n isSubmitLoading={isDeleteWebhookRequestLoading}\n showCloseIcon={false}\n />\n\n {\n setShowRestrictionErrorModal(false);\n }}\n />\n
    \n );\n};\n\nexport default WebhookList;\n","import api from '../../../api';\nimport {\n CreateAndTestWebhookPayload,\n GetWebhookActivityDetailsPayload,\n GetWebhookActivityLogsPayload,\n GetWebhookListPayload,\n UpdateWebhookPayload,\n UpdateWebhookStatusPayload,\n} from '../types/webhook';\n\nexport const getWebhook = async (webhookId: string) =>\n api.get(`/webhook/${webhookId}`);\n\nexport const getWebhookList = async (payload: GetWebhookListPayload) =>\n api.get(`/webhook`, { params: payload });\n\nexport const updateWebhookStatus = async ({\n webhookId,\n ...payload\n}: UpdateWebhookStatusPayload) =>\n api.patch(`/webhook/update-status/${webhookId}`, payload);\n\nexport const createWebhook = async (payload: CreateAndTestWebhookPayload) =>\n api.post(`/webhook/create`, payload);\n\nexport const updateWebhook = async ({\n webhookId,\n ...payload\n}: UpdateWebhookPayload) => api.patch(`/webhook/${webhookId}`, payload);\n\nexport const testWebhook = async (payload: CreateAndTestWebhookPayload) =>\n api.post(`/webhook/test`, payload);\n\nexport const resendFailedWebhookEvent = async (keyId: string) =>\n api.post(`/webhook/resend-failed-event/${keyId}`);\n\nexport const deleteWebhook = async (webhookId: string) =>\n api.delete(`/webhook/${webhookId}`);\n\nexport const getWebhookActivityLogs = async ({\n webhookId,\n action,\n ...params\n}: GetWebhookActivityLogsPayload) =>\n api.get(`/webhook/activity/${webhookId}`, { params });\n\nexport const getWebhookActivityDetails = async ({\n webhookId,\n keyId,\n}: GetWebhookActivityDetailsPayload) =>\n api.get(`/webhook/activity-details/${webhookId}/${keyId}`);\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport {\n ResponseSuccess,\n ResponseErrorWithHandled,\n} from '../../../../shared/types';\n\nimport {\n CreateAndTestWebhookPayload,\n GetWebhookActivityDetailsPayload,\n GetWebhookActivityLogsPayload,\n GetWebhookListPayload,\n UpdateWebhookPayload,\n UpdateWebhookStatusPayload,\n} from '../../types/webhook';\n\nimport {\n createWebhook,\n deleteWebhook,\n getWebhookList,\n getWebhook,\n resendFailedWebhookEvent,\n testWebhook,\n updateWebhook,\n updateWebhookStatus,\n getWebhookActivityLogs,\n getWebhookActivityDetails,\n} from '../../helpers/webhook.api';\n\nexport const getWebhookRequest = createAsyncThunk<\n ResponseSuccess,\n string,\n { rejectValue: ResponseErrorWithHandled }\n>('webhook/getWebhookRequest', async (payload, thunkAPI) => {\n try {\n return await getWebhook(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getWebhookListRequest = createAsyncThunk<\n ResponseSuccess,\n GetWebhookListPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('webhook/getWebhookListRequest', async (payload, thunkAPI) => {\n try {\n return await getWebhookList(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const updateWebhookStatusRequest = createAsyncThunk<\n ResponseSuccess,\n UpdateWebhookStatusPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('webhook/updateWebhookStatusRequest', async (payload, thunkAPI) => {\n try {\n return await updateWebhookStatus(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const createWebhookRequest = createAsyncThunk<\n ResponseSuccess,\n CreateAndTestWebhookPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('webhook/createWebhookRequest', async (payload, thunkAPI) => {\n try {\n return await createWebhook(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const updateWebhookRequest = createAsyncThunk<\n ResponseSuccess,\n UpdateWebhookPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('webhook/updateWebhookRequest', async (payload, thunkAPI) => {\n try {\n return await updateWebhook(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const testWebhookRequest = createAsyncThunk<\n ResponseSuccess,\n CreateAndTestWebhookPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('webhook/testWebhookRequest', async (payload, thunkAPI) => {\n try {\n return await testWebhook(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const deleteWebhookRequest = createAsyncThunk<\n ResponseSuccess,\n string,\n { rejectValue: ResponseErrorWithHandled }\n>('webhook/deleteWebhookRequest', async (payload, thunkAPI) => {\n try {\n return await deleteWebhook(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getWebhookActivityLogsRequest = createAsyncThunk<\n ResponseSuccess,\n GetWebhookActivityLogsPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('webhook/getWebhookActivityLogsRequest', async (payload, thunkAPI) => {\n try {\n return await getWebhookActivityLogs(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getWebhookActivityDetailsRequest = createAsyncThunk<\n ResponseSuccess,\n GetWebhookActivityDetailsPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('webhook/getWebhookActivityDetailsRequest', async (payload, thunkAPI) => {\n try {\n return await getWebhookActivityDetails(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const resendFailedWebhookEventRequest = createAsyncThunk<\n ResponseSuccess,\n string,\n { rejectValue: ResponseErrorWithHandled }\n>('webhook/resendFailedWebhookEventRequest', async (payload, thunkAPI) => {\n try {\n return await resendFailedWebhookEvent(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport {\n Webhook,\n WebhookActivityDetails,\n WebhookActivityLog,\n WebhookPaginationOptions,\n WebhookTestResult,\n} from '../../types/webhook';\nimport {\n createWebhookRequest,\n updateWebhookRequest,\n deleteWebhookRequest,\n getWebhookListRequest,\n getWebhookRequest,\n testWebhookRequest,\n updateWebhookStatusRequest,\n getWebhookActivityLogsRequest,\n getWebhookActivityDetailsRequest,\n resendFailedWebhookEventRequest,\n} from './extra-actions';\n\ntype RequestState = {\n status: RequestStatus;\n message: string;\n error: any;\n};\n\ntype State = {\n getWebhookRequest: RequestState;\n getWebhookListRequest: RequestState;\n updateWebhookStatusRequest: RequestState;\n createWebhookRequest: RequestState;\n updateWebhookRequest: RequestState;\n testWebhookRequest: RequestState;\n deleteWebhookRequest: RequestState;\n getWebhookActivityLogsRequest: RequestState;\n getWebhookActivityDetailsRequest: RequestState;\n resendFailedWebhookEventRequest: RequestState;\n\n webhook: Webhook;\n webhooks: Webhook[];\n webhookPaginationOptions: WebhookPaginationOptions;\n webhookTestResult: WebhookTestResult;\n\n webhookActivityLogs: WebhookActivityLog[];\n webhookActivityLogsPaginationOptions: {\n currentPage: number;\n itemsPerPage: number;\n totalItems: number;\n totalPages: number;\n };\n webhookActivityDetails: WebhookActivityDetails;\n};\n\nconst initialState: State = {\n getWebhookRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getWebhookListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateWebhookStatusRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n createWebhookRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateWebhookRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n testWebhookRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n deleteWebhookRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getWebhookActivityLogsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getWebhookActivityDetailsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n resendFailedWebhookEventRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n\n webhook: null,\n webhooks: [],\n webhookPaginationOptions: null,\n webhookTestResult: null,\n\n webhookActivityLogs: [],\n webhookActivityLogsPaginationOptions: null,\n webhookActivityDetails: null,\n};\n\nconst webhookSlice = createSlice({\n name: 'webhook',\n initialState,\n reducers: {\n resetGetWebhookRequest: (state) => {\n state.getWebhookRequest = initialState.getWebhookRequest;\n },\n updateWebhookData: (state, action) => {\n state.webhook = {\n ...state.webhook,\n ...action.payload,\n };\n },\n resetWebhookData: (state) => {\n state.webhook = initialState.webhook;\n },\n resetGetWebhookListRequest: (state) => {\n state.getWebhookListRequest = initialState.getWebhookListRequest;\n },\n resetUpdateWebhookStatusRequest: (state) => {\n state.updateWebhookStatusRequest =\n initialState.updateWebhookStatusRequest;\n },\n resetCreateWebhookRequest: (state) => {\n state.createWebhookRequest = initialState.createWebhookRequest;\n },\n resetUpdateWebhookRequest: (state) => {\n state.updateWebhookRequest = initialState.updateWebhookRequest;\n },\n resetTestWebhookRequest: (state) => {\n state.testWebhookRequest = initialState.testWebhookRequest;\n },\n resetWebhookTestResult: (state) => {\n state.webhookTestResult = initialState.webhookTestResult;\n },\n resetDeleteWebhookRequest: (state) => {\n state.deleteWebhookRequest = initialState.deleteWebhookRequest;\n },\n resetGetWebhookActivityLogsRequest: (state) => {\n state.getWebhookActivityLogsRequest =\n initialState.getWebhookActivityLogsRequest;\n },\n resetWebhookActivityLogs: (state) => {\n state.webhookActivityLogs = initialState.webhookActivityLogs;\n },\n resetGetWebhookActivityDetailsRequest: (state) => {\n state.getWebhookActivityDetailsRequest =\n initialState.getWebhookActivityDetailsRequest;\n },\n resetWebhookActivityDetails: (state) => {\n state.webhookActivityDetails = initialState.webhookActivityDetails;\n },\n resetResendFailedWebhookEventRequest: (state) => {\n state.resendFailedWebhookEventRequest =\n initialState.resendFailedWebhookEventRequest;\n },\n },\n extraReducers: (builder) => {\n // Get Webhook\n builder.addCase(getWebhookRequest.pending, (state) => {\n state.getWebhookRequest.status = RequestStatus.Pending;\n state.getWebhookRequest.error = null;\n });\n builder.addCase(getWebhookRequest.fulfilled, (state, action) => {\n state.getWebhookRequest.status = RequestStatus.Succeeded;\n state.getWebhookRequest.message = action.payload.message;\n state.webhook = action.payload.payload;\n });\n builder.addCase(getWebhookRequest.rejected, (state, action) => {\n state.getWebhookRequest.status = RequestStatus.Failed;\n state.getWebhookRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get List of Webhooks\n builder.addCase(getWebhookListRequest.pending, (state) => {\n state.getWebhookListRequest.status = RequestStatus.Pending;\n state.getWebhookListRequest.error = null;\n });\n builder.addCase(getWebhookListRequest.fulfilled, (state, action) => {\n state.getWebhookListRequest.status = RequestStatus.Succeeded;\n state.getWebhookListRequest.message = action.payload.message;\n state.webhooks = action.payload.payload.webhooks.map((webhook) => ({\n ...webhook,\n // eslint-disable-next-line no-underscore-dangle\n id: webhook._id,\n }));\n state.webhookPaginationOptions = action.payload.payload.meta;\n });\n builder.addCase(getWebhookListRequest.rejected, (state, action) => {\n state.getWebhookListRequest.status = RequestStatus.Failed;\n state.getWebhookListRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Update Webhook Status\n builder.addCase(updateWebhookStatusRequest.pending, (state) => {\n state.updateWebhookStatusRequest.status = RequestStatus.Pending;\n state.updateWebhookStatusRequest.error = null;\n });\n builder.addCase(updateWebhookStatusRequest.fulfilled, (state, action) => {\n state.updateWebhookStatusRequest.status = RequestStatus.Succeeded;\n state.updateWebhookStatusRequest.message = action.payload.message;\n });\n builder.addCase(updateWebhookStatusRequest.rejected, (state, action) => {\n state.updateWebhookStatusRequest.status = RequestStatus.Failed;\n state.updateWebhookStatusRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Create Webhook\n builder.addCase(createWebhookRequest.pending, (state) => {\n state.createWebhookRequest.status = RequestStatus.Pending;\n state.createWebhookRequest.error = null;\n });\n builder.addCase(createWebhookRequest.fulfilled, (state, action) => {\n state.createWebhookRequest.status = RequestStatus.Succeeded;\n state.createWebhookRequest.message = action.payload.message;\n });\n builder.addCase(createWebhookRequest.rejected, (state, action) => {\n state.createWebhookRequest.status = RequestStatus.Failed;\n state.createWebhookRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Update Webhook\n builder.addCase(updateWebhookRequest.pending, (state) => {\n state.updateWebhookRequest.status = RequestStatus.Pending;\n state.updateWebhookRequest.error = null;\n });\n builder.addCase(updateWebhookRequest.fulfilled, (state, action) => {\n state.updateWebhookRequest.status = RequestStatus.Succeeded;\n state.updateWebhookRequest.message = action.payload.message;\n });\n builder.addCase(updateWebhookRequest.rejected, (state, action) => {\n state.updateWebhookRequest.status = RequestStatus.Failed;\n state.updateWebhookRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Test Webhook\n builder.addCase(testWebhookRequest.pending, (state) => {\n state.testWebhookRequest.status = RequestStatus.Pending;\n state.testWebhookRequest.error = null;\n });\n builder.addCase(testWebhookRequest.fulfilled, (state, action) => {\n state.testWebhookRequest.status = RequestStatus.Succeeded;\n state.testWebhookRequest.message = action.payload.message;\n state.webhookTestResult = action.payload.payload;\n });\n builder.addCase(testWebhookRequest.rejected, (state, action) => {\n state.testWebhookRequest.status = RequestStatus.Failed;\n state.testWebhookRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Delete Webhook\n builder.addCase(deleteWebhookRequest.pending, (state) => {\n state.deleteWebhookRequest.status = RequestStatus.Pending;\n state.deleteWebhookRequest.error = null;\n });\n builder.addCase(deleteWebhookRequest.fulfilled, (state, action) => {\n state.deleteWebhookRequest.status = RequestStatus.Succeeded;\n state.deleteWebhookRequest.message = action.payload.message;\n });\n builder.addCase(deleteWebhookRequest.rejected, (state, action) => {\n state.deleteWebhookRequest.status = RequestStatus.Failed;\n state.deleteWebhookRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Webhook Activity Logs\n builder.addCase(getWebhookActivityLogsRequest.pending, (state) => {\n state.getWebhookActivityLogsRequest.status = RequestStatus.Pending;\n state.getWebhookActivityLogsRequest.error = null;\n });\n builder.addCase(\n getWebhookActivityLogsRequest.fulfilled,\n (state, action) => {\n state.getWebhookActivityLogsRequest.status = RequestStatus.Succeeded;\n state.getWebhookActivityLogsRequest.message = action.payload.message;\n if (action.meta.arg.action === 'reset') {\n state.webhookActivityLogs = action.payload.payload.logs;\n } else if (action.meta.arg.action === 'load-more') {\n state.webhookActivityLogs = [\n ...state.webhookActivityLogs,\n ...action.payload.payload.logs,\n ];\n }\n state.webhookActivityLogsPaginationOptions =\n action.payload.payload.meta;\n },\n );\n builder.addCase(getWebhookActivityLogsRequest.rejected, (state, action) => {\n state.getWebhookActivityLogsRequest.status = RequestStatus.Failed;\n state.getWebhookActivityLogsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // Get Webhook Activity Details\n builder.addCase(getWebhookActivityDetailsRequest.pending, (state) => {\n state.getWebhookActivityDetailsRequest.status = RequestStatus.Pending;\n state.getWebhookActivityDetailsRequest.error = null;\n });\n builder.addCase(\n getWebhookActivityDetailsRequest.fulfilled,\n (state, action) => {\n state.getWebhookActivityDetailsRequest.status = RequestStatus.Succeeded;\n state.getWebhookActivityDetailsRequest.message = action.payload.message;\n state.webhookActivityDetails = action.payload.payload.eventDetails;\n },\n );\n builder.addCase(\n getWebhookActivityDetailsRequest.rejected,\n (state, action) => {\n state.getWebhookActivityDetailsRequest.status = RequestStatus.Failed;\n state.getWebhookActivityDetailsRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n\n // Resend Failed Webhook Event\n builder.addCase(resendFailedWebhookEventRequest.pending, (state) => {\n state.resendFailedWebhookEventRequest.status = RequestStatus.Pending;\n state.resendFailedWebhookEventRequest.error = null;\n });\n builder.addCase(\n resendFailedWebhookEventRequest.fulfilled,\n (state, action) => {\n state.resendFailedWebhookEventRequest.status = RequestStatus.Succeeded;\n state.resendFailedWebhookEventRequest.message = action.payload.message;\n },\n );\n builder.addCase(\n resendFailedWebhookEventRequest.rejected,\n (state, action) => {\n state.resendFailedWebhookEventRequest.status = RequestStatus.Failed;\n state.resendFailedWebhookEventRequest.error =\n !action.payload.isHandled && action.payload;\n },\n );\n },\n});\n\nexport const {\n resetGetWebhookListRequest,\n resetGetWebhookRequest,\n updateWebhookData,\n resetWebhookData,\n resetUpdateWebhookStatusRequest,\n resetCreateWebhookRequest,\n resetUpdateWebhookRequest,\n resetTestWebhookRequest,\n resetWebhookTestResult,\n resetDeleteWebhookRequest,\n resetGetWebhookActivityLogsRequest,\n resetWebhookActivityLogs,\n resetGetWebhookActivityDetailsRequest,\n resetWebhookActivityDetails,\n resetResendFailedWebhookEventRequest,\n} = webhookSlice.actions;\n\nexport default webhookSlice.reducer;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { hideLoading, showLoading } from 'react-redux-loading-bar';\nimport { RootState } from '../../../../../../store/root-reducer';\n\nimport WebhookList from './webhook-list';\n\nimport {\n deleteWebhookRequest,\n getWebhookListRequest,\n getWebhookRequest,\n updateWebhookStatusRequest,\n} from '../../extra-actions';\nimport {\n resetCreateWebhookRequest,\n resetDeleteWebhookRequest,\n resetGetWebhookListRequest,\n resetGetWebhookRequest,\n resetUpdateWebhookStatusRequest,\n} from '../../webhook-slice';\nimport {\n GetWebhookListPayload,\n UpdateWebhookStatusPayload,\n} from '../../../../types/webhook';\n\nconst mapStateToProps = (state: RootState) => ({\n getWebhookRequestStatus: state.webhook.getWebhookRequest.status,\n getWebhookRequestMessage: state.webhook.getWebhookRequest.message,\n getWebhookRequestError: state.webhook.getWebhookRequest.error,\n\n getWebhookListRequestStatus: state.webhook.getWebhookListRequest.status,\n getWebhookListRequestMessage: state.webhook.getWebhookListRequest.message,\n getWebhookListRequestError: state.webhook.getWebhookListRequest.error,\n\n updateWebhookStatusRequestStatus:\n state.webhook.updateWebhookStatusRequest.status,\n updateWebhookStatusRequestMessage:\n state.webhook.updateWebhookStatusRequest.message,\n updateWebhookStatusRequestError:\n state.webhook.updateWebhookStatusRequest.error,\n\n createWebhookRequestStatus: state.webhook.createWebhookRequest.status,\n createWebhookRequestMessage: state.webhook.createWebhookRequest.message,\n createWebhookRequestError: state.webhook.createWebhookRequest.error,\n\n deleteWebhookRequestStatus: state.webhook.deleteWebhookRequest.status,\n deleteWebhookRequestMessage: state.webhook.deleteWebhookRequest.message,\n deleteWebhookRequestError: state.webhook.deleteWebhookRequest.error,\n\n webhook: state.webhook.webhook,\n webhooks: state.webhook.webhooks,\n webhookPaginationOptions: state.webhook.webhookPaginationOptions,\n});\n\nconst mapDispatchToProps = {\n sendGetWebhookListRequest: (payload: GetWebhookListPayload) =>\n getWebhookListRequest(payload),\n resetGetWebhookListRequest: () => resetGetWebhookListRequest(),\n\n sendGetWebhookRequest: (webhookId: string) => getWebhookRequest(webhookId),\n resetGetWebhookRequest: () => resetGetWebhookRequest(),\n\n resetCreateWebhookRequest: () => resetCreateWebhookRequest(),\n\n sendUpdateWebhookStatusRequest: (payload: UpdateWebhookStatusPayload) =>\n updateWebhookStatusRequest(payload),\n resetUpdateWebhookStatusRequest: () => resetUpdateWebhookStatusRequest(),\n\n sendDeleteWebhookRequest: (webhookId: string) =>\n deleteWebhookRequest(webhookId),\n resetDeleteWebhookRequest: () => resetDeleteWebhookRequest(),\n\n showLoading: () => showLoading(),\n hideLoading: () => hideLoading(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps;\n\nexport default connector(WebhookList);\n","import React from 'react';\nimport { Book, ChevronLeft } from '@saleshandy/icons';\nimport { useHistory } from 'react-router';\nimport { Spinner } from 'reactstrap';\n\nimport Switch from '../../../../../../../shared/design-system/components/atoms/switch';\nimport { Placement } from '../../../../../../../shared/design-system/components/overlay';\n\nimport { supportUrls } from '../../../../../../../shared/utils/urls';\nimport { accessibleOnClick } from '../../../../../../../shared/utils/accessible-on-click';\nimport { WebhookStatus } from '../../../../../enums/webhook';\nimport { GlobalSettings } from '../../../../../../../shared/components/global-settings-wrapper';\nimport LinkBadge from '../../../../../../../shared/design-system/components/atoms/link-badge';\n\ntype IProps = {\n className?: string;\n label?: string;\n showActivePausedToggle?: boolean;\n webhookStatus?: WebhookStatus;\n onWebhookStatusToggle?: VoidFunction;\n isLoading?: boolean;\n};\n\nconst AddWebhookHeader: React.FC = ({\n className = '',\n label = 'Add Webhook',\n showActivePausedToggle = false,\n webhookStatus,\n onWebhookStatusToggle,\n isLoading = false,\n}) => {\n const history = useHistory();\n\n const onGoBack = () => {\n history.push('/settings/webhook');\n };\n\n return (\n
    \n \n \n
    \n
    \n \n
    \n
    \n \n }\n />\n
    \n\n {showActivePausedToggle && webhookStatus !== undefined && (\n
    \n \n {isLoading ? (\n \n ) : (\n

    \n {webhookStatus === WebhookStatus.Active ? 'Active' : 'Paused'}\n

    \n )}\n
    \n )}\n
    \n
    \n );\n};\n\nexport default AddWebhookHeader;\n","import React from 'react';\nimport classNames from 'classnames';\n\ntype IProps = {\n name: string;\n placeholder?: string;\n value: string;\n onChange: (value: string) => void;\n isError?: boolean;\n errorMsg?: string;\n type?: 'input' | 'textarea';\n};\n\nconst TextInput: React.FC = ({\n name,\n placeholder = '',\n value,\n onChange,\n isError = false,\n errorMsg = '',\n type = 'input',\n}) => {\n const textInputClasses = classNames([\n 'webhook-form-field-input',\n {\n 'input-error': isError,\n },\n ]);\n return (\n
    \n {type === 'input' ? (\n onChange(event.target.value)}\n />\n ) : (\n onChange(event.target.value)}\n />\n )}\n {isError && {errorMsg}}\n
    \n );\n};\n\nexport default TextInput;\n","import React from 'react';\nimport { ChevronRight, ChevronUp, Help, Trash } from '@saleshandy/icons';\nimport { Button } from '@saleshandy/design-system';\nimport {\n Accordion,\n AccordionItem,\n AccordionItemHeading,\n AccordionItemButton,\n AccordionItemPanel,\n AccordionItemState,\n} from 'react-accessible-accordion';\n\nimport TextInput from './text-input';\nimport { accessibleOnClick } from '../../../../../../../shared/utils/accessible-on-click';\nimport { OverlayTooltip } from '../../../../../../../shared/design-system/components/overlay';\n\ntype IProps = {\n headers: { key: string; value: string; id: number }[];\n onAddHeader: () => void;\n onDeleteHeader: (id: number) => void;\n onHeaderKeyChange: (id: number, key: string) => void;\n onHeaderValueChange: (id: number, value: string) => void;\n};\n\nconst HttpHeadersInput: React.FC = ({\n headers,\n onAddHeader,\n onDeleteHeader,\n onHeaderKeyChange,\n onHeaderValueChange,\n}) => (\n
    \n \n \n \n \n \n {({ expanded }) =>\n expanded ? (\n
    \n \n HTTP Headers\n
    \n ) : (\n
    \n \n HTTP Headers\n
    \n )\n }\n
    \n {\n e.preventDefault();\n e.stopPropagation();\n })}\n >\n Optional\n

    \n
    \n
    \n \n
    \n {headers.map((header, index) => (\n
    \n
    \n
    \n

    Key

    \n
    \n\n onHeaderKeyChange(header.id, key)}\n />\n
    \n\n
    \n
    \n

    Value

    \n
    \n\n onHeaderValueChange(header.id, value)}\n />\n
    \n\n {index > 0 && (\n \n onDeleteHeader(header.id)}\n >\n \n \n \n )}\n
    \n ))}\n
    \n {headers.length < 5 && (\n \n + Add New Header\n \n )}\n
    \n
    \n
    \n \n
    \n \n
    \n \n
    \n);\n\nexport default HttpHeadersInput;\n","import React from 'react';\nimport { ArrowUpRight } from '@saleshandy/icons';\nimport { WebhookTriggerEvent } from '../../../../../enums/webhook';\nimport Checkbox from '../../../../../../../shared/design-system/components/atoms/checkbox';\nimport { accessibleOnClick } from '../../../../../../../shared/utils/accessible-on-click';\nimport { supportUrls } from '../../../../../../../shared/utils/urls';\n\nconst events = [\n { label: 'When an email is sent', trigger: WebhookTriggerEvent.EmailSent },\n {\n label: 'When an email is opened',\n trigger: WebhookTriggerEvent.EmailOpened,\n },\n {\n label: 'When an email link is clicked',\n trigger: WebhookTriggerEvent.EmailLinkClicked,\n },\n {\n label: 'When a reply is received',\n trigger: WebhookTriggerEvent.ReplyReceived,\n },\n {\n label: 'When an email is bounced',\n trigger: WebhookTriggerEvent.EmailBounced,\n },\n {\n label: 'When a prospects is unsubscribed',\n trigger: WebhookTriggerEvent.ProspectUnsubscribed,\n },\n {\n label: 'When a prospect is finished',\n trigger: WebhookTriggerEvent.ProspectFinished,\n },\n {\n label: 'When a prospect outcome is changed',\n trigger: WebhookTriggerEvent.ProspectOutcomeUpdated,\n },\n {\n label: 'When a sequence is paused',\n trigger: WebhookTriggerEvent.sequencePaused,\n },\n {\n label: 'When an email account is disconnected',\n trigger: WebhookTriggerEvent.EmailAccountDisconnected,\n },\n];\n\nconst EventToSendInput = ({ eventsToSend, onEventToSendChange }) => {\n const openExampleDataLink = () => {\n window.open(supportUrls.webhookExampleDataURL, '_blank');\n };\n\n return (\n
    \n
    \n
    \n
    \n

    Event to Send

    \n
    \n \n Example Data\n \n
    \n
    \n
    \n {events.map((event) => (\n
    \n \n onEventToSendChange(checked, event.trigger)\n }\n label={event.label}\n />\n
    \n ))}\n
    \n

    \n Select the events that should trigger your webhook\n

    \n
    \n
    \n );\n};\n\nexport default EventToSendInput;\n","import React from 'react';\nimport { Help } from '@saleshandy/icons';\n\nimport {\n OverlayTooltip,\n Placement,\n} from '../../../../../../../shared/design-system/components/overlay';\n\nimport TextInput from './text-input';\nimport HttpHeadersInput from './http-headers-input';\nimport EventToSendInput from './event-to-send-input';\nimport { WebhookTriggerEvent } from '../../../../../enums/webhook';\n\ntype IProps = {\n webhookName: string;\n webhookNameError: string;\n onWebhookNameChange: (value: string) => void;\n\n webhookURL: string;\n webhookURLError: string;\n onWebhookURLChange: (value: string) => void;\n\n headers: { key: string; value: string; id: number }[];\n onAddHeader: () => void;\n onDeleteHeader: (id: number) => void;\n onHeaderKeyChange: (id: number, key: string) => void;\n onHeaderValueChange: (id: number, value: string) => void;\n\n eventsToSend: WebhookTriggerEvent[];\n onWebhookTriggerEventChange: (\n checked: boolean,\n event: WebhookTriggerEvent,\n ) => void;\n};\n\nconst AddWebhookForm: React.FC = ({\n webhookName,\n webhookNameError,\n onWebhookNameChange,\n\n webhookURL,\n webhookURLError,\n onWebhookURLChange,\n\n headers,\n onAddHeader,\n onDeleteHeader,\n onHeaderKeyChange,\n onHeaderValueChange,\n\n eventsToSend,\n onWebhookTriggerEventChange,\n}) => (\n
    \n
    \n
    \n
    \n

    Name

    \n
    \n \n
    \n\n
    \n
    \n

    Webhook URL

    \n \n \n \n
    \n \n

    \n Enter the URL where your webhook should send data\n

    \n
    \n\n \n\n \n
    \n
    \n);\n\nexport default AddWebhookForm;\n","import React, { useState } from 'react';\nimport {\n AlertCircle,\n ArrowsMaximize,\n ArrowsMinimize,\n Check,\n Copy,\n Repeat,\n} from '@saleshandy/icons';\nimport SyntaxHighlighter from 'react-syntax-highlighter';\nimport { OverlayTooltip } from '../../../../../../shared/design-system/components/overlay';\nimport { accessibleOnClick } from '../../../../../../shared/utils/accessible-on-click';\n\ntype IProps = {\n label: string;\n statusCode: number;\n statusText: string;\n json: Record;\n lastTriggeredAt?: string;\n failed: boolean;\n isExpanded: boolean;\n onExpandOrCollapsed: VoidFunction;\n showRetry?: boolean;\n onRetry?: VoidFunction;\n showEventType?: boolean;\n event?: string;\n showRequest?: boolean;\n requestJson?: Record;\n};\n\nconst WebhookReqResPreview: React.FC = ({\n label,\n statusCode,\n statusText,\n json,\n lastTriggeredAt,\n failed,\n isExpanded,\n onExpandOrCollapsed,\n showRetry = false,\n onRetry,\n showEventType = false,\n event = '',\n showRequest = false,\n requestJson,\n}) => {\n const [copyState, setCopyState] = useState(false);\n\n const formattedJson = JSON.stringify(json, null, 2);\n const formattedRequestJson = JSON.stringify(requestJson, null, 2);\n\n const copyText = (text: string) => {\n navigator.clipboard.writeText(text);\n setCopyState(true);\n\n setTimeout(() => {\n setCopyState(false);\n }, 1000);\n };\n\n const headerRight = (\n
    \n {showRetry && (\n \n onRetry?.())}\n >\n \n
    \n \n )}\n\n {isExpanded ? (\n \n \n \n \n \n ) : (\n \n \n \n \n \n )}\n \n );\n\n return (\n
    \n {showEventType && (\n
    \n
    \n

    {event}

    \n
    \n {headerRight}\n
    \n )}\n\n
    \n
    \n

    {label}

    \n \n {failed ? (\n <>\n {`HTTP ${statusCode} ${statusText}`}\n \n \n ) : (\n <>\n {`HTTP ${statusCode} ${statusText}`}\n \n \n )}\n
    \n
    \n {!showEventType && headerRight}\n
    \n\n {lastTriggeredAt &&

    {lastTriggeredAt}

    }\n\n
    \n \n {formattedJson}\n \n \n copyText(formattedJson))}\n >\n {copyState ? : }\n
    \n \n \n\n {showRequest && (\n <>\n
    \n
    \n

    Request

    \n
    \n
    \n
    \n \n {formattedRequestJson}\n \n \n copyText(formattedRequestJson))}\n >\n {copyState ? : }\n
    \n \n \n \n )}\n \n );\n};\n\nexport default WebhookReqResPreview;\n","import moment from 'moment-timezone';\nimport { WebhookActivityType } from '../../../../enums/webhook';\nimport { getUserTimeZone } from '../../../../../../shared/utils/user-details';\n\nexport type WebhookActivityTypeOption = {\n key: WebhookActivityType;\n label: string;\n};\n\nexport const webhookActivityTypeOptions: WebhookActivityTypeOption[] = [\n {\n key: WebhookActivityType.All,\n label: 'All',\n },\n {\n key: WebhookActivityType.Success,\n label: 'Succeeded',\n },\n {\n key: WebhookActivityType.Failed,\n label: 'Failed',\n },\n];\n\nexport const getFormattedDateTime = (date: Date | string): string => {\n const dateObj = moment(date);\n return `${dateObj.format('Do MMM, YYYY')} ${dateObj.format('hh:mm A')}`;\n};\n\nexport const getFormattedDateForWebhook = (\n dateValue: Date | string,\n showTimeZone = false,\n): string => {\n const userTimezone = getUserTimeZone();\n\n if (dateValue && userTimezone) {\n const momentObj = moment.tz(dateValue, userTimezone);\n const date = momentObj.format('MMM DD');\n const year = momentObj.format('YYYY');\n const time = momentObj.format('hh:mm a').toUpperCase();\n const timezone = `(GMT${momentObj\n .tz(userTimezone)\n .format('Z')}) ${userTimezone}`;\n\n return `${date}, ${year} ${time} ${showTimeZone ? timezone : ''}`.trim();\n }\n\n return '';\n};\n","import React, { useEffect, useState } from 'react';\nimport { useHistory, useParams } from 'react-router';\nimport { Button } from '@saleshandy/design-system';\nimport validator from 'validator';\nimport classNames from 'classnames';\n\nimport type { IProps } from './add-webhook-container';\nimport { WebhookTriggerEvent } from '../../../../enums/webhook';\n\nimport toaster, { Theme } from '../../../../../../shared/toaster';\n\nimport AddWebhookHeader from './components/add-webhook-header';\nimport AddWebhookForm from './components/add-webhook-form';\n\nimport {\n executeOnErrorWithErrorCheck,\n executeOnRequestStatus,\n getIsRequestPending,\n} from '../../../../../../shared/utils';\nimport WebhookReqResPreview from '../webhook-req-res-preview';\nimport { getFormattedDateTime } from '../webhook-details-and-logs/helper';\nimport {\n OverlayTooltip,\n Placement,\n} from '../../../../../../shared/design-system/components/overlay';\nimport hasPermission from '../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../shared/utils/access-control/enums/permissions';\nimport { WebhookTestData } from '../../../../types/webhook';\n\nconst AddWebhook: React.FC = ({\n hideHeader = false,\n defaultWebhook,\n action = 'create',\n\n sendCreateWebhookRequest,\n resetCreateWebhookRequest,\n createWebhookRequestStatus,\n createWebhookRequestError,\n\n sendUpdateWebhookRequest,\n resetUpdateWebhookRequest,\n updateWebhookRequestStatus,\n updateWebhookRequestError,\n\n sendTestWebhookRequest,\n resetTestWebhookRequest,\n resetWebhookTestResult,\n testWebhookRequestStatus,\n testWebhookRequestError,\n webhookTestResult,\n}) => {\n const history = useHistory();\n\n const { webhookId } = useParams<{\n webhookId: string;\n }>();\n\n const [webhookName, setWebhookName] = useState('');\n const [webhookNameError, setWebhookNameError] = useState('');\n\n const [webhookURL, setWebhookURL] = useState('');\n const [webhookURLError, setWebhookURLError] = useState('');\n\n const [headers, setHeaders] = useState([{ key: '', value: '', id: 1 }]);\n\n const [eventsToSend, setEventsToSend] = useState([]);\n\n const [webhookTestData, setWebhookTestData] = useState(null);\n const [testDataRef, setTestDataRef] = useState<'webhook' | 'testResult'>(\n 'webhook',\n );\n\n const [isExpanded, setIsExpanded] = useState(false);\n\n const onExpandOrCollapsed = () => {\n setIsExpanded(!isExpanded);\n };\n\n const onWebhookNameChange = (name) => {\n setWebhookName(name);\n\n if (name.length > 250) {\n setWebhookNameError('Maximum Character length reached');\n } else {\n setWebhookNameError('');\n }\n };\n\n const onWebhookURLChange = (url) => {\n setWebhookURL(url);\n\n if (!validator.isURL(url)) {\n setWebhookURLError('Invalid URL format');\n } else {\n setWebhookURLError('');\n }\n };\n\n const onAddHeader = () => {\n if (headers.length < 5) {\n setHeaders([...headers, { key: '', value: '', id: headers.length + 1 }]);\n }\n };\n\n const onDeleteHeader = (id: number) => {\n if (headers.length > 1) {\n const updatedHeaders = headers.filter((header) => header.id !== id);\n setHeaders(updatedHeaders);\n }\n };\n\n const onHeaderKeyChange = (id: number, key: string) => {\n const updatedHeaders = headers.map((header) =>\n header.id === id ? { ...header, key } : header,\n );\n setHeaders(updatedHeaders);\n };\n\n const onHeaderValueChange = (id: number, value: string) => {\n const updatedHeaders = headers.map((header) =>\n header.id === id ? { ...header, value } : header,\n );\n setHeaders(updatedHeaders);\n };\n\n const onWebhookTriggerEventChange = (\n checked: boolean,\n trigger: WebhookTriggerEvent,\n ) => {\n if (checked) {\n setEventsToSend([...eventsToSend, trigger]);\n } else {\n setEventsToSend(eventsToSend.filter((event) => event !== trigger));\n }\n };\n\n const generateHeadersObject = () =>\n headers.reduce((obj, item) => {\n if (item.key !== '' && item.value !== '') {\n obj[item.key] = item.value;\n }\n return obj;\n }, {});\n\n const checkIsError = () =>\n webhookName === '' ||\n webhookNameError !== '' ||\n webhookURL === '' ||\n webhookURLError !== '' ||\n eventsToSend.length === 0;\n\n const onSaveAndTest = () => {\n if (!checkIsError()) {\n if (action === 'create') {\n sendCreateWebhookRequest({\n name: webhookName,\n webhookUrl: webhookURL,\n webhookEvent: eventsToSend,\n headers: generateHeadersObject(),\n });\n return;\n }\n\n if (action === 'update' && webhookId) {\n sendUpdateWebhookRequest({\n webhookId,\n name: webhookName,\n webhookUrl: webhookURL,\n webhookEvent: eventsToSend,\n headers: generateHeadersObject(),\n });\n setTestDataRef('webhook');\n }\n }\n };\n\n const onTest = () => {\n if (!checkIsError()) {\n sendTestWebhookRequest({\n name: webhookName,\n webhookUrl: webhookURL,\n webhookEvent: eventsToSend,\n headers: generateHeadersObject(),\n });\n setTestDataRef('testResult');\n }\n };\n\n useEffect(() => {\n if (!hasPermission(Permissions.WEBHOOKS_WRITE)) {\n history.push('/settings/webhook');\n }\n }, []);\n\n useEffect(\n () => () => {\n resetWebhookTestResult();\n },\n [],\n );\n\n useEffect(() => {\n if (testDataRef === 'webhook' && defaultWebhook) {\n setWebhookTestData({\n failed: defaultWebhook?.failed,\n statusCode: defaultWebhook?.failed ? 400 : 200,\n statusText: defaultWebhook?.failed ? 'Not Found' : 'OK',\n meta: {\n status: defaultWebhook?.failed ? 'error' : 'success',\n message: defaultWebhook?.failed\n ? 'Webhook processing failed.'\n : 'Webhook received and processed successfully.',\n ...(defaultWebhook?.failed && {\n error_code: defaultWebhook?.failedData?.body?.code,\n error_message: defaultWebhook?.failedData?.body?.message,\n }),\n },\n lastTriggeredAt: `Last Triggered on ${getFormattedDateTime(\n defaultWebhook?.lastActivityAt?.toString(),\n )}`,\n });\n return;\n }\n if (testDataRef === 'testResult') {\n setWebhookTestData({\n failed: webhookTestResult?.failed,\n statusCode: webhookTestResult?.failed ? 400 : 200,\n statusText: webhookTestResult?.failed ? 'Not Found' : 'OK',\n meta: {\n status: webhookTestResult?.failed ? 'error' : 'success',\n message: webhookTestResult?.failed\n ? 'Webhook processing failed.'\n : 'Webhook received and processed successfully.',\n ...(webhookTestResult?.failed && {\n error_code: webhookTestResult?.testResponse?.code,\n error_message: webhookTestResult?.testResponse?.message,\n }),\n },\n lastTriggeredAt: `Last Triggered on ${getFormattedDateTime(\n webhookTestResult?.testData?.emailSentAt?.toString(),\n )}`,\n });\n }\n }, [defaultWebhook, webhookTestResult]);\n\n useEffect(() => {\n if (defaultWebhook) {\n setWebhookName(defaultWebhook?.name || '');\n setWebhookURL(defaultWebhook?.url || '');\n setHeaders(\n defaultWebhook?.headers\n ? Object.entries(defaultWebhook?.headers).map(([key, value], id) => ({\n key,\n value,\n id: id + 1,\n }))\n : [{ key: '', value: '', id: 1 }],\n );\n setEventsToSend(defaultWebhook?.events);\n }\n }, [defaultWebhook]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: createWebhookRequestStatus,\n onSuccess: () => {\n history.push('/settings/webhook');\n resetCreateWebhookRequest();\n toaster.success('Webhook has been saved successfully', {\n theme: Theme.New,\n });\n },\n onFailed: () => {\n history.push('/settings/webhook');\n resetCreateWebhookRequest();\n executeOnErrorWithErrorCheck({\n error: createWebhookRequestError,\n onError: () => {\n toaster.error(createWebhookRequestError.message, {\n theme: Theme.New,\n });\n },\n });\n },\n });\n }, [createWebhookRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: updateWebhookRequestStatus,\n onSuccess: () => {\n resetUpdateWebhookRequest();\n toaster.success('Webhook has been saved successfully', {\n theme: Theme.New,\n });\n },\n onFailed: () => {\n resetUpdateWebhookRequest();\n executeOnErrorWithErrorCheck({\n error: updateWebhookRequestError,\n onError: () => {\n toaster.error(updateWebhookRequestError.message, {\n theme: Theme.New,\n });\n },\n });\n },\n });\n }, [updateWebhookRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: testWebhookRequestStatus,\n onSuccess: () => {\n resetTestWebhookRequest();\n },\n onFailed: () => {\n resetTestWebhookRequest();\n executeOnErrorWithErrorCheck({\n error: testWebhookRequestError,\n onError: () => {\n toaster.error(testWebhookRequestError.message, {\n theme: Theme.New,\n });\n },\n });\n },\n });\n }, [testWebhookRequestStatus]);\n\n const isCreateWebhookRequestStatusPending = getIsRequestPending(\n createWebhookRequestStatus,\n );\n const isUpdateWebhookRequestStatusPending = getIsRequestPending(\n updateWebhookRequestStatus,\n );\n const isTestWebhookRequestStatusPending = getIsRequestPending(\n testWebhookRequestStatus,\n );\n const isError = checkIsError();\n\n const testBtn = (\n 1\n }\n isLoading={isTestWebhookRequestStatusPending}\n loadingText=\"Test\"\n >\n Test\n \n );\n\n if (!hasPermission(Permissions.WEBHOOKS_WRITE)) {\n return <>;\n }\n\n const webhookContentWrapperClassNames = classNames([\n 'webhook-content-wrapper',\n {\n isExpanded,\n },\n ]);\n\n return (\n
    \n {!hideHeader && }\n\n
    \n \n\n {webhookTestData && (\n \n )}\n
    \n
    \n \n Save\n \n {eventsToSend?.length > 1 ? (\n \n {testBtn}\n \n ) : (\n testBtn\n )}\n
    \n
    \n );\n};\n\nexport default AddWebhook;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../../../store/root-reducer';\n\nimport AddWebhook from './add-webhook';\n\nimport {\n createWebhookRequest,\n testWebhookRequest,\n updateWebhookRequest,\n} from '../../extra-actions';\nimport {\n resetCreateWebhookRequest,\n resetTestWebhookRequest,\n resetUpdateWebhookRequest,\n resetWebhookTestResult,\n} from '../../webhook-slice';\nimport {\n Webhook,\n CreateAndTestWebhookPayload,\n UpdateWebhookPayload,\n} from '../../../../types/webhook';\n\nconst mapStateToProps = (state: RootState) => ({\n createWebhookRequestStatus: state.webhook.createWebhookRequest.status,\n createWebhookRequestMessage: state.webhook.createWebhookRequest.message,\n createWebhookRequestError: state.webhook.createWebhookRequest.error,\n\n updateWebhookRequestStatus: state.webhook.updateWebhookRequest.status,\n updateWebhookRequestMessage: state.webhook.updateWebhookRequest.message,\n updateWebhookRequestError: state.webhook.updateWebhookRequest.error,\n\n testWebhookRequestStatus: state.webhook.testWebhookRequest.status,\n testWebhookRequestMessage: state.webhook.testWebhookRequest.message,\n testWebhookRequestError: state.webhook.testWebhookRequest.error,\n\n webhookTestResult: state.webhook.webhookTestResult,\n});\n\nconst mapDispatchToProps = {\n sendCreateWebhookRequest: (payload: CreateAndTestWebhookPayload) =>\n createWebhookRequest(payload),\n resetCreateWebhookRequest: () => resetCreateWebhookRequest(),\n\n sendUpdateWebhookRequest: (payload: UpdateWebhookPayload) =>\n updateWebhookRequest(payload),\n resetUpdateWebhookRequest: () => resetUpdateWebhookRequest(),\n\n sendTestWebhookRequest: (payload: CreateAndTestWebhookPayload) =>\n testWebhookRequest(payload),\n resetTestWebhookRequest: () => resetTestWebhookRequest(),\n resetWebhookTestResult: () => resetWebhookTestResult(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n hideHeader?: boolean;\n defaultWebhook?: Webhook;\n action?: 'create' | 'update';\n};\n\nexport default connector(AddWebhook);\n","import React from 'react';\nimport { NoLogsFound } from '../../../../../../../shared/svg';\n\nconst NoLogsFoundUI = ({ activityType = 'all' }) => (\n
    \n \n

    No logs found

    \n

    {`There is no ${\n activityType === 'all' ? '' : activityType\n } log to show.`}

    \n
    \n);\n\nexport default NoLogsFoundUI;\n","import React from 'react';\nimport { SkeletonLoading } from '@saleshandy/design-system';\n\nconst WebhookCodeBlockLoader: React.FC = () => (\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\nexport default WebhookCodeBlockLoader;\n","import React from 'react';\nimport { SkeletonLoading } from '@saleshandy/design-system';\n\nconst WebhookLogsListLoader: React.FC = () => (\n
    \n
    \n \n \n
    \n
    \n \n \n
    \n
    \n \n \n
    \n
    \n \n \n
    \n
    \n);\nexport default WebhookLogsListLoader;\n","import React, { useEffect, useState } from 'react';\nimport { useParams } from 'react-router';\nimport { Button, SkeletonLoading } from '@saleshandy/design-system';\nimport classNames from 'classnames';\n\nimport type { IProps } from './webhook-logs-container';\n\nimport Select from '../../../../../../../../shared/design-system/components/select';\nimport WebhookReqResPreview from '../../../webhook-req-res-preview';\nimport {\n WebhookActivityTypeOption,\n getFormattedDateForWebhook,\n webhookActivityTypeOptions,\n} from '../../helper';\nimport {\n executeOnErrorWithErrorCheck,\n executeOnRequestStatus,\n getIsRequestPending,\n} from '../../../../../../../../shared/utils';\nimport toaster, { Theme } from '../../../../../../../../shared/toaster';\nimport { accessibleOnClick } from '../../../../../../../../shared/utils/accessible-on-click';\nimport NoLogsFoundUI from '../no-logs-found';\nimport { OverlayTooltip } from '../../../../../../../../shared/design-system/components/overlay';\nimport WebhookCodeBlockLoader from '../webhook-code-block-loader';\nimport WebhookLogsListLoader from '../webhook-logs-list-loader';\n\nconst WebhookLogs: React.FC = ({\n webhook,\n getWebhookRequestStatus,\n\n webhookActivityLogs,\n webhookActivityLogsPaginationOptions,\n getWebhookActivityLogsRequestStatus,\n getWebhookActivityLogsRequestError,\n sendGetWebhookActivityLogsRequest,\n resetGetWebhookActivityLogsRequest,\n resetWebhookActivityLogs,\n\n webhookActivityDetails,\n getWebhookActivityDetailsRequestStatus,\n getWebhookActivityDetailsRequestError,\n sendGetWebhookActivityDetailsRequest,\n resetGetWebhookActivityDetailsRequest,\n resetWebhookActivityDetails,\n\n resendFailedWebhookEventRequest,\n resetResendFailedWebhookEventRequest,\n resendFailedWebhookEventRequestStatus,\n resendFailedWebhookEventRequestError,\n}) => {\n const { webhookId } = useParams<{\n webhookId: string;\n }>();\n\n const [selectedLogStatusKey, setSelectedLogStatusKey] = useState(\n webhookActivityTypeOptions[0].key,\n );\n const [selectedEventIndex, setSelectedEventIndex] = useState(0);\n const [isExpanded, setIsExpanded] = useState(false);\n\n const onExpandOrCollapsed = () => {\n setIsExpanded(!isExpanded);\n };\n\n useEffect(() => {\n sendGetWebhookActivityLogsRequest({\n webhookId,\n action: 'reset',\n });\n }, []);\n\n useEffect(\n () => () => {\n resetWebhookActivityLogs();\n resetWebhookActivityDetails();\n },\n [],\n );\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getWebhookActivityLogsRequestStatus,\n onSuccess: () => {\n resetGetWebhookActivityLogsRequest();\n if (webhookActivityLogs?.length > 0) {\n sendGetWebhookActivityDetailsRequest({\n webhookId,\n keyId: webhookActivityLogs?.[0]?.key,\n });\n }\n },\n onFailed: () => {\n resetGetWebhookActivityLogsRequest();\n executeOnErrorWithErrorCheck({\n error: getWebhookActivityLogsRequestError,\n onError: () => {\n toaster.error(getWebhookActivityLogsRequestError.message, {\n theme: Theme.New,\n });\n },\n });\n },\n });\n }, [getWebhookActivityLogsRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getWebhookActivityDetailsRequestStatus,\n onSuccess: () => {\n resetGetWebhookActivityDetailsRequest();\n },\n onFailed: () => {\n resetGetWebhookActivityDetailsRequest();\n executeOnErrorWithErrorCheck({\n error: getWebhookActivityDetailsRequestError,\n onError: () => {\n toaster.error(getWebhookActivityDetailsRequestError.message, {\n theme: Theme.New,\n });\n },\n });\n },\n });\n }, [getWebhookActivityDetailsRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: resendFailedWebhookEventRequestStatus,\n onSuccess: () => {\n setSelectedEventIndex(0);\n resetWebhookActivityDetails();\n sendGetWebhookActivityLogsRequest({\n webhookId,\n action: 'reset',\n });\n toaster.success('Webhook event has been resent successfully', {\n theme: Theme.New,\n });\n\n resetResendFailedWebhookEventRequest();\n },\n onFailed: () => {\n setSelectedEventIndex(0);\n resetWebhookActivityDetails();\n sendGetWebhookActivityLogsRequest({\n webhookId,\n action: 'reset',\n });\n resetResendFailedWebhookEventRequest();\n executeOnErrorWithErrorCheck({\n error: resendFailedWebhookEventRequestError,\n onError: () => {\n toaster.error(resendFailedWebhookEventRequestError.message, {\n theme: Theme.New,\n });\n },\n });\n },\n });\n }, [resendFailedWebhookEventRequestStatus]);\n\n const isGetWebhookRequestStatusLoading = getIsRequestPending(\n getWebhookRequestStatus,\n );\n const isGetWebhookActivityLogsRequestStatusLoading = getIsRequestPending(\n getWebhookActivityLogsRequestStatus,\n );\n const isGetWebhookActivityDetailsRequestStatusLoading = getIsRequestPending(\n getWebhookActivityDetailsRequestStatus,\n );\n\n const webhookLogsClassNames = classNames([\n 'webhook-logs',\n {\n isExpanded,\n },\n ]);\n\n const webhookSelectedClassNames = classNames([\n 'webhook-logs--selected',\n {\n visible:\n isGetWebhookActivityLogsRequestStatusLoading ||\n isGetWebhookActivityDetailsRequestStatusLoading ||\n (webhookActivityDetails && !!webhookActivityDetails.statusCode),\n },\n ]);\n\n return (\n
    \n
    \n
    \n

    \n {isGetWebhookRequestStatusLoading ? (\n \n ) : (\n webhook?.name\n )}\n

    \n

    \n {isGetWebhookRequestStatusLoading ? (\n \n ) : (\n webhook?.url\n )}\n

    \n
    \n
    \n

    \n {isGetWebhookRequestStatusLoading ? (\n \n ) : (\n 'Log list'\n )}\n

    \n {isGetWebhookActivityLogsRequestStatusLoading ? (\n \n ) : (\n \n options={webhookActivityTypeOptions}\n selectedOptionKey={selectedLogStatusKey}\n optionRenderer={(option) => {option?.label}}\n selectedOptionRenderer={([option]) => (\n {option?.label}\n )}\n onChange={([option]) => {\n setSelectedLogStatusKey(option?.key);\n setSelectedEventIndex(0);\n resetGetWebhookActivityLogsRequest();\n resetWebhookActivityDetails();\n sendGetWebhookActivityLogsRequest({\n webhookId,\n action: 'reset',\n ...(option?.key !== 'all' && { activityType: option?.key }),\n });\n }}\n />\n )}\n
    \n\n {isGetWebhookActivityLogsRequestStatusLoading && (\n \n )}\n\n {!isGetWebhookActivityLogsRequestStatusLoading &&\n webhookActivityLogs?.length === 0 && (\n \n )}\n\n {!isGetWebhookActivityLogsRequestStatusLoading &&\n webhookActivityLogs?.length > 0 && (\n
    \n {webhookActivityLogs?.length > 0 &&\n webhookActivityLogs.map((log, index) => (\n {\n sendGetWebhookActivityDetailsRequest({\n webhookId,\n keyId: log?.key,\n });\n setSelectedEventIndex(index);\n })}\n >\n
    \n
    \n

    {log.event}

    \n
    \n \n

    {getFormattedDateForWebhook(log.activityAt, false)}

    \n \n
    \n ))}\n {webhookActivityLogsPaginationOptions?.totalItems >\n webhookActivityLogs?.length && (\n {\n sendGetWebhookActivityLogsRequest({\n webhookId,\n action: 'load-more',\n page:\n webhookActivityLogsPaginationOptions?.currentPage + 1,\n ...(selectedLogStatusKey !== 'all' && {\n activityType: selectedLogStatusKey,\n }),\n });\n }}\n >\n Load More\n \n )}\n
    \n )}\n
    \n\n
    \n {(isGetWebhookActivityLogsRequestStatusLoading ||\n isGetWebhookActivityDetailsRequestStatusLoading) && (\n \n )}\n\n {!isGetWebhookActivityDetailsRequestStatusLoading &&\n webhookActivityDetails &&\n !!webhookActivityDetails.statusCode && (\n {\n if (\n !getIsRequestPending(resendFailedWebhookEventRequestStatus)\n ) {\n resendFailedWebhookEventRequest(\n webhookActivityLogs?.[selectedEventIndex]?.id,\n );\n }\n }}\n showEventType\n event={webhookActivityDetails?.data?.event}\n showRequest\n requestJson={webhookActivityDetails?.data}\n />\n )}\n
    \n
    \n );\n};\n\nexport default WebhookLogs;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../../../../../store/root-reducer';\n\nimport WebhookLogs from './webhook-logs';\n\nimport {\n getWebhookActivityLogsRequest,\n getWebhookActivityDetailsRequest,\n resendFailedWebhookEventRequest,\n} from '../../../../extra-actions';\nimport {\n resetGetWebhookActivityLogsRequest,\n resetGetWebhookActivityDetailsRequest,\n resetWebhookActivityDetails,\n resetWebhookActivityLogs,\n resetResendFailedWebhookEventRequest,\n} from '../../../../webhook-slice';\nimport {\n GetWebhookActivityLogsPayload,\n GetWebhookActivityDetailsPayload,\n} from '../../../../../../types/webhook';\n\nconst mapStateToProps = (state: RootState) => ({\n getWebhookRequestStatus: state.webhook.getWebhookRequest.status,\n\n getWebhookActivityLogsRequestStatus:\n state.webhook.getWebhookActivityLogsRequest.status,\n getWebhookActivityLogsRequestMessage:\n state.webhook.getWebhookActivityLogsRequest.message,\n getWebhookActivityLogsRequestError:\n state.webhook.getWebhookActivityLogsRequest.error,\n\n getWebhookActivityDetailsRequestStatus:\n state.webhook.getWebhookActivityDetailsRequest.status,\n getWebhookActivityDetailsRequestMessage:\n state.webhook.getWebhookActivityDetailsRequest.message,\n getWebhookActivityDetailsRequestError:\n state.webhook.getWebhookActivityDetailsRequest.error,\n\n resendFailedWebhookEventRequestStatus:\n state.webhook.resendFailedWebhookEventRequest.status,\n resendFailedWebhookEventRequestMessage:\n state.webhook.resendFailedWebhookEventRequest.message,\n resendFailedWebhookEventRequestError:\n state.webhook.resendFailedWebhookEventRequest.error,\n\n webhook: state.webhook.webhook,\n webhookActivityLogs: state.webhook.webhookActivityLogs,\n webhookActivityDetails: state.webhook.webhookActivityDetails,\n webhookActivityLogsPaginationOptions:\n state.webhook.webhookActivityLogsPaginationOptions,\n});\n\nconst mapDispatchToProps = {\n sendGetWebhookActivityLogsRequest: (payload: GetWebhookActivityLogsPayload) =>\n getWebhookActivityLogsRequest(payload),\n resetGetWebhookActivityLogsRequest: () =>\n resetGetWebhookActivityLogsRequest(),\n resetWebhookActivityLogs: () => resetWebhookActivityLogs(),\n\n sendGetWebhookActivityDetailsRequest: (\n payload: GetWebhookActivityDetailsPayload,\n ) => getWebhookActivityDetailsRequest(payload),\n resetGetWebhookActivityDetailsRequest: () =>\n resetGetWebhookActivityDetailsRequest(),\n\n resendFailedWebhookEventRequest: (keyId: string) =>\n resendFailedWebhookEventRequest(keyId),\n resetResendFailedWebhookEventRequest: () =>\n resetResendFailedWebhookEventRequest(),\n\n resetWebhookActivityDetails: () => resetWebhookActivityDetails(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps;\n\nexport default connector(WebhookLogs);\n","import React from 'react';\nimport { SkeletonLoading } from '@saleshandy/design-system';\n\nconst AddWebhookLoader: React.FC = () => (\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\nexport default AddWebhookLoader;\n","import React, { useEffect, useState } from 'react';\nimport Tabs, { TabPane } from 'rc-tabs';\nimport { useHistory, useParams } from 'react-router';\n\nimport type { IProps } from './webhook-details-and-logs-container';\n\nimport AddWebhookHeader from '../add-webhook/components/add-webhook-header';\nimport AddWebhook from '../add-webhook';\nimport WebhookLogs from './components/webhook-logs';\nimport {\n executeOnErrorWithErrorCheck,\n executeOnRequestStatus,\n getIsRequestPending,\n} from '../../../../../../shared/utils';\nimport AddWebhookLoader from '../add-webhook/components/add-webhook-loader';\nimport toaster, { Theme } from '../../../../../../shared/toaster';\nimport { WebhookStatus } from '../../../../enums/webhook';\nimport hasPermission from '../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../shared/utils/access-control/enums/permissions';\nimport RestrictionModal from '../webhook-list/components/restriction-modal';\n\n// Enum defining possible tab values\nconst WebhookTabsEnum = {\n Details: 'details',\n Logs: 'logs',\n};\n\nconst WebhookDetailAndLogs: React.FC = ({\n webhook,\n webhookTestResult,\n getWebhookRequestStatus,\n getWebhookRequestError,\n sendGetWebhookRequest,\n resetGetWebhookRequest,\n updateWebhookData,\n resetWebhookData,\n\n sendUpdateWebhookStatusRequest,\n resetUpdateWebhookStatusRequest,\n updateWebhookStatusRequestStatus,\n updateWebhookStatusRequestError,\n\n updateWebhookRequestStatus,\n\n showLoading,\n hideLoading,\n}) => {\n const history = useHistory();\n\n const { webhookId, tab: tabFromParams } = useParams<{\n webhookId: string;\n tab: string;\n }>();\n\n const [activeTab, setActiveTab] = useState(WebhookTabsEnum.Details);\n const [showRestrictionErrorModal, setShowRestrictionErrorModal] = useState(\n false,\n );\n\n const handleTabChange = (tab) => {\n setActiveTab(tab);\n if (tab === WebhookTabsEnum.Details) {\n history.push(`/settings/webhook/${webhookId}/details`);\n } else if (tab === WebhookTabsEnum.Logs) {\n history.push(`/settings/webhook/${webhookId}/logs`);\n }\n };\n\n const onWebhookStatusToggle = () => {\n if (hasPermission(Permissions.WEBHOOKS_WRITE)) {\n const showErrorMsg = () =>\n toaster.error(\n 'Please ensure that the webhook test response is successful before activating.',\n { theme: Theme.New },\n );\n\n if (webhookTestResult) {\n if (webhookTestResult?.failed) {\n showErrorMsg();\n }\n } else if (webhook?.failed) {\n showErrorMsg();\n } else {\n sendUpdateWebhookStatusRequest({\n webhookId,\n webhookStatus:\n webhook?.status === WebhookStatus.Active\n ? WebhookStatus.Paused\n : WebhookStatus.Active,\n });\n }\n } else {\n setShowRestrictionErrorModal(true);\n }\n };\n\n useEffect(() => {\n if (tabFromParams) {\n if (\n tabFromParams !== activeTab &&\n tabFromParams === WebhookTabsEnum.Details\n ) {\n setActiveTab(tabFromParams);\n history.push(`/settings/webhook/${webhookId}/details`);\n } else if (\n tabFromParams !== activeTab &&\n tabFromParams === WebhookTabsEnum.Logs\n ) {\n setActiveTab(tabFromParams);\n history.push(`/settings/webhook/${webhookId}/logs`);\n }\n } else {\n history.push(`/settings/webhook/${webhookId}/details`);\n }\n }, [tabFromParams]);\n\n useEffect(() => {\n sendGetWebhookRequest(webhookId);\n\n return () => {\n resetWebhookData();\n };\n }, []);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: updateWebhookRequestStatus,\n onSuccess: () => {\n sendGetWebhookRequest(webhookId);\n },\n });\n }, [updateWebhookRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: updateWebhookStatusRequestStatus,\n onSuccess: () => {\n resetUpdateWebhookStatusRequest();\n toaster.success(\n `Webhook has been ${\n webhook?.status === WebhookStatus.Paused ? 'activated' : 'paused'\n } successfully`,\n {\n theme: Theme.New,\n },\n );\n\n updateWebhookData({\n status:\n webhook?.status === WebhookStatus.Active\n ? WebhookStatus.Paused\n : WebhookStatus.Active,\n });\n },\n onFailed: () => {\n resetUpdateWebhookStatusRequest();\n executeOnErrorWithErrorCheck({\n error: updateWebhookStatusRequestError,\n onError: () => {\n toaster.error(updateWebhookStatusRequestError.message, {\n theme: Theme.New,\n });\n },\n });\n },\n });\n }, [updateWebhookStatusRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getWebhookRequestStatus,\n onPending: () => {\n showLoading();\n },\n onSuccess: () => {\n hideLoading();\n resetGetWebhookRequest();\n },\n onFailed: () => {\n resetGetWebhookRequest();\n executeOnErrorWithErrorCheck({\n error: getWebhookRequestError,\n onError: () => {\n toaster.error(getWebhookRequestError.message, {\n theme: Theme.New,\n });\n },\n });\n },\n });\n }, [getWebhookRequestStatus]);\n\n const isGetWebhookRequestStatusPending = getIsRequestPending(\n getWebhookRequestStatus,\n );\n\n return (\n <>\n \n\n \n \n {isGetWebhookRequestStatusPending ? (\n \n ) : (\n \n )}\n \n \n \n \n \n\n {\n setShowRestrictionErrorModal(false);\n }}\n />\n \n );\n};\n\nexport default WebhookDetailAndLogs;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { hideLoading, showLoading } from 'react-redux-loading-bar';\nimport { RootState } from '../../../../../../store/root-reducer';\n\nimport {\n getWebhookRequest,\n updateWebhookStatusRequest,\n} from '../../extra-actions';\nimport {\n resetGetWebhookRequest,\n resetUpdateWebhookStatusRequest,\n resetWebhookData,\n updateWebhookData,\n} from '../../webhook-slice';\n\nimport WebhookDetailAndLogs from './webhook-details-and-logs';\nimport { UpdateWebhookStatusPayload, Webhook } from '../../../../types/webhook';\n\nconst mapStateToProps = (state: RootState) => ({\n webhook: state.webhook.webhook,\n webhookTestResult: state.webhook.webhookTestResult,\n\n updateWebhookRequestStatus: state.webhook.updateWebhookRequest.status,\n\n getWebhookRequestStatus: state.webhook.getWebhookRequest.status,\n getWebhookRequestMessage: state.webhook.getWebhookRequest.message,\n getWebhookRequestError: state.webhook.getWebhookRequest.error,\n\n updateWebhookStatusRequestStatus:\n state.webhook.updateWebhookStatusRequest.status,\n updateWebhookStatusRequestMessage:\n state.webhook.updateWebhookStatusRequest.message,\n updateWebhookStatusRequestError:\n state.webhook.updateWebhookStatusRequest.error,\n});\n\nconst mapDispatchToProps = {\n updateWebhookData: (payload: Partial) => updateWebhookData(payload),\n resetWebhookData: () => resetWebhookData(),\n\n sendGetWebhookRequest: (webhookId: string) => getWebhookRequest(webhookId),\n resetGetWebhookRequest: () => resetGetWebhookRequest(),\n\n sendUpdateWebhookStatusRequest: (payload: UpdateWebhookStatusPayload) =>\n updateWebhookStatusRequest(payload),\n resetUpdateWebhookStatusRequest: () => resetUpdateWebhookStatusRequest(),\n\n showLoading: () => showLoading(),\n hideLoading: () => hideLoading(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps;\n\nexport default connector(WebhookDetailAndLogs);\n","import React from 'react';\nimport { Container } from 'react-bootstrap';\nimport { Redirect, Route, Switch } from 'react-router-dom';\n\nimport history from '../../../../shared/history';\nimport Suspense from '../../../../shared/components/suspense';\nimport ErrorBoundaryWrapper from '../../../../shared/components/error-boundary-wrapper';\n\nimport WebhookList from './components/webhook-list';\nimport AddWebhook from './components/add-webhook';\nimport WebhookDetailAndLogs from './components/webhook-details-and-logs';\nimport hasPermission from '../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../shared/utils/access-control/enums/permissions';\n\nconst Webhook: React.FC = () => {\n if (!hasPermission(Permissions.WEBHOOKS_SHOW)) {\n history.push('/settings/');\n return <>;\n }\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default Webhook;\n","import React from 'react';\nimport { GlobalSettings } from '../../../../../shared/components/global-settings-wrapper';\n\nconst UsersAndTeamsHeader: React.FC = () => (\n \n \n \n \n \n);\n\nexport default UsersAndTeamsHeader;\n","import React from 'react';\nimport {\n CircleCheck,\n AlertTriangle,\n Forbid,\n Hourglass,\n} from '@saleshandy/icons';\nimport { User } from '../../../../../types/users-and-teams';\nimport {\n UserStatusKeys,\n UserStatusLabel,\n} from '../../../../../enums/users-and-teams';\nimport {\n OverlayTooltip,\n Placement,\n} from '../../../../../../../shared/design-system/components/overlay';\nimport TruncatedTextWithTooltip from '../../../../../../../shared/components/truncated-text-with-tooltip';\n\nconst UserNameCell: React.FC<{\n user: User;\n userId: number;\n isLastRow: boolean;\n nameCol?: boolean;\n}> = ({\n user: { id, firstName, lastName, email, status },\n userId,\n isLastRow,\n nameCol = false,\n}) => {\n const name = `${firstName || ''} ${lastName || ''}`.trim();\n\n const getStatusIcon = () => {\n if (status === UserStatusKeys.Invited) {\n return ;\n }\n if (status === UserStatusKeys.Failed) {\n return ;\n }\n if (status === UserStatusKeys.InActive) {\n return ;\n }\n\n return ;\n };\n\n const getStatusLabel = () => {\n if (status === UserStatusKeys.Invited) {\n return UserStatusLabel.Invited;\n }\n if (status === UserStatusKeys.Failed) {\n return UserStatusLabel.Failed;\n }\n if (status === UserStatusKeys.InActive) {\n return UserStatusLabel.InActive;\n }\n\n return UserStatusLabel.Active;\n };\n\n return (\n
    \n {nameCol ? (\n

    \n \n {userId === id ? ' (You)' : ''}\n

    \n ) : (\n
    \n \n \n {getStatusIcon()}\n \n \n

    \n \n

    \n
    \n )}\n
    \n );\n};\n\nexport default UserNameCell;\n","import React from 'react';\nimport { Dropdown } from 'react-bootstrap';\nimport { DotsVertical } from '@saleshandy/icons';\nimport { getActionPermissions } from '../utils/get-action-permissions';\nimport { Action } from '../../../../../../../shared/design-system/components/organisms/table/types';\nimport { accessibleOnClick } from '../../../../../../../shared/utils/accessible-on-click';\nimport { User } from '../../../../../types/users-and-teams';\nimport { UserStatusKeys } from '../../../../../enums/users-and-teams';\n\ntype IProps = {\n userId: number;\n row: User;\n actions: Action[];\n onAction: (key: string, row: User) => void;\n userTimezone?: string;\n isLastRow?: boolean;\n currentUserATMRole?: string;\n setIsDropdownOpen?: React.Dispatch>;\n};\n\nconst ActionsCell: React.FC = ({\n userId,\n row,\n actions,\n onAction,\n currentUserATMRole,\n setIsDropdownOpen,\n}) => {\n let actionsCounter = 0;\n const outerAction = [];\n const dropdownActions = [];\n\n const filteredActions = actions.filter((action) =>\n getActionPermissions(\n userId,\n action,\n row.status,\n row.id,\n row.role,\n currentUserATMRole,\n ),\n );\n\n filteredActions.forEach((action) => {\n if (actionsCounter < 3 || filteredActions.length === 4) {\n outerAction.push(action);\n actionsCounter += 1;\n } else {\n dropdownActions.push(action);\n }\n });\n\n return (\n
    \n \n setIsDropdownOpen((prev) => {\n if (val) {\n return row.id;\n }\n return prev === row.id ? null : prev;\n })\n }\n bsPrefix=\"dropdown-custom\"\n drop=\"down\"\n >\n \n \n \n \n {filteredActions.map((action) => (\n {\n onAction(action.key, row);\n })}\n className={`${\n (row.status === UserStatusKeys.Active &&\n action.key === 'enable') ||\n (row.status === UserStatusKeys.InActive &&\n action.key === 'disable')\n ? 'enable-disable-btn'\n : ''\n }`}\n >\n {action.iconElement} {action.displayName}\n \n ))}\n \n \n
    \n );\n};\n\nexport default ActionsCell;\n","import { UserRole, UserStatusKeys } from '../../../../../enums/users-and-teams';\nimport { Action } from '../../../../../../../shared/design-system/components/organisms/table/types';\nimport { Permissions } from '../../../../../../../shared/utils/access-control/enums/permissions';\nimport hasPermission from '../../../../../../../shared/utils/access-control/has-permission';\n\nexport const getActionPermissions = (\n userId: number,\n action: Action,\n status: UserStatusKeys,\n rowId: number,\n rowRole?: string,\n currentUserATMRole?: string,\n): boolean => {\n if (\n action.key === 'changeRole' &&\n currentUserATMRole === UserRole.Admin &&\n rowRole === UserRole.Owner\n ) {\n return false;\n }\n\n if (\n (currentUserATMRole !== UserRole.Admin && rowRole !== UserRole.Owner) ||\n (userId !== rowId &&\n action.key === 'changeRole' &&\n hasPermission(Permissions.ACCOUNT_USER_UPDATE) &&\n status !== UserStatusKeys.Failed)\n ) {\n return true;\n }\n\n if (\n action.key === 'assignTeam' &&\n hasPermission(Permissions.ACCOUNT_TEAM_INVITE_WRITE) &&\n status !== UserStatusKeys.Failed\n ) {\n return true;\n }\n\n if (\n userId !== rowId &&\n action.key === 'delete' &&\n hasPermission(Permissions.ACCOUNT_USER_DELETE)\n ) {\n return true;\n }\n\n if (\n userId !== rowId &&\n action.key === 'disable' &&\n hasPermission(Permissions.ACCOUNT_USER_UPDATE) &&\n status !== UserStatusKeys.Failed &&\n status !== UserStatusKeys.Invited &&\n status !== UserStatusKeys.InActive\n ) {\n return true;\n }\n\n if (\n userId !== rowId &&\n action.key === 'enable' &&\n hasPermission(Permissions.ACCOUNT_USER_UPDATE) &&\n status === UserStatusKeys.InActive\n ) {\n return true;\n }\n\n if (\n userId !== rowId &&\n action.key === 'resend' &&\n hasPermission(Permissions.ACCOUNT_USER_INVITE) &&\n status !== UserStatusKeys.Active &&\n status !== UserStatusKeys.InActive\n ) {\n return true;\n }\n\n if (action.key === 'copyUserId') {\n return true;\n }\n\n return false;\n};\n","import React, { useEffect, useMemo, useState } from 'react';\nimport { UserList } from '@saleshandy/icons';\nimport { UserRole } from '../../../../../enums/users-and-teams';\nimport Select from '../../../../../../../shared/design-system/components/select';\nimport ConfirmationModalV3 from '../../../../../../../shared/design-system/components/atoms/confirmation-modal/confirmation-modal-v3';\nimport { capitalize } from '../../../../../../../shared/utils';\n\ntype IProps = {\n show: boolean;\n defaultRole: UserRole;\n onSubmit: (userRole: UserRole) => void;\n onClose: () => void;\n isLoading: boolean;\n atmRole: string;\n};\n\ntype ChangeRoleType = {\n key: UserRole;\n};\n\nconst ChangeRoleModal: React.FC = ({\n show,\n defaultRole,\n onSubmit,\n onClose,\n isLoading,\n atmRole,\n}) => {\n const [selectedRole, setSelectedRole] = useState(defaultRole);\n\n const roles = useMemo(\n () =>\n [\n {\n key: UserRole.Member,\n },\n {\n key: UserRole.Admin,\n },\n atmRole === UserRole.Owner ? { key: UserRole.Owner } : null,\n ].filter(Boolean),\n [atmRole],\n );\n\n useEffect(() => {\n if (show) {\n setSelectedRole(defaultRole || UserRole.Member);\n }\n }, [show]);\n\n return (\n }\n title=\"Change Role\"\n showCloseIcon={false}\n className=\"action-modal\"\n customJSX={\n
    \n

    User Role

    \n \n className=\"users-change-role-select\"\n options={roles}\n selectedOptionKey={selectedRole}\n selectedOptionRenderer={([option]) => (\n {capitalize(option?.key)}\n )}\n onChange={([option]) => setSelectedRole(option.key)}\n optionRenderer={(option) => (\n {capitalize(option?.key)}\n )}\n />\n
    \n }\n cancelButtonText=\"Cancel\"\n submitButtonText=\"Change\"\n onSubmit={() => onSubmit(selectedRole)}\n onClose={onClose}\n isSubmitDisabled={isLoading}\n isSubmitLoading={isLoading}\n cancelButtonClassName=\"cancel-btn\"\n />\n );\n};\n\nexport default ChangeRoleModal;\n","import React, { useEffect, useState, useRef } from 'react';\nimport { InfoCircle, UserList } from '@saleshandy/icons';\nimport { Pills } from '@saleshandy/design-system';\nimport ContentEditable from 'react-contenteditable';\nimport { TeamsList, User } from '../../../../../types/users-and-teams';\nimport Select from '../../../../../../../shared/design-system/components/select';\nimport ConfirmationModalV3 from '../../../../../../../shared/design-system/components/atoms/confirmation-modal/confirmation-modal-v3';\nimport { RequestStatus } from '../../../../../../../shared/enums/request-status';\nimport { getIsRequestPending } from '../../../../../../../shared/utils';\nimport Checkbox from '../../../../../../../shared/design-system/components/atoms/checkbox';\nimport { OverlayTooltip } from '../../../../../../../shared/design-system/components/overlay';\n\ntype IProps = {\n show: boolean;\n teamsList: TeamsList[];\n onSubmit: (teamIds: number[], isDefaultTeamMember: boolean) => void;\n onClose: () => void;\n isLoading: boolean;\n getTeamsListRequestStatus: RequestStatus;\n actionUser: User;\n keepAllTeamsAssigned: boolean;\n sendGetAssignTeamSettingRequest: (id: number) => void;\n};\n\ntype AssignTeamType = TeamsList & {\n key: string;\n};\n\nconst AssignTeamModal: React.FC = ({\n show,\n teamsList = [],\n onSubmit,\n onClose,\n isLoading,\n getTeamsListRequestStatus,\n actionUser,\n keepAllTeamsAssigned: keepAllTeamsAssignedDefault,\n sendGetAssignTeamSettingRequest,\n}) => {\n const searchInput = useRef(null);\n const [assignTeamDropdown, setAssignTeamDropdown] = useState(false);\n const [selectedTeamsKeys, setSelectedTeamsKeys] = useState([]);\n const [keepAllTeamsAssigned, setKeepAllTeamsAssigned] = useState(\n false,\n );\n const [searchText, setSearchText] = useState('');\n const [isEditableDivFocused, setIsEditableDivFocused] = useState(false);\n\n const mappedTeamsForFilter = teamsList.map((team) => ({\n key: team.id.toString(),\n ...team,\n }));\n\n const onToggle = (value: boolean) => {\n setAssignTeamDropdown(value);\n if (value && searchInput?.current) {\n searchInput.current.focus();\n }\n if (isEditableDivFocused && !value) {\n setIsEditableDivFocused(false);\n setSearchText('');\n }\n };\n\n const onSearchChange = (e) => {\n setSearchText(e.target.value);\n if (!assignTeamDropdown) {\n setAssignTeamDropdown(true);\n }\n };\n\n const onAssignTeam = () => {\n onSubmit(\n selectedTeamsKeys.map((key) => Number(key)),\n keepAllTeamsAssigned,\n );\n };\n\n const onTeamRemove = (key: string) => {\n setSelectedTeamsKeys(\n selectedTeamsKeys.filter((teamKey) => teamKey !== key),\n );\n };\n\n const onKeepAllTeamsAssignedChange = (checked: boolean) => {\n setKeepAllTeamsAssigned(checked);\n };\n\n useEffect(() => {\n if (keepAllTeamsAssigned !== keepAllTeamsAssignedDefault) {\n setKeepAllTeamsAssigned(keepAllTeamsAssignedDefault);\n }\n }, [keepAllTeamsAssignedDefault]);\n\n useEffect(() => {\n if (keepAllTeamsAssigned) {\n setSelectedTeamsKeys([]);\n } else if (actionUser) {\n const selectedTeams =\n actionUser.teams?.map((team) => team.id?.toString()) || [];\n setSelectedTeamsKeys(selectedTeams);\n }\n }, [keepAllTeamsAssigned]);\n\n useEffect(() => {\n sendGetAssignTeamSettingRequest(actionUser?.id);\n }, []);\n\n return (\n }\n title=\"Assign Team\"\n showCloseIcon={false}\n className=\"action-modal\"\n customJSX={\n
    \n

    Assign Team

    \n \n className=\"users-change-role-select\"\n show={assignTeamDropdown}\n onToggle={onToggle}\n options={mappedTeamsForFilter}\n multiSelect\n selectedOptionKey={selectedTeamsKeys.map((key) => key)}\n optionFilterProp=\"name\"\n placeholder={\n keepAllTeamsAssigned ? (\n 'All teams selected'\n ) : (\n {\n if (!isEditableDivFocused) {\n setIsEditableDivFocused(true);\n }\n }}\n />\n )\n }\n filterOption={(_, option) =>\n option?.name?.toLowerCase().includes(searchText.toLowerCase())\n }\n selectedOptionRenderer={(option) => (\n
    \n {option?.map(\n (team) =>\n team && (\n onTeamRemove(team.key)}\n key={team.id}\n />\n ),\n )}\n {\n if (isEditableDivFocused) {\n setIsEditableDivFocused(false);\n }\n setSearchText('');\n }}\n />\n
    \n )}\n onChange={(selectedTeams) => {\n if (searchText) {\n setSearchText('');\n }\n searchInput?.current?.focus();\n setSelectedTeamsKeys(selectedTeams.map((option) => option.key));\n }}\n optionRenderer={(option) => (\n {option?.name}\n )}\n disabled={keepAllTeamsAssigned}\n isLoading={getIsRequestPending(getTeamsListRequestStatus)}\n />\n
    \n \n \n \n \n
    \n
    \n }\n cancelButtonText=\"Cancel\"\n submitButtonText=\"Assign\"\n onSubmit={onAssignTeam}\n onClose={onClose}\n isSubmitDisabled={isLoading}\n isSubmitLoading={isLoading}\n cancelButtonClassName=\"cancel-btn\"\n />\n );\n};\n\nexport default AssignTeamModal;\n","import React from 'react';\nimport Button from '../../../../../../../shared/design-system/components/atoms/button';\nimport ConfirmationModalV3 from '../../../../../../../shared/design-system/components/atoms/confirmation-modal/confirmation-modal-v3';\nimport { ConfirmationModalIconType } from '../../../../../../../shared/design-system/components/atoms/confirmation-modal/enum';\n\nconst DeleteUserModal = ({ show, onSubmit, onClose, isLoading }) => (\n \n);\n\nexport default DeleteUserModal;\n","import React from 'react';\nimport { Forbid } from '@saleshandy/icons';\nimport ConfirmationModalV3 from '../../../../../../../shared/design-system/components/atoms/confirmation-modal/confirmation-modal-v3';\n\nconst DisableUserModal = ({ show, onSubmit, onClose, isLoading }) => (\n }\n className=\"action-modal\"\n title=\"Disable User\"\n showCloseIcon={false}\n cancelButtonText=\"Cancel\"\n contents={[\n 'Are you sure you want to disable the selected user?',\n 'Once disabled, the user will not be able to access the Saleshandy account.',\n ]}\n submitButtonText=\"Disable\"\n onSubmit={onSubmit}\n onClose={onClose}\n cancelButtonClassName=\"cancel-btn\"\n isSubmitDisabled={isLoading}\n isSubmitLoading={isLoading}\n />\n);\n\nexport default DisableUserModal;\n","import React, { useRef } from 'react';\nimport { Pills } from '@saleshandy/design-system';\nimport classNames from 'classnames';\nimport { accessibleOnClick } from '../../../../../shared/utils/accessible-on-click';\n\ntype IProps = {\n value: string;\n emails: string[];\n onEmailRemove: (value: string) => void;\n handleOnChange: (value: string) => void;\n onAction: (action: string) => void;\n isEmailError: boolean;\n};\n\nconst EmailInput: React.FC = ({\n value = '',\n emails,\n onEmailRemove,\n handleOnChange,\n onAction,\n isEmailError,\n}) => {\n const emailInputRef = useRef(null);\n const isMaxedEmailAdded = emails.length > 50;\n\n const onContainerClicked = () => {\n if (emailInputRef?.current) {\n emailInputRef.current.focus();\n }\n };\n\n const onKeyPress = (e) => {\n onAction(e.key);\n };\n\n const onPaste = () => {\n onAction('Paste');\n };\n const onBlur = () => {\n onAction('Blur');\n };\n\n const classes = classNames([\n 'email-input--container',\n {\n error: isMaxedEmailAdded || isEmailError,\n },\n ]);\n\n return (\n
    \n
    \n
    \n {emails?.map(\n (email) =>\n email && (\n onEmailRemove(email)}\n key={email}\n />\n ),\n )}\n\n handleOnChange(e?.target?.value)}\n ref={emailInputRef}\n onKeyPress={onKeyPress}\n onPaste={onPaste}\n onBlur={onBlur}\n />\n
    \n
    \n
    \n \n {isMaxedEmailAdded &&\n 'You can invite maximum 50 email addresses at once'}\n {!isMaxedEmailAdded && isEmailError && 'Invalid email address(es)'}\n \n {emails.length}/50\n
    \n
    \n );\n};\n\nexport default EmailInput;\n","import { useState, useEffect } from 'react';\n\nexport const useScreenSize = () => {\n const [screenWidth, setScreenWidth] = useState(window.innerWidth);\n const [screenHeight, setScreenHeight] = useState(window.innerHeight);\n\n useEffect(() => {\n const handleResize = () => {\n setScreenWidth(window.innerWidth);\n setScreenHeight(window.innerHeight);\n };\n\n window.addEventListener('resize', handleResize);\n\n return () => {\n window.removeEventListener('resize', handleResize);\n };\n }, []);\n\n return { screenWidth, screenHeight };\n};\n","import React, { useState, useMemo, useEffect, useRef } from 'react';\nimport { Button, Pills } from '@saleshandy/design-system';\nimport { Cross } from '@saleshandy/icons';\nimport validator from 'validator';\nimport ContentEditable from 'react-contenteditable';\nimport Modal from '../../../../../../../shared/design-system/components/atoms/modal';\nimport Select from '../../../../../../../shared/design-system/components/select';\nimport EmailInput from '../../email-input';\nimport { UserRole } from '../../../../../enums/users-and-teams';\nimport {\n AddUserPayload,\n TeamsList,\n} from '../../../../../types/users-and-teams';\nimport { accessibleOnClick } from '../../../../../../../shared/utils/accessible-on-click';\nimport {\n capitalize,\n getIsRequestPending,\n} from '../../../../../../../shared/utils';\nimport { RequestStatus } from '../../../../../../../shared/enums/request-status';\nimport hasPermission from '../../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../../shared/utils/access-control/enums/permissions';\nimport { Placement } from '../../../../../../../shared/design-system/components/overlay';\nimport { useScreenSize } from '../../../../../../../shared/hooks/useScreenSize';\n\ntype ChangeRoleType = {\n key: UserRole;\n};\n\ntype AssignTeamType = TeamsList & {\n key: string;\n};\n\ntype IProps = {\n show: boolean;\n teamsList: TeamsList[];\n onClose: VoidFunction;\n onSubmit: (payload: AddUserPayload) => void;\n addUserRequestStatus: RequestStatus;\n sendGetTeamsListRequest: VoidFunction;\n getTeamsListRequestStatus: RequestStatus;\n atmRole: string;\n};\n\nconst InviteUserModal: React.FC = ({\n show,\n teamsList,\n onClose,\n onSubmit,\n addUserRequestStatus,\n sendGetTeamsListRequest,\n getTeamsListRequestStatus,\n atmRole,\n}) => {\n // Define a threshold value for conditional rendering\n const SCREEN_HEIGHT_THRESHOLD = 630;\n const { screenHeight } = useScreenSize();\n\n const searchInput = useRef(null);\n const [emails, setEmails] = useState([]);\n const [emailValue, setEmailValue] = useState('');\n const [selectedRole, setSelectedRole] = useState(UserRole.Member);\n const [selectedTeamsKeys, setSelectedTeamsKeys] = useState([]);\n const [assignTeamDropdown, setAssignTeamDropdown] = useState(false);\n const [isEmailError, setIsEmailError] = useState(false);\n const [emailInputAction, setEmailInputAction] = useState('');\n const [searchText, setSearchText] = useState('');\n const [isEditableDivFocused, setIsEditableDivFocused] = useState(false);\n\n const mappedTeamsForFilter = teamsList.map((team) => ({\n key: team.id.toString(),\n ...team,\n }));\n\n const roles = useMemo(\n () =>\n [\n {\n key: UserRole.Member,\n },\n {\n key: UserRole.Admin,\n },\n atmRole === UserRole.Owner ? { key: UserRole.Owner } : null,\n ].filter(Boolean),\n [atmRole],\n );\n\n const onToggle = (value: boolean) => {\n setAssignTeamDropdown(value);\n if (value && searchInput?.current) {\n searchInput.current.focus();\n }\n if (isEditableDivFocused && !value) {\n setIsEditableDivFocused(false);\n setSearchText('');\n }\n };\n\n const onSearchChange = (e) => {\n setSearchText(e.target.value);\n if (!assignTeamDropdown) {\n setAssignTeamDropdown(true);\n }\n };\n\n const onEmailValueChange = (value: string) => {\n if (value !== ',' && value !== ' ') {\n setEmailValue(value);\n }\n };\n\n const onAddEmail = () => {\n const addedEmails = emailValue\n .replaceAll(',', ' ')\n .split(' ')\n .filter((e) => e.trim());\n\n const emailRef = [];\n let emailValues = '';\n let isError = false;\n\n addedEmails.forEach((email, index) => {\n if (\n validator.isEmail(email) &&\n !emails.includes(email) &&\n !emailRef.includes(email)\n ) {\n emailRef.push(email);\n } else if (index === addedEmails.length - 1) {\n emailValues = emailValues.concat(`${email}`);\n } else {\n emailValues = emailValues.concat(`${email}, `);\n }\n isError = isError || !!emailValues;\n });\n setIsEmailError(isError);\n setEmailValue(emailValues);\n setEmails([...emails, ...emailRef]);\n };\n\n const onAction = (action: string) => {\n if (\n action === ',' ||\n action === ' ' ||\n action === 'Enter' ||\n action === 'Blur'\n ) {\n onAddEmail();\n }\n\n if (action === 'Paste') {\n setEmailInputAction('Paste');\n }\n };\n\n const onEmailRemove = (value: string) => {\n setEmails(emails.filter((email) => email !== value));\n };\n\n const onSendInvite = () => {\n onSubmit({\n emails,\n userRole: selectedRole,\n teamIds: selectedTeamsKeys.map((key) => Number(key)),\n });\n };\n\n const onTeamRemove = (key: string) => {\n setTimeout(() => {\n setAssignTeamDropdown(false);\n }, 10);\n\n setSelectedTeamsKeys(\n selectedTeamsKeys.filter((teamKey) => teamKey !== key),\n );\n };\n\n useEffect(() => {\n if (emailInputAction === 'Paste' && emailValue) {\n onAddEmail();\n setEmailInputAction('');\n }\n }, [emailInputAction, emailValue]);\n\n useEffect(() => {\n if (show && hasPermission(Permissions.ACCOUNT_TEAM_INVITE_WRITE)) {\n sendGetTeamsListRequest();\n }\n if (show) {\n setEmails([]);\n setEmailValue('');\n setSelectedRole(UserRole.Member);\n setSelectedTeamsKeys([]);\n setSearchText('');\n setIsEditableDivFocused(false);\n }\n return () => {\n setEmails([]);\n setEmailValue('');\n setSelectedRole(UserRole.Member);\n setSelectedTeamsKeys([]);\n setSearchText('');\n setIsEditableDivFocused(false);\n };\n }, [show]);\n\n const isAddUserRequestPending = getIsRequestPending(addUserRequestStatus);\n\n return (\n \n \n \n \n\n
    \n
    \n

    Invite Users

    \n\n \n\n
    \n

    Assign User Role

    \n \n className=\"users-change-role-select\"\n options={roles}\n selectedOptionKey={selectedRole}\n selectedOptionRenderer={([option]) => (\n {capitalize(option?.key)}\n )}\n onChange={([option]) => setSelectedRole(option.key)}\n optionRenderer={(option) => (\n {capitalize(option?.key)}\n )}\n />\n
    \n\n
    \n

    Assign Team

    \n \n className=\"users-change-role-select\"\n multiSelect\n options={mappedTeamsForFilter}\n show={assignTeamDropdown}\n onToggle={onToggle}\n disabled={!hasPermission(Permissions.ACCOUNT_TEAM_INVITE_WRITE)}\n selectedOptionKey={selectedTeamsKeys.map((key) => key)}\n placeholder={\n {\n if (!isEditableDivFocused) {\n setIsEditableDivFocused(true);\n }\n }}\n />\n }\n optionFilterProp=\"name\"\n filterOption={(_, option) =>\n option?.name?.toLowerCase().includes(searchText.toLowerCase())\n }\n selectedOptionRenderer={(option) => (\n
    \n {option?.map(\n (team) =>\n team && (\n onTeamRemove(team.key)}\n key={team.id}\n />\n ),\n )}\n\n {\n if (isEditableDivFocused) {\n setIsEditableDivFocused(false);\n }\n setSearchText('');\n }}\n />\n
    \n )}\n onChange={(selectedTeams) => {\n if (searchText) {\n setSearchText('');\n }\n searchInput?.current?.focus();\n setSelectedTeamsKeys(selectedTeams.map((option) => option.key));\n }}\n optionRenderer={(option) => (\n {option?.name}\n )}\n isLoading={getIsRequestPending(getTeamsListRequestStatus)}\n showOptionsSeparator={true}\n placement={\n screenHeight < SCREEN_HEIGHT_THRESHOLD\n ? Placement.Top\n : Placement.Bottom\n }\n emptyText={\n searchText ? 'No Team Found' : 'Create new teams to assign'\n }\n />\n
    \n
    \n\n 50 ||\n isEmailError\n }\n loadingText=\"Sending...\"\n >\n Send Invite\n \n
    \n \n );\n};\n\nexport default InviteUserModal;\n","import validator from 'validator';\n\nexport const validate = (name: string, value: string) => {\n switch (name) {\n case 'firstName':\n if (!validator.isLength(value.trim(), { min: 1 })) {\n return 'Enter at least one character';\n }\n if (!validator.isLength(value, { max: 50 })) {\n return 'First name should be at most 50 characters long';\n }\n break;\n\n case 'lastName':\n if (!validator.isLength(value.trim(), { min: 1 })) {\n return 'Enter at least one character';\n }\n if (!validator.isLength(value, { max: 50 })) {\n return 'Last name should be at most 50 characters long';\n }\n break;\n\n case 'email':\n if (!validator.isEmail(value)) {\n return 'Enter a valid email address';\n }\n break;\n\n default:\n break;\n }\n\n return '';\n};\n","import React from 'react';\nimport { produce } from 'immer';\nimport { withTranslation } from 'react-i18next';\nimport { IProps, IState } from './types';\nimport { validate } from './validator';\nimport { Images } from '../../../../../../../../shared/app-constants';\nimport Alert from '../../../../../../../../shared/design-system/components/alert';\nimport Input from '../../../../../../../../shared/design-system/components/input';\nimport Modal from '../../../../../../../../shared/design-system/components/atoms/modal';\n\nclass AgencyInviteUserModal extends React.Component {\n constructor(props: IProps) {\n super(props);\n this.state = {\n values: {\n email: '',\n firstName: '',\n lastName: '',\n },\n errors: {\n email: '',\n firstName: '',\n lastName: '',\n },\n dirty: {\n email: false,\n firstName: false,\n lastName: false,\n },\n };\n\n this.onInputBlur = this.onInputBlur.bind(this);\n this.onInputChange = this.onInputChange.bind(this);\n this.onSubmitHandler = this.onSubmitHandler.bind(this);\n }\n\n componentWillUnmount(): void {\n this.setState({\n values: { email: '', firstName: '', lastName: '' },\n errors: { email: '', firstName: '', lastName: '' },\n dirty: { email: false, firstName: false, lastName: false },\n });\n }\n\n onInputChange(value: string, event: React.ChangeEvent) {\n const { name } = event.target;\n this.setState(\n produce((draft: IState) => {\n draft.values[name] = value;\n draft.dirty[name] = true;\n }),\n );\n }\n\n onInputBlur(e: React.FocusEvent) {\n const { name } = e.target;\n this.setState(\n produce((draft) => {\n if (draft.dirty[name]) {\n draft.errors[name] = validate(name, draft.values[name]);\n }\n }),\n );\n }\n\n onSubmitHandler() {\n const { dirty, errors, values } = this.state;\n const { onSubmit } = this.props;\n\n const dirtyRef = { ...dirty };\n const dirtyKeys = Object.keys(dirty);\n\n dirtyKeys.forEach((key) => {\n dirtyRef[key] = true;\n });\n\n const errorsRef = { ...errors };\n const errorsKeys = Object.keys(errors);\n let isError = false;\n\n errorsKeys.forEach((key) => {\n const error = validate(key, values[key]);\n errorsRef[key] = error;\n isError = isError || !!error;\n });\n\n if (isError) {\n this.setState({ errors: errorsRef, dirty: dirtyRef });\n return;\n }\n\n const payload = {\n emails: values.email.split(','),\n firstName: values.firstName,\n lastName: values.lastName,\n };\n\n onSubmit(payload);\n }\n\n render() {\n const { values, errors } = this.state;\n const { show, onClose, isLoading, t } = this.props;\n\n return (\n \n
    \n \n {t('messages.view_only_access_to_user')}\n
    \n }\n variant={Alert.Variant.Warning}\n theme={Alert.Theme.New}\n svgIcon={Images.InfoCircleYellow}\n />\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n\n
    \n
    \n \n
    \n
    \n \n \n );\n }\n}\n\nexport default withTranslation()(AgencyInviteUserModal);\n","import { SubscriptionPlans } from '../../../../../shared/utils/subscription-plans';\nimport { getUserPlanCode } from '../../../../../shared/utils/user-details';\n\nexport const shouldShowUpgradePlanModal = () =>\n getUserPlanCode() === SubscriptionPlans.TRIAL ||\n getUserPlanCode() === SubscriptionPlans.OUTREACH_BASIC_MONTHLY ||\n getUserPlanCode() === SubscriptionPlans.OUTREACH_BASIC_YEARLY ||\n getUserPlanCode() === SubscriptionPlans.OUTREACH_BASIC_MONTHLY_8_2023 ||\n getUserPlanCode() === SubscriptionPlans.OUTREACH_BASIC_YEARLY_8_2023;\n","import React, { useEffect, useMemo, useState } from 'react';\nimport { SkeletonLoading } from '@saleshandy/design-system';\nimport classNames from 'classnames';\n\nimport {\n UserList,\n Users as UsersIcon,\n Trash,\n Forbid,\n Send,\n Copy,\n CircleCheck,\n AlertCircle,\n} from '@saleshandy/icons';\nimport type { IProps } from './types';\nimport type { User } from '../../../../types/users-and-teams';\nimport Table from '../../../../../../shared/design-system/components/organisms/table';\nimport {\n Action,\n Column,\n PaginationShowHide,\n} from '../../../../../../shared/design-system/components/organisms/table/types';\nimport toaster, { Theme } from '../../../../../../shared/toaster';\n\nimport UserNameCell from './cells/user-name-cell';\nimport ActionsCell from './cells/actions-cell';\nimport ChangeRoleModal from './modals/change-role-modal';\nimport AssignTeamModal from './modals/assign-team-modal';\nimport DeleteUserModal from './modals/delete-user-modal';\nimport DisableUserModal from './modals/disable-user-modal';\nimport InviteUserModal from './modals/invite-user-modal';\nimport AgencyInviteUserModal from './modals/agency-invite-user-modal';\nimport { UserRole, UserStatusKeys } from '../../../../enums/users-and-teams';\nimport {\n capitalize,\n executeOnErrorWithErrorCheck,\n executeOnRequestStatus,\n getIsRequestPending,\n} from '../../../../../../shared/utils';\nimport { getInviteUserMessage } from './utils/get-invite-user-message';\nimport hasPermission from '../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../shared/utils/access-control/enums/permissions';\nimport { AgencyInviteUserRequestPayload } from '../../../../types/request-payload';\nimport { shouldShowUpgradePlanModal } from '../../utils/should-show-upgrade-plan-modal';\nimport { getFormattedDate } from '../../utils/get-formatted-date';\nimport TruncatedTextWithTooltip from '../../../../../../shared/components/truncated-text-with-tooltip';\nimport { Placement } from '../../../../../../shared/design-system/components/overlay';\nimport ProspectTagsRow from '../../../../../../shared/design-system/components/molecules/prospect-tags-row';\n\nconst Users: React.FC = ({\n filters,\n onFilterChange,\n users,\n usersPaginationOptions,\n userTimezone,\n teamsList,\n inviteUserModal,\n hideInviteUserModal,\n atmRole,\n userId,\n keepAllTeamsAssigned,\n tableRef,\n\n sendGetUsersRequest,\n sendGetAssignTeamSettingRequest,\n getUsersRequestStatus,\n\n sendChangeUserRoleRequest,\n changeUserRoleRequestStatus,\n changeUserRoleRequestError,\n resetChangeUserRoleRequest,\n\n sendAssignTeamRequest,\n resetAssignTeamRequest,\n assignTeamRequestStatus,\n assignTeamRequestError,\n\n sendGetTeamsListRequest,\n getTeamsListRequestStatus,\n\n sendAddUserRequest,\n resetAddUserRequest,\n addUserRequestStatus,\n addUserRequestError,\n userInvitedCount,\n\n sendDeleteUserRequest,\n resetDeleteUserRequest,\n deleteUserRequestStatus,\n deleteUserRequestError,\n\n sendDisableUserRequest,\n resetDisableUserRequest,\n disableUserRequestStatus,\n disableUserRequestError,\n\n sendResendInviteRequest,\n resetResendInviteRequest,\n resendInviteRequestStatus,\n resendInviteRequestError,\n\n sendReactivateUserRequest,\n resetReactivateUserRequest,\n reactivateUserRequestStatus,\n reactivateUserRequestError,\n\n sendAgencyInviteUserRequest,\n resetAgencyInviteUserRequest,\n agencyInviteUserRequestStatus,\n agencyInviteUserRequestError,\n setPremiumFeatureMeta,\n\n sendDeleteExpireSessionRequest,\n sessionExpireRequestStatus,\n resetExpireSessionRequest,\n}) => {\n const [actionUser, setActionUser] = useState(null);\n const [changeRoleModal, setChangeRoleModal] = useState(false);\n const [assignTeamModal, setAssignTeamModal] = useState(false);\n const [deleteUserModal, setDeleteUserModal] = useState(false);\n const [disableUserModal, setDisableUserModal] = useState(false);\n const [isDropdownOpen, setIsDropdownOpen] = useState(null);\n\n const hideChangeRoleModal = () => {\n setChangeRoleModal(false);\n };\n\n const hideAssignTeamModal = () => {\n setAssignTeamModal(false);\n };\n\n const hideDeleteUserModal = () => {\n setDeleteUserModal(false);\n };\n\n const hideDisableUserModal = () => {\n setDisableUserModal(false);\n };\n\n const onChangeRole = (userRole: UserRole) => {\n sendChangeUserRoleRequest({\n id: actionUser.id,\n userRole,\n });\n };\n\n const onAssignTeam = (teamIds: number[], isDefaultTeamMember: boolean) => {\n sendAssignTeamRequest({\n id: actionUser.id,\n teamIds,\n isDefaultTeamMember,\n });\n };\n\n const onAgencyInviteUser = (payload: AgencyInviteUserRequestPayload) => {\n sendAgencyInviteUserRequest(payload);\n };\n\n const onDeleteUser = () => {\n sendDeleteUserRequest(actionUser.id);\n };\n\n const onDisableUser = () => {\n sendDisableUserRequest(actionUser.id);\n };\n\n const getUpgradePlanModalTitleAndBody = (key: string) => {\n if (key === 'changeRole') {\n return {\n title: 'Upgrade your plan to manage roles.',\n body: [\n 'The Outreach Starter doesn’t allow you to manage roles.',\n 'Please upgrade to the Outreach Pro or Higher plans to manage roles.',\n ],\n };\n }\n\n if (key === 'assignTeam') {\n return {\n title: 'Upgrade your plan to manage teams.',\n body: [\n 'The Outreach Starter doesn’t allow you to manage teams.',\n 'Please upgrade to the Outreach Pro or Higher plans to manage teams.',\n ],\n };\n }\n\n if (key === 'disable' || key === 'enable') {\n return {\n title: 'Upgrade your plan to manage users.',\n body: [\n 'The Outreach Starter doesn’t allow you to manage users.',\n 'Please upgrade to the Outreach Pro or Higher plans to manage users.',\n ],\n };\n }\n\n if (key === 'resend') {\n return {\n title: 'Upgrade your plan to invite users.',\n body: [\n 'The Outreach Starter doesn’t allow you to invite users.',\n 'Please upgrade to the Outreach Pro or Higher plans to invite users.',\n ],\n };\n }\n\n return;\n };\n\n const onAction = (key: string, row: User) => {\n if (key === 'copyUserId') {\n navigator.clipboard.writeText(row?.hashId?.toString());\n toaster.success('User ID Successfully Copied', { theme: Theme.New });\n return;\n }\n\n if (key === 'delete') {\n setDeleteUserModal(true);\n setActionUser(row);\n return;\n }\n\n if (\n !hasPermission(Permissions.ACCOUNT_USER_INVITE) &&\n shouldShowUpgradePlanModal()\n ) {\n // create a separate function to get the title and body text based on key passed\n const { title, body } = getUpgradePlanModalTitleAndBody(key);\n setPremiumFeatureMeta({\n show: true,\n title,\n body,\n });\n return;\n }\n\n if (key === 'changeRole') {\n setChangeRoleModal(true);\n setActionUser(row);\n return;\n }\n if (key === 'assignTeam') {\n sendGetTeamsListRequest();\n setAssignTeamModal(true);\n setActionUser(row);\n return;\n }\n if (key === 'disable' && row.status !== UserStatusKeys.InActive) {\n setDisableUserModal(true);\n setActionUser(row);\n return;\n }\n if (key === 'enable' && row.status !== UserStatusKeys.Active) {\n sendReactivateUserRequest(row.id);\n return;\n }\n if (key === 'resend') {\n sendResendInviteRequest(row.id);\n }\n if (key === 'sessionExpire') {\n sendDeleteExpireSessionRequest(row.id);\n }\n };\n\n const actions: (row: User) => Action[] = useMemo(\n () => (row) => [\n {\n key: 'changeRole',\n customIcon: true,\n iconElement: ,\n displayName: 'Change Role',\n },\n {\n key: 'assignTeam',\n customIcon: true,\n iconElement: ,\n displayName: 'Assign Team',\n },\n {\n key: 'delete',\n customIcon: true,\n iconElement: ,\n displayName: 'Delete',\n },\n {\n key: 'disable',\n customIcon: true,\n iconElement: ,\n displayName: 'Disable',\n },\n {\n key: 'enable',\n customIcon: true,\n iconElement: ,\n displayName: 'Enable',\n },\n ...(row.status === UserStatusKeys.Invited\n ? [\n {\n key: 'resend',\n customIcon: true,\n iconElement: ,\n displayName: 'Resend Invite',\n },\n ]\n : []),\n {\n key: 'copyUserId',\n customIcon: true,\n iconElement: ,\n displayName: 'Copy User Id',\n },\n {\n key: 'sessionExpire',\n customIcon: true,\n iconElement: ,\n displayName: 'Expire Session',\n },\n ],\n [],\n );\n\n const columns: Column[] = useMemo(\n () =>\n [\n {\n dataField: 'firstName',\n text: 'Name',\n align: 'left',\n component: (_cell, row, rowIndex) =>\n row.firstName ? (\n \n ) : (\n -\n ),\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: (\n
    \n \n
    \n ),\n headerClasses: 'users-name-cell',\n cellClasses: 'users-name-cell',\n },\n {\n dataField: 'email',\n text: 'Emails',\n align: 'left',\n component: (_cell, row, rowIndex) => (\n \n ),\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: (\n
    \n \n
    \n ),\n headerClasses: 'user-email-cell',\n cellClasses: 'user-email-cell',\n },\n {\n dataField: 'role',\n text: 'User Role',\n align: 'left',\n component: (cell) => (\n \n {/* eslint-disable-next-line react/destructuring-assignment */}\n {cell?.length > 0 ? capitalize(cell) : '-'}\n \n ),\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: ,\n\n headerClasses: 'user-owner-cell',\n cellClasses: 'user-owner-cell',\n },\n hasPermission(Permissions.ACCOUNT_TEAM_MEMBER_READ) ||\n hasPermission(Permissions.TEAM_MEMBER_READ) ||\n hasPermission(Permissions.TEAM_TEAM_MEMBER_READ)\n ? {\n dataField: 'teams',\n text: 'Teams',\n align: 'left',\n component: (cell) =>\n // eslint-disable-next-line react/destructuring-assignment\n cell && cell?.length > 0 ? (\n \n ) : (\n '-'\n ),\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: (\n
    \n \n \n
    \n ),\n headerClasses: 'user-team-cell',\n cellClasses: 'user-team-cell',\n }\n : null,\n {\n dataField: 'loginTime',\n text: 'Login Time',\n align: 'left',\n component: (_cell, row) => (\n \n {row.loginTime\n ? getFormattedDate(row.loginTime, userTimezone)\n : '-'}\n \n ),\n\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: ,\n headerClasses: 'user-time-cell',\n cellClasses: 'user-time-cell',\n },\n {\n dataField: 'logoutTime',\n text: 'Logout Time',\n align: 'left',\n component: (_cell, row) => (\n \n {row.logoutTime\n ? getFormattedDate(row.logoutTime, userTimezone)\n : '-'}\n \n ),\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: ,\n headerClasses: 'user-time-cell',\n cellClasses: 'user-time-cell',\n },\n {\n dataField: 'ipaddress',\n text: 'IP Address',\n align: 'left',\n component: (_cell, row) => (\n \n {row.ipaddress ? (\n \n ) : (\n '-'\n )}\n \n ),\n\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: ,\n headerClasses: 'user-ip-address-cell',\n cellClasses: 'user-ip-address-cell',\n },\n {\n dataField: 'location',\n text: 'Location',\n align: 'left',\n component: (_cell, row) => (\n \n {row.location ? (\n \n ) : (\n '-'\n )}\n \n ),\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: ,\n headerClasses: 'user-location-cell',\n cellClasses: 'user-location-cell',\n },\n {\n dataField: 'actions',\n text: '',\n align: 'right',\n component: (_cell, row, rowIndex) => (\n \n ),\n\n cellClasses: (_, row) =>\n `${isDropdownOpen === row.id ? 'action-btn' : ''}`,\n },\n ].filter((col) => col !== null) as Column[],\n [users, isDropdownOpen, setIsDropdownOpen],\n );\n\n const onPaginationOptionsChangeHandler = ({ page, limit }) => {\n onFilterChange({\n pageNum: filters.pageSize !== limit ? 1 : page,\n pageSize: limit,\n });\n };\n\n useEffect(() => {\n executeOnRequestStatus({\n status: changeUserRoleRequestStatus,\n onSuccess: () => {\n toaster.success('User Role Successfully Changed', { theme: Theme.New });\n sendGetUsersRequest(filters);\n setActionUser(null);\n hideChangeRoleModal();\n resetChangeUserRoleRequest();\n },\n onFailed: () => {\n executeOnErrorWithErrorCheck({\n error: changeUserRoleRequestError,\n onError: () => {\n toaster.error(changeUserRoleRequestError.message, {\n theme: Theme.New,\n });\n },\n });\n setActionUser(null);\n hideChangeRoleModal();\n resetChangeUserRoleRequest();\n },\n });\n }, [changeUserRoleRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: assignTeamRequestStatus,\n onSuccess: () => {\n toaster.success('Team Successfully Assigned', { theme: Theme.New });\n sendGetUsersRequest(filters);\n setActionUser(null);\n hideAssignTeamModal();\n resetAssignTeamRequest();\n },\n onFailed: () => {\n executeOnErrorWithErrorCheck({\n error: assignTeamRequestError,\n onError: () => {\n toaster.error(assignTeamRequestError.message, {\n theme: Theme.New,\n });\n },\n });\n setActionUser(null);\n hideAssignTeamModal();\n resetAssignTeamRequest();\n },\n });\n }, [assignTeamRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: deleteUserRequestStatus,\n onSuccess: () => {\n toaster.success('User Successfully Deleted', { theme: Theme.New });\n sendGetUsersRequest(filters);\n setActionUser(null);\n hideDeleteUserModal();\n resetDeleteUserRequest();\n },\n onFailed: () => {\n executeOnErrorWithErrorCheck({\n error: deleteUserRequestError,\n onError: () => {\n toaster.error(deleteUserRequestError.message, {\n theme: Theme.New,\n });\n },\n });\n setActionUser(null);\n hideDeleteUserModal();\n resetDeleteUserRequest();\n },\n });\n }, [deleteUserRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: disableUserRequestStatus,\n onSuccess: () => {\n toaster.success('User Successfully Disabled', { theme: Theme.New });\n sendGetUsersRequest(filters);\n setActionUser(null);\n hideDisableUserModal();\n resetDisableUserRequest();\n },\n onFailed: () => {\n executeOnErrorWithErrorCheck({\n error: disableUserRequestError,\n onError: () => {\n toaster.error(disableUserRequestError.message, {\n theme: Theme.New,\n });\n },\n });\n setActionUser(null);\n hideDisableUserModal();\n resetDisableUserRequest();\n },\n });\n }, [disableUserRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: reactivateUserRequestStatus,\n onSuccess: () => {\n toaster.success('User Successfully Enabled', { theme: Theme.New });\n sendGetUsersRequest(filters);\n resetReactivateUserRequest();\n },\n onFailed: () => {\n executeOnErrorWithErrorCheck({\n error: reactivateUserRequestError,\n onError: () => {\n toaster.error(reactivateUserRequestError.message, {\n theme: Theme.New,\n });\n },\n });\n resetReactivateUserRequest();\n },\n });\n }, [reactivateUserRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: sessionExpireRequestStatus,\n onSuccess: () => {\n toaster.success('Expire session successfully', { theme: Theme.New });\n resetExpireSessionRequest();\n },\n });\n }, [sessionExpireRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: resendInviteRequestStatus,\n onSuccess: () => {\n toaster.success('Invite Successfully Sent', { theme: Theme.New });\n sendGetUsersRequest(filters);\n resetResendInviteRequest();\n },\n onFailed: () => {\n executeOnErrorWithErrorCheck({\n error: resendInviteRequestError,\n onError: () => {\n toaster.error(resendInviteRequestError.message, {\n theme: Theme.New,\n });\n },\n });\n resetResendInviteRequest();\n },\n });\n }, [resendInviteRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: addUserRequestStatus,\n onSuccess: () => {\n getInviteUserMessage(userInvitedCount);\n sendGetUsersRequest(filters);\n hideInviteUserModal();\n resetAddUserRequest();\n },\n onFailed: () => {\n executeOnErrorWithErrorCheck({\n error: addUserRequestError,\n onError: () => {\n toaster.error(addUserRequestError.message, {\n theme: Theme.New,\n });\n },\n });\n hideInviteUserModal();\n resetAddUserRequest();\n },\n });\n }, [addUserRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: agencyInviteUserRequestStatus,\n onSuccess: () => {\n sendGetUsersRequest(filters);\n hideInviteUserModal();\n resetAgencyInviteUserRequest();\n toaster.success('Invite Successfully Sent', {\n theme: Theme.New,\n });\n },\n onFailed: () => {\n executeOnErrorWithErrorCheck({\n error: agencyInviteUserRequestError,\n onError: () => {\n toaster.error(agencyInviteUserRequestError.message, {\n theme: Theme.New,\n });\n },\n });\n hideInviteUserModal();\n resetAgencyInviteUserRequest();\n },\n });\n }, [agencyInviteUserRequestStatus]);\n\n const isLoading = getIsRequestPending(getUsersRequestStatus);\n\n const tableWrapperClasses = classNames([\n {\n 'four-cols-users-table': columns.length === 9,\n 'three-cols-users-table': columns.length === 8,\n },\n ]);\n\n return (\n
    \n \n\n \n\n {assignTeamModal && (\n \n )}\n\n \n\n \n\n {hasPermission(Permissions.AGENCY_USER_INVITE) ? (\n \n ) : (\n \n )}\n
    \n );\n};\n\nexport default Users;\n","import toaster, { Theme } from '../../../../../../../shared/toaster';\n\nexport const getInviteUserMessage = (userInvitedCount: number) => {\n if (userInvitedCount === 0) {\n toaster.error('Failed to send invitations', {\n theme: Theme.New,\n });\n return;\n }\n if (userInvitedCount === 1) {\n toaster.success('Invitation sent to 1 user', {\n theme: Theme.New,\n });\n return;\n }\n if (userInvitedCount <= 10) {\n toaster.success(`Invitation sent to ${userInvitedCount} users`, {\n theme: Theme.New,\n });\n return;\n }\n\n toaster.success(`${userInvitedCount} users will be invited`, {\n theme: Theme.New,\n });\n};\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../../../store/root-reducer';\nimport Users from './users';\nimport {\n UsersFilter,\n ChangeUserRolePayload,\n AssignTeamPayload,\n AddUserPayload,\n DatePickerFilter,\n} from '../../../../types/users-and-teams';\nimport {\n addUserRequest,\n assignTeamRequest,\n changeUserRoleRequest,\n deleteUserRequest,\n disableUserRequest,\n getAssignTeamSetting,\n getTeamsListRequest,\n getUsersRequest,\n resendInviteRequest,\n reactivateUserRequest,\n agencyInviteUserRequest,\n exportUsersRequest,\n deleteExpireSessionRequest,\n} from '../../extra-actions';\nimport {\n resetAddUserRequest,\n resetAssignTeamRequest,\n resetChangeUserRoleRequest,\n resetDeleteUserRequest,\n resetDisableUserRequest,\n resetGetUsersRequest,\n resetResendInviteRequest,\n resetReactivateUserRequest,\n resetAgencyInviteUserRequest,\n resetExpireSessionRequest,\n} from '../../users-and-teams-slice';\nimport { AgencyInviteUserRequestPayload } from '../../../../types/request-payload';\n\nconst mapStateToProps = (state: RootState) => ({\n users: state.usersAndTeams.users,\n usersPaginationOptions: state.usersAndTeams.usersPaginationOptions,\n\n userTimezone: state.home.timeZone,\n atmRole: state.home.atmRole,\n userId: state.home.userId,\n userInvitedCount: state.usersAndTeams.userInvitedCount,\n keepAllTeamsAssigned: state.usersAndTeams.keepAllTeamsAssigned,\n\n teamsList: state.usersAndTeams.teamsList,\n\n getUsersRequestStatus: state.usersAndTeams.getUsersRequest.status,\n getUsersRequestError: state.usersAndTeams.getUsersRequest.error,\n getUsersRequestMessage: state.usersAndTeams.getUsersRequest.message,\n\n changeUserRoleRequestStatus: state.usersAndTeams.changeUserRoleRequest.status,\n changeUserRoleRequestError: state.usersAndTeams.changeUserRoleRequest.error,\n changeUserRoleRequestMessage:\n state.usersAndTeams.changeUserRoleRequest.message,\n\n assignTeamRequestStatus: state.usersAndTeams.assignTeamRequest.status,\n assignTeamRequestError: state.usersAndTeams.assignTeamRequest.error,\n assignTeamRequestMessage: state.usersAndTeams.assignTeamRequest.message,\n\n addUserRequestStatus: state.usersAndTeams.addUserRequest.status,\n addUserRequestError: state.usersAndTeams.addUserRequest.error,\n addUserRequestMessage: state.usersAndTeams.addUserRequest.message,\n\n getTeamsListRequestStatus: state.usersAndTeams.getTeamsListRequest.status,\n getTeamsListRequestError: state.usersAndTeams.getTeamsListRequest.error,\n getTeamsListRequestMessage: state.usersAndTeams.getTeamsListRequest.message,\n\n deleteUserRequestStatus: state.usersAndTeams.deleteUserRequest.status,\n deleteUserRequestError: state.usersAndTeams.deleteUserRequest.error,\n deleteUserRequestMessage: state.usersAndTeams.deleteUserRequest.message,\n\n disableUserRequestStatus: state.usersAndTeams.disableUserRequest.status,\n disableUserRequestError: state.usersAndTeams.disableUserRequest.error,\n disableUserRequestMessage: state.usersAndTeams.disableUserRequest.message,\n\n resendInviteRequestStatus: state.usersAndTeams.resendInviteRequest.status,\n resendInviteRequestError: state.usersAndTeams.resendInviteRequest.error,\n resendInviteRequestMessage: state.usersAndTeams.resendInviteRequest.message,\n\n reactivateUserRequestStatus: state.usersAndTeams.reactivateUserRequest.status,\n reactivateUserRequestError: state.usersAndTeams.reactivateUserRequest.error,\n reactivateUserRequestMessage:\n state.usersAndTeams.reactivateUserRequest.message,\n\n sessionExpireRequestStatus:\n state.usersAndTeams.deleteExpireSessionRequest.status,\n\n agencyInviteUserRequestStatus:\n state.usersAndTeams.agencyInviteUserRequest.status,\n agencyInviteUserRequestMessage:\n state.usersAndTeams.agencyInviteUserRequest.message,\n agencyInviteUserRequestError:\n state.usersAndTeams.agencyInviteUserRequest.error,\n});\n\nconst mapDispatchToProps = {\n sendGetUsersRequest: (filters: UsersFilter) => getUsersRequest(filters),\n resetGetUsersRequest: () => resetGetUsersRequest(),\n\n sendChangeUserRoleRequest: (payload: ChangeUserRolePayload) =>\n changeUserRoleRequest(payload),\n resetChangeUserRoleRequest: () => resetChangeUserRoleRequest(),\n\n sendGetTeamsListRequest: () => getTeamsListRequest(),\n\n sendAssignTeamRequest: (payload: AssignTeamPayload) =>\n assignTeamRequest(payload),\n resetAssignTeamRequest: () => resetAssignTeamRequest(),\n\n sendDeleteUserRequest: (id: number) => deleteUserRequest(id),\n resetDeleteUserRequest: () => resetDeleteUserRequest(),\n\n sendDisableUserRequest: (id: number) => disableUserRequest(id),\n resetDisableUserRequest: () => resetDisableUserRequest(),\n\n sendResendInviteRequest: (id: number) => resendInviteRequest(id),\n resetResendInviteRequest: () => resetResendInviteRequest(),\n\n sendReactivateUserRequest: (id: number) => reactivateUserRequest(id),\n resetReactivateUserRequest: () => resetReactivateUserRequest(),\n\n sendGetAssignTeamSettingRequest: (id: number) => getAssignTeamSetting({ id }),\n\n sendAddUserRequest: (payload: AddUserPayload) => addUserRequest(payload),\n resetAddUserRequest: () => resetAddUserRequest(),\n\n sendAgencyInviteUserRequest: (payload: AgencyInviteUserRequestPayload) =>\n agencyInviteUserRequest(payload),\n resetAgencyInviteUserRequest: () => resetAgencyInviteUserRequest(),\n\n sendExportUsersRequest: (payload: DatePickerFilter) => exportUsersRequest(payload),\n\n sendDeleteExpireSessionRequest: (id: number) =>\n deleteExpireSessionRequest(id),\n resetExpireSessionRequest: () => resetExpireSessionRequest(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n filters: UsersFilter;\n inviteUserModal: boolean;\n hideInviteUserModal: VoidFunction;\n onFilterChange: (payload: UsersFilter) => void;\n tableRef: any;\n setPremiumFeatureMeta: (payload: {\n show: boolean;\n title: string;\n body: any[];\n }) => void;\n};\n\nexport default connector(Users);\n","import React from 'react';\n\ntype IProps = {\n value: string;\n placeholder: string;\n className: string;\n onChange: (e: React.ChangeEvent) => void;\n ref: React.Ref;\n disabled?: boolean;\n};\n\nconst SearchInput = React.forwardRef(\n (\n {\n value,\n onChange,\n placeholder = '',\n className = '',\n disabled = false,\n ...rest\n },\n ref,\n ) => (\n \n ),\n);\n\nSearchInput.displayName = 'SearchInput';\n\nexport default SearchInput;\n","import React, { useState, useEffect, useRef } from 'react';\nimport { Pills, Button } from '@saleshandy/design-system';\nimport { Cross } from '@saleshandy/icons';\nimport classNames from 'classnames';\nimport ContentEditable from 'react-contenteditable';\nimport Modal from '../../../../../../../shared/design-system/components/atoms/modal';\nimport Select from '../../../../../../../shared/design-system/components/select';\nimport {\n AddTeamPayload,\n MembersList,\n Team,\n} from '../../../../../types/users-and-teams';\nimport Input from '../../../../../../../shared/design-system/components/input';\nimport { Placement } from '../../../../../../../shared/design-system/components/overlay';\nimport { accessibleOnClick } from '../../../../../../../shared/utils/accessible-on-click';\nimport {\n capitalize,\n executeOnRequestStatus,\n getIsRequestPending,\n} from '../../../../../../../shared/utils';\nimport { UserRole } from '../../../../../enums/users-and-teams';\nimport SearchInput from '../../search-input';\nimport { RequestStatus } from '../../../../../../../shared/enums/request-status';\nimport { useScreenSize } from '../../../../../../../shared/hooks/useScreenSize';\n\ntype TeamMembersType = MembersList & {\n key: string;\n};\n\ntype IProps = {\n show: boolean;\n title: string;\n defaultValues: Team;\n membersList: MembersList[];\n onClose: VoidFunction;\n onSubmit: (payload: AddTeamPayload) => void;\n isLoading: boolean;\n buttonLabel: string;\n buttonLoadingText: string;\n getMembersListRequestStatus: RequestStatus;\n error: any;\n resetAddTeamRequest: VoidFunction;\n resetModifyTeamRequest: VoidFunction;\n};\n\nconst AddModifyTeamModal: React.FC = ({\n show,\n title,\n defaultValues,\n membersList,\n onClose,\n onSubmit,\n isLoading,\n buttonLabel,\n buttonLoadingText,\n getMembersListRequestStatus,\n error,\n resetAddTeamRequest,\n resetModifyTeamRequest,\n}) => {\n const teamMembersSearchInput = useRef(null);\n const teamManagersSearchInput = useRef(null);\n\n // Define a threshold value for conditional rendering\n const SCREEN_HEIGHT_THRESHOLD = 630;\n const { screenHeight } = useScreenSize();\n\n const [assignTeamMemberDropdown, setAssignTeamMemberDropdown] = useState(\n false,\n );\n const [assignTeamManagerDropdown, setAssignTeamManagerDropdown] = useState(\n false,\n );\n const [membersOptions, setMembersOptions] = useState([]);\n const [teamName, setTeamName] = useState('');\n const [teamNameError, setTeamNameError] = useState('');\n const [selectedTeamMembers, setSelectedTeamMembers] = useState<\n TeamMembersType[]\n >([]);\n const [managersOptions, setManagersOptions] = useState([]);\n const [selectedManagers, setSelectedManagers] = useState(\n [],\n );\n const [teamMembersSearchText, setTeamMembersSearchText] = useState('');\n const [teamManagersSearchText, setTeamManagersSearchText] = useState('');\n const [isTeamManagersDivFocused, setIsTeamManagersDivFocused] = useState(\n false,\n );\n\n const onAssignTeamMemberDropdownToggle = (value: boolean) => {\n setAssignTeamMemberDropdown(value);\n if (value && teamMembersSearchInput?.current) {\n teamMembersSearchInput.current.focus();\n }\n };\n\n const onAssignTeamMemberSearchChange = (e) => {\n setTeamMembersSearchText(e.target.value);\n if (!assignTeamMemberDropdown) {\n setAssignTeamMemberDropdown(true);\n }\n };\n\n const onAssignTeamManagerDropdownToggle = (value: boolean) => {\n setAssignTeamManagerDropdown(value);\n if (value && teamManagersSearchInput?.current) {\n teamManagersSearchInput.current.focus();\n }\n if (isTeamManagersDivFocused && !value) {\n setIsTeamManagersDivFocused(false);\n setTeamManagersSearchText('');\n }\n };\n\n const onAssignTeamManagerSearchChange = (e) => {\n setTeamManagersSearchText(e.target.value);\n if (!assignTeamManagerDropdown) {\n setAssignTeamManagerDropdown(true);\n }\n };\n\n const onTeamNameChange = (value: string) => {\n if (value?.length > 30) {\n setTeamNameError('Length should be less than 30 characters');\n } else if (teamNameError) {\n setTeamNameError('');\n }\n setTeamName(value);\n\n if (error) {\n resetAddTeamRequest();\n resetModifyTeamRequest();\n }\n };\n\n const onMemberRemove = (id: number) => {\n setSelectedTeamMembers(\n selectedTeamMembers.filter((member) => member.id !== id),\n );\n setSelectedManagers(selectedManagers.filter((member) => member.id !== id));\n };\n\n const onManagerRemove = (id: number) => {\n setTimeout(() => {\n setAssignTeamManagerDropdown(false);\n }, 10);\n\n setSelectedManagers(selectedManagers.filter((member) => member.id !== id));\n };\n\n const onCreateOrModifyTeam = () => {\n const managerIds = selectedManagers?.map((m) => m.id);\n const userIds = selectedTeamMembers\n ?.filter((m) => !managerIds.includes(m.id))\n ?.map((m) => m.id);\n\n onSubmit({\n name: teamName,\n userIds: userIds || [],\n managerIds: managerIds || [],\n });\n };\n\n const getUserRole = (roles: string[]): string => {\n if (roles.includes(UserRole.Owner)) {\n return capitalize(UserRole.Owner);\n }\n if (roles.includes(UserRole.Admin)) {\n return capitalize(UserRole.Admin);\n }\n if (roles.includes(UserRole.TeamManager)) {\n return capitalize(UserRole.TeamManager);\n }\n\n return capitalize(UserRole.Member);\n };\n\n const getTeamNameErrorMessage = (): string => {\n if (teamNameError) {\n return teamNameError;\n }\n if (error && error.code === 1001) {\n return error.message;\n }\n return '';\n };\n\n useEffect(() => {\n if (show && defaultValues) {\n setTeamName(defaultValues.name);\n setTeamNameError('');\n setSelectedTeamMembers(\n defaultValues.users.map((user) => ({\n key: user.id.toString(),\n id: user.id,\n firstName: user.name?.split(' ')?.[0]?.trim(),\n lastName: user.name?.split(' ')?.[1].trim(),\n email: user.email,\n role: getUserRole(user.role),\n })) || [],\n );\n\n setSelectedManagers(\n defaultValues.users\n .filter((user) =>\n user.role\n .filter((role) => role.toLowerCase())\n .includes(UserRole.TeamManager),\n )\n .map((user) => ({\n key: user.id.toString(),\n id: user.id,\n firstName: user.name?.split(' ')?.[0]?.trim(),\n lastName: user.name?.split(' ')?.[1].trim(),\n email: user.email,\n role: getUserRole(user.role),\n })) || [],\n );\n }\n\n if (!show) {\n setTeamName('');\n setTeamNameError('');\n setSelectedTeamMembers([]);\n setSelectedManagers([]);\n setTeamMembersSearchText('');\n setTeamManagersSearchText('');\n setIsTeamManagersDivFocused(false);\n }\n }, [show]);\n\n useEffect(() => {\n if (show) {\n setManagersOptions(selectedTeamMembers || []);\n }\n }, [show, selectedTeamMembers]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getMembersListRequestStatus,\n onSuccess: () => {\n const mappedMembersList =\n membersList?.map((team) => ({\n key: team.id.toString(),\n ...team,\n })) || [];\n\n const newMembers = [];\n\n if (defaultValues) {\n defaultValues.users.forEach((user) => {\n const isExist = mappedMembersList.find((u) => u.id === user.id);\n\n if (!isExist) {\n newMembers.push({\n key: user.id.toString(),\n id: user.id,\n firstName: user.name?.split(' ')?.[0]?.trim(),\n lastName: user.name?.split(' ')?.[1].trim(),\n email: user.email,\n role: getUserRole(user.role),\n });\n }\n });\n }\n setMembersOptions([...mappedMembersList, ...newMembers]);\n },\n });\n }, [getMembersListRequestStatus]);\n\n const pillsClassName = classNames([\n 'email-input--pills',\n {\n 'p-0': !selectedTeamMembers || selectedTeamMembers?.length === 0,\n },\n ]);\n\n return (\n \n \n \n \n\n
    \n
    \n

    {title}

    \n\n \n\n
    \n

    Team Members

    \n\n
    \n
    \n {selectedTeamMembers &&\n selectedTeamMembers?.length > 0 &&\n selectedTeamMembers?.map(\n (item) =>\n item && (\n onMemberRemove(item.id)}\n key={item.id}\n />\n ),\n )}\n
    \n\n \n className=\"users-change-role-select team-select\"\n options={membersOptions}\n selectedOptionKey={\n selectedTeamMembers?.map((item) =>\n item ? item?.id?.toString() : '',\n ) || []\n }\n selectedOptionRenderer={() => null}\n onChange={(options) => {\n if (teamMembersSearchText) {\n setTeamMembersSearchText('');\n }\n teamMembersSearchInput?.current?.focus();\n setSelectedTeamMembers(options);\n }}\n optionRenderer={(option) => {\n const name = `${option?.firstName} ${option?.lastName}`.trim();\n\n return (\n {name || option?.email}\n );\n }}\n multiSelect\n filterOption={(_, option) =>\n option?.firstName\n ?.toLowerCase()\n .includes(teamMembersSearchText.toLowerCase()) ||\n option?.lastName\n ?.toLowerCase()\n .includes(teamMembersSearchText.toLowerCase()) ||\n option?.email\n ?.toLowerCase()\n .includes(teamMembersSearchText.toLowerCase())\n }\n placeholder={\n \n }\n show={assignTeamMemberDropdown}\n onToggle={onAssignTeamMemberDropdownToggle}\n isLoading={getIsRequestPending(getMembersListRequestStatus)}\n emptyText=\"No Team Member Found\"\n />\n
    \n
    \n\n
    \n

    Team Manager

    \n \n className=\"users-change-role-select\"\n options={managersOptions}\n selectedOptionKey={\n selectedManagers?.map((item) => item?.id?.toString()) || []\n }\n selectedOptionRenderer={() => (\n
    \n {selectedManagers?.map(\n (item) =>\n item && (\n onManagerRemove(item.id)}\n key={item.id}\n />\n ),\n )}\n {\n if (isTeamManagersDivFocused) {\n setIsTeamManagersDivFocused(false);\n }\n setTeamManagersSearchText('');\n }}\n />\n
    \n )}\n onChange={(options) => {\n if (teamManagersSearchText) {\n setTeamManagersSearchText('');\n }\n teamManagersSearchInput?.current?.focus();\n setSelectedManagers(options);\n }}\n optionRenderer={(option) => {\n const name = `${option?.firstName} ${option?.lastName}`.trim();\n\n return (\n {name || option?.email}\n );\n }}\n multiSelect\n filterOption={(_, option) =>\n option?.firstName\n ?.toLowerCase()\n .includes(teamManagersSearchText.toLowerCase()) ||\n option?.lastName\n ?.toLowerCase()\n .includes(teamManagersSearchText.toLowerCase()) ||\n option?.email\n ?.toLowerCase()\n .includes(teamManagersSearchText.toLowerCase())\n }\n placeholder={\n \n }\n placement={\n screenHeight < SCREEN_HEIGHT_THRESHOLD\n ? Placement.Top\n : Placement.Bottom\n }\n show={assignTeamManagerDropdown}\n onToggle={onAssignTeamManagerDropdownToggle}\n emptyText={\n teamManagersSearchText\n ? 'No Team Manager Found'\n : 'Add members to appoint a team manager'\n }\n />\n
    \n
    \n\n \n {buttonLabel}\n \n
    \n \n );\n};\n\nexport default AddModifyTeamModal;\n","import React, { useState, useEffect } from 'react';\nimport {\n Cross,\n CircleCheck,\n AlertTriangle,\n Forbid,\n Hourglass,\n UserX,\n} from '@saleshandy/icons';\nimport {\n DeleteUserFromTeamPayload,\n Team,\n} from '../../../../../types/users-and-teams';\nimport Modal from '../../../../../../../shared/design-system/components/atoms/modal';\nimport { accessibleOnClick } from '../../../../../../../shared/utils/accessible-on-click';\nimport { getFormattedDate } from '../../../utils/get-formatted-date';\nimport {\n UserRole,\n UserStatusKeys,\n UserStatusLabel,\n} from '../../../../../enums/users-and-teams';\nimport {\n capitalize,\n getIsRequestPending,\n} from '../../../../../../../shared/utils';\nimport hasPermission from '../../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../../shared/utils/access-control/enums/permissions';\nimport { SeeMore } from '../../../../../../../shared/svg';\nimport {\n OverlayTooltip,\n Placement,\n} from '../../../../../../../shared/design-system/components/overlay';\nimport { RequestStatus } from '../../../../../../../shared/enums/request-status';\n\ntype IProps = {\n show: boolean;\n team: Team;\n onClose: VoidFunction;\n userTimezone: string;\n userId: number;\n atmRole: string;\n onTeamMemberRemove: (payload: DeleteUserFromTeamPayload) => void;\n getTeamsRequestStatus: RequestStatus;\n deleteUserFromTeamRequestStatus: RequestStatus;\n};\n\nconst getStatusIcon = (status) => {\n if (status === UserStatusKeys.Invited) {\n return ;\n }\n if (status === UserStatusKeys.Failed) {\n return ;\n }\n if (status === UserStatusKeys.InActive) {\n return ;\n }\n\n return ;\n};\n\nconst getStatusLabel = (status) => {\n if (status === UserStatusKeys.Invited) {\n return UserStatusLabel.Invited;\n }\n if (status === UserStatusKeys.Failed) {\n return UserStatusLabel.Failed;\n }\n if (status === UserStatusKeys.InActive) {\n return UserStatusLabel.InActive;\n }\n\n return UserStatusLabel.Active;\n};\n\nconst getUserRole = (roles: string[]): string => {\n if (roles.includes(UserRole.Owner)) {\n return capitalize(UserRole.Owner);\n }\n if (roles.includes(UserRole.Admin)) {\n return capitalize(UserRole.Admin);\n }\n if (roles.includes(UserRole.TeamManager)) {\n return 'Team Manager';\n }\n\n return capitalize(UserRole.Member);\n};\n\nconst TeamDetailsModal: React.FC = ({\n show,\n team,\n onClose,\n userTimezone,\n userId,\n atmRole,\n onTeamMemberRemove,\n getTeamsRequestStatus,\n deleteUserFromTeamRequestStatus,\n}) => {\n const [displayedRows, setDisplayedRows] = useState(50);\n\n useEffect(() => {\n if (show) {\n setDisplayedRows(50);\n }\n }, [show]);\n\n if (!show || !team) {\n return ;\n }\n\n const users = {\n owners: [],\n admins: [],\n teamManagers: [],\n members: [],\n };\n\n team?.users?.forEach((user) => {\n const { email, role } = user;\n\n const isAlreadyExist =\n users.owners.some((u) => u.email === email) ||\n users.admins.some((u) => u.email === email) ||\n users.teamManagers.some((u) => u.email === email) ||\n users.members.some((u) => u.email === email);\n\n if (isAlreadyExist) {\n return;\n }\n\n if (role.includes(UserRole.Owner)) {\n users.owners.push(user);\n return;\n }\n if (role.includes(UserRole.Admin)) {\n users.admins.push(user);\n return;\n }\n if (role.includes(UserRole.TeamManager)) {\n users.teamManagers.push(user);\n return;\n }\n if (role.includes(UserRole.Member)) {\n users.members.push(user);\n }\n });\n\n // Add a \"See More\" button click handler\n const handleSeeMoreClick = () => {\n // Set the number of displayed rows to the total number of users\n setDisplayedRows(\n users.owners?.length +\n users.admins?.length +\n users.teamManagers?.length +\n users.members?.length,\n );\n };\n\n // Display the \"See More\" button if there are more users to show\n const renderSeeMoreBtn = () =>\n displayedRows <\n users.owners?.length +\n users.admins?.length +\n users.teamManagers?.length +\n users.members?.length && (\n
    \n \n See more users\n
    \n );\n\n const renderUsers = ({ id, name, email, status, role }, index: number) => {\n const isDeletionInProgress =\n getIsRequestPending(deleteUserFromTeamRequestStatus) ||\n getIsRequestPending(getTeamsRequestStatus);\n\n return (\n
    \n
    \n

    \n {name && (\n

    {`${name} ${userId === id ? '(You)' : ''}`.trim()}

    \n )}\n \n

    \n {email}\n \n \n {getStatusIcon(status)}\n \n \n

    \n
    \n
    \n

    {getUserRole(role)}

    \n\n {hasPermission(Permissions.ACCOUNT_TEAM_UPDATE) &&\n userId !== id &&\n !role.includes(UserRole.Owner) &&\n (atmRole !== UserRole.Admin || !role.includes(UserRole.Admin)) && (\n \n onTeamMemberRemove({\n teamId: Number(team.id),\n userId: id,\n }),\n ))}\n >\n \n
    \n )}\n
    \n {displayedRows === index + 1 && renderSeeMoreBtn()}\n \n );\n };\n\n return (\n \n \n \n \n\n
    \n
    \n

    \n {team.name}\n

    \n

    \n Created on {getFormattedDate(team.createdAt, userTimezone, false)}\n

    \n

    \n {team?.users?.length} Users\n

    \n
    \n {[\n ...users.owners,\n ...users.admins,\n ...users.teamManagers,\n ...users.members,\n ]\n .slice(0, displayedRows)\n .map((user, index) => renderUsers(user, index))}\n
    \n
    \n
    \n \n );\n};\n\nexport default TeamDetailsModal;\n","import React from 'react';\nimport Button from '../../../../../../../shared/design-system/components/atoms/button';\nimport ConfirmationModalV3 from '../../../../../../../shared/design-system/components/atoms/confirmation-modal/confirmation-modal-v3';\nimport { ConfirmationModalIconType } from '../../../../../../../shared/design-system/components/atoms/confirmation-modal/enum';\n\nconst DeleteTeamModal = ({ show, onSubmit, onClose, isLoading }) => (\n \n);\n\nexport default DeleteTeamModal;\n","import React, { useState, useMemo, useEffect } from 'react';\nimport { DotsVertical, Pencil, Trash } from '@saleshandy/icons';\nimport { SkeletonLoading } from '@saleshandy/design-system';\nimport { Dropdown } from 'react-bootstrap';\nimport type { IProps } from './teams-container';\nimport Table from '../../../../../../shared/design-system/components/organisms/table';\nimport {\n Action,\n Column,\n PaginationShowHide,\n} from '../../../../../../shared/design-system/components/organisms/table/types';\nimport {\n DeleteUserFromTeamPayload,\n Team,\n TeamUser,\n TeamsFilter,\n} from '../../../../types/users-and-teams';\nimport { getFormattedDate } from '../../utils/get-formatted-date';\nimport AddModifyTeamModal from './modals/add-modify-team-modal';\nimport {\n executeOnErrorWithErrorCheck,\n executeOnRequestStatus,\n getIsRequestPending,\n} from '../../../../../../shared/utils';\nimport toaster, { Theme } from '../../../../../../shared/toaster';\nimport TeamDetailsModal from './modals/team-details-modal';\nimport { accessibleOnClick } from '../../../../../../shared/utils/accessible-on-click';\nimport {\n TeamSortBy,\n UserAndTeamsTabs,\n UserRole,\n} from '../../../../enums/users-and-teams';\nimport { Order } from '../../../../../../shared/enums/order';\nimport { Placement } from '../../../../../../shared/design-system/components/overlay';\nimport DeleteTeamModal from './modals/delete-team-modal';\nimport hasPermission from '../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../shared/utils/access-control/enums/permissions';\nimport { getActionPermissions } from './utils/get-action-permissions';\nimport TruncatedTextWithTooltip from '../../../../../../shared/components/truncated-text-with-tooltip/truncated-text-with-tooltip';\n\nconst Teams: React.FC = ({\n activeTab,\n userId,\n atmRole,\n tableRef,\n\n isTeamsFilterDirty,\n setIsTeamsFilterDirty,\n\n teams,\n teamsPaginationOptions,\n userTimezone,\n addTeamModal,\n showAddTeamModal,\n hideAddTeamModal,\n membersList,\n sendGetTeamsRequest,\n sendGetMembersListRequest,\n resetGetMembersListRequest,\n getMembersListRequestStatus,\n getMembersListRequestError,\n getTeamsRequestStatus,\n\n sendAddTeamRequest,\n resetAddTeamRequest,\n addTeamRequestStatus,\n addTeamRequestError,\n\n sendModifyTeamRequest,\n resetModifyTeamRequest,\n modifyTeamRequestStatus,\n modifyTeamRequestError,\n\n sendDeleteTeamRequest,\n resetDeleteTeamRequest,\n deleteTeamRequestStatus,\n deleteTeamRequestError,\n\n sendDeleteUserFromTeamRequest,\n resetDeleteUserFromTeamRequest,\n deleteUserFromTeamRequestStatus,\n deleteUserFromTeamRequestError,\n}) => {\n const [actionRow, setActionRow] = useState(null);\n const [teamDetailsModal, setTeamDetailsModal] = useState(false);\n const [deleteTeamModal, setDeleteTeamModal] = useState(false);\n\n const [isDropdownOpen, setIsDropdownOpen] = useState(null);\n\n const [filters, setFilters] = useState({\n pageNum: 1,\n pageSize: 50,\n sortOrder: Order.Desc,\n sortBy: TeamSortBy.CreatedAt,\n });\n\n const onFilterChange = (payload: TeamsFilter) => {\n if (!isTeamsFilterDirty) {\n setIsTeamsFilterDirty(true);\n }\n\n const updatedFilters = {\n ...filters,\n ...payload,\n };\n setFilters(updatedFilters);\n sendGetTeamsRequest(updatedFilters);\n };\n\n const hideDeleteTeamModal = () => {\n setDeleteTeamModal(false);\n };\n\n const onHideAddTeamModal = () => {\n hideAddTeamModal();\n setActionRow(null);\n\n resetAddTeamRequest();\n resetModifyTeamRequest();\n };\n\n const onAddOrModifyTeam = (payload) => {\n if (actionRow) {\n sendModifyTeamRequest({\n teamId: actionRow.id,\n ...payload,\n });\n } else {\n sendAddTeamRequest(payload);\n }\n };\n\n const onDeleteTeam = () => {\n sendDeleteTeamRequest(Number(actionRow.id));\n };\n\n const onTeamMemberRemove = (payload: DeleteUserFromTeamPayload) => {\n if (\n !getIsRequestPending(deleteUserFromTeamRequestStatus) &&\n !getIsRequestPending(getTeamsRequestStatus)\n ) {\n sendDeleteUserFromTeamRequest(payload);\n }\n };\n\n const onSortChange = (_sortBy, order) => {\n onFilterChange({\n sortOrder: order === 'asc' ? 1 : -1,\n });\n };\n\n const onAction = (key: string, row: Team) => {\n if (key === 'modifyTeam') {\n showAddTeamModal(true);\n setActionRow(row);\n return;\n }\n if (key === 'delete') {\n setDeleteTeamModal(true);\n setActionRow(row);\n }\n };\n\n const onViewTeamDetailsModal = (row: Team) => {\n setActionRow(row);\n setTeamDetailsModal(true);\n };\n\n const actions: Action[] = useMemo(\n () => [\n {\n key: 'modifyTeam',\n customIcon: true,\n iconElement: ,\n displayName: 'Modify ',\n position: 'out',\n },\n {\n key: 'delete',\n customIcon: true,\n iconElement: ,\n displayName: 'Delete',\n position: 'out',\n },\n ],\n [],\n );\n\n const columns: Column[] = useMemo(\n () =>\n [\n {\n dataField: 'name',\n text: 'Name',\n align: 'left',\n component: (cell, row, rowIndex) => (\n {\n onViewTeamDetailsModal(row);\n })}\n className=\"team-cell\"\n >\n \n
    \n ),\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: ,\n headerClasses: 'teams-name-cell',\n cellClasses: 'teams-name-cell',\n },\n {\n dataField: 'users',\n text: 'Users',\n align: 'left',\n component: (cell: TeamUser[], row) => {\n const { length: totalUsers } = cell || { length: 0 };\n\n return (\n {\n onViewTeamDetailsModal(row);\n })}\n >\n {totalUsers}\n \n );\n },\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: ,\n headerClasses: 'users-team-cell',\n cellClasses: 'users-team-cell',\n },\n {\n dataField: 'managers',\n text: 'Managers',\n align: 'left',\n component: (_cell, row) => {\n let managers = '';\n let users = [];\n\n if (row.users) {\n users =\n row.users?.filter((user) =>\n user.role.includes(UserRole.TeamManager),\n ) || [];\n }\n\n if (users?.length > 0) {\n users.forEach((manager, index) => {\n if (manager.role.includes(UserRole.TeamManager)) {\n if (index === 0) {\n managers = manager.name.trim() || manager.email;\n } else {\n managers = `${managers}, ${\n manager.name.trim() || manager.email\n }`;\n }\n }\n });\n }\n\n return (\n onViewTeamDetailsModal(row))}\n >\n {managers || '-'}\n \n );\n },\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: ,\n headerClasses: 'manager-cell',\n cellClasses: 'manager-cell',\n },\n {\n dataField: 'createdAt',\n text: 'Created On',\n align: 'left',\n sort: true,\n onSort: onSortChange,\n component: (cell, row) => (\n onViewTeamDetailsModal(row))}\n >\n {getFormattedDate(cell, userTimezone, false)}\n \n ),\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: ,\n headerClasses: `created-on-team-cell ${\n !(\n hasPermission(Permissions.ACCOUNT_TEAM_UPDATE) &&\n hasPermission(Permissions.ACCOUNT_TEAM_DELETE)\n )\n ? 'teams-created-by-last-col'\n : ''\n }`,\n cellClasses: `created-on-team-cell ${\n !(\n hasPermission(Permissions.ACCOUNT_TEAM_UPDATE) &&\n hasPermission(Permissions.ACCOUNT_TEAM_DELETE)\n )\n ? 'teams-created-by-last-col'\n : ''\n }`,\n },\n hasPermission(Permissions.ACCOUNT_TEAM_UPDATE) &&\n hasPermission(Permissions.ACCOUNT_TEAM_DELETE)\n ? {\n dataField: 'actions',\n text: '',\n align: 'right',\n component: (cell, row) => (\n
    \n \n setIsDropdownOpen((prev) => {\n if (val) {\n return row.id;\n }\n return prev === row.id ? null : prev;\n })\n }\n bsPrefix=\"dropdown-custom\"\n drop=\"down\"\n >\n \n \n \n \n {actions.map(\n (action) =>\n getActionPermissions(action) && (\n \n onAction(action.key, row),\n )}\n >\n {action.iconElement} {action.displayName}\n \n ),\n )}\n \n \n
    \n ),\n cellClasses: (_, row) =>\n `${isDropdownOpen === row.id ? 'action-btn' : ''}`,\n }\n : null,\n ].filter((col) => col !== null) as Column[],\n [teams, isDropdownOpen],\n );\n\n const onPaginationOptionsChangeHandler = ({ page, limit }) => {\n onFilterChange({\n pageNum: filters.pageSize !== limit ? 1 : page,\n pageSize: limit,\n });\n };\n\n const hideTeamDetailsModal = () => {\n setTeamDetailsModal(false);\n setActionRow(null);\n };\n\n useEffect(() => {\n if (activeTab === UserAndTeamsTabs.Teams && isTeamsFilterDirty) {\n sendGetTeamsRequest(filters);\n }\n }, [activeTab]);\n\n useEffect(() => {\n if (addTeamModal) {\n sendGetMembersListRequest();\n }\n }, [addTeamModal]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getTeamsRequestStatus,\n onSuccess: () => {\n if (teamDetailsModal && actionRow) {\n const selectedTeam = teams.find((team) => team.id === actionRow.id);\n if (selectedTeam) {\n setActionRow(selectedTeam);\n }\n }\n resetGetMembersListRequest();\n },\n });\n }, [getTeamsRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getMembersListRequestStatus,\n onSuccess: () => {\n resetGetMembersListRequest();\n },\n onFailed: () => {\n resetGetMembersListRequest();\n executeOnErrorWithErrorCheck({\n error: getMembersListRequestError,\n onError: () => {\n toaster.error(getMembersListRequestError?.message, {\n theme: Theme.New,\n });\n },\n });\n },\n });\n }, [getMembersListRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: addTeamRequestStatus,\n onSuccess: () => {\n toaster.success('Team Successfully Created', { theme: Theme.New });\n sendGetTeamsRequest(filters);\n onHideAddTeamModal();\n resetAddTeamRequest();\n },\n onFailed: () => {\n resetGetMembersListRequest();\n executeOnErrorWithErrorCheck({\n error: addTeamRequestError,\n onError: () => {\n if (addTeamRequestError.code !== 1001) {\n toaster.error(addTeamRequestError.message, {\n theme: Theme.New,\n });\n resetAddTeamRequest();\n }\n },\n });\n },\n });\n }, [addTeamRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: modifyTeamRequestStatus,\n onSuccess: () => {\n toaster.success('Team Successfully Modified', { theme: Theme.New });\n sendGetTeamsRequest(filters);\n onHideAddTeamModal();\n resetModifyTeamRequest();\n },\n onFailed: () => {\n resetGetMembersListRequest();\n executeOnErrorWithErrorCheck({\n error: modifyTeamRequestError,\n onError: () => {\n if (modifyTeamRequestError.code !== 1001) {\n toaster.error(modifyTeamRequestError.message, {\n theme: Theme.New,\n });\n resetModifyTeamRequest();\n }\n },\n });\n },\n });\n }, [modifyTeamRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: deleteTeamRequestStatus,\n onSuccess: () => {\n toaster.success('Team Successfully Deleted', { theme: Theme.New });\n sendGetTeamsRequest(filters);\n setActionRow(null);\n hideDeleteTeamModal();\n resetDeleteTeamRequest();\n },\n onFailed: () => {\n executeOnErrorWithErrorCheck({\n error: deleteTeamRequestError,\n onError: () => {\n toaster.error(deleteTeamRequestError.message, {\n theme: Theme.New,\n });\n },\n });\n setActionRow(null);\n hideDeleteTeamModal();\n resetDeleteTeamRequest();\n },\n });\n }, [deleteTeamRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: deleteUserFromTeamRequestStatus,\n onSuccess: () => {\n toaster.success('Team Successfully Modified', { theme: Theme.New });\n sendGetTeamsRequest(filters);\n resetDeleteUserFromTeamRequest();\n },\n onFailed: () => {\n executeOnErrorWithErrorCheck({\n error: deleteUserFromTeamRequestError,\n onError: () => {\n toaster.error(deleteUserFromTeamRequestError.message, {\n theme: Theme.New,\n });\n },\n });\n resetDeleteUserFromTeamRequest();\n },\n });\n }, [deleteUserFromTeamRequestStatus]);\n\n const isLoading = getIsRequestPending(getTeamsRequestStatus);\n\n return (\n
    \n \n\n \n\n \n\n \n
    \n );\n};\n\nexport default Teams;\n","import { Action } from '../../../../../../../shared/design-system/components/organisms/table/types';\nimport { Permissions } from '../../../../../../../shared/utils/access-control/enums/permissions';\nimport hasPermission from '../../../../../../../shared/utils/access-control/has-permission';\n\nexport const getActionPermissions = (action: Action): boolean => {\n if (\n action.key === 'modifyTeam' &&\n hasPermission(Permissions.ACCOUNT_TEAM_UPDATE)\n ) {\n return true;\n }\n\n if (\n action.key === 'delete' &&\n hasPermission(Permissions.ACCOUNT_TEAM_DELETE)\n ) {\n return true;\n }\n\n return false;\n};\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../../../store/root-reducer';\nimport Teams from './teams';\nimport {\n addTeamRequest,\n deleteTeamRequest,\n deleteUserFromTeamRequest,\n getMembersListRequest,\n getTeamsRequest,\n modifyTeamRequest,\n} from '../../extra-actions';\nimport {\n resetAddTeamRequest,\n resetDeleteTeamRequest,\n resetDeleteUserFromTeamRequest,\n resetGetMembersListRequest,\n resetModifyTeamRequest,\n} from '../../users-and-teams-slice';\nimport {\n UserAndTeamsTabs,\n UserStatusKeys,\n} from '../../../../enums/users-and-teams';\nimport {\n AddTeamPayload,\n DeleteUserFromTeamPayload,\n ModifyTeamPayload,\n TeamsFilter,\n} from '../../../../types/users-and-teams';\n\nconst mapStateToProps = (state: RootState) => ({\n teams: state.usersAndTeams.teams,\n teamsPaginationOptions: state.usersAndTeams.teamsPaginationOptions,\n membersList: state.usersAndTeams.membersList,\n userTimezone: state.home.timeZone,\n userId: state.home.userId,\n atmRole: state.home.atmRole,\n\n getTeamsRequestStatus: state.usersAndTeams.getTeamsRequest.status,\n getTeamsRequestError: state.usersAndTeams.getTeamsRequest.error,\n getTeamsRequestMessage: state.usersAndTeams.getTeamsRequest.message,\n\n getMembersListRequestStatus: state.usersAndTeams.getMembersListRequest.status,\n getMembersListRequestError: state.usersAndTeams.getMembersListRequest.error,\n getMembersListRequestMessage:\n state.usersAndTeams.getMembersListRequest.message,\n\n addTeamRequestStatus: state.usersAndTeams.addTeamRequest.status,\n addTeamRequestError: state.usersAndTeams.addTeamRequest.error,\n addTeamRequestMessage: state.usersAndTeams.addTeamRequest.message,\n\n modifyTeamRequestStatus: state.usersAndTeams.modifyTeamRequest.status,\n modifyTeamRequestError: state.usersAndTeams.modifyTeamRequest.error,\n modifyTeamRequestMessage: state.usersAndTeams.modifyTeamRequest.message,\n\n deleteTeamRequestStatus: state.usersAndTeams.deleteTeamRequest.status,\n deleteTeamRequestError: state.usersAndTeams.deleteTeamRequest.error,\n deleteTeamRequestMessage: state.usersAndTeams.deleteTeamRequest.message,\n\n deleteUserFromTeamRequestStatus:\n state.usersAndTeams.deleteUserFromTeamRequest.status,\n deleteUserFromTeamRequestError:\n state.usersAndTeams.deleteUserFromTeamRequest.error,\n deleteUserFromTeamRequestMessage:\n state.usersAndTeams.deleteUserFromTeamRequest.message,\n});\n\nconst mapDispatchToProps = {\n sendGetTeamsRequest: (filters: TeamsFilter) => getTeamsRequest(filters),\n\n sendGetMembersListRequest: () =>\n getMembersListRequest([UserStatusKeys.Active, UserStatusKeys.Invited]),\n resetGetMembersListRequest: () => resetGetMembersListRequest(),\n\n sendAddTeamRequest: (payload: AddTeamPayload) => addTeamRequest(payload),\n resetAddTeamRequest: () => resetAddTeamRequest(),\n\n sendModifyTeamRequest: (payload: ModifyTeamPayload) =>\n modifyTeamRequest(payload),\n resetModifyTeamRequest: () => resetModifyTeamRequest(),\n\n sendDeleteTeamRequest: (id: number) => deleteTeamRequest(id),\n resetDeleteTeamRequest: () => resetDeleteTeamRequest(),\n\n sendDeleteUserFromTeamRequest: (payload: DeleteUserFromTeamPayload) =>\n deleteUserFromTeamRequest(payload),\n resetDeleteUserFromTeamRequest: () => resetDeleteUserFromTeamRequest(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n activeTab: UserAndTeamsTabs;\n addTeamModal: boolean;\n showAddTeamModal: (value: boolean) => void;\n hideAddTeamModal: VoidFunction;\n isTeamsFilterDirty: boolean;\n setIsTeamsFilterDirty: (value: boolean) => void;\n tableRef: any;\n};\n\nexport default connector(Teams);\n","import React from 'react';\nimport { EmptyList, ImageIcon } from '@saleshandy/design-system';\n\ntype IProps = {\n imrSrc: string;\n title: string;\n desc: string;\n};\n\nconst UsersAndTeamsEmptyScreen: React.FC = ({\n imrSrc,\n title,\n desc,\n}) => (\n
    \n \n \n \n \n \n {title}\n {desc}\n \n \n
    \n);\n\nexport default UsersAndTeamsEmptyScreen;\n","import { DateTime } from 'luxon';\nimport { DatePickerOption } from './types';\n\nexport const getCurrentTimeInUTC = () => DateTime.fromJSDate(new Date());\n\nconst durationCustomOptions: DatePickerOption[] = [\n {\n displayText: 'Today',\n label: 'today',\n startDate: getCurrentTimeInUTC(),\n endDate: getCurrentTimeInUTC(),\n value: 'today',\n key: 'today',\n },\n {\n displayText: 'Yesterday',\n label: 'yesterday',\n startDate: getCurrentTimeInUTC().minus({ days: 1 }),\n endDate: getCurrentTimeInUTC(),\n value: 'yesterday',\n key: 'yesterday',\n },\n {\n displayText: 'Last 7 Days',\n label: 'last_7_days',\n startDate: getCurrentTimeInUTC().minus({ days: 7 }),\n endDate: getCurrentTimeInUTC(),\n value: 'last_7_days',\n key: 'last_7_days',\n },\n {\n displayText: 'Last 14 Days',\n label: 'last_14_days',\n startDate: getCurrentTimeInUTC().minus({ days: 14 }),\n endDate: getCurrentTimeInUTC(),\n value: 'last_14_days',\n key: 'last_14_days',\n },\n {\n displayText: 'Last 30 Days',\n label: 'last_30_days',\n startDate: getCurrentTimeInUTC().minus({ days: 30 }),\n endDate: getCurrentTimeInUTC(),\n value: 'last_30_days',\n key: 'last_30_days',\n },\n {\n displayText: 'Last 90 Days',\n label: 'last_90_days',\n startDate: getCurrentTimeInUTC().minus({ days: 90 }),\n endDate: getCurrentTimeInUTC(),\n value: 'last_90_days',\n key: 'last_90_days',\n },\n {\n displayText: 'Custom',\n label: 'custom',\n startDate: getCurrentTimeInUTC().minus({ days: 30 }),\n endDate: getCurrentTimeInUTC(),\n value: 'custom',\n key: 'custom',\n },\n];\n\nexport default durationCustomOptions;\n","import React, { useEffect, useRef, useState } from 'react';\nimport { Button, SkeletonLoading } from '@saleshandy/design-system';\nimport { Download } from '@saleshandy/icons';\nimport { DateTime } from 'luxon';\nimport classNames from 'classnames';\nimport { UserAndTeamsTabs } from '../../../enums/users-and-teams';\nimport SearchInput from '../../../../../shared/design-system/components/atoms/search-input';\nimport { UsersFilter } from '../../../types/users-and-teams';\nimport { IconPlace } from '../../../../../shared/design-system/components/input/enums';\nimport PremiumFeatureIndicator from '../../../../../shared/components/premium-feature-indicator';\nimport {\n OverlayPopover,\n OverlayTooltip,\n Placement,\n} from '../../../../../shared/design-system/components/overlay';\nimport { accessibleOnClick } from '../../../../../shared/utils/accessible-on-click';\nimport DateFilter from '../../../../../shared/components/date-filter';\nimport { DatePickerOption } from '../../../../../shared/components/date-filter/types';\nimport durationCustomOptions from '../../../../../shared/components/date-filter/date-filter-custom-option';\nimport InputLabel from '../../../../../shared/design-system/components/input/input-label';\n\ntype IProps = {\n activeTab: UserAndTeamsTabs;\n onSearch: VoidFunction;\n filters: UsersFilter;\n onSearchChange: (search: string) => void;\n onClearSearch: VoidFunction;\n showInviteUserModal: VoidFunction;\n showAddTeamModal: VoidFunction;\n isInviteUserModalBtnLoading: boolean;\n isLoading: boolean;\n exportUsers: VoidFunction;\n dateFilters: DatePickerOption;\n onDateFilterChange: (filter: DatePickerOption) => void;\n timeZone: string;\n};\n\nconst UsersAndTeamsExtraContent: React.FC = ({\n activeTab,\n filters,\n onSearch,\n onSearchChange,\n onClearSearch,\n showAddTeamModal,\n showInviteUserModal,\n isInviteUserModalBtnLoading,\n isLoading,\n exportUsers,\n dateFilters,\n onDateFilterChange,\n timeZone,\n}) => {\n const [isDateFilterModal, setIsDateFilterModal] = useState(false);\n\n const overlayRef = useRef(null);\n\n const handleClickOutside = (event) => {\n const { target } = event;\n\n if (overlayRef?.current?.contains(target)) return;\n\n const popoverEle = document.querySelector(\n '.download-usage-report__popover',\n );\n if (popoverEle?.contains(target)) return;\n\n const dateFilterDropdownEle = document.querySelector('.date-filter-select');\n if (dateFilterDropdownEle?.contains(target)) {\n return;\n }\n\n setIsDateFilterModal(false);\n };\n\n useEffect(() => {\n document.addEventListener('click', handleClickOutside);\n\n return () => {\n document.removeEventListener('click', handleClickOutside);\n };\n }, []);\n\n const onDateTimeSelectionChange = (\n label: string,\n startDate: DateTime,\n endDate: DateTime,\n displayText: string,\n ) => {\n const optionObject = {\n label: label || 'today',\n startDate: startDate.setZone(timeZone) || DateTime.now(),\n endDate: endDate.setZone(timeZone) || DateTime.now(),\n displayText: displayText || 'Today',\n value: label || 'Today',\n key: label || 'Today',\n };\n onDateFilterChange(optionObject);\n };\n const exportUsersAndCloseModal = () => {\n const defaultOption = {\n label: 'today',\n startDate: DateTime.now().setZone(timeZone),\n endDate: DateTime.now().setZone(timeZone),\n displayText: 'Today',\n value: 'today',\n key: 'today',\n };\n\n onDateFilterChange(defaultOption);\n exportUsers();\n setIsDateFilterModal(false);\n };\n\n return (\n <>\n
    \n {isLoading && activeTab === UserAndTeamsTabs.Users && (\n \n )}\n\n {isLoading && }\n\n {!isLoading && activeTab === UserAndTeamsTabs.Users && (\n <>\n
    \n \n
    \n \n \n
    \n
    \n \n
    \n
    \n }\n >\n \n \n setIsDateFilterModal((prev) => !prev),\n )}\n >\n \n
    \n \n \n \n\n \n\n \n\n \n Invite Users\n \n \n )}\n\n {!isLoading && activeTab === UserAndTeamsTabs.Teams && (\n <>\n \n \n )}\n \n \n );\n};\n\nexport default UsersAndTeamsExtraContent;\n","import React from 'react';\nimport { Button, EmptyList } from '@saleshandy/design-system';\nimport { TeamsUI } from '../../../../../shared/svg';\nimport { redirectWithoutRefresh } from '../../../../../shared/utils';\nimport { contactAdmin } from '../../../../../shared/utils/contact-admin';\nimport hasPermission from '../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../shared/utils/access-control/enums/permissions';\nimport { Routes } from '../../../../../shared/routes';\n\nconst TeamsPlanBasedRestriction: React.FC<{\n adminFirstName: string;\n userName: string;\n}> = ({ adminFirstName, userName }) => {\n const getBtnLabel = () => {\n if (hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)) {\n return 'Upgrade Now';\n }\n\n return 'Contact Owner';\n };\n\n const handleUpgradePlanBtn = () => {\n if (hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)) {\n redirectWithoutRefresh(\n Routes.Setting_Billing_Upgrade_Email_Outreach_Plan,\n );\n } else {\n const emailSubject = 'Upgrade Required to manage teams inside Saleshandy';\n const content =\n 'I have discovered that Saleshandy provides team management but we don’t have an access for it in current plan. I would request you to upgrade the plan so that we can start using this and take maximum out of it and manage our teams better.';\n const emailBody = `Hey ${adminFirstName}, %0D%0A %0D%0A${content} %0D%0A %0D%0AThanks, %0D%0A %0D%0A${userName}`;\n\n contactAdmin(emailSubject, emailBody);\n }\n };\n\n return (\n
    \n \n \n \n \n \n \n Create Unlimited Teams for Successful Collaboration\n \n \n Unleash the power of teamwork with our exclusive Teams feature.\n Upgrade now to Scale or higher plans to collaborate seamlessly and\n boost productivity together!{' '}\n \n 🚀\n \n \n \n \n \n
    \n );\n};\n\nexport default TeamsPlanBasedRestriction;\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { useHistory } from 'react-router';\n\nimport Modal from '../../../../../shared/design-system/components/atoms/modal';\nimport Button from '../../../../../shared/design-system/components/atoms/button';\nimport { Images } from '../../../../../shared/app-constants';\nimport { contactAdmin } from '../../../../../shared/utils/contact-admin';\nimport hasPermission from '../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../shared/utils/access-control/enums/permissions';\nimport { ModifySubscriptionSteps } from '../../billing-subscription/components/modify-subscription/types';\nimport { Routes } from '../../../../../shared/routes';\n\nconst NoSeatAvailableForTeamModal = ({ show, onClose, firstName }) => {\n const { t } = useTranslation();\n const history = useHistory();\n\n const onSubmit = () => {\n const emailSubject = `${t(\n 'messages.no_seat_available_email_subject_1',\n )} ${t('messages.no_seat_available_email_subject_2')}`;\n\n const emailBody = `Hello ${firstName}, %0D%0A %0D%0A ${t(\n 'messages.no_seat_available_email_body_1',\n )} ${t('messages.no_seat_available_email_body_2')} ${t(\n 'messages.no_seat_available_email_body_3',\n )} ${t('messages.no_seat_available_email_body_4')}`;\n\n if (hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)) {\n history.push({\n pathname: Routes.Setting_Billing_Upgrade_Email_Outreach_Plan,\n state: {\n modifySubscriptionStep: ModifySubscriptionSteps.SelectSlots,\n },\n });\n } else {\n contactAdmin(emailSubject, emailBody);\n }\n };\n\n return (\n \n \"Alert\"\n

    {t('messages.no_seat_available_team_modal_title')}

    \n \n }\n showCloseIcon\n onSubmit={onSubmit}\n onClose={onClose}\n submitButtonText={\n hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)\n ? 'Buy Now'\n : t('labels.contact_admin')\n }\n cancelButtonText={t('labels.cancel')}\n cancelButtonVarient={Button.Variant.Outlined}\n submitButtonClassName=\"header-btn\"\n backdrop=\"static\"\n >\n
    \n

    \n {t('messages.no_seat_available_team_modal__content_1')}\n

    \n

    \n {t('messages.no_seat_available_team_modal__content_2')}\n

    \n
    \n \n );\n};\n\nexport default NoSeatAvailableForTeamModal;\n","import React, { useState, useEffect, useRef } from 'react';\nimport Tabs, { TabPane } from 'rc-tabs';\nimport { useHistory } from 'react-router';\n\nimport { useTranslation } from 'react-i18next';\nimport { DateTime } from 'luxon';\nimport type { IProps } from './types';\nimport { UserAndTeamsTabs } from '../../../../enums/users-and-teams';\n\nimport UsersAndTeamsHeader from '../users-and-teams-header';\nimport Users from '../users';\nimport Teams from '../teams';\nimport { UsersFilter } from '../../../../types/users-and-teams';\nimport { Order } from '../../../../../../shared/enums/order';\nimport UsersAndTeamsEmptyScreen from '../users-and-teams-empty-screen';\nimport UsersAndTeamsExtraContent from '../users-and-teams-extra-content';\nimport TeamsPlanBasedRestriction from '../teams-plan-based-restriction';\nimport {\n executeOnErrorWithErrorCheck,\n executeOnRequestStatus,\n getIsRequestPending,\n} from '../../../../../../shared/utils';\nimport hasPermission from '../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../shared/utils/access-control/enums/permissions';\nimport {\n SubscriptionPlanTitle,\n SubscriptionPlans,\n} from '../../../../../../shared/utils/subscription-plans';\nimport { planError } from '../../../../../../shared/utils/errors/plan-permission-error/plan-error';\n\nimport toaster, { Theme } from '../../../../../../shared/toaster';\nimport NoSeatAvailableForTeamModal from '../no-seat-available-for-team-modal';\nimport RestrictionErrorModal from '../../../../../../shared/components/restriction-error-modal';\nimport PremiumFeatureModal from '../../../../../prospect/components/prospect-list/components/modals/restriction-error-modal';\nimport PlanRestrictionErrorModal from '../../../../../prospect/components/prospect-list/components/modals/restriction-error-modal';\nimport { Images } from '../../../../../../shared/app-constants';\nimport { basicTrailPlanRestriction } from '../../../../../../shared/utils/mail-body-contents';\nimport { shouldShowUpgradePlanModal } from '../../utils/should-show-upgrade-plan-modal';\nimport { GlobalSettings } from '../../../../../../shared/components/global-settings-wrapper';\nimport store from '../../../../../../store';\nimport HeaderBanner from '../../../header-banner';\nimport { AnalyticsEvents } from '../../../../../../shared/enums/analytics';\nimport { DatePickerOption } from '../../../../../../shared/components/date-filter/types';\n\nconst UsersAndTeamsContent: React.FC = ({\n sendGetUsersRequest,\n resetGetUsersRequest,\n resetGetTeamsRequest,\n\n showLoading,\n hideLoading,\n\n users,\n teams,\n\n getUsersRequestStatus,\n getTeamsRequestStatus,\n\n adminFirstName,\n userName,\n\n sendGetConnectedUsersAndEmailAccountsRequest,\n resetConnectedUsersAndEmailAccountsRequest,\n getConnectedUsersAndEmailAccountsRequestStatus,\n getConnectedUsersAndEmailAccountsRequestError,\n trackingId,\n planName,\n timeZone,\n\n sendExportUsersRequest,\n exportUserRequestStatus,\n resetExportUserRequest,\n\n ...props\n}) => {\n const { t } = useTranslation();\n const history = useHistory();\n const tableRef = useRef(null);\n const teamTableRef = useRef(null);\n\n const [inviteUserModal, setInviteUserModal] = useState(false);\n const [addTeamModal, setAddTeamModal] = useState(false);\n const [restrictionErrorModalMeta, setRestrictionErrorModalMeta] = useState({\n show: false,\n planName: SubscriptionPlanTitle.EmailOutreachPro,\n });\n const [premiumFeatureMeta, setPremiumFeatureMeta] = useState({\n show: false,\n title: '',\n body: [],\n });\n const [isRestrictionModalShow, setIsRestrictionModalShow] = useState(\n false,\n );\n\n const [\n noSeatAvailableForTeamModal,\n setNoSeatAvailableForTeamModal,\n ] = useState(false);\n\n const getDefaultActiveTab = (): UserAndTeamsTabs => {\n const paths =\n history.location.pathname.split('/').filter((path) => path) || [];\n\n if (\n hasPermission(Permissions.TEAM_SHOW) &&\n paths.length === 3 &&\n paths[2] === 'teams'\n ) {\n return UserAndTeamsTabs.Teams;\n }\n\n if (hasPermission(Permissions.ACCOUNT_USER_READ)) {\n return UserAndTeamsTabs.Users;\n }\n\n if (hasPermission(Permissions.TEAM_SHOW)) {\n return UserAndTeamsTabs.Teams;\n }\n\n return null;\n };\n\n const [activeTab, setActiveTab] = useState(\n getDefaultActiveTab(),\n );\n\n const [filters, setFilters] = useState({\n pageNum: 1,\n pageSize: 25,\n sortOrder: Order.Asc,\n sortBy: '',\n search: '',\n });\n\n const [dateFilters, setDateFilter] = useState({\n label: '',\n startDate: DateTime.now(),\n endDate: DateTime.now(),\n displayText: '',\n key: '',\n value: '',\n });\n const [isUsersFilterDirty, setIsUsersFilterDirty] = useState(false);\n const [isTeamsFilterDirty, setIsTeamsFilterDirty] = useState(false);\n\n const onSendGetUsersRequest = (payload: UsersFilter) => {\n if (hasPermission(Permissions.ACCOUNT_USER_READ)) {\n sendGetUsersRequest(payload);\n }\n };\n\n const hidePremiumFeatureModal = () => {\n setPremiumFeatureMeta({\n show: false,\n title: '',\n body: [],\n });\n };\n\n const onSearch = () => {\n onSendGetUsersRequest(filters);\n };\n\n const onSearchChange = (search: string) => {\n if (!isUsersFilterDirty) {\n setIsUsersFilterDirty(true);\n }\n setFilters({\n ...filters,\n search,\n });\n };\n\n const onClearSearch = () => {\n if (!isUsersFilterDirty) {\n setIsUsersFilterDirty(true);\n }\n const updatedFilters = {\n ...filters,\n search: '',\n };\n setFilters(updatedFilters);\n onSendGetUsersRequest(updatedFilters);\n };\n\n const onFilterChange = (payload: UsersFilter) => {\n if (!isUsersFilterDirty) {\n setIsUsersFilterDirty(true);\n }\n\n const updatedFilters = {\n ...filters,\n ...payload,\n };\n setFilters(updatedFilters);\n onSendGetUsersRequest(updatedFilters);\n };\n\n useEffect(() => {\n if(!dateFilters?.value){ \n setDateFilter({\n label: 'today',\n displayText: 'Today',\n startDate: DateTime.fromJSDate(new Date(dateFilters.startDate.toJSDate())),\n endDate: DateTime.fromJSDate(new Date(dateFilters.endDate.toJSDate())),\n key: 'today',\n value: 'today',\n })\n }\n },[]);\n\n const handleDateChange = (selectedoption) => {\n setDateFilter({\n label: selectedoption?.label || 'today',\n displayText: selectedoption?.displayText || 'Today',\n startDate: selectedoption.startDate || DateTime.now(),\n endDate: selectedoption.endDate || DateTime.now(),\n key: selectedoption?.key || 'today',\n value: selectedoption?.value || 'today',\n });\n };\n\n const showInviteUserModal = () => {\n const { planCode, totalUsers, slots } = props;\n\n if (planCode === SubscriptionPlans.FREE) {\n if (hasPermission(Permissions.ACCOUNT_SUBSCRIPTION_READ)) {\n planError(2007);\n } else {\n planError(3007);\n }\n return;\n }\n\n if (\n hasPermission(Permissions.AGENCY_USER_INVITE) &&\n Number(totalUsers) >= slots\n ) {\n setNoSeatAvailableForTeamModal(true);\n return;\n }\n if (\n planCode === SubscriptionPlans.EMAIL_OUTREACH_LIFETIME &&\n Number(totalUsers) >= slots\n ) {\n setRestrictionErrorModalMeta({\n show: true,\n planName: SubscriptionPlanTitle.EmailOutreach,\n });\n return;\n }\n\n if (\n planCode === SubscriptionPlans.EMAIL_OUTREACH_PRO_LIFETIME &&\n Number(totalUsers) >= slots\n ) {\n setRestrictionErrorModalMeta({\n show: true,\n planName: SubscriptionPlanTitle.EmailOutreachPro,\n });\n return;\n }\n\n if (\n hasPermission(Permissions.AGENCY_USER_INVITE) ||\n hasPermission(Permissions.ACCOUNT_USER_INVITE)\n ) {\n setInviteUserModal(true);\n return;\n }\n\n if (\n !hasPermission(Permissions.ACCOUNT_USER_INVITE) &&\n shouldShowUpgradePlanModal()\n ) {\n setPremiumFeatureMeta({\n show: true,\n title: 'Upgrade your plan to invite user',\n body: [\n 'The Outreach Starter doesn’t allow you to invite users.',\n 'Please upgrade to the Outreach Pro or Higher plans to invite users.',\n ],\n });\n }\n };\n\n const onInviteUserBtnClicked = () => {\n if (hasPermission(Permissions.AGENCY_USER_INVITE)) {\n sendGetConnectedUsersAndEmailAccountsRequest();\n } else {\n showInviteUserModal();\n }\n };\n\n const hideInviteUserModal = () => {\n setInviteUserModal(false);\n };\n\n const handleExportUsers = () => {\n const payloadDate = {\n startDate: dateFilters.startDate.setZone(timeZone) || DateTime.now(),\n endDate: dateFilters.endDate.setZone(timeZone) || DateTime.now(),\n };\n sendExportUsersRequest(payloadDate);\n };\n\n const showAddTeamModal = () => {\n if (!hasPermission(Permissions.ACCOUNT_TEAM_WRITE)) {\n setIsRestrictionModalShow(true);\n // Tripped Feature Event\n window.analytics?.track?.({\n userId: trackingId,\n event: AnalyticsEvents.TrippedFeature,\n properties: {\n feature_type: 'Create team',\n current_plan: planName,\n },\n });\n\n return;\n }\n setAddTeamModal(true);\n };\n\n const hideAddTeamModal = () => {\n setAddTeamModal(false);\n };\n\n const getTeamsEmptyScreenContent = () => {\n if (hasPermission(Permissions.ACCOUNT_TEAM_INVITE_WRITE)) {\n return {\n title: 'Create Unlimited Teams and unleash the Power of Teamwork',\n desc:\n 'Create, Manage and Collaborate to amplify your performance with teams',\n };\n }\n return {\n title: 'You are not currently part of any teams.',\n desc: \"Teams will appear once you've been added to one.\",\n };\n };\n\n useEffect(() => {\n if (activeTab === UserAndTeamsTabs.Users) {\n onSendGetUsersRequest(filters);\n history.push('/settings/users');\n }\n\n if (activeTab === UserAndTeamsTabs.Teams) {\n history.push('/settings/users/teams');\n }\n }, [activeTab]);\n\n useEffect(\n () => () => {\n resetGetUsersRequest();\n resetGetTeamsRequest();\n },\n [],\n );\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getUsersRequestStatus,\n onPending: () => {\n showLoading();\n },\n onSuccess: () => {\n hideLoading();\n },\n });\n }, [getUsersRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getTeamsRequestStatus,\n onPending: () => {\n showLoading();\n },\n onSuccess: () => {\n hideLoading();\n },\n });\n }, [getTeamsRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: exportUserRequestStatus,\n onSuccess: () => {\n toaster.success(\n 'Data export started. Check your email for the file in about 30 minutes.',\n {\n theme: Theme.New,\n },\n );\n resetExportUserRequest();\n },\n });\n }, [exportUserRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getConnectedUsersAndEmailAccountsRequestStatus,\n onSuccess: () => {\n showInviteUserModal();\n resetConnectedUsersAndEmailAccountsRequest();\n },\n onFailed: () => {\n executeOnErrorWithErrorCheck({\n error: getConnectedUsersAndEmailAccountsRequestError,\n onError: () => {\n toaster.error(\n getConnectedUsersAndEmailAccountsRequestError.message,\n { theme: Theme.New, showCloseIcon: true, delay: 10000 },\n );\n },\n });\n },\n });\n });\n\n const isGetUsersRequestLoading = getIsRequestPending(getUsersRequestStatus);\n const isGetTeamsRequestLoading = getIsRequestPending(getTeamsRequestStatus);\n\n const {\n home: { subscription },\n } = store.getState();\n\n const renderUsersTab = () => (\n \n {!isGetUsersRequestLoading &&\n users?.length === 0 &&\n !isUsersFilterDirty && (\n \n )}\n\n {!isGetUsersRequestLoading &&\n users?.length === 0 &&\n isUsersFilterDirty && (\n \n )}\n\n (tableRef.current = refValue)}\n setPremiumFeatureMeta={setPremiumFeatureMeta}\n />\n \n );\n\n const renderTeamsTab = () => {\n const { title, desc } = getTeamsEmptyScreenContent();\n\n return (\n \n {hasPermission(Permissions.ACCOUNT_TEAM_MEMBER_READ) ||\n hasPermission(Permissions.TEAM_MEMBER_READ) ||\n hasPermission(Permissions.TEAM_TEAM_MEMBER_READ) ? (\n <>\n {!isGetTeamsRequestLoading && teams?.length === 0 && (\n \n )}\n\n (teamTableRef.current = refValue)}\n />\n \n ) : (\n \n )}\n \n );\n };\n\n return (\n <>\n \n {subscription?.planCode === SubscriptionPlans.FREE && }\n \n {\n setActiveTab(\n UserAndTeamsTabs.Users === key\n ? UserAndTeamsTabs.Users\n : UserAndTeamsTabs.Teams,\n );\n tableRef.current?.resetPagination();\n teamTableRef.current?.resetPagination();\n }}\n tabBarExtraContent={\n \n }\n >\n {hasPermission(Permissions.ACCOUNT_USER_READ) && renderUsersTab()}\n\n {hasPermission(Permissions.TEAM_SHOW) && renderTeamsTab()}\n \n\n \n setRestrictionErrorModalMeta({\n ...restrictionErrorModalMeta,\n show: false,\n })\n }\n planName={restrictionErrorModalMeta.planName}\n restrictionOn=\"team members\"\n feature=\"team members\"\n firstName={adminFirstName}\n />\n\n setNoSeatAvailableForTeamModal(false)}\n firstName={adminFirstName}\n />\n\n \n {isRestrictionModalShow && (\n setIsRestrictionModalShow(false)}\n submitButtonText=\"Upgrade\"\n />\n )}\n \n \n );\n};\n\nexport default UsersAndTeamsContent;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { hideLoading, showLoading } from 'react-redux-loading-bar';\nimport { RootState } from '../../../../../../store/root-reducer';\nimport {\n exportUsersRequest,\n getTeamsRequest,\n getUsersRequest,\n} from '../../extra-actions';\nimport {\n resetExportUserRequest,\n resetGetTeamsRequest,\n resetGetUsersRequest,\n} from '../../users-and-teams-slice';\nimport { DatePickerFilter, TeamsFilter, UsersFilter } from '../../../../types/users-and-teams';\nimport UsersAndTeamsContent from './users-and-teams-content';\nimport { resetConnectedUsersAndEmailAccountsRequest } from '../../../billing-subscription/billing-subscription-slice';\nimport { getConnectedUsersAndEmailAccountsRequest } from '../../../billing-subscription/extra-actions';\n\nconst mapStateToProps = (state: RootState) => ({\n getUsersRequestStatus: state.usersAndTeams.getUsersRequest.status,\n getUsersRequestError: state.usersAndTeams.getUsersRequest.error,\n getUsersRequestMessage: state.usersAndTeams.getUsersRequest.message,\n\n getTeamsRequestStatus: state.usersAndTeams.getTeamsRequest.status,\n getTeamsRequestError: state.usersAndTeams.getTeamsRequest.error,\n getTeamsRequestMessage: state.usersAndTeams.getTeamsRequest.message,\n\n users: state.usersAndTeams.users,\n usersPaginationOptions: state.usersAndTeams.usersPaginationOptions,\n\n teams: state.usersAndTeams.teams,\n timeZone: state.myProfile.myProfile.timeZone,\n\n planType: state.home.subscription?.planType,\n planCode: state.home.subscription?.planCode,\n slots: state.home.subscription?.slots,\n totalUsers:\n state.billingAndSubscription.getConnectedUsersAndEmailAccountsResponse\n ?.totalUsers,\n\n adminFirstName: state.home?.adminDetails?.firstName || '',\n userName: `${state.home.firstName} ${state.home.lastName}`.trim(),\n\n getConnectedUsersAndEmailAccountsRequestStatus:\n state.billingAndSubscription.getConnectedUsersAndEmailAccountsRequest\n .status,\n getConnectedUsersAndEmailAccountsRequestError:\n state.billingAndSubscription.getConnectedUsersAndEmailAccountsRequest.error,\n trackingId: state.home.trackingId,\n planName: state.home.subscription?.planName,\n\n exportUserRequestStatus: state.usersAndTeams.exportUserRequest.status,\n});\n\nconst mapDispatchToProps = {\n sendGetUsersRequest: (filters: UsersFilter) => getUsersRequest(filters),\n resetGetUsersRequest: () => resetGetUsersRequest(),\n\n sendGetTeamsRequest: (filters: TeamsFilter) => getTeamsRequest(filters),\n resetGetTeamsRequest: () => resetGetTeamsRequest(),\n\n sendGetConnectedUsersAndEmailAccountsRequest: () =>\n getConnectedUsersAndEmailAccountsRequest(),\n resetConnectedUsersAndEmailAccountsRequest: () =>\n resetConnectedUsersAndEmailAccountsRequest(),\n\n showLoading: () => showLoading(),\n hideLoading: () => hideLoading(),\n\n sendExportUsersRequest: (dateFilters: DatePickerFilter) => exportUsersRequest(dateFilters),\n resetExportUserRequest: () => resetExportUserRequest(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps;\n\nexport default connector(UsersAndTeamsContent);\n","import React from 'react';\nimport { IProps } from './types';\nimport UsersAndTeamsContent from './components/users-and-teams-content';\n\nconst UsersAndTeams: React.FC = () => ;\n\nexport default UsersAndTeams;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps } from 'react-router';\nimport { RootState } from '../../../../store/root-reducer';\nimport UsersAndTeams from './users-and-teams';\n\nconst mapStateToProps = (state: RootState) => ({});\n\nconst mapDispatchToProps = {};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & RouteComponentProps;\n\nexport default connector(UsersAndTeams);\n","export enum ChangeEmailModalFlow {\n ValidateCurrentPassword = 'ValidateCurrentPassword',\n ResetPassword = 'ResetPassword',\n NewEmail = 'NewEmail',\n VerifyOTP = 'VerifyOTP',\n EmailChangedSuccessfully = 'EmailChangedSuccessfully',\n}\n","import passwordValidator from '../../../../../../shared/utils/password-validator';\nimport { StateValues } from './types';\n\nexport const validate = (name, value, values: StateValues) => {\n switch (name) {\n case 'currentPassword':\n if (!value) {\n return 'Enter current password';\n }\n break;\n case 'newPassword':\n if (!passwordValidator.all(value)) {\n return 'Password must contain at least one upper case, lowercase and a number';\n }\n break;\n case 'confirmNewPassword':\n if (value !== values.newPassword) {\n return `Password doesn't match`;\n }\n break;\n default:\n return '';\n }\n};\n","import React from 'react';\nimport { produce } from 'immer';\nimport Input from '../../../../../../shared/design-system/components/input';\nimport PasswordValidationChecklist from '../../../../../../shared/components/password-validation-checklist';\nimport { IState } from './types';\nimport { validate } from './validator';\nimport { IProps } from './change-password-modal-container';\nimport { RequestStatus } from '../../../../../../shared/enums/request-status';\nimport Modal from '../../../../../../shared/design-system/components/atoms/modal';\n\nclass ChangePasswordModal extends React.Component {\n constructor(props: IProps) {\n super(props);\n this.state = {\n values: {\n currentPassword: '',\n newPassword: '',\n confirmNewPassword: '',\n },\n errors: {\n currentPassword: '',\n newPassword: '',\n confirmNewPassword: '',\n },\n dirty: {\n currentPassword: false,\n newPassword: false,\n confirmNewPassword: false,\n },\n currentPasswordVisible: false,\n newPasswordVisible: false,\n confirmNewPasswordVisible: false,\n };\n\n this.toggleConfirmPasswordVisibility = this.toggleConfirmPasswordVisibility.bind(\n this,\n );\n this.toggleCurrentPasswordVisibility = this.toggleCurrentPasswordVisibility.bind(\n this,\n );\n this.toggleNewPasswordVisibility = this.toggleNewPasswordVisibility.bind(\n this,\n );\n }\n\n toggleCurrentPasswordVisibility() {\n this.setState((state) => ({\n currentPasswordVisible: !state.currentPasswordVisible,\n }));\n }\n\n toggleNewPasswordVisibility() {\n this.setState((state) => ({\n newPasswordVisible: !state.newPasswordVisible,\n }));\n }\n\n toggleConfirmPasswordVisibility() {\n this.setState((state) => ({\n confirmNewPasswordVisible: !state.confirmNewPasswordVisible,\n }));\n }\n\n onInputChange = (\n value: string,\n event: React.ChangeEvent,\n ) => {\n const name = event.target.name;\n this.setState(\n produce((draft) => {\n draft.values[name] = value;\n draft.dirty[name] = true;\n }),\n );\n };\n\n onInputBlur = (e: React.FocusEvent) => {\n const name = e.target.name;\n this.setState(\n produce((draft) => {\n if (draft.dirty[name]) {\n if (name === 'currentPassword') {\n this.props.sendVerifyCurrentPasswordRequest(draft.values[name]);\n } else {\n draft.errors[name] = validate(\n name,\n draft.values[name],\n draft.values,\n );\n if (name === 'confirmNewPassword' && draft.dirty.newPassword) {\n draft.errors.confirmNewPassword = validate(\n 'confirmNewPassword',\n draft.values.confirmNewPassword,\n draft.values,\n );\n }\n }\n }\n }),\n );\n };\n\n onSubmitHandler = () => {\n const dirty = { ...this.state.dirty };\n const dirtyKeys = Object.keys(dirty);\n\n for (const key of dirtyKeys) {\n dirty[key] = true;\n }\n\n const errors = { ...this.state.errors };\n const keys = Object.keys(errors);\n let isError = false;\n\n for (const key of keys) {\n const error = validate(key, this.state.values[key], this.state.values);\n errors[key] = error;\n isError = isError || !!error;\n }\n\n if (isError) {\n this.setState({ errors, dirty });\n return;\n }\n\n const { values } = this.state;\n const payload = {\n ...values,\n };\n\n delete payload.confirmNewPassword;\n\n this.props.onSubmit(payload);\n };\n\n componentDidUpdate(prevProps: IProps) {\n const {\n verifyCurrentPasswordRequestStatus,\n isCurrentPasswordValid,\n } = this.props;\n if (\n prevProps.verifyCurrentPasswordRequestStatus === RequestStatus.Pending &&\n verifyCurrentPasswordRequestStatus === RequestStatus.Succeeded\n ) {\n this.setState(\n produce((draft) => {\n draft.errors['currentPassword'] = validate(\n 'currentPassword',\n isCurrentPasswordValid,\n draft.values,\n );\n }),\n );\n }\n }\n\n render() {\n const {\n values,\n errors,\n currentPasswordVisible,\n newPasswordVisible,\n confirmNewPasswordVisible,\n dirty,\n } = this.state;\n const { show, onClose, isLoading } = this.props;\n return (\n \n
    \n \n \n\n \n\n \n
    \n \n );\n }\n}\n\nexport default ChangePasswordModal;\n","import { RootState } from '../../../../../../store/root-reducer';\nimport { connect, ConnectedProps } from 'react-redux';\nimport { verifyCurrentPasswordRequest } from '../../extra-actions';\nimport ChangePasswordModal from './change-password-modal';\nimport { UpdatePasswordRequestPayload } from './types';\n\nconst mapStateToProps = (state: RootState) => ({\n verifyCurrentPasswordRequestStatus:\n state.myProfile.verifyCurrentPasswordRequest.status,\n isCurrentPasswordValid: state.myProfile.isCurrentPasswordValid,\n});\n\nconst mapDispatchToProps = {\n sendVerifyCurrentPasswordRequest: (password: string) =>\n verifyCurrentPasswordRequest({ password }),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n show: boolean;\n onSubmit: (payload: UpdatePasswordRequestPayload) => void;\n onClose: () => void;\n isLoading: boolean;\n};\n\nexport default connector(ChangePasswordModal);\n","import validator from 'validator';\n\nexport const validate = (\n name: string,\n value: string,\n hasPermissionToUpdateProfile: boolean,\n) => {\n if (hasPermissionToUpdateProfile) {\n if (name === 'firstName') {\n if (!validator.isLength(value.trim(), { min: 1 })) {\n return 'Enter at least one character';\n }\n if (!validator.isLength(value, { max: 50 })) {\n return 'First name should be at most 50 characters long';\n }\n }\n if (name === 'lastName') {\n if (!validator.isLength(value.trim(), { min: 1 })) {\n return 'Enter at least one character';\n }\n if (!validator.isLength(value, { max: 50 })) {\n return 'Last name should be at most 50 characters long';\n }\n }\n }\n\n return '';\n};\n","export enum DeleteAccountModalFlow {\n DeleteAccount = 'DeleteAccount',\n ResetPassword = 'ResetPassword',\n}\n","import React, { useState, useEffect } from 'react';\nimport { Button } from '@saleshandy/design-system';\n\nimport type { ValidateCurrentPasswordProps } from '../types';\nimport { ChangeEmailModalFlow } from '../enums';\n\nimport Input from '../../../../../../../shared/design-system/components/input';\n\nimport Title from './sub-components/title';\nimport Description from './sub-components/description';\nimport Action from './sub-components/action';\nimport Footer from './sub-components/footer';\nimport Divider from './sub-components/divider';\nimport {\n executeOnRequestStatus,\n getIsRequestPending,\n} from '../../../../../../../shared/utils';\n\nconst ValidateCurrentPassword: React.FC = ({\n email,\n onCancel,\n onSubmit,\n isCurrentPasswordValid: isValid,\n onModalStateChange,\n verifyCurrentPasswordRequestStatus,\n resetIsCurrentPasswordValid,\n}) => {\n const [password, setPassword] = useState('');\n const [showPassword, setShowPassword] = useState(false);\n const [isCurrentPasswordValid, setIsCurrentPasswordValid] = useState(\n isValid,\n );\n\n const onShowPasswordToggle = () => {\n setShowPassword(!showPassword);\n };\n\n const onPasswordChange = (value: string) => {\n setPassword(value);\n\n if (value === '') {\n setIsCurrentPasswordValid(true);\n }\n };\n\n const onKeyPress = (event) => {\n if (event.key === 'Enter') {\n onSubmit(password);\n }\n };\n\n const handleOnModalStateChange = () => {\n resetIsCurrentPasswordValid();\n onModalStateChange(ChangeEmailModalFlow.ResetPassword);\n };\n\n const handleOnSubmit = () => {\n onSubmit(password);\n };\n\n useEffect(() => {\n executeOnRequestStatus({\n status: verifyCurrentPasswordRequestStatus,\n onSuccess: () => {\n setIsCurrentPasswordValid(isValid);\n },\n });\n }, [verifyCurrentPasswordRequestStatus]);\n\n useEffect(\n () => () => {\n setPassword('');\n setIsCurrentPasswordValid(true);\n resetIsCurrentPasswordValid();\n },\n [],\n );\n\n const isVerifyCurrentPasswordRequestPending = getIsRequestPending(\n verifyCurrentPasswordRequestStatus,\n );\n\n return (\n <>\n \n <p>\n Your current email is <span className=\"bold\">{email}</span>\n </p>\n \n\n \n\n \n
    \n \n\n {!isCurrentPasswordValid && (\n
    \n The password you entered is incorrect.\n\n \n Forgot Password?\n \n
    \n )}\n
    \n
    \n\n \n\n
    \n \n Cancel\n \n \n Continue\n \n
    \n \n );\n};\n\nexport default ValidateCurrentPassword;\n","import React, { useState, useEffect } from 'react';\nimport { Button } from '@saleshandy/design-system';\nimport validator from 'validator';\n\nimport type { ResetPasswordProps } from '../types';\n\nimport Input from '../../../../../../../shared/design-system/components/input';\n\nimport Title from './sub-components/title';\nimport Description from './sub-components/description';\nimport Action from './sub-components/action';\nimport Footer from './sub-components/footer';\nimport Divider from './sub-components/divider';\nimport { getIsRequestPending } from '../../../../../../../shared/utils';\n\nconst ResetPassword: React.FC = ({\n onCancel,\n onSubmit,\n resetPasswordRequestStatus,\n}) => {\n const [email, setEmail] = useState('');\n const [emailError, setEmailError] = useState('');\n\n const onEmailChange = (value: string) => {\n if (!validator.isEmail(value)) {\n setEmailError('Please enter a valid email address.');\n } else {\n setEmailError('');\n }\n\n setEmail(value);\n };\n\n const handleOnSubmit = () => {\n onSubmit(email);\n };\n\n useEffect(\n () => () => {\n setEmail('');\n setEmailError('');\n },\n [],\n );\n\n const isResetPasswordRequestLoading = getIsRequestPending(\n resetPasswordRequestStatus,\n );\n\n return (\n <>\n \n <h1>Reset your Password</h1>\n \n\n \n\n \n \n \n\n \n\n
    \n \n Cancel\n \n \n Reset Password\n \n
    \n \n );\n};\n\nexport default ResetPassword;\n","import React, { useState, useEffect } from 'react';\nimport { Button } from '@saleshandy/design-system';\nimport validator from 'validator';\n\nimport type { NewEmailProps } from '../types';\n\nimport Input from '../../../../../../../shared/design-system/components/input';\n\nimport Title from './sub-components/title';\nimport Description from './sub-components/description';\nimport Action from './sub-components/action';\nimport Footer from './sub-components/footer';\nimport Divider from './sub-components/divider';\nimport { getIsRequestPending } from '../../../../../../../shared/utils';\n\nconst NewEmail: React.FC = ({\n email: currentEmail,\n newEmail,\n onCancel,\n onSubmit,\n sendOtpForChangeEmailRequestStatus,\n error,\n resetSendOtpForChangeEmailRequest,\n}) => {\n const [email, setEmail] = useState('');\n const [emailError, setEmailError] = useState('');\n\n const onEmailChange = (value: string) => {\n if (currentEmail === value) {\n setEmailError('The email address you entered already exists.');\n } else {\n setEmailError('');\n }\n setEmail(value);\n\n if (error) {\n resetSendOtpForChangeEmailRequest();\n }\n };\n\n const validateEmail = () => {\n if (!validator.isEmail(email)) {\n setEmailError('Please enter a valid email address.');\n return false;\n }\n if (currentEmail === email) {\n setEmailError('The email address you entered already exists.');\n return false;\n }\n return true;\n };\n\n const onKeyPress = (event) => {\n if (event.key === 'Enter' && validateEmail()) {\n onSubmit(email);\n }\n };\n\n const handleOnSubmit = () => {\n if (validateEmail()) {\n onSubmit(email);\n }\n };\n\n useEffect(() => {\n if (newEmail !== '') setEmail(newEmail);\n }, [newEmail]);\n\n useEffect(() => {\n if (error && error.code === 1001) setEmailError(error.message);\n }, [error]);\n\n useEffect(\n () => () => {\n setEmail('');\n setEmailError('');\n },\n [],\n );\n\n const isSendOtpForChangeEmailRequestPending = getIsRequestPending(\n sendOtpForChangeEmailRequestStatus,\n );\n\n return (\n <>\n \n <p>\n Your current email is <span className=\"bold\">{currentEmail}</span>\n </p>\n \n\n \n\n \n \n \n\n \n\n
    \n \n Cancel\n \n \n Next\n \n
    \n \n );\n};\n\nexport default NewEmail;\n","import React, { useState, useEffect } from 'react';\nimport { Button } from '@saleshandy/design-system';\nimport { OverlayTooltip } from '../../../../../../../../shared/design-system/components/overlay';\n\ntype IProps = {\n isButtonDisabled: boolean;\n isButtonLoading: boolean;\n handleResendOtp: VoidFunction;\n showError: boolean;\n};\n\nconst ResendOTPButton: React.FC = ({\n isButtonDisabled,\n isButtonLoading,\n handleResendOtp,\n showError,\n}) => {\n const [counter, setCounter] = useState(60);\n const [isDisabled, setIsDisabled] = useState(true);\n\n useEffect(() => {\n let timer = null;\n\n if (counter > 0) {\n // Start the countdown when the component mounts\n timer = setInterval(() => {\n setCounter((prevCounter) => prevCounter - 1);\n }, 1000);\n } else {\n // Disable the button and clear the timer when the countdown reaches 0\n setIsDisabled(false);\n if (timer) {\n clearInterval(timer);\n }\n }\n\n return () => {\n // Clear the timer when the component unmounts\n if (timer) {\n clearInterval(timer);\n }\n };\n }, [counter]);\n\n const handleResendClick = () => {\n // Reset the counter and enable the button\n setCounter(60);\n setIsDisabled(true);\n handleResendOtp();\n };\n\n const btn = (\n \n Resend {counter > 0 && !showError ? `(${counter})` : ''}\n \n );\n\n return showError ? (\n \n {btn}\n \n ) : (\n btn\n );\n};\n\nexport default ResendOTPButton;\n","import React, { useState, useEffect, useRef } from 'react';\nimport { Button } from '@saleshandy/design-system';\n\nimport type { VerifyOTPProps } from '../types';\nimport { ChangeEmailModalFlow } from '../enums';\n\nimport Title from './sub-components/title';\nimport Description from './sub-components/description';\nimport Action from './sub-components/action';\nimport Footer from './sub-components/footer';\nimport Divider from './sub-components/divider';\nimport { getIsRequestPending } from '../../../../../../../shared/utils';\nimport ResendOTPButton from './sub-components/resend-otp-button';\n\nconst VerifyOTP: React.FC = ({\n email,\n newEmail,\n onCancel,\n onSubmit,\n onModalStateChange,\n handleResendOtp,\n resendOtpForChangeEmailRequestStatus,\n verifyOtpForChangeEmailRequestStatus,\n canResendChangeEmailVerificationCode,\n error,\n resetVerifyOtpForChangeEmailRequest,\n}) => {\n const [otp, setOTP] = useState(['', '', '', '']);\n const inputRefs = useRef<(HTMLInputElement | null)[]>([\n null,\n null,\n null,\n null,\n ]);\n\n const setRef = (input: HTMLInputElement | null, index: number) => {\n inputRefs.current[index] = input;\n };\n\n const handleInputChange = (value: string, index: number) => {\n const newOTP = [...otp];\n\n if (\n value === '' || // Empty Value\n /^[0-9]*$/.test(value) // Only allow numeric characters (0-9)\n ) {\n newOTP[index] = value;\n setOTP(newOTP);\n\n // Auto-focus the next input when a value is entered\n if (value && index < 3 && inputRefs.current[index + 1]) {\n inputRefs.current[index + 1].focus();\n } else if (!value && index > 0 && inputRefs.current[index - 1]) {\n // Auto-focus the previous input when a value is removed\n inputRefs.current[index - 1].focus();\n }\n }\n\n if (error) {\n resetVerifyOtpForChangeEmailRequest();\n }\n };\n\n const handleOnModalStateChange = () => {\n onModalStateChange(ChangeEmailModalFlow.NewEmail);\n };\n\n const handleOnSubmit = () => {\n onSubmit(Number(otp.join('')));\n };\n\n useEffect(() => {\n // Auto-focus the first input on mount\n if (inputRefs.current[0]) {\n inputRefs.current[0].focus();\n }\n\n const handleKeyDown = (event: KeyboardEvent) => {\n const currentIndex = inputRefs.current.findIndex(\n (input) => input === document.activeElement,\n );\n\n if (event.key === 'ArrowLeft' && currentIndex > 0) {\n inputRefs.current[currentIndex - 1]?.focus();\n } else if (event.key === 'ArrowRight' && currentIndex < 3) {\n inputRefs.current[currentIndex + 1]?.focus();\n }\n };\n\n window.addEventListener('keydown', handleKeyDown);\n\n return () => {\n window.removeEventListener('keydown', handleKeyDown);\n setOTP(['', '', '', '']);\n };\n }, []);\n\n const isResendOtpForChangeEmailRequestPending = getIsRequestPending(\n resendOtpForChangeEmailRequestStatus,\n );\n\n const isVerifyOtpForChangeEmailRequestPending = getIsRequestPending(\n verifyOtpForChangeEmailRequestStatus,\n );\n\n const isDisabled =\n isResendOtpForChangeEmailRequestPending ||\n isVerifyOtpForChangeEmailRequestPending;\n\n const errorMessage =\n error && error?.code === 1001 && otp.join('').length === 4\n ? error.message\n : '';\n\n return (\n <>\n \n <p>\n Your current email is <span className=\"bold\">{email}</span>\n </p>\n \n\n \n \n To continue, please enter the 4-digit verification code sent to\n {' '}\n {newEmail}{' '}\n \n Change\n \n \n }\n />\n\n \n Didn’t receive a code?{' '}\n \n \n }\n />\n\n \n
    \n

    \n Please enter the code you received below\n

    \n
    \n {otp.map((value, index) => (\n setRef(input, index)}\n onChange={(e) => handleInputChange(e.target.value, index)}\n />\n ))}\n
    \n {errorMessage &&

    {errorMessage}

    }\n
    \n
    \n\n \n\n
    \n \n Cancel\n \n \n Change email\n \n
    \n \n );\n};\n\nexport default VerifyOTP;\n","import React, { useEffect } from 'react';\nimport { Button } from '@saleshandy/design-system';\n\nimport type { EmailChangedSuccessfullyProps } from '../types';\n\nimport Title from './sub-components/title';\nimport Description from './sub-components/description';\nimport Footer from './sub-components/footer';\nimport Divider from './sub-components/divider';\nimport { AuthHelper } from '../../../../../../../shared/utils';\n\nconst EmailChangedSuccessfully: React.FC = ({\n newEmail,\n}) => {\n const handleOnSubmit = () => {\n AuthHelper.logout();\n };\n\n useEffect(() => {\n window.addEventListener('unload', handleOnSubmit);\n\n return () => {\n window.removeEventListener('unload', handleOnSubmit);\n };\n }, []);\n\n return (\n <>\n \n <h1>Email Changed Successfully</h1>\n \n\n \n Your login email address has been updated to{' '}\n {newEmail}.{' '}\n Please note that your password remains unchanged.\n \n }\n />\n\n \n\n \n\n
    \n \n
    \n \n );\n};\n\nexport default EmailChangedSuccessfully;\n","import React, { useEffect, useState } from 'react';\n\nimport type { IProps } from './change-email-modal-container';\nimport { ChangeEmailModalFlow } from './enums';\n\nimport Modal from '../../../../../../shared/design-system/components/atoms/modal';\n\nimport ValidateCurrentPassword from './change-email-modal-flow/validate-current-password';\nimport ResetPassword from './change-email-modal-flow/reset-password';\nimport NewEmail from './change-email-modal-flow/new-email';\nimport VerifyOTP from './change-email-modal-flow/verify-otp';\nimport EmailChangedSuccessfully from './change-email-modal-flow/email-changed-successfully';\nimport {\n executeOnErrorWithErrorCheck,\n executeOnRequestStatus,\n} from '../../../../../../shared/utils';\nimport toaster, { Theme } from '../../../../../../shared/toaster';\n\nconst ChangeEmailModal: React.FC = ({\n show,\n onClose,\n email,\n isCurrentPasswordValid,\n canResendChangeEmailVerificationCode,\n\n verifyCurrentPasswordRequestStatus,\n resetPasswordRequestStatus,\n sendOtpForChangeEmailRequestStatus,\n sendOtpForChangeEmailRequestError,\n resendOtpForChangeEmailRequestStatus,\n verifyOtpForChangeEmailRequestStatus,\n verifyOtpForChangeEmailRequestError,\n resetIsCurrentPasswordValid,\n resetVerifyOtpForChangeEmailRequest,\n resetSendOtpForChangeEmailRequest,\n ...props\n}) => {\n const [modalState, setModalState] = useState(ChangeEmailModalFlow.ValidateCurrentPassword);\n const [newEmail, setNewEmail] = useState('');\n\n const onModalStateChange = (state: ChangeEmailModalFlow) => {\n setModalState(state);\n };\n\n const handleCurrentPasswordSubmit = (password: string) => {\n const { verifyCurrentPasswordRequest } = props;\n verifyCurrentPasswordRequest(password);\n };\n\n const handleResetPasswordSubmit = (value: string) => {\n const { sendResetPasswordRequest } = props;\n sendResetPasswordRequest(value);\n };\n\n const handleNewEmailSubmit = (value: string) => {\n const { sendOtpForChangeEmailRequest } = props;\n sendOtpForChangeEmailRequest(value);\n\n setNewEmail(value);\n };\n\n const handleResendOtp = () => {\n const { resendOtpForChangeEmailRequest } = props;\n resendOtpForChangeEmailRequest();\n };\n\n const handleVerifyOtpSubmit = (code: number) => {\n const { verifyOtpForChangeEmailRequest } = props;\n verifyOtpForChangeEmailRequest(code);\n };\n\n const handleOnCancel = () => {\n onClose();\n setNewEmail('');\n setModalState(ChangeEmailModalFlow.ValidateCurrentPassword);\n };\n\n useEffect(() => {\n const {\n verifyCurrentPasswordRequestError,\n resetVerifyCurrentPasswordRequest,\n } = props;\n\n executeOnRequestStatus({\n status: verifyCurrentPasswordRequestStatus,\n onSuccess: () => {\n if (isCurrentPasswordValid) {\n setModalState(ChangeEmailModalFlow.NewEmail);\n resetVerifyCurrentPasswordRequest();\n }\n },\n onFailed: () => {\n executeOnErrorWithErrorCheck({\n error: verifyCurrentPasswordRequestError,\n onError: () => {\n toaster.error(verifyCurrentPasswordRequestError.message, {\n theme: Theme.New,\n });\n },\n });\n resetVerifyCurrentPasswordRequest();\n },\n });\n }, [verifyCurrentPasswordRequestStatus]);\n\n useEffect(() => {\n const { resetPasswordRequestError, resetPasswordRequestState } = props;\n\n executeOnRequestStatus({\n status: resetPasswordRequestStatus,\n onSuccess: () => {\n toaster.success('Email sent successfully.', {\n theme: Theme.New,\n });\n handleOnCancel();\n resetPasswordRequestState();\n },\n onFailed: () => {\n executeOnErrorWithErrorCheck({\n error: resetPasswordRequestError,\n onError: () => {\n toaster.error(resetPasswordRequestError.message, {\n theme: Theme.New,\n });\n },\n });\n resetPasswordRequestState();\n },\n });\n }, [resetPasswordRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: sendOtpForChangeEmailRequestStatus,\n onSuccess: () => {\n toaster.success('OTP has been sent successfully', {\n theme: Theme.New,\n });\n setModalState(ChangeEmailModalFlow.VerifyOTP);\n resetSendOtpForChangeEmailRequest();\n },\n onFailed: () => {\n executeOnErrorWithErrorCheck({\n error: sendOtpForChangeEmailRequestError,\n onError: () => {\n if (sendOtpForChangeEmailRequestError.code !== 1001) {\n toaster.error(sendOtpForChangeEmailRequestError.message, {\n theme: Theme.New,\n });\n resetSendOtpForChangeEmailRequest();\n }\n },\n });\n },\n });\n }, [sendOtpForChangeEmailRequestStatus]);\n\n useEffect(() => {\n const {\n resendOtpForChangeEmailRequestError,\n resetResendOtpForChangeEmailRequest,\n } = props;\n\n executeOnRequestStatus({\n status: resendOtpForChangeEmailRequestStatus,\n onSuccess: () => {\n toaster.success('OTP has been resent successfully', {\n theme: Theme.New,\n });\n resetResendOtpForChangeEmailRequest();\n },\n onFailed: () => {\n executeOnErrorWithErrorCheck({\n error: resendOtpForChangeEmailRequestError,\n onError: () => {\n toaster.error(resendOtpForChangeEmailRequestError.message, {\n theme: Theme.New,\n });\n },\n });\n resetResendOtpForChangeEmailRequest();\n },\n });\n }, [resendOtpForChangeEmailRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: verifyOtpForChangeEmailRequestStatus,\n onSuccess: () => {\n setModalState(ChangeEmailModalFlow.EmailChangedSuccessfully);\n resetVerifyOtpForChangeEmailRequest();\n },\n onFailed: () => {\n executeOnErrorWithErrorCheck({\n error: verifyOtpForChangeEmailRequestError,\n onError: () => {\n if (verifyOtpForChangeEmailRequestError.code !== 1001) {\n toaster.error(verifyOtpForChangeEmailRequestError.message, {\n theme: Theme.New,\n });\n resetVerifyOtpForChangeEmailRequest();\n }\n },\n });\n },\n });\n }, [verifyOtpForChangeEmailRequestStatus]);\n\n return (\n \n {modalState === ChangeEmailModalFlow.ValidateCurrentPassword && (\n \n )}\n\n {modalState === ChangeEmailModalFlow.ResetPassword && (\n \n )}\n\n {modalState === ChangeEmailModalFlow.NewEmail && (\n \n )}\n\n {modalState === ChangeEmailModalFlow.VerifyOTP && (\n \n )}\n\n {modalState === ChangeEmailModalFlow.EmailChangedSuccessfully && (\n \n )}\n \n );\n};\n\nexport default ChangeEmailModal;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../../../store/root-reducer';\n\nimport {\n resendOtpForChangeEmailRequest,\n sendOtpForChangeEmailRequest,\n verifyCurrentPasswordRequest,\n verifyOtpForChangeEmailRequest,\n} from '../../extra-actions';\nimport {\n resetVerifyCurrentPasswordRequest,\n resetSendOtpForChangeEmailRequest,\n resetResendOtpForChangeEmailRequest,\n resetVerifyOtpForChangeEmailRequest,\n resetIsCurrentPasswordValid,\n} from '../../my-profile-slice';\nimport { resetPasswordRequest } from '../../../../../auth/components/reset-password/extra-actions';\nimport { resetPasswordRequestState } from '../../../../../auth/components/reset-password/reset-password-slice';\n\nimport ChangeEmailModal from './change-email-modal';\n\nconst mapStateToProps = (state: RootState) => ({\n email: state.myProfile.myProfile.email,\n isCurrentPasswordValid: state.myProfile.isCurrentPasswordValid,\n canResendChangeEmailVerificationCode:\n state.myProfile.canResendChangeEmailVerificationCode,\n\n verifyCurrentPasswordRequestStatus:\n state.myProfile.verifyCurrentPasswordRequest.status,\n verifyCurrentPasswordRequestMessage:\n state.myProfile.verifyCurrentPasswordRequest.message,\n verifyCurrentPasswordRequestError:\n state.myProfile.verifyCurrentPasswordRequest.error,\n\n sendOtpForChangeEmailRequestStatus:\n state.myProfile.sendOtpForChangeEmailRequest.status,\n sendOtpForChangeEmailRequestMessage:\n state.myProfile.sendOtpForChangeEmailRequest.message,\n sendOtpForChangeEmailRequestError:\n state.myProfile.sendOtpForChangeEmailRequest.error,\n\n resendOtpForChangeEmailRequestStatus:\n state.myProfile.resendOtpForChangeEmailRequest.status,\n resendOtpForChangeEmailRequestMessage:\n state.myProfile.resendOtpForChangeEmailRequest.message,\n resendOtpForChangeEmailRequestError:\n state.myProfile.resendOtpForChangeEmailRequest.error,\n\n verifyOtpForChangeEmailRequestStatus:\n state.myProfile.verifyOtpForChangeEmailRequest.status,\n verifyOtpForChangeEmailRequestMessage:\n state.myProfile.verifyOtpForChangeEmailRequest.message,\n verifyOtpForChangeEmailRequestError:\n state.myProfile.verifyOtpForChangeEmailRequest.error,\n\n resetPasswordRequestStatus: state.resetPassword.status,\n resetPasswordRequestMessage: state.resetPassword.message,\n resetPasswordRequestError: state.resetPassword.error,\n});\n\nconst mapDispatchToProps = {\n verifyCurrentPasswordRequest: (password: string) =>\n verifyCurrentPasswordRequest({ password }),\n resetVerifyCurrentPasswordRequest: () => resetVerifyCurrentPasswordRequest(),\n resetIsCurrentPasswordValid: () => resetIsCurrentPasswordValid(),\n\n sendOtpForChangeEmailRequest: (newEmail: string) =>\n sendOtpForChangeEmailRequest(newEmail),\n resetSendOtpForChangeEmailRequest: () => resetSendOtpForChangeEmailRequest(),\n\n resendOtpForChangeEmailRequest: () => resendOtpForChangeEmailRequest(),\n resetResendOtpForChangeEmailRequest: () =>\n resetResendOtpForChangeEmailRequest(),\n\n verifyOtpForChangeEmailRequest: (code: number) =>\n verifyOtpForChangeEmailRequest(code),\n resetVerifyOtpForChangeEmailRequest: () =>\n resetVerifyOtpForChangeEmailRequest(),\n\n sendResetPasswordRequest: (email: string) => resetPasswordRequest({ email }),\n resetPasswordRequestState: () => resetPasswordRequestState(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n show: boolean;\n onClose: () => void;\n};\n\nexport default connector(ChangeEmailModal);\n","import React, { useState, useEffect } from 'react';\nimport { Button } from '@saleshandy/design-system';\nimport { InfoCircle, Trash } from '@saleshandy/icons';\n\nimport { DeleteAccountModalFlow } from '../enums';\nimport {\n executeOnErrorWithErrorCheck,\n executeOnRequestStatus,\n getIsRequestPending,\n} from '../../../../../../../shared/utils';\nimport { RequestStatus } from '../../../../../../../shared/enums/request-status';\nimport { ResponseErrorWithHandled } from '../../../../../../../shared/types';\n\nimport Input from '../../../../../../../shared/design-system/components/input';\nimport Title from '../../change-email-modal/change-email-modal-flow/sub-components/title';\nimport Description from '../../change-email-modal/change-email-modal-flow/sub-components/description';\nimport Action from '../../change-email-modal/change-email-modal-flow/sub-components/action';\nimport Divider from '../../change-email-modal/change-email-modal-flow/sub-components/divider';\nimport Footer from '../../change-email-modal/change-email-modal-flow/sub-components/footer';\n\ntype IProps = {\n email: string;\n deleteMyProfileRequestStatus: RequestStatus;\n onCancel: VoidFunction;\n sendDeleteMyProfileRequest: (password: string) => void;\n onModalStateChange: (state: DeleteAccountModalFlow) => void;\n deleteMyProfileRequestError: ResponseErrorWithHandled;\n resetDeleteMyProfileRequest: VoidFunction;\n};\n\nconst DeleteAccount: React.FC = ({\n email,\n onCancel,\n onModalStateChange,\n sendDeleteMyProfileRequest,\n deleteMyProfileRequestStatus,\n deleteMyProfileRequestError,\n resetDeleteMyProfileRequest,\n}) => {\n const [password, setPassword] = useState('');\n const [showPassword, setShowPassword] = useState(false);\n const [isCurrentPasswordValid, setIsCurrentPasswordValid] = useState(\n true,\n );\n\n const onShowPasswordToggle = () => {\n setShowPassword(!showPassword);\n };\n\n const onPasswordChange = (value: string) => {\n setPassword(value);\n\n if (!isCurrentPasswordValid) {\n setIsCurrentPasswordValid(true);\n }\n };\n\n const onKeyPress = (event) => {\n if (event.key === 'Enter') {\n sendDeleteMyProfileRequest(password);\n }\n };\n\n const handleOnSubmit = () => {\n sendDeleteMyProfileRequest(password);\n };\n\n const handleOnModalStateChange = () => {\n onModalStateChange(DeleteAccountModalFlow.ResetPassword);\n };\n\n useEffect(\n () => () => {\n setPassword('');\n setIsCurrentPasswordValid(true);\n },\n [],\n );\n\n useEffect(() => {\n executeOnRequestStatus({\n status: deleteMyProfileRequestStatus,\n onFailed: () => {\n executeOnErrorWithErrorCheck({\n error: deleteMyProfileRequestError,\n onError: () => {\n if (deleteMyProfileRequestError.code === 1001) {\n setIsCurrentPasswordValid(false);\n resetDeleteMyProfileRequest();\n }\n },\n });\n },\n });\n }, [deleteMyProfileRequestStatus]);\n\n const isDeleteMyProfileRequestPending = getIsRequestPending(\n deleteMyProfileRequestStatus,\n );\n\n return (\n <>\n \n <div className=\"delete-account-title\">\n <div className=\"delete-account-title-icon\">\n <Trash />\n </div>\n <h1>Delete Account</h1>\n </div>\n \n\n \n Delete account {email}?\n \n }\n />\n\n
    \n
    \n
    \n \n
    \n

    \n This action cannot be undone. All your Saleshandy data will be\n permanently erased.\n

    \n
    \n
    \n\n \n
    \n \n\n {!isCurrentPasswordValid && (\n
    \n The password you entered is incorrect.\n\n \n Forgot Password?\n \n
    \n )}\n
    \n
    \n\n \n\n
    \n \n Cancel\n \n \n Delete Account\n \n
    \n \n );\n};\n\nexport default DeleteAccount;\n","export enum AuthenticationMethod {\n EmailAndPassword = '1',\n Google = '2',\n Microsoft = '3',\n}\n","import React, { useEffect, useState } from 'react';\n\nimport type { IProps } from './delete-account-modal-container';\nimport { DeleteAccountModalFlow } from './enums';\n\nimport Modal from '../../../../../../shared/design-system/components/atoms/modal';\nimport toaster, { Theme } from '../../../../../../shared/toaster';\n\nimport {\n executeOnRequestStatus,\n executeOnErrorWithErrorCheck,\n AuthHelper,\n} from '../../../../../../shared/utils';\nimport DeleteAccount from './delete-email-modal-flow/delete-account';\nimport ResetPassword from '../change-email-modal/change-email-modal-flow/reset-password';\n\nconst DeleteAccountModal: React.FC = ({\n show,\n onClose,\n email,\n\n sendDeleteMyProfileRequest,\n resetDeleteMyProfileRequest,\n deleteMyProfileRequestStatus,\n deleteMyProfileRequestError,\n deleteMyProfileRequestMessage,\n\n sendResetPasswordRequest,\n resetPasswordRequestStatus,\n}) => {\n const [modalState, setModalState] = useState(\n DeleteAccountModalFlow.DeleteAccount,\n );\n\n const onModalStateChange = (state: DeleteAccountModalFlow) => {\n setModalState(state);\n };\n\n const handleOnCancel = () => {\n onClose();\n setModalState(DeleteAccountModalFlow.DeleteAccount);\n };\n\n const handleResetPasswordSubmit = (value: string) => {\n sendResetPasswordRequest(value);\n };\n\n useEffect(() => {\n executeOnRequestStatus({\n status: deleteMyProfileRequestStatus,\n onSuccess: () => {\n toaster.success(deleteMyProfileRequestMessage, { theme: Theme.New });\n AuthHelper.logout({ redirect: true, pathName: '/signup' });\n resetDeleteMyProfileRequest();\n },\n onFailed: () => {\n executeOnErrorWithErrorCheck({\n error: deleteMyProfileRequestError,\n onError: () => {\n if (deleteMyProfileRequestError.code !== 1001) {\n toaster.error(deleteMyProfileRequestError.message, {\n theme: Theme.New,\n });\n resetDeleteMyProfileRequest();\n }\n },\n });\n },\n });\n }, [deleteMyProfileRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: resetPasswordRequestStatus,\n onSuccess: () => {\n handleOnCancel();\n },\n });\n }, [resetPasswordRequestStatus]);\n\n return (\n \n {modalState === DeleteAccountModalFlow.DeleteAccount && (\n \n )}\n\n {modalState === DeleteAccountModalFlow.ResetPassword && (\n \n )}\n \n );\n};\n\nexport default DeleteAccountModal;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../../../store/root-reducer';\n\nimport DeleteAccountModal from './delete-account-modal';\n\nimport { deleteMyProfileRequest } from '../../extra-actions';\nimport { resetDeleteMyProfileRequest } from '../../my-profile-slice';\n\nimport { resetPasswordRequest } from '../../../../../auth/components/reset-password/extra-actions';\n\nconst mapStateToProps = (state: RootState) => ({\n email: state.myProfile.myProfile.email,\n\n deleteMyProfileRequestStatus: state.myProfile.deleteMyProfileRequest.status,\n deleteMyProfileRequestMessage: state.myProfile.deleteMyProfileRequest.message,\n deleteMyProfileRequestError: state.myProfile.deleteMyProfileRequest.error,\n\n resetPasswordRequestStatus: state.resetPassword.status,\n});\n\nconst mapDispatchToProps = {\n sendDeleteMyProfileRequest: (password: string) =>\n deleteMyProfileRequest(password),\n resetDeleteMyProfileRequest: () => resetDeleteMyProfileRequest(),\n\n sendResetPasswordRequest: (email: string) => resetPasswordRequest({ email }),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n show: boolean;\n onClose: () => void;\n};\n\nexport default connector(DeleteAccountModal);\n","export enum SSOStatus {\n INACTIVE = '0',\n ACTIVE = '1',\n ACTIVE_ENABLED = '2',\n}","import React from 'react';\nimport { produce } from 'immer';\nimport { Button } from '@saleshandy/design-system';\nimport { InfoCircle } from '@saleshandy/icons';\nimport Input from '../../../../../../shared/design-system/components/input';\nimport Select from '../../../../../../shared/design-system/components/select';\nimport ChangePasswordModal from '../change-password-modal';\nimport { RequestStatus } from '../../../../../../shared/enums/request-status';\nimport { IState, IProps, TimezoneOption } from './types';\nimport toaster, { Theme } from '../../../../../../shared/toaster';\nimport { UpdatePasswordRequestPayload } from '../change-password-modal/types';\nimport { validate } from './validator';\nimport { UpdateUserProfilePayload } from '../../../../types/request-payload';\nimport {\n getCurrentTimeZone,\n getTimezoneList,\n} from '../../../../../../shared/utils/date-time';\nimport TimezoneOptionRenderer from '../../../../../../shared/design-system/components/atoms/timezone-option-renderer';\nimport HeaderBanner from '../../../header-banner';\nimport { SubscriptionPlans } from '../../../../../../shared/utils/subscription-plans';\nimport hasPermission from '../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../shared/utils/access-control/enums/permissions';\nimport ChangeEmailModal from '../change-email-modal';\nimport DeleteAccountModal from '../delete-account-modal';\nimport {\n OverlayTooltip,\n Placement,\n} from '../../../../../../shared/design-system/components/overlay';\nimport { GlobalSettings } from '../../../../../../shared/components/global-settings-wrapper';\nimport { AuthenticationMethod } from '../../../../enums/authentication-method';\nimport { UserSettingCode } from '../../../../../../shared/types/user-setting';\nimport OAuthButtons, {\n OAuthMethod,\n} from '../../../../../auth/components/oauth-buttons';\nimport { showToasterWithErrorCheck } from '../../../../../email-accounts/components/email-accounts-content/utils/helpers';\nimport { ActionForAuthentication } from '../../../../../auth/types';\nimport { isRequestPending } from '../../../billing-subscription/utils/helper';\nimport {\n AuthHelper,\n executeOnRequestStatusWithPrevStatusCheck,\n redirectWithRefresh,\n} from '../../../../../../shared/utils';\nimport { SSOStatus } from '../../../../../../shared/enums/sso-status';\nimport ConfirmationModalV3 from '../../../../../../shared/design-system/components/atoms/confirmation-modal/confirmation-modal-v3';\nimport { openChatSupport } from '../../../../../../shared/utils/open-chat-support';\nimport {\n LOCAL_STORAGE_KEYS,\n removeFromLocalStorage,\n saveToLocalStorage,\n} from '../../../../../email-accounts/helpers/email-accounts-infra-local-storage';\n\nclass MyProfileContent extends React.Component {\n constructor(props: IProps) {\n super(props);\n const { myProfile } = props;\n\n this.state = {\n values: {\n firstName: myProfile.firstName,\n lastName: myProfile.lastName,\n },\n errors: {\n firstName: '',\n lastName: '',\n },\n dirty: {\n firstName: false,\n lastName: false,\n },\n timeZoneKey: this.getTimeZoneOptions().find(\n (item) =>\n item?.name?.toLowerCase() === myProfile?.timeZone?.toLowerCase(),\n )?.name,\n changeEmailModal: false,\n showChangePasswordModal: false,\n deleteAccountModal: false,\n showOAuthChangeEmailWarningModal: false,\n showOAuthChangeEmailModal: false,\n showVerifySSOEmailModal: false,\n showOAuthDeleteModal: false,\n newSSOEmail: '',\n newSSOEmailError: '',\n showSSOEmailChangeModal: false,\n newSSOEmailVerificationInProgress: false,\n showSSOEmailChangeSuccessModal: false,\n };\n\n this.onInputBlur = this.onInputBlur.bind(this);\n this.onInputChange = this.onInputChange.bind(this);\n this.getTimeZoneOptions = this.getTimeZoneOptions.bind(this);\n this.onSelectChange = this.onSelectChange.bind(this);\n this.onFormSubmit = this.onFormSubmit.bind(this);\n this.showChangePasswordModal = this.showChangePasswordModal.bind(this);\n this.hideChangePasswordModal = this.hideChangePasswordModal.bind(this);\n this.changePasswordHandler = this.changePasswordHandler.bind(this);\n this.handleOnChangeEmail = this.handleOnChangeEmail.bind(this);\n this.hideChangeEmailModal = this.hideChangeEmailModal.bind(this);\n this.showDeleteAccountModal = this.showDeleteAccountModal.bind(this);\n this.hideDeleteAccountModal = this.hideDeleteAccountModal.bind(this);\n this.showVerifySSOEmailModal = this.showVerifySSOEmailModal.bind(this);\n this.hideVerifyEmailModal = this.hideVerifyEmailModal.bind(this);\n this.handleVerifyEmail = this.handleVerifyEmail.bind(this);\n this.showSSOEmailChangeModal = this.showSSOEmailChangeModal.bind(this);\n this.hideSSOChangeEmailModal = this.hideSSOChangeEmailModal.bind(this);\n this.handleSSOEmailChangeSubmit = this.handleSSOEmailChangeSubmit.bind(\n this,\n );\n this.handleNewSSOEmailInput = this.handleNewSSOEmailInput.bind(this);\n this.showSSOEmailChangeSuccessModal = this.showSSOEmailChangeSuccessModal.bind(\n this,\n );\n this.hideSSOEmailChangeSuccessModal = this.hideSSOEmailChangeSuccessModal.bind(\n this,\n );\n this.handleSSOEmailChangeSuccess = this.handleSSOEmailChangeSuccess.bind(\n this,\n );\n this.showOAuthChangeEmailWarningModal = this.showOAuthChangeEmailWarningModal.bind(\n this,\n );\n this.hideOAuthChangeEmailWarningModal = this.hideOAuthChangeEmailWarningModal.bind(\n this,\n );\n this.showOAuthDeleteModal = this.showOAuthDeleteModal.bind(this);\n this.hideOAuthDeleteModal = this.hideOAuthDeleteModal.bind(this);\n this.validateOAuth = this.validateOAuth.bind(this);\n this.showOAuthChangeEmailModal = this.showOAuthChangeEmailModal.bind(this);\n this.hideOAuthChangeEmailModal = this.hideOAuthChangeEmailModal.bind(this);\n }\n\n componentDidMount() {\n const { location, history } = this.props;\n if ((location.state as { oAuthChangeEmail?: boolean })?.oAuthChangeEmail) {\n this.showOAuthChangeEmailModal();\n\n history.replace({\n ...location,\n state: {},\n });\n }\n\n const {\n state,\n }: {\n state: {\n emailChangeInProgress?: boolean;\n newSSOEmailVarificationInProgress?: boolean;\n };\n } = location;\n if (state?.emailChangeInProgress) {\n removeFromLocalStorage(\n LOCAL_STORAGE_KEYS.EMAIL_CHANGE_FOR_SSO_USER_IN_PROGRESS,\n );\n window.history.replaceState({}, '', location.pathname);\n this.showSSOEmailChangeModal();\n }\n\n if (state?.newSSOEmailVarificationInProgress) {\n removeFromLocalStorage(\n LOCAL_STORAGE_KEYS.NEW_SSO_EMAIL_VARIFICATION_IN_PROGRESS,\n );\n window.history.replaceState({}, '', location.pathname);\n this.showSSOEmailChangeSuccessModal();\n }\n }\n\n componentDidUpdate(prevProps: IProps) {\n const {\n updatePasswordRequestStatus,\n updatePasswordRequestMessage,\n updatePasswordRequestError,\n updateMyProfileRequestError,\n updateMyProfileRequestMessage,\n updateMyProfileRequestStatus,\n sendHomeMetaUpdate,\n myProfileDetails,\n getOAuthRedirectUrlRequestStatus,\n getOAuthRedirectUrlRequestError,\n authUrl,\n\n ssoLoginRequestStatus,\n ssoLoginRequestError,\n redirectUrl,\n } = this.props;\n\n executeOnRequestStatusWithPrevStatusCheck({\n status: updatePasswordRequestStatus,\n prevStatus: prevProps.updatePasswordRequestStatus,\n onSuccess: () => {\n toaster.success(updatePasswordRequestMessage, { theme: Theme.New });\n this.hideChangePasswordModal();\n },\n onFailed: () => {\n toaster.error(updatePasswordRequestError.message, { theme: Theme.New });\n },\n });\n\n executeOnRequestStatusWithPrevStatusCheck({\n status: updateMyProfileRequestStatus,\n prevStatus: prevProps.updateMyProfileRequestStatus,\n onSuccess: () => {\n toaster.success(updateMyProfileRequestMessage, { theme: Theme.New });\n sendHomeMetaUpdate(myProfileDetails);\n },\n onFailed: () => {\n toaster.error(updateMyProfileRequestError.message, {\n theme: Theme.New,\n });\n },\n });\n\n executeOnRequestStatusWithPrevStatusCheck({\n status: getOAuthRedirectUrlRequestStatus,\n prevStatus: prevProps.getOAuthRedirectUrlRequestStatus,\n onSuccess: () => {\n redirectWithRefresh(authUrl);\n },\n onFailed: () => {\n showToasterWithErrorCheck(getOAuthRedirectUrlRequestError);\n },\n });\n\n executeOnRequestStatusWithPrevStatusCheck({\n status: ssoLoginRequestStatus,\n prevStatus: prevProps.ssoLoginRequestStatus,\n onSuccess: () => {\n if (redirectUrl) {\n const { newSSOEmailVerificationInProgress } = this.state;\n if (newSSOEmailVerificationInProgress) {\n saveToLocalStorage(\n LOCAL_STORAGE_KEYS.NEW_SSO_EMAIL_VARIFICATION_IN_PROGRESS,\n true,\n );\n } else {\n saveToLocalStorage(\n LOCAL_STORAGE_KEYS.EMAIL_CHANGE_FOR_SSO_USER_IN_PROGRESS,\n true,\n );\n }\n window.open(redirectUrl, '_self');\n }\n },\n onFailed: () => {\n if (ssoLoginRequestError?.message?.includes('support')) {\n toaster.error(\n
    \n Your account is suspended, to revoke this suspension feel free to\n reach out to{' '}\n {\n openChatSupport();\n }}\n >\n \n support\n \n \n
    ,\n {\n theme: Theme.New,\n showCloseIcon: true,\n delay: 1000000,\n },\n );\n }\n },\n });\n }\n\n onInputChange(value: string, event: React.ChangeEvent) {\n const { name } = event.target;\n this.setState(\n produce((draft: IState) => {\n draft.values[name] = value;\n draft.dirty[name] = true;\n }),\n );\n }\n\n onInputBlur(e: React.FocusEvent) {\n const { name } = e.target;\n this.setState(\n produce((draft) => {\n if (draft.dirty[name]) {\n draft.errors[name] = validate(\n name,\n draft.values[name],\n hasPermission(Permissions.MY_PROFILE_UPDATE),\n );\n }\n }),\n );\n }\n\n onSelectChange(selectedOption: TimezoneOption) {\n this.setState({ timeZoneKey: selectedOption.key });\n }\n\n onFormSubmit(e: React.FormEvent) {\n e.preventDefault();\n\n const { dirty, errors, values, timeZoneKey } = this.state;\n const { sendUpdateMyProfileRequest } = this.props;\n\n const dirtyRef = { ...dirty };\n const dirtyKeys = Object.keys(dirty);\n\n dirtyKeys.forEach((key) => {\n dirtyRef[key] = true;\n });\n\n const errorsRef = { ...errors };\n const errorsKeys = Object.keys(errors);\n let isError = false;\n\n errorsKeys.forEach((key) => {\n const error = validate(\n key,\n values[key],\n hasPermission(Permissions.MY_PROFILE_UPDATE),\n );\n errorsRef[key] = error;\n isError = isError || !!error;\n });\n\n if (isError) {\n this.setState({ errors, dirty });\n return;\n }\n\n const timeZone = this.getTimeZoneOptions().find(\n (tz) => tz.key === timeZoneKey,\n )?.name;\n\n const payload: UpdateUserProfilePayload = {\n ...values,\n timeZone,\n };\n\n sendUpdateMyProfileRequest(payload);\n }\n\n getTimeZoneOptions = () => {\n const timeZones = getTimezoneList();\n return timeZones.map((item) => ({\n key: item.name,\n ...item,\n }));\n };\n\n getAuthenticationMethod() {\n const { meta } = this.props;\n const authenticationMethod = meta.find(\n (item) => item.code === UserSettingCode.AuthenticationMethod,\n )?.value;\n return authenticationMethod;\n }\n\n deleteAccountButton = () => {\n const authMethod = this.getAuthenticationMethod();\n const isOAuth =\n authMethod === AuthenticationMethod.Google ||\n authMethod === AuthenticationMethod.Microsoft;\n\n return (\n \n Delete Account\n \n );\n };\n\n handleOnChangeEmail() {\n const { ssoStatus } = this.props;\n if (ssoStatus === SSOStatus.ACTIVE_ENABLED) {\n this.showVerifySSOEmailModal();\n } else if (\n this.getAuthenticationMethod() === AuthenticationMethod.Google ||\n this.getAuthenticationMethod() === AuthenticationMethod.Microsoft\n ) {\n this.showOAuthChangeEmailWarningModal();\n } else {\n this.setState({ changeEmailModal: true });\n }\n }\n\n hideChangeEmailModal() {\n this.setState({ changeEmailModal: false });\n }\n\n showSSOEmailChangeModal() {\n this.setState({ showSSOEmailChangeModal: true });\n }\n\n hideSSOChangeEmailModal() {\n this.setState({ showSSOEmailChangeModal: false });\n }\n\n showDeleteAccountModal() {\n this.setState({ deleteAccountModal: true });\n }\n\n hideDeleteAccountModal() {\n this.setState({ deleteAccountModal: false });\n }\n\n showChangePasswordModal(e: React.MouseEvent) {\n e.preventDefault();\n this.setState({ showChangePasswordModal: true });\n }\n\n hideChangePasswordModal() {\n this.setState({ showChangePasswordModal: false });\n }\n\n changePasswordHandler(payload: UpdatePasswordRequestPayload) {\n const { sendUpdatePasswordRequest } = this.props;\n sendUpdatePasswordRequest(payload);\n }\n\n showOAuthChangeEmailWarningModal() {\n this.setState({ showOAuthChangeEmailWarningModal: true });\n }\n\n hideOAuthChangeEmailWarningModal() {\n this.setState({ showOAuthChangeEmailWarningModal: false });\n }\n\n showOAuthDeleteModal() {\n this.setState({ showOAuthDeleteModal: true });\n }\n\n hideOAuthDeleteModal() {\n this.setState({ showOAuthDeleteModal: false });\n }\n\n validateOAuth(action: ActionForAuthentication) {\n const { userId, getOAuthRedirectUrl } = this.props;\n const authMethod = this.getAuthenticationMethod();\n\n let oauthMethod: OAuthMethod;\n if (authMethod === AuthenticationMethod.Google) {\n oauthMethod = OAuthMethod.Google;\n } else if (authMethod === AuthenticationMethod.Microsoft) {\n oauthMethod = OAuthMethod.Microsoft;\n }\n if (oauthMethod) {\n const timeZone = getCurrentTimeZone();\n getOAuthRedirectUrl(oauthMethod, {\n timeZone,\n action,\n userId,\n });\n }\n }\n\n showOAuthChangeEmailModal() {\n this.setState({ showOAuthChangeEmailModal: true });\n }\n\n hideOAuthChangeEmailModal() {\n this.setState({ showOAuthChangeEmailModal: false });\n }\n\n showVerifySSOEmailModal() {\n this.setState({ showVerifySSOEmailModal: true });\n }\n\n hideVerifyEmailModal() {\n this.setState({ showVerifySSOEmailModal: false });\n }\n\n handleVerifyEmail() {\n const { myProfile, sendSSOLoginRequest } = this.props;\n sendSSOLoginRequest(myProfile.email);\n }\n\n handleNewSSOEmailInput(value: string) {\n const { myProfile } = this.props;\n if (myProfile?.email === value) {\n this.setState({\n newSSOEmailError: 'The email address you entered already exists.',\n });\n } else {\n this.setState({ newSSOEmailError: '' });\n }\n this.setState({\n newSSOEmail: value,\n });\n }\n\n handleSSOEmailChangeSubmit() {\n const { sendSSOLoginRequest } = this.props;\n const { newSSOEmail, newSSOEmailError } = this.state;\n const { myProfile } = this.props;\n if (newSSOEmailError !== '' || newSSOEmail === '') {\n this.setState({\n newSSOEmailError: 'Email address is required',\n });\n return;\n }\n this.setState({\n newSSOEmailVerificationInProgress: true,\n });\n saveToLocalStorage('new-sso-email', newSSOEmail);\n sendSSOLoginRequest(myProfile.email);\n }\n\n showSSOEmailChangeSuccessModal() {\n this.setState({\n showSSOEmailChangeSuccessModal: true,\n });\n }\n\n hideSSOEmailChangeSuccessModal() {\n this.setState({\n showSSOEmailChangeSuccessModal: false,\n });\n }\n\n handleSSOEmailChangeSuccess() {\n this.setState({ showSSOEmailChangeSuccessModal: false });\n AuthHelper.logout();\n }\n\n render() {\n const {\n values,\n errors,\n timeZoneKey,\n changeEmailModal,\n showChangePasswordModal,\n deleteAccountModal,\n showOAuthChangeEmailWarningModal,\n showOAuthDeleteModal,\n showOAuthChangeEmailModal,\n showVerifySSOEmailModal,\n newSSOEmail,\n newSSOEmailError,\n showSSOEmailChangeModal,\n showSSOEmailChangeSuccessModal,\n } = this.state;\n const {\n myProfile,\n subscriptionPlan,\n updateMyProfileRequestStatus,\n updatePasswordRequestStatus,\n meta,\n userId,\n getOAuthRedirectUrlRequestStatus,\n ssoStatus,\n } = this.props;\n\n const isUpdateMyProfileRequestStatusPending =\n updateMyProfileRequestStatus === RequestStatus.Pending;\n const isUpdatePasswordRequestStatusPending =\n updatePasswordRequestStatus === RequestStatus.Pending;\n\n const authenticationMethod = meta?.find(\n ({ code }) => code === UserSettingCode.AuthenticationMethod,\n )?.value;\n const shouldHidePassword =\n authenticationMethod === AuthenticationMethod.Google ||\n authenticationMethod === AuthenticationMethod.Microsoft ||\n ssoStatus === SSOStatus.ACTIVE_ENABLED;\n\n return (\n <>\n \n \n \n \n \n {subscriptionPlan === SubscriptionPlans.FREE && }\n \n
    \n
    \n \n \n\n
    \n \n {hasPermission(Permissions.CREDENTIALS_UPDATE) && (\n \n Change Email\n \n )}\n
    \n\n {!shouldHidePassword &&\n hasPermission(Permissions.MY_PROFILE_UPDATE) && (\n
    \n \n\n \n Change Password\n \n
    \n )}\n\n
    \n Time Zone\n \n showSearch\n className=\"timezone-select\"\n filterOption={(value, option) =>\n option.name.toLowerCase().includes(value.toLowerCase())\n }\n selectedOptionRenderer={([option]) => (\n {option?.name}\n )}\n optionRenderer={(option) => (\n \n )}\n options={this.getTimeZoneOptions()}\n placeholder=\"Select Time Zone\"\n selectedOptionKey={timeZoneKey}\n onChange={([selectedOption]) =>\n this.onSelectChange(selectedOption)\n }\n />\n
    \n\n \n Save\n \n \n
    \n\n {hasPermission(Permissions.ACCOUNT_PROFILE_DANGER_ZONE) && (\n <>\n
    \n

    Danger Zone

    \n

    Delete your Saleshandy account permanently.

    \n
    \n\n {hasPermission(Permissions.ACCOUNT_DATA_DELETE) ? (\n this.deleteAccountButton()\n ) : (\n \n {this.deleteAccountButton()}\n \n )}\n \n )}\n\n \n\n {hasPermission(Permissions.MY_PROFILE_UPDATE) &&\n showChangePasswordModal && (\n \n )}\n\n \n\n \n Your current email is {myProfile.email}\n \n }\n showCloseIcon={false}\n hideTitleIcon={true}\n content={[\n 'Please validate your Google/Microsoft account to change email',\n ]}\n cancelButtonText=\"Cancel\"\n submitButtonText=\"Validate\"\n onClose={this.hideOAuthChangeEmailWarningModal}\n onSubmit={() =>\n this.validateOAuth(ActionForAuthentication.ValidationChangeEmail)\n }\n isSubmitLoading={isRequestPending(getOAuthRedirectUrlRequestStatus)}\n />\n\n \n Your current email is {myProfile.email}\n \n }\n showCloseIcon={false}\n hideTitleIcon={true}\n content={[\n 'Please validate your Google/Microsoft account to delete your account',\n ]}\n cancelButtonText=\"Cancel\"\n submitButtonText=\"Delete\"\n onClose={this.hideOAuthDeleteModal}\n onSubmit={() =>\n this.validateOAuth(ActionForAuthentication.DeleteAccount)\n }\n isSubmitLoading={isRequestPending(getOAuthRedirectUrlRequestStatus)}\n className=\"delete-oauth-modal\"\n />\n\n \n Your current email is {myProfile.email}\n \n }\n showCloseIcon={false}\n hideTitleIcon={true}\n content={\n
    \n

    \n To update your email, please verify your Google or Microsoft\n account.\n

    \n

    Choose a method to continue:

    \n \n
    \n }\n hideCancelButton={true}\n hideSubmitButton={true}\n onClose={this.hideOAuthChangeEmailModal}\n onSubmit={() => {}}\n hideFooter={true}\n className=\"oauth-change-email-modal\"\n />\n\n }\n content=\"You'll be redirected to your SSO app for verification. Once done, you can update your email.\"\n cancelButtonText=\"Cancel\"\n submitButtonText=\"Okay\"\n onClose={this.hideVerifyEmailModal}\n onSubmit={this.handleVerifyEmail}\n />\n\n \n

    To update your email, please verify SSO account.

    \n \n \n }\n cancelButtonText=\"Cancel\"\n submitButtonText=\"Verify\"\n onClose={this.hideSSOChangeEmailModal}\n onSubmit={this.handleSSOEmailChangeSubmit}\n />\n\n \n
    \n \n );\n }\n}\n\nexport default MyProfileContent;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps, withRouter } from 'react-router';\nimport { RootState } from '../../../../../../store/root-reducer';\nimport { MyProfile } from '../../../../types/my-profile';\nimport {\n deleteMyProfileRequest,\n updateMyProfileRequest,\n updatePasswordRequest,\n} from '../../extra-actions';\nimport {\n UpdateUserProfilePayload,\n UpdatePasswordPayload,\n} from '../../../../types/request-payload';\nimport MyProfileContent from './my-profle-content';\nimport { getUserSettingsRequest } from '../../../../../home/extra-actions';\nimport { onSettingsTabProfileUpdate } from '../../../../../home/home-slice';\nimport { OAuthMethod } from '../../../../../auth/components/oauth-buttons';\nimport { OAuthPayload } from '../../../../../auth/types';\nimport { getOAuthRedirectUrlRequest } from '../../../../../auth/components/oauth-buttons/extra-actions';\nimport { ssoLoginRequest } from '../../../../../auth/components/sso-login/extra-actions';\nimport { resetDeleteMyProfileRequest } from '../../my-profile-slice';\n\nconst mapStateToProps = (state: RootState) => ({\n updatePasswordRequestStatus: state.myProfile.updatePasswordRequest.status,\n updatePasswordRequestMessage: state.myProfile.updatePasswordRequest.message,\n updatePasswordRequestError: state.myProfile.updatePasswordRequest.error,\n\n updateMyProfileRequestStatus: state.myProfile.updateMyProfileRequest.status,\n updateMyProfileRequestMessage: state.myProfile.updateMyProfileRequest.message,\n updateMyProfileRequestError: state.myProfile.updateMyProfileRequest.error,\n\n ssoLoginRequestStatus: state.ssoLogin.ssoLoginRequest.status,\n ssoLoginRequestMessage: state.ssoLogin.ssoLoginRequest.message,\n ssoLoginRequestError: state.ssoLogin.ssoLoginRequest.error,\n\n deleteMyProfileRequestStatus: state.myProfile.deleteMyProfileRequest.status,\n deleteMyProfileRequestMessage: state.myProfile.deleteMyProfileRequest.message,\n deleteMyProfileRequestError: state.myProfile.deleteMyProfileRequest.error,\n\n redirectUrl: state.ssoLogin.redirectUrl,\n\n subscriptionPlan: state.home.subscription?.planCode,\n planTransitionDetails: state.home.subscription?.planTransitionDetails,\n myProfileDetails: state.myProfile.myProfile,\n\n meta: state.home.meta,\n userId: state.home.userId,\n\n getOAuthRedirectUrlRequestStatus:\n state.oauth.getOAuthRedirectUrlRequest.status,\n getOAuthRedirectUrlRequestError: state.oauth.getOAuthRedirectUrlRequest.error,\n authUrl: state.oauth.authUrl,\n ssoStatus: state.home.ssoStatus,\n});\n\nconst mapDispatchToProps = {\n sendUpdateMyProfileRequest: (payload: UpdateUserProfilePayload) =>\n updateMyProfileRequest(payload),\n sendUpdatePasswordRequest: (payload: UpdatePasswordPayload) =>\n updatePasswordRequest(payload),\n sendGetUserSettingsRequest: () => getUserSettingsRequest(),\n sendHomeMetaUpdate: (payload) => onSettingsTabProfileUpdate(payload),\n getOAuthRedirectUrl: (method: OAuthMethod, payload: OAuthPayload) =>\n getOAuthRedirectUrlRequest({ method, payload }),\n sendSSOLoginRequest: (email: string) => ssoLoginRequest({ email }),\n sendDeleteMyProfileRequest: (password: string) =>\n deleteMyProfileRequest(password),\n resetDeleteMyProfileRequest: () => resetDeleteMyProfileRequest(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps &\n RouteComponentProps & {\n getMyProfileRequest: () => void;\n myProfile: MyProfile;\n };\n\nexport default withRouter(connector(MyProfileContent));\n","import React from 'react';\nimport { IProps } from './types';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport MyProfileContent from './components/my-profile-content';\n\nconst MyProfile: React.FC = ({\n getMyProfileRequestStatus,\n myProfile,\n sendGetMyProfileRequest,\n isEmpty,\n}) => {\n if (getMyProfileRequestStatus !== RequestStatus.Succeeded && isEmpty) {\n return null;\n }\n\n return (\n \n );\n};\n\nexport default MyProfile;\n","import { RootState } from '../../../../store/root-reducer';\nimport { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps } from 'react-router';\nimport { getMyProfileRequest } from './my-profile-slice';\nimport MyProfile from './my-profile';\n\nconst mapStateToProps = (state: RootState) => ({\n getMyProfileRequestStatus: state.myProfile.getUserDetailRequest.status,\n getMyProfileRequestMessage: state.myProfile.getUserDetailRequest.message,\n getMyProfileRequestError: state.myProfile.getUserDetailRequest.error,\n\n myProfile: state.myProfile.myProfile,\n isEmpty: state.myProfile.myProfile.firstName === null,\n});\n\nconst mapDispatchToProps = {\n sendGetMyProfileRequest: () => getMyProfileRequest(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & RouteComponentProps;\n\nexport default connector(MyProfile);\n","export enum WhitelabelTabs {\n LogoBranding = 'Logo & Branding',\n DomainConfiguration = 'Domain Configuration',\n}\n\nexport enum ResourceType {\n Logo = 'logo',\n Favicon = 'favicon',\n Icon = 'icon',\n}\n","const createImage = (url) =>\n new Promise((resolve, reject) => {\n const image = new Image();\n image.addEventListener('load', () => resolve(image));\n image.addEventListener('error', (error) => reject(error));\n image.setAttribute('crossOrigin', 'anonymous'); // needed to avoid cross-origin issues on CodeSandbox\n image.src = url;\n });\n\n/**\n * This function was adapted from the one in the ReadMe of https://github.com/DominicTobias/react-image-crop\n * @param {File} image - Image File url\n * @param {Object} pixelCrop - pixelCrop Object provided by react-easy-crop\n * @param {number} rotation - optional rotation parameter\n */\nexport async function getCroppedImg(imageSrc, pixelCrop) {\n const image: any = await createImage(imageSrc);\n const canvas = document.createElement('canvas');\n const ctx = canvas.getContext('2d');\n\n canvas.width = 360;\n canvas.height = 126;\n\n ctx.drawImage(\n image,\n pixelCrop.x,\n pixelCrop.y,\n pixelCrop.width,\n pixelCrop.height,\n 0,\n 0,\n 360,\n 126,\n );\n\n // As a blob\n return new Promise((resolve) => {\n canvas.toBlob((file) => {\n resolve(URL.createObjectURL(file));\n }, 'image/png');\n });\n}\n","/* eslint-disable @typescript-eslint/no-shadow */\nimport React, {\n useState,\n useRef,\n useCallback,\n createRef,\n useEffect,\n} from 'react';\nimport { DragAndDrop, Button as ShButton } from '@saleshandy/design-system';\nimport { Pencil, Trash } from '@saleshandy/icons';\nimport Cropper, { ReactCropperElement } from 'react-cropper';\nimport 'cropperjs/dist/cropper.css';\nimport type { IProps } from './types';\nimport UploadCloud from '../../../../../../../../shared/components/images/upload-cloud';\nimport { OverlayTooltip } from '../../../../../../../../shared/design-system/components/overlay';\nimport DeleteAlertModal from '../../../../../../../../shared/components/delete-alert-modal';\nimport { getIsRequestPending } from '../../../../../../../../shared/utils';\nimport { accessibleOnClick } from '../../../../../../../../shared/utils/accessible-on-click';\nimport toaster, { Theme } from '../../../../../../../../shared/toaster';\nimport { getCroppedImg } from '../../utils/crop-image';\nimport Button from '../../../../../../../../shared/design-system/components/atoms/button';\n\nconst customStyles = `\n .cropper-modal {\n background-color: transparent !important;\n }\n .cropper-view-box,\n .cropper-face {\n border-color: #3B82F6 !important;\n }\n .cropper-point {\n background-color: #3B82F6 !important;\n }\n .cropper-line {\n background-color: #3B82F6 !important;\n }\n`;\n\nconst MAX_WIDTH = 4096;\nconst MAX_HEIGHT = 2160;\n\nconst WhitelabelImagePicker: React.FC = ({\n label,\n description,\n dndDescription,\n selectedImage,\n addedImage,\n isLoading,\n showImageCropper = true,\n deleteResourceRequestStatus,\n cropperWidth = 360,\n cropperHeight = 126,\n onSelecting,\n onCancel,\n onSave,\n onEdit,\n onImageDelete,\n}) => {\n const inputRef = useRef(null);\n const cropperRef = createRef();\n const containerRef = useRef(null);\n\n //* States */\n\n const [dragging, setDragging] = useState(false);\n const [isEditView, setIsEditView] = useState(false);\n const [isImageReplaced, setIsImageReplaced] = useState(false);\n const [isDeleteModalVisible, setIsDeleteModalVisible] = useState(false);\n\n //* ImageCropper State */\n const [imageSrc, setImageSrc] = useState(null);\n const [cropper, setCropper] = useState(null);\n const [croppedAreaPixels, setCroppedAreaPixels] = useState(null);\n\n //* Helper Functions */\n\n const readV3Image = async () => {\n try {\n const response = await fetch(addedImage, {\n method: 'GET',\n credentials: 'omit',\n mode: 'no-cors',\n headers: {\n 'Access-Control-Allow-Origin': '*',\n },\n });\n\n if (!response.ok) {\n throw new Error('Network response was not ok');\n }\n\n const blob = await response.blob();\n const file = new File([blob], 'image.png', { type: blob.type });\n\n return file;\n } catch (error) {\n console.error('Error fetching and converting image:', error);\n return null;\n }\n };\n\n const readFile = (file) =>\n new Promise((resolve) => {\n const reader = new FileReader();\n reader.addEventListener('load', () => resolve(reader.result), false);\n reader.readAsDataURL(file);\n });\n\n const toggleEditView = async () => {\n const img = await readV3Image();\n\n setImageSrc(addedImage);\n setIsEditView(!isEditView);\n };\n const onDelete = () => {\n setIsDeleteModalVisible(true);\n };\n const handleCancel = () => {\n if (isEditView) {\n setIsEditView(false);\n return;\n }\n\n setIsImageReplaced(false);\n onCancel();\n };\n\n const clickInput = () => inputRef.current?.click();\n const onInputChangeHandler = ({ target: { files } }) => {\n if (files[0]?.type !== 'image/png') {\n toaster.error(\n 'The file type you are trying to upload is not supported.',\n { theme: Theme.New },\n );\n return;\n }\n\n if (isEditView && files.length > 0) {\n setIsImageReplaced(true);\n }\n\n files.length > 0 && onSelecting(files[0]);\n };\n\n const getImageSrc = () => {\n if (isEditView && !isImageReplaced) {\n return addedImage;\n }\n\n return URL.createObjectURL(selectedImage);\n };\n\n //* ImageCropper */\n const showCroppedImage = useCallback(async () => {\n try {\n const croppedImage: any = await getCroppedImg(\n imageSrc,\n croppedAreaPixels,\n );\n\n // Convert the cropped image URL (blob) to a File object\n const response = await fetch(croppedImage);\n const blob = await response.blob();\n const file = new File([blob], 'croppedImage.png', { type: 'image/png' });\n\n return file;\n } catch (e) {\n console.error(e);\n }\n }, [croppedAreaPixels]);\n\n const transformToCroppedImage = async () => {\n if (cropperRef.current && cropperRef.current.cropper) {\n const croppedImage = cropperRef.current.cropper\n .getCroppedCanvas()\n .toDataURL();\n\n // Convert the cropped image URL (blob) to a File object\n const response = await fetch(croppedImage);\n const blob = await response.blob();\n const file = new File([blob], 'croppedImage.png', { type: 'image/png' });\n\n return file;\n }\n\n return null;\n };\n\n const handleSave = async () => {\n if (isEditView) {\n onEdit(await transformToCroppedImage());\n return;\n }\n\n onSave(await transformToCroppedImage());\n };\n\n const onCropComplete = useCallback((croppedArea, croppedAreaPixels) => {\n setCroppedAreaPixels(croppedAreaPixels);\n }, []);\n\n const validateImageResolution = (file) =>\n new Promise((resolve, reject) => {\n const img = new Image();\n img.onload = () => {\n if (img.width > MAX_WIDTH || img.height > MAX_HEIGHT) {\n reject(\n new Error(\n `Image resolution should not exceed ${MAX_WIDTH}x${MAX_HEIGHT} pixels.`,\n ),\n );\n } else {\n resolve(true);\n }\n };\n img.onerror = () => reject(new Error('Failed to load image.'));\n img.src = URL.createObjectURL(file);\n });\n\n const onFileChange = async (e) => {\n e.preventDefault();\n\n if (e.target.files[0]?.type !== 'image/png') {\n toaster.error(\n 'The file type you are trying to upload is not supported.',\n { theme: Theme.New },\n );\n return;\n }\n\n if (e.target.files[0].size > 1024 * 1024) {\n toaster.error('File size exceeds 1MB limit.', { theme: Theme.New });\n return;\n }\n\n if (e.target.files && e.target.files.length > 0) {\n const file = e.target.files[0];\n // const imageDataUrl = await readFile(file);\n\n validateImageResolution(file)\n .then(() => {\n const reader = new FileReader();\n reader.onload = () => {\n setImageSrc(reader.result as any);\n };\n reader.readAsDataURL(file);\n onSelecting(file);\n })\n .catch((error) => {\n toaster.error(error.message, { theme: Theme.New });\n });\n }\n };\n\n const onDropEnd = async (files) => {\n if (files[0]?.type !== 'image/png') {\n toaster.error(\n 'The file type you are trying to upload is not supported.',\n { theme: Theme.New },\n );\n return;\n }\n\n if (files[0].size > 1024 * 1024) {\n toaster.error('File size exceeds 1MB limit.', { theme: Theme.New });\n return;\n }\n\n if (files && files.length > 0) {\n const file = files[0];\n // const imageDataUrl = await readFile(file);\n try {\n await validateImageResolution(file);\n const reader = new FileReader();\n reader.onload = () => {\n setImageSrc(reader.result as any);\n };\n reader.readAsDataURL(file);\n onSelecting(file);\n } catch (error) {\n toaster.error((error as any).message, { theme: Theme.New });\n }\n }\n };\n\n const getAllowedImageDescription = () => {\n if (label === 'Logo') {\n return 'Horizontal or square PNG logo';\n }\n\n return 'Square PNG logo';\n };\n\n return (\n
    \n
    \n
    \n \n {label}\n \n {addedImage && !isEditView && (\n
    \n \n
    \n \n
    \n
    \n
    \n )}\n {addedImage && isEditView && (\n
    \n \n
    \n \n
    \n
    \n
    \n )}\n
    \n \n {description}\n \n
    \n\n {addedImage && !isEditView ? (\n \n \"not\n
    \n ) : (\n <>\n onDropEnd(files)}\n backgroundVariant=\"solid\"\n title={dndDescription}\n className={`${\n dragging && 'whitelabel__image-picker-drop'\n } whitelabel__image-picker-dnd mt-3`}\n >\n \n {selectedImage || isEditView ? (\n
    \n {showImageCropper ? (\n \n {\n setCropper(instance);\n }}\n />\n
    \n ) : (\n \"not\n )}\n\n
    \n \n
    \n \n ) : (\n
    \n
    \n \n
    \n \n {dndDescription}\n \n \n Recommended:{' '}\n \n {getAllowedImageDescription()}{' '}\n {' '}\n with a transparent background (Max 1MB)\n \n\n
    \n \n
    Choose a file
    \n \n
    \n
    \n \n )}\n \n\n
    \n {(selectedImage || isEditView) && (\n
    \n \n Save\n \n \n Cancel\n \n
    \n )}\n\n {isEditView && (\n clickInput()}\n variant=\"secondary\"\n className=\"bs-ml-12 mt-3\"\n disabled={isLoading}\n >\n Replace Image\n \n )}\n
    \n \n )}\n\n {isDeleteModalVisible && (\n setIsDeleteModalVisible(false)}\n onSubmit={onImageDelete}\n />\n )}\n \n );\n};\n\nexport default WhitelabelImagePicker;\n","import React from 'react';\nimport { SkeletonLoading } from '@saleshandy/design-system';\n\nconst WhitelabelSkeletonView = () => (\n
    \n \n \n \n
    \n);\n\nexport default WhitelabelSkeletonView;\n","export const getCapitalTitle = (str: string): string => {\n const splitStr = str.toLowerCase().split(' ');\n // eslint-disable-next-line no-plusplus\n for (let i = 0; i < splitStr.length; i++) {\n // You do not need to check if i is larger than splitStr length, as your for does that for you\n // Assign it back to the array\n splitStr[i] =\n splitStr[i].charAt(0).toUpperCase() + splitStr[i].substring(1);\n }\n // Directly return the joined string\n return splitStr.join(' ');\n};\n","import React, { useState, useEffect } from 'react';\nimport { Button, ImageIcon } from '@saleshandy/design-system';\nimport type { IProps } from './logo-branding-container';\nimport Input from '../../../../../../shared/design-system/components/input';\nimport WhitelabelImagePicker from './components/whitelabel-image-picker';\nimport WhitelabelSkeletonView from './utils/whitelabel-skeleton-view';\nimport {\n executeOnRequestStatus,\n getIsRequestPending,\n} from '../../../../../../shared/utils';\nimport { ResourceType } from '../../utils/enums';\nimport { Images } from '../../../../../../shared/app-constants';\nimport toaster, { Theme } from '../../../../../../shared/toaster';\nimport hasPermission from '../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../shared/utils/access-control/enums/permissions';\nimport planPermissionError from '../../../../../../shared/utils/errors/plan-permission-error';\nimport { getCapitalTitle } from '../../../../../../shared/utils/get-capital-title';\n\nconst LogoBranding: React.FC = ({\n isLoading,\n resources,\n\n saveCompanyNameRequestStatus,\n getResourceRequestStatus,\n saveResourceRequestStatus,\n editCompanyNameRequestStatus,\n deleteResourceRequestStatus,\n saveCompanyNameRequestMessage,\n editCompanyNameRequestMessage,\n uploadResourceRequestStatus,\n editResourceRequestStatus,\n\n getResource,\n saveCompanyNameRequest,\n saveResourceRequest,\n editCompanyNameRequest,\n editResourceRequest,\n deleteResourceRequest,\n resetResourceState,\n}) => {\n //* States */\n const [companyName, setCompanyName] = useState(resources.companyName);\n const [isDirty, setIsDirty] = useState(false);\n const [logoImage, setLogoImage] = useState(null);\n const [iconLogoImage, setIconLogoImage] = useState(null);\n const [faviconImage, setFaviconImage] = useState(null);\n const [actionCard, setActionCard] = useState('Logo');\n\n //* Helper FUnctions */\n const handleInputChange = (v: string) => {\n setIsDirty(!!v.length);\n setCompanyName(v);\n };\n\n const showUpgradePlanErrorModal = () => {\n // setIsRestrictionModalVisible(true);\n const title = 'Upgrade your plan for whitelabeling';\n const content = [\n \"Your current plan doesn't allow you to rebrand yourself.\",\n 'Please upgrade to the outreach scale or higher plans to use Whitelabel as a feature.',\n ];\n\n planPermissionError.showModal(title, content, true);\n };\n\n const saveCompanyName = async () => {\n if (!hasPermission(Permissions.WHITELABEL_ACCESS)) {\n showUpgradePlanErrorModal();\n return;\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n resources.companyName\n ? await editCompanyNameRequest(companyName)\n : await saveCompanyNameRequest(companyName);\n };\n\n const uploadResource = async (resource: File, resourceType: ResourceType) => {\n if (!hasPermission(Permissions.WHITELABEL_ACCESS)) {\n showUpgradePlanErrorModal();\n return;\n }\n\n setActionCard(getCapitalTitle(resourceType));\n await saveResourceRequest(resource, resourceType);\n };\n\n const editResource = async (resource: File, resourceType: ResourceType) => {\n if (!hasPermission(Permissions.WHITELABEL_ACCESS)) {\n showUpgradePlanErrorModal();\n return;\n }\n\n setActionCard(getCapitalTitle(resourceType));\n await editResourceRequest(resource, resourceType);\n };\n\n //* useEffect */\n useEffect(() => {\n if (hasPermission(Permissions.WHITELABEL_ACCESS)) {\n getResource();\n }\n\n return () => {\n resetResourceState();\n };\n }, []);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getResourceRequestStatus,\n onSuccess: () => {\n const name =\n resources.companyName?.length > 50\n ? `${resources.companyName.substring(0, 50)}...`\n : resources.companyName;\n\n setCompanyName(name);\n },\n });\n }, [getResourceRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: saveCompanyNameRequestStatus,\n onSuccess: () => {\n toaster.success(saveCompanyNameRequestMessage, { theme: Theme.New });\n resetResourceState();\n },\n });\n }, [saveCompanyNameRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: editCompanyNameRequestStatus,\n onSuccess: () => {\n toaster.success(editCompanyNameRequestMessage, { theme: Theme.New });\n },\n });\n }, [editCompanyNameRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: uploadResourceRequestStatus,\n onSuccess: () => {\n getResource();\n toaster.success(`${actionCard} saved successfully`, {\n theme: Theme.New,\n });\n if (actionCard !== 'Logo') {\n window.location.reload();\n }\n },\n });\n }, [uploadResourceRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: editResourceRequestStatus,\n onSuccess: () => {\n getResource();\n toaster.success(`${actionCard} saved successfully`, {\n theme: Theme.New,\n });\n if (actionCard !== 'Logo') {\n window.location.reload();\n }\n },\n });\n }, [editResourceRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: deleteResourceRequestStatus,\n onSuccess: () => {\n getResource();\n toaster.success(`${actionCard} deleted successfully`, {\n theme: Theme.New,\n });\n\n window.location.reload();\n },\n });\n }, [deleteResourceRequestStatus]);\n\n if (isLoading) {\n return ;\n }\n\n return (\n
    \n
    \n
    \n
    \n
    \n \n Company Name\n \n
    \n handleInputChange(v)}\n />\n \n Save\n \n
    \n
    \n
    \n setLogoImage(file)}\n onCancel={() => setLogoImage(null)}\n onSave={(f: File) => uploadResource(f, ResourceType.Logo)}\n onEdit={(f: File) => editResource(f, ResourceType.Logo)}\n isLoading={\n getIsRequestPending(saveResourceRequestStatus) ||\n getIsRequestPending(editResourceRequestStatus)\n }\n deleteResourceRequestStatus={deleteResourceRequestStatus}\n onImageDelete={() => {\n setActionCard(getCapitalTitle(ResourceType.Logo));\n deleteResourceRequest(ResourceType.Logo);\n }}\n showImageCropper={true}\n cropperWidth={300}\n cropperHeight={100}\n />\n
    \n
    \n
    \n \n
    \n
    \n\n
    \n
    \n
    \n
    \n setIconLogoImage(file)}\n onCancel={() => setIconLogoImage(null)}\n onSave={(f: File) => uploadResource(f, ResourceType.Icon)}\n onEdit={(f: File) => editResource(f, ResourceType.Icon)}\n isLoading={\n getIsRequestPending(saveResourceRequestStatus) ||\n getIsRequestPending(editResourceRequestStatus)\n }\n deleteResourceRequestStatus={deleteResourceRequestStatus}\n onImageDelete={() => {\n setActionCard(getCapitalTitle(ResourceType.Icon));\n deleteResourceRequest(ResourceType.Icon);\n }}\n showImageCropper={true}\n cropperWidth={126}\n cropperHeight={126}\n />\n
    \n
    \n
    \n
    \n setFaviconImage(file)}\n onCancel={() => setFaviconImage(null)}\n onSave={(f: File) => uploadResource(f, ResourceType.Favicon)}\n onEdit={(f: File) => editResource(f, ResourceType.Favicon)}\n isLoading={\n getIsRequestPending(saveResourceRequestStatus) ||\n getIsRequestPending(editResourceRequestStatus)\n }\n deleteResourceRequestStatus={deleteResourceRequestStatus}\n onImageDelete={() => {\n setActionCard(getCapitalTitle(ResourceType.Favicon));\n deleteResourceRequest(ResourceType.Favicon);\n }}\n showImageCropper={true}\n cropperWidth={126}\n cropperHeight={126}\n />\n
    \n
    \n
    \n\n
    \n \n
    \n
    \n
    \n
    \n );\n};\n\nexport default LogoBranding;\n","import api from '../../../../../api';\nimport { ResourceType } from './enums';\n\nexport const saveCompanyName = async (companyName: string) =>\n api.post('/whitelabel/company-name', { companyName });\n\nexport const editCompanyName = async (companyName: string) =>\n api.patch('/whitelabel/company-name', { companyName });\n\nexport const getResource = async () => api.get('/whitelabel/resource');\n\nconst fileUploadHeaders = {\n headers: {\n ContentType: 'multipart/form-data',\n 'Transfer-Encoding': 'gzip',\n 'Content-Encoding': 'gzip',\n },\n};\n\nexport const uploadResource = async (\n resource: File,\n resourceType: ResourceType,\n) => {\n const formData = new FormData();\n formData.append('file', resource);\n\n return api.post(\n `/whitelabel/upload-resource/${resourceType}`,\n formData,\n fileUploadHeaders,\n );\n};\n\nexport const editResource = async (\n resource: File,\n resourceType: ResourceType,\n) => {\n const formData = new FormData();\n formData.append('file', resource);\n return api.patch(\n `/whitelabel/upload-resource/${resourceType}`,\n formData,\n fileUploadHeaders,\n );\n};\n\nexport const deleteResource = async (resourceType: ResourceType) =>\n api.delete(`/whitelabel/resource/${resourceType}`);\n\n//* DNS */\nexport const getDNS = async () => api.get('/whitelabel/dns');\n\nexport const saveDNS = async (domain: string) =>\n api.post('/whitelabel/dns', { domain });\n\nexport const deleteDNS = async () => api.delete('/whitelabel/dns');\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport {\n ResponseErrorWithHandled,\n ResponseSuccess,\n} from '../../../../shared/types';\nimport {\n deleteDNS,\n deleteResource,\n editCompanyName,\n editResource,\n getDNS,\n getResource,\n saveCompanyName,\n saveDNS,\n uploadResource,\n} from './utils/whitelabel.api';\nimport { ResourceType } from './utils/enums';\n\nexport const saveCompanyNameRequest = createAsyncThunk<\n ResponseSuccess,\n { companyName: string },\n { rejectValue: ResponseErrorWithHandled }\n>('whitelabel/saveCompanyNameRequest', async ({ companyName }, thunkAPI) => {\n try {\n return await saveCompanyName(companyName);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const editCompanyNameRequest = createAsyncThunk<\n ResponseSuccess,\n { companyName: string },\n { rejectValue: ResponseErrorWithHandled }\n>('whitelabel/editompanyNameRequest', async ({ companyName }, thunkAPI) => {\n try {\n return await editCompanyName(companyName);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getResourceRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('whitelabel/getResourceRequest', async (_args, thunkAPI) => {\n try {\n return await getResource();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const uploadResourceRequest = createAsyncThunk<\n ResponseSuccess,\n { resource: File; resourceType: ResourceType },\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'whitelabel/uploadResourceRequest',\n async ({ resource, resourceType }, thunkAPI) => {\n try {\n return await uploadResource(resource, resourceType);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const editResourceRequest = createAsyncThunk<\n ResponseSuccess,\n { resource: File; resourceType: ResourceType },\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'whitelabel/editResourceRequest',\n async ({ resource, resourceType }, thunkAPI) => {\n try {\n return await editResource(resource, resourceType);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const deleteResourceRequest = createAsyncThunk<\n ResponseSuccess,\n { resourceType: ResourceType },\n { rejectValue: ResponseErrorWithHandled }\n>('whitelabel/deleteResourceRequest', async ({ resourceType }, thunkAPI) => {\n try {\n return await deleteResource(resourceType);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getDNSRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('whitelabel/getDNSRequest', async (args, thunkAPI) => {\n try {\n return await getDNS();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const saveDNSRequest = createAsyncThunk<\n ResponseSuccess,\n { domain: string },\n { rejectValue: ResponseErrorWithHandled }\n>('whitelabel/saveDNSRequest', async ({ domain }, thunkAPI) => {\n try {\n return await saveDNS(domain);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const deleteDNSRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('whitelabel/deleteDNSRequest', async (args, thunkAPI) => {\n try {\n return await deleteDNS();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n","import { RequestStatus } from '../enums/request-status';\nimport { RequestState } from '../types/request-state';\n\nexport const getInitialRequestState = (): RequestState => ({\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n});\n","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport { ResponseErrorWithHandled } from '../../../../shared/types';\nimport { getInitialRequestState } from '../../../../shared/utils/get-initail-request-state';\nimport { DNSDetails, WhitelabelResource } from './utils/types';\nimport {\n deleteDNSRequest,\n editCompanyNameRequest,\n editResourceRequest,\n deleteResourceRequest,\n getDNSRequest,\n getResourceRequest,\n saveCompanyNameRequest,\n saveDNSRequest,\n uploadResourceRequest,\n} from './extra-actions';\n\ntype RequestState = {\n status: RequestStatus;\n message: string;\n error: ResponseErrorWithHandled;\n};\n\ntype State = {\n saveCompanyNameRequest: RequestState;\n editCompanyNameRequest: RequestState;\n getResourceRequest: RequestState;\n uploadResourceRequest: RequestState;\n editResourceRequest: RequestState;\n deleteResourceRequest: RequestState;\n getDNSRequest: RequestState;\n saveDNSRequest: RequestState;\n deleteDNSRequest: RequestState;\n resources: WhitelabelResource;\n dnsDetails: DNSDetails;\n};\n\nconst initialState: State = {\n saveCompanyNameRequest: getInitialRequestState(),\n editCompanyNameRequest: getInitialRequestState(),\n getResourceRequest: getInitialRequestState(),\n uploadResourceRequest: getInitialRequestState(),\n editResourceRequest: getInitialRequestState(),\n deleteResourceRequest: getInitialRequestState(),\n getDNSRequest: getInitialRequestState(),\n saveDNSRequest: getInitialRequestState(),\n deleteDNSRequest: getInitialRequestState(),\n resources: {\n companyName: '',\n logo: null,\n icon: null,\n favicon: null,\n },\n dnsDetails: {\n id: null,\n domain: '',\n isVerified: null,\n },\n};\n\nconst whitelabelSlice = createSlice({\n name: 'whitelabel',\n initialState,\n reducers: {\n resetResourceState: (state) => {\n state.saveCompanyNameRequest = initialState.saveCompanyNameRequest;\n state.uploadResourceRequest = initialState.uploadResourceRequest;\n state.editCompanyNameRequest = initialState.editCompanyNameRequest;\n state.editResourceRequest = initialState.editResourceRequest;\n state.deleteResourceRequest = initialState.deleteResourceRequest;\n },\n },\n extraReducers: (builder) => {\n // saveCompanyNameRequest\n builder.addCase(saveCompanyNameRequest.pending, (state) => {\n state.saveCompanyNameRequest.status = RequestStatus.Pending;\n state.saveCompanyNameRequest.error = null;\n });\n builder.addCase(saveCompanyNameRequest.fulfilled, (state, action) => {\n state.saveCompanyNameRequest.status = RequestStatus.Succeeded;\n state.saveCompanyNameRequest.message = action.payload.message;\n state.saveCompanyNameRequest.error = null;\n });\n builder.addCase(saveCompanyNameRequest.rejected, (state, action) => {\n state.saveCompanyNameRequest.status = RequestStatus.Failed;\n state.saveCompanyNameRequest.message = action.payload.message;\n state.saveCompanyNameRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // editCompanyNameRequest\n builder.addCase(editCompanyNameRequest.pending, (state) => {\n state.editCompanyNameRequest.status = RequestStatus.Pending;\n state.editCompanyNameRequest.error = null;\n });\n builder.addCase(editCompanyNameRequest.fulfilled, (state, action) => {\n state.editCompanyNameRequest.status = RequestStatus.Succeeded;\n state.editCompanyNameRequest.message = action.payload.message;\n state.editCompanyNameRequest.error = null;\n });\n builder.addCase(editCompanyNameRequest.rejected, (state, action) => {\n state.editCompanyNameRequest.status = RequestStatus.Failed;\n state.editCompanyNameRequest.message = action.payload.message;\n state.editCompanyNameRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // getResourceRequest\n builder.addCase(getResourceRequest.pending, (state) => {\n state.getResourceRequest.status = RequestStatus.Pending;\n state.getResourceRequest.error = null;\n });\n builder.addCase(getResourceRequest.fulfilled, (state, action) => {\n state.getResourceRequest.status = RequestStatus.Succeeded;\n state.resources = action.payload.payload;\n state.getResourceRequest.error = null;\n });\n builder.addCase(getResourceRequest.rejected, (state, action) => {\n state.getResourceRequest.status = RequestStatus.Failed;\n state.getResourceRequest.message = action.payload.message;\n state.getResourceRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // uploadResourceRequest\n builder.addCase(uploadResourceRequest.pending, (state) => {\n state.uploadResourceRequest.status = RequestStatus.Pending;\n state.uploadResourceRequest.error = null;\n });\n builder.addCase(uploadResourceRequest.fulfilled, (state, action) => {\n state.uploadResourceRequest.status = RequestStatus.Succeeded;\n state.uploadResourceRequest.message = action.payload.message;\n state.uploadResourceRequest.error = null;\n });\n builder.addCase(uploadResourceRequest.rejected, (state, action) => {\n state.uploadResourceRequest.status = RequestStatus.Failed;\n state.uploadResourceRequest.message = action.payload.message;\n state.uploadResourceRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // editResourceRequest\n builder.addCase(editResourceRequest.pending, (state) => {\n state.editResourceRequest.status = RequestStatus.Pending;\n state.editResourceRequest.error = null;\n });\n builder.addCase(editResourceRequest.fulfilled, (state, action) => {\n state.editResourceRequest.status = RequestStatus.Succeeded;\n state.editResourceRequest.message = action.payload.message;\n state.editResourceRequest.error = null;\n });\n builder.addCase(editResourceRequest.rejected, (state, action) => {\n state.editResourceRequest.status = RequestStatus.Failed;\n state.editResourceRequest.message = action.payload.message;\n state.editResourceRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // deleteResourceRequest\n builder.addCase(deleteResourceRequest.pending, (state) => {\n state.deleteResourceRequest.status = RequestStatus.Pending;\n state.deleteResourceRequest.error = null;\n });\n builder.addCase(deleteResourceRequest.fulfilled, (state, action) => {\n state.deleteResourceRequest.status = RequestStatus.Succeeded;\n state.editResourceRequest.message = action.payload.message;\n state.deleteResourceRequest.error = null;\n });\n builder.addCase(deleteResourceRequest.rejected, (state, action) => {\n state.deleteResourceRequest.status = RequestStatus.Failed;\n state.deleteResourceRequest.message = action.payload.message;\n state.deleteResourceRequest.error =\n !action.payload.isHandled && action.payload;\n });\n\n // getDNSRequest\n builder.addCase(getDNSRequest.pending, (state) => {\n state.getDNSRequest.status = RequestStatus.Pending;\n state.getDNSRequest.error = null;\n });\n builder.addCase(getDNSRequest.fulfilled, (state, action) => {\n state.getDNSRequest.status = RequestStatus.Succeeded;\n state.dnsDetails = action.payload.payload;\n state.getDNSRequest.error = null;\n });\n builder.addCase(getDNSRequest.rejected, (state, action) => {\n state.getDNSRequest.status = RequestStatus.Failed;\n state.getDNSRequest.message = action.payload.message;\n state.getDNSRequest.error = !action.payload.isHandled && action.payload;\n });\n\n // saveDNSRequest\n builder.addCase(saveDNSRequest.pending, (state) => {\n state.saveDNSRequest.status = RequestStatus.Pending;\n state.saveDNSRequest.error = null;\n });\n builder.addCase(saveDNSRequest.fulfilled, (state, action) => {\n state.saveDNSRequest.status = RequestStatus.Succeeded;\n state.saveDNSRequest.error = null;\n });\n builder.addCase(saveDNSRequest.rejected, (state, action) => {\n state.saveDNSRequest.status = RequestStatus.Failed;\n state.saveDNSRequest.message = action.payload.message;\n state.saveDNSRequest.error = !action.payload.isHandled && action.payload;\n });\n\n // deleteDNSRequest\n builder.addCase(deleteDNSRequest.pending, (state) => {\n state.deleteDNSRequest.status = RequestStatus.Pending;\n state.deleteDNSRequest.error = null;\n });\n builder.addCase(deleteDNSRequest.fulfilled, (state, action) => {\n state.deleteDNSRequest.status = RequestStatus.Succeeded;\n state.deleteDNSRequest.error = null;\n });\n builder.addCase(deleteDNSRequest.rejected, (state, action) => {\n state.deleteDNSRequest.status = RequestStatus.Failed;\n state.deleteDNSRequest.message = action.payload.message;\n state.deleteDNSRequest.error =\n !action.payload.isHandled && action.payload;\n });\n },\n});\n\nexport const { resetResourceState } = whitelabelSlice.actions;\nexport default whitelabelSlice.reducer;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../../../store/root-reducer';\nimport LogoBranding from './logo-branding';\nimport {\n deleteResourceRequest,\n editCompanyNameRequest,\n editResourceRequest,\n getResourceRequest,\n saveCompanyNameRequest,\n uploadResourceRequest,\n} from '../../extra-actions';\nimport { ResourceType } from '../../utils/enums';\nimport { resetResourceState } from '../../whitelabel-slice';\nimport { getIsRequestPending } from '../../../../../../shared/utils';\n\nconst mapStateToProps = (state: RootState) => ({\n isLoading: getIsRequestPending(state.whitelabel.getResourceRequest.status),\n getResourceRequestStatus: state.whitelabel.getResourceRequest.status,\n resources: state.whitelabel.resources,\n saveCompanyNameRequestStatus: state.whitelabel.saveCompanyNameRequest.status,\n saveCompanyNameRequestMessage:\n state.whitelabel.saveCompanyNameRequest.message,\n editCompanyNameRequestStatus: state.whitelabel.editCompanyNameRequest.status,\n editCompanyNameRequestMessage:\n state.whitelabel.editCompanyNameRequest.message,\n saveResourceRequestStatus: state.whitelabel.uploadResourceRequest.status,\n deleteResourceRequestStatus: state.whitelabel.deleteResourceRequest.status,\n uploadResourceRequestStatus: state.whitelabel.uploadResourceRequest.status,\n uploadResourceRequestMessage: state.whitelabel.uploadResourceRequest.message,\n editResourceRequestStatus: state.whitelabel.editResourceRequest.status,\n editResourceRequestMessage: state.whitelabel.editResourceRequest.message,\n\n planType: state.home.subscription?.planType,\n planId: state.home.subscription?.planId,\n});\n\nconst mapDispatchToProps = {\n getResource: () => getResourceRequest(),\n saveCompanyNameRequest: (companyName: string) =>\n saveCompanyNameRequest({ companyName }),\n editCompanyNameRequest: (companyName: string) =>\n editCompanyNameRequest({ companyName }),\n saveResourceRequest: (resource: File, resourceType: ResourceType) =>\n uploadResourceRequest({ resource, resourceType }),\n editResourceRequest: (resource: File, resourceType: ResourceType) =>\n editResourceRequest({ resource, resourceType }),\n deleteResourceRequest: (resourceType: ResourceType) =>\n deleteResourceRequest({ resourceType }),\n resetResourceState: () => resetResourceState(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps;\n\nexport default connector(LogoBranding);\n","/* eslint-disable @typescript-eslint/no-unused-expressions */\n/* eslint-disable react/react-in-jsx-scope */\nimport { ImageIcon, SkeletonLoading } from '@saleshandy/design-system';\nimport { OverlayTrigger, Tooltip } from 'react-bootstrap';\nimport { Copy, Refresh } from '@saleshandy/icons';\nimport { Column } from '../../../../../../../shared/design-system/components/organisms/table/types';\nimport { Placement } from '../../../../../../../shared/design-system/components/overlay';\nimport { Images } from '../../../../../../../shared/app-constants';\n\nconst getTooltip = (text: string, exterClass?: string) => (\n \n {text}\n \n);\n\nexport const getDomainSetupTableColumns = (\n refreshDomain: () => void,\n onContentCopy: (text: string) => void,\n isContentCopied: boolean,\n isValidDomain: boolean,\n): Column[] => [\n {\n dataField: 'recordType',\n text: 'Record type',\n headerAlign: 'left',\n cellClasses: 'prospect-field',\n headerClasses: 'name-field',\n component: (cell) => (\n \n {cell}\n \n ),\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: (\n
    \n \n \n
    \n ),\n },\n {\n dataField: 'recordHost',\n text: 'Record / Host',\n headerAlign: 'left',\n cellClasses: 'prospect-field',\n headerClasses: 'name-field',\n component: (cell, row) => (\n
    \n \n {cell}\n \n\n {cell && isValidDomain && (\n \n onContentCopy(row.cNameValue)}\n />\n \n )}\n
    \n ),\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: (\n
    \n \n \n
    \n ),\n },\n {\n dataField: 'pointsToValue',\n text: 'Points to / Value',\n headerAlign: 'left',\n cellClasses: 'prospect-field',\n headerClasses: 'name-field',\n component: (cell) => (\n
    \n \n {cell}\n \n\n \n onContentCopy(cell)}\n />\n \n
    \n ),\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: (\n
    \n \n \n
    \n ),\n },\n {\n dataField: 'isVerified',\n text: 'Status',\n headerAlign: 'left',\n cellClasses: 'prospect-field',\n headerClasses: 'name-field',\n component: (cell) => {\n if (cell === null) {\n return ;\n }\n\n return cell ? (\n \n ) : (\n \n );\n },\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: (\n
    \n \n \n
    \n ),\n },\n {\n dataField: '',\n text: 'Action',\n headerAlign: 'left',\n cellClasses: 'prospect-field',\n headerClasses: 'name-field',\n component: (cell, row) => (\n \n ),\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: (\n
    \n \n \n
    \n ),\n },\n];\n","import React, { useState, useEffect } from 'react';\nimport Table from '../../../../../../../../shared/design-system/components/organisms/table';\nimport { getDomainSetupTableColumns } from '../../utils/domain-setup-table-column';\nimport { PaginationShowHide } from '../../../../../../../../shared/design-system/components/organisms/table/types';\n\nconst DomainSetupTable = ({\n domain,\n onRefresh,\n isVerified = null,\n isDomainSetup,\n isRefreshed,\n}) => {\n const [isContentCopied, setIsContentCopied] = useState(false);\n\n const isValidDomain = () => {\n const domainPattern = /^(?!:\\/\\/)([a-zA-Z0-9-_]{1,63}\\.)+[a-zA-Z]{2,6}$/;\n return domainPattern.test(domain);\n };\n\n const extractParts = () => {\n if (!isValidDomain()) {\n return null;\n }\n\n const parts = domain.split('.');\n\n if (!!parts?.length) {\n const cName = parts[0];\n parts.pop();\n const textDomain = parts.join('.');\n return { cName, textDomain, isSubDomain: parts.length > 1 };\n }\n };\n\n const getTextValue = () => {\n if (!extractParts()?.isSubDomain) {\n return '@';\n }\n\n return extractParts()?.cName;\n };\n\n const handleRefresh = () => {\n if (isDomainSetup) {\n onRefresh();\n }\n };\n\n const data = [\n {\n recordType: 'CNAME',\n recordHost: isValidDomain() ? getTextValue() : 'Brand domain required',\n pointsToValue: 'whitelabel.saleshandy.com',\n isVerified,\n cNameValue: extractParts()?.cName,\n isDisabled: isDomainSetup,\n },\n ];\n\n const onContentCopy = (text) => {\n navigator.clipboard.writeText(text);\n setIsContentCopied(true);\n\n setTimeout(() => {\n setIsContentCopied(false);\n }, 2000);\n };\n\n useEffect(() => {}, [domain]);\n\n return (\n
    \n \n
    \n );\n};\n\nexport default DomainSetupTable;\n","import { Check, Checks } from '@saleshandy/icons';\nimport React from 'react';\n\nconst NotificationBanner = ({ variant = 'primary', message, submessage }) => {\n const baseStyles = {\n padding: '1rem 1.25rem',\n borderRadius: '.5rem',\n display: 'flex',\n alignItems: 'flex-start',\n gap: '.75rem',\n fontFamily: 'Arial, sans-serif',\n };\n\n const variantStyles = {\n primary: {\n backgroundColor: '#EFF6FF',\n color: '#1E40AF',\n },\n success: {\n backgroundColor: '#ECFDF5',\n color: '#166534',\n },\n };\n\n const textStyles = {\n flex: 1,\n };\n\n const renderIcon = () => {\n if (variant === 'success') {\n return ;\n }\n return ;\n };\n\n return (\n
    \n {renderIcon()}\n
    \n
    \n {message}\n
    \n {typeof submessage === 'string' ? (\n
    \n {submessage}\n
    \n ) : (\n submessage\n )}\n
    \n
    \n );\n};\n\nexport default NotificationBanner;\n","import React, { useState, useEffect } from 'react';\nimport { Button, ImageIcon, SkeletonLoading } from '@saleshandy/design-system';\nimport { Trash } from '@saleshandy/icons';\nimport { OverlayTooltip } from '../../../../../../shared/design-system/components/overlay';\nimport { Images } from '../../../../../../shared/app-constants';\nimport type { IProps } from './domain-configuration-container';\nimport Input from '../../../../../../shared/design-system/components/input';\nimport LinkBadge from '../../../../../../shared/design-system/components/atoms/link-badge';\nimport DomainSetupTable from './components/domain-setup-table';\nimport {\n AuthHelper,\n executeOnRequestStatus,\n getIsRequestPending,\n} from '../../../../../../shared/utils';\nimport { supportUrls } from '../../../../../../shared/utils/urls';\nimport NotificationBanner from '../../../../../../shared/design-system/components/notification-banner';\nimport DeleteAlertModal from '../../../../../../shared/components/delete-alert-modal';\nimport toaster, { Theme } from '../../../../../../shared/toaster';\nimport { accessibleOnClick } from '../../../../../../shared/utils/accessible-on-click';\nimport hasPermission from '../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../shared/utils/access-control/enums/permissions';\nimport planPermissionError from '../../../../../../shared/utils/errors/plan-permission-error';\nimport { isInternalUrl } from '../../../../../../shared/utils/is-internal-url';\n\nconst DomainConfiguration: React.FC = ({\n isLoading,\n dnsDetails,\n getDNSDetailsRequestStatus,\n saveDNSRequestStatus,\n deleteDNSRequestStatus,\n getDNSRequest,\n saveDNSRequest,\n deleteDNSRequest,\n showGettingStartedVideoModal,\n}) => {\n const [domain, setDomain] = useState(dnsDetails?.domain || '');\n const [isDeleteModalVisible, setIsDeleteModalVisible] = useState(false);\n const [isError, setIsError] = useState(false);\n const [isRefreshed, setIsRefreshed] = useState(false);\n\n const removeTrailingSlash = (url) => {\n if (url.endsWith('/')) {\n return url.slice(0, -1);\n }\n return url;\n };\n\n const isValidDomain = () => {\n const domainPattern = /^(?!:\\/\\/)([a-zA-Z0-9-_]{1,63}\\.)+[a-zA-Z]{2,6}$/;\n let d = domain;\n\n if (d?.endsWith('/')) {\n d = removeTrailingSlash(domain);\n }\n\n return domainPattern.test(d);\n };\n\n const handleRefresh = () => {\n setIsRefreshed(true);\n getDNSRequest();\n };\n\n const onInputBlur = () => {\n setIsError(!isValidDomain());\n\n if (domain?.endsWith('/')) {\n setDomain(removeTrailingSlash(domain));\n }\n };\n const onDomainChange = (v: string) => {\n v = v.replace(/http(s?):\\/\\//, '').replace(/^www\\./, '');\n setDomain(v);\n\n if (isError) {\n onInputBlur();\n }\n };\n\n const showUpgradePlanErrorModal = () => {\n // setIsRestrictionModalVisible(true);\n const title = 'Upgrade your plan for whitelabeling';\n const content = [\n \"Your current plan doesn't allow you to rebrand yourself.\",\n 'Please upgrade to the outreach scale or higher plans to use Whitelabel as a feature.',\n ];\n\n planPermissionError.showModal(title, content, true);\n };\n\n const onSetupDomain = () => {\n if (!hasPermission(Permissions.WHITELABEL_ACCESS)) {\n showUpgradePlanErrorModal();\n return;\n }\n\n saveDNSRequest(domain);\n };\n\n const onDeleteDNS = () => {\n deleteDNSRequest();\n };\n\n const onRedirect = () =>\n window.open(`https://${dnsDetails?.domain}`, '_blank');\n\n //* useEffect */\n useEffect(() => {\n if (hasPermission(Permissions.WHITELABEL_ACCESS)) {\n getDNSRequest();\n }\n }, []);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getDNSDetailsRequestStatus,\n onSuccess: () => {\n setDomain(dnsDetails?.domain);\n setIsRefreshed(false);\n },\n });\n }, [getDNSDetailsRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: deleteDNSRequestStatus,\n onSuccess: () => {\n toaster.success('Brand domain deleted successfully', {\n theme: Theme.New,\n });\n setDomain('');\n setIsDeleteModalVisible(false);\n getDNSRequest();\n\n if (!isInternalUrl() && dnsDetails.isVerified) {\n AuthHelper.logout({\n pathName: '/login',\n isBackToMainSHDomain: true,\n });\n }\n },\n });\n }, [deleteDNSRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: saveDNSRequestStatus,\n onSuccess: () => {\n getDNSRequest();\n },\n });\n }, [saveDNSRequestStatus]);\n\n if (getIsRequestPending(getDNSDetailsRequestStatus) && !isRefreshed) {\n return (\n
    \n \n
    \n );\n }\n\n return (\n
    \n {dnsDetails.isVerified ? (\n <>\n
    \n \n Brand Domain\n \n
    \n \n setIsDeleteModalVisible(true))}\n >\n setIsDeleteModalVisible(true)}\n />\n
    \n \n
    \n
    \n\n
    \n \n\n
    \n \n All set! Login with your brand domain now.{' '}\n \n Click here\n \n \n }\n />\n
    \n
    \n \n ) : (\n <>\n
    \n
    \n \n Setup Your Brand Domain\n \n
    \n \n showGettingStartedVideoModal(true)\n }\n alt=\"youtube\"\n className=\"ml-2 pointer\"\n />\n \n
    \n
    \n
    \n {dnsDetails?.id && (\n
    \n \n \n setIsDeleteModalVisible(true),\n )}\n >\n setIsDeleteModalVisible(true)}\n />\n
    \n \n
    \n )}\n
    \n \n\n
    \n
    \n
    \n 1\n \n Enter your brand domain to replace all Saleshandy URLs{' '}\n \n
    \n\n \n
    \n\n
    \n 2\n \n Log in to your domain provider (e.g. Godaddy, Namecheap) and\n navigate to the DNS settings\n \n \n
    \n\n
    \n
    \n
    \n \n 3\n \n
    \n \n Add a CNAME record in your DNS settings by copying the below\n details\n \n
    \n
    \n \n
    \n
    \n
    \n\n
    \n \n Setup Domain\n \n
    \n\n {isLoading && (\n
    \n \n
    \n )}\n \n )}\n\n {isDeleteModalVisible && (\n setIsDeleteModalVisible(false)}\n onSubmit={onDeleteDNS}\n />\n )}\n \n );\n};\n\nexport default DomainConfiguration;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../../../store/root-reducer';\nimport {\n deleteDNSRequest,\n getDNSRequest,\n saveDNSRequest,\n} from '../../extra-actions';\nimport DomainConfiguration from './domain-configuration';\nimport { showGettingStartedVideoModal } from '../../../../../home/home-slice';\nimport { getIsRequestPending } from '../../../../../../shared/utils';\n\nconst mapStateToProps = (state: RootState) => ({\n isLoading: getIsRequestPending(state.whitelabel.saveDNSRequest.status),\n dnsDetails: state.whitelabel.dnsDetails,\n getDNSDetailsRequestStatus: state.whitelabel.getDNSRequest.status,\n saveDNSRequestStatus: state.whitelabel.saveDNSRequest.status,\n deleteDNSRequestStatus: state.whitelabel.deleteDNSRequest.status,\n\n planType: state.home.subscription?.planType,\n planId: state.home.subscription?.planId,\n});\n\nconst mapDispatchToProps = {\n getDNSRequest: () => getDNSRequest(),\n saveDNSRequest: (domain: string) => saveDNSRequest({ domain }),\n deleteDNSRequest: () => deleteDNSRequest(),\n showGettingStartedVideoModal: (show: boolean) =>\n showGettingStartedVideoModal({ show }),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps;\n\nexport default connector(DomainConfiguration);\n","import React, { useState, useEffect } from 'react';\nimport Tabs, { TabPane } from 'rc-tabs';\nimport { GlobalSettings } from '../../../../shared/components/global-settings-wrapper';\nimport type { IProps } from './whitelabel-container';\nimport { WhitelabelTabs } from './utils/enums';\nimport LogoBranding from './components/logo-branding';\nimport DomainConfiguration from './components/domain-configuration';\nimport PremiumFeatureIndicator from '../../../../shared/components/premium-feature-indicator';\nimport { userHasWhitelabelAccessPermission } from '../../../../shared/utils/user-details';\nimport LinkBadge from '../../../../shared/design-system/components/atoms/link-badge';\nimport { supportUrls } from '../../../../shared/utils/urls';\n\nconst Whitelabel: React.FC = ({ resetResourceState }) => {\n //* State */\n const [activeTabKey, setActiveTabKey] = useState('logo-branding');\n\n //* Helper Functions */\n const onTabChange = (key: string) => {\n setActiveTabKey(key);\n };\n\n useEffect(\n () => () => {\n resetResourceState();\n },\n [],\n );\n\n return (\n <>\n \n \n \n \n
    \n \n
    \n
    \n
    \n \n onTabChange(key)}\n >\n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default Whitelabel;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps } from 'react-router';\nimport { RootState } from '../../../../store/root-reducer';\nimport Whitelabel from './whitelabel';\nimport { resetResourceState } from './whitelabel-slice';\n\nconst mapStateToProps = (state: RootState) => ({\n isLoading: state.safetySettings.isLoading,\n});\n\nconst mapDispatchToProps = {\n resetResourceState: () => resetResourceState(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & RouteComponentProps;\n\nexport default connector(Whitelabel);\n","import React from 'react';\nimport { Images } from '../../../../../../shared/app-constants';\nimport TableSkeleton from '../../../../../../shared/design-system/components/atoms/skeletons';\nimport Table from '../../../../../../shared/design-system/components/organisms/table';\nimport { PaginationShowHide } from '../../../../../../shared/design-system/components/organisms/table/types';\nimport customDomainColumnData from './helpers/custom-domain-data';\n\ntype IProps = {\n customDomains: any[];\n isRequestPending: boolean;\n editClickHandler: (row) => void;\n deleteClickHandler: (row) => void;\n defaultClickHandler: (row) => void;\n};\nexport enum CustomDomainRowActions {\n Edit = 'Edit',\n Delete = 'Delete',\n Default = 'Default',\n}\n\nconst CustomDomainList: React.FC = ({\n customDomains,\n editClickHandler,\n deleteClickHandler,\n isRequestPending,\n defaultClickHandler,\n}) => {\n // static.\n const actions = [\n {\n key: CustomDomainRowActions.Edit,\n displayName: 'Edit',\n imageIcon: Images.Pencil,\n },\n {\n key: CustomDomainRowActions.Delete,\n displayName: 'Delete',\n imageIcon: Images.TrashLight,\n },\n {\n key: CustomDomainRowActions.Default,\n displayName: 'Set as Default',\n imageIcon: Images.FileCheck,\n conditionKey: 'isDefault',\n condition: false,\n },\n ];\n\n // handlers.\n\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const onAction = (actionKey, row) => {\n switch (actionKey) {\n case CustomDomainRowActions.Edit:\n editClickHandler(row);\n break;\n\n case CustomDomainRowActions.Delete:\n deleteClickHandler(row);\n break;\n\n case CustomDomainRowActions.Default:\n defaultClickHandler(row.customDomain);\n break;\n\n default:\n break;\n }\n };\n const table = !isRequestPending ? (\n onAction(actionKey, row)}\n paginationOptions={{\n options: {\n limit: 1000,\n page: 0,\n totalElements: 1000,\n },\n }}\n headerVisibleForGenerateColumn={true}\n borderOverActions={false}\n pagination={PaginationShowHide.HIDE}\n />\n ) : (\n \n );\n\n // render.\n return table;\n};\n\nexport default CustomDomainList;\n","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport {\n CustomDomainType,\n CustomDomainWithEmailAccountType,\n} from '../../types/custom-domain';\nimport {\n getCustomDomainsRequest,\n createCustomDomainRequest,\n deleteCustomDomainRequest,\n updateCustomDomainRequest,\n getCustomDomainsListRequest,\n setDefaultCustomDomainRequest,\n checkBulkEmailAccountSetupScoreRequest,\n} from './extra-actions';\n\ninterface RequestState {\n status: RequestStatus;\n message: string;\n error: any;\n}\n\ninterface State {\n // getEmailAccountsListRequest: RequestState;\n setDefaultCustomDomainRequest: RequestState;\n getCustomDomainsRequest: RequestState;\n getCustomDomainsListRequest: RequestState;\n createCustomDomainRequest: RequestState;\n deleteCustomDomainRequest: RequestState;\n updateCustomDomainRequest: RequestState;\n checkBulkEmailAccountSetupScoreRequest: RequestState;\n customDomains: CustomDomainWithEmailAccountType[];\n customDomainsList: CustomDomainType[];\n isLoading: boolean;\n}\n\nconst initialState: State = {\n setDefaultCustomDomainRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getCustomDomainsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getCustomDomainsListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n createCustomDomainRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n deleteCustomDomainRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateCustomDomainRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n checkBulkEmailAccountSetupScoreRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n\n customDomains: [],\n customDomainsList: [],\n isLoading: false,\n};\n\nconst customDomainSlice = createSlice({\n name: 'customDomain',\n initialState,\n reducers: {\n resetCustomDomainState: (state: State) => {\n state.setDefaultCustomDomainRequest =\n initialState.setDefaultCustomDomainRequest;\n },\n resetCustomTrackingDomainState: (state) => {\n state.getCustomDomainsRequest = initialState.getCustomDomainsRequest;\n state.getCustomDomainsListRequest =\n initialState.getCustomDomainsListRequest;\n state.createCustomDomainRequest = initialState.createCustomDomainRequest;\n state.updateCustomDomainRequest = initialState.updateCustomDomainRequest;\n state.deleteCustomDomainRequest = initialState.deleteCustomDomainRequest;\n state.customDomains = initialState.customDomains;\n state.customDomainsList = initialState.customDomainsList;\n state.isLoading = initialState.isLoading;\n },\n resetCreateCustomTrackingDomain: (state) => {\n state.createCustomDomainRequest = initialState.createCustomDomainRequest;\n },\n resetUpdateCustomTrackingDomain: (state) => {\n state.updateCustomDomainRequest = initialState.updateCustomDomainRequest;\n },\n resetDeleteCustomTrackingDomain: (state) => {\n state.deleteCustomDomainRequest = initialState.deleteCustomDomainRequest;\n },\n resetCheckBulkEmailAccountSetupScoreRequest: (state) => {\n state.checkBulkEmailAccountSetupScoreRequest =\n initialState.checkBulkEmailAccountSetupScoreRequest;\n },\n },\n extraReducers: (builder) => {\n // Set default custom domain\n builder.addCase(setDefaultCustomDomainRequest.pending, (state) => {\n state.setDefaultCustomDomainRequest.status = RequestStatus.Pending;\n state.setDefaultCustomDomainRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(\n setDefaultCustomDomainRequest.fulfilled,\n (state, action) => {\n state.setDefaultCustomDomainRequest.status = RequestStatus.Succeeded;\n state.setDefaultCustomDomainRequest.message = action.payload.message;\n state.isLoading = false;\n },\n );\n builder.addCase(setDefaultCustomDomainRequest.rejected, (state, action) => {\n state.setDefaultCustomDomainRequest.status = RequestStatus.Failed;\n state.setDefaultCustomDomainRequest.error = action.payload;\n state.isLoading = false;\n });\n\n // get custom domains.\n builder.addCase(getCustomDomainsRequest.pending, (state) => {\n state.getCustomDomainsRequest.status = RequestStatus.Pending;\n state.getCustomDomainsRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(getCustomDomainsRequest.fulfilled, (state, action) => {\n state.getCustomDomainsRequest.status = RequestStatus.Succeeded;\n state.getCustomDomainsRequest.message = action.payload.message;\n state.customDomains = action.payload.payload;\n state.isLoading = false;\n });\n builder.addCase(getCustomDomainsRequest.rejected, (state, action) => {\n state.getCustomDomainsRequest.status = RequestStatus.Failed;\n state.getCustomDomainsRequest.error = action.payload;\n state.isLoading = false;\n });\n\n // get custom domains list.\n builder.addCase(getCustomDomainsListRequest.pending, (state) => {\n state.getCustomDomainsListRequest.status = RequestStatus.Pending;\n state.getCustomDomainsListRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(getCustomDomainsListRequest.fulfilled, (state, action) => {\n state.getCustomDomainsListRequest.status = RequestStatus.Succeeded;\n state.getCustomDomainsListRequest.message = action.payload.message;\n state.customDomainsList = action.payload.payload;\n state.isLoading = false;\n });\n builder.addCase(getCustomDomainsListRequest.rejected, (state, action) => {\n state.getCustomDomainsListRequest.status = RequestStatus.Failed;\n state.getCustomDomainsListRequest.error = action.payload;\n state.isLoading = false;\n });\n\n // create custom domain.\n builder.addCase(createCustomDomainRequest.pending, (state) => {\n state.createCustomDomainRequest.status = RequestStatus.Pending;\n state.createCustomDomainRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(createCustomDomainRequest.fulfilled, (state, action) => {\n state.createCustomDomainRequest.status = RequestStatus.Succeeded;\n state.createCustomDomainRequest.message = action.payload.message;\n state.isLoading = false;\n });\n builder.addCase(createCustomDomainRequest.rejected, (state, action) => {\n state.createCustomDomainRequest.status = RequestStatus.Failed;\n state.createCustomDomainRequest.error = action.payload;\n state.isLoading = false;\n });\n\n // delete custom domain.\n builder.addCase(deleteCustomDomainRequest.pending, (state) => {\n state.deleteCustomDomainRequest.status = RequestStatus.Pending;\n state.deleteCustomDomainRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(deleteCustomDomainRequest.fulfilled, (state, action) => {\n state.deleteCustomDomainRequest.status = RequestStatus.Succeeded;\n state.deleteCustomDomainRequest.message = action.payload.message;\n state.isLoading = false;\n });\n builder.addCase(deleteCustomDomainRequest.rejected, (state, action) => {\n state.deleteCustomDomainRequest.status = RequestStatus.Failed;\n state.deleteCustomDomainRequest.error = action.payload;\n state.isLoading = false;\n });\n\n // patch custom domain.\n builder.addCase(updateCustomDomainRequest.pending, (state) => {\n state.updateCustomDomainRequest.status = RequestStatus.Pending;\n state.updateCustomDomainRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(updateCustomDomainRequest.fulfilled, (state, action) => {\n state.updateCustomDomainRequest.status = RequestStatus.Succeeded;\n state.updateCustomDomainRequest.message = action.payload.message;\n state.isLoading = false;\n });\n builder.addCase(updateCustomDomainRequest.rejected, (state, action) => {\n state.updateCustomDomainRequest.status = RequestStatus.Failed;\n state.updateCustomDomainRequest.error = action.payload;\n state.isLoading = false;\n });\n\n // check bulk email account setup score\n builder.addCase(checkBulkEmailAccountSetupScoreRequest.pending, (state) => {\n state.checkBulkEmailAccountSetupScoreRequest.status =\n RequestStatus.Pending;\n state.checkBulkEmailAccountSetupScoreRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(\n checkBulkEmailAccountSetupScoreRequest.fulfilled,\n (state, action) => {\n state.checkBulkEmailAccountSetupScoreRequest.status =\n RequestStatus.Succeeded;\n state.checkBulkEmailAccountSetupScoreRequest.message =\n action.payload.message;\n state.isLoading = false;\n },\n );\n builder.addCase(\n checkBulkEmailAccountSetupScoreRequest.rejected,\n (state, action) => {\n state.checkBulkEmailAccountSetupScoreRequest.status =\n RequestStatus.Failed;\n state.checkBulkEmailAccountSetupScoreRequest.error = action.payload;\n state.isLoading = false;\n },\n );\n },\n});\n\nexport const {\n resetCustomTrackingDomainState,\n resetCreateCustomTrackingDomain,\n resetUpdateCustomTrackingDomain,\n resetDeleteCustomTrackingDomain,\n resetCheckBulkEmailAccountSetupScoreRequest,\n} = customDomainSlice.actions;\nexport { getCustomDomainsRequest };\nexport const { resetCustomDomainState } = customDomainSlice.actions;\nexport default customDomainSlice.reducer;\n","import React from 'react';\nimport { components } from 'react-select';\nimport Icon from '../icon';\n\nexport const style = {\n clearIndicator: (base, state) => {\n return {\n ...base,\n cursor: 'pointer',\n color: state.isFocused ? 'blue' : 'black',\n };\n },\n indicatorSeparator: () => {\n return {\n display: 'none',\n };\n },\n option: (provided, { isFocused }) => {\n return {\n ...provided,\n padding: '.25rem .5rem',\n display: 'flex',\n alignItems: 'center',\n cursor: 'pointer',\n fontSize: '14px',\n lineHeight: '22px',\n color: '#262626',\n backgroundColor: isFocused ? '#e6f7ff' : null,\n ':active': {\n ...provided[':active'],\n backgroundColor: '#e6f7ff',\n },\n };\n },\n container: (base) => {\n return {\n ...base,\n width: '100%',\n fontSize: '14px',\n };\n },\n\n valueContainer: (base) => {\n return {\n ...base,\n padding: '4px 11px',\n };\n },\n\n placeholder: (provided) => {\n return {\n ...provided,\n fontSize: '14px',\n fontFamily: 'inherit',\n color: '#BFBFBF',\n margin: '0',\n lineHeight: '0',\n };\n },\n input: (provided) => {\n return {\n ...provided,\n margin: '0',\n padding: '0',\n };\n },\n};\nexport const DropdownIndicator = (props) => {\n return (\n \n \n \n );\n};\n","import React from 'react';\nimport Select from 'react-select';\n\nimport { DropdownIndicator, style } from './select-customizations';\n\ntype MultiSelectProps = {\n placeholder;\n components?;\n onChange;\n className;\n classNamePrefix;\n defaultValue;\n options;\n disabled?: boolean;\n isLoading?: boolean;\n};\n\nconst MultiSelect: React.FC = ({\n placeholder,\n onChange,\n className,\n classNamePrefix,\n defaultValue,\n options,\n components,\n disabled = false,\n isLoading = false,\n}) => (\n \n);\n\nexport default MultiSelect;\n","import React, { useRef } from 'react';\nimport { Col, Row } from 'react-bootstrap';\nimport Input from '../../../../../../shared/design-system/components/input';\nimport { IconPlace } from '../../../../../../shared/design-system/components/input/enums';\nimport { InputIconConfig } from '../../../../../../shared/design-system/components/input/types';\nimport toaster from '../../../../../../shared/toaster';\nimport { copyToClipboard } from '../../../../../../shared/utils/copy-to-clipboard';\n\nconst CustomDomainDnsRecord = ({ host, value }) => {\n const hostInput = useRef(null);\n const valueInput = useRef(null);\n\n const onCopyClickHost = () => {\n copyToClipboard(host ? host : '', hostInput.current);\n toaster.success('Host copied to clipboard');\n };\n\n const onCopyClickValue = () => {\n copyToClipboard(value ? value : '', valueInput.current);\n toaster.success('Value copied to clipboard');\n };\n\n // static.\n const inputIconConfig: InputIconConfig[] = [\n {\n identifier: 'copy',\n place: IconPlace.Right,\n colorDefault: false,\n onClick: onCopyClickHost,\n },\n {\n identifier: 'copy',\n place: IconPlace.Right,\n colorDefault: false,\n onClick: onCopyClickValue,\n },\n ];\n\n return (\n
    \n \n Type\n Host\n Value\n \n \n \n CNAME\n \n \n \n \n \n \n \n \n
    \n );\n};\n\nexport default CustomDomainDnsRecord;\n","import { isNull, isUndefined } from 'lodash';\nimport React, { useEffect, useState } from 'react';\nimport { Col, Row } from 'react-bootstrap';\nimport { useSelector } from 'react-redux';\nimport Alert from '../../../../../../shared/design-system/components/alert';\nimport Modal from '../../../../../../shared/design-system/components/atoms/modal';\nimport Icon from '../../../../../../shared/design-system/components/atoms/icon';\nimport MultiSelect from '../../../../../../shared/design-system/components/atoms/multi-select';\nimport Input from '../../../../../../shared/design-system/components/input';\nimport { RequestStatus } from '../../../../../../shared/enums/request-status';\nimport { CustomDomainType } from '../../../../types/custom-domain';\nimport { DomainModal } from '../../custom-domain';\nimport CustomDomainDnsRecord from '../custom-domain-dns-record';\nimport { AgencyConfig } from '../../../../../home/types';\nimport { supportUrls } from '../../../../../../shared/utils/urls';\nimport { RootState } from '../../../../../../store/root-reducer';\n\nexport type IProps = {\n show: boolean;\n hide: () => void;\n verifyAndSave: (newDomain, emailAccountIds) => void;\n verificationStatus: RequestStatus;\n modalTitle?: DomainModal;\n customDomain?: CustomDomainType;\n emailAccounts?: MultiSelectOption[];\n selectedValues?: MultiSelectOption[];\n agencyConfig: Partial;\n isEmailAccountsLoading?: boolean;\n};\n\nexport type MultiSelectOption = {\n value: string;\n label: string;\n};\n\nconst CustomDomainModal: React.FC = ({\n show,\n hide,\n modalTitle,\n customDomain,\n emailAccounts,\n verifyAndSave,\n verificationStatus,\n selectedValues,\n agencyConfig,\n isEmailAccountsLoading,\n}) => {\n // states.\n const [hostName, setHostName] = useState();\n const [domain, setDomain] = useState();\n const [domainInputField, setDomainInputField] = useState<{ error: string }>({\n error: null,\n });\n const [emailAccountIds, setEmailAccountIds] = useState([]);\n const { REACT_APP_TRACKING_SERVICE_HOST } = process.env;\n const domainValue = REACT_APP_TRACKING_SERVICE_HOST;\n\n const createCustomDomainRequestError = useSelector(\n (state: RootState) =>\n state.customDomain?.createCustomDomainRequest?.error?.message,\n );\n const updateCustomDomainRequestError = useSelector(\n (state: RootState) =>\n state.customDomain?.updateCustomDomainRequest?.error?.message,\n );\n\n const setHostAndDomain = (value: string) => {\n if (!(isNull(value) || isUndefined(value))) {\n const domainArray = value.split('.');\n setHostName(domainArray[0]);\n setDomain(value);\n }\n };\n\n // lifecycle functions.\n useEffect(\n () => () => {\n setDomain('');\n setHostName('');\n setEmailAccountIds(null);\n },\n [],\n );\n\n useEffect(() => {\n if (customDomain) {\n setHostAndDomain(customDomain.domain);\n }\n if (selectedValues) {\n const optionValues = selectedValues.map((option) => Number(option.value));\n setEmailAccountIds(optionValues);\n }\n }, [customDomain, selectedValues]);\n\n useEffect(() => {\n if (createCustomDomainRequestError) {\n setDomainInputField({ error: createCustomDomainRequestError });\n }\n if (updateCustomDomainRequestError) {\n setDomainInputField({ error: updateCustomDomainRequestError });\n }\n }, [createCustomDomainRequestError, updateCustomDomainRequestError]);\n\n // handlers.\n const multiSelectHandler = (options) => {\n const optionValues = options.map((option) => Number(option.value));\n setEmailAccountIds(optionValues);\n };\n\n const onDomainChangeHandler = (value: string) => {\n setHostAndDomain(value);\n };\n\n const onCloseModal = () => {\n hide();\n };\n\n const onVerifyClickHandler = () => {\n if (!domain) {\n setDomainInputField({ error: 'Please enter your domain.' });\n return;\n }\n setDomainInputField({ error: null });\n verifyAndSave(domain, emailAccountIds);\n };\n\n // render.\n return (\n \n \n \n
    Email Accounts
    \n multiSelectHandler(options)}\n className=\"multi-select\"\n classNamePrefix=\"multi-select\"\n disabled={customDomain.isDefault}\n isLoading={isEmailAccountsLoading}\n />\n \n
    \n \n \n
    \n Custom tracking domain name\n
    \n onDomainChangeHandler(value)}\n />\n \n
    \n \n {agencyConfig?.showFAQ && (\n \n \n \n You’ll need access to your domain hosting service to configure\n custom tracking domain. You will need to add DNS records, CNAME and\n TXT records. Copy host value for each record and add them to your\n domain manager. Refer{' '}\n \n this\n {' '}\n article to know more.\n \n \n )}\n \n );\n};\n\nexport default CustomDomainModal;\n","import React from 'react';\nimport { Button } from '@saleshandy/design-system';\nimport { SubscriptionPlans } from '../../../../../../shared/utils/subscription-plans';\nimport { GlobalSettings } from '../../../../../../shared/components/global-settings-wrapper';\nimport { ResourceIdentifiers } from '../../../../../../shared/utils/access-control/enums/resource-identifiers';\nimport hasResource from '../../../../../../shared/utils/access-control/has-resource';\n\ntype IProps = {\n subscriptionPlan: SubscriptionPlans;\n onClick: VoidFunction;\n};\n\nconst CustomDomainHeader: React.FC = ({\n subscriptionPlan,\n onClick,\n}) => (\n \n \n \n \n \n
    \n
    \n \n Add Custom Domain\n \n
    \n
    \n
    \n
    \n);\n\nexport default CustomDomainHeader;\n","import React from 'react';\nimport ContentLoader, { IContentLoaderProps } from 'react-content-loader';\n\nexport type TableSkeletonProps = IContentLoaderProps & {\n colCount?: number;\n rowCount?: number;\n rowWidth?: number;\n};\nconst vpX = 400;\n// const vpY = 300;\n\nconst headerFactory = (colCount, rowWidth = 20) => {\n const headerBoxesPos: { x: number; y: number }[] = [];\n const box = {\n width: 20,\n height: 3,\n };\n const boxXY = {\n x: box.width,\n y: 0,\n };\n\n for (\n let i = 0, y = boxXY.y + rowWidth / 2 - box.height / 2;\n i < colCount;\n i++\n ) {\n headerBoxesPos.push({\n x: i * (vpX / colCount) + vpX / colCount / 2 - box.width / 2,\n y,\n });\n }\n\n return headerBoxesPos.map((el, index) => (\n \n ));\n};\n\nconst rowFactory = (colCount, rowCount, rowWidth = 20) => {\n const rowLinePos: { x: number; y: number }[] = [];\n const rowElementPos: { x: number; y: number }[] = [];\n const box = {\n width: 20,\n height: 1,\n };\n const boxXY = {\n x: box.width,\n y: 0,\n };\n\n for (let i = 1, lineX = 0; i <= rowCount; i++) {\n rowLinePos.push({ x: lineX, y: rowWidth * i + boxXY.y });\n\n for (let j = 0; j < colCount; j++) {\n rowElementPos.push({\n x: j * (vpX / colCount) + vpX / colCount / 2 - box.width / 2,\n y: rowWidth * (i + 1) - rowWidth / 2 + box.height / 2,\n });\n }\n }\n const rows = {\n rowLines: rowLinePos.map((el, index) => (\n \n )),\n rowElements: rowElementPos.map((el, index) => (\n \n )),\n };\n return rows;\n};\n\nconst TableSkeleton: React.FC = ({\n width = '100%',\n height = '100%',\n colCount = 3,\n rowCount = 3,\n rowWidth = 20,\n ...rest\n}) => {\n const headerBoxes = headerFactory(colCount, rowWidth);\n const { rowLines, rowElements } = rowFactory(colCount, rowCount, rowWidth);\n return (\n \n {headerBoxes}\n {rowLines}\n {rowElements}\n \n );\n};\n\nexport default TableSkeleton;\n","import React from 'react';\nimport Icon from '../../../../../../../shared/design-system/components/atoms/icon';\nimport {\n Overlay,\n Placement,\n Tooltip,\n} from '../../../../../../../shared/design-system/components/overlay';\nimport Tag from '../../../../../../../shared/design-system/components/tag';\n\nconst CustomDomainValidIcon = ({ customDomain }) => {\n const iconConfig = {\n identifier: customDomain.isValid ? 'check-o' : 'danger',\n color: customDomain.isValid ? 'lime-txt-8' : 'red-txt-6',\n text: customDomain.isValid ? 'Valid' : 'Invalid',\n };\n return (\n
    \n {customDomain.domain}\n }\n >\n \n \n {customDomain.isDefault ? (\n \n ) : (\n <>\n )}\n
    \n );\n};\n\nexport default CustomDomainValidIcon;\n","/* eslint-disable consistent-return */\nimport React from 'react';\nimport CellCard from '../../../../../../../shared/design-system/components/atoms/cell-card';\nimport CustomDomainValidIcon from './custom-domain-valid-icon';\n\nconst customDomainColumnData = [\n {\n dataField: 'customDomain',\n text: 'Domain Name',\n headerAlign: 'left',\n cellClasses: 'name-field',\n component: (cell) => ,\n },\n {\n dataField: 'emailAccounts',\n text: 'Email',\n headerAlign: 'left',\n component: (cell) => {\n if (cell && cell.length > 0) {\n const mappedCell = cell.map((emailAccount) => ({\n value: emailAccount.email,\n }));\n return (\n \n );\n }\n },\n },\n];\n\nexport default customDomainColumnData;\n","import { TFunction } from 'i18next';\nimport { isEmpty } from 'lodash';\nimport { CustomDomainWithEmailAccountType } from '../../types/custom-domain';\n\nexport enum ConditionTypeEnum {\n If = 'if',\n IfElse = 'if-else',\n}\n\nexport const showWithCondition = (\n condition: boolean,\n ifComponent: any,\n elseComponent: any,\n conditionType: ConditionTypeEnum,\n) => {\n if (conditionType === ConditionTypeEnum.If) {\n return condition && ifComponent;\n }\n return condition ? ifComponent : elseComponent;\n};\n\nexport const deleteCustomDomainTitle = () =>\n 'messages.delete_custom_domain_title';\n\nexport const deleteCustomDomainContent = (\n customDomain: CustomDomainWithEmailAccountType,\n t: TFunction,\n) => {\n if (customDomain?.customDomain?.isDefault) {\n return [\n t('messages.delete_default_custom_domain_content_1'),\n t('messages.delete_default_custom_domain_content_2'),\n ];\n }\n\n return [t('messages.delete_default_custom_domain_content_2')];\n};\n\nexport const executeVerifyAndSave = ({\n emailAccountsToBeRemoved,\n emailAccountsToBeInserted,\n modalDomain,\n newDomain,\n onSendUpdateCustomDomainRequest,\n onHideModal,\n}) => {\n if (\n !(\n isEmpty(emailAccountsToBeRemoved) &&\n isEmpty(emailAccountsToBeInserted) &&\n modalDomain.domain === newDomain\n )\n ) {\n onSendUpdateCustomDomainRequest();\n } else {\n onHideModal();\n }\n};\n\nexport const executeSendGetEmailAccountsListRequest = ({\n setShowCustomDomainModal,\n onRequest,\n}) => {\n if (setShowCustomDomainModal) {\n onRequest();\n }\n};\n","import React, { useEffect, useState } from 'react';\nimport { Row, Col } from 'react-bootstrap';\nimport { difference, flatMap } from 'lodash';\nimport { useTranslation } from 'react-i18next';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport CustomDomainModal from './components/custom-domain-modal';\nimport CustomDomainHeader from './components/custom-domain-header';\nimport CustomDomainList from './components/custom-domain-list';\nimport type { IProps } from './custom-domain-container';\nimport ConfirmationModal from '../../../../shared/design-system/components/atoms/confirmation-modal';\nimport toaster from '../../../../shared/toaster';\nimport { UpdateCustomDomainPayload } from './types';\nimport {\n CustomDomainType,\n CustomDomainWithEmailAccountType,\n} from '../../types/custom-domain';\nimport HeaderBanner from '../header-banner';\nimport { SubscriptionPlans } from '../../../../shared/utils/subscription-plans';\nimport { executeOnRequestStatus } from '../../../../shared/utils/execute-on-request-status';\nimport {\n ConditionTypeEnum,\n deleteCustomDomainContent,\n deleteCustomDomainTitle,\n showWithCondition,\n} from './helper';\nimport hasResource from '../../../../shared/utils/access-control/has-resource';\nimport { ResourceIdentifiers } from '../../../../shared/utils/access-control/enums/resource-identifiers';\nimport CustomDomainEmptyScreen from './components/custom-domain-empty-screen';\nimport { GlobalSettings } from '../../../../shared/components/global-settings-wrapper';\nimport { getIsRequestPending } from '../../../../shared/utils';\n\nexport enum DomainModal {\n AddDomain = 'Add New Domain',\n EditDomain = 'Edit Domain',\n}\n\nexport type MultiSelectData = {\n label: string;\n value: string;\n};\n\nconst CustomDomain: React.FC = ({\n sendGetEmailAccountsListRequest,\n sendGetCustomDomainsRequest,\n sendCreateCustomDomainRequest,\n\n getCustomDomainsRequestStatus,\n getEmailAccountsListRequestStatus,\n showLoading,\n hideLoading,\n\n createCustomDomainRequestStatus,\n createCustomDomainRequestMessage,\n\n sendDeleteCustomDomainRequest,\n deleteCustomDomainRequestStatus,\n deleteCustomDomainRequestError,\n deleteCustomDomainRequestMessage,\n\n sendUpdateCustomDomainRequest,\n updateCustomDomainRequestStatus,\n updateCustomDomainRequestMessage,\n\n checkBulkEmailAccountSetupScoreRequestStatus,\n resetCheckBulkEmailAccountSetupScoreRequest,\n\n customDomains,\n emailAccounts,\n\n subscriptionPlan,\n agencyConfig,\n sendSetDefaultCustomDomainRequest,\n setDefaultCustomDomainRequestError,\n setDefaultCustomDomainRequestMessage,\n setDefaultCustomDomainRequestStatus,\n resetCustomDomainState,\n\n resetCustomTrackingDomainState,\n resetCreateCustomTrackingDomain,\n resetUpdateCustomTrackingDomain,\n resetDeleteCustomTrackingDomain,\n}) => {\n // Translation\n const { t } = useTranslation();\n\n // states.\n const [showCustomDomainModal, setShowCustomDomainModal] = useState(false);\n const [showDeleteDomainModal, setShowDeleteDomainModal] = useState(false);\n const [modal, setModal] = useState(DomainModal.AddDomain);\n const [modalEmailAccounts, setModalEmailAccounts] = useState<\n MultiSelectData[]\n >();\n const [modalDomain, setModalDomain] = useState({\n id: null,\n domain: '',\n isDefault: false,\n });\n const [modalSelectedEmailAccounts, setModalSelectedEmailAccounts] = useState<\n MultiSelectData[]\n >();\n const [\n currentRowData,\n setCurrentRowData,\n ] = useState();\n const [verificationStatus, setVerificationStatus] = useState(\n RequestStatus.Ideal,\n );\n\n const resetModalProps = () => {\n setModalSelectedEmailAccounts(null);\n setModalDomain({ id: null, domain: '', isDefault: false });\n };\n\n const showModal = () => {\n setShowCustomDomainModal(true);\n };\n\n const hideModal = () => {\n resetModalProps();\n sendGetCustomDomainsRequest();\n setShowCustomDomainModal(false);\n };\n\n const hideDeleteDomainModal = () => {\n setShowDeleteDomainModal(false);\n };\n\n // table action handlers.\n const onRowEditClickHandler = (row) => {\n setCurrentRowData(row);\n setModal(DomainModal.EditDomain);\n setModalDomain(row.customDomain);\n\n if (row.emailAccounts && row.emailAccounts.length > 0) {\n const temp = row.emailAccounts.map((emailAccount) => ({\n label: emailAccount.email,\n value: emailAccount.id.toString(),\n }));\n setModalSelectedEmailAccounts(temp);\n }\n hasResource(ResourceIdentifiers.CUSTOM_DOMAIN_UPDATE) && showModal();\n };\n\n // functions.\n const verifyAndSave = (newDomain: string, emailAccountIds: number[]) => {\n if (modal === DomainModal.AddDomain) {\n sendCreateCustomDomainRequest({\n domain: newDomain,\n emailAccountIds,\n });\n } else {\n const emailAccountsToBeRemoved = difference(\n flatMap(currentRowData.emailAccounts, 'id'),\n emailAccountIds,\n );\n const emailAccountsToBeInserted = difference(\n emailAccountIds,\n flatMap(currentRowData.emailAccounts, 'id'),\n );\n const payload: UpdateCustomDomainPayload = {\n emailAccountsToBeInserted,\n emailAccountsToBeRemoved,\n userCustomDomainId: modalDomain.id,\n newDomain,\n };\n sendUpdateCustomDomainRequest(payload);\n }\n };\n\n // modal handlers.\n const onAddDomainClickHandler = () => {\n if (hasResource(ResourceIdentifiers.CUSTOM_DOMAIN_CREATE)) {\n setModal(DomainModal.AddDomain);\n showModal();\n }\n };\n\n const onConfirmDeleteClickHandler = () => {\n sendDeleteCustomDomainRequest({\n userCustomDomainId: currentRowData.customDomain.id,\n });\n };\n\n const onRowDeleteClickHandler = (row) => {\n resetModalProps();\n setModal(DomainModal.AddDomain);\n setCurrentRowData(row);\n setShowDeleteDomainModal(true);\n };\n\n const onRowDefaultClickHandler = (row) => {\n setCurrentRowData(row);\n sendSetDefaultCustomDomainRequest(row.id);\n };\n\n // component lifecycle functions.\n useEffect(() => {\n sendGetCustomDomainsRequest();\n setVerificationStatus(createCustomDomainRequestStatus);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n\n return () => {\n resetCustomDomainState();\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n useEffect(() => {\n const emailAccountsData: MultiSelectData[] = emailAccounts.map(\n (emailAccount) => ({\n label: emailAccount.fromEmail,\n value: emailAccount.id.toString(),\n }),\n );\n setModalEmailAccounts(emailAccountsData);\n }, [emailAccounts]);\n\n useEffect(() => {\n if (showCustomDomainModal) {\n sendGetEmailAccountsListRequest();\n }\n }, [showCustomDomainModal]);\n\n // network request use effects\n useEffect(() => {\n executeOnRequestStatus({\n status: deleteCustomDomainRequestStatus,\n onSuccess: () => {\n hideDeleteDomainModal();\n sendGetCustomDomainsRequest();\n\n toaster.success(deleteCustomDomainRequestMessage);\n resetDeleteCustomTrackingDomain();\n },\n onFailed: () => {\n toaster.error(deleteCustomDomainRequestError.message);\n resetDeleteCustomTrackingDomain();\n },\n });\n }, [deleteCustomDomainRequestStatus]);\n\n // Set default custom tracking domain request\n useEffect(() => {\n executeOnRequestStatus({\n status: setDefaultCustomDomainRequestStatus,\n onSuccess: () => {\n sendGetCustomDomainsRequest();\n toaster.success(setDefaultCustomDomainRequestMessage);\n },\n onFailed: () => {\n toaster.error(setDefaultCustomDomainRequestError.message);\n },\n });\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [setDefaultCustomDomainRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getCustomDomainsRequestStatus,\n onPending: () => {\n showLoading();\n },\n onSuccess: () => {\n hideLoading();\n },\n });\n }, [getCustomDomainsRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: updateCustomDomainRequestStatus,\n onIdeal: () => {\n setVerificationStatus(updateCustomDomainRequestStatus);\n },\n onSuccess: () => {\n hideModal();\n toaster.success(updateCustomDomainRequestMessage);\n resetUpdateCustomTrackingDomain();\n },\n onFailed: () => {\n resetUpdateCustomTrackingDomain();\n },\n });\n }, [updateCustomDomainRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: createCustomDomainRequestStatus,\n onIdeal: () => {\n setVerificationStatus(createCustomDomainRequestStatus);\n },\n onSuccess: () => {\n hideModal();\n toaster.success(createCustomDomainRequestMessage);\n resetCreateCustomTrackingDomain();\n },\n onFailed: () => {\n resetCreateCustomTrackingDomain();\n },\n });\n }, [createCustomDomainRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: checkBulkEmailAccountSetupScoreRequestStatus,\n onSuccess: () => {\n resetCheckBulkEmailAccountSetupScoreRequest();\n },\n onFailed: () => {\n resetCheckBulkEmailAccountSetupScoreRequest();\n },\n });\n }, [checkBulkEmailAccountSetupScoreRequestStatus]);\n\n useEffect(\n () => () => {\n resetCustomTrackingDomainState();\n },\n [],\n );\n\n // render.\n return (\n \n hideDeleteDomainModal()}\n onSubmit={onConfirmDeleteClickHandler}\n isRequestPending={\n deleteCustomDomainRequestStatus === RequestStatus.Pending\n }\n contents={deleteCustomDomainContent(currentRowData, t)}\n title={t(deleteCustomDomainTitle())}\n showSuccessButton={true}\n showCancelButton={true}\n cancelButtonText=\"Cancel\"\n />\n\n {showWithCondition(\n showCustomDomainModal,\n hideModal()}\n modalTitle={modal}\n emailAccounts={modalEmailAccounts}\n selectedValues={modalSelectedEmailAccounts}\n customDomain={modalDomain}\n verifyAndSave={(domain, emailAccountIds) =>\n verifyAndSave(domain, emailAccountIds)\n }\n verificationStatus={verificationStatus}\n agencyConfig={agencyConfig}\n isEmailAccountsLoading={getIsRequestPending(\n getEmailAccountsListRequestStatus,\n )}\n />,\n null,\n ConditionTypeEnum.If,\n )}\n\n \n \n \n \n \n\n {showWithCondition(\n subscriptionPlan === SubscriptionPlans.FREE,\n ,\n null,\n ConditionTypeEnum.If,\n )}\n\n {showWithCondition(\n customDomains.length > 0 ||\n getCustomDomainsRequestStatus === RequestStatus.Pending,\n ,\n ,\n ConditionTypeEnum.IfElse,\n )}\n \n );\n};\n\nexport default CustomDomain;\n","import React, { useState } from 'react';\nimport { Button, EmptyList } from '@saleshandy/design-system';\nimport { SubscriptionPlans } from '../../../../../../shared/utils/subscription-plans';\nimport { NoUpcomingTrips } from '../../../../../../shared/svg';\nimport { supportUrls } from '../../../../../../shared/utils/urls';\nimport YoutubeVideoModal from '../../../../../../shared/design-system/components/molecules/youtube-video-modal';\nimport { ResourceIdentifiers } from '../../../../../../shared/utils/access-control/enums/resource-identifiers';\nimport hasResource from '../../../../../../shared/utils/access-control/has-resource';\n\ntype IProps = {\n onClick: VoidFunction;\n};\n\nconst CustomDomainEmptyScreen: React.FC = ({ onClick }) => {\n const [showYtModal, setShowYtModal] = useState(false);\n\n const showModalHandler = () => {\n setShowYtModal(true);\n };\n\n const hideModalHandler = () => {\n setShowYtModal(false);\n };\n\n return (\n
    \n \n \n \n \n \n \n Add Custom Tracking Domain to Avoid Spam Filters\n \n \n Custom Tracking Domain adds a custom layer to your email tracking\n and it improves the sender's authenticity. Using a generic custom\n Tracking Domain will increase the risk of poor deliverability.\n \n \n
    \n \n Learn how to set\n \n \n Add Custom Domain\n \n
    \n
    \n\n \n
    \n );\n};\n\nexport default CustomDomainEmptyScreen;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps } from 'react-router';\nimport { hideLoading, showLoading } from 'react-redux-loading-bar';\nimport { RootState } from '../../../../store/root-reducer';\nimport { getEmailAccountsListRequest } from '../../../email-accounts/extra-actions';\n// eslint-disable-next-line import/no-cycle\nimport CustomDomain from './custom-domain';\nimport {\n resetCustomDomainState,\n resetCreateCustomTrackingDomain,\n resetCustomTrackingDomainState,\n resetDeleteCustomTrackingDomain,\n resetUpdateCustomTrackingDomain,\n resetCheckBulkEmailAccountSetupScoreRequest,\n} from './custom-domain-slice';\n\nimport {\n createCustomDomainRequest,\n deleteCustomDomainRequest,\n getCustomDomainsRequest,\n setDefaultCustomDomainRequest,\n updateCustomDomainRequest,\n checkBulkEmailAccountSetupScoreRequest,\n} from './extra-actions';\n\nconst mapStateToProps = (state: RootState) => ({\n getEmailAccountsListRequestStatus:\n state.emailAccount.getEmailAccountsListRequest.status,\n getEmailAccountsListRequestMessage:\n state.emailAccount.getEmailAccountsListRequest.message,\n getEmailAccountsListRequestError:\n state.emailAccount.getEmailAccountsListRequest.error,\n\n getCustomDomainsRequestStatus:\n state.customDomain.getCustomDomainsRequest.status,\n getCustomDomainsRequestMessage:\n state.customDomain.getCustomDomainsRequest.message,\n getCustomDomainsRequestError:\n state.customDomain.getCustomDomainsRequest.error,\n\n createCustomDomainRequestStatus:\n state.customDomain.createCustomDomainRequest.status,\n createCustomDomainRequestMessage:\n state.customDomain.createCustomDomainRequest.message,\n createCustomDomainRequestError:\n state.customDomain.createCustomDomainRequest.error,\n\n deleteCustomDomainRequestStatus:\n state.customDomain.deleteCustomDomainRequest.status,\n deleteCustomDomainRequestMessage:\n state.customDomain.deleteCustomDomainRequest.message,\n deleteCustomDomainRequestError:\n state.customDomain.deleteCustomDomainRequest.error,\n\n updateCustomDomainRequestStatus:\n state.customDomain.updateCustomDomainRequest.status,\n updateCustomDomainRequestMessage:\n state.customDomain.updateCustomDomainRequest.message,\n updateCustomDomainRequestError:\n state.customDomain.updateCustomDomainRequest.error,\n\n setDefaultCustomDomainRequestStatus:\n state.customDomain.setDefaultCustomDomainRequest.status,\n setDefaultCustomDomainRequestMessage:\n state.customDomain.setDefaultCustomDomainRequest.message,\n setDefaultCustomDomainRequestError:\n state.customDomain.setDefaultCustomDomainRequest.error,\n\n checkBulkEmailAccountSetupScoreRequestStatus:\n state.customDomain.checkBulkEmailAccountSetupScoreRequest.status,\n\n emailAccounts: state.emailAccount.emailAccountsList,\n customDomains: state.customDomain.customDomains,\n isLoading: state.customDomain.isLoading,\n\n subscriptionPlan: state.home.subscription?.planCode,\n planTransitionDetails: state.home.subscription?.planTransitionDetails,\n agencyConfig: state.home.agencyConfig,\n userEmail: state.home.email,\n});\n\nconst mapDispatchToProps = {\n sendGetCustomDomainsRequest: () => getCustomDomainsRequest(),\n sendGetEmailAccountsListRequest: () => getEmailAccountsListRequest(),\n sendCreateCustomDomainRequest: (args) => createCustomDomainRequest(args),\n sendDeleteCustomDomainRequest: (args) => deleteCustomDomainRequest(args),\n sendUpdateCustomDomainRequest: (args) => updateCustomDomainRequest(args),\n sendSetDefaultCustomDomainRequest: (args) =>\n setDefaultCustomDomainRequest(args),\n resetCustomDomainState: () => resetCustomDomainState(),\n\n sendCheckBulkEmailAccountSetupScoreRequest: (payload: number[]) =>\n checkBulkEmailAccountSetupScoreRequest(payload),\n resetCheckBulkEmailAccountSetupScoreRequest: () =>\n resetCheckBulkEmailAccountSetupScoreRequest(),\n\n resetCustomTrackingDomainState: () => resetCustomTrackingDomainState(),\n resetCreateCustomTrackingDomain: () => resetCreateCustomTrackingDomain(),\n resetUpdateCustomTrackingDomain: () => resetUpdateCustomTrackingDomain(),\n resetDeleteCustomTrackingDomain: () => resetDeleteCustomTrackingDomain(),\n\n showLoading: () => showLoading(),\n hideLoading: () => hideLoading(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & RouteComponentProps;\n\nexport default connector(CustomDomain);\n","import api from '../../../api';\nimport { UpdateScheduleRequestPayload } from '../types/request-payload';\n\nexport const createSchedule = async () => api.post(`/schedules`);\n\nexport const updateSchedule = async (\n scheduleId: number,\n payload: UpdateScheduleRequestPayload,\n) => api.patch(`/schedules/${scheduleId}`, payload);\n\nexport const getSchedules = async () => api.get(`/schedules`);\n\nexport const deleteSchedule = async (scheduleId: number) =>\n api.delete(`/schedules/${scheduleId}`);\n\nexport const setDefaultSchedule = async (scheduleId: number) =>\n api.get(`/schedules/${scheduleId}/make-default`);\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport { UpdateScheduleRequestPayload } from '../../types/request-payload';\nimport {\n getSchedules,\n createSchedule,\n updateSchedule,\n deleteSchedule,\n setDefaultSchedule,\n} from '../../helpers/schedule.api';\nimport {\n ResponseSuccess,\n ResponseErrorWithHandled,\n} from '../../../../shared/types';\n\nexport const createScheduleRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('schedule/createScheduleRequest', async (args, thunkAPI) => {\n try {\n return await createSchedule();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const getScheduleRequest = createAsyncThunk<\n ResponseSuccess,\n null,\n { rejectValue: ResponseErrorWithHandled }\n>('schedule/getScheduleRequest', async (args, thunkAPI) => {\n try {\n return await getSchedules();\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\ntype UpdateSchedulePayloadCreatorArgs = UpdateScheduleRequestPayload & {\n scheduleId: number;\n};\n\nexport const updateScheduleRequest = createAsyncThunk<\n ResponseSuccess,\n UpdateSchedulePayloadCreatorArgs,\n { rejectValue: ResponseErrorWithHandled }\n>(\n 'schedule/updateScheduleRequest',\n async ({ scheduleId, ...payload }, thunkAPI) => {\n try {\n return await updateSchedule(scheduleId, payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n },\n);\n\nexport const deleteScheduleRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>('schedule/deleteScheduleRequest', async (scheduleId, thunkAPI) => {\n try {\n return await deleteSchedule(scheduleId);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n\nexport const setDefaultScheduleRequest = createAsyncThunk<\n ResponseSuccess,\n number,\n { rejectValue: ResponseErrorWithHandled }\n>('schedule/setDefaultScheduleRequest', async (scheduleId, thunkAPI) => {\n try {\n return await setDefaultSchedule(scheduleId);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport {\n createScheduleRequest,\n updateScheduleRequest,\n getScheduleRequest,\n deleteScheduleRequest,\n setDefaultScheduleRequest,\n} from './extra-actions';\nimport { Schedule } from '../../types/schedule';\n\ninterface RequestState {\n status: RequestStatus;\n message: string;\n error: any;\n}\n\ninterface State {\n createScheduleRequest: RequestState;\n updateScheduleRequest: RequestState;\n getScheduleRequest: RequestState;\n deleteScheduleRequest: RequestState;\n setDefaultScheduleRequest: RequestState;\n schedules: Schedule[];\n isLoading: boolean;\n showError: boolean;\n}\n\nconst initialState: State = {\n createScheduleRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateScheduleRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getScheduleRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n deleteScheduleRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n setDefaultScheduleRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n schedules: [],\n isLoading: false,\n showError: false,\n};\n\nconst scheduleSlice = createSlice({\n name: 'schedule',\n initialState,\n reducers: {\n hideCreateScheduleRequestError: (state) => {\n state.showError = false;\n },\n },\n extraReducers: (builder) => {\n //Create schedule\n builder.addCase(createScheduleRequest.pending, (state) => {\n state.createScheduleRequest.status = RequestStatus.Pending;\n state.createScheduleRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(createScheduleRequest.fulfilled, (state, action) => {\n state.createScheduleRequest.status = RequestStatus.Succeeded;\n state.createScheduleRequest.message = action.payload.message;\n state.isLoading = false;\n });\n builder.addCase(createScheduleRequest.rejected, (state, action) => {\n state.createScheduleRequest.status = RequestStatus.Failed;\n state.createScheduleRequest.error =\n !action.payload.isHandled && action.payload;\n state.isLoading = false;\n state.showError = !action.payload.isHandled;\n });\n\n //Get schedules\n builder.addCase(getScheduleRequest.pending, (state) => {\n state.getScheduleRequest.status = RequestStatus.Pending;\n state.getScheduleRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(getScheduleRequest.fulfilled, (state, action) => {\n state.getScheduleRequest.status = RequestStatus.Succeeded;\n state.getScheduleRequest.message = action.payload.message;\n state.schedules = action.payload.payload;\n state.isLoading = false;\n });\n builder.addCase(getScheduleRequest.rejected, (state, action) => {\n state.getScheduleRequest.status = RequestStatus.Failed;\n state.getScheduleRequest.error = action.payload;\n state.isLoading = false;\n });\n\n //Update schedule\n builder.addCase(updateScheduleRequest.pending, (state) => {\n state.updateScheduleRequest.status = RequestStatus.Pending;\n state.updateScheduleRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(updateScheduleRequest.fulfilled, (state, action) => {\n state.updateScheduleRequest.status = RequestStatus.Succeeded;\n state.updateScheduleRequest.message = action.payload.message;\n state.isLoading = false;\n });\n builder.addCase(updateScheduleRequest.rejected, (state, action) => {\n state.updateScheduleRequest.status = RequestStatus.Failed;\n state.updateScheduleRequest.error =\n !action.payload.isHandled && action.payload;\n state.isLoading = false;\n });\n\n //Delete schedule\n builder.addCase(deleteScheduleRequest.pending, (state) => {\n state.deleteScheduleRequest.status = RequestStatus.Pending;\n state.deleteScheduleRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(deleteScheduleRequest.fulfilled, (state, action) => {\n state.deleteScheduleRequest.status = RequestStatus.Succeeded;\n state.deleteScheduleRequest.message = action.payload.message;\n state.isLoading = false;\n });\n builder.addCase(deleteScheduleRequest.rejected, (state, action) => {\n state.deleteScheduleRequest.status = RequestStatus.Failed;\n state.deleteScheduleRequest.error =\n !action.payload.isHandled && action.payload;\n state.isLoading = false;\n });\n\n //// Make a default schedule\n builder.addCase(setDefaultScheduleRequest.pending, (state) => {\n state.setDefaultScheduleRequest.status = RequestStatus.Pending;\n state.setDefaultScheduleRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(setDefaultScheduleRequest.fulfilled, (state, action) => {\n state.setDefaultScheduleRequest.status = RequestStatus.Succeeded;\n state.setDefaultScheduleRequest.message = action.payload.message;\n state.isLoading = false;\n });\n builder.addCase(setDefaultScheduleRequest.rejected, (state, action) => {\n state.setDefaultScheduleRequest.status = RequestStatus.Failed;\n state.setDefaultScheduleRequest.error =\n !action.payload.isHandled && action.payload;\n state.isLoading = false;\n });\n },\n});\n\nexport {\n createScheduleRequest,\n updateScheduleRequest,\n getScheduleRequest,\n deleteScheduleRequest,\n setDefaultScheduleRequest,\n};\nexport const { hideCreateScheduleRequestError } = scheduleSlice.actions;\nexport default scheduleSlice.reducer;\n","import React from 'react';\nimport { IProps } from './types';\nimport Button from '../../../../../../shared/design-system/components/atoms/button';\nimport hasPermission from '../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../shared/utils/access-control/enums/permissions';\nimport { GlobalSettings } from '../../../../../../shared/components/global-settings-wrapper';\nimport hasResource from '../../../../../../shared/utils/access-control/has-resource';\nimport { ResourceIdentifiers } from '../../../../../../shared/utils/access-control/enums/resource-identifiers';\n\nconst ScheduleHeader: React.FC = ({\n headerName,\n buttonText,\n clickHandler,\n subscriptionPlan,\n}) => (\n \n \n \n \n \n {/* TODO: refactor subscription plan check condition */}\n {hasPermission(Permissions.SCHEDULE_WRITE) && (\n \n {buttonText}\n \n )}\n \n \n);\n\nexport default ScheduleHeader;\n","import validator from 'validator';\nimport { ModiFyTimeSlot, ModifySlot } from './types';\n\n// type SlotDataValidation = {\n// errorMessage: string;\n// result: boolean;\n// };\n\nexport const validate = (name, value) => {\n switch (name) {\n case 'scheduleName':\n if (validator.isEmpty(value)) {\n return 'Please provide a schedule name';\n }\n if (!validator.isLength(value, { max: 50 })) {\n return 'Schedule name should be at most 50 characters long';\n }\n break;\n\n case 'timezone':\n if (validator.isEmpty(value)) {\n return 'Please select a timezone';\n }\n break;\n }\n\n return '';\n};\n\n// Validate single slot data.\nexport const timeSlotDataValidation = (timeSlotObj: ModifySlot): boolean => {\n if (timeSlotObj) {\n const tmpSlot = [];\n\n tmpSlot[0] = timeSlotObj.start;\n tmpSlot[1] = timeSlotObj.end;\n return checkValidation(tmpSlot);\n }\n};\n\nconst checkValidation = (slotItem): boolean => {\n // Check all value should numeric and start time should greater than end time.\n const slotHourMinuteStart = slotItem[0];\n const slotHourMinuteEnd = slotItem[1];\n if (\n validator.isEmpty(`${slotHourMinuteStart.hour}`) ||\n validator.isEmpty(`${slotHourMinuteStart.minute}`) ||\n validator.isEmpty(`${slotHourMinuteEnd.hour}`) ||\n validator.isEmpty(`${slotHourMinuteEnd.minute}`)\n ) {\n return true;\n }\n\n if (\n slotHourMinuteStart.hour.toString().length > 2 ||\n slotHourMinuteStart.minute.toString().length > 2 ||\n slotHourMinuteEnd.hour.toString().length > 2 ||\n slotHourMinuteEnd.minute.toString().length > 2\n ) {\n return true;\n }\n\n // Check hours and minutes values between range hour 0 to 23 and minutes 0 to 59.\n if (\n parseInt(slotHourMinuteStart.hour) < 0 ||\n parseInt(slotHourMinuteStart.minute) < 0 ||\n parseInt(slotHourMinuteStart.hour) > 23 ||\n parseInt(slotHourMinuteStart.minute) > 59 ||\n parseInt(slotHourMinuteEnd.hour) < 0 ||\n parseInt(slotHourMinuteEnd.minute) < 0 ||\n parseInt(slotHourMinuteEnd.hour) > 23 ||\n parseInt(slotHourMinuteEnd.minute) > 59\n ) {\n return true;\n }\n\n const intervalInMinutesStart =\n parseInt(slotHourMinuteStart.hour) * 60 +\n parseInt(slotHourMinuteStart.minute);\n const intervalInMinutesEnd =\n parseInt(slotHourMinuteEnd.hour) * 60 + parseInt(slotHourMinuteEnd.minute);\n\n if (intervalInMinutesEnd - intervalInMinutesStart < 1) {\n return true;\n }\n\n return false;\n};\n\n// Overlapping Validator for slots of one day.\nexport const validateOverlapTimeSlot = (timeSlot: ModiFyTimeSlot): number[] => {\n // convert into absolute minute.\n const slotsWithAbsoluteValue = convertTimeSlotInAbsoluteTime(timeSlot.slots);\n\n // Sort array of Slots.\n slotsWithAbsoluteValue.sort((a, b) => {\n if (a.startAbsoluteValue < b.startAbsoluteValue) {\n return -1;\n }\n if (a.startAbsoluteValue > b.startAbsoluteValue) {\n return 1;\n }\n return 0;\n });\n\n const validationObj = new Set();\n\n for (let i = 0; i < slotsWithAbsoluteValue.length; i++) {\n for (let j = i + 1; j < slotsWithAbsoluteValue.length; j++) {\n if (\n slotsWithAbsoluteValue[i].endAbsoluteValue >\n slotsWithAbsoluteValue[j].startAbsoluteValue\n ) {\n validationObj.add(slotsWithAbsoluteValue[i].id);\n validationObj.add(slotsWithAbsoluteValue[j].id);\n }\n }\n }\n\n for (let j = 0; j < slotsWithAbsoluteValue.length; j++) {\n if (validationObj.has(slotsWithAbsoluteValue[j].id)) {\n slotsWithAbsoluteValue[j].overlapError = true;\n } else {\n slotsWithAbsoluteValue[j].overlapError = false;\n }\n }\n\n return slotsWithAbsoluteValue\n .filter((slot) => slot.overlapError)\n .map((slot) => slot.id);\n};\n\nconst convertTimeSlotInAbsoluteTime = (slots: ModifySlot[]) => {\n const absoluteValueOfSlots = slots.map((slot: ModifySlot) => {\n const absoluteValueOfStartTime =\n Number(slot.start.hour) * 60 + Number(slot.start.minute);\n const absoluteValueOfEndTime =\n Number(slot.end.hour) * 60 + Number(slot.end.minute);\n const tempSlot = {\n ...slot,\n startAbsoluteValue: absoluteValueOfStartTime,\n endAbsoluteValue: absoluteValueOfEndTime,\n };\n return tempSlot;\n });\n return absoluteValueOfSlots;\n};\n","import React, { RefObject } from 'react';\nimport produce from 'immer';\nimport { Row, Col } from 'react-bootstrap';\nimport {\n timeSlotDataValidation,\n validate,\n validateOverlapTimeSlot,\n} from './validator';\nimport Button from '../../../../../../shared/design-system/components/atoms/button';\nimport { IProps, IState, ModifySlot, ModiFyTimeSlot } from './types';\nimport Input from '../../../../../../shared/design-system/components/input';\nimport Icon from '../../../../../../shared/design-system/components/atoms/icon/icon';\nimport { RequestStatus } from '../../../../../../shared/enums/request-status';\nimport { Schedule } from '../../../../types/schedule';\nimport { UpdateScheduleRequestPayload } from '../../../../types/request-payload';\nimport Select from '../../../../../../shared/design-system/components/select';\nimport {\n getTimezoneValueByName,\n Timezone,\n} from '../../../../../../shared/utils';\nimport { modifyTimeSlotsJSON } from './helper';\nimport TimezoneOptionRenderer from '../../../../../../shared/design-system/components/atoms/timezone-option-renderer';\nimport toaster from '../../../../../../shared/toaster';\nimport { accessibleOnClick } from '../../../../../../shared/utils/accessible-on-click';\nimport hasPermission from '../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../shared/utils/access-control/enums/permissions';\n\ntype TimezoneOption = Timezone & { key: string };\n\ntype SlotItem = {\n hour: number | string;\n minute: number | string;\n};\n\ntype Slot = {\n start: SlotItem;\n end: SlotItem;\n};\n\ntype TimeSlot = {\n day: number;\n slots: Slot[];\n};\n\ntype ModifiedIState = IState & {\n timeSlots: ModiFyTimeSlot[];\n actionSchedule: Schedule;\n};\n\ntype TimeSlotLabelMap = { label: string; day: number };\n\ntype TimeSlotLabelMapWithSlot = TimeSlotLabelMap & {\n slots: ModifySlot[];\n};\n\nconst dirty = {\n scheduleName: false,\n timezone: false,\n slots: false,\n};\n\nconst errors = {\n scheduleName: '',\n timezone: '',\n};\n\nclass UpdateSchedule extends React.Component {\n private readonly inputStartHourRef: RefObject;\n private readonly inputStartMinRef: RefObject;\n private readonly inputEndHourRef: RefObject;\n private readonly inputEndMinRef: RefObject;\n\n private readonly slot1Ref: RefObject;\n private readonly slot2Ref: RefObject;\n private readonly slot3Ref: RefObject;\n\n private readonly slotInputRef = {};\n\n constructor(props) {\n super(props);\n\n this.slotInputRef = {};\n const { schedule } = this.props;\n this.state = {\n values: {\n scheduleName: schedule.name,\n timezone: schedule.timezone,\n },\n errors,\n dirty,\n timeSlots: modifyTimeSlotsJSON(JSON.parse(schedule.timeSlots)),\n actionSchedule: null,\n };\n\n for (let i = 0; i < 7; i++) {\n const tempArr = [];\n for (let j = 0; j < 3; j++) {\n tempArr.push([\n (this.inputStartHourRef = React.createRef()),\n (this.inputStartMinRef = React.createRef()),\n (this.inputEndHourRef = React.createRef()),\n (this.inputEndMinRef = React.createRef()),\n ]);\n }\n this.slotInputRef[i] = tempArr;\n }\n\n this.addSlotHandler = this.addSlotHandler.bind(this);\n this.onSlotChange = this.onSlotChange.bind(this);\n this.addSlot = this.addSlot.bind(this);\n this.removeSlot = this.removeSlot.bind(this);\n this.onInputChange = this.onInputChange.bind(this);\n this.onInputBlur = this.onInputBlur.bind(this);\n this.onInputSlotBlur = this.onInputSlotBlur.bind(this);\n this.onFormSubmit = this.onFormSubmit.bind(this);\n this.validate = this.validate.bind(this);\n }\n\n onSlotChange(\n day: number,\n slotNumber: number,\n slot: ModifySlot,\n nextRef: RefObject,\n e: React.ChangeEvent,\n ) {\n const { value } = e.currentTarget;\n\n this.setState(\n produce((state: ModifiedIState) => {\n state.timeSlots[day].slots[slotNumber] = slot;\n }),\n () => {\n if (value.toString().trim().length === 2) {\n nextRef.current.focus();\n }\n },\n );\n }\n\n onInputChange(value, e) {\n const { name } = e.target;\n\n this.setState(\n produce((draft) => {\n draft.values[name] = value;\n draft.dirty[name] = true;\n }),\n );\n }\n\n onTimezoneSelect(e) {\n this.setState(\n produce((draft) => {\n draft.values.timezone = e.key;\n draft.dirty.timezone = true;\n }),\n );\n }\n\n onInputBlur(e) {\n const { name } = e.target;\n this.setState(\n produce((draft) => {\n if (draft.dirty[name]) {\n draft.errors[name] = this.validate(name, draft.values[name]);\n }\n }),\n );\n }\n\n onInputSlotBlur(parentIndex, slotNumber) {\n const { timeSlots } = this.state;\n const invalidDataError = timeSlotDataValidation(\n timeSlots[parentIndex].slots[slotNumber],\n );\n\n this.setState(\n produce((state) => {\n const slot = state.timeSlots[parentIndex].slots[slotNumber];\n state.timeSlots[parentIndex].slots[slotNumber] = {\n ...slot,\n invalidDataError,\n };\n\n const timeSlot = state.timeSlots[parentIndex];\n const slotIds = validateOverlapTimeSlot(timeSlot);\n\n timeSlot.slots = timeSlot.slots.map((slot) => {\n const slotId = slot.id;\n\n let overlapError = false;\n if (slotIds.includes(slotId)) {\n overlapError = true;\n }\n return { ...slot, overlapError };\n });\n\n state.timeSlots[parentIndex] = timeSlot;\n }),\n );\n }\n\n onFormSubmit(e) {\n e.preventDefault();\n\n const {\n dirty: dirtyFromState,\n errors: errorsFromState,\n values,\n } = this.state;\n\n const dirtyRef = { ...dirtyFromState };\n const dirtyKeys = Object.keys(dirtyRef);\n\n dirtyKeys.forEach((key) => {\n dirtyRef[key] = true;\n });\n\n const errorsRef = { ...errorsFromState };\n const errorsKeys = Object.keys(errorsRef);\n let isError = false;\n\n errorsKeys.forEach((key) => {\n const error = validate(key, values[key]);\n\n errorsRef[key] = error;\n isError = isError || !!error;\n });\n\n // Validation of slots of different days.\n this.setState(\n produce((state) => {\n state.timeSlots = state.timeSlots.map((timeSlot) => {\n const slotIds = validateOverlapTimeSlot(timeSlot);\n timeSlot.slots = timeSlot.slots.map((slot) => {\n const invalidDataError = timeSlotDataValidation(slot);\n const overlapError = slotIds.includes(slot.id);\n isError = isError || overlapError || invalidDataError;\n return { ...slot, overlapError, invalidDataError };\n });\n return timeSlot;\n });\n state.errors = errors;\n state.dirty = dirty;\n }),\n\n () => {\n if (isError) {\n return;\n }\n\n const { values: val, timeSlots } = this.state;\n const { schedule, sendUpdateScheduleRequest } = this.props;\n\n const timeSlotWithoutErrorAndId: TimeSlot[] = timeSlots.map(\n (timeSlot) => {\n const slots = timeSlot.slots.map((slot) => {\n const slotWithoutErrorAndId = { ...slot };\n delete slotWithoutErrorAndId.overlapError;\n delete slotWithoutErrorAndId.id;\n delete slotWithoutErrorAndId.invalidDataError;\n return slotWithoutErrorAndId;\n });\n return { ...timeSlot, slots };\n },\n );\n\n const payload: UpdateScheduleRequestPayload = {\n name: val.scheduleName.trim(),\n timezone: val.timezone,\n timeSlots: timeSlotWithoutErrorAndId,\n };\n const scheduleId = schedule.id;\n sendUpdateScheduleRequest(scheduleId, payload);\n },\n );\n }\n\n onInputSlotFocus(e: React.FocusEvent) {\n e.currentTarget.select();\n }\n\n validate(name, value): string {\n const error = validate(name, value);\n return error;\n }\n\n addSlotHandler(day: number) {\n const { timeSlots } = this.state;\n const slot: ModifySlot = {\n start: { hour: '', minute: '' },\n end: { hour: '', minute: '' },\n invalidDataError: false,\n overlapError: false,\n id: timeSlots[day].slots.length,\n };\n this.addSlot(day, slot);\n }\n\n addSlot(day: number, slot: ModifySlot) {\n this.setState(\n produce((state: ModifiedIState) => {\n const timeSlot = state.timeSlots.find(\n (timeslot) => timeslot.day === day,\n );\n timeSlot.slots.push(slot);\n }),\n );\n }\n\n removeSlot(day: number, slotNumber: number) {\n this.setState(\n produce((state: ModifiedIState) => {\n const timeSlot = state.timeSlots.find(\n (timeslot) => timeslot.day === day,\n );\n timeSlot.slots = timeSlot.slots.filter(\n (slot, index) => index !== slotNumber,\n );\n const slotIds = validateOverlapTimeSlot(timeSlot);\n\n timeSlot.slots = timeSlot.slots.map((slot) => {\n const overlapError = slotIds.includes(slot.id);\n return { ...slot, overlapError };\n });\n }),\n );\n }\n\n render() {\n const { values, errors: err } = this.state;\n const {\n timezoneList,\n schedule,\n onDelete,\n updateScheduleRequestStatus,\n } = this.props;\n\n const timezoneOptions = timezoneList.map((timezone) => ({\n key: timezone.name,\n ...timezone,\n }));\n\n const isLoading = updateScheduleRequestStatus === RequestStatus.Pending;\n\n const timeSlotLabelMap: TimeSlotLabelMap[] = [\n {\n label: 'Monday',\n day: 1,\n },\n {\n label: 'Tuesday',\n day: 2,\n },\n {\n label: 'Wednesday',\n day: 3,\n },\n {\n label: 'Thursday',\n day: 4,\n },\n {\n label: 'Friday',\n day: 5,\n },\n {\n label: 'Saturday',\n day: 6,\n },\n {\n label: 'Sunday',\n day: 0,\n },\n ];\n\n const timeSlotLabelMapWithSlots: TimeSlotLabelMapWithSlot[] = timeSlotLabelMap.map(\n (item: TimeSlotLabelMap) => {\n const { timeSlots } = this.state;\n const slotOfGivenDay = timeSlots.find(\n (slot: TimeSlot) => slot.day === item.day,\n );\n return {\n ...item,\n slots: slotOfGivenDay.slots,\n };\n },\n );\n\n return (\n
    \n \n \n \n \n \n \n
    \n \n \n \n
    \n \n // multiSelect\n options={timezoneOptions}\n showSearch={true}\n selectedOptionKey={values.timezone}\n optionFilterProp=\"key\"\n filterOption={(value, option) =>\n option.value.toLowerCase().includes(value.toLowerCase())\n }\n optionRenderer={(option) => (\n \n )}\n showOptionsSeparator={true}\n onSelect={(option) => {\n this.onTimezoneSelect(option);\n }}\n selectedOptionRenderer={() => (\n {getTimezoneValueByName(values.timezone)}\n )}\n disabled={!hasPermission(Permissions.SCHEDULE_UPDATE)}\n />\n
    \n \n
    \n \n \n
      \n {timeSlotLabelMapWithSlots.map((timeSlot, index) => (\n
    • \n {timeSlot.label}\n
      \n {timeSlot.slots.map((slot, index) => (\n \n \n this.onInputSlotBlur(timeSlot.day, index)\n }\n onChange={(\n e: React.ChangeEvent,\n ) => {\n const modifiedSlot: ModifySlot = {\n ...slot,\n start: {\n ...slot.start,\n hour: e.target.value,\n },\n };\n this.onSlotChange(\n timeSlot.day,\n index,\n modifiedSlot,\n this.slotInputRef[timeSlot.day][index][1],\n e,\n );\n }}\n disabled={!hasPermission(Permissions.SCHEDULE_UPDATE)}\n />\n :\n \n this.onInputSlotBlur(timeSlot.day, index)\n }\n onChange={(\n e: React.ChangeEvent,\n ) => {\n const modifiedSlot: ModifySlot = {\n ...slot,\n start: {\n ...slot.start,\n minute: e.target.value,\n },\n };\n this.onSlotChange(\n timeSlot.day,\n index,\n modifiedSlot,\n this.slotInputRef[timeSlot.day][index][2],\n e,\n );\n }}\n disabled={!hasPermission(Permissions.SCHEDULE_UPDATE)}\n />\n

      -

      \n \n this.onInputSlotBlur(timeSlot.day, index)\n }\n onChange={(\n e: React.ChangeEvent,\n ) => {\n const modifiedSlot: ModifySlot = {\n ...slot,\n end: {\n ...slot.end,\n hour: e.target.value,\n },\n };\n this.onSlotChange(\n timeSlot.day,\n index,\n modifiedSlot,\n this.slotInputRef[timeSlot.day][index][3],\n e,\n );\n }}\n disabled={!hasPermission(Permissions.SCHEDULE_UPDATE)}\n />\n :\n \n this.onInputSlotBlur(timeSlot.day, index)\n }\n onChange={(\n e: React.ChangeEvent,\n ) => {\n const modifiedSlot: ModifySlot = {\n ...slot,\n end: {\n ...slot.end,\n minute: e.target.value,\n },\n };\n this.onSlotChange(\n timeSlot.day,\n index,\n modifiedSlot,\n this.slotInputRef[timeSlot.day][index][0],\n e,\n );\n }}\n disabled={!hasPermission(Permissions.SCHEDULE_UPDATE)}\n />\n {hasPermission(Permissions.SCHEDULE_UPDATE) && (\n {\n this.removeSlot(timeSlot.day, index);\n })}\n >\n \n
      \n )}\n
    \n ))}\n {hasPermission(Permissions.SCHEDULE_UPDATE) && (\n {\n if (timeSlot.slots.length < 3) {\n this.addSlotHandler(timeSlot.day);\n } else {\n toaster.error(\n 'More than 3 slots are not allowed for a single day',\n );\n }\n })}\n >\n \n \n )}\n \n \n ))}\n \n \n \n \n \n {hasPermission(Permissions.SCHEDULE_UPDATE) && (\n \n Save\n \n )}\n {hasPermission(Permissions.SCHEDULE_DELETE) && (\n onDelete(schedule))}\n >\n \n Delete Schedule\n \n )}\n \n \n \n );\n }\n}\n\nexport default UpdateSchedule;\n","import { ModiFyTimeSlot, TimeSlot } from './types';\n\nexport const modifyTimeSlotsJSON = (\n timeSlots: TimeSlot[],\n): ModiFyTimeSlot[] => {\n const updatedTimeSlots = timeSlots.map((timeSlot) => {\n const slots = timeSlot.slots.map((slot, index) => {\n const slotStartHour =\n Math.floor(Number(slot.start.hour) / 10) === 0\n ? `0${slot.start.hour}`\n : slot.start.hour;\n const slotStartMinute =\n Math.floor(Number(slot.start.minute) / 10) === 0\n ? `0${slot.start.minute}`\n : slot.start.minute;\n const slotEndHour =\n Math.floor(Number(slot.end.hour) / 10) === 0\n ? `0${slot.end.hour}`\n : slot.end.hour;\n const slotEndMinute =\n Math.floor(Number(slot.end.minute) / 10) === 0\n ? `0${slot.end.minute}`\n : slot.end.minute;\n const updatedSlot = {\n start: {\n hour: slotStartHour,\n minute: slotStartMinute,\n },\n end: {\n hour: slotEndHour,\n minute: slotEndMinute,\n },\n };\n const temp = {\n ...updatedSlot,\n invalidDataError: false,\n overlapError: false,\n id: index,\n };\n return temp;\n });\n return { ...timeSlot, slots };\n });\n return updatedTimeSlots;\n};\n","import { RootState } from '../../../../../../store/root-reducer';\nimport { connect, ConnectedProps } from 'react-redux';\nimport {\n updateScheduleRequest,\n deleteScheduleRequest,\n} from '../../schedule-slice';\nimport { UpdateScheduleRequestPayload } from '../../../../types/request-payload';\nimport UpdateSchedule from './update-schedule';\nimport { Schedule } from '../../../../types/schedule';\nimport { getTimezoneList } from '../../../../../../shared/utils';\n\nconst mapStateToProps = (state: RootState) => ({\n updateScheduleRequestStatus: state.schedule.updateScheduleRequest.status,\n updateScheduleRequestMessage: state.schedule.updateScheduleRequest.message,\n updateScheduleRequestError: state.schedule.updateScheduleRequest.error,\n timezoneList: getTimezoneList(),\n isLoading: state.schedule.isLoading,\n});\n\nconst mapDispatchToProps = {\n sendUpdateScheduleRequest: (\n scheduleId: number,\n payload: UpdateScheduleRequestPayload,\n ) => updateScheduleRequest({ scheduleId, ...payload }),\n sendDeleteScheduleRequest: (scheduleId: number) =>\n deleteScheduleRequest(scheduleId),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n schedule: Schedule;\n onDelete: (schedule: Schedule) => void;\n};\n\nexport default connector(UpdateSchedule);\n","import React, { RefObject } from 'react';\nimport {\n Accordion,\n AccordionItem,\n AccordionItemButton,\n AccordionItemHeading,\n AccordionItemPanel,\n} from 'react-accessible-accordion';\nimport 'react-accessible-accordion/dist/fancy-example.css';\nimport { UUID } from 'react-accessible-accordion/dist/types/components/ItemContext';\nimport { OverlayTrigger, Tooltip } from 'react-bootstrap';\nimport Tag from '../../../../../../shared/design-system/components/tag';\nimport { Permissions } from '../../../../../../shared/utils/access-control/enums/permissions';\nimport hasPermission from '../../../../../../shared/utils/access-control/has-permission';\nimport { Schedule } from '../../../../types/schedule';\nimport UpdateSchedule from '../update-schedule';\nimport { IProps, IState } from './types';\n\nclass ScheduleList extends React.Component {\n private days: Array = ['M', 'T', 'W', 'T', 'F', 'S', 'S'];\n\n private readonly accordionItemPanel: RefObject;\n\n toggleAccordionCounter = 0;\n\n constructor(props) {\n super(props);\n this.accordionItemPanel = React.createRef();\n\n this.state = {\n activeUUIDs: [''],\n };\n }\n\n componentDidUpdate(prevProps: Readonly) {\n const { schedules } = this.props;\n\n if (schedules.length > prevProps.schedules.length) {\n this.accordionItemPanel.current.click();\n }\n }\n\n onAccordionItemClick(uuids: UUID[]) {\n this.setState({\n activeUUIDs: uuids,\n });\n }\n\n onTagClick(\n e: React.MouseEvent,\n schedule: Schedule,\n ) {\n const { setDefaultHandler } = this.props;\n e.stopPropagation();\n if (!schedule.isDefault) {\n setDefaultHandler(schedule);\n }\n }\n\n render() {\n const { onDeleteHandler, schedules } = this.props;\n const { activeUUIDs } = this.state;\n\n const getTooltip = (tooltip: string) => (\n \n {tooltip}\n \n );\n\n const accordionScheduleItem = schedules.map((schedule, index) => (\n \n \n \n

    \n \n \n {schedule.name.length > 20\n ? `${schedule.name.slice(0, 20)}....`\n : schedule.name}\n \n \n ) => {\n this.onTagClick(e, schedule);\n })\n }\n />\n

    \n {schedule.timezone}\n
    \n {this.days.map((day, index) => {\n const disabled =\n JSON.parse(schedule.timeSlots)[(index + 1) % 7].slots\n .length === 0;\n\n return (\n \n );\n })}\n
    \n
    \n
    \n \n \n \n
    \n ));\n\n return (\n <>\n this.onAccordionItemClick(uuid)}\n >\n {accordionScheduleItem}\n \n \n );\n }\n}\n\nexport default ScheduleList;\n","import React from 'react';\nimport ConfirmationModal from '../../../../../../shared/design-system/components/atoms/confirmation-modal';\nimport { IProps } from './types';\n\nconst DeleteSchedule: React.FC = ({\n show,\n onSubmit,\n onClose,\n isRequestPending,\n}) => (\n \n);\n\nexport default DeleteSchedule;\n","import React from 'react';\nimport ConfirmationModal from '../../../../../../../shared/design-system/components/atoms/confirmation-modal';\nimport { IProps } from './types';\n\nconst DeleteScheduleAlert: React.FC = ({ show, message, onClose }) => (\n \n);\n\nexport default DeleteScheduleAlert;\n","import React from 'react';\nimport 'react-accessible-accordion/dist/fancy-example.css';\nimport { showLoading, hideLoading } from 'react-redux-loading-bar';\nimport ScheduleHeader from './components/schedule-header';\nimport ScheduleList from './components/schedule-list';\nimport { IProps, IState } from './types';\nimport toaster from '../../../../shared/toaster';\nimport store from '../../../../store';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport DeleteSchedule from './components/delete-schedule';\nimport DeleteScheduleAlert from './components/delete-schedule/delete-schedule-alert';\nimport HeaderBanner from '../header-banner';\nimport { SubscriptionPlans } from '../../../../shared/utils/subscription-plans';\nimport hasResource from '../../../../shared/utils/access-control/has-resource';\nimport { ResourceIdentifiers } from '../../../../shared/utils/access-control/enums/resource-identifiers';\nimport { GlobalSettings } from '../../../../shared/components/global-settings-wrapper';\n\nclass Schedule extends React.Component {\n constructor(props) {\n super(props);\n\n this.state = {\n showDeleteScheduleModal: false,\n showDeleteScheduleAlert: false,\n deleteAlertMessage: null,\n actionSchedule: null,\n };\n\n this.handleAddSchedule = this.handleAddSchedule.bind(this);\n this.showDeleteScheduleModal = this.showDeleteScheduleModal.bind(this);\n this.hideDeleteScheduleModal = this.hideDeleteScheduleModal.bind(this);\n this.onDeleteScheduleSubmit = this.onDeleteScheduleSubmit.bind(this);\n this.makeDefaultSchedule = this.makeDefaultSchedule.bind(this);\n this.showDeleteScheduleAlert = this.showDeleteScheduleAlert.bind(this);\n this.hideDeleteScheduleAlert = this.hideDeleteScheduleAlert.bind(this);\n }\n\n componentDidMount() {\n const { sendGetSchedulesRequest } = this.props;\n sendGetSchedulesRequest();\n }\n\n componentDidUpdate(prevProps: Readonly) {\n const {\n isLoading,\n createScheduleRequestStatus,\n createScheduleRequestMessage,\n setDefaultScheduleRequestStatus,\n setDefaultScheduleRequestMessage,\n setDefaultScheduleRequestError,\n deleteScheduleRequestStatus,\n deleteScheduleRequestMessage,\n deleteScheduleRequestError,\n updateScheduleRequestStatus,\n updateScheduleRequestMessage,\n updateScheduleRequestError,\n sendGetSchedulesRequest,\n } = this.props;\n if (isLoading !== prevProps.isLoading) {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n isLoading ? store.dispatch(showLoading()) : store.dispatch(hideLoading());\n }\n\n if (createScheduleRequestStatus !== prevProps.createScheduleRequestStatus) {\n if (createScheduleRequestStatus === RequestStatus.Succeeded) {\n toaster.success(createScheduleRequestMessage);\n sendGetSchedulesRequest();\n }\n }\n\n if (\n setDefaultScheduleRequestStatus !==\n prevProps.setDefaultScheduleRequestStatus\n ) {\n if (setDefaultScheduleRequestStatus === RequestStatus.Succeeded) {\n toaster.success(setDefaultScheduleRequestMessage);\n sendGetSchedulesRequest();\n }\n\n if (\n setDefaultScheduleRequestStatus === RequestStatus.Failed &&\n setDefaultScheduleRequestError\n ) {\n toaster.error(deleteScheduleRequestError.message);\n }\n }\n\n if (deleteScheduleRequestStatus !== prevProps.deleteScheduleRequestStatus) {\n if (deleteScheduleRequestStatus === RequestStatus.Succeeded) {\n toaster.success(deleteScheduleRequestMessage);\n this.hideDeleteScheduleModal();\n sendGetSchedulesRequest();\n }\n\n if (\n deleteScheduleRequestStatus === RequestStatus.Failed &&\n deleteScheduleRequestError\n ) {\n this.hideDeleteScheduleModal();\n if (deleteScheduleRequestError.code === 4001) {\n this.showDeleteScheduleAlert(deleteScheduleRequestError.message);\n } else {\n toaster.error(deleteScheduleRequestError.message);\n }\n }\n }\n\n if (updateScheduleRequestStatus !== prevProps.updateScheduleRequestStatus) {\n if (updateScheduleRequestStatus === RequestStatus.Succeeded) {\n toaster.success(updateScheduleRequestMessage);\n sendGetSchedulesRequest();\n }\n\n if (\n updateScheduleRequestStatus === RequestStatus.Failed &&\n updateScheduleRequestError\n ) {\n toaster.error(updateScheduleRequestError.message);\n }\n }\n }\n\n onDeleteScheduleSubmit() {\n const { sendDeleteScheduleRequest } = this.props;\n const { actionSchedule } = this.state;\n sendDeleteScheduleRequest(actionSchedule.id);\n }\n\n hideDeleteScheduleAlert() {\n this.setState({ showDeleteScheduleAlert: false, deleteAlertMessage: null });\n }\n\n hideDeleteScheduleModal() {\n this.setState({\n showDeleteScheduleModal: false,\n actionSchedule: null,\n });\n }\n\n showDeleteScheduleAlert(alertMessage: string) {\n this.setState({\n showDeleteScheduleAlert: true,\n deleteAlertMessage: alertMessage,\n });\n }\n\n showDeleteScheduleModal(schedule) {\n this.setState({\n showDeleteScheduleModal: true,\n actionSchedule: schedule,\n });\n }\n\n handleAddSchedule() {\n const { sendCreateScheduleRequest } = this.props;\n hasResource(ResourceIdentifiers.SCHEDULES_CREATE) &&\n sendCreateScheduleRequest();\n }\n\n makeDefaultSchedule(schedule) {\n const { sendSetDefaultScheduleRequest } = this.props;\n sendSetDefaultScheduleRequest(schedule.id);\n }\n\n render() {\n const {\n schedules,\n deleteScheduleRequestStatus,\n updateScheduleRequestStatus,\n subscriptionPlan,\n } = this.props;\n const {\n showDeleteScheduleModal,\n showDeleteScheduleAlert,\n deleteAlertMessage,\n } = this.state;\n const isDeleteRequestPending =\n deleteScheduleRequestStatus === RequestStatus.Pending;\n return (\n <>\n \n {subscriptionPlan === SubscriptionPlans.FREE && }\n \n {schedules.length !== 0 && (\n
    \n \n {showDeleteScheduleModal && (\n \n )}\n\n {showDeleteScheduleAlert && (\n \n )}\n
    \n )}\n
    \n \n );\n }\n}\n\nexport default Schedule;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps } from 'react-router';\nimport { RootState } from '../../../../store/root-reducer';\nimport {\n createScheduleRequest,\n updateScheduleRequest,\n getScheduleRequest,\n deleteScheduleRequest,\n setDefaultScheduleRequest,\n} from './schedule-slice';\nimport Schedule from './schedule';\n\nimport { UpdateScheduleRequestPayload } from '../../types/request-payload';\n\nconst mapStateToProps = (state: RootState) => ({\n createScheduleRequestStatus: state.schedule.createScheduleRequest.status,\n createScheduleRequestMessage: state.schedule.createScheduleRequest.message,\n createScheduleRequestError: state.schedule.createScheduleRequest.error,\n\n getScheduleRequestStatus: state.schedule.getScheduleRequest.status,\n getScheduleRequesttMessage: state.schedule.getScheduleRequest.message,\n getScheduleRequestError: state.schedule.getScheduleRequest.error,\n\n updateScheduleRequestStatus: state.schedule.updateScheduleRequest.status,\n updateScheduleRequestMessage: state.schedule.updateScheduleRequest.message,\n updateScheduleRequestError: state.schedule.updateScheduleRequest.error,\n\n deleteScheduleRequestStatus: state.schedule.deleteScheduleRequest.status,\n deleteScheduleRequestMessage: state.schedule.deleteScheduleRequest.message,\n deleteScheduleRequestError: state.schedule.deleteScheduleRequest.error,\n\n setDefaultScheduleRequestStatus:\n state.schedule.setDefaultScheduleRequest.status,\n setDefaultScheduleRequestMessage:\n state.schedule.setDefaultScheduleRequest.message,\n setDefaultScheduleRequestError:\n state.schedule.setDefaultScheduleRequest.error,\n\n schedules: state.schedule.schedules,\n isLoading: state.schedule.isLoading,\n\n subscriptionPlan: state.home.subscription?.planCode,\n planTransitionDetails: state.home.subscription?.planTransitionDetails,\n});\n\nconst mapDispatchToProps = {\n sendGetSchedulesRequest: () => getScheduleRequest(),\n sendCreateScheduleRequest: () => createScheduleRequest(),\n sendUpdateScheduleRequest: (\n scheduleId: number,\n payload: UpdateScheduleRequestPayload,\n ) => updateScheduleRequest({ scheduleId, ...payload }),\n sendDeleteScheduleRequest: (scheduleId: number) =>\n deleteScheduleRequest(scheduleId),\n sendSetDefaultScheduleRequest: (scheduleId: number) =>\n setDefaultScheduleRequest(scheduleId),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & RouteComponentProps;\n\nexport default connector(Schedule);\n","import React from 'react';\nimport { InfoCircle } from '@saleshandy/icons';\nimport Switch, {\n Size,\n} from '../../../../../../shared/design-system/components/atoms/switch';\nimport { ShAccountSettingsCode } from '../../../../enums/admin-settings';\nimport { OverlayTooltip, Placement } from '../../../../../../shared/design-system/components/overlay';\nimport Checkbox from '../../../../../../shared/design-system/components/atoms/checkbox';\n\ntype NestedSetting = {\n label: React.ReactNode;\n checked: boolean;\n onChange: () => void;\n disabled: boolean;\n};\n\ntype IProps = {\n checked: boolean;\n onChange: (code: ShAccountSettingsCode) => void;\n label: string | React.ReactNode;\n isDisabled?: boolean;\n code: ShAccountSettingsCode;\n learnMoreLink?: string;\n nestedSettings?: NestedSetting[];\n tooltipText?: string;\n};\n\nconst AdminSettingToggle: React.FC = ({\n checked,\n onChange,\n label,\n isDisabled = false,\n code,\n learnMoreLink = '',\n nestedSettings = [],\n tooltipText = '',\n}) => (\n
    \n
    \n onChange(code)}\n size={Size.Small}\n disabled={isDisabled}\n tooltip={tooltipText}\n placement={Placement.Top}\n />\n\n
    \n {label}\n {learnMoreLink && (\n \n Learn More\n \n )}\n
    \n {code === ShAccountSettingsCode.IntegrationSetting && (\n \n \n \n )}\n
    \n\n {nestedSettings && (\n
    \n {nestedSettings.map((setting, index) => (\n \n \n
    \n ))}\n
    \n )}\n \n);\n\nexport default AdminSettingToggle;\n","import { SubscriptionPlans } from '../../../../../shared/utils';\nimport { ShAccountSettingsCode } from '../../../enums/admin-settings';\nimport { AdminSettings } from '../../../types/admin-settings';\n\nexport const getAdminSettingsValues = (\n adminSettings: AdminSettings[],\n): {\n isVerificationActive: boolean;\n prospectDuplicationAllowed: boolean;\n prospectSharing: boolean;\n AutoAddToProspectOnLeadReveal: boolean;\n isAICategorization: boolean;\n trackUniboxOpen: boolean;\n trackUniboxClick: boolean;\n isAddProspectFromBusinessDomain: boolean;\n trackExternalMails: boolean;\n enableExclusionList: boolean;\n isSSOEnabled: boolean;\n isMFAEnabled: boolean;\n} => {\n let isVerificationActive = false;\n let prospectDuplicationAllowed = false;\n let prospectSharing = false;\n let AutoAddToProspectOnLeadReveal = false;\n let isAICategorization = false;\n let trackUniboxOpen = false;\n let trackUniboxClick = false;\n let isAddProspectFromBusinessDomain = false;\n let trackExternalMails = false;\n let enableExclusionList = false;\n let isSSOEnabled = false;\n let isMFAEnabled = false;\n\n if (adminSettings && adminSettings.length > 0) {\n adminSettings.forEach((setting) => {\n if (setting.code === ShAccountSettingsCode.IsVerificationActive) {\n isVerificationActive = Boolean(Number(setting.value));\n }\n if (setting.code === ShAccountSettingsCode.ProspectDuplicationAllowed) {\n prospectDuplicationAllowed = Boolean(Number(setting.value));\n }\n if (setting.code === ShAccountSettingsCode.ProspectSharing) {\n prospectSharing = Boolean(Number(setting.value));\n }\n if (\n setting.code === ShAccountSettingsCode.AutoAddToProspectOnLeadReveal\n ) {\n AutoAddToProspectOnLeadReveal = Boolean(Number(setting.value));\n }\n if (setting.code === ShAccountSettingsCode.AICategorization) {\n isAICategorization = Boolean(Number(setting.value));\n }\n if (setting.code === ShAccountSettingsCode.TrackUniboxOpen) {\n trackUniboxOpen = Boolean(Number(setting.value));\n }\n if (setting.code === ShAccountSettingsCode.TrackUniboxClick) {\n trackUniboxClick = Boolean(Number(setting.value));\n }\n if (\n setting.code === ShAccountSettingsCode.AddProspectFromBusinessDomain\n ) {\n isAddProspectFromBusinessDomain = Boolean(Number(setting.value));\n }\n if (setting.code === ShAccountSettingsCode.TrackExternalMails) {\n trackExternalMails = Boolean(Number(setting.value));\n }\n if (setting.code === ShAccountSettingsCode.EnableExclusionList) {\n enableExclusionList = Boolean(Number(setting.value));\n }\n if (setting.code === ShAccountSettingsCode.IsSSOEnabled) {\n isSSOEnabled = Boolean(Number(setting.value));\n }\n if (setting.code === ShAccountSettingsCode.IsMFAEnabled) {\n isMFAEnabled = Boolean(Number(setting.value));\n }\n });\n }\n\n return {\n isVerificationActive,\n prospectDuplicationAllowed,\n prospectSharing,\n AutoAddToProspectOnLeadReveal,\n isAICategorization,\n trackUniboxOpen,\n trackUniboxClick,\n isAddProspectFromBusinessDomain,\n trackExternalMails,\n enableExclusionList,\n isSSOEnabled,\n isMFAEnabled,\n };\n};\n\nexport const getToggleOnOrOffMessage = (isOn: boolean, t): string =>\n isOn\n ? t('messages.are_you_sure_you_want_to_turn_this_off')\n : t('messages.are_you_sure_you_want_to_turn_this_on');\n\nexport const getEmailVerificationModalContent = (isOn: boolean, t): string => `\n ${\n isOn\n ? t('messages.turning_this_toggle_off_will_not_allow_you')\n : t('messages.turning_this_toggle_on_will_allow_you')\n } \n ${t('messages.and_your_team_member_to_verify_prospects_while_importing_them')}\n`;\n\nexport const getProspectSharingOnOffMessage = (isOn: boolean, t): string =>\n isOn\n ? t('messages.prospect_sharing_toggle_on')\n : t('messages.prospect_sharing_toggle_off');\n\nexport const getProspectDuplicationAllowedModalContent = (\n isOn: boolean,\n t,\n): string[] => [\n `${\n isOn\n ? t('messages.turning_this_toggle_off_will_not_allow_you')\n : t('messages.turning_this_toggle_on_will_allow_you')\n } ${t('messages.to_have_one_prospect_in_multiple_sequences_simultaneously')}`,\n isOn\n ? t('messages.change_will_not_affect')\n : t('messages.change_will_apply_to_future_imports'),\n];\n\nexport const getProspectSharingModalContent = (isOn: boolean): string[] => [\n `${\n isOn\n ? 'Disabling this will prevent prospects sharing for team members so every member will be able to access their own prospects only.'\n : 'Enabling this will allow your team members to access prospects of each other.'\n }`,\n];\n\nexport const getAutoAddToProspectOnLeadRevealOnOffMessage = (\n isOn: boolean,\n t,\n): string =>\n isOn\n ? t('messages.are_you_sure_you_want_to_turn_this_off')\n : t('messages.are_you_sure_you_want_to_turn_this_on');\nexport const getAutoAddToProspectOnLeadRevealModalContent = (\n isOn: boolean,\n t,\n): string[] => [\n `${\n isOn\n ? t('messages.turning_this_toggle_off_will_not_allow_you')\n : t('messages.turning_this_toggle_on_will_allow_you')\n } ${t('messages.to_auto_add_to_prospect_on_lead_reveal')}`,\n];\n\nexport const checkLifeTimeSubcriptionPlan = (subPlan: string): boolean => {\n return subPlan === SubscriptionPlans.EMAIL_OUTREACH_LIFETIME || subPlan === SubscriptionPlans.EMAIL_OUTREACH_PRO_LIFETIME;\n}","import React, { useEffect, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { Button } from '@saleshandy/design-system';\nimport { SequencePrioritySettingCode } from '../../../../../sequence/enums';\nimport RadioButtonGroupWithShow from '../../../../../sequence/components/sequence-single-content/components/sequence-single-settings/components/sequence-single-settings-content/components/sequence-sending-priority/radio-button-show';\nimport type { IProps } from './admin-settings-sequence-container';\nimport { createOption } from '../../../../../sequence/components/sequence-single-content/components/sequence-single-settings/components/sequence-single-settings-content/components/sequence-sending-priority/sequence-sending-priority';\n\nexport const options = [\n createOption(\n 1,\n 'Prioritise Follow-Ups',\n 'More emails will be sent from follow-up steps',\n SequencePrioritySettingCode.LAST_TO_FIRST,\n true,\n ),\n createOption(\n 2,\n 'Prioritise New Prospects',\n 'More emails will be sent from the first step',\n SequencePrioritySettingCode.FIRST_TO_LAST,\n true,\n ),\n createOption(\n 3,\n 'Balanced Sending',\n 'Equal number of emails will be sent from each step',\n SequencePrioritySettingCode.EQUAL,\n true,\n ),\n createOption(\n 4,\n 'Aggressively Prioritise New Prospects',\n 'Up to 80% of total emails will be sent from the first Step',\n SequencePrioritySettingCode.AGGRESSIVE_FISRT,\n true,\n ),\n];\nconst SequenceSetting: React.FC = ({\n priorityAndDistributionData = [],\n setToastMessage,\n sendUpdateAdminDetailsRequest,\n}) => {\n const { t } = useTranslation();\n const [isLoading, setIsLoading] = useState(false);\n const [isDisabled, setIsDisabled] = useState(true);\n const [selectedPriorityCode, setSelectedPriorityCode] = useState('');\n const [initialPriorityCode, setInitialPriorityCode] = useState('');\n\n const handlePriorityChange = (val: string) => {\n setSelectedPriorityCode(val);\n setIsDisabled(initialPriorityCode === val);\n };\n\n useEffect(() => {\n if (priorityAndDistributionData.length > 0) {\n const selected = priorityAndDistributionData.find(\n (setting) => setting.value === '1',\n );\n if (selected) {\n setSelectedPriorityCode(selected.code);\n setInitialPriorityCode(selected.code);\n setIsDisabled(true);\n }\n }\n }, [priorityAndDistributionData]);\n\n const handleSave = async () => {\n setIsLoading(true);\n setToastMessage('Default sending priority is updated successfully');\n try {\n const selectedOption = options.find(\n (option) => option.value === selectedPriorityCode,\n );\n if (selectedOption) {\n await sendUpdateAdminDetailsRequest({\n priorityAndDistributionType: [\n {\n newPriorityDistributionId: selectedOption.id,\n },\n ],\n });\n setIsLoading(false);\n setIsDisabled(true);\n }\n } catch (err) {\n setIsLoading(false);\n setToastMessage('');\n }\n };\n\n return (\n <>\n
    \n \n Choose your default sending priority. It will apply to all the\n sequences created from now\n \n handlePriorityChange(val)} // Call API on value change\n />\n handleSave()}\n isLoading={isLoading}\n disabled={isDisabled}\n loadingText=\"Save\"\n >\n {t('labels.save')}\n \n
    \n \n );\n};\n\nexport default SequenceSetting;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps } from 'react-router';\nimport { RootState } from '../../../../../../store/root-reducer';\nimport SequenceSetting from './admin-setting-sequence';\nimport {\n resetAdminSettings,\n resetUpdateAdminSettings,\n} from '../../admin-settings-slice';\nimport { updateAdminSettingsRequest } from '../../extra-actions';\n\nconst mapStateToProps = (state: RootState) => ({\n priorityAndDistributionData:\n state?.adminSettings?.adminSettingsPriority ?? [],\n});\n\nconst mapDispatchToProps = {\n resetUpdateAdminSettings: () => resetUpdateAdminSettings(),\n resetAdminSettings: () => resetAdminSettings(),\n sendUpdateAdminDetailsRequest: (payload: any) =>\n updateAdminSettingsRequest(payload),\n};\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n setToastMessage: (mes: string) => void;\n};\n\nexport default connector(SequenceSetting);\n","import React, { ReactNode } from 'react';\n\ntype IProps = {\n title: string;\n children: ReactNode;\n};\n\nconst AdminSettingSection: React.FC = ({ title, children }) => (\n
    \n
    {title}
    \n
    {children}
    \n
    \n);\n\nexport default AdminSettingSection;\n","import React, {\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from 'react';\n\nimport { Button } from '@saleshandy/design-system';\n\nimport EmailsAndDomainsInput from '../../../do-not-contact/components/do-not-contact-list-details/components/do-not-contact-list-details-input/emails-and-domains-input';\n\nimport type { IProps } from './admin-setting-exclusion-input-container';\nimport {\n executeOnErrorWithErrorCheck,\n executeOnRequestStatus,\n getIsRequestPending,\n} from '../../../../../../shared/utils';\nimport toaster, { Theme } from '../../../../../../shared/toaster';\nimport { getExclusionListPaginationInitialState } from '../../admin-settings-slice';\n\nconst AdminSettingExclusionInput: React.FC = ({\n exclusionList,\n exclusionListPaginationOptions,\n\n sendUpdateExclusionListRequest,\n updateExclusionListRequestStatus,\n updateExclusionListRequestMessage,\n updateExclusionListRequestError,\n resetUpdateExclusionRequestStatus,\n\n getExclusionListRequestStatus,\n sendGetExclusionListRequest,\n\n handleLoadMore,\n}) => {\n const [isError, setIsError] = useState(false);\n const [emailsAndDomains, setEmailsAndDomains] = useState([]);\n const [removedIds, setRemovedIds] = useState([]);\n const [newAddedEmailsAndDomains, setNewAddedEmailsAndDomains] = useState<\n string[]\n >([]);\n const isDirty = useRef(false);\n\n useEffect(\n () => () => {\n setEmailsAndDomains([]);\n setIsError(false);\n isDirty.current = false;\n },\n [],\n );\n\n const exclusionListStrings = useMemo(() => {\n // Extract entities from complete exclusion list\n const emailsAndDomainsValues =\n exclusionList?.map((exclusion) => exclusion.entity) || [];\n\n if (emailsAndDomainsValues?.length > 0) {\n // Filter out removed IDs from exclusionList\n const filteredExclusionList = emailsAndDomainsValues.filter(\n (emailOrDomain) =>\n !removedIds.some((id) =>\n exclusionList.find(\n (exclusion) =>\n exclusion.entity === emailOrDomain && exclusion.id === id,\n ),\n ),\n );\n\n // Add newly added items\n const updatedEmailsAndDomains = [\n ...filteredExclusionList,\n ...newAddedEmailsAndDomains,\n ];\n\n setEmailsAndDomains(updatedEmailsAndDomains);\n }\n\n return emailsAndDomainsValues;\n }, [exclusionList]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: updateExclusionListRequestStatus,\n onSuccess: () => {\n toaster.success(updateExclusionListRequestMessage);\n isDirty.current = false;\n setEmailsAndDomains([]);\n setRemovedIds([]);\n setNewAddedEmailsAndDomains([]);\n resetUpdateExclusionRequestStatus();\n sendGetExclusionListRequest(getExclusionListPaginationInitialState());\n },\n onFailed: () => {\n executeOnErrorWithErrorCheck({\n error: updateExclusionListRequestError,\n onError: () => {\n toaster.error(\n updateExclusionListRequestError.message || 'Something went wrong',\n {\n theme: Theme.New,\n },\n );\n },\n });\n resetUpdateExclusionRequestStatus();\n },\n });\n }, [updateExclusionListRequestStatus]);\n\n const handleOnSave = useCallback(() => {\n sendUpdateExclusionListRequest({\n itemsToAdd: newAddedEmailsAndDomains,\n itemsToRemove: removedIds,\n });\n }, [emailsAndDomains, exclusionList]);\n\n const isLoading = getIsRequestPending(updateExclusionListRequestStatus);\n const isListUpdating = getIsRequestPending(getExclusionListRequestStatus);\n\n return (\n
    \n {\n // Remove IDs\n const removedItems =\n exclusionList\n ?.filter(\n (exclusion) =>\n !updatedEmailsAndDomains.includes(exclusion.entity),\n )\n ?.map((item) => item.id) || [];\n\n // New Added\n const newlyAddedItems =\n updatedEmailsAndDomains.filter(\n (emailOrDomain) => !exclusionListStrings.includes(emailOrDomain),\n ) || [];\n\n // Set state\n setRemovedIds(removedItems);\n setNewAddedEmailsAndDomains(newlyAddedItems);\n\n // Check if there are any changes\n isDirty.current =\n removedItems?.length > 0 || newlyAddedItems?.length > 0;\n\n setEmailsAndDomains(updatedEmailsAndDomains);\n }}\n isError={isError}\n setIsError={setIsError}\n isMaxedEmailAdded={false}\n hasMore={\n exclusionListPaginationOptions.currentPage <\n exclusionListPaginationOptions.totalPages && !isListUpdating\n }\n onLoadMore={handleLoadMore}\n loadMoreLabel={`+${\n exclusionListPaginationOptions.totalItems -\n exclusionListPaginationOptions.currentPage *\n exclusionListPaginationOptions.itemsPerPage\n } more`}\n isLoading={isListUpdating}\n placeholder=\"Add emails or domains with comma, semicolon, space or line breaks\"\n />\n\n \n Save\n \n
    \n );\n};\n\nexport default AdminSettingExclusionInput;\n","import { connect, ConnectedProps } from 'react-redux';\n\nimport { RootState } from '../../../../../../store/root-reducer';\nimport AdminSettingExclusionInput from './admin-setting-exclusion-input';\nimport { ExclusionListEmailsAndDomains, PaginationOptions } from '../../types';\nimport {\n getExclusionListRequest,\n updateExclusionListRequest,\n} from '../../extra-actions';\nimport { UpdateAdminSettingsExcludeList } from '../../../../types/request-payload';\nimport { resetUpdateExclusionRequestStatus } from '../../admin-settings-slice';\n\nconst mapStateToProps = (state: RootState) => ({\n updateExclusionListRequestStatus:\n state.adminSettings.updateExclusionListRequest.status,\n updateExclusionListRequestError:\n state.adminSettings.updateExclusionListRequest.error,\n updateExclusionListRequestMessage:\n state.adminSettings.updateExclusionListRequest.message,\n exclusionListPaginationOptions:\n state.adminSettings.exclusionListPaginationOptions,\n getExclusionListRequestStatus:\n state.adminSettings.getExclusionListRequest.status,\n});\n\nconst mapDispatchToProps = {\n sendUpdateExclusionListRequest: (payload: UpdateAdminSettingsExcludeList) =>\n updateExclusionListRequest(payload),\n sendGetExclusionListRequest: (payload: PaginationOptions) =>\n getExclusionListRequest(payload),\n resetUpdateExclusionRequestStatus: () => resetUpdateExclusionRequestStatus(),\n};\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & {\n exclusionList: ExclusionListEmailsAndDomains[];\n handleLoadMore: () => void;\n};\n\nexport default connector(AdminSettingExclusionInput);\n","import React, { ReactNode, useEffect, useRef, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { AlertCircle, BadgeCheck, BadgeCross, InfoCircle, Link as LinkIcon, Pencil, Refresh } from '@saleshandy/icons';\nimport { Link } from 'react-router-dom';\nimport { Pills } from '@saleshandy/design-system';\nimport HeaderBanner from '../header-banner';\nimport AdminSettingToggle from './components/admin-setting-toggle';\nimport Spinner from '../../../../shared/design-system/components/atoms/spinner';\nimport toaster, { Theme } from '../../../../shared/toaster';\nimport { showGeneralErrorNotification } from '../../../../shared/utils/errors';\nimport {\n executeOnRequestStatus,\n executeOnErrorWithErrorCheck,\n} from '../../../../shared/utils/execute-on-request-status';\nimport { SubscriptionPlans } from '../../../../shared/utils/subscription-plans';\nimport { ShAccountSettingsCode } from '../../enums/admin-settings';\nimport {\n getAdminSettingsValues,\n getEmailVerificationModalContent,\n getProspectDuplicationAllowedModalContent,\n getToggleOnOrOffMessage,\n getProspectSharingModalContent,\n getProspectSharingOnOffMessage,\n getAutoAddToProspectOnLeadRevealOnOffMessage,\n getAutoAddToProspectOnLeadRevealModalContent,\n checkLifeTimeSubcriptionPlan,\n} from './utils/helper';\nimport { IProps, PaginationOptions } from './types';\n\nimport { getIsRequestPending } from '../../../../shared/utils/get-request-status';\nimport { SpinnerAnimation } from '../../../../shared/design-system/components/atoms/spinner/spinner';\nimport ConfirmationModalV3 from '../../../../shared/design-system/components/atoms/confirmation-modal/confirmation-modal-v3';\nimport { ConfirmationModalIconType } from '../../../../shared/design-system/components/atoms/confirmation-modal/enum';\nimport { GlobalSettings } from '../../../../shared/components/global-settings-wrapper';\nimport SequenceSetting from './components/admin-setting-sequence';\nimport AdminSettingSection from './components/admin-setting-section';\nimport { supportUrls } from '../../../../shared/utils/urls';\nimport AdminSettingExclusionInput from './components/admin-setting-exclusion-input';\nimport { getExclusionListPaginationInitialState } from './admin-settings-slice';\nimport {\n OverlayTooltip,\n Placement,\n} from '../../../../shared/design-system/components/overlay';\nimport { Routes } from '../../../../shared/routes';\nimport Input from '../../../../shared/design-system/components/input';\nimport EmailsAndDomainsInput from '../do-not-contact/components/do-not-contact-list-details/components/do-not-contact-list-details-input/emails-and-domains-input';\nimport DataTable from '../../../../shared/components/data-table/data-table';\nimport { accessibleOnClick } from '../../../../shared/utils/accessible-on-click';\nimport hasPermission from '../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../shared/utils/access-control/enums/permissions';\nimport { isAgencyUser } from '../../../../shared/utils/user-details';\nimport ProspectTagsRow from '../../../../shared/design-system/components/molecules/prospect-tags-row';\n\nconst AdminSettings: React.FC = ({\n adminSettings,\n resetAdminSettings,\n\n getAdminSettingsRequestStatus,\n getAdminSettingsRequestError,\n sendGetAdminDetailsRequest,\n\n updateAdminSettingsStatus,\n updateAdminSettingsMessage,\n updateAdminSettingsError,\n sendUpdateAdminDetailsRequest,\n resetUpdateAdminSettings,\n\n integrationAdminSetting,\n getIntegrationAdminSettingRequestStatus,\n changeIntegrationSettingRequestStatus,\n getIntegrationSetting,\n sendChangeIntegrationSetting,\n\n sendUpdateSSOOrganizationRequest,\n updateSSOOrganizationRequestStatus,\n updateSSOOrganizationRequestError,\n\n sendGetSSOOrganizationRequest,\n\n sendGetSSOSetupUrlRequest,\n getSSOSetupUrlRequestStatus,\n getSSOSetupUrlRequestError,\n\n subscriptionPlan,\n agencyConfig,\n atmRole,\n ssoSetupUrl,\n organizationData,\n organizationId,\n\n sendGetExclusionListRequest,\n exclusionList,\n exclusionListPaginationOptions,\n resetExclusionList,\n sendGetUserSettingsRequest,\n}) => {\n const { t } = useTranslation();\n const shouldFetchExclusionList = useRef(true);\n\n const [isInitialRequest, setIsInitialRequest] = useState(true);\n const [emailVerificationModal, setEmailVerificationModal] = useState(false);\n const [toastMessage, setToastMessage] = useState('');\n const [prospectDuplicationModal, setProspectDuplicationModal] = useState(\n false,\n );\n const [\n isProspectSharingConfirmationModalVisible,\n setIsProspectSharingConfirmationModalVisible,\n ] = useState(false);\n const [\n autoAddToProspectOnLeadRevealConfirmationModalVisible,\n setAutoAddToProspectOnLeadRevealConfirmationModalVisible,\n ] = useState(false);\n\n const [integrationSetting, setIntegrationSetting] = useState(\n integrationAdminSetting,\n );\n\n const [showSSOEnableWarningModal, setShowSSOEnableWarningModal] = useState(false);\n\n const [ssoDisplayName, setSSODisplayName] = useState(\"\");\n const [isSSODisplayNameError, setIsSSODisplayNameError] = useState(false);\n const [ssoDomains, setSSODomains] = useState([]);\n const [isSSODomainError, setIsSSODomainError] = useState(false);\n\n const [showSSOSetUpModal, setShowSSOSetUpModal] = useState(false);\n\n const [showSSOSetupLinkModal, setShowSSOSetupLinkModal] = useState(false);\n const [isUserRequestedSSOUrl, setIsUserRequestedSSOUrl] = useState(false);\n const [isSSOSetupInProgress, setIsSSOSetupInProgress] = useState(false);\n\n const hasSSOValidPlan = (subPlan: string): boolean => \n subPlan?.indexOf('outreach-scale') > -1;\n\n const onHideEmailVerificationModal = () => {\n setEmailVerificationModal(false);\n };\n\n const onHideProspectDuplicationModal = () => {\n setProspectDuplicationModal(false);\n };\n\n const onHideProspectSharingModal = () => {\n setIsProspectSharingConfirmationModalVisible(false);\n };\n\n const onToggle = (code: ShAccountSettingsCode) => {\n if (code === ShAccountSettingsCode.IsVerificationActive) {\n setEmailVerificationModal(true);\n }\n if (code === ShAccountSettingsCode.ProspectDuplicationAllowed) {\n setProspectDuplicationModal(true);\n }\n if (code === ShAccountSettingsCode.ProspectSharing) {\n setIsProspectSharingConfirmationModalVisible(true);\n }\n if (code === ShAccountSettingsCode.AutoAddToProspectOnLeadReveal) {\n setAutoAddToProspectOnLeadRevealConfirmationModalVisible(true);\n }\n if (code === ShAccountSettingsCode.IntegrationSetting) {\n sendChangeIntegrationSetting(integrationSetting === 1);\n }\n };\n\n const onSettingToggle = (code: ShAccountSettingsCode, value: boolean) => {\n if (\n getIsRequestPending(updateAdminSettingsStatus) ||\n getIsRequestPending(getAdminSettingsRequestStatus)\n ) {\n return;\n }\n\n const settings = [\n {\n code,\n value: value ? '1' : '0',\n },\n ];\n\n sendUpdateAdminDetailsRequest({\n settings,\n });\n };\n\n const handleGetExclusionListRequest = (\n paginationOption: PaginationOptions,\n ) => {\n sendGetExclusionListRequest(paginationOption);\n };\n\n const onShowSSOSetUpModal = () => {\n if(organizationData) {\n setSSODisplayName(organizationData.displayName);\n setSSODomains(organizationData.domains);\n }\n setShowSSOSetUpModal(true);\n }\n\n const getSSOTogleLabel = (subPlan: string) => {\n if (hasSSOValidPlan(subPlan)) {\n return (\n \n Enable Single-Sign On for seamless access for all the users with just one login {' '}\n \n Learn More\n \n \n );\n }\n return (\n \n \n To enable SSO Upgrade your plan to \n \n Scale or above\n \n );\n }\n\n\n const getSSOSetUpContent = () : ReactNode => \n
    \n
    \n {\n setSSODisplayName(value)\n setIsSSODisplayNameError(false)\n }}\n className=\"admin-setting-input\"\n variant={isSSODisplayNameError && Input.Variant.Error}\n caption={isSSODisplayNameError && 'Display name is required'}\n />\n\n
    \n
    \n Authorized Domain for Login\n \n \n \n
    \n \n \n \n
    \n \n
    \n\n const getSSOSetupLinkContent = () : ReactNode => \n
    \n

    \n Make sure you copy this link to configure your SAML settings, as it’s valid for one time use only.\n

    \n
    \n {ssoSetupUrl}\n
    \n
    \n\n const getSSOLoginColumns = () => \n [\n {\n title: 'Organization ID',\n dataIndex: 'organizationId',\n key: 'organizationId',\n align: 'left',\n sticky: true,\n\n },\n {\n title: 'Display Name',\n dataIndex: 'displayName',\n key: 'displayName',\n align: 'left',\n },\n {\n title: 'Account ID',\n dataIndex: 'accountId',\n key: 'accountId',\n align: 'left',\n },\n {\n title: 'Domains',\n dataIndex: 'domains',\n key: 'domains',\n align: 'left',\n render: (cell) => \n },\n {\n title: 'Status',\n dataIndex: 'status',\n key: 'status',\n align: 'left',\n render: (status: boolean) => (\n
    \n {status\n ? <>\n \n Configured\n \n : <>\n \n Not Configured\n \n }\n
    \n )\n },\n {\n title: 'Actions',\n dataIndex: 'actions',\n key: 'actions',\n align: 'left',\n render: () => (\n
    \n {\n organizationData.isSSOActiveAndEnabled ? \n
    \n \n
    \n :\n \n
    sendGetSSOOrganizationRequest())}>\n \n
    \n
    \n }\n \n
    onShowSSOSetUpModal())}>\n \n
    \n
    \n
    \n )\n }\n ];\n\n const getSSOLoginData = () => {\n const domains = organizationData.domains?.map((domain, ind)=> {\n return { name: domain};\n })\n return [\n {\n organizationId: organizationData.organizationId,\n displayName: organizationData.displayName,\n accountId: organizationData.accountId,\n domains: domains,\n status: organizationData.isSSOActiveAndEnabled,\n },\n ];\n }\n\n useEffect(() => {\n sendGetAdminDetailsRequest();\n getIntegrationSetting();\n }, []);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: updateAdminSettingsStatus,\n onSuccess: () => {\n toaster.success(toastMessage || updateAdminSettingsMessage, {\n theme: Theme.New,\n });\n setToastMessage('');\n if (!isSSOSetupInProgress) {\n sendGetAdminDetailsRequest();\n }\n resetUpdateAdminSettings();\n emailVerificationModal && setEmailVerificationModal(false);\n prospectDuplicationModal && setProspectDuplicationModal(false);\n isProspectSharingConfirmationModalVisible &&\n setIsProspectSharingConfirmationModalVisible(false);\n autoAddToProspectOnLeadRevealConfirmationModalVisible &&\n setAutoAddToProspectOnLeadRevealConfirmationModalVisible(false);\n if (ssoSetupUrl && showSSOSetUpModal) {\n setShowSSOSetUpModal(false);\n setShowSSOSetupLinkModal(true);\n }\n },\n onFailed: () => {\n executeOnErrorWithErrorCheck({\n error: updateAdminSettingsError,\n onError: () => {\n showGeneralErrorNotification(updateAdminSettingsError.message);\n resetUpdateAdminSettings();\n },\n });\n },\n });\n }, [updateAdminSettingsStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getIntegrationAdminSettingRequestStatus,\n onSuccess: () => {\n setIntegrationSetting(integrationAdminSetting);\n },\n });\n }, [getIntegrationAdminSettingRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: changeIntegrationSettingRequestStatus,\n onSuccess: () => {\n getIntegrationSetting();\n },\n });\n }, [changeIntegrationSettingRequestStatus]);\n\n useEffect(\n () => () => {\n resetAdminSettings();\n resetExclusionList();\n },\n [],\n );\n\n const {\n isVerificationActive,\n prospectDuplicationAllowed,\n prospectSharing,\n AutoAddToProspectOnLeadReveal,\n isAICategorization,\n trackUniboxOpen,\n trackUniboxClick,\n isAddProspectFromBusinessDomain,\n trackExternalMails,\n enableExclusionList,\n isSSOEnabled,\n isMFAEnabled,\n } = getAdminSettingsValues(adminSettings);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getAdminSettingsRequestStatus,\n onSuccess: () => {\n setIsInitialRequest(false);\n\n if (\n enableExclusionList &&\n trackExternalMails &&\n shouldFetchExclusionList.current\n ) {\n shouldFetchExclusionList.current = false;\n handleGetExclusionListRequest(\n getExclusionListPaginationInitialState(),\n );\n }\n\n if (isSSOEnabled && hasPermission(Permissions.ACCOUNT_SSO_SETTING_READ)) {\n sendGetSSOOrganizationRequest();\n }\n },\n onFailed: () => {\n executeOnErrorWithErrorCheck({\n error: getAdminSettingsRequestError,\n onError: () => {\n showGeneralErrorNotification(getAdminSettingsRequestError.message);\n },\n });\n },\n });\n }, [getAdminSettingsRequestStatus]);\n\n const handleLoadMore = () => {\n if (\n exclusionListPaginationOptions.currentPage >=\n exclusionListPaginationOptions.totalPages\n ) {\n return;\n }\n if (\n exclusionListPaginationOptions.currentPage <\n exclusionListPaginationOptions.totalPages\n ) {\n handleGetExclusionListRequest({\n ...getExclusionListPaginationInitialState(),\n currentPage: exclusionListPaginationOptions.currentPage + 1,\n });\n }\n };\n\n const handleSSOOrganizationCreation = () => {\n if (ssoDisplayName === '') {\n setIsSSODisplayNameError(true);\n return;\n }\n\n if (ssoDomains.length === 0) {\n setIsSSODomainError(true);\n return;\n }\n\n if (isSSOEnabled) {\n sendUpdateSSOOrganizationRequest({\n displayName: ssoDisplayName,\n domains: ssoDomains,\n });\n } else {\n if (\n getIsRequestPending(updateAdminSettingsStatus) ||\n getIsRequestPending(getAdminSettingsRequestStatus)\n ) {\n return;\n }\n\n const settings = [\n {\n code: ShAccountSettingsCode.IsSSOEnabled,\n value: isSSOEnabled ? '0' : '1',\n },\n ];\n\n const ssoOrganizationData = [\n {\n displayName: ssoDisplayName,\n domains: ssoDomains,\n }\n ]\n\n sendUpdateAdminDetailsRequest({\n settings,\n ssoOrganizationData\n });\n }\n };\n\n const handleGetSSOSetupUrl = () => {\n setIsUserRequestedSSOUrl(true);\n sendGetSSOSetupUrlRequest();\n };\n\n const handleSSOSetupLinkModalonClose = () => {\n setShowSSOSetupLinkModal(false);\n setIsSSOSetupInProgress(false);\n sendGetAdminDetailsRequest();\n sendGetUserSettingsRequest();\n }\n\n const handleToggleSSO = () => {\n if (!isSSOEnabled) {\n setShowSSOEnableWarningModal(true);\n if (!organizationId) {\n setIsSSOSetupInProgress(true);\n }\n } else {\n onSettingToggle(ShAccountSettingsCode.IsSSOEnabled, !isSSOEnabled);\n }\n }\n\n const handleSSOEnableWarningSumbit = () => {\n if (organizationId) {\n onSettingToggle(ShAccountSettingsCode.IsSSOEnabled, !isSSOEnabled);\n setShowSSOEnableWarningModal(false);\n } else {\n setShowSSOEnableWarningModal(false);\n onShowSSOSetUpModal();\n }\n }\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getSSOSetupUrlRequestStatus,\n onSuccess: () => {\n if (isUserRequestedSSOUrl) {\n setShowSSOSetupLinkModal(true);\n setIsUserRequestedSSOUrl(false); // Reset for next time\n }\n },\n onFailed: () => {\n executeOnErrorWithErrorCheck({\n error: getSSOSetupUrlRequestError,\n onError: () => {\n showGeneralErrorNotification(getSSOSetupUrlRequestError.message);\n }\n })\n },\n })\n }, [getSSOSetupUrlRequestStatus]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: updateSSOOrganizationRequestStatus,\n onSuccess: () => {\n setShowSSOSetUpModal(false);\n sendGetAdminDetailsRequest();\n },\n onFailed: () => {\n executeOnErrorWithErrorCheck({\n error: updateSSOOrganizationRequestError,\n onError: () => {\n showGeneralErrorNotification(updateSSOOrganizationRequestError.message);\n resetAdminSettings();\n }\n })\n },\n })\n }, [updateSSOOrganizationRequestStatus]);\n\n return (\n <>\n \n \n \n \n \n {subscriptionPlan === SubscriptionPlans.FREE && }\n \n {getIsRequestPending(getAdminSettingsRequestStatus) &&\n isInitialRequest ? (\n
    \n \n
    \n ) : (\n
    \n \n \n \n \n \n onSettingToggle(\n ShAccountSettingsCode.AICategorization,\n !isAICategorization,\n )\n }\n code={ShAccountSettingsCode.AICategorization}\n label=\"AI Categorization in Unified Inbox : Assign outcome to conversation based on reply content\"\n />\n \n onSettingToggle(\n ShAccountSettingsCode.TrackUniboxOpen,\n !trackUniboxOpen,\n )\n }\n code={ShAccountSettingsCode.TrackUniboxOpen}\n label=\"Track opens for emails sent from unified inbox\"\n />\n \n onSettingToggle(\n ShAccountSettingsCode.TrackUniboxClick,\n !trackUniboxClick,\n )\n }\n code={ShAccountSettingsCode.TrackUniboxClick}\n label=\"Track clicks for emails sent from unified inbox\"\n />\n {\n shouldFetchExclusionList.current = true;\n onSettingToggle(\n ShAccountSettingsCode.TrackExternalMails,\n !trackExternalMails,\n );\n }}\n code={ShAccountSettingsCode.TrackExternalMails}\n label=\"Track external replies\"\n learnMoreLink={supportUrls.trackExternalEmailsBlog}\n nestedSettings={[\n {\n label: (\n <>\n Track all replies from recipients with the same domain\n as your prospects\n \n \n \n \n ),\n checked: isAddProspectFromBusinessDomain,\n onChange: () => {\n onSettingToggle(\n ShAccountSettingsCode.AddProspectFromBusinessDomain,\n !isAddProspectFromBusinessDomain,\n );\n },\n disabled: !trackExternalMails,\n },\n {\n label: (\n <>\n Do not receive emails from specific domains or emails\n \n \n \n \n ),\n checked: enableExclusionList,\n onChange: () => {\n shouldFetchExclusionList.current = true;\n return onSettingToggle(\n ShAccountSettingsCode.EnableExclusionList,\n !enableExclusionList,\n );\n },\n disabled: !trackExternalMails,\n },\n ]}\n />\n\n {enableExclusionList && trackExternalMails && (\n \n )}\n \n\n \n \n \n\n \n \n \n \n\n {agencyConfig?.agencyId === undefined && (\n \n \n \n )}\n\n \n \n \n\n {!isAgencyUser() &&\n \n { !checkLifeTimeSubcriptionPlan(subscriptionPlan) && atmRole === 'owner' &&\n
    \n
    \n \n {\n isSSOEnabled && hasSSOValidPlan(subscriptionPlan) &&\n
    handleGetSSOSetupUrl())}>\n \n SSO Setup Link\n
    \n }\n
    \n {\n isSSOEnabled && hasSSOValidPlan(subscriptionPlan) && organizationData &&\n \n }\n
    \n }\n \n onSettingToggle(\n ShAccountSettingsCode.IsMFAEnabled,\n !isMFAEnabled,\n )\n }\n code={ShAccountSettingsCode.IsMFAEnabled}\n isDisabled={isSSOEnabled}\n label={\n \n Require email OTP for all user logins as a Two-Factor Authentication step\n \n }\n tooltipText={isSSOEnabled && \"2FA is disabled since you're using Login with SSO Method\"}\n />\n
    \n }\n
    \n )}\n
    \n\n \n onSettingToggle(\n ShAccountSettingsCode.IsVerificationActive,\n !isVerificationActive,\n )\n }\n isSubmitLoading={getIsRequestPending(updateAdminSettingsStatus)}\n isSubmitDisabled={getIsRequestPending(updateAdminSettingsStatus)}\n submitButtonText={t('labels.yes')}\n cancelButtonText={t('labels.cancel')}\n />\n\n \n onSettingToggle(\n ShAccountSettingsCode.ProspectDuplicationAllowed,\n !prospectDuplicationAllowed,\n )\n }\n isSubmitLoading={getIsRequestPending(updateAdminSettingsStatus)}\n isSubmitDisabled={getIsRequestPending(updateAdminSettingsStatus)}\n submitButtonText={t('labels.yes')}\n cancelButtonText={t('labels.cancel')}\n />\n\n \n onSettingToggle(\n ShAccountSettingsCode.ProspectSharing,\n !prospectSharing,\n )\n }\n isSubmitLoading={getIsRequestPending(updateAdminSettingsStatus)}\n isSubmitDisabled={getIsRequestPending(updateAdminSettingsStatus)}\n submitButtonText={t('labels.yes')}\n cancelButtonText={t('labels.cancel')}\n />\n\n {\n setAutoAddToProspectOnLeadRevealConfirmationModalVisible(false);\n }}\n onSubmit={() =>\n onSettingToggle(\n ShAccountSettingsCode.AutoAddToProspectOnLeadReveal,\n !AutoAddToProspectOnLeadReveal,\n )\n }\n isSubmitLoading={getIsRequestPending(updateAdminSettingsStatus)}\n isSubmitDisabled={getIsRequestPending(updateAdminSettingsStatus)}\n submitButtonText={t('labels.yes')}\n cancelButtonText={t('labels.cancel')}\n />\n\n }\n contents={[\n 'By enabling SSO Login, all users in your organisation will no longer be able to login using passwords and all active session will be logged out. Everyone will be required to use Login with SSO method.',\n '',\n 'Please proceed with caution.',\n ]}\n onClose={() => setShowSSOEnableWarningModal(false)}\n onSubmit={handleSSOEnableWarningSumbit}\n showCloseIcon={false}\n cancelButtonText='Cancel'\n submitButtonText='Proceed'\n />\n\n {\n setShowSSOSetUpModal(false);\n setIsSSODisplayNameError(false);\n setIsSSODomainError(false);\n }}\n onSubmit={handleSSOOrganizationCreation}\n cancelButtonText='Cancel'\n submitButtonText={organizationData ? 'Update' : 'Create'}\n isSubmitLoading={getIsRequestPending(updateAdminSettingsStatus)}\n isSubmitDisabled={getIsRequestPending(updateAdminSettingsStatus)}\n content={getSSOSetUpContent()}\n />\n\n {\n navigator.clipboard.writeText(ssoSetupUrl);\n toaster.success('Setup Link Copied to clipboard', {\n theme: Theme.New,\n delay: 3000\n });\n }}\n cancelButtonText='Close'\n submitButtonText='Copy'\n content={getSSOSetupLinkContent()}\n />\n \n );\n};\n\nexport default AdminSettings;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps } from 'react-router';\nimport { RootState } from '../../../../store/root-reducer';\nimport AdminSettings from './admin-settings';\nimport {\n getAdminSettingsRequest,\n getExclusionListRequest,\n getSSOOrganizationRequest,\n getSSOSetupUrlRequest,\n updateAdminSettingsRequest,\n updateSSOOrganizationRequest,\n} from './extra-actions';\nimport { CreateSSOOrganizationRequestPayload, UpdateAdminSettingsRequestPayload } from '../../types/request-payload';\nimport {\n resetAdminSettings,\n resetUpdateAdminSettings,\n resetExclusionList,\n} from './admin-settings-slice';\nimport {\n changeIntegrationSettingRequest,\n getIntegrationAdminSettingRequest,\n} from '../api-tokens/extra-actions';\nimport { PaginationOptions } from './types';\nimport { getUserSettingsRequest } from '../../../home/extra-actions';\n\nconst mapStateToProps = (state: RootState) => ({\n getAdminSettingsRequestStatus:\n state.adminSettings.getAdminSettingsRequest.status,\n getAdminSettingsRequestMessage:\n state.adminSettings.getAdminSettingsRequest.message,\n getAdminSettingsRequestError:\n state.adminSettings.getAdminSettingsRequest.error,\n\n updateAdminSettingsStatus:\n state.adminSettings.updateAdminSettingsRequest.status,\n updateAdminSettingsMessage:\n state.adminSettings.updateAdminSettingsRequest.message,\n updateAdminSettingsError:\n state.adminSettings.updateAdminSettingsRequest.error,\n\n updateSSOOrganizationRequestStatus:\n state.adminSettings.updateSSOOrganizationRequest.status,\n updateSSOOrganizationRequestMessage:\n state.adminSettings.updateSSOOrganizationRequest.message,\n updateSSOOrganizationRequestError:\n state.adminSettings.updateSSOOrganizationRequest.error,\n\n getSSOOrganizationRequestStatus:\n state.adminSettings.getSSOOrganizationRequest.status,\n getSSOOrganizationRequestMessage:\n state.adminSettings.getSSOOrganizationRequest.message,\n getSSOOrganizationRequestError:\n state.adminSettings.getSSOOrganizationRequest.error,\n\n getSSOSetupUrlRequestStatus:\n state.adminSettings.getSSOSetupUrlRequest.status,\n getSSOSetupUrlRequestMessage:\n state.adminSettings.getSSOSetupUrlRequest.message,\n getSSOSetupUrlRequestError:\n state.adminSettings.getSSOSetupUrlRequest.error,\n\n getExclusionListRequestStatus:\n state.adminSettings.getExclusionListRequest.status,\n getExclusionListRequestMessage:\n state.adminSettings.getExclusionListRequest.message,\n getExclusionListRequestError:\n state.adminSettings.getExclusionListRequest.error,\n\n updateExclusionListRequestStatus:\n state.adminSettings.updateExclusionListRequest.status,\n updateExclusionListRequestMessage:\n state.adminSettings.updateExclusionListRequest.message,\n updateExclusionListRequestError:\n state.adminSettings.updateExclusionListRequest.error,\n\n integrationAdminSetting: state.apiToken.integrationSettings?.adminSetting,\n getIntegrationAdminSettingRequestStatus:\n state.apiToken.getIntegrationAdminSettingRequest.status,\n changeIntegrationSettingRequestStatus:\n state.apiToken.changeIntegrationSettingRequest.status,\n\n adminSettings: state.adminSettings.adminSettings,\n subscriptionPlan: state.home.subscription?.planCode,\n planTransitionDetails: state.home.subscription?.planTransitionDetails,\n agencyConfig: state.home.agencyConfig,\n atmRole: state.home.atmRole,\n ssoSetupUrl: state.adminSettings.ssoSetupUrl,\n exclusionList: state.adminSettings.exclusionList,\n exclusionListPaginationOptions:\n state.adminSettings.exclusionListPaginationOptions,\n organizationData: state.adminSettings.organizationData,\n organizationId: state.home.organizationId,\n});\n\nconst mapDispatchToProps = {\n sendGetAdminDetailsRequest: () => getAdminSettingsRequest(),\n sendUpdateAdminDetailsRequest: (payload: UpdateAdminSettingsRequestPayload) =>\n updateAdminSettingsRequest(payload),\n resetUpdateAdminSettings: () => resetUpdateAdminSettings(),\n resetAdminSettings: () => resetAdminSettings(),\n getIntegrationSetting: () => getIntegrationAdminSettingRequest(),\n sendChangeIntegrationSetting: (isAllUser: boolean) =>\n changeIntegrationSettingRequest({ isAllUser }),\n sendGetExclusionListRequest: (payload: PaginationOptions) =>\n getExclusionListRequest(payload),\n resetExclusionList: () => resetExclusionList(),\n sendGetSSOOrganizationRequest: () => getSSOOrganizationRequest(),\n sendGetSSOSetupUrlRequest: () => getSSOSetupUrlRequest(),\n sendUpdateSSOOrganizationRequest: (payload: CreateSSOOrganizationRequestPayload) => \n updateSSOOrganizationRequest(payload),\n sendGetUserSettingsRequest: () => getUserSettingsRequest(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps & RouteComponentProps;\n\nexport default connector(AdminSettings);\n","import { PaginationQueryParams } from '../../../../../../shared/types/request';\nimport { SubscriptionPlans } from '../../../../../../shared/utils/subscription-plans';\nimport {\n CustomOutcome,\n DefaultOutcome,\n} from '../../../../types/custom-outcome';\n\nexport type IProps = {\n customOutcomes: CustomOutcome[];\n defaultOutcomes: DefaultOutcome[];\n customOutcomePagination: {\n options: Required & {\n totalElements: number;\n search?: string;\n };\n pagesCount: number;\n count: number;\n };\n defaultOutcomePagination: {\n options: Required & {\n totalElements: number;\n search?: string;\n };\n pagesCount: number;\n count: number;\n };\n isRequestPending: boolean;\n onCreateHandler: (event: React.MouseEvent) => void;\n onUpdateHandler: (customField: CustomOutcome) => void;\n onDeleteHandler: (customField: CustomOutcome) => void;\n sendGetCustomOutcomeRequest: (\n pagination: PaginationQueryParams & { search?: string },\n ) => void;\n sendGetDefaultOutcomeRequest: (\n pagination: PaginationQueryParams & { search?: string },\n ) => void;\n subscriptionPlan: SubscriptionPlans;\n t: (x: string) => React.ReactNode;\n initialSearch: string;\n activeTabKey: string;\n setActiveTabKey: (val: string) => void;\n};\n\nexport enum OutcomeContentTabs {\n CustomOutcomes = 'custom-outcomes',\n SystemOutcomes = 'system-outcomes',\n}\n","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport {\n getCustomOutcomeRequest,\n getCustomOutcomesWithPaginationRequest,\n getDefaultOutcomesWithPaginationRequest,\n createCustomOutcomeRequest,\n updateCustomOutcomeRequest,\n deleteCustomOutcomeRequest,\n getAllOutcomesRequest,\n} from './extra-actions';\nimport { PaginationQueryParams } from '../../../../shared/types/request';\nimport { constants } from '../../../../shared/enums/constants';\nimport { CustomOutcome, DefaultOutcome } from '../../types/custom-outcome';\n\ninterface RequestState {\n status: RequestStatus;\n message: string;\n error: any;\n}\n\ninterface State {\n getCustomOutcomesWithPaginationRequest: RequestState;\n getDefaultOutcomesWithPaginationRequest: RequestState;\n getCustomOutcomeRequest: RequestState;\n createCustomOutcomeRequest: RequestState;\n updateCustomOutcomeRequest: RequestState;\n deleteCustomOutcomeRequest: RequestState;\n getAllOutcomesRequest: RequestState;\n customOutcome: CustomOutcome[];\n defaultOutcome: DefaultOutcome[];\n outcomes: DefaultOutcome[];\n isLoading: boolean;\n totalOutcomes: number;\n customOutcomePagination: {\n options: Required & { search?: string };\n pagesCount: number;\n count: number;\n };\n defaultOutcomePagination: {\n options: Required & { search?: string };\n pagesCount: number;\n count: number;\n };\n}\n\nconst initialState: State = {\n getCustomOutcomeRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getCustomOutcomesWithPaginationRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getDefaultOutcomesWithPaginationRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n createCustomOutcomeRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n updateCustomOutcomeRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n deleteCustomOutcomeRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getAllOutcomesRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n customOutcome: [],\n defaultOutcome: [],\n outcomes: [],\n isLoading: false,\n totalOutcomes: 0,\n customOutcomePagination: {\n options: {\n page: 1,\n limit: constants.DEFAULT_PAGE_SIZE,\n },\n count: 0,\n pagesCount: 0,\n },\n defaultOutcomePagination: {\n options: {\n page: 1,\n limit: constants.DEFAULT_PAGE_SIZE,\n },\n count: 0,\n pagesCount: 0,\n },\n};\n\nconst customOutcomeSlice = createSlice({\n name: 'customOutcome',\n initialState,\n reducers: {\n resetCreateCustomOutcomeRequest: (state) => {\n state.createCustomOutcomeRequest.status = RequestStatus.Ideal;\n state.createCustomOutcomeRequest.error = null;\n state.isLoading = false;\n },\n resetProspectOutcomeData: (state) => {\n state.customOutcome = [];\n state.defaultOutcome = [];\n },\n },\n extraReducers: (builder) => {\n // Get custom Outcomes\n builder.addCase(getCustomOutcomeRequest.pending, (state) => {\n state.getCustomOutcomeRequest.status = RequestStatus.Pending;\n state.getCustomOutcomeRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(getCustomOutcomeRequest.fulfilled, (state, action) => {\n state.getCustomOutcomeRequest.status = RequestStatus.Succeeded;\n state.getCustomOutcomeRequest.message = action.payload.message;\n state.outcomes = action.payload.payload;\n state.isLoading = false;\n });\n builder.addCase(getCustomOutcomeRequest.rejected, (state, action) => {\n state.getCustomOutcomeRequest.status = RequestStatus.Failed;\n state.getCustomOutcomeRequest.error = action.payload;\n state.isLoading = false;\n });\n\n // Get custom Outcomes with pagination\n builder.addCase(\n getCustomOutcomesWithPaginationRequest.pending,\n (state, action) => {\n state.getCustomOutcomesWithPaginationRequest.status =\n RequestStatus.Pending;\n state.getCustomOutcomesWithPaginationRequest.error = null;\n Object.keys(state.customOutcomePagination.options).forEach((key) => {\n state.customOutcomePagination.options[key] = action.meta.arg[key];\n });\n\n state.isLoading = true;\n },\n );\n builder.addCase(\n getCustomOutcomesWithPaginationRequest.fulfilled,\n (state, action) => {\n state.getCustomOutcomesWithPaginationRequest.status =\n RequestStatus.Succeeded;\n state.getCustomOutcomesWithPaginationRequest.message =\n action.payload.message;\n let outcomes = action.payload.payload.items;\n outcomes = outcomes.map((outcome) => {\n const processedOutcome = {\n ...outcome,\n processedSentiment: {\n sentiment: outcome.sentiment,\n bgColor: outcome.bgColor,\n textColor: outcome.textColor,\n },\n processedName: {\n name: outcome.name,\n sentiment: outcome.sentiment,\n isDefault: outcome.isDefault,\n emoji: outcome.emoji,\n },\n };\n return processedOutcome;\n });\n state.customOutcome = outcomes;\n state.customOutcomePagination.options.page =\n action.payload.payload.meta.currentPage;\n state.totalOutcomes = action.payload.payload.meta.itemCount;\n state.customOutcomePagination.count =\n action.payload.payload.meta.totalItems;\n state.isLoading = false;\n },\n );\n builder.addCase(\n getCustomOutcomesWithPaginationRequest.rejected,\n (state, action) => {\n state.getCustomOutcomesWithPaginationRequest.status =\n RequestStatus.Failed;\n state.getCustomOutcomesWithPaginationRequest.error = action.payload;\n state.isLoading = false;\n },\n );\n\n // Get default Outcomes with pagination\n builder.addCase(\n getDefaultOutcomesWithPaginationRequest.pending,\n (state, action) => {\n state.getDefaultOutcomesWithPaginationRequest.status =\n RequestStatus.Pending;\n state.getDefaultOutcomesWithPaginationRequest.error = null;\n Object.keys(state.defaultOutcomePagination.options).forEach((key) => {\n state.defaultOutcomePagination.options[key] = action.meta.arg[key];\n });\n\n state.isLoading = true;\n },\n );\n builder.addCase(\n getDefaultOutcomesWithPaginationRequest.fulfilled,\n (state, action) => {\n state.getDefaultOutcomesWithPaginationRequest.status =\n RequestStatus.Succeeded;\n state.getDefaultOutcomesWithPaginationRequest.message =\n action.payload.message;\n\n let outcomes = action.payload.payload.items;\n outcomes = outcomes.map((outcome) => {\n const processedOutcome = {\n ...outcome,\n processedSentiment: {\n sentiment: outcome.sentiment,\n bgColor: outcome.bgColor,\n textColor: outcome.textColor,\n },\n processedName: {\n name: outcome.name,\n sentiment: outcome.sentiment,\n isDefault: outcome.isDefault,\n emoji: outcome.emoji,\n },\n };\n return processedOutcome;\n });\n state.defaultOutcome = outcomes;\n state.defaultOutcomePagination.options.page =\n action.payload.payload.meta.currentPage;\n state.totalOutcomes = action.payload.payload.meta.itemCount;\n state.defaultOutcomePagination.count =\n action.payload.payload.meta.totalItems;\n state.isLoading = false;\n },\n );\n builder.addCase(\n getDefaultOutcomesWithPaginationRequest.rejected,\n (state, action) => {\n state.getDefaultOutcomesWithPaginationRequest.status =\n RequestStatus.Failed;\n state.getDefaultOutcomesWithPaginationRequest.error = action.payload;\n state.isLoading = false;\n },\n );\n\n // Create custom Outcome for prospect\n builder.addCase(createCustomOutcomeRequest.pending, (state) => {\n state.createCustomOutcomeRequest.status = RequestStatus.Pending;\n state.createCustomOutcomeRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(createCustomOutcomeRequest.fulfilled, (state, action) => {\n state.createCustomOutcomeRequest.status = RequestStatus.Succeeded;\n state.createCustomOutcomeRequest.message = action.payload.message;\n state.customOutcome.unshift(action.payload.payload);\n state.isLoading = false;\n });\n builder.addCase(createCustomOutcomeRequest.rejected, (state, action) => {\n state.createCustomOutcomeRequest.status = RequestStatus.Failed;\n state.createCustomOutcomeRequest.error =\n !action.payload.isHandled && action.payload;\n state.isLoading = false;\n });\n\n // Update custom Outcome for prospect\n builder.addCase(updateCustomOutcomeRequest.pending, (state) => {\n state.updateCustomOutcomeRequest.status = RequestStatus.Pending;\n state.updateCustomOutcomeRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(updateCustomOutcomeRequest.fulfilled, (state, action) => {\n state.updateCustomOutcomeRequest.status = RequestStatus.Succeeded;\n state.updateCustomOutcomeRequest.message = action.payload.message;\n state.isLoading = false;\n });\n builder.addCase(updateCustomOutcomeRequest.rejected, (state, action) => {\n state.updateCustomOutcomeRequest.status = RequestStatus.Failed;\n state.updateCustomOutcomeRequest.error =\n !action.payload.isHandled && action.payload;\n state.isLoading = false;\n });\n\n // Delete custom Outcome for prospect\n builder.addCase(deleteCustomOutcomeRequest.pending, (state) => {\n state.deleteCustomOutcomeRequest.status = RequestStatus.Pending;\n state.deleteCustomOutcomeRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(deleteCustomOutcomeRequest.fulfilled, (state, action) => {\n state.deleteCustomOutcomeRequest.status = RequestStatus.Succeeded;\n state.deleteCustomOutcomeRequest.message = action.payload.message;\n state.isLoading = false;\n });\n builder.addCase(deleteCustomOutcomeRequest.rejected, (state, action) => {\n state.deleteCustomOutcomeRequest.status = RequestStatus.Failed;\n state.deleteCustomOutcomeRequest.error =\n !action.payload.isHandled && action.payload;\n state.isLoading = false;\n });\n\n // Get All Outcomes Request\n builder.addCase(getAllOutcomesRequest.pending, (state) => {\n state.getAllOutcomesRequest.status = RequestStatus.Pending;\n state.getAllOutcomesRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(getAllOutcomesRequest.fulfilled, (state, action) => {\n state.getAllOutcomesRequest.status = RequestStatus.Succeeded;\n state.getAllOutcomesRequest.message = action.payload.message;\n let outcomes = action.payload.payload.items;\n outcomes = outcomes.map((outcome) => {\n const processedOutcome = {\n ...outcome,\n processedSentiment: {\n sentiment: outcome.sentiment,\n bgColor: outcome.bgColor,\n textColor: outcome.textColor,\n },\n processedName: {\n name: outcome.name,\n sentiment: outcome.sentiment,\n isDefault: outcome.isDefault,\n emoji: outcome.emoji,\n },\n };\n return processedOutcome;\n });\n state.outcomes = outcomes;\n state.isLoading = false;\n });\n builder.addCase(getAllOutcomesRequest.rejected, (state, action) => {\n state.getAllOutcomesRequest.status = RequestStatus.Failed;\n state.getAllOutcomesRequest.error =\n !action.payload.isHandled && action.payload;\n state.isLoading = false;\n });\n },\n});\n\nexport {\n getCustomOutcomeRequest,\n getCustomOutcomesWithPaginationRequest,\n getDefaultOutcomesWithPaginationRequest,\n deleteCustomOutcomeRequest,\n createCustomOutcomeRequest,\n updateCustomOutcomeRequest,\n};\n\nexport const {\n resetCreateCustomOutcomeRequest,\n resetProspectOutcomeData,\n} = customOutcomeSlice.actions;\nexport default customOutcomeSlice.reducer;\n","import React from 'react';\nimport { IProps } from './types';\nimport {\n OverlayPopover,\n Placement,\n TriggerType,\n} from '../../../../../../shared/design-system/components/overlay';\nimport { GlobalSettings } from '../../../../../../shared/components/global-settings-wrapper';\n\nconst CustomOutcomeHeader: React.FC = ({ headerName, totalCount }) => {\n const renderOutcomeCount = (label: string, count: number) => (\n
    \n
    \n

    {label}

    \n
    \n

    {count}

    \n
    \n );\n\n return (\n \n \n \n
    \n {totalCount && false && (\n \n {renderOutcomeCount(\n 'Custom Outcomes',\n totalCount.customCount,\n )}\n {renderOutcomeCount(\n 'System Outcomes',\n totalCount.systemCount,\n )}\n
    \n }\n trigger={TriggerType.Hover}\n placement={Placement.BottomStart}\n >\n
    \n {totalCount.customCount + totalCount.systemCount}\n
    \n \n )}\n \n
    \n
    \n );\n};\n\nexport default CustomOutcomeHeader;\n","import React from 'react';\nimport { SkeletonLoading } from '@saleshandy/design-system';\nimport { OutcomeContentTabs } from '../types';\nimport { OutcomeSentimentBGColor } from '../../../../../enums/custom-outcome';\nimport { DeleteCustomOutcomeDropdown } from '../../delete-custom-outcome-modal/types';\nimport { Outcome } from '../../../../../types/outcome';\nimport { getOutcomeIcon } from '../../../../../../sequence/components/sequence-single-content/components/sequence-single-contacts/components/contact-list-content/components/helpers/step-filter-mapper';\nimport hasPermission from '../../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../../shared/utils/access-control/enums/permissions';\n\nexport const getCustomOutcomesColumns = () => [\n {\n dataField: 'processedName',\n text: 'Outcome Name',\n component: (cell) => {\n if (cell) {\n const { name, sentiment, isDefault } = cell;\n return (\n
    \n
    \n
    \n {getOutcomeIcon(name, false, {\n isDefault,\n sentiment,\n width: 16,\n height: 16,\n })}\n
    \n
    {name}
    \n
    \n
    \n );\n }\n return '-';\n },\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: ,\n },\n {\n dataField: 'processedSentiment',\n text: 'Sentiment',\n component: (cell) => {\n if (cell) {\n const { sentiment, bgColor, textColor } = cell;\n return (\n \n \n
    {sentiment}
    \n \n );\n }\n return '-';\n },\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: ,\n },\n];\n\nexport const generateOutcomesActionsColumn = (tab: OutcomeContentTabs) =>\n tab === OutcomeContentTabs.CustomOutcomes &&\n (hasPermission(Permissions.OUTCOME_UPDATE) ||\n hasPermission(Permissions.OUTCOME_DELETE))\n ? [\n hasPermission(Permissions.OUTCOME_UPDATE) && {\n displayName: 'Edit',\n icon: 'pencil',\n key: 'edit',\n position: 'out',\n },\n hasPermission(Permissions.OUTCOME_DELETE) && {\n displayName: 'Delete',\n icon: 'trash',\n key: 'delete',\n position: 'out',\n },\n ].filter((obj) => obj)\n : null;\n\nexport const getDefaultTableWrapper = (\n t: OutcomeContentTabs,\n customFieldPaginationCount: number,\n defaultFieldPaginationCount: number,\n) => {\n switch (t) {\n case OutcomeContentTabs.CustomOutcomes:\n return customFieldPaginationCount > 25 ? 'paginated-table' : '';\n case OutcomeContentTabs.SystemOutcomes:\n return defaultFieldPaginationCount > 25 ? 'paginated-table' : '';\n default:\n return '';\n }\n};\n\nexport const getDeleteOutcomeDropdownOptions = (\n allOutcomes: Outcome[],\n actionOutcomeId: number,\n isSort = true,\n): DeleteCustomOutcomeDropdown[] => {\n const options: DeleteCustomOutcomeDropdown[] = [];\n allOutcomes.forEach((outcome: Outcome) => {\n const currentOption: DeleteCustomOutcomeDropdown = {\n key: outcome.id,\n name: outcome.name,\n sentiment: outcome.sentiment,\n bgColor: outcome.bgColor,\n textColor: outcome.textColor,\n emoji: outcome.emoji,\n isDefault: outcome.isDefault,\n };\n if (currentOption.key !== actionOutcomeId) {\n options.push(currentOption);\n }\n });\n return isSort ? options.sort((a, b) => a.key - b.key) : options;\n};\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { Trash } from '@saleshandy/icons';\nimport Button from '../../../../../../shared/design-system/components/atoms/button';\nimport { DeleteCustomOutcomeDropdown, IProps } from './types';\nimport Modal from '../../../../../../shared/design-system/components/atoms/modal';\nimport Select from '../../../../../../shared/design-system/components/select';\nimport { capitalize, executeOnRequestStatus, getIsRequestPending } from '../../../../../../shared/utils';\nimport { Placement } from '../../../../../../shared/design-system/components/overlay';\nimport { getOutcomeIcon } from '../../../../../sequence/components/sequence-single-content/components/sequence-single-contacts/components/contact-list-content/components/helpers/step-filter-mapper';\nimport { getDeleteOutcomeDropdownOptions } from '../custom-outcome-content/helpers/custom-outcome-column-data';\n\nconst DeleteCustomOutcomeModal: React.FC = ({\n show,\n onSubmit,\n onClose,\n title,\n className,\n content,\n isRequestPending,\n showCloseIcon,\n onOutcomeIdUpdate,\n getAllOutcomesRequestStatus,\n sendAllOutcomesRequest,\n options,\n actionCustomOutcome,\n}) => {\n const { t } = useTranslation();\n\n const [selectedCustomOutcomeUpdateId, setSelectedCustomOutcomeUpdateId] = React.useState(1);\n\n\n React.useEffect(() => {\n sendAllOutcomesRequest();\n }, []);\n\n React.useEffect(() => {\n executeOnRequestStatus({\n status: getAllOutcomesRequestStatus,\n onSuccess: () => {},\n });\n }, [getAllOutcomesRequestStatus]);\n\n const isFetching = getIsRequestPending(getAllOutcomesRequestStatus);\n\n\n return (\n \n \n
    {title}
    \n \n }\n showCloseIcon={showCloseIcon}\n onClose={onClose}\n cancelButtonText={t('labels.cancel')}\n submitButtonText={t('labels.delete')}\n isSubmitLoading={isRequestPending}\n isSubmitDisabled={isRequestPending}\n onSubmit={onSubmit}\n cancelButtonVarient={Button.Variant.Outlined}\n onHide={onClose}\n extraModalProps={{\n enforceFocus: false,\n }}\n >\n {content}\n \n Please select a new outcome for them.\n \n \n showSearch\n className=\"delete-outcome-modal-transfer\"\n filterOption={(value, option) =>\n option.name.toLowerCase().includes(value.toLowerCase())\n }\n selectedOptionRenderer={([option]) => {option?.name}}\n optionRenderer={(option) => (\n
    \n
    \n {getOutcomeIcon(option.name, false, {\n isDefault: option.isDefault,\n sentiment: option.sentiment,\n width: 16,\n height: 16,\n })}\n
    \n
    {capitalize(option.name)}
    \n
    \n )}\n options={getDeleteOutcomeDropdownOptions(options, actionCustomOutcome?.id)}\n placeholder=\"Select Outcome\"\n searchPlaceholder=\"Search\"\n placement={Placement.BottomEnd}\n selectedOptionKey={selectedCustomOutcomeUpdateId}\n onChange={([selectedOption]) => {\n setSelectedCustomOutcomeUpdateId(selectedOption?.key);\n onOutcomeIdUpdate(selectedOption?.key)\n }}\n isLoading={isFetching}\n />\n \n );\n};\n\nexport default DeleteCustomOutcomeModal;\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport CreateUpdateCustomOutcomeModal from '../..';\nimport { UpdateProspectCustomOutcomeModalProps } from './types';\n\nconst UpdateProspectCustomOutcomeModal: React.FC = (\n props,\n) => {\n const { t } = useTranslation();\n const { customOutcome } = props;\n return (\n \n );\n};\n\nexport default UpdateProspectCustomOutcomeModal;\n","import Tabs, { TabPane } from 'rc-tabs';\nimport React from 'react';\nimport { withTranslation } from 'react-i18next';\nimport { SkeletonLoading } from '@saleshandy/design-system';\nimport { Images } from '../../../../../../shared/app-constants';\nimport { AvatarWithName } from '../../../../../../shared/design-system/components/atoms/avatar-with-name/avatar-with-name';\nimport Table from '../../../../../../shared/design-system/components/organisms/table';\nimport {\n Column,\n PaginationShowHide,\n} from '../../../../../../shared/design-system/components/organisms/table/types';\nimport { PaginationQueryParams } from '../../../../../../shared/types/request';\nimport { capitalize } from '../../../../../../shared/utils';\nimport {\n DefaultOutcome,\n CustomOutcome,\n} from '../../../../types/custom-outcome';\nimport {\n generateOutcomesActionsColumn,\n getCustomOutcomesColumns,\n getDefaultTableWrapper,\n} from './helpers/custom-outcome-column-data';\nimport { OutcomeContentTabs } from './types';\nimport HeaderBanner from '../../../header-banner';\nimport { SubscriptionPlans } from '../../../../../../shared/utils/subscription-plans';\nimport SearchInput from '../../../../../../shared/design-system/components/atoms/search-input';\nimport { IconPlace } from '../../../../../../shared/design-system/components/input/enums';\nimport Button from '../../../../../../shared/design-system/components/atoms/button';\nimport Icon from '../../../../../../shared/design-system/components/atoms/icon';\nimport ImageIcon from '../../../../../../shared/components/images/image-icon';\nimport hasPermission from '../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../shared/utils/access-control/enums/permissions';\n\ntype IProps = {\n customOutcomes: CustomOutcome[];\n defaultOutcomes: DefaultOutcome[];\n onCustomOutcomePaginationOptionsChangeHandler: (\n newPartialOptions: Partial,\n ) => void;\n onDefaultOutcomePaginationOptionsChangeHandler: (\n newPartialOptions: Partial,\n ) => void;\n customOutcomePagination: {\n options: Required & {\n totalElements: number;\n search?: string;\n };\n pagesCount: number;\n count: number;\n };\n defaultOutcomePagination: {\n options: Required & {\n totalElements: number;\n search?: string;\n };\n pagesCount: number;\n count: number;\n };\n onActonHandler: (key, row) => void;\n activeTabKey: string;\n onTabChange: (string) => void;\n onCreateHandler: (event: React.MouseEvent) => void;\n subscriptionPlan: SubscriptionPlans;\n t: (x: string) => React.ReactNode;\n search: string;\n setSearch: (search: string) => void;\n onClearSearch: () => void;\n onSearch: () => void;\n isRequestPending: boolean;\n};\n\nconst prepareCustomOutcomes = (customOutcomes) =>\n customOutcomes.map((field) => ({\n ...field,\n type: capitalize(field.fieldType),\n }));\n\nconst prepareDefaultOutcomes = (defaultOutcomes) =>\n defaultOutcomes.map((field) => ({\n ...field,\n type: capitalize(field.fieldType),\n }));\n\nconst CustomOutcomeTabPanes: React.FC = ({\n customOutcomes,\n defaultOutcomes,\n onDefaultOutcomePaginationOptionsChangeHandler,\n onCustomOutcomePaginationOptionsChangeHandler,\n customOutcomePagination,\n defaultOutcomePagination,\n onActonHandler,\n activeTabKey,\n onTabChange,\n onCreateHandler,\n subscriptionPlan,\n t,\n search,\n setSearch,\n onClearSearch,\n onSearch,\n isRequestPending,\n}) => {\n const renderTable = (tab, columns) => {\n if (\n customOutcomes.length === 0 &&\n tab === OutcomeContentTabs.CustomOutcomes &&\n !isRequestPending\n ) {\n return (\n
    \n
    \n
    \n \n
    \n
    \n {t('labels.custom_outcomes_empty_list_title')}\n
    \n

    \n {t('labels.custom_outcomes_empty_list_description')}{' '}\n \n Learn More\n \n

    \n
    \n
    \n );\n }\n return (\n \n );\n };\n\n return (\n onTabChange(tabKey)}\n tabBarExtraContent={\n activeTabKey === OutcomeContentTabs.CustomOutcomes && (\n
    \n
    \n \n
    \n {hasPermission(Permissions.OUTCOME_WRITE) && (\n }\n >\n {t('labels.add_prospect_outcomes')}\n \n )}\n
    \n )\n }\n >\n {[\n OutcomeContentTabs.CustomOutcomes,\n OutcomeContentTabs.SystemOutcomes,\n ].map((tab) => {\n let columns: Column[] = getCustomOutcomesColumns();\n\n if (tab === OutcomeContentTabs.CustomOutcomes) {\n columns = [\n ...columns,\n {\n dataField: 'user',\n text: 'Added By',\n headerAlign: 'left',\n align: 'left',\n component: (cell) => {\n if (cell) {\n const { firstName, lastName } = cell;\n return (\n \n );\n }\n return '-';\n },\n headerLoadingSkeleton: ,\n cellLoadingSkeleton: ,\n },\n ];\n }\n\n return (\n \n
    \n {subscriptionPlan === SubscriptionPlans.FREE && }\n {renderTable(tab, columns)}\n
    \n \n );\n })}\n \n );\n};\n\nexport default withTranslation()(CustomOutcomeTabPanes);\n","import { withTranslation } from 'react-i18next';\nimport React, { useState } from 'react';\nimport classNames from 'classnames';\nimport { IProps, OutcomeContentTabs } from './types';\nimport { PaginationQueryParams } from '../../../../../../shared/types/request';\nimport CustomOutcomeTabPanes from './custom-outcome-tabpanes';\n\nconst CustomOutcomeContent: React.FC = ({\n customOutcomes,\n defaultOutcomes,\n customOutcomePagination,\n defaultOutcomePagination,\n sendGetCustomOutcomeRequest,\n sendGetDefaultOutcomeRequest,\n onUpdateHandler,\n onDeleteHandler,\n onCreateHandler,\n isRequestPending,\n subscriptionPlan,\n initialSearch = '',\n activeTabKey,\n setActiveTabKey,\n}) => {\n const onTabChange = (tabKey) => {\n setActiveTabKey(tabKey);\n };\n\n const onCustomFieldPaginationOptionsChangeHandler = (\n newPartialOptions: Partial & { search?: string },\n ) => {\n const { options } = customOutcomePagination;\n const payload = { ...options, ...newPartialOptions };\n delete payload.totalElements;\n sendGetCustomOutcomeRequest(payload);\n };\n\n const onDefaultFieldPaginationOptionsChangeHandler = (\n newPartialOptions: Partial & { search?: string },\n ) => {\n const { options } = customOutcomePagination;\n const payload = { ...options, ...newPartialOptions };\n delete payload.totalElements;\n sendGetDefaultOutcomeRequest(payload);\n };\n\n const [search, setSearch] = useState(initialSearch);\n\n const onSearch = () => {\n if (activeTabKey === OutcomeContentTabs.CustomOutcomes) {\n onCustomFieldPaginationOptionsChangeHandler({\n search,\n page: 1,\n limit: 25,\n });\n } else if (activeTabKey === OutcomeContentTabs.SystemOutcomes) {\n onDefaultFieldPaginationOptionsChangeHandler({\n search,\n page: 1,\n limit: 25,\n });\n }\n };\n const onClearSearch = () => {\n setSearch('');\n if (activeTabKey === OutcomeContentTabs.CustomOutcomes) {\n onCustomFieldPaginationOptionsChangeHandler({\n search: '',\n page: 1,\n limit: 25,\n });\n } else if (activeTabKey === OutcomeContentTabs.SystemOutcomes) {\n onDefaultFieldPaginationOptionsChangeHandler({\n search: '',\n page: 1,\n limit: 25,\n });\n }\n };\n\n const onSetSearch = (_search: string) => {\n setSearch(_search);\n };\n\n const onAction = (key, row) =>\n key === 'edit' ? onUpdateHandler(row) : onDeleteHandler(row);\n\n const containerClassName = classNames([\n 'custom-fields-content-container',\n {\n 'custom-outcome-container':\n activeTabKey === OutcomeContentTabs.CustomOutcomes,\n 'system-outcome-container':\n activeTabKey === OutcomeContentTabs.SystemOutcomes,\n },\n ]);\n\n return (\n
    \n \n
    \n );\n};\n\nexport default withTranslation()(CustomOutcomeContent);\n","import { showLoading, hideLoading } from 'react-redux-loading-bar';\nimport React from 'react';\nimport { withTranslation } from 'react-i18next';\nimport type { CreateUpdateModalData, IProps, IState } from './types';\nimport store from '../../../../store';\nimport CustomOutcomeHeader from './components/custom-outcome-header';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport toaster from '../../../../shared/toaster';\nimport DeleteCustomOutcomeModal from './components/delete-custom-outcome-modal';\nimport UpdateProspectCustomOutcomeModal from './components/generic-create-update-custom-outcome-modal/prospect-modal/update-prospect-custom-outcome-modal';\nimport CreateProspectCustomOutcomeModal from './components/generic-create-update-custom-outcome-modal/prospect-modal/create-prospect-custom-outcome-modal';\nimport CustomOutcomeContent from './components/custom-outcome-content';\nimport { constants } from '../../../../shared/enums/constants';\nimport { GlobalSettings } from '../../../../shared/components/global-settings-wrapper';\nimport { OutcomeContentTabs } from './components/custom-outcome-content/types';\nimport { getIsRequestPending } from '../../../../shared/utils';\n\nclass CustomOutcome extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n actionCustomOutcome: null,\n showDeleteCustomOutcomeModal: false,\n showCreateProspectCustomOutcomeModal: false,\n showUpdateProspectCustomOutcomeModal: false,\n actionCustomOutcomeProspectUpdateId: 1,\n activeTabKey: OutcomeContentTabs.CustomOutcomes,\n };\n }\n\n componentDidUpdate(prevProps: Readonly, prevState: Readonly) {\n const {\n isLoading,\n createCustomOutcomeRequestStatus,\n updateCustomOutcomeRequestStatus,\n deleteCustomOutcomeRequestStatus,\n } = this.props;\n const { activeTabKey } = this.state;\n if (isLoading !== prevProps.isLoading) {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n isLoading ? store.dispatch(showLoading()) : store.dispatch(hideLoading());\n }\n\n if (\n createCustomOutcomeRequestStatus !==\n prevProps.createCustomOutcomeRequestStatus\n ) {\n this.createProspectCustomOutcomeRefresh();\n }\n\n if (\n updateCustomOutcomeRequestStatus !==\n prevProps.updateCustomOutcomeRequestStatus\n ) {\n this.updateProspectCustomOutcomeRefresh();\n }\n\n if (\n deleteCustomOutcomeRequestStatus !==\n prevProps.deleteCustomOutcomeRequestStatus\n ) {\n this.deleteCustomOutcomeRefresh();\n }\n\n if (activeTabKey !== prevState.activeTabKey) {\n this.getOutcomes();\n }\n }\n\n componentWillUnmount = () => {\n const { resetProspectOutcomeData } = this.props;\n resetProspectOutcomeData();\n };\n\n onCreateProspectCustomOutcomeSubmit = (payload: CreateUpdateModalData) => {\n const { sendCreateCustomOutcomeRequest } = this.props;\n sendCreateCustomOutcomeRequest({\n label: payload.label,\n sentiment: payload.sentiment,\n });\n };\n\n onUpdateProspectCustomOutcomeSubmit = (payload: CreateUpdateModalData) => {\n const { sendUpdateCustomOutcomeRequest } = this.props;\n const { actionCustomOutcome } = this.state;\n sendUpdateCustomOutcomeRequest(actionCustomOutcome.id, {\n label: payload.label,\n sentiment: payload.sentiment,\n });\n };\n\n showCreateProspectCustomOutcomeModal = () => {\n this.setState({\n actionCustomOutcome: null,\n showCreateProspectCustomOutcomeModal: true,\n });\n };\n\n hideCreateProspectCustomOutcomeModal = () => {\n this.setState({\n actionCustomOutcome: null,\n showCreateProspectCustomOutcomeModal: false,\n });\n };\n\n changeActionCustomOutcomeProspectUpdateId = (id: number) => {\n this.setState({\n actionCustomOutcomeProspectUpdateId: id,\n });\n };\n\n showUpdateProspectCustomOutcomeModal = (customOutcome) => {\n this.setState({\n actionCustomOutcome: customOutcome,\n showUpdateProspectCustomOutcomeModal: true,\n });\n };\n\n hideUpdateProspectCustomOutcomeModal = () => {\n this.setState({\n actionCustomOutcome: null,\n showUpdateProspectCustomOutcomeModal: false,\n });\n };\n\n showProspectCustomOutcomeDeleteModal = (customOutcome) => {\n this.setState({\n actionCustomOutcome: customOutcome,\n showDeleteCustomOutcomeModal: true,\n });\n };\n\n hideDeleteCustomOutcomeModal = () => {\n this.setState({\n actionCustomOutcome: null,\n showDeleteCustomOutcomeModal: false,\n actionCustomOutcomeProspectUpdateId: 1,\n });\n };\n\n setActiveTabKey = (value: string) => {\n this.setState({\n activeTabKey: value,\n });\n };\n\n onDeleteCustomOutcomeSubmit = () => {\n const { sendDeleteCustomOutcomeRequest } = this.props;\n const {\n actionCustomOutcome,\n actionCustomOutcomeProspectUpdateId,\n } = this.state;\n sendDeleteCustomOutcomeRequest(\n actionCustomOutcome.id,\n actionCustomOutcomeProspectUpdateId,\n );\n this.setState({ actionCustomOutcomeProspectUpdateId: 1 });\n };\n\n componentDidMount = () => {\n this.getOutcomes();\n };\n\n getOutcomes = (forceRefetch = false) => {\n const {\n customOutcome,\n defaultOutcome,\n sendGetDefaultOutcomeRequest,\n sendGetCustomOutcomeRequest,\n customOutcomePagination: {\n options: { limit: cL, page: cP, search: cSearch },\n },\n defaultOutcomePagination: {\n options: { limit: dL, page: dP, search: dSearch },\n },\n } = this.props;\n\n const { activeTabKey } = this.state;\n\n if (\n activeTabKey === OutcomeContentTabs.CustomOutcomes &&\n (customOutcome.length <= 0 || forceRefetch)\n ) {\n sendGetCustomOutcomeRequest({ limit: cL, page: cP, search: cSearch });\n } else if (\n activeTabKey === OutcomeContentTabs.SystemOutcomes &&\n (defaultOutcome.length <= 0 || forceRefetch)\n ) {\n sendGetDefaultOutcomeRequest({ limit: dL, page: dP, search: dSearch });\n }\n };\n\n createProspectCustomOutcomeRefresh = () => {\n const {\n createCustomOutcomeRequestStatus,\n createCustomOutcomeRequestMessage,\n createCustomOutcomeRequestError,\n sendGetCustomOutcomeRequest,\n customOutcomePagination: {\n options: { limit: cL, page: cP },\n },\n } = this.props;\n\n if (createCustomOutcomeRequestStatus === RequestStatus.Succeeded) {\n toaster.success(createCustomOutcomeRequestMessage);\n this.hideCreateProspectCustomOutcomeModal();\n sendGetCustomOutcomeRequest({ limit: cL, page: cP });\n }\n if (\n createCustomOutcomeRequestStatus === RequestStatus.Failed &&\n createCustomOutcomeRequestError\n ) {\n toaster.error(createCustomOutcomeRequestError.message);\n }\n };\n\n updateProspectCustomOutcomeRefresh = () => {\n const {\n updateCustomOutcomeRequestStatus,\n updateCustomOutcomeRequestError,\n } = this.props;\n\n if (updateCustomOutcomeRequestStatus === RequestStatus.Succeeded) {\n this.showUpdateOutcomeSuccessToaster();\n this.hideUpdateProspectCustomOutcomeModal();\n this.getOutcomes(true);\n }\n\n if (\n updateCustomOutcomeRequestStatus === RequestStatus.Failed &&\n updateCustomOutcomeRequestError\n ) {\n toaster.error(updateCustomOutcomeRequestError.message);\n }\n };\n\n showUpdateOutcomeSuccessToaster = () => {\n const {\n actionCustomOutcome: { isDefault },\n } = this.state;\n const { t } = this.props;\n if (isDefault) {\n toaster.success(t('messages.system_outcome_update_successfully'));\n } else {\n toaster.success(t('messages.custom_outcome_update_successfully'));\n }\n };\n\n deleteCustomOutcomeRefresh = () => {\n const {\n deleteCustomOutcomeRequestStatus,\n deleteCustomOutcomeRequestMessage,\n deleteCustomOutcomeRequestError,\n sendGetCustomOutcomeRequest,\n } = this.props;\n\n if (deleteCustomOutcomeRequestStatus === RequestStatus.Succeeded) {\n toaster.success(deleteCustomOutcomeRequestMessage);\n this.hideDeleteCustomOutcomeModal();\n sendGetCustomOutcomeRequest({\n limit: constants.DEFAULT_PAGE_SIZE,\n page: 1,\n });\n }\n\n if (\n deleteCustomOutcomeRequestStatus === RequestStatus.Failed &&\n deleteCustomOutcomeRequestError\n ) {\n toaster.error(deleteCustomOutcomeRequestError.message);\n }\n };\n\n render() {\n const {\n customOutcome,\n defaultOutcome,\n getCustomOutcomeRequestStatus,\n getDefaultOutcomeRequestStatus,\n createCustomOutcomeRequestStatus,\n updateCustomOutcomeRequestStatus,\n deleteCustomOutcomeRequestStatus,\n sendGetCustomOutcomeRequest,\n sendGetDefaultOutcomeRequest,\n customOutcomePagination,\n defaultOutcomePagination,\n subscriptionPlan,\n sendGetAllOutcomesRequest,\n getAllCustomOutcomeRequestStatus,\n outcomes: allOutcomes,\n } = this.props;\n\n const {\n actionCustomOutcome,\n showCreateProspectCustomOutcomeModal,\n showUpdateProspectCustomOutcomeModal,\n showDeleteCustomOutcomeModal,\n } = this.state;\n\n const isCreateRequestPending =\n createCustomOutcomeRequestStatus === RequestStatus.Pending;\n\n const isUpdateRequestPending =\n updateCustomOutcomeRequestStatus === RequestStatus.Pending;\n\n const isDeleteRequestPending =\n deleteCustomOutcomeRequestStatus === RequestStatus.Pending;\n\n return (\n \n
    \n \n \n
    \n {showCreateProspectCustomOutcomeModal && (\n \n )}\n {showUpdateProspectCustomOutcomeModal && (\n \n )}\n {showDeleteCustomOutcomeModal && (\n \n )}\n
    \n );\n }\n}\n\nexport default withTranslation()(CustomOutcome);\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps } from 'react-router';\nimport { RootState } from '../../../../store/root-reducer';\nimport {\n deleteCustomOutcomeRequest,\n getCustomOutcomesWithPaginationRequest,\n createCustomOutcomeRequest,\n updateCustomOutcomeRequest,\n getCustomOutcomeRequest,\n resetProspectOutcomeData,\n} from './custom-outcome-slice';\nimport {\n CreateOutcomeRequestPayload,\n UpdateOutcomeRequestPayload,\n} from '../../types/request-payload';\nimport CustomOutcome from './custom-outcome';\nimport { PaginationQueryParams } from '../../../../shared/types/request';\nimport { getDefaultOutcomesWithPaginationRequest } from './extra-actions';\n\nconst mapStateToProps = (state: RootState) => ({\n getCustomOutcomeRequestStatus:\n state.customOutcome.getCustomOutcomesWithPaginationRequest.status,\n\n getCustomOutcomeRequestMessage:\n state.customOutcome.getCustomOutcomesWithPaginationRequest.message,\n getCustomOutcomeRequestError:\n state.customOutcome.getCustomOutcomesWithPaginationRequest.error,\n\n getDefaultOutcomeRequestStatus:\n state.customOutcome.getDefaultOutcomesWithPaginationRequest.status,\n\n getDefaultOutcomeRequestMessage:\n state.customOutcome.getDefaultOutcomesWithPaginationRequest.message,\n getDefaultOutcomeRequestError:\n state.customOutcome.getDefaultOutcomesWithPaginationRequest.error,\n\n createCustomOutcomeRequestStatus:\n state.customOutcome.createCustomOutcomeRequest.status,\n createCustomOutcomeRequestMessage:\n state.customOutcome.createCustomOutcomeRequest.message,\n createCustomOutcomeRequestError:\n state.customOutcome.createCustomOutcomeRequest.error,\n\n updateCustomOutcomeRequestStatus:\n state.customOutcome.updateCustomOutcomeRequest.status,\n updateCustomOutcomeRequestMessage:\n state.customOutcome.updateCustomOutcomeRequest.message,\n updateCustomOutcomeRequestError:\n state.customOutcome.updateCustomOutcomeRequest.error,\n\n deleteCustomOutcomeRequestStatus:\n state.customOutcome.deleteCustomOutcomeRequest.status,\n deleteCustomOutcomeRequestMessage:\n state.customOutcome.deleteCustomOutcomeRequest.message,\n deleteCustomOutcomeRequestError:\n state.customOutcome.deleteCustomOutcomeRequest.error,\n\n getAllCustomOutcomeRequestStatus:\n state.customOutcome.getCustomOutcomeRequest.status,\n getAllCustomOutcomeRequestMessage:\n state.customOutcome.getCustomOutcomeRequest.message,\n getAllCustomOutcomeRequestError:\n state.customOutcome.getCustomOutcomeRequest.error,\n\n outcomes: state.customOutcome.outcomes,\n customOutcome: state.customOutcome.customOutcome,\n defaultOutcome: state.customOutcome.defaultOutcome,\n defaultOutcomePagination: {\n ...state.customOutcome.defaultOutcomePagination,\n pagesCount: null,\n options: {\n ...state.customOutcome.defaultOutcomePagination.options,\n totalElements: state.customOutcome.defaultOutcomePagination.count,\n },\n },\n customOutcomePagination: {\n ...state.customOutcome.customOutcomePagination,\n pagesCount: null,\n options: {\n ...state.customOutcome.customOutcomePagination.options,\n totalElements: state.customOutcome.customOutcomePagination.count,\n },\n },\n isLoading: state.customOutcome.isLoading,\n\n subscriptionPlan: state.home.subscription?.planCode,\n planTransitionDetails: state.home.subscription?.planTransitionDetails,\n});\n\nconst mapDispatchToProps = {\n sendGetCustomOutcomeRequest: (\n params: PaginationQueryParams & { search?: string },\n ) => getCustomOutcomesWithPaginationRequest(params),\n sendGetDefaultOutcomeRequest: (\n params: PaginationQueryParams & { search?: string },\n ) => getDefaultOutcomesWithPaginationRequest(params),\n\n sendCreateCustomOutcomeRequest: (payload: CreateOutcomeRequestPayload) =>\n createCustomOutcomeRequest(payload),\n\n sendUpdateCustomOutcomeRequest: (\n customOutcomeId: number,\n payload: UpdateOutcomeRequestPayload,\n ) =>\n updateCustomOutcomeRequest({\n customOutcomeId,\n label: payload.label,\n sentiment: payload.sentiment,\n }),\n\n sendDeleteCustomOutcomeRequest: (\n customOutcomeId: number,\n newOutcomeId: number,\n ) => deleteCustomOutcomeRequest({ customOutcomeId, newOutcomeId }),\n\n sendGetAllOutcomesRequest: () => getCustomOutcomeRequest(),\n resetProspectOutcomeData: () => resetProspectOutcomeData(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps &\n RouteComponentProps & {\n t: (x: string) => React.ReactNode;\n };\n\nexport default connector(CustomOutcome);\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport Button from '../../../../../../shared/design-system/components/atoms/button';\nimport { SubscriptionPlans } from '../../../../../../shared/utils/subscription-plans';\nimport { IProps } from './types';\nimport PremiumFeatureIndicator from '../../../../../../shared/components/premium-feature-indicator';\nimport { Placement } from '../../../../../../shared/design-system/components/overlay';\nimport LinkBadge from '../../../../../../shared/design-system/components/atoms/link-badge';\nimport { GlobalSettings } from '../../../../../../shared/components/global-settings-wrapper';\n\nconst ApiTokenHeader: React.FC = ({\n onClick: onCreateApiTokenClickHandler,\n subscriptionPlan,\n}) => {\n const { t } = useTranslation();\n\n return (\n \n \n \n\n \n \n \n
    \n
    \n {/* TODO: refactor subscription plan check condition */}\n \n \n {t('labels.create_api_key')}\n \n
    \n
    \n
    \n
    \n );\n};\n\nexport default ApiTokenHeader;\n","import React from 'react';\nimport Table from '../../../../../../shared/design-system/components/organisms/table';\nimport { PaginationShowHide } from '../../../../../../shared/design-system/components/organisms/table/types';\nimport { getNumericalFormattedDate } from '../../../../../../shared/functions/date';\nimport { IProps } from './types';\n\nconst ApiTokenList: React.FC = ({ apiTokens, onAction }) => {\n const apiTokenColumnData = [\n { dataField: 'label', text: 'Label', headerAlign: 'left' },\n {\n dataField: 'createdAt',\n text: 'Created date',\n headerAlign: 'left',\n },\n ];\n\n apiTokenColumnData.splice(1, 0, {\n dataField: 'user',\n text: 'Created By',\n headerAlign: 'left',\n });\n\n const actions = [\n { key: 'revoke', icon: 'trash', displayName: 'Delete', position: 'out' },\n ];\n\n const apiTokenData = apiTokens.map((item) => ({\n key: item.id,\n user: item.user,\n id: item.id,\n createdAt: getNumericalFormattedDate(new Date(item.createdAt)),\n label: item.label,\n }));\n\n return (\n \n );\n};\n\nexport default ApiTokenList;\n","import validator from 'validator';\n\nconst validate = (name, value) => {\n if (name === 'label') {\n if (validator.isEmpty(value)) {\n return 'invalid_label_input';\n }\n if (!validator.matches(value, /^[a-zA-Z0-9-\\s]+$/)) {\n return 'only_letters_allowed';\n }\n if (!validator.isLength(value, { min: 1, max: 25 })) {\n return 'label_less_than';\n }\n }\n return null;\n};\n\nexport default validate;\n","import React, { useState, useRef } from 'react';\nimport { Modal } from 'react-bootstrap';\nimport { useTranslation } from 'react-i18next';\nimport Button from '../../../../../../shared/design-system/components/atoms/button';\nimport Input from '../../../../../../shared/design-system/components/input';\nimport toaster from '../../../../../../shared/toaster';\nimport { copyToClipboard } from '../../../../../../shared/utils/copy-to-clipboard';\nimport validate from './validator';\nimport { IProps } from './types';\n\nconst CreateOrShowApiTokenModal: React.FC = ({\n hide,\n onSubmit,\n showCreateApiTokenModal,\n showApiTokenModal,\n token,\n isRequestPending,\n error,\n}) => {\n const { t } = useTranslation();\n const [label, setLabel] = useState('');\n const [labelError, setLabelError] = useState('');\n\n const onSubmitHandler = (e) => {\n e.preventDefault();\n const inputError = validate('label', label);\n if (inputError) {\n setLabelError(inputError);\n return;\n }\n onSubmit(label);\n };\n\n const [showToken, setShowToken] = useState(false);\n const valueInput = useRef(null);\n\n const onCopyClickValueHandler = () => {\n copyToClipboard(token || '', valueInput.current);\n toaster.success(t('messages.api_key_copied_to_clipboard'));\n };\n\n return (\n \n {showCreateApiTokenModal && (\n \n
    \n
    \n
    \n

    {t('labels.create_api_key')}

    \n

    \n {t('messages.create_api_token_label')}\n

    \n {t('messages.label')}\n setLabel(value.trim())}\n />\n
    \n
    \n\n
    \n \n {t('labels.cancel')}\n \n \n {t('labels.create')}\n \n
    \n
    \n
    \n )}\n {showApiTokenModal && (\n \n
    \n
    \n

    {t('messages.your_new_api_key')}

    \n

    \n {t('messages.show_api_token')}\n

    \n setShowToken(!showToken),\n },\n ]}\n />\n
    \n
    \n
    \n \n {t('labels.close')}\n \n \n {t('labels.copy')}\n \n
    \n
    \n )}\n \n );\n};\n\nexport default CreateOrShowApiTokenModal;\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport Button from '../../../../../../shared/design-system/components/atoms/button';\nimport Icon from '../../../../../../shared/design-system/components/atoms/icon/icon';\nimport { IProps } from './types';\nimport Modal from '../../../../../../shared/design-system/components/atoms/modal';\n\nconst DeleteApiTokenModal: React.FC = ({\n hide,\n label,\n onSubmitDeleteApiToken,\n isRequestPending,\n}) => {\n const { t } = useTranslation();\n const onSubmit = (e) => {\n e.preventDefault();\n onSubmitDeleteApiToken();\n };\n\n return (\n \n \n
    {t('messages.delete_api_key')}
    \n \n }\n showCloseIcon={true}\n onClose={hide}\n cancelButtonText={t('labels.cancel')}\n submitButtonText={t('labels.delete')}\n isSubmitLoading={isRequestPending}\n isSubmitDisabled={isRequestPending}\n onSubmit={onSubmit}\n cancelButtonVarient={Button.Variant.Outlined}\n onHide={hide}\n >\n
    \n

    \n {t('messages.delete_api_token_part_one')}\n {label && \"{label}\"}\n {t('messages.delete_api_token_part_two')}\n

    \n
    \n \n );\n};\n\nexport default DeleteApiTokenModal;\n","import React, { useState, useEffect } from 'react';\nimport { Col, Row } from 'react-bootstrap';\nimport { useTranslation } from 'react-i18next';\nimport ApiTokenHeader from './components/api-token-header';\nimport ApiTokenList from './components/api-token-list';\nimport CreateOrShowApiTokenModal from './components/create-or-show-api-token-modal';\nimport DeleteApiTokenModal from './components/delete-api-token-modal';\nimport toaster from '../../../../shared/toaster';\nimport EmptyList from '../../../../shared/design-system/components/molecules/empty-list/empty-list';\nimport { Images } from '../../../../shared/app-constants';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport type { IProps } from './api-tokens-container';\nimport HeaderBanner from '../header-banner';\nimport { SubscriptionPlans } from '../../../../shared/utils/subscription-plans';\nimport hasResource from '../../../../shared/utils/access-control/has-resource';\nimport { ResourceIdentifiers } from '../../../../shared/utils/access-control/enums/resource-identifiers';\nimport UpgradePlanErrorModal from '../../../../shared/components/upgrade-plan-error-modal';\nimport RestrictionErrorModal from '../../../prospect/components/prospect-list/components/modals/restriction-error-modal';\nimport hasPermission from '../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../shared/utils/access-control/enums/permissions';\nimport { basicTrailPlanRestriction } from '../../../../shared/utils/mail-body-contents';\nimport { starterPlanRestriction } from '../../../../shared/utils/plan-restriction';\nimport { AnalyticsEvents } from '../../../../shared/enums/analytics';\nimport { executeOnRequestStatus } from '../../../../shared/utils';\n\nconst ApiTokens: React.FC = ({\n apiTokenList,\n generatedApiToken,\n sendGetApiTokenListRequest,\n getApiTokenListRequestStatus,\n sendCreateApiTokenRequest,\n getCreateApiTokenRequestStatus,\n getCreateApiTokenRequestError,\n sendRevokeApiTokenRequest,\n getRevokeApiTokenRequestStatus,\n resetCreateApiTokenRequest,\n role,\n subscriptionPlan,\n trackingId,\n planName,\n showLoading,\n hideLoading,\n}) => {\n const { t } = useTranslation();\n\n // states\n const [showCreateApiTokenModal, setShowCreateApiTokenModal] = useState(false);\n const [showApiTokenModal, setShowApiTokenModal] = useState(false);\n const [showDeleteApiTokenModal, setShowDeleteApiTokenModal] = useState(false);\n const [selectedApiToken, setSelectedApiToken] = useState({\n id: 0,\n label: '',\n });\n const [inputError, setInputError] = useState('');\n const [showUpgradePlanErrorModal, setShowUpgradePlanErrorModal] = useState(\n false,\n );\n const [isRestrictionModalShow, setIsRestrictionModalShow] = useState(\n false,\n );\n\n // Status\n const isCreateApiTokenRequestPending =\n getCreateApiTokenRequestStatus === RequestStatus.Pending;\n const isCreateApiTokenRequestSucceed =\n getCreateApiTokenRequestStatus === RequestStatus.Succeeded;\n\n const isRevokeApiTokenRequestPending =\n getRevokeApiTokenRequestStatus === RequestStatus.Pending;\n\n const isRevokeApiTokenRequestSucceed =\n getRevokeApiTokenRequestStatus === RequestStatus.Succeeded;\n\n // modal handlers\n const showRestrictionModal = () => {\n setIsRestrictionModalShow(true);\n };\n\n const hideRestrictionModal = () => {\n setIsRestrictionModalShow(false);\n };\n\n const onCreateApiTokenClickHandler = () => {\n if (!hasPermission(Permissions.API_TOKEN_WRITE)) {\n showRestrictionModal();\n\n // Tripped Feature Event\n window.analytics?.track?.({\n userId: trackingId,\n event: AnalyticsEvents.TrippedFeature,\n properties: {\n feature_type: 'API Key Added',\n current_plan: planName,\n },\n });\n\n return;\n }\n\n if (hasResource(ResourceIdentifiers.API_TOKEN_CREATE)) {\n setInputError('');\n setShowCreateApiTokenModal(true);\n }\n };\n const hideModal = () => {\n setShowCreateApiTokenModal(false);\n setShowApiTokenModal(false);\n resetCreateApiTokenRequest();\n };\n\n const revokeApiToken = (row) => {\n setSelectedApiToken({ id: row.key, label: row.label });\n setShowDeleteApiTokenModal(true);\n };\n\n // Use Effect\n useEffect(() => {\n sendGetApiTokenListRequest();\n }, []);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getApiTokenListRequestStatus,\n onPending: () => {\n showLoading();\n },\n onSuccess: () => {\n hideLoading();\n },\n });\n }, [getApiTokenListRequestStatus]);\n\n useEffect(() => {\n if (isRevokeApiTokenRequestSucceed) {\n sendGetApiTokenListRequest();\n toaster.success(t('messages.your_api_key_deleted'));\n }\n }, [isRevokeApiTokenRequestSucceed]);\n\n useEffect(() => {\n setShowCreateApiTokenModal(isCreateApiTokenRequestPending);\n if (isCreateApiTokenRequestSucceed) {\n sendGetApiTokenListRequest();\n }\n setShowApiTokenModal(isCreateApiTokenRequestSucceed);\n }, [isCreateApiTokenRequestSucceed]);\n\n useEffect(() => {\n setShowDeleteApiTokenModal(isRevokeApiTokenRequestPending);\n }, [isRevokeApiTokenRequestPending]);\n\n useEffect(() => {\n if (getCreateApiTokenRequestError) {\n setInputError(getCreateApiTokenRequestError.message);\n }\n }, [getCreateApiTokenRequestError]);\n\n // Functions\n const createApiToken = (label: string) => {\n sendCreateApiTokenRequest({ label });\n };\n\n const onSubmitDeleteApiToken = () => {\n sendRevokeApiTokenRequest({ tokenId: selectedApiToken.id });\n };\n\n const onAction = (key, row) => {\n if (key === 'revoke') {\n revokeApiToken(row);\n }\n };\n\n const hideUpgradePlanErrorModal = () => {\n setShowUpgradePlanErrorModal(false);\n };\n\n return (\n
    \n {(showCreateApiTokenModal || showApiTokenModal) && (\n hideModal()}\n onSubmit={(label) => createApiToken(label)}\n showCreateApiTokenModal={showCreateApiTokenModal}\n showApiTokenModal={showApiTokenModal}\n token={generatedApiToken}\n isRequestPending={isCreateApiTokenRequestPending}\n error={inputError}\n />\n )}\n\n {showDeleteApiTokenModal && (\n setShowDeleteApiTokenModal(false)}\n label={selectedApiToken.label}\n onSubmitDeleteApiToken={() => onSubmitDeleteApiToken()}\n isRequestPending={isRevokeApiTokenRequestPending}\n />\n )}\n\n \n \n \n \n \n {subscriptionPlan === SubscriptionPlans.FREE && }\n {getApiTokenListRequestStatus === RequestStatus.Succeeded &&\n apiTokenList.length > 0 && (\n onAction(key, row)}\n role={role}\n />\n )}\n {getApiTokenListRequestStatus === RequestStatus.Succeeded &&\n apiTokenList.length === 0 && (\n \n )}\n\n \n\n {isRestrictionModalShow && (\n \n )}\n
    \n );\n};\n\nexport default ApiTokens;\n","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport {\n getApiTokenListRequest,\n createApiTokenRequest,\n revokeApiTokenRequest,\n getCobaltSessionTokenRequest,\n cobaltEventsSubscribeRequest,\n getIntegrationAdminSettingRequest,\n changeIntegrationSettingRequest,\n generateIntegrationApiTokenRequest,\n authenticateApiTokenWithCurrentUserRequest,\n} from './extra-actions';\nimport { ApiToken, IntegrationSetting } from './types';\nimport { getCobaltSessionToken } from '../integrations/utils/helper';\n\ninterface RequestState {\n status: RequestStatus;\n message: string;\n error: any;\n}\n\ninterface State {\n getApiTokenListRequest: RequestState;\n createApiTokenRequest: RequestState;\n revokeApiTokenRequest: RequestState;\n getCobaltSessionTokenRequest: RequestState;\n cobaltEventsSubscribeRequest: RequestState;\n getIntegrationAdminSettingRequest: RequestState;\n changeIntegrationSettingRequest: RequestState;\n generateIntegrationApiTokenRequest: RequestState;\n authenticateApiTokenWithCurrentUserRequest: RequestState;\n isCurrentUserAuthenticatedWithApiToken: boolean;\n apiTokenList: ApiToken[];\n generatedApiToken: string;\n cobaltToken: string;\n isLoading: boolean;\n integrationSettings: IntegrationSetting;\n}\n\nconst initialState: State = {\n getApiTokenListRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n createApiTokenRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n revokeApiTokenRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getCobaltSessionTokenRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n cobaltEventsSubscribeRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n getIntegrationAdminSettingRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n changeIntegrationSettingRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n generateIntegrationApiTokenRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n authenticateApiTokenWithCurrentUserRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n apiTokenList: [],\n generatedApiToken: '',\n isCurrentUserAuthenticatedWithApiToken: false,\n cobaltToken: getCobaltSessionToken(),\n isLoading: false,\n integrationSettings: null,\n};\n\nconst apiTokensSlice = createSlice({\n name: 'apiToken',\n initialState,\n reducers: {\n resetCreateApiTokenRequest: (state) => {\n state.createApiTokenRequest.status = RequestStatus.Ideal;\n state.createApiTokenRequest.error = null;\n state.generatedApiToken = '';\n },\n },\n extraReducers: (builder) => {\n // get api token\n builder.addCase(getApiTokenListRequest.pending, (state) => {\n state.getApiTokenListRequest.status = RequestStatus.Pending;\n state.getApiTokenListRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(getApiTokenListRequest.fulfilled, (state, action) => {\n state.getApiTokenListRequest.status = RequestStatus.Succeeded;\n state.getApiTokenListRequest.message = action.payload.message;\n state.apiTokenList = action.payload.payload;\n state.isLoading = false;\n });\n builder.addCase(getApiTokenListRequest.rejected, (state, action) => {\n state.getApiTokenListRequest.status = RequestStatus.Failed;\n state.getApiTokenListRequest.error = action.payload;\n state.isLoading = false;\n });\n\n // Create api token\n builder.addCase(createApiTokenRequest.pending, (state) => {\n state.createApiTokenRequest.status = RequestStatus.Pending;\n state.createApiTokenRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(createApiTokenRequest.fulfilled, (state, action) => {\n state.createApiTokenRequest.status = RequestStatus.Succeeded;\n state.createApiTokenRequest.message = action.payload.message;\n state.generatedApiToken = action.payload.payload.hashToken;\n state.isLoading = false;\n });\n builder.addCase(createApiTokenRequest.rejected, (state, action) => {\n state.createApiTokenRequest.status = RequestStatus.Failed;\n state.createApiTokenRequest.error =\n !action.payload.isHandled && action.payload;\n state.isLoading = false;\n });\n\n // Authenticate api token with current user\n builder.addCase(authenticateApiTokenWithCurrentUserRequest.pending, (state) => {\n state.authenticateApiTokenWithCurrentUserRequest.status = RequestStatus.Pending;\n state.authenticateApiTokenWithCurrentUserRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(authenticateApiTokenWithCurrentUserRequest.fulfilled, (state, action) => {\n state.authenticateApiTokenWithCurrentUserRequest.status = RequestStatus.Succeeded;\n state.authenticateApiTokenWithCurrentUserRequest.message = action.payload.message;\n state.isCurrentUserAuthenticatedWithApiToken = action.payload.payload.isAuthenticate;\n state.isLoading = false;\n });\n builder.addCase(authenticateApiTokenWithCurrentUserRequest.rejected, (state, action) => {\n state.authenticateApiTokenWithCurrentUserRequest.status = RequestStatus.Failed;\n state.authenticateApiTokenWithCurrentUserRequest.error =\n !action.payload.isHandled && action.payload;\n state.isLoading = false;\n });\n\n // revoke api token\n builder.addCase(revokeApiTokenRequest.pending, (state) => {\n state.revokeApiTokenRequest.status = RequestStatus.Pending;\n state.revokeApiTokenRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(revokeApiTokenRequest.fulfilled, (state, action) => {\n state.revokeApiTokenRequest.status = RequestStatus.Succeeded;\n state.revokeApiTokenRequest.message = action.payload.message;\n state.isLoading = false;\n });\n builder.addCase(revokeApiTokenRequest.rejected, (state, action) => {\n state.revokeApiTokenRequest.status = RequestStatus.Failed;\n state.revokeApiTokenRequest.error = action.payload;\n state.isLoading = false;\n });\n\n // Get Cobalt Session Token\n builder.addCase(getCobaltSessionTokenRequest.pending, (state) => {\n state.getCobaltSessionTokenRequest.status = RequestStatus.Pending;\n state.getCobaltSessionTokenRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(getCobaltSessionTokenRequest.fulfilled, (state, action) => {\n state.getCobaltSessionTokenRequest.status = RequestStatus.Succeeded;\n state.getCobaltSessionTokenRequest.message = action.payload.message;\n state.cobaltToken = action.payload.payload.token;\n state.isLoading = false;\n });\n builder.addCase(getCobaltSessionTokenRequest.rejected, (state, action) => {\n state.getCobaltSessionTokenRequest.status = RequestStatus.Failed;\n state.getCobaltSessionTokenRequest.error = action.payload;\n state.isLoading = false;\n });\n\n // Subscribe Cobalt Event\n builder.addCase(cobaltEventsSubscribeRequest.pending, (state) => {\n state.cobaltEventsSubscribeRequest.status = RequestStatus.Pending;\n state.cobaltEventsSubscribeRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(cobaltEventsSubscribeRequest.fulfilled, (state, action) => {\n state.cobaltEventsSubscribeRequest.status = RequestStatus.Succeeded;\n state.cobaltEventsSubscribeRequest.message = action.payload.message;\n state.isLoading = false;\n });\n builder.addCase(cobaltEventsSubscribeRequest.rejected, (state, action) => {\n state.cobaltEventsSubscribeRequest.status = RequestStatus.Failed;\n state.cobaltEventsSubscribeRequest.error = action.payload;\n state.isLoading = false;\n });\n\n // Get Integration Setting\n builder.addCase(getIntegrationAdminSettingRequest.pending, (state) => {\n state.getIntegrationAdminSettingRequest.status = RequestStatus.Pending;\n state.getIntegrationAdminSettingRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(\n getIntegrationAdminSettingRequest.fulfilled,\n (state, action) => {\n state.getIntegrationAdminSettingRequest.status =\n RequestStatus.Succeeded;\n state.integrationSettings = action.payload.payload;\n state.getIntegrationAdminSettingRequest.message =\n action.payload.message;\n state.isLoading = false;\n },\n );\n builder.addCase(\n getIntegrationAdminSettingRequest.rejected,\n (state, action) => {\n state.getIntegrationAdminSettingRequest.status = RequestStatus.Failed;\n state.getIntegrationAdminSettingRequest.error = action.payload;\n state.isLoading = false;\n },\n );\n\n // Change Integration Setting\n builder.addCase(changeIntegrationSettingRequest.pending, (state) => {\n state.changeIntegrationSettingRequest.status = RequestStatus.Pending;\n state.changeIntegrationSettingRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(\n changeIntegrationSettingRequest.fulfilled,\n (state, action) => {\n state.changeIntegrationSettingRequest.status = RequestStatus.Succeeded;\n state.changeIntegrationSettingRequest.message = action.payload.message;\n state.isLoading = false;\n },\n );\n builder.addCase(\n changeIntegrationSettingRequest.rejected,\n (state, action) => {\n state.changeIntegrationSettingRequest.status = RequestStatus.Failed;\n state.changeIntegrationSettingRequest.error = action.payload;\n state.isLoading = false;\n },\n );\n\n // Generate Integration API Token\n builder.addCase(generateIntegrationApiTokenRequest.pending, (state) => {\n state.generateIntegrationApiTokenRequest.status = RequestStatus.Pending;\n state.generateIntegrationApiTokenRequest.error = null;\n state.isLoading = true;\n });\n builder.addCase(\n generateIntegrationApiTokenRequest.fulfilled,\n (state, action) => {\n state.generateIntegrationApiTokenRequest.status =\n RequestStatus.Succeeded;\n state.generateIntegrationApiTokenRequest.message =\n action.payload.message;\n state.isLoading = false;\n },\n );\n builder.addCase(\n generateIntegrationApiTokenRequest.rejected,\n (state, action) => {\n state.generateIntegrationApiTokenRequest.status = RequestStatus.Failed;\n state.generateIntegrationApiTokenRequest.error = action.payload;\n state.isLoading = false;\n },\n );\n },\n});\n\nexport const { resetCreateApiTokenRequest } = apiTokensSlice.actions;\n\nexport default apiTokensSlice.reducer;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { hideLoading, showLoading } from 'react-redux-loading-bar';\nimport ApiTokens from './api-tokens';\nimport { RootState } from '../../../../store/root-reducer';\nimport { resetCreateApiTokenRequest } from './api-tokens-slice';\nimport {\n createApiTokenRequest,\n getApiTokenListRequest,\n revokeApiTokenRequest,\n} from './extra-actions';\n\nconst mapStateToProps = (state: RootState) => ({\n getApiTokenListRequestStatus: state.apiToken.getApiTokenListRequest.status,\n getApiTokenListRequestMessage: state.apiToken.getApiTokenListRequest.message,\n getApiTokenListRequestError: state.apiToken.getApiTokenListRequest.error,\n\n getCreateApiTokenRequestStatus: state.apiToken.createApiTokenRequest.status,\n getCreateApiTokenRequestMessage: state.apiToken.createApiTokenRequest.message,\n getCreateApiTokenRequestError: state.apiToken.createApiTokenRequest.error,\n\n getRevokeApiTokenRequestStatus: state.apiToken.revokeApiTokenRequest.status,\n getRevokeApiTokenRequestMessage: state.apiToken.revokeApiTokenRequest.message,\n getRevokeApiTokenRequestError: state.apiToken.revokeApiTokenRequest.error,\n\n generatedApiToken: state.apiToken.generatedApiToken,\n apiTokenList: state.apiToken.apiTokenList,\n isLoading: state.apiToken.isLoading,\n role: state.home.role,\n subscriptionPlan: state.home.subscription?.planCode,\n planTransitionDetails: state.home.subscription?.planTransitionDetails,\n\n trackingId: state.home.trackingId,\n planName: state.home.subscription?.planName,\n});\n\nconst mapDispatchToProps = {\n sendGetApiTokenListRequest: () => getApiTokenListRequest(),\n sendCreateApiTokenRequest: (args) => createApiTokenRequest(args),\n sendRevokeApiTokenRequest: (args) => revokeApiTokenRequest(args),\n resetCreateApiTokenRequest: () => resetCreateApiTokenRequest(),\n showLoading: () => showLoading(),\n hideLoading: () => hideLoading(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps;\n\nexport default connector(ApiTokens);\n","import { PaginationQueryParams } from '../../../../../../shared/types/request';\nimport { SubscriptionPlans } from '../../../../../../shared/utils/subscription-plans';\nimport { CustomField, DefaultField } from '../../../../types/custom-field';\n\nexport type IProps = {\n customFields: CustomField[];\n defaultFields: DefaultField[];\n customFieldPagination: {\n options: Required & { totalElements: number };\n pagesCount: number;\n count: number;\n };\n defaultFieldPagination: {\n options: Required & { totalElements: number };\n pagesCount: number;\n count: number;\n };\n isRequestPending: boolean;\n onCreateHandler: (event: React.MouseEvent) => void;\n onUpdateHandler: (customField: CustomField) => void;\n onDeleteHandler: (customField: CustomField) => void;\n sendGetCustomFieldsRequest: (pagination: PaginationQueryParams) => void;\n sendGetDefaultFieldsRequest: (pagination: PaginationQueryParams) => void;\n subscriptionPlan: SubscriptionPlans;\n t: (x: string) => React.ReactNode;\n activeTabKey: string;\n setActiveTabKey: (val: string) => void;\n};\n\nexport enum FieldContentTabs {\n CustomFields = 'custom-fields',\n SystemFields = 'system-fields',\n}\n","import React from 'react';\nimport { IProps } from './types';\nimport { GlobalSettings } from '../../../../../../shared/components/global-settings-wrapper';\n\nconst CustomFieldHeader: React.FC = ({ headerName }) => (\n \n \n \n \n \n);\n\nexport default CustomFieldHeader;\n","import React from 'react';\nimport { Images } from '../../../../../../../shared/app-constants';\nimport ImageIcon from '../../../../../../../shared/components/images/image-icon';\nimport { FieldContentTabs } from '../types';\nimport TruncatedTextWithTooltip from '../../../../../../../shared/components/truncated-text-with-tooltip';\nimport hasPermission from '../../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../../shared/utils/access-control/enums/permissions';\n\nexport const getCustomFieldColumns = (onCopyClickHandler, onKeyHandler) => [\n {\n dataField: 'label',\n text: 'Field Name',\n component: (cell) => ,\n },\n {\n dataField: 'fieldHashedId',\n text: 'Field Id',\n component: (cell) => (\n
    \n
    {cell}
    \n {\n onCopyClickHandler(cell);\n }}\n className=\"field-hashed-id-icon\"\n >\n \n \n
    \n ),\n },\n {\n dataField: 'type',\n text: 'Field Type',\n },\n];\n\nexport const generateActionsColumn = (tab: FieldContentTabs) => {\n let actions = null;\n\n if (hasPermission(Permissions.FIELD_UPDATE)) {\n actions = [\n {\n displayName: 'Edit',\n icon: 'pencil',\n key: 'edit',\n position: 'out',\n },\n ];\n }\n\n if (\n hasPermission(Permissions.FIELD_DELETE) &&\n tab === FieldContentTabs.CustomFields\n ) {\n actions = [\n ...actions,\n {\n displayName: 'Delete',\n icon: 'trash',\n key: 'delete',\n position: 'out',\n },\n ];\n }\n\n return actions;\n};\n\nexport const getDefaultTableWrapper = (\n t: FieldContentTabs,\n customFieldPaginationCount: number,\n defaultFieldPaginationCount: number,\n) => {\n switch (t) {\n case FieldContentTabs.CustomFields:\n return customFieldPaginationCount > 25 ? 'paginated-table' : '';\n case FieldContentTabs.SystemFields:\n return defaultFieldPaginationCount > 25 ? 'paginated-table' : '';\n default:\n return '';\n }\n};\n","/* eslint-disable react/destructuring-assignment */\nimport Tabs, { TabPane } from 'rc-tabs';\nimport React from 'react';\nimport { withTranslation } from 'react-i18next';\nimport { Images } from '../../../../../../shared/app-constants';\nimport { AvatarWithName } from '../../../../../../shared/design-system/components/atoms/avatar-with-name/avatar-with-name';\nimport Button from '../../../../../../shared/design-system/components/atoms/button';\nimport EmptyList from '../../../../../../shared/design-system/components/molecules/empty-list/empty-list';\nimport Table from '../../../../../../shared/design-system/components/organisms/table';\nimport {\n Column,\n PaginationShowHide,\n} from '../../../../../../shared/design-system/components/organisms/table/types';\nimport { PaginationQueryParams } from '../../../../../../shared/types/request';\nimport { capitalize } from '../../../../../../shared/utils';\nimport { DefaultField, CustomField } from '../../../../types/custom-field';\nimport {\n generateActionsColumn,\n getCustomFieldColumns,\n getDefaultTableWrapper,\n} from './helpers/custom-field-column-data';\nimport { FieldContentTabs } from './types';\nimport HeaderBanner from '../../../header-banner';\nimport { SubscriptionPlans } from '../../../../../../shared/utils/subscription-plans';\nimport hasPermission from '../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../shared/utils/access-control/enums/permissions';\nimport { FieldType } from '../../../../enums/field';\n\ntype IProps = {\n customFields: CustomField[];\n defaultFields: DefaultField[];\n onCustomFieldPaginationOptionsChangeHandler: (\n newPartialOptions: Partial,\n ) => void;\n onDefaultFieldPaginationOptionsChangeHandler: (\n newPartialOptions: Partial,\n ) => void;\n customFieldPagination: {\n options: Required & { totalElements: number };\n pagesCount: number;\n count: number;\n };\n defaultFieldPagination: {\n options: Required & { totalElements: number };\n pagesCount: number;\n count: number;\n };\n onActonHandler: (key, row) => void;\n activeTabKey: string;\n onTabChange: (string) => void;\n onCreateHandler: (event: React.MouseEvent) => void;\n subscriptionPlan: SubscriptionPlans;\n isRequestPending: boolean;\n t: (x: string) => React.ReactNode;\n};\n\nconst prepareCustomFields = (customFields) =>\n customFields.map((field) => ({\n ...field,\n type:\n field.fieldType === FieldType.LongText\n ? 'Long Text'\n : capitalize(field.fieldType),\n }));\n\nconst prepareDefaultFields = (defaultFields) =>\n defaultFields.map((field) => ({\n ...field,\n type: capitalize(field.fieldType),\n }));\n\nconst CustomFieldTabPanes: React.FC = ({\n customFields,\n defaultFields,\n onDefaultFieldPaginationOptionsChangeHandler,\n onCustomFieldPaginationOptionsChangeHandler,\n customFieldPagination,\n defaultFieldPagination,\n onActonHandler,\n activeTabKey,\n onTabChange,\n onCreateHandler,\n subscriptionPlan,\n isRequestPending,\n t,\n}) => {\n const onCopyClickHandler = (value) => {\n navigator.clipboard.writeText(value);\n };\n\n const emptyListDescription = () => (\n <>\n {t('messages.custom_fields_empty_list_description')}{' '}\n {t('messages.custom_fields_empty_list_description2')}\n \n );\n\n const renderTable = (tab, columns) => {\n if (\n customFields.length === 0 &&\n tab === FieldContentTabs.CustomFields &&\n !isRequestPending\n ) {\n return (\n
    \n \n \n {hasPermission(Permissions.FIELD_WRITE) && (\n \n {t('labels.add_prospect_fields')}\n \n )}\n \n \n
    \n );\n }\n return (\n \n );\n };\n\n return (\n onTabChange(tabKey)}\n >\n {[FieldContentTabs.CustomFields, FieldContentTabs.SystemFields].map(\n (tab) => {\n let columns: Column[] = getCustomFieldColumns(\n onCopyClickHandler,\n null,\n );\n\n if (tab === FieldContentTabs.CustomFields) {\n columns = [\n ...columns,\n {\n dataField: 'user',\n text: 'Added By',\n headerAlign: 'left',\n align: 'left',\n component: (cell) => {\n if (cell) {\n const { firstName, lastName } = cell;\n return (\n \n );\n }\n return '-';\n },\n },\n ];\n }\n\n return (\n \n
    \n {subscriptionPlan === SubscriptionPlans.FREE && (\n \n )}\n {renderTable(tab, columns)}\n
    \n \n );\n },\n )}\n \n );\n};\n\nexport default withTranslation()(CustomFieldTabPanes);\n","import { withTranslation } from 'react-i18next';\nimport React, { useState } from 'react';\nimport { IProps, FieldContentTabs } from './types';\nimport Button from '../../../../../../shared/design-system/components/atoms/button';\nimport { PaginationQueryParams } from '../../../../../../shared/types/request';\nimport CustomFieldTabPanes from './custom-field-tabpanes';\nimport { SubscriptionPlans } from '../../../../../../shared/utils/subscription-plans';\nimport hasPermission from '../../../../../../shared/utils/access-control/has-permission';\nimport { Permissions } from '../../../../../../shared/utils/access-control/enums/permissions';\nimport { GlobalSettings } from '../../../../../../shared/components/global-settings-wrapper';\nimport { ResourceIdentifiers } from '../../../../../../shared/utils/access-control/enums/resource-identifiers';\nimport hasResource from '../../../../../../shared/utils/access-control/has-resource';\n\nconst CustomFieldContent: React.FC = ({\n customFields,\n defaultFields,\n customFieldPagination,\n defaultFieldPagination,\n sendGetCustomFieldsRequest,\n sendGetDefaultFieldsRequest,\n onUpdateHandler,\n onDeleteHandler,\n onCreateHandler,\n isRequestPending,\n subscriptionPlan,\n t,\n activeTabKey,\n setActiveTabKey,\n}) => {\n const onTabChange = (tabKey) => {\n setActiveTabKey(tabKey);\n };\n\n const onCustomFieldPaginationOptionsChangeHandler = (\n newPartialOptions: Partial,\n ) => {\n const { options } = customFieldPagination;\n const payload = { ...options, ...newPartialOptions };\n delete payload.totalElements;\n sendGetCustomFieldsRequest(payload);\n };\n\n const onDefaultFieldPaginationOptionsChangeHandler = (\n newPartialOptions: Partial,\n ) => {\n const { options } = customFieldPagination;\n const payload = { ...options, ...newPartialOptions };\n delete payload.totalElements;\n sendGetDefaultFieldsRequest(payload);\n };\n\n const onAction = (key, row) =>\n key === 'edit' ? onUpdateHandler(row) : onDeleteHandler(row);\n\n return (\n \n {activeTabKey === FieldContentTabs.CustomFields &&\n hasPermission(Permissions.FIELD_WRITE) && (\n
    \n \n {t('labels.add_prospect_fields')}\n \n
    \n )}\n \n
    \n );\n};\n\nexport default withTranslation()(CustomFieldContent);\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport CreateUpdateCustomFieldModal from '../..';\nimport { UpdateProspectCustomFieldModalProps } from './types';\n\nconst UpdateProspectCustomFieldModal: React.FC = (\n props,\n) => {\n const { t } = useTranslation();\n const { customField } = props;\n return (\n \n );\n};\n\nexport default UpdateProspectCustomFieldModal;\n","import { showLoading, hideLoading } from 'react-redux-loading-bar';\nimport React from 'react';\nimport { withTranslation } from 'react-i18next';\nimport { CreateUpdateModalData, IProps, IState } from './types';\nimport store from '../../../../store';\nimport CustomFieldHeader from './components/custom-field-header';\nimport CustomFieldContent from './components/custom-field-content';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport toaster from '../../../../shared/toaster';\nimport DeleteCustomFieldModal from './components/delete-custom-field-modal';\nimport { ProspectType } from '../../enums/prospect-type';\nimport CreateProspectCustomFieldModal from './components/generic-create-update-custom-field-modal/prospect-modal/create-prospect-custom-field-modal';\nimport UpdateProspectCustomFieldModal from './components/generic-create-update-custom-field-modal/prospect-modal/update-prospect-custom-field-modal';\nimport hasResource from '../../../../shared/utils/access-control/has-resource';\nimport { ResourceIdentifiers } from '../../../../shared/utils/access-control/enums/resource-identifiers';\nimport { FieldContentTabs } from './components/custom-field-content/types';\nimport { getIsRequestPending } from '../../../../shared/utils';\n\nclass CustomField extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n actionCustomField: null,\n showDeleteCustomFieldModal: false,\n showCreateProspectCustomFieldModal: false,\n showUpdateProspectCustomFieldModal: false,\n activeTabKey: FieldContentTabs.CustomFields,\n };\n }\n\n componentDidUpdate(prevProps: Readonly, prevState: Readonly) {\n const {\n isLoading,\n createCustomFieldRequestStatus,\n updateCustomFieldRequestStatus,\n deleteCustomFieldRequestStatus,\n } = this.props;\n const { activeTabKey } = this.state;\n\n if (isLoading !== prevProps.isLoading) {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n isLoading ? store.dispatch(showLoading()) : store.dispatch(hideLoading());\n }\n\n if (\n createCustomFieldRequestStatus !==\n prevProps.createCustomFieldRequestStatus\n ) {\n this.createProspectCustomFieldRefresh();\n }\n\n if (\n updateCustomFieldRequestStatus !==\n prevProps.updateCustomFieldRequestStatus\n ) {\n this.updateProspectCustomFieldRefresh();\n }\n\n if (\n deleteCustomFieldRequestStatus !==\n prevProps.deleteCustomFieldRequestStatus\n ) {\n this.deleteCustomFieldRefresh();\n }\n\n if (activeTabKey !== prevState.activeTabKey) {\n this.getFields();\n }\n }\n\n componentWillUnmount = () => {\n const { resetCustomFieldsData } = this.props;\n resetCustomFieldsData();\n };\n\n onCreateProspectCustomFieldSubmit = (payload: CreateUpdateModalData) => {\n const { sendCreateCustomFieldRequest } = this.props;\n sendCreateCustomFieldRequest({\n prospectType: ProspectType.Contact,\n fieldType: payload.type,\n label: payload.label,\n fallbackText: payload.fallbackText ? payload.fallbackText : '',\n });\n };\n\n onUpdateProspectCustomFieldSubmit = (payload: CreateUpdateModalData) => {\n const { sendUpdateCustomFieldRequest } = this.props;\n const { actionCustomField } = this.state;\n sendUpdateCustomFieldRequest(actionCustomField.id, {\n label: payload.label,\n fallbackText: payload.fallbackText ? payload.fallbackText : '',\n });\n };\n\n showCreateProspectCustomFieldModal = () => {\n hasResource(ResourceIdentifiers.FIELDS_CREATE) &&\n this.setState({\n actionCustomField: null,\n showCreateProspectCustomFieldModal: true,\n });\n };\n\n hideCreateProspectCustomFieldModal = () => {\n this.setState({\n actionCustomField: null,\n showCreateProspectCustomFieldModal: false,\n });\n };\n\n showUpdateProspectCustomFieldModal = (customField) => {\n this.setState({\n actionCustomField: customField,\n showUpdateProspectCustomFieldModal: true,\n });\n };\n\n hideUpdateProspectCustomFieldModal = () => {\n this.setState({\n actionCustomField: null,\n showUpdateProspectCustomFieldModal: false,\n });\n };\n\n showProspectCustomFieldDeleteModal = (customField) => {\n this.setState({\n actionCustomField: customField,\n showDeleteCustomFieldModal: true,\n });\n };\n\n showAccountCustomFieldDeleteModal = (customField) => {\n this.setState({\n actionCustomField: customField,\n showDeleteCustomFieldModal: true,\n });\n };\n\n hideDeleteCustomFieldModal = () => {\n this.setState({\n actionCustomField: null,\n showDeleteCustomFieldModal: false,\n });\n };\n\n setActiveTabKey = (activeTabKey: string) => {\n this.setState({\n activeTabKey,\n });\n };\n\n onDeleteCustomFieldSubmit = () => {\n const { sendDeleteCustomFieldRequest } = this.props;\n const { actionCustomField } = this.state;\n sendDeleteCustomFieldRequest(actionCustomField.id);\n };\n\n componentDidMount = () => {\n this.getFields();\n };\n\n getFields = (forceRefetch = false) => {\n const {\n customField,\n defaultField,\n sendGetCustomFieldRequest,\n sendGetDefaultFieldRequest,\n customFieldPagination: {\n options: { limit: cL, page: cP },\n },\n defaultFieldPagination: {\n options: { limit: dL, page: dP },\n },\n } = this.props;\n const { activeTabKey } = this.state;\n if (\n activeTabKey === FieldContentTabs.CustomFields &&\n (customField.length <= 0 || forceRefetch)\n ) {\n sendGetCustomFieldRequest({ limit: cL, page: cP });\n } else if (\n activeTabKey === FieldContentTabs.SystemFields &&\n (defaultField.length <= 0 || forceRefetch)\n ) {\n sendGetDefaultFieldRequest({ limit: dL, page: dP });\n }\n };\n\n getPageNumber = () => {\n const {\n customField,\n customFieldPagination: {\n options: { page: cP },\n },\n } = this.props;\n\n if (cP > 1 && customField.length === 1) {\n return cP - 1;\n }\n\n return cP;\n };\n\n createProspectCustomFieldRefresh = () => {\n const {\n createCustomFieldRequestStatus,\n createCustomFieldRequestMessage,\n createCustomFieldRequestError,\n sendGetCustomFieldRequest,\n customFieldPagination: {\n options: { limit: cL, page: cP },\n },\n } = this.props;\n\n if (createCustomFieldRequestStatus === RequestStatus.Succeeded) {\n toaster.success(createCustomFieldRequestMessage);\n this.hideCreateProspectCustomFieldModal();\n sendGetCustomFieldRequest({ limit: cL, page: cP });\n }\n if (\n createCustomFieldRequestStatus === RequestStatus.Failed &&\n createCustomFieldRequestError\n ) {\n toaster.error(createCustomFieldRequestError.message);\n }\n };\n\n updateProspectCustomFieldRefresh = () => {\n const {\n updateCustomFieldRequestStatus,\n updateCustomFieldRequestError,\n } = this.props;\n\n if (updateCustomFieldRequestStatus === RequestStatus.Succeeded) {\n this.showUpdateFieldSuccessToaster();\n this.hideUpdateProspectCustomFieldModal();\n this.getFields(true);\n }\n\n if (\n updateCustomFieldRequestStatus === RequestStatus.Failed &&\n updateCustomFieldRequestError\n ) {\n toaster.error(updateCustomFieldRequestError.message);\n }\n };\n\n showUpdateFieldSuccessToaster = () => {\n const { actionCustomField } = this.state;\n const { t } = this.props;\n if (actionCustomField?.isDefault) {\n toaster.success(t('messages.system_field_update_successfully'));\n } else {\n toaster.success(t('messages.custom_field_update_successfully'));\n }\n };\n\n deleteCustomFieldRefresh = () => {\n const {\n deleteCustomFieldRequestStatus,\n deleteCustomFieldRequestMessage,\n deleteCustomFieldRequestError,\n sendGetCustomFieldRequest,\n customFieldPagination: {\n options: { limit: cL },\n },\n } = this.props;\n\n if (deleteCustomFieldRequestStatus === RequestStatus.Succeeded) {\n toaster.success(deleteCustomFieldRequestMessage);\n this.hideDeleteCustomFieldModal();\n sendGetCustomFieldRequest({ limit: cL, page: this.getPageNumber() });\n }\n\n if (\n deleteCustomFieldRequestStatus === RequestStatus.Failed &&\n deleteCustomFieldRequestError\n ) {\n toaster.error(deleteCustomFieldRequestError.message);\n }\n };\n\n render() {\n const {\n customField,\n defaultField,\n getCustomFieldRequestStatus,\n getDefaultFieldRequestStatus,\n createCustomFieldRequestStatus,\n updateCustomFieldRequestStatus,\n deleteCustomFieldRequestStatus,\n sendGetCustomFieldRequest,\n sendGetDefaultFieldRequest,\n customFieldPagination,\n defaultFieldPagination,\n subscriptionPlan,\n } = this.props;\n\n const {\n actionCustomField,\n showCreateProspectCustomFieldModal,\n showUpdateProspectCustomFieldModal,\n showDeleteCustomFieldModal,\n } = this.state;\n\n const isCreateRequestPending =\n createCustomFieldRequestStatus === RequestStatus.Pending;\n\n const isUpdateRequestPending =\n updateCustomFieldRequestStatus === RequestStatus.Pending;\n\n const isDeleteRequestPending =\n deleteCustomFieldRequestStatus === RequestStatus.Pending;\n\n return (\n
    \n
    \n \n \n
    \n {showCreateProspectCustomFieldModal && (\n \n )}\n {showUpdateProspectCustomFieldModal && (\n \n )}\n {showDeleteCustomFieldModal && (\n \n )}\n
    \n );\n }\n}\n\nexport default withTranslation()(CustomField);\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps } from 'react-router';\nimport { RootState } from '../../../../store/root-reducer';\nimport {\n deleteCustomFieldRequest,\n getCustomFieldsWithPaginationRequest,\n createCustomFieldRequest,\n updateCustomFieldRequest,\n resetCustomFieldsData,\n} from './custom-field-slice';\nimport {\n CreateCustomFieldRequestPayload,\n UpdateCustomFieldRequestPayload,\n} from '../../types/request-payload';\nimport CustomField from './custom-field';\nimport { PaginationQueryParams } from '../../../../shared/types/request';\nimport { getDefaultFieldsWithPaginationRequest } from './extra-actions';\n\nconst mapStateToProps = (state: RootState) => ({\n getCustomFieldRequestStatus:\n state.customField.getCustomFieldsWithPaginationRequest.status,\n\n getCustomFieldRequestMessage:\n state.customField.getCustomFieldsWithPaginationRequest.message,\n getCustomFieldRequestError:\n state.customField.getCustomFieldsWithPaginationRequest.error,\n\n getDefaultFieldRequestStatus:\n state.customField.getDefaultFieldsWithPaginationRequest.status,\n\n getDefaultFieldRequestMessage:\n state.customField.getDefaultFieldsWithPaginationRequest.message,\n getDefaultFieldRequestError:\n state.customField.getDefaultFieldsWithPaginationRequest.error,\n\n createCustomFieldRequestStatus:\n state.customField.createCustomFieldRequest.status,\n createCustomFieldRequestMessage:\n state.customField.createCustomFieldRequest.message,\n createCustomFieldRequestError:\n state.customField.createCustomFieldRequest.error,\n\n updateCustomFieldRequestStatus:\n state.customField.updateCustomFieldRequest.status,\n updateCustomFieldRequestMessage:\n state.customField.updateCustomFieldRequest.message,\n updateCustomFieldRequestError:\n state.customField.updateCustomFieldRequest.error,\n\n deleteCustomFieldRequestStatus:\n state.customField.deleteCustomFieldRequest.status,\n deleteCustomFieldRequestMessage:\n state.customField.deleteCustomFieldRequest.message,\n deleteCustomFieldRequestError:\n state.customField.deleteCustomFieldRequest.error,\n\n customField: state.customField.customField,\n defaultField: state.customField.defaultField,\n defaultFieldPagination: {\n ...state.customField.defaultFieldPagination,\n pagesCount: null,\n options: {\n ...state.customField.defaultFieldPagination.options,\n totalElements: state.customField.defaultFieldPagination.count,\n },\n },\n customFieldPagination: {\n ...state.customField.customFieldPagination,\n pagesCount: null,\n options: {\n ...state.customField.customFieldPagination.options,\n totalElements: state.customField.customFieldPagination.count,\n },\n },\n isLoading: state.customField.isLoading,\n\n subscriptionPlan: state.home.subscription?.planCode,\n planTransitionDetails: state.home.subscription?.planTransitionDetails,\n});\n\nconst mapDispatchToProps = {\n sendGetCustomFieldRequest: (params: PaginationQueryParams) =>\n getCustomFieldsWithPaginationRequest(params),\n sendGetDefaultFieldRequest: (params: PaginationQueryParams) =>\n getDefaultFieldsWithPaginationRequest(params),\n\n sendCreateCustomFieldRequest: (payload: CreateCustomFieldRequestPayload) =>\n createCustomFieldRequest(payload),\n\n sendUpdateCustomFieldRequest: (\n customFieldId: number,\n payload: UpdateCustomFieldRequestPayload,\n ) =>\n updateCustomFieldRequest({\n customFieldId,\n label: payload.label,\n fallbackText: payload.fallbackText,\n }),\n\n sendDeleteCustomFieldRequest: (customFieldId: number) =>\n deleteCustomFieldRequest(customFieldId),\n\n resetCustomFieldsData: () => resetCustomFieldsData(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps &\n RouteComponentProps & {\n t: (x: string) => React.ReactNode;\n };\n\nexport default connector(CustomField);\n","export enum PauseProspectOption {\n PauseProspectManually = 'ooo-pause-prospect-manually',\n PauseProspectAsPerReturnDate = 'ooo-pause-prospect-as-per-return-date',\n}\n","import React from 'react';\nimport { supportUrls } from '../../../../../shared/utils/urls';\nimport { GlobalSettings } from '../../../../../shared/components/global-settings-wrapper';\nimport LinkBadge from '../../../../../shared/design-system/components/atoms/link-badge';\n\nconst OutOfOfficeHeader = () => (\n <>\n
    \n \n \n \n\n \n \n \n
    \n \n);\n\nexport default OutOfOfficeHeader;\n","import React from 'react';\nimport { Button } from '@saleshandy/design-system';\nimport { InfoCircle } from '@saleshandy/icons';\n\nimport { OutOfOfficeConfirmationProps } from '../types';\n\nimport Modal from '../../../../../shared/design-system/components/atoms/modal';\n\nimport Title from '../../my-profile/components/change-email-modal/change-email-modal-flow/sub-components/title';\nimport Description from '../../my-profile/components/change-email-modal/change-email-modal-flow/sub-components/description';\nimport Divider from '../../my-profile/components/change-email-modal/change-email-modal-flow/sub-components/divider';\nimport Footer from '../../my-profile/components/change-email-modal/change-email-modal-flow/sub-components/footer';\n\nconst OutOfOfficeConfirmation: React.FC = ({\n showConfirmationPopup,\n hideConfirmationPopup,\n onOutOfOfficeSettingToggledOff,\n}) => (\n \n \n <div className=\"popup-title\">\n <div className=\"popup-title-icon\">\n <InfoCircle />\n </div>\n <h1>Are you sure you want to turn this off?</h1>\n </div>\n \n\n \n \n\n \n\n
    \n \n Cancel\n \n \n
    \n \n);\n\nexport default OutOfOfficeConfirmation;\n","import React, { useState, useEffect, useRef } from 'react';\nimport { Button } from '@saleshandy/design-system';\n\nimport {\n OutOfOfficeContentProps,\n PauseForDays,\n PauseForDaysError,\n} from '../types';\nimport { PauseProspectOption } from '../../../enums/out-of-office';\nimport {\n executeOnRequestStatus,\n getIsRequestPending,\n SubscriptionPlans,\n} from '../../../../../shared/utils';\n\nimport Switch, {\n Size,\n} from '../../../../../shared/design-system/components/atoms/switch';\nimport InputNumber from '../../../../../shared/design-system/components/input-number';\nimport RadioButtonGroup from '../../../../../shared/design-system/components/radio-button-group';\n\nimport OutOfOfficeHeader from './out-of-office-header';\nimport OutOfOfficeConfirmation from './out-of-office-confirmation';\nimport HeaderBanner from '../../header-banner';\nimport store from '../../../../../store';\n\nconst OutOfOfficeContent: React.FC = ({\n oooSettings,\n setOOOSettings,\n sendUpdateOOOSettingsRequest,\n updateOOOSettingsRequestStatus,\n}) => {\n const isFilterDirty = useRef(false);\n\n const [enableOutOfOffice, setEnableOutOfOffice] = useState(true);\n\n const [\n pauseProspectOption,\n setPauseProspectOption,\n ] = useState(\n PauseProspectOption.PauseProspectAsPerReturnDate,\n );\n\n const [\n pauseProspectsForDays,\n setPauseProspectsForDays,\n ] = useState({\n [PauseProspectOption.PauseProspectManually]: 14,\n [PauseProspectOption.PauseProspectAsPerReturnDate]: 14,\n });\n\n const [\n isPauseProspectsForDaysValid,\n setIsPauseProspectsForDaysValid,\n ] = useState({\n [PauseProspectOption.PauseProspectManually]: true,\n [PauseProspectOption.PauseProspectAsPerReturnDate]: true,\n });\n\n const [showConfirmationPopup, setShowConfirmationPopup] = useState(false);\n\n const onOutOfOfficeSettingToggled = (value: boolean) => {\n if (!value) {\n setShowConfirmationPopup(true);\n } else {\n setEnableOutOfOffice(value);\n sendUpdateOOOSettingsRequest({\n enableOutOfOffice: value,\n pauseProspectOption,\n pauseProspectForDays: pauseProspectsForDays[pauseProspectOption],\n });\n if (!isFilterDirty.current) {\n isFilterDirty.current = true;\n }\n }\n };\n\n const hideConfirmationPopup = () => {\n setShowConfirmationPopup(false);\n };\n\n const onOutOfOfficeSettingToggledOff = () => {\n setEnableOutOfOffice(false);\n hideConfirmationPopup();\n sendUpdateOOOSettingsRequest({\n enableOutOfOffice: false,\n });\n setOOOSettings(null);\n if (!isFilterDirty.current) {\n isFilterDirty.current = true;\n }\n };\n\n const onOutOfOfficeOptionChange = (value: PauseProspectOption) => {\n setPauseProspectOption(value);\n if (!isFilterDirty.current) {\n isFilterDirty.current = true;\n }\n };\n\n const isPauseProspectsForDaysInputValid = (\n value: string | number,\n ): boolean => {\n const number = parseFloat(value as string);\n\n if (\n // eslint-disable-next-line no-restricted-globals\n isNaN(number) ||\n !Number.isInteger(number) ||\n number < 1 ||\n number > 100\n ) {\n return false;\n }\n\n return true;\n };\n\n const onPauseForDaysChange = (key: PauseProspectOption, value: string) => {\n setPauseProspectsForDays({\n ...pauseProspectsForDays,\n [key]: value,\n });\n setIsPauseProspectsForDaysValid({\n ...isPauseProspectsForDaysValid,\n [key]: isPauseProspectsForDaysInputValid(value),\n });\n if (!isFilterDirty.current) {\n isFilterDirty.current = true;\n }\n };\n\n const onSave = () => {\n if (enableOutOfOffice) {\n if (\n isPauseProspectsForDaysInputValid(\n pauseProspectsForDays[pauseProspectOption],\n )\n ) {\n sendUpdateOOOSettingsRequest({\n enableOutOfOffice,\n pauseProspectOption,\n pauseProspectForDays: pauseProspectsForDays[pauseProspectOption],\n });\n setOOOSettings(null);\n }\n } else {\n sendUpdateOOOSettingsRequest({\n enableOutOfOffice,\n });\n setOOOSettings(null);\n }\n };\n\n useEffect(() => {\n if (oooSettings) {\n setEnableOutOfOffice(oooSettings.enableOutOfOffice);\n setPauseProspectOption(oooSettings.pauseProspectOption);\n setPauseProspectsForDays({\n ...pauseProspectsForDays,\n [oooSettings.pauseProspectOption]: oooSettings.pauseProspectForDays,\n });\n }\n }, [oooSettings]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: updateOOOSettingsRequestStatus,\n onSuccess: () => {\n isFilterDirty.current = false;\n },\n });\n }, [updateOOOSettingsRequestStatus]);\n\n const isUpdateOOOSettingsRequestPending = getIsRequestPending(\n updateOOOSettingsRequestStatus,\n );\n\n const {\n home: { subscription },\n } = store.getState();\n\n return (\n
    \n \n {subscription?.planCode === SubscriptionPlans.FREE && }\n\n
    \n
    \n \n

    Enable Out-of-Office Workflow

    \n
    \n\n
    \n \n

    \n Pause prospects as per the return date found in\n out-of-office email. If no date is found, pause them for\n

    \n \n onPauseForDaysChange(\n PauseProspectOption.PauseProspectAsPerReturnDate,\n value,\n )\n }\n variant={\n !isPauseProspectsForDaysValid[\n PauseProspectOption.PauseProspectAsPerReturnDate\n ] && InputNumber.Variant.Error\n }\n min={1}\n max={100}\n />\n

    days

    \n
    \n ),\n },\n {\n value: PauseProspectOption.PauseProspectManually,\n disabled: !enableOutOfOffice,\n label: (\n
    \n

    Pause prospects for

    \n \n onPauseForDaysChange(\n PauseProspectOption.PauseProspectManually,\n value,\n )\n }\n variant={\n !isPauseProspectsForDaysValid[\n PauseProspectOption.PauseProspectManually\n ] && InputNumber.Variant.Error\n }\n min={1}\n max={100}\n />\n

    days when out-of-office reply is detected

    \n
    \n ),\n },\n ]}\n />\n
    \n\n \n Save\n \n\n \n
    \n \n );\n};\n\nexport default OutOfOfficeContent;\n","import React, { useState, useEffect } from 'react';\nimport type { IProps } from './out-of-office-container';\nimport toaster, { Theme } from '../../../../shared/toaster';\n\nimport {\n executeOnErrorWithErrorCheck,\n executeOnRequestStatus,\n} from '../../../../shared/utils';\n\nimport OutOfOfficeContent from './components/out-of-office-content';\nimport { OOOSettings } from './types';\nimport { PauseProspectOption } from '../../enums/out-of-office';\nimport { UserSettingCode } from '../../../../shared/types/user-setting';\n\nconst OutOfOffice: React.FC = ({\n meta,\n getUserSettingsRequest,\n\n sendUpdateOOOSettingsRequest,\n updateOOOSettingsRequestStatus,\n updateOOOSettingsRequestError,\n resetUpdateOOOSettingsRequest,\n\n sendGetUserSettingsRequest,\n}) => {\n const [isLoading, setIsLoading] = useState(true);\n const [oooSettings, setOOOSettings] = useState(null);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: getUserSettingsRequest,\n onSuccess: () => {\n if (meta?.length > 0) {\n const outOfOfficeOption = meta.find(\n ({ code }) => code === UserSettingCode.OutOfOffice,\n )?.value;\n const pauseForDays = meta.find(\n ({ code }) => code === UserSettingCode.OutOfOfficePauseDays,\n )?.value;\n\n setOOOSettings({\n enableOutOfOffice: outOfOfficeOption !== '',\n pauseProspectOption:\n (outOfOfficeOption as PauseProspectOption) ||\n PauseProspectOption.PauseProspectAsPerReturnDate,\n pauseProspectForDays: Number(pauseForDays),\n });\n }\n setIsLoading(false);\n },\n });\n }, [getUserSettingsRequest]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: updateOOOSettingsRequestStatus,\n onSuccess: () => {\n toaster.success('Out of Office setting saved successfully', {\n theme: Theme.New,\n });\n resetUpdateOOOSettingsRequest();\n sendGetUserSettingsRequest();\n },\n onFailed: () => {\n executeOnErrorWithErrorCheck({\n error: updateOOOSettingsRequestError,\n onError: () => {\n toaster.error(updateOOOSettingsRequestError.message, {\n theme: Theme.New,\n });\n resetUpdateOOOSettingsRequest();\n sendGetUserSettingsRequest();\n },\n });\n },\n });\n }, [updateOOOSettingsRequestStatus]);\n\n if (isLoading) {\n return null;\n }\n\n return (\n \n );\n};\n\nexport default OutOfOffice;\n","import api from '../../../api';\nimport { UpdateOOOSettingsPayload } from '../types/out-of-office';\n\nexport const updateOOOSettings = async (payload: UpdateOOOSettingsPayload) =>\n api.patch(`/user/ooo-setting`, payload);\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport {\n ResponseErrorWithHandled,\n ResponseSuccess,\n} from '../../../../shared/types';\nimport { UpdateOOOSettingsPayload } from '../../types/out-of-office';\nimport { updateOOOSettings } from '../../helpers/out-of-office.api';\n\nexport const updateOOOSettingsRequest = createAsyncThunk<\n ResponseSuccess,\n UpdateOOOSettingsPayload,\n { rejectValue: ResponseErrorWithHandled }\n>('outOfOffice/updateOOOSettingsRequest', async (payload, thunkAPI) => {\n try {\n return await updateOOOSettings(payload);\n } catch (e) {\n return thunkAPI.rejectWithValue(e);\n }\n});\n","import { createSlice } from '@reduxjs/toolkit';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport { updateOOOSettingsRequest } from './extra-actions';\n\ntype RequestState = {\n status: RequestStatus;\n message: string;\n error: any;\n};\n\ntype State = {\n updateOOOSettingsRequest: RequestState;\n};\n\nconst initialState: State = {\n updateOOOSettingsRequest: {\n status: RequestStatus.Ideal,\n message: null,\n error: null,\n },\n};\n\nconst outOfOfficeSlice = createSlice({\n name: 'outOfOffice',\n initialState,\n reducers: {\n resetUpdateOOOSettingsRequest: (state) => {\n state.updateOOOSettingsRequest = initialState.updateOOOSettingsRequest;\n },\n },\n extraReducers: (builder) => {\n // Update Out Of Office Settings\n builder.addCase(updateOOOSettingsRequest.pending, (state) => {\n state.updateOOOSettingsRequest.status = RequestStatus.Pending;\n state.updateOOOSettingsRequest.error = null;\n });\n builder.addCase(updateOOOSettingsRequest.fulfilled, (state, action) => {\n state.updateOOOSettingsRequest.status = RequestStatus.Succeeded;\n state.updateOOOSettingsRequest.message = action.payload.message;\n });\n builder.addCase(updateOOOSettingsRequest.rejected, (state, action) => {\n state.updateOOOSettingsRequest.status = RequestStatus.Failed;\n state.updateOOOSettingsRequest.error =\n !action.payload.isHandled && action.payload;\n });\n },\n});\n\nexport const { resetUpdateOOOSettingsRequest } = outOfOfficeSlice.actions;\nexport default outOfOfficeSlice.reducer;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../store/root-reducer';\n\nimport OutOfOffice from './out-of-office';\nimport { updateOOOSettingsRequest } from './extra-actions';\nimport { UpdateOOOSettingsPayload } from '../../types/out-of-office';\nimport { resetUpdateOOOSettingsRequest } from './out-of-office-slice';\nimport { getUserSettingsRequest } from '../../../home/extra-actions';\n\nconst mapStateToProps = (state: RootState) => ({\n getUserSettingsRequest: state.home.getUserSettingsRequest.status,\n\n updateOOOSettingsRequestStatus:\n state.outOfOffice.updateOOOSettingsRequest.status,\n updateOOOSettingsRequestMessage:\n state.outOfOffice.updateOOOSettingsRequest.message,\n updateOOOSettingsRequestError:\n state.outOfOffice.updateOOOSettingsRequest.error,\n\n meta: state.home.meta,\n});\n\nconst mapDispatchToProps = {\n sendUpdateOOOSettingsRequest: (payload: UpdateOOOSettingsPayload) =>\n updateOOOSettingsRequest(payload),\n resetUpdateOOOSettingsRequest: () => resetUpdateOOOSettingsRequest(),\n sendGetUserSettingsRequest: () => getUserSettingsRequest(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps;\n\nexport default connector(OutOfOffice);\n","import React, { useEffect } from 'react';\nimport { Redirect, Route, Switch } from 'react-router-dom';\n\nimport type { IProps } from './billing-subscription-container';\nimport Suspense from '../../../../shared/components/suspense';\nimport ErrorBoundaryWrapper from '../../../../shared/components/error-boundary-wrapper';\nimport retryLazy from '../../../retry-lazy';\nimport { Routes } from '../../../../shared/routes';\nimport OutreachPlans from './components/outreach-plans';\nimport ModifyLeadFinderSubscription from './components/modify-lead-finder-subscription';\nimport ModifySubscription from './components/modify-subscription';\n\nconst SubscriptionInfo = React.lazy(() =>\n retryLazy(() => import('./components/subscription-info')),\n);\nconst UpgradePlanTabs = React.lazy(() =>\n retryLazy(() => import('./components/upgrade-plan-tabs')),\n);\n\nconst BillingSubscription: React.FC = (props) => {\n useEffect(\n () => () => {\n const { resetSubscription } = props;\n resetSubscription();\n },\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 */}\n \n \n \n \n \n \n \n
    \n );\n};\n\nexport default BillingSubscription;\n","import { hideLoading, showLoading } from 'react-redux-loading-bar';\nimport { connect, ConnectedProps } from 'react-redux';\nimport { RootState } from '../../../../store/root-reducer';\n// eslint-disable-next-line import/no-cycle\nimport BillingSubscription from './billing-subscription';\nimport {\n getAccountSubscriptionRequest,\n getPlansRequest,\n getInvoiceURLRequest,\n purchaseSubscriptionRequest,\n getConnectedUsersAndEmailAccountsRequest,\n applyCouponCodeRequest,\n getEmailVerificationCreditsRequest,\n getEmailVerificationPlanRequest,\n purchaseEmailVerificationCreditsRequest,\n modifySubscriptionRequest,\n purchaseModifySubscriptionRequest,\n purchaseLeadFinderModifySubscriptionRequest,\n reactivateSubscriptionRequest,\n reactivateLeadFinderSubscriptionRequest,\n resumeSubscriptionRequest,\n resumeLeadFinderSubscriptionRequest,\n handleSubscriptionRequest,\n handleLeadFinderChurnkeySubscriptionRequest,\n getLeadFinderSubscriptionRequest,\n getAccountSubscriptionPlanRequest,\n getPurchaseHistoryRequest,\n exportCreditHistoryRequest,\n} from './extra-actions';\nimport {\n resetSubscription,\n deleteAppliedCouponCode,\n resetPurchaseEmailVerificationCreditsResponse,\n resetModifySubscriptionResponse,\n resetReactivateSubscriptionResponse,\n resetReactivateLeadFinderSubscriptionResponse,\n resetResumeSubscriptionResponse,\n resetResumeLeadFinderSubscriptionResponse,\n resetHandleSubscriptionResponse,\n resetHandleLeadFinderSubscriptionChurnkeyResponse,\n resetInvoice,\n resetExportCreditHistoryRequest,\n resetPurchaseLeadFinderOneTimePlan,\n} from './billing-subscription-slice';\nimport { getUserSettingsRequest } from '../../../home/extra-actions';\nimport {\n ApplyCouponCodeRequest,\n PurchaseEmailVerificationCreditsRequest,\n ModifySubscriptionRequest,\n PurchaseModifySubscriptionRequest,\n ReactivateResumeSubscriptionRequest,\n HandleSubscriptionRequest,\n PurchaseSubscriptionRequest,\n} from './types';\nimport { ExportCreditHistoryPayload } from './types/purchase-history';\n\nconst mapStateToProps = (state: RootState) => ({\n sendGetAccountSubscriptionRequestStatus:\n state.billingAndSubscription.getAccountSubscriptionRequest.status,\n sendGetAccountSubscriptionPlanRequestStatus:\n state.billingAndSubscription.getAccountSubscriptionPlanRequest.status,\n sendGetAccountSubscriptionRequestError:\n state.billingAndSubscription.getAccountSubscriptionRequest.error,\n sendGetAccountSubscriptionPlanRequestError:\n state.billingAndSubscription.getAccountSubscriptionPlanRequest.error,\n sendGetPlansRequestStatus:\n state.billingAndSubscription.getPlansRequest.status,\n sendGetPlansRequestError: state.billingAndSubscription.getPlansRequest.error,\n sendGetInvoiceURLRequestStatus:\n state.billingAndSubscription.getInvoiceURLRequest.status,\n sendGetInvoiceURLRequestError:\n state.billingAndSubscription.getInvoiceURLRequest.error,\n sendPurchaseSubscriptionRequestStatus:\n state.billingAndSubscription.purchaseSubscriptionRequest.status,\n sendPurchaseSubscriptionRequestError:\n state.billingAndSubscription.purchaseSubscriptionRequest.error,\n sendPurchaseSubscriptionRequestMessage:\n state.billingAndSubscription.purchaseSubscriptionRequest.message,\n sendGetAccountSubscriptionResponse:\n state.billingAndSubscription.getAccountSubscriptionResponse,\n sendGetAccountSubscriptionPlanResponse:\n state.billingAndSubscription.getAccountSubscriptionPlanResponse,\n sendGetLeadFinderSubscriptionResponse:\n state.billingAndSubscription.getLeadFinderSubscriptionResponse,\n sendGetConnectedUsersAndEmailAccountsRequestStatus:\n state.billingAndSubscription.getConnectedUsersAndEmailAccountsRequest\n .status,\n sendGetConnectedUsersAndEmailAccountsRequestError:\n state.billingAndSubscription.getConnectedUsersAndEmailAccountsRequest.error,\n sendGetConnectedUsersAndEmailAccountsRequestResponse:\n state.billingAndSubscription.getConnectedUsersAndEmailAccountsResponse,\n sendApplyCouponCodeRequestStatus:\n state.billingAndSubscription.applyCouponCodeRequest.status,\n sendApplyCouponCodeRequestMessage:\n state.billingAndSubscription.applyCouponCodeRequest.message,\n sendApplyCouponCodeRequestError:\n state.billingAndSubscription.applyCouponCodeRequest.error,\n getCouponCodeResponse: state.billingAndSubscription.applyCouponCodeResponse,\n sendGetPlansResponse: state.billingAndSubscription.getPlansResponse,\n getInvoiceResponse: state.billingAndSubscription.getInvoiceResponse,\n customerId: state.home.subscription?.customerId,\n leadFinderCustomerId: state.home.leadFinderSubscription?.customerId,\n subscriptionId: state.home.subscription?.subscriptionId,\n leadFinderSubscriptionId: state.home.leadFinderSubscription?.subscriptionId,\n isPaymentActionRequired: state.home.subscription?.paymentActionRequired,\n sendGetEmailVerificationCreditsRequestStatus:\n state.billingAndSubscription.getEmailVerificationCreditsRequest.status,\n sendGetEmailVerificationCreditsRequestError:\n state.billingAndSubscription.getEmailVerificationCreditsRequest.error,\n sendGetEmailVerificationPlansRequestStatus:\n state.billingAndSubscription.getEmailVerificationPlanRequest.status,\n sendGetEmailVerificationPlansRequestError:\n state.billingAndSubscription.getEmailVerificationPlanRequest.error,\n sendPurchaseEmailVerificationCreditsRequestStatus:\n state.billingAndSubscription.purchaseEmailVerificationCreditsRequest.status,\n sendPurchaseEmailVerificationCreditsRequestError:\n state.billingAndSubscription.purchaseEmailVerificationCreditsRequest.error,\n sendPurchaseEmailVerificationCreditsRequestMessage:\n state.billingAndSubscription.purchaseEmailVerificationCreditsRequest\n .message,\n getPurchaseEmailVerificationCreditsResponse:\n state.billingAndSubscription.purchaseEmailVerificationCreditsResponse,\n getEmailVerificationCreditsResponse:\n state.billingAndSubscription.getEmailVerificationCreditsResponse,\n getEmailVerificationPlanResponse:\n state.billingAndSubscription.getEmailVerificationPlanResponse,\n sendGetModifySubscriptionRequestStatus:\n state.billingAndSubscription.modifySubscriptionRequest.status,\n sendGetModifySubscriptionRequestError:\n state.billingAndSubscription.modifySubscriptionRequest.error,\n sendGetModifySubscriptionResponse:\n state.billingAndSubscription.modifySubscriptionResponse,\n sendGetPurchaseModifySubscriptionRequestStatus:\n state.billingAndSubscription.purchaseModifySubscriptionRequest.status,\n sendPurchaseLeadFinderModifySubscriptionRequestStatus:\n state.billingAndSubscription.purchaseLeadFinderModifySubscriptionRequest\n .status,\n sendGetReactivateSubscriptionRequestStatus:\n state.billingAndSubscription.reactivateSubscriptionRequest.status,\n sendGetReactivateSubscriptionRequestError:\n state.billingAndSubscription.reactivateSubscriptionRequest.error,\n sendGetReactivateLeadFinderSubscriptionStatus:\n state.billingAndSubscription.reactivateLeadFinderSubscriptionRequest.status,\n sendGetReactivateLeadFinderSubscriptionError:\n state.billingAndSubscription.reactivateLeadFinderSubscriptionRequest.error,\n sendGetReactivateSubscriptionResponse:\n state.billingAndSubscription.reactivateSubscriptionResponse,\n sendGetReactivateLeadFinderSubscriptionResponse:\n state.billingAndSubscription.reactivateLeadFinderSubscriptionResponse,\n sendGetResumeSubscriptionRequestStatus:\n state.billingAndSubscription.resumeSubscriptionRequest.status,\n sendGetResumeSubscriptionRequestError:\n state.billingAndSubscription.resumeSubscriptionRequest.error,\n sendGetResumeLeadFinderSubscriptionStatus:\n state.billingAndSubscription.resumeLeadFinderSubscriptionRequest.status,\n sendGetResumeLeadFinderSubscriptionError:\n state.billingAndSubscription.resumeLeadFinderSubscriptionRequest.error,\n sendGetResumeSubscriptionResponse:\n state.billingAndSubscription.resumeSubscriptionResponse,\n sendGetResumeLeadFinderSubscriptionResponse:\n state.billingAndSubscription.resumeLeadFinderSubscriptionResponse,\n sendGetHandleSubscriptionResponse:\n state.billingAndSubscription.handleSubscriptionResponse,\n sendGetHandleSubscriptionRequestError:\n state.billingAndSubscription.handleSubscriptionRequest.error,\n sendGetHandleSubscriptionRequestStatus:\n state.billingAndSubscription.handleSubscriptionRequest.status,\n sendGetHandleLeadFinderChurnkeySubscriptionError:\n state.billingAndSubscription.handleLeadFinderChurnkeySubscriptionRequest\n .error,\n sendGetHandleLeadFinderChurnkeySubscriptionStatus:\n state.billingAndSubscription.handleLeadFinderChurnkeySubscriptionRequest\n .status,\n planTransitionDetails: state.home.subscription?.planTransitionDetails,\n leadFinderPlanTransitionDetails:\n state.home.leadFinderSubscription?.planTransitionDetails,\n churnkeyHash: state.home.churnkeyHash,\n leadFinderChurnkeyHash: state.home.leadFinderChurnkeyHash,\n subscriptionPlanStatus: state.home.subscription?.status,\n leadFinderSubscriptionPlanStatus: state.home?.leadFinderSubscription?.status,\n pauseEndsAt: state.home.subscription?.pauseEndsAt,\n leadFinderPauseEndsAt: state.home.leadFinderSubscription?.pauseEndsAt,\n pausedAt: state.home.subscription?.pausedAt,\n leadFinderpausedAt: state.home.leadFinderSubscription?.pausedAt,\n ltdExpiryDate: state.home.agencyConfig?.ltdExpiryDate,\n planCode: state.home?.subscription?.planCode,\n leadFinderPlanCode: state.home?.leadFinderSubscription?.planCode,\n planType: state.home?.subscription?.planType,\n leadFinderPlanType: state.home?.leadFinderSubscription?.planType,\n currentPlanName: state.home?.subscription?.planName,\n purchaseHistory: state.billingAndSubscription.purchaseHistory,\n getPurchaseHistoryRequestStatus:\n state.billingAndSubscription.getPurchaseHistoryRequest.status,\n hasDomains: state.home.hasDomains,\n exportCreditHistoryRequestStatus:\n state.billingAndSubscription.exportCreditHistoryRequest.status,\n exportCreditHistoryRequestMessage:\n state.billingAndSubscription.exportCreditHistoryRequest.message,\n timeZone: state.myProfile.myProfile.timeZone,\n});\n\nconst mapDispatchToProps = {\n sendGetAccountSubscriptionRequest: () => getAccountSubscriptionRequest(),\n sendGetAccountSubscriptionPlanRequest: (id: string) =>\n getAccountSubscriptionPlanRequest(id),\n sendGetLeadFinderSubscriptionRequest: () =>\n getLeadFinderSubscriptionRequest(),\n sendGetPlansRequest: () => getPlansRequest(),\n sendGetInvoiceURLRequest: (customerId: string) =>\n getInvoiceURLRequest({ customerId }),\n sendPurchaseSubscriptionRequest: (payload: PurchaseSubscriptionRequest) =>\n purchaseSubscriptionRequest(payload),\n resetSubscription: () => resetSubscription(),\n resetPurchaseEmailVerificationCreditsResponse: () =>\n resetPurchaseEmailVerificationCreditsResponse(),\n resetReactivateSubscriptionResponse: () =>\n resetReactivateSubscriptionResponse(),\n resetReactivateLeadFinderSubscriptionResponse: () =>\n resetReactivateLeadFinderSubscriptionResponse(),\n resetResumeSubscriptionResponse: () => resetResumeSubscriptionResponse(),\n resetResumeLeadFinderSubscriptionResponse: () =>\n resetResumeLeadFinderSubscriptionResponse(),\n resetHandleSubscriptionResponse: () => resetHandleSubscriptionResponse(),\n resetHandleLeadFinderSubscriptionChurnkeyResponse: () =>\n resetHandleLeadFinderSubscriptionChurnkeyResponse(),\n sendGetUserSettingsRequest: () => getUserSettingsRequest(),\n sendGetConnectedUsersAndEmailAccountsRequest: () =>\n getConnectedUsersAndEmailAccountsRequest(),\n sendApplyCouponCodeRequest: (payload: ApplyCouponCodeRequest) =>\n applyCouponCodeRequest(payload),\n deleteAppliedCouponCode: () => deleteAppliedCouponCode(),\n sendGetEmailVerificationCreditsRequest: () =>\n getEmailVerificationCreditsRequest(),\n sendGetEmailVerificationPlansRequest: () => getEmailVerificationPlanRequest(),\n sendPurchaseEmailVerificationCreditsRequest: (\n payload: PurchaseEmailVerificationCreditsRequest,\n ) => purchaseEmailVerificationCreditsRequest(payload),\n sendModifySubscriptionRequest: (payload: ModifySubscriptionRequest) =>\n modifySubscriptionRequest(payload),\n sendPurchaseModifySubscriptionRequest: (\n payload: PurchaseModifySubscriptionRequest,\n ) => purchaseModifySubscriptionRequest(payload),\n sendPurchaseLeadFinderModifySubscriptionRequest: (\n payload: PurchaseModifySubscriptionRequest,\n ) => purchaseLeadFinderModifySubscriptionRequest(payload),\n sendReactivateSubscriptionRequest: (\n payload: ReactivateResumeSubscriptionRequest,\n ) => reactivateSubscriptionRequest(payload),\n sendReactivateLeadFinderSubscriptionRequest: (\n payload: ReactivateResumeSubscriptionRequest,\n ) => reactivateLeadFinderSubscriptionRequest(payload),\n sendResumeSubscriptionRequest: (\n payload: ReactivateResumeSubscriptionRequest,\n ) => resumeSubscriptionRequest(payload),\n sendResumeLeadFinderSubscriptionRequest: (\n payload: ReactivateResumeSubscriptionRequest,\n ) => resumeLeadFinderSubscriptionRequest(payload),\n sendHandleSubscriptionRequest: (payload: HandleSubscriptionRequest) =>\n handleSubscriptionRequest(payload),\n sendHandleLeadFinderChurnkeySubscriptionRequest: (\n payload: HandleSubscriptionRequest,\n ) => handleLeadFinderChurnkeySubscriptionRequest(payload),\n resetModifySubscriptionResponse: () => resetModifySubscriptionResponse(),\n resetInvoice: () => resetInvoice(),\n hideLoading: () => hideLoading(),\n showLoading: () => showLoading(),\n sendPurchaseHistoryRequest: () => getPurchaseHistoryRequest(),\n sendExportCreditHistoryRequest: (payload: ExportCreditHistoryPayload) =>\n exportCreditHistoryRequest(payload),\n resetExportCreditHistoryRequest: () => resetExportCreditHistoryRequest(),\n resetPurchaseLeadFinderOneTimePlan: () =>\n resetPurchaseLeadFinderOneTimePlan(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps;\n\nexport type LocationStateType = {\n isModifySubscription: boolean;\n};\n\nexport default connector(BillingSubscription);\n","export default __webpack_public_path__ + \"static/media/promo-login.973ce700.svg\";","export default __webpack_public_path__ + \"static/media/rotatevector.45a7eef2.svg\";","export default __webpack_public_path__ + \"static/media/accountlinksuccess.45179f60.svg\";","export default __webpack_public_path__ + \"static/media/accountstatusreject.85bfd848.svg\";","export default __webpack_public_path__ + \"static/media/rotatevector2.b0b0649c.svg\";","export default __webpack_public_path__ + \"static/media/stepstoimport.566fba3a.svg\";","export default __webpack_public_path__ + \"static/media/csv.09c188a5.svg\";","export default __webpack_public_path__ + \"static/media/sh-logo-icon.5baa7fdf.svg\";","export default __webpack_public_path__ + \"static/media/sh-logo-icon-70x70.d8ed1ad0.svg\";","export default __webpack_public_path__ + \"static/media/sh-logo.9d21f8dd.svg\";","export default __webpack_public_path__ + \"static/media/saleshandy-logo.f78881a2.svg\";","export default __webpack_public_path__ + \"static/media/saleshandy-logo-icon.4af46bf1.svg\";","export default __webpack_public_path__ + \"static/media/saleshandy-logo-text.f45e715f.svg\";","export default __webpack_public_path__ + \"static/media/logo-with-name.abb097ee.svg\";","export default __webpack_public_path__ + \"static/media/google-login.5478be96.svg\";","export default __webpack_public_path__ + \"static/media/file-check.a4f26574.svg\";","export default __webpack_public_path__ + \"static/media/google-icon.9e560710.svg\";","export default __webpack_public_path__ + \"static/media/gmail-icon.782aeab3.svg\";","export default __webpack_public_path__ + \"static/media/microsoft-login.c0bab622.svg\";","export default __webpack_public_path__ + \"static/media/microsoft-logo.0374a3c1.svg\";","export default __webpack_public_path__ + \"static/media/microsoft-logo-small.25ef6a79.svg\";","export default __webpack_public_path__ + \"static/media/broken-link.13ec4528.svg\";","export default __webpack_public_path__ + \"static/media/empty-data-1.3357362b.svg\";","export default __webpack_public_path__ + \"static/media/empty-data-2.f7bb47b1.svg\";","export default __webpack_public_path__ + \"static/media/empty-data-3.0284472b.svg\";","export default __webpack_public_path__ + \"static/media/empty-data-4.f32d5cd7.svg\";","export default __webpack_public_path__ + \"static/media/empty-data-5.16e6c5bf.svg\";","export default __webpack_public_path__ + \"static/media/empty-data-6.07f27587.svg\";","export default __webpack_public_path__ + \"static/media/squiggles.51ae651c.svg\";","export default __webpack_public_path__ + \"static/media/step-type-email.339f1593.svg\";","export default __webpack_public_path__ + \"static/media/person-monocular.7863b3f9.svg\";","export default __webpack_public_path__ + \"static/media/neptik-logo.1c41518f.svg\";","export default __webpack_public_path__ + \"static/media/neptik-logo-black.0470a45f.svg\";","export default __webpack_public_path__ + \"static/media/maropost-logo.a4a4f9b9.svg\";","export default __webpack_public_path__ + \"static/media/kellton-logo.fa82acdc.svg\";","export default __webpack_public_path__ + \"static/media/digital-rafter-logo.77d7c7bb.svg\";","export default __webpack_public_path__ + \"static/media/yelp-logo.d5dfb233.svg\";","export default __webpack_public_path__ + \"static/media/cloudtalk-logo.10e73909.svg\";","export default __webpack_public_path__ + \"static/media/dorik-logo.d4ac09c8.svg\";","export default __webpack_public_path__ + \"static/media/godaddy-logo.59cdb6c9.svg\";","export default __webpack_public_path__ + \"static/media/integrately-logo.42ba582a.svg\";","export default __webpack_public_path__ + \"static/media/opslyft-logo.279b43c6.svg\";","export default __webpack_public_path__ + \"static/media/revvix-logo.11ab72a8.svg\";","export default __webpack_public_path__ + \"static/media/vroozi-logo.3660d52c.svg\";","export default __webpack_public_path__ + \"static/media/vector-doctor.b97d061e.svg\";","export default __webpack_public_path__ + \"static/media/vector-filter.d0fb0772.svg\";","export default __webpack_public_path__ + \"static/media/sh-call-active.a15e99a0.svg\";","export default __webpack_public_path__ + \"static/media/mail-disabled.06c7a364.svg\";","export default __webpack_public_path__ + \"static/media/no-search-result-icon.f78cf2ed.svg\";","export default __webpack_public_path__ + \"static/media/no-search-result-saved-icon.45f5b2b7.svg\";","export default __webpack_public_path__ + \"static/media/mail-enable.c3643922.svg\";","export default __webpack_public_path__ + \"static/media/sh-eye-active.0783a8d7.svg\";","export default __webpack_public_path__ + \"static/media/sh-eye-disabled.7fcb1a73.svg\";","export default __webpack_public_path__ + \"static/media/sh-reply-active.fc0d50ca.svg\";","export default __webpack_public_path__ + \"static/media/sh-reply-disabled.d27630cb.svg\";","export default __webpack_public_path__ + \"static/media/sh-link-active.877c2dfc.svg\";","export default __webpack_public_path__ + \"static/media/link-enable-2.9882455e.svg\";","export default __webpack_public_path__ + \"static/media/sh-link-disabled.d0710911.svg\";","export default __webpack_public_path__ + \"static/media/link-disable-2.dbefecd7.svg\";","export default __webpack_public_path__ + \"static/media/email-sent.f571e85d.svg\";","export default __webpack_public_path__ + \"static/media/email-sent-blue.86891e55.svg\";","export default __webpack_public_path__ + \"static/media/tab-all.1927885d.svg\";","export default __webpack_public_path__ + \"static/media/tab-all-blue.26036dc3.svg\";","export default __webpack_public_path__ + \"static/media/tab-opened.772090c3.svg\";","export default __webpack_public_path__ + \"static/media/tab-opened-blue.d21becbf.svg\";","export default __webpack_public_path__ + \"static/media/tab-clicked.002ea3b2.svg\";","export default __webpack_public_path__ + \"static/media/tab-clicked-blue.38f12e35.svg\";","export default __webpack_public_path__ + \"static/media/tab-replied.740e4602.svg\";","export default __webpack_public_path__ + \"static/media/tab-replied-blue.16b531d8.svg\";","export default __webpack_public_path__ + \"static/media/email-sent-colored.5a61fdbe.svg\";","export default __webpack_public_path__ + \"static/media/link-clicked.002ea3b2.svg\";","export default __webpack_public_path__ + \"static/media/link-clicked-colored.24b08427.svg\";","export default __webpack_public_path__ + \"static/media/mail-bounced.c03a6dd5.svg\";","export default __webpack_public_path__ + \"static/media/mail-bounced-colored.da9f7062.svg\";","export default __webpack_public_path__ + \"static/media/mail-failed.93bdb59b.svg\";","export default __webpack_public_path__ + \"static/media/mail-failed-colored.21e2c7f3.svg\";","export default __webpack_public_path__ + \"static/media/mail-opened.28e3033a.svg\";","export default __webpack_public_path__ + \"static/media/mail-opened-colored.9cd48aed.svg\";","export default __webpack_public_path__ + \"static/media/reply-received.54e75352.svg\";","export default __webpack_public_path__ + \"static/media/reply-received-colored.09498266.svg\";","export default __webpack_public_path__ + \"static/media/email-unsubscribed.c4a89d4b.svg\";","export default __webpack_public_path__ + \"static/media/unsubscribed-colored.b8665deb.svg\";","export default __webpack_public_path__ + \"static/media/sh-shield.12e1f314.svg\";","export default __webpack_public_path__ + \"static/media/send.89f6a281.svg\";","export default __webpack_public_path__ + \"static/media/send-email-l.1bad13c9.svg\";","export default __webpack_public_path__ + \"static/media/sent-email-blue.4a6335a6.svg\";","export default __webpack_public_path__ + \"static/media/email-sent-blue-xl.e35cefd5.svg\";","export default __webpack_public_path__ + \"static/media/activeseen.14e6b4e0.svg\";","export default __webpack_public_path__ + \"static/media/seen-email-cyan.5d96b2db.svg\";","export default __webpack_public_path__ + \"static/media/alert-triangle-warning.63ba4012.svg\";","export default __webpack_public_path__ + \"static/media/alert-triangle.fe7de9fb.svg\";","export default __webpack_public_path__ + \"static/media/alert-triangle-red.e69a0f51.svg\";","export default __webpack_public_path__ + \"static/media/alert-triangle-xl.eabad256.svg\";","export default __webpack_public_path__ + \"static/media/clock.f36cb133.svg\";","export default __webpack_public_path__ + \"static/media/clock-yellow.bf8055b7.svg\";","export default __webpack_public_path__ + \"static/media/tag.b0e26399.svg\";","export default __webpack_public_path__ + \"static/media/tag-grey.8f7f3dbe.svg\";","export default __webpack_public_path__ + \"static/media/tag-blue.9c72d0de.svg\";","export default __webpack_public_path__ + \"static/media/tag-blue-xl.dfc7c61c.svg\";","export default __webpack_public_path__ + \"static/media/forward.0ed110a0.svg\";","export default __webpack_public_path__ + \"static/media/backward.cc70dd7a.svg\";","export default __webpack_public_path__ + \"static/media/close.16bac207.svg\";","export default __webpack_public_path__ + \"static/media/wallet.3e3af9ab.svg\";","export default __webpack_public_path__ + \"static/media/ban.947bac9e.svg\";","export default __webpack_public_path__ + \"static/media/ban-blue-xl.33f3bf8d.svg\";","export default __webpack_public_path__ + \"static/media/trash.cdd35fba.svg\";","export default __webpack_public_path__ + \"static/media/trash-light.293c03fd.svg\";","export default __webpack_public_path__ + \"static/media/trash-blue-xl.ee8477f9.svg\";","export default __webpack_public_path__ + \"static/media/trash-danger.bb7aa0dd.svg\";","export default __webpack_public_path__ + \"static/media/send-grey.8c9a92b7.svg\";","export default __webpack_public_path__ + \"static/media/shield-check.d539da5d.svg\";","export default __webpack_public_path__ + \"static/media/shield-blue-xl.0646bb61.svg\";","export default __webpack_public_path__ + \"static/media/bell.b9264059.svg\";","export default __webpack_public_path__ + \"static/media/bell-enabled.ad887d5b.svg\";","export default __webpack_public_path__ + \"static/media/bell-disabled.efb3eca3.svg\";","export default __webpack_public_path__ + \"static/media/headset.038d470c.svg\";","export default __webpack_public_path__ + \"static/media/gift.345027d2.svg\";","export default __webpack_public_path__ + \"static/media/help.2e1c55ed.svg\";","export default __webpack_public_path__ + \"static/media/apps.432d2d90.svg\";","export default __webpack_public_path__ + \"static/media/logout.1f02cd66.svg\";","export default __webpack_public_path__ + \"static/media/bx-cog.6efbe618.svg\";","export default __webpack_public_path__ + \"static/media/pencil.27c54e95.svg\";","export default __webpack_public_path__ + \"static/media/copy.69b772db.svg\";","export default __webpack_public_path__ + \"static/media/upload.117ed220.svg\";","export default __webpack_public_path__ + \"static/media/upload-cloud.6b4fa255.svg\";","export default __webpack_public_path__ + \"static/media/cloud-upload-blue.64d236d2.svg\";","export default __webpack_public_path__ + \"static/media/blacklist.7967b3a3.svg\";","export default __webpack_public_path__ + \"static/media/removed-from-blacklist.2b3b3a10.svg\";","export default __webpack_public_path__ + \"static/media/export-icon.449aaaf3.svg\";","export default __webpack_public_path__ + \"static/media/export-grey.9d5e8a6a.svg\";","export default __webpack_public_path__ + \"static/media/clipboard-x.a4aca466.svg\";","export default __webpack_public_path__ + \"static/media/file-blank.750904ba.svg\";","export default __webpack_public_path__ + \"static/media/arrows-sort.3ae66989.svg\";","export default __webpack_public_path__ + \"static/media/info-circle.cffd9706.svg\";","export default __webpack_public_path__ + \"static/media/arrow-down.8ced0fc3.svg\";","export default __webpack_public_path__ + \"static/media/arrow-right.20988aba.svg\";","export default __webpack_public_path__ + \"static/media/arrow-forward.8f29b9d9.svg\";","export default __webpack_public_path__ + \"static/media/smile-icon.b614a129.svg\";","export default __webpack_public_path__ + \"static/media/template-icon.f49d6d72.svg\";","export default __webpack_public_path__ + \"static/media/info-circle-yellow.d8b279a6.svg\";","export default __webpack_public_path__ + \"static/media/checks-green.622fccfa.svg\";","export default __webpack_public_path__ + \"static/media/ban-for-unsubscribe.74294a45.svg\";","export default __webpack_public_path__ + \"static/media/notification-pause.64f8fb96.svg\";","export default __webpack_public_path__ + \"static/media/notification-alert.e7d17b5b.svg\";","export default __webpack_public_path__ + \"static/media/notification-bulk-reveal.63dcb653.svg\";","export default __webpack_public_path__ + \"static/media/notification-refresh.bd510dc1.svg\";","export default __webpack_public_path__ + \"static/media/notification-user.eea348de.svg\";","export default __webpack_public_path__ + \"static/media/no-notification.b623673c.svg\";","export default __webpack_public_path__ + \"static/media/blue-bell.d23e2886.svg\";","export default __webpack_public_path__ + \"static/media/blue-logout.127772ab.svg\";","export default __webpack_public_path__ + \"static/media/blue-cog.06a32816.svg\";","export default __webpack_public_path__ + \"static/media/blue-help.b835a093.svg\";","export default __webpack_public_path__ + \"static/media/chevron-left-blue.b3e4ccf7.svg\";","export default __webpack_public_path__ + \"static/media/chevron-right-blue.d2af4274.svg\";","export default __webpack_public_path__ + \"static/media/peoples.24ee2a68.svg\";","export default __webpack_public_path__ + \"static/media/prospect-add.264415af.svg\";","export default __webpack_public_path__ + \"static/media/replied.bf75e507.svg\";","export default __webpack_public_path__ + \"static/media/mail-bounced-gray.27f6f474.svg\";","export default __webpack_public_path__ + \"static/media/alert-circle.f2638523.svg\";","export default __webpack_public_path__ + \"static/media/opened.b7057982.svg\";","export default __webpack_public_path__ + \"static/media/clicked.e8fac447.svg\";","export default __webpack_public_path__ + \"static/media/unsubscribed.cb933b8d.svg\";","export default __webpack_public_path__ + \"static/media/calendar.f62addd9.svg\";","export default __webpack_public_path__ + \"static/media/mail.1302f4d7.svg\";","export default __webpack_public_path__ + \"static/media/loader.f843027c.svg\";","export default __webpack_public_path__ + \"static/media/user.bedb0b2e.svg\";","export default __webpack_public_path__ + \"static/media/wallet-blue.d51315a0.svg\";","export default __webpack_public_path__ + \"static/media/blank-shield.abcf09e5.svg\";","export default __webpack_public_path__ + \"static/media/alert-circle-red.16163ee3.svg\";","export default __webpack_public_path__ + \"static/media/user-check.1cb2765d.svg\";","export default __webpack_public_path__ + \"static/media/user-exclamation.a736ff56.svg\";","export default __webpack_public_path__ + \"static/media/refresh-blue.154deac5.svg\";","export default __webpack_public_path__ + \"static/media/info-circle-blue.7adbfe1f.svg\";","export default __webpack_public_path__ + \"static/media/lock.d715f9e6.svg\";","export default __webpack_public_path__ + \"static/media/chevron-left.02f7b658.svg\";","export default __webpack_public_path__ + \"static/media/info-circle-red.ae5582ac.svg\";","export default __webpack_public_path__ + \"static/media/chevron-down.a3a9a58b.svg\";","export default __webpack_public_path__ + \"static/media/check.8e2ee67c.svg\";","export default __webpack_public_path__ + \"static/media/check-single-green.840dee69.svg\";","export default __webpack_public_path__ + \"static/media/check-orange.87068622.svg\";","export default __webpack_public_path__ + \"static/media/alert-circle-orange.ccffc46a.svg\";","export default __webpack_public_path__ + \"static/media/cross.5c090fe5.svg\";","export default __webpack_public_path__ + \"static/media/cross-red.ef8f2eae.svg\";","export default __webpack_public_path__ + \"static/media/cross-gray.3db28092.svg\";","export default __webpack_public_path__ + \"static/media/refresh.6f9c5187.svg\";","export default __webpack_public_path__ + \"static/media/refresh-grey.485846b6.svg\";","export default __webpack_public_path__ + \"static/media/smart-ideas.1ab60c9e.svg\";","export default __webpack_public_path__ + \"static/media/server.cea7eb12.svg\";","export default __webpack_public_path__ + \"static/media/gmail.10d49476.svg\";","export default __webpack_public_path__ + \"static/media/microsoft.5dc85a80.svg\";","export default __webpack_public_path__ + \"static/media/external-link.71629004.svg\";","export default __webpack_public_path__ + \"static/media/external-link-white.c2554f72.svg\";","export default __webpack_public_path__ + \"static/media/ban-m.99a83192.svg\";","export default __webpack_public_path__ + \"static/media/server-blue.13ba659c.svg\";","export default __webpack_public_path__ + \"static/media/user-list.651ee4e3.svg\";","export default __webpack_public_path__ + \"static/media/trash-small.5da8f12e.svg\";","export default __webpack_public_path__ + \"static/media/opened-disabled.9a7db61d.svg\";","export default __webpack_public_path__ + \"static/media/opened-enabled.494c013f.svg\";","export default __webpack_public_path__ + \"static/media/opened-blue.5ffca99b.svg\";","export default __webpack_public_path__ + \"static/media/clicked-disabled.731465ef.svg\";","export default __webpack_public_path__ + \"static/media/clicked-enabled.bad12502.svg\";","export default __webpack_public_path__ + \"static/media/clicked-blue.f6a7719b.svg\";","export default __webpack_public_path__ + \"static/media/opened-bg.43018418.svg\";","export default __webpack_public_path__ + \"static/media/clicked-bg.f0d8a94a.svg\";","export default __webpack_public_path__ + \"static/media/link-chain.b5897c25.svg\";","export default __webpack_public_path__ + \"static/media/mailbox.a2e187e7.svg\";","export default __webpack_public_path__ + \"static/media/no-result.f0adb046.svg\";","export default __webpack_public_path__ + \"static/media/chrome-light.78e3c197.svg\";","export default __webpack_public_path__ + \"static/media/chrome-dark.c933aa30.svg\";","export default __webpack_public_path__ + \"static/media/chrome-gray.8bf7d8ef.svg\";","export default __webpack_public_path__ + \"static/media/chrome-blue.ca13b6be.svg\";","export default __webpack_public_path__ + \"static/media/play-circle.e0033e40.svg\";","export default __webpack_public_path__ + \"static/media/google-plus.0949c9bf.svg\";","export default __webpack_public_path__ + \"static/media/microsoft-sm.dbe849f6.svg\";","export default __webpack_public_path__ + \"static/media/favicon.71820035.ico\";","export default __webpack_public_path__ + \"static/media/setting.94178ddd.svg\";","export default __webpack_public_path__ + \"static/media/trending-up.a4134be3.svg\";","export default __webpack_public_path__ + \"static/media/trending-down.11473363.svg\";","export default __webpack_public_path__ + \"static/media/chart-pie.ca9647d3.svg\";","export default __webpack_public_path__ + \"static/media/email.f064b00a.svg\";","export default __webpack_public_path__ + \"static/media/chevron-right.2e7c7197.svg\";","export default __webpack_public_path__ + \"static/media/empty-pie.264659ab.svg\";","export default __webpack_public_path__ + \"static/media/broken.498d78be.svg\";","export default __webpack_public_path__ + \"static/media/google-30x30.d8bfaa65.svg\";","export default __webpack_public_path__ + \"static/media/microsoft-30x30.49adb08d.svg\";","export default __webpack_public_path__ + \"static/media/server-30x30.46156460.svg\";","export default __webpack_public_path__ + \"static/media/ellips-1.60e04de2.svg\";","export default __webpack_public_path__ + \"static/media/ellips-2.55809f1e.svg\";","export default __webpack_public_path__ + \"static/media/ellips-3.9be8561e.svg\";","export default __webpack_public_path__ + \"static/media/ellips-4.e1f26cdc.svg\";","export default __webpack_public_path__ + \"static/media/half-circle.524b3124.svg\";","export default __webpack_public_path__ + \"static/media/friends.21252fb3.svg\";","export default __webpack_public_path__ + \"static/media/friends-blue.3f98ab74.svg\";","export default __webpack_public_path__ + \"static/media/no-email-found.dd9fc60f.svg\";","export default __webpack_public_path__ + \"static/media/popper.ea4548df.svg\";","export default __webpack_public_path__ + \"static/media/messages.d49d2941.svg\";","export default __webpack_public_path__ + \"static/media/default.ecc0af81.svg\";","export default __webpack_public_path__ + \"static/media/image.20dd3508.svg\";","export default __webpack_public_path__ + \"static/media/zip.df1bda46.svg\";","export default __webpack_public_path__ + \"static/media/pdf.2f2d4845.svg\";","export default __webpack_public_path__ + \"static/media/video.6ccd1e65.svg\";","export default __webpack_public_path__ + \"static/media/ppt.48ac6ee9.svg\";","export default __webpack_public_path__ + \"static/media/sheets.090a4f88.svg\";","export default __webpack_public_path__ + \"static/media/docs.4344216e.svg\";","export default __webpack_public_path__ + \"static/media/rotate.614fa09c.svg\";","export default __webpack_public_path__ + \"static/media/star.0d190bd5.svg\";","export default __webpack_public_path__ + \"static/media/magic-wand.5d4b82d2.svg\";","export default __webpack_public_path__ + \"static/media/discount.ab370cfe.svg\";","export default __webpack_public_path__ + \"static/media/paper-plane.6734c926.svg\";","export default __webpack_public_path__ + \"static/media/paused-with-bg.6727e613.svg\";","export default __webpack_public_path__ + \"static/media/resume-with-bg.6efc9da0.svg\";","export default __webpack_public_path__ + \"static/media/searching-empty.163e48ba.svg\";","export default __webpack_public_path__ + \"static/media/alert-triangle-orange.3cee6a05.svg\";","export default __webpack_public_path__ + \"static/media/in-progress.01ea9589.svg\";","export default __webpack_public_path__ + \"static/media/folder-open.28a5516b.svg\";","export default __webpack_public_path__ + \"static/media/premium-feature.615209dc.svg\";","export default __webpack_public_path__ + \"static/media/access-denied.61942693.svg\";","export default __webpack_public_path__ + \"static/media/Create_New_Email_Icon.ae5a3ba5.svg\";","export default __webpack_public_path__ + \"static/media/Email_Configuration_Icon.a120fbde.svg\";","export default __webpack_public_path__ + \"static/media/Empty-List-Search-Domain_Icon.ba1664e7.svg\";","export default __webpack_public_path__ + \"static/media/NO_DOMAIN_SEARCH_RESULT_ICON.8ee3ffb4.svg\";","export default __webpack_public_path__ + \"static/media/NO_EMAIL_FOUND_ICON.685b317e.svg\";","export default __webpack_public_path__ + \"static/media/No_Gender_Avatar.5f6bec53.svg\";","export default __webpack_public_path__ + \"static/media/microsoft-disabled.bfc2bf0d.svg\";","export default __webpack_public_path__ + \"static/media/maildoso-disabled.eb8ae5c6.svg\";","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAUCAYAAACTQC2+AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAKNSURBVHgB7VVPTxNBFH8zs7vdttuWtikUAYPAAYtAExPQxJOJBzh60IsfwINnr+g38MJHUBMxesOYSDiiiUQgIkSqktoALe1C/+5u98+4XbpmsVskES/GXzKbmXnv/X4zb97OAPxrQI4+KUSm/HfFV9U5AGyO1Y3ARDQd0cYFNix9Ez+s3xHFkjnPmE1r+JtNfxYeCMUCsVHN8DJqIZOallIZOIo3XIUeQIKbuZxUQFN3H66O9M6MbW7XjEofVSlQqoPHIwBroEW0Pne9IfI2Mumf7LuwrBvKkKwqFhPGHHiJ5/PX76mJwYPlslPsp1BpeCJqQHde0SU5zPCkDhrrQ56VA6SuBikeNIBcy6ll6OXCmWy+ONzZGaiIShWinLBf0uUFDJQTCHdzRylDly8C+b1NIZ5dkxu7hmYaLKQrFdofQKAhxCECuFxSRoT0/CfbPh8fik3FxneycrEnFGYrh2oNggTfQx+fzzpTRBO3v+zVCgNdseElyK6N2fMYWk8Ng8Lc6E4vbDh3PL2Xym8WxSsCQ1DV0Kifel5zG/Ozv3CQuVL6UtRMs07roy87kh02R4uQmQqN3Xrxxl6g03YxvbjsJz7Zhxn0rrp7v0niPHT9VmZJYnX2fV2vA+GZqzZHixClVHYTcYwPGbPgVqgkuvhY2JJz29aiCddlz7UKoWMl7wYrRuCNtn51jFgNqdAH8eNBZw3U/OqOrP4VITf8F/pzobDPizXaqFb6u6qzitowdHyCHZs3JHAUkxahJ8WMFPIGARNfHU4CxxvEy8M5ia+1cwmynrKfCcE+n8u62dGj7sT52VhCgKMnwA2kccs/jSf7Adr+b1bs455k0uZtEWrTbwd0CttpeM4WPwCSVu8huvCq0QAAAABJRU5ErkJggg==\"","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAOCAYAAAAvxDzwAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAHNSURBVHgBtZLfK6xBGMefmXn3fffNnl3n6Jw9naPzo0TWay9QcqOVGxeEUP4AN/IPKC4o8h+4QrniAjdSFLURSXGBzQ1ZEllC2F2774/HvLxo7bvc8NTMNPP5zneeZ2YAPjiINbIlT7F7WyeO9tvNyHyW4mXf3VU/gV22h5cWggCGqeFNnXL5f3g9rkqJMm0wvrMwcn5+w9cpPGqeDQH9TSexRCwmIF0TnXIr6IhJ0IlABYjeJtrc+9PDutIUogR9pl5D4JQ3TerP2hnrtryQviSrJ6Jo/Bcdztq54/1fEJpkA5HlL4Z2F1Kl5BAqtRECRsHqddjXu+VnHdKBqKmwmITLrsN/1Q1ptaO/PpwoqseeQECwyjNPFB6Y0nwX89XhbG5JnlUesTScNV5gcfPpkw9NMUXY6wkGNTNdc2pWZq5fqfEVmYrxmqONXeuu0NJAJBqd4NOcFuuAFMM46hRsX46oQNCwY+v6tc7tyRkESJohAfvgmVPe2WL51S4KHxyfaEgevhHJqMxA8BV5MTSoLDFJttvkFCUXMIdox74xRzYIIg1AMOXRaF924d/RnPzfkH4NtNPz5+u4t0yxYaQFKuSZ3NLyzDW8HeQ9dg8Q7pz64bF+tQAAAABJRU5ErkJggg==\"","export default __webpack_public_path__ + \"static/media/Pipedrive.c80d913c.svg\";","export default __webpack_public_path__ + \"static/media/Zoho.0cf81efe.svg\";","export default __webpack_public_path__ + \"static/media/Hubspot.688ee6c3.svg\";","export default __webpack_public_path__ + \"static/media/salesforce.11c2da3d.svg\";","export default __webpack_public_path__ + \"static/media/switch-horizontal.e5b66116.svg\";","export default __webpack_public_path__ + \"static/media/agency-portal.90ab7bde.svg\";","export default __webpack_public_path__ + \"static/media/arrow-up-circle.27fb40fe.svg\";","export default __webpack_public_path__ + \"static/media/1.c44f7c0e.jpeg\";","export default __webpack_public_path__ + \"static/media/2.e97b5721.jpeg\";","export default __webpack_public_path__ + \"static/media/3.c4056e15.jpeg\";","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFMAAABhCAYAAACqAJ2mAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABtnSURBVHgB7Z15zFzVecbPzPdhg/EOBpvNbDab8QoBQwGzFgxBJWxNAqSBCGglilTSqopEyx+UNq3auqhVVSISopg/kClKFVTAQpQlJYbaBgJewAuLbfYdY2Nsf9Pnd7jP5PXJfEmqzh0rkl/p+pu5c5dznvO86zn3OqVdskt2yS7ZJbtkJ0gj7Rzhvq3qc3PSpEkH77HHHjNbrdZhW7duHTZ8+PAxu0kajcamfffdd+OQIUPWrFu3bsUHH3ywfsWKFe/onG2DXGunSq/B9P1aBxxwwB76e/GECROuEpC/s3Hjxj2azWYaMWJE0vek70lgJgGZhGvafffdt/X19X24ZcuWlwX4YgH7k0WLFj2YvgCyfd20E6WXYDa1DfDh0EMPvUB/bhdIh4wZMyYJpASQgAdw7733Xvroo48ykMOGDct/2T777LO0ffv2NHTo0LT//vungYGBp8TYG/5HUt5jZ0gvwGyzZty4ccMPOuigvxMo148ePTqDJ5a1BGRj06ZNGUDAEvvSqFGjMrCbN2/OIBpYzvn8889b+t7Yc889k66zvb+//9sPPPDAvPJ+qcdSN5gwhU61pk+ffrJs4b9/+umn+0plkwAYkKo2DZ7sZQaPvzCV/QC8bdu2/B0gYSQMZh/nCMwBndNkv7YlAv6rTz311Kpw756ytC/VJ+3OTJ069Y/V2XsE3giBAqvSu+++2xQrMzACN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UrN2w0o8VW62iNy1Ho1RZxKmj2RnVyQa/k2ob4GgPKWp4OWF0jjYlLvy6qGJtYiBi2hoHsbxvHOio4vHdH6XjNWBRMyOwGTNsD2ykMX4gyeCWtrK8efSOLuJGm1M23NeKgEdzwkCSn7PPUxQcY3XmL6aAtsaA3vVOm4eSBB60cgB9nIF0iltKGWOXDg7J9VRGmcwBMPxejXL1WactAupc2NlMp2znV6kLYvUn3vTcd1m/JNuJXtzg+HlK7+sUTZSD6s8G15pQFkhiHzvZfvcrt9EX9JtQHbD6lYuDAVPm7ohLZ54IK0GL50SV8WfOp2oUq+px1UanGJJ9HI+5cnGjvG/UoNIHxIq821/2sYw3I9A7ODHnutWykuwtnVbFOKoc0ThC/u4CsROATo4odrK8juNFVN3/mQhiZvr1El70yjU4h7kkLwQrbVpp800emxnbXK9tiswsB781iIe3iWj6QVA32p2yekUHEsEt2WqJtc1OYcRgg2H2cV9qmE4R7RDdDi/LttPjXJjptsdORxvfaHQOvr0iOb7/uJNWlRpRalilOf1tdP2jYy62vkHe/TuYt7NqwqK4qi0eG21TJ3DJhLyWyI11lsW50UnQRsKpCJ7bUrI/irMcLwePJiL2NRZlfM3SCYdYtdkejThidvel8e1k3Pkck34a5ncXxWMigJ1sEJ9xhHhs5qFc1IgD6leFO6DnPjDTvw/mecuMLgbpMU/v5B86MdKbHXY2RRwQn6qNJ5VF38EuWO6zYXeINRijS2OP+L9KhJ1xIZfZ5EzNJsAFjjhN0snrluC6SOP++5hWB+fqzxGPSB77h6YfbHIm40aV7Ik3c2PKADw23DYv2qOyo/E+kb2cg92sFq+2HYMHys7JoZhjzKiO8bpxIH1fzwHFtkWvHVPZ6JBj+81M97cZq+MOWuOUrUtTnbzZYKEO4uvE//yoZHenJMC/EW86aPe8emQ+Aqh+yCqGPWU9sxRf0+2K60PLOqfbFjXUbYz4cK3/Bec43kDtK1NrAAAAAElFTkSuQmCC\"","export default __webpack_public_path__ + \"static/media/2-bg.67802632.png\";","export default __webpack_public_path__ + \"static/media/3-bg.10bd9dca.png\";","export default __webpack_public_path__ + \"static/media/4-bg.23cce6d2.png\";","export default __webpack_public_path__ + \"static/media/rocket.b11ea76b.svg\";","export default __webpack_public_path__ + \"static/media/user-with-bg.06ab8ce9.svg\";","export default __webpack_public_path__ + \"static/media/teams-ui.29ab1c7a.svg\";","export default __webpack_public_path__ + \"static/media/party-horn.b8134db5.svg\";","export default __webpack_public_path__ + \"static/media/mail-send-yellow.e256f458.svg\";","export default __webpack_public_path__ + \"static/media/bx-dollar-green.c3bef194.svg\";","export default __webpack_public_path__ + \"static/media/bx-dollar-gray.3db901a8.svg\";","export default __webpack_public_path__ + \"static/media/grip-vertical.3b764bf9.svg\";","export default __webpack_public_path__ + \"static/media/ellipse-green.a06c476f.svg\";","export default __webpack_public_path__ + \"static/media/ellipse-purple.eab75b69.svg\";","export default __webpack_public_path__ + \"static/media/pause-circle.5e99ce25.svg\";","export default __webpack_public_path__ + \"static/media/zapier-logo.e2639c29.svg\";","export default __webpack_public_path__ + \"static/media/sendler-logo.3865ff97.svg\";","export default __webpack_public_path__ + \"static/media/pichlane-log.1fc493f8.svg\";","export default __webpack_public_path__ + \"static/media/sendspark-logo.78d44112.svg\";","export default __webpack_public_path__ + \"static/media/weezly-log.25996fb6.svg\";","export default __webpack_public_path__ + \"static/media/spintax-gray.86695a47.svg\";","export default __webpack_public_path__ + \"static/media/spintax-black.33871d8f.svg\";","export default __webpack_public_path__ + \"static/media/quotes.e95923f4.svg\";","export default __webpack_public_path__ + \"static/media/verified-false.7b079d2f.svg\";","export default __webpack_public_path__ + \"static/media/verified-true.bf0f70b0.svg\";","export default __webpack_public_path__ + \"static/media/verified-error.72c6dded.svg\";","export default __webpack_public_path__ + \"static/media/whitelabel-logo.3e96a347.svg\";","export default __webpack_public_path__ + \"static/media/whitelabel-favicon.41b63c3d.svg\";","export default __webpack_public_path__ + \"static/media/sh-logo-blue.9b7bcffb.svg\";","export default __webpack_public_path__ + \"static/media/bx-right-arrow.678eb67a.svg\";","export default __webpack_public_path__ + \"static/media/stars.29c3f053.svg\";","export default __webpack_public_path__ + \"static/media/rocket-color.f4dbf556.svg\";","export default __webpack_public_path__ + \"static/media/heart-color.08302e75.svg\";","export default __webpack_public_path__ + \"static/media/star-color.1d8679f3.svg\";","export default __webpack_public_path__ + \"static/media/building-color.b76da2af.svg\";","export default __webpack_public_path__ + \"static/media/g2-logo.f9152f1f.svg\";","export default __webpack_public_path__ + \"static/media/g2-rating.0b060fec.svg\";","export default __webpack_public_path__ + \"static/media/g2-achievement.29812548.svg\";","export default __webpack_public_path__ + \"static/media/certificates.88cbdb3a.svg\";","export default __webpack_public_path__ + \"static/media/google-play-store-qr.3a346bf5.svg\";","export default __webpack_public_path__ + \"static/media/apple-app-store-qr.1dcd4b1f.svg\";","import React from 'react';\nimport { RouteComponentProps } from 'react-router';\nimport { Link } from 'react-router-dom';\nimport { generateRandomString } from '../../shared/utils';\n\ntype Route = {\n id?: number;\n route: string;\n text?: string;\n};\n\nconst routes: Route[] = [\n { route: '/login' },\n { route: '/signup' },\n { route: '/reset-password' },\n { route: '/reset-password/:code' },\n { route: '/settings' },\n { route: '/sequence' },\n { route: '/prospect' },\n { route: '/template' },\n { route: '/navigation' },\n { route: '/auth-indicator' },\n { route: '/design-system' },\n { route: '/' },\n { route: `/${generateRandomString(20)}` },\n];\n\nfor (let i = 0; i < routes.length; i++) {\n routes[i].id = i + 1;\n}\n\ntype TempNavigationProps = RouteComponentProps;\n\nconst TempNavigation: React.FC = () => {\n return (\n
    \n
      \n {routes.map((route) => (\n
    • \n {route.text ?? route.route}\n
    • \n ))}\n
    \n
    \n );\n};\n\nexport default TempNavigation;\n","import React from 'react';\nimport { Link } from 'react-router-dom';\n\nconst FixedHome = () => {\n const showNavigation = localStorage.getItem('showNavigation');\n\n if (showNavigation) {\n return (\n \n Nav\n \n );\n }\n\n localStorage.setItem('showNavigation', '');\n\n return null;\n};\n\nexport default FixedHome;\n","import React from 'react';\nimport './temp-auth-indicator.scss';\nimport Button from '../../shared/design-system/components/atoms/button';\nimport { AuthHelper } from '../../shared/utils';\n\nconst TempAuthIndicator = () => {\n return (\n
    \n
    \n
    you are logged in
    \n
    \n AuthHelper.logout()}\n >\n Logout\n \n
    \n
    \n
    \n );\n};\n\nexport default TempAuthIndicator;\n","import React from 'react';\nimport { showLoading, hideLoading } from 'react-redux-loading-bar';\nimport queryString from 'query-string';\nimport { IProps } from './types';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport toaster, { Theme } from '../../../../shared/toaster';\nimport { EmailAccountCallbackQuery } from '../../types/email-account-callback-query';\nimport store from '../../../../store';\n\nclass ConnectEmailAccountCallback extends React.Component {\n componentDidMount() {\n const { match, location, sendVerifyEmailAccountRequest } = this.props;\n const { method } = match.params;\n const query = location.search;\n location.search = '';\n\n const { code, state, error } = queryString.parse(\n query,\n ) as EmailAccountCallbackQuery;\n\n if (error) {\n this.redirectToEmailAccountsListing();\n } else if (code) {\n sendVerifyEmailAccountRequest(method, code, state);\n store.dispatch(showLoading());\n }\n }\n\n componentDidUpdate(prevProps: IProps) {\n const {\n status,\n message,\n error,\n handleHasUserConnectedEmailAccount,\n } = this.props;\n if (status !== prevProps.status) {\n if (\n status === RequestStatus.Succeeded ||\n status === RequestStatus.Failed\n ) {\n store.dispatch(hideLoading());\n if (status === RequestStatus.Succeeded) {\n toaster.success(message, { theme: Theme.New });\n handleHasUserConnectedEmailAccount(true);\n }\n\n if (status === RequestStatus.Failed && error) {\n toaster.error(error.message, {\n theme: Theme.New,\n showCloseIcon: true,\n delay: 10000,\n });\n }\n\n this.redirectToEmailAccountsListing();\n }\n }\n }\n\n redirectToEmailAccountsListing() {\n const { history } = this.props;\n history.push('/email-accounts');\n }\n\n render() {\n return null;\n }\n}\n\nexport default ConnectEmailAccountCallback;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps } from 'react-router';\nimport { RootState } from '../../../../store/root-reducer';\nimport { verifyEmailAccountRequest } from '../../../email-accounts/extra-actions';\nimport { EmailAccountMethod } from '../../../email-accounts/enums/email-account';\nimport ConnectEmailAccountCallback from './connect-email-account-callback';\nimport { updateApplicationState } from '../../../home/home-slice';\n\nconst mapStateToProps = (state: RootState) => ({\n status: state.emailAccount.verifyEmailAccountRequest.status,\n message: state.emailAccount.verifyEmailAccountRequest.message,\n error: state.emailAccount.verifyEmailAccountRequest.error,\n});\n\nconst mapDispatchToProps = {\n sendVerifyEmailAccountRequest: (\n method: EmailAccountMethod,\n code: string,\n state?: string,\n ) => verifyEmailAccountRequest({ method, code, state }),\n handleHasUserConnectedEmailAccount: (hasUserConnectedEmailAccount: boolean) =>\n updateApplicationState({ hasUserConnectedEmailAccount }),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps &\n RouteComponentProps<{ method: EmailAccountMethod }>;\n\nexport default connector(ConnectEmailAccountCallback);\n","import React from 'react';\nimport { Images } from '../../app-constants';\nimport ImageIcon from './image-icon';\n\nconst PersonMonocularIcon = () => (\n \n);\n\nexport default PersonMonocularIcon;\n","import React from 'react';\nimport { Col, Container, Row } from 'react-bootstrap';\nimport Icon from '../../design-system/components/atoms/icon/icon';\nimport PersonMonocularIcon from '../images/person-monocular-icon';\n\nconst Error404 = () => (\n \n \n \n
    Oops !
    \n \n
    \n \n \n
    \n \n

    \n Something is wrong\n

    \n
    \n We can't seem to find the page you're looking for\n
    \n
    \n \n \n \n
    \n
    \n \n
    \n
    \n);\n\nexport default Error404;\n","import React, { useEffect } from 'react';\nimport { showLoading, hideLoading } from 'react-redux-loading-bar';\nimport queryString from 'query-string';\nimport { IProps } from './types';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport toaster, { Theme } from '../../../../shared/toaster';\nimport store from '../../../../store';\nimport { OAuthMethod } from '../oauth-buttons';\nimport {\n initializeSentryIntegrations,\n initializeThirdPartyIntegrations,\n} from '../../../../shared/utils/initialize-third-party-integrations';\nimport { AuthHelper } from '../../../../shared/utils/auth-helper';\nimport { AnalyticsEvents } from '../../../../shared/enums/analytics';\nimport {\n executeOnErrorWithErrorCheck,\n executeOnRequestStatus,\n redirectWithoutRefresh,\n setToken,\n} from '../../../../shared/utils';\nimport { ActionForAuthentication } from '../../types';\n\nconst OAuthAuthenticateCallback: React.FC = (props) => {\n const {\n match,\n location,\n history,\n status,\n message,\n error,\n sendOAuthAuthenticateRequest,\n token,\n trackingId,\n firstName,\n lastName,\n email,\n action,\n agencyConfig,\n sendGetAgencyConfigRequest,\n getAgencyConfigRequestStatus,\n sendDeleteMyProfileRequest,\n deleteMyProfileRequestStatus,\n deleteMyProfileRequestError,\n deleteMyProfileRequestMessage,\n resetDeleteMyProfileRequest,\n } = props;\n\n const redirectToHome = () => {\n history.push('/');\n };\n\n const redirectToLogin = () => {\n history.push('/login');\n };\n\n // Handle initial authentication\n useEffect(() => {\n const { method } = match.params;\n const query = location.search;\n location.search = '';\n\n const { code, state, error: queryError } = queryString.parse(query);\n\n if (queryError) {\n toaster.error('Authentication failed', {\n theme: Theme.New,\n showCloseIcon: true,\n });\n redirectToLogin();\n } else if (code) {\n // Convert string method to OAuthMethod enum\n const oauthMethod = method as OAuthMethod;\n sendOAuthAuthenticateRequest(\n oauthMethod,\n code.toString(),\n state?.toString(),\n );\n store.dispatch(showLoading());\n } else {\n // No code or error in the URL\n redirectToLogin();\n }\n }, []);\n\n // Handle authentication success and fetch agency config if needed\n useEffect(() => {\n if (status === RequestStatus.Succeeded || status === RequestStatus.Failed) {\n const clientBaseDomain = window.sessionStorage.getItem('oauth-whitelabel-domain');\n store.dispatch(hideLoading());\n\n if (status === RequestStatus.Succeeded && token && email) {\n const agencyConfigPayload = {\n baseUrl: window.location.origin,\n email,\n };\n sendGetAgencyConfigRequest(agencyConfigPayload);\n }\n\n if (\n status === RequestStatus.Succeeded &&\n !token &&\n !email &&\n message === 'Logged in successfully'\n ) {\n if (clientBaseDomain) {\n window.location.href = `http://${clientBaseDomain}/oauth/whitelabel/callback?message=email-changed-successfully`;\n return;\n }\n if (AuthHelper.isAuthenticated) {\n toaster.success('Email changed successfully', { theme: Theme.New });\n redirectToHome();\n }\n redirectToLogin();\n }\n\n if (status === RequestStatus.Failed) {\n if (clientBaseDomain) {\n window.location.href = `http://${clientBaseDomain}/oauth/whitelabel/callback?message=authentication-failed`;\n return;\n }\n const errorMessage = error?.message || 'Authentication failed.';\n toaster.error(errorMessage, {\n theme: Theme.New,\n showCloseIcon: true,\n delay: 10000,\n });\n redirectToLogin();\n }\n }\n }, [status, token, email]);\n\n // Handle post-authentication actions based on agency config\n useEffect(() => {\n if (\n getAgencyConfigRequestStatus === RequestStatus.Succeeded &&\n agencyConfig &&\n token\n ) {\n // Handle agency redirect if applicable\n if (agencyConfig?.clientBaseUrl) {\n // Use optional chaining and nullish coalescing for safer parsing\n const urlParts = agencyConfig.clientBaseUrl?.split('://') || [];\n const domainParts = urlParts[1]?.split(':') || [];\n const clientBaseDomain = domainParts[0];\n \n if (clientBaseDomain && clientBaseDomain !== window.location.hostname) {\n window.sessionStorage.setItem('oauth-whitelabel-domain', clientBaseDomain);\n }\n\n const redirectUrl = `${\n agencyConfig.clientBaseUrl\n }/oauth/whitelabel/callback?token=${token}&action=${\n action || ''\n }&trackingId=${trackingId || ''} &firstName=${\n firstName || ''\n } &lastName=${lastName || ''} &email=${email || ''}`;\n window.location.href = redirectUrl;\n return;\n }\n\n // Otherwise handle normal authentication flow\n switch (action) {\n case ActionForAuthentication.Invitation:\n case ActionForAuthentication.Signup:\n setToken(token);\n if (trackingId) {\n window.analytics?.track?.({\n userId: trackingId,\n event: AnalyticsEvents.SignupCompleted,\n properties: {\n firstName,\n lastName,\n email,\n id: trackingId,\n source: 'v3',\n },\n });\n }\n\n redirectWithoutRefresh({\n pathname: '/sequence',\n search: 'signup=completed',\n });\n break;\n case ActionForAuthentication.ValidationChangeEmail:\n setToken(token);\n\n redirectWithoutRefresh({\n pathname: '/settings/profile',\n state: {\n oAuthChangeEmail: true,\n },\n });\n break;\n case ActionForAuthentication.DeleteAccount:\n sendDeleteMyProfileRequest('null');\n break;\n case ActionForAuthentication.Login:\n default:\n AuthHelper.login({ token });\n initializeThirdPartyIntegrations({\n trackingId,\n showChatSupport: agencyConfig?.showChatSupport,\n firstName,\n lastName,\n email,\n });\n initializeSentryIntegrations(email);\n redirectToHome(); // Redirect to home on success\n toaster.success(message, { theme: Theme.New });\n }\n }\n }, [getAgencyConfigRequestStatus, agencyConfig]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: deleteMyProfileRequestStatus,\n onSuccess: () => {\n toaster.success(deleteMyProfileRequestMessage, { theme: Theme.New });\n AuthHelper.logout({ redirect: true, pathName: '/signup' });\n resetDeleteMyProfileRequest();\n },\n onFailed: () => {\n executeOnErrorWithErrorCheck({\n error: deleteMyProfileRequestError,\n onError: () => {\n if (deleteMyProfileRequestError.code !== 1001) {\n toaster.error(deleteMyProfileRequestError.message, {\n theme: Theme.New,\n });\n resetDeleteMyProfileRequest();\n }\n },\n });\n },\n });\n }, [deleteMyProfileRequestStatus]);\n\n return null;\n};\n\nexport default OAuthAuthenticateCallback;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps } from 'react-router';\nimport { RootState } from '../../../../store/root-reducer';\nimport OAuthAuthenticateCallback from './oauth-authenticate-callback';\nimport { oauthAuthenticateRequest } from '../oauth-buttons/extra-actions';\nimport { OAuthMethod } from '../oauth-buttons';\nimport { getAgencyConfigRequest } from '../../../home/extra-actions';\nimport { deleteMyProfileRequest } from '../../../settings/components/my-profile/extra-actions';\nimport { resetDeleteMyProfileRequest } from '../../../settings/components/my-profile/my-profile-slice';\n\nconst mapStateToProps = (state: RootState) => ({\n status: state.oauth.oauthAuthenticateRequest.status,\n message: state.oauth.oauthAuthenticateRequest.message,\n error: state.oauth.oauthAuthenticateRequest.error,\n\n token: state.oauth.token,\n trackingId: state.oauth.trackingId,\n firstName: state.oauth.firstName,\n lastName: state.oauth.lastName,\n email: state.oauth.email,\n action: state.oauth.action,\n agencyConfig: state.home.agencyConfig,\n\n deleteMyProfileRequestStatus: state.myProfile.deleteMyProfileRequest.status,\n deleteMyProfileRequestMessage: state.myProfile.deleteMyProfileRequest.message,\n deleteMyProfileRequestError: state.myProfile.deleteMyProfileRequest.error,\n\n getAgencyConfigRequestStatus: state.home.getAgencyConfigRequest.status,\n});\n\nconst mapDispatchToProps = {\n sendOAuthAuthenticateRequest: (\n method: OAuthMethod,\n code: string,\n state?: string,\n ) => oauthAuthenticateRequest({ method, code, state }),\n sendGetAgencyConfigRequest: (agencyConfigPayload: {\n baseUrl: string;\n email?: string;\n }) => getAgencyConfigRequest(agencyConfigPayload),\n sendDeleteMyProfileRequest: (password: string) =>\n deleteMyProfileRequest(password),\n resetDeleteMyProfileRequest: () => resetDeleteMyProfileRequest(),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps &\n RouteComponentProps<{ method: string }>;\n\nexport default connector(OAuthAuthenticateCallback);\n","import React from 'react';\nimport { showLoading, hideLoading } from 'react-redux-loading-bar';\nimport queryString from 'query-string';\nimport { IProps } from './types';\nimport { RequestStatus } from '../../../../shared/enums/request-status';\nimport toaster, { Theme } from '../../../../shared/toaster';\nimport { EmailAccountCallbackQuery } from '../../types/email-account-callback-query';\nimport store from '../../../../store';\n\nclass ConnectEmailAccountCallback extends React.Component {\n componentDidMount() {\n const { match, location, sendVerifyEmailAccountRequest } = this.props;\n const { method } = match.params;\n const query = location.search;\n location.search = '';\n\n const { code, state, error } = queryString.parse(\n query,\n ) as EmailAccountCallbackQuery;\n\n if (error) {\n this.handleRedirection();\n } else if (code) {\n sendVerifyEmailAccountRequest(method, code, state);\n store.dispatch(showLoading());\n }\n }\n\n componentDidUpdate(prevProps: IProps) {\n const { status, error, handleHasUserConnectedEmailAccount } = this.props;\n if (status !== prevProps.status) {\n if (\n status === RequestStatus.Succeeded ||\n status === RequestStatus.Failed\n ) {\n store.dispatch(hideLoading());\n if (status === RequestStatus.Succeeded) {\n handleHasUserConnectedEmailAccount(true);\n this.handleRedirection();\n }\n\n if (status === RequestStatus.Failed && error) {\n toaster.error(error.message, {\n theme: Theme.New,\n showCloseIcon: true,\n delay: 10000,\n });\n }\n }\n }\n }\n\n handleRedirection() {\n const { whitelabelEmailAccountResponse } = this.props;\n const isConnected = !!whitelabelEmailAccountResponse?.emailAccount;\n const msg = isConnected\n ? 'Email Account connected successfully'\n : 'Email Account could not be connected';\n\n if (whitelabelEmailAccountResponse?.domain) {\n window.open(\n `https://${whitelabelEmailAccountResponse?.domain}/email-accounts?message=${msg}&isConnected=${isConnected}`,\n '_self',\n );\n\n return;\n }\n\n window.open(process.env.REACT_APP_WEB_URL, '_self');\n }\n\n render() {\n return (\n
    \n Loading...\n
    \n );\n }\n}\n\nexport default ConnectEmailAccountCallback;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps } from 'react-router';\nimport { RootState } from '../../../../store/root-reducer';\nimport ConnectEmailAccountCallback from './connect-whitelabel-email-account-callback';\nimport { EmailAccountMethod } from '../../../email-accounts/enums/email-account';\nimport { updateApplicationState } from '../../../home/home-slice';\nimport { verifyWhitelabelEmailAccountRequest } from '../../../email-accounts/extra-actions';\n\nconst mapStateToProps = (state: RootState) => ({\n status: state.emailAccount.verifyWhitelabelEmailAccountRequest.status,\n message: state.emailAccount.verifyWhitelabelEmailAccountRequest.message,\n error: state.emailAccount.verifyWhitelabelEmailAccountRequest.error,\n whitelabelEmailAccountResponse:\n state.emailAccount.whitelabelEmailAccountResponse,\n});\n\nconst mapDispatchToProps = {\n sendVerifyEmailAccountRequest: (\n method: EmailAccountMethod,\n code: string,\n state?: string,\n ) => verifyWhitelabelEmailAccountRequest({ method, code, state }),\n handleHasUserConnectedEmailAccount: (hasUserConnectedEmailAccount: boolean) =>\n updateApplicationState({ hasUserConnectedEmailAccount }),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps &\n RouteComponentProps<{ method: EmailAccountMethod }>;\n\nexport default connector(ConnectEmailAccountCallback);\n","import React, { useEffect } from 'react';\nimport { useLocation, useHistory } from 'react-router';\nimport {\n AuthHelper,\n executeOnErrorWithErrorCheck,\n executeOnRequestStatus,\n initializeSentryIntegrations,\n initializeThirdPartyIntegrations,\n redirectWithoutRefresh,\n setToken,\n} from '../../../../shared/utils';\nimport toaster, { Theme } from '../../../../shared/toaster';\nimport { ActionForAuthentication } from '../../types';\nimport { AnalyticsEvents } from '../../../../shared/enums/analytics';\nimport { IProps } from './types';\n\nconst OAuthWhitelabelCallback: React.FC = (props) => {\n const location = useLocation();\n const history = useHistory();\n\n const {\n deleteMyProfileRequestStatus,\n deleteMyProfileRequestMessage,\n deleteMyProfileRequestError,\n sendDeleteMyProfileRequest,\n resetDeleteMyProfileRequest,\n } = props;\n\n useEffect(() => {\n const searchParams = new URLSearchParams(location.search);\n const token = searchParams.get('token');\n const action = searchParams.get('action');\n const trackingId = searchParams.get('trackingId');\n const firstName = searchParams.get('firstName');\n const lastName = searchParams.get('lastName');\n const email = searchParams.get('email');\n const queryMessage = searchParams.get('message');\n\n if (token) {\n try {\n switch (action) {\n case ActionForAuthentication.Invitation:\n case ActionForAuthentication.Signup:\n setToken(token);\n if (trackingId) {\n window.analytics?.track?.({\n userId: trackingId,\n event: AnalyticsEvents.SignupCompleted,\n properties: {\n firstName,\n lastName,\n email,\n id: trackingId,\n source: 'v3',\n },\n });\n }\n\n redirectWithoutRefresh({\n pathname: '/sequence',\n search: 'signup=completed',\n });\n break;\n case ActionForAuthentication.ValidationChangeEmail:\n setToken(token);\n\n redirectWithoutRefresh({\n pathname: '/settings/profile',\n state: {\n oAuthChangeEmail: true,\n },\n });\n break;\n case ActionForAuthentication.DeleteAccount:\n sendDeleteMyProfileRequest('null');\n break;\n case ActionForAuthentication.Login:\n default:\n AuthHelper.login({ token });\n initializeThirdPartyIntegrations({\n trackingId,\n firstName,\n lastName,\n email,\n });\n initializeSentryIntegrations(email);\n history.push('/');\n toaster.success('Logged in successfully', { theme: Theme.New });\n }\n } catch (error) {\n toaster.error('Authentication failed.', {\n theme: Theme.New,\n showCloseIcon: true,\n });\n history.push('/login');\n }\n } else if (queryMessage) {\n if (queryMessage === 'email-changed-successfully') {\n toaster.success('Email changed successfully', { theme: Theme.New });\n history.push('/');\n } else if (queryMessage === 'authentication-failed') {\n toaster.error('Authentication failed.', {\n theme: Theme.New,\n showCloseIcon: true,\n });\n history.push('/login');\n }\n } else {\n toaster.error('Invalid authentication token', {\n theme: Theme.New,\n showCloseIcon: true,\n });\n history.push('/login');\n }\n }, [location.search, history]);\n\n useEffect(() => {\n executeOnRequestStatus({\n status: deleteMyProfileRequestStatus,\n onSuccess: () => {\n toaster.success(deleteMyProfileRequestMessage, { theme: Theme.New });\n AuthHelper.logout({ redirect: true, pathName: '/signup' });\n resetDeleteMyProfileRequest();\n },\n onFailed: () => {\n executeOnErrorWithErrorCheck({\n error: deleteMyProfileRequestError,\n onError: () => {\n if (deleteMyProfileRequestError.code !== 1001) {\n toaster.error(deleteMyProfileRequestError.message, {\n theme: Theme.New,\n });\n resetDeleteMyProfileRequest();\n }\n },\n });\n },\n });\n }, [deleteMyProfileRequestStatus]);\n\n return null;\n};\n\nexport default OAuthWhitelabelCallback;\n","import React from 'react';\nimport { Redirect, Route, Switch } from 'react-router-dom';\nimport Home from '../home';\nimport FixedHome from '../../shared/components/fixed-home';\nimport Auth from '../auth';\nimport TempNavigation from '../temp/temp-navigation';\nimport ResetPasswordCallback from '../auth/components/reset-password-callback';\nimport TempAuthIndicator from '../temp/temp-auth-indicator';\nimport ProtectedRoute from '../../shared/components/protected-route';\nimport ConnectEmailAccountCallback from '../settings/components/connect-email-account-callback';\nimport ConfigRoute from '../../shared/components/config-route';\nimport Error404 from '../../shared/components/error-404';\nimport VerifyEmailCallback from '../auth/components/verify-email-callback';\nimport OAuthAuthenticateCallback from '../auth/components/oauth-authenticate-callback';\nimport ErrorBoundaryWrapper from '../../shared/components/error-boundary-wrapper';\nimport connectWhitelabelEmailAccountCallback from '../settings/components/connect-whitelabel-email-account-callback';\nimport OAuthWhitelabelCallback from '../auth/components/oauth-whitelabel-callback/oauth-whitelabel-callback';\n\nconst App: React.FC = () => (\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\nexport default App;\n","import React from 'react';\nimport ReactReduxLoadingBar, {\n LoadingBarContainerProps as ReactReduxLoadingBarContainerProps,\n} from 'react-redux-loading-bar';\nimport classNames from 'classnames';\n\ntype LoadingBarProps = ReactReduxLoadingBarContainerProps;\n\nconst LoadingBar: React.FC = ({ className, ...rest }) => {\n const loadingBarClass = classNames(['loading-bar', className]);\n return ;\n};\n\nexport default LoadingBar;\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps } from 'react-router';\nimport { PauseAccountManager } from '..';\nimport { getUserSettingsRequest } from '../../../../../components/home/extra-actions';\nimport { resetResumeSubscriptionResponse } from '../../../../../components/settings/components/billing-subscription/billing-subscription-slice';\nimport { resumeSubscriptionRequest } from '../../../../../components/settings/components/billing-subscription/extra-actions';\nimport { ReactivateResumeSubscriptionRequest } from '../../../../../components/settings/components/billing-subscription/types';\nimport { RootState } from '../../../../../store/root-reducer';\n\nconst mapStateToProps = (state: RootState) => ({\n sendGetResumeSubscriptionRequestStatus:\n state.billingAndSubscription.resumeSubscriptionRequest.status,\n sendGetResumeSubscriptionRequestError:\n state.billingAndSubscription.resumeSubscriptionRequest.error,\n sendGetResumeSubscriptionResponse:\n state.billingAndSubscription.resumeSubscriptionResponse,\n subscriptionPlanStatus: state.home.subscription?.status,\n pauseEndsAt: state.home.subscription?.pauseEndsAt,\n customerId: state.home.subscription?.customerId,\n firstName: state.home.adminDetails?.firstName,\n});\n\nconst mapDispatchToProps = {\n resetResumeSubscriptionResponse: () => resetResumeSubscriptionResponse(),\n sendGetUserSettingsRequest: () => getUserSettingsRequest(),\n sendResumeSubscriptionRequest: (\n payload: ReactivateResumeSubscriptionRequest,\n ) => resumeSubscriptionRequest(payload),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps &\n RouteComponentProps & {\n bindActions: (...args: any[]) => any;\n t: (x: string) => string;\n };\n\nexport type LocationStateType = {\n isModifySubscription: boolean;\n};\n\nexport default connector(PauseAccountManager);\n","import { connect, ConnectedProps } from 'react-redux';\nimport { RouteComponentProps } from 'react-router';\nimport { getUserSettingsRequest } from '../../../../../components/home/extra-actions';\nimport { resetResumeLeadFinderSubscriptionResponse } from '../../../../../components/settings/components/billing-subscription/billing-subscription-slice';\nimport { resumeLeadFinderSubscriptionRequest } from '../../../../../components/settings/components/billing-subscription/extra-actions';\nimport { ReactivateResumeSubscriptionRequest } from '../../../../../components/settings/components/billing-subscription/types';\nimport { RootState } from '../../../../../store/root-reducer';\nimport { PauseLeadFinderManager } from '..';\n\nconst mapStateToProps = (state: RootState) => ({\n sendGetResumeLeadFinderSubscriptionStatus:\n state.billingAndSubscription.resumeLeadFinderSubscriptionRequest.status,\n sendGetResumeLeadFinderSubscriptionError:\n state.billingAndSubscription.resumeLeadFinderSubscriptionRequest.error,\n sendGetResumeLeadFinderSubscriptionResponse:\n state.billingAndSubscription.resumeLeadFinderSubscriptionResponse,\n leadFinderSubscriptionPlanStatus: state.home.leadFinderSubscription?.status,\n leadFinderPauseEndsAt: state.home.leadFinderSubscription?.pauseEndsAt,\n leadFinderCustomerId: state.home.leadFinderSubscription?.customerId,\n firstName: state.home.adminDetails?.firstName,\n});\n\nconst mapDispatchToProps = {\n resetResumeLeadFinderSubscriptionResponse: () =>\n resetResumeLeadFinderSubscriptionResponse(),\n sendGetUserSettingsRequest: () => getUserSettingsRequest(),\n sendResumeLeadFinderSubscriptionRequest: (\n payload: ReactivateResumeSubscriptionRequest,\n ) => resumeLeadFinderSubscriptionRequest(payload),\n};\n\nconst connector = connect(mapStateToProps, mapDispatchToProps);\n\nexport type IProps = ConnectedProps &\n RouteComponentProps & {\n bindActions: (...args: any[]) => any;\n t: (x: string) => string;\n };\n\nexport type LocationStateType = {\n isModifySubscription: boolean;\n};\n\nexport default connector(PauseLeadFinderManager);\n","import { Router } from 'react-router-dom';\nimport { Provider, ProviderProps } from 'react-redux';\nimport React from 'react';\nimport { RouterProps } from 'react-router';\nimport { toaster, ToastManager } from '@saleshandy/design-system';\nimport SHToaster, { ToastManager as SHToastManager } from './shared/toaster';\nimport notification, { NotificationManager } from './shared/notification';\nimport loader, { LoaderManager } from './shared/loader';\nimport planPermissionError, {\n PlanErrorManager,\n} from './shared/utils/errors/plan-permission-error';\nimport App from './components/app/app';\nimport LoadingBar from './shared/loading-bar';\nimport PauseAccountManager from './shared/utils/errors/pause-account-error/pause-account-manager';\nimport PauseLeadFinderManager from './shared/utils/errors/pause-lead-finder-error/pause-lead-finder-manager';\nimport pauseAccountError from './shared/utils/errors/pause-account-error';\nimport pauseLeadFinderError from './shared/utils/errors/pause-lead-finder-error';\n\ntype RootProps = RouterProps & ProviderProps;\n\nconst Root: React.FC = ({ store, history }) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default Root;\n","import React from 'react';\nimport ReactDOM from 'react-dom';\n// sentry dependencies\nimport * as Sentry from '@sentry/react';\nimport { BrowserTracing } from '@sentry/tracing';\nimport store from './store';\nimport history from './shared/history';\nimport Root from './root';\nimport './assets/css/design-system.scss';\nimport './i18n';\nimport ErrorBoundaryWrapper from './shared/components/error-boundary-wrapper';\n\ndeclare global {\n interface Window {\n analytics: any;\n smartlook: any;\n fwcrm: any;\n Froged: any;\n Beacon: any;\n Headway: any;\n churnkey: any;\n Rewardful: any;\n rewardful: any;\n intercomSettings: any;\n Intercom: any;\n cello: any;\n Cello: any;\n appVersion: string;\n CelloAttribution: any;\n $crisp: any;\n CRISP_WEBSITE_ID: any;\n }\n}\n\n// Enable sentry reporting for webui\nif (process.env.REACT_APP_ENABLE_SENTRY) {\n Sentry.init({\n dsn:\n 'https://8d9f2db8169745bcb9448e2c213893f2@o557841.ingest.sentry.io/5693949',\n integrations: [new BrowserTracing(), new Sentry.Replay()],\n environment: process.env.REACT_APP_ENV,\n // Set tracesSampleRate to 1.0 to capture 100%\n // of transactions for performance monitoring.\n // We recommend adjusting this value in production\n tracesSampleRate: Number(process.env.REACT_APP_SENTRY_TRACE_RATE),\n // This sets the sample rate to be 10%. You may want this to be 100% while\n // in development and sample at a lower rate in production\n replaysSessionSampleRate: Number(\n process.env.REACT_APP_SENTRY_REPLAY_SESSION_RATE,\n ),\n // If the entire session is not sampled, use the below sample rate to sample\n // sessions when an error occurs.\n replaysOnErrorSampleRate: 1.0,\n });\n}\n\nReactDOM.render(\n \n \n ,\n document.getElementById('root'),\n);\n"],"sourceRoot":""}