{"version":3,"sources":["components/onboarding/onboarding-ui-components/input/input.component.jsx","components/onboarding/onboarding-ui-components/input/input.container.js","components/onboarding/onboarding-ui-components/next-btn/next-btn.component.jsx","components/onboarding/onboarding-ui-components/next-btn/next-btn.container.js","components/onboarding/onboarding-ui-components/onboarding-title/onboarding-title.component.jsx","components/onboarding/onboarding-ui-components/onboarding-title/onboarding-title.container.js","components/onboarding/onboarding-ui-components/onboarding-forms-container/onboarding-forms-container.component.jsx","components/onboarding/onboarding-ui-components/onboarding-forms-container/onboarding-forms-container.container.js","components/onboarding/onboarding-ui-components/form-item/form-item.component.jsx","components/onboarding/onboarding-ui-components/form-item/form-item.container.js","components/onboarding/onboarding-ui-components/date-picker-input/date-picker-input.container.js","components/onboarding/onboarding-ui-components/dropdown/dropdown.component.jsx","components/onboarding/onboarding-ui-components/dropdown/dropdown.container.js","components/onboarding/onboarding-ui-components/multi-picker-input/multi-picker-input.component.jsx","components/onboarding/onboarding-ui-components/multi-picker-input/multi-picker-input.container.js","components/onboarding/onboarding-ui-components/card-multi-select/card-multi-select.component.jsx","components/onboarding/onboarding-ui-components/card-multi-select/card-multi-select.container.js","components/onboarding/onboarding-ui-components/card-multi-select-datman/card-multi-select-datman.component.jsx","components/onboarding/onboarding-ui-components/card-multi-select-datman/card-multi-select-datman.container.js","components/onboarding/onboarding-ui-components/post-code-selector/post-code-selector.component.jsx","utils/postcodeValidator.js","components/onboarding/onboarding-ui-components/post-code-selector/post-code-selector.container.js","components/onboarding/onboarding-ui-components/companies-house-lookup/companies-house-lookup.container.js","components/onboarding/onboarding-ui-components/upload-documents/upload-documents.component.jsx","components/onboarding/onboarding-ui-components/upload-documents/upload-documents.container.js","services/amplify-storage.service.js","contexts/auth-context/auth-context.js","contexts/admin-functions-context/admin-functions.context.js","contexts/chatbot-context/chatbot-context.js","utils/chatbot-script.js","contexts/merchant-creation-context/merchantCreation.context.js","services/auth.service.js","services/business.service.js","services/user.service.js","services/enities.service.js","services/client.service.js","services/merchant.service.js","services/role.service.js","services/relationship.service.js","services/init-sale.service.js","services/documents.service.js","services/team.service.js","services/post-code.service.js","services/companies-house.service.js","services/merchant-charges.service.js","services/internal-transfers.service.js","services/chargebacks.service.js","services/bank.service.js","services/withdrawal.service.js","services/business-details.service.js","services/balance.service.js","services/transaction-refund.service.js","services/pdq-transactions.service.js","services/urgent-messages.service.js","services/taxonomy.service.js","services/client-register.service.js","services/virtual-terminal.service.js","services/canoincal-merchant.service.js","services/terms-and-condition.service.js","services/canonical-reseller.service.js","services/dna.service.js","utils/enums/MerchantCountries.js","models/response.model.js","models/validation.model.js","models/product-requirments.js","utils/helper.js","utils/constants.js","components/password-input/password-input.component.jsx","components/password-input/password-input.container.js","components/login-form/login-form.component.jsx","utils/internalStatusCode.js","components/login-form/login-form.container.js","utils/enums/EntityType.js","utils/enums/Permissions.js","utils/roles-and-permissions.js","components/home-item-details/home-item-details.component.jsx","components/home-work-items/home-work-items.container.js","components/signup-form/signup-form.component.jsx","utils/authHelper.js","components/signup-form/signup-form.container.js","components/modal-user-icon/modal-user-icon.container.js","components/modal-user-management/modal-user-management.component.jsx","components/modal-user-management/modal-user-management.container.js","components/table-project/table-project.component.jsx","components/table-project/table-project.container.js","components/search-user-form/search-user-form.component.jsx","components/search-user-form/search-user-form.container.js","components/create-user-form/create-user-form.component.jsx","components/create-user-form/create-user-form.container.js","components/modal-confirmation/modal-confirmation.component.jsx","components/modal-confirmation/modal-confirmation.container.js","components/modal-business-creation/modal-business-creation.component.jsx","components/modal-business-creation/modal-business-creation.container.js","components/modal-client-creation/modal-client-creation.component.jsx","components/modal-client-creation/modal-client-creation.container.js","components/modal-merchant-creation/modal-merchant-creation.component.jsx","components/modal-merchant-creation/modal-merchant-creation.container.js","components/auth-with-social-media/auth-with-social-media.container.js","components/modal-create-merchant-account/modal-create-merchant-account.component.jsx","components/modal-create-merchant-account/modal-create-merchant-account.container.js","components/merchant-list-container/merchant-list-container.component.jsx","components/merchant-list-container/merchant-list-container.container.js","components/merchant-dashboard-menu/merchant-dashboard-menu.component.jsx","components/merchant-dashboard-menu/merchant-dashboard-menu.container.js","components/ant-switch/ant-switch.component.jsx","components/ant-switch/ant-switch.container.js","components/merchant-dashboard-navigation-header/merchant-dashboard-navigation-header.container.js","components/merchant-dashboard-options/merchant-dashboard-options.component.jsx","components/merchant-dashboard-options/merchant-dashboard-options.container.js","components/merchant-dashboard-preview/merchant-dashboard-preview.component.jsx","components/merchant-dashboard-preview/merchant-dashboard-preview.container.js","utils/onboarding-helper.js","components/onboarding/onboarding-steps/onboarding-steps.component.jsx","components/onboarding/onboarding-steps/onboarding-steps.container.js","components/onboarding/onboarding-name-adress/onboarding-name-adress.component.jsx","utils/enums/OwnerTitle.js","components/onboarding/onboarding-name-adress/onboarding-name-adress.container.js","components/onboarding/owner-details/onboarding-owner-details.component.jsx","components/onboarding/owner-details/onboarding-owner-details.container.js","components/onboarding/t2s-owner-details/t2s-onboarding-owner-details.component.jsx","utils/enums/CountryCodeToName.js","components/onboarding/t2s-owner-details/t2s-onboarding-owner-details.container.js","components/onboarding/owner-primary-address/onboarding-owner-primary-address.component.jsx","components/onboarding/owner-primary-address/onboarding-owner-primary-address.container.js","components/onboarding/onboarding-address/onboarding-address.component.jsx","utils/enums/BankAccountStatus.js","components/onboarding/onboarding-address/onboarding-address.container.js","components/onboarding/t2s-onboarding-address /t2s-onboarding-address.component.jsx","components/onboarding/t2s-onboarding-address /t2s-onboarding-address.container.js","components/onboarding/t2s-onboarding-name-address/t2s-onboarding-name-address.component.jsx","components/onboarding/t2s-onboarding-name-address/t2s-onboarding-name-address.container.js","components/onboarding/business-details/onboarding-busines-details.component.jsx","components/onboarding/business-details/onboarding-business-details.container.js","components/new-zealand-account-number/new-zealand-account-number.component.jsx","components/new-zealand-account-number/new-zealand-account-number.container.js","components/onboarding/t2s-bank-details/t2s-onboarding-bank-details.component.jsx","components/onboarding/t2s-bank-details/t2s-onboarding-bank-details.container.js","components/onboarding/business-profile/onboarding-business-profile.component.jsx","components/onboarding/business-profile/onboarding-business-profile.container.js","components/loader/loader.component.jsx","components/loader/loader.container.js","components/payments/payments-list/payments-list.component.jsx","utils/calender-helpers.js","components/payments/payments-list/payments-list.container.js","components/gfo-payments/gfo-payments-list.component.jsx","components/gfo-payments/gfo-payments-list.container.js","components/payments/chargebacks-list/chargebacks-list.component.jsx","components/payments/chargebacks-list/chargebacks-list.container.js","utils/enums/Action.js","components/modal-chargeback-list-action/modal-chargeback-list-action.component.jsx","components/modal-chargeback-list-action/modal-chargeback-list-action.container.js","components/listchargebacks/listchargeback-component.jsx","components/listchargebacks/listchargeback.container.js","components/payments/merchant-charges-list/merchant-charges-list.component.jsx","components/payments/merchant-charges-list/merchant-charges-list.container.js","components/payments/payouts-list/payouts-list.component.jsx","components/payments/payouts-list/payouts-list.container.js","components/payments/transaction-tables/internal-transfers-list-table/internal-transfers-list-table.component.jsx","components/payments/transaction-tables/internal-transfers-list-table/internal-transfers-list-table.container.js","components/payments/internal-transfers-list/internal-transfers-list.component.jsx","components/payments/internal-transfers-list/internal-transfers-list.container.js","components/pay-by-link/modal-email-form/modal-email-form.component.jsx","components/pay-by-link/modal-email-form/modal-email-form.container.js","components/pay-by-link/modal-invoice-form/modal-invoice-form.component.jsx","components/pay-by-link/modal-invoice-form/modal-invoice-form.container.js","utils/enums/PaymentMode.js","components/virtual-terminal/virtual-terminal.component.jsx","components/virtual-terminal/virtual-terminal.container.js","components/card-details-form/card-details-form.component.jsx","components/card-details-form/card-details-form.container.js","utils/validator.js","components/card-image/card-image.component.jsx","components/card-image/card-image.container.js","components/modal-take-payment/3ds.js","components/modal-take-payment/modal-take-payment.component.jsx","components/modal-take-payment/modal-take-payment.container.js","components/card-details/card-details.component.jsx","components/card-details/reducer.js","components/card-details/card-details.container.js","components/team-members/team-members.component.jsx","utils/enums/signupStatus.js","components/team-members/team-members.container.js","components/modal-invite-users/modal-invite-user.component.jsx","components/modal-invite-users/modal-invite-user.container.js","components/modal-update-bank-completion/modal-update-bank-completion.component.jsx","components/modal-update-bank-completion/modal-update-bank-completion.container.js","components/modal-update-bank-account-verify/modal-update-bank-account-verify.component.jsx","components/modal-update-bank-account-verify/modal-update-bank-account-verify.container.js","components/onboarding/products-required/products-required.component.jsx","components/onboarding/products-required/products-required.container.js","components/onboarding/onboarding-transaction-profile/onboarding-transaction-profile-step-one/onboarding-transaction-profile-step-one.component.jsx","components/onboarding/onboarding-transaction-profile/onboarding-transaction-profile-step-one/onboarding-transaction-profile-step-one.container.js","components/onboarding/onboarding-transaction-profile/onboarding-transaction-profile-step-two/onboarding-transaction-profile-step-two.component.jsx","components/onboarding/onboarding-transaction-profile/onboarding-transaction-profile-step-two/onboarding-transaction-profile-step-two.container.js","components/onboarding/onboarding-transaction-profile/onboarding-transaction-profile-step-three/onboarding-transaction-profile-step-three.component.jsx","components/onboarding/onboarding-transaction-profile/onboarding-transaction-profile-step-three/onboarding-transaction-profile-step-three.container.js","components/onboarding/onboarding-transaction-profile/onboarding-transaction-profile-steps-container.component.jsx","components/onboarding/onboarding-transaction-profile/onboarding-transaction-profile-steps-container.container.js","components/merchant-settings/merchant-settings.component.jsx","components/merchant-settings/merchant-settings.container.js","components/onboarding/onboarding-summary/onboarding-summary.component.jsx","utils/enums/OnboardingFormStatus.js","components/onboarding/onboarding-summary/onboarding-summary.container.js","components/onboarding/documents/onboarding-documents.component.jsx","components/onboarding/documents/onboarding-documents.container.js","components/modal-payouts-mark-not-received/modal-payouts-mark-not-received.component.jsx","components/modal-payouts-mark-not-received/modal-payouts-mark-not-received.container.js","components/modal-remove-member/modal-remove-member.component.jsx","components/modal-remove-member/modal-remove-member.container.js","components/update-bank-info/update-bank-info.component.jsx","components/update-bank-info/update-bank-info.container.js","components/update-account/update-account.component.jsx","components/update-account/update-account.container.js","components/update-account-mypay/update-account-mypay.component.jsx","components/update-account-mypay/update-account-mypay.container.js","components/update-account-reseller-merchant/update-account-reseller-merchant.component.jsx","components/update-account-reseller-merchant/update-account-reseller-merchant.container.js","components/payment-action/payment-action.component.jsx","components/payment-action/payment-action.container.js","components/modal-acquirer-filter/modal-acquirer-filter.component.jsx","components/modal-acquirer-filter/modal-acquirer-filter.container.js","components/payments-filter/payments-filter.component.jsx","components/payments-filter/payments-filter.container.js","utils/enums/Days.js","components/modal-export-report-schedule/modal-export-report-schedule.component.jsx","components/modal-export-report-schedule/modal-export-report-schedule.container.js","components/modal-send-report/modal-send-report.component.jsx","components/modal-send-report/modal-send-report.container.js","components/page-header/page-header.component.jsx","components/page-header/page-header.container.js","components/page-footer/page-footer.component.jsx","components/calender-shuffle/calender-shuffle.component.jsx","components/calender-shuffle/calender-shuffle.container.js","components/withdrawal/withdrawal-submission/withdrawal-submission.component.jsx","components/withdrawal/withdrawal-submission/withdrawal-submission.container.js","components/update-password/update-password.component.jsx","components/update-password/update-password.container.js","components/forgot-password/forgot-password.component.jsx","components/forgot-password/forgot-password.container.js","components/help-contacts/help-contacts.component.jsx","components/help-contacts/help-contacts.container.js","components/finish-upload-button/finish-upload-button.component.jsx","components/finish-upload-button/finish-upload-button.container.js","components/client-registration/product-multi-select-ui/product-multi-select.component.jsx","components/client-registration/product-multi-select-ui/product-multi-select.container.js","components/client-registration/client-registration.component.jsx","components/client-registration/client-registration.container.js","components/request-support-form/request-support-form.component.jsx","components/request-support-form/request-support-form.container.js","components/custom-loading-screen/custom-loading-screen.component.jsx","components/custom-loading-screen/custom-loading-screen.container.js","components/internal-transfer-submission/internal-transfer-submission.component.jsx","components/internal-transfer-submission/internal-transfer-submission.container.js","components/gross-volume-graph/gross-volume-graph.container.js","components/balance-card/balance-card.component.jsx","components/balance-card/balance-card.container.js","components/payout-card/payout-card.component.jsx","components/payout-card/payout-card.container.js","components/net-volume-card/net-volume-card.container.js","components/payments/payment-details/payment-details.component.jsx","components/payments/payment-details/payment-details.container.js","components/payments/payout-details/payout-details.component.jsx","components/payments/payout-details/payout-details.container.js","components/payments/stripe-payout-details/stripe-payouts-summary-and-transactions/stripe-payouts-summary-and-transactions.component.jsx","utils/enums/PayoutsSummaryTypes.js","components/payments/stripe-payout-details/stripe-payouts-summary-and-transactions/stripe-payouts-summary-and-transactions.container.js","components/payments/stripe-payout-details/stripe-payout-details.component.jsx","components/payments/stripe-payout-details/stripe-payout-details.container.js","components/contract-rent/contract-rent.component.jsx","components/contract-rent/contract-rent.container.js","components/admin/pending-customers/pending-customer-info.component.jsx","components/admin/pending-customers/pending-customer-info.container.js","components/admin/admin-functions/modal-confirm-reverse-withdrawal/modal-confirm-reverse-withdrawal.component.jsx","components/admin/admin-functions/modal-confirm-reverse-withdrawal/modal-confirm-reverse-withdrawal.container.js","components/admin/admin-functions/account-status/account-status.component.jsx","components/admin/admin-functions/account-status/account-status.container.js","utils/enums/pdqOrderStatus.js","components/modal-pdq-confirmation/modal-pdq-confirmation.component.jsx","components/modal-pdq-confirmation/modal-pdq-confirmation.container.js","utils/enums/AdyenVariables.js","components/admin/admin-functions/manage-partners/manage-partners.component.jsx","components/admin/admin-functions/manage-partners/manage-partners.container.js","components/admin/admin-functions/bank-verification/bank-verification.component.jsx","components/admin/admin-functions/bank-verification/bank-verification.container.js","components/admin/admin-functions/payment-configuration-mode/payment-configuration-mode-dialog/payment-configuration-modes-dialog.component.jsx","components/admin/admin-functions/payment-configuration-mode/payment-configuration-mode-dialog/payment-configuration-modes-dialog.container.js","components/admin/admin-functions/payment-configuration-mode/payment-configuration-modes.component.jsx","components/admin/admin-functions/payment-configuration-mode/payment-configuration-modes.container.js","components/admin/admin-functions/fee-tier/fee-tier.component.jsx","components/admin/admin-functions/fee-tier/fee-tier.container.js","components/admin/admin-functions/account-verification/account-verification.component.jsx","components/admin/admin-functions/account-verification/account-verification.container.js","components/admin/admin-functions/allow-withdrawals/allow-withdrawals.component.jsx","components/admin/admin-functions/allow-withdrawals/allow-withdrawals.container.js","components/admin/admin-functions/add-merchant-id/add-merchant-id.component.jsx","components/admin/admin-functions/add-merchant-id/add-merchant-id.container.js","components/admin/admin-functions/third-party-merchant-id-and-store-id/third-party-merchant-id-and-store-id.component.jsx","components/admin/admin-functions/third-party-merchant-id-and-store-id/third-party-merchant-id-and-store-id.container.js","components/admin/admin-functions/merchant-store-id/merchant-store-id.component.jsx","components/admin/admin-functions/merchant-store-id/merchnat-store-id.container.js","utils/enums/pdqTransactionStatus.js","components/payments/transaction-tables/pdq-list-table/pdq-list-table.component.jsx","components/payments/transaction-tables/pdq-list-table/pdq-list-table.container.js","components/payments/pdq-transactions-list/pdq-transactions-list.component.jsx","components/payments/pdq-transactions-list/pdq-transactions-list.container.js","components/payments/transaction-tables/stripe-payouts-list-table/stripe-payouts-list-table.component.jsx","components/csv-export/csv-export.js","components/modal-export-report/modal-export-report.component.jsx","components/modal-export-report/modal-export-report.container.js","components/modal-delete-merchant-account/modal-delete-merchant-account.component.jsx","components/modal-delete-merchant-account/modal-delete-merchant-account.container.js","components/modal-close-merchant-account/modal-close-merchant-account.component.jsx","components/modal-close-merchant-account/modal-close-merchant-account.container.js","components/password-validation/password-validation.component.jsx","components/password-validation/password-validation.container.js","components/reset-password-form/reset-password-form.component.jsx","components/reset-password-form/reset-password-form.container.js","components/modal-cancel-internal-transfer/modal-cancel-internal-transfer.component.jsx","components/modal-cancel-internal-transfer/modal-cancel-internal-transfer.container.js","components/modal-refund-internal-transfer/modal-refund-internal-transfer.component.jsx","components/modal-refund-internal-transfer/modal-refund-internal-transfer.container.js","components/snackbar-and-alert/snackbar-and-alert.component.jsx","components/snackbar-and-alert/snackbar-and-alert.container.js","components/admin/urgent-message/url-input-field/ur-input-field.component.jsx","components/admin/urgent-message/url-input-field/url-input-field.container.js","components/admin/urgent-message/create-urgent-message/create-urgent-message.component.jsx","components/admin/urgent-message/create-urgent-message/create-urgent-message.container.js","components/admin/urgent-message/urgent-message.component.jsx","components/admin/urgent-message/urgent-message.container.js","components/dot-flashing-loading/dot-flashing.component.jsx","components/pending-docs-list/pending-docs-list.component.jsx","components/pending-docs-list/pending-docs-list.container.js","components/bank-sort-code-details/bank-sort-code-details.component.jsx","components/bank-sort-code-details/bank-sort-code-details.container.js","components/bank-sort-code-number/bank-sort-code-number.component.jsx","components/bank-sort-code-number/bank-sort-code-number.container.js","components/merchant-reseller-list/merchant-reseller-list.component.jsx","components/merchant-reseller-list/merchant-reseller-list.container.js","components/merchant-pdq-list/merchant-pdq-list.component.jsx","components/merchant-pdq-list/merchant-pdq-list.container.js","components/settings-terms-and-conditions/settings-terms-and-conditions.component.jsx","components/settings-terms-and-conditions/settings-terms-and-conditions.container.js","components/modal-merchant-terms-and-conditions/modal-merchant-terms-and-conditions.component.jsx","components/modal-merchant-terms-and-conditions/modal-merchant-terms-and-conditions.container.js","utils/enums/dnaOnboardStatus.js","components/modal-search-pdq-merchants/modal-pdq-merchants.component.jsx","components/modal-search-pdq-merchants/modal-pdq-merchants.container.js","components/county-input/county-input.component.jsx","utils/enums/countyNames.js","components/county-input/county-input.container.js","components/modal-form-confirmation/modal-form-confirmation.component.jsx","components/modal-form-confirmation/modal-form-confirmation.container.js","components/modal-create-fee-tier/modal-create-fee-tier.component.jsx","components/modal-create-fee-tier/modal-create-fee-tier.container.js","utils/enums/QrCode.js","components/modal-create-qr-code/modal-create-qr-code.component.jsx","components/modal-create-qr-code/modal-create-qr-code.container.js","components/generic-qr-code-info/generic-qr-code-info.component.jsx","components/generic-qr-code-info/generic-qr-code-info.container.js","components/payment-qr-code-info/payment-qr-code-info.component.jsx","components/payment-qr-code-info/payment-qr-code-info.container.js","components/qr-detailed-view/qr-detailed-view-component.jsx","components/qr-detailed-view/qr-detailed-view-container.js","components/modal-preview-qr-code/modal-preview-qr-code.component.jsx","components/modal-preview-qr-code/modal-preview-qr-code.container.js","components/modal-reason-to-close/modal-reason-to-close.component.jsx","components/modal-reason-to-close/modal-reason-to-close.container.js","components/merchant-charges-export/merchant-charge-pdf-export.js","components/modal-filter-pdq-merchants/modal-filter-pdq-merchants.component.jsx","components/modal-filter-pdq-merchants/modal-filter-pdq-merchants.container.js","utils/enums/PDQTableEnum.js","components/dna-form-modal/dna-form-modal.component.jsx","components/dna-form-modal/dna-form-modal.container.js","components/admin/dashboard/menu/admin-dashboard-menu.component.jsx","components/admin/dashboard/menu/admin-dashboard-menu.container.js","components/admin/dashboard/home/admin-dashboard-home.component.jsx","components/admin/dashboard/home/admin-dashboard-home.container.js","components/admin/dashboard/navigation-header/admin-dashboard-navigation-header.component.jsx","components/admin/dashboard/navigation-header/admin-dashboard-navigation-header.container.js","components/admin/dashboard/info/admin-dashboard-info.component.jsx","components/admin/dashboard/info/admin-dashboard-info.container.js","components/admin/dashboard/topbar-menu/admin-dashboard-topbar.component.jsx","components/admin/dashboard/topbar-menu/admin-dashboard-topbar.container.js","components/admin/admin-functions/trigger-reset-password/trigger-reset-password.component.jsx","components/admin/admin-functions/trigger-reset-password/trigger-reset-password.container.js","components/admin/admin-functions/merchant-stripe-id/merchant-stripe-id.component.jsx","components/admin/admin-functions/merchant-stripe-id/merchant-stripe-id.container.js","components/admin/document-management/merchant-account-details/merchant-account-details.component.jsx","components/admin/document-management/merchant-account-details/merchant-account-details.container.js","utils/enums/DocumentReviewReasons.js","utils/enums/DocumentStatusColors.js","utils/enums/CountryBankAccountNumberLength.js","utils/enums/RejectReasons.js","components/admin/admin-functions/rejected-reason/rejected-reason.component.jsx","components/admin/admin-functions/rejected-reason/rejected-reason.container.js","components/admin/admin-functions/view-documents/dialog-view-documents/dialog-view-documents.component.jsx","components/admin/admin-functions/view-documents/dialog-view-documents/dialog-view-documents.container.js","components/admin/admin-functions/view-documents/merchant-verification-checklist/merchant-verification-checklist.component.jsx","components/admin/admin-functions/view-documents/merchant-verification-checklist/merchant-verification-checklist.container.js","components/admin/document-management/document-review/document-review.component.jsx","components/admin/document-management/document-review/document-review.container.js","utils/enums/RefundStatus.js","components/list-refund/list-refund.component.jsx","components/list-refund/list-refund.container.js","components/admin/admin-functions/auto-withdrawal-status/auto-withdrawal-status.component.jsx","components/admin/admin-functions/auto-withdrawal-status/auto-withdrawal-status.container.js","components/admin/missing-merchant/missing-merchant.component.jsx","components/admin/missing-merchant/missing-merchant.container.js","utils/enums/Nationality.js","components/admin/missing-merchant-document/missing-merchant-document.component.jsx","components/admin/missing-merchant-document/missing-merchant-document.container.js","components/link-qr/link-qr.component.jsx","components/link-qr/link-qr.container.js","utils/enums/auditEnum.js","components/admin/audit-data/audit-data.component.jsx","components/admin/audit-data/audit-data.container.js","components/special-rent-table/special-rent-table.component.jsx","components/special-rent-table/special-rent-table.container.js","components/modal-add-special-rent/modal-add-special-rent.component.jsx","components/modal-add-special-rent/modal-add-special-rent.container.js","components/contract-details/contract-details.component.jsx","components/contract-details/contract-details.container.js","components/modal-merchant-charges/modal-merchant-charges.component.jsx","components/modal-merchant-charges/modal-merchant-charges.container.js","components/admin/admin-functions/modal-otp-verification/modal-otp-verification.component.jsx","components/admin/admin-functions/modal-otp-verification/modal-otp-verification.container.js","components/admin/adyen-merchant-list/adyen-merchant-list.component.jsx","components/admin/adyen-merchant-list/adyen-merchant-list.container.js","components/support-utilities/change-user-attributes/change-user-attributes.component.jsx","components/support-utilities/change-user-attributes/change-user-attributes.container.js","utils/enums/TermsAndConditionStatus.js","utils/enums/TermsAndConditions.js","components/support-utilities/upload-terms-and-conditions/upload-terms-and-conditions.component.jsx","components/support-utilities/upload-terms-and-conditions/upload-terms-and-conditions.container.js","components/canonical-reseller-settings/canonical-reseller-settings.component.jsx","components/canonical-reseller-settings/canonical-reseller-settings.container.js","components/canonical-reseller-onboarding/canonical-reseller-onboarding.component.jsx","components/canonical-reseller-onboarding/canonical-reseller-onboarding.container.js","components/canonical-reseller-new-merchant/canonical-reseller-new-merchant.component.jsx","utils/enums/AcquirerName.js","utils/enums/MidType.js","components/canonical-reseller-new-merchant/canonical-reseller-new-merchant.container.js","components/canonical-reseller-update-account/canonical-reseller-update-account.component.jsx","components/canonical-reseller-update-account/canonical-reseller-update-account.container.js","components/valid-url-input/valid-url-input.component.jsx","components/valid-url-input/valid-url-input.container.js","components/valid-url-input/valid-domain-input.component.jsx","components/valid-url-input/valid-domain-input.container.js","components/valid-email-input/valid-email-input.component.jsx","components/valid-email-input/valid-email-input.container.js","components/canonical-reseller-merchant-management/canonical-reseller-merchant-management.component.jsx","components/canonical-reseller-merchant-management/canonical-reseller-merchant-management.container.js","utils/enums/PdqPortalTab.js","components/pdq-order-status/pdq-order-status.component.jsx","components/pdq-order-status/pdq-order-status.container.js","components/payments/datman-reseller-payments-list/datman-reseller-payments-list.component.jsx","components/payments/datman-reseller-payments-list/datman-reseller-payments-list.container.js","components/payments/datman-reseller-payment-details/datman-reseller-payment-details.component.jsx","components/payments/datman-reseller-payment-details/datman-reseller-payment-details.container.js","components/admin/admin-functions/invoice-toggle/invoice-toggle-mode-dialog/invoice-toggle-modes-dialog.component.jsx","components/admin/admin-functions/invoice-toggle/invoice-toggle-mode-dialog/invoice-toggle-modes-dialog.container.js","components/admin/admin-functions/invoice-toggle/invoice-toggle-modes.component.jsx","components/admin/admin-functions/invoice-toggle/invoice-toggle-modes.container.js","components/pdf-export/pdf-export.js","components/admin/print-agreement/print-agreement.component.jsx","components/admin/print-agreement/print-agreement.container.js","components/admin/admin-functions/modal-move-transaction/modal-move-transaction.compnent.jsx","components/admin/admin-functions/modal-move-transaction/modal-move-transaction.container.js","components/admin/admin-functions/update-txn-limit/update-txn-limit.component.jsx","components/admin/admin-functions/update-txn-limit/update-txn-limit.container.js","components/admin/admin-functions/pending-verification-list/pending-verification-list.component.jsx","components/admin/admin-functions/pending-verification-list/pending-verification-list.container.js","components/Banner/banner.component.jsx","components/Banner/banner.container.js","components/date-picker/date-picker.component.jsx","components/date-picker/date-picker.container.js","components/index.js","services/interceptor.service.js","validators/onboarding/onboarding-check-value.validator.js","utils/enums/UserType.js","components/onboarding/onboarding-ui-components/check-merchant-countries/check-merchant-countries.js","utils/enums/MerchantStatus.js","assets/images/country-image.js","utils/getCurrencyByCountry.js","components/update-bank-info/update-bank-info.module.scss","utils/enums/ResellerType.js","validators/business-crud/create-business.validators.js","validators/client-crud/create-client.validators.js","validators/merchant-crud/create-merchant.validators.js","validators/onboarding/onboarding-date-of-birth.validator.js","validators/transaction-refund/transaction-refund.validator.js","validators/payment/payment.validator.js","validators/onboarding/onboarding-registered-number.validator.js","validators/onboarding/onboarding-bank-account-fields.validator.js","validators/onboarding/onboarding-vat-number.validator.js","validators/onboarding/onboarding-social-security.validator.js","validators/withdraw/withdraw.validator.js","validators/input-validators/input-validators.js","utils/languageTranslater.js","utils/enums/Roles.js","utils/enums/DocumentReviewStatus.js","utils/enums/BusinessType.js","utils/enums/ProductsRequired.js","components/payments/transaction-tables/table-header/table-header.component.jsx","components/payments/transaction-tables/table-header/table-header.container.js","components/admin/admin-functions/view-documents/dialog-view-documents/dialog-view-documents.module.scss","pages/dashboard/dashboard.module.scss","components/canonical-reseller-onboarding/canonical-reseller-onboarding.module.scss","utils/enums/MerchantAccountStatus.js","utils/enums/FormTypes.js","utils/enums/Acquirers.js","components/modal-invite-users/modal-invite-user.module.scss","utils/enums/StatusColors.js","components/payments/transaction-tables/transaction-status-label/transaction-status-label.component.jsx","utils/enums/PdqStatusColors.js","components/payments/transaction-tables/transaction-status-label/transaction-status-label.container.js","utils/enums/DocumentType.js","components/pdq-order-status/pdq-order-status.module.scss","components/merchant-dashboard-menu/merchant-dashboard-menu.module.scss","components/onboarding/t2s-owner-details/t2s-onboarding-owner-details.module.scss","components/onboarding/t2s-bank-details/t2s-onboarding-bank-details.module.scss","components/merchant-reseller-list/merchant-reseller-list.module.scss","components/onboarding/onboarding-summary/onboarding-summary.module.scss","components/merchant-dashboard-options/merchant-dashboard-options.module.scss","components/payments/payment-details/payment-details.module.scss","components/loading-screen/loading-screen.component.jsx","components/loading-screen/loading-screen.container.js","utils/enums/OnboardingStepsMapping.js","components/onboarding/t2s-onboarding-name-address/t2s-onboarding-name-address.module.scss","pages/admin/admin-functions/admin-functions.module.scss","utils/enums/ErrorCode.js","components/payments/datman-reseller-payment-details/datman-reseller-payment-details.module.scss","components/request-support-form/request-support-form.module.scss","components/modal-create-qr-code/modal-create-qr-code.module.scss","components/qr-detailed-view/qr-detailed-view.module.scss","utils/enums/DocumentFlag.js","components/payment-action/payment-action.module.scss","components/admin/dashboard/menu/admin-dashboard-menu.module.scss","components/merchant-pdq-list/merchant-pdq-list.module.scss","components/admin/dashboard/topbar-menu/admin-dashboard-topbar.module.scss","utils/enums/Status.js","components/dna-form-modal/dna-form-modal.module.scss","utils/enums/DocumentStatus.js","components/listchargebacks/listchargeback.module.scss","components/onboarding/onboarding-transaction-profile/onboarding-transaction-profile-step-one/onboarding-transaction-profile-step-one.module.scss","components/admin/document-management/document-review/document-review.module.scss","components/list-refund/list-refund.module.scss","components/external-signup/signup-form.module.scss","components/password-validation/password-validation.module.scss","components/generic-qr-code-info/generic-qr-code-info.module.scss","components/login-form/login-form.module.scss","components/merchant-settings/merchant-settings.module.scss","components/page-header/page-header.module.scss","components/client-registration/client-registration.module.scss","components/modal-merchant-charges/modal-merchant-charges.module.scss","browserHistory/index.js","components/onboarding/owner-details/onboarding-owner-details.module.scss","components/payments/transaction-tables/payments-list-table/payments-list-table.module.scss","components/modal-export-report-schedule/modal-export-report-schedule.module.scss","components/contract-rent/contract-rent.module.scss","components/admin/missing-merchant-document/missing-merchant-document.module.scss","components/admin/adyen-merchant-list/adyen-merchant-list.module.scss","components/payments/stripe-payout-details/stripe-payouts-summary-and-transactions/stripe-payouts-summary-and-transactions.module.scss","pages/admin/admin-pending-merchants/admin-pending-merchants.module.scss","components/modal-chargeback-list-action/modal-chargeback-list-action.module.scss","components/admin/urgent-message/urgent-message.module.scss","components/canonical-reseller-new-merchant/canonical-reseller-new-merchant.module.scss","components/onboarding/onboarding-address/onboarding-address.module.scss","components/admin/dashboard/home/admin-dashboard-home.module.scss","components/canonical-reseller-merchant-management/canonical-reseller-merchant-management.module.scss","components/payments/stripe-payout-details/stripe-payout-details.module.scss","components/modal-search-pdq-merchants/modal-pdq-merchants.module.scss","components/admin/admin-functions/pending-verification-list/pending-verification-list.module.scss","components/payments/transaction-tables/table-footer/table-footer.component.jsx","components/payments/transaction-tables/datman-reseller-payments-list-table/datman-reseller-payments-list-table.module.scss","components/payments/payout-details/payout-details.module.scss","components/admin/pending-customers/pending-customer-info.module.scss","components/admin/document-management/merchant-account-details/merchant-account-details.module.scss","utils/enums/MerchantStatusNames.js","utils/enums/PdqFilterTabs.js","components/onboarding/business-profile/onboarding-business-profile.module.scss","components/transaction/transaction-refund/transaction-refund.module.scss","components/onboarding/onboarding-transaction-profile/onboarding-transaction-profile-step-three/onboarding-transaction-profile-step-three.module.scss","components/internal-transfer-submission/internal-transfer-submission.module.scss","components/admin/missing-merchant/missing-merchant.module.scss","components/onboarding/onboarding-name-adress/onboarding-name-adress.module.scss","components/new-zealand-account-number/new-zealand-account-number.module.scss","components/modal-update-bank-account-verify/modal-update-bank-account-verify.module.scss","components/admin/urgent-message/create-urgent-message/create-urgent-message.module.scss","components/bank-sort-code-number/bank-sort-code-number.module.scss","components/admin/dashboard/info/admin-dashboard-info.module.scss","components/modal-add-special-rent/modal-add-special-rent.module.scss","components/admin/admin-functions/modal-otp-verification/modal-otp-verification.module.scss","components/admin/admin-functions/modal-move-transaction/modal-move-transaction.module.scss","services/admin.service.js","utils/enums/BankAccountLength.js","components/search-user-form/search-user-form.module.scss","components/payments/transaction-tables/gfo-payment-list-table/gfo-payment-list-table.module.scss","components/bank-sort-code-details/bank-sort-code-details.module.scss","components/modal-create-fee-tier/modal-create-fee-tier.module.scss","components/payment-qr-code-info/payment-qr-code-info.module.scss","components/admin/qr-code-info/qr-code-info.module.scss","components/admin/audit-data/audit-data.module.scss","components/contract-details/contract-details.module.scss","components/Add-credit/add-credit.module.scss","pages/admin/admin-wallet-history/wallet-history.module.scss","components/admin/merchant-capabilities/merchant-capabilities.module.scss","utils/enums/EmailValidationPattern.js","components/payments/transaction-tables/payouts-list-table/payouts-list-table.module.scss","components/home-item-details/home-item-details.module.scss","components/merchant-list-container/merchant-list-container.module.scss","components/onboarding/onboarding-ui-components/next-btn/next-btn.module.scss","components/virtual-terminal/virtual-terminal.module.scss","components/team-members/team-members.module.scss","components/onboarding/onboarding-transaction-profile/onboarding-transaction-profile-step-two/onboarding-transaction-profile-step-two.module.scss","components/calender-shuffle/calender-shuffle.module.scss","components/forgot-password/forgot-password.module.scss","components/support-utilities/change-user-attributes/change-user-attributes.module.scss","components/support-utilities/upload-terms-and-conditions/upload-terms-and-conditions.module.scss","components/canonical-reseller-update-account/canonical-reseller-update-account.module.scss","pages/user-management/user-management.module.scss","pages/payout-not-recieved/payout-not-received.module.scss","utils/enums/payoutStatusToDate.js","components/payments/transaction-tables/table-footer/table-footer.module.scss","components/admin/admin-functions/view-documents/merchant-verification-checklist/merchant-verification-checklist.module.scss","pages/merchant-details/merchant-details.module.scss","components/payments/transaction-tables/filter-tabs/filter-tabs.component.jsx","components/payments/transaction-tables/filter-tabs/filter-tabs.container.js","utils/enums/PaymentsFilterTabs.js","components/signup-form/signup-form.module.scss","components/modal-user-icon/modal-user-icon.module.scss","components/onboarding/onboarding-ui-components/upload-documents/upload-documents.module.scss","components/merchant-dashboard-preview/merchant-dashboard-preview.module.scss","components/payments/transaction-tables/chargebacks-list-table/chargebacks-expanded-row/chargebacks-expanded-row.module.scss","components/update-account/update-account.module.scss","components/withdrawal/withdrawal-submission/withdrawal-submission.module.scss","components/modal-cancel-internal-transfer/modal-cancel-internal-transfer.module.scss","components/canonical-reseller-settings/canonical-reseller-settings.module.scss","components/admin/print-agreement/print-agreement.module.scss","components/onboarding/business-details/onboarding-business-details.module.scss","components/modal-refund-internal-transfer/modal-refund-internal-transfer.module.scss","services/payments.service.js","services/otp.service.js","utils/enums/PaymentStatus.js","components/update-account-reseller-merchant/update-account-reseller-merchant.module.scss","components/modal-send-report/modal-send-report.module.scss","components/update-password/update-password.module.scss","components/settings-terms-and-conditions/settings-terms-and-conditions.module.scss","components/modal-preview-qr-code/modal-preview-qr-code.module.scss","pages/manage-products/dialog-view-manage-products/dialog-view-manage-products.module.scss","layouts/layout.module.scss","contexts/global-state/global-state.context.js","routing/regex-routes.js","layouts/header/header.component.jsx","layouts/header/header.container.js","components/home-work-items/business-hierarchy/hierarchy-list.module.scss","utils/enums/PaymentType.js","components/update-account-mypay/update-account-mypay.module.scss","components/link-qr/link-qr.module.scss","components/admin/bank-error-list/bank-error-list.module.scss","pages/appCTA/appCTA.module.scss","pages/not-authorized/not-authorized.module.scss","validators/update-bank/update-bank.validator.js","components/transaction/transaction-refund/transaction-refund.component.jsx","components/transaction/transaction-refund/transaction-refund.container.js","utils/enums/ResellerLogoMap.js","components/payments/transaction-tables/gfo-payment-list-table/gfo-payment-list-table.component.jsx","utils/enums/GfoPaymentsFilterTabs.js","components/payments/transaction-tables/gfo-payment-list-table/gfo-payment-list-table.container.js","components/payments/transaction-tables/datman-reseller-payments-list-table/datman-reseller-payments-list-table.component.jsx","utils/enums/DatmanResellerPaymentsFilterTabs.js","components/payments/transaction-tables/datman-reseller-payments-list-table/datman-reseller-payments-list-table.container.js","utils/getT2SReferralLinkPayload.js","utils/enums/ChangePasswordTriggerDays.js","components/modal-user-management/modal-user-management.module.scss","components/auth-with-social-media/auth-with-social-media.module.scss","components/balance-card/balance-card.module.scss","components/payout-card/payout-card.module.scss","components/net-volume-card/net-volume-card.module.scss","components/admin/admin-functions/manage-partners/manage-partners.module.scss","components/admin/admin-functions/payment-configuration-mode/payment-configuration-mode-dialog/payment-configuration-modes-dialog.module.scss","components/admin/admin-functions/third-party-merchant-id-and-store-id/third-party-merchant-id-and-store-id.module.scss","pages/under-maintainance/under-maintainance.module.scss","validators/onboarding/onboarding-account-number.validator.js","utils/enums/PaymentProvider.js","layouts/header/header.module.scss","components/reset-password-form/reset-password-form.module.scss","pages/account-verify-upload-documents/account-verify-upload-documents.module.scss","pages/manage-products/mange-products-datman/manage-products-datman.module.scss","utils/text enums/snackbar-text.js","utils/enums/DocumentEventType.js","utils/StatusCodes.js","components/valid-url-input/valid-url-input.module.scss","components/home-work-items/home-work-items.module.scss","components/modal-confirmation/modal-confirmation.module.scss","components/modal-create-merchant-account/modal-create-merchant-account.module.scss","components/payments/transaction-tables/table-header/table-header.module.scss","components/payments/transaction-tables/merchant-charges-list-table/merchant-charges-list-table.module.scss","components/modal-update-bank-completion/modal-update-bank-completion.module.scss","components/modal-payouts-mark-not-received/modal-payouts-mark-not-received.module.scss","components/api-keys/api-keys.module.scss","components/modal-pdq-confirmation/modal-pdq-confirmation.module.scss","components/modal-form-confirmation/modal-form-confirmation.module.scss","components/special-rent-table/special-rent-table.module.scss","components/admin/admin-functions/update-txn-limit/update-txn-limit.module.scss","components/date-picker/date-picker.module.scss","pages/adyedAcceptTOSModal/adyen-accept-TOS.module.scss","pages/manage-products/mange-product-omnipay/manage-products-omnipay.module.scss","pages/bank-verification-upload-documents/bank-verification-upload-documents.module.scss","pages/admin/document-management/document-management.module.scss","pages/onboarding/onboarding.module.scss","pages/terms-and-conditions/terms-and-conditions.module.scss","contexts/selected-element-context/selectedElement.context.js","contexts/onboarding-form-context/onboardingForm.context.js","contexts/balance-context/balance-context.js","components/create-user-form/create-user-form.module.scss","components/onboarding/onboarding-ui-components/input/input.module.scss","components/onboarding/onboarding-ui-components/onboarding-forms-container/onboarding-forms-container.module.scss","components/admin/admin-functions/modal-confirm-reverse-withdrawal/modal-confirm-reverse-withdrawal.module.scss","components/modal-export-report/modal-export-report.module.scss","components/modal-reason-to-close/modal-reason-to-close.module.scss","components/admin/admin-functions/merchant-stripe-id/merchant-stripe-id.module.scss","components/admin/admin-functions/invoice-toggle/invoice-toggle-mode-dialog/invoice-toggle-modes-dialog.module.scss","components/Banner/banner.module.scss","pages/admin/dashboard/admin-dashboard.module.scss","pages/admin/pending-customers/pending-customers.module.scss","pages/payment-details/payment-details.module.scss","assets/icons/gateway.svg","assets/icons/my-pay-app.svg","assets/icons/virtual-terminal.png","assets/icons/my-ecomm.svg","assets/icons/card-machine.svg","components/payments/transaction-tables/payments-list-table/payments-list-table.component.jsx","utils/enums/VoidedPayments.js","components/payments/transaction-tables/payments-list-table/payments-list-table.container.js","components/onboarding/onboarding-ui-components/label/label.component.jsx","components/onboarding/onboarding-ui-components/label/label.container.js","services/non-reseller.merchant.service.js","services/payouts.service.js","services/adyen.service.js","components/payments/transaction-tables/chargebacks-list-table/chargebacks-expanded-row/chargebacks-expanded-row.component.jsx","components/payments/transaction-tables/chargebacks-list-table/chargebacks-expanded-row/chargebacks-expanded-row.container.js","utils/enums/ChargebacksFilterTabs.js","components/payments/transaction-tables/chargebacks-list-table/chargebacks-list-table.component.jsx","components/payments/transaction-tables/chargebacks-list-table/chargebacks-list-table.container.js","components/payments/transaction-tables/payouts-list-table/payouts-reference-table.js","components/payments/transaction-tables/payouts-list-table/payouts-list-table.component.jsx","components/payments/transaction-tables/payouts-list-table/payouts-list-table.container.js","components/payments/transaction-tables/merchant-charges-list-table/merchant-charges-list-table.component.jsx","components/payments/transaction-tables/merchant-charges-list-table/merchant-charges-list-table.container.js","contexts/language-switch-context/language-switch-context.js","utils/getGiftCardStatus.js","utils/enums/messages.js","components/payments/transaction-tables/gift-card-chip/gift-card-lable-chip.component.jsx","components/payments/transaction-tables/gift-card-chip/gift-card-lable-chip.conatiner.js","components/onboarding/onboarding-ui-components/label/label.module.scss","components/onboarding/onboarding-ui-components/onboarding-title/onboarding-title.module.scss","components/onboarding/onboarding-ui-components/companies-house-lookup/companies-house-lookup.module.scss","components/merchant-dashboard-navigation-header/merchant-dashboard-navigation-header.module.scss","components/payments/transaction-tables/chargebacks-list-table/chargebacks-list-table.module.scss","components/pay-by-link/modal-invoice-form/modal-invoice-form.module.scss","components/admin/admin-functions/payouts-not-received/payouts-not-received.module.scss","components/payments/transaction-tables/pdq-list-table/pdq-list-table.module.scss","components/modal-delete-merchant-account/modal-delete-merchant-account.module.scss","components/modal-close-merchant-account/modal-close-merchant-account.module.scss","components/admin/dashboard/navigation-header/admin-dashboard-navigation-header.module.scss","pages/roles-and-permissions/roles-and-permissions.module.scss","pages/manage-products/product-add-remove-dialog-box/product-add-remove-dialog-box.module.scss","pages/bank-error-list/bank-error-list.module.scss","layouts/side-bar-mechant/side-bar-merchant.module.scss","components/password-input/password-input.module.scss","components/table-project/table-project.module.scss","components/modal-business-creation/modal-business-creation.module.scss","components/onboarding/onboarding-ui-components/dropdown/dropdown.module.scss","components/loader/loader.module.scss","components/payments/transaction-tables/transaction-status-label/transaction-status-label.module.scss","components/payments/transaction-tables/internal-transfers-list-table/internal-transfers-list-table.module.scss","components/card-details-form/card-details-form.module.scss","assets/images/card-background/17.jpeg","components/modal-take-payment/modal-take-payment.module.scss","components/payments-filter/payments-filter.module.scss","components/page-footer/page-footer.module.scss","components/help-contacts/help-contacts.module.scss","components/finish-upload-button/finish-upload-button.module.scss","components/modal-merchant-terms-and-conditions/modal-merchant-terms-and-conditions.module.scss","components/admin/admin-functions/trigger-reset-password/trigger-reset-password.module.scss","pages/payout-details/payout-details.module.scss","pages/support-utilities/support-utilities.module.scss","pages/adyen-response/adyen-response.module.scss","components/external-signup/signup-form.container.js","layouts/content/content.module.scss","components/home-work-items/business-hierarchy/business/business.module.scss","assets/icons/add.png","components/external-signup/signup-form.component.jsx","components/modal-client-creation/modal-client-creation.module.scss","components/modal-merchant-creation/modal-merchant-creation.module.scss","assets/images/google.png","assets/images/facebook.png","components/onboarding/onboarding-ui-components/form-item/form-item.module.scss","components/onboarding/onboarding-ui-components/post-code-selector/post-code-selector.module.scss","components/onboarding/onboarding-steps/onboarding-steps.module.scss","components/payments/transaction-tables/filter-tabs/filter-tabs.module.scss","components/payments/transaction-tables/gift-card-chip/gift-card-lable-chip.module.scss","assets/images/omni-pay.png","assets/images/datman.png","assets/images/paidImage.png","components/pay-by-link/modal-email-form/modal-email-form.module.scss","assets/images/card-chip/chip.png","assets/images/card-type/visa.png","assets/images/card-type/amex.png","assets/images/card-type/discover.png","assets/images/card-type/mastercard.png","assets/images/card-type/unionpay.png","assets/images/card-type/troy.png","components/modal-remove-member/modal-remove-member.module.scss","components/modal-acquirer-filter/modal-acquirer-filter.module.scss","components/admin/admin-functions/add-merchant-id/add-merchant-id.module.scss","components/admin/admin-functions/process-refund/process-refund.module.scss","components/admin/admin-functions/merchant-store-id/merchnat-store-id.module.scss","components/snackbar-and-alert/snackbar-and-alert.module.scss","components/admin/urgent-message/url-input-field/url-input-field.module.scss","components/admin/admin-functions/charging-set-up-fees/charging-set-up-fees.module.scss","assets/icons/App.png","assets/icons/VT.png","assets/icons/Gateway.png","assets/icons/PDQ.png","components/modal-filter-pdq-merchants/modal-filter-pdq-merchants.module.scss","components/valid-email-input/valid-email-input.module.scss","pages/withdrawal/withdrawal.module.scss","pages/profile/profile.module.scss","pages/payments/payments.module.scss","pages/chargebacks/chargebacks.module.scss","pages/merchant-charges/merchant-charges.module.scss","pages/internal-transfers/internal-transfers.module.scss","pages/payouts/payouts.module.scss","pages/gfo-payments/gfo-payments.module.scss","pages/pdq-transactions/pdq-transactions.module.scss","pages/login/login.module.scss","pages/signup/signup.module.scss","pages/reset-password/reset-password.module.scss","pages/request-support-form/request-support-form.module.scss","pages/link-qr/link-qr.module.scss","assets/images/maintenance.svg","pages/external-signup/signup.module.scss","routing/logged-route.js","routing/routing-manager.js","pages/withdrawal/withdrawal.component.jsx","pages/withdrawal/withdrawal.container.js","utils/banner-message.js","pages/adyedAcceptTOSModal/adyen-accept-TOS.component.jsx","pages/adyedAcceptTOSModal/adyen-accept-TOS.container.js","pages/dashboard/dashboard.component.jsx","pages/dashboard/dashboard.container.js","pages/profile/profile.component.jsx","pages/profile/profile.container.js","pages/roles-and-permissions/roles-and-permissions.component.jsx","pages/roles-and-permissions/roles-and-permissions.container.js","pages/user-management/user-management.component.jsx","pages/user-management/user-management.container.js","pages/settings/settings.component.jsx","pages/settings/settings.container.js","pages/team/team.component.jsx","pages/team/team.container.js","pages/payments/payments.component.jsx","pages/payments/payments.container.js","pages/chargebacks/chargebacks.component.jsx","pages/chargebacks/chargebacks.container.js","pages/merchant-charges/merchant-charges.component.jsx","pages/merchant-charges/merchant-charges.container.js","utils/enums/MerchantLabel.js","pages/internal-transfers/internal-transfers.component.jsx","pages/internal-transfers/internal-transfers.container.js","pages/payouts/payouts.component.jsx","pages/payouts/payouts.container.js","pages/gfo-payments/gfo-payments.component.jsx","pages/gfo-payments/gfo-payments.container.js","pages/virtual-terminal/virtual-terminal.component.jsx","pages/virtual-terminal/virtual-terminal.container.js","pages/card-details/card-details.component.jsx","pages/card-details/card-details.container.js","pages/accept-invitation/accept-invitation.component.jsx","pages/accept-invitation/accept-invitation.container.js","pages/admin/dashboard/admin-dashboard.component.jsx","pages/admin/dashboard/admin-dashboard.container.js","pages/admin/pending-customers/pending-customers.component.jsx","pages/admin/pending-customers/pending-customers.container.js","pages/update-bank/update-bank.component.jsx","pages/update-bank/update-bank.container.js","pages/update-account/update-account.component.jsx","pages/update-account/update-account.container.js","pages/generic-qr-code/generic-qr-code.component.jsx","pages/generic-qr-code/generic-qr-code.container.js","pages/payment-qr-code/payment-qr-code.component.jsx","pages/payment-qr-code/payment-qr-code.container.js","pages/update-password/update-password.component.jsx","pages/update-password/update-password.container.js","pages/account-verify-upload-documents/account-verify-upload-documents.component.jsx","pages/account-verify-upload-documents/account-verify-upload-documents.container.js","pages/payment-details/payment-details.component.jsx","pages/payment-details/payment-details.container.js","pages/payout-details/payout-details.component.jsx","pages/payout-details/payout-details.container.js","components/Add-credit/add-credit.component.jsx","components/Add-credit/add-credit.container.js","pages/admin/admin-functions/admin-functions.component.jsx","pages/admin/admin-functions/admin-functions.container.js","pages/pdq-transactions/pdq-transactions.component.jsx","pages/pdq-transactions/pdq-transactions.container.js","routing/admin-user-type-route.js","routing/restricted-admin-user-type-route.js","routing/working-account-route.js","routing/transaction-page-accessibility-route.js","routing/merchant-routing-manager.js","pages/manage-products/mange-products-datman/manage-products-datman.component.jsx","pages/manage-products/mange-products-datman/manage-products-datman.container.js","pages/manage-products/dialog-view-manage-products/dialog-view-manage-products.component.jsx","pages/manage-products/dialog-view-manage-products/dialog-view-manage-products.container.js","pages/manage-products/product-add-remove-dialog-box/product-add-remove-dialog-box.component.jsx","pages/manage-products/product-add-remove-dialog-box/product-add-remove-dialog-box.container.js","pages/manage-products/mange-product-omnipay/manage-products-omnipay.component.jsx","pages/manage-products/mange-product-omnipay/manage-products-omnipay.container.js","pages/manage-products/manage-products.container.js","pages/bank-verification-upload-documents/bank-verification-upload-documents.component.jsx","pages/bank-verification-upload-documents/bank-verification-upload-documents.container.js","utils/enums/CanonicalResellerStatus.js","pages/admin/admin-pending-merchants/admin-pending-merchants.component.jsx","pages/admin/admin-pending-merchants/admin-pending-merchants.container.js","routing/owner-and-active-merchant-route.js","routing/owner-or-admin-route.js","pages/dashboard-reseller/dashboard-reseller.component.jsx","pages/dashboard-reseller/dashboard-reseller.container.js","pages/client-registration/client-registration.component.jsx","pages/client-registration/client-registration.container.js","pages/stripe-payouts-details/stripe-payout-details.component.jsx","pages/stripe-payouts-details/stripe-payout-details.container.js","pages/merchant-details/merchant-details.component.jsx","pages/merchant-details/merchant-details.container.js","pages/canonical-reseller-onboarding/canonical-reseller-onboarding.component.jsx","pages/canonical-reseller-onboarding/canonical-reseller-onboarding.container.js","pages/canonicalResellerMerchant/canonical-reseller-merchant.component.jsx","pages/canonicalResellerMerchant/canonical-reseller-merchant.container.js","pages/canonical-reseller-merchant-management/canonical-reseller-merchant-management.component.jsx","pages/canonical-reseller-merchant-management/canonical-reseller-merchant-management.container.js","pages/settings-terms-and-conditions/settings-terms-and-conditions.component.jsx","pages/settings-terms-and-conditions/settings-terms-and-conditions.container.js","pages/admin/document-management/document-management.component.jsx","pages/admin/document-management/document-management.container.js","pages/admin/admin-missing-merchant/admin-missing-merchant.component.jsx","pages/admin/admin-missing-merchant/admin-missing-merchant.container.js","pages/admin/missing-merchant-docoument/missing-merchant-document.component.jsx","pages/admin/missing-merchant-docoument/missing-merchant-document.container.js","pages/dashboard-pdq/dashboard-pdq.component.jsx","pages/dashboard-pdq/dashboard-pdq.container.js","pages/pdq-order-merchant/pdq-order-merchant.component.jsx","pages/pdq-order-merchant/pdq-order-merchant.container.js","routing/product-approved-route.js","pages/refund-list/list-refund.component.jsx","pages/refund-list/list-refund.container.js","pages/contract-details/contract-details.component.jsx","pages/contract-details/contract-details.container.js","pages/print-agreement/print-agreement.component.jsx","pages/print-agreement/print-agreement.container.js","components/admin/bank-error-list/bank-error-list.component.jsx","components/admin/bank-error-list/bank-error-list.container.js","pages/bank-error-list/bank-error-list.component.jsx","pages/bank-error-list/bank-error-list.container.js","pages/payout-not-recieved/payout-not-received.component.jsx","pages/payout-not-recieved/payout-not-received.container.js","pages/admin/admin-pending-bank-verfication/admin-pending-bank-verfication.component.js","pages/admin/admin-pending-bank-verfication/admin-pending-bank-verification.container.js","pages/admin/admin-pending-account-verification/admin-pending-account-verification.component.jsx","pages/admin/admin-pending-account-verification/admin-pending-account-verification.container.js","pages/chargeback-list/chargeback.list.component.jsx","pages/chargeback-list/chargeback.list.container.js","pages/admin/admin-wallet-history/wallet-history.component.jsx","pages/admin/admin-wallet-history/wallet-history.container.js","utils/enums/PayoutStatus.js","components/admin/merchant-capabilities/merchant-capabilities.component.jsx","components/admin/merchant-capabilities/merchant-capabilities.container.js","routing/with-sidebar.routes.js","routing/with-sidebar.custom-domain.routes.js","layouts/content/content.component.jsx","layouts/content/content.container.js","layouts/side-bar-mechant/side-bar-merchant.component.jsx","layouts/side-bar-mechant/side-bar-merchant.container.js","layouts/layout.component.jsx","layouts/layout.container.js","pages/appCTA/appCTA.component.jsx","pages/appCTA/appCTA.container.js","pages/login/login.component.jsx","pages/login/login.container.js","pages/forgot-password/forgot-password.component.jsx","pages/forgot-password/forgot-password.container.js","pages/onboarding/onboarding.component.jsx","pages/onboarding/onboarding.container.js","pages/signup/signup.component.jsx","pages/signup/signup.container.js","pages/external-signup/signup.component.jsx","pages/external-signup/signup.container.js","pages/help/help.component.jsx","pages/help/help.container.js","routing/not-logged-route.js","routing/mypay-only-not-logged-route.js","routing/super-admin-user-type-route.js","pages/reset-password/reset-password.component.jsx","pages/reset-password/reset-password.container.js","pages/not-authorized/not-authorized.component.jsx","pages/not-authorized/not-authorized.container.js","pages/support-utilities/support-utilities.component.jsx","pages/support-utilities/support-utilities.container.js","pages/terms-and-conditions/terms-and-conditions.component.jsx","pages/terms-and-conditions/terms-and-conditions.container.js","pages/request-support-form/request-support-form.component.jsx","pages/request-support-form/request-support-form.container.js","pages/adyen-response/adyen-response.component.jsx","pages/adyen-response/adyen-response.container.js","pages/link-qr/link-qr.component.jsx","pages/link-qr/link-qr.container.js","pages/admin/audit-log-data/audit-log-data.component.jsx","pages/admin/audit-log-data/audit-log-data.container.js","pages/under-maintainance/under-maintainance.component.jsx","pages/under-maintainance/under-maintainance.container.js","pages/admin/adyen-merchants-list/adyen-merchant-list.component.jsx","pages/admin/adyen-merchants-list/adyen-merchant-list.container.js","routing/without-sidebar.routes.js","routing/without-sidebar.custom-domain.routes.js","App.js","serviceWorker.js","index.js"],"names":["BootstrapInput","withStyles","theme","input","borderRadius","position","backgroundColor","palette","common","white","border","fontSize","width","textIndent","maxLength","transition","transitions","create","fontFamily","join","boxShadow","fade","primary","main","borderColor","InputBase","InputComponent","props","Fragment","baseProps","autoComplete","className","error","styles","errorBorder","customInput","optionalProps","disableBorders","withoutBorders","emptyField","withoutShadow","style","color","helpertext","InputButton","propsCopy","Object","assign","NextButtonComponent","useGlobalStateContext","globalState","setGlobalState","setRoute","isMerchantUserType","user","UserType","name","Merchant","isActiveMerchant","merchant","status","MerchantStatus","ACTIVE","isUkMerchant","country","MerchantCountries","UNITED_KINGDOM","MERCHANT_PENDING","Grid","container","spacing","item","xs","sm","Button","id","variant","disabled","nextBtn","pendingButton","firstButton","onClick","e","translateText","text","onSubmit","primaryButtonColor","buttonsWrapper","saveExitBtn","localStorage","setItem","moment","format","exitFromOnboarding","saveNextBtn","remindMeLater","NextButton","OnbordingTitleComponent","isLoading","dots","Typography","component","formTitle","transalterEnabled","title","formSubTitle","subTransalterEnabled","subTitle","OnboardingTitle","OnboardingFormsContainerComponent","titleContainer","formsContainer","content","parentProps","btnContainer","nextButton","OnboardingFormsContainer","FormItemComponent","isStyleRequired","children","formItem","FormItem","DatePickerInput","useStyles","makeStyles","root","noOptions","hideNoOptionsText","display","inputRoot","padding","emptyFieldClass","SelectedDropDownComponent","classes","hideNoOptionsTextSelect","noOptionsText","Autocomplete","freeSolo","value","inputValue","options","loading","onChange","onInputChange","getOptionSelected","getOptionLabel","option","listPrefix","inputAreas","renderInput","params","TextField","height","inputProps","placeholder","onKeyDown","stopPropagation","renderOption","state","customListRender","SelectedDropDown","createStyles","tag","popupIndicator","d","popupIndicatorOpen","clearIndicator","label","MultiPickerInputComponent","multiple","list","property","size","event","MultiPickerInput","propspropTypes","card","marginBottom","cursor","alignItems","iconContainer","justifyContent","fontWeight","description","CardMultiSelectComponent","onCardClick","map","element","Card","key","alt","src","imgPath","ProductStatus","ADDITION_PENDING","Tooltip","aria-label","DELETION_PENDING","REJECTED","CardMultiSelect","setIsModalOpen","setProductId","setOpenDialog","manageMyProductPage","setSelectedEntity","isAdmin","Admin","SuperAdmin","useState","selectedEntities","setSelectedEntitites","useEffect","elementId","index","indexOf","find","INACTIVE","selectedProduct","push","CardMultiSelectDatmanComponent","includes","splice","CardMultiSelectDatman","PostCodeSelectorComponent","postCodeValue","onPostCodeChange","onAddressObjectChange","isPostCodeLoading","setIsPostCodeLoading","listPostCodeAddresses","setListPostCodeAddresses","postCodeValueBuffer","postCodeOfSearchResults","showLookupView","FormatMessage","postCode","newValue","length","postCodeSearchResultBuilding","building_number","building_name","sub_building_number","sub_building_name","thoroughfare","town_or_city","target","postcodeRegex","RegExp","PostCodeSelector","postCodeLookup","setPostCodeValueBuffer","setPostCodeOfSearchResults","GetPostCodeInformation","useCallback","debounce","a","PostCodeService","getPostCodeInformation","result","isSuccesfully","data","addresses","postcode","test","CompaniesHouseLookup","useStylesList","background","paper","secondaryAction","useStylesListItemText","maxWidth","useStylesCircular","previewChip","minWidth","UploadDocumentsComponent","uploadingOrUploadedFiles","onRemove","isShowDeleteWarning","setIsShowDeleteWarning","isDeletedSuccessfully","setIsDeletedSuccessfully","fileToBeRemoved","setFileToBeRemoved","handleListClick","addedFiles","dropZoneKey","nrMaxFilesExceedError","handleCloseAlertError","fileExistError","nonUniqueFile","uploadingFailed","uploadPendingDocTypes","docTypeId","setDocTypeId","fileIsUploading","uploadFailureMessage","setIdNumber","idNumber","isFieldToBeShown","canUpload","cardNumber","setCardNumber","isValidIdNumber","source","isValidCardNumber","doValidation","classesCircular","classesList","classesListItemText","ausIdNum","AUSTRALIA","CircularProgressWithLabel","Box","CircularProgress","top","left","bottom","right","Math","round","formItemGrid","checkEmptyValue","toUpperCase","validateCardNumber","Select","select","docType","MenuItem","UNITED_STATES","zoneDisabled","zoneEnable","dropzoneClass","showPreviewsInDropzone","showAlerts","useChipsForPreview","previewGridProps","direction","previewChipProps","previewText","maxFileSize","isAdyenMerchant","acceptedFiles","filesLimit","dropzoneText","open","onClose","type","List","uploadingFile","ListItem","button","filename","placement","ListItemText","noWrap","secondary","documentTypeName","ListItemSecondaryAction","DocumentStatus","SUCCESS","isUploading","percentageProgress","IconButton","edge","ERROR","Dialog","aria-labelledby","DialogTitle","DialogContent","DialogContentText","DialogActions","actionsContainer","UploadDocuments","entity","entityId","flag","setValidForm","setFormattedDocumentsStats","setUploadSuccess","businessTypeId","setIsFinishButtonDisabled","bankUpload","setBankUpload","setBucketDocuments","onlyBucketUpload","csrfToken","formType","setCSRFToken","setAddedFiles","setDropZoneKey","uploadedDocumentId","setUploadedDocumentId","setFilename","filesize","setFilesize","fileStatus","setFileStatus","fileStatusDocumentId","setFileStatusDocumentId","progress","setProgress","setUploadingOrUploadedFiles","setNrMaxFilesExceedError","setFileExistError","setNonUniqueFile","setIsLoading","setUploadingFailed","setUploadFailureMessage","setUploadPendingDocTypes","setFileIsUploading","mandatoryFilesUploaded","setMandatoryFilesUploaded","setIsValidIdNumber","setIsValidCardNumber","generateCSRFToken","AuthService","formTypes","ONBOARDING_UPLOAD_DOCUMENTS","response","DocumentFlag","ONBOARDING","AGENT_UPLOAD","DocumentsService","listObjects","refreshUploadDocumentsPageState","file","DocumentTypes","toString","documentTypeId","fetchData","findIndex","uplFile","newObj","parseInt","oldArray","filter","uf","selectedFile","getObject","getLatestCsrfToken","latestCSRFToken","isTokenGoingToExpire","removeObject","removeBucketObject","newList","AdminService","saveUserKycLogs","resellerId","reseller","notes","documentId","documentStatus","DocumentStatusToName","DELETED","errorMessage","errorCode","ErrorCodes","CSRF_VALIDATION_FAILURE","message","DOCUMENT_UPLOAD_ERROR","fileProgress","loaded","total","floor","fileDone","newFiles","isFileUnique","upload","uploadedFiles","uploadToBucket","sessionStorage","removeFileFromS3","fileToRemove","tempDocuments","console","log","val","arr","existelem","undefined","setTimeout","pendingDocTypesLength","NonResellerMerchantService","updateMerchantData","accountStatus","BusinessTypeEnumId","Partnership","Other","uploadDoc","validNumber","files","removedDocType","formattedDocumentsStats","getFormattedDocumentsStatsForMerchant","merchantBusinessTypeId","merchantCountry","merchantDocuments","resellerName","pendingDocTypes","pendingDocumentTypes","unshift","hasAllMandatoryDocsUploaded","dataMemory","MyStorage","endsWith","jwt","decode","idTokn","BaseAxios","post","AuthServiceEndpoint","refreshToken","headers","Authorization","then","catch","prototype","hasOwnProperty","call","delete","removeItem","syncPromise","Promise","res","rej","SyncData","err","token","getExistIdToken","window","location","href","get","refreshDataMemory","warn","redirectSignIn","protocol","host","redirectSignOut","AWSConfiguraion","Auth","region","Region","userPoolWebClientId","UserPollWebClientId","userPoolId","UserPollId","identityPoolId","IdentityPollId","authenticationFlowType","storage","oauth","domain","Domain","responseType","split","refreshTokenIdentificator","refreshTokenValue","startsWith","memoryKey","replace","getItem","AuthProvider","isSyncState","setIsSyncState","Amplify","configure","browserHistory","hash","syncData","AdminFunctionsContext","React","createContext","AdminFunctionsProvider","adminFunctions","setAdminFunctions","Provider","useAdminFunctionsContext","adminFunctionsContext","useContext","Error","ChatBotProvider","ResellerType","DATMAN","url","data_handle_attribute","$zoho","salesiq","widgetcode","values","ready","scriptTag","document","createElement","defer","setAttribute","firstTagOfPage","getElementsByTagName","parentNode","insertBefore","chatBotScript","CHATBOT_SCRIPT_URL","CHATBOT_SCRIPT_ID","CHATBOT_DATA_HANDLE_ATTRIBUTE","visitor","firstName","lastName","email","contactnumber","phoneNumber","$ZSIQWidget","reset","queryString","qs","parse","search","ignoreQueryPrefix","autoFillChatBotForm","ex","MerchantCreationContext","MerchantCreationProvider","showMerchantCreationMessage","merchantCreationState","setMerchantCreationState","useMerchantCreationContext","selectedElementContext","AuthAxios","JSON","stringify","SuccesResponse","ErrorResponse","loginRequest","signUpRequest","completeInvite","request","requestNewToken","refreshResponse","substring","callCognitoForNewToken","requestNewTokenWithRefreshToken","newSocialAccount","createNewAuthOtp","rs","resolve","reject","fetch","mode","cache","method","body","ClientId","AuthFlow","AuthParameters","REFRESH_TOKEN","resp","TypeError","json","ok","AuthenticationResult","IdToken","AccessToken","code","__type","pop","Message","statusCode","sub","merchantId","uuid","socialSignIn","login","isLoggedUser","logout","signUp","changePassword","passwordRotation","resetDatmanPassword","via","password","axios","require","config","DatmanAPIEndpoint","updateDatmanPassword","current_password","DatmanAxios","password_confirm","removeCognitoUser","sendVerificationEmail","updateChangePasswordTime","removeCSRFToken","getLinkStatus","updateOtpLinkStatus","CustomerServiceEndpoint","requestResult","errMessage","businessId","business","responce","put","businessName","getBusinesses","getBusiness","updateBusiness","deleteBusiness","createBusiness","checkBusinessName","UserServiceEndpoint","isSuccessfully","patch","isDisable","cognitoUuid","getUsers","getUserByEmail","createUser","toggleDisableEnableUser","deleteUser","supportUpdateUserAttributes","saveReferralDataString","getUserByCognitoUserName","updateUserDetails","getHierarchy","assignEntityAndRoleToUser","getClients","clients","getClient","clientId","createClient","client","updateClient","deleteClient","checkClientNameIsUnique","clientName","getMerchants","merchants","getError","getMerchant","createMerchant","updateMerchant","deleteMerchant","checkMerchantNameIsUnique","merchantName","roles","getRoles","relationId","getRoleFromRelationship","deleteRelationship","assignUserToMerchant","initSaleRequest","URL","InitialiseSale","InitialiseDNASale","promises","executeUploading","all","allResponse","hasErrorOnUpload","uploadedFile","csrfFailure","executeBucketUploading","DocumentServiceEndpoint","eventType","DocumentEventType","DOWNLOAD","presignedUrl","rsp","createObjectURL","Blob","link","appendChild","click","getObjects","listOfParams","listOfUrls","zip","JSZip","count","getFiles","urlObj","JSZipUtils","getBinaryContent","binary","generateAsync","getPresignedUrl","filenames","newFilename","indexSeparator","lastIndexOf","filenameWithoutExt","ext","fileType","onUploadProgress","ACCOUNT_VERIFY","NEED_APPROVAL","notifyAdminAboutDocumentUploading","isBankDetailsUpdated","getMerchantFilesUrls","param","createdAt","VIEWED","extension","toLowerCase","updateDocumentStatus","documentID","updateDocumentType","getQrCode","createQrCode","amount","qrName","typeOfQr","expiryDate","fetchQrCodes","closeQrCode","reason","emailsAndRoles","NonResellerMerchantServiceEndpoint","canonicalResellerId","SettingsServiceEndpoint","inviteMembers","inviteCanonicalResellerMembers","getTeamMembers","getCanonicalResellerTeamMembers","removeTeamMember","companyRegistrationNumber","companyRegisteredName","items","getCompanyProfile","getPersonsWithSignificantControl","getCompaniesDetail","month","year","offset","limit","getMerchantChargesList","getFormattedInternalTransfersList","getTotalPendingInternalTransfersAmount","getTotalInternalTransfersAmount","filterInternalTransferByTimeFrame","internalTransfers","day","startingTimestamp","startOf","valueOf","endingTimestamp","endOf","_","internalTransfer","created_at","utc","reduce","totalAmount","apiResponseData","transfer_type","each","transactions","transaction","pick","supplierObj","customer_info","cust","recipient_id","customer_id","supplier","business_name","ref","succesResponseData","totalPendingAmount","internalTransferData","getInternalTransfersList","submitInternalTransfer","getSuppliers","suppliersData","cancelInternalTransfer","refundInternalTransfer","chargebacksRequest","getChargebacksList","bankDetails","getBankDetails","updateBankDetails","validateBankDetailsForUK","getMaskedBankDetails","getNewBankUpdateRequestDetails","raiseNewBankDetailsUpdateRequest","rejectNewBankDetailsUpdateRequest","getBankErrorList","requestedByUserId","skipWithdrawalEmail","Sentry","scope","setTag","setUser","checkFirstWithdrawal","submitWithdrawal","getCustomerConfig","reverseWithdrawal","getNextWithdrawalDay","getBusinessDetails","updateBusinessDetails","getMerchantBusinessTypeAndBankStatus","GetBalance","TransactionRefund","pdqTransactionsRequest","GetPdqTransactionsList","getUrgentMessages","NotificationsServiceEndpoint","addUrgentMessage","updateUrgentMessage","urgentMessageId","deleteUrgentMessage","requestForSupport","notifyApplicationFailures","axiosInstance","getDocumentTypes","documentTypeCache","getDocumentTypesAPI","Cache","priority","TaxonomyServiceEndpoint","getDescriptions","getBusinessTypes","getProductsRequired","getResellerByPortalURL","portalURL","getResellers","resellers","resData","r","getMaintainenceMode","resellersCache","getResellersAPI","process","getAllAcquirer","getMotoRenewalReasonList","clientDetails","AdminServiceEndpoint","currencySymbol","currencyCode","payvia","sessionId","VirtualTerminalEndpoint","requestSendAt","currency_code","user_order_ref","shoppers","first_name","last_name","address","sessionResult","session_id","payload","sendPayByLinkEmail","sendInvoiceViaEmailPhone","canonicalResellerMerchantRegistration","getTermsAndConditions","querySeparator","linkType","saveResponse","getSignedTermsAndConditionsData","acceptTermsAndConditions","ResellerServiceEndpoint","getAllCanonicalResellers","createNewCanonicalReseller","updateCanonicalResellerData","getCanonicalResellerData","getCanonicalResellersAPI","canonicalResellers","getCanonicalResellers","pdqOrderDetails","getDnaMerchantAgreement","DnaServiceEndpoint","submitDnaOnboarding","getDnaAccount","getUniqueAgentEmails","getMerchatDataPdq","dnaOnboardRequest","getPdqDevices","requestPDQRemoval","IRELAND","NEW_ZEALAND","CANADA","MEXICO","ANGUILLA","INDIA","NIGERIA","MerchantCountriesDialCode","Ireland","Australia","Canada","Mexico","India","Nigeria","this","ValidationMessage","isValid","ProductRequirme","Gateway","MyMotoApp","VirtualTerminal","MyEcomm","PDQ","currency","Intl","NumberFormat","formatCurrency","formatAmount","num","parseFloat","toFixed","formatDateTimeByFormatString","dateTime","formatString","noUtc","formattedDateTime","locale","formatDateTimeByFormatStringV2","momentTZ","tz","toTitleCase","str","txt","charAt","substr","difference","object","base","changes","transform","isEqual","isObject","Date","getWeek","date","getTime","setHours","setDate","getDate","getDay","week1","getFullYear","getDateRangeOfWeek","weekNo","y","rangeIsFrom","week","rangeIsTo","descendingComparator","tranx","tranxToCompare","orderBy","valueFromA","valueFromB","getComparator","order","stableSort","array","comparator","stabilizedThis","el","sort","numberFormatAllowValuesForPayments","floatValue","pdfFileTemplate","logo","pdfTitle","csvData","companyAddress","paidImage","isDatman","isPaid","transactionId","columnStyles","merchantLegalName","doc","jsPDF","companyName","splitTextToSize","companyAddressLine1","Papa","trans","addressLine1","addressLine2","city","legalName","slice","setFontSize","startY","marginTop","head","rowPageBreak","bodyStyles","valign","merchantID","addImage","autoTable","save","SuperAdminEmails","updateAccountMapKeyWord","obj","oldObject","mapKeyword","telephoneNumber","websiteUrl","telNumber","Number","filteredDocumentCategories","getDocumentsCategories","category","isAdminCategory","documents","defaultTypeIds","typeIds","neededInBusinessTypeIds","isBankUpdateCategory","allNeededDocumentTypeIds","flattenDeep","merchantDocumentTypeIds","alreadyUploadedDocumentTypes","pendingDocumentTypeIds","pendingDocumentCategories","uploadedDocumentTypeIdsInThisCategory","intersection","categoryNeedsMoreUploads","uploadedDocument","notYetUploadedTypeIdsForUploadDocument","isOptionalCategory","forEach","b","needsOnlyGenericCategoryDocs","isAGenericCategory","validateEmailAddress","subStr","emailValidationMessage","symbol","InputValidators","isEmailValid","i","characterCode","charCodeAt","encryptData","CryptoJS","AES","encrypt","cleverTapClick","time_stamp","clevertap","filterRefundDescription","regexArr","match","isJsonString","filterDescription","maskCharacter","mask","n","merchantTypes","roundOfInteger","EPSILON","formatToFixesTwo","numStr","isValidPassword","forbiddenTerms","nameParts","term","tokenData","currentTime","unix","exp","merchantTypesEnum","BIG_TABLE","ALIAS","USER_SERVICE","AUTH_SERVICE","CUSTOMER_SERVICE","MERCHANTS_SERVICE","NOTIFICATIONS_SERVICE","TransactionEndpoint","GetPaymentsEndpoint","RefundPaymentEndpoint","InitaliseSaleEndpoint","SETTINGS_SERVICE","DOCUMENTS_SERVICE","ADMIN_SERVICE","TAXONOMY_SERVICE","AdyenServiceEndpoint","ADYEN_SERVICE","DNA_SERVICE","RESELLER_SERVICE","WA_CHATBOT","WA_CHATBOT_VISIBILITY","LoqateApiKey","CookieUserPValue","threeDSRedirectUrl","DATMAN_API_BASE_URL","DATMAN_TOKEN","CLEVERTAP_ID","PORTAL_API_BASE_URL","supportedLanguages","UNDERMAINTAINANCE","AdminLogoutTime","REACT_APP_DOWNLOAD_LINK","REACT_APP_CARD_PAYMENT_ARCHIVE_DATE","REACT_APP_ERROR_IMAGE","REACT_APP_SIGUP_EXPIRY_TIME","REACT_APP_SIGNUP_LINK_REACTIVATION_PERIOD","REACT_APP_TERMS_AND_CONDITION_URL","withoutLabel","textField","breakpoints","up","between","useOutlinedInputStyles","borderWidth","focused","notchedOutline","PasswordInputComponent","outlinedInputClasses","showPassword","setShowPassword","minLength","pattern","required","autoFocus","FormControl","OutlinedInput","icon","trim","endAdornment","InputAdornment","arrow","PasswordInput","LoginFormComponent","getRoute","setEmail","setPassword","setError","errorCodeMsg","setErrorCodeMsg","isСonfirmationEmailShows","isEmailConfirmedSuccessfully","setСonfirmationEmailShows","verificationCode","setVerificationCode","isPasswordlessLogin","setIsPasswordlessLogin","passwordLessEmail","setPasswordLessEmail","passwordLessPhone","setPasswordLessPhone","loginWithEmail","verifyCode","loginWithPhone","needToVerifyCode","codeSentToPhone","resend","remainingRetryNumber","resetPasswordLessFields","showSmsSent","setShowSmsSent","cloakedPhoneNumber","isUpdatePasswordMessageShows","setIsUpdatePasswordMessageShows","querySubmitted","setQuerySubmitted","generalPageError","setGeneralPageError","setOrangeMessageStyle","orangeMessageStyle","isDisabled","setCountryCodeByNumber","countryCodeByNumber","alert_message","SnackBarAndAlert","loginForm","Form","headerInfo","Label","passwordLessForm","passwordLessInput","alwaysDefaultMask","phone","countryCode","inputClass","phoneInput","passwordLessButton","Group","controlId","Control","Link","underline","isInvalid","onBlur","getArrayFromString","Feedback","loginFormButton","verifyCodeBtn","verifyBtn","justify","to","loginButton","orSpan","orangeColor","alertResetPassword","Spinner","animation","errorCodes","LoginForm","setErrorCode","setLoading","setIsEmailConfirmedSuccessfully","customChallengePreviousResponseEmail","setCustomChallengePreviousResponseEmail","customChallengePreviousResponsePhone","setCustomChallengePreviousResponsePhone","passwordLessPhoneRelatedEmail","setPasswordLessPhoneRelatedEmail","setNeedToVerifyCode","setCodeSentToPhone","setRemainingRetryNumber","setCloakedPhoneNumber","setIsDisabled","useLocation","local","navigator","language","isOmnipay","invalidAttempts","setInvalidAttempts","storedAttempts","timerStart","timer","clearTimeout","resetCountAndStartTimer","urlParams","email_verification","replaceAll","Hub","listen","currentAuthenticatedUser","bypassCache","thirdPartyResellerUrlParameterCache","saveUserAndSendEmail","UserService","attributes","responseUser","linkQrData","signInUserSession","idToken","authError","pageError","handleSubmit","preventDefault","signIn","username","challengeName","isReseller","Reseller","isAgent","isArray","Relationships","Role","Roles","Agent","CanonicalResellerService","resellerResponse","resellerType","OMNIPAY","isPep","signOut","global","isMerchant","getUserMerchants","merchantsDto","inCompleteOnboardingMerchants","InCompleteOnboardingMerchants","t2sIncompleteOnBoardingFormCheck","completedStepsResponse","documentsResponse","isInComplete","validOnboardingFrom","inCompleteSteps","noDocumentsPending","onboardingStep","diff","updatedPasswordAt","MAX_PASSWORD_CHANGE_DAYS","encodedEmail","encodeURIComponent","redirectUrlForresetPassword","updatedInvalidAttempts","reload","maxAttempts","startLoginWithEmail","startLoginWithPhone","sendCustomChallengeAnswer","answer","parameter","viaPhone","rspAuth","passwordLessPhoneMaskedLength","cloakedPhone","Array","phoneInputElement","getElementsByClassName","focus","focusOnPasswordLessPhoneInput","providerId","resellerUrl","userData","given_name","family_name","picture","responseSocial","newTokenReponse","route","krs","EntityType","BUSINESS","CLIENT","MERCHANT","Permissions","dictionary","Owner","Manager","HomeItemDetailsComponent","HomeWorkItems","SignUpComponent","oldPassword","setOldPassword","confirmPassword","setConfirmPassword","signUpError","setSignUpError","setFirstName","setLastName","forceChangePassword","isUserInvited","setPhone","isT2SUser","setIsPasswordValid","isPasswordValid","isPhoneValid","setPhoneCountryIdentificator","redoPasswordValidation","setRedoPasswordValidation","disabledInput","userSelect","signUpForm","gridContainer","labelText","labelId","onKeyPress","readOnly","validaion__messages","Clear","crossIcon","validationTextContainer","validationText","dialCode","countryCodeEditable","honorCurrentPassword","newPassword","signUpFormButton","signUpButton","linkToSignUp","AuthHelper","refreshSession","currentSession","session","refreshSessionPromise","getRefreshToken","SignUpForm","setErrorMessage","verifyEmail","setVerifyEmail","phoneCountryIdentificator","signature","setSignature","messages","invalidConfirmPassword","invalidOldPassword","oldPassAndNewPassMatch","thitdPartyIdExistMessage","setForceChangePassword","successSignupInvite","setSuccessSignupInvite","setIsUserInvited","thirdPartyResellerUrlParameter","setThirdPartyResellerUrlParameter","thirdPartyCustomerKey","setThirdPartyCustomerKey","referralData","setReferralData","setIsT2SUser","setIsPhoneValid","setIsEmailValid","q","getT2SReferralLinkPayload","OwnerFirstName","OwnerLastName","OwnerEmail","OwnerPhoneNumber","OwnerAddressCountry","userDetails","decodeURIComponent","tmpPhoneIsValid","phoneWithoutZero","phone_number","referralDataValue","createUserMerchantUsingThirdPartyCustomerKey","merchantCreationResp","merchantRetrivalResp","sortBy","refreshCurrentSession","ModalUserIcon","ModalUserManagementComponent","show","setShow","entityType","setEntityType","entities","setSelectedRole","Modal","modalUserManagement","dialogClassName","modalDialog","onHide","Body","modalBody","as","pointer","keys","role","Alert","dismissible","Footer","ModalUserManagement","selectedUser","loadUsersAfterOperation","setEntities","selectedEntity","setRoles","selectedRole","BusinessService","businesses","ClientService","MerchantService","RoleService","EntitiesService","userId","roleId","TableProjectComponent","dataList","columns","indexColumn","classesForRow","Table","table","striped","bordered","hover","responsive","column","row","TableProject","SearchUserFormComponent","formSubmit","assignClick","success","isLoadingSubmit","inviteFlow","existsRelationship","setExistsRelationship","isDisabledChangeRoleButton","centered","Header","searchUserForm","loadingSubmit","searchBtn","Row","userResult","Col","namesColumn","names","emailColumn","selectRole","md","selectBtn","alert","SearchUserForm","setIsLoadingSubmit","setSuccess","setInviteFlow","setIsDisabledChangeRoleButton","RelationshipService","CreateUserFormComponent","successfully","closeButton","createUserForm","alertWindow","CreateUserForm","setSuccessfully","ModalConfirmationComponent","modalConfirmation","modalHeader","ModalConfirmation","ModalBusinessCreationComponent","showModal","hideModal","setServerMessage","businessCreationTitle","CloseButton","validationMessage","setBusinessName","Text","serverMessage","alertError","aria-hidden","ModalBusinessCreation","initialValidationMessage","businessNameState","setBusinessNameState","setValidationMessage","userHasBusiness","setUserHasBusiness","validationResult","validateBusinessName","responseCreateBusiness","onActionDone","ModalClientCreationComponent","clientCreationTitle","setClientName","ModalClientCreation","clientNameState","setClientNameState","validateClientNameIsUnique","validateClientNameUniqueness","createClientResponse","setUpdateWorkItems","validateClientName","ModalMerchantCreationComponent","merchantCreationTitle","setMerchantName","ModalMerchantCreation","merchantNameState","setMerchantNameState","validateMerchantNameIsUnique","validateMerchantNameUniqueness","createMerchantResponse","validateMerchantName","AuthWithSocialMedia","ModalCreateMerchantAccountComponent","setOpen","onCreateMerchant","setName","setCountry","isT2SInvitedUser","isDatManReseller","onUpdateMerchantName","merchantNameRef","disableBackdropClick","disableEscapeKeyDown","textFieldName","inputRef","NativeSelect","selectCountry","Input","severity","cancelBtn","ModalCreateMerchantAccount","setDisabled","setIsT2SInvitedUser","setUpdateMerchantData","useRef","supportedCountries","BusinessAddressCountry","TradingName","current","createUserMerchant","thirdPartyCustomerId","noRedirect","f","refferalDataValue","setOpenMerchantList","loadMerchants","updateMerchantInfo","areLoadedMerchants","MerchantListComponent","refreshBalance","useBalanceContext","openUpdateMerchantDataModal","needToSignTermsAndCondition","setNeedToSignTermsAndCondition","ListItems","selectedMerchant","listItem","handleClick","selectMerchant","isAdminUserType","nameWithAddress","wrapperRef","listContainer","listContentContainer","expandArrow","ExpandLess","ExpandMore","Edit","editIcon","Collapse","in","timeout","unmountOnExit","overflowCollapse","setIsOpenCreateModal","createNewMerchant","StoreMallDirectoryTwoTone","listIcon","isOpenCreateModal","MerchantListContainer","searchedMerchantList","setSearchedMerchantList","setSelectedMerchant","setInCompleteOnboardingMerchants","skip_clicked","isNewCreated","forcedMerchantId","referralDataString","getAdminMerchants","sortedmerchants","merch","merchantFromGlobalState","existMerchantFromList","referral_data","PaymentsService","GetPaymentProvider","paymentProviders","onGetMerchants","forceSelectMerchantId","forcedMerchantIdThroughParam","shouldLoadMerchants","shouldLoadThisMerchant","pageUrlNeedsMerchantIdUpdate","documentPageUrlMerchantIdUpdate","MissingMerchantDocumentUpdate","notSignedTermsAndConditions","noOfNotSignedTermsAndConditions","isCreatedByCanonicalReseller","initCompletedSteps","completedOnboarding","endTime","startTime","seconds","timeOut","handleHideDropdown","handleClickOutside","contains","addEventListener","removeEventListener","StyledBadge","badge","Badge","MerchantDashBoardMenuComponent","context","Context","defaultOpenPaymentCollapse","defaultOpenQRCollapse","some","pagePath","pathname","openPaymentCollapse","setOpenPaymentCollapse","notShowOption","merchantType","openQrCollapse","setOpenQrCollapse","paymentUrl","payoutsUrl","gfoPaymentsUrl","chargebackUrl","merchantChargesUrl","internalTransfersUrl","isDynamicMenu","pdqTransactionUrl","showPdq","showVT","setIsCopyAlertOpen","isCopyAlertOpen","handleCleverClick","listRefundUrl","chargebackListUrl","mediaLessThan960px","useMediaQuery","isCanonicalResellerUser","isMerchantAccountDisabled","CLOSED","showTermsAndCondition","tabs","HowToRegOutlined","iconSize","disableForClosedMerchant","Payment","openCollapse","internalTransferStatus","SettingsOutlined","DescriptionOutlined","badgeNo","ExitToApp","HelpOutline","routeToGo","helpPageURL","showInResellerView","AccountBalanceWallet","separator","Search","SupervisorAccount","NoteAdd","ViewList","RepeatOne","AccountBalance","userRole","User","tabObj","selectedTab","setSelectedTab","menuContainer","headerContainer","headerItem","ArrowBack","arrowBack","tab","menuItemContainer","activeMenu","shouldCheckForUrgentMessages","scrollTo","behavior","disableMenuContainer","badgeContent","data-tooltip","menuText","disableMenuText","disablePadding","dense","nestedMenuText","merchantIdMenuItemContainer","copyIcon","clipboard","writeText","LanguageOutlined","selectLanguage","languageSelect","MerchantDashBoardMenu","setShowPdq","setShowVT","setNoOfNotSignedTermsAndConditions","noOfSignedTermsAndConditions","setNoOfSignedTermsAndConditions","merchantProductRequired","pdq","product","productName","ProductsRequired","vtObj","Virtual_Terminal","signingInfo","canonicalReseller","termsAndConditionInfo","AntSwitch","switchBase","grey","opacity","thumb","track","checked","Switch","AntSwitchComponent","MerchantDashBoardNavigationHeader","MerchantDashboardOptionsComponent","passwordAge","passwordExpiryDate","add","verified","setVerified","showMessage","setShowMessage","verificationEmailMessage","messageType","snackbar","userHasSeenSnackbar","isOwner","hidePaper","isEmailConfirmed","showBanner","Paper","stepsContainer","listItemContainer","center","CheckCircleSharp","success_icon","Cancel","error_icon","merchant__creation__container","textBold","itemContainerText2","linkFont","merchant_remove_icon","last__listItem","text__option__container","merchant__creation__message__remove_icon","bannerStyle","bannerMessageStyle","iconUnverified","ErrorOutline","bannerMessage","passwordExpiryBanner","NOT_SUBMITTED","continueOnboardingContainer","continueOnboarding","MerchantDashboardOptions","setVerificationEmailMessage","setMessageType","setSnackbar","diffeneceInTime","triggerDays","SnackbarMessages","PASSWORD_UPCOMING_EXPIRY_MESSAGE","MerchantDashboardPreviewComponent","isMerchantPending","isDatmanReseller","previewContainer","lg","nameOnboardContainer","welcomeName","userName","onboardBtn","orangBtn","greenBtn","disabledBtn","iconButton","Assignment","previewTxtContainer","MerchantDashboardPreview","validBusinessTypeIdsMap","USA","Sole_Trader","Corporation","Limited_LLC","Limited","UKorIRELAND","AUS","Trust","DEFAULT","dropdownTypeOrganisations","dropdownTypeForTrust","AUSStateCodes","USAStateCodes","months","monthEnum","0","1","2","3","4","5","6","7","8","9","10","11","12","reverseMonthEnum","fromEntries","getOnboardingStepName","OnboardingSteps","NAME_AND_ADDRESS","BUSINESS_ADDRESS","getOnboardingTitle","TRADING_ADDRESS","complete","fill","notCompete","OnboardingStepsComponent","onboardingForm","useOnboardingFormContext","steps","currentStep","setStep","getComponent","checkingSummaryCompletion","completedSteps","isT2SMerchant","Stepper","nonLinear","activeStep","orientation","stepper","Step","completed","StepButton","OnboardingStepsMapping","marginLeft","StepContent","summary","every","Boolean","ErrorTooltip","tooltip","OnboardingNameAdressComponent","nextStep","setOnboardingForm","selectAddressData","handleSelectedCompany","getCompanyDetails","setValue","setInputValue","openDropdown","setOpenDropdown","showErrorForRegisteredNumber","registeredNumberErrorMessage","isSoleTrader","setIsSoleTrader","setRegisteredNumberHandler","businessTypes","setIsBankAccountNameSwitchOn","setBankAccountNameVal","setRegBusinessNameVal","legalNameVal","setRegBusinessName","setLegalNameVal","isUKMerchant","registeredBusiness","businessDetails","isRegisteredBusiness","isSameAccountName","isAccountNameSame","languageSwitchEnabled","yesNoSwitch","checkBoxText","tradingName","tradingAddress","accountHolderName","includedCountries","companyContainer","nameAndAddress","companies","company_number","address_snippet","newInputValue","inputLookupCompany","lookupCompanyButton","textButton","registeredNumber","addressData","excludedCountries","OwnerTitle","MR","MISS","MRS","MS","OnboardingNameAdress","regBusinessNameVal","bankAccountNameVal","isBankAccountNameSwitchOn","regBusinessName","selectedCompany","setSelectedCompany","setBusinessTypes","setShowErrorForRegisteredNumber","setRegisteredNumberErrorMessage","regNumberCheckRegexUK","bankSwitch","getBusinessTypeId","typeName","BusinessType","BusinessTypeName","PLC","LLP","businessType","BusinessTypeNameAndID","checkRegBusinessNameVal","checkBankAccountNameVal","checkValues","validateRegNumber","newBusinessTypes","countryBusinessTypes","validateRN","validateRegisteredNumber","CompaniesHouseService","getOwnerDetails","resultPersonsDetails","person","date_of_birth","dateOfBirth","padStart","ownership","natures_of_control","words","word","isNaN","ownershipDetails","titlePerson","name_elements","fullName","personDetails","ownersDetails","nationality","total_results","persons","selectedValue","businessProfile","date_of_creation","timeInBusinessYears","timeInBusinessMonths","postal_code","address_line_1","address_line_2","locality","company_type","soleTradertName","tradingdata","step","businessdata","completeOnboardingStep","line_1","line_2","stringValue","OnboardingOwnerDetailsComponent","shouldNextStep","setShouldNextStep","dobValidationFailed","setPersonDetails","oneHundredValues","phoneNumberValidator","dobInvalidFields","monthInputElementRef","yearInputElementRef","emailInputElementRef","dayChangeHandler","monthChangeHandler","yearChangeHandler","mediaLessThan600px","primaryOwner","nationalities","dateOfBirthWrapper","numberFormatInput","containsErrorDOB","inputMode","allowLeadingZeros","decimalSeparator","allowNegative","isNumericString","onValueChange","aria-describedby","labelWidth","fullWidth","emailValidationPattern","regexString","contactTel","mobileNumber","hidden","businessTitle","selectContainer","ownershipLabel","ownershipType","isPopulated","codeInput","fieldHeight","fieldWidth","fields","ssnLastDigits","OnboardingOwnerDetails","setDobValidationFailed","setDobInvalidFields","dateOfBirthMoment","isDateOfBirthProper","dobFieldsWithIssues","getInvalidDobFields","socialSecurityValidator","validateSocialSecurity","isEmpty","ownerDetails","validatePhoneNumber","fullData","subStepNumber","T2SOnboardingOwnerDetailsComponent","isABNValid","EinErrors","isEINValid","addHyphens","doValidationABN","handleChange","abnErrors","onChangeSameAddress","validationMap","setDialCode","validateName","selectedMonth","setShowUrlValidationMessage","onSSNChange","maskedSSNValue","PPSNumberError","isPPSNumber","doValidationPPS","isUSAMerchant","isIREMerchant","nameInput","space","inputBorder","personalId","invalidNationality","fullOuterBox","monthSelect","tinNumber","phoneInputEmpty","FormControlLabel","checkBoxLabel","control","Checkbox","ownerPrimaryAddress","isSameAsTradingAddress","labelPlacement","unselectedDropdownErrorStyle","CountryCodeOfPhoneNumber","T2SOnboardingOwnerDetails","showUrlValidationMessage","setValidationMap","isMexicanmerchant","setIsABNValid","setAbnErrors","setPPSNumberError","setIsPPSNumber","PPSNumberFirstTime","setPPSNumberFirstTime","fistTime","setFirstTime","setIsEINValid","setEinErrors","EinNumberFirstTime","setEinNumberFirstTime","setMaskedSSNValue","ssnValue","setSsnValue","isAUSMerchant","onboardingMonth","setSelectedMonth","isTinNumberEmpty","ONBOARDING_OWNER_DETAILS","personalIdCheck","tinValidationMessage","validateEIN","isvalidAbn","isValidPPSNumber","einCheck","abnCheck","ppsNumberCheck","nameCheck","tinNumberExists","ssnExists","isSSNValid","shouldEnableButton","isSameAsBusinessPhoneNumber","isSameAsBusinessEmail","isCSRFGoingToExpire","adyenFullName","validateABN","inputEmail","validatePPS","formatEIN","cleanValue","validatEinNumber","doValidationEIN","maskedValue","doMasking","strArray","rawValue","formattedValue","addHyphenValue","onChangeSameEmail","onChangeSamePhoneNumber","concat","formattedCard","trimRight","OnboardingOwnerPrimaryAddressComponent","OnboardingOwnerPrimaryAddress","addressDataObj","OnboardingAdressComponent","isFormValid","statusValidationBankAccount","isBankDetailsNotFound","accNumberInputRef","confirmAccountNumber","setConfirmAccountNumber","checkAccountNumber","mediaLessThan750px","mediaLessThan400px","isSameAsBusinessAddress","bsb","routingNumber","transitNumber","financialInstitutionNumber","accountContainer","hideDashes","sortCode","nextElementRef","newAccountNumber","CheckCircle","validIcon","errorIcon","notificationContainer","codeInputIreland","showMessageStyle","nameOfBank","bankAddress1","bankAddress2","BankAccountStatus","OnboardingAdressStep","oldSortCode","setOldSortCode","oldAccountNumber","setOldAccountNumber","setIsFormValid","setStatusValidationBankAccount","setIsBankDetailsNotFound","checkBankAccount","validateBankAccountFields","checkDisabled","validateUKBankDetails","checkValidBankAccount","BankService","accountNumber","IsCorrect","T2SOnboardingAdressComponent","isLimited","T2SOnboardingAdressStep","setIsLimited","ONBOARDING_TRADING_ADDRESS","T2SOnboardingNameAddressComponent","setIsTrust","isTrust","isUSMerchant","businessCategory","T2SOnboardingNameAddress","lengthIssue","setLengthIssue","regNumberCheckRegexMx","isIrelandmerchant","isCanadaMerchant","ONBOARDING_NAME_AND_ADDRESS","countryCheck","vatNumber","checkVatNumber","validateVatNumber","extractAddressLines","companyObj","finalAddressLine1","personalData","OnboardingBusinessDetailsComponent","employeeIdNumber","OnboardingBusinessDetailsStep","validator","isEmail","NewZealandAccountNumberComponent","firstInputElementRef","secondInputElementRef","thirdInputElementRef","firstInputChangeHandler","secondInputChangeHandler","thirdInputChangeHandler","firstInputValues","secondInputValues","thirdInputValues","wrapper","wrapper__inputs","wrapper__inputs__disableInput","wrapper__inputs__first","wrapper__inputs__dash","wrapper__inputs__second","wrapper__inputs__third","NewZealandAccountNumberContainer","focusFirst","setFirstInputValues","setSecondInputValues","setThirdInputValues","toSendValues","T2SOnboardingBankDetailsComponent","showErrorForAccNo","AccNoErrorMessage","setBankAccountHandler","checkvalue","WATCHLIST","keyCode","notificationMessageContainer","ibannotificationContainer","trimmedValue","isCharacterAllowed","isBackspace","T2SOnboardingBankDetailsStep","setShowErrorForAccNo","setAccNoErrorMessage","accountCodeLength","setAccountCodeLength","ONBOARDING_BANK_DETAILS","validation","validateAcctNumber","AccountNumberLength","validateAccNumber","bankValidationMap","isSame","OnboardingBusinessProfileComponent","businessDescriptions","checkEmptyArray","timeInBusiness","numberValue","isBusinessMakingProducts","productDescriptions","productDescription","stockLocation","isStockSufficient","OnboardingBusinessProfile","checkEmptyValues","startedBusinessAt","subtract","utcOffset","toDate","LoaderComponent","loader","loader__component","Loader","PaymentsListComponent","isRefundHappen","setIsRefundHappen","showAcquirer","selectedAcquirer","acquirerName","paymentVoidSnackbar","setPaymentVoidSnackbar","handleVoidTransaction","isDateRangeArchived","isDateBeforeCutOffDate","inputDate","thresholdDate","isBefore","dateRangeArchived","startDate","endDate","PaymentsList","payments","setPayments","setTotal","dates","daterange","transactionsListingOptions","getPaymentsList","isWeekly","weekStart","from","GetPayments","paymentsList","filteredPayments","payment_provider","getAllPaymentsForRange","getTxnList","getTransactions","time","isAfter","start","end","paymentId","VoidIncorrectTransaction","GfoPaymentsListComponent","GfoPaymentsList","gfoPayments","setGfoPayments","ChargebackListComponent","ChargebackList","chargebacks","setChargebacks","isoWeek","ChargebacksService","chargebacksList","Resolution","ModalChargebackActionComponent","openModal","setOpenModal","headCells","chargebackDropdown","setChargebackDropdown","chargebackDate","setChargebackDate","chargebackComments","setChargebackComments","chargebackOutcome","setChargebackOutcome","chargebackBtn","chargebackBtnHandler","chargebackStatus","showingReceiptData","showReceipt","receiptDate","receiptReason","chargebackReason","receiptComments","receiptOutcome","dialog","sx","m","p","dialogTitle","closeIcon","Divider","dialogContent","banner","bannerPara","TableContainer","stickyHeader","TableBody","TableRow","TableCell","tableDataCell","datePicker","InputLabelProps","shrink","min","toISOString","datePickerReason","disableUnderline","dialogbtn","refundProcess","ModalChargebackAction","setChargebackStatus","chargebackTransactionId","setChargebackListStatus","chargebackListStatus","setSnackbarMessage","setSnackbarMessageType","setShowSnackbarStatus","defaultchargeback","showChargeback","setShowChargeback","chargebackExists","payment","setChargebackBtn","chargebackCreated","setChargebackCreated","openSnackbar","setOpenSnackbar","transactionMap","TransactionMap","UpdateChargebackList","transaction_id","comments","numeric","hideSortingIcon","alignCenter","chargebackDetails","visuallyHidden","clip","margin","tableCellSmallSize","ListchargebackComponent","rows","handleChangePage","handleChangeRowsPerPage","page","rowsPerPage","handleModal","setTotalAmount","fetchChargebackList","setChargebackTransactionId","snackbarMessage","showSnackbarStatus","setTxSearchTerm","onSearchbyTx","txSearchTerm","alertMessage","Container","mainContainer","searchArea","listChargeback","z-index","searchMerchants","searchButton","textAlign","py","payment_time","merchant_id","payment_status","cross_reference","tx_auth_no","last_4_digits","firstname","charge_back_exists","cb_reason","outcome","transaction_map","processRefundButton","TableFooter","TablePagination","rowsPerPageOptions","SelectProps","native","onChangePage","onChangeRowsPerPage","chargebackNone","colSpan","ListChargebacks","setListChargeback","path","range","setPage","setRowsPerPage","initialListChargeback","setInitialListChargeback","metaKey","getElementById","activeElement","getChargebackList","responseList","urls","next","previous","isoWeekYear","dateRangeOfWeek","newPage","refund","MerchantChargesListComponent","MerchantChargesList","setOpenMerchantModal","openMerchantModal","merchantCharges","setMerchantCharges","merchantChargeResponse","setMerchantChargeResponse","merchantChargeResponseFlag","setMerchantChargeResponseFlag","merchantTradingAddress","setMerchantTradingAddress","setCompanyAddress","setCount","newRowsPerPage","thePage","theRowsPerPage","MerchantChargesService","merchantChargesList","BusinessDetailsService","merchantResponse","PayoutsListComponent","PayoutsList","payouts","setPayouts","notInBatchPayouts","setNotInBatchPayouts","allPayouts","setAllPayouts","allNotInBatchPayouts","setAllNotInBatchPayouts","setIsOwner","balance","notReceived","selectedProvider","refresh","setRefresh","getPayoutsList","PayoutsService","getAllPayouts","selectedDate","payoutsList","inBatchList","transaction_data","in_batch","notReceivedInBatchList","not_received","filterPayouts","not_in_batch","notInBatchList","AcquirersToAcquirerName","ALL","filterdInBatch","payout","provider","ReverseAcquirersToAcquirerName","filterdNotInBatch","tableRow","selected","checkbox","InternalTransfersListTableComponent","isSelected","transferType","showCancelTransaction","showRefundTransaction","paymentsNone","numSelected","rowCount","hideSelectAll","isItemSelected","aria-checked","tabIndex","getCurrencyThreeAlpha","align","setShowCancelModel","setShowRefundModel","resultsCount","showCancelModel","showRefundModel","sender","InternalTransfersListTable","setOrder","setOrderBy","setSelected","setSupplier","setAmount","setTransactionId","setSender","selectedIndex","newSelected","handleSelectAllClick","newSelecteds","handleRequestSort","InternalTransfersListComponent","InternalTransfersList","setInternalTransfers","setTransferType","setTotalPendingAmount","setEnableWithdrawal","InternalTransfersService","internalTransfersList","ModalEmailComponent","handleClose","inValidForm","setEmailValidationMessage","Title","defaultValue","requestAmountButton","getCurrencySymbol","emailForm","font","ModalEmail","setDescription","userEmail","setUserEmail","setMessage","setInValidForm","getDnaData","InitialiseSaleService","merchantAcquirer","getCurrencyCode","acquirer","VirtualTerminalService","ModalInvoiceComponent","formFields","handleInvoiceFieldsChange","showPayByInvoiceModal","quantity","dateOfExpiry","emailError","supplyDate","backdrop","keyboard","heading","thousandSeparator","decimalScale","fixedDecimalScale","quantityInput","max","invoiceSendForm","ModalInvoice","initialFormFields","phoneError","useReducer","curFields","newFields","setFormFields","field","isFormInvalid","isError","validateInternationPhoneNumber","cxInfo","receiptEmail","VirtualTerminalPayments","VirtualTerminalPaymentsText","customer_card","invoice","VirtualTerminalComponent","handleAmountChange","handleDescriptionChange","isMaxAmount","showPayByLinkModal","setShowPayByLinkModal","isButtonDisabled","setShowReceipt","setShowPayByInvoiceModal","paymentMode","setPaymentMode","handlePayment","isVat","isInvoiceEnabled","cardContainer","cardFormContainer","htmlFor","myInput","startAdornment","isAllowed","cardInput","headerText","paymentOptionContainer","paymentBox","proceedViaLink","block","setPhoneInput","setIsVat","isDna","updatedAt","isReceiptEnabled","CardDetailsFormComponent","cardMonth","cardYear","cardHolder","cardHolderAddress","dispatch","cardNumberRef","cardHolderRef","cardMonthRef","cardCvvRef","cardYearRef","onCardInputFocus","onCardInputBlur","initiateSale","propState","cvv","handleFormChange","onCardNumberChange","onCvvFocus","onCvvBlur","onInput","cardNumberMask","cardForm","onFocus","payAmount","cardDetails","card_number","card_exp_month","card_exp_year","card_cvv","cardHolderName","showLoadingSpinner","paymentSuccess","CardDetailsForm","isFormDataValid","setCardNumberMask","cardYearValid","currentYear","String","isCardYearValid","cardMonthValid","isCardMonthValid","cardCvvValid","isCvvValid","cardHolderValid","isCardHolderNameValid","isCardFlipped","charCode","cardLogoBgImage","visa","visaLogo","amex","amexLogo","mastercard","mastercardLogo","unionpay","unionpayLogo","troy","troyLogo","discover","discoverLogo","CardImageComponent","cardCvv","currentFocusedElm","onCardElementClick","cardDateRef","useCardType","maskCardNumber","cardBackground","chip","TransitionGroup","CSSTransition","classNames","paddingLeft","SwitchTransition","in-out","out-in","CardImage","setStyle","useMemo","CARDS","re","number","entries","cardType","offsetWidth","offsetHeight","offsetLeft","offsetTop","cardNumberArr","getSource","acs","paReq","ModalTakePaymentComponent","onUpdateState","onModalClose","showIframe","srcDoc","acsUrl","frameBorder","showSpinner","history","ModalTakePayment","handleIframeTask","CardDetailsComponent","formFieldsRefObj","focusFormFieldByKey","cardElementsRef","onCardFormInputFocus","cardDate","paRes","action","isCardNumberValid","isCreditCard","isCardValid","CardDetails","userRef","uuidv4","descriptionInfo","initialState","reducer","TakePaymentsReducer","prevState","usePrevious","formattedName","threeDSreq","finalise3DSSale","onbeforeunload","_event","inputName","refByName","carddate","TeamMembersComponent","currentMoment","members","onSearch","onRoleFilter","onStatusFilter","onRemoveMember","removeMember","inviteMember","onResend","resendSuccess","setResendSuccess","isAlreadyMaxLimit","maxUserCount","disableInvite","setSelectedStatus","setSearchString","selectedStatus","searchString","agentDropdownToBeVisible","isCanonicalReseller","isMerchantAccountClosed","teamContainer","headerDiv","pageTitle","itemContainer","buttonNewMemberDisabled","buttonNewMember","AddRounded","ModalInviteUser","totalTeamMembers","member","signupStatus","activeStatus","pendingStatus","updated_at","mb","ml","ModalRemoveUser","SignupStatus","active","pending","TeamMembers","teamMembers","setTeamMembers","filterMembers","setFilterMembers","setUserRole","setEmailsAndRoles","setRemoveMember","setIsAlreadyMaxLimit","setDisableInvite","TeamService","team","getCurrentUserRole","searchField","userStatus","roleName","membersForFilter","ModalInviteUserComponent","validateEmptyField","setRole","addNewUserEmailAndRole","removeNewUserEmailAndRole","emailValidationMessagesArray","duplicateEmailMessage","inviteMembersTitle","headerDivider","title_info","emailAndRole","email_input","userRolesContainer","radio_with_label_container","roleContainer","radio_container","Radio","radio_btn","agentRole","removeUserButton","HighlightOff","duplicateEmailContainer","setDuplicateEmailMessage","setEmailValidationMessagesArray","allUsersEmail","setAllUserEmails","allEmail","uniqueEmailsWithoutBoolean","emailsAndRole","uniqueEmailsFinal","Set","removeDuplicates","uniqueEmailsWithoutBooleanFinal","alreadyExist","tempArray","allEmailsAndRolesAreValid","tempEmailsAndRoles","ModalUpdateBankCompletionComponent","bankUpdateDialogBox","setBankUpdateDialogBox","continueUpdating","override","bankDetailsUpdateInitiated","overRideRequest","leavebtn","dilogbtn","ModalUpdateBankCompletion","setBankUpdateDetailsInitiated","newBankDetailsToSave","raiseBankDetailsUpdateRequest","sendOtp","userType","ModalUpdateBankVerifyComponent","onCancel","onVerify","bankUpdateVerifyDialogBox","otpText","setOtpText","isActiveTimer","actionFormContainer","verificationTitle","bold","verificationSubtitle","otpField","invalidFeedback","buttonContainer","resendBox","resendButton","submitBox","submitButton","resendButtonText","ModalUpdateBankVerify","setBankUpdateVerifyDialogBox","errorTimer","setSeconds","setIsActiveTimer","OtpService","resendOtp","verifyOtp","interval","clearInterval","setInterval","ProductsRequiredComponent","productsRequired","selectedProducts","PropTypes","func","bool","productsRequiredIds","borderItemSpaces","OnboardingTransactionProfileStepOneComponent","switchContainer","yes_no_Switch","transactionProfile","stepOne","isDepositsTaken","borderItems","whiteRoundBorders","inBorderText","goods","cardTurnover","disabledText","depositFarDays","noDeliveryDays","isPrePayment","nonRoundBorders","fullPrePayments","advanceFullPaymentsDays","OnboardingTransactionProfileStepOne","checkValuesForDepositsTaken","checkValuesForPrePayment","transactionProfileData","OnboardingTransactionProfileComponentStepTwo","stepTwo","companyTurnOverActual","companyTurnOverProjected","cardTurnOverActual","cardTurnOverProjected","buttonGroupDirection","priceRangeMin","priceRangeMax","priceRangeAvg","OnboardingTransactionProfileStpTwo","OnboardingTransactionProfileComponentStepThree","stepThreeContainer","stepThree","isMotoPayment","isMaxTicketApplied","maxTicketValue","boldText","totalCardTurnoverIsMoto","advanceGoodsMotoProvidedDays","autoRenewalLabel","autoRenewalSwitch","isAutoRenewTransactions","motoReasonContainer","motoRenewalReason","OnboardingTransactionProfileStepThree","checkValuesForMotoPayment","OnboardingTransactionProfileComponent","subStep","nextSubStep","GetSubStepComponent","OnboardingTransactionProfile","setSubStep","MerchantSettingsComponent","isModalDeleteAccount","setIsModalDeleteAccount","isModalCloseAccount","setIsModalCloseAccount","isModalConfirmationCloseAccount","setIsModalConfirmationCloseAccount","isClosureRequested","canViewAndEditTeam","isNotSubmitted","isActive","redirected","isWatchList","isCanonicalResellerMerchant","noOfNotSignedAcquirerTermsAndConditions","notification","settingsContainer","divTitle","settingsTitle","navContainer","listItemStyle","settings__buttons","setOpenConfirmation","MerchantSettings","setIsMerchant","setCanViewAndEditTeam","setIsNotSubmitted","setIsActive","setIsWatchList","setIsAdmin","OnboardingSummaryComponent","fetchingData","telephoneDisabled","isUsaMerchant","portalName","gutterBottom","enablePhoneInput","codebgcolor","footerContainer","defaultMessage","termsandconditions","doneBtn","modal","modalText","modalTitle","br","confirmButton","OnboardingFormStatus","OnboardingSummary","setFetchingData","setShowModal","SUBMIT_ONBOARDING","incompleteBoardingFormCheck","formStatusRes","formStatus","checkStatus","checkResponse","completeOnboarding","OnboardingDocumentsComponent","uploadBtnName","OnboardingDocumentsStep","uploadDocuments","validForm","uploadSuccess","ModalPayoutsMarkNotReceivedComponent","onmarkConfirm","markPayout","containerDialog","payoutStatus","RESEND","NOT_RECEIVED","batch_id","ModalPayoutsMarkNotReceived","ModalRemoveUserComponent","onRemoveConfirm","SpanStyles","UpdateBankInfoComponent","confirmExistingSortCode","setConfirmExistingSortCode","confirmExistingAcountNumber","setConfirmExistingAcountNumber","confirmExistingIBAN","setConfirmExistingIBAN","newSortCode","setNewSortCode","newBsbCode","setNewBsbCode","newIBAN","setNewIBAN","newAcountNumber","setNewAcountNumber","newAcountNumberConfirm","setNewAcountNumberConfirm","newIBANConfirm","setNewIBANConfirm","newAcountHolder","setNewAcountHolder","showUKValidation","showIrelandValidation","existingAccNumberInputRef","newAccNumberInputRef","statusValidationIBAN","setStatusValidationIBAN","confirmExistingBsbCode","setConfirmExistingBsbCode","newAustraliaAccountNum","setNewAustraliaAccountNum","confirmAustraliaAcountNum","setConfirmAustraliaAcountNum","newAustraliaAcountNumConfirm","setNewAustraliaAcountNumConfirm","setBankData","doAutoFocus","newNZAcountNumber","setNewNZAcountNumber","confirmExistingNZAcountNumber","setConfirmExistingNZAcountNumber","newNZAcountNumberConfirm","setNewNZAcountNumberConfirm","showErrorForNewAccNo","newAccNoErrorMessage","checkValue","otpError","setOtpError","confirmExistingRouteNum","setConfirmExistingRouteNum","setConfirmUnitedStatesAcountNum","setNewRouteNum","setNewUnitedStatesAccountNum","setNewUnitedStatesAcountNumConfirm","confirmUnitedStatesAcountNum","newRouteNum","newUnitedStatesAccountNum","newAcountNumConfirm","bankName","bankNameFieldOnChange","bankNameFieldOnBlur","bankNameFieldOnKeyDown","datmanMerchant","updateBankInfoContainer","inputs","container_title","updateBankDetailsForm","bsbexistingContainer","itemForm","bsbInput","containerItem","codeInput__input","divider","existingContainer","holderName","validationWrapper","formLeftSide","formRightSide","irelandAccountHolderName","BankAccountLengthConstaints","BANK_VERIFY","updateButtonContainer","updateButton","UpdateBankInfo","bankData","setLoader","setPhoneNumber","newUnitedStatesAcountNumConfirm","setOverRideRequest","setNewBankDetailsToSave","setShowErrorForNewAccNo","setNewAccNoErrorMessage","setBankName","setShowUKValidation","setShowIrelandValidation","showAustraliaValidation","setShowAustraliaValidation","showUnitedStatesValidation","setShowUnitedStatesValidation","showNZValidation","setShowNZValidation","setBusinessDetails","bucketDocuments","UPDATE_BANK_INFO","retrieveBusinessDetails","businessDetailsResult","validatenewAcctNumber","allfields","validateAustraliaBankDetails","allFields","validateIrelandBankDetails","validateNZBankDetails","validateUnitedStatesBankDetails","validateData","bankDetailsData","validateBankDetailsData","validateIrelandData","validateIrelandBankDetailsData","validateNZData","validateNZBankDetailsData","validateMypayData","validateMypayBankDetailsData","validateAustraliaData","validateUnitedStatesData","createOtp","newBankDocs","newBankDetails","UppdateAccountComponent","setOwnerDetails","modalMessage","onModalClick","BusinessName","BusinessAddress","setBusinessAddress","OwnerName","setOwnerName","OwnerAddress","BankStatement","BusinessUtility","Identity","setOwnerAddress","UpdatesContainer","formContainer","addresData","updateBtn","setModalMessage","setBankStatement","setBusinessUtility","setIdentity","successfullUpdate","setSuccessfullUpdate","setAccountNumber","setSortCode","oldBusinessDetails","setOldBusinessDetails","oldOwnerDetails","setOldOwnerDetails","allFieldsCompleted","updatedAccount","UPDATE_ACCOUNT_INFO","getMerchantBusinessDetails","validate","isBankAccountVerified","isAccountVerified","INTERNAL_SERVER_ERROR","setObject","UpdateAccountMypayComponent","updateAccountMypayContainer","UpdateAccountMypay","isWebsiteUrlValid","updatedOwnerDetails","updatedBusinessDetails","updatedAccountDetails","UpdateAccountResellerMerchantComponent","setPhoneCountryDialCode","formSection","county","UpdateAccountResellerMerchant","phoneCountryDialCode","popper","PaymentActionComponent","balanceIsLoading","textPlaceHolder","btnText","onBtnClick","textInСircle","showActionError","cantWithdraw","paymentActionValidation","renderPopup","paymentType","isSuccessWithdraw","setIsSuccessWithdraw","successMessage","cantWithdrawMessage","setOpenView","openView","hidePaymentActions","notShowWithdrawals","manualWithdrawalStatus","wrapperSingle","nameContainer","nameLogo","newContainer","viewBalanceContainer","balanceLoading","leftAndAbove","balanceCurrencySign","displayType","inputAndButtonContainer","buttonActionContainer","buttonAction","buttonText","nameButton","max-width","alignContent","borderBottom","withdrawalStatus","ALLOW_WITHDRAWAL","newInputContainer","newInputWrapper","inputBalance","newButtonActionContainer","withdrawalMessage","PaymentAction","setSuccessMessage","availableBalance","setShowActionError","textInCircle","isVerifiedBank","setIsVerifiedBank","getBankStatus","allowWithdrawals","setCantWithdraw","setCantWithdrawMessage","cantWithDrawValidationResult","validateWithdraw","PaymentType","ChargeBack","InternalTransfer","InternalTransferSubmission","transferAmount","setTransferAmount","MerchantCharges","Withdrawal","WithdrawalSubmission","withdrawalAmount","setWithdrawalAmount","validatePaymentAmount","ModalAcquirerFilterComponent","setAcquirerFilter","acquirerFilter","handleAcquirerChange","BackdropProps","menuItem","ModalAcquirerFilter","popover","typography","paddingRight","textTransform","PaymentsFilterComponent","anchorEl","setAnchorEl","channelFilter","setChannelFilter","disableRipple","startIcon","currentTarget","Popover","anchorOrigin","vertical","horizontal","transformOrigin","filterHeader","filterItem","px","PaymentsFilter","days","ModalExportReportScheduleComponent","timeFrame","handleTimeFrameChange","weeklyScheduleDay","setWeeklyScheduleDay","monthlyScheduleDay","setMonthlyScheduleDay","customScheduleFromDay","setCustomScheduleFromDay","customScheduleToDay","setCustomScheduleToDay","customScheduleOnDay","setCustomScheduleOnDay","disableExportBtn","schedulePaymentsExport","datesArray","overflow","mx","selectTimeFrame","paraText","exportSelect","dialogContentTextFieldWeekly","dialogContento","paraTextCustom","LocalizationProvider","dateAdapter","AdapterDayjs","MobileDatePicker","inputFormat","dialogContentDatePicker","minDate","dialogContentTextFieldTo","dialogContentp","dialogContentDatePickerVariant","dialogActions","ModalExportScheduleReport","reportType","setShowReportModel","showReportModel","setShowReportScheduleModel","scheduleExportSnackBar","setScheduleExportSnackBar","setTimeFrame","weeklyScheduleTime","setWeeklyScheduleTime","monthlyScheduleTime","setMonthlyScheduleTime","customScheduleTime","setCustomScheduleTime","setDisableExportBtn","downloadFormat","setDownloadFormat","schedule_date","from_date","to_date","report_type","schedule_by","schedule_day","handleDownloadFormat","ModalSendReportComp","fromDate","setFromDate","setToDate","disable","onSend","sendReportModal","showCharges","setShowCharges","PaperProps","dialogHeader","dividers","maxDate","styleClass","ModalSendReport","setSendReportModal","setExportSnackBar","setDisable","isYear","transactionsRequest","exportInCSV","zIndex","selectInput","exportButton","PageHeaderComponent","setVia","showFilterButton","onCancelExport","onConfirmExport","setOffrange","locationInApp","onAcquirerChange","setSelectedProvider","payoutAcquireFilter","callClevertap","daysRange","setDaysRange","handleMerchantModal","handleClearFilter","onCancelScheduleExport","onConfirmScheduleExport","handleBtnChange","showExportScheduleButton","showReportScheduleModel","exportSnackBar","btn","cutoffdateForExportBreached","showExportButton","isStripe","showMerchantChargesButton","isSuperAdmin","showWeekly","showYearly","showDaily","mediaLessThan640px","showScheduleExportDropdown","showScheduleExportButton","merchantChargesContainer","containerDiv","flexDiv","payoutFlexDiv","rangeSelectTwo","filterBtn","rangeSelectOne","filterIcon","rangeSelect","internalTransferPending","totalPendingInternalTransfersAmount","addSpecialRentBtn","date_start","date_end","type_of_payment","mobileMC","timeFrameDetails","cancelExport","confirmExport","PageHeader","setBtn","onChangeDateRange","transactionListingOptions","setTransactionsListingOptions","dateStart","dateEnd","Interval","prevSelectedAcquirers","selectedAcquirers","remainingAcquirer","subtitle2","CalendarComponent","showRangePicker","offrange","nextPerviousHideButton","calenderDiv","leftAlign","navButton","datePickerAlignment","rangeDiv","disableRange","contentwrap","datepicker","toLocaleDateString","blue","onDateSelected","closeOnSelect","rightAlign","endIcon","Calendar","setStartDate","setEndDate","onChangeDate","stateUrls","setStateUrls","setShowRangePicker","WithdrawalSubmissionComponent","isConfirmDisabled","isCancelDisabled","handlePopupClose","nextPayoutDay","info","withdrawalText","payoutUrl","spanMessage","descriptionContainer","setBalance","setTransitBalance","setAvailableBalance","setInfo","setIsConfirmDisabled","setIsCancelDisabled","ibanIreland","setIbanIreland","setNextpayoutDay","WithdrawalService","getNextPayoutDay","CREATE_WITHDRAWAL_REQUEST","merchantVerificationResponse","balance_transit","available_balance","WITHDRAWAL_ERROR","UpdatePasswordComponent","currentPassword","setCurrentPassword","setNewPassword","newPasswordChange","setNewPasswordChange","updatePasswordCard","inputContainer","placeHolder","buttonUpdatePass","validationNote","UpdatePassword","currentUser","FormForgotPassword","setIsVerificationCodeError","errorExceptionType","disableButton","homeLogo","submitView","submitOtpFormWrapper","isSuccess","showPopup","setShowPopup","primaryActionBtn","marginRight","password_errors","isVerificationCodeError","linkNewRequest","onNewRequest","ForgotPassword","setIsSuccess","setSubmitView","setErrorExceptionType","setDisableButton","confirmationCode","forgotPassword","forgotPasswordSubmit","periodIfNeeded","HelpContactsComponent","rel","HelpContacts","FinishUploadButtonComponent","btnWrapper","btnWrapper__finishBtn","FinishUploadButton","titlee","imgLogo","ProductMultiSelectComponent","setSelectedProduct","ProductMultiSelect","ClientRegisterComponent","products","setSelectedProducts","contactDetails","setContactDetails","configDetails","setConfigDetails","submitSuccess","setSubmitSuccess","submitFail","setSubmitFail","SubmitFail","setBusinessDescriptionSearchString","businessDescriptionSearchString","registerContainer","registrationTitle","addressLine","PhoneInput","businessDescription","mccCode","configContainer","configTitle","acquireBank","dropDown","testMode","threeDSecure","processorId","terminalId","productsContainer","productBox","titleGrid","productsTitle","submitBtn","ClientRegister","setProducts","testmode","setTestmode","setBusinessDescriptions","imgPaths","TaxonomyService","productsRequest","getProducts","descriptionsFetchResponse","Descriptions","mypayClientRegisterService","RequestSupportFormComponent","query","setQuery","handleCloseMessage","requestSupportFormContainer","requestFormTitleGrid","requestFormTitle","requestSupportForm","requestFormFields","InputLabel","requestFormInputRoot","requestFormInput","TextareaAutosize","requestSupportFormSubmitContainer","requestSupportFormSubmit","RequestSupportFormContainer","setMerchantId","setIsDisable","UrgentMessagesService","drawer","CustomLoadingScreenComponent","Backdrop","flexDirection","CustomLoadingScreen","InternalTransferSubmissionComponent","suppliers","currentAmount","setCurrentAmount","errMessageSupplier","errMessageAmount","formSubmitted","handleOnClose","action_items__input__balance","amountInput","supplierSelect","sup","topPadding","rowsMax","maxlength","buttonsContainer","grid","setSuppliers","setErrMessageSupplier","setErrMessageAmount","setFormSubmitted","supplier_id","lazy","GrossVolumeGraph","BalanceCardComponent","calculateFontSize","CardContent","card_name","getCountryImage","CardActions","action_items__account_balance","action_items__currency","BalanceCard","accountBalance","setAccountBalance","getBalance","fetchAccountBalance","balanceResponse","PayoutCardComponent","PayoutCard","setPayout","sum","getPayout","inBatchPayouts","getStripePayout","getStripePayoutsList","stripePayoutsList","NetVolumeCard","Tooltips","PaymentsDetailsComponent","handleCopyPaymentId","closeCopyAlert","snackbarMessageType","isAddCreditTrannsaction","fees","chipTexts","giftCardExits","hideSensitiveDetails","TooltipComp","fee_description","fee_amount","toolTip","headerDetails","headerDetails_title","contentBlock","spanRefId","amount_items","amount_items__currency","spnaCurrency","payed","order_id","AcquirersNameMap","VOUCHER_CREDIT","refund_amount","responsiveDiv","mt","overflowX","last_four_digits","card_last_four_digits","more_info","paymentDetailsDiv","TableHead","tableHeader","lastname","TxnReference","ThreeDsStatus","shopper_id","PaymentDetailsContainer","setPayment","setStatus","setChargebackExists","setTransactionMap","setFees","giftCardEnable","getChipLabel","PaymentProvider","GIFT_CARD","PaymentStatus","getPayment","fetchChargeback","paymentsService","GetSplitFee","payment_id","refunded","feeResponse","StyledToolTip","PayoutDetailsComponent","handleCopyBatchId","nextExpectedDate","payoutStartDate","payoutEndDate","setPaymentId","dateLabel","bankAccountTableLabel","sortCodeLabel","dateField","rowKeyField","date_expected","payoutsDetailsDiv","payoutsDetailsHeader","batch_items","account_number","sort_code","divTableFooter","columnSpan","amountSpan","isModalOpen","confirmationAction","payOutDetails","PayoutDetailsContainer","batchId","setReplaceRoute","setNextExpectedDate","setCSVData","setPayoutStartDate","setPayoutEndDate","SetSnackbar","currenySymbol","payoutDetailsData","dateRequested","Amount","user_deleted","DeletePayoutTransaction","payoutData","goBack","StripePayoutsSummaryAndTransactionsComponents","summaryTableHeaders","transactionsTableHeaders","totalPayouts","summaryDivContainer","sectionTitle","alignLeft","gross","transactionsDivContainer","transactionsHeader","transactionType","fee","net","created","PayoutsSummaryTypes","charge","payment_refund","payout_cancel","payout_failure","transfer","recipient_transfer","transfer_cancel","transfer_failure","recipient_transfer_cancel","recipient_transfer_failure","StripePayoutsSummaryAndTransactions","setSummary","setTotalPayouts","Currency","Gross","Fee","Net","Type","transactionSummary","summaryObject","stripeTransactionSummary","StripePayoutDetailsComponent","overViewFee","containerSectionDiv","payoutAmt","transLabel","arrival_date","containerDetailsDiv","attribute","attributeValues","attributedata","StripePayoutDetailsContainer","setOverViewFee","setTransactions","stripePayoutTransactions","getStripePayoutTransactions","payoutId","transactionsList","transactionData","ContractRentComponent","contractRentDetails","setContractRentDetails","contractRentUpdate","contractBtn","contractLengthMaxValue","isMaxSetupFee","noticePeriodMaxValue","mainGrid","contractLabels","requiredIcon","numberInput","contract_rent","contract_length","notice_period","RadioGroup","setup_fee","setup_charged","extra_comments","services_description","updatebtn","ContractRent","initialTermOptions","shift","inputObj","PendingCustomerInfoComponent","info_bar","info_bar__text","float_right","click_effect","MoreVert","UnfoldMore","unfold_icon","business_detail_id","BusinessDetail","Address","verifyDoc","info_bar__icon","link_font","bank_verify","bottom_bar","PendingCustomerInfo","pendingCustomersData","setPendingCustomersData","GetPendingCustomers","pendingCustomers","ModalConfirmReverseWithdrawalComponent","reverseTheWithdrawals","leaveBtn","dialogBtn","ModalConfirmReverseWithdrawal","updatedMerchantData","accountStatusUpdate","MerchantAccountStatus","accountVerify","bankVerify","autoWithdraw","UpdateMerchantDataForAdmin","AccountStatusComponent","MerchantStatusNames","AccountStatus","setUpdatedMerchantData","PENDING","PENDING_STRIPE","PdqOrderStatus","background_check","need_additional_info","msa","msa_signed","ecom_issued","pos_issued","rejected","request_raised","DNAEventStatus","pdqStatusChecked","ModalPDQConfirmationComponent","confirm","dialogText","modalLoading","ModalPDQConfirmation","AdyenAccountStatus","SUSPENDED","ACCOUNT_CLOSURE_REQUEST","AdyenTier","AdyenAccountCategory","CRITICAL","HIGH","LOW","ManagePartnersComponent","toggleAcquirers","acquirers","submitPartnerApplication","adyenAccountId","dnaErrorList","dnaAccount","dnaApplicationId","merchantData","needAdditionalInfoStatus","setMerchantData","pdqFee","setPdqFee","onConfirm","isDnaDisabled","openDnaForm","closeAdyenAccount","setAdyenCloseModal","adyenCloseModal","isAdyenOnboardingDisabled","acquirerTopGrid","acquirerInput","adyen","dna","applicationStatus","barclays","acquirerButton","missingInfoForAdyen","errorText","dangerouslySetInnerHTML","__html","tables","adyenSubAccountId","isBalanceAccount","onboardingErrors","productType","setData","onboardedMerchant","ManagePartners","setAcquirers","setAdyenAccountId","setDnaApplicationId","adyenAccount","setAdyenAccount","setDnaAccount","setDnaErrorList","setModalLoading","isAdyenDisabled","isDnaOnboarded","isAdyenOnboarded","getDnaAccounts","DnaService","dnaAccounts","getDnaMerchantData","getPdqMerchantData","tempMerchantData","birthDate","getAdyenAccounts","AdyenService","errorDescription","tempdata","errors","dnaErrors","obn","submitAdyenOnboarding","getAttribute","affiliate","adminFunction","BankVerificationComponent","BankVerification","PaymentConfigurationModesModalComponent","testModeUpdate","threeDSecureUpdate","testModeUpdateDialogBox","setTestModeUpdateDialogBox","testModeUpdateInitiated","threeDSecureUpdateInitiated","testModeStatus","threeDSecureStatus","PaymentConfigurationModesDialog","testModeResult","PaymentConfigurationModesComponent","setTestModeUpdate","setThreeDSecureUpdate","setTestModeStatus","setThreeDSecureStatus","PaymentConfigurationModes","AddPricingTierComponent","feeTier","pricingTiers","updateFeeTier","setIsModalUpdateFeeTier","setUpdateFeeTierValue","pricingTier","percentage_fee","fixed_fee","AddPricingTier","setFeeTier","AccountVerificationComponent","AccountVerification","AllowWithdrawalsComponent","AllowWithdrawals","AddMerchantIdComponent","indexId","inputMerchantStoreId","merchantIds","AddMerchnatId","externalMerchant","externalMerchantId","externalMerchantStoreId","ThirdPartyMerchantIdAndStoreIdComponent","merchantIdAndMerchantStoreId","handleCopyMerchantAndStoreId","withLabel","idContainer","textInput","copyIconContainer","ThirdPartyMerchantIdAndStoreId","setMerchantIdAndMerchantStoreId","setWithLabel","merchantIdAndMerchantStoreIds","ids","getMerchantStoreIds","MerchantStoreIdComponent","merchantStoreIds","MerchnatStoreId","PdqStatus","statusToFilter","Usuccessful","Success","Cancelled","omnipay","representAction","acceptAction","PdqListTableComponent","statusFilter","setStatusFilter","refundValue","tabFilterValue","setTabFilterValue","tabList","PdqFilterTabs","refund_status","Refunded","date_time","auth_code","All","transaction_status_id","PdqListTable","setRows","setRefundValue","dataRows","totalValue","Successful","notShow","PdqTransactionsListComponent","PdqTransactionList","pdqlist","setPdqList","startMonth","endMonth","startMonthPdqRequest","endMonthPdqRequest","PdqTransactionsService","pdqTransactions","pdqTransactionsAnotherMonth","pdqTransactionsData","transactionInTimeFrame","totalPDQ","accumulator","maxHeight","referenceBatchId","ExportCSV","fileName","OverlayTrigger","overlay","data-toggle","data-placement","ModalExportReportComponent","reportTitle","intervalStart","intervalEnd","download","reportData","longRun","onRetryStripeReport","stripeReportId","setButtonLoad","buttonLoad","merchantMobile","withChargeData","paymentsFinanceDetails","GFOPaymentsFinanceDetails","showGFOTransaction","setShowGFOTransaction","allPayments","showRetryStripeReportButton","startExportDate","endExportDate","currentDate","currentMonth","getMonth","csvDate","isCheckboxDisabled","exportrModalBox","boxStyle","buttonWrapper","ExportTransactionsPDF","merchantAddress","ResellerLogoMap","checkboxWrapper","ModalExportReport","setIntervalStart","setIntervalEnd","enableDownload","setEnableDownload","setReportData","setLongRun","setMerchantLegalName","setMerchantMobile","setWithChargeData","setPaymentsFinanceDetails","setGFOPaymentsFinanceDetails","setAllPayments","paymentProvider","totalGrossAmount","totalNetAmount","totalFeesAmount","totalTransactionNumber","pdqRecord","tempPDQObj","Status","retrieveAndSetReportData","merchantChargesRequest","paidStatus","merchantCharge","paid_status","date_sent","service_description","getContract","payoutsTransactionsRequest","filterInBatch","dateExpected","expected_date","STRIPE","inNotInBatchTimeFrame","payoutList","filteredList","formatRefundReasonAndAmountString","paymentFrom","paymentTo","tempData","withChargesData","headerCellsExport","headerCellsWithChargesExport","charges","records","tempDetails","compact","transactionDetails","tempPaymentStartObj","merchant_name","Description","tempPaymentEndObj","gfoPaymentFrom","gfoPaymentTo","gfoTransactionsRequest","gfoTranscations","gfoRecord","tempGfoData","datawithCharges","fetchReport","reportId","fetchStripePaymentReport","chargebacksTransactionsRequest","chain","record","omit","internalTransferTransactions","internalTransfersData","iTRecord","Supplier","filteredAddress","getAddress","fetchAddress","ModalDeleteMerchantAccountComponent","onDeleteMerchant","ModalDeleteMerchantAccount","setIsError","deleteMerchantAccount","wasDeletedMerchantName","ModalCloseMerchantAccountComponent","onCloseMerchant","ModalCloseMerchantAccount","requestCloseMerchantAccount","PasswordValidationComponent","hasEightCharacters","hasDigitCharacters","newPasswordMatchesConfirmPassword","notSameAsCurrentPassword","userNameValidation","Done","doneIcon","bulletIcon","PasswordValidation","setHasEightCharacters","hasUpperCaseCharacters","setHasUpperCaseCharacters","hasLowerCaseCharacters","setHasLowerCaseCharacters","setHasDigitCharacters","setNewPasswordMatchesConfirmPassword","setNotSameAsCurrentPassword","setUserNameValidation","lengthRegEx","uppercaseRegEx","lowercaseRegEx","digitRegEx","confirmPasswordValidation","currentPasswordValidation","hideMatchConfirmPassword","ResetPasswordFormComponent","isPasswordValidationFailed","setIsPasswordValidationFailed","userOnPasswordUpdatePageAfterExpiry","handleSubmitOnExpiry","resetPasswordForm","resetPasswordFormButton","resetPasswordButton","ResetPasswordForm","resetToken","setResetToken","ModalCancelInternalTransferComponent","buttonDisabled","disableSubmit","spanErrorMessage","withdrawalArrivingText","customOutlineInput","onSubmitCancel","ModalCancelInternalTransfer","setButtonDisabled","setDisableSubmit","InternalTransferService","ModalRefundInternalTransferComponent","refundAmount","spanLabel","action_items__account_balance__currency","refundActionValidation","action_items__input","inputAmount","setRefundAmount","onSubmitRefund","ModalRefundInternalTransfer","SnackBarAndAlertComponent","Snackbar","autoHideDuration","ValidUrlInputComponent","showDomainValidationMessage","setShowDomainValidationMessage","setIsFocused","inputMessage","InputProps","ValidUrlInput","inputDomain","isDomainValid","isDomainUrlValid","CreateUrgentMessageComponent","formItems","setFormItems","characterCount","setCharacterCount","setShowMid","showMid","setSelectedStartDate","setSelectedEndDate","dateError","datePickerContainer","startDatePick","inputVariant","disableToolbar","endDateDatePick","libInstance","utils","MomentUtils","checkBoxContainer","tag_input","multiline","subject","gap","charCount","CreateUrgentMessage","initialFormItems","selectedStartDate","selectedEndDate","formatedDate","showValidationMessage","setShowValidationMessage","setDateError","isFocused","timeDifference","btnTextValidation","UrgentMessageComponent","urgentMessage","onEditUrgentMessage","onDeleteUrgentMessage","showDeleteConfirmationDialog","setshowDeleteConfirmationDialog","isEdit","setIsShowForm","isShowForm","isButtonDisable","isDeleteBtnDisable","urgentMessageBanner","default","messageUrgentMessage","buttonsUrgentMessage","Delete","deleteIcon","errorAlert","UrgentMessage","setIsEdit","setButtonDisable","setIsDeleteBtnDisable","formatStartDate","formatEndDate","DotFlashingLoading","PendingDocsListComponent","DocumentTypesId","PROOF_OF_ORGANIZATION_TAX_INFO","VAT_DOCUMENT","categoryName","typeId","PendingDocsList","BankSortCodeDetailsComponent","bsbCode","routeNum","bankDetailsContainer","bankFields","BankSortCodeDetailsContainer","setBsbCode","setRouteNum","BankSortCodeNumberComponent","wrapper__inputs__emptyInput","BankSortCodeNumberContainer","inputValues","blur","setSearchValue","onSearchMerchants","merchantCreation","setMerchantCreation","accountUpdated","setFilter","saveDraft","setSaveDraft","productFilter","setProductFilter","statusFilterOptions","createSortHandler","iconVerified","green","searchContainer","resellerLabel","filters","formControl","inputlabel","newMerchantbutton","header","sortDirection","TableSortLabel","IconComponent","ArrowDropDownIcon","GateWayNewImg","MyMoto_App","AppImg","VTImg","PDQImg","rowData","nameColumn","merchantLink","addressColumn","doneIconStyle","idsColumn","accessButton","accessNameButton","allStatusIds","x","MerchantResellerList","setMerchants","searchValue","setAccountUpdated","canonicalResellerNameAndID","setCanonicalResellerNameAndId","OmnipayMerchantStatusNames","getAllMerchantsForReseller","fetchStatus","MerchantPdqListComponent","openSearchAllMerchants","setOpenSearchAllMerchants","dnaOnboardedMerchants","searchPdqOrders","dnaMerchantsList","handleCopyId","setAgentFilter","agentFilter","handleItemChange","isPdqStatusChecked","handleAgentChange","listOfAgentEmails","isAgentCheck","filteredAgentEmails","toggleAgentCheck","resellerHeader","nameLink","agentName","MerchantAgentRelationships","midColumn","applicationDiv","applicationId","dateColumn","emailCell","applicationReason","clearFilter","MerchantPdqList","setDnaOnboardedMerchants","setDnaMerchantsList","showFilterIcon","setShowFilterIcon","setPdqStatusChecked","allAgentEmails","setAllAgentEmails","setFilteredAgentEmails","getAgentEmails","uniqueEmails","agentEmail","agentEmailFilter","hadnleFilter","tempElement","originalArray","setFunction","selectedElement","checkedElement","selectAllElement","tempStatus","selectedFilters","isFilterActive","handleFilter","SettingTermsAndConditionsComponent","termsAndConditionsList","submitHandler","isModal","onSelectTermsAndConditions","selectedTermsAndConditions","modalTermsAndConditions","termsAndConditionsInSideModal","termsAndConditionContainer","centerAlignHeader","termsAndConditionHeader","termsAndCondition","ResponsiveEmbed","a16by9","TermsAndCondition","iframePdf","activatedAt","submitInput","tcId","SettingTermsAndConditionsContainer","setTermsAndConditionsList","termsAncConditionAccepted","setTermsAndConditionAccepted","signedOnDate","setSignedOnDate","setEntity","setEntityId","setSelectedTermsAndConditions","fetchMerchantTermsAndConditionData","getTermsAndConditionsForMerchant","signedTermsAndConditionsDate","canonicalResellerTermsAndConditionDocument","termsAncConditionDocument","signedOn","fetchCanonicalResellerTermsAndConditionData","selectedDocumentIds","TermsAndConditionsService","canonicalResellerInfo","canonicalResellerSigningInfo","updatedList","ModalMerchantTermsAndConditionsComponent","ModalMerchantTermsAndConditions","DNAOnboardStatus","ModalPdqMerchantsComponent","searchResellerMerchants","searchGrid","displayDiv","modalSearchButton","onboardingStatus","ModalPdqMerchants","getAllMerchantsForResellerAgent","CountyInputComponent","countyList","countyNames","County","Country","CountyWithCountryName","CountyInput","setCountyList","updatedCountyNames","getCountyList","ModalFromConfirmationComponent","setDouble","double","onCancelRefund","cancelAction","newStyle","ModalFormConfirmation","ModalCreateFeeTierComponent","setShowCreateFeeTier","showCreateFeeTier","setFeeTierData","feeTierData","onClickAdd","isPercentageFee","feeTierDialog","feeTierModalTitle","headingTitle","percentageFeeStyle","inputFeeTierValue","percentageFee","hintMessage","fixedFeeStyle","inputFixedFeeValue","fixedFee","actionBtn","ModalCreateFeeTier","setPricingTiers","showFeeTierMessage","setShowFeeTierMessage","createFeeTier","feeTierName","feeTierId","QrFields","QrCodeStatus","ModalCreateQrCodeComponent","showCreteQr","selectPaymentQr","handleGenerateQr","setQrDetails","qrDetails","showDatePicker","setShowDatePicker","closeCreateModal","showDateValidationMessage","setSelectPaymentQr","qrModalPaper","disableEnforceFocus","qrModal","createQRTitle","radioContainer","qrCodeExpiryDate","labelTextType","qrModelInput","checkBox","dateInput","MobileDateTimePicker","expiryDateInput","onError","showToolbar","disablePast","qrModalValidInput","actionButton","ModalCreateQrCode","setShowCreateQr","setQrCodeData","setPaymentUrl","selectDate","setSelectDate","setShowDateValidationMessage","isAmountValid","enabled","duration","asMinutes","fetchQrData","qrCodes","handleCopyPaymentLink","slidePaneOverlay","slidePanel","expired","GenericQrCodeInfoComponent","qrCodeData","isPaneOpen","setIsPaneOpen","previewQrDetails","setSearchInput","clearBtn","searchInput","previewData","showQrCode","setShowQrCode","CloseSuccess","setCloseSuccess","setPreviewQrDetails","handleOnClick","onSearchQRCodes","filterQrCodes","handleCopyUrl","mainDiv","createQrContainer","qrTitle","createQrBtn","qrIdInput","displayEmpty","selctbtn","filterContainer","buttonColor","noData","shortText","qrfieldStyle","qrImgLink","VisibilityOutlined","overlayClassName","isOpen","onRequestClose","hideHeader","createQrmobile","mobilenavContainer","mobileQrSelctor","GenericQrCodeInfo","serchValue","filterValue","statusFilterValue","qrCodeResponse","Axios","imgResponse","removeChild","updatedIndex","qrCode","existingQrCode","tempQrData","PaymentQrCodeInfoComponent","qrImgSource","imageContentRef","handlePrint","handleCopyPaymentUrl","wrap","imagecontents","qrImage","btncontainer","qrBtn","PaymentQrCodeInfo","setQrImgSource","qrCodeUrl","useReactToPrint","documentTitle","QrDetailedViewComponent","showConfirmationModal","setShowConfirmationModal","closeSlider","qrIcon","xmlns","enable-background","viewBox","qrId","boxView","verticalLine","downloadButton","tableBody","tableBorder","class","QrDetailedView","ModalPreviewQrCodeComponent","imageRendered","imageLoadedFunction","onLoad","urlDiv","linkDiv","ModalPreviewQrCode","qrDescription","setImageRendered","imageReference","onBeforePrint","ModalReasonToCloseComponent","handleCancel","setReason","reasonInput","ModalReasonToClose","MerchantChargeExport","unparse","exportPDF","dialogstatus","dailogAgent","ModalFilterPdqMerchantsComponent","agent","ModalFilterPdqMerchants","KeyToName","homeAddress","contactPhone","businessPrinciple","mcc","b2b","b2c","outlets","additionalOutlets","merchantCreatedAt","thirdPartyCustomer","avgTransaction","monthlyTurnOver","annualTurnOver","monthlyCount","annualCount","firstCell","notDisableCell","DnaFormModalComp","newData","changeFee","handleIncrement","handleDecrement","maxAmount","isMaxPercentage","isMaxDevice","pdqPrice","fullScreen","daialogbox","emailField","inputNumber","pricingMatrix","counterBtn","pdqQty","inputDisable","sendBtn","DnaFormModal","regNumberCheckRegex","AdminHomeMenuComponent","Dashboard","developerSeparator","CardTravel","ListAlt","WorkOff","KeyboardReturn","AddAlert","MailOutline","AdminHomeMenu","AdminDashboardHomeComponent","panel","expanded","setExpanded","Accordion","accardionItem","isExpanded","AccordionSummary","summaryContainer","ChevronRight","itemContainerText","AccordionDetails","accordionDetails","closeBtn","CloseSharp","AdminDashboardHome","AdminDashBoardNavigationHeaderComponent","header_title","navigationBar","navigationItem","navigationText","AdminDashBoardNavigationHeader","MuiTableCell","AdminDashboardInfoComponent","ChevronLeft","info_bar_text","KeyboardArrowDown","customer","price","ipAddr","info_ico_bar","info_ico","PictureAsPdfSharp","AssessmentSharp","AdminDashboardInfo","createData","flexWrap","AdminDashbordTopBarComponent","topbar_content","topbar_content__text","Notes","topbar_content__icon","BusinessCenter","Phone","AssignmentIndSharp","AdminDashbordTopBar","AdminTriggerResetPasswordComponent","isErrorInTeamFetch","loggedInUserEmail","emailUndergoingReset","sendResetPasswordLink","noMembers","requestOngoingSpinner","AdminTriggerResetPassword","setEmailUndergoingReset","teamMembersOne","setTeamMembersOne","setIsErrorInTeamFetch","MerchantStripeIdComponent","merchantStripeId","handleCopyMerchantStripeId","createStripeId","updateStripeId","setMerchantStripeId","existingStripeId","createButtonDisableCondition","updateButtonDisableCondition","isRequired","createContainer","MerchantStripeId","merchantIdExist","setMerchantIdExist","setExistingStripeId","stripeId","CreateMerchantStripeId","missing","missingFields","UpdateMerchantStripeId","updatedStripeId","MerchantAccountDetailsComponent","showBusinessDetails","setSelectedValue","setShowBusinessDetails","finalVal","MerchantDetailsContainer","selectMerchantDetails","businessDetailContainer","ownerDetailsContainer","inputStyle","MerchantAccountDetails","exec","DocumentReviewReasons","DocumentStatusColor","OLD","OVERRIDDEN","CountryBankAccountNumberLength","BankRejectedReasons","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","RejectedReasonComponent","setShowNotesBlock","itemID","RejectedReason","DialogViewDocumentsComponent","sendButtonDisabled","accountBtnDisabled","bankAccountBtnDisabled","setNotes","sendNotes","sendNotesError","verifyAccount","verifyBankAccount","prevDisabled","nextDisabled","navPrev","navNext","documentToView","accountBtnText","sendButtonText","bankAccountBtnText","currentDocumentNumber","nrOfDocuments","setIsMerchantVerificationCheckListOpen","setNewBankDetailsConfirmation","newBankDetailsConfirmation","bankDetailsValidation","codeValidationMessage","accNumberValidationMessage","approveBtnDisabled","updatedBankData","downloadDocument","showAcceptReject","showRestore","isBankUpdateRequest","setBankUpdateRejected","bankUpdateRejected","disableNewFields","hideDelete","showMerchantVerification","openInNewTab","FormatNumber","transitNumberMsg","bankNameValidation","showNotesBlock","fetchRejectReasonLoader","updateIdNumber","updateCardNumber","isAusIdNum","isUSDoc","dialogWrapper","dialogWrapper__dialogBody","dialogWrapper__dialogBody__titleBar","dialogWrapper__dialogBody__titleBar__merchantName","dialogWrapper__dialogBody__titleBar__fileName","DocumentReviewStatus","dialogWrapper__dialogBody__titleBar__documentNumber","dialogWrapper__dialogBody__titleBar__merchantName__link","dialogWrapper__dialogBody__imageWrapper","dialogWrapper__dialogBody__imageWrapper__navArrow","dialogWrapper__dialogBody__imageWrapper__navArrow__button","approvalStatus","accountPaper","errorMessageContainer","dialogWrapper__dialogBody__imageWrapper__imageContainer","dialogWrapper__dialogBody__imageWrapper__imageContainer__text","dialogWrapper__dialogBody__imageWrapper__imageContainer__loading","dialogWrapper__dialogBody__imageWrapper__imageContainer__imageDiv","imageStyle","dialogWrapper__dialogBody__imageWrapper__imageContainer__iframe","dialogWrapper__dialogBody__actionsWrapper","flexItem","dialogWrapper__dialogBody__actionsWrapper__button","dialogWrapper__dialogBody__notesWrapper","dialogWrapper__dialogBody__notesWrapper__errorMsg","DialogViewDocuments","documentToReview","documentIndex","setDocumentsUpdated","setDocumentToReview","listOfUrlObj","setListOfUrlObj","setPrevDisabled","setNextDisabled","setCurrentDocumentNumber","setDocumentToView","setSendNotesError","setSendButtonDisabled","setSendButtonText","setAccountBtnText","setBankAccountBtnText","setAccountBtnDisabled","setBankAccountBtnDisabled","setUpdatedBankData","setCodeValidationMessage","setAccNumberValidationMessage","setApproveBtnDisabled","rejectBtnDisabled","setRejectBtnDisabled","setShowAcceptReject","setShowRestore","setIsBankUpdateRequest","setDisableNewFields","setHideDelete","firstTimeVisit","setFirstTimeVisit","setShowMerchantVerification","setFetchRejectReasonLoader","validationComplete","setValidationComplete","setTransitNumberMsg","setBankNameValidation","getDoc","getDocumentById","comment","getData","BANK_STATEMENT","VOID_CHEQUE","isNotAccountDoc","isNotBankDoc","disableAccountButton","disableBankAccountButton","disableRejectButton","disableApproveButton","fetchNewBankData","updateDocumentInView","inViewDocument","allDocumentsInView","rejectBankUpdate","rejectBankDoc","dataToSend","tempDoc","accNumberArr","IOSSwitch","focusVisible","focusVisibleClassName","MerchantVerificationCheckListComponent","isMerchantVerificationCheckListOpen","checkList","toggleChecked","rejectMerchant","showSendANote","acceptMerchantAccountByAdmin","rejectDisableButton","checkListContainer","checkListPoint","checkListItem","actionButtons","buttonStyle","sendNotesContainer","sendNotesButton","MerchantVerificationCheckList","setMerchantVerificationAcceptRejectMessage","setCheckList","setIsPep","setShowSendANote","setRejectDisableButton","unchecked","merchantStatus","rejectThroughMerchantVerification","sendMerchantRejectionMail","updateMerchantDataResponse","adminRejectMerchantEmailNotification","checkListPoints","DocumentReviewComponent","documentReviewReason","setDocumentReviewReason","documentType","setDocumentType","setDocumentStatus","filterDocuments","defaultDocumentType","merchantVerificationAcceptRejectMessage","setDocumentIndex","setShowAdyenMessage","showAdyenMessage","updateDocumentTypeHandler","uploadDocumentToAdyenAccount","documentReviewContainer","documentSelectReason","selectDocumentReviewReason","documentTable","selectDocType","o","documentFileName","documentNameHover","textOverflow","whiteSpace","documentReviewStatus","DRIVING_LICENCE","PASSPORT","ID_PROOF_FRONT","ID_PROOF_BACK","adyenUpload","documentUploadDate","documentPagination","DocumentReview","allDocumentToReview","setAllDocumentsToReview","documentUpdated","setDocumnetToView","setDownload","pathMerchantId","GetMerchantDataForAdmin","fileObj","DocumentType","doc_type_id","updatedDocuments","allDocuments","doDownload","defaultReviewCondition","defaultTypeConditions","defaultStatusConditions","filteredDocuments","selectedDocFromReview","selectedDocIndex","tempAllDoc","AdyenUploadDocument","uploadPlatformDocumentIds","RefundStatus","Processed","ListRefundComponent","onRefundProcess","refundStatusFilter","refundStatus","setRefundStatus","setRefSearchTerm","setSearchMerchant","refSearchTerm","searchMerchant","refundProcessConfirmation","setRefundProcessConfirmation","setRefundPaymentId","refundPaymentId","onCombinedSearch","setRefundStatusFilter","searchMonth","searchDate","searchFilter","refundsNone","customer_firstname","customer_lastname","tableRefundCell","refund_reason","refund_processed_status","processRefundText","payment_provider_mms_link","RefundList","listRefunds","setListRefunds","getRefundList","crossReference","UpdateRefundStatus","AutoWithdrawalComponent","autoWithdrawStatus","autoWithdrawalStatusChangeHandler","onOffStatus","AutoWithdrawal","setAutoWithdrawStatus","statusValue","MissingMerchantComponent","onGoToAccount","showAdyen","setShowAdyen","search_form","nameCell","MerchantName","MerchantId","OwnersDetail","MissingMerchant","missingList","setMissingList","getMissingMerchant","GetMissingMerchant","isAdyen","ownerId","MissingDocument","documentManagementContainer","documentManagementHeader","managementArea","merchantDetails","errorview","MissingDocumentContainer","GetMissingData","DocumentData","Documents","DocumentTypesToName","getMerchantData","details","DOB","UpdateMissingData","LinkQrComponent","onProceed","merchantsList","messageView","merchantList","btnView","LinkQr","setMerchantsList","linkQrCode","merchantsUpdate","auditDataEnum","auditIncludedField","auditDocumentIncludedField","auditMerchantIncludedField","paddingBottom","paddingTop","headWidth","AuditDataComponent","noneData","rowstyle","mid","ip_address","updated_date","function_name","tableCell","auditData","table_name","field_modified","toolTipCell","current_value","new_value","AuditData","auditList","setAuditData","getAuditLogData","auditLogData","SpecialRentTableComponent","specialRentList","setSpecialRentDelete","editSpecialRent","setDeleteRentId","specialRent","rent_amount","start_date","end_date","icons","rent_id","specialRentTableDeleteIcon","noRent","SpecialRentTable","setAddSpecialRent","specialRentDetails","deleteSpecialRent","AddSpecialRentComponent","addSpecialRent","setSpecialRentDetails","specialRentDelete","submitSpecialRent","updateSpecialRent","setUpdateSpecialRent","updateSpecialRentData","disableBtn","isMaxRentValue","specialRentDialog","dialogTilte","rentValueTitle","rentValue","rentfields","addbtn","AddSpecialRent","rentDeleteConfirm","ContractDetailsComponent","setRentDeleteConfirm","oldContractRentDetails","setOldContractRentDetails","contractContainer","contractTitle","graphContainer","specialRentContainer","specialRentTable","rentTable","contractRent","ContractDetails","deleteRentId","progress_status","setSpecialRentList","setDisableBtn","setContractBtn","fetchSpecialRentList","GetSpecialRentList","GetContractRent","fetchContractRent","UpdateSpecialRent","UpdateContractRent","DeleteSpecialRent","ModalMerchantChargeComponent","merchantDate","setMerchantDate","merchantDescription","setMerchantDescription","merchantAmount","setMerchantAmount","merchantBtn","merchantReceipt","merchantBtnHandler","regex","modalContainer","amountAlert","nameColumnCell","ModalMerchantCharge","setMerchantBtn","setMerchantReceipt","updateMerchantCharges","ModalOTPVerificationComponent","openModalOtpVerification","ModalOTPVerification","setOpenModalOtpVerification","setShowMerchantVerificationMessage","AdyenMerchantListComponent","adyenAccountStatus","setAdyenAccountStatus","adyenCategory","setAdyenCategory","handleCopyMerchantId","filteredTheAdyenMerchants","adeynFilter","adyenFilterInputProps","adyenTier","totalPayout","AdyenMerchantList","adyenMerchantList","setAdyenMerchantList","filteredAdyenMerchantList","setFilteredAdyenMerchantList","getAdyenMerchantList","getAdyenCriticalMerchantsList","SupportChangeUserAttributes","emailToSearch","setEmailToSearch","newEmail","setNewEmail","newPhoneNumber","setNewPhoneNumber","showUpdateAttributeView","setShowUpdateAttributeView","handleSearchUserByEmail","handleUpdatePhoneNumber","handleUpdateEmail","userToBeModified","updateFirstName","updateLastName","setUpdateLastName","setUpdateFirstName","handleUpdateUserName","actionButtonHolder","updateAttributeContainer","actionButtonHolderOk","trimStart","actionButtonHolderUpdate","setUserToBeModified","userIsLoggedIn","phoneNumberForCognito","newFirstName","newLastName","TermsAndConditionsStatusName","inactive","ImposedBy","creator","ImposedByName","LinearProgressWithLabel","mr","LinearProgress","linerProgressUseStyles","UploadTermsAndConditionsComponent","linerProgressClasses","displayList","selectedEntityValue","selectFile","uploadFile","disableInput","selectEntityValue","removeSelectedFile","disableUpload","imposedBy","selectEntity","disableEntityInput","uploadTermsAndConditionContainer","selectTermsAndConditionInput","disableInputClass","pdfIcon","allowedFormateStyle","tableContainer","ms","uploadButton","accept","noFiles","deactivatedAt","UploadTermsAnsConditions","setDisplayList","setSelectedEntityValue","setDisableInput","setFile","setFileName","setDisableUpload","setDisableEntityInput","setImposedBy","getCanonicalResellerList","ResellerNameAndId","fileUploadInput","newFile","isUnique","existingItem","addFileName","allTermsAndConditions","urlComponent","getAllTermsAndConditions","uploadedFileResponse","centerAlignment","CanonicalResellerSettingsComponent","isUser","CanonicalResellerSettings","CanonicalResellerOnboardingComponent","canonicalResellerDetails","orderDetails","canonicalResellerCharges","setCanonicalResellerDetails","setOrderDetails","setCanonicalResellerCharges","companyTypes","isNotLimited","setIsNotLimited","submitOnboarding","resellerInfoContainer","companyType","companyNumber","enableLongNumbers","supportNumber","primaryContactName","primaryContactEmail","supportEmail","orderDate","commencementDate","initialTerm","serviceCharge","merchantSetupCharge","fixedCharge","ratePerTransaction","termsAndConditionsContainer","activateReseller","CanonicalResellerOnboardingForm","setCompanies","today","canonicalResellerDetailCheck","orderDetailCheck","canonicalResellerChargesCheck","CanonicalResellerNewMerchantComponent","canonicalMerchantDetails","setCanonicalMerchantdetails","onAcquirerSelect","onAcquirerRemove","onMidTypeRemove","onMidTypeSelect","acquiredName","selectedMidType","productTypes","confirmMessage","setConfirmMessage","isLegalNameSameAsTradingName","setIsLegalNameSameAsTradingName","setIsBackButtonClicked","isBackButtonClicked","isDataEntered","pageHeader","newMerchantContainer","closeButtonStyle","searchBox","chips","inputField","selectedValues","onSelect","displayValue","selectionLimit","disablePreSelectedValues","textFieldMid","externalMID","externalContactName","disabledPhoneInput","externalMerchantPhone","externalMerchantEmail","externalLegalName","externalMerchantName","checkBoxLabel1","externalMidPostCode","externalMidAddressLine1","externalMidAddressLine2","externalMidCity","externalMidCounty","currencyStyle","secondaryButtonColor","AcquirerNames","MidTypes","CanonicalResellerNewMerchant","setAcquiredName","setSelectedAcquirer","setSelectedMidType","setProductTypes","setIsDataEntered","existingCanonicalResellerData","setExistingCanonicalResellerData","existingData","has","checkValidation","webSideUrlCheck","isSave","canonicalMerchantRegistrationService","getCanonicalResellerMerchant","selectedAcquirerValues","selectedMidValues","businessDescriptionId","acquire","midTypes","selectedBusiness","addedMidType","removedMidType","addedAcquirer","removedAcquirer","CanonicalResellerUpdateAccountComponennt","snackbarDetails","setSnackbarDetails","companyAddressContainer","companyTitle","CanonicalResellerUpdateAccount","oldCanonicalResellerDetails","setOldCanonicalResellerDetails","canonicalResellerDto","updateCanonicalResellerDetails","ValidURLInputComponent","ValidURLInput","inputUrl","isUrlValid","ValidDomainInputComponent","ValidDomainInput","ValidEmailInputComponent","showEmailValidationMessage","setShowEmailValidationMessage","ValidEmailInput","CanonicalResellerMerchantManagementComponent","signedBy","resellerNameDialogBox","setResellerNameDialogBox","updateResellerName","updatedResellerName","setUpdatedResellerName","pageLoading","canonicalResellerManagementContainer","pageTitleContainer","canonicalResellerManagementHeader","resellerButton","canonicalResellerContainer","canonicalResellerName","canonicalResellerIcon","updateResellerDialog","resellerManagemnt","merchantListNone","acquirerBank","resellerToOmniPayBill","merchantToOmniPatBill","CanonicalResellerManagementContainer","setMerchantList","setActivatedAt","setSignedBy","setPageLoading","fetchTermsAndConditionsData","signedTermsAncConditionInfo","fetchDetails","childLabel","Products","Requests","noBorders","cellWidth","cellWidthCancelIcon","PdqOrderStatusComp","snackMessage","setSnackMessage","setDnaRequest","dnaOnboardCurrentRequest","dnaProductType","handleCopyTerminalId","setOpenCollapse","pdqRequests","overFlowText","openForm","setOpenForm","showCancelDialog","setShowCancelDialog","onPDQRemovalRequest","actionButtonSnackbarMessage","setActionButtonSnackbarMessage","setTerminalIdToBeRemoved","setProductTypeToBeRemoved","productTypeToBeRemoved","terminalIdToBeRemoved","openFormModal","pdqData","pdqDevices","automaticPayout","merchantBlock","verifyBadge","detailsView","thirdId","merchantLabelText","licenceKey","acquirerMID","reqBtn","tabView","TablesPaper","terminal_id","is_removed","statuses","overflowSpan","isPdq","setPdqOrderDetails","confirmationModal","setConfirmationModal","setDnaOnboardCurrentRequest","dnaRequest","dialogMessage","setDialogMessage","setDnaProductType","terminalIdGenerated","setTerminalIdGenerated","setPdqRequests","setApplicationStatus","setagentName","setPdqData","visaDebitFee","visaDebitAuth","masterDebitFee","masterDebitAuth","visaCreditFee","visaCreditAuth","masterCreditFee","masterCreditAuth","agentId","allowedBusinessId","BusinessBankDetail","terminalPayload","getOrderData","dnaTerminals","groupedObjects","dnaRequests","obj2","obj1","licence_key","dnaMid","dnaRequestStatus","onBoardRequest","payLoad","handleSearch","DatmanResellerPaymentsListComponent","borderTop","DatmanResellerPaymentsList","DatmanResellerPaymentsDetailsComponent","DatmanResellerPaymentDetailsContainer","InvoiceToggleModesModalComponent","showInvoiceUpdateDialogBox","setShowInvoiceUpdateDialogBox","showInvoiceStatus","showInvoiceUpdate","showInvoiceUpdateInitiated","InvoiceToggleModesDialog","InvoiceToggleModesComponent","setShowInvoiceStatus","setShowInvoiceUpdate","InvoiceToggleModes","ExportPDF","ownerName","finalStatementOne","printAgreementTableData","headerColumn","contract_length_print_agreement","columnWidth","PrintAgreementComponent","contractDetails","addressLine1Header","addressLine2Header","cityHeader","topbar","tableheader","exportPdfButton","topright","PrintAgreementContainer","setContractDetails","getContractValues","getOnboardingFullData","isPlusExist","includedPlusSign","ModalMoveTransaction","newMid","setNewMid","midInput","minute","ampm","ModalMoveTxns","new_mid","MoveTransactions","UpdateTxnLimitComponent","isInputEnable","handleButtonClick","updateCustomerConfig","disableValue","editContainer","UpdateTxnLimitContainer","keyValue","setPaymentConfig","paymentConfig","isInputEnabled","setIsInputEnabled","adminService","UpdateCustomerConfig","maxValue","PendingVerificationListComponent","countryFilter","setCountryFilter","setDateRange","handleCountryFilter","PendingVerificationList","verificationList","setVerificationList","getdataResponse","offsetValue","searchInputData","getPendingDocumentVerification","PendingAccountVerificationData","sortedDocumentVerificationDto","getPendingBankVerification","PendingBankVerificationData","bankVerificationDto","newStartDate","newEndDate","initialDate","finalDate","BannerComponent","bannerContainer","bannerIconContainer","bannerIcon","bannerText","Banner","DatePickerComponent","isdeleteable","styleprop","outlineClass","errorClass","defaultClass","DatePicker","interceptors","use","jwtToken","userTokenIdName","updateErrorMessage","bytes","utf8","encode","encodedMerchantId","base64","origin","localDomainParametrs","clear","urlForRedirect","ppsNumber","abn","abnValidationMessage","digits","weights","acc","digit","ein","CheckMerchantCountries","setIsChildReturned","hideBecauseOfStripe","showIfStripe","hideIfStripe","VERIFIED","CountryImages","module","exports","isClientNameUnique","isMerchantNameUnique","isMonthProper","isDayProper","validateRefundData","minNumberOfCharacters","maxNumberOfCharacters","isNumeric","isMandatory","outOfNumberOfCharactersLabel","sortCodeLength","bsbLength","newAccountNumberLength","routingNumberLength","transitNumberLength","financialInstitutionNumberLength","confirmAccountNumberLength","socialSecurity","account","bank","currenValue","previousValue","useIntl","formatMessage","MISSING","Charity","Corporate_Entity","Discretionary_Trading_Trust","TableHeaderComponent","tableSortClasses","headCell","statusColumn","FilterAltIcon","TableHeader","ACCOUNT_DOCUMENT_UPLOAD","BANK_DOCUMENT_UPLOAD","REFUND_REQUEST","ADYEN","Datman","Adyen","Stripe","StatusColors","SENT","textColor","PAID","IN_TRANSIT","RECEIVED","CANCELLED","FAILED","UNPAID","COMPLETE","REFUNDED","UNCAPTURED","DEFAULT_SCHEME","UNSUCCESSFUL","TransactionStatusLabelComponent","statusColorMap","containerStyle","containerClass","transactionStatusHolder","textStyle","PdqStatusColors","TransactionStatusLabel","BUSINESS_RATES_BILL","RENTAL_AGREEMENT","RESIDENCY_PERMIT","UTILITY_BILL","BUSINESS_REGISTRATION_CERTIFICATE","STREET_VIEW","FOOD_HYGIENE_CERTIFICATE","DocumentsCategoriesCountryWise","categories","LoadingScreenComponent","LoadingScreen","Summary","NAME_AND_BUSINESS_ADDRESS","BANK_DETAILS","BUSINESS_DETAILS","OWNER_DETAILS","BUSINESS_PROFILE","TRANSACTION_PROFILE","PRODUCTS_REQUIRED","UPLOAD_DOCUMENTS","SUMMARY","REFUND_ERROR","INVALID_VERIFICATION_CODE","INCOMPLETE_SIGNUP_PROCESS","INCOMPLETE_VERIFICATION_PROCESS","OTP_MESSAGE","OTP_MESSAGE_LIMIT_EXCEEDED","UNCHEKED","createBrowserHistory","TableFooterComponent","PaymentsFilterTabs","GetPendingMerchants","CountPendingMerchants","SetUpFees","SendProductStatusEmail","getMerchantCapabilities","getFeeTierNames","updateFeeTierId","payMerchantCharges","deleteMerchantCharges","GetNotRecievedPayouts","AddCredit","GetBalanceReport","GetMerchantDetails","CANCEL","StyledTab","Tab","FilterTabsComponent","Tabs","indicatorColor","tabsDiv","FilterTabs","paymentsRequest","refundPaymentRequest","reportRequest","pendingBalance","RefundPayment","GetPaymentsTotal","runStripePaymentReport","sentExportReport","getWalletHistory","walletToCard","OK","DECLINE","REFUND","customDomain","GlobalStateContext","userStore","merchantStore","resellerStore","customDomainStore","areLoadingMerchants","nonLoggedInRoute","GlobalStateProvider","storedUser","timeoutRef","logoutUser","handleUserActivity","now","lastActivity","getResellerUrl","responseReseller","setTitleAndIcon","getReseller","decodedURI","portalUrl","regexRoutes","resDomain","maintainance","globalStateContext","portalTitle","faviconLink","querySelector","HeaderComponent","isUserLoggedIn","isOmniPayReseller","merchantHeader","omniPayLogoStyle","bubbleMessage","validData","TransactinRefundComponent","handleOnSubmitRefund","setOtherReason","otherReason","isRefunded","disableSubmitButton","refundReason","refundFailureMessage","refundDialog","refundDialogDiv","refundReasonOptions","radioButtons","isWalletTxn","original_total","setIsRefunded","setDisableSubmitButton","setRefundFailureMessage","selectedReason","RefundService","omnipayLogo","datmanLogo","GfoPaymentsListTableComponent","isRefundedTransaction","showTransactionRefund","noTabs","GfoPaymentsFilterTabs","amountColumn","nameAddressColumn","currencySpan","actionsColumn","mobileViewTransactionDetails","GfoPaymentsListTable","setIsRefundedTransaction","channel","totalPayment","gfoTransactions","headCellObj","resellerFilterTabs","DatmanResellerPaymentsListTableComponent","filterLink","DatmanResellerPaymentsFilterTabs","DatmanResellerPaymentsListTable","defaultFilter","allTransactions","totalPaymentValue","splitRefundReason","partA","transaction_amount","formatedAmount","transactin_id","encodedBase64","atob","unserialize","fixReferralLinkPayload","minAccountNumberDigits","maxAccountNumberDigits","CHECKOUT_HF","CARDSTREAM","PASSWORD_EXPIRED_MESSAGE","expiryDay","statusCodes","REACTIVATING_SIGNUP_LINK","SIGNUP_LINK_REACTIVATION_UNAVAILABLE","RESEND_EMAIL_VERIFICATION_CODE","SelectedElementContext","useSelectedElementContext","OnboardingFormContext","OnboardingFormProvider","isValidated","isOwnershipRange","motoRenewalReasonList","initProducts","initDescriptions","initDataBusinessTypes","descriptions","initMerchantsFullData","step1","step2","validateFrom","nonResellerMerchantService","nameAndAddressIncompleteFields","bankDetailsIncompleteFields","tradingAddressIncompleteFields","ownerDetailsIncompleteFields","pd","gatewayProduct","onboardingFormContext","initialBalance","initialTransitBalance","initialAvailableBalance","BalanceContext","BalanceProvider","setBalanceIsLoading","transitBalance","setManualWithdrawStatus","BalanceService","manual_withdrawal_status","balanceContext","PaymentsListTableComponent","showMerchantName","successfullTransactions","showCancelButton","voidableTransaction","showCancelBtn","PaymentVisibilityMessage","VoidablePayments","VoidedPaymentsArray","VOIDED_TRANSACTION","INCORRECT_TRANSACTION","PaymentsListTable","Messages","PAYMENT_VISIBILITY","foundInFirstName","foundInLastName","LabelComponent","getMerchantAcquirer","merchandId","searchedString","includeMerchantId","updateProducts","getOnboardingStepDetails","merchantAcceptTermsAndConditions","enableAutoWithdrawals","getAllPdqOrders","RenewSignupLink","payoutsRequest","markPayoutNotReceived","getAdyenResponse","getBalancePlatformOnboardingUrl","migrateToAdyenBalancePlatform","adyenGetTOSTypes","adyenGetTOSDocuments","adyenAcceptedTermsAndConditon","adyenOnboardingShareableLink","ChargebacksExpandedRowComponent","chargebackNoteDetailsWrapper","Avatar","avatar","Person","reporterOrg","Business","chargebackNoteHolder","chargebackNote","proofOfDamageWrapper","Kitchen","proofOfDamageLabel","proofStats","ChargebacksExpandedRow","ChargebacksFilterTabs","Resolved","highlight","lighten","light","flex","ChargebacksListTableComponent","checkIsExpanded","toggleExpandTheRow","totalChargeback","ChargebacksListTable","expandedRowIds","setExpandedRowIds","Chargeback","indexOfClickedRow","newExpandedRowIds","PayoutsReferenceTable","expandedRow","th","PayoutsListTableComponent","openedBatchTabs","openedNotBatchTabs","isTabOpen","setmarkPayout","isValidMerchant","notInBatchOrderByKey","reference","referenceColumn","resendBtns","buttons","PayoutsListTable","setOpenedBatchTabs","setOpenedNotBatchTabs","setErrors","handleOpenTableRow","openedTabsState","setOpenedTabsState","openedTabIndex","oldState","providerCode","MerchantChargesListTableComponent","totalMerchantCharges","payMerchantChargesBtn","deleteMerchantChargesBtn","openMerchantDeleteModal","setOpenMerchantDeleteModal","handleMerchantDeleteModal","rowId","rowAmount","openMerchantPayModal","setOpenMerchantPayModal","handleMerchantPayModal","alertCloseMessage","formatDescription","Total","MerchantChargesListTable","setRowId","setRowAmount","merchantChargeReportData","setMerchantChargeReportData","loadLocaleData","lang","LanguageContext","setLocale","setMessages","newLocale","messageFile","selectedLanguage","defaultLocale","chipLable","titleText","negativeAmt","GitfCardLableChipComponent","Chip","chipCard","GitfCardLableChipContainer","ExternalSignUpForm","setUuid","verificationTxt","setVerificationTxt","isLinkExpired","setIsLinkExpired","otpMaxLimit","setOtpMaxLimit","setIsButtonDisabled","countdown","setCountdown","isSubmitTriggered","setIsSubmitTriggered","base64Decoded","Buffer","URLSearchParams","prevData","linkExpiryFunction","timerId","prevCountdown","sendOTPFunction","externalSignupForm","otpGenerated","completeVerification","linkStatus","signUpContainer","expiryPageContainer","leftContainer","rightContainer","rightContainerData","circle","footer","noClassname","otpButtonDisabled","otpButtonEnabled","getOtpButton","flexContainer","numbers","signUpButtonDisabled","LoggedRoute","rest","RoutingManager","resellerComponent","pdqComponent","exact","merchantComponent","WithdrawalComponent","WithdrawalContainer","ModalAcceptTOS","openTOSModal","handleCancleClick","viewerRef","setChecked","acceptTermsAndConditon","containerStyles","viewerContainer","yesBtn","AdyenAcceptTOSModal","setOpenTOSModal","documentBase64","serviceDocumentId","loadTOSModal","setTermsOfServiceTypes","requestAnimationFrame","base64STR","parsedData","AdyenDocumentViewer","onExpandSection","render","termsOfServiceDocumentId","DashboardComponent","dateFormat","bankDocStatus","accountDocStatus","rejectedDoc","openAdyen","setOpenAdyen","termsOfServiceTypes","handleTOSDocuments","bannerLoader","mediaLessThan450px","mediaLessThan650px","balanceLength","fontSizeBalance","isAdyenBalancePlatformAccount","isAllCapabilitiesAllowed","dashboardContentContainer","click__here","info_icon","paymentsContainer","titlePaymentsTable","clickPayments","rightCardContainer","setBusinessType","setDateFormat","setShowMerchantCreationMessage","setBannerLoader","setIsPageLoading","setAccountStatus","isAutoWithdrawalEnabled","setIsAutoWithdrawalEnabled","setBankDocStatus","setAccountDocStatus","setRejectedDoc","setServiceDocumentId","setDocumentBase64","setLoadTOSModal","getAdyenTOS","setLink","idDocStatus","addressDocStatus","productsAcquired","onUserLogin","Site","Name","Merchant_name","Product_type","enable","ProfileComponent","profileCard","Profile","RolesAndPermissionsComponent","textHeader","RolesAndPermissions","UserManagementComponent","users","showAssignModal","setShowAssignModal","confirmationMessage","setConfirmationMessage","setShowCreateUser","showCreateUser","setSelectedUser","onSubmitConfirmation","setIsForDeleting","setIsForUnassign","setRelationId","isLoggedInUser","assignedEntity","createRef","enableDisableCheck","unassignButton","entitiesColumn","entitiesSelect","relationship","Client","assignButton","selectedRelation","entityAndName","switchDisableEnableUser","FormCheck","rowUser","userManagement","headerPage","createUserBtn","UserManagement","setUsers","isForDeleting","isForUnassign","loadUsers","onDisableEnableUser","onDeleteUser","onUnassignEntityForUser","TeamComponent","Settings","Team","TransactionListComponent","dateFromUrlParams","viaFromUrlParams","setAcquirer","TransactionList","setDates","currentAcquirer","fetchPaymentProviders","rangeDates","includedMonths","chargebackContainer","MerchantChargesComponent","MerchantLabel","InternalTransfersComponent","enableWithdrawal","internalTransfersContainer","PayoutsComponent","payoutsContainer","gfoPaymentsContainer","AcceptInvitationComponent","AcceptInvitation","invitedUserEmail","requestData","adminDashboardMenu","AdminDashboard","PendingCustomersComponent","PendingCustomers","UpdateBankComponent","UpdateBank","UpdateAccountComponent","isOnboarded","setIsOnboarded","validMerchantStatuses","UpdateAccount","GenericQRCodeComponent","GenericQRCode","PaymentQRCodeComponent","PaymentQRCode","AccountVerifyUploadDocumentsComponent","isFinishButtonDisabled","uploadDocumentContainer","paddingHeader","subHeaderBackground","AccountVerifyUploadDocuments","getBankStatusAndBusinessDetails","nonMandatoryDocumentIds","uploadingDocumentId","sendAsyncRequest","PaymentDetailsComponent","backbtnContainer","my","pt","backbtn","PaymentDetails","PayoutDetails","grossAmount","feesAmount","netAmount","isCredited","setRefundReason","setAddress","setFeesAmount","setIsCredited","useTheme","down","creditBtn","popup","AddCreditFunc","setNetAmount","setGrossAmount","credit_amount","customer_name","credit_reason","AdminFunctionsComponent","supportUtilitiesLinksMap","clientRegistered","setClientRegistered","resellerCreation","setResellerCreation","setShowAcceptTermsAndConditionsMessage","acceptTermsAndConditionsMessage","showAcceptTermsAndConditionsMessage","setIsTestMerchant","isTestMerchant","isModalUpdateFeeTier","handleOnChange","updateFeeTierValue","showUpdateFeeTierMessage","updateFeeTierMessage","setShowUpdateFeeTierMessage","SubmitReport","BalanceReportMessage","SetBalanceReportMesssage","balanceReportModal","SetBalanceReportModal","setSelectedDate","showMerchantVerificationMessage","handleRenewSignupLink","showSignupModal","setShowSignupModal","handleAdyenOnboardingLink","adyenLoader","showDialogCreateUrgentMessage","setShowDialogCreateUrgentMessage","successCreateUrgentMessage","setSuccessCreateUrgentMessage","isMerchantClosed","isAdminOrSuperAdmin","max_single_txn_limit","txnUpperLimit","xpress_sale_limit","xpressSaleUpperLimit","dateDiv","DateFnsUtils","views","animateYearScrolling","updateUserAttributes","addUrgentMessageButton","pendingMerchantsButton","newMerchant","addResellerTermsAndConditions","borderAddUrgentMessage","adyenGrid","AdminFunctions","setAdyenLoader","isSubmitted","setAcceptTermsAndConditionsMessage","setUpdateFeeTier","setUpdateFeeTierMessage","supportUtilitiesBaseRoute","single_txn_upper_limit","xpress_sale_upper_limit","customerTierId","customerFeetierId","feeTierNames","getPricingTiers","requirement","PdqTransactionsComponent","pdqsContainer","PdqTransactions","AdminUserTypeRoute","Component","RestrictedAdminUserTypeRoute","isClosedMerchant","WorkingAccountRoute","allowedUser","TransactionPageAccessibilityRoute","transactionPagePath","canAccessTheTransactionPage","MerchantManager","ManageProductsDatmanComponent","cardsContainer","cards","btnsubmit","ManageProductsDatman","merchantSelectedProducts","datmanProducts","DialogViewProductsComponent","onReject","setOnReject","approve","onApprove","secondaryActionBtn","textfield","DialogViewProducts","productId","approvedProducts","setReject","setApprove","permissionEntities","setPermissionEntitites","previousStatus","prevStatus","additionalInfo","ProductAddRemoveDialogBoxComponent","openDialog","dialogBoxTitle","dialogBoxContentText","confirmAction","ProductAddRemoveDialogBox","setDialogBoxTitle","setDialogBoxContentText","ManageProductsOmniPayComponent","ManageProductsOmniPay","hasUpdatedProducts","setHasUpdatedProducts","merchantProducts","allProducts","mypayProducts","pullAt","hasSelectedProducts","updatedProduct","updated","notUpdated","ManageProducts","BunkAccountUploadingDocumentsComponent","docContainer","BunkAccountUploadingDocumentsContainer","CanonicalResellerStatusNames","AdminPendingMerchantsComponent","pendingMerchants","showCanonicalResellersList","canonicalResellerList","handleCopyResellerId","checkResellerViewHandler","searchPaper","resellerNameStyle","merchantNameHover","resellerIdColumn","createdDate","pendingMerchant","postcodeColumn","completedDate","AdminPedingMerchants","setPendingMerchants","setShowCanonicalResellersList","setCanonicalResellerList","useHistory","pendingMerchantsHeadCells","canonicalResellersHeadCells","setHeadCells","getPendingMerchants","OwnerAndActiveMerchantOrAdminRoute","isMerchantUser","isSuperAdminAndMerchantClosed","canNotAccessThePage","OwnerOrAdminRoute","DashboardResellerComponent","DashboardReseller","StripePayoutDetails","MerchantDetailsComponent","backButtonBox","divSubTitle","MerchantDetails","CanonicalResellerOnboarding","CanonicalResellerMerchantComponent","CanonicalResellerMerchant","CanonicalResellerMerchantManagement","SettingTermsAndConditionsParentComponent","SettingTermsAndConditions","DocumentManagementComponent","DocumentManagement","AdminMissingMerchant","MissingMerchantDocument","DashboardPdqComponent","DashboardPdq","PdqOrderMerchants","PdqOrderMerchantsContainer","ProductApprovedRoute","eachProduct","isProductApproved","RefundComponent","PrintAgreementPageComponent","PrintAgreementPageContainer","BankErrorComponent","bankErrorList","colspan","noDataContainer","country_name","BankErrorContainer","setBankErrorList","searchTerm","setSearchTerm","errorList","fetchBankErrorData","BankErrorListComponent","errorListContainer","BankErrorList","PayoutsNotReceivedsComponent","setMarkPayout","onMarkConfirm","not_received_date","PayoutsNotReceived","notRecievedList","setNotRecievedList","getpayoutNotRecieved","AdminPendingBankVerfication","PendingBankVerificationList","AdminPendingAccountVerfication","PendingAccountVerificationList","ChargebacksComponent","ChargeBacks","memo","initials","searchedMerchantBalance","setShopperId","setCurrency","shopperId","searchedData","getDataByOrderId","hasMorePages","circleStyle","searchSection","balanceSection","balanceText","amountText","withdrawal_status","labelDisplayedRows","backIconButtonProps","nextIconButtonProps","WalletHistory","setSearchData","setHasMorePages","setSearchedMerchantData","defaultPage","addUniqueIds","has_more","current_page","arrayOfObjects","refundData","PAYOUT_STATUS","OPEN","BLOCK","MerchantCapabilitiesComponent","changePayoutStatus","merchantCapabilities","deadline","setDeadline","totalRecords","setLimit","openRow","setOpenRow","KeyboardArrowUp","account_holder_id","legal_entity_id","payout_status","capability_items","capability","problems","verification_deadline","verification_status","problem","remediatingActions","idx","Pagination","MerchantCapabilities","setTotalRecords","setPayoutStatus","setMerchantCapabilities","totalNumberOfRecords","canonicalResellerMerchant","PaymentList","AdminPendingMerchants","AdminMissingMerchantContainer","ContentComponent","merchantContent","sideBarMerchantRoutes","sideBarMerchantCustomDomainRoutes","Content","SideBarMerchantComponent","merchantListContainer","merchantDashBoardMenu","SideBarMerchant","LayoutComponent","urgentMessages","messageWidth","mobileHeader","menuIconContainer","Menu","menuIcon","listMerchantsContainer","Drawer","drawerMenu","sideNavContainer","contentContainer","Layout","setUrgentMessages","AppCTAComponent","redirection_link","logo__container","content__container","content__container__text","content__container__text__main","content__container__text__para","content__container__cta","content__container__cta__button","AppCTA","userAgent","device","LoginComponent","Login","ForgotPasswordComponent","OnboardingComponent","Onboarding","stepNumber","SignUp","ExternalSignUp","HelpPageComponent","Help","NotLoggedRoute","MypayOnlyNotLoggedRoute","isMypayReseller","SuperAdminUserTypeRoute","ResetPasswordComponent","setShowSnackbar","ResetPassword","NotAuthorizedPageComponent","isAutoRedirect","container__img","container__redirect","container__redirect__text","paragraph","thickness","container__spinner","container__text","container__anchor","NotAuthorizedPage","autoRedirect","prevProgress","SupportUtilitiesComponent","utilityName","utilityNameToSupportUtilityComponent","SupportUtilities","TermsAndConditionsPageComponent","container__datman__img","iframeContainer","iframeStyle","TermsAndConditionsPage","RequestSupportForm","AdyenResponseComponent","adyenResponse","adyenHeader","AdyenResponse","setAdyenResponse","AuditLogDataComponent","AuditLogData","MaintainanceComponent","logoImage","omniLogo","imageDiv","svg","maintainenceMessage","maintainanceMessage","copyRigthDiv","Maintainance","createMuiTheme","App","getMaintainceMode","maintainance_mode","maintainence_mode","maintainence_mode_message","maintainanceLink","fallback","withoutSideBarMerchantRoutes","withoutSideBarMerchantCustomDomainRoutes","hostname","init","dsn","environment","ReactDOM","StrictMode","serviceWorker","registration","unregister"],"mappings":"inBAMMA,EAAiBC,aAAW,SAACC,GAAD,MAAY,CAC1CC,MAAO,CACHC,aAAc,EACdC,SAAU,WACVC,gBAAiBJ,EAAMK,QAAQC,OAAOC,MACtCC,OAAQ,oBACRC,SAAU,GACVC,MAAO,OACPC,WAAY,OACZC,U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QACA,SACA,aACA,YACA,QACA,gBACA,aACA,WACA,UACA,UACA,qBACA,WACA,WACA,YACA,UACA,SACA,WACA,UACA,SACA,WACA,UACA,WACA,SACA,WACA,eACA,QACA,cACA,YACA,YACA,aACA,UACA,WACA,UACA,WACA,cACA,YACA,YACA,SACA,aACA,UACA,QACA,QACA,UACA,UACA,UACA,WACA,WACA,YACA,SACA,SACA,YACA,UACA,UACA,SACA,MACA,UACA,WACA,WACA,SACA,wBACA,aACA,eACA,WACA,aACA,WACA,WACA,YACA,YACA,SACA,UACA,cACA,eACA,cACA,YACA,UACA,cACA,WACA,aACA,YACA,cACA,gBACA,WACA,UACA,aACA,WACA,UACA,WACA,gBACA,aACA,WACA,WACA,SACA,eACA,iBACA,YACA,QACA,YACA,UACA,cACA,aACA,oBACA,aACA,WACA,oBACA,SACA,aACA,YACA,eACA,SACA,WACA,UACA,UACA,cACA,cACA,SACA,aACA,gBACA,WACA,aACA,UACA,iBACA,cACA,SACA,YACA,mBACA,SACA,gBACA,eACA,iBACA,UACA,aACA,cACA,YACA,YACA,WACA,aACA,QACA,UACA,QACA,SACA,YACA,QACA,YACA,OACA,WACA,SACA,cACA,aACA,WACA,UACA,UACA,4BACA,WACA,UACA,YACA,YACA,QACA,kBACA,aACA,aACA,aACA,YACA,QACA,SACA,UACA,cCyCWynG,OAzPf,SAAyB1rK,GAAQ,IAAD,wBAExBkH,EAeAlH,EAfAkH,QACAo4H,EAcAt/H,EAdAs/H,aACAE,EAaAx/H,EAbAw/H,gBACA/7D,EAYAzjE,EAZAyjE,qBACAC,EAWA1jE,EAXA0jE,oBACAE,EAUA5jE,EAVA4jE,iBACAC,EASA7jE,EATA6jE,mBACAC,EAQA9jE,EARA8jE,kBACAV,EAOApjE,EAPAojE,oBACAI,EAMAxjE,EANAwjE,iBACA9/D,EAKA1D,EALA0D,SACA6pC,EAIAvtC,EAJAutC,WACAltC,EAGAL,EAHAK,MACAqoF,EAEA1oF,EAFA0oF,YACA6yE,EACAv7J,E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WACA,UACA,YACA,YACA,WACA,aACA,WACA,cACA,WACA,WACA,cACA,YACA,aACA,UACA,WACA,WACA,YACA,YACA,WACA,YACA,YACA,UACA,0BACA,WACA,YACA,WACA,UACA,YACA,YACA,cACA,WACA,eACA,kBACA,kBACA,UACA,UACA,UACA,iCACA,oCACA,2BACA,sBACA,wBACA,oCACA,qBACA,YACA,UACA,oBACA,kBACA,gBACA,cACA,WACA,QACA,UACA,QACA,UACA,QACA,SACA,aACA,YACA,QACA,gBACA,aACA,WACA,UACA,UACA,qBACA,WACA,WACA,YACA,UACA,SACA,WACA,UACA,SACA,WACA,UACA,WACA,SACA,WACA,eACA,QACA,cACA,YACA,YACA,aACA,UACA,WACA,UACA,WACA,cACA,YACA,YACA,SACA,aACA,UACA,QACA,QACA,UACA,UACA,UACA,WACA,WACA,YACA,SACA,SACA,YACA,UACA,UACA,SACA,MACA,UACA,WACA,WACA,SACA,wBACA,aACA,eACA,WACA,aACA,WACA,WACA,YACA,YACA,SACA,UACA,cACA,eACA,cACA,YACA,UACA,cACA,WACA,aACA,YACA,cACA,gBACA,WACA,UACA,aACA,WACA,UACA,WACA,gBACA,aACA,WACA,WACA,SACA,eACA,iBACA,YACA,QACA,YACA,UACA,cACA,aACA,oBACA,aACA,WACA,oBACA,SACA,aACA,YACA,eACA,SACA,WACA,UACA,UACA,cACA,cACA,SACA,aACA,gBACA,WACA,aACA,UACA,iBACA,cACA,SACA,YACA,mBACA,SACA,gBACA,eACA,iBACA,UACA,aACA,cACA,YACA,YACA,WACA,aACA,QACA,UACA,QACA,SACA,YACA,QACA,YACA,OACA,WACA,SACA,cACA,aACA,WACA,UACA,UACA,4BACA,WACA,UACA,YACA,YACA,QACA,kBACA,aACA,aACA,aACA,YACA,QACA,SACA,UACA,cAEJ4E,oBAAqB,CACjBC,uBAAwB,SAE5B8L,qBAAsB,GACtB7W,UAAW,GACXiE,gBAAiB,CACbgT,0BAA0B,EAC1BI,mBAAmB,EACnBR,qBAAsB,GACtBM,mB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,IAAMoiB,WAAP,KACI,0BAAM/nG,IAAI,aAAavoG,KAAK,gFAC5B,kBAAC,IAAD,KACI,kBAAC,KAAD,KACI,kBAAC,GAAD,SAIZ6D,SAASo+D,eAAe,SDqFpB,kBAAmB3wC,WACnBA,UAAUi/K,cAAc5sM,MACnB5E,MAAK,SAACyxM,GACHA,EAAaC,gBAEhBzxM,OAAM,SAACne,GACJ0b,QAAQ1b,MAAMA,EAAM0a,c","file":"static/js/main.f10a3152.chunk.js","sourcesContent":["import React from 'react';\nimport styles from './input.module.scss';\nimport { InputBase } from '@material-ui/core';\nimport { fade, withStyles } from '@material-ui/core/styles';\nimport PropTypes from 'prop-types';\n\nconst BootstrapInput = withStyles((theme) => ({\n input: {\n borderRadius: 4,\n position: 'relative',\n backgroundColor: theme.palette.common.white,\n border: '1px solid #e8e9ec',\n fontSize: 16,\n width: '100%',\n textIndent: '10px',\n maxLength: 256,\n transition: theme.transitions.create(['border-color', 'box-shadow']),\n // Use the system font instead of the default Roboto font.\n fontFamily: [\n '-apple-system',\n 'BlinkMacSystemFont',\n '\"Segoe UI\"',\n 'Roboto',\n '\"Helvetica Neue\"',\n 'Arial',\n 'sans-serif',\n '\"Apple Color Emoji\"',\n '\"Segoe UI Emoji\"',\n '\"Segoe UI Symbol\"'\n ].join(','),\n '&:focus': {\n boxShadow: `${fade(theme.palette.primary.main, 0.25)} 0 0 0 0.2rem`,\n borderColor: theme.palette.primary.main\n },\n '&:disabled': {\n backgroundColor: 'gainsboro'\n }\n }\n}))(InputBase);\n\nfunction InputComponent(props) {\n return (\n \n \n {props.error ? (\n \n {props.helpertext}\n \n ) : (\n ''\n )}\n \n );\n}\n\nInputComponent.propTypes = {\n error: PropTypes.bool,\n border: PropTypes.bool,\n helpertext: PropTypes.string,\n optionalProps: PropTypes.object,\n baseProps: PropTypes.object\n};\n\nexport default InputComponent;\n","import React from 'react';\nimport InputComponent from './input.component';\nimport PropTypes from 'prop-types';\n/**\n *\n * @param {{\n * onChange: (event) => {},\n * placeholder: string,\n * id: string\n * error: boolean\n * helperText: string\n * optionalProps: { disableBorders: boolean}\n * type: 'number' | 'tel' | 'text'\n * }} props\n */\nfunction InputButton(props) {\n var propsCopy = Object.assign({}, props);\n const optionalProps = propsCopy.optionalProps;\n propsCopy.optionalProps = null;\n delete propsCopy.optionalProps;\n return ;\n}\n\nInputButton.propTypes = {\n optionalProps: PropTypes.object\n};\n\nexport default InputButton;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport style from './next-btn.module.scss';\nimport { Button, Grid } from '@material-ui/core';\nimport { useGlobalStateContext } from 'contexts';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport { translateText } from 'utils/languageTranslater';\nimport { UserType } from 'utils/enums/UserType';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport moment from 'moment';\nfunction NextButtonComponent(props) {\n const { globalState, setGlobalState, setRoute } = useGlobalStateContext();\n const isMerchantUserType = globalState.user?.UserType?.name === UserType.Merchant;\n const isActiveMerchant = globalState.merchant?.status === MerchantStatus.ACTIVE;\n const isUkMerchant = globalState.merchant?.country === MerchantCountries.UNITED_KINGDOM;\n\n return (\n \n {globalState.merchant?.status === MerchantStatus.MERCHANT_PENDING ? (\n \n \n setRoute('/home')}\n >\n {translateText({ id: 'cancel-button', text: 'Cancel' })}\n \n \n \n {\n props.onSubmit(e);\n setRoute('/home');\n }}\n >\n {translateText({ id: 'save-and-close-button', text: 'Save' })}\n \n \n \n props.onSubmit(e)}\n >\n {translateText({ id: 'next-button', text: 'Next' })}\n \n \n \n ) : (\n
\n {\n if (isMerchantUserType && isActiveMerchant && isUkMerchant) {\n localStorage.setItem('skip_clicked', moment().format('DD-MM-YYYY hh:mm:ss'));\n }\n setGlobalState({\n ...globalState,\n exitFromOnboarding: true\n });\n props.onSubmit(e);\n setRoute('/home');\n }}\n >\n {translateText({ id: 'save-and-close-button', text: 'Save' })}\n \n props.onSubmit(e)}\n >\n {translateText({ id: 'next-button', text: 'Next' })}\n \n
\n )}\n {isMerchantUserType && isActiveMerchant && isUkMerchant && (\n {\n localStorage.setItem('skip_clicked', moment().format('DD-MM-YYYY hh:mm:ss'));\n setRoute('/home');\n }}\n >\n Remind me later\n \n )}\n
\n );\n}\n\nNextButtonComponent.propTypes = {\n onSubmit: PropTypes.func,\n disabled: PropTypes.bool\n};\n\nexport default NextButtonComponent;\n","import React from 'react';\n\nimport NextButtonComponent from './next-btn.component';\n\n/**\n *\n * @param {{\n * onSubmit: (event) => {},\n * disabled: boolean\n * }} props\n */\nfunction NextButton(props) {\n return ;\n}\n\nNextButton.propTypes = {};\n\nexport default NextButton;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport style from './onboarding-title.module.scss';\nimport { Typography } from '@material-ui/core';\nimport { translateText } from 'utils/languageTranslater';\nimport { DotFlashingLoading } from 'components';\n\nfunction OnbordingTitleComponent(props) {\n return (\n \n {props.isLoading && (\n
\n \n
\n )}\n \n {props.transalterEnabled === true ? translateText({ id: props.title, text: props.title }) : props.title}\n \n \n {props.subTransalterEnabled === true\n ? translateText({ id: props.subTitle, text: props.subTitle })\n : props.subTitle}\n \n
\n );\n}\n\nOnbordingTitleComponent.propTypes = {\n title: PropTypes.string,\n subTitle: PropTypes.string,\n isLoading: PropTypes.bool\n};\n\nexport default OnbordingTitleComponent;\n","import React from 'react';\n\nimport OnboardingTitleComponent from './onboarding-title.component';\n\n/**\n *\n * @param {{\n * title: string;\n * subTitle: string;\n * }} props\n */\nfunction OnboardingTitle(props) {\n return ;\n}\n\nOnboardingTitle.propTypes = {};\n\nexport default OnboardingTitle;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport style from './onboarding-forms-container.module.scss';\nimport { Grid } from '@material-ui/core';\n\nfunction OnboardingFormsContainerComponent(props) {\n return (\n
\n \n \n {props.title}\n \n \n {props.content(props.parentProps)}\n \n {props.nextButton}\n \n
\n );\n}\n\nOnboardingFormsContainerComponent.propTypes = {\n title: PropTypes.element,\n content: PropTypes.func,\n nextButton: PropTypes.element,\n parentProps: PropTypes.any\n};\n\nexport default OnboardingFormsContainerComponent;\n","import React from 'react';\n\nimport OnboardingFormsContainerComponent from './onboarding-forms-container.component';\n\n/**\n *\n * @param {{\n * title: JSX.Element\n * content: JSX.Element\n * nextButton: JSX.Element\n * }} props\n */\nfunction OnboardingFormsContainer(props) {\n return ;\n}\n\nOnboardingFormsContainer.propTypes = {};\n\nexport default OnboardingFormsContainer;\n","import React from 'react';\nimport style from './form-item.module.scss';\nimport PropTypes from 'prop-types';\n\nfunction FormItemComponent(props) {\n const { isStyleRequired, children } = props;\n return
{children}
;\n}\n\nFormItemComponent.propTypes = {\n children: PropTypes.oneOfType([PropTypes.array, PropTypes.object])\n};\n\nexport default FormItemComponent;\n","import React from 'react';\nimport FormItemComponent from './form-item.component';\n\nfunction FormItem(props) {\n return ;\n}\n\nexport default FormItem;\n","import React from 'react';\nimport DatePickerInputComponent from './date-picker-input.component';\n\n/**\n *\n * @param {{\n * onChange: (event) => {},\n * value: date,\n * id: string\n * }} props\n */\nfunction DatePickerInput(props) {\n return ;\n}\n\nexport default DatePickerInput;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { Grid, TextField } from '@material-ui/core';\nimport Autocomplete from '@material-ui/lab/Autocomplete';\nimport { makeStyles } from '@material-ui/core/styles';\nimport styles from './dropdown.module.scss';\n\nconst useStyles = makeStyles(() => ({\n root: {\n width: '100%'\n },\n noOptions: {\n color: 'red'\n },\n hideNoOptionsText: {\n display: 'none'\n },\n inputRoot: {\n padding: 0,\n backgroundColor: '#fff',\n '&[class*=\"MuiOutlinedInput-root\"] .MuiAutocomplete-input:first-child': {\n padding: 0\n }\n },\n emptyFieldClass: {\n '& .MuiOutlinedInput-notchedOutline': {\n border: '2px solid #ff2e58 !important'\n }\n }\n}));\n\nfunction SelectedDropDownComponent(props) {\n const classes = useStyles();\n const hideNoOptionsTextSelect = props.hideNoOptionsTextSelect || !props.noOptionsText;\n return (\n \n `${props.getOptionLabel(option)}${props.listPrefix ?? ''}`}\n classes={{\n root: classes.root,\n noOptions: hideNoOptionsTextSelect ? classes.hideNoOptionsText : classes.noOptions,\n inputRoot: `${classes.inputRoot} ${props.emptyField ? classes.emptyFieldClass : ''}`\n }}\n className={styles.inputAreas}\n renderInput={(params) => (\n e.stopPropagation()}\n />\n )}\n renderOption={(option, state) => {\n if (props.customListRender) {\n return props.customListRender(option, state);\n }\n return props.getOptionLabel(option);\n }}\n />\n \n );\n}\n\nSelectedDropDownComponent.propTypes = {\n id: PropTypes.string,\n value: PropTypes.any,\n options: PropTypes.any,\n getOptionLabel: PropTypes.func,\n listPrefix: PropTypes.string,\n disabled: PropTypes.bool,\n onChange: PropTypes.func,\n loading: PropTypes.bool,\n onInputChange: PropTypes.func,\n inputValue: PropTypes.any,\n freeSolo: PropTypes.bool,\n placeholder: PropTypes.string,\n customListRender: PropTypes.element,\n noOptionsText: PropTypes.string,\n hideNoOptionsTextSelect: PropTypes.bool\n};\n\nexport default SelectedDropDownComponent;\n","import React from 'react';\nimport SelectedDropDownComponent from './dropdown.component';\n\n/**\n *\n * @param {{\n * id: string\n * placeholder: string\n * value: any,\n * inputValue: any\n * options: any,\n * getOptionLabel: (option) => {}\n * onChange: (option) => {}\n * onInputChange (event, newValue) => {}\n * listPrefix: sstring\n * disabled: boolean\n * freeSolo: boolean\n * customListRender: (option, state) => {}\n * }} props\n */\nfunction SelectedDropDown(props) {\n return ;\n}\n\nSelectedDropDown.propTypes = {};\n\nexport default SelectedDropDown;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { TextField, makeStyles, createStyles } from '@material-ui/core';\nimport { Autocomplete } from '@material-ui/lab';\n\nconst styles = makeStyles((theme) =>\n createStyles({\n tag: {\n backgroundColor: theme.palette.primary.main,\n color: 'white',\n '& svg': {\n '& path': {\n color: 'white'\n }\n }\n },\n popupIndicator: {\n color: theme.palette.primary.main,\n '& span': {\n '& svg': {\n '& path': {\n d:\n \"path('M17,13H13V17H11V13H7V11H11V7H13V11H17M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z')\"\n }\n }\n }\n },\n popupIndicatorOpen: {\n color: theme.palette.primary.main,\n '& span': {\n '& svg': {\n '& path': {\n d:\n \"path('M17,13H7V11H17M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z')\"\n }\n }\n }\n },\n clearIndicator: {\n color: theme.palette.primary.main\n },\n label: {\n color: theme.palette.primary.main\n }\n })\n);\n\nfunction MultiPickerInputComponent(props) {\n const classes = new styles();\n\n return (\n props.onChange(value)}\n value={props.value}\n classes={{\n tag: classes.tag,\n popupIndicator: classes.popupIndicator,\n popupIndicatorOpen: classes.popupIndicatorOpen,\n clearIndicator: classes.clearIndicator\n }}\n renderInput={(params) => (\n \n )}\n />\n );\n}\n\nMultiPickerInputComponent.propTypes = {\n list: PropTypes.array,\n property: PropTypes.func,\n onChange: PropTypes.func,\n label: PropTypes.string\n};\n\nexport default MultiPickerInputComponent;\n","import React from 'react';\n\nimport MultiPickerInputComponent from './multi-picker-input.component';\n\n/**\n *\n * @param {{\n * list: array;\n * property: function;\n * onChange: function;\n * label: string;\n * }} props\n */\nfunction MultiPickerInput(props) {\n return ;\n}\n\nMultiPickerInput.propspropTypes = {};\n\nexport default MultiPickerInput;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Card, Grid, makeStyles } from '@material-ui/core';\nimport CheckCircleIcon from '@material-ui/icons/CheckCircle';\nimport InfoIcon from '@material-ui/icons/Info';\nimport { ProductStatus } from 'utils/enums/ProductsRequired';\nimport Tooltip from '@material-ui/core/Tooltip';\n\nconst styles = makeStyles((theme) => ({\n card: {\n height: '100px',\n marginBottom: '20px',\n cursor: 'pointer',\n '&:hover': {\n backgroundColor: '#f2f2f2'\n }\n },\n container: {\n height: '100%',\n display: 'flex',\n alignItems: 'center'\n },\n iconContainer: {\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n height: '100%',\n '& img': {\n width: '50px',\n height: '50px'\n }\n },\n title: {\n color: theme.palette.primary.main,\n fontWeight: 'bold',\n fontSize: '1.3em'\n },\n description: {\n color: 'gray',\n fontSize: '1em'\n }\n}));\n\nfunction CardMultiSelectComponent(props) {\n const classes = new styles();\n const { list, onCardClick } = props;\n\n return (\n \n {list.map((element) => {\n return (\n onCardClick(element)}>\n \n \n \"\"\n \n \n {element.name}\n \n {element.status === ProductStatus.ACTIVE && (\n \n \n \n )}\n {element.status === ProductStatus.ADDITION_PENDING && (\n \n \n \n \n \n )}\n {element.status === ProductStatus.DELETION_PENDING && (\n \n \n \n \n \n )}\n {element.status === ProductStatus.REJECTED && (\n \n \n \n \n \n )}\n \n \n );\n })}\n \n );\n}\n\nCardMultiSelectComponent.propTypes = {\n selectedEntities: PropTypes.array,\n setSelectedEntitites: PropTypes.func,\n list: PropTypes.array,\n onChange: PropTypes.func\n};\n\nexport default CardMultiSelectComponent;\n","import React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport CardMultiSelectComponent from './card-multi-select.component';\nimport { useGlobalStateContext } from 'contexts';\nimport { UserType } from 'utils/enums/UserType';\nimport { ProductStatus } from 'utils/enums/ProductsRequired';\n/**\n *\n * @param {{\n * list: array;\n * onChange: func;\n * value: array;\n * }} props\n */\nfunction CardMultiSelect(props) {\n const {\n onChange,\n list,\n value,\n setIsModalOpen,\n setProductId,\n setOpenDialog,\n manageMyProductPage,\n setSelectedEntity\n } = props;\n const { globalState } = useGlobalStateContext();\n const isAdmin =\n globalState.user?.UserType?.name === UserType.Admin || globalState.user?.UserType?.name === UserType.SuperAdmin;\n const [selectedEntities, setSelectedEntitites] = useState([]);\n\n useEffect(() => {\n setSelectedEntitites(value ? value : []);\n }, [value]);\n\n const onCardClick = (element) => {\n const elementId = element.id;\n const index = selectedEntities.indexOf(selectedEntities.find((e) => e.id === elementId));\n if (index > -1) {\n if (!isAdmin && selectedEntities[index].status !== ProductStatus.REJECTED) {\n const shouldOpenDialogBox =\n manageMyProductPage &&\n (selectedEntities[index].status === ProductStatus.INACTIVE ||\n selectedEntities[index].status === ProductStatus.ACTIVE);\n if (shouldOpenDialogBox) {\n const selectedProduct = { ...selectedEntities[index] };\n setSelectedEntity(selectedProduct);\n setOpenDialog(true);\n } else {\n selectedEntities[index].status =\n selectedEntities[index].status === ProductStatus.INACTIVE\n ? ProductStatus.ADDITION_PENDING\n : ProductStatus.DELETION_PENDING;\n }\n }\n if (isAdmin) {\n if (\n selectedEntities[index].status === ProductStatus.ADDITION_PENDING ||\n selectedEntities[index].status === ProductStatus.DELETION_PENDING\n ) {\n setIsModalOpen(true);\n setProductId(index);\n }\n }\n } else {\n element.status = ProductStatus.ADDITION_PENDING;\n selectedEntities.push(element);\n }\n\n onChange([...selectedEntities]);\n setSelectedEntitites([...selectedEntities]);\n };\n\n return (\n \n );\n}\n\nCardMultiSelect.propTypes = {\n value: PropTypes.array,\n setIsModelOpen: PropTypes.func\n};\n\nexport default CardMultiSelect;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Card, Grid, makeStyles } from '@material-ui/core';\nimport CheckCircleIcon from '@material-ui/icons/CheckCircle';\n\nconst styles = makeStyles((theme) => ({\n card: {\n height: '100px',\n marginBottom: '20px',\n cursor: 'pointer',\n '&:hover': {\n backgroundColor: '#f2f2f2'\n }\n },\n container: {\n height: '100%',\n display: 'flex',\n alignItems: 'center'\n },\n iconContainer: {\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n height: '100%',\n '& img': {\n width: '50px',\n height: '50px'\n }\n },\n title: {\n color: theme.palette.primary.main,\n fontWeight: 'bold',\n fontSize: '1.3em'\n },\n description: {\n color: 'gray',\n fontSize: '1em'\n }\n}));\n\nfunction CardMultiSelectDatmanComponent(props) {\n const classes = new styles();\n const { selectedEntities, setSelectedEntitites, list, onChange } = props;\n\n const onCardClick = (element) => {\n const elementId = element.id;\n\n if (selectedEntities.includes(elementId)) {\n const index = selectedEntities.indexOf(elementId);\n\n if (index > -1) {\n selectedEntities.splice(index, 1);\n }\n } else {\n selectedEntities.push(elementId);\n }\n\n onChange([...selectedEntities]);\n setSelectedEntitites([...selectedEntities]);\n };\n\n return (\n \n {list.map((element) => {\n return (\n onCardClick(element)}>\n \n \n \"\"\n \n \n {element.name}\n \n {selectedEntities.includes(element.id) && (\n \n \n \n )}\n \n \n );\n })}\n \n );\n}\n\nCardMultiSelectDatmanComponent.propTypes = {\n selectedEntities: PropTypes.array,\n setSelectedEntitites: PropTypes.func,\n list: PropTypes.array,\n onChange: PropTypes.func\n};\n\nexport default CardMultiSelectDatmanComponent;\n","import React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport CardMultiSelectDatmanComponent from './card-multi-select-datman.component';\n\n/**\n *\n * @param {{\n * list: array;\n * onChange: func;\n * value: array;\n * }} props\n */\nfunction CardMultiSelectDatman(props) {\n const [selectedEntities, setSelectedEntitites] = useState([]);\n\n useEffect(() => {\n setSelectedEntitites(props.value ? props.value : []);\n }, [props.value]);\n\n return (\n \n );\n}\n\nCardMultiSelectDatman.propTypes = {\n value: PropTypes.array\n};\n\nexport default CardMultiSelectDatman;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { SelectedDropDown, Input } from 'components/onboarding/onboarding-ui-components';\nimport style from './post-code-selector.module.scss';\nimport { FormatMessage } from 'utils/languageTranslater';\n\nfunction PostCodeSelectorComponent(props) {\n const {\n postCodeValue,\n onPostCodeChange,\n onAddressObjectChange,\n isPostCodeLoading,\n setIsPostCodeLoading,\n listPostCodeAddresses,\n setListPostCodeAddresses,\n postCodeValueBuffer,\n postCodeOfSearchResults,\n showLookupView,\n disabled,\n emptyField,\n placeholder\n } = props;\n\n return showLookupView ? (\n postCodeValue}\n inputValue={postCodeValue}\n disabled={disabled}\n emptyField={emptyField}\n onInputChange={(event, postCode) => {\n if (!postCode) {\n setIsPostCodeLoading(false);\n setListPostCodeAddresses([]);\n }\n onPostCodeChange(postCode);\n }}\n onChange={(event, newValue) => {\n if (postCodeValue.length > 1 && newValue) {\n newValue.postCode = postCodeOfSearchResults;\n onPostCodeChange(postCodeOfSearchResults);\n onAddressObjectChange(newValue);\n }\n }}\n customListRender={(option) => (\n \n {`${\n option.building_number ||\n option.building_name ||\n option.sub_building_number ||\n option.sub_building_name\n }, ${option.thoroughfare} `}{' '}\n  \n {` ${option.town_or_city}, ${postCodeValueBuffer}`}\n \n )}\n />\n ) : (\n {\n onPostCodeChange(e.target.value);\n }}\n >\n );\n}\n\nPostCodeSelectorComponent.propTypes = {\n postCodeValue: PropTypes.string,\n postCodeValueBuffer: PropTypes.string,\n onPostCodeChange: PropTypes.func,\n isPostCodeLoading: PropTypes.bool,\n listPostCodeAddresses: PropTypes.array,\n onChange: PropTypes.func,\n onAddressObjectChange: PropTypes.func,\n disabled: PropTypes.bool,\n postCodeOfSearchResults: PropTypes.string\n};\n\nexport default PostCodeSelectorComponent;\n","const postcodeRegexString =\n '^(([gG][iI][rR] {0,}0[aA]{2})|(([aA][sS][cC][nN]|[sS][tT][hH][lL]|[tT][dD][cC][uU]|[bB][bB][nN][dD]|[bB][iI][qQ][qQ]|[fF][iI][qQ][qQ]|[pP][cC][rR][nN]|[sS][iI][qQ][qQ]|[iT][kK][cC][aA]) {0,}1[zZ]{2})|((([a-pr-uwyzA-PR-UWYZ][a-hk-yxA-HK-XY]?[0-9][0-9]?)|(([a-pr-uwyzA-PR-UWYZ][0-9][a-hjkstuwA-HJKSTUW])|([a-pr-uwyzA-PR-UWYZ][a-hk-yA-HK-Y][0-9][abehmnprv-yABEHMNPRV-Y]))) {0,}[0-9][abd-hjlnp-uw-zABD-HJLNP-UW-Z]{2}))$';\nconst postcodeRegex = new RegExp(postcodeRegexString);\n\nexport const isPostcodeValid = (postcode) => {\n return postcodeRegex.test(postcode);\n};\n","import React, { useState, useEffect, useCallback } from 'react';\nimport { PropTypes } from 'prop-types';\nimport PostCodeSelectorComponent from './post-code-selector.component';\nimport { PostCodeService } from 'services';\nimport { isPostcodeValid } from 'utils/postcodeValidator';\nimport { debounce } from 'lodash';\nimport { useGlobalStateContext } from 'contexts';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\n\n/**\n *\n * @param {{\n * onPostCodeChange: (postCode) => {},\n * onAddressObjectChange: (addressObject) => ()\n * postCodeValue: string\n * }} props\n */\n\nfunction PostCodeSelector(props) {\n const {\n postCodeValue,\n postCodeLookup,\n disabled,\n onPostCodeChange,\n emptyField,\n onAddressObjectChange = () => {},\n placeholder\n } = props;\n const { globalState } = useGlobalStateContext();\n\n const [isPostCodeLoading, setIsPostCodeLoading] = useState(false);\n const [listPostCodeAddresses, setListPostCodeAddresses] = useState([]);\n const [postCodeValueBuffer, setPostCodeValueBuffer] = useState('');\n const [postCodeOfSearchResults, setPostCodeOfSearchResults] = useState('');\n\n const GetPostCodeInformation = useCallback(debounce(fetchPostCode, 2000), []);\n\n async function fetchPostCode(postCodeValue) {\n setIsPostCodeLoading(true);\n const result = await PostCodeService.getPostCodeInformation(postCodeValue);\n if (result.isSuccesfully) {\n setListPostCodeAddresses(result.data.addresses);\n setPostCodeValueBuffer(postCodeValue);\n setPostCodeOfSearchResults(result.data.postcode);\n } else {\n setIsPostCodeLoading(false);\n setListPostCodeAddresses([]);\n }\n }\n\n useEffect(() => {\n if (isPostcodeValid(postCodeValue)) {\n GetPostCodeInformation(postCodeValue);\n }\n // eslint-disable-next-line\n }, [postCodeValue]);\n\n return (\n \n );\n}\n\nPostCodeSelector.propTypes = {\n postCodeValue: PropTypes.string,\n postCodeValueBuffer: PropTypes.string,\n onPostCodeChange: PropTypes.func,\n onAddressObjectChange: PropTypes.func\n};\n\nexport default PostCodeSelector;\n","import React, { useState, useEffect } from 'react';\nimport { useOnboardingFormContext } from 'contexts';\nimport { CompaniesHouseService } from 'services';\nimport CompaniesHouseLookupComponent from './companies-house-lookup.component';\n\nfunction CompaniesHouseLookup() {\n const { onboardingForm, setOnboardingForm } = useOnboardingFormContext();\n const [disabled, setDisabled] = useState(true);\n const [isLoading, setIsLoading] = useState(false);\n const [error, setError] = useState(false);\n const { companyName } = onboardingForm.nameAndAddress;\n\n const getCompanyDetails = async () => {\n setIsLoading(true);\n setDisabled(true);\n\n const result = await CompaniesHouseService.getCompaniesDetail(companyName, 10);\n if (result.isSuccesfully) {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n nameAndAddress: {\n ...onboardingForm.nameAndAddress,\n companies: result.data.items\n }\n }));\n } else {\n setError(true);\n }\n\n setIsLoading(false);\n setDisabled(false);\n };\n\n useEffect(() => {\n setError(false);\n if (companyName && companyName.length >= 3) setDisabled(false);\n else setDisabled(true);\n }, [companyName]);\n\n return (\n \n );\n}\n\nCompaniesHouseLookup.propTypes = {};\n\nexport default CompaniesHouseLookup;\n","import React from 'react';\nimport styles from './upload-documents.module.scss';\nimport {\n Grid,\n List,\n ListItem,\n ListItemText,\n ListItemSecondaryAction,\n IconButton,\n Tooltip,\n CircularProgress,\n Typography,\n Box,\n Dialog,\n DialogTitle,\n DialogContent,\n DialogContentText,\n DialogActions,\n Button,\n Select,\n MenuItem\n} from '@material-ui/core';\nimport { DropzoneArea } from 'material-ui-dropzone';\nimport DeleteIcon from '@material-ui/icons/Delete';\nimport DoneIcon from '@material-ui/icons/Done';\nimport ErrorIcon from '@material-ui/icons/Error';\nimport PropTypes from 'prop-types';\nimport { SnackBarAndAlert } from 'components';\nimport { createStyles, makeStyles } from '@material-ui/core/styles';\nimport { DocumentStatus } from 'utils/enums/DocumentStatus';\nimport LoadingScreen from 'components/loading-screen/loading-screen.container';\nimport { useGlobalStateContext } from 'contexts';\nimport { Label, FormItem, Input } from 'components/onboarding/onboarding-ui-components';\nimport { translateText, FormatMessage } from 'utils/languageTranslater';\nimport { checkEmptyValue, validateCardNumber } from 'validators/onboarding/onboarding-check-value.validator';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\n\nconst useStylesList = makeStyles((theme) => ({\n root: {\n width: '100%',\n backgroundColor: theme.palette.background.paper\n },\n secondaryAction: {\n width: '25%',\n display: 'flex',\n justifyContent: 'flex-end'\n }\n}));\n\nconst useStylesListItemText = makeStyles(() => ({\n root: {\n maxWidth: '75%'\n }\n}));\n\nconst useStylesCircular = makeStyles(() =>\n createStyles({\n previewChip: {\n width: '100% !important'\n },\n root: {\n minWidth: 160,\n maxWidth: 300\n },\n item: {\n display: 'block !important'\n }\n })\n);\n\nconst UploadDocumentsComponent = (props) => {\n const { globalState } = useGlobalStateContext();\n\n const {\n onChange,\n uploadingOrUploadedFiles,\n onRemove,\n isShowDeleteWarning,\n setIsShowDeleteWarning,\n isDeletedSuccessfully,\n setIsDeletedSuccessfully,\n fileToBeRemoved,\n setFileToBeRemoved,\n handleListClick,\n addedFiles,\n dropZoneKey,\n nrMaxFilesExceedError,\n handleCloseAlertError,\n fileExistError,\n nonUniqueFile,\n isLoading,\n uploadingFailed,\n uploadPendingDocTypes,\n docTypeId,\n setDocTypeId,\n fileIsUploading,\n uploadFailureMessage,\n setIdNumber,\n idNumber,\n isFieldToBeShown,\n canUpload,\n cardNumber,\n setCardNumber,\n isValidIdNumber,\n source,\n isValidCardNumber,\n doValidation\n } = props;\n const classesCircular = useStylesCircular();\n const classesList = useStylesList();\n const classesListItemText = useStylesListItemText();\n const ausIdNum =\n (docTypeId == 4 || docTypeId == 3) && globalState?.merchant?.country === MerchantCountries.AUSTRALIA;\n function CircularProgressWithLabel(props) {\n return (\n \n \n \n {`${Math.round(\n props.value\n )}%`}\n \n \n );\n }\n\n return (\n \n \n \n {isFieldToBeShown && (\n
\n \n {\n if (source !== 'BANK_UPDATE') {\n if (ausIdNum) {\n let value = /^[a-zA-Z0-9]{0,11}$/.test(e.target.value);\n if (value) {\n setIdNumber(e.target.value.toUpperCase());\n }\n } else {\n let value = /^[a-zA-Z0-9]{0,15}$/.test(e.target.value);\n if (value) {\n setIdNumber(e.target.value.toUpperCase());\n }\n }\n }\n }}\n >\n {!isValidIdNumber && (docTypeId == 4 || docTypeId == 3) && (\n

{'Please input valid ID Number'}

\n )}\n {docTypeId == 3 && globalState?.merchant?.country === MerchantCountries.AUSTRALIA && (\n
\n \n {\n if (validateCardNumber(e.target.value) && source !== 'BANK_UPDATE') {\n doValidation(e.target.value);\n setCardNumber(e.target.value.toUpperCase());\n }\n }}\n >\n {isValidCardNumber && (\n

{'Please input valid card number'}

\n )}\n
\n )}\n
\n )}\n \n {\n if (docTypeId != e.target.value && source !== 'BANK_UPDATE') {\n setIdNumber('');\n setCardNumber('');\n }\n setDocTypeId(e.target.value);\n }}\n >\n {uploadPendingDocTypes.map((docType) => {\n return (\n \n {translateText({\n id: docType.id === -1 ? 'None' : docType.name,\n text: docType.name\n })}\n \n );\n })}\n \n
\n
\n \n \n {\n \n }\n \n \n {nrMaxFilesExceedError && (\n \n Number of files to add {addedFiles.length} + Added files {uploadingOrUploadedFiles.length} exceed\n limit of 20.\n \n )}\n {fileExistError && (\n \n File with name {nonUniqueFile.name} already exist.\n \n )}\n {uploadingFailed && (\n \n {uploadFailureMessage}\n \n )}\n\n {isDeletedSuccessfully && (\n setIsDeletedSuccessfully(false)}\n type=\"success\"\n >\n File was deleted successfully.\n \n )}\n {uploadingOrUploadedFiles && uploadingOrUploadedFiles.length > 0 && (\n \n \n {uploadingOrUploadedFiles.map((uploadingFile) => {\n return (\n handleListClick(event, uploadingFile)}\n >\n \n {uploadingFile.filename}}\n secondary={FormatMessage({\n id: uploadingFile.documentTypeName || 'Unknown',\n text: uploadingFile.documentTypeName || 'Unknown'\n })}\n >\n \n\n \n {uploadingFile.status !== DocumentStatus.SUCCESS &&\n uploadingFile.isUploading && (\n \n )}\n\n {uploadingFile.status === DocumentStatus.SUCCESS && (\n \n \n \n )}\n {uploadingFile.status === DocumentStatus.ERROR && (\n \n \n \n )}\n \n setFileToBeRemoved(uploadingFile) &\n setIsShowDeleteWarning((state) => !state)\n }\n >\n \n \n \n \n );\n })}\n \n \n )}\n\n {isShowDeleteWarning && (\n setIsShowDeleteWarning(false)}\n aria-labelledby=\"draggable-dialog-title\"\n >\n \n Delete file\n \n \n \n Are you sure you want to delete file {fileToBeRemoved.filename}?\n \n \n \n {isLoading && }\n setIsShowDeleteWarning(false)}\n color=\"primary\"\n variant=\"contained\"\n >\n Cancel\n \n \n \n \n )}\n \n
\n );\n};\n\nUploadDocumentsComponent.propTypes = {\n onSubmit: PropTypes.func,\n isDisabled: PropTypes.bool,\n isLoading: PropTypes.bool,\n canUpload: PropTypes.bool,\n handleSave: PropTypes.func,\n onChange: PropTypes.func,\n files: PropTypes.array,\n uploadingOrUploadedFiles: PropTypes.array,\n onRemove: PropTypes.func,\n isShowDeleteWarning: PropTypes.bool,\n setIsShowDeleteWarning: PropTypes.func,\n isDeletedSuccessfully: PropTypes.bool,\n setIsDeletedSuccessfully: PropTypes.func,\n fileToBeRemoved: PropTypes.any,\n setFileToBeRemoved: PropTypes.func,\n handleListClick: PropTypes.func,\n addedFiles: PropTypes.array,\n dropZoneKey: PropTypes.number,\n nrMaxFilesExceedError: PropTypes.bool,\n handleCloseAlertError: PropTypes.func,\n fileExistError: PropTypes.bool,\n nonUniqueFile: PropTypes.object,\n uploadingFailed: PropTypes.bool,\n uploadBtnName: PropTypes.string,\n removeFileFromDropzone: PropTypes.func\n};\n\nexport default UploadDocumentsComponent;\n","import React, { useEffect, useState } from 'react';\nimport { DocumentsService, NonResellerMerchantService, AuthService, AdminService } from 'services';\nimport UploadDocumentsComponent from './upload-documents.component';\nimport { DocumentStatus } from 'utils/enums/DocumentStatus';\nimport PropTypes from 'prop-types';\nimport { DocumentFlag } from 'utils/enums/DocumentFlag';\nimport { DocumentTypes } from 'utils/enums/DocumentType';\nimport { useGlobalStateContext } from 'contexts';\nimport { getFormattedDocumentsStatsForMerchant, isTokenGoingToExpire } from 'utils/helper';\nimport { UserType } from 'utils/enums/UserType';\nimport { ErrorCodes } from 'utils/enums/ErrorCode';\nimport { formTypes } from 'utils/enums/FormTypes';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { BusinessTypeEnumId } from 'utils/enums/BusinessType';\nimport { DocumentStatusToName } from 'utils/enums/DocumentReviewStatus';\nimport { useCallback } from 'react';\nimport { debounce } from '@material-ui/core';\nfunction UploadDocuments(props) {\n const { setRoute, globalState } = useGlobalStateContext();\n const {\n entity,\n entityId,\n flag,\n setValidForm,\n setFormattedDocumentsStats,\n setUploadSuccess,\n businessTypeId,\n setIsFinishButtonDisabled,\n source,\n bankUpload,\n setBankUpload,\n setBucketDocuments,\n onlyBucketUpload,\n csrfToken,\n formType,\n setCSRFToken,\n cardNumber,\n setCardNumber,\n setIdNumber,\n idNumber\n } = props;\n const [addedFiles, setAddedFiles] = useState([]);\n const [dropZoneKey, setDropZoneKey] = useState(1);\n const [uploadedDocumentId, setUploadedDocumentId] = useState(null);\n const [filename, setFilename] = useState(null);\n const [filesize, setFilesize] = useState(null);\n const [fileStatus, setFileStatus] = useState(null);\n const [fileStatusDocumentId, setFileStatusDocumentId] = useState(null);\n const [progress, setProgress] = useState(0);\n const [uploadingOrUploadedFiles, setUploadingOrUploadedFiles] = useState([]);\n const [isShowDeleteWarning, setIsShowDeleteWarning] = useState(false);\n const [isDeletedSuccessfully, setIsDeletedSuccessfully] = useState(false);\n const [fileToBeRemoved, setFileToBeRemoved] = useState('');\n const [nrMaxFilesExceedError, setNrMaxFilesExceedError] = useState(false);\n const [fileExistError, setFileExistError] = useState(false);\n const [nonUniqueFile, setNonUniqueFile] = useState(null);\n const [isLoading, setIsLoading] = useState(false);\n const [uploadingFailed, setUploadingFailed] = useState(false);\n const [uploadFailureMessage, setUploadFailureMessage] = useState('');\n const [uploadPendingDocTypes, setUploadPendingDocTypes] = useState([]);\n const [docTypeId, setDocTypeId] = useState(-1);\n const [fileIsUploading, setFileIsUploading] = useState(false);\n const [mandatoryFilesUploaded, setMandatoryFilesUploaded] = useState(false);\n const [isValidIdNumber, setIsValidIdNumber] = useState(false);\n const [isValidCardNumber, setIsValidCardNumber] = useState(false);\n const isFieldToBeShown =\n (globalState?.merchant?.country === MerchantCountries.AUSTRALIA && (docTypeId == 3 || docTypeId == 4)) ||\n (globalState?.merchant?.country === MerchantCountries.UNITED_STATES && docTypeId == 3);\n\n const canUpload =\n (globalState?.merchant?.country === MerchantCountries.AUSTRALIA &&\n idNumber?.length >= 6 &&\n docTypeId == 3 &&\n !isValidCardNumber) ||\n (docTypeId == 4 && idNumber?.length >= 6) ||\n (globalState?.merchant?.country === MerchantCountries.UNITED_STATES && idNumber?.length > 6 && docTypeId == 3);\n\n const isAdmin =\n globalState.user?.UserType?.name === UserType.Admin || globalState.user?.UserType?.name === UserType.SuperAdmin;\n\n const generateCSRFToken = async () => {\n setIsLoading(true);\n const response = await AuthService.generateCSRFToken(\n formTypes.ONBOARDING_UPLOAD_DOCUMENTS,\n globalState.merchant?.id\n );\n if (response.isSuccesfully) {\n setCSRFToken(response.data.csrfToken);\n }\n setIsLoading(false);\n return response?.data?.csrfToken;\n };\n\n useEffect(() => {\n const fetchData = async () => {\n if (flag === DocumentFlag.ONBOARDING || flag === DocumentFlag.AGENT_UPLOAD) {\n const response = await DocumentsService.listObjects(entity, entityId, flag);\n if (response.isSuccesfully) {\n if (response.data && response.data.length > 0) {\n const dbFiles = response.data.map((file) => {\n file.status = DocumentStatus.SUCCESS;\n file.documentTypeName = DocumentTypes.find(\n (type) => type.id.toString() === file.documentTypeId?.toString()\n )?.name;\n return file;\n });\n\n refreshUploadDocumentsPageState(dbFiles);\n } else {\n refreshUploadDocumentsPageState([]);\n }\n }\n } else {\n await refreshUploadDocumentsPageState([]);\n }\n };\n\n fetchData();\n // eslint-disable-next-line\n }, [entityId, source, businessTypeId]);\n\n useEffect(() => {\n if (onlyBucketUpload && setBucketDocuments) {\n setBucketDocuments(uploadingOrUploadedFiles);\n }\n // eslint-disable-next-line\n }, [uploadingOrUploadedFiles]);\n useEffect(() => {\n if (uploadedDocumentId && progress > 0) {\n const index = uploadingOrUploadedFiles.findIndex((uplFile) => {\n return uplFile.id === uploadedDocumentId;\n });\n\n if (index !== -1) {\n uploadingOrUploadedFiles[index].percentageProgress = progress;\n } else {\n const newObj = {\n id: uploadedDocumentId,\n filename: filename,\n filesize: filesize,\n percentageProgress: progress,\n isUploading: true,\n documentTypeName: DocumentTypes.find((type) => type.id.toString() === docTypeId.toString()).name,\n documentTypeId: parseInt(docTypeId),\n entity,\n entityId,\n flag\n };\n setUploadingOrUploadedFiles((oldArray) => [...oldArray, newObj]);\n }\n }\n // eslint-disable-next-line\n }, [uploadedDocumentId, progress]);\n\n useEffect(() => {\n if (fileStatus && fileStatusDocumentId) {\n const index = uploadingOrUploadedFiles.findIndex((uplFile) => {\n return uplFile.id === fileStatusDocumentId;\n });\n\n setFileToBeRemoved('');\n\n uploadingOrUploadedFiles[index].status = fileStatus;\n if (fileStatus === DocumentStatus.SUCCESS) {\n refreshUploadDocumentsPageState(\n uploadingOrUploadedFiles.filter((uf) => uf.status === DocumentStatus.SUCCESS)\n );\n }\n\n setUploadingOrUploadedFiles((oldArray) => [...oldArray]);\n }\n\n // eslint-disable-next-line\n }, [fileStatusDocumentId]);\n\n const handleListClick = async (event, selectedFile) => {\n await DocumentsService.getObject(entity, entityId, selectedFile.id, selectedFile.filename);\n };\n\n const getLatestCsrfToken = async () => {\n let latestCSRFToken = csrfToken;\n if (formTypes.ONBOARDING_UPLOAD_DOCUMENTS === formType) {\n const isCSRFGoingToExpire = isTokenGoingToExpire(csrfToken);\n if (isCSRFGoingToExpire) {\n latestCSRFToken = await generateCSRFToken();\n }\n }\n return latestCSRFToken;\n };\n\n const onRemove = async () => {\n const latestCSRFToken = await getLatestCsrfToken();\n let response;\n if (!onlyBucketUpload) {\n response = await DocumentsService.removeObject(\n entity,\n entityId,\n fileToBeRemoved.id,\n fileToBeRemoved.filename,\n formType,\n latestCSRFToken\n );\n } else {\n response = await DocumentsService.removeBucketObject(\n entity,\n entityId,\n fileToBeRemoved.id,\n fileToBeRemoved.filename,\n formType,\n latestCSRFToken\n );\n }\n if (response.isSuccesfully) {\n const newList = uploadingOrUploadedFiles.filter((item) => item.id !== fileToBeRemoved.id);\n setFileToBeRemoved('');\n refreshUploadDocumentsPageState(\n newList.filter((uf) => uf.status === DocumentStatus.SUCCESS),\n fileToBeRemoved.documentTypeId\n );\n setIsDeletedSuccessfully(true);\n if (!isAdmin && !onlyBucketUpload) {\n AdminService.saveUserKycLogs(entityId, {\n resellerId: globalState.reseller?.id,\n notes: '',\n documentId: fileToBeRemoved.id,\n documentStatus: DocumentStatusToName.DELETED,\n docTypeId: fileToBeRemoved.documentTypeId\n });\n }\n } else {\n const errorMessage =\n response.data.errorCode === ErrorCodes.CSRF_VALIDATION_FAILURE.errorCode\n ? ErrorCodes.CSRF_VALIDATION_FAILURE.message\n : ErrorCodes.DOCUMENT_UPLOAD_ERROR.message;\n setUploadFailureMessage(errorMessage);\n setUploadingFailed(true);\n }\n setIsShowDeleteWarning(false);\n setIsLoading(false);\n };\n\n const fileProgress = (documentId, filename, filesize, progress) => {\n setFileIsUploading(true);\n setIsLoading(false);\n const { loaded, total } = progress;\n const percentageProgress = Math.floor((loaded / total) * 100);\n\n setFilename(filename);\n setFilesize(filesize);\n setUploadedDocumentId(documentId);\n setProgress(percentageProgress);\n };\n\n const fileDone = (documentId, response) => {\n setFileStatus(response.status);\n setFileStatusDocumentId(documentId);\n };\n\n const onChange = async (newFiles) => {\n if (newFiles && newFiles.length > 0) {\n const latestCSRFToken = await getLatestCsrfToken();\n isFileUnique(newFiles);\n setAddedFiles(newFiles);\n setNrMaxFilesExceedError(false);\n setUploadingFailed(false);\n const uploadedLength = uploadingOrUploadedFiles.filter(\n (uplFile) => uplFile.status === DocumentStatus.SUCCESS\n ).length;\n if (uploadedLength + newFiles.length <= 20) {\n setIsLoading(true);\n let uploadedFiles;\n if (!onlyBucketUpload) {\n uploadedFiles = await DocumentsService.upload(\n entity,\n entityId,\n flag,\n docTypeId,\n newFiles,\n fileProgress,\n fileDone,\n formType,\n latestCSRFToken,\n globalState.reseller?.id,\n isAdmin,\n docTypeId == 3 || docTypeId == 4 ? idNumber : '',\n docTypeId == 3 ? cardNumber : ''\n );\n } else {\n uploadedFiles = await DocumentsService.uploadToBucket(\n entity,\n entityId,\n newFiles,\n fileProgress,\n fileDone,\n formType,\n latestCSRFToken\n );\n }\n if (uploadedFiles.isSuccesfully) {\n setAddedFiles([]);\n const newKey = dropZoneKey + 1;\n setDropZoneKey(newKey);\n sessionStorage.setItem('docTypeId', docTypeId);\n setUploadSuccess(true);\n setDocTypeId(-1);\n setFileIsUploading(false);\n setUploadedDocumentId(null);\n } else {\n const errorMessage =\n uploadedFiles.data.errorCode === ErrorCodes.CSRF_VALIDATION_FAILURE.errorCode\n ? ErrorCodes.CSRF_VALIDATION_FAILURE.message\n : ErrorCodes.DOCUMENT_UPLOAD_ERROR.message;\n setUploadFailureMessage(errorMessage);\n setUploadingFailed(true);\n }\n setIsLoading(false);\n } else {\n setNrMaxFilesExceedError(true);\n }\n }\n };\n\n useEffect(() => {\n const removeFileFromS3 = async (fileToRemove) => {\n const latestCSRFToken = await getLatestCsrfToken();\n await DocumentsService.removeBucketObject(\n entity,\n entityId,\n fileToRemove.id,\n fileToRemove.filename,\n formType,\n latestCSRFToken\n );\n };\n\n if (uploadingFailed && uploadedDocumentId) {\n const tempDocuments = uploadingOrUploadedFiles.filter((uf) => uf.id !== uploadedDocumentId);\n const fileToRemove = uploadingOrUploadedFiles.filter((uf) => uf.id === uploadedDocumentId)[0];\n console.log(fileToRemove);\n removeFileFromS3(fileToRemove);\n setUploadingOrUploadedFiles(tempDocuments);\n }\n //eslint-disable-next-line\n }, [uploadingFailed]);\n\n /**\n *\n * @param {[File]} newFiles\n */\n const isFileUnique = (newFiles) => {\n setFileExistError(false);\n const nonUnique = newFiles.find((val, index, arr) => {\n return arr.findIndex((existelem) => existelem.name === val.name) !== index;\n });\n\n if (nonUnique) {\n setFileExistError(true);\n setNonUniqueFile(nonUniqueFile);\n }\n };\n const handleCloseAlertError = () => {\n setNrMaxFilesExceedError(false);\n setUploadingFailed(false);\n setUploadFailureMessage('');\n };\n\n useEffect(() => {\n if (bankUpload !== undefined) {\n if (\n uploadingOrUploadedFiles?.length > 1 &&\n uploadPendingDocTypes.length === 1 &&\n uploadPendingDocTypes[0].id === -1\n ) {\n setBankUpload(true);\n setTimeout(() => {\n setRoute('/home');\n }, 25000);\n } else {\n setBankUpload(false);\n }\n }\n\n // eslint-disable-next-line\n }, [uploadingOrUploadedFiles.length, uploadPendingDocTypes]);\n\n useEffect(() => {\n const uploadDoc = async () => {\n if (setIsFinishButtonDisabled) {\n let pendingDocTypesLength = 1;\n if (mandatoryFilesUploaded) {\n pendingDocTypesLength = 4;\n }\n if (\n uploadingOrUploadedFiles?.length > 0 &&\n uploadPendingDocTypes.length <= pendingDocTypesLength &&\n uploadPendingDocTypes[0].id === -1 &&\n mandatoryFilesUploaded\n ) {\n setIsFinishButtonDisabled(false);\n await NonResellerMerchantService.updateMerchantData(entityId, {\n accountStatus: 'ReviewPending'\n });\n } else if (\n uploadingOrUploadedFiles?.length > 0 &&\n (businessTypeId === BusinessTypeEnumId.Partnership ||\n businessTypeId === BusinessTypeEnumId.Other) &&\n uploadPendingDocTypes[0].id === -1 &&\n mandatoryFilesUploaded\n ) {\n setIsFinishButtonDisabled(false);\n await NonResellerMerchantService.updateMerchantData(entityId, {\n accountStatus: 'ReviewPending'\n });\n } else {\n setIsFinishButtonDisabled(true);\n }\n }\n };\n uploadDoc();\n // eslint-disable-next-line\n }, [uploadingOrUploadedFiles.length, uploadPendingDocTypes, uploadPendingDocTypes.length]);\n\n useEffect(() => {\n const coutry = globalState.merchant?.country === MerchantCountries.AUSTRALIA;\n if (coutry) {\n let validNumber = /^[a-zA-Z0-9]{6,11}$/.test(idNumber);\n if (validNumber) {\n setIsValidIdNumber(true);\n } else {\n setIsValidIdNumber(false);\n }\n } else {\n let validNumber = /^[a-zA-Z0-9]{7,15}$/.test(idNumber);\n\n if (validNumber) {\n setIsValidIdNumber(true);\n } else {\n setIsValidIdNumber(false);\n }\n }\n }, [idNumber]);\n const cardValidation = (inputValue) => {\n let validNumber = /^[a-zA-Z0-9]{6,10}$/.test(inputValue);\n if (validNumber) {\n setIsValidCardNumber(false);\n } else if (inputValue.length === 0) {\n setIsValidCardNumber(false);\n } else {\n setIsValidCardNumber(true);\n }\n };\n\n // trigger validation function when user stop typing\n const doValidation = useCallback(debounce(cardValidation, 100), []);\n\n return (\n \n );\n\n function refreshUploadDocumentsPageState(files, removedDocType) {\n const formattedDocumentsStats = getFormattedDocumentsStatsForMerchant({\n merchantBusinessTypeId: businessTypeId,\n merchantCountry: globalState.merchant?.country,\n source,\n merchantDocuments: files,\n resellerName: globalState.reseller?.name,\n isAdmin\n });\n\n let pendingDocTypes = [...formattedDocumentsStats.pendingDocumentTypes];\n pendingDocTypes.unshift(DocumentTypes[0]);\n setUploadPendingDocTypes(pendingDocTypes);\n setMandatoryFilesUploaded(formattedDocumentsStats.hasAllMandatoryDocsUploaded);\n setFormattedDocumentsStats(formattedDocumentsStats);\n setUploadingOrUploadedFiles(files);\n setValidForm(formattedDocumentsStats.pendingDocumentTypes.length === 0);\n setDocTypeId(-1);\n if (source !== 'BANK_UPDATE') {\n setIdNumber('');\n setCardNumber('');\n }\n }\n}\n\nUploadDocuments.propTypes = {\n entity: PropTypes.string,\n entityId: PropTypes.string,\n flag: PropTypes.bool,\n setValidForm: PropTypes.func,\n setUploadSuccess: PropTypes.func,\n uploadBtnName: PropTypes.string,\n bankUpload: PropTypes.bool,\n setBankUpload: PropTypes.func,\n setCount: PropTypes.func\n};\n\nexport default UploadDocuments;\n","import { BaseAxios } from './interceptor.service.js';\nimport {\n AuthServiceEndpoint,\n Region,\n UserPollWebClientId,\n UserPollId,\n IdentityPollId,\n Domain\n} from '../utils/constants';\nimport jwt from 'jsonwebtoken';\nlet dataMemory = {};\nexport class MyStorage {\n static syncPromise = null;\n static idTokn = null;\n\n /**\n *\n * @param {string} key\n * @param {string} value\n */\n static setItem(key, value) {\n if (key.endsWith('refreshToken')) {\n const idToken = jwt.decode(MyStorage.idTokn);\n if (idToken['myPayUserId']) {\n BaseAxios.post(\n `${AuthServiceEndpoint}/save-refresh-token`,\n {\n refreshToken: `${key}:${value}`\n },\n {\n headers: {\n Authorization: MyStorage.idTokn\n }\n }\n )\n .then(() => console.log('Success'))\n .catch(() => console.log('Error'));\n }\n } else {\n if (key.endsWith('idToken')) {\n MyStorage.idTokn = value;\n }\n localStorage.setItem('MyPay_' + key, value);\n }\n dataMemory[key] = value;\n\n return dataMemory[key];\n }\n\n /**\n * This is used to get a specific key from storage\n */\n static getItem(key) {\n return Object.prototype.hasOwnProperty.call(dataMemory, key) ? dataMemory[key] : undefined;\n }\n\n /**\n * This is used to remove an item from storage\n * @param {string} key\n */\n static removeItem(key) {\n if (key.endsWith('refreshToken') && MyStorage.idTokn) {\n BaseAxios.delete(`${AuthServiceEndpoint}/delete-refresh-token`, {\n headers: {\n Authorization: MyStorage.idTokn\n }\n });\n }\n\n localStorage.removeItem(key);\n return delete dataMemory[key];\n }\n\n /**\n * This is used to clear the storage\n */\n static clear() {\n dataMemory = {};\n return dataMemory;\n }\n\n static sync() {\n if (!MyStorage.syncPromise) {\n MyStorage.syncPromise = new Promise((res, rej) => {\n SyncData()\n .then(() => res())\n .catch((err) => rej(err));\n });\n return MyStorage.syncPromise;\n }\n }\n}\nexport async function SyncData() {\n try {\n const token = getExistIdToken();\n\n if (token && !window.location.href.includes('maintenance')) {\n const response = await BaseAxios.get(`${AuthServiceEndpoint}/get-refresh-token`, {\n headers: {\n Authorization: token\n }\n });\n\n const data = response.data;\n refreshDataMemory(data.refreshToken);\n } else {\n console.warn('No token found');\n }\n } catch (err) {\n throw err;\n }\n}\n\nlet redirectSignIn = `${window.location.protocol}//${window.location.host}`;\nlet redirectSignOut = `${window.location.protocol}//${window.location.host}`;\n\nexport const AWSConfiguraion = {\n Auth: {\n region: Region,\n userPoolWebClientId: UserPollWebClientId,\n userPoolId: UserPollId,\n identityPoolId: IdentityPollId,\n // authenticationFlowType: 'CUSTOM_AUTH',\n authenticationFlowType: 'USER_PASSWORD_AUTH',\n storage: MyStorage,\n oauth: {\n domain: Domain,\n\n redirectSignIn: redirectSignIn,\n redirectSignOut: redirectSignOut,\n responseType: 'code' // or 'token', note that REFRESH token will only be generated when the responseType is code\n }\n }\n};\n//\n/**\n *\n * @param {string} refreshToken\n */\nfunction refreshDataMemory(refreshToken) {\n let parsedToken;\n if (refreshToken) {\n parsedToken = refreshToken.split(':');\n } else {\n console.warn('No refresh token found');\n\n for (let key in localStorage) {\n if (key.startsWith('MyPay_')) {\n MyStorage.removeItem(key);\n }\n }\n return;\n }\n\n let [refreshTokenIdentificator, refreshTokenValue] = parsedToken;\n dataMemory[refreshTokenIdentificator] = refreshTokenValue;\n\n for (let key in localStorage) {\n if (key.startsWith('MyPay_')) {\n const memoryKey = key.replace('MyPay_', '');\n dataMemory[memoryKey] = localStorage.getItem(key);\n }\n }\n}\n\nfunction getExistIdToken() {\n for (let key in localStorage) {\n if (key.startsWith('MyPay_') && key.endsWith('idToken')) {\n return localStorage[key].replace(/['\"]+/g, '');\n }\n }\n}\n","import React, { useState, useEffect } from 'react';\nimport { SyncData, AWSConfiguraion } from '../../services/amplify-storage.service';\nimport Amplify from 'aws-amplify';\nimport PropTypes from 'prop-types';\nimport browserHistory from 'browserHistory';\nimport { useGlobalStateContext } from 'contexts/global-state/global-state.context';\n\nfunction AuthProvider(props) {\n const { setRoute } = useGlobalStateContext();\n const [isSyncState, setIsSyncState] = useState(false);\n\n useEffect(() => {\n async function syncData() {\n //need refresh user for refresh page\n try {\n await SyncData();\n Amplify.configure(AWSConfiguraion);\n setIsSyncState(true);\n } catch (err) {\n Amplify.configure(AWSConfiguraion);\n setIsSyncState(true);\n if (browserHistory.location.hash) {\n setRoute(`/login${browserHistory.location.hash}`);\n } else {\n setRoute('/login');\n }\n }\n }\n\n syncData();\n\n // eslint-disable-next-line\n }, []);\n\n return {isSyncState && props.children};\n}\n\nAuthProvider.propTypes = {\n children: PropTypes.any\n};\n\nexport { AuthProvider };\n","import React, { useState } from 'react';\n\nconst AdminFunctionsContext = React.createContext();\n\nfunction AdminFunctionsProvider(props) {\n const [adminFunctions, setAdminFunctions] = useState({});\n\n return (\n \n {props.children}\n \n );\n}\n\nfunction useAdminFunctionsContext() {\n const adminFunctionsContext = React.useContext(AdminFunctionsContext);\n if (!adminFunctionsContext) {\n throw new Error(`AdminFunctionsContext must be used within a AdminFunctionsProvider`);\n }\n return adminFunctionsContext;\n}\n\nexport { AdminFunctionsProvider, useAdminFunctionsContext };\n","import React, { useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { useGlobalStateContext } from 'contexts';\nimport { chatBotScript } from 'utils/chatbot-script';\nimport { ResellerType } from 'utils/enums/ResellerType';\nimport { CHATBOT_SCRIPT_URL, CHATBOT_SCRIPT_ID, CHATBOT_DATA_HANDLE_ATTRIBUTE } from 'utils/constants';\nimport qs from 'query-string';\nfunction ChatBotProvider(props) {\n const { globalState } = useGlobalStateContext();\n\n useEffect(() => {\n if (globalState.reseller?.name === ResellerType.DATMAN) {\n chatBotScript(CHATBOT_SCRIPT_URL, CHATBOT_SCRIPT_ID, CHATBOT_DATA_HANDLE_ATTRIBUTE);\n }\n }, [globalState.reseller]);\n\n useEffect(() => {\n function autoFillChatBotForm() {\n if (window?.$zoho?.salesiq?.visitor) {\n if (globalState.user) {\n window.$zoho.salesiq.visitor.name(\n [globalState.user.firstName, globalState.user.lastName].join(' ')\n );\n window.$zoho.salesiq.visitor.email(globalState.user.email);\n window.$zoho.salesiq.visitor.contactnumber(globalState.user.phoneNumber || '');\n } else if (window.$ZSIQWidget) {\n window.$zoho.salesiq.reset();\n }\n }\n\n const queryString = qs.parse(window.location.search, { ignoreQueryPrefix: true });\n if (queryString?.name) {\n window.$zoho.salesiq.visitor.name(queryString.name);\n }\n if (queryString?.email) {\n window.$zoho.salesiq.visitor.email(queryString.email);\n }\n if (queryString?.phoneNumber) {\n window.$zoho.salesiq.visitor.contactnumber(queryString.phoneNumber);\n }\n }\n if (globalState.reseller?.name === ResellerType.DATMAN) {\n try {\n setTimeout(() => {\n autoFillChatBotForm();\n }, 1000);\n } catch (ex) {\n console.error('Chatbot configuration failed!!!');\n }\n }\n }, [globalState, globalState.user]);\n\n return {props.children};\n}\n\nChatBotProvider.propTypes = {\n children: PropTypes.any\n};\n\nexport { ChatBotProvider };\n","export const chatBotScript = (url, id, data_handle_attribute) => {\n window.$zoho = window.$zoho || {};\n window.$zoho.salesiq = window.$zoho.salesiq || {\n widgetcode: '545376e93d010b1823ca879a10fb8a95956de54b2a71fe6b473059900bc9e219',\n values: {},\n ready: function () {}\n };\n var scriptTag = document.createElement('script');\n scriptTag.type = 'text/javascript';\n scriptTag.id = id;\n scriptTag.defer = true;\n scriptTag.setAttribute('data-handle', data_handle_attribute);\n scriptTag.src = url;\n var firstTagOfPage = document.getElementsByTagName('script')[0];\n firstTagOfPage.parentNode.insertBefore(scriptTag, firstTagOfPage);\n};\n","import React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nconst MerchantCreationContext = React.createContext();\n\nfunction MerchantCreationProvider(props) {\n const initialState = {\n showMerchantCreationMessage: false\n };\n\n const [merchantCreationState, setMerchantCreationState] = useState(initialState);\n\n return (\n \n {props.children}\n \n );\n}\n\n/**\n * @returns {{merchantCreationState: initialState, setMerchantCreationState: (state: initialState) => {}}}\n */\nfunction useMerchantCreationContext() {\n const selectedElementContext = React.useContext(MerchantCreationContext);\n if (!selectedElementContext) {\n throw new Error('useMerchantCreationContext must be used within a MerchantCreationProvider');\n }\n return selectedElementContext;\n}\n\nexport { MerchantCreationProvider, useMerchantCreationContext };\n\nMerchantCreationProvider.propTypes = {\n children: PropTypes.any\n};\n","import { AuthAxios, BaseAxios } from './interceptor.service';\nimport { AuthServiceEndpoint, Region, UserPollWebClientId, UserPollId } from 'utils/constants';\nimport { ErrorResponse, SuccesResponse } from 'models';\nimport { DatmanAPIEndpoint } from 'utils/constants';\nimport { DatmanAxios } from './interceptor.service.js';\n\nasync function socialSignIn(token) {\n try {\n const response = await AuthAxios.post(\n `${AuthServiceEndpoint}/socialSignIn`,\n {},\n {\n headers: {\n Authorization: JSON.stringify(token)\n }\n }\n );\n return new SuccesResponse(response.data);\n } catch (error) {\n const message = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(message);\n }\n}\n\nasync function login(loginRequest) {\n try {\n const response = await AuthAxios.post(`${AuthServiceEndpoint}/login`, loginRequest);\n return new SuccesResponse(response.data);\n } catch (error) {\n const message = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(message);\n }\n}\n\nfunction isLoggedUser() {\n if (localStorage.getItem('user')) {\n return true;\n }\n return false;\n}\n\nfunction logout() {\n localStorage.removeItem('user');\n localStorage.removeItem('token');\n sessionStorage.removeItem('merchant');\n sessionStorage.removeItem('balance');\n sessionStorage.removeItem('canonicalResellers');\n localStorage.removeItem('skip_clicked');\n sessionStorage.removeItem('showCanonicalResellersList');\n localStorage.removeItem('userHasSeenSnackbar');\n\n for (let key in localStorage) {\n if (key.startsWith('MyPay_')) {\n localStorage.removeItem(key);\n }\n }\n}\n\nasync function signUp(signUpRequest) {\n try {\n const response = await AuthAxios.post(`${AuthServiceEndpoint}/signup`, signUpRequest);\n return new SuccesResponse(response.data);\n } catch (error) {\n const err = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(err);\n }\n}\n\nconst completeInvite = async (request) => {\n try {\n await BaseAxios.post(`${AuthServiceEndpoint}/completeInvite`, request);\n return new SuccesResponse();\n } catch (error) {\n const err = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(err);\n }\n};\n\nasync function changePassword(request) {\n try {\n const response = await AuthAxios.post(`${AuthServiceEndpoint}/changePassword`, request);\n return new SuccesResponse(response.data);\n } catch (error) {\n const err = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(err);\n }\n}\n\nasync function passwordRotation(request) {\n try {\n const response = await AuthAxios.post(`${AuthServiceEndpoint}/password-rotation`, request);\n return new SuccesResponse(response.data);\n } catch (error) {\n const err = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(err);\n }\n}\n\nconst requestNewToken = async () => {\n try {\n const refreshResponse = await AuthAxios.get(`${AuthServiceEndpoint}/get-refresh-token`);\n const index = refreshResponse.data.refreshToken.indexOf('refreshToken:') + 'refreshToken:'.length;\n const refreshToken = refreshResponse.data.refreshToken.substring(index);\n\n await callCognitoForNewToken(refreshToken);\n\n return new SuccesResponse();\n } catch (error) {\n const err = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(err);\n }\n};\n\nconst requestNewTokenWithRefreshToken = async (refreshToken) => {\n try {\n await callCognitoForNewToken(refreshToken);\n\n return new SuccesResponse();\n } catch (error) {\n const err = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(err);\n }\n};\n\nconst newSocialAccount = async (request) => {\n try {\n const result = await BaseAxios.post(`${AuthServiceEndpoint}/new-social-account`, request);\n return new SuccesResponse(result.data);\n } catch (error) {\n const err = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(err);\n }\n};\n\nconst createNewAuthOtp = async (request) => {\n try {\n const rs = await BaseAxios.post(`${AuthServiceEndpoint}/create-new-auth-otp`, request);\n return new SuccesResponse(rs.data, rs.status);\n } catch (error) {\n const err = error && error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(err);\n }\n};\n\nconst resetDatmanPassword = async (via, id, password) => {\n var axios = require('axios');\n var data = `{\"${via}\":\"${id}\",\"password\":\"${password}\"}`;\n\n var config = {\n method: 'post',\n url: `${DatmanAPIEndpoint}/portal/update-password`,\n headers: {\n 'Content-Type': 'text/plain'\n },\n data: data\n };\n try {\n await axios(config);\n } catch (e) {\n return new ErrorResponse('Error', e);\n }\n};\n\nconst updateDatmanPassword = async (current_password, password) => {\n try {\n const result = await DatmanAxios.post(`${DatmanAPIEndpoint}/portal/customer/password`, {\n current_password,\n password,\n password_confirm: password\n });\n return new SuccesResponse(result.data.data);\n } catch (err) {\n return new ErrorResponse('Error', err);\n }\n};\n\nconst callCognitoForNewToken = (refreshToken) => {\n return new Promise((resolve, reject) => {\n let response;\n fetch(`https://cognito-idp.${Region}.amazonaws.com/${UserPollId}`, {\n headers: {\n 'X-Amz-Target': 'AWSCognitoIdentityProviderService.InitiateAuth',\n 'Content-Type': 'application/x-amz-json-1.1'\n },\n mode: 'cors',\n cache: 'no-cache',\n method: 'POST',\n body: JSON.stringify({\n ClientId: UserPollWebClientId,\n AuthFlow: 'REFRESH_TOKEN_AUTH',\n AuthParameters: {\n REFRESH_TOKEN: refreshToken\n //SECRET_HASH: \"your_secret\", // In case you have configured client secret\n }\n })\n })\n .then(\n (resp) => {\n response = resp;\n return resp;\n },\n (err) => {\n // If error happens here, the request failed\n // if it is TypeError throw network error\n if (err instanceof TypeError) {\n throw new Error('Network error');\n }\n throw err;\n }\n )\n .then((resp) => resp.json().catch(() => ({})))\n .then((data) => {\n // return parsed body stream\n if (response.ok) {\n for (let key in localStorage) {\n if (key.startsWith('MyPay_') && key.endsWith('idToken')) {\n localStorage.setItem(key, data.AuthenticationResult.IdToken);\n } else if (key.startsWith('MyPay_') && key.endsWith('accessToken')) {\n localStorage.setItem(key, data.AuthenticationResult.AccessToken);\n }\n }\n resolve(data);\n }\n\n // Taken from aws-sdk-js/lib/protocol/json.js\n // eslint-disable-next-line no-underscore-dangle\n const code = (data.__type || data.code).split('#').pop();\n const error = {\n code,\n name: code,\n message: data.message || data.Message || null\n };\n throw error;\n })\n .catch((err) => {\n // first check if we have a service error\n if (response && response.headers && response.headers.get('x-amzn-errortype')) {\n try {\n const code = response.headers.get('x-amzn-errortype').split(':')[0];\n const error = {\n code,\n name: code,\n statusCode: response.status,\n message: response.status ? response.status.toString() : null\n };\n reject(error);\n } catch (ex) {\n reject(err);\n }\n // otherwise check if error is Network error\n } else if (err instanceof Error && err.message === 'Network error') {\n const error = {\n code: 'NetworkError',\n name: err.name,\n message: err.message\n };\n reject(error);\n } else {\n reject(err);\n }\n });\n });\n};\n\nasync function removeCognitoUser(sub) {\n try {\n await AuthAxios.delete(`${AuthServiceEndpoint}/remove-cognito-user/${sub}`);\n return new SuccesResponse();\n } catch (error) {\n const err = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(err);\n }\n}\n\nasync function sendVerificationEmail(data) {\n try {\n await AuthAxios.post(`${AuthServiceEndpoint}/send-verification-email`, data);\n return new SuccesResponse();\n } catch (error) {\n const err = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(err);\n }\n}\n\nasync function updateChangePasswordTime(data) {\n try {\n const response = await AuthAxios.post(`${AuthServiceEndpoint}/update-user-table`, data);\n return new SuccesResponse(response.data);\n } catch (error) {\n const err = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(err);\n }\n}\nasync function generateCSRFToken(data, merchantId) {\n try {\n const response = await AuthAxios.get(`${AuthServiceEndpoint}/generate-csrf/${data}/${merchantId}`);\n return new SuccesResponse(response.data);\n } catch (error) {\n const err = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(err);\n }\n}\n\nasync function removeCSRFToken(data) {\n try {\n const response = await AuthAxios.delete(`${AuthServiceEndpoint}/remove-csrf/${data}`);\n return new SuccesResponse(response.data);\n } catch (error) {\n const err = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(err);\n }\n}\n\nasync function getLinkStatus(uuid) {\n try {\n const response = await AuthAxios.get(`${AuthServiceEndpoint}/get-restricted-link-status/${uuid}`);\n return new SuccesResponse(response.data);\n } catch (error) {\n const err = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(err);\n }\n}\n\nasync function updateOtpLinkStatus(body) {\n try {\n const response = await AuthAxios.post(`${AuthServiceEndpoint}/update-restricted-link-data`, body);\n return new SuccesResponse(response.data);\n } catch (error) {\n const err = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(err);\n }\n}\n\nexport default {\n socialSignIn,\n login,\n isLoggedUser,\n logout,\n signUp,\n changePassword,\n passwordRotation,\n completeInvite,\n requestNewToken,\n newSocialAccount,\n resetDatmanPassword,\n updateDatmanPassword,\n requestNewTokenWithRefreshToken,\n removeCognitoUser,\n createNewAuthOtp,\n sendVerificationEmail,\n updateChangePasswordTime,\n generateCSRFToken,\n removeCSRFToken,\n getLinkStatus,\n updateOtpLinkStatus\n};\n","import { AuthAxios } from './interceptor.service.js';\nimport { CustomerServiceEndpoint } from '../utils/constants';\nimport { SuccesResponse, ErrorResponse } from 'models';\n\nasync function getBusinesses() {\n try {\n const requestResult = await AuthAxios.get(`${CustomerServiceEndpoint}/businesses`);\n return new SuccesResponse(requestResult.data);\n } catch (err) {\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nasync function getBusiness(businessId) {\n try {\n const requestResult = await AuthAxios.get(`${CustomerServiceEndpoint}/businesses/${businessId}`);\n return new SuccesResponse(requestResult.data);\n } catch (err) {\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nasync function createBusiness(business) {\n try {\n const responce = await AuthAxios.post(`${CustomerServiceEndpoint}/businesses`, { business: business });\n return new SuccesResponse(responce.data);\n } catch (error) {\n const message = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(message);\n }\n}\n\nasync function updateBusiness(business) {\n try {\n const responce = await AuthAxios.put(`${CustomerServiceEndpoint}/businesses/${business.id}`, { business });\n return new SuccesResponse(responce.data);\n } catch (error) {\n const message = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(message);\n }\n}\n\nasync function deleteBusiness(businessId) {\n try {\n const response = await AuthAxios.delete(`${CustomerServiceEndpoint}/businesses/${businessId}`);\n\n return new SuccesResponse(response.data);\n } catch (error) {\n const message = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(message);\n }\n}\n\nasync function checkBusinessName(businessName) {\n try {\n const response = await AuthAxios.post(`${CustomerServiceEndpoint}/businesses/check-name`, {\n name: businessName\n });\n return new SuccesResponse(response.data);\n } catch (error) {\n const message = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(message);\n }\n}\n\nexport default {\n getBusinesses,\n getBusiness,\n updateBusiness,\n deleteBusiness,\n createBusiness,\n checkBusinessName\n};\n","import { AuthAxios } from './interceptor.service.js';\nimport { UserServiceEndpoint } from 'utils/constants';\nimport { SuccesResponse, ErrorResponse } from 'models';\n\nasync function getUsers() {\n try {\n const requestResult = await AuthAxios.get(`${UserServiceEndpoint}`);\n return new SuccesResponse(requestResult.data);\n } catch (err) {\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nasync function createUser(user) {\n try {\n await AuthAxios.post(`${UserServiceEndpoint}`, user);\n return new SuccesResponse();\n } catch (error) {\n return new ErrorResponse(error.response.data);\n }\n}\n\nasync function getUserByEmail(email) {\n try {\n const result = await AuthAxios.get(`${UserServiceEndpoint}/email/${email}`);\n return {\n isSuccessfully: true,\n user: result.data[0]\n };\n } catch (error) {\n if (error.response && error.response.status === 404) {\n return {\n isSuccessfully: true,\n user: null\n };\n }\n return {\n isSuccessfully: false,\n message: error.message\n };\n }\n}\n\nasync function toggleDisableEnableUser(user) {\n try {\n const requestResult = await AuthAxios.patch(`${UserServiceEndpoint}/toggleDisableEnable/${user.email}`, {\n isDisable: user.isDisable\n });\n return new SuccesResponse(requestResult.data);\n } catch (err) {\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nasync function deleteUser(email) {\n try {\n const requestResult = await AuthAxios.delete(`${UserServiceEndpoint}/delete/${email}`);\n return new SuccesResponse(requestResult.data);\n } catch (err) {\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nasync function supportUpdateUserAttributes(params) {\n try {\n const requestResult = await AuthAxios.post(`${UserServiceEndpoint}/update`, params);\n return new SuccesResponse(requestResult.data);\n } catch (err) {\n const errMessage = err.response && err.response.data ? err.response.data.error : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nasync function saveReferralDataString(data) {\n try {\n await AuthAxios.post(`${UserServiceEndpoint}/save-user-referral-data`, data);\n return new SuccesResponse();\n } catch (err) {\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nasync function getUserByCognitoUserName(cognitoUuid) {\n try {\n const result = await AuthAxios.get(`${UserServiceEndpoint}/get-user/${cognitoUuid}`);\n return {\n isSuccessfully: true,\n user: result.data[0]\n };\n } catch (error) {\n if (error.response && error.response.status === 404) {\n return {\n isSuccessfully: true,\n user: null\n };\n }\n return {\n isSuccessfully: false,\n message: error.message\n };\n }\n}\n\nasync function updateUserDetails(params) {\n try {\n const result = await AuthAxios.post(`${UserServiceEndpoint}/update-user-details`, params);\n return {\n isSuccessfully: true,\n user: result\n };\n } catch (error) {\n if (error.response && error.response.status === 404) {\n return {\n isSuccessfully: true,\n user: null\n };\n }\n return {\n isSuccessfully: false,\n message: error.message\n };\n }\n}\n\nexport default {\n getUsers,\n getUserByEmail,\n createUser,\n toggleDisableEnableUser,\n deleteUser,\n supportUpdateUserAttributes,\n saveReferralDataString,\n getUserByCognitoUserName,\n updateUserDetails\n};\n","import { AuthAxios } from './interceptor.service.js';\nimport { SuccesResponse, ErrorResponse } from 'models';\nimport { CustomerServiceEndpoint } from 'utils/constants';\n\n/**\n *\n * @param {number} entityId\n */\n\nasync function getHierarchy() {\n try {\n const requestResult = await AuthAxios.get(`${CustomerServiceEndpoint}/getHierarchy`);\n return new SuccesResponse(requestResult.data);\n } catch (err) {\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nasync function assignEntityAndRoleToUser(data) {\n try {\n await AuthAxios.post(`${CustomerServiceEndpoint}/assignEntityAndRoleToUser`, data);\n return new SuccesResponse();\n } catch (error) {\n const message = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(message);\n }\n}\n\nexport default {\n getHierarchy,\n assignEntityAndRoleToUser\n};\n","import { AuthAxios } from './interceptor.service.js';\nimport { CustomerServiceEndpoint } from '../utils/constants';\nimport { SuccesResponse, ErrorResponse } from 'models';\n\nconst getClients = async (businessId) => {\n try {\n const requestResult = await AuthAxios.get(`${CustomerServiceEndpoint}/businesses/${businessId}/clients`);\n return new SuccesResponse(requestResult.data.clients);\n } catch (err) {\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n};\n\nconst getClient = async (businessId, clientId) => {\n try {\n const requestResult = await AuthAxios.get(\n `${CustomerServiceEndpoint}/businesses/${businessId}/clients/${clientId}`\n );\n return new SuccesResponse(requestResult.data);\n } catch (err) {\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n};\n\nconst createClient = async (businessId, client) => {\n try {\n const response = await AuthAxios.post(`${CustomerServiceEndpoint}/businesses/${businessId}/clients`, {\n client: client\n });\n return new SuccesResponse(response.data);\n } catch (error) {\n const message = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(message);\n }\n};\n\nconst updateClient = async (client) => {\n try {\n const response = await AuthAxios.put(\n `${CustomerServiceEndpoint}/businesses/${client.businessId}/clients/${client.id}`,\n { client }\n );\n return new SuccesResponse(response.data);\n } catch (error) {\n const message = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(message);\n }\n};\n\nconst deleteClient = async (businessId, clientId) => {\n try {\n const response = await AuthAxios.delete(\n `${CustomerServiceEndpoint}/businesses/${businessId}/clients/${clientId}`\n );\n\n return new SuccesResponse(response.data);\n } catch (error) {\n //\n const message = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(message);\n }\n};\n\nconst checkClientNameIsUnique = async (businessId, clientName) => {\n try {\n const response = await AuthAxios.get(\n `${CustomerServiceEndpoint}/businesses/${businessId}/clients/is-unique?clientName=${clientName}`\n );\n return new SuccesResponse(response.data);\n } catch (error) {\n const message = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(message);\n }\n};\n\nexport default {\n getClients,\n createClient,\n getClient,\n updateClient,\n deleteClient,\n checkClientNameIsUnique\n};\n","import { AuthAxios } from './interceptor.service.js';\nimport { CustomerServiceEndpoint, NonResellerMerchantServiceEndpoint } from '../utils/constants';\nimport { SuccesResponse, ErrorResponse } from 'models';\n\nconst getMerchants = async (businessId, clientId) => {\n try {\n const requestResult = await AuthAxios.get(\n `${CustomerServiceEndpoint}/businesses/${businessId}/clients/${clientId}/merchants`\n );\n return new SuccesResponse(requestResult.data.merchants);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getMerchant = async (businessId, clientId, merchantId) => {\n try {\n const requestResult = await AuthAxios.get(\n `${CustomerServiceEndpoint}/businesses/${businessId}/clients/${clientId}/merchants/${merchantId}`\n );\n return new SuccesResponse(requestResult.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst createMerchant = async (businessId, clientId, merchant) => {\n try {\n const response = await AuthAxios.post(\n `${CustomerServiceEndpoint}/businesses/${businessId}/clients/${clientId}/merchants`,\n { merchant: merchant }\n );\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst updateMerchant = async (merchant) => {\n try {\n const response = await AuthAxios.put(\n `${CustomerServiceEndpoint}/businesses/${merchant.businessId}/clients/${merchant.clientId}/merchants/${merchant.id}`,\n { merchant }\n );\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst deleteMerchant = async (businessId, clientId, merchantId) => {\n try {\n const response = await AuthAxios.delete(\n `${CustomerServiceEndpoint}/businesses/${businessId}/clients/${clientId}/merchants/${merchantId}`\n );\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst checkMerchantNameIsUnique = async (businessId, clientId, merchantName) => {\n try {\n const response = await AuthAxios.get(\n `${CustomerServiceEndpoint}/businesses/${businessId}/clients/${clientId}/merchants/is-unique?merchantName=${merchantName}`\n );\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getError = (error) => {\n const message = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(message);\n};\n\nexport default {\n getMerchants,\n createMerchant,\n getMerchant,\n updateMerchant,\n deleteMerchant,\n checkMerchantNameIsUnique\n};\n","import { AuthAxios } from './interceptor.service.js';\nimport { UserServiceEndpoint } from '../utils/constants';\nimport { SuccesResponse, ErrorResponse } from 'models';\n\nasync function getRoles() {\n try {\n const requestResult = await AuthAxios.get(`${UserServiceEndpoint}/roles`);\n return new SuccesResponse(requestResult.data.roles);\n } catch (err) {\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nexport default {\n getRoles\n};\n","import { AuthAxios } from './interceptor.service.js';\nimport { CustomerServiceEndpoint } from '../utils/constants';\nimport { SuccesResponse, ErrorResponse } from 'models';\n\nasync function getRoleFromRelationship(data) {\n try {\n const requestResult = await AuthAxios.patch(\n `${CustomerServiceEndpoint}/relationships/getRoleFromRelationship`,\n {\n data\n }\n );\n return new SuccesResponse(requestResult.data);\n } catch (err) {\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nasync function deleteRelationship(relationId) {\n try {\n const requestResult = await AuthAxios.delete(`${CustomerServiceEndpoint}/relationships/${relationId}`);\n return new SuccesResponse(requestResult.data);\n } catch (err) {\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nasync function assignUserToMerchant(data) {\n try {\n const result = await AuthAxios.post(`${CustomerServiceEndpoint}/relationships/assignUserToMerchant`, {\n data\n });\n return new SuccesResponse(result.data);\n } catch (error) {\n const errMessage = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nexport default {\n getRoleFromRelationship,\n deleteRelationship,\n assignUserToMerchant\n};\n","import { DatmanAxios } from './interceptor.service.js';\nimport { SuccesResponse, ErrorResponse } from 'models';\nimport { DatmanAPIEndpoint } from 'utils/constants';\n\nasync function InitialiseSale(initSaleRequest) {\n try {\n const requestResult = await DatmanAxios.post(\n `${DatmanAPIEndpoint}/portal/vt/sale/create`,\n JSON.stringify(initSaleRequest)\n );\n const { data, status } = requestResult;\n\n return new SuccesResponse(data, status);\n } catch (err) {\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nasync function InitialiseDNASale(params) {\n try {\n const response = await DatmanAxios.get(`${DatmanAPIEndpoint}/portal/dna-hosted-form`, {\n params\n });\n const { data, status } = response;\n const { uuid } = data.data;\n let URL = `${DatmanAPIEndpoint}/portal/dna-redirect/${uuid}`;\n return new SuccesResponse({ url: URL, uuid }, status);\n } catch (err) {\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nexport default {\n InitialiseSale,\n InitialiseDNASale\n};\n","import { AuthAxios, BaseAxios } from './interceptor.service.js';\nimport { DocumentServiceEndpoint } from '../utils/constants';\nimport { SuccesResponse, ErrorResponse } from 'models';\nimport { DocumentStatus } from 'utils/enums/DocumentStatus';\nimport { DocumentEventType } from 'utils/enums/DocumentEventType';\nimport JSZipUtils from 'jszip-utils';\nimport JSZip from 'jszip';\nimport { ErrorCodes } from 'utils/enums/ErrorCode';\nimport { DocumentFlag } from 'utils/enums/DocumentFlag.js';\nimport { AdminService, AuthService } from './index.js';\nimport { DocumentStatusToName } from 'utils/enums/DocumentReviewStatus.js';\n\nconst upload = async (\n entity,\n entityId,\n flag,\n docTypeId,\n files,\n fileProgress,\n fileDone,\n formType,\n csrfToken,\n resellerId,\n isAdmin,\n idNumber,\n cardNumber\n) => {\n // map array to promises\n const promises = files.map((file) =>\n executeUploading(\n entity,\n entityId,\n file,\n fileProgress,\n flag,\n docTypeId,\n fileDone,\n formType,\n csrfToken,\n resellerId,\n isAdmin,\n idNumber,\n cardNumber\n )\n );\n // wait until all promises are resolved\n const allResponse = await Promise.all(promises);\n const hasErrorOnUpload = allResponse.find(\n (uploadedFile) => !uploadedFile || uploadedFile.status === DocumentStatus.ERROR || uploadedFile.csrfFailure\n );\n\n if (hasErrorOnUpload) {\n if (hasErrorOnUpload?.csrfFailure) {\n return hasErrorOnUpload;\n }\n return getError('Uploading error');\n } else {\n return new SuccesResponse();\n }\n};\n\nconst uploadToBucket = async (entity, entityId, files, fileProgress, fileDone, formType, csrfToken) => {\n const promises = files.map((file) =>\n executeBucketUploading(entity, entityId, file, fileProgress, fileDone, formType, csrfToken)\n );\n const allResponse = await Promise.all(promises);\n const hasErrorOnUpload = allResponse.find(\n (uploadedFile) => !uploadedFile || uploadedFile.status === DocumentStatus.ERROR || uploadedFile.csrfFailure\n );\n if (hasErrorOnUpload) {\n if (hasErrorOnUpload?.csrfFailure) {\n return hasErrorOnUpload;\n }\n return getError('Uploading error');\n } else {\n return new SuccesResponse();\n }\n};\n\nconst listObjects = async (entity, entityId, flag) => {\n try {\n const response = await AuthAxios.get(`${DocumentServiceEndpoint}/list-objects/${entity}/${entityId}/${flag}`);\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getObject = async (entity, entityId, documentId, filename) => {\n try {\n const response = await AuthAxios.post(\n `${DocumentServiceEndpoint}/presigned-url-get-object/${entity}/${entityId}/${documentId}`,\n {\n filename: filename,\n eventType: DocumentEventType.DOWNLOAD\n }\n );\n\n const res = await BaseAxios.get(response.data.presignedUrl, { responseType: 'blob' }).then((rsp) => {\n const url = window.URL.createObjectURL(new Blob([rsp.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', `${filename}`);\n document.body.appendChild(link);\n link.click();\n });\n\n return new SuccesResponse(res);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getObjects = async (listOfParams) => {\n try {\n const listOfUrls = [];\n const zip = new JSZip();\n\n var count = 0;\n getFiles(listOfParams, listOfUrls).then(() => {\n listOfUrls.map((urlObj) => {\n JSZipUtils.getBinaryContent(urlObj.url, function (err, data) {\n zip.file(urlObj.filename, data, { binary: true });\n count++;\n if (count === listOfUrls.length) {\n zip.generateAsync({ type: 'blob' }).then(function (content) {\n const url = window.URL.createObjectURL(new Blob([content]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', 'documents.zip');\n document.body.appendChild(link);\n link.click();\n });\n }\n });\n return null;\n });\n\n return new SuccesResponse();\n });\n } catch (error) {\n console.log(listOfParams);\n return getError(error);\n }\n};\n\nconst getPresignedUrl = async (params, eventType) => {\n try {\n const { entity, entityId, documentId, filename } = params;\n const response = await AuthAxios.post(\n `${DocumentServiceEndpoint}/presigned-url-get-object/${entity}/${entityId}/${documentId}`,\n {\n filename: filename,\n eventType: eventType\n }\n );\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getFiles = async (listOfParams, listOfUrls) => {\n const filenames = [];\n return Promise.all(\n listOfParams.map(async (params) => {\n const { entity, entityId, documentId, filename } = params;\n const response = await AuthAxios.post(\n `${DocumentServiceEndpoint}/presigned-url-get-object/${entity}/${entityId}/${documentId}`,\n {\n filename: filename,\n eventType: DocumentEventType.DOWNLOAD\n }\n );\n const res = await BaseAxios.get(response.data.presignedUrl, { responseType: 'blob' });\n const url = window.URL.createObjectURL(new Blob([res.data]));\n var count = 1;\n var newFilename = filename;\n const indexSeparator = filename.lastIndexOf('.');\n const filenameWithoutExt = filename.substring(0, indexSeparator);\n const ext = filename.substring(indexSeparator);\n while (filenames.includes(newFilename)) {\n newFilename = filenameWithoutExt + ' (' + count++ + ')' + ext;\n }\n const data = {\n url: url,\n filename: newFilename\n };\n filenames.push(newFilename);\n listOfUrls.push(data);\n })\n );\n};\n\nconst removeObject = async (entity, entityId, documentId, filename, formType, csrfToken) => {\n try {\n const response = await AuthAxios.post(\n `${DocumentServiceEndpoint}/remove-object/${entity}/${entityId}/${documentId}`,\n {\n filename: filename,\n formType: formType\n },\n { headers: { 'X-CSRF-TOKEN': csrfToken } }\n );\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getError = (error) => {\n const message = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(message);\n};\n\nasync function executeUploading(\n entity,\n entityId,\n file,\n fileProgress,\n flag,\n docTypeId,\n fileDone,\n formType,\n csrfToken,\n isAdmin,\n resellerId,\n idNumber,\n cardNumber\n) {\n let response;\n try {\n response = await AuthAxios.post(\n `${DocumentServiceEndpoint}/presigned-url-put-object/${entity}/${entityId}`,\n {\n filename: file.name,\n fileType: file.type,\n formType: formType\n },\n { headers: { 'X-CSRF-TOKEN': csrfToken } }\n );\n\n await BaseAxios.put(response.data.presignedUrl, file, {\n headers: {\n 'Content-Type': file.type\n },\n onUploadProgress: (progress) => {\n fileProgress(response.data.documentId, file.name, file.size, progress);\n }\n });\n\n await AuthAxios.post(\n `${DocumentServiceEndpoint}/save/${entity}/${entityId}/${response.data.documentId}`,\n {\n filename: file.name,\n size: file.size,\n flag: flag,\n docTypeId: docTypeId,\n formType: formType,\n idNumber: idNumber,\n cardNumber: cardNumber\n },\n { headers: { 'X-CSRF-TOKEN': csrfToken } }\n )\n .then((res) => {\n if ((flag == DocumentFlag.ACCOUNT_VERIFY || flag == DocumentFlag.ONBOARDING) && !isAdmin) {\n AdminService.saveUserKycLogs(entityId, {\n resellerId: resellerId,\n notes: '',\n documentId: response.data.documentId,\n documentStatus: DocumentStatusToName.NEED_APPROVAL,\n docTypeId: docTypeId\n });\n }\n })\n .catch((error) => {\n // not need to throw err from here\n });\n\n fileDone(response.data.documentId, { filename: file.name, status: DocumentStatus.SUCCESS });\n return { documentId: response.data.documentId, status: DocumentStatus.SUCCESS };\n } catch (error) {\n if (error.response.data.errorCode === ErrorCodes.CSRF_VALIDATION_FAILURE.errorCode) {\n return { ...getError(error), csrfFailure: true };\n }\n if (response) {\n fileDone(response.data.documentId, { status: DocumentStatus.ERROR });\n return { documentId: response.data.documentId, status: DocumentStatus.ERROR };\n }\n }\n}\nasync function executeBucketUploading(entity, entityId, file, fileProgress, fileDone, formType, csrfToken) {\n let response;\n try {\n response = await AuthAxios.post(\n `${DocumentServiceEndpoint}/presigned-url-put-object/${entity}/${entityId}`,\n {\n filename: file.name,\n fileType: file.type,\n formType: formType\n },\n { headers: { 'X-CSRF-TOKEN': csrfToken } }\n );\n await BaseAxios.put(response.data.presignedUrl, file, {\n headers: {\n 'Content-Type': file.type\n },\n onUploadProgress: (progress) => {\n fileProgress(response.data.documentId, file.name, file.size, progress);\n }\n });\n fileDone(response.data.documentId, { filename: file.name, status: DocumentStatus.SUCCESS });\n return { documentId: response.data.documentId, status: DocumentStatus.SUCCESS };\n } catch (error) {\n if (error.response.data.errorCode === ErrorCodes.CSRF_VALIDATION_FAILURE.errorCode) {\n return { ...getError(error), csrfFailure: true };\n }\n if (response) {\n fileDone(response.data.documentId, { status: DocumentStatus.ERROR });\n return { documentId: response.data.documentId, status: DocumentStatus.ERROR };\n }\n }\n}\n\nconst removeBucketObject = async (entity, entityId, documentId, filename, formType, csrfToken) => {\n try {\n const response = await AuthAxios.post(\n `${DocumentServiceEndpoint}/remove-bucket-object/${entity}/${entityId}/${documentId}`,\n {\n filename: filename,\n formType: formType\n },\n { headers: { 'X-CSRF-TOKEN': csrfToken } }\n );\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst notifyAdminAboutDocumentUploading = async (merchantId, resellerId, isBankDetailsUpdated = false) => {\n try {\n const response = await AuthAxios.post(`${DocumentServiceEndpoint}/send-email-notification-to-admins`, {\n merchantId: merchantId,\n resellerId: resellerId,\n isBankDetailsUpdated: isBankDetailsUpdated\n });\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getMerchantFilesUrls = async (listOfParams) => {\n let listOfUrls = [];\n\n for (const param of listOfParams) {\n const {\n entity,\n entityId,\n documentId,\n filename,\n documentTypeName,\n flag,\n createdAt,\n documentStatus,\n docTypeId,\n idNumber,\n cardNumber\n } = param;\n\n const response = await AuthAxios.post(\n `${DocumentServiceEndpoint}/presigned-url-get-object/${entity}/${entityId}/${documentId}`,\n {\n filename: filename,\n eventType: DocumentEventType.VIEWED\n }\n );\n const indexSeparator = filename.lastIndexOf('.');\n const ext = filename.substring(indexSeparator + 1);\n const urlObj = {\n entity: entity,\n entityId: entityId,\n url: response.data.presignedUrl,\n filename: filename,\n extension: ext.toLowerCase(),\n flag: flag,\n createdAt: createdAt,\n documentId: documentId,\n documentStatus: documentStatus,\n docTypeId: docTypeId,\n idNumber: idNumber,\n cardNumber: cardNumber,\n documentTypeName\n };\n listOfUrls.push(urlObj);\n }\n\n return listOfUrls;\n};\n\nconst updateDocumentStatus = async (merchantId, documentID, data) => {\n try {\n await AuthAxios.post(`${DocumentServiceEndpoint}/update-document-status/${merchantId}/${documentID}`, data);\n return new SuccesResponse({});\n } catch (error) {\n return getError(error);\n }\n};\n\nconst updateDocumentType = async (merchantId, documentID, data) => {\n try {\n await AuthAxios.post(`${DocumentServiceEndpoint}/update-document-type/${merchantId}/${documentID}`, data);\n return new SuccesResponse({});\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getQrCode = async (merchantId) => {\n try {\n const response = await AuthAxios.get(`${DocumentServiceEndpoint}/get-qr-code/${merchantId}`);\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst createQrCode = async (merchantId, resellerId, description, link, amount, qrName, typeOfQr, expiryDate) => {\n try {\n const response = await AuthAxios.post(\n `${DocumentServiceEndpoint}/qr-generate/${merchantId}`,\n resellerId,\n description,\n link,\n amount,\n qrName,\n typeOfQr,\n expiryDate\n );\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst fetchQrCodes = async (merchantId, data) => {\n try {\n const response = await AuthAxios.post(`${DocumentServiceEndpoint}/fetch-qr-codes/${merchantId}`, data);\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst closeQrCode = async (merchantId, id, reason) => {\n try {\n const response = await AuthAxios.delete(`${DocumentServiceEndpoint}/close-qr-code/${id}/${merchantId}`, {\n data: reason\n });\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nexport default {\n upload,\n listObjects,\n getObject,\n getObjects,\n removeObject,\n notifyAdminAboutDocumentUploading,\n getMerchantFilesUrls,\n updateDocumentStatus,\n getQrCode,\n updateDocumentType,\n getPresignedUrl,\n createQrCode,\n fetchQrCodes,\n closeQrCode,\n uploadToBucket,\n removeBucketObject\n};\n","import { AuthAxios } from './interceptor.service.js';\nimport { NonResellerMerchantServiceEndpoint, SettingsServiceEndpoint } from 'utils/constants';\nimport { SuccesResponse, ErrorResponse } from 'models';\n\nasync function inviteMembers(emailsAndRoles, merchantId, resellerId) {\n try {\n await AuthAxios.post(`${NonResellerMerchantServiceEndpoint}/settings/team/invite-members`, {\n emailsAndRoles: emailsAndRoles,\n resellerId: resellerId,\n merchantId: merchantId\n });\n return new SuccesResponse();\n } catch (error) {\n return new ErrorResponse(error.response.data);\n }\n}\n\nasync function inviteCanonicalResellerMembers(emailsAndRoles, canonicalResellerId, resellerId) {\n try {\n await AuthAxios.post(`${SettingsServiceEndpoint}/team/invite-canonical-reseller-members`, {\n emailsAndRoles: emailsAndRoles,\n canonicalResellerId: canonicalResellerId,\n resellerId: resellerId\n });\n return new SuccesResponse();\n } catch (error) {\n return new ErrorResponse(error.response.data);\n }\n}\n\nasync function getTeamMembers(id) {\n try {\n const requestResult = await AuthAxios.get(`${SettingsServiceEndpoint}/team/${id}`);\n\n return new SuccesResponse(requestResult.data);\n } catch (err) {\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nasync function getCanonicalResellerTeamMembers(id) {\n try {\n const requestResult = await AuthAxios.get(`${SettingsServiceEndpoint}/canonical-reseller-team/${id}`);\n\n return new SuccesResponse(requestResult.data);\n } catch (err) {\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nasync function removeTeamMember(id, canonicalResellerId) {\n try {\n const requestResult = await AuthAxios.delete(`${SettingsServiceEndpoint}/team/${id}`, {\n data: { canonicalResellerId }\n });\n\n return new SuccesResponse(requestResult.data);\n } catch (err) {\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nexport default {\n inviteMembers,\n inviteCanonicalResellerMembers,\n getTeamMembers,\n getCanonicalResellerTeamMembers,\n removeTeamMember\n};\n","import { AuthAxios } from './interceptor.service.js';\nimport { SettingsServiceEndpoint } from '../utils/constants';\nimport { ErrorResponse, SuccesResponse } from 'models';\n\n/**\n *\n * @param {String} postCode\n */\nasync function getPostCodeInformation(postCode) {\n try {\n const result = await AuthAxios.get(`${SettingsServiceEndpoint}/address?postCode=${postCode}`);\n\n return new SuccesResponse(result.data);\n } catch (err) {\n return new ErrorResponse('Post code validation error');\n }\n}\n\nexport default {\n getPostCodeInformation\n};\n","import { SettingsServiceEndpoint } from '../utils/constants';\nimport { ErrorResponse, SuccesResponse } from 'models';\nimport {AuthAxios} from \"./interceptor.service\";\n\n/**\n *\n * @param {String} companyRegistrationNumber\n */\nasync function getCompanyProfile(companyRegistrationNumber) {\n try {\n const result = await AuthAxios.get(`${SettingsServiceEndpoint}/company/${companyRegistrationNumber}`);\n\n return new SuccesResponse(result.data);\n } catch (err) {\n return new ErrorResponse('Companies house error.');\n }\n}\n\n/**\n *\n * @param {String} companyRegistrationNumber\n */\nasync function getPersonsWithSignificantControl(companyRegistrationNumber) {\n try {\n const result = await AuthAxios.get(`${SettingsServiceEndpoint}/company/${companyRegistrationNumber}/persons-with-significant-control`);\n\n return new SuccesResponse(result.data);\n } catch (err) {\n return new ErrorResponse('Companies house error.');\n }\n}\n\n/**\n *\n * @param {String} companyRegisteredName\n * @param {Number} items\n */\nasync function getCompaniesDetail(companyRegisteredName, items) {\n try {\n const result = await AuthAxios.get(`${SettingsServiceEndpoint}/company/search?q=${companyRegisteredName}&items_per_page=${items}`);\n\n return new SuccesResponse(result.data);\n } catch (err) {\n return new ErrorResponse('Companies house error.');\n }\n}\n\nexport default {\n getCompanyProfile,\n getPersonsWithSignificantControl,\n getCompaniesDetail\n};\n","import { DatmanAxios } from './interceptor.service.js';\nimport { DatmanAPIEndpoint } from 'utils/constants';\nimport { SuccesResponse, ErrorResponse } from 'models';\n\nasync function getMerchantChargesList({ month, year, via, offset, limit }) {\n try {\n const response = await DatmanAxios.post(`${DatmanAPIEndpoint}/portal/invoice`, {\n year,\n month,\n via,\n offset,\n limit\n });\n return new SuccesResponse(response, response.status);\n } catch (error) {\n const errMessage = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nexport default {\n getMerchantChargesList\n};\n","import { DatmanAxios } from './interceptor.service.js';\nimport { DatmanAPIEndpoint } from 'utils/constants';\nimport { SuccesResponse, ErrorResponse } from 'models';\nimport _ from 'lodash';\nimport moment from 'moment';\n\nasync function getInternalTransfersList({ day, month, year, via }) {\n try {\n const response = await DatmanAxios.get(`${DatmanAPIEndpoint}/portal/internal-transfer`);\n const succesResponseData = { data: {} };\n\n succesResponseData.data.internalTransfers = getFormattedInternalTransfersList(response.data.data);\n succesResponseData.data.internalTransfers = filterInternalTransferByTimeFrame(\n succesResponseData.data.internalTransfers,\n { day, month, year, via }\n );\n succesResponseData.data.totalPendingAmount = getTotalPendingInternalTransfersAmount(\n succesResponseData.data.internalTransfers\n );\n\n succesResponseData.data.total = getTotalInternalTransfersAmount(succesResponseData.data.internalTransfers);\n succesResponseData.data.transfer_type = response.data.data.transfer_type;\n\n return new SuccesResponse(succesResponseData, response.status);\n } catch (error) {\n const errMessage = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n\n function getFormattedInternalTransfersList(apiResponseData) {\n let internalTransfers = [];\n let transfer_type = apiResponseData.transfer_type;\n\n _.each(apiResponseData.transactions, function (transaction) {\n let internalTransfer = _.pick(transaction, 'amount', 'status', 'created_at', 'description');\n\n let supplierObj = _.find(\n apiResponseData.customer_info,\n (cust) => cust.id === (transfer_type === 'sender' ? transaction.recipient_id : transaction.customer_id)\n );\n\n internalTransfer.supplier = (supplierObj && supplierObj.business_name) || '';\n internalTransfer.id = transaction.ref;\n\n internalTransfers.push(internalTransfer);\n });\n\n return internalTransfers;\n }\n\n function getTotalPendingInternalTransfersAmount(internalTransfers) {\n let totalPendingAmount = _.reduce(\n internalTransfers,\n function (totalAmount, internalTransfer) {\n return internalTransfer.status === 'PENDING' ? totalAmount + internalTransfer.amount : totalAmount;\n },\n 0\n );\n\n return totalPendingAmount;\n }\n\n function getTotalInternalTransfersAmount(internalTransfers) {\n let total = _.reduce(\n internalTransfers,\n function (totalAmount, internalTransfer) {\n return totalAmount + internalTransfer.amount;\n },\n 0\n );\n\n return total;\n }\n\n function filterInternalTransferByTimeFrame(internalTransfers, { day, month, year, via }) {\n let startingTimestamp = moment(`${day}-${month}-${year}`, 'DD-MM-YYYY').startOf(via).valueOf();\n let endingTimestamp = moment(`${day}-${month}-${year}`, 'DD-MM-YYYY').endOf(via).valueOf();\n\n return _.filter(internalTransfers, function (internalTransfer) {\n let created_at = moment.utc(internalTransfer.created_at).valueOf();\n return created_at >= startingTimestamp && created_at <= endingTimestamp;\n });\n }\n}\n\nconst getSuppliers = async () => {\n try {\n const response = await DatmanAxios.get(`${DatmanAPIEndpoint}/portal/internal-transfer/fee`);\n return new SuccesResponse(response.data.data.suppliersData);\n } catch (error) {\n const errMessage = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n};\n\nasync function submitInternalTransfer(internalTransferData) {\n try {\n await DatmanAxios.post(`${DatmanAPIEndpoint}/portal/internal-transfer`, internalTransferData);\n return new SuccesResponse();\n } catch (err) {\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nasync function cancelInternalTransfer(internalTransferData) {\n try {\n await DatmanAxios.post(`${DatmanAPIEndpoint}/portal/internal-transfer`, internalTransferData);\n return new SuccesResponse();\n } catch (err) {\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\nasync function refundInternalTransfer(internalTransferData) {\n try {\n await DatmanAxios.post(`${DatmanAPIEndpoint}/portal/internal-transfer`, internalTransferData);\n return new SuccesResponse();\n } catch (err) {\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nexport default {\n getInternalTransfersList,\n submitInternalTransfer,\n getSuppliers,\n cancelInternalTransfer,\n refundInternalTransfer\n};\n","import { DatmanAxios } from './interceptor.service.js';\nimport { SuccesResponse, ErrorResponse } from 'models';\nimport { DatmanAPIEndpoint } from 'utils/constants';\n\nasync function getChargebacksList(chargebacksRequest) {\n const { year, month } = chargebacksRequest;\n /* const requestResult = {\n status: '200',\n data: {\n data: {\n chargebacks: [\n {\n id: '6693463830841786368',\n amount: 300,\n chargebackDate: '2020-09-06T16:35:35.000Z',\n transactionDate: '2020-08-06T16:35:35.000Z',\n chargebackReason: 'Some chargebackReason1',\n description: 'Some description1',\n status: 'won'\n },\n {\n id: '6693463830841786369',\n amount: 300,\n chargebackDate: '2020-09-06T16:35:35.000Z',\n transactionDate: '2020-08-06T16:35:35.000Z',\n chargebackReason: 'Some chargebackReason2',\n description: 'Some description2',\n status: 'need response'\n },\n {\n id: '6693463830841786367',\n amount: 300,\n chargebackDate: '2020-09-06T16:35:35.000Z',\n transactionDate: '2020-08-06T16:35:35.000Z',\n chargebackReason: 'Some chargebackReason3',\n description: 'Some description3',\n status: 'need response'\n },\n {\n id: '6693463830841786366',\n amount: 300,\n chargebackDate: '2020-09-06T16:35:35.000Z',\n transactionDate: '2020-08-06T16:35:35.000Z',\n chargebackReason: 'Some chargebackReason4',\n description: 'Some description4',\n status: 'lost'\n },\n {\n id: '6693463830841786365',\n amount: 300,\n chargebackDate: '2020-09-06T16:35:35.000Z',\n transactionDate: '2020-08-06T16:35:35.000Z',\n chargebackReason: 'Some chargebackReason5',\n description: 'Some description5',\n status: 'won'\n },\n {\n id: '6693463830841786364',\n amount: 300,\n chargebackDate: '2020-09-06T16:35:35.000Z',\n transactionDate: '2020-08-06T16:35:35.000Z',\n chargebackReason: 'Some chargebackReason6',\n description: 'Some description6',\n status: 'won'\n },\n {\n id: '6693463830841786363',\n amount: 300,\n chargebackDate: '2020-09-06T16:35:35.000Z',\n transactionDate: '2020-08-06T16:35:35.000Z',\n chargebackReason: 'Some chargebackReason7',\n description: 'Some description7',\n status: 'lost'\n },\n {\n id: '6693463830841786361',\n amount: 300,\n chargebackDate: '2020-09-06T16:35:35.000Z',\n transactionDate: '2020-08-06T16:35:35.000Z',\n chargebackReason: 'Some chargebackReason8',\n description: 'Some description8',\n status: 'need response'\n }\n ]\n }\n }\n }; */\n try {\n const response = await DatmanAxios.post(`${DatmanAPIEndpoint}/portal/chargebacks`, { year, month });\n return new SuccesResponse(response.data, response.status);\n } catch (error) {\n const errMessage = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nexport default {\n getChargebacksList\n};\n","import { AuthAxios, DatmanAxios } from './interceptor.service.js';\nimport { SettingsServiceEndpoint, DatmanAPIEndpoint } from '../utils/constants';\nimport { SuccesResponse, ErrorResponse } from 'models';\n\nasync function getBankDetails(merchantId) {\n try {\n const requestResult = await AuthAxios.get(`${SettingsServiceEndpoint}/bank/${merchantId}`);\n\n return new SuccesResponse(requestResult.data);\n } catch (err) {\n const errMessage = err.response?.data ?? 'An error occurred';\n return new ErrorResponse(errMessage, err.response?.status);\n }\n}\n\nasync function getNewBankUpdateRequestDetails(merchantId) {\n try {\n const requestResult = await AuthAxios.get(`${SettingsServiceEndpoint}/get-new-bank-details/${merchantId}`);\n\n return new SuccesResponse(requestResult.data);\n } catch (err) {\n const errMessage = err.response?.data ?? 'An error occurred';\n return new ErrorResponse(errMessage, err.response?.status);\n }\n}\n\nasync function raiseNewBankDetailsUpdateRequest(merchantId, bankDetails, csrfToken) {\n try {\n const requestResult = await AuthAxios.post(\n `${SettingsServiceEndpoint}/update-bank-details-request/${merchantId}`,\n bankDetails,\n { headers: { 'X-CSRF-TOKEN': csrfToken } }\n );\n\n return new SuccesResponse(requestResult.data);\n } catch (err) {\n const errMessage = err.response?.data ?? 'An error occurred';\n return new ErrorResponse(errMessage, err.response?.status);\n }\n}\n\nasync function rejectNewBankDetailsUpdateRequest(merchantId, data) {\n try {\n const requestResult = await AuthAxios.post(\n `${SettingsServiceEndpoint}/reject-update-bank-details-request/${merchantId}`,\n data\n );\n\n return new SuccesResponse(requestResult.data);\n } catch (err) {\n const errMessage = err.response?.data ?? 'An error occurred';\n return new ErrorResponse(errMessage, err.response?.status);\n }\n}\n\nasync function getMaskedBankDetails(merchantId) {\n try {\n const requestResult = await AuthAxios.get(`${SettingsServiceEndpoint}/bank-masked/${merchantId}`);\n\n return new SuccesResponse(requestResult.data);\n } catch (err) {\n const errMessage = err.response?.data ?? 'An error occurred';\n return new ErrorResponse(errMessage, err.response?.status);\n }\n}\n\nasync function getBankErrorList() {\n try {\n const requestResult = await DatmanAxios.get(`${DatmanAPIEndpoint}/portal/bank/errors`);\n\n return new SuccesResponse(requestResult.data);\n } catch (err) {\n const errMessage = err.response?.data ?? 'An error occurred';\n return new ErrorResponse(errMessage, err.response?.status);\n }\n}\n\nasync function updateBankDetails(merchantId, bankDetails) {\n try {\n const response = await AuthAxios.post(`${SettingsServiceEndpoint}/bank/${merchantId}`, bankDetails);\n return new SuccesResponse(response.data);\n } catch (error) {\n const message = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(message);\n }\n}\n\nasync function validateBankDetailsForUK(bankDetails) {\n try {\n const response = await AuthAxios.post(`${SettingsServiceEndpoint}/validate-bank-details`, bankDetails);\n\n return new SuccesResponse(response.data);\n } catch (err) {\n return new ErrorResponse();\n }\n}\n\nexport default {\n getBankDetails,\n updateBankDetails,\n validateBankDetailsForUK,\n getMaskedBankDetails,\n getNewBankUpdateRequestDetails,\n raiseNewBankDetailsUpdateRequest,\n rejectNewBankDetailsUpdateRequest,\n getBankErrorList\n};\n","import { AuthAxios, DatmanAxios } from './interceptor.service.js';\nimport { NonResellerMerchantServiceEndpoint, DatmanAPIEndpoint } from 'utils/constants';\nimport { SuccesResponse, ErrorResponse } from 'models';\nimport * as Sentry from '@sentry/react';\n\nasync function checkFirstWithdrawal(merchantId) {\n try {\n await AuthAxios.get(`${NonResellerMerchantServiceEndpoint}/withdrawal/check-first/${merchantId}`);\n return new SuccesResponse();\n } catch (err) {\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nasync function submitWithdrawal(amount, requestedByUserId, merchantId, csrfToken) {\n try {\n const result = await DatmanAxios.post(\n `${DatmanAPIEndpoint}/portal/withdraw`,\n {\n amount,\n skipWithdrawalEmail: true\n },\n { headers: { 'X-CSRF-TOKEN': csrfToken } }\n );\n\n if (result.data.status !== 'fail') {\n await AuthAxios.post(`${NonResellerMerchantServiceEndpoint}/withdrawal/submit-withdrawal/${merchantId}`, {\n amount: amount,\n requestedByUserId: requestedByUserId,\n merchantId: merchantId\n });\n }\n\n return new SuccesResponse(result.data);\n } catch (err) {\n Sentry.withScope((scope) => {\n scope.setTag('withdrawal', 'error');\n scope.setUser({\n email: localStorage.getItem('user') ? JSON.parse(localStorage.getItem('user')).email : ''\n });\n Sentry.captureMessage(\n `withdrwal for user id ${requestedByUserId}, merchantId ${merchantId} and amount ${amount} has failed.`\n );\n Sentry.captureException(err);\n });\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nasync function getCustomerConfig() {\n try {\n let requestResult = await DatmanAxios.get(`${DatmanAPIEndpoint}/portal/customer-config`);\n return new SuccesResponse(requestResult.data);\n } catch (err) {\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nasync function reverseWithdrawal() {\n try {\n let response = await DatmanAxios.post(`${DatmanAPIEndpoint}/portal/reversewithdrawals`);\n return new SuccesResponse(response.data);\n } catch (err) {\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nasync function getNextWithdrawalDay() {\n try {\n let response = await AuthAxios.get(`${NonResellerMerchantServiceEndpoint}/get-next-withdrawal-day`);\n return new SuccesResponse(response.data);\n } catch (err) {\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nexport default {\n checkFirstWithdrawal,\n submitWithdrawal,\n getCustomerConfig,\n reverseWithdrawal,\n getNextWithdrawalDay\n};\n","import { AuthAxios } from './interceptor.service.js';\nimport { NonResellerMerchantServiceEndpoint } from '../utils/constants';\nimport { SuccesResponse, ErrorResponse } from 'models';\n\nconst getBusinessDetails = async (merchantId) => {\n try {\n const response = await AuthAxios.get(`${NonResellerMerchantServiceEndpoint}/businessDetails/${merchantId}`);\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst updateBusinessDetails = async (merchantId, data, csrfToken) => {\n try {\n const response = await AuthAxios.post(\n `${NonResellerMerchantServiceEndpoint}/businessDetails/${merchantId}`,\n data,\n { headers: { 'X-CSRF-TOKEN': csrfToken } }\n );\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getMerchantBusinessTypeAndBankStatus = async (merchantId) => {\n try {\n const response = await AuthAxios.get(\n `${NonResellerMerchantServiceEndpoint}/get-merchant-business-type-and-bank-status/${merchantId}`\n );\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getError = (error) => {\n const message = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(message);\n};\n\nexport default {\n getBusinessDetails,\n updateBusinessDetails,\n getMerchantBusinessTypeAndBankStatus\n};\n","import { DatmanAxios } from './interceptor.service.js';\nimport { SuccesResponse, ErrorResponse } from 'models';\nimport { DatmanAPIEndpoint } from 'utils/constants';\n\nasync function GetBalance() {\n try {\n const result = await DatmanAxios.get(`${DatmanAPIEndpoint}/portal/balance`);\n return new SuccesResponse(result.data.data);\n } catch (err) {\n return new ErrorResponse('Error');\n }\n}\n\nexport default {\n GetBalance\n};\n","import { SuccesResponse, ErrorResponse } from 'models';\nimport { DatmanAxios } from './interceptor.service.js';\nimport { DatmanAPIEndpoint } from 'utils/constants';\n\nasync function TransactionRefund(data, csrfToken) {\n try {\n const response = await DatmanAxios.post(`${DatmanAPIEndpoint}/portal/refund`, JSON.stringify(data), {\n headers: { 'X-CSRF-TOKEN': csrfToken }\n });\n return new SuccesResponse(response.data, response.status);\n } catch (error) {\n const errMessage = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nexport default {\n TransactionRefund\n};\n","import { DatmanAxios } from './interceptor.service.js';\nimport { SuccesResponse, ErrorResponse } from 'models';\nimport { DatmanAPIEndpoint } from 'utils/constants';\n\nasync function GetPdqTransactionsList(pdqTransactionsRequest) {\n const { year, month } = pdqTransactionsRequest;\n try {\n const response = await DatmanAxios.post(`${DatmanAPIEndpoint}/portal/pdq_transactions`, { year, month });\n return new SuccesResponse(response.data, response.status);\n } catch (error) {\n const errMessage = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nexport default {\n GetPdqTransactionsList\n};\n","import { AuthAxios } from './interceptor.service.js';\nimport { NotificationsServiceEndpoint } from '../utils/constants';\nimport { SuccesResponse, ErrorResponse } from 'models';\n\nconst getUrgentMessages = async (resellerId) => {\n try {\n const response = await AuthAxios.get(`${NotificationsServiceEndpoint}/admin/urgent-messages/${resellerId}`);\n return new SuccesResponse(response.data);\n } catch (error) {\n const message = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(message);\n }\n};\n\nconst addUrgentMessage = async (resellerId, data) => {\n try {\n const response = await AuthAxios.post(`${NotificationsServiceEndpoint}/admin/urgent-messages/${resellerId}`, {\n data\n });\n return new SuccesResponse(response.data);\n } catch (error) {\n const message = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(message);\n }\n};\n\nconst updateUrgentMessage = async (urgentMessageId, data) => {\n try {\n const response = await AuthAxios.put(\n `${NotificationsServiceEndpoint}/admin/urgent-messages/update/${urgentMessageId}`,\n {\n data\n }\n );\n return new SuccesResponse(response.data);\n } catch (error) {\n const message = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(message);\n }\n};\n\nconst deleteUrgentMessage = async (urgentMessageId) => {\n try {\n const response = await AuthAxios.delete(\n `${NotificationsServiceEndpoint}/admin/urgent-messages/delete/${urgentMessageId}`\n );\n return new SuccesResponse(response.data);\n } catch (error) {\n const message = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(message);\n }\n};\n\nconst requestForSupport = async (data) => {\n try {\n await AuthAxios.post(`${NotificationsServiceEndpoint}/request-for-support`, data);\n return new SuccesResponse();\n } catch (error) {\n const message = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(message);\n }\n};\n\nconst notifyApplicationFailures = async (data) => {\n try {\n await AuthAxios.post(`${NotificationsServiceEndpoint}/notify-application-failures`, data);\n return new SuccesResponse();\n } catch (error) {\n const message = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(message);\n }\n};\n\nexport default {\n getUrgentMessages,\n addUrgentMessage,\n updateUrgentMessage,\n deleteUrgentMessage,\n requestForSupport,\n notifyApplicationFailures\n};\n","import { AuthAxios } from './interceptor.service.js';\nimport { TaxonomyServiceEndpoint } from '../utils/constants';\nimport { SuccesResponse, ErrorResponse } from 'models';\nimport { Cache } from 'aws-amplify';\nimport axios from 'axios';\nconst axiosInstance = axios.create();\n\nconst getDocumentTypes = async () => {\n try {\n let documentTypeCache = null; //Cache.getItem('documentTypes');\n if (!documentTypeCache) {\n documentTypeCache = await getDocumentTypesAPI();\n Cache.setItem('documentTypes', documentTypeCache, { priority: 5 });\n }\n\n return new SuccesResponse(documentTypeCache);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getDocumentTypesAPI = async () => {\n const response = await AuthAxios.get(`${TaxonomyServiceEndpoint}/document-types`);\n return response.data;\n};\n\nconst getDescriptions = async () => {\n try {\n const response = await AuthAxios.get(`${TaxonomyServiceEndpoint}/descriptions`);\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getBusinessTypes = async () => {\n try {\n const response = await AuthAxios.get(`${TaxonomyServiceEndpoint}/business-types`);\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nasync function getMotoRenewalReasonList() {\n try {\n const response = await AuthAxios.get(`${TaxonomyServiceEndpoint}/moto-renewal-reason`);\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n}\n\nconst getProductsRequired = async () => {\n try {\n const response = await AuthAxios.get(`${TaxonomyServiceEndpoint}/products-required`);\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getResellerByPortalURL = async (portalURL) => {\n try {\n const response = await getResellers();\n let resellers;\n if (response.isSuccesfully) {\n resellers = response.data;\n }\n\n const resData = resellers?.find((r) => r.portalURL === portalURL);\n if (!resData) {\n return getError('No reseller found');\n }\n return new SuccesResponse(resData);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getMaintainenceMode = async () => {\n try {\n const response = await axiosInstance.get(`https://maintenance-mode.datmancrm.com/maintenance_mode`);\n return response?.data;\n } catch (error) {\n console.log('error getting maintainence mode', error);\n return false;\n }\n};\n\nconst getResellers = async () => {\n try {\n let resellersCache = Cache.getItem('resellers');\n if (!resellersCache) {\n resellersCache = await getResellersAPI();\n Cache.setItem('resellers', resellersCache, { priority: 1 });\n }\n return new SuccesResponse(resellersCache);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getResellersAPI = async () => {\n try {\n // const response = await AuthAxios.get(`${TaxonomyServiceEndpoint}/resellers`);\n const response = {\n data: JSON.parse(process.env.REACT_APP_CONFIG_SERVICE_ENDPOINT)\n };\n return response.data;\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getAllAcquirer = async () => {\n try {\n const response = await AuthAxios.get(`${TaxonomyServiceEndpoint}/get-acquirers`);\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getError = (error) => {\n const message = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(message);\n};\n\nexport default {\n getDocumentTypes,\n getDescriptions,\n getBusinessTypes,\n getMotoRenewalReasonList,\n getProductsRequired,\n getResellerByPortalURL,\n getResellers,\n getAllAcquirer,\n getResellersAPI,\n getMaintainenceMode\n};\n","import { AuthAxios } from './interceptor.service.js';\nimport { SuccesResponse, ErrorResponse } from 'models';\nimport { AdminServiceEndpoint } from '../utils/constants';\n\nconst clientDetails = async (data) => {\n try {\n const response = await AuthAxios.post(`${AdminServiceEndpoint}/merchants/mypay-client-registration/`, data);\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\nconst getError = (error) => {\n const message = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(message);\n};\nexport default {\n clientDetails\n};\n","import { AuthAxios, DatmanAxios } from './interceptor.service.js';\nimport { VirtualTerminalEndpoint, DatmanAPIEndpoint } from 'utils/constants';\nimport moment from 'moment';\nimport { SuccesResponse, ErrorResponse } from 'models';\n\nasync function sendPayByLinkEmail({\n email,\n amount,\n description,\n portalURL,\n merchantName,\n currencySymbol,\n currencyCode,\n payvia,\n sessionId\n}) {\n try {\n if (sessionId) {\n //that means it is DNA Client\n const result = await AuthAxios.post(`${VirtualTerminalEndpoint}/send-pay-by-link-email`, {\n email,\n amount,\n description,\n portalURL,\n merchantName,\n currencySymbol,\n requestSendAt: moment().format('DD/MMM/YYYY'),\n payvia,\n sessionId\n });\n return {\n isSuccessfully: true,\n message: result.message\n };\n }\n\n const sessionResult = await DatmanAxios.post(`${DatmanAPIEndpoint}/portal/session/create`, {\n amount: amount * 100, //Datman Portal API divides the value by 100 so multiplying here\n currency_code: currencyCode,\n user_order_ref: '',\n description: description,\n items: [],\n shoppers: {\n first_name: '',\n last_name: '',\n email: email,\n address: ''\n }\n });\n\n if (!sessionResult?.data?.data?.session_id) {\n throw new Error('No session id. Something went wrong. Please contact support.');\n }\n\n const result = await AuthAxios.post(`${VirtualTerminalEndpoint}/send-pay-by-link-email`, {\n email,\n amount,\n description,\n portalURL,\n merchantName,\n sessionId: sessionResult.data.data.session_id,\n currencySymbol,\n requestSendAt: moment().format('DD/MMM/YYYY'),\n payvia\n });\n\n return {\n isSuccessfully: true,\n message: result.message\n };\n } catch (error) {\n return {\n isSuccessfully: false,\n message: error.response?.data?.message || error.message\n };\n }\n}\n\nasync function sendInvoiceViaEmailPhone(payload) {\n try {\n const result = await AuthAxios.post(`${VirtualTerminalEndpoint}/send-payment-invoice/${payload.merchantId}`, {\n ...payload\n });\n return new SuccesResponse(result?.data?.message || 'Invoice Sent Successfully');\n } catch (error) {\n return new ErrorResponse(error.response?.data?.message || error.message);\n }\n}\n\nexport default {\n sendPayByLinkEmail,\n sendInvoiceViaEmailPhone\n};\n","import { AuthAxios } from './interceptor.service.js';\nimport { SuccesResponse, ErrorResponse } from 'models';\nimport { AdminServiceEndpoint } from '../utils/constants';\n\nconst canonicalResellerMerchantRegistration = async (data) => {\n try {\n const response = await AuthAxios.post(\n `${AdminServiceEndpoint}/merchants/canonical-reseller-merchant-registration`,\n data\n );\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\nconst getError = (error) => {\n const message = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(message);\n};\nexport default {\n canonicalResellerMerchantRegistration\n};\n","import { AuthAxios, BaseAxios } from './interceptor.service.js';\nimport { DocumentServiceEndpoint, SettingsServiceEndpoint } from '../utils/constants';\nimport { SuccesResponse, ErrorResponse } from 'models';\nimport { DocumentStatus } from 'utils/enums/DocumentStatus';\n\nconst upload = async (entity, entityId, file, fileProgress) => {\n const response = await executeUploading(entity, entityId, file, fileProgress);\n\n const hasErrorOnUpload = response.status === DocumentStatus.ERROR;\n\n if (hasErrorOnUpload) {\n return getError('Uploading error');\n } else {\n return new SuccesResponse(response.data);\n }\n};\n\nconst getError = (error) => {\n const message = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(message);\n};\n\nconst getTermsAndConditions = async (entity, entityId) => {\n try {\n console.log(entity, entityId);\n const response = await AuthAxios.get(\n `${DocumentServiceEndpoint}/terms-and-condition/get/${entity}/${entityId}`\n );\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nasync function executeUploading(entity, entityId, file, fileProgress) {\n let response;\n try {\n response = await AuthAxios.post(\n `${DocumentServiceEndpoint}/terms-and-conditions/presigned-url-put-object/${entity}/${entityId}`,\n {\n filename: file.name,\n fileType: file.type\n }\n );\n\n await BaseAxios.put(response.data.presignedUrl, file, {\n headers: {\n 'Content-Type': file.type\n },\n onUploadProgress: (progress) => {\n fileProgress(file.name, progress);\n }\n });\n const querySeparator = response.data.presignedUrl.lastIndexOf('?Content-Type');\n const link = response.data.presignedUrl.substring(0, querySeparator);\n const linkType = 'pdf';\n\n const saveResponse = await AuthAxios.post(\n `${DocumentServiceEndpoint}/terms-and-condition/save/${entity}/${entityId}/${response.data.documentId}`,\n {\n link: link,\n linkType: linkType\n }\n );\n\n return { data: saveResponse.data, documentId: response.data.documentId, status: DocumentStatus.SUCCESS };\n } catch (error) {\n if (response) {\n return { documentId: response.data.documentId, status: DocumentStatus.ERROR };\n } else {\n return { status: DocumentStatus.ERROR };\n }\n }\n}\n\nconst getSignedTermsAndConditionsData = async (entity, entityId) => {\n try {\n const response = await AuthAxios.get(\n `${DocumentServiceEndpoint}/terms-and-condition/get-signed-terms-and-conditions/${entity}/${entityId}`\n );\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst acceptTermsAndConditions = async (entity, entityId, data) => {\n try {\n const response = await AuthAxios.post(\n `${SettingsServiceEndpoint}/accept-terms-and-conditions/${entity}/${entityId} `,\n data\n );\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nexport default {\n upload,\n getTermsAndConditions,\n acceptTermsAndConditions,\n getSignedTermsAndConditionsData\n};\n","import { AuthAxios } from './interceptor.service.js';\nimport { SuccesResponse, ErrorResponse } from 'models';\nconst { ResellerServiceEndpoint } = require('utils/constants');\n\nconst getAllCanonicalResellers = async (resellerId, data) => {\n try {\n const response = await AuthAxios.post(\n `${ResellerServiceEndpoint}/get-all-canonical-resellers/${resellerId}`,\n data\n );\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst createNewCanonicalReseller = async (resellerId, data) => {\n try {\n const response = await AuthAxios.post(\n `${ResellerServiceEndpoint}/create-new-canonical-reseller/${resellerId}`,\n data\n );\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst updateCanonicalResellerData = async (canonicalResellerId, data) => {\n try {\n const response = await AuthAxios.post(\n `${ResellerServiceEndpoint}/update-canonical-reseller-data/${canonicalResellerId}`,\n data\n );\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getCanonicalResellerData = async (canonicalResellerId) => {\n try {\n const response = await AuthAxios.get(\n `${ResellerServiceEndpoint}/get-canonical-reseller-data/${canonicalResellerId}`\n );\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getCanonicalResellersAPI = async () => {\n try {\n const response = await AuthAxios.get(`${ResellerServiceEndpoint}/canonical-resellers`);\n return new SuccesResponse(response.data?.canonicalResellers || []);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getCanonicalResellers = async () => {\n let canonicalResellers = sessionStorage.getItem('canonicalResellers');\n\n if (canonicalResellers) {\n canonicalResellers = JSON.parse(canonicalResellers);\n }\n\n if (!canonicalResellers?.length) {\n const response = await getCanonicalResellersAPI();\n if (response.isSuccesfully) {\n canonicalResellers = response.data;\n sessionStorage.setItem('canonicalResellers', JSON.stringify(canonicalResellers));\n } else {\n canonicalResellers = [];\n }\n }\n return canonicalResellers;\n};\n\nconst pdqOrderDetails = async (merchantId) => {\n try {\n const response = await AuthAxios.get(`${ResellerServiceEndpoint}/get-pdq-terminal-ids/${merchantId}`);\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\nconst getError = (error) => {\n const message = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(message);\n};\n\nexport default {\n getAllCanonicalResellers,\n createNewCanonicalReseller,\n updateCanonicalResellerData,\n getCanonicalResellerData,\n getCanonicalResellersAPI,\n getCanonicalResellers,\n pdqOrderDetails\n};\n","import { AuthAxios } from './interceptor.service.js';\nimport { SuccesResponse, ErrorResponse } from 'models';\nimport { DnaServiceEndpoint } from '../utils/constants';\n\nconst getDnaMerchantAgreement = async (merchantId) => {\n try {\n const response = await AuthAxios.post(`${DnaServiceEndpoint}/get-dna-merchant-agreement/${merchantId}`);\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\nconst submitDnaOnboarding = async (merchantId, data) => {\n try {\n const response = await AuthAxios.post(`${DnaServiceEndpoint}/dna-onboarding/${merchantId}`, data);\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\nconst getDnaAccount = async (data) => {\n try {\n const response = await AuthAxios.post(`${DnaServiceEndpoint}/get-dna-account`, data);\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getUniqueAgentEmails = async (data) => {\n try {\n const response = await AuthAxios.get(`${DnaServiceEndpoint}/get-agents-unique-accounts`);\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getMerchatDataPdq = async (merchantId) => {\n try {\n const response = await AuthAxios.get(`${DnaServiceEndpoint}/get-merchant-data/${merchantId}`);\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\nconst dnaOnboardRequest = async (data) => {\n try {\n const response = await AuthAxios.post(`${DnaServiceEndpoint}/dna-onboard-request`, data);\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getPdqDevices = async (data) => {\n try {\n const response = await AuthAxios.post(`${DnaServiceEndpoint}/get-dna-terminals-info`, data);\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getError = (error) => {\n const message = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(message);\n};\n\nconst requestPDQRemoval = async (data) => {\n try {\n const response = await AuthAxios.post(`${DnaServiceEndpoint}/remove-pdq-request`, data);\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\nexport default {\n getDnaMerchantAgreement,\n submitDnaOnboarding,\n getDnaAccount,\n getMerchatDataPdq,\n dnaOnboardRequest,\n getPdqDevices,\n getUniqueAgentEmails,\n requestPDQRemoval\n};\n","export const MerchantCountries = {\n UNITED_KINGDOM: 'United Kingdom',\n IRELAND: 'Ireland',\n AUSTRALIA: 'Australia',\n NEW_ZEALAND: 'New Zealand',\n CANADA: 'Canada',\n UNITED_STATES: 'United States',\n MEXICO: 'Mexico',\n ANGUILLA: 'Anguilla',\n INDIA: 'India',\n NIGERIA: 'Nigeria'\n};\n\nexport const MerchantCountriesDialCode = {\n 'United Kingdom': '+44',\n Ireland: '+353',\n Australia: '+61',\n 'New Zealand': '+64',\n Canada: '+1',\n 'United States': '+1',\n Mexico: '+52',\n India: '+91',\n Nigeria: '+234'\n};\n","export class ErrorResponse {\n constructor(data, status) {\n this.data = data;\n this.isSuccesfully = false;\n this.status = status;\n this.error = data;\n }\n}\n\nexport class SuccesResponse {\n constructor(data, status) {\n this.data = data;\n this.isSuccesfully = true;\n this.status = status;\n }\n}\n","export class ValidationMessage {\n /**\n *\n * @param {*} message\n * @param {boolean} isValid\n */\n constructor(message, isValid) {\n this.message = message;\n this.isValid = isValid;\n }\n}\n","export const ProductRequirme = {\n Gateway: 'Gateway',\n MyMotoApp: 'MyMoto App',\n VirtualTerminal: 'Virtual Terminal',\n MyEcomm: 'MyEcomm',\n PDQ: 'PDQ'\n};\n","import _ from 'lodash';\nimport moment from 'moment';\nimport momentTZ from 'moment-timezone';\nimport { InputValidators } from 'validators';\nimport 'moment/locale/en-gb';\nimport { DocumentTypes, getDocumentsCategories } from 'utils/enums/DocumentType';\nimport { ResellerType } from 'utils/enums/ResellerType';\nimport CryptoJS from 'crypto-js';\nimport { BusinessTypeEnumId } from './enums/BusinessType';\nimport clevertap from 'clevertap-web-sdk';\nimport { AuthService } from 'services';\nimport { UserType } from './enums/UserType';\nimport jsPDF from 'jspdf';\nimport Papa from 'papaparse';\nimport jwt from 'jsonwebtoken';\n\nconst currency = (currencyCode) =>\n new Intl.NumberFormat('en-GB', {\n style: 'currency',\n currency: currencyCode\n });\n\nexport const formatCurrency = (amount, currencyCode = 'GBP') => currency(currencyCode).format(amount);\n\nexport const formatDate = (date) => {\n const formattedDate = moment.utc(date).format('YYYY-MM-DD HH:mm:SS');\n\n return moment(formattedDate).locale(process.env.REACT_APP_LOCALE).format('l');\n};\n\nexport const formatAmount = (num) => {\n return parseFloat(num)\n .toFixed(2)\n .toString()\n .replace(/(\\d)(?=(\\d{3})+(?!\\d))/g, '$1,');\n};\n\nexport const formatToTime = (date) => moment.utc(date).format('HH:mm:SS');\n\nexport const formatDateTime = (dateTime) => {\n const formattedDateTime = moment.utc(dateTime).format('YYYY-MM-DD HH:mm:SS');\n\n return moment(formattedDateTime).locale(process.env.REACT_APP_LOCALE).format('l LT');\n};\n\nexport const formatDateTimeByFormatString = (dateTime, formatString = 'l LT', noUtc = false) => {\n let formattedDateTime = noUtc ? moment(dateTime) : moment.utc(dateTime);\n formattedDateTime = formattedDateTime.format('YYYY-MM-DD HH:mm:SS');\n\n return moment(formattedDateTime).locale(process.env.REACT_APP_LOCALE).format(formatString);\n};\n\nexport const formatDateTimeByFormatStringV2 = (dateTime, formatString = 'l LT') => {\n let formattedDateTime = momentTZ.tz(dateTime, 'Europe/London');\n formattedDateTime = formattedDateTime.format('YYYY-MM-DD HH:mm:ss');\n\n return moment(formattedDateTime).locale(process.env.REACT_APP_LOCALE).format(formatString);\n};\n\nexport function toTitleCase(str) {\n return str?.replace(/\\w\\S*/g, function (txt) {\n return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase();\n });\n}\nexport function toUpperCase(str) {\n return str.replace(/\\w\\S*/g, function (txt) {\n return txt.toUpperCase();\n });\n}\n\n/**\n * Deep diff between two object, using lodash\n * @param {Object} object Object compared\n * @param {Object} base Object to compare with\n * @return {Object} Return a new object who represent the diff\n */\n\nexport const difference = (object, base) => {\n function changes(object, base) {\n return _.transform(object, function (result, value, key) {\n if (!_.isEqual(value, base[key])) {\n result[key] = _.isObject(value) && _.isObject(base[key]) ? changes(value, base[key]) : value;\n }\n });\n }\n return changes(object, base);\n};\n\n// Find ISO week\nexport const findISOweek = (year, month) => {\n const firstDayOfMonth = moment(`${year}-${month + 1}`, 'YYYY-MM-DD');\n const numOfDays = firstDayOfMonth.daysInMonth();\n const weeks = new Set();\n\n for (let i = 0; i < numOfDays; i++) {\n const currentDay = moment(firstDayOfMonth, 'YYYY-MM-DD').add(i, 'days');\n\n weeks.add(currentDay.isoWeek());\n }\n\n return Array.from(weeks);\n};\n\n// Add a getWeek function to Date prototype.\n// Returns the ISO week of the date.\n\n// eslint-disable-next-line\nDate.prototype.getWeek = function () {\n //eslint-disable-line\n // eslint-disable-line\n const date = new Date(this.getTime());\n date.setHours(0, 0, 0, 0);\n // Thursday in current week decides the year.\n date.setDate(date.getDate() + 3 - ((date.getDay() + 6) % 7));\n // January 4 is always in week 1.\n const week1 = new Date(date.getFullYear(), 0, 4);\n // Adjust to Thursday in week 1 and count number of weeks from date to week1.\n return 1 + Math.round(((date.getTime() - week1.getTime()) / 86400000 - 3 + ((week1.getDay() + 6) % 7)) / 7);\n};\n\nexport const getDateRangeOfWeek = (weekNo, y, findIndex = false) => {\n const rangeIsFrom = moment().year(y).week(weekNo).startOf('week');\n const rangeIsTo = moment().year(y).week(weekNo).endOf('week');\n return findIndex\n ? `${rangeIsFrom.format('MMM Do')} - ${rangeIsTo.format('MMM Do')}`\n : `${rangeIsFrom.format('DD MMM YY')} - ${rangeIsTo.format('DD MMM YY')}`;\n};\n\n// Keep this function. It will be needed for reference when refactoring dashboard\n\n// export const getDateOfISOWeek = (w, y) => {\n// const simple = new Date(y, 0, 1 + (w - 1) * 7);\n// const dow = simple.getDay();\n// const ISOweekStart = simple;\n// if (dow <= 4) ISOweekStart.setDate(simple.getDate() - simple.getDay() + 1);\n// else ISOweekStart.setDate(simple.getDate() + 8 - simple.getDay());\n// return ISOweekStart;\n// };\n\nexport const descendingComparator = (tranx, tranxToCompare, orderBy) => {\n let valueFromA = tranx[orderBy];\n let valueFromB = tranxToCompare[orderBy];\n\n if (\n [\n 'created_at',\n 'createdAt',\n 'chargebackDate',\n 'transactionDate',\n 'date_sent',\n 'payoutExpectedDate',\n 'time',\n 'createdDate',\n 'completedDate',\n 'activatedAt',\n 'deactivatedAt',\n 'status'\n ].includes(orderBy)\n ) {\n valueFromA = moment(valueFromA).valueOf();\n valueFromB = moment(valueFromB).valueOf();\n } else if (['name'].includes(orderBy) || ['email'].includes(orderBy)) {\n valueFromA = tranx[orderBy].toLowerCase();\n valueFromB = tranxToCompare[orderBy].toLowerCase();\n }\n\n if (!valueFromA) {\n return 1;\n }\n\n if (!valueFromB) {\n return -1;\n }\n\n if (valueFromB < valueFromA) {\n return -1;\n }\n if (valueFromB > valueFromA) {\n return 1;\n }\n return 0;\n};\n\nexport const getComparator = (order, orderBy) => {\n return order === 'desc'\n ? (tranx, tranxToCompare) => descendingComparator(tranx, tranxToCompare, orderBy)\n : (tranx, tranxToCompare) => -descendingComparator(tranx, tranxToCompare, orderBy);\n};\n\nexport const stableSort = (array, comparator) => {\n const stabilizedThis = array.map((el, index) => [el, index]);\n stabilizedThis.sort((tranx, tranxToCompare) => {\n const order = comparator(tranx[0], tranxToCompare[0]);\n if (order !== 0) return order;\n return tranx[1] - tranxToCompare[1];\n });\n return stabilizedThis.map((el) => el[0]);\n};\n\nexport const numberFormatAllowValuesForPayments = (values) => {\n const { value, floatValue } = values;\n\n if (typeof floatValue === 'undefined' || typeof value === 'undefined') {\n return true;\n }\n if (value.charAt(0) === '0') {\n if (value.charAt(1) && value.charAt(1) !== '.') {\n return false;\n }\n }\n return true;\n};\n\nexport const pdfFileTemplate = (\n merchant,\n logo,\n pdfTitle,\n address,\n csvData,\n companyAddress,\n paidImage,\n isDatman,\n isPaid,\n transactionId,\n columnStyles,\n merchantLegalName\n) => {\n const doc = new jsPDF('l');\n const marginLeft = 13;\n let marginTop = 60;\n const vAlignRight = 280;\n var companyPhoneNumber = `Phone Number : 03330165548`;\n var companyName = doc.splitTextToSize(!isDatman ? 'OmniPay LTD' : 'Mypay LTD', 60);\n var companyAddressLine1 = doc.splitTextToSize(companyAddress, 60);\n const data = Papa.parse(csvData)?.data;\n const res = data?.map((trans) => [...trans]).splice(1);\n let merchantName = '';\n let addressLine1 = '';\n let addressLine2 = '';\n let city = '';\n let postCode = address?.postCode ? address?.postCode : '';\n if (merchant?.legalName?.length > 40) {\n merchantName = merchantLegalName.slice(0, 40) + '...';\n } else {\n merchantName = merchantLegalName;\n }\n if (address?.addressLine1?.length > 40) {\n addressLine1 = address.addressLine1.slice(0, 40) + '...';\n } else {\n addressLine1 = address?.addressLine1 ? address.addressLine1 : '';\n }\n if (address?.addressLine2?.length > 40) {\n addressLine2 = address.addressLine2.slice(0, 40) + '...';\n } else {\n addressLine2 = address?.addressLine2 ? address.addressLine2 : '';\n }\n if (address?.city?.length > 40) {\n city = address.city.slice(0, 40) + '...';\n } else {\n city = address?.city ? address.city : '';\n }\n\n doc.setFontSize(14); //Merchant name\n let content = {\n startY: marginTop + 26,\n head: [data[0]],\n body: res,\n rowPageBreak: 'auto',\n bodyStyles: { valign: 'top' },\n columnStyles: columnStyles\n };\n const merchantID = `MID: ${merchant.id}`;\n doc.text(merchantName, marginLeft, 15, 'left');\n doc.text(addressLine1, marginLeft, 22, 'left');\n if (!address.addressLine2) {\n doc.text(city, marginLeft, 28, 'left');\n doc.text(postCode, marginLeft, 34, 'left');\n } else {\n doc.text(addressLine2, marginLeft, 28, 'left');\n doc.text(city, marginLeft, 34, 'left');\n doc.text(postCode, marginLeft, 40, 'left');\n }\n\n //Add Logo to right\n isDatman\n ? doc.addImage(logo, 'png', 120, 10, 40, 33, 'center', 'FAST')\n : doc.addImage(logo, 'png', 120, 10, 40, 14, 'center', 'FAST');\n\n doc.text(merchantID.toString(), 14, marginTop);\n doc.text(companyName, vAlignRight, 15, 'right');\n doc.text(companyAddressLine1, vAlignRight, 22, 'right');\n isDatman && doc.text(companyPhoneNumber, vAlignRight, 44, 'right');\n\n //Show transactions title\n doc.text(pdfTitle, 14, 70);\n doc.text(companyAddressLine1, vAlignRight, 22, 'right');\n doc.setFontSize(11);\n if (isPaid) {\n doc.addImage(paidImage, 'png', 250, 50, 31, 30, 'FAST');\n }\n //Put table in pdf\n doc.autoTable(content);\n doc.save(`Merchant_charge_${transactionId}.pdf`);\n};\n\nexport const SuperAdminEmails = [\n 'shalini.s+admin+@datman.je',\n 'shalini.s+adminmypay1@datman.je',\n 'aymen@datman.je',\n 'adi@datman.je',\n 'heather.upchurch@mypay.co.uk'\n];\n\nexport const updateAccountMapKeyWord = (obj, oldObject) => {\n const mapKeyword = {\n city: 'Contact city',\n postCode: 'Contact post code',\n email: 'Contact email',\n telephoneNumber: 'Telephone number',\n websiteUrl: 'Business URL',\n country: 'Country',\n telNumber: 'Telephone number'\n };\n\n if ('addressLine1' in obj || 'addressLine2' in obj) {\n const city = 'city' in obj ? obj['city'] : oldObject['city'];\n const postCode = 'postCode' in obj ? obj['postCode'] : oldObject['postCode'];\n const addressLine2 = 'addressLine2' in obj ? obj['addressLine2'] : '';\n obj['Address'] = `${obj['addressLine1']} ${addressLine2}, ${city}, ${postCode}`;\n delete obj['addressLine1'];\n obj['addressLine2'] && delete obj['addressLine2'];\n }\n\n for (const property in obj) {\n if (property in mapKeyword) {\n obj[mapKeyword[property]] = obj[property];\n delete obj[property];\n }\n }\n\n return obj;\n};\n\nexport const getFormattedDocumentsStatsForMerchant = ({\n merchantBusinessTypeId,\n merchantCountry,\n source,\n merchantDocuments,\n resellerName,\n isAdmin\n}) => {\n merchantBusinessTypeId = Number(merchantBusinessTypeId || 1);\n\n let docCategories = JSON.parse(\n JSON.stringify(getDocumentsCategories(merchantCountry, source, resellerName, isAdmin))\n );\n let filteredDocumentCategories = docCategories.filter((category) => {\n if (!isAdmin && category.isAdminCategory && resellerName !== ResellerType.DATMAN) {\n return false;\n }\n category.documents = category.documents.filter((doc) => {\n doc.defaultTypeIds = doc.typeIds;\n return doc.neededInBusinessTypeIds.includes(merchantBusinessTypeId);\n });\n return (\n (source === 'BANK_UPDATE' ? category.isBankUpdateCategory : true) &&\n category.neededInBusinessTypeIds.includes(merchantBusinessTypeId)\n );\n });\n\n let allNeededDocumentTypeIds = _.flattenDeep(\n filteredDocumentCategories.map((category) => {\n return category.documents.map((doc) => {\n return doc.typeIds;\n });\n })\n );\n\n let merchantDocumentTypeIds = _.map(merchantDocuments, 'documentTypeId');\n let alreadyUploadedDocumentTypes = [];\n let pendingDocumentTypes = [];\n let pendingDocumentTypeIds = [];\n let hasAllMandatoryDocsUploaded = true;\n\n let pendingDocumentCategories = JSON.parse(JSON.stringify(filteredDocumentCategories));\n\n pendingDocumentCategories = pendingDocumentCategories.filter((category) => {\n //If one kind of document (passport/permit) is uploaded then the entire category should not be shown\n //If for a 2 faced id (aadhar), single side is uploaded - Show only the other side\n let uploadedDocumentTypeIdsInThisCategory = _.intersection(\n _.flattenDeep(\n category.documents.map((doc) => {\n return doc.typeIds;\n })\n ),\n merchantDocumentTypeIds\n );\n\n let categoryNeedsMoreUploads = true;\n if (uploadedDocumentTypeIdsInThisCategory.length > 0) {\n let uploadedDocument = _.find(category.documents, (doc) => {\n return _.intersection(doc.typeIds, uploadedDocumentTypeIdsInThisCategory).length > 0;\n });\n\n let notYetUploadedTypeIdsForUploadDocument = _.difference(\n uploadedDocument.typeIds,\n uploadedDocumentTypeIdsInThisCategory\n );\n\n if (!notYetUploadedTypeIdsForUploadDocument.length) {\n categoryNeedsMoreUploads = false;\n }\n\n uploadedDocument.typeIds = notYetUploadedTypeIdsForUploadDocument;\n\n category.documents = [uploadedDocument];\n }\n if (categoryNeedsMoreUploads) {\n _.each(category.documents, (doc) => {\n pendingDocumentTypeIds.push(...doc.typeIds);\n if (!category.isOptionalCategory) {\n hasAllMandatoryDocsUploaded = false;\n }\n });\n }\n\n return categoryNeedsMoreUploads;\n });\n\n DocumentTypes.forEach((docType) => {\n if (allNeededDocumentTypeIds.includes(docType.id)) {\n //Above line will remove older needed docs from listing here\n if (merchantDocumentTypeIds.includes(docType.id)) {\n alreadyUploadedDocumentTypes.push(docType);\n } else if (pendingDocumentTypeIds.includes(docType.id)) {\n pendingDocumentTypes.push(docType);\n } else if (\n (merchantBusinessTypeId === BusinessTypeEnumId.Partnership ||\n merchantBusinessTypeId === BusinessTypeEnumId.Other) &&\n source !== 'BANK_UPDATE'\n ) {\n pendingDocumentTypes.push(docType);\n }\n }\n });\n\n pendingDocumentTypes = pendingDocumentTypes.sort(\n (a, b) => allNeededDocumentTypeIds.indexOf(a.id) - allNeededDocumentTypeIds.indexOf(b.id)\n );\n\n let needsOnlyGenericCategoryDocs =\n filteredDocumentCategories.length === 1 && filteredDocumentCategories[0].isAGenericCategory;\n\n return {\n filteredDocumentCategories,\n needsOnlyGenericCategoryDocs,\n pendingDocumentCategories,\n alreadyUploadedDocumentTypes,\n pendingDocumentTypes,\n pendingDocumentTypeIds,\n hasAllMandatoryDocsUploaded\n };\n};\n\nexport const validateEmailAddress = (email) => {\n const index = email.indexOf('@');\n const subStr = email.substr(index + 1);\n let emailValidationMessage = '';\n\n let symbol = '';\n\n if (!InputValidators.isEmailValid(email)) {\n for (let i = 0; i < subStr.length; i++) {\n const characterCode = subStr.charCodeAt(i);\n if (\n (characterCode >= 97 && characterCode <= 122) ||\n (characterCode >= 65 && characterCode <= 90) ||\n (characterCode >= 48 && characterCode <= 57) ||\n (characterCode >= 45 && characterCode <= 46)\n ) {\n continue;\n } else {\n symbol = subStr[i];\n break;\n }\n }\n }\n\n if (email.length === 0) {\n emailValidationMessage = 'Please fill in this field';\n } else if (email.includes(' ')) {\n emailValidationMessage = 'Email should not contain space';\n } else if (index === -1) {\n emailValidationMessage = `Please include an '@' in email address. ${email} is missing an '@'`;\n } else if (index <= 0) {\n emailValidationMessage = `Please enter part followed by '@'. ${email} is incomplete.`;\n } else if (index === email.length - 1) {\n emailValidationMessage = `Please enter part following '@'. ${email} is incomplete.`;\n } else if (email.indexOf('.') === index + 1) {\n emailValidationMessage = `'.' is used at wrong position in ${subStr}.`;\n } else if (subStr.includes('..')) {\n emailValidationMessage = `Following part of '@' ${subStr} should not contain consecutive '.' .`;\n } else if (symbol) {\n emailValidationMessage = `A part following '@' should not contain the symbol \" ${symbol} \"`;\n } else if (!InputValidators.isEmailValid(email)) {\n emailValidationMessage = `Please provide the valid email address`;\n }\n\n return emailValidationMessage;\n};\n\nexport const encryptData = (data) => {\n let secret = process.env.REACT_APP_ENCRYPTION_KEY;\n var encrypted = CryptoJS.AES.encrypt(data, secret);\n return encrypted.toString();\n};\nexport const cleverTapClick = (value, state, data) => {\n if (AuthService.isLoggedUser() && state?.user?.UserType?.name === UserType.Merchant) {\n const date = moment(new Date()).format('h:mma DD-MM-YYYY');\n data = { ...data, time_stamp: date };\n clevertap.event.push(value, data);\n }\n};\n\nexport const filterRefundDescription = (str) => {\n const regexArr = str?.match(/(?:because\\s).*/);\n let refundDescription = '';\n if (regexArr && regexArr.length) {\n refundDescription = regexArr[0];\n } else {\n refundDescription = '-';\n }\n refundDescription = refundDescription.replace('because ', '');\n return refundDescription;\n};\n\nconst isJsonString = (str = '') => {\n try {\n JSON.parse(str);\n } catch (e) {\n return false;\n }\n return true;\n};\n\nexport const filterDescription = (str = '') => {\n return isJsonString(str) ? JSON.parse(str) : str;\n};\n\nexport const maskCharacter = (str, mask = '*', n = 4) => {\n return ('' + str).slice(0, -n).replace(/./g, mask) + ('' + str).slice(-n);\n};\n\nexport const merchantTypes = ['DATMAN-RESELLER', 'DATMAN-DELIVERY-PARTNER', 'O2M-RESELLER'];\n\nexport const roundOfInteger = (num) => {\n return Math.round((Number(num) + Number.EPSILON) * 100) / 100;\n};\n\nexport const formatToFixesTwo = (numStr) => {\n if (numStr === '') {\n return '';\n } else if (numStr.length === 1 && +numStr[0] !== 0) {\n return `0.${numStr}`;\n } else if (numStr.length === 1 && +numStr[0] === 0) {\n return `${numStr}.`;\n } else if (numStr.length === 2) {\n return `${numStr[0]}.${numStr[1]}`;\n } else if (numStr.length > 2 && +numStr[0] !== 0) {\n return `0.${numStr[0]}${numStr[1]}`;\n } else {\n return `${numStr[0]}.${numStr[1]}${numStr[2]}`;\n }\n};\n\nexport const isValidPassword = (password, firstName, lastName, email) => {\n const forbiddenTerms = [];\n\n const nameParts = [...firstName.split(' '), ...lastName.split(' ')];\n\n // Exclude specific terms from the password based on the length of name parts\n for (const term of nameParts) {\n if (term.length > 2) {\n forbiddenTerms.push(term.toLowerCase());\n }\n }\n\n forbiddenTerms.push(email.toLowerCase());\n\n // Check if password contains any forbidden terms\n for (const term of forbiddenTerms) {\n if (password.toLowerCase().includes(term)) {\n return false;\n }\n }\n\n return true;\n};\n\nexport const isTokenGoingToExpire = (token) => {\n const tokenData = jwt.decode(token);\n const currentTime = moment().unix();\n console.log('currentTime', currentTime);\n console.log('tokenData.exp', tokenData.exp);\n console.log('tokenData.exp - currentTime', tokenData.exp - currentTime);\n if (tokenData.exp - currentTime < 10) {\n return true;\n }\n return false;\n};\n\nexport const merchantTypesEnum = {\n BIG_TABLE: 'BIG-TABLE'\n};\n","//#region Backen-API\n\nconst USER_SERVICE = process.env.REACT_APP_USER_SERVICE_ENDPOINT;\nconst AUTH_SERVICE = process.env.REACT_APP_AUTH_SERVICE_ENDPOINT;\nconst CUSTOMER_SERVICE = process.env.REACT_APP_CUSTOMER_SERVICE_ENDPOINT;\nconst MERCHANTS_SERVICE = process.env.REACT_APP_MERCHANTS_SERVICE_ENDPOINT;\nconst SETTINGS_SERVICE = process.env.REACT_APP_SETTINGS_SERVICE_ENDPOINT;\nconst DOCUMENTS_SERVICE = process.env.REACT_APP_DOCUMENTS_SERVICE_ENDPOINT;\nconst TRANSACTIONS_ENDPOINT = process.env.REACT_APP_TRANSACTIONS_ENDPOINT;\nconst PAYMENTS_ENDPOINT = process.env.REACT_APP_PAYMENTS_ENDPOINT;\nconst VIRTUAL_TERMINAL_ENDPOINT = process.env.REACT_APP_VIRTUAL_TERMINAL;\nconst ADMIN_SERVICE = process.env.REACT_APP_ADMIN_SERVICE_ENDPOINT;\nconst NOTIFICATIONS_SERVICE = process.env.REACT_APP_NOTIFICATIONS_SERVICE_ENDPOINT;\nconst TAXONOMY_SERVICE = process.env.REACT_APP_TAXONOMY_SERVICE_ENDPOINT;\nconst ADYEN_SERVICE = process.env.REACT_APP_ADYEN_SERVICE_ENDPOINT;\nconst RESELLER_SERVICE = process.env.REACT_APP_RESELLER_SERVICE_ENDPOINT;\nconst DNA_SERVICE = process.env.REACT_APP_DNA_SERVICE_ENDPOINT;\n\nexport const ALIAS = process.env.REACT_APP_ALIAS;\n\nexport const UserServiceEndpoint = USER_SERVICE + '/' + ALIAS + '/api/v1/users';\nexport const AuthServiceEndpoint = AUTH_SERVICE + '/' + ALIAS + '/api/v1/auth';\nexport const CustomerServiceEndpoint = CUSTOMER_SERVICE + '/' + ALIAS + '/api/v1/customers';\nexport const NonResellerMerchantServiceEndpoint = MERCHANTS_SERVICE + '/' + ALIAS + '/api/v1/merchants';\nexport const NotificationsServiceEndpoint = NOTIFICATIONS_SERVICE + '/' + ALIAS + '/api/v1/notifications';\n\nexport const TransactionEndpoint = `${TRANSACTIONS_ENDPOINT}/${ALIAS}/api/v1/transactions`;\nexport const GetPaymentsEndpoint = `${PAYMENTS_ENDPOINT}/${ALIAS}/api/v1/payments`;\nexport const VirtualTerminalEndpoint = `${VIRTUAL_TERMINAL_ENDPOINT}/${ALIAS}/api/v1/virtual_terminal`;\n\nexport const DatmanAPIEndpoint = process.env.REACT_APP_DATMAN_API_ENDPOINT;\n\nexport const RefundPaymentEndpoint = `${GetPaymentsEndpoint}/sale/refund`;\nexport const InitaliseSaleEndpoint = `${VirtualTerminalEndpoint}/vt/sale/create`;\n\nexport const SettingsServiceEndpoint = SETTINGS_SERVICE + '/' + ALIAS + '/api/v1/settings';\nexport const DocumentServiceEndpoint = DOCUMENTS_SERVICE + '/' + ALIAS + '/api/v1/documents';\nexport const AdminServiceEndpoint = ADMIN_SERVICE + '/' + ALIAS + '/api/v1/admin';\nexport const TaxonomyServiceEndpoint = TAXONOMY_SERVICE + '/' + ALIAS + '/api/v1/taxonomy';\nexport const AdyenServiceEndpoint = ADYEN_SERVICE + '/' + ALIAS + '/api/v1/adyen';\nexport const DnaServiceEndpoint = DNA_SERVICE + '/' + ALIAS + '/api/v1/dna';\nexport const ResellerServiceEndpoint = RESELLER_SERVICE + '/' + ALIAS + '/api/v1/reseller';\nexport const WA_CHATBOT = process.env.REACT_APP_WA_CHATBOT;\nexport const WA_CHATBOT_VISIBILITY = process.env.REACT_APP_WA_CHATBOT_VISIBILITY;\n\n//#endregion\n\n//#region Amplify Config\n//\n//\n\nexport const Region = process.env.REACT_APP_REGION;\nexport const UserPollWebClientId = process.env.REACT_APP_USER_POOL_WEB_CLIENT_ID;\nexport const UserPollId = process.env.REACT_APP_USER_POOL_ID;\nexport const IdentityPollId = process.env.REACT_APP_IDENTITY_POOL_ID;\nexport const Domain = process.env.REACT_APP_DOMAIN;\n\n//#endregion\n\n//#region Base constants\n\nexport const LoqateApiKey = process.env.REACT_APP_LOQATE_API_KEY;\n\n//#endregion\nexport const CookieUserPValue = 'p_value';\nexport const threeDSRedirectUrl = 'https://r80k37vvl6.execute-api.us-east-1.amazonaws.com/dev/threeDSRedirectWeb';\nexport const DATMAN_API_BASE_URL = 'https://api.datmancrm.com/p2';\nexport const DATMAN_TOKEN =\n 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZXJjaGFudF9pZCI6NjYzMTYxNDI5LCJob3N0IjoidGVzdGluZy5jb20iLCJzY29wZXMiOlsiY2xpZW50Iiwid2l0aGRyYXcvIiwiYWNjb3VudF9iYWxhbmNlLyJdLCJpYXQiOjE2MDA5MzkyMjAsImV4cCI6MTYwMDk0MDEyMH0.VHWSc6Va2X6hjVxEOISO2g4GNpwri7IvQA-gduTjBGY';\nexport const CLEVERTAP_ID = '449-WKK-946Z';\nexport const CHATBOT_SCRIPT_ID = 'zsiqscript';\nexport const CHATBOT_DATA_HANDLE_ATTRIBUTE = 'datman';\nexport const CHATBOT_SCRIPT_URL = 'https://salesiq.zoho.in/widget';\nexport const PORTAL_API_BASE_URL = 'portal-api-pp.datmancrm.com';\nexport const supportedLanguages = [\n { locale: 'en', name: 'English' },\n { locale: 'es-mx', name: 'Spanish' }\n];\n\nexport const UNDERMAINTAINANCE = process.env.REACT_APP_MAINTAINANCE === 'true' ? true : false;\nexport const AdminLogoutTime = process.env.REACT_APP_TIME_LIMIT_ADMIN;\n\nexport const REACT_APP_DOWNLOAD_LINK = process.env.REACT_APP_DOWNLOAD_LINK;\n\n// Specifying the cutoff date for archiving data in the card_payment table.\nexport const REACT_APP_CARD_PAYMENT_ARCHIVE_DATE = process.env.REACT_APP_CARD_PAYMENT_ARCHIVE_DATE;\n\nexport const REACT_APP_ERROR_IMAGE = process.env.REACT_APP_ERROR_IMAGE;\n\nexport const REACT_APP_SIGUP_EXPIRY_TIME = process.env.REACT_APP_SIGUP_EXPIRY_TIME;\n\nexport const REACT_APP_SIGNUP_LINK_REACTIVATION_PERIOD = process.env.REACT_APP_SIGNUP_LINK_REACTIVATION_PERIOD;\n\nexport const REACT_APP_TERMS_AND_CONDITION_URL = process.env.REACT_APP_TERMS_AND_CONDITION_URL;\n","import React from 'react';\nimport styles from './password-input.module.scss';\nimport { OutlinedInput } from '@material-ui/core';\nimport InputAdornment from '@material-ui/core/InputAdornment';\nimport FormControl from '@material-ui/core/FormControl';\nimport Visibility from '@material-ui/icons/Visibility';\nimport VisibilityOff from '@material-ui/icons/VisibilityOff';\nimport { makeStyles } from '@material-ui/core/styles';\nimport { Tooltip } from '@material-ui/core';\n\nconst useStyles = makeStyles((theme) => ({\n root: {},\n\n withoutLabel: {\n marginTop: theme.spacing(3)\n },\n textField: {\n [theme.breakpoints.up('sm')]: {\n width: '100%'\n },\n [theme.breakpoints.between('xs', 'sm')]: {\n width: '100%'\n }\n }\n}));\n\nconst useOutlinedInputStyles = makeStyles((theme) => ({\n root: {\n '& $notchedOutline': {\n borderColor: '#D2DDEC',\n borderRadius: '0.375',\n borderWidth: '1.5px'\n },\n '&:hover $notchedOutline': {\n borderColor: '#D2DDEC'\n },\n '&$focused $notchedOutline': {\n borderColor: '#2C7BE5',\n borderWidth: '1.5px'\n },\n '& input::placeholder': {\n fontSize: '14px',\n color: 'gray'\n },\n '& input': {\n fontSize: '15px',\n fontWeight: '400',\n fontFamily: 'Source Sans Pro'\n }\n },\n focused: {},\n notchedOutline: {}\n}));\n\nfunction PasswordInputComponent(props) {\n const classes = useStyles();\n const outlinedInputClasses = useOutlinedInputStyles();\n\n const {\n showPassword,\n setShowPassword,\n password,\n onChange,\n placeholder,\n title,\n minLength,\n pattern,\n required,\n autoFocus\n } = props;\n\n return (\n
\n \n onChange(e.target.value?.replace(/ /g, '')?.trim())}\n placeholder={placeholder}\n title={title}\n minLength={minLength}\n pattern={pattern}\n endAdornment={\n \n {showPassword ? (\n \n setShowPassword(false)} />\n \n ) : (\n \n setShowPassword(true)} />\n \n )}\n \n }\n autoFocus={autoFocus}\n />\n \n
\n );\n}\n\nexport default PasswordInputComponent;\n","import React, { useState } from 'react';\nimport PasswordInputComponent from './password-input.component';\n\nfunction PasswordInput(props) {\n const [showPassword, setShowPassword] = useState(false);\n\n return ;\n}\n\nexport default PasswordInput;\n","import React from 'react';\nimport styles from './login-form.module.scss';\nimport { Form, Spinner } from 'react-bootstrap';\nimport { Link } from 'react-router-dom';\nimport PropTypes from 'prop-types';\nimport { getArrayFromString, checkEmptyValue } from 'validators/onboarding/onboarding-check-value.validator';\nimport { SnackBarAndAlert } from 'components';\nimport { Button, Grid, Box, Typography } from '@material-ui/core';\nimport PhoneInput from 'react-phone-input-2';\nimport 'react-phone-input-2/lib/bootstrap.css';\nimport LinkMaterial from '@material-ui/core/Link';\nimport { useGlobalStateContext } from 'contexts';\nimport PasswordInput from 'components/password-input/password-input.container';\n\n// import { ResellerType } from 'utils/enums/ResellerType';\n\nfunction LoginFormComponent(props) {\n const { getRoute } = useGlobalStateContext();\n const {\n email,\n setEmail,\n password,\n setPassword,\n onSubmit,\n error,\n errorCode,\n setError,\n errorCodeMsg,\n setErrorCodeMsg,\n loading,\n isСonfirmationEmailShows,\n isEmailConfirmedSuccessfully,\n setСonfirmationEmailShows,\n verificationCode,\n setVerificationCode,\n isPasswordlessLogin,\n setIsPasswordlessLogin,\n passwordLessEmail,\n setPasswordLessEmail,\n passwordLessPhone,\n setPasswordLessPhone,\n loginWithEmail,\n verifyCode,\n loginWithPhone,\n needToVerifyCode,\n codeSentToPhone,\n resend,\n remainingRetryNumber,\n resetPasswordLessFields,\n showSmsSent,\n setShowSmsSent,\n cloakedPhoneNumber,\n isUpdatePasswordMessageShows,\n setIsUpdatePasswordMessageShows,\n querySubmitted,\n setQuerySubmitted,\n generalPageError,\n setGeneralPageError,\n setOrangeMessageStyle,\n orangeMessageStyle,\n isDisabled,\n setCountryCodeByNumber,\n countryCodeByNumber\n } = props;\n return (\n
\n
\n {isUpdatePasswordMessageShows && (\n setIsUpdatePasswordMessageShows(false)}\n type=\"success\"\n >\n Password was changed successfully.\n \n )}\n {isСonfirmationEmailShows &&\n (isEmailConfirmedSuccessfully ? (\n setСonfirmationEmailShows(false)}\n type=\"success\"\n >\n The email was successfully confirmed.\n \n ) : (\n setСonfirmationEmailShows(false)}\n type=\"error\"\n >\n {error\n ? error\n : 'An error was occurred when checking the email. Please contact support or try again.'}\n \n ))}\n {showSmsSent && (\n setShowSmsSent(false)} type=\"success\">\n SMS sent to phone number set during sign up process.\n \n )}\n {querySubmitted && (\n setQuerySubmitted(false)} type=\"success\">\n Your query has been sent to our support team. We will get back to you shortly !\n \n )}\n {generalPageError && (\n setGeneralPageError('')} type=\"error\">\n {generalPageError}\n \n )}\n
\n\n
\n
\n {isPasswordlessLogin && !needToVerifyCode && (\n <>\n \n \n

Passwordless authentication

\n
\n
\n
\n\n Phone number\n
\n
\n {\n setPasswordLessPhone(phone);\n setCountryCodeByNumber(data.countryCode);\n }}\n inputClass={styles.phoneInput + ' passwordless-auth-phone-input'}\n name=\"phone\"\n />\n
\n\n
\n \n Send\n \n
\n
\n
\n\n Email address\n
\n
\n \n setPasswordLessEmail(e.target.value.toLowerCase())}\n />\n \n
\n
\n \n Send\n \n
\n
\n\n
\n
\n \n

\n setIsPasswordlessLogin(false)}\n underline=\"always\"\n >\n SIGN IN\n {' '}\n using email and password\n

\n
\n
\n {/*
\n setRoute('/forgot-password')}\n >\n FORGOT PASSWORD\n \n
*/}\n
\n \n )}\n {isPasswordlessLogin && needToVerifyCode && (\n <>\n \n \n

\n \n If your account exists, A verification code will be sent to your \n {codeSentToPhone && (\n \n mobile number + {cloakedPhoneNumber}. Please check your phone, if\n you don’t have this number anymore please contact support at\n {countryCodeByNumber == 'us'\n ? ' +1(256)2578511.'\n : ' +44(0)3330165548.'}\n  \n \n )}\n {!codeSentToPhone && email address {passwordLessEmail}. }\n Code is valid for 5 minutes and you have {remainingRetryNumber} retries.\n \n

\n
\n
\n \n Verification code\n {\n if (e.target?.value?.length > 6) {\n return;\n }\n const verificationCodeRegEx = /^[0-9\\b]+$/;\n if (e.target.value === '' || verificationCodeRegEx.test(e.target.value)) {\n setVerificationCode(e.target.value);\n if (errorCodeMsg && e.target?.value?.length === 6) {\n setErrorCodeMsg(false);\n }\n }\n }}\n onBlur={() => {\n setErrorCodeMsg(\n getArrayFromString(verificationCode).length > 0 &&\n getArrayFromString(verificationCode).length < 6\n ? true\n : false\n );\n }}\n />\n \n {errorCodeMsg ? 'Please Enter Valid 6 digit code' : ''}\n \n
\n
\n
\n \n RESEND\n \n
\n
\n \n Verify code\n \n
\n
\n
\n \n \n

\n \n Go back\n \n

\n
\n
\n \n )}\n {!isPasswordlessLogin && (\n <>\n \n Email address\n setEmail(e.target.value.toLowerCase())}\n />\n \n\n \n \n Password \n
\n \n Reset password?\n \n
\n
\n setPassword(value)}\n />\n
\n\n
\n \n Log in\n \n
\n
\n

\n or\n

\n setIsPasswordlessLogin(true)}\n >\n Passwordless authentication\n \n
\n \n )}\n\n {error && !loading && (\n {\n setError(null);\n setOrangeMessageStyle(false);\n }}\n orangeColor={orangeMessageStyle}\n type=\"error\"\n >\n {errorCode === 'PasswordResetRequiredException' ? (\n \n Your password has expired.{' '}\n \n RESET YOUR PASSWORD\n \n \n ) : (\n error\n )}\n \n )}\n\n {loading && (\n
\n \n
\n )}\n \n {/* {globalState.reseller?.name === ResellerType.OMNIPAY && (\n
\n \n
\n )} */}\n {/* {globalState.reseller?.name === ResellerType.OMNIPAY && (\n \n \n \n Don't have an account?{' '}\n \n Sign up\n \n \n \n \n )} */}\n
\n
\n );\n}\n\nLoginFormComponent.propTypes = {\n email: PropTypes.string,\n setEmail: PropTypes.func,\n password: PropTypes.string,\n setPassword: PropTypes.func,\n onSubmit: PropTypes.func,\n error: PropTypes.string,\n errorCode: PropTypes.string,\n setError: PropTypes.func,\n errorCodeMsg: PropTypes.bool,\n setErrorCodeMsg: PropTypes.func,\n loading: PropTypes.bool,\n isСonfirmationEmailShows: PropTypes.bool,\n isEmailConfirmedSuccessfully: PropTypes.bool,\n setСonfirmationEmailShows: PropTypes.func,\n verificationCode: PropTypes.string,\n setVerificationCode: PropTypes.func,\n isPasswordlessLogin: PropTypes.bool,\n setIsPasswordlessLogin: PropTypes.func,\n passwordLessEmail: PropTypes.string,\n setPasswordLessEmail: PropTypes.func,\n passwordLessPhone: PropTypes.string,\n setPasswordLessPhone: PropTypes.func,\n loginWithEmail: PropTypes.func,\n verifyCode: PropTypes.func,\n loginWithPhone: PropTypes.func,\n needToVerifyCode: PropTypes.bool,\n codeSentToPhone: PropTypes.bool,\n resend: PropTypes.func,\n remainingRetryNumber: PropTypes.number,\n resetPasswordLessFields: PropTypes.func,\n showSmsSent: PropTypes.bool,\n setShowSmsSent: PropTypes.func,\n cloakedPhoneNumber: PropTypes.string,\n isUpdatePasswordMessageShows: PropTypes.bool,\n setIsUpdatePasswordMessageShows: PropTypes.func,\n querySubmitted: PropTypes.bool,\n setQuerySubmitted: PropTypes.func\n};\n\nexport default LoginFormComponent;\n","export const errorCodes = {\n SUCCESSFUL_VOID_TRANSACTION: {\n statusCode: 1012\n },\n SUSPENDED_ACCOUNT: {\n statusCode: 1022\n },\n PASSWORD_IS_EXPIRED: {\n statusCode: 1026\n },\n USER_NOT_FOUND: {\n statusCode: 1003\n },\n INCORRECT_CREDENTIAL: {\n statusCode: 1023\n },\n USER_NOT_SIGNED_UP: {\n statusCode: 1031\n }\n};\n","import React, { useState, useEffect } from 'react';\nimport LoginFormComponent from './login-form.component';\nimport { useGlobalStateContext } from 'contexts';\nimport moment from 'moment';\nimport {\n UserService,\n AuthService,\n NonResellerMerchantService,\n DocumentsService,\n CanonicalResellerService\n} from 'services';\nimport { Auth, Hub, Cache } from 'aws-amplify';\nimport { useLocation } from 'react-router-dom';\nimport { parse } from 'query-string';\nimport * as Sentry from '@sentry/react';\nimport { supportedLanguages } from 'utils/constants';\nimport { UserType } from 'utils/enums/UserType';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport { MAX_PASSWORD_CHANGE_DAYS } from 'utils/enums/ChangePasswordTriggerDays';\nimport { getFormattedDocumentsStatsForMerchant } from 'utils/helper';\nimport { Roles } from 'utils/enums/Roles';\nimport _ from 'lodash';\nimport { errorCodes } from 'utils/internalStatusCode';\nimport { ResellerType } from 'utils/enums/ResellerType';\n\nfunction LoginForm(props) {\n const { globalState, setGlobalState, setRoute, getRoute } = useGlobalStateContext();\n const [email, setEmail] = useState('');\n const [password, setPassword] = useState('');\n const [error, setError] = useState(null);\n const [errorCode, setErrorCode] = useState(null);\n const [errorCodeMsg, setErrorCodeMsg] = useState(false);\n const [loading, setLoading] = useState(false);\n const [isСonfirmationEmailShows, setСonfirmationEmailShows] = useState(false);\n const [isEmailConfirmedSuccessfully, setIsEmailConfirmedSuccessfully] = useState(false);\n const [isPasswordlessLogin, setIsPasswordlessLogin] = useState(false);\n const [customChallengePreviousResponseEmail, setCustomChallengePreviousResponseEmail] = useState(false);\n const [customChallengePreviousResponsePhone, setCustomChallengePreviousResponsePhone] = useState(false);\n const [verificationCode, setVerificationCode] = useState(null);\n const [passwordLessEmail, setPasswordLessEmail] = useState(null);\n const [passwordLessPhone, setPasswordLessPhone] = useState(null);\n const [passwordLessPhoneRelatedEmail, setPasswordLessPhoneRelatedEmail] = useState(null);\n const [needToVerifyCode, setNeedToVerifyCode] = useState(false);\n const [codeSentToPhone, setCodeSentToPhone] = useState(false);\n const [remainingRetryNumber, setRemainingRetryNumber] = useState(3);\n const [showSmsSent, setShowSmsSent] = useState(false);\n const [cloakedPhoneNumber, setCloakedPhoneNumber] = useState('');\n const [isUpdatePasswordMessageShows, setIsUpdatePasswordMessageShows] = useState(false);\n const [querySubmitted, setQuerySubmitted] = useState(false);\n const [generalPageError, setGeneralPageError] = useState('');\n const [countryCodeByNumber, setCountryCodeByNumber] = useState(null);\n const [orangeMessageStyle, setOrangeMessageStyle] = useState(false);\n const [isDisabled, setIsDisabled] = useState(false);\n const newPasswordRequired = 'NEW_PASSWORD_REQUIRED';\n const CUSTOM_CHALLENGE = 'CUSTOM_CHALLENGE';\n const invalidOtpMessage = 'Verification code is invalid.';\n const location = useLocation();\n const local = navigator?.language;\n const locale = supportedLanguages.find((language) => language.locale === local) ? local : 'en-GB';\n const isDatman = document.URL.includes('portal.datmancrm.com');\n const isOmnipay = document.URL.includes('portal.omni-pay.com');\n const [invalidAttempts, setInvalidAttempts] = useState(0);\n let maxAttempts = 6;\n\n function resetCountAndStartTimer() {\n const timer = setTimeout(localStorage.setItem('invalidAttempts', 0), 60000); // Reset count after 60 seconds\n clearTimeout(timer);\n }\n\n useEffect(() => {\n const storedAttempts = localStorage.getItem('invalidAttempts');\n if (storedAttempts) {\n setInvalidAttempts(parseInt(storedAttempts));\n }\n }, []);\n\n useEffect(() => {\n const timerStart = parseInt(localStorage.getItem('timerStart'));\n const currentTime = new Date().getTime();\n const elapsedTime = currentTime - timerStart;\n const minuteInMillis = 60 * 1000;\n\n if (invalidAttempts === maxAttempts || !timerStart || elapsedTime >= minuteInMillis) {\n localStorage.setItem('invalidAttempts', 0);\n resetCountAndStartTimer();\n } else {\n localStorage.setItem('invalidAttempts', invalidAttempts.toString());\n }\n //eslint-disable-next-line\n }, [invalidAttempts]);\n useEffect(() => {\n const urlParams = parse(location.hash);\n if (urlParams.email_verification) {\n setСonfirmationEmailShows(true);\n if (urlParams.email_verification === 'success') {\n setIsEmailConfirmedSuccessfully(true);\n if (urlParams.email && urlParams.email !== 'undefined') {\n setEmail(urlParams.email.replaceAll(' ', '+'));\n }\n } else {\n if (urlParams.errorMessage) {\n setError(urlParams.errorMessage);\n }\n setIsEmailConfirmedSuccessfully(false);\n }\n }\n\n if (urlParams['update-password']) {\n setIsUpdatePasswordMessageShows(true);\n }\n }, [location]);\n\n useEffect(() => {\n Hub.listen('SignupSocial', ({ payload: { event, data } }) => {\n switch (event) {\n case 'start': {\n setLoading(true);\n Auth.currentAuthenticatedUser({ bypassCache: true })\n .then((response) => {\n const thirdPartyResellerUrlParameterCache = Cache.getItem('thirdPartyResellerUrlParameter');\n if (globalState.reseller?.portalURL === 'portal.datmancrm.com') {\n if (thirdPartyResellerUrlParameterCache) {\n //Register user in db and send email\n saveUserAndSendEmail(data, response, thirdPartyResellerUrlParameterCache);\n }\n // restrict signup for non t2s users and remove already registered user in cognito\n else {\n UserService.getUserByCognitoUserName(response.attributes.sub).then(\n (responseUser) => {\n if (responseUser.isSuccessfully && responseUser.user) {\n localStorage.setItem('user', JSON.stringify(responseUser.user));\n setGlobalState({ ...globalState, user: responseUser.user });\n if (props.linkQrData) setRoute(`/home${props.linkQrData}`);\n setRoute('/home');\n } else if (responseUser.isSuccessfully && !responseUser.user) {\n setLoading(false);\n setError('User not allowed to enter in this portal');\n AuthService.removeCognitoUser(\n data.signInUserSession.idToken.payload['cognito:username']\n )\n .then({})\n .catch({});\n AuthService.logout();\n } else {\n setLoading(false);\n setError(response.message);\n }\n }\n );\n }\n } else {\n // Mypay\n //Check if user exists\n UserService.getUserByCognitoUserName(response.attributes.sub).then((responseUser) => {\n if (responseUser.isSuccessfully && responseUser.user) {\n localStorage.setItem('user', JSON.stringify(responseUser.user));\n setGlobalState({ ...globalState, user: responseUser.user });\n if (props.linkQrData) setRoute(`/home${props.linkQrData}`);\n else setRoute('/home');\n } else if (responseUser.isSuccessfully && !responseUser.user) {\n //Signup new user\n saveUserAndSendEmail(data, response, thirdPartyResellerUrlParameterCache);\n } else {\n setLoading(false);\n setError(response.message);\n console.error(response.message);\n }\n });\n }\n })\n .catch((authError) => {\n setLoading(false);\n setError(authError.message);\n });\n break;\n }\n default: {\n }\n }\n });\n // eslint-disable-next-line\n }, []);\n\n useEffect(() => {\n const showMessage = sessionStorage.getItem('querySubmitted');\n if (showMessage) {\n sessionStorage.removeItem('querySubmitted');\n setQuerySubmitted(true);\n }\n }, []);\n\n useEffect(() => {\n const pageError = sessionStorage.getItem('generalPageError');\n if (pageError) {\n sessionStorage.removeItem('generalPageError');\n setGeneralPageError(pageError);\n }\n }, []);\n\n const handleSubmit = async (event) => {\n event.preventDefault();\n event.stopPropagation();\n setError(null);\n setErrorCode(null);\n setLoading(true);\n setIsDisabled(true);\n\n Auth.signIn({\n username: email,\n password: password\n })\n .then((response) => {\n if (response.challengeName === newPasswordRequired) {\n setRoute('/signup', {\n email: email,\n password: password\n });\n } else {\n UserService.getUserByCognitoUserName(response.attributes.sub).then(async (response) => {\n const isReseller = response.user?.UserType?.name === UserType.Reseller;\n let resellerResponse;\n\n let resellerType;\n\n const isAgent = _.isArray(response.user?.Relationships)\n ? response.user?.Relationships[0]?.Role.name === Roles.Agent\n : false;\n\n if (isReseller) {\n resellerResponse = await CanonicalResellerService.getCanonicalResellersAPI();\n resellerType =\n resellerResponse.data[0].resellerId === 1 ? ResellerType.OMNIPAY : ResellerType.DATMAN;\n }\n if (response.user.isPep) {\n AuthService.logout();\n Auth.signOut({ global: true });\n setError('Your account is locked');\n setLoading(false);\n } else if (\n (isDatman && resellerType === ResellerType.OMNIPAY) ||\n (isOmnipay && resellerType === ResellerType.DATMAN) ||\n (isAgent && !isDatman)\n ) {\n AuthService.logout();\n Auth.signOut({ global: true });\n setError('User not found');\n setLoading(false);\n } else {\n localStorage.setItem('selectedLanguage', locale);\n const user = response.user;\n const isMerchant = response.user?.UserType?.name === UserType.Merchant;\n\n setGlobalState({ ...globalState, user: response.user, merchant: null });\n if (isMerchant) {\n const response = await NonResellerMerchantService.getUserMerchants(\n globalState.reseller?.id\n );\n\n if (response !== null && response.isSuccesfully) {\n const merchants = response.data.merchantsDto;\n const inCompleteOnboardingMerchants = JSON.parse([\n response.data?.InCompleteOnboardingMerchants\n ]);\n if (merchants?.length > 0) {\n const merchant = merchants[0];\n setGlobalState((globalState) => ({\n ...globalState,\n merchant,\n user: user\n }));\n\n sessionStorage.setItem('merchant', JSON.stringify(merchant));\n const isUkMerchant = merchant?.country === MerchantCountries.UNITED_KINGDOM;\n const isActiveMerchant = merchant?.status === MerchantStatus.ACTIVE;\n if (\n isUkMerchant &&\n isActiveMerchant &&\n inCompleteOnboardingMerchants?.includes(merchant?.id)\n ) {\n const merchantId = merchant.id;\n const completedStepsResponse = await NonResellerMerchantService.t2sIncompleteOnBoardingFormCheck(\n merchantId\n );\n const documentsResponse = await DocumentsService.listObjects(\n 'merchant',\n merchantId\n );\n if (completedStepsResponse.isSuccesfully) {\n const isInComplete = !completedStepsResponse.data?.validOnboardingFrom;\n const inCompleteSteps = completedStepsResponse.data?.inCompleteSteps;\n const noDocumentsPending = getFormattedDocumentsStatsForMerchant({\n merchantBusinessTypeId: merchant?.businessTypeId,\n merchantCountry: merchant?.country,\n merchantDocuments: documentsResponse.data\n }).hasAllMandatoryDocsUploaded;\n if (isInComplete) {\n setGlobalState((globalState) => ({\n ...globalState,\n merchant: {\n ...globalState.merchant,\n onboardingStep: inCompleteSteps[0]\n }\n }));\n localStorage.setItem('user', JSON.stringify(user));\n setRoute('/onboarding');\n return;\n } else {\n if (!noDocumentsPending) {\n setGlobalState((globalState) => ({\n ...globalState,\n merchant: {\n ...globalState.merchant,\n onboardingStep: 8\n }\n }));\n localStorage.setItem('user', JSON.stringify(user));\n setRoute('/onboarding');\n return;\n }\n }\n }\n }\n }\n }\n }\n setLoading(false);\n setInvalidAttempts(0);\n localStorage.setItem('user', JSON.stringify(response.user));\n Sentry.withScope((scope) => {\n scope.setTag('login', 'success');\n Sentry.captureMessage('Login success');\n });\n if (props.linkQrData) setRoute(`/home${props.linkQrData}`);\n else setRoute('/home');\n }\n const diffeneceInTime = moment().diff(moment(response.user.updatedPasswordAt), 'days');\n if (diffeneceInTime >= MAX_PASSWORD_CHANGE_DAYS) {\n const { firstName, lastName } = response.user;\n const encodedEmail = encodeURIComponent(email);\n AuthService.logout();\n Auth.signOut({ global: true });\n const redirectUrlForresetPassword = getRoute(\n `/reset-password?email=${encodedEmail}&reset-token=${password}&firstName=${firstName}&lastName=${lastName}&passwordRotation=passwordRotation`\n );\n window.location.href = redirectUrlForresetPassword;\n }\n });\n }\n })\n .catch((err) => {\n let errorMessage = err.message?.replace('UserMigration failed with error ', '');\n\n if (\n errorMessage === 'Incorrect username or password.' ||\n errorMessage === 'User does not exist.' ||\n errorMessage === 'Password attempts exceeded' ||\n errorMessage === 'User is disabled.'\n ) {\n errorMessage = 'Your authentication information is incorrect. Please try again.';\n }\n setError(errorMessage);\n const updatedInvalidAttempts = invalidAttempts + 1;\n setInvalidAttempts(updatedInvalidAttempts);\n if (updatedInvalidAttempts === 1) {\n localStorage.setItem('timerStart', new Date().getTime().toString());\n }\n setTimeout(() => {\n window.location.reload();\n }, 2000);\n const maxAttemptsforError = 4;\n const remainingValidAttempt = maxAttempts - maxAttemptsforError;\n if (updatedInvalidAttempts === maxAttemptsforError) {\n setError(\n `You have tried too many times, you have ${remainingValidAttempt} valid attempts remaining.`\n );\n }\n setLoading(false);\n // setIsDisabled(false);\n setErrorCode(err.code);\n event.preventDefault();\n event.stopPropagation();\n Sentry.withScope((scope) => {\n scope.setTag('login', 'failed');\n scope.setUser({ email: email });\n Sentry.captureException(new Error(err.message));\n });\n });\n };\n\n const loginWithEmail = async (event) => {\n event.preventDefault();\n event.stopPropagation();\n setError(null);\n setErrorCode(null);\n setErrorCodeMsg(false);\n setLoading(true);\n\n try {\n await startLoginWithEmail();\n } catch (error) {\n setError(error.message);\n setLoading(false);\n event.preventDefault();\n event.stopPropagation();\n }\n };\n\n const loginWithPhone = async (event) => {\n event.preventDefault();\n event.stopPropagation();\n setError(null);\n setErrorCode(null);\n setLoading(true);\n\n try {\n await startLoginWithPhone();\n } catch (error) {\n setError(error.message);\n setLoading(false);\n event.preventDefault();\n event.stopPropagation();\n }\n };\n\n const resend = async (event) => {\n event.preventDefault();\n event.stopPropagation();\n setError(null);\n setErrorCode(null);\n setLoading(true);\n setErrorCodeMsg(false);\n setCustomChallengePreviousResponseEmail(null);\n setCustomChallengePreviousResponsePhone(null);\n setVerificationCode('');\n setRemainingRetryNumber(3);\n setIsDisabled(true);\n\n try {\n if (codeSentToPhone) {\n await startLoginWithPhone();\n } else {\n await startLoginWithEmail();\n }\n setIsDisabled(false);\n } catch (error) {\n setError(error.message);\n setLoading(false);\n event.preventDefault();\n event.stopPropagation();\n }\n };\n\n const verifyCode = async (event) => {\n event.preventDefault();\n event.stopPropagation();\n setError(null);\n setErrorCode(null);\n setErrorCodeMsg(false);\n setLoading(true);\n\n try {\n if (codeSentToPhone) {\n const answer = await Auth.sendCustomChallengeAnswer(\n customChallengePreviousResponsePhone,\n verificationCode\n );\n if (answer.challengeName === CUSTOM_CHALLENGE) {\n setRemainingRetryNumber(remainingRetryNumber - 1);\n setCustomChallengePreviousResponsePhone(answer);\n setLoading(false);\n setNeedToVerifyCode(true);\n setError(invalidOtpMessage);\n setErrorCodeMsg(true);\n } else {\n UserService.getUserByCognitoUserName(answer.attributes.sub).then((response) => {\n localStorage.setItem('user', JSON.stringify(response.user));\n setGlobalState({ ...globalState, user: response.user, merchant: null });\n setLoading(false);\n if (props.linkQrData) setRoute(`/home${props.linkQrData}`);\n else setRoute('/home');\n });\n }\n } else {\n const answer = await Auth.sendCustomChallengeAnswer(\n customChallengePreviousResponseEmail,\n verificationCode\n );\n\n if (answer.challengeName === CUSTOM_CHALLENGE) {\n setRemainingRetryNumber(remainingRetryNumber - 1);\n setCustomChallengePreviousResponseEmail(answer);\n setLoading(false);\n setError(invalidOtpMessage);\n setErrorCodeMsg(true);\n setNeedToVerifyCode(true);\n } else {\n UserService.getUserByCognitoUserName(answer.attributes.sub).then((response) => {\n localStorage.setItem('user', JSON.stringify(response.user));\n setGlobalState({ ...globalState, user: response.user, merchant: null });\n setLoading(false);\n if (props.linkQrData) setRoute(`/home${props.linkQrData}`);\n else setRoute('/home');\n });\n }\n }\n } catch (error) {\n setRemainingRetryNumber(0);\n setError(invalidOtpMessage);\n setErrorCodeMsg(true);\n setLoading(false);\n event.preventDefault();\n event.stopPropagation();\n }\n };\n\n const resetPasswordLessFields = () => {\n setCustomChallengePreviousResponseEmail(null);\n setCustomChallengePreviousResponsePhone(null);\n setVerificationCode(null);\n setPasswordLessPhoneRelatedEmail(null);\n setNeedToVerifyCode(false);\n setCodeSentToPhone(false);\n setErrorCodeMsg(false);\n setShowSmsSent(false);\n setRemainingRetryNumber(3);\n };\n\n async function startLoginWithEmail() {\n setIsDisabled(true);\n const response = await AuthService.createNewAuthOtp({ parameter: passwordLessEmail, viaPhone: false });\n if (response.isSuccesfully) {\n if (response.status === 202) {\n setError(response.data);\n setOrangeMessageStyle(true);\n } else if (\n response.data.statusCode === errorCodes.USER_NOT_FOUND.statusCode ||\n response.data.statusCode === errorCodes.INCORRECT_CREDENTIAL.statusCode ||\n response.data.statusCode === errorCodes.USER_NOT_SIGNED_UP.statusCode\n ) {\n setNeedToVerifyCode(true);\n setCodeSentToPhone(true);\n } else {\n const rspAuth = await Auth.signIn({ username: passwordLessEmail });\n if (rspAuth.challengeName === CUSTOM_CHALLENGE) {\n setCustomChallengePreviousResponseEmail(rspAuth);\n setNeedToVerifyCode(true);\n setCodeSentToPhone(false);\n }\n }\n setLoading(false);\n setIsDisabled(false);\n } else {\n let errorMessage = response.error;\n if (errorMessage === 'Maximum limit reached. Please try after 30 minute') {\n setError(errorMessage);\n } else if (errorMessage.errorCode === errorCodes.PASSWORD_IS_EXPIRED.statusCode) {\n setError(errorMessage.message);\n } else {\n setNeedToVerifyCode(true);\n setCodeSentToPhone(false);\n }\n\n setLoading(false);\n setIsDisabled(false);\n }\n }\n\n async function startLoginWithPhone() {\n setIsDisabled(true);\n const response = await AuthService.createNewAuthOtp({ parameter: `+${passwordLessPhone}`, viaPhone: true });\n if (response.isSuccesfully) {\n if (response.status === 202) {\n setError(response.data);\n setOrangeMessageStyle(true);\n } else if (\n response.data.statusCode === errorCodes.USER_NOT_FOUND.statusCode ||\n response.data.statusCode === errorCodes.INCORRECT_CREDENTIAL.statusCode ||\n response.data.statusCode === errorCodes.USER_NOT_SIGNED_UP.statusCode\n ) {\n setNeedToVerifyCode(true);\n setCodeSentToPhone(true);\n } else {\n setPasswordLessPhoneRelatedEmail(response.data.email);\n const rspAuth = await Auth.signIn({ username: response.data.email });\n if (rspAuth.challengeName === CUSTOM_CHALLENGE) {\n setCustomChallengePreviousResponsePhone(rspAuth);\n setNeedToVerifyCode(true);\n setShowSmsSent(true);\n setCodeSentToPhone(true);\n }\n }\n setLoading(false);\n setIsDisabled(false);\n } else {\n let errorMessage = response.error;\n if (errorMessage === 'Maximum limit reached. Please try after 30 minute') {\n setError(errorMessage);\n } else if (\n errorMessage.errorCode === errorCodes.PASSWORD_IS_EXPIRED.statusCode ||\n errorMessage.errorCode === errorCodes.SUSPENDED_ACCOUNT.statusCode ||\n errorMessage.errorCode === errorCodes.USER_NOT_FOUND.statusCode\n ) {\n setError(errorMessage.message);\n } else {\n setNeedToVerifyCode(true);\n setShowSmsSent(true);\n setCodeSentToPhone(true);\n }\n setLoading(false);\n setIsDisabled(false);\n }\n }\n\n useEffect(() => {\n if (passwordLessPhone?.length > 4) {\n const passwordLessPhoneMaskedLength = passwordLessPhone.length - 4;\n const cloakedPhone = `${Array(passwordLessPhoneMaskedLength).join('*')}${passwordLessPhone.slice(\n passwordLessPhoneMaskedLength\n )}`;\n setCloakedPhoneNumber(cloakedPhone);\n } else {\n setCloakedPhoneNumber('*********');\n }\n }, [passwordLessPhone]);\n\n useEffect(() => {\n function focusOnPasswordLessPhoneInput() {\n let phoneInputElement = document.getElementsByClassName('passwordless-auth-phone-input')[0];\n phoneInputElement && phoneInputElement.focus();\n }\n if (isPasswordlessLogin && !needToVerifyCode) {\n focusOnPasswordLessPhoneInput();\n }\n }, [isPasswordlessLogin, needToVerifyCode]);\n\n return (\n \n );\n\n function saveUserAndSendEmail(data, response, thirdPartyResellerUrlParameterCache) {\n AuthService.newSocialAccount({\n providerId: data.signInUserSession.idToken.payload['cognito:username'],\n email: response.attributes.email,\n resellerUrl: globalState.reseller?.portalURL,\n refreshToken: data.signInUserSession.refreshToken.token,\n userData: {\n email: response.attributes.email,\n given_name: data.signInUserSession.idToken.payload['given_name'],\n family_name: data.signInUserSession.idToken.payload['family_name'],\n picture: data.signInUserSession.idToken.payload['picture']\n }\n }).then((responseSocial) => {\n if (responseSocial.isSuccesfully) {\n ///Request new token which will contains userId and other details\n AuthService.requestNewTokenWithRefreshToken(data.signInUserSession.refreshToken.token).then(\n (newTokenReponse) => {\n if (newTokenReponse.isSuccesfully) {\n const route = thirdPartyResellerUrlParameterCache\n ? `/home${thirdPartyResellerUrlParameterCache}`\n : '/home';\n Cache.removeItem('thirdPartyResellerUrlParameter');\n Auth.currentAuthenticatedUser({ bypassCache: true }).then((krs) => {\n //Force refresh token\n //Get user\n UserService.getUserByEmail(response.attributes.email).then((responseUser) => {\n if (responseUser.isSuccessfully && responseUser.user) {\n localStorage.setItem('user', JSON.stringify(responseUser.user));\n setGlobalState({ ...globalState, user: responseUser.user });\n setLoading(false);\n setRoute(route);\n } else {\n setLoading(false);\n setError(response.message);\n }\n });\n });\n } else {\n setLoading(false);\n setError('Internal exception');\n }\n }\n );\n } else {\n setLoading(false);\n setError('Internal exception');\n }\n });\n }\n}\n\nexport default LoginForm;\n","export const EntityType = {\n BUSINESS: 'Business',\n CLIENT: 'Client',\n MERCHANT: 'Merchant',\n};\n","export const Permissions = {\n AssignUser: 'Assign User',\n BusinessCRUD: 'Business CRUD',\n UserManagement: 'User Management',\n};\n","import { Roles } from './enums/Roles';\nimport { Permissions } from './enums/Permissions';\n\nconst dictionary = {};\n\ndictionary[Permissions.AssignUser] = [Roles.Admin, Roles.Owner, Roles.Manager];\ndictionary[Permissions.BusinessCRUD] = [Roles.Admin, Roles.Owner];\ndictionary[Permissions.UserManagement] = [Roles.Admin, Roles.Owner, Roles.Manager];\n\nfunction checkPermissions(role, permission) {\n if (dictionary[permission] === undefined) return false;\n if (dictionary[permission].includes(role)) return true;\n\n return false;\n}\n\nconst getUserRole = (entities) => {\n const rolesList = [];\n\n entities.Businesses.forEach((business) => {\n rolesList.push(business.role);\n business.Clients.forEach((client) => {\n rolesList.push(client.role);\n client.Merchants.forEach((merchant) => {\n rolesList.push(merchant.role);\n });\n });\n });\n\n entities.Clients.forEach((client) => {\n rolesList.push(client.role);\n client.Merchants.forEach((merchant) => {\n rolesList.push(merchant.role);\n });\n });\n\n entities.Merchants.forEach((merchant) => {\n rolesList.push(merchant.role);\n });\n\n let userRole;\n if (rolesList.includes(Roles.Admin)) {\n userRole = Roles.Admin;\n } else if (rolesList.includes(Roles.Owner)) {\n userRole = Roles.Owner;\n } else if (rolesList.includes(Roles.Manager)) {\n userRole = Roles.Manager;\n } else {\n userRole = Roles.User;\n }\n\n return userRole;\n};\n\nexport { getUserRole, checkPermissions };\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Row, Col, Button, Form, Card } from 'react-bootstrap';\nimport { SearchUserForm } from 'components';\nimport styles from './home-item-details.module.scss';\nimport { ModalConfirmation } from 'components';\nimport { ModalClientCreation, ModalMerchantCreation } from 'components';\nimport { EntityType } from 'utils/enums/EntityType';\nimport { Permissions } from 'utils/enums/Permissions';\nimport { checkPermissions } from 'utils/roles-and-permissions';\n\nfunction HomeItemDetailsComponent(props) {\n //#region Business region\n function renderBusinessDetails() {\n if (props.isUpdateDetailsMode) {\n return (\n \n \n {props.businessNameValidation.message}\n \n );\n } else {\n return
{props.data.name}
;\n }\n }\n\n function renderUpdateButtons() {\n if (props.isUpdateDetailsMode) {\n return (\n \n Save\n \n );\n } else {\n return (\n props.setIsUpdateDetailsMode((state) => !state)}\n >\n Edit\n \n );\n }\n }\n\n const renderBusiness = () => {\n return (\n \n {props.data && props.selectedElement && props.selectedElement.type === EntityType.BUSINESS ? (\n \n
{renderBusinessDetails()}
\n
\n {props.data.id && (\n
\n {checkPermissions(props.selectedElement.role, Permissions.BusinessCRUD) && (\n \n )}\n {checkPermissions(props.selectedElement.role, Permissions.AssignUser) && (\n props.setShowAssignUser(true)}\n >\n Assign a user to business\n \n )}\n {checkPermissions(props.selectedElement.role, Permissions.BusinessCRUD) &&\n renderUpdateButtons()}\n {checkPermissions(props.selectedElement.role, Permissions.BusinessCRUD) && (\n props.setIsShowDeleteWarning((state) => !state)}\n >\n Delete\n \n )}\n
\n )}\n
\n
\n ) : (\n
\n )}\n
\n );\n };\n\n const renderBusinessModal = () => {\n return (\n \n {props.data && props.selectedElement && props.selectedElement.type === EntityType.BUSINESS ? (\n \n \n {`Are you sure you want to delete business ${props.data.name}?`}\n \n\n \n\n {/* userId: selectedUser.id,\n businessId,\n clientId,\n merchantId,\n roleId: selectedRole */}\n\n \n \n ) : (\n
\n )}\n
\n );\n };\n\n //#endregion\n\n //#region Client\n function renderClientDetails() {\n if (props.isUpdateDetailsMode) {\n return (\n \n \n {props.clientNameValidation.message}\n \n );\n } else {\n return
{props.data.name}
;\n }\n }\n\n function renderClientUpdateButtons() {\n if (props.isUpdateDetailsMode) {\n return (\n \n Save\n \n );\n } else {\n return (\n props.setIsUpdateDetailsMode((state) => !state)}\n >\n Edit\n \n );\n }\n }\n\n const renderClient = () => {\n return (\n \n {props.data && props.selectedElement && props.selectedElement.type === EntityType.CLIENT ? (\n \n
{renderClientDetails()}
\n
\n {props.data.id && (\n
\n {checkPermissions(props.selectedElement.role, Permissions.BusinessCRUD) && (\n \n )}\n {checkPermissions(props.selectedElement.role, Permissions.AssignUser) && (\n props.setShowAssignUser(true)}\n >\n Assign a user to client\n \n )}\n {checkPermissions(props.selectedElement.role, Permissions.BusinessCRUD) &&\n renderClientUpdateButtons()}\n {checkPermissions(props.selectedElement.role, Permissions.BusinessCRUD) && (\n props.setIsShowDeleteWarningClient((state) => !state)}\n >\n Delete\n \n )}\n
\n )}\n
\n
\n ) : (\n
\n )}\n
\n );\n };\n\n const renderClientModal = () => {\n return (\n \n {props.data && props.selectedElement && props.selectedElement.type === EntityType.CLIENT ? (\n \n \n {`Are you sure you want to delete client ${props.data.name}?`}\n \n\n \n\n \n \n ) : (\n
\n )}\n
\n );\n };\n\n //#endregion\n\n //#region Client\n function renderMerchantDetails() {\n if (props.isUpdateDetailsMode) {\n return (\n \n \n {props.merchantNameValidation.message}\n \n );\n } else {\n return
{props.data.name}
;\n }\n }\n\n function renderMerchantUpdateButtons() {\n if (props.isUpdateDetailsMode) {\n return (\n \n Save\n \n );\n } else {\n return (\n props.setIsUpdateDetailsMode((state) => !state)}\n >\n Edit\n \n );\n }\n }\n\n const renderMerchant = () => {\n return (\n \n {props.data && props.selectedElement && props.selectedElement.type === EntityType.MERCHANT ? (\n \n
{renderMerchantDetails()}
\n
\n {props.data.id && (\n
\n {checkPermissions(props.selectedElement.role, Permissions.AssignUser) && (\n props.setShowAssignUser(true)}\n >\n Assign a user to merchant\n \n )}\n {checkPermissions(props.selectedElement.role, Permissions.BusinessCRUD) &&\n renderMerchantUpdateButtons()}\n {checkPermissions(props.selectedElement.role, Permissions.BusinessCRUD) && (\n props.setIsShowDeleteWarningMerchant((state) => !state)}\n >\n Delete\n \n )}\n
\n )}\n
\n
\n ) : (\n
\n )}\n
\n );\n };\n\n const renderMerchantModal = () => {\n return (\n \n {props.data && props.selectedElement && props.selectedElement.type === EntityType.MERCHANT ? (\n \n \n {`Are you sure you want to delete merchant ${props.data.name}?`}\n \n \n \n ) : (\n
\n )}\n
\n );\n };\n\n //#endregion\n\n return (\n \n {props.data ? (\n \n \n {renderBusiness()}\n {renderClient()}\n {renderMerchant()}\n \n \n \n \n \n \n\n {/* Separate Modal Code */}\n {renderBusinessModal()}\n {renderClientModal()}\n {renderMerchantModal()}\n \n ) : (\n
\n )}\n
\n );\n}\n\nHomeItemDetailsComponent.propTypes = {\n data: PropTypes.object,\n assignEntityAndRoleToUser: PropTypes.func,\n isUpdateDetailsMode: PropTypes.bool,\n setIsUpdateDetailsMode: PropTypes.func,\n saveBusiness: PropTypes.func,\n updateBusinessNameHandler: PropTypes.func,\n businessNameValidation: PropTypes.object,\n setIsShowDeleteWarning: PropTypes.func,\n isShowDeleteWarning: PropTypes.bool,\n deleteBusiness: PropTypes.func,\n selectedElement: PropTypes.object,\n isClientModalOpen: PropTypes.bool,\n showClientModal: PropTypes.func,\n refreshClientList: PropTypes.func,\n setUpdateWorkItems: PropTypes.func,\n\n setIsShowDeleteWarningClient: PropTypes.func,\n isShowDeleteWarningClient: PropTypes.bool,\n updateClientNameHandler: PropTypes.func,\n clientNameValidation: PropTypes.object,\n saveClient: PropTypes.func,\n showMerchantModal: PropTypes.func,\n deleteClient: PropTypes.func,\n isMerchantModalOpen: PropTypes.bool,\n\n setIsShowDeleteWarningMerchant: PropTypes.func,\n isShowDeleteWarningMerchant: PropTypes.bool,\n updateMerchantNameHandler: PropTypes.func,\n merchantNameValidation: PropTypes.object,\n saveMerchant: PropTypes.func,\n deleteMerchant: PropTypes.func\n};\n\nexport default HomeItemDetailsComponent;\n","import React, { useEffect, useState } from 'react';\nimport HomeWorkItemsComponent from './home-work-items.components';\nimport { EntitiesService } from 'services';\nimport PropTypes from 'prop-types';\nimport { useGlobalStateContext } from 'contexts';\nimport { getUserRole } from 'utils/roles-and-permissions';\n\nfunction HomeWorkItems(props) {\n const { globalState, setGlobalState } = useGlobalStateContext();\n const [businessList, setBusinessList] = useState(null);\n const [isBusinessCreationModalOpen, setIsBusinessCreationModalOpen] = useState(false);\n const [loading, setLoading] = useState(false);\n\n useEffect(() => {\n async function fetchData() {\n setLoading(true);\n const responseData = await EntitiesService.getHierarchy();\n if (responseData.isSuccesfully) {\n setBusinessList(responseData.data);\n const userRole = getUserRole(responseData.data);\n setGlobalState({ user: globalState.user, userRole: userRole });\n } else {\n setBusinessList(null);\n }\n setLoading(false);\n }\n fetchData();\n }, [props.isShouldUpdateWorkItems, globalState.user, setGlobalState]);\n\n const showBusinessModal = () => {\n setIsBusinessCreationModalOpen((state) => !state);\n };\n\n const refreshBusinessList = async () => {\n const responseData = await EntitiesService.getHierarchy();\n if (responseData.isSuccesfully) {\n setBusinessList(responseData.data);\n const userRole = getUserRole(responseData.data);\n setGlobalState({ user: globalState.user, userRole: userRole });\n } else {\n setBusinessList([]);\n }\n };\n return (\n \n {businessList ? (\n \n ) : (\n ''\n )}\n \n );\n}\n\nHomeWorkItems.propTypes = {\n isShouldUpdateWorkItems: PropTypes.bool,\n};\n\nexport default HomeWorkItems;\n","import React from 'react';\nimport styles from './signup-form.module.scss';\nimport { Form } from 'react-bootstrap';\nimport { Link } from 'react-router-dom';\nimport PropTypes from 'prop-types';\n//import AuthWithSocialMedia from 'components/auth-with-social-media/auth-with-social-media.container';\nimport { Button, Grid, Typography, makeStyles } from '@material-ui/core';\nimport { useGlobalStateContext } from 'contexts';\nimport { PasswordValidation, SnackBarAndAlert, CustomLoadingScreen, ValidEmailInput, PasswordInput } from 'components';\nimport PhoneInput from 'react-phone-input-2';\nimport 'react-phone-input-2/lib/bootstrap.css';\nimport { Clear } from '@material-ui/icons';\nfunction SignUpComponent(props) {\n const { getRoute } = useGlobalStateContext();\n const {\n onSubmit,\n email,\n setEmail,\n password,\n oldPassword,\n setOldPassword,\n setPassword,\n confirmPassword,\n setConfirmPassword,\n signUpError,\n setSignUpError,\n errorMessage,\n firstName,\n setFirstName,\n lastName,\n setLastName,\n isLoading,\n forceChangePassword,\n isUserInvited,\n phone,\n setPhone,\n isT2SUser,\n setIsPasswordValid,\n isPasswordValid,\n isPhoneValid,\n // thirdPartyResellerUrlParameter,\n setPhoneCountryIdentificator,\n redoPasswordValidation,\n setRedoPasswordValidation,\n isEmailValid\n } = props;\n\n const useStyles = makeStyles((theme) => ({\n disabledInput: {\n color: theme.palette.text.primary,\n backgroundColor: 'Gainsboro',\n border: '1px solid LightGray',\n borderRadius: '5px',\n fontWeight: '600',\n userSelect: 'none'\n }\n }));\n\n const classes = useStyles();\n\n return (\n
\n
\n \n \n First name*\n setFirstName(e.target.value)}\n required\n placeholder=\"First name\"\n autoFocus={true}\n />\n \n \n Last name*\n setLastName(e.target.value)}\n required\n placeholder=\"Last name\"\n />\n \n \n setEmail(e.target.value.toLowerCase().replace(/ /g, ''))}\n onKeyPress={(e) => {\n if (e.key === ' ') {\n e.preventDefault();\n }\n }}\n required\n readOnly={forceChangePassword}\n type=\"email\"\n placeholder=\"Email\"\n name=\"email\"\n disabled\n classes={{ disabled: classes.disabledInput }}\n />\n \n \n Phone number {isT2SUser ? '*' : ''}\n {!isPhoneValid ? (\n \n \n \n \n \n Phone number is mandatory\n \n \n ) : null}\n\n {\n setPhone(phone);\n setPhoneCountryIdentificator(data.dialCode);\n }}\n inputClass={styles.phoneInput}\n inputProps={{ required: isT2SUser }}\n name=\"phone\"\n countryCodeEditable={false}\n />\n \n {forceChangePassword && !isUserInvited && (\n \n \n Old password*\n setOldPassword(value)}\n minLength=\"8\"\n />\n \n \n )}\n\n \n Password*\n \n \n \n {\n setPassword(value);\n setRedoPasswordValidation(false);\n }}\n required\n minLength=\"8\"\n //pattern=\"(?=.*\\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%^&*()]).{8,}\"\n pattern=\"(?=.*\\d)(?=.*[a-zA-Z]).{8,}\"\n title=\"Password must contain at least 8 characters including a number and a letter\"\n type=\"password\"\n placeholder=\"Password\"\n />\n \n \n Confirm password*\n {\n setConfirmPassword(value);\n setRedoPasswordValidation(true);\n }}\n type=\"password\"\n placeholder=\"Confirm password\"\n />\n \n \n {signUpError && (\n setSignUpError(false)} type=\"error\">\n {errorMessage}\n \n )}\n {/* {verifyEmail && (\n setVerifyEmail(false)} type=\"success\">\n {messages.verifyEmail}\n \n )}\n {successSignupInvite && (\n setSuccessSignupInvite(false)}\n type=\"success\"\n >\n {messages.verifyEmail}\n \n )} */}\n\n
\n \n Sign up\n \n
\n {/* {isT2SUser && (\n
\n \n
\n )} */}\n {!isT2SUser && (\n \n \n Do you already have an account? Log in\n \n \n )}\n \n \n
\n );\n}\n\nSignUpComponent.propTypes = {\n onSubmit: PropTypes.func,\n email: PropTypes.string,\n setEmail: PropTypes.func,\n password: PropTypes.string,\n messages: PropTypes.object,\n setPassword: PropTypes.func,\n confirmPassword: PropTypes.string,\n setConfirmPassword: PropTypes.func,\n signUpError: PropTypes.bool,\n setSignUpError: PropTypes.func,\n errorMessage: PropTypes.string,\n verifyEmail: PropTypes.bool,\n setVerifyEmail: PropTypes.func,\n firstName: PropTypes.string,\n setFirstName: PropTypes.func,\n lastName: PropTypes.string,\n setLastName: PropTypes.func,\n isLoading: PropTypes.bool,\n forceChangePassword: PropTypes.bool,\n oldPassword: PropTypes.string,\n setOldPassword: PropTypes.func,\n successSignupInvite: PropTypes.bool,\n setSuccessSignupInvite: PropTypes.func,\n isUserInvited: PropTypes.bool,\n phone: PropTypes.string,\n setPhone: PropTypes.func,\n isT2SUser: PropTypes.bool,\n isPasswordValid: PropTypes.bool,\n setIsPasswordValid: PropTypes.func,\n isPhoneValid: PropTypes.bool,\n setPhoneCountryIdentificator: PropTypes.string,\n redoPasswordValidation: PropTypes.bool\n\n //thirdPartyResellerUrlParameter: PropTypes.string\n};\n\nexport default SignUpComponent;\n","import { Auth } from 'aws-amplify';\n\nclass AuthHelper {\n static async refreshSessionPromise(refreshToken) {\n return new Promise(async (resolve, reject) => {\n const user = await Auth.currentAuthenticatedUser();\n return user.refreshSession(refreshToken, async (err, data) => {\n if (err) {\n reject(err);\n } else {\n resolve(data);\n }\n });\n });\n }\n\n static async refreshCurrentSession() {\n const session = await Auth.currentSession();\n return this.refreshSessionPromise(session.getRefreshToken());\n }\n}\n\nexport default AuthHelper;\n","import React, { useState, useEffect } from 'react';\nimport SignUpFormComponent from './signup-form.component';\nimport { AuthService, UserService, NonResellerMerchantService } from 'services';\nimport { useLocation } from 'react-router-dom';\nimport { Auth } from 'aws-amplify';\nimport { ALIAS } from '../../utils/constants';\nimport qs from 'query-string';\nimport _ from 'lodash';\nimport AuthHelper from 'utils/authHelper';\nimport { useGlobalStateContext } from 'contexts';\nimport { supportedLanguages } from 'utils/constants';\nimport { getT2SReferralLinkPayload } from 'utils/getT2SReferralLinkPayload';\nimport { MerchantCountriesDialCode } from 'utils/enums/MerchantCountries';\nimport { InputValidators } from 'validators';\n\nfunction SignUpForm() {\n const { globalState, setGlobalState, setRoute } = useGlobalStateContext();\n const [email, setEmail] = useState('');\n const [password, setPassword] = useState('');\n const [confirmPassword, setConfirmPassword] = useState('');\n const [signUpError, setSignUpError] = useState(false);\n const [errorMessage, setErrorMessage] = useState('');\n const [verifyEmail, setVerifyEmail] = useState(false);\n const [firstName, setFirstName] = useState('');\n const [lastName, setLastName] = useState('');\n const [phone, setPhone] = useState(MerchantCountriesDialCode['United Kingdom']);\n const [isPasswordValid, setIsPasswordValid] = useState(false);\n const [phoneCountryIdentificator, setPhoneCountryIdentificator] = useState('');\n const [isLoading, setIsLoading] = useState(false);\n const [redoPasswordValidation, setRedoPasswordValidation] = useState(false);\n const [signature, setSignature] = useState('');\n const local = navigator.language;\n const locale = supportedLanguages.find((language) => language.locale === local) ? local : 'en-GB';\n\n const messages = {\n invalidConfirmPassword: 'Passwords do not match',\n invalidOldPassword: 'Invalid old password',\n oldPassAndNewPassMatch: 'Old password and new password match',\n signUpError: 'An error has occurred. Please try again later.',\n verifyEmail: 'Thank you for the registration! We will redirect you to the homepage.',\n thitdPartyIdExistMessage: 'Sorry, but this referral link is already in the system.'\n };\n\n const [forceChangePassword, setForceChangePassword] = useState(false);\n const [oldPassword, setOldPassword] = useState('');\n const [successSignupInvite, setSuccessSignupInvite] = useState(false);\n const [isUserInvited, setIsUserInvited] = useState(false);\n const [thirdPartyResellerUrlParameter, setThirdPartyResellerUrlParameter] = useState('');\n const [thirdPartyCustomerKey, setThirdPartyCustomerKey] = useState(null);\n const [referralData, setReferralData] = useState(null);\n const [isT2SUser, setIsT2SUser] = useState(false);\n const location = useLocation();\n const [isPhoneValid, setIsPhoneValid] = useState(false);\n const [isEmailValid, setIsEmailValid] = useState(false);\n\n useEffect(() => {\n const queryString = qs.parse(location.search, { ignoreQueryPrefix: true });\n\n if (queryString?.q && !queryString?.signature) {\n setRoute('/login');\n }\n if (queryString?.q && queryString?.signature) {\n const data = getT2SReferralLinkPayload(queryString.q, { globalState, setRoute });\n setThirdPartyResellerUrlParameter('?q=' + queryString.q);\n setThirdPartyCustomerKey(queryString.q);\n setReferralData(data);\n setIsT2SUser(true);\n setFirstName(data?.OwnerFirstName || '');\n setLastName(data?.OwnerLastName || '');\n setEmail(data?.OwnerEmail || '');\n setSignature(queryString?.signature);\n\n if (data?.OwnerPhoneNumber) {\n let dialCode =\n MerchantCountriesDialCode[data.OwnerAddressCountry] || MerchantCountriesDialCode['United Kingdom'];\n if (data.OwnerPhoneNumber.toString().startsWith('0')) {\n setPhone(dialCode + data.OwnerPhoneNumber.toString().substr(1));\n } else if (data.OwnerPhoneNumber.toString().startsWith('+')) {\n setPhone(data?.OwnerPhoneNumber);\n } else {\n setPhone(dialCode + data?.OwnerPhoneNumber);\n }\n }\n }\n\n const fetchData = async () => {\n const userDetails = await UserService.getUserByEmail(location.state.email);\n setEmail(userDetails.user.email);\n setFirstName(userDetails.user.firstName);\n setLastName(userDetails.user.lastName);\n setForceChangePassword(true);\n };\n\n if (location && location.state) {\n fetchData();\n } else if (queryString.email && queryString.oldPassword) {\n setIsUserInvited(true);\n setForceChangePassword(true);\n setOldPassword(decodeURIComponent(queryString.oldPassword));\n setEmail(decodeURIComponent(queryString.email));\n\n if (queryString.phone) setPhone(queryString.phone);\n }\n // eslint-disable-next-line\n }, [location, thirdPartyResellerUrlParameter, setThirdPartyResellerUrlParameter]);\n\n useEffect(() => {\n let tmpPhoneIsValid = false;\n if (isT2SUser) {\n if (phone.length > 6) {\n tmpPhoneIsValid = true;\n } else {\n tmpPhoneIsValid = false;\n }\n } else {\n tmpPhoneIsValid = true;\n }\n\n setIsPhoneValid(tmpPhoneIsValid);\n }, [phone, isT2SUser]);\n\n useEffect(() => {\n if (InputValidators.isEmailValid(email)) {\n setIsEmailValid(true);\n } else {\n setIsEmailValid(false);\n }\n }, [email]);\n\n const handleSubmit = (event) => {\n setVerifyEmail(false);\n setSignUpError(false);\n setIsLoading(true);\n\n if (password !== confirmPassword) {\n setSignUpError(true);\n setErrorMessage(messages.invalidConfirmPassword);\n event.preventDefault();\n event.stopPropagation();\n setIsLoading(false);\n return;\n }\n\n if (forceChangePassword && oldPassword === password) {\n setSignUpError(true);\n setErrorMessage(messages.oldPassAndNewPassMatch);\n event.preventDefault();\n event.stopPropagation();\n setIsLoading(false);\n return;\n }\n\n if (forceChangePassword) {\n let phoneWithoutZero = phone.slice();\n if (phoneWithoutZero[phoneCountryIdentificator.length] === '0') {\n phoneWithoutZero =\n phoneWithoutZero.slice(0, phoneCountryIdentificator.length) +\n phoneWithoutZero.slice(phoneCountryIdentificator.length + 1);\n }\n\n AuthService.completeInvite({\n username: email,\n email: email,\n password: password,\n firstName: firstName,\n lastName: lastName,\n oldPassword: oldPassword,\n phone: phoneWithoutZero\n ? phoneWithoutZero.startsWith('+')\n ? phoneWithoutZero\n : '+' + phoneWithoutZero\n : ''\n }).then((response) => {\n if (response.isSuccesfully) {\n setSuccessSignupInvite(true);\n Auth.signIn({\n username: email,\n password: password\n })\n .then((response) => {\n sessionStorage.setItem('signUp', true);\n UserService.getUserByCognitoUserName(response.attributes.sub).then((response) => {\n localStorage.setItem('selectedLanguage', locale);\n localStorage.setItem('user', JSON.stringify(response.user));\n setGlobalState({ ...globalState, user: response.user });\n setIsLoading(false);\n setRoute('/home');\n });\n })\n .catch((err) => {\n setErrorMessage(err.message);\n setIsLoading(false);\n event.preventDefault();\n event.stopPropagation();\n });\n } else {\n setSignUpError(true);\n response.data.error ? setErrorMessage(response.data.error) : setErrorMessage(messages.signUpError);\n setPassword('');\n setConfirmPassword('');\n setIsLoading(false);\n }\n });\n } else {\n //const params = new URLSearchParams(window.location.href);\n //const merchantId = params.get('merchantId');\n let phoneWithoutZero = phone.slice();\n if (phoneWithoutZero[phoneCountryIdentificator.length] === '0') {\n phoneWithoutZero =\n phoneWithoutZero.slice(0, phoneCountryIdentificator.length) +\n phoneWithoutZero.slice(phoneCountryIdentificator.length + 1);\n }\n\n Auth.signUp({\n username: email,\n password: password,\n attributes: {\n email: email,\n given_name: firstName,\n family_name: lastName,\n 'custom:alias': ALIAS,\n 'custom:resellerUrl': globalState.reseller?.portalURL,\n phone_number: phoneWithoutZero\n ? phoneWithoutZero.startsWith('+')\n ? phoneWithoutZero\n : '+' + phoneWithoutZero\n : '',\n 'custom:request3PartyData': thirdPartyCustomerKey,\n 'custom:requestSignature': signature\n }\n })\n .then(() => {\n setVerifyEmail(true);\n\n Auth.signIn({\n username: email,\n password: password\n })\n .then((response) => {\n // saving referral data in db while sign up\n if (thirdPartyCustomerKey) {\n UserService.saveReferralDataString({ referralDataValue: thirdPartyCustomerKey });\n }\n\n UserService.getUserByCognitoUserName(response.attributes.sub).then(async (response) => {\n localStorage.setItem('selectedLanguage', locale);\n localStorage.setItem('user', JSON.stringify(response.user));\n if (thirdPartyCustomerKey) {\n let merchantCreationResp = await NonResellerMerchantService.createUserMerchantUsingThirdPartyCustomerKey(\n thirdPartyCustomerKey,\n globalState.reseller?.id\n );\n if (merchantCreationResp?.isSuccesfully) {\n let merchantRetrivalResp = await NonResellerMerchantService.getUserMerchants(\n globalState.reseller?.id\n );\n if (merchantRetrivalResp?.isSuccesfully) {\n let merchantsDto = merchantRetrivalResp?.data?.merchantsDto;\n merchantsDto = _.sortBy(merchantsDto, ['id']);\n let merchant = merchantsDto[merchantsDto.length - 1];\n if (merchant && merchant.id) {\n const newTokenReponse = await AuthService.requestNewToken();\n await AuthHelper.refreshCurrentSession();\n if (newTokenReponse.isSuccesfully) {\n sessionStorage.setItem('merchant', JSON.stringify(merchant));\n setGlobalState({ ...globalState, merchant, user: response.user });\n setIsLoading(false);\n setRoute('/onboarding');\n return;\n }\n }\n }\n }\n }\n setGlobalState({ ...globalState, user: response.user });\n setIsLoading(false);\n setRoute('/home' + thirdPartyResellerUrlParameter);\n });\n })\n .catch((err) => {\n setErrorMessage(err.message);\n setIsLoading(false);\n\n event.preventDefault();\n event.stopPropagation();\n });\n })\n .catch((err) => {\n setSignUpError(true);\n setErrorMessage(err.message);\n setPassword('');\n setConfirmPassword('');\n setIsLoading(false);\n });\n }\n\n event.preventDefault();\n event.stopPropagation();\n };\n\n return (\n \n );\n}\n\nexport default SignUpForm;\n","import React, { useEffect, useState } from 'react';\nimport ModalUserIconComponent from './modal-user-icon.component';\nimport { useGlobalStateContext } from 'contexts';\n\nfunction ModalUserIcon(props) {\n const [user, setUser] = useState({});\n const { globalState } = useGlobalStateContext();\n\n useEffect(() => {\n setUser(globalState.user);\n }, [globalState.user]);\n\n return ;\n}\n\nexport default ModalUserIcon;\n","import React from 'react';\nimport styles from './modal-user-management.module.scss';\nimport PropTypes from 'prop-types';\nimport { Modal, Button, Form, Alert } from 'react-bootstrap';\nimport { EntityType } from 'utils/enums/EntityType';\n\nfunction ModalUserManagementComponent(props) {\n const {\n show,\n setShow,\n entityType,\n setEntityType,\n entities,\n setSelectedEntity,\n roles,\n setSelectedRole,\n onSubmit,\n error,\n setError,\n errorMessage,\n } = props;\n\n return (\n setShow(false)}\n animation={false}\n >\n \n
\n

Assign entity

\n
\n
\n \n Entity type\n setEntityType(e.target.value)}\n >\n {Object.keys(EntityType).map((entityType) => (\n \n ))}\n \n \n \n {entityType}\n setSelectedEntity(e.target.value)}\n >\n {entities.map((entity) => (\n \n ))}\n \n \n \n Role\n setSelectedRole(e.target.value)}\n >\n {roles.map((role) => (\n \n ))}\n \n \n
\n {error && (\n setError(false)} dismissible>\n {errorMessage}\n \n )}\n
\n \n \n \n \n \n );\n}\n\nModalUserManagementComponent.propTypes = {\n show: PropTypes.bool,\n setShow: PropTypes.func,\n entityType: PropTypes.string,\n setEntityType: PropTypes.func,\n entities: PropTypes.array,\n setSelectedEntity: PropTypes.func,\n roles: PropTypes.array,\n setSelectedRole: PropTypes.func,\n onSubmit: PropTypes.func,\n error: PropTypes.bool,\n setError: PropTypes.func,\n errorMessage: PropTypes.string,\n};\n\nexport default ModalUserManagementComponent;\n","import React, { useState, useEffect } from 'react';\nimport ModalUserManagementComponent from './modal-user-management.component';\nimport { EntityType } from 'utils/enums/EntityType';\nimport { BusinessService, ClientService, MerchantService, RoleService, EntitiesService } from 'services';\nimport PropTypes from 'prop-types';\nimport { Roles } from 'utils/enums/Roles';\n\nfunction ModalUserManagement(props) {\n const { setShow, selectedUser, loadUsersAfterOperation } = props;\n const [entities, setEntities] = useState([]);\n const [selectedEntity, setSelectedEntity] = useState();\n const [roles, setRoles] = useState([]);\n const [selectedRole, setSelectedRole] = useState();\n const [error, setError] = useState(false);\n const [errorMessage, setErrorMessage] = useState('');\n\n const [entityType, setEntityType] = useState('Business');\n useEffect(() => {\n switch (entityType) {\n case EntityType.BUSINESS:\n getBusinesses();\n break;\n case EntityType.CLIENT:\n getClients();\n break;\n case EntityType.MERCHANT:\n getMerchants();\n break;\n default:\n setEntities([]);\n }\n\n async function getBusinesses() {\n const businesses = await BusinessService.getBusinesses();\n if (businesses.data.length > 0) {\n setEntities(businesses.data);\n setSelectedEntity(businesses.data[0].id);\n } else {\n setEntities([]);\n }\n }\n\n async function getClients() {\n const clients = await ClientService.getClients();\n if (clients.data.length > 0) {\n setEntities(clients.data);\n setSelectedEntity(clients.data[0].id);\n } else {\n setEntities([]);\n }\n }\n\n async function getMerchants() {\n const merchants = await MerchantService.getMerchants();\n if (merchants.data.length > 0) {\n setEntities(merchants.data);\n setSelectedEntity(merchants.data[0].id);\n } else {\n setEntities([]);\n }\n }\n }, [entityType]);\n\n useEffect(() => {\n async function getRoles() {\n const roles = await RoleService.getRoles();\n setRoles(roles.data.filter((role) => role.name !== Roles.Owner));\n setSelectedRole(roles.data[0].id);\n }\n getRoles();\n }, []);\n\n const onAssign = () => {\n var businessId = null;\n var clientId = null;\n var merchantId = null;\n switch (entityType) {\n case EntityType.BUSINESS:\n businessId = selectedEntity;\n break;\n case EntityType.CLIENT:\n clientId = selectedEntity;\n break;\n case EntityType.MERCHANT:\n merchantId = selectedEntity;\n break;\n default:\n setEntities([]);\n }\n EntitiesService.assignEntityAndRoleToUser({\n userId: selectedUser.id,\n businessId,\n clientId,\n merchantId,\n roleId: selectedRole,\n }).then((response) => {\n if (response.isSuccesfully) {\n setShow(false);\n loadUsersAfterOperation();\n } else {\n setError(true);\n if (response.data.error) {\n setErrorMessage(response.data.error);\n } else {\n setErrorMessage('An error occurred. Please try again!');\n }\n }\n });\n };\n\n return (\n \n );\n}\n\nModalUserManagement.propTypes = {\n setShow: PropTypes.func,\n selectedUser: PropTypes.object,\n loadUsersAfterOperation: PropTypes.func,\n};\n\nexport default ModalUserManagement;\n","import React from 'react';\nimport styles from './table-project.module.scss';\nimport PropTypes from 'prop-types';\nimport { Table, Spinner } from 'react-bootstrap';\n\nfunction TableProjectComponent(props) {\n const { dataList, columns, indexColumn, classesForRow, size, variant, loading } = props;\n\n return (\n \n {loading ? (\n
\n \n
\n ) : (\n \n \n \n {indexColumn && }\n {columns.map((column, index) => (\n \n ))}\n \n \n \n {dataList.map((row, index) => (\n \n {indexColumn && }\n {row}\n \n ))}\n \n
#{column}
{index + 1}
\n )}\n
\n );\n}\n\nTableProjectComponent.propTypes = {\n columns: PropTypes.array.isRequired, // columns for the table\n dataList: PropTypes.array.isRequired, // every column for every row and column by type array of arrays\n // dataList = [[row1column1, row1column2], [row2column1], [row2column2]]\n indexColumn: PropTypes.bool, // if true, first column will be a column with index of the row\n classesForRow: PropTypes.string, // classes that will be applied for every row\n size: PropTypes.string,\n variant: PropTypes.string,\n loading: PropTypes.bool,\n};\n\nexport default TableProjectComponent;\n","import React from 'react';\nimport TableProjectComponent from './table-project.component';\n\nfunction TableProject(props) {\n return ;\n}\n\nexport default TableProject;\n","import React from 'react';\nimport { Form, Button, Spinner, Row, Col, Alert, Modal } from 'react-bootstrap';\nimport PropTypes from 'prop-types';\nimport styles from './search-user-form.module.scss';\n\nfunction SearchUserFormComponent(props) {\n const {\n show,\n setShow,\n isLoading,\n email,\n setEmail,\n formSubmit,\n user,\n assignClick,\n error,\n errorMessage,\n success,\n isLoadingSubmit,\n inviteFlow,\n roles,\n selectedRole,\n setSelectedRole,\n existsRelationship,\n setExistsRelationship,\n isDisabledChangeRoleButton\n } = props;\n\n return (\n setShow(false)}>\n Assign a user to business\n \n
\n \n setEmail(event.target.value)}\n type=\"email\"\n placeholder=\"Enter Email\"\n />\n \n {isLoading && (\n
\n \n
\n )}\n
\n \n
\n {inviteFlow && (\n \n \n User does not exist. \n \n \n )}\n {user && (\n \n \n \n {user.firstName} {user.lastName}\n \n \n {user.email}\n \n Role: \n setSelectedRole(e.target.value)}\n >\n {roles.map((role) => (\n \n ))}\n \n \n \n {existsRelationship ? (\n setExistsRelationship(false)}\n disabled={isDisabledChangeRoleButton}\n className={styles.selectBtn}\n >\n Change role\n \n ) : (\n assignClick(user.id)}\n className={styles.selectBtn}\n >\n Assign\n \n )}\n {isLoadingSubmit && (\n
\n \n
\n )}\n \n
\n )}\n {error && (\n \n \n {errorMessage}\n \n \n )}\n {success && (\n \n \n Operation completed successfully\n \n \n )}\n
\n
\n
\n );\n}\n\nSearchUserFormComponent.propTypes = {\n show: PropTypes.bool,\n setShow: PropTypes.string,\n isLoading: PropTypes.bool,\n email: PropTypes.string,\n setEmail: PropTypes.func,\n formSubmit: PropTypes.func,\n user: PropTypes.object,\n assignClick: PropTypes.func,\n error: PropTypes.bool,\n errorMessage: PropTypes.string,\n success: PropTypes.bool,\n isLoadingSubmit: PropTypes.bool,\n inviteFlow: PropTypes.bool,\n roles: PropTypes.array,\n selectedRole: PropTypes.string,\n setSelectedRole: PropTypes.func,\n existsRelationship: PropTypes.bool,\n setExistsRelationship: PropTypes.func,\n isDisabledChangeRoleButton: PropTypes.func\n};\n\nexport default SearchUserFormComponent;\n","import React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport SearchUserFormComponent from './search-user-form.component';\nimport { UserService, RoleService, RelationshipService, EntitiesService } from 'services';\nimport { Roles } from 'utils/enums/Roles';\n\nfunction SearchUserForm(props) {\n const [isLoading, setIsLoading] = useState(false);\n const [isLoadingSubmit, setIsLoadingSubmit] = useState(false);\n const [email, setEmail] = useState('');\n const [user, setUser] = useState(null);\n const [error, setError] = useState(false);\n const [errorMessage, setErrorMessage] = useState('');\n const [success, setSuccess] = useState(false);\n const [inviteFlow, setInviteFlow] = useState(false);\n const [roles, setRoles] = useState([]);\n const [selectedRole, setSelectedRole] = useState();\n const [existsRelationship, setExistsRelationship] = useState();\n const [isDisabledChangeRoleButton, setIsDisabledChangeRoleButton] = useState(false);\n\n useEffect(() => {\n async function getRoles() {\n const roles = await RoleService.getRoles();\n setRoles(roles.data.filter((role) => role.name !== Roles.Owner));\n setSelectedRole(roles.data[0].id);\n }\n getRoles();\n }, []);\n\n const onSubmit = (event) => {\n setIsLoading(true);\n setUser(null);\n setSuccess(false);\n setError(false);\n setInviteFlow(false);\n\n UserService.getUserByEmail(email).then((result) => {\n if (result.isSuccessfully) {\n if (result.user) {\n RelationshipService.getRoleFromRelationship({\n userId: result.user.id,\n businessId: props.businessId,\n clientId: props.clientId,\n merchantId: props.merchantId\n }).then((response) => {\n if (response.isSuccesfully) {\n setExistsRelationship(true);\n setSelectedRole(response.data.role.id);\n if (response.data.role.name === Roles.Owner) {\n setIsDisabledChangeRoleButton(true);\n if (!roles.includes(response.data.role)) {\n roles.push(response.data.role);\n }\n } else {\n setIsDisabledChangeRoleButton(false);\n setRoles(roles.filter((role) => role.name !== Roles.Owner));\n }\n } else {\n setExistsRelationship(false);\n setRoles(roles.filter((role) => role.name !== Roles.Owner));\n }\n setUser(result.user);\n setIsLoading(false);\n });\n } else {\n setInviteFlow(true);\n setIsLoading(false);\n }\n } else {\n setError(true);\n setIsLoading(false);\n\n const message = result.errorMessage ? result.errorMessage : 'An error has occurred';\n setErrorMessage(message);\n }\n });\n\n event.preventDefault();\n event.stopPropagation();\n };\n\n const assignClick = (userId) => {\n setSuccess(false);\n setError(false);\n setIsLoadingSubmit(true);\n EntitiesService.assignEntityAndRoleToUser({\n userId,\n businessId: props.businessId,\n clientId: props.clientId,\n merchantId: props.merchantId,\n roleId: selectedRole\n }).then((result) => {\n if (result.isSuccesfully) {\n setSuccess(true);\n setIsLoadingSubmit(false);\n } else {\n setIsLoadingSubmit(false);\n setError(true);\n const message = result.data.error ? result.data.error : 'An error occurred';\n setErrorMessage(message);\n }\n });\n };\n\n return (\n \n );\n}\n\nSearchUserForm.propTypes = {\n handleUserSelect: PropTypes.func,\n businessId: PropTypes.string,\n clientId: PropTypes.string,\n merchantId: PropTypes.string\n};\n\nexport default SearchUserForm;\n","import React from 'react';\nimport { Modal, Form, Row, Col, Button, Spinner, Alert } from 'react-bootstrap';\nimport styles from './create-user-form.module.scss';\nimport PropTypes from 'prop-types';\n\nfunction CreateUserFormComponent(props) {\n const {\n show,\n setShow,\n firstName,\n setFirstName,\n lastName,\n setLastName,\n email,\n setEmail,\n onSubmit,\n successfully,\n error,\n errorMessage,\n loading\n } = props;\n\n return (\n setShow(false)}>\n Create user\n \n
\n \n \n \n First name\n setFirstName(event.target.value)}\n minLength=\"1\"\n required\n placeholder=\"First name\"\n />\n \n \n \n \n Last name\n setLastName(event.target.value)}\n minLength=\"1\"\n required\n placeholder=\"Last name\"\n />\n \n \n \n \n Email address\n setEmail(event.target.value)}\n required\n type=\"email\"\n placeholder=\"Email\"\n />\n \n \n {loading && (\n
\n \n
\n )}\n {error && (\n
\n {errorMessage}\n
\n )}\n {successfully && (\n
\n User has been created successfully\n
\n )}\n
\n
\n
\n );\n}\n\nCreateUserFormComponent.propTypes = {\n show: PropTypes.bool,\n setShow: PropTypes.func,\n firstName: PropTypes.string,\n setFirstName: PropTypes.func,\n lastName: PropTypes.string,\n setLastName: PropTypes.func,\n email: PropTypes.string,\n setEmail: PropTypes.func,\n onSubmit: PropTypes.func,\n successfully: PropTypes.bool,\n error: PropTypes.bool,\n errorMessage: PropTypes.string,\n loading: PropTypes.bool\n};\n\nexport default CreateUserFormComponent;\n","import React, { useState } from 'react';\nimport CreateUserFormComponent from './create-user-form.component';\nimport { UserService } from 'services';\n\nfunction CreateUserForm(props) {\n const [firstName, setFirstName] = useState('');\n const [lastName, setLastName] = useState('');\n const [email, setEmail] = useState();\n const [error, setError] = useState(false);\n const [errorMessage, setErrorMessage] = useState('');\n const [successfully, setSuccessfully] = useState(false);\n const [loading, setLoading] = useState(false);\n\n const onSubmit = (event) => {\n setSuccessfully(false);\n setError(false);\n setLoading(true);\n UserService.createUser({\n firstName: firstName,\n lastName: lastName,\n email: email\n }).then((result) => {\n if (!result.isSuccesfully) {\n setError(true);\n const errorMessage = result.data.error ?? 'An error has occurred.';\n setErrorMessage(errorMessage);\n setLoading(false);\n } else {\n props.setShow(false);\n props.loadUsersAfterOperation();\n setSuccessfully(true);\n setLoading(false);\n }\n });\n\n event.preventDefault();\n event.stopPropagation();\n };\n\n return (\n \n );\n}\n\nexport default CreateUserForm;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Modal, Button } from 'react-bootstrap';\nimport styles from './modal-confirmation.module.scss';\n\nfunction ModalConfirmationComponent(props) {\n const { show, setShow, onSubmit, children } = props;\n\n return (\n setShow(false)}\n animation={true}\n >\n \n

Confirmation

\n
\n \n
\n

{children}

\n
\n
\n \n \n {\n setShow(false);\n onSubmit();\n }}\n >\n Yes\n \n \n \n );\n}\n\nModalConfirmationComponent.propTypes = {\n show: PropTypes.bool,\n setShow: PropTypes.func,\n onSubmit: PropTypes.func,\n children: PropTypes.string\n};\n\nexport default ModalConfirmationComponent;\n","import React from 'react';\nimport ModalConfirmationComponent from './modal-confirmation.component';\n\nfunction ModalConfirmation(props) {\n return ;\n}\n\nexport default ModalConfirmation;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Modal, Alert } from 'react-bootstrap';\nimport { Form, Button, CloseButton } from 'react-bootstrap';\nimport styles from './modal-business-creation.module.scss';\n\nfunction ModalBusinessCreationComponent(props) {\n return (\n {\n props.hideModal(false);\n props.setServerMessage(null);\n }}\n centered={true}\n >\n \n Create business \n props.hideModal(false)} />\n \n
\n \n \n Business name:\n \n {props.validationMessage.message}\n \n \n \n {props.serverMessage && !props.isLoading && (\n props.setServerMessage(null)}\n dismissible\n >\n {props.serverMessage ? props.serverMessage : ''}.\n \n )}\n {!props.isLoading ? (\n \n ) : (\n \n )}\n \n
\n \n );\n}\n\nModalBusinessCreationComponent.propTypes = {\n showModal: PropTypes.bool,\n hideModal: PropTypes.func,\n businessName: PropTypes.string,\n setBusinessName: PropTypes.func,\n validationMessage: PropTypes.object,\n createBusiness: PropTypes.func,\n isLoading: PropTypes.bool,\n userHasBusiness: PropTypes.bool,\n setUserHasBusiness: PropTypes.func,\n checkBusinessName: PropTypes.func,\n serverMessage: PropTypes.object,\n setServerMessage: PropTypes.func,\n};\n\nexport default ModalBusinessCreationComponent;\n","import React, { useState } from 'react';\nimport ModalBusinessComponent from './modal-business-creation.component';\nimport { validateBusinessName } from 'validators';\nimport { ValidationMessage } from 'models';\nimport { BusinessService } from 'services';\n\nfunction ModalBusinessCreation(props) {\n const initialValidationMessage = new ValidationMessage();\n\n const [businessNameState, setBusinessNameState] = useState('');\n const [validationMessage, setValidationMessage] = useState(initialValidationMessage);\n const [isLoading, setIsLoading] = useState(false);\n const [userHasBusiness, setUserHasBusiness] = useState(false);\n const [serverMessage, setServerMessage] = useState(null);\n\n const setBusinessName = (event) => {\n const validationResult = validateBusinessName(event.target.value);\n setValidationMessage(validationResult);\n setBusinessNameState(event.target.value);\n };\n const createBusiness = (event) => {\n setIsLoading(true);\n BusinessService.createBusiness({ name: businessNameState.trim() }).then((responseCreateBusiness) => {\n if (responseCreateBusiness.isSuccesfully) {\n props.onActionDone();\n props.hideModal();\n setIsLoading(false);\n setBusinessNameState('');\n } else {\n if (responseCreateBusiness.data.error) {\n setUserHasBusiness(true);\n setServerMessage(responseCreateBusiness.data.error);\n setIsLoading(false);\n }\n }\n });\n\n event.preventDefault();\n event.stopPropagation();\n };\n\n return (\n \n );\n}\n\nexport default ModalBusinessCreation;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Modal } from 'react-bootstrap';\nimport { Form, Button, CloseButton } from 'react-bootstrap';\nimport styles from './modal-client-creation.module.scss';\n\nfunction ModalClientCreationComponent(props) {\n return (\n props.hideModal(false)} centered={true}>\n \n Create client \n props.hideModal(false)} />\n \n
\n \n \n Client name:\n \n {props.validationMessage.message}\n \n \n \n {!props.isLoading ? (\n \n ) : (\n \n )}\n \n
\n
\n );\n}\n\nModalClientCreationComponent.propTypes = {\n showModal: PropTypes.bool,\n hideModal: PropTypes.func,\n clientName: PropTypes.string,\n setClientName: PropTypes.func,\n validationMessage: PropTypes.object,\n createClient: PropTypes.func,\n isLoading: PropTypes.bool,\n validateClientNameIsUnique: PropTypes.func,\n};\n\nexport default ModalClientCreationComponent;\n","import React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport ModalClientComponent from './modal-client-creation.component';\nimport { validateClientName, validateClientNameUniqueness } from 'validators';\nimport { ValidationMessage } from 'models';\nimport { ClientService } from 'services';\n\nfunction ModalClientCreation(props) {\n const initialValidationMessage = new ValidationMessage();\n\n const [clientNameState, setClientNameState] = useState('');\n const [validationMessage, setValidationMessage] = useState(initialValidationMessage);\n const [isLoading, setIsLoading] = useState(false);\n\n const setClientName = (event) => {\n const validationResult = validateClientName(event.target.value);\n setValidationMessage(validationResult);\n setClientNameState(event.target.value);\n };\n\n const validateClientNameIsUnique = async (event) => {\n const validationResult = await validateClientNameUniqueness(props.businessId, event.target.value);\n\n setValidationMessage(validationResult);\n };\n\n const createClient = async () => {\n setIsLoading(true);\n ClientService.createClient(props.businessId, { name: clientNameState.trim() }).then((createClientResponse) => {\n if (createClientResponse.isSuccesfully) {\n props.hideModal();\n setIsLoading(false);\n props.setUpdateWorkItems((state) => !state);\n } else {\n if (createClientResponse.data.error) {\n const validationMessage = new ValidationMessage(createClientResponse.data.error, false);\n setValidationMessage(validationMessage);\n setIsLoading(false);\n }\n }\n });\n };\n\n return (\n \n );\n}\n\nModalClientCreation.propTypes = {\n showModal: PropTypes.bool,\n hideModal: PropTypes.func,\n onActionDone: PropTypes.func,\n businessId: PropTypes.any,\n setUpdateWorkItems: PropTypes.func\n};\n\nexport default ModalClientCreation;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Modal } from 'react-bootstrap';\nimport { Form, Button, CloseButton } from 'react-bootstrap';\nimport styles from './modal-merchant-creation.module.scss';\n\nfunction ModalMerchantCreationComponent(props) {\n return (\n props.hideModal(false)} centered={true}>\n \n Create merchant \n props.hideModal(false)} />\n \n
\n \n \n Merchant name:\n \n {props.validationMessage.message}\n \n \n \n {!props.isLoading ? (\n \n Submit\n \n ) : (\n \n )}\n \n
\n
\n );\n}\n\nModalMerchantCreationComponent.propTypes = {\n showModal: PropTypes.bool,\n hideModal: PropTypes.func,\n merchantName: PropTypes.string,\n setMerchantName: PropTypes.func,\n validationMessage: PropTypes.object,\n createMerchant: PropTypes.func,\n isLoading: PropTypes.bool,\n validateMerchantNameIsUnique: PropTypes.func,\n};\n\nexport default ModalMerchantCreationComponent;\n","import React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport ModalMerchantComponent from './modal-merchant-creation.component';\nimport { validateMerchantName, validateMerchantNameUniqueness } from 'validators';\nimport { ValidationMessage } from 'models';\nimport { MerchantService } from 'services';\n\nfunction ModalMerchantCreation(props) {\n const initialValidationMessage = new ValidationMessage();\n\n const [merchantNameState, setMerchantNameState] = useState('');\n const [validationMessage, setValidationMessage] = useState(initialValidationMessage);\n const [isLoading, setIsLoading] = useState(false);\n\n const setMerchantName = (event) => {\n const validationResult = validateMerchantName(event.target.value);\n setValidationMessage(validationResult);\n setMerchantNameState(event.target.value);\n };\n\n const validateMerchantNameIsUnique = async (event) => {\n const validationResult = await validateMerchantNameUniqueness(\n props.businessId,\n props.clientId,\n event.target.value\n );\n setValidationMessage(validationResult);\n };\n\n const createMerchant = async () => {\n setIsLoading(true);\n MerchantService.createMerchant(props.businessId, props.clientId, { name: merchantNameState.trim() }).then(\n (createMerchantResponse) => {\n if (createMerchantResponse.isSuccesfully) {\n props.hideModal();\n setIsLoading(false);\n props.setUpdateWorkItems((state) => !state);\n } else {\n if (createMerchantResponse.data.error) {\n const validationMessage = new ValidationMessage(createMerchantResponse.data.error, false);\n setValidationMessage(validationMessage);\n setIsLoading(false);\n }\n }\n }\n );\n };\n\n return (\n \n );\n}\n\nModalMerchantCreation.propTypes = {\n showModal: PropTypes.bool,\n hideModal: PropTypes.func,\n onActionDone: PropTypes.func,\n businessId: PropTypes.any,\n clientId: PropTypes.any,\n setUpdateWorkItems: PropTypes.func\n};\n\nexport default ModalMerchantCreation;\n","import React from 'react';\nimport AuthWithSocialMediaComponent from './auth-with-social-media.component';\nimport { Auth } from 'aws-amplify';\nimport { useGlobalStateContext } from 'contexts';\n\nfunction AuthWithSocialMedia(props) {\n const { isT2SUser, thirdPartyResellerUrlParameter } = props;\n const { globalState } = useGlobalStateContext();\n\n const customState = isT2SUser\n ? `${globalState.reseller?.portalURL}&&&${thirdPartyResellerUrlParameter}`\n : globalState.reseller?.portalURL;\n\n const googleSignUp = () => {\n Auth.federatedSignIn({ provider: 'Google', customState: customState });\n };\n const facebookSignUp = () => {\n Auth.federatedSignIn({ provider: 'Facebook', customState: customState });\n };\n return ;\n}\n\nexport default AuthWithSocialMedia;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport styles from './modal-create-merchant-account.module.scss';\nimport {\n Dialog,\n DialogTitle,\n DialogContent,\n DialogContentText,\n DialogActions,\n Button,\n TextField,\n NativeSelect,\n Input\n} from '@material-ui/core';\n\nimport Alert from '@material-ui/lab/Alert';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { FormItem, Label } from 'components/onboarding/onboarding-ui-components';\nimport LoadingScreen from 'components/loading-screen/loading-screen.container';\nimport { ResellerType } from 'utils/enums/ResellerType';\n\nfunction ModalCreateMerchantAccountComponent(props) {\n const {\n setOpen,\n onCreateMerchant,\n name,\n setName,\n error,\n country,\n isAdmin,\n setCountry,\n globalState,\n loading,\n disabled,\n isT2SInvitedUser,\n isDatManReseller,\n updateMerchantData,\n onUpdateMerchantName,\n merchantNameRef\n } = props;\n\n return (\n setOpen(false)}\n aria-labelledby=\"draggable-dialog-title\"\n disableBackdropClick={isT2SInvitedUser || isDatManReseller}\n disableEscapeKeyDown={isT2SInvitedUser || isDatManReseller}\n >\n \n {updateMerchantData ? 'Update merchant' : 'Create new merchant'}\n \n \n \n setName(e.target.value)}\n onKeyPress={(event) => {\n if (event.key === 'Enter' && name?.trim().length >= 3) onCreateMerchant();\n }}\n value={name}\n />\n {globalState.reseller?.name !== ResellerType.OMNIPAY && (!updateMerchantData || isAdmin) && (\n \n \n setCountry(e.target.value)}\n >\n }\n >\n {Object.keys(MerchantCountries).map((key) => (\n \n ))}\n \n \n )}\n \n {error && {error}}\n \n \n {!isT2SInvitedUser && (\n setOpen(false)}\n color=\"primary\"\n className={styles.cancelBtn}\n >\n Cancel\n \n )}\n (updateMerchantData ? onUpdateMerchantName() : onCreateMerchant())}\n color=\"primary\"\n className={styles.nextButton}\n >\n {updateMerchantData ? 'Update' : 'Next'}\n \n \n \n \n );\n}\n\nModalCreateMerchantAccountComponent.propTypes = {\n setOpen: PropTypes.func,\n onCreateMerchant: PropTypes.func,\n name: PropTypes.string,\n setName: PropTypes.func,\n error: PropTypes.string,\n country: PropTypes.string,\n setCountry: PropTypes.func,\n globalState: PropTypes.object,\n loading: PropTypes.bool,\n disabled: PropTypes.bool,\n isT2SInvitedUser: PropTypes.bool\n};\n\nexport default ModalCreateMerchantAccountComponent;\n","import React, { useState, useEffect, useRef } from 'react';\nimport PropTypes from 'prop-types';\nimport ModalCreateMerchantAccountComponent from './modal-create-merchant-account.component';\nimport { NonResellerMerchantService, AuthService } from 'services';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { validateMerchantName } from 'validators';\nimport { useGlobalStateContext, useMerchantCreationContext } from 'contexts';\nimport { getT2SReferralLinkPayload } from 'utils/getT2SReferralLinkPayload';\nimport AuthHelper from 'utils/authHelper';\nimport { ResellerType } from 'utils/enums/ResellerType';\nimport { UserType } from 'utils/enums/UserType';\nfunction ModalCreateMerchantAccount(props) {\n const { globalState, setRoute, setGlobalState } = useGlobalStateContext();\n const { setMerchantCreationState } = useMerchantCreationContext();\n const [name, setName] = useState('');\n const [country, setCountry] = useState(MerchantCountries.UNITED_KINGDOM);\n const [error, setError] = useState(null);\n const [loading, setLoading] = useState(false);\n const [disabled, setDisabled] = useState(false);\n const [isT2SInvitedUser, setIsT2SInvitedUser] = useState(false);\n const isDatManReseller = globalState.reseller?.name === ResellerType.DATMAN;\n const { setUpdateMerchantData, updateMerchantData, setOpen } = props;\n const merchantNameRef = useRef(null);\n const isAdmin =\n globalState.user?.UserType?.name === UserType.Admin || globalState.user?.UserType?.name === UserType.SuperAdmin;\n const supportedCountries = Object.values(MerchantCountries);\n\n useEffect(() => {\n if (!updateMerchantData) {\n if (props.thirdPartyCustomerKey) {\n const referralData = getT2SReferralLinkPayload(props.thirdPartyCustomerKey, { globalState, setRoute });\n if (supportedCountries.includes(referralData?.BusinessAddressCountry)) {\n setCountry(referralData.BusinessAddressCountry);\n }\n setName(referralData.TradingName?.toString() || '');\n setIsT2SInvitedUser(true);\n }\n }\n // eslint-disable-next-line\n }, [props.thirdPartyCustomerKey]);\n\n useEffect(() => {\n if (updateMerchantData) {\n setName(globalState.merchant.name);\n setCountry(globalState.merchant.country);\n }\n setTimeout(() => {\n if (merchantNameRef && merchantNameRef.current) {\n merchantNameRef.current.focus();\n }\n }, 500);\n\n // eslint-disable-next-line\n }, []);\n\n const onCreateMerchant = async () => {\n setLoading(true);\n setDisabled(true);\n const validationResult = validateMerchantName(name);\n\n if (validationResult.isValid) {\n const response = await NonResellerMerchantService.createUserMerchant({\n name: name.trim(),\n country: country,\n resellerId: globalState.reseller?.id,\n thirdPartyCustomerId: props.thirdPartyCustomerKey\n ? getT2SReferralLinkPayload(props.thirdPartyCustomerKey, {\n globalState,\n setRoute,\n noRedirect: true\n }).i\n : null,\n host: props.thirdPartyCustomerKey\n ? getT2SReferralLinkPayload(props.thirdPartyCustomerKey, {\n globalState,\n setRoute,\n noRedirect: true\n }).f\n : null,\n refferalDataValue: props.thirdPartyCustomerKey\n });\n if (response.isSuccesfully) {\n const newTokenReponse = await AuthService.requestNewToken();\n await AuthHelper.refreshCurrentSession();\n if (newTokenReponse.isSuccesfully) {\n props.setOpen(false);\n props.setOpenMerchantList(false);\n await props.loadMerchants(true);\n setError(null);\n props.setSuccess(true);\n setMerchantCreationState((state) => ({ ...state, showMerchantCreationMessage: true }));\n setRoute('/home');\n } else {\n setError(newTokenReponse.data ? newTokenReponse.data : 'New merchant not added in public claims.');\n props.setSuccess(false);\n }\n } else {\n setError('An error occurred. Please contact support or try again.');\n props.setSuccess(false);\n }\n } else {\n setError(validationResult.message);\n props.setSuccess(false);\n }\n setLoading(false);\n setDisabled(false);\n setRoute('/onboarding');\n };\n\n const onUpdateMerchantName = async () => {\n const merchantName = globalState.merchant.name;\n const merchantCountry = globalState.merchantCountry;\n if (merchantName !== name || merchantCountry !== country) {\n setLoading(true);\n setDisabled(true);\n const validationResult = validateMerchantName(name);\n const merchantId = globalState.merchant?.id;\n const data = {\n name: name.trim(),\n country: country\n };\n if (validationResult.isValid) {\n const response = await NonResellerMerchantService.updateMerchantInfo(merchantId, data);\n if (response.isSuccesfully) {\n const merchant = {\n ...globalState.merchant,\n country: response.data.country,\n name: response.data.name\n };\n localStorage.setItem('merchant', merchant);\n setGlobalState({ ...globalState, merchant: merchant, areLoadedMerchants: true });\n await props.loadMerchants(false, merchantId);\n setError(null);\n props.setSuccess(true);\n setUpdateMerchantData(false);\n } else {\n setError('An error occurred. Please contact support or try again.');\n props.setSuccess(false);\n setUpdateMerchantData(false);\n }\n setOpen(false);\n }\n setDisabled(false);\n setLoading(false);\n setOpen(false);\n setUpdateMerchantData(false);\n }\n };\n\n return (\n \n );\n}\n\nModalCreateMerchantAccount.propTypes = {\n setOpen: PropTypes.func,\n selectMerchant: PropTypes.func,\n setOpenMerchantList: PropTypes.func,\n loadMerchants: PropTypes.func,\n setSuccess: PropTypes.func,\n name: PropTypes.string,\n thirdPartyCustomerKey: PropTypes.string\n};\n\nexport default ModalCreateMerchantAccount;\n","import React from 'react';\nimport { List, ListItem, Collapse } from '@material-ui/core';\nimport { StoreMallDirectoryTwoTone, ExpandLess, ExpandMore, Edit } from '@material-ui/icons';\nimport PropTypes from 'prop-types';\nimport style from './merchant-list-container.module.scss';\nimport AddIcon from '@material-ui/icons/Add';\nimport ModalCreateMerchantAccount from 'components/modal-create-merchant-account/modal-create-merchant-account.container';\nimport { ModalMerchantTermsAndConditions } from 'components';\nimport { useGlobalStateContext, useBalanceContext } from 'contexts';\nimport { ResellerType } from 'utils/enums/ResellerType';\nfunction MerchantListComponent(props) {\n const { globalState } = useGlobalStateContext();\n const { refreshBalance } = useBalanceContext();\n\n const {\n openUpdateMerchantDataModal,\n setUpdateMerchantData,\n updateMerchantData,\n needToSignTermsAndCondition,\n setNeedToSignTermsAndCondition\n } = props;\n\n const ListItems = () => {\n return (\n \n {props.merchants != null ? (\n props.merchants.map((merchant) => {\n if (merchant.id === props.selectedMerchant?.id) return null;\n return (\n {\n props.handleClick();\n props.selectMerchant(merchant);\n refreshBalance();\n }}\n >\n {props.isAdminUserType ? (\n
{merchant.nameWithAddress}
\n ) : (\n
{merchant.name}
\n )}\n \n );\n })\n ) : (\n
\n )}\n
\n );\n };\n\n return (\n \n \n \n {!props.open && props.loading ? (\n
Loading...
\n ) : (\n
\n
\n \n {props.isAdminUserType\n ? props.selectedMerchant?.nameWithAddress\n : props.selectedMerchant?.name}\n \n\n {!props.isAdminUserType && props.merchants.length >= 0 && (\n \n {props.open ? : }\n \n )}\n
\n\n
\n \n {props.isAdminUserType && (\n \n )}\n \n
\n
\n )}\n
\n\n {props.merchants.length > 1 && !props.isAdminUserType && (\n \n \n {!props.isAdminUserType && globalState.reseller?.name === ResellerType.OMNIPAY && (\n {\n props.setIsOpenCreateModal(true);\n }}\n >\n
\n Create New Merchant\n
\n \n )}\n {props.open && props.loading && props.merchants?.length > 1 ? (\n \n \n
Loading...
\n
\n ) : (\n \n )}\n
\n
\n )}\n
\n {props.isOpenCreateModal && (\n \n )}\n \n
\n );\n}\n\nMerchantListComponent.propTypes = {\n merchants: PropTypes.array,\n setSelectedMerchant: PropTypes.func,\n selectMerchant: PropTypes.func,\n selectedMerchant: PropTypes.object,\n isOpenCreateModal: PropTypes.bool,\n setIsOpenCreateModal: PropTypes.func,\n loadMerchants: PropTypes.func,\n isAdminUserType: PropTypes.bool,\n onSearchMerchants: PropTypes.func,\n open: PropTypes.bool,\n setOpen: PropTypes.func,\n handleClick: PropTypes.func,\n loading: PropTypes.bool,\n success: PropTypes.bool,\n setSuccess: PropTypes.func,\n countMerchants: PropTypes.number,\n thirdPartyCustomerKey: PropTypes.string,\n wrapperRef: PropTypes.any\n};\n\nexport default MerchantListComponent;\n","import React, { useEffect, useState, useCallback, useRef } from 'react';\nimport MerchantListContainerComponent from './merchant-list-container.component';\nimport { NonResellerMerchantService, DocumentsService, PaymentsService } from 'services';\nimport { useBalanceContext, useGlobalStateContext } from 'contexts';\nimport { UserType } from 'utils/enums/UserType';\nimport { useLocation } from 'react-router-dom';\nimport qs from 'query-string';\nimport _, { debounce } from 'lodash';\nimport { getFormattedDocumentsStatsForMerchant } from 'utils/helper';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport moment from 'moment';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\n\nfunction MerchantListContainer(props) {\n const { globalState, setGlobalState, setRoute } = useGlobalStateContext();\n const { refreshBalance } = useBalanceContext();\n const [open, setOpen] = useState(false);\n const [searchedMerchantList, setSearchedMerchantList] = useState([]);\n const [selectedMerchant, setSelectedMerchant] = useState(null);\n const [isOpenCreateModal, setIsOpenCreateModal] = useState(false);\n const [loading, setLoading] = useState(false);\n const [success, setSuccess] = useState(false);\n const [thirdPartyCustomerKey, setThirdPartyCustomerKey] = useState(null);\n const [updateMerchantData, setUpdateMerchantData] = useState(false);\n const [needToSignTermsAndCondition, setNeedToSignTermsAndCondition] = useState(false);\n const [inCompleteOnboardingMerchants, setInCompleteOnboardingMerchants] = useState([]);\n const isMerchantUserType = globalState.user?.UserType?.name === UserType.Merchant;\n const isAdminUserType =\n globalState.user?.UserType?.name === UserType.Admin || globalState.user?.UserType?.name === UserType.SuperAdmin;\n const location = useLocation();\n const wrapperRef = useRef(null);\n const skip_clicked = localStorage.getItem('skip_clicked');\n\n const getMerchants = async (isNewCreated, forcedMerchantId) => {\n setLoading(true);\n var merchants;\n var referralDataString;\n let inCompleteOnboardingMerchants;\n\n if (isMerchantUserType) {\n const response = await NonResellerMerchantService.getUserMerchants(globalState.reseller?.id);\n if (response !== null && response.isSuccesfully) {\n merchants = response.data.merchantsDto;\n referralDataString = response.data?.referralDataString;\n inCompleteOnboardingMerchants = JSON.parse([response.data?.InCompleteOnboardingMerchants]);\n setInCompleteOnboardingMerchants(inCompleteOnboardingMerchants);\n }\n } else if (isAdminUserType) {\n const response = await NonResellerMerchantService.getAdminMerchants(\n globalState.reseller?.id,\n 'no',\n forcedMerchantId ?? globalState.merchant?.id\n );\n if (response !== null && response.isSuccesfully) {\n merchants = response.data.merchants;\n }\n }\n if (merchants?.length > 0) {\n setSearchedMerchantList(merchants);\n if (isNewCreated) {\n let sortedmerchants = _.sortBy(merchants, ['id']);\n selectMerchant(sortedmerchants[sortedmerchants.length - 1], inCompleteOnboardingMerchants);\n refreshBalance();\n } else {\n if (forcedMerchantId) {\n const merchant = merchants.filter((merch) => {\n return merch.id === forcedMerchantId;\n });\n selectMerchant(merchant[0] ?? null, inCompleteOnboardingMerchants);\n if (merchant[0]) refreshBalance();\n } else {\n const merchantFromGlobalState = globalState.merchant;\n if (merchantFromGlobalState != null) {\n const existMerchantFromList = merchants.find(\n (merchant) => merchant.id === merchantFromGlobalState.id\n );\n if (existMerchantFromList != null) {\n selectMerchant(existMerchantFromList, inCompleteOnboardingMerchants);\n } else {\n selectMerchant(merchants[0], inCompleteOnboardingMerchants);\n }\n } else {\n selectMerchant(merchants[0], inCompleteOnboardingMerchants);\n if (!sessionStorage.getItem('balance')) refreshBalance();\n }\n }\n }\n } else {\n setSearchedMerchantList([]);\n selectMerchant(null);\n setIsOpenCreateModal(true);\n\n // if merchant was not created while sign up using referral link\n if (referralDataString) {\n setThirdPartyCustomerKey(referralDataString.referral_data);\n }\n }\n\n const response = await PaymentsService.GetPaymentProvider();\n if (response.isSuccesfully) {\n setGlobalState((globalState) => ({\n ...globalState,\n merchant: {\n ...globalState.merchant,\n paymentProviders: ['SELECT ALL', ...response.data]\n }\n }));\n }\n\n setLoading(false);\n };\n\n const onGetMerchants = useCallback(debounce(getMerchants, 500), []);\n useEffect(() => {\n const queryString = qs.parse(location.search, { ignoreQueryPrefix: true });\n\n if (queryString.q) {\n setThirdPartyCustomerKey(queryString.q);\n setIsOpenCreateModal(true);\n localStorage.removeItem('thirdPartyResellerUrl');\n }\n\n let forceSelectMerchantId = props?.forcedMerchantIdThroughParam;\n\n if (forceSelectMerchantId) {\n onGetMerchants(false, +forceSelectMerchantId);\n } else {\n onGetMerchants();\n }\n // eslint-disable-next-line\n }, [location.search]);\n\n useEffect(() => {\n if (globalState.shouldLoadMerchants) {\n if (globalState?.shouldLoadThisMerchant) {\n onGetMerchants(false, globalState?.shouldLoadThisMerchant);\n } else {\n onGetMerchants();\n }\n }\n // eslint-disable-next-line\n }, [globalState.shouldLoadMerchants]);\n\n const selectMerchant = (merchant, inCompleteOnboardingMerchants) => {\n let pageUrlNeedsMerchantIdUpdate = window?.location?.href?.includes('/admin-functions/');\n let documentPageUrlMerchantIdUpdate = window?.location?.href?.includes('/document-management/');\n let MissingMerchantDocumentUpdate = window?.location?.href?.includes('/missing-merchant-document/');\n const notSignedTermsAndConditions = merchant ? merchant.noOfNotSignedTermsAndConditions : false;\n const isCreatedByCanonicalReseller = merchant ? ![1, 2].includes(merchant.canonicalResellerId) : false;\n if (notSignedTermsAndConditions && isCreatedByCanonicalReseller && isMerchantUserType) {\n setNeedToSignTermsAndCondition(true);\n }\n if (merchant) {\n if (pageUrlNeedsMerchantIdUpdate) {\n setRoute(`/admin-functions/${merchant?.id}`);\n }\n\n if (documentPageUrlMerchantIdUpdate) {\n setRoute(`/document-management/${merchant?.id}`);\n }\n if (MissingMerchantDocumentUpdate) {\n setRoute(`/missing-merchant-document/${merchant?.id}`);\n }\n\n // session storage to store two different merchant id in their respective tab if more than one tab opened\n sessionStorage.setItem('merchant', JSON.stringify(merchant));\n setGlobalState({ ...globalState, merchant: merchant, areLoadedMerchants: true });\n setSelectedMerchant(merchant);\n const isUkMerchant = merchant?.country === MerchantCountries.UNITED_KINGDOM;\n const isActiveMerchant = merchant?.status === MerchantStatus.ACTIVE;\n\n !skip_clicked &&\n isUkMerchant &&\n isActiveMerchant &&\n inCompleteOnboardingMerchants?.includes(merchant?.id) &&\n initCompletedSteps(merchant);\n } else {\n sessionStorage.removeItem('merchant');\n setGlobalState({ ...globalState, merchant: null, areLoadedMerchants: true });\n setSelectedMerchant(null);\n }\n };\n\n const handleClick = () => {\n setOpen((open) => !open);\n };\n\n useEffect(() => {\n const isUkMerchant = globalState.merchant?.country === MerchantCountries.UNITED_KINGDOM;\n const isActiveMerchant = globalState.merchant?.status === MerchantStatus.ACTIVE;\n if (\n !globalState?.completedOnboarding &&\n isUkMerchant &&\n isActiveMerchant &&\n inCompleteOnboardingMerchants?.includes(globalState.merchant?.id) &&\n skip_clicked\n ) {\n const endTime = moment().format('DD-MM-YYYY hh:mm:ss');\n const startTime = skip_clicked;\n let seconds = moment.utc(moment(endTime, 'HH:mm:ss').diff(moment(startTime, 'HH:mm:ss'))).format('ss');\n if (seconds >= 7200) {\n isUkMerchant &&\n isActiveMerchant &&\n inCompleteOnboardingMerchants?.includes(globalState.merchant?.id) &&\n initCompletedSteps(globalState.merchant);\n localStorage.removeItem('skip_clicked');\n } else {\n let timeOut = 7200000;\n if (seconds !== 'Invalid date') {\n timeOut = timeOut - seconds * 10 ** 3;\n }\n const timeout = setTimeout(() => {\n isUkMerchant &&\n isActiveMerchant &&\n inCompleteOnboardingMerchants?.includes(globalState.merchant?.id) &&\n initCompletedSteps(globalState.merchant, false);\n localStorage.removeItem('skip_clicked');\n }, timeOut);\n return () => clearTimeout(timeout);\n }\n }\n // eslint-disable-next-line\n }, [skip_clicked, inCompleteOnboardingMerchants, globalState.merchant]);\n\n const handleHideDropdown = (event) => {\n if (event.key === 'Escape') {\n setOpen(false);\n }\n };\n\n const handleClickOutside = (event) => {\n if (wrapperRef.current && !wrapperRef.current.contains(event.target)) {\n setOpen(false);\n }\n };\n\n const openUpdateMerchantDataModal = () => {\n setIsOpenCreateModal(true);\n setUpdateMerchantData(true);\n };\n\n useEffect(() => {\n document.addEventListener('keydown', handleHideDropdown, true);\n document.addEventListener('click', handleClickOutside, true);\n return () => {\n document.removeEventListener('keydown', handleHideDropdown, true);\n document.removeEventListener('click', handleClickOutside, true);\n };\n });\n\n const initCompletedSteps = async (merchant, reload = true) => {\n reload && setLoading(true);\n const merchantId = merchant.id;\n const completedStepsResponse = await NonResellerMerchantService.t2sIncompleteOnBoardingFormCheck(merchantId);\n const documentsResponse = await DocumentsService.listObjects('merchant', merchantId);\n reload && setLoading(false);\n\n if (completedStepsResponse.isSuccesfully) {\n const isInComplete = !completedStepsResponse.data?.validOnboardingFrom;\n const inCompleteSteps = completedStepsResponse.data?.inCompleteSteps;\n const noDocumentsPending = getFormattedDocumentsStatsForMerchant({\n merchantBusinessTypeId: globalState.merchant?.businessTypeId,\n merchantCountry: globalState.merchant?.country,\n merchantDocuments: documentsResponse.data\n }).hasAllMandatoryDocsUploaded;\n\n if (isInComplete) {\n setGlobalState((globalState) => ({\n ...globalState,\n merchant: {\n ...globalState.merchant,\n onboardingStep: inCompleteSteps[0]\n }\n }));\n setRoute('/onboarding');\n } else {\n if (!noDocumentsPending) {\n setGlobalState((globalState) => ({\n ...globalState,\n merchant: {\n ...globalState.merchant,\n onboardingStep: 8\n }\n }));\n setRoute('/onboarding');\n }\n }\n }\n };\n\n return (\n \n );\n}\n\nexport default MerchantListContainer;\n","import React, { useState, useEffect, useContext } from 'react';\nimport style from './merchant-dashboard-menu.module.scss';\nimport browserHistory from 'browserHistory';\nimport { AuthService } from 'services';\nimport PropTypes from 'prop-types';\nimport { Collapse, Grid, List, ListItem, Typography, useMediaQuery, Badge } from '@material-ui/core';\nimport {\n ArrowBack,\n ExitToApp,\n HelpOutline,\n HowToRegOutlined,\n Payment,\n SettingsOutlined,\n SupervisorAccount,\n Search,\n LanguageOutlined,\n DescriptionOutlined,\n ViewList,\n NoteAdd,\n RepeatOne,\n AccountBalance,\n AccountBalanceWallet\n} from '@material-ui/icons';\nimport CropFreeIcon from '@material-ui/icons/CropFree';\nimport FiberManualRecordOutlinedIcon from '@material-ui/icons/FiberManualRecordOutlined';\nimport FileCopyIcon from '@material-ui/icons/FileCopy';\nimport PrintIcon from '@material-ui/icons/Print';\nimport { SnackBarAndAlert } from 'components';\nimport _ from 'lodash';\nimport Header from '../../layouts/header/header.container';\nimport { useGlobalStateContext } from 'contexts';\nimport { Auth } from 'aws-amplify';\nimport { ResellerType } from 'utils/enums/ResellerType';\nimport { Roles } from 'utils/enums/Roles';\nimport { UserType } from 'utils/enums/UserType';\nimport { Context } from '../../contexts/language-switch-context/language-switch-context';\nimport { supportedLanguages } from 'utils/constants';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { withStyles } from '@material-ui/core/styles';\nimport { merchantTypes } from 'utils/helper.js';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\n\nconst StyledBadge = withStyles({\n badge: {\n background: '#8783b5',\n color: '#f6f7fa',\n transform: 'scale(1) translate(85%, -45%)'\n }\n})(Badge);\nfunction MerchantDashBoardMenuComponent(props) {\n const context = useContext(Context);\n let defaultOpenPaymentCollapse = false;\n let defaultOpenQRCollapse = false;\n let isOnTransactionsPage;\n let isOnQrPage;\n const { globalState, setGlobalState, setRoute, getRoute } = useGlobalStateContext();\n isOnTransactionsPage = _.some(\n ['internal-transfers', 'chargebacks', 'payouts', 'payments', 'merchant-charges', 'virtual-terminal'],\n (pagePath) => _.includes(browserHistory.location.pathname, pagePath, 1)\n );\n isOnQrPage = _.some(['payment-qr-code', 'generic-qr-code'], (pagePath) =>\n _.includes(browserHistory.location.pathname, pagePath, 1)\n );\n\n if (isOnTransactionsPage) {\n defaultOpenPaymentCollapse = true;\n }\n if (isOnQrPage) {\n defaultOpenQRCollapse = true;\n }\n const [openPaymentCollapse, setOpenPaymentCollapse] = useState(defaultOpenPaymentCollapse);\n const notShowOption = merchantTypes.includes(globalState.merchant?.merchantType);\n const [openQrCollapse, setOpenQrCollapse] = useState(defaultOpenQRCollapse);\n\n const {\n paymentUrl,\n payoutsUrl,\n gfoPaymentsUrl,\n chargebackUrl,\n merchantChargesUrl,\n internalTransfersUrl,\n isDynamicMenu,\n setOpen,\n pdqTransactionUrl,\n showPdq,\n showVT,\n noOfNotSignedTermsAndConditions,\n setIsCopyAlertOpen,\n isCopyAlertOpen,\n handleCleverClick,\n listRefundUrl,\n chargebackListUrl\n } = props;\n const mediaLessThan960px = useMediaQuery('(max-width:959px)');\n const isAdmin =\n globalState.user?.UserType?.name === UserType.Admin || globalState.user?.UserType?.name === UserType.SuperAdmin;\n const isMerchant = globalState.user?.UserType?.name === UserType.Merchant;\n const isCanonicalResellerUser = globalState.user?.UserType?.name === UserType.Reseller;\n const isAdyenMerchant = globalState?.merchant?.isAdyenMerchant;\n const isMerchantAccountDisabled =\n globalState.merchant?.status === MerchantStatus.CLOSED &&\n globalState.user?.UserType?.name !== UserType.SuperAdmin;\n\n const showTermsAndCondition = noOfNotSignedTermsAndConditions > 0;\n let tabs = [\n {\n name: 'Dashboard',\n icon: ,\n onClick: () => {\n handleCleverClick('Dashboard_nav_click');\n setOpenPaymentCollapse(false);\n setOpenQrCollapse(false);\n setRoute('/home');\n //remove balance from session storage for balance api call on loading of the dashboard\n sessionStorage.removeItem('balance');\n },\n show: isCanonicalResellerUser || isMerchant || isAdmin,\n disableForClosedMerchant: false\n },\n {\n name: 'Payments',\n icon: ,\n onClick: () => {\n handleCleverClick('Payments_nav_click');\n mediaLessThan960px ? setOpenPaymentCollapse(true) : setOpenPaymentCollapse(!openPaymentCollapse);\n setOpenQrCollapse(false);\n setRoute(paymentUrl.day);\n sessionStorage.removeItem('selectedAcquirer');\n sessionStorage.removeItem('selectedProvider');\n },\n openCollapse: openPaymentCollapse,\n show: isMerchant || isAdmin,\n disableForClosedMerchant: isMerchantAccountDisabled,\n children: [\n {\n name: 'Chargebacks',\n show: globalState.reseller?.name === ResellerType.DATMAN,\n onClick: () => setRoute(chargebackUrl.month),\n disableForClosedMerchant: isMerchantAccountDisabled\n },\n {\n name: 'Payouts',\n show: globalState.reseller?.name === ResellerType.DATMAN,\n onClick: () => setRoute(payoutsUrl.month),\n disableForClosedMerchant: isMerchantAccountDisabled\n },\n {\n name: 'Merchant Charges',\n show: globalState.reseller?.name === ResellerType.DATMAN,\n onClick: () => setRoute(merchantChargesUrl.month),\n disableForClosedMerchant: isMerchantAccountDisabled\n },\n {\n name: 'Internal Transfers',\n show:\n globalState.reseller?.name === ResellerType.DATMAN &&\n globalState.merchant?.internalTransferStatus &&\n [MerchantCountries.UNITED_KINGDOM, MerchantCountries.IRELAND].includes(\n globalState.merchant?.country\n ) &&\n !notShowOption,\n\n onClick: () => setRoute(internalTransfersUrl.month),\n disableForClosedMerchant: isMerchantAccountDisabled\n },\n {\n name: 'PDQ transactions',\n show: showPdq,\n onClick: () => {\n handleCleverClick('PDQ_txn_nav_click');\n setRoute(pdqTransactionUrl.day);\n },\n disableForClosedMerchant: isMerchantAccountDisabled\n //onClick: () => setRoute(pdqTransactionUrl.day)\n },\n {\n name: 'Google Food Orders',\n show:\n globalState.reseller?.name === ResellerType.DATMAN &&\n (isAdyenMerchant || globalState.merchant?.country === MerchantCountries.AUSTRALIA),\n onClick: () => setRoute(gfoPaymentsUrl.day),\n disableForClosedMerchant: isMerchantAccountDisabled\n },\n {\n name: 'Virtual terminal',\n show: showVT,\n onClick: () => {\n handleCleverClick('VT_nav_click');\n setRoute('/virtual-terminal');\n },\n disableForClosedMerchant: isMerchantAccountDisabled\n }\n ]\n },\n {\n name: 'QR Code',\n icon: ,\n onClick: () => {\n handleCleverClick('QR_code_nav_click');\n setOpenQrCollapse(!openQrCollapse);\n setOpenPaymentCollapse(false);\n setRoute('/generic-qr-code');\n },\n openCollapse: openQrCollapse,\n show: globalState.reseller?.name !== ResellerType.DATMAN && (isMerchant || isAdmin),\n disableForClosedMerchant: isMerchantAccountDisabled,\n children: [\n {\n name: 'Payment QR',\n show: globalState.reseller?.name === ResellerType.OMNIPAY,\n onClick: () => setRoute('/payment-qr-code'),\n disableForClosedMerchant: isMerchantAccountDisabled\n }\n ]\n },\n {\n name: 'Settings',\n icon: ,\n onClick: () => {\n handleCleverClick('Settings_nav_click');\n setOpenPaymentCollapse(false);\n setOpenQrCollapse(false);\n setRoute('/settings');\n },\n show: isCanonicalResellerUser || isMerchant || isAdmin,\n disableForClosedMerchant: isMerchantAccountDisabled\n // separator: 'DEVELOPER'\n },\n {\n name: 'Terms and Conditions',\n icon: ,\n badgeNo: noOfNotSignedTermsAndConditions ? noOfNotSignedTermsAndConditions : 0,\n onClick: () => {\n setOpenPaymentCollapse(false);\n setOpenQrCollapse(false);\n setRoute('/setting-terms-and-conditions');\n },\n show: (isCanonicalResellerUser || isMerchant) && showTermsAndCondition,\n disableForClosedMerchant: isMerchantAccountDisabled\n },\n {\n name: 'Log out',\n show: isCanonicalResellerUser || isMerchant || isAdmin,\n icon: ,\n onClick: () => {\n handleCleverClick('Logout_click');\n AuthService.logout();\n Auth.signOut({ global: true }).then(() => {\n setGlobalState({ ...globalState, user: null, merchant: null });\n setRoute('/login');\n });\n },\n disableForClosedMerchant: false\n },\n {\n name: 'Get help',\n icon: ,\n onClick: () => {\n setOpenPaymentCollapse(false);\n setOpenQrCollapse(false);\n let routeToGo;\n if (globalState.reseller?.helpPageURL) {\n routeToGo = globalState.reseller.helpPageURL;\n } else {\n routeToGo = getRoute('/help');\n }\n window.open(routeToGo, '_blank');\n },\n show: isCanonicalResellerUser || isMerchant || isAdmin,\n disableForClosedMerchant: false\n },\n {\n name: 'Merchant Id',\n icon: ,\n onClick: () => {},\n showInResellerView: false,\n disableForClosedMerchant: false\n },\n {\n name: 'Wallet history',\n icon: ,\n onClick: () => {\n setRoute('/wallet-history');\n setOpenPaymentCollapse(false);\n },\n show: isAdmin,\n separator: 'ADMIN'\n },\n {\n name: 'Search merchant',\n icon: ,\n onClick: () => {\n setOpenPaymentCollapse(false);\n setOpenQrCollapse(false);\n setRoute('/admin-pending-merchants');\n },\n show: isAdmin,\n disableForClosedMerchant: false\n },\n {\n name: 'Missing merchants',\n icon: ,\n onClick: () => {\n setOpenPaymentCollapse(false);\n setRoute('/admin-missing-merchant');\n },\n show: isAdmin && globalState.reseller?.name === ResellerType.DATMAN,\n disableForClosedMerchant: false\n },\n {\n name: 'Admin functions',\n icon: ,\n onClick: () => {\n setRoute(`/admin-functions/${globalState.merchant?.id}`);\n setOpenPaymentCollapse(false);\n },\n show: isAdmin,\n disableForClosedMerchant: isMerchantAccountDisabled\n },\n {\n name: 'Bank verification list',\n icon: ,\n onClick: () => {\n setRoute('/pending-bank-verification-list');\n },\n show: isAdmin && globalState.reseller.name === ResellerType.DATMAN,\n disableForClosedMerchant: isMerchantAccountDisabled\n },\n {\n name: 'Account verification list',\n icon: ,\n onClick: () => {\n setRoute('/pending-account-verification-list');\n },\n show: isAdmin && globalState.reseller.name === ResellerType.DATMAN,\n disableForClosedMerchant: isMerchantAccountDisabled\n },\n {\n name: 'Merchant capabilities',\n icon: ,\n onClick: () => {\n setRoute('/merchant-capabilities');\n },\n show: isAdmin && globalState.reseller.name === ResellerType.DATMAN,\n disableForClosedMerchant: isMerchantAccountDisabled\n },\n {\n name: 'Contract details',\n icon: ,\n onClick: () => {\n setOpenPaymentCollapse(false);\n setRoute('/contract-details');\n },\n show: isAdmin && globalState.reseller.name === ResellerType.DATMAN,\n disableForClosedMerchant: isMerchantAccountDisabled\n },\n {\n name: 'Print agreement',\n icon: ,\n onClick: () => {\n setOpenPaymentCollapse(false);\n setRoute('/print-agreement');\n },\n show: isAdmin && globalState.reseller.name === ResellerType.DATMAN,\n disableForClosedMerchant: isMerchantAccountDisabled\n },\n {\n name: 'List refund',\n icon: ,\n onClick: () => setRoute(listRefundUrl.day),\n show: isAdmin && globalState.reseller.name === ResellerType.DATMAN,\n disableForClosedMerchant: false\n },\n {\n name: 'Chargeback List',\n icon: ,\n onClick: () => setRoute(chargebackListUrl.day),\n show: isAdmin && globalState.reseller.name === ResellerType.DATMAN,\n disableForClosedMerchant: false\n },\n {\n name: 'Bank error list',\n icon: ,\n onClick: () => setRoute('/bank-error-list'),\n show: isAdmin && globalState.reseller.name === ResellerType.DATMAN,\n disableForClosedMerchant: false\n }\n ];\n if (globalState.merchant?.userRole === Roles.User || globalState.reseller?.name !== ResellerType.OMNIPAY) {\n tabs = tabs.filter((tabObj) => tabObj.name !== 'Virtual terminal');\n }\n\n const [selectedTab, setSelectedTab] = useState(tabs[0].name);\n\n useEffect(() => {\n const currentLocation = window.location.pathname;\n\n if (currentLocation.includes('/admin-functions')) {\n setSelectedTab('Admin functions');\n }\n }, [globalState.merchant]);\n\n return (\n \n
\n \n {mediaLessThan960px && (\n \n \n setOpen(false)}>\n
\n \n \n setOpen(false)} />\n \n \n \n )}\n {tabs.map((tab) => (\n \n {tab.show && (\n \n {tab.separator && (\n \n
\n {tab.separator}\n
\n
\n )}\n {\n if (tab.disableForClosedMerchant) {\n return;\n }\n if (!tab.disableForClosedMerchant) {\n tab.onClick();\n }\n if (tab.name === 'Merchant Id') {\n return;\n }\n if (!tab.children && isDynamicMenu) {\n setOpen(false);\n }\n if (mediaLessThan960px) {\n setOpen(false);\n }\n setSelectedTab(tab.name);\n setGlobalState({\n ...globalState,\n shouldCheckForUrgentMessages: !globalState.shouldCheckForUrgentMessages\n });\n window.scrollTo({ top: 0, left: 0, behavior: 'smooth' });\n }}\n >\n \n {tab.icon}\n \n \n {tab.name}\n \n \n
\n \n {tab.children && (\n \n \n {tab.children.map((item) =>\n item.show === undefined || item.show ? (\n {\n if (isDynamicMenu) {\n setOpen(false);\n }\n setSelectedTab(tab.name);\n if (!tab.disableForClosedMerchant) {\n item.onClick();\n }\n window.scrollTo({\n top: 0,\n left: 0,\n behavior: 'smooth'\n });\n }}\n >\n
\n \n {item.name}\n \n
\n \n ) : null\n )}\n
\n
\n )}\n {tab.name === 'Merchant Id' && (\n \n {globalState?.merchant?.id}\n \n {\n navigator.clipboard.writeText(globalState?.merchant?.id);\n setIsCopyAlertOpen(true);\n }}\n />\n \n \n )}\n
\n )}\n \n ))}\n \n \n {globalState.merchant?.country === MerchantCountries.MEXICO && (\n \n
\n \n \n \n {supportedLanguages.map((item) => (\n \n ))}\n \n \n
\n
\n )}\n {isCopyAlertOpen && (\n setIsCopyAlertOpen(false)} type={'success'}>\n Successfully copied the merchant id.\n \n )}\n \n );\n}\n\nMerchantDashBoardMenuComponent.propTypes = {\n paymentUrl: PropTypes.object,\n payoutsUrl: PropTypes.object,\n chargebackUrl: PropTypes.object,\n merchantChargesUrl: PropTypes.object,\n internalTransfersUrl: PropTypes.object,\n isDynamicMenu: PropTypes.bool,\n setOpen: PropTypes.func,\n pdqTransactionUrl: PropTypes.object,\n showPdq: PropTypes.bool,\n showVT: PropTypes.bool\n};\n\nexport default MerchantDashBoardMenuComponent;\n","import React, { useState, useEffect } from 'react';\nimport moment from 'moment';\nimport MerchantDashBoardMenuComponent from './merchant-dashboard-menu.component';\nimport { useGlobalStateContext } from 'contexts';\nimport { ProductsRequired, ProductStatus } from '../../utils/enums/ProductsRequired';\nimport { UserType } from 'utils/enums/UserType';\nimport { cleverTapClick } from 'utils/helper';\n\nfunction MerchantDashBoardMenu(props) {\n const date = moment().format('YYYY-MM-DD');\n const { globalState } = useGlobalStateContext();\n const [showPdq, setShowPdq] = useState(false);\n const [showVT, setShowVT] = useState(false);\n const [noOfNotSignedTermsAndConditions, setNoOfNotSignedTermsAndConditions] = useState(0);\n const [noOfSignedTermsAndConditions, setNoOfSignedTermsAndConditions] = useState(0);\n const isCanonicalResellerUser = globalState.user?.UserType?.name === UserType.Reseller;\n const [isCopyAlertOpen, setIsCopyAlertOpen] = useState(false);\n\n useEffect(() => {\n if (globalState.merchant && globalState.merchant?.hasOwnProperty('merchantProductRequired')) {\n const merchantProductRequired = globalState.merchant?.merchantProductRequired;\n const pdq = merchantProductRequired.find((product) => {\n return (\n product.productName === ProductsRequired.PDQ &&\n (product.status === ProductStatus.ACTIVE || product.status === ProductStatus.DELETION_PENDING)\n );\n });\n\n const vtObj = merchantProductRequired.find((product) => {\n return (\n product.productName === ProductsRequired.Virtual_Terminal &&\n (product.status === ProductStatus.ACTIVE || product.status === ProductStatus.DELETION_PENDING)\n );\n });\n\n setShowVT(!!vtObj);\n\n if (pdq) setShowPdq(true);\n else setShowPdq(false);\n }\n }, [globalState.merchant]);\n\n useEffect(() => {\n if (isCanonicalResellerUser) {\n const signingInfo = globalState.canonicalReseller?.termsAndConditionInfo?.signingInfo;\n setNoOfNotSignedTermsAndConditions(signingInfo?.noOfNotSignedTermsAndConditions);\n setNoOfSignedTermsAndConditions(signingInfo?.noOfSignedTermsAndConditions);\n } else {\n setNoOfNotSignedTermsAndConditions(globalState.merchant?.noOfNotSignedTermsAndConditions);\n setNoOfSignedTermsAndConditions(globalState.merchant?.noOfSignedTermsAndConditions);\n }\n\n // eslint-disable-next-line\n }, [globalState.canonicalReseller, globalState.merchant]);\n\n const paymentUrl = {\n day: `/payments/day/${date}`,\n week: `/payments/week/${date}`,\n month: `/payments/month/${date}`\n };\n\n const chargebackUrl = {\n day: `/chargebacks/day/${date}`,\n week: `/chargebacks/week/${date}`,\n month: `/chargebacks/month/${date}`\n };\n\n const merchantChargesUrl = {\n day: `/merchant-charges/day/${date}`,\n week: `/merchant-charges/week/${date}`,\n month: `/merchant-charges/month/${date}`\n };\n\n const internalTransfersUrl = {\n day: `/internal-transfers/day/${date}`,\n week: `/internal-transfers/week/${date}`,\n month: `/internal-transfers/month/${date}`\n };\n\n const payoutsUrl = {\n day: `/payouts/day/${date}`,\n week: `/payouts/week/${date}`,\n month: `/payouts/month/${date}`\n };\n const gfoPaymentsUrl = {\n day: `/gfo-payments/day/${date}`,\n week: `/gfo-payments/week/${date}`,\n month: `/gfo-payments/month/${date}`\n };\n\n const pdqTransactionUrl = {\n day: `/pdq-transactions/day/${date}`,\n week: `/pdq-transactions/week/${date}`,\n month: `/pdq-transactions/month/${date}`\n };\n const handleCleverClick = (value) => {\n cleverTapClick(value, globalState, {});\n };\n const listRefundUrl = {\n day: `/refund-list/day/${date}`,\n week: `/refund-list/week/${date}`,\n month: `/refund-list/month/${date}`\n };\n const chargebackListUrl = {\n day: `/list-chargebacks/day/${date}`,\n week: `/list-chargebacks/week/${date}`,\n month: `/list-chargebacks/month/${date}`\n };\n return (\n \n );\n}\n\nMerchantDashBoardMenu.propTypes = {};\n\nexport default MerchantDashBoardMenu;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { withStyles, Switch } from '@material-ui/core';\n\nconst AntSwitch = withStyles((theme) => ({\n root: {\n width: 28,\n height: 16,\n padding: 0,\n display: 'flex'\n },\n switchBase: {\n padding: 2,\n color: theme.palette.grey[500],\n '&$checked': {\n transform: 'translateX(12px)',\n color: theme.palette.common.white,\n '& + $track': {\n opacity: 1,\n backgroundColor: theme.palette.primary.main,\n borderColor: theme.palette.primary.main\n }\n }\n },\n thumb: {\n width: 12,\n height: 12,\n boxShadow: 'none'\n },\n track: {\n border: `1px solid ${theme.palette.grey[500]}`,\n borderRadius: 16 / 2,\n opacity: 1,\n backgroundColor: theme.palette.common.white\n },\n checked: {}\n}))(Switch);\n\nfunction AntSwitchComponent(props) {\n return ;\n}\n\nAntSwitchComponent.propTypes = {\n onChange: PropTypes.func,\n id: PropTypes.string,\n checked: PropTypes.bool\n};\n\nexport default AntSwitchComponent;\n","import React from 'react';\nimport AntSwitchComponent from './ant-switch.component';\n\nfunction AntSwitch(props) {\n return ;\n}\n\nAntSwitch.propTypes = {};\n\nexport default AntSwitch;\n","import React from 'react';\nimport MerchantDashBoardNavigationHeaderComponent from './merchant-dashboard-navigation-header.component';\n\nfunction MerchantDashBoardNavigationHeader() {\n return ;\n}\n\nMerchantDashBoardNavigationHeader.propTypes = {};\n\nexport default MerchantDashBoardNavigationHeader;\n","import moment from 'moment-timezone';\nimport React from 'react';\nimport {\n Paper,\n // Accordion,\n // AccordionSummary,\n // AccordionDetails,\n Typography,\n List,\n ListItem,\n Link,\n Grid\n} from '@material-ui/core';\nimport { LoadingScreen, SnackBarAndAlert } from 'components';\nimport style from './merchant-dashboard-options.module.scss';\nimport { /*ChevronRight, ExpandMore,*/ CheckCircleSharp, Cancel, Clear } from '@material-ui/icons';\nimport PropTypes from 'prop-types';\nimport { useMerchantCreationContext, useGlobalStateContext } from 'contexts';\nimport { ResellerType } from 'utils/enums/ResellerType';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport { Roles } from 'utils/enums/Roles';\nimport { ErrorOutline } from '@material-ui/icons';\n\nfunction MerchantDashboardOptionsComponent(props) {\n const { globalState, setRoute } = useGlobalStateContext();\n const { merchantCreationState, setMerchantCreationState } = useMerchantCreationContext();\n const passwordAge = moment().diff(moment(globalState.user.updatedPasswordAt), 'days');\n const passwordExpiryDate = moment(globalState.user.updatedPasswordAt).add(90, 'days').format('DD-MM-YYYY');\n const passwordExpiryBannerVisibility = 75; // After 75 days of last password update we will show the banner\n const {\n verified,\n setVerified,\n reseller,\n sendVerificationEmail,\n showMessage,\n setShowMessage,\n verificationEmailMessage,\n messageType,\n isLoading,\n snackbar,\n userHasSeenSnackbar\n } = props;\n\n const isOwner = globalState.merchant?.userRole === Roles.Owner;\n const isAdmin = globalState.user?.UserType?.name === Roles.Admin;\n let hidePaper = !(verified && !props.user?.isEmailConfirmed) && !merchantCreationState.showMerchantCreationMessage;\n const showBanner = passwordAge >= passwordExpiryBannerVisibility;\n\n /*const [expanded, setExpanded] = React.useState('panel1');\n\n const handleChange = (panel) => (event, isExpanded) => {\n setExpanded(isExpanded ? panel : false);\n }; */\n return (\n <>\n \n \n {/* \n //TODO: Was commented because this is not needed for MVP\n \n \n Follow these steps to get started\n \n \n\n \n \n \n
\n {expanded === 'panel1' ? : }\n\n \n
\n
\n Find the right integration for your business\n
\n Browse our docs for use cases, sample code, and tools or see options without\n code\n
\n
\n
\n
\n \n \n \n \n
\n\n \n \n \n
\n {expanded === 'panel2' ? : }\n \n \n Get your API keys\n \n \n
\n
\n \n \n nan..(n.n)\n \n \n \n
*/}\n\n {verified && !props.user?.isEmailConfirmed ? (\n \n
\n \n \n {props.user?.isEmailConfirmed ? (\n \n ) : (\n \n )}\n \n \n \n \n \n

\n The email \n \n {props.user?.email}\n \n {' is '}\n {props.user?.isEmailConfirmed\n ? 'verified.'\n : reseller.name === ResellerType.DATMAN\n ? 'not verified.'\n : 'not verified. Once you have verified your email you can begin the onboarding process.'}\n {!props.user?.isEmailConfirmed && (\n \n   Click  \n \n here  \n \n to receive verification email.\n \n )}\n

\n
\n
\n \n setVerified(false)}\n />\n \n
\n
\n \n
\n
\n ) : null}\n\n {merchantCreationState.showMerchantCreationMessage && (\n \n
\n \n \n \n \n \n \n

\n Your new Merchant account has been added. Please click on Onboard\n Merchant in order to activate your account.\n

\n
\n \n setMerchantCreationState((state) => ({\n ...state,\n showMerchantCreationMessage: false\n }))\n }\n />\n
\n \n
\n
\n )}\n {showMessage && (\n setShowMessage(false)} type={messageType}>\n {verificationEmailMessage}\n \n )}\n
\n \n
\n {showBanner && (\n
\n
\n
\n \n
\n \n
\n Your password will expire on {passwordExpiryDate}, please{' '}\n setRoute('/update-password')}\n >\n update your password.\n \n  \n
\n
\n
\n
\n )}\n {snackbar && !userHasSeenSnackbar && (\n 0} type=\"success\">\n {snackbar}\n \n )}\n {(isOwner || isAdmin) &&\n [MerchantStatus.NOT_SUBMITTED].includes(globalState?.merchant?.status) &&\n globalState.reseller?.id === 2 &&\n props.user?.isEmailConfirmed && (\n \n \n \n
\n Your Onboarding is not yet complete. Please click{' '}\n setRoute('/onboarding')}\n >\n here\n {' '}\n to complete onboarding.\n
\n
\n
\n \n )}\n \n );\n}\n\nMerchantDashboardOptionsComponent.propTypes = {\n user: PropTypes.object\n};\n\nexport default MerchantDashboardOptionsComponent;\n","import React, { useState, useEffect } from 'react';\nimport MerchantDashboardOptionsComponent from './merchant-dashboard-options.component';\nimport { useGlobalStateContext } from 'contexts';\nimport { AuthService } from 'services';\nimport moment from 'moment';\nimport { triggerDays, MAX_PASSWORD_CHANGE_DAYS } from 'utils/enums/ChangePasswordTriggerDays';\nimport { SnackbarMessages } from 'utils/text enums/snackbar-text';\n\nfunction MerchantDashboardOptions() {\n const { globalState } = useGlobalStateContext();\n const [verified, setVerified] = useState(true);\n const [showMessage, setShowMessage] = useState(false);\n const [verificationEmailMessage, setVerificationEmailMessage] = useState('');\n const [messageType, setMessageType] = useState('');\n const [isLoading, setIsLoading] = useState(false);\n const [snackbar, setSnackbar] = useState('');\n let userHasSeenSnackbar;\n\n useEffect(() => {\n // Checking if the user has already seen the Snackbar\n const userHasSeenSnackbar = localStorage.getItem('userHasSeenSnackbar');\n\n // Calculating the difference in days since the password was updated\n const diffeneceInTime = moment().diff(\n moment(globalState.user.updatedPasswordAt, 'YYYY-MM-DD HH:mm:ss'),\n 'days'\n );\n\n // Checking if the user hasn't seen the Snackbar and if the difference in days matches a trigger day\n if (!userHasSeenSnackbar && triggerDays.includes(diffeneceInTime)) {\n setSnackbar(SnackbarMessages.PASSWORD_UPCOMING_EXPIRY_MESSAGE(MAX_PASSWORD_CHANGE_DAYS - diffeneceInTime));\n\n // Setting a timeout to mark the Snackbar as seen and clear the message after a delay of 10 seconds\n const timeout = setTimeout(() => {\n localStorage.setItem('userHasSeenSnackbar', 'true');\n setSnackbar('');\n }, 10000);\n\n // Cleaning up the timeout when the component unmounts or when the effect runs again\n return () => clearTimeout(timeout);\n } else setSnackbar('');\n }, [globalState.user.updatedPasswordAt]);\n\n // For adding userHasSeenSnackbar if url changes. It will help us in not showing the snackbar only once\n useEffect(() => {\n localStorage.setItem('userHasSeenSnackbar', 'true');\n // eslint-disable-next-line\n }, [window.location.href]);\n\n const sendVerificationEmail = async () => {\n setIsLoading(true);\n const response = await AuthService.sendVerificationEmail({\n email: globalState.user.email,\n resellerUrl: globalState.reseller.portalURL\n });\n setIsLoading(false);\n setShowMessage(true);\n if (response.isSuccesfully) {\n setMessageType('success');\n setVerificationEmailMessage('Verification email has been sent successfully. Please check inbox.');\n } else {\n setMessageType('error');\n setVerificationEmailMessage('An error occurred. Try again !');\n }\n };\n\n return (\n \n );\n}\n\nexport default MerchantDashboardOptions;\n","import React from 'react';\nimport style from './merchant-dashboard-preview.module.scss';\nimport './stepper.scss';\nimport PropTypes from 'prop-types';\nimport { Paper, Grid, Button, Typography } from '@material-ui/core';\nimport { Assignment, Edit } from '@material-ui/icons';\nimport { useGlobalStateContext } from 'contexts';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport { ResellerType } from 'utils/enums/ResellerType';\nimport { Roles } from 'utils/enums/Roles';\nimport { UserType } from 'utils/enums/UserType';\nfunction MerchantDashboardPreviewComponent(props) {\n const { globalState, setRoute } = useGlobalStateContext();\n const isMerchantPending = globalState.merchant?.status === MerchantStatus.MERCHANT_PENDING;\n const isDatmanReseller = globalState.reseller?.name === ResellerType.DATMAN;\n const isOwner = globalState.merchant?.userRole === Roles.Owner;\n const isAdmin =\n globalState.user?.UserType?.name === UserType.Admin || globalState.user?.UserType?.name === UserType.SuperAdmin;\n return (\n
\n \n \n \n \n \n Hi {props.userName}\n \n \n \n {(isOwner || isAdmin) && (\n setRoute('/onboarding')}\n disabled={!isDatmanReseller && !props.isEmailConfirmed}\n className={`${style.onboardBtn} ${\n isDatmanReseller || props.isEmailConfirmed\n ? isMerchantPending\n ? style.orangBtn\n : style.greenBtn\n : style.disabledBtn\n }`}\n >\n \n {globalState.merchant &&\n (isMerchantPending ? (\n \n ) : (\n \n ))}\n \n \n {globalState.merchant &&\n (isMerchantPending ? 'Merchant pending' : 'Onboard merchant')}\n \n \n )}\n \n \n \n \n \n

Getting paid your way

\n
\n \n {`Here at ${globalState.reseller?.name}, we have a wealth of experience in\n providing traditional payments solutions through many other payment providers, but none\n of them ever put you, their customer first.`}\n \n
\n
\n
\n
\n
\n );\n}\n\nMerchantDashboardPreviewComponent.propTypes = {\n userName: PropTypes.string,\n isEmailConfirmed: PropTypes.bool\n};\n\nexport default MerchantDashboardPreviewComponent;\n","import React from 'react';\nimport MerchantDashboardPreviewComponent from './merchant-dashboard-preview.component';\nimport { useGlobalStateContext } from 'contexts';\n\nfunction MerchantDashboardPreview() {\n const { globalState } = useGlobalStateContext();\n\n return (\n \n );\n}\n\nMerchantDashboardPreview.propTypes = {};\n\nexport default MerchantDashboardPreview;\n","//importing enums\nimport { MerchantCountries } from './enums/MerchantCountries';\nimport { OnboardingStepsMapping, OnboardingSteps } from './enums/OnboardingStepsMapping';\nimport { BusinessTypeEnumId } from './enums/BusinessType';\n\n// Function to map Business Type id with country\nexport const validBusinessTypeIdsMap = {\n USA: [\n BusinessTypeEnumId.Sole_Trader,\n BusinessTypeEnumId.Partnership,\n BusinessTypeEnumId.Corporation,\n BusinessTypeEnumId.Limited_LLC,\n BusinessTypeEnumId.Other\n ],\n CANADA: [BusinessTypeEnumId.Limited, BusinessTypeEnumId.Sole_Trader],\n UKorIRELAND: [BusinessTypeEnumId.Limited, BusinessTypeEnumId.Sole_Trader, BusinessTypeEnumId.Partnership],\n AUS: [\n BusinessTypeEnumId.Limited,\n BusinessTypeEnumId.Partnership,\n BusinessTypeEnumId.Sole_Trader,\n BusinessTypeEnumId.Trust,\n BusinessTypeEnumId.Other\n ],\n DEFAULT: [\n BusinessTypeEnumId.Limited,\n BusinessTypeEnumId.Sole_Trader,\n BusinessTypeEnumId.Partnership,\n BusinessTypeEnumId.Other\n ]\n};\n\n// for limited and partnership business type && aus||usa merchants\nexport const dropdownTypeOrganisations = [\n { id: '', name: '--Please select--' },\n { id: 'associationIncorporated', name: 'Association Incorporated' },\n { id: 'governmentalOrganization', name: 'Governmental Organisation' },\n { id: 'nonProfit', name: 'Non Profit' },\n { id: 'partnershipIncorporated', name: 'Partnership Incorporated' },\n { id: 'privateCompany', name: 'Private Company' }\n];\n\n// aus||usa merchants && trust type\nexport const dropdownTypeForTrust = [\n { id: '', name: '--Please select--' },\n { id: 'cashManagementTrust', name: 'Cash Management Trust' },\n { id: 'corporateUnitTrust', name: 'Corporate Unit Trust' },\n { id: 'deceasedEstate', name: 'Deceased Estate' },\n { id: 'discretionaryInvestmentTrust', name: 'Discretionary Investment Trust' },\n { id: 'discretionaryServicesManagementTrust', name: 'Discretionary Services Management Trust' },\n { id: 'discretionaryTradingTrust', name: 'Discretionary Trading Trust' },\n { id: 'firstHomeSaverAccountsTrust', name: 'First Home Saver Accounts Trust' },\n { id: 'fixedTrust', name: 'Fixed Trust' },\n { id: 'fixedUnitTrust', name: 'Fixed Unit Trust' },\n { id: 'hybridTrust', name: 'Hybrid Trust' },\n { id: 'listedPublicUnitTrust', name: 'Listed Public Unit Trust' },\n { id: 'otherTrust', name: 'Other Trust' },\n { id: 'pooledSuperannuationTrust', name: 'Pooled Superannuation Trust' },\n { id: 'publicTradingTrust', name: 'Public Trading Trust' },\n { id: 'unlistedPublicUnitTrust', name: 'Unlisted Public Unit Trust' }\n];\n\n// aus||usa merchants\nexport const AUSStateCodes = [\n { id: '', name: '--Please select--' },\n { id: 'ACT', name: 'Australian Capital Territory' },\n { id: 'NSW', name: 'New South Wales' },\n { id: 'NT', name: 'Northern Territory' },\n { id: 'QLD', name: 'Queensland' },\n { id: 'SA', name: 'South Australia' },\n { id: 'TAS', name: 'Tasmania' },\n { id: 'VIC', name: 'Victoria' },\n { id: 'WA', name: 'Western Australia' }\n];\n\nexport const USAStateCodes = [\n { id: '', name: '--Please select--' },\n { id: 'AL', name: 'Alabama, US' },\n { id: 'AK', name: 'Alaska, US' },\n { id: 'AZ', name: 'Arizona, US' },\n { id: 'AR', name: 'Arkansas, US' },\n { id: 'AA', name: 'Armed Forces America' },\n { id: 'AE', name: 'Armed Forces Europe' },\n { id: 'AP', name: 'Armed Forces pacific' },\n { id: 'CA', name: 'California, US' },\n { id: 'CO', name: 'Colorado, US' },\n { id: 'CT', name: 'Connecticut, US' },\n { id: 'DE', name: 'Delaware, US' },\n { id: 'DC', name: 'District of Columbia, US' },\n { id: 'FL', name: 'Florida, US' },\n { id: 'GA', name: 'Georgia, US' },\n { id: 'HI', name: 'Hawaii, US' },\n { id: 'ID', name: 'Idaho, US' },\n { id: 'IL', name: 'Illinois, US' },\n { id: 'IN', name: 'Indiana, US' },\n { id: 'IA', name: 'Iowa, US' },\n { id: 'KS', name: 'Kansas, US' },\n { id: 'KY', name: 'Kentucky, US' },\n { id: 'LA', name: 'Louisiana, US' },\n { id: 'ME', name: 'Maine, US' },\n { id: 'MD', name: 'Maryland, US' },\n { id: 'MA', name: 'Massachusetts, US' },\n { id: 'MI', name: 'Michigan, US' },\n { id: 'MN', name: 'Minnesota, US' },\n { id: 'MS', name: 'Mississippi, US' },\n { id: 'MO', name: 'Missouri, US' },\n { id: 'MT', name: 'Montana, US' },\n { id: 'NE', name: 'Nebraska, US' },\n { id: 'NV', name: 'Nevada, US' },\n { id: 'NH', name: 'New Hampshire, US' },\n { id: 'NJ', name: 'New Jersey, US' },\n { id: 'NM', name: 'New Mexico, US' },\n { id: 'NY', name: 'New York, US' },\n { id: 'NC', name: 'North Carolina, US' },\n { id: 'ND', name: 'North Dakota, US' },\n { id: 'OH', name: 'Ohio, US' },\n { id: 'OK', name: 'Oklahoma, US' },\n { id: 'OR', name: 'Oregon, US' },\n { id: 'PA', name: 'Pennsylvania, US' },\n { id: 'RI', name: 'Rhode Island, US' },\n { id: 'SC', name: 'South Carolina, US' },\n { id: 'SD', name: 'South Dakota, US' },\n { id: 'TN', name: 'Tennessee, US' },\n { id: 'TX', name: 'Texas, US' },\n { id: 'UT', name: 'Utah, US' },\n { id: 'VT', name: 'Vermont, US' },\n { id: 'VA', name: 'Virginia, US' },\n { id: 'WA', name: 'Washington, US' },\n { id: 'WV', name: 'West Virginia, US' },\n { id: 'WI', name: 'Wisconsin, US' },\n { id: 'WY', name: 'Wyoming, US' }\n];\n\n// List of month for dropdown\nexport const months = ['MM', 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];\n\n//Month mapping with month number\nexport const monthEnum = {\n 0: 'MM',\n 1: 'Jan',\n 2: 'Feb',\n 3: 'Mar',\n 4: 'Apr',\n 5: 'May',\n 6: 'Jun',\n 7: 'Jul',\n 8: 'Aug',\n 9: 'Sep',\n 10: 'Oct',\n 11: 'Nov',\n 12: 'Dec'\n};\n\n//Month number mapping with month\nexport const reverseMonthEnum = Object.fromEntries(months.map((month, index) => [month, index]));\n\n//Function to get the onboarding step name on basis of country\n//If the country is the United States and the index is 0, changes the name for the \"Name and address\" field.\n//This adjustment is currently specific to US merchants.\nexport const getOnboardingStepName = (index, label, country) => {\n switch (true) {\n case country === MerchantCountries.UNITED_STATES && index === 0:\n return OnboardingSteps.NAME_AND_ADDRESS;\n case country === MerchantCountries.UNITED_STATES && index === 2:\n return OnboardingSteps.BUSINESS_ADDRESS;\n default:\n return label;\n }\n};\n\n//Function to get onboardingTitle on basis of country\n//If the country is the United States and the text is \"Name and address,\" the title is changed to \"Name and business address.\"\n//This adjustment is currently specific to US merchants.\nexport const getOnboardingTitle = (text, country) => {\n switch (true) {\n case country === MerchantCountries.UNITED_STATES && text === OnboardingSteps.NAME_AND_ADDRESS:\n return OnboardingSteps.NAME_AND_ADDRESS;\n case country === MerchantCountries.UNITED_STATES && text === OnboardingSteps.TRADING_ADDRESS:\n return OnboardingSteps.BUSINESS_ADDRESS;\n default:\n return text;\n }\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Stepper, Step, StepButton, StepContent } from '@material-ui/core';\nimport styles from './onboarding-steps.module.scss';\nimport { translateText } from 'utils/languageTranslater';\nimport { OnboardingStepsMapping } from 'utils/enums/OnboardingStepsMapping';\nimport { useOnboardingFormContext, useGlobalStateContext } from 'contexts';\nimport { makeStyles } from '@material-ui/core/styles';\nimport WarningRoundedIcon from '@material-ui/icons/WarningRounded';\nimport { getOnboardingStepName } from 'utils/onboarding-helper';\n\nconst useStyles = makeStyles({\n complete: {\n '& circle': {\n color: '#caf5c9'\n },\n '& text': {\n fill: '#297A5D'\n }\n },\n notCompete: {\n '& circle': {\n color: '#ffdc9d'\n },\n '& text': {\n fill: '#e67e00'\n }\n }\n});\nfunction OnboardingStepsComponent(props) {\n const classes = useStyles();\n const { onboardingForm } = useOnboardingFormContext();\n const { globalState } = useGlobalStateContext();\n const { steps, currentStep, setStep, getComponent, mediaLessThan960px, checkingSummaryCompletion } = props;\n const completedSteps = JSON.parse(JSON.stringify(onboardingForm.completedSteps));\n const merchantCountry = globalState.merchant?.country;\n const isT2SMerchant = globalState.isT2SMerchant;\n\n // The value of the 'summary' key in the 'completedSteps' object is determined by the completion status of other keys.\n // If every other step is marked as completed, the 'summary' will also be considered completed.\n checkingSummaryCompletion(completedSteps, isT2SMerchant);\n return (\n <>\n \n {steps.map((label, index) => {\n return (\n \n setStep(index + 1)}\n className={\n completedSteps[OnboardingStepsMapping[label]]\n ? classes.complete\n : classes.notCompete\n }\n >\n {translateText({\n id: getOnboardingStepName(index, label, merchantCountry),\n text: getOnboardingStepName(index, label, merchantCountry)\n })}\n {!completedSteps[OnboardingStepsMapping[label]] && (\n \n )}\n \n {mediaLessThan960px ? getComponent(index + 1) : ''}\n \n );\n })}\n \n \n );\n}\n\nOnboardingStepsComponent.propTypes = {\n steps: PropTypes.array,\n currentStep: PropTypes.number,\n setStep: PropTypes.func,\n getComponent: PropTypes.func,\n mediaLessThan960px: PropTypes.bool\n};\n\nexport default OnboardingStepsComponent;\n","import React from 'react';\nimport OnboardingStepsComponent from './onboarding-steps.component';\n\nconst checkingSummaryCompletion = (completedSteps, isT2SMerchant) => {\n delete completedSteps.summary;\n isT2SMerchant && (completedSteps.summary = Object.values(completedSteps).every(Boolean));\n};\nfunction OnboardingSteps(props) {\n return ;\n}\n\nexport default OnboardingSteps;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n Input,\n Label,\n OnboardingTitle,\n FormItem,\n NextButton,\n OnboardingFormsContainer,\n PostCodeSelector\n} from 'components/onboarding/onboarding-ui-components';\nimport { checkEmptyValue } from 'validators/onboarding/onboarding-check-value.validator';\nimport {\n Grid,\n TextField,\n Button,\n CircularProgress,\n withStyles,\n Tooltip,\n makeStyles,\n NativeSelect,\n Typography\n} from '@material-ui/core';\nimport Autocomplete from '@material-ui/lab/Autocomplete';\nimport { AntSwitch } from 'components';\n\nimport style from './onboarding-name-adress.module.scss';\nimport { CheckMerchantCountries } from '../onboarding-ui-components/check-merchant-countries/check-merchant-countries';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { Alert } from 'react-bootstrap';\nimport ErrorOutlineIcon from '@material-ui/icons/ErrorOutline';\nimport { useGlobalStateContext } from 'contexts';\n\nconst ErrorTooltip = withStyles((theme) => ({\n tooltip: {\n backgroundColor: '#fdecea',\n color: '#611a15',\n fontSize: 14,\n height: '50px'\n }\n}))(Tooltip);\n\nconst useStyles = makeStyles(() => ({\n noOptions: {\n color: 'red !important'\n }\n}));\n\nfunction OnboardingNameAdressComponent(props) {\n const classes = useStyles();\n\n const { globalState } = useGlobalStateContext();\n\n const {\n nextStep,\n onboardingForm,\n setOnboardingForm,\n isDisabled,\n onSubmit,\n selectAddressData,\n handleSelectedCompany,\n getCompanyDetails,\n value,\n setValue,\n inputValue,\n setInputValue,\n isLoading,\n openDropdown,\n setOpenDropdown,\n showErrorForRegisteredNumber,\n registeredNumberErrorMessage,\n isSoleTrader,\n setIsSoleTrader,\n setRegisteredNumberHandler,\n businessTypes,\n setIsBankAccountNameSwitchOn,\n setBankAccountNameVal,\n setRegBusinessNameVal,\n legalNameVal,\n setRegBusinessName,\n setLegalNameVal\n } = props;\n\n const title = ;\n const isUKMerchant = globalState.merchant?.country === MerchantCountries.UNITED_KINGDOM;\n const registeredBusiness = onboardingForm.businessDetails.isRegisteredBusiness;\n const isSameAccountName = onboardingForm.businessDetails.isAccountNameSame;\n\n function formBody() {\n return (\n \n \n \n {\n setIsSoleTrader(e.target.value?.toString() === '2');\n setOnboardingForm({\n ...onboardingForm,\n businessDetails: {\n ...onboardingForm.businessDetails,\n businessTypeId: e.target.value\n }\n });\n }}\n >\n }\n >\n \n {businessTypes.map((type) => {\n return (\n \n );\n })}\n \n \n\n {isSoleTrader && (\n \n \n \n \n \n \n
\n \n No\n \n {\n setOnboardingForm({\n ...onboardingForm,\n businessDetails: {\n ...onboardingForm.businessDetails,\n isRegisteredBusiness: e.target.checked\n }\n });\n setRegBusinessName(e.target.checked);\n }}\n >\n \n Yes\n \n
\n
\n
\n {registeredBusiness && (\n \n \n {\n setOnboardingForm({\n ...onboardingForm,\n businessDetails: {\n ...onboardingForm.businessDetails,\n tradingName: e.target.value,\n isAccountNameSame: false\n }\n });\n setBankAccountNameVal('');\n setRegBusinessNameVal(e.target.value);\n setIsBankAccountNameSwitchOn(false);\n }}\n >\n \n )}\n\n {!registeredBusiness && (\n \n \n \n \n \n \n \n
\n \n No\n \n {\n setOnboardingForm({\n ...onboardingForm,\n businessDetails: {\n ...onboardingForm.businessDetails,\n isAccountNameSame: e.target.checked\n }\n });\n setRegBusinessNameVal('');\n setIsBankAccountNameSwitchOn(e.target.checked);\n }}\n >\n \n Yes\n \n
\n
\n
\n
\n {!isSameAccountName && (\n \n \n {\n setOnboardingForm({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n accountHolderName: e.target.value\n },\n businessDetails: {\n ...onboardingForm.businessDetails,\n isAccountNameSame: false\n }\n });\n setRegBusinessNameVal('');\n setBankAccountNameVal(e.target.value);\n setIsBankAccountNameSwitchOn(false);\n }}\n >\n \n )}\n
\n )}\n
\n )}\n\n
\n {!isSoleTrader && (\n \n \n \n \n \n \n \n `${option.title ?? ''}\n ${option.company_number ?? ''}\n ${option.address_snippet ?? ''}`\n }\n classes={{ noOptions: classes.noOptions }}\n className={`${style.withoutBorders} ${style.customInput}`}\n value={value}\n onChange={(event, newValue) => {\n setValue(newValue);\n handleSelectedCompany(newValue);\n setOpenDropdown(false);\n }}\n inputValue={inputValue}\n onInputChange={(event, newInputValue) => {\n setInputValue(newInputValue);\n setOnboardingForm({\n ...onboardingForm,\n nameAndAddress: {\n ...onboardingForm.nameAndAddress,\n companyName: newInputValue\n }\n });\n }}\n renderOption={(option) => {\n return (\n
\n {option.title ?? ''}\n
\n {`${option.company_number ?? ''}\n ${option.address_snippet ?? ''}`}\n
\n );\n }}\n renderInput={(params) => (\n \n )}\n onBlur={getCompanyDetails}\n />\n
\n \n \n \n {isLoading ? (\n \n ) : (\n \n Company\n
Look-up\n
\n )}\n \n
\n
\n
\n
\n
\n \n \n \n \n      {registeredNumberErrorMessage}\n \n }\n >\n \n \n \n
\n )}\n\n {!isSoleTrader && (\n \n \n {\n setLegalNameVal(e.target.value);\n }}\n >\n \n )}\n\n {!isSoleTrader && (\n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n nameAndAddress: {\n ...onboardingForm.nameAndAddress,\n postCode: postCode\n }\n })\n }\n onAddressObjectChange={(addressData) => selectAddressData(addressData)}\n />\n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n nameAndAddress: {\n ...onboardingForm.nameAndAddress,\n postCode: e.target.value\n }\n })\n }\n >\n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n nameAndAddress: {\n ...onboardingForm.nameAndAddress,\n postCode: e.target.value\n }\n })\n }\n >\n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n nameAndAddress: {\n ...onboardingForm.nameAndAddress,\n addressLine1: e.target.value\n }\n })\n }\n >\n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n nameAndAddress: {\n ...onboardingForm.nameAndAddress,\n addressLine2: e.target.value\n }\n })\n }\n >\n \n \n )}\n
\n
\n );\n }\n\n const nextBtn = (\n {\n nextStep();\n onSubmit();\n }}\n >\n );\n\n return ;\n}\n\nOnboardingNameAdressComponent.propTypes = {\n nextStep: PropTypes.func,\n onboardingForm: PropTypes.object,\n setOnboardingForm: PropTypes.func,\n isDisabled: PropTypes.bool,\n onSubmit: PropTypes.func,\n selectAddressData: PropTypes.func,\n handleSelectedCompany: PropTypes.func,\n getCompanyDetails: PropTypes.func,\n value: PropTypes.string,\n setValue: PropTypes.func,\n inputValue: PropTypes.string,\n setInputValue: PropTypes.func,\n isLoading: PropTypes.bool,\n openDropdown: PropTypes.bool,\n setOpenDropdown: PropTypes.func,\n setLegalNameVal: PropTypes.func,\n showErrorForRegisteredNumber: PropTypes.bool,\n registeredNumberErrorMessage: PropTypes.string,\n isSoleTrader: PropTypes.bool,\n setIsSoleTrader: PropTypes.func,\n setRegisteredNumberHandler: PropTypes.func,\n businessTypes: PropTypes.array,\n setRegBusinessName: PropTypes.func,\n isBankAccountNameSwitchOn: PropTypes.bool,\n setIsBankAccountNameSwitchOn: PropTypes.func,\n bankAccountName: PropTypes.bool,\n setBankAccountName: PropTypes.func,\n bankAccountNameVal: PropTypes.string,\n setBankAccountNameVal: PropTypes.func\n};\n\nexport default OnboardingNameAdressComponent;\n","export const OwnerTitle = {\n MR: 'Mr',\n MISS: 'Miss',\n MRS: 'Mrs',\n MS: 'Ms'\n};\n","import React, { useState, useEffect } from 'react';\nimport OnboardingNameAdressComponent from './onboarding-name-adress.component';\nimport { useOnboardingFormContext, useGlobalStateContext } from 'contexts';\nimport { NonResellerMerchantService, CompaniesHouseService } from 'services';\nimport { BusinessType, BusinessTypeName, BusinessTypeEnumId, BusinessTypeNameAndID } from 'utils/enums/BusinessType';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { OwnerTitle } from 'utils/enums/OwnerTitle';\nimport moment from 'moment';\nimport { validateRegisteredNumber } from 'validators';\nimport _ from 'lodash';\n\nfunction OnboardingNameAdress(props) {\n const { onboardingForm, setOnboardingForm } = useOnboardingFormContext();\n const [legalNameVal, setLegalNameVal] = useState(onboardingForm.nameAndAddress.legalName);\n const [regBusinessNameVal, setRegBusinessNameVal] = useState(onboardingForm.businessDetails.tradingName);\n const [bankAccountNameVal, setBankAccountNameVal] = useState(onboardingForm.tradingAddress.accountHolderName);\n const [isBankAccountNameSwitchOn, setIsBankAccountNameSwitchOn] = useState(false);\n const [regBusinessName, setRegBusinessName] = useState(onboardingForm.businessDetails.isRegisteredBusiness);\n const [isDisabled, setIsDisabled] = useState(true);\n const { globalState } = useGlobalStateContext();\n const [selectedCompany, setSelectedCompany] = useState({});\n const [isLoading, setIsLoading] = useState(false);\n const [value, setValue] = useState(null);\n const [inputValue, setInputValue] = useState('');\n const [openDropdown, setOpenDropdown] = useState(false);\n const [businessTypes, setBusinessTypes] = useState([]);\n const [showErrorForRegisteredNumber, setShowErrorForRegisteredNumber] = useState(false);\n const [registeredNumberErrorMessage, setRegisteredNumberErrorMessage] = useState('');\n const [isSoleTrader, setIsSoleTrader] = useState(false);\n const isUKMerchant = globalState.merchant?.country === MerchantCountries.UNITED_KINGDOM;\n const regNumberCheckRegexUK = new RegExp('^[0-9a-zA-Z]+$');\n const country = globalState.merchant?.country;\n const bankSwitch = localStorage.getItem('isBankAccountNameSwitchOn');\n\n const getBusinessTypeId = (type) => {\n let typeName = '';\n switch (type) {\n case BusinessType.Limited:\n typeName = BusinessTypeName.Limited;\n break;\n case BusinessType.PLC:\n typeName = BusinessTypeName.PLC;\n break;\n case BusinessType.LLP:\n typeName = BusinessTypeName.LLP;\n break;\n case BusinessType.Partnership:\n typeName = BusinessTypeName.Partnership;\n break;\n default:\n typeName = '';\n }\n const businessType = BusinessTypeNameAndID.find((type) => type.name === typeName);\n return businessType ? businessType.id : '--Please select--';\n };\n\n const countryBusinessTypes = () => {\n const newBusinessTypes = _.filter(BusinessTypeNameAndID, function (business) {\n return (\n [\n BusinessTypeEnumId.Limited,\n BusinessTypeEnumId.Partnership,\n BusinessTypeEnumId.Sole_Trader,\n BusinessTypeEnumId.Other\n ].includes(business.id) ||\n (country !== MerchantCountries.UNITED_KINGDOM &&\n country !== MerchantCountries.IRELAND &&\n business.id === BusinessTypeEnumId.Other)\n );\n });\n setBusinessTypes(newBusinessTypes);\n };\n\n useEffect(() => {\n const { registeredNumber, postCode, addressLine1 } = onboardingForm.nameAndAddress;\n const { businessTypeId } = onboardingForm.businessDetails;\n const checkRegBusinessNameVal = regBusinessNameVal ? regBusinessNameVal && regBusinessNameVal.trim() : true;\n const checkBankAccountNameVal = bankAccountNameVal ? bankAccountNameVal && bankAccountNameVal.trim() : true;\n const checkValues =\n validateRegNumber(registeredNumber) &&\n checkRegBusinessNameVal &&\n checkBankAccountNameVal &&\n legalNameVal &&\n legalNameVal.trim() &&\n postCode &&\n addressLine1 &&\n businessTypeId !== '--Please select--';\n\n if (isSoleTrader) {\n setIsDisabled(\n !(\n (regBusinessNameVal && regBusinessNameVal.trim()) ||\n (bankAccountNameVal && bankAccountNameVal.trim()) ||\n isBankAccountNameSwitchOn\n )\n );\n } else {\n setIsDisabled(!checkValues);\n }\n\n // eslint-disable-next-line\n }, [\n onboardingForm.nameAndAddress,\n onboardingForm.businessDetails.businessTypeId,\n onboardingForm.businessDetails,\n bankAccountNameVal,\n regBusinessNameVal,\n isBankAccountNameSwitchOn,\n bankSwitch\n ]);\n useEffect(() => {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n completedSteps: {\n ...onboardingForm.completedSteps,\n nameAndAddress: !isDisabled ? true : false\n }\n }));\n }, [isDisabled, setOnboardingForm]);\n\n useEffect(() => {\n countryBusinessTypes();\n if (bankSwitch) {\n setIsBankAccountNameSwitchOn(true);\n }\n // eslint-disable-next-line\n }, []);\n\n useEffect(() => {\n setIsSoleTrader(onboardingForm.businessDetails.businessTypeId?.toString() === '2');\n }, [onboardingForm.businessDetails.businessTypeId]);\n\n const validateRegNumber = (registeredNumber) => {\n var validateRN = validateRegisteredNumber(globalState.merchant?.country, registeredNumber);\n setShowErrorForRegisteredNumber(!validateRN.isValid);\n setRegisteredNumberErrorMessage(validateRN.message);\n return validateRN.isValid;\n };\n\n const getCompanyDetails = async () => {\n const { companyName } = onboardingForm.nameAndAddress;\n setIsLoading(true);\n const result = await CompaniesHouseService.getCompaniesDetail(companyName, 10);\n if (result.isSuccesfully) {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n\n nameAndAddress: {\n ...onboardingForm.nameAndAddress,\n companies: result.data.items\n },\n companies: result.data.items\n }));\n if (result.data.items.length) setOpenDropdown(true);\n }\n\n setIsLoading(false);\n };\n\n const getOwnerDetails = async (registeredNumber) => {\n let ownersDetails;\n const resultPersonsDetails = await CompaniesHouseService.getPersonsWithSignificantControl(registeredNumber);\n\n if (resultPersonsDetails.isSuccesfully) {\n let ownersWithSignificantPower = resultPersonsDetails.data.items || [];\n ownersWithSignificantPower.forEach((person) => {\n person.date_of_birth = person.date_of_birth || {};\n let dateOfBirth = person.date_of_birth;\n\n dateOfBirth.day = dateOfBirth.day ? dateOfBirth.day.toString().padStart(2, '0') : '';\n dateOfBirth.month = dateOfBirth.month ? dateOfBirth.month.toString().padStart(2, '0') : '';\n dateOfBirth.year = dateOfBirth.year ? dateOfBirth.year.toString().padStart(4, '0') : '';\n\n const ownership = person.natures_of_control.filter((item) => item.startsWith('ownership-of-shares'));\n\n if (ownership.length > 0) {\n const words = ownership[0].split('-').filter((word) => !isNaN(word));\n person.ownershipDetails = {};\n if (words.length === 1) {\n person.ownership = words[0];\n } else if (words.length === 2) {\n person.ownership = words[1];\n }\n }\n\n var name = person.name;\n var titlePerson = person.name_elements?.title;\n if (titlePerson) {\n if (titlePerson[titlePerson.length - 1] === '.') {\n titlePerson = titlePerson.substring(0, titlePerson.length - 1);\n }\n titlePerson = Object.keys(OwnerTitle).filter((key) => OwnerTitle[key] === titlePerson);\n if (titlePerson.length > 0) {\n name = name.substring(titlePerson[0].length + 1);\n }\n titlePerson = OwnerTitle[titlePerson[0]];\n }\n person.names = {\n fullName: name,\n title: titlePerson ?? titlePerson\n };\n });\n\n const personDetails = resultPersonsDetails.data.items[0];\n ownersDetails = {\n ...onboardingForm.ownersDetails,\n title: personDetails.names.title ?? onboardingForm.ownersDetails.title,\n fullName: personDetails.names.fullName,\n dateOfBirth: personDetails.date_of_birth,\n nationality: personDetails.nationality,\n ownership: personDetails.ownership ?? onboardingForm.ownersDetails.ownership\n };\n if (resultPersonsDetails.data.total_results === 1) {\n ownersDetails = {\n ...ownersDetails,\n persons: []\n };\n } else if (resultPersonsDetails.data.total_results > 1) {\n ownersDetails = {\n ...ownersDetails,\n persons: resultPersonsDetails.data.items\n };\n }\n }\n\n return ownersDetails;\n };\n\n const handleSelectedCompany = async (selectedValue) => {\n setSelectedCompany(selectedValue);\n let businessProfile = {};\n if (selectedValue && Object.keys(selectedValue).length) {\n if (selectedValue.date_of_creation) {\n const MONTHS_IN_A_YEAR = 12;\n businessProfile = {\n ...onboardingForm.businessProfile,\n timeInBusinessYears: moment().diff(selectedValue.date_of_creation, 'years', false),\n timeInBusinessMonths:\n moment().diff(selectedValue.date_of_creation, 'months', false) % MONTHS_IN_A_YEAR\n };\n }\n\n const ownersDetails = await getOwnerDetails(selectedValue.company_number);\n\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n ownersDetails: ownersDetails ? ownersDetails : onboardingForm.ownersDetails,\n nameAndAddress: {\n ...onboardingForm.nameAndAddress,\n legalName: selectedValue.title,\n companyName: selectedValue.title,\n registeredNumber: selectedValue.company_number,\n postCode: selectedValue.address.postal_code,\n addressLine1: selectedValue.address.address_line_1,\n addressLine2: selectedValue.address.address_line_2,\n city: selectedValue.address.locality,\n country: selectedValue.address.country\n },\n businessDetails: {\n ...onboardingForm.businessDetails,\n businessTypeId: selectedValue.company_type\n ? getBusinessTypeId(selectedValue.company_type)\n : '--Please select--'\n },\n businessProfile: {\n ...onboardingForm.businessProfile,\n timeInBusinessYears:\n businessProfile && businessProfile.timeInBusinessYears > 0\n ? businessProfile.timeInBusinessYears\n : '0',\n timeInBusinessMonths: businessProfile ? businessProfile.timeInBusinessMonths : ''\n }\n }));\n }\n };\n\n const selectAddressData = (addressData) => {\n if (addressData) {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n nameAndAddress: {\n ...onboardingForm.nameAndAddress,\n addressLine1: addressData.line_1,\n addressLine2: addressData.line_2,\n city: addressData.town_or_city,\n country: addressData.country\n }\n }));\n }\n };\n\n const onSubmit = () => {\n let soleTradertName;\n if (isBankAccountNameSwitchOn) {\n soleTradertName = globalState.merchant.name;\n } else {\n soleTradertName = regBusinessNameVal ? regBusinessNameVal : bankAccountNameVal;\n }\n if (!regBusinessName && !isBankAccountNameSwitchOn) {\n soleTradertName = bankAccountNameVal;\n }\n\n setOnboardingForm({\n ...onboardingForm,\n nameAndAddress: {\n ...onboardingForm.nameAndAddress,\n legalName: isSoleTrader ? soleTradertName : legalNameVal\n }\n });\n\n const data = { ...onboardingForm.nameAndAddress };\n data.legalName = isSoleTrader ? soleTradertName : legalNameVal;\n data.city = null;\n data.country = null;\n data.businessTypeId = onboardingForm.businessDetails.businessTypeId ?? BusinessTypeEnumId.Limited;\n\n const tradingdata = { ...onboardingForm.tradingAddress, step: 2 };\n\n const businessdata = { ...onboardingForm.businessDetails };\n\n NonResellerMerchantService.completeOnboardingStep(globalState.merchant?.id, 1, data);\n NonResellerMerchantService.completeOnboardingStep(globalState.merchant?.id, 2, businessdata);\n NonResellerMerchantService.completeOnboardingStep(globalState.merchant?.id, 3, tradingdata);\n };\n\n const setRegisteredNumberHandler = (e) => {\n let stringValue = e.target.value;\n if (isUKMerchant) {\n if (stringValue.match(regNumberCheckRegexUK) || stringValue === '') {\n setOnboardingForm({\n ...onboardingForm,\n nameAndAddress: {\n ...onboardingForm.nameAndAddress,\n registeredNumber: stringValue\n }\n });\n }\n } else {\n setOnboardingForm({\n ...onboardingForm,\n nameAndAddress: {\n ...onboardingForm.nameAndAddress,\n registeredNumber: stringValue\n }\n });\n }\n };\n\n return (\n \n );\n}\n\nexport default OnboardingNameAdress;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport styles from './onboarding-owner-details.module.scss';\nimport { Grid, NativeSelect, OutlinedInput } from '@material-ui/core';\nimport {\n Input,\n Label,\n NextButton,\n OnboardingTitle,\n OnboardingFormsContainer,\n FormItem,\n SelectedDropDown\n} from 'components/onboarding/onboarding-ui-components';\nimport { ValidEmailInput } from 'components';\nimport { emailValidationPattern } from 'utils/enums/EmailValidationPattern';\nimport { OnboardingOwnerPrimaryAddress } from 'components';\nimport { checkEmptyValue, getArrayFromString } from 'validators/onboarding/onboarding-check-value.validator';\nimport { OwnerTitle } from 'utils/enums/OwnerTitle';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { CheckMerchantCountries } from '../onboarding-ui-components/check-merchant-countries/check-merchant-countries';\nimport ReactCodeInput from 'react-verification-code-input';\nimport { useMediaQuery } from '@material-ui/core';\nimport NumberFormat from 'react-number-format';\nimport PhoneInput from 'react-phone-input-2';\nimport 'react-phone-input-2/lib/bootstrap.css';\nfunction OnboardingOwnerDetailsComponent(props) {\n const {\n nextStep,\n onboardingForm,\n setOnboardingForm,\n isDisabled,\n shouldNextStep,\n setShouldNextStep,\n onSubmit,\n dobValidationFailed,\n setPersonDetails,\n oneHundredValues,\n phoneNumberValidator,\n isT2SMerchant,\n dobInvalidFields,\n monthInputElementRef,\n yearInputElementRef,\n emailInputElementRef,\n dayChangeHandler,\n monthChangeHandler,\n yearChangeHandler\n } = props;\n\n const mediaLessThan600px = useMediaQuery('(max-width:599px)');\n\n const title = (\n \n );\n\n function formBody() {\n return (\n \n
Primary owner
\n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n title: e.target.value\n }\n })\n }\n >\n }\n >\n {Object.keys(OwnerTitle).map((key) => (\n \n ))}\n \n \n \n \n \n \n {onboardingForm.ownersDetails.persons.length === 0 ? (\n \n setOnboardingForm({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n fullName: e.target.value\n }\n })\n }\n >\n ) : (\n setPersonDetails(e.target.value)}\n >\n }\n >\n {onboardingForm.ownersDetails.persons.map((person, index) => (\n \n ))}\n \n )}\n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n nationality: e.target.value\n }\n })\n }\n >\n }\n value={onboardingForm.ownersDetails.nationality}\n >\n {onboardingForm.nationalities.map((nationality) => (\n \n ))}\n \n \n \n \n \n \n
\n \n \n \n
\n
\n
\n \n {\n setOnboardingForm({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n email: e.target.value.toLowerCase()\n }\n });\n }}\n />\n \n \n \n \n \n\n \n setOnboardingForm({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n contactTel: phoneNumberValidator(\n mobileNumber,\n onboardingForm.ownersDetails.contactTel\n )\n }\n })\n }\n inputClass={styles.phoneInput}\n name=\"Mobile Number\"\n />\n \n \n \n \n \n \n \n\n \n setOnboardingForm({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n contactTel: phoneNumberValidator(\n mobileNumber,\n onboardingForm.ownersDetails.contactTel\n )\n }\n })\n }\n inputClass={styles.phoneInput}\n name=\"Mobile Number\"\n />\n \n \n \n \n \n \n\n \n {onboardingForm.isPopulated && (\n \n \n \n \n )}\n \n
\n
\n );\n }\n\n const nextBtn = (\n {\n setShouldNextStep(true);\n onSubmit();\n }}\n >\n );\n\n return (\n \n {shouldNextStep ? (\n \n ) : (\n \n )}\n \n );\n}\n\nOnboardingOwnerDetailsComponent.propTypes = {\n nextStep: PropTypes.func,\n onboardingForm: PropTypes.object,\n setOnboardingForm: PropTypes.func,\n isDisabled: PropTypes.bool,\n shouldNextStep: PropTypes.bool,\n setShouldNextStep: PropTypes.func,\n onSubmit: PropTypes.func,\n oneHundredValues: PropTypes.array,\n setPersonDetails: PropTypes.func,\n nationalities: PropTypes.array,\n phoneNumberValidator: PropTypes.func,\n dayChangeHandler: PropTypes.func,\n monthChangeHandler: PropTypes.func,\n yearChangeHandler: PropTypes.func\n};\n\nexport default OnboardingOwnerDetailsComponent;\n","import React, { useState, useEffect, useRef } from 'react';\nimport OnboardingOwnerDetailsComponent from './onboarding-owner-details.component';\nimport { useOnboardingFormContext, useGlobalStateContext } from 'contexts';\nimport { NonResellerMerchantService } from 'services';\nimport moment from 'moment';\nimport _ from 'lodash';\n\nimport { validateSocialSecurity, InputValidators, getInvalidDobFields } from 'validators';\n\nfunction OnboardingOwnerDetails(props) {\n const { onboardingForm, setOnboardingForm } = useOnboardingFormContext();\n const [isDisabled, setIsDisabled] = useState(true);\n const [shouldNextStep, setShouldNextStep] = useState(false);\n const [dobValidationFailed, setDobValidationFailed] = useState(false);\n const [dobInvalidFields, setDobInvalidFields] = useState([]);\n const { globalState } = useGlobalStateContext();\n const oneHundredValues = [...Array(100).keys()].map((item) => item + 1);\n const isT2SMerchant = globalState.isT2SMerchant;\n\n const monthInputElementRef = useRef(null);\n const yearInputElementRef = useRef(null);\n const emailInputElementRef = useRef(null);\n\n useEffect(() => {\n const {\n fullName,\n email,\n contactTel,\n businessTitle,\n nationality,\n dateOfBirth,\n ownership,\n ssnLastDigits\n } = onboardingForm.ownersDetails;\n\n const dateOfBirthMoment =\n dateOfBirth && moment([dateOfBirth.day, dateOfBirth.month, dateOfBirth.year].join('-'), 'DD-MM-YYYY');\n const isDateOfBirthProper =\n dateOfBirth &&\n dateOfBirthMoment.isValid() &&\n +dateOfBirth.day >= 0 &&\n +dateOfBirth.month >= 0 &&\n +dateOfBirth.year >= 1900 &&\n dateOfBirthMoment.valueOf() <= moment().valueOf();\n\n const dobFieldsWithIssues = getInvalidDobFields(dateOfBirth);\n setDobInvalidFields(dobFieldsWithIssues);\n\n const socialSecurityValidator = validateSocialSecurity(globalState.merchant?.country, ssnLastDigits);\n const checkValues =\n fullName &&\n InputValidators.isEmailValid(email) &&\n contactTel &&\n businessTitle &&\n nationality !== '--Please select--' &&\n (isT2SMerchant || ownership) &&\n isDateOfBirthProper &&\n ownership &&\n _.isEmpty(dobFieldsWithIssues) &&\n socialSecurityValidator;\n\n setDobValidationFailed(!isDateOfBirthProper);\n setIsDisabled(!checkValues);\n // eslint-disable-next-line\n }, [onboardingForm.ownersDetails, globalState.merchant.country]);\n\n useEffect(() => {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n completedSteps: {\n ...onboardingForm.completedSteps,\n ownerDetails: isDisabled ? false : true\n }\n }));\n }, [isDisabled, setOnboardingForm]);\n\n const onSubmit = () => {\n //Cloning to not impact onBoardingForm in case of dateOfBirth change\n const ownersDetails = { ...onboardingForm.ownersDetails };\n ownersDetails.dateOfBirth = { ...ownersDetails.dateOfBirth };\n\n const fullData = {\n ownersDetails: ownersDetails,\n subStepNumber: 1\n };\n\n fullData.ownersDetails.dateOfBirth = { ...fullData.ownersDetails.dateOfBirth };\n const dateOfBirth = fullData.ownersDetails.dateOfBirth;\n fullData.ownersDetails.dateOfBirth = moment(\n [dateOfBirth.day, dateOfBirth.month, dateOfBirth.year].join('-'),\n 'DD-MM-YYYY'\n ).format('YYYY-MM-DD');\n\n NonResellerMerchantService.completeOnboardingStep(globalState.merchant?.id, 4, fullData);\n };\n\n const setPersonDetails = (name) => {\n const personDetails = onboardingForm.ownersDetails.persons.filter(\n (person) => person.names.fullName === name\n )[0];\n const dateOfBirth = personDetails.date_of_birth;\n\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n title: personDetails.names.title,\n fullName: personDetails.names.fullName,\n dateOfBirth: dateOfBirth,\n nationality: personDetails.nationality,\n ownership: personDetails.ownership\n }\n }));\n };\n\n const dayChangeHandler = ({ value }) => {\n if (value.length > 2) {\n value = onboardingForm.ownersDetails.dateOfBirth?.day || '';\n }\n\n if (value.length > 1 || (value.length === 1 && value > 3)) {\n setTimeout(() => {\n monthInputElementRef.current.focus();\n });\n }\n\n setOnboardingForm({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n dateOfBirth: {\n ...onboardingForm.ownersDetails.dateOfBirth,\n day: value\n }\n }\n });\n };\n\n const monthChangeHandler = ({ value }) => {\n if (value.length > 2) {\n value = onboardingForm.ownersDetails.dateOfBirth?.month || '';\n }\n\n if (value.length > 1 || (value.length === 1 && value > 1)) {\n setTimeout(() => {\n yearInputElementRef.current.focus();\n });\n }\n\n setOnboardingForm({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n dateOfBirth: {\n ...onboardingForm.ownersDetails.dateOfBirth,\n month: value\n }\n }\n });\n };\n\n const yearChangeHandler = ({ value }) => {\n if (value.length > 4) {\n value = onboardingForm.ownersDetails.dateOfBirth?.year || '';\n }\n\n if (value.length > 3) {\n setTimeout(() => {\n emailInputElementRef.current.focus();\n });\n }\n\n setOnboardingForm({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n dateOfBirth: {\n ...onboardingForm.ownersDetails.dateOfBirth,\n year: value\n }\n }\n });\n };\n\n return (\n \n );\n}\n\nexport default OnboardingOwnerDetails;\n","import PropTypes from 'prop-types';\nimport React from 'react';\nimport styles from './t2s-onboarding-owner-details.module.scss';\nimport { Grid, NativeSelect, OutlinedInput, Select, MenuItem, FormControl } from '@material-ui/core';\nimport {\n Input,\n Label,\n NextButton,\n OnboardingTitle,\n OnboardingFormsContainer,\n FormItem,\n PostCodeSelector\n} from 'components/onboarding/onboarding-ui-components';\nimport { ValidEmailInput } from 'components';\nimport { checkEmptyValue } from 'validators/onboarding/onboarding-check-value.validator';\nimport { emailValidationPattern } from 'utils/enums/EmailValidationPattern';\nimport { OwnerTitle } from 'utils/enums/OwnerTitle';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { CheckMerchantCountries } from '../onboarding-ui-components/check-merchant-countries/check-merchant-countries';\nimport { Checkbox, FormControlLabel } from '@material-ui/core';\nimport NumberFormat from 'react-number-format';\nimport PhoneInput from 'react-phone-input-2';\nimport 'react-phone-input-2/lib/bootstrap.css';\nimport { FormatMessage, translateText } from 'utils/languageTranslater';\nimport { useGlobalStateContext } from 'contexts';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport { LoadingScreen } from 'components';\nimport { AUSStateCodes, USAStateCodes } from 'utils/onboarding-helper';\nimport { BusinessTypeEnumId } from 'utils/enums/BusinessType';\n\nfunction T2SOnboardingOwnerDetailsComponent(props) {\n const {\n nextStep,\n onboardingForm,\n setOnboardingForm,\n isABNValid,\n EinErrors,\n isEINValid,\n addHyphens,\n doValidationABN,\n handleChange,\n abnErrors,\n isDisabled,\n onSubmit,\n dobValidationFailed,\n phoneNumberValidator,\n dobInvalidFields,\n monthInputElementRef,\n yearInputElementRef,\n emailInputElementRef,\n dayChangeHandler,\n monthChangeHandler,\n yearChangeHandler,\n onChangeSameAddress,\n selectAddressData,\n validationMap,\n firstName,\n lastName,\n setFirstName,\n setLastName,\n setDialCode,\n dialCode,\n validateName,\n isLoading,\n selectedMonth,\n months,\n reverseMonthEnum,\n setShowUrlValidationMessage,\n onSSNChange,\n maskedSSNValue,\n doValidation,\n PPSNumberError,\n isPPSNumber,\n doValidationPPS\n } = props;\n\n const { globalState } = useGlobalStateContext();\n\n const isActiveMerchant = globalState.merchant?.status === MerchantStatus.ACTIVE;\n const isUkMerchant = globalState.merchant?.country === MerchantCountries.UNITED_KINGDOM;\n const isUSAMerchant = globalState.merchant?.country === MerchantCountries.UNITED_STATES;\n const isIREMerchant = globalState.merchant?.country === MerchantCountries.IRELAND;\n const maxSSNLength = 9;\n\n const title = (\n \n );\n\n function formBody() {\n return (\n \n
\n {translateText({ id: 'primary-owner', text: 'Primary owner' })}\n
\n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n title: e.target.value\n }\n })\n }\n emptyField={\n isUkMerchant &&\n isActiveMerchant &&\n !checkEmptyValue(onboardingForm.ownersDetails.title)\n ? true\n : false\n }\n >\n }\n >\n {Object.keys(OwnerTitle).map((key) => (\n \n ))}\n \n \n \n \n \n
\n
\n \n setFirstName(validateName(e.target.value))}\n emptyField={\n isActiveMerchant && !checkEmptyValue(firstName) && isUkMerchant\n ? true\n : false\n }\n >\n
\n
\n \n setLastName(validateName(e.target.value))}\n emptyField={\n isActiveMerchant && !checkEmptyValue(lastName) && isUkMerchant\n ? true\n : false\n }\n >\n
\n
\n
\n
\n\n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n personalId: e.target.value\n }\n })\n }\n >\n \n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n nationality: e.target.value\n }\n })\n }\n emptyField={\n isUkMerchant &&\n isActiveMerchant &&\n onboardingForm.ownersDetails.nationality === '--Please select--'\n ? true\n : false\n }\n >\n }\n value={onboardingForm.ownersDetails.nationality}\n >\n {onboardingForm.nationalities.map((nationality) => (\n \n ))}\n \n \n \n \n \n \n
\n \n \n }\n inputProps={{\n ref: monthInputElementRef\n }}\n >\n {months.map((month, index) => (\n \n {month}\n \n ))}\n \n \n \n
\n
\n
\n \n {\n setOnboardingForm({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n email: e.target.value.toLowerCase()\n }\n });\n }}\n emptyField={\n isUkMerchant && isActiveMerchant && !checkEmptyValue(onboardingForm.ownersDetails.email)\n ? true\n : false\n }\n />\n \n\n \n \n {!isUSAMerchant && !isIREMerchant ? (\n <>\n \n \n {\n setOnboardingForm({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n tinNumber: e.target.value.replace(/[^\\d]/g, '')\n }\n });\n doValidationABN(e.target.value.replace(/[^\\d]/g, ''));\n }}\n >\n {isABNValid && onboardingForm?.ownersDetails?.tinNumber?.length > 0 && (\n

{abnErrors}

\n )}\n
\n \n ) : isIREMerchant ? (\n <>\n \n \n {\n setOnboardingForm({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n tinNumber: e.target.value.toUpperCase()\n }\n });\n doValidationPPS(e.target.value.toUpperCase());\n }}\n >\n {isPPSNumber && onboardingForm?.ownersDetails?.tinNumber?.length > 0 && (\n

{PPSNumberError}

\n )}\n
\n \n ) : onboardingForm.businessDetails.businessTypeId !=\n BusinessTypeEnumId.Sole_Trader.toString() ? (\n <>\n \n \n \n {isEINValid && onboardingForm?.ownersDetails?.tinNumber?.length > 0 && (\n

{EinErrors}

\n )}\n
\n {isUSAMerchant && (\n \n \n {\n if (e.target.value.length <= maxSSNLength) {\n doValidation(e.target.value);\n setShowUrlValidationMessage(false);\n onSSNChange(e);\n }\n }}\n />\n {onboardingForm?.ownersDetails?.ssnLastDigits?.length !== 9 &&\n onboardingForm?.ownersDetails?.ssnLastDigits?.length > 0 && (\n

\n Please Enter valid SSN\n

\n )}\n
\n )}\n \n ) : (\n \n \n )}\n \n
\n \n \n \n \n {\n setOnboardingForm({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n contactTel: phoneNumberValidator(\n mobileNumber,\n onboardingForm.ownersDetails.contactTel\n )\n }\n });\n setDialCode(data.dialCode);\n }}\n inputClass={\n isUkMerchant &&\n isActiveMerchant &&\n (!checkEmptyValue(onboardingForm.ownersDetails.contactTel) ||\n onboardingForm.ownersDetails.contactTel === dialCode)\n ? styles.phoneInputEmpty\n : styles.phoneInput\n }\n name=\"Mobile Number\"\n />\n \n \n\n \n \n {\n setOnboardingForm({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n contactTel: phoneNumberValidator(\n mobileNumber,\n onboardingForm.ownersDetails.contactTel\n )\n }\n });\n setDialCode(data.dialCode);\n }}\n inputClass={styles.phoneInput}\n name=\"Mobile Number\"\n />\n \n \n \n \n {isUSAMerchant ? (\n onChangeSameAddress(e.target.checked)}\n />\n }\n label={translateText({\n id: 'address-checkbox-for-usa',\n text: 'Owner address same as business address'\n })}\n labelPlacement=\"end\"\n />\n ) : (\n onChangeSameAddress(e.target.checked)}\n />\n }\n label={translateText({\n id: 'address-checkbox',\n text: 'Owner address same as trading address'\n })}\n labelPlacement=\"end\"\n />\n )}\n \n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n ownerPrimaryAddress: {\n ...onboardingForm.ownerPrimaryAddress,\n postCode: postCode\n }\n })\n }\n onAddressObjectChange={(addressData) => selectAddressData(addressData)}\n emptyField={\n isUkMerchant &&\n isActiveMerchant &&\n !checkEmptyValue(onboardingForm.ownerPrimaryAddress.postCode)\n ? true\n : false\n }\n />\n \n \n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n ownerPrimaryAddress: {\n ...onboardingForm.ownerPrimaryAddress,\n postCode: e.target.value\n }\n })\n }\n >\n \n \n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n ownerPrimaryAddress: {\n ...onboardingForm.ownerPrimaryAddress,\n postCode: e.target.value\n }\n })\n }\n >\n \n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n ownerPrimaryAddress: {\n ...onboardingForm.ownerPrimaryAddress,\n addressLine1: e.target.value\n }\n })\n }\n emptyField={\n isUkMerchant &&\n isActiveMerchant &&\n !checkEmptyValue(onboardingForm.ownerPrimaryAddress.addressLine1)\n ? true\n : false\n }\n />\n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n ownerPrimaryAddress: {\n ...onboardingForm.ownerPrimaryAddress,\n addressLine2: e.target.value\n }\n })\n }\n />\n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n ownerPrimaryAddress: {\n ...onboardingForm.ownerPrimaryAddress,\n city: e.target.value\n }\n })\n }\n emptyField={\n isUkMerchant &&\n isActiveMerchant &&\n !checkEmptyValue(onboardingForm.ownerPrimaryAddress.city)\n ? true\n : false\n }\n />\n \n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n ownerPrimaryAddress: {\n ...onboardingForm.ownerPrimaryAddress,\n state: e.target.value\n }\n })\n }\n >\n }\n >\n {AUSStateCodes.map((type) => {\n return (\n \n );\n })}\n \n \n \n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n ownerPrimaryAddress: {\n ...onboardingForm.ownerPrimaryAddress,\n state: e.target.value\n }\n })\n }\n >\n }\n >\n {USAStateCodes.map((type) => {\n return (\n \n );\n })}\n \n \n \n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n ownerPrimaryAddress: {\n ...onboardingForm.ownerPrimaryAddress,\n state: e.target.value\n }\n })\n }\n />\n \n \n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n ownerPrimaryAddress: {\n ...onboardingForm.ownerPrimaryAddress,\n country: e.target.value\n }\n })\n }\n emptyField={\n isUkMerchant &&\n isActiveMerchant &&\n !checkEmptyValue(onboardingForm.ownerPrimaryAddress.country)\n ? true\n : false\n }\n />\n \n \n \n \n \n \n \n \n \n
\n \n
\n );\n }\n\n const nextBtn = (\n {\n nextStep();\n onSubmit();\n }}\n >\n );\n\n return (\n \n \n \n );\n}\n\nT2SOnboardingOwnerDetailsComponent.propTypes = {\n nextStep: PropTypes.func,\n onboardingForm: PropTypes.object,\n setOnboardingForm: PropTypes.func,\n isDisabled: PropTypes.bool,\n shouldNextStep: PropTypes.bool,\n setShouldNextStep: PropTypes.func,\n onSubmit: PropTypes.func,\n oneHundredValues: PropTypes.array,\n setPersonDetails: PropTypes.func,\n nationalities: PropTypes.array,\n phoneNumberValidator: PropTypes.func,\n dayChangeHandler: PropTypes.func,\n monthChangeHandler: PropTypes.func,\n yearChangeHandler: PropTypes.func\n};\n\nexport default T2SOnboardingOwnerDetailsComponent;\n","export const CountryCode = {\n Australia: 'au',\n Anguilla: 'gd',\n default: 'gb'\n};\n\nexport const CountryCodeOfPhoneNumber = {\n Australia: '61',\n 'United Kingdom': '44',\n 'New Zealand': '64',\n Canada: '1',\n 'United States': '1',\n Ireland: '353',\n Mexico: '52'\n};\n","import React, { useState, useEffect, useRef, useCallback } from 'react';\nimport T2SOnboardingOwnerDetailsComponent from './t2s-onboarding-owner-details.component';\nimport { useOnboardingFormContext, useGlobalStateContext } from 'contexts';\nimport { NonResellerMerchantService, AuthService } from 'services';\nimport moment from 'moment';\nimport _ from 'lodash';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { InputValidators, getInvalidDobFields, validateSocialSecurity } from 'validators';\nimport { CountryCodeOfPhoneNumber } from 'utils/enums/CountryCodeToName';\nimport { UserType } from 'utils/enums/UserType';\nimport { debounce } from 'lodash';\nimport { formTypes } from 'utils/enums/FormTypes';\nimport { isTokenGoingToExpire } from 'utils/helper';\nimport { months, monthEnum, reverseMonthEnum } from 'utils/onboarding-helper';\nimport { isvalidAbn, isValidPPSNumber, validateEIN } from 'validators/onboarding/onboarding-check-value.validator';\n\nfunction T2SOnboardingOwnerDetails(props) {\n const { globalState } = useGlobalStateContext();\n\n const [showUrlValidationMessage, setShowUrlValidationMessage] = useState(false);\n const { onboardingForm, setOnboardingForm } = useOnboardingFormContext();\n const [isDisabled, setIsDisabled] = useState(true);\n const [dobValidationFailed, setDobValidationFailed] = useState(false);\n const [validationMap, setValidationMap] = useState({});\n const [dobInvalidFields, setDobInvalidFields] = useState([]);\n const [firstName, setFirstName] = useState(\n onboardingForm?.ownersDetails?.fullName?.split(' ').slice(0, -1).join(' ')\n );\n const [lastName, setLastName] = useState(onboardingForm?.ownersDetails?.fullName?.split(' ').slice(-1).join(' '));\n\n const oneHundredValues = [...Array(100).keys()].map((item) => item + 1);\n const monthInputElementRef = useRef(null);\n const yearInputElementRef = useRef(null);\n const emailInputElementRef = useRef(null);\n const isMexicanmerchant = globalState.merchant?.country === MerchantCountries.MEXICO;\n const isAdyenMerchant = globalState?.merchant.isAdyenMerchant;\n const isAdmin =\n globalState.user?.UserType?.name === UserType.Admin || globalState.user?.UserType?.name === UserType.SuperAdmin;\n\n let country;\n if (!isMexicanmerchant) {\n country = onboardingForm.ownerPrimaryAddress.country;\n } else {\n country = MerchantCountries.MEXICO;\n }\n const [dialCode, setDialCode] = useState('');\n const [csrfToken, setCSRFToken] = useState('');\n const [isLoading, setIsLoading] = useState(false);\n const [isABNValid, setIsABNValid] = useState(false);\n const [abnErrors, setAbnErrors] = useState('');\n const [PPSNumberError, setPPSNumberError] = useState('');\n const [isPPSNumber, setIsPPSNumber] = useState(false);\n const [PPSNumberFirstTime, setPPSNumberFirstTime] = useState(true);\n const [fistTime, setFirstTime] = useState(true);\n const [isEINValid, setIsEINValid] = useState(true);\n const [EinErrors, setEinErrors] = useState('');\n const [EinNumberFirstTime, setEinNumberFirstTime] = useState(true);\n const [maskedSSNValue, setMaskedSSNValue] = useState('');\n const [ssnValue, setSsnValue] = useState('');\n const isUSAMerchant = globalState.merchant?.country === MerchantCountries.UNITED_STATES;\n const isAUSMerchant = globalState.merchant?.country === MerchantCountries.AUSTRALIA;\n const isIREMerchant = globalState.merchant.country === MerchantCountries.IRELAND;\n\n // State for selecting onboarding month number on the basis of dropdown\n const onboardingMonth = monthEnum[Number(onboardingForm?.ownersDetails?.dateOfBirth?.month) || 0];\n const [selectedMonth, setSelectedMonth] = useState(onboardingMonth);\n //Use effect to re-render the component in order to make the selected dropdown value visible\n useEffect(() => {\n setSelectedMonth(onboardingMonth);\n }, [onboardingMonth]);\n const isTinNumberEmpty =\n !onboardingForm.ownersDetails.tinNumber || onboardingForm.ownersDetails.tinNumber.length === 0;\n\n const generateCSRFToken = async () => {\n setIsLoading(true);\n const response = await AuthService.generateCSRFToken(\n formTypes.ONBOARDING_OWNER_DETAILS,\n globalState.merchant?.id\n );\n if (response.isSuccesfully) {\n setCSRFToken(response.data.csrfToken);\n }\n setIsLoading(false);\n return response?.data?.csrfToken;\n };\n\n useEffect(() => {\n generateCSRFToken();\n // eslint-disable-next-line\n }, []);\n\n useEffect(() => {\n let {\n fullName,\n email,\n contactTel,\n businessTitle,\n personalId,\n nationality,\n dateOfBirth,\n ownership,\n tinNumber\n } = onboardingForm.ownersDetails;\n\n const { postCode, addressLine1, state, city } = onboardingForm.ownerPrimaryAddress;\n const dateOfBirthMoment =\n dateOfBirth && moment([dateOfBirth.day, dateOfBirth.month, dateOfBirth.year].join('-'), 'DD-MM-YYYY');\n const isDateOfBirthProper =\n dateOfBirth &&\n dateOfBirthMoment.isValid() &&\n +dateOfBirth.day >= 0 &&\n +dateOfBirth.month >= 0 &&\n +dateOfBirth.year >= 1900 &&\n dateOfBirthMoment.valueOf() <= moment().valueOf();\n\n const personalIdCheck = globalState.merchant.country === MerchantCountries.MEXICO ? personalId : true;\n const tinValidationMessage =\n globalState.merchant.country === MerchantCountries.UNITED_STATES\n ? validateEIN(tinNumber)\n : globalState.merchant.country === MerchantCountries.AUSTRALIA\n ? isvalidAbn(tinNumber)\n : globalState.merchant?.country === MerchantCountries.IRELAND\n ? isValidPPSNumber(tinNumber)\n : '';\n\n const einCheck =\n globalState.merchant.country === MerchantCountries.UNITED_STATES ? tinValidationMessage === '' : true;\n const abnCheck =\n globalState.merchant.country === MerchantCountries.AUSTRALIA ? tinValidationMessage === '' : true;\n const ppsNumberCheck =\n globalState.merchant?.country === MerchantCountries.IRELAND ? tinValidationMessage === '' : true;\n fullName = `${firstName.trim()} ${lastName.trim()}`;\n\n let nameCheck = true;\n if (!firstName || !lastName) {\n nameCheck = false;\n }\n\n const dobFieldsWithIssues = getInvalidDobFields(dateOfBirth);\n setDobInvalidFields(dobFieldsWithIssues);\n setValidationMap({ ...validationMap, nationality: nationality === '--Please select--' ? 'FAILED' : 'PASSED' });\n\n const einValueCheck = () => {\n if (isUSAMerchant) {\n if (!isTinNumberEmpty) {\n return true;\n } else {\n return false;\n }\n }\n return true;\n };\n\n const shouldEnableButton = () => {\n const tinNumberExists = onboardingForm?.ownersDetails?.tinNumber;\n const ssnExists = Boolean(ssnValue);\n // United States-specific logic\n if (globalState.merchant.country === MerchantCountries.UNITED_STATES) {\n const isSSNValid = ssnExists && socialSecurityValidator; // Validates SSN if provided\n const isEINValid = tinNumberExists && einCheck; // Validates TIN if provided\n // If both SSN and TIN are provided, both must be valid\n if (ssnExists && tinNumberExists) {\n return isSSNValid && isEINValid;\n }\n // If only SSN is provided, it must be valid\n if (ssnExists) {\n return isSSNValid;\n }\n // If only TIN is provided, it must be valid\n if (tinNumberExists) {\n return isEINValid;\n }\n // If neither SSN nor TIN is provided, disable the button\n return true;\n }\n // Australia-specific logic\n if (globalState.merchant.country === MerchantCountries.AUSTRALIA) {\n if (!tinNumberExists) {\n // If TIN doesn't exist, disable the button\n return true;\n }\n // If TIN exists, validate ABN\n return abnCheck;\n }\n if (globalState.merchant.country === MerchantCountries.IRELAND) {\n if (!tinNumberExists) {\n return true;\n }\n return ppsNumberCheck;\n }\n return true;\n };\n const ppsValueCheck = () => {\n if (isIREMerchant) {\n if (!isTinNumberEmpty) {\n return true;\n } else {\n return false;\n }\n }\n return true;\n };\n\n let checkValues =\n fullName &&\n nameCheck &&\n InputValidators.isEmailValid(email) &&\n contactTel &&\n businessTitle &&\n nationality !== '--Please select--' &&\n isDateOfBirthProper &&\n ownership &&\n _.isEmpty(dobFieldsWithIssues) &&\n postCode &&\n personalIdCheck &&\n addressLine1 &&\n city &&\n country &&\n shouldEnableButton() &&\n einValueCheck() &&\n ppsValueCheck();\n\n if (isAUSMerchant || isUSAMerchant) {\n checkValues = checkValues && state;\n }\n\n setDobValidationFailed(!isDateOfBirthProper);\n setIsDisabled(!checkValues);\n\n // eslint-disable-next-line\n }, [\n onboardingForm.ownersDetails,\n globalState.merchant.country,\n onboardingForm.ownerPrimaryAddress,\n firstName,\n lastName,\n ssnValue,\n isTinNumberEmpty\n ]);\n\n useEffect(() => {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n completedSteps: {\n ...onboardingForm.completedSteps,\n ownerDetails: !isDisabled ? true : false\n }\n }));\n }, [isDisabled, setOnboardingForm]);\n\n useEffect(() => {\n const { businessDetails, ownerPrimaryAddress, tradingAddress, ownersDetails } = onboardingForm;\n const isSameAsTradingAddress =\n ownerPrimaryAddress.postCode === tradingAddress.postCode &&\n ownerPrimaryAddress.addressLine1 === tradingAddress.addressLine1 &&\n ownerPrimaryAddress.addressLine2 === tradingAddress.addressLine2 &&\n ownerPrimaryAddress.city === tradingAddress.city &&\n ownerPrimaryAddress.state === tradingAddress.state &&\n ownerPrimaryAddress.country === tradingAddress.country;\n const isSameAsBusinessPhoneNumber = ownersDetails.contactTel === businessDetails.phoneNumber;\n const isSameAsBusinessEmail = ownersDetails.email === businessDetails.email;\n\n if (onboardingForm.ownerPrimaryAddress.isSameAsTradingAddress !== isSameAsTradingAddress) {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n ownerPrimaryAddress: {\n ...onboardingForm.ownerPrimaryAddress,\n isSameAsTradingAddress: isSameAsTradingAddress\n }\n }));\n }\n\n if (onboardingForm.ownersDetails.isSameAsBusinessEmail !== isSameAsBusinessEmail) {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n isSameAsBusinessEmail: isSameAsBusinessEmail\n }\n }));\n }\n if (onboardingForm.ownersDetails.isSameAsBusinessPhoneNumber !== isSameAsBusinessPhoneNumber) {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n isSameAsBusinessPhoneNumber: isSameAsBusinessPhoneNumber\n }\n }));\n }\n }, [onboardingForm, setOnboardingForm]);\n const removeHyphens = (input) => {\n return input?.replace(/-/g, '');\n };\n\n const onSubmit = async () => {\n const isCSRFGoingToExpire = isTokenGoingToExpire(csrfToken);\n let latestCSRFToken = csrfToken;\n if (isCSRFGoingToExpire) {\n latestCSRFToken = await generateCSRFToken();\n }\n let ownersDetails = { ...onboardingForm.ownersDetails };\n\n const fullName = `${firstName.trim()} ${lastName.trim()}`;\n if (fullName !== onboardingForm.ownerDetails?.fullName) {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n fullName: fullName,\n contactTel: ownersDetails?.contactTel\n }\n }));\n ownersDetails = {\n ...ownersDetails,\n fullName: fullName,\n contactTel: ownersDetails?.contactTel,\n tinNumber: ownersDetails?.tinNumber ? removeHyphens(ownersDetails.tinNumber) : ''\n };\n }\n\n //Cloning to not impact onBoardingForm in case of dateOfBirth change\n const ownerPrimaryAddress = { ...onboardingForm.ownerPrimaryAddress };\n ownersDetails.dateOfBirth = { ...ownersDetails.dateOfBirth };\n if (isMexicanmerchant) {\n ownerPrimaryAddress.country = MerchantCountries.MEXICO;\n }\n if (ssnValue) {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n ssnLastDigits: ssnValue\n }\n }));\n }\n\n const fullData = {\n ownersDetails: ownersDetails,\n subStepNumber: 1,\n formType: formTypes.ONBOARDING_OWNER_DETAILS\n };\n\n const data = {\n addressData: ownerPrimaryAddress,\n subStepNumber: 2,\n businessTypeId: onboardingForm?.businessDetails?.businessTypeId,\n firstName: firstName,\n lastName: lastName,\n fullName: fullName,\n formType: formTypes.ONBOARDING_OWNER_DETAILS\n };\n\n const adyenFullName = `${firstName} ${lastName}`;\n\n if (isAdyenMerchant && isAdmin && adyenFullName !== onboardingForm.ownerDetails?.fullName) {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n fullName: `${firstName} ${lastName}`,\n contactTel: ownersDetails?.contactTel\n }\n }));\n }\n\n fullData.ownersDetails.dateOfBirth = { ...fullData.ownersDetails.dateOfBirth };\n const dateOfBirth = fullData.ownersDetails.dateOfBirth;\n fullData.ownersDetails.dateOfBirth = moment(\n [dateOfBirth.day, dateOfBirth.month, dateOfBirth.year].join('-'),\n 'DD-MM-YYYY'\n ).format('YYYY-MM-DD');\n console.log('fullData', fullData);\n await NonResellerMerchantService.completeOnboardingStep(globalState.merchant?.id, 4, fullData, latestCSRFToken);\n await NonResellerMerchantService.completeOnboardingStep(globalState.merchant?.id, 4, data, latestCSRFToken);\n };\n\n const setPersonDetails = (name) => {\n const personDetails = onboardingForm.ownersDetails.persons.filter(\n (person) => person.names.fullName === name\n )[0];\n const dateOfBirth = personDetails.date_of_birth;\n\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n title: personDetails.names.title,\n fullName: personDetails.names.fullName,\n dateOfBirth: dateOfBirth,\n nationality: personDetails.nationality,\n ownership: personDetails.ownership\n }\n }));\n };\n\n const dayChangeHandler = ({ value }) => {\n if (value.length > 2) {\n value = onboardingForm.ownersDetails.dateOfBirth?.day || '';\n }\n\n if (value.length > 1 || (value.length === 1 && value > 3)) {\n setTimeout(() => {\n monthInputElementRef.current.focus();\n });\n }\n\n setOnboardingForm({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n dateOfBirth: {\n ...onboardingForm.ownersDetails.dateOfBirth,\n day: value\n }\n }\n });\n };\n\n const monthChangeHandler = (event) => {\n setOnboardingForm({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n dateOfBirth: {\n ...onboardingForm.ownersDetails.dateOfBirth,\n month: event.target.value\n }\n }\n });\n };\n\n const yearChangeHandler = ({ value }) => {\n if (value.length > 4) {\n value = onboardingForm.ownersDetails.dateOfBirth?.year || '';\n }\n\n if (value.length > 3) {\n setTimeout(() => {\n emailInputElementRef.current && emailInputElementRef.current.focus();\n });\n }\n\n setOnboardingForm({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n dateOfBirth: {\n ...onboardingForm.ownersDetails.dateOfBirth,\n year: value\n }\n }\n });\n };\n\n const onChangeSameAddress = (checked) => {\n if (checked) {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n ownerPrimaryAddress: {\n ...onboardingForm.ownerPrimaryAddress,\n addressLine1: onboardingForm.tradingAddress.addressLine1,\n addressLine2: onboardingForm.tradingAddress.addressLine2,\n postCode: onboardingForm.tradingAddress.postCode,\n city: onboardingForm.tradingAddress.city,\n state: onboardingForm.tradingAddress.state,\n country: onboardingForm.tradingAddress.country,\n isSameAsTradingAddress: checked\n }\n }));\n } else {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n ownerPrimaryAddress: {\n ...onboardingForm.ownerPrimaryAddress,\n addressLine1: '',\n addressLine2: '',\n postCode: '',\n city: '',\n state: '',\n country: '',\n isSameAsTradingAddress: checked\n }\n }));\n }\n };\n\n const onChangeSameEmail = (checked) => {\n if (checked) {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n email: onboardingForm.businessDetails.email,\n isSameAsBusinessEmail: checked\n }\n }));\n } else {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n email: '',\n isSameAsBusinessEmail: checked\n }\n }));\n }\n };\n\n const onChangeSamePhoneNumber = (checked) => {\n if (checked) {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n contactTel: onboardingForm.businessDetails.phoneNumber,\n isSameAsBusinessPhoneNumber: checked\n }\n }));\n } else {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n contactTel: CountryCodeOfPhoneNumber[globalState.merchant?.country],\n isSameAsBusinessPhoneNumber: checked\n }\n }));\n }\n };\n\n const selectAddressData = (addressData) => {\n if (addressData) {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n ownerPrimaryAddress: {\n ...onboardingForm.ownerPrimaryAddress,\n addressLine1: addressData.line_1,\n addressLine2: addressData.line_2,\n city: addressData.town_or_city,\n country: addressData.country\n }\n }));\n }\n };\n\n const validation = (inputValue) => {\n if (inputValue.length < 9) {\n setShowUrlValidationMessage(true);\n } else {\n setShowUrlValidationMessage(false);\n }\n };\n\n // trigger validation function when user stop typing\n const doValidation = useCallback(debounce(validation, 1000), []);\n const validateName = (name) => {\n let result = '';\n if (name.trim()) {\n result = name?.replace(/[^A-Za-z ]/gi, '');\n }\n return result;\n };\n const validateABN = (inputEmail) => {\n const errorMessage = isvalidAbn(inputEmail);\n setAbnErrors(errorMessage);\n\n if (!errorMessage) {\n setIsABNValid(false);\n } else {\n setIsABNValid(true);\n }\n };\n useEffect(() => {\n if (onboardingForm.ownersDetails.tinNumber && fistTime) {\n setFirstTime(false);\n validateABN(onboardingForm.ownersDetails.tinNumber);\n }\n // eslint-disable-next-line\n }, [props.value]);\n const doValidationABN = useCallback(debounce(validateABN, 1000), []);\n\n const validatePPS = (data) => {\n const errorMessage = isValidPPSNumber(data);\n setPPSNumberError(errorMessage);\n\n if (!errorMessage) {\n setIsPPSNumber(false);\n } else {\n setIsPPSNumber(true);\n }\n };\n useEffect(() => {\n if (onboardingForm.ownersDetails.tinNumber && PPSNumberFirstTime) {\n setPPSNumberFirstTime(false);\n validatePPS(onboardingForm.ownersDetails.tinNumber);\n }\n // eslint-disable-next-line\n }, [validatePPS]);\n const doValidationPPS = useCallback(debounce(validatePPS, 1000), []);\n\n const formatEIN = (value) => {\n const cleanValue = value?.replace(/\\D/g, '');\n if (cleanValue?.length <= 2) {\n return cleanValue;\n } else if (cleanValue) {\n return cleanValue?.substring(0, 2) + '-' + cleanValue?.substring(2);\n }\n };\n const validatEinNumber = (inputEmail) => {\n const errorMessage = validateEIN(inputEmail);\n setEinErrors(errorMessage);\n\n if (!errorMessage) {\n setIsEINValid(false);\n } else {\n setIsEINValid(true);\n }\n };\n useEffect(() => {\n if (onboardingForm.ownersDetails.tinNumber && EinNumberFirstTime) {\n setEinNumberFirstTime(false);\n validatEinNumber(onboardingForm.ownersDetails.tinNumber);\n }\n // eslint-disable-next-line\n }, [props.value]);\n\n const doValidationEIN = useCallback(debounce(validatEinNumber, 1000), []);\n\n const handleChange = (e) => {\n const rawValue = e.target.value.replace(/\\D/g, '');\n const formattedValue = formatEIN(rawValue);\n setOnboardingForm({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n tinNumber: formattedValue\n }\n });\n doValidationEIN(e.target.value);\n };\n\n const addHyphens = (input) => {\n const addHyphenValue = input?.replace(/\\D/g, '');\n const formattedValue = formatEIN(addHyphenValue);\n return formattedValue;\n };\n\n useEffect(() => {\n const ssnLastDigits = onboardingForm.ownersDetails.ssnLastDigits;\n let maskedValue = '';\n for (let i = 0; i < ssnLastDigits.length; i++) {\n maskedValue = `${maskedValue}*`;\n }\n setMaskedSSNValue(maskedValue);\n setSsnValue(ssnLastDigits);\n }, [onboardingForm.ownersDetails.ssnLastDigits]);\n\n const socialSecurityValidator = validateSocialSecurity(globalState.merchant?.country, ssnValue);\n\n const onSSNChange = (event) => {\n let { value } = event.target;\n\n let newValue = '';\n\n const ssnLastDigits = ssnValue;\n for (let i = 0; i < value.length; i++) {\n if (value.charAt(i) === '*') {\n newValue = newValue.concat(ssnLastDigits.charAt(i));\n } else {\n newValue = newValue.concat(value.charAt(i));\n }\n }\n let cardNumber = newValue;\n newValue = newValue.replace(/\\D/g, '');\n if (!/^\\d$/.test(newValue)) {\n cardNumber = newValue.replace(/[^0-9]/g, '');\n }\n\n const formattedCard = cardNumber.trimRight();\n setSsnValue(formattedCard);\n\n var strArray = [];\n for (let i = 0; i < formattedCard.length; i++) {\n if (i !== formattedCard.length - 1) {\n strArray.push('*');\n } else {\n if (formattedCard.length > ssnValue.length) {\n strArray.push(formattedCard[i]);\n } else {\n strArray.push('*');\n }\n }\n }\n\n setMaskedSSNValue(strArray.join(''));\n doMasking(formattedCard);\n };\n\n const maskSSN = (ssnValue) => {\n var strArray = [];\n for (let i = 0; i < ssnValue.length; i++) {\n strArray.push('*');\n }\n setMaskedSSNValue(strArray.join(''));\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n ownersDetails: {\n ...onboardingForm.ownersDetails,\n ssnLastDigits: ssnValue\n }\n }));\n };\n\n const doMasking = useCallback(debounce(maskSSN, 500), []);\n\n return (\n \n );\n}\n\nexport default T2SOnboardingOwnerDetails;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n Input,\n Label,\n OnboardingTitle,\n FormItem,\n NextButton,\n OnboardingFormsContainer,\n PostCodeSelector\n} from 'components/onboarding/onboarding-ui-components';\nimport { checkEmptyValue } from 'validators/onboarding/onboarding-check-value.validator';\nimport { CheckMerchantCountries } from '../onboarding-ui-components/check-merchant-countries/check-merchant-countries';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\n\nfunction OnboardingOwnerPrimaryAddressComponent(props) {\n const {\n nextStep,\n onboardingForm,\n setOnboardingForm,\n isDisabled,\n onSubmit,\n selectAddressData,\n isT2SMerchant\n } = props;\n\n const title = (\n \n );\n\n function formBody() {\n return (\n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n ownerPrimaryAddress: {\n ...onboardingForm.ownerPrimaryAddress,\n postCode: postCode\n }\n })\n }\n onAddressObjectChange={(addressData) => selectAddressData(addressData)}\n />\n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n ownerPrimaryAddress: {\n ...onboardingForm.ownerPrimaryAddress,\n postCode: e.target.value\n }\n })\n }\n >\n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n ownerPrimaryAddress: {\n ...onboardingForm.ownerPrimaryAddress,\n postCode: e.target.value\n }\n })\n }\n >\n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n ownerPrimaryAddress: {\n ...onboardingForm.ownerPrimaryAddress,\n addressLine1: e.target.value\n }\n })\n }\n >\n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n ownerPrimaryAddress: {\n ...onboardingForm.ownerPrimaryAddress,\n addressLine2: e.target.value\n }\n })\n }\n >\n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n ownerPrimaryAddress: {\n ...onboardingForm.ownerPrimaryAddress,\n city: e.target.value\n }\n })\n }\n >\n \n {!isT2SMerchant && (\n \n \n \n setOnboardingForm({\n ...onboardingForm,\n ownerPrimaryAddress: {\n ...onboardingForm.ownerPrimaryAddress,\n country: e.target.value\n }\n })\n }\n >\n \n )}\n \n );\n }\n\n const nextBtn = (\n {\n nextStep();\n onSubmit();\n }}\n >\n );\n\n return ;\n}\n\nOnboardingOwnerPrimaryAddressComponent.propTypes = {\n nextStep: PropTypes.func,\n onboardingForm: PropTypes.object,\n setOnboardingForm: PropTypes.func,\n isDisabled: PropTypes.bool,\n onSubmit: PropTypes.func,\n selectAddressData: PropTypes.func\n};\n\nexport default OnboardingOwnerPrimaryAddressComponent;\n","import React, { useState, useEffect } from 'react';\nimport OnboardingOwnerPrimaryAddressComponent from './onboarding-owner-primary-address.component';\nimport { useOnboardingFormContext, useGlobalStateContext } from 'contexts';\nimport { NonResellerMerchantService } from 'services';\n\nfunction OnboardingOwnerPrimaryAddress(props) {\n const { onboardingForm, setOnboardingForm } = useOnboardingFormContext();\n const [isDisabled, setIsDisabled] = useState(true);\n const { globalState } = useGlobalStateContext();\n const isT2SMerchant = globalState.isT2SMerchant;\n\n useEffect(() => {\n const { postCode, addressLine1, city, country } = onboardingForm.ownerPrimaryAddress;\n const checkValues = postCode && addressLine1 && city && (isT2SMerchant || country);\n setIsDisabled(!checkValues);\n }, [onboardingForm.ownerPrimaryAddress, isT2SMerchant]);\n\n const selectAddressData = (addressDataObj) => {\n if (addressDataObj) {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n ownerPrimaryAddress: {\n ...onboardingForm.ownerPrimaryAddress,\n addressLine1: addressDataObj.line_1,\n addressLine2: addressDataObj.line_2,\n city: addressDataObj.town_or_city,\n country: addressDataObj.country\n }\n }));\n }\n };\n\n const onSubmit = () => {\n const data = {\n addressData: onboardingForm.ownerPrimaryAddress,\n subStepNumber: 2\n };\n NonResellerMerchantService.completeOnboardingStep(globalState.merchant?.id, 4, data);\n };\n\n return (\n \n );\n}\n\nexport default OnboardingOwnerPrimaryAddress;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { ErrorOutline, CheckCircle } from '@material-ui/icons';\nimport {\n Input,\n Label,\n NextButton,\n OnboardingTitle,\n OnboardingFormsContainer,\n FormItem,\n PostCodeSelector\n} from 'components/onboarding/onboarding-ui-components';\nimport { BankSortCodeNumberContainer } from 'components';\nimport { checkEmptyValue, getArrayFromString } from 'validators/onboarding/onboarding-check-value.validator';\nimport ReactCodeInput from 'react-verification-code-input';\nimport styles from './onboarding-address.module.scss';\nimport { Checkbox, FormControlLabel, Grid, useMediaQuery, Typography } from '@material-ui/core';\nimport { CheckMerchantCountries } from '../onboarding-ui-components/check-merchant-countries/check-merchant-countries';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { useGlobalStateContext } from 'contexts';\n\nfunction OnboardingAdressComponent(props) {\n const { globalState } = useGlobalStateContext();\n const isT2SMerchant = globalState.isT2SMerchant;\n const {\n onboardingForm,\n setOnboardingForm,\n isFormValid,\n onSubmit,\n selectAddressData,\n statusValidationBankAccount,\n onChangeSameAddress,\n isBankDetailsNotFound,\n accNumberInputRef,\n confirmAccountNumber,\n setConfirmAccountNumber,\n checkAccountNumber,\n showMessage,\n setShowMessage\n } = props;\n const mediaLessThan600px = useMediaQuery('(max-width:599px)');\n const mediaLessThan750px = useMediaQuery('(max-width:749px)');\n const mediaLessThan400px = useMediaQuery('(max-width:399px)');\n\n const accountCodeLengthUK = 8;\n\n const title = (\n \n );\n\n function formBody() {\n return (\n \n \n onChangeSameAddress(e.target.checked)}\n />\n }\n label=\"Trading address is the same as registered address\"\n labelPlacement=\"end\"\n />\n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n postCode: postCode\n }\n })\n }\n onAddressObjectChange={(addressData) => selectAddressData(addressData)}\n />\n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n postCode: e.target.value\n }\n })\n }\n >\n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n postCode: e.target.value\n }\n })\n }\n >\n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n addressLine1: e.target.value\n }\n })\n }\n />\n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n addressLine2: e.target.value\n }\n })\n }\n />\n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n city: e.target.value\n }\n })\n }\n />\n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n country: e.target.value\n }\n })\n }\n />\n \n \n \n {onboardingForm.isPopulated && (\n \n \n )}\n \n \n {onboardingForm.isPopulated && (\n \n \n )}\n \n \n {onboardingForm.isPopulated && (\n \n \n )}\n {onboardingForm.isPopulated && (\n \n \n )}\n \n {onboardingForm.isPopulated && (\n \n \n \n \n
\n \n \n \n \n
\n
\n \n {statusValidationBankAccount === 1 && }\n {statusValidationBankAccount === 2 && }\n \n \n {isBankDetailsNotFound && (\n
\n
\n \n
\n \n We did not find a match for the bank account details provided. Please\n review this. If they are correct you may continue with your application.\n \n
\n )}\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n {showMessage && (\n
\n
\n \n
\n \n ‘Account number’ is not matching with ‘Confirm account number’\n \n
\n )}\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n
\n )}\n \n \n \n \n \n \n \n \n \n \n \n {!isT2SMerchant && (\n \n \n )}\n \n\n {!isT2SMerchant && (\n \n \n \n \n )}\n
\n );\n }\n\n const nextBtn = (\n
\n {\n onSubmit();\n }}\n >\n
\n );\n\n return ;\n}\n\nOnboardingAdressComponent.propTypes = {\n onboardingForm: PropTypes.object,\n setOnboardingForm: PropTypes.func,\n isFormValid: PropTypes.bool,\n onSubmit: PropTypes.func,\n selectAddressData: PropTypes.func,\n statusValidationBankAccount: PropTypes.bool,\n onChangeSameAddress: PropTypes.bool,\n isBankAccountValid: PropTypes.bool,\n isBankDetailsNotFound: PropTypes.bool,\n confirmAccountNumber: PropTypes.string,\n setConfirmAccountNumber: PropTypes.func,\n checkAccountNumber: PropTypes.func\n};\n\nexport default OnboardingAdressComponent;\n","export const BankAccountStatus = {\n UNVERIFIED: 'Unverified',\n FAILED: 'Failed',\n PASSED: 'Passed'\n};\n","import React, { useState, useEffect, useRef } from 'react';\nimport OnboardingAdressStepComponent from './onboarding-address.component';\nimport { useOnboardingFormContext, useGlobalStateContext } from 'contexts';\nimport { NonResellerMerchantService, BankService } from 'services';\nimport { validateBankAccountFields } from 'validators';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { BankAccountStatus } from 'utils/enums/BankAccountStatus';\n\nfunction OnboardingAdressStep(props) {\n const {\n onboardingForm,\n setOnboardingForm,\n oldSortCode,\n setOldSortCode,\n oldAccountNumber,\n setOldAccountNumber\n } = useOnboardingFormContext();\n const [isFormValid, setIsFormValid] = useState(true);\n const [statusValidationBankAccount, setStatusValidationBankAccount] = useState(0);\n const { globalState } = useGlobalStateContext();\n const isT2SMerchant = globalState.isT2SMerchant;\n const [isBankDetailsNotFound, setIsBankDetailsNotFound] = useState(false);\n const [confirmAccountNumber, setConfirmAccountNumber] = useState('');\n const [showMessage, setShowMessage] = useState(false);\n const accNumberInputRef = useRef(null);\n\n useEffect(() => {\n const checkDisabled = async () => {\n setStatusValidationBankAccount(0);\n const {\n postCode,\n addressLine1,\n city,\n country,\n accountHolderName,\n newAccountNumber\n } = onboardingForm.tradingAddress;\n\n const checkBankAccount = validateBankAccountFields(\n globalState.merchant?.country,\n onboardingForm.tradingAddress,\n isT2SMerchant ? confirmAccountNumber : newAccountNumber\n );\n\n const checkValues =\n postCode &&\n addressLine1 &&\n city &&\n (globalState.merchant.country === MerchantCountries.AUSTRALIA || country) &&\n checkBankAccount &&\n (isT2SMerchant || accountHolderName);\n\n setIsFormValid(checkValues);\n };\n\n checkDisabled();\n }, [\n onboardingForm.tradingAddress,\n setOnboardingForm,\n oldSortCode,\n setOldSortCode,\n oldAccountNumber,\n setOldAccountNumber,\n globalState.merchant.country,\n isT2SMerchant,\n confirmAccountNumber\n ]);\n\n useEffect(() => {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n completedSteps: {\n ...onboardingForm.completedSteps,\n tradingAddress: isFormValid ? true : false\n }\n }));\n }, [isFormValid, setOnboardingForm]);\n\n useEffect(() => {\n const validateUKBankDetails = async () => {\n const { sortCode, newAccountNumber } = onboardingForm.tradingAddress;\n let checkValidBankAccount = false;\n if (newAccountNumber?.length === 8 && sortCode?.length === 6) {\n setOldAccountNumber(newAccountNumber);\n setOldSortCode(sortCode);\n\n const response = await BankService.validateBankDetailsForUK({\n accountNumber: newAccountNumber,\n sortCode: sortCode\n });\n if (response.isSuccesfully) {\n checkValidBankAccount = response.data.IsCorrect;\n }\n\n setIsBankDetailsNotFound(!checkValidBankAccount);\n setStatusValidationBankAccount(checkValidBankAccount ? 1 : 2);\n } else {\n setIsBankDetailsNotFound(false);\n setStatusValidationBankAccount(0);\n }\n };\n if (globalState.merchant?.country === MerchantCountries.UNITED_KINGDOM) {\n validateUKBankDetails();\n }\n // eslint-disable-next-line\n }, [onboardingForm.tradingAddress.newAccountNumber, onboardingForm.tradingAddress.sortCode]);\n\n useEffect(() => {\n const { nameAndAddress, tradingAddress } = onboardingForm;\n const isSameAsBusinessAddress =\n nameAndAddress.postCode === tradingAddress.postCode &&\n nameAndAddress.addressLine1 === tradingAddress.addressLine1 &&\n nameAndAddress.addressLine2 === tradingAddress.addressLine2;\n const merchantCountry = globalState.merchant?.country;\n\n if (onboardingForm.tradingAddress.isSameAsBusinessAddress !== isSameAsBusinessAddress) {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n isSameAsBusinessAddress: isSameAsBusinessAddress\n }\n }));\n }\n\n if (!onboardingForm.tradingAddress.country && merchantCountry === MerchantCountries.AUSTRALIA) {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n country: merchantCountry\n }\n }));\n }\n // eslint-disable-next-line\n }, [onboardingForm.nameAndAddress, onboardingForm.tradingAddress]);\n\n const onChangeSameAddress = (checked) => {\n if (checked) {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n addressLine1: onboardingForm.nameAndAddress.addressLine1,\n addressLine2: onboardingForm.nameAndAddress.addressLine2,\n postCode: onboardingForm.nameAndAddress.postCode,\n city: onboardingForm.nameAndAddress.city,\n country: onboardingForm.nameAndAddress.country,\n isSameAsBusinessAddress: checked\n }\n }));\n } else {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n addressLine1: '',\n addressLine2: '',\n postCode: '',\n city: '',\n country: '',\n isSameAsBusinessAddress: checked\n }\n }));\n }\n };\n\n const selectAddressData = (addressData) => {\n if (addressData) {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n addressLine1: addressData.line_1,\n addressLine2: addressData.line_2,\n city: addressData.town_or_city,\n country: addressData.country\n }\n }));\n }\n };\n\n const onSubmit = async () => {\n props.nextStep();\n\n const status =\n globalState.merchant?.country !== MerchantCountries.UNITED_KINGDOM\n ? BankAccountStatus.UNVERIFIED\n : statusValidationBankAccount === 1\n ? BankAccountStatus.PASSED\n : BankAccountStatus.FAILED;\n const data = { ...onboardingForm.tradingAddress, status: status };\n if (isT2SMerchant) {\n data.accountHolderName = globalState.merchant.name;\n }\n NonResellerMerchantService.completeOnboardingStep(globalState.merchant?.id, 3, data);\n };\n\n const checkAccountNumber = (confirmAccountNumber) => {\n const isSame = onboardingForm.tradingAddress.newAccountNumber === confirmAccountNumber;\n if (!isSame) {\n setShowMessage(true);\n }\n };\n\n return (\n \n );\n}\n\nexport default OnboardingAdressStep;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Grid, Checkbox, FormControlLabel, NativeSelect } from '@material-ui/core';\nimport {\n Input,\n Label,\n NextButton,\n OnboardingTitle,\n OnboardingFormsContainer,\n FormItem,\n PostCodeSelector\n} from 'components/onboarding/onboarding-ui-components';\nimport { checkEmptyValue } from 'validators/onboarding/onboarding-check-value.validator';\nimport { CheckMerchantCountries } from '../onboarding-ui-components/check-merchant-countries/check-merchant-countries';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { FormatMessage, translateText } from 'utils/languageTranslater';\nimport { useGlobalStateContext } from 'contexts';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport { LoadingScreen } from 'components';\nimport { AUSStateCodes, USAStateCodes, getOnboardingTitle } from 'utils/onboarding-helper';\nimport { OnboardingSteps } from 'utils/enums/OnboardingStepsMapping';\nimport styles from '../t2s-onboarding-name-address/t2s-onboarding-name-address.module.scss';\n\nfunction T2SOnboardingAdressComponent(props) {\n const {\n onboardingForm,\n setOnboardingForm,\n isFormValid,\n onSubmit,\n selectAddressData,\n isLimited,\n onChangeSameAddress,\n isLoading\n } = props;\n\n const { globalState } = useGlobalStateContext();\n const merchantCountry = globalState.merchant?.country;\n const isActiveMerchant = globalState.merchant?.status === MerchantStatus.ACTIVE;\n const isUkMerchant = globalState.merchant?.country === MerchantCountries.UNITED_KINGDOM;\n const isUSAMerchant = globalState.merchant?.country === MerchantCountries.UNITED_STATES;\n\n const title = (\n \n );\n\n function formBody() {\n return (\n \n {isLimited && (\n \n \n \n\n \n setOnboardingForm({\n ...onboardingForm,\n businessDetails: {\n ...onboardingForm.businessDetails,\n tradingName: e.target.value\n }\n })\n }\n emptyField={\n isUkMerchant &&\n isActiveMerchant &&\n !checkEmptyValue(onboardingForm.businessDetails.tradingName)\n ? true\n : false\n }\n >\n \n\n \n onChangeSameAddress(e.target.checked)}\n />\n }\n label={translateText({\n id: isUSAMerchant ? 'business-address-check' : 'trading-address-check',\n text: isUSAMerchant\n ? 'Business address is the same as registered address'\n : 'Trading address is the same as registered address'\n })}\n labelPlacement=\"end\"\n />\n \n \n )}\n {!isLimited && (\n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n businessDetails: {\n ...onboardingForm.businessDetails,\n tradingName: e.target.value\n }\n })\n }\n emptyField={\n isUkMerchant &&\n isActiveMerchant &&\n !checkEmptyValue(onboardingForm.businessDetails.tradingName)\n ? true\n : false\n }\n >\n \n \n )}\n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n postCode: postCode\n }\n })\n }\n onAddressObjectChange={(addressData) => selectAddressData(addressData)}\n emptyField={\n isUkMerchant &&\n isActiveMerchant &&\n !checkEmptyValue(onboardingForm.tradingAddress.postCode)\n ? true\n : false\n }\n />\n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n postCode: e.target.value\n }\n })\n }\n >\n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n postCode: e.target.value\n }\n })\n }\n >\n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n postCode: e.target.value\n }\n })\n }\n >\n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n addressLine1: e.target.value\n }\n })\n }\n emptyField={\n isUkMerchant &&\n isActiveMerchant &&\n !checkEmptyValue(onboardingForm.tradingAddress.addressLine1)\n ? true\n : false\n }\n />\n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n addressLine2: e.target.value\n }\n })\n }\n />\n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n city: e.target.value\n }\n })\n }\n emptyField={\n isUkMerchant && isActiveMerchant && !checkEmptyValue(onboardingForm.tradingAddress.city)\n ? true\n : false\n }\n />\n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n state: e.target.value\n }\n })\n }\n >\n }\n >\n {isUSAMerchant\n ? USAStateCodes.map((type) => {\n return (\n \n );\n })\n : AUSStateCodes.map((type) => {\n return (\n \n );\n })}\n \n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n state: e.target.value\n }\n })\n }\n />\n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n country: e.target.value\n }\n })\n }\n emptyField={\n isUkMerchant &&\n isActiveMerchant &&\n !checkEmptyValue(onboardingForm.tradingAddress.country)\n ? true\n : false\n }\n />\n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n country: e.target.value\n }\n })\n }\n />\n \n \n \n \n );\n }\n\n const nextBtn = (\n
\n {\n onSubmit();\n }}\n >\n
\n );\n\n return ;\n}\n\nT2SOnboardingAdressComponent.propTypes = {\n onboardingForm: PropTypes.object,\n setOnboardingForm: PropTypes.func,\n isFormValid: PropTypes.bool,\n onSubmit: PropTypes.func,\n selectAddressData: PropTypes.func,\n statusValidationBankAccount: PropTypes.bool,\n onChangeSameAddress: PropTypes.bool,\n isBankAccountValid: PropTypes.bool,\n isBankDetailsNotFound: PropTypes.bool\n};\n\nexport default T2SOnboardingAdressComponent;\n","import React, { useState, useEffect } from 'react';\nimport T2SOnboardingAdressStepComponent from './t2s-onboarding-address.component';\nimport { useOnboardingFormContext, useGlobalStateContext } from 'contexts';\nimport { NonResellerMerchantService, AuthService } from 'services';\nimport { BusinessTypeEnumId } from '../../../utils/enums/BusinessType';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { formTypes } from 'utils/enums/FormTypes';\nimport { isTokenGoingToExpire } from 'utils/helper';\n\nfunction T2SOnboardingAdressStep(props) {\n const { onboardingForm, setOnboardingForm } = useOnboardingFormContext();\n const [isFormValid, setIsFormValid] = useState(true);\n const { globalState } = useGlobalStateContext();\n const [isLimited, setIsLimited] = useState(false);\n const [isSoleTrader, setIsSoleTrader] = useState(false);\n const isT2SMerchant = globalState.isT2SMerchant;\n const isMexicanmerchant = globalState.merchant?.country === MerchantCountries.MEXICO;\n\n const [csrfToken, setCSRFToken] = useState('');\n const [isLoading, setIsLoading] = useState(false);\n\n const generateCSRFToken = async () => {\n setIsLoading(true);\n const response = await AuthService.generateCSRFToken(\n formTypes.ONBOARDING_TRADING_ADDRESS,\n globalState.merchant?.id\n );\n if (response.isSuccesfully) {\n setCSRFToken(response.data.csrfToken);\n }\n setIsLoading(false);\n return response?.data?.csrfToken;\n };\n\n useEffect(() => {\n generateCSRFToken();\n // eslint-disable-next-line\n }, []);\n\n useEffect(() => {\n const checkDisabled = async () => {\n const { postCode, addressLine1, state, city, country } = onboardingForm.tradingAddress;\n const { tradingName, businessTypeId } = onboardingForm.businessDetails;\n let checkValues;\n if (globalState.merchant?.country === MerchantCountries.MEXICO) {\n checkValues = postCode && addressLine1 && state && city && tradingName;\n setIsFormValid(checkValues);\n } else if (\n globalState.merchant.country === MerchantCountries.AUSTRALIA ||\n globalState.merchant.country === MerchantCountries.UNITED_STATES\n ) {\n checkValues = tradingName && postCode && addressLine1 && city && state && country;\n setIsFormValid(checkValues);\n } else {\n if (BusinessTypeEnumId.Limited === parseInt(businessTypeId)) {\n checkValues = postCode && addressLine1 && city && country && tradingName;\n setIsFormValid(checkValues);\n } else {\n checkValues = postCode && addressLine1 && city && country;\n setIsFormValid(checkValues);\n }\n }\n\n // This useState will be true if the businessType is \"Limited\", \"Limited/LLC\", \"Corporation\"\n if (\n BusinessTypeEnumId.Limited === parseInt(businessTypeId) ||\n BusinessTypeEnumId.Limited_LLC === parseInt(businessTypeId) ||\n BusinessTypeEnumId.Corporation === parseInt(businessTypeId)\n ) {\n setIsLimited(true);\n }\n if (BusinessTypeEnumId.Sole_Trader === parseInt(businessTypeId)) {\n setIsSoleTrader(true);\n }\n };\n\n checkDisabled();\n }, [\n onboardingForm.tradingAddress,\n globalState.merchant?.country,\n isT2SMerchant,\n onboardingForm.businessDetails,\n setIsLimited\n ]);\n\n useEffect(() => {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n completedSteps: {\n ...onboardingForm.completedSteps,\n tradingAddress: isFormValid ? true : false\n }\n }));\n }, [isFormValid, setOnboardingForm]);\n\n const selectAddressData = (addressData) => {\n if (addressData) {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n addressLine1: addressData.line_1,\n addressLine2: addressData.line_2,\n city: addressData.town_or_city,\n country: addressData.country,\n postCode: addressData.postCode\n }\n }));\n }\n };\n\n const onChangeSameAddress = (checked) => {\n if (checked) {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n addressLine1: onboardingForm.nameAndAddress.addressLine1,\n addressLine2: onboardingForm.nameAndAddress.addressLine2,\n postCode: onboardingForm.nameAndAddress.postCode,\n city: onboardingForm.nameAndAddress.city,\n state: onboardingForm.nameAndAddress.state,\n country: onboardingForm.nameAndAddress.country,\n isSameAsBusinessAddress: checked\n }\n }));\n } else {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n addressLine1: '',\n addressLine2: '',\n postCode: '',\n state: '',\n city: '',\n country: '',\n isSameAsBusinessAddress: checked\n }\n }));\n }\n };\n\n const onSubmit = async () => {\n props.nextStep();\n const isCSRFGoingToExpire = isTokenGoingToExpire(csrfToken);\n let latestCSRFToken = csrfToken;\n if (isCSRFGoingToExpire) {\n latestCSRFToken = await generateCSRFToken();\n }\n const status = true;\n const data = {\n ...onboardingForm.tradingAddress,\n tradingName: onboardingForm.businessDetails.tradingName,\n status: status,\n formType: formTypes.ONBOARDING_TRADING_ADDRESS\n };\n if (isMexicanmerchant) {\n data.country = MerchantCountries.MEXICO;\n }\n\n NonResellerMerchantService.completeOnboardingStep(globalState.merchant?.id, 3, data, latestCSRFToken);\n };\n\n return (\n \n );\n}\n\nexport default T2SOnboardingAdressStep;\n","import React from 'react';\nimport styles from './t2s-onboarding-name-address.module.scss';\nimport {\n Grid,\n NativeSelect,\n makeStyles,\n TextField,\n Button,\n CircularProgress,\n withStyles,\n Tooltip\n} from '@material-ui/core';\nimport PropTypes from 'prop-types';\n\nimport {\n Input,\n Label,\n NextButton,\n OnboardingTitle,\n OnboardingFormsContainer,\n FormItem,\n PostCodeSelector\n} from 'components/onboarding/onboarding-ui-components';\nimport { checkEmptyValue } from 'validators/onboarding/onboarding-check-value.validator';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { CheckMerchantCountries } from '../onboarding-ui-components/check-merchant-countries/check-merchant-countries';\nimport { Typography } from '@material-ui/core';\nimport { useGlobalStateContext } from 'contexts';\nimport PhoneInput from 'react-phone-input-2';\nimport 'react-phone-input-2/lib/bootstrap.css';\nimport { Alert } from 'react-bootstrap';\nimport Autocomplete from '@material-ui/lab/Autocomplete';\nimport ErrorOutlineIcon from '@material-ui/icons/ErrorOutline';\nimport { AntSwitch, ValidURLInput } from 'components';\nimport { FormatMessage } from 'utils/languageTranslater';\nimport { ValidEmailInput } from 'components';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport {\n dropdownTypeOrganisations,\n getOnboardingTitle,\n dropdownTypeForTrust,\n AUSStateCodes,\n USAStateCodes\n} from 'utils/onboarding-helper';\nimport { OnboardingSteps } from 'utils/enums/OnboardingStepsMapping';\nimport { BusinessTypeEnumId } from 'utils/enums/BusinessType';\n\nconst ErrorTooltip = withStyles((theme) => ({\n tooltip: {\n backgroundColor: '#fdecea',\n color: '#611a15',\n fontSize: 14,\n height: '50px'\n }\n}))(Tooltip);\nconst useStyles = makeStyles(() => ({\n noOptions: {\n color: 'red !important'\n }\n}));\n\nfunction T2SOnboardingNameAddressComponent(props) {\n const classes = useStyles();\n\n const { globalState } = useGlobalStateContext();\n const {\n nextStep,\n onboardingForm,\n setOnboardingForm,\n isDisabled,\n onSubmit,\n phoneNumberValidator,\n openDropdown,\n setOpenDropdown,\n value,\n setValue,\n handleSelectedCompany,\n inputValue,\n setInputValue,\n getCompanyDetails,\n isLoading,\n showErrorForRegisteredNumber,\n registeredNumberErrorMessage,\n setRegisteredNumberHandler,\n isSoleTrader,\n setIsSoleTrader,\n newBusinessTypes,\n setIsBankAccountNameSwitchOn,\n setDialCode,\n dialCode,\n setIsTrust,\n isTrust\n } = props;\n\n const isUKMerchant = globalState.merchant?.country === MerchantCountries.UNITED_KINGDOM;\n const isMexicanmerchant = globalState.merchant?.country === MerchantCountries.MEXICO;\n const registeredBusiness = onboardingForm.businessDetails.isRegisteredBusiness;\n const isSameAccountName = onboardingForm.businessDetails.isAccountNameSame;\n const isActiveMerchant = globalState.merchant?.status === MerchantStatus.ACTIVE;\n const isUSMerchant = globalState.merchant?.country === MerchantCountries.UNITED_STATES;\n const merchantCountry = globalState.merchant?.country;\n function FormBody() {\n return (\n \n \n \n \n \n {\n setIsSoleTrader(e.target.value?.toString() === '2');\n setIsTrust(e.target.value?.toString() === '12');\n if (\n e.target.value?.toString() == BusinessTypeEnumId.Sole_Trader ||\n e.target.value?.toString() == BusinessTypeEnumId.Trust\n ) {\n setOnboardingForm({\n ...onboardingForm,\n businessDetails: {\n ...onboardingForm.businessDetails,\n businessTypeId: e.target.value,\n businessCategory: ''\n }\n });\n } else {\n setOnboardingForm({\n ...onboardingForm,\n businessDetails: {\n ...onboardingForm.businessDetails,\n businessTypeId: e.target.value\n }\n });\n }\n }}\n >\n }\n >\n {newBusinessTypes.map((type) => {\n return (\n \n );\n })}\n \n \n {isTrust && (\n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n businessDetails: {\n ...onboardingForm.businessDetails,\n businessCategory: e.target.value\n }\n })\n }\n >\n }\n >\n {dropdownTypeForTrust.map((type) => {\n return (\n \n );\n })}\n \n \n \n \n )}\n {isSoleTrader && (\n \n \n \n \n \n \n
\n \n No\n \n {\n setOnboardingForm({\n ...onboardingForm,\n businessDetails: {\n ...onboardingForm.businessDetails,\n isRegisteredBusiness: e.target.checked\n }\n });\n }}\n >\n \n {FormatMessage({ id: 'Yes', text: 'Yes' })}\n \n
\n
\n
\n {registeredBusiness && (\n \n \n {\n setOnboardingForm({\n ...onboardingForm,\n businessDetails: {\n ...onboardingForm.businessDetails,\n tradingName: e.target.value,\n isAccountNameSame: false\n },\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n accountHolderName: ''\n }\n });\n setIsBankAccountNameSwitchOn(false);\n }}\n emptyField={\n isUKMerchant &&\n isActiveMerchant &&\n !checkEmptyValue(onboardingForm.businessDetails.tradingName)\n ? true\n : false\n }\n >\n \n )}\n\n {!registeredBusiness && (\n \n \n \n \n \n \n \n
\n \n No\n \n {\n setOnboardingForm({\n ...onboardingForm,\n businessDetails: {\n ...onboardingForm.businessDetails,\n isAccountNameSame: e.target.checked,\n tradingName: ''\n }\n });\n setIsBankAccountNameSwitchOn(e.target.checked);\n }}\n >\n \n {FormatMessage({ id: 'Yes', text: 'Yes' })}\n \n
\n
\n
\n \n {!isSameAccountName && (\n \n \n {\n setOnboardingForm({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n accountHolderName: e.target.value\n },\n businessDetails: {\n ...onboardingForm.businessDetails,\n isAccountNameSame: false,\n tradingName: ''\n }\n });\n setIsBankAccountNameSwitchOn(false);\n }}\n emptyField={\n isUKMerchant &&\n isActiveMerchant &&\n !checkEmptyValue(\n onboardingForm.tradingAddress.accountHolderName\n )\n ? true\n : false\n }\n >\n \n )}\n
\n )}\n
\n )}\n {!isSoleTrader ? (\n \n \n \n \n \n \n \n `${option.title ?? ''}\n ${option.company_number ?? ''}\n ${option.address_snippet ?? ''}`\n }\n classes={{ noOptions: classes.noOptions }}\n className={`${styles.withoutBorders} ${styles.customInput}`}\n value={value}\n onChange={(event, newValue) => {\n setValue(newValue);\n handleSelectedCompany(newValue);\n setOpenDropdown(false);\n }}\n inputValue={inputValue}\n onInputChange={(event, newInputValue) => {\n setOnboardingForm({\n ...onboardingForm,\n nameAndAddress: {\n ...onboardingForm.nameAndAddress,\n companyName: newInputValue\n }\n });\n setInputValue(newInputValue);\n }}\n renderOption={(option) => {\n return (\n
\n {option.title ?? ''}\n
\n {`${option.company_number ?? ''}\n ${option.address_snippet ?? ''}`}\n
\n );\n }}\n renderInput={(params) => (\n \n )}\n onBlur={getCompanyDetails}\n />\n
\n \n \n \n {isLoading ? (\n \n ) : (\n Look up\n )}\n \n \n \n
\n
\n
\n
\n ) : null}\n {/* code for the solo trader is false */}\n {!isSoleTrader && (\n \n {!isTrust && (\n \n \n \n {\n setOnboardingForm({\n ...onboardingForm,\n businessDetails: {\n ...onboardingForm.businessDetails,\n businessCategory: e.target.value\n }\n });\n }}\n emptyField={\n onboardingForm.businessDetails.businessCategory ==\n '--Please select--' ||\n onboardingForm.businessDetails.businessCategory == null ||\n onboardingForm.businessDetails.businessCategory == ''\n }\n >\n }\n >\n {dropdownTypeOrganisations.map((type) => {\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    {registeredNumberErrorMessage}\n \n \n \n ) : (\n \n \n      {registeredNumberErrorMessage}\n \n )\n }\n >\n
\n \n
\n \n
\n \n \n {\n setOnboardingForm({\n ...onboardingForm,\n nameAndAddress: {\n ...onboardingForm.nameAndAddress,\n legalName: e.target.value\n }\n });\n }}\n >\n \n \n \n \n \n \n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n nameAndAddress: {\n ...onboardingForm.nameAndAddress,\n postCode: postCode\n }\n })\n }\n onAddressObjectChange={() => {}}\n emptyField={\n isUKMerchant &&\n isActiveMerchant &&\n !checkEmptyValue(onboardingForm.nameAndAddress.postCode)\n ? true\n : false\n }\n />\n\n \n \n \n setOnboardingForm({\n ...onboardingForm,\n nameAndAddress: {\n ...onboardingForm.nameAndAddress,\n addressLine1: e.target.value\n }\n })\n }\n >\n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n nameAndAddress: {\n ...onboardingForm.nameAndAddress,\n addressLine2: e.target.value\n }\n })\n }\n >\n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n nameAndAddress: {\n ...onboardingForm.nameAndAddress,\n city: e.target.value\n }\n })\n }\n emptyField={\n isUKMerchant &&\n isActiveMerchant &&\n !checkEmptyValue(onboardingForm.nameAndAddress.city)\n ? true\n : false\n }\n />\n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n nameAndAddress: {\n ...onboardingForm.nameAndAddress,\n state: e.target.value\n }\n })\n }\n />\n \n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n nameAndAddress: {\n ...onboardingForm.nameAndAddress,\n state: e.target.value\n }\n })\n }\n >\n }\n >\n {AUSStateCodes.map((type) => {\n return (\n \n );\n })}\n \n \n \n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n nameAndAddress: {\n ...onboardingForm.nameAndAddress,\n state: e.target.value\n }\n })\n }\n >\n }\n >\n {USAStateCodes.map((type) => {\n return (\n \n );\n })}\n \n \n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n nameAndAddress: {\n ...onboardingForm.nameAndAddress,\n country: e.target.value\n }\n })\n }\n emptyField={\n isUKMerchant &&\n isActiveMerchant &&\n !checkEmptyValue(onboardingForm.nameAndAddress.country)\n ? true\n : false\n }\n />\n \n \n \n \n \n \n \n \n
\n )}\n \n\n \n \n \n \n {\n setOnboardingForm({\n ...onboardingForm,\n businessDetails: {\n ...onboardingForm.businessDetails,\n phoneNumber: phoneNumberValidator(\n phone,\n onboardingForm.businessDetails.phoneNumber\n )\n }\n });\n setDialCode(data.dialCode);\n }}\n inputClass={\n isUKMerchant &&\n isActiveMerchant &&\n (!checkEmptyValue(onboardingForm.businessDetails.phoneNumber) ||\n onboardingForm.businessDetails.phoneNumber === dialCode)\n ? styles.phoneInputEmpty\n : styles.phoneInput\n }\n name=\"phone\"\n />\n \n \n \n \n \n \n \n {\n setOnboardingForm({\n ...onboardingForm,\n businessDetails: {\n ...onboardingForm.businessDetails,\n phoneNumber: phoneNumberValidator(\n phone,\n onboardingForm.businessDetails.phoneNumber\n )\n }\n });\n setDialCode(data.dialCode);\n }}\n name=\"phone\"\n inputClass={styles.phoneInput}\n />\n \n \n \n\n \n \n setOnboardingForm({\n ...onboardingForm,\n businessDetails: {\n ...onboardingForm.businessDetails,\n email: e.target.value.toLowerCase()\n }\n })\n }\n emptyField={\n isUKMerchant &&\n isActiveMerchant &&\n !checkEmptyValue(onboardingForm.businessDetails.email)\n ? true\n : false\n }\n />\n \n \n \n setOnboardingForm({\n ...onboardingForm,\n businessDetails: {\n ...onboardingForm.businessDetails,\n websiteUrl: value\n }\n })\n }\n emptyField={\n isUKMerchant &&\n isActiveMerchant &&\n !checkEmptyValue(onboardingForm.businessDetails.websiteUrl)\n ? true\n : false\n }\n />\n \n \n \n );\n }\n\n const title = (\n \n );\n\n const nextBtn = (\n {\n nextStep();\n onSubmit();\n }}\n >\n );\n\n return ;\n}\n\nT2SOnboardingNameAddressComponent.propTypes = {\n nextStep: PropTypes.func,\n onboardingForm: PropTypes.object,\n setOnboardingForm: PropTypes.func,\n isDisabled: PropTypes.bool,\n onSubmit: PropTypes.func,\n getCompanyDetails: PropTypes.func,\n phoneNumberValidator: PropTypes.func,\n isLoading: PropTypes.bool,\n setInputValue: PropTypes.func,\n handleSelectedCompany: PropTypes.func,\n value: PropTypes.string,\n setValue: PropTypes.func,\n inputValue: PropTypes.string,\n setOpenDropdown: PropTypes.func,\n setIsBankAccountNameSwitchOn: PropTypes.func,\n isSoleTrader: PropTypes.bool,\n setIsSoleTrader: PropTypes.func,\n newBusinessTypes: PropTypes.array,\n legalNameVal: PropTypes.string,\n setLegalNameVal: PropTypes.func,\n setRegisteredNumberHandler: PropTypes.func\n};\n\nexport default T2SOnboardingNameAddressComponent;\n","import React, { useEffect, useState } from 'react';\nimport { useOnboardingFormContext, useGlobalStateContext } from 'contexts';\nimport T2SOnboardingNameAddressComponent from './t2s-onboarding-name-address.component';\nimport { NonResellerMerchantService, CompaniesHouseService, AuthService } from 'services';\nimport { validateVatNumber, InputValidators } from 'validators';\nimport moment from 'moment';\nimport { BusinessTypeEnumId } from 'utils/enums/BusinessType';\nimport { OwnerTitle } from 'utils/enums/OwnerTitle';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { validateRegisteredNumber } from 'validators';\nimport { formTypes } from 'utils/enums/FormTypes';\nimport { isTokenGoingToExpire } from 'utils/helper';\nimport { validBusinessTypeIdsMap } from 'utils/onboarding-helper';\n\nfunction T2SOnboardingNameAddress(props) {\n // const { onboardingForm, setOnboardingForm } = useOnboardingFormContext();\n\n const { onboardingForm, setOnboardingForm } = useOnboardingFormContext();\n\n const [isBankAccountNameSwitchOn, setIsBankAccountNameSwitchOn] = useState(false);\n const [showErrorForRegisteredNumber, setShowErrorForRegisteredNumber] = useState(false);\n const [registeredNumberErrorMessage, setRegisteredNumberErrorMessage] = useState('');\n const [isDisabled, setIsDisabled] = useState(true);\n const [isSoleTrader, setIsSoleTrader] = useState(false);\n const [isLoading, setIsLoading] = useState(false);\n const [openDropdown, setOpenDropdown] = useState(false);\n const { globalState } = useGlobalStateContext();\n const [selectedCompany, setSelectedCompany] = useState({});\n const [inputValue, setInputValue] = useState('');\n const [value, setValue] = useState(null);\n const [lengthIssue, setLengthIssue] = useState(false);\n const [showMessage, setShowMessage] = useState(false);\n const isUKMerchant = globalState.merchant?.country === MerchantCountries.UNITED_KINGDOM;\n const regNumberCheckRegexUK = new RegExp('^[0-9a-zA-Z]+$');\n const regNumberCheckRegexMx = new RegExp('^[a-zA-Z]{1,4}');\n const isMexicanmerchant = globalState.merchant?.country === MerchantCountries.MEXICO;\n const isIrelandmerchant = globalState.merchant?.country === MerchantCountries.IRELAND;\n const isCanadaMerchant = globalState.merchant?.country === MerchantCountries.CANADA;\n const isUSAMerchant = globalState.merchant?.country === MerchantCountries.UNITED_STATES;\n const isAUSMerchant = globalState.merchant?.country === MerchantCountries.AUSTRALIA;\n const [dialCode, setDialCode] = useState('');\n const [csrfToken, setCSRFToken] = useState('');\n const [isTrust, setIsTrust] = useState(false);\n\n const generateCSRFToken = async () => {\n setIsLoading(true);\n const response = await AuthService.generateCSRFToken(\n formTypes.ONBOARDING_NAME_AND_ADDRESS,\n globalState.merchant?.id\n );\n if (response.isSuccesfully) {\n setCSRFToken(response.data.csrfToken);\n }\n setIsLoading(false);\n return response?.data?.csrfToken;\n };\n\n useEffect(() => {\n generateCSRFToken();\n // eslint-disable-next-line\n }, []);\n\n let newBusinessTypes = [];\n\n switch (true) {\n // If the merchant is from USA\n case isUSAMerchant:\n newBusinessTypes = onboardingForm.businessTypes\n .filter((business) => validBusinessTypeIdsMap.USA.includes(business.id))\n .sort((a, b) =>\n a.id === BusinessTypeEnumId.Limited_LLC\n ? -1\n : b.id === BusinessTypeEnumId.Limited_LLC\n ? 1\n : a.id === BusinessTypeEnumId.Other\n ? 1\n : b.id === BusinessTypeEnumId.Other\n ? -1\n : 0\n );\n break;\n\n // If the merchant is from Canada\n case isCanadaMerchant:\n newBusinessTypes = onboardingForm.businessTypes.filter((business) =>\n validBusinessTypeIdsMap.CANADA.includes(business.id)\n );\n break;\n // If the merchant is from Australia\n case isAUSMerchant:\n newBusinessTypes = onboardingForm.businessTypes.filter((business) =>\n validBusinessTypeIdsMap.AUS.includes(business.id)\n );\n break;\n\n // If the merchant is from UK or Ireland\n case isUKMerchant || isIrelandmerchant:\n newBusinessTypes = onboardingForm.businessTypes.filter((business) =>\n validBusinessTypeIdsMap.UKorIRELAND.includes(business.id)\n );\n break;\n\n // Default case\n default:\n newBusinessTypes = onboardingForm.businessTypes.filter((business) =>\n validBusinessTypeIdsMap.DEFAULT.includes(business.id)\n );\n }\n\n const validateRegNumber = (registeredNumber) => {\n var validateRN = validateRegisteredNumber(globalState.merchant?.country, registeredNumber);\n if (registeredNumber) {\n setShowErrorForRegisteredNumber(!validateRN.isValid);\n setRegisteredNumberErrorMessage(validateRN.message);\n }\n return validateRN.isValid;\n };\n\n useEffect(() => {\n const { registeredNumber, postCode, addressLine1, country, state, city } = onboardingForm.nameAndAddress;\n const countryCheck = globalState.merchant.country === MerchantCountries.MEXICO ? true : country;\n const { businessTypeId } = onboardingForm.businessDetails;\n const checkRegBusinessNameVal = onboardingForm.businessDetails.tradingName\n ? onboardingForm.businessDetails.tradingName?.trim()\n : true;\n const checkBankAccountNameVal = onboardingForm.tradingAddress.accountHolderName\n ? onboardingForm.tradingAddress.accountHolderName?.trim()\n : true;\n let checkValues =\n validateRegNumber(registeredNumber) &&\n checkRegBusinessNameVal &&\n checkBankAccountNameVal &&\n onboardingForm.nameAndAddress.legalName?.trim() &&\n postCode &&\n city &&\n addressLine1 &&\n countryCheck &&\n businessTypeId &&\n businessTypeId !== '--Please select--';\n\n if (isAUSMerchant || isUSAMerchant) {\n checkValues = checkValues && state;\n }\n\n if (isAUSMerchant || isUSAMerchant || isUKMerchant) {\n checkValues =\n checkValues &&\n onboardingForm.businessDetails.businessCategory?.trim() &&\n onboardingForm.businessDetails.businessCategory?.trim() !== '--Please select--';\n }\n\n const { vatNumber, tradingName, phoneNumber, email } = onboardingForm.businessDetails;\n const checkVatNumber = validateVatNumber(globalState.merchant?.country, vatNumber);\n const isEmailValid = email ? InputValidators.isEmailValid(email) : true;\n if (globalState.isT2SMerchant) {\n checkValues = checkValues && phoneNumber && isEmailValid;\n } else {\n checkValues = checkValues && checkVatNumber && tradingName && phoneNumber && isEmailValid;\n }\n\n if (isSoleTrader) {\n checkValues =\n onboardingForm.businessDetails.tradingName?.trim() ||\n onboardingForm.tradingAddress.accountHolderName?.trim() ||\n isBankAccountNameSwitchOn;\n setIsDisabled(!checkValues);\n } else {\n setIsDisabled(!checkValues);\n }\n\n // eslint-disable-next-line\n }, [\n onboardingForm.nameAndAddress,\n onboardingForm.businessDetails.businessTypeId,\n onboardingForm.businessDetails,\n isBankAccountNameSwitchOn,\n globalState.merchant.country,\n isSoleTrader,\n globalState.isT2SMerchant\n ]);\n\n useEffect(() => {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n completedSteps: {\n ...onboardingForm.completedSteps,\n nameAndAddress: !isDisabled ? true : false\n }\n }));\n }, [isDisabled, setOnboardingForm]);\n\n useEffect(() => {\n setIsSoleTrader(onboardingForm.businessDetails.businessTypeId?.toString() === '2');\n setIsTrust(onboardingForm.businessDetails.businessTypeId?.toString() === '12');\n }, [onboardingForm.businessDetails.businessTypeId]);\n\n const getCompanyDetails = async () => {\n const { companyName } = onboardingForm.nameAndAddress;\n setIsLoading(true);\n const result = await CompaniesHouseService.getCompaniesDetail(companyName, 15);\n\n if (result.isSuccesfully) {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n nameAndAddress: {\n ...onboardingForm.nameAndAddress,\n companies: result.data.items\n },\n companies: result.data.items\n }));\n if (result.data.items.length) setOpenDropdown(true);\n }\n\n setIsLoading(false);\n };\n\n const extractAddressLines = (companyObj) => {\n if (companyObj.address_snippet && companyObj.address) {\n let finalAddressLine1 = companyObj.address_snippet\n .replace(`, ${companyObj.address.postal_code}`, '')\n .replace(`, ${companyObj.address.country}`, '')\n .replace(`, ${companyObj.address.locality}`, '');\n\n if (companyObj.address.address_line_2) {\n finalAddressLine1 = finalAddressLine1.replace(`, ${companyObj.address.address_line_2}`, '');\n }\n return {\n address_line_1: finalAddressLine1,\n address_line_2: companyObj.address.address_line_2\n };\n }\n return {\n address_line_1: companyObj.address?.address_line_1,\n address_line_2: companyObj.address?.address_line_2\n };\n };\n const handleSelectedCompany = async (selectedValue) => {\n setSelectedCompany(selectedValue);\n let businessProfile = {};\n if (selectedValue && Object.keys(selectedValue).length) {\n if (selectedValue.date_of_creation) {\n const MONTHS_IN_A_YEAR = 12;\n businessProfile = {\n ...onboardingForm.businessProfile,\n timeInBusinessYears: moment().diff(selectedValue.date_of_creation, 'years', false),\n timeInBusinessMonths:\n moment().diff(selectedValue.date_of_creation, 'months', false) % MONTHS_IN_A_YEAR\n };\n }\n\n const ownersDetails = await getOwnerDetails(selectedValue.company_number);\n\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n ownersDetails: ownersDetails ? ownersDetails : onboardingForm.ownersDetails,\n nameAndAddress: {\n ...onboardingForm.nameAndAddress,\n legalName: selectedValue.title,\n companyName: selectedValue.title,\n registeredNumber: selectedValue.company_number,\n postCode: selectedValue.address.postal_code,\n addressLine1: extractAddressLines(selectedValue).address_line_1,\n addressLine2: extractAddressLines(selectedValue).address_line_2,\n city: selectedValue.address.locality,\n country: selectedValue.address.country\n },\n businessDetails: {\n ...onboardingForm.businessDetails\n },\n businessProfile: {\n ...onboardingForm.businessProfile,\n timeInBusinessYears:\n businessProfile && businessProfile.timeInBusinessYears > 0\n ? businessProfile.timeInBusinessYears\n : '0',\n timeInBusinessMonths: businessProfile ? businessProfile.timeInBusinessMonths : ''\n }\n }));\n }\n };\n const getOwnerDetails = async (registeredNumber) => {\n let ownersDetails;\n const resultPersonsDetails = await CompaniesHouseService.getPersonsWithSignificantControl(registeredNumber);\n\n if (resultPersonsDetails.isSuccesfully) {\n let ownersWithSignificantPower = resultPersonsDetails.data.items || [];\n ownersWithSignificantPower.forEach((person) => {\n person.date_of_birth = person.date_of_birth || {};\n let dateOfBirth = person.date_of_birth;\n\n dateOfBirth.day = dateOfBirth.day ? dateOfBirth.day.toString().padStart(2, '0') : '';\n dateOfBirth.month = dateOfBirth.month ? dateOfBirth.month.toString().padStart(2, '0') : '';\n dateOfBirth.year = dateOfBirth.year ? dateOfBirth.year.toString().padStart(4, '0') : '';\n\n const ownership = person.natures_of_control.filter((item) => item.startsWith('ownership-of-shares'));\n\n if (ownership.length > 0) {\n const words = ownership[0].split('-').filter((word) => !isNaN(word));\n person.ownershipDetails = {};\n if (words.length === 1) {\n person.ownership = words[0];\n } else if (words.length === 2) {\n person.ownership = words[1];\n }\n }\n\n var name = person.name;\n var titlePerson = person.name_elements?.title;\n if (titlePerson) {\n if (titlePerson[titlePerson.length - 1] === '.') {\n titlePerson = titlePerson.substring(0, titlePerson.length - 1);\n }\n titlePerson = Object.keys(OwnerTitle).filter((key) => OwnerTitle[key] === titlePerson);\n if (titlePerson.length > 0) {\n name = name.substring(titlePerson[0].length + 1);\n }\n titlePerson = OwnerTitle[titlePerson[0]];\n }\n person.names = {\n fullName: name,\n title: titlePerson ?? titlePerson\n };\n });\n\n const personDetails = resultPersonsDetails.data.items[0];\n ownersDetails = {\n ...onboardingForm.ownersDetails,\n title: personDetails.names.title ?? onboardingForm.ownersDetails.title,\n fullName: personDetails.names.fullName,\n dateOfBirth: personDetails.date_of_birth,\n nationality: personDetails.nationality,\n ownership: personDetails.ownership ?? onboardingForm.ownersDetails.ownership\n };\n if (resultPersonsDetails.data.total_results === 1) {\n ownersDetails = {\n ...ownersDetails,\n persons: []\n };\n } else if (resultPersonsDetails.data.total_results > 1) {\n ownersDetails = {\n ...ownersDetails,\n persons: resultPersonsDetails.data.items\n };\n }\n }\n\n return ownersDetails;\n };\n\n const onSubmit = async () => {\n const isCSRFGoingToExpire = isTokenGoingToExpire(csrfToken);\n let latestCSRFToken = csrfToken;\n if (isCSRFGoingToExpire) {\n latestCSRFToken = await generateCSRFToken();\n }\n\n let soleTradertName = globalState.merchant.name;\n if (!isBankAccountNameSwitchOn) {\n soleTradertName = onboardingForm.businessDetails.tradingName\n ? onboardingForm.businessDetails.tradingName.trim()\n : onboardingForm.tradingAddress.accountHolderName;\n }\n if (!onboardingForm.businessDetails.isRegisteredBusiness && !isBankAccountNameSwitchOn) {\n soleTradertName = onboardingForm.tradingAddress.accountHolderName;\n }\n\n setOnboardingForm({\n ...onboardingForm,\n nameAndAddress: {\n ...onboardingForm.nameAndAddress,\n legalName: isSoleTrader ? soleTradertName : onboardingForm.nameAndAddress.legalName\n }\n });\n const personalData = { ...onboardingForm.nameAndAddress, formType: formTypes.ONBOARDING_NAME_AND_ADDRESS };\n\n if (isMexicanmerchant) {\n setOnboardingForm({\n ...onboardingForm,\n nameAndAddress: {\n ...onboardingForm.nameAndAddress,\n legalName: isSoleTrader ? soleTradertName : onboardingForm.nameAndAddress.legalName,\n country: MerchantCountries.MEXICO\n }\n });\n personalData.country = MerchantCountries.MEXICO;\n }\n\n setOnboardingForm({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n accountHolderName: isSoleTrader ? soleTradertName : onboardingForm.nameAndAddress.legalName\n },\n businessDetails: {\n ...onboardingForm.businessDetails,\n phoneNumber: onboardingForm.businessDetails.phoneNumber //Only 10 characters should be taken as phone number\n }\n });\n\n const data = {\n ...onboardingForm.tradingAddress,\n accountHolderName: isSoleTrader ? soleTradertName : onboardingForm.nameAndAddress.legalName,\n step: 2,\n formType: formTypes.ONBOARDING_NAME_AND_ADDRESS\n };\n const businessdata = {\n ...onboardingForm.businessDetails,\n formType: formTypes.ONBOARDING_NAME_AND_ADDRESS,\n phoneNumber: onboardingForm.businessDetails.phoneNumber\n };\n personalData.legalName = isSoleTrader ? soleTradertName : onboardingForm.nameAndAddress.legalName;\n personalData.businessTypeId = onboardingForm.businessDetails.businessTypeId ?? BusinessTypeEnumId.Limited;\n personalData.businessCategory = onboardingForm.businessDetails.businessCategory;\n\n NonResellerMerchantService.completeOnboardingStep(globalState.merchant?.id, 1, personalData, latestCSRFToken);\n NonResellerMerchantService.completeOnboardingStep(globalState.merchant?.id, 2, businessdata, latestCSRFToken);\n NonResellerMerchantService.completeOnboardingStep(globalState.merchant?.id, 3, data, latestCSRFToken);\n };\n\n const setRegisteredNumberHandler = (e) => {\n let stringValue = e.target.value;\n if (isUKMerchant) {\n if (stringValue.match(regNumberCheckRegexUK) || stringValue === '') {\n setOnboardingForm({\n ...onboardingForm,\n nameAndAddress: {\n ...onboardingForm.nameAndAddress,\n registeredNumber: stringValue\n }\n });\n }\n } else if (isMexicanmerchant) {\n if (stringValue.match(regNumberCheckRegexMx) || stringValue === '') {\n setShowErrorForRegisteredNumber(false);\n setOnboardingForm({\n ...onboardingForm,\n nameAndAddress: {\n ...onboardingForm.nameAndAddress,\n registeredNumber: stringValue\n }\n });\n } else {\n setShowErrorForRegisteredNumber(true);\n setRegisteredNumberErrorMessage(\n 'The format of the information input does not match the expected result'\n );\n }\n } else {\n setOnboardingForm({\n ...onboardingForm,\n nameAndAddress: {\n ...onboardingForm.nameAndAddress,\n registeredNumber: stringValue\n }\n });\n }\n };\n\n return (\n \n );\n}\n\nexport default T2SOnboardingNameAddress;\n","import React from 'react';\nimport styles from './onboarding-business-details.module.scss';\nimport { Grid, NativeSelect } from '@material-ui/core';\nimport PropTypes from 'prop-types';\n\nimport {\n Input,\n Label,\n NextButton,\n OnboardingTitle,\n OnboardingFormsContainer,\n FormItem\n} from 'components/onboarding/onboarding-ui-components';\nimport { checkEmptyValue, getArrayFromString } from 'validators/onboarding/onboarding-check-value.validator';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { CheckMerchantCountries } from '../onboarding-ui-components/check-merchant-countries/check-merchant-countries';\nimport ReactCodeInput from 'react-verification-code-input';\nimport { useMediaQuery } from '@material-ui/core';\nimport { useGlobalStateContext } from 'contexts';\nimport { ResellerType } from 'utils/enums/ResellerType';\nimport PhoneInput from 'react-phone-input-2';\nimport 'react-phone-input-2/lib/bootstrap.css';\n\nfunction OnboardingBusinessDetailsComponent(props) {\n const { globalState } = useGlobalStateContext();\n const { nextStep, onboardingForm, setOnboardingForm, isDisabled, onSubmit, phoneNumberValidator } = props;\n const mediaLessThan600px = useMediaQuery('(max-width:599px)');\n const isT2SMerchant = globalState.isT2SMerchant;\n\n function formBody() {\n return (\n \n \n {!isT2SMerchant && (\n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n businessDetails: {\n ...onboardingForm.businessDetails,\n businessTypeId: e.target.value\n }\n })\n }\n >\n }\n >\n {onboardingForm.businessTypes.map((type) => {\n return (\n \n );\n })}\n \n \n \n )}\n {!isT2SMerchant && (\n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n businessDetails: {\n ...onboardingForm.businessDetails,\n vatNumber: e.target.value\n }\n })\n }\n >\n \n \n \n )}\n {!isT2SMerchant && (\n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n businessDetails: {\n ...onboardingForm.businessDetails,\n tradingName: e.target.value\n }\n })\n }\n >\n \n \n )}\n \n {onboardingForm.isPopulated && (\n \n \n \n \n )}\n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n businessDetails: {\n ...onboardingForm.businessDetails,\n phoneNumber: phoneNumberValidator(\n phone,\n onboardingForm.businessDetails.phoneNumber\n )\n }\n })\n }\n inputClass={styles.phoneInput}\n name=\"phone\"\n />\n \n \n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n businessDetails: {\n ...onboardingForm.businessDetails,\n phoneNumber: phoneNumberValidator(\n phone,\n onboardingForm.businessDetails.phoneNumber\n )\n }\n })\n }\n inputClass={styles.phoneInput}\n name=\"phone\"\n />\n \n \n \n {globalState.reseller?.name === ResellerType.OMNIPAY && (\n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n businessDetails: {\n ...onboardingForm.businessDetails,\n websiteUrl: e.target.value\n }\n })\n }\n >\n \n \n )}\n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n businessDetails: {\n ...onboardingForm.businessDetails,\n email: e.target.value\n }\n })\n }\n >\n \n \n \n \n );\n }\n\n const title = (\n \n );\n\n const nextBtn = (\n {\n nextStep();\n onSubmit();\n }}\n >\n );\n\n return ;\n}\n\nOnboardingBusinessDetailsComponent.propTypes = {\n nextStep: PropTypes.func,\n onboardingForm: PropTypes.object,\n setOnboardingForm: PropTypes.func,\n isDisabled: PropTypes.bool,\n onSubmit: PropTypes.func,\n phoneNumberValidator: PropTypes.func\n};\n\nexport default OnboardingBusinessDetailsComponent;\n","import React, { useEffect, useState } from 'react';\nimport validator from 'validator';\nimport { useOnboardingFormContext, useGlobalStateContext } from 'contexts';\n\nimport OnboardingBusinessDetailsStepComponent from './onboarding-busines-details.component';\nimport { NonResellerMerchantService } from 'services';\nimport { validateVatNumber, InputValidators } from 'validators';\n\nfunction OnboardingBusinessDetailsStep(props) {\n const { onboardingForm, setOnboardingForm } = useOnboardingFormContext();\n const [isDisabled, setIsDisabled] = useState(true);\n const { globalState } = useGlobalStateContext();\n const isSoleTrader = onboardingForm.businessDetails.businessTypeId?.toString() === '2';\n\n useEffect(() => {\n const { vatNumber, tradingName, phoneNumber, email } = onboardingForm.businessDetails;\n const checkVatNumber = validateVatNumber(globalState.merchant?.country, vatNumber);\n const isEmailValid = email ? validator.isEmail(email) : true;\n let checkValues = checkVatNumber && tradingName && phoneNumber && isEmailValid;\n if (globalState.isT2SMerchant) {\n checkValues = phoneNumber && isEmailValid;\n } else {\n checkValues = checkVatNumber && tradingName && phoneNumber && isEmailValid;\n }\n\n setIsDisabled(!checkValues);\n // eslint-disable-next-line\n }, [onboardingForm.businessDetails, globalState.merchant.country]);\n\n useEffect(() => {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n completedSteps: {\n ...onboardingForm.completedSteps,\n businessDetails: isDisabled ? false : true\n }\n }));\n }, [isDisabled, setOnboardingForm]);\n\n const onSubmit = () => {\n if (isSoleTrader) {\n setOnboardingForm({\n ...onboardingForm,\n businessDetails: {\n ...onboardingForm.businessDetails,\n tradingName: onboardingForm.businessDetails.tradingName\n }\n });\n } else {\n setOnboardingForm({\n ...onboardingForm,\n businessDetails: {\n ...onboardingForm.businessDetails,\n tradingName: globalState.merchant.name\n }\n });\n }\n\n NonResellerMerchantService.completeOnboardingStep(globalState.merchant?.id, 2, onboardingForm.businessDetails);\n };\n\n return (\n \n );\n}\n\nexport default OnboardingBusinessDetailsStep;\n","import React from 'react';\nimport { OutlinedInput } from '@material-ui/core';\nimport PropTypes from 'prop-types';\nimport styles from './new-zealand-account-number.module.scss';\nimport NumberFormat from 'react-number-format';\n\nfunction NewZealandAccountNumberComponent(props) {\n const {\n firstInputElementRef,\n secondInputElementRef,\n thirdInputElementRef,\n firstInputChangeHandler,\n secondInputChangeHandler,\n thirdInputChangeHandler,\n firstInputValues,\n secondInputValues,\n thirdInputValues,\n hideDashes,\n disabled,\n onBlur\n } = props;\n\n return (\n
\n \n {!hideDashes && -}\n \n {!hideDashes && -}\n \n
\n );\n}\n\nNewZealandAccountNumberComponent.propTypes = {\n firstInputChangeHandler: PropTypes.func,\n secondInputChangeHandler: PropTypes.func,\n thirdInputChangeHandler: PropTypes.func,\n firstInputValues: PropTypes.string,\n secondInputValues: PropTypes.string,\n thirdInputValues: PropTypes.string,\n hideDashes: PropTypes.bool,\n onBlur: PropTypes.func\n};\n\nexport default NewZealandAccountNumberComponent;\n","import React, { useState, useEffect, useRef } from 'react';\nimport NewZealandAccountNumberComponent from './new-zealand-account-number.component';\n\nfunction NewZealandAccountNumberContainer(props) {\n const { value, onChange, focusFirst, nextElementRef, disabled, onBlur } = props;\n\n const [firstInputValues, setFirstInputValues] = useState('');\n const [secondInputValues, setSecondInputValues] = useState('');\n const [thirdInputValues, setThirdInputValues] = useState('');\n\n const firstInputElementRef = useRef(null);\n const secondInputElementRef = useRef(null);\n const thirdInputElementRef = useRef(null);\n\n useEffect(() => {\n if (firstInputElementRef && focusFirst) {\n firstInputElementRef.current.focus();\n }\n }, [focusFirst]);\n\n useEffect(() => {\n if (value?.length === 16) {\n setFirstInputValues(value.substr(0, 6));\n setSecondInputValues(value.substr(6, 7));\n setThirdInputValues(value.substr(13, 3));\n } else if (value?.length === 15) {\n setFirstInputValues(value.substr(0, 6));\n setSecondInputValues(value.substr(6, 7));\n setThirdInputValues(value.substr(13, 2));\n }\n }, [value]);\n\n const firstInputChangeHandler = ({ value }) => {\n setFirstInputValues(value);\n\n if (value.length > 5) {\n setTimeout(() => {\n secondInputElementRef.current.focus();\n });\n }\n };\n\n const secondInputChangeHandler = ({ value }) => {\n setSecondInputValues(value);\n\n if (value.length > 6) {\n setTimeout(() => {\n thirdInputElementRef.current.focus();\n });\n }\n };\n\n const thirdInputChangeHandler = ({ value }) => {\n setThirdInputValues(value);\n\n if (value.length > 2) {\n setTimeout(() => {\n //thirdInputElementRef.current.blur();\n if (nextElementRef && nextElementRef.current) {\n nextElementRef.current.focus();\n }\n });\n }\n };\n\n useEffect(() => {\n const toSendValues = `${firstInputValues}${secondInputValues}${thirdInputValues}`;\n\n if (toSendValues !== value && onChange) {\n onChange(toSendValues);\n }\n }, [firstInputValues, secondInputValues, thirdInputValues, onChange, value]);\n\n return (\n \n );\n}\nexport default NewZealandAccountNumberContainer;\n","import React from 'react';\nimport styles from './t2s-onboarding-bank-details.module.scss';\nimport { Grid } from '@material-ui/core';\nimport PropTypes from 'prop-types';\nimport { Alert } from 'react-bootstrap';\nimport ErrorOutlineIcon from '@material-ui/icons/ErrorOutline';\nimport { withStyles } from '@material-ui/core/styles';\nimport {\n Input,\n Label,\n NextButton,\n OnboardingTitle,\n OnboardingFormsContainer,\n FormItem\n} from 'components/onboarding/onboarding-ui-components';\nimport { checkEmptyValue, getArrayFromString } from 'validators/onboarding/onboarding-check-value.validator';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { CheckMerchantCountries } from '../onboarding-ui-components/check-merchant-countries/check-merchant-countries';\nimport ReactCodeInput from 'react-verification-code-input';\nimport { useMediaQuery, Typography, Tooltip } from '@material-ui/core';\nimport { BankSortCodeNumberContainer } from 'components';\nimport { ErrorOutline, CheckCircle, WarningRounded } from '@material-ui/icons';\nimport { useGlobalStateContext } from 'contexts';\nimport { FormatMessage } from 'utils/languageTranslater';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport NewZealandAccountNumberContainer from 'components/new-zealand-account-number/new-zealand-account-number.container';\nimport { LoadingScreen } from 'components';\n\nconst ErrorTooltip = withStyles((theme) => ({\n tooltip: {\n backgroundColor: '#fdecea',\n color: '#611a15',\n fontSize: 14,\n height: '50px',\n maxWidth: '100%',\n padding: '0'\n }\n}))(Tooltip);\nfunction T2SOnboardingBankDetailsComponent(props) {\n const { globalState } = useGlobalStateContext();\n\n const {\n nextStep,\n onboardingForm,\n setOnboardingForm,\n isDisabled,\n onSubmit,\n accNumberInputRef,\n isBankDetailsNotFound,\n statusValidationBankAccount,\n lengthIssue,\n setLengthIssue,\n confirmAccountNumber,\n setConfirmAccountNumber,\n showMessage,\n showErrorForAccNo,\n AccNoErrorMessage,\n setBankAccountHandler,\n checkvalue,\n show,\n setShow,\n isLoading\n } = props;\n const mediaLessThan600px = useMediaQuery('(max-width:599px)');\n const mediaLessThan750px = useMediaQuery('(max-width:749px)');\n const mediaLessThan400px = useMediaQuery('(max-width:399px)');\n const isActiveMerchant = globalState.merchant?.status === MerchantStatus.ACTIVE;\n const isUkMerchant = globalState.merchant?.country === MerchantCountries.UNITED_KINGDOM;\n const textField = globalState.merchant?.country === MerchantCountries.AUSTRALIA || MerchantCountries.MEXICO;\n const message = show || showMessage;\n\n function formBody() {\n return (\n \n \n \n \n {globalState.merchant.status === MerchantStatus.WATCHLIST && (\n
\n
\n \n
\n Bank Update is not available at this time\n
\n )}\n
\n \n \n \n setOnboardingForm({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n accountHolderName: e.target.value\n }\n })\n }\n autoFocus={true}\n emptyField={\n isUkMerchant &&\n isActiveMerchant &&\n !checkEmptyValue(onboardingForm.tradingAddress.accountHolderName)\n ? true\n : false\n }\n />\n \n \n {onboardingForm.isPopulated && (\n \n \n )}\n \n \n {onboardingForm.isPopulated && (\n \n \n )}\n \n \n \n \n \n \n \n \n {onboardingForm.isPopulated && (\n \n \n )}\n {onboardingForm.isPopulated && (\n \n \n )}\n \n {onboardingForm.isPopulated && (\n \n \n \n \n
\n \n \n \n \n \n \n \n e.keyCode !== 45 &&\n e.keyCode > 31 &&\n (e.keyCode < 48 || e.keyCode > 57) &&\n e.preventDefault()\n }\n pattern=\"\\d*\"\n value={checkEmptyValue(confirmAccountNumber)}\n onChange={(e) => {\n setShow(false);\n setConfirmAccountNumber(e.target.value);\n }}\n />\n \n \n {message && (\n
\n \n \n Your account numbers don’t match\n \n
\n )}\n
\n
\n
\n \n {statusValidationBankAccount === 1 && (\n \n )}\n {statusValidationBankAccount === 2 && (\n \n )}\n \n \n {isBankDetailsNotFound && (\n
\n
\n \n
\n \n We did not find a match for the bank account details provided.\n Please review this. If they are correct you may continue with\n your application.\n \n
\n )}\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {\n setShow(false);\n setConfirmAccountNumber(e.target.value);\n }}\n />\n \n \n {message && (\n
\n \n \n Your account numbers don’t match\n \n
\n )}\n
\n \n\n \n \n \n {\n setShow(false);\n setConfirmAccountNumber(value);\n }}\n nextElementRef={accNumberInputRef}\n />\n \n \n {message && (\n
\n \n \n Your account numbers don’t match\n \n
\n )}\n
\n
\n
\n )}\n\n \n \n \n \n \n \n \n \n \n \n
\n
\n \n
\n );\n }\n\n const title = ;\n\n const nextBtn = (\n {\n nextStep();\n onSubmit();\n }}\n >\n );\n\n return ;\n}\n\nT2SOnboardingBankDetailsComponent.propTypes = {\n nextStep: PropTypes.func,\n onboardingForm: PropTypes.object,\n setOnboardingForm: PropTypes.func,\n isDisabled: PropTypes.bool,\n onSubmit: PropTypes.func,\n getCompanyDetails: PropTypes.func,\n phoneNumberValidator: PropTypes.func,\n isLoading: PropTypes.bool,\n setInputValue: PropTypes.func,\n handleSelectedCompany: PropTypes.func,\n value: PropTypes.string,\n setValue: PropTypes.func,\n inputValue: PropTypes.string,\n setOpenDropdown: PropTypes.func,\n accountCodeLength: PropTypes.string,\n setBankAccountHandler: PropTypes.func\n};\n\nexport default T2SOnboardingBankDetailsComponent;\n","import React, { useEffect, useState } from 'react';\nimport { useOnboardingFormContext, useGlobalStateContext } from 'contexts';\nimport T2SOnboardingBankDetailsComponent from './t2s-onboarding-bank-details.component';\nimport { NonResellerMerchantService, BankService, AuthService } from 'services';\nimport { InputValidators } from 'validators';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { validateBankAccountFields } from 'validators';\nimport { bankValidationMap } from 'validators/onboarding/onboarding-account-number.validator';\nimport { BankAccountStatus } from 'utils/enums/BankAccountStatus';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport { formTypes } from 'utils/enums/FormTypes';\nimport { isTokenGoingToExpire } from 'utils/helper';\n\nfunction T2SOnboardingBankDetailsStep(props) {\n // const { onboardingForm, setOnboardingForm } = useOnboardingFormContext();\n\n const {\n onboardingForm,\n setOnboardingForm,\n oldSortCode,\n setOldSortCode,\n oldAccountNumber,\n setOldAccountNumber\n } = useOnboardingFormContext();\n\n const [isDisabled, setIsDisabled] = useState(true);\n const [isBankDetailsNotFound, setIsBankDetailsNotFound] = useState(false);\n const { globalState } = useGlobalStateContext();\n const [confirmAccountNumber, setConfirmAccountNumber] = useState('');\n const [lengthIssue, setLengthIssue] = useState(false);\n const [showMessage, setShowMessage] = useState(false);\n const [showErrorForAccNo, setShowErrorForAccNo] = useState(false);\n const [AccNoErrorMessage, setAccNoErrorMessage] = useState('');\n const [accountCodeLength, setAccountCodeLength] = useState(0);\n const [statusValidationBankAccount, setStatusValidationBankAccount] = useState(0);\n const [show, setShow] = useState(false);\n\n const isT2SMerchant = globalState.isT2SMerchant;\n\n const [csrfToken, setCSRFToken] = useState('');\n const [isLoading, setIsLoading] = useState(false);\n\n const generateCSRFToken = async () => {\n setIsLoading(true);\n const response = await AuthService.generateCSRFToken(\n formTypes.ONBOARDING_BANK_DETAILS,\n globalState.merchant?.id\n );\n if (response.isSuccesfully) {\n setCSRFToken(response.data.csrfToken);\n }\n setIsLoading(false);\n return response?.data?.csrfToken;\n };\n\n useEffect(() => {\n generateCSRFToken();\n // eslint-disable-next-line\n }, []);\n\n useEffect(() => {\n const checkDisabled = async () => {\n setStatusValidationBankAccount(0);\n const { accountHolderName, newAccountNumber, nameOfBank } = onboardingForm.tradingAddress;\n const validation = validateAcctNumber(newAccountNumber);\n const checkBankAccount = validateBankAccountFields(\n globalState.merchant?.country,\n onboardingForm.tradingAddress,\n confirmAccountNumber\n );\n\n const checkValues =\n validation &&\n checkBankAccount &&\n accountHolderName &&\n nameOfBank.trim() &&\n globalState.merchant.status !== MerchantStatus.WATCHLIST;\n\n setIsDisabled(!checkValues);\n };\n checkDisabled();\n // eslint-disable-next-line\n }, [\n onboardingForm.tradingAddress,\n setOnboardingForm,\n oldSortCode,\n setOldSortCode,\n oldAccountNumber,\n setOldAccountNumber,\n globalState.merchant.country,\n isT2SMerchant,\n confirmAccountNumber,\n globalState.merchant.status\n ]);\n\n useEffect(() => {\n const AccountNumberLength = async () => {\n if (globalState.merchant?.country === MerchantCountries.UNITED_KINGDOM) {\n setAccountCodeLength(8);\n }\n if (globalState.merchant?.country === MerchantCountries.UNITED_STATES) {\n setAccountCodeLength(17);\n }\n if (globalState.merchant?.country === MerchantCountries.MEXICO) {\n setAccountCodeLength(18);\n }\n if (globalState.merchant?.country === MerchantCountries.NEW_ZEALAND) {\n setAccountCodeLength(16);\n }\n if (globalState.merchant?.country === MerchantCountries.CANADA) {\n setAccountCodeLength(12);\n }\n if (globalState.merchant?.country === MerchantCountries.AUSTRALIA) {\n setAccountCodeLength(9);\n }\n if (globalState.merchant?.country === MerchantCountries.IRELAND) {\n setAccountCodeLength(22);\n }\n };\n AccountNumberLength();\n }, [globalState.merchant.country]);\n\n useEffect(() => {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n completedSteps: {\n ...onboardingForm.completedSteps,\n bankDetails: !isDisabled ? true : false\n }\n }));\n }, [isDisabled, setOnboardingForm]);\n\n useEffect(() => {\n const validateUKBankDetails = async () => {\n const { sortCode, newAccountNumber } = onboardingForm.tradingAddress;\n let checkValidBankAccount = false;\n if (newAccountNumber?.length === 8 && sortCode?.length === 6) {\n setOldAccountNumber(newAccountNumber);\n setOldSortCode(sortCode);\n\n const response = await BankService.validateBankDetailsForUK({\n accountNumber: newAccountNumber,\n sortCode: sortCode\n });\n if (response.isSuccesfully) {\n checkValidBankAccount = response.data.IsCorrect;\n }\n\n setIsBankDetailsNotFound(!checkValidBankAccount);\n setStatusValidationBankAccount(checkValidBankAccount ? 1 : 2);\n } else {\n setIsBankDetailsNotFound(false);\n setStatusValidationBankAccount(0);\n }\n };\n if (globalState.merchant?.country === MerchantCountries.UNITED_KINGDOM) {\n validateUKBankDetails();\n }\n // eslint-disable-next-line\n }, [onboardingForm.tradingAddress.newAccountNumber, onboardingForm.tradingAddress.sortCode]);\n\n const onSubmit = async () => {\n const isCSRFGoingToExpire = isTokenGoingToExpire(csrfToken);\n let latestCSRFToken = csrfToken;\n if (isCSRFGoingToExpire) {\n latestCSRFToken = await generateCSRFToken();\n }\n const status =\n globalState.merchant?.country !== MerchantCountries.UNITED_KINGDOM\n ? BankAccountStatus.UNVERIFIED\n : statusValidationBankAccount === 1\n ? BankAccountStatus.PASSED\n : BankAccountStatus.FAILED;\n const data = {\n ...onboardingForm.tradingAddress,\n status: status,\n step: 3,\n ownerDetails: onboardingForm.ownerPrimaryAddress,\n formType: formTypes.ONBOARDING_BANK_DETAILS\n };\n\n NonResellerMerchantService.completeOnboardingStep(globalState.merchant?.id, 3, data, latestCSRFToken);\n };\n const checkAccountNumber = (confirmAccountNumber) => {\n const isSame = onboardingForm.tradingAddress.newAccountNumber === confirmAccountNumber;\n\n if (!isSame && confirmAccountNumber.length >= onboardingForm.tradingAddress.newAccountNumber.length) {\n setShowMessage(true);\n }\n };\n const validateAcctNumber = (newAccountNumber) => {\n var validateAccNumber = bankValidationMap(globalState.merchant?.country, newAccountNumber);\n if (validateAccNumber) {\n setShowErrorForAccNo(\n !validateAccNumber.isValid && onboardingForm.tradingAddress.newAccountNumber.length !== 0\n );\n setAccNoErrorMessage(validateAccNumber.message);\n }\n return validateAccNumber.isValid;\n };\n const setBankAccountHandler = (e) => {\n if (e.target.value.length <= accountCodeLength) {\n setShow(false);\n setOnboardingForm({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n newAccountNumber: e.target.value\n }\n });\n }\n };\n useEffect(() => {\n setShowMessage(false);\n if (confirmAccountNumber) {\n checkAccountNumber(confirmAccountNumber);\n }\n // eslint-disable-next-line\n }, [onboardingForm.tradingAddress.newAccountNumber, confirmAccountNumber]);\n\n useEffect(() => {\n setConfirmAccountNumber(onboardingForm.tradingAddress.newAccountNumber);\n // eslint-disable-next-line\n }, []);\n useEffect(() => {\n setConfirmAccountNumber(onboardingForm.tradingAddress.newAccountNumber);\n // eslint-disable-next-line\n }, []);\n\n const checkvalue = () => {\n const isSame = onboardingForm.tradingAddress.newAccountNumber.length !== confirmAccountNumber.length;\n if (isSame) {\n setShow(true);\n } else {\n setShow(false);\n }\n };\n return (\n \n );\n}\n\nexport default T2SOnboardingBankDetailsStep;\n","import React from 'react';\nimport {\n Input,\n Label,\n NextButton,\n OnboardingTitle,\n OnboardingFormsContainer,\n FormItem,\n MultiPickerInput\n} from 'components/onboarding/onboarding-ui-components';\nimport styles from './onboarding-business-profile.module.scss';\nimport { Grid, OutlinedInput, Typography } from '@material-ui/core';\nimport { AntSwitch } from 'components';\nimport PropTypes from 'prop-types';\nimport { checkEmptyArray, checkEmptyValue } from 'validators/onboarding/onboarding-check-value.validator';\nimport NumberFormat from 'react-number-format';\n\nfunction OnboardingBusinessProfileComponent(props) {\n const { nextStep, onboardingForm, setOnboardingForm, isDisabled, onSubmit } = props;\n\n const title = (\n \n );\n\n function formBody() {\n function validMonthLimit(val) {\n const numberValue = +val;\n if (numberValue > 11) {\n if (\n numberValue.toString().substring(0, 1) === '1' &&\n Number(numberValue.toString().substring(1, 2)) <= 1\n ) {\n return numberValue.toString().substring(0, 2);\n }\n return numberValue.toString().substring(0, 1);\n }\n return numberValue.toString();\n }\n\n return (\n \n \n \n element.name}\n value={checkEmptyArray(onboardingForm.businessProfile.businessDescriptions)}\n onChange={(value) =>\n setOnboardingForm({\n ...onboardingForm,\n businessProfile: {\n ...onboardingForm.businessProfile,\n businessDescriptions: value\n }\n })\n }\n />\n \n \n \n \n \n \n \n {\n const { value } = values;\n setOnboardingForm({\n ...onboardingForm,\n businessProfile: {\n ...onboardingForm.businessProfile,\n timeInBusinessYears: value\n }\n });\n }}\n aria-describedby=\"outlined-weight-helper-text\"\n labelWidth={0}\n required\n />\n \n \n \n {\n const { value } = values;\n setOnboardingForm({\n ...onboardingForm,\n businessProfile: {\n ...onboardingForm.businessProfile,\n timeInBusinessMonths: value\n }\n });\n }}\n aria-describedby=\"outlined-weight-helper-text\"\n labelWidth={0}\n required\n />\n \n \n \n \n \n
Product
\n
\n \n \n \n
\n \n No\n \n \n setOnboardingForm({\n ...onboardingForm,\n businessProfile: {\n ...onboardingForm.businessProfile,\n isBusinessMakingProducts: e.target.checked\n }\n })\n }\n >\n \n Yes\n \n
\n
\n
\n {onboardingForm.businessProfile.isBusinessMakingProducts && (\n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n businessProfile: {\n ...onboardingForm.businessProfile,\n productDescription: e.target.value\n }\n })\n }\n />\n \n \n )}\n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n businessProfile: {\n ...onboardingForm.businessProfile,\n stockLocation: e.target.value\n }\n })\n }\n >\n \n \n \n \n \n
\n \n No\n \n \n setOnboardingForm({\n ...onboardingForm,\n businessProfile: {\n ...onboardingForm.businessProfile,\n isStockSufficient: e.target.checked\n }\n })\n }\n >\n \n Yes\n \n
\n
\n
\n
\n
\n );\n }\n\n const nextBtn = (\n {\n nextStep();\n onSubmit();\n }}\n >\n );\n\n return ;\n}\n\nOnboardingBusinessProfileComponent.propTypes = {\n nextStep: PropTypes.func,\n onboardingForm: PropTypes.object,\n setOnboardingForm: PropTypes.func,\n isDisabled: PropTypes.bool,\n onSubmit: PropTypes.func\n};\n\nexport default OnboardingBusinessProfileComponent;\n","import React, { useEffect, useState } from 'react';\nimport OnboardingBusinessProfileComponent from './onboarding-business-profile.component';\nimport { useOnboardingFormContext, useGlobalStateContext } from 'contexts';\nimport { NonResellerMerchantService } from 'services';\nimport moment from 'moment';\n\nfunction OnboardingBusinessProfile(props) {\n const { onboardingForm, setOnboardingForm } = useOnboardingFormContext();\n const [isDisabled, setIsDisabled] = useState(true);\n const { globalState } = useGlobalStateContext();\n\n useEffect(() => {\n const {\n businessDescriptions,\n timeInBusinessYears,\n timeInBusinessMonths,\n stockLocation,\n isBusinessMakingProducts\n } = onboardingForm.businessProfile;\n const checkEmptyValues = businessDescriptions.length > 0 && timeInBusinessYears && timeInBusinessMonths;\n const checkValues =\n (checkEmptyValues && !isBusinessMakingProducts) ||\n (checkEmptyValues && isBusinessMakingProducts && stockLocation);\n setIsDisabled(!checkValues);\n }, [onboardingForm.businessProfile]);\n\n useEffect(() => {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n completedSteps: {\n ...onboardingForm.completedSteps,\n businessProfile: isDisabled ? false : true\n }\n }));\n }, [isDisabled, setOnboardingForm]);\n\n const onSubmit = () => {\n var data = { ...onboardingForm.businessProfile };\n if (!onboardingForm.businessProfile.isBusinessMakingProducts) {\n data.productDescriptions = [];\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n businessProfile: {\n ...onboardingForm.businessProfile,\n productDescription: ''\n }\n }));\n }\n\n data = {\n ...data,\n startedBusinessAt: moment()\n .subtract(+data.timeInBusinessYears, 'years')\n .subtract(+data.timeInBusinessMonths, 'months')\n .utcOffset(0)\n .startOf('day')\n .toDate(),\n businessDescriptions: data.businessDescriptions.map((b) => b.id)\n };\n NonResellerMerchantService.completeOnboardingStep(globalState.merchant?.id, 5, data);\n };\n\n return (\n \n );\n}\n\nexport default OnboardingBusinessProfile;\n","import React from 'react';\nimport styles from './loader.module.scss';\n\nconst LoaderComponent = () => {\n return (\n
\n
\n
\n );\n};\n\nexport default LoaderComponent;\n","import React from 'react';\nimport LoaderComponent from './loader.component';\nfunction Loader(props) {\n return ;\n}\n\nexport default Loader;\n","import React from 'react';\nimport { PaymentsListTable } from '../transaction-tables';\nimport { SnackBarAndAlert } from 'components';\n\nconst PaymentsListComponent = (props) => {\n const {\n isRefundHappen,\n setIsRefundHappen,\n showAcquirer,\n selectedAcquirer,\n acquirerName,\n paymentVoidSnackbar,\n setPaymentVoidSnackbar,\n handleVoidTransaction,\n isDateRangeArchived\n } = props;\n return (\n
\n \n {isRefundHappen !== null && (\n setIsRefundHappen(null)}\n type={isRefundHappen ? 'success' : 'error'}\n >\n {isRefundHappen\n ? 'Your refund request has been sent successfully.'\n : 'Your refund request has failed.'}\n \n )}\n {paymentVoidSnackbar.type !== '' && (\n setPaymentVoidSnackbar({ type: '', message: '' })}\n type={paymentVoidSnackbar.type}\n >\n {paymentVoidSnackbar.message}\n \n )}\n
\n );\n};\n\nexport default PaymentsListComponent;\n","import moment from 'moment';\nimport { REACT_APP_CARD_PAYMENT_ARCHIVE_DATE } from 'utils/constants';\n\nexport const isDateBeforeCutOffDate = (date) => {\n const inputDate = moment(date, 'YYYY-MM-DD');\n const thresholdDate = moment(REACT_APP_CARD_PAYMENT_ARCHIVE_DATE, 'MM-DD-YYYY').format('YYYY-MM-DD');\n return inputDate.isBefore(thresholdDate);\n};\n\nexport const dateRangeArchived = (startDate, endDate) =>\n isDateBeforeCutOffDate(startDate) && isDateBeforeCutOffDate(endDate);\n\nexport const getExportDate = (url) => {\n return url.split('/').pop();\n};\n","import React, { useEffect, useState } from 'react';\nimport moment from 'moment';\nimport PropTypes from 'prop-types';\nimport PaymentsListComponent from './payments-list.component';\nimport { PaymentsService } from 'services';\nimport { useGlobalStateContext } from 'contexts';\nimport { errorCodes } from 'utils/internalStatusCode';\nimport { isDateBeforeCutOffDate, dateRangeArchived } from 'utils/calender-helpers.js';\nimport { REACT_APP_CARD_PAYMENT_ARCHIVE_DATE } from 'utils/constants';\n\nconst PaymentsList = (props) => {\n const [error, setError] = useState(false);\n const [payments, setPayments] = useState([]);\n const [total, setTotal] = useState(null);\n const [isRefundHappen, setIsRefundHappen] = useState(null);\n const [paymentVoidSnackbar, setPaymentVoidSnackbar] = useState({ type: '', message: '' });\n const { loading, setLoading, dates, daterange, showAcquirer, selectedAcquirer, acquirerName } = props;\n const { date, via } = props.transactionsListingOptions ? props.transactionsListingOptions : props.match.params;\n const { globalState } = useGlobalStateContext();\n\n const getPaymentsList = async () => {\n const isWeekly = via === 'week' ? true : false;\n const weekStart = moment(date).startOf('week').format('YYYY-MM-DD');\n let from = isWeekly ? weekStart : date;\n if (via === 'year' || via === 'all') {\n setPayments([]);\n setTotal(0);\n } else {\n if (!isDateBeforeCutOffDate(from)) {\n const paymentsList = await PaymentsService.GetPayments(globalState.merchant?.id, {\n //merchantId,\n from,\n via: via.toUpperCase()\n });\n if (paymentsList.isSuccesfully) {\n const filteredPayments = selectedAcquirer\n ? selectedAcquirer.length === 0 || selectedAcquirer.includes('SELECT ALL')\n ? paymentsList.data.payments\n : paymentsList.data.payments.filter(({ payment_provider }) =>\n selectedAcquirer.includes(payment_provider)\n )\n : paymentsList.data.payments;\n setPayments(filteredPayments);\n setTotal(paymentsList.data.total);\n setError(false);\n } else {\n setError(true);\n }\n } else {\n setPayments([]);\n setTotal(0);\n }\n }\n setLoading(false);\n };\n useEffect(() => {\n setLoading(true);\n if (!isDateBeforeCutOffDate(date.from)) {\n globalState.merchant && getPaymentsList();\n }\n // eslint-disable-next-line\n }, [props.location.pathname, date, via, globalState.merchant, isRefundHappen, props.selectedAcquirer]);\n\n useEffect(() => {\n const getTransactions = async () => {\n try {\n let getTxnList = {\n data: { payments: [] },\n isSuccesfully: true,\n props: false\n };\n\n if (dates) {\n const promises = dates.map(async (date) => await getAllPaymentsForRange(date, getTxnList));\n await Promise.all(promises);\n\n getTxnList.data.payments = getTxnList.data.payments.filter((a) => {\n return (\n moment(a.time).isAfter(moment(daterange.start)) &&\n moment(a.time).isBefore(moment(daterange.end).add(1, 'day'))\n );\n });\n\n getTxnList.data.payments.sort((a, b) => (moment(a.time) < moment(b.time) ? 1 : -1));\n setPayments(getTxnList.data.payments);\n setTotal(getTxnList.data.total);\n }\n } catch {\n setError(true);\n }\n setLoading(false);\n };\n setLoading(true);\n getTransactions();\n // eslint-disable-next-line\n }, [dates, daterange]);\n\n async function getAllPaymentsForRange(date, getTxnList) {\n if (dateRangeArchived(date.from, date.to)) {\n setPayments([]);\n } else {\n if (isDateBeforeCutOffDate(date.from)) {\n date.from = moment(REACT_APP_CARD_PAYMENT_ARCHIVE_DATE, 'DD-MM-YYYY').format('YYYY-MM-DD');\n }\n const data = {\n from: date.from,\n to: date.to,\n via: 'RANGE'\n };\n const response = await PaymentsService.GetPayments(globalState.merchant?.id, data);\n if (!response.isSuccesfully) {\n getTxnList.isSuccesfully = response.isSuccesfully;\n }\n getTxnList.data.payments = [...getTxnList.data.payments, ...response.data.payments];\n }\n }\n\n const handleVoidTransaction = async (row) => {\n setLoading(true);\n let paymentId = row.id;\n const response = await PaymentsService.VoidIncorrectTransaction(paymentId);\n if (response.isSuccesfully) {\n if (response?.data?.status === errorCodes.SUCCESSFUL_VOID_TRANSACTION.statusCode) {\n setPaymentVoidSnackbar({ type: 'success', message: response.data.message });\n getPaymentsList();\n } else setPaymentVoidSnackbar({ type: 'error', message: response?.data?.message });\n } else {\n setPaymentVoidSnackbar({ type: 'error', message: 'An error occurred' });\n }\n setLoading(false);\n };\n\n return (\n \n );\n};\n\nexport default PaymentsList;\n\nPaymentsList.propTypes = {\n selectedAcquirer: PropTypes.string,\n match: PropTypes.shape({\n params: PropTypes.shape({\n date: PropTypes.string.isRequired,\n via: PropTypes.string.isRequired\n })\n }),\n location: PropTypes.shape({\n pathname: PropTypes.string.isRequired\n })\n};\n","import React from 'react';\nimport { GfoPaymentsListTable } from '../payments/transaction-tables';\nimport { SnackBarAndAlert } from 'components';\n\nconst GfoPaymentsListComponent = (props) => {\n const { isRefundHappen, setIsRefundHappen } = props;\n return (\n
\n \n {isRefundHappen !== null && (\n setIsRefundHappen(null)}\n type={isRefundHappen ? 'success' : 'error'}\n >\n {isRefundHappen\n ? 'Your refund request has been sent successfully.'\n : 'Your refund request has failed.'}\n \n )}\n
\n );\n};\n\nexport default GfoPaymentsListComponent;\n","import React, { useEffect, useState } from 'react';\nimport moment from 'moment';\nimport PropTypes from 'prop-types';\nimport GfoPaymentsListComponent from './gfo-payments-list.component';\nimport { PaymentsService } from 'services';\nimport { useGlobalStateContext } from 'contexts';\n\nconst GfoPaymentsList = (props) => {\n const [error, setError] = useState(false);\n const [gfoPayments, setGfoPayments] = useState([]);\n const [total, setTotal] = useState(null);\n const [isRefundHappen, setIsRefundHappen] = useState(null);\n const { dates, daterange, loading, setLoading } = props;\n const { date, via } = props.transactionsListingOptions ? props.transactionsListingOptions : props.match.params;\n const { globalState } = useGlobalStateContext();\n useEffect(() => {\n const getPaymentsList = async () => {\n const isWeekly = via === 'week' ? true : false;\n const weekStart = moment(date).startOf('week').format('YYYY-MM-DD');\n // const weekEnd = moment(date).endOf('week').format('DD_MM-YYYY')\n let from = isWeekly ? weekStart : date;\n const paymentsList = await PaymentsService.GetPayments(globalState.merchant?.id, {\n from,\n via: via.toUpperCase()\n });\n if (paymentsList.isSuccesfully) {\n setGfoPayments(paymentsList.data.payments);\n setTotal(paymentsList.data.total);\n setError(false);\n } else {\n setError(true);\n }\n setLoading(false);\n };\n\n setLoading(true);\n\n getPaymentsList();\n // eslint-disable-next-line\n }, [props.location.pathname, date, via, globalState.merchant, isRefundHappen]);\n\n useEffect(() => {\n const getTransactions = async () => {\n try {\n let getTxnList = {\n data: { payments: [] },\n isSuccesfully: true,\n props: false\n };\n\n if (dates) {\n const promises = dates.map(async (date) => await getAllPaymentsForRange(date, getTxnList));\n await Promise.all(promises);\n\n getTxnList.data.payments = getTxnList.data.payments.filter((a) => {\n return (\n moment(a.time).isAfter(moment(daterange.start)) &&\n moment(a.time).isBefore(moment(daterange.end).add(1, 'day'))\n );\n });\n\n getTxnList.data.payments.sort((a, b) => (moment(a.time) < moment(b.time) ? 1 : -1));\n setGfoPayments(getTxnList.data.payments);\n setTotal(getTxnList.data.total);\n }\n } catch {\n setError(true);\n }\n setLoading(false);\n };\n setLoading(true);\n getTransactions();\n // eslint-disable-next-line\n }, [dates, daterange]);\n\n async function getAllPaymentsForRange(date, getTxnList) {\n const data = {\n from: date.from,\n to: date.to,\n via: 'RANGE'\n };\n const response = await PaymentsService.GetPayments(globalState.merchant?.id, data);\n if (!response.isSuccesfully) {\n getTxnList.isSuccesfully = response.isSuccesfully;\n }\n getTxnList.data.payments = [...getTxnList.data.payments, ...response.data.payments];\n }\n\n return (\n \n );\n};\n\nexport default GfoPaymentsList;\n\nGfoPaymentsList.propTypes = {\n match: PropTypes.shape({\n params: PropTypes.shape({\n date: PropTypes.string.isRequired,\n via: PropTypes.string.isRequired\n })\n }),\n location: PropTypes.shape({\n pathname: PropTypes.string.isRequired\n })\n};\n","import React from 'react';\nimport ChargebacksListTable from '../transaction-tables/chargebacks-list-table/chargebacks-list-table.container.js';\n\nconst ChargebackListComponent = (props) => {\n return (\n
\n \n
\n );\n};\n\nexport default ChargebackListComponent;\n","import React, { useEffect, useState } from 'react';\nimport moment from 'moment';\nimport PropTypes from 'prop-types';\nimport ChargebackListComponent from './chargebacks-list.component.jsx';\nimport { ChargebacksService } from 'services';\nimport { useGlobalStateContext } from 'contexts';\n\nconst ChargebackList = (props) => {\n const [error, setError] = useState(false);\n const [chargebacks, setChargebacks] = useState([]);\n const { loading, setLoading } = props;\n const { date, via } = props.match.params;\n const { globalState } = useGlobalStateContext();\n\n useEffect(() => {\n const getChargebacksList = async () => {\n const merchantId = globalState.merchant?.id;\n const day = moment(date, 'YYYY-MM-DD').date();\n const month = moment(date, 'YYYY-MM-DD').month() + 1;\n const year = moment(date, 'YYYY-MM-DD').year();\n const week = moment(date).isoWeek();\n\n const chargebacksList = await ChargebacksService.getChargebacksList({\n merchantId,\n day,\n month,\n year,\n week,\n via: via.toUpperCase()\n });\n\n if (chargebacksList.isSuccesfully) {\n setChargebacks(chargebacksList.data.data);\n setError(false);\n } else {\n setError(true);\n }\n setLoading(false);\n };\n\n setLoading(true);\n\n getChargebacksList();\n //eslint-disable-next-line\n }, [props.location.pathname, date, via, globalState.merchant]);\n\n return ;\n};\n\nexport default ChargebackList;\n\nChargebackList.propTypes = {\n match: PropTypes.shape({\n params: PropTypes.shape({\n date: PropTypes.string.isRequired,\n via: PropTypes.string.isRequired\n })\n }),\n location: PropTypes.shape({\n pathname: PropTypes.string.isRequired\n })\n};\n","export const Resolution = [\n { key: '', value: 'Select Reason' },\n { key: 'NOTRESOLVED', value: 'Not Resolved' },\n { key: 'RESOLVED', value: 'Resolved' }\n];\n","import React from 'react';\nimport {\n Dialog,\n DialogTitle,\n DialogContent,\n TableContainer,\n Table,\n Paper,\n TableBody,\n TableRow,\n TableCell,\n TextField,\n FormControl,\n NativeSelect,\n Input,\n Typography,\n Divider,\n Grid,\n Button\n} from '@material-ui/core';\nimport CloseIcon from '@material-ui/icons/Close';\nimport { Label } from 'components/onboarding/onboarding-ui-components';\nimport { Resolution } from 'utils/enums/Action';\n\nimport styles from './modal-chargeback-list-action.module.scss';\nimport TableHeader from '../payments/transaction-tables/table-header/table-header.container';\nimport { LoadingScreen } from 'components';\nimport { formatDateTimeByFormatStringV2 } from 'utils/helper';\n\nexport default function ModalChargebackActionComponent(props) {\n const {\n openModal,\n setOpenModal,\n wrapperRef,\n headCells,\n chargebackDropdown,\n setChargebackDropdown,\n chargebackDate,\n setChargebackDate,\n chargebackComments,\n setChargebackComments,\n chargebackOutcome,\n setChargebackOutcome,\n chargebackBtn,\n chargebackBtnHandler,\n loading,\n chargebackStatus,\n showingReceiptData\n } = props;\n\n const showReceipt = chargebackStatus.chargebackStatus ? true : false;\n\n let receiptDate = showingReceiptData(chargebackStatus.chargebackDate, chargebackDate);\n let receiptReason = showingReceiptData(chargebackStatus.chargebackReason, chargebackDropdown);\n let receiptComments = showingReceiptData(chargebackStatus.chargebackComments, chargebackComments);\n let receiptOutcome = showingReceiptData(chargebackStatus.chargebackOutcome, chargebackOutcome);\n\n return (\n \n
\n \n\n \n
\n Charge Back Details\n {\n setOpenModal(false);\n }}\n />\n
\n
\n \n \n \n\n \n
\n {!showReceipt ? (\n \n \n \n \n setChargebackDate(e.target.value)}\n />\n \n \n \n \n \n {\n setChargebackDropdown(e.target.value);\n }}\n >\n }\n disableUnderline\n >\n \n \n \n \n \n \n \n \n \n \n \n \n setChargebackComments(e.target.value)}\n />\n \n \n \n \n {\n setChargebackOutcome(e.target.value);\n }}\n >\n }\n disableUnderline\n >\n {Resolution.map((reason) => {\n return ;\n })}\n \n \n \n \n \n Add Record\n \n \n \n \n ) : (\n \n \n \n

\n Chargeback has already been added to this customer\n

\n
\n
\n \n \n \n \n \n \n \n \n {formatDateTimeByFormatStringV2(\n receiptDate,\n 'DD MMM YYYY '\n )}\n \n \n {receiptReason}\n \n \n {receiptComments}\n \n \n {receiptOutcome}\n \n \n \n \n \n \n \n \n )}\n
\n
\n
\n \n );\n}\n","import React, { useState, useEffect, useRef } from 'react';\nimport PropTypes from 'prop-types';\nimport ModalChargebackActionComponent from './modal-chargeback-list-action.component';\nimport { AdminService } from 'services';\n\nexport default function ModalChargebackAction(props) {\n const {\n chargebackStatus,\n setChargebackStatus,\n chargebackTransactionId,\n setOpenModal,\n setChargebackListStatus,\n chargebackListStatus,\n setSnackbarMessage,\n setSnackbarMessageType,\n setShowSnackbarStatus,\n defaultchargeback,\n showChargeback,\n setShowChargeback,\n chargebackExists,\n payment\n } = props;\n\n const [disabled, setDisabled] = useState(true);\n const [chargebackDropdown, setChargebackDropdown] = useState('');\n const [chargebackDate, setChargebackDate] = useState(new Date().toISOString().slice(0, 10));\n const [chargebackComments, setChargebackComments] = useState('');\n const [chargebackOutcome, setChargebackOutcome] = useState('');\n const [chargebackBtn, setChargebackBtn] = useState(true);\n const [chargebackCreated, setChargebackCreated] = useState(false);\n\n const [openSnackbar, setOpenSnackbar] = useState(false);\n const [loading, setLoading] = useState(false);\n const transactionMap = payment?.TransactionMap || chargebackStatus.transactionMap;\n\n const wrapperRef = useRef(null);\n\n let headCells = [\n {\n id: 'chargeBackAddedOn',\n numeric: false,\n disablePadding: false,\n label: 'Added On',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'reason',\n numeric: false,\n disablePadding: false,\n label: 'Reason',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'comments',\n numeric: false,\n disablePadding: false,\n label: 'Comments',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'outcome',\n numeric: false,\n disablePadding: false,\n label: 'Outcome',\n hideSortingIcon: true,\n alignCenter: true\n }\n ];\n const chargebackDetails = () => {\n setChargebackStatus({});\n setChargebackDropdown('');\n setChargebackDate(new Date().toISOString().slice(0, 10));\n setChargebackComments('');\n setChargebackOutcome('');\n };\n\n useEffect(() => {\n if (\n chargebackDropdown === '' ||\n chargebackDate === '' ||\n chargebackComments === '' ||\n chargebackOutcome === ''\n ) {\n setChargebackBtn(true);\n } else {\n setChargebackBtn(false);\n }\n }, [chargebackDropdown, chargebackDate, chargebackComments, chargebackOutcome]);\n const chargebackBtnHandler = async () => {\n setLoading(true);\n const response = await AdminService.UpdateChargebackList({\n transaction_id: chargebackTransactionId,\n date: chargebackDate,\n reason: chargebackDropdown,\n status: chargebackOutcome,\n comments: chargebackComments,\n transactionMap: transactionMap\n });\n if (response.isSuccesfully) {\n setLoading(true);\n setChargebackListStatus(response.status);\n setSnackbarMessage('New chargeback created successfully!');\n setOpenModal(false);\n setChargebackCreated(true);\n setSnackbarMessageType && setSnackbarMessageType('success');\n } else {\n setLoading(true);\n setChargebackListStatus('');\n setSnackbarMessage(response.data.message);\n setOpenModal(false);\n setChargebackCreated(false);\n setSnackbarMessageType && setSnackbarMessageType('error');\n }\n setShowSnackbarStatus(true);\n setChargebackStatus({});\n setLoading(false);\n };\n\n const showingReceiptData = (a, b) => {\n let response = a ? a : b ? b : ;\n if (response === 'NOTRESOLVED') {\n response = 'NOT RESOLVED';\n }\n return response;\n };\n\n return (\n \n );\n}\n\nModalChargebackAction.propTypes = {\n setLoading: PropTypes.func,\n setShow: PropTypes.func,\n getTeamMembers: PropTypes.func,\n doValidation: PropTypes.func\n};\n","import React from 'react';\n\nimport style from './listchargeback.module.scss';\nimport PropTypes from 'prop-types';\nimport { getComparator, stableSort, toTitleCase, formatDateTimeByFormatStringV2 } from '../../utils/helper';\nimport { useGlobalStateContext } from 'contexts';\nimport ModalChargebackAction from 'components/modal-chargeback-list-action/modal-chargeback-list-action.container';\nimport { SnackBarAndAlert } from 'components';\nimport { Link } from 'react-router-dom';\n\nimport {\n TableBody,\n TableCell,\n TableRow,\n Table,\n TableContainer,\n Button,\n Grid,\n Paper,\n Container,\n TextField,\n CircularProgress,\n TableFooter,\n TablePagination,\n Box,\n makeStyles\n} from '@material-ui/core';\nimport TableHeader from '../payments/transaction-tables/table-header/table-header.container';\nconst useStyles = makeStyles(() => ({\n visuallyHidden: {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: 1,\n margin: -1,\n padding: 0,\n position: 'absolute',\n top: 20,\n width: 1\n },\n tableCellSmallSize: {\n '& th': {\n minWidth: '147px',\n maxWidth: '147px'\n }\n }\n}));\n\nconst ListchargebackComponent = (props) => {\n const { getRoute } = useGlobalStateContext();\n\n const {\n rows,\n loading,\n\n handleChangePage,\n handleChangeRowsPerPage,\n page,\n rowsPerPage,\n\n headCells,\n\n setLoading,\n openModal,\n setOpenModal,\n handleModal,\n setTotalAmount,\n totalAmount,\n fetchChargebackList,\n chargebackStatus,\n setChargebackStatus,\n chargebackTransactionId,\n setChargebackTransactionId,\n chargebackListStatus,\n setChargebackListStatus,\n snackbarMessage,\n setSnackbarMessage,\n showSnackbarStatus,\n setShowSnackbarStatus,\n setTxSearchTerm,\n onSearchbyTx,\n defaultchargeback,\n txSearchTerm,\n chargebackCreated,\n setChargebackCreated\n } = props;\n const classes = useStyles();\n\n const alertMessage = () => {\n setShowSnackbarStatus(false);\n };\n\n return (\n \n \n \n setTxSearchTerm(e.target.value)}\n />\n \n Search\n \n \n \n setTotalAmount(e.target.value)}\n />\n \n Search\n \n \n \n \n {loading ? (\n \n \n \n ) : (\n \n \n \n \n {console.log(rows)}\n {!rows || rows.length === 0 ? (\n \n \n
No Chargeback List
\n
\n
\n ) : (\n \n \n {stableSort(\n rowsPerPage > 0\n ? rows.slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage)\n : rows,\n getComparator()\n ).map((row, index) => {\n return (\n <>\n \n \n {row.payment_time ? (\n formatDateTimeByFormatStringV2(\n row.payment_time,\n 'DD MMM HH:mm'\n )\n ) : (\n \n )}\n \n \n \n {row.merchant_id}\n \n \n \n {row.payment_status ? (\n row.payment_status\n ) : (\n \n )}\n \n\n \n {row.amount ? row.amount : }\n \n \n {row.cross_reference ? (\n row.cross_reference\n ) : (\n \n )}\n \n \n {row.tx_auth_no ? row.tx_auth_no : }\n \n \n {row.payment_provider ? (\n toTitleCase(row.payment_provider)\n ) : (\n \n )}\n \n \n {row.last_4_digits ? (\n row.last_4_digits\n ) : (\n \n )}\n \n \n {row.firstname.trim() ? (\n row.firstname\n ) : (\n \n )}\n \n \n {row.address ? row.address : }\n \n \n {row.telephoneNumber ? (\n row.telephoneNumber\n ) : (\n \n )}\n \n \n {\n handleModal(\n row.charge_back_exists,\n row.created_at,\n row.cb_reason,\n row.comments,\n row.outcome,\n row.transaction_map\n );\n setChargebackTransactionId(row.transaction_id);\n }}\n >\n \n Action\n \n \n \n \n \n );\n })}\n \n \n \n {rows.length > rowsPerPage && (\n \n )}\n \n \n \n )}\n \n
\n {chargebackListStatus ? (\n <>\n \n {snackbarMessage}\n \n \n ) : (\n \n {snackbarMessage}\n \n )}\n \n
\n )}\n
\n
\n );\n};\nexport default ListchargebackComponent;\n\nListchargebackComponent.propTypes = {\n loading: PropTypes.bool,\n rows: PropTypes.array,\n error: PropTypes.bool,\n onchargebackProcess: PropTypes.func,\n chargebackStatusFilter: PropTypes.string,\n handleChangePage: PropTypes.func,\n handleChangeRowsPerPage: PropTypes.func,\n chargebackFilterUpdate: PropTypes.func,\n setSearchMerchant: PropTypes.func,\n setchargebackStatus: PropTypes.func\n};\n","import React from 'react';\nimport ListchargebackComponent from './listchargeback-component.jsx';\nimport { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport moment from 'moment';\nimport { getDateRangeOfWeek } from '../../utils/helper';\nimport { AdminService } from 'services';\nimport _ from 'lodash';\n\nconst ListChargebacks = (props) => {\n const [listChargeback, setListChargeback] = useState([]);\n const [loading, setLoading] = useState(false);\n const [error, setError] = useState(false);\n const { path, range, via } = props;\n const [page, setPage] = useState(0);\n const [rowsPerPage, setRowsPerPage] = useState(20);\n const [txSearchTerm, setTxSearchTerm] = useState('');\n const [openModal, setOpenModal] = useState(false);\n const [totalAmount, setTotalAmount] = useState('');\n const [chargebackStatus, setChargebackStatus] = useState({});\n const [chargebackTransactionId, setChargebackTransactionId] = useState('');\n const [showSnackbarStatus, setShowSnackbarStatus] = useState(false);\n\n const [initialListChargeback, setInitialListChargeback] = useState([]);\n const [snackbarMessage, setSnackbarMessage] = useState('');\n const [chargebackListStatus, setChargebackListStatus] = useState('');\n\n let { date } = props.match.params;\n\n useEffect(() => {\n if (totalAmount) {\n fetchChargebackList();\n }\n // eslint-disable-next-line\n }, [date]);\n\n window.addEventListener('keydown', function (e) {\n if (e.metaKey && e.key === 'f') {\n if (document.getElementById('pending-merchants-search-two') !== document.activeElement) {\n e.preventDefault();\n document.getElementById('pending-merchants-search-two').focus();\n } else {\n return true;\n }\n }\n });\n\n const handleModal = (\n chargebackStatus,\n chargebackDate,\n chargebackReason,\n chargebackComments,\n chargebackOutcome,\n transactionMap\n ) => {\n setOpenModal(true);\n setChargebackStatus({\n chargebackStatus: chargebackStatus,\n chargebackDate: chargebackDate,\n chargebackReason: chargebackReason,\n chargebackComments: chargebackComments,\n chargebackOutcome: chargebackOutcome,\n transactionMap: transactionMap\n });\n };\n\n const fetchChargebackList = async () => {\n setLoading(true);\n const day = moment(date).format('DD/MM/YYYY');\n let payload = {\n date: day,\n amount: totalAmount\n };\n const responseList = await AdminService.getChargebackList(payload);\n if (responseList.isSuccesfully) {\n setListChargeback(responseList.data.chargebacks);\n setInitialListChargeback(responseList.data.chargebacks);\n } else {\n setListChargeback([]);\n setInitialListChargeback([]);\n setError(true);\n }\n\n setLoading(false);\n };\n\n const handleChangePage = (event, newPage) => {\n setPage(newPage);\n };\n\n const handleChangeRowsPerPage = (event) => {\n setRowsPerPage(parseInt(event.target.value, 10));\n setPage(0);\n };\n\n const onSearchbyTx = () => {\n setLoading(true);\n if (txSearchTerm !== '') {\n const result = _.filter(initialListChargeback, function (refund) {\n let response = refund.tx_auth_no.includes(txSearchTerm);\n if (response) {\n return refund;\n }\n });\n setListChargeback(result);\n } else {\n setListChargeback(initialListChargeback);\n }\n setLoading(false);\n };\n\n useEffect(() => {\n const urls = {\n next: `/${path}/${range}/`,\n previous: `/${path}/${range}/`,\n range: date\n };\n\n switch (range) {\n case 'day': {\n urls.range = moment(date).format('DD MMM YY');\n urls.previous += moment(date).subtract(1, 'day').format('YYYY-MM-DD');\n urls.next += moment(date).add(1, 'day').format('YYYY-MM-DD');\n break;\n }\n case 'week': {\n const isoWeek = moment(date, 'YYYY-MM-DD').isoWeek();\n const year = moment(date, 'YYYY-MM-DD').isoWeekYear();\n const dateRangeOfWeek = getDateRangeOfWeek(isoWeek, year);\n\n urls.range = dateRangeOfWeek;\n urls.previous += moment(date).subtract(1, 'week').format('YYYY-MM-DD');\n urls.next += moment(date).add(1, 'week').format('YYYY-MM-DD');\n break;\n }\n case 'month': {\n urls.range = moment(date).format('MMMM / YYYY');\n urls.previous += moment(date).subtract(1, 'month').format('YYYY-MM-DD');\n urls.next += moment(date).add(1, 'month').format('YYYY-MM-DD');\n break;\n }\n default:\n break;\n }\n }, [path, range, date]);\n\n let headCells = [\n {\n id: 'date',\n numeric: false,\n disablePadding: false,\n label: 'Date',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'merchantId',\n numeric: false,\n disablePadding: false,\n label: 'Merchant ID',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'paymentStatus',\n numeric: false,\n disablePadding: false,\n label: 'Payment Status',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'total',\n numeric: false,\n disablePadding: false,\n label: 'Total',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'crossReference',\n numeric: false,\n disablePadding: false,\n label: 'Cross Reference',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'taxAuthNo',\n numeric: false,\n disablePadding: false,\n label: 'TxAuth Number',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'provider',\n numeric: false,\n disablePadding: false,\n label: 'Provider',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'lastFour',\n numeric: false,\n disablePadding: false,\n label: 'Last4',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'name',\n numeric: false,\n disablePadding: false,\n label: 'Name',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'address',\n numeric: false,\n disablePadding: false,\n label: 'Address',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'telephone',\n numeric: false,\n disablePadding: false,\n label: 'Telephone',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'action',\n numeric: false,\n disablePadding: false,\n label: 'Action',\n hideSortingIcon: true,\n alignCenter: true\n }\n ];\n\n return (\n \n );\n};\nexport default ListChargebacks;\n\nListChargebacks.propTypes = {\n onChangeDateRange: PropTypes.func,\n path: PropTypes.string.isRequired,\n date: PropTypes.string.isRequired,\n offrange: PropTypes.bool,\n setOffrange: PropTypes.func,\n locationInApp: PropTypes.string\n};\n","import React from 'react';\nimport MerchantChargesListTable from '../transaction-tables/merchant-charges-list-table/merchant-charges-list-table.container';\n\nconst MerchantChargesListComponent = (props) => {\n return (\n
\n \n
\n );\n};\n\nexport default MerchantChargesListComponent;\n","import React, { useEffect, useState } from 'react';\nimport moment from 'moment';\nimport PropTypes from 'prop-types';\n\nimport MerchantChargesListComponent from './merchant-charges-list.component.jsx';\n\nimport { MerchantChargesService, BusinessDetailsService } from 'services';\nimport { useGlobalStateContext } from 'contexts';\n\nconst MerchantChargesList = (props) => {\n const { loading, setLoading, setOpenMerchantModal, openMerchantModal } = props;\n const [error, setError] = useState(false);\n const [merchantCharges, setMerchantCharges] = useState([]);\n const { globalState } = useGlobalStateContext();\n const [page, setPage] = useState(0);\n const [merchantChargeResponse, setMerchantChargeResponse] = useState(false);\n const [merchantChargeResponseFlag, setMerchantChargeResponseFlag] = useState(false);\n\n const { date, via } = props.match.params;\n const [merchantTradingAddress, setMerchantTradingAddress] = useState({});\n const [companyAddress, setCompanyAddress] = useState({});\n const [rowsPerPage, setRowsPerPage] = useState(20);\n const [count, setCount] = useState(0);\n\n const getMerchantChargesList = async (newPage, newRowsPerPage) => {\n setLoading(true);\n const merchantId = globalState.merchant?.id;\n const month = moment(date, 'YYYY-MM-DD').month() + 1;\n const year = moment(date, 'YYYY-MM-DD').year();\n const thePage = newPage ?? page;\n const theRowsPerPage = newRowsPerPage ?? rowsPerPage;\n\n const merchantChargesList = await MerchantChargesService.getMerchantChargesList({\n merchantId,\n month,\n year,\n offset: thePage * theRowsPerPage,\n limit: theRowsPerPage,\n via: via.toUpperCase()\n });\n const merchantResponse = await BusinessDetailsService.getBusinessDetails(globalState.merchant?.id);\n if (merchantResponse.isSuccesfully) {\n setMerchantTradingAddress(merchantResponse.data.businessDetails);\n }\n\n if (merchantChargesList.isSuccesfully) {\n setMerchantCharges(merchantChargesList.data.data.data);\n setCount(merchantChargesList.data.data.count);\n setCompanyAddress(globalState.reseller.address);\n setError(false);\n } else {\n setError(true);\n }\n setLoading(false);\n };\n\n useEffect(() => {\n setPage(0);\n setMerchantChargeResponseFlag(false);\n getMerchantChargesList(0);\n // eslint-disable-next-line\n }, [props.location.pathname, date, via, globalState.merchant, merchantChargeResponseFlag]);\n\n return (\n \n );\n};\n\nexport default MerchantChargesList;\n\nMerchantChargesList.propTypes = {\n match: PropTypes.shape({\n params: PropTypes.shape({\n date: PropTypes.string.isRequired,\n via: PropTypes.string.isRequired\n })\n }),\n location: PropTypes.shape({\n pathname: PropTypes.string.isRequired\n })\n};\n","import React from 'react';\nimport PayoutsListTable from '../transaction-tables/payouts-list-table/payouts-list-table.container';\n\nconst PayoutsListComponent = (props) => {\n return (\n
\n \n
\n );\n};\n\nexport default PayoutsListComponent;\n","import React, { useEffect, useState } from 'react';\nimport PayoutsListComponent from './payouts-list.component.jsx';\nimport { Roles } from '../../../utils/enums/Roles';\nimport { PayoutsService } from 'services';\nimport { useGlobalStateContext, useBalanceContext } from 'contexts';\nimport PropTypes from 'prop-types';\nimport { AcquirersToAcquirerName, ReverseAcquirersToAcquirerName } from 'utils/enums/Acquirers';\n\nconst PayoutsList = (props) => {\n const [error, setError] = useState(false);\n const [payouts, setPayouts] = useState([]);\n const [notInBatchPayouts, setNotInBatchPayouts] = useState([]);\n const [allPayouts, setAllPayouts] = useState([]);\n const [allNotInBatchPayouts, setAllNotInBatchPayouts] = useState([]);\n const [total, setTotal] = useState(null);\n const [isOwner, setIsOwner] = useState(false);\n const { globalState } = useGlobalStateContext();\n const { balance } = useBalanceContext();\n const { date, via } = props.match.params;\n const { notReceived, loading, setLoading, selectedProvider } = props;\n const [page, setPage] = useState(0);\n const [refresh, setRefresh] = useState(true);\n\n useEffect(() => {\n const getPayoutsList = async () => {\n const merchantId = globalState.merchant?.id;\n const payoutsList = await PayoutsService.getAllPayouts(merchantId, {\n selectedDate: date\n });\n\n if (payoutsList.isSuccesfully) {\n if (notReceived) {\n const inBatchList = [...payoutsList.data.transaction_data.in_batch];\n let notReceivedInBatchList = inBatchList.filter((item) => {\n return item.not_received;\n });\n filterPayouts(selectedProvider, notReceivedInBatchList);\n setAllPayouts(notReceivedInBatchList);\n } else {\n filterPayouts(\n selectedProvider,\n payoutsList.data.transaction_data.in_batch,\n payoutsList.data.transaction_data.not_in_batch\n );\n setAllPayouts(payoutsList.data.transaction_data.in_batch);\n\n if (payoutsList.data.transaction_data.not_in_batch.length !== 0) {\n filterPayouts(\n selectedProvider,\n payoutsList.data.transaction_data.in_batch,\n payoutsList.data.transaction_data.not_in_batch\n );\n setAllNotInBatchPayouts(payoutsList.data.transaction_data.not_in_batch);\n } else {\n setNotInBatchPayouts([]);\n setAllNotInBatchPayouts([]);\n }\n }\n setTotal(payoutsList.data.transaction_data.not_in_batch.total);\n setError(false);\n } else {\n setError(true);\n }\n setLoading(false);\n };\n\n if (globalState.merchant?.hasOwnProperty('userRole')) {\n setIsOwner(globalState.merchant?.userRole === Roles.Owner);\n }\n\n setLoading(true);\n setPage(0);\n\n getPayoutsList();\n // eslint-disable-next-line\n }, [props.location.pathname, date, via, globalState.merchant, notReceived, balance, refresh]);\n\n const filterPayouts = (selectedProvider, inBatchList = [], notInBatchList = []) => {\n if (selectedProvider !== AcquirersToAcquirerName.ALL) {\n const filterdInBatch = inBatchList.filter((payout) => {\n return payout.provider === ReverseAcquirersToAcquirerName[selectedProvider];\n });\n const filterdNotInBatch = notInBatchList.filter((payout) => {\n return payout.provider === ReverseAcquirersToAcquirerName[selectedProvider];\n });\n setPayouts(filterdInBatch);\n setNotInBatchPayouts(filterdNotInBatch);\n } else {\n setPayouts(inBatchList);\n setNotInBatchPayouts(notInBatchList);\n }\n };\n\n useEffect(() => {\n filterPayouts(selectedProvider, allPayouts, allNotInBatchPayouts);\n // eslint-disable-next-line\n }, [selectedProvider]);\n\n return (\n \n );\n};\n\nexport default PayoutsList;\n\nPayoutsList.propTypes = {\n match: PropTypes.shape({\n params: PropTypes.shape({\n date: PropTypes.string.isRequired,\n via: PropTypes.string.isRequired\n })\n }),\n location: PropTypes.shape({\n pathname: PropTypes.string.isRequired\n })\n};\n","import React, { useState } from 'react';\n\nimport {\n Paper,\n Box,\n CircularProgress,\n Table,\n TableBody,\n TableCell,\n TableContainer,\n TableRow,\n TableFooter,\n TablePagination,\n Button\n} from '@material-ui/core';\n\nimport { makeStyles } from '@material-ui/core/styles';\nimport TransactionStatusLabel from '../transaction-status-label/transaction-status-label.container';\nimport TableHeader from '../table-header/table-header.container';\nimport { formatDateTimeByFormatString, getComparator, stableSort, formatCurrency } from '../../../../utils/helper';\nimport styles from './internal-transfers-list-table.module.scss';\nimport PropTypes from 'prop-types';\nimport TableFooterComponent from '../table-footer/table-footer.component';\nimport { useGlobalStateContext } from 'contexts';\nimport { getCurrencyThreeAlpha } from 'utils/getCurrencyByCountry';\nimport { ModalCancelInternalTransfer, ModalRefundInternalTransfer } from 'components';\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n width: '100%',\n 'border-top': '1px solid #ddd',\n 'margin-top': '10px'\n },\n paper: {\n width: '100%',\n marginBottom: theme.spacing(2),\n boxShadow: 'none'\n },\n table: {\n minWidth: '100%'\n },\n tableRow: {\n '&$selected, &$selected:hover': {\n backgroundColor: '#e4e1fe'\n }\n },\n selected: {},\n visuallyHidden: {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: 1,\n margin: -1,\n padding: 0,\n position: 'absolute',\n top: 20,\n width: 1\n },\n checkbox: {\n color: '#8783b5'\n }\n}));\n\nexport default function InternalTransfersListTableComponent(props) {\n const { globalState } = useGlobalStateContext();\n const classes = useStyles();\n const {\n rows,\n selected,\n isSelected,\n order,\n orderBy,\n loading,\n error,\n transferType,\n showCancelTransaction,\n setRefresh,\n showRefundTransaction,\n page,\n setPage\n } = props;\n\n const [rowsPerPage, setRowsPerPage] = useState(20);\n\n const handleChangePage = (event, newPage) => {\n setPage(newPage);\n };\n\n const handleChangeRowsPerPage = (event) => {\n setRowsPerPage(parseInt(event.target.value, 10));\n setPage(0);\n };\n\n return (\n
\n \n {loading ? (\n \n \n \n ) : error ? (\n
An error occurred, please try reloading your browser.
\n ) : (\n \n {!rows || rows.length === 0 ? (\n
There aren't any results for that query.
\n ) : (\n \n \n \n \n \n {stableSort(\n rowsPerPage > 0\n ? rows.slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage)\n : rows,\n getComparator(order, orderBy)\n ).map((row, index) => {\n const isItemSelected = isSelected(row.id);\n const labelId = `enhanced-table-checkbox-${index}`;\n\n return (\n \n \n {formatCurrency(\n row.amount,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n \n {row.supplier}\n \n {formatDateTimeByFormatString(\n row.created_at,\n 'DD MMM HH:mm'\n )}\n \n {row.description}\n \n \n \n \n {transferType === 'sender' && row.status === 'PENDING' ? (\n {\n showCancelTransaction(row);\n props.setShowCancelModel(true);\n }}\n >\n Cancel\n \n ) : null}\n {transferType === 'supplier' && row.status === 'COMPLETE' && (\n {\n showRefundTransaction(row);\n props.setShowRefundModel(true);\n }}\n >\n Refund\n \n )}\n \n \n );\n })}\n \n \n \n \n \n \n {rows.length > rowsPerPage && (\n \n )}\n \n \n \n \n \n \n )}\n
\n )}\n {props.showCancelModel && (\n \n )}\n {props.showRefundModel && (\n \n )}\n
\n
\n );\n}\n\nInternalTransfersListTableComponent.propTypes = {\n rows: PropTypes.array.isRequired,\n selected: PropTypes.array.isRequired,\n isSelected: PropTypes.func.isRequired,\n order: PropTypes.string.isRequired,\n orderBy: PropTypes.string.isRequired,\n loading: PropTypes.bool.isRequired,\n error: PropTypes.bool.isRequired,\n transferType: PropTypes.string.isRequired,\n showCancelTransaction: PropTypes.func,\n setRefresh: PropTypes.func,\n showRefundTransaction: PropTypes.func\n};\n","import React, { useState } from 'react';\nimport InternalTransfersListTableComponent from './internal-transfers-list-table.component.jsx';\nimport PropTypes from 'prop-types';\n\nconst InternalTransfersListTable = (props) => {\n const [order, setOrder] = useState('desc');\n const [orderBy, setOrderBy] = useState('created_at');\n const [selected, setSelected] = useState([]);\n const [supplier, setSupplier] = useState();\n const [amount, setAmount] = useState();\n const [transactionId, setTransactionId] = useState();\n const [sender, setSender] = useState('');\n const [showCancelModel, setShowCancelModel] = useState(false);\n const [showRefundModel, setShowRefundModel] = useState(false);\n const { internalTransfers, loading, error, total, transferType, setRefresh, page, setPage } = props;\n\n const showCancelTransaction = async (transaction) => {\n setShowCancelModel(true);\n setSupplier(transaction.supplier);\n setAmount(transaction.amount);\n setTransactionId(transaction.id);\n };\n const handleRequestSort = (event, property) => {\n const isAsc = orderBy === property && order === 'asc';\n setOrder(isAsc ? 'desc' : 'asc');\n setOrderBy(property);\n };\n\n const handleSelectAllClick = (event) => {\n setPage(0);\n if (event.target.checked) {\n const newSelecteds = internalTransfers.map((n) => n.id);\n setSelected(newSelecteds);\n return;\n }\n setSelected([]);\n };\n\n const handleClick = (event, id) => {\n const selectedIndex = selected.indexOf(id);\n let newSelected = [];\n\n if (selectedIndex === -1) {\n newSelected = newSelected.concat(selected, id);\n } else if (selectedIndex === 0) {\n newSelected = newSelected.concat(selected.slice(1));\n } else if (selectedIndex === selected.length - 1) {\n newSelected = newSelected.concat(selected.slice(0, -1));\n } else if (selectedIndex > 0) {\n newSelected = newSelected.concat(selected.slice(0, selectedIndex), selected.slice(selectedIndex + 1));\n }\n\n setSelected(newSelected);\n };\n\n const isSelected = (id) => selected.indexOf(id) !== -1;\n\n const headCells = [\n { id: 'amount', numeric: false, disablePadding: false, label: 'Amount' },\n {\n id: transferType === 'supplier' ? 'sender' : `supplier`,\n numeric: true,\n disablePadding: false,\n label: transferType === 'supplier' ? 'Sender' : `Supplier`\n },\n { id: 'created_at', numeric: false, disablePadding: false, label: 'Date' },\n { id: 'description', numeric: false, disablePadding: false, label: 'Description' },\n { id: 'status', numeric: false, disablePadding: false, label: 'Status' },\n { id: 'action', numeric: false, disablePadding: false, label: '' }\n ];\n\n const showRefundTransaction = async (transaction) => {\n setAmount(transaction.amount);\n setTransactionId(transaction.id);\n setSender(transaction.supplier);\n setShowRefundModel(true);\n };\n\n return (\n \n );\n};\n\nexport default InternalTransfersListTable;\n\nInternalTransfersListTable.propTypes = {\n internalTransfers: PropTypes.array.isRequired,\n loading: PropTypes.bool.isRequired,\n error: PropTypes.bool.isRequired,\n total: PropTypes.string,\n transferType: PropTypes.string,\n setRefresh: PropTypes.func\n};\n","import React from 'react';\nimport InternalTransfersListTable from '../transaction-tables/internal-transfers-list-table/internal-transfers-list-table.container';\n\nconst InternalTransfersListComponent = (props) => {\n return (\n
\n \n
\n );\n};\n\nexport default InternalTransfersListComponent;\n","import React, { useEffect, useState } from 'react';\nimport moment from 'moment';\nimport PropTypes from 'prop-types';\n\nimport InternalTransfersListComponent from './internal-transfers-list.component.jsx';\n\nimport { InternalTransfersService } from 'services';\nimport { useGlobalStateContext } from 'contexts';\nimport { useBalanceContext } from 'contexts/balance-context/balance-context.js';\n\nconst InternalTransfersList = (props) => {\n const [error, setError] = useState(false);\n const [total, setTotal] = useState(0);\n const [internalTransfers, setInternalTransfers] = useState([]);\n const [transferType, setTransferType] = useState();\n const [refresh, setRefresh] = useState(false);\n const { globalState } = useGlobalStateContext();\n const { balance } = useBalanceContext();\n const [page, setPage] = useState(0);\n\n const { date, via } = props.match.params;\n const { setTotalPendingAmount, show, setEnableWithdrawal, loading, setLoading } = props;\n\n useEffect(() => {\n setPage(0);\n const getInternalTransfersList = async () => {\n const merchantId = globalState.merchant?.id;\n const day = moment(date, 'YYYY-MM-DD').date();\n const month = moment(date, 'YYYY-MM-DD').month() + 1;\n const year = moment(date, 'YYYY-MM-DD').year();\n const week = moment(date).isoWeek();\n\n const internalTransfersList = await InternalTransfersService.getInternalTransfersList({\n merchantId,\n day,\n month,\n year,\n week,\n via: via.toUpperCase()\n });\n\n if (internalTransfersList.isSuccesfully) {\n setInternalTransfers(internalTransfersList.data.data.internalTransfers);\n setTotalPendingAmount(internalTransfersList.data.data.totalPendingAmount);\n setTotal(internalTransfersList.data.data.total);\n setTransferType(internalTransfersList.data.data.transfer_type);\n setEnableWithdrawal(internalTransfersList.data.data.transfer_type === 'supplier' ? true : false);\n setError(false);\n } else {\n setError(true);\n }\n setLoading(false);\n setRefresh(false);\n };\n if (!show || refresh) {\n setLoading(true);\n getInternalTransfersList();\n }\n // eslint-disable-next-line\n }, [\n props.location.pathname,\n date,\n via,\n globalState.merchant,\n setTotalPendingAmount,\n show,\n setEnableWithdrawal,\n refresh,\n balance\n ]);\n\n return (\n \n );\n};\n\nexport default InternalTransfersList;\n\nInternalTransfersList.propTypes = {\n match: PropTypes.shape({\n params: PropTypes.shape({\n date: PropTypes.string.isRequired,\n via: PropTypes.string.isRequired\n })\n }),\n location: PropTypes.shape({\n pathname: PropTypes.string.isRequired\n }),\n setTotalPendingAmount: PropTypes.func.isRequired,\n show: PropTypes.bool,\n setEnableWithdrawal: PropTypes.func\n};\n","import React from 'react';\nimport { Modal } from 'react-bootstrap';\nimport { Form, Button, Row, Col, Container, Spinner } from 'react-bootstrap';\nimport { getCurrencySymbol } from 'utils/getCurrencyByCountry';\nimport { useGlobalStateContext } from 'contexts';\nimport styles from './modal-email-form.module.scss';\nimport { emailValidationPattern } from '../../../utils/enums/EmailValidationPattern';\nimport Tooltip from '@material-ui/core/Tooltip';\nimport { withStyles } from '@material-ui/core/styles';\n\nconst ErrorTooltip = withStyles((theme) => ({\n tooltip: {\n backgroundColor: '#fdf2ee',\n fontSize: '14px',\n color: '#43425d',\n border: '2px solid #deb4a9',\n marginTop: '5px',\n maxWidth: '100%'\n },\n arrow: { backgroundColor: '#fdecea' }\n}))(Tooltip);\n\nfunction ModalEmailComponent(props) {\n const {\n amount,\n email,\n message,\n setEmail,\n loading,\n success,\n handleClose,\n handleSubmit,\n inValidForm,\n emailValidationMessage,\n setEmailValidationMessage\n } = props;\n const { globalState } = useGlobalStateContext();\n\n const emailForm = () => {\n return !loading ? (\n \n
\n \n \n \n Enter Customer's Email\n \n {\n setEmail(event.target.value.toLowerCase());\n setEmailValidationMessage('');\n }}\n required\n />\n \n \n \n \n
\n \n \n Request {getCurrencySymbol(globalState.merchant?.country)} {amount}\n \n \n
\n
\n
\n ) : (\n
\n \n

Notifying customer please wait...

\n
\n );\n };\n\n return (\n <>\n \n \n Pay by link - request\n \n\n \n {success === null ? (\n emailForm()\n ) : success ? (\n

\n Email has been sent successfully.\n \n

\n ) : (\n

\n {message}\n \n

\n )}\n
\n
\n \n );\n}\n\nexport default ModalEmailComponent;\n","import React, { useState, useCallback, useEffect } from 'react';\nimport ModalEmailComponent from './modal-email-form.component.jsx';\nimport { debounce } from 'lodash';\nimport { VirtualTerminalService, InitialiseSaleService } from 'services';\nimport { getCurrencySymbol, getCurrencyCode } from 'utils/getCurrencyByCountry';\nimport { useGlobalStateContext } from 'contexts';\nimport { validateEmailAddress } from 'utils/helper';\n\nexport default function ModalEmail(props) {\n const { globalState } = useGlobalStateContext();\n const { setShow, amount, description = '', setAmount, setDescription, userEmail, setUserEmail } = props;\n const [email, setEmail] = useState(userEmail);\n const [loading, setLoading] = useState(false);\n const [success, setSuccess] = useState(null);\n const [message, setMessage] = useState('');\n const [inValidForm, setInValidForm] = useState(true);\n const [emailValidationMessage, setEmailValidationMessage] = useState('');\n const handleClose = () => {\n setShow(false);\n\n if (success) {\n setAmount('');\n setDescription('');\n setUserEmail('');\n }\n };\n async function getDnaData(params) {\n try {\n const response = await InitialiseSaleService.InitialiseDNASale(params);\n const { uuid } = response.data;\n return uuid;\n } catch (E) {\n console.log('E ', E);\n setLoading(false);\n return null;\n }\n }\n\n const handleSubmit = async (e) => {\n e.preventDefault();\n setLoading(true);\n\n const { merchantAcquirer } = globalState;\n let sessionId = '';\n\n const data = {\n email: email,\n amount: amount,\n description: description.trim(),\n portalURL: globalState.reseller?.portalURL,\n merchantName: globalState.merchant?.name,\n currencySymbol: getCurrencySymbol(globalState.merchant?.country),\n currencyCode: getCurrencyCode(globalState.merchant?.country),\n payvia: merchantAcquirer?.acquirer ? 'DNA_EMAIL' : 'EMAIL',\n sessionId: ''\n };\n\n if (merchantAcquirer.acquirer) {\n let params = { amount: amount, currency_code: 826, description: description.trim(), email: userEmail };\n sessionId = await getDnaData(params);\n if (!sessionId) {\n setMessage('Something went wrong!');\n return;\n }\n data.sessionId = sessionId;\n }\n\n let result = await VirtualTerminalService.sendPayByLinkEmail(data);\n setLoading(false);\n setSuccess(result.isSuccessfully);\n setMessage(result.message);\n };\n\n const validation = (email) => {\n const errorMessage = validateEmailAddress(email);\n setEmailValidationMessage(errorMessage);\n setInValidForm(errorMessage);\n };\n\n // trigger validation function when user stop typing\n const doValidation = useCallback(debounce(validation, 1000), []);\n\n useEffect(() => {\n if (email) {\n doValidation(email);\n }\n // eslint-disable-next-line\n }, [email]);\n\n return (\n \n );\n}\n","import React from 'react';\nimport { Form, Button, Row, Col, Container, Spinner, Modal } from 'react-bootstrap';\nimport { OutlinedInput } from '@material-ui/core';\nimport NumberFormat from 'react-number-format';\n// import PhoneInput from 'react-phone-input-2';\nimport { getCurrencySymbol } from 'utils/getCurrencyByCountry';\nimport { useGlobalStateContext } from 'contexts';\nimport styles from './modal-invoice-form.module.scss';\nimport { emailValidationPattern } from '../../../utils/enums/EmailValidationPattern';\nimport moment from 'moment';\n\nfunction ModalInvoiceComponent(props) {\n const {\n amount,\n message,\n loading,\n success,\n handleClose,\n handleSubmit,\n formFields,\n handleInvoiceFieldsChange,\n showPayByInvoiceModal\n } = props;\n const {\n email,\n // phone,\n quantity,\n item,\n firstName,\n lastName,\n dateOfExpiry,\n // phoneError,\n emailError,\n supplyDate\n } = formFields;\n\n const { globalState } = useGlobalStateContext();\n\n const invoiceSendForm = () => {\n return !loading ? (\n \n
\n Please enter customer details\n \n \n \n Email\n {\n handleInvoiceFieldsChange('email', event.target.value.toLowerCase());\n }}\n />\n {emailError ? (\n \n {emailError}\n \n ) : (\n  \n )}\n \n \n \n {/*

Or

\n \n \n \n Phone Number\n handleInvoiceFieldsChange('phone', phone)}\n inputClass={styles.phoneInput}\n disabled={loading}\n />\n {phoneError ? (\n \n {phoneError}\n \n ) : (\n ''\n )}\n \n \n */}\n \n \n \n First Name\n handleInvoiceFieldsChange('firstName', e.target.value)}\n disabled={loading}\n />\n \n \n \n \n Last Name\n handleInvoiceFieldsChange('lastName', e.target.value)}\n required\n disabled={loading}\n />\n \n \n \n \n \n \n Quantity\n {\n handleInvoiceFieldsChange('quantity', e.target.value);\n }}\n value={quantity}\n required\n disabled={loading}\n className={styles.quantityInput}\n />\n \n \n \n \n Supply Date\n {\n handleInvoiceFieldsChange('supplyDate', event.target.value);\n }}\n />\n \n \n \n \n Date of Expiry\n {\n handleInvoiceFieldsChange('dateOfExpiry', event.target.value);\n }}\n />\n \n \n \n \n \n \n Item Description\n handleInvoiceFieldsChange('item', e.target.value)}\n required\n disabled={loading}\n maxLength={255}\n />\n \n \n \n
\n \n \n Send Invoice {getCurrencySymbol(globalState.merchant?.country)} {amount}\n \n \n
{message ? message :
}
\n
\n
\n
\n ) : (\n
\n \n

Notifying customer please wait...

\n
\n );\n };\n\n return (\n <>\n \n \n Pay by Invoice - request\n \n\n \n {success === false ? (\n invoiceSendForm()\n ) : (\n

\n {message}\n \n

\n )}\n
\n
\n \n );\n}\n\nexport default ModalInvoiceComponent;\n","import React, { useState, useReducer, useEffect } from 'react';\nimport ModalInvoiceComponent from './modal-invoice-form.component.jsx';\nimport { VirtualTerminalService } from 'services';\nimport { getCurrencySymbol, getCurrencyCode } from 'utils/getCurrencyByCountry';\nimport { useGlobalStateContext } from 'contexts';\nimport { InputValidators } from 'validators';\nimport moment from 'moment';\n\nexport default function ModalInvoice(props) {\n const { globalState } = useGlobalStateContext();\n const {\n amount,\n description,\n showPayByInvoiceModal,\n userEmail,\n setUserEmail,\n setAmount,\n setDescription,\n setShow\n } = props;\n const initialFormFields = {\n email: userEmail,\n phone: '',\n firstName: '',\n lastName: '',\n quantity: 1,\n item: '',\n //expected default date to be 28 days by default\n dateOfExpiry: moment().add(28, 'days').format('YYYY-MM-DD'),\n supplyDate: moment().format('YYYY-MM-DD'),\n emailError: '',\n phoneError: ''\n };\n\n const [formFields, setFormFields] = useReducer(\n (curFields, newFields) => ({ ...curFields, ...newFields }),\n initialFormFields\n );\n\n function handleInvoiceFieldsChange(field, value) {\n setFormFields({ [field]: value });\n }\n\n const [loading, setLoading] = useState(false);\n const [success, setSuccess] = useState(false);\n const [message, setMessage] = useState('');\n const [emailValidationMessage, setEmailValidationMessage] = useState('');\n\n useEffect(() => {\n const dateOfExpiry = formFields.dateOfExpiry;\n const supplyDate = formFields.supplyDate;\n if (moment(dateOfExpiry).endOf('d').isBefore(new moment(supplyDate).endOf('d'))) {\n handleInvoiceFieldsChange('supplyDate', dateOfExpiry);\n }\n }, [formFields.dateOfExpiry, formFields.supplyDate]);\n\n const handleClose = () => {\n if (!loading) {\n setShow(false);\n if (success) {\n setAmount('');\n setDescription('');\n setUserEmail('');\n }\n }\n };\n\n const isFormInvalid = () => {\n let isError = false;\n const { email, phone, dateOfExpiry, supplyDate } = formFields;\n if (email && !InputValidators.isEmailValid(email)) {\n handleInvoiceFieldsChange('emailError', 'provide valid email');\n isError = true;\n }\n if (phone && !InputValidators.validateInternationPhoneNumber('+' + phone)) {\n handleInvoiceFieldsChange('phoneError', 'provide valid phone number');\n isError = true;\n }\n if (!(email || phone)) {\n handleInvoiceFieldsChange('emailError', 'Please provide valid email');\n isError = true;\n }\n if (moment(supplyDate).endOf('D').isAfter(new moment(dateOfExpiry).endOf('D'))) {\n isError = true;\n }\n if (isError) {\n setTimeout(() => {\n setFormFields({\n emailError: '',\n phoneError: ''\n });\n }, 3000);\n }\n return isError;\n };\n\n const handleSubmit = async (e) => {\n e.preventDefault();\n setLoading(true);\n if (!isFormInvalid()) {\n const { email, phone, firstName, lastName, quantity, item, dateOfExpiry, supplyDate } = formFields;\n const data = {\n amount: amount,\n description: description.trim(),\n cxInfo: {\n email,\n phone,\n firstName,\n lastName,\n item,\n quantity,\n dateOfExpiry: moment(dateOfExpiry).format('YYYY-MM-DD'),\n supplyDate: moment(supplyDate).format('YYYY-MM-DD')\n },\n receiptEmail: userEmail,\n portalURL: globalState.reseller?.portalURL,\n merchantName: globalState.merchant?.name,\n merchantId: globalState.merchant?.id,\n currencySymbol: getCurrencySymbol(globalState.merchant?.country),\n currencyCode: getCurrencyCode(globalState.merchant?.country)\n };\n let result = await VirtualTerminalService.sendInvoiceViaEmailPhone(data);\n setSuccess(result.isSuccesfully);\n setMessage(result.data);\n setLoading(false);\n if (!result.isSuccesfully) {\n setTimeout(() => {\n setMessage('');\n }, 5000);\n }\n } else {\n setLoading(false);\n }\n };\n\n return (\n \n );\n}\n","export const VirtualTerminalPayments = {\n customer_card: 'customer_card',\n email: 'email',\n invoice: 'invoice'\n};\n\nexport const VirtualTerminalPaymentsText = {\n customer_card: \"Proceed via customer's card\",\n email: 'Request payment via email',\n invoice: 'Request payment via Invoice'\n};\n","import React from 'react';\nimport { Button, Form } from 'react-bootstrap';\nimport { getCurrencySymbol } from 'utils/getCurrencyByCountry';\nimport styles from './virtual-terminal.module.scss';\nimport ModalEmail from '../pay-by-link/modal-email-form/modal-email-form.container';\nimport NumberFormat from 'react-number-format';\nimport { ValidEmailInput } from 'components';\nimport { InputAdornment, OutlinedInput, FormControlLabel, Checkbox } from '@material-ui/core';\nimport { Input } from 'components/onboarding/onboarding-ui-components';\nimport { validateEmailAddress } from 'utils/helper';\nimport ModalInvoice from '../pay-by-link/modal-invoice-form/modal-invoice-form.container';\nimport { VirtualTerminalPayments, VirtualTerminalPaymentsText } from 'utils/enums/PaymentMode';\n\nconst VirtualTerminalComponent = (props) => {\n const {\n amount,\n description,\n handleAmountChange,\n handleDescriptionChange,\n isMaxAmount,\n showPayByLinkModal,\n setShowPayByLinkModal,\n isButtonDisabled,\n setAmount,\n setDescription,\n showReceipt,\n setShowReceipt,\n email,\n setEmail,\n phoneInput,\n showPayByInvoiceModal,\n setShowPayByInvoiceModal,\n paymentMode,\n setPaymentMode,\n handlePayment,\n isVat,\n isInvoiceEnabled\n } = props;\n const isDisable =\n isButtonDisabled(amount) || (!!showReceipt ? validateEmailAddress(email) && !(phoneInput.length > 2) : false);\n return (\n
\n
\n
\n

Enter the amount

\n
\n
\n \n \n {getCurrencySymbol('United Kingdom')}\n \n }\n onValueChange={(e) => handleAmountChange(e)}\n isAllowed={isMaxAmount}\n aria-describedby=\"outlined-weight-helper-text\"\n labelWidth={0}\n required\n className={styles.cardInput}\n />\n
\n
\n \n \n
\n {\n setShowReceipt(e.target.checked);\n }}\n />\n }\n label=\"Send a receipt\"\n />\n {showReceipt && (\n
\n
Please enter an email address to send a receipt
\n {\n setEmail(e.target.value.toLowerCase());\n }}\n />\n {/* using below condition for hiding phone number as of now in future we need this */}\n {/* {!isDna && (\n \n \n setPhoneInput(phone)}\n inputClass={styles.phoneInput}\n name=\"phone\"\n />\n \n )} */}\n {/*
Secure payments powered by Omnipay
*/}\n
\n )}\n \n Proceed your payment via\n
\n {\n setPaymentMode(VirtualTerminalPayments.customer_card);\n }}\n >\n \n Customer Card\n
\n {\n setPaymentMode(VirtualTerminalPayments.email);\n }}\n >\n \n Email\n
\n {isVat && isInvoiceEnabled ? (\n {\n setPaymentMode(VirtualTerminalPayments.invoice);\n }}\n >\n \n Invoice\n
\n ) : null}\n \n \n
\n
\n {\n handlePayment(paymentMode);\n }}\n disabled={isDisable}\n >\n {VirtualTerminalPaymentsText[paymentMode]}\n \n
\n
\n \n {showPayByLinkModal ? (\n \n ) : null}\n {showPayByInvoiceModal ? (\n \n ) : null}\n \n );\n};\n\nexport default VirtualTerminalComponent;\n","import React, { useState, useEffect } from 'react';\nimport VirtualTerminalComponent from './virtual-terminal.component';\nimport { useGlobalStateContext } from 'contexts';\nimport { cleverTapClick } from 'utils/helper';\nimport { VirtualTerminalPayments } from 'utils/enums/PaymentMode';\n\nfunction VirtualTerminal(props) {\n const [amount, setAmount] = useState('');\n const [description, setDescription] = useState('');\n const [showPayByLinkModal, setShowPayByLinkModal] = useState(false);\n const [showPayByInvoiceModal, setShowPayByInvoiceModal] = useState(false);\n const [paymentMode, setPaymentMode] = useState(VirtualTerminalPayments['customer_card']);\n const [showReceipt, setShowReceipt] = useState(false);\n const [email, setEmail] = useState('');\n const [phoneInput, setPhoneInput] = useState('');\n const [isVat, setIsVat] = useState(false);\n const { globalState, setGlobalState, setRoute } = useGlobalStateContext();\n const { merchantAcquirer, merchant } = globalState;\n const isDna = merchant.isDna;\n const handleAmountChange = (e) => {\n const { value } = e;\n setAmount(value);\n };\n\n const handleDescriptionChange = (e) => {\n setDescription(e.target.value);\n };\n\n const isMaxAmount = (values) => {\n const { value, floatValue } = values;\n const MAX_AMT = 9999999.99;\n\n if (typeof floatValue === 'undefined' || typeof value === 'undefined') {\n return true;\n }\n if (value.charAt(0) === '0') {\n if (value.charAt(1) && value.charAt(1) !== '.') {\n return false;\n }\n }\n if (value > MAX_AMT) {\n return false;\n }\n return true;\n };\n\n const isButtonDisabled = (amount) => {\n return !(!!amount && parseFloat(amount) > 0);\n };\n const handleClick = (mode) => {\n const data = {\n amount: amount,\n description: description,\n mode: mode,\n time_stamp: new Date()\n };\n cleverTapClick('Payment_initiate_click', globalState, data);\n };\n useEffect(() => {\n document.getElementById('amount_input').focus();\n const acquirer = merchant.isDna ? 'DNA' : null;\n setGlobalState({ ...globalState, merchantAcquirer: { acquirer, updatedAt: new Date() } });\n setShowReceipt(merchant.isReceiptEnabled && isDna);\n setIsVat(!!merchant.vatNumber);\n // eslint-disable-next-line\n }, [merchant]);\n\n const handlePayment = (mode) => {\n if (mode === VirtualTerminalPayments.customer_card) {\n handleClick('Pay By Card');\n setRoute(`/card-details`, {\n amount,\n description,\n merchantAcquirer,\n email,\n phoneInput\n });\n }\n if (mode === VirtualTerminalPayments.email) {\n handleClick('Pay By Link');\n setShowPayByLinkModal(true);\n }\n if (mode === VirtualTerminalPayments.invoice) {\n handleClick('Pay By Invoice');\n setShowPayByInvoiceModal(true);\n }\n };\n useEffect(() => {\n if (!showReceipt) {\n setEmail('');\n }\n }, [showReceipt]);\n\n return (\n \n );\n}\n\nexport default VirtualTerminal;\n","import { useGlobalStateContext } from 'contexts';\nimport React from 'react';\nimport { Button, Col, Row } from 'react-bootstrap';\nimport { getCurrencySymbol } from 'utils/getCurrencyByCountry';\nimport styles from './card-details-form.module.scss';\n\nconst CardDetailsFormComponent = ({\n cardMonth,\n cardYear,\n cardHolder,\n cardHolderAddress,\n dispatch,\n cardNumberRef,\n cardHolderRef,\n cardMonthRef,\n cardCvvRef,\n cardYearRef,\n onCardInputFocus,\n onCardInputBlur,\n children,\n initiateSale,\n propState,\n cvv,\n cardNumber,\n isButtonDisabled,\n handleFormChange,\n onCardNumberChange,\n onCvvFocus,\n onCvvBlur,\n onInput,\n onKeyDown,\n cardNumberMask\n}) => {\n const { globalState } = useGlobalStateContext();\n const { amount, description, email, phoneInput } = propState;\n\n return (\n
\n \n \n
\n

{null}

\n {children}\n
\n \n \n
\n
\n \n onCardInputFocus(e, 'cardNumber')}\n onBlur={onCardInputBlur}\n value={cardNumberMask}\n />\n
\n\n
\n \n onCardInputFocus(e, 'cardHolder')}\n onBlur={onCardInputBlur}\n value={cardHolder}\n />\n
\n\n
\n \n \n
\n\n
\n
\n \n onCardInputFocus(e, 'cardMonth')}\n onBlur={onCardInputBlur}\n />\n
\n
\n \n\n onCardInputFocus(e, 'cardYear')}\n onBlur={onCardInputBlur}\n />\n
\n
\n
\n \n \n
\n
\n
\n
\n {\n const cardDetails = {\n card_number: cardNumber,\n card_exp_month: cardMonth,\n card_exp_year: cardYear,\n card_cvv: cvv,\n cardHolderName: cardHolder,\n cardHolderAddress\n };\n\n dispatch({\n type: 'SET_MODAL_STATE',\n showModal: true,\n showLoadingSpinner: true,\n paymentSuccess: null\n });\n initiateSale(cardDetails, amount, description, email, phoneInput);\n }}\n disabled={!isButtonDisabled()}\n >\n Pay {getCurrencySymbol(globalState.merchant?.country)}\n {amount}\n \n
\n
\n \n
\n
\n );\n};\n\nexport default CardDetailsFormComponent;\n","import React, { useState } from 'react';\nimport CardDetailsFormComponent from './card-details-form.component';\nimport { isCardYearValid, isCardMonthValid, isCardHolderNameValid, isCvvValid } from '../../utils/validator';\n\nfunction CardDetailsForm(props) {\n const {\n cardMonth,\n cardYear,\n cvv,\n cardHolder,\n dispatch,\n cardMonthRef,\n cardCvvRef,\n cardYearRef,\n initiateSale,\n propState,\n isFormDataValid\n } = props;\n\n const [cardNumberMask, setCardNumberMask] = useState('');\n\n const { amount, description, email, phoneInput } = propState;\n const isButtonDisabled = () => {\n const { cardNumber } = isFormDataValid;\n\n const cardYearValid = isCardYearValid(cardYear);\n const cardMonthValid = isCardMonthValid(cardMonth);\n const cardCvvValid = isCvvValid(cvv);\n const cardHolderValid = isCardHolderNameValid(cardHolder);\n\n return cardNumber && cardHolderValid && cardMonthValid && cardYearValid && cardCvvValid;\n };\n\n const handleFormChange = (event) => {\n const { name, value } = event.target;\n if (name === 'cardHolder' && value.length > 26) return;\n dispatch({ type: 'SET_CARD_DETAILS', name, value });\n };\n\n // TODO: We can improve the regex check with a better approach like in the card component.\n const onCardNumberChange = (event) => {\n let { value } = event.target;\n const { name } = event.target;\n\n let newValue = '';\n for (let i = 0; i < value.length; i++) {\n if (value.charAt(i) === '*') {\n newValue = newValue.concat(props.cardNumber.charAt(i));\n } else {\n newValue = newValue.concat(value.charAt(i));\n }\n }\n let cardNumber = newValue;\n newValue = newValue.replace(/\\D/g, '');\n if (/^3[47]\\d{0,13}$/.test(newValue)) {\n cardNumber = newValue.replace(/(\\d{4})/, '$1 ').replace(/(\\d{4}) (\\d{6})/, '$1 $2 ');\n } else if (/^3(?:0[0-5]|[68]\\d)\\d{0,11}$/.test(newValue)) {\n // diner's club, 14 digits\n cardNumber = newValue.replace(/(\\d{4})/, '$1 ').replace(/(\\d{4}) (\\d{6})/, '$1 $2 ');\n } else if (/^\\d{0,16}$/.test(newValue)) {\n // regular cc number, 16 digits\n cardNumber = newValue\n .replace(/(\\d{4})/, '$1 ')\n .replace(/(\\d{4}) (\\d{4})/, '$1 $2 ')\n .replace(/(\\d{4}) (\\d{4}) (\\d{4})/, '$1 $2 $3 ');\n }\n\n const formattedCard = cardNumber.trimRight();\n dispatch({\n type: 'SET_CARD_NUMBER',\n name,\n cardNumber: formattedCard\n });\n\n var strArray = [];\n for (let i = 0; i < formattedCard.length; i++) {\n if (formattedCard.charAt(i) !== ' ' && i > 4 && i < 15) {\n strArray.push('*');\n } else {\n strArray.push(formattedCard.charAt(i));\n }\n }\n\n setCardNumberMask(strArray.join(''));\n };\n\n const onCvvFocus = (e) => {\n e.preventDefault();\n dispatch({ type: 'SET_CARD_FLIPPED', isCardFlipped: true });\n };\n\n const onCvvBlur = (e) => {\n e.preventDefault();\n dispatch({ type: 'SET_CARD_FLIPPED', isCardFlipped: false });\n };\n\n const onInput = (e) => {\n const { value, name } = e.target;\n if (name === 'cardCvv') {\n e.target.value = value.length >= 0 ? value.substr(0, 4) : value;\n return null;\n }\n e.target.value = value.length >= 0 ? value.substr(0, 2) : value;\n if (value.length === 2) {\n if (name === 'cardMonth') cardYearRef.current.focus();\n if (name === 'cardYear') cardCvvRef.current.focus();\n }\n return null;\n };\n\n const onKeyDown = (event) => {\n const keyCode = event.keyCode || event.charCode;\n if (keyCode === 8 || keyCode === 46) {\n const { name, value } = event.target;\n if (name === 'cardCvv' && value.length === 0) {\n cardYearRef.current.focus();\n }\n if (name === 'cardYear' && value.length === 0) {\n cardMonthRef.current.focus();\n }\n }\n };\n\n return (\n \n );\n}\n\nexport default CardDetailsForm;\n","import validator from 'validator';\n// import isCreditCard from 'validator/es/lib/isCreditCard';\n\nexport const isCardYearValid = (cardYear) => {\n const currentYear = Number(new Date().getFullYear().toString().substr(-2));\n\n return new RegExp('^[0-9]+$').test(cardYear) && String(cardYear).length <= 2 && Number(cardYear) >= currentYear;\n};\n\nexport const isCardMonthValid = (cardMonth) =>\n new RegExp('^[0-9]+$').test(cardMonth) &&\n String(cardMonth).length <= 2 &&\n Number(cardMonth) >= 1 &&\n Number(cardMonth) <= 12;\n\nexport const isCvvValid = (cvv = '') => cvv.length >= 3; //Can be 3 digits Visa or 4 digits - American Express\n\nexport const isCardValid = (cardNumber) => validator.isCreditCard(cardNumber);\n\nexport const isCardHolderNameValid = (cardHolder) => !!cardHolder.trim();\n","import React from 'react';\nimport { CSSTransition, TransitionGroup, SwitchTransition } from 'react-transition-group';\nimport './card-image.styles.scss';\nimport chip from '../../assets/images/card-chip/chip.png';\nimport cardBackground from '../../assets/images/card-background/17.jpeg';\nimport visaLogo from '../../assets/images/card-type/visa.png';\nimport amexLogo from '../../assets/images/card-type/amex.png';\nimport discoverLogo from '../../assets/images/card-type/discover.png';\nimport mastercardLogo from '../../assets/images/card-type/mastercard.png';\nimport unionpayLogo from '../../assets/images/card-type/unionpay.png';\nimport troyLogo from '../../assets/images/card-type/troy.png';\n\nconst cardLogoBgImage = {\n visa: visaLogo,\n amex: amexLogo,\n mastercard: mastercardLogo,\n unionpay: unionpayLogo,\n troy: troyLogo,\n discover: discoverLogo\n};\n\nconst CardImageComponent = ({\n cardHolder,\n cardNumber,\n cardMonth,\n cardYear,\n cardCvv,\n isCardFlipped,\n currentFocusedElm,\n onCardElementClick,\n cardNumberRef,\n cardHolderRef,\n cardDateRef,\n style,\n useCardType,\n maskCardNumber\n}) => {\n return (\n
\n
\n
\n
\n \"\"\n
\n\n
\n
\n \"\"\n
\n {useCardType}\n
\n
\n\n onCardElementClick('cardNumber')}\n >\n \n {cardNumber ? (\n maskCardNumber(cardNumber).map((val, index) => (\n \n
{val}
\n
\n ))\n ) : (\n \n
#
\n
\n )}\n
\n \n
\n onCardElementClick('cardHolder')}\n ref={cardHolderRef}\n >\n
Card Holder
\n
\n \n {cardHolder === 'FULL NAME' ? (\n \n
FULL NAME
\n
\n ) : (\n cardHolder.split('').map((val, index) => (\n \n {val}\n \n ))\n )}\n  \n
\n
\n \n onCardElementClick('cardDate')}\n ref={cardDateRef}\n style={{ marginTop: '-0.5rem', paddingLeft: '0.5rem' }}\n >\n \n \n /\n \n
\n
\n
\n
\n\n
\n
\n \"\"\n
\n
\n
\n
CVV
\n
\n \n {cardCvv.split('').map((val, index) => (\n \n *\n \n ))}\n \n
\n
\n \"card-type\"\n
\n
\n
\n
\n );\n};\n\nexport default CardImageComponent;\n","import React, { useEffect, useMemo, useState } from 'react';\nimport CardImageComponent from './card-image.component';\n\nfunction CardImage(props) {\n const { cardNumber, currentFocusedElm } = props;\n\n const [style, setStyle] = useState(null);\n\n const useCardType = useMemo(() => {\n const CARDS = {\n visa: '^4',\n amex: '^(34|37)',\n mastercard: '^5[1-5]',\n discover: '^6011',\n unionpay: '^62',\n troy: '^9792'\n };\n\n const cardType = (cardNumber) => {\n const number = cardNumber;\n let re;\n for (const [card, pattern] of Object.entries(CARDS)) {\n re = new RegExp(pattern);\n if (number.match(re) != null) {\n return card;\n }\n }\n\n return ''; // default type\n };\n\n return cardType(cardNumber);\n }, [cardNumber]);\n\n const outlineElementStyle = (element) => {\n return element\n ? {\n width: `${element.offsetWidth}px`,\n height: `${element.offsetHeight}px`,\n transform: `translateX(${element.offsetLeft}px) translateY(${element.offsetTop}px)`\n }\n : null;\n };\n\n useEffect(() => {\n if (currentFocusedElm) {\n const style = outlineElementStyle(currentFocusedElm.current);\n setStyle(style);\n }\n }, [currentFocusedElm]);\n\n const maskCardNumber = (cardNumber) => {\n const cardNumberArr = cardNumber.split('');\n cardNumberArr.forEach((val, index) => {\n if (index > 4 && index < 14) {\n if (cardNumberArr[index] !== ' ') {\n cardNumberArr[index] = '*';\n }\n }\n });\n\n return cardNumberArr;\n };\n\n return ;\n}\n\nexport default CardImage;\n","import { threeDSRedirectUrl } from '../../utils/constants';\n\nconst getSource = (acs, md, paReq) => `\n\n \n Redirecting...\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n`;\n\nexport default getSource;\n","import { useGlobalStateContext } from 'contexts';\nimport React from 'react';\nimport { Modal, Spinner } from 'react-bootstrap';\nimport { getCurrencySymbol } from 'utils/getCurrencyByCountry';\nimport styles from './modal-take-payment.module.scss';\nimport getSource from './3ds';\n\nconst showSpinner = ({ amount, globalState }) => {\n return (\n <>\n
\n {' '}\n

\n Payment processing for {getCurrencySymbol(globalState.merchant?.country)} {amount}. Please don’t\n press back button or next button.\n

\n
\n \n );\n};\n\nconst ModalTakePaymentComponent = (props) => {\n const { globalState } = useGlobalStateContext();\n const { showLoadingSpinner, paymentSuccess, onUpdateState: dispatch, state, amount, onModalClose } = props;\n\n const { showIframe } = state;\n\n return (\n <>\n onModalClose(paymentSuccess, props, dispatch)}>\n \n \n {showIframe ? (\n
\n \n
\n ) : showLoadingSpinner ? (\n <>{showSpinner({ amount, globalState })}\n ) : paymentSuccess !== null ? (\n paymentSuccess ? (\n <>\n

\n Your payment request has been sent successfully.\n \n

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

\n Your payment request has failed.\n \n

\n \n )\n ) : (\n <>\n )}\n
\n
\n \n );\n};\n\nexport default ModalTakePaymentComponent;\n","import React, { useEffect } from 'react';\n\nimport ModalTakePaymentComponent from './modal-take-payment.component';\n\nconst onModalClose = (paymentSuccess, props, dispatch) => {\n dispatch({\n type: 'SET_MODAL_STATE',\n showModal: false,\n paymentSuccess: null,\n showLoadingSpinner: true\n });\n\n if (paymentSuccess) return props.history.push('/virtual-terminal');\n return null;\n};\n\nconst ModalTakePayment = (props) => {\n const { handleIframeTask } = props;\n\n useEffect(() => {\n window.addEventListener('message', handleIframeTask);\n return () => window.removeEventListener('message', handleIframeTask);\n }, [handleIframeTask]);\n\n return ;\n};\n\nexport default ModalTakePayment;\n","import React from 'react';\n\nimport CardDetailsForm from '../card-details-form/card-details-form.container';\nimport CardImage from '../card-image/card-image.container';\nimport './card-details.styles.scss';\nimport ModalTakePayment from '../modal-take-payment/modal-take-payment.container';\nimport { Spinner } from 'react-bootstrap';\n\nconst CardDetailsComponent = (props) => {\n const {\n state,\n dispatch,\n formFieldsRefObj,\n focusFormFieldByKey,\n cardElementsRef,\n onCardFormInputFocus,\n onCardInputBlur,\n propState,\n handleIframeTask,\n initiateSale,\n description,\n loading\n } = props;\n\n const { amount, merchantAcquirer } = propState;\n\n return (\n <>\n {merchantAcquirer.acquirer ? (\n <>\n {/* \n have to show Iframe */}\n
\n {!loading ? (\n
\n {description ? (\n
\n

\n Current payment with description {description} is being processed...\n

\n
\n ) : (\n
\n

Current payment is being processed...

\n
\n )}\n
\n ) : (\n
\n \n
\n )}\n
\n \n ) : (\n <>\n
\n
\n
\n \n \n \n {state.showModal ? (\n \n ) : null}\n
\n
\n
\n \n )}\n \n );\n};\n\nexport default CardDetailsComponent;\n","import { isCardValid } from '../../utils/validator';\n\nconst initialState = {\n cardNumber: '#### #### #### ####',\n cardHolder: '',\n cardMonth: '',\n cardYear: '',\n cardCvv: '',\n cardHolderAddress: '',\n isCardFlipped: false,\n\n isFormDataValid: {\n cardNumber: null,\n cardHolder: null,\n cardMonth: null,\n cardYear: null,\n cardCvv: null\n },\n\n amount: '',\n description: '',\n\n showIframe: false,\n\n acsUrl: '',\n paReq: '',\n md: '',\n paRes: '',\n\n showModal: false,\n paymentSuccess: null,\n showLoadingSpinner: true,\n\n currentFocusedElm: null\n};\n\nconst TakePaymentsReducer = (state, action) => {\n switch (action.type) {\n case 'SET_CARD_NUMBER': {\n const { cardNumber } = action;\n const isCardNumberValid = isCardValid(cardNumber);\n\n return {\n ...state,\n cardNumber,\n isFormDataValid: {\n ...state.isFormDataValid,\n cardNumber: isCardNumberValid\n }\n };\n }\n\n case 'SET_CARD_DETAILS': {\n const { name, value } = action;\n\n return {\n ...state,\n [name]: value\n };\n }\n\n case 'SET_CARD_FLIPPED': {\n return {\n ...state,\n isCardFlipped: action.isCardFlipped\n };\n }\n\n case 'SET_3D_SECURE_DETAILS':\n return {\n ...state,\n acsUrl: action.acsUrl,\n paReq: action.paReq,\n md: action.md,\n showIframe: true\n };\n\n case 'SET_MODAL_STATE':\n return {\n ...state,\n showModal: action.showModal,\n paymentSuccess: action.paymentSuccess,\n showLoadingSpinner: action.showLoadingSpinner\n };\n\n case 'INIT_FINAL_SALE':\n return {\n ...state,\n showModal: action.showModal,\n showLoadingSpinner: action.showLoadingSpinner,\n showIframe: false,\n paRes: action.paRes,\n md: action.md\n };\n\n case 'SET_CURRENT_FOCUSED_ELEMENT':\n return {\n ...state,\n currentFocusedElm: action.currentFocusedElm\n };\n\n default:\n return { ...state };\n }\n};\n\nexport default { initialState, TakePaymentsReducer };\n","import React, { useReducer, useRef, useEffect, useState } from 'react';\nimport CardDetailsComponent from './card-details.component';\nimport reducer from './reducer';\nimport { Redirect } from 'react-router-dom';\nimport { InitialiseSaleService } from 'services';\nimport { useGlobalStateContext } from 'contexts';\nimport { v4 as uuidv4 } from 'uuid';\n\nconst usePrevious = (value) => {\n // The ref object is a generic container whose current property is mutable ...\n // ... and can hold any value, similar to an instance property on a class\n const ref = useRef();\n\n // Store current value in ref\n useEffect(() => {\n ref.current = value;\n }, [value]); // Only re-run if value changes\n\n // Return previous value (happens before update in useEffect above)\n return ref.current;\n};\n\nfunction CardDetails(props) {\n const { globalState, getRoute } = useGlobalStateContext();\n\n const userRef = `user_${uuidv4()}`;\n\n const { state: propState } = props.location;\n\n const amount = propState?.amount;\n const email = propState?.email;\n const phoneNumber = propState?.phoneInput;\n const descriptionInfo = propState?.description;\n\n const { initialState, TakePaymentsReducer } = reducer;\n\n const [state, dispatch] = useReducer(TakePaymentsReducer, initialState);\n const [loading, setLoading] = useState(false);\n\n const prevState = usePrevious(state);\n\n const formFieldsRefObj = {\n cardNumber: useRef(),\n cardHolder: useRef(),\n cardMonth: useRef(),\n cardYear: useRef(),\n cardCvv: useRef()\n };\n\n const focusFormFieldByKey = (key) => {\n formFieldsRefObj[key].current.focus();\n };\n\n // This are the references for the Card DIV elements.\n const cardElementsRef = {\n cardNumber: useRef(),\n cardHolder: useRef(),\n cardDate: useRef()\n };\n\n const onCardFormInputFocus = (_event, inputName) => {\n let refByName = cardElementsRef[inputName];\n if (inputName === 'cardMonth' || inputName === 'cardYear') refByName = cardElementsRef.carddate;\n\n const formFieldRef = formFieldsRefObj[inputName];\n formFieldRef.current.style.borderColor = '';\n\n dispatch({\n type: 'SET_CURRENT_FOCUSED_ELEMENT',\n currentFocusedElm: refByName\n });\n };\n\n const onCardInputBlur = () => {\n const { isFormDataValid } = state;\n\n for (const [key, value] of Object.entries(isFormDataValid)) {\n if (value !== null && !value) formFieldsRefObj[key].current.style.borderColor = 'red';\n }\n\n dispatch({\n type: 'SET_CURRENT_FOCUSED_ELEMENT',\n currentFocusedElm: null\n });\n };\n\n const initiateSale = async (cardDetails, amount, descriptionInfo) => {\n try {\n const {\n card_number,\n card_exp_year,\n card_exp_month,\n card_cvv,\n cardHolderName,\n cardHolderAddress: address\n } = cardDetails;\n\n const formattedName = cardHolderName\n .split(' ')\n .map((name) => name.charAt(0).toUpperCase() + name.substr(1))\n .join(' ');\n\n const data = {\n amount: parseInt(amount * 100),\n currency_code: 826,\n user_order_ref: userRef,\n description: descriptionInfo,\n items: [\n {\n '21': 4\n }\n ],\n shoppers: {\n first_name: formattedName,\n last_name: '',\n email: email,\n phone_number: phoneNumber,\n address\n },\n card_number,\n card_exp_month,\n card_exp_year,\n card_cvv,\n merchant_id: globalState.merchant?.id\n };\n\n const response = await InitialiseSaleService.InitialiseSale(data);\n\n if (response.status === 201) {\n const { acsUrl, md, paReq } = response.data.data.threeDSreq;\n return dispatch({\n type: 'SET_3D_SECURE_DETAILS',\n acsUrl,\n paReq,\n md\n });\n }\n\n // if status === 200, non 3ds txn, update modal status accordingly.\n if (response.status === 200) {\n return dispatch({\n type: 'SET_MODAL_STATE',\n showModal: true,\n paymentSuccess: true,\n showLoadingSpinner: false\n });\n }\n\n if (!response.isSuccesfully) {\n return dispatch({\n type: 'SET_MODAL_STATE',\n showModal: true,\n paymentSuccess: false,\n showLoadingSpinner: false\n });\n }\n\n return null;\n } catch (error) {\n // Set error state\n dispatch({\n type: 'SET_MODAL_STATE',\n showModal: true,\n paymentSuccess: false,\n showLoadingSpinner: false\n });\n return null;\n }\n };\n\n const handleIframeTask = (e) => {\n const { data } = e;\n if (!data) return null;\n const { md, paRes } = data;\n if (!md || !paRes) return null;\n\n return dispatch({\n type: 'INIT_FINAL_SALE',\n showModal: true,\n showLoadingSpinner: true,\n paRes,\n md\n });\n };\n\n useEffect(() => {\n const { merchantAcquirer } = globalState;\n\n async function getDnaData() {\n try {\n setLoading(true);\n let params = {\n amount: amount,\n currency_code: 826,\n description: propState.description,\n email: email,\n phone_number: phoneNumber\n };\n const response = await InitialiseSaleService.InitialiseDNASale(params);\n const { url } = response.data;\n window.open(url, '_parent');\n setLoading(false);\n //for iframe\n // document.getElementById('dnaForm').contentWindow.document.write(response.data);\n } catch (E) {\n console.log('E ', E);\n setLoading(false);\n }\n }\n merchantAcquirer?.acquirer && getDnaData();\n // eslint-disable-next-line\n }, []);\n\n useEffect(() => {\n const finalise3DSSale = async () => {\n try {\n const {\n cardNumber: card_number,\n cardMonth: card_exp_month,\n cardYear: card_exp_year,\n cardCvv: card_cvv,\n md,\n paRes,\n cardHolder: cardHolderName,\n cardHolderAddress: address\n } = state;\n\n // const { cardHolder } = state;\n const formattedName = cardHolderName\n .split(' ')\n .map((name) => name.charAt(0).toUpperCase() + name.substr(1))\n .join(' ');\n\n const data = {\n amount: parseInt(amount * 100),\n currency_code: 826,\n user_order_ref: userRef,\n description: descriptionInfo,\n items: [\n {\n '21': 4\n }\n ],\n shoppers: {\n first_name: formattedName,\n last_name: '',\n email: 'mew@mypay.com',\n address\n },\n card_number,\n card_exp_month,\n card_exp_year,\n card_cvv,\n md,\n paRes,\n merchant_id: globalState.merchant?.id\n };\n\n await InitialiseSaleService.InitialiseSale(data);\n\n return dispatch({\n type: 'SET_MODAL_STATE',\n showModal: true,\n paymentSuccess: true,\n showLoadingSpinner: false\n });\n } catch (e) {\n dispatch({\n type: 'SET_MODAL_STATE',\n showModal: true,\n paymentSuccess: false,\n showLoadingSpinner: false\n });\n return null;\n }\n };\n if (prevState && !prevState.paRes && state.paRes) finalise3DSSale();\n return () => {\n window.onbeforeunload = null;\n return null;\n };\n // eslint-disable-next-line\n }, [state.paRes, prevState, amount, state, globalState.merchant]);\n\n // Redirect to enter amount page if there is no amount or description available\n if (!propState) return ;\n\n return (\n \n );\n}\n\nexport default CardDetails;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n Button,\n Container,\n Card,\n Box,\n CircularProgress,\n Grid,\n useMediaQuery,\n Typography,\n Table,\n TableContainer,\n TableCell,\n TableRow,\n TableBody,\n Tooltip,\n TableFooter,\n TablePagination\n} from '@material-ui/core';\nimport styles from './team-members.module.scss';\nimport { ModalRemoveUser, ModalInviteUser } from 'components';\nimport { Alert } from '@material-ui/lab';\nimport { AddRounded } from '@material-ui/icons';\nimport moment from 'moment';\nimport { UserType } from 'utils/enums/UserType';\nimport { useGlobalStateContext } from 'contexts';\nimport { SnackBarAndAlert } from 'components';\nimport LoadingScreen from 'components/loading-screen/loading-screen.container';\nimport { makeStyles } from '@material-ui/core/styles';\nimport TableHeader from 'components/payments/transaction-tables/table-header/table-header.container';\nimport { getComparator, stableSort } from '../../utils/helper';\nimport { Roles } from 'utils/enums/Roles';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n width: '100%'\n },\n paper: {\n width: '100%',\n marginBottom: theme.spacing(2),\n boxShadow: 'none'\n },\n container: {\n 'overflow-y': 'visible'\n },\n table: {\n minWidth: '100%'\n },\n tableRow: {\n '&$selected, &$selected:hover': {\n backgroundColor: '#e4e1fe'\n }\n },\n selected: {},\n visuallyHidden: {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: 1,\n margin: -1,\n padding: 0,\n position: 'absolute',\n top: 20,\n width: 1\n },\n checkbox: {\n color: '#8783b5'\n },\n 'MuiIconButton-root': {\n padding: '0px 0px'\n }\n}));\n\nfunction TeamMembersComponent(props) {\n const reseller = JSON.parse(localStorage.getItem('reseller'));\n const { globalState } = useGlobalStateContext();\n const currentTime = moment().format('YYYY-MM-DD HH:mm:ss');\n const currentMoment = moment(currentTime, 'YYYY-MM-DD HH:mm:ss');\n const classes = useStyles();\n const {\n members,\n onSearch,\n onRoleFilter,\n onStatusFilter,\n loading,\n userEmail,\n isDisable,\n userRole,\n error,\n setError,\n onRemoveMember,\n removeMember,\n open,\n setOpen,\n getTeamMembers,\n inviteMember,\n show,\n setLoading,\n setShow,\n onResend,\n resendSuccess,\n setResendSuccess,\n messageType,\n validationMessage,\n count,\n setCount,\n isAlreadyMaxLimit,\n maxUserCount,\n isLoading,\n disableInvite,\n page,\n setPage,\n handleChangeRowsPerPage,\n handleChangePage,\n rowsPerPage,\n order,\n orderBy,\n setSelectedRole,\n setSelectedStatus,\n setSearchString,\n selectedRole,\n selectedStatus,\n searchString,\n agentDropdownToBeVisible\n } = props;\n\n const mediaLessThan600px = useMediaQuery('(max-width:599px)');\n const isAdmin =\n globalState.user?.UserType?.name === UserType.Admin || globalState.user?.UserType?.name === UserType.SuperAdmin;\n const isCanonicalReseller = globalState.user?.UserType?.name === UserType.Reseller;\n const isMerchantAccountClosed = globalState.merchant?.status === MerchantStatus.CLOSED;\n\n return (\n \n \n {error ? (\n setError(false)} severity=\"error\">\n An error occurred. Please contact support or try again.\n \n ) : (\n \n
\n \n

User Management

\n
\n
\n \n \n onSearch(e.target.value)}\n autoComplete=\"nope\"\n />\n \n \n {\n onRoleFilter(e.target.value);\n setPage(0);\n }}\n value={selectedRole}\n defaultValue=\"All roles\"\n >\n {!agentDropdownToBeVisible\n ? Object.keys(Roles).map(\n (status) =>\n status !== 'Agent' && \n )\n : Object.keys(Roles).map((status) => (\n \n ))}\n \n \n {mediaLessThan600px && }\n \n {\n onStatusFilter(e.target.value);\n setPage(0);\n }}\n defaultValue=\"All\"\n value={selectedStatus}\n >\n \n \n \n \n \n {(isAdmin || reseller.id !== 2 || isCanonicalReseller) && (\n \n \n \n \n New member\n \n \n \n \n )}\n \n {loading ? (\n \n \n \n ) : (\n <>\n \n \n \n \n {stableSort(\n rowsPerPage > 0\n ? members.slice(\n page * rowsPerPage,\n page * rowsPerPage + rowsPerPage\n )\n : members,\n getComparator(order, orderBy)\n ).map((member) => {\n return (\n \n \n \n {(member.firstName ? member.firstName : '') +\n ' ' +\n (member.lastName ? member.lastName : '')}\n\n {member.email === userEmail ? (\n You\n ) : null}\n \n \n {member.email}\n \n \n \n \n {member.signupStatus ? (\n Active\n ) : (\n \n Pending\n \n )}\n \n \n \n {member.Relationships.Role.name}\n \n\n \n {userRole !== 'User' && isDisable(member) ? (\n onRemoveMember(member)}\n >\n Remove..\n \n ) : null}\n \n \n {currentMoment.diff(\n moment(member.updated_at, 'YYYY-MM-DD HH:mm:ss'),\n 'hours'\n ) > 24 ? (\n onResend(member)}\n disabled={isMerchantAccountClosed}\n >\n Resend\n \n ) : null}\n \n \n );\n })}\n \n \n \n {members.length > rowsPerPage && (\n \n )}\n \n \n
\n
\n \n {members.length === 1 ? (\n {members.length} member\n ) : (\n {members.length} members\n )}\n \n \n )}\n
\n )}\n
\n \n {validationMessage && (\n setResendSuccess(false)} type={messageType}>\n {validationMessage}\n \n )}\n \n
\n );\n}\n\nTeamMembersComponent.propTypes = {\n members: PropTypes.array.isRequired,\n onSearch: PropTypes.func,\n onRoleFilter: PropTypes.func,\n loading: PropTypes.bool,\n setLoading: PropTypes.func,\n userEmail: PropTypes.string,\n inviteMember: PropTypes.func,\n setShow: PropTypes.func,\n show: PropTypes.bool,\n isDisable: PropTypes.func,\n userRole: PropTypes.string,\n error: PropTypes.bool,\n setError: PropTypes.func,\n onRemoveMember: PropTypes.func,\n open: PropTypes.bool,\n setOpen: PropTypes.func,\n removeMember: PropTypes.object,\n getTeamMembers: PropTypes.func,\n onResend: PropTypes.func,\n messageType: PropTypes.string,\n setSelectedRole: PropTypes.func,\n setSelectedStatus: PropTypes.func,\n setSearchString: PropTypes.func,\n selectedRole: PropTypes.string,\n selectedStatus: PropTypes.string,\n searchString: PropTypes.string,\n page: PropTypes.number,\n setPage: PropTypes.func,\n handleChangeRowsPerPage: PropTypes.func,\n handleChangePage: PropTypes.func,\n rowsPerPage: PropTypes.number,\n order: PropTypes.string,\n orderBy: PropTypes.string\n};\n\nexport default TeamMembersComponent;\n","export const SignupStatus = {\n active: true,\n pending: false\n};\n","import React, { useEffect, useState } from 'react';\nimport TeamMembersComponent from './team-members.component';\nimport { useGlobalStateContext } from 'contexts';\nimport { TeamService } from 'services';\nimport { UserType } from 'utils/enums/UserType';\nimport { SignupStatus } from 'utils/enums/signupStatus';\nimport { Roles } from 'utils/enums/Roles';\nimport _ from 'lodash';\n\nfunction TeamMembers(props) {\n const { globalState } = useGlobalStateContext();\n const [teamMembers, setTeamMembers] = useState(null);\n const [filterMembers, setFilterMembers] = useState([]);\n const [validationMessage, setValidationMessage] = useState('');\n const [selectedRole, setSelectedRole] = useState('All roles');\n const [selectedStatus, setSelectedStatus] = useState('All');\n const [loading, setLoading] = useState(true);\n const [error, setError] = useState(false);\n const [show, setShow] = useState(false);\n const [userRole, setUserRole] = useState();\n const [emailsAndRoles, setEmailsAndRoles] = useState([]);\n const [open, setOpen] = useState(false);\n const [removeMember, setRemoveMember] = useState();\n const [resendSuccess, setResendSuccess] = useState(false);\n const [messageType, setMessageType] = useState('');\n const [searchString, setSearchString] = useState('');\n const [count, setCount] = useState(0);\n const [isAlreadyMaxLimit, setIsAlreadyMaxLimit] = useState(false);\n const [isLoading, setIsLoading] = useState(false);\n const [disableInvite, setDisableInvite] = useState(true);\n const [order, setOrder] = useState('desc');\n const [orderBy, setOrderBy] = useState('signupStatus');\n const [rowsPerPage, setRowsPerPage] = useState(20);\n const [page, setPage] = useState(0);\n const isAgent = _.isArray(globalState.user?.Relationships)\n ? globalState.user?.Relationships[0]?.Role.name === Roles.Agent\n : false;\n\n const agentDropdownToBeVisible =\n globalState.user?.UserType?.name !== UserType.Merchant &&\n globalState.user?.UserType?.name !== UserType.SuperAdmin\n ? true\n : false;\n\n const maxUserCount = 50;\n const isCanonicalResellerUser = globalState.user?.UserType?.name === UserType.Reseller;\n const getTeamMembers = async () => {\n setLoading(true);\n let response;\n if (isCanonicalResellerUser) {\n response = await TeamService.getCanonicalResellerTeamMembers(globalState.canonicalReseller?.id);\n } else {\n response = await TeamService.getTeamMembers(globalState.merchant?.id);\n }\n\n if (response.isSuccesfully) {\n const team = response.data;\n team.teamMembers = team.teamMembers.map((member) => {\n member.Relationships = member.Relationships.find((r) => {\n return isCanonicalResellerUser ? true : r.merchantId === globalState.merchant?.id;\n });\n return member;\n });\n setTeamMembers(team.teamMembers);\n setFilterMembers(team.teamMembers);\n getCurrentUserRole(team.teamMembers);\n setCount(team.teamMembers.length);\n if (team.teamMembers.length === maxUserCount) {\n setIsAlreadyMaxLimit(true);\n }\n setLoading(false);\n } else {\n setError(true);\n }\n };\n let headCells = [\n {\n id: 'email',\n numeric: false,\n disablePadding: false,\n label: 'Team Members'\n },\n {\n id: 'signupStatus',\n numeric: false,\n disablePadding: false,\n label: 'Status'\n },\n {\n id: 'Relationships.Role.name',\n numeric: false,\n disablePadding: false,\n label: 'Role',\n hideSortingIcon: true\n },\n { id: 'remove', numeric: false, disablePadding: false, label: '', hideSortingIcon: true },\n { id: 'resend', numeric: false, disablePadding: false, label: '', hideSortingIcon: true }\n ];\n\n const handleRequestSort = (event, property) => {\n const isAsc = orderBy === property && order === 'asc';\n setOrder(isAsc ? 'desc' : 'asc');\n setOrderBy(property);\n };\n\n const handleChangePage = (event, newPage) => {\n setPage(newPage);\n };\n\n const handleChangeRowsPerPage = (event) => {\n setRowsPerPage(parseInt(event.target.value, 10));\n setPage(0);\n };\n useEffect(() => {\n if (count > 0) {\n if (count < 50) {\n setDisableInvite(false);\n } else {\n setDisableInvite(true);\n }\n }\n }, [count]);\n\n const onSearch = (searchField, role, status) => {\n setPage(0);\n setLoading(true);\n setSearchString(searchField);\n const userRole = role ? role : selectedRole;\n const userStatus = status ? status : selectedStatus;\n let result;\n\n if (searchField.trimRight() !== '') {\n result = teamMembers.filter((member) => {\n const fullName = `${member.firstName} ${member.lastName}`;\n return (\n ((member.firstName && member.firstName?.toLowerCase().includes(searchField.trim().toLowerCase())) ||\n (member.lastName &&\n member.lastName?.toLowerCase().includes(searchField.trim().toLowerCase())) ||\n (fullName && fullName?.toLowerCase().includes(searchField.trim().toLowerCase())) ||\n member.email?.toLowerCase().includes(searchField)) &&\n (userRole !== 'All roles' ? member.Relationships.Role.name === userRole : true) &&\n (userStatus !== 'All' ? member.signupStatus === SignupStatus[userStatus] : true)\n );\n });\n setFilterMembers(result);\n } else {\n result = teamMembers.filter((member) => {\n return (\n (userRole !== 'All roles' ? member.Relationships.Role.name === userRole : teamMembers) &&\n (userStatus !== 'All' ? member.signupStatus === SignupStatus[userStatus] : teamMembers)\n );\n });\n\n setFilterMembers(result);\n }\n setLoading(false);\n return result;\n };\n\n const onRoleFilter = async (roleName) => {\n setSelectedRole(roleName);\n const membersForFilter = onSearch(searchString, roleName, selectedStatus);\n if (roleName !== 'All roles') {\n let result = membersForFilter.filter((member) => member.Relationships.Role.name === roleName);\n setFilterMembers(result);\n } else setFilterMembers(membersForFilter);\n };\n\n const onStatusFilter = async (status) => {\n setSelectedStatus(status);\n const membersForFilter = onSearch(searchString, selectedRole, status);\n if (status !== 'All') {\n let result = membersForFilter.filter((member) => {\n return member.signupStatus === SignupStatus[status];\n });\n setFilterMembers(result);\n } else setFilterMembers(membersForFilter);\n };\n const inviteMember = () => {\n setShow(true);\n setCount(() => count + 1);\n };\n\n const onResend = (member) => {\n setIsLoading(true);\n const data = {\n email: member.email,\n role: member.Relationships.Role.name\n };\n emailsAndRoles.push(data);\n setEmailsAndRoles([...emailsAndRoles]);\n\n if (isCanonicalResellerUser) {\n TeamService.inviteCanonicalResellerMembers(\n emailsAndRoles,\n globalState.canonicalReseller?.id,\n globalState.reseller?.id\n ).then((result) => {\n if (!result.isSuccesfully) {\n const errorMessage = result.data.error ?? 'An error has occurred';\n setValidationMessage(errorMessage);\n setResendSuccess(true);\n setMessageType('error');\n } else {\n const successMessage = 'Invite was successfully resent';\n setValidationMessage(successMessage);\n setResendSuccess(true);\n setMessageType('success');\n }\n setIsLoading(false);\n });\n } else {\n TeamService.inviteMembers(emailsAndRoles, globalState.merchant?.id, globalState.reseller?.id).then(\n (result) => {\n if (!result.isSuccesfully) {\n const errorMessage = result.data.error ?? 'An error has occurred';\n setValidationMessage(errorMessage);\n setResendSuccess(true);\n setMessageType('error');\n } else {\n const successMessage = 'Invite was successfully resent';\n setValidationMessage(successMessage);\n setResendSuccess(true);\n setMessageType('success');\n }\n setIsLoading(false);\n }\n );\n }\n };\n const isDisable = (user) => {\n if (\n userRole === Roles.Agent &&\n (user.Relationships?.Role.name === Roles.Admin ||\n user.Relationships?.Role.name === Roles.Manager ||\n user.Relationships?.Role.name === Roles.User)\n ) {\n return false;\n }\n if (user.Relationships.Role.name === 'Owner') return false;\n if (user.email === globalState.user?.email) return false;\n else return true;\n };\n const getCurrentUserRole = (members) => {\n const user = members.find((member) => member.email === globalState.user?.email);\n setUserRole(user?.Relationships.Role.name);\n };\n const onRemoveMember = (member) => {\n setRemoveMember(member);\n setOpen(true);\n };\n useEffect(() => {\n getTeamMembers();\n window.scrollTo(0, 0);\n // eslint-disable-next-line\n }, []);\n\n return (\n <>\n \n \n );\n}\n\nexport default TeamMembers;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n Dialog,\n DialogActions,\n DialogTitle,\n DialogContent,\n Grid,\n Button,\n List,\n ListItem,\n Input,\n Radio,\n Typography,\n Tooltip\n} from '@material-ui/core';\nimport styles from './modal-invite-user.module.scss';\nimport { Roles } from '../../utils/enums/Roles';\nimport { HighlightOff } from '@material-ui/icons';\nimport { ErrorOutline } from '@material-ui/icons';\nimport { UserType } from 'utils/enums/UserType';\nimport { useGlobalStateContext } from 'contexts';\nimport InfoOutlinedIcon from '@material-ui/icons/InfoOutlined';\nimport { ResellerType } from 'utils/enums/ResellerType';\n\nexport default function ModalInviteUserComponent(props) {\n const {\n emailsAndRoles,\n show,\n setShow,\n inviteMembers,\n validateEmptyField,\n setRole,\n setEmail,\n addNewUserEmailAndRole,\n removeNewUserEmailAndRole,\n doValidation,\n emailValidationMessagesArray,\n duplicateEmailMessage,\n disabled,\n count,\n maxUserCount,\n setCount,\n totalTeamMembers,\n wrapperRef,\n isAgent\n } = props;\n const { globalState } = useGlobalStateContext();\n\n const isReseller = globalState.user?.UserType?.name === UserType.Reseller;\n const isDatman = globalState.reseller?.name === ResellerType.DATMAN;\n const isAdmin =\n globalState.user?.UserType?.name === UserType.Admin || globalState.user?.UserType?.name === UserType.SuperAdmin;\n\n return (\n setShow(false)}\n aria-labelledby=\"form-dialog-title\"\n maxWidth=\"false\"\n >\n \n Invite new users\n \n
\n\n \n

\n Enter the email addresses of the users you'd like to invite, and choose the role they should\n have.\n

\n
\n {/* Leaving this hear, as will be discussed later how we are gonna handle the UI for this labels */}\n {/* \n \n \n Best for company administrators\n \n \n Best for people who need full access to MyPay data\n \n \n \n Best for people who need to view Stripe data, but don't need to make any updates\n \n \n */}\n \n {emailsAndRoles.map((emailAndRole, index) => {\n return (\n \n \n \n {\n setEmail(index, e.target.value.toLowerCase());\n doValidation(index, e.target.value, emailValidationMessagesArray);\n }}\n >\n {emailValidationMessagesArray[index]?.show && (\n
\n \n {emailValidationMessagesArray[index]?.emailValidationMessage}\n \n
\n )}\n
\n\n \n {isAdmin && !isAgent && (\n
\n \n \n \n \n {Roles.Owner}\n \n
\n setRole(index, Roles.Owner)}\n />\n
\n
\n )}\n {!isAgent && (\n
\n \n \n \n \n {Roles.Admin}\n \n\n
\n setRole(index, Roles.Admin)}\n />\n
\n
\n )}\n {!isAgent && (\n
\n \n \n \n \n {Roles.Manager}\n \n
\n setRole(index, Roles.Manager)}\n />\n
\n
\n )}\n {isReseller && isDatman && !isAgent && (\n
\n \n \n \n \n {Roles.Agent}\n \n
\n setRole(index, Roles.Agent)}\n />\n
\n
\n )}\n {isAgent && (\n
\n \n Role : {Roles.Agent}\n \n
\n )}\n {!isAgent && (\n
\n \n \n \n \n {Roles.User}\n \n
\n setRole(index, Roles.User)}\n />\n
\n
\n )}\n\n
\n \n
\n
\n
\n \n );\n })}\n \n {duplicateEmailMessage && (\n
\n
\n \n
\n \n {duplicateEmailMessage}\n \n
\n )}\n addNewUserEmailAndRole()}\n color=\"primary\"\n disabled={count >= maxUserCount}\n >\n Add\n \n {count === maxUserCount && (\n
\n \n Maximum number of users allowed is 50.\n \n
\n )}\n \n {\n setShow(false);\n setCount(totalTeamMembers);\n }}\n color=\"primary\"\n variant=\"outlined\"\n >\n Cancel\n \n inviteMembers()}\n color=\"primary\"\n >\n Invite\n \n \n \n
\n \n );\n}\n\nModalInviteUserComponent.propTypes = {\n emailsAndRoles: PropTypes.array,\n show: PropTypes.bool,\n setShow: PropTypes.func,\n inviteMembers: PropTypes.func,\n setRole: PropTypes.func,\n validateEmptyField: PropTypes.func,\n addNewUserEmailAndRole: PropTypes.func,\n setEmail: PropTypes.func,\n removeNewUserEmailAndRole: PropTypes.func,\n doValidation: PropTypes.func\n};\n","import React, { useState, useEffect, useCallback, useRef } from 'react';\nimport PropTypes from 'prop-types';\nimport ModalInviteUserComponent from './modal-invite-user.component';\nimport { ValidationMessage } from 'models';\nimport { TeamService } from 'services';\nimport { useGlobalStateContext } from 'contexts';\nimport { UserType } from 'utils/enums/UserType';\nimport { debounce } from 'lodash';\nimport { validateEmailAddress } from 'utils/helper';\nimport { Roles } from 'utils/enums/Roles';\nimport _ from 'lodash';\n\nexport default function ModalInviteUser(props) {\n const initialValidationMessage = new ValidationMessage();\n const { globalState } = useGlobalStateContext();\n const [validationMessage, setValidationMessage] = useState(initialValidationMessage);\n const [emailsAndRoles, setEmailsAndRoles] = useState([{ email: '', role: null }]);\n const {\n setShow,\n setLoading,\n getTeamMembers,\n show,\n count,\n setCount,\n maxUserCount,\n members,\n totalTeamMembers,\n setSelectedRole,\n setSelectedStatus,\n setSearchString\n } = props;\n const [duplicateEmailMessage, setDuplicateEmailMessage] = useState('');\n const [emailValidationMessage, setEmailValidationMessage] = useState('');\n const [emailValidationMessagesArray, setEmailValidationMessagesArray] = useState([]);\n const [allUsersEmail, setAllUserEmails] = useState([]);\n const [disabled, setDisabled] = useState(true);\n const isCanonicalResellerUser = globalState.user?.UserType?.name === UserType.Reseller;\n const wrapperRef = useRef(null);\n const isAgent = _.isArray(globalState.user?.Relationships)\n ? globalState.user?.Relationships[0]?.Role.name === Roles.Agent\n : false;\n\n useEffect(() => {\n setEmailsAndRoles([{ email: '', role: null }]);\n if (isAgent) {\n setEmailsAndRoles([{ email: '', role: Roles.Agent }]);\n }\n // eslint-disable-next-line\n }, [show]);\n\n useEffect(() => {\n if (show) {\n const allEmail = members.map((member) => member.email);\n setAllUserEmails(allEmail);\n }\n // eslint-disable-next-line\n }, [show]);\n\n useEffect(() => {}, [count]);\n\n useEffect(() => {\n const uniqueEmailsWithoutBoolean = emailsAndRoles.map((emailsAndRole) => emailsAndRole.email).filter(Boolean);\n\n const removeDuplicates = (uniqueEmailsWithoutBoolean) => {\n const duplicate = [...new Set(uniqueEmailsWithoutBoolean)];\n return duplicate.length;\n };\n const uniqueEmailsFinal = removeDuplicates(uniqueEmailsWithoutBoolean);\n const uniqueEmailsWithoutBooleanFinal = uniqueEmailsWithoutBoolean.length;\n\n let alreadyExist = false;\n for (let i = 0; i < emailsAndRoles.length; i++) {\n const email = emailsAndRoles[i].email;\n if (allUsersEmail.includes(email)) {\n alreadyExist = true;\n break;\n }\n }\n\n if (uniqueEmailsWithoutBooleanFinal !== uniqueEmailsFinal || alreadyExist) {\n setDuplicateEmailMessage('You have entered duplicate email');\n } else {\n setDuplicateEmailMessage('');\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [emailsAndRoles]);\n\n const inviteMembers = async () => {\n setShow(false);\n setLoading(true);\n\n if (isCanonicalResellerUser) {\n await TeamService.inviteCanonicalResellerMembers(\n emailsAndRoles,\n globalState.canonicalReseller?.id,\n globalState.reseller?.id\n ).then((result) => {\n if (!result.isSuccesfully) {\n const errorMessage = result.data.error ?? 'An error has occurred';\n setValidationMessage(errorMessage);\n }\n });\n } else {\n await TeamService.inviteMembers(emailsAndRoles, globalState.merchant?.id, globalState.reseller?.id).then(\n (result) => {\n if (!result.isSuccesfully) {\n const errorMessage = result.data.error ?? 'An error has occurred';\n setValidationMessage(errorMessage);\n }\n }\n );\n }\n\n setEmailsAndRoles([{ email: '', role: null }]);\n getTeamMembers();\n setLoading(false);\n setSelectedRole('All roles');\n setSelectedStatus('All');\n setSearchString('');\n };\n\n const validateEmptyField = () => {\n const allEmailsAndRolesAreValid = emailsAndRoles.every((emailAndRole) => {\n if (emailAndRole.email && emailAndRole.role) {\n return true;\n }\n return false;\n });\n\n if (emailsAndRoles.length && allEmailsAndRolesAreValid) {\n return true;\n }\n\n return false;\n };\n\n const setEmail = (index, value) => {\n setEmailsAndRoles(() => {\n let tempEmailsAndRoles = emailsAndRoles.slice();\n tempEmailsAndRoles[index] = {\n ...tempEmailsAndRoles[index],\n email: value.trim()\n };\n return tempEmailsAndRoles;\n });\n setDisabled(true);\n setEmailValidationMessagesArray(() => {\n let tempArray = emailValidationMessagesArray.slice();\n tempArray[index] = {\n ...tempArray[index],\n show: false\n };\n return tempArray;\n });\n };\n\n const setRole = (index, value) => {\n setEmailsAndRoles(() => {\n let tempEmailsAndRoles = emailsAndRoles.slice();\n tempEmailsAndRoles[index] = {\n ...tempEmailsAndRoles[index],\n role: value\n };\n return tempEmailsAndRoles;\n });\n };\n const addNewUserEmailAndRole = () => {\n if (count <= maxUserCount) {\n setEmailsAndRoles(emailsAndRoles.concat({}));\n setEmailValidationMessagesArray(emailValidationMessagesArray.concat({}));\n setCount(() => count + 1);\n }\n // setRole(emailsAndRoles.length, Roles.Agent);\n };\n\n const removeNewUserEmailAndRole = (index) => {\n let tempEmailsAndRoles = emailsAndRoles.slice();\n tempEmailsAndRoles.splice(index, 1);\n setEmailsAndRoles(tempEmailsAndRoles);\n setCount(() => count - 1);\n };\n\n const validation = (index, email, emailValidationMessagesArray) => {\n const errorMessage = validateEmailAddress(email);\n setEmailValidationMessage(errorMessage);\n let tempArray = emailValidationMessagesArray.slice();\n setEmailValidationMessagesArray(() => {\n tempArray[index] = {\n ...tempArray[index],\n show: errorMessage ? true : false,\n emailValidationMessage: errorMessage\n };\n return tempArray;\n });\n\n for (let i = 0; i < tempArray.length; i++) {\n if (tempArray[i].show) {\n setDisabled(true);\n break;\n } else {\n setDisabled(false);\n }\n }\n };\n\n // trigger validation function when user stop typing\n const doValidation = useCallback(debounce(validation, 1000), []);\n\n const handleHideDropdown = (event) => {\n if (event.key === 'Escape') {\n setShow(false);\n setCount(totalTeamMembers);\n }\n };\n\n const handleClickOutside = (event) => {\n if (wrapperRef.current && !wrapperRef.current.contains(event.target)) {\n setShow(false);\n setCount(totalTeamMembers);\n }\n };\n\n useEffect(() => {\n document.addEventListener('keydown', handleHideDropdown, true);\n document.addEventListener('click', handleClickOutside, true);\n\n return () => {\n document.removeEventListener('keydown', handleHideDropdown, true);\n document.removeEventListener('click', handleClickOutside, true);\n };\n });\n\n return (\n \n );\n}\n\nModalInviteUser.propTypes = {\n setLoading: PropTypes.func,\n setShow: PropTypes.func,\n getTeamMembers: PropTypes.func,\n doValidation: PropTypes.func\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Dialog, DialogActions, DialogContent, Button, DialogContentText } from '@material-ui/core';\nimport styles from './modal-update-bank-completion.module.scss';\nimport Divider from '@material-ui/core/Divider';\n\nexport default function ModalUpdateBankCompletionComponent(props) {\n const {\n bankUpdateDialogBox,\n setBankUpdateDialogBox,\n continueUpdating,\n override,\n bankDetailsUpdateInitiated,\n overRideRequest\n } = props;\n\n return (\n setBankUpdateDialogBox(false)}\n className={{\n paper: styles.paper\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n {bankDetailsUpdateInitiated ? (\n
\n \n \n The bank Update has not been completed.\n \n \n \n\n \n {\n setBankUpdateDialogBox(false);\n }}\n color=\"primary\"\n variant=\"outlined\"\n className={styles.leavebtn}\n >\n Leave\n \n\n continueUpdating()}\n color=\"primary\"\n className={styles.dilogbtn}\n >\n Continue Updating\n \n \n
\n ) : null}\n {overRideRequest ? (\n
\n \n \n There is a bank update request in progress. Do you want to override the previous request ?\n \n \n \n\n \n setBankUpdateDialogBox(false)}\n color=\"primary\"\n variant=\"outlined\"\n className={styles.leavebtn}\n >\n Leave\n \n override()}\n color=\"primary\"\n className={styles.dilogbtn}\n >\n Override\n \n \n
\n ) : null}\n \n );\n}\n\nModalUpdateBankCompletionComponent.propTypes = {\n bankUpdateDialogBox: PropTypes.bool,\n setBankUpdateDialogBox: PropTypes.func,\n continueUpdating: PropTypes.func,\n override: PropTypes.func,\n overRideRequest: PropTypes.func\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport ModalUpdateBankCompletionComponent from './modal-update-bank-completion.component';\nimport { ResellerType } from 'utils/enums/ResellerType';\nimport { UserType } from 'utils/enums/UserType';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nexport default function ModalUpdateBankCompletion(props) {\n const {\n setBankUpdateDialogBox,\n setLoading,\n bankUpdateDialogBox,\n bankDetailsUpdateInitiated,\n setBankUpdateDetailsInitiated,\n overRideRequest,\n newBankDetailsToSave,\n raiseBankDetailsUpdateRequest,\n resellerName,\n sendOtp,\n userType,\n merchantCountry\n } = props;\n\n const continueUpdating = async () => {\n setBankUpdateDialogBox(false);\n\n setLoading(true);\n\n setLoading(false);\n };\n\n const override = async () => {\n if (\n ResellerType.DATMAN === resellerName &&\n userType !== UserType.SuperAdmin &&\n merchantCountry === MerchantCountries.UNITED_KINGDOM\n ) {\n sendOtp();\n } else {\n setBankUpdateDialogBox(false);\n setLoading(true);\n await raiseBankDetailsUpdateRequest(newBankDetailsToSave);\n setLoading(false);\n }\n };\n\n return (\n \n );\n}\n\nModalUpdateBankCompletion.propTypes = {\n bankUpdateDialogBox: PropTypes.bool,\n setBankUpdateDialogBox: PropTypes.func,\n bankDetailsUpdateInitiated: PropTypes.bool,\n overRideRequest: PropTypes.bool,\n resellerName: PropTypes.string,\n setBankUpdateVerifyDialogBox: PropTypes.func,\n userType: PropTypes.string,\n merchantCountry: PropTypes.string\n};\n","import React from 'react';\nimport { Dialog, DialogContent, Button, Typography, Box } from '@material-ui/core';\nimport styles from './modal-update-bank-account-verify.module.scss';\nimport { Form } from 'react-bootstrap';\nimport LinkMaterial from '@material-ui/core/Link';\n\nexport default function ModalUpdateBankVerifyComponent(props) {\n const {\n onCancel,\n onVerify,\n onResend,\n bankUpdateVerifyDialogBox,\n phoneNumber,\n otpText,\n setOtpText,\n isLoading,\n error,\n seconds,\n isActiveTimer\n } = props;\n\n return (\n \n \n
\n \n \n

\n \n A verification code has been sent to this \n \n mobile number {phoneNumber}. Please check\n if you don’t have this number anymore please contact support at\n +44(0)3330165548. \n \n \n

\n

Code is valid for 5 minutes.

\n
\n
\n
\n \n Verification code\n {\n if (e.target.value.length <= 6) {\n setOtpText(e.target.value);\n }\n }}\n />\n \n {error ? error : <> }\n \n \n\n
\n
\n \n RESEND\n \n
\n
\n \n Verify code{' '}\n \n
\n
\n

\n {isActiveTimer ? <>Retry after {seconds} seconds : <> }\n

\n
\n \n \n Cancel\n \n \n
\n
\n
\n
\n \n );\n}\n","import React, { useEffect, useState, useRef } from 'react';\nimport ModalUpdateBankVerifyComponent from './modal-update-bank-account-verify.component';\nimport { useGlobalStateContext } from 'contexts';\nimport OtpService from 'services/otp.service';\nconst LIMIT = 59;\n\nexport default function ModalUpdateBankVerify(props) {\n const {\n setBankUpdateVerifyDialogBox,\n setLoading,\n bankUpdateVerifyDialogBox,\n newBankDetailsToSave,\n raiseBankDetailsUpdateRequest,\n phoneNumber\n } = props;\n const [otpText, setOtpText] = useState('');\n const [isLoading, setIsLoading] = useState(false);\n const [error, setError] = useState('');\n const errorTimer = useRef(null);\n const { globalState } = useGlobalStateContext();\n const [seconds, setSeconds] = useState(LIMIT);\n const [isActiveTimer, setIsActiveTimer] = useState(true);\n\n const startTimer = () => {\n setSeconds(LIMIT);\n setIsActiveTimer(true);\n };\n\n const onCancel = async () => {\n setBankUpdateVerifyDialogBox(false);\n };\n\n const onResend = async () => {\n setIsLoading(true);\n errorTimer.current = null;\n setError('');\n const response = await OtpService.resendOtp(globalState.merchant?.id, {\n method: 'phone',\n type: 'bank-update',\n portalURL: globalState.reseller?.portalURL\n });\n if (response.isSuccesfully) {\n startTimer();\n } else {\n setError(response.data);\n }\n setIsLoading(false);\n };\n\n const onVerify = async () => {\n setIsLoading(true);\n errorTimer.current = null;\n setError('');\n const response = await OtpService.verifyOtp(globalState.merchant?.id, {\n method: 'phone',\n type: 'bank-update',\n value: otpText,\n portalURL: globalState.reseller?.portalURL\n });\n if (response.isSuccesfully) {\n setLoading(true);\n await raiseBankDetailsUpdateRequest(newBankDetailsToSave);\n onCancel();\n setLoading(false);\n } else {\n setError(response.data);\n }\n setIsLoading(false);\n };\n\n useEffect(() => {\n if (error) {\n errorTimer.current = setTimeout(() => {\n setError('');\n }, 12000);\n }\n }, [error]);\n\n useEffect(() => {\n let interval = null;\n if (seconds < 0) {\n clearInterval(interval);\n setIsActiveTimer(false);\n } else {\n interval = setInterval(() => {\n setSeconds((seconds) => seconds - 1);\n }, 1000);\n }\n return () => clearInterval(interval);\n }, [isActiveTimer, seconds]);\n\n return (\n \n );\n}\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n OnboardingTitle,\n NextButton,\n OnboardingFormsContainer,\n CardMultiSelect\n} from 'components/onboarding/onboarding-ui-components';\n\nfunction ProductsRequiredComponent(props) {\n const { nextStep, onboardingForm, setOnboardingForm, isDisabled, onSubmit } = props;\n\n const title = (\n \n );\n\n function formBody() {\n return (\n \n \n setOnboardingForm({\n ...onboardingForm,\n selectedProducts: value\n })\n }\n value={onboardingForm.selectedProducts}\n />\n \n );\n }\n\n const nextBtn = (\n {\n nextStep();\n onSubmit();\n }}\n >\n );\n\n return ;\n}\n\nProductsRequiredComponent.propspropTypes = {\n nextStep: PropTypes.func,\n onboardingForm: PropTypes.object,\n setOnboardingForm: PropTypes.func,\n isDisabled: PropTypes.bool,\n onSubmit: PropTypes.func\n};\n\nexport default ProductsRequiredComponent;\n","import React, { useState, useEffect } from 'react';\nimport ProductsRequiredComponent from './products-required.component';\nimport { useOnboardingFormContext, useGlobalStateContext } from 'contexts';\nimport { NonResellerMerchantService } from 'services';\n\nfunction ProductsRequired(props) {\n const { onboardingForm, setOnboardingForm } = useOnboardingFormContext();\n const [isDisabled, setIsDisabled] = useState(true);\n const { globalState } = useGlobalStateContext();\n\n useEffect(() => {\n const checkValues = onboardingForm.selectedProducts.length > 0;\n setIsDisabled(!checkValues);\n }, [onboardingForm.selectedProducts]);\n\n useEffect(() => {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n completedSteps: {\n ...onboardingForm.completedSteps,\n productsRequired: isDisabled ? false : true\n }\n }));\n }, [isDisabled, setOnboardingForm]);\n\n const onSubmit = () => {\n const data = {\n productsRequiredIds: onboardingForm.selectedProducts,\n resellerId: globalState.reseller.id\n };\n NonResellerMerchantService.completeOnboardingStep(globalState.merchant?.id, 7, data);\n };\n\n return (\n \n );\n}\n\nexport default ProductsRequired;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport styles from './onboarding-transaction-profile-step-one.module.scss';\nimport { AntSwitch } from 'components';\nimport { Typography, Grid } from '@material-ui/core';\nimport {\n Label,\n NextButton,\n OnboardingFormsContainer,\n FormItem,\n SelectedDropDown\n} from 'components/onboarding/onboarding-ui-components';\nimport { makeStyles } from '@material-ui/core/styles';\n\nconst useStyles = makeStyles(() => ({\n root: {\n width: '100%',\n '& .MuiAutocomplete-inputRoot': {\n padding: 0,\n backgroundColor: '#fff'\n }\n },\n borderItemSpaces: {\n '& .MuiGrid-grid-xs-6': {\n maxWidth: '48%'\n }\n }\n}));\n\nfunction OnboardingTransactionProfileStepOneComponent(props) {\n const { title, nextStep, onboardingForm, setOnboardingForm, isDisabled, oneHundredValues, onSubmit } = props;\n\n const classes = useStyles();\n\n function formBody() {\n return (\n \n \n \n
\n \n \n \n Do you take deposits\n \n \n \n
\n \n No\n \n \n setOnboardingForm({\n ...onboardingForm,\n transactionProfile: {\n ...onboardingForm.transactionProfile,\n stepOne: {\n ...onboardingForm.transactionProfile.stepOne,\n isDepositsTaken: e.target.checked\n }\n }\n })\n }\n >\n \n Yes\n \n
\n
\n
\n
\n
\n\n {onboardingForm.transactionProfile.stepOne.isDepositsTaken && (\n \n \n \n
\n % Goods/Services value taken as deposit?\n option}\n listPrefix={' %'}\n value={onboardingForm.transactionProfile.stepOne.goods}\n onChange={(e, newValue) =>\n setOnboardingForm({\n ...onboardingForm,\n transactionProfile: {\n ...onboardingForm.transactionProfile,\n stepOne: {\n ...onboardingForm.transactionProfile.stepOne,\n goods: newValue\n }\n }\n })\n }\n />\n
\n
\n \n
\n % Total card turnover taken as deposit?\n option}\n listPrefix={' %'}\n value={onboardingForm.transactionProfile.stepOne.cardTurnover}\n onChange={(e, newValue) =>\n setOnboardingForm({\n ...onboardingForm,\n transactionProfile: {\n ...onboardingForm.transactionProfile,\n stepOne: {\n ...onboardingForm.transactionProfile.stepOne,\n cardTurnover: newValue\n }\n }\n })\n }\n />\n
\n
\n
\n \n \n \n How far in advance is deposit taken?\n \n option}\n listPrefix={' Days'}\n value={onboardingForm.transactionProfile.stepOne.depositFarDays}\n onChange={(e, newValue) =>\n setOnboardingForm({\n ...onboardingForm,\n transactionProfile: {\n ...onboardingForm.transactionProfile,\n stepOne: {\n ...onboardingForm.transactionProfile.stepOne,\n depositFarDays: newValue\n }\n }\n })\n }\n />\n \n \n \n No. Days in advance of delivery is balance is taken?\n \n option}\n listPrefix={' Days'}\n value={onboardingForm.transactionProfile.stepOne.noDeliveryDays}\n onChange={(e, newValue) =>\n setOnboardingForm({\n ...onboardingForm,\n transactionProfile: {\n ...onboardingForm.transactionProfile,\n stepOne: {\n ...onboardingForm.transactionProfile.stepOne,\n noDeliveryDays: newValue\n }\n }\n })\n }\n />\n \n \n
\n )}\n\n \n \n
\n \n \n \n Do you take full payments for Goods/services in advance\n \n \n \n
\n \n No\n \n \n setOnboardingForm({\n ...onboardingForm,\n transactionProfile: {\n ...onboardingForm.transactionProfile,\n stepOne: {\n ...onboardingForm.transactionProfile.stepOne,\n isPrePayment: e.target.checked\n }\n }\n })\n }\n >\n \n Yes\n \n
\n
\n
\n
\n
\n\n {onboardingForm.transactionProfile.stepOne.isPrePayment && (\n \n \n \n
\n % of total card turnover taken as full pre-payments\n option}\n listPrefix={' %'}\n value={onboardingForm.transactionProfile.stepOne.fullPrePayments}\n onChange={(e, newValue) =>\n setOnboardingForm({\n ...onboardingForm,\n transactionProfile: {\n ...onboardingForm.transactionProfile,\n stepOne: {\n ...onboardingForm.transactionProfile.stepOne,\n fullPrePayments: newValue\n }\n }\n })\n }\n />\n
\n
\n \n
\n % How far in advance do you take full payment?\n option}\n listPrefix={' Days'}\n value={onboardingForm.transactionProfile.stepOne.advanceFullPaymentsDays}\n onChange={(e, newValue) =>\n setOnboardingForm({\n ...onboardingForm,\n transactionProfile: {\n ...onboardingForm.transactionProfile,\n stepOne: {\n ...onboardingForm.transactionProfile.stepOne,\n advanceFullPaymentsDays: newValue\n }\n }\n })\n }\n />\n
\n
\n
\n
\n )}\n
\n );\n }\n\n const nextBtn = (\n {\n nextStep();\n onSubmit();\n }}\n >\n );\n\n return ;\n}\n\nOnboardingTransactionProfileStepOneComponent.propTypes = {\n title: PropTypes.element,\n nextStep: PropTypes.func,\n onboardingForm: PropTypes.object,\n setOnboardingForm: PropTypes.func,\n isDisabled: PropTypes.bool,\n oneHundredValues: PropTypes.array,\n onSubmit: PropTypes.func\n};\n\nexport default OnboardingTransactionProfileStepOneComponent;\n","import React, { useState, useEffect } from 'react';\nimport OnboardingTransactionProfileStepOneComponent from './onboarding-transaction-profile-step-one.component';\nimport { useOnboardingFormContext, useGlobalStateContext } from 'contexts';\nimport { NonResellerMerchantService } from 'services';\n\nfunction OnboardingTransactionProfileStepOne(props) {\n const { onboardingForm, setOnboardingForm } = useOnboardingFormContext();\n const [isDisabled, setIsDisabled] = useState(true);\n const { globalState } = useGlobalStateContext();\n\n useEffect(() => {\n const {\n isDepositsTaken,\n goods,\n cardTurnover,\n depositFarDays,\n noDeliveryDays,\n isPrePayment,\n fullPrePayments,\n advanceFullPaymentsDays\n } = onboardingForm.transactionProfile.stepOne;\n const checkValuesForDepositsTaken =\n goods !== null && cardTurnover !== null && depositFarDays !== null && noDeliveryDays !== null;\n const checkValuesForPrePayment = fullPrePayments !== null && advanceFullPaymentsDays !== null;\n const checkValues =\n (isDepositsTaken && checkValuesForDepositsTaken && isPrePayment && checkValuesForPrePayment) ||\n (isDepositsTaken && checkValuesForDepositsTaken && !isPrePayment) ||\n (!isDepositsTaken && isPrePayment && checkValuesForPrePayment) ||\n (!isDepositsTaken && !isPrePayment);\n setIsDisabled(!checkValues);\n }, [onboardingForm.transactionProfile.stepOne]);\n\n const onSubmit = () => {\n var data = { ...onboardingForm.transactionProfile.stepOne };\n if (!onboardingForm.transactionProfile.stepOne.isDepositsTaken) {\n data.goods = 0;\n data.cardTurnover = 0;\n data.depositFarDays = 0;\n data.noDeliveryDays = 0;\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n transactionProfile: {\n ...onboardingForm.transactionProfile,\n stepOne: {\n ...onboardingForm.transactionProfile.stepOne,\n goods: 0,\n cardTurnover: 0,\n depositFarDays: 0,\n noDeliveryDays: 0\n }\n }\n }));\n }\n\n if (!onboardingForm.transactionProfile.stepOne.isPrePayment) {\n data.fullPrePayments = 0;\n data.advanceFullPaymentsDays = 0;\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n transactionProfile: {\n ...onboardingForm.transactionProfile,\n stepOne: {\n ...onboardingForm.transactionProfile.stepOne,\n fullPrePayments: 0,\n advanceFullPaymentsDays: 0\n }\n }\n }));\n }\n\n NonResellerMerchantService.completeOnboardingStep(globalState.merchant.id, 6, {\n transactionProfileData: data\n });\n };\n\n return (\n \n );\n}\n\nexport default OnboardingTransactionProfileStepOne;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport styles from './onboarding-transaction-profile-step-two.module.scss';\nimport { Label, NextButton, OnboardingFormsContainer } from 'components/onboarding/onboarding-ui-components';\nimport { Grid, InputAdornment, OutlinedInput } from '@material-ui/core';\nimport { checkEmptyValue } from 'validators/onboarding/onboarding-check-value.validator';\nimport NumberFormat from 'react-number-format';\nimport { getCurrencySymbol } from 'utils/getCurrencyByCountry';\nimport { useGlobalStateContext } from 'contexts';\n\nfunction OnboardingTransactionProfileComponentStepTwo(props) {\n const { globalState } = useGlobalStateContext();\n const { title, nextStep, onboardingForm, setOnboardingForm, isDisabled, onSubmit } = props;\n function formBody() {\n return (\n \n \n \n \n \n \n {\n const { value } = values;\n setOnboardingForm({\n ...onboardingForm,\n transactionProfile: {\n ...onboardingForm.transactionProfile,\n stepTwo: {\n ...onboardingForm.transactionProfile.stepTwo,\n companyTurnOverActual: value\n }\n }\n });\n }}\n aria-describedby=\"outlined-weight-helper-text\"\n labelWidth={0}\n required\n />\n \n \n \n {\n const { value } = values;\n setOnboardingForm({\n ...onboardingForm,\n transactionProfile: {\n ...onboardingForm.transactionProfile,\n stepTwo: {\n ...onboardingForm.transactionProfile.stepTwo,\n companyTurnOverProjected: value\n }\n }\n });\n }}\n aria-describedby=\"outlined-weight-helper-text\"\n labelWidth={0}\n required\n />\n \n \n \n \n \n \n {\n const { value } = values;\n setOnboardingForm({\n ...onboardingForm,\n transactionProfile: {\n ...onboardingForm.transactionProfile,\n stepTwo: {\n ...onboardingForm.transactionProfile.stepTwo,\n cardTurnOverActual: value\n }\n }\n });\n }}\n aria-describedby=\"outlined-weight-helper-text\"\n labelWidth={0}\n required\n />\n \n \n \n {\n const { value } = values;\n setOnboardingForm({\n ...onboardingForm,\n transactionProfile: {\n ...onboardingForm.transactionProfile,\n stepTwo: {\n ...onboardingForm.transactionProfile.stepTwo,\n cardTurnOverProjected: value\n }\n }\n });\n }}\n aria-describedby=\"outlined-weight-helper-text\"\n labelWidth={0}\n required\n />\n \n \n \n \n \n
\n Min}\n id=\"priceRangeMin\"\n onValueChange={(values) => {\n const { value } = values;\n setOnboardingForm({\n ...onboardingForm,\n transactionProfile: {\n ...onboardingForm.transactionProfile,\n stepTwo: {\n ...onboardingForm.transactionProfile.stepTwo,\n priceRangeMin: value\n }\n }\n });\n }}\n aria-describedby=\"outlined-weight-helper-text\"\n labelWidth={0}\n required\n />\n
\n
\n \n
\n Max}\n id=\"priceRangeMax\"\n onValueChange={(values) => {\n const { value } = values;\n setOnboardingForm({\n ...onboardingForm,\n transactionProfile: {\n ...onboardingForm.transactionProfile,\n stepTwo: {\n ...onboardingForm.transactionProfile.stepTwo,\n priceRangeMax: value\n }\n }\n });\n }}\n aria-describedby=\"outlined-weight-helper-text\"\n labelWidth={0}\n required\n />\n
\n
\n \n
\n Avg}\n id=\"priceRangeAvg\"\n onValueChange={(values) => {\n const { value } = values;\n setOnboardingForm({\n ...onboardingForm,\n transactionProfile: {\n ...onboardingForm.transactionProfile,\n stepTwo: {\n ...onboardingForm.transactionProfile.stepTwo,\n priceRangeAvg: value\n }\n }\n });\n }}\n aria-describedby=\"outlined-weight-helper-text\"\n labelWidth={0}\n required\n />\n
\n
\n
\n );\n }\n\n const nextBtn = (\n {\n nextStep();\n onSubmit();\n }}\n >\n );\n\n return ;\n}\n\nOnboardingTransactionProfileComponentStepTwo.propTypes = {\n title: PropTypes.element,\n nextStep: PropTypes.func,\n onboardingForm: PropTypes.object,\n setOnboardingForm: PropTypes.func,\n isDisabled: PropTypes.bool,\n onSubmit: PropTypes.func\n};\n\nexport default OnboardingTransactionProfileComponentStepTwo;\n","import React, { useState, useEffect } from 'react';\nimport OnboardingTransactionProfileStepTwoComponent from './onboarding-transaction-profile-step-two.component';\nimport { useOnboardingFormContext, useGlobalStateContext } from 'contexts';\nimport { NonResellerMerchantService } from 'services';\nfunction OnboardingTransactionProfileStpTwo(props) {\n const { onboardingForm, setOnboardingForm } = useOnboardingFormContext();\n const [isDisabled, setIsDisabled] = useState(true);\n const { globalState } = useGlobalStateContext();\n\n useEffect(() => {\n const {\n companyTurnOverActual,\n companyTurnOverProjected,\n cardTurnOverActual,\n cardTurnOverProjected,\n priceRangeMin,\n priceRangeMax,\n priceRangeAvg\n } = onboardingForm.transactionProfile.stepTwo;\n const checkValues =\n companyTurnOverActual &&\n companyTurnOverProjected &&\n cardTurnOverActual &&\n cardTurnOverProjected &&\n priceRangeMin &&\n priceRangeMax &&\n priceRangeAvg;\n setIsDisabled(!checkValues);\n }, [onboardingForm.transactionProfile.stepTwo]);\n\n const onSubmit = () => {\n NonResellerMerchantService.completeOnboardingStep(globalState.merchant.id, 6, {\n transactionProfileData: onboardingForm.transactionProfile.stepTwo\n });\n };\n\n return (\n \n );\n}\n\nexport default OnboardingTransactionProfileStpTwo;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport styles from './onboarding-transaction-profile-step-three.module.scss';\nimport {\n Label,\n NextButton,\n OnboardingFormsContainer,\n SelectedDropDown,\n Input,\n FormItem\n} from 'components/onboarding/onboarding-ui-components';\nimport { AntSwitch } from 'components';\nimport { Grid, OutlinedInput, Typography } from '@material-ui/core';\nimport { checkEmptyValue } from 'validators/onboarding/onboarding-check-value.validator';\nimport { useGlobalStateContext } from 'contexts';\nimport NumberFormat from 'react-number-format';\nimport { numberFormatAllowValuesForPayments } from 'utils/helper';\n\nfunction OnboardingTransactionProfileComponentStepThree(props) {\n const { globalState } = useGlobalStateContext();\n const { title, nextStep, onboardingForm, setOnboardingForm, isDisabled, oneHundredValues, onSubmit } = props;\n\n const isT2SMerchant = globalState.isT2SMerchant;\n\n function formBody() {\n return (\n
\n \n \n \n \n {!isT2SMerchant && (\n <>\n \n \n Do you take MOTO payments?\n \n \n \n
\n \n No\n \n \n setOnboardingForm({\n ...onboardingForm,\n transactionProfile: {\n ...onboardingForm.transactionProfile,\n stepThree: {\n ...onboardingForm.transactionProfile.stepThree,\n isMotoPayment: e.target.checked\n }\n }\n })\n }\n >\n \n Yes\n \n
\n
\n \n )}\n\n \n \n Apply a max ticket value?\n \n \n \n
\n \n No\n \n \n setOnboardingForm({\n ...onboardingForm,\n transactionProfile: {\n ...onboardingForm.transactionProfile,\n stepThree: {\n ...onboardingForm.transactionProfile.stepThree,\n isMaxTicketApplied: e.target.checked\n }\n }\n })\n }\n >\n \n Yes\n \n
\n
\n {onboardingForm.transactionProfile.stepThree.isMaxTicketApplied && (\n \n \n \n setOnboardingForm({\n ...onboardingForm,\n transactionProfile: {\n ...onboardingForm.transactionProfile,\n stepThree: {\n ...onboardingForm.transactionProfile.stepThree,\n maxTicketValue: values.value\n }\n }\n })\n }\n isAllowed={(values) => numberFormatAllowValuesForPayments(values)}\n aria-describedby=\"outlined-weight-helper-text\"\n labelWidth={0}\n required\n />\n \n )}\n {onboardingForm.transactionProfile.stepThree.isMotoPayment && (\n \n \n What % total card turnover is Moto?\n option}\n listPrefix={' %'}\n value={onboardingForm.transactionProfile.stepThree.totalCardTurnoverIsMoto}\n onChange={(e, newValue) =>\n setOnboardingForm({\n ...onboardingForm,\n transactionProfile: {\n ...onboardingForm.transactionProfile,\n stepThree: {\n ...onboardingForm.transactionProfile.stepThree,\n totalCardTurnoverIsMoto: newValue\n }\n }\n })\n }\n >\n \n \n \n How far in advance of goods provided is MOTO ₤ taken?\n \n option}\n listPrefix={' Days'}\n value={onboardingForm.transactionProfile.stepThree.advanceGoodsMotoProvidedDays}\n onChange={(e, newValue) =>\n setOnboardingForm({\n ...onboardingForm,\n transactionProfile: {\n ...onboardingForm.transactionProfile,\n stepThree: {\n ...onboardingForm.transactionProfile.stepThree,\n advanceGoodsMotoProvidedDays: newValue\n }\n }\n })\n }\n >\n \n \n \n Auto renew/recurring transactions?\n \n \n \n
\n \n No\n \n \n setOnboardingForm({\n ...onboardingForm,\n transactionProfile: {\n ...onboardingForm.transactionProfile,\n stepThree: {\n ...onboardingForm.transactionProfile.stepThree,\n isAutoRenewTransactions: e.target.checked\n }\n }\n })\n }\n >\n \n Yes\n \n
\n
\n {onboardingForm.transactionProfile.stepThree.isAutoRenewTransactions && (\n \n
\n \n \n \n setOnboardingForm({\n ...onboardingForm,\n transactionProfile: {\n ...onboardingForm.transactionProfile,\n stepThree: {\n ...onboardingForm.transactionProfile.stepThree,\n motoRenewalReason: e.target.value\n }\n }\n })\n }\n >\n \n
\n
\n )}\n
\n )}\n
\n
\n );\n }\n\n const nextBtn = (\n {\n nextStep();\n onSubmit();\n }}\n >\n );\n\n return ;\n}\n\nOnboardingTransactionProfileComponentStepThree.propTypes = {\n title: PropTypes.element,\n nextStep: PropTypes.func,\n onboardingForm: PropTypes.object,\n setOnboardingForm: PropTypes.func,\n isDisabled: PropTypes.bool,\n oneHundredValues: PropTypes.array,\n onSubmit: PropTypes.func\n};\n\nexport default OnboardingTransactionProfileComponentStepThree;\n","import React, { useState, useEffect } from 'react';\nimport OnboardingTransactionProfileStepThreeComponent from './onboarding-transaction-profile-step-three.component';\nimport { useOnboardingFormContext, useGlobalStateContext } from 'contexts';\nimport { NonResellerMerchantService } from 'services';\n\nfunction OnboardingTransactionProfileStepThree(props) {\n const { onboardingForm, setOnboardingForm } = useOnboardingFormContext();\n const [isDisabled, setIsDisabled] = useState(true);\n const { globalState } = useGlobalStateContext();\n\n useEffect(() => {\n const {\n isMotoPayment,\n totalCardTurnoverIsMoto,\n advanceGoodsMotoProvidedDays,\n isMaxTicketApplied,\n maxTicketValue\n } = onboardingForm.transactionProfile.stepThree;\n const checkValuesForMotoPayment = totalCardTurnoverIsMoto !== null && advanceGoodsMotoProvidedDays !== null;\n const checkValues =\n (isMotoPayment && checkValuesForMotoPayment && isMaxTicketApplied && maxTicketValue) ||\n (isMotoPayment && checkValuesForMotoPayment && !isMaxTicketApplied) ||\n (!isMotoPayment && isMaxTicketApplied && maxTicketValue) ||\n (!isMotoPayment && !isMaxTicketApplied);\n setIsDisabled(!checkValues);\n }, [onboardingForm.transactionProfile.stepThree]);\n\n const onSubmit = () => {\n var data = { ...onboardingForm.transactionProfile.stepThree };\n if (!onboardingForm.transactionProfile.stepThree.isMotoPayment) {\n data.totalCardTurnoverIsMoto = 0;\n data.advanceGoodsMotoProvidedDays = 0;\n data.isAutoRenewTransactions = false;\n data.motoRenewalReason = null;\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n transactionProfile: {\n ...onboardingForm.transactionProfile,\n stepThree: {\n ...onboardingForm.transactionProfile.stepThree,\n totalCardTurnoverIsMoto: 0,\n advanceGoodsMotoProvidedDays: 0,\n isAutoRenewTransactions: false,\n motoRenewalReason: null\n }\n }\n }));\n }\n\n if (!onboardingForm.transactionProfile.stepThree.isAutoRenewTransactions) {\n data.motoRenewalReason = null;\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n transactionProfile: {\n ...onboardingForm.transactionProfile,\n stepThree: {\n ...onboardingForm.transactionProfile.stepThree,\n motoRenewalReason: null\n }\n }\n }));\n }\n\n if (!onboardingForm.transactionProfile.stepThree.isMaxTicketApplied) {\n data.maxTicketValue = 0;\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n transactionProfile: {\n ...onboardingForm.transactionProfile,\n stepThree: {\n ...onboardingForm.transactionProfile.stepThree,\n maxTicketValue: 0\n }\n }\n }));\n }\n\n if (onboardingForm.transactionProfile.stepThree.motoRenewalReason) {\n data.motoRenewalReason = onboardingForm.transactionProfile.stepThree.motoRenewalReason;\n }\n\n NonResellerMerchantService.completeOnboardingStep(globalState.merchant.id, 6, {\n transactionProfileData: data\n });\n };\n\n useEffect(() => {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n completedSteps: {\n ...onboardingForm.completedSteps,\n transactionProfile: isDisabled ? false : true\n }\n }));\n }, [isDisabled, setOnboardingForm]);\n\n return (\n \n );\n}\n\nexport default OnboardingTransactionProfileStepThree;\n","import React from 'react';\nimport OnboardingTransactionProfileStepOneComponent from './onboarding-transaction-profile-step-one/onboarding-transaction-profile-step-one.container';\nimport OnboardingTransactionProfileStepTwoComponent from './onboarding-transaction-profile-step-two/onboarding-transaction-profile-step-two.container';\nimport OnboardingTransactionProfileStepThreeComponent from './onboarding-transaction-profile-step-three/onboarding-transaction-profile-step-three.container';\nimport { OnboardingTitle } from 'components/onboarding/onboarding-ui-components';\nimport PropTypes from 'prop-types';\n\n// import styles from './onboarding-transaction-profile-steps-container.module.scss';\n\nfunction OnboardingTransactionProfileComponent(props) {\n const { nextStep, subStep, nextSubStep, oneHundredValues } = props;\n\n const title = (\n \n );\n\n const GetSubStepComponent = () => {\n switch (subStep) {\n case 1:\n return (\n \n );\n case 2:\n return ;\n case 3:\n return (\n \n );\n default:\n return (\n \n );\n }\n };\n return {GetSubStepComponent()};\n}\n\nOnboardingTransactionProfileComponent.propTypes = {\n nextStep: PropTypes.func,\n subStep: PropTypes.number,\n nextSubStep: PropTypes.func,\n oneHundredValues: PropTypes.array\n};\n\nexport default OnboardingTransactionProfileComponent;\n","import React, { useState } from 'react';\nimport OnboardingTransactionProfileStepsContainerComponent from './onboarding-transaction-profile-steps-container.component';\n\nfunction OnboardingTransactionProfile(props) {\n const [subStep, setSubStep] = useState(1);\n const oneHundredValues = [...Array(101).keys()].map((item) => item);\n\n const nextSubStep = () => {\n setSubStep((step) => step + 1);\n };\n\n return (\n \n );\n}\n\nexport default OnboardingTransactionProfile;\n","import React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { Paper, List, ListItem, Typography, Container, Box, Grid, Badge } from '@material-ui/core';\nimport style from './merchant-settings.module.scss';\nimport { useGlobalStateContext } from 'contexts';\nimport { ModalCloseMerchantAccount, ModalDeleteMerchantAccount, SnackBarAndAlert } from 'components';\nimport { CheckMerchantCountries } from '../onboarding/onboarding-ui-components/check-merchant-countries/check-merchant-countries';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { CheckCircleSharp } from '@material-ui/icons';\nimport { withStyles } from '@material-ui/core/styles';\n\nconst StyledBadge = withStyles({\n badge: {\n background: '#8783b5',\n color: '#f6f7fa',\n transform: 'scale(1) translate(85%, -45%)'\n }\n})(Badge);\nfunction MerchantSettingsComponent(props) {\n const { globalState, setRoute, getRoute } = useGlobalStateContext();\n const [isModalDeleteAccount, setIsModalDeleteAccount] = useState(false);\n const [isModalCloseAccount, setIsModalCloseAccount] = useState(false);\n const [isModalConfirmationCloseAccount, setIsModalConfirmationCloseAccount] = useState(false);\n const isClosureRequested = globalState.merchant?.isClosureRequested;\n const {\n canViewAndEditTeam,\n isOwner,\n isNotSubmitted,\n isActive,\n isAdmin,\n isMerchant,\n redirected,\n isWatchList\n } = props;\n const isCanonicalResellerMerchant = ![1, 2].includes(globalState.merchant?.canonicalResellerId);\n const noOfSignedTermsAndConditions = globalState.merchant?.noOfSignedTermsAndConditions;\n const noOfNotSignedTermsAndConditions = globalState.merchant?.noOfNotSignedTermsAndConditions;\n const noOfNotSignedAcquirerTermsAndConditions = globalState.merchant?.noOfNotSignedAcquirerTermsAndConditions;\n\n return (\n \n {redirected && (\n \n \n \n \n \n \n \n Your account verification documents have been uploaded successfully, our teams will\n review this within 48Hrs.\n \n \n \n \n )}\n \n \n \n \n Merchant settings\n \n \n \n \n \n

Your business

\n \n {/* {isAdmin && (\n setRoute('/account-info')}>\n \n \n Account information\n \n \n \n )} */}\n {(isOwner || isAdmin) && (\n \n {(isActive || isWatchList) && (\n \n setRoute('/update-account')}\n className={style.listItemStyle}\n >\n \n \n Update account details\n \n \n \n\n {isAdmin && (\n \n \n setRoute('/update-bank')}\n className={style.listItemStyle}\n >\n \n \n Update bank details\n \n \n \n \n setRoute('/upload-documents')}\n className={style.listItemStyle}\n >\n \n \n Upload documents\n \n \n \n \n )}\n\n {isMerchant && !isWatchList && (\n \n \n setRoute('/update-bank')}\n className={style.listItemStyle}\n >\n \n \n Update bank details\n \n \n \n \n setRoute('/upload-documents')}\n className={style.listItemStyle}\n >\n \n \n Upload documents\n \n \n \n \n )}\n setIsModalCloseAccount(true)}\n >\n \n \n Close account\n \n \n \n \n )}\n {isNotSubmitted && (\n setIsModalDeleteAccount(true)}\n >\n \n \n Delete account\n \n \n \n )}\n \n )}\n \n
\n
\n \n \n

Ways to get paid

\n \n setRoute('/manage-products')}\n className={style.listItemStyle}\n >\n \n \n Manage my products\n \n \n \n \n
\n
\n \n \n

Team and security

\n \n {canViewAndEditTeam ? (\n setRoute('/team')}>\n \n \n User management\n \n \n \n ) : null}\n setRoute('/update-password')}\n >\n \n \n Update password\n \n \n \n {\n isCanonicalResellerMerchant\n ? noOfSignedTermsAndConditions ||\n noOfNotSignedTermsAndConditions ||\n noOfNotSignedAcquirerTermsAndConditions\n ? setRoute('/setting-terms-and-conditions')\n : window.open(getRoute(`/terms-and-conditions`), '_blank')\n : window.open(getRoute(`/terms-and-conditions`), '_blank');\n }}\n >\n \n \n \n Terms and conditions\n \n \n \n \n \n
\n
\n
\n
\n
\n {isModalDeleteAccount && }\n {isModalCloseAccount && (\n \n {isClosureRequested ? (\n setIsModalCloseAccount(false)}\n type=\"warning\"\n >\n You already requested to close the account {globalState.merchant?.name} and a member of our\n team should be in touch to walk you through the process.\n \n ) : (\n \n )}\n \n )}\n {isModalConfirmationCloseAccount && (\n setIsModalConfirmationCloseAccount(false)}\n type=\"success\"\n >\n Your request to Close account {globalState.merchant?.name} has been recieved. A member of our team\n will be in touch with you.\n \n )}\n
\n );\n}\n\nMerchantSettingsComponent.propTypes = {\n canViewAndEditTeam: PropTypes.bool,\n isOwner: PropTypes.bool,\n isNotSubmitted: PropTypes.bool,\n isActive: PropTypes.bool,\n isAdmin: PropTypes.bool,\n isMerchant: PropTypes.bool\n};\n\nexport default MerchantSettingsComponent;\n","import React, { useState, useEffect } from 'react';\nimport MerchantSettingsComponent from './merchant-settings.component';\nimport { useGlobalStateContext } from 'contexts';\nimport { Roles } from '../../utils/enums/Roles';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport { UserType } from 'utils/enums/UserType';\n\nfunction MerchantSettings(props) {\n const { globalState } = useGlobalStateContext();\n const [isOwner, setIsOwner] = useState(false);\n const [isMerchant, setIsMerchant] = useState(false);\n const [canViewAndEditTeam, setCanViewAndEditTeam] = useState(false);\n const [isNotSubmitted, setIsNotSubmitted] = useState(false);\n const [isActive, setIsActive] = useState(false);\n const [isWatchList, setIsWatchList] = useState(false);\n const [isAdmin, setIsAdmin] = useState(false);\n const redirected = props.location.state?.redirected;\n useEffect(() => {\n // eslint-disable-next-line no-prototype-builtins\n if (globalState.merchant?.hasOwnProperty('userRole')) {\n setCanViewAndEditTeam(globalState.merchant?.userRole !== Roles.User);\n setIsOwner(globalState.merchant?.userRole === Roles.Owner);\n setIsNotSubmitted(globalState.merchant?.status === MerchantStatus.NOT_SUBMITTED);\n setIsActive(globalState.merchant?.status === MerchantStatus.ACTIVE);\n setIsWatchList(globalState.merchant?.status === MerchantStatus.WATCHLIST);\n setIsAdmin(\n globalState.user?.UserType?.name === UserType.Admin ||\n globalState.user?.UserType?.name === UserType.SuperAdmin\n );\n setIsMerchant(globalState.user.UserType.name === UserType.Merchant);\n }\n }, [globalState.merchant, globalState.user]);\n\n return (\n \n );\n}\n\nMerchantSettings.propTypes = {};\n\nexport default MerchantSettings;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Grid, Typography, Button } from '@material-ui/core';\nimport { Input, Label, OnboardingTitle, FormItem } from 'components/onboarding/onboarding-ui-components';\nimport { Edit } from '@material-ui/icons';\nimport styles from './onboarding-summary.module.scss';\nimport LoadingScreen from 'components/loading-screen/loading-screen.container';\nimport { useGlobalStateContext } from 'contexts';\nimport { Dialog, DialogContent, DialogActions, useMediaQuery } from '@material-ui/core';\nimport { translateText, FormatMessage } from 'utils/languageTranslater';\nimport { FormattedMessage } from 'react-intl';\nimport { checkEmptyValue, getArrayFromString } from 'validators/onboarding/onboarding-check-value.validator';\nimport { NativeSelect } from '@material-ui/core';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { CheckMerchantCountries } from '../onboarding-ui-components/check-merchant-countries/check-merchant-countries';\nimport PhoneInput from 'react-phone-input-2';\nimport { BankSortCodeNumberContainer } from 'components';\nimport ReactCodeInput from 'react-verification-code-input';\nimport moment from 'moment';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport { UserType } from 'utils/enums/UserType';\nimport { getOnboardingTitle } from 'utils/onboarding-helper';\nimport { OnboardingSteps } from 'utils/enums/OnboardingStepsMapping';\nimport { BusinessTypeEnumId } from 'utils/enums/BusinessType';\n\nexport default function OnboardingSummaryComponent(props) {\n const { globalState, getRoute, setRoute } = useGlobalStateContext();\n const {\n nextStep,\n onboardingForm,\n isDisabled,\n onSubmit,\n isLoading,\n showModal,\n onModalClose,\n setOnboardingForm,\n fetchingData,\n telephoneDisabled,\n isSoleTrader\n } = props;\n const mediaLessThan600px = useMediaQuery('(max-width:599px)');\n const accountCodeLengthUK = 8;\n const mediaLessThan750px = useMediaQuery('(max-width:749px)');\n const mediaLessThan400px = useMediaQuery('(max-width:399px)');\n const registeredBusiness = onboardingForm.businessDetails.isRegisteredBusiness;\n const isSameAccountName = onboardingForm.businessDetails.isAccountNameSame;\n const merchantCountry = globalState.merchant?.country;\n const isMerchantUserType = merchantCountry === UserType.Merchant;\n const isActiveMerchant = merchantCountry === MerchantStatus.ACTIVE;\n const isUkMerchant = merchantCountry === MerchantCountries.UNITED_KINGDOM;\n const isUsaMerchant = merchantCountry === MerchantCountries.UNITED_STATES;\n\n let portalName = globalState.reseller?.name;\n const title = (\n \n );\n\n return (\n \n \n \n {title}\n \n \n \n \n \n Owner details\n \n \n \n {\n nextStep(4);\n }}\n />\n \n \n\n \n \n {onboardingForm.ownersDetails.persons.length === 0 ? (\n \n ) : (\n \n }\n >\n {onboardingForm.ownersDetails.persons.map((person, index) => (\n \n ))}\n \n )}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {getOnboardingTitle(OnboardingSteps.NAME_AND_ADDRESS, merchantCountry)}\n \n \n \n {\n nextStep(1);\n }}\n />\n \n \n {isSoleTrader && registeredBusiness ? (\n \n \n {\n setOnboardingForm({\n ...onboardingForm,\n businessDetails: {\n ...onboardingForm.businessDetails,\n tradingName: e.target.value,\n isAccountNameSame: false\n }\n });\n }}\n >\n \n ) : null}\n {isSoleTrader && !isSameAccountName && !registeredBusiness ? (\n \n \n {\n setOnboardingForm({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n accountHolderName: e.target.value\n },\n businessDetails: {\n ...onboardingForm.businessDetails,\n isAccountNameSame: false\n }\n });\n }}\n >\n \n ) : null}\n {(!isSoleTrader || isSameAccountName) && (\n \n \n \n \n )}\n {!isSoleTrader && (\n \n \n \n \n \n \n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n nameAndAddress: {\n ...onboardingForm.nameAndAddress,\n postCode: e.target.value\n }\n })\n }\n >\n \n )}\n {!isSoleTrader && (\n \n \n \n \n )}\n {!isSoleTrader && (\n \n \n \n \n \n \n \n \n )}\n {!isSoleTrader && (\n \n \n \n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n businessDetails: {\n ...onboardingForm.businessDetails,\n email: e.target.value.toLowerCase()\n }\n })\n }\n >\n \n \n \n )}\n \n \n \n \n \n {getOnboardingTitle(OnboardingSteps.TRADING_ADDRESS, merchantCountry)}\n \n \n \n {\n nextStep(3);\n }}\n />\n \n \n {onboardingForm.businessDetails.businessTypeId === BusinessTypeEnumId.Limited.toString() && (\n \n \n \n setOnboardingForm({\n ...onboardingForm,\n businessDetails: {\n ...onboardingForm.businessDetails,\n tradingName: e.target.value\n }\n })\n }\n >\n \n )}\n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n postCode: e.target.value\n }\n })\n }\n >\n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n postCode: e.target.value\n }\n })\n }\n >\n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n ownerPrimaryAddress: {\n ...onboardingForm.tradingAddress,\n postCode: e.target.value\n }\n })\n }\n >\n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n city: e.target.value\n }\n })\n }\n />\n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n country: e.target.value\n }\n })\n }\n />\n \n \n \n \n \n \n setOnboardingForm({\n ...onboardingForm,\n tradingAddress: {\n ...onboardingForm.tradingAddress,\n country: e.target.value\n }\n })\n }\n />\n \n \n \n\n \n \n \n \n Bank details\n \n \n \n {\n nextStep(2);\n }}\n />\n \n \n \n \n \n \n \n \n \n
\n \n \n
\n
\n
\n \n \n
\n \n {onboardingForm.isPopulated && (\n <>\n \n \n \n )}\n \n \n \n \n {onboardingForm.isPopulated && (\n <>\n \n \n \n {' '}\n \n )}\n \n \n \n \n {onboardingForm.isPopulated && (\n \n \n )}\n \n \n \n \n \n \n \n \n \n \n \n
\n\n \n \n  \n window.open(getRoute(`/terms-and-conditions`), '_blank')}\n >\n \n \n \n \n \n onSubmit()}\n >\n {translateText({ id: 'onboarding-submit', text: 'Submit' })}\n \n {isMerchantUserType && isActiveMerchant && isUkMerchant && (\n {\n localStorage.setItem('skip_clicked', moment().format('DD-MM-YYYY hh:mm:ss'));\n setRoute('/home');\n }}\n >\n Remind me later\n
\n )}\n \n \n
\n \n
\n
\n
\n }}\n />\n
\n
\n \n onModalClose()}\n id=\"cancelButtonCreateMerchant\"\n autoFocus\n color=\"primary\"\n className={styles.confirmButton}\n >\n {translateText({ id: 'onboarding-close', text: 'Close' })}\n \n \n
\n \n \n \n \n );\n}\n\nOnboardingSummaryComponent.propTypes = {\n nextStep: PropTypes.func,\n onboardingForm: PropTypes.object,\n isDisabled: PropTypes.bool,\n onSubmit: PropTypes.func,\n isLoading: PropTypes.bool,\n telephoneDisabled: PropTypes.bool,\n fetchingData: PropTypes.bool\n};\n","export const OnboardingFormStatus = {\n IN_PROGRESS: 'IN_PROGRESS'\n};\n","import React, { useState, useEffect } from 'react';\nimport OnboardingSummaryComponent from './onboarding-summary.component';\nimport { useOnboardingFormContext, useGlobalStateContext } from 'contexts';\nimport { DocumentsService, NonResellerMerchantService, AuthService } from 'services';\nimport { OnboardingFormStatus } from 'utils/enums/OnboardingFormStatus';\nimport { DocumentFlag } from 'utils/enums/DocumentFlag';\nimport { BusinessTypeEnumId } from 'utils/enums/BusinessType';\nimport { getFormattedDocumentsStatsForMerchant } from 'utils/helper';\nimport { formTypes } from 'utils/enums/FormTypes';\nimport { isTokenGoingToExpire } from 'utils/helper';\n\nexport default function OnboardingSummary(props) {\n const { onboardingForm, setOnboardingForm } = useOnboardingFormContext();\n const [isDisabled, setIsDisabled] = useState(true);\n const [isLoading, setIsLoading] = useState(false);\n const [fetchingData, setFetchingData] = useState(false);\n const [showModal, setShowModal] = useState(false);\n const { globalState, setRoute, setGlobalState } = useGlobalStateContext();\n const isT2SMerchant = globalState.isT2SMerchant;\n const [telephoneDisabled] = useState(true);\n const [isSoleTrader, setIsSoleTrader] = useState(false);\n const [csrfToken, setCSRFToken] = useState('');\n\n const generateCSRFToken = async () => {\n setIsLoading(true);\n const response = await AuthService.generateCSRFToken(formTypes.SUBMIT_ONBOARDING, globalState.merchant?.id);\n if (response.isSuccesfully) {\n setCSRFToken(response.data.csrfToken);\n }\n setIsLoading(false);\n return response?.data?.csrfToken;\n };\n\n useEffect(() => {\n generateCSRFToken();\n // eslint-disable-next-line\n }, []);\n\n useEffect(() => {\n const { businessTypeId } = onboardingForm.businessDetails;\n const fetchData = async () => {\n setFetchingData(true);\n if (isT2SMerchant) {\n await NonResellerMerchantService.completeOnboardingStep(\n globalState.merchant?.id,\n 5,\n {\n businessDescriptions: [8],\n isBusinessMakingProducts: false,\n isStockSufficient: false,\n formType: formTypes.SUBMIT_ONBOARDING\n },\n csrfToken\n );\n\n await NonResellerMerchantService.completeOnboardingStep(\n globalState.merchant.id,\n 6,\n {\n transactionProfileData: {\n isDepositsTaken: false,\n isPrePayment: false,\n isMotoPayment: false,\n isMaxTicketApplied: false,\n isAutoRenewTransactions: false,\n companyTurnOverActual: 0\n },\n formType: formTypes.SUBMIT_ONBOARDING\n },\n csrfToken\n );\n\n const data = {\n productsRequiredIds: [1, 5],\n resellerId: globalState.reseller.id,\n formType: formTypes.SUBMIT_ONBOARDING\n };\n await NonResellerMerchantService.completeOnboardingStep(globalState.merchant?.id, 7, data, csrfToken);\n }\n\n const formStatusRes = await NonResellerMerchantService.incompleteBoardingFormCheck(\n globalState.merchant?.id\n );\n const documentsResponse = await DocumentsService.listObjects(\n 'merchant',\n globalState.merchant?.id,\n DocumentFlag.ONBOARDING\n );\n\n if (isT2SMerchant) {\n }\n\n const { formStatus } = formStatusRes.data;\n const checkStatus =\n formStatusRes.isSuccesfully && documentsResponse.isSuccesfully && onboardingForm.validOnboardingFrom;\n const checkResponse =\n formStatus === OnboardingFormStatus.IN_PROGRESS &&\n documentsResponse.data &&\n getFormattedDocumentsStatsForMerchant({\n merchantBusinessTypeId: onboardingForm.businessDetails.businessTypeId,\n merchantCountry: globalState.merchant?.country,\n merchantDocuments: documentsResponse.data\n }).hasAllMandatoryDocsUploaded;\n\n const checkValues = checkStatus && checkResponse;\n setIsDisabled(!checkValues);\n setFetchingData(false);\n };\n\n if (onboardingForm.validOnboardingFrom && csrfToken) {\n fetchData();\n }\n if (BusinessTypeEnumId.Sole_Trader === parseInt(businessTypeId)) {\n setIsSoleTrader(true);\n }\n // eslint-disable-next-line\n }, [\n globalState.merchant,\n isT2SMerchant,\n onboardingForm.businessDetails.businessTypeId,\n setOnboardingForm,\n onboardingForm.validOnboardingFrom,\n csrfToken\n ]);\n\n useEffect(() => {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n completedSteps: {\n ...onboardingForm.completedSteps,\n summary: onboardingForm.validOnboardingFrom\n }\n }));\n }, [onboardingForm.validOnboardingFrom, setOnboardingForm]);\n\n const onSubmit = async () => {\n setIsLoading(true);\n const isCSRFGoingToExpire = isTokenGoingToExpire(csrfToken);\n let latestCSRFToken = csrfToken;\n if (isCSRFGoingToExpire) {\n latestCSRFToken = await generateCSRFToken();\n }\n\n const response = await NonResellerMerchantService.completeOnboarding(globalState.merchant?.id, latestCSRFToken);\n if (response.isSuccesfully) {\n setShowModal(true);\n } else {\n // error\n }\n\n setIsLoading(false);\n };\n\n const onModalClose = () => {\n setGlobalState((globalState) => ({\n ...globalState,\n completedOnboarding: true\n }));\n setRoute('/home');\n };\n\n return (\n \n );\n}\n","import React from 'react';\nimport { Grid } from '@material-ui/core';\nimport PropTypes from 'prop-types';\n\nimport {\n NextButton,\n OnboardingTitle,\n OnboardingFormsContainer,\n UploadDocuments\n} from 'components/onboarding/onboarding-ui-components';\nimport { DocumentFlag } from 'utils/enums/DocumentFlag';\nimport { PendingDocsList } from 'components';\nimport { LoadingScreen } from 'components';\nfunction OnboardingDocumentsComponent(props) {\n const {\n onSubmit,\n isDisabled,\n merchantId,\n setValidForm,\n setUploadSuccess,\n businessTypeId,\n formattedDocumentsStats,\n setFormattedDocumentsStats,\n csrfToken,\n formType,\n isLoading,\n setCSRFToken,\n cardNumber,\n setCardNumber,\n setIdNumber,\n idNumber\n } = props;\n\n function formBody() {\n return (\n \n \n \n \n \n \n );\n }\n\n const title = (\n \n }\n transalterEnabled={true}\n >\n );\n\n const nextBtn = ;\n\n return ;\n}\n\nOnboardingDocumentsComponent.propTypes = {\n onSubmit: PropTypes.func,\n isDisabled: PropTypes.bool,\n merchantId: PropTypes.string,\n setValidForm: PropTypes.func,\n setUploadSuccess: PropTypes.func\n};\n\nexport default OnboardingDocumentsComponent;\n","import React, { useEffect, useState } from 'react';\nimport { NonResellerMerchantService, AuthService } from 'services';\nimport { useGlobalStateContext } from 'contexts';\nimport OnboardingDocumentsStepComponent from './onboarding-documents.component';\nimport PropTypes from 'prop-types';\nimport { useOnboardingFormContext } from 'contexts';\nimport { formTypes } from 'utils/enums/FormTypes';\nimport { isTokenGoingToExpire } from 'utils/helper';\n\nfunction OnboardingDocumentsStep(props) {\n const { nextStep } = props;\n const { onboardingForm, setOnboardingForm } = useOnboardingFormContext();\n const [isDisabled, setIsDisabled] = useState(true);\n const [idNumber, setIdNumber] = useState('');\n const [cardNumber, setCardNumber] = useState('');\n const { globalState } = useGlobalStateContext();\n const [validForm, setValidForm] = useState(onboardingForm.completedSteps.uploadDocuments);\n const [uploadSuccess, setUploadSuccess] = useState(false);\n const [formattedDocumentsStats, setFormattedDocumentsStats] = useState({});\n const [csrfToken, setCSRFToken] = useState('');\n const [isLoading, setIsLoading] = useState(false);\n const businessTypeId = onboardingForm.businessDetails.businessTypeId;\n\n const generateCSRFToken = async () => {\n setIsLoading(true);\n const response = await AuthService.generateCSRFToken(\n formTypes.ONBOARDING_UPLOAD_DOCUMENTS,\n globalState.merchant?.id\n );\n if (response.isSuccesfully) {\n setCSRFToken(response.data.csrfToken);\n }\n setIsLoading(false);\n return response?.data?.csrfToken;\n };\n\n useEffect(() => {\n generateCSRFToken();\n // eslint-disable-next-line\n }, []);\n\n useEffect(() => {\n if (!formattedDocumentsStats.hasAllMandatoryDocsUploaded) {\n setIsDisabled(!formattedDocumentsStats.hasAllMandatoryDocsUploaded);\n } else {\n setIsDisabled(cardNumber);\n }\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n completedSteps: {\n ...onboardingForm.completedSteps,\n uploadDocuments: formattedDocumentsStats.hasAllMandatoryDocsUploaded ? true : false\n }\n }));\n }, [validForm, setOnboardingForm, formattedDocumentsStats]);\n\n const onSubmit = async () => {\n // TODO - call back end once it is done\n const isCSRFGoingToExpire = isTokenGoingToExpire(csrfToken);\n let latestCSRFToken = csrfToken;\n if (isCSRFGoingToExpire) {\n latestCSRFToken = await generateCSRFToken();\n }\n const result = await NonResellerMerchantService.completeOnboardingStep(\n globalState.merchant?.id,\n 8,\n { formType: formTypes.ONBOARDING_UPLOAD_DOCUMENTS },\n latestCSRFToken\n );\n if (result.isSuccesfully) {\n nextStep();\n }\n };\n\n return (\n \n );\n}\n\nOnboardingDocumentsStep.propTypes = {\n nextStep: PropTypes.func\n};\n\nexport default OnboardingDocumentsStep;\n","import React from 'react';\n\nimport {\n Box,\n Button,\n CircularProgress,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n Grid\n} from '@material-ui/core/';\nimport { payoutStatus } from 'utils/enums/payoutStatusToDate';\nimport styles from './modal-payouts-mark-not-received.module.scss';\nexport default function ModalPayoutsMarkNotReceivedComponent(props) {\n const { open, setOpen, onmarkConfirm, markPayout, isLoading, error } = props;\n return (\n {\n setOpen(false);\n }}\n classes={{\n paper: styles.containerDialog\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n

\n {markPayout.status === payoutStatus.RESEND\n ? 'Resend payout'\n : markPayout.status === payoutStatus.NOT_RECEIVED\n ? `Mark payout as not received`\n : 'Cancel request'}\n

\n
\n
\n\n \n {isLoading ? (\n \n \n \n \n \n

Please wait, we are processing your request...

\n
\n
\n ) : (\n \n {error ? (\n `something went wrong.. try again later`\n ) : (\n \n \n {markPayout.status === payoutStatus.RESEND\n ? 'Are you sure you want to resend this payout?'\n : markPayout.status === payoutStatus.NOT_RECEIVED\n ? `Are you sure to make this payout ID ${markPayout.batch_id} as not received?`\n : 'Are you sure you want to cancel this request?'}\n \n \n )}\n \n )}\n
\n \n \n \n {\n setOpen(false);\n }}\n color=\"primary\"\n variant=\"outlined\"\n >\n {error ? `Close` : `Cancel`}\n \n \n \n {\n onmarkConfirm(markPayout);\n }}\n color=\"primary\"\n >\n Confirm\n \n \n \n \n \n );\n}\n","import React from 'react';\n\nimport ModalPayoutsMarkNotReceivedComponent from './modal-payouts-mark-not-received.component';\n\nexport default function ModalPayoutsMarkNotReceived(props) {\n return ;\n}\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n Box,\n Button,\n CircularProgress,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle\n} from '@material-ui/core/';\n\nimport styles from './modal-remove-member.module.scss';\n\nexport default function ModalRemoveUserComponent(props) {\n const { open, setOpen, onRemoveConfirm, removeMember, loading, error } = props;\n return (\n setOpen(false)}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n Remove user from team\n {loading ? (\n \n \n \n ) : (\n <>\n \n \n {error ? (\n `something went wrong.. try again later`\n ) : (\n \n \n {removeMember ? removeMember.email : 'User'}\n {' '}\n will no longer be able to access this account.\n \n )}\n \n \n \n \n {!error && (\n onRemoveConfirm(removeMember.Relationships.id)}\n variant=\"outlined\"\n color=\"secondary\"\n >\n Remove user\n \n )}\n \n \n )}\n \n );\n}\n\nModalRemoveUserComponent.propTypes = {\n open: PropTypes.bool,\n setOpen: PropTypes.func,\n removeMember: PropTypes.object,\n onRemoveConfirm: PropTypes.func,\n loading: PropTypes.bool,\n error: PropTypes.bool\n};\n","import React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport ModalRemoveUserComponent from './modal-remove-member.component';\nimport { useGlobalStateContext } from 'contexts';\nimport { TeamService } from 'services';\n\nexport default function ModalRemoveUser(props) {\n const {\n open,\n setOpen,\n removeMember,\n getTeamMembers,\n setCount,\n count,\n setSelectedRole,\n setSelectedStatus,\n setSearchString\n } = props;\n const [loading, setLoading] = useState(false);\n const [error, setError] = useState(false);\n const { globalState } = useGlobalStateContext();\n\n const onRemoveConfirm = async (id) => {\n setLoading(true);\n const response = await TeamService.removeTeamMember(id, globalState.canonicalReseller?.id);\n if (response.isSuccesfully) {\n setLoading(false);\n getTeamMembers();\n setOpen(false);\n setCount(() => count - 1);\n setSelectedRole('All roles');\n setSelectedStatus('All');\n setSearchString('');\n } else {\n setLoading(false);\n setError(true);\n }\n };\n return (\n \n );\n}\n\nModalRemoveUser.propTypes = {\n open: PropTypes.bool,\n setOpen: PropTypes.func,\n removeMember: PropTypes.object,\n refetch: PropTypes.func\n};\n","import React from 'react';\nimport { Typography, Container, Button, Grid, Divider, OutlinedInput, useMediaQuery, Tooltip } from '@material-ui/core';\nimport { Error, CheckCircle, ErrorOutline, WarningRounded } from '@material-ui/icons';\nimport { Input, Label, UploadDocuments } from 'components/onboarding/onboarding-ui-components';\nimport style from './update-bank-info.module.scss';\nimport { CheckMerchantCountries } from 'components/onboarding/onboarding-ui-components/check-merchant-countries/check-merchant-countries';\nimport PropTypes from 'prop-types';\nimport { checkEmptyValue } from 'validators/onboarding/onboarding-check-value.validator';\nimport {\n SnackBarAndAlert,\n BankSortCodeDetails,\n BankSortCodeNumberContainer,\n ModalUpdateBankCompletion,\n ModalUpdateBankVerify,\n LoadingScreen\n} from 'components';\nimport NumberFormat from 'react-number-format';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { ResellerType } from 'utils/enums/ResellerType';\nimport { useGlobalStateContext } from 'contexts';\nimport ReactCodeInput from 'react-verification-code-input';\nimport NewZealandAccountNumberContainer from 'components/new-zealand-account-number/new-zealand-account-number.container';\nimport { withStyles } from '@material-ui/core/styles';\nimport { Alert } from 'react-bootstrap';\nimport ErrorOutlineIcon from '@material-ui/icons/ErrorOutline';\nimport { DocumentFlag } from 'utils/enums/DocumentFlag';\nimport { BankAccountLengthConstaints } from 'utils/enums/BankAccountLength';\n\nconst ErrorTooltip = withStyles((theme) => ({\n tooltip: {\n backgroundColor: '#fdecea',\n color: '#611a15',\n fontSize: 14,\n height: '50px',\n maxWidth: '100%',\n padding: '0'\n }\n}))(Tooltip);\nfunction UpdateBankInfoComponent(props) {\n const { globalState } = useGlobalStateContext();\n const {\n handleSubmit,\n errorMessage,\n setErrorMessage,\n isLoading,\n confirmExistingSortCode,\n setConfirmExistingSortCode,\n confirmExistingAcountNumber,\n setConfirmExistingAcountNumber,\n confirmExistingIBAN,\n setConfirmExistingIBAN,\n newSortCode,\n setNewSortCode,\n newBsbCode,\n setNewBsbCode,\n newIBAN,\n setNewIBAN,\n newAcountNumber,\n setNewAcountNumber,\n newAcountNumberConfirm,\n setNewAcountNumberConfirm,\n newIBANConfirm,\n setNewIBANConfirm,\n newAcountHolder,\n setNewAcountHolder,\n showUKValidation,\n showIrelandValidation,\n statusValidationBankAccount,\n existingAccNumberInputRef,\n newAccNumberInputRef,\n statusValidationIBAN,\n setStatusValidationIBAN,\n confirmExistingBsbCode,\n setConfirmExistingBsbCode,\n newAustraliaAccountNum,\n setNewAustraliaAccountNum,\n confirmAustraliaAcountNum,\n setConfirmAustraliaAcountNum,\n newAustraliaAcountNumConfirm,\n setNewAustraliaAcountNumConfirm,\n bankUpdateDialogBox,\n setBankUpdateDialogBox,\n bankDetailsUpdateInitiated,\n overRideRequest,\n raiseBankDetailsUpdateRequest,\n newBankDetailsToSave,\n setIsLoading,\n setBankUpdateDetailsInitiated,\n setBankData,\n doAutoFocus,\n newNZAcountNumber,\n setNewNZAcountNumber,\n confirmExistingNZAcountNumber,\n setConfirmExistingNZAcountNumber,\n newNZAcountNumberConfirm,\n setNewNZAcountNumberConfirm,\n showMessage,\n disabled,\n showErrorForAccNo,\n AccNoErrorMessage,\n showErrorForNewAccNo,\n newAccNoErrorMessage,\n checkValue,\n show,\n setShow,\n isBankDetailsNotFound,\n isDisabled,\n phoneNumber,\n sendOtp,\n loader,\n otpError,\n setOtpError,\n confirmExistingRouteNum,\n setConfirmExistingRouteNum,\n setConfirmUnitedStatesAcountNum,\n setNewRouteNum,\n setNewUnitedStatesAccountNum,\n setNewUnitedStatesAcountNumConfirm,\n confirmUnitedStatesAcountNum,\n newRouteNum,\n newUnitedStatesAccountNum,\n newAcountNumConfirm,\n bankUpdateVerifyDialogBox,\n setBankUpdateVerifyDialogBox,\n businessDetails,\n validForm,\n setValidForm,\n setFormattedDocumentsStats,\n setUploadSuccess,\n setBucketDocuments,\n csrfToken,\n bankName,\n bankNameFieldOnChange,\n bankNameFieldOnBlur,\n bankNameFieldOnKeyDown,\n formType\n } = props;\n const datmanMerchant = globalState.reseller?.name === ResellerType.DATMAN;\n const mediaLessThan600px = useMediaQuery('(max-width:599px)');\n const mediaLessThan750px = useMediaQuery('(max-width:749px)');\n const mediaLessThan400px = useMediaQuery('(max-width:399px)');\n const Message = show || showMessage;\n return (\n \n
\n
\n {errorMessage && (\n setErrorMessage(null)} type=\"error\">\n {errorMessage ?

{errorMessage}

: ''}\n
\n )}\n\n
\n \n
\n
\n \n Update Bank Details\n \n
\n
\n \n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n setNewAcountHolder(e.target.value)}\n value={newAcountHolder}\n required\n />\n
\n
\n
\n
\n\n
\n
\n
\n
\n \n {\n setShow(false);\n setNewAustraliaAcountNumConfirm(e.target.value);\n }}\n />\n {Message && (\n
\n \n \n Your account numbers do not match\n \n
\n )}\n
\n
\n
\n
\n\n \n {datmanMerchant && (\n \n
\n
\n
\n
\n \n \n \n      {AccNoErrorMessage}\n \n }\n >\n
\n {\n const { value } = values;\n setConfirmExistingAcountNumber(value);\n }}\n labelWidth={0}\n required\n />\n
\n \n
\n
\n \n
\n )}\n
\n
\n
\n
\n
\n \n setNewAcountHolder(e.target.value)}\n value={newAcountHolder}\n />\n
\n\n
\n
\n
\n
\n
\n
\n
\n \n {\n setShow(false);\n const { value } = values;\n setNewAcountNumberConfirm(value);\n }}\n labelWidth={0}\n required\n />\n {Message && (\n
\n \n \n Your account numbers do not match\n \n
\n )}\n {isBankDetailsNotFound && (\n
\n
\n \n
\n \n The account number entered is not valid. Please enter\n any valid account number.\n \n
\n )}\n
\n
\n
\n {showUKValidation && (\n
\n {statusValidationBankAccount === 1 && (\n \n )}\n {statusValidationBankAccount === 2 && (\n \n )}\n
\n )}\n
\n \n {datmanMerchant && (\n \n
\n
\n
\n
\n {statusValidationIBAN === 2 && (\n
\n
\n \n
\n \n The existing IBAN provided does not match our records.\n Please review and enter the correct existing IBAN.\n \n
\n )}\n \n
\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n setNewAcountHolder(e.target.value)}\n value={newAcountHolder}\n />\n
\n
\n
\n
\n
\n {showIrelandValidation && (\n
\n {statusValidationBankAccount === 1 && (\n \n )}\n {statusValidationBankAccount === 2 && (\n \n )}\n
\n )}\n {statusValidationIBAN === 3 && (\n
\n
\n \n
\n \n New IBAN's provided don't match. Please review this information.\n \n
\n )}\n
\n \n {datmanMerchant && (\n \n
\n
\n \n \n \n      {AccNoErrorMessage}\n \n }\n >\n
\n {\n setConfirmExistingNZAcountNumber(value);\n }}\n />\n
\n \n
\n
\n \n
\n )}\n
\n
\n
\n \n setNewAcountHolder(e.target.value)}\n value={newAcountHolder}\n />\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n setNewAcountHolder(e.target.value)}\n value={newAcountHolder}\n required\n />\n
\n
\n
\n
\n\n
\n
\n
\n
\n \n {\n setShow(false);\n setNewUnitedStatesAcountNumConfirm(e.target.value);\n }}\n />\n {Message && (\n
\n \n \n Your account numbers do not match\n \n
\n )}\n
\n
\n
\n
\n \n {bankUpdateVerifyDialogBox && (\n \n )}\n \n
\n
\n
\n \n Update bank details\n \n
\n
\n
\n {datmanMerchant && }\n
\n {\n setOtpError('');\n }}\n >\n {otpError}\n \n \n
\n
\n );\n}\n\nUpdateBankInfoComponent.propTypes = {\n handleSubmit: PropTypes.func,\n errorMessage: PropTypes.string,\n setErrorMessage: PropTypes.func,\n isLoading: PropTypes.bool,\n confirmExistingSortCode: PropTypes.string,\n setConfirmExistingSortCode: PropTypes.func,\n confirmExistingAcountNumber: PropTypes.string,\n setConfirmExistingAcountNumber: PropTypes.func,\n confirmExistingIBAN: PropTypes.string,\n setConfirmExistingIBAN: PropTypes.func,\n newSortCode: PropTypes.string,\n setNewSortCode: PropTypes.func,\n newBsbCode: PropTypes.string,\n setNewBsbCode: PropTypes.func,\n newIBAN: PropTypes.string,\n setNewIBAN: PropTypes.func,\n newAcountNumber: PropTypes.string,\n setNewAcountNumber: PropTypes.func,\n newAcountNumberConfirm: PropTypes.string,\n setNewAcountNumberConfirm: PropTypes.func,\n newIBANConfirm: PropTypes.string,\n setNewIBANConfirm: PropTypes.func,\n newAcountHolder: PropTypes.string,\n setNewAcountHolder: PropTypes.func,\n statusValidationBankAccount: PropTypes.number,\n showUKValidation: PropTypes.bool,\n showIrelandValidation: PropTypes.bool,\n statusValidationIBAN: PropTypes.number,\n setStatusValidationIBAN: PropTypes.func,\n setConfirmExistingBsbCode: PropTypes.func,\n newAustraliaAccountNum: PropTypes.string,\n setNewAustraliaAccountNum: PropTypes.func,\n confirmAustraliaAcountNum: PropTypes.string,\n setConfirmAustraliaAcountNum: PropTypes.func,\n newAustraliaAcountNumConfirm: PropTypes.string,\n setNewAustraliaAcountNumConfirm: PropTypes.func,\n bankUpdateDialogBox: PropTypes.bool,\n setBankUpdateDialogBox: PropTypes.func,\n phoneNumber: PropTypes.string,\n bankDetailsUpdateInitiated: PropTypes.bool,\n overRideRequest: PropTypes.bool,\n setOverRideRequest: PropTypes.func,\n confirmExistingNZAcountNumber: PropTypes.string,\n setConfirmExistingNZAcountNumber: PropTypes.func,\n newNZAcountNumber: PropTypes.string,\n setNewNZAcountNumber: PropTypes.func,\n newNZAcountNumberConfirm: PropTypes.string,\n setNewNZAcountNumberConfirm: PropTypes.func,\n loader: PropTypes.bool\n};\n\nexport default UpdateBankInfoComponent;\n","import React, { useState, useEffect, useRef } from 'react';\nimport UpdateBankInfoComponent from './update-bank-info.component';\nimport { BankService, BusinessDetailsService, DocumentsService, AuthService, AdminService } from 'services';\nimport { useGlobalStateContext } from 'contexts';\nimport { ValidationMessage } from 'models';\nimport {\n validateBankDetailsData,\n validateIrelandBankDetailsData,\n validateMypayBankDetailsData,\n validateAustraliaBankDetails,\n validateUnitedStatesBankDetails\n} from 'validators';\nimport { validateNZBankDetailsData } from 'validators/update-bank/update-bank.validator';\nimport { CheckMerchantCountries } from 'components/onboarding/onboarding-ui-components/check-merchant-countries/check-merchant-countries';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { BankAccountLengthConstaints } from 'utils/enums/BankAccountLength';\nimport { ResellerType } from 'utils/enums/ResellerType';\nimport { bankValidationMap } from 'validators/onboarding/onboarding-account-number.validator';\nimport OtpService from 'services/otp.service';\nimport { UserType } from 'utils/enums/UserType';\nimport { maskCharacter } from 'utils/helper';\nimport { formTypes } from 'utils/enums/FormTypes';\nimport { DocumentFlag } from 'utils/enums/DocumentFlag';\nimport { DocumentStatusToName } from 'utils/enums/DocumentReviewStatus';\n\nexport default function UpdateBankInfo() {\n const initialValidationMessage = new ValidationMessage();\n const { globalState, setRoute } = useGlobalStateContext();\n const [errorMessage, setErrorMessage] = useState(initialValidationMessage.message);\n const [bankData, setBankData] = useState(null);\n const [isLoading, setIsLoading] = useState(false);\n const [loader, setLoader] = useState(false);\n const [bankUpdateDialogBox, setBankUpdateDialogBox] = useState(true);\n const [bankUpdateVerifyDialogBox, setBankUpdateVerifyDialogBox] = useState(false);\n const [phoneNumber, setPhoneNumber] = useState('');\n const [otpError, setOtpError] = useState('');\n const [confirmExistingSortCode, setConfirmExistingSortCode] = useState('');\n const [confirmExistingBsbCode, setConfirmExistingBsbCode] = useState('');\n const [confirmExistingRouteNum, setConfirmExistingRouteNum] = useState('');\n const [confirmExistingAcountNumber, setConfirmExistingAcountNumber] = useState('');\n const [confirmAustraliaAcountNum, setConfirmAustraliaAcountNum] = useState('');\n const [confirmUnitedStatesAcountNum, setConfirmUnitedStatesAcountNum] = useState('');\n\n const [confirmExistingIBAN, setConfirmExistingIBAN] = useState('IE');\n const [newSortCode, setNewSortCode] = useState('');\n const [newBsbCode, setNewBsbCode] = useState('');\n const [newRouteNum, setNewRouteNum] = useState('');\n const [newAcountNumber, setNewAcountNumber] = useState('');\n const [confirmExistingNZAcountNumber, setConfirmExistingNZAcountNumber] = useState('');\n const [newNZAcountNumber, setNewNZAcountNumber] = useState('');\n const [newNZAcountNumberConfirm, setNewNZAcountNumberConfirm] = useState('');\n const [newAustraliaAccountNum, setNewAustraliaAccountNum] = useState('');\n const [newIBAN, setNewIBAN] = useState('IE');\n const [newAcountNumberConfirm, setNewAcountNumberConfirm] = useState('');\n const [newAustraliaAcountNumConfirm, setNewAustraliaAcountNumConfirm] = useState('');\n const [newUnitedStatesAcountNumConfirm, setNewUnitedStatesAcountNumConfirm] = useState('');\n const [newIBANConfirm, setNewIBANConfirm] = useState('IE');\n const [newAcountHolder, setNewAcountHolder] = useState('');\n const [bankDetailsUpdateInitiated, setBankUpdateDetailsInitiated] = useState(false);\n const [overRideRequest, setOverRideRequest] = useState(false);\n const [newBankDetailsToSave, setNewBankDetailsToSave] = useState({});\n const [showMessage, setShowMessage] = useState(false);\n const [disabled, setDisabled] = useState(false);\n const [isDisabled, setIsDisabled] = useState(false);\n const [showErrorForAccNo, setShowErrorForAccNo] = useState(false);\n const [AccNoErrorMessage, setAccNoErrorMessage] = useState('');\n const [showErrorForNewAccNo, setShowErrorForNewAccNo] = useState(false);\n const [newAccNoErrorMessage, setNewAccNoErrorMessage] = useState('');\n const [show, setShow] = useState(false);\n const [isBankDetailsNotFound, setIsBankDetailsNotFound] = useState(false);\n const [newUnitedStatesAccountNum, setNewUnitedStatesAccountNum] = useState('');\n const [bankName, setBankName] = useState('');\n\n const [showUKValidation, setShowUKValidation] = useState(\n globalState.merchant?.country === MerchantCountries.UNITED_KINGDOM\n );\n const [showIrelandValidation, setShowIrelandValidation] = useState(\n globalState.merchant?.country === MerchantCountries.IRELAND\n );\n const [showAustraliaValidation, setShowAustraliaValidation] = useState(\n globalState.merchant?.country === MerchantCountries.AUSTRALIA\n );\n const [showUnitedStatesValidation, setShowUnitedStatesValidation] = useState(\n globalState.merchant?.country === MerchantCountries.UNITED_STATES\n );\n const [showNZValidation, setShowNZValidation] = useState(\n globalState.merchant?.country === MerchantCountries.NEW_ZEALAND\n );\n const existingAccNumberInputRef = useRef(null);\n const newAccNumberInputRef = useRef(null);\n\n const [statusValidationBankAccount, setStatusValidationBankAccount] = useState(0);\n const [statusValidationIBAN, setStatusValidationIBAN] = useState(0);\n const [businessDetails, setBusinessDetails] = useState({});\n const [formattedDocumentsStats, setFormattedDocumentsStats] = useState({});\n const [validForm, setValidForm] = useState(false);\n const [uploadSuccess, setUploadSuccess] = useState(false);\n const [bucketDocuments, setBucketDocuments] = useState([]);\n\n const [csrfToken, setCSRFToken] = useState('');\n\n useEffect(() => {\n const generateCSRFToken = async () => {\n setIsLoading(true);\n const response = await AuthService.generateCSRFToken(formTypes.UPDATE_BANK_INFO, globalState.merchant?.id);\n if (response.isSuccesfully) {\n setCSRFToken(response.data.csrfToken);\n }\n setIsLoading(false);\n };\n generateCSRFToken();\n // eslint-disable-next-line\n }, [globalState.merchant.id]);\n\n useEffect(() => {\n const fetchData = async () => {\n const response = await BankService.getBankDetails(globalState.merchant?.id);\n if (response.isSuccesfully) {\n setBankData(response.data);\n }\n };\n const retrieveBusinessDetails = async () => {\n const businessDetailsResult = await BusinessDetailsService.getBusinessDetails(globalState.merchant?.id);\n if (businessDetailsResult.isSuccesfully) {\n setBusinessDetails(businessDetailsResult.data.businessDetails || {});\n }\n };\n if (globalState.merchant?.id) {\n retrieveBusinessDetails();\n }\n fetchData();\n }, [globalState.merchant]);\n\n const doAutoFocus = (elementId) => {\n document.getElementById(elementId).focus();\n };\n\n // useEffect(() => {\n // setBankUpdateDetailsInitiated(true);\n // if (bankDetailsUpdateInitiated) {\n // setBankUpdateDialogBox(true);\n // }\n // }, [\n // newAustraliaAccountNum,\n // newAustraliaAcountNumConfirm,\n // newBsbCode,\n // newAcountNumber,\n // newAcountNumberConfirm,\n // newSortCode,\n // confirmExistingIBAN,\n // newIBAN,\n // newIBANConfirm,\n // confirmExistingSortCode,\n // confirmExistingAcountNumber,\n // confirmExistingBsbCode,\n // confirmAustraliaAcountNum,\n // bankDetailsUpdateInitiated\n // ]);\n\n useEffect(() => {\n async function validateAustraliaBankDetails() {\n setShowAustraliaValidation(globalState.merchant?.country === MerchantCountries.AUSTRALIA);\n validatenewAcctNumber(newAustraliaAccountNum);\n validateAcctNumber(confirmAustraliaAcountNum);\n setShowMessage(false);\n\n if (globalState.merchant?.country === MerchantCountries.AUSTRALIA) {\n const allfields =\n (newAustraliaAccountNum &&\n newAustraliaAcountNumConfirm &&\n newAcountHolder &&\n confirmAustraliaAcountNum &&\n bankName) !== (null || '') &&\n newAustraliaAccountNum === newAustraliaAcountNumConfirm &&\n confirmAustraliaAcountNum.length >= 5 &&\n newAustraliaAccountNum.length >= 5 &&\n newAustraliaAcountNumConfirm.length >= 5 &&\n newBsbCode &&\n newBsbCode.length === 6 &&\n confirmExistingBsbCode &&\n confirmExistingBsbCode.length === 6;\n setDisabled(!allfields);\n }\n if (newAustraliaAccountNum === newAustraliaAcountNumConfirm) {\n setShow(false);\n if (\n globalState.merchant?.country === MerchantCountries.AUSTRALIA &&\n newAustraliaAccountNum &&\n newAustraliaAccountNum.length >= 5 &&\n newBsbCode &&\n newBsbCode.length === 6\n ) {\n setShowAustraliaValidation(true);\n setStatusValidationBankAccount(1);\n setShowMessage(false);\n\n //api call for validation\n }\n } else if (\n newAustraliaAccountNum.length <= newAustraliaAcountNumConfirm.length &&\n newAustraliaAccountNum !== newAustraliaAcountNumConfirm\n ) {\n setShowMessage(true);\n } else {\n setStatusValidationBankAccount(2);\n }\n }\n validateAustraliaBankDetails();\n // eslint-disable-next-line\n }, [\n globalState.merchant,\n newAustraliaAccountNum,\n newAustraliaAcountNumConfirm,\n newBsbCode,\n confirmAustraliaAcountNum,\n newAcountHolder,\n confirmExistingBsbCode,\n bankName\n ]);\n\n useEffect(() => {\n if (globalState.merchant?.country === MerchantCountries.UNITED_KINGDOM) {\n validateAcctNumber(confirmExistingAcountNumber);\n let allFields;\n\n if (globalState.reseller.name === ResellerType.DATMAN) {\n allFields =\n (newAcountNumber &&\n confirmExistingAcountNumber &&\n newAcountHolder &&\n newAcountNumberConfirm &&\n bankName) !== (null || '') &&\n newAcountNumber === newAcountNumberConfirm &&\n newAcountNumber.length === 8 &&\n newAcountNumberConfirm.length === 8 &&\n confirmExistingAcountNumber.length === 8 &&\n newSortCode &&\n newSortCode.length === 6 &&\n confirmExistingSortCode &&\n confirmExistingSortCode.length === 6;\n } else {\n allFields =\n (newAcountNumber && newAcountHolder && newAcountNumberConfirm) !== (null || '') &&\n newAcountNumber === newAcountNumberConfirm &&\n newAcountNumber.length === 8 &&\n newAcountNumberConfirm.length === 8 &&\n newSortCode &&\n newSortCode.length === 6;\n }\n setDisabled(!allFields);\n }\n // eslint-disable-next-line\n }, [\n globalState.merchant,\n newAcountNumber,\n newAcountNumberConfirm,\n newSortCode,\n confirmExistingAcountNumber,\n confirmExistingSortCode,\n newAcountHolder,\n bankName\n ]);\n useEffect(() => {\n async function validateUKBankDetails() {\n setShowUKValidation(globalState.merchant?.country === MerchantCountries.UNITED_KINGDOM);\n validatenewAcctNumber(newAcountNumber);\n if (newAcountNumber === newAcountNumberConfirm) {\n setShow(false);\n let validNumber;\n if (\n globalState.merchant?.country === MerchantCountries.UNITED_KINGDOM &&\n newAcountNumber &&\n newAcountNumber.length === 8 &&\n newSortCode &&\n newSortCode.length === 6\n ) {\n setShowUKValidation(true);\n setShowMessage(false);\n setIsLoading(true);\n const response = await BankService.validateBankDetailsForUK({\n accountNumber: newAcountNumber,\n sortCode: newSortCode\n });\n if (response.isSuccesfully) {\n validNumber = response.data.IsCorrect;\n }\n setStatusValidationBankAccount(validNumber ? 1 : 2);\n setIsBankDetailsNotFound(!validNumber);\n setIsLoading(false);\n setIsDisabled(!validNumber);\n }\n } else if (\n newAcountNumber.length <= newAcountNumberConfirm.length &&\n newAcountNumber !== newAcountNumberConfirm\n ) {\n setShowMessage(true);\n } else {\n setStatusValidationBankAccount(2);\n setShowMessage(false);\n }\n }\n\n validateUKBankDetails();\n // eslint-disable-next-line\n }, [globalState.merchant, newAcountNumber, newAcountNumberConfirm, newSortCode]);\n\n useEffect(() => {\n async function validateIrelandBankDetails() {\n setShowIrelandValidation(globalState.merchant?.country === MerchantCountries.IRELAND);\n validatenewAcctNumber(newIBAN);\n validateAcctNumber(confirmExistingIBAN);\n if (globalState.merchant?.country === MerchantCountries.IRELAND) {\n const allfields =\n (newIBAN && newIBANConfirm && newAcountHolder && confirmExistingIBAN && bankName) !==\n (null || '') &&\n newIBAN === newIBANConfirm &&\n confirmExistingIBAN.length === 22 &&\n newIBAN.length === 22 &&\n newIBANConfirm.length === newIBAN.length;\n setDisabled(!allfields);\n }\n if (newIBAN === newIBANConfirm) {\n setShow(false);\n if (globalState.merchant?.country === MerchantCountries.IRELAND && newIBAN && newIBAN.length === 22) {\n setShowIrelandValidation(true);\n setStatusValidationBankAccount(1);\n setShowMessage(false);\n // api call to validate IBAN\n }\n } else if (newIBAN.length <= newIBANConfirm.length && newIBAN !== newIBANConfirm) {\n setShowMessage(true);\n } else {\n setShowMessage(false);\n setStatusValidationBankAccount(2);\n }\n }\n\n validateIrelandBankDetails();\n // eslint-disable-next-line\n }, [globalState.merchant, confirmExistingIBAN, newIBAN, newIBANConfirm, newAcountHolder, bankName]);\n\n useEffect(() => {\n async function validateNZBankDetails() {\n setShowUKValidation(globalState.merchant?.country === MerchantCountries.NEW_ZEALAND);\n validatenewAcctNumber(newNZAcountNumber);\n validateAcctNumber(confirmExistingNZAcountNumber);\n setShowMessage(false);\n if (globalState.merchant?.country === MerchantCountries.NEW_ZEALAND) {\n const allfields =\n (newNZAcountNumber &&\n newNZAcountNumberConfirm &&\n newAcountHolder &&\n confirmExistingNZAcountNumber &&\n bankName) !== (null || '') &&\n newNZAcountNumber === newNZAcountNumberConfirm &&\n confirmExistingNZAcountNumber.length >= 15 &&\n newNZAcountNumber.length >= 15 &&\n newNZAcountNumberConfirm.length === newNZAcountNumber.length;\n setDisabled(!allfields);\n }\n if (newNZAcountNumber === newNZAcountNumberConfirm) {\n setShow(false);\n if (\n globalState.merchant?.country === MerchantCountries.NEW_ZEALAND &&\n newNZAcountNumber &&\n newNZAcountNumber.length >= 15 &&\n newNZAcountNumberConfirm.length === newNZAcountNumber.length\n ) {\n setShowMessage(false);\n setShowNZValidation(true);\n setStatusValidationBankAccount(1);\n\n //api call for validation\n }\n } else if (\n newNZAcountNumber.length <= newNZAcountNumberConfirm.length &&\n newNZAcountNumber !== newNZAcountNumberConfirm\n ) {\n setShowMessage(true);\n } else {\n setShow(false);\n setShowMessage(false);\n setStatusValidationBankAccount(2);\n }\n }\n validateNZBankDetails();\n // eslint-disable-next-line\n }, [\n globalState.merchant,\n newNZAcountNumber,\n newNZAcountNumberConfirm,\n confirmExistingNZAcountNumber,\n newAcountHolder,\n bankName\n ]);\n\n useEffect(() => {\n async function validateUnitedStatesBankDetails() {\n setShowUnitedStatesValidation(globalState.merchant?.country === MerchantCountries.UNITED_STATES);\n validatenewAcctNumber(newUnitedStatesAccountNum);\n validateAcctNumber(confirmUnitedStatesAcountNum);\n setShowMessage(false);\n\n if (globalState.merchant?.country === MerchantCountries.UNITED_STATES) {\n const allfields =\n (newUnitedStatesAccountNum &&\n newUnitedStatesAcountNumConfirm &&\n newAcountHolder &&\n confirmUnitedStatesAcountNum &&\n bankName) !== (null || '') &&\n newUnitedStatesAccountNum === newUnitedStatesAcountNumConfirm &&\n confirmUnitedStatesAcountNum.length >=\n BankAccountLengthConstaints[MerchantCountries.UNITED_STATES].minLength &&\n newUnitedStatesAccountNum.length >=\n BankAccountLengthConstaints[MerchantCountries.UNITED_STATES].minLength &&\n newUnitedStatesAcountNumConfirm.length >=\n BankAccountLengthConstaints[MerchantCountries.UNITED_STATES].minLength &&\n newRouteNum &&\n newRouteNum.length === 9 &&\n confirmExistingRouteNum &&\n confirmExistingRouteNum.length === 9;\n setDisabled(!allfields);\n }\n if (newUnitedStatesAccountNum === newUnitedStatesAcountNumConfirm) {\n setShow(false);\n if (\n globalState.merchant?.country === MerchantCountries.UNITED_STATES &&\n newUnitedStatesAccountNum &&\n newUnitedStatesAccountNum.length >=\n BankAccountLengthConstaints[MerchantCountries.UNITED_STATES].minLength &&\n newRouteNum &&\n newRouteNum.length === 9\n ) {\n setShowUnitedStatesValidation(true);\n setStatusValidationBankAccount(1);\n setShowMessage(false);\n\n //api call for validation\n }\n } else if (\n newUnitedStatesAccountNum.length <= newUnitedStatesAcountNumConfirm.length &&\n newUnitedStatesAccountNum !== newUnitedStatesAcountNumConfirm\n ) {\n setShowMessage(true);\n } else {\n setStatusValidationBankAccount(2);\n }\n }\n validateUnitedStatesBankDetails();\n // eslint-disable-next-line\n }, [\n globalState.merchant,\n newUnitedStatesAccountNum,\n newUnitedStatesAcountNumConfirm,\n newRouteNum,\n confirmUnitedStatesAcountNum,\n newAcountHolder,\n confirmExistingRouteNum,\n bankName\n ]);\n\n const validateAcctNumber = (newAccountNumber) => {\n var validateAccNumber = bankValidationMap(globalState.merchant?.country, newAccountNumber);\n if (validateAccNumber) {\n setShowErrorForAccNo(!validateAccNumber.isValid && newAccountNumber.length !== 0);\n setAccNoErrorMessage(validateAccNumber.message);\n }\n return validateAccNumber.isValid;\n };\n const validatenewAcctNumber = (newAccountNumber) => {\n var validateAccNumber = bankValidationMap(globalState.merchant?.country, newAccountNumber);\n if (validateAccNumber) {\n setShowErrorForNewAccNo(!validateAccNumber.isValid && newAccountNumber.length !== 0);\n setNewAccNoErrorMessage(validateAccNumber.message);\n }\n return validateAccNumber.isValid;\n };\n const validateData = () => {\n const bankDetailsData = {\n confirmExistingSortCode,\n confirmExistingAcountNumber,\n newSortCode,\n newAcountNumber,\n newAcountNumberConfirm,\n newAcountHolder\n };\n\n const validationResult = validateBankDetailsData(bankDetailsData, bankData);\n\n setErrorMessage(validationResult.message);\n return validationResult.isValid;\n };\n\n const validateIrelandData = () => {\n const bankDetailsData = {\n confirmExistingIBAN,\n newIBAN,\n newIBANConfirm,\n newAcountHolder\n };\n\n const validationResult = validateIrelandBankDetailsData(bankDetailsData, bankData);\n\n setStatusValidationIBAN(validationResult);\n\n setErrorMessage(validationResult?.message);\n return validationResult?.isValid;\n };\n\n const validateNZData = () => {\n const bankDetailsData = {\n confirmExistingNZAcountNumber,\n newNZAcountNumber,\n newNZAcountNumberConfirm,\n newAcountHolder\n };\n const validationResult = validateNZBankDetailsData(bankDetailsData, bankData);\n setErrorMessage(validationResult?.message);\n return validationResult?.isValid;\n };\n const validateMypayData = () => {\n const bankDetailsData = {\n newSortCode,\n newAcountNumber,\n newAcountNumberConfirm,\n newAcountHolder\n };\n\n const validationResult = validateMypayBankDetailsData(bankDetailsData, bankData);\n setErrorMessage(validationResult.message);\n return validationResult.isValid;\n };\n\n const validateAustraliaData = () => {\n const bankDetailsData = {\n confirmExistingBsbCode,\n confirmAustraliaAcountNum,\n newBsbCode,\n newAustraliaAccountNum,\n newAustraliaAcountNumConfirm,\n newAcountHolder\n };\n const validationResult = validateAustraliaBankDetails(bankDetailsData, bankData);\n\n setErrorMessage(validationResult.message);\n return validationResult.isValid;\n };\n\n const validateUnitedStatesData = () => {\n const bankDetailsData = {\n confirmExistingRouteNum,\n confirmUnitedStatesAcountNum,\n newRouteNum,\n newUnitedStatesAccountNum,\n newUnitedStatesAcountNumConfirm,\n newAcountHolder\n };\n const validationResult = validateUnitedStatesBankDetails(bankDetailsData, bankData);\n\n setErrorMessage(validationResult.message);\n return validationResult.isValid;\n };\n\n const sendOtp = async () => {\n setBankUpdateDialogBox(false);\n setIsLoading(true);\n setLoader(true);\n const response = await OtpService.createOtp(globalState.merchant?.id, {\n method: 'phone',\n type: 'bank-update',\n portalURL: globalState.reseller?.portalURL\n });\n if (response.isSuccesfully) {\n setPhoneNumber(maskCharacter(response.data.data));\n setBankUpdateVerifyDialogBox(true);\n } else {\n setOtpError(response.data);\n }\n setIsLoading(false);\n setLoader(false);\n };\n\n const raiseBankDetailsUpdateRequest = async (data) => {\n setIsLoading(true);\n setLoader(true);\n data = {\n ...data,\n formType: formTypes.UPDATE_BANK_INFO\n };\n const response = await BankService.raiseNewBankDetailsUpdateRequest(globalState.merchant?.id, data, csrfToken);\n if (response.isSuccesfully) {\n setLoader(false);\n await DocumentsService.notifyAdminAboutDocumentUploading(\n globalState.merchant.id,\n globalState.reseller.id,\n true\n );\n AdminService.saveUserKycLogs(globalState.merchant.id, {\n resellerId: globalState.reseller.id,\n notes: '',\n documentId: data.newBankDocs[0].id,\n documentStatus: DocumentStatusToName.NEED_APPROVAL,\n docTypeId: data.newBankDocs[0].documentTypeId\n });\n setRoute('/settings', { redirected: true });\n } else {\n if (response.error && response.error.message) {\n setErrorMessage(response.error.message);\n } else {\n setErrorMessage('Please contact support or try again.');\n }\n setLoader(false);\n }\n setIsLoading(false);\n };\n\n const handleSubmit = async (event) => {\n //setIsLoading(true);\n event.preventDefault();\n setOverRideRequest(false);\n setBankUpdateDetailsInitiated(false);\n setBankUpdateDialogBox(true);\n\n let newBankDetails;\n if (globalState.reseller?.name === ResellerType.DATMAN) {\n if (globalState.merchant?.country === MerchantCountries.UNITED_KINGDOM) {\n if (!validateData() || (showUKValidation && statusValidationBankAccount !== 1)) {\n return;\n }\n newBankDetails = {\n newSortCode: newSortCode,\n newAccountNumber: newAcountNumber,\n accountHolderName: newAcountHolder,\n nameOfBank: bankName,\n resellerId: globalState.reseller.id\n };\n } else if (globalState.merchant?.country === MerchantCountries.IRELAND) {\n if (!validateIrelandData() || (showIrelandValidation && statusValidationBankAccount !== 1)) {\n return;\n }\n\n newBankDetails = {\n newAccountNumber: newIBAN,\n accountHolderName: newAcountHolder,\n nameOfBank: bankName,\n resellerId: globalState.reseller.id\n };\n } else if (globalState.merchant?.country === MerchantCountries.NEW_ZEALAND) {\n if (!validateNZData() || (showNZValidation && statusValidationBankAccount !== 1)) {\n return;\n }\n\n newBankDetails = {\n newAccountNumber: newNZAcountNumber,\n accountHolderName: newAcountHolder,\n nameOfBank: bankName,\n resellerId: globalState.reseller.id\n };\n } else if (globalState.merchant?.country === MerchantCountries.UNITED_STATES) {\n if (!validateUnitedStatesData() || (showUnitedStatesValidation && statusValidationBankAccount !== 1)) {\n return;\n }\n\n newBankDetails = {\n routingNumber: newRouteNum,\n newAccountNumber: newUnitedStatesAccountNum,\n accountHolderName: newAcountHolder,\n nameOfBank: bankName,\n resellerId: globalState.reseller.id\n };\n }\n }\n if (globalState.reseller?.name === ResellerType.OMNIPAY) {\n if (!validateMypayData() || (showUKValidation && statusValidationBankAccount !== 1)) {\n return;\n }\n newBankDetails = {\n newSortCode: newSortCode,\n newAccountNumber: newAcountNumber,\n accountHolderName: newAcountHolder,\n resellerId: globalState.reseller.id\n };\n } else if (globalState.merchant?.country === MerchantCountries.IRELAND) {\n if (!validateIrelandData() || (showIrelandValidation && statusValidationBankAccount !== 1)) {\n return;\n }\n\n newBankDetails = {\n newAccountNumber: newIBAN,\n accountHolderName: newAcountHolder,\n nameOfBank: bankName,\n resellerId: globalState.reseller.id\n };\n } else if (globalState.merchant?.country === MerchantCountries.AUSTRALIA) {\n if (!validateAustraliaData() || (showAustraliaValidation && statusValidationBankAccount !== 1)) {\n return;\n }\n\n newBankDetails = {\n newBsbCode: newBsbCode,\n newAccountNumber: newAustraliaAccountNum,\n accountHolderName: newAcountHolder,\n resellerId: globalState.reseller.id,\n nameOfBank: bankName\n };\n }\n newBankDetails = {\n ...newBankDetails,\n newBankDocs: bucketDocuments\n };\n setErrorMessage(null);\n setLoader(true);\n const response = await BankService.getNewBankUpdateRequestDetails(globalState.merchant?.id);\n setLoader(false);\n if (response.isSuccesfully) {\n setOverRideRequest(true);\n setNewBankDetailsToSave(newBankDetails);\n return;\n }\n //call api to update bank details\n if (\n globalState.reseller?.name === ResellerType.DATMAN &&\n globalState?.user?.UserType?.name !== UserType.SuperAdmin &&\n globalState.merchant?.country === MerchantCountries.UNITED_KINGDOM\n ) {\n setNewBankDetailsToSave(newBankDetails);\n sendOtp();\n } else {\n raiseBankDetailsUpdateRequest(newBankDetails);\n }\n //setIsLoading(false);\n };\n let checkValue;\n if (globalState.merchant?.country === MerchantCountries.AUSTRALIA) {\n checkValue = () => {\n const isSame = newAustraliaAccountNum.length > newAustraliaAcountNumConfirm.length;\n setShow(false);\n if (isSame) {\n setShow(true);\n }\n };\n }\n if (globalState.merchant?.country === MerchantCountries.UNITED_STATES) {\n checkValue = () => {\n const isSame = newUnitedStatesAccountNum.length > newUnitedStatesAcountNumConfirm.length;\n setShow(false);\n if (isSame) {\n setShow(true);\n }\n };\n }\n if (globalState.merchant?.country === MerchantCountries.NEW_ZEALAND) {\n checkValue = () => {\n const isSame = newNZAcountNumber.length !== newNZAcountNumberConfirm.length;\n if (isSame) {\n setShow(true);\n }\n };\n }\n if (globalState.merchant?.country === MerchantCountries.UNITED_KINGDOM) {\n checkValue = () => {\n const isSame = newAcountNumber.length > newAcountNumberConfirm.length;\n if (isSame) {\n setShow(true);\n }\n };\n }\n if (globalState.merchant?.country === MerchantCountries.IRELAND) {\n checkValue = () => {\n const isSame = newIBAN.length > newIBANConfirm.length;\n if (isSame) {\n setShow(true);\n }\n };\n }\n const bankNameFieldOnChange = (e) => {\n let inputValue = e.target.value.replace(/[^A-Za-z0-9.()& -]/g, '').toUpperCase();\n if (inputValue.length <= 80) setBankName(inputValue);\n };\n\n const bankNameFieldOnBlur = () => {\n let trimmedValue = bankName.trim().replace(/\\s+/g, ' ');\n setBankName(trimmedValue);\n };\n\n const bankNameFieldOnKeyDown = (e) => {\n const isCharacterAllowed = !/^[a-zA-Z0-9.()&\\- ]+$/.test(e.key);\n const isBackspace = e.key === 'Backspace';\n if (isCharacterAllowed && !isBackspace) e.preventDefault();\n };\n\n return (\n \n \n \n );\n}\n","import React from 'react';\nimport { Grid, Typography, Button, Dialog, DialogContent, DialogActions, Paper } from '@material-ui/core';\nimport { Input, Label, FormItem, PostCodeSelector } from 'components/onboarding/onboarding-ui-components';\nimport styles from './update-account.module.scss';\nimport { LoadingScreen, BankSortCodeDetails, ValidEmailInput } from 'components';\nimport { CheckMerchantCountries } from '../onboarding/onboarding-ui-components/check-merchant-countries/check-merchant-countries';\nimport { checkEmptyValue } from 'validators/onboarding/onboarding-check-value.validator';\nimport List from '@material-ui/core/List';\nimport ListItemText from '@material-ui/core/ListItemText';\nimport PropTypes from 'prop-types';\nimport PhoneInput from 'react-phone-input-2';\nimport { SnackBarAndAlert } from 'components';\nimport 'react-phone-input-2/lib/bootstrap.css';\nimport { FormatMessage } from 'utils/languageTranslater';\nimport { useGlobalStateContext } from 'contexts';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nfunction UppdateAccountComponent(props) {\n const { globalState } = useGlobalStateContext();\n\n const {\n disabled,\n businessDetails,\n ownerDetails,\n setBusinessDetails,\n setOwnerDetails,\n onSubmit,\n selectAddressData,\n showModal,\n modalMessage,\n errorMessage,\n showMessage,\n onModalClick,\n isLoading,\n BusinessName,\n setBusinessName,\n BusinessAddress,\n setBusinessAddress,\n OwnerName,\n setOwnerName,\n OwnerAddress,\n BankStatement,\n BusinessUtility,\n Identity,\n phoneNumberValidator,\n setOwnerAddress,\n handleClose\n } = props;\n\n const isUSMerchant = globalState.merchant?.country === MerchantCountries.UNITED_STATES;\n\n return (\n \n
\n \n Update Account Details\n \n
\n \n \n
\n \n Business Details\n \n \n \n {\n setBusinessDetails({\n ...businessDetails,\n legalName: e.target.value\n });\n setBusinessName(true);\n }}\n />\n \n \n \n \n \n \n \n \n \n \n \n {\n setBusinessDetails({\n ...businessDetails,\n postCode: postCode\n });\n setBusinessAddress(true);\n }}\n onAddressObjectChange={\n (addresData) => selectAddressData(addresData, setBusinessDetails, businessDetails)\n // setBusinessAddress(true)\n }\n />\n \n \n {\n setBusinessDetails({\n ...businessDetails,\n addressLine1: e.target.value\n });\n setBusinessAddress(true);\n }}\n />\n \n \n \n {\n setBusinessDetails({\n ...businessDetails,\n addressLine2: e.target.value\n });\n setBusinessAddress(true);\n }}\n />\n \n \n \n {\n setBusinessDetails({\n ...businessDetails,\n city: e.target.value\n });\n setBusinessAddress(true);\n }}\n />\n \n \n \n {\n setBusinessDetails({\n ...businessDetails,\n telephoneNumber: phoneNumberValidator(phone)\n });\n }}\n inputClass={styles.phoneInput}\n name=\"phone\"\n />\n \n
\n
\n \n
\n \n Owner Details\n \n \n \n {\n setOwnerDetails({\n ...ownerDetails,\n fullName: e.target.value\n });\n setOwnerName(true);\n }}\n />\n \n \n \n \n \n \n \n \n \n \n \n \n {\n setOwnerDetails({\n ...ownerDetails,\n postCode: postCode\n });\n setOwnerAddress(true);\n }}\n onAddressObjectChange={(addresData) =>\n selectAddressData(addresData, setOwnerDetails, ownerDetails)\n }\n />\n \n \n \n {\n setOwnerDetails({\n ...ownerDetails,\n addressLine1: e.target.value\n });\n setOwnerAddress(true);\n }}\n />\n \n \n \n {\n setOwnerDetails({\n ...ownerDetails,\n addressLine2: e.target.value\n });\n setOwnerAddress(true);\n }}\n />\n \n \n \n {\n setOwnerDetails({\n ...ownerDetails,\n city: e.target.value\n });\n setOwnerAddress(true);\n }}\n />\n \n \n \n {\n setOwnerDetails({\n ...ownerDetails,\n telephoneNumber: phoneNumberValidator(phone)\n });\n }}\n inputClass={styles.phoneInput}\n name=\"phone\"\n />\n \n \n {\n setOwnerDetails({\n ...ownerDetails,\n email: e.target.value.toLowerCase()\n });\n }}\n />\n \n
\n
\n \n
\n
\n \n Update\n \n \n {errorMessage}\n \n \n {modalMessage}\n \n \n {BusinessName ? : null}\n {BusinessAddress || OwnerAddress ? : null}\n {OwnerName ? : null}\n \n \n\n \n \n \n \n \n
\n
\n );\n}\nUppdateAccountComponent.propTypes = {\n phoneNumberValidator: PropTypes.func\n};\n\nUppdateAccountComponent.propTypes = {\n sortCode: PropTypes.string,\n accountNumber: PropTypes.string\n};\n\nexport default UppdateAccountComponent;\n","import React, { useState, useEffect } from 'react';\nimport UpdateAccountComponent from './update-account.component';\nimport { BusinessDetailsService, AuthService } from 'services';\nimport { useGlobalStateContext } from 'contexts';\nimport { InputValidators } from 'validators';\nimport { BankService } from 'services';\nimport { UserType } from 'utils/enums/UserType';\nimport { formTypes } from 'utils/enums/FormTypes';\nimport { ErrorCodes } from 'utils/enums/ErrorCode';\n\nfunction OnboardingNameAdress() {\n const { globalState, setRoute } = useGlobalStateContext();\n const [businessDetails, setBusinessDetails] = useState({});\n const [ownerDetails, setOwnerDetails] = useState({});\n const [disabled, setDisabled] = useState(true);\n const [showModal, setShowModal] = useState(false);\n const [showMessage, setShowMessage] = useState(false);\n const [BusinessName, setBusinessName] = useState(false);\n const [BusinessAddress, setBusinessAddress] = useState(false);\n const [OwnerName, setOwnerName] = useState(false);\n const [OwnerAddress, setOwnerAddress] = useState(false);\n const [modalMessage, setModalMessage] = useState('');\n const [BankStatement, setBankStatement] = useState('');\n const [BusinessUtility, setBusinessUtility] = useState('');\n const [Identity, setIdentity] = useState('');\n const [successfullUpdate, setSuccessfullUpdate] = useState(false);\n const [isLoading, setIsLoading] = useState(false);\n const [accountNumber, setAccountNumber] = useState('');\n const [sortCode, setSortCode] = useState('');\n const asterisks = '*********';\n const [errorMessage, setErrorMessage] = useState('');\n const [oldBusinessDetails, setOldBusinessDetails] = useState('');\n const [oldOwnerDetails, setOldOwnerDetails] = useState('');\n\n const isAdmin =\n globalState.user?.UserType?.name === UserType.Admin || globalState.user?.UserType?.name === UserType.SuperAdmin;\n useEffect(() => {\n const allFieldsCompleted =\n businessDetails.legalName &&\n businessDetails.postCode &&\n businessDetails.addressLine1 &&\n businessDetails.city &&\n businessDetails.telephoneNumber &&\n ownerDetails.fullName &&\n ownerDetails.postCode &&\n ownerDetails.addressLine1 &&\n ownerDetails.city &&\n ownerDetails.telephoneNumber &&\n InputValidators.isEmailValid(ownerDetails.email);\n\n const updatedAccount =\n businessDetails.legalName !== oldBusinessDetails.legalName ||\n ownerDetails.fullName !== oldOwnerDetails.fullName ||\n businessDetails.postCode !== oldBusinessDetails.postCode ||\n businessDetails.addressLine1 !== oldBusinessDetails.addressLine1 ||\n businessDetails.addressLine2 !== oldBusinessDetails.addressLine2 ||\n ownerDetails.addressLine1 !== oldOwnerDetails.addressLine1 ||\n ownerDetails.addressLine2 !== oldOwnerDetails.addressLine2 ||\n businessDetails.city !== oldBusinessDetails.city ||\n ownerDetails.city !== oldOwnerDetails.city ||\n businessDetails.telephoneNumber !== oldBusinessDetails.telephoneNumber ||\n ownerDetails.telephoneNumber !== oldOwnerDetails.telephoneNumber ||\n ownerDetails.postCode !== oldOwnerDetails.postCode ||\n ownerDetails.email !== oldOwnerDetails.email;\n if (allFieldsCompleted && updatedAccount) setDisabled(false);\n else setDisabled(true);\n }, [businessDetails, ownerDetails, oldOwnerDetails, oldBusinessDetails]);\n\n const [csrfToken, setCSRFToken] = useState('');\n\n useEffect(() => {\n const generateCSRFToken = async () => {\n setIsLoading(true);\n const response = await AuthService.generateCSRFToken(\n formTypes.UPDATE_ACCOUNT_INFO,\n globalState.merchant?.id\n );\n if (response.isSuccesfully) {\n setCSRFToken(response.data.csrfToken);\n }\n setIsLoading(false);\n };\n\n generateCSRFToken();\n // eslint-disable-next-line\n }, [globalState.merchant.id]);\n\n useEffect(() => {\n const getMerchantBusinessDetails = async () => {\n setIsLoading(true);\n const result = await BusinessDetailsService.getBusinessDetails(globalState.merchant?.id);\n\n if (result.isSuccesfully) {\n setBusinessDetails(result.data.businessDetails);\n setOwnerDetails(result.data.ownerDetails);\n setOldBusinessDetails(result.data.businessDetails);\n setOldOwnerDetails(result.data.ownerDetails);\n }\n\n setIsLoading(false);\n };\n\n getMerchantBusinessDetails();\n }, [globalState.merchant]);\n\n useEffect(() => {\n const fetchData = async () => {\n const response = await BankService.getMaskedBankDetails(globalState.merchant?.id);\n if (response.isSuccesfully) {\n setSortCode(response.data.sortCode);\n setAccountNumber(response.data.accountNumber);\n } else {\n setSortCode(asterisks);\n setAccountNumber(asterisks);\n }\n };\n fetchData();\n }, [globalState.merchant]);\n\n const selectAddressData = (addressData, setObject, object) => {\n if (addressData) {\n setObject({\n ...object,\n addressLine1: addressData.line_1,\n addressLine2: addressData.line_2,\n city: addressData.town_or_city,\n country: addressData.country\n });\n }\n };\n\n const onSubmit = async () => {\n setIsLoading(true);\n const validate = await BusinessDetailsService.getMerchantBusinessTypeAndBankStatus(\n globalState.merchant?.id,\n {}\n );\n if ((!validate.data.isBankAccountVerified && !validate.data.isAccountVerified) || isAdmin) {\n if (BusinessName || BusinessAddress || OwnerName || OwnerAddress) {\n setIsLoading(true);\n\n setIsLoading(false);\n const response = await BusinessDetailsService.updateBusinessDetails(\n globalState.merchant?.id,\n {\n businessDetails,\n ownerDetails,\n resellerId: globalState.reseller.id,\n formType: formTypes.UPDATE_ACCOUNT_INFO\n },\n csrfToken\n );\n setShowModal(true);\n if (response.isSuccesfully) {\n setModalMessage('In order to finalize your updates we require the following information');\n setBankStatement('Bank statement');\n setBusinessUtility('Business utility bills');\n setIdentity('Passport/Driving license');\n setSuccessfullUpdate(true);\n } else {\n const errorMessage =\n response.data.errorCode === ErrorCodes.CSRF_VALIDATION_FAILURE.errorCode\n ? ErrorCodes.CSRF_VALIDATION_FAILURE.message\n : ErrorCodes.INTERNAL_SERVER_ERROR.message;\n setModalMessage(errorMessage);\n setSuccessfullUpdate(false);\n }\n } else {\n await BusinessDetailsService.updateBusinessDetails(\n globalState.merchant?.id,\n {\n businessDetails,\n ownerDetails,\n resellerId: globalState.reseller.id,\n formType: formTypes.UPDATE_ACCOUNT_INFO\n },\n csrfToken\n );\n\n setRoute('/settings');\n }\n } else {\n setIsLoading(false);\n setShowMessage(true);\n setSuccessfullUpdate(false);\n setErrorMessage('For updating account details, please contact support!');\n }\n };\n\n const onModalClick = async () => {\n if (successfullUpdate) {\n setRoute('/upload-documents');\n }\n setShowModal(false);\n };\n\n const handleClose = (event, reason) => {\n if (reason === 'clickaway') {\n setShowMessage(false);\n }\n };\n return (\n \n );\n}\n\nexport default OnboardingNameAdress;\n","import React from 'react';\nimport {\n Grid,\n Typography,\n Button,\n Dialog,\n DialogContent,\n DialogActions,\n makeStyles,\n Paper,\n Box\n} from '@material-ui/core';\nimport { Input, Label, FormItem, PostCodeSelector } from 'components/onboarding/onboarding-ui-components';\nimport styles from './update-account-mypay.module.scss';\nimport { LoadingScreen, ValidURLInput, ValidEmailInput } from 'components';\nimport { checkEmptyValue } from 'validators/onboarding/onboarding-check-value.validator';\nimport PropTypes from 'prop-types';\nimport PhoneInput from 'react-phone-input-2';\nimport 'react-phone-input-2/lib/bootstrap.css';\nimport { FormatMessage } from 'utils/languageTranslater';\nfunction UpdateAccountMypayComponent(props) {\n const {\n disabled,\n businessDetails,\n ownerDetails,\n setBusinessDetails,\n setOwnerDetails,\n onSubmit,\n selectAddressData,\n showModal,\n modalMessage,\n isLoading,\n phoneNumberValidator,\n setShowModal\n } = props;\n\n const useStyles = makeStyles((theme) => ({\n disabledInput: {\n color: theme.palette.text.primary,\n backgroundColor: 'Gainsboro',\n border: '1px solid LightGray',\n borderRadius: '5px',\n fontWeight: '600',\n userSelect: 'none'\n }\n }));\n\n const classes = useStyles();\n\n return (\n \n \n \n Update Account Details\n \n \n \n \n
\n \n \n {\n setOwnerDetails({\n ...ownerDetails,\n fullName: e.target.value\n });\n }}\n disabled\n classes={{ disabled: classes.disabledInput }}\n />\n \n \n \n {\n setOwnerDetails({\n ...ownerDetails,\n postCode: postCode\n });\n }}\n onAddressObjectChange={(addresData) =>\n selectAddressData(addresData, setOwnerDetails, ownerDetails)\n }\n />\n \n \n \n {\n setOwnerDetails({\n ...ownerDetails,\n addressLine1: e.target.value\n });\n }}\n />\n \n \n \n {\n setOwnerDetails({\n ...ownerDetails,\n city: e.target.value\n });\n }}\n />\n \n \n \n {\n setOwnerDetails({\n ...ownerDetails,\n telephoneNumber: phoneNumberValidator(phone)\n });\n }}\n inputClass={styles.phoneInput}\n name=\"phone\"\n />\n \n \n {\n setOwnerDetails({\n ...ownerDetails,\n email: e.target.value.toLowerCase()\n });\n }}\n />\n \n
\n
\n \n
\n \n \n {\n setBusinessDetails({\n ...businessDetails,\n legalName: e.target.value\n });\n }}\n disabled\n classes={{ disabled: classes.disabledInput }}\n />\n \n \n \n setBusinessDetails({\n ...businessDetails,\n websiteUrl: value\n })\n }\n />\n \n
\n
\n
\n
\n \n Update\n \n \n {modalMessage}\n \n setShowModal(false)}\n id=\"cancelButtonCreateMerchant\"\n autoFocus\n color=\"primary\"\n >\n Ok\n \n \n \n \n
\n
\n );\n}\nUpdateAccountMypayComponent.propTypes = {\n phoneNumberValidator: PropTypes.func\n};\n\nexport default UpdateAccountMypayComponent;\n","import React, { useState, useEffect } from 'react';\nimport UpdateAccountMypayComponent from './update-account-mypay.component';\nimport { BusinessDetailsService } from 'services';\nimport { useGlobalStateContext } from 'contexts';\nimport { InputValidators } from 'validators';\nimport { difference, updateAccountMapKeyWord } from 'utils/helper';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\n\nfunction UpdateAccountMypay() {\n const { globalState, setRoute } = useGlobalStateContext();\n const [businessDetails, setBusinessDetails] = useState({});\n const [ownerDetails, setOwnerDetails] = useState({});\n const [disabled, setDisabled] = useState(true);\n const [showModal, setShowModal] = useState(false);\n const [modalMessage, setModalMessage] = useState('');\n const [isLoading, setIsLoading] = useState(false);\n const [oldOwnerDetails, setOldOwnerDetails] = useState({});\n const [oldBusinessDetails, setOldBusinessDetails] = useState({});\n\n useEffect(() => {\n const allFieldsCompleted =\n businessDetails.legalName &&\n InputValidators.isWebsiteUrlValid(businessDetails.websiteUrl) &&\n ownerDetails.fullName &&\n ownerDetails.postCode &&\n ownerDetails.addressLine1 &&\n ownerDetails.city &&\n ownerDetails.telephoneNumber &&\n InputValidators.isEmailValid(ownerDetails.email);\n const updatedAccount =\n businessDetails.legalName !== oldBusinessDetails.legalName ||\n businessDetails.websiteUrl !== oldBusinessDetails.websiteUrl ||\n ownerDetails.fullName !== oldOwnerDetails.fullName ||\n ownerDetails.postCode !== oldOwnerDetails.postCode ||\n ownerDetails.addressLine1 !== oldOwnerDetails.addressLine1 ||\n ownerDetails.city !== oldOwnerDetails.city ||\n ownerDetails.telephoneNumber !== oldOwnerDetails.telephoneNumber ||\n ownerDetails.email !== oldOwnerDetails.email;\n if (allFieldsCompleted && updatedAccount) setDisabled(false);\n else setDisabled(true);\n }, [businessDetails, ownerDetails, oldOwnerDetails, oldBusinessDetails]);\n\n useEffect(() => {\n const getMerchantBusinessDetails = async () => {\n setIsLoading(true);\n const result = await BusinessDetailsService.getBusinessDetails(globalState.merchant?.id);\n\n if (result.isSuccesfully) {\n setBusinessDetails(result.data.businessDetails);\n setOwnerDetails(result.data.ownerDetails);\n setOldBusinessDetails(result.data.businessDetails);\n setOldOwnerDetails(result.data.ownerDetails);\n }\n\n setIsLoading(false);\n };\n\n getMerchantBusinessDetails();\n }, [globalState.merchant]);\n\n const selectAddressData = (addressData, setObject, object) => {\n if (addressData) {\n setObject({\n ...object,\n addressLine1: addressData.line_1 + ', ' + addressData.line_2,\n city: addressData.town_or_city,\n country: MerchantCountries.UNITED_KINGDOM\n });\n }\n };\n\n const onSubmit = async () => {\n const updatedOwnerDetails = updateAccountMapKeyWord(difference(ownerDetails, oldOwnerDetails), oldOwnerDetails);\n const updatedBusinessDetails = updateAccountMapKeyWord(\n difference(businessDetails, oldBusinessDetails),\n oldBusinessDetails\n );\n const updatedAccountDetails = {\n ...updatedBusinessDetails,\n ...updatedOwnerDetails\n };\n\n setIsLoading(true);\n const response = await BusinessDetailsService.updateBusinessDetails(globalState.merchant?.id, {\n businessDetails,\n ownerDetails,\n resellerId: globalState.reseller.id,\n updatedAccountDetails\n });\n\n setIsLoading(false);\n if (response.isSuccesfully) {\n sessionStorage.setItem('accountUpdated', true);\n setRoute('/home');\n } else {\n setShowModal(true);\n setModalMessage('An error occurred. Please contact support or try again.');\n }\n };\n\n return (\n \n );\n}\n\nexport default UpdateAccountMypay;\n","import React from 'react';\nimport {\n Grid,\n Typography,\n Button,\n Dialog,\n DialogContent,\n DialogActions,\n makeStyles,\n Paper,\n Box\n} from '@material-ui/core';\nimport { Input, Label, FormItem, PostCodeSelector } from 'components/onboarding/onboarding-ui-components';\nimport styles from './update-account-reseller-merchant.module.scss';\nimport { LoadingScreen, ValidURLInput, CountyInput } from 'components';\nimport { checkEmptyValue } from 'validators/onboarding/onboarding-check-value.validator';\nimport PropTypes from 'prop-types';\nimport PhoneInput from 'react-phone-input-2';\nimport 'react-phone-input-2/lib/bootstrap.css';\nfunction UpdateAccountResellerMerchantComponent(props) {\n const {\n disabled,\n businessDetails,\n ownerDetails,\n setBusinessDetails,\n setOwnerDetails,\n onSubmit,\n selectAddressData,\n showModal,\n modalMessage,\n isLoading,\n phoneNumberValidator,\n setShowModal,\n setPhoneCountryDialCode\n } = props;\n\n const useStyles = makeStyles((theme) => ({\n disabledInput: {\n color: theme.palette.text.primary,\n backgroundColor: 'Gainsboro',\n border: '1px solid LightGray',\n borderRadius: '5px',\n fontWeight: '600',\n userSelect: 'none'\n }\n }));\n\n const classes = useStyles();\n\n return (\n \n \n \n Update Account Details\n \n \n \n \n
\n \n \n {\n setBusinessDetails({\n ...businessDetails,\n legalName: e.target.value\n });\n }}\n disabled\n classes={{ disabled: classes.disabledInput }}\n />\n \n
\n \n \n \n {\n setBusinessDetails({\n ...businessDetails,\n postCode: postCode\n });\n }}\n onAddressObjectChange={(addresData) =>\n selectAddressData(addresData, setBusinessDetails, businessDetails)\n }\n />\n \n \n \n {\n setBusinessDetails({\n ...businessDetails,\n addressLine1: e.target.value\n });\n }}\n />\n \n \n \n {\n setBusinessDetails({\n ...businessDetails,\n addressLine2: e.target.value\n });\n }}\n />\n \n \n \n {\n setBusinessDetails({\n ...businessDetails,\n city: e.target.value\n });\n }}\n />\n \n {\n setBusinessDetails({\n ...businessDetails,\n county: value\n });\n }}\n />\n
\n
\n
\n \n
\n \n \n {\n setOwnerDetails({\n ...ownerDetails,\n fullName: e.target.value\n });\n }}\n disabled\n classes={{ disabled: classes.disabledInput }}\n />\n \n \n \n {\n setOwnerDetails({\n ...ownerDetails,\n email: e.target.value.toLowerCase()\n });\n }}\n />\n \n\n \n \n {\n setBusinessDetails({\n ...businessDetails,\n telephoneNumber: phoneNumberValidator(phone)\n });\n setPhoneCountryDialCode(data.dialCode);\n }}\n inputClass={styles.phoneInput}\n name=\"phone\"\n />\n \n \n {\n setBusinessDetails({\n ...businessDetails,\n websiteUrl: value\n });\n }}\n />\n \n
\n
\n
\n
\n \n Update\n \n \n {modalMessage}\n \n setShowModal(false)}\n id=\"cancelButtonCreateMerchant\"\n autoFocus\n color=\"primary\"\n >\n Ok\n \n \n \n \n
\n
\n );\n}\nUpdateAccountResellerMerchantComponent.propTypes = {\n phoneNumberValidator: PropTypes.func\n};\n\nexport default UpdateAccountResellerMerchantComponent;\n","import React, { useState, useEffect } from 'react';\nimport UpdateAccountResellerMerchantComponent from './update-account-reseller-merchant.component';\nimport { BusinessDetailsService } from 'services';\nimport { useGlobalStateContext } from 'contexts';\nimport { InputValidators } from 'validators';\nimport { difference, updateAccountMapKeyWord } from 'utils/helper';\n\nfunction UpdateAccountResellerMerchant() {\n const { globalState, setRoute } = useGlobalStateContext();\n const [businessDetails, setBusinessDetails] = useState({});\n const [ownerDetails, setOwnerDetails] = useState({});\n const [disabled, setDisabled] = useState(true);\n const [showModal, setShowModal] = useState(false);\n const [modalMessage, setModalMessage] = useState('');\n const [isLoading, setIsLoading] = useState(false);\n const [oldOwnerDetails, setOldOwnerDetails] = useState({});\n const [oldBusinessDetails, setOldBusinessDetails] = useState({});\n const [phoneCountryDialCode, setPhoneCountryDialCode] = useState('');\n\n useEffect(() => {\n const allFieldsCompleted =\n businessDetails.legalName &&\n InputValidators.isWebsiteUrlValid(businessDetails.websiteUrl) &&\n ownerDetails.fullName &&\n businessDetails.postCode &&\n businessDetails.addressLine1 &&\n businessDetails.city &&\n businessDetails.county &&\n businessDetails.telephoneNumber &&\n ownerDetails.email &&\n businessDetails.telephoneNumber !== phoneCountryDialCode;\n\n const updatedAccount =\n businessDetails.legalName !== oldBusinessDetails.legalName ||\n businessDetails.websiteUrl !== oldBusinessDetails.websiteUrl ||\n ownerDetails.fullName !== oldOwnerDetails.fullName ||\n businessDetails.postCode !== oldBusinessDetails.postCode ||\n businessDetails.addressLine1 !== oldBusinessDetails.addressLine1 ||\n businessDetails.addressLine2 !== oldBusinessDetails.addressLine2 ||\n businessDetails.city !== oldBusinessDetails.city ||\n businessDetails.county !== oldBusinessDetails.county ||\n businessDetails.telephoneNumber !== oldBusinessDetails.telephoneNumber ||\n ownerDetails.email !== oldOwnerDetails.email;\n\n if (allFieldsCompleted && updatedAccount) setDisabled(false);\n else setDisabled(true);\n\n // eslint-disable-next-line\n }, [businessDetails, ownerDetails, oldOwnerDetails, oldBusinessDetails]);\n\n useEffect(() => {\n const getMerchantBusinessDetails = async () => {\n setIsLoading(true);\n const result = await BusinessDetailsService.getBusinessDetails(globalState.merchant?.id);\n\n if (result.isSuccesfully) {\n setBusinessDetails(result.data.businessDetails);\n setOwnerDetails(result.data.ownerDetails);\n setOldBusinessDetails(result.data.businessDetails);\n setOldOwnerDetails(result.data.ownerDetails);\n }\n\n setIsLoading(false);\n };\n\n getMerchantBusinessDetails();\n }, [globalState.merchant]);\n\n const selectAddressData = (addressData, setObject, object) => {\n if (addressData) {\n setObject({\n ...object,\n addressLine1: addressData.line_1 || '',\n addressLine2: addressData.line_2 || '',\n city: addressData.town_or_city || '',\n county: addressData.county || ''\n });\n }\n };\n\n const onSubmit = async () => {\n const updatedOwnerDetails = updateAccountMapKeyWord(difference(ownerDetails, oldOwnerDetails), oldOwnerDetails);\n const updatedBusinessDetails = updateAccountMapKeyWord(\n difference(businessDetails, oldBusinessDetails),\n oldBusinessDetails\n );\n const updatedAccountDetails = {\n ...updatedBusinessDetails,\n ...updatedOwnerDetails\n };\n\n setIsLoading(true);\n const response = await BusinessDetailsService.updateBusinessDetails(globalState.merchant?.id, {\n businessDetails,\n ownerDetails,\n resellerId: globalState.reseller.id,\n updatedAccountDetails\n });\n\n setIsLoading(false);\n if (response.isSuccesfully) {\n sessionStorage.setItem('accountUpdated', true);\n setRoute('/home');\n } else {\n setShowModal(true);\n setModalMessage('An error occurred. Please contact support or try again.');\n }\n };\n\n return (\n \n );\n}\n\nexport default UpdateAccountResellerMerchant;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport styles from './payment-action.module.scss';\nimport {\n Typography,\n Button,\n OutlinedInput,\n InputAdornment,\n Dialog,\n DialogContent,\n Divider,\n Table,\n TableBody,\n TableCell,\n TableContainer,\n TableRow\n} from '@material-ui/core';\nimport { makeStyles, withStyles } from '@material-ui/core/styles';\nimport AccountBalanceWalletOutlinedIcon from '@material-ui/icons/AccountBalanceWalletOutlined';\nimport Tooltip from '@material-ui/core/Tooltip';\nimport Alert from '@material-ui/lab/Alert';\nimport NumberFormat from 'react-number-format';\nimport { getCurrencySymbol } from 'utils/getCurrencyByCountry';\nimport { useGlobalStateContext, useBalanceContext } from 'contexts';\nimport { SnackBarAndAlert, DotFlashingLoading } from 'components';\nimport { numberFormatAllowValuesForPayments } from 'utils/helper';\nimport { ResellerType } from 'utils/enums/ResellerType';\nimport { withdrawalStatus } from 'utils/enums/Status';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport { merchantTypes, formatCurrency } from 'utils/helper.js';\nimport { getCurrencyThreeAlpha } from 'utils/getCurrencyByCountry';\nimport CloseIcon from '@material-ui/icons/Close';\n\nconst useStyles = makeStyles(() => ({\n root: {\n height: '40px',\n '&.MuiOutlinedInput-root': {\n 'border-radius': '4px 0px 0px 4px !important',\n '& input': {\n fontSize: '20px',\n fontWeight: 'bold'\n }\n },\n '& fieldset': {\n border: '1px solid #e8e9ec'\n }\n }\n}));\n\nconst ErrorTooltip = withStyles((theme) => ({\n tooltip: {\n fontSize: 12,\n fontWeight: 400,\n border: '2px solid #d3eff5'\n },\n popper: {\n top: '-5px !important',\n left: '-2px !important'\n }\n}))(Tooltip);\n\n/**\n *\n * @param {{\n textPlaceHolder: string,\n inputValue: number,\n balanceValue?: number,\n textInСircle: string,\n onInput: (event: Event) => {},\n btnText: string,\n onBtnClick: () => {}\n * }} props\n */\nfunction PaymentActionComponent(props) {\n const { globalState } = useGlobalStateContext();\n const { balance, balanceIsLoading } = useBalanceContext();\n const {\n textPlaceHolder,\n inputValue,\n btnText,\n onBtnClick,\n textInСircle,\n showActionError,\n cantWithdraw,\n paymentActionValidation,\n renderPopup,\n paymentType,\n isSuccessWithdraw,\n setIsSuccessWithdraw,\n successMessage,\n amount,\n setAmount,\n cantWithdrawMessage,\n setOpenView,\n openView\n } = props;\n const classes = useStyles();\n const hidePaymentActions = globalState.merchant?.userRole === 'User';\n const datmanMerchant = globalState.reseller?.name === ResellerType.DATMAN;\n const notShowWithdrawals = merchantTypes.includes(globalState.merchant?.merchantType);\n const isMerchantAccountClosed = globalState.merchant?.status === MerchantStatus.CLOSED;\n\n const manualWithdrawalStatus = sessionStorage.getItem('manual_withdrawal_status');\n return (\n
\n
\n
\n
{textInСircle}
\n \n {textPlaceHolder}\n \n
\n
\n {!notShowWithdrawals && (\n
\n {datmanMerchant && (\n
\n
\n {balanceIsLoading ? (\n
\n \n
\n ) : (\n \n \n {getCurrencySymbol(globalState.merchant?.country)}\n \n \n \n )}\n
\n
\n )}\n {datmanMerchant && (\n
\n {/* {!hidePaymentActions && (\n
\n {+balance > 0 && paymentActionValidation()}\n }\n >\n
\n \n \n {getCurrencySymbol(globalState.merchant?.country)}\n \n \n }\n onValueChange={(values) => {\n const { value } = values;\n setAmount(value);\n }}\n isAllowed={(values) => numberFormatAllowValuesForPayments(values)}\n aria-describedby=\"outlined-weight-helper-text\"\n labelWidth={0}\n value={amount}\n required\n />\n
\n \n
\n )}\n 0 && cantWithdraw}\n arrow\n title={{cantWithdrawMessage}}\n >\n
\n \n
\n \n

{btnText}

\n
\n \n {renderPopup(paymentType)}\n
\n */}\n
\n setOpenView(true)}\n className={styles.buttonAction}\n disabled={isMerchantAccountClosed}\n >\n
\n

View

\n
\n \n {/* {renderPopup(paymentType)} */}\n
\n
\n )}\n
\n )}\n {\n setOpenView(false);\n setAmount(null);\n }}\n className={{\n paper: styles.paper\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n max-width=\"false\"\n >\n \n
\n
\n \n

Balance

\n
\n
\n
\n {\n setOpenView(false);\n setAmount(null);\n }}\n >\n \n \n
\n
\n\n \n \n \n \n {/* \n \n Total Balance\n \n \n {formatCurrency(balance, getCurrencyThreeAlpha(globalState.merchant?.country))}\n \n */}\n {/* \n \n In transit Balance\n \n Payouts in Transit will be deposited in to your account every Tuesday and Friday\n automatically.\n \n \n \n {formatCurrency(\n transitBalance,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n \n */}\n \n \n \n Available Balance\n \n \n \n \n {formatCurrency(balance, getCurrencyThreeAlpha(globalState.merchant?.country))}\n \n \n \n \n \n \n {Number(manualWithdrawalStatus) === withdrawalStatus.ALLOW_WITHDRAWAL ? (\n
\n {!hidePaymentActions && (\n
\n {+balance > 0 && paymentActionValidation()}\n }\n >\n
\n \n \n {getCurrencySymbol(globalState.merchant?.country)}\n \n \n }\n onValueChange={(values) => {\n const { value } = values;\n setAmount(value);\n }}\n isAllowed={(values) => numberFormatAllowValuesForPayments(values)}\n aria-describedby=\"outlined-weight-helper-text\"\n labelWidth={0}\n value={amount}\n required\n />\n
\n \n
\n )}\n 0 && cantWithdraw}\n arrow\n title={{cantWithdrawMessage}}\n >\n
\n \n
\n \n

{btnText}

\n
\n \n {renderPopup(paymentType)}\n
\n \n
\n ) : (\n
\n We're simplifying your payouts.\n
\n No more manual withdrawal required!\n
\n )}\n \n \n\n {isSuccessWithdraw && (\n setIsSuccessWithdraw(false)} type=\"success\">\n {successMessage}\n \n )}\n
\n );\n}\n\nPaymentActionComponent.propTypes = {\n textPlaceHolder: PropTypes.string,\n inputValue: PropTypes.number,\n btnText: PropTypes.string,\n onBtnClick: PropTypes.func,\n textInСircle: PropTypes.string,\n showActionError: PropTypes.bool,\n cantWithdraw: PropTypes.bool,\n paymentActionValidation: PropTypes.func,\n renderPopup: PropTypes.func,\n paymentType: PropTypes.number,\n setAmount: PropTypes.func,\n isSuccessWithdraw: PropTypes.bool,\n setIsSuccessWithdraw: PropTypes.func,\n successMessage: PropTypes.string,\n cantWithdrawMessage: PropTypes.string,\n calculateFontSize: PropTypes.func\n};\n\nexport default PaymentActionComponent;\n","import React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport PaymentActionComponent from './payment-action.component';\nimport { WithdrawalSubmission, InternalTransferSubmission } from 'components';\nimport { PaymentType } from 'utils/enums/PaymentType';\nimport { useBalanceContext, useGlobalStateContext } from 'contexts';\nimport { BusinessDetailsService } from 'services';\nimport { validatePaymentAmount } from 'validators';\nimport { validateWithdraw } from 'validators';\n\n/**\n * \n * @param {{\n textPlaceHolder: string,\n textInСircle: string,\n balanceValue?: number,\n inputValue: number,\n onInput: (event: Event) => {},\n btnText: string,\n onBtnClick: () => {}\n * }} props \n */\nfunction PaymentAction(props) {\n const [isSuccessWithdraw, setIsSuccessWithdraw] = useState(false);\n const [successMessage, setSuccessMessage] = useState('');\n const { show, setShow, paymentType } = props;\n\n const { globalState, setRoute } = useGlobalStateContext();\n // Check please if we should remove or leave refreshBalance (if you will see conflict on merge)\n // On migration it was removed, on dev we should leave it for now.\n const { availableBalance } = useBalanceContext();\n const [showActionError, setShowActionError] = useState(false);\n const textInCircle = `${globalState?.user?.firstName?.charAt(0)}${globalState?.user?.lastName?.charAt(0)}`;\n const textPlaceHolder = 'Hi ' + globalState.user?.firstName;\n const [amount, setAmount] = useState(null);\n const [isVerifiedBank, setIsVerifiedBank] = useState(false);\n const [openView, setOpenView] = useState(false);\n\n useEffect(() => {\n const getBankStatus = async () => {\n const response = await BusinessDetailsService.getMerchantBusinessTypeAndBankStatus(\n globalState.merchant?.id\n );\n if (response.isSuccesfully) {\n setIsVerifiedBank(\n (response.data.isBankAccountVerified && response.data.isAccountVerified) ||\n response.data.allowWithdrawals\n );\n } else {\n setIsVerifiedBank(false);\n }\n };\n\n if (globalState.merchant?.id) {\n getBankStatus();\n }\n }, [globalState.merchant]);\n\n function paymentActionValidation() {\n const validationMessage = validatePaymentAmount(availableBalance, amount);\n setShowActionError(!validationMessage.isValid);\n return validationMessage.message;\n }\n const [cantWithdraw, setCantWithdraw] = useState(false);\n const [cantWithdrawMessage, setCantWithdrawMessage] = useState('');\n\n const renderPopup = () => {\n switch (paymentType) {\n case PaymentType.ChargeBack:\n //Add the ChargeBack popup\n break;\n case PaymentType.InternalTransfer:\n return (\n \n );\n case PaymentType.MerchantCharges:\n //Add the Merchant Charges popup\n break;\n case PaymentType.Withdrawal:\n return (\n \n );\n default:\n break;\n }\n };\n\n const onBtnClick = async () => {\n if (isVerifiedBank) {\n const response = await BusinessDetailsService.getMerchantBusinessTypeAndBankStatus(\n globalState.merchant?.id\n );\n if (response.isSuccesfully) {\n const cantWithDrawValidationResult = validateWithdraw(\n response.data.isAccountVerified,\n response.data.isBankAccountVerified,\n response.data.allowWithdrawals\n );\n if (!cantWithDrawValidationResult.isValid) {\n setCantWithdrawMessage(cantWithDrawValidationResult.message);\n setCantWithdraw(true);\n } else {\n setShow(true);\n }\n } else {\n setCantWithdrawMessage('An error occurred. Please contact support or try again later.');\n setCantWithdraw(true);\n }\n } else {\n setRoute('/upload-documents');\n }\n };\n\n return (\n \n );\n}\n\nPaymentAction.propTypes = {\n show: PropTypes.bool,\n setShow: PropTypes.func,\n paymentType: PropTypes.number\n};\n\nexport default PaymentAction;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Dialog, MenuItem, Checkbox, ListItemText, makeStyles } from '@material-ui/core';\nimport styles from './modal-acquirer-filter.module.scss';\n\nconst useStyles = makeStyles({\n dialog: {\n position: 'absolute',\n right: 190,\n top: 120\n }\n});\n\nfunction ModalAcquirerFilterComponent(props) {\n const { setAcquirerFilter, acquirerFilter, acquirerName, acquirer, handleAcquirerChange } = props;\n const classes = useStyles();\n\n return (\n setAcquirerFilter(false)}\n aria-labelledby=\"customized-dialog-title\"\n open={acquirerFilter}\n classes={{\n paper: classes.dialog\n }}\n BackdropProps={{ style: { backgroundColor: 'transparent' } }}\n >\n {acquirerName?.map((name) => (\n handleAcquirerChange(name, e)}\n >\n -1} size=\"small\" color=\"primary\" />\n {name}\n \n ))}\n \n );\n}\n\nModalAcquirerFilterComponent.propTypes = {\n show: PropTypes.bool,\n setShow: PropTypes.func,\n onSubmit: PropTypes.func,\n children: PropTypes.string\n};\n\nexport default ModalAcquirerFilterComponent;\n","import React from 'react';\nimport ModalAcquirerFilterComponent from './modal-acquirer-filter.component';\n\nfunction ModalAcquirerFilter(props) {\n return ;\n}\n\nexport default ModalAcquirerFilter;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { makeStyles } from '@material-ui/core/styles';\nimport { Popover, Button, Typography, Box } from '@material-ui/core';\nimport FilterListIcon from '@material-ui/icons/FilterList';\nimport styles from './payments-filter.module.scss';\n\nimport { ProductRequirme } from '../../models';\nconst useStyles = makeStyles((theme) => ({\n popover: {\n marginTop: '10px'\n },\n typography: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n margin: 'auto',\n fontWeight: '500'\n },\n button: {\n margin: theme.spacing(1),\n textTransform: 'none'\n }\n}));\n\nexport default function PaymentsFilterComponent(props) {\n const classes = useStyles();\n const { anchorEl, setAnchorEl, channelFilter, setChannelFilter } = props;\n\n return (\n
\n }\n onClick={(event) => setAnchorEl(event.currentTarget)}\n >\n Filter\n \n setAnchorEl(null)}\n anchorOrigin={{\n vertical: 'bottom',\n horizontal: 'right'\n }}\n transformOrigin={{\n vertical: 'top',\n horizontal: 'right'\n }}\n className={classes.popover}\n >\n
\n {\n setChannelFilter('All');\n setAnchorEl(null);\n }}\n >\n Clear\n \n Filter\n setAnchorEl(null)}\n >\n Done\n \n
\n\n
\n \n
Channel :  
\n \n
\n
\n \n
\n );\n}\n\nPaymentsFilterComponent.propTypes = {\n anchorEl: PropTypes.string,\n setAnchorEl: PropTypes.func.isRequired,\n channelFilter: PropTypes.string.isRequired,\n setChannelFilter: PropTypes.func.isRequired\n};\n","import React from 'react';\n\nimport PaymentsFilterComponent from './payments-filter.component';\n\nexport default function PaymentsFilter(props) {\n const [anchorEl, setAnchorEl] = React.useState(null);\n return ;\n}\n","export const days = [\n { day: '--Please select--', value: '-1' },\n { day: 'Monday', value: '0' },\n { day: 'Tuesday', value: '1' },\n { day: 'Wednesday', value: '2' },\n { day: 'Thursday', value: '3' },\n { day: 'Friday', value: '4' }\n];\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n Button,\n Box,\n Dialog,\n DialogActions,\n DialogTitle,\n DialogContent,\n FormControl,\n // RadioGroup,\n // Radio,\n // FormControlLabel,\n MenuItem,\n TextField,\n Select\n} from '@material-ui/core';\nimport { LoadingScreen } from 'components';\nimport { days } from 'utils/enums/Days';\nimport styles from './modal-export-report-schedule.module.scss';\nimport { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs';\nimport { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider';\nimport { MobileDatePicker } from '@mui/x-date-pickers/MobileDatePicker';\nconst ModalExportReportScheduleComponent = (props) => {\n const {\n loading,\n timeFrame,\n handleTimeFrameChange,\n weeklyScheduleDay,\n setWeeklyScheduleDay,\n monthlyScheduleDay,\n setMonthlyScheduleDay,\n customScheduleFromDay,\n setCustomScheduleFromDay,\n customScheduleToDay,\n setCustomScheduleToDay,\n customScheduleOnDay,\n setCustomScheduleOnDay,\n handleClose,\n disableExportBtn,\n // downloadFormat,\n // handleDownloadFormat,\n schedulePaymentsExport,\n datesArray\n } = props;\n\n return (\n \n \n
\n \n\n \n Schedule Export transactions\n \n\n \n

Frequency

\n \n \n Weekly\n Monthly\n Custom\n \n \n
\n {timeFrame === 'Weekly' && (\n \n

Every

\n {\n setWeeklyScheduleDay(event.target.value);\n }}\n className={styles.dialogContentTextFieldWeekly}\n size=\"small\"\n >\n {days.map((day) => (\n {day.day}\n ))}\n \n
\n )}\n {timeFrame === 'Monthly' && (\n \n

Every

\n {\n setMonthlyScheduleDay(event.target.value);\n }}\n className={styles.dialogContentTextFieldWeekly}\n size=\"small\"\n >\n {datesArray.map((date) => (\n {date}\n ))}\n \n
\n )}\n\n {timeFrame === 'Custom' && (\n <>\n \n
\n

From

\n \n {\n setCustomScheduleFromDay(newValue['$d']);\n }}\n renderInput={(params) => (\n \n )}\n />\n \n
\n
\n

To

\n \n {\n setCustomScheduleToDay(newValue['$d']);\n }}\n minDate={customScheduleFromDay}\n renderInput={(params) => (\n \n )}\n />\n \n
\n
\n \n
\n

On

\n \n {\n setCustomScheduleOnDay(newValue['$d']);\n }}\n minDate={customScheduleToDay}\n renderInput={(params) => (\n \n )}\n />\n \n
\n
\n \n )}\n {/* \n

Format

\n \n } label=\"CSV\" />\n } label=\"PDF\" />\n \n
*/}\n\n \n \n {\n schedulePaymentsExport();\n }}\n color=\"primary\"\n className={styles.dialogbtn}\n disabled={disableExportBtn}\n >\n Export\n \n \n
\n \n
\n );\n};\n\nexport default ModalExportReportScheduleComponent;\n\nModalExportReportScheduleComponent.propTypes = {\n loading: PropTypes.bool,\n intervalStart: PropTypes.string,\n intervalEnd: PropTypes.string,\n download: PropTypes.bool,\n buttonDisabled: PropTypes.bool,\n reportData: PropTypes.object,\n error: PropTypes.bool,\n longRun: PropTypes.bool,\n onRetryStripeReport: PropTypes.func,\n stripeReportId: PropTypes.string,\n reportType: PropTypes.string,\n companyAddress: PropTypes.string\n};\n","import React, { useState, useEffect } from 'react';\nimport ModalExportReportScheduleComponent from './modal-export-report-schedule.component.jsx';\nimport { PaymentsService } from 'services';\nimport moment from 'moment';\n\nconst ModalExportScheduleReport = (props) => {\n const {\n reportType,\n setShowReportModel,\n showReportModel,\n setShowReportScheduleModel,\n scheduleExportSnackBar,\n setScheduleExportSnackBar\n } = props;\n const [loading, setLoading] = useState(false);\n\n const [timeFrame, setTimeFrame] = useState('Weekly');\n const [weeklyScheduleDay, setWeeklyScheduleDay] = useState(-1);\n const [weeklyScheduleTime, setWeeklyScheduleTime] = useState('-');\n const [monthlyScheduleDay, setMonthlyScheduleDay] = useState('--Please select--');\n const [monthlyScheduleTime, setMonthlyScheduleTime] = useState('-');\n const [customScheduleFromDay, setCustomScheduleFromDay] = useState('-');\n const [customScheduleToDay, setCustomScheduleToDay] = useState('-');\n const [customScheduleOnDay, setCustomScheduleOnDay] = useState('-');\n const [customScheduleTime, setCustomScheduleTime] = useState('-');\n const [disableExportBtn, setDisableExportBtn] = useState(true);\n const [downloadFormat, setDownloadFormat] = useState('CSV');\n const handleClose = () => {\n setShowReportScheduleModel(false);\n };\n const handleDownloadFormat = (event) => {\n setDownloadFormat(event.target.value);\n };\n const handleTimeFrameChange = (event) => {\n setTimeFrame(event.target.value);\n };\n useEffect(() => {\n if (timeFrame === 'Weekly') {\n if (weeklyScheduleDay === -1 || weeklyScheduleDay === '-1' || downloadFormat === '-') {\n setDisableExportBtn(true);\n } else {\n setDisableExportBtn(false);\n }\n } else if (timeFrame === 'Monthly') {\n if (monthlyScheduleDay === '--Please select--' || downloadFormat === '-') {\n setDisableExportBtn(true);\n } else {\n setDisableExportBtn(false);\n }\n } else if (timeFrame === 'Custom') {\n if (\n customScheduleFromDay === '-' ||\n customScheduleToDay === '-' ||\n customScheduleOnDay === '-' ||\n downloadFormat === '-'\n ) {\n setDisableExportBtn(true);\n } else {\n setDisableExportBtn(false);\n }\n }\n if (timeFrame === 'Custom') {\n if (\n customScheduleFromDay > customScheduleOnDay ||\n customScheduleToDay > customScheduleOnDay ||\n customScheduleFromDay > customScheduleToDay\n ) {\n setDisableExportBtn(true);\n }\n }\n // eslint-disable-next-line\n }, [\n timeFrame,\n weeklyScheduleDay,\n downloadFormat,\n monthlyScheduleDay,\n customScheduleFromDay,\n customScheduleToDay,\n customScheduleOnDay\n ]);\n\n const schedulePaymentsExport = async () => {\n let payload = {};\n if (timeFrame === 'Custom') {\n payload = {\n schedule_date: moment(customScheduleOnDay).format('YYYY-MM-DD'),\n from_date: moment(customScheduleFromDay).format('YYYY-MM-DD'),\n to_date: moment(customScheduleToDay).format('YYYY-MM-DD'),\n report_type: downloadFormat,\n schedule_by: timeFrame.toUpperCase()\n };\n } else {\n payload = {\n schedule_day: timeFrame === 'Weekly' ? weeklyScheduleDay.toString() : monthlyScheduleDay.toString(),\n report_type: downloadFormat,\n schedule_by: timeFrame.toUpperCase()\n };\n }\n setLoading(true);\n const response = await PaymentsService.schedulePaymentsExport(payload);\n if (response.isSuccesfully) {\n setScheduleExportSnackBar({ open: true, message: 'Your export has been scheduled', type: 'success' });\n } else {\n setScheduleExportSnackBar({ open: true, message: 'Your export has not been scheduled', type: 'error' });\n }\n setLoading(false);\n setShowReportScheduleModel(false);\n };\n let datesArray = [];\n for (var i = 0; i < 32; i++) {\n if (i === 0) {\n datesArray.push('--Please select--');\n } else if (i !== 0 && i !== 31) {\n datesArray.push(i);\n } else {\n datesArray.push('LAST DAY');\n }\n }\n\n return (\n \n );\n};\n\nexport default ModalExportScheduleReport;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n Button,\n Dialog,\n DialogActions,\n DialogTitle,\n DialogContent,\n FormControl,\n FormControlLabel,\n MenuItem,\n TextField,\n Select,\n Checkbox\n} from '@material-ui/core';\nimport { LoadingScreen, DatePicker } from 'components';\nimport styles from './modal-send-report.module.scss';\nimport { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs';\nimport { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider';\n\nimport { MobileDatePicker } from '@mui/x-date-pickers/MobileDatePicker';\n\nimport moment from 'moment';\nconst ModalSendReportComp = (props) => {\n const {\n loading,\n timeFrame,\n handleTimeFrameChange,\n fromDate,\n setFromDate,\n toDate,\n setToDate,\n handleClose,\n disable,\n onSend,\n showCharges,\n setShowCharges,\n\n sendReportModal\n } = props;\n\n return (\n \n \n \n\n \n Export report transactions\n \n \n <>\n
\n

Email Statements will be sent within an hour.

\n {/*

\n {' '}\n Select one of the options below and proceed to prepare your statement\n

*/}\n {/* hiding pdf and csv option as of now */}\n {/* {false && (\n
\n Format\n setIsCsv(e.target.value)}\n >\n }\n label=\"CSV\"\n />\n }\n label=\"PDF\"\n />\n \n
\n )} */}\n
\n \n
\n

Filter

\n \n \n Annual\n Custom\n \n \n
\n\n
\n newValue && setFromDate(newValue['$d'])}\n placeholder={moment(new Date()).format('D MMM YYYY')}\n minDate={timeFrame === 'custom' ? null : undefined}\n maxDate={timeFrame === 'custom' ? toDate ?? new Date() : new Date()}\n disabled={timeFrame === 'year'}\n styleClass={timeFrame === 'custom' ? 'blackClass' : 'defaultClass'}\n />\n newValue && setToDate(newValue['$d'])}\n placeholder={moment(new Date()).format('D MMM YYYY')}\n minDate={timeFrame === 'custom' ? fromDate : fromDate}\n maxDate={new Date()}\n disabled={timeFrame === 'year'}\n styleClass={timeFrame === 'custom' ? 'blackClass' : 'defaultClass'}\n />\n
\n\n {/*}*/}\n {/* label=\"Include service fee\"*/}\n {/*/>*/}\n {/* Commenting above code as per DN-11154*/}\n
\n \n \n {\n onSend();\n }}\n color=\"primary\"\n disabled={disable}\n className={styles.dialogbtn}\n >\n Send\n \n \n \n
\n );\n};\nModalSendReportComp.propTypes = {\n loading: PropTypes.bool,\n timeFrame: PropTypes.string,\n handleTimeFrameChange: PropTypes.func,\n setFromDate: PropTypes.func,\n setToDate: PropTypes.func,\n handleClose: PropTypes.func,\n disable: PropTypes.bool,\n onSend: PropTypes.func,\n showCharges: PropTypes.bool,\n setShowCharges: PropTypes.func,\n sendReportModal: PropTypes.bool\n};\nexport default ModalSendReportComp;\n","import React, { useState, useEffect } from 'react';\nimport ModalSendReportComp from './modal-send-report.component';\nimport PaymentsService from 'services/payments.service';\nimport moment from 'moment';\nimport { useGlobalStateContext } from 'contexts';\n\nconst ModalSendReport = (props) => {\n const {\n reportType,\n\n sendReportModal,\n setSendReportModal,\n scheduleExportSnackBar,\n setScheduleExportSnackBar,\n setExportSnackBar\n } = props;\n const [loading, setLoading] = useState(false);\n const [showCharges, setShowCharges] = useState(true);\n const [timeFrame, setTimeFrame] = useState('year');\n const [fromDate, setFromDate] = useState(moment().startOf('year').format('YYYY-MM-DD'));\n const [toDate, setToDate] = useState(moment().format('YYYY-MM-DD'));\n const [disable, setDisable] = useState(false);\n\n const { globalState } = useGlobalStateContext();\n const handleClose = () => {\n setSendReportModal(false);\n };\n\n const handleTimeFrameChange = (event) => {\n setTimeFrame(event.target.value);\n };\n\n useEffect(() => {\n if (timeFrame === 'custom') {\n const isCustomDateValid = fromDate && toDate && fromDate <= toDate;\n setDisable(!isCustomDateValid);\n }\n }, [fromDate, toDate]);\n\n useEffect(() => {\n const isYear = timeFrame === 'year';\n setFromDate(isYear ? moment().startOf('year').format('YYYY-MM-DD') : null);\n setToDate(isYear ? moment().format('YYYY-MM-DD') : null);\n setDisable(timeFrame !== 'year' && timeFrame !== 'custom');\n }, [timeFrame]);\n\n const onSend = async () => {\n let paymentFrom;\n let paymentTo;\n let transactionsRequest = {\n merchant_id: globalState?.merchant?.id.toString()\n };\n\n if (timeFrame === 'custom' || timeFrame === 'year') {\n transactionsRequest = {\n ...transactionsRequest,\n from_date: moment(fromDate).format('YYYY-MM-DD'),\n to_date: moment(toDate).format('YYYY-MM-DD')\n };\n }\n setLoading(true);\n const response = await PaymentsService.exportInCSV(globalState?.merchant?.id, transactionsRequest);\n if (response.isSuccesfully) {\n setExportSnackBar({ open: true, type: 'success', message: response.data?.message });\n } else {\n setExportSnackBar({ open: true, type: 'error', message: response.data?.message });\n }\n\n setLoading(false);\n handleClose();\n };\n\n return (\n \n );\n // return ;\n};\n\nexport default ModalSendReport;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Typography, MenuItem, Button, Box, useMediaQuery, Select, Tooltip, FormControl } from '@material-ui/core';\nimport ModalAcquirerFilter from 'components/modal-acquirer-filter/modal-acquirer-filter.container';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\n\nimport { makeStyles } from '@material-ui/core/styles';\nimport PaymentsFilter from '../payments-filter/payments-filter.container';\nimport styles from './page-header.module.scss';\nimport { useGlobalStateContext } from 'contexts';\nimport { getCurrencySymbol } from 'utils/getCurrencyByCountry';\nimport { UserType } from 'utils/enums/UserType';\nimport { ModalExportReport, SnackBarAndAlert } from 'components';\nimport ModalExportScheduleReport from 'components/modal-export-report-schedule/modal-export-report-schedule.container';\nimport { ResellerType } from 'utils/enums/ResellerType';\nimport { AcquirersToAcquirerName } from 'utils/enums/Acquirers';\nimport { cleverTapClick } from 'utils/helper';\nimport FilterAltIcon from '@mui/icons-material/FilterAlt';\nimport FilterAltOutlinedIcon from '@mui/icons-material/FilterAltOutlined';\nimport CallMadeIcon from '@material-ui/icons/CallMade';\nimport ModalSendReport from 'components/modal-send-report/modal-send-report.container';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\n\nconst useStyles = makeStyles((theme) => ({\n select: {\n position: 'relative',\n zIndex: 1,\n top: '7px',\n '&:before': {\n borderBottom: 'none'\n },\n '&:after': {\n borderBottom: 'none',\n backgroundColor: '#fff'\n },\n '&:hover:not(.Mui-disabled):not(.Mui-focused):not(.Mui-error):before': {\n borderBottom: 'none'\n },\n '&:focus': {\n borderBottom: 'none',\n backgroundColor: '#fff !important'\n }\n },\n input: {\n color: '#8783b5',\n fontSize: '12px !important',\n fontWeight: '500',\n backgroundColor: '#fff',\n '&:focus': {\n borderBottom: 'none',\n backgroundColor: '#fff !important'\n }\n },\n selectInput: {\n color: 'transparent !important',\n fontSize: '12px !important',\n fontWeight: '500',\n '&:focus': {\n borderBottom: 'none'\n }\n },\n exportButton: {\n margin: theme.spacing(1),\n textTransform: 'none'\n }\n}));\nconst PageHeaderComponent = (props) => {\n const { globalState } = useGlobalStateContext();\n const classes = useStyles();\n const {\n via,\n date,\n setVia,\n path,\n showFilterButton,\n setChannelFilter,\n channelFilter,\n setShowReportModel,\n showReportModel,\n onCancelExport,\n onConfirmExport,\n setOffrange,\n locationInApp,\n onAcquirerChange,\n acquirer,\n setSelectedProvider,\n selectedProvider,\n payoutAcquireFilter,\n startDate,\n endDate,\n callClevertap,\n daysRange,\n setDaysRange,\n handleMerchantModal,\n handleAcquirerChange,\n acquirerName,\n handleClearFilter,\n acquirerFilter,\n setAcquirerFilter,\n onCancelScheduleExport,\n onConfirmScheduleExport,\n handleBtnChange,\n showExportScheduleButton,\n setShowReportScheduleModel,\n showReportScheduleModel,\n exportSnackBar,\n setExportSnackBar,\n btn,\n sendReportModal,\n setSendReportModal,\n cutoffdateForExportBreached\n } = props;\n let showExportButton = globalState.merchant?.isStripe\n ? (path === 'payments' ||\n path === 'payouts' ||\n path === 'gfo-payments' ||\n path === 'pdq-transactions' ||\n path === 'merchant-charges' ||\n path === 'chargebacks' ||\n path === 'internal-transfers') &&\n locationInApp !== 'merchant-details'\n : (path === 'pdq-transactions' ||\n path === 'merchant-charges' ||\n path === 'payouts' ||\n path === 'gfo-payments' ||\n path === 'chargebacks' ||\n path === 'internal-transfers' ||\n path === 'payments') &&\n locationInApp !== 'merchant-details';\n let showMerchantChargesButton = path === 'merchant-charges';\n const isAdmin =\n globalState.user?.UserType?.name === UserType.Admin || globalState.user?.UserType?.name === UserType.SuperAdmin;\n const isSuperAdmin = globalState.user?.UserType?.name === UserType.SuperAdmin;\n const isDatmanReseller = globalState.reseller?.name === ResellerType.DATMAN;\n const showWeekly = props.title !== 'Merchant Charges' && props.title !== 'list refunds';\n const showYearly = props.title === 'Merchant Charges';\n const showDaily = props.title !== 'Merchant Charges';\n const mediaLessThan640px = useMediaQuery('(max-width:640px)');\n const showScheduleExportDropdown = isDatmanReseller;\n const showScheduleExportButton =\n isDatmanReseller && (globalState.merchant?.country === MerchantCountries.NEW_ZEALAND || isAdmin);\n const isMerchantAccountClosed = globalState.merchant?.status === MerchantStatus.CLOSED;\n return (\n \n
\n \n

{props.title}

\n
\n
\n \n {showFilterButton && (\n \n )}\n\n
\n {onAcquirerChange && isAdmin && isDatmanReseller && (\n <>\n {acquirer?.length !== 0 && acquirer?.length !== acquirerName?.length && (\n
\n \n clear filter\n \n
\n )}\n\n
\n \n {acquirer?.length !== 0 ? (\n setAcquirerFilter(true)}\n style={{ color: '#005896' }}\n />\n ) : (\n setAcquirerFilter(true)}\n style={{ color: '#005896' }}\n />\n )}\n \n
\n \n )}\n \n {payoutAcquireFilter && isAdmin && (\n
\n {\n setSelectedProvider(e.target.value);\n sessionStorage.setItem('selectedProvider', e.target.value);\n }}\n inputProps={{\n className: classes.input\n }}\n >\n {Object.keys(AcquirersToAcquirerName).map((acquirer) => (\n \n {AcquirersToAcquirerName[acquirer]}\n \n ))}\n \n
\n )}\n {via && path !== 'list-chargebacks' && path !== 'refund-list' && (\n
\n {\n setVia(e.target.value);\n setOffrange(false);\n callClevertap(e.target.value);\n if (setDaysRange) setDaysRange({});\n }}\n inputProps={{\n className: classes.input\n }}\n >\n {showDaily && Daily}\n {showWeekly && Weekly}\n Monthly\n {showYearly && Yearly}\n \n
\n )}\n
\n {path === 'internal-transfers' && (\n
\n Total pending:\n {getCurrencySymbol(globalState.merchant?.country)}\n {props.totalPendingInternalTransfersAmount.toFixed(2)}\n
\n )}\n {showMerchantChargesButton && isSuperAdmin && !mediaLessThan640px && (\n \n \n + Merchant Charges\n \n \n )}\n\n {showScheduleExportDropdown && path === 'payments' ? (\n \n \n \n \n \n Export View\n \n {\n const data = {\n date_start: startDate,\n date_end: endDate,\n time_stamp: new Date(),\n type_of_payment: path\n };\n cleverTapClick('Report_export_click', globalState, data);\n\n setShowReportModel(true);\n }}\n disabled={cutoffdateForExportBreached(startDate, endDate)}\n >\n Export Now\n \n {\n setSendReportModal(true);\n }}\n disabled={isMerchantAccountClosed}\n >\n Send Report\n \n {showScheduleExportButton && (\n {\n setShowReportScheduleModel(true);\n }}\n disabled={isMerchantAccountClosed}\n >\n Schedule Export\n \n )}\n \n \n \n ) : showExportButton ? (\n \n {\n const data = {\n date_start: startDate,\n date_end: endDate,\n time_stamp: new Date(),\n type_of_payment: path\n };\n cleverTapClick('Report_export_click', globalState, data);\n\n setShowReportModel(true);\n }}\n disabled={cutoffdateForExportBreached(startDate, endDate)}\n >\n Export\n \n \n ) : null}\n \n\n {showMerchantChargesButton && isSuperAdmin && mediaLessThan640px && (\n \n \n + Merchant Charge\n \n \n )}\n {showExportScheduleButton && (\n \n {\n setShowReportScheduleModel(true);\n }}\n >\n \n \n \n )}\n\n {showReportModel && (\n \n )}\n\n {showReportScheduleModel ? (\n \n ) : null}\n {sendReportModal && (\n \n )}\n {exportSnackBar.message && (\n setExportSnackBar({ open: false, type: '', message: '' })}\n >\n {exportSnackBar.message}\n \n )}\n \n );\n};\nexport default PageHeaderComponent;\nPageHeaderComponent.propTypes = {\n via: PropTypes.string,\n date: PropTypes.string,\n setVia: PropTypes.func,\n onChangeDateRange: PropTypes.func,\n path: PropTypes.string.isRequired,\n showFilterButton: PropTypes.bool,\n channelFilter: PropTypes.string,\n setChannelFilter: PropTypes.func,\n totalPendingInternalTransfersAmount: PropTypes.number,\n title: PropTypes.string,\n setOffrange: PropTypes.func,\n onAcquirerChange: PropTypes.func\n};\n","import React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport PageHeaderComponent from './page-header.component';\nimport { useGlobalStateContext } from 'contexts';\nimport { cleverTapClick } from 'utils/helper';\nimport moment from 'moment';\nimport { dateRangeArchived } from 'utils/calender-helpers.js';\nconst PageHeader = (props) => {\n const [showReportModel, setShowReportModel] = useState(false);\n const [acquirerFilter, setAcquirerFilter] = useState(false);\n const [exportSnackBar, setExportSnackBar] = useState({ open: false, message: '', type: '' });\n const [showReportScheduleModel, setShowReportScheduleModel] = useState(false);\n const [sendReportModal, setSendReportModal] = useState(false);\n const [btn, setBtn] = React.useState('export-view');\n\n const { setRoute, globalState } = useGlobalStateContext();\n const {\n path,\n date,\n onChangeDateRange,\n onAcquirerChange,\n setOffrange = () => {},\n transactionListingOptions,\n setTransactionsListingOptions,\n locationInApp,\n setSelectedProvider,\n selectedProvider,\n payoutAcquireFilter,\n daysRange,\n setDaysRange,\n openMerchantModal,\n setOpenMerchantModal,\n selectedAcquirer\n } = props;\n const [via, setVia] = useState(props.via);\n const acquirerName = globalState?.merchant.paymentProviders;\n\n const handleAcquirerChange = (name) => {\n let prevSelectedAcquirers = [...selectedAcquirer];\n let selectedAcquirers = [...selectedAcquirer];\n let notSelectedAcquirers = [...acquirerName.filter((acquirer) => !prevSelectedAcquirers.includes(acquirer))];\n\n if (notSelectedAcquirers.includes(name)) {\n if (name === 'SELECT ALL') {\n selectedAcquirers = [...acquirerName];\n } else {\n selectedAcquirers = [...selectedAcquirers, name];\n if (selectedAcquirers.length === acquirerName.length - 1) {\n selectedAcquirers = [...selectedAcquirers, 'SELECT ALL'];\n }\n }\n } else {\n if (name === 'SELECT ALL') {\n selectedAcquirers = [];\n } else {\n const remainingAcquirer = prevSelectedAcquirers.filter(\n (acquirer) => !['SELECT ALL', name].includes(acquirer)\n );\n selectedAcquirers = [...remainingAcquirer];\n }\n }\n\n onAcquirerChange(selectedAcquirers);\n sessionStorage.setItem('selectedAcquirer', JSON.stringify(selectedAcquirers));\n };\n const handleClearFilter = (event) => {\n onAcquirerChange(acquirerName);\n sessionStorage.setItem('selectedAcquirer', JSON.stringify([]));\n };\n const handleBtnChange = (event) => {\n setBtn(event.target.value);\n };\n\n useEffect(() => {\n if (locationInApp === 'merchant-details') {\n setTransactionsListingOptions({ ...transactionListingOptions, date: date, via: via });\n return;\n }\n\n switch (via) {\n case 'all':\n setRoute(`/${path}/all/${date}`);\n break;\n case 'day':\n setRoute(`/${path}/day/${date}`);\n break;\n case 'week':\n setRoute(`/${path}/week/${date}`);\n break;\n case 'year':\n setRoute(`/${path}/year/${date}`);\n break;\n default:\n setRoute(`/${path}/month/${date}`);\n }\n }, [via, path, date, setRoute, transactionListingOptions, setTransactionsListingOptions, locationInApp]);\n\n const onCancelExport = () => {\n setShowReportModel(false);\n };\n const onConfirmExport = () => {\n setShowReportModel(false);\n };\n const handleMerchantModal = () => {\n setOpenMerchantModal(true);\n };\n const onCancelScheduleExport = () => {\n setShowReportScheduleModel(false);\n };\n const onConfirmScheduleExport = () => {\n setShowReportScheduleModel(false);\n };\n\n const callClevertap = (via) => {\n let dateStart;\n let dateEnd;\n switch (via) {\n case 'week':\n dateStart = moment(date).startOf('week').format('DD-MM-YYYY');\n dateEnd = moment(date).endOf('week').format('DD-MM-YYYY');\n break;\n case 'month':\n dateStart = moment(date).startOf('month').format('DD-MM-YYYY');\n dateEnd = moment(date).endOf('month').format('DD-MM-YYYY');\n break;\n default:\n dateStart = moment(date).format('DD-MM-YYYY');\n dateEnd = moment(date).format('DD-MM-YYYY');\n }\n const data = { date_start: dateStart, date_end: dateEnd, Interval: via, type_of_payment: path };\n\n cleverTapClick('Txn_range_click', globalState, data);\n };\n\n const cutoffdateForExportBreached = (startDate, endDate) => {\n return dateRangeArchived(\n moment(startDate, 'DD-MM-YYYY').format('YYYY-MM-DD'),\n moment(endDate, 'DD-MM-YYYY').format('YYYY-MM-DD')\n );\n };\n\n return (\n \n );\n};\n\nexport default PageHeader;\n\nPageHeader.propTypes = {\n path: PropTypes.string.isRequired,\n date: PropTypes.string.isRequired,\n setOffrange: PropTypes.func,\n locationInApp: PropTypes.string,\n onAcquirerChange: PropTypes.func,\n setOpenMerchantModal: PropTypes.func\n};\n","import React from 'react';\nimport { Typography, Grid, Divider, makeStyles } from '@material-ui/core';\nimport styles from './page-footer.module.scss';\n\nconst useStyles = makeStyles({\n subtitle2: {\n '&.MuiTypography-subtitle2': {\n 'font-size': '10px !important'\n }\n }\n});\n\nconst PageFooterComponent = (props) => {\n const classes = useStyles();\n return (\n \n \n \n \n \n MyPay\n \n \n   Wycliffe HouseWater Ln, Wilmslow SK9 5AF     Telephone +44 (0) 303 123 1113 or\n email: https://ico.org.uk/global/contact-us/email\n \n \n \n \n Copyright MyPay 2020\n \n \n \n \n );\n};\n\nexport default PageFooterComponent;\n","import React from 'react';\nimport { Button } from '@material-ui/core';\nimport NavigateNextIcon from '@material-ui/icons/NavigateNext';\nimport NavigateBeforeIcon from '@material-ui/icons/NavigateBefore';\nimport style from './calender-shuffle.module.scss';\nimport { useGlobalStateContext } from 'contexts';\nimport RangePicker from 'react-range-picker';\nimport Grid from '@material-ui/core/Grid';\nimport DateRangeOutlinedIcon from '@material-ui/icons/DateRangeOutlined';\nimport PropTypes from 'prop-types';\nimport { blue } from '@material-ui/core/colors';\nimport moment from 'moment';\n\nconst CalendarComponent = (props) => {\n const { setRoute } = useGlobalStateContext();\n const {\n next,\n previous,\n range,\n onChangeDateRange,\n showRangePicker,\n setOffrange,\n locationInApp,\n offrange,\n transactionsListingOptions,\n setTransactionsListingOptions,\n loading,\n handleCleverClick,\n nextPerviousHideButton = false,\n daysRange,\n setDaysRange,\n path\n } = props;\n const placeholder = ({ startDate, endDate }) => {\n if ((!startDate, !endDate)) {\n return (\n
\n \n \n
\n {range}\n
\n
\n \n \n \n
\n
\n );\n } else {\n return (\n
\n \n \n {offrange ? (\n
\n \n {startDate.toLocaleDateString('en-GB', {\n year: '2-digit',\n month: 'short',\n day: '2-digit'\n })}\n \n \n  {'-'} \n \n {endDate.toLocaleDateString('en-GB', {\n year: '2-digit',\n month: 'short',\n day: '2-digit'\n })}\n \n \n
\n ) : (\n
\n {range}\n
\n )}\n
\n \n \n \n
\n
\n );\n }\n };\n\n return (\n \n
\n {!nextPerviousHideButton ? (\n
\n }\n disabled={loading}\n onClick={() => {\n if (locationInApp === 'merchant-details') {\n setTransactionsListingOptions({\n ...transactionsListingOptions,\n date: previous.substr(previous.lastIndexOf('/') + 1)\n });\n } else {\n setRoute(previous);\n }\n handleCleverClick('Prev_nav_click');\n\n setOffrange(false);\n if (setDaysRange) setDaysRange({});\n }}\n >\n Prev\n \n
\n ) : null}\n {showRangePicker ? (\n
\n {\n if (path === 'refund-list' || path === 'list-chargebacks') {\n let date = moment(startDate).format('YYYY-MM-DD');\n setRoute(`/${path}/day/${date}`);\n }\n if (startDate && endDate) {\n onChangeDateRange(startDate, endDate);\n setDaysRange({\n ...daysRange,\n startDate: startDate,\n endDate: endDate\n });\n } else {\n if (path === 'refund-list') {\n let date = moment(startDate).format('YYYY-MM-DD');\n setRoute(`/${path}/day/${date}`);\n }\n }\n }}\n closeOnSelect\n />\n
\n ) : (\n
\n {range}\n
\n )}\n {!nextPerviousHideButton ? (\n
\n }\n onClick={() => {\n if (locationInApp === 'merchant-details') {\n setTransactionsListingOptions({\n ...transactionsListingOptions,\n date: next.substr(next.lastIndexOf('/') + 1)\n });\n } else {\n setRoute(next);\n }\n handleCleverClick('Next_nav_click');\n setOffrange(false);\n if (setDaysRange) setDaysRange({});\n }}\n >\n Next\n \n
\n ) : null}\n
\n\n
\n
\n );\n};\n\nexport default CalendarComponent;\n\nCalendarComponent.propTypes = {\n onChangeDateRange: PropTypes.func,\n showRangePicker: PropTypes.bool,\n path: PropTypes.string.isRequired,\n setOffrange: PropTypes.func,\n offrange: PropTypes.bool,\n setDaysRange: PropTypes.func\n};\n","import React, { useEffect, useState } from 'react';\nimport moment from 'moment';\nimport { getDateRangeOfWeek } from '../../utils/helper';\nimport PropTypes from 'prop-types';\nimport { useGlobalStateContext } from 'contexts';\nimport CalenderComponent from './calender-shuffle.component';\nimport { cleverTapClick } from '../../utils/helper';\nconst Calendar = (props) => {\n const {\n path,\n range,\n date,\n current,\n onChangeDateRange,\n locationInApp,\n daterange,\n offrange,\n setOffrange = () => {},\n transactionsListingOptions,\n setTransactionsListingOptions,\n loading,\n setStartDate,\n setEndDate,\n startDate,\n endDate,\n setDaysRange,\n nextPerviousHideButton,\n onChangeDate\n } = props;\n // const [via, setVia] = useState(props.via);\n const { globalState } = useGlobalStateContext();\n\n const [stateUrls, setStateUrls] = useState({});\n const [showRangePicker, setShowRangePicker] = useState(false);\n useEffect(() => {\n const urls = {\n next: `/${path}/${range}/`,\n previous: `/${path}/${range}/`,\n range: date\n };\n if (\n path === 'payments' ||\n path === 'gfo-payments' ||\n path === 'list-chargebacks' ||\n path === 'pending-bank-verification-list' ||\n path === 'pending-account-verification'\n ) {\n setShowRangePicker(true);\n }\n if (path === 'refund-list') {\n setShowRangePicker(range === 'day');\n }\n switch (range) {\n case 'day': {\n urls.range = moment(date).format('DD MMM YY');\n urls.previous += moment(date).subtract(1, 'day').format('YYYY-MM-DD');\n urls.next += moment(date).add(1, 'day').format('YYYY-MM-DD');\n if (path === 'payments' || path === 'pdq-transactions') {\n setStartDate(moment(date).format('DD-MM-YYYY'));\n setEndDate(moment(date).format('DD-MM-YYYY'));\n }\n break;\n }\n case 'week': {\n const isoWeek = moment(date, 'YYYY-MM-DD').isoWeek();\n const year = moment(date, 'YYYY-MM-DD').isoWeekYear();\n const dateRangeOfWeek = getDateRangeOfWeek(isoWeek, year);\n\n urls.range = dateRangeOfWeek;\n urls.previous += moment(date).subtract(1, 'week').format('YYYY-MM-DD');\n urls.next += moment(date).add(1, 'week').format('YYYY-MM-DD');\n if (path === 'payments' || path === 'pdq-transactions') {\n setStartDate(moment(date).startOf('week').format('DD-MM-YYYY'));\n setEndDate(moment(date).endOf('week').format('DD-MM-YYYY'));\n }\n break;\n }\n case 'month': {\n urls.range = moment(date).format('MMMM / YYYY');\n urls.previous += moment(date).subtract(1, 'month').format('YYYY-MM-DD');\n urls.next += moment(date).add(1, 'month').format('YYYY-MM-DD');\n if (path === 'payments' || path === 'pdq-transactions') {\n setEndDate(moment(date).endOf('month').format('DD-MM-YYYY'));\n setStartDate(moment(date).startOf('month').format('DD-MM-YYYY'));\n }\n break;\n }\n case 'year': {\n urls.range = moment(date).format('YYYY');\n urls.previous += moment(date).subtract(1, 'year').format('YYYY-MM-DD');\n urls.next += moment(date).add(1, 'year').format('YYYY-MM-DD');\n if (path !== 'merchant-charges') {\n setEndDate(moment(date).endOf('month').format('DD-MM-YYYY'));\n setStartDate(moment(date).startOf('month').format('DD-MM-YYYY'));\n }\n break;\n }\n\n default:\n break;\n }\n setStateUrls(urls);\n //eslint-disable-next-line\n }, [path, range, date, current]);\n\n const handleCleverClick = (value) => {\n let dateStart;\n let dateEnd;\n if (value === 'Next_nav_click') {\n switch (range) {\n case 'week':\n dateStart = moment(date).startOf('week').add(1, 'week').format('DD-MM-YYYY');\n dateEnd = moment(date).endOf('week').add(1, 'week').format('DD-MM-YYYY');\n break;\n case 'month':\n dateStart = moment(date).add(1, 'month').startOf('month').format('DD-MM-YYYY');\n dateEnd = moment(date).add(1, 'month').endOf('month').format('DD-MM-YYYY');\n break;\n default:\n dateStart = moment(date).add(1, 'day').format('DD-MM-YYYY');\n dateEnd = moment(date).add(1, 'day').format('DD-MM-YYYY');\n }\n } else {\n switch (range) {\n case 'week':\n dateStart = moment(date).startOf('week').subtract(1, 'week').format('DD-MM-YYYY');\n dateEnd = moment(date).endOf('week').subtract(1, 'week').format('DD-MM-YYYY');\n break;\n case 'month':\n dateStart = moment(date).subtract(1, 'month').startOf('month').format('DD-MM-YYYY');\n dateEnd = moment(date).subtract(1, 'month').endOf('month').format('DD-MM-YYYY');\n break;\n default:\n dateStart = moment(date).subtract(1, 'day').format('DD-MM-YYYY');\n dateEnd = moment(date).subtract(1, 'day').format('DD-MM-YYYY');\n }\n }\n const data = { date_start: dateStart, date_end: dateEnd };\n cleverTapClick(value, globalState, data);\n };\n return (\n \n );\n};\n\nexport default Calendar;\n\nCalendar.propTypes = {\n onChangeDateRange: PropTypes.func,\n daterange: PropTypes.object,\n offrange: PropTypes.bool,\n setOffrange: PropTypes.func,\n locationInApp: PropTypes.string\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n Dialog,\n DialogActions,\n DialogTitle,\n DialogContent,\n Button,\n Grid,\n Box,\n CircularProgress,\n Link /*, useMediaQuery*/\n} from '@material-ui/core';\nimport Alert from '@material-ui/lab/Alert';\nimport styles from './withdrawal-submission.module.scss';\nimport { getCurrencySymbol } from 'utils/getCurrencyByCountry';\nimport { useGlobalStateContext } from 'contexts';\n//import LoadingScreen from 'components/loading-screen/loading-screen.container';\n// import { Label } from '../../onboarding/onboarding-ui-components';\n// import ReactCodeInput from 'react-verification-code-input';\n// import { getArrayFromString } from 'validators/onboarding/onboarding-check-value.validator';\n// import { CheckCircle, Error } from '@material-ui/icons';\n// import { CheckMerchantCountries } from 'components/onboarding/onboarding-ui-components/check-merchant-countries/check-merchant-countries';\n// import { MerchantCountries } from 'utils/enums/MerchantCountries';\n\nexport default function WithdrawalSubmissionComponent(props) {\n const { globalState, setRoute } = useGlobalStateContext();\n // const allowWithdrawals = globalState.merchant?.allowWithdrawals;\n const {\n show,\n withdrawalAmount,\n submitWithdrawal,\n errorMessage,\n // isBankAndAccountVerified,\n // setRoute,\n // businessType,\n isLoading,\n isConfirmDisabled,\n isCancelDisabled,\n handlePopupClose,\n // sortCode,\n // setSortCode,\n // accountNumber,\n // setAccountNumber,\n // isFirstWithdrawal,\n // ibanIreland,\n // setIbanIreland,\n // isValid\n success,\n setOpenView,\n nextPayoutDay,\n info\n } = props;\n\n //const mediaLessThan750px = useMediaQuery('(max-width:750px)');\n // const mediaLessThan600px = useMediaQuery('(max-width:600px)');\n // const mediaLessThan400px = useMediaQuery('(max-width:400px)');\n return (\n \n handlePopupClose()}\n disableBackdropClick={isCancelDisabled}\n disableEscapeKeyDown={isCancelDisabled}\n >\n \n

\n {success ? 'Withdrawal confirmation of' : 'You are about to withdraw'}{' '}\n {getCurrencySymbol(globalState.merchant?.country)}\n {parseFloat(withdrawalAmount).toFixed(2)}\n

\n
\n
\n \n \n {success ? (\n \n \n The withdrawal you requested is pending.\n \n \n {\n handlePopupClose();\n setRoute(props.payoutUrl);\n }}\n >\n To view your pending payouts click here\n \n \n \n ) : isLoading ? (\n \n \n \n \n {' '}\n

Please wait, we are processing your request...

\n
\n
\n ) : (\n \n {info !== '' ? (\n \n \n {info}\n \n \n ) : null}\n {errorMessage !== '' ? (\n \n \n {errorMessage}\n \n \n ) : null}\n {/* {!isBankAndAccountVerified && !allowWithdrawals && (\n \n \n Your account is unverified, please upload the required documents. \n \n setRoute('/upload-bank-documents', { businessType: businessType })\n }\n >\n Click here\n \n \n \n )} */}\n \n Expected to reach your account {nextPayoutDay}\n \n\n \n
\n \n Withdrawal requests may take up to 5-7 days to process\n \n
\n
\n {/* {isFirstWithdrawal && (\n \n \n \n \n Since this is your first withdrawal, you will need to provide the bank\n details you provided while signing up.\n \n \n \n \n \n {!mediaLessThan600px && (\n \n \n )}\n \n setSortCode(value)}\n />\n \n {mediaLessThan600px && (\n \n \n )}\n \n setAccountNumber(value)}\n />\n \n \n \n \n \n \n 0\n ? getArrayFromString(ibanIreland)\n : ['I', 'E']\n }\n onChange={(value) => setIbanIreland(value)}\n />\n \n \n \n {isValid ? (\n \n ) : (\n \n )}\n \n \n \n )} */}\n
\n )}\n
\n
\n \n {success ? (\n {\n handlePopupClose();\n setOpenView(false);\n }}\n color=\"primary\"\n variant=\"outlined\"\n >\n Close\n \n ) : (\n \n \n {\n handlePopupClose();\n }}\n color=\"primary\"\n variant=\"outlined\"\n >\n Cancel\n \n \n \n \n Confirm\n \n \n \n )}\n \n \n
\n );\n}\n\nWithdrawalSubmissionComponent.propTypes = {\n show: PropTypes.bool,\n withdrawalAmount: PropTypes.number,\n submitWithdrawal: PropTypes.func,\n errorMessage: PropTypes.string,\n setErrorMessage: PropTypes.func,\n isBankAndAccountVerified: PropTypes.bool,\n setRoute: PropTypes.func,\n businessType: PropTypes.string,\n wait: PropTypes.bool,\n isLoading: PropTypes.bool,\n isConfirmDisabled: PropTypes.bool,\n isCancelDisabled: PropTypes.bool,\n handlePopupClose: PropTypes.func,\n sortCode: PropTypes.string,\n setSortCode: PropTypes.func,\n accountNumber: PropTypes.string,\n setAccountNumber: PropTypes.func,\n isFirstWithdrawal: PropTypes.bool,\n ibanIreland: PropTypes.string,\n setIbanIreland: PropTypes.func,\n isValid: PropTypes.bool,\n success: PropTypes.bool\n};\n","import React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport moment from 'moment';\nimport WithdrawalSubmissionComponent from './withdrawal-submission.component';\nimport { WithdrawalService, BusinessDetailsService, AuthService /*, BankService*/ } from 'services';\nimport { useBalanceContext, useGlobalStateContext } from 'contexts';\nimport { validateWithdraw } from 'validators';\nimport { formTypes } from 'utils/enums/FormTypes';\nimport { ErrorCodes } from 'utils/enums/ErrorCode';\n\n// import { MerchantCountries } from 'utils/enums/MerchantCountries';\n\nexport default function WithdrawalSubmission(props) {\n const { refreshBalance, setBalance, setTransitBalance, setAvailableBalance } = useBalanceContext();\n const { globalState, setRoute } = useGlobalStateContext();\n const [isLoading, setIsLoading] = useState(false);\n //const [isFirstWithdrawal, setIsFirstWithdrawal] = useState(false);\n const [errorMessage, setErrorMessage] = useState('');\n const [info, setInfo] = useState('');\n //const [isBankAndAccountVerified, setIsBankAndAccountVerified] = useState(false);\n //const [businessType, setBusinessType] = useState('');\n const [isConfirmDisabled, setIsConfirmDisabled] = useState(false);\n const [isCancelDisabled, setIsCancelDisabled] = useState(false);\n const [sortCode, setSortCode] = useState('');\n const [accountNumber, setAccountNumber] = useState('');\n const [ibanIreland, setIbanIreland] = useState('');\n // const [bankDetails, setBankDetails] = useState({});\n // const [isValid, setIsValid] = useState(false);\n // const [customerConfig, setCustomerConfig] = useState({});\n const [success, setSuccess] = useState(false);\n const { withdrawalAmount, setWithdrawalAmount, setShow, setOpenView } = props;\n const date = moment().format('YYYY-MM-DD');\n const payoutUrl = `/payouts/month/${date}`;\n const [nextPayoutDay, setNextpayoutDay] = useState('Tuesday 5PM');\n\n useEffect(() => {\n const getNextPayoutDay = async () => {\n const response = await WithdrawalService.getNextWithdrawalDay();\n if (response.isSuccesfully) {\n setNextpayoutDay(response?.data?.data);\n }\n };\n getNextPayoutDay();\n // eslint-disable-next-line\n }, []);\n\n const [csrfToken, setCSRFToken] = useState('');\n\n useEffect(() => {\n const generateCSRFToken = async () => {\n setIsLoading(true);\n const response = await AuthService.generateCSRFToken(\n formTypes.CREATE_WITHDRAWAL_REQUEST,\n globalState.merchant?.id\n );\n if (response.isSuccesfully) {\n setCSRFToken(response.data.csrfToken);\n }\n setIsLoading(false);\n };\n generateCSRFToken();\n // eslint-disable-next-line\n }, []);\n\n //useEffect(() => {\n // async function fetchData() {\n // setIsLoading(true);\n // const response = await BusinessDetailsService.getMerchantBusinessTypeAndBankStatus(globalState.merchant.id);\n // setIsLoading(false);\n // if (response.isSuccesfully) {\n // setBusinessType(response.data.typeName);\n // setIsBankAndAccountVerified(response.data.isBankAccountVerified && response.data.isAccountVerified);\n // } else {\n // setErrorMessage('An error occurred on bank verification, please contact support');\n // }\n // }\n\n // const fetchCustomerConfig = async () => {\n // setIsLoading(true);\n // const responseCheckFirstWithdrawal = await WithdrawalService.checkFirstWithdrawal(globalState.merchant?.id);\n // if (responseCheckFirstWithdrawal.isSuccesfully) {\n // setIsFirstWithdrawal(responseCheckFirstWithdrawal.data.isFirstWithdrawal);\n // const responseBankDetails = await BankService.getBankDetails(globalState.merchant?.id);\n // if (responseBankDetails.isSuccesfully) {\n // setBankDetails(responseBankDetails.data);\n // } else {\n // setBankDetails({});\n // }\n // }\n // setIsLoading(false);\n // };\n\n //fetchData();\n //fetchCustomerConfig();\n // eslint-disable-next-line\n //}, [show, globalState.merchant.id]);\n\n // useEffect(() => {\n // const fetchCustomerConfig = async () => {\n // if(globalState.merchant?.country === MerchantCountries.UNITED_KINGDOM) {\n // setIsLoading(true);\n // const customerConfigResp = await WithdrawalService.getCustomerConfig();\n // console.log(customerConfigResp);\n // if (customerConfigResp.isSuccesfully) {\n // setCustomerConfig(customerConfigResp.data || {});\n // setIsFirstWithdrawal(customerConfig.isFirstwithdrawl);\n // }\n // setIsLoading(false);\n // }\n\n // };\n // fetchCustomerConfig();\n // }, []);\n\n // useEffect(() => {\n // const validateBankDetailsUK = async () => {\n // const validationUK =\n // sortCode &&\n // sortCode.length === 6 &&\n // sortCode === customerConfig.sortCode &&\n // accountNumber &&\n // accountNumber.length === 8 &&\n // accountNumber === customerConfig.newAccountNumber;\n // setIsValid(validationUK);\n // };\n // validateBankDetailsUK();\n // }, [sortCode, accountNumber, customerConfig.sortCode, customerConfig.newAccountNumber]);\n\n // useEffect(() => {\n // const validateBankDetailsIreland = async () => {\n // const validationUK =\n // ibanIreland && ibanIreland.length === 22 && ibanIreland === bankDetails.newAccountNumber;\n // setIsValid(validationUK);\n // };\n // validateBankDetailsIreland();\n // }, [ibanIreland, bankDetails.newAccountNumber]);\n\n const submitWithdrawal = async () => {\n setIsConfirmDisabled(true);\n setIsCancelDisabled(true);\n setIsLoading(true);\n\n const merchantVerificationResponse = await BusinessDetailsService.getMerchantBusinessTypeAndBankStatus(\n globalState.merchant?.id\n );\n if (merchantVerificationResponse.isSuccesfully) {\n const cantWithDrawValidationResult = validateWithdraw(\n merchantVerificationResponse.data.isAccountVerified,\n merchantVerificationResponse.data.isBankAccountVerified,\n merchantVerificationResponse.data.allowWithdrawals\n );\n if (!cantWithDrawValidationResult.isValid) {\n setErrorMessage(cantWithDrawValidationResult.message);\n } else {\n await WithdrawalService.submitWithdrawal(\n withdrawalAmount,\n globalState.user.id,\n globalState.merchant?.id,\n csrfToken\n ).then((response) => {\n if (response.isSuccesfully) {\n if (response.data.status !== 'fail') {\n if (response.data.status === 'OK') {\n // setBalance(response.data.balance);\n setBalance(response.data.balance);\n setTransitBalance(response.data.balance_transit);\n setAvailableBalance(response.data.available_balance);\n sessionStorage.setItem('balance', response.data.balance);\n sessionStorage.setItem('availableBalance', response.data.available_balance);\n sessionStorage.setItem('transitBalance', response.data.balance_transit);\n } else {\n refreshBalance();\n }\n\n setSuccess(true);\n setOpenView(true);\n setIsConfirmDisabled(false);\n\n // let newCustomerConfig = { ...customerConfig };\n // newCustomerConfig.isFirstwithdrawl = false;\n // setCustomerConfig(newCustomerConfig);\n } else {\n if (response.data.statusCode == 1013) {\n setInfo(response.data.message);\n } else {\n setErrorMessage(response.data.message);\n }\n }\n } else {\n const errorMessage =\n response.data.errorCode === ErrorCodes.CSRF_VALIDATION_FAILURE.errorCode\n ? ErrorCodes.CSRF_VALIDATION_FAILURE.message\n : ErrorCodes.WITHDRAWAL_ERROR.message;\n setErrorMessage(errorMessage);\n }\n });\n }\n } else {\n setErrorMessage('An internal error occurred, please press Cancel to check your updated balance');\n }\n\n // if (\n // customerConfig.isFirstwithdrawl &&\n // (sortCode !== customerConfig.sortcode || accountNumber !== customerConfig.bankaccount)\n // ) {\n // setErrorMessage('Sort code and account number do not match the existing details on your account!');\n // return;\n // }\n\n setIsLoading(false);\n setIsCancelDisabled(false);\n };\n\n const handlePopupClose = () => {\n if (errorMessage || info) {\n window.location.reload();\n } else {\n setShow(false);\n }\n setTimeout(() => {\n setWithdrawalAmount(null);\n }, 500);\n setSuccess(false);\n };\n\n return (\n \n );\n}\n\nWithdrawalSubmission.propTypes = {\n show: PropTypes.bool,\n setShow: PropTypes.func,\n withdrawalAmount: PropTypes.number,\n setWithdrawalAmount: PropTypes.func,\n isDisabled: PropTypes.bool,\n setIsDisabled: PropTypes.func,\n handlePopupClose: PropTypes.func\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Grid, Button, Typography, Card } from '@material-ui/core';\nimport { Label } from 'components/onboarding/onboarding-ui-components';\nimport { PasswordValidation, SnackBarAndAlert } from 'components';\nimport styles from './update-password.module.scss';\nimport PasswordInput from 'components/password-input/password-input.container';\n\nfunction UpdatePasswordComponent(props) {\n const {\n currentPassword,\n setCurrentPassword,\n newPassword,\n setNewPassword,\n confirmPassword,\n setConfirmPassword,\n isPasswordValid,\n changePassword,\n setIsPasswordValid,\n newPasswordChange,\n setNewPasswordChange,\n redoPasswordValidation,\n setRedoPasswordValidation,\n errorMessage,\n setErrorMessage,\n userDetails\n } = props;\n\n return (\n \n {errorMessage && (\n setErrorMessage('')}>\n {errorMessage}\n \n )}\n \n \n Update Password\n \n \n \n \n \n \n \n \n \n \n \n changePassword()}\n >\n Update password\n \n \n \n \n \n \n \n \n \n \n Password Requirements:\n \n \n \n \n \n \n \n \n \n \n );\n}\n\nUpdatePasswordComponent.propTypes = {\n currentPassword: PropTypes.string,\n setCurrentPassword: PropTypes.func,\n newPassword: PropTypes.string,\n setNewPassword: PropTypes.func,\n confirmPassword: PropTypes.string,\n setConfirmPassword: PropTypes.func,\n isPasswordValid: PropTypes.bool,\n changePassword: PropTypes.func,\n setDisabled: PropTypes.func,\n hasEightCharacters: PropTypes.bool,\n hasUpperCaseCharacters: PropTypes.bool,\n hasLowerCaseCharacters: PropTypes.bool,\n hasSpecialCharacters: PropTypes.bool,\n hasDigitCharacters: PropTypes.bool,\n setIsPasswordValid: PropTypes.func,\n crosstrack: PropTypes.func,\n newPasswordChange: PropTypes.bool,\n setNewPasswordChange: PropTypes.func,\n redoPasswordValidation: PropTypes.bool,\n setRedoPasswordValidation: PropTypes.func,\n errorMessage: PropTypes.func,\n setErrorMessage: PropTypes.func\n};\n\nexport default UpdatePasswordComponent;\n","import React, { useState } from 'react';\nimport UpdatePasswordComponent from './update-password.component';\nimport { Auth } from 'aws-amplify';\nimport { AuthService } from 'services';\nimport { useGlobalStateContext } from 'contexts';\n\nfunction UpdatePassword() {\n const { setRoute, globalState } = useGlobalStateContext();\n const [currentPassword, setCurrentPassword] = useState('');\n const [newPassword, setNewPassword] = useState('');\n const [confirmPassword, setConfirmPassword] = useState('');\n const [isPasswordValid, setIsPasswordValid] = useState(true);\n const [newPasswordChange, setNewPasswordChange] = useState(false);\n const [redoPasswordValidation, setRedoPasswordValidation] = useState(false);\n const [errorMessage, setErrorMessage] = useState('');\n const changePassword = async () => {\n // let isUserDisabled = false\n Auth.currentAuthenticatedUser().then((currentUser) => {\n Auth.changePassword(currentUser, currentPassword, newPassword)\n .then(async () => {\n // await AuthService.updateDatmanPassword(currentPassword, newPassword);\n await AuthService.updateChangePasswordTime({ email: globalState?.user?.email });\n AuthService.logout();\n Auth.signOut({ global: true }).then(() => {\n setRoute('/login#update-password=true');\n });\n })\n .catch(async (error) => {\n if (error.message === 'User is disabled.') {\n try {\n AuthService.logout();\n await Auth.signOut({ global: true });\n } catch (logoutError) {\n console.log('logoutError', logoutError); // Handle any errors that occur during logout\n }\n setRoute('/login');\n }\n if (error.message === 'Incorrect username or password.') {\n setErrorMessage('Please Enter Valid Current Password');\n }\n if (error.message === 'Attempt limit exceeded, please try after some time.') {\n setErrorMessage('Attempt limit exceeded, please try after some time');\n }\n });\n });\n };\n\n return (\n \n );\n}\n\nexport default UpdatePassword;\n","import React from 'react';\nimport { Link } from 'react-router-dom';\nimport styles from './forgot-password.module.scss';\n// Style Deps\nimport { Form } from 'react-bootstrap';\nimport { getArrayFromString, checkEmptyValue } from 'validators/onboarding/onboarding-check-value.validator';\nimport { useGlobalStateContext } from 'contexts';\nimport { PasswordValidation, SnackBarAndAlert, LoadingScreen, ValidEmailInput } from 'components';\nimport { Button, Grid, Typography, Dialog, DialogContent, DialogContentText, DialogActions } from '@material-ui/core';\nimport PasswordInput from 'components/password-input/password-input.container';\n\nconst FormForgotPassword = (props) => {\n const { globalState, getRoute } = useGlobalStateContext();\n const {\n isPasswordValid,\n setIsPasswordValid,\n errorCodeMsg,\n setErrorCodeMsg,\n verificationCode,\n setVerificationCode,\n newPassword,\n setNewPassword,\n confirmPassword,\n setConfirmPassword,\n setIsVerificationCodeError,\n redoPasswordValidation,\n setRedoPasswordValidation,\n sendVerificationEmail,\n showMessage,\n setShowMessage,\n verificationEmailMessage,\n messageType,\n errorExceptionType,\n disableButton,\n email,\n firstName,\n lastName\n } = props;\n\n return (\n \n
\n \"Logo\"\n
\n \n \n

Password reset

\n
\n {props.submitView === 'SEND-OTP' ? (\n \n Enter your email to get a verification code.
\n The code will be sent via SMS if you've provided a valid phone number, otherwise\n you'll get it via email.\n
\n ) : (\n Enter your verification code and the new password\n )}\n
\n \n \n \n \n \n
\n
\n \n Remember your password? \n Sign in\n \n
\n \n \n
\n );\n};\n// FormForgotPassword.propTypes = {\n// errorCodeMsg: PropTypes.bool,\n// setErrorCodeMsg: PropTypes.func,\n// };\nexport default FormForgotPassword;\n","import React, { useState, useEffect } from 'react';\nimport { Auth } from 'aws-amplify';\nimport { useGlobalStateContext } from 'contexts';\nimport FormForgotPassword from './forgot-password.component';\nimport qs from 'query-string';\nimport { useLocation } from 'react-router-dom';\nimport { AuthService } from 'services';\nimport { InputValidators } from 'validators';\n\n//import { AuthService } from 'services';\n\nfunction ForgotPassword() {\n const { globalState, setRoute } = useGlobalStateContext();\n const [isSuccess, setIsSuccess] = useState(false);\n const [message, setMessage] = useState('');\n const [isVerificationCodeError, setIsVerificationCodeError] = useState(false);\n const [loading, setLoading] = useState(false);\n const [email, setEmail] = useState('');\n const [errorCodeMsg, setErrorCodeMsg] = useState(false);\n const [verificationCode, setVerificationCode] = useState('');\n const [phone, setPhone] = useState('');\n const [newPassword, setNewPassword] = useState('');\n const [confirmPassword, setConfirmPassword] = useState('');\n const [submitView, setSubmitView] = useState('SEND-OTP');\n const [showPopup, setShowPopup] = useState(false);\n const [isPasswordValid, setIsPasswordValid] = useState(false);\n const [redoPasswordValidation, setRedoPasswordValidation] = useState(false);\n const [showMessage, setShowMessage] = useState(false);\n const [verificationEmailMessage, setVerificationEmailMessage] = useState('');\n const [messageType, setMessageType] = useState('');\n const [errorExceptionType, setErrorExceptionType] = useState('');\n const [disableButton, setDisableButton] = useState(true);\n const [firstName, setFirstName] = useState('');\n const [lastName, setLastName] = useState('');\n const location = useLocation();\n\n useEffect(() => {\n const queryString = qs.parse(location.search, { ignoreQueryPrefix: true });\n if (queryString.email && queryString.code && queryString.firstName && queryString.lastName) {\n setSubmitView('SUBMIT-OTP');\n setEmail(queryString.email);\n setLastName(queryString.lastName);\n setFirstName(queryString.firstName);\n setVerificationCode(queryString.code);\n }\n }, [location]);\n\n useEffect(() => {\n if (InputValidators.isEmailValid(email)) {\n setDisableButton(false);\n } else {\n setDisableButton(true);\n }\n }, [email]);\n\n const handleSubmit = async (event) => {\n event.preventDefault();\n setLoading(true);\n setIsSuccess(false);\n setMessage('');\n setIsVerificationCodeError(false);\n setErrorCodeMsg(false);\n\n let confirmationCode = event.target.confirmationCode?.value;\n\n if (submitView === 'SUBMIT-OTP' && newPassword !== confirmPassword) {\n setIsSuccess(false);\n setMessage('Passwords do not match.');\n event.preventDefault();\n event.stopPropagation();\n setLoading(false);\n return;\n }\n\n let via = email ? 'email' : 'phone';\n let params = {};\n\n if (email) {\n params = { email };\n } else if (phone) {\n params = { phone };\n }\n\n if (submitView === 'SEND-OTP') {\n try {\n await Auth.forgotPassword(params[via], { portalURL: globalState.reseller?.portalURL });\n setIsSuccess(true);\n setShowPopup(true);\n setMessage(\n `If your account exist with us, you'll receive a one-time-password on your phone or email for verification; use the verification link received if your account hasn't been verified yet.`\n );\n setSubmitView('SUBMIT-OTP');\n } catch (err) {\n setErrorExceptionType(err.code);\n setIsSuccess(true);\n setShowPopup(true);\n setMessage(\n `If your account exist with us, you'll receive a one-time-password on your phone or email for verification; use the verification link received if your account hasn't been verified yet.`\n );\n setSubmitView('SUBMIT-OTP');\n }\n } else {\n try {\n await Auth.forgotPasswordSubmit(params[via], confirmationCode, newPassword);\n await AuthService.updateChangePasswordTime({ email });\n /*try {\n await AuthService.resetDatmanPassword(via, params[via], newPassword);\n } catch (error) {\n console.error('Datman password cannot be updated, ignore and continue.', error);\n }*/\n\n setIsSuccess(true);\n setShowPopup(true);\n setMessage('Successfully changed the password. Redirecting to login page...');\n setTimeout(() => {\n setRoute('/login');\n }, 3000);\n } catch (err) {\n setIsSuccess(false);\n let periodIfNeeded = err.message && err.message.endsWith('.') ? '' : '.';\n setMessage(`Failed to change the password. ${periodIfNeeded}`);\n setIsVerificationCodeError(true);\n setErrorCodeMsg(true);\n setLoading(false);\n }\n }\n\n setLoading(false);\n };\n const onNewRequest = () => {\n setSubmitView('SEND-OTP');\n setEmail('');\n setRoute('/forgot-password');\n window.location.reload();\n };\n\n const sendVerificationEmail = async () => {\n setShowPopup(false);\n setLoading(true);\n const response = await AuthService.sendVerificationEmail({\n email: email,\n resellerUrl: globalState.reseller.portalURL\n });\n setLoading(false);\n setShowMessage(true);\n if (response.isSuccesfully) {\n setMessageType('success');\n setVerificationEmailMessage('Verification email has been sent successfully. Please check inbox.');\n } else {\n setMessageType('error');\n setVerificationEmailMessage('An error occurred. Try again !');\n }\n };\n\n return (\n \n );\n}\n\nexport default ForgotPassword;\n","import React from 'react';\nimport { Grid, Typography } from '@material-ui/core';\nimport styles from './help-contacts.module.scss';\nimport { useGlobalStateContext } from 'contexts';\n\nfunction HelpContactsComponent() {\n const { setRoute, globalState } = useGlobalStateContext();\n\n return (\n \n {\n setRoute('/home');\n }}\n width=\"700\"\n />\n \n For support, please call: 020810 33846 (UK)\n \n {globalState.reseller?.id === 1 ? (\n \n https://support.omni-pay.com/portal/en/kb\n \n ) : null}\n \n );\n}\n\nexport default HelpContactsComponent;\n","import React from 'react';\nimport HelpContactsComponent from './help-contacts.component.jsx';\n\nfunction HelpContacts() {\n return ;\n}\n\nexport default HelpContacts;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport styles from './finish-upload-button.module.scss';\nimport { useGlobalStateContext } from 'contexts';\nimport { Button } from '@material-ui/core';\n\nconst FinishUploadButtonComponent = (props) => {\n const { disabled } = props;\n\n const { setRoute } = useGlobalStateContext();\n return (\n
\n {\n setRoute('/settings', { redirected: true });\n }}\n >\n Finish\n \n
\n );\n};\n\nFinishUploadButtonComponent.propTypes = {\n disabled: PropTypes.bool\n};\n\nexport default FinishUploadButtonComponent;\n","import React from 'react';\nimport FinishUploadButtonComponent from './finish-upload-button.component';\n\nfunction FinishUploadButton(props) {\n return ;\n}\n\nexport default FinishUploadButton;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Card, Grid, makeStyles } from '@material-ui/core';\nimport Radio from '@material-ui/core/Radio';\n\nconst styles = makeStyles((theme) => ({\n card: {\n height: '76px',\n marginBottom: '12px',\n marginTop: '12px',\n width: '100%',\n cursor: 'pointer',\n\n '&:hover': {\n backgroundColor: '#f2f2f2'\n }\n },\n container: {\n height: '100%',\n display: 'flex',\n alignItems: 'center'\n },\n iconContainer: {\n display: 'flex',\n justifyContent: 'left',\n alignItems: 'left',\n height: '100%',\n '& img': {\n width: '25px',\n height: '25px'\n }\n },\n title: {\n color: theme.palette.primary.main,\n fontWeight: 'bold',\n fontSize: '1.3em'\n },\n titlee: {\n color: theme.palette.primary.main,\n fontSize: '0.8em',\n marginLeft: '8px'\n },\n description: {\n color: 'gray',\n fontSize: '1em'\n },\n imgLogo: {\n marginTop: '27px',\n marginLeft: '10px'\n }\n}));\n\nfunction ProductMultiSelectComponent(props) {\n const classes = new styles();\n const { selectedEntities, setSelectedEntitites, list, onChange, selectedProduct, setSelectedProduct } = props;\n\n const onCardClick = (element) => {\n const elementId = element.id;\n\n if (selectedEntities.includes(elementId)) {\n const index = selectedEntities.indexOf(elementId);\n setSelectedProduct(!selectedProduct);\n\n if (index > -1) {\n selectedEntities.splice(index, 1);\n }\n } else {\n selectedEntities.push(elementId);\n }\n\n onChange([...selectedEntities]);\n setSelectedEntitites([...selectedEntities]);\n };\n\n return (\n \n {list.map((element) => {\n return (\n
\n {element.name !== 'MyEcomm' ? (\n \n \n \n \n \n \"\"\n \n \n {element.name}\n \n \n \n\n \n onCardClick(element)}\n checked={selectedEntities.includes(element.id)}\n />\n \n \n \n ) : null}\n
\n );\n })}\n
\n );\n}\n\nProductMultiSelectComponent.propTypes = {\n selectedEntities: PropTypes.array,\n setSelectedEntitites: PropTypes.func,\n list: PropTypes.array,\n onChange: PropTypes.func,\n handleChange: PropTypes.func\n};\n\nexport default ProductMultiSelectComponent;\n","import React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport ProductMultiSelectComponent from './product-multi-select.component';\n\n/**\n *\n * @param {{\n * list: array;\n * onChange: func;\n * value: array;\n * }} props\n */\nfunction ProductMultiSelect(props) {\n const [selectedEntities, setSelectedEntitites] = useState([]);\n const [selectedProduct, setSelectedProduct] = useState(false);\n\n useEffect(() => {\n const handleChange = async () => {\n setSelectedEntitites(props.value ? props.value : []);\n };\n handleChange();\n }, [props.value]);\n\n return (\n \n );\n}\n\nProductMultiSelect.propTypes = {\n value: PropTypes.array\n};\n\nexport default ProductMultiSelect;\n","import React from 'react';\nimport { Paper, Button, Typography, Box, Grid, OutlinedInput } from '@material-ui/core';\nimport {\n Input,\n Label,\n FormItem,\n PostCodeSelector,\n SelectedDropDown\n} from 'components/onboarding/onboarding-ui-components';\nimport PhoneInput from 'react-phone-input-2';\nimport PropTypes from 'prop-types';\nimport { checkEmptyValue } from 'validators/onboarding/onboarding-check-value.validator';\nimport Divider from '@material-ui/core/Divider';\nimport ProductMultiSelect from './product-multi-select-ui/product-multi-select.container';\nimport NumberFormat from 'react-number-format';\nimport NativeSelect from '@material-ui/core/NativeSelect';\nimport { LoadingScreen, SnackBarAndAlert, ValidURLInput, ValidEmailInput } from 'components';\n\nimport style from './client-registration.module.scss';\n\nfunction ClientRegisterComponent(props) {\n const {\n products,\n selectedProducts,\n setSelectedProducts,\n onSubmit,\n contactDetails,\n setContactDetails,\n phoneNumberValidator,\n configDetails,\n businessDetails,\n setBusinessDetails,\n setConfigDetails,\n isLoading,\n message,\n submitSuccess,\n setSubmitSuccess,\n submitFail,\n setSubmitFail,\n disabled,\n SubmitFail,\n selectAddressData,\n businessDescriptions,\n setBusinessDescriptionSearchString,\n businessDescriptionSearchString\n } = props;\n return (\n \n {!isLoading && (\n \n \n \n Omnipay Client Registration\n \n \n \n
\n \n
\n \n Contact Details\n \n \n \n {\n setContactDetails({\n ...contactDetails,\n legalName: e.target.value\n });\n }}\n />\n \n \n \n {\n setContactDetails({\n ...contactDetails,\n postCode: postCode\n });\n }}\n onAddressObjectChange={(addressData) =>\n selectAddressData(addressData, contactDetails, setContactDetails)\n }\n />\n \n \n \n {\n setContactDetails({\n ...contactDetails,\n addressLine: e.target.value\n });\n }}\n />\n \n \n \n {\n setContactDetails({\n ...contactDetails,\n city: e.target.value\n });\n }}\n />\n \n\n \n \n \n \n \n \n {\n setContactDetails({\n ...contactDetails,\n telephoneNumber: phoneNumberValidator(phone)\n });\n }}\n />\n \n\n {\n setContactDetails({\n ...contactDetails,\n email: e.target.value.toLowerCase()\n });\n }}\n autoComplete=\"off\"\n />\n
\n
\n \n \n
\n setSubmitSuccess(false)}\n type=\"success\"\n >\n {message}\n \n setSubmitFail(false)}\n type=\"error\"\n >\n {message}\n \n\n \n Business Details\n \n \n \n {\n setBusinessDetails({\n ...businessDetails,\n legalName: e.target.value\n });\n }}\n />\n \n\n {\n setBusinessDetails({\n ...businessDetails,\n url: value\n });\n }}\n />\n \n \n option?.name === value?.name}\n options={businessDescriptions}\n getOptionLabel={(option) => option.name}\n onChange={(event, newValue) => {\n if (newValue) {\n setBusinessDetails({\n ...businessDetails,\n businessDescription: newValue.id,\n mccCode: newValue.mccCode\n });\n setBusinessDescriptionSearchString(newValue);\n } else {\n setBusinessDetails({\n ...businessDetails,\n businessDescription: '',\n mccCode: ''\n });\n setBusinessDescriptionSearchString({ name: '' });\n }\n }}\n customListRender={(option) => {\n return (\n \n {option.name}\n \n );\n }}\n />\n \n
\n\n \n {message}\n \n \n {message}\n \n
\n\n \n
\n \n Configuration\n \n \n \n \n \n \n \n {\n setConfigDetails({\n ...configDetails,\n merchantId: e.target.value\n });\n }}\n labelWidth={0}\n required\n />\n \n\n \n \n \n \n {\n setConfigDetails({\n ...configDetails,\n testMode: e.target.value\n });\n }}\n >\n }\n >\n \n \n \n \n \n \n \n \n {\n setConfigDetails({\n ...configDetails,\n threeDSecure: e.target.value\n });\n }}\n >\n }\n >\n \n \n \n \n \n \n \n \n \n }\n >\n \n \n \n \n \n\n \n \n {\n setConfigDetails({\n ...configDetails,\n terminalId: e.target.value\n });\n }}\n labelWidth={0}\n required\n />\n \n
\n
\n
\n \n
\n \n \n \n Products\n \n \n \n \n \n
\n {\n setSelectedProducts(value);\n }}\n value={selectedProducts}\n />\n
\n
\n
\n
\n
\n
\n
\n
\n \n Submit\n \n
\n
\n )}\n \n
\n );\n}\nClientRegisterComponent.propTypes = {\n products: PropTypes.array,\n selectedProducts: PropTypes.array,\n setSelectedProducts: PropTypes.func,\n onSubmit: PropTypes.func,\n phoneNumberValidator: PropTypes.func,\n isLoading: PropTypes.bool,\n contactDetails: PropTypes.object,\n setContactDetails: PropTypes.func,\n configDetails: PropTypes.object,\n businessDetails: PropTypes.object,\n setBusinessDetails: PropTypes.func,\n setConfigDetails: PropTypes.func,\n setMessage: PropTypes.func,\n setSubmitSuccess: PropTypes.func,\n setSubmitFail: PropTypes.func,\n acceptance: PropTypes.array,\n message: PropTypes.string,\n submitSuccess: PropTypes.bool,\n disabled: PropTypes.bool,\n SubmitFail: PropTypes.bool,\n selectAddressData: PropTypes.func\n};\n\nexport default ClientRegisterComponent;\n","import React, { useEffect, useState } from 'react';\nimport ClientRegisterComponent from './client-registration.component';\nimport { useGlobalStateContext } from 'contexts';\nimport { TaxonomyService, mypayClientRegisterService } from 'services';\nimport { InputValidators } from 'validators';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\n\nfunction ClientRegister() {\n const virtualTerminal = 3;\n const { globalState, setRoute } = useGlobalStateContext();\n const [products, setProducts] = useState([]);\n const [contactDetails, setContactDetails] = useState({ country: MerchantCountries.UNITED_KINGDOM });\n const [businessDetails, setBusinessDetails] = useState({});\n const [disabled, setDisabled] = useState(true);\n const [configDetails, setConfigDetails] = useState({\n acquireBank: 'FirstData',\n processorId: 5,\n testMode: false,\n threeDSecure: false\n });\n const [testmode, setTestmode] = useState(1);\n const [message, setMessage] = useState('');\n const [submitSuccess, setSubmitSuccess] = useState(false);\n const [submitFail, setSubmitFail] = useState(false);\n const [selectedProducts, setSelectedProducts] = useState([virtualTerminal]);\n const [isLoading, setIsLoading] = useState([]);\n const [businessDescriptions, setBusinessDescriptions] = useState([]);\n const [businessDescriptionSearchString, setBusinessDescriptionSearchString] = useState({ name: '' });\n const imgPaths = [\n require('../../assets/icons/gateway.svg'),\n require('../../assets/icons/my-pay-app.svg'),\n require('../../assets/icons/virtual-terminal.png'),\n require('../../assets/icons/my-ecomm.svg'),\n require('../../assets/icons/card-machine.svg')\n ];\n useEffect(() => {\n const getProducts = async () => {\n setIsLoading(true);\n const productsRequest = await TaxonomyService.getProductsRequired();\n if (productsRequest.isSuccesfully) {\n const products = productsRequest.data;\n products.forEach((element, index) => {\n element.imgPath = imgPaths[index];\n });\n setProducts(products);\n }\n setIsLoading(false);\n };\n\n getProducts();\n // eslint-disable-next-line\n }, []);\n\n useEffect(() => {\n setIsLoading(true);\n const Descriptions = async () => {\n let businessDescriptions;\n const descriptionsFetchResponse = await TaxonomyService.getDescriptions();\n if (descriptionsFetchResponse.isSuccesfully) {\n businessDescriptions = descriptionsFetchResponse.data.businessDescriptions;\n businessDescriptions.push({ name: '' });\n setBusinessDescriptions(businessDescriptions);\n }\n setIsLoading(false);\n return businessDescriptions;\n };\n Descriptions();\n }, []);\n\n useEffect(() => {\n const allFieldsCompleted =\n contactDetails.legalName &&\n contactDetails.addressLine &&\n contactDetails.city &&\n contactDetails.postCode &&\n contactDetails.country &&\n contactDetails.telephoneNumber &&\n InputValidators.isEmailValid(contactDetails.email) &&\n businessDetails.legalName &&\n InputValidators.isWebsiteUrlValid(businessDetails.url) &&\n configDetails.merchantId &&\n selectedProducts.length > 0;\n\n if (allFieldsCompleted) {\n setDisabled(false);\n } else setDisabled(true);\n }, [configDetails, contactDetails, businessDetails, selectedProducts]);\n\n const selectAddressData = (addressData, contactDetails, setContactDetails) => {\n if (addressData) {\n setContactDetails({\n ...contactDetails,\n addressLine: addressData.line_1,\n city: addressData.town_or_city,\n country: MerchantCountries.UNITED_KINGDOM\n });\n }\n };\n\n const onSubmit = async () => {\n setIsLoading(true);\n const response = await mypayClientRegisterService.clientDetails({\n contactDetails,\n businessDetails,\n configDetails,\n selectedProducts,\n resellerId: globalState.reseller.id\n });\n\n setIsLoading(false);\n if (response.isSuccesfully) {\n setSubmitSuccess(true);\n sessionStorage.setItem('isUserSubmitted', true);\n setRoute(`/admin-functions/${globalState?.merchant?.id}`);\n } else {\n setMessage(response?.error);\n setSubmitFail(true);\n }\n };\n\n return (\n \n );\n}\nexport default ClientRegister;\n","import React from 'react';\nimport { Form } from 'react-bootstrap';\nimport { Grid, Button, Input, Container, InputLabel, Typography, TextareaAutosize } from '@material-ui/core';\nimport styles from './request-support-form.module.scss';\nimport PhoneInput from 'react-phone-input-2';\nimport { LoadingScreen } from 'components';\nimport { emailValidationPattern } from '../../utils/enums/EmailValidationPattern';\nimport PropTypes from 'prop-types';\nimport { SnackBarAndAlert } from 'components';\n\nconst RequestSupportFormComponent = (props) => {\n const {\n firstName,\n setFirstName,\n lastName,\n setLastName,\n email,\n setEmail,\n phoneNumber,\n setPhoneNumber,\n query,\n setQuery,\n handleSubmit,\n isDisable,\n isLoading,\n showMessage,\n message,\n handleCloseMessage\n } = props;\n\n return (\n \n \n Request For Support\n \n
\n \n \n \n First name\n \n \n setFirstName(event.target.value)}\n />\n \n\n \n \n \n Last name\n \n \n setLastName(event.target.value)}\n />\n \n\n \n \n \n Email\n \n \n setEmail(event.target.value)}\n />\n \n \n \n \n Phone number\n \n \n setPhoneNumber(phone)}\n />\n \n\n \n \n \n Please explain the issue you're experiencing\n \n \n setQuery(event.target.value)}\n />\n \n\n \n \n Submit\n \n \n
\n {showMessage && (\n \n {message}\n \n )}\n \n
\n );\n};\n\nRequestSupportFormComponent.propTypes = {\n firstName: PropTypes.string,\n setFirstName: PropTypes.func,\n lastName: PropTypes.string,\n setLastName: PropTypes.func,\n email: PropTypes.string,\n setEmail: PropTypes.func,\n phoneNumber: PropTypes.string,\n setPhoneNumber: PropTypes.func,\n query: PropTypes.string,\n setQuery: PropTypes.func,\n handleSubmit: PropTypes.func,\n isDisable: PropTypes.bool,\n isLoading: PropTypes.bool,\n showMessage: PropTypes.bool,\n message: PropTypes.string,\n handleCloseMessage: PropTypes.func\n};\n\nexport default RequestSupportFormComponent;\n","import React, { useEffect, useState } from 'react';\nimport RequestSupportFormComponent from './request-support-form.component';\nimport { UrgentMessagesService } from 'services';\nimport { useGlobalStateContext } from 'contexts';\nimport { useLocation } from 'react-router-dom';\nimport qs from 'query-string';\n\nconst RequestSupportFormContainer = (props) => {\n const { globalState, setRoute } = useGlobalStateContext();\n const [firstName, setFirstName] = useState('');\n const [lastName, setLastName] = useState('');\n const [email, setEmail] = useState('');\n const [phoneNumber, setPhoneNumber] = useState('');\n const [query, setQuery] = useState('');\n const [merchantId, setMerchantId] = useState(null);\n const [isDisable, setIsDisable] = useState(true);\n const [isLoading, setIsLoading] = useState(false);\n const [showMessage, setShowMessage] = useState(false);\n const [message, setMessage] = useState('');\n const location = useLocation();\n\n useEffect(() => {\n const shouldEnable = firstName && lastName && email && phoneNumber && query;\n\n if (shouldEnable) {\n setIsDisable(false);\n } else {\n setIsDisable(true);\n }\n\n //eslint-disable-next-line\n }, [firstName, lastName, email, phoneNumber, query]);\n\n useEffect(() => {\n const queryString = qs.parse(location.search, { ignoreQueryPrefix: true });\n if (queryString.merchantId) {\n setMerchantId(queryString.merchantId);\n }\n }, [location.search]);\n\n useEffect(() => {\n if (globalState?.merchant) {\n setMerchantId(globalState.merchant.id);\n }\n }, [globalState.merchant]);\n\n const handleSubmit = async (event) => {\n event.preventDefault();\n setIsLoading(true);\n\n const data = {\n firstName: firstName,\n lastName: lastName,\n email: email,\n phoneNumber: phoneNumber,\n query: query,\n resellerId: globalState.reseller.id,\n merchantId: merchantId\n };\n\n const response = await UrgentMessagesService.requestForSupport(data);\n\n setIsLoading(false);\n if (response.isSuccesfully) {\n sessionStorage.setItem('querySubmitted', true);\n setRoute('/');\n } else {\n setShowMessage(true);\n setMessage(response.error);\n }\n };\n\n const handleCloseMessage = () => {\n setShowMessage(false);\n };\n\n return (\n \n );\n};\n\nexport default RequestSupportFormContainer;\n","import React from 'react';\n\nimport { Backdrop, CircularProgress } from '@material-ui/core';\nimport { makeStyles } from '@material-ui/core/styles';\nimport PropTypes from 'prop-types';\nconst useStyles = makeStyles((theme) => ({\n backdrop: {\n zIndex: theme.zIndex.drawer + 1,\n color: 'black',\n background: 'rgba(255, 255, 255, 0.9) !important'\n }\n}));\n\nconst CustomLoadingScreenComponent = (props) => {\n const classes = useStyles();\n\n return (\n \n \n \n {props.message}\n \n \n );\n};\n\nexport default CustomLoadingScreenComponent;\n\nCustomLoadingScreenComponent.propTypes = {\n message: PropTypes.string\n};\n","import React from 'react';\nimport CustomLoadingScreenComponent from './custom-loading-screen.component';\n\n/**\n *\n * @param {{\n * open: boolean\n * }} props\n */\nfunction CustomLoadingScreen(props) {\n return ;\n}\n\nexport default CustomLoadingScreen;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n Dialog,\n DialogActions,\n DialogTitle,\n DialogContent,\n Button,\n Grid,\n NativeSelect,\n OutlinedInput,\n InputAdornment\n} from '@material-ui/core';\nimport { FormItem, Label, Input } from 'components/onboarding/onboarding-ui-components';\nimport styles from './internal-transfer-submission.module.scss';\nimport NumberFormat from 'react-number-format';\nimport { Alert } from '@material-ui/lab';\nimport { useGlobalStateContext } from 'contexts';\nimport { getCurrencySymbol } from 'utils/getCurrencyByCountry';\n\nfunction InternalTransferSubmissionComponent(props) {\n const { globalState } = useGlobalStateContext();\n const {\n supplier,\n setSupplier,\n description,\n setDescription,\n submitInternalTransfer,\n suppliers,\n currentAmount,\n setCurrentAmount,\n errMessageSupplier,\n errMessageAmount,\n formSubmitted,\n loading,\n disabled,\n handleOnClose,\n isMaxAmount\n } = props;\n\n return (\n \n \n Internal Transfers\n
\n
\n \n
\n \n \n \n \n *\n \n \n \n \n {getCurrencySymbol(globalState.merchant?.country)}\n \n  \n \n }\n onValueChange={(values) => {\n const { value } = values;\n setCurrentAmount(value);\n }}\n isAllowed={isMaxAmount}\n aria-describedby=\"outlined-weight-helper-text\"\n labelWidth={0}\n required\n className={styles.amountInput}\n />\n {errMessageAmount && (\n \n {errMessageAmount}\n \n )}\n \n \n \n \n \n *\n \n \n setSupplier(e.target.value)}\n />\n }\n >\n \n {suppliers &&\n suppliers.length > 0 &&\n suppliers.map((sup) => {\n return (\n \n );\n })}\n \n\n {formSubmitted && errMessageSupplier && (\n \n {errMessageSupplier}\n \n )}\n \n setDescription(e.target.value)}\n variant=\"outlined\"\n placeholder=\"Please enter the comments.\"\n />\n \n \n \n \n
\n
\n \n \n \n \n \n {loading ? (\n \n \n \n ) : (\n \n submitInternalTransfer()}\n color=\"primary\"\n disabled={disabled}\n >\n Confirm\n \n \n )}\n \n \n
\n );\n}\n\nInternalTransferSubmissionComponent.propTypes = {\n supplier: PropTypes.string,\n setSupplier: PropTypes.func,\n currentAmount: PropTypes.number,\n setCurrentAmount: PropTypes.func,\n description: PropTypes.string,\n setDescription: PropTypes.func,\n submitInternalTransfer: PropTypes.func,\n show: PropTypes.bool,\n setShow: PropTypes.func,\n receivingDate: PropTypes.string,\n submitWithdrawal: PropTypes.func,\n suppliers: PropTypes.array,\n errMessageSupplier: PropTypes.string,\n errMessageAmount: PropTypes.string,\n formSubmitted: PropTypes.bool\n};\n\nexport default InternalTransferSubmissionComponent;\n","import React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport InternalTransferSubmissionComponent from './internal-transfer-submission.component';\nimport { InternalTransfersService } from 'services';\n// import { useGlobalStateContext } from 'contexts';\nimport { validatePaymentAmount } from 'validators';\nimport { useBalanceContext } from 'contexts';\n\nexport default function InternalTransferSubmission(props) {\n const { availableBalance, refreshBalance } = useBalanceContext();\n const [supplier, setSupplier] = useState('');\n const [description, setDescription] = useState('');\n const [suppliers, setSuppliers] = useState([]);\n const {\n setShow,\n transferAmount,\n setTransferAmount,\n setIsSuccessWithdraw,\n setSuccessMessage,\n show,\n setOpenView\n } = props;\n const [currentAmount, setCurrentAmount] = useState(0);\n const [errMessageSupplier, setErrMessageSupplier] = useState('');\n const [errMessageAmount, setErrMessageAmount] = useState('');\n const [formSubmitted, setFormSubmitted] = useState(false);\n const [loading, setLoading] = useState(false);\n const [disabled, setDisabled] = useState(true);\n\n useEffect(() => {\n const fetchData = async () => {\n const response = await InternalTransfersService.getSuppliers();\n if (response.isSuccesfully) {\n setSuppliers(response.data);\n }\n };\n fetchData();\n }, []);\n\n useEffect(() => {\n setCurrentAmount(transferAmount);\n }, [transferAmount, show]);\n\n useEffect(() => {\n setErrMessageSupplier('');\n setErrMessageAmount('');\n\n // eslint-disable-next-line\n if ((!supplier || supplier == -1) && show) {\n setErrMessageSupplier('Supplier not provided');\n }\n paymentActionValidation();\n // eslint-disable-next-line\n const disable =\n !supplier || supplier === -1 || !currentAmount || validationMessage.message || +currentAmount === 0;\n setDisabled(disable);\n // eslint-disable-next-line\n }, [supplier, description, currentAmount]);\n\n const isValidData = () => {\n return errMessageSupplier === '' && errMessageAmount === '';\n };\n let validationMessage;\n function paymentActionValidation() {\n validationMessage = validatePaymentAmount(availableBalance, currentAmount);\n if (!validationMessage.isValid) {\n setErrMessageAmount(validationMessage.message);\n // eslint-disable-next-line\n } else if (!currentAmount || currentAmount == 0) {\n setErrMessageAmount('Please enter an amount');\n }\n }\n\n const submitInternalTransfer = async () => {\n setFormSubmitted(true);\n\n if (!isValidData()) {\n return false;\n }\n setLoading(true);\n await InternalTransfersService.submitInternalTransfer({\n supplier_id: supplier,\n amount: currentAmount,\n action: 'create',\n description: description\n })\n .then((data) => {\n if (data.isSuccesfully) {\n refreshBalance();\n setShow(false);\n setSupplier(-1);\n setCurrentAmount(0);\n setDescription('');\n setTransferAmount(null);\n setFormSubmitted(false);\n setLoading(false);\n setOpenView(false);\n setSuccessMessage('Supplier payment successful.');\n setIsSuccessWithdraw(true);\n } else {\n setLoading(false);\n }\n })\n .catch(() => setLoading(false));\n };\n const handleOnClose = () => {\n setShow(false);\n setSupplier('');\n setCurrentAmount(0);\n setErrMessageSupplier('');\n setErrMessageAmount('');\n setDescription('');\n setTransferAmount(null);\n };\n const isMaxAmount = (values) => {\n const { value, floatValue } = values;\n const MAX_AMT = 9999999.99;\n\n if (typeof floatValue === 'undefined' || typeof value === 'undefined') {\n return true;\n }\n if (value.charAt(0) === '0') {\n if (value.charAt(1) && value.charAt(1) !== '.') {\n return false;\n }\n }\n if (value > MAX_AMT) {\n return false;\n }\n return true;\n };\n return (\n \n );\n}\n\nInternalTransferSubmission.propTypes = {\n show: PropTypes.bool,\n setShow: PropTypes.func,\n transferAmount: PropTypes.number,\n setTransferAmount: PropTypes.func,\n setIsSuccessWithdraw: PropTypes.func,\n setSuccessMessage: PropTypes.func\n};\n","import React, { useEffect, useState } from 'react';\nimport { PaymentsService } from 'services';\nimport { useGlobalStateContext } from 'contexts';\nconst GrossVolumeGraphComponent = React.lazy(() => import('./gross-volume-graph.component'));\n\nfunction GrossVolumeGraph() {\n const { globalState } = useGlobalStateContext();\n const numOfMonths = 12;\n const numOfDays = 10;\n const today = new Date();\n const [timePeriod, setTimePeriod] = useState('last30days');\n const [chartData, setChartData] = useState([]);\n const [isLoading, setIsLoading] = useState(false);\n const [startDate, setStartDate] = useState(today.setDate(today.getDate() - numOfDays + 1));\n const [dateValue, setDateValue] = useState(new Date());\n const [redrawKey, setRedrawKey] = useState(0);\n\n useEffect(() => {\n const getPaymentsList = async () => {\n setIsLoading(true);\n const data = [];\n if (timePeriod === 'last30days') {\n const date = new Date();\n\n const lastMonthPayments = await PaymentsService.GetPaymentsTotal({\n month: date.getMonth() - 1,\n year: date.getFullYear(),\n via: 'MONTH'\n });\n\n const currentMonthPayments = await PaymentsService.GetPaymentsTotal({\n month: date.getMonth(),\n year: date.getFullYear(),\n via: 'MONTH'\n });\n\n const allPayments = lastMonthPayments?.data?.transactions?.concat(\n currentMonthPayments?.data?.transactions\n );\n\n //On the right side, calculating the day that was 30 days ago.\n const last30DaysPayments = allPayments?.filter(\n (x) => new Date(x.time) > new Date(new Date().setDate(date.getDate() - 30))\n );\n\n for (let i = 1; i <= 30; ++i) {\n const dayName = `${date.getDate().toString()} ${date.toLocaleString('default', {\n month: 'short'\n })}`;\n const dayTransactionsAmount = last30DaysPayments\n ?.filter((x) => new Date(x.time).getDate() === i)\n .map((x) => parseFloat(x.total));\n if (dayTransactionsAmount && dayTransactionsAmount.length > 0) {\n const daySum = dayTransactionsAmount.reduce((x, y) => x + y, 0);\n data.push({ name: dayName, value: daySum });\n date.setDate(date.getDate() + 1);\n }\n data.push({ name: dayName, value: 0 });\n date.setDate(date.getDate() + 1);\n }\n } else if (timePeriod === 'month') {\n const date = new Date();\n date.setFullYear(date.getFullYear() - 1);\n date.setMonth(date.getMonth() + 1);\n\n for (let i = 1; i <= numOfMonths; ++i) {\n const payments = await PaymentsService.GetPaymentsTotal({\n month: date.getMonth() + 1,\n year: date.getFullYear(),\n via: 'MONTH'\n });\n const monthName = date.toLocaleString('default', { month: 'short' });\n data.push({ name: monthName, value: payments.data.total });\n date.setMonth(date.getMonth() + 1);\n }\n } else {\n const date = new Date(startDate);\n\n for (let i = 1; i <= numOfDays; ++i) {\n const payments = await PaymentsService.GetPaymentsTotal({\n day: date.getDate(),\n month: date.getMonth() + 1,\n year: date.getFullYear(),\n via: 'DAY'\n });\n const dayName = `${date.getDate().toString()} ${date.toLocaleString('default', {\n month: 'short'\n })}`;\n data.push({ name: dayName, value: payments.data.total });\n date.setDate(date.getDate() + 1);\n }\n }\n setChartData(data);\n setIsLoading(false);\n };\n\n getPaymentsList();\n }, [timePeriod, startDate]);\n\n const setStartDateHandler = (selectedDate) => {\n const selectedDateTimeStamp = selectedDate.getTime();\n\n const merchantCreationDate = new Date(globalState?.merchant.createdAt);\n const merchantCreationTimeStamp = merchantCreationDate.getTime();\n\n const tenDaysUpToNow = new Date(Date.now() - 10 * 24 * 60 * 60 * 1000);\n const tenDaysUpToNowTimeStamp = tenDaysUpToNow.getTime();\n\n if (selectedDateTimeStamp > merchantCreationTimeStamp && selectedDateTimeStamp < tenDaysUpToNowTimeStamp) {\n setDateValue(new Date(selectedDate));\n setStartDate(selectedDate);\n } else if (selectedDateTimeStamp < merchantCreationTimeStamp) {\n setDateValue(new Date(merchantCreationDate));\n setStartDate(merchantCreationDate);\n } else {\n setDateValue(new Date(tenDaysUpToNow));\n setStartDate(tenDaysUpToNow);\n }\n\n setRedrawKey((v) => v + 1);\n };\n\n return (\n \n );\n}\n\nexport default GrossVolumeGraph;\n","import React from 'react';\nimport styles from './balance-card.module.scss';\nimport { Card, Typography, CardContent, CardActions } from '@material-ui/core';\nimport { formatAmount } from '../../utils/helper';\nimport PropTypes from 'prop-types';\nimport { useGlobalStateContext } from 'contexts';\nimport { getCurrencySymbol, getCountryImage } from 'utils/getCurrencyByCountry';\nimport { DotFlashingLoading } from 'components';\n\nfunction BalanceCardComponent(props) {\n const { globalState } = useGlobalStateContext();\n const { balance, calculateFontSize, balanceIsLoading } = props;\n\n return (\n \n \n \n \n Balance\n \n \"\"\n \n \n \n \n \n {balanceIsLoading ? (\n \n ) : (\n \n \n {getCurrencySymbol(globalState.merchant?.country)}\n \n {formatAmount(balance)}\n \n )}\n \n \n \n \n );\n}\n\nBalanceCardComponent.propTypes = {\n balance: PropTypes.number,\n calculateFontSize: PropTypes.func,\n balanceIsLoading: PropTypes.bool\n};\n\nexport default BalanceCardComponent;\n","import React, { useEffect, useState } from 'react';\nimport BalanceCardComponent from './balance-card.component';\nimport { useBalanceContext, useGlobalStateContext } from 'contexts';\nimport { PaymentsService } from 'services';\n\nfunction BalanceCard(props) {\n const { balance, refreshBalance, balanceIsLoading } = useBalanceContext();\n const { globalState } = useGlobalStateContext();\n const [accountBalance, setAccountBalance] = useState(0);\n const [isLoading, setIsLoading] = useState(true);\n const isStripe = globalState.merchant?.isStripe;\n useEffect(() => {\n const getBalance = async () => {\n const balanceResponse = await PaymentsService.fetchAccountBalance(globalState.merchant?.id);\n if (balanceResponse.isSuccesfully) setAccountBalance(balanceResponse.data.balance);\n setIsLoading(false);\n };\n refreshBalance();\n if (isStripe) {\n setIsLoading(true);\n getBalance();\n }\n\n // eslint-disable-next-line\n }, [globalState.merchant?.id]);\n\n return (\n \n );\n}\n\nexport default BalanceCard;\n","import React from 'react';\nimport styles from './payout-card.module.scss';\nimport { Card, Typography, CardContent, CardActions } from '@material-ui/core';\nimport { formatAmount } from '../../utils/helper';\nimport PropTypes from 'prop-types';\nimport { useGlobalStateContext } from 'contexts';\nimport { getCurrencySymbol } from 'utils/getCurrencyByCountry';\nimport { DotFlashingLoading } from 'components';\nfunction PayoutCardComponent(props) {\n const { globalState } = useGlobalStateContext();\n const { payout, calculateFontSize, loading } = props;\n\n return (\n \n \n \n \n Payouts\n {/* ... */}\n \n \n \n {loading ? (\n
\n \n
\n ) : (\n \n \n {getCurrencySymbol(globalState.merchant?.country)}\n \n {formatAmount(payout)}\n \n )}\n
\n
\n
\n );\n}\n\nPayoutCardComponent.propTypes = {\n payout: PropTypes.number,\n calculateFontSize: PropTypes.func\n};\n\nexport default PayoutCardComponent;\n","import React, { useState, useEffect } from 'react';\nimport PayoutCardComponent from './payout-card.component';\nimport moment from 'moment';\nimport { PayoutsService } from 'services';\nimport { useGlobalStateContext } from 'contexts';\n\nfunction PayoutCard(props) {\n const [payout, setPayout] = useState(0);\n const [loading, setLoading] = useState(true);\n const { globalState } = useGlobalStateContext();\n\n useEffect(() => {\n let sum = 0;\n const getPayout = async () => {\n const date = moment(new Date()).format('YYYY-MM-DD');\n\n const payoutsList = await PayoutsService.getAllPayouts(globalState.merchant?.id, {\n selectedDate: date,\n resellerId: globalState.reseller?.id\n });\n const inBatchPayouts = payoutsList.data?.transaction_data?.not_in_batch;\n\n if (inBatchPayouts) {\n inBatchPayouts.forEach((element) => {\n sum += Number(element.total);\n });\n }\n setPayout(sum * -1);\n setLoading(false);\n };\n const getStripePayout = async () => {\n const merchantId = globalState.merchant?.id;\n const stripePayoutsList = await PayoutsService.getStripePayoutsList({\n merchantId\n });\n stripePayoutsList.isSuccesfully &&\n stripePayoutsList.data.data.forEach((element) => {\n if (element.status === 'in_transit') sum += Number(element.amount);\n });\n setPayout(sum / 100);\n setLoading(false);\n };\n\n globalState.merchant.isStripe ? getStripePayout() : getPayout();\n // eslint-disable-next-line\n }, [globalState.merchant]);\n\n return ;\n}\n\nexport default PayoutCard;\n","import React, { useState, useEffect } from 'react';\nimport moment from 'moment';\nimport NetVolumeCardComponent from './net-volume-card.component';\nimport { PaymentsService } from 'services';\nimport { useGlobalStateContext } from 'contexts';\n\nfunction NetVolumeCard(props) {\n const [netVolume, setNetVolume] = useState(0);\n const { globalState } = useGlobalStateContext();\n\n useEffect(() => {\n const getPaymentsList = async () => {\n const date = new Date();\n const month = moment(date, 'YYYY-MM-DD').month() + 1;\n const year = moment(date, 'YYYY-MM-DD').year();\n\n const paymentsList = await PaymentsService.GetPayments(globalState.merchant?.id, {\n month,\n year\n });\n\n if (paymentsList.isSuccesfully) {\n let sum = 0;\n paymentsList.data.payments.forEach((element) => {\n sum += Number(element.payed);\n });\n setNetVolume(sum);\n }\n };\n\n getPaymentsList();\n }, [globalState.merchant]);\n\n return ;\n}\n\nexport default NetVolumeCard;\n","import React from 'react';\nimport {\n Box,\n CircularProgress,\n Typography,\n Table,\n TableHead,\n TableBody,\n TableRow,\n TableCell,\n Button,\n useMediaQuery,\n Tooltip\n} from '@material-ui/core';\nimport ModalChargebackAction from 'components/modal-chargeback-list-action/modal-chargeback-list-action.container';\nimport FileCopyOutlinedIcon from '@material-ui/icons/FileCopyOutlined';\nimport AddIcon from '@material-ui/icons/Add';\nimport FiberManualRecordTwoToneIcon from '@material-ui/icons/FiberManualRecordTwoTone';\nimport TransactionStatusLabel from '../transaction-tables/transaction-status-label/transaction-status-label.container';\nimport TransactionRefund from '../../transaction/transaction-refund/transaction-refund.container';\nimport {\n filterRefundDescription,\n formatCurrency,\n formatDateTimeByFormatString,\n filterDescription,\n formatAmount,\n merchantTypesEnum\n} from '../../../utils/helper';\nimport styles from './payment-details.module.scss';\nimport { getCurrencySymbol, getCurrencyThreeAlpha } from 'utils/getCurrencyByCountry';\nimport { useGlobalStateContext } from 'contexts';\nimport { SnackBarAndAlert, LoadingScreen } from 'components';\nimport { UserType } from 'utils/enums/UserType';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport { ResellerType } from 'utils/enums/ResellerType';\nimport { cleverTapClick } from '../../../utils/helper';\nimport InfoOutlinedIcon from '@mui/icons-material/InfoOutlined';\nimport { withStyles } from '@material-ui/core/styles';\nimport { AcquirersNameMap } from 'utils/enums/Acquirers';\nimport GitfCardLableChipContainer from '../transaction-tables/gift-card-chip/gift-card-lable-chip.conatiner';\nimport { PaymentProvider } from 'utils/enums/PaymentProvider';\n\nconst Tooltips = withStyles((theme) => ({\n tooltip: {\n backgroundColor: 'white',\n color: 'black',\n padding: '5px',\n maxWidth: '100%',\n\n border: '1px solid black'\n }\n}))(Tooltip);\nconst PaymentsDetailsComponent = (props) => {\n const { globalState } = useGlobalStateContext();\n const {\n loading,\n error,\n payment,\n show,\n setShow,\n handleCopyPaymentId,\n isCopyAlertOpen,\n closeCopyAlert,\n status,\n setOpenModal,\n openModal,\n handleModal,\n setLoading,\n chargebackStatus,\n setChargebackListStatus,\n chargebackListStatus,\n snackbarMessage,\n setSnackbarMessage,\n snackbarMessageType,\n setSnackbarMessageType,\n showSnackbarStatus,\n setShowSnackbarStatus,\n setChargebackStatus,\n defaultchargeback,\n showChargeback,\n setShowChargeback,\n chargebackExists,\n isAddCreditTrannsaction,\n fees,\n chipTexts,\n giftCardExits\n } = props;\n let hidePaymentActions = globalState.merchant?.userRole === 'User';\n const mediaLessThan600px = useMediaQuery('(max-width:599px)');\n const isAdmin =\n globalState.user?.UserType?.name === UserType.Admin || globalState.user?.UserType?.name === UserType.SuperAdmin;\n const isDatmanReseller = globalState.reseller?.name === ResellerType.DATMAN;\n const showAcquirer = isAdmin && isDatmanReseller;\n const noChargeBack = ['ADYEN', 'VOUCHER-CREDIT'];\n const hideSensitiveDetails = globalState?.merchant?.merchantType === merchantTypesEnum.BIG_TABLE;\n\n const TooltipComp = () => {\n return (\n 0 ? (\n fees.map((data) => (\n
\n \n {data.fee_description} :{' '}\n {formatCurrency(\n data.fee_amount,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n \n
\n ))\n ) : (\n
\n \n Datman Fees:\n {formatCurrency(payment.fees, getCurrencyThreeAlpha(globalState.merchant?.country))}\n \n
\n )\n }\n arrow\n placement=\"top\"\n className={styles.toolTip}\n >\n \n \n );\n };\n return (\n \n {loading ? (\n \n \n \n ) : (\n \n {error ? (\n \n An error occurred, please try reloading your browser.\n \n ) : (\n \n
\n
\n
\n
\n
\n \n Payment\n \n {payment.id}\n \n \n \n \n \n {giftCardExits && (\n \n )}\n \n \n {isCopyAlertOpen && (\n \n Successfully copied the payment reference ID.\n \n )}\n
\n
\n \n {getCurrencySymbol(globalState.merchant?.country)}\n \n {formatAmount(payment.total)}\n \n {getCurrencyThreeAlpha(globalState.merchant?.country)}\n \n
\n
\n {Number(payment.total) > 0 &&\n !payment.refund &&\n !isAddCreditTrannsaction &&\n isAdmin &&\n !noChargeBack.includes(payment?.payment_provider) &&\n isDatmanReseller &&\n !giftCardExits && (\n
\n
\n handleModal()}\n disabled={chargebackExists}\n >\n + Add Chargebacks\n \n
\n
\n )}\n
\n
\n {\n //remove false when modify api to get payment method\n false && (\n \n
\n Payment method\n
\n
\n {payment.method}\n
\n
\n )\n }\n {\n //remove false when modify api to get risk parameter\n false && (\n \n
\n Risk\n
\n
\n {payment.risk}\n
\n
\n )\n }\n {hidePaymentActions ||\n payment.total <= 0 ||\n payment.payed <= 0 ||\n !payment.order_id ||\n (payment.payment_status ? payment.payment_status !== 'OK' : false) ||\n payment.payment_provider === AcquirersNameMap.VOUCHER_CREDIT ||\n payment.refund ||\n giftCardExits ? null : (\n \n
\n
\n {\n {\n setShow(true);\n const data = {\n refund_amount: props.payment.total,\n time_stamp: new Date()\n };\n cleverTapClick('Refund_txn_click', globalState, data);\n }}\n disabled={\n globalState.merchant.status === MerchantStatus.WATCHLIST\n }\n >\n Refund\n \n }\n
\n \n
\n )}\n
\n
\n
\n {\n //remove false when modify api to get timeline details method\n false && (\n
\n \n
\n \n Timeline\n \n \n \n \n
\n
\n {payment.timeline &&\n payment.timeline.map((timeline) => {\n return (\n
\n
\n \n {timeline.description}\n
\n \n {formatDateTimeByFormatString(\n timeline.created_at,\n 'DD MMM HH:mm'\n )}\n \n
\n );\n })}\n
\n
\n
\n )\n }\n {mediaLessThan600px ? (\n
\n \n
\n \n Payment details\n \n
\n \n \n \n \n Amount\n \n \n {formatCurrency(\n payment.total,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n \n \n \n \n Fee\n \n \n {formatCurrency(\n payment?.fees,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n {Number(payment?.fees) !== 0 && TooltipComp()}\n \n \n \n \n Net\n \n \n {formatCurrency(\n payment.payed,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n \n \n \n \n Date\n \n \n {formatDateTimeByFormatString(payment.time, 'DD MMM HH:mm')}\n \n \n \n \n Card\n \n \n {payment.last_four_digits ||\n payment.card_last_four_digits ||\n payment.last_4_digits\n ? `********${\n payment.last_four_digits ||\n payment.card_last_four_digits ||\n payment.last_4_digits\n }`\n : `-`}\n \n \n \n \n Description\n \n \n {+payment.total < 0 ? (\n \n {filterRefundDescription(payment.refund) || '-'}\n \n ) : payment.more_info ? (\n filterDescription(payment.more_info)\n ) : payment.description ? (\n payment.description\n ) : (\n \n )}\n \n \n \n \n Status\n \n \n {payment.total <= 0 && payment.refund ? (\n \n ) : (\n \n )}\n \n \n
\n
\n
\n
\n ) : (\n
\n \n
\n \n Payment details\n \n
\n \n \n \n \n {/* Statement description */}\n Amount\n Fee\n Net\n Date\n Card\n Description\n Status\n \n \n \n \n \n {formatCurrency(\n payment.total,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n \n \n \n {formatCurrency(\n payment.fees,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n {(payment?.fees > 0 || payment?.fees < 0) &&\n TooltipComp()}\n \n \n \n \n {formatCurrency(\n payment.payed,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n \n \n \n {formatDateTimeByFormatString(payment.time, 'DD MMM HH:mm')}\n \n \n {payment.last_four_digits ||\n payment.card_last_four_digits ||\n payment.last_4_digits\n ? `********${\n payment.last_four_digits ||\n payment.card_last_four_digits ||\n payment.last_4_digits\n }`\n : `-`}\n \n \n {+payment.total < 0 ? (\n \n {filterRefundDescription(payment.refund) || '-'}\n \n ) : payment.more_info ? (\n filterDescription(payment.more_info)\n ) : payment.description ? (\n payment.description\n ) : (\n \n )}\n \n \n {(payment.total <= 0 && payment.refund) ||\n payment.firstname.includes('Charge back') ? (\n \n ) : (\n \n )}\n \n \n \n
\n
\n
\n
\n )}\n {mediaLessThan600px ? (\n
\n \n
\n \n Customer Details\n \n
\n \n \n \n \n Customer Name\n \n \n {payment.firstname} {payment.lastname}\n \n \n \n \n Customer Address\n \n \n {payment.address}\n \n \n \n \n Customer Email\n \n \n {payment.email || '-'}\n \n \n \n \n Customer Phone Number\n \n \n {payment.phone_number || '-'}\n \n \n
\n
\n
\n
\n ) : (\n
\n \n
\n \n Customer Details\n \n
\n \n \n \n \n {/* Statement description */}\n Customer Name\n Customer Address\n Customer Email\n Customer Phone Number\n \n \n \n \n {/* {payment.statement_description || '-'} */}\n \n {hideSensitiveDetails\n ? 'REDACTED'\n : `${payment.firstname} ${payment.lastname}`}\n \n \n {hideSensitiveDetails\n ? 'REDACTED'\n : payment.address?.trim()}\n \n {payment.email || '-'}\n {payment.phone_number || '-'}\n \n \n
\n
\n
\n
\n )}\n {isAdmin &&\n (mediaLessThan600px ? (\n
\n \n
\n \n Additional Information\n \n
\n \n \n \n \n Transaction Reference\n \n \n {payment.TxnReference ? payment.TxnReference : '-'}\n \n \n \n \n 3DS status\n \n \n {payment.ThreeDsStatus ? payment.ThreeDsStatus : '-'}\n \n \n\n \n \n ShopperID\n \n \n {payment?.shopper_id || '-'}\n \n \n
\n
\n
\n
\n ) : (\n
\n \n
\n \n Additional Information\n \n
\n \n \n \n \n {/* Statement description */}\n Transaction Reference\n {payment.payment_provider !== 'ADYEN' && showAcquirer && (\n Acquirer ID\n )}\n 3DS Status\n ShopperID\n \n \n \n \n {/* {payment.statement_description || '-'} */}\n \n {payment.TxnReference ? payment.TxnReference : '-'}\n \n\n {/* HardCoding Temporarily */}\n {payment.payment_provider !== 'ADYEN' && showAcquirer && (\n {payment.payment_provider}\n )}\n \n {payment.ThreeDsStatus ? payment.ThreeDsStatus : '-'}\n \n {payment?.shopper_id || '-'}\n \n \n
\n
\n
\n
\n ))}\n {snackbarMessage && (\n setSnackbarMessage('')}\n >\n {snackbarMessage}\n \n )}\n \n \n
\n )}\n
\n )}\n
\n );\n};\n\nexport default PaymentsDetailsComponent;\n","import React, { useEffect, useState } from 'react';\nimport PaymentDetailsComponent from './payment-details.component';\nimport { PaymentStatus } from 'utils/enums/PaymentStatus';\nimport { useGlobalStateContext } from 'contexts';\nimport { AdminService } from 'services';\nimport paymentsService from 'services/payments.service';\nimport { UserType } from 'utils/enums/UserType';\nimport { PaymentProvider } from 'utils/enums/PaymentProvider';\nimport { getChipLabel } from 'utils/getGiftCardStatus';\nimport _ from 'lodash';\n\nfunction PaymentDetailsContainer(props) {\n const { transactionId } = props;\n const [payment, setPayment] = useState(null);\n const [error, setError] = useState(false);\n const [loading, setLoading] = useState(true);\n const [show, setShow] = useState(false);\n const [status, setStatus] = useState(null);\n const [isCopyAlertOpen, setIsCopyAlertOpen] = useState(false);\n const [openModal, setOpenModal] = useState(false);\n const [chargebackStatus, setChargebackStatus] = useState({});\n const [chargebackTransactionId, setChargebackTransactionId] = useState('');\n const [showSnackbarStatus, setShowSnackbarStatus] = useState(false);\n const [snackbarMessage, setSnackbarMessage] = useState('');\n const [snackbarMessageType, setSnackbarMessageType] = useState('');\n const [chargebackListStatus, setChargebackListStatus] = useState('');\n const [showChargeback, setShowChargeback] = useState(false);\n const [chargebackExists, setChargebackExists] = useState(false);\n const [transactionMap, setTransactionMap] = useState('');\n const [fees, setFees] = useState([]);\n const { globalState } = useGlobalStateContext();\n const merchantId = globalState?.merchant?.id;\n\n let giftCardEnable = _.pick(props?.payment, ['TxnReference', 'provider', 'origin', 'payment_status', 'total']);\n let chipTexts = getChipLabel(giftCardEnable);\n let giftCardExits =\n props.payment.provider === PaymentProvider.GIFT_CARD ||\n giftCardEnable.TxnReference?.startsWith('OGC') ||\n giftCardEnable.TxnReference?.startsWith('GC');\n useEffect(() => {\n const getPayment = async () => {\n //const response = await TransactionsService.getPayemntDetails(referenceId);\n if (props.payment) {\n //const details = response.data.data;\n setPayment(props.payment);\n setStatus(\n props.payment.payment_status\n ? PaymentStatus[props.payment.payment_status]\n : props.payment.status && 'Success'\n );\n setTransactionMap(props.payment.TransactionMap);\n } else {\n setError(true);\n }\n };\n getPayment();\n });\n useEffect(() => {\n const fetchChargeback = async () => {\n setLoading(true);\n if (globalState.user.UserType === UserType.Admin || globalState.user.UserType === UserType.SuperAdmin) {\n const response = await AdminService.fetchChargeback({\n transaction_id: props.payment.id,\n customer_id: merchantId.toString()\n });\n\n if (response.isSuccesfully) {\n setChargebackExists(response.data ? true : false);\n } else {\n setChargebackExists(false);\n }\n }\n const feeResponse = await paymentsService.GetSplitFee({\n payment_id: props.payment.id,\n payment_provider: props.payment.payment_provider.toString(),\n transactionMap: props.payment.TransactionMap,\n refunded: props.payment.total <= 0 && props.payment.refund ? true : false\n });\n if (feeResponse.isSuccesfully) {\n props?.payment?.refund?.includes('Partial Refund') && props?.payment?.total <= 0\n ? setFees([])\n : setFees(feeResponse.data.data);\n } else {\n setFees([]);\n }\n setLoading(false);\n };\n\n fetchChargeback();\n //eslint-disable-next-line\n }, []);\n const handleModal = () => {\n setOpenModal(true);\n };\n const handleCopyPaymentId = () => {\n navigator.clipboard.writeText(payment.id);\n setIsCopyAlertOpen(true);\n };\n\n const closeCopyAlert = () => {\n setIsCopyAlertOpen(false);\n };\n\n let isAddCreditTrannsaction = (\n props.payment?.firstname?.toString() +\n ' ' +\n props.payment?.lastname?.toString()\n ).includes('Datman credit');\n return (\n \n );\n}\n\nexport default PaymentDetailsContainer;\n","import React from 'react';\nimport {\n Box,\n CircularProgress,\n Typography,\n Table,\n TableHead,\n TableBody,\n TableRow,\n TableCell,\n Badge,\n Tooltip,\n Button,\n TableFooter,\n TablePagination\n} from '@material-ui/core';\nimport FileCopyOutlinedIcon from '@material-ui/icons/FileCopyOutlined';\nimport TransactionStatusLabel from '../transaction-tables/transaction-status-label/transaction-status-label.container';\nimport { formatCurrency, formatDateTimeByFormatString } from '../../../utils/helper';\nimport styles from './payout-details.module.scss';\nimport { getCurrencyThreeAlpha } from 'utils/getCurrencyByCountry';\nimport { useGlobalStateContext } from 'contexts';\nimport { SnackBarAndAlert, ModalFormConfirmation } from 'components';\nimport { withStyles } from '@material-ui/core/styles';\nimport { ModalExportReport } from 'components';\nimport { AcquirersNameMap } from 'utils/enums/Acquirers';\nimport { HighlightOff } from '@material-ui/icons';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { UserType } from 'utils/enums/UserType';\nimport { CheckMerchantCountries } from 'components/onboarding/onboarding-ui-components/check-merchant-countries/check-merchant-countries';\nconst StyledBadge = withStyles({\n badge: {\n background: 'rgb(202, 245, 201)',\n color: 'rgb(41, 122, 93);',\n transform: 'scale(1) translate(100%, -100%)'\n }\n})(Badge);\n\nconst StyledToolTip = withStyles((theme) => ({\n tooltip: {\n background: 'rgb(202, 245, 201)',\n color: 'rgb(41, 122, 93)',\n fontSize: '0.75rem',\n transform: 'translate(20%, -55%) !important',\n padding: '2px 6px'\n }\n}))(Tooltip);\n\nconst PayoutDetailsComponent = (props) => {\n const { globalState } = useGlobalStateContext();\n const {\n loading,\n error,\n payouts,\n handleCopyBatchId,\n isCopyAlertOpen,\n closeCopyAlert,\n nextExpectedDate,\n type,\n csvData,\n setShowReportModel,\n showReportModel,\n onCancelExport,\n onConfirmExport,\n via,\n date,\n payoutStartDate,\n payoutEndDate,\n page,\n handleChangeRowsPerPage,\n handleChangePage,\n rowsPerPage,\n open,\n setOpen,\n onSubmit,\n setPaymentId,\n paymentId,\n snackbar,\n message,\n handleClose\n } = props;\n\n const dateLabel =\n payouts?.provider === AcquirersNameMap['CARDSTREAM-CH'] || payouts?.provider === AcquirersNameMap['ADYEN']\n ? 'Transaction time'\n : 'Date requested';\n const bankAccountTableLabel =\n globalState?.merchant?.country === MerchantCountries.IRELAND ? 'IBAN' : 'Bank account number';\n const sortCodeLabel =\n globalState?.merchant?.country === MerchantCountries.UNITED_KINGDOM\n ? 'Sort code'\n : globalState?.merchant?.country === MerchantCountries.AUSTRALIA\n ? 'BSB code'\n : globalState?.merchant?.country === MerchantCountries.UNITED_STATES\n ? 'Routing number'\n : 'Transit number';\n const dateField =\n payouts?.provider === AcquirersNameMap['CARDSTREAM-CH'] || props.payouts?.provider === AcquirersNameMap['ADYEN']\n ? 'transaction_time'\n : type === 'IN-BATCH'\n ? 'date_issued'\n : 'date_requested';\n const rowKeyField = type === 'IN-BATCH' ? 'batch_item_id' : 'rowKeyIndex';\n const isUkMerchant =\n globalState.merchant?.country === MerchantCountries.UNITED_KINGDOM ||\n globalState.merchant?.country === MerchantCountries.IRELAND;\n const isSuperAdmin = globalState.user?.UserType?.name === UserType.SuperAdmin;\n const isAdmin = globalState.user?.UserType?.name === UserType.Admin || isSuperAdmin;\n return (\n \n {loading ? (\n \n \n \n ) : (\n \n {error ? (\n \n An error occurred, please try reloading your browser.\n \n ) : (\n \n
\n
\n
\n
\n \n Payout\n {payouts?.batch_id && (\n \n {payouts.batch_id}\n \n \n \n \n )}\n \n {isCopyAlertOpen && (\n \n Successfully copied the payout batch id.\n \n )}\n
\n
\n \n {formatCurrency(\n payouts.total,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n \n \n {getCurrencyThreeAlpha(globalState.merchant?.country)}\n \n \n {payouts.status ? (\n payouts.not_received ? (\n \n ) : (\n \n )\n ) : (\n \n )}\n \n
\n
\n {nextExpectedDate && (\n
\n \n
Date expected
\n
\n {formatDateTimeByFormatString(nextExpectedDate, 'DD MMM HH:mm')}\n
\n
\n
\n )}\n
\n
\n\n
\n \n
\n \n Payout details\n \n \n setShowReportModel(true)}\n >\n Export\n \n \n
\n \n \n \n \n Amount\n {dateLabel}\n {isAdmin && (\n <>\n \n {payouts?.status ? (\n \n {bankAccountTableLabel}\n \n ) : null}\n \n \n {payouts?.status ? (\n {sortCodeLabel}\n ) : null}\n \n \n )}\n\n {isUkMerchant &&\n isSuperAdmin &&\n payouts.provider === AcquirersNameMap.DATMAN &&\n !payouts.status && (\n More options\n )}\n \n \n \n {(rowsPerPage > 0\n ? payouts.batch_items.slice(\n page * rowsPerPage,\n page * rowsPerPage + rowsPerPage\n )\n : payouts.batch_items\n ).map((row) => {\n return (\n \n \n {formatCurrency(\n row.total,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n \n \n {row[dateField] ? (\n formatDateTimeByFormatString(\n row[dateField],\n 'DD MMM HH:mm'\n )\n ) : (\n \n )}\n \n \n \n \n\n {isAdmin && (\n <>\n \n {payouts?.status ? (\n \n {payouts.account_number ? (\n payouts.account_number\n ) : (\n \n )}\n \n ) : null}\n \n \n {payouts?.status ? (\n \n {payouts.sort_code ? (\n payouts.sort_code\n ) : (\n \n )}\n \n ) : null}\n \n \n )}\n {isUkMerchant &&\n isSuperAdmin &&\n payouts.provider === AcquirersNameMap.DATMAN &&\n !payouts.status && (\n \n {\n setOpen(true);\n setPaymentId(row.paymentId);\n }}\n />\n \n )}\n \n );\n })}\n \n \n \n {payouts.batch_items.length ? (\n \n ) : null}\n \n \n \n \n \n Transactions:\n \n {payouts.batch_items.length}\n \n \n \n \n \n \n
\n
\n
\n
\n {open && (\n {\n onSubmit(paymentId);\n }}\n buttonText={'Confirm'}\n modalText={`Are you sure you want to delete this record ?`}\n />\n )}\n {showReportModel ? (\n \n ) : null}\n {message && (\n \n {snackbar.message}\n \n )}\n
\n )}\n
\n )}\n
\n );\n};\n\nexport default PayoutDetailsComponent;\n","import React, { useEffect, useState } from 'react';\nimport PayoutDetailsComponent from './payout-details.component';\nimport _ from 'lodash';\nimport { getCurrencyThreeAlpha } from 'utils/getCurrencyByCountry';\nimport { formatDateTimeByFormatString, formatAmount } from 'utils/helper';\nimport { useGlobalStateContext, useBalanceContext } from 'contexts';\nimport moment from 'moment';\nimport { AcquirersNameMap } from 'utils/enums/Acquirers';\nimport { PayoutsService } from 'services';\nimport browserHistory from 'browserHistory';\nfunction PayoutDetailsContainer(props) {\n const { batchId, type, date } = props;\n const { setReplaceRoute, globalState } = useGlobalStateContext();\n const [payouts, setPayouts] = useState([]);\n const [nextExpectedDate, setNextExpectedDate] = useState(null);\n const [error, setError] = useState(false);\n const [loading, setLoading] = useState(true);\n const [show, setShow] = useState(false);\n const [isCopyAlertOpen, setIsCopyAlertOpen] = useState(false);\n const [csvData, setCSVData] = useState([]);\n const [showReportModel, setShowReportModel] = useState(false);\n const [payoutStartDate, setPayoutStartDate] = useState('');\n const [payoutEndDate, setPayoutEndDate] = useState('');\n const [rowsPerPage, setRowsPerPage] = useState(20);\n const [page, setPage] = useState(0);\n const [paymentId, setPaymentId] = useState(null);\n const [open, setOpen] = useState(false);\n const { refreshBalance } = useBalanceContext();\n const [snackbar, SetSnackbar] = useState({ type: '', message: '' });\n const [message, setMessage] = useState(false);\n\n useEffect(() => {\n const getPayout = async () => {\n if (props.payouts) {\n setPayouts(props.payouts);\n let currenySymbol = getCurrencyThreeAlpha(globalState?.merchant?.country);\n const length = props.payouts.batch_items?.length;\n let payoutDetailsData = [];\n let dateLabel =\n props.payouts?.provider === AcquirersNameMap['CARDSTREAM-CH'] ||\n props.payouts?.provider === AcquirersNameMap['ADYEN']\n ? 'Transaction Time'\n : 'Date Requested';\n\n let dateField =\n props.payouts?.provider === AcquirersNameMap['CARDSTREAM-CH'] ||\n props.payouts?.provider === AcquirersNameMap['ADYEN']\n ? 'transaction_time'\n : type === 'IN-BATCH'\n ? 'date_issued'\n : 'date_requested';\n\n payoutDetailsData = _.map(props.payouts.batch_items, (payouts) => {\n const dateRequested =\n (payouts.provider === AcquirersNameMap.DATMAN ||\n props.payouts?.provider === AcquirersNameMap['CARDSTREAM-CH'] ||\n props.payouts?.provider === AcquirersNameMap['ADYEN']) &&\n payouts[dateField]\n ? formatDateTimeByFormatString(payouts[dateField], 'DD MMM HH:mm')\n : '--';\n return {\n Amount: `${currenySymbol.toString()} ${formatAmount(payouts.total)}`,\n [dateLabel]: dateRequested\n };\n });\n\n if (\n (props.payouts?.provider === AcquirersNameMap.DATMAN ||\n props.payouts?.provider === AcquirersNameMap['CARDSTREAM-CH'] ||\n props.payouts?.provider === AcquirersNameMap['ADYEN']) &&\n props.payouts.batch_items.length > 0\n ) {\n setPayoutEndDate(props.payouts?.batch_items[0][dateField]);\n setPayoutStartDate(props.payouts?.batch_items[length - 1][dateField]);\n } else {\n setPayoutEndDate(moment(date).endOf('month').format('YYYY-MM-DD'));\n setPayoutStartDate(moment(date).startOf('month').format('YYYY-MM-DD'));\n }\n setCSVData(payoutDetailsData);\n setNextExpectedDate(props.nextExpectedDate);\n } else {\n setError(true);\n }\n setLoading(false);\n };\n getPayout();\n // eslint-disable-next-line\n }, [payouts]);\n\n const handleCopyBatchId = () => {\n navigator.clipboard.writeText(payouts?.batch_id);\n setIsCopyAlertOpen(true);\n };\n\n const closeCopyAlert = () => {\n setIsCopyAlertOpen(false);\n };\n\n const onCancelExport = () => {\n setShowReportModel(false);\n };\n const onConfirmExport = () => {\n setShowReportModel(false);\n };\n const handleChangePage = (event, newPage) => {\n setPage(newPage);\n };\n\n const handleChangeRowsPerPage = (event) => {\n setRowsPerPage(parseInt(event.target.value, 10));\n\n // setRowsPerPage(parseInt(event.target.value, 20));\n };\n\n const onSubmit = async (paymentId) => {\n setLoading(true);\n\n const payload = {\n payment_id: paymentId,\n user_deleted: `${globalState?.user?.firstName} ${globalState?.user?.lastName}`\n };\n const response = await PayoutsService.DeletePayoutTransaction(payload);\n\n if (response.isSuccesfully) {\n refreshBalance();\n const payoutData = [...payouts.batch_items];\n\n let index;\n let amount;\n payoutData.forEach((e, i) => {\n if (e.paymentId === paymentId) {\n index = i;\n amount = e.total;\n }\n });\n index !== -1 && payoutData.splice(index, 1);\n payoutData.length === 0 && browserHistory.goBack();\n setPayouts({ ...payouts, batch_items: payoutData, total: payouts.total - amount });\n setReplaceRoute(`/payout-details/${batchId}`, {\n ...props,\n payouts: { ...props.payouts, batch_items: payoutData, total: payouts.total - amount }\n });\n\n SetSnackbar({ type: 'success', message: response.data?.message });\n } else {\n SetSnackbar({ type: 'error', message: response.data?.message });\n }\n setOpen(false);\n setLoading(false);\n setMessage(true);\n };\n const handleClose = (event, reason) => {\n if (reason === 'clickaway') {\n setMessage(false);\n }\n };\n return (\n \n );\n}\n\nexport default PayoutDetailsContainer;\n","import React from 'react';\nimport { makeStyles } from '@material-ui/core/styles';\nimport {\n Box,\n Table,\n TableBody,\n TableCell,\n TableRow,\n Typography,\n CircularProgress,\n Button,\n TableFooter,\n TablePagination\n} from '@material-ui/core';\nimport TableHeader from '../../transaction-tables/table-header/table-header.container';\nimport { formatCurrency, formatDateTimeByFormatString } from 'utils/helper';\nimport { getCurrencyThreeAlpha } from 'utils/getCurrencyByCountry';\nimport { useGlobalStateContext } from 'contexts';\nimport moment from 'moment';\nimport { ModalExportReport } from 'components';\nimport styles from './stripe-payouts-summary-and-transactions.module.scss';\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n width: '100%'\n },\n paper: {\n width: '100%',\n marginBottom: theme.spacing(2),\n boxShadow: 'none'\n },\n container: {\n 'overflow-y': 'visible'\n },\n tableRow: {\n '&$selected, &$selected:hover': {\n backgroundColor: '#e4e1fe'\n }\n },\n selected: {},\n visuallyHidden: {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: 1,\n margin: -1,\n padding: 0,\n position: 'absolute',\n top: 20,\n width: 1\n },\n checkbox: {\n color: '#8783b5'\n },\n 'MuiIconButton-root': {\n padding: '0px 12px'\n }\n}));\n\nconst StripePayoutsSummaryAndTransactionsComponents = (props) => {\n const {\n summaryTableHeaders,\n transactionsTableHeaders,\n transactions,\n summary,\n totalPayouts,\n loading,\n csvData,\n setShowReportModel,\n showReportModel,\n onCancelExport,\n onConfirmExport,\n via,\n date,\n payoutStartDate,\n payoutEndDate,\n page,\n handleChangeRowsPerPage,\n handleChangePage,\n rowsPerPage\n } = props;\n let count = 0;\n const classes = useStyles();\n const { globalState } = useGlobalStateContext();\n\n return (\n \n {loading ? (\n \n \n \n ) : (\n
\n
\n \n
\n \n Summary\n \n
\n \n \n \n \n {summary.map((row) => (\n \n {row.label}\n {row.count}\n \n {formatCurrency(\n row?.gross / 100,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n \n \n {formatCurrency(\n row?.fees / 100,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n \n \n {formatCurrency(\n row.total / 100,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n \n \n ))}\n \n \n Payouts\n \n \n \n {formatCurrency(\n totalPayouts / 100,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n \n \n \n \n \n \n
\n
\n
\n \n
\n \n Transactions\n \n \n setShowReportModel(true)}\n >\n Export\n \n \n
\n\n \n \n \n \n {(rowsPerPage > 0\n ? transactions.slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage)\n : transactions\n ).map((transaction) => {\n if (transaction.type !== 'payout') {\n count++;\n return (\n \n \n {transaction.type}\n \n \n {formatCurrency(\n transaction.amount / 100,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n \n \n {formatCurrency(\n transaction.fee / 100,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n \n \n {formatCurrency(\n transaction.net / 100,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n \n \n {formatDateTimeByFormatString(\n moment.unix(transaction.created),\n 'DD MMM'\n )}\n \n \n );\n }\n return null;\n })}\n \n \n \n {transactions.length > rowsPerPage ? (\n \n ) : null}\n \n \n \n \n \n Transactions:\n {count}\n \n \n \n \n \n \n \n
\n
\n
\n )}\n {showReportModel ? (\n \n ) : null}\n
\n );\n};\n\nexport default StripePayoutsSummaryAndTransactionsComponents;\n","export const PayoutsSummaryTypes = {\n charge: 'Charge',\n payment: 'Charge',\n refund: 'Refund',\n payment_refund: 'Refund',\n payout_cancel: 'Payout Reversal',\n payout_failure: 'Payout Reversal',\n transfer: 'Transfer',\n recipient_transfer: 'Transfer',\n transfer_cancel: 'Transfer reversal',\n transfer_failure: 'Transfer reversal',\n recipient_transfer_cancel: 'Transfer reversal',\n recipient_transfer_failure: 'Transfer reversal'\n};\n","import React, { useEffect, useState } from 'react';\nimport StripePayoutsSummaryAndTransactionsComponents from './stripe-payouts-summary-and-transactions.component';\nimport moment from 'moment';\nimport { formatDateTimeByFormatString, toTitleCase } from 'utils/helper';\nimport { PayoutsSummaryTypes } from '../../../../utils/enums/PayoutsSummaryTypes';\nimport { getCurrencyThreeAlpha } from 'utils/getCurrencyByCountry';\nimport { useGlobalStateContext } from 'contexts';\n\nconst StripePayoutsSummaryAndTransactions = (props) => {\n const { transactions, loading, id, date } = props;\n const [summary, setSummary] = useState([]);\n const [totalPayouts, setTotalPayouts] = useState(0);\n const [csvData, setCSVData] = useState([]);\n const [showReportModel, setShowReportModel] = useState(false);\n const [payoutStartDate, setPayoutStartDate] = useState('');\n const [payoutEndDate, setPayoutEndDate] = useState('');\n const [rowsPerPage, setRowsPerPage] = useState(5);\n const [page, setPage] = useState(0);\n\n const onCancelExport = () => {\n setShowReportModel(false);\n };\n const onConfirmExport = () => {\n setShowReportModel(false);\n };\n const { globalState } = useGlobalStateContext();\n\n useEffect(() => {\n const stripeTransactionSummary = () => {\n const transactionSummary = [\n { label: 'Charges', count: 0, gross: 0, fees: 0, total: 0, type: 'payment' },\n { label: 'Refunds', count: 0, gross: 0, fees: 0, total: 0, type: 'payment_refund' },\n { label: 'Adjustments', count: 0, gross: 0, fees: 0, total: 0, type: 'adjustment' }\n ];\n\n transactions.map((transaction) => {\n if (transaction.type !== 'payout') {\n const index = transactionSummary.findIndex((row) => row.type === transaction.type);\n\n if (index >= 0) {\n transactionSummary[index].count = transactionSummary[index].count + 1;\n transactionSummary[index].gross = transactionSummary[index].gross + transaction.amount;\n transactionSummary[index].fees = transactionSummary[index].fees + transaction.fee;\n transactionSummary[index].total =\n transactionSummary[index].total + transaction.amount - transaction.fee;\n } else {\n const summaryObject = {\n label: PayoutsSummaryTypes[transaction.type],\n count: 1,\n gross: transaction.amount,\n fees: transaction.fee,\n total: transaction.amount - transaction.fee,\n type: transaction.type\n };\n transactionSummary.push(summaryObject);\n }\n }\n return null;\n });\n\n const total = transactionSummary.reduce((total, row) => row.total + total, 0);\n setSummary(transactionSummary);\n setTotalPayouts(total);\n };\n let data = transactions\n .filter((transaction) => transaction.type !== 'payout')\n .map((transaction) => {\n return {\n Currency: getCurrencyThreeAlpha(globalState.merchant?.country),\n Gross: transaction.amount / 100,\n Fee: transaction.fee / 100,\n Net: transaction.net / 100,\n Date: formatDateTimeByFormatString(moment.unix(transaction.created), 'YYYY-MM-DD HH:mm'),\n Type: toTitleCase(transaction.type)\n };\n });\n setPayoutEndDate(moment.unix(date).endOf('month').format('YYYY-MM-DD'));\n setPayoutStartDate(moment.unix(date).startOf('month').format('YYYY-MM-DD'));\n stripeTransactionSummary();\n setCSVData(data);\n }, [transactions, date, globalState.merchant.country]);\n\n const summaryTableHeaders = [\n { id: 'type', numeric: false, disablePadding: false, hideSortingIcon: true },\n { id: 'count', numeric: true, disablePadding: false, label: 'Count', hideSortingIcon: true, rightAlign: true },\n { id: 'gross', numeric: false, disablePadding: false, label: 'Gross', hideSortingIcon: true, rightAlign: true },\n { id: 'fees', numeric: false, disablePadding: false, label: 'Fees', hideSortingIcon: true, rightAlign: true },\n { id: 'total', numeric: false, disablePadding: false, label: 'Total', hideSortingIcon: true, rightAlign: true }\n ];\n const transactionsTableHeaders = [\n { id: 'type', numeric: false, disablePadding: false, label: 'Type', hideSortingIcon: true },\n { id: 'gross', numeric: false, disablePadding: false, label: 'Gross', hideSortingIcon: true, rightAlign: true },\n { id: 'fees', numeric: false, disablePadding: false, label: 'Fees', hideSortingIcon: true, rightAlign: true },\n { id: 'total', numeric: false, disablePadding: false, label: 'Total', hideSortingIcon: true, rightAlign: true },\n { id: 'date', numeric: false, disablePadding: false, label: 'Date', hideSortingIcon: true }\n ];\n const handleChangePage = (event, newPage) => {\n setPage(newPage);\n };\n\n const handleChangeRowsPerPage = (event) => {\n setRowsPerPage(parseInt(event.target.value, 2.5));\n setPage(0);\n };\n return (\n \n );\n};\n\nexport default StripePayoutsSummaryAndTransactions;\n","import React from 'react';\nimport styles from './stripe-payout-details.module.scss';\nimport { Grid, Typography, Box } from '@material-ui/core';\nimport TransactionStatusLabel from '../transaction-tables/transaction-status-label/transaction-status-label.container';\nimport { formatCurrency, formatDateTimeByFormatString } from 'utils/helper';\nimport moment from 'moment';\nimport PropTypes from 'prop-types';\nimport StripePayoutsSummaryAndTransactions from './stripe-payouts-summary-and-transactions/stripe-payouts-summary-and-transactions.container';\nimport { getCurrencyThreeAlpha } from 'utils/getCurrencyByCountry';\nimport { useGlobalStateContext } from 'contexts';\n\nexport default function StripePayoutDetailsComponent(props) {\n const { globalState } = useGlobalStateContext();\n\n const { payouts, overViewFee, transactions, loading, date } = props;\n return (\n \n
\n
\n
\n
\n
\n \n Payout\n \n
\n \n {formatCurrency(\n payouts.amount / 100,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n \n \n \n \n
\n
\n
\n \n
Date expected
\n
\n {formatDateTimeByFormatString(\n moment.unix(payouts.arrival_date),\n 'DD MMM HH:mm'\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n \n Overview\n \n
\n
\n \n \n \n \n Date Paid\n Amount\n Fee\n \n \n \n {formatDateTimeByFormatString(moment.unix(payouts.created), 'DD MMM HH:mm')}\n \n \n {formatCurrency(\n payouts.amount / 100,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n \n \n {formatCurrency(\n overViewFee / 100,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n \n \n \n \n \n
\n \n
\n
\n
\n );\n}\n\nStripePayoutDetailsComponent.propTypes = {\n payouts: PropTypes.object,\n overViewFee: PropTypes.number\n};\n","import React, { useEffect, useState } from 'react';\nimport StripePayoutDetailsComponent from './stripe-payout-details.component';\nimport { PayoutsService } from 'services';\nimport _ from 'lodash';\nimport PropTypes from 'prop-types';\nimport { useGlobalStateContext } from 'contexts';\n\nexport default function StripePayoutDetailsContainer(props) {\n const { globalState } = useGlobalStateContext();\n const { batchId, payouts } = props;\n const [overViewFee, setOverViewFee] = useState(0);\n const [transactions, setTransactions] = useState([]);\n const [loading, setLoading] = useState(false);\n const date = props.location.state.payouts.created;\n useEffect(() => {\n const stripePayoutTransactions = async () => {\n const transactionsList = await PayoutsService.getStripePayoutTransactions({\n payoutId: payouts.id,\n merchantId: globalState.merchant?.id\n });\n const transactionData = transactionsList.data.data;\n if (transactionData) {\n setTransactions(transactionData);\n let result = _.find(transactionData, function (element) {\n if (element.type === 'payout') {\n return true;\n }\n });\n setOverViewFee(result.fee);\n } else {\n setOverViewFee(0);\n }\n setLoading(false);\n };\n setLoading(true);\n stripePayoutTransactions();\n }, [payouts, globalState.merchant.id]);\n\n return (\n \n );\n}\n\nStripePayoutDetailsContainer.propTypes = {\n payouts: PropTypes.object\n};\n","import React from 'react';\nimport styles from './contract-rent.module.scss';\nimport {\n Button,\n Grid,\n OutlinedInput,\n NativeSelect,\n FormControlLabel,\n Radio,\n RadioGroup,\n useMediaQuery\n} from '@material-ui/core';\nimport { Input, Label, FormItem } from 'components/onboarding/onboarding-ui-components';\nimport NumberFormat from 'react-number-format';\nimport PropTypes from 'prop-types';\nimport { useGlobalStateContext } from 'contexts';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\n\nfunction ContractRentComponent(props) {\n const {\n contractRentDetails,\n setContractRentDetails,\n contractRentUpdate,\n contractBtn,\n contractLengthMaxValue,\n isMaxSetupFee,\n noticePeriodMaxValue\n } = props;\n const mediaLessThan600px = useMediaQuery('(max-width:599px)');\n const { globalState } = useGlobalStateContext();\n const isMerchantAccountClosed = globalState.merchant?.status === MerchantStatus.CLOSED;\n\n return (\n \n \n \n \n \n \n
\n \n *\n
\n \n setContractRentDetails({\n ...contractRentDetails,\n contract_rent: e.target.value\n })\n }\n />\n
\n
\n \n \n
\n \n *\n
\n \n setContractRentDetails({\n ...contractRentDetails,\n contract_length: e.target.value\n })\n }\n />\n
\n
\n \n \n
\n \n *\n
\n \n setContractRentDetails({\n ...contractRentDetails,\n notice_period: e.target.value\n })\n }\n />\n
\n
\n \n \n \n \n
\n \n *\n
\n
\n \n \n setContractRentDetails({\n ...contractRentDetails,\n setup_fee: e.target.value\n })\n }\n >\n } label=\"0\" />\n } label=\"150\" />\n } label=\"300\" />\n \n \n
\n \n \n \n setContractRentDetails({\n ...contractRentDetails,\n setup_fee: e.target.value\n })\n }\n />\n \n
\n \n \n
\n {' '}\n *\n
\n \n setContractRentDetails({\n ...contractRentDetails,\n setup_charged: JSON.parse(e.target.value)\n })\n }\n />\n }\n >\n \n \n \n
\n
\n
\n
\n \n \n \n \n \n \n setContractRentDetails({\n ...contractRentDetails,\n extra_comments: e.target.value\n })\n }\n >\n \n \n \n \n \n \n setContractRentDetails({\n ...contractRentDetails,\n services_description: e.target.value\n })\n }\n >\n \n \n \n \n
\n\n \n \n Update\n \n \n \n );\n}\nexport default ContractRentComponent;\nContractRentComponent.propTypes = {\n contractRentDetails: PropTypes.object,\n setContractRentDetails: PropTypes.func,\n contractRentUpdate: PropTypes.func,\n contractBtn: PropTypes.bool\n};\n","import React from 'react';\nimport ContractRentComponent from './contract-rent.component';\nimport PropTypes from 'prop-types';\n\nfunction ContractRent(props) {\n const initialTermOptions = [...Array(13).keys()];\n initialTermOptions.shift();\n const contractLengthMaxValue = (inputObj) => {\n const { value } = inputObj;\n if (value <= 12) return true;\n return false;\n };\n const noticePeriodMaxValue = (inputObj) => {\n const { value } = inputObj;\n if (value <= 30) return true;\n return false;\n };\n\n const isMaxSetupFee = (values) => {\n const { value, floatValue } = values;\n const MAX_FEE = 999.0;\n const MIN_FEE = 0;\n\n if (typeof floatValue === 'undefined' || typeof value === 'undefined') {\n return true;\n }\n if (value.charAt(0) === '0') {\n if (value.charAt(1) && value.charAt(1) !== '.') {\n return false;\n }\n }\n if (value > MAX_FEE) {\n return false;\n }\n if (value < MIN_FEE) {\n return false;\n }\n return true;\n };\n const { contractRentDetails, setContractRentDetails, contractRentUpdate, contractBtn } = props;\n\n return (\n \n );\n}\n\nexport default ContractRent;\nContractRent.propTypes = {\n contractRentDetails: PropTypes.object,\n setContractRentDetails: PropTypes.func,\n contractRentUpdate: PropTypes.func,\n contractBtn: PropTypes.bool\n};\n","import React from 'react';\n\nimport {\n Paper,\n Typography,\n makeStyles,\n Table,\n TableBody,\n TableContainer,\n TableHead,\n TableRow,\n TableCell,\n Button\n} from '@material-ui/core';\nimport { MoreVert, Search, UnfoldMore, InfoOutlined } from '@material-ui/icons';\nimport style from './pending-customer-info.module.scss';\nimport LoadingScreen from 'components/loading-screen/loading-screen.container';\n\nconst useStyles = makeStyles({\n table: {\n minWidth: 650\n }\n});\n\nfunction PendingCustomerInfoComponent({ rows, isLoading }) {\n const classes = useStyles();\n return (\n <>\n \n
\n \n Pending customers\n \n\n \n \n \n \n
\n\n \n \n \n \n Merchant id \n \n \n Store merchant id \n \n \n Name \n \n \n URL \n \n \n Address \n \n \n Rent \n \n \n Verify doc viewer \n \n \n Verify \n \n \n Bank verify \n \n \n \n \n {rows.map((row) => (\n \n {row.id}\n {row.business_detail_id}\n {row.name}\n {row.BusinessDetail.websiteUrl}\n {`${row.Address.addressLine1}, ${row.Address.addressLine2}, ${row.Address.city}`}\n \n \n \n {row.verifyDoc}\n \n \n \n \n \n {row.bank_verify}\n \n \n ))}\n \n \n
\n\n
\n
\n \n );\n}\n\nPendingCustomerInfoComponent.propTypes = {};\n\nexport default PendingCustomerInfoComponent;\n","import React, { useEffect, useState } from 'react';\nimport PendingCustomerInfoComponent from './pending-customer-info.component';\nimport { AdminService } from 'services';\nexport default function PendingCustomerInfo() {\n const [pendingCustomersData, setPendingCustomersData] = useState([]);\n const [isLoading, setIsLoading] = useState(false);\n useEffect(() => {\n const fetchData = async () => {\n setIsLoading(true);\n const pendingCustomers = await AdminService.GetPendingCustomers();\n if (pendingCustomers.isSuccesfully) {\n setPendingCustomersData(pendingCustomers.data);\n }\n };\n fetchData();\n setIsLoading(false);\n }, []);\n\n return ;\n}\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Dialog, DialogActions, DialogContent, Button, DialogContentText } from '@material-ui/core';\nimport styles from './modal-confirm-reverse-withdrawal.module.scss';\nimport Divider from '@material-ui/core/Divider';\n\nexport default function ModalConfirmReverseWithdrawalComponent(props) {\n const { isModalOpen, setIsModalOpen, modalText, reverseTheWithdrawals } = props;\n\n return (\n setIsModalOpen(false)}\n className={{\n paper: styles.paper\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n max-width=\"false\"\n >\n \n {modalText}\n \n \n \n {\n setIsModalOpen(false);\n }}\n color=\"primary\"\n variant=\"outlined\"\n className={styles.leaveBtn}\n >\n No\n \n \n Yes\n \n \n \n );\n}\n\nModalConfirmReverseWithdrawalComponent.propTypes = {\n isModalOpen: PropTypes.bool,\n setIsModalOpen: PropTypes.func,\n confirmationAction: PropTypes.func,\n onChange: PropTypes.func,\n modalText: PropTypes.string,\n buttonText: PropTypes.string\n};\n","import React from 'react';\nimport { WithdrawalService, AdminService } from 'services';\nimport ModalConfirmReverseWithdrawalComponent from './modal-confirm-reverse-withdrawal.component';\nimport { useGlobalStateContext, useAdminFunctionsContext, useBalanceContext } from 'contexts';\nimport { MerchantAccountStatus } from 'utils/enums/MerchantAccountStatus';\n\nconst ModalConfirmReverseWithdrawal = (props) => {\n const { updatedMerchantData, setIsModalOpen, accountStatusUpdate, setIsLoading } = props;\n const { globalState, setGlobalState } = useGlobalStateContext();\n const { adminFunctions, setAdminFunctions } = useAdminFunctionsContext();\n const { refreshBalance } = useBalanceContext();\n\n const reverseTheWithdrawals = async () => {\n setIsLoading(true);\n setIsModalOpen(false);\n\n if (accountStatusUpdate) {\n setAdminFunctions({\n ...adminFunctions,\n accountStatus: MerchantAccountStatus.WATCHLIST,\n accountVerify: 0,\n bankVerify: 0,\n allowWithdrawals: 0,\n autoWithdraw: 0,\n internalTransferStatus: 0\n });\n setGlobalState((globalState) => ({\n ...globalState,\n merchant: {\n ...globalState.merchant,\n status: 12\n }\n }));\n } else {\n setAdminFunctions({\n ...adminFunctions,\n bankVerify: 0\n });\n }\n const response = await AdminService.UpdateMerchantDataForAdmin(globalState.merchant?.id, updatedMerchantData);\n\n if (response.isSuccesfully) {\n const reverseWithdrawalResponse = await WithdrawalService.reverseWithdrawal();\n if (reverseWithdrawalResponse.isSuccesfully) {\n refreshBalance();\n }\n }\n setIsLoading(false);\n };\n\n return ;\n};\n\nexport default ModalConfirmReverseWithdrawal;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { NativeSelect, Grid } from '@material-ui/core';\nimport { FormItem, Label, Input } from '../../../onboarding/onboarding-ui-components';\nimport { MerchantAccountStatus } from 'utils/enums/MerchantAccountStatus';\nimport { MerchantStatusNames } from 'utils/enums/MerchantStatusNames';\nimport { useAdminFunctionsContext, useGlobalStateContext } from 'contexts';\nimport { SuperAdminEmails } from 'utils/helper';\nimport { UserType } from 'utils/enums/UserType';\nimport ModalConfirmReverseWithdrawal from '../modal-confirm-reverse-withdrawal/modal-confirm-reverse-withdrawal.container';\nimport LoadingScreen from 'components/loading-screen/loading-screen.container';\n\nexport default function AccountStatusComponent(props) {\n const { globalState } = useGlobalStateContext();\n const { adminFunctions } = useAdminFunctionsContext();\n const { onChange, isModalOpen, setIsModalOpen, updatedMerchantData, isLoading, setIsLoading } = props;\n const isReseller = globalState.user?.UserType?.name === UserType.Reseller;\n\n return (\n
\n \n \n \n \n \n \n {\n onChange(e.target.value);\n }}\n />\n }\n >\n {Object.keys(MerchantAccountStatus).map((status) => (\n \n ))}\n \n \n \n \n \n \n
\n );\n}\n\nAccountStatusComponent.propTypes = {\n onChange: PropTypes.func\n};\n","import { useGlobalStateContext, useAdminFunctionsContext } from 'contexts';\nimport React, { useState } from 'react';\nimport { AdminService } from 'services';\nimport AccountStatusComponent from './account-status.component';\nimport { MerchantAccountStatus } from 'utils/enums/MerchantAccountStatus';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\n\nexport default function AccountStatus() {\n const { globalState, setGlobalState } = useGlobalStateContext();\n const [isModalOpen, setIsModalOpen] = useState(false);\n const { adminFunctions, setAdminFunctions } = useAdminFunctionsContext();\n const [isLoading, setIsLoading] = useState(false);\n\n const [updatedMerchantData, setUpdatedMerchantData] = useState({});\n\n const onChange = (value) => {\n var status;\n switch (value) {\n case MerchantAccountStatus.PENDING:\n status = MerchantStatus.MERCHANT_PENDING;\n break;\n case MerchantAccountStatus.PENDING_STRIPE:\n status = MerchantStatus.PENDING_STRIPE;\n break;\n case MerchantAccountStatus.ACTIVE:\n status = MerchantStatus.ACTIVE;\n break;\n case MerchantAccountStatus.CLOSED:\n status = MerchantStatus.CLOSED;\n break;\n case MerchantAccountStatus.REJECTED:\n status = MerchantStatus.REJECTED;\n break;\n case MerchantAccountStatus.WATCHLIST:\n status = MerchantStatus.WATCHLIST;\n break;\n case MerchantAccountStatus.NOT_SUBMITTED:\n status = MerchantStatus.NOT_SUBMITTED;\n break;\n default:\n status = MerchantStatus.MERCHANT_PENDING;\n break;\n }\n\n let data = {\n status: status,\n resellerId: globalState.reseller?.id\n };\n\n if (status === MerchantStatus.WATCHLIST) {\n data = {\n ...data,\n accountVerify: '0',\n bankVerify: '0',\n allowWithdrawals: '0',\n autoWithdraw: '0',\n internalTransferStatus: '0'\n };\n }\n\n setUpdatedMerchantData(data);\n if (status === MerchantStatus.WATCHLIST) {\n setIsModalOpen(true);\n } else {\n setAdminFunctions({\n ...adminFunctions,\n accountStatus: value\n });\n setGlobalState((globalState) => ({\n ...globalState,\n merchant: {\n ...globalState.merchant,\n status: status\n }\n }));\n AdminService.UpdateMerchantDataForAdmin(globalState.merchant?.id, data);\n }\n };\n\n return (\n \n );\n}\n","export const PdqOrderStatus = {\n all: 'Select all',\n background_check: 'In Review',\n need_additional_info: 'Send Back',\n msa: 'MSA Sent',\n msa_signed: 'MSA Signed',\n ecom_issued: 'Success',\n pos_issued: 'Success',\n rejected: 'Rejected',\n request_raised: 'Request Raised'\n};\n\nexport const DNAEventStatus = {\n BACKGROUND_CHECK: 'background_check',\n NEED_ADDITIONAL_INFO: 'need_additional_info',\n MSA: 'msa',\n ECOM_ISSUED: 'ecom_issued',\n POS_ISSUED: 'pos_issued',\n REQUEST_RAISED: 'request_raised',\n REJECTED: 'rejected',\n MSA_SIGNED: 'msa_signed'\n};\nexport const statusMatch = [\n {\n all: 'Select all',\n background_check: 'In Review',\n need_additional_info: 'Add More Info',\n msa: 'T&C',\n ecom_issued: 'Success',\n pos_issued: 'Success',\n rejected: 'Rejected'\n }\n];\nexport const pdqStatusChecked = [\n { id: 0, name: 'Select all', value: 'all', checked: true },\n { id: 1, name: 'Request Raised', value: 'request_raised', checked: true },\n { id: 2, name: 'In Review', value: 'background_check', checked: true },\n { id: 3, name: 'MSA Sent', value: 'msa', checked: true },\n { id: 4, name: 'MSA Signed', value: 'msa_signed', checked: true },\n { id: 5, name: 'Send Back', value: 'need_additional_info', checked: true },\n { id: 6, name: 'Success', value: 'pos_issued', checked: true },\n { id: 7, name: 'Rejected', value: 'rejected', checked: true }\n];\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Dialog, DialogActions, DialogContent, Button, DialogContentText, Divider } from '@material-ui/core';\nimport styles from './modal-pdq-confirmation.module.scss';\n\nfunction ModalPDQConfirmationComponent(props) {\n const { show, setShow, confirm, dialogText, modalLoading } = props;\n\n return (\n setShow(false)}\n className={{\n paper: styles.paper\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n max-width=\"false\"\n >\n \n \n

{dialogText}

\n
\n \n \n \n {\n confirm();\n }}\n variant=\"contained\"\n className={styles.leaveBtn}\n disabled={modalLoading}\n >\n {modalLoading ? 'Please wait...' : 'Yes'}\n \n {\n setShow(false);\n }}\n color=\"primary\"\n className={styles.dialogBtn}\n >\n NO\n \n \n \n );\n}\n\nModalPDQConfirmationComponent.propTypes = {\n show: PropTypes.bool,\n setShow: PropTypes.func,\n onSubmit: PropTypes.func,\n children: PropTypes.string\n};\n\nexport default ModalPDQConfirmationComponent;\n","import React from 'react';\nimport ModalPDQConfirmationComponent from './modal-pdq-confirmation.component';\n\nfunction ModalPDQConfirmation(props) {\n return ;\n}\n\nexport default ModalPDQConfirmation;\n","export const AdyenAccountStatus = {\n ALL: 'All',\n ACTIVE: 'Active',\n INACTIVE: 'In active',\n SUSPENDED: 'Suspended',\n CLOSED: 'Closed',\n ACCOUNT_CLOSURE_REQUEST: 'AccountCloseRequest'\n};\n\nexport const AdyenAccountStatusStringToEnum = {\n All: 'ALL',\n Active: 'ACTIVE',\n Inactive: 'INACTIVE',\n Suspended: 'SUSPENDED',\n Closed: 'CLOSED',\n AccountCloseRequest: 'ACCOUNT_CLOSURE_REQUEST'\n};\n\nexport const AdyenPayoutStatus = {\n ALL: 'All',\n OPEN: 'Open',\n BLOCKED: 'Blocked'\n};\n\nexport const AdyenTier = {\n ALL: 'All',\n 1: 'Tier 1',\n 2: 'Tier 2',\n 3: 'Tier 3'\n};\n\n// Adyen account category based on payout volume\n// 5000 > total payout volume critical\n// 3000 - 5000 high payout volume but not critical\n// < 3000 low payout volume\n\nexport const AdyenAccountCategory = {\n ALL: 'All',\n CRITICAL: 'Critical',\n HIGH: 'High',\n LOW: 'Low'\n};\n","import React from 'react';\nimport styles from './manage-partners.module.scss';\nimport LoadingScreen from 'components/loading-screen/loading-screen.container';\nimport { SnackBarAndAlert } from 'components';\nimport { DNAEventStatus } from 'utils/enums/pdqOrderStatus';\nimport PropTypes from 'prop-types';\nimport ModalPDQConfirmation from 'components/modal-pdq-confirmation/modal-pdq-confirmation.container';\nimport { AdyenAccountStatusStringToEnum } from 'utils/enums/AdyenVariables';\n\nimport {\n Grid,\n Button,\n Tooltip,\n Table,\n TableBody,\n TableCell,\n TableContainer,\n TableRow,\n TableHead,\n Typography,\n ListItem\n} from '@material-ui/core';\nimport { DnaFormModal } from 'components';\nexport default function ManagePartnersComponent(props) {\n const {\n error,\n toggleAcquirers,\n acquirers,\n submitPartnerApplication,\n isLoading,\n adyenAccountId,\n showMessage,\n setShowMessage,\n setMessage,\n messageType,\n message,\n row,\n dnaErrorList,\n dnaAccount,\n dnaApplicationId,\n needAdditionalInfoStatus,\n merchantData,\n setMerchantData,\n pdqFee,\n setPdqFee,\n openModal,\n setOpenModal,\n adminFunctions,\n onConfirm,\n modalLoading,\n isDnaDisabled,\n openDnaForm,\n closeAdyenAccount,\n setAdyenCloseModal,\n adyenCloseModal,\n isSuperAdmin,\n isAdyenOnboardingDisabled,\n disable\n } = props;\n\n return (\n <>\n \n \n Acquirer\n \n \n
\n toggleAcquirers('adyen', e.currentTarget.checked)}\n checked={acquirers.adyen}\n disabled={!isAdyenOnboardingDisabled ? true : acquirers.adyen && adyenAccountId}\n />\n Adyen\n
\n
\n toggleAcquirers('dna', e.currentTarget.checked)}\n checked={acquirers.dna}\n disabled={\n dnaApplicationId &&\n acquirers.dna &&\n dnaAccount.applicationStatus !== DNAEventStatus.NEED_ADDITIONAL_INFO\n }\n />\n DNA\n
\n {/*
\n toggleAcquirers('obn', e.currentTarget.checked)}\n checked={acquirers.obn}\n />\n OBN\n
*/}\n
\n toggleAcquirers('barclays', e.currentTarget.checked)}\n checked={acquirers.barclays}\n />\n Barclays\n
\n
\n \n \n Submit\n \n \n
\n\n {adyenAccountId && adminFunctions.missingInfoForAdyen?.length > 0 && (\n \n Missing Information for Adyen\n {adminFunctions.missingInfoForAdyen?.map((el, index) => {\n return ` ${el}${\n adminFunctions.missingInfoForAdyen.length - 1 === index\n ? '.'\n : adminFunctions.missingInfoForAdyen.length - 2 === index\n ? ' and '\n : ', '\n }`;\n })}\n \n )}\n\n {dnaErrorList.map((list) => {\n return (\n \n \n {list}\n \n \n );\n })}\n
\n
\n {error ? (\n \n \n {error ? (\n \n ) : null}\n \n \n ) : null}\n\n \n \n \n \n \n Acquirer\n Merchant Id\n Account Holder Id\n Account status\n Payout Status\n Payout Reason\n Onboarding Errors\n \n \n \n \n ADYEN\n {row.merchantId ? row.merchantId : }\n \n {row.adyenSubAccountId ? row.adyenSubAccountId : }\n \n {row.accountStatus ? row.accountStatus : }\n {row.payoutStatus ? row.payoutStatus : }\n\n \n {JSON.stringify(row.reason) === '{}' || !row.reason ? (\n \n ) : (\n <>\n {row.isBalanceAccount ? (\n <>\n \n {JSON.stringify(row.reason) === '{}' || !row.reason ? (\n Please provide the below information\n ) : (\n
\n )}\n \n
    \n {Object.values(row.reason).map((el) => {\n return el.map((e) => {\n return (\n
  • \n \n {e.messages}\n \n
  • \n );\n });\n })}\n
\n \n ) : (\n
\n
{JSON.stringify(row.reason, null, 2)}
\n
\n )}\n \n )}\n
\n \n {JSON.stringify(row?.onboardingErrors) === '[]' || !row.reason ? (\n \n ) : (\n <>\n {row?.isBalanceAccount && row?.onboardingErrors?.length > 0 && (\n <>\n {row?.onboardingErrors?.map((el) => {\n return (\n
  • \n \n {el?.name?.split('.')?.join(' ')}\n \n \n {el?.message}\n \n
  • \n );\n })}\n \n )}\n \n )}\n
    \n {/* \n {isSuperAdmin ? (\n setAdyenCloseModal(true)}\n disabled={\n row.accountStatus !== AdyenAccountStatusStringToEnum.Active &&\n row.accountStatus !== AdyenAccountStatusStringToEnum.Suspended\n }\n >\n Close\n \n ) : (\n \n )}\n */}\n
    \n \n DNA\n \n {dnaAccount?.merchantId ? dnaAccount?.merchantId : }\n \n \n {dnaAccount.productType ? dnaAccount?.productType : }\n \n \n {dnaAccount.accountStatus ? dnaAccount?.accountStatus : }\n \n \n \n \n {dnaAccount.reason ? dnaAccount?.reason : }\n \n \n OBN\n \n \n \n \n \n \n
    \n
    \n
    \n
    \n {openModal && (\n \n )}\n \n \n {showMessage && (\n {\n setShowMessage(false);\n setMessage('');\n }}\n type={messageType}\n >\n {message}\n \n )}\n {/*
    \n \n \n \n
    */}\n \n );\n}\nManagePartnersComponent.propTypes = {\n onChange: PropTypes.func,\n dnaAccount: PropTypes.object,\n dnaApplicationId: PropTypes.string\n};\n","import React, { useState, useEffect } from 'react';\nimport { useGlobalStateContext, useAdminFunctionsContext } from 'contexts';\nimport ManagePartnersComponent from './manage-partners.component';\nimport { AdyenService, DnaService, AdminService } from 'services';\nimport { DNAEventStatus } from 'utils/enums/pdqOrderStatus';\nimport { UserType } from 'utils/enums/UserType';\nimport moment from 'moment';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport { checkEmptyValue } from 'validators/onboarding/onboarding-check-value.validator';\nexport default function ManagePartners() {\n const { globalState } = useGlobalStateContext();\n const [acquirers, setAcquirers] = useState({});\n const [error, setError] = useState('');\n const [isLoading, setLoading] = useState(false);\n const { adminFunctions, setAdminFunctions } = useAdminFunctionsContext();\n const [adyenAccountId, setAdyenAccountId] = useState('');\n const [dnaApplicationId, setDnaApplicationId] = useState('');\n const [adyenAccount, setAdyenAccount] = useState({});\n const [dnaAccount, setDnaAccount] = useState({});\n const [showMessage, setShowMessage] = useState(false);\n const [message, setMessage] = useState('');\n const [dnaErrorList, setDnaErrorList] = useState([]);\n const [messageType, setMessageType] = useState('');\n const [merchantData, setMerchantData] = useState({});\n const [pdqFee, setPdqFee] = useState({});\n const [openModal, setOpenModal] = useState(false);\n const [modalLoading, setModalLoading] = useState(false);\n const [adyenCloseModal, setAdyenCloseModal] = useState(false);\n const [disable, setDisable] = useState(false);\n const isAdyenDisabled = adyenAccountId && acquirers.adyen;\n const isDnaDisabled =\n dnaApplicationId && acquirers.dna && dnaAccount.applicationStatus !== DNAEventStatus.NEED_ADDITIONAL_INFO;\n const needAdditionalInfoStatus =\n dnaApplicationId && dnaAccount.applicationStatus !== DNAEventStatus.NEED_ADDITIONAL_INFO;\n const isSuperAdmin = globalState.user?.UserType?.name === UserType.SuperAdmin;\n const isAdyenOnboardingDisabled =\n globalState.merchant?.status === MerchantStatus.ACTIVE &&\n adminFunctions.accountVerify &&\n adminFunctions.bankVerify;\n\n useEffect(() => {\n const isDnaOnboarded = adminFunctions.dnaApplicationId ? true : false;\n const isAdyenOnboarded = adminFunctions.adyenAccountId ? true : false;\n\n if (isDnaOnboarded || isAdyenOnboarded) {\n setAcquirers({ ...acquirers, adyen: isAdyenOnboarded, dna: isDnaOnboarded });\n setAdyenAccountId(adminFunctions?.adyenAccountId);\n setDnaApplicationId(adminFunctions?.dnaApplicationId);\n } else {\n setAcquirers({ adyen: false, dna: false });\n setAdyenAccountId('');\n setDnaApplicationId('');\n }\n\n // eslint-disable-next-line\n }, [adminFunctions.adyenAccountId, adminFunctions.dnaApplicationId]);\n\n useEffect(() => {\n if (!checkEmptyValue(acquirers)) {\n setDisable(true);\n } else {\n setDisable(false);\n }\n }, [acquirers]);\n\n const getDnaAccounts = async () => {\n const response = await DnaService.getDnaAccount({ merchantId: adminFunctions.merchantId });\n if (response.isSuccesfully && response.data.dnaAccounts.length > 0) {\n const result = response.data.dnaAccounts[0];\n setDnaAccount(result);\n } else {\n setDnaAccount({});\n }\n };\n const getDnaMerchantData = async () => {\n const response = await AdminService.getPdqMerchantData(adminFunctions.merchantId);\n if (response.isSuccesfully) {\n let tempMerchantData = response.data.merchantData;\n tempMerchantData = {\n ...tempMerchantData,\n birthDate: moment(tempMerchantData.birthDate, 'DD-MM-YYYY').format('D MMM YYYY')\n };\n setMerchantData(tempMerchantData);\n setPdqFee(response.data.fees);\n } else {\n setMerchantData({});\n setPdqFee({});\n }\n };\n const getAdyenAccounts = async () => {\n const response = await AdyenService.getAdyenAccounts(adminFunctions?.merchantId);\n if (response.isSuccesfully) {\n setAdyenAccount(response.data);\n } else {\n setAdyenAccount({});\n }\n };\n const closeAdyenAccount = async () => {\n setModalLoading(true);\n const response = await AdyenService.closeAdyenAccount(adminFunctions.merchantId);\n if (response.isSuccesfully) {\n setShowMessage(true);\n setMessageType('success');\n setMessage('Your adyen account has been closed successfully');\n } else {\n setShowMessage(true);\n setMessageType('error');\n setMessage(response?.data[0]?.errorDescription);\n }\n setAdyenCloseModal(false);\n setModalLoading(false);\n if (adminFunctions.merchantId) {\n getAdyenAccounts();\n }\n };\n const onConfirm = async () => {\n let tempdata = merchantData;\n tempdata = { ...tempdata, birthDate: moment(tempdata.birthDate).format('YYYY-MM-DD') };\n\n setModalLoading(true);\n const response = await DnaService.submitDnaOnboarding(adminFunctions.merchantId, {\n merchantData: tempdata,\n pdqFee\n });\n if (response.isSuccesfully) {\n const dnaApplicationId = response.data.dnaApplicationId;\n setDnaApplicationId(dnaApplicationId);\n setAdminFunctions({\n ...adminFunctions,\n dnaApplicationId: dnaApplicationId\n });\n setAcquirers({\n ...acquirers,\n dna: true\n });\n getDnaAccounts();\n setOpenModal(false);\n setShowMessage(true);\n setMessage(response.data.message);\n setMessageType('success');\n } else {\n if (response.data?.errors) {\n setMessage('');\n setShowMessage(false);\n let dnaErrors = response.data?.errors.split('.')[0];\n\n setMessage(dnaErrors);\n } else {\n setMessage(response.data?.message ? response.data?.message : 'An error occurred!');\n }\n setMessageType('error');\n setShowMessage(true);\n }\n setModalLoading(false);\n };\n useEffect(() => {\n if (adminFunctions && adminFunctions?.merchantId) {\n getDnaAccounts();\n getDnaMerchantData();\n getAdyenAccounts();\n }\n // eslint-disable-next-line\n }, [adminFunctions.merchantId]);\n const openDnaForm = async () => {\n if (Object.keys(merchantData).length === 0) {\n setShowMessage(true);\n setMessage('No DNA onboarding request for this merchant');\n setMessageType('error');\n } else setOpenModal(true);\n };\n const submitPartnerApplication = async () => {\n setLoading(true);\n let response;\n // Persist the current state in localStorage/sessionStorage\n localStorage.setItem('isSubmittingAdyen', true);\n\n console.log('acquirers', acquirers);\n if (acquirers.obn) {\n //response = await PartnerObnService.submitPartnerApplication(globalState.merchant?.id);\n } else if (\n acquirers.adyen ||\n (adminFunctions?.missingInfoForAdyen && adminFunctions?.missingInfoForAdyen.length > 0)\n ) {\n console.log('submitting adyen');\n setDisable(true);\n response = await AdyenService.submitAdyenOnboarding(globalState.merchant?.id);\n }\n\n if (!response) {\n setError('Invalid selection');\n localStorage.removeItem('isSubmittingAdyen'); // Clean up after error\n }\n // if (response && !response.isSuccesfully && response.error.error) {\n // if (response.error.error.data) {\n // const errorDetail = response.error.error.data;\n // let errorMessages = errorDetail.message || response.error.error.message;\n // if (errorDetail.errors) {\n // errorMessages = `
    -> ${errorDetail.errors.join('
    -> ')}`;\n // } else if (errorDetail.invalidFields) {\n // errorMessages = `
    -> ${errorDetail.invalidFields\n // .map((f) => `${f.fieldType.fieldName} - ${f.errorDescription}`)\n // .join('
    -> ')}`;\n // }\n // // setAdminFunctions({\n // // ...adminFunctions,\n // // });\n // } else {\n // setError(response.error.error.message);\n // }\n // }\n\n if (response && response.isSuccesfully) {\n setShowMessage(true);\n setMessage(response.data.message);\n setMessageType('success');\n localStorage.removeItem('isSubmittingAdyen'); // Clear submission state after success\n } else {\n setShowMessage(true);\n let message;\n if (response?.data?.message) {\n message = response.data.message;\n } else if (response.data[0]?.errorDescription) {\n message = response.data[0]?.errorDescription;\n } else if (response.data?.errorMessage) {\n message = response.data?.errorMessage[0];\n } else if (response.data?.errors) {\n setMessage('');\n setShowMessage(false);\n let dnaErrors = response.data?.errors;\n setDnaErrorList(dnaErrors);\n } else {\n message = 'An error occurred!';\n }\n\n setMessage(message);\n setMessageType('error');\n localStorage.removeItem('isSubmittingAdyen'); // Clear submission state after error\n }\n\n setLoading(false);\n };\n\n // On page load or return, check if the submission is still in progress\n useEffect(() => {\n const isSubmitting = localStorage.getItem('isSubmittingAdyen');\n if (isSubmitting) {\n setDisable(true);\n }\n }, []);\n\n const toggleAcquirers = (name, checked) => {\n if (name === 'dna' && !isAdyenDisabled) {\n setAcquirers({ ...acquirers, adyen: false, dna: checked });\n } else if (!isDnaDisabled) {\n setAcquirers({ ...acquirers, dna: false, [name]: checked });\n } else {\n setAcquirers({ ...acquirers, [name]: checked });\n }\n };\n\n const getAttribute = (affiliate, name) => {\n return ;\n };\n\n return (\n \n );\n}\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { NativeSelect, Grid } from '@material-ui/core';\nimport { FormItem, Label, Input } from '../../../onboarding/onboarding-ui-components';\nimport { useAdminFunctionsContext, useGlobalStateContext } from 'contexts';\nimport { UserType } from 'utils/enums/UserType';\nimport ModalConfirmReverseWithdrawal from '../modal-confirm-reverse-withdrawal/modal-confirm-reverse-withdrawal.container';\nimport { MerchantAccountStatus } from 'utils/enums/MerchantAccountStatus';\nimport LoadingScreen from 'components/loading-screen/loading-screen.container';\n\nexport default function BankVerificationComponent(props) {\n const { globalState } = useGlobalStateContext();\n const { adminFunctions } = useAdminFunctionsContext();\n const { onChange, isModalOpen, setIsModalOpen, updatedMerchantData, isLoading, setIsLoading } = props;\n const isReseller = globalState.user?.UserType?.name === UserType.Reseller;\n\n return (\n
    \n \n \n \n \n \n \n {\n onChange(e.target.value);\n }}\n />\n }\n >\n \n \n \n \n \n \n \n \n
    \n );\n}\n\nBankVerificationComponent.propTypes = {\n onChange: PropTypes.func\n};\n","import { useGlobalStateContext, useAdminFunctionsContext } from 'contexts';\nimport React, { useState } from 'react';\nimport { AdminService } from 'services';\nimport BankVerificationComponent from './bank-verification.component';\n\nexport default function BankVerification() {\n const { globalState } = useGlobalStateContext();\n const [isModalOpen, setIsModalOpen] = useState(false);\n const { adminFunctions, setAdminFunctions } = useAdminFunctionsContext();\n const [isLoading, setIsLoading] = useState(false);\n\n const [updatedMerchantData, setUpdatedMerchantData] = useState({});\n\n const onChange = async (value) => {\n const data = {\n bankVerify: value,\n resellerId: globalState.reseller?.id\n };\n setUpdatedMerchantData(data);\n if (value === '0') {\n setIsModalOpen(true);\n } else {\n setIsLoading(true);\n setAdminFunctions({\n ...adminFunctions,\n bankVerify: value === '1' ? true : false\n });\n await AdminService.UpdateMerchantDataForAdmin(globalState.merchant?.id, data);\n setIsLoading(false)\n }\n };\n\n return (\n \n );\n}\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Dialog, DialogActions, DialogContent, Button, DialogContentText, Typography } from '@material-ui/core';\nimport styles from './payment-configuration-modes-dialog.module.scss';\nimport Divider from '@material-ui/core/Divider';\n\nexport default function PaymentConfigurationModesModalComponent(props) {\n const {\n testModeUpdate,\n threeDSecureUpdate,\n testModeUpdateDialogBox,\n setTestModeUpdateDialogBox,\n testModeUpdateInitiated,\n threeDSecureUpdateInitiated,\n testModeStatus,\n threeDSecureStatus\n } = props;\n return (\n \n setTestModeUpdateDialogBox(false)}\n className={{\n paper: styles.paper\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n max-width=\"false\"\n >\n {testModeUpdate ? (\n
    \n \n \n {testModeStatus ? (\n Are you sure you want this account to be in Test mode?\n ) : (\n Test mode will be set to “N” \n )}\n \n \n \n \n {\n setTestModeUpdateDialogBox(false);\n }}\n color=\"primary\"\n variant=\"outlined\"\n className={styles.leavebtn}\n >\n Cancel\n \n testModeUpdateInitiated(testModeStatus)}\n color=\"primary\"\n className={styles.dilogbtn}\n >\n Continue\n \n \n
    \n ) : null}\n {threeDSecureUpdate ? (\n
    \n \n \n {threeDSecureStatus ? (\n 3D Secure will be set to “Y”\n ) : (\n 3D Secure will be set to “N”\n )}\n \n \n \n \n {\n setTestModeUpdateDialogBox(false);\n }}\n color=\"primary\"\n variant=\"outlined\"\n className={styles.leavebtn}\n >\n Cancel\n \n threeDSecureUpdateInitiated(threeDSecureStatus)}\n color=\"primary\"\n className={styles.dilogbtn}\n >\n Continue\n \n \n
    \n ) : null}\n \n
    \n );\n}\n\nPaymentConfigurationModesModalComponent.propTypes = {\n testModeUpdate: PropTypes.bool,\n threeDSecureUpdate: PropTypes.bool,\n setTestModeUpdate: PropTypes.func,\n setThreeDSecureUpdate: PropTypes.func,\n testModeUpdateDialogBox: PropTypes.bool,\n setTestModeUpdateDialogBox: PropTypes.func,\n testModeAcceptInitiated: PropTypes.func,\n threeDSecureUpdateInitiated: PropTypes.func\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport PaymentConfigurationModesDialogComponent from './payment-configuration-modes-dialog.component';\nimport { AdminService } from 'services';\nimport { useGlobalStateContext, useAdminFunctionsContext } from 'contexts';\n\nexport default function PaymentConfigurationModesDialog(props) {\n const { globalState } = useGlobalStateContext();\n const { adminFunctions, setAdminFunctions } = useAdminFunctionsContext();\n const {\n testModeUpdate,\n threeDSecureUpdate,\n testModeUpdateDialogBox,\n setTestModeUpdateDialogBox,\n setLoading,\n testModeStatus,\n threeDSecureStatus\n } = props;\n\n const testModeUpdateInitiated = async (testModeResult) => {\n setTestModeUpdateDialogBox(false);\n setLoading(true);\n setAdminFunctions({\n ...adminFunctions,\n testMode: testModeResult\n });\n const result = testModeResult ? '1' : '0';\n const response = await AdminService.UpdateMerchantDataForAdmin(globalState.merchant?.id, {\n resellerId: globalState.reseller?.id,\n testMode: result\n });\n if (response.isSuccesfully) {\n setTestModeUpdateDialogBox(false);\n }\n setLoading(false);\n };\n const threeDSecureUpdateInitiated = async (threeDSecureUpdate) => {\n setTestModeUpdateDialogBox(false);\n setLoading(true);\n setAdminFunctions({\n ...adminFunctions,\n threeDSecure: threeDSecureUpdate\n });\n const result = threeDSecureUpdate ? '1' : '0';\n const response = await AdminService.UpdateMerchantDataForAdmin(globalState.merchant?.id, {\n resellerId: globalState.reseller?.id,\n threeDSecure: result\n });\n if (response.isSuccesfully) {\n setTestModeUpdateDialogBox(false);\n }\n setLoading(false);\n };\n\n return (\n \n );\n}\n\nPaymentConfigurationModesDialog.propTypes = {\n testModeUpdate: PropTypes.bool,\n threeDSecureUpdate: PropTypes.bool,\n testModeUpdateDialogBox: PropTypes.bool,\n setTestModeUpdateDialogBox: PropTypes.func,\n testModeStatus: PropTypes.bool,\n threeDSecureStatus: PropTypes.bool,\n setLoading: PropTypes.func\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { NativeSelect, Grid } from '@material-ui/core';\nimport { FormItem, Label, Input } from '../../../onboarding/onboarding-ui-components';\nimport { useAdminFunctionsContext } from 'contexts';\nimport PaymentConfigurationModesDialog from './payment-configuration-mode-dialog/payment-configuration-modes-dialog.container';\nimport { LoadingScreen } from 'components';\n\nexport default function PaymentConfigurationModesComponent(props) {\n const { adminFunctions } = useAdminFunctionsContext();\n const {\n testModeUpdate,\n setTestModeUpdate,\n threeDSecureUpdate,\n setThreeDSecureUpdate,\n testModeUpdateDialogBox,\n setTestModeUpdateDialogBox,\n loading,\n setLoading,\n testModeStatus,\n setTestModeStatus,\n setThreeDSecureStatus,\n threeDSecureStatus\n } = props;\n\n return (\n \n
    \n \n \n \n \n \n \n {\n setThreeDSecureUpdate(false);\n setTestModeUpdateDialogBox(true);\n setTestModeUpdate(true);\n if (e.target.value === 'true') {\n setTestModeStatus(true);\n } else {\n setTestModeStatus(false);\n }\n }}\n >\n }\n >\n \n \n \n \n \n \n
    \n
    \n \n \n \n \n \n \n {\n //\n // setTestModeReject(false);\n setTestModeUpdate(false);\n setTestModeUpdateDialogBox(true);\n setThreeDSecureUpdate(true);\n if (e.target.value === 'true') {\n setThreeDSecureStatus(true);\n } else {\n setThreeDSecureStatus(false);\n }\n }}\n >\n }\n >\n \n \n \n \n \n \n
    \n \n \n
    \n );\n}\n\nPaymentConfigurationModesComponent.propTypes = {\n onChange: PropTypes.func,\n testModeUpdate: PropTypes.bool,\n threeDSecureUpdate: PropTypes.bool,\n setTestModeUpdate: PropTypes.func,\n setThreeDSecureUpdate: PropTypes.func,\n testModeUpdateDialogBox: PropTypes.bool,\n setTestModeUpdateDialogBox: PropTypes.func,\n setLoading: PropTypes.func\n};\n","import React, { useState } from 'react';\nimport PaymentConfigurationModesComponent from './payment-configuration-modes.component';\n\nexport default function PaymentConfigurationModes() {\n const [testModeUpdate, setTestModeUpdate] = useState(false);\n const [threeDSecureUpdate, setThreeDSecureUpdate] = useState(false);\n const [testModeUpdateDialogBox, setTestModeUpdateDialogBox] = useState(false);\n const [loading, setLoading] = useState(false);\n const [testModeStatus, setTestModeStatus] = useState(false);\n const [threeDSecureStatus, setThreeDSecureStatus] = useState(false);\n\n return (\n \n );\n}\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { NativeSelect, Grid } from '@material-ui/core';\nimport { FormItem, Label, Input } from '../../../onboarding/onboarding-ui-components';\nimport { LoadingScreen } from 'components';\nimport { UserType } from 'utils/enums/UserType';\nimport { useGlobalStateContext } from 'contexts';\n\nexport default function AddPricingTierComponent(props) {\n const { loading, feeTier, pricingTiers, updateFeeTier, setIsModalUpdateFeeTier, setUpdateFeeTierValue } = props;\n const { globalState } = useGlobalStateContext();\n\n return (\n \n
    \n \n \n \n \n \n \n {\n if (globalState.user?.UserType?.name === UserType.SuperAdmin) {\n setIsModalUpdateFeeTier(true);\n setUpdateFeeTierValue(e.target.value);\n }\n }}\n >\n }\n >\n {globalState.user?.UserType?.name === UserType.SuperAdmin ? (\n pricingTiers?.map((pricingTier, index) => {\n return (\n \n );\n })\n ) : (\n \n )}\n \n \n \n \n
    \n \n
    \n );\n}\n\nAddPricingTierComponent.propTypes = {\n loading: PropTypes.bool,\n handleOnChange: PropTypes.func,\n feeTier: PropTypes.string,\n pricingTiers: PropTypes.array\n};\n","import React from 'react';\nimport AddPricingTierComponent from './fee-tier.component';\n\nconst AddPricingTier = (props) => {\n const { feeTier, setFeeTier, pricingTiers, updateFeeTier, setIsModalUpdateFeeTier, setUpdateFeeTierValue } = props;\n\n return (\n \n );\n};\nexport default AddPricingTier;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { NativeSelect, Grid } from '@material-ui/core';\nimport { FormItem, Label, Input } from '../../../onboarding/onboarding-ui-components';\nimport { useAdminFunctionsContext, useGlobalStateContext } from 'contexts';\nimport { UserType } from 'utils/enums/UserType';\nimport { MerchantAccountStatus } from 'utils/enums/MerchantAccountStatus';\nimport LoadingScreen from 'components/loading-screen/loading-screen.container';\n\nexport default function AccountVerificationComponent(props) {\n const { globalState } = useGlobalStateContext();\n const { adminFunctions, setAdminFunctions } = useAdminFunctionsContext();\n const { onChange,isLoading } = props;\n const isReseller = globalState.user?.UserType?.name === UserType.Reseller;\n\n return (\n
    \n \n \n \n \n \n \n {\n setAdminFunctions({\n ...adminFunctions,\n accountVerify: e.target.value === '1' ? true : false\n });\n onChange(e.target.value);\n }}\n />\n }\n >\n \n \n \n \n \n \n \n
    \n );\n}\n\nAccountVerificationComponent.propTypes = {\n onChange: PropTypes.func\n};\n","import { useGlobalStateContext, useAdminFunctionsContext } from 'contexts';\nimport React, {useState} from 'react';\nimport { AdminService } from 'services';\nimport AccountVerificationComponent from './account-verification.component';\n\nexport default function AccountVerification() {\n const { globalState } = useGlobalStateContext();\n const { adminFunctions, setAdminFunctions } = useAdminFunctionsContext();\n const [isLoading, setIsLoading] = useState(false);\n\n const onChange = async(value) => {\n setIsLoading(true);\n\n await AdminService.UpdateMerchantDataForAdmin(globalState.merchant?.id, {\n accountVerify: value,\n resellerId: globalState.reseller?.id\n });\n\n setAdminFunctions({\n ...adminFunctions,\n accountVerify: value === '1' ? true : false\n });\n setIsLoading(false);\n };\n\n return ;\n}\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { NativeSelect, Grid } from '@material-ui/core';\nimport { FormItem, Label, Input } from '../../../onboarding/onboarding-ui-components';\nimport { useAdminFunctionsContext, useGlobalStateContext } from 'contexts';\nimport { UserType } from 'utils/enums/UserType';\nimport { MerchantAccountStatus } from 'utils/enums/MerchantAccountStatus';\n\nexport default function AllowWithdrawalsComponent(props) {\n const { globalState } = useGlobalStateContext();\n const { adminFunctions, setAdminFunctions } = useAdminFunctionsContext();\n const { onChange } = props;\n const isReseller = globalState.user?.UserType?.name === UserType.Reseller;\n\n return (\n
    \n \n \n \n \n \n \n {\n setAdminFunctions({\n ...adminFunctions,\n allowWithdrawals: e.target.value === '1' ? true : false\n });\n onChange(e.target.value);\n }}\n />\n }\n >\n \n \n \n \n \n \n
    \n );\n}\n\nAllowWithdrawalsComponent.propTypes = {\n onChange: PropTypes.func\n};\n","import { useGlobalStateContext } from 'contexts';\nimport React from 'react';\nimport { AdminService } from 'services';\nimport AllowWithdrawalsComponent from './allow-withdrawals.component';\n\nexport default function AllowWithdrawals() {\n const { globalState } = useGlobalStateContext();\n\n const onChange = (value) => {\n AdminService.UpdateMerchantDataForAdmin(globalState.merchant?.id, {\n allowWithdrawals: value,\n resellerId: globalState.reseller?.id\n });\n };\n\n return ;\n}\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Grid, Button, OutlinedInput } from '@material-ui/core';\nimport { FormItem, Label } from '../../../onboarding/onboarding-ui-components';\nimport { useAdminFunctionsContext } from 'contexts';\nimport styles from './add-merchant-id.module.scss';\nimport NumberFormat from 'react-number-format';\nimport { checkEmptyArray } from 'validators/onboarding/onboarding-check-value.validator';\n\nexport default function AddMerchantIdComponent(props) {\n const { adminFunctions, setAdminFunctions } = useAdminFunctionsContext();\n const { indexId, onChange } = props;\n\n return (\n \n \n \n \n \n \n {\n const { value } = values;\n const data = [...adminFunctions.merchantIds];\n data[indexId] = value;\n setAdminFunctions({\n ...adminFunctions,\n merchantIds: data\n });\n }}\n aria-describedby=\"outlined-weight-helper-text\"\n labelWidth={0}\n required\n />\n \n \n \n \n \n \n );\n}\n\nAddMerchantIdComponent.propTypes = {\n indexId: PropTypes.number,\n onChange: PropTypes.func\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport AddMerchnatIdComponent from './add-merchant-id.component';\nimport { useAdminFunctionsContext, useGlobalStateContext } from 'contexts';\nimport { AdminService } from 'services';\n\nexport default function AddMerchnatId(props) {\n const { adminFunctions } = useAdminFunctionsContext();\n const { globalState } = useGlobalStateContext();\n const { indexId } = props;\n\n const onChange = () => {\n AdminService.UpdateMerchantDataForAdmin(globalState.merchant?.id, {\n externalMerchant: {\n index: indexId,\n externalMerchantId: adminFunctions.merchantIds[indexId],\n externalMerchantStoreId: null\n },\n resellerId: globalState.reseller?.id\n });\n };\n\n return ;\n}\n\nAddMerchnatId.propTypes = {\n indexId: PropTypes.number\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Grid } from '@material-ui/core';\nimport { Label, Input } from '../../../onboarding/onboarding-ui-components';\nimport styles from './third-party-merchant-id-and-store-id.module.scss';\nimport FileCopyIcon from '@material-ui/icons/FileCopy';\nimport { SnackBarAndAlert } from 'components';\n\nexport default function ThirdPartyMerchantIdAndStoreIdComponent(props) {\n const {\n merchantIdAndMerchantStoreId,\n handleCopyMerchantAndStoreId,\n closeCopyAlert,\n isCopyAlertOpen,\n withLabel,\n title\n } = props;\n\n return (\n \n \n {withLabel ? (\n \n \n \n \n \n \n \n \n \n \n \n ) : (\n \n \n \n \n \n \n \n \n )}\n \n {isCopyAlertOpen && (\n \n {title === 'pdq'\n ? 'Successfully copied the merchant ID'\n : 'Successfully copied the merchant and store id.'}\n \n )}\n \n );\n}\n\nThirdPartyMerchantIdAndStoreIdComponent.propTypes = {\n merchantIdAndMerchantStoreId: PropTypes.string.isRequired,\n isCopyAlertOpen: PropTypes.bool.isRequired,\n handleCopyMerchantAndStoreId: PropTypes.func.isRequired,\n closeCopyAlert: PropTypes.func.isRequired,\n withLabel: PropTypes.bool,\n title: PropTypes.string\n};\n","import React, { useEffect, useState } from 'react';\nimport ThirdPartyMerchantIdAndStoreIdComponent from './third-party-merchant-id-and-store-id.component';\nimport { useAdminFunctionsContext } from 'contexts';\n\nexport default function ThirdPartyMerchantIdAndStoreId(props) {\n const { adminFunctions } = useAdminFunctionsContext();\n const [isCopyAlertOpen, setIsCopyAlertOpen] = useState(false);\n const [merchantIdAndMerchantStoreId, setMerchantIdAndMerchantStoreId] = useState('');\n const [withLabel, setWithLabel] = useState(false);\n const { title } = props;\n\n useEffect(() => {\n const getMerchantStoreIds = () => {\n let merchantIdAndMerchantStoreIds;\n if (props.ids) {\n const { thirdPartyCustomerId, merchantId } = props.ids;\n merchantIdAndMerchantStoreIds = thirdPartyCustomerId\n ? `${thirdPartyCustomerId}-${merchantId}`\n : merchantId;\n setWithLabel(false);\n } else {\n merchantIdAndMerchantStoreIds = adminFunctions.thirdPartyCustomerId\n ? `${adminFunctions.thirdPartyCustomerId}-${adminFunctions.merchantId}`\n : adminFunctions.merchantId;\n setWithLabel(true);\n }\n setMerchantIdAndMerchantStoreId(merchantIdAndMerchantStoreIds);\n };\n getMerchantStoreIds();\n // eslint-disable-next-line\n }, [adminFunctions]);\n\n const handleCopyMerchantAndStoreId = () => {\n navigator.clipboard.writeText(merchantIdAndMerchantStoreId);\n setIsCopyAlertOpen(true);\n };\n\n const closeCopyAlert = () => {\n setIsCopyAlertOpen(false);\n };\n\n return (\n \n );\n}\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Grid, Button, OutlinedInput } from '@material-ui/core';\nimport { FormItem, Label } from '../../../onboarding/onboarding-ui-components';\nimport { useAdminFunctionsContext } from 'contexts';\nimport NumberFormat from 'react-number-format';\nimport styles from './merchnat-store-id.module.scss';\nimport { checkEmptyArray } from 'validators/onboarding/onboarding-check-value.validator';\n\nexport default function MerchantStoreIdComponent(props) {\n const { adminFunctions, setAdminFunctions } = useAdminFunctionsContext();\n const { indexId, onChange } = props;\n\n return (\n \n \n \n \n \n \n {\n const { value } = values;\n const data = [...adminFunctions.merchantStoreIds];\n data[indexId] = value;\n setAdminFunctions({\n ...adminFunctions,\n merchantStoreIds: data\n });\n }}\n aria-describedby=\"outlined-weight-helper-text\"\n labelWidth={0}\n required\n />\n \n \n \n \n \n \n );\n}\n\nMerchantStoreIdComponent.propTypes = {\n indexId: PropTypes.number,\n onChange: PropTypes.func\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { AdminService } from 'services';\nimport MerchnatStoreIdComponent from './merchant-store-id.component';\nimport { useAdminFunctionsContext, useGlobalStateContext } from 'contexts';\n\nexport default function MerchnatStoreId(props) {\n const { adminFunctions } = useAdminFunctionsContext();\n const { globalState } = useGlobalStateContext();\n const { indexId } = props;\n\n const onChange = () => {\n AdminService.UpdateMerchantDataForAdmin(globalState.merchant?.id, {\n externalMerchant: {\n index: indexId,\n externalMerchantId: null,\n externalMerchantStoreId: adminFunctions.merchantStoreIds[indexId]\n },\n resellerId: globalState.reseller?.id\n });\n };\n\n return ;\n}\n\nMerchnatStoreId.propTypes = {\n indexId: PropTypes.number\n};\n","export const PdqStatus = {\n 0: 'UNSUCCESSFUL',\n 1: 'SUCCESS',\n 2: 'CANCELLED'\n};\nexport const statusToFilter = {\n Usuccessful: 0,\n Success: 1,\n Cancelled: 2\n};\n","import React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { makeStyles } from '@material-ui/core/styles';\nimport {\n Paper,\n Box,\n CircularProgress,\n Table,\n TableBody,\n TableCell,\n TableContainer,\n TableRow,\n TableFooter,\n TablePagination\n} from '@material-ui/core';\nimport TableFooterComponent from '../table-footer/table-footer.component';\nimport TableHeader from '../table-header/table-header.container';\nimport FilterTabs from '../filter-tabs/filter-tabs.container';\nimport { PdqFilterTabs } from 'utils/enums/PdqFilterTabs';\nimport { formatCurrency, formatDateTimeByFormatString, getComparator, stableSort } from '../../../../utils/helper';\nimport styles from './pdq-list-table.module.scss';\nimport { getCurrencyThreeAlpha } from 'utils/getCurrencyByCountry';\nimport TransactionStatusLabel from '../transaction-status-label/transaction-status-label.container';\nimport { PdqStatus } from 'utils/enums/pdqTransactionStatus';\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n 'border-top': '1px solid #ddd',\n width: '100%'\n },\n omnipay: {\n width: '100%'\n },\n paper: {\n width: '100%',\n marginBottom: theme.spacing(2),\n boxShadow: 'none'\n },\n table: {\n minWidth: '100%'\n },\n tableRow: {\n '&$selected, &$selected:hover': {\n backgroundColor: '#e4e1fe'\n }\n },\n selected: {},\n visuallyHidden: {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: 1,\n margin: -1,\n padding: 0,\n position: 'absolute',\n top: 20,\n width: 1\n },\n checkbox: {\n color: '#8783b5'\n },\n representAction: {\n 'font-size': '8px',\n 'margin-right': '5px',\n color: 'cornflowerblue',\n textTransform: 'none'\n },\n acceptAction: {\n 'font-size': '8px',\n color: 'green',\n textTransform: 'none'\n }\n}));\n\nexport default function PdqListTableComponent(props) {\n const classes = useStyles();\n\n const {\n rows,\n statusFilter,\n setStatusFilter,\n order,\n orderBy,\n loading,\n error,\n page,\n setPage,\n refundValue,\n total,\n isOmnipay,\n globalState,\n statusToFilter\n } = props;\n\n const [rowsPerPage, setRowsPerPage] = useState(20);\n\n const handleChangePage = (event, newPage) => {\n setPage(newPage);\n };\n\n const handleChangeRowsPerPage = (event) => {\n setRowsPerPage(parseInt(event.target.value, 10));\n setPage(0);\n };\n return (\n
    \n {isOmnipay && (\n \n )}\n \n {loading ? (\n \n \n \n ) : error ? (\n
    An error occurred, please try reloading your browser.
    \n ) : (\n \n {!rows || rows.length === 0 ? (\n
    There aren't any results for that query.
    \n ) : (\n \n \n \n \n \n {stableSort(\n rowsPerPage > 0\n ? rows.slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage)\n : rows,\n getComparator(order, orderBy)\n ).map((row, index) => {\n const labelId = `enhanced-table-checkbox-${index}`;\n return (\n \n \n \n {row.refund_status === PdqFilterTabs.Refunded &&\n isOmnipay\n ? '-'\n : null}\n {formatCurrency(\n row.total,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n \n \n {formatDateTimeByFormatString(\n row.date_time,\n 'DD MMM HH:mm'\n )}\n \n {row.auth_code}\n {isOmnipay && statusFilter === PdqFilterTabs.All && (\n \n {row.refund_status === PdqFilterTabs.Refunded &&\n row.transaction_status_id ===\n statusToFilter.Success ? (\n \n ) : (\n Object.keys(PdqStatus).includes(\n row.transaction_status_id.toString()\n ) && (\n \n )\n )}\n \n )}\n \n \n );\n })}\n \n \n \n \n \n \n {rows.length > rowsPerPage && (\n \n )}\n \n \n \n \n \n \n )}\n
    \n )}\n
    \n
    \n );\n}\n\nPdqListTableComponent.propTypes = {\n rows: PropTypes.array.isRequired,\n statusFilter: PropTypes.string.isRequired,\n setStatusFilter: PropTypes.func.isRequired,\n order: PropTypes.string.isRequired,\n orderBy: PropTypes.string.isRequired,\n loading: PropTypes.bool.isRequired,\n error: PropTypes.bool.isRequired,\n total: PropTypes.number,\n refundValue: PropTypes.number,\n page: PropTypes.number,\n setPage: PropTypes.func\n};\n","import React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport PdqListTableComponent from './pdq-list-table.component';\nimport { PdqFilterTabs } from 'utils/enums/PdqFilterTabs.js';\nimport { useGlobalStateContext } from 'contexts';\nimport { ResellerType } from 'utils/enums/ResellerType';\nimport { statusToFilter } from 'utils/enums/pdqTransactionStatus';\n\nconst PdqListTable = (props) => {\n const [rows, setRows] = useState([]);\n const [order, setOrder] = React.useState('desc');\n const [orderBy, setOrderBy] = React.useState('date_time');\n const [statusFilter, setStatusFilter] = useState(PdqFilterTabs.All);\n const [page, setPage] = useState(0);\n const [refundValue, setRefundValue] = useState(0);\n const [total, setTotal] = useState();\n const { list, loading, error } = props;\n const { globalState } = useGlobalStateContext();\n\n const isOmnipay = globalState.reseller?.name === ResellerType.OMNIPAY;\n useEffect(() => {\n setPage(0);\n let dataRows = [];\n if (statusFilter !== PdqFilterTabs.All) {\n dataRows = list.filter(\n (list) => list.refund_status === statusFilter && list.transaction_status_id === statusToFilter.Success\n );\n } else {\n dataRows = list;\n }\n setRows(dataRows);\n let totalValue = 0;\n let refund = 0;\n\n for (let i = 0; i < list.length; i += 1) {\n if (\n list[i].refund_status === PdqFilterTabs.Refunded &&\n list[i].transaction_status_id === statusToFilter.Success\n ) {\n refund += parseFloat(list[i].total);\n } else if (\n list[i].refund_status === PdqFilterTabs.Successful &&\n list[i].transaction_status_id === statusToFilter.Success\n ) {\n totalValue += parseFloat(list[i].total);\n }\n }\n setRefundValue(refund);\n setTotal(totalValue);\n }, [list, statusFilter]);\n\n const handleRequestSort = (event, property) => {\n const isAsc = orderBy === property && order === 'asc';\n setOrder(isAsc ? 'desc' : 'asc');\n setOrderBy(property);\n };\n\n const headCells = [\n { id: 'total', numeric: false, disablePadding: false, label: 'Amount' },\n { id: 'date_time', numeric: true, disablePadding: false, label: 'Date' },\n { id: 'auth_code', numeric: false, disablePadding: false, label: 'Auth Code', hideSortingIcon: true },\n {\n id: 'transaction_status_id',\n numeric: false,\n disablePadding: false,\n label: 'Status',\n hideSortingIcon: true,\n notShow: !isOmnipay || statusFilter !== PdqFilterTabs.All\n }\n ];\n\n return (\n \n );\n};\n\nexport default PdqListTable;\n\nPdqListTable.propTypes = {\n rows: PropTypes.array,\n list: PropTypes.array.isRequired,\n loading: PropTypes.bool.isRequired,\n error: PropTypes.bool.isRequired,\n handleRequestSort: PropTypes.func\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport PdqListTable from '../transaction-tables/pdq-list-table/pdq-list-table.container';\n\nexport default function PdqTransactionsListComponent(props) {\n return (\n
    \n \n
    \n );\n}\n\nPdqTransactionsListComponent.propTypes = {\n list: PropTypes.array,\n error: PropTypes.bool,\n loading: PropTypes.bool,\n totalPDQ: PropTypes.func\n};\n","import React, { useEffect, useState } from 'react';\nimport moment from 'moment';\nimport PdqTransactionsListComponent from './pdq-transactions-list.component';\nimport { useGlobalStateContext } from 'contexts';\nimport { PdqTransactionsService } from 'services';\nimport _ from 'lodash';\n\nconst PdqTransactionList = (props) => {\n const [pdqlist, setPdqList] = useState([]);\n const [error, setError] = useState(false);\n const { loading, setLoading } = props;\n const { globalState } = useGlobalStateContext();\n const { date, via } = props.match.params;\n const [page, setPage] = useState(0);\n const [rowsPerPage, setRowsPerPage] = useState(20);\n\n const handleChangePage = (event, newPage) => {\n setPage(newPage);\n };\n\n const handleChangeRowsPerPage = (event) => {\n setRowsPerPage(parseInt(event.target.value, 10));\n setPage(0);\n };\n\n useEffect(() => {\n setPage(0);\n async function GetPdqTransactionsList() {\n let pdqTransactionsRequest = {\n merchantId: globalState.merchant?.id,\n year: moment(date, 'YYYY-MM-DD').year(),\n month: moment(date).month() + 1,\n day: moment(date, 'YYYY-MM-DD').date()\n };\n let pdqTransactions;\n let startMonth;\n let endMonth;\n if (via === 'week') {\n startMonth = moment(moment(date).subtract(0, 'week').startOf('week').format('YYYY MM DD')).month() + 1;\n endMonth = moment(moment(date).subtract(0, 'week').endOf('week').format('YYYY MM DD')).month() + 1;\n }\n\n let pdqTransactionsAnotherMonth;\n if (startMonth !== endMonth && via === 'week') {\n const startMonthPdqRequest = {\n ...pdqTransactionsRequest,\n month: startMonth\n };\n const endMonthPdqRequest = {\n ...pdqTransactionsRequest,\n month: endMonth\n };\n pdqTransactions = await PdqTransactionsService.GetPdqTransactionsList(startMonthPdqRequest);\n pdqTransactionsAnotherMonth = await PdqTransactionsService.GetPdqTransactionsList(endMonthPdqRequest);\n } else {\n pdqTransactions = await PdqTransactionsService.GetPdqTransactionsList(pdqTransactionsRequest);\n }\n\n if (pdqTransactions.isSuccesfully) {\n let pdqTransactionsData = [...pdqTransactions.data.data];\n let startingTimestamp = moment(\n `${pdqTransactionsRequest.day}-${pdqTransactionsRequest.month}-${pdqTransactionsRequest.year}`,\n 'DD-MM-YYYY'\n )\n .startOf(via)\n .valueOf();\n let endingTimestamp = moment(\n `${pdqTransactionsRequest.day}-${pdqTransactionsRequest.month}-${pdqTransactionsRequest.year}`,\n 'DD-MM-YYYY'\n )\n .endOf(via)\n .valueOf();\n\n if (pdqTransactionsAnotherMonth?.isSuccesfully) {\n pdqTransactionsData = [...pdqTransactionsData, ...pdqTransactionsAnotherMonth.data.data];\n }\n\n let transactionInTimeFrame = _.filter(pdqTransactionsData, function (internalTransfer) {\n let date_time = moment(moment.utc(internalTransfer.date_time).format('YYYY-MM-DD')).valueOf();\n return date_time >= startingTimestamp && date_time <= endingTimestamp;\n });\n setPdqList(transactionInTimeFrame);\n setError(false);\n } else {\n setError(true);\n }\n setLoading(false);\n }\n setLoading(true);\n globalState.merchant && GetPdqTransactionsList();\n // eslint-disable-next-line\n }, [date, via, globalState.merchant]);\n\n const totalPDQ = () => {\n let total = pdqlist.reduce((accumulator, pdq) => {\n return accumulator + Number(pdq.total);\n }, 0);\n\n return total;\n };\n\n return (\n \n );\n};\n\nexport default PdqTransactionList;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport moment from 'moment';\n\nimport { Paper, Box, CircularProgress, Table, TableBody, TableCell, TableContainer, TableRow } from '@material-ui/core';\nimport { makeStyles } from '@material-ui/core/styles';\n\nimport TableFooterComponent from '../table-footer/table-footer.component';\nimport TableHeader from '../table-header/table-header.container';\nimport TransactionStatusLabel from '../transaction-status-label/transaction-status-label.container';\nimport { formatCurrency, formatDateTimeByFormatString, getComparator, stableSort } from 'utils/helper';\nimport { getCurrencyThreeAlpha } from 'utils/getCurrencyByCountry';\nimport { useGlobalStateContext } from 'contexts';\nimport StripPayoutTransactions from '../stripe-payout-transactions-table/stripe-payout-transactions-table.container';\nimport styles from '../payouts-list-table/payouts-list-table.module.scss';\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n width: '100%',\n 'border-top': '1px solid #ddd',\n 'margin-top': '10px'\n },\n paper: {\n width: '100%',\n marginBottom: theme.spacing(2),\n boxShadow: 'none'\n },\n container: {\n maxHeight: '100%'\n },\n tableRow: {\n '&$selected, &$selected:hover': {\n backgroundColor: '#e4e1fe'\n }\n },\n selected: {},\n visuallyHidden: {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: 1,\n margin: -1,\n padding: 0,\n position: 'absolute',\n top: 20,\n width: 1\n },\n referenceBatchId: {\n paddingRight: '10px',\n fontWeight: 'bold'\n },\n checkbox: {\n color: '#8783b5'\n }\n}));\n\nconst StripePayoutsListTableComponent = (props) => {\n const { setRoute, globalState } = useGlobalStateContext();\n const classes = useStyles();\n const { rows, selected, order, orderBy, loading, error, totalPayouts } = props;\n return (\n
    \n \n {loading ? (\n \n \n \n ) : error ? (\n
    An error occurred, please try reloading your browser.
    \n ) : (\n \n {!rows || rows.length === 0 ? (\n
    There aren't any results for that query.
    \n ) : (\n \n \n \n \n \n {stableSort(rows, getComparator(order, orderBy)).map((row, index) => {\n const labelId = `enhanced-table-checkbox-${index}`;\n\n return (\n \n setRoute(`/stripe-payout-details/${index}`, {\n payouts: row\n })\n }\n >\n \n {formatCurrency(\n row.amount / 100,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n \n \n {formatDateTimeByFormatString(\n moment.unix(row.created),\n 'DD MMM HH:mm'\n )}\n \n \n {formatDateTimeByFormatString(\n moment.unix(row.arrival_date),\n 'DD MMM'\n )}\n \n \n \n \n \n );\n })}\n \n \n \n \n \n )}\n
    \n )}\n
    \n\n {props.show && }\n
    \n );\n};\n\nexport default StripePayoutsListTableComponent;\n\nStripePayoutsListTableComponent.propTypes = {\n rows: PropTypes.array.isRequired,\n selected: PropTypes.array.isRequired,\n order: PropTypes.string.isRequired,\n orderBy: PropTypes.string.isRequired,\n loading: PropTypes.bool.isRequired,\n error: PropTypes.bool.isRequired,\n totalPayouts: PropTypes.func.isRequired\n};\n","import React from 'react';\nimport { CSVLink } from 'react-csv';\nimport { OverlayTrigger, Tooltip } from 'react-bootstrap';\nimport { Button } from '@material-ui/core';\n\nconst ExportCSV = ({ csvData, fileName, buttonText, transactions, setShowReportModel, setDaysRange, path }) => {\n const tooltip = (\n \n Click to download sheet.\n \n );\n const isDisabled = path === 'payments' || path === 'gfo-payments' ? csvData.length <= 2 : csvData.length <= 0;\n\n return (\n \n \n {\n if (isDisabled) {\n event.preventDefault();\n } else {\n setShowReportModel(false);\n }\n }}\n target=\"_blank\"\n >\n \n \n \n \n );\n};\n\nexport default ExportCSV;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n Button,\n CircularProgress,\n Box,\n Dialog,\n Grid,\n DialogActions,\n DialogTitle,\n DialogContent,\n FormControlLabel,\n Checkbox\n} from '@material-ui/core';\nimport { ExportCSV, ExportTransactionsPDF } from 'components';\nimport _ from 'lodash';\nimport { useGlobalStateContext } from 'contexts';\nimport { ResellerLogoMap } from 'utils/enums/ResellerLogoMap';\nimport moment from 'moment';\nimport { toTitleCase } from 'utils/helper';\nimport styles from './modal-export-report.module.scss';\nimport { ResellerType } from 'utils/enums/ResellerType';\n\nconst ModalExportReportComponent = (props) => {\n const {\n loading,\n intervalStart,\n intervalEnd,\n download,\n reportData,\n reportType,\n error,\n longRun,\n onRetryStripeReport,\n stripeReportId,\n setButtonLoad,\n buttonLoad,\n merchantTradingAddress,\n merchantLegalName,\n merchantMobile,\n setShowReportModel,\n companyAddress,\n daysRange,\n setDaysRange,\n setShowCharges,\n showCharges,\n withChargeData,\n isAdmin,\n path,\n paymentsFinanceDetails,\n showReportModel,\n GFOPaymentsFinanceDetails,\n showGFOTransaction,\n setShowGFOTransaction,\n allPayments\n } = props;\n const { globalState } = useGlobalStateContext();\n let showRetryStripeReportButton = !loading && longRun;\n let reportTitle;\n if (reportType === 'gfo-payments') {\n reportTitle = 'GFO-Payments';\n } else if (reportType === 'pdq-transactions') {\n reportTitle = 'PDQ_Transactions';\n } else if (reportType === 'internal-transfers') {\n reportTitle = 'Internal_Transfers';\n } else {\n reportTitle = toTitleCase(reportType);\n }\n let startExportDate = _.isEmpty(daysRange) ? intervalStart : daysRange.startDate;\n let endExportDate = _.isEmpty(daysRange) ? intervalEnd : daysRange.endDate;\n // To print current date in current month as end date\n let getDate = new Date(endExportDate);\n let currentDate = new Date();\n let currentMonth = currentDate.getMonth();\n let currentYear = currentDate.getFullYear();\n if (\n (currentMonth === getDate.getMonth() || currentYear === getDate.getFullYear()) &&\n getDate.getTime() > currentDate.getTime()\n ) {\n endExportDate = currentDate;\n }\n let csvDate =\n startExportDate === endExportDate\n ? moment(startExportDate).format('DDMMMYYYY')\n : moment(startExportDate).format('DDMMMYYYY') + '_To_' + moment(endExportDate).format('DDMMMYYYY');\n\n const isCheckboxDisabled =\n path === 'payments' || path === 'gfo-payments' ? reportData.length <= 2 : reportData.length <= 0;\n\n return (\n \n props.cancelExport()}\n aria-labelledby=\"form-dialog-title\"\n className={styles.exportrModalBox}\n >\n props.cancelExport()}>\n Export transactions\n \n\n \n \n {(path === 'payments' || path === 'gfo-payments'\n ? reportData.length <= 2\n : _.isEmpty(reportData)) &&\n download &&\n _.isEmpty(allPayments) ? (\n <>\n
    \n

    \n {error\n ? `Something went wrong... Try again`\n : longRun\n ? `Took longer than expected... Try again`\n : `No data for selected date range.`}\n

    \n
    \n \n ) : _.isEmpty(merchantTradingAddress) && reportData.length === 0 ? (\n <>\n
    \n \n \n {' '}\n

    Please wait, running report...

    \n
    \n \n ) : (\n <>\n
    \n {reportData.length > 0 && (\n

    Report is ready, click below to download.

    \n )}\n
    \n {buttonLoad && reportData.length > 0 ? (\n \n ) : (\n
    \n \n \n \n

    Please wait, running report...

    \n
    \n )}\n
    \n\n {reportData.length > 0 && (\n \n )}\n
    \n {reportData.length > 0 && (\n
    \n {(path === 'payments' || path === 'gfo-payments') &&\n globalState.reseller?.name === ResellerType.DATMAN &&\n isAdmin && (\n {\n setShowCharges(e.target.checked);\n }}\n disabled={isCheckboxDisabled}\n />\n }\n label=\"Include service fee\"\n style={{ margin: 0 }}\n />\n )}\n {path === 'payments' &&\n globalState.reseller?.name === ResellerType.DATMAN &&\n isAdmin && (\n {\n setShowGFOTransaction(e.target.checked);\n }}\n />\n }\n label=\"Include GFO transactions\"\n style={{ margin: 0 }}\n />\n )}\n
    \n )}\n
    \n \n )}\n
    \n
    \n \n {\n \n {showRetryStripeReportButton && (\n {\n onRetryStripeReport(stripeReportId);\n }}\n >\n Retry\n \n )}\n \n Close\n \n \n }\n \n \n
    \n );\n};\n\nexport default ModalExportReportComponent;\n\nModalExportReportComponent.propTypes = {\n loading: PropTypes.bool,\n intervalStart: PropTypes.string,\n intervalEnd: PropTypes.string,\n download: PropTypes.bool,\n buttonDisabled: PropTypes.bool,\n reportData: PropTypes.object,\n error: PropTypes.bool,\n longRun: PropTypes.bool,\n onRetryStripeReport: PropTypes.func,\n stripeReportId: PropTypes.string,\n reportType: PropTypes.string,\n companyAddress: PropTypes.string\n};\n","import React, { useState, useEffect } from 'react';\nimport ModalExportReportComponent from './modal-export-report.component.jsx';\nimport moment from 'moment';\nimport _ from 'lodash';\nimport {\n PaymentsService,\n PdqTransactionsService,\n MerchantChargesService,\n PayoutsService,\n InternalTransfersService,\n ChargebacksService,\n TaxonomyService,\n BusinessDetailsService\n} from 'services';\nimport { getCurrencyThreeAlpha } from 'utils/getCurrencyByCountry';\nimport {\n formatDateTimeByFormatString,\n formatAmount,\n toTitleCase,\n merchantTypes,\n filterDescription,\n filterRefundDescription\n} from 'utils/helper';\nimport { useGlobalStateContext } from 'contexts';\nimport { ResellerType } from 'utils/enums/ResellerType';\nimport { PdqStatus } from 'utils/enums/pdqTransactionStatus.js';\nimport { PdqFilterTabs } from 'utils/enums/PdqFilterTabs.js';\nimport { statusToFilter } from 'utils/enums/pdqTransactionStatus.js';\nimport { AcquirersNameMap } from 'utils/enums/Acquirers';\nimport { AcquirersToAcquirerName, ReverseAcquirersToAcquirerName } from 'utils/enums/Acquirers';\nimport { PaymentStatus } from 'utils/enums/PaymentStatus.js';\nimport { isDateBeforeCutOffDate } from 'utils/calender-helpers.js';\nimport { REACT_APP_CARD_PAYMENT_ARCHIVE_DATE } from 'utils/constants';\nconst ModalExportReport = (props) => {\n const {\n path,\n timeFrameDetails,\n reportType,\n csvData,\n payOutDetails,\n payoutStartDate,\n payoutEndDate,\n setShowReportModel,\n selectedAcquirer,\n showReportModel,\n daysRange,\n setDaysRange,\n isAdmin\n } = props;\n const [loading, setLoading] = useState(false);\n const [error, setError] = useState(false);\n const [intervalStart, setIntervalStart] = useState(null);\n const [intervalEnd, setIntervalEnd] = useState(null);\n const [enableDownload, setEnableDownload] = useState(false);\n const [reportData, setReportData] = useState([]);\n const [longRun, setLongRun] = useState(false);\n const [buttonLoad, setButtonLoad] = useState(false);\n const { globalState } = useGlobalStateContext();\n const merchantId = globalState?.merchant?.id;\n const [merchantTradingAddress, setMerchantTradingAddress] = useState({});\n const [merchantLegalName, setMerchantLegalName] = useState('');\n const [merchantMobile, setMerchantMobile] = useState(null);\n const [companyAddress, setCompanyAddress] = useState({});\n const [showCharges, setShowCharges] = useState(false);\n const [withChargeData, setWithChargeData] = useState([]);\n const [showGFOTransaction, setShowGFOTransaction] = useState(false);\n const [paymentsFinanceDetails, setPaymentsFinanceDetails] = useState({ total: 0, net: 0, fee: 0, number: 0 });\n const [GFOPaymentsFinanceDetails, setGFOPaymentsFinanceDetails] = useState({ total: 0, net: 0, fee: 0, number: 0 });\n const [allPayments, setAllPayments] = useState([]);\n const paymentProvider = ['CHECKOUT-GFO', 'ADYEN'];\n let totalGrossAmount = 0;\n let totalNetAmount = 0;\n let totalFeesAmount = 0;\n let totalTransactionNumber = 0;\n\n // PDQ transactions\n\n useEffect(() => {\n const retrieveAndSetReportData = async () => {\n setLoading(true);\n\n if (path === 'pdq-transactions') {\n let pdqTransactionsRequest = {\n merchantId: merchantId,\n year: moment(timeFrameDetails.date, 'YYYY-MM-DD').year(),\n month: moment(timeFrameDetails.date).month() + 1,\n day: moment(timeFrameDetails.date, 'YYYY-MM-DD').date()\n };\n const pdqTransactions = await PdqTransactionsService.GetPdqTransactionsList(pdqTransactionsRequest);\n if (pdqTransactions.isSuccesfully) {\n let startingTimestamp = moment(\n `${pdqTransactionsRequest.day}-${pdqTransactionsRequest.month}-${pdqTransactionsRequest.year}`,\n 'DD-MM-YYYY'\n )\n .startOf(timeFrameDetails.via)\n .valueOf();\n let endingTimestamp = moment(\n `${pdqTransactionsRequest.day}-${pdqTransactionsRequest.month}-${pdqTransactionsRequest.year}`,\n 'DD-MM-YYYY'\n )\n .endOf(timeFrameDetails.via)\n .valueOf();\n let transactionInTimeFrame = _.filter(pdqTransactions.data.data, function (pdqRecord) {\n let date_time = moment(moment.utc(pdqRecord.date_time).format('YYYY-MM-DD')).valueOf();\n return date_time >= startingTimestamp && date_time <= endingTimestamp;\n });\n transactionInTimeFrame = _.map(transactionInTimeFrame, (pdqRecord) => {\n let currenySymbol = getCurrencyThreeAlpha(globalState?.merchant?.country);\n let tempPDQObj = {\n Amount: `${currenySymbol.toString()} ${formatAmount(pdqRecord.total)}`,\n Date: formatDateTimeByFormatString(pdqRecord.date_time, 'DD MMM HH:mm'),\n 'Auth code': pdqRecord.auth_code\n };\n if (globalState.reseller?.name === ResellerType.OMNIPAY) {\n tempPDQObj = {\n ...tempPDQObj,\n Status: toTitleCase(\n pdqRecord.refund_status === PdqFilterTabs.Refunded &&\n pdqRecord.transaction_status_id === statusToFilter.Success\n ? 'Refunded'\n : PdqStatus[pdqRecord.transaction_status_id]\n ),\n Amount:\n pdqRecord.refund_status === PdqFilterTabs.Refunded\n ? `${currenySymbol.toString()} -${formatAmount(pdqRecord.total)}`\n : `${currenySymbol.toString()} ${formatAmount(pdqRecord.total)}`\n };\n }\n\n return tempPDQObj;\n });\n\n setReportData(transactionInTimeFrame);\n setIntervalStart(moment(startingTimestamp).format('YYYY-MM-DD'));\n setIntervalEnd(moment(endingTimestamp).format('YYYY-MM-DD'));\n setError(false);\n } else {\n setError(true);\n }\n setLoading(false);\n setEnableDownload(true);\n }\n };\n\n if (path === 'pdq-transactions') {\n retrieveAndSetReportData();\n }\n // eslint-disable-next-line\n }, [path]);\n\n // Merchant Charges\n useEffect(() => {\n const retrieveAndSetReportData = async () => {\n setLoading(true);\n\n if (path === 'merchant-charges') {\n let merchantChargesRequest = {\n merchantId: merchantId,\n day: moment(timeFrameDetails.date, 'YYYY-MM-DD').date(),\n month: moment(timeFrameDetails.date, 'YYYY-MM-DD').month() + 1,\n year: moment(timeFrameDetails.date, 'YYYY-MM-DD').year(),\n week: moment(timeFrameDetails.date, 'YYYY-MM-DD').isoWeek(),\n via: timeFrameDetails.via.toUpperCase()\n };\n const merchantChargesList = await MerchantChargesService.getMerchantChargesList(merchantChargesRequest);\n if (merchantChargesList.isSuccesfully) {\n const paidStatus = function (merchantCharge) {\n return merchantCharge.paid_status === 1 ? 'Paid' : 'Pending';\n };\n let startingTimestamp = moment(\n `${merchantChargesRequest.day}-${merchantChargesRequest.month}-${merchantChargesRequest.year}`,\n 'DD-MM-YYYY'\n )\n .startOf(timeFrameDetails.via)\n .valueOf();\n let endingTimestamp = moment(\n `${merchantChargesRequest.day}-${merchantChargesRequest.month}-${merchantChargesRequest.year}`,\n 'DD-MM-YYYY'\n )\n .endOf(timeFrameDetails.via)\n .valueOf();\n\n let transactionInTimeFrame = _.filter(merchantChargesList.data.data.data, function (\n merchantCharge\n ) {\n let date_sent = moment.utc(merchantCharge.date_sent).valueOf();\n return date_sent >= startingTimestamp && date_sent <= endingTimestamp;\n });\n\n transactionInTimeFrame = _.map(transactionInTimeFrame, (merchantCharge) => {\n let currenySymbol = getCurrencyThreeAlpha(globalState?.merchant?.country);\n return {\n 'Invoice Ref': merchantCharge.id,\n 'Service provided': merchantCharge.service_description\n ? merchantCharge.service_description\n : '--',\n Date: formatDateTimeByFormatString(merchantCharge.date_sent, 'DD MMM YYYY'),\n\n Status: paidStatus(merchantCharge),\n Amount: `${currenySymbol.toString()} ${formatAmount(merchantCharge.amount)}`\n };\n });\n\n setReportData(transactionInTimeFrame);\n setIntervalStart(moment(startingTimestamp).format('YYYY-MM-DD'));\n setIntervalEnd(moment(endingTimestamp).format('YYYY-MM-DD'));\n setError(false);\n } else {\n setError(true);\n }\n\n setLoading(false);\n setEnableDownload(true);\n }\n };\n\n // getMerchantChargesList();\n if (path === 'merchant-charges') {\n retrieveAndSetReportData();\n }\n // eslint-disable-next-line\n }, [path]);\n useEffect(() => {\n const getContract = async () => {\n setLoading(true);\n const merchantResponse = await BusinessDetailsService.getBusinessDetails(globalState.merchant?.id);\n if (merchantResponse.isSuccesfully) {\n setMerchantLegalName(globalState.merchant.legalName);\n if (\n [1, 2].includes(globalState.merchant?.canonicalResellerId) &&\n globalState.reseller?.name === ResellerType.OMNIPAY\n ) {\n setMerchantTradingAddress(merchantResponse.data.ownerDetails);\n setMerchantMobile(merchantResponse.data?.ownerDetails?.telephoneNumber);\n } else {\n setMerchantTradingAddress(merchantResponse.data.businessDetails);\n setMerchantMobile(merchantResponse.data?.businessDetails?.telephoneNumber);\n }\n }\n setLoading(false);\n };\n getContract();\n // eslint-disable-next-line\n }, [globalState.merchant]);\n\n // Payouts\n useEffect(() => {\n const retrieveAndSetReportData = async () => {\n setLoading(true);\n if (path === 'payouts') {\n let payoutsTransactionsRequest = {\n merchantId: merchantId,\n day: moment(timeFrameDetails.date, 'YYYY-MM-DD').date(),\n month: moment(timeFrameDetails.date, 'YYYY-MM-DD').month() + 1,\n year: moment(timeFrameDetails.date, 'YYYY-MM-DD').year(),\n week: moment(timeFrameDetails.date).isoWeek(),\n via: 'MONTH'\n };\n const payoutsList = await PayoutsService.getAllPayouts(merchantId, {\n selectedDate: timeFrameDetails.date\n });\n\n if (payoutsList.isSuccesfully) {\n const selectedProvider = sessionStorage.getItem('selectedProvider');\n let startingTimestamp = moment(\n `${payoutsTransactionsRequest.day}-${payoutsTransactionsRequest.month}-${payoutsTransactionsRequest.year}`,\n 'DD-MM-YYYY'\n )\n .startOf(timeFrameDetails.via)\n .valueOf();\n let endingTimestamp = moment(\n `${payoutsTransactionsRequest.day}-${payoutsTransactionsRequest.month}-${payoutsTransactionsRequest.year}`,\n 'DD-MM-YYYY'\n )\n .endOf(timeFrameDetails.via)\n .valueOf();\n let currenySymbol = getCurrencyThreeAlpha(globalState?.merchant?.country);\n let transactionInTimeFrame = [];\n\n const filterInBatch = filterPayouts(selectedProvider, payoutsList.data.transaction_data.in_batch);\n const inBatchPayouts = filterInBatch.map((payout) => {\n const dateExpected = !payout.expected_date\n ? '--'\n : payout.provider === AcquirersNameMap.STRIPE\n ? formatDateTimeByFormatString(moment.unix(payout.arrival_date), 'DD MMM HH:mm')\n : formatDateTimeByFormatString(payout.expected_date, 'DD MMM HH:mm');\n\n let tempObj = {\n Amount: `${currenySymbol.toString()} ${formatAmount(\n payout.provider === AcquirersNameMap.STRIPE ? payout.total / 100 : payout.total\n )}`,\n 'Date Expected': dateExpected,\n Status: payout.not_received === 1 ? 'Not Received ' : toTitleCase(payout.status)\n };\n return tempObj;\n });\n\n let inNotInBatchTimeFrame = [];\n if (payoutsList.data.transaction_data.not_in_batch.length !== 0) {\n const notInBatchPayouts = filterPayouts(\n selectedProvider,\n payoutsList.data.transaction_data.not_in_batch\n );\n inNotInBatchTimeFrame = notInBatchPayouts.map((payouts) => {\n let tempObj = {\n Amount: `${currenySymbol.toString()} ${formatAmount(payouts.total)}`,\n 'Date Expected': formatDateTimeByFormatString(payouts.expected_date, 'DD MMM HH:mm'),\n Status: 'Pending'\n };\n return tempObj;\n });\n }\n transactionInTimeFrame = [...inBatchPayouts, ...inNotInBatchTimeFrame];\n\n setReportData(transactionInTimeFrame);\n setIntervalStart(moment(startingTimestamp).format('YYYY-MM-DD'));\n setIntervalEnd(moment(endingTimestamp).format('YYYY-MM-DD'));\n setError(false);\n } else {\n setError(true);\n }\n\n setLoading(false);\n setEnableDownload(true);\n }\n };\n if (path === 'payouts') {\n retrieveAndSetReportData();\n }\n\n // eslint-disable-next-line\n }, [path]);\n const filterPayouts = (selectedProvider, payoutList = []) => {\n let filteredList = [...payoutList];\n if (selectedProvider && selectedProvider !== AcquirersToAcquirerName.ALL) {\n filteredList = payoutList.filter((payout) => {\n return payout.provider === ReverseAcquirersToAcquirerName[selectedProvider];\n });\n }\n return filteredList;\n };\n\n const formatRefundReasonAndAmountString = (str) => {\n str = str.replace('£', '');\n str = str.replace('\\n', '');\n str = str.replace('
    ', '');\n str = str.replace('
    ', '');\n str = str.replace('because', ' - ');\n str = str.replace(' ', '');\n let arr = str.split('.');\n let str2 = `${arr[0]}.${arr[1] ? arr[1] : ''}`;\n return str2;\n };\n // Payments\n useEffect(() => {\n const retrieveAndSetReportData = async () => {\n setLoading(true);\n let from = timeFrameDetails.date;\n let to = timeFrameDetails.date;\n let paymentFrom = moment(timeFrameDetails.date).format('YYYY-MM-DD');\n let paymentTo = moment(timeFrameDetails.date).format('YYYY-MM-DD');\n let transactionsRequest = {\n from,\n via: timeFrameDetails.via.toUpperCase()\n };\n if (!_.isEmpty(daysRange)) {\n paymentFrom = moment(daysRange.startDate).format('YYYY-MM-DD');\n paymentTo = moment(daysRange.endDate).add(1, 'days').format('YYYY-MM-DD');\n transactionsRequest = {\n from: paymentFrom,\n to: paymentTo,\n via: 'RANGE'\n };\n } else if (timeFrameDetails.via === 'month') {\n paymentFrom = moment(timeFrameDetails.date).startOf('month').format('YYYY-MM-DD');\n paymentTo = moment(timeFrameDetails.date).endOf('month').format('YYYY-MM-DD');\n transactionsRequest = {\n from: paymentFrom,\n via: timeFrameDetails.via.toUpperCase()\n };\n } else if (timeFrameDetails.via === 'week') {\n from = moment(timeFrameDetails.date).startOf('week').format('YYYY-MM-DD');\n to = moment(timeFrameDetails.date).endOf('week').format('YYYY-MM-DD');\n paymentFrom = from;\n paymentTo = to;\n transactionsRequest = {\n from: paymentFrom,\n via: timeFrameDetails.via.toUpperCase()\n };\n }\n if (isDateBeforeCutOffDate(transactionsRequest.from)) {\n transactionsRequest.from = moment(REACT_APP_CARD_PAYMENT_ARCHIVE_DATE, 'DD-MM-YYYY').format(\n 'YYYY-MM-DD'\n );\n }\n\n let transactions;\n if (!allPayments || allPayments.length === 0) {\n transactions = await PaymentsService.GetPayments(globalState.merchant?.id, transactionsRequest);\n }\n\n if (transactions?.isSuccesfully || allPayments.length > 0) {\n let filteredPayments = transactions?.data?.payments || allPayments;\n setAllPayments(filteredPayments);\n if (!showGFOTransaction && isAdmin) {\n filteredPayments =\n filteredPayments?.filter(({ payment_provider }) =>\n isAdmin &&\n globalState?.reseller?.name === ResellerType.DATMAN &&\n selectedAcquirer?.length !== 0\n ? selectedAcquirer?.includes(payment_provider) &&\n !paymentProvider?.includes(payment_provider)\n : !paymentProvider?.includes(payment_provider)\n ) || [];\n } else {\n filteredPayments =\n isAdmin &&\n globalState.reseller?.name === ResellerType.DATMAN &&\n selectedAcquirer?.length !== 0 &&\n filteredPayments.length > 0\n ? filteredPayments.filter(({ payment_provider }) =>\n selectedAcquirer.includes(payment_provider)\n )\n : filteredPayments;\n }\n let transactionInTimeFrame = tempData(filteredPayments);\n let withChargesData = tempData(filteredPayments, true);\n let headerCellsExport = {\n Amount: `${getCurrencyThreeAlpha(globalState.merchant?.country)} ${totalGrossAmount.toFixed(2)}`,\n 'Transaction details': `Total of ${totalTransactionNumber} transactions`\n };\n\n let headerCellsWithChargesExport = {\n Amount: `${getCurrencyThreeAlpha(globalState.merchant?.country)} ${totalGrossAmount.toFixed(2)}`,\n Fee: `${totalFeesAmount.toFixed(2)}`,\n Net: `${totalNetAmount.toFixed(2)}`,\n 'Transaction details': `Total of ${totalTransactionNumber} transactions`\n };\n withChargesData.push({});\n transactionInTimeFrame.push({});\n withChargesData.push(headerCellsWithChargesExport);\n transactionInTimeFrame.push(headerCellsExport);\n setReportData(transactionInTimeFrame);\n setWithChargeData(withChargesData);\n setIntervalStart(moment(paymentFrom).format('YYYY-MM-DD'));\n setIntervalEnd(moment(paymentTo).format('YYYY-MM-DD'));\n setError(false);\n } else {\n setError(true);\n }\n setLoading(false);\n setEnableDownload(true);\n setPaymentsFinanceDetails({\n total: totalGrossAmount,\n net: totalNetAmount,\n fee: totalFeesAmount,\n number: totalTransactionNumber\n });\n };\n if (path === 'payments' && timeFrameDetails.via !== 'year' && timeFrameDetails.via !== 'all') {\n retrieveAndSetReportData();\n }\n // eslint-disable-next-line\n }, [path, timeFrameDetails, showGFOTransaction]);\n const tempData = (filteredPayments, charges) => {\n totalGrossAmount = 0;\n totalFeesAmount = 0;\n totalNetAmount = 0;\n totalTransactionNumber = 0;\n let data = _.map(filteredPayments, (records) => {\n let currenySymbol = getCurrencyThreeAlpha(globalState?.merchant?.country);\n let tempDetails = _.compact([\n _.compact([records.firstname?.trim(), records.lastname?.trim()]).join(' '),\n records.address?.trim()\n ]).join(' - ');\n totalTransactionNumber++;\n totalGrossAmount = parseFloat(totalGrossAmount) + parseFloat(records.total);\n totalFeesAmount = parseFloat(totalFeesAmount) + parseFloat(records.fees);\n totalNetAmount = parseFloat(totalNetAmount) + parseFloat(records.total) - parseFloat(records.fees);\n let transactionDetails = records.refund\n ? `${formatRefundReasonAndAmountString(records.refund)} ${tempDetails}`\n : tempDetails;\n transactionDetails = transactionDetails.replace('GMT+0000 (Coordinated Universal Time)', '');\n let tempPaymentStartObj = {\n Amount: `${currenySymbol.toString()} ${formatAmount(records.total)}`\n };\n\n charges &&\n (tempPaymentStartObj = {\n ...tempPaymentStartObj,\n Fee: formatAmount(records.fees),\n Net: formatAmount(records.payed)\n });\n\n tempPaymentStartObj = {\n ...tempPaymentStartObj,\n 'Merchant name': records.merchant_name,\n 'Transaction details': transactionDetails ? transactionDetails : '--'\n };\n if (globalState.reseller?.name === ResellerType.OMNIPAY) {\n tempPaymentStartObj = {\n ...tempPaymentStartObj,\n Description:\n +records.total < 0\n ? filterRefundDescription(records.refund) || '-'\n : records.more_info\n ? filterDescription(records.more_info)\n : records.description\n ? records.description\n : '--'\n };\n }\n let status = records.payment_status\n ? Number(records.total) > 0\n ? toTitleCase(PaymentStatus[records.payment_status])\n : 'Refunded'\n : (Number(records.total) <= 0 && records.refund) || records.firstname.includes('Charge back')\n ? 'Refunded'\n : 'Success';\n const showMerchantName = merchantTypes.includes(globalState.merchant?.merchantType);\n if (!showMerchantName) delete tempPaymentStartObj[`Merchant name`];\n\n let tempPaymentEndObj = {\n Date: moment(records.time).format('DD-MM-YYYY HH:mm:ss'),\n Status: status\n };\n let tempPaymentObj = { ...tempPaymentStartObj, ...tempPaymentEndObj };\n return tempPaymentObj;\n });\n return data;\n };\n // GFO Payments\n useEffect(() => {\n const retrieveAndSetReportData = async () => {\n setLoading(true);\n\n let from = timeFrameDetails.date;\n let to = timeFrameDetails.date;\n let gfoPaymentFrom = moment(timeFrameDetails.date).format('YYYY-MM-DD');\n let gfoPaymentTo = moment(timeFrameDetails.date).format('YYYY-MM-DD');\n let gfoTransactionsRequest = {\n from,\n via: timeFrameDetails.via.toUpperCase()\n };\n if (!_.isEmpty(daysRange)) {\n gfoPaymentFrom = moment(daysRange.startDate).format('YYYY-MM-DD');\n gfoPaymentTo = moment(daysRange.endDate).add(1, 'days').format('YYYY-MM-DD');\n gfoTransactionsRequest = {\n from: gfoPaymentFrom,\n to: gfoPaymentTo,\n via: 'RANGE'\n };\n } else if (timeFrameDetails.via === 'month') {\n gfoPaymentFrom = moment(timeFrameDetails.date).startOf('month');\n gfoPaymentTo = moment(timeFrameDetails.date).endOf('month');\n } else if (timeFrameDetails.via === 'week') {\n from = moment(timeFrameDetails.date).startOf('week').format('YYYY-MM-DD');\n to = moment(timeFrameDetails.date).endOf('week').format('YYYY-MM-DD');\n gfoPaymentFrom = from;\n gfoPaymentTo = to;\n }\n const gfoTranscations = await PaymentsService.GetPayments(globalState.merchant?.id, gfoTransactionsRequest);\n if (gfoTranscations.isSuccesfully) {\n let transactionInTimeFrame = _.filter(gfoTranscations.data.payments, function (gfoRecord) {\n return paymentProvider.includes(gfoRecord.payment_provider);\n });\n const data = tempGfoData(transactionInTimeFrame);\n const datawithCharges = tempGfoData(transactionInTimeFrame, true);\n transactionInTimeFrame = _.map(transactionInTimeFrame, (gfoRecord) => {\n let currenySymbol = getCurrencyThreeAlpha(globalState?.merchant?.country);\n return {\n Amount: `${currenySymbol.toString()} ${formatAmount(gfoRecord.total)}`,\n Date: gfoRecord.time,\n Status: !gfoRecord.refund && Number(gfoRecord.total) !== 0 ? 'Success' : 'Refunded'\n };\n });\n let headerCellsExport = {\n Amount: `${getCurrencyThreeAlpha(globalState.merchant?.country)} ${totalGrossAmount.toFixed(2)}`,\n 'Transaction details': `Total of ${totalTransactionNumber} transactions`\n };\n\n let headerCellsWithChargesExport = {\n Amount: `${getCurrencyThreeAlpha(globalState.merchant?.country)} ${totalGrossAmount.toFixed(2)}`,\n Fee: `${totalFeesAmount.toFixed(2)}`,\n Net: `${totalNetAmount.toFixed(2)}`,\n 'Transaction details': `Total of ${totalTransactionNumber} transactions`\n };\n datawithCharges.push({});\n datawithCharges.push(headerCellsWithChargesExport);\n data.push({});\n data.push(headerCellsExport);\n\n setWithChargeData(datawithCharges);\n\n setReportData(data);\n setGFOPaymentsFinanceDetails({\n total: totalGrossAmount,\n net: totalNetAmount,\n fee: totalFeesAmount,\n number: totalTransactionNumber\n });\n setIntervalStart(moment(gfoPaymentFrom).format('YYYY-MM-DD'));\n setIntervalEnd(moment(gfoPaymentTo).format('YYYY-MM-DD'));\n setError(false);\n } else {\n setError(true);\n }\n setLoading(false);\n setEnableDownload(true);\n };\n\n if (path === 'gfo-payments') {\n retrieveAndSetReportData();\n }\n // eslint-disable-next-line\n }, [path]);\n const tempGfoData = (transactionInTimeFrame, charges) => {\n totalGrossAmount = 0;\n totalFeesAmount = 0;\n totalNetAmount = 0;\n totalTransactionNumber = 0;\n let data;\n charges\n ? (data = _.map(transactionInTimeFrame, (gfoRecord) => {\n let currenySymbol = getCurrencyThreeAlpha(globalState?.merchant?.country);\n let tempDetails = _.compact([\n _.compact([gfoRecord.firstname?.trim(), gfoRecord.lastname?.trim()]).join(' '),\n gfoRecord.address?.trim()\n ]).join(' - ');\n totalTransactionNumber++;\n totalGrossAmount = parseFloat(totalGrossAmount) + parseFloat(gfoRecord.total);\n totalFeesAmount = parseFloat(totalFeesAmount) + parseFloat(gfoRecord.fees);\n totalNetAmount =\n parseFloat(totalNetAmount) + parseFloat(gfoRecord.total) - parseFloat(gfoRecord.fees);\n let transactionDetails = gfoRecord.refund\n ? `${formatRefundReasonAndAmountString(gfoRecord.refund)} ${tempDetails}`\n : tempDetails;\n transactionDetails = transactionDetails.replace('GMT+0000 (Coordinated Universal Time)', '');\n return {\n Amount: `${currenySymbol.toString()} ${formatAmount(gfoRecord.total)}`,\n Fee: formatAmount(gfoRecord.fees),\n Net: formatAmount(gfoRecord.payed),\n 'Transaction details': transactionDetails,\n Date: gfoRecord.time,\n Status: !gfoRecord.refund && Number(gfoRecord.total) !== 0 ? 'Success' : 'Refunded'\n };\n }))\n : (data = _.map(transactionInTimeFrame, (gfoRecord) => {\n let currenySymbol = getCurrencyThreeAlpha(globalState?.merchant?.country);\n let tempDetails = _.compact([\n _.compact([gfoRecord.firstname?.trim(), gfoRecord.lastname?.trim()]).join(' '),\n gfoRecord.address?.trim()\n ]).join(' - ');\n totalTransactionNumber++;\n totalGrossAmount = parseFloat(totalGrossAmount) + parseFloat(gfoRecord.total);\n totalFeesAmount = parseFloat(totalFeesAmount) + parseFloat(gfoRecord.fees);\n totalNetAmount =\n parseFloat(totalNetAmount) + parseFloat(gfoRecord.total) - parseFloat(gfoRecord.fees);\n let transactionDetails = gfoRecord.refund\n ? `${formatRefundReasonAndAmountString(gfoRecord.refund)} ${tempDetails}`\n : tempDetails;\n transactionDetails = transactionDetails.replace('GMT+0000 (Coordinated Universal Time)', '');\n return {\n Amount: `${currenySymbol.toString()} ${formatAmount(gfoRecord.total)}`,\n 'Transaction details': transactionDetails,\n Date: gfoRecord.time,\n Status: !gfoRecord.refund && Number(gfoRecord.total) !== 0 ? 'Success' : 'Refunded'\n };\n }));\n return data;\n };\n // Chargebacks\n useEffect(() => {\n const retrieveAndSetReportData = async () => {\n setLoading(true);\n let chargebacksTransactionsRequest = {\n merchantId: merchantId,\n day: moment(timeFrameDetails.date, 'YYYY-MM-DD').date(),\n month: moment(timeFrameDetails.date).month() + 1,\n week: moment(timeFrameDetails.date).isoWeek(),\n year: moment(timeFrameDetails.date, 'YYYY-MM-DD').year(),\n via: 'MONTH'\n };\n const chargebacksList = await ChargebacksService.getChargebacksList(chargebacksTransactionsRequest);\n if (chargebacksList.isSuccesfully) {\n let startingTimestamp = moment(\n `${chargebacksTransactionsRequest.day}-${chargebacksTransactionsRequest.month}-${chargebacksTransactionsRequest.year}`,\n 'DD-MM-YYYY'\n )\n .startOf(timeFrameDetails.via)\n .valueOf();\n let endingTimestamp = moment(\n `${chargebacksTransactionsRequest.day}-${chargebacksTransactionsRequest.month}-${chargebacksTransactionsRequest.year}`,\n 'DD-MM-YYYY'\n )\n .endOf(timeFrameDetails.via)\n .valueOf();\n\n let transactionInTimeFrame = _.filter(chargebacksList.data.data);\n transactionInTimeFrame = _.chain(transactionInTimeFrame)\n .map((chargebacks) => {\n let currenySymbol = getCurrencyThreeAlpha(globalState?.merchant?.country);\n let status =\n chargebacks.outcome === 'NOTRESOLVED'\n ? chargebacks.outcome.replace(/^(.{3})(.*)$/, '$1 $2')\n : chargebacks.outcome;\n return {\n Amount: `${currenySymbol.toString()} ${formatAmount(chargebacks.total)}`,\n Date: formatDateTimeByFormatString(chargebacks.time, 'DD MMM HH:mm'),\n Address: chargebacks.address,\n 'Chargeback reason': chargebacks.cb_reason ? toTitleCase(chargebacks.cb_reason) : '--',\n Status: toTitleCase(status),\n time: chargebacks.time // Added for sorting\n };\n })\n .orderBy(['time'], ['desc'])\n .map((record) => _.omit(record, 'time')) // Remove the time field used for sorting\n .value();\n setReportData(transactionInTimeFrame);\n setIntervalStart(moment(startingTimestamp).format('YYYY-MM-DD'));\n setIntervalEnd(moment(endingTimestamp).format('YYYY-MM-DD'));\n setError(false);\n } else {\n setError(true);\n }\n setLoading(false);\n setEnableDownload(true);\n };\n if (path === 'chargebacks') {\n retrieveAndSetReportData();\n }\n // eslint-disable-next-line\n }, [path]);\n\n // Payout details\n useEffect(() => {\n if (payOutDetails) {\n setReportData(csvData);\n setEnableDownload(true);\n setIntervalStart(payoutStartDate);\n setIntervalEnd(payoutEndDate);\n }\n // eslint-disable-next-line\n }, [payOutDetails]);\n\n // Internal Transfers\n useEffect(() => {\n const retrieveAndSetReportData = async () => {\n setLoading(true);\n let internalTransferTransactions = {\n merchantId: merchantId,\n day: moment(timeFrameDetails.date, 'YYYY-MM-DD').date(),\n month: moment(timeFrameDetails.date).month() + 1,\n week: moment(timeFrameDetails.date).isoWeek(),\n year: moment(timeFrameDetails.date, 'YYYY-MM-DD').year(),\n via: 'MONTH'\n };\n const internalTransfersData = await InternalTransfersService.getInternalTransfersList(\n internalTransferTransactions\n );\n if (internalTransfersData.isSuccesfully) {\n let startingTimestamp = moment(\n `${internalTransferTransactions.day}-${internalTransferTransactions.month}-${internalTransferTransactions.year}`,\n 'DD-MM-YYYY'\n )\n .startOf(timeFrameDetails.via)\n .valueOf();\n let endingTimestamp = moment(\n `${internalTransferTransactions.day}-${internalTransferTransactions.month}-${internalTransferTransactions.year}`,\n 'DD-MM-YYYY'\n )\n .endOf(timeFrameDetails.via)\n .valueOf();\n let transactionInTimeFrame = _.filter(internalTransfersData.data.data.internalTransfers);\n transactionInTimeFrame = _.map(transactionInTimeFrame, (iTRecord) => {\n let currenySymbol = getCurrencyThreeAlpha(globalState?.merchant?.country);\n return {\n Amount: `${currenySymbol.toString()} ${formatAmount(iTRecord.amount)}`,\n Supplier: iTRecord.supplier,\n Date: formatDateTimeByFormatString(iTRecord.created_at, 'DD MMM HH:mm'),\n Description: iTRecord.description ? iTRecord.description : '--',\n Status: toTitleCase(iTRecord.status)\n };\n });\n\n setReportData(transactionInTimeFrame);\n setIntervalStart(moment(startingTimestamp).format('YYYY-MM-DD'));\n setIntervalEnd(moment(endingTimestamp).format('YYYY-MM-DD'));\n setError(false);\n } else {\n setError(true);\n }\n setLoading(false);\n setEnableDownload(true);\n };\n if (path === 'internal-transfers') {\n retrieveAndSetReportData();\n }\n // eslint-disable-next-line\n }, [path]);\n\n // Address Fetch\n useEffect(() => {\n const fetchAddress = async () => {\n if (showReportModel) {\n const response = await TaxonomyService.getResellersAPI();\n let filteredAddress = response.filter((data) => data.id === globalState.reseller?.id);\n _.map(filteredAddress, (getAddress) => {\n setCompanyAddress(getAddress.address);\n });\n }\n };\n fetchAddress();\n }, [showReportModel, globalState.reseller.id]);\n\n async function fetchReport(reportId) {\n try {\n const result = await PaymentsService.fetchStripePaymentReport(merchantId, reportId);\n return result;\n } catch (e) {\n let result = { status: 503 };\n return result;\n }\n }\n\n const onRetryStripeReport = async (reportId) => {\n setLoading(true);\n setEnableDownload(false);\n const result = await fetchReport(reportId);\n if (result.isSuccesfully) {\n const lineCount = result.data?.split('\\n').length;\n\n if (lineCount > 2) {\n setReportData(result.data);\n }\n } else setLongRun(true);\n setLoading(false);\n setEnableDownload(true);\n };\n\n return (\n \n );\n};\n\nexport default ModalExportReport;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n Dialog,\n DialogTitle,\n DialogContent,\n DialogContentText,\n DialogActions,\n Button,\n CircularProgress\n} from '@material-ui/core';\nimport styles from './modal-delete-merchant-account.module.scss';\nimport Alert from '@material-ui/lab/Alert';\n\nfunction ModalDeleteMerchantAccountComponent(props) {\n const { setOpen, onDeleteMerchant, merchantName, isError, isLoading } = props;\n\n return (\n setOpen(false)} aria-labelledby=\"draggable-dialog-title\">\n \n Delete account\n \n \n \n
    \n You are about to delete account {merchantName}.
    \n Are you sure you wish to proceed?\n
    \n {isError && (\n \n Cannot delete account. Please contact support or try again.\n \n )}\n
    \n
    \n \n {isLoading && }\n setOpen(false)}\n color=\"primary\"\n variant=\"contained\"\n >\n Cancel\n \n onDeleteMerchant()}\n color=\"primary\"\n variant=\"contained\"\n >\n Delete\n \n \n
    \n );\n}\n\nModalDeleteMerchantAccountComponent.propTypes = {\n setOpen: PropTypes.func,\n onDeleteMerchant: PropTypes.func,\n merchantName: PropTypes.string,\n isError: PropTypes.bool,\n isLoading: PropTypes.bool\n};\n\nexport default ModalDeleteMerchantAccountComponent;\n","import { useGlobalStateContext } from 'contexts';\nimport React, { useState } from 'react';\nimport { NonResellerMerchantService } from 'services';\nimport ModalDeleteMerchantAccountComponent from './modal-delete-merchant-account.component';\n\nfunction ModalDeleteMerchantAccount(props) {\n const { globalState, setGlobalState, setRoute } = useGlobalStateContext();\n const [isError, setIsError] = useState(false);\n const [isLoading, setIsLoading] = useState(false);\n const { setOpen } = props;\n\n const onDeleteMerchant = async () => {\n setIsError(false);\n setIsLoading(true);\n const merchantName = globalState.merchant?.name;\n const response = await NonResellerMerchantService.deleteMerchantAccount(globalState.merchant?.id);\n if (response.isSuccesfully) {\n setOpen(false);\n setGlobalState((globalState) => ({\n ...globalState,\n shouldLoadMerchants: !globalState.shouldLoadMerchants,\n wasDeletedMerchantName: merchantName\n }));\n setIsLoading(false);\n setRoute('/home');\n } else {\n setIsLoading(false);\n setIsError(true);\n }\n };\n\n return (\n \n );\n}\n\nexport default ModalDeleteMerchantAccount;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n Dialog,\n DialogTitle,\n DialogContent,\n DialogContentText,\n DialogActions,\n Button,\n CircularProgress\n} from '@material-ui/core';\nimport styles from './modal-close-merchant-account.module.scss';\nimport Alert from '@material-ui/lab/Alert';\nimport { useGlobalStateContext } from 'contexts';\n\nfunction ModalCloseMerchantAccountComponent(props) {\n const { globalState } = useGlobalStateContext();\n const { setOpen, onCloseMerchant, isError, isLoading } = props;\n const merchantName = globalState.merchant?.name;\n\n return (\n setOpen(false)} aria-labelledby=\"draggable-dialog-title\">\n \n Close account\n \n \n \n
    \n After confirming your request to close account {merchantName} a member of our team will be in\n touch to walk you through the process. You may need to return devices or terminals, and you\n could still be liable for chargebacks received up to 12 months from the date of closure.\n
    \n {isError && (\n \n Cannot close account. Please contact support or try again.\n \n )}\n
    \n
    \n \n {isLoading && }\n setOpen(false)}\n color=\"primary\"\n variant=\"contained\"\n >\n Cancel\n \n onCloseMerchant()}\n color=\"primary\"\n variant=\"contained\"\n >\n Request to close\n \n \n
    \n );\n}\n\nModalCloseMerchantAccountComponent.propTypes = {\n setOpen: PropTypes.func,\n onCloseMerchant: PropTypes.func,\n isError: PropTypes.bool,\n isLoading: PropTypes.bool\n};\n\nexport default ModalCloseMerchantAccountComponent;\n","import { useGlobalStateContext } from 'contexts';\nimport React, { useState } from 'react';\nimport { NonResellerMerchantService } from 'services';\nimport ModalCloseMerchantAccountComponent from './modal-close-merchant-account.component';\n\nfunction ModalCloseMerchantAccount(props) {\n const { globalState, setGlobalState } = useGlobalStateContext();\n const [isError, setIsError] = useState(false);\n const [isLoading, setIsLoading] = useState(false);\n const { setOpen, setOpenConfirmation } = props;\n\n const onCloseMerchant = async () => {\n setIsError(false);\n setIsLoading(true);\n const data = {\n resellerId: globalState.reseller?.id\n };\n const response = await NonResellerMerchantService.requestCloseMerchantAccount(globalState.merchant?.id, data);\n if (response.isSuccesfully) {\n setOpen(false);\n setIsLoading(false);\n setGlobalState((globalState) => ({\n ...globalState,\n shouldLoadMerchants: !globalState.shouldLoadMerchants,\n shouldLoadThisMerchant: globalState.merchant?.id\n }));\n setOpenConfirmation(true);\n } else {\n setIsLoading(false);\n setIsError(true);\n }\n };\n\n return (\n \n );\n}\n\nexport default ModalCloseMerchantAccount;\n","import React from 'react';\nimport { Grid, Typography } from '@material-ui/core';\nimport { Clear, Done } from '@material-ui/icons';\nimport styles from './password-validation.module.scss';\nimport PropTypes from 'prop-types';\nimport FiberManualRecordIcon from '@material-ui/icons/FiberManualRecord';\n\nconst PasswordValidationComponent = (props) => {\n const {\n hasEightCharacters,\n // hasUpperCaseCharacters,\n // hasLowerCaseCharacters,\n //hasSpecialCharacters,\n hasDigitCharacters,\n newPasswordMatchesConfirmPassword,\n honorCurrentPassword,\n notSameAsCurrentPassword,\n newPasswordChange,\n redoPasswordValidation,\n userNameValidation\n } = props;\n\n return (\n \n \n {redoPasswordValidation && !hasEightCharacters ? (\n \n ) : hasEightCharacters ? (\n \n ) : (\n \n )}\n \n \n Must contain a minimum of 8 characters\n \n {/* \n {hasUpperCaseCharacters ? (\n \n ) : (\n \n )}\n \n \n Contain uppercase letters\n \n \n {hasLowerCaseCharacters ? (\n \n ) : (\n \n )}\n \n \n Contain lowercase letters\n \n \n {hasSpecialCharacters ? (\n \n ) : (\n \n )}\n \n \n Contain special characters\n */}\n {/* \n */}\n\n \n {redoPasswordValidation && !hasDigitCharacters ? (\n \n ) : hasDigitCharacters ? (\n \n ) : (\n \n )}\n \n \n Must contain a minimum of 1 number(s)\n \n\n \n {redoPasswordValidation && !userNameValidation ? (\n \n ) : userNameValidation ? (\n \n ) : (\n \n )}\n \n \n \n Password must not include username or email for security\n \n \n\n \n \n \n {redoPasswordValidation && !newPasswordMatchesConfirmPassword ? (\n \n ) : redoPasswordValidation && newPasswordMatchesConfirmPassword ? (\n \n ) : null}\n \n\n {redoPasswordValidation ? (\n \n Confirmation password must match \n \n ) : null}\n \n );\n};\n\nexport default PasswordValidationComponent;\n\nPasswordValidationComponent.propTypes = {\n hasEightCharacters: PropTypes.bool.isRequired,\n hasUpperCaseCharacters: PropTypes.bool.isRequired,\n hasLowerCaseCharacters: PropTypes.bool.isRequired,\n //hasSpecialCharacters: PropTypes.bool.isRequired,\n hasDigitCharacters: PropTypes.bool.isRequired,\n newPasswordMatchesConfirmPassword: PropTypes.bool.isRequired,\n hideMatchConfirmPassword: PropTypes.bool.isRequired,\n honorCurrentPassword: PropTypes.bool.isRequired,\n notSameAsCurrentPassword: PropTypes.bool,\n redoPasswordValidation: PropTypes.bool,\n CrossIcon: PropTypes.bool\n};\n","import React, { useState, useEffect } from 'react';\nimport PasswordValidationComponent from './password-validation.component';\nimport PropTypes from 'prop-types';\nimport { isValidPassword } from 'utils/helper';\n// import { es } from 'date-fns/locale';\n\nconst PasswordValidation = (props) => {\n const {\n currentPassword,\n newPassword,\n confirmPassword,\n setIsPasswordValid,\n honorCurrentPassword,\n newPasswordChange,\n redoPasswordValidation,\n email,\n firstName,\n lastName\n } = props;\n\n const [hasEightCharacters, setHasEightCharacters] = useState(false);\n const [hasUpperCaseCharacters, setHasUpperCaseCharacters] = useState(false);\n const [hasLowerCaseCharacters, setHasLowerCaseCharacters] = useState(false);\n //const [hasSpecialCharacters, setHasSpecialCharacters] = useState(false);\n const [hasDigitCharacters, setHasDigitCharacters] = useState(false);\n const [newPasswordMatchesConfirmPassword, setNewPasswordMatchesConfirmPassword] = useState(\n newPassword === confirmPassword\n );\n const [notSameAsCurrentPassword, setNotSameAsCurrentPassword] = useState(false);\n const [userNameValidation, setUserNameValidation] = useState(false);\n\n const lengthRegEx = new RegExp('(?=.{8,})');\n const uppercaseRegEx = new RegExp('(?=.*[A-Z])');\n const lowercaseRegEx = new RegExp('(?=.*[a-z])');\n //const specialCharacterRegEx = new RegExp('(?=.*[_!@#$%^&*-/()?+<>^|])');\n const digitRegEx = new RegExp('(?=.*[0-9])');\n const confirmPasswordValidation = newPassword && confirmPassword && newPassword === confirmPassword;\n const currentPasswordValidation = currentPassword && newPassword && currentPassword !== newPassword;\n\n useEffect(() => {\n setHasEightCharacters(lengthRegEx.test(newPassword));\n setHasUpperCaseCharacters(uppercaseRegEx.test(newPassword));\n setHasLowerCaseCharacters(lowercaseRegEx.test(newPassword));\n //setHasSpecialCharacters(specialCharacterRegEx.test(newPassword));\n setHasDigitCharacters(digitRegEx.test(newPassword));\n setNewPasswordMatchesConfirmPassword(confirmPasswordValidation);\n setNotSameAsCurrentPassword(currentPasswordValidation);\n\n newPassword.length >= 8\n ? setUserNameValidation(isValidPassword(newPassword, firstName, lastName, email))\n : setUserNameValidation(false);\n\n if (\n (!honorCurrentPassword || currentPassword) &&\n (!honorCurrentPassword || currentPassword.length >= 8) &&\n newPassword &&\n newPassword.length >= 8 &&\n confirmPassword &&\n confirmPassword.length >= 8 &&\n (!honorCurrentPassword || newPassword !== currentPassword) &&\n newPassword === confirmPassword &&\n hasEightCharacters &&\n (hasUpperCaseCharacters || hasLowerCaseCharacters) &&\n //hasSpecialCharacters &&\n hasDigitCharacters &&\n userNameValidation\n ) {\n setIsPasswordValid && setIsPasswordValid(true);\n } else {\n setIsPasswordValid && setIsPasswordValid(false);\n }\n // eslint-disable-next-line\n }, [\n currentPassword,\n newPassword,\n confirmPassword,\n honorCurrentPassword,\n notSameAsCurrentPassword,\n newPasswordChange,\n hasDigitCharacters,\n hasEightCharacters\n ]);\n\n return (\n \n );\n};\n\nexport default PasswordValidation;\n\nPasswordValidation.propTypes = {\n currentPassword: PropTypes.string,\n honorCurrentPassword: PropTypes.bool.isRequired,\n newPassword: PropTypes.string.isRequired,\n confirmPassword: PropTypes.string.isRequired,\n setIsPasswordValid: PropTypes.func,\n newPasswordChange: PropTypes.func,\n redoPasswordValidation: PropTypes.bool\n};\n","import React from 'react';\nimport { Link } from 'react-router-dom';\nimport styles from './reset-password-form.module.scss';\n\nimport { Form, Spinner } from 'react-bootstrap';\nimport { useGlobalStateContext } from 'contexts';\nimport { PasswordValidation, SnackBarAndAlert } from 'components';\nimport PasswordInput from 'components/password-input/password-input.container';\n\nimport { Button, Grid, Typography } from '@material-ui/core';\n\nconst ResetPasswordFormComponent = (props) => {\n const { getRoute } = useGlobalStateContext();\n const {\n handleSubmit,\n isSuccess,\n message,\n setMessage,\n loading,\n newPassword,\n setNewPassword,\n confirmPassword,\n setConfirmPassword,\n isPasswordValidationFailed,\n setIsPasswordValidationFailed,\n redoPasswordValidation,\n setRedoPasswordValidation,\n email,\n firstName,\n lastName,\n userOnPasswordUpdatePageAfterExpiry,\n oldPassword,\n setOldPassword,\n handleSubmitOnExpiry\n } = props;\n\n return (\n \n
    \n \n {newPassword.length > 4 ? (\n \n
    \n {isPasswordValidationFailed ? Password Requirements: : null}\n\n {\n setIsPasswordValidationFailed(!isValid);\n }}\n />\n
    \n
    \n ) : null}\n \n {userOnPasswordUpdatePageAfterExpiry && (\n \n Old password\n {\n setOldPassword(value);\n }}\n type=\"password\"\n placeholder=\"Password\"\n required={true}\n autoFocus={true}\n />\n \n )}\n \n New password\n {\n setNewPassword(value);\n setRedoPasswordValidation(true);\n }}\n type=\"password\"\n placeholder=\"Password\"\n required={true}\n autoFocus={true}\n />\n \n \n Confirm password\n {\n setConfirmPassword(value);\n setRedoPasswordValidation(true);\n }}\n type=\"Password\"\n placeholder=\"Confirm password\"\n />\n \n \n
    \n {message && (\n setMessage(false)}\n type={isSuccess ? 'success' : 'error'}\n >\n {message}\n \n )}\n\n \n \n {loading && (\n
    \n \n
    \n )}\n Set password\n \n
    \n \n
    \n Switch to another account? Sign in\n
    \n
    \n );\n};\n\nexport default ResetPasswordFormComponent;\n","import React, { useState, useEffect } from 'react';\nimport { useGlobalStateContext } from 'contexts';\nimport ResetPasswordFormComponent from './reset-password-form.component';\nimport qs from 'query-string';\nimport { useLocation } from 'react-router-dom';\nimport { AuthService } from 'services';\n\nfunction ResetPasswordForm(props) {\n const { userOnPasswordUpdatePageAfterExpiry } = props;\n const { setRoute } = useGlobalStateContext();\n const [isSuccess, setIsSuccess] = useState(false);\n const [message, setMessage] = useState('');\n const [loading, setLoading] = useState(false);\n const [email, setEmail] = useState('');\n const [resetToken, setResetToken] = useState('');\n const [oldPassword, setOldPassword] = useState('');\n const [newPassword, setNewPassword] = useState('');\n const [confirmPassword, setConfirmPassword] = useState('');\n const [isPasswordValidationFailed, setIsPasswordValidationFailed] = useState(true);\n const [redoPasswordValidation, setRedoPasswordValidation] = useState(false);\n const [firstName, setFirstName] = useState('');\n const [lastName, setLastName] = useState('');\n const location = useLocation();\n\n useEffect(() => {\n const queryString = qs.parse(location.search, { ignoreQueryPrefix: true });\n if (queryString.email) {\n setEmail(queryString.email);\n }\n if (queryString['reset-token'] && !userOnPasswordUpdatePageAfterExpiry) {\n setResetToken(queryString['reset-token']);\n }\n if (queryString.firstName) {\n setFirstName(queryString.firstName);\n }\n if (queryString.lastName) {\n setLastName(queryString.lastName);\n }\n // eslint-disable-next-line\n }, [location]);\n\n const handleSubmit = async (event) => {\n event.preventDefault();\n setLoading(true);\n setIsSuccess(false);\n setMessage('');\n\n let result = await AuthService.changePassword({\n username: email,\n password: resetToken,\n newPassword: newPassword\n });\n\n if (result.isSuccesfully) {\n // try {\n // await AuthService.resetDatmanPassword('email', email, newPassword);\n // } catch (error) {\n // console.error('Datman password cannot be updated, ignore and continue.', error);\n // }\n\n setIsSuccess(true);\n setMessage('Successfully set the new password. Redirecting to login page...');\n setTimeout(() => {\n setRoute('/login');\n }, 3000);\n } else {\n setIsSuccess(false);\n let errorMessage = result.data.error;\n if (result.data.error === 'Incorrect username or password.') {\n errorMessage = 'Reset token has expired. This link is no longer valid.';\n }\n\n setMessage(`Failed to set the new password. Error: ${errorMessage}`);\n }\n\n setLoading(false);\n };\n\n const handleSubmitOnExpiry = async (event) => {\n event.preventDefault();\n setLoading(true);\n setIsSuccess(false);\n setMessage('');\n let result = await AuthService.passwordRotation({\n username: email,\n oldPassword,\n newPassword\n });\n if (result.isSuccesfully) {\n setIsSuccess(true);\n setMessage('Successfully set the new password. Redirecting to login page...');\n setTimeout(() => {\n setRoute('/login');\n }, 3000);\n } else {\n setIsSuccess(false);\n setMessage(`Failed to set the new password.`);\n }\n setLoading(false);\n };\n\n return (\n \n );\n}\n\nexport default ResetPasswordForm;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n Button,\n CircularProgress,\n Box,\n Dialog,\n DialogActions,\n DialogTitle,\n DialogContent,\n InputAdornment,\n Grid,\n OutlinedInput,\n useMediaQuery\n} from '@material-ui/core';\nimport { Label, FormItem } from 'components/onboarding/onboarding-ui-components';\nimport styles from './modal-cancel-internal-transfer.module.scss';\nimport { getCurrencyThreeAlpha } from 'utils/getCurrencyByCountry';\nimport { useGlobalStateContext } from 'contexts';\n\nconst ModalCancelInternalTransferComponent = (props) => {\n const { globalState } = useGlobalStateContext();\n const { loading, buttonDisabled, error, errorMessage, disableSubmit, success } = props;\n\n const mediaLessThan600px = useMediaQuery('(max-width:599px)');\n return (\n \n props.setShowCancelModel(false)}\n aria-labelledby=\"form-dialog-title\"\n >\n props.setShowCancelModel(false)}>\n Cancel Confirmation \n
    \n
    \n\n \n \n {error ? (\n <>\n
    \n

    \n {errorMessage ? errorMessage : `Something went wrong... Try again later.`}\n

    \n
    \n \n ) : loading ? (\n <>\n
    \n \n \n {' '}\n

    Please wait, we are processing your request...

    \n
    \n \n ) : success ? (\n <>\n
    \n

    Transaction has been cancelled successfully

    \n
    \n \n ) : (\n <>\n \n You are about to cancel pending transaction{' '}\n \n\n
    \n \n \n \n \n \n \n \n {getCurrencyThreeAlpha(globalState.merchant?.country)}\n \n }\n inputMode=\"numeric\"\n type=\"number\"\n min=\"0\"\n required\n disabled\n />\n \n \n \n \n \n \n \n \n \n \n \n
    \n\n \n Are you sure you want to proceed ?{' '}\n \n \n )}\n
    \n
    \n \n {!loading && !disableSubmit ? (\n \n props.setShowCancelModel(false)}\n disabled={buttonDisabled}\n >\n Cancel\n \n\n \n Proceed\n \n \n ) : (\n props.setShowCancelModel(false)}\n disabled={buttonDisabled}\n >\n Close\n \n )}\n \n \n
    \n );\n};\n\nexport default ModalCancelInternalTransferComponent;\n\nModalCancelInternalTransferComponent.propTypes = {\n loading: PropTypes.bool,\n buttonDisabled: PropTypes.bool,\n error: PropTypes.bool,\n errorMessage: PropTypes.string,\n disableSubmit: PropTypes.bool,\n success: PropTypes.bool\n};\n","import React, { useState } from 'react';\nimport ModalCancelInternalTransferComponent from './modal-cancel-internal-transfer.component.jsx';\nimport { InternalTransferService } from 'services';\n\nconst ModalCancelInternalTransfer = (props) => {\n const [loading, setLoading] = useState(false);\n const [error, setError] = useState(false);\n const [buttonDisabled, setButtonDisabled] = useState(false);\n const [disableSubmit, setDisableSubmit] = useState(false);\n const [errorMessage, setErrorMessage] = useState();\n const [success, setSuccess] = useState(false);\n\n const onSubmitCancel = async () => {\n setButtonDisabled(true);\n setLoading(true);\n const result = await InternalTransferService.cancelInternalTransfer({\n transaction_id: props.transactionId,\n action: 'cancel'\n });\n if (result.isSuccesfully) {\n props.setRefresh(true);\n setError(false);\n setSuccess(true);\n setErrorMessage('');\n } else {\n setSuccess(false);\n setError(true);\n setErrorMessage(result.data.error);\n }\n setDisableSubmit(true);\n setButtonDisabled(false);\n setLoading(false);\n };\n\n return (\n \n );\n};\n\nexport default ModalCancelInternalTransfer;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Button, CircularProgress, Box, Dialog, DialogActions, DialogTitle, DialogContent } from '@material-ui/core';\nimport { makeStyles, withStyles } from '@material-ui/core/styles';\nimport { Grid, OutlinedInput, InputAdornment } from '@material-ui/core';\nimport Tooltip from '@material-ui/core/Tooltip';\nimport Alert from '@material-ui/lab/Alert';\nimport NumberFormat from 'react-number-format';\nimport { getCurrencySymbol } from 'utils/getCurrencyByCountry';\nimport { useGlobalStateContext } from 'contexts';\nimport styles from './modal-refund-internal-transfer.module.scss';\nimport { numberFormatAllowValuesForPayments } from 'utils/helper';\n\nconst ErrorTooltip = withStyles((theme) => ({\n tooltip: {\n backgroundColor: '#fdecea',\n fontSize: 11\n },\n arrow: { backgroundColor: '#fdecea' }\n}))(Tooltip);\n\nconst useStyles = makeStyles(() => ({\n root: {\n height: '53px',\n '&.MuiOutlinedInput-root': {\n 'border-radius': '0px',\n '& input': {\n fontSize: '20px',\n fontWeight: 'bold'\n }\n },\n '& fieldset': {\n border: '1px solid #e8e9ec'\n }\n }\n}));\n\nconst ModalRefundInternalTransferComponent = (props) => {\n const { globalState } = useGlobalStateContext();\n const classes = useStyles();\n const { refundAmount, loading, buttonDisabled, error, errorMessage, disableSubmit, success } = props;\n return (\n \n props.setShowRefundModel(false)}\n aria-labelledby=\"form-dialog-title\"\n >\n props.setShowCancelModel(false)}>\n Refund confirmation\n \n\n \n \n {error ? (\n <>\n
    \n

    \n {errorMessage ? errorMessage : `Something went wrong... Try again later.`}\n

    \n
    \n \n ) : loading ? (\n <>\n
    \n \n \n {' '}\n

    Please wait, we are processing your request...

    \n
    \n \n ) : success ? (\n <>\n
    \n

    Refunded successfully

    \n
    \n \n ) : (\n \n \n Sender Name:{' '}\n {props.sender}\n \n \n \n Amount\n \n \n \n {getCurrencySymbol(globalState.merchant?.country)}:  \n \n \n \n \n \n {+props.amount > 0 && props.refundActionValidation()}\n \n }\n >\n
    \n \n \n {getCurrencySymbol(globalState.merchant?.country)}:\n \n \n }\n onValueChange={(values) => {\n const { value } = values;\n props.setRefundAmount(value);\n }}\n isAllowed={(values) => numberFormatAllowValuesForPayments(values)}\n aria-describedby=\"outlined-weight-helper-text\"\n labelWidth={0}\n required\n />\n
    \n \n
    \n
    \n
    \n )}\n
    \n
    \n \n {!loading && !disableSubmit ? (\n \n props.setShowRefundModel(false)}\n disabled={buttonDisabled}\n >\n Cancel\n \n\n props.amount\n }\n >\n Refund\n \n \n ) : (\n props.setShowRefundModel(false)}\n disabled={buttonDisabled}\n >\n Close\n \n )}\n \n \n
    \n );\n};\n\nexport default ModalRefundInternalTransferComponent;\n\nModalRefundInternalTransferComponent.propTypes = {\n loading: PropTypes.bool,\n buttonDisabled: PropTypes.bool,\n error: PropTypes.bool,\n errorMessage: PropTypes.string,\n disableSubmit: PropTypes.bool\n};\n","import React, { useState } from 'react';\nimport { validatePaymentAmount } from 'validators';\nimport ModalRefundInternalTransferComponent from './modal-refund-internal-transfer.component.jsx';\nimport { InternalTransferService } from 'services';\n\nconst ModalRefundInternalTransfer = (props) => {\n const [loading, setLoading] = useState(false);\n const [error, setError] = useState(false);\n const [buttonDisabled, setButtonDisabled] = useState(false);\n const [disableSubmit, setDisableSubmit] = useState(false);\n const [errorMessage, setErrorMessage] = useState('');\n const [success, setSuccess] = useState(false);\n const [refundAmount, setRefundAmount] = useState('');\n const [showActionError, setShowActionError] = useState(false);\n\n const onSubmitRefund = async () => {\n setButtonDisabled(true);\n setLoading(true);\n const result = await InternalTransferService.refundInternalTransfer({\n transaction_id: props.transactionId,\n refund_amount: refundAmount,\n action: 'refund'\n });\n if (result.isSuccesfully) {\n setError(false);\n setSuccess(true);\n setErrorMessage('');\n } else {\n setSuccess(false);\n setError(true);\n setErrorMessage(result.data.error);\n }\n setDisableSubmit(true);\n setButtonDisabled(false);\n setLoading(false);\n };\n function refundActionValidation() {\n const validationMessage = validatePaymentAmount(props.amount, refundAmount);\n setShowActionError(!validationMessage.isValid);\n return validationMessage.message;\n }\n return (\n \n );\n};\n\nexport default ModalRefundInternalTransfer;\n","import React from 'react';\nimport { Snackbar } from '@material-ui/core';\nimport PropTypes from 'prop-types';\nimport { Alert } from '@material-ui/lab';\nimport style from './snackbar-and-alert.module.scss';\n\nfunction SnackBarAndAlertComponent(props) {\n const { open, onClose, type, orangeColor } = props;\n\n return (\n \n \n {props.children}{' '}\n \n \n );\n}\n\nSnackBarAndAlertComponent.propTypes = {\n open: PropTypes.bool,\n onClose: PropTypes.func,\n message: PropTypes.string\n};\n\nexport default SnackBarAndAlertComponent;\n","import React from 'react';\nimport SnackBarAndAlertComponent from './snackbar-and-alert.component';\n\nexport default function SnackBarAndAlert(props) {\n return ;\n}\n","import React from 'react';\nimport { Typography, TextField } from '@material-ui/core';\nimport InputAdornment from '@material-ui/core/InputAdornment';\nimport styles from './url-input-field.module.scss';\nconst ValidUrlInputComponent = (props) => {\n const {\n onChange,\n doValidation,\n showDomainValidationMessage,\n setShowDomainValidationMessage,\n value,\n inputProps,\n setIsFocused\n } = props;\n\n return (\n
    \n {\n const url = e.target.value.replace(/\\s\\s+/g, '');\n doValidation(url ? `https://${url}` : '');\n onChange(url);\n setShowDomainValidationMessage(false);\n }}\n onBlur={() => setIsFocused(false)}\n onFocus={() => setIsFocused(true)}\n InputProps={{\n startAdornment: (\n \n https://\n \n )\n }}\n />\n {showDomainValidationMessage && (\n
    \n \n Link is invalid\n \n
    \n )}\n
    \n );\n};\n\nexport default ValidUrlInputComponent;\n","import React, { useCallback } from 'react';\nimport ValidUrlInputComponent from './ur-input-field.component';\nimport { InputValidators } from 'validators';\nimport { debounce } from 'lodash';\n\nconst ValidUrlInput = (props) => {\n const { showDomainValidationMessage, setShowDomainValidationMessage } = props;\n\n const validation = (inputDomain) => {\n let isDomainValid;\n isDomainValid = InputValidators.isDomainUrlValid(inputDomain);\n inputDomain.length > 0 && setShowDomainValidationMessage(!isDomainValid);\n };\n\n // trigger validation function when user stop typing\n const doValidation = useCallback(debounce(validation, 500), []);\n\n return (\n \n );\n};\n\nexport default ValidUrlInput;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport styles from './create-urgent-message.module.scss';\nimport { Button, Grid, TextField, FormControlLabel, Checkbox, Typography } from '@material-ui/core';\nimport { SnackBarAndAlert } from 'components';\nimport { MuiPickersUtilsProvider } from '@material-ui/pickers';\nimport { Input } from 'components/onboarding/onboarding-ui-components';\nimport moment from 'moment';\nimport MomentUtils from '@date-io/moment';\nimport ValidUrlInput from '../url-input-field/url-input-field.container';\n\nfunction CreateUrgentMessageComponent(props) {\n const {\n setShow,\n onSubmit,\n formItems,\n setFormItems,\n isDisable,\n error,\n setError,\n characterCount,\n setCharacterCount,\n setShowMid,\n showMid,\n onChange,\n setSelectedStartDate,\n setSelectedEndDate,\n dateError,\n showDomainValidationMessage,\n setShowDomainValidationMessage,\n setIsFocused\n } = props;\n return (\n \n \n
    \n
    \n
    Start date:
    \n
    \n {\n setSelectedStartDate(e.target.value);\n setFormItems({\n ...formItems,\n startDate: e.target.value\n });\n }}\n inputProps={{\n max: '2099-12-31',\n min: new Date().toISOString().slice(0, 16)\n }}\n />\n
    \n
    \n
    \n
    End date:
    \n
    \n \n {\n setSelectedEndDate(e.target.value);\n setFormItems({\n ...formItems,\n endDate: e.target.value\n });\n }}\n inputProps={{\n max: '2099-12-31T23:59',\n min: new Date().toISOString().slice(0, 16)\n }}\n />\n \n
    \n
    \n\n
    \n {\n setShowMid(e.target.checked);\n }}\n />\n }\n label=\"Enter MID\"\n />\n
    \n
    \n {dateError && (\n \n
    \n \n {dateError}\n \n
    \n
    \n )}\n\n {showMid && (\n \n \n \n )}\n \n {\n setFormItems({\n ...formItems,\n subject: e.target.value.replace(/\\s\\s+/g, '')\n });\n }}\n />\n \n\n \n \n {\n setFormItems({\n ...formItems,\n url: value\n });\n if (value.length === 0) {\n setFormItems({\n ...formItems,\n btnText: '',\n url: value\n });\n }\n }}\n inputProps={{ maxLength: '1024', inputMode: 'text' }}\n showDomainValidationMessage={showDomainValidationMessage}\n setShowDomainValidationMessage={setShowDomainValidationMessage}\n />\n \n \n {\n setFormItems({\n ...formItems,\n btnText: e.target.value.replace(/\\s\\s+/g, '')\n });\n }}\n />\n \n \n \n \n setFormItems(\n {\n ...formItems,\n message: e.target.value.replace(/\\s\\s+/g, '')\n },\n setCharacterCount(e.target.value.length)\n )\n }\n />\n

    {characterCount}/250

    \n
    \n \n \n Add\n \n setShow(false)}\n variant=\"contained\"\n color=\"primary\"\n >\n Close\n \n \n
    \n {error && (\n setError('')} type=\"error\">\n {error}\n \n )}\n
    \n );\n}\n\nCreateUrgentMessageComponent.propTypes = {\n show: PropTypes.bool,\n setShow: PropTypes.func,\n onSubmit: PropTypes.func,\n formItems: PropTypes.object,\n setFormItems: PropTypes.func,\n isDisable: PropTypes.bool,\n error: PropTypes.bool,\n setError: PropTypes.func,\n onChange: PropTypes.func,\n setTagData: PropTypes.array,\n removeTagData: PropTypes.func,\n addTagData: PropTypes.func,\n tagData: PropTypes.func,\n setShowMid: PropTypes.bool,\n setCharacterCount: PropTypes.number\n};\n\nexport default CreateUrgentMessageComponent;\n","import { useGlobalStateContext } from 'contexts';\nimport React, { useEffect, useState } from 'react';\nimport { UrgentMessagesService } from 'services';\nimport CreateUrgentMessageComponent from './create-urgent-message.component';\nimport moment from 'moment';\nfunction CreateUrgentMessage(props) {\n const { globalState, setGlobalState } = useGlobalStateContext();\n const { setShow, setSuccess } = props;\n\n const initialFormItems = {\n startDate: null,\n endDate: null,\n subject: '',\n message: '',\n merchantIds: [],\n btnText: '',\n url: ''\n };\n const [formItems, setFormItems] = useState(initialFormItems);\n const [isDisable, setIsDisable] = useState(true);\n const [error, setError] = useState('');\n const [characterCount, setCharacterCount] = useState(0);\n const [showMid, setShowMid] = useState(false);\n const [selectedStartDate, setSelectedStartDate] = useState();\n const [selectedEndDate, setSelectedEndDate] = useState();\n const formatedDate = moment().format('yyyy/MM/DD HH:mm:ss');\n const [showValidationMessage, setShowValidationMessage] = useState(false);\n const [dateError, setDateError] = useState('');\n const [showDomainValidationMessage, setShowDomainValidationMessage] = useState(false);\n const [isFocused, setIsFocused] = useState(false);\n\n let timeDifference = moment(selectedEndDate).diff(moment(selectedStartDate), 'seconds');\n let currentDate = new Date().toISOString().slice(0, 16);\n\n useEffect(() => {\n const btnTextValidation = formItems?.url?.length > 0 ? formItems.btnText?.trim().length === 0 : false;\n if (showMid === true) {\n setIsDisable(\n formItems?.message?.trim().length === 0 ||\n formItems?.merchantIds?.length === 0 ||\n dateError.length !== 0 ||\n !selectedStartDate ||\n !selectedEndDate ||\n showDomainValidationMessage ||\n isFocused ||\n btnTextValidation\n );\n } else {\n setIsDisable(\n formItems?.message?.length === 0 ||\n dateError.length !== 0 ||\n !selectedStartDate ||\n !selectedEndDate ||\n showDomainValidationMessage ||\n isFocused ||\n btnTextValidation\n );\n }\n\n if (selectedStartDate && selectedStartDate) {\n if (moment(selectedStartDate).isBefore(moment(new Date()))) {\n setDateError('Start date should not be less than current date');\n } else if (moment(selectedStartDate).isSame(moment(selectedEndDate))) {\n setDateError('Start date and end date should not be same.');\n } else if (selectedEndDate === undefined ? '' : timeDifference <= 5 * 60) {\n setDateError('End date should be minimum 5 minutes greater than start date');\n } else {\n setDateError('');\n }\n }\n\n // eslint-disable-next-line\n }, [\n formItems,\n showMid,\n dateError,\n selectedStartDate,\n selectedEndDate,\n timeDifference,\n currentDate,\n showDomainValidationMessage,\n isFocused\n ]);\n\n const onSubmit = async () => {\n setIsDisable(true);\n const response = await UrgentMessagesService.addUrgentMessage(globalState.reseller?.id, {\n ...formItems,\n subject: formItems.subject,\n message: formItems.message,\n startDate: !formItems.startDate\n ? moment(formatedDate).utc().format('YYYY-MM-DD HH:mm:ss') // in local db date is getting stored as utc but not in beta db\n : moment(formItems.startDate).utc().format('YYYY-MM-DD HH:mm:ss'),\n endDate: !formItems.endDate\n ? moment(formatedDate).utc().format('YYYY-MM-DD HH:mm:ss')\n : moment(formItems.endDate).utc().format('YYYY-MM-DD HH:mm:ss'),\n merchantIds: formItems?.merchantIds?.length > 0 ? formItems.merchantIds.split(',').map(Number) : [],\n url: formItems.url ? `https://${formItems?.url}` : '',\n btnText: formItems?.btnText\n });\n if (response.isSuccesfully) {\n setFormItems(initialFormItems);\n setSuccess(true);\n setShow(false);\n setGlobalState({\n ...globalState,\n shouldCheckForUrgentMessages: !globalState.shouldCheckForUrgentMessages\n });\n setIsDisable(true);\n } else {\n setError('An error was occurred when checking the email. Please contact support or try again.');\n setIsDisable(false);\n }\n };\n\n const onChange = (e) => {\n //Below regex will check input should contain numbers or coma(,) or space only\n const numberMatch = /^[0-9,\\s\\b]+$/;\n\n if (e.target.value === '' || numberMatch.test(e.target.value)) {\n setFormItems({\n ...formItems,\n merchantIds: e.target.value\n });\n }\n setShowValidationMessage(false);\n };\n\n return (\n \n );\n}\n\nexport default CreateUrgentMessage;\n","import React from 'react';\nimport styles from './urgent-message.module.scss';\nimport PropTypes from 'prop-types';\nimport {\n Button,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n Grid,\n TextField,\n Typography\n} from '@material-ui/core';\nimport { Delete } from '@material-ui/icons';\nimport { SnackBarAndAlert } from 'components';\nimport { Alert } from '@material-ui/lab';\nimport { UserType } from 'utils/enums/UserType';\nimport { useGlobalStateContext } from 'contexts';\nimport { MuiPickersUtilsProvider } from '@material-ui/pickers';\nimport { Input } from 'components/onboarding/onboarding-ui-components';\nimport moment from 'moment';\nimport MomentUtils from '@date-io/moment';\nimport ValidUrlInput from './url-input-field/url-input-field.container';\n\nfunction UrgentMessageComponent(props) {\n const { globalState } = useGlobalStateContext();\n const {\n urgentMessage,\n onEditUrgentMessage,\n onDeleteUrgentMessage,\n showDeleteConfirmationDialog,\n setshowDeleteConfirmationDialog,\n success,\n setSuccess,\n error,\n setError,\n formItems,\n setFormItems,\n isEdit,\n setSelectedEndDate,\n isDisable,\n characterCount,\n setCharacterCount,\n setIsShowForm,\n isShowForm,\n dateError,\n isButtonDisable,\n isDeleteBtnDisable,\n showDomainValidationMessage,\n setShowDomainValidationMessage,\n setIsFocused\n } = props;\n const isAdmin =\n globalState.user?.UserType?.name === UserType.Admin || globalState.user?.UserType?.name === UserType.SuperAdmin;\n const isSuperAdmin = globalState.user?.UserType?.name === UserType.SuperAdmin;\n\n return (\n
    \n {isShowForm ? (\n \n
    \n
    \n
    Start date:
    \n
    \n \n \n \n
    \n
    \n
    \n
    End date:
    \n
    \n \n {\n setSelectedEndDate(e.target.value);\n setFormItems({\n ...formItems,\n endDate: e.target.value ? e.target.value : urgentMessage.endDate\n });\n }}\n inputProps={{\n max: '9999-12-31',\n min: new Date().toISOString().slice(0, 16),\n default: moment(urgentMessage.endDate).format('YYYY-MM-DD HH:mm:ss')\n }}\n />\n \n
    \n
    \n
    \n\n {dateError && (\n \n
    \n \n {dateError}\n \n
    \n
    \n )}\n \n \n setFormItems({\n ...formItems,\n subject: e.target.value.replace(/\\s\\s+/g, '')\n })\n }\n />\n \n \n \n {\n setFormItems({\n ...formItems,\n url: value\n });\n if (value.length === 0) {\n setFormItems({\n ...formItems,\n btnText: '',\n url: value\n });\n }\n }}\n inputProps={{ maxLength: '1024', inputMode: 'text' }}\n showDomainValidationMessage={showDomainValidationMessage}\n setShowDomainValidationMessage={setShowDomainValidationMessage}\n />\n \n \n {\n setFormItems({\n ...formItems,\n btnText: e.target.value.replace(/\\s\\s+/g, '')\n });\n }}\n />\n \n \n \n \n setFormItems(\n {\n ...formItems,\n message: e.target.value.replace(/\\s\\s+/g, '')\n },\n setCharacterCount(e.target.value.length)\n )\n }\n />\n\n

    {characterCount}/250

    \n
    \n
    \n ) : (\n
    \n {urgentMessage.subject ? urgentMessage.subject + ': ' : ''}\n {urgentMessage.message}\n
    \n )}\n {!isShowForm && urgentMessage.url && (\n {\n window.open(urgentMessage.url);\n }}\n >\n {urgentMessage?.btnText}\n \n )}\n {isAdmin && (\n
    \n {isShowForm && (\n {\n setIsShowForm(false);\n }}\n >\n Cancel\n \n )}\n {isSuperAdmin && (\n {\n if (isShowForm) {\n onEditUrgentMessage();\n } else {\n setFormItems({\n startDate: new Date(urgentMessage.startDate),\n endDate: new Date(urgentMessage.endDate),\n subject: urgentMessage.subject,\n message: urgentMessage.message,\n url: urgentMessage?.url?.replace(/^https?:\\/\\//, ''),\n btnText: urgentMessage?.btnText\n });\n }\n setIsShowForm(true);\n }}\n variant=\"contained\"\n color=\"primary\"\n size=\"small\"\n >\n {isShowForm ? 'Save' : 'Edit'}\n \n )}\n\n {isSuperAdmin && (\n \n isButtonDisable\n ? setshowDeleteConfirmationDialog(false)\n : setshowDeleteConfirmationDialog(true)\n }\n />\n )}\n
    \n )}\n {showDeleteConfirmationDialog && (\n setshowDeleteConfirmationDialog(false)}>\n Delete urgent message\n \n \n
    Are you sure you wish to delete the urgent message?
    \n {error && (\n setError(false)} severity=\"error\">\n An error occurred. Please contact support or try again.\n \n )}\n
    \n
    \n \n setshowDeleteConfirmationDialog(false)}\n color=\"primary\"\n variant=\"contained\"\n >\n Cancel\n \n \n Delete\n \n \n
    \n )}\n {success && (\n setSuccess(false)} type=\"success\">\n {isEdit ? 'Urgent message was edited successfully.' : 'Urgent message was deleted successfully.'}\n \n )}\n {error && isEdit && (\n setError(false)} type=\"error\">\n An error occurred. Please contact support or try again.\n \n )}\n
    \n );\n}\n\nUrgentMessageComponent.propTypes = {\n urgentMessage: PropTypes.object,\n onEditUrgentMessage: PropTypes.func,\n onDeleteUrgentMessage: PropTypes.func,\n showDeleteConfirmationDialog: PropTypes.bool,\n setshowDeleteConfirmationDialog: PropTypes.func,\n success: PropTypes.bool,\n setSuccess: PropTypes.func,\n error: PropTypes.bool,\n setError: PropTypes.func,\n formItems: PropTypes.object,\n setFormItems: PropTypes.func,\n isEdit: PropTypes.bool,\n setCharacterCount: PropTypes.number\n};\n\nexport default UrgentMessageComponent;\n","import React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { UrgentMessagesService } from 'services';\nimport UrgentMessageComponent from './urgent-message.component';\nimport { useGlobalStateContext } from 'contexts';\nimport moment from 'moment';\nimport _ from 'lodash';\nfunction UrgentMessage(props) {\n const { globalState, setGlobalState } = useGlobalStateContext();\n const { urgentMessage } = props;\n const [showDeleteConfirmationDialog, setshowDeleteConfirmationDialog] = useState(false);\n const [isEdit, setIsEdit] = useState(false);\n const [success, setSuccess] = useState(false);\n const [error, setError] = useState(false);\n const [formItems, setFormItems] = useState({});\n const [selectedEndDate, setSelectedEndDate] = useState();\n const [isDisable, setIsDisable] = useState(false);\n const [characterCount, setCharacterCount] = useState(urgentMessage?.message?.length);\n const [isShowForm, setIsShowForm] = useState(false);\n const [dateError, setDateError] = useState('');\n const [isButtonDisable, setButtonDisable] = useState(false);\n const [isDeleteBtnDisable, setIsDeleteBtnDisable] = useState(false);\n const [showDomainValidationMessage, setShowDomainValidationMessage] = useState(false);\n const [isFocused, setIsFocused] = useState(false);\n\n const formatStartDate = moment(formItems.startDate).format('yyyy/MM/DD HH:mm:ss');\n const formatEndDate = moment(formItems.endDate).format('yyyy/MM/DD HH:mm:ss');\n let currentDate = new Date();\n let timeDifference = moment(formItems?.endDate).diff(moment(currentDate), 'seconds');\n\n useEffect(() => {\n let showMessage = true;\n if (moment(formatEndDate).isBefore(moment(new Date()))) {\n setDateError('End date should not be less than current date');\n } else if (moment(formatStartDate).isAfter(moment(formatEndDate))) {\n setDateError('Selected start date is greater than the end date.');\n } else if (moment(formatStartDate).isSame(moment(formatEndDate))) {\n setDateError('Start date and end date should not be same.');\n } else if (timeDifference <= 5 * 60) {\n setDateError('Selected end date time should be minimum 5 minutes greater than current time');\n } else {\n showMessage = false;\n setDateError('');\n }\n const btnTextValidation = formItems?.url?.length > 0 ? formItems.btnText?.trim().length === 0 : false;\n\n setIsDisable(\n _.isEmpty(formItems) ||\n formItems.message?.trim().length === 0 ||\n showMessage ||\n showDomainValidationMessage ||\n isFocused ||\n btnTextValidation\n );\n //eslint-disable-next-line\n }, [formItems, formatEndDate, formatStartDate, selectedEndDate, showDomainValidationMessage, isFocused]);\n\n const onEditUrgentMessage = async () => {\n setIsDisable(true);\n setIsEdit(true);\n setButtonDisable(true);\n const response = await UrgentMessagesService.updateUrgentMessage(urgentMessage.id, {\n ...formItems,\n subject: formItems.subject,\n message: formItems.message,\n startDate: formItems.startDate,\n url: formItems.url ? `https://${formItems.url}` : '',\n endDate: moment(formItems.endDate).utc().format('YYYY-MM-DD HH:mm:ss')\n });\n if (response.isSuccesfully) {\n setGlobalState({\n ...globalState,\n shouldCheckForUrgentMessages: !globalState.shouldCheckForUrgentMessages\n });\n setSuccess(true);\n setIsShowForm(false);\n setIsDisable(false);\n setButtonDisable(false);\n } else {\n setError('An error was occurred when checking the email. Please contact support or try again.');\n setSuccess(false);\n }\n };\n\n const onDeleteUrgentMessage = async () => {\n setIsDisable(true);\n setIsEdit(false);\n setIsDeleteBtnDisable(true);\n const response = await UrgentMessagesService.deleteUrgentMessage(urgentMessage.id);\n if (response.isSuccesfully) {\n setGlobalState({\n ...globalState,\n shouldCheckForUrgentMessages: !globalState.shouldCheckForUrgentMessages\n });\n setshowDeleteConfirmationDialog(false);\n setError(false);\n setSuccess(true);\n } else {\n setSuccess(false);\n setError(true);\n }\n setIsDeleteBtnDisable(false);\n setIsDisable(false);\n };\n\n return (\n \n );\n}\n\nUrgentMessage.propTypes = {\n urgentMessage: PropTypes.object\n};\n\nexport default UrgentMessage;\n","import React from 'react';\nimport './dot-flashing.scss';\n\nfunction DotFlashingLoading(props) {\n const { leftAndAbove } = props;\n return
    ;\n}\n\nexport default DotFlashingLoading;\n","import React from 'react';\nimport { DocumentTypes, DocumentTypesId } from 'utils/enums/DocumentType';\nimport _ from 'lodash';\n\nconst PendingDocsListComponent = (props) => {\n const { formattedDocumentsStats } = props;\n\n let titleList = (\n
      \n {formattedDocumentsStats?.pendingDocumentCategories?.length\n ? formattedDocumentsStats?.pendingDocumentCategories?.map((category) => {\n return (\n \n {category.categoryName}\n
        \n {category.documents.map((doc) => {\n return (\n doc.defaultTypeIds.length > 1 &&\n doc.typeIds.map((typeId) => {\n return (\n \n {_.find(DocumentTypes, { id: typeId }).name}\n \n );\n })\n );\n })}\n
      \n \n );\n })\n : ''}\n
    \n );\n\n return titleList;\n};\n\nexport default PendingDocsListComponent;\n","import React from 'react';\nimport PendingDocsListComponent from './pending-docs-list.component';\n\nconst PendingDocsList = (props) => {\n return ;\n};\n\nexport default PendingDocsList;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Grid, Typography, makeStyles } from '@material-ui/core';\nimport { Input, Label } from 'components/onboarding/onboarding-ui-components';\nimport styles from './bank-sort-code-details.module.scss';\nimport { CheckMerchantCountries } from '../onboarding/onboarding-ui-components/check-merchant-countries/check-merchant-countries';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\n\nfunction BankSortCodeDetailsComponent(props) {\n const { sortCode, accountNumber, bsbCode, routeNum } = props;\n\n const useStyles = makeStyles((theme) => ({\n disabledInput: {\n color: theme.palette.text.primary,\n backgroundColor: 'Gainsboro',\n border: '1px solid LightGray',\n borderRadius: '5px',\n fontWeight: '600',\n userSelect: 'none'\n }\n }));\n\n const classes = useStyles();\n\n return (\n \n \n \n Bank\n \n
    \n \n \n
    \n
    \n \n \n
    \n \n \n \n Bank\n \n
    \n \n \n
    \n
    \n \n \n
    \n
    \n \n \n Bank\n \n
    \n \n \n
    \n
    \n \n \n Bank\n \n
    \n \n \n
    \n
    \n \n \n Bank\n \n
    \n \n \n
    \n
    \n \n \n
    \n
    \n
    \n );\n}\n\nBankSortCodeDetailsComponent.propTypes = {\n sortCode: PropTypes.string,\n accountNumber: PropTypes.string,\n ibanNumber: PropTypes.string\n};\n\nexport default BankSortCodeDetailsComponent;\n","import React, { useState, useEffect } from 'react';\n\nimport BankSortCodeDetailsComponent from './bank-sort-code-details.component';\nimport { useGlobalStateContext } from 'contexts';\nimport { BankService } from 'services';\n\nfunction BankSortCodeDetailsContainer() {\n const { globalState } = useGlobalStateContext();\n const asterisks = '*********';\n const [accountNumber, setAccountNumber] = useState(asterisks);\n const [sortCode, setSortCode] = useState(asterisks);\n const [bsbCode, setBsbCode] = useState(asterisks);\n const [routeNum, setRouteNum] = useState(asterisks);\n\n useEffect(() => {\n const fetchData = async () => {\n const response = await BankService.getMaskedBankDetails(globalState.merchant?.id);\n if (response.isSuccesfully) {\n setSortCode(response.data.sortCode);\n setAccountNumber(response.data.accountNumber);\n setBsbCode(response.data.bsbCode);\n setRouteNum(response.data.routingNumber);\n } else {\n setSortCode(asterisks);\n setAccountNumber(asterisks);\n setRouteNum(asterisks);\n }\n };\n fetchData();\n }, [globalState.merchant]);\n\n return (\n \n );\n}\nexport default BankSortCodeDetailsContainer;\n","import React from 'react';\nimport { OutlinedInput } from '@material-ui/core';\nimport PropTypes from 'prop-types';\nimport styles from './bank-sort-code-number.module.scss';\nimport NumberFormat from 'react-number-format';\n\nfunction BankSortCodeNumberComponent(props) {\n const {\n firstInputElementRef,\n secondInputElementRef,\n thirdInputElementRef,\n firstInputChangeHandler,\n secondInputChangeHandler,\n thirdInputChangeHandler,\n firstInputValues,\n secondInputValues,\n thirdInputValues,\n hideDashes,\n disabled,\n emptyField\n } = props;\n\n return (\n
    \n \n {!hideDashes && -}\n \n {!hideDashes && -}\n \n
    \n );\n}\n\nBankSortCodeNumberComponent.propTypes = {\n firstInputChangeHandler: PropTypes.func,\n secondInputChangeHandler: PropTypes.func,\n thirdInputChangeHandler: PropTypes.func,\n firstInputValues: PropTypes.string,\n secondInputValues: PropTypes.string,\n thirdInputValues: PropTypes.string,\n hideDashes: PropTypes.bool\n};\n\nexport default BankSortCodeNumberComponent;\n","import React, { useState, useEffect, useRef } from 'react';\nimport BankSortCodeNumberComponent from './bank-sort-code-number.component';\n\nfunction BankSortCodeNumberContainer(props) {\n const { values, onChange, focusFirst, nextElementRef, disabled, emptyField } = props;\n\n const [firstInputValues, setFirstInputValues] = useState('');\n const [secondInputValues, setSecondInputValues] = useState('');\n const [thirdInputValues, setThirdInputValues] = useState('');\n\n const firstInputElementRef = useRef(null);\n const secondInputElementRef = useRef(null);\n const thirdInputElementRef = useRef(null);\n\n useEffect(() => {\n if (firstInputElementRef && focusFirst) {\n firstInputElementRef.current.focus();\n }\n }, [focusFirst]);\n\n useEffect(() => {\n if (values?.length === 6) {\n const inputValues = values.match(/.{1,2}/g);\n setFirstInputValues(inputValues[0]);\n setSecondInputValues(inputValues[1]);\n setThirdInputValues(inputValues[2]);\n }\n }, [values]);\n\n const firstInputChangeHandler = ({ value }) => {\n if (value.length > 2) {\n value = firstInputValues || '';\n }\n\n setFirstInputValues(value);\n if (value.length > 1) {\n setTimeout(() => {\n secondInputElementRef.current.focus();\n });\n }\n };\n\n const secondInputChangeHandler = ({ value }) => {\n if (value.length > 2) {\n value = secondInputValues || '';\n }\n\n setSecondInputValues(value);\n\n if (value.length > 1) {\n setTimeout(() => {\n thirdInputElementRef.current.focus();\n });\n }\n };\n\n const thirdInputChangeHandler = ({ value }) => {\n if (value.length > 2) {\n value = thirdInputValues || '';\n }\n\n setThirdInputValues(value);\n\n if (value.length > 1) {\n setTimeout(() => {\n thirdInputElementRef.current.blur();\n if (nextElementRef && nextElementRef.current) {\n nextElementRef.current.focus();\n }\n });\n }\n };\n\n useEffect(() => {\n const toSendValues = `${firstInputValues}${secondInputValues}${thirdInputValues}`;\n if (toSendValues !== values && onChange) {\n onChange(toSendValues);\n }\n }, [firstInputValues, secondInputValues, thirdInputValues, onChange, values]);\n\n return (\n \n );\n}\nexport default BankSortCodeNumberContainer;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport styles from './merchant-reseller-list.module.scss';\nimport _ from 'lodash';\nimport {\n Button,\n CircularProgress,\n Paper,\n Table,\n TableBody,\n TableCell,\n TableContainer,\n TableFooter,\n TableHead,\n TablePagination,\n TableRow,\n TextField,\n Tooltip,\n Typography,\n Select,\n MenuItem,\n FormControl,\n InputLabel,\n Grid,\n ListItem,\n Box,\n TableSortLabel\n} from '@material-ui/core';\nimport { Link } from 'react-router-dom';\nimport { useGlobalStateContext } from 'contexts';\nimport { ProductsRequired } from '../../utils/enums/ProductsRequired';\n// import GatewayImg from '../../assets/icons/gateway.svg';\n// import MyPayAppImg from '../../assets/icons/my-pay-app.svg';\n// import VirtualTerminalImg from '../../assets/icons/virtual-terminal.png';\n// import CardMachineImg from '../../assets/icons/card-machine.svg';\nimport AppImg from '../../assets/icons/App.png';\nimport VTImg from '../../assets/icons/VT.png';\nimport GateWayNewImg from '../../assets/icons/Gateway.png';\nimport PDQImg from '../../assets/icons/PDQ.png';\nimport { MerchantStatusNames } from 'utils/enums/MerchantStatusNames';\nimport { SnackBarAndAlert } from 'components';\nimport { green } from '@material-ui/core/colors';\nimport CheckCircleIcon from '@material-ui/icons/CheckCircle';\nimport { ModalMerchantTermsAndConditions } from 'components';\nimport DoneIcon from '@material-ui/icons/Done';\nimport ArrowDropDownIcon from '@material-ui/icons/ArrowDropDown';\nimport { stableSort, getComparator } from 'utils/helper';\n\nfunction MerchantListComponent(props) {\n const { setRoute, globalState } = useGlobalStateContext();\n\n const {\n merchants,\n isLoading,\n setSearchValue,\n onSearchMerchants,\n count,\n page,\n rowsPerPage,\n handleChangePage,\n handleChangeRowsPerPage,\n merchantCreation,\n setMerchantCreation,\n accountUpdated,\n showMessage,\n setShowMessage,\n filter,\n setFilter,\n needToSignTermsAndCondition,\n setNeedToSignTermsAndCondition,\n saveDraft,\n setSaveDraft,\n onCreateMerchant,\n productFilter,\n setProductFilter,\n isOmnipay,\n statusFilterOptions,\n createSortHandler,\n orderBy,\n order\n } = props;\n return (\n // \n
    \n {accountUpdated && (\n
    \n
    \n \n
    \n \n
    \n Your 'Update Account Details' request has been submitted. This process can take up to 14\n days. \n
    \n
    \n
    \n )}\n \n \n \n \n
    \n \n \n \n {globalState.canonicalReseller?.companyName}\n \n \n \n\n
    \n setSearchValue(e.target.value)}\n />\n \n Search\n \n \n
    \n
    \n\n \n {isOmnipay && (\n \n \n \n FIlter by product\n \n {\n setProductFilter(e.target.value);\n }}\n className={styles.selectInput}\n >\n All\n Gateway\n MyMoto App\n Virtual Terminal\n PDQ\n \n \n \n )}\n \n \n \n \n Filter by status\n \n {\n setFilter(e.target.value);\n }}\n className={styles.selectInput}\n >\n All\n {Object.keys(statusFilterOptions).map((status) => (\n \n {statusFilterOptions[status]}\n \n ))}\n \n \n \n \n
    \n \n \n\n {isOmnipay && (\n \n \n Create merchant\n \n \n )}\n \n {/*
    \n\n
    */}\n {isLoading ? (\n
    \n \n
    \n ) : (\n //
    \n \n \n \n \n \n \n \n Merchant Name\n \n \n \n Address\n {isOmnipay && (\n \n \n \"\"\n \n \n )}\n {isOmnipay && (\n \n \n \"\"\n \n \n )}\n {isOmnipay && (\n \n \n \"\"\n \n \n )}\n\n {isOmnipay && (\n \n \n \"\"\n \n \n )}\n {!isOmnipay && Customer}\n \n \n \n Status\n \n \n \n {isOmnipay && }\n \n \n {count > 0 ? (\n \n {stableSort(merchants, getComparator(order, orderBy)).map((merchant) => {\n let merchantAddress;\n if (merchant.address) {\n merchantAddress = _.compact([\n merchant.address.addressLine1,\n merchant.address.addressLine2,\n merchant.address.city,\n merchant.address.postCode\n ]).join(', ');\n }\n return (\n \n \n {isOmnipay ? (\n \n setRoute('/create-merchant', { merchantId: merchant.id })\n }\n >\n \n \n \n {merchant.name}\n \n \n \n \n ) : (\n \n \n \n {merchant.name}\n \n \n \n )}\n \n\n \n {merchantAddress ? (\n \n {merchantAddress}\n \n ) : (\n \n )}\n \n {isOmnipay && (\n \n {merchant.merchantProductRequired.includes(\n ProductsRequired.Gateway\n ) && }\n \n )}\n {isOmnipay && (\n \n {merchant.merchantProductRequired.includes(\n ProductsRequired.MyMoto_App\n ) && }\n \n )}\n {isOmnipay && (\n \n {merchant.merchantProductRequired.includes(\n ProductsRequired.Virtual_Terminal\n ) && }\n \n )}\n {isOmnipay && (\n \n {merchant.merchantProductRequired.includes(\n ProductsRequired.PDQ\n ) && }\n \n )}\n {!isOmnipay && (\n {merchant.id}\n )}\n {MerchantStatusNames[merchant.status]}\n\n {isOmnipay && (\n \n {\n setRoute(`/merchant-details/${merchant.id}`);\n }}\n >\n View\n \n \n )}\n \n );\n })}\n \n \n \n \n ) : (\n \n \n \n \n No merchants available to display\n \n \n \n \n )}\n \n {count > 20 && (\n \n \n \n )}\n \n \n \n //
    \n )}\n {merchantCreation && (\n setMerchantCreation(false)} type=\"success\">\n Merchant created successfully\n \n )}\n {saveDraft && (\n setSaveDraft(false)} type=\"success\">\n Successfully saved draft!\n \n )}\n\n {showMessage && (\n setShowMessage(false)} type=\"error\">\n Please sign the Terms and Conditions.\n \n )}\n \n
    \n );\n}\nMerchantListComponent.propTypes = {\n merchants: PropTypes.array,\n isLoading: PropTypes.bool,\n setSearchValue: PropTypes.string,\n onSearchMerchants: PropTypes.func,\n count: PropTypes.number,\n page: PropTypes.number,\n canonicalReseller: PropTypes.object,\n rowsPerPage: PropTypes.number,\n handleChangePage: PropTypes.func,\n handleChangeRowsPerPage: PropTypes.func,\n saveDraft: PropTypes.bool,\n setSaveDraft: PropTypes.func,\n statusFilterOptions: PropTypes.object,\n createSortHandler: PropTypes.func,\n orderBy: PropTypes.string,\n order: PropTypes.string\n};\nexport default MerchantListComponent;\n","import { useGlobalStateContext } from 'contexts';\nimport React, { useEffect, useState } from 'react';\nimport { NonResellerMerchantService } from 'services';\nimport MerchantResellerListComponent from './merchant-reseller-list.component';\nimport { MerchantStatusNames, OmnipayMerchantStatusNames } from 'utils/enums/MerchantStatusNames';\nimport { ResellerType } from 'utils/enums/ResellerType';\nconst allStatusIds = Object.keys(MerchantStatusNames).map((x) => +x);\n\nfunction MerchantResellerList() {\n const { globalState, setRoute } = useGlobalStateContext();\n const [merchants, setMerchants] = useState([]);\n const [count, setCount] = useState(0);\n const [searchValue, setSearchValue] = useState('');\n const [isLoading, setIsLoading] = useState(false);\n const [merchantCreation, setMerchantCreation] = useState(false);\n const [saveDraft, setSaveDraft] = useState(false);\n const [accountUpdated, setAccountUpdated] = useState(false);\n const [needToSignTermsAndCondition, setNeedToSignTermsAndCondition] = useState(false);\n const [showMessage, setShowMessage] = useState(false);\n const [order, setOrder] = useState('desc');\n const [orderBy, setOrderBy] = useState('name');\n const [canonicalResellerNameAndID, setCanonicalResellerNameAndId] = useState('');\n const [page, setPage] = useState(0);\n const [rowsPerPage, setRowsPerPage] = useState(50);\n const [filter, setFilter] = useState(['all']);\n const [statusFilter, setStatusFilter] = useState(allStatusIds);\n const [productFilter, setProductFilter] = useState('all');\n const isOmnipay = globalState.reseller?.name === ResellerType.OMNIPAY;\n const statusFilterOptions = isOmnipay ? OmnipayMerchantStatusNames : MerchantStatusNames;\n const handleChangePage = (event, newPage) => {\n setPage(newPage);\n getAllMerchantsForReseller(newPage);\n };\n\n const handleChangeRowsPerPage = (event) => {\n setRowsPerPage(parseInt(event.target.value, 10));\n setPage(0);\n getAllMerchantsForReseller(0, parseInt(event.target.value, 10));\n };\n const handleRequestSort = (event, property) => {\n const isAsc = orderBy === property && order === 'asc';\n setOrder(isAsc ? 'desc' : 'asc');\n setOrderBy(property);\n };\n const createSortHandler = (property) => (event) => {\n handleRequestSort(event, property);\n };\n\n useEffect(() => {\n if (globalState.canonicalReseller) {\n setIsLoading(true);\n setPage(0);\n setCanonicalResellerNameAndId(\n `${globalState.canonicalReseller?.id} - ${globalState.canonicalReseller?.companyName}`\n );\n getAllMerchantsForReseller(0);\n }\n // eslint-disable-next-line\n }, [globalState.canonicalReseller, statusFilter, productFilter]);\n\n useEffect(() => {\n const termsAndConditionInfo = globalState.canonicalReseller?.termsAndConditionInfo;\n if (termsAndConditionInfo) {\n const signingInfo = termsAndConditionInfo.signingInfo;\n setNeedToSignTermsAndCondition(signingInfo?.noOfNotSignedTermsAndConditions > 0);\n } else {\n setNeedToSignTermsAndCondition(false);\n }\n\n // eslint-disable-next-line\n }, [globalState.canonicalReseller]);\n\n useEffect(() => {\n switch (filter) {\n case 'Pending':\n setStatusFilter([1]);\n break;\n case 'Active':\n setStatusFilter([3]);\n break;\n case 'Not Submitted':\n setStatusFilter([0]);\n break;\n case 'Verified':\n setStatusFilter([2]);\n break;\n case 'Closed':\n setStatusFilter([4]);\n break;\n case 'Rejected':\n setStatusFilter([5]);\n break;\n case 'Pending Stripe':\n setStatusFilter([6]);\n break;\n case 'Watch List':\n setStatusFilter([12]);\n break;\n\n default:\n setStatusFilter(allStatusIds);\n }\n // eslint-disable-next-line\n }, [filter]);\n\n const getAllMerchantsForReseller = async (newPage, newRowsPerPage) => {\n setIsLoading(true);\n const thePage = newPage ?? page;\n const theRowsPerPage = newRowsPerPage ?? rowsPerPage;\n const response = await NonResellerMerchantService.getAllMerchantsForReseller(globalState.reseller?.id, {\n searchValue: searchValue.length > 2 ? searchValue : 'no',\n offset: thePage * theRowsPerPage,\n limit: theRowsPerPage,\n canonicalResellerId: globalState.canonicalReseller?.id,\n statusFilter: statusFilter,\n productFilter: productFilter\n });\n if (response.isSuccesfully) {\n setMerchants(response.data.merchants);\n setCount(response.data.count);\n } else {\n setMerchants([]);\n setCount(0);\n }\n setIsLoading(false);\n };\n\n const onSearchMerchants = (e) => {\n setPage(0);\n getAllMerchantsForReseller(0);\n e.preventDefault();\n };\n\n useEffect(() => {\n const show = sessionStorage.getItem('merchantCreationSuccess');\n if (show) {\n setMerchantCreation(true);\n sessionStorage.removeItem('merchantCreationSuccess');\n }\n const successDraft = sessionStorage.getItem('savedDraft');\n if (successDraft) {\n setSaveDraft(true);\n sessionStorage.removeItem('savedDraft');\n }\n }, []);\n\n useEffect(() => {\n const fetchStatus = async () => {\n const updatedAccount = sessionStorage.getItem('accountUpdated');\n if (updatedAccount) {\n setAccountUpdated(true);\n const timeout = setTimeout(() => {\n setAccountUpdated(false);\n }, 15000);\n sessionStorage.removeItem('accountUpdated');\n return () => clearTimeout(timeout);\n }\n };\n\n fetchStatus();\n }, []);\n\n const onCreateMerchant = () => {\n if (needToSignTermsAndCondition) {\n setShowMessage(true);\n } else {\n setRoute('/create-merchant');\n }\n };\n\n return (\n \n );\n}\n\nexport default MerchantResellerList;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport styles from './merchant-pdq-list.module.scss';\nimport {\n Button,\n Paper,\n Table,\n TableBody,\n TableCell,\n TableContainer,\n TableRow,\n TextField,\n Tooltip,\n Typography,\n Box,\n Link,\n Grid,\n Container,\n useMediaQuery,\n TablePagination,\n TableFooter,\n makeStyles\n} from '@material-ui/core';\nimport { useGlobalStateContext } from 'contexts';\nimport { ModalPdqMerchants, SnackBarAndAlert, ModalFilterPdqMerchants } from 'components';\nimport { PdqOrderStatus } from 'utils/enums/pdqOrderStatus';\nimport ContentCopyIcon from '@mui/icons-material/ContentCopy';\nimport TableHeader from 'components/payments/transaction-tables/table-header/table-header.container';\nimport { stableSort, getComparator } from 'utils/helper';\nimport Loader from 'components/loader/loader.container';\nimport { formatDateTimeByFormatString } from 'utils/helper';\nconst useStyles = makeStyles(() => ({\n tableCellSmallSize: {\n '& td': {\n minWidth: '200px',\n maxWidth: '200px',\n align: 'left'\n },\n '& th': {\n minWidth: '150px',\n maxWidth: '150px'\n }\n },\n root: {\n width: '100%'\n },\n container: {\n 'overflow-y': 'visible'\n },\n table: {\n minWidth: '100%'\n },\n tableRow: {\n '&$selected, &$selected:hover': {\n backgroundColor: '#e4e1fe'\n }\n },\n selected: {},\n visuallyHidden: {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: 1,\n margin: -1,\n padding: 0,\n position: 'absolute',\n top: 20,\n width: 1\n }\n}));\nfunction MerchantPdqListComponent(props) {\n const { setRoute, globalState } = useGlobalStateContext();\n const {\n isLoading,\n setSearchValue,\n openSearchAllMerchants,\n setOpenSearchAllMerchants,\n dnaOnboardedMerchants,\n searchPdqOrders,\n count,\n page,\n rowsPerPage,\n handleChangePage,\n handleChangeRowsPerPage,\n dnaMerchantsList,\n handleCopyId,\n isCopyAlertOpen,\n closeCopyAlert,\n setStatusFilter,\n statusFilter,\n setAgentFilter,\n agentFilter,\n handleItemChange,\n isPdqStatusChecked,\n handleAgentChange,\n listOfAgentEmails,\n isAgentCheck,\n filteredAgentEmails,\n toggleAgentCheck,\n filter,\n handleClearFilter,\n order,\n orderBy\n } = props;\n const classes = useStyles();\n const mediaLessThan600px = useMediaQuery('(max-width:599px)');\n\n return (\n \n
    \n \n {globalState.canonicalReseller?.companyName} PDQ Portal\n \n
    \n \n \n setOpenSearchAllMerchants(true)}\n >\n All Merchants\n \n \n \n
    \n {\n setSearchValue(e.target.value);\n }}\n />\n \n Search\n \n \n
    \n \n {isLoading ? (\n
    \n \n
    \n ) : (\n
    \n \n \n \n {dnaOnboardedMerchants.length > 0 ? (\n \n {stableSort(dnaOnboardedMerchants, getComparator(order, orderBy))?.map((row) => {\n return (\n \n \n \n \n {\n setRoute(`/pdq-order-merchant/${row.merchantId}`, {\n agentName:\n row.Merchant?.MerchantAgentRelationships[0]\n ?.User?.email\n });\n if (\n row.applicationStatus !== 'Success' &&\n row.applicationStatus !== 'rejected'\n ) {\n localStorage.setItem(\n 'onBoardedMerchant',\n row.merchantId\n );\n }\n }}\n >\n {row.Merchant?.name}\n \n \n \n \n {row.merchantId}\n \n
    \n {row.applicationId}\n {row.applicationId && (\n \n handleCopyId(row)}\n />\n \n )}\n
    \n
    \n \n {formatDateTimeByFormatString(row.created_at, 'DD MMM YYYY')}\n \n \n {PdqOrderStatus[row.applicationStatus]}\n \n \n \n \n {row.Merchant?.MerchantAgentRelationships[0]?.User?.email}\n \n \n \n \n {row.applicationReason ? (\n row.applicationReason\n ) : (\n \n )}\n \n
    \n );\n })}\n
    \n ) : (\n <>\n {!filter.includes('all') || !listOfAgentEmails.includes('all') ? (\n \n \n {listOfAgentEmails.includes('all') || filter.includes('all') ? (\n \n No records\n \n ) : (\n \n No results available for this filter.\n \n Remove all filters.\n \n \n )}\n \n \n ) : (\n \n \n \n No records\n \n \n \n )}\n \n )}\n \n {count > 20 && (\n \n \n \n )}\n \n \n
    \n
    \n )}\n\n \n \n\n {isCopyAlertOpen && (\n \n Successfully copied the application ID.\n \n )}\n
    \n );\n}\nMerchantPdqListComponent.propTypes = {\n merchants: PropTypes.array,\n isLoading: PropTypes.bool,\n setSearchValue: PropTypes.string,\n count: PropTypes.number,\n page: PropTypes.number,\n setPage: PropTypes.func,\n canonicalReseller: PropTypes.object,\n rowsPerPage: PropTypes.number,\n handleChangePage: PropTypes.func,\n handleChangeRowsPerPage: PropTypes.func,\n saveDraft: PropTypes.bool,\n setSaveDraft: PropTypes.func,\n searchValue: PropTypes.string,\n onGoToMerchant: PropTypes.func,\n searchResellerMerchants: PropTypes.func,\n setMerchants: PropTypes.func,\n pdqOrders: PropTypes.array,\n dnaMerchantsList: PropTypes.array\n};\nexport default MerchantPdqListComponent;\n","import { useGlobalStateContext } from 'contexts';\nimport React, { useEffect, useState } from 'react';\nimport { DnaService } from 'services';\nimport MerchantPdqListComponent from './merchant-pdq-list.component';\nimport { pdqStatusChecked } from 'utils/enums/pdqOrderStatus';\n\nfunction MerchantPdqList() {\n const { globalState } = useGlobalStateContext();\n const [searchValue, setSearchValue] = useState('');\n const [isLoading, setIsLoading] = useState(false);\n const [canonicalResellerNameAndID, setCanonicalResellerNameAndId] = useState('');\n const [filter, setFilter] = useState(['all']);\n const [openSearchAllMerchants, setOpenSearchAllMerchants] = useState(false);\n const [dnaOnboardedMerchants, setDnaOnboardedMerchants] = useState([]);\n const [count, setCount] = useState(0);\n const [page, setPage] = useState(0);\n const [rowsPerPage, setRowsPerPage] = useState(20);\n const [dnaMerchantsList, setDnaMerchantsList] = useState();\n const [isCopyAlertOpen, setIsCopyAlertOpen] = useState(false);\n const [showFilterIcon, setShowFilterIcon] = useState(false);\n const [statusFilter, setStatusFilter] = useState(false);\n const [agentFilter, setAgentFilter] = useState(false);\n const [isPdqStatusChecked, setPdqStatusChecked] = useState(pdqStatusChecked);\n const [allAgentEmails, setAllAgentEmails] = useState(['all']);\n const [filteredAgentEmails, setFilteredAgentEmails] = useState([]);\n const [order, setOrder] = useState('desc');\n const [orderBy, setOrderBy] = useState('date');\n\n const handleFilter = (id) => {\n setShowFilterIcon(true);\n if (id === 'status') {\n setStatusFilter(true);\n } else {\n setAgentFilter(true);\n }\n };\n\n const headCells = [\n {\n id: 'MerchantName',\n numeric: false,\n disablePadding: false,\n label: 'Merchant Name',\n hideSortingIcon: true\n },\n {\n id: 'MerchantId',\n numeric: true,\n disablePadding: false,\n label: 'Merchant ID',\n hideSortingIcon: true\n },\n {\n id: 'ApplicationId',\n numeric: false,\n disablePadding: false,\n label: 'Application ID',\n hideSortingIcon: true\n },\n { id: 'date', numeric: false, disablePadding: false, label: 'Date' },\n {\n id: 'status',\n numeric: false,\n disablePadding: false,\n label: 'Status',\n showFilterIcon: true,\n isFilterActive: true\n },\n {\n id: 'AgentEmail',\n numeric: false,\n disablePadding: false,\n label: 'Agent Email',\n showFilterIcon: true,\n isFilterActive: true\n },\n {\n id: 'ApplicationReason',\n numeric: false,\n disablePadding: false,\n label: 'Application Reason',\n hideSortingIcon: true\n }\n ];\n\n useEffect(() => {\n if (globalState.canonicalReseller?.id) {\n setIsLoading(true);\n setCanonicalResellerNameAndId(\n `${globalState.canonicalReseller?.id} - ${globalState.canonicalReseller?.companyName}`\n );\n getDnaAccounts();\n }\n // eslint-disable-next-line\n }, [globalState.canonicalReseller, filter, isPdqStatusChecked, filteredAgentEmails]);\n\n useEffect(() => {\n if (globalState.canonicalReseller?.id) {\n getAgentEmails();\n }\n }, [globalState.canonicalReseller]);\n\n const handleChangePage = (event, newPage) => {\n setIsLoading(true);\n setPage(newPage);\n getDnaAccounts(newPage);\n };\n\n const handleChangeRowsPerPage = (event) => {\n setIsLoading(true);\n setRowsPerPage(parseInt(event.target.value, 10));\n setPage(0);\n getDnaAccounts(0, Number(event.target.value, 10));\n };\n\n const getAgentEmails = async () => {\n setIsLoading(true);\n const response = await DnaService.getUniqueAgentEmails();\n setIsLoading(false);\n const uniqueEmails = response.data;\n let index = 0;\n let listOfAgentEmails = [{ id: index, name: 'Select all', checked: true }];\n uniqueEmails.forEach((email) => {\n const agentEmail = email.email;\n if (agentEmail) {\n listOfAgentEmails.push({\n id: ++index,\n name: agentEmail,\n value: agentEmail,\n checked: true\n });\n }\n });\n setFilteredAgentEmails(listOfAgentEmails);\n };\n\n const getDnaAccounts = async (newPage, newRowsPerPage) => {\n const thePage = newPage ?? page;\n const theRowsPerPage = newRowsPerPage ?? rowsPerPage;\n const response = await DnaService.getDnaAccount({\n canonicalResellerId: globalState.canonicalReseller?.id,\n searchValue: searchValue.length > 2 ? searchValue : 'no',\n statusFilter: filter,\n agentEmailFilter: allAgentEmails,\n offset: thePage * theRowsPerPage,\n limit: theRowsPerPage\n });\n if (response.isSuccesfully) {\n const dnaAccounts = response.data.dnaAccounts;\n setDnaOnboardedMerchants(dnaAccounts);\n setCount(response.data.count);\n if (!filter.includes('all') && searchValue.length < 2) {\n const result = dnaAccounts.map((merchant) => merchant.merchantId);\n setDnaMerchantsList(result);\n }\n } else {\n setDnaOnboardedMerchants([]);\n }\n setIsLoading(false);\n };\n\n const searchPdqOrders = async (e) => {\n setIsLoading(true);\n e.preventDefault();\n getDnaAccounts();\n };\n\n const handleCopyId = (row) => {\n navigator.clipboard.writeText(row.applicationId);\n setIsCopyAlertOpen(true);\n };\n\n const closeCopyAlert = () => {\n setIsCopyAlertOpen(false);\n };\n\n const hadnleFilter = (id, tempArray, tempElement, originalArray, setFunction) => {\n const selectALlId = 0;\n let selectedElement = { ...tempElement[id] };\n selectedElement.checked = !selectedElement.checked;\n tempElement[id] = selectedElement;\n let checkedElement = [...tempElement.filter((data) => data.checked && data.id)];\n\n let selectedValue =\n id === selectALlId && selectedElement.checked\n ? originalArray.map((e) => e.value)\n : checkedElement.map((e) => e.value);\n\n tempArray.push(selectedValue);\n setFunction([...selectedValue]);\n\n const selectAllElement = { ...tempElement[0] };\n if (id === selectALlId) {\n setFunction(selectAllElement.checked ? ['all'] : []);\n tempElement = tempElement.map((status) => {\n return {\n ...status,\n checked: selectAllElement.checked\n };\n });\n } else {\n if (checkedElement.length === originalArray.length - 1) {\n selectAllElement.checked = true;\n } else if (checkedElement.length !== 0) {\n selectAllElement.checked = false;\n } else {\n setFunction(selectAllElement.checked ? ['all'] : []);\n tempElement = tempElement.map((status) => {\n return {\n ...status,\n checked: selectAllElement.checked\n };\n });\n }\n }\n tempElement[0] = selectAllElement;\n\n return tempElement;\n };\n\n const handleItemChange = (id) => {\n let tempArray = [...filter];\n let tempStatus = [...isPdqStatusChecked];\n const selectedFilters = hadnleFilter(id, tempArray, tempStatus, isPdqStatusChecked, setFilter);\n setPdqStatusChecked([...selectedFilters]);\n };\n\n const toggleAgentCheck = (id) => {\n let tempArray = [...allAgentEmails];\n let tempStatus = [...filteredAgentEmails];\n const selectedFilters = hadnleFilter(id, tempArray, tempStatus, filteredAgentEmails, setAllAgentEmails);\n setFilteredAgentEmails([...selectedFilters]);\n };\n\n const handleClearFilter = (event) => {\n setAllAgentEmails(['all']);\n setFilter(['all']);\n setFilteredAgentEmails(filteredAgentEmails.map((agentEmail) => ({ ...agentEmail, checked: true })));\n setPdqStatusChecked(pdqStatusChecked);\n };\n\n const handleRequestSort = (event, property) => {\n const isAsc = orderBy === property && order === 'asc';\n setOrder(isAsc ? 'desc' : 'asc');\n setOrderBy(property);\n };\n\n return (\n \n );\n}\n\nexport default MerchantPdqList;\n","import React from 'react';\nimport { useGlobalStateContext } from 'contexts';\nimport styles from './settings-terms-and-conditions.module.scss';\nimport {\n CircularProgress,\n Paper,\n Grid,\n Typography,\n Button,\n FormControl,\n FormControlLabel,\n Checkbox\n} from '@material-ui/core';\nimport LoadingScreen from 'components/loading-screen/loading-screen.container';\nimport { formatDateTimeByFormatString } from 'utils/helper';\nimport { Roles } from 'utils/enums/Roles';\nimport { ResponsiveEmbed } from 'react-bootstrap';\nfunction SettingTermsAndConditionsComponent(props) {\n const { globalState } = useGlobalStateContext();\n\n const {\n termsAndConditionsList,\n isLoading,\n submitHandler,\n isCanonicalResellerUser,\n isModal,\n onSelectTermsAndConditions,\n selectedTermsAndConditions,\n modalTermsAndConditions\n } = props;\n\n const isOwner = isCanonicalResellerUser\n ? globalState.canonicalReseller?.userRole === Roles.Owner\n : globalState.merchant?.userRole === Roles.Owner;\n\n return (\n \n {isLoading && termsAndConditionsList.length === 0 ? (\n
    \n \n
    \n ) : (\n \n \n \n Terms and Conditions\n \n \n {termsAndConditionsList.map((termsAndCondition) => {\n //const checkedTermsAndConditions = selectedTermsAndConditions.includes(termsAndCondition.tcId);\n\n return (\n \n \n \n \n \n \n {termsAndCondition.activatedAt ? (\n \n \n Document was signed on:{' '}\n {formatDateTimeByFormatString(\n termsAndCondition.activatedAt,\n 'DD MMM YYYY HH:mm'\n )}\n \n \n ) : (\n \n \n \n {\n onSelectTermsAndConditions(e);\n }}\n value={termsAndCondition.tcId}\n disabled={!isOwner}\n />\n }\n label=\"I agree with the terms and conditions above\"\n labelPlacement=\"end\"\n />\n \n \n \n )}\n \n );\n })}\n {modalTermsAndConditions === 'modalDisplay' && (\n \n \n submitHandler(selectedTermsAndConditions)}\n disabled={!(isOwner && selectedTermsAndConditions.length !== 0)}\n >\n Submit\n \n \n \n )}\n \n \n )}\n
    \n );\n}\n\nexport default SettingTermsAndConditionsComponent;\n","import { useGlobalStateContext } from 'contexts';\nimport React, { useState, useEffect } from 'react';\nimport SettingTermsAndConditionsComponent from './settings-terms-and-conditions.component';\nimport { NonResellerMerchantService, TermsAndConditionsService } from 'services';\nimport { UserType } from 'utils/enums/UserType';\n\nfunction SettingTermsAndConditionsContainer(props) {\n const { isModal, setOpen, modalTermsAndConditions } = props;\n\n const { globalState, setGlobalState } = useGlobalStateContext();\n const [termsAndConditionsList, setTermsAndConditionsList] = useState([]);\n const [termsAncConditionAccepted, setTermsAndConditionAccepted] = useState(false);\n const [isLoading, setIsLoading] = useState(false);\n const [signedOnDate, setSignedOnDate] = useState('');\n const [entity, setEntity] = useState('');\n const [entityId, setEntityId] = useState('');\n const [selectedTermsAndConditions, setSelectedTermsAndConditions] = useState([]);\n const isCanonicalResellerUser = globalState.user?.UserType?.name === UserType.Reseller;\n\n useEffect(() => {\n const fetchMerchantTermsAndConditionData = async () => {\n setEntity('merchant');\n setEntityId(globalState.merchant?.id);\n setIsLoading(true);\n const response = await NonResellerMerchantService.getTermsAndConditionsForMerchant(\n globalState.merchant?.id,\n modalTermsAndConditions\n );\n\n if (response.isSuccesfully) {\n setTermsAndConditionsList(response.data);\n }\n setIsLoading(false);\n setSignedOnDate(globalState.merchant?.signedTermsAndConditionsDate);\n };\n\n const fetchCanonicalResellerTermsAndConditionData = () => {\n setEntity('canonical_reseller');\n setEntityId(globalState.canonicalReseller?.id);\n setIsLoading(true);\n const canonicalResellerTermsAndConditionDocument =\n globalState.canonicalReseller?.termsAndConditionInfo.termsAncConditionDocument;\n const signedOn =\n globalState.canonicalReseller?.termsAndConditionInfo.signingInfo.signedTermsAndConditionsDate;\n setTermsAndConditionsList(canonicalResellerTermsAndConditionDocument);\n setSignedOnDate(signedOn);\n setIsLoading(false);\n };\n\n if (globalState.merchant?.id) {\n fetchMerchantTermsAndConditionData();\n } else if (globalState.canonicalReseller?.id && isCanonicalResellerUser) {\n fetchCanonicalResellerTermsAndConditionData();\n }\n // eslint-disable-next-line\n }, [globalState.merchant, globalState.canonicalReseller]);\n\n const onSelectTermsAndConditions = (e) => {\n let updatedList = [...selectedTermsAndConditions];\n\n if (e.target.checked) {\n updatedList = [...selectedTermsAndConditions, e.target.value];\n } else {\n updatedList.splice(selectedTermsAndConditions.indexOf(e.target.value), 1);\n }\n setSelectedTermsAndConditions(updatedList);\n };\n\n const submitHandler = async (selectedDocumentIds) => {\n setIsLoading(true);\n const data = { selectedDocumentIds: selectedDocumentIds };\n const response = await TermsAndConditionsService.acceptTermsAndConditions(entity, entityId, data);\n if (response.isSuccesfully) {\n setSignedOnDate(response.data.signedOn);\n const noOfNotSignedTermsAndConditions = termsAndConditionsList.length - selectedTermsAndConditions.length;\n if (isCanonicalResellerUser) {\n const signingInfo = globalState.canonicalReseller?.termsAndConditionInfo.signingInfo;\n const canonicalReseller = sessionStorage.getItem('canonicalResellers');\n let canonicalResellerInfo = JSON.parse(canonicalReseller)[0];\n const canonicalResellerSigningInfo = {\n ...canonicalResellerInfo.termsAndConditionInfo.signingInfo,\n signedTermsAndConditionsDate: response.data.signedOn,\n noOfSignedTermsAndConditions: signingInfo.noOfNotSignedTermsAndConditions,\n noOfNotSignedTermsAndConditions: noOfNotSignedTermsAndConditions\n };\n canonicalResellerInfo = {\n ...canonicalResellerInfo,\n termsAndConditionInfo: {\n ...canonicalResellerInfo.termsAndConditionInfo,\n signingInfo: canonicalResellerSigningInfo\n }\n };\n setGlobalState((globalState) => ({\n ...globalState,\n canonicalReseller: canonicalResellerInfo\n }));\n sessionStorage.setItem('canonicalResellers', JSON.stringify(canonicalResellerInfo));\n } else {\n setGlobalState((globalState) => ({\n ...globalState,\n merchant: {\n ...globalState.merchant,\n noOfSignedTermsAndConditions: globalState.merchant.noOfNotSignedTermsAndConditions,\n noOfNotSignedTermsAndConditions: noOfNotSignedTermsAndConditions\n }\n }));\n }\n\n if (noOfNotSignedTermsAndConditions === 0 && isModal) {\n setOpen(false);\n }\n setSelectedTermsAndConditions([]);\n }\n setIsLoading(false);\n };\n\n return (\n \n );\n}\n\nexport default SettingTermsAndConditionsContainer;\n","import React from 'react';\nimport { Dialog, DialogContent } from '@material-ui/core';\nimport styles from './modal-merchant-terms-and-conditions.module.scss';\nimport { SettingTermsAndConditionsContainer, SnackBarAndAlert } from 'components';\n\nconst ModalMerchantTermsAndConditionsComponent = (props) => {\n const { open, setOpen, showMessage, setShowMessage, modalTermsAndConditions } = props;\n\n return (\n setShowMessage(true)}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n maxWidth=\"false\"\n >\n \n \n \n {showMessage && (\n \n Please sign the terms & conditions.\n \n )}\n \n );\n};\n\nexport default ModalMerchantTermsAndConditionsComponent;\n","import React, { useState, useEffect } from 'react';\nimport ModalMerchantTermsAndConditionsComponent from './modal-merchant-terms-and-conditions.component';\n\nfunction ModalMerchantTermsAndConditions(props) {\n const [showMessage, setShowMessage] = useState(false);\n\n useEffect(() => {\n if (showMessage) {\n const timeout = setTimeout(() => {\n setShowMessage(false);\n }, 1000);\n\n return () => clearTimeout(timeout);\n }\n }, [showMessage]);\n\n return (\n \n );\n}\n\nexport default ModalMerchantTermsAndConditions;\n","export const DNAOnboardStatus = {\n ONBOARD_DNA_MERCHANT: 'onBoardDnaMerchant',\n CANCEL_DNA_ONBOARD: 'cancelDnaOnboard',\n ONBOARDING_INITIAED: 'DnaOnboardIntiated',\n EXTRA_PDQ: 'extraPdqRequest',\n COMPLETED_ONBOARDING: 'OnboardingComplete'\n};\n","import React from 'react';\nimport {\n Dialog,\n DialogContent,\n DialogTitle,\n Button,\n Paper,\n Table,\n TableBody,\n TableCell,\n TableContainer,\n TableHead,\n TableRow,\n TextField,\n Link,\n Grid,\n TablePagination,\n Tooltip\n} from '@material-ui/core';\nimport { DNAOnboardStatus } from '../../utils/enums/dnaOnboardStatus';\n\nimport styles from './modal-pdq-merchants.module.scss';\nimport CloseIcon from '@material-ui/icons/Close';\nimport { useGlobalStateContext } from 'contexts';\nimport Loader from 'components/loader/loader.container';\nimport DoneIcon from '@mui/icons-material/Done';\n\nconst ModalPdqMerchantsComponent = (props) => {\n const { setRoute } = useGlobalStateContext();\n\n const {\n modalLoading,\n open,\n setOpen,\n searchValue,\n merchants,\n setMerchants,\n count,\n setCount,\n page,\n rowsPerPage,\n setSearchValue,\n setModalLoading,\n setShowMessage,\n handleChangePage,\n handleChangeRowsPerPage,\n searchResellerMerchants\n } = props;\n\n return (\n setShowMessage(true)}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n \n \n \n All Merchants\n \n \n {\n setOpen(false);\n setModalLoading(false);\n setMerchants([]);\n setSearchValue('');\n setCount(0);\n }}\n />\n \n \n \n \n \n \n
    \n
    \n {\n setSearchValue(e.target.value);\n }}\n autoFocus\n />\n \n Search\n \n \n
    \n
    \n \n {modalLoading ? (\n
    \n \n
    \n ) : (\n \n \n \n \n \n Merchant Name\n Merchant ID\n Onboarded\n \n \n {merchants.length > 0 ? (\n \n {merchants.map((merchant) => {\n return (\n \n \n \n {\n setRoute(`/pdq-order-merchant/${merchant.id}`);\n if (\n merchant.onboardingStatus !==\n DNAOnboardStatus.CANCEL_DNA_ONBOARD &&\n merchant.onboardingStatus\n ) {\n localStorage.setItem(\n 'onBoardedMerchant',\n merchant.id\n );\n }\n }}\n >\n {merchant.name}\n \n \n \n \n {merchant.id}\n \n \n {merchant.onboardingStatus ===\n DNAOnboardStatus.CANCEL_DNA_ONBOARD ||\n !merchant.onboardingStatus ? null : (\n \n )}\n \n \n );\n })}\n \n ) : (\n \n \n \n Make a search to show records\n \n \n \n )}\n\n \n {count > 10 && (\n \n )}\n \n \n \n \n )}\n \n \n );\n};\n\nexport default ModalPdqMerchantsComponent;\n","import React, { useState, useEffect } from 'react';\nimport ModalPdqMerchantsComponent from './modal-pdq-merchants.component';\nimport { NonResellerMerchantService } from 'services';\nimport { useGlobalStateContext } from 'contexts';\nimport PropTypes from 'prop-types';\n\nfunction ModalPdqMerchants(props) {\n const [merchants, setMerchants] = useState([]);\n const [productFilter] = useState('all');\n const { globalState } = useGlobalStateContext();\n const [showMessage, setShowMessage] = useState(false);\n const [page, setPage] = useState(0);\n const [modalLoading, setModalLoading] = useState(false);\n const [searchValue, setSearchValue] = useState('');\n const [rowsPerPage, setRowsPerPage] = useState(10);\n const [count, setCount] = useState(0);\n const { open, setOpen, dnaMerchantsList } = props;\n\n const handleChangePage = (event, newPage) => {\n setPage(newPage);\n getAllMerchantsForResellerAgent(newPage);\n };\n\n const handleChangeRowsPerPage = (event) => {\n setRowsPerPage(parseInt(event.target.value, 10));\n setPage(0);\n getAllMerchantsForResellerAgent(0, Number(event.target.value, 10));\n };\n\n const getAllMerchantsForResellerAgent = async (newPage, newRowsPerPage) => {\n if (searchValue !== '') {\n setModalLoading(true);\n const thePage = newPage ?? page;\n const theRowsPerPage = newRowsPerPage ?? rowsPerPage;\n const response = await NonResellerMerchantService.getAllMerchantsForReseller(globalState.reseller?.id, {\n searchValue: searchValue.length > 2 ? searchValue : 'no',\n offset: thePage * theRowsPerPage,\n canonicalResellerId: [globalState.canonicalReseller?.id, globalState.reseller?.id],\n limit: theRowsPerPage,\n productFilter: productFilter\n });\n if (response.isSuccesfully) {\n setMerchants(response.data.merchants);\n setCount(response.data.count);\n } else {\n setMerchants([]);\n setCount(0);\n }\n setModalLoading(false);\n }\n };\n\n const searchResellerMerchants = (e) => {\n setPage(0);\n getAllMerchantsForResellerAgent(0);\n e.preventDefault();\n };\n\n useEffect(() => {\n if (showMessage) {\n const timeout = setTimeout(() => {\n setShowMessage(false);\n }, 1000);\n\n return () => clearTimeout(timeout);\n }\n }, [showMessage]);\n\n return (\n \n );\n}\n\nModalPdqMerchants.propTypes = {\n open: PropTypes.bool,\n setOpen: PropTypes.func,\n dnaMerchantsList: PropTypes.array\n};\n\nexport default ModalPdqMerchants;\n","import React from 'react';\nimport { Label, FormItem, SelectedDropDown } from 'components/onboarding/onboarding-ui-components';\n\nconst CountyInputComponent = (props) => {\n const { value, onChange, disabled, id, labelText, labelId, countyList } = props;\n\n return (\n \n \n {countyList.length && !props.loading && (\n option === value}\n options={countyList}\n getOptionLabel={(option) => option}\n onChange={(event, newValue) => onChange(newValue)}\n customListRender={(option) => {\n return (\n \n {option}\n \n );\n }}\n disabled={disabled}\n />\n )}\n \n );\n};\n\nexport default CountyInputComponent;\n","export const countyNames = [\n {\n County: 'Bath and North East Somerset',\n Country: 'England',\n CountyWithCountryName: 'Bath and North East Somerset(England)'\n },\n {\n County: 'Bedfordshire',\n Country: 'England',\n CountyWithCountryName: 'Bedfordshire(England)'\n },\n {\n County: 'Berkshire',\n Country: 'England',\n CountyWithCountryName: 'Berkshire(England)'\n },\n {\n County: 'Bristol',\n Country: 'England',\n CountyWithCountryName: 'Bristol(England)'\n },\n {\n County: 'Buckinghamshire',\n Country: 'England',\n CountyWithCountryName: 'Buckinghamshire(England)'\n },\n {\n County: 'Cambridgeshire',\n Country: 'England',\n CountyWithCountryName: 'Cambridgeshire(England)'\n },\n {\n County: 'Cheshire',\n Country: 'England',\n CountyWithCountryName: 'Cheshire(England)'\n },\n {\n County: 'Cornwall',\n Country: 'England',\n CountyWithCountryName: 'Cornwall(England)'\n },\n {\n County: 'County Durham',\n Country: 'England',\n CountyWithCountryName: 'County Durham(England)'\n },\n {\n County: 'Cumbria',\n Country: 'England',\n CountyWithCountryName: 'Cumbria(England)'\n },\n {\n County: 'Derbyshire',\n Country: 'England',\n CountyWithCountryName: 'Derbyshire(England)'\n },\n {\n County: 'Devon',\n Country: 'England',\n CountyWithCountryName: 'Devon(England)'\n },\n {\n County: 'Dorset',\n Country: 'England',\n CountyWithCountryName: 'Dorset(England)'\n },\n {\n County: 'East Riding of Yorkshire',\n Country: 'England',\n CountyWithCountryName: 'East Riding of Yorkshire(England)'\n },\n {\n County: 'East Sussex',\n Country: 'England',\n CountyWithCountryName: 'East Sussex(England)'\n },\n {\n County: 'Essex',\n Country: 'England',\n CountyWithCountryName: 'Essex(England)'\n },\n {\n County: 'Gloucestershire',\n Country: 'England',\n CountyWithCountryName: 'Gloucestershire(England)'\n },\n {\n County: 'Greater London',\n Country: 'England',\n CountyWithCountryName: 'Greater London(England)'\n },\n {\n County: 'Greater Manchester',\n Country: 'England',\n CountyWithCountryName: 'Greater Manchester(England)'\n },\n {\n County: 'Hampshire',\n Country: 'England',\n CountyWithCountryName: 'Hampshire(England)'\n },\n {\n County: 'Herefordshire',\n Country: 'England',\n CountyWithCountryName: 'Herefordshire(England)'\n },\n {\n County: 'Hertfordshire',\n Country: 'England',\n CountyWithCountryName: 'Hertfordshire(England)'\n },\n {\n County: 'Isle of Wight',\n Country: 'England',\n CountyWithCountryName: 'Isle of Wight(England)'\n },\n {\n County: 'Isles of Scilly',\n Country: 'England',\n CountyWithCountryName: 'Isles of Scilly(England)'\n },\n {\n County: 'Kent',\n Country: 'England',\n CountyWithCountryName: 'Kent(England)'\n },\n {\n County: 'Lancashire',\n Country: 'England',\n CountyWithCountryName: 'Lancashire(England)'\n },\n {\n County: 'Leicestershire',\n Country: 'England',\n CountyWithCountryName: 'Leicestershire(England)'\n },\n {\n County: 'Lincolnshire',\n Country: 'England',\n CountyWithCountryName: 'Lincolnshire(England)'\n },\n {\n County: 'Merseyside',\n Country: 'England',\n CountyWithCountryName: 'Merseyside(England)'\n },\n {\n County: 'Norfolk',\n Country: 'England',\n CountyWithCountryName: 'Norfolk(England)'\n },\n {\n County: 'North Somerset',\n Country: 'England',\n CountyWithCountryName: 'North Somerset(England)'\n },\n {\n County: 'North Yorkshire',\n Country: 'England',\n CountyWithCountryName: 'North Yorkshire(England)'\n },\n {\n County: 'Northamptonshire',\n Country: 'England',\n CountyWithCountryName: 'Northamptonshire(England)'\n },\n {\n County: 'Northumberland',\n Country: 'England',\n CountyWithCountryName: 'Northumberland(England)'\n },\n {\n County: 'Nottinghamshire',\n Country: 'England',\n CountyWithCountryName: 'Nottinghamshire(England)'\n },\n {\n County: 'Oxfordshire',\n Country: 'England',\n CountyWithCountryName: 'Oxfordshire(England)'\n },\n {\n County: 'Rutland',\n Country: 'England',\n CountyWithCountryName: 'Rutland(England)'\n },\n {\n County: 'Shropshire',\n Country: 'England',\n CountyWithCountryName: 'Shropshire(England)'\n },\n {\n County: 'Somerset',\n Country: 'England',\n CountyWithCountryName: 'Somerset(England)'\n },\n {\n County: 'South Gloucestershire',\n Country: 'England',\n CountyWithCountryName: 'South Gloucestershire(England)'\n },\n {\n County: 'South Yorkshire',\n Country: 'England',\n CountyWithCountryName: 'South Yorkshire(England)'\n },\n {\n County: 'Staffordshire',\n Country: 'England',\n CountyWithCountryName: 'Staffordshire(England)'\n },\n {\n County: 'Suffolk',\n Country: 'England',\n CountyWithCountryName: 'Suffolk(England)'\n },\n {\n County: 'Surrey',\n Country: 'England',\n CountyWithCountryName: 'Surrey(England)'\n },\n {\n County: 'Tyne & Wear',\n Country: 'England',\n CountyWithCountryName: 'Tyne & Wear(England)'\n },\n {\n County: 'Warwickshire',\n Country: 'England',\n CountyWithCountryName: 'Warwickshire(England)'\n },\n {\n County: 'West Midlands',\n Country: 'England',\n CountyWithCountryName: 'West Midlands(England)'\n },\n {\n County: 'West Sussex',\n Country: 'England',\n CountyWithCountryName: 'West Sussex(England)'\n },\n {\n County: 'West Yorkshire',\n Country: 'England',\n CountyWithCountryName: 'West Yorkshire(England)'\n },\n {\n County: 'WIltshire',\n Country: 'England',\n CountyWithCountryName: 'WIltshire(England)'\n },\n {\n County: 'Worcestershire',\n Country: 'England',\n CountyWithCountryName: 'Worcestershire(England)'\n },\n {\n County: 'Aberdeenshire',\n Country: 'Scotland',\n CountyWithCountryName: 'Aberdeenshire(Scotland)'\n },\n {\n County: 'Angus',\n Country: 'Scotland',\n CountyWithCountryName: 'Angus(Scotland)'\n },\n {\n County: 'Argyll & Bute',\n Country: 'Scotland',\n CountyWithCountryName: 'Argyll & Bute(Scotland)'\n },\n {\n County: 'Ayrshire',\n Country: 'Scotland',\n CountyWithCountryName: 'Ayrshire(Scotland)'\n },\n {\n County: 'Banffshire',\n Country: 'Scotland',\n CountyWithCountryName: 'Banffshire(Scotland)'\n },\n {\n County: 'Berwickshire',\n Country: 'Scotland',\n CountyWithCountryName: 'Berwickshire(Scotland)'\n },\n {\n County: 'Borders',\n Country: 'Scotland',\n CountyWithCountryName: 'Borders(Scotland)'\n },\n {\n County: 'Caithness',\n Country: 'Scotland',\n CountyWithCountryName: 'Caithness(Scotland)'\n },\n {\n County: 'Clackmannanshire',\n Country: 'Scotland',\n CountyWithCountryName: 'Clackmannanshire(Scotland)'\n },\n {\n County: 'Dumfries & Galloway',\n Country: 'Scotland',\n CountyWithCountryName: 'Dumfries & Galloway(Scotland)'\n },\n {\n County: 'Dunbartonshire',\n Country: 'Scotland',\n CountyWithCountryName: 'Dunbartonshire(Scotland)'\n },\n {\n County: 'East Ayrshire',\n Country: 'Scotland',\n CountyWithCountryName: 'East Ayrshire(Scotland)'\n },\n {\n County: 'East Dunbartonshire',\n Country: 'Scotland',\n CountyWithCountryName: 'East Dunbartonshire(Scotland)'\n },\n {\n County: 'East Lothian',\n Country: 'Scotland',\n CountyWithCountryName: 'East Lothian(Scotland)'\n },\n {\n County: 'East Renfrewshire',\n Country: 'Scotland',\n CountyWithCountryName: 'East Renfrewshire(Scotland)'\n },\n {\n County: 'Fife',\n Country: 'Scotland',\n CountyWithCountryName: 'Fife(Scotland)'\n },\n {\n County: 'Highland',\n Country: 'Scotland',\n CountyWithCountryName: 'Highland(Scotland)'\n },\n {\n County: 'Inverclyde',\n Country: 'Scotland',\n CountyWithCountryName: 'Inverclyde(Scotland)'\n },\n {\n County: 'Kincardineshire',\n Country: 'Scotland',\n CountyWithCountryName: 'Kincardineshire(Scotland)'\n },\n {\n County: 'Midlothian',\n Country: 'Scotland',\n CountyWithCountryName: 'Midlothian(Scotland)'\n },\n {\n County: 'Moray',\n Country: 'Scotland',\n CountyWithCountryName: 'Moray(Scotland)'\n },\n {\n County: 'North Ayrshire',\n Country: 'Scotland',\n CountyWithCountryName: 'North Ayrshire(Scotland)'\n },\n {\n County: 'North Lanarkshire',\n Country: 'Scotland',\n CountyWithCountryName: 'North Lanarkshire(Scotland)'\n },\n {\n County: 'Orkney',\n Country: 'Scotland',\n CountyWithCountryName: 'Orkney(Scotland)'\n },\n {\n County: 'Perth & KInross',\n Country: 'Scotland',\n CountyWithCountryName: 'Perth & KInross(Scotland)'\n },\n {\n County: 'Renfrewshire',\n Country: 'Scotland',\n CountyWithCountryName: 'Renfrewshire(Scotland)'\n },\n {\n County: 'Shetland',\n Country: 'Scotland',\n CountyWithCountryName: 'Shetland(Scotland)'\n },\n {\n County: 'South Ayrshire',\n Country: 'Scotland',\n CountyWithCountryName: 'South Ayrshire(Scotland)'\n },\n {\n County: 'South Lanarkshire',\n Country: 'Scotland',\n CountyWithCountryName: 'South Lanarkshire(Scotland)'\n },\n {\n County: 'Stirlingshire',\n Country: 'Scotland',\n CountyWithCountryName: 'Stirlingshire(Scotland)'\n },\n {\n County: 'West Dunbartonshire',\n Country: 'Scotland',\n CountyWithCountryName: 'West Dunbartonshire(Scotland)'\n },\n {\n County: 'West Lothian',\n Country: 'Scotland',\n CountyWithCountryName: 'West Lothian(Scotland)'\n },\n {\n County: 'Western Isles',\n Country: 'Scotland',\n CountyWithCountryName: 'Western Isles(Scotland)'\n },\n {\n County: 'Blaenau Gwent',\n Country: 'Wales',\n CountyWithCountryName: 'Blaenau Gwent(Wales)'\n },\n {\n County: 'Bridgend',\n Country: 'Wales',\n CountyWithCountryName: 'Bridgend(Wales)'\n },\n {\n County: 'Caerphilly',\n Country: 'Wales',\n CountyWithCountryName: 'Caerphilly(Wales)'\n },\n {\n County: 'Cardiff',\n Country: 'Wales',\n CountyWithCountryName: 'Cardiff(Wales)'\n },\n {\n County: 'Carmarthenshire',\n Country: 'Wales',\n CountyWithCountryName: 'Carmarthenshire(Wales)'\n },\n {\n County: 'Ceredigion',\n Country: 'Wales',\n CountyWithCountryName: 'Ceredigion(Wales)'\n },\n {\n County: 'Conwy',\n Country: 'Wales',\n CountyWithCountryName: 'Conwy(Wales)'\n },\n {\n County: 'Denbighshire',\n Country: 'Wales',\n CountyWithCountryName: 'Denbighshire(Wales)'\n },\n {\n County: 'Flintshire',\n Country: 'Wales',\n CountyWithCountryName: 'Flintshire(Wales)'\n },\n {\n County: 'Gwynedd',\n Country: 'Wales',\n CountyWithCountryName: 'Gwynedd(Wales)'\n },\n {\n County: 'Isle of Anglesey',\n Country: 'Wales',\n CountyWithCountryName: 'Isle of Anglesey(Wales)'\n },\n {\n County: 'Merthyr Tydfil',\n Country: 'Wales',\n CountyWithCountryName: 'Merthyr Tydfil(Wales)'\n },\n {\n County: 'Monmouthshire',\n Country: 'Wales',\n CountyWithCountryName: 'Monmouthshire(Wales)'\n },\n {\n County: 'Neath Port Talbot',\n Country: 'Wales',\n CountyWithCountryName: 'Neath Port Talbot(Wales)'\n },\n {\n County: 'Newport',\n Country: 'Wales',\n CountyWithCountryName: 'Newport(Wales)'\n },\n {\n County: 'Pembrokeshire',\n Country: 'Wales',\n CountyWithCountryName: 'Pembrokeshire(Wales)'\n },\n {\n County: 'Powys',\n Country: 'Wales',\n CountyWithCountryName: 'Powys(Wales)'\n },\n {\n County: 'Rhondda Cynon Taff',\n Country: 'Wales',\n CountyWithCountryName: 'Rhondda Cynon Taff(Wales)'\n },\n {\n County: 'Swansea',\n Country: 'Wales',\n CountyWithCountryName: 'Swansea(Wales)'\n },\n {\n County: 'Torfaen',\n Country: 'Wales',\n CountyWithCountryName: 'Torfaen(Wales)'\n },\n {\n County: 'Vale of Glamorgan',\n Country: 'Wales',\n CountyWithCountryName: 'Vale of Glamorgan(Wales)'\n },\n {\n County: 'Wrexham',\n Country: 'Wales',\n CountyWithCountryName: 'Wrexham(Wales)'\n },\n {\n County: 'Antrim',\n Country: 'Northern Ireland',\n CountyWithCountryName: 'Antrim(Northern Ireland)'\n },\n {\n County: 'Armagh',\n Country: 'Northern Ireland',\n CountyWithCountryName: 'Armagh(Northern Ireland)'\n },\n {\n County: 'Down',\n Country: 'Northern Ireland',\n CountyWithCountryName: 'Down(Northern Ireland)'\n },\n {\n County: 'Fermanagh',\n Country: 'Northern Ireland',\n CountyWithCountryName: 'Fermanagh(Northern Ireland)'\n },\n {\n County: 'Londonderry',\n Country: 'Northern Ireland',\n CountyWithCountryName: 'Londonderry(Northern Ireland)'\n },\n {\n County: 'Tyrone',\n Country: 'Northern Ireland',\n CountyWithCountryName: 'Tyrone(Northern Ireland)'\n }\n];\n","import React, { useState, useEffect } from 'react';\nimport CountyInputComponent from './county-input.component';\nimport { countyNames } from 'utils/enums/countyNames';\n\nconst CountyInput = (props) => {\n const { country } = props;\n const [countyList, setCountyList] = useState([]);\n\n useEffect(() => {\n const getCountyList = () => {\n let updatedCountyNames = [...countyNames];\n if (country) {\n updatedCountyNames = countyNames.filter((county) => county.country === country);\n }\n\n const list = updatedCountyNames.map((county) => {\n if (country) {\n return county.County;\n } else {\n return county.CountyWithCountryName;\n }\n });\n setCountyList(list);\n };\n\n getCountyList();\n // eslint-disable-next-line\n }, [country]);\n\n return ;\n};\n\nexport default CountyInput;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Dialog, DialogActions, DialogContent, Button, DialogContentText, DialogTitle } from '@material-ui/core';\nimport styles from './modal-form-confirmation.module.scss';\nimport Divider from '@material-ui/core/Divider';\n\nexport default function ModalFromConfirmationComponent(props) {\n const {\n isModalOpen,\n setIsModalOpen,\n confirmationAction,\n buttonText,\n modalText,\n setDouble,\n double,\n onCancelRefund,\n isDisabled,\n cancelAction,\n newStyle,\n modalHeader\n } = props;\n\n return (\n setIsModalOpen(false)}\n className={{\n paper: styles.paper\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n max-width=\"false\"\n >\n {modalHeader && (\n \n
    {modalHeader}
    \n
    \n )}\n \n {modalText}\n \n \n\n \n {\n if (onCancelRefund) {\n onCancelRefund();\n }\n setIsModalOpen(false);\n if (cancelAction) {\n cancelAction();\n }\n }}\n color=\"primary\"\n variant=\"outlined\"\n className={`${newStyle ? '' : styles.leaveBtn}`}\n >\n Cancel\n \n {\n setDouble(true);\n confirmationAction();\n setIsModalOpen(false);\n setDouble(false);\n }}\n color=\"primary\"\n className={`${newStyle ? '' : styles.dialogBtn}`}\n >\n {buttonText}\n \n \n \n );\n}\n\nModalFromConfirmationComponent.propTypes = {\n isModalOpen: PropTypes.bool,\n setIsModalOpen: PropTypes.func,\n confirmationAction: PropTypes.func,\n onChange: PropTypes.func,\n modalText: PropTypes.string,\n buttonText: PropTypes.string\n};\n","import React, { useState } from 'react';\nimport ModalFromConfirmationComponent from './modal-form-confirmation.component';\n\nconst ModalFormConfirmation = (props) => {\n const [double, setDouble] = useState(false);\n return ;\n};\n\nexport default ModalFormConfirmation;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Dialog, DialogActions, DialogContent, DialogTitle, Button, Grid } from '@material-ui/core';\nimport { Label } from 'components/onboarding/onboarding-ui-components';\nimport styles from './modal-create-fee-tier.module.scss';\nimport NumberFormat from 'react-number-format';\nimport { LoadingScreen } from 'components';\nimport { formatToFixesTwo } from 'utils/helper';\n\nfunction ModalCreateFeeTierComponent(props) {\n const {\n setShowCreateFeeTier,\n showCreateFeeTier,\n setFeeTierData,\n feeTierData,\n onClickAdd,\n isDisable,\n isPercentageFee,\n isLoading\n } = props;\n\n return (\n setShowCreateFeeTier(false)}\n >\n \n
    \n Create Fee Tier\n
    \n
    \n
    \n \n
    \n \n \n \n \n \n {\n setFeeTierData({ ...feeTierData, percentageFee: event.target.value });\n }}\n onBlur={(event) => {\n setFeeTierData({ ...feeTierData, percentageFee: (+event.target.value).toFixed(2) });\n }}\n isAllowed={isPercentageFee}\n aria-describedby=\"outlined-weight-helper-text\"\n labelWidth={0}\n required\n />\n
    Min: 0.00% and Max: 20%
    \n
    \n
    \n \n \n \n \n \n {\n setFeeTierData({ ...feeTierData, fixedFee: event.target.value });\n }}\n onBlur={(event) => {\n setFeeTierData({ ...feeTierData, fixedFee: (+event.target.value).toFixed(2) });\n }}\n required\n />\n
    Min Fixed: 0.10 and Max Fixed: 0.99
    \n
    \n
    \n\n \n
    \n {\n setShowCreateFeeTier(false);\n }}\n >\n Cancel\n \n \n Add\n \n
    \n
    \n
    \n \n \n \n );\n}\n\nModalCreateFeeTierComponent.propTypes = {\n show: PropTypes.bool,\n setShow: PropTypes.func,\n onSubmit: PropTypes.func,\n children: PropTypes.string\n};\n\nexport default ModalCreateFeeTierComponent;\n","import React, { useState, useEffect } from 'react';\nimport { useGlobalStateContext } from 'contexts';\nimport ModalCreateFeeTierComponent from './modal-create-fee-tier.component';\nimport { AdminService } from 'services';\n\nfunction ModalCreateFeeTier(props) {\n const { globalState } = useGlobalStateContext();\n const {\n setShowCreateFeeTier,\n showCreateFeeTier,\n pricingTiers,\n setPricingTiers,\n setMessage,\n showFeeTierMessage,\n setShowFeeTierMessage,\n setMessageType\n } = props;\n const [feeTierData, setFeeTierData] = useState({});\n const [isDisable, setIsDisable] = useState(false);\n const [isLoading, setIsLoading] = useState(false);\n\n useEffect(() => {\n const isDisable = feeTierData.percentageFee && feeTierData.fixedFee && Number(feeTierData.fixedFee) >= 0.1;\n setIsDisable(!isDisable);\n }, [feeTierData.percentageFee, feeTierData.fixedFee]);\n\n const isPercentageFee = (values) => {\n const { value, floatValue } = values;\n const MAX_PERCENTAGE_FEE = 20.0;\n const MIN_PERCENTAGE_FEE = 0.0;\n\n if (typeof floatValue === 'undefined' || typeof value === 'undefined') {\n return true;\n }\n if (value.charAt(0) === '0') {\n if (value.charAt(1) && value.charAt(1) !== '.') {\n return false;\n }\n }\n if (value > MAX_PERCENTAGE_FEE || value < MIN_PERCENTAGE_FEE) {\n return false;\n }\n return true;\n };\n\n const onClickAdd = async () => {\n const existingFeeTier = pricingTiers.filter(\n (data) => data.percentage_fee === feeTierData.percentageFee && data.fixed_fee === feeTierData.fixedFee\n );\n if (existingFeeTier.length !== 0) {\n setShowFeeTierMessage(true);\n setMessageType('error');\n setMessage('Fee tier already exist with the same data.');\n } else {\n setIsLoading(true);\n const response = await AdminService.createFeeTier(globalState.merchant?.id, feeTierData);\n if (response.isSuccesfully) {\n setShowFeeTierMessage(true);\n setMessageType('success');\n setMessage('Successfully created fee tier');\n setPricingTiers([\n ...pricingTiers,\n {\n name: response.data?.data?.feeTierName,\n id: response.data?.data?.feeTierId,\n percentage_fee: feeTierData.percentageFee,\n fixed_fee: feeTierData.fixedFee\n }\n ]);\n setFeeTierData({});\n } else {\n setShowFeeTierMessage(true);\n setMessageType('error');\n setMessage('Something went wrong');\n }\n setIsLoading(false);\n setShowCreateFeeTier(false);\n }\n };\n\n return (\n \n );\n}\n\nexport default ModalCreateFeeTier;\n","export const QrCodeType = {\n qrImgSource: 'qrImgSource',\n thirdPartyQR: 'thirdPartyQR'\n};\n\nexport const QrFields = {\n qrID: 'QR ID',\n qrName: 'Name',\n qrDescription: 'Description',\n createdAt: 'Created At',\n amount: 'Amount Received',\n qrStatus: 'Status',\n qrDueDate: 'Expire By',\n link: 'Link',\n expiredAt: 'Expired At',\n typeOfQr: 'Type Of QR',\n download: 'Download',\n view: 'View',\n action: 'Action'\n};\n\nexport const QrCodeStatus = {\n ACTIVE: 'Active',\n CLOSED: 'Closed',\n EXPIRED: 'Expired'\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n Dialog,\n Button,\n Grid,\n OutlinedInput,\n DialogContent,\n DialogActions,\n InputAdornment,\n CircularProgress,\n Box,\n Radio,\n FormControlLabel,\n Checkbox,\n RadioGroup,\n Typography\n} from '@material-ui/core';\nimport { FormItem } from 'components/onboarding/onboarding-ui-components';\nimport { QrFields } from 'utils/enums/QrCode';\nimport { getCurrencySymbol } from 'utils/getCurrencyByCountry';\nimport { SnackBarAndAlert, ValidDomainInput } from 'components';\nimport NumberFormat from 'react-number-format';\nimport styles from './modal-create-qr-code.module.scss';\nimport { LocalizationProvider } from '@mui/x-date-pickers';\nimport { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs';\nimport { MobileDateTimePicker } from '@mui/x-date-pickers/MobileDateTimePicker';\nfunction ModalCreateQrCodeComponent(props) {\n const {\n showCreteQr,\n selectPaymentQr,\n handleGenerateQr,\n setQrDetails,\n qrDetails,\n isDisable,\n isCopyAlertOpen,\n closeCopyAlert,\n showDatePicker,\n setShowDatePicker,\n setValue,\n value,\n closeCreateModal,\n isLoading,\n isMaxAmount,\n showDateValidationMessage,\n setSelectPaymentQr\n } = props;\n return (\n \n
    \n \n
    \n Create QR Code\n
    \n
    \n \n {\n setSelectPaymentQr(e.target.value === 'true' ? true : false);\n if (e.target.value === 'true') {\n setValue('no');\n }\n setQrDetails({\n qrCodeExpiryDate: null,\n description: '',\n amount: '',\n qrName: '',\n websiteUrl: ''\n });\n setShowDatePicker(false);\n }}\n >\n \n } label=\"Payment QR\" />\n }\n label=\"Generic QR\"\n />\n \n
    \n\n {selectPaymentQr && (\n \n
    \n \n Accept only fixed amount on this QR?\n \n
    \n {\n setValue(e.target.value);\n }}\n >\n \n } label=\"No\" />\n } label=\"Yes\" />\n \n \n {value === 'yes' && (\n
    \n \n
    \n
    \n \n Amount\n \n *\n
    \n {\n setQrDetails({\n ...qrDetails,\n amount: event.target.value\n });\n }}\n decimalScale={2}\n allowNegative={false}\n isNumericString={true}\n startAdornment={\n \n {getCurrencySymbol('United Kingdom')}\n \n }\n aria-describedby=\"outlined-weight-helper-text\"\n required\n />\n
    \n
    \n
    \n )}\n
    \n )}\n \n \n
    \n \n
    \n \n {QrFields.qrDescription + '(optional)'}\n \n
    \n {\n setQrDetails({\n ...qrDetails,\n description: event.target.value\n });\n }}\n style={{ height: 35 }}\n />\n
    \n
    \n
    \n \n
    \n
    \n \n {QrFields.qrDueDate + '(optional)'}\n \n
    \n {\n setShowDatePicker(e.target.checked);\n if (!e.target.checked) {\n setQrDetails({\n ...qrDetails,\n qrCodeExpiryDate: null\n });\n }\n }}\n />\n }\n label=\"Close this QR code after\"\n labelPlacement=\"end\"\n />\n
    \n \n
    \n
    \n \n {\n if (value) {\n setQrDetails({\n ...qrDetails,\n qrCodeExpiryDate: new Date(value['$d'])\n });\n }\n }}\n onError={console.log}\n inputFormat=\"YYYY/MM/DD HH:mm a\"\n mask=\"____/__/__ __:__ _M\"\n renderInput={(params) => (\n \n )}\n showToolbar={false}\n disablePast={true}\n disabled={!showDatePicker}\n />\n \n
    \n {showDateValidationMessage && (\n
    \n \n Time should be 5 minutes more than current time.\n \n
    \n )}\n
    \n
    \n
    \n \n \n
    \n \n {QrFields.qrName + '(optional)'}\n \n
    \n {\n setQrDetails({\n ...qrDetails,\n qrName: event.target.value\n });\n }}\n />\n
    \n
    \n {!selectPaymentQr && (\n \n \n *\n {\n setQrDetails({\n ...qrDetails,\n websiteUrl: value\n });\n }}\n inputProps={{ maxLength: '150', inputMode: 'text' }}\n />\n \n \n )}\n
    \n \n \n {isLoading ? (\n \n \n \n ) : (\n \n
    \n \n \n
    \n
    \n )}\n {isCopyAlertOpen && (\n \n Successfully copied the payment url.\n \n )}\n \n \n );\n}\n\nModalCreateQrCodeComponent.propTypes = {\n showQrCode: PropTypes.bool,\n setShowQrCode: PropTypes.bool\n};\n\nexport default ModalCreateQrCodeComponent;\n","import React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { useGlobalStateContext } from 'contexts';\nimport ModalCreateQrCodeComponent from './modal-create-qr-code.component';\nimport { DocumentsService } from 'services';\nimport moment from 'moment';\nimport { InputValidators } from 'validators';\n\nfunction ModalCreateQrCode(props) {\n const {\n setShowCreateQr,\n showCreteQr,\n selectPaymentQr,\n setQrCodeData,\n qrDetails,\n setQrDetails,\n setSuccess,\n success,\n setShowMessage,\n setCount,\n setSelectPaymentQr\n } = props;\n const { globalState } = useGlobalStateContext();\n const [paymentUrl, setPaymentUrl] = useState('');\n const resellerId = globalState.reseller?.id;\n const [selectDate, setSelectDate] = useState(null);\n const [isDisable, setIsDisable] = useState(false);\n const [isLoading, setIsLoading] = useState(false);\n const [showValidationMessage, setShowValidationMessage] = useState(false);\n const [isCopyAlertOpen, setIsCopyAlertOpen] = useState(false);\n const [showDatePicker, setShowDatePicker] = useState(false);\n const [value, setValue] = useState('no');\n const [showDateValidationMessage, setShowDateValidationMessage] = useState(false);\n\n useEffect(() => {\n let isAmountValid = true;\n let enabled = true;\n\n if (showDatePicker) {\n const endTime = moment().format('YYYY-MM-DD HH:mm');\n const startTime = qrDetails.qrCodeExpiryDate;\n let diff = moment.utc(\n moment(startTime, 'YYYY-MM-DD HH:mm:ss').diff(moment(endTime, 'YYYY-MM-DD HH:mm:ss'))\n );\n diff = moment.duration(diff).asMinutes();\n if (diff === 'Invalid date' || diff < 5) {\n enabled = false;\n }\n }\n\n if (!enabled && qrDetails.qrCodeExpiryDate) {\n setShowDateValidationMessage(true);\n } else {\n setShowDateValidationMessage(false);\n }\n\n if (selectPaymentQr === true) {\n if (value === 'yes') {\n if (\n !qrDetails.amount ||\n qrDetails.amount <= 0 ||\n qrDetails.amount === 0.0 ||\n qrDetails.amount === '.'\n ) {\n isAmountValid = false;\n } else {\n isAmountValid = true;\n }\n }\n const isDisable = isAmountValid && enabled;\n setIsDisable(!isDisable);\n } else {\n const isDisable = qrDetails.websiteUrl && InputValidators.isDomainUrlValid(qrDetails.websiteUrl) && enabled;\n setIsDisable(!isDisable);\n }\n }, [selectPaymentQr, value, qrDetails.amount, qrDetails.websiteUrl, showDatePicker, qrDetails.qrCodeExpiryDate]);\n\n useEffect(() => {\n const fetchQrData = async () => {\n const response = await DocumentsService.getQrCode(globalState.merchant?.id);\n if (response.isSuccesfully) {\n setPaymentUrl(response.data.paymentUrl);\n }\n };\n fetchQrData();\n // eslint-disable-next-line\n }, [globalState.merchant?.id]);\n\n const isMaxAmount = (values) => {\n const { value, floatValue } = values;\n const MAX_AMT = 999999.99;\n\n if (typeof floatValue === 'undefined' || typeof value === 'undefined') {\n return true;\n }\n if (value.charAt(0) === '0') {\n if (value.charAt(1) && value.charAt(1) !== '.') {\n return false;\n }\n }\n if (value > MAX_AMT) {\n return false;\n }\n return true;\n };\n\n const handleGenerateQr = async (e) => {\n setIsLoading(true);\n const response = await DocumentsService.createQrCode(globalState.merchant?.id, {\n resellerId: resellerId,\n description: qrDetails.description,\n link: qrDetails.websiteUrl,\n amount: value === 'no' ? '' : qrDetails.amount,\n qrName: qrDetails.qrName,\n typeOfQr: selectPaymentQr ? 'payment' : 'generic',\n qrCodeExpiryDate: showDatePicker\n ? qrDetails.qrCodeExpiryDate\n ? new Date(qrDetails.qrCodeExpiryDate).toISOString()\n : null\n : null\n });\n if (response.isSuccesfully) {\n setSuccess(true);\n setQrCodeData(response?.data?.data?.qrCodes);\n setCount(response?.data?.data?.qrCodes.length);\n setShowMessage('Successfully generated QR code');\n setShowCreateQr(false);\n setQrDetails({ qrCodeExpiryDate: null });\n setShowDatePicker(false);\n setValue('no');\n } else {\n setShowMessage(response?.data?.errorMessage);\n }\n setIsLoading(false);\n };\n\n const handleCopyPaymentLink = () => {\n navigator.clipboard.writeText(paymentUrl);\n setIsCopyAlertOpen(true);\n };\n\n const closeCreateModal = () => {\n setShowCreateQr(false);\n setQrDetails({ qrCodeExpiryDate: null });\n setShowDatePicker(false);\n setValue('no');\n };\n\n const closeCopyAlert = () => {\n setIsCopyAlertOpen(false);\n };\n\n return (\n \n );\n}\nModalCreateQrCode.propTypes = {\n isLoading: PropTypes.bool,\n setShowCreateQr: PropTypes.bool,\n showCreteQr: PropTypes.bool,\n paymentUrl: PropTypes.string,\n selectPaymentQr: PropTypes.bool\n};\nexport default ModalCreateQrCode;\n","import React from 'react';\nimport style from './generic-qr-code-info.module.scss';\nimport { ModalCreateQrCode, ModalPreviewQrCode } from 'components';\nimport { stableSort, getComparator } from 'utils/helper';\nimport { QrCodeStatus } from 'utils/enums/QrCode';\nimport {\n Typography,\n Grid,\n TextField,\n Select,\n MenuItem,\n Button,\n Paper,\n Box,\n Table,\n TableBody,\n TableCell,\n TableContainer,\n TableRow,\n TableFooter,\n TablePagination,\n useMediaQuery,\n Tooltip,\n Link,\n CircularProgress\n} from '@material-ui/core';\nimport { makeStyles } from '@material-ui/core/styles';\n// import { getCurrencyThreeAlpha } from 'utils/getCurrencyByCountry';\n// import { useGlobalStateContext } from 'contexts';\nimport { VisibilityOutlined } from '@material-ui/icons';\nimport GetAppSharpIcon from '@material-ui/icons/GetAppSharp';\nimport SlidingPane from 'react-sliding-pane';\nimport { formatDateTimeByFormatStringV2 } from '../../utils/helper';\nimport { QrDetailedView, SnackBarAndAlert } from 'components';\nimport TableHeader from 'components/payments/transaction-tables/table-header/table-header.container';\nimport 'react-sliding-pane/dist/react-sliding-pane.css';\nimport TransactionStatusLabel from '../payments/transaction-tables/transaction-status-label/transaction-status-label.container';\nimport FileCopyIcon from '@material-ui/icons/FileCopy';\n\nconst useStyles = makeStyles(() => ({\n root: {\n width: '100%'\n },\n container: {\n 'overflow-y': 'visible'\n },\n table: {\n minWidth: '100%'\n },\n tableRow: {\n '&$selected, &$selected:hover': {\n backgroundColor: '#e4e1fe'\n }\n },\n selected: {},\n visuallyHidden: {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: 1,\n margin: -1,\n padding: 0,\n position: 'absolute',\n top: 20,\n width: 1\n },\n slidePaneOverlay: {\n backgroundColor: 'rgba(0, 0, 0, 0.1) !important',\n zIndex: 999\n },\n slidePanel: {\n boxShadow: 'none !important'\n },\n active: {\n backgroundColor: 'transparent',\n color: 'rgb(35, 147, 240)',\n textTransform: 'capitalize',\n cursor: 'pointer',\n fontSize: '1.1 rem'\n },\n expired: {\n backgroundColor: 'transparent',\n color: 'grey',\n textTransform: 'capitalize',\n cursor: 'pointer',\n fontSize: '1.1 rem'\n }\n}));\n\nconst GenericQrCodeInfoComponent = (props) => {\n const classes = useStyles();\n const {\n showCreteQr,\n setShowCreateQr,\n setSelectPaymentQr,\n selectPaymentQr,\n setQrCodeData,\n qrCodeData,\n order,\n orderBy,\n isPaneOpen,\n setIsPaneOpen,\n loading,\n previewQrDetails,\n count,\n setCount,\n rowsPerPage,\n page,\n handleChangePage,\n handleChangeRowsPerPage,\n setQrDetails,\n qrDetails,\n setSuccess,\n success,\n setShowMessage,\n showMessage,\n setStatusFilter,\n statusFilter,\n setSearchInput,\n clearBtn,\n searchInput,\n previewData,\n showQrCode,\n setShowQrCode,\n download,\n CloseSuccess,\n setCloseSuccess,\n setPreviewQrDetails,\n handleOnClick,\n setPage,\n onSearchQRCodes,\n filterQrCodes,\n handleCopyUrl,\n isCopyAlertOpen,\n setIsCopyAlertOpen\n } = props;\n const mediaLessThan600px = useMediaQuery('(max-width:640px)');\n\n return (\n
    \n \n \n
    \n \n \n QR Code\n \n \n {!mediaLessThan600px && (\n \n {\n setSelectPaymentQr(true);\n setShowCreateQr(true);\n }}\n className={style.createQrBtn}\n >\n + Create QR Code\n \n \n )}\n
    \n\n \n \n \n

    QR ID

    \n ['e', 'E', '+', '-'].includes(e.key) && e.preventDefault()}\n onChange={(e) => {\n setSearchInput(e.target.value);\n }}\n />\n
    \n
    \n \n \n

    QR Status

    \n {\n setStatusFilter(e.target.value);\n filterQrCodes(e);\n setPage(0);\n }}\n >\n All\n Active\n Closed\n Expired\n \n
    \n {mediaLessThan600px && (\n
    \n \n \n Search\n \n
    \n )}\n
    \n \n {!mediaLessThan600px && (\n
    \n \n \n Search\n \n
    \n )}\n
    \n
    \n
    \n \n \n {loading ? (\n
    \n \n
    \n ) : (\n <>\n \n \n \n {qrCodeData.length === 0 ? (\n \n \n \n No records found\n \n \n \n ) : (\n \n {stableSort(qrCodeData, getComparator(order, orderBy))?.map((row) => {\n return (\n \n \n {\n previewData(row);\n }}\n >\n {row.id}\n \n \n \n \n {row.qrName}\n \n \n \n \n {row.description}\n \n \n \n {formatDateTimeByFormatStringV2(\n row.created_at,\n 'DD MMM YYYY HH:mm'\n )}\n \n \n \n \n \n
    \n \n row.status === QrCodeStatus.ACTIVE &&\n download(row.qrImgLink, row.id)\n }\n >\n \n
    \n\n
    \n handleOnClick(row)}\n className={\n row.status === QrCodeStatus.ACTIVE\n ? classes.active\n : classes.expired\n }\n />\n
    \n
    \n \n row.status === QrCodeStatus.ACTIVE &&\n handleCopyUrl(row.link)\n }\n />\n
    \n \n {isCopyAlertOpen && (\n {\n setIsCopyAlertOpen(false);\n }}\n type={'success'}\n >\n Successfully copied url.\n \n )}\n
    \n
    \n );\n })}\n
    \n )}\n {count !== 0 && (\n \n \n \n \n \n )}\n
    \n
    \n {isPaneOpen && (\n {\n setIsPaneOpen(false);\n }}\n hideHeader={true}\n >\n \n \n )}\n {showQrCode && (\n \n )}\n \n )}\n
    \n
    \n\n \n {success && (\n setSuccess(false)} type=\"success\">\n {showMessage}\n \n )}\n
    \n \n \n {mediaLessThan600px && (\n \n {\n setSelectPaymentQr(true);\n setShowCreateQr(true);\n }}\n className={style.mobileQrSelctor}\n >\n + Create QR Code\n \n \n )}\n \n \n
    \n );\n};\n\nexport default GenericQrCodeInfoComponent;\n","import React, { useState, useEffect } from 'react';\nimport GenericQrCodeInfoComponent from './generic-qr-code-info.component';\nimport { DocumentsService } from 'services';\nimport { useGlobalStateContext } from 'contexts';\nimport Axios from 'axios';\nimport { QrFields } from 'utils/enums/QrCode';\n\nconst GenericQrCodeInfo = (props) => {\n const [qrCodeData, setQrCodeData] = useState([]);\n const [qrDetails, setQrDetails] = useState({ qrCodeExpiryDate: null });\n const { globalState } = useGlobalStateContext();\n const [showCreteQr, setShowCreateQr] = useState(false);\n const [selectPaymentQr, setSelectPaymentQr] = useState(false);\n const [loading, setLoading] = useState(false);\n const [order, setOrder] = useState('desc');\n const [orderBy, setOrderBy] = useState('created_at');\n const [isPaneOpen, setIsPaneOpen] = useState(false);\n const [previewQrDetails, setPreviewQrDetails] = useState({});\n const [count, setCount] = useState(0);\n const [page, setPage] = useState(0);\n const [rowsPerPage, setRowsPerPage] = useState(10);\n const [success, setSuccess] = useState(false);\n const [showMessage, setShowMessage] = useState('');\n const [statusFilter, setStatusFilter] = useState('all');\n const [searchInput, setSearchInput] = useState('');\n const [showQrCode, setShowQrCode] = useState(false);\n const [CloseSuccess, setCloseSuccess] = useState(false);\n const [isCopyAlertOpen, setIsCopyAlertOpen] = useState(false);\n\n const headCells = [\n { id: 'id', numeric: true, disablePadding: false, label: QrFields.qrID },\n { id: 'qrName', numeric: false, disablePadding: false, label: QrFields.qrName },\n { id: 'description', numeric: false, disablePadding: false, label: QrFields.qrDescription },\n { id: 'created_at', numeric: false, disablePadding: false, label: QrFields.createdAt },\n { id: 'status', numeric: false, disablePadding: false, label: QrFields.qrStatus, hideSortingIcon: true },\n { id: 'action', numeric: false, disablePadding: false, label: 'Action', hideSortingIcon: true }\n ];\n\n const fetchQrData = async (newPage, newRowsPerPage, serchValue, filterValue) => {\n setLoading(true);\n const thePage = newPage ?? page;\n const searchString = serchValue ?? searchInput;\n const theRowsPerPage = newRowsPerPage ?? rowsPerPage;\n const statusFilterValue = filterValue ? filterValue : statusFilter;\n const result = await DocumentsService.fetchQrCodes(globalState.merchant?.id, {\n searchValue: searchString,\n offset: thePage * theRowsPerPage,\n limit: theRowsPerPage,\n statusFilter: statusFilterValue === 'all' ? '' : statusFilterValue\n });\n if (result.isSuccesfully) {\n setQrCodeData([...result.data.qrCodeResponse]);\n setCount(result.data.count);\n }\n setLoading(false);\n };\n\n const handleRequestSort = (event, property) => {\n const isAsc = orderBy === property && order === 'asc';\n setOrder(isAsc ? 'desc' : 'asc');\n setOrderBy(property);\n };\n const previewData = (row) => {\n setPreviewQrDetails({\n ...row,\n amount: row.amount\n });\n setIsPaneOpen(true);\n };\n\n const handleChangePage = (event, newPage) => {\n setPage(newPage);\n fetchQrData(newPage, rowsPerPage);\n };\n\n const download = async (qrImgLink, id) => {\n try {\n const imgResponse = await Axios.get(qrImgLink, { responseType: 'blob' });\n const url = window.URL.createObjectURL(new Blob([imgResponse.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', `QRCode_${id}.png`);\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n } catch (e) {}\n };\n const handleChangeRowsPerPage = (event) => {\n setRowsPerPage(parseInt(event.target.value, 10));\n fetchQrData(0, parseInt(event.target.value, 10));\n setPage(0);\n };\n const clearBtn = () => {\n setSearchInput('');\n setStatusFilter('all');\n fetchQrData(0, null, 'no', 'all');\n };\n\n const handleOnClick = (row) => {\n return row.status === 'Active' && (setShowQrCode(true), previewData(row), setIsPaneOpen(false));\n };\n\n useEffect(() => {\n fetchQrData(0);\n // eslint-disable-next-line\n }, [globalState.merchant?.id]);\n\n useEffect(() => {\n const updatedIndex = qrCodeData.findIndex((qrCode) => qrCode.id === previewQrDetails.id);\n const existingQrCode = qrCodeData.filter((qrCode) => qrCode.id === previewQrDetails.id)[0];\n if (JSON.stringify(existingQrCode) !== JSON.stringify(previewQrDetails)) {\n const tempQrData = [...qrCodeData];\n tempQrData[updatedIndex] = previewQrDetails;\n setQrCodeData([...tempQrData]);\n }\n // eslint-disable-next-line\n }, [previewQrDetails]);\n\n const onSearchQRCodes = (e) => {\n setPage(0);\n fetchQrData(0);\n e.preventDefault();\n };\n\n const filterQrCodes = (e) => {\n setPage(0);\n fetchQrData(0, null, searchInput, e.target.value);\n e.preventDefault();\n };\n\n const handleCopyUrl = (row) => {\n navigator.clipboard.writeText(row);\n setIsCopyAlertOpen(true);\n };\n\n return (\n \n );\n};\n\nexport default GenericQrCodeInfo;\n","import React from 'react';\nimport style from './payment-qr-code-info.module.scss';\nimport { Typography, Container, Grid, Button, CircularProgress, useMediaQuery, Link } from '@material-ui/core';\nimport FileCopyIcon from '@material-ui/icons/FileCopy';\nimport { SnackBarAndAlert } from 'components';\nconst PaymentQrCodeInfoComponent = (props) => {\n const {\n isLoading,\n qrImgSource,\n imageContentRef,\n handlePrint,\n paymentUrl,\n handleCopyPaymentUrl,\n isCopyAlertOpen,\n setIsCopyAlertOpen\n } = props;\n const mediaLessThan600px = useMediaQuery('(max-width:599px)');\n return (\n \n
    \n \n
    \n
    \n \n QR Code\n \n
    \n {isLoading ? (\n
    \n \n
    \n ) : (\n
    \n \n \n \n \n \n \n \n \n {paymentUrl}\n \n \n \n \n \n \n \n\n \n
    \n \n  Print  \n \n
    \n
    \n \n
    \n )}\n
    \n
    \n {isCopyAlertOpen && (\n {\n setIsCopyAlertOpen(false);\n }}\n type={'success'}\n >\n Successfully copied payment url.\n \n )}\n
    \n
    \n );\n};\n\nexport default PaymentQrCodeInfoComponent;\n","import React, { useState, useEffect, useRef } from 'react';\nimport PaymentQrCodeInfoComponent from './payment-qr-code-info.component';\nimport { DocumentsService } from 'services';\nimport { useGlobalStateContext } from 'contexts';\nimport { useReactToPrint } from 'react-to-print';\n\nconst PaymentQrCodeInfo = () => {\n const [isLoading, setIsLoading] = useState(false);\n const [qrImgSource, setQrImgSource] = useState('');\n const [isCopyAlertOpen, setIsCopyAlertOpen] = useState(false);\n const { globalState } = useGlobalStateContext();\n const imageContentRef = useRef();\n const [paymentUrl, setPaymentUrl] = useState(false);\n\n useEffect(() => {\n const fetchQrData = async () => {\n setIsLoading(true);\n\n const response = await DocumentsService.getQrCode(globalState.merchant?.id);\n\n if (response.isSuccesfully) {\n setQrImgSource(response.data.qrCodeUrl);\n setPaymentUrl(response.data.paymentUrl);\n }\n setIsLoading(false);\n };\n fetchQrData();\n // eslint-disable-next-line\n }, [globalState.merchant?.id]);\n\n const handlePrint = useReactToPrint({\n content: () => imageContentRef.current,\n documentTitle: `qr_code`\n });\n\n const handleCopyPaymentUrl = () => {\n navigator.clipboard.writeText(paymentUrl);\n setIsCopyAlertOpen(true);\n };\n\n return (\n \n );\n};\n\nexport default PaymentQrCodeInfo;\n","import React from 'react';\nimport { Box, Grid, Table, TableBody, TableCell, TableContainer, TableRow, Button } from '@material-ui/core';\nimport { makeStyles } from '@material-ui/core/styles';\nimport styles from './qr-detailed-view.module.scss';\nimport { ModalPreviewQrCode, ModalReasonToClose } from 'components';\nimport { VisibilityOutlined } from '@material-ui/icons';\nimport GetAppSharpIcon from '@material-ui/icons/GetAppSharp';\nimport { getCurrencyThreeAlpha } from 'utils/getCurrencyByCountry';\nimport { useGlobalStateContext } from 'contexts';\nimport CloseIcon from '@material-ui/icons/Close';\nimport { formatCurrency, formatDateTimeByFormatStringV2 } from '../../utils/helper';\nimport { QrCodeStatus } from 'utils/enums/QrCode';\nimport TransactionStatusLabel from '../payments/transaction-tables/transaction-status-label/transaction-status-label.container';\n\nconst useStyles = makeStyles(() => ({\n active: {\n backgroundColor: 'transparent',\n color: 'rgb(35, 147, 240)',\n textTransform: 'capitalize',\n cursor: 'pointer'\n },\n expired: {\n backgroundColor: 'transparent',\n color: 'grey',\n textTransform: 'capitalize',\n cursor: 'pointer'\n }\n}));\n\nexport default function QrDetailedViewComponent(props) {\n const classes = useStyles();\n const {\n setShowQrCode,\n showQrCode,\n previewQrDetails,\n download,\n showConfirmationModal,\n setShowConfirmationModal,\n qrDetails,\n setQrDetails,\n closeSlider,\n CloseSuccess,\n setCloseSuccess,\n setPreviewQrDetails\n } = props;\n const { globalState } = useGlobalStateContext();\n\n return (\n \n \n
    \n \n \n \n \n \n \n \n \n {previewQrDetails.id}\n
    \n
    \n
    \n \n
    \n
    \n \n {/*
    \n
    \n Amount Received\n

    \n \n {formatCurrency(\n previewQrDetails.amount,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n \n
    \n
    \n Number of Payments\n

    \n 2\n
    \n
    */}\n
    \n \n \n {\n previewQrDetails.status === QrCodeStatus.ACTIVE && setShowQrCode(true);\n }}\n >\n Preview QR\n \n \n |\n\n \n \n previewQrDetails.status === QrCodeStatus.ACTIVE &&\n download(previewQrDetails.qrImgLink, previewQrDetails.id)\n }\n className={styles.downloadButton}\n >\n \n \n Download QR\n \n
    \n \n \n \n \n \n \n Created At\n \n \n {formatDateTimeByFormatStringV2(\n previewQrDetails.created_at,\n 'DD MMM YYYY HH:mm'\n )}\n \n \n \n \n Status\n \n \n {previewQrDetails.status === QrCodeStatus.ACTIVE && (\n {\n setShowConfirmationModal(true);\n }}\n >\n Close\n \n )}\n \n \n \n QR Name\n \n \n {previewQrDetails.qrName ? previewQrDetails.qrName : '--'}\n \n \n \n {previewQrDetails.amount > 0.0 && (\n \n Payment Amount\n \n \n {formatCurrency(\n previewQrDetails.amount / 100,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n \n \n \n )}\n \n Closed At\n \n \n {previewQrDetails.status === 'Closed'\n ? formatDateTimeByFormatStringV2(\n previewQrDetails.updated_at,\n 'DD MMM YYYY HH:mm'\n )\n : '--'}\n \n \n \n \n Description\n \n \n {previewQrDetails.description ? previewQrDetails.description : '--'}\n \n \n \n {previewQrDetails.typeOfQr === 'generic' && (\n \n Link\n \n \n {previewQrDetails.link ? previewQrDetails.link : '--'}\n \n \n \n )}\n {previewQrDetails.typeOfQr === 'generic' && (\n \n Type Of QR\n \n Generic\n \n \n )}\n {previewQrDetails.typeOfQr === 'payment' && (\n \n Type Of QR\n \n \n {previewQrDetails.amount > 0.0\n ? 'Payment (Fixed amount)'\n : 'Payment (Variable amount)'}\n \n \n \n )}\n \n Expired By\n \n \n {previewQrDetails.qrCodeExpiryDate\n ? formatDateTimeByFormatStringV2(\n previewQrDetails.qrCodeExpiryDate,\n 'DD MMM YYYY HH:mm'\n )\n : '--'}\n \n \n \n {previewQrDetails.reason && (\n \n Reason To Close\n \n {previewQrDetails.reason}\n \n \n )}\n \n
    \n
    \n
    \n {/*
    \n Recent Payments\n \n View All Payments\n \n
    */}\n
    \n \n\n {showConfirmationModal && (\n \n )}\n
    \n );\n}\n","import React, { useState } from 'react';\nimport QrDetailedViewComponent from './qr-detailed-view-component';\n\nconst QrDetailedView = (props) => {\n const {\n previewQrDetails,\n qrDetails,\n setQrDetails,\n setIsPaneOpen,\n showQrCode,\n setShowQrCode,\n download,\n CloseSuccess,\n setCloseSuccess,\n setPreviewQrDetails\n } = props;\n const [showConfirmationModal, setShowConfirmationModal] = useState(false);\n\n const closeSlider = () => {\n setIsPaneOpen(false);\n };\n\n return (\n \n );\n};\n\nexport default QrDetailedView;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Dialog, DialogActions, DialogContent, Button, CircularProgress, Box, Link, Grid } from '@material-ui/core';\nimport styles from './modal-preview-qr-code.module.scss';\nimport FileCopyIcon from '@material-ui/icons/FileCopy';\nimport { SnackBarAndAlert } from 'components';\nimport CloseIcon from '@material-ui/icons/Close';\n\nfunction ModalPreviewQrCodeComponent(props) {\n const {\n showQrCode,\n setShowQrCode,\n previewQrDetails,\n handlePrint,\n imageContentRef,\n imageRendered,\n imageLoadedFunction,\n handleCopyUrl,\n isCopyAlertOpen,\n setIsCopyAlertOpen\n } = props;\n\n return (\n setShowQrCode(false)}\n maxWidth=\"sm\"\n fullWidth\n style={{ justifyContent: 'center' }}\n >\n
    \n setShowQrCode(false)} />\n
    \n\n \n
    \n \n\n {!imageRendered ? (\n \n \n \n ) : null}\n
    \n \n \n {previewQrDetails.link}\n \n \n \n \n \n
    \n \n
    \n {\n handlePrint();\n }}\n >\n  Print  \n \n
    \n
    \n {isCopyAlertOpen && (\n {\n setIsCopyAlertOpen(false);\n }}\n type={'success'}\n >\n Successfully copied url.\n \n )}\n
    \n \n \n );\n}\n\nModalPreviewQrCodeComponent.propTypes = {\n showQrCode: PropTypes.bool,\n setShowQrCode: PropTypes.bool,\n handlePrint: PropTypes.func,\n qrCodeType: PropTypes.string,\n imageLoadedFunction: PropTypes.string,\n imageRendered: PropTypes.bool\n};\n\nexport default ModalPreviewQrCodeComponent;\n","import React, { useState, useRef } from 'react';\nimport PropTypes from 'prop-types';\nimport ModalPreviewQrCodeComponent from './modal-preview-qr-code.component';\nimport { useReactToPrint } from 'react-to-print';\nfunction ModalPreviewQrCode(props) {\n const { setShowQrCode, showQrCode, qrDescription, previewQrDetails } = props;\n const imageContentRef = useRef();\n const [imageRendered, setImageRendered] = useState(false);\n const [isCopyAlertOpen, setIsCopyAlertOpen] = useState(false);\n\n const imageLoadedFunction = () => {\n setImageRendered(true);\n };\n\n const imageReference = React.useCallback(() => {\n return new Promise((resolve) => {\n imageContentRef.current.width = '800';\n resolve();\n });\n }, []);\n\n const handleCopyUrl = () => {\n navigator.clipboard.writeText(previewQrDetails.link);\n setIsCopyAlertOpen(true);\n };\n\n const handlePrint = useReactToPrint({\n content: () => imageContentRef.current,\n documentTitle: `qr_code`,\n\n onBeforePrint: imageReference\n });\n\n return (\n \n );\n}\nModalPreviewQrCode.propTypes = {\n isLoading: PropTypes.bool,\n showQrCode: PropTypes.bool,\n setShowQrCode: PropTypes.bool,\n handlePrint: PropTypes.func\n};\nexport default ModalPreviewQrCode;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n Dialog,\n Button,\n Grid,\n DialogContent,\n DialogActions,\n DialogTitle,\n DialogContentText,\n TextareaAutosize,\n CircularProgress,\n Box\n} from '@material-ui/core';\nimport { FormItem } from 'components/onboarding/onboarding-ui-components';\nimport styles from './modal-reason-to-close.module.scss';\nimport { SnackBarAndAlert } from 'components';\n\nfunction ModalReasonToCloseComponent(props) {\n const {\n showConfirmationModal,\n setShowConfirmationModal,\n handleSubmit,\n isLoading,\n CloseSuccess,\n showMessage,\n setShowMessage,\n handleCancel,\n reason,\n setReason\n } = props;\n\n return (\n setShowConfirmationModal(false), handleCancel)}\n styles={{ justifyContent: 'center' }}\n >\n \n Close QR Code\n \n \n \n
    \n This QR code will be made inactive, your customers will no longer be able to pay via this QR\n code.\n
    \n \n \n Reason to close this QR code\n {\n let value = event.target.value.replace(/(\\s{2,})|[^a-zA-Z0-9.,;?]/g, ' ');\n setReason(value);\n }}\n />\n \n \n
    \n {isLoading ? (\n \n \n \n ) : (\n \n
    \n \n \n Yes\n \n
    \n
    \n )}\n {CloseSuccess && (\n setShowMessage('')} type={'success'}>\n {showMessage}\n \n )}\n
    \n \n );\n}\n\nModalReasonToCloseComponent.propTypes = {\n setShowQrCode: PropTypes.bool\n};\n\nexport default ModalReasonToCloseComponent;\n","import React, { useState } from 'react';\nimport { useGlobalStateContext } from 'contexts';\nimport ModalReasonToCloseComponent from './modal-reason-to-close.component';\nimport { DocumentsService } from 'services';\n\nfunction ModalReasonToClose(props) {\n const {\n setShowConfirmationModal,\n showConfirmationModal,\n id,\n CloseSuccess,\n setCloseSuccess,\n setPreviewQrDetails\n } = props;\n const { globalState } = useGlobalStateContext();\n const [showMessage, setShowMessage] = useState('');\n const [isLoading, setIsLoading] = useState(false);\n const [reason, setReason] = useState('');\n\n const handleSubmit = async (event) => {\n setIsLoading(true);\n event.preventDefault();\n const response = await DocumentsService.closeQrCode(globalState.merchant?.id, id, reason.trim());\n if (response.isSuccesfully) {\n setPreviewQrDetails(response.data.qrCode);\n setCloseSuccess(true);\n setShowMessage('Successfully closed QR code');\n setShowConfirmationModal(false);\n setReason('');\n } else {\n setShowMessage(response?.data?.data?.errorMessage);\n }\n };\n const handleCancel = async (event) => {\n setShowConfirmationModal(false);\n setReason('');\n };\n return (\n \n );\n}\nModalReasonToClose.propTypes = {};\nexport default ModalReasonToClose;\n","import React from 'react';\nimport 'jspdf-autotable';\nimport { Button } from '@material-ui/core';\nimport GetAppIcon from '@material-ui/icons/GetApp';\nimport { useGlobalStateContext } from 'contexts';\nimport { ResellerType } from 'utils/enums/ResellerType';\nimport Papa from 'papaparse';\nimport { pdfFileTemplate } from 'utils/helper.js';\n\nconst MerchantChargeExport = ({\n merchant,\n logo,\n pdfTitle,\n address,\n csvData,\n companyAddress,\n paidImage,\n isPaid,\n transactionId,\n columnStyles\n}) => {\n const { globalState } = useGlobalStateContext();\n const merchantLegalName = globalState?.merchant?.legalName;\n const isDatman = globalState.reseller?.name === ResellerType.DATMAN;\n if (typeof csvData === 'object') {\n csvData = Papa.unparse(csvData);\n }\n\n const exportPDF = async () => {\n pdfFileTemplate(\n merchant,\n logo,\n pdfTitle,\n address,\n csvData,\n companyAddress,\n paidImage,\n isDatman,\n isPaid,\n transactionId,\n columnStyles,\n merchantLegalName\n );\n };\n return (\n
    \n }\n onClick={() => {\n exportPDF();\n }}\n >\n PDF\n \n
    \n );\n};\n\nexport default MerchantChargeExport;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Dialog, Checkbox, makeStyles, ListItemText, ListItem } from '@material-ui/core';\nimport styles from './modal-filter-pdq-merchants.module.scss';\n\nconst useStyles = makeStyles({\n dialogstatus: {\n left: '30%',\n top: '2%',\n '@media (max-width: 400px)': {\n left: '10%',\n top: '15%'\n }\n },\n dailogAgent: {\n left: '30%',\n top: '-5%',\n '@media (max-width: 400px)': {\n left: '10%',\n top: '15%'\n }\n }\n});\n\nfunction ModalFilterPdqMerchantsComponent(props) {\n const {\n statusFilter,\n agentFilter,\n setStatusFilter,\n setAgentFilter,\n handleItemChange,\n isPdqStatusChecked,\n toggleAgentCheck,\n filteredAgentEmails\n } = props;\n\n const classes = useStyles();\n return (\n {\n setStatusFilter('');\n setAgentFilter('');\n }}\n aria-labelledby=\"customized-dialog-title\"\n classes={{\n paper: statusFilter ? classes.dialogstatus : classes.dailogAgent\n }}\n BackdropProps={{ style: { backgroundColor: 'transparent' } }}\n >\n {statusFilter === true && (\n \n {isPdqStatusChecked.map((status) => (\n \n handleItemChange(status.id)}\n color=\"primary\"\n />\n \n \n ))}\n \n )}\n {agentFilter === true && (\n \n
    \n {filteredAgentEmails.map((agent) => {\n return (\n \n toggleAgentCheck(agent.id)}\n color=\"primary\"\n />\n \n \n );\n })}\n
    \n
    \n )}\n \n );\n}\n\nModalFilterPdqMerchantsComponent.propTypes = {\n show: PropTypes.bool,\n setShow: PropTypes.func,\n onSubmit: PropTypes.func,\n children: PropTypes.string\n};\n\nexport default ModalFilterPdqMerchantsComponent;\n","import React from 'react';\nimport ModalFilterPdqMerchantsComponent from './modal-filter-pdq-merchants.component';\n\nfunction ModalFilterPdqMerchants(props) {\n return ;\n}\n\nexport default ModalFilterPdqMerchants;\n","export const KeyToName = {\n fullName: { label: 'Name', type: 'text', required: true },\n merchantId: { label: 'Merchant ID', type: 'text', disable: true, required: true },\n birthDate: { label: 'Date Of Birth', type: 'text', required: true },\n homeAddress: { label: 'Address', type: 'text', required: true },\n ownership: { label: 'Percentage of Company Owners', type: 'float', required: true },\n contactPhone: { label: 'Mobile Phone', type: 'tel', required: true },\n email: { label: 'Email', type: 'email', required: true },\n addressLine1: { label: 'Address Line 1', type: 'text', length: 150, required: true },\n addressLine2: { label: 'Address Line 2', type: 'text', length: 150 },\n city: { label: 'City', type: 'text', length: 150, required: true },\n postCode: { label: 'Post Code', type: 'text', length: 15, required: true },\n businessPrinciple: {\n label: 'How many principles does the business have',\n type: 'number',\n length: 2,\n required: false\n },\n businessDescription: { label: 'Business Description', type: 'text', disable: true, required: true },\n mcc: { label: 'MCC Code', type: 'text', disable: true, required: true },\n b2b: { label: 'Business to Business (B2B)', type: 'number', length: 2, required: false },\n b2c: { label: 'Business to Consumer', type: 'number', length: 2, required: false },\n outlets: {\n label: 'Outlets - How many Locations does the Business trade from',\n type: 'number',\n length: 2,\n required: false\n },\n cardTurnover: { label: 'Expected Annual Card Turnover (£)', type: 'float', required: true },\n additionalOutlets: { label: 'Additional Outlets', type: 'number', length: 2, required: false },\n merchantCreatedAt: { label: 'Added Time', type: 'text', disable: true, required: true },\n thirdPartyCustomer: { label: 'Store ID', type: 'number', length: 10, required: false },\n registeredNumber: { label: 'Registered Company or Charity Number', type: 'text', length: 12, required: false },\n\n nameOfBank: { label: 'Bank Name', type: 'text', length: 250, required: false },\n accountHolderName: { label: 'Name of the account holder', type: 'text', length: 250, required: false },\n newAccountNumber: { label: 'Account Number', type: 'number', length: 8, required: false },\n sortCode: { label: 'Sort Code', type: 'number', length: 6, required: false },\n avgTransaction: { label: 'Average Transaction Value (£)', type: 'float', required: false },\n monthlyTurnOver: { label: 'Projected Monthly Turnover', type: 'float', required: false },\n annualTurnOver: { label: 'Projected Annual Turnover', type: 'float', required: false },\n monthlyCount: { label: 'Projected Monthly Transaction Count', type: 'number', required: false, length: 7 },\n annualCount: { label: 'Projected Annual Transaction Count', type: 'number', required: false, length: 7 }\n};\n","import React from 'react';\nimport styles from './dna-form-modal.module.scss';\nimport {\n Dialog,\n DialogTitle,\n DialogContent,\n DialogActions,\n Button,\n makeStyles,\n Table,\n TableCell,\n useMediaQuery,\n Paper,\n TableBody,\n TableRow,\n TextField,\n Grid,\n OutlinedInput\n} from '@material-ui/core';\nimport BorderColorIcon from '@mui/icons-material/BorderColor';\nimport NumberFormat from 'react-number-format';\nimport { ValidEmailInput } from 'components';\nimport PhoneInput from 'react-phone-input-2';\nimport { KeyToName } from 'utils/enums/PDQTableEnum';\nimport { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs';\nimport { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider';\nimport { MobileDatePicker } from '@mui/x-date-pickers/MobileDatePicker';\nimport moment from 'moment';\nimport { formatDateTimeByFormatString } from 'utils/helper';\n\nconst useStyles = makeStyles(() => ({\n visuallyHidden: {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: 1,\n margin: -1,\n padding: 0,\n position: 'absolute',\n top: 20,\n width: 1\n },\n tableCellSmallSize: {\n '& td': {\n minWidth: '230px',\n maxWidth: '230px',\n height: '50px'\n }\n },\n\n firstCell: {\n backgroundColor: '#fafafa',\n minWidth: '300px !important',\n maxWidth: '300px !important',\n overflow: 'auto'\n },\n notDisableCell: {\n backgroundColor: 'transparent',\n minWidth: '300px !important',\n maxWidth: '300px !important'\n },\n textField: {\n '& .MuiInputBase-root.Mui-disabled': {\n border: 'none',\n backgroundColor: 'transparent',\n boxShadow: 'none'\n }\n },\n disabled: {\n backgroundColor: 'gainsbro !important'\n }\n}));\nfunction DnaFormModalComp(props) {\n const classes = useStyles();\n const {\n open,\n setOpen,\n isEdit,\n setIsEdit,\n onConfirm,\n businessTypeId,\n newData,\n handleChange,\n pdqFee,\n changeFee,\n handleIncrement,\n handleDecrement,\n isLoading,\n maxAmount,\n isMaxPercentage,\n isMaxDevice,\n disable,\n pdqPrice,\n isAdmin\n } = props;\n\n const fullScreen = useMediaQuery('(max-width:600px)');\n\n // function pricingMatrixComp(tag, feeKey, feeValue, authKey, authValue) {\n // return (\n // <>\n //

    {tag}

    \n // \n // \n // %Fee\n // \n // \n // changeFee(feeKey, e.target.value)}\n // required\n // className={`${styles.Input} ${!isEdit ? styles.inputDisable : ''}`}\n // />\n // \n // \n // {feeValue < 0.4 && (\n //
    \n // \n // \n // Fee cannot be lower than 0.4\n // \n //
    \n // )}\n // \n // \n // £ Authorisation fee\n // \n // \n // changeFee(authKey, e.target.value)}\n // required\n // className={`${styles.Input} ${!isEdit ? styles.inputDisable : ''}`}\n // />\n // \n // \n // {authValue < 0.01 && (\n //
    \n // \n // \n // Auth fee cannot be lower than 0.01\n // \n //
    \n // )}\n // \n // );\n // }\n return (\n \n \n \n DNA onboarding form\n setIsEdit(!isEdit)} />\n \n \n \n {\n \n \n \n {Object.entries(newData).map(([key, value]) => {\n return (\n \n \n {KeyToName[key]?.label}\n {(key === 'registeredNumber' && businessTypeId === 1) ||\n (isAdmin &&\n (key === 'nameOfBank' ||\n key === 'newAccountNumber' ||\n key === 'sortCode' ||\n key === 'accountHolderName')) ? (\n *\n ) : (\n KeyToName[key]?.required && (\n *\n )\n )}\n \n \n {isEdit ? (\n key === 'email' ? (\n
    \n {\n handleChange(key, e.target.value);\n }}\n />\n
    \n ) : key === 'contactPhone' ? (\n {\n handleChange(key, value);\n }}\n />\n ) : key === 'birthDate' ? (\n \n {\n if (newValue)\n handleChange(\n key,\n moment(newValue['$d']).format(\n 'D MMM YYYY'\n )\n );\n }}\n maxDate={new Date()}\n renderInput={(params) => (\n \n )}\n />\n \n ) : KeyToName[key]?.type === 'text' ? (\n {\n handleChange(key, e.target.value);\n }}\n disabled={KeyToName[key]?.disable}\n type={KeyToName[key]?.type}\n variant=\"outlined\"\n size=\"small\"\n >\n ) : KeyToName[key]?.type === 'number' ? (\n handleChange(key, e.target.value)}\n required\n className={styles.inputNumber}\n />\n ) : (\n KeyToName[key]?.type === 'float' && (\n {\n handleChange(key, e.value);\n }}\n isAllowed={\n key === 'ownership'\n ? isMaxPercentage\n : maxAmount\n }\n labelWidth={0}\n required\n className={styles.inputNumber}\n />\n )\n )\n ) : KeyToName[key]?.type === 'date' ? (\n \n {formatDateTimeByFormatString(value, 'DD MMM HH:mm')}\n \n ) : (\n \n {key === 'contactPhone' ? '+' : ''}\n {value}\n \n )}\n \n
    \n );\n })}\n {/* \n PDQ-Pricing Matrix\n \n
    \n {pricingMatrixComp(\n 'Visa Debit Card',\n 'visaDebitFee',\n pdqFee.visaDebitFee,\n 'visaDebitAuth',\n pdqFee.visaDebitAuth\n )}\n
    \n
    \n {pricingMatrixComp(\n 'Master Debit Card',\n 'masterDebitFee',\n pdqFee.masterDebitFee,\n 'masterDebitAuth',\n pdqFee.masterDebitAuth\n )}\n
    \n
    \n {pricingMatrixComp(\n 'Visa Credit Card',\n 'visaCreditFee',\n pdqFee.visaCreditFee,\n 'visaCreditAuth',\n pdqFee.visaCreditAuth\n )}\n
    \n
    \n {pricingMatrixComp(\n 'Master Credit Card',\n 'masterCreditFee',\n pdqFee.masterCreditFee,\n 'masterCreditAuth',\n pdqFee.masterCreditAuth\n )}\n
    \n
    \n
    */}\n \n PDQ's Required\n \n
    \n

    PAX A920

    \n \n \n Quantity\n *\n \n \n {isEdit && (\n \n -\n \n )}\n\n changeFee('pdqQty', e.target.value)}\n required\n className={`${styles.Input} ${\n !isEdit ? styles.inputDisable : ''\n }`}\n />\n {isEdit && (\n = 10}\n >\n +\n \n )}\n \n \n \n \n Price per PDQ\n \n \n changeFee('pdqPrice', e.target.value)}\n required\n className={`${styles.Input} ${\n !isEdit ? styles.inputDisable : ''\n }`}\n />\n \n \n
    \n
    \n
    \n
    \n \n
    \n }\n
    \n
    \n \n setOpen(false)}\n color=\"primary\"\n variant=\"outlined\"\n >\n Cancel\n \n onConfirm()}\n color=\"primary\"\n variant=\"contained\"\n disabled={isLoading || disable}\n className={styles.sendBtn}\n >\n {isLoading ? 'Please Wait...' : 'Send'}\n \n \n \n
    \n );\n}\nexport default DnaFormModalComp;\n","import React, { useState, useEffect } from 'react';\nimport DnaFormModalComp from './dna-form-modal.component';\nimport { InputValidators } from 'validators';\nfunction DnaFormModal(props) {\n const [isEdit, setIsEdit] = useState(false);\n const [disable, setDisable] = useState(false);\n const { data, setData, pdqFee, setPdqFee, onboardedMerchant, businessTypeId, isAdmin } = props;\n useEffect(() => {\n let checkValues;\n const bankDetails = isAdmin\n ? data.newAccountNumber?.length === 8 &&\n data.nameOfBank &&\n data.sortCode?.length === 6 &&\n data.accountHolderName\n : true;\n onboardedMerchant\n ? (checkValues =\n data.fullName &&\n InputValidators.isEmailValid(data.email) &&\n data.postCode &&\n data.city &&\n InputValidators.validateInternationPhoneNumber('+' + data.contactPhone) &&\n data.addressLine1 &&\n pdqFee.pdqQty > 0)\n : (checkValues =\n data.fullName &&\n InputValidators.isEmailValid(data.email) &&\n data.postCode &&\n data.city &&\n InputValidators.validateInternationPhoneNumber('+' + data.contactPhone) &&\n data.addressLine1 &&\n data.ownership &&\n data.ownership > 0 &&\n bankDetails &&\n pdqFee.pdqQty > 0 &&\n (businessTypeId === 1 ? data.registeredNumber : true));\n\n setDisable(!checkValues);\n //eslint-disable-next-line\n }, [data, pdqFee.pdqQty]);\n const handleChange = (field, value) => {\n const tempData = data;\n if (field === 'registeredNumber') {\n const regNumberCheckRegex = new RegExp('^[a-zA-Z0-9&]*$');\n\n if (value.match(regNumberCheckRegex) || value === '') {\n setData({ ...tempData, [field]: value });\n } else {\n setData({ ...tempData, [field]: data.registeredNumber });\n }\n } else {\n setData({ ...tempData, [field]: value });\n }\n };\n\n function changeFee(field, value) {\n const tempData = pdqFee;\n setPdqFee({ ...tempData, [field]: value });\n }\n const handleIncrement = () => {\n setPdqFee({ ...pdqFee, pdqQty: Number(pdqFee.pdqQty) + 1 });\n };\n\n const handleDecrement = () => {\n setPdqFee({ ...pdqFee, pdqQty: Number(pdqFee.pdqQty) - 1 });\n };\n const maxAmount = (values) => {\n const { value, floatValue } = values;\n const MAX_AMT = 9999999.99;\n\n if (typeof floatValue === 'undefined' || typeof value === 'undefined') {\n return true;\n }\n if (value.charAt(0) === '0') {\n if (value.charAt(1) && value.charAt(1) !== '.') {\n return false;\n }\n }\n if (value > MAX_AMT) {\n return false;\n }\n return true;\n };\n const pdqPrice = (values) => {\n const { value, floatValue } = values;\n const MAX_AMT = 9999.99;\n\n if (typeof floatValue === 'undefined' || typeof value === 'undefined') {\n return true;\n }\n if (value.charAt(0) === '0') {\n if (value.charAt(1) && value.charAt(1) !== '.') {\n return false;\n }\n }\n if (value > MAX_AMT) {\n return false;\n }\n return true;\n };\n const isMaxPercentage = (values) => {\n const { value, floatValue } = values;\n const MAX_AMT = 100.0;\n\n if (typeof floatValue === 'undefined' || typeof value === 'undefined') {\n return true;\n }\n if (value.charAt(0) === '0') {\n if (value.charAt(1) && value.charAt(1) !== '.') {\n return false;\n }\n }\n if (value > MAX_AMT) {\n return false;\n }\n return true;\n };\n const isMaxDevice = (values) => {\n const { value, floatValue } = values;\n const MAX_AMT = 10;\n if (typeof floatValue === 'undefined' || typeof value === 'undefined') {\n return true;\n }\n if (value.charAt(0) === '0') {\n if (value.charAt(1) && value.charAt(1) !== '.') {\n return false;\n }\n }\n if (value > MAX_AMT) {\n return false;\n }\n return true;\n };\n return (\n \n );\n}\nexport default DnaFormModal;\n","import React from 'react';\nimport style from './admin-dashboard-menu.module.scss';\nimport { List, ListItem, Typography } from '@material-ui/core';\nimport {\n Dashboard,\n Assignment,\n Payment,\n MailOutline,\n ExitToApp,\n AccountBalance,\n KeyboardReturn,\n CardTravel,\n ListAlt,\n AddAlert,\n WorkOff\n} from '@material-ui/icons';\n\nfunction AdminHomeMenuComponent() {\n return (\n
    \n \n \n
    \n \n \n Dashboard\n \n
    \n
    {' '}\n \n
    \n \n \n To do\n \n
    \n
    \n \n
    \n LISTS\n
    \n
    \n \n
    \n \n \n Bank error list\n \n
    \n
    \n \n
    \n \n \n Payment list\n \n
    \n
    \n \n
    \n \n \n Account verified list\n \n
    \n
    \n \n
    \n \n \n Bank verified list\n \n
    \n
    \n \n
    \n \n \n Balance list\n \n
    \n
    \n \n
    \n \n \n Dormant account list\n \n
    \n
    \n \n
    \n \n \n Refunds list\n \n
    \n
    \n \n
    \n COMMUNICATION\n
    \n
    \n \n
    \n \n \n Add announcements\n \n
    \n
    \n \n
    \n \n \n Send email\n \n
    \n
    \n \n
    \n \n \n Logout\n \n
    \n
    \n
    \n
    \n );\n}\n\nAdminHomeMenuComponent.propTypes = {};\n\nexport default AdminHomeMenuComponent;\n","import React from 'react';\nimport AdminHomeMenuComponent from './admin-dashboard-menu.component';\n\nfunction AdminHomeMenu() {\n return ;\n}\n\nAdminHomeMenu.propTypes = {};\n\nexport default AdminHomeMenu;\n","import React from 'react';\nimport {\n Paper,\n Accordion,\n AccordionSummary,\n AccordionDetails,\n Typography,\n List,\n ListItem,\n Badge,\n withStyles\n} from '@material-ui/core';\nimport style from './admin-dashboard-home.module.scss';\nimport { ChevronRight, ExpandMore, CheckCircleSharp, CloseSharp } from '@material-ui/icons';\n\nconst StyledBadge = withStyles((theme) => ({\n badge: {\n right: 9,\n top: -1,\n border: `2px solid ${theme.palette.background.paper}`,\n padding: '0 4px'\n }\n}))(Badge);\n\nfunction AdminDashboardHomeComponent() {\n const [expanded, setExpanded] = React.useState('panel1');\n\n const handleChange = (panel) => (event, isExpanded) => {\n setExpanded(isExpanded ? panel : false);\n };\n\n return (\n \n \n \n \n \n
    \n {expanded === 'panel' ? : }\n \n \n System Notification downtime alert\n \n \n
    \n
    \n \n \n nan..(n.n)\n \n \n \n
    \n \n
    \n
    \n\n \n
    \n \n\n \n \n customers awaiting reviews{' '}\n \n \n
    \n
    \n \n
    \n
    \n \n
    \n \n\n \n \n account verification pending\n \n \n
    \n
    console.log('close this shit.')}>\n \n
    \n
    \n
    \n
    \n );\n}\n\nAdminDashboardHomeComponent.propTypes = {};\n\nexport default AdminDashboardHomeComponent;\n","import React from 'react';\nimport AdminDashboardHomeComponent from './admin-dashboard-home.component';\n\nexport default function AdminDashboardHome() {\n return ;\n}\n","import React from 'react';\nimport style from './admin-dashboard-navigation-header.module.scss';\n\nfunction AdminDashBoardNavigationHeaderComponent(props) {\n const { header_title } = props;\n return (\n
    \n
    \n {props.children}\n
    {header_title}
    \n
    \n
    \n );\n}\n\nAdminDashBoardNavigationHeaderComponent.propTypes = {};\n\nexport default AdminDashBoardNavigationHeaderComponent;\n","import React from 'react';\nimport AdminDashBoardNavigationHeaderComponent from './admin-dashboard-navigation-header.component';\n\nfunction AdminDashBoardNavigationHeader(props) {\n return ;\n}\n\nAdminDashBoardNavigationHeader.propTypes = {};\n\nexport default AdminDashBoardNavigationHeader;\n","import React from 'react';\n\nimport {\n Paper,\n Typography,\n makeStyles,\n withStyles,\n Table,\n TableBody,\n TableContainer,\n TableHead,\n TableRow\n} from '@material-ui/core';\nimport {\n ChevronRight,\n ChevronLeft,\n KeyboardArrowDown,\n Search,\n PictureAsPdfSharp,\n AssessmentSharp\n} from '@material-ui/icons';\n\nimport MuiTableCell from '@material-ui/core/TableCell';\nimport style from './admin-dashboard-info.module.scss';\n\nconst TableCell = withStyles({\n root: {\n borderBottom: 'none'\n }\n})(MuiTableCell);\nconst useStyles = makeStyles({\n table: {\n minWidth: 650\n }\n});\n\nfunction AdminDashboardInfoComponent({ rows }) {\n const classes = useStyles();\n return (\n <>\n \n
    \n \n Week Commencing\n \n 27 Aug 2020\n \n \n \n \n \n \n
    \n\n \n \n \n Customer\n Price\n Fees\n NET\n Time\n Refund\n IP address\n Date\n \n \n \n {rows.map((row) => (\n \n \n {row.customer}\n \n {row.price}\n {row.fee}\n {row.net}\n {row.time}\n {row.refund}\n {row.ipAddr}\n {row.date}\n \n ))}\n \n
    \n
    \n
    \n Download PDF\n
    \n
    \n Download CSV\n
    \n
    \n
    \n \n );\n}\n\nAdminDashboardInfoComponent.propTypes = {};\n\nexport default AdminDashboardInfoComponent;\n","import React from 'react';\nimport AdminDashboardInfoComponent from './admin-dashboard-info.component';\n\nexport default function AdminDashboardInfo() {\n function createData(customer, price, fee, net, time, refund, ipAddr, date) {\n return { customer, price, fee, net, time, refund, ipAddr, date };\n }\n\n const rows = [\n createData('Tikaram Mardi', 159, 16.0, 2.4, 4.0, 3, '192.279.3.24', '12 Aug'),\n createData('Test Account', 19, 63.0, 24, 4.0, 32, '192.279.3.34', '12 Aug'),\n createData('New Customer', 150, 6.0, 24, 4.1, 3, '192.279.3.4', '12 Aug')\n ];\n return ;\n}\n","import React from 'react';\nimport {\n Notes,\n Group,\n BusinessCenter,\n AccountBalance,\n AccountBalanceWallet,\n Phone,\n AssignmentIndSharp\n} from '@material-ui/icons';\nimport { Typography, makeStyles, Paper, withStyles, Badge } from '@material-ui/core';\nimport style from './admin-dashboard-topbar.module.scss';\nimport Avatar from 'react-avatar';\nimport { useGlobalStateContext } from 'contexts';\n\nconst StyledBadge = withStyles((theme) => ({\n badge: {\n right: -20,\n top: -1,\n border: `2px solid ${theme.palette.background.paper}`,\n padding: '0 4px'\n }\n}))(Badge);\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n display: 'flex',\n flexWrap: 'wrap',\n\n '& > *': {\n margin: theme.spacing(0.5),\n width: theme.spacing(29.8),\n height: theme.spacing(6)\n }\n }\n}));\nexport default function AdminDashbordTopBarComponent() {\n const { setRoute } = useGlobalStateContext();\n\n const classes = useStyles();\n return (\n
    \n \n
    \n \n Hi Jane\n
    \n
    \n \n
    \n Awating Review\n \n
    \n
    \n setRoute('/pending-customers')}>\n
    \n Pending Customers\n \n
    \n
    \n \n
    \n Account Verify\n \n \n
    \n
    \n \n
    \n Setup Fee\n \n
    \n
    \n \n
    \n Bank Verify\n \n
    \n
    \n\n \n
    \n Phone\n \n
    \n
    \n \n
    \n Payment Not Received\n \n
    \n
    \n \n
    \n Outstanding Chargebacks\n
    \n
    \n \n
    \n Agents Todo\n \n \n
    \n
    \n
    \n );\n}\n","import React from 'react';\nimport AdminDashboardTopBarComponent from './admin-dashboard-topbar.component';\n\nexport default function AdminDashbordTopBar(props) {\n return ;\n}\n","import React from 'react';\nimport Table from '@material-ui/core/Table';\nimport TableBody from '@material-ui/core/TableBody';\nimport TableCell from '@material-ui/core/TableCell';\nimport { Grid, Button, Box, CircularProgress } from '@material-ui/core';\nimport { FormItem, Label } from '../../../onboarding/onboarding-ui-components';\nimport TableContainer from '@material-ui/core/TableContainer';\nimport TableHead from '@material-ui/core/TableHead';\nimport TableRow from '@material-ui/core/TableRow';\nimport TablePagination from '@material-ui/core/TablePagination';\nimport TableFooter from '@material-ui/core/TableFooter';\nimport Paper from '@material-ui/core/Paper';\nimport styles from './trigger-reset-password.module.scss';\nimport { Spinner } from 'react-bootstrap';\nimport { SnackBarAndAlert } from 'components';\nimport { useGlobalStateContext } from 'contexts';\nimport { UserType } from 'utils/enums/UserType';\n\nconst AdminTriggerResetPasswordComponent = (props) => {\n const { globalState } = useGlobalStateContext();\n const {\n rows,\n loading,\n isErrorInTeamFetch,\n message,\n setMessage,\n merchantName,\n loggedInUserEmail,\n emailUndergoingReset,\n isSuccess,\n sendResetPasswordLink,\n count,\n rowsPerPage,\n page,\n handleChangeRowsPerPage,\n handleChangePage\n } = props;\n const isReseller = globalState.user?.UserType?.name === UserType.Reseller;\n\n return (\n \n \n \n \n \n \n \n \n \n \n {loading ? (\n \n \n \n ) : isErrorInTeamFetch ? (\n
    {`Error fetching team members for merchant: ${merchantName}`}
    \n ) : (\n \n {message && (\n setMessage('')}\n type={isSuccess ? 'success' : 'error'}\n >\n {message}\n \n )}\n \n \n \n \n \n Name\n Email\n Action\n \n \n \n {rows.map((row) => (\n \n \n {[row.firstName, row.lastName].join(' ')}\n \n \n {' '}\n {row.email}\n \n \n \n {emailUndergoingReset === row.email ? (\n
    \n \n
    \n ) : (\n \n sendResetPasswordLink(\n row.email,\n globalState.reseller?.portalURL\n )\n }\n >\n Send reset link\n \n )}\n
    \n
    \n
    \n ))}\n
    \n \n \n \n \n \n
    \n
    \n
    \n
    \n )}\n
    \n );\n};\n\nexport default AdminTriggerResetPasswordComponent;\n","import React, { useState, useEffect } from 'react';\nimport AdminTriggerResetPasswordComponent from './trigger-reset-password.component';\nimport { AdminService, TeamService } from 'services';\nimport { useGlobalStateContext } from 'contexts';\n\nconst AdminTriggerResetPassword = () => {\n const { globalState } = useGlobalStateContext();\n const [loading, setLoading] = useState(true);\n const [emailUndergoingReset, setEmailUndergoingReset] = useState('');\n const [teamMembers, setTeamMembers] = useState([]);\n const [teamMembersOne, setTeamMembersOne] = useState([]);\n\n const [isErrorInTeamFetch, setIsErrorInTeamFetch] = useState('');\n const [message, setMessage] = useState('');\n const [isSuccess, setIsSuccess] = useState(false);\n const [page, setPage] = useState(0);\n const [rowsPerPage, setRowsPerPage] = useState(5);\n const [count, setCount] = useState(0);\n\n const sendResetPasswordLink = async (email, portalURL) => {\n setEmailUndergoingReset(email);\n let result = await AdminService.sendResetPasswordLink(email, portalURL);\n\n setEmailUndergoingReset('');\n\n if (result.isSuccesfully) {\n setMessage(`Successfully sent the password reset email to ${email}`);\n setIsSuccess(true);\n } else {\n let errorMessage = result.data.error;\n setMessage(\n `Failed to send the password reset email to ${email}. ${errorMessage ? `Error: ${errorMessage}` : ''}`\n );\n setIsSuccess(false);\n }\n };\n\n const getTeamMembers = async () => {\n setIsErrorInTeamFetch(false);\n const response = await TeamService.getTeamMembers(globalState.merchant?.id);\n if (response.isSuccesfully) {\n const team = response.data;\n team.teamMembers = team.teamMembers.map((member) => {\n member.Relationships = member.Relationships.find((r) => r.merchantId === globalState.merchant?.id);\n return member;\n });\n setTeamMembers(team.teamMembers);\n setTeamMembersOne(team.teamMembers.slice(0, rowsPerPage));\n setLoading(false);\n setCount(response.data.teamMembers.length);\n } else {\n setIsErrorInTeamFetch(true);\n setCount(0);\n }\n };\n\n useEffect(() => {\n getTeamMembers();\n // eslint-disable-next-line\n }, [globalState.merchant?.id]);\n\n const handleChangePage = (event, newPage) => {\n setPage(newPage);\n setTeamMembersOne(teamMembers.slice(newPage * rowsPerPage, newPage * rowsPerPage + rowsPerPage));\n };\n const handleChangeRowsPerPage = (event) => {\n setRowsPerPage(parseInt(event.target.value, 10));\n setTeamMembersOne(teamMembers.slice(0, parseInt(event.target.value, 10)));\n setPage(0);\n };\n return (\n \n );\n};\n\nexport default AdminTriggerResetPassword;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Grid, Button } from '@material-ui/core';\nimport { Label, Input } from '../../../onboarding/onboarding-ui-components';\nimport { SnackBarAndAlert } from 'components';\nimport { LoadingScreen } from 'components';\nimport styles from './merchant-stripe-id.module.scss';\nimport FileCopyIcon from '@material-ui/icons/FileCopy';\n\nexport default function MerchantStripeIdComponent(props) {\n const {\n merchantStripeId,\n handleCopyMerchantStripeId,\n closeCopyAlert,\n isCopyAlertOpen,\n createStripeId,\n updateStripeId,\n setMerchantStripeId,\n loading,\n successMessage,\n errorMessage,\n existingStripeId,\n showMessage,\n handleCloseMessage\n } = props;\n\n const createButtonDisableCondition = existingStripeId ? !!existingStripeId : !!merchantStripeId;\n const updateButtonDisableCondition = existingStripeId ? merchantStripeId === existingStripeId : !merchantStripeId;\n\n return (\n \n \n \n \n \n \n\n \n \n \n setMerchantStripeId(event.target.value)}\n />\n \n \n \n \n \n\n \n createStripeId()}\n >\n create\n \n updateStripeId()}\n color=\"primary\"\n disabled={updateButtonDisableCondition}\n >\n {merchantStripeId ? 'Update' : 'Reset'}\n \n \n \n \n \n \n {isCopyAlertOpen && (\n \n Successfully copied the merchant's stripe id.\n \n )}\n {successMessage && (\n \n {successMessage}\n \n )}\n {errorMessage && (\n \n {errorMessage}\n \n )}\n \n );\n}\n\nMerchantStripeIdComponent.propTypes = {\n merchantStripeId: PropTypes.string.isRequired,\n isCopyAlertOpen: PropTypes.bool.isRequired,\n handleCopyMerchantStripeId: PropTypes.func.isRequired,\n closeCopyAlert: PropTypes.func.isRequired,\n createStripeId: PropTypes.func.isRequired\n};\n","import React, { useEffect, useState } from 'react';\nimport MerchantStripeIdComponent from './merchant-stripe-id.component';\nimport { useAdminFunctionsContext, useGlobalStateContext } from 'contexts';\nimport { AdminService } from 'services';\n\nexport default function MerchantStripeId(props) {\n const { globalState, setGlobalState } = useGlobalStateContext();\n const { adminFunctions, setAdminFunctions } = useAdminFunctionsContext();\n const [isCopyAlertOpen, setIsCopyAlertOpen] = useState(false);\n const [merchantStripeId, setMerchantStripeId] = useState('');\n const [merchantIdExist, setMerchantIdExist] = useState(false);\n const [successMessage, setSuccessMessage] = useState('');\n const [showMessage, setShowMessage] = useState('');\n const [loading, setLoading] = useState(false);\n const [errorMessage, setErrorMessage] = useState('');\n const [existingStripeId, setExistingStripeId] = useState('');\n useEffect(() => {\n const getMerchantStoreId = () => {\n setMerchantStripeId(adminFunctions.stripeId);\n setExistingStripeId(adminFunctions.stripeId);\n if (adminFunctions.stripeId) {\n setMerchantIdExist(true);\n } else {\n setMerchantIdExist(false);\n }\n };\n\n getMerchantStoreId();\n // eslint-disable-next-line\n }, [adminFunctions]);\n\n const handleCopyMerchantStripeId = () => {\n navigator.clipboard.writeText(merchantStripeId);\n setIsCopyAlertOpen(true);\n };\n\n const handleCloseMessage = () => {\n setShowMessage(false);\n setErrorMessage('');\n setSuccessMessage('');\n };\n\n const closeCopyAlert = () => {\n setIsCopyAlertOpen(false);\n };\n\n const createStripeId = async () => {\n setShowMessage(false);\n setErrorMessage('');\n setSuccessMessage('');\n setMerchantStripeId('processing...');\n setLoading(true);\n const response = await AdminService.CreateMerchantStripeId(globalState.merchant?.id);\n setLoading(false);\n setShowMessage(true);\n if (response.isSuccesfully) {\n setMerchantStripeId(response.data.stripeId);\n setAdminFunctions({\n ...adminFunctions,\n stripeId: response.data.stripeId,\n autoWithdraw: false\n });\n setSuccessMessage('Stripe Id created successfully');\n } else {\n if (response.data.missing) {\n const missingFields = response.data.missing;\n let errorMessage = `Stripe id was not created. Missing ${missingFields[0]}`;\n if (missingFields.length === 2) {\n errorMessage = `${errorMessage} and ${missingFields[1]}`;\n }\n setErrorMessage(errorMessage);\n } else {\n setErrorMessage('An error occurred. Try again !');\n }\n }\n };\n\n const updateStripeId = async () => {\n setShowMessage(false);\n setErrorMessage('');\n setSuccessMessage('');\n setLoading(true);\n const response = await AdminService.UpdateMerchantStripeId(globalState.merchant?.id, {\n updatedStripeId: merchantStripeId ? merchantStripeId : 'RESET'\n });\n setLoading(false);\n setShowMessage(true);\n\n if (response.isSuccesfully) {\n if (!merchantStripeId) {\n setSuccessMessage('Stripe Id removed successfully');\n } else {\n setSuccessMessage('Stripe Id updated successfully');\n }\n setAdminFunctions({\n ...adminFunctions,\n stripeId: merchantStripeId\n });\n setGlobalState((globalState) => ({\n ...globalState,\n merchant: {\n ...globalState.merchant,\n isStripe: merchantStripeId ? true : false\n }\n }));\n } else {\n if (response.error) {\n setErrorMessage(response?.error);\n } else {\n setErrorMessage('Stripe id was not updated');\n }\n }\n };\n\n return (\n \n );\n}\n","import React from 'react';\nimport { Grid, Select, MenuItem, FormControl, InputLabel, useMediaQuery } from '@material-ui/core';\nimport styles from './merchant-account-details.module.scss';\nimport { FormItem, Input, Label } from '../../../onboarding/onboarding-ui-components';\nimport PhoneInput from 'react-phone-input-2';\nimport { checkEmptyValue } from 'validators/onboarding/onboarding-check-value.validator';\nimport BankSortCodeNumberContainer from 'components/bank-sort-code-number/bank-sort-code-number.container';\nimport { LoadingScreen } from 'components';\nimport { CheckMerchantCountries } from '../../../onboarding/onboarding-ui-components/check-merchant-countries/check-merchant-countries';\nimport ReactCodeInput from 'react-verification-code-input';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { getArrayFromString } from 'validators/onboarding/onboarding-check-value.validator';\nimport _ from 'lodash';\n\nconst MerchantAccountDetailsComponent = (props) => {\n const {\n businessDetails,\n ownerDetails,\n selectedValue,\n showBusinessDetails,\n setSelectedValue,\n setShowBusinessDetails,\n bankData,\n isLoading,\n finalVal\n } = props;\n\n const mediaLessThan600px = useMediaQuery('(max-width:599px)');\n const mediaLessThan750px = useMediaQuery('(max-width:749px)');\n const mediaLessThan400px = useMediaQuery('(max-width:399px)');\n\n return (\n \n \n \n \n Merchant details\n \n {\n setShowBusinessDetails(!showBusinessDetails);\n setSelectedValue(e.target.value);\n }}\n >\n Business details\n Owner details\n Bank details\n \n \n \n {selectedValue === 'Business details' && (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )}\n {selectedValue === 'Owner details' && (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )}\n {selectedValue === 'Bank details' && (\n \n {!_.isEmpty(bankData) && (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \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 MerchantAccountDetailsComponent;\n","import React, { useState, useEffect } from 'react';\nimport MerchantAccountDetailsComponent from './merchant-account-details.component';\nimport { BusinessDetailsService } from 'services';\nimport { useGlobalStateContext } from 'contexts';\nimport { BankService } from 'services';\nimport _ from 'lodash';\n\nconst MerchantAccountDetails = () => {\n const { globalState } = useGlobalStateContext();\n const [businessDetails, setBusinessDetails] = useState({});\n const [ownerDetails, setOwnerDetails] = useState({});\n const [isLoading, setIsLoading] = useState(false);\n const [showBusinessDetails, setShowBusinessDetails] = useState(true);\n const [selectedValue, setSelectedValue] = useState('Business details');\n const [bankData, setBankData] = useState({});\n\n useEffect(() => {\n const getMerchantBusinessDetails = async () => {\n setIsLoading(true);\n const result = await BusinessDetailsService.getBusinessDetails(globalState.merchant?.id);\n\n const bankDetails = await BankService.getBankDetails(globalState.merchant?.id);\n if (result.isSuccesfully) {\n setBusinessDetails(result.data?.businessDetails);\n setOwnerDetails(result.data?.ownerDetails);\n }\n if (bankDetails.isSuccesfully) {\n setBankData(bankDetails.data);\n }\n\n setIsLoading(false);\n };\n\n getMerchantBusinessDetails();\n }, [globalState.merchant]);\n let finalVal;\n if (!_.isEmpty(bankData)) {\n finalVal = bankData.newAccountNumber.toString();\n var myRegexp = /^([^\\s]{6})([^\\s]{7})([^\\s]{2,3})$/g;\n var match = myRegexp.exec(finalVal);\n if (match) {\n match.shift();\n finalVal = match.join('-');\n }\n }\n return (\n \n );\n};\n\nexport default MerchantAccountDetails;\n","export const DocumentReviewReasons = {\n ALL: 'All',\n ONBOARDING: 'Onboarding',\n BANK_VERIFY: 'Bank details update',\n ACCOUNT_VERIFY: 'Account details update'\n};\n\nexport const DocumentReviewReasonFlag = {\n All: 'ALL',\n Onboarding: 'ONBOARDING',\n 'Bank details update': 'BANK_VERIFY',\n 'Account details update': 'ACCOUNT_VERIFY'\n};\n","export const DocumentStatusColor = {\n ACTIVE: {\n backgroundColor: '#CAF5C9',\n color: '#297A5D',\n padding: '4px',\n borderRadius: '4px',\n fontSize: '12px'\n },\n NEED_APPROVAL: {\n backgroundColor: '#03A2E8',\n color: 'white',\n padding: '4px',\n borderRadius: '4px',\n fontSize: '12px'\n },\n OLD: {\n backgroundColor: '#C3C3C3',\n color: '#111111',\n padding: '4px',\n borderRadius: '4px',\n fontSize: '12px'\n },\n REJECTED: {\n backgroundColor: '#FFCCCB',\n color: '#e60000',\n padding: '4px',\n borderRadius: '4px',\n fontSize: '12px'\n },\n DELETED: {\n backgroundColor: '#C7BFE7',\n color: '#111111',\n padding: '4px',\n borderRadius: '4px',\n fontSize: '12px'\n },\n OVERRIDDEN: {\n backgroundColor: '#C7BFE7',\n color: '#111111',\n padding: '4px',\n borderRadius: '4px',\n fontSize: '12px'\n }\n};\n","export const CountryBankAccountNumberLength = {\n 'United Kingdom': 8,\n Ireland: 22,\n Australia: 9,\n 'New Zealand': 16,\n Canada: 12,\n 'United States': 17,\n Mexico: 18\n};\n","export const BankRejectedReasons = {\n 0: '---- Select Reason ----',\n 1: 'Image not clear(blurred)',\n 2: 'Image not in colour',\n 3: 'Bank logo or name not visible',\n 4: 'Account number or sort code not visible',\n 5: 'Name of the account holder(owner) or limited company not visible',\n 6: 'Document older than 3 months',\n 7: 'All corners of the document not visible',\n 8: 'Document not in the name of the business or account holder(owner)',\n 9: 'Bank cheques not issued by the bank',\n 10: 'Cannot accept picture of a credit debit card',\n 11: 'The legal entity details of the account holder does not exactly match the legal entity we are processing for',\n 12: 'Legal entity name handwritten is not accepted',\n 13: 'Date of birth not matching with the user’s date of birth',\n 14: 'The first name input needs to match the first or middle name on the ID document.',\n 15: 'The last name input needs to match the last name on the identity document.',\n 16: 'Nicknames and typos are not accepted',\n 17: 'Driving licence is of a different country origin',\n 18: 'ID proof expired',\n 19: 'Resident permit requires both front and back side images',\n 20: 'Name of the company/provider not visible',\n 21: 'Address should be under the company/takeaway name',\n 22: 'Invoices are not accepted',\n 23: 'Mobile bill not accepted, upload a landline bill instead',\n 24: 'Signboard not visible clearly',\n 25: 'Did not answer the call for verification',\n 26: 'Screenshots are not accepted',\n 27: 'Custom'\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { NativeSelect, Grid } from '@material-ui/core';\nimport { FormItem, Label, Input } from '../../../onboarding/onboarding-ui-components';\nimport { BankRejectedReasons } from 'utils/enums/RejectReasons';\nimport { MerchantStatusNames } from 'utils/enums/MerchantStatusNames';\nimport { useAdminFunctionsContext, useGlobalStateContext } from 'contexts';\n\nexport default function RejectedReasonComponent(props) {\n const { onChange, setShowNotesBlock } = props;\n\n return (\n
    \n \n \n \n {\n console.log(\n 'e.target.selectedIndex : ',\n e.target.selectedIndex,\n e.target.value\n );\n\n if (e.target.selectedIndex === 0) {\n onChange('');\n setShowNotesBlock(false);\n } else if (\n e.target.selectedIndex !==\n Object.keys(BankRejectedReasons).length - 1\n ) {\n onChange(e.target.value);\n setShowNotesBlock(false);\n } else {\n onChange('');\n setShowNotesBlock(true);\n }\n }}\n />\n }\n >\n {Object.keys(BankRejectedReasons).map((element) => (\n \n {BankRejectedReasons[element]}\n \n ))}\n \n \n \n \n
    \n );\n}\n\nRejectedReasonComponent.propTypes = {\n onChange: PropTypes.func\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport RejectedReasonComponent from './rejected-reason.component';\n\nexport default function RejectedReason(props) {\n const { onChange, setShowNotesBlock } = props;\n\n return ;\n}\n\nRejectedReason.propTypes = {\n onChange: PropTypes.func\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { useGlobalStateContext } from 'contexts';\nimport { Button, Dialog, Grid, TextField, Tooltip, Paper, Divider } from '@material-ui/core';\nimport { Alert as MaterialAlert } from '@material-ui/lab';\nimport styles from './dialog-view-documents.module.scss';\nimport ArrowForwardIosIcon from '@material-ui/icons/ArrowForwardIos';\nimport ArrowBackIosIcon from '@material-ui/icons/ArrowBackIos';\nimport CloseIcon from '@material-ui/icons/Close';\nimport { UserType } from 'utils/enums/UserType';\nimport ReactCodeInput from 'react-verification-code-input';\nimport { useMediaQuery, Typography } from '@material-ui/core';\nimport { BankSortCodeNumberContainer, SnackBarAndAlert } from 'components';\nimport _ from 'lodash';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { getArrayFromString, validateCardNumber } from 'validators/onboarding/onboarding-check-value.validator';\nimport { Input, Label, FormItem } from 'components/onboarding/onboarding-ui-components';\nimport { CheckMerchantCountries } from '../../../../../components/onboarding/onboarding-ui-components/check-merchant-countries/check-merchant-countries.js';\nimport { DocumentFlag } from 'utils/enums/DocumentFlag';\nimport LoadingScreen from 'components/loading-screen/loading-screen.container';\nimport GetAppOutlinedIcon from '@material-ui/icons/GetAppOutlined';\nimport ThumbDownOutlinedIcon from '@material-ui/icons/ThumbDownOutlined';\nimport RestoreOutlinedIcon from '@material-ui/icons/RestoreOutlined';\nimport DeleteOutlineOutlinedIcon from '@material-ui/icons/DeleteOutlineOutlined';\nimport CheckCircleOutlinedIcon from '@material-ui/icons/CheckCircleOutlined';\nimport { DocumentReviewStatus, DocumentStatusToName } from 'utils/enums/DocumentReviewStatus';\nimport { DocumentStatusColor } from 'utils/enums/DocumentStatusColors';\nimport { CountryBankAccountNumberLength } from 'utils/enums/CountryBankAccountNumberLength';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport RejectedReason from '../../rejected-reason/rejected-reason.container';\nimport { FormatMessage } from 'utils/languageTranslater';\nexport default function DialogViewDocumentsComponent(props) {\n const {\n isLoading,\n isModalOpen,\n setIsModalOpen,\n notes,\n sendButtonDisabled,\n accountBtnDisabled,\n bankAccountBtnDisabled,\n setNotes,\n sendNotes,\n sendNotesError,\n verifyAccount,\n verifyBankAccount,\n prevDisabled,\n nextDisabled,\n navPrev,\n navNext,\n documentToView,\n sendButtonText,\n accountBtnText,\n bankAccountBtnText,\n currentDocumentNumber,\n nrOfDocuments,\n setIsMerchantVerificationCheckListOpen,\n setNewBankDetailsConfirmation,\n newBankDetailsConfirmation,\n bankData,\n accNumberInputRef,\n bankDetailsValidation,\n codeValidationMessage,\n accNumberValidationMessage,\n approveBtnDisabled,\n handleSubmit,\n updatedBankData,\n downloadDocument,\n updateDocumentStatus,\n showAcceptReject,\n showRestore,\n isBankUpdateRequest,\n setBankUpdateRejected,\n bankUpdateRejected,\n disableNewFields,\n hideDelete,\n showMerchantVerification,\n message,\n setMessage,\n messageType,\n showMessage,\n setShowMessage,\n openInNewTab,\n finalVal,\n FormatNumber,\n transitNumberMsg,\n bankName,\n bankNameValidation,\n bankNameFieldOnChange,\n bankNameFieldOnBlur,\n bankNameFieldOnKeyDown,\n showNotesBlock,\n setShowNotesBlock,\n fetchRejectReasonLoader,\n reset,\n idNumber,\n setIdNumber,\n updateIdNumber,\n cardNumber,\n setCardNumber,\n updateCardNumber,\n isValidIdNumber,\n isValidCardNumber\n } = props;\n const { globalState } = useGlobalStateContext();\n const isReseller = globalState.user?.UserType?.name === UserType.Reseller;\n const mediaLessThan600px = useMediaQuery('(max-width:599px)');\n const mediaLessThan750px = useMediaQuery('(max-width:749px)');\n const mediaLessThan400px = useMediaQuery('(max-width:399px)');\n const isAusIdNum =\n (documentToView?.documentTypeName === 'Driving licence' || documentToView?.documentTypeName === 'Passport') &&\n globalState?.merchant?.country === MerchantCountries.AUSTRALIA;\n const isUSDoc =\n globalState?.merchant?.country === MerchantCountries.UNITED_STATES &&\n documentToView?.documentTypeName === 'Driving licence';\n\n return (\n {\n reset();\n setIsModalOpen(false);\n }}\n maxWidth=\"xl\"\n fullWidth\n className={styles.dialogWrapper}\n >\n
    \n \n \n \n {'<'}\n {documentToView.flag}\n {'>'}\n \n\n \n {'<'}\n {documentToView?.filename ? `${documentToView?.filename}.` : 'File name'}\n {'>'}\n {'('}\n {documentToView?.documentTypeName\n ? `${documentToView?.documentTypeName}`\n : 'Unknown document type'}\n {')'}\n \n \n {DocumentReviewStatus[documentToView.documentStatus]}\n \n\n \n {currentDocumentNumber + 1} of {nrOfDocuments}\n \n {isAusIdNum || isUSDoc ? (\n \n {\n if (isAusIdNum) {\n let value = /^[a-zA-Z0-9]{0,10}$/.test(e.target.value);\n if (value) {\n setIdNumber(e.target.value.toUpperCase());\n }\n } else {\n let value = /^[0-9]{0,15}$/.test(e.target.value);\n if (value) {\n setIdNumber(e.target.value.toUpperCase());\n }\n }\n }}\n >\n {\n updateIdNumber();\n }}\n style={{ fontSize: '12px' }}\n disabled={documentToView.documentStatus != 'NEED_APPROVAL' || !isValidIdNumber}\n >\n {'Submit id no'}\n \n \n ) : (\n
    \n )}\n\n \n openInNewTab(documentToView)}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className={styles.dialogWrapper__dialogBody__titleBar__merchantName__link}\n >\n open\n \n\n \n \n
    \n \n {\n reset();\n setIsModalOpen(false);\n }}\n >\n \n \n \n {documentToView?.documentTypeName === 'Driving licence' &&\n globalState?.merchant?.country === MerchantCountries.AUSTRALIA ? (\n \n {\n let value = /^[a-zA-Z0-9]{0,10}$/.test(e.target.value);\n if (value) {\n setCardNumber(e.target.value.toUpperCase());\n }\n }}\n >\n {\n updateCardNumber();\n }}\n style={{ fontSize: '12px', borderColor: 'black', borderWidth: 1 }}\n disabled={documentToView.documentStatus != 'NEED_APPROVAL' || !isValidCardNumber}\n >\n {'Submit card no'}\n \n \n ) : (\n
    \n )}\n \n \n \n \n \n \n \n\n {updatedBankData.approvalStatus === 'WAITING_APPROVAL' &&\n documentToView.flag === DocumentFlag.BANK_VERIFY &&\n documentToView.documentStatus === DocumentStatusToName.NEED_APPROVAL && (\n \n \n \n \n \n {!_.isEmpty(bankData) && (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )}\n \n \n \n \n {accNumberValidationMessage && (\n
    \n \n {accNumberValidationMessage}\n \n
    \n )}\n
    \n \n \n \n \n \n {accNumberValidationMessage && (\n
    \n \n {accNumberValidationMessage}\n \n
    \n )}\n
    \n \n \n \n \n \n {accNumberValidationMessage && (\n
    \n \n {accNumberValidationMessage}\n \n
    \n )}\n
    \n
    \n\n \n \n \n \n {codeValidationMessage && (\n
    \n \n {codeValidationMessage}\n \n
    \n )}\n
    \n \n \n \n \n \n {codeValidationMessage && (\n
    \n \n {codeValidationMessage}\n \n
    \n )}\n
    \n \n \n \n \n \n {transitNumberMsg && (\n
    \n \n {transitNumberMsg}\n \n
    \n )}\n
    \n\n \n \n {\n bankDetailsValidation(value, 'financenumber');\n setNewBankDetailsConfirmation({\n ...newBankDetailsConfirmation,\n financialInstitutionNumber: value\n });\n }}\n disabled={disableNewFields}\n />\n \n \n {codeValidationMessage && (\n
    \n \n {codeValidationMessage}\n \n
    \n )}\n
    \n
    \n \n \n \n \n {codeValidationMessage && (\n
    \n \n {codeValidationMessage}\n \n
    \n )}\n
    \n \n \n \n
    \n
    \n
    \n
    \n
    \n )}\n\n \n {isLoading && (\n
    \n

    \n Admin document viewer\n

    \n

    \n Loading...\n

    \n
    \n )}\n {!isLoading && nrOfDocuments === 0 && (\n
    \n

    \n Admin document viewer\n

    \n

    \n Nothing to show\n

    \n
    \n )}\n {!isLoading && nrOfDocuments !== 0 && documentToView.extension !== 'pdf' && (\n
    \n \"document\n
    \n )}\n {!isLoading && nrOfDocuments !== 0 && documentToView.extension === 'pdf' && (\n \n )}\n \n \n \n \n \n \n \n \n {(!isBankUpdateRequest ||\n (documentToView.flag === DocumentFlag.BANK_VERIFY && !isBankUpdateRequest)) && (\n \n \n {showAcceptReject && (\n \n \n \n {\n updateDocumentStatus(DocumentStatusToName.ACTIVE);\n if (\n documentToView.docTypeId !== 12 &&\n documentToView.docTypeId !== 13\n ) {\n sendNotes(DocumentStatusToName.ACTIVE);\n }\n }}\n disabled={\n documentToView.documentStatus !==\n DocumentStatusToName.NEED_APPROVAL ||\n globalState.merchant.status === MerchantStatus.WATCHLIST\n }\n >\n Accept\n \n \n \n \n {\n updateDocumentStatus(DocumentStatusToName.REJECTED);\n if (\n documentToView.docTypeId !== 12 &&\n documentToView.docTypeId !== 13\n ) {\n sendNotes(DocumentStatusToName.REJECTED);\n }\n }}\n disabled={\n documentToView.documentStatus !==\n DocumentStatusToName.NEED_APPROVAL ||\n notes?.trim().length < 10 ||\n sendButtonDisabled\n }\n >\n Reject\n \n \n \n )}\n {showRestore && (\n \n \n updateDocumentStatus(DocumentStatusToName.NEED_APPROVAL)}\n disabled={\n documentToView.documentStatus !== DocumentStatusToName.OLD &&\n documentToView.documentStatus !== DocumentStatusToName.DELETED\n }\n >\n Restore\n \n \n )}\n\n {!hideDelete && (\n \n \n updateDocumentStatus(DocumentStatusToName.DELETED)}\n disabled={\n documentToView.documentStatus === DocumentStatusToName.DELETED ||\n documentToView.documentStatus === DocumentStatusToName.ACTIVE ||\n documentToView.documentStatus === DocumentStatusToName.NEED_APPROVAL ||\n documentToView.documentStatus === DocumentStatusToName.REJECTED\n }\n >\n Delete\n \n \n )}\n \n \n \n )}\n \n \n {updatedBankData.approvalStatus === 'WAITING_APPROVAL' &&\n documentToView.flag === DocumentFlag.BANK_VERIFY &&\n documentToView.documentStatus === DocumentStatusToName.NEED_APPROVAL ? (\n \n {\n setBankUpdateRejected(true);\n sendNotes(DocumentStatusToName.REJECTED, true);\n }}\n className={styles.dialogWrapper__dialogBody__actionsWrapper__button}\n >\n Reject Bank Update\n \n {\n handleSubmit(event);\n sendNotes(DocumentStatusToName.ACTIVE);\n }}\n disabled={\n approveBtnDisabled ||\n globalState.merchant.status === MerchantStatus.WATCHLIST\n }\n className={styles.dialogWrapper__dialogBody__actionsWrapper__button}\n >\n Approve Bank Update\n \n \n ) : (\n \n \n {!isReseller && (\n \n \n \n {accountBtnText}\n \n \n \n \n {bankAccountBtnText}\n \n \n \n )}\n {\n reset();\n setIsModalOpen(false);\n if (\n documentToView.flag === DocumentFlag.ONBOARDING &&\n (documentToView.documentStatus === DocumentStatusToName.REJECTED ||\n documentToView.documentStatus ===\n DocumentStatusToName.ACTIVE) &&\n showMerchantVerification\n ) {\n setIsMerchantVerificationCheckListOpen(true);\n }\n }}\n className={styles.dialogWrapper__dialogBody__actionsWrapper__button}\n >\n Close\n \n \n \n )}\n \n \n \n {!isReseller && (\n \n {documentToView.documentStatus === DocumentStatusToName.REJECTED ? (\n !fetchRejectReasonLoader && (\n \n Rejected reason: {notes ? notes : 'No reason provided'}\n \n )\n ) : (\n <>\n \n {showNotesBlock ? (\n setNotes(e.target.value)}\n />\n ) : (\n <>\n )}\n {/* \n \n {sendButtonText}\n \n */}\n {sendNotesError && (\n \n An error was occurred when sending the email. Please contact support.\n \n )}\n \n )}\n \n )}\n
    \n {showMessage && (\n {\n setMessage('');\n setShowMessage(false);\n }}\n type={messageType}\n >\n {message}\n \n )}\n \n \n );\n}\n\nDialogViewDocumentsComponent.propTypes = {\n isLoading: PropTypes.bool,\n isModalOpen: PropTypes.bool,\n setIsModalOpen: PropTypes.func,\n sendButtonDisabled: PropTypes.bool,\n sendButtonText: PropTypes.string,\n accountBtnText: PropTypes.string,\n accountBtnDisabled: PropTypes.bool,\n bankAccountBtnDisabled: PropTypes.bool,\n bankAccountBtnText: PropTypes.string,\n notes: PropTypes.string,\n setNotes: PropTypes.func,\n sendNotes: PropTypes.func,\n sendNotesError: PropTypes.bool,\n verifyAccount: PropTypes.func,\n verifyBankAccount: PropTypes.func,\n prevDisabled: PropTypes.bool,\n nextDisabled: PropTypes.bool,\n merchantName: PropTypes.string,\n navPrev: PropTypes.func,\n navNext: PropTypes.func,\n documentToView: PropTypes.object,\n currentDocumentNumber: PropTypes.number,\n nrOfDocuments: PropTypes.number,\n setNewBankDetailsConfirmation: PropTypes.func,\n bankDetailsValidation: PropTypes.func,\n codeValidationMessage: PropTypes.string,\n accNumberValidationMessage: PropTypes.string,\n rejectBankUpdate: PropTypes.func,\n handleSubmit: PropTypes.func\n};\n","import React, { useState, useEffect, useCallback } from 'react';\nimport DialogViewDocumentsComponent from './dialog-view-documents.component';\nimport { AdminService, BankService, DocumentsService } from 'services';\nimport { useAdminFunctionsContext } from 'contexts';\nimport { useGlobalStateContext } from 'contexts';\nimport { debounce } from 'lodash';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { DocumentStatusToName } from 'utils/enums/DocumentReviewStatus';\nimport { BankAccountLengthConstaints } from 'utils/enums/BankAccountLength';\nimport { DocumentTypesId } from 'utils/enums/DocumentType';\nimport { DocumentFlag } from 'utils/enums/DocumentFlag';\nimport { DocumentEventType } from 'utils/enums/DocumentEventType';\nimport _ from 'lodash';\n\nexport default function DialogViewDocuments(props) {\n const { documentToReview, documentIndex, setDocumentsUpdated, isModalOpen, setDocumentToReview } = props;\n const { globalState } = useGlobalStateContext();\n const { adminFunctions, setAdminFunctions } = useAdminFunctionsContext();\n const [listOfUrlObj, setListOfUrlObj] = useState([]);\n const [prevDisabled, setPrevDisabled] = useState(true);\n const [nextDisabled, setNextDisabled] = useState(true);\n const [currentDocumentNumber, setCurrentDocumentNumber] = useState(0);\n const [documentToView, setDocumentToView] = useState({});\n const [isLoading, setIsLoading] = useState(false);\n const [notes, setNotes] = useState('');\n const [sendNotesError, setSendNotesError] = useState(false);\n const [sendButtonDisabled, setSendButtonDisabled] = useState(false);\n const [sendButtonText, setSendButtonText] = useState('');\n const [accountBtnText, setAccountBtnText] = useState('');\n const [bankAccountBtnText, setBankAccountBtnText] = useState('');\n const [accountBtnDisabled, setAccountBtnDisabled] = useState(true);\n const [bankAccountBtnDisabled, setBankAccountBtnDisabled] = useState(true);\n const [bankUpdateRejected, setBankUpdateRejected] = useState(false);\n const [showNotesBlock, setShowNotesBlock] = useState(0);\n const [isValidIdNumber, setIsValidIdNumber] = useState(false);\n const [isValidCardNumber, setIsValidCardNumber] = useState(false);\n const [newBankDetailsConfirmation, setNewBankDetailsConfirmation] = useState({\n newSortCode: '',\n newAccountNumber: '',\n routingNumber: '',\n newBsbCode: '',\n transitNumber: '',\n financialInstitutionNumber: ''\n });\n const [bankData, setBankData] = useState({});\n const [updatedBankData, setUpdatedBankData] = useState({});\n const [codeValidationMessage, setCodeValidationMessage] = useState('');\n const [accNumberValidationMessage, setAccNumberValidationMessage] = useState('');\n const [approveBtnDisabled, setApproveBtnDisabled] = useState(true);\n const [rejectBtnDisabled, setRejectBtnDisabled] = useState(false);\n const [showAcceptReject, setShowAcceptReject] = useState(false);\n const [showRestore, setShowRestore] = useState(false);\n const [isBankUpdateRequest, setIsBankUpdateRequest] = useState(false);\n const [disableNewFields, setDisableNewFields] = useState(false);\n const [hideDelete, setHideDelete] = useState(false);\n const [firstTimeVisit, setFirstTimeVisit] = useState(false);\n const [showMerchantVerification, setShowMerchantVerification] = useState(false);\n const [message, setMessage] = useState('');\n const [messageType, setMessageType] = useState('');\n const [showMessage, setShowMessage] = useState(false);\n const [fetchRejectReasonLoader, setFetchRejectReasonLoader] = useState(false);\n const [validationComplete, setValidationComplete] = useState(false);\n const [transitNumberMsg, setTransitNumberMsg] = useState('');\n const [bankName, setBankName] = useState('');\n const [bankNameValidation, setBankNameValidation] = useState('');\n const [idNumber, setIdNumber] = useState('');\n const [cardNumber, setCardNumber] = useState('');\n\n const getDoc = async (document) => {\n const doc = await DocumentsService.getMerchantFilesUrls([document]);\n return doc[0];\n };\n useEffect(() => {\n const getData = async () => {\n if (documentToView.documentStatus == DocumentStatusToName.REJECTED) {\n const response = await AdminService.getDocumentById(documentToView.documentId);\n if (response.isSuccesfully) {\n setNotes(response.data.comment);\n } else {\n setNotes('');\n }\n setFetchRejectReasonLoader(false);\n }\n };\n getData();\n }, [documentToView]);\n\n useEffect(() => {\n const getData = async () => {\n setListOfUrlObj(documentToReview);\n if (documentToReview.length > 0) {\n const doc = await getDoc(documentToReview[documentIndex]);\n doc?.documentStatus === DocumentStatusToName.REJECTED && setFetchRejectReasonLoader(true);\n setDocumentToView(doc);\n setCurrentDocumentNumber(documentIndex);\n setFirstTimeVisit(true);\n setIdNumber(doc.idNumber);\n setCardNumber(doc.cardNumber);\n }\n };\n if (props.isModalOpen) {\n reset();\n getData();\n }\n\n // eslint-disable-next-line\n }, [props.isModalOpen, globalState.merchant]);\n\n useEffect(() => {\n if (isModalOpen && firstTimeVisit) {\n if (\n documentToView.documentStatus === DocumentStatusToName.NEED_APPROVAL ||\n documentToView.documentStatus === DocumentStatusToName.REJECTED ||\n documentToView.documentStatus === DocumentStatusToName.ACTIVE\n ) {\n setShowAcceptReject(true);\n } else {\n setShowAcceptReject(false);\n }\n\n if (\n documentToView.documentStatus === DocumentStatusToName.OLD ||\n documentToView.documentStatus === DocumentStatusToName.DELETED\n ) {\n setShowRestore(true);\n } else {\n setShowRestore(false);\n }\n\n if (\n documentToView.documentStatus === DocumentStatusToName.DELETED ||\n documentToView.documentStatus === DocumentStatusToName.REJECTED ||\n documentToView.documentStatus === DocumentStatusToName.ACTIVE\n ) {\n setHideDelete(true);\n } else {\n setHideDelete(false);\n }\n\n setFirstTimeVisit(false);\n }\n // eslint-disable-next-line\n }, [documentToView, isModalOpen, firstTimeVisit]);\n\n useEffect(() => {\n if (\n documentToView.flag === DocumentFlag.ONBOARDING &&\n (documentToView.docTypeId === DocumentTypesId.BANK_STATEMENT ||\n documentToView.docTypeId === DocumentTypesId.VOID_CHEQUE) &&\n !adminFunctions.bankVerify\n ) {\n setShowMerchantVerification(true);\n }\n\n if (\n documentToView.flag === DocumentFlag.ONBOARDING &&\n documentToView.docTypeId !== DocumentTypesId.BANK_STATEMENT &&\n documentToView.docTypeId !== DocumentTypesId.VOID_CHEQUE &&\n !adminFunctions.accountVerify\n ) {\n setShowMerchantVerification(true);\n }\n\n // eslint-disable-next-line\n }, [documentToView]);\n\n useEffect(() => {\n if (isModalOpen) {\n if (\n updatedBankData.approvalStatus === 'WAITING_APPROVAL' &&\n documentToView.flag === DocumentFlag.BANK_VERIFY &&\n documentToView.flag === DocumentStatusToName.NEED_APPROVAL &&\n !adminFunctions.bankVerify\n ) {\n const disableRejectButton = documentToView.documentStatus !== DocumentStatusToName.REJECTED;\n const disableApproveButton = documentToView.documentStatus !== DocumentStatusToName.ACTIVE;\n setApproveBtnDisabled(disableApproveButton);\n setRejectBtnDisabled(disableRejectButton);\n } else {\n const isNotAccountDoc =\n documentToView.docTypeId === DocumentTypesId.BANK_STATEMENT ||\n documentToView.docTypeId === DocumentTypesId.VOID_CHEQUE;\n\n const isNotBankDoc =\n documentToView.docTypeId !== DocumentTypesId.BANK_STATEMENT &&\n documentToView.docTypeId !== DocumentTypesId.VOID_CHEQUE;\n\n const disableAccountButton = isNotAccountDoc\n ? isNotAccountDoc\n : documentToView.documentStatus !== DocumentStatusToName.ACTIVE;\n\n const disableBankAccountButton = isNotBankDoc\n ? isNotBankDoc\n : documentToView.documentStatus !== DocumentStatusToName.ACTIVE;\n\n if (adminFunctions.accountVerify) {\n setAccountBtnDisabled(adminFunctions.accountVerify);\n } else {\n setAccountBtnDisabled(disableAccountButton);\n }\n if (adminFunctions.bankVerify) {\n setBankAccountBtnDisabled(adminFunctions.bankVerify);\n } else {\n setBankAccountBtnDisabled(disableBankAccountButton);\n }\n }\n }\n\n // eslint-disable-next-line\n }, [documentToView, isModalOpen, adminFunctions]);\n useEffect(() => {\n const checkDisabled = async () => {\n if (globalState.merchant?.country === MerchantCountries.IRELAND) {\n if (\n newBankDetailsConfirmation.newAccountNumber.length >= 22 &&\n accNumberValidationMessage === '' &&\n bankNameValidation === '' &&\n bankName !== ''\n ) {\n setApproveBtnDisabled(false);\n }\n } else if (globalState.merchant?.country === MerchantCountries.NEW_ZEALAND) {\n if (\n newBankDetailsConfirmation.newAccountNumber.length >= 15 &&\n accNumberValidationMessage === '' &&\n bankNameValidation === '' &&\n bankName !== ''\n ) {\n setApproveBtnDisabled(false);\n }\n } else if (globalState.merchant?.country === MerchantCountries.AUSTRALIA) {\n if (\n newBankDetailsConfirmation.newAccountNumber.length >= 5 &&\n accNumberValidationMessage === '' &&\n newBankDetailsConfirmation.newBsbCode.length === 6 &&\n bankNameValidation === '' &&\n bankName !== ''\n ) {\n setApproveBtnDisabled(false);\n }\n } else if (globalState.merchant?.country === MerchantCountries.UNITED_STATES) {\n if (\n newBankDetailsConfirmation.newAccountNumber.length >=\n BankAccountLengthConstaints[MerchantCountries.UNITED_STATES].minLength &&\n accNumberValidationMessage === '' &&\n newBankDetailsConfirmation.routingNumber.length === 9 &&\n codeValidationMessage === '' &&\n bankNameValidation === '' &&\n bankName !== ''\n ) {\n setApproveBtnDisabled(false);\n }\n } else if (globalState.merchant?.country === MerchantCountries.MEXICO) {\n if (\n newBankDetailsConfirmation.newAccountNumber.length === 18 &&\n accNumberValidationMessage === '' &&\n codeValidationMessage === '' &&\n bankNameValidation === '' &&\n bankName !== ''\n ) {\n setApproveBtnDisabled(false);\n }\n } else if (globalState.merchant?.country === MerchantCountries.CANADA) {\n if (\n newBankDetailsConfirmation.newAccountNumber.length >= 7 &&\n accNumberValidationMessage === '' &&\n newBankDetailsConfirmation.financialInstitutionNumber.length >= 3 &&\n newBankDetailsConfirmation.transitNumber.length >= 5 &&\n codeValidationMessage === '' &&\n transitNumberMsg === '' &&\n bankNameValidation === '' &&\n bankName !== ''\n ) {\n setApproveBtnDisabled(false);\n }\n } else {\n if (\n newBankDetailsConfirmation.newAccountNumber.length > 7 &&\n (newBankDetailsConfirmation.newBsbCode.length === 6 ||\n newBankDetailsConfirmation.newSortCode.length === 6) &&\n accNumberValidationMessage === '' &&\n codeValidationMessage === '' &&\n bankNameValidation === '' &&\n bankName !== ''\n ) {\n setApproveBtnDisabled(false);\n }\n }\n setValidationComplete(false);\n };\n\n if (validationComplete) {\n setApproveBtnDisabled(true);\n checkDisabled();\n } else {\n }\n\n // eslint-disable-next-line\n }, [codeValidationMessage, accNumberValidationMessage, newBankDetailsConfirmation, validationComplete, bankName]);\n\n useEffect(() => {\n const fetchData = async () => {\n const response = await BankService.getBankDetails(globalState.merchant?.id);\n if (response.isSuccesfully) {\n setBankData(response.data);\n }\n };\n if (props.isModalOpen) {\n fetchData();\n }\n }, [globalState.merchant, props.isModalOpen]);\n\n useEffect(() => {\n const fetchNewBankData = async () => {\n const response = await BankService.getNewBankUpdateRequestDetails(globalState.merchant?.id);\n if (response.isSuccesfully) {\n setUpdatedBankData(response.data);\n }\n };\n\n fetchNewBankData();\n }, [globalState.merchant, bankData]);\n\n useEffect(() => {\n if (isModalOpen) {\n if (\n documentToView.flag === DocumentFlag.BANK_VERIFY &&\n documentToView.documentStatus === DocumentStatusToName.NEED_APPROVAL\n ) {\n setIsBankUpdateRequest(true);\n } else {\n setIsBankUpdateRequest(false);\n }\n }\n }, [documentToView, isModalOpen]);\n\n const downloadDocument = async () => {\n setIsLoading(true);\n await DocumentsService.getObjects([{ ...documentToView }]);\n setIsLoading(false);\n };\n\n const validation = (inputValue, type) => {\n if (inputValue) {\n if (type !== 'bankName' && inputValue.includes('-')) {\n inputValue = inputValue.replaceAll('-', '');\n }\n if (type === 'accountNumber') {\n if (updatedBankData.newAccountNumber !== inputValue) {\n setAccNumberValidationMessage('Account number does not match');\n } else {\n setAccNumberValidationMessage('');\n }\n }\n if (type === 'bsbcode') {\n if (updatedBankData.bsb !== inputValue) {\n setCodeValidationMessage('BSB code does not match');\n } else {\n setCodeValidationMessage('');\n }\n }\n if (type === 'routingnumber') {\n if (updatedBankData.routingNumber !== inputValue) {\n setCodeValidationMessage('Routing does not match');\n } else {\n setCodeValidationMessage('');\n }\n }\n if (type === 'transitnumber') {\n if (updatedBankData.transitNumber !== inputValue) {\n setTransitNumberMsg('Transit number does not match');\n } else {\n setTransitNumberMsg('');\n }\n }\n if (type === 'financenumber') {\n if (updatedBankData.financialInstitutionNumber !== inputValue) {\n setCodeValidationMessage(' Financial Institution does not match');\n } else {\n setCodeValidationMessage('');\n }\n }\n if (type === 'sortcode') {\n if (updatedBankData.sortCode?.toString() !== inputValue) {\n setCodeValidationMessage('Sort code does not match');\n } else {\n setCodeValidationMessage('');\n }\n }\n if (type === 'bankName') {\n if (updatedBankData.nameOfBank?.toString() !== inputValue) {\n setBankNameValidation('Name of bank does not match');\n } else {\n setBankNameValidation('');\n }\n }\n } else {\n if (type === 'accountNumber') {\n setAccNumberValidationMessage('');\n } else if (type === 'transitNumber') {\n setTransitNumberMsg('');\n } else {\n setCodeValidationMessage('');\n }\n }\n\n if (globalState.merchant?.country === MerchantCountries.IRELAND && inputValue === 'IE') {\n setAccNumberValidationMessage('');\n }\n setValidationComplete(true);\n };\n\n const updateDocumentInView = (status) => {\n let inViewDocument = { ...documentToView };\n inViewDocument.documentStatus = status;\n let allDocumentsInView = [...documentToReview];\n allDocumentsInView[documentIndex] = inViewDocument;\n\n setDocumentToView(inViewDocument);\n setDocumentToReview(allDocumentsInView);\n };\n\n // trigger validation function when user stop typing\n const bankDetailsValidation = useCallback(debounce(validation, 500), [updatedBankData]);\n\n const handleSubmit = async (event) => {\n event.preventDefault();\n let newBankDetails;\n newBankDetails = {\n newAccountNumber: newBankDetailsConfirmation.newAccountNumber,\n bsb: newBankDetailsConfirmation.newBsbCode,\n sortCode: newBankDetailsConfirmation.newSortCode,\n routingNumber: newBankDetailsConfirmation.routingNumber,\n transitNumber: newBankDetailsConfirmation.transitNumber,\n financialInstitutionNumber: newBankDetailsConfirmation.financialInstitutionNumber,\n documentId: documentToView.documentId,\n resellerId: globalState.reseller?.id,\n nameOfBank: bankName\n };\n setIsLoading(true);\n const response = await BankService.updateBankDetails(globalState.merchant?.id, newBankDetails);\n if (response.isSuccesfully) {\n setAdminFunctions({\n ...adminFunctions,\n bankVerify: true\n });\n setApproveBtnDisabled(true);\n setRejectBtnDisabled(true);\n setDisableNewFields(true);\n updateDocumentInView(DocumentStatusToName.ACTIVE);\n setDocumentsUpdated(true);\n setFirstTimeVisit(true);\n setShowMessage(true);\n setMessageType('success');\n setMessage('Bank details were accepted successfully.');\n setTimeout(() => {\n reset();\n props.setIsModalOpen(false);\n }, 3000);\n }\n setIsLoading(false);\n };\n\n const rejectBankUpdate = async () => {\n setIsLoading(true);\n const data = { documentId: documentToView.documentId, resellerId: globalState.reseller?.id, notes: notes };\n const response = await BankService.rejectNewBankDetailsUpdateRequest(globalState.merchant?.id, data);\n\n if (response.isSuccesfully) {\n setDisableNewFields(true);\n updateDocumentInView(DocumentStatusToName.REJECTED);\n setDocumentsUpdated(true);\n setFirstTimeVisit(true);\n setNotes('');\n setShowMessage(true);\n setMessageType('success');\n setTimeout(() => {\n reset();\n props.setIsModalOpen(false);\n }, 3000);\n\n setMessage('Bank details were rejected successfully.');\n }\n setIsLoading(false);\n };\n\n const verifyAccount = async () => {\n setAccountBtnDisabled(true);\n setAccountBtnText('Accepting...');\n\n const response = await AdminService.UpdateMerchantDataForAdmin(globalState.merchant?.id, {\n accountVerify: true,\n resellerId: globalState.reseller?.id\n });\n if (response.isSuccesfully) {\n setAdminFunctions({\n ...adminFunctions,\n accountVerify: true\n });\n setAccountBtnText('Account accepted');\n setShowMerchantVerification(true);\n } else {\n setAccountBtnText('Account accept failed');\n }\n };\n\n const verifyBankAccount = async () => {\n setBankAccountBtnDisabled(true);\n setBankAccountBtnText('Accepting...');\n const response = await AdminService.UpdateMerchantDataForAdmin(globalState.merchant?.id, {\n bankVerify: true,\n resellerId: globalState.reseller?.id,\n accountStatus: 'Approved'\n });\n\n if (response.isSuccesfully) {\n setAdminFunctions({\n ...adminFunctions,\n bankVerify: true\n });\n setBankAccountBtnText('Bank account accepted');\n setShowMerchantVerification(true);\n } else {\n setBankAccountBtnText('Bank account accept failed');\n }\n };\n\n const updateDocumentStatus = async (status) => {\n setIsLoading(true);\n const data = {\n flag: documentToView.flag,\n documentStatus: status,\n documentTypeId: documentToView.docTypeId\n };\n const response = await DocumentsService.updateDocumentStatus(\n globalState.merchant?.id,\n documentToView.documentId,\n data\n );\n\n if (response.isSuccesfully) {\n setDocumentsUpdated(true);\n updateDocumentInView(status);\n setShowMessage(true);\n setMessageType('success');\n setDisableNewFields(false);\n if (status === DocumentStatusToName.REJECTED) {\n setMessage('Successfully Rejected the document.');\n } else if (status === DocumentStatusToName.ACTIVE) {\n setMessage('Document is accepted successfully.');\n } else if (status === DocumentStatusToName.DELETED) {\n setMessage('Document is deleted successfully.');\n } else if (status === DocumentStatusToName.NEED_APPROVAL) {\n setMessage('Document is restored successfully');\n }\n setTimeout(() => {\n reset();\n props.setIsModalOpen(false);\n }, 3000);\n }\n setIsLoading(false);\n };\n\n const reset = () => {\n setCurrentDocumentNumber(-1);\n setDocumentToView({});\n setListOfUrlObj([]);\n setNextDisabled(true);\n setPrevDisabled(true);\n setShowMessage(false);\n setIsLoading(false);\n setShowNotesBlock(false);\n setNotes('');\n setMessage('');\n setSendNotesError(false);\n setSendButtonDisabled(false);\n setSendButtonText('Send');\n setAccountBtnText(adminFunctions.accountVerify ? 'Account accepted' : 'Accept account');\n setBankAccountBtnText(adminFunctions.bankVerify ? 'Bank account accepted' : 'Accept bank account');\n setAccountBtnDisabled(adminFunctions.accountVerify);\n setBankAccountBtnDisabled(adminFunctions.bankVerify);\n setBankUpdateRejected(false);\n setShowMerchantVerification(false);\n setAccNumberValidationMessage('');\n setCodeValidationMessage('');\n setNewBankDetailsConfirmation({\n newSortCode: '',\n newAccountNumber: '',\n routingNumber: '',\n newBsbCode: '',\n transitNumber: '',\n financialInstitutionNumber: ''\n });\n setBankName('');\n setBankNameValidation('');\n setApproveBtnDisabled(true);\n };\n\n const navPrev = async () => {\n if (listOfUrlObj.length > 1 && currentDocumentNumber > 0) {\n setCurrentDocumentNumber((currentDocumentNumber) => currentDocumentNumber - 1);\n const doc = await getDoc(listOfUrlObj[currentDocumentNumber - 1]);\n doc?.documentStatus === DocumentStatusToName.REJECTED && setFetchRejectReasonLoader(true);\n setDocumentToView(doc);\n setFirstTimeVisit(true);\n }\n };\n\n const navNext = async () => {\n if (listOfUrlObj.length > 1 && currentDocumentNumber < listOfUrlObj.length - 1) {\n setCurrentDocumentNumber((currentDocumentNumber) => currentDocumentNumber + 1);\n const doc = await getDoc(listOfUrlObj[currentDocumentNumber + 1]);\n doc?.documentStatus === DocumentStatusToName.REJECTED && setFetchRejectReasonLoader(true);\n setDocumentToView(doc);\n setFirstTimeVisit(true);\n }\n };\n\n useEffect(() => {\n if (isModalOpen && listOfUrlObj.length > 1) {\n if (currentDocumentNumber < listOfUrlObj.length - 1) {\n setNextDisabled(false);\n } else {\n setNextDisabled(true);\n }\n if (currentDocumentNumber > 0) {\n setPrevDisabled(false);\n } else {\n setPrevDisabled(true);\n }\n }\n // eslint-disable-next-line\n }, [currentDocumentNumber, listOfUrlObj.length, isModalOpen]);\n\n const sendNotes = async (status, rejectBankDoc) => {\n const merchantId = globalState.merchant?.id;\n const dataToSend = {\n resellerId: globalState.reseller?.id,\n notes: status === DocumentStatusToName.REJECTED ? notes?.trim() : '',\n documentId: documentToView.documentId,\n documentStatus: status === DocumentStatusToName.ACTIVE ? 'APPROVED' : status,\n docTypeId: documentToView.docTypeId\n };\n\n setSendButtonDisabled(true);\n setSendButtonText('Sending...');\n\n console.log('dataToSend 2: ', dataToSend, documentToView.documentId, documentToView);\n\n const response = await AdminService.saveUserKycLogs(merchantId, dataToSend);\n\n if (response.isSuccesfully) {\n setNotes('');\n setSendButtonText('Send');\n } else {\n setSendNotesError(true);\n setSendButtonText('Send failed');\n setSendButtonDisabled(true);\n }\n if (rejectBankDoc) {\n rejectBankUpdate();\n }\n };\n\n const openInNewTab = async (doc) => {\n setIsLoading(true);\n const response = await DocumentsService.getPresignedUrl(doc, DocumentEventType.VIEWED);\n const tempDoc = { ...documentToView };\n tempDoc.url = response.data.presignedUrl;\n setDocumentToView(tempDoc);\n window.open(response.data.presignedUrl);\n setIsLoading(false);\n };\n\n let finalVal;\n if (!_.isEmpty(bankData)) {\n finalVal = bankData.newAccountNumber.toString();\n var myRegexp = /^([^\\s]{6})([^\\s]{7})([^\\s]{2,3})$/g;\n var match = myRegexp.exec(finalVal);\n if (match) {\n match.shift();\n finalVal = match.join('-');\n }\n }\n\n const FormatNumber = () => {\n let val = '';\n const accNumberArr = newBankDetailsConfirmation?.newAccountNumber.split('');\n accNumberArr.forEach((value, index) => {\n if (index === 6 || index === 13) {\n val = val + '-';\n val = val + accNumberArr[index];\n } else {\n val = val + accNumberArr[index];\n }\n });\n return val;\n };\n\n const bankNameFieldOnChange = (e) => {\n let inputValue = e.target.value.replace(/[^A-Za-z0-9.()& -]/g, '').toUpperCase();\n bankDetailsValidation(inputValue, 'bankName');\n if (inputValue.length <= 80) setBankName(inputValue);\n };\n\n const bankNameFieldOnBlur = () => {\n let trimmedValue = bankName.trim().replace(/\\s+/g, ' ');\n setBankName(trimmedValue);\n bankDetailsValidation(trimmedValue, 'bankName');\n };\n\n const bankNameFieldOnKeyDown = (e) => {\n const isCharacterAllowed = !/^[a-zA-Z0-9.()&\\- ]+$/.test(e.key);\n const isBackspace = e.key === 'Backspace';\n if (isCharacterAllowed && !isBackspace) e.preventDefault();\n };\n\n const updateIdNumber = async () => {\n const data = {\n idNumber: idNumber\n };\n const response = await DocumentsService.updateDocumentType(\n globalState.merchant?.id,\n documentToView.documentId,\n data\n );\n if (response.isSuccesfully) {\n setShowMessage(true);\n setMessageType('success');\n setMessage('ID Number got updated successfully');\n }\n };\n const updateCardNumber = async () => {\n const data = {\n cardNumber: cardNumber\n };\n const response = await DocumentsService.updateDocumentType(\n globalState.merchant?.id,\n documentToView.documentId,\n data\n );\n if (response.isSuccesfully) {\n setShowMessage(true);\n setMessageType('success');\n setMessage('Card number got updated successfully');\n }\n };\n\n useEffect(() => {\n const coutry = globalState.merchant?.country === MerchantCountries.AUSTRALIA;\n if (coutry) {\n let validNumber = /^[a-zA-Z0-9]{6,11}$/.test(idNumber);\n if (validNumber) {\n setIsValidIdNumber(true);\n } else {\n setIsValidIdNumber(false);\n }\n } else {\n let validNumber = /^[0-9]{7,15}$/.test(idNumber);\n if (validNumber) {\n setIsValidIdNumber(true);\n } else {\n setIsValidIdNumber(false);\n }\n }\n }, [idNumber]);\n useEffect(() => {\n let validNumber = /^[a-zA-Z0-9]{6,10}$/.test(cardNumber);\n if (validNumber) {\n setIsValidCardNumber(true);\n } else {\n setIsValidCardNumber(false);\n }\n }, [cardNumber]);\n\n return (\n \n );\n}\n","import React from 'react';\nimport {\n Button,\n Dialog,\n Grid,\n Typography,\n Switch,\n List,\n ListItem,\n ListItemText,\n ListItemSecondaryAction,\n TextField,\n Tooltip\n} from '@material-ui/core';\nimport styles from './merchant-verification-checklist.module.scss';\nimport { withStyles } from '@material-ui/core/styles';\nimport LoadingScreen from 'components/loading-screen/loading-screen.container';\nimport CloseIcon from '@material-ui/icons/Close';\n\nconst IOSSwitch = withStyles((theme) => ({\n root: {\n width: 50,\n height: 26,\n padding: 0,\n margin: theme.spacing(1)\n },\n switchBase: {\n padding: 1,\n '&$checked': {\n transform: 'translateX(24px)',\n color: theme.palette.common.white,\n '& + $track': {\n backgroundColor: '#52d869',\n opacity: 1,\n border: 'none'\n }\n },\n '&$focusVisible $thumb': {\n color: '#52d869',\n border: '6px solid #fff'\n }\n },\n thumb: {\n width: 24,\n height: 24\n },\n track: {\n borderRadius: 26 / 2,\n border: `1px solid ${theme.palette.grey[400]}`,\n backgroundColor: theme.palette.grey[50],\n opacity: 1,\n transition: theme.transitions.create(['background-color', 'border'])\n },\n checked: {},\n focusVisible: {}\n}))(({ classes, ...props }) => {\n return (\n \n );\n});\nconst MerchantVerificationCheckListComponent = (props) => {\n const {\n isMerchantVerificationCheckListOpen,\n setIsMerchantVerificationCheckListOpen,\n checkList,\n toggleChecked,\n disabled,\n rejectMerchant,\n loading,\n setNotes,\n notes,\n sendButtonDisabled,\n sendNotes,\n showSendANote,\n acceptMerchantAccountByAdmin,\n rejectDisableButton\n } = props;\n return (\n {\n setIsMerchantVerificationCheckListOpen(false);\n }}\n maxWidth=\"xl\"\n fullWidth\n className={styles.dialogWrapper}\n >\n
    \n \n \n \n Merchant Verification - Checklist\n \n \n \n {\n setIsMerchantVerificationCheckListOpen(false);\n }}\n >\n \n \n \n \n \n \n {checkList?.map((checkListPoint, index) => (\n \n \n \n toggleChecked(index)} />\n \n \n ))}\n \n \n \n rejectMerchant()}\n disabled={rejectDisableButton}\n >\n Reject\n \n \n Accept\n \n \n
    \n {showSendANote && (\n \n setNotes(e.target.value)}\n />\n \n \n Send & Close\n \n \n \n )}\n \n \n );\n};\n\nexport default MerchantVerificationCheckListComponent;\n","import React, { useState, useEffect } from 'react';\nimport { AdminService } from 'services';\nimport MerchantVerificationCheckListComponent from './merchant-verification-checklist.component';\nimport { useGlobalStateContext, useAdminFunctionsContext } from 'contexts';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport { MerchantAccountStatus } from 'utils/enums/MerchantAccountStatus';\n\nconst MerchantVerificationCheckList = (props) => {\n const { globalState } = useGlobalStateContext();\n const { adminFunctions, setAdminFunctions } = useAdminFunctionsContext();\n const {\n isMerchantVerificationCheckListOpen,\n setIsMerchantVerificationCheckListOpen,\n setMerchantVerificationAcceptRejectMessage,\n setMessageType,\n setShowMessage,\n setOrangeMessageStyle\n } = props;\n const [checkList, setCheckList] = useState([]);\n const [disabled, setDisabled] = useState(true);\n const [loading, setLoading] = useState(false);\n const [isPep, setIsPep] = useState(true);\n const [notes, setNotes] = useState('');\n const [sendButtonDisabled, setSendButtonDisabled] = useState(false);\n const [showSendANote, setShowSendANote] = useState(false);\n const [rejectDisableButton, setRejectDisableButton] = useState(false);\n const pepIndex = 6;\n const errorMessage = 'An error occurred. Try again !';\n\n useEffect(() => {\n const getCheckList = () => {\n const checkListPoints = [\n {\n text: `1. The name on the Bank Statement matches the name on the Datman account.`,\n checked: false\n },\n {\n text: `2. The address on the Utility bills matches details provided on the account.`,\n checked: false\n },\n {\n text: `3. The personal identification document provided is genuine and matches the account.`,\n checked: false\n },\n {\n text: `4. The business actually exists on Companies house or Core for Irish payees if it's Limited company.`,\n checked: false\n },\n {\n text: `5. The business has an online presence if any.`,\n checked: false\n },\n {\n text: `6. Research to see if the individual appears on New article online, to see whether they are associated with any publicly reported criminal offences.`,\n checked: false\n },\n {\n text: `7. Do the Lexis Nexis (UK) or Veriphy (Ireland) checks confirm that the merchant is not recognized as a PEP?`,\n checked: false\n },\n {\n text: `8. I confirm that I have no connection with this merchant.`,\n checked: false\n }\n ];\n setCheckList(checkListPoints);\n setIsPep(true);\n setNotes('');\n setSendButtonDisabled(false);\n setShowSendANote(false);\n setRejectDisableButton(false);\n };\n getCheckList();\n }, [isMerchantVerificationCheckListOpen]);\n\n useEffect(() => {\n if (showSendANote && isPep) {\n setShowSendANote(false);\n setRejectDisableButton(false);\n }\n // eslint-disable-next-line\n }, [isPep]);\n\n const toggleChecked = (index) => {\n const checkListPoints = [...checkList];\n checkListPoints[index].checked = !checkListPoints[index].checked;\n setCheckList(checkListPoints);\n if (index === pepIndex) {\n setIsPep(!isPep);\n }\n };\n\n useEffect(() => {\n const unchecked = checkList.find((checkListPoint) => !checkListPoint.checked);\n if (unchecked === undefined) {\n setDisabled(false);\n } else {\n setDisabled(true);\n }\n }, [checkList]);\n\n const updateMerchantData = async (merchantStatus) => {\n const response = await AdminService.UpdateMerchantDataForAdmin(globalState.merchant?.id, {\n status: merchantStatus,\n resellerId: globalState.reseller?.id,\n rejectThroughMerchantVerification: true\n });\n return response;\n };\n\n const sendMerchantRejectionMail = async (data) => {\n const updateMerchantDataResponse = await updateMerchantData(MerchantStatus.REJECTED);\n if (updateMerchantDataResponse?.isSuccesfully) {\n const response = await AdminService.adminRejectMerchantEmailNotification(data);\n setShowMessage(true);\n if (response.isSuccesfully) {\n setAdminFunctions({\n ...adminFunctions,\n accountStatus: MerchantAccountStatus.REJECTED\n });\n setOrangeMessageStyle(true);\n setMessageType('success');\n setMerchantVerificationAcceptRejectMessage('Account rejected and notified client');\n } else {\n setMessageType('error');\n setMerchantVerificationAcceptRejectMessage(errorMessage);\n }\n } else {\n setShowMessage(true);\n setMessageType('error');\n setMerchantVerificationAcceptRejectMessage(errorMessage);\n }\n };\n\n const rejectMerchant = async () => {\n if (!isPep) {\n setRejectDisableButton(true);\n setShowSendANote(true);\n } else {\n setLoading(true);\n const data = { resellerId: globalState.reseller.id, merchantId: globalState.merchant.id, isPep: isPep };\n await sendMerchantRejectionMail(data);\n setLoading(false);\n setIsMerchantVerificationCheckListOpen(false);\n }\n };\n\n const sendNotes = async () => {\n setLoading(true);\n const data = {\n merchantId: globalState.merchant?.id,\n resellerId: globalState.reseller?.id,\n isPep: isPep,\n notes: notes\n };\n setSendButtonDisabled(true);\n await sendMerchantRejectionMail(data);\n setLoading(false);\n setIsMerchantVerificationCheckListOpen(false);\n };\n\n const acceptMerchantAccountByAdmin = async () => {\n setLoading(true);\n const response = await updateMerchantData(MerchantStatus.ACTIVE);\n setShowMessage(true);\n if (response.isSuccesfully) {\n setAdminFunctions({\n ...adminFunctions,\n accountStatus: MerchantAccountStatus.ACTIVE\n });\n setMessageType('success');\n setMerchantVerificationAcceptRejectMessage('Approved account successfully !');\n } else {\n setMessageType('error');\n setMerchantVerificationAcceptRejectMessage(errorMessage);\n }\n setLoading(false);\n setIsMerchantVerificationCheckListOpen(false);\n };\n\n return (\n \n );\n};\n\nexport default MerchantVerificationCheckList;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n Grid,\n TableContainer,\n Table,\n TableBody,\n TableRow,\n TableCell,\n Select,\n MenuItem,\n FormControl,\n InputLabel,\n Button,\n Tooltip,\n TableFooter,\n TablePagination\n} from '@material-ui/core';\n\nimport style from './document-review.module.scss';\nimport { makeStyles } from '@material-ui/core/styles';\nimport TableHeader from '../../../payments/transaction-tables/table-header/table-header.container';\nimport { formatDateTimeByFormatString, stableSort, getComparator } from '../../../../utils/helper';\nimport { DocumentReviewStatus } from '../../../../utils/enums/DocumentReviewStatus';\nimport { DocumentReviewReasons } from '../../../../utils/enums/DocumentReviewReasons';\nimport { DocumentTypes, DocumentTypesId } from '../../../../utils/enums/DocumentType';\nimport { DocumentStatusColor } from 'utils/enums/DocumentStatusColors';\nimport { SnackBarAndAlert } from 'components';\nimport DialogViewDocuments from '../../admin-functions/view-documents/dialog-view-documents/dialog-view-documents.container';\nimport MerchantVerificationCheckList from '../../admin-functions/view-documents/merchant-verification-checklist/merchant-verification-checklist.container';\nimport { useGlobalStateContext } from 'contexts';\nimport { LoadingScreen } from 'components';\nconst _ = require('lodash');\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n width: '100%'\n },\n paper: {\n width: '100%',\n marginBottom: theme.spacing(2),\n boxShadow: 'none'\n },\n container: {\n 'overflow-y': 'visible'\n },\n table: {\n minWidth: '100%'\n },\n tableRow: {\n '&$selected, &$selected:hover': {\n backgroundColor: '#e4e1fe'\n }\n },\n selected: {},\n visuallyHidden: {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: 1,\n margin: -1,\n padding: 0,\n position: 'absolute',\n top: 20,\n width: 1\n },\n checkbox: {\n color: '#8783b5'\n },\n 'MuiIconButton-root': {\n padding: '0px 12px'\n }\n}));\n\nfunction DocumentReviewComponent(props) {\n const classes = useStyles();\n const { globalState } = useGlobalStateContext();\n\n const {\n documentToReview,\n documentReviewReason,\n setDocumentReviewReason,\n order,\n orderBy,\n documentType,\n setDocumentType,\n documentStatus,\n setDocumentStatus,\n filterDocuments,\n defaultDocumentType,\n isModalOpen,\n setIsModalOpen,\n isMerchantVerificationCheckListOpen,\n setIsMerchantVerificationCheckListOpen,\n merchantVerificationAcceptRejectMessage,\n setMerchantVerificationAcceptRejectMessage,\n showMessage,\n setShowMessage,\n messageType,\n setMessageType,\n orangeMessageStyle,\n setOrangeMessageStyle,\n documentIndex,\n setDocumentIndex,\n setDocumentsUpdated,\n setDocumentToReview,\n setShowAdyenMessage,\n showAdyenMessage,\n message,\n setMessage,\n updateDocumentTypeHandler,\n isLoading,\n count,\n rowsPerPage,\n page,\n handleChangePage,\n handleChangeRowsPerPage,\n uploadDocumentToAdyenAccount\n } = props;\n return (\n \n \n \n \n Document Review reason\n \n\n {\n setDocumentReviewReason(e.target.value);\n filterDocuments(e.target.value, documentType, documentStatus);\n }}\n id=\"document-review-status\"\n >\n {Object.keys(DocumentReviewReasons).map((reason) => (\n {DocumentReviewReasons[reason]}\n ))}\n \n \n \n \n Document type\n \n {\n setDocumentType(e.target.value);\n filterDocuments(documentReviewReason, e.target.value, documentStatus);\n }}\n id=\"document-type\"\n >\n {_.sortBy(DocumentTypes, [\n function (docType) {\n return docType.name;\n }\n ]).map((document) =>\n document.id !== -1 ? (\n {document.name}\n ) : (\n {defaultDocumentType}\n )\n )}\n \n \n \n \n Document status\n \n {\n setDocumentStatus(e.target.value);\n filterDocuments(documentReviewReason, documentType, e.target.value);\n }}\n id=\"document-type\"\n >\n {Object.keys(DocumentReviewStatus).map((status) => (\n {DocumentReviewStatus[status]}\n ))}\n \n \n \n \n \n \n \n {!documentToReview || documentToReview.length === 0 ? (\n \n \n \n No records found\n \n \n \n ) : (\n \n {stableSort(documentToReview, getComparator(order, orderBy))?.map((document, index) => (\n \n \n {\n updateDocumentTypeHandler(document.documentId, e.target.value);\n }}\n id=\"document-type\"\n >\n {_.sortBy(DocumentTypes, [\n function (o) {\n return o.name;\n }\n ]).map(\n (document) =>\n document.id !== -1 && (\n {document.name}\n )\n )}\n \n \n\n \n \n \n \n {\n setIsModalOpen(true);\n setDocumentIndex(index);\n }}\n >\n {document.filename}\n \n \n \n\n \n \n {DocumentReviewStatus[document.documentStatus]}\n \n \n \n\n {globalState.merchant?.isAdyenMerchant &&\n [\n DocumentTypesId.DRIVING_LICENCE,\n DocumentTypesId.PASSPORT,\n DocumentTypesId.PROOF_OF_ORGANIZATION_TAX_INFO,\n DocumentTypesId.VAT_DOCUMENT,\n DocumentTypesId.ID_PROOF_FRONT,\n DocumentTypesId.ID_PROOF_BACK\n ].includes(document.docTypeId) &&\n ['NEED_APPROVAL', 'ACTIVE'].includes(document.documentStatus) && (\n \n {\n uploadDocumentToAdyenAccount(\n document.documentId,\n index\n );\n }}\n >\n UPLOAD TO ADYEN\n \n \n )}\n \n \n {formatDateTimeByFormatString(document.createdAt, 'DD MMM YYYY HH:mm')}\n \n \n ))}\n \n )}\n \n \n \n\n \n {count !== 0 && (\n \n \n \n \n \n )}\n \n \n \n {showMessage && (\n {\n setOrangeMessageStyle(false);\n setShowMessage(false);\n }}\n type={messageType}\n orangeColor={orangeMessageStyle}\n >\n {merchantVerificationAcceptRejectMessage}\n \n )}\n {showAdyenMessage && (\n {\n setMessage('');\n setShowAdyenMessage(false);\n }}\n type={messageType}\n >\n {message}\n \n )}\n \n \n );\n}\n\nDocumentReviewComponent.propTypes = {\n documentToReview: PropTypes.array,\n documentReviewReason: PropTypes.string,\n setDocumentReviewReason: PropTypes.func,\n filterDocumentsByReason: PropTypes.func,\n changeDocumentStatus: PropTypes.func,\n order: PropTypes.string,\n orderBy: PropTypes.string,\n documentType: PropTypes.func,\n setDocumentType: PropTypes.string,\n filterDocumentsByDocumentType: PropTypes.func\n};\nexport default DocumentReviewComponent;\n","import React, { useEffect, useState } from 'react';\nimport DocumentReviewComponent from './document-review.component';\nimport { useGlobalStateContext } from 'contexts';\nimport { DocumentsService, AdminService, AdyenService } from 'services';\nimport { useAdminFunctionsContext } from 'contexts';\nimport { MerchantAccountStatus } from 'utils/enums/MerchantAccountStatus';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport { DocumentTypes } from '../../../../utils/enums/DocumentType';\n\nconst DocumentReview = (props) => {\n const { globalState } = useGlobalStateContext();\n const entity = 'merchant';\n const defaultDocumentType = 'All';\n const defaultDocumentStatus = 'ALL';\n const defaultDocumentReviewReason = 'ALL';\n const [documentToReview, setDocumentToReview] = useState([]);\n const { setAdminFunctions } = useAdminFunctionsContext();\n const [isLoading, setIsLoading] = useState(false);\n const [documentReviewReason, setDocumentReviewReason] = useState(defaultDocumentReviewReason);\n const [allDocumentToReview, setAllDocumentsToReview] = useState([]);\n const [order, setOrder] = useState('desc');\n const [orderBy, setOrderBy] = useState('createdAt');\n const [documentType, setDocumentType] = useState(defaultDocumentType);\n const [documentStatus, setDocumentStatus] = useState(defaultDocumentStatus);\n const [isModalOpen, setIsModalOpen] = useState(false);\n const [isMerchantVerificationCheckListOpen, setIsMerchantVerificationCheckListOpen] = useState(false);\n const [merchantVerificationAcceptRejectMessage, setMerchantVerificationAcceptRejectMessage] = useState('');\n const [showMessage, setShowMessage] = useState(false);\n const [messageType, setMessageType] = useState('');\n const [orangeMessageStyle, setOrangeMessageStyle] = useState(false);\n const [documentIndex, setDocumentIndex] = useState(0);\n const [documentUpdated, setDocumentsUpdated] = useState(false);\n const [message, setMessage] = useState('');\n const [showAdyenMessage, setShowAdyenMessage] = useState(true);\n const [page, setPage] = useState(0);\n const [rowsPerPage, setRowsPerPage] = useState(10);\n const [documentToView, setDocumnetToView] = useState([]);\n const [count, setCount] = useState(0);\n\n const { download, setDownload, pathMerchantId } = props;\n\n useEffect(() => {\n const fetchData = async () => {\n setIsLoading(true);\n if (pathMerchantId) {\n const merchantData = await AdminService.GetMerchantDataForAdmin(pathMerchantId);\n if (merchantData.isSuccesfully) {\n switch (merchantData.data.status) {\n case MerchantStatus.MERCHANT_PENDING:\n merchantData.data.accountStatus = MerchantAccountStatus.PENDING;\n break;\n case MerchantStatus.ACTIVE:\n merchantData.data.accountStatus = MerchantAccountStatus.ACTIVE;\n break;\n case MerchantStatus.CLOSED:\n merchantData.data.accountStatus = MerchantAccountStatus.CLOSED;\n break;\n case MerchantStatus.REJECTED:\n merchantData.data.accountStatus = MerchantAccountStatus.REJECTED;\n break;\n default:\n merchantData.data.accountStatus = MerchantAccountStatus.PENDING;\n break;\n }\n setAdminFunctions(merchantData.data);\n }\n }\n setIsLoading(false);\n };\n fetchData();\n // eslint-disable-next-line\n }, [pathMerchantId]);\n\n useEffect(() => {\n const getData = async () => {\n setIsLoading(true);\n const response = await DocumentsService.listObjects(entity, globalState.merchant?.id);\n\n if (response.isSuccesfully) {\n const listOfParams = [];\n response.data.forEach((file) => {\n const fileObj = {};\n fileObj.entity = entity;\n fileObj.entityId = globalState.merchant?.id;\n fileObj.documentId = file.id;\n fileObj.filename = file.filename;\n fileObj.documentTypeName = file.DocumentType?.name;\n fileObj.createdAt = file.created_at;\n fileObj.documentStatus = file.status;\n fileObj.flag = file.flag;\n fileObj.docTypeId = file.doc_type_id;\n fileObj.idNumber = file.idNumber;\n fileObj.cardNumber = file.cardNumber;\n listOfParams.push(fileObj);\n });\n\n setDocumentToReview(listOfParams);\n setAllDocumentsToReview(listOfParams);\n setDocumentType(defaultDocumentType);\n setDocumentReviewReason(defaultDocumentReviewReason);\n setDocumentStatus(defaultDocumentStatus);\n setCount(listOfParams.length);\n setDocumnetToView(listOfParams.slice(0, rowsPerPage));\n setPage(0);\n }\n setIsLoading(false);\n };\n\n getData();\n\n // eslint-disable-next-line\n }, [globalState.merchant]);\n\n useEffect(() => {\n const fetchData = async () => {\n const response = await DocumentsService.listObjects(entity, globalState.merchant?.id);\n if (response.isSuccesfully) {\n const updatedDocuments = response.data;\n const allDocuments = [...allDocumentToReview];\n for (let i = 0; i < updatedDocuments.length; i++) {\n if (updatedDocuments[i].id === allDocuments[i].documentId) {\n if (updatedDocuments[i].status !== allDocuments[i].documentStatus) {\n allDocuments[i].documentStatus = updatedDocuments[i].status;\n }\n }\n }\n setAllDocumentsToReview([...allDocuments]);\n }\n };\n\n if (documentUpdated) {\n fetchData();\n }\n // eslint-disable-next-line\n }, [documentUpdated]);\n\n useEffect(() => {\n if (documentUpdated) {\n filterDocuments(documentReviewReason, documentType, documentStatus);\n setDocumentsUpdated(false);\n }\n // eslint-disable-next-line\n }, [allDocumentToReview]);\n\n useEffect(() => {\n const doDownload = async () => {\n setIsLoading(true);\n await DocumentsService.getObjects(documentToReview);\n setIsLoading(false);\n setDownload(false);\n };\n\n if (download) {\n doDownload();\n }\n\n // eslint-disable-next-line\n }, [download]);\n\n const filterDocuments = (documentReviewReason, documentType, documentStatus) => {\n const defaultReviewCondition = documentReviewReason === defaultDocumentReviewReason;\n const defaultTypeConditions = documentType === defaultDocumentType;\n const defaultStatusConditions = documentStatus === defaultDocumentStatus;\n\n const filteredDocuments = allDocumentToReview.filter(\n (document) =>\n (defaultReviewCondition ? true : document.flag === documentReviewReason) &&\n (defaultTypeConditions ? true : document.documentTypeName === documentType) &&\n (defaultStatusConditions ? true : document.documentStatus === documentStatus)\n );\n setDocumentToReview(filteredDocuments);\n setDocumnetToView(filteredDocuments.slice(0, rowsPerPage));\n setCount(filteredDocuments.length);\n setPage(0);\n };\n\n let headCells = [\n {\n id: 'document_type',\n numeric: true,\n disablePadding: false,\n label: 'Document type',\n hideSortingIcon: true\n },\n\n {\n id: 'file_name',\n numeric: false,\n disablePadding: false,\n label: 'File name',\n hideSortingIcon: true\n },\n\n { id: 'createdAt', numeric: false, disablePadding: false, label: 'Date', hideSortingIcon: false }\n ];\n\n const handleRequestSort = (event, property) => {\n const isDesc = orderBy === property && order === 'desc';\n setOrder(isDesc ? 'asc' : 'desc');\n setOrderBy(property);\n };\n\n const updateDocumentTypeHandler = async (documentID, documentType) => {\n setIsLoading(true);\n const documentTypeId = DocumentTypes.filter((doc) => doc.name === documentType)[0].id;\n let selectedDocFromReview = documentToReview.filter((doc) => doc.documentId === documentID)[0];\n selectedDocFromReview = {\n ...selectedDocFromReview,\n docTypeId: documentTypeId,\n documentTypeName: documentType\n };\n const data = {\n documentTypeId: documentTypeId\n };\n const selectedDocIndex = allDocumentToReview.findIndex((doc) => doc.documentId === documentID);\n const tempAllDoc = [...allDocumentToReview];\n tempAllDoc[selectedDocIndex] = selectedDocFromReview;\n setAllDocumentsToReview(tempAllDoc);\n setDocumentsUpdated(true);\n await DocumentsService.updateDocumentType(globalState.merchant?.id, documentID, data);\n setIsLoading(false);\n };\n\n const uploadDocumentToAdyenAccount = async (documentId, index) => {\n const documentTypeId = documentToReview[index].docTypeId;\n\n setIsLoading(true);\n const data = {\n documentId: documentId,\n documentTypeId: documentTypeId\n };\n const response = await AdyenService.AdyenUploadDocument(globalState.merchant?.id, data);\n setShowAdyenMessage(true);\n if (response) {\n setMessageType(\n response.data.uploadPlatformDocumentIds.status === 'error'\n ? response.data.uploadPlatformDocumentIds.status\n : 'success'\n );\n setMessage(response.data.uploadPlatformDocumentIds.message);\n } else {\n setMessageType('error');\n if (response.data.message) {\n setMessage(response.data.message);\n } else if (response.data) {\n setMessage(response.data);\n } else {\n setMessage('An error occurred!');\n }\n }\n setIsLoading(false);\n };\n\n const handleChangePage = (event, newPage) => {\n setPage(newPage);\n setDocumnetToView(documentToReview.slice(newPage * rowsPerPage, newPage * rowsPerPage + rowsPerPage));\n };\n\n const handleChangeRowsPerPage = (event) => {\n setPage(0);\n setRowsPerPage(parseInt(event.target.value, 10));\n setDocumnetToView(documentToReview.slice(0, parseInt(event.target.value, 10)));\n };\n\n return (\n \n );\n};\n\nexport default DocumentReview;\n","export const RefundStatus = {\n Processed: 'PROCESSED',\n 'Not processed': 'NOT-PROCESSED',\n All: 'ALL'\n};\n","import React from 'react';\nimport style from './list-refund.module.scss';\nimport PropTypes from 'prop-types';\nimport { getComparator, stableSort } from '../../utils/helper';\nimport {\n TableBody,\n TableCell,\n TableRow,\n Table,\n TableContainer,\n Select,\n MenuItem,\n Button,\n Grid,\n Paper,\n Container,\n TextField,\n CircularProgress,\n TableFooter,\n TablePagination,\n Box,\n Typography,\n Tooltip,\n FormControl,\n InputLabel\n} from '@material-ui/core';\nimport { SnackBarAndAlert, ModalFormConfirmation } from 'components';\nimport { RefundStatus } from '../../utils/enums/RefundStatus';\nimport TableHeader from '../payments/transaction-tables/table-header/table-header.container';\nimport moment from 'moment';\nimport { Link } from 'react-router-dom';\n\nconst ListRefundComponent = (props) => {\n const {\n rows,\n loading,\n error,\n onRefundProcess,\n refundStatusFilter,\n handleChangePage,\n handleChangeRowsPerPage,\n page,\n rowsPerPage,\n message,\n refundStatus,\n setRefundStatus,\n setRefSearchTerm,\n\n setSearchMerchant,\n headCells,\n refSearchTerm,\n searchMerchant,\n refundProcessConfirmation,\n setRefundProcessConfirmation,\n setRefundPaymentId,\n refundPaymentId,\n onCombinedSearch,\n setRefundStatusFilter,\n onCancelRefund,\n count\n } = props;\n return (\n \n \n \n setRefSearchTerm(e.target.value)}\n />\n onCombinedSearch()}\n >\n Search\n \n \n \n setSearchMerchant(e.target.value)}\n />\n\n onCombinedSearch()}\n >\n Search\n \n \n \n \n \n Filter by status\n \n {\n setRefundStatusFilter(e.target.value);\n }}\n className={style.selectInput}\n >\n {Object.keys(RefundStatus).map((status) => (\n {status}\n ))}\n \n \n \n \n \n {loading ? (\n \n \n \n ) : error ? (\n
    An error occurred, please try reloading your browser.
    \n ) : (\n \n \n \n \n {!rows || rows.length === 0 ? (\n \n \n
    No refunds
    \n
    \n
    \n ) : (\n \n \n {stableSort(rows, getComparator()).map((row, index) => {\n return (\n \n \n {row.business_name}\n \n \n {row.cross_reference}\n \n \n {row.customer_firstname}\n \n \n {row.customer_lastname}\n \n \n {row.address}\n \n \n {row.refund_reason ? (\n \n {row.refund_reason}\n \n ) : (\n \n )}\n \n \n {moment.utc(row.time).format('YYYY-MM-DD HH:mm')}\n \n \n {row.refund_processed_status === 'NOT-PROCESSED' ? (\n {\n setRefundProcessConfirmation(true);\n setRefundPaymentId({\n paymentId: row.payment_id,\n refundStatus: 'REFUND-PROCESSED'\n });\n }}\n >\n \n Refund processed?\n \n \n ) : (\n \n Refund processed\n \n )}\n \n \n {\n e.preventDefault();\n window.open(\n row.payment_provider_mms_link,\n '_blank'\n );\n }}\n >\n View\n \n \n \n );\n })}\n \n \n )}\n \n \n {count > 20 && (\n \n )}\n \n \n \n
    \n {refundProcessConfirmation && (\n \n onRefundProcess(refundPaymentId.paymentId, refundPaymentId.refundStatus)\n }\n />\n )}\n {message && (\n setRefundStatus('')}\n type=\"success\"\n >\n {message}\n \n )}\n {message && (\n setRefundStatus('')}\n type=\"error\"\n >\n {message}\n \n )}\n
    \n )}\n
    \n
    \n );\n};\nexport default ListRefundComponent;\n\nListRefundComponent.propTypes = {\n loading: PropTypes.bool,\n rows: PropTypes.array,\n error: PropTypes.bool,\n onRefundProcess: PropTypes.func,\n refundStatusFilter: PropTypes.string,\n handleChangePage: PropTypes.func,\n handleChangeRowsPerPage: PropTypes.func,\n refundFilterUpdate: PropTypes.func,\n setSearchMerchant: PropTypes.func,\n setRefundStatus: PropTypes.func,\n setRefundPaymentId: PropTypes.func\n};\n","import React from 'react';\nimport ListRefundComponent from './list-refund.component';\nimport { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport moment from 'moment';\nimport { AdminService } from 'services';\nimport { RefundStatus } from '../../utils/enums/RefundStatus';\n\nconst RefundList = (props) => {\n const [offrange, setOffrange] = useState(true);\n const [refundStatusFilter, setRefundStatusFilter] = useState(RefundStatus.All);\n const [listRefunds, setListRefunds] = useState([]);\n const [loading, setLoading] = useState(false);\n const [error, setError] = useState(false);\n const { path, range, date, via } = props;\n const [message, setMessage] = useState('');\n const [refundStatus, setRefundStatus] = useState(RefundStatus.All);\n const [page, setPage] = useState(0);\n const [rowsPerPage, setRowsPerPage] = useState(20);\n const [refSearchTerm, setRefSearchTerm] = useState('');\n const [searchMerchant, setSearchMerchant] = useState('');\n const [refundProcessConfirmation, setRefundProcessConfirmation] = useState(false);\n const [refundPaymentId, setRefundPaymentId] = useState({});\n const [count, setCount] = useState(0);\n\n useEffect(() => {\n getRefundList(0);\n // eslint-disable-next-line\n }, [date, via, refundStatusFilter]);\n const getRefundList = async (newPage, newRowsPerPage) => {\n setLoading(true);\n const thePage = newPage ?? page;\n const theRowsPerPage = newRowsPerPage ?? rowsPerPage;\n const day = moment(date, 'YYYY-MM-DD').date();\n const month = moment(date, 'YYYY-MM-DD').month() + 1;\n const year = moment(date, 'YYYY-MM-DD').year();\n\n let payload = {\n month,\n year,\n status: refundStatusFilter,\n offset: thePage * theRowsPerPage,\n limit: theRowsPerPage\n };\n searchMerchant && (payload = { ...payload, name: searchMerchant });\n refSearchTerm && (payload = { ...payload, crossReference: refSearchTerm });\n if (via === 'day') {\n payload = {\n ...payload,\n day\n };\n }\n const responseList = await AdminService.getRefundList(payload);\n if (responseList.isSuccesfully) {\n setListRefunds(responseList.data.data);\n setCount(responseList.data.count);\n } else {\n setError(true);\n }\n\n setLoading(false);\n };\n\n const handleChangePage = (event, newPage) => {\n setPage(newPage);\n getRefundList(newPage);\n };\n const handleChangeRowsPerPage = (event) => {\n setRowsPerPage(parseInt(event.target.value, 10));\n getRefundList(0, parseInt(event.target.value, 10));\n setPage(0);\n };\n\n const onCancelRefund = () => {\n setRefundProcessConfirmation(false);\n setRefundPaymentId({});\n };\n\n const onRefundProcess = async (payment_id, status) => {\n setLoading(true);\n const response = await AdminService.UpdateRefundStatus({\n payment_id,\n status\n });\n if (response.isSuccesfully) {\n setRefundStatus(response.data.status);\n setMessage(response.data.message);\n } else {\n setRefundStatus('error');\n setMessage('An error occured. Please contact support or try again');\n }\n await getRefundList(page, rowsPerPage);\n setLoading(false);\n setRefundProcessConfirmation(false);\n setRefundPaymentId({});\n };\n\n const onCombinedSearch = () => {\n getRefundList(0);\n };\n useEffect(() => {\n const urls = {\n next: `/${path}/${range}/`,\n previous: `/${path}/${range}/`,\n range: date\n };\n\n switch (range) {\n case 'day': {\n urls.range = moment(date).format('DD MMM YY');\n urls.previous += moment(date).subtract(1, 'day').format('YYYY-MM-DD');\n urls.next += moment(date).add(1, 'day').format('YYYY-MM-DD');\n break;\n }\n case 'month': {\n urls.range = moment(date).format('MMMM / YYYY');\n urls.previous += moment(date).subtract(1, 'month').format('YYYY-MM-DD');\n urls.next += moment(date).add(1, 'month').format('YYYY-MM-DD');\n break;\n }\n default:\n break;\n }\n }, [path, range, date, offrange]);\n\n let headCells = [\n {\n id: 'business',\n numeric: false,\n disablePadding: false,\n label: 'Business',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'paymentreference',\n numeric: false,\n disablePadding: false,\n label: 'Payment reference',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'firstName',\n numeric: false,\n disablePadding: false,\n label: 'First name',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'lastName',\n numeric: false,\n disablePadding: false,\n label: 'Last name',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'address',\n numeric: false,\n disablePadding: false,\n label: 'Address',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'refund',\n numeric: false,\n disablePadding: false,\n label: 'Refund',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'date',\n numeric: false,\n disablePadding: false,\n label: 'Date',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'refundStatus',\n numeric: false,\n disablePadding: false,\n label: 'Refund status',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'view',\n numeric: false,\n disablePadding: false,\n label: 'View',\n hideSortingIcon: true,\n alignCenter: true\n }\n ];\n\n return (\n \n );\n};\nexport default RefundList;\n\nRefundList.propTypes = {\n onChangeDateRange: PropTypes.func,\n path: PropTypes.string.isRequired,\n date: PropTypes.string.isRequired,\n offrange: PropTypes.bool,\n setOffrange: PropTypes.func,\n locationInApp: PropTypes.string\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { NativeSelect, Grid } from '@material-ui/core';\nimport { FormItem, Label, Input } from '../../../onboarding/onboarding-ui-components';\nimport { useGlobalStateContext, useAdminFunctionsContext } from 'contexts';\nimport { UserType } from 'utils/enums/UserType';\nimport { SnackBarAndAlert, LoadingScreen, ModalFormConfirmation } from 'components';\nimport { MerchantAccountStatus } from 'utils/enums/MerchantAccountStatus';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\n\nexport default function AutoWithdrawalComponent(props) {\n const { globalState } = useGlobalStateContext();\n const { adminFunctions } = useAdminFunctionsContext();\n\n const {\n onChange,\n message,\n setMessage,\n messageType,\n loading,\n openModal,\n setOpenModal,\n autoWithdrawStatus,\n autoWithdrawalStatusChangeHandler\n } = props;\n const isReseller = globalState.user?.UserType?.name === UserType.Reseller;\n const onOffStatus = autoWithdrawStatus ? 'on' : 'off';\n const isMerchantAccountClosed = globalState.merchant?.status === MerchantStatus.CLOSED;\n\n return (\n
    \n \n \n \n \n \n \n {\n autoWithdrawalStatusChangeHandler(e.target.value);\n }}\n />\n }\n >\n \n \n \n \n \n \n \n {message && (\n setMessage('')}>\n {message}\n \n )}\n \n
    \n );\n}\n\nAutoWithdrawalComponent.propTypes = {\n onChange: PropTypes.func\n};\n","import { useGlobalStateContext, useAdminFunctionsContext } from 'contexts';\nimport React, { useState, useEffect } from 'react';\nimport { AdminService } from 'services';\nimport AutoWithdrawalComponent from './auto-withdrawal-status.component';\n\nexport default function AutoWithdrawal() {\n const { globalState } = useGlobalStateContext();\n const [message, setMessage] = useState('');\n const [messageType, setMessageType] = useState('');\n const [loading, setLoading] = useState(false);\n const { adminFunctions, setAdminFunctions } = useAdminFunctionsContext();\n const [autoWithdrawStatus, setAutoWithdrawStatus] = useState(false);\n const [openModal, setOpenModal] = useState(false);\n\n useEffect(() => {\n setAutoWithdrawStatus(adminFunctions.autoWithdraw);\n }, [adminFunctions]);\n\n const autoWithdrawalStatusChangeHandler = (value) => {\n const status = value === '1' ? true : false;\n setAutoWithdrawStatus(status);\n setOpenModal(true);\n };\n\n const onChange = async () => {\n setOpenModal(false);\n setLoading(true);\n const statusValue = autoWithdrawStatus ? '1' : '0';\n const response = await AdminService.UpdateMerchantDataForAdmin(globalState.merchant?.id, {\n autoWithdraw: statusValue,\n resellerId: globalState.reseller?.id\n });\n\n setLoading(false);\n if (response.isSuccesfully) {\n setAdminFunctions({\n ...adminFunctions,\n autoWithdraw: autoWithdrawStatus\n });\n setMessageType('success');\n setMessage('Email successfully sent to notify client !');\n } else {\n setMessageType('error');\n setMessage('An error occurred to notify client via email. Try again !');\n }\n };\n\n return (\n \n );\n}\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport style from './missing-merchant.module.scss';\nimport { getComparator, stableSort } from '../../../utils/helper';\nimport { Link } from 'react-router-dom';\nimport TableHeader from '../../../components/payments/transaction-tables/table-header/table-header.container.js';\nimport {\n TableBody,\n TableCell,\n TableRow,\n Table,\n TableContainer,\n Paper,\n CircularProgress,\n TableFooter,\n TablePagination,\n Box,\n makeStyles,\n FormControl,\n FormControlLabel,\n Checkbox,\n Button,\n TextField\n} from '@material-ui/core';\nimport { MerchantStatusNames } from 'utils/enums/MerchantStatusNames';\n\nconst useStyles = makeStyles(() => ({\n visuallyHidden: {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: 1,\n margin: -1,\n padding: 0,\n position: 'absolute',\n top: 20,\n width: 1\n },\n tableCellSmallSize: {\n '& td': {\n padding: '6px 14px 6px 14px'\n },\n '& th': {\n padding: '6px 14px 6px 14px'\n }\n }\n}));\n\nfunction MissingMerchantComponent(props) {\n const {\n loading,\n error,\n page,\n rowsPerPage,\n rows,\n handleChangePage,\n handleChangeRowsPerPage,\n onGoToAccount,\n count,\n order,\n orderBy,\n showAdyen,\n setShowAdyen,\n setInputValue,\n onSearchMerchants\n } = props;\n const classes = useStyles();\n\n return (\n \n
    \n setInputValue(e.target.value)}\n />\n \n Search\n \n \n setShowAdyen(!showAdyen)} />\n }\n label=\"Adyen\"\n labelPlacement=\"end\"\n />\n \n \n\n \n {loading ? (\n \n \n \n ) : error ? (\n
    An error occurred, please try reloading your browser.
    \n ) : (\n \n {!rows || rows.length === 0 ? (\n
    No Missing Merchants
    \n ) : (\n \n \n \n \n\n \n {stableSort(rows, getComparator(order, orderBy)).map((row) => {\n return (\n \n \n {row.MerchantName}\n \n \n {row.MerchantId}\n \n \n {MerchantStatusNames[row.status]}\n \n \n {row.OwnersDetail.OwnerAddress?.postCode}\n \n \n {row.OwnersDetail.nationality}\n \n \n {row.OwnersDetail.birthDate}\n \n \n onGoToAccount(row.MerchantId)}>\n Account\n \n \n \n );\n })}\n \n \n \n \n \n \n \n \n {/* {redirected && (\n \n Data has been Updated Successfully\n \n )} */}\n {/* \n {message && (\n setRefundStatus('')}\n type=\"error\"\n >\n {message}\n \n )} */}\n \n )}\n
    \n )}\n
    \n
    \n );\n}\n\nMissingMerchantComponent.propTypes = {\n loading: PropTypes.bool,\n rows: PropTypes.array,\n error: PropTypes.bool,\n handleChangePage: PropTypes.func,\n handleChangeRowsPerPage: PropTypes.func\n};\n\nexport default MissingMerchantComponent;\n","import React, { useState, useEffect } from 'react';\nimport MissingMerchantComponent from './missing-merchant.component';\nimport AdminService from 'services/admin.service';\nimport PropTypes from 'prop-types';\nimport { useGlobalStateContext } from 'contexts';\nconst MissingMerchant = (props) => {\n const { getRoute, globalState } = useGlobalStateContext();\n const [loading, setLoading] = useState(false);\n const [error, setError] = useState(false);\n const [page, setPage] = useState(0);\n const [rowsPerPage, setRowsPerPage] = useState(20);\n const [missingList, setMissingList] = useState([]);\n const [count, setCount] = useState(0);\n const [order, setOrder] = React.useState('desc');\n const [orderBy, setOrderBy] = React.useState('createdDate');\n const [showAdyen, setShowAdyen] = useState(false);\n const [inputValue, setInputValue] = useState('');\n\n // const redirected = props.location.state?.redirected;\n const headCells = [\n { id: 'MerchantName', numeric: false, disablePadding: false, label: 'Name' },\n { id: 'MerchantId', numeric: false, disablePadding: false, label: 'Merchant ID', hideSortingIcon: true },\n { id: 'status', numeric: false, disablePadding: false, label: 'Status' },\n { id: 'postcode', numeric: false, disablePadding: false, label: 'Postcode', hideSortingIcon: true },\n { id: 'nationality', numeric: false, disablePadding: false, label: 'Nationality', hideSortingIcon: true },\n { id: 'dob', numeric: false, disablePadding: false, label: 'Date Of Birth', hideSortingIcon: true },\n { id: 'account', numeric: false, disablePadding: false, label: 'Account', hideSortingIcon: true }\n ];\n\n const handleChangePage = (event, newPage) => {\n setPage(newPage);\n getMissingMerchant(newPage);\n };\n\n const handleChangeRowsPerPage = (event) => {\n setRowsPerPage(parseInt(event.target.value, 10));\n getMissingMerchant(0, parseInt(event.target.value, 10));\n\n setPage(0);\n };\n\n useEffect(() => {\n setLoading(true);\n getMissingMerchant(0);\n setPage(0);\n // eslint-disable-next-line\n }, [globalState.reseller?.id, showAdyen]);\n\n const onSearchMerchants = (e) => {\n setPage(0);\n getMissingMerchant(0);\n e.preventDefault();\n };\n const getMissingMerchant = async (newPage, newRowsPerPage) => {\n setLoading(true);\n const thePage = newPage ?? page;\n const theRowsPerPage = newRowsPerPage ?? rowsPerPage;\n\n const response = await AdminService.GetMissingMerchant(globalState.reseller?.id, {\n offset: thePage * theRowsPerPage,\n limit: theRowsPerPage,\n isAdyen: showAdyen,\n searchValue: inputValue.length > 2 ? inputValue.trim() : 'no'\n });\n\n if (response.isSuccesfully) {\n setMissingList(response.data.data.ownerId);\n setCount(response.data.data.count);\n } else {\n setError(true);\n }\n setLoading(false);\n };\n const onGoToAccount = (merchantId) => {\n let routeToGo = getRoute(`/missing-merchant-document/${merchantId}`);\n window.open(routeToGo, '_blank');\n };\n const handleClose = (event, reason) => {\n if (reason === 'clickaway') {\n setError(false);\n }\n };\n const handleRequestSort = (event, property) => {\n const isAsc = orderBy === property && order === 'asc';\n setOrder(isAsc ? 'desc' : 'asc');\n setOrderBy(property);\n };\n return (\n \n );\n};\n\nMissingMerchant.propTypes = {\n handleChangePage: PropTypes.func,\n handleChangeRowsPerPage: PropTypes.func,\n loading: PropTypes.bool,\n rows: PropTypes.array,\n error: PropTypes.bool\n};\n\nexport default MissingMerchant;\n","export const nationalities = [\n '--Please select--',\n 'Afghan',\n 'Albanian',\n 'Algerian',\n 'American',\n 'Andorran',\n 'Angolan',\n 'Anguillan',\n 'Argentine',\n 'Armenian',\n 'Australian',\n 'Austrian',\n 'Azerbaijani',\n 'Bahamian',\n 'Bahraini',\n 'Bangladeshi',\n 'Barbadian',\n 'Belarusian',\n 'Belgian',\n 'Belizean',\n 'Beninese',\n 'Bermudian',\n 'Bhutanese',\n 'Bolivian',\n 'Botswanan',\n 'Brazilian',\n 'British',\n 'British Virgin Islander',\n 'Bruneian',\n 'Bulgarian',\n 'Burkinan',\n 'Burmese',\n 'Burundian',\n 'Cambodian',\n 'Cameroonian',\n 'Canadian',\n 'Cape Verdean',\n 'Cayman Islander',\n 'Central African',\n 'Chadian',\n 'Chilean',\n 'Chinese',\n 'Citizen of Antigua and Barbuda',\n 'Citizen of Bosnia and Herzegovina',\n 'Citizen of Guinea-Bissau',\n 'Citizen of Kiribati',\n 'Citizen of Seychelles',\n 'Citizen of the Dominican Republic',\n 'Citizen of Vanuatu',\n 'Colombian',\n 'Comoran',\n 'Congolese (Congo)',\n 'Congolese (DRC)',\n 'Cook Islander',\n 'Costa Rican',\n 'Croatian',\n 'Cuban',\n 'Cymraes',\n 'Cymro',\n 'Cypriot',\n 'Czech',\n 'Danish',\n 'Djiboutian',\n 'Dominican',\n 'Dutch',\n 'East Timorese',\n 'Ecuadorean',\n 'Egyptian',\n 'Emirati',\n 'English',\n 'Equatorial Guinean',\n 'Eritrean',\n 'Estonian',\n 'Ethiopian',\n 'Faroese',\n 'Fijian',\n 'Filipino',\n 'Finnish',\n 'French',\n 'Gabonese',\n 'Gambian',\n 'Georgian',\n 'German',\n 'Ghanaian',\n 'Gibraltarian',\n 'Greek',\n 'Greenlandic',\n 'Grenadian',\n 'Guamanian',\n 'Guatemalan',\n 'Guinean',\n 'Guyanese',\n 'Haitian',\n 'Honduran',\n 'Hong Konger',\n 'Hungarian',\n 'Icelandic',\n 'Indian',\n 'Indonesian',\n 'Iranian',\n 'Iraqi',\n 'Irish',\n 'Israeli',\n 'Italian',\n 'Ivorian',\n 'Jamaican',\n 'Japanese',\n 'Jordanian',\n 'Kazakh',\n 'Kenyan',\n 'Kittitian',\n 'Kosovan',\n 'Kuwaiti',\n 'Kyrgyz',\n 'Lao',\n 'Latvian',\n 'Lebanese',\n 'Liberian',\n 'Libyan',\n 'Liechtenstein citizen',\n 'Lithuanian',\n 'Luxembourger',\n 'Macanese',\n 'Macedonian',\n 'Malagasy',\n 'Malawian',\n 'Malaysian',\n 'Maldivian',\n 'Malian',\n 'Maltese',\n 'Marshallese',\n 'Martiniquais',\n 'Mauritanian',\n 'Mauritian',\n 'Mexican',\n 'Micronesian',\n 'Moldovan',\n 'Monegasque',\n 'Mongolian',\n 'Montenegrin',\n 'Montserratian',\n 'Moroccan',\n 'Mosotho',\n 'Mozambican',\n 'Namibian',\n 'Nauruan',\n 'Nepalese',\n 'New Zealander',\n 'Nicaraguan',\n 'Nigerian',\n 'Nigerien',\n 'Niuean',\n 'North Korean',\n 'Northern Irish',\n 'Norwegian',\n 'Omani',\n 'Pakistani',\n 'Palauan',\n 'Palestinian',\n 'Panamanian',\n 'Papua New Guinean',\n 'Paraguayan',\n 'Peruvian',\n 'Pitcairn Islander',\n 'Polish',\n 'Portuguese',\n 'Prydeinig',\n 'Puerto Rican',\n 'Qatari',\n 'Romanian',\n 'Russian',\n 'Rwandan',\n 'Salvadorean',\n 'Sammarinese',\n 'Samoan',\n 'Sao Tomean',\n 'Saudi Arabian',\n 'Scottish',\n 'Senegalese',\n 'Serbian',\n 'Sierra Leonean',\n 'Singaporean',\n 'Slovak',\n 'Slovenian',\n 'Solomon Islander',\n 'Somali',\n 'South African',\n 'South Korean',\n 'South Sudanese',\n 'Spanish',\n 'Sri Lankan',\n 'St Helenian',\n 'St Lucian',\n 'Stateless',\n 'Sudanese',\n 'Surinamese',\n 'Swazi',\n 'Swedish',\n 'Swiss',\n 'Syrian',\n 'Taiwanese',\n 'Tajik',\n 'Tanzanian',\n 'Thai',\n 'Togolese',\n 'Tongan',\n 'Trinidadian',\n 'Tristanian',\n 'Tunisian',\n 'Turkish',\n 'Turkmen',\n 'Turks and Caicos Islander',\n 'Tuvaluan',\n 'Ugandan',\n 'Ukrainian',\n 'Uruguayan',\n 'Uzbek',\n 'Vatican citizen',\n 'Venezuelan',\n 'Vietnamese',\n 'Vincentian',\n 'Wallisian',\n 'Welsh',\n 'Yemeni',\n 'Zambian',\n 'Zimbabwean'\n];\n","import React from 'react';\nimport style from './missing-merchant-document.module.scss';\nimport {\n Paper,\n Typography,\n Grid,\n Divider,\n Button,\n Box,\n CircularProgress,\n NativeSelect,\n OutlinedInput\n} from '@material-ui/core';\nimport { FormItem, Input, Label } from '../../onboarding/onboarding-ui-components';\nimport NumberFormat from 'react-number-format';\nimport { nationalities } from 'utils/enums/Nationality';\nimport { SnackBarAndAlert } from 'components';\n\nfunction MissingDocument(props) {\n const {\n loading,\n merchantData,\n setMerchantData,\n monthInputElementRef,\n yearInputElementRef,\n dayChangeHandler,\n monthChangeHandler,\n yearChangeHandler,\n dobValidationFailed,\n dobInvalidFields,\n onSubmit,\n isDisabled,\n error,\n handleClose,\n documentToView\n } = props;\n\n return (\n
    \n {loading ? (\n \n \n \n ) : error ? (\n
    An error occurred, please try reloading your browser.
    \n ) : (\n \n \n \n \n \n Nationality and DOB Update\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n\n \n \n \n setMerchantData({\n ...merchantData,\n OwnersDetail: {\n ...merchantData.OwnersDetail,\n nationality: e.target.value\n }\n })\n }\n >\n }\n value={merchantData?.OwnersDetail?.nationality}\n >\n {nationalities.map((nationality) => (\n \n ))}\n \n \n \n \n
    \n \n \n \n
    \n
    \n
    \n
    \n \n \n {!loading && documentToView.length === 0 && (\n
    \n \n Passport/Driving Licence not available\n

    \n \n Nothing to show\n

    \n
    \n )}\n {!loading && documentToView.extension !== 'pdf' && documentToView.length !== 0 && (\n \n \n
    \n )}\n {!loading && documentToView.extension === 'pdf' && documentToView.length !== 0 && (\n \n )}\n \n \n \n \n \n Submit\n \n \n {error && (\n \n {error}\n \n )}\n {error && (\n \n {error}\n \n )}\n \n )}\n \n );\n}\nexport default MissingDocument;\n","import React, { useState, useEffect, useRef } from 'react';\nimport MissingDocument from './missing-merchant-document.component';\nimport { useGlobalStateContext } from 'contexts';\nimport { AdminService, DocumentsService } from 'services';\nimport { DocumentTypesToName } from 'utils/enums/DocumentType';\nimport moment from 'moment';\nimport _ from 'lodash';\nimport { getInvalidDobFields } from 'validators';\n\nfunction MissingDocumentContainer(props) {\n const [loading, setLoading] = useState(false);\n const { globalState, setRoute } = useGlobalStateContext();\n const [merchantData, setMerchantData] = useState({});\n const [documentToView, setDocumentToView] = useState([]);\n const [dobInvalidFields, setDobInvalidFields] = useState([]);\n const [dobValidationFailed, setDobValidationFailed] = useState(false);\n const [isDisabled, setIsDisabled] = useState(true);\n const [error, setError] = useState(false);\n const monthInputElementRef = useRef(null);\n const yearInputElementRef = useRef(null);\n\n useEffect(() => {\n const getMerchantData = async () => {\n const merchantId = props?.match?.params?.merchantId;\n setLoading(true);\n\n const result = await AdminService.GetMissingData(merchantId);\n\n if (result.isSuccesfully) {\n const listOfParams = [];\n const DocumentData =\n result.data?.data[0]?.Documents.length !== 0 ? [result.data?.data[0]?.Documents[0]] : [];\n if (DocumentData.length !== 0) {\n DocumentData.forEach((document) => {\n const fileObj = {};\n fileObj.entity = 'merchant';\n fileObj.entityId = merchantId;\n fileObj.documentId = document.id;\n fileObj.filename = document?.filename;\n fileObj.documentTypeName = DocumentTypesToName[document.documentTypeId];\n fileObj.createdAt = document.created_at;\n fileObj.documentStatus = document.status;\n fileObj.flag = document.flag;\n fileObj.docTypeId = document.documentTypeId;\n\n listOfParams.push(fileObj);\n });\n const listOfUrls = await DocumentsService.getMerchantFilesUrls(listOfParams);\n setDocumentToView(listOfUrls);\n } else {\n setDocumentToView([]);\n }\n let tempMerchantData = { ...result.data.data[0] };\n if (tempMerchantData?.OwnersDetail?.birthDate) {\n const birthDate = tempMerchantData?.OwnersDetail?.birthDate?.split('-');\n tempMerchantData.OwnersDetail.birthDate = {\n day: birthDate[2],\n month: birthDate[1],\n year: birthDate[0]\n };\n } else {\n tempMerchantData = {\n ...tempMerchantData,\n OwnersDetail: {\n ...tempMerchantData?.OwnersDetail,\n birthDate: { day: '', month: '', year: '' }\n }\n };\n }\n setMerchantData(tempMerchantData);\n } else {\n setError(true);\n }\n setLoading(false);\n };\n\n getMerchantData();\n //eslint-disable-next-line\n }, [props?.match?.params?.merchantId]);\n\n useEffect(() => {\n const getDate = async () => {\n const dateOfBirth = { ...merchantData.OwnersDetail?.birthDate };\n const nationality = merchantData.OwnersDetail?.nationality;\n const dateOfBirthMoment =\n dateOfBirth && moment([dateOfBirth.day, dateOfBirth.month, dateOfBirth.year].join('-'), 'DD-MM-YYYY');\n const isDateOfBirthProper =\n dateOfBirth &&\n dateOfBirthMoment.isValid() &&\n +dateOfBirth.day >= 0 &&\n +dateOfBirth.month >= 0 &&\n +dateOfBirth.year >= 1900 &&\n +dateOfBirthMoment.valueOf() <= moment().valueOf();\n\n const dobFieldsWithIssues = getInvalidDobFields(dateOfBirth);\n const checkValues =\n nationality !== null &&\n nationality !== '' &&\n nationality !== '--Please select--' &&\n isDateOfBirthProper &&\n _.isEmpty(dobFieldsWithIssues);\n\n setDobInvalidFields(dobFieldsWithIssues);\n setDobValidationFailed(!isDateOfBirthProper);\n setIsDisabled(!checkValues);\n //filterDocuments(selectedValue);\n };\n getDate();\n //eslint-disable-next-line\n }, [merchantData.OwnersDetail?.birthDate, merchantData.OwnersDetail?.nationality]);\n const dayChangeHandler = ({ value }) => {\n if (value.length > 2) {\n value = merchantData?.OwnersDetail?.birthDate?.day || '';\n }\n\n if (value.length > 1 || (value.length === 1 && value > 3)) {\n setTimeout(() => {\n monthInputElementRef.current.focus();\n });\n }\n setMerchantData({\n ...merchantData,\n OwnersDetail: {\n ...merchantData?.OwnersDetail,\n birthDate: {\n ...merchantData?.OwnersDetail.birthDate,\n day: value\n }\n }\n });\n };\n\n const monthChangeHandler = ({ value }) => {\n if (value.length > 2) {\n value = merchantData?.OwnersDetail.birthDate?.month || '';\n }\n\n if (value.length > 1 || (value.length === 1 && value > 1)) {\n setTimeout(() => {\n yearInputElementRef.current && yearInputElementRef.current.focus();\n });\n }\n setMerchantData({\n ...merchantData,\n OwnersDetail: {\n ...merchantData?.OwnersDetail,\n birthDate: {\n ...merchantData?.OwnersDetail.birthDate,\n month: value\n }\n }\n });\n };\n\n const yearChangeHandler = ({ value }) => {\n if (value.length > 4) {\n value = merchantData.OwnersDetail.dateOfBirth?.year || '';\n }\n\n setMerchantData({\n ...merchantData,\n OwnersDetail: {\n ...merchantData?.OwnersDetail,\n birthDate: {\n ...merchantData?.OwnersDetail.birthDate,\n year: value\n }\n }\n });\n };\n\n const onSubmit = async () => {\n setLoading(true);\n //Cloning to not impact onBoardingForm in case of dateOfBirth change\n const details = { ...merchantData.OwnersDetail };\n const dateOfBirth = details.birthDate;\n details.dateOfBirth = moment(\n [dateOfBirth.day, dateOfBirth.month, dateOfBirth.year].join('-'),\n 'DD-MM-YYYY'\n ).format('YYYY-MM-DD');\n const fullData = {\n merchantId: globalState.merchant?.id,\n nationality: details.nationality,\n DOB: details.dateOfBirth\n };\n\n const submit = await AdminService.UpdateMissingData(fullData);\n if (submit.isSuccesfully) {\n setError('Data has been Updated Successfully');\n setRoute('/admin-missing-merchant');\n } else {\n setError('An error Occured');\n }\n };\n\n const handleClose = (event, reason) => {\n if (reason === 'clickaway') {\n setError(false);\n }\n };\n\n return (\n \n );\n}\n\nMissingDocumentContainer.propTypes = {};\n\nexport default MissingDocumentContainer;\n","import React from 'react';\nimport styles from './link-qr.module.scss';\nimport { Button } from '@material-ui/core';\nimport { Spinner } from 'react-bootstrap';\n\nfunction LinkQrComponent(props) {\n const { onProceed, message, loading, merchantsList, error } = props;\n\n return (\n
    \n {message}\n {loading ? (\n
    \n \n
    \n ) : null}\n\n {error ?

    {error}

    : null}\n\n {merchantsList && !loading\n ? merchantsList.map((item) => {\n return (\n
    \n

    {item.name}

    \n
    \n onProceed(item.id)}\n >\n link\n \n
    \n
    \n );\n })\n : null}\n
    \n );\n}\nexport default LinkQrComponent;\n","import React, { useState, useEffect } from 'react';\nimport LinkQrComponent from './link-qr.component';\nimport { useGlobalStateContext } from 'contexts';\nimport { NonResellerMerchantService, AuthService } from 'services';\nimport AuthHelper from 'utils/authHelper';\n\nfunction LinkQr(props) {\n const {\n globalState: { reseller },\n setRoute\n } = useGlobalStateContext();\n const [message, setMessage] = useState(`Would you like to link your QR Code?`);\n const [loading, setLoading] = useState(false);\n const [merchantsList, setMerchantsList] = useState([]);\n const [error, setError] = useState(false);\n\n useEffect(() => {\n const getMerchants = async () => {\n try {\n setLoading(true);\n const response = await NonResellerMerchantService.getUserMerchants(reseller.id);\n setLoading(false);\n if (response !== null && response.isSuccesfully) {\n let merchants = response.data.merchantsDto;\n setMerchantsList(merchants);\n } else {\n setError('Something went wrong!');\n }\n } catch (e) {\n setLoading(false);\n setError('Something went wrong!');\n }\n };\n getMerchants();\n // eslint-disable-next-line\n }, []);\n\n const onProceed = async (id) => {\n setError('');\n setLoading(true);\n try {\n if (!AuthService.isLoggedUser()) {\n setRoute('/login');\n return;\n }\n\n await AuthHelper.refreshCurrentSession();\n let uuid = props.location.search;\n uuid = uuid.replace('?data=', '');\n\n let data = {\n id: uuid\n };\n const response = await NonResellerMerchantService.linkQrCode(data, id);\n\n setLoading(false);\n\n if (response.isSuccesfully) {\n setMessage(response.data.message);\n setMerchantsList([]);\n let timer = setTimeout(() => {\n setRoute('/home');\n clearTimeout(timer);\n timer = null;\n }, 3000);\n } else {\n setError(response.data.message);\n let errorTimer = setTimeout(() => {\n setError('');\n clearTimeout(errorTimer);\n errorTimer = null;\n }, 5000);\n }\n } catch (e) {\n setLoading(false);\n\n if (e.code === 'NotAuthorizedException') setError('Session timed out!!!');\n else setError('Something went wrong!');\n }\n };\n\n return (\n \n );\n}\n\nexport default LinkQr;\n","import { DocumentTypesToName } from 'utils/enums/DocumentType';\nimport { DocumentStatusToName } from 'utils/enums/DocumentReviewStatus';\nconst status = {\n 0: 'Not Submitted',\n 1: 'Pending',\n 2: 'Verified',\n 3: 'Active',\n 4: 'Closed',\n 5: 'Rejected',\n 6: 'Pending Stripe',\n 12: 'Watch List'\n};\nconst isAccountVerified = {\n 0: 'Unverified',\n 1: 'Verified'\n};\nconst isBankAccountVerified = {\n 0: 'Unverified',\n 1: 'Verified'\n};\nconst BusinessTypeEnumId = {\n 1: 'Limited',\n 2: 'PLC',\n 3: 'LLP',\n 4: 'Partnership',\n 5: 'Sole_Trader',\n 6: 'Charity',\n 7: 'Corporate_Entity',\n 8: 'Discretionary_Trading_Trust',\n 9: 'Other'\n};\nconst autoWithrawStatus = {\n 0: 'Close',\n 1: 'Open'\n};\nconst allowWithdrawals = {\n 0: 'Allow for verified account',\n 1: 'Allow all (override verification status)'\n};\nconst internalTransferStatus = {\n 0: 'Disabled',\n 1: 'Enabled'\n};\nexport const merchantsUpdate = {\n status: { ...status },\n isAccountVerified: { ...isAccountVerified },\n isBankAccountVerified: { ...isBankAccountVerified },\n documentTypeId: { ...DocumentTypesToName },\n businessTypeId: { ...BusinessTypeEnumId },\n autoWithdraw: { ...autoWithrawStatus },\n allowWithdrawals: { ...allowWithdrawals },\n internalTransferStatus: { ...internalTransferStatus }\n};\nconst documentStatus = { documentTypeId: { ...DocumentTypesToName }, status: { ...DocumentStatusToName } };\nexport const auditDataEnum = {\n merchants: { ...merchantsUpdate },\n documents: { ...documentStatus }\n};\nexport const auditIncludedField = Object.keys(auditDataEnum);\nexport const auditDocumentIncludedField = Object.keys(documentStatus);\nexport const auditMerchantIncludedField = Object.keys(merchantsUpdate);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport style from './audit-data.module.scss';\nimport { getComparator, stableSort, formatDateTimeByFormatString } from '../../../utils/helper';\nimport { AuthService } from 'services';\nimport { Redirect } from 'react-router-dom';\nimport { useGlobalStateContext } from 'contexts';\nimport { auditDataEnum } from 'utils/enums/auditEnum';\nimport TableHeader from '../../../components/payments/transaction-tables/table-header/table-header.container.js';\nimport { auditIncludedField, auditDocumentIncludedField, auditMerchantIncludedField } from 'utils/enums/auditEnum';\nimport {\n TableHead,\n TableBody,\n TableCell,\n TableRow,\n Table,\n TableContainer,\n Paper,\n CircularProgress,\n TableFooter,\n TablePagination,\n Box,\n makeStyles,\n Button,\n TextField,\n Collapse,\n Tooltip\n} from '@material-ui/core';\n\nconst useStyles = makeStyles(() => ({\n visuallyHidden: {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: 1,\n margin: -1,\n padding: 0,\n position: 'absolute',\n top: 20,\n width: 1\n },\n tableCellSmallSize: {\n '& td': {\n minWidth: '230px',\n maxWidth: '230px'\n },\n '& th': {\n minWidth: '230px',\n maxWidth: '230px'\n }\n },\n noData: {\n textAlign: 'center',\n paddingBottom: '100px',\n paddingTop: '100px'\n },\n tableRow: {\n '&$selected, &$selected:hover': {\n backgroundColor: '#e4e1fe'\n }\n },\n headWidth: {\n minWidth: '210px'\n }\n}));\n\nfunction AuditDataComponent(props) {\n const {\n loading,\n error,\n page,\n rowsPerPage,\n rows,\n handleChangePage,\n handleChangeRowsPerPage,\n count,\n order,\n orderBy,\n setInputValue,\n onSearchMerchants,\n open,\n setOpen\n } = props;\n const classes = useStyles();\n const { getRoute } = useGlobalStateContext();\n return (\n \n {AuthService.isLoggedUser() ? (\n
    \n
    \n setInputValue(e.target.value)}\n />\n \n Search\n \n \n \n {loading ? (\n \n \n \n ) : (\n \n \n \n \n \n {error ? (\n
    \n An error occurred, please try reloading your browser.\n
    \n ) : !count || count === 0 ? (\n \n \n \n No Records found\n \n \n \n ) : (\n \n {stableSort(rows, getComparator(order, orderBy)).map(\n (row, index) => {\n return (\n \n {\n setOpen(open === index ? '' : index);\n }}\n key={row.id}\n hover\n className={style.rowstyle}\n >\n \n {row.name}\n \n \n {row.mid}\n \n \n {row.userName}\n \n {row.ip_address}\n \n {formatDateTimeByFormatString(\n row.updated_date,\n 'DD MMM HH:mm'\n )}\n \n {row.function_name}\n \n \n \n \n \n \n \n \n \n Field Modified\n \n \n Old Value\n \n \n New Value\n \n \n Table Name\n \n \n {' '}\n \n \n {' '}\n \n \n \n \n {row.auditData.map(\n (data) => {\n return (\n \n {auditIncludedField.includes(\n data.table_name\n ) &&\n (auditDocumentIncludedField.includes(\n data.field_modified\n ) ||\n auditMerchantIncludedField.includes(\n data.field_modified\n )) ? (\n \n \n {\n data.field_modified\n }\n \n \n {data.current_value ? (\n \n \n {\n auditDataEnum[\n data\n .table_name\n ][\n data\n .field_modified\n ][\n data\n .current_value\n ]\n }\n \n \n ) : (\n \n ——\n \n )}\n \n \n {data.new_value ? (\n \n \n {\n auditDataEnum[\n data\n .table_name\n ][\n data\n .field_modified\n ][\n data\n .new_value\n ]\n }\n \n \n ) : (\n \n ——\n \n )}\n \n\n \n {data.table_name ? (\n \n {\n data.table_name\n }\n \n ) : (\n \n ——\n \n )}\n \n \n {' '}\n \n \n {' '}\n \n \n ) : (\n \n {' '}\n \n {\n data.field_modified\n }\n \n \n {data.current_value ? (\n \n \n {\n data.current_value\n }\n \n \n ) : (\n \n ——\n \n )}\n \n \n {data.new_value ? (\n \n \n {\n data.new_value\n }\n \n \n ) : (\n \n ——\n \n )}\n \n \n {data.table_name ? (\n \n {\n data.table_name\n }\n \n ) : (\n \n ——\n \n )}\n \n \n {' '}\n \n \n {' '}\n \n \n )}\n \n );\n }\n )}\n \n \n \n \n \n \n
    \n );\n }\n )}\n \n )}\n
    \n \n {(count || count) > 0 && (\n \n \n \n )}\n \n \n \n \n )}\n
    \n
    \n ) : (\n \n )}\n
    \n );\n}\n\nAuditDataComponent.propTypes = {\n loading: PropTypes.bool,\n rows: PropTypes.array.isRequired,\n error: PropTypes.bool,\n handleChangePage: PropTypes.func,\n handleChangeRowsPerPage: PropTypes.func,\n page: PropTypes.number,\n rowsPerPage: PropTypes.number,\n count: PropTypes.number,\n setInputValue: PropTypes.func,\n onSearchMerchants: PropTypes.func,\n setOpen: PropTypes.func\n};\n\nexport default AuditDataComponent;\n","import React, { useState, useEffect } from 'react';\nimport AuditDataComponent from './audit-data.component';\nimport AdminService from 'services/admin.service';\nimport PropTypes from 'prop-types';\nimport { useGlobalStateContext } from 'contexts';\nconst AuditData = (props) => {\n const { globalState } = useGlobalStateContext();\n const [loading, setLoading] = useState(false);\n const [error, setError] = useState(false);\n const [page, setPage] = useState(0);\n const [rowsPerPage, setRowsPerPage] = useState(20);\n const [auditList, setAuditData] = useState([]);\n const [count, setCount] = useState(0);\n const [order, setOrder] = useState('desc');\n const [orderBy, setOrderBy] = useState('createdDate');\n const [inputValue, setInputValue] = useState('');\n const [open, setOpen] = useState('');\n\n const headCells = [\n { id: 'name', numeric: false, disablePadding: false, label: 'Name' },\n { id: 'mid', numeric: true, disablePadding: false, label: 'Merchant ID' },\n { id: 'userName', numeric: false, disablePadding: false, label: 'Updated By' },\n { id: 'ip_address', numeric: false, disablePadding: false, label: 'IP Address', hideSortingIcon: true },\n { id: 'updated_date', numeric: false, disablePadding: false, label: 'Date' },\n { id: 'function_name', numeric: false, disablePadding: false, label: 'Function Name', hideSortingIcon: true }\n ];\n const handleChangePage = (event, newPage) => {\n setPage(newPage);\n getAuditLogData(newPage);\n };\n\n const handleChangeRowsPerPage = (event) => {\n setRowsPerPage(parseInt(event.target.value, 10));\n getAuditLogData(0, parseInt(event.target.value, 10));\n };\n\n useEffect(() => {\n setLoading(true);\n getAuditLogData(0);\n // eslint-disable-next-line\n }, [globalState.reseller?.id]);\n\n const onSearchMerchants = (e) => {\n setPage(0);\n getAuditLogData(0);\n e.preventDefault();\n };\n const getAuditLogData = async (newPage, newRowsPerPage) => {\n setLoading(true);\n const thePage = newPage ?? page;\n const theRowsPerPage = newRowsPerPage ?? rowsPerPage;\n\n const response = await AdminService.auditLogData(globalState.reseller?.id, {\n offset: thePage * theRowsPerPage,\n limit: theRowsPerPage,\n\n searchValue: inputValue.length > 2 ? inputValue.trim() : 'no'\n });\n if (response.isSuccesfully) {\n setOpen(false);\n setAuditData(response.data.data);\n setCount(response.data.count);\n } else {\n setError(true);\n }\n setLoading(false);\n };\n\n const handleRequestSort = (event, property) => {\n const isAsc = orderBy === property && order === 'asc';\n setOrder(isAsc ? 'desc' : 'asc');\n setOrderBy(property);\n setOpen(false);\n };\n return (\n \n );\n};\n\nAuditData.propTypes = {\n handleChangePage: PropTypes.func,\n handleChangeRowsPerPage: PropTypes.func,\n loading: PropTypes.bool,\n error: PropTypes.bool,\n headCells: PropTypes.array,\n setLoading: PropTypes.func,\n rowsPerPage: PropTypes.number,\n setError: PropTypes.func,\n setOpen: PropTypes.func,\n auditData: PropTypes.array,\n setAuditData: PropTypes.func\n};\n\nexport default AuditData;\n","import React from 'react';\nimport styles from './special-rent-table.module.scss';\nimport { Grid, Table, TableBody, TableCell, TableContainer, TableRow, Typography } from '@material-ui/core';\nimport { formatCurrency } from '../../utils/helper';\nimport { useGlobalStateContext } from 'contexts/index.js';\nimport { getCurrencyThreeAlpha } from 'utils/getCurrencyByCountry.js';\nimport EditIcon from '@material-ui/icons/Edit';\nimport DeleteIcon from '@material-ui/icons/Delete';\nimport TableHeader from '../payments/transaction-tables/table-header/table-header.container';\nimport TransactionStatusLabel from '../payments/transaction-tables/transaction-status-label/transaction-status-label.container';\nimport PropTypes from 'prop-types';\nimport moment from 'moment';\nimport { UserType } from 'utils/enums/UserType';\n\nexport default function SpecialRentTableComponent(props) {\n const { globalState } = useGlobalStateContext();\n\n const { specialRentList, setSpecialRentDelete, editSpecialRent, setDeleteRentId, headCells } = props;\n return (\n
    \n
    \n \n \n {!specialRentList || specialRentList.length === 0 ? (\n
    No Rents.
    \n ) : (\n \n \n \n \n {specialRentList.map((specialRent) => {\n return (\n \n \n {specialRent.description}\n \n \n \n \n {' '}\n {formatCurrency(\n specialRent.rent_amount,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n \n \n \n \n \n {moment(specialRent.start_date).format('DD MMM YY')}\n \n \n \n \n {moment(specialRent.end_date).format('DD MMM YY')}\n \n \n \n \n \n \n
    \n \n editSpecialRent(specialRent.rent_id)}\n />\n \n\n {globalState.user?.UserType?.name ===\n UserType.SuperAdmin && (\n \n {\n setDeleteRentId(specialRent.rent_id);\n setSpecialRentDelete(true);\n }}\n />\n \n )}\n
    \n
    \n
    \n );\n })}\n
    \n
    \n
    \n )}\n
    \n
    \n
    \n
    \n );\n}\n\nSpecialRentTableComponent.propTypes = {\n editSpecialRent: PropTypes.func,\n setDeleteRentId: PropTypes.func\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport SpecialRentTableComponent from './special-rent-table.component';\n\nconst SpecialRentTable = (props) => {\n const {\n setAddSpecialRent,\n specialRentDetails,\n setSpecialRentDelete,\n editSpecialRent,\n deleteSpecialRent,\n specialRentList,\n setDeleteRentId\n } = props;\n\n let headCells = [\n {\n id: 'description',\n numeric: false,\n disablePadding: false,\n label: 'Description',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'rentAmount',\n numeric: false,\n disablePadding: false,\n label: 'Rent amount',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'start_date',\n numeric: false,\n disablePadding: false,\n label: 'Start date',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'start_date',\n numeric: false,\n disablePadding: false,\n label: 'End date',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'status',\n numeric: false,\n disablePadding: false,\n label: 'Status',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'actions',\n numeric: false,\n disablePadding: false,\n label: 'Actions',\n hideSortingIcon: true,\n alignCenter: true\n }\n ];\n\n return (\n \n );\n};\n\nexport default SpecialRentTable;\n\nSpecialRentTable.propTypes = {\n setAddSpecialRent: PropTypes.func,\n setSpecialRentDelete: PropTypes.func,\n editSpecialRent: PropTypes.func,\n specialRentList: PropTypes.object\n};\n","import React from 'react';\nimport styles from './modal-add-special-rent.module.scss';\nimport {\n Button,\n DialogTitle,\n Typography,\n Grid,\n OutlinedInput,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n Divider,\n TextField,\n RadioGroup,\n Radio,\n FormControlLabel\n} from '@material-ui/core';\nimport { Label } from 'components/onboarding/onboarding-ui-components';\nimport PropTypes from 'prop-types';\nimport CloseIcon from '@material-ui/icons/Close';\nimport NumberFormat from 'react-number-format';\nimport { checkEmptyValue } from 'validators/onboarding/onboarding-check-value.validator';\n\nfunction AddSpecialRentComponent(props) {\n const {\n addSpecialRent,\n setAddSpecialRent,\n specialRentDetails,\n setSpecialRentDetails,\n specialRentDelete,\n setSpecialRentDelete,\n submitSpecialRent,\n updateSpecialRent,\n setUpdateSpecialRent,\n updateSpecialRentData,\n disableBtn,\n deleteSpecialRent,\n isMaxRentValue\n } = props;\n\n return (\n \n {(addSpecialRent || updateSpecialRent) && (\n {\n setAddSpecialRent(false);\n setUpdateSpecialRent(false);\n setSpecialRentDetails({});\n }}\n className={{\n paper: styles.specialRentDialog\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n
    \n \n
    \n {addSpecialRent && Add New Special Rent}\n {updateSpecialRent && Update special rent}\n {\n setAddSpecialRent(false);\n setUpdateSpecialRent(false);\n setSpecialRentDetails({});\n }}\n />\n
    \n
    \n \n \n \n \n
    \n \n \n \n \n \n setSpecialRentDetails({\n ...specialRentDetails,\n start_date: e.target.value\n })\n }\n InputLabelProps={{\n shrink: true\n }}\n />\n \n \n \n \n setSpecialRentDetails({\n ...specialRentDetails,\n end_date: e.target.value\n })\n }\n InputLabelProps={{\n shrink: true\n }}\n />\n \n \n \n \n \n \n {\n setSpecialRentDetails({\n ...specialRentDetails,\n rent_amount: values.value\n });\n }}\n />\n \n \n \n \n \n \n setSpecialRentDetails({\n ...specialRentDetails,\n description: e.target.value\n })\n }\n >\n }\n label=\"Trial Period\"\n />\n }\n label=\"Special offers\"\n />\n } label=\"Others\" />\n \n \n \n \n {addSpecialRent && (\n \n Add\n \n )}\n {updateSpecialRent && (\n \n Update\n \n )}\n \n \n
    \n
    \n
    \n \n )}\n\n {specialRentDelete && (\n setSpecialRentDelete(false)}\n className={{\n paper: styles.specialRentDialog\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n
    \n \n \n Are you sure you want to delete ?\n \n \n \n \n {\n setSpecialRentDelete(false);\n }}\n color=\"primary\"\n variant=\"outlined\"\n className={styles.leavebtn}\n >\n Cancel\n \n {\n setSpecialRentDelete(false);\n deleteSpecialRent();\n }}\n color=\"primary\"\n className={styles.dilogbtn}\n >\n Continue\n \n \n
    \n \n )}\n
    \n );\n}\nexport default AddSpecialRentComponent;\n\nAddSpecialRentComponent.propTypes = {\n addSpecialRent: PropTypes.bool,\n setAddSpecialRent: PropTypes.func,\n setUpdateSpecialRent: PropTypes.func,\n deleteSpecialRent: PropTypes.func\n};\n","import React from 'react';\nimport AddSpecialRentComponent from './modal-add-special-rent.component';\nimport PropTypes from 'prop-types';\n\nfunction AddSpecialRent(props) {\n const {\n addSpecialRent,\n setAddSpecialRent,\n specialRentDetails,\n setSpecialRentDetails,\n specialRentDelete,\n setSpecialRentDelete,\n rentDeleteConfirm,\n submitSpecialRent,\n updateSpecialRent,\n setUpdateSpecialRent,\n updateSpecialRentData,\n setDeleteRentId,\n disableBtn,\n deleteSpecialRent\n } = props;\n\n const isMaxRentValue = (values) => {\n const { value, floatValue } = values;\n const MAX_AMOUNT = 999.0;\n\n if (typeof floatValue === 'undefined' || typeof value === 'undefined') {\n return true;\n }\n if (value.charAt(0) === '0') {\n if (value.charAt(1) && value.charAt(1) !== '.') {\n return false;\n }\n }\n if (value > MAX_AMOUNT) {\n return false;\n }\n return true;\n };\n\n return (\n \n );\n}\n\nexport default AddSpecialRent;\n\nAddSpecialRent.propTypes = {\n addSpecialRent: PropTypes.bool,\n setAddSpecialRent: PropTypes.func,\n specialRentDetails: PropTypes.bool,\n setSpecialRentDetails: PropTypes.func,\n specialRentDelete: PropTypes.bool,\n setSpecialRentDelete: PropTypes.func,\n rentDeleteConfirm: PropTypes.bool,\n setUpdateSpecialRent: PropTypes.func,\n setDeleteRentId: PropTypes.func,\n deleteSpecialRent: PropTypes.func\n};\n","import React from 'react';\nimport styles from './contract-details.module.scss';\nimport { Paper, Button, Typography, Box, Grid } from '@material-ui/core';\nimport SpecialRentTable from 'components/special-rent-table/special-rent-table.container';\nimport ContractRent from 'components/contract-rent/contract-rent.container';\nimport PropTypes from 'prop-types';\nimport AddSpecialRent from '../../components/modal-add-special-rent/modal-add-special-rent.container';\nimport LoadingScreen from 'components/loading-screen/loading-screen.container';\nimport { SnackBarAndAlert } from 'components';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport { useGlobalStateContext } from 'contexts';\n\nfunction ContractDetailsComponent(props) {\n const {\n addSpecialRent,\n setAddSpecialRent,\n specialRentDetails,\n setSpecialRentDetails,\n specialRentDelete,\n setSpecialRentDelete,\n rentDeleteConfirm,\n setRentDeleteConfirm,\n contractRentDetails,\n setContractRentDetails,\n contractRentUpdate,\n submitSpecialRent,\n editSpecialRent,\n specialRentList,\n updateSpecialRent,\n setUpdateSpecialRent,\n updateSpecialRentData,\n setDeleteRentId,\n loading,\n disableBtn,\n contractBtn,\n success,\n error,\n message,\n setSuccess,\n setError,\n deleteSpecialRent,\n oldContractRentDetails,\n setOldContractRentDetails,\n isMaxSetupFee\n } = props;\n const { globalState } = useGlobalStateContext();\n const isMerchantAccountClosed = globalState.merchant?.status === MerchantStatus.CLOSED;\n return (\n \n \n \n Contract details\n \n \n \n
    \n
    \n Special Rent\n {\n setAddSpecialRent(true);\n setSpecialRentDetails({});\n }}\n color=\"primary\"\n disabled={specialRentList.length >= 3 || isMerchantAccountClosed}\n className={styles.addSpecialRentBtn}\n >\n + Add new Special Rent\n \n
    \n \n \n \n
    \n
    \n \n
    \n
    \n Contract Rent\n
    \n \n \n \n
    \n \n
    \n
    \n
    \n \n {\n setSuccess(false);\n }}\n type=\"success\"\n >\n {message}\n \n {\n setError(false);\n }}\n type=\"error\"\n >\n {message}\n \n
    \n );\n}\nexport default ContractDetailsComponent;\n\nContractDetailsComponent.propTypes = {\n addSpecialRent: PropTypes.bool,\n setAddSpecialRent: PropTypes.func,\n specialRentDetails: PropTypes.bool,\n setSpecialRentDetails: PropTypes.func,\n specialRentDelete: PropTypes.bool,\n setSpecialRentDelete: PropTypes.func,\n rentDeleteConfirm: PropTypes.bool,\n setRentDeleteConfirm: PropTypes.func,\n submitSpecialRent: PropTypes.func,\n updateSpecialRent: PropTypes.func,\n editSpecialRent: PropTypes.func,\n specialRentList: PropTypes.func,\n setUpdateSpecialRent: PropTypes.func,\n updateSpecialRentData: PropTypes.func,\n setError: PropTypes.func,\n setSuccess: PropTypes.func,\n success: PropTypes.bool,\n error: PropTypes.bool,\n loading: PropTypes.bool\n};\n","import React, { useState, useEffect } from 'react';\nimport ContractDetailsComponent from './contract-details.component';\nimport { useGlobalStateContext } from 'contexts';\nimport { AdminService } from 'services';\n\nfunction ContractDetails() {\n const [addSpecialRent, setAddSpecialRent] = useState(false);\n const [specialRentDetails, setSpecialRentDetails] = useState({});\n const [specialRentDelete, setSpecialRentDelete] = useState(false);\n const [rentDeleteConfirm, setRentDeleteConfirm] = useState(false);\n const [deleteRentId, setDeleteRentId] = useState(0);\n const [contractRentDetails, setContractRentDetails] = useState({\n progress_status: 'Dormant',\n setup_charged: false\n });\n const [updateSpecialRent, setUpdateSpecialRent] = useState(false);\n const { globalState } = useGlobalStateContext();\n const [specialRentList, setSpecialRentList] = useState([]);\n const [loading, setLoading] = useState(false);\n const [disableBtn, setDisableBtn] = useState(true);\n const [contractBtn, setContractBtn] = useState(true);\n const [message, setMessage] = useState('');\n const [error, setError] = useState(false);\n const [success, setSuccess] = useState(false);\n\n useEffect(() => {\n const { start_date, end_date, rent_amount, description } = specialRentDetails;\n let checkValues = start_date && end_date && rent_amount && description;\n setDisableBtn(!checkValues);\n\n const { contract_rent, contract_length, notice_period, setup_fee } = contractRentDetails;\n\n let checkContract = contract_rent && contract_length && notice_period && setup_fee;\n setContractBtn(!checkContract);\n }, [specialRentDetails, globalState.merchant.id, contractRentDetails]);\n const fetchSpecialRentList = async () => {\n const response = await AdminService.GetSpecialRentList();\n if (response.isSuccesfully) {\n setSpecialRentList(response.data);\n }\n setLoading(false);\n };\n useEffect(() => {\n setLoading(true);\n fetchSpecialRentList();\n // eslint-disable-next-line\n }, [globalState.merchant?.id]);\n\n useEffect(() => {\n const fetchContractRent = async () => {\n const response = await AdminService.GetContractRent();\n if (response.isSuccesfully) {\n const data = { ...response.data.data, setup_charged: false };\n setContractRentDetails(data);\n }\n };\n fetchContractRent();\n }, [globalState.merchant.id]);\n\n const submitSpecialRent = async () => {\n setAddSpecialRent(false);\n setLoading(true);\n const { start_date, end_date, rent_amount, description } = specialRentDetails;\n const response = await AdminService.AddSpecialRent({\n start_date,\n end_date,\n rent_amount,\n description\n });\n if (response.isSuccesfully) {\n await fetchSpecialRentList();\n setSuccess(true);\n setMessage('Successfully added the rent');\n } else {\n setError(true);\n setMessage(response.data.message);\n }\n setLoading(false);\n };\n const editSpecialRent = (rent_id) => {\n setUpdateSpecialRent(true);\n const response = specialRentList.find((list) => list.rent_id === rent_id);\n setSpecialRentDetails(response);\n };\n\n const updateSpecialRentData = async () => {\n setUpdateSpecialRent(false);\n setLoading(true);\n const { rent_id, start_date, end_date, rent_amount, description } = specialRentDetails;\n const response = await AdminService.UpdateSpecialRent({\n rent_id,\n start_date,\n end_date,\n rent_amount,\n description\n });\n if (response.isSuccesfully) {\n await fetchSpecialRentList();\n setSuccess(true);\n setMessage('Successfully updated the rent');\n } else {\n setError(true);\n setMessage(response.data.message);\n }\n setSpecialRentDetails({});\n setLoading(false);\n };\n\n const contractRentUpdate = async () => {\n setLoading(true);\n const {\n progress_status,\n contract_rent,\n contract_length,\n notice_period,\n setup_charged,\n setup_fee,\n extra_comments,\n services_description\n } = contractRentDetails;\n const response = await AdminService.UpdateContractRent({\n progress_status: progress_status,\n contract_rent: parseFloat(contract_rent),\n contract_length: parseInt(contract_length),\n notice_period: parseInt(notice_period),\n setup_charged: setup_charged,\n setup_fee: parseFloat(setup_fee),\n extra_comments: extra_comments,\n services_description: services_description\n });\n if (response.isSuccesfully) {\n setSuccess(true);\n setMessage('Information updated successfully');\n contractRentDetails.setup_charged &&\n setContractRentDetails({ ...contractRentDetails, setup_charged: false });\n } else {\n setError(true);\n setMessage(response.data.message);\n }\n setLoading(false);\n };\n\n const deleteSpecialRent = async () => {\n setLoading(true);\n const deleteRent = await AdminService.DeleteSpecialRent({ rent_id: deleteRentId });\n if (deleteRent.isSuccesfully) {\n setSuccess(true);\n setMessage('Special rent deleted successfully');\n await fetchSpecialRentList();\n } else {\n setError(true);\n setMessage('An error has occurred. Please try again later.');\n }\n setDeleteRentId(0);\n setLoading(false);\n };\n return (\n \n );\n}\n\nexport default ContractDetails;\n","import React from 'react';\n\nimport PropTypes from 'prop-types';\nimport {\n Dialog,\n DialogTitle,\n DialogContent,\n Grid,\n Button,\n Typography,\n Divider,\n TextField,\n TableCell,\n TableRow,\n TableBody,\n TableContainer,\n Paper,\n Table,\n OutlinedInput,\n InputAdornment,\n Box,\n Tooltip,\n Link\n} from '@material-ui/core';\nimport NumberFormat from 'react-number-format';\nimport { getCurrencySymbol } from 'utils/getCurrencyByCountry';\nimport { formatDateTimeByFormatString } from '../../utils/helper';\n\nimport { Label } from 'components/onboarding/onboarding-ui-components';\nimport TableHeader from '../payments/transaction-tables/table-header/table-header.container';\n\nimport CloseIcon from '@material-ui/icons/Close';\nimport Alert from '@material-ui/lab/Alert';\nimport styles from './modal-merchant-charges.module.scss';\n\nimport { useGlobalStateContext } from 'contexts';\nimport { LoadingScreen } from 'components';\n\nexport default function ModalMerchantChargeComponent(props) {\n const {\n wrapperRef,\n openMerchantModal,\n merchantDate,\n setMerchantDate,\n merchantDescription,\n setMerchantDescription,\n merchantAmount,\n setMerchantAmount,\n merchantBtn,\n merchantReceipt,\n headCells,\n merchantBtnHandler,\n loading,\n isMaxAmount,\n handleClose,\n regex\n } = props;\n const { globalState } = useGlobalStateContext();\n let merchantName = globalState.merchant.name;\n const alertMessage = merchantAmount === '0' || merchantAmount === '0.0' || merchantAmount === '0.00';\n return (\n <>\n \n \n\n
    \n \n
    \n {merchantReceipt === false ? (\n Invoice has been created successfully! \n ) : (\n <>\n Add new invoice for\n \n \n \n {merchantName}\n \n \n \n \n )}\n\n \n
    \n
    \n \n \n \n {merchantReceipt ? (\n \n
    \n \n \n \n \n setMerchantDate(e.target.value)}\n />\n \n\n \n \n \n setMerchantDescription(e.target.value.replace(regex, ''))\n }\n />\n \n\n \n \n\n setMerchantAmount(e.target.value)}\n startAdornment={\n \n {getCurrencySymbol(globalState.merchant?.country)}\n \n }\n />\n {alertMessage && (\n \n Amount value should be more than zero\n \n )}\n \n \n \n Add Invoice\n \n \n \n \n
    \n
    \n ) : (\n \n \n \n \n \n \n \n \n \n \n \n {merchantName}\n \n \n \n \n \n {formatDateTimeByFormatString(merchantDate, 'DD MMM YY')}\n \n \n {merchantDescription.replace(regex, '')}\n \n \n {`${getCurrencySymbol(globalState.merchant.country)} `}\n {merchantAmount}\n \n \n \n \n \n \n \n )}\n
    \n \n \n );\n}\n\nModalMerchantChargeComponent.propTypes = {\n emailsAndRoles: PropTypes.array,\n show: PropTypes.bool,\n setShow: PropTypes.func,\n inviteMembers: PropTypes.func,\n setRole: PropTypes.func,\n validateEmptyField: PropTypes.func,\n addNewUserEmailAndRole: PropTypes.func,\n setEmail: PropTypes.func,\n removeNewUserEmailAndRole: PropTypes.func,\n doValidation: PropTypes.func,\n handleClose: PropTypes.func\n};\n","import React, { useState, useEffect, useRef } from 'react';\nimport PropTypes from 'prop-types';\nimport ModalMerchantChargeComponent from './modal-merchant-charges.component';\nimport { AdminService } from 'services';\n\nexport default function ModalMerchantCharge(props) {\n const {\n snackbarMessage,\n setSnackbarMessage,\n showSnackbarStatus,\n setShowSnackbarStatus,\n setMerchantChargeResponse,\n getMerchantChargesList,\n setOpenMerchantModal\n } = props;\n\n const [disabled, setDisabled] = useState(true);\n const [merchantDate, setMerchantDate] = useState(new Date().toISOString().slice(0, 10));\n const [merchantDescription, setMerchantDescription] = useState('');\n const [merchantAmount, setMerchantAmount] = useState('');\n const [merchantBtn, setMerchantBtn] = useState(true);\n const [merchantReceipt, setMerchantReceipt] = useState(true);\n const [loading, setLoading] = useState(false);\n const isMaxAmount = (values) => {\n const { value, floatValue } = values;\n const MAX = 9999999.99;\n const MIN = 0;\n\n if (typeof floatValue === 'undefined' || typeof value === 'undefined') {\n return true;\n }\n if (value.charAt(0) === '0') {\n if (value.charAt(1) && value.charAt(1) !== '.') {\n return false;\n }\n }\n if (value > MAX) {\n return false;\n }\n if (value < MIN) {\n return false;\n }\n return true;\n };\n\n const handleClose = () => {\n setOpenMerchantModal(false);\n if (!merchantReceipt) {\n getMerchantChargesList();\n }\n };\n\n const wrapperRef = useRef(null);\n\n let headCells = [\n {\n id: 'client',\n numeric: false,\n disablePadding: false,\n label: 'Client',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'invoice_date',\n numeric: false,\n disablePadding: false,\n label: 'Invoice date',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'description',\n numeric: false,\n disablePadding: false,\n label: 'Description',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'amount',\n numeric: false,\n disablePadding: false,\n label: 'Amount',\n hideSortingIcon: true,\n alignCenter: true\n }\n ];\n\n useEffect(() => {\n if (merchantDate === '' || merchantDescription === '' || merchantAmount === '') {\n setMerchantBtn(true);\n } else {\n setMerchantBtn(false);\n }\n }, [merchantDate, merchantDescription, merchantAmount]);\n const regex = /(<([^>]+)>)/gi;\n\n const merchantBtnHandler = async () => {\n setLoading(true);\n const response = await AdminService.updateMerchantCharges({\n date: merchantDate,\n description: `Invoice ${merchantDescription.replace(regex, '')}`,\n amount: merchantAmount\n });\n if (response.isSuccesfully) {\n setLoading(true);\n setSnackbarMessage('Invoice has been created successfully!');\n setShowSnackbarStatus(true);\n setMerchantReceipt(false);\n setMerchantChargeResponse(true);\n } else {\n setLoading(true);\n setSnackbarMessage(response.error.message);\n setShowSnackbarStatus(true);\n setMerchantChargeResponse(false);\n setOpenMerchantModal(false);\n }\n setLoading(false);\n };\n\n return (\n \n );\n}\n\nModalMerchantCharge.propTypes = {\n setLoading: PropTypes.func,\n setShow: PropTypes.func,\n getTeamMembers: PropTypes.func,\n doValidation: PropTypes.func\n};\n","import React from 'react';\nimport { Dialog, DialogContent, Button, Typography, Box } from '@material-ui/core';\nimport styles from './modal-otp-verification.module.scss';\nimport { Form } from 'react-bootstrap';\nimport LinkMaterial from '@material-ui/core/Link';\n\nexport default function ModalOTPVerificationComponent(props) {\n const {\n onCancel,\n onVerify,\n onResend,\n openModalOtpVerification,\n phoneNumber,\n otpText,\n setOtpText,\n isLoading,\n error,\n seconds,\n isActiveTimer\n } = props;\n\n return (\n \n \n
    \n \n \n

    \n \n A verification code has been sent to this \n \n mobile number {phoneNumber}. Please check\n if you don’t have this number anymore please contact support at\n +44(0)3330165548. \n \n \n

    \n

    Code is valid for 5 minutes.

    \n
    \n
    \n
    \n \n Verification code\n {\n if (e.target.value.length <= 6) {\n setOtpText(e.target.value);\n }\n }}\n />\n \n {error ? error : <> }\n \n \n\n
    \n
    \n \n RESEND\n \n
    \n
    \n \n Verify code{' '}\n \n
    \n
    \n

    \n {isActiveTimer ? <>Retry after {seconds} seconds : <> }\n

    \n
    \n \n \n Cancel\n \n \n
    \n
    \n
    \n
    \n \n );\n}\n","import React, { useEffect, useState, useRef } from 'react';\nimport ModalOTPVerificationComponent from './modal-otp-verification.component';\nimport { useGlobalStateContext } from 'contexts';\nimport OtpService from 'services/otp.service';\nconst LIMIT = 59;\n\nexport default function ModalOTPVerification(props) {\n const {\n phoneNumber,\n openModalOtpVerification,\n setOpenModalOtpVerification,\n setMessageType,\n setMessage,\n setShowMerchantVerificationMessage\n } = props;\n const [otpText, setOtpText] = useState('');\n const [isLoading, setIsLoading] = useState(false);\n const [error, setError] = useState('');\n const errorTimer = useRef(null);\n const { globalState } = useGlobalStateContext();\n const [seconds, setSeconds] = useState(LIMIT);\n const [isActiveTimer, setIsActiveTimer] = useState(true);\n\n const startTimer = () => {\n setSeconds(LIMIT);\n setIsActiveTimer(true);\n };\n\n const onCancel = async () => {\n setOpenModalOtpVerification(false);\n };\n\n const onResend = async () => {\n setIsLoading(true);\n errorTimer.current = null;\n setError('');\n const response = await OtpService.resendOtp(globalState.merchant?.id, {\n method: 'phone',\n type: 'merchant-verification',\n portalURL: globalState.reseller?.portalURL\n });\n if (response.isSuccesfully) {\n startTimer();\n } else {\n setError(response.data);\n }\n setIsLoading(false);\n };\n\n const onVerify = async () => {\n setIsLoading(true);\n errorTimer.current = null;\n setError('');\n const response = await OtpService.verifyOtp(globalState.merchant?.id, {\n method: 'phone',\n type: 'merchant-verification',\n value: otpText,\n portalURL: globalState.reseller?.portalURL\n });\n if (response.isSuccesfully) {\n setIsLoading(true);\n setShowMerchantVerificationMessage(true);\n setMessage('Merchant verified!');\n setMessageType('success');\n onCancel();\n setIsLoading(false);\n } else {\n setError(response.data);\n }\n setIsLoading(false);\n };\n\n useEffect(() => {\n if (error) {\n errorTimer.current = setTimeout(() => {\n setError('');\n }, 12000);\n }\n }, [error]);\n\n useEffect(() => {\n let interval = null;\n if (seconds < 0) {\n clearInterval(interval);\n setIsActiveTimer(false);\n } else {\n interval = setInterval(() => {\n setSeconds((seconds) => seconds - 1);\n }, 1000);\n }\n return () => clearInterval(interval);\n }, [isActiveTimer, seconds]);\n\n return (\n \n );\n}\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport style from './adyen-merchant-list.module.scss';\nimport { getComparator, stableSort } from '../../../utils/helper';\nimport { AuthService } from 'services';\nimport { Redirect } from 'react-router-dom';\nimport { useGlobalStateContext } from 'contexts';\nimport { AdyenAccountStatus, AdyenAccountCategory, AdyenTier } from 'utils/enums/AdyenVariables';\nimport TableHeader from '../../payments/transaction-tables/table-header/table-header.container.js';\nimport FileCopyIcon from '@material-ui/icons/FileCopy';\nimport { SnackBarAndAlert } from 'components';\nimport {\n TableBody,\n TableCell,\n TableRow,\n Table,\n TableContainer,\n Paper,\n CircularProgress,\n TableFooter,\n TablePagination,\n Box,\n makeStyles,\n Button,\n TextField,\n Select,\n MenuItem,\n FormControl,\n InputLabel,\n Grid,\n Input\n} from '@material-ui/core';\n\nconst useStyles = makeStyles(() => ({\n visuallyHidden: {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: 1,\n margin: -1,\n padding: 0,\n position: 'absolute',\n top: 20,\n width: 1\n },\n tableCellSmallSize: {\n '& td': {\n minWidth: '230px',\n maxWidth: '230px'\n },\n '& th': {\n minWidth: '230px',\n maxWidth: '230px'\n }\n },\n noData: {\n textAlign: 'center',\n paddingBottom: '100px',\n paddingTop: '100px'\n },\n tableRow: {\n '&$selected, &$selected:hover': {\n backgroundColor: '#e4e1fe'\n }\n },\n headWidth: {\n minWidth: '210px'\n }\n}));\n\nfunction AdyenMerchantListComponent(props) {\n const {\n loading,\n error,\n page,\n rowsPerPage,\n rows,\n handleChangePage,\n handleChangeRowsPerPage,\n count,\n order,\n orderBy,\n setInputValue,\n onSearchMerchants,\n open,\n setOpen,\n adyenAccountStatus,\n setAdyenAccountStatus,\n adyenCategory,\n setAdyenCategory,\n handleCopyMerchantId,\n closeCopyAlert,\n isCopyAlertOpen,\n filteredTheAdyenMerchants\n } = props;\n\n const classes = useStyles();\n const { getRoute } = useGlobalStateContext();\n return (\n \n {AuthService.isLoggedUser() ? (\n
    \n
    \n setInputValue(e.target.value)}\n />\n \n Search\n \n \n \n Adyen account status\n \n {\n setAdyenAccountStatus(e.target.value);\n filteredTheAdyenMerchants(e.target.value, adyenCategory);\n }}\n disableUnderline\n id=\"adyen-account-status-filter\"\n >\n {Object.keys(AdyenAccountStatus).map((accountStatus) => (\n {AdyenAccountStatus[accountStatus]}\n ))}\n \n \n \n \n Adyen category\n \n {\n setAdyenCategory(e.target.value);\n filteredTheAdyenMerchants(adyenAccountStatus, e.target.value);\n }}\n id=\"adyen-category-filter\"\n >\n {Object.keys(AdyenAccountCategory).map((category) => (\n {AdyenAccountCategory[category]}\n ))}\n \n \n \n \n {loading ? (\n \n \n \n ) : (\n \n \n \n \n \n {error ? (\n
    \n An error occurred, please try reloading your browser.\n
    \n ) : count === 0 ? (\n \n \n \n No Records found\n \n \n \n ) : (\n \n {stableSort(\n rowsPerPage > 0\n ? rows.slice(\n page * rowsPerPage,\n page * rowsPerPage + rowsPerPage\n )\n : rows,\n getComparator(order, orderBy)\n ).map((row, index) => {\n return (\n \n {\n setOpen(open === index ? '' : index);\n }}\n key={row.id}\n hover\n className={style.rowstyle}\n >\n \n \n \n \n \n \n \n handleCopyMerchantId(\n row.merchantId\n )\n }\n />\n \n \n \n \n {AdyenAccountStatus[row.accountStatus]}\n \n {/* \n {AdyenPayoutStatus[row.payoutStatus]}\n */}\n \n {AdyenTier[row.adyenTier]}\n \n {row.totalPayout}\n \n \n );\n })}\n \n )}\n
    \n \n {count > 0 && (\n \n \n \n )}\n \n \n
    \n
    \n )}\n
    \n {isCopyAlertOpen && (\n \n Successfully copied the merchant id.\n \n )}\n
    \n ) : (\n \n )}\n
    \n );\n}\n\nAdyenMerchantListComponent.propTypes = {\n loading: PropTypes.bool,\n rows: PropTypes.array.isRequired,\n error: PropTypes.bool,\n handleChangePage: PropTypes.func,\n handleChangeRowsPerPage: PropTypes.func,\n page: PropTypes.number,\n rowsPerPage: PropTypes.number,\n count: PropTypes.number,\n setInputValue: PropTypes.func,\n onSearchMerchants: PropTypes.func,\n setOpen: PropTypes.func\n};\n\nexport default AdyenMerchantListComponent;\n","import React, { useState, useEffect } from 'react';\nimport AuditDataComponent from './adyen-merchant-list.component';\nimport AdyenService from 'services/adyen.service';\nimport PropTypes from 'prop-types';\nimport _ from 'lodash';\n\nconst AdyenMerchantList = (props) => {\n const [loading, setLoading] = useState(false);\n const [error, setError] = useState(false);\n const [page, setPage] = useState(0);\n const [rowsPerPage, setRowsPerPage] = useState(20);\n const [adyenMerchantList, setAdyenMerchantList] = useState([]);\n const [filteredAdyenMerchantList, setFilteredAdyenMerchantList] = useState([]);\n const [adyenAccountStatus, setAdyenAccountStatus] = useState('ALL');\n const [adyenCategory, setAdyenCategory] = useState('CRITICAL');\n const [count, setCount] = useState(0);\n const [order, setOrder] = useState('desc');\n const [orderBy, setOrderBy] = useState('createdDate');\n const [inputValue, setInputValue] = useState('');\n const [open, setOpen] = useState('');\n const [isCopyAlertOpen, setIsCopyAlertOpen] = useState(false);\n\n const headCells = [\n { id: 'mid', numeric: true, disablePadding: false, label: 'Merchant ID' },\n { id: 'account_status', numeric: false, disablePadding: false, label: 'Account status' },\n // { id: 'payout_status', numeric: false, disablePadding: false, label: 'Payout status', hideSortingIcon: true },\n { id: 'tier', numeric: false, disablePadding: false, label: 'Tier', hideSortingIcon: true },\n {\n id: 'totalPayout',\n numeric: false,\n disablePadding: false,\n label: 'Total payout processed'\n }\n ];\n const handleChangePage = (event, newPage) => {\n setPage(newPage);\n };\n\n const handleChangeRowsPerPage = (event) => {\n setRowsPerPage(parseInt(event.target.value, 10));\n setPage(0);\n };\n\n const onSearchMerchants = (e) => {\n setPage(0);\n filteredTheAdyenMerchants(adyenAccountStatus, adyenCategory);\n e.preventDefault();\n };\n\n useEffect(() => {\n getAdyenMerchantList(0);\n // eslint-disable-next-line\n }, []);\n\n useEffect(() => {\n filteredTheAdyenMerchants(adyenAccountStatus, 'CRITICAL');\n // eslint-disable-next-line\n }, [adyenMerchantList]);\n\n const filteredTheAdyenMerchants = (adyenAccountStatus = 'ALL', adyenCategory = 'ALL') => {\n setPage(0);\n let filteredList = [...adyenMerchantList];\n if (adyenCategory === 'CRITICAL') {\n filteredList = adyenMerchantList.filter((merchant) => merchant.totalPayout >= 5000);\n } else if (adyenCategory === 'HIGH') {\n filteredList = adyenMerchantList.filter(\n (merchant) => merchant.totalPayout >= 1000 && merchant.totalPayout < 5000\n );\n } else if (adyenCategory === 'LOW') {\n filteredList = adyenMerchantList.filter((merchant) => merchant.totalPayout < 1000);\n }\n\n filteredList = filteredList.filter((merchant) =>\n adyenAccountStatus === 'ALL' ? true : merchant.accountStatus === adyenAccountStatus\n );\n if (inputValue.length > 2) {\n filteredList = filteredList.filter((merchant) => merchant.merchantId.toString() === inputValue);\n }\n filteredList = _.orderBy(filteredList, ['totalPayout'], ['desc']);\n setFilteredAdyenMerchantList(filteredList);\n setCount(filteredList.length);\n };\n\n const getAdyenMerchantList = async () => {\n setLoading(true);\n const response = await AdyenService.getAdyenCriticalMerchantsList();\n\n if (response.isSuccesfully) {\n setOpen(false);\n setAdyenMerchantList(response.data.data);\n setFilteredAdyenMerchantList(response.data.data);\n } else {\n setError(true);\n }\n setLoading(false);\n };\n\n const handleRequestSort = (event, property) => {\n const isAsc = orderBy === property && order === 'asc';\n setOrder(isAsc ? 'desc' : 'asc');\n setOrderBy(property);\n setOpen(false);\n };\n\n const handleCopyMerchantId = (merchantId) => {\n navigator.clipboard.writeText(merchantId);\n setIsCopyAlertOpen(true);\n };\n\n const closeCopyAlert = () => {\n setIsCopyAlertOpen(false);\n };\n\n return (\n \n );\n};\n\nAdyenMerchantList.propTypes = {\n handleChangePage: PropTypes.func,\n handleChangeRowsPerPage: PropTypes.func,\n loading: PropTypes.bool,\n error: PropTypes.bool,\n headCells: PropTypes.array,\n setLoading: PropTypes.func,\n rowsPerPage: PropTypes.number,\n setError: PropTypes.func,\n setOpen: PropTypes.func,\n auditData: PropTypes.array,\n setAuditData: PropTypes.func\n};\n\nexport default AdyenMerchantList;\n","import React from 'react';\nimport { Grid, Button, Typography } from '@material-ui/core';\nimport { Input, Label } from 'components/onboarding/onboarding-ui-components';\nimport { SnackBarAndAlert } from 'components';\nimport { useGlobalStateContext } from 'contexts';\nimport { AuthService } from 'services';\nimport { Redirect } from 'react-router-dom';\n\nimport PropTypes from 'prop-types';\n\nimport PhoneInput from 'react-phone-input-2';\nimport 'react-phone-input-2/lib/bootstrap.css';\n\nimport styles from './change-user-attributes.module.scss';\nimport { useMediaQuery } from '@material-ui/core';\nimport { InputValidators } from 'validators';\nimport { UserType } from 'utils/enums/UserType';\n\nconst SupportChangeUserAttributes = (props) => {\n const {\n emailToSearch,\n setEmailToSearch,\n newEmail,\n setNewEmail,\n newPhoneNumber,\n setNewPhoneNumber,\n showUpdateAttributeView,\n setShowUpdateAttributeView,\n handleSearchUserByEmail,\n handleUpdatePhoneNumber,\n handleUpdateEmail,\n userToBeModified,\n message,\n setMessage,\n isSuccess,\n updateFirstName,\n updateLastName,\n setUpdateLastName,\n setUpdateFirstName,\n handleUpdateUserName,\n disabled\n } = props;\n\n const mediaLessThan600px = useMediaQuery('(max-width:599px)');\n const { getRoute } = useGlobalStateContext();\n const { globalState } = useGlobalStateContext();\n\n const userIsLoggedIn = AuthService.isLoggedUser();\n const isSuperAdmin = globalState.user?.UserType?.name === UserType.SuperAdmin;\n\n return { userIsLoggedIn } ? (\n \n \n \n \n \n \n \n {\n setEmailToSearch(e.target.value.toLowerCase().trim());\n setShowUpdateAttributeView(false);\n }}\n />\n \n \n \n Search\n \n \n \n\n {message && (\n {\n setMessage('');\n }}\n >\n {message}\n \n )}\n\n {showUpdateAttributeView && (\n <>\n \n \n User's name: \n \n {[userToBeModified.firstName, userToBeModified.lastName].join(' ')}\n \n \n \n \n setNewEmail(e.target.value.toLowerCase().trim())}\n />\n \n \n \n Update email\n \n \n \n \n \n {\n setNewPhoneNumber(phone);\n }}\n inputClass={styles.phoneInput}\n name=\"phone\"\n />\n \n \n \n Update phone\n \n \n \n \n {isSuperAdmin && (\n \n \n setUpdateFirstName(e.target.value.trimStart())}\n inputProps={{ maxLength: 255 }}\n />\n \n \n setUpdateLastName(e.target.value.trimStart())}\n inputProps={{ maxLength: 255 }}\n />\n \n \n \n Update name\n \n \n \n )}\n \n )}\n \n \n ) : (\n \n );\n};\n\nexport default SupportChangeUserAttributes;\n\nSupportChangeUserAttributes.propTypes = {\n emailToSearch: PropTypes.string.isRequired,\n setEmailToSearch: PropTypes.func.isRequired,\n newEmail: PropTypes.string.isRequired,\n setNewEmail: PropTypes.func.isRequired,\n newPhoneNumber: PropTypes.string.isRequired,\n setNewPhoneNumber: PropTypes.func.isRequired,\n showUpdateAttributeView: PropTypes.bool.isRequired,\n setShowUpdateAttributeView: PropTypes.func.isRequired,\n handleSearchUserByEmail: PropTypes.func.isRequired,\n handleUpdatePhoneNumber: PropTypes.func.isRequired,\n handleUpdateEmail: PropTypes.func.isRequired,\n userToBeModified: PropTypes.shape({\n firstName: PropTypes.string.isRequired,\n lastName: PropTypes.string.isRequired,\n phoneNumber: PropTypes.string\n }),\n message: PropTypes.string.isRequired,\n setMessage: PropTypes.func.isRequired,\n isSuccess: PropTypes.bool.isRequired\n};\n","import React, { useEffect, useState } from 'react';\nimport SupportChangeUserAttributesComponent from './change-user-attributes.component';\nimport { UserService } from 'services';\nimport { AuthService } from 'services';\n\nimport { useGlobalStateContext } from 'contexts';\n\nconst SupportChangeUserAttributes = () => {\n const [emailToSearch, setEmailToSearch] = useState('');\n const [newEmail, setNewEmail] = useState('');\n const [newPhoneNumber, setNewPhoneNumber] = useState('');\n const [showUpdateAttributeView, setShowUpdateAttributeView] = useState(false);\n const [userToBeModified, setUserToBeModified] = useState({ firstName: '', lastName: '' });\n const [updateFirstName, setUpdateFirstName] = useState('');\n const [updateLastName, setUpdateLastName] = useState('');\n const [disabled, setDisabled] = useState(true);\n\n const [message, setMessage] = useState('');\n const [isSuccess, setIsSuccess] = useState(false);\n const { setRoute } = useGlobalStateContext();\n\n const userIsLoggedIn = AuthService.isLoggedUser();\n\n useEffect(() => {\n if (!userIsLoggedIn) {\n setRoute('/');\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [userIsLoggedIn]);\n useEffect(() => {\n setDisabled(updateFirstName.length === 0 || updateLastName.length === 0);\n }, [updateFirstName, updateLastName]);\n\n const handleSearchUserByEmail = async () => {\n setShowUpdateAttributeView(false);\n setMessage('');\n\n let response = await UserService.getUserByEmail(emailToSearch);\n\n if (response.isSuccessfully && response.user) {\n setShowUpdateAttributeView(true);\n setUserToBeModified(response.user);\n setNewPhoneNumber(response.user.phoneNumber || '');\n } else {\n setIsSuccess(false);\n setMessage('There is no user with this Email.');\n }\n };\n\n const handleUpdateEmail = async () => {\n let userIsLoggedIn = await AuthService.isLoggedUser();\n if (userIsLoggedIn) {\n let response = await UserService.supportUpdateUserAttributes({\n email: emailToSearch,\n newEmail: newEmail\n });\n\n if (response.isSuccesfully && userIsLoggedIn) {\n setIsSuccess(true);\n setMessage('Successfully updated the email to: ' + newEmail);\n setEmailToSearch(newEmail);\n } else {\n setIsSuccess(false);\n setMessage(\"Couldn't update email. Error: \" + (response.error || 'Unknown error occurred.'));\n }\n } else {\n setRoute('/');\n }\n };\n\n const handleUpdatePhoneNumber = async () => {\n let phoneNumberForCognito = '+' + newPhoneNumber;\n let response = await UserService.supportUpdateUserAttributes({\n email: emailToSearch,\n newPhoneNumber: phoneNumberForCognito\n });\n\n if (response.isSuccesfully) {\n setIsSuccess(true);\n setMessage('Successfully updated the phone number to: ' + phoneNumberForCognito);\n } else {\n setIsSuccess(false);\n setMessage(\"Couldn't update the phone number. Error: \" + (response.error || 'Unknown error occurred.'));\n }\n };\n const handleUpdateUserName = async () => {\n let response = await UserService.supportUpdateUserAttributes({\n email: emailToSearch,\n newFirstName: updateFirstName,\n newLastName: updateLastName\n });\n\n if (response.isSuccesfully) {\n setIsSuccess(true);\n setMessage('Successfully updated the user name');\n setUserToBeModified((prevState) => ({\n ...prevState,\n firstName: updateFirstName,\n lastName: updateLastName\n }));\n } else {\n setIsSuccess(false);\n setMessage(\"Couldn't update the user name. Error: \" + (response.error || 'Unknown error occurred.'));\n }\n };\n\n return (\n \n );\n};\n\nexport default SupportChangeUserAttributes;\n","export const TermsAndConditionsStatusName = {\n active: 'Active',\n inactive: 'Inactive',\n pending: 'Pending'\n};\n","export const ImposedBy = [\n { name: 'Brand', creator: 'reseller' },\n { name: 'Reseller', creator: 'canonical_reseller' },\n { name: 'Acquirer', creator: 'acquirer' }\n];\n\nexport const ImposedByName = {\n RESELLER: 'reseller',\n CANONICAL_RESELLER: 'canonical_reseller',\n ACQUIRER: 'acquirer'\n};\n","import React from 'react';\nimport {\n Grid,\n Button,\n NativeSelect,\n Table,\n TableBody,\n TableCell,\n TableContainer,\n TableRow,\n Paper,\n Typography,\n Box,\n LinearProgress\n} from '@material-ui/core';\nimport TableHeader from '../../payments/transaction-tables/table-header/table-header.container';\nimport { Input, FormItem, SelectedDropDown } from 'components/onboarding/onboarding-ui-components';\nimport { SnackBarAndAlert } from 'components';\nimport PropTypes from 'prop-types';\nimport DescriptionOutlinedIcon from '@material-ui/icons/DescriptionOutlined';\nimport styles from './upload-terms-and-conditions.module.scss';\nimport { useMediaQuery } from '@material-ui/core';\nimport { makeStyles } from '@material-ui/core/styles';\nimport { stableSort, getComparator, formatDateTimeByFormatString } from 'utils/helper';\nimport { TermsAndConditionsStatusName } from 'utils/enums/TermsAndConditionStatus';\nimport CancelOutlinedIcon from '@material-ui/icons/CancelOutlined';\nimport { LoadingScreen } from 'components';\nimport { ImposedBy } from 'utils/enums/TermsAndConditions';\nimport { useGlobalStateContext } from 'contexts';\nimport { AuthService } from 'services';\nimport { Redirect } from 'react-router-dom';\n\nfunction LinearProgressWithLabel(props) {\n return (\n \n \n \n \n \n {`${Math.round(props.value)}%`}\n \n \n );\n}\n\nconst linerProgressUseStyles = makeStyles({\n root: {\n width: '420px'\n }\n});\n\nconst useStyles = makeStyles(() => ({\n visuallyHidden: {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: 1,\n margin: -1,\n padding: 0,\n position: 'absolute',\n top: 20,\n width: 1\n }\n}));\n\nconst UploadTermsAndConditionsComponent = (props) => {\n const classes = useStyles();\n const linerProgressClasses = linerProgressUseStyles();\n const {\n displayList,\n isLoading,\n selectedEntityValue,\n progress,\n selectFile,\n uploadFile,\n fileName,\n disableInput,\n selectEntityValue,\n termsAndConditionsList,\n order,\n orderBy,\n uploadingFailed,\n uploadSuccess,\n setUploadingFailed,\n fileExistError,\n setFileExistError,\n removeSelectedFile,\n setUploadSuccess,\n disableUpload,\n imposedBy,\n selectEntity,\n disableEntityInput\n } = props;\n\n const mediaLessThan600px = useMediaQuery('(max-width:599px)');\n const { getRoute } = useGlobalStateContext();\n\n const userIsLoggedIn = AuthService.isLoggedUser();\n console.log('userIsLoggedIn', userIsLoggedIn);\n\n return { userIsLoggedIn } ? (\n \n \n \n Terms and Conditions\n \n \n \n \n \n On successful upload, all the previous Terms & conditions will be deactivated\n \n \n \n \n \n \n \n \n T&C Imposed by:\n \n \n \n \n \n \n {\n selectEntity(e.target.value);\n }}\n />\n }\n >\n {ImposedBy.map((item) => (\n \n ))}\n \n \n \n option.name}\n onChange={(event, newValue) => {\n selectEntityValue(newValue);\n }}\n customListRender={(option) => (\n \n {option.name}\n \n )}\n disabled={disableEntityInput}\n />\n \n \n \n \n document\n .getElementById('select-terms-and-condition-file')\n .click()\n }\n >\n \n \n Select file\n \n \n \n Allowed format: PDF\n \n {fileName && (\n
    \n \n \n \n \n {fileName}\n \n \n \n \n \n Upload\n \n \n \n
    \n )}\n selectFile(e.target.files[0])}\n accept=\"application/pdf\"\n />\n
    \n
    \n
    \n
    \n \n
    \n \n \n File history\n \n \n {termsAndConditionsList.length === 0 ? (\n
    No files found
    \n ) : (\n \n \n\n \n {stableSort(termsAndConditionsList, getComparator(order, orderBy)).map(\n (termsAndCondition) => (\n \n \n \n {termsAndCondition.fileName}\n \n \n \n {TermsAndConditionsStatusName[termsAndCondition.status]}\n \n \n {formatDateTimeByFormatString(\n termsAndCondition.activatedAt,\n 'DD MMM HH:mm'\n )}\n \n \n {termsAndCondition.deactivatedAt\n ? formatDateTimeByFormatString(\n termsAndCondition.deactivatedAt,\n 'DD MMM HH:mm'\n )\n : 'N/A'}\n \n \n )\n )}\n \n \n )}\n
    \n
    \n
    \n
    \n {uploadingFailed && (\n setUploadingFailed(false)} type=\"error\">\n Uploading failed.\n \n )}\n {fileExistError && (\n setFileExistError(false)} type=\"error\">\n File with name {fileName} already exist.\n \n )}\n {uploadSuccess && (\n setUploadSuccess(false)} type=\"success\">\n File uploaded successfully.\n \n )}\n \n
    \n \n
    \n ) : (\n \n );\n};\n\nexport default UploadTermsAndConditionsComponent;\n\nUploadTermsAndConditionsComponent.propTypes = {\n message: PropTypes.string.isRequired,\n setMessage: PropTypes.func.isRequired,\n canonicalResellerList: PropTypes.array,\n isLoading: PropTypes.bool,\n progress: PropTypes.bool,\n selectFile: PropTypes.func,\n uploadFile: PropTypes.func,\n fileName: PropTypes.string,\n disableInput: PropTypes.bool,\n selectCanonicalReseller: PropTypes.func,\n termsAndConditionsList: PropTypes.array,\n order: PropTypes.string,\n orderBy: PropTypes.string,\n uploadingFailed: PropTypes.bool,\n uploadSuccess: PropTypes.bool,\n setUploadingFailed: PropTypes.func,\n fileExistError: PropTypes.bool,\n setFileExistError: PropTypes.func,\n removeSelectedFile: PropTypes.func,\n setUploadSuccess: PropTypes.func,\n disableUpload: PropTypes.bool\n};\n","import React, { useState, useEffect } from 'react';\nimport UploadTermsAndConditionsComponent from './upload-terms-and-conditions.component';\nimport { TaxonomyService, TermsAndConditionsService, CanonicalResellerService } from 'services';\nimport { ResellerNameAndId } from 'utils/enums/ResellerType';\nimport { useGlobalStateContext } from 'contexts';\nimport { ImposedByName } from 'utils/enums/TermsAndConditions';\nimport { ImposedBy } from 'utils/enums/TermsAndConditions';\nimport { AuthService } from 'services';\n\nconst UploadTermsAnsConditions = () => {\n const { globalState } = useGlobalStateContext();\n const [message, setMessage] = useState('');\n const [displayList, setDisplayList] = useState([]);\n const [termsAndConditionsList, setTermsAndConditionsList] = useState([]);\n const [count, setCount] = useState(0);\n const [isLoading, setIsLoading] = useState(false);\n const [progress, setProgress] = useState(0);\n const [selectedEntityValue, setSelectedEntityValue] = useState('');\n const [disableInput, setDisableInput] = useState(false);\n const [file, setFile] = useState(null);\n const [fileName, setFileName] = useState('');\n const [entityId, setEntityId] = useState('');\n const [uploadSuccess, setUploadSuccess] = useState(false);\n const [uploadingFailed, setUploadingFailed] = useState(false);\n const [fileExistError, setFileExistError] = useState(false);\n const [order, setOrder] = useState('desc');\n const [orderBy, setOrderBy] = useState('activatedAt');\n const [disableUpload, setDisableUpload] = useState(false);\n const [disableEntityInput, setDisableEntityInput] = useState(true);\n const [imposedBy, setImposedBy] = useState('');\n const [entity, setEntity] = useState('');\n const { setRoute } = useGlobalStateContext();\n const userIsLoggedIn = AuthService.isLoggedUser();\n\n useEffect(() => {\n if (!userIsLoggedIn) {\n setRoute('/');\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [userIsLoggedIn]);\n\n const getCanonicalResellerList = async () => {\n setDisableEntityInput(true);\n setIsLoading(true);\n const response = await CanonicalResellerService.getAllCanonicalResellers(globalState.reseller?.id, {\n searchValue: ''\n });\n\n if (response.isSuccesfully) {\n setDisplayList(response.data.canonicalResellers);\n selectEntityValue(response.data.canonicalResellers[0]);\n setCount(response.data.count);\n } else {\n setDisplayList([]);\n setCount(0);\n }\n\n setIsLoading(false);\n setDisableEntityInput(false);\n };\n\n const getAllAcquirer = async () => {\n setDisableEntityInput(true);\n setIsLoading(true);\n const response = await TaxonomyService.getAllAcquirer();\n\n if (response.isSuccesfully) {\n setDisplayList(response.data);\n selectEntityValue(response.data[0]);\n setCount(response.data.length);\n } else {\n setDisplayList([]);\n setCount(0);\n }\n\n setIsLoading(false);\n setDisableEntityInput(false);\n };\n\n const getResellers = async () => {\n setDisableEntityInput(true);\n setIsLoading(true);\n const response = await TaxonomyService.getResellers();\n\n if (response.isSuccesfully) {\n const resellers = response.data;\n resellers.pop();\n setDisplayList(resellers);\n selectEntityValue(resellers[0]);\n setCount(resellers.length);\n } else {\n setDisplayList([]);\n setCount(0);\n }\n\n setIsLoading(false);\n setDisableEntityInput(false);\n };\n\n useEffect(() => {\n selectEntity(ImposedBy[0].creator);\n selectEntityValue(ResellerNameAndId[0]);\n // eslint-disable-next-line\n }, []);\n\n const selectEntity = (imposedBy) => {\n setEntity(imposedBy);\n setImposedBy(imposedBy);\n setEntityId('');\n setFile(null);\n setFileName('');\n setProgress(0);\n setTermsAndConditionsList([]);\n let fileUploadInput = document.getElementById('select-terms-and-condition-file');\n if (fileUploadInput) {\n fileUploadInput.value = '';\n }\n\n if (imposedBy === ImposedByName.RESELLER) {\n getResellers();\n } else if (imposedBy === ImposedByName.CANONICAL_RESELLER) {\n getCanonicalResellerList();\n } else if (imposedBy === ImposedByName.ACQUIRER) {\n getAllAcquirer();\n }\n\n // eslint-disable-next-line\n };\n\n const isFileUnique = (newFile) => {\n setFileExistError(false);\n let isUnique = true;\n const nonUnique = termsAndConditionsList.find((existingItem) => existingItem.fileName === newFile.name);\n if (nonUnique) {\n isUnique = false;\n setFileExistError(true);\n }\n return isUnique;\n };\n\n const addFileName = (allTermsAndConditions) => {\n const updatedList = allTermsAndConditions.map((termsAndCondition) => {\n const termsAndConditionUrl = termsAndCondition.link;\n const urlComponent = termsAndConditionUrl.split('/');\n const fileName = decodeURIComponent(urlComponent[urlComponent.length - 1]);\n return {\n ...termsAndCondition,\n fileName: fileName\n };\n });\n return updatedList;\n };\n\n useEffect(() => {\n const getAllTermsAndConditions = async () => {\n setIsLoading(true);\n const response = await TermsAndConditionsService.getTermsAndConditions(entity, entityId);\n\n if (response.isSuccesfully) {\n const allTermsAndConditions = response.data;\n const updatedList = addFileName(allTermsAndConditions);\n setTermsAndConditionsList(updatedList);\n }\n setIsLoading(false);\n };\n\n if (entityId) {\n getAllTermsAndConditions();\n }\n\n // eslint-disable-next-line\n }, [entityId]);\n\n const fileProgress = (filename, progress) => {\n setIsLoading(false);\n const { loaded, total } = progress;\n const percentageProgress = Math.floor((loaded / total) * 100);\n\n setFileName(filename);\n setProgress(percentageProgress);\n };\n\n const selectFile = (newFile) => {\n if (newFile) {\n setFile(newFile);\n setFileName(newFile.name);\n setDisableInput(true);\n setDisableUpload(false);\n }\n };\n\n const selectEntityValue = (value) => {\n setSelectedEntityValue(value);\n setEntityId(value?.id);\n setFile(null);\n setFileName('');\n let fileUploadInput = document.getElementById('select-terms-and-condition-file');\n if (fileUploadInput) {\n fileUploadInput.value = '';\n }\n setProgress(0);\n if (!value || !value?.id) {\n setDisableInput(true);\n } else {\n setDisableInput(false);\n }\n };\n\n const uploadFile = async () => {\n setDisableUpload(true);\n const isUnique = isFileUnique(file);\n\n if (isUnique) {\n setIsLoading(true);\n const uploadedFileResponse = await TermsAndConditionsService.upload(entity, entityId, file, fileProgress);\n if (uploadedFileResponse.isSuccesfully) {\n const allTermsAndConditions = uploadedFileResponse.data;\n const updatedList = addFileName(allTermsAndConditions);\n setTermsAndConditionsList(updatedList);\n setUploadSuccess(true);\n removeSelectedFile();\n } else {\n setUploadingFailed(true);\n }\n setIsLoading(false);\n setDisableUpload(false);\n }\n };\n\n const handleRequestSort = (event, property) => {\n const isAsc = orderBy === property && order === 'asc';\n setOrder(isAsc ? 'desc' : 'asc');\n setOrderBy(property);\n };\n\n const removeSelectedFile = () => {\n let fileUploadInput = document.getElementById('select-terms-and-condition-file');\n if (fileUploadInput) {\n fileUploadInput.value = '';\n }\n setFile(null);\n setFileName('');\n setDisableInput(false);\n };\n\n const headCells = [\n { id: 'file_url', numeric: false, disablePadding: false, label: 'File URL', centerAlignment: true },\n { id: 'status', numeric: false, disablePadding: false, label: 'Status', centerAlignment: true },\n {\n id: 'activatedAt',\n numeric: false,\n disablePadding: false,\n label: 'Activation Date',\n centerAlignment: true\n },\n {\n id: 'deactivatedAt',\n numeric: false,\n disablePadding: false,\n label: 'Deactivation Date',\n centerAlignment: true\n }\n ];\n\n return (\n \n );\n};\n\nexport default UploadTermsAnsConditions;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { useGlobalStateContext } from 'contexts';\nimport { Paper, List, ListItem, Typography, Container, Box, Grid, Badge } from '@material-ui/core';\nimport style from './canonical-reseller-settings.module.scss';\nimport { withStyles } from '@material-ui/core/styles';\nimport { Roles } from 'utils/enums/Roles';\nimport _ from 'lodash';\n\nconst StyledBadge = withStyles({\n badge: {\n background: '#8783b5',\n color: '#f6f7fa',\n transform: 'scale(1) translate(85%, -45%)'\n }\n})(Badge);\nfunction CanonicalResellerSettingsComponent() {\n const { setRoute, globalState, getRoute } = useGlobalStateContext();\n\n const signingInfo = globalState.canonicalReseller?.termsAndConditionInfo?.signingInfo;\n const noOfSignedTermsAndConditions = signingInfo?.noOfSignedTermsAndConditions;\n const isAgent = _.isArray(globalState.user?.Relationships)\n ? globalState.user?.Relationships[0]?.Role.name === Roles.Agent\n : false;\n\n const isUser = _.isArray(globalState.user?.Relationships)\n ? globalState.user?.Relationships[0]?.Role.name === Roles.User\n : false;\n\n return (\n \n \n \n \n {isAgent ? 'Settings' : 'Reseller settings'} \n \n \n \n {!isUser && !isAgent && (\n \n \n

    Your business

    \n \n setRoute('/update-account')}>\n \n \n Update account details\n \n \n \n \n
    \n
    \n )}\n\n \n \n

    Team and security

    \n\n \n \n \n setRoute('/team')}>\n User management\n \n \n \n\n \n \n setRoute('/update-password')}\n >\n Update password\n \n \n \n \n \n \n window.open(getRoute(`/terms-and-conditions`), '_blank')}\n >\n Terms and conditions\n \n \n \n \n \n
    \n
    \n
    \n
    \n
    \n );\n}\n\nCanonicalResellerSettingsComponent.propTypes = {\n canViewAndEditTeam: PropTypes.bool,\n isOwner: PropTypes.bool,\n isNotSubmitted: PropTypes.bool,\n isActive: PropTypes.bool,\n isAdmin: PropTypes.bool,\n isMerchant: PropTypes.bool\n};\n\nexport default CanonicalResellerSettingsComponent;\n","import React from 'react';\nimport CanonicalResellerSettingsComponent from './canonical-reseller-settings.component';\n\nfunction CanonicalResellerSettings() {\n return ;\n}\n\nCanonicalResellerSettings.propTypes = {};\n\nexport default CanonicalResellerSettings;\n","import React from 'react';\nimport styles from './canonical-reseller-onboarding.module.scss';\nimport {\n Paper,\n Button,\n Typography,\n Box,\n Grid,\n TextField,\n makeStyles,\n CircularProgress,\n NativeSelect,\n InputAdornment,\n OutlinedInput\n} from '@material-ui/core';\nimport {\n Input,\n Label,\n FormItem,\n PostCodeSelector,\n SelectedDropDown\n} from 'components/onboarding/onboarding-ui-components';\nimport PhoneInput from 'react-phone-input-2';\nimport Autocomplete from '@material-ui/lab/Autocomplete';\nimport { checkEmptyValue } from 'validators/onboarding/onboarding-check-value.validator';\nimport { InputValidators } from 'validators';\nimport NumberFormat from 'react-number-format';\nimport { getCurrencySymbol } from 'utils/getCurrencyByCountry';\nimport { SnackBarAndAlert, LoadingScreen, ValidURLInput, ValidEmailInput } from 'components';\nimport { emailValidationPattern } from 'utils/enums/EmailValidationPattern';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport CancelOutlinedIcon from '@material-ui/icons/CancelOutlined';\nimport DescriptionOutlinedIcon from '@material-ui/icons/DescriptionOutlined';\n\nconst useStyles = makeStyles(() => ({\n noOptions: {\n color: 'red !important'\n }\n}));\n\nconst CanonicalResellerOnboardingComponent = (props) => {\n const classes = useStyles();\n\n const {\n canonicalResellerDetails,\n orderDetails,\n canonicalResellerCharges,\n setCanonicalResellerDetails,\n setOrderDetails,\n setCanonicalResellerCharges,\n value,\n setValue,\n handleSelectedCompany,\n inputValue,\n setInputValue,\n openDropdown,\n setOpenDropdown,\n getCompanyDetails,\n isLoading,\n companyTypes,\n isNotLimited,\n setIsNotLimited,\n disabled,\n companies,\n initialTermOptions,\n submitOnboarding,\n message,\n showMessage,\n messageType,\n setShowMessage,\n maxAmount,\n disableInput,\n fileName,\n removeSelectedFile,\n selectFile\n } = props;\n\n return (\n \n \n \n Reseller Onboarding\n \n \n \n \n \n Reseller details\n \n \n \n \n \n \n {\n setIsNotLimited(e.target.value?.toString() !== '1');\n setCanonicalResellerDetails({\n ...canonicalResellerDetails,\n companyType: e.target.value\n });\n }}\n >\n }\n >\n \n {companyTypes.map((type) => {\n return (\n \n );\n })}\n \n \n \n \n {!isNotLimited && (\n \n \n \n \n \n `${option.title ?? ''}\n ${option.company_number ?? ''}\n ${option.address_snippet ?? ''}`\n }\n classes={{ noOptions: classes.noOptions }}\n className={`${styles.withoutBorders} ${styles.customInput}`}\n value={value}\n onChange={(event, newValue) => {\n setValue(newValue);\n handleSelectedCompany(newValue);\n setOpenDropdown(false);\n }}\n inputValue={inputValue}\n onInputChange={(event, newInputValue) => {\n setInputValue(newInputValue);\n }}\n renderOption={(option) => {\n return (\n
    \n {option.title ?? ''}\n
    \n {`${option.company_number ?? ''}\n ${option.address_snippet ?? ''}`}\n
    \n );\n }}\n renderInput={(params) => (\n \n )}\n onBlur={getCompanyDetails}\n />\n
    \n \n \n \n {isLoading ? (\n \n ) : (\n Look-up\n )}\n \n \n \n
    \n
    \n )}\n
    \n
    \n \n \n \n \n {\n setCanonicalResellerDetails({\n ...canonicalResellerDetails,\n companyName: e.target.value\n });\n }}\n />\n \n \n \n \n \n {\n const { value } = values;\n setCanonicalResellerDetails({\n ...canonicalResellerDetails,\n companyNumber: value\n });\n }}\n aria-describedby=\"outlined-weight-helper-text\"\n labelWidth={0}\n />\n \n \n \n \n \n
    \n \n \n {\n setCanonicalResellerDetails({\n ...canonicalResellerDetails,\n postCode: postCode\n });\n }}\n />\n \n \n \n {\n setCanonicalResellerDetails({\n ...canonicalResellerDetails,\n addressLine1: e.target.value\n });\n }}\n />\n \n \n \n {\n setCanonicalResellerDetails({\n ...canonicalResellerDetails,\n addressLine2: e.target.value\n });\n }}\n />\n \n \n \n {\n setCanonicalResellerDetails({\n ...canonicalResellerDetails,\n city: e.target.value\n });\n }}\n />\n \n \n \n {\n setCanonicalResellerDetails({\n ...canonicalResellerDetails,\n country: e.target.value\n });\n }}\n >\n }\n disabled\n >\n {Object.keys(MerchantCountries).map((key) => (\n \n ))}\n \n \n \n \n {\n setCanonicalResellerDetails({\n ...canonicalResellerDetails,\n supportNumber: InputValidators.validatePhoneNumber(phone)\n });\n }}\n />\n \n {/* {\n setCanonicalResellerDetails({\n ...canonicalResellerDetails,\n logoUrl: e.target.value\n });\n }}\n /> */}\n
    \n
    \n \n
    \n \n \n {\n setCanonicalResellerDetails({\n ...canonicalResellerDetails,\n primaryContactName: e.target.value.replace(/[^A-Za-z0-9\\s]/gi, '')\n });\n }}\n />\n \n {\n setCanonicalResellerDetails({\n ...canonicalResellerDetails,\n primaryContactEmail: e.target.value.toLowerCase()\n });\n }}\n autoComplete=\"off\"\n />\n\n \n \n {\n setCanonicalResellerDetails({\n ...canonicalResellerDetails,\n telNumber: InputValidators.validatePhoneNumber(phone)\n });\n }}\n />\n \n {\n setCanonicalResellerDetails({\n ...canonicalResellerDetails,\n websiteUrl: value\n });\n }}\n />\n \n \n {\n setCanonicalResellerDetails({\n ...canonicalResellerDetails,\n tradingName: e.target.value.replace(/[^A-Za-z0-9\\s]/gi, '')\n });\n }}\n />\n \n {\n setCanonicalResellerDetails({\n ...canonicalResellerDetails,\n supportEmail: e.target.value.toLowerCase()\n });\n }}\n autoComplete=\"off\"\n />\n {/* {\n setCanonicalResellerDetails({\n ...canonicalResellerDetails,\n cssUrl: e.target.value\n });\n }}\n /> */}\n
    \n
    \n
    \n
    \n \n \n \n Order details\n \n \n \n \n
    \n {/*
    \n \n \n {\n setOrderDetails({\n ...orderDetails,\n orderNumber: e.target.value\n });\n }}\n />\n \n
    */}\n \n \n {\n setOrderDetails({\n ...orderDetails,\n commencementDate: e.target.value\n });\n }}\n />\n \n \n \n {\n setOrderDetails({\n ...orderDetails,\n orderDate: e.target.value\n });\n }}\n />\n \n
    \n
    \n \n
    \n \n \n option}\n onChange={(event, newValue) => {\n setOrderDetails({\n ...orderDetails,\n initialTerm: newValue\n });\n }}\n customListRender={(option) => (\n \n {option}\n \n )}\n />\n \n
    \n
    \n
    \n
    \n \n \n \n Reseller charges\n \n \n \n \n
    \n \n \n \n \n {getCurrencySymbol('United Kingdom')}\n \n \n }\n onValueChange={(values) => {\n const { value } = values;\n setCanonicalResellerCharges({\n ...canonicalResellerCharges,\n serviceCharge: value\n });\n }}\n isAllowed={maxAmount}\n aria-describedby=\"outlined-weight-helper-text\"\n labelWidth={0}\n required\n className={styles.amountInput}\n />\n \n \n \n \n \n {getCurrencySymbol('United Kingdom')}\n \n \n }\n onValueChange={(values) => {\n const { value } = values;\n setCanonicalResellerCharges({\n ...canonicalResellerCharges,\n merchantSetupCharge: value\n });\n }}\n isAllowed={maxAmount}\n aria-describedby=\"outlined-weight-helper-text\"\n labelWidth={0}\n required\n className={styles.amountInput}\n />\n \n
    \n
    \n \n
    \n \n \n \n \n {getCurrencySymbol('United Kingdom')}\n \n \n }\n onValueChange={(values) => {\n const { value } = values;\n setCanonicalResellerCharges({\n ...canonicalResellerCharges,\n fixedCharge: value\n });\n }}\n isAllowed={maxAmount}\n aria-describedby=\"outlined-weight-helper-text\"\n labelWidth={0}\n required\n className={styles.amountInput}\n />\n \n \n \n \n \n {getCurrencySymbol('United Kingdom')}\n \n \n }\n onValueChange={(values) => {\n const { value } = values;\n setCanonicalResellerCharges({\n ...canonicalResellerCharges,\n ratePerTransaction: value\n });\n }}\n isAllowed={maxAmount}\n aria-describedby=\"outlined-weight-helper-text\"\n labelWidth={0}\n required\n className={styles.amountInput}\n />\n \n
    \n
    \n
    \n
    \n \n \n \n Terms & Conditions\n \n \n \n document.getElementById('select-terms-and-condition-file').click()}\n >\n \n Select file\n \n \n Allowed format: PDF\n \n {fileName && (\n
    \n \n \n {fileName}\n \n \n \n
    \n )}\n selectFile(e.target.files[0])}\n accept=\"application/pdf\"\n />\n
    \n \n \n \n Activate reseller\n \n \n {message && (\n setShowMessage(false)} type={messageType}>\n {message}\n \n )}\n \n
    \n );\n};\n\nexport default CanonicalResellerOnboardingComponent;\n","import React, { useState, useEffect } from 'react';\nimport CanonicalResellerOnboardingComponent from './canonical-reseller-onboarding.component';\nimport { CompaniesHouseService, TermsAndConditionsService, CanonicalResellerService } from 'services';\nimport { BusinessTypeNameAndID } from 'utils/enums/BusinessType';\nimport { InputValidators } from 'validators';\nimport { useGlobalStateContext } from 'contexts';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { ImposedByName } from 'utils/enums/TermsAndConditions';\nimport moment from 'moment';\n\nfunction CanonicalResellerOnboardingForm() {\n const { globalState, setRoute } = useGlobalStateContext();\n const [canonicalResellerDetails, setCanonicalResellerDetails] = useState({\n tradingName: '',\n primaryContactName: '',\n country: MerchantCountries.UNITED_KINGDOM\n });\n const [orderDetails, setOrderDetails] = useState({});\n const [canonicalResellerCharges, setCanonicalResellerCharges] = useState({});\n const [inputValue, setInputValue] = useState('');\n const [value, setValue] = useState(null);\n const [isLoading, setIsLoading] = useState(false);\n const [openDropdown, setOpenDropdown] = useState(false);\n const [isNotLimited, setIsNotLimited] = useState(false);\n const [disabled, setDisabled] = useState(true);\n const [companies, setCompanies] = useState(true);\n const [message, setMessage] = useState('');\n const [showMessage, setShowMessage] = useState(false);\n const [messageType, setMessageType] = useState('');\n const [file, setFile] = useState(null);\n const [fileName, setFileName] = useState('');\n const [disableInput, setDisableInput] = useState(false);\n const [progress, setProgress] = useState(0);\n const initialTermOptions = [...Array(101).keys()];\n initialTermOptions.shift();\n const entity = ImposedByName.CANONICAL_RESELLER;\n const today = moment().format('YYYY-MM-DD');\n\n useEffect(() => {\n const canonicalResellerDetailCheck =\n canonicalResellerDetails.primaryContactName &&\n InputValidators.isEmailValid(canonicalResellerDetails.primaryContactEmail) &&\n canonicalResellerDetails.telNumber &&\n canonicalResellerDetails.companyName &&\n canonicalResellerDetails.companyNumber &&\n canonicalResellerDetails.companyType !== '--Please select--' &&\n canonicalResellerDetails.postCode &&\n canonicalResellerDetails.city &&\n canonicalResellerDetails.addressLine1 &&\n canonicalResellerDetails.country &&\n InputValidators.isWebsiteUrlValid(canonicalResellerDetails.websiteUrl);\n const orderDetailCheck = orderDetails.orderDate && orderDetails.commencementDate && orderDetails.initialTerm;\n\n const canonicalResellerChargesCheck =\n canonicalResellerCharges.serviceCharge &&\n canonicalResellerCharges.fixedCharge &&\n canonicalResellerCharges.merchantSetupCharge &&\n canonicalResellerCharges.ratePerTransaction;\n\n const disabled =\n canonicalResellerDetailCheck && orderDetailCheck && canonicalResellerChargesCheck && disableInput;\n setDisabled(!disabled);\n\n // eslint-disable-next-line\n }, [canonicalResellerDetails, orderDetails, canonicalResellerCharges, disableInput]);\n\n const companyTypes = BusinessTypeNameAndID.filter(\n (business) => business.id === 1 || business.id === 2 || business.id === 5\n );\n\n useEffect(() => {\n setOrderDetails({\n ...orderDetails,\n orderDate: today,\n commencementDate: today\n });\n // eslint-disable-next-line\n }, []);\n\n const handleSelectedCompany = async (selectedValue) => {\n if (selectedValue && Object.keys(selectedValue).length) {\n setCanonicalResellerDetails({\n ...canonicalResellerDetails,\n companyName: selectedValue.title,\n companyNumber: selectedValue.company_number,\n postCode: selectedValue.address.postal_code,\n addressLine1: `${selectedValue.address.address_line_1}`,\n city: selectedValue.address.locality,\n country: selectedValue.address.country || MerchantCountries.UNITED_KINGDOM\n });\n }\n };\n\n const getCompanyDetails = async () => {\n const companyName = inputValue;\n setIsLoading(true);\n const result = await CompaniesHouseService.getCompaniesDetail(companyName, 10);\n\n if (result.isSuccesfully) {\n setCompanies(result.data.items);\n if (result.data.items.length) setOpenDropdown(true);\n }\n\n setIsLoading(false);\n };\n\n const selectFile = (newFile) => {\n if (newFile) {\n setFile(newFile);\n setFileName(newFile.name);\n setDisableInput(true);\n }\n };\n\n const removeSelectedFile = () => {\n let fileUploadInput = document.getElementById('select-terms-and-condition-file');\n if (fileUploadInput) {\n fileUploadInput.value = '';\n }\n setFile(null);\n setFileName('');\n setDisableInput(false);\n };\n\n const fileProgress = (filename, progress) => {\n const { loaded, total } = progress;\n const percentageProgress = Math.floor((loaded / total) * 100);\n\n setFileName(filename);\n setProgress(percentageProgress);\n };\n\n const submitOnboarding = () => {\n setIsLoading(true);\n const data = {\n canonicalResellerDetails: { ...canonicalResellerDetails },\n orderDetails: { ...orderDetails },\n canonicalResellerCharges: { ...canonicalResellerCharges }\n };\n CanonicalResellerService.createNewCanonicalReseller(globalState.reseller?.id, data).then((response) => {\n setShowMessage(true);\n if (response.isSuccesfully) {\n setMessageType('');\n setMessage('');\n const entityId = response.data.canonicalResellerId;\n sessionStorage.setItem('resellerCreationSuccess', true);\n TermsAndConditionsService.upload(entity, entityId, file, fileProgress).then((response) => {\n setIsLoading(false);\n if (response.isSuccesfully) {\n setRoute(`/admin-functions/${globalState.merchant.id}`);\n removeSelectedFile();\n } else {\n setMessageType('error');\n setMessage('Uploading failed. Please use admin utility to upload T&C.');\n }\n });\n } else {\n setMessageType('error');\n setMessage(response?.error);\n setIsLoading(false);\n }\n });\n };\n\n const maxAmount = (values) => {\n const { value, floatValue } = values;\n const MAX_AMT = 99999.99;\n\n if (typeof floatValue === 'undefined' || typeof value === 'undefined') {\n return true;\n }\n if (value.charAt(0) === '0') {\n if (value.charAt(1) && value.charAt(1) !== '.') {\n return false;\n }\n }\n if (value > MAX_AMT) {\n return false;\n }\n return true;\n };\n\n return (\n \n );\n}\n\nexport default CanonicalResellerOnboardingForm;\n","import React from 'react';\nimport styles from './canonical-reseller-new-merchant.module.scss';\nimport {\n Input,\n Label,\n FormItem,\n PostCodeSelector,\n SelectedDropDown\n} from 'components/onboarding/onboarding-ui-components';\nimport PropTypes from 'prop-types';\nimport NumberFormat from 'react-number-format';\nimport PhoneInput from 'react-phone-input-2';\nimport { FormControlLabel } from '@material-ui/core';\nimport { Button, Checkbox, useMediaQuery, Grid, Container, Card, Typography } from '@material-ui/core';\nimport Multiselect from 'multiselect-react-dropdown';\nimport {\n SnackBarAndAlert,\n LoadingScreen,\n ValidURLInput,\n ValidEmailInput,\n CountyInput,\n ModalFormConfirmation\n} from 'components';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport { checkEmptyValue } from 'validators/onboarding/onboarding-check-value.validator';\nimport ArrowBackIosIcon from '@material-ui/icons/ArrowBackIos';\nimport { useGlobalStateContext } from 'contexts';\n\nfunction CanonicalResellerNewMerchantComponent(props) {\n const mediaLessThan600px = useMediaQuery('(max-width:599px)');\n const { setRoute } = useGlobalStateContext();\n const {\n canonicalMerchantDetails,\n setCanonicalMerchantdetails,\n phoneNumberValidator,\n onCreateMerchant,\n onAcquirerSelect,\n onAcquirerRemove,\n businessDescriptions,\n isDisabled,\n onMidTypeRemove,\n onMidTypeSelect,\n isLoading,\n acquiredName,\n isFormValid,\n selectedAcquirer,\n selectedMidType,\n productTypes,\n message,\n showMessage,\n setShowMessage,\n confirmMessage,\n setConfirmMessage,\n selectAddressData,\n isLegalNameSameAsTradingName,\n setIsLegalNameSameAsTradingName,\n businessDescriptionSearchString,\n setBusinessDescriptionSearchString,\n setIsBackButtonClicked,\n isBackButtonClicked,\n isDataEntered\n } = props;\n\n const merchantStatus = canonicalMerchantDetails?.merchantStatus;\n const pageHeader = merchantStatus === MerchantStatus.ACTIVE ? 'Merchant details' : 'Create new merchant';\n\n return (\n \n \n \n
    \n \n isDataEntered && !(merchantStatus === MerchantStatus.ACTIVE)\n ? setIsBackButtonClicked(true)\n : setRoute('home')\n }\n />\n \n

    {pageHeader}

    \n
    \n
    \n \n \n
    \n \n \n \n \n \n \n {\n setCanonicalMerchantdetails({\n ...canonicalMerchantDetails,\n externalMID: parseInt(e.target.value)\n });\n }}\n labelWidth={0}\n disabled={merchantStatus === MerchantStatus.ACTIVE}\n />\n \n \n \n \n \n \n \n {\n setCanonicalMerchantdetails({\n ...canonicalMerchantDetails,\n externalContactName: e.target.value\n });\n }}\n disabled={merchantStatus === MerchantStatus.ACTIVE}\n />\n \n \n \n {\n setCanonicalMerchantdetails({\n ...canonicalMerchantDetails,\n externalMerchantPhone: phoneNumberValidator(mobileNumber)\n });\n }}\n name=\"Mobile Number\"\n disabled={merchantStatus === MerchantStatus.ACTIVE}\n />\n \n {\n setCanonicalMerchantdetails({\n ...canonicalMerchantDetails,\n externalMerchantEmail: e.target.value.toLowerCase()\n });\n }}\n disabled={merchantStatus === MerchantStatus.ACTIVE}\n />\n {\n setCanonicalMerchantdetails({\n ...canonicalMerchantDetails,\n websiteUrl: value\n });\n }}\n disabled={merchantStatus === MerchantStatus.ACTIVE}\n />\n \n \n option?.name === value?.name}\n options={businessDescriptions}\n getOptionLabel={(option) => option.name}\n onChange={(event, newValue) => {\n if (newValue) {\n setCanonicalMerchantdetails({\n ...canonicalMerchantDetails,\n businessDescription: newValue.id,\n mccCode: newValue.mccCode\n });\n setBusinessDescriptionSearchString(newValue);\n } else {\n setCanonicalMerchantdetails({\n ...canonicalMerchantDetails,\n businessDescription: '',\n mccCode: ''\n });\n setBusinessDescriptionSearchString({ name: '' });\n }\n }}\n customListRender={(option) => {\n return (\n \n {option.name}\n \n );\n }}\n disabled={merchantStatus === MerchantStatus.ACTIVE}\n />\n \n
    \n
    \n \n
    \n \n \n {\n setCanonicalMerchantdetails({\n ...canonicalMerchantDetails,\n externalLegalName: e.target.value.replace(/[^\\w\\s]/gi, ''),\n externalMerchantName: isLegalNameSameAsTradingName\n ? e.target.value.replace(/[^\\w\\s]/gi, '')\n : ' '\n });\n }}\n disabled={merchantStatus === MerchantStatus.ACTIVE}\n />\n \n \n {\n setIsLegalNameSameAsTradingName(e.target.checked);\n if (e.target.checked) {\n setCanonicalMerchantdetails({\n ...canonicalMerchantDetails,\n externalMerchantName:\n canonicalMerchantDetails.externalLegalName\n });\n } else {\n setCanonicalMerchantdetails({\n ...canonicalMerchantDetails,\n externalMerchantName: ''\n });\n }\n }}\n disabled={merchantStatus === MerchantStatus.ACTIVE}\n />\n }\n label=\"Trading name is the same as legal name\"\n labelPlacement=\"end\"\n />\n \n\n \n \n {\n setCanonicalMerchantdetails({\n ...canonicalMerchantDetails,\n externalMerchantName: e.target.value.replace(/[^\\w\\s]/gi, '')\n });\n }}\n disabled={\n merchantStatus === MerchantStatus.ACTIVE || isLegalNameSameAsTradingName\n }\n />\n \n\n \n \n {\n setCanonicalMerchantdetails({\n ...canonicalMerchantDetails,\n externalMidPostCode: postCode\n });\n }}\n disabled={merchantStatus === MerchantStatus.ACTIVE}\n onAddressObjectChange={(addressData) =>\n selectAddressData(\n addressData,\n setCanonicalMerchantdetails,\n canonicalMerchantDetails\n )\n }\n />\n \n \n \n {\n setCanonicalMerchantdetails({\n ...canonicalMerchantDetails,\n externalMidAddressLine1: e.target.value\n });\n }}\n disabled={merchantStatus === MerchantStatus.ACTIVE}\n />\n \n \n \n {\n setCanonicalMerchantdetails({\n ...canonicalMerchantDetails,\n externalMidAddressLine2: e.target.value\n });\n }}\n disabled={merchantStatus === MerchantStatus.ACTIVE}\n />\n \n\n \n \n {\n setCanonicalMerchantdetails({\n ...canonicalMerchantDetails,\n externalMidCity: e.target.value\n });\n }}\n disabled={merchantStatus === MerchantStatus.ACTIVE}\n />\n \n {\n setCanonicalMerchantdetails({\n ...canonicalMerchantDetails,\n externalMidCounty: value\n });\n }}\n disabled={merchantStatus === MerchantStatus.ACTIVE}\n />\n \n \n GBP\n \n
    \n
    \n\n {merchantStatus !== MerchantStatus.ACTIVE && (\n \n \n \n {\n onCreateMerchant(true);\n }}\n className={\n isFormValid || merchantStatus === MerchantStatus.ACTIVE\n ? `${styles.submitBtn}`\n : `${styles.secondaryButtonColor} ${styles.submitBtn}`\n }\n >\n Save draft\n \n \n \n \n \n {\n setConfirmMessage(true);\n }}\n className={\n isDisabled || merchantStatus === MerchantStatus.ACTIVE\n ? `${styles.submitBtn}`\n : `${styles.primaryButtonColor} ${styles.submitBtn}`\n }\n >\n Submit\n \n \n \n
    \n )}\n \n
    \n onCreateMerchant(false)}\n buttonText={'Continue'}\n modalText=\"Please confirm all the information is correct. This information cannot be\n changed once submitted.\"\n />\n setRoute('/home')}\n buttonText={'Continue'}\n modalText=\"Please confirm you wish to go back. Data that has been entered will not be saved.\"\n />\n {message && (\n setShowMessage(false)} type=\"error\">\n {message}\n \n )}\n \n
    \n
    \n );\n}\n\nCanonicalResellerNewMerchantComponent.propTypes = {\n canonicalMerchantDetails: PropTypes.object,\n onboardingForm: PropTypes.object,\n setCanonicalMerchantdetails: PropTypes.func,\n onCreateMerchant: PropTypes.func,\n isLoading: PropTypes.bool,\n isFormValid: PropTypes.bool,\n selectAddressData: PropTypes.func\n};\n\nexport default CanonicalResellerNewMerchantComponent;\n","export const AcquirerNames = [\n { id: 1, name: 'Cashflows' },\n { id: 2, name: 'EVO' },\n { id: 3, name: 'First Data' },\n { id: 4, name: 'Worldpay' },\n { id: 5, name: 'Creodrax' },\n { id: 6, name: 'Paysafe' },\n { id: 7, name: 'Trust' },\n { id: 8, name: 'AIB' },\n { id: 9, name: 'Decta' },\n { id: 10, name: 'E-Merchant Pay' },\n { id: 11, name: 'Truevo' },\n { id: 12, name: 'Barclays' },\n { id: 12, name: 'CARDSTREAM-CH' }\n];\n","// Id numbers same as productid in database\nexport const MidTypes = [\n { id: 1, name: 'Gateway' },\n { id: 2, name: 'MyMoto App' },\n { id: 3, name: 'Virtual Terminal' },\n { id: 5, name: 'PDQ' }\n];\n","import React, { useState, useEffect } from 'react';\nimport CanonicalResellerNewMerchantComponent from './canonical-reseller-new-merchant.component';\nimport { InputValidators } from 'validators';\nimport { TaxonomyService, canonicalMerchantRegistrationService, NonResellerMerchantService } from 'services';\nimport { useGlobalStateContext } from 'contexts';\nimport { AcquirerNames } from 'utils/enums/AcquirerName';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { MidTypes } from 'utils/enums/MidType';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport _ from 'lodash';\n\nfunction CanonicalResellerNewMerchant(props) {\n const { merchantId } = props;\n const [canonicalMerchantDetails, setCanonicalMerchantdetails] = useState({\n externalLegalName: '',\n externalMerchantName: '',\n externalMidCounty: '',\n selectedMidType: [],\n externalMID: null\n });\n const { globalState, setRoute } = useGlobalStateContext();\n const [businessDescriptions, setBusinessDescriptions] = useState([]);\n const [isDisabled, setIsDisabled] = useState(true);\n const [isFormValid, setIsFormValid] = useState(false);\n const [isLoading, setIsLoading] = useState(false);\n const [acquiredName, setAcquiredName] = useState(AcquirerNames);\n const [selectedAcquirer, setSelectedAcquirer] = useState([]);\n const [selectedMidType, setSelectedMidType] = useState([]);\n const [productTypes, setProductTypes] = useState(MidTypes);\n const [message, setMessage] = useState('');\n const [confirmMessage, setConfirmMessage] = useState(false);\n const [showMessage, setShowMessage] = useState(false);\n const [isLegalNameSameAsTradingName, setIsLegalNameSameAsTradingName] = useState(false);\n const [businessDescriptionSearchString, setBusinessDescriptionSearchString] = useState({ name: '' });\n const [isBackButtonClicked, setIsBackButtonClicked] = useState(false);\n const [isDataEntered, setIsDataEntered] = useState(false);\n const [existingCanonicalResellerData, setExistingCanonicalResellerData] = useState({\n externalLegalName: '',\n externalMerchantName: '',\n externalMidCounty: '',\n selectedMidType: []\n });\n\n useEffect(() => {\n const existingData = { ...existingCanonicalResellerData };\n for (const property in canonicalMerchantDetails) {\n if (!_.has(existingData, property)) {\n if (property === 'selectedAcquirer' || property === 'selectedMidType') {\n existingData[property] = [];\n } else {\n existingData[property] = '';\n }\n }\n }\n setIsDataEntered(JSON.stringify(existingData) !== JSON.stringify(canonicalMerchantDetails));\n }, [canonicalMerchantDetails, existingCanonicalResellerData]);\n\n useEffect(() => {}, []);\n\n useEffect(() => {\n const {\n externalLegalName,\n businessDescription,\n websiteUrl,\n externalMidPostCode,\n externalMidCounty,\n externalMidCity,\n externalMidAddressLine1,\n externalMerchantEmail,\n externalMerchantPhone,\n externalMerchantName,\n externalContactName,\n selectedMidType,\n selectedAcquirer,\n externalMID\n } = canonicalMerchantDetails;\n\n const checkValues =\n InputValidators.isWebsiteUrlValid(websiteUrl) &&\n externalMerchantName &&\n externalMerchantName.trim() &&\n externalMidPostCode &&\n externalMidCounty &&\n externalMidCity &&\n externalMidAddressLine1 &&\n InputValidators.isEmailValid(externalMerchantEmail) &&\n externalMerchantPhone &&\n externalContactName &&\n externalContactName.trim() &&\n selectedAcquirer.length > 0 &&\n selectedMidType.length > 0 &&\n externalLegalName &&\n businessDescription &&\n externalMID &&\n businessDescription !== '--Please select--';\n\n setIsDisabled(!checkValues);\n\n const checkValidation =\n externalLegalName &&\n externalLegalName.trim() &&\n selectedAcquirer &&\n selectedAcquirer.length > 0 &&\n externalMerchantName &&\n externalMerchantName.trim();\n\n const webSideUrlCheck = websiteUrl ? InputValidators.isWebsiteUrlValid(websiteUrl) : true;\n setIsFormValid(!(checkValidation && webSideUrlCheck));\n setIsLegalNameSameAsTradingName(externalLegalName === externalMerchantName);\n\n // eslint-disable-next-line\n }, [canonicalMerchantDetails]);\n\n const selectAddressData = (addressData, setObject, object) => {\n if (addressData) {\n setObject({\n ...object,\n externalMidAddressLine1: addressData.line_1,\n externalMidAddressLine2: addressData.line_2,\n externalMidCity: addressData.town_or_city,\n externalMidCounty: addressData.county\n });\n }\n };\n\n const onMidTypeSelect = (addedMidType) => {\n let selectedMidType = addedMidType.map((product) => product.id);\n setCanonicalMerchantdetails({\n ...canonicalMerchantDetails,\n selectedMidType: selectedMidType\n });\n };\n const onMidTypeRemove = (removedMidType) => {\n let selectedMidType = removedMidType.map((product) => product.id);\n setCanonicalMerchantdetails({\n ...canonicalMerchantDetails,\n selectedMidType: selectedMidType\n });\n };\n const onAcquirerSelect = (addedAcquirer) => {\n let selectedAcquirer = addedAcquirer.map((bankName) => bankName.name);\n setCanonicalMerchantdetails({\n ...canonicalMerchantDetails,\n selectedAcquirer: selectedAcquirer\n });\n };\n const onAcquirerRemove = (removedAcquirer) => {\n let selectedAcquirer = removedAcquirer.map((bankName) => bankName.name);\n setCanonicalMerchantdetails({\n ...canonicalMerchantDetails,\n selectedAcquirer: selectedAcquirer\n });\n };\n\n const onCreateMerchant = async (isSave = false) => {\n setIsLoading(true);\n setConfirmMessage(false);\n let data = {\n ...canonicalMerchantDetails,\n canonicalResellerId: globalState.canonicalReseller?.id,\n merchantStatus: isSave ? MerchantStatus.MERCHANT_PENDING : MerchantStatus.ACTIVE,\n country: MerchantCountries.UNITED_KINGDOM,\n merchantId: merchantId,\n resellerId: globalState.reseller.id,\n businessDescription:\n canonicalMerchantDetails.businessDescription !== '--Please select--' &&\n canonicalMerchantDetails.businessDescription\n };\n setCanonicalMerchantdetails(data);\n const response = await canonicalMerchantRegistrationService.canonicalResellerMerchantRegistration(data);\n if (response.isSuccesfully) {\n if (isSave) {\n sessionStorage.setItem('savedDraft', true);\n }\n if (canonicalMerchantDetails.merchantStatus === MerchantStatus.ACTIVE) {\n sessionStorage.setItem('merchantCreationSuccess', true);\n }\n setRoute('/home');\n } else {\n setCanonicalMerchantdetails({\n ...canonicalMerchantDetails,\n merchantStatus: MerchantStatus.MERCHANT_PENDING\n });\n setShowMessage(true);\n setMessage(response?.error);\n }\n setIsLoading(false);\n };\n useEffect(() => {\n setIsLoading(true);\n\n const Descriptions = async () => {\n let businessDescriptions;\n const descriptionsFetchResponse = await TaxonomyService.getDescriptions();\n if (descriptionsFetchResponse.isSuccesfully) {\n businessDescriptions = descriptionsFetchResponse.data.businessDescriptions;\n businessDescriptions.push({ name: '' });\n setBusinessDescriptions(businessDescriptions);\n }\n setIsLoading(false);\n return businessDescriptions;\n };\n Descriptions();\n }, []);\n\n useEffect(() => {\n const getCanonicalResellerMerchant = async () => {\n setIsLoading(true);\n const response = await NonResellerMerchantService.getCanonicalResellerMerchant(merchantId);\n\n if (response.isSuccesfully) {\n if (response.data?.websiteUrl) {\n response.data.websiteUrl = response.data?.websiteUrl.replace('https://', '');\n }\n setCanonicalMerchantdetails(response.data);\n setExistingCanonicalResellerData(response.data);\n const selectedAcquirerValues = response.data.selectedAcquirer;\n const selectedMidValues = response.data.selectedMidType;\n const businessDescriptionId = response.data.businessDescription;\n const acquirer = AcquirerNames.filter((acquire) => selectedAcquirerValues.includes(acquire.name));\n const midTypes = MidTypes.filter((item) => selectedMidValues.includes(item.id));\n const selectedBusiness = businessDescriptions.filter(\n (business) => business.id === businessDescriptionId\n );\n setSelectedAcquirer(acquirer);\n setSelectedMidType(midTypes);\n setBusinessDescriptionSearchString(selectedBusiness[0]);\n\n if (response.data.merchantStatus === MerchantStatus.ACTIVE) {\n setProductTypes([]);\n setAcquiredName([]);\n }\n }\n setIsLoading(false);\n };\n\n if (merchantId && businessDescriptions.length !== 0) {\n getCanonicalResellerMerchant();\n }\n }, [merchantId, businessDescriptions]);\n\n return (\n \n );\n}\n\nexport default CanonicalResellerNewMerchant;\n","import React from 'react';\nimport {\n Grid,\n Typography,\n Button,\n Dialog,\n DialogContent,\n DialogActions,\n makeStyles,\n Paper,\n Box\n} from '@material-ui/core';\nimport { Input, Label, FormItem, PostCodeSelector } from 'components/onboarding/onboarding-ui-components';\nimport { SnackBarAndAlert } from 'components';\nimport styles from './canonical-reseller-update-account.module.scss';\nimport { LoadingScreen, ValidURLInput } from 'components';\nimport { checkEmptyValue } from 'validators/onboarding/onboarding-check-value.validator';\nimport PropTypes from 'prop-types';\nimport PhoneInput from 'react-phone-input-2';\nimport 'react-phone-input-2/lib/bootstrap.css';\nfunction CanonicalResellerUpdateAccountComponennt(props) {\n const {\n disabled,\n onSubmit,\n selectAddressData,\n showModal,\n modalMessage,\n isLoading,\n phoneNumberValidator,\n setShowModal,\n canonicalResellerDetails,\n setCanonicalResellerDetails,\n setPhoneCountryDialCode,\n snackbarDetails,\n setSnackbarDetails,\n setRoute\n } = props;\n\n const useStyles = makeStyles((theme) => ({\n disabledInput: {\n color: theme.palette.text.primary,\n backgroundColor: 'Gainsboro',\n border: '1px solid LightGray',\n borderRadius: '5px',\n fontWeight: '600',\n userSelect: 'none'\n }\n }));\n\n const classes = useStyles();\n\n return (\n \n \n \n Update Account Details\n \n \n \n \n \n \n \n {\n setCanonicalResellerDetails({\n ...canonicalResellerDetails,\n companyName: e.target.value\n });\n }}\n disabled\n classes={{ disabled: classes.disabledInput }}\n />\n \n \n \n \n \n {\n setCanonicalResellerDetails({\n ...canonicalResellerDetails,\n primaryContactName: e.target.value\n });\n }}\n disabled\n classes={{ disabled: classes.disabledInput }}\n />\n \n \n \n \n \n \n \n Company Address\n \n \n \n \n
    \n \n \n {\n setCanonicalResellerDetails({\n ...canonicalResellerDetails,\n postCode: postCode\n });\n }}\n onAddressObjectChange={(addressData) =>\n selectAddressData(\n addressData,\n setCanonicalResellerDetails,\n canonicalResellerDetails\n )\n }\n />\n \n \n \n {\n setCanonicalResellerDetails({\n ...canonicalResellerDetails,\n addressLine1: e.target.value\n });\n }}\n />\n \n \n \n {\n setCanonicalResellerDetails({\n ...canonicalResellerDetails,\n addressLine2: e.target.value\n });\n }}\n />\n \n \n \n {\n setCanonicalResellerDetails({\n ...canonicalResellerDetails,\n city: e.target.value\n });\n }}\n />\n \n\n \n \n {\n setCanonicalResellerDetails({\n ...canonicalResellerDetails,\n country: e.target.value\n });\n }}\n />\n \n
    \n
    \n \n
    \n \n \n {\n setCanonicalResellerDetails({\n ...canonicalResellerDetails,\n primaryContactEmail: e.target.value.toLowerCase()\n });\n }}\n disabled\n classes={{ disabled: classes.disabledInput }}\n />\n \n \n \n {\n setCanonicalResellerDetails({\n ...canonicalResellerDetails,\n telNumber: phoneNumberValidator(phone)\n });\n setPhoneCountryDialCode(data.dialCode);\n }}\n inputClass={styles.phoneInput}\n name=\"phone\"\n />\n \n \n {\n setCanonicalResellerDetails({\n ...canonicalResellerDetails,\n websiteUrl: value\n });\n }}\n />\n \n
    \n
    \n
    \n
    \n {\n setSnackbarDetails({ type: '', message: '' });\n setRoute('/home');\n }}\n type={snackbarDetails.type}\n >\n {snackbarDetails.message}\n \n\n
    \n \n Update\n \n \n {modalMessage}\n \n setShowModal(false)}\n id=\"cancelButtonCreateMerchant\"\n autoFocus\n color=\"primary\"\n >\n Ok\n \n \n \n \n
    \n
    \n );\n}\nCanonicalResellerUpdateAccountComponennt.propTypes = {\n phoneNumberValidator: PropTypes.func\n};\n\nexport default CanonicalResellerUpdateAccountComponennt;\n","import React, { useState, useEffect } from 'react';\nimport CanonicalResellerUpdateAccountComponennt from './canonical-reseller-update-account.component';\nimport { CanonicalResellerService } from 'services';\nimport { useGlobalStateContext } from 'contexts';\nimport { InputValidators } from 'validators';\nimport { difference, updateAccountMapKeyWord } from 'utils/helper';\n\nfunction CanonicalResellerUpdateAccount() {\n const { globalState, setRoute } = useGlobalStateContext();\n const [disabled, setDisabled] = useState(true);\n const [showModal, setShowModal] = useState(false);\n const [modalMessage, setModalMessage] = useState('');\n const [isLoading, setIsLoading] = useState(false);\n const [canonicalResellerDetails, setCanonicalResellerDetails] = useState({});\n const [oldCanonicalResellerDetails, setOldCanonicalResellerDetails] = useState({});\n const [phoneCountryDialCode, setPhoneCountryDialCode] = useState('');\n const [snackbarDetails, setSnackbarDetails] = useState({ type: '', message: '' });\n\n useEffect(() => {\n const allFieldsCompleted =\n InputValidators.isWebsiteUrlValid(canonicalResellerDetails.websiteUrl) &&\n canonicalResellerDetails.postCode &&\n canonicalResellerDetails.addressLine1 &&\n canonicalResellerDetails.city &&\n canonicalResellerDetails.telNumber &&\n canonicalResellerDetails.country &&\n canonicalResellerDetails.telNumber !== phoneCountryDialCode;\n\n const updatedAccount =\n canonicalResellerDetails.websiteUrl !== oldCanonicalResellerDetails.websiteUrl ||\n canonicalResellerDetails.postCode !== oldCanonicalResellerDetails.postCode ||\n canonicalResellerDetails.addressLine1 !== oldCanonicalResellerDetails.addressLine1 ||\n canonicalResellerDetails.city !== oldCanonicalResellerDetails.city ||\n canonicalResellerDetails.telNumber !== oldCanonicalResellerDetails.telNumber ||\n canonicalResellerDetails.addressLine2 !== oldCanonicalResellerDetails.addressLine2 ||\n canonicalResellerDetails.country !== oldCanonicalResellerDetails.country;\n\n if (allFieldsCompleted && updatedAccount) setDisabled(false);\n else setDisabled(true);\n // eslint-disable-next-line\n }, [canonicalResellerDetails, oldCanonicalResellerDetails]);\n\n useEffect(() => {\n const getCanonicalResellerData = async () => {\n setIsLoading(true);\n const result = await CanonicalResellerService.getCanonicalResellerData(globalState.canonicalReseller?.id);\n\n if (result.isSuccesfully) {\n setCanonicalResellerDetails(result.data.canonicalResellerDto);\n setOldCanonicalResellerDetails(result.data.canonicalResellerDto);\n }\n\n setIsLoading(false);\n };\n\n getCanonicalResellerData();\n // eslint-disable-next-line\n }, []);\n\n const selectAddressData = (addressData, setObject, object) => {\n if (addressData) {\n setObject({\n ...object,\n addressLine1: addressData.line_1,\n addressLine2: addressData.line_2,\n city: addressData.town_or_city,\n country: addressData.country\n });\n }\n };\n\n const onSubmit = async () => {\n const updateCanonicalResellerDetails = updateAccountMapKeyWord(\n difference(canonicalResellerDetails, oldCanonicalResellerDetails),\n oldCanonicalResellerDetails\n );\n\n setIsLoading(true);\n const response = await CanonicalResellerService.updateCanonicalResellerData(globalState.canonicalReseller?.id, {\n canonicalResellerDetails,\n resellerId: globalState.reseller.id,\n updateCanonicalResellerDetails\n });\n setIsLoading(false);\n if (response.isSuccesfully) {\n setSnackbarDetails({ type: 'success', message: 'Your account details have been updated successfully' });\n sessionStorage.setItem('accountUpdated', true);\n } else {\n setShowModal(true);\n setModalMessage('An error occurred. Please contact support or try again.');\n }\n };\n\n return (\n \n );\n}\n\nexport default CanonicalResellerUpdateAccount;\n","import React from 'react';\nimport { Typography, OutlinedInput } from '@material-ui/core';\nimport { Label, FormItem } from 'components/onboarding/onboarding-ui-components';\nimport styles from './valid-url-input.module.scss';\nimport InputAdornment from '@material-ui/core/InputAdornment';\n\nconst ValidURLInputComponent = (props) => {\n const {\n value,\n onChange,\n disabled,\n id,\n labelText,\n labelId,\n doValidation,\n showUrlValidationMessage,\n setShowUrlValidationMessage\n } = props;\n\n return (\n \n \n \n https://\n \n }\n id={id}\n value={value?.toLowerCase().replace('https://', '')}\n inputProps={{ maxLength: 150 }}\n onChange={(e) => {\n doValidation(e.target.value);\n onChange(e.target.value ? `https://${e.target.value}` : '');\n setShowUrlValidationMessage(false);\n }}\n disabled={disabled}\n />\n {showUrlValidationMessage && (\n
    \n \n Required format should be “https://www.sample.com\"\n \n
    \n )}\n
    \n );\n};\n\nexport default ValidURLInputComponent;\n","import React, { useState, useCallback } from 'react';\nimport ValidURLInputComponent from './valid-url-input.component';\nimport { InputValidators } from 'validators';\nimport { debounce } from 'lodash';\n\nconst ValidURLInput = (props) => {\n const [showUrlValidationMessage, setShowUrlValidationMessage] = useState(false);\n\n const validation = (inputUrl) => {\n let isUrlValid;\n isUrlValid = InputValidators.isWebsiteUrlValid(inputUrl);\n if (inputUrl.includes('https://')) {\n setShowUrlValidationMessage(true);\n isUrlValid = false;\n }\n\n setShowUrlValidationMessage(!isUrlValid);\n };\n\n // trigger validation function when user stop typing\n const doValidation = useCallback(debounce(validation, 1000), []);\n\n return (\n \n );\n};\n\nexport default ValidURLInput;\n","import React from 'react';\nimport { Typography, OutlinedInput } from '@material-ui/core';\nimport { Label, FormItem } from 'components/onboarding/onboarding-ui-components';\nimport styles from './valid-url-input.module.scss';\nimport InputAdornment from '@material-ui/core/InputAdornment';\n\nconst ValidDomainInputComponent = (props) => {\n const {\n onChange,\n disabled,\n id,\n labelText,\n labelId,\n doValidation,\n showDomainValidationMessage,\n setShowDomainValidationMessage\n } = props;\n\n return (\n \n \n \n https://\n \n }\n id={id}\n onChange={(e) => {\n const url = e.target.value ? `https://${e.target.value}` : '';\n doValidation(url);\n onChange(url);\n setShowDomainValidationMessage(false);\n }}\n disabled={disabled}\n />\n {showDomainValidationMessage && (\n
    \n \n Link is invalid\n \n
    \n )}\n
    \n );\n};\n\nexport default ValidDomainInputComponent;\n","import React, { useState, useCallback } from 'react';\nimport ValidDomainInputComponent from './valid-domain-input.component';\nimport { InputValidators } from 'validators';\nimport { debounce } from 'lodash';\n\nconst ValidDomainInput = (props) => {\n const [showDomainValidationMessage, setShowDomainValidationMessage] = useState(false);\n\n const validation = (inputDomain) => {\n let isDomainValid;\n isDomainValid = InputValidators.isDomainUrlValid(inputDomain);\n setShowDomainValidationMessage(!isDomainValid);\n };\n\n // trigger validation function when user stop typing\n const doValidation = useCallback(debounce(validation, 1000), []);\n\n return (\n \n );\n};\n\nexport default ValidDomainInput;\n","import React from 'react';\nimport { Typography } from '@material-ui/core';\nimport { Input, Label, FormItem } from 'components/onboarding/onboarding-ui-components';\nimport styles from './valid-email-input.module.scss';\n\nconst ValidEmailInputComponent = (props) => {\n const {\n value,\n onChange,\n disabled,\n id,\n labelText,\n labelId,\n emailInputElementRef,\n doValidation,\n showEmailValidationMessage,\n setShowEmailValidationMessage,\n emailValidationMessage,\n fullWidth,\n type,\n pattern,\n transalterEnabled,\n autoFocus,\n emptyField,\n isStyleRequired\n } = props;\n\n return (\n \n \n {\n doValidation(e.target.value);\n onChange(e);\n setShowEmailValidationMessage(false);\n }}\n disabled={disabled}\n autoFocus={autoFocus}\n emptyField={emptyField}\n />\n\n {showEmailValidationMessage && (\n
    \n \n {emailValidationMessage}\n \n
    \n )}\n
    \n );\n};\n\nexport default ValidEmailInputComponent;\n","import React, { useState, useCallback, useEffect } from 'react';\nimport ValidEmailInputComponent from './valid-email-input.component';\nimport { debounce } from 'lodash';\nimport { validateEmailAddress } from 'utils/helper';\n\nconst ValidEmailInput = (props) => {\n const [emailValidationMessage, setEmailValidationMessage] = useState('');\n const [showEmailValidationMessage, setShowEmailValidationMessage] = useState(false);\n const [fistTime, setFirstTime] = useState(true);\n\n useEffect(() => {\n if (props.value && fistTime) {\n setFirstTime(false);\n validation(props.value);\n }\n // eslint-disable-next-line\n }, [props.value]);\n\n const validation = (inputEmail) => {\n const errorMessage = validateEmailAddress(inputEmail);\n setEmailValidationMessage(errorMessage);\n\n if (!errorMessage) {\n setShowEmailValidationMessage(false);\n } else {\n setShowEmailValidationMessage(true);\n }\n };\n\n // trigger validation function when user stop typing\n const doValidation = useCallback(debounce(validation, 1000), []);\n\n return (\n \n );\n};\n\nexport default ValidEmailInput;\n","import React from 'react';\nimport {\n CircularProgress,\n Paper,\n Table,\n TableBody,\n TableCell,\n TableContainer,\n TableFooter,\n TablePagination,\n TableRow,\n Grid,\n Divider,\n Typography,\n Button,\n Dialog,\n DialogTitle,\n DialogContent,\n DialogActions,\n TextField,\n Tooltip\n} from '@material-ui/core';\n\nimport { makeStyles } from '@material-ui/core/styles';\nimport TableHeader from '../payments/transaction-tables/table-header/table-header.container';\nimport LoadingScreen from 'components/loading-screen/loading-screen.container';\nimport styles from './canonical-reseller-merchant-management.module.scss';\nimport { stableSort, getComparator } from 'utils/helper';\nimport { MerchantStatusNames } from 'utils/enums/MerchantStatusNames';\nimport { formatDateTimeByFormatString } from 'utils/helper';\nimport CreateIcon from '@material-ui/icons/Create';\nimport ArrowBackIosIcon from '@material-ui/icons/ArrowBackIos';\nimport { useGlobalStateContext } from 'contexts';\n\nimport { Link } from 'react-router-dom';\n\nconst useStyles = makeStyles(() => ({\n visuallyHidden: {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: 1,\n margin: -1,\n padding: 0,\n position: 'absolute',\n top: 20,\n width: 1\n }\n}));\n\nconst CanonicalResellerMerchantManagementComponent = (props) => {\n const {\n merchantList,\n isLoading,\n order,\n orderBy,\n count,\n page,\n rowsPerPage,\n handleChangePage,\n handleChangeRowsPerPage,\n activatedAt,\n canonicalResellerDetails,\n signedBy,\n resellerNameDialogBox,\n setResellerNameDialogBox,\n updateResellerName,\n updatedResellerName,\n setUpdatedResellerName,\n pageLoading\n } = props;\n const classes = useStyles();\n const { getRoute } = useGlobalStateContext();\n\n return (\n \n \n
    \n Reseller Management\n \n }\n >\n Back\n \n \n\n
    \n
    \n \n {canonicalResellerDetails?.companyName}\n \n {canonicalResellerDetails.companyName ? (\n \n setResellerNameDialogBox(true)}\n className={styles.canonicalResellerIcon}\n />\n \n ) : null}\n
    \n
    \n \n {canonicalResellerDetails?.primaryContactEmail}\n \n
    \n setResellerNameDialogBox(false)}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n fullWidth\n className={styles.updateResellerDialog}\n >\n {'Update Reseller'}\n \n {\n setUpdatedResellerName(e.target.value);\n }}\n />\n \n \n {\n setUpdatedResellerName(canonicalResellerDetails?.companyName);\n setResellerNameDialogBox(false);\n }}\n color=\"primary\"\n variant=\"outlined\"\n className={styles.cancelBtn}\n >\n Cancel\n \n \n Update\n \n \n \n
    \n {signedBy ? (\n \n \n \n Terms & Conditions  Signed By : {signedBy}\n \n \n \n \n Date & Time :  {formatDateTimeByFormatString(activatedAt, 'DD MMM YY HH:mm')}\n \n \n \n ) : null}\n \n
    \n {isLoading ? (\n
    \n \n
    \n ) : (\n \n {merchantList.length === 0 ? (\n
    No merchants yet under this reseller.
    \n ) : (\n \n \n \n {stableSort(merchantList, getComparator(order, orderBy)).map((merchant) => (\n \n \n \n {merchant.name}\n \n \n {MerchantStatusNames[merchant.status]}\n {merchant.id}\n {merchant.acquirerBank}\n {merchant.resellerToOmniPayBill}\n {merchant.merchantToOmniPatBill}\n \n ))}\n \n \n \n {count > 20 && (\n \n )}\n \n \n
    \n )}\n \n
    \n )}\n
    \n
    \n );\n};\n\nexport default CanonicalResellerMerchantManagementComponent;\n","import { useGlobalStateContext } from 'contexts';\nimport React, { useState, useEffect } from 'react';\nimport CanonicalResellerMerchantManagementComponent from './canonical-reseller-merchant-management.component';\nimport { NonResellerMerchantService, TermsAndConditionsService, CanonicalResellerService } from 'services';\n\nfunction CanonicalResellerManagementContainer(props) {\n const { canonicalResellerId } = props;\n const { globalState } = useGlobalStateContext();\n const [merchantList, setMerchantList] = useState([]);\n const [count, setCount] = useState(0);\n const [isLoading, setIsLoading] = useState(false);\n const [order, setOrder] = React.useState('asc');\n const [orderBy, setOrderBy] = React.useState('name');\n const [page, setPage] = useState(0);\n const [rowsPerPage, setRowsPerPage] = useState(50);\n const [activatedAt, setActivatedAt] = useState('');\n const [signedBy, setSignedBy] = useState('');\n const [canonicalResellerDetails, setCanonicalResellerDetails] = useState({});\n const [resellerNameDialogBox, setResellerNameDialogBox] = useState(false);\n const [updatedResellerName, setUpdatedResellerName] = useState('');\n const [pageLoading, setPageLoading] = useState(false);\n const entity = 'canonical_reseller';\n const entityId = canonicalResellerId;\n const productFilter = 'all';\n\n const updateResellerName = async () => {\n setResellerNameDialogBox(false);\n setPageLoading(true);\n const data = { companyName: updatedResellerName };\n const response = await CanonicalResellerService.updateCanonicalResellerData(canonicalResellerId, {\n canonicalResellerDetails: { ...data }\n });\n if (response.isSuccesfully) {\n setCanonicalResellerDetails({\n ...canonicalResellerDetails,\n companyName: updatedResellerName\n });\n }\n setPageLoading(false);\n };\n\n const getAllMerchantsForReseller = async (newPage, newRowsPerPage) => {\n setIsLoading(true);\n const thePage = newPage ?? page;\n const theRowsPerPage = newRowsPerPage ?? rowsPerPage;\n const response = await NonResellerMerchantService.getAllMerchantsForReseller(globalState.reseller?.id, {\n searchValue: 'no',\n offset: thePage * theRowsPerPage,\n limit: theRowsPerPage,\n canonicalResellerId: canonicalResellerId,\n productFilter: productFilter\n });\n if (response.isSuccesfully) {\n setMerchantList(response.data.merchants);\n setCount(response.data.count);\n } else {\n setMerchantList([]);\n setCount(0);\n }\n setIsLoading(false);\n };\n\n const fetchTermsAndConditionsData = async (entity, entityId) => {\n setIsLoading(true);\n\n const response = await TermsAndConditionsService.getSignedTermsAndConditionsData(entity, entityId);\n if (response.isSuccesfully) {\n setSignedBy(response.data.signedTermsAncConditionInfo.signedBy);\n setActivatedAt(response.data.signedTermsAncConditionInfo.activatedAt);\n }\n setIsLoading(false);\n };\n\n const getCanonicalResellerData = async (canonicalResellerId) => {\n setIsLoading(true);\n const result = await CanonicalResellerService.getCanonicalResellerData(canonicalResellerId);\n if (result.isSuccesfully) {\n setCanonicalResellerDetails(result.data.canonicalResellerDto);\n setUpdatedResellerName(result.data.canonicalResellerDto?.companyName);\n }\n\n setIsLoading(false);\n };\n useEffect(() => {\n async function fetchDetails() {\n await getCanonicalResellerData(canonicalResellerId);\n await fetchTermsAndConditionsData(entity, entityId);\n await getAllMerchantsForReseller(0);\n }\n if (canonicalResellerId) {\n fetchDetails();\n }\n\n // eslint-disable-next-line\n }, [globalState.canonicalReseller, entity, entityId]);\n\n const handleChangePage = (event, newPage) => {\n setPage(newPage);\n getAllMerchantsForReseller(newPage);\n };\n\n const handleChangeRowsPerPage = (event) => {\n setRowsPerPage(parseInt(event.target.value, 10));\n setPage(0);\n getAllMerchantsForReseller(0, parseInt(event.target.value, 10));\n };\n\n const handleRequestSort = (event, property) => {\n const isAsc = orderBy === property && order === 'asc';\n setOrder(isAsc ? 'desc' : 'asc');\n setOrderBy(property);\n };\n\n const headCells = [\n { id: 'name', numeric: false, disablePadding: false, label: 'Merchant Name' },\n { id: 'status', numeric: false, disablePadding: false, label: 'Status' },\n { id: 'mid', numeric: false, disablePadding: false, label: 'MID', hideSortingIcon: true },\n { id: 'acquirer', numeric: false, disablePadding: false, label: 'Acquirer', hideSortingIcon: true },\n {\n id: 'reseller-monthly-bill',\n numeric: false,\n disablePadding: false,\n label: 'Monthly Bill',\n childLabel: 'OmniPay to Reseller',\n centerAlignment: true\n },\n {\n id: 'merchant-monthly-bill',\n numeric: false,\n disablePadding: false,\n label: 'Monthly Bill',\n childLabel: 'Reseller to Merchant',\n centerAlignment: true\n }\n ];\n\n return (\n \n );\n}\n\nexport default CanonicalResellerManagementContainer;\n","export const PdqFilterTabs = {\n Products: 'products',\n Requests: 'requests'\n};\n","import React from 'react';\nimport NavigateBeforeIcon from '@material-ui/icons/NavigateBefore';\nimport {\n Button,\n Grid,\n Paper,\n Table,\n TableBody,\n TableCell,\n TableContainer,\n TableHead,\n TableRow,\n Collapse,\n IconButton,\n Tooltip,\n Typography\n} from '@material-ui/core';\nimport { makeStyles } from '@material-ui/core/styles';\nimport { useGlobalStateContext } from 'contexts';\nimport styles from './pdq-order-status.module.scss';\nimport { SnackBarAndAlert, TransactionStatusLabel, DnaFormModal } from 'components';\nimport PropTypes from 'prop-types';\nimport { DNAOnboardStatus } from '../../utils/enums/dnaOnboardStatus';\nimport ContentCopyIcon from '@mui/icons-material/ContentCopy';\nimport FilterTabs from '../payments/transaction-tables/filter-tabs/filter-tabs.container';\nimport { formatDateTimeByFormatString } from '../../utils/helper';\nimport AddCircleOutlineIcon from '@mui/icons-material/AddCircleOutline';\nimport RemoveCircleOutlineIcon from '@mui/icons-material/RemoveCircleOutline';\nimport { PdqFilterTabs } from '../../utils/enums/PdqPortalTab';\nimport { DNAEventStatus } from 'utils/enums/pdqOrderStatus';\nimport CancelIcon from '@mui/icons-material/Cancel';\nimport ModalPDQConfirmation from 'components/modal-pdq-confirmation/modal-pdq-confirmation.container';\nimport { PdqOrderStatus } from 'utils/enums/pdqOrderStatus';\nimport Loader from 'components/loader/loader.container';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\n\nconst useStyles = makeStyles(() => ({\n visuallyHidden: {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: 1,\n margin: -1,\n padding: 0,\n position: 'absolute',\n top: 20,\n width: 1\n },\n tableCellSmallSize: {\n '& td': {\n minWidth: '230px',\n maxWidth: '230px'\n },\n '& th': {\n minWidth: '230px',\n maxWidth: '230px'\n }\n },\n noData: {\n textAlign: 'center',\n paddingBottom: '100px',\n paddingTop: '100px'\n },\n tableRow: {\n '&$selected, &$selected:hover': {\n backgroundColor: '#e4e1fe'\n }\n },\n headWidth: {\n minWidth: '210px'\n },\n noBorders: {\n '& td': {\n border: 0\n }\n },\n cellWidth: {\n minWidth: '80px !important',\n maxWidth: '80px !important'\n },\n cellWidthCancelIcon: {\n minWidth: '80px !important',\n maxWidth: '80px !important'\n }\n}));\n\nexport default function PdqOrderStatusComp(props) {\n const {\n isLoading,\n merchantData,\n pdqOrderDetails,\n onConfirm,\n snackMessage,\n messageType,\n setSnackMessage,\n onboardedMerchant,\n setDnaRequest,\n dnaOnboardCurrentRequest,\n dnaProductType,\n handleCopyTerminalId,\n statusFilter,\n setStatusFilter,\n show,\n setShow,\n openCollapse,\n setOpenCollapse,\n pdqRequests,\n overFlowText,\n openForm,\n setOpenForm,\n data,\n setData,\n pdqFee,\n setPdqFee,\n modalLoading,\n agentName,\n showCancelDialog,\n setShowCancelDialog,\n onPDQRemovalRequest,\n actionButtonSnackbarMessage,\n setActionButtonSnackbarMessage,\n setTerminalIdToBeRemoved,\n setProductTypeToBeRemoved,\n productTypeToBeRemoved,\n terminalIdToBeRemoved,\n applicationStatus,\n openFormModal,\n pdqData\n } = props;\n\n const { setRoute } = useGlobalStateContext();\n const pdqDevices = pdqOrderDetails?.length ? pdqOrderDetails : null;\n const classes = useStyles();\n return (\n \n {isLoading ? (\n
    \n \n
    \n ) : (\n
    \n \n \n }\n onClick={() => {\n setRoute('/merchantpdq');\n localStorage.removeItem('onBoardedMerchant');\n }}\n >\n Back\n \n \n\n \n {(applicationStatus === DNAEventStatus.REQUEST_RAISED ||\n applicationStatus === DNAEventStatus.BACKGROUND_CHECK) && (\n
    \n \n \n
    \n Merchant Onboarding process has already started. Please wait for further\n update\n
    \n
    \n
    \n
    \n )}\n
    \n \n
    \n {merchantData?.legalName}\n \n {merchantData.isAccountVerified &&\n merchantData.isBankAccountVerified &&\n merchantData.status === MerchantStatus.ACTIVE && (\n \n )}\n \n
    \n
    \n \n \n Merchant ID\n :\n \n {merchantData?.MerchantId ? merchantData?.MerchantId : <>—}\n \n \n handleCopyTerminalId(merchantData?.MerchantId, 'merchant ID')\n }\n />\n \n \n \n \n Store ID\n :\n\n \n {merchantData?.thirdPartyCustomer ? merchantData?.thirdPartyCustomer : <>—}\n \n \n \n Store Key\n :\n\n \n \n \n License Key\n :\n \n {pdqData?.licenceKey ? pdqData?.licenceKey : <>—}\n \n \n \n Acquirer MID\n :\n \n {pdqData?.acquirerMID ? pdqData?.acquirerMID : <>—}\n \n \n \n {(!dnaOnboardCurrentRequest ||\n dnaOnboardCurrentRequest === DNAOnboardStatus.COMPLETED_ONBOARDING ||\n dnaOnboardCurrentRequest === DNAOnboardStatus.CANCEL_DNA_ONBOARD ||\n (applicationStatus === DNAEventStatus.ECOM_ISSUED &&\n dnaOnboardCurrentRequest !== DNAOnboardStatus.EXTRA_PDQ)) && (\n \n \n \n )}\n
    \n
    \n \n {statusFilter === PdqFilterTabs.Products ? (\n \n \n \n \n \n Type\n Date Live\n Terminal ID\n Action\n \n \n \n {pdqDevices ? (\n pdqDevices.map((row, index) => {\n return (\n \n {dnaProductType}\n {setProductTypeToBeRemoved(dnaProductType)}\n \n {formatDateTimeByFormatString(\n row.created_at,\n 'DD MMM YYYY'\n )}\n \n \n \n \n {overFlowText(row.terminal_id)}\n \n \n \n \n handleCopyTerminalId(\n row.terminal_id,\n 'terminal ID'\n )\n }\n />\n \n \n \n {\n setShow(true);\n setTerminalIdToBeRemoved(row.terminal_id);\n }}\n disabled={row.is_removed}\n >\n Remove\n \n \n \n );\n })\n ) : (\n \n \n No records found\n \n \n )}\n \n \n \n \n ) : (\n \n \n \n \n \n \n Application ID\n Date\n Status\n Agent Email\n Reason\n Action\n \n \n\n \n {pdqRequests.length > 0 ? (\n pdqRequests.map((row, index) => {\n return (\n <>\n \n \n \n setOpenCollapse(\n openCollapse === index ? '' : index\n )\n }\n disabled={row.statuses.length === 0}\n >\n {openCollapse === index ? (\n \n ) : (\n \n )}\n \n \n \n {row.applicationId && (\n
    \n \n \n {overFlowText(row.applicationId)}\n \n \n \n \n handleCopyTerminalId(\n row?.applicationId,\n 'application ID'\n )\n }\n />\n \n
    \n )}\n
    \n \n {formatDateTimeByFormatString(\n row?.updated_at,\n 'DD MMM YYYY'\n )}\n \n \n \n \n \n \n \n {agentName}\n \n \n \n {row?.applicationReason}\n \n {row?.applicationStatus ===\n DNAEventStatus.REQUEST_RAISED ? (\n {\n setDnaRequest(\n DNAOnboardStatus.CANCEL_DNA_ONBOARD\n );\n setShowCancelDialog(true);\n }}\n />\n ) : null}\n \n
    \n \n \n \n \n \n {row.statuses.map((data) => (\n \n \n \n \n {formatDateTimeByFormatString(\n data.created_at,\n 'DD MMM YYYY'\n )}\n \n \n \n \n \n \n {data?.applicationReason}\n \n \n ))}\n
    \n \n \n \n \n \n );\n })\n ) : (\n \n \n No records found\n \n \n )}\n \n \n
    \n
    \n )}\n
    \n \n \n
    \n {openForm && (\n \n )}\n {snackMessage && (\n setSnackMessage('')}\n >\n {snackMessage}\n \n )}\n {actionButtonSnackbarMessage && (\n setActionButtonSnackbarMessage({ type: '', message: '' })}\n >\n {actionButtonSnackbarMessage.message}\n \n )}\n
    \n
    \n )}\n
    \n );\n}\n\nPdqOrderStatusComp.propTypes = {\n dnaOnboardCurrentRequest: PropTypes.string,\n setDnaOnboardCurrentRequest: PropTypes.func,\n dialogMessage: PropTypes.string,\n setDialogMessage: PropTypes.func\n};\n","import React, { useState, useEffect } from 'react';\nimport { useGlobalStateContext } from 'contexts';\nimport PdqOrderStatusComp from './pdq-order-status.component';\nimport { ResellerNameAndId, ResellerType } from 'utils/enums/ResellerType';\nimport { DnaService } from 'services';\nimport { DNAOnboardStatus } from '../../utils/enums/dnaOnboardStatus';\nimport { PdqFilterTabs } from '../../utils/enums/PdqPortalTab';\nimport { formatDateTimeByFormatString } from '../../utils/helper';\nimport moment from 'moment';\n\nexport default function PdqOrderStatus(props) {\n const { globalState } = useGlobalStateContext();\n const [disabled, setDisabled] = useState(true);\n const [open, setOpen] = useState(false);\n const [isLoading, setIsLoading] = useState(false);\n const [searchValue, setSearchValue] = useState('');\n const [pdqOrderDetails, setPdqOrderDetails] = useState([]);\n const [merchantData, setMerchantData] = useState('');\n const [messageType, setMessageType] = useState('');\n const [confirmationModal, setConfirmationModal] = useState(false);\n const [snackMessage, setSnackMessage] = useState('');\n const [dnaOnboardCurrentRequest, setDnaOnboardCurrentRequest] = useState('');\n const [dnaRequest, setDnaRequest] = useState('');\n const merchantId = props.match?.params?.merchantId;\n const resellerId = ResellerNameAndId.find((reseller) => reseller.name === ResellerType.DATMAN).id;\n const result = localStorage.getItem('onBoardedMerchant');\n const onboardedMerchant = result === merchantId;\n const [merchantLegalName, setMerchantLegalName] = useState('');\n const [dialogMessage, setDialogMessage] = useState('');\n const [dnaProductType, setDnaProductType] = useState('');\n const [terminalIdGenerated, setTerminalIdGenerated] = useState(false);\n const [actionButtonSnackbarMessage, setActionButtonSnackbarMessage] = useState({ message: '', type: '' });\n\n const [statusFilter, setStatusFilter] = useState(PdqFilterTabs.Products);\n const [show, setShow] = useState(false);\n const [showCancelDialog, setShowCancelDialog] = useState(false);\n const [openCollapse, setOpenCollapse] = useState(false);\n const [pdqRequests, setPdqRequests] = useState([]);\n const [openForm, setOpenForm] = useState(false);\n const [data, setData] = useState({});\n const [modalLoading, setModalLoading] = useState(false);\n const [terminalIdToBeRemoved, setTerminalIdToBeRemoved] = useState('');\n const [productTypeToBeRemoved, setProductTypeToBeRemoved] = useState('');\n const [applicationStatus, setApplicationStatus] = useState({});\n const [agentName, setagentName] = useState(props.history?.location?.state?.agentName);\n const [pdqData, setPdqData] = useState({ licenceKey: '-', acquirerMID: '-' });\n const userEmail = globalState?.user?.email;\n const [pdqFee, setPdqFee] = useState({\n visaDebitFee: 0.5,\n visaDebitAuth: 0.04,\n masterDebitFee: 0.6,\n masterDebitAuth: 0.04,\n visaCreditFee: 0.85,\n visaCreditAuth: 0.04,\n masterCreditFee: 0.9,\n masterCreditAuth: 0.04,\n pdqQty: 1,\n pdqPrice: 0.0\n });\n const canonicalResellerId = globalState.canonicalReseller.id;\n const agentId = globalState.user?.id;\n const businessDescription = {\n businessPrinciple: 1,\n businessDescription: 'FASTFOOD AND TAKEAWAY',\n mcc: 5814,\n b2b: 0,\n b2c: 0,\n outlets: 1,\n additionalOutlets: null\n };\n const allowedBusinessId = [1, 2];\n useEffect(() => {\n const getMerchantData = async () => {\n setIsLoading(true);\n const result = await DnaService.getMerchatDataPdq(merchantId);\n if (result.isSuccesfully) {\n setMerchantData(result.data);\n setMerchantLegalName(result.data.legalName);\n const response = result.data;\n\n let newData;\n onboardedMerchant\n ? (newData = {\n fullName: response.legalName,\n merchantId: response.MerchantId,\n email: response.OwnersDetail?.email,\n contactPhone: response.OwnersDetail?.contactPhone,\n addressLine1: response.OwnersDetail?.OwnerAddress?.addressLine1,\n addressLine2: response.OwnersDetail?.OwnerAddress?.addressLine2,\n city: response.OwnersDetail?.OwnerAddress?.city,\n postCode: response.OwnersDetail?.OwnerAddress?.postCode\n })\n : (newData = {\n fullName: response.legalName,\n merchantId: response.MerchantId,\n email: response.OwnersDetail?.email,\n birthDate: response.OwnersDetail?.birthDate\n ? moment(response.OwnersDetail?.birthDate, 'DD-MM-YYYY')?.format('D MMM YYYY')\n : null,\n ownership: response.OwnersDetail?.ownership,\n contactPhone: response.OwnersDetail?.contactPhone,\n addressLine1: response.OwnersDetail?.OwnerAddress?.addressLine1,\n addressLine2: response.OwnersDetail?.OwnerAddress?.addressLine2,\n city: response.OwnersDetail?.OwnerAddress?.city,\n postCode: response.OwnersDetail?.OwnerAddress?.postCode,\n ...businessDescription,\n accountHolderName: response?.BusinessBankDetail?.accountHolderName,\n nameOfBank: response?.BusinessBankDetail?.nameOfBank,\n newAccountNumber: response?.BusinessBankDetail?.newAccountNumber?.toString(),\n sortCode: response?.BusinessBankDetail?.sortCode?.toString(),\n merchantCreatedAt: formatDateTimeByFormatString(response.createdAt, 'DD MMM YYYY HH:mm'),\n thirdPartyCustomer: response?.thirdPartyCustomer,\n registeredNumber: response?.BusinessDetail?.registeredNumber,\n monthlyTurnOver: 0,\n annualTurnOver: 0,\n monthlyCount: 0,\n annualCount: 0,\n avgTransaction: 0\n });\n setData(newData);\n }\n setIsLoading(false);\n };\n getMerchantData();\n // eslint-disable-next-line\n }, [merchantId, onboardedMerchant]);\n useEffect(() => {\n const terminalPayload = { merchantId: merchantId };\n setIsLoading(true);\n getOrderData(terminalPayload);\n }, [merchantId]);\n\n const getOrderData = async (terminalPayload) => {\n setTerminalIdGenerated(true);\n const response = await DnaService.getPdqDevices(terminalPayload);\n\n if (response.isSuccesfully) {\n const result = response.data.dnaTerminals.length > 0;\n\n const groupedObjects = response.data.dnaRequests.map((obj2) => {\n const object =\n response.data.applicationStatus.length > 0 &&\n response.data.applicationStatus.filter(\n (obj1) =>\n obj1.applicationId === obj2.applicationId &&\n obj1.applicationStatus !== obj2.applicationStatus\n );\n\n return {\n productType: obj2.productType,\n merchant_id: obj2.merchant_id,\n applicationStatus: obj2.applicationStatus,\n applicationReason: obj2.applicationReason,\n created_at: obj2.created_at,\n updated_at: obj2.updated_at,\n applicationId: obj2.applicationId,\n statuses: object ? object : []\n };\n });\n setApplicationStatus(response.data?.dnaRequests[0]?.applicationStatus);\n setPdqRequests(groupedObjects);\n setPdqOrderDetails(response.data.dnaTerminals);\n setPdqData({\n licenceKey: response?.data?.dnaTerminals[0]?.licence_key,\n acquirerMID: response?.data?.dnaRequests[0]?.dnaMid\n });\n setDnaOnboardCurrentRequest(response.data.dnaRequestStatus.onBoardRequest);\n setDnaProductType(response.data.dnaProductType);\n if (!terminalPayload.searchValue) {\n setTerminalIdGenerated(result);\n }\n }\n setIsLoading(false);\n };\n\n const onConfirm = async () => {\n setModalLoading(true);\n const payLoad =\n dnaRequest !== DNAOnboardStatus.CANCEL_DNA_ONBOARD\n ? {\n merchantData: {\n ...data,\n birthDate: moment(data.birthDate).format('DD-MM-YYYY'),\n monthlyTurnOver: data.monthlyTurnOver * 100,\n annualTurnOver: data.annualTurnOver * 100,\n avgTransaction: data.avgTransaction * 100\n },\n pdqFee\n }\n : null;\n const response = await DnaService.dnaOnboardRequest({\n merchantId,\n resellerId,\n merchantLegalName,\n agentId,\n userEmail,\n dnaRequest: dnaRequest,\n payLoad,\n canonicalResellerId: canonicalResellerId\n });\n if (response.isSuccesfully && dnaRequest === DNAOnboardStatus.ONBOARD_DNA_MERCHANT) {\n localStorage.setItem('onBoardedMerchant', merchantId);\n setDnaOnboardCurrentRequest(dnaRequest);\n setMessageType('success');\n setSnackMessage('Successfully raised onboard request');\n setagentName(userEmail);\n } else if (response.isSuccesfully) {\n const message =\n dnaRequest === DNAOnboardStatus.CANCEL_DNA_ONBOARD ? 'cancelled onboard request' : 'raised request';\n DNAOnboardStatus.CANCEL_DNA_ONBOARD && localStorage.removeItem('onBoardedMerchant', merchantId);\n setDnaOnboardCurrentRequest(dnaRequest);\n setMessageType('success');\n setSnackMessage(`Successfully ${message} `);\n } else {\n setMessageType('error');\n setSnackMessage('An error occurred to raise request. Try again !');\n }\n setOpenForm(false);\n setDnaRequest('');\n setModalLoading(false);\n getOrderData({ merchantId: merchantId });\n setShowCancelDialog(false);\n };\n\n const handleSearch = async (e) => {\n e.preventDefault();\n const terminalPayload = {\n merchantId: merchantId,\n searchValue: searchValue\n };\n setIsLoading(true);\n setTerminalIdGenerated(false);\n getOrderData(terminalPayload);\n };\n const handleCopyTerminalId = (id, message) => {\n navigator.clipboard.writeText(id);\n setMessageType('success');\n setSnackMessage(`Successfully copied the ${message}`);\n };\n\n const overFlowText = (text) => {\n return text?.length > 15 ? text?.slice(0, 22) + '...' : text;\n };\n\n const onPDQRemovalRequest = async () => {\n setModalLoading(true);\n\n const result = await DnaService.requestPDQRemoval({\n merchantId: merchantId,\n terminalId: terminalIdToBeRemoved\n });\n\n if (result.isSuccesfully) {\n setActionButtonSnackbarMessage({\n message: result?.data?.message,\n type: 'success'\n });\n getOrderData({ merchantId: merchantId });\n } else {\n setActionButtonSnackbarMessage({\n message: result?.data?.message,\n type: 'error'\n });\n }\n setModalLoading(false);\n setShow(false);\n };\n\n const openFormModal = async () => {\n if (allowedBusinessId.includes(merchantData?.BusinessDetail?.businessTypeId)) {\n setDnaRequest(onboardedMerchant ? 'extraPdqRequest' : DNAOnboardStatus.ONBOARD_DNA_MERCHANT);\n setOpenForm(true);\n } else {\n setMessageType('warning');\n setSnackMessage(\n `DNA does not currently support partnership merchant account onboarding. Please contact our support team`\n );\n }\n };\n return (\n \n );\n}\n","import React from 'react';\nimport { DatmanResellerPaymentsListTable } from '../transaction-tables';\nimport { SnackBarAndAlert } from 'components';\n\nconst DatmanResellerPaymentsListComponent = (props) => {\n const { isRefundHappen, setIsRefundHappen, showAcquirer, acquirerName, selectedAcquirer, onAcquirerChange } = props;\n return (\n
    \n \n {isRefundHappen !== null && (\n setIsRefundHappen(null)}\n type={isRefundHappen ? 'success' : 'error'}\n >\n {isRefundHappen\n ? 'Your refund request has been sent successfully.'\n : 'Your refund request has failed.'}\n \n )}\n
    \n );\n};\n\nexport default DatmanResellerPaymentsListComponent;\n","import React, { useEffect, useState } from 'react';\nimport moment from 'moment';\nimport PropTypes from 'prop-types';\nimport DatmanResellerPaymentsListComponent from './datman-reseller-payments-list.component';\nimport { PaymentsService } from 'services';\nimport { useGlobalStateContext } from 'contexts';\n\nconst DatmanResellerPaymentsList = (props) => {\n const [error, setError] = useState(false);\n const [payments, setPayments] = useState([]);\n const [total, setTotal] = useState(null);\n const [isRefundHappen, setIsRefundHappen] = useState(null);\n const {\n loading,\n setLoading,\n dates,\n daterange,\n showAcquirer,\n acquirerName,\n selectedAcquirer,\n onAcquirerChange\n } = props;\n const { date, via } = props.transactionsListingOptions ? props.transactionsListingOptions : props.match.params;\n const { globalState } = useGlobalStateContext();\n useEffect(() => {\n const getPaymentsList = async () => {\n const isWeekly = via === 'week' ? true : false;\n const weekStart = moment(date).startOf('week').format('YYYY-MM-DD');\n let from = isWeekly ? weekStart : date;\n const paymentsList = await PaymentsService.GetPayments(globalState.merchant?.id, {\n //merchantId,\n from,\n via: via.toUpperCase()\n });\n if (paymentsList.isSuccesfully) {\n const filteredPayments = selectedAcquirer\n ? selectedAcquirer.length === 0 || selectedAcquirer.includes('SELECT ALL')\n ? paymentsList.data.payments\n : paymentsList.data.payments.filter(({ payment_provider }) =>\n selectedAcquirer.includes(payment_provider)\n )\n : paymentsList.data.payments;\n setPayments(filteredPayments);\n setTotal(paymentsList.data.total);\n setError(false);\n } else {\n setError(true);\n }\n setLoading(false);\n };\n setLoading(true);\n getPaymentsList();\n // eslint-disable-next-line\n }, [props.location.pathname, date, via, globalState.merchant, isRefundHappen, props.selectedAcquirer]);\n\n useEffect(() => {\n const getTransactions = async () => {\n try {\n let getTxnList = {\n data: { payments: [] },\n isSuccesfully: true,\n props: false\n };\n\n if (dates) {\n const promises = dates.map(async (date) => await getAllPaymentsForRange(date, getTxnList));\n await Promise.all(promises);\n\n getTxnList.data.payments = getTxnList.data.payments.filter((a) => {\n return (\n moment(a.time).isAfter(moment(daterange.start)) &&\n moment(a.time).isBefore(moment(daterange.end).add(1, 'day'))\n );\n });\n\n getTxnList.data.payments.sort((a, b) => (moment(a.time) < moment(b.time) ? 1 : -1));\n setPayments(getTxnList.data.payments);\n setTotal(getTxnList.data.total);\n }\n } catch {\n setError(true);\n }\n setLoading(false);\n };\n setLoading(true);\n getTransactions();\n // eslint-disable-next-line\n }, [dates, daterange]);\n\n async function getAllPaymentsForRange(date, getTxnList) {\n const data = {\n from: date.from,\n to: date.to,\n via: 'RANGE'\n };\n const response = await PaymentsService.GetPayments(globalState.merchant?.id, data);\n if (!response.isSuccesfully) {\n getTxnList.isSuccesfully = response.isSuccesfully;\n }\n getTxnList.data.payments = [...getTxnList.data.payments, ...response.data.payments];\n }\n\n return (\n \n );\n};\n\nexport default DatmanResellerPaymentsList;\n\nDatmanResellerPaymentsList.propTypes = {\n selectedAcquirer: PropTypes.string,\n match: PropTypes.shape({\n params: PropTypes.shape({\n date: PropTypes.string.isRequired,\n via: PropTypes.string.isRequired\n })\n }),\n location: PropTypes.shape({\n pathname: PropTypes.string.isRequired\n })\n};\n","import React from 'react';\nimport {\n Box,\n CircularProgress,\n Typography,\n Table,\n TableHead,\n TableBody,\n TableRow,\n TableCell,\n Button,\n useMediaQuery\n} from '@material-ui/core';\nimport FileCopyOutlinedIcon from '@material-ui/icons/FileCopyOutlined';\nimport AddIcon from '@material-ui/icons/Add';\nimport FiberManualRecordTwoToneIcon from '@material-ui/icons/FiberManualRecordTwoTone';\nimport TransactionStatusLabel from '../transaction-tables/transaction-status-label/transaction-status-label.container';\nimport {\n filterRefundDescription,\n formatCurrency,\n formatDateTimeByFormatString,\n merchantTypesEnum\n} from '../../../utils/helper';\nimport styles from './datman-reseller-payment-details.module.scss';\nimport { getCurrencySymbol, getCurrencyThreeAlpha } from 'utils/getCurrencyByCountry';\nimport { useGlobalStateContext } from 'contexts';\nimport { SnackBarAndAlert } from 'components';\nimport { UserType } from 'utils/enums/UserType';\nimport { ResellerType } from 'utils/enums/ResellerType';\n\nconst DatmanResellerPaymentsDetailsComponent = (props) => {\n const { globalState } = useGlobalStateContext();\n const { loading, error, payment, handleCopyPaymentId, isCopyAlertOpen, closeCopyAlert, status } = props;\n const mediaLessThan600px = useMediaQuery('(max-width:599px)');\n const isAdmin =\n globalState.user?.UserType?.name === UserType.Admin || globalState.user?.UserType?.name === UserType.SuperAdmin;\n const isDatmanReseller = globalState.reseller?.name === ResellerType.DATMAN;\n const showAcquirer = isAdmin && isDatmanReseller;\n const hideSensitiveDetails = globalState?.merchant?.merchantType === merchantTypesEnum.BIG_TABLE;\n\n return (\n \n {loading ? (\n \n \n \n ) : (\n \n {error ? (\n \n An error occurred, please try reloading your browser.\n \n ) : (\n \n
    \n
    \n
    \n
    \n \n Payment\n \n {payment.id}\n \n \n \n \n \n {isCopyAlertOpen && (\n \n Successfully copied the payment reference id.\n \n )}\n
    \n
    \n \n {getCurrencySymbol(globalState.merchant?.country)}\n \n {payment.total}\n \n {getCurrencyThreeAlpha(globalState.merchant?.country)}\n \n
    \n
    \n
    \n {\n //remove false when modify api to get payment method\n false && (\n \n
    \n Payment method\n
    \n
    \n {payment.method}\n
    \n
    \n )\n }\n {\n //remove false when modify api to get risk parameter\n false && (\n \n
    \n Risk\n
    \n
    \n {payment.risk}\n
    \n
    \n )\n }\n
    \n
    \n
    \n {\n //remove false when modify api to get timeline details method\n false && (\n
    \n \n
    \n \n Timeline\n \n \n \n \n
    \n
    \n {payment.timeline &&\n payment.timeline.map((timeline) => {\n return (\n
    \n
    \n \n {timeline.description}\n
    \n \n {formatDateTimeByFormatString(\n timeline.created_at,\n 'DD MMM HH:mm'\n )}\n \n
    \n );\n })}\n
    \n
    \n
    \n )\n }\n {mediaLessThan600px ? (\n
    \n \n
    \n \n Payment details\n \n
    \n \n \n \n \n Amount\n \n \n {formatCurrency(\n payment.total,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n \n \n \n \n Date\n \n \n {formatDateTimeByFormatString(payment.time, 'DD MMM HH:mm')}\n \n \n \n \n Card\n \n \n {payment.last_four_digits ||\n payment.card_last_four_digits ||\n payment.last_4_digits\n ? `********${\n payment.last_four_digits ||\n payment.card_last_four_digits ||\n payment.last_4_digits\n }`\n : `-`}\n \n \n \n \n Description\n \n \n {+payment.total < 0 ? (\n \n {filterRefundDescription(payment.refund) || '-'}\n \n ) : payment.more_info ? (\n payment.more_info\n ) : (\n \n )}\n \n \n \n \n Status\n \n \n {payment.total <= 0 ? (\n \n ) : (\n \n )}\n \n \n
    \n
    \n
    \n
    \n ) : (\n
    \n \n
    \n \n Payment details\n \n
    \n \n \n \n \n {/* Statement description */}\n Amount\n Date\n Card\n Description\n Status\n \n \n \n \n {/* {payment.statement_description || '-'} */}\n \n {formatCurrency(\n payment.total,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n \n \n {formatDateTimeByFormatString(payment.time, 'DD MMM HH:mm')}\n \n \n {payment.last_four_digits ||\n payment.card_last_four_digits ||\n payment.last_4_digits\n ? `********${\n payment.last_four_digits ||\n payment.card_last_four_digits ||\n payment.last_4_digits\n }`\n : `-`}\n \n \n {+payment.total < 0 ? (\n \n {filterRefundDescription(payment.refund) || '-'}\n \n ) : payment.more_info ? (\n payment.more_info\n ) : (\n \n )}\n \n \n {payment.total <= 0 ? (\n \n ) : (\n \n )}\n \n \n \n
    \n
    \n
    \n
    \n )}\n {mediaLessThan600px ? (\n
    \n \n
    \n \n Customer Details\n \n
    \n \n \n \n \n Customer Name\n \n \n {payment.firstname} {payment.lastname}\n \n \n \n \n Customer Address\n \n \n {payment.address}\n \n \n \n \n Customer Email\n \n \n {payment.email || '-'}\n \n \n \n \n Customer Phone Number\n \n \n {payment.phone_number || '-'}\n \n \n
    \n
    \n
    \n
    \n ) : (\n
    \n \n
    \n \n Customer Details\n \n
    \n \n \n \n \n {/* Statement description */}\n Customer Name\n Customer Address\n Customer Email\n Customer Phone Number\n \n \n \n \n {/* {payment.statement_description || '-'} */}\n \n {hideSensitiveDetails\n ? 'REDACTED'\n : `${payment.firstname} ${payment.lastname}`}\n \n \n {hideSensitiveDetails\n ? 'REDACTED'\n : payment.address?.trim()}\n \n\n {payment.email || '-'}\n {payment.phone_number || '-'}\n \n \n
    \n
    \n
    \n
    \n )}\n {isAdmin &&\n (mediaLessThan600px ? (\n
    \n \n
    \n \n Additional Information\n \n
    \n \n \n \n \n Transaction Reference\n \n \n {payment.TxnReference ? payment.TxnReference : '-'}\n \n \n \n \n 3DS status\n \n \n {payment.ThreeDsStatus ? payment.ThreeDsStatus : '-'}\n \n \n
    \n
    \n
    \n
    \n ) : (\n
    \n \n
    \n \n Additional Information\n \n
    \n \n \n \n \n {/* Statement description */}\n Transaction Reference\n {payment.payment_provider !== 'ADYEN' && showAcquirer && (\n Acquirer ID\n )}\n 3DS Status\n \n \n \n \n {/* {payment.statement_description || '-'} */}\n \n {payment.TxnReference ? payment.TxnReference : '-'}\n \n\n {/* HardCoding Temporarily */}\n {payment.payment_provider !== 'ADYEN' && showAcquirer && (\n {payment.payment_provider}\n )}\n \n {payment.ThreeDsStatus ? payment.ThreeDsStatus : '-'}\n \n \n \n
    \n
    \n
    \n
    \n ))}\n
    \n )}\n
    \n )}\n
    \n );\n};\n\nexport default DatmanResellerPaymentsDetailsComponent;\n","import React, { useEffect, useState } from 'react';\nimport DatmanResellerPaymentDetailsComponent from './datman-reseller-payment-details.component';\nimport { PaymentStatus } from 'utils/enums/PaymentStatus';\n\nfunction DatmanResellerPaymentDetailsContainer(props) {\n const { transactionId } = props;\n const [payment, setPayment] = useState(null);\n const [error, setError] = useState(false);\n const [loading, setLoading] = useState(true);\n const [show, setShow] = useState(false);\n const [status, setStatus] = useState(null);\n const [isCopyAlertOpen, setIsCopyAlertOpen] = useState(false);\n useEffect(() => {\n const getPayment = async () => {\n //const response = await TransactionsService.getPayemntDetails(referenceId);\n if (props.payment) {\n //const details = response.data.data;\n setPayment(props.payment);\n setStatus(\n props.payment.payment_status\n ? PaymentStatus[props.payment.payment_status]\n : props.payment.status && 'Success'\n );\n } else {\n setError(true);\n }\n setLoading(false);\n };\n getPayment();\n });\n const handleCopyPaymentId = () => {\n navigator.clipboard.writeText(payment.id);\n setIsCopyAlertOpen(true);\n };\n\n const closeCopyAlert = () => {\n setIsCopyAlertOpen(false);\n };\n\n return (\n \n );\n}\n\nexport default DatmanResellerPaymentDetailsContainer;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Dialog, DialogActions, DialogContent, Button, DialogContentText, Typography } from '@material-ui/core';\nimport styles from './invoice-toggle-modes-dialog.module.scss';\nimport Divider from '@material-ui/core/Divider';\n\nexport default function InvoiceToggleModesModalComponent(props) {\n const {\n showInvoiceUpdateDialogBox,\n setShowInvoiceUpdateDialogBox,\n showInvoiceStatus,\n showInvoiceUpdate,\n showInvoiceUpdateInitiated\n } = props;\n return (\n \n setShowInvoiceUpdateDialogBox(false)}\n className={{\n paper: styles.paper\n }}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n max-width=\"false\"\n >\n {showInvoiceUpdate ? (\n
    \n \n \n {showInvoiceStatus ? (\n Do you want to enable Invoice for this merchant?\n ) : (\n Do you want to disable Invoice for this merchant?\n )}\n \n \n \n \n {\n setShowInvoiceUpdateDialogBox(false);\n }}\n color=\"primary\"\n variant=\"outlined\"\n className={styles.leavebtn}\n >\n Cancel\n \n showInvoiceUpdateInitiated(showInvoiceStatus)}\n color=\"primary\"\n className={styles.dilogbtn}\n >\n Continue\n \n \n
    \n ) : null}\n \n
    \n );\n}\n\nInvoiceToggleModesModalComponent.propTypes = {\n showInvoiceUpdateDialogBox: PropTypes.bool,\n setShowInvoiceUpdateDialogBox: PropTypes.func,\n showInvoiceStatus: PropTypes.bool,\n showInvoiceUpdate: PropTypes.bool,\n showInvoiceUpdateInitiated: PropTypes.func\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport InvoiceToggleModesDialogComponent from './invoice-toggle-modes-dialog.component';\nimport { AdminService } from 'services';\nimport { useGlobalStateContext, useAdminFunctionsContext } from 'contexts';\n\nexport default function InvoiceToggleModesDialog(props) {\n const { globalState, setGlobalState } = useGlobalStateContext();\n const { adminFunctions, setAdminFunctions } = useAdminFunctionsContext();\n const {\n showInvoiceUpdateDialogBox,\n setShowInvoiceUpdateDialogBox,\n setLoading,\n showInvoiceStatus,\n showInvoiceUpdate\n } = props;\n\n const showInvoiceUpdateInitiated = async (showInvoiceUpdate) => {\n setShowInvoiceUpdateDialogBox(false);\n setLoading(true);\n setAdminFunctions({\n ...adminFunctions,\n isInvoiceEnabled: showInvoiceUpdate\n });\n const result = showInvoiceUpdate ? '1' : '0';\n const response = await AdminService.UpdateMerchantDataForAdmin(globalState.merchant?.id, {\n resellerId: globalState.reseller?.id,\n isInvoiceEnabled: result\n });\n if (response.isSuccesfully) {\n setShowInvoiceUpdateDialogBox(false);\n setGlobalState((globalState) => ({\n ...globalState,\n merchant: {\n ...globalState.merchant,\n isInvoiceEnabled: showInvoiceUpdate\n }\n }));\n }\n setLoading(false);\n };\n\n return (\n \n );\n}\n\nInvoiceToggleModesDialog.propTypes = {\n showInvoiceUpdateDialogBox: PropTypes.bool,\n setShowInvoiceUpdateDialogBox: PropTypes.func,\n setLoading: PropTypes.func,\n showInvoiceStatus: PropTypes.bool,\n showInvoiceUpdate: PropTypes.bool,\n showInvoiceUpdateInitiated: PropTypes.func\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { NativeSelect, Grid } from '@material-ui/core';\nimport { FormItem, Label, Input } from '../../../onboarding/onboarding-ui-components';\nimport { useAdminFunctionsContext } from 'contexts';\nimport InvoiceToggleModesDialog from './invoice-toggle-mode-dialog/invoice-toggle-modes-dialog.container';\nimport { LoadingScreen } from 'components';\n\nexport default function InvoiceToggleModesComponent(props) {\n const { adminFunctions } = useAdminFunctionsContext();\n const {\n showInvoiceUpdateDialogBox,\n setShowInvoiceUpdateDialogBox,\n loading,\n setLoading,\n showInvoiceStatus,\n setShowInvoiceStatus,\n showInvoiceUpdate,\n setShowInvoiceUpdate\n } = props;\n\n return (\n \n
    \n \n \n \n \n \n \n {\n //\n // setTestModeReject(false);\n setShowInvoiceUpdateDialogBox(true);\n setShowInvoiceUpdate(true);\n if (e.target.value === 'true') {\n setShowInvoiceStatus(true);\n } else {\n setShowInvoiceStatus(false);\n }\n }}\n >\n }\n >\n \n \n \n \n \n \n
    \n\n \n \n
    \n );\n}\n\nInvoiceToggleModesComponent.propTypes = {\n onChange: PropTypes.func,\n showInvoiceUpdateDialogBox: PropTypes.bool,\n setShowInvoiceUpdateDialogBox: PropTypes.func,\n setLoading: PropTypes.func,\n showInvoiceStatus: PropTypes.bool,\n setShowInvoiceStatus: PropTypes.func,\n showInvoiceUpdate: PropTypes.bool,\n setShowInvoiceUpdate: PropTypes.func\n};\n","import React, { useState } from 'react';\nimport InvoiceToggleModesComponent from './invoice-toggle-modes.component';\n\nexport default function InvoiceToggleModes() {\n const [showInvoiceUpdateDialogBox, setShowInvoiceUpdateDialogBox] = useState(false);\n const [loading, setLoading] = useState(false);\n const [showInvoiceStatus, setShowInvoiceStatus] = useState(false);\n const [showInvoiceUpdate, setShowInvoiceUpdate] = useState(false);\n return (\n \n );\n}\n","import React from 'react';\nimport jsPDF from 'jspdf';\nimport 'jspdf-autotable';\nimport moment from 'moment';\nimport { OverlayTrigger, Tooltip } from 'react-bootstrap';\nimport { Button } from '@material-ui/core';\nimport GetAppIcon from '@material-ui/icons/GetApp';\nimport { useGlobalStateContext } from 'contexts';\nimport { getCurrencySymbol } from 'utils/getCurrencyByCountry';\nimport { ResellerType } from 'utils/enums/ResellerType';\n\nconst ExportPDF = (props) => {\n const { globalState } = useGlobalStateContext();\n const isDatman = globalState.reseller?.name === ResellerType.DATMAN;\n const { merchant, logo, pdfTitle, data, address, merchantMobile, companyAddress, ownerName } = props;\n let resellerName = `${globalState?.reseller.name} LTD`;\n const tooltip = (\n \n Click to download pdf.\n \n );\n const date = moment(globalState.merchant.createdAt).format('Do of MMMM YYYY HH:mm');\n var companyPhoneNumber = `Phone Number : 03330165548`;\n let finalStatementOne = `We, ${\n merchant?.name\n } hereby wish to appoint you to provide the services as described and on the terms above and I acknowledge by signing this online document I am agreeing to your Terms and Conditions of ${\n globalState?.reseller?.name\n } (which can be found on www.datman.je or can be provided upon request). On ${date} by ${\n ownerName ? ownerName : '__'\n } submitted an online application from through our website www.datman.je and thereby agreed to our terms and conditions a full copy of which can be found on our website or is available upon request. We hereby acknowledge the same.`;\n\n const marginLeft = 13;\n let marginTop = 60;\n const vAlignRight = 280;\n let addressLine1 = address?.addressLine1 ? address?.addressLine1 : '';\n let city = address?.city ? address?.city : '';\n let addressLine2 = address?.addressLine2 ? address?.addressLine2 : '';\n let postCode = address?.postCode ? address?.postCode : '';\n const printAgreementTableData = [\n { headerColumn: 'Name', data: merchant.name },\n { headerColumn: 'Address', data: addressLine1 + ' ' + addressLine2 },\n { headerColumn: 'City', data: city },\n { headerColumn: 'Postcode', data: postCode },\n { headerColumn: 'Mobile', data: `${merchantMobile}` },\n {\n headerColumn: 'Rent',\n data: `${getCurrencySymbol(globalState.merchant.country)} ${data.contract_rent}`\n },\n { headerColumn: 'Contract Length', data: data.contract_length_print_agreement },\n { headerColumn: 'Notice Period', data: data.notice_period },\n { headerColumn: 'Extra Comments', data: data.extra_comments },\n { headerColumn: 'Description of Service Provided', data: data.services_description }\n ];\n let merchantName = merchant.name.length > 40 ? merchant.name.slice(0, 40) + '...' : merchant.name;\n addressLine1 = addressLine1.length > 40 ? addressLine1.slice(0, 40) + '...' : addressLine1;\n addressLine2 = addressLine2.length > 40 ? addressLine2?.slice(0, 40) + '...' : addressLine2;\n city = city?.length > 40 ? city?.slice(0, 40) + '...' : city;\n const exportPDF = async () => {\n const doc = new jsPDF('l');\n var companyName = doc.splitTextToSize(!isDatman ? 'OmniPay LTD' : 'Mypay LTD', 60);\n var companyAddressLine1 = doc.splitTextToSize(companyAddress, 60);\n doc.setFontSize(14); //Merchant name\n let content = {\n startY: marginTop + 26,\n body: printAgreementTableData,\n rowPageBreak: 'auto',\n bodyStyles: { valign: 'top' },\n columnStyles: {\n 0: {\n columnWidth: 30\n }\n }\n };\n\n doc.text(merchantName, marginLeft, 15, 'left');\n doc.text(addressLine1, marginLeft, 22, 'left');\n if (!addressLine2) {\n doc.text(city, marginLeft, 28, 'left');\n doc.text(postCode, marginLeft, 34, 'left');\n } else {\n doc.text(addressLine2, marginLeft, 28, 'left');\n doc.text(city, marginLeft, 34, 'left');\n doc.text(postCode, marginLeft, 40, 'left');\n }\n\n //Add Logo to right\n isDatman\n ? doc.addImage(logo, 'png', 120, 10, 40, 33, 'center', 'FAST')\n : doc.addImage(logo, 'png', 120, 10, 40, 14, 'center', 'FAST');\n\n doc.text(companyName, vAlignRight, 15, 'right');\n doc.text(companyAddressLine1, vAlignRight, 22, 'right');\n isDatman && doc.text(companyPhoneNumber, vAlignRight, 44, 'right');\n\n //Show transactions title\n doc.text(pdfTitle, 15, 70);\n doc.setFontSize(11);\n\n //Put table in pdf\n let startX = 15;\n let height = 182;\n doc.autoTable(content);\n doc.setFontSize(10.5);\n doc.text(finalStatementOne, startX, height, {\n maxWidth: 270\n });\n\n doc.text(resellerName, 15, 205);\n\n doc.save(`Contract_agreement_${globalState.merchant?.id}.pdf`);\n };\n return (\n
    \n \n }\n onClick={() => {\n exportPDF();\n }}\n >\n PDF\n \n \n
    \n );\n};\n\nexport default ExportPDF;\n","import React from 'react';\nimport style from './print-agreement.module.scss';\n\nimport { TableContainer, Table, Paper, TableRow, TableCell, Tooltip } from '@material-ui/core';\nimport { Col, Row } from 'react-bootstrap';\nimport { LoadingScreen, ExportPDF } from 'components';\nimport { ResellerLogoMap } from 'utils/enums/ResellerLogoMap';\nimport { useGlobalStateContext } from 'contexts';\nimport { getCurrencySymbol } from 'utils/getCurrencyByCountry';\nconst PrintAgreementComponent = (props) => {\n const {\n merchant,\n contractDetails,\n isLoading,\n merchantTradingAddress,\n merchantMobile,\n companyAddress,\n ownerName\n } = props;\n const { globalState } = useGlobalStateContext();\n const addressLine1 = merchantTradingAddress?.addressLine1 ? merchantTradingAddress?.addressLine1 : '__';\n const addressLine2 = merchantTradingAddress?.addressLine2 ? merchantTradingAddress?.addressLine2 : '__';\n const city = merchantTradingAddress?.city ? merchantTradingAddress?.city : '__';\n const postCode = merchantTradingAddress?.postCode ? merchantTradingAddress?.postCode : '__';\n let merchantName = merchant.name.length > 40 ? merchant.name.slice(0, 40) + '...' : merchant.name;\n let addressLine1Header = addressLine1?.length > 40 ? addressLine1?.slice(0, 40) + '...' : addressLine1;\n let addressLine2Header = addressLine2?.length > 40 ? addressLine2?.slice(0, 40) + '...' : addressLine2;\n let cityHeader = city?.length > 40 ? city?.slice(0, 40) : city;\n\n return (\n \n \n \n

    Engagement of services

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

    \n \n {merchantName}\n \n

    \n

    \n \n {addressLine1Header}\n \n

    \n

    \n \n {addressLine2Header}\n \n

    \n

    \n \n {cityHeader}\n \n

    \n

    {postCode}

    \n \n
    \n \n \n \n \n \n Name\n \n {merchant.name ? merchant.name : '__'}\n \n \n Address\n {addressLine1.concat(' ', addressLine2)}\n \n \n City\n {city}\n \n \n Postcode\n {postCode}\n \n \n Mobile\n {merchantMobile}\n \n \n Rent\n \n {`${getCurrencySymbol(globalState.merchant.country)}\n ${contractDetails.contract_rent ? contractDetails.contract_rent : '__'}`}\n \n \n \n Contract length\n \n {contractDetails.contract_length_print_agreement\n ? contractDetails.contract_length_print_agreement\n : '__'}\n \n \n \n Notice period\n \n {contractDetails.notice_period ? contractDetails.notice_period : '__'}\n \n \n \n Extra comments\n \n {contractDetails.extra_comments ? contractDetails.extra_comments : '__'}\n \n \n \n Description of service provided\n {contractDetails.services_description}\n \n
    \n
    \n \n
    \n
    \n );\n};\n\nexport default PrintAgreementComponent;\n","import React, { useState, useEffect } from 'react';\nimport PrintAgreementComponent from './print-agreement.component';\nimport { AdminService, NonResellerMerchantService } from 'services';\nimport { useGlobalStateContext } from 'contexts';\n\nconst PrintAgreementContainer = () => {\n const [contractDetails, setContractDetails] = useState({});\n const [merchantTradingAddress, setMerchantTradingAddress] = useState({});\n const [merchantMobile, setMerchantMobile] = useState(null);\n const { globalState } = useGlobalStateContext();\n const [isLoading, setIsLoading] = useState(false);\n const [companyAddress, setCompanyAddress] = useState({});\n const [ownerName, setOwnerName] = useState('');\n\n useEffect(() => {\n const getContract = async () => {\n setIsLoading(true);\n const response = await AdminService.getContractValues();\n const merchantResponse = await NonResellerMerchantService.getOnboardingFullData(globalState.merchant?.id);\n if (response.isSuccesfully || merchantResponse.isSuccesfully) {\n setContractDetails(response.data.data);\n }\n if (merchantResponse.isSuccesfully) {\n setMerchantTradingAddress(merchantResponse?.data?.merchantData?.tradingAddress);\n if (merchantResponse?.data?.merchantData?.businessDetails?.phoneNumber) {\n const isPlusExist = merchantResponse?.data?.merchantData?.businessDetails?.phoneNumber?.includes(\n '+'\n );\n const includedPlusSign = '+' + merchantResponse?.data?.merchantData?.businessDetails?.phoneNumber;\n const mobileNumber = isPlusExist\n ? merchantResponse?.data?.merchantData?.businessDetails.phoneNumber\n : includedPlusSign;\n setMerchantMobile(mobileNumber);\n } else {\n setMerchantMobile('__');\n }\n setOwnerName(merchantResponse?.data?.merchantData?.ownersDetails?.fullName);\n }\n setIsLoading(false);\n };\n setCompanyAddress(globalState.reseller.address);\n getContract();\n }, [globalState.merchant, globalState.reseller.address]);\n\n return (\n \n );\n};\n\nexport default PrintAgreementContainer;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Button, Dialog, DialogActions, DialogTitle, DialogContent, TextField, OutlinedInput } from '@material-ui/core';\nimport { LoadingScreen } from 'components';\nimport styles from './modal-move-transaction.module.scss';\nimport NumberFormat from 'react-number-format';\nimport { Label } from 'components/onboarding/onboarding-ui-components';\nimport { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs';\nimport { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider';\nimport { MobileDateTimePicker } from '@mui/x-date-pickers';\n\nconst ModalMoveTransaction = (props) => {\n const {\n loading,\n fromDate,\n setFromDate,\n toDate,\n setToDate,\n handleClose,\n disable,\n onConfirm,\n openModal,\n newMid,\n setNewMid\n } = props;\n\n return (\n \n \n \n\n \n Move transactions\n \n \n
    \n
    \n \n {\n setNewMid(e.target.value);\n }}\n labelWidth={0}\n required\n />\n
    \n
    \n
    \n
    \n

    From

    \n \n {\n if (newValue) setFromDate(newValue['$d']);\n }}\n onError={console.log}\n inputFormat=\"DD/MM/YYYY HH:mm\"\n renderInput={(params) => (\n \n )}\n minute={false}\n showToolbar={false}\n ampm={false}\n />\n \n
    \n
    \n

    To

    \n \n {\n if (newValue) setToDate(newValue['$d']);\n }}\n onError={console.log}\n inputFormat=\"DD/MM/YYYY HH:mm\"\n renderInput={(params) => (\n \n )}\n minute={false}\n showToolbar={false}\n ampm={false}\n />\n \n\n {/* \n {\n if (newValue) setToDate(newValue['$d']);\n }}\n maxDate={new Date()}\n minDate={fromDate}\n renderInput={(params) => (\n \n )}\n />\n */}\n
    \n
    \n
    \n \n \n {\n onConfirm();\n }}\n color=\"primary\"\n disabled={!disable}\n className={styles.dialogbtn}\n >\n Submit\n \n \n \n
    \n );\n};\nModalMoveTransaction.propTypes = {\n loading: PropTypes.bool,\n timeFrame: PropTypes.string,\n handleTimeFrameChange: PropTypes.func,\n setFromDate: PropTypes.func,\n setToDate: PropTypes.func,\n handleClose: PropTypes.func,\n disable: PropTypes.bool,\n onSend: PropTypes.func,\n showCharges: PropTypes.bool,\n setShowCharges: PropTypes.func,\n sendReportModal: PropTypes.bool\n};\nexport default ModalMoveTransaction;\n","import React, { useState, useEffect } from 'react';\nimport ModalMoveTransaction from './modal-move-transaction.compnent';\nimport PaymentsService from 'services/payments.service';\nimport moment from 'moment';\n\nconst ModalMoveTxns = (props) => {\n const { openModal, setOpenModal, setSnackbar } = props;\n const [loading, setLoading] = useState(false);\n const [showCharges, setShowCharges] = useState(false);\n const [fromDate, setFromDate] = useState(null);\n const [toDate, setToDate] = useState(null);\n const [disable, setDisable] = useState(true);\n const [newMid, setNewMid] = useState('');\n const handleClose = () => {\n setOpenModal(false);\n };\n\n useEffect(() => {\n toDate !== null && fromDate !== null && toDate !== '' && fromDate !== '' && fromDate < toDate && newMid\n ? setDisable(true)\n : setDisable(false);\n }, [newMid, toDate, fromDate]);\n\n const onConfirm = async () => {\n const payload = {\n start_date: moment(fromDate).format('YYYY-MM-DD HH:mm:ss'),\n end_date: moment(toDate).format('YYYY-MM-DD HH:mm:ss'),\n new_mid: newMid\n };\n setLoading(true);\n const response = await PaymentsService.MoveTransactions(payload);\n if (response.isSuccesfully) {\n setSnackbar({ type: 'success', message: response.data?.message });\n } else {\n setSnackbar({ type: 'error', message: response.data?.message });\n }\n\n setLoading(false);\n handleClose();\n };\n\n return (\n \n );\n};\n\nexport default ModalMoveTxns;\n","import React from 'react';\nimport { FormItem, Label } from '../../../onboarding/onboarding-ui-components';\nimport { Grid, OutlinedInput } from '@material-ui/core';\n\nimport NumberFormat from 'react-number-format';\nimport styles from './update-txn-limit.module.scss';\nimport { Edit } from '@material-ui/icons';\nimport DoneIcon from '@material-ui/icons/Done';\nimport { ModalFormConfirmation } from 'components';\nimport { useGlobalStateContext } from 'contexts';\nimport { UserType } from 'utils/enums/UserType';\nconst UpdateTxnLimitComponent = (props) => {\n const {\n isInputEnable,\n isModalOpen,\n handleButtonClick,\n setIsModalOpen,\n value,\n setValue,\n labelText,\n isMaxAmount,\n disable,\n updateCustomerConfig\n } = props;\n const { globalState } = useGlobalStateContext();\n const isSuperAdmin = globalState.user?.UserType?.name === UserType.SuperAdmin;\n const disableValue = isSuperAdmin ? disable && isInputEnable : true;\n\n return (\n \n \n \n \n \n \n \n {\n setValue(e.target.value);\n }}\n labelWidth={0}\n required\n />\n\n {/* Added a new Grid container */}\n\n \n {isInputEnable ? : }\n \n \n \n \n {\n updateCustomerConfig();\n }}\n buttonText={'Yes'}\n modalText=\"If you modify this order limit, it will be saved according to the new limit.\"\n newStyle={true}\n modalHeader=\"Are you sure you want to change the maximum order limit?\"\n />\n \n );\n};\n\nexport default UpdateTxnLimitComponent;\n","import React, { useState, useEffect } from 'react';\nimport UpdateTxnLimitComponent from './update-txn-limit.component';\nimport adminService from 'services/admin.service';\n\nexport default function UpdateTxnLimitContainer(props) {\n const { keyValue, setSnackbarDetails, setLoading, setPaymentConfig, paymentConfig } = props;\n const [isInputEnabled, setIsInputEnabled] = useState(false);\n const [isModalOpen, setIsModalOpen] = useState(false);\n const [disable, setDisable] = useState(false);\n const [value, setValue] = useState(props?.value);\n const handleButtonClick = () => {\n if (!isInputEnabled) {\n // First click enables input field\n setIsInputEnabled(true);\n } else {\n // Second click opens the popup\n setIsModalOpen(true);\n }\n };\n\n useEffect(() => {\n value === props.value || !value ? setDisable(true) : setDisable(false);\n //eslint-disable-next-line\n }, [value]);\n\n const isMaxAmount = (values) => {\n const { value, floatValue } = values;\n\n if (typeof floatValue === 'undefined' || typeof value === 'undefined') {\n return true;\n }\n if (value.charAt(0) === '0') {\n if (value.charAt(1) && value.charAt(1) !== '.') {\n return false;\n }\n }\n if (value > props.maxValue) {\n return false;\n }\n return true;\n };\n const updateCustomerConfig = async () => {\n setLoading(true);\n const response = await adminService.UpdateCustomerConfig({\n [keyValue]: value\n });\n if (response.isSuccesfully) {\n setSnackbarDetails({ type: 'success', message: 'transaction limit updated successfully' });\n setPaymentConfig({\n ...paymentConfig,\n [keyValue]: value\n });\n } else {\n setSnackbarDetails({ type: 'error', message: 'transaction limit update failed' });\n }\n setIsInputEnabled(false);\n setLoading(false);\n };\n\n return (\n \n );\n}\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport style from './pending-verification-list.module.scss';\nimport { formatDateTimeByFormatString, getComparator, stableSort } from 'utils/helper';\nimport { Calendar } from 'components';\nimport TableHeader from 'components/payments/transaction-tables/table-header/table-header.container';\nimport {\n TableBody,\n TableCell,\n TableRow,\n Table,\n TableContainer,\n Paper,\n CircularProgress,\n TableFooter,\n TablePagination,\n Box,\n makeStyles,\n Select,\n Button,\n InputLabel,\n MenuItem,\n TextField,\n Typography,\n Grid,\n FormControl\n} from '@material-ui/core';\nimport { Link } from 'react-router-dom';\nimport { MerchantStatusNames } from 'utils/enums/MerchantStatusNames';\n\nconst useStyles = makeStyles(() => ({\n visuallyHidden: {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: 1,\n margin: -1,\n padding: 0,\n position: 'absolute',\n top: 20,\n width: 1\n },\n tableCellSmallSize: {\n '& td': {\n padding: '6px 14px 6px 14px'\n },\n '& th': {\n padding: '6px 14px 6px 14px'\n }\n }\n}));\n\nfunction PendingVerificationListComponent(props) {\n const { pathname } = props.location;\n const {\n loading,\n error,\n page,\n rowsPerPage,\n rows,\n handleChangePage,\n handleChangeRowsPerPage,\n count,\n order,\n countryFilter,\n setCountryFilter,\n orderBy,\n onGoToAccount,\n setInputValue,\n onSearchMerchants,\n onChangeDateRange,\n daterange,\n setDateRange,\n headCells,\n handleCountryFilter\n } = props;\n const classes = useStyles();\n return (\n \n \n \n \n {pathname.includes('pending-account-verification-list')\n ? `Pending Account Verification (${count})`\n : `Pending Bank Verification (${count})`}\n \n \n\n
    \n setInputValue(e.target.value)}\n />\n \n Search\n \n \n
    \n \n \n \n Filter\n \n \n All\n Australia\n United States\n United Kingdom\n Mexico\n Canada\n New Zealand\n Ireland\n \n \n \n \n \n \n \n {loading ? (\n \n \n \n ) : error ? (\n
    An error occurred, please try reloading your browser.
    \n ) : (\n \n {!rows || rows.length === 0 ? (\n
    No pending data
    \n ) : (\n \n \n \n {/* Ensure TableHeader is properly rendered with headCells */}\n \n\n \n {stableSort(rows, getComparator(order, orderBy)).map((row, index) => (\n \n \n onGoToAccount(row.id)}>\n {row.id}\n \n \n {row.name}\n {row.country}\n \n {formatDateTimeByFormatString(row.date, 'DD MMM YYYY HH:mm')}\n \n \n {MerchantStatusNames[row.status]}\n \n \n ))}\n \n \n \n \n \n \n \n \n \n )}\n
    \n )}\n
    \n
    \n );\n}\n\nPendingVerificationListComponent.propTypes = {\n loading: PropTypes.bool,\n error: PropTypes.bool,\n page: PropTypes.number,\n rowsPerPage: PropTypes.number,\n rows: PropTypes.array,\n handleChangePage: PropTypes.func,\n handleChangeRowsPerPage: PropTypes.func,\n count: PropTypes.number,\n order: PropTypes.string,\n orderBy: PropTypes.string,\n userName: PropTypes.string,\n setInputValue: PropTypes.func,\n onSearchMerchants: PropTypes.func,\n onChangeDateRange: PropTypes.func,\n daterange: PropTypes.object,\n offrange: PropTypes.bool,\n setOffrange: PropTypes.func,\n setDaysRange: PropTypes.func,\n headCells: PropTypes.array.isRequired\n};\n\nexport default PendingVerificationListComponent;\n","import React, { useState, useEffect, useCallback } from 'react';\nimport AdminService from 'services/admin.service.js';\nimport PendingVerificationListComponent from './pending-verification-list.component';\nimport moment from 'moment';\nimport { useGlobalStateContext } from 'contexts';\n\nconst PendingVerificationList = (props) => {\n const { getRoute } = useGlobalStateContext();\n const [loading, setLoading] = useState(false);\n const [error, setError] = useState(false);\n const [page, setPage] = useState(0);\n const [rowsPerPage, setRowsPerPage] = useState(20);\n const [verificationList, setVerificationList] = useState([]);\n const [total, setTotal] = useState(0);\n const [snackbar, setSnackbar] = useState({ type: '', message: '' });\n const [order, setOrder] = useState('DESC');\n const [orderBy, setOrderBy] = useState('createdDate');\n const [inputValue, setInputValue] = useState('');\n const [countryFilter, setCountryFilter] = useState('all');\n const [startDate, setStartDate] = useState(moment().subtract(7, 'days').format('YYYY-MM-DD'));\n const [endDate, setEndDate] = useState(moment().endOf('day').format('YYYY-MM-DD'));\n const [daterange, setDateRange] = useState({\n start: moment().subtract(7, 'days').startOf('day'),\n end: moment().endOf('day')\n });\n const { pathname } = props.location;\n\n const headCells = [\n { id: 'MerchantId', numeric: false, disablePadding: false, label: 'MerchantId', hideSortingIcon: true },\n { id: 'Name', numeric: false, disablePadding: false, label: 'Name', hideSortingIcon: true },\n { id: 'Country', numeric: false, disablePadding: false, label: 'Country', hideSortingIcon: true },\n { id: 'Date', numeric: false, disablePadding: false, label: 'Date' },\n { id: 'Status', numeric: false, disablePadding: false, label: 'Status', hideSortingIcon: true }\n ];\n\n useEffect(() => {\n getdataResponse(page);\n }, [getdataResponse, page, rowsPerPage, startDate, endDate, countryFilter]);\n\n const getdataResponse = useCallback(\n async (newPage) => {\n const offsetValue = newPage * rowsPerPage;\n const searchInputData = inputValue.length > 2 ? inputValue.trim() : '';\n\n setLoading(true);\n try {\n if (pathname.includes('pending-account-verification-list')) {\n const PendingAccountVerificationData = await AdminService.getPendingDocumentVerification({\n offsetValue: offsetValue,\n fromDate: startDate,\n toDate: endDate,\n limit: rowsPerPage,\n searchValue: searchInputData,\n countryFilter: countryFilter,\n order\n });\n\n if (PendingAccountVerificationData?.isSuccesfully) {\n setVerificationList(PendingAccountVerificationData?.data?.sortedDocumentVerificationDto);\n setTotal(PendingAccountVerificationData.data.count ?? 0);\n setError(false);\n } else {\n setError(true);\n }\n } else {\n const PendingBankVerificationData = await AdminService.getPendingBankVerification({\n offsetValue: offsetValue,\n fromDate: startDate,\n toDate: endDate,\n limit: rowsPerPage,\n searchValue: inputValue.length > 2 ? inputValue.trim() : '',\n countryFilter: countryFilter,\n order\n });\n\n if (PendingBankVerificationData?.isSuccesfully) {\n setVerificationList(PendingBankVerificationData?.data?.bankVerificationDto);\n setTotal(PendingBankVerificationData.data.count ?? 0);\n setError(false);\n } else {\n setError(true);\n }\n }\n } catch (error) {\n setError(true);\n }\n setLoading(false);\n },\n [startDate, endDate, inputValue, countryFilter, order, page, verificationList, total, rowsPerPage]\n );\n\n const onChangeDateRange = (newStartDate, newEndDate) => {\n if (!newStartDate || !newEndDate) return;\n\n const initialDate = moment(newStartDate).startOf('day');\n const finalDate = moment(newEndDate).endOf('day');\n\n setStartDate(initialDate.format('YYYY-MM-DD'));\n setEndDate(finalDate.format('YYYY-MM-DD'));\n setVerificationList([]);\n setPage(0);\n };\n\n const handleChangePage = (event, newPage) => {\n setPage(newPage);\n };\n\n const handleChangeRowsPerPage = (event) => {\n const newRowsPerPage = parseInt(event.target.value, 10);\n setRowsPerPage(newRowsPerPage);\n setPage(0);\n };\n\n const onSearchMerchants = (e) => {\n e.preventDefault();\n setPage(0);\n getdataResponse(0);\n };\n\n const handleCountryFilter = useCallback(\n (e) => {\n e.preventDefault();\n setCountryFilter(e.target.value);\n setPage(0);\n },\n [countryFilter]\n );\n\n const handleRequestSort = (event, property) => {\n const isAsc = orderBy === property && order === 'asc';\n setOrder(isAsc ? 'desc' : 'asc');\n setOrderBy(property);\n };\n const onGoToAccount = (merchantId) => {\n let routeToGo = getRoute(`/document-management/${merchantId}`);\n window.open(routeToGo, '_blank');\n };\n\n return (\n \n );\n};\n\nexport default PendingVerificationList;\n","import React from 'react';\n\n//Styles\nimport styles from './banner.module.scss';\n\n//Icons\nimport { ErrorOutline } from '@material-ui/icons';\n\n//External Components\nimport { Typography } from '@material-ui/core';\n\nconst BannerComponent = (props) => {\n const { message } = props;\n return (\n <>\n
    \n
    \n \n
    \n \n
    {message}
    \n
    \n
    \n \n );\n};\n\nexport default BannerComponent;\n","import React from 'react';\nimport BannerComponent from './banner.component';\n\nconst Banner = (props) => {\n return ;\n};\n\nexport default Banner;\n","import React from 'react';\nimport styles from './date-picker.module.scss';\nimport { IconButton, InputAdornment, TextField } from '@material-ui/core';\nimport { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs';\nimport { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider';\nimport { MobileDatePicker } from '@mui/x-date-pickers/MobileDatePicker';\nimport CloseIcon from '@material-ui/icons/Close';\n\nimport moment from 'moment';\nconst DatePickerComponent = (props) => {\n const {\n label,\n value,\n onChange,\n placeholder,\n maxDate,\n minDate,\n disabled,\n styleClass,\n error,\n isdeleteable,\n style\n } = props;\n\n const styleprop = style ? style : {};\n console.log(value, minDate, error);\n\n const outlineClass = error ? styles.errorClass : styleClass ? styles[styleClass] : styles.defaultClass;\n return (\n
    \n

    {label}

    \n \n (\n \n {\n event.stopPropagation();\n onChange(null);\n }}\n >\n \n \n \n )\n }}\n />\n )}\n />\n \n
    \n );\n};\n\nexport default DatePickerComponent;\n","import React, { useState, useEffect } from 'react';\nimport DatePickerComponent from './date-picker.component';\n\nimport moment from 'moment';\n\nfunction DatePicker(props) {\n const { value, minDate } = props;\n const [error, setError] = useState(false);\n useEffect(() => {\n if (value && minDate && moment(value).isBefore(moment(minDate))) {\n setError(true);\n } else {\n setError(false);\n }\n }, [value, minDate]);\n\n return ;\n}\n\nexport default DatePicker;\n","// exports all components\n\nimport LoginForm from './login-form/login-form.container';\nimport HomeItemDetails from './home-item-details/home-item-details.container';\nimport HomeWorkItems from './home-work-items/home-work-items.container';\nimport SignUpForm from './signup-form/signup-form.container';\nimport ExternalSignUpForm from './external-signup/signup-form.container';\nimport ModalUserIcon from './modal-user-icon/modal-user-icon.container';\nimport ModalUserManagement from './modal-user-management/modal-user-management.container';\nimport TableProject from './table-project/table-project.container';\nimport SearchUserForm from './search-user-form/search-user-form.container';\nimport CreateUserForm from './create-user-form/create-user-form.container';\nimport ModalConfirmation from './modal-confirmation/modal-confirmation.container';\nimport ModalBusinessCreation from './modal-business-creation/modal-business-creation.container';\nimport ModalClientCreation from './modal-client-creation/modal-client-creation.container';\nimport ModalMerchantCreation from './modal-merchant-creation/modal-merchant-creation.container';\nimport AuthWithSocialMedia from './auth-with-social-media/auth-with-social-media.container';\nimport MerchantListContainer from './merchant-list-container/merchant-list-container.container';\nimport MerchantDashBoardMenu from './merchant-dashboard-menu/merchant-dashboard-menu.container';\nimport AntSwitch from './ant-switch/ant-switch.container';\nimport MerchantDashBoardNavigationHeader from './merchant-dashboard-navigation-header/merchant-dashboard-navigation-header.container';\nimport MerchantDashboardOptions from './merchant-dashboard-options/merchant-dashboard-options.container';\nimport MerchantDashboardPreview from './merchant-dashboard-preview/merchant-dashboard-preview.container';\nimport OnboardingSteps from './onboarding/onboarding-steps/onboarding-steps.container';\nimport OnboardingNameAdress from './onboarding/onboarding-name-adress/onboarding-name-adress.container';\nimport OnboardingOwnerDetails from './onboarding/owner-details/onboarding-owner-details.container';\nimport T2SOnboardingOwnerDetails from './onboarding/t2s-owner-details/t2s-onboarding-owner-details.container';\nimport OnboardingOwnerPrimaryAddress from './onboarding/owner-primary-address/onboarding-owner-primary-address.container';\nimport OnboardingAdressStep from './onboarding/onboarding-address/onboarding-address.container';\nimport T2SOnboardingAdressStep from './onboarding/t2s-onboarding-address /t2s-onboarding-address.container';\nimport T2SOnboardingNameAddress from './onboarding/t2s-onboarding-name-address/t2s-onboarding-name-address.container';\n\nimport OnboardingBusinessDetailsStep from './onboarding/business-details/onboarding-business-details.container';\nimport T2SOnboardingBankDetailsStep from './onboarding/t2s-bank-details/t2s-onboarding-bank-details.container';\nimport OnboardingBusinessProfile from './onboarding/business-profile/onboarding-business-profile.container';\nimport * as OnboardingUiComponents from './onboarding/onboarding-ui-components';\nimport LoadingScreen from './loading-screen/loading-screen.container';\nimport Loader from './loader/loader.container';\nimport PaymentsList from './payments/payments-list/payments-list.container';\nimport GfoPaymentsList from './gfo-payments/gfo-payments-list.container';\nimport ChargebackList from './payments/chargebacks-list/chargebacks-list.container';\nimport ListChargebacks from './listchargebacks/listchargeback.container';\nimport MerchantChargesList from './payments/merchant-charges-list/merchant-charges-list.container';\nimport PayoutsList from './payments/payouts-list/payouts-list.container';\nimport InternalTransfersList from './payments/internal-transfers-list/internal-transfers-list.container';\nimport VirtualTerminal from './virtual-terminal/virtual-terminal.container';\nimport CardDetails from './card-details/card-details.container';\nimport TeamMembers from './team-members/team-members.container';\nimport ModalInviteUser from './modal-invite-users/modal-invite-user.container';\nimport ModalUpdateBankCompletion from './modal-update-bank-completion/modal-update-bank-completion.container';\nimport ModalUpdateBankVerify from './modal-update-bank-account-verify/modal-update-bank-account-verify.container';\nimport ProductsRequired from './onboarding/products-required/products-required.container';\nimport OnboardingTransactionProfile from './onboarding/onboarding-transaction-profile/onboarding-transaction-profile-steps-container.container';\nimport MerchantSettings from './merchant-settings/merchant-settings.container';\nimport OnboardingSummary from './onboarding/onboarding-summary/onboarding-summary.container';\nimport OnboardingDocuments from './onboarding/documents/onboarding-documents.container';\nimport ModalPayoutsMarkNotReceived from './modal-payouts-mark-not-received/modal-payouts-mark-not-received.container';\nimport ModalRemoveUser from './modal-remove-member/modal-remove-member.container';\nimport UpdateBankInfo from './update-bank-info/update-bank-info.container';\nimport UpdateAccount from './update-account/update-account.container';\nimport UpdateAccountMypay from './update-account-mypay/update-account-mypay.container';\nimport UpdateAccountResellerMerchant from './update-account-reseller-merchant/update-account-reseller-merchant.container';\nimport PaymentAction from './payment-action/payment-action.container';\nimport PageHeader from './page-header/page-header.container';\nimport PageFooter from './page-footer/page-footer.container';\nimport ListPayments from './payments/transaction-tables/payments-list-table/payments-list-table.container';\nimport ModalProcessRefund from './modal-process-refund/modal-process-refund.container';\nimport Calendar from './calender-shuffle/calender-shuffle.container.js';\nimport WithdrawalSubmission from './withdrawal/withdrawal-submission/withdrawal-submission.container';\nimport UpdatePassword from './update-password/update-password.container';\nimport ForgotPassword from './forgot-password/forgot-password.container';\nimport HelpContacts from './help-contacts/help-contacts.container';\nimport TransactionRefund from './transaction/transaction-refund/transaction-refund.container';\nimport FinishUploadButton from './finish-upload-button/finish-upload-button.container';\nimport ClientRegister from './client-registration/client-registration.container';\nimport RequestSupportFormContainer from './request-support-form/request-support-form.container';\nimport Label from './onboarding/onboarding-ui-components/label/label.container';\nimport CustomLoadingScreen from './custom-loading-screen/custom-loading-screen.container';\n\nimport InternalTransferSubmission from './internal-transfer-submission/internal-transfer-submission.container';\nimport GrossVolumeGraph from './gross-volume-graph/gross-volume-graph.container';\nimport BalanceCard from './balance-card/balance-card.container';\nimport PayoutCard from './payout-card/payout-card.container';\nimport ApiKeys from './api-keys/api-keys.container';\nimport NetVolumeCard from './net-volume-card/net-volume-card.container';\nimport PaymentDetailsContainer from './payments/payment-details/payment-details.container';\nimport PayoutDetailsContainer from './payments/payout-details/payout-details.container';\nimport StripePayoutDetailsContainer from './payments/stripe-payout-details/stripe-payout-details.container';\nimport ContractRent from './contract-rent/contract-rent.container';\n\nimport PendingCustomerInfo from './admin/pending-customers/pending-customer-info.container';\nimport AccountStatus from './admin/admin-functions/account-status/account-status.container';\nimport ManagePartners from './admin/admin-functions/manage-partners/manage-partners.container';\nimport BankVerification from './admin/admin-functions/bank-verification/bank-verification.container';\nimport PaymentConfigurationModes from './admin/admin-functions/payment-configuration-mode/payment-configuration-modes.container';\nimport AddPricingTier from './admin/admin-functions/fee-tier/fee-tier.container';\n\nimport AccountVerification from './admin/admin-functions/account-verification/account-verification.container';\nimport AllowWithdrawals from './admin/admin-functions/allow-withdrawals/allow-withdrawals.container';\nimport AddMerchantId from './admin/admin-functions/add-merchant-id/add-merchant-id.container';\nimport ThirdPartyMerchantIdAndStoreId from './admin/admin-functions/third-party-merchant-id-and-store-id/third-party-merchant-id-and-store-id.container';\nimport ProcessRefund from './admin/admin-functions/process-refund/process-refund.container';\nimport DownloadDocuments from './admin/admin-functions/download-documents/download-documents.container';\nimport MerchantStoreId from './admin/admin-functions/merchant-store-id/merchnat-store-id.container';\nimport PayoutsNotReceived from './admin/admin-functions/payouts-not-received/payouts-not-received.container';\nimport PdqTransactionList from './payments/pdq-transactions-list/pdq-transactions-list.container';\nimport StripePayoutsList from './payments/stripe-payouts-list/stripe-payouts-list.container';\nimport ExportCSV from './csv-export/csv-export';\nimport ModalExportReport from './modal-export-report/modal-export-report.container';\nimport ModalDeleteMerchantAccount from './modal-delete-merchant-account/modal-delete-merchant-account.container';\nimport ModalCloseMerchantAccount from './modal-close-merchant-account/modal-close-merchant-account.container';\nimport PasswordValidation from './password-validation/password-validation.container';\nimport ResetPasswordForm from './reset-password-form/reset-password-form.container';\nimport ModalCancelInternalTransfer from './modal-cancel-internal-transfer/modal-cancel-internal-transfer.container';\nimport ModalRefundInternalTransfer from './modal-refund-internal-transfer/modal-refund-internal-transfer.container';\nimport SnackBarAndAlert from './snackbar-and-alert/snackbar-and-alert.container';\nimport CreateUrgentMessage from './admin/urgent-message/create-urgent-message/create-urgent-message.container';\nimport UrgentMessage from './admin/urgent-message/urgent-message.container';\nimport ChargingSetUpFees from './admin/admin-functions/charging-set-up-fees/charging-set-up-fees.container';\nimport DotFlashingLoading from './dot-flashing-loading/dot-flashing.component';\nimport PendingDocsList from './pending-docs-list/pending-docs-list.container';\nimport BankSortCodeDetails from './bank-sort-code-details/bank-sort-code-details.container';\nimport BankSortCodeNumberContainer from './bank-sort-code-number/bank-sort-code-number.container';\nimport MerchantResellerList from './merchant-reseller-list/merchant-reseller-list.container';\nimport MerchantPdqList from './merchant-pdq-list/merchant-pdq-list.container';\nimport SettingTermsAndConditionsContainer from './settings-terms-and-conditions/settings-terms-and-conditions.container';\nimport ModalMerchantTermsAndConditions from './modal-merchant-terms-and-conditions/modal-merchant-terms-and-conditions.container';\nimport ModalPdqMerchants from './modal-search-pdq-merchants/modal-pdq-merchants.container';\nimport PasswordInput from './password-input/password-input.container';\nimport CountyInput from './county-input/county-input.container';\nimport ModalFormConfirmation from './modal-form-confirmation/modal-form-confirmation.container';\nimport ModalCreateFeeTier from './modal-create-fee-tier/modal-create-fee-tier.container';\nimport ModalCreateQrCode from './modal-create-qr-code/modal-create-qr-code.container';\nimport GenericQrCodeInfo from './generic-qr-code-info/generic-qr-code-info.container';\nimport PaymentQrCodeInfo from './payment-qr-code-info/payment-qr-code-info.container';\nimport QrDetailedView from './qr-detailed-view/qr-detailed-view-container';\nimport ModalPreviewQrCode from './modal-preview-qr-code/modal-preview-qr-code.container';\nimport ModalReasonToClose from './modal-reason-to-close/modal-reason-to-close.container';\nimport MerchantChargeExport from './merchant-charges-export/merchant-charge-pdf-export';\nimport ModalFilterPdqMerchants from './modal-filter-pdq-merchants/modal-filter-pdq-merchants.container';\n\nimport DnaFormModal from './dna-form-modal/dna-form-modal.container';\n//Admin\nimport AdminHomeMenu from './admin/dashboard/menu/admin-dashboard-menu.container';\nimport AdminDashboardHome from './admin/dashboard/home/admin-dashboard-home.container';\nimport AdminDashBoardNavigationHeader from './admin/dashboard/navigation-header/admin-dashboard-navigation-header.container';\nimport AdminDashboardInfo from './admin/dashboard/info/admin-dashboard-info.container';\nimport AdminDashboardTopBar from './admin/dashboard/topbar-menu/admin-dashboard-topbar.container';\nimport AdminTriggerResetPassword from './admin/admin-functions/trigger-reset-password/trigger-reset-password.container';\nimport { lazy } from 'react';\nimport MerchantStripeId from './admin/admin-functions/merchant-stripe-id/merchant-stripe-id.container';\nimport MerchantAccountDetails from './admin/document-management/merchant-account-details/merchant-account-details.container';\nimport DocumentReview from './admin/document-management/document-review/document-review.container';\nimport QrCodeInfo from './admin/qr-code-info/qr-code-info.container';\nimport RefundList from './list-refund/list-refund.container';\nimport AutoWithdrawal from './admin/admin-functions/auto-withdrawal-status/auto-withdrawal-status.container';\nimport InternalTransfer from './admin/admin-functions/internal-transfer-status/internal-transfer-status.container';\nimport MissingMerchant from './admin/missing-merchant/missing-merchant.container';\nimport MissingDocumentContainer from './admin/missing-merchant-document/missing-merchant-document.container';\nimport LinkQr from './link-qr/link-qr.container';\nimport AuditData from './admin/audit-data/audit-data.container';\nimport ContractDetails from './contract-details/contract-details.container';\nimport SpecialRentTable from './special-rent-table/special-rent-table.container';\nimport AddSpecialRent from './modal-add-special-rent/modal-add-special-rent.container';\nimport ModalMerchantCharge from './modal-merchant-charges/modal-merchant-charges.container';\nimport ModalOTPVerification from './admin/admin-functions/modal-otp-verification/modal-otp-verification.container';\nimport AdyenMerchantList from './admin/adyen-merchant-list/adyen-merchant-list.container';\n\n//Support Utilities\nimport SupportChangeUserAttributes from './support-utilities/change-user-attributes/change-user-attributes.container';\nimport SupportUploadTermsAnsConditions from './support-utilities/upload-terms-and-conditions/upload-terms-and-conditions.container';\nimport TransactionStatusLabel from './payments/transaction-tables/transaction-status-label/transaction-status-label.container';\n//Reseller\nimport CanonicalResellerSettings from './canonical-reseller-settings/canonical-reseller-settings.container';\nimport CanonicalResellerOnboardingForm from './canonical-reseller-onboarding/canonical-reseller-onboarding.container';\nimport CanonicalResellerNewMerchant from './canonical-reseller-new-merchant/canonical-reseller-new-merchant.container';\nimport CanonicalResellerUpdateAccount from './canonical-reseller-update-account/canonical-reseller-update-account.container';\nimport ValidURLInput from './valid-url-input/valid-url-input.container';\nimport ValidDomainInput from './valid-url-input/valid-domain-input.container';\nimport ValidEmailInput from './valid-email-input/valid-email-input.container';\nimport CanonicalResellerManagementContainer from './canonical-reseller-merchant-management/canonical-reseller-merchant-management.container';\nimport PdqOrderStatus from './pdq-order-status/pdq-order-status.container';\nimport DatmanResellerPaymentsList from './payments/datman-reseller-payments-list/datman-reseller-payments-list.container';\nimport DatmanResellerPaymentDetailsContainer from './payments/datman-reseller-payment-details/datman-reseller-payment-details.container';\nimport InvoiceToggleModes from './admin/admin-functions/invoice-toggle/invoice-toggle-modes.container';\nimport ExportPDF from './pdf-export/pdf-export';\nimport PrintAgreementContainer from './admin/print-agreement/print-agreement.container';\nimport ModalMoveTxns from './admin/admin-functions/modal-move-transaction/modal-move-transaction.container';\nimport UpdateTxnLimitContainer from './admin/admin-functions/update-txn-limit/update-txn-limit.container';\nimport PendingVerificationList from './admin/admin-functions/pending-verification-list/pending-verification-list.container';\nimport Banner from './Banner/banner.container';\nimport DatePicker from './date-picker/date-picker.container';\n\nconst ExportTransactionsPDF = lazy(async () => await import('./transactions-pdf-export/transactions-pdf-export'));\nexport {\n LoginForm,\n SignUpForm,\n ExternalSignUpForm,\n HomeWorkItems,\n HomeItemDetails,\n ModalUserIcon,\n ModalUserManagement,\n TableProject,\n SearchUserForm,\n CreateUserForm,\n ModalConfirmation,\n ModalBusinessCreation,\n ModalClientCreation,\n AuthWithSocialMedia,\n ModalMerchantCreation,\n ModalPreviewQrCode,\n ModalReasonToClose,\n ModalCreateQrCode,\n MerchantListContainer,\n MerchantDashBoardMenu,\n AntSwitch,\n MerchantDashBoardNavigationHeader,\n MerchantDashboardOptions,\n MerchantDashboardPreview,\n OnboardingSteps,\n OnboardingNameAdress,\n OnboardingOwnerDetails,\n T2SOnboardingOwnerDetails,\n T2SOnboardingNameAddress,\n OnboardingOwnerPrimaryAddress,\n OnboardingAdressStep,\n T2SOnboardingAdressStep,\n OnboardingUiComponents,\n OnboardingBusinessDetailsStep,\n T2SOnboardingBankDetailsStep,\n CanonicalResellerNewMerchant,\n ContractDetails,\n AddSpecialRent,\n SpecialRentTable,\n PaymentsList,\n GfoPaymentsList,\n ChargebackList,\n MerchantChargesList,\n PayoutsList,\n InternalTransfersList,\n VirtualTerminal,\n CardDetails,\n TeamMembers,\n ModalInviteUser,\n ModalUpdateBankCompletion,\n ModalUpdateBankVerify,\n OnboardingBusinessProfile,\n LoadingScreen,\n Loader,\n ProductsRequired,\n OnboardingTransactionProfile,\n MerchantSettings,\n OnboardingSummary,\n OnboardingDocuments,\n ModalPayoutsMarkNotReceived,\n ModalRemoveUser,\n UpdateBankInfo,\n PaymentAction,\n MerchantPdqList,\n PageHeader,\n PageFooter,\n ListPayments,\n ModalProcessRefund,\n Calendar,\n WithdrawalSubmission,\n TransactionRefund,\n InternalTransferSubmission,\n PendingCustomerInfo,\n UpdateAccount,\n UpdateAccountMypay,\n PendingDocsList,\n UpdateAccountResellerMerchant,\n UpdatePassword,\n ForgotPassword,\n HelpContacts,\n GrossVolumeGraph,\n BalanceCard,\n PayoutCard,\n ApiKeys,\n NetVolumeCard,\n AccountStatus,\n ManagePartners,\n BankVerification,\n AccountVerification,\n AllowWithdrawals,\n AddMerchantId,\n ThirdPartyMerchantIdAndStoreId,\n ProcessRefund,\n DownloadDocuments,\n MerchantStoreId,\n PayoutsNotReceived,\n PaymentDetailsContainer,\n PayoutDetailsContainer,\n StripePayoutDetailsContainer,\n PdqTransactionList,\n StripePayoutsList,\n ExportCSV,\n ExportTransactionsPDF,\n ResetPasswordForm,\n ModalExportReport,\n ModalDeleteMerchantAccount,\n ModalCloseMerchantAccount,\n PasswordValidation,\n DotFlashingLoading,\n ModalCancelInternalTransfer,\n ModalRefundInternalTransfer,\n SnackBarAndAlert,\n FinishUploadButton,\n ClientRegister,\n RequestSupportFormContainer,\n SettingTermsAndConditionsContainer,\n ModalMerchantTermsAndConditions,\n Label,\n CustomLoadingScreen,\n PasswordInput,\n CountyInput,\n ModalFormConfirmation,\n //Support Utilities\n SupportChangeUserAttributes,\n CreateUrgentMessage,\n UrgentMessage,\n ChargingSetUpFees,\n BankSortCodeDetails,\n BankSortCodeNumberContainer,\n MerchantResellerList,\n SupportUploadTermsAnsConditions,\n MerchantChargeExport,\n //Admin\n AdminHomeMenu,\n AdminDashboardHome,\n AdminDashBoardNavigationHeader,\n AdminDashboardInfo,\n AdminDashboardTopBar,\n AdminTriggerResetPassword,\n MerchantStripeId,\n MerchantAccountDetails,\n DocumentReview,\n PaymentConfigurationModes,\n QrCodeInfo,\n AddPricingTier,\n GenericQrCodeInfo,\n PaymentQrCodeInfo,\n QrDetailedView,\n PrintAgreementContainer,\n RefundList,\n AutoWithdrawal,\n InternalTransfer,\n MissingMerchant,\n MissingDocumentContainer,\n ContractRent,\n ListChargebacks,\n ModalOTPVerification,\n AdyenMerchantList,\n //Reseller\n CanonicalResellerSettings,\n CanonicalResellerOnboardingForm,\n CanonicalResellerUpdateAccount,\n CanonicalResellerManagementContainer,\n ValidURLInput,\n ValidDomainInput,\n ValidEmailInput,\n ModalPdqMerchants,\n LinkQr,\n PdqOrderStatus,\n ModalCreateFeeTier,\n AuditData,\n DatmanResellerPaymentsList,\n DatmanResellerPaymentDetailsContainer,\n InvoiceToggleModes,\n ExportPDF,\n ModalMerchantCharge,\n ModalFilterPdqMerchants,\n TransactionStatusLabel,\n DnaFormModal,\n ModalMoveTxns,\n UpdateTxnLimitContainer,\n Banner,\n PendingVerificationList,\n DatePicker\n};\n","import axios from 'axios';\nimport { Auth } from 'aws-amplify';\nimport base64 from 'base-64';\nimport utf8 from 'utf8';\nimport * as Sentry from '@sentry/react';\nimport browserHistory from 'browserHistory';\nimport { PORTAL_API_BASE_URL } from 'utils/constants';\nimport { ErrorCodes } from 'utils/enums/ErrorCode';\n\n// axios.interceptors.request.use((config) => {\n// return Auth.currentAuthenticatedUser() //AuthService.logoutAndRedirect();\n// .then((res) => {\n// console.log(res);\n// const token = localStorage.getItem(\n// 'MyPay_CognitoIdentityServiceProvider.79gtf0alkr1mbif839puvvja5u.6e827986-cac6-4481-af21-4503adc1bd37.idToken'\n// );\n// // const token =\n// // 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX3JlZiI6InVzZXJfamtoZ2poZ2hrIiwicm9sZSI6ImFkbWluIiwiaWF0IjoxNTk2NTQwNjk4LCJleHAiOjE1OTY1NDE1OTh9.82vprdD3zh-aDu6fZQs4R7ez264kJH7tPAaSUcuQogg';\n\n// if (token) {\n// config.headers['Authorization'] = token.replace(/['\"]+/g, '');\n// // config.headers['Authorization'] = token;\n// }\n// return config;\n// })\n// .catch((err) => {\n// const token = localStorage.getItem(\n// 'MyPay_CognitoIdentityServiceProvider.79gtf0alkr1mbif839puvvja5u.6e827986-cac6-4481-af21-4503adc1bd37.idToken'\n// );\n// // const token =\n// // 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX3JlZiI6InVzZXJfamtoZ2poZ2hrIiwicm9sZSI6ImFkbWluIiwiaWF0IjoxNTk2NTQwNjk4LCJleHAiOjE1OTY1NDE1OTh9.82vprdD3zh-aDu6fZQs4R7ez264kJH7tPAaSUcuQogg';\n\n// if (token) {\n// config.headers['Authorization'] = token.replace(/['\"]+/g, '');\n// // config.headers['Authorization'] = token;\n// }\n// console.log(err);\n// return config;\n// });\n// });\n\n// axios.interceptors.request.use(\n// (config) => {\n// const token = localStorage.getItem(\n// 'CognitoIdentityServiceProvider.79gtf0alkr1mbif839puvvja5u.6e827986-cac6-4481-af21-4503adc1bd37.idToken'\n// );\n// // const token =\n// // 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX3JlZiI6InVzZXJfamtoZ2poZ2hrIiwicm9sZSI6ImFkbWluIiwiaWF0IjoxNTk2NTQwNjk4LCJleHAiOjE1OTY1NDE1OTh9.82vprdD3zh-aDu6fZQs4R7ez264kJH7tPAaSUcuQogg';\n\n// if (token) {\n// config.headers['Authorization'] = token.replace(/['\"]+/g, '');\n// // config.headers['Authorization'] = token;\n// }\n// return config;\n// },\n// (error) => {\n// Promise.reject(error);\n// }\n// );\n\nconst AuthAxios = axios.create();\n\nAuthAxios.interceptors.request.use((config) => {\n // console.log('config', config);\n return Auth.currentAuthenticatedUser()\n .then((res) => {\n config.headers['Authorization'] = res.signInUserSession.idToken.jwtToken; //token.replace(/['\"]+/g, '');\n return config;\n })\n .catch(() => {\n let userTokenIdName = null;\n for (let key in localStorage) {\n if (key.endsWith('idToken')) {\n userTokenIdName = key;\n break;\n }\n }\n const token = localStorage.getItem(userTokenIdName);\n\n if (token) {\n config.headers['Authorization'] = token.replace(/['\"]+/g, '');\n }\n return config;\n });\n});\n\nAuthAxios.interceptors.response.use(\n (response) => {\n return response;\n },\n /**\n * @param {{message:string}} error\n */\n (error) => {\n Sentry.withScope((scope) => {\n scope.setTag('apiFail', 'mypay');\n scope.setUser({\n email: localStorage.getItem('user') ? JSON.parse(localStorage.getItem('user')).email : ''\n });\n Sentry.captureException(error);\n });\n //return Error object with Promise\n // eslint-disable-next-line\n console.log(error?.response);\n if (\n error?.response?.config?.url?.includes(PORTAL_API_BASE_URL) &&\n (error?.response?.status === 401 || error?.response?.status === 403)\n ) {\n signOut();\n }\n return Promise.reject(updateErrorMessage(error));\n }\n);\n\nconst BaseAxios = axios.create();\n\nconst DatmanAxios = axios.create();\n\nDatmanAxios.interceptors.request.use((config) => {\n let pathname = browserHistory.location.pathname;\n let merchant = sessionStorage.getItem('merchant') ? JSON.parse(sessionStorage.getItem('merchant')) : null;\n if (!merchant && pathname && (pathname.includes('merchant-details') || pathname.includes('pdq-order-merchant'))) {\n merchant = { id: pathname.substr(pathname.lastIndexOf('/') + 1) };\n }\n\n const { id } = merchant;\n\n const bytes = utf8.encode(id.toString());\n var encodedMerchantId = base64.encode(bytes);\n return Auth.currentAuthenticatedUser()\n .then((res) => {\n config.headers['Authorization'] =\n 'Bearer ' + res.signInUserSession.idToken.jwtToken + '!!!' + encodedMerchantId; //token.replace(/['\"]+/g, '');\n return config;\n })\n .catch(() => {\n let userTokenIdName = null;\n for (let key in localStorage) {\n if (key.endsWith('idToken')) {\n userTokenIdName = key;\n break;\n }\n }\n const token = localStorage.getItem(userTokenIdName);\n\n if (token) {\n config.headers['Authorization'] = ('Bearer ' + token + '!!!' + encodedMerchantId).replace(/['\"]+/g, '');\n }\n return config;\n });\n});\n\nDatmanAxios.interceptors.response.use(\n (response) => {\n return response;\n },\n /**\n * @param {{message:string}} error\n */\n (error) => {\n Sentry.withScope((scope) => {\n scope.setTag('apiFail', 'datman');\n scope.setUser({\n email: localStorage.getItem('user') ? JSON.parse(localStorage.getItem('user')).email : ''\n });\n Sentry.captureException(error);\n });\n\n console.log(error?.response);\n if (error?.response?.status === 401 || error?.response?.status === 403) {\n signOut();\n }\n // return Error object with Promise\n return Promise.reject(updateErrorMessage(error));\n }\n);\n\nconst updateErrorMessage = (error) => {\n // incase of csrf validation failure error replacing error message with generic message\n if (error?.response?.data?.errorCode === ErrorCodes.CSRF_VALIDATION_FAILURE.errorCode) {\n error.response.data.message = ErrorCodes.CSRF_VALIDATION_FAILURE.message;\n }\n return error;\n};\n\nfunction signOut() {\n if (window.location.origin.includes('amplifyapp.com')) {\n const localDomainParametrs = window.location.pathname.split('/');\n localStorage.clear();\n Auth.signOut();\n let urlForRedirect = `/${localDomainParametrs[1]}/login`;\n window.location.pathname = urlForRedirect;\n } else {\n localStorage.clear();\n Auth.signOut();\n window.location.pathname = '/login';\n }\n}\n\nexport { AuthAxios, BaseAxios, DatmanAxios };\n","export function checkEmptyValue(field) {\n if (field) {\n return field;\n }\n return '';\n}\n\nexport function checkEmptyArray(field) {\n if (field) {\n return field;\n }\n return [];\n}\n\nexport function getArrayFromString(field) {\n return Array.from(String(field), String);\n}\nexport const isValidPPSNumber = (ppsNumber) => {\n let validationMessage = '';\n\n if (!ppsNumber || ppsNumber.length === 0) {\n validationMessage = 'Please fill in this field';\n } else if (!/^\\d{7}[A-W][A-IW]?$/.test(ppsNumber)) {\n validationMessage =\n 'Invalid PPS number format. The correct format is 7 digits followed by 1 or 2 valid letters';\n } else {\n validationMessage = ''; // Valid PPS number\n }\n\n return validationMessage;\n};\n\nexport const isvalidAbn = (abn) => {\n let abnValidationMessage = '';\n\n if (abn?.length == 0 || abn == null) {\n abnValidationMessage = 'Please fill in this field';\n } else if (!/^\\d{11}$/.test(abn)) {\n abnValidationMessage = 'ABN must be exactly 11 digits';\n } else {\n const digits = abn.split('').map(Number);\n digits[0] -= 1;\n const weights = [10, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19];\n const sum = digits.reduce((acc, digit, index) => acc + digit * weights[index], 0);\n if (sum % 89 !== 0) {\n abnValidationMessage = 'Invalid ABN number';\n }\n }\n\n return abnValidationMessage;\n};\n\nexport const validateEIN = (ein) => {\n let einValidationMessage = '';\n const cleanValue = ein?.replace(/\\D/g, '');\n\n if (ein?.length == 0 || ein == null) {\n einValidationMessage = 'Please fill in this field';\n } else if (ein?.includes(' ')) {\n einValidationMessage = 'EIN should not contain spaces';\n } else if (!/^\\d{9}$/.test(cleanValue)) {\n einValidationMessage = 'EIN must be exactly 9 digits';\n } else {\n einValidationMessage = '';\n }\n\n return einValidationMessage;\n};\n\nexport const validateCardNumber = (number) => {\n const pattern = /^[a-zA-Z0-9]{0,10}$/;\n return pattern.test(number);\n};\n","export const UserType = {\n Reseller: 'Reseller',\n Merchant: 'Merchant',\n Admin: 'Admin',\n Owner: 'Owner',\n SuperAdmin: 'SuperAdmin'\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { useGlobalStateContext } from 'contexts';\n\nexport function CheckMerchantCountries(props) {\n const { globalState } = useGlobalStateContext();\n let { setIsChildReturned } = props;\n setIsChildReturned = setIsChildReturned ? setIsChildReturned : () => {};\n const country = globalState.merchant?.country;\n const isStripe = globalState.merchant?.isStripe;\n const hideBecauseOfStripe = props.showIfStripe ? !isStripe : props.hideIfStripe ? isStripe : false;\n\n if (props.includedCountries) {\n if (props.includedCountries.includes(country)) {\n if (hideBecauseOfStripe) return ;\n else {\n setIsChildReturned(true);\n return props.children;\n }\n } else {\n return ;\n }\n } else if (props.excludedCountries) {\n if (!props.excludedCountries.includes(country)) {\n if (hideBecauseOfStripe) {\n return ;\n } else {\n setIsChildReturned(true);\n return props.children;\n }\n } else {\n return ;\n }\n } else {\n return ;\n }\n}\n\nCheckMerchantCountries.propTypes = {\n includedCountries: PropTypes.array,\n excludedCountries: PropTypes.array,\n isStripeCheck: PropTypes.bool\n};\n","export const MerchantStatus = {\n NOT_SUBMITTED: 0,\n MERCHANT_PENDING: 1,\n PENDING_STRIPE: 6,\n VERIFIED: 2,\n ACTIVE: 3,\n CLOSED: 4,\n REJECTED: 5,\n WATCHLIST: 12\n};\n","export default {\n UNITED_KINGDOM:\n 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGlkPSJmbGFnLWljb24tY3NzLWdiIiB2aWV3Qm94PSIwIDAgNjQwIDQ4MCI+CiAgPHBhdGggZmlsbD0iIzAxMjE2OSIgZD0iTTAgMGg2NDB2NDgwSDB6Ii8+CiAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTc1IDBsMjQ0IDE4MUw1NjIgMGg3OHY2Mkw0MDAgMjQxbDI0MCAxNzh2NjFoLTgwTDMyMCAzMDEgODEgNDgwSDB2LTYwbDIzOS0xNzhMMCA2NFYwaDc1eiIvPgogIDxwYXRoIGZpbGw9IiNDODEwMkUiIGQ9Ik00MjQgMjgxbDIxNiAxNTl2NDBMMzY5IDI4MWg1NXptLTE4NCAyMGw2IDM1TDU0IDQ4MEgwbDI0MC0xNzl6TTY0MCAwdjNMMzkxIDE5MWwyLTQ0TDU5MCAwaDUwek0wIDBsMjM5IDE3NmgtNjBMMCA0MlYweiIvPgogIDxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik0yNDEgMHY0ODBoMTYwVjBIMjQxek0wIDE2MHYxNjBoNjQwVjE2MEgweiIvPgogIDxwYXRoIGZpbGw9IiNDODEwMkUiIGQ9Ik0wIDE5M3Y5Nmg2NDB2LTk2SDB6TTI3MyAwdjQ4MGg5NlYwaC05NnoiLz4KPC9zdmc+Cg==',\n ANGUILLA:\n 'data:image/svg+xml;utf8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5v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UgMTAuOWgxMS41bC05LjMgNi43IDMuNSAxMC45LTkuMi02LjctOS4zIDYuNyAzLjUtMTAuOS05LjItNi43SDE5MXptNjQuOCAwbDMuNiAxMC45aDExLjRsLTkuMyA2LjcgMy42IDEwLjktOS4zLTYuNy05LjIgNi43IDMuNS0xMC45LTkuMy02LjdIMjU2em02NC45IDBsMy41IDEwLjloMTEuNUwzMzAgNTdsMy41IDEwLjktOS4yLTYuNy05LjMgNi43IDMuNS0xMC45LTkuMi02LjdoMTEuNHpNMzIuNCA2Ni45TDM2IDc4aDExLjRsLTkuMiA2LjcgMy41IDEwLjktOS4zLTYuOC05LjIgNi44IDMuNS0xMS05LjMtNi43SDI5em02NC45IDBsMy41IDExaDExLjVsLTkuMyA2LjcgMy41IDEwLjktOS4yLTYuOC05LjMgNi44IDMuNS0xMS05LjItNi43aDExLjR6bTY0LjggMGwzLjYgMTFIMTc3bC05LjIgNi43IDMuNSAxMC45LTkuMy02LjgtOS4yIDYuOCAzLjUtMTEtOS4zLTYuN2gxMS41em02NC45IDBsMy41IDExSDI0MmwtOS4zIDYuNyAzLjYgMTAuOS05LjMtNi44LTkuMyA2LjggMy42LTExLTkuMy02LjdoMTEuNHptNjQuOCAwbDMuNiAxMWgxMS40bC05LjIgNi43IDMuNSAxMC45LTkuMy02LjgtOS4yIDYuOCAzLjUtMTEtOS4yLTYuN2gxMS40em02NC45IDBsMy41IDExaDExLjVsLTkuMyA2LjcgMy42IDEwLjktOS4zLTYuOC05LjMgNi44IDMuNi0xMS05LjMtNi43aDExLjV6TTY0LjkgOTQuNWwzLjUgMTAuOWgxMS41bC05LjMgNi43IDMuNSAxMS05LjItNi44LTkuMyA2LjcgMy41LTEwLjktOS4yLTYuN2gxMS40em02NC44IDBsMy42IDEwLjloMTEuNGwtOS4zIDYuNyAzLjYgMTEtOS4zLTYuOC05LjMgNi43IDMuNi0xMC45LTkuMy02LjdoMTEuNXptNjQuOSAwbDMuNSAxMC45aDExLjVsLTkuMyA2LjcgMy41IDExLTkuMi02LjgtOS4zIDYuNyAzLjUtMTAuOS05LjItNi43SDE5MXptNjQuOCAwbDMuNiAxMC45aDExLjRsLTkuMiA2LjcgMy41IDExLTkuMy02LjgtOS4yIDYuNyAzLjUtMTAuOS05LjMtNi43SDI1NnptNjQuOSAwbDMuNSAxMC45aDExLjVsLTkuMyA2LjcgMy41IDExLTkuMi02LjgtOS4zIDYuNyAzLjUtMTAuOS05LjItNi43aDExLjR6TTMyLjQgMTIyLjFMMzYgMTMzaDExLjRsLTkuMiA2LjcgMy41IDExLTkuMy02LjgtOS4yIDYuNyAzLjUtMTAuOS05LjMtNi43SDI5em02NC45IDBsMy41IDEwLjloMTEuNWwtOS4zIDYuNyAzLjUgMTAuOS05LjItNi43LTkuMyA2LjcgMy41LTEwLjktOS4yLTYuN2gxMS40em02NC44IDBsMy42IDEwLjlIMTc3bC05LjIgNi43IDMuNSAxMS05LjMtNi44LTkuMiA2LjcgMy41LTEwLjktOS4zLTYuN2gxMS41em02NC45IDBsMy41IDEwLjlIMjQybC05LjMgNi43IDMuNiAxMS05LjMtNi44LTkuMyA2LjcgMy42LTEwLjktOS4zLTYuN2gxMS40em02NC44IDBsMy42IDEwLjloMTEuNGwtOS4yIDYuNyAzLjUgMTEtOS4zLTYuOC05LjIgNi43IDMuNS0xMC45LTkuMi02LjdoMTEuNHptNjQuOSAwbDMuNSAxMC45aDExLjVsLTkuMyA2LjcgMy42IDExLTkuMy02LjgtOS4zIDYuNyAzLjYtMTAuOS05LjMtNi43aDExLjV6TTY0LjkgMTQ5LjdsMy41IDEwLjloMTEuNWwtOS4zIDYuNyAzLjUgMTAuOS05LjItNi44LTkuMyA2LjggMy41LTExLTkuMi02LjdoMTEuNHptNjQuOCAwbDMuNiAxMC45aDExLjRsLTkuMyA2LjcgMy42IDEwLjktOS4zLTYuOC05LjMgNi44IDMuNi0xMS05LjMtNi43aDExLjV6bTY0LjkgMGwzLjUgMTAuOWgxMS41bC05LjMgNi43IDMuNSAxMC45LT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wYXRoIGZpbGw9IiMwMDUyYjQiIGQ9Im0yNTYgMjIyLjE0NiA4LjQ2NCAxOS4xOTUgMjAuODU1LTIuMjY4TDI3Mi45MjcgMjU2bDEyLjM5MiAxNi45MjctMjAuODU1LTIuMjY4TDI1NiAyODkuODU0bC04LjQ2NC0xOS4xOTUtMjAuODU1IDIuMjY4TDIzOS4wNzMgMjU2bC0xMi4zOTItMTYuOTI3IDIwLjg1NSAyLjI2OHoiLz48L3N2Zz4=',\n NIGERIA:\n 'data:image/svg+xml;utf8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iTGF5ZXIgMSIgdmlld0JveD0iMCAwIDEzMCAxMzAiPjxyZWN0IHdpZHRoPSI1MC40OCIgaGVpZ2h0PSI4MS44MiIgeD0iMzkuNzYiIHk9IjI0LjA5IiBmaWxsPSIjZTFlNmU5Ii8+PHJlY3Qgd2lkdGg9IjQyLjY3IiBoZWlnaHQ9IjgxLjgyIiB4PSIxIiB5PSIyNC4wOSIgZmlsbD0iIzAxODc1MiIvPjxyZWN0IHdpZHRoPSI0Mi42NyIgaGVpZ2h0PSI4MS44MiIgeD0iODYuMzMiIHk9IjI0LjA5IiBmaWxsPSIjMDE4NzUyIi8+PC9zdmc+'\n};\n","import { MerchantCountries } from './enums/MerchantCountries';\nimport CountryImages from '../assets/images/country-image';\n\nexport const getCurrencySymbol = (country) => {\n switch (country) {\n case MerchantCountries.UNITED_KINGDOM:\n return '\\u00A3';\n case MerchantCountries.UNITED_STATES:\n return '\\u0024';\n case MerchantCountries.CANADA:\n return '\\u0024';\n case MerchantCountries.AUSTRALIA:\n return '\\u0024';\n case MerchantCountries.NEW_ZEALAND:\n return '\\u0024';\n case MerchantCountries.IRELAND:\n return '\\u20AC';\n case MerchantCountries.MEXICO:\n return '\\u0024';\n case MerchantCountries.ANGUILLA:\n return '\\u0024';\n case MerchantCountries.INDIA:\n return '\\u20b9';\n case MerchantCountries.NIGERIA:\n return '\\u20A6';\n default:\n return '\\u20AC';\n }\n};\n\nexport const getCurrencyThreeAlpha = (country) => {\n switch (country) {\n case MerchantCountries.UNITED_KINGDOM:\n return 'GBP';\n case MerchantCountries.UNITED_STATES:\n return 'USD';\n case MerchantCountries.CANADA:\n return 'CAD';\n case MerchantCountries.AUSTRALIA:\n return 'AUD';\n case MerchantCountries.NEW_ZEALAND:\n return 'NZD';\n case MerchantCountries.IRELAND:\n return 'EUR';\n case MerchantCountries.MEXICO:\n return 'MEX';\n case MerchantCountries.ANGUILLA:\n return 'XCD';\n case MerchantCountries.INDIA:\n return 'INR';\n case MerchantCountries.NIGERIA:\n return 'NGN';\n default:\n return 'EUR';\n }\n};\n\nexport const getCurrencyCode = (country) => {\n switch (country) {\n case MerchantCountries.UNITED_KINGDOM:\n return '826';\n case MerchantCountries.UNITED_STATES:\n return '840';\n case MerchantCountries.CANADA:\n return '124';\n case MerchantCountries.AUSTRALIA:\n return '036';\n case MerchantCountries.NEW_ZEALAND:\n return '554';\n case MerchantCountries.IRELAND:\n return '978';\n case MerchantCountries.NIGERIA:\n return '234';\n default:\n return '978';\n }\n};\n\nexport const getCountryImage = (country) => {\n switch (country) {\n case MerchantCountries.UNITED_KINGDOM:\n return CountryImages.UNITED_KINGDOM;\n case MerchantCountries.UNITED_STATES:\n return CountryImages.UNITED_STATES;\n case MerchantCountries.CANADA:\n return CountryImages.CANADA;\n case MerchantCountries.AUSTRALIA:\n return CountryImages.AUSTRALIA;\n case MerchantCountries.NEW_ZEALAND:\n return CountryImages.NEW_ZEALAND;\n case MerchantCountries.IRELAND:\n return CountryImages.IRELAND;\n case MerchantCountries.MEXICO:\n return CountryImages.MEXICO;\n case MerchantCountries.ANGUILLA:\n return CountryImages.ANGUILLA;\n case MerchantCountries.INDIA:\n return CountryImages.INDIA;\n case MerchantCountries.NIGERIA:\n return CountryImages.NIGERIA;\n default:\n return CountryImages.UNITED_KINGDOM;\n }\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"updateBankInfoContainer\":\"update-bank-info_updateBankInfoContainer__2PNld\",\"container\":\"update-bank-info_container__3E7SL\",\"container_title\":\"update-bank-info_container_title__3YA3p\",\"inputs\":\"update-bank-info_inputs__vb6fC\",\"validationWrapper\":\"update-bank-info_validationWrapper__1g10I\",\"validIcon\":\"update-bank-info_validIcon__2ILbh\",\"errorIcon\":\"update-bank-info_errorIcon__c5hz6\",\"codeInput\":\"update-bank-info_codeInput__3pfzo\",\"codeInput__input\":\"update-bank-info_codeInput__input__3OZCx\",\"errorContainer\":\"update-bank-info_errorContainer__1BKH1\",\"itemForm\":\"update-bank-info_itemForm__1x-63\",\"divider\":\"update-bank-info_divider__1Et5U\",\"holderName\":\"update-bank-info_holderName__36WFk\",\"codeInputIreland\":\"update-bank-info_codeInputIreland__1f3PM\",\"notificationContainer\":\"update-bank-info_notificationContainer__uexHU\",\"iconUnverified\":\"update-bank-info_iconUnverified__M2jAr\",\"errorMessage\":\"update-bank-info_errorMessage__dOpHQ\",\"existingContainer\":\"update-bank-info_existingContainer__2wW3m\",\"containerItem\":\"update-bank-info_containerItem__3-u6n\",\"irelandAccountHolderName\":\"update-bank-info_irelandAccountHolderName__PkK8g\",\"formLeftSide\":\"update-bank-info_formLeftSide__3qTrx\",\"formRightSide\":\"update-bank-info_formRightSide__3Y2-h\",\"updateButtonContainer\":\"update-bank-info_updateButtonContainer__1invQ\",\"updateButton\":\"update-bank-info_updateButton__3vUFU\",\"bsbexistingContainer\":\"update-bank-info_bsbexistingContainer__1prbD\",\"bsbInput\":\"update-bank-info_bsbInput__LKZif\",\"updateBankDetailsForm\":\"update-bank-info_updateBankDetailsForm__2QO0h\",\"pageTitle\":\"update-bank-info_pageTitle__3WXJi\",\"notificationMessageContainer\":\"update-bank-info_notificationMessageContainer__2GCf4\"};","export const ResellerType = {\n OMNIPAY: 'OmniPay',\n DATMAN: 'Datman'\n};\n\nexport const ResellerNameAndId = [\n { id: 1, name: 'OmniPay' },\n { id: 2, name: 'Datman' }\n];\n","import { ValidationMessage } from 'models';\nimport { BusinessService } from 'services';\n\n/**\n *\n * @param {string} businessName\n */\nexport function validateBusinessName(businessName) {\n if (businessName.length > 250) {\n return new ValidationMessage('Business name should have less then 250 charsacters', false);\n }\n\n if (businessName.length < 3) {\n return new ValidationMessage('Business name should have at least 3 charsacters', false);\n }\n return new ValidationMessage('', true);\n}\n\n/**\n *\n * @param {string} businessName\n */\nexport async function validateBusinessName_Back(businessName) {\n const trimBusinessName = businessName.trim();\n const result = await BusinessService.checkBusinessName(trimBusinessName);\n if (result.data.isBusinessNameExist) {\n return new ValidationMessage('Business name alrady exist.', false);\n }\n return new ValidationMessage('', true);\n}\n","import { ValidationMessage } from 'models';\nimport { ClientService } from 'services';\n\n/**\n *\n * @param {string} clientName\n */\nexport function validateClientName(clientName) {\n if (clientName.length > 250) {\n return new ValidationMessage('Client name should have less then 250 characters', false);\n }\n\n if (clientName.length < 3) {\n return new ValidationMessage('Client name should have at least 3 characters', false);\n }\n return new ValidationMessage('', true);\n}\n\n/**\n *\n * @param {string} businessId\n * @param {string} clientName\n */\nexport async function validateClientNameUniqueness(businessId, clientName) {\n const result = await ClientService.checkClientNameIsUnique(businessId, clientName.trim());\n if (!result.data.isClientNameUnique) {\n return new ValidationMessage('Client name already exist', false);\n }\n return new ValidationMessage('', true);\n}\n","import { ValidationMessage } from 'models';\nimport { MerchantService } from 'services';\n\n/**\n *\n * @param {string} merchantName\n */\nexport function validateMerchantName(merchantName) {\n if (!validateMerchantNameUniqueness) {\n return new ValidationMessage('Please provide a Merchant name.', false);\n }\n\n if (merchantName.length > 250) {\n return new ValidationMessage('Merchant name should have less then 250 characters.', false);\n }\n\n if (merchantName.length < 3 || merchantName.replace(/\\s/g, '').length < 3) {\n return new ValidationMessage('Merchant name should have at least 3 characters.', false);\n }\n\n return new ValidationMessage('', true);\n}\n\n/**\n *\n * @param {string} businessId\n * @param {string} clientId\n * @param {string} clientName\n */\nexport async function validateMerchantNameUniqueness(businessId, clientId, clientName) {\n const result = await MerchantService.checkMerchantNameIsUnique(businessId, clientId, clientName.trim());\n if (!result.data.isMerchantNameUnique) {\n return new ValidationMessage('Merchant name already exist', false);\n }\n return new ValidationMessage('', true);\n}\n","import moment from 'moment';\n\nexport function getInvalidDobFields(dateOfBirth = {}) {\n let { day = 0, month = 0, year = 0 } = dateOfBirth;\n\n day = +day;\n month = +month;\n year = +year;\n\n const dateOfBirthMoment = moment([day, month, year].join('-'), 'DD-MM-YYYY');\n\n const currentMoment = moment();\n const currentYear = +currentMoment.format('YYYY');\n const currentMonth = +currentMoment.format('M');\n\n let dobFieldsWithIssues = [];\n\n if (!(year >= 1900 && year <= currentYear)) {\n dobFieldsWithIssues.push('year');\n }\n\n let isMonthProper = month >= 1 && month <= 12;\n\n if (currentYear === year) {\n isMonthProper = isMonthProper && month <= currentMonth;\n }\n\n if (!isMonthProper) {\n dobFieldsWithIssues.push('month');\n }\n\n let isDayProper = day >= 1 && day <= 31;\n\n if (dobFieldsWithIssues.length === 0) {\n isDayProper =\n isDayProper && dateOfBirthMoment.isValid() && dateOfBirthMoment.valueOf() <= currentMoment.valueOf();\n }\n\n if (!isDayProper) {\n dobFieldsWithIssues.push('day');\n }\n\n return dobFieldsWithIssues;\n}\n","import { ValidationMessage } from 'models';\n\nexport function validateRefundData(refundAmount, amount) {\n if (refundAmount > amount) {\n return new ValidationMessage('Amount is greater than paid amount', true);\n }\n\n if (!refundAmount) {\n return new ValidationMessage('Please enter amount', true);\n }\n\n if (refundAmount <= 0) {\n return new ValidationMessage('Please enter correct amount', true);\n }\n\n return new ValidationMessage('', false);\n}\n\nexport function validateRefund(account, bank, override) {\n if (override) {\n return new ValidationMessage('', true);\n } else {\n if (!account && !bank) {\n return new ValidationMessage(\n 'You cannot refund because account is unverified and bank details are unverified.',\n false\n );\n }\n if (!account) {\n return new ValidationMessage('You cannot refund because account is unverified.', false);\n }\n if (!bank) {\n return new ValidationMessage('You cannot refund because bank details are unverified.', false);\n }\n if (account && bank) {\n return new ValidationMessage('', true);\n }\n }\n}\n","import { ValidationMessage } from 'models';\n\nexport function validatePaymentAmount(balance, amount) {\n if (parseFloat(balance) < parseFloat(amount)) {\n return new ValidationMessage('Amount Greater than Balance', false);\n }\n\n return new ValidationMessage('', true);\n}\n","import { ValidationMessage } from 'models';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\n\nexport function validateRegisteredNumber(country, registeredNumber) {\n var minNumberOfCharacters;\n var maxNumberOfCharacters;\n var isNumeric = false;\n var isMandatory = true;\n var pattern = new RegExp('^\\\\d+$');\n\n switch (country) {\n case MerchantCountries.UNITED_KINGDOM:\n minNumberOfCharacters = 8;\n maxNumberOfCharacters = 12;\n isNumeric = false;\n break;\n case MerchantCountries.IRELAND:\n minNumberOfCharacters = 6;\n maxNumberOfCharacters = 20;\n isMandatory = false; //untill we finalize the format and length\n break;\n case MerchantCountries.CANADA:\n minNumberOfCharacters = 6;\n maxNumberOfCharacters = 20;\n isMandatory = false;\n break;\n case MerchantCountries.AUSTRALIA:\n minNumberOfCharacters = 6;\n maxNumberOfCharacters = 20;\n isMandatory = false; //untill we finalize the format and length\n break;\n case MerchantCountries.UNITED_STATES:\n minNumberOfCharacters = 6;\n maxNumberOfCharacters = 20;\n isMandatory = false; //untill we finalize the format and length\n break;\n case MerchantCountries.NEW_ZEALAND:\n minNumberOfCharacters = 6;\n maxNumberOfCharacters = 20;\n isNumeric = false;\n isMandatory = true;\n break;\n default:\n return new ValidationMessage('', true);\n }\n\n if (registeredNumber && registeredNumber.length > 0) {\n if (\n !isMandatory ||\n (isMandatory &&\n registeredNumber &&\n registeredNumber.length >= minNumberOfCharacters &&\n registeredNumber.length <= maxNumberOfCharacters &&\n (!isNumeric || (isNumeric && pattern.test(registeredNumber))))\n ) {\n return new ValidationMessage('', true);\n }\n\n let outOfNumberOfCharactersLabel =\n minNumberOfCharacters === maxNumberOfCharacters\n ? maxNumberOfCharacters\n : `(${minNumberOfCharacters}-${maxNumberOfCharacters})`;\n return new ValidationMessage(\n registeredNumber?.length +\n '\\\\' +\n outOfNumberOfCharactersLabel +\n (isNumeric ? ' numerical' : ' alphanumerical'),\n false\n );\n } else {\n if (isMandatory) {\n return new ValidationMessage('', false);\n }\n return new ValidationMessage('', true);\n }\n}\n","import { MerchantCountries } from 'utils/enums/MerchantCountries';\n\nexport function validateBankAccountFields(country, tradingAddress, confirmAccountNumber) {\n const {\n sortCode,\n bsb,\n newAccountNumber,\n nameOfBank,\n bankAddress1,\n bankAddress2,\n routingNumber,\n transitNumber,\n financialInstitutionNumber\n } = tradingAddress;\n const sortCodeLength = sortCode ? sortCode.toString().length : 0;\n const bsbLength = bsb ? bsb.toString().length : 0;\n const newAccountNumberLength = newAccountNumber ? newAccountNumber.toString().length : 0;\n const routingNumberLength = routingNumber ? routingNumber.toString().length : 0;\n\n const transitNumberLength = transitNumber ? transitNumber.toString().length : 0;\n const financialInstitutionNumberLength = financialInstitutionNumber\n ? financialInstitutionNumber.toString().length\n : 0;\n const confirmAccountNumberLength = confirmAccountNumber ? confirmAccountNumber.length : 0;\n var isValid;\n switch (country) {\n case MerchantCountries.UNITED_KINGDOM:\n isValid =\n sortCode &&\n sortCodeLength === 6 &&\n newAccountNumber &&\n newAccountNumberLength === 8 &&\n confirmAccountNumber &&\n confirmAccountNumberLength === 8 &&\n newAccountNumber === confirmAccountNumber;\n break;\n case MerchantCountries.IRELAND:\n isValid = newAccountNumber && newAccountNumberLength === 22 && nameOfBank && bankAddress1 && bankAddress2;\n break;\n case MerchantCountries.AUSTRALIA:\n isValid =\n bsb &&\n bsbLength === 6 &&\n newAccountNumber &&\n newAccountNumberLength >= 5 &&\n confirmAccountNumber &&\n confirmAccountNumberLength >= 5 &&\n newAccountNumber === confirmAccountNumber &&\n nameOfBank;\n break;\n case MerchantCountries.UNITED_STATES:\n isValid =\n newAccountNumber &&\n nameOfBank &&\n routingNumber &&\n routingNumberLength === 9 &&\n newAccountNumber === confirmAccountNumber;\n break;\n case MerchantCountries.CANADA:\n isValid =\n newAccountNumber &&\n newAccountNumberLength >= 7 &&\n transitNumber &&\n transitNumberLength === 5 &&\n financialInstitutionNumber &&\n financialInstitutionNumberLength === 3 &&\n newAccountNumber === confirmAccountNumber;\n break;\n case MerchantCountries.NEW_ZEALAND:\n isValid =\n newAccountNumber &&\n newAccountNumberLength >= 15 &&\n nameOfBank &&\n newAccountNumber === confirmAccountNumber;\n break;\n case MerchantCountries.MEXICO:\n isValid = newAccountNumber && newAccountNumberLength === 18 && newAccountNumber === confirmAccountNumber;\n break;\n default:\n isValid = true;\n break;\n }\n\n return isValid;\n}\n","import { MerchantCountries } from 'utils/enums/MerchantCountries';\n\nexport function validateVatNumber(country, vatNumber) {\n var isValid;\n switch (country) {\n case MerchantCountries.UNITED_KINGDOM:\n if (vatNumber === '' || vatNumber === null) {\n isValid = true;\n break;\n }\n isValid = vatNumber;\n break;\n default:\n isValid = true;\n break;\n }\n\n return isValid;\n}\n","import { MerchantCountries } from 'utils/enums/MerchantCountries';\n\nexport function validateSocialSecurity(country, socialSecurity) {\n var isValid;\n const sortCodeLength = socialSecurity ? socialSecurity.toString().length : 0;\n\n switch (country) {\n case MerchantCountries.UNITED_STATES:\n isValid = socialSecurity && sortCodeLength === 9;\n break;\n default:\n isValid = true;\n break;\n }\n\n return isValid;\n}\n","import { ValidationMessage } from 'models';\n\nexport function validateWithdraw(account, bank, override) {\n if (override) {\n return new ValidationMessage('', true);\n } else {\n if (!account && !bank) {\n return new ValidationMessage(\n 'You cannot withdraw because account is unverified and bank details are unverified.',\n false\n );\n }\n if (!account) {\n return new ValidationMessage('You cannot withdraw because account is unverified.', false);\n }\n if (!bank) {\n return new ValidationMessage('You cannot withdraw because bank details are unverified.', false);\n }\n if (account && bank) {\n return new ValidationMessage('', true);\n }\n }\n}\n","import { emailValidationPattern } from '../../utils/enums/EmailValidationPattern';\n/**\n *\n * @param {string} currenValue\n */\nfunction validatePhoneNumber(currenValue, previousValue) {\n if (!currenValue) return currenValue;\n\n return /^\\+?\\d*$/.test(currenValue) ? currenValue : previousValue;\n}\n\nfunction validateInternationPhoneNumber(phone) {\n if (!phone) return false;\n return /^\\+(?:[0-9]){6,14}[0-9]$/.test(phone);\n}\n\nfunction isEmailValid(email) {\n const pattern = new RegExp(emailValidationPattern.regexString + '$', 'i');\n return pattern.test(email);\n}\n\nfunction isWebsiteUrlValid(url) {\n var pattern = new RegExp(\n /^((https):\\/\\/)?w{3}[.]{1}?[a-z0-9-]+(\\.[a-z]{2,}){1,3}(#?\\/?[a-zA-Z0-9#]+)*\\/?(\\?[a-zA-Z0-9-_]+=[a-zA-Z0-9-%]+&?)?$/\n );\n\n return pattern.test(url);\n}\nfunction isDomainUrlValid(domain) {\n const pattern = new RegExp(\n /^((https):\\/\\/)?(w{3}[.]{1})?[a-zA-Z0-9-]+(\\.[a-zA-Z0-9-/]{2,}){1,3}(#?\\/?[a-zA-Z0-9#/&%_?=.^*@-]+)*\\/?(\\?[a-zA-Z0-9#/&%_?=.^*@-]+=[a-zA-Z0-9#/&%_?=.^*@-]+&?)?$/\n );\n return pattern.test(domain);\n // /^((https):\\/\\/)?(w{3}[.]{1})?[a-z0-9-]+(\\.[a-z-/]{2,}){1,3}(#?\\/?[a-zA-Z0-9#/&%_?=-]+)*\\/?(\\?[a-zA-Z0-9#/&%_?=-]+=[a-zA-Z0-9#/&%_?=-]+&?)?$/\n}\n\nexport { validatePhoneNumber, isEmailValid, isWebsiteUrlValid, isDomainUrlValid, validateInternationPhoneNumber };\n","import React from 'react';\nimport { FormattedMessage } from 'react-intl';\nimport { useIntl } from 'react-intl';\n\nexport const translateText = (props) => {\n return ;\n};\n\nexport function FormatMessage(props) {\n return useIntl().formatMessage({ id: props.id, defaultMessage: props.text });\n}\n","export const Roles = {\n 'All roles': 'All roles',\n Admin: 'Admin',\n Manager: 'Manager',\n User: 'User',\n Owner: 'Owner',\n Agent: 'Agent'\n};\n","export const DocumentReviewStatus = {\n ACTIVE: 'Active',\n NEED_APPROVAL: 'New',\n REJECTED: 'Rejected',\n DELETED: 'Deleted',\n OLD: 'Old',\n ALL: 'All',\n OVERRIDDEN: 'Overridden'\n};\n\nexport const DocumentStatusToName = {\n ACTIVE: 'ACTIVE',\n NEED_APPROVAL: 'NEED_APPROVAL',\n REJECTED: 'REJECTED',\n DELETED: 'DELETED',\n OLD: 'OLD',\n OVERRIDDEN: 'OVERRIDDEN',\n MISSING: 'MISSING'\n};\n","export const BusinessType = {\n Limited: 'ltd',\n PLC: 'plc',\n LLP: 'llp',\n Partnership: 'limited-partnership',\n Sole_Trader: 'Sole Trader'\n};\n\nexport const BusinessTypeName = {\n Limited: 'Limited',\n PLC: 'PLC',\n LLP: 'LLP',\n Partnership: 'Partnership',\n Sole_Trader: 'Sole Trader'\n};\n\nexport const BusinessTypeEnumId = {\n Limited: 1,\n Sole_Trader: 2,\n LLP: 3,\n PLC: 4,\n Partnership: 5,\n Charity: 6,\n Corporate_Entity: 7,\n Discretionary_Trading_Trust: 8,\n Other: 9,\n Corporation: 10,\n Limited_LLC: 11,\n Trust: 12\n};\n\nexport const BusinessTypeNameAndID = [\n { id: 1, name: 'Limited' },\n { id: 2, name: 'Sole Trader' },\n { id: 3, name: 'LLP' },\n { id: 4, name: 'PLC' },\n { id: 5, name: 'Partnership' },\n { id: 6, name: 'Charity' },\n { id: 7, name: 'Corporate Entity' },\n { id: 8, name: 'Discretionary Trading Trust' },\n { id: 9, name: 'Other' }\n];\n","export const ProductsRequired = {\n Virtual_Terminal: 'Virtual Terminal',\n MyMoto_App: 'MyMoto App',\n MyEcomm: 'MyEcomm',\n Gateway: 'Gateway',\n PDQ: 'PDQ'\n};\nexport const ProductStatus = {\n ACTIVE: 'ACTIVE',\n INACTIVE: 'INACTIVE',\n ADDITION_PENDING: 'ADDITION-PENDING',\n DELETION_PENDING: 'DELETION-PENDING',\n REJECTED: 'REJECTED'\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport styles from './table-header.module.scss';\nimport { TableHead, TableRow, TableSortLabel, TableCell, makeStyles } from '@material-ui/core';\nimport ArrowDropDownIcon from '@material-ui/icons/ArrowDropDown';\nimport FilterAltIcon from '@mui/icons-material/FilterAlt';\n\nconst TableHeaderComponent = (props) => {\n const { classes, order, orderBy, handleRequestSort, headCells, handleFilter } = props;\n const createSortHandler = (property) => (event) => {\n handleRequestSort(event, property);\n };\n const useStyles = makeStyles({\n icon: {\n color: '#034f85 !important',\n transform: 'rotate(360deg)'\n }\n });\n const tableSortClasses = useStyles();\n\n return (\n \n \n {headCells.map(\n (headCell) =>\n !headCell.notShow && (\n \n {headCell.showFilterIcon && !headCell.hideSortingIcon ? (\n \n
    handleFilter(headCell.id)}>\n \n \n {headCell.label}\n {headCell.childLabel ? (\n
    {headCell.childLabel}
    \n ) : null}\n
    \n \n
    \n
    \n ) : !headCell.hideSortingIcon ? (\n \n \n \n {headCell.label}\n {headCell.childLabel ? (\n
    {headCell.childLabel}
    \n ) : null}\n
    \n {orderBy === headCell.id ? (\n \n {order === 'desc' ? 'sorted descending' : 'sorted ascending'}\n \n ) : null}\n \n
    \n ) : (\n \n {headCell.label}\n {headCell.childLabel ?
    {headCell.childLabel}
    : null}\n
    \n )}\n \n )\n )}\n
    \n
    \n );\n};\n\nexport default TableHeaderComponent;\n\nTableHeaderComponent.propTypes = {\n classes: PropTypes.object.isRequired,\n handleRequestSort: PropTypes.func.isRequired,\n order: PropTypes.oneOf(['asc', 'desc']).isRequired,\n orderBy: PropTypes.string.isRequired,\n headCells: PropTypes.array.isRequired\n};\n","import React from 'react';\n\nimport TableHeaderComponent from './table-header.component.jsx';\n\nconst TableHeader = (props) => {\n return ;\n};\n\nexport default TableHeader;\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"dialogWrapper\":\"dialog-view-documents_dialogWrapper__1ANRG\",\"dialogWrapper__dialogBody\":\"dialog-view-documents_dialogWrapper__dialogBody__BVwTo\",\"dialogWrapper__dialogBody__titleBar\":\"dialog-view-documents_dialogWrapper__dialogBody__titleBar__Vi_JJ\",\"dialogWrapper__dialogBody__titleBar__merchantName\":\"dialog-view-documents_dialogWrapper__dialogBody__titleBar__merchantName__1Qt7V\",\"dialogWrapper__dialogBody__titleBar__merchantName__link\":\"dialog-view-documents_dialogWrapper__dialogBody__titleBar__merchantName__link__1gXif\",\"dialogWrapper__dialogBody__titleBar__fileName\":\"dialog-view-documents_dialogWrapper__dialogBody__titleBar__fileName__2GaL3\",\"dialogWrapper__dialogBody__titleBar__documentNumber\":\"dialog-view-documents_dialogWrapper__dialogBody__titleBar__documentNumber__2I0Qq\",\"dialogWrapper__dialogBody__imageWrapper\":\"dialog-view-documents_dialogWrapper__dialogBody__imageWrapper__1nKOx\",\"dialogWrapper__dialogBody__imageWrapper__imageContainer\":\"dialog-view-documents_dialogWrapper__dialogBody__imageWrapper__imageContainer__2UVuQ\",\"dialogWrapper__dialogBody__imageWrapper__imageContainer__imageDiv\":\"dialog-view-documents_dialogWrapper__dialogBody__imageWrapper__imageContainer__imageDiv__2rW2i\",\"dialogWrapper__dialogBody__imageWrapper__imageContainer__text\":\"dialog-view-documents_dialogWrapper__dialogBody__imageWrapper__imageContainer__text__2or5T\",\"dialogWrapper__dialogBody__imageWrapper__imageContainer__loading\":\"dialog-view-documents_dialogWrapper__dialogBody__imageWrapper__imageContainer__loading__3zLbd\",\"dialogWrapper__dialogBody__imageWrapper__imageContainer__iframe\":\"dialog-view-documents_dialogWrapper__dialogBody__imageWrapper__imageContainer__iframe__3FN8C\",\"dialogWrapper__dialogBody__imageWrapper__navArrow\":\"dialog-view-documents_dialogWrapper__dialogBody__imageWrapper__navArrow__-2i-U\",\"dialogWrapper__dialogBody__imageWrapper__navArrow__button\":\"dialog-view-documents_dialogWrapper__dialogBody__imageWrapper__navArrow__button__KQjTq\",\"dialogWrapper__dialogBody__actionsWrapper\":\"dialog-view-documents_dialogWrapper__dialogBody__actionsWrapper__Jbj0Q\",\"dialogWrapper__dialogBody__actionsWrapper__button\":\"dialog-view-documents_dialogWrapper__dialogBody__actionsWrapper__button__1WDUi\",\"dialogWrapper__dialogBody__notesWrapper\":\"dialog-view-documents_dialogWrapper__dialogBody__notesWrapper__20pPU\",\"dialogWrapper__dialogBody__notesWrapper__button\":\"dialog-view-documents_dialogWrapper__dialogBody__notesWrapper__button__3ELOI\",\"dialogWrapper__dialogBody__notesWrapper__errorMsg\":\"dialog-view-documents_dialogWrapper__dialogBody__notesWrapper__errorMsg__3vm_I\",\"imageStyle\":\"dialog-view-documents_imageStyle__3IWDI\",\"accountPaper\":\"dialog-view-documents_accountPaper__1Jig0\",\"errorMessageContainer\":\"dialog-view-documents_errorMessageContainer__18gRA\",\"codeInput\":\"dialog-view-documents_codeInput__1dDuA\",\"submitButton\":\"dialog-view-documents_submitButton__3iTKA\",\"cardNumber\":\"dialog-view-documents_cardNumber__2t99V\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"dashboardContentContainer\":\"dashboard_dashboardContentContainer__2EGqp\",\"continueOnboardingContainer\":\"dashboard_continueOnboardingContainer__1LT8R\",\"continueOnboarding\":\"dashboard_continueOnboarding__2MoqH\",\"linkFont\":\"dashboard_linkFont__CIzrL\",\"graphContainer\":\"dashboard_graphContainer__2NM_9\",\"rightCardContainer\":\"dashboard_rightCardContainer__1tThG\",\"click__here\":\"dashboard_click__here__H0PZ8\",\"info_icon\":\"dashboard_info_icon__3wuZ5\",\"error_icon\":\"dashboard_error_icon__2zYUl\",\"done_icon\":\"dashboard_done_icon__kJxmr\",\"success_icon\":\"dashboard_success_icon__2e0ee\",\"listItemContainer\":\"dashboard_listItemContainer__1XMQn\",\"iconUnverified\":\"dashboard_iconUnverified__1dRmx\",\"iconVerified\":\"dashboard_iconVerified__QTKI8\",\"paymentsContainer\":\"dashboard_paymentsContainer__2EcRO\",\"titlePaymentsTable\":\"dashboard_titlePaymentsTable__dSbXU\",\"title\":\"dashboard_title__3XMAS\",\"clickPayments\":\"dashboard_clickPayments__204XJ\",\"alert_background__color\":\"dashboard_alert_background__color__1v3K2\",\"automaticPayout\":\"dashboard_automaticPayout__pi3lw\",\"notificationContainer\":\"dashboard_notificationContainer__2DylR\",\"bannerStyle\":\"dashboard_bannerStyle__KqRcY\",\"bannerMessageStyle\":\"dashboard_bannerMessageStyle__3-2ru\",\"bannerMessage\":\"dashboard_bannerMessage__TmqJW\",\"textBold\":\"dashboard_textBold__287aq\",\"passwordExpiryBanner\":\"dashboard_passwordExpiryBanner__2tGbF\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"registerContainer\":\"canonical-reseller-onboarding_registerContainer__1RZ2I\",\"registrationTitle\":\"canonical-reseller-onboarding_registrationTitle__yC3mC\",\"divTitle\":\"canonical-reseller-onboarding_divTitle__32fOj\",\"resellerInfoContainer\":\"canonical-reseller-onboarding_resellerInfoContainer__346he\",\"formContainer\":\"canonical-reseller-onboarding_formContainer__xTsXw\",\"formTitle\":\"canonical-reseller-onboarding_formTitle__1gSrD\",\"subTitle\":\"canonical-reseller-onboarding_subTitle__32KnN\",\"phoneInput\":\"canonical-reseller-onboarding_phoneInput___s4g7\",\"inputLookupCompany\":\"canonical-reseller-onboarding_inputLookupCompany__1hKnZ\",\"customInput\":\"canonical-reseller-onboarding_customInput__3plom\",\"withoutBorders\":\"canonical-reseller-onboarding_withoutBorders__2KGAf\",\"companyContainer\":\"canonical-reseller-onboarding_companyContainer__3XKYL\",\"textButton\":\"canonical-reseller-onboarding_textButton__21GJE\",\"lookupCompanyButton\":\"canonical-reseller-onboarding_lookupCompanyButton__JAnx6\",\"amountInput\":\"canonical-reseller-onboarding_amountInput__1lUj-\",\"companyNumber\":\"canonical-reseller-onboarding_companyNumber__2V0-A\",\"activateReseller\":\"canonical-reseller-onboarding_activateReseller__1ltw6\",\"buttonStyle\":\"canonical-reseller-onboarding_buttonStyle__3FqCt\",\"notificationMessageContainer\":\"canonical-reseller-onboarding_notificationMessageContainer__1NEUw\",\"selectTermsAndConditionInput\":\"canonical-reseller-onboarding_selectTermsAndConditionInput__2jazP\",\"tableContainer\":\"canonical-reseller-onboarding_tableContainer__2MUYK\",\"pdfIcon\":\"canonical-reseller-onboarding_pdfIcon__2nu0E\",\"allowedFormateStyle\":\"canonical-reseller-onboarding_allowedFormateStyle__KkiRw\",\"termsAndConditionsContainer\":\"canonical-reseller-onboarding_termsAndConditionsContainer__36xmz\",\"disableInputClass\":\"canonical-reseller-onboarding_disableInputClass__20-Sy\"};","export const MerchantAccountStatus = {\n PENDING: 'Pending',\n PENDING_STRIPE: 'Pending Stripe',\n ACTIVE: 'Active',\n CLOSED: 'Closed',\n REJECTED: 'Rejected',\n NOT_SUBMITTED: 'Not Submitted',\n WATCHLIST: 'Watch List'\n};\n","export const formTypes = {\n ONBOARDING_NAME_AND_ADDRESS: 'ONBOARDING_NAME_AND_ADDRESS',\n ONBOARDING_TRADING_ADDRESS: 'ONBOARDING_TRADING_ADDRESS',\n ONBOARDING_BANK_DETAILS: 'ONBOARDING_BANK_DETAILS',\n ONBOARDING_OWNER_DETAILS: 'ONBOARDING_OWNER_DETAILS',\n ONBOARDING_UPLOAD_DOCUMENTS: 'ONBOARDING_UPLOAD_DOCUMENTS',\n SUBMIT_ONBOARDING: 'SUBMIT_ONBOARDING',\n UPDATE_BANK_INFO: 'UPDATE_BANK_INFO',\n UPDATE_ACCOUNT_INFO: 'UPDATE_ACCOUNT_INFO',\n ACCOUNT_DOCUMENT_UPLOAD: 'ACCOUNT_DOCUMENT_UPLOAD',\n BANK_DOCUMENT_UPLOAD: 'BANK_DOCUMENT_UPLOAD',\n CREATE_WITHDRAWAL_REQUEST: 'CREATE_WITHDRAWAL_REQUEST',\n REFUND_REQUEST: 'REFUND_REQUEST'\n};\n","export const AcquirersNameMap = {\n DATMAN: 'DATMAN',\n ADYEN: 'ADYEN',\n 'CARDSTREAM-CH': 'CARDSTREAM-CH',\n STRIPE: 'STRIPE',\n VOUCHER_CREDIT: 'VOUCHER-CREDIT'\n};\n\nexport const AcquirersToAcquirerName = {\n ALL: 'All',\n DATMAN: 'Datman',\n ADYEN: 'Adyen',\n 'CARDSTREAM-CH': 'Cardstream-CH',\n STRIPE: 'Stripe'\n};\n\nexport const ReverseAcquirersToAcquirerName = {\n All: 'ALL',\n Datman: 'DATMAN',\n Adyen: 'ADYEN',\n 'Cardstream-CH': 'CARDSTREAM-CH',\n Stripe: 'STRIPE'\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"radio_btn\":\"modal-invite-user_radio_btn__3onCR\",\"radio_with_label_container\":\"modal-invite-user_radio_with_label_container__-fQg_\",\"radio_container\":\"modal-invite-user_radio_container__1sXIy\",\"singleRadioButton\":\"modal-invite-user_singleRadioButton__1t7nD\",\"roleContainer\":\"modal-invite-user_roleContainer__JebXy\",\"roleName\":\"modal-invite-user_roleName__1opau\",\"email_input\":\"modal-invite-user_email_input__3ffdY\",\"inviteMembersTitle\":\"modal-invite-user_inviteMembersTitle__3wtEQ\",\"headerDivider\":\"modal-invite-user_headerDivider__3ic5_\",\"notificationMessageContainer\":\"modal-invite-user_notificationMessageContainer__1gKee\",\"iconUnverified\":\"modal-invite-user_iconUnverified__1aXc6\",\"error_icon\":\"modal-invite-user_error_icon__3H0kR\",\"errorMessage\":\"modal-invite-user_errorMessage__1Kmgm\",\"agentRole\":\"modal-invite-user_agentRole__3AUOr\",\"duplicateEmailContainer\":\"modal-invite-user_duplicateEmailContainer__1fGbs\",\"removeUserButton\":\"modal-invite-user_removeUserButton__2zFys\",\"userRolesContainer\":\"modal-invite-user_userRolesContainer__1sahF\",\"role_info\":\"modal-invite-user_role_info__1l9n7\",\"title_info\":\"modal-invite-user_title_info__3hrBG\",\"dialog\":\"modal-invite-user_dialog__36oGZ\"};","export const StatusColors = {\n SENT: {\n backgroundColor: '#CAF5C9',\n textColor: '#297A5D'\n },\n PAID: {\n backgroundColor: '#CAF5C9',\n textColor: '#297A5D'\n },\n IN_TRANSIT: {\n backgroundColor: '#3c87fb',\n textColor: 'white'\n },\n RECEIVED: {\n backgroundColor: '#CAF5C9',\n textColor: '#297A5D'\n },\n PENDING: {\n backgroundColor: '#ffdc9d',\n textColor: '#e67e00'\n },\n CANCELLED: {\n backgroundColor: '#FFCCCB',\n textColor: '#e60000'\n },\n FAILED: {\n backgroundColor: '#FFCCCB',\n textColor: '#e60000'\n },\n UNPAID: {\n backgroundColor: '#FFCCCB',\n textColor: '#e60000'\n },\n COMPLETE: {\n backgroundColor: '#CAF5C9',\n textColor: '#297A5D'\n },\n DELETED: {\n backgroundColor: '#FFCCCB',\n textColor: '#e60000'\n },\n REFUNDED: {\n backgroundColor: '#ffdc9d',\n textColor: '#e67e00'\n },\n UNCAPTURED: {\n backgroundColor: '#f44336',\n textColor: 'white'\n },\n DEFAULT_SCHEME: {\n backgroundColor: 'gray',\n textColor: 'white'\n },\n SUCCESS: {\n backgroundColor: '#CAF5C9',\n textColor: '#297A5D'\n },\n UNSUCCESSFUL: {\n backgroundColor: '#FFCCCB',\n textColor: '#e60000'\n },\n ACTIVE: {\n backgroundColor: '#caf5c9',\n textColor: '#12263f'\n },\n INACTIVE: {\n backgroundColor: '#9CA3AF',\n textColor: 'white'\n },\n CLOSED: {\n backgroundColor: '#f05150',\n textColor: '#f8faff'\n },\n 'NOT RECEIVED': {\n backgroundColor: '#E8C354 ',\n textColor: 'white'\n },\n VERIFIED: {\n backgroundColor: '#CAF5C9',\n textColor: '#297A5D'\n }\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { toTitleCase } from '../../../../utils/helper';\nimport styles from './transaction-status-label.module.scss';\n\nconst TransactionStatusLabelComponent = (props) => {\n const { statusColorMap, status, containerStyle = {}, containerClass = '', isPdq } = props;\n\n return (\n \n \n {isPdq ? status : toTitleCase(status)}\n \n \n );\n};\n\nexport default TransactionStatusLabelComponent;\n\nTransactionStatusLabelComponent.propTypes = {\n statusColorMap: PropTypes.shape({\n backgroundColor: PropTypes.string.isRequired,\n textColor: PropTypes.string.isRequired\n }),\n status: PropTypes.string.isRequired,\n containerStyle: PropTypes.object,\n containerClass: PropTypes.string\n};\n","export const PdqStatusColors = {\n SUCCESS: {\n backgroundColor: ' #005896',\n textColor: '#FFFFFF'\n },\n REJECTED: {\n backgroundColor: ' #E36985',\n textColor: '#FFFFFF'\n },\n 'MSA SENT': {\n backgroundColor: ' rgba(232, 195, 84, 0.2)',\n textColor: '#E1B01E'\n },\n 'IN REVIEW': {\n backgroundColor: ' #F6F7FA',\n textColor: '#414E5A'\n },\n 'SEND BACK': {\n backgroundColor: ' #B8D2EA',\n textColor: ' #1D1D1F'\n },\n 'REQUEST RAISED': { backgroundColor: ' #F6F7FA' },\n 'MSA SIGNED': {\n backgroundColor: '#E8C354',\n textColor: '#FFFFFF'\n }\n};\n","import React from 'react';\nimport { StatusColors } from '../../../../utils/enums/StatusColors';\nimport TransactionStatusLabelComponent from './transaction-status-label.component';\nimport { PdqStatusColors } from 'utils/enums/PdqStatusColors';\nconst TransactionStatusLabel = (props) => {\n const status = props?.status?.toUpperCase();\n const isPdq = props?.isPdq;\n const statusColorMap = isPdq ? PdqStatusColors[status] : StatusColors[status] || StatusColors['DEFAULT_SCHEME'];\n\n return ;\n};\n\nexport default TransactionStatusLabel;\n","import { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { ResellerType } from 'utils/enums/ResellerType';\n\nexport const DocumentTypesId = {\n BANK_STATEMENT: 1,\n BUSINESS_RATES_BILL: 2,\n DRIVING_LICENCE: 3,\n PASSPORT: 4,\n RENTAL_AGREEMENT: 5,\n RESIDENCY_PERMIT: 6,\n UTILITY_BILL: 7,\n VOID_CHEQUE: 8,\n ID_PROOF_FRONT: 9,\n ID_PROOF_BACK: 10,\n BUSINESS_REGISTRATION_CERTIFICATE: 11,\n STREET_VIEW: 12,\n FOOD_HYGIENE_CERTIFICATE: 13,\n PROOF_OF_ORGANIZATION_TAX_INFO: 14,\n VAT_DOCUMENT: 15\n};\n\nexport const DocumentTypesToName = {\n 1: 'Bank statement',\n 2: 'Business rates bill',\n 3: 'Driving licence',\n 4: 'Passport',\n 5: 'Rental agreement',\n 6: 'Residency permit',\n 7: 'Utility bill',\n 8: 'Void cheque',\n 9: 'Proof of ID frontside',\n 10: 'Proof of ID backside',\n 11: 'Business registration certificate',\n 12: 'Street View',\n 13: 'Food Hygiene Certificate',\n 14: 'Proof of organization tax info',\n 15: 'VAT document'\n};\n\nexport const DocumentTypes = [\n { id: -1, name: '' },\n { id: 1, name: 'Bank statement' },\n { id: 2, name: 'Business rates bill' },\n { id: 3, name: 'Driving licence' },\n { id: 4, name: 'Passport' },\n { id: 5, name: 'Rental agreement' },\n { id: 6, name: 'Residency permit' },\n { id: 7, name: 'Utility bill' },\n { id: 8, name: 'Void cheque' },\n { id: 9, name: 'Proof of ID frontside' },\n { id: 10, name: 'Proof of ID backside' },\n { id: 11, name: 'Business registration certificate' },\n { id: 12, name: 'Street View' },\n { id: 13, name: 'Food Hygiene Certificate' },\n { id: 14, name: 'Proof of organization tax info' },\n { id: 15, name: 'VAT document' }\n];\n\nexport const DocumentsCategoriesCountryWise = {\n [MerchantCountries.UNITED_KINGDOM]: [\n {\n categoryName: 'Proof of Bank ( Bank statement or Void cheque )',\n isBankUpdateCategory: true,\n documents: [\n {\n typeIds: [1],\n neededInBusinessTypeIds: [1, 12]\n },\n {\n typeIds: [8],\n neededInBusinessTypeIds: [1, 12]\n }\n ],\n neededInBusinessTypeIds: [1, 12]\n },\n {\n categoryName: 'Passport or Driving licence or Residency permit',\n documents: [\n {\n typeIds: [4],\n neededInBusinessTypeIds: [1, 12]\n },\n {\n typeIds: [3],\n neededInBusinessTypeIds: [1, 12]\n },\n {\n typeIds: [6],\n neededInBusinessTypeIds: [1, 12]\n }\n ],\n neededInBusinessTypeIds: [1, 12]\n },\n {\n categoryName: 'Bank statement in the Business name or Void cheque',\n isBankUpdateCategory: true,\n documents: [\n {\n typeIds: [1],\n neededInBusinessTypeIds: [2]\n },\n {\n typeIds: [8],\n neededInBusinessTypeIds: [2]\n }\n ],\n neededInBusinessTypeIds: [2]\n },\n {\n categoryName: 'Utility bill or Rental agreement or Business rates bill',\n documents: [\n {\n typeIds: [7],\n neededInBusinessTypeIds: [2, 12]\n },\n {\n typeIds: [5],\n neededInBusinessTypeIds: [2, 12]\n },\n {\n typeIds: [2],\n neededInBusinessTypeIds: [2, 12]\n }\n ],\n neededInBusinessTypeIds: [2, 12]\n },\n {\n categoryName: 'Passport or driving Licence',\n documents: [\n {\n typeIds: [4],\n neededInBusinessTypeIds: [2]\n },\n {\n typeIds: [3],\n neededInBusinessTypeIds: [2]\n }\n ],\n neededInBusinessTypeIds: [2]\n }\n ],\n [MerchantCountries.MEXICO]: [\n {\n categoryName: 'Bank Statement under Business name',\n isBankUpdateCategory: true,\n documents: [\n {\n typeIds: [1],\n neededInBusinessTypeIds: [1]\n }\n ],\n neededInBusinessTypeIds: [1]\n },\n {\n categoryName: 'Proof of ID (Passport, Driving license, Residency Card)',\n documents: [\n {\n typeIds: [9, 10],\n neededInBusinessTypeIds: [1]\n }\n ],\n neededInBusinessTypeIds: [1]\n },\n {\n categoryName: 'Bank Statement under Business Name if available (or personal)',\n isBankUpdateCategory: true,\n documents: [\n {\n typeIds: [1],\n neededInBusinessTypeIds: [2]\n }\n ],\n neededInBusinessTypeIds: [2]\n },\n {\n categoryName: 'Proof of ID (Passport, Driving license, Residency Card)',\n documents: [\n {\n typeIds: [9, 10],\n neededInBusinessTypeIds: [2]\n }\n ],\n neededInBusinessTypeIds: [2]\n },\n {\n categoryName: 'Utility bill (gas, water , electric) or rental agreement or Business Rates bill',\n documents: [\n {\n typeIds: [7],\n neededInBusinessTypeIds: [2]\n },\n {\n typeIds: [5],\n neededInBusinessTypeIds: [2]\n },\n {\n typeIds: [2],\n neededInBusinessTypeIds: [2]\n }\n ],\n neededInBusinessTypeIds: [2]\n }\n ],\n [MerchantCountries.CANADA]: [\n {\n categoryName: 'Business registration certificate',\n documents: [\n {\n typeIds: [11],\n neededInBusinessTypeIds: [1]\n }\n ],\n neededInBusinessTypeIds: [1]\n },\n {\n categoryName: 'Bank statement under Business name',\n isBankUpdateCategory: true,\n documents: [\n {\n typeIds: [1],\n neededInBusinessTypeIds: [1, 2]\n }\n ],\n neededInBusinessTypeIds: [1, 2]\n },\n {\n categoryName: 'Proof of ID (Passport, Driving license, Residency card)',\n documents: [\n {\n typeIds: [9, 10],\n neededInBusinessTypeIds: [1, 2]\n }\n ],\n neededInBusinessTypeIds: [1, 2]\n }\n ],\n [MerchantCountries.UNITED_STATES]: [\n {\n categoryName: 'Proof of Bank ( Bank statement or Void cheque )',\n isBankUpdateCategory: true,\n documents: [\n {\n typeIds: [1],\n neededInBusinessTypeIds: [1, 10, 11, 12]\n },\n {\n typeIds: [8],\n neededInBusinessTypeIds: [1, 10, 11, 12]\n }\n ],\n neededInBusinessTypeIds: [1, 10, 11, 12]\n },\n {\n categoryName: 'Passport or Driving licence or Residency permit',\n documents: [\n {\n typeIds: [4],\n neededInBusinessTypeIds: [1, 10, 11, 12]\n },\n {\n typeIds: [3],\n neededInBusinessTypeIds: [1, 10, 11, 12]\n },\n {\n typeIds: [6],\n neededInBusinessTypeIds: [1, 10, 11, 12]\n }\n ],\n neededInBusinessTypeIds: [1, 10, 11, 12]\n },\n {\n categoryName: 'Bank statement in the Business name or Void cheque',\n isBankUpdateCategory: true,\n documents: [\n {\n typeIds: [1],\n neededInBusinessTypeIds: [2]\n },\n {\n typeIds: [8],\n neededInBusinessTypeIds: [2]\n }\n ],\n neededInBusinessTypeIds: [2]\n },\n {\n categoryName: 'Utility bill or Rental agreement or Business rates bill',\n documents: [\n {\n typeIds: [7],\n neededInBusinessTypeIds: [2, 12]\n },\n {\n typeIds: [5],\n neededInBusinessTypeIds: [2, 12]\n },\n {\n typeIds: [2],\n neededInBusinessTypeIds: [2, 12]\n }\n ],\n neededInBusinessTypeIds: [2, 12]\n },\n {\n categoryName: 'Passport or driving Licence',\n documents: [\n {\n typeIds: [4],\n neededInBusinessTypeIds: [2]\n },\n {\n typeIds: [3],\n neededInBusinessTypeIds: [2]\n }\n ],\n neededInBusinessTypeIds: [2]\n }\n ]\n};\n\nexport const getDocumentsCategories = (country, source, resellerName, isAdmin) => {\n let categories = JSON.parse(\n JSON.stringify(\n DocumentsCategoriesCountryWise[country] || DocumentsCategoriesCountryWise[MerchantCountries.UNITED_KINGDOM]\n )\n );\n\n if (source === 'BANK_UPDATE') {\n categories.push({\n categoryName: 'Please add at least one document',\n isAGenericCategory: true,\n isBankUpdateCategory: true,\n documents: [\n {\n typeIds: [1],\n neededInBusinessTypeIds: [3, 4, 5, 6, 7, 8, 9]\n },\n {\n typeIds: [8],\n neededInBusinessTypeIds: [3, 4, 5, 6, 7, 8, 9]\n }\n ],\n neededInBusinessTypeIds: [3, 4, 5, 6, 7, 8, 9]\n });\n } else {\n categories.push({\n categoryName: 'Please add at least one document',\n isAGenericCategory: true,\n documents: [\n {\n typeIds: [1],\n neededInBusinessTypeIds: [3, 4, 5, 6, 7, 8, 9]\n },\n {\n typeIds: [2],\n neededInBusinessTypeIds: [3, 4, 5, 6, 7, 8, 9]\n },\n {\n typeIds: [3],\n neededInBusinessTypeIds: [3, 4, 5, 6, 7, 8, 9]\n },\n {\n typeIds: [4],\n neededInBusinessTypeIds: [3, 4, 5, 6, 7, 8, 9]\n },\n {\n typeIds: [5],\n neededInBusinessTypeIds: [3, 4, 5, 6, 7, 8, 9]\n },\n {\n typeIds: [6],\n neededInBusinessTypeIds: [3, 4, 5, 6, 7, 8, 9]\n },\n {\n typeIds: [7],\n neededInBusinessTypeIds: [3, 4, 5, 6, 7, 8, 9]\n },\n {\n typeIds: [8],\n neededInBusinessTypeIds: [3, 4, 5, 6, 7, 8, 9]\n }\n ],\n neededInBusinessTypeIds: [3, 4, 5, 6, 7, 8, 9]\n });\n\n if (\n [MerchantCountries.UNITED_STATES, MerchantCountries.AUSTRALIA, MerchantCountries.UNITED_KINGDOM].includes(\n country\n )\n ) {\n categories.push({\n categoryName: 'Proof of organization tax info (optional)',\n isAGenericCategory: true,\n isBankUpdateCategory: true,\n isOptionalCategory: true,\n documents: [\n {\n typeIds: [14],\n neededInBusinessTypeIds: [1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]\n }\n ],\n neededInBusinessTypeIds: [1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]\n });\n }\n if ([MerchantCountries.UNITED_KINGDOM].includes(country)) {\n categories.push({\n categoryName: 'VAT document (optional)',\n isAGenericCategory: true,\n isOptionalCategory: true,\n documents: [\n {\n typeIds: [15],\n neededInBusinessTypeIds: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]\n }\n ],\n neededInBusinessTypeIds: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]\n });\n }\n }\n if (\n source === 'ACCOUNT_VERIFY' &&\n country === MerchantCountries.UNITED_KINGDOM &&\n resellerName === ResellerType.DATMAN &&\n isAdmin\n ) {\n categories.push({\n categoryName: 'Supporting Documents',\n isAdminCategory: true,\n isOptionalCategory: true,\n documents: [\n {\n typeIds: [7, 12, 13],\n neededInBusinessTypeIds: [1, 5]\n },\n {\n typeIds: [12, 13],\n neededInBusinessTypeIds: [2]\n }\n ],\n neededInBusinessTypeIds: [1, 2, 5]\n });\n }\n if (source === 'AGENT_UPLOAD') {\n categories.push({\n isOptionalCategory: true,\n categoryName: 'Street view',\n isBankUpdateCategory: true,\n documents: [\n {\n typeIds: [12],\n neededInBusinessTypeIds: [1, 2]\n }\n ],\n neededInBusinessTypeIds: [1, 2]\n });\n }\n\n return categories;\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"buttonContainer\":\"pdq-order-status_buttonContainer__3s2pw\",\"searchBtn\":\"pdq-order-status_searchBtn__1G9_B\",\"container\":\"pdq-order-status_container__2mhHZ\",\"merchantData\":\"pdq-order-status_merchantData__34wIC\",\"onBoardMerchantButton\":\"pdq-order-status_onBoardMerchantButton__1C3XE\",\"TablesPaper\":\"pdq-order-status_TablesPaper__2u_I5\",\"merchantLabelText\":\"pdq-order-status_merchantLabelText__r0Qps\",\"copyIcon\":\"pdq-order-status_copyIcon__GEHTd\",\"icon\":\"pdq-order-status_icon__ME-vg\",\"merchantBlock\":\"pdq-order-status_merchantBlock__3nnlm\",\"merchantName\":\"pdq-order-status_merchantName__3uHeU\",\"verifyBadge\":\"pdq-order-status_verifyBadge__1_BGU\",\"loading\":\"pdq-order-status_loading__2Oae7\",\"overFlowText\":\"pdq-order-status_overFlowText__1odtb\",\"overflowSpan\":\"pdq-order-status_overflowSpan__16gD3\",\"detailsView\":\"pdq-order-status_detailsView__1iqIn\",\"reqBtn\":\"pdq-order-status_reqBtn__1p3_6\",\"thirdId\":\"pdq-order-status_thirdId__2Byod\",\"tabView\":\"pdq-order-status_tabView__2uXxm\",\"mainContainer\":\"pdq-order-status_mainContainer__38W2D\",\"subTitle\":\"pdq-order-status_subTitle__QLPlZ\",\"divSubTitle\":\"pdq-order-status_divSubTitle__3zbEc\",\"secondaryActionBtn\":\"pdq-order-status_secondaryActionBtn__vKWMw\",\"closeIcons\":\"pdq-order-status_closeIcons__2_HLE\",\"paper\":\"pdq-order-status_paper__2Jjjn\",\"listItemContainer\":\"pdq-order-status_listItemContainer__1Co4j\",\"bannerMessage\":\"pdq-order-status_bannerMessage__2OzWy\",\"click__here\":\"pdq-order-status_click__here__1eiIf\",\"automaticPayout\":\"pdq-order-status_automaticPayout__sxvu4\",\"primaryActionBtn\":\"pdq-order-status_primaryActionBtn__1Efjc\",\"searchBar\":\"pdq-order-status_searchBar__1bbd1\",\"tableCellSmallSize\":\"pdq-order-status_tableCellSmallSize__2E1ZA\",\"searchGrid\":\"pdq-order-status_searchGrid__2NGQH\",\"mainForm\":\"pdq-order-status_mainForm__Fjnmf\",\"btnContainer\":\"pdq-order-status_btnContainer__Q0l9m\",\"leftAlign\":\"pdq-order-status_leftAlign__3jhAa\",\"tableContainer\":\"pdq-order-status_tableContainer__2Iciq\",\"dialogBtn\":\"pdq-order-status_dialogBtn__31vYR\",\"leaveBtn\":\"pdq-order-status_leaveBtn__FF6rg\",\"dialogContent\":\"pdq-order-status_dialogContent__2zm61\",\"dialogText\":\"pdq-order-status_dialogText__1iaD3\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"menuText\":\"merchant-dashboard-menu_menuText__3npnx\",\"disableMenuText\":\"merchant-dashboard-menu_disableMenuText__3NPRY\",\"separator\":\"merchant-dashboard-menu_separator__hwXr3\",\"activeMenu\":\"merchant-dashboard-menu_activeMenu__2xWgc\",\"menuItemContainer\":\"merchant-dashboard-menu_menuItemContainer__1ydCg\",\"disableMenuContainer\":\"merchant-dashboard-menu_disableMenuContainer__17EM7\",\"merchantIdMenuItemContainer\":\"merchant-dashboard-menu_merchantIdMenuItemContainer__30o6w\",\"copyIcon\":\"merchant-dashboard-menu_copyIcon__2BVHo\",\"arrowBack\":\"merchant-dashboard-menu_arrowBack__1a2hy\",\"nestedMenuText\":\"merchant-dashboard-menu_nestedMenuText__9Z-tD\",\"headerContainer\":\"merchant-dashboard-menu_headerContainer__1fljW\",\"headerItem\":\"merchant-dashboard-menu_headerItem__3zdLl\",\"iconSize\":\"merchant-dashboard-menu_iconSize__11UwJ\",\"languageSelect\":\"merchant-dashboard-menu_languageSelect__27bH8\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"primaryOwner\":\"t2s-onboarding-owner-details_primaryOwner__1L94h\",\"formItemGrid\":\"t2s-onboarding-owner-details_formItemGrid__1UbdI\",\"dateOfBirthWrapper\":\"t2s-onboarding-owner-details_dateOfBirthWrapper__2ymyl\",\"selectContainer\":\"t2s-onboarding-owner-details_selectContainer__3Ppfy\",\"ownershipLabel\":\"t2s-onboarding-owner-details_ownershipLabel__1tnNx\",\"numberFormatInput\":\"t2s-onboarding-owner-details_numberFormatInput__1kxBr\",\"containsErrorDOB\":\"t2s-onboarding-owner-details_containsErrorDOB__36SjT\",\"nameInput\":\"t2s-onboarding-owner-details_nameInput__3cN8N\",\"space\":\"t2s-onboarding-owner-details_space__3VOjN\",\"phoneInput\":\"t2s-onboarding-owner-details_phoneInput__3ZszC\",\"invalidNationality\":\"t2s-onboarding-owner-details_invalidNationality__3BeEC\",\"phoneInputEmpty\":\"t2s-onboarding-owner-details_phoneInputEmpty__1JpgJ\",\"notificationMessageContainer\":\"t2s-onboarding-owner-details_notificationMessageContainer__1Os_L\",\"emptyBlock\":\"t2s-onboarding-owner-details_emptyBlock__1azS3\",\"fullOuterBox\":\"t2s-onboarding-owner-details_fullOuterBox__8118N\",\"MuiOutlinedInput-input\":\"t2s-onboarding-owner-details_MuiOutlinedInput-input__i8Ys0\",\"monthSelect\":\"t2s-onboarding-owner-details_monthSelect__3ySvR\",\"unselectedDropdownErrorStyle\":\"t2s-onboarding-owner-details_unselectedDropdownErrorStyle__3tP83\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"formItemGrid\":\"t2s-onboarding-bank-details_formItemGrid__3Qp7R\",\"phoneInput\":\"t2s-onboarding-bank-details_phoneInput__3VNRF\",\"customInput\":\"t2s-onboarding-bank-details_customInput__EMAxJ\",\"inputLookupCompany\":\"t2s-onboarding-bank-details_inputLookupCompany__1DFbH\",\"withoutBorders\":\"t2s-onboarding-bank-details_withoutBorders__2Luqz\",\"companyContainer\":\"t2s-onboarding-bank-details_companyContainer__10ZiG\",\"lookupCompanyButton\":\"t2s-onboarding-bank-details_lookupCompanyButton__1IF02\",\"textButton\":\"t2s-onboarding-bank-details_textButton__1mPWt\",\"iconContainer\":\"t2s-onboarding-bank-details_iconContainer__1SV27\",\"errorIcon\":\"t2s-onboarding-bank-details_errorIcon__2SVQA\",\"validIcon\":\"t2s-onboarding-bank-details_validIcon__3YUUO\",\"notificationContainer\":\"t2s-onboarding-bank-details_notificationContainer__35yPS\",\"iconUnverified\":\"t2s-onboarding-bank-details_iconUnverified__1GGyh\",\"ibannotificationContainer\":\"t2s-onboarding-bank-details_ibannotificationContainer__1abPb\",\"notificationMessageContainer\":\"t2s-onboarding-bank-details_notificationMessageContainer__I-oi4\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"merchant-reseller-list_container__3b91A\",\"searchPaper\":\"merchant-reseller-list_searchPaper__2D57i\",\"logo\":\"merchant-reseller-list_logo__DDm1i\",\"resellerLabel\":\"merchant-reseller-list_resellerLabel__2SZqp\",\"searchMerchants\":\"merchant-reseller-list_searchMerchants__2zJ4v\",\"newMerchantbutton\":\"merchant-reseller-list_newMerchantbutton__3Uq0A\",\"selectInput\":\"merchant-reseller-list_selectInput__3SZTm\",\"formControl\":\"merchant-reseller-list_formControl__E38ko\",\"merchantLink\":\"merchant-reseller-list_merchantLink__3TBbY\",\"nameColumn\":\"merchant-reseller-list_nameColumn__37P1D\",\"doneIconStyle\":\"merchant-reseller-list_doneIconStyle__1o-Cr\",\"logoImage\":\"merchant-reseller-list_logoImage__1tOws\",\"addressColumn\":\"merchant-reseller-list_addressColumn__3pzso\",\"searchContainer\":\"merchant-reseller-list_searchContainer__29Nbm\",\"searchButton\":\"merchant-reseller-list_searchButton__GwWyp\",\"resellerHeader\":\"merchant-reseller-list_resellerHeader__2045W\",\"logout\":\"merchant-reseller-list_logout__30yHC\",\"menuText\":\"merchant-reseller-list_menuText__1lee2\",\"loading\":\"merchant-reseller-list_loading__1fwYs\",\"accessNameButton\":\"merchant-reseller-list_accessNameButton__3pHB3\",\"header\":\"merchant-reseller-list_header__12OlI\",\"rowData\":\"merchant-reseller-list_rowData__39Ip5\",\"accessButton\":\"merchant-reseller-list_accessButton__2j2hd\",\"TableContainer\":\"merchant-reseller-list_TableContainer__3Shsl\",\"radioButton\":\"merchant-reseller-list_radioButton__3nx0q\",\"pageTitle\":\"merchant-reseller-list_pageTitle__8dC4F\",\"flexDiv\":\"merchant-reseller-list_flexDiv__2HrmN\",\"merchantName\":\"merchant-reseller-list_merchantName__3_-mA\",\"datmanMerchantName\":\"merchant-reseller-list_datmanMerchantName__3hoq9\",\"nameLink\":\"merchant-reseller-list_nameLink__1lte9\",\"listItemContainer\":\"merchant-reseller-list_listItemContainer__37WIj\",\"inputlabel\":\"merchant-reseller-list_inputlabel__34Ez9\",\"search\":\"merchant-reseller-list_search__2lxNc\",\"iconVerified\":\"merchant-reseller-list_iconVerified__mQXGG\",\"resellerId\":\"merchant-reseller-list_resellerId__1LUXn\",\"center\":\"merchant-reseller-list_center__3Ks4k\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"onboarding-summary_container__evOJC\",\"formsContainer\":\"onboarding-summary_formsContainer__28G3I\",\"formItem\":\"onboarding-summary_formItem__1ruZz\",\"nameContainer\":\"onboarding-summary_nameContainer__225fA\",\"titleContainer\":\"onboarding-summary_titleContainer__320QP\",\"btnContainer\":\"onboarding-summary_btnContainer__b3V8r\",\"dots\":\"onboarding-summary_dots__1IX75\",\"footerContainer\":\"onboarding-summary_footerContainer__24gSA\",\"doneBtn\":\"onboarding-summary_doneBtn__2vKzB\",\"accountContainer\":\"onboarding-summary_accountContainer__iHqR1\",\"cardTitle\":\"onboarding-summary_cardTitle__ZTcUf\",\"editIcon\":\"onboarding-summary_editIcon__3yDNO\",\"icon\":\"onboarding-summary_icon__wjZxf\",\"cardContainer\":\"onboarding-summary_cardContainer__y40SD\",\"modalTitle\":\"onboarding-summary_modalTitle__2l_Pf\",\"modalText\":\"onboarding-summary_modalText__3fdMD\",\"confirmButton\":\"onboarding-summary_confirmButton__1sCfW\",\"codebgcolor\":\"onboarding-summary_codebgcolor__2O4bI\",\"phoneInput\":\"onboarding-summary_phoneInput__m8Rlm\",\"enablePhoneInput\":\"onboarding-summary_enablePhoneInput__34KdH\",\"detailContainer\":\"onboarding-summary_detailContainer__11DDA\",\"termsandconditions\":\"onboarding-summary_termsandconditions__2QQYD\",\"remindMeLater\":\"onboarding-summary_remindMeLater__2-cT7\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"stepsContainer\":\"merchant-dashboard-options_stepsContainer__2n6GK\",\"hidePaper\":\"merchant-dashboard-options_hidePaper__xaGa6\",\"accordionItem\":\"merchant-dashboard-options_accordionItem__3S4S_\",\"list\":\"merchant-dashboard-options_list__sRgOE\",\"listItem\":\"merchant-dashboard-options_listItem__z0AQl\",\"listItemLast\":\"merchant-dashboard-options_listItemLast__1HXZ4\",\"btnText\":\"merchant-dashboard-options_btnText__1aawr\",\"mainTitle\":\"merchant-dashboard-options_mainTitle__1NJ20\",\"accordionDetails\":\"merchant-dashboard-options_accordionDetails__3cySk\",\"accordionDetailsBtn\":\"merchant-dashboard-options_accordionDetailsBtn__Viro_\",\"textBold\":\"merchant-dashboard-options_textBold__1LSVz\",\"listItemContainer\":\"merchant-dashboard-options_listItemContainer__3z2np\",\"summaryContainer\":\"merchant-dashboard-options_summaryContainer__21Phl\",\"itemContainerText\":\"merchant-dashboard-options_itemContainerText__3rW0N\",\"linkFont\":\"merchant-dashboard-options_linkFont__1nV1c\",\"expandedBackGroundColor\":\"merchant-dashboard-options_expandedBackGroundColor__2WiNq\",\"error_icon\":\"merchant-dashboard-options_error_icon__1vYgU\",\"success_icon\":\"merchant-dashboard-options_success_icon__1MyCO\",\"center\":\"merchant-dashboard-options_center__2wblb\",\"itemContainerText2\":\"merchant-dashboard-options_itemContainerText2__3r8ve\",\"last__listItem\":\"merchant-dashboard-options_last__listItem__1Orz6\",\"merchant__creation__container\":\"merchant-dashboard-options_merchant__creation__container__3BPdi\",\"merchant__creation__message__remove_icon\":\"merchant-dashboard-options_merchant__creation__message__remove_icon__2nkKp\",\"merchant_remove_icon\":\"merchant-dashboard-options_merchant_remove_icon__3nqO5\",\"text__option__container\":\"merchant-dashboard-options_text__option__container__3D_Sw\",\"bannerStyle\":\"merchant-dashboard-options_bannerStyle__1nptC\",\"bannerMessageStyle\":\"merchant-dashboard-options_bannerMessageStyle__21HWM\",\"bannerMessage\":\"merchant-dashboard-options_bannerMessage__3PEjQ\",\"iconUnverified\":\"merchant-dashboard-options_iconUnverified__3Cdcs\",\"passwordExpiryBanner\":\"merchant-dashboard-options_passwordExpiryBanner__xU7Lu\",\"continueOnboardingContainer\":\"merchant-dashboard-options_continueOnboardingContainer__2JzMm\",\"continueOnboarding\":\"merchant-dashboard-options_continueOnboarding__LMLc_\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"containerDiv\":\"payment-details_containerDiv__2lGLM\",\"headerDetails\":\"payment-details_headerDetails__3DhsC\",\"content\":\"payment-details_content__hpXYA\",\"contentBlock\":\"payment-details_contentBlock__R6JGy\",\"pageTitle\":\"payment-details_pageTitle__2vyig\",\"spanRefId\":\"payment-details_spanRefId__1-xcb\",\"amount_items\":\"payment-details_amount_items__1IbE5\",\"spnaCurrency\":\"payment-details_spnaCurrency__3WO9u\",\"spanStatus\":\"payment-details_spanStatus__1hXfI\",\"timelineDiv\":\"payment-details_timelineDiv__14Kbn\",\"timeline\":\"payment-details_timeline__2tYSB\",\"paymentDetailsDiv\":\"payment-details_paymentDetailsDiv__1fPog\",\"tableHeader\":\"payment-details_tableHeader__1FsMt\",\"graySpan\":\"payment-details_graySpan__2n2mw\",\"copyIcon\":\"payment-details_copyIcon__2kZwi\",\"overflowX\":\"payment-details_overflowX__Uqq8t\",\"headerDetails_title\":\"payment-details_headerDetails_title___bla7\",\"responsiveDiv\":\"payment-details_responsiveDiv__ybioU\"};","import React from 'react';\n\nimport { Backdrop, CircularProgress } from '@material-ui/core';\nimport { makeStyles } from '@material-ui/core/styles';\n\nconst useStyles = makeStyles((theme) => ({\n backdrop: {\n zIndex: theme.zIndex.drawer + 1,\n color: '#fff'\n }\n}));\n\nfunction LoadingScreenComponent(props) {\n const classes = useStyles();\n\n return (\n \n \n \n );\n}\n\nexport default LoadingScreenComponent;\n","import React from 'react';\nimport LoadingScreenComponent from './loading-screen.component';\n\n/**\n *\n * @param {{\n * open: boolean\n * }} props\n */\nfunction LoadingScreen(props) {\n return ;\n}\n\nexport default LoadingScreen;\n","export const OnboardingStepsMapping = {\n 'Name and address': 'nameAndAddress',\n 'Bank details': 'bankDetails',\n 'Business details': 'businessDetails',\n 'Trading address': 'tradingAddress',\n 'Owner details': 'ownerDetails',\n 'Business profile': 'businessProfile',\n 'Transaction profile': 'transactionProfile',\n 'Products required': 'productsRequired',\n 'Upload documents': 'uploadDocuments',\n Summary: 'summary'\n};\n\n//Onboarding steps mapping with label\nexport const OnboardingSteps = {\n NAME_AND_ADDRESS: 'Name and address',\n NAME_AND_BUSINESS_ADDRESS: 'Name and business address',\n BANK_DETAILS: 'Bank details',\n BUSINESS_DETAILS: 'Business details',\n TRADING_ADDRESS: 'Trading address',\n BUSINESS_ADDRESS: 'Business address',\n OWNER_DETAILS: 'Owner details',\n BUSINESS_PROFILE: 'Business profile',\n TRANSACTION_PROFILE: 'Transaction profile',\n PRODUCTS_REQUIRED: 'Products required',\n UPLOAD_DOCUMENTS: 'Upload documents',\n SUMMARY: 'Summary'\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"formItemGrid\":\"t2s-onboarding-name-address_formItemGrid__2iJwo\",\"phoneInput\":\"t2s-onboarding-name-address_phoneInput__dh-za\",\"customInput\":\"t2s-onboarding-name-address_customInput__29L48\",\"unselectedDropdownErrorStyle\":\"t2s-onboarding-name-address_unselectedDropdownErrorStyle__27MC8\",\"inputLookupCompany\":\"t2s-onboarding-name-address_inputLookupCompany__1Fq24\",\"withoutBorders\":\"t2s-onboarding-name-address_withoutBorders__2LOiz\",\"companyContainer\":\"t2s-onboarding-name-address_companyContainer__3mqAW\",\"lookupCompanyButton\":\"t2s-onboarding-name-address_lookupCompanyButton__1Fv1D\",\"textButton\":\"t2s-onboarding-name-address_textButton__2GbWA\",\"iconContainer\":\"t2s-onboarding-name-address_iconContainer__3bI3t\",\"errorIcon\":\"t2s-onboarding-name-address_errorIcon__BvvjU\",\"validIcon\":\"t2s-onboarding-name-address_validIcon__JR4Ie\",\"notificationContainer\":\"t2s-onboarding-name-address_notificationContainer__2Y5kg\",\"iconUnverified\":\"t2s-onboarding-name-address_iconUnverified__3XG1D\",\"ibannotificationContainer\":\"t2s-onboarding-name-address_ibannotificationContainer__2AocD\",\"yesNoSwitch\":\"t2s-onboarding-name-address_yesNoSwitch__3spn9\",\"regBusinessName\":\"t2s-onboarding-name-address_regBusinessName__1hkXY\",\"phoneInputEmpty\":\"t2s-onboarding-name-address_phoneInputEmpty__atzBc\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"alertError\":\"admin-functions_alertError__3VZyO\",\"pendingMerchantsButton\":\"admin-functions_pendingMerchantsButton__AT93n\",\"thirdId\":\"admin-functions_thirdId__3nQpQ\",\"addUrgentMessageButton\":\"admin-functions_addUrgentMessageButton__2xK7u\",\"feeTierButton\":\"admin-functions_feeTierButton__m3qaq\",\"creditBtn\":\"admin-functions_creditBtn__4hxua\",\"borderAddUrgentMessage\":\"admin-functions_borderAddUrgentMessage__1sU5A\",\"mainContainer\":\"admin-functions_mainContainer__gyK32\",\"divTitle\":\"admin-functions_divTitle__1i-kb\",\"title\":\"admin-functions_title__2Sisn\",\"subTitle\":\"admin-functions_subTitle__39ACS\",\"divSubTitle\":\"admin-functions_divSubTitle__2bbZf\",\"smallContainer\":\"admin-functions_smallContainer__2qY7n\",\"feesContainer\":\"admin-functions_feesContainer__1Zxah\",\"buttonContainer\":\"admin-functions_buttonContainer__3A0aI\",\"dropDown\":\"admin-functions_dropDown__2eDEM\",\"adyenGrid\":\"admin-functions_adyenGrid__1liMH\",\"dateDiv\":\"admin-functions_dateDiv__2v7LJ\"};","export const ErrorCodes = {\n CSRF_VALIDATION_FAILURE: {\n errorCode: 1400,\n message: 'Form session expired. Please reload page and try again'\n },\n WITHDRAWAL_ERROR: {\n message: 'An internal error occurred, please press Cancel to check your updated balance'\n },\n INTERNAL_SERVER_ERROR: {\n message: 'An error occurred. Please contact support or try again.'\n },\n REFUND_ERROR: {\n message: 'Your refund request has failed.'\n },\n DOCUMENT_UPLOAD_ERROR: {\n message: 'Uploading failed.'\n },\n INVALID_VERIFICATION_CODE: {\n message: 'Invalid verification code provided, please try again.'\n },\n INCOMPLETE_SIGNUP_PROCESS: {\n message: 'Unable to complete sign-up process.'\n },\n INCOMPLETE_VERIFICATION_PROCESS: {\n message: 'Unable to complete verification process.'\n },\n OTP_MESSAGE: {\n message: 'Unable to send OTP'\n },\n OTP_MESSAGE_LIMIT_EXCEEDED: {\n message: 'Maximum limit exceeded, please try after 30 min.'\n }\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"containerDiv\":\"datman-reseller-payment-details_containerDiv__37QD4\",\"headerDetails\":\"datman-reseller-payment-details_headerDetails__3RxM7\",\"content\":\"datman-reseller-payment-details_content__39Wlk\",\"contentBlock\":\"datman-reseller-payment-details_contentBlock__3PLKk\",\"pageTitle\":\"datman-reseller-payment-details_pageTitle__2qmkA\",\"spanRefId\":\"datman-reseller-payment-details_spanRefId__BOaMP\",\"amount_items\":\"datman-reseller-payment-details_amount_items__m1yib\",\"spnaCurrency\":\"datman-reseller-payment-details_spnaCurrency__21Kia\",\"spanStatus\":\"datman-reseller-payment-details_spanStatus__1bxKQ\",\"timelineDiv\":\"datman-reseller-payment-details_timelineDiv__MFi__\",\"timeline\":\"datman-reseller-payment-details_timeline__3XAMn\",\"paymentDetailsDiv\":\"datman-reseller-payment-details_paymentDetailsDiv__2m9sA\",\"tableHeader\":\"datman-reseller-payment-details_tableHeader__19diR\",\"graySpan\":\"datman-reseller-payment-details_graySpan__7vi0E\",\"copyIcon\":\"datman-reseller-payment-details_copyIcon__3x5tK\",\"overflowX\":\"datman-reseller-payment-details_overflowX__M0VaE\",\"responsiveDiv\":\"datman-reseller-payment-details_responsiveDiv__2BsiO\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"label\":\"request-support-form_label__3oGik\",\"labelText\":\"request-support-form_labelText__3UgnL\",\"requestSupportFormContainer\":\"request-support-form_requestSupportFormContainer__2_tzr\",\"requestSupportForm\":\"request-support-form_requestSupportForm__2vgjU\",\"requestFormTitleGrid\":\"request-support-form_requestFormTitleGrid__60PdD\",\"requestFormTitle\":\"request-support-form_requestFormTitle__1oTwr\",\"requestFormInputRoot\":\"request-support-form_requestFormInputRoot__K0-Ze\",\"requestFormInput\":\"request-support-form_requestFormInput__1f_wO\",\"phoneInput\":\"request-support-form_phoneInput__kIel9\",\"requestFormFields\":\"request-support-form_requestFormFields__StFNq\",\"requestSupportFormSubmit\":\"request-support-form_requestSupportFormSubmit__PMy-R\",\"requestSupportFormSubmitContainer\":\"request-support-form_requestSupportFormSubmitContainer__kFWFY\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"modal-create-qr-code_container__11EvN\",\"actionButton\":\"modal-create-qr-code_actionButton__2ui5z\",\"amountContainer\":\"modal-create-qr-code_amountContainer__29TnN\",\"notificationMessageContainer\":\"modal-create-qr-code_notificationMessageContainer__s_u47\",\"amountInput\":\"modal-create-qr-code_amountInput__j9lNP\",\"amountInput_input\":\"modal-create-qr-code_amountInput_input__1vnSu\",\"createQRTitle\":\"modal-create-qr-code_createQRTitle__2nRyO\",\"copyIcon\":\"modal-create-qr-code_copyIcon__1uMGf\",\"copyIconContainer\":\"modal-create-qr-code_copyIconContainer__3LM5q\",\"customInput\":\"modal-create-qr-code_customInput___VzwW\",\"input\":\"modal-create-qr-code_input__312O5\",\"qrModelInput\":\"modal-create-qr-code_qrModelInput__16HFO\",\"linkInput\":\"modal-create-qr-code_linkInput__2AxlK\",\"dateInput\":\"modal-create-qr-code_dateInput__mYsAa\",\"title_info\":\"modal-create-qr-code_title_info__1GI1f\",\"loading\":\"modal-create-qr-code_loading__8Q7PL\",\"labelText\":\"modal-create-qr-code_labelText__QGDfK\",\"description\":\"modal-create-qr-code_description__16LRJ\",\"labelTextType\":\"modal-create-qr-code_labelTextType__1NzYm\",\"radioContainer\":\"modal-create-qr-code_radioContainer__3Q2Sg\",\"datePicker\":\"modal-create-qr-code_datePicker__2o0hb\",\"radioBtn\":\"modal-create-qr-code_radioBtn__AxlM4\",\"checkBox\":\"modal-create-qr-code_checkBox__3shK_\",\"linkField\":\"modal-create-qr-code_linkField__2p_uZ\",\"validUrl\":\"modal-create-qr-code_validUrl__REBQY\",\"qrModalValidInput\":\"modal-create-qr-code_qrModalValidInput__2C_RS\",\"qrModal\":\"modal-create-qr-code_qrModal__2blKF\",\"dateText\":\"modal-create-qr-code_dateText__3i-69\",\"dateText__input\":\"modal-create-qr-code_dateText__input__U1MTl\",\"expiryDateInput\":\"modal-create-qr-code_expiryDateInput__3nQy6\",\"expiryDateInput__input\":\"modal-create-qr-code_expiryDateInput__input__Sx2QL\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"qrIcon\":\"qr-detailed-view_qrIcon__2Z4Y5\",\"qrId\":\"qr-detailed-view_qrId__3W2d9\",\"transactions\":\"qr-detailed-view_transactions__2Z7ea\",\"divTitle\":\"qr-detailed-view_divTitle__1NzTp\",\"downloadButton\":\"qr-detailed-view_downloadButton__3opsL\",\"icon\":\"qr-detailed-view_icon__1uoAg\",\"header\":\"qr-detailed-view_header__3C7IU\",\"closeIcon\":\"qr-detailed-view_closeIcon__1KvOd\",\"verticalLine\":\"qr-detailed-view_verticalLine__3f8QP\",\"tableBorder\":\"qr-detailed-view_tableBorder__3zJxG\",\"boxView\":\"qr-detailed-view_boxView__jN3-1\",\"payments\":\"qr-detailed-view_payments__11XmW\",\"fontColor\":\"qr-detailed-view_fontColor__3lzbn\",\"tableBody\":\"qr-detailed-view_tableBody__2wHN_\",\"values\":\"qr-detailed-view_values__2y_Oq\",\"reason\":\"qr-detailed-view_reason__29BDm\",\"link\":\"qr-detailed-view_link__1msxK\"};","export const DocumentFlag = {\n ONBOARDING: 'ONBOARDING',\n ACCOUNT_VERIFY: 'ACCOUNT_VERIFY',\n BANK_VERIFY: 'BANK_VERIFY',\n AGENT_UPLOAD: 'AGENT_UPLOAD'\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"wrapper\":\"payment-action_wrapper__pDfnc\",\"paper\":\"payment-action_paper__3O4gr\",\"wrapperSingle\":\"payment-action_wrapperSingle__bzGI_\",\"nameContainer\":\"payment-action_nameContainer__2U4z6\",\"nameLogo\":\"payment-action_nameLogo__FE4G_\",\"logo\":\"payment-action_logo__2ve44\",\"userName\":\"payment-action_userName__1dQht\",\"viewBalanceContainer\":\"payment-action_viewBalanceContainer__mle4q\",\"balance\":\"payment-action_balance__2tGKb\",\"balanceCurrencySign\":\"payment-action_balanceCurrencySign__kkX0S\",\"margin\":\"payment-action_margin__2LK6y\",\"inputAndButtonContainer\":\"payment-action_inputAndButtonContainer__hcWEx\",\"inputContainer\":\"payment-action_inputContainer__1vBB7\",\"newInputContainer\":\"payment-action_newInputContainer__mIeFa\",\"inputWrapper\":\"payment-action_inputWrapper__3gm4o\",\"newInputWrapper\":\"payment-action_newInputWrapper__3mj7Q\",\"inputBalance\":\"payment-action_inputBalance__104Dy\",\"dialogTitle\":\"payment-action_dialogTitle__1FhoK\",\"buttonActionContainer\":\"payment-action_buttonActionContainer__3K7Rv\",\"newContainer\":\"payment-action_newContainer__3LOyS\",\"newButtonActionContainer\":\"payment-action_newButtonActionContainer__1Vw9J\",\"buttonAction\":\"payment-action_buttonAction__3ofzO\",\"buttonText\":\"payment-action_buttonText__PbgAN\",\"nameButton\":\"payment-action_nameButton__3aaTy\",\"withdrawalMessage\":\"payment-action_withdrawalMessage__3VM6x\",\"balanceLoading\":\"payment-action_balanceLoading__TTW9X\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"menuContainer\":\"admin-dashboard-menu_menuContainer__18N83\",\"menuText\":\"admin-dashboard-menu_menuText__1je-a\",\"developerSeparator\":\"admin-dashboard-menu_developerSeparator__10AoR\",\"activeMenu\":\"admin-dashboard-menu_activeMenu__3If1X\",\"menuItemContainer\":\"admin-dashboard-menu_menuItemContainer__1m2vg\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"merchant-pdq-list_container__bNWcf\",\"searchPaper\":\"merchant-pdq-list_searchPaper__1X3YP\",\"logo\":\"merchant-pdq-list_logo__2VPBc\",\"nameLink\":\"merchant-pdq-list_nameLink__3qrkZ\",\"nameColumn\":\"merchant-pdq-list_nameColumn__1eem_\",\"midColumn\":\"merchant-pdq-list_midColumn__1kqHI\",\"dateColumn\":\"merchant-pdq-list_dateColumn__zNjgL\",\"resellerLabel\":\"merchant-pdq-list_resellerLabel__yartG\",\"resellerIdField\":\"merchant-pdq-list_resellerIdField__1_dSp\",\"searchMerchants\":\"merchant-pdq-list_searchMerchants__2ipY9\",\"newMerchantbutton\":\"merchant-pdq-list_newMerchantbutton__v44J1\",\"selectInput\":\"merchant-pdq-list_selectInput__21Xoz\",\"formControl\":\"merchant-pdq-list_formControl__1q4sR\",\"searchAllButton\":\"merchant-pdq-list_searchAllButton__1xnKz\",\"doneIconStyle\":\"merchant-pdq-list_doneIconStyle__1zEMl\",\"logoImage\":\"merchant-pdq-list_logoImage__2d7Di\",\"addressColumn\":\"merchant-pdq-list_addressColumn__1KvPf\",\"searchContainer\":\"merchant-pdq-list_searchContainer__3aXaw\",\"searchButton\":\"merchant-pdq-list_searchButton__2wVZy\",\"resellerId\":\"merchant-pdq-list_resellerId__-0oqD\",\"resellerHeader\":\"merchant-pdq-list_resellerHeader__2gg7I\",\"copyIcon\":\"merchant-pdq-list_copyIcon__1iREq\",\"textInput\":\"merchant-pdq-list_textInput__13HT3\",\"emailCell\":\"merchant-pdq-list_emailCell__1Vbvf\",\"applicationDiv\":\"merchant-pdq-list_applicationDiv__3Scfv\",\"applicationId\":\"merchant-pdq-list_applicationId__3wPH_\",\"logout\":\"merchant-pdq-list_logout__2TBOl\",\"menuText\":\"merchant-pdq-list_menuText__21Hm7\",\"loading\":\"merchant-pdq-list_loading__3Qs81\",\"accessNameButton\":\"merchant-pdq-list_accessNameButton__1zM0h\",\"header\":\"merchant-pdq-list_header__3AeWh\",\"rowData\":\"merchant-pdq-list_rowData__2nL_i\",\"accessButton\":\"merchant-pdq-list_accessButton__17Sk5\",\"TableContainer\":\"merchant-pdq-list_TableContainer__1j_aT\",\"radioButton\":\"merchant-pdq-list_radioButton__2YzaW\",\"pageTitle\":\"merchant-pdq-list_pageTitle__3tO-l\",\"flexDiv\":\"merchant-pdq-list_flexDiv__30epW\",\"filterreseller\":\"merchant-pdq-list_filterreseller__3pxjQ\",\"merchantName\":\"merchant-pdq-list_merchantName__3nP8O\",\"label\":\"merchant-pdq-list_label__14Qct\",\"labelText\":\"merchant-pdq-list_labelText__3OHEC\",\"clearFilter\":\"merchant-pdq-list_clearFilter__3VMii\",\"listItemContainer\":\"merchant-pdq-list_listItemContainer__gXOVe\",\"iconVerified\":\"merchant-pdq-list_iconVerified__3yTxw\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"topbar_content\":\"admin-dashboard-topbar_topbar_content__1P-ZA\",\"topbar_content__text\":\"admin-dashboard-topbar_topbar_content__text__26HKX\",\"topbar_content__icon\":\"admin-dashboard-topbar_topbar_content__icon__8RIUX\"};","export const Status = {\n UNCHEKED: 0,\n SUCCESS: 1,\n ERROR: 2\n};\n\nexport const withdrawalStatus = {\n ALLOW_WITHDRAWAL: 1\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"dialogContent\":\"dna-form-modal_dialogContent__30AU8\",\"dialog\":\"dna-form-modal_dialog__1gZJ7\",\"icon\":\"dna-form-modal_icon__2-jQI\",\"pricingMatrix\":\"dna-form-modal_pricingMatrix__13hUt\",\"Input\":\"dna-form-modal_Input__2a7vK\",\"inputDisable\":\"dna-form-modal_inputDisable__2WnCk\",\"counterBtn\":\"dna-form-modal_counterBtn__2Zu3j\",\"sendBtn\":\"dna-form-modal_sendBtn__2vIli\",\"dialogHeader\":\"dna-form-modal_dialogHeader__1xvbo\",\"daialogbox\":\"dna-form-modal_daialogbox__3UGC6\",\"phoneInput\":\"dna-form-modal_phoneInput__2Tnmc\",\"emailField\":\"dna-form-modal_emailField__UOQ6d\",\"inputNumber\":\"dna-form-modal_inputNumber__2wKQS\",\"error_icon\":\"dna-form-modal_error_icon__nnsy3\",\"require\":\"dna-form-modal_require__1XZLB\"};","export const DocumentStatus = {\n SUCCESS: 'SUCCESS',\n ERROR: 'ERROR'\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"listChargeback\":\"listchargeback_listChargeback__3ZvgR\",\"paper\":\"listchargeback_paper__3oumA\",\"header\":\"listchargeback_header__1MbCn\",\"tableDataCell\":\"listchargeback_tableDataCell__3FImo\",\"mainContainer\":\"listchargeback_mainContainer__1ecJP\",\"chargebackNone\":\"listchargeback_chargebackNone__gUh__\",\"label\":\"listchargeback_label__1noLL\",\"TableContainer\":\"listchargeback_TableContainer__LlKqe\",\"processRefundButton\":\"listchargeback_processRefundButton__2Gwx1\",\"searchMerchants\":\"listchargeback_searchMerchants__1Ddab\",\"searchArea\":\"listchargeback_searchArea__CX0Sf\",\"title\":\"listchargeback_title__2PtFQ\",\"searchButton\":\"listchargeback_searchButton__3LXjn\",\"searchDate\":\"listchargeback_searchDate__3ACtd\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"switchContainer\":\"onboarding-transaction-profile-step-one_switchContainer__2VnLy\",\"yes_no_Switch\":\"onboarding-transaction-profile-step-one_yes_no_Switch__2-wlH\",\"checkBoxText\":\"onboarding-transaction-profile-step-one_checkBoxText__1PNUP\",\"whiteRoundBorders\":\"onboarding-transaction-profile-step-one_whiteRoundBorders__SO237\",\"inBorderText\":\"onboarding-transaction-profile-step-one_inBorderText__2opyT\",\"nonRoundBorders\":\"onboarding-transaction-profile-step-one_nonRoundBorders__B7vsM\",\"arrows\":\"onboarding-transaction-profile-step-one_arrows__2FEqj\",\"inputContainer\":\"onboarding-transaction-profile-step-one_inputContainer__2-dKl\",\"combo-box-demo\":\"onboarding-transaction-profile-step-one_combo-box-demo__VOh7d\",\"MuiAutocomplete-inputRoot\":\"onboarding-transaction-profile-step-one_MuiAutocomplete-inputRoot__w0H_3\",\"borderItems\":\"onboarding-transaction-profile-step-one_borderItems__3s8M1\",\"withSpasing\":\"onboarding-transaction-profile-step-one_withSpasing__2fedY\",\"disabledText\":\"onboarding-transaction-profile-step-one_disabledText__1YB2m\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"title\":\"document-review_title__1t_IR\",\"documentReviewContainer\":\"document-review_documentReviewContainer__28-JU\",\"documentTable\":\"document-review_documentTable__2fPND\",\"documentFileName\":\"document-review_documentFileName__2Ka70\",\"documentUploadDate\":\"document-review_documentUploadDate__o-jQz\",\"inputlabel\":\"document-review_inputlabel__1gXAt\",\"documentStatusCell\":\"document-review_documentStatusCell__3N3d1\",\"documentSelectReason\":\"document-review_documentSelectReason__1HSRy\",\"selectDocType\":\"document-review_selectDocType__3wBR0\",\"selectDocumentReviewReason\":\"document-review_selectDocumentReviewReason__2Nwr7\",\"fileName\":\"document-review_fileName__IeiuF\",\"adyenUpload\":\"document-review_adyenUpload__3tOVV\",\"documentPagination\":\"document-review_documentPagination__2dM5P\",\"documentReviewStatus\":\"document-review_documentReviewStatus__10ake\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"header\":\"list-refund_header__1x_II\",\"tableDataCell\":\"list-refund_tableDataCell__24Cb-\",\"tableRefundCell\":\"list-refund_tableRefundCell__16G0F\",\"row\":\"list-refund_row__3drb4\",\"mainContainer\":\"list-refund_mainContainer__1BQ_4\",\"calenderDiv\":\"list-refund_calenderDiv__2VOVn\",\"refundsNone\":\"list-refund_refundsNone__2KrZm\",\"rangeDiv\":\"list-refund_rangeDiv__2gm4C\",\"rangeSelect\":\"list-refund_rangeSelect__3NOmI\",\"label\":\"list-refund_label__2eWvy\",\"selectInput\":\"list-refund_selectInput__2SAzQ\",\"TableContainer\":\"list-refund_TableContainer__3mcX5\",\"navButton\":\"list-refund_navButton__2E6I5\",\"refundProcess\":\"list-refund_refundProcess__1soRU\",\"viewButton\":\"list-refund_viewButton__1L51O\",\"viewButtonName\":\"list-refund_viewButtonName__3KWg-\",\"processRefundButton\":\"list-refund_processRefundButton__2Jvzc\",\"searchMerchants\":\"list-refund_searchMerchants__1uP6b\",\"processRefundText\":\"list-refund_processRefundText__3XuRd\",\"refundContainer\":\"list-refund_refundContainer__3dJ6w\",\"searchArea\":\"list-refund_searchArea__2Lw4m\",\"searchButton\":\"list-refund_searchButton__3jAV1\",\"divTitle\":\"list-refund_divTitle__3VKDq\",\"title\":\"list-refund_title__2gyAw\",\"tableSearch\":\"list-refund_tableSearch__w2ve5\",\"refundProcessDialog\":\"list-refund_refundProcessDialog__2FQtW\",\"leaveBtn\":\"list-refund_leaveBtn__hIFtQ\",\"searchDate\":\"list-refund_searchDate__VYo07\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"signUpForm\":\"signup-form_signUpForm__3ovh-\",\"gridContainer\":\"signup-form_gridContainer__1pdPq\",\"signUpFormButton\":\"signup-form_signUpFormButton__3yMOj\",\"loading\":\"signup-form_loading__3e9-2\",\"userName\":\"signup-form_userName__1a-6D\",\"signUpButton\":\"signup-form_signUpButton__8IJXP\",\"signUpButtonDisabled\":\"signup-form_signUpButtonDisabled__1hvWr\",\"linkToSignUp\":\"signup-form_linkToSignUp__2Hmvp\",\"socialAccountLink\":\"signup-form_socialAccountLink__2Na7T\",\"phoneInput\":\"signup-form_phoneInput__3soXr\",\"crossIcon\":\"signup-form_crossIcon__abv-9\",\"validationText\":\"signup-form_validationText__2HKOq\",\"validationTextContainer\":\"signup-form_validationTextContainer__1xTNp\",\"validaion__messages\":\"signup-form_validaion__messages__3JXvX\",\"formControl\":\"signup-form_formControl__3sVV1\",\"expiryPageContainer\":\"signup-form_expiryPageContainer__2eQVF\",\"leftContainer\":\"signup-form_leftContainer__1AqYr\",\"rightContainer\":\"signup-form_rightContainer__2h77G\",\"rightContainerData\":\"signup-form_rightContainerData__jyxkT\",\"circle\":\"signup-form_circle__28m80\",\"footer\":\"signup-form_footer__2pA9s\",\"loader\":\"signup-form_loader__1CRtz\",\"homeLogo\":\"signup-form_homeLogo__145Qy\",\"getOtpButton\":\"signup-form_getOtpButton__2Ud-r\",\"flexContainer\":\"signup-form_flexContainer__sCTT7\",\"otpButtonDisabled\":\"signup-form_otpButtonDisabled__2L9Ck\",\"otpButtonEnabled\":\"signup-form_otpButtonEnabled__Ofmzr\",\"otpTxt\":\"signup-form_otpTxt__3PeGT\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"validationNote\":\"password-validation_validationNote__1tz4F\",\"doneIcon\":\"password-validation_doneIcon__1PxlU\",\"bulletIcon\":\"password-validation_bulletIcon__3EZiN\",\"crossIcon\":\"password-validation_crossIcon__p3TQt\",\"validationText\":\"password-validation_validationText__rQw9_\",\"validationTextContainer\":\"password-validation_validationTextContainer__1bsss\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container_title\":\"generic-qr-code-info_container_title__1ca3g\",\"table\":\"generic-qr-code-info_table__3g74Y\",\"navContainer\":\"generic-qr-code-info_navContainer__3UGR7\",\"buttonColor\":\"generic-qr-code-info_buttonColor__skuz1\",\"createbtn\":\"generic-qr-code-info_createbtn__1TKEH\",\"settingsContainer\":\"generic-qr-code-info_settingsContainer__RZwrg\",\"mainContainer\":\"generic-qr-code-info_mainContainer__1WBDE\",\"linkEllipse\":\"generic-qr-code-info_linkEllipse__1KsqD\",\"textInput\":\"generic-qr-code-info_textInput__hdAWO\",\"inputlabel\":\"generic-qr-code-info_inputlabel__1G7l4\",\"selectInput\":\"generic-qr-code-info_selectInput__3_ADN\",\"customInput\":\"generic-qr-code-info_customInput__P_Zu9\",\"select\":\"generic-qr-code-info_select__3v-2N\",\"filterDiv\":\"generic-qr-code-info_filterDiv__3JNa7\",\"filterContainer\":\"generic-qr-code-info_filterContainer__3MbOS\",\"createQrContainer\":\"generic-qr-code-info_createQrContainer__2Ci2X\",\"shortText\":\"generic-qr-code-info_shortText__vKH5D\",\"qrCode\":\"generic-qr-code-info_qrCode__Beohf\",\"pageTitle\":\"generic-qr-code-info_pageTitle__2uuVV\",\"copyIcon\":\"generic-qr-code-info_copyIcon__1UvvF\",\"qrfieldStyle\":\"generic-qr-code-info_qrfieldStyle__3vEjK\",\"qrTitle\":\"generic-qr-code-info_qrTitle__2HstS\",\"outline\":\"generic-qr-code-info_outline__3tJzr\",\"selctbtn\":\"generic-qr-code-info_selctbtn__3H-ef\",\"qrIdInput\":\"generic-qr-code-info_qrIdInput__QV_mI\",\"mobileQrSelctor\":\"generic-qr-code-info_mobileQrSelctor__3HBY_\",\"expiredStatus\":\"generic-qr-code-info_expiredStatus__2U3R8\",\"activeStatus\":\"generic-qr-code-info_activeStatus__mC7XX\",\"loading\":\"generic-qr-code-info_loading__1R6MK\",\"slide-pane__overlay\":\"generic-qr-code-info_slide-pane__overlay__2OUvG\",\"overlay-after-open\":\"generic-qr-code-info_overlay-after-open__2JQVn\",\"createQrBtn\":\"generic-qr-code-info_createQrBtn__dhyrm\",\"createQrmobile\":\"generic-qr-code-info_createQrmobile__28l0B\",\"mobilenavContainer\":\"generic-qr-code-info_mobilenavContainer__L8M6O\",\"filterBtn\":\"generic-qr-code-info_filterBtn__1Unji\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"loginForm\":\"login-form_loginForm__1V2DG\",\"loginFormButton\":\"login-form_loginFormButton__Qe2Ak\",\"verifyBtn\":\"login-form_verifyBtn__q8bbe\",\"verifyCodeBtn\":\"login-form_verifyCodeBtn__fOHl9\",\"loading\":\"login-form_loading__1WPoG\",\"alertError\":\"login-form_alertError__3l8yB\",\"linkToSignUp\":\"login-form_linkToSignUp__3B5wX\",\"loginButton\":\"login-form_loginButton__1xZoM\",\"alert_message\":\"login-form_alert_message__1diGQ\",\"alertResetPassword\":\"login-form_alertResetPassword__1MjtT\",\"passwordLessForm\":\"login-form_passwordLessForm__2-882\",\"passwordLessInput\":\"login-form_passwordLessInput__3b7iK\",\"passwordLessButton\":\"login-form_passwordLessButton__1s9fU\",\"headerInfo\":\"login-form_headerInfo__2looU\",\"resend\":\"login-form_resend__9xTKU\",\"phoneInput\":\"login-form_phoneInput__1wqiQ\",\"orSpan\":\"login-form_orSpan__3AWTK\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"settingsContainer\":\"merchant-settings_settingsContainer__2GXRx\",\"divTitle\":\"merchant-settings_divTitle__eskf-\",\"settingsTitle\":\"merchant-settings_settingsTitle__2pKXr\",\"container\":\"merchant-settings_container__3BSdy\",\"navContainer\":\"merchant-settings_navContainer__3mPcg\",\"settings__buttons\":\"merchant-settings_settings__buttons__2lZZM\",\"notificationContainer\":\"merchant-settings_notificationContainer__aOY-O\",\"success_icon\":\"merchant-settings_success_icon__unpZl\",\"notification\":\"merchant-settings_notification__6yaZh\",\"mainContainer\":\"merchant-settings_mainContainer__28Alr\",\"listItemStyle\":\"merchant-settings_listItemStyle__3I3T2\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"containerDiv\":\"page-header_containerDiv__bamfJ\",\"merchantChargesContainer\":\"page-header_merchantChargesContainer__3Im-O\",\"exportSelect\":\"page-header_exportSelect__2uEp-\",\"filterBtn\":\"page-header_filterBtn__3Uinv\",\"menuItem\":\"page-header_menuItem__ZTMlQ\",\"flexDiv\":\"page-header_flexDiv__2oOhd\",\"select\":\"page-header_select__1KDQj\",\"selectOne\":\"page-header_selectOne__1KIiS\",\"filterIcon\":\"page-header_filterIcon__uyJnS\",\"pageTitle\":\"page-header_pageTitle__3-vlU\",\"rangeSelect\":\"page-header_rangeSelect__jQg3l\",\"rangeSelectOne\":\"page-header_rangeSelectOne__1MsgV\",\"rangeSelectTwo\":\"page-header_rangeSelectTwo__1Ra9E\",\"addSpecialRentBtn\":\"page-header_addSpecialRentBtn__3A3mh\",\"internalTransferPending\":\"page-header_internalTransferPending__3O1Rv\",\"datepicker\":\"page-header_datepicker__1_Lrl\",\"daterangepicker\":\"page-header_daterangepicker__3XE9u\",\"filterButton\":\"page-header_filterButton__19HLR\",\"selectedButton\":\"page-header_selectedButton__2VjWb\",\"__range-picker-container\":\"page-header___range-picker-container__12kl-\",\"calendar\":\"page-header_calendar__2r0jU\",\"mobileMC\":\"page-header_mobileMC__1WgT4\",\"exportButton\":\"page-header_exportButton__B4Gkh\",\"payoutFlexDiv\":\"page-header_payoutFlexDiv__3vm4P\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"divTitle\":\"client-registration_divTitle__3nnFW\",\"registerContainer\":\"client-registration_registerContainer__21nJG\",\"registrationTitle\":\"client-registration_registrationTitle__3AHOe\",\"formContainer\":\"client-registration_formContainer__7ZkM6\",\"configContainer\":\"client-registration_configContainer__2AMOQ\",\"formTitle\":\"client-registration_formTitle__397qQ\",\"btnContainer\":\"client-registration_btnContainer__28OVo\",\"submitBtn\":\"client-registration_submitBtn__2pbR8\",\"configTitle\":\"client-registration_configTitle__YVXHD\",\"productBox\":\"client-registration_productBox__2zHDh\",\"productsTitle\":\"client-registration_productsTitle__3s6ee\",\"productsContainer\":\"client-registration_productsContainer__1rfG3\",\"dropDown\":\"client-registration_dropDown__2tzva\",\"PhoneInput\":\"client-registration_PhoneInput__2zPAX\",\"titleGrid\":\"client-registration_titleGrid__3YhDG\",\"listContainer\":\"client-registration_listContainer__3wv5r\",\"codeInput\":\"client-registration_codeInput__2wEBV\",\"codeInput__input\":\"client-registration_codeInput__input__2g0We\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"radio_btn\":\"modal-merchant-charges_radio_btn__-oy-i\",\"dialog\":\"modal-merchant-charges_dialog__ZrNb4\",\"table\":\"modal-merchant-charges_table__1MlU1\",\"formContainer\":\"modal-merchant-charges_formContainer__o5OQh\",\"formContainerItem\":\"modal-merchant-charges_formContainerItem__16WLK\",\"dialogContent\":\"modal-merchant-charges_dialogContent__22FfQ\",\"refundProcess\":\"modal-merchant-charges_refundProcess__2DHUh\",\"bannerPara\":\"modal-merchant-charges_bannerPara__uqQJy\",\"dropdown\":\"modal-merchant-charges_dropdown__rOIcN\",\"specialRentDialog\":\"modal-merchant-charges_specialRentDialog__1_KrB\",\"dialogbtn\":\"modal-merchant-charges_dialogbtn__196nb\",\"dialogTitle\":\"modal-merchant-charges_dialogTitle__1ns2L\",\"rentValue\":\"modal-merchant-charges_rentValue__3uNAm\",\"title\":\"modal-merchant-charges_title__2egbo\",\"rentfields\":\"modal-merchant-charges_rentfields__2uNY2\",\"closeIcon\":\"modal-merchant-charges_closeIcon__3b7VI\",\"datePicker\":\"modal-merchant-charges_datePicker__1hen7\",\"amountAlert\":\"modal-merchant-charges_amountAlert__1e7Ov\",\"select\":\"modal-merchant-charges_select__1aPKX\",\"tableDataCell\":\"modal-merchant-charges_tableDataCell__31eiz\",\"TableContainer\":\"modal-merchant-charges_TableContainer__2EDoJ\",\"nameColumn\":\"modal-merchant-charges_nameColumn__3DPxF\",\"nameColumnCell\":\"modal-merchant-charges_nameColumnCell__WPTOQ\",\"merchantName\":\"modal-merchant-charges_merchantName__1Ut4y\",\"numberInput\":\"modal-merchant-charges_numberInput__3fZSP\",\"modalContainer\":\"modal-merchant-charges_modalContainer__1Bd8U\"};","import { createBrowserHistory } from 'history';\n\nexport default createBrowserHistory();\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"primaryOwner\":\"onboarding-owner-details_primaryOwner__6ijbg\",\"formItemGrid\":\"onboarding-owner-details_formItemGrid__86rg9\",\"dateOfBirthWrapper\":\"onboarding-owner-details_dateOfBirthWrapper__1L4Y6\",\"selectContainer\":\"onboarding-owner-details_selectContainer__1RKyK\",\"ownershipLabel\":\"onboarding-owner-details_ownershipLabel__2LyOs\",\"numberFormatInput\":\"onboarding-owner-details_numberFormatInput__2qcYN\",\"containsErrorDOB\":\"onboarding-owner-details_containsErrorDOB__3prwj\",\"phoneInput\":\"onboarding-owner-details_phoneInput__Bkxx6\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"tabsDiv\":\"payments-list-table_tabsDiv__2P9Nx\",\"paymentsNone\":\"payments-list-table_paymentsNone__26DZt\",\"filterLink\":\"payments-list-table_filterLink__3QNVm\",\"resultSpan\":\"payments-list-table_resultSpan__1b03g\",\"currencySpan\":\"payments-list-table_currencySpan__XEYgR\",\"paragraphCurrency\":\"payments-list-table_paragraphCurrency__1TT-D\",\"refundDescription\":\"payments-list-table_refundDescription__3gvz3\",\"nameAddressColumn\":\"payments-list-table_nameAddressColumn__2h7gt\",\"dateColumn\":\"payments-list-table_dateColumn__2HHf9\",\"refundColumn\":\"payments-list-table_refundColumn__s2pM8\",\"status\":\"payments-list-table_status__1CtKK\",\"tableRow\":\"payments-list-table_tableRow__yt-iU\",\"amountColumn\":\"payments-list-table_amountColumn__25KAq\",\"actionsColumn\":\"payments-list-table_actionsColumn__3sCZJ\",\"mobileViewTransactionDetails\":\"payments-list-table_mobileViewTransactionDetails__3TBPZ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"boxStyle\":\"modal-export-report-schedule_boxStyle__PdRQN\",\"dialogContentTextField\":\"modal-export-report-schedule_dialogContentTextField__37oGa\",\"dialogContentTextFieldWeekly\":\"modal-export-report-schedule_dialogContentTextFieldWeekly__PWC60\",\"dialogContentTextFieldTo\":\"modal-export-report-schedule_dialogContentTextFieldTo__lhxiC\",\"dialogContentDatePickerVariant\":\"modal-export-report-schedule_dialogContentDatePickerVariant__3CESa\",\"dialogContentDatePicker\":\"modal-export-report-schedule_dialogContentDatePicker__3uj1w\",\"dialog\":\"modal-export-report-schedule_dialog__3BwEf\",\"title\":\"modal-export-report-schedule_title__1OIVQ\",\"dialogContent\":\"modal-export-report-schedule_dialogContent__1zxFF\",\"dialogContento\":\"modal-export-report-schedule_dialogContento__31bpE\",\"dialogContentDownloadFormat\":\"modal-export-report-schedule_dialogContentDownloadFormat__iiORf\",\"dialogContentp\":\"modal-export-report-schedule_dialogContentp__i_6nv\",\"paraText\":\"modal-export-report-schedule_paraText__1KEOa\",\"paraTextCustom\":\"modal-export-report-schedule_paraTextCustom__1TG2w\",\"exportSelect\":\"modal-export-report-schedule_exportSelect__bk5tT\",\"selectTimeFrame\":\"modal-export-report-schedule_selectTimeFrame__3czwN\",\"datePicker\":\"modal-export-report-schedule_datePicker__1PK-b\",\"dialogActions\":\"modal-export-report-schedule_dialogActions__2W_B-\",\"downloadFormat\":\"modal-export-report-schedule_downloadFormat__1gTSw\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"selectStatus\":\"contract-rent_selectStatus__3sH13\",\"contractLabels\":\"contract-rent_contractLabels__1Kwft\",\"numberInput\":\"contract-rent_numberInput__2BicR\",\"requiredIcon\":\"contract-rent_requiredIcon__3-tJh\",\"labelText\":\"contract-rent_labelText__264ba\",\"updatebtn\":\"contract-rent_updatebtn__Oi6Fz\",\"mainGrid\":\"contract-rent_mainGrid__1UpkD\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"documentManagementContainer\":\"missing-merchant-document_documentManagementContainer__1BTTl\",\"pageTitle\":\"missing-merchant-document_pageTitle__2Avur\",\"documentManagementHeader\":\"missing-merchant-document_documentManagementHeader__3-Wf2\",\"managementArea\":\"missing-merchant-document_managementArea__V8wxw\",\"merchantDetails\":\"missing-merchant-document_merchantDetails__21CDV\",\"documentManagementButtonsContainer\":\"missing-merchant-document_documentManagementButtonsContainer__wP4NL\",\"noteInput\":\"missing-merchant-document_noteInput__cOCTl\",\"icon\":\"missing-merchant-document_icon__L_Kga\",\"documentTitle\":\"missing-merchant-document_documentTitle__jM8qT\",\"paper\":\"missing-merchant-document_paper__1Dpn8\",\"MerchantDetailsContainer\":\"missing-merchant-document_MerchantDetailsContainer__3Il62\",\"subTitle\":\"missing-merchant-document_subTitle__19ule\",\"title\":\"missing-merchant-document_title__N9fXW\",\"businessDetailContainer\":\"missing-merchant-document_businessDetailContainer__1UhGX\",\"ownerDetailsContainer\":\"missing-merchant-document_ownerDetailsContainer__2K34g\",\"phoneInput\":\"missing-merchant-document_phoneInput__2tEIA\",\"selectMerchantDetails\":\"missing-merchant-document_selectMerchantDetails__33DU4\",\"bankDetails\":\"missing-merchant-document_bankDetails__gLBXb\",\"codeInput\":\"missing-merchant-document_codeInput__7HjRR\",\"imageStyle\":\"missing-merchant-document_imageStyle__1STXZ\",\"dateOfBirthWrapper\":\"missing-merchant-document_dateOfBirthWrapper__1VFQd\",\"numberFormatInput\":\"missing-merchant-document_numberFormatInput__1gXQP\",\"container\":\"missing-merchant-document_container__1P1FE\",\"containsErrorDOB\":\"missing-merchant-document_containsErrorDOB__3OXhg\",\"errorview\":\"missing-merchant-document_errorview__-Xots\",\"dialogWrapper\":\"missing-merchant-document_dialogWrapper__2KQ56\",\"dialogWrapper__dialogBody\":\"missing-merchant-document_dialogWrapper__dialogBody__2KGuC\",\"dialogWrapper__dialogBody__titleBar\":\"missing-merchant-document_dialogWrapper__dialogBody__titleBar__jKZiA\",\"dialogWrapper__dialogBody__titleBar__merchantName\":\"missing-merchant-document_dialogWrapper__dialogBody__titleBar__merchantName__RaXIn\",\"dialogWrapper__dialogBody__titleBar__merchantName__link\":\"missing-merchant-document_dialogWrapper__dialogBody__titleBar__merchantName__link__2OaUs\",\"dialogWrapper__dialogBody__titleBar__fileName\":\"missing-merchant-document_dialogWrapper__dialogBody__titleBar__fileName__3oX1H\",\"dialogWrapper__dialogBody__titleBar__documentNumber\":\"missing-merchant-document_dialogWrapper__dialogBody__titleBar__documentNumber__3BCAV\",\"dialogWrapper__dialogBody__imageWrapper\":\"missing-merchant-document_dialogWrapper__dialogBody__imageWrapper__2GmkO\",\"dialogWrapper__dialogBody__imageWrapper__imageContainer\":\"missing-merchant-document_dialogWrapper__dialogBody__imageWrapper__imageContainer__3taaw\",\"dialogWrapper__dialogBody__imageWrapper__imageContainer__imageDiv\":\"missing-merchant-document_dialogWrapper__dialogBody__imageWrapper__imageContainer__imageDiv__2Fiyu\",\"dialogWrapper__dialogBody__imageWrapper__imageContainer__text\":\"missing-merchant-document_dialogWrapper__dialogBody__imageWrapper__imageContainer__text__28lQm\",\"dialogWrapper__dialogBody__imageWrapper__imageContainer__loading\":\"missing-merchant-document_dialogWrapper__dialogBody__imageWrapper__imageContainer__loading__32UCk\",\"dialogWrapper__dialogBody__imageWrapper__imageContainer__iframe\":\"missing-merchant-document_dialogWrapper__dialogBody__imageWrapper__imageContainer__iframe__K9rUz\",\"dialogWrapper__dialogBody__imageWrapper__navArrow\":\"missing-merchant-document_dialogWrapper__dialogBody__imageWrapper__navArrow__1GIwE\",\"dialogWrapper__dialogBody__imageWrapper__navArrow__button\":\"missing-merchant-document_dialogWrapper__dialogBody__imageWrapper__navArrow__button__HoZzq\",\"dialogWrapper__dialogBody__actionsWrapper\":\"missing-merchant-document_dialogWrapper__dialogBody__actionsWrapper__2D4Kw\",\"dialogWrapper__dialogBody__actionsWrapper__button\":\"missing-merchant-document_dialogWrapper__dialogBody__actionsWrapper__button__3WeVX\",\"dialogWrapper__dialogBody__notesWrapper\":\"missing-merchant-document_dialogWrapper__dialogBody__notesWrapper__gkQl2\",\"dialogWrapper__dialogBody__notesWrapper__button\":\"missing-merchant-document_dialogWrapper__dialogBody__notesWrapper__button__3ghZW\",\"dialogWrapper__dialogBody__notesWrapper__errorMsg\":\"missing-merchant-document_dialogWrapper__dialogBody__notesWrapper__errorMsg__3g289\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"adyen-merchant-list_container__1Rch1\",\"tableDataCell\":\"adyen-merchant-list_tableDataCell__2WzBQ\",\"noneData\":\"adyen-merchant-list_noneData__1EuJt\",\"TableContainer\":\"adyen-merchant-list_TableContainer__27GY7\",\"searchButton\":\"adyen-merchant-list_searchButton__5L5NP\",\"searchMerchants\":\"adyen-merchant-list_searchMerchants__1gaa4\",\"search_form\":\"adyen-merchant-list_search_form__3Rcvo\",\"rowstyle\":\"adyen-merchant-list_rowstyle__1gzeF\",\"inputlabel\":\"adyen-merchant-list_inputlabel__2jfDu\",\"adeynFilter\":\"adyen-merchant-list_adeynFilter__1nimB\",\"adyenFilterInputProps\":\"adyen-merchant-list_adyenFilterInputProps__2DN7T\",\"copyIconContainer\":\"adyen-merchant-list_copyIconContainer__2Etz3\",\"copyIcon\":\"adyen-merchant-list_copyIcon__3VZUk\",\"textInput\":\"adyen-merchant-list_textInput__3pgDS\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"sectionTitle\":\"stripe-payouts-summary-and-transactions_sectionTitle__ENiiY\",\"overflowX\":\"stripe-payouts-summary-and-transactions_overflowX__2L_o3\",\"summaryDivContainer\":\"stripe-payouts-summary-and-transactions_summaryDivContainer__27iMc\",\"transactionsDivContainer\":\"stripe-payouts-summary-and-transactions_transactionsDivContainer__2p6V4\",\"totalPayouts\":\"stripe-payouts-summary-and-transactions_totalPayouts__1b-Oz\",\"transactionsHeader\":\"stripe-payouts-summary-and-transactions_transactionsHeader__3pofW\",\"exportButton\":\"stripe-payouts-summary-and-transactions_exportButton__s0RUf\",\"alignLeft\":\"stripe-payouts-summary-and-transactions_alignLeft__2rLEd\",\"transactionType\":\"stripe-payouts-summary-and-transactions_transactionType__1zhlA\",\"divTableFooter\":\"stripe-payouts-summary-and-transactions_divTableFooter__3Y1u4\",\"amountSpan\":\"stripe-payouts-summary-and-transactions_amountSpan__17HvL\",\"columnSpan\":\"stripe-payouts-summary-and-transactions_columnSpan__3MAbg\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"admin-pending-merchants_container__2Ezhg\",\"loading\":\"admin-pending-merchants_loading__Kn7V0\",\"idsColumn\":\"admin-pending-merchants_idsColumn__2SU_v\",\"searchPaper\":\"admin-pending-merchants_searchPaper__1BnM1\",\"searchMerchants\":\"admin-pending-merchants_searchMerchants__3ufzl\",\"searchButton\":\"admin-pending-merchants_searchButton__3CA-e\",\"search_form\":\"admin-pending-merchants_search_form__3KIzN\",\"pending__check_box\":\"admin-pending-merchants_pending__check_box__3bDhy\",\"nameColumn\":\"admin-pending-merchants_nameColumn__r35Uw\",\"postcodeColumn\":\"admin-pending-merchants_postcodeColumn__2IutK\",\"inputlabel\":\"admin-pending-merchants_inputlabel__2YwBL\",\"formControl\":\"admin-pending-merchants_formControl__131yu\",\"selectInput\":\"admin-pending-merchants_selectInput__3ja2G\",\"paymentsNone\":\"admin-pending-merchants_paymentsNone__3M_Ej\",\"resellerIdColumn\":\"admin-pending-merchants_resellerIdColumn__167pU\",\"copyIconContainer\":\"admin-pending-merchants_copyIconContainer__3AXpj\",\"copyIcon\":\"admin-pending-merchants_copyIcon__2WsA5\",\"textInput\":\"admin-pending-merchants_textInput__2MnyT\",\"idContainer\":\"admin-pending-merchants_idContainer__2M6rc\",\"resellerNameStyle\":\"admin-pending-merchants_resellerNameStyle__1I8eg\",\"tableContainer\":\"admin-pending-merchants_tableContainer__1Ymug\",\"merchantName\":\"admin-pending-merchants_merchantName__3mP8I\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"dialog\":\"modal-chargeback-list-action_dialog__2puN5\",\"table\":\"modal-chargeback-list-action_table__3MwMV\",\"dialogContent\":\"modal-chargeback-list-action_dialogContent__22G88\",\"refundProcess\":\"modal-chargeback-list-action_refundProcess__2hmH2\",\"bannerPara\":\"modal-chargeback-list-action_bannerPara__3xpja\",\"dropdown\":\"modal-chargeback-list-action_dropdown__3qy-f\",\"dialogbtn\":\"modal-chargeback-list-action_dialogbtn__3gCJp\",\"dialogTitle\":\"modal-chargeback-list-action_dialogTitle__86F7R\",\"title\":\"modal-chargeback-list-action_title__2DVnY\",\"formContainer\":\"modal-chargeback-list-action_formContainer__3678T\",\"closeIcon\":\"modal-chargeback-list-action_closeIcon__3gic-\",\"radio_btn\":\"modal-chargeback-list-action_radio_btn__lvfFE\",\"datePicker\":\"modal-chargeback-list-action_datePicker__1RmM4\",\"datePickerReason\":\"modal-chargeback-list-action_datePickerReason__1NIFW\",\"rentValue\":\"modal-chargeback-list-action_rentValue__SFVvp\",\"select\":\"modal-chargeback-list-action_select__1qB-e\",\"tableDataCell\":\"modal-chargeback-list-action_tableDataCell__2h7WF\",\"TableContainer\":\"modal-chargeback-list-action_TableContainer__3CnVQ\",\"label\":\"modal-chargeback-list-action_label__1bAco\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"urgentMessageBanner\":\"urgent-message_urgentMessageBanner__3_zJs\",\"datePickerContainer\":\"urgent-message_datePickerContainer__2_vKJ\",\"startDatePick\":\"urgent-message_startDatePick__1W-kF\",\"endDateDatePick\":\"urgent-message_endDateDatePick__gWveF\",\"subject\":\"urgent-message_subject__1qZyS\",\"messageUrgentMessage\":\"urgent-message_messageUrgentMessage__pANE-\",\"buttonsUrgentMessage\":\"urgent-message_buttonsUrgentMessage__3PJVr\",\"deleteIcon\":\"urgent-message_deleteIcon__3YQkQ\",\"cancelBtn\":\"urgent-message_cancelBtn__2D9sl\",\"actionsContainer\":\"urgent-message_actionsContainer__133x9\",\"errorAlert\":\"urgent-message_errorAlert__1gKUI\",\"formContainer\":\"urgent-message_formContainer__DEbAZ\",\"inputMessage\":\"urgent-message_inputMessage__1Gbm9\",\"datePicker\":\"urgent-message_datePicker__2Rmgk\",\"datePickerWidth\":\"urgent-message_datePickerWidth__2JhOA\",\"buttonDisabled\":\"urgent-message_buttonDisabled__2Wlab\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"newMerchantContainer\":\"canonical-reseller-new-merchant_newMerchantContainer__1R-GM\",\"headerDiv\":\"canonical-reseller-new-merchant_headerDiv__34TI7\",\"legalNameStyles\":\"canonical-reseller-new-merchant_legalNameStyles__3kBKo\",\"pageTitle\":\"canonical-reseller-new-merchant_pageTitle__2qivL\",\"formContainer\":\"canonical-reseller-new-merchant_formContainer__1JcG7\",\"btnContainer\":\"canonical-reseller-new-merchant_btnContainer__2lrhd\",\"legalNameStyles1\":\"canonical-reseller-new-merchant_legalNameStyles1__2aJCa\",\"closeButtonStyle\":\"canonical-reseller-new-merchant_closeButtonStyle__2q4AN\",\"submitBtn\":\"canonical-reseller-new-merchant_submitBtn__1dly-\",\"primaryActionBtn\":\"canonical-reseller-new-merchant_primaryActionBtn__3U-sM\",\"secondaryActionBtn\":\"canonical-reseller-new-merchant_secondaryActionBtn__2X6RA\",\"secondaryButtonColor\":\"canonical-reseller-new-merchant_secondaryButtonColor__13TdF\",\"primaryButtonColor\":\"canonical-reseller-new-merchant_primaryButtonColor__1DLKK\",\"addressContainer\":\"canonical-reseller-new-merchant_addressContainer__If4W2\",\"margin\":\"canonical-reseller-new-merchant_margin__3bEsZ\",\"balanceCurrencySign\":\"canonical-reseller-new-merchant_balanceCurrencySign__2yjlf\",\"phoneInput\":\"canonical-reseller-new-merchant_phoneInput__2KZeR\",\"disabledPhoneInput\":\"canonical-reseller-new-merchant_disabledPhoneInput__26HlL\",\"textFieldMid\":\"canonical-reseller-new-merchant_textFieldMid__26imA\",\"dropDown\":\"canonical-reseller-new-merchant_dropDown__13YaH\",\"customOutlineInput\":\"canonical-reseller-new-merchant_customOutlineInput__1WUBI\",\"multiSelectCss\":\"canonical-reseller-new-merchant_multiSelectCss__2_XGj\",\"notificationMessageContainer\":\"canonical-reseller-new-merchant_notificationMessageContainer__Qf1ml\",\"paper\":\"canonical-reseller-new-merchant_paper__ZcQzk\",\"currencyStyle\":\"canonical-reseller-new-merchant_currencyStyle__3Zp5r\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"codeInput\":\"onboarding-address_codeInput__1Dsop\",\"codeInputIreland\":\"onboarding-address_codeInputIreland__3AWE_\",\"notificationContainer\":\"onboarding-address_notificationContainer__2Jfwc\",\"iconUnverified\":\"onboarding-address_iconUnverified__3HWVE\",\"iconContainer\":\"onboarding-address_iconContainer__2dr_w\",\"codeInputUnitedState\":\"onboarding-address_codeInputUnitedState__22_cu\",\"showMessageStyle\":\"onboarding-address_showMessageStyle__3sBUK\",\"errorIcon\":\"onboarding-address_errorIcon__125yj\",\"validIcon\":\"onboarding-address_validIcon__2mvRL\",\"accountContainer\":\"onboarding-address_accountContainer__3JNr1\",\"checkBoxLabel\":\"onboarding-address_checkBoxLabel__r27mc\",\"bankAccountValidationError\":\"onboarding-address_bankAccountValidationError__3BQdK\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"stepsContainer\":\"admin-dashboard-home_stepsContainer__3T20i\",\"accardionItem\":\"admin-dashboard-home_accardionItem__zrVyb\",\"list\":\"admin-dashboard-home_list__1YnrK\",\"listItem\":\"admin-dashboard-home_listItem__18gLk\",\"listItemLast\":\"admin-dashboard-home_listItemLast__1uYdE\",\"btnText\":\"admin-dashboard-home_btnText__1VAlu\",\"mainTitle\":\"admin-dashboard-home_mainTitle__3e9Ca\",\"accordionDetails\":\"admin-dashboard-home_accordionDetails__1NyuZ\",\"accordionDetailsBtn\":\"admin-dashboard-home_accordionDetailsBtn__23YsK\",\"textBold\":\"admin-dashboard-home_textBold__p1ibs\",\"listItemContainer\":\"admin-dashboard-home_listItemContainer__1onMR\",\"summaryContainer\":\"admin-dashboard-home_summaryContainer__9sFRH\",\"itemContainerText\":\"admin-dashboard-home_itemContainerText__2awa7\",\"linkFont\":\"admin-dashboard-home_linkFont__3cpgw\",\"expandedBackGroundColor\":\"admin-dashboard-home_expandedBackGroundColor__2PRGa\",\"closeBtn\":\"admin-dashboard-home_closeBtn__1XDjr\",\"tableContainer\":\"admin-dashboard-home_tableContainer__2QPRj\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"canonicalResellerManagementContainer\":\"canonical-reseller-merchant-management_canonicalResellerManagementContainer__1hzI6\",\"pageTitle\":\"canonical-reseller-merchant-management_pageTitle__11f_N\",\"pageTitleContainer\":\"canonical-reseller-merchant-management_pageTitleContainer__xX0bS\",\"canonicalResellerManagementHeader\":\"canonical-reseller-merchant-management_canonicalResellerManagementHeader__3_gi_\",\"canonicalResellerContainer\":\"canonical-reseller-merchant-management_canonicalResellerContainer__sjpIw\",\"canonicalResellerIcon\":\"canonical-reseller-merchant-management_canonicalResellerIcon__31Ywl\",\"canonicalResellerName\":\"canonical-reseller-merchant-management_canonicalResellerName__-3V3q\",\"merchantListNone\":\"canonical-reseller-merchant-management_merchantListNone__2MbFx\",\"merchantName\":\"canonical-reseller-merchant-management_merchantName__3ZySm\",\"loading\":\"canonical-reseller-merchant-management_loading__3C7RE\",\"resellerManagemnt\":\"canonical-reseller-merchant-management_resellerManagemnt__1yjGH\",\"dilogbtn\":\"canonical-reseller-merchant-management_dilogbtn__1iHsV\",\"cancelBtn\":\"canonical-reseller-merchant-management_cancelBtn__1TwWa\",\"checkBoxLabel1\":\"canonical-reseller-merchant-management_checkBoxLabel1__EW2j8\",\"button\":\"canonical-reseller-merchant-management_button__2nj-T\",\"resellerButton\":\"canonical-reseller-merchant-management_resellerButton__13fna\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"containerDiv\":\"stripe-payout-details_containerDiv__BUkat\",\"payoutAmt\":\"stripe-payout-details_payoutAmt__3Ov0b\",\"transLabel\":\"stripe-payout-details_transLabel__2OzHD\",\"payout\":\"stripe-payout-details_payout__2vSuH\",\"sectionContainer\":\"stripe-payout-details_sectionContainer__2j4gp\",\"sectionTitle\":\"stripe-payout-details_sectionTitle__2woto\",\"sectionFields\":\"stripe-payout-details_sectionFields__3I0YC\",\"attribute\":\"stripe-payout-details_attribute__zbeoo\",\"attributedata\":\"stripe-payout-details_attributedata__1PpVD\",\"date_expected\":\"stripe-payout-details_date_expected__1zcqO\",\"headerDetails\":\"stripe-payout-details_headerDetails__2Hz0n\",\"attributeValues\":\"stripe-payout-details_attributeValues__1tiPP\",\"accountattributeValues\":\"stripe-payout-details_accountattributeValues__3qWzl\",\"containerSectionDiv\":\"stripe-payout-details_containerSectionDiv__3cTi4\",\"containerDetailsDiv\":\"stripe-payout-details_containerDetailsDiv__1xTMs\",\"title\":\"stripe-payout-details_title__22wu9\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"paper\":\"modal-pdq-merchants_paper__mpxQ7\",\"dialogContent\":\"modal-pdq-merchants_dialogContent__1k7Jh\",\"searchButton\":\"modal-pdq-merchants_searchButton__zzaIa\",\"searchGrid\":\"modal-pdq-merchants_searchGrid__1kpDK\",\"searchMerchants\":\"modal-pdq-merchants_searchMerchants__rgU0G\",\"startPdqButton\":\"modal-pdq-merchants_startPdqButton__1pztC\",\"textInput\":\"modal-pdq-merchants_textInput__21kRL\",\"accessButton\":\"modal-pdq-merchants_accessButton__2dfvA\",\"closeIcon\":\"modal-pdq-merchants_closeIcon__1F0JV\",\"rowData\":\"modal-pdq-merchants_rowData__2N7BA\",\"nameColumn\":\"modal-pdq-merchants_nameColumn__3eUKJ\",\"modalSearchButton\":\"modal-pdq-merchants_modalSearchButton__1dj9s\",\"mainData\":\"modal-pdq-merchants_mainData__3soFy\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"tableDataCell\":\"pending-verification-list_tableDataCell__18-ve\",\"noData\":\"pending-verification-list_noData__2U0M5\",\"TableContainer\":\"pending-verification-list_TableContainer__3Qgi6\",\"searchButton\":\"pending-verification-list_searchButton__vJZ1K\",\"formControl\":\"pending-verification-list_formControl__3lF-r\",\"selectInput\":\"pending-verification-list_selectInput__3WSZK\",\"inputlabel\":\"pending-verification-list_inputlabel__6xbDe\",\"searchMerchants\":\"pending-verification-list_searchMerchants__st0en\",\"search_form\":\"pending-verification-list_search_form__sx_I9\",\"contractTitle\":\"pending-verification-list_contractTitle__1hY29\",\"filterContainer\":\"pending-verification-list_filterContainer__1B7vZ\",\"container\":\"pending-verification-list_container__3qVRg\"};","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Box, Grid } from '@material-ui/core';\nimport styles from './table-footer.module.scss';\nimport { useGlobalStateContext } from 'contexts';\nimport { formatCurrency } from '../../../../utils/helper';\nimport { getCurrencyThreeAlpha } from 'utils/getCurrencyByCountry.js';\nimport { PaymentsFilterTabs } from '../../../../utils/enums/PaymentsFilterTabs';\nimport { PdqFilterTabs } from 'utils/enums/PdqFilterTabs';\n\nconst TableFooterComponent = (props) => {\n const { path, resultsCount, total, refund, filter } = props;\n const { globalState } = useGlobalStateContext();\n return (\n \n \n \n Transactions: \n {resultsCount}\n \n {(path === 'payments' || path === 'pdq' || path === 'gfo-payments') &&\n (filter === PaymentsFilterTabs.Successful || filter === PdqFilterTabs.Successful ? (\n
    \n Total Transactions Value: \n \n {formatCurrency(total, getCurrencyThreeAlpha(globalState.merchant?.country))}\n \n
    \n ) : filter === PaymentsFilterTabs.Refunded || filter === PdqFilterTabs.Refunded ? (\n
    \n Total Refunds Value: \n \n {formatCurrency(refund, getCurrencyThreeAlpha(globalState.merchant?.country))}\n \n
    \n ) : (\n
    \n
    \n Total Transactions Value: \n \n {formatCurrency(\n total,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n \n
    \n {(path === 'payments' || path === 'pdq' || path === 'gfo-payments') && (\n
    \n Total Refunds Value: \n \n {formatCurrency(\n refund,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n \n
    \n )}\n
    \n ))}\n
    \n
    \n
    \n
    \n );\n};\n\nexport default TableFooterComponent;\n\nTableFooterComponent.propTypes = {\n resultsCount: PropTypes.number.isRequired\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"tabsDiv\":\"datman-reseller-payments-list-table_tabsDiv__1b58k\",\"paymentsNone\":\"datman-reseller-payments-list-table_paymentsNone__12CR2\",\"resultSpan\":\"datman-reseller-payments-list-table_resultSpan__1zPdT\",\"currencySpan\":\"datman-reseller-payments-list-table_currencySpan__1PKIs\",\"paragraphCurrency\":\"datman-reseller-payments-list-table_paragraphCurrency__30pQk\",\"refundDescription\":\"datman-reseller-payments-list-table_refundDescription__OIBHM\",\"nameAddressColumn\":\"datman-reseller-payments-list-table_nameAddressColumn__37EDx\",\"dateColumn\":\"datman-reseller-payments-list-table_dateColumn__9wkNK\",\"refundColumn\":\"datman-reseller-payments-list-table_refundColumn__2wyzp\",\"status\":\"datman-reseller-payments-list-table_status__1pqBm\",\"tableRow\":\"datman-reseller-payments-list-table_tableRow__28zUb\",\"amountColumn\":\"datman-reseller-payments-list-table_amountColumn__1WEXL\",\"actionsColumn\":\"datman-reseller-payments-list-table_actionsColumn__3E7cm\",\"mobileViewTransactionDetails\":\"datman-reseller-payments-list-table_mobileViewTransactionDetails__xWaJT\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"payoutsDetailsDiv\":\"payout-details_payoutsDetailsDiv__2wBxj\",\"containerDiv\":\"payout-details_containerDiv__2smxV\",\"headerDetails\":\"payout-details_headerDetails__xrT4l\",\"date_expected\":\"payout-details_date_expected__1PE0X\",\"contentBlock\":\"payout-details_contentBlock__2U6qo\",\"pageTitle\":\"payout-details_pageTitle__8fPWk\",\"spanRefId\":\"payout-details_spanRefId__2_XEs\",\"amount_items\":\"payout-details_amount_items__3Q5pL\",\"spnaCurrency\":\"payout-details_spnaCurrency__1uq4s\",\"spanStatus\":\"payout-details_spanStatus__25SLN\",\"timelineDiv\":\"payout-details_timelineDiv__1KIbM\",\"timeline\":\"payout-details_timeline__1rtPO\",\"content\":\"payout-details_content__3dGDP\",\"tableHeader\":\"payout-details_tableHeader__2A1C5\",\"graySpan\":\"payout-details_graySpan__3UcbX\",\"copyIcon\":\"payout-details_copyIcon__29Lts\",\"payoutsDetailsHeader\":\"payout-details_payoutsDetailsHeader__15bQE\",\"divTableFooter\":\"payout-details_divTableFooter__2dKyQ\",\"amountSpan\":\"payout-details_amountSpan__2rJu1\",\"columnSpan\":\"payout-details_columnSpan__ugBvj\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"info_bar\":\"pending-customer-info_info_bar__3yDn1\",\"info_bar__text\":\"pending-customer-info_info_bar__text__1IiAa\",\"info_bar__icon\":\"pending-customer-info_info_bar__icon__1h47D\",\"float_right\":\"pending-customer-info_float_right__3SEID\",\"unfold_icon\":\"pending-customer-info_unfold_icon__3a-YR\",\"click_effect\":\"pending-customer-info_click_effect__WYtgV\",\"link_font\":\"pending-customer-info_link_font__KD9qX\",\"bottom_bar\":\"pending-customer-info_bottom_bar__3E-cU\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"MerchantDetailsContainer\":\"merchant-account-details_MerchantDetailsContainer__8z1ap\",\"subTitle\":\"merchant-account-details_subTitle__w275U\",\"title\":\"merchant-account-details_title__2zsCI\",\"businessDetailContainer\":\"merchant-account-details_businessDetailContainer__2eCP6\",\"ownerDetailsContainer\":\"merchant-account-details_ownerDetailsContainer__2rWOK\",\"phoneInput\":\"merchant-account-details_phoneInput__2Hmsj\",\"selectMerchantDetails\":\"merchant-account-details_selectMerchantDetails__2fwvS\",\"bankDetails\":\"merchant-account-details_bankDetails__3U-Dx\",\"codeInput\":\"merchant-account-details_codeInput__3S6J9\"};","export const MerchantStatusNames = {\n 0: 'Not Submitted',\n 1: 'Pending',\n 2: 'Verified',\n 3: 'Active',\n 4: 'Closed',\n 5: 'Rejected',\n 6: 'Pending Stripe',\n 12: 'Watch List'\n};\n\nexport const OmnipayMerchantStatusNames = {\n 1: 'Pending',\n 3: 'Active'\n};\n","export const PdqFilterTabs = {\n Successful: 0,\n Refunded: 1,\n All: 'all'\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"product\":\"onboarding-business-profile_product__1n4ou\",\"formItemGrid\":\"onboarding-business-profile_formItemGrid__2SSuv\",\"switch\":\"onboarding-business-profile_switch__12SuO\",\"yesNoSwitch\":\"onboarding-business-profile_yesNoSwitch__3pkDh\",\"checkBoxText\":\"onboarding-business-profile_checkBoxText__yUEJE\",\"paddingTop\":\"onboarding-business-profile_paddingTop__1cXVl\",\"timeInBusiness\":\"onboarding-business-profile_timeInBusiness__3sYH5\",\"productDescriptions\":\"onboarding-business-profile_productDescriptions__1kHOu\",\"numberFormatInput\":\"onboarding-business-profile_numberFormatInput__3G0Ts\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"dialogContent\":\"transaction-refund_dialogContent__1lMVY\",\"refundDialog\":\"transaction-refund_refundDialog__25Qo_\",\"refundDialogDiv\":\"transaction-refund_refundDialogDiv__2PMp7\",\"refundReason\":\"transaction-refund_refundReason__UUMAD\",\"refundReasonOptions\":\"transaction-refund_refundReasonOptions__3NfIC\",\"title\":\"transaction-refund_title__1PXrI\",\"withdrawalText\":\"transaction-refund_withdrawalText__3cqRa\",\"withdrawalAmount\":\"transaction-refund_withdrawalAmount__3O-Rm\",\"grid\":\"transaction-refund_grid__25mh6\",\"headerDivider\":\"transaction-refund_headerDivider__WN-HF\",\"withdrawalArrivingText\":\"transaction-refund_withdrawalArrivingText__baH1e\",\"descriptionContainer\":\"transaction-refund_descriptionContainer__1bekt\",\"description\":\"transaction-refund_description__2rev9\",\"buttonsContainer\":\"transaction-refund_buttonsContainer__3ffmf\",\"button\":\"transaction-refund_button__1vnd6\",\"topPadding\":\"transaction-refund_topPadding__8ZIPc\",\"customOutlineInput\":\"transaction-refund_customOutlineInput__1Y4NP\",\"reasonSelect\":\"transaction-refund_reasonSelect__ls0n2\",\"alertError\":\"transaction-refund_alertError__3KpVU\",\"radioButtons\":\"transaction-refund_radioButtons__2I9lk\",\"reasonInput\":\"transaction-refund_reasonInput__2H1-Z\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"stepThreeContainer\":\"onboarding-transaction-profile-step-three_stepThreeContainer__3IqPG\",\"yes_no_Switch\":\"onboarding-transaction-profile-step-three_yes_no_Switch__kAZSX\",\"checkBoxText\":\"onboarding-transaction-profile-step-three_checkBoxText__3WRpq\",\"customInput\":\"onboarding-transaction-profile-step-three_customInput__1Xmam\",\"boldText\":\"onboarding-transaction-profile-step-three_boldText__gG9Hf\",\"autoRenewalLabel\":\"onboarding-transaction-profile-step-three_autoRenewalLabel__3SKMh\",\"autoRenewalSwitch\":\"onboarding-transaction-profile-step-three_autoRenewalSwitch__21Taf\",\"motoReasonContainer\":\"onboarding-transaction-profile-step-three_motoReasonContainer__3Gld4\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"dialogContent\":\"internal-transfer-submission_dialogContent__1xM3w\",\"supplierSelect\":\"internal-transfer-submission_supplierSelect__2686T\",\"amountContainer\":\"internal-transfer-submission_amountContainer__Bconj\",\"descriptionContainer\":\"internal-transfer-submission_descriptionContainer__Ti5vs\",\"amountInput\":\"internal-transfer-submission_amountInput__23VqE\",\"title\":\"internal-transfer-submission_title__3zjav\",\"grid\":\"internal-transfer-submission_grid__2dVJn\",\"headerDivider\":\"internal-transfer-submission_headerDivider__14I--\",\"buttonsContainer\":\"internal-transfer-submission_buttonsContainer__254dq\",\"button\":\"internal-transfer-submission_button__2f0oG\",\"alertError\":\"internal-transfer-submission_alertError__1KZ57\",\"topPadding\":\"internal-transfer-submission_topPadding__16liR\",\"action_items__input__balance\":\"internal-transfer-submission_action_items__input__balance__2bHXN\",\"labelText\":\"internal-transfer-submission_labelText__qsz4-\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"header\":\"missing-merchant_header__1z_fR\",\"top\":\"missing-merchant_top__21gng\",\"tableDataCell\":\"missing-merchant_tableDataCell__14kGv\",\"tableRefundCell\":\"missing-merchant_tableRefundCell__2Ycta\",\"row\":\"missing-merchant_row__1sZke\",\"mainContainer\":\"missing-merchant_mainContainer__2lLDa\",\"calenderDiv\":\"missing-merchant_calenderDiv__2of75\",\"refundsNone\":\"missing-merchant_refundsNone__1DoAg\",\"rangeDiv\":\"missing-merchant_rangeDiv__3xFee\",\"rangeSelect\":\"missing-merchant_rangeSelect__2zyqB\",\"TableContainer\":\"missing-merchant_TableContainer__Scm6-\",\"navButton\":\"missing-merchant_navButton__2hKBS\",\"refundProcess\":\"missing-merchant_refundProcess__3vA-T\",\"viewButton\":\"missing-merchant_viewButton__3oheP\",\"viewButtonName\":\"missing-merchant_viewButtonName__B8-oE\",\"processRefundButton\":\"missing-merchant_processRefundButton__3twa6\",\"refundContainer\":\"missing-merchant_refundContainer__2gdeH\",\"searchArea\":\"missing-merchant_searchArea__5o--Y\",\"searchButton\":\"missing-merchant_searchButton__2wxOs\",\"divTitle\":\"missing-merchant_divTitle__2GSlb\",\"title\":\"missing-merchant_title__10G2Z\",\"tableSearch\":\"missing-merchant_tableSearch__KlCHv\",\"searchMerchants\":\"missing-merchant_searchMerchants__buvlo\",\"search_form\":\"missing-merchant_search_form__16NMV\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"customInput\":\"onboarding-name-adress_customInput__1fMQJ\",\"inputLookupCompany\":\"onboarding-name-adress_inputLookupCompany__2239n\",\"withoutBorders\":\"onboarding-name-adress_withoutBorders__23_P-\",\"companyContainer\":\"onboarding-name-adress_companyContainer__2vEbI\",\"lookupCompanyButton\":\"onboarding-name-adress_lookupCompanyButton__2yhAc\",\"errorSpan\":\"onboarding-name-adress_errorSpan__wJTV-\",\"textButton\":\"onboarding-name-adress_textButton__2hpeO\",\"formItemGrid\":\"onboarding-name-adress_formItemGrid__1cAST\",\"yesNoSwitch\":\"onboarding-name-adress_yesNoSwitch__2TrC_\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"wrapper\":\"new-zealand-account-number_wrapper__3YN0X\",\"wrapper__inputs\":\"new-zealand-account-number_wrapper__inputs__zP-sK\",\"wrapper__inputs__dash\":\"new-zealand-account-number_wrapper__inputs__dash__2GC8t\",\"wrapper__inputs__disableInput\":\"new-zealand-account-number_wrapper__inputs__disableInput__3FctK\",\"wrapper__inputs__first\":\"new-zealand-account-number_wrapper__inputs__first__2_xQ8\",\"wrapper__inputs__second\":\"new-zealand-account-number_wrapper__inputs__second__1su7N\",\"wrapper__inputs__third\":\"new-zealand-account-number_wrapper__inputs__third__2P6nw\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"paper\":\"modal-update-bank-account-verify_paper__2KSdf\",\"dilogbtn\":\"modal-update-bank-account-verify_dilogbtn__-mLbr\",\"leavebtn\":\"modal-update-bank-account-verify_leavebtn__3b8qq\",\"btnContainer\":\"modal-update-bank-account-verify_btnContainer__2LLf-\",\"mainContainer\":\"modal-update-bank-account-verify_mainContainer__2d5UL\",\"verificationTitle\":\"modal-update-bank-account-verify_verificationTitle__3dz2X\",\"verificationSubtitle\":\"modal-update-bank-account-verify_verificationSubtitle__1o_ei\",\"otpField\":\"modal-update-bank-account-verify_otpField__-6hV0\",\"active\":\"modal-update-bank-account-verify_active__LyXE9\",\"buttonContainer\":\"modal-update-bank-account-verify_buttonContainer__2ojFX\",\"resendBox\":\"modal-update-bank-account-verify_resendBox__aFuQE\",\"submitBox\":\"modal-update-bank-account-verify_submitBox__1SEfR\",\"resendButton\":\"modal-update-bank-account-verify_resendButton__24BPG\",\"submitButton\":\"modal-update-bank-account-verify_submitButton__3phSq\",\"resendButtonText\":\"modal-update-bank-account-verify_resendButtonText__3lvm9\",\"invalidFeedback\":\"modal-update-bank-account-verify_invalidFeedback__1g8s1\",\"footer\":\"modal-update-bank-account-verify_footer__3T6Rg\",\"footerText\":\"modal-update-bank-account-verify_footerText__9HC7n\",\"marginTop\":\"modal-update-bank-account-verify_marginTop__25ib0\",\"marginBottom\":\"modal-update-bank-account-verify_marginBottom__Amqmr\",\"bold\":\"modal-update-bank-account-verify_bold__Vyu4B\",\"actionFormContainer\":\"modal-update-bank-account-verify_actionFormContainer__3fzU6\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"formContainer\":\"create-urgent-message_formContainer__2Alep\",\"datePickerContainer\":\"create-urgent-message_datePickerContainer__3HeLk\",\"startDatePick\":\"create-urgent-message_startDatePick__1a0LG\",\"endDateDatePick\":\"create-urgent-message_endDateDatePick__7YC2F\",\"datePicker\":\"create-urgent-message_datePicker__2v5CU\",\"checkBoxContainer\":\"create-urgent-message_checkBoxContainer__2Pmno\",\"midCheck\":\"create-urgent-message_midCheck__fNY9r\",\"datePickerWidth\":\"create-urgent-message_datePickerWidth__39pCb\",\"inputMessage\":\"create-urgent-message_inputMessage__2NgWv\",\"button\":\"create-urgent-message_button__2vHjK\",\"charCount\":\"create-urgent-message_charCount__21wAv\",\"tag_input\":\"create-urgent-message_tag_input__28CfI\",\"tags\":\"create-urgent-message_tags__CaJKp\",\"tag\":\"create-urgent-message_tag__S-Ocm\",\"tag_title\":\"create-urgent-message_tag_title__1PoNx\",\"tag_close_icon\":\"create-urgent-message_tag_close_icon__3elXj\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"wrapper\":\"bank-sort-code-number_wrapper__3JRlf\",\"wrapper__inputs\":\"bank-sort-code-number_wrapper__inputs__3oJGU\",\"wrapper__inputs__dash\":\"bank-sort-code-number_wrapper__inputs__dash__1k8ba\",\"wrapper__inputs__disableInput\":\"bank-sort-code-number_wrapper__inputs__disableInput__1DU1g\",\"wrapper__inputs__emptyInput\":\"bank-sort-code-number_wrapper__inputs__emptyInput__1Mbc4\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"info_bar\":\"admin-dashboard-info_info_bar__onjmQ\",\"info_bar_text\":\"admin-dashboard-info_info_bar_text__Cj4h3\",\"float_right\":\"admin-dashboard-info_float_right__24u47\",\"click_effect\":\"admin-dashboard-info_click_effect__33tOD\",\"info_ico_bar\":\"admin-dashboard-info_info_ico_bar__2rpSl\",\"info_ico\":\"admin-dashboard-info_info_ico__DVSWH\",\"link_font\":\"admin-dashboard-info_link_font__3-2vn\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"specialRentDialog\":\"modal-add-special-rent_specialRentDialog__C7c89\",\"dialogTilte\":\"modal-add-special-rent_dialogTilte__1WbKy\",\"addbtn\":\"modal-add-special-rent_addbtn__hGOtZ\",\"rentValue\":\"modal-add-special-rent_rentValue__9pJwu\",\"title\":\"modal-add-special-rent_title__1ER8k\",\"formContainer\":\"modal-add-special-rent_formContainer__gyWKy\",\"rentfields\":\"modal-add-special-rent_rentfields__3hP52\",\"closeIcon\":\"modal-add-special-rent_closeIcon__2chjJ\",\"radio_btn\":\"modal-add-special-rent_radio_btn__1zi0S\",\"datePicker\":\"modal-add-special-rent_datePicker__1b13A\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"paper\":\"modal-otp-verification_paper__2j5LN\",\"dilogbtn\":\"modal-otp-verification_dilogbtn__1QJZA\",\"leavebtn\":\"modal-otp-verification_leavebtn__3sJI8\",\"btnContainer\":\"modal-otp-verification_btnContainer__36Vq9\",\"mainContainer\":\"modal-otp-verification_mainContainer__1csHh\",\"verificationTitle\":\"modal-otp-verification_verificationTitle__2oCvA\",\"verificationSubtitle\":\"modal-otp-verification_verificationSubtitle__2cn48\",\"otpField\":\"modal-otp-verification_otpField__1-xJB\",\"active\":\"modal-otp-verification_active__2Sw6n\",\"buttonContainer\":\"modal-otp-verification_buttonContainer__3LdiK\",\"resendBox\":\"modal-otp-verification_resendBox__1tGjZ\",\"submitBox\":\"modal-otp-verification_submitBox__GwLW-\",\"resendButton\":\"modal-otp-verification_resendButton__354bg\",\"submitButton\":\"modal-otp-verification_submitButton__35fS_\",\"resendButtonText\":\"modal-otp-verification_resendButtonText__1n2kb\",\"invalidFeedback\":\"modal-otp-verification_invalidFeedback__1ExII\",\"footer\":\"modal-otp-verification_footer__2WBdQ\",\"footerText\":\"modal-otp-verification_footerText__2EKER\",\"marginTop\":\"modal-otp-verification_marginTop__2wDA5\",\"marginBottom\":\"modal-otp-verification_marginBottom__244Xe\",\"bold\":\"modal-otp-verification_bold__2PV9A\",\"actionFormContainer\":\"modal-otp-verification_actionFormContainer__33SEg\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"dialogContentDatePicker\":\"modal-move-transaction_dialogContentDatePicker__2_-AZ\",\"dialog\":\"modal-move-transaction_dialog__-6ooC\",\"dialogContent\":\"modal-move-transaction_dialogContent__3q7AQ\",\"datePicker\":\"modal-move-transaction_datePicker__1HxTV\",\"midInput\":\"modal-move-transaction_midInput__2r0Jm\",\"exportSelect\":\"modal-move-transaction_exportSelect__1UUzH\",\"selectTimeFrame\":\"modal-move-transaction_selectTimeFrame__2VFUv\",\"dialogActions\":\"modal-move-transaction_dialogActions__2zudv\",\"MuiOutlinedInput-input\":\"modal-move-transaction_MuiOutlinedInput-input__2NGlD\",\"paraText\":\"modal-move-transaction_paraText__28iPN\"};","import { AuthAxios, DatmanAxios } from './interceptor.service.js';\nimport {\n AdminServiceEndpoint,\n NonResellerMerchantServiceEndpoint,\n AuthServiceEndpoint,\n DocumentServiceEndpoint,\n DatmanAPIEndpoint,\n AdyenServiceEndpoint\n} from '../utils/constants';\n\nimport { SuccesResponse, ErrorResponse } from 'models';\n\nconst GetPendingCustomers = async () => {\n try {\n const requestResult = await AuthAxios.get(`${AdminServiceEndpoint}/pending-customers`);\n\n return new SuccesResponse(requestResult.data.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getError = (error) => {\n const message = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(message);\n};\n\nconst GetMerchantDataForAdmin = async (id) => {\n try {\n const requestResult = await AuthAxios.get(\n `${NonResellerMerchantServiceEndpoint}/admin-get-merchant-data/${id}`\n );\n\n return new SuccesResponse(requestResult.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst UpdateMerchantDataForAdmin = async (id, data) => {\n try {\n const requestResult = await AuthAxios.put(\n `${NonResellerMerchantServiceEndpoint}/admin-update-merchant-data/${id}`,\n data\n );\n\n return new SuccesResponse(requestResult.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst adminRejectMerchantEmailNotification = async (data) => {\n try {\n await AuthAxios.post(`${NonResellerMerchantServiceEndpoint}/admin-reject-merchant`, data);\n\n return new SuccesResponse();\n } catch (error) {\n return getError(error);\n }\n};\n\nconst sendResetPasswordLink = async (email, portalURL) => {\n try {\n const requestResult = await AuthAxios.post(`${AuthServiceEndpoint}/admin/send-reset-password-link`, {\n email,\n portalURL\n });\n\n return new SuccesResponse(requestResult.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst GetPendingMerchants = async (id, data) => {\n try {\n const requestResult = await AuthAxios.post(\n `${NonResellerMerchantServiceEndpoint}/admin-get-pending-merchants/${id}`,\n data\n );\n\n return new SuccesResponse(requestResult.data);\n } catch (error) {\n return getError(error);\n }\n};\nconst GetMissingMerchant = async (id, data) => {\n try {\n const requestResult = await AuthAxios.post(\n `${NonResellerMerchantServiceEndpoint}/admin-get-missing-merchant-info/${id}`,\n data\n );\n return new SuccesResponse(requestResult);\n } catch (error) {\n return getError(error);\n }\n};\nconst GetMissingData = async (id) => {\n try {\n const requestResult = await AuthAxios.get(`${NonResellerMerchantServiceEndpoint}/admin-merchant-data/${id}`);\n return new SuccesResponse(requestResult);\n } catch (error) {\n return getError(error);\n }\n};\nconst UpdateMissingData = async (data) => {\n try {\n const requestResult = await AuthAxios.put(\n `${NonResellerMerchantServiceEndpoint}/admin-update-missing-merchant-info`,\n data\n );\n return new SuccesResponse(requestResult);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst CountPendingMerchants = async (id) => {\n try {\n const requestResult = await AuthAxios.get(\n `${NonResellerMerchantServiceEndpoint}/admin-count-pending-merchants/${id}`\n );\n\n return new SuccesResponse(requestResult.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst saveUserKycLogs = async (merchantId, data) => {\n try {\n const requestResult = await AuthAxios.post(\n `${DocumentServiceEndpoint}/save-user-account-kyc-logs-handler/${merchantId}`,\n data\n );\n\n return new SuccesResponse(requestResult.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getDocumentById = async (documentId) => {\n try {\n const requestResult = await AuthAxios.get(`${DocumentServiceEndpoint}/get-document-by-id/${documentId}`);\n\n return new SuccesResponse(requestResult.data);\n } catch (error) {\n return getError(error);\n }\n};\nconst SetUpFees = async (data) => {\n try {\n const response = await DatmanAxios.post(`${DatmanAPIEndpoint}/portal/setupFee `, data);\n return new SuccesResponse(response.data, response.status);\n } catch (error) {\n return getError(error);\n }\n};\nconst SendProductStatusEmail = async (merchantId, data) => {\n try {\n const requestResult = await AuthAxios.post(\n `${NonResellerMerchantServiceEndpoint}/send-product-status-email/${merchantId}`,\n data\n );\n\n return new SuccesResponse(requestResult.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst CreateMerchantStripeId = async (merchantId) => {\n try {\n const requestResult = await AuthAxios.post(\n `${AdminServiceEndpoint}/merchants/create-stripe-account/${merchantId}`\n );\n return new SuccesResponse(requestResult.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst acceptTermsAndConditions = async (stripeId, merchantId) => {\n try {\n const requestResult = await AuthAxios.post(\n `${AdminServiceEndpoint}/merchants/accept-terms-and-conditions/${stripeId}/${merchantId}`\n );\n return new SuccesResponse(requestResult.data);\n } catch (error) {\n return getError(error);\n }\n};\nconst getPdqMerchantData = async (merchantId) => {\n try {\n const requestResult = await AuthAxios.post(\n `${AdminServiceEndpoint}/merchants/get-pdq-merchant-data/${merchantId} `\n );\n return new SuccesResponse(requestResult.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst UpdateMerchantStripeId = async (merchantId, data) => {\n try {\n const requestResult = await AuthAxios.post(\n `${AdminServiceEndpoint}/merchants/update-stripe-account/${merchantId}`,\n data\n );\n return new SuccesResponse(requestResult.data);\n } catch (error) {\n return getError(error);\n }\n};\nconst getRefundList = async (data) => {\n try {\n const response = await DatmanAxios.post(`${DatmanAPIEndpoint}/portal/refund/status/search`, data);\n return new SuccesResponse(response.data, response.status);\n } catch (error) {\n return getError(error);\n }\n};\nconst UpdateRefundStatus = async (data) => {\n try {\n const requestResult = await DatmanAxios.put(`${DatmanAPIEndpoint}/portal/refund/status`, data);\n\n return new SuccesResponse(requestResult.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst updateTestMerchant = async (merchantId, data) => {\n try {\n const requestResult = await AuthAxios.post(\n `${NonResellerMerchantServiceEndpoint}/merchants/update-stripe-account/${merchantId}`,\n data\n );\n return new SuccesResponse(requestResult.data);\n } catch (error) {\n return getError(error);\n }\n};\nconst getPendingBankVerification = async (data) => {\n try {\n const requestResult = await AuthAxios.post(\n `${AdminServiceEndpoint}/merchants/fetch-pending-bank-verification-list`,\n data\n );\n return new SuccesResponse(requestResult.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getMerchantCapabilities = async (data) => {\n try {\n const requestResult = await AuthAxios.post(`${AdyenServiceEndpoint}/get-merchant-capabilities`, data);\n\n // const requestResult = await AuthAxios.post(`http://localhost:4013/dev/api/v1/adyen/get-merchant-capabilities`, data);\n return new SuccesResponse(requestResult.data);\n } catch (error) {\n return getError(error);\n }\n};\nconst getPendingDocumentVerification = async (data) => {\n try {\n const requestResult = await AuthAxios.post(\n `${AdminServiceEndpoint}/merchants/fetch-pending-document-verification-list`,\n data\n );\n return new SuccesResponse(requestResult.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getContractValues = async () => {\n try {\n const response = await DatmanAxios.get(`${DatmanAPIEndpoint}/portal/contracts`);\n return new SuccesResponse(response.data, response.status);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst GetSpecialRentList = async () => {\n try {\n const response = await DatmanAxios.get(`${DatmanAPIEndpoint}/portal/contracts/specialRent`);\n return new SuccesResponse(response.data, response.status);\n } catch (error) {\n return getError(error);\n }\n};\nconst getFeeTierNames = async (merchantId) => {\n try {\n const response = await DatmanAxios.get(`${DatmanAPIEndpoint}/portal/customer/fee-tier`, {\n merchantId\n });\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst AddSpecialRent = async (data) => {\n try {\n const response = await DatmanAxios.post(`${DatmanAPIEndpoint}/portal/contracts/specialRent `, data);\n return new SuccesResponse(response.data, response.status);\n } catch (error) {\n return getError(error);\n }\n};\nconst updateFeeTierId = async (merchantId, data) => {\n try {\n const response = await DatmanAxios.put(`${DatmanAPIEndpoint}/portal/customer/fee-tier`, {\n merchantId,\n data\n });\n return new SuccesResponse(response.data, response.status);\n } catch (error) {\n return getError(error);\n }\n};\nconst UpdateSpecialRent = async (data) => {\n try {\n const response = await DatmanAxios.put(`${DatmanAPIEndpoint}/portal/contracts/specialRent `, data);\n return new SuccesResponse(response.data, response.status);\n } catch (error) {\n return getError(error);\n }\n};\nconst createFeeTier = async (merchantId, data) => {\n try {\n const response = await DatmanAxios.post(`${DatmanAPIEndpoint}/portal/fee-tier`, {\n merchantId,\n percentageFee: data.percentageFee,\n fixedFee: data.fixedFee\n });\n return new SuccesResponse(response.data, response.status);\n } catch (error) {\n return getError(error);\n }\n};\nconst DeleteSpecialRent = async (data) => {\n try {\n const response = await DatmanAxios.delete(`${DatmanAPIEndpoint}/portal/contracts/specialRent `, { data });\n return new SuccesResponse(response.data, response.status);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst auditLogData = async (resellerId, data) => {\n try {\n const requestResult = await AuthAxios.post(`${AdminServiceEndpoint}/merchants/audit-data/${resellerId}`, data);\n\n return new SuccesResponse(requestResult.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst UpdateContractRent = async (data) => {\n try {\n const response = await DatmanAxios.put(`${DatmanAPIEndpoint}/portal/contracts`, data);\n return new SuccesResponse(response.data, response.status);\n } catch (error) {\n return getError(error);\n }\n};\nconst GetContractRent = async () => {\n try {\n const response = await DatmanAxios.get(`${DatmanAPIEndpoint}/portal/contracts`);\n return new SuccesResponse(response.data, response.status);\n } catch (error) {\n return getError(error);\n }\n};\nconst updateMerchantCharges = async (data) => {\n try {\n const requestResult = await DatmanAxios.post(`${DatmanAPIEndpoint}/portal/invoice/create`, data);\n\n return new SuccesResponse(requestResult.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst payMerchantCharges = async (data) => {\n try {\n const requestResult = await DatmanAxios.put(`${DatmanAPIEndpoint}/portal/invoice`, data);\n\n return new SuccesResponse(requestResult.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst deleteMerchantCharges = async (data) => {\n try {\n const requestResult = await DatmanAxios.delete(`${DatmanAPIEndpoint}/portal/invoice`, { data });\n\n return new SuccesResponse(requestResult.data);\n } catch (error) {\n return getError(error);\n }\n};\nconst GetNotRecievedPayouts = async () => {\n try {\n const requestResult = await DatmanAxios.get(`${DatmanAPIEndpoint}/portal/withdrawals/notReceived`);\n return new SuccesResponse(requestResult.data);\n } catch (error) {\n const errMessage = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n};\n\nconst AddCredit = async (data) => {\n try {\n const response = await DatmanAxios.post(`${DatmanAPIEndpoint}/portal/addCredit`, data);\n return new SuccesResponse(response.data, response.status);\n } catch (error) {\n return new getError(error);\n }\n};\nconst GetBalanceReport = async (data) => {\n try {\n const response = await DatmanAxios.post(`${DatmanAPIEndpoint}/portal/reports/balance`, data);\n return new SuccesResponse(response.data);\n } catch (error) {\n return new getError(error);\n }\n};\n\nconst getChargebackList = async (data) => {\n try {\n const response = await DatmanAxios.post(`${DatmanAPIEndpoint}/portal/chargebacks/searchTxn`, data);\n return new SuccesResponse(response.data, response.status);\n } catch (error) {\n return getError(error);\n }\n};\nconst UpdateChargebackList = async (data) => {\n try {\n const response = await DatmanAxios.post(`${DatmanAPIEndpoint}/portal/chargebacks/create`, data);\n return new SuccesResponse(response.data, response.status);\n } catch (error) {\n return getError(error);\n }\n};\nconst fetchChargeback = async (data) => {\n try {\n const response = await DatmanAxios.post(`${DatmanAPIEndpoint}/portal/chargebacks/fetchDetails`, data);\n return new SuccesResponse(response.data, response.status);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst ChargebackList = async (data) => {\n try {\n const response = await DatmanAxios.post(`${DatmanAPIEndpoint}/portal/chargebacks`, data);\n return new SuccesResponse(response.data, response.status);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst GetMerchantDetails = async () => {\n try {\n const response = await DatmanAxios.get(`${DatmanAPIEndpoint}/portal/customer-config`);\n return new SuccesResponse(response.data, response.status);\n } catch (error) {\n return getError(error);\n }\n};\nconst UpdateCustomerConfig = async (data) => {\n try {\n const response = await DatmanAxios.post(`${DatmanAPIEndpoint}/portal/update-merchant-config`, data);\n return new SuccesResponse(response.data, response.status);\n } catch (error) {\n return getError(error);\n }\n};\nexport default {\n GetPendingCustomers,\n GetMerchantDataForAdmin,\n UpdateMerchantDataForAdmin,\n GetPendingMerchants,\n CountPendingMerchants,\n sendResetPasswordLink,\n saveUserKycLogs,\n getDocumentById,\n adminRejectMerchantEmailNotification,\n SetUpFees,\n SendProductStatusEmail,\n CreateMerchantStripeId,\n acceptTermsAndConditions,\n UpdateMerchantStripeId,\n GetMissingMerchant,\n GetMissingData,\n UpdateMissingData,\n updateFeeTierId,\n getFeeTierNames,\n createFeeTier,\n auditLogData,\n getContractValues,\n getRefundList,\n UpdateRefundStatus,\n GetSpecialRentList,\n AddSpecialRent,\n UpdateSpecialRent,\n DeleteSpecialRent,\n UpdateContractRent,\n GetContractRent,\n getChargebackList,\n UpdateChargebackList,\n ChargebackList,\n updateMerchantCharges,\n payMerchantCharges,\n deleteMerchantCharges,\n GetNotRecievedPayouts,\n AddCredit,\n GetBalanceReport,\n fetchChargeback,\n getPdqMerchantData,\n GetMerchantDetails,\n UpdateCustomerConfig,\n getPendingBankVerification,\n getPendingDocumentVerification,\n getMerchantCapabilities\n};\n","import { MerchantCountries } from 'utils/enums/MerchantCountries';\n\nexport const BankAccountLengthConstaints = {\n [MerchantCountries.UNITED_STATES]: {\n minLength: 3,\n maxLength: 17\n },\n [MerchantCountries.IRELAND]: {\n minLength: 22,\n maxLength: 22\n },\n [MerchantCountries.NEW_ZEALAND]: {\n minLength: 15,\n maxLength: 16\n },\n [MerchantCountries.AUSTRALIA]: {\n minLength: 5,\n maxLength: 9\n },\n [MerchantCountries.MEXICO]: {\n minLength: 18,\n maxLength: 18\n },\n [MerchantCountries.CANADA]: {\n minLength: 7,\n maxLength: 12\n },\n [MerchantCountries.UNITED_KINGDOM]: {\n minLength: 8,\n maxLength: 8\n }\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"searchUserForm\":\"search-user-form_searchUserForm__24lge\",\"loadingSubmit\":\"search-user-form_loadingSubmit__2dCFm\",\"searchBtn\":\"search-user-form_searchBtn__2v27X\",\"userResult\":\"search-user-form_userResult__3x9e4\",\"inviteUserBtn\":\"search-user-form_inviteUserBtn__1nsEh\",\"namesColumn\":\"search-user-form_namesColumn__1ZNpG\",\"emailColumn\":\"search-user-form_emailColumn__3Bk0N\",\"names\":\"search-user-form_names__2Yzu9\",\"selectBtn\":\"search-user-form_selectBtn__1pky6\",\"alert\":\"search-user-form_alert__2ZWOq\",\"selectRole\":\"search-user-form_selectRole__gaEAv\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"tabsDiv\":\"gfo-payment-list-table_tabsDiv__2-J3I\",\"paymentsNone\":\"gfo-payment-list-table_paymentsNone__2RGA8\",\"resultSpan\":\"gfo-payment-list-table_resultSpan__25lni\",\"currencySpan\":\"gfo-payment-list-table_currencySpan__2bNPo\",\"paragraphCurrency\":\"gfo-payment-list-table_paragraphCurrency__2PrWy\",\"refundDescription\":\"gfo-payment-list-table_refundDescription__2OmtC\",\"nameAddressColumn\":\"gfo-payment-list-table_nameAddressColumn__2Uzyk\",\"dateColumn\":\"gfo-payment-list-table_dateColumn__p7crG\",\"refundColumn\":\"gfo-payment-list-table_refundColumn__2Ru71\",\"tableRow\":\"gfo-payment-list-table_tableRow__1AuKW\",\"amountColumn\":\"gfo-payment-list-table_amountColumn__V_Ax9\",\"actionsColumn\":\"gfo-payment-list-table_actionsColumn__ty87b\",\"mobileViewTransactionDetails\":\"gfo-payment-list-table_mobileViewTransactionDetails__1bfAu\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"bankDetailsContainer\":\"bank-sort-code-details_bankDetailsContainer__d9u0C\",\"bankFields\":\"bank-sort-code-details_bankFields__3Lo6L\",\"btnContainer\":\"bank-sort-code-details_btnContainer__2NRrg\",\"formTitle\":\"bank-sort-code-details_formTitle__2jz3f\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"closeIcon\":\"modal-create-fee-tier_closeIcon__wHtb-\",\"feeTierModalTitle\":\"modal-create-fee-tier_feeTierModalTitle__1tQc6\",\"headingTitle\":\"modal-create-fee-tier_headingTitle__2G0dq\",\"actionBtn\":\"modal-create-fee-tier_actionBtn__3E35h\",\"btnContainer\":\"modal-create-fee-tier_btnContainer__22dGj\",\"inputFeeTierValue\":\"modal-create-fee-tier_inputFeeTierValue__6iJOZ\",\"inputFixedFeeValue\":\"modal-create-fee-tier_inputFixedFeeValue__3T8Or\",\"dialogContent\":\"modal-create-fee-tier_dialogContent__1LkH0\",\"hintMessage\":\"modal-create-fee-tier_hintMessage__3uaLb\",\"headerDivider\":\"modal-create-fee-tier_headerDivider__YBY5s\",\"feeTierDialog\":\"modal-create-fee-tier_feeTierDialog__3CLTH\",\"percentageFeeStyle\":\"modal-create-fee-tier_percentageFeeStyle__3R-HJ\",\"fixedFeeStyle\":\"modal-create-fee-tier_fixedFeeStyle__1Hn4D\",\"dialogBtn\":\"modal-create-fee-tier_dialogBtn__3y8xA\",\"countryStyle\":\"modal-create-fee-tier_countryStyle__2lyDj\",\"selectCountry\":\"modal-create-fee-tier_selectCountry__3ywAT\",\"counrtySelect\":\"modal-create-fee-tier_counrtySelect__2wuCv\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"inputs\":\"payment-qr-code-info_inputs__2sW4_\",\"pageTitle\":\"payment-qr-code-info_pageTitle__20rYF\",\"container\":\"payment-qr-code-info_container__3iCSU\",\"container_title\":\"payment-qr-code-info_container_title__3UXFO\",\"qrCode\":\"payment-qr-code-info_qrCode__27pT0\",\"loading\":\"payment-qr-code-info_loading__2lKrP\",\"qrBtn\":\"payment-qr-code-info_qrBtn__1w0N_\",\"pdfbtn\":\"payment-qr-code-info_pdfbtn__OfLrH\",\"btncontainer\":\"payment-qr-code-info_btncontainer__Y0Aho\",\"qrImage\":\"payment-qr-code-info_qrImage__1TRrE\",\"copyIcon\":\"payment-qr-code-info_copyIcon__2iKf_\",\"paymentUrl\":\"payment-qr-code-info_paymentUrl__2BduT\",\"textInput\":\"payment-qr-code-info_textInput__3m_Ox\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"inputs\":\"qr-code-info_inputs__1CMN6\",\"pageTitle\":\"qr-code-info_pageTitle__2ByDU\",\"container\":\"qr-code-info_container__1iVkE\",\"container_title\":\"qr-code-info_container_title__3bKrm\",\"qrCode\":\"qr-code-info_qrCode__2O5-j\",\"loading\":\"qr-code-info_loading__m2HOy\",\"qrBtn\":\"qr-code-info_qrBtn__mE-uZ\",\"pdfbtn\":\"qr-code-info_pdfbtn__1kt2Y\",\"btncontainer\":\"qr-code-info_btncontainer__3SQQy\",\"qrImage\":\"qr-code-info_qrImage__YvMPv\",\"copyIcon\":\"qr-code-info_copyIcon__1kzOF\",\"paymentUrl\":\"qr-code-info_paymentUrl__16OkI\",\"textInput\":\"qr-code-info_textInput__1h1DZ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"audit-data_container__1vrmq\",\"header\":\"audit-data_header__1RqnZ\",\"top\":\"audit-data_top__PDlQT\",\"tableDataCell\":\"audit-data_tableDataCell__1i1XB\",\"noData\":\"audit-data_noData__227sa\",\"tableCell\":\"audit-data_tableCell__3salw\",\"row\":\"audit-data_row__Ki4pr\",\"mainContainer\":\"audit-data_mainContainer__2K8PV\",\"toolTipCell\":\"audit-data_toolTipCell__3q-07\",\"noneData\":\"audit-data_noneData__2frfC\",\"rangeDiv\":\"audit-data_rangeDiv__3vG7H\",\"rangeSelect\":\"audit-data_rangeSelect__3Hjjo\",\"TableContainer\":\"audit-data_TableContainer__1DJJQ\",\"searchButton\":\"audit-data_searchButton__16pOc\",\"divTitle\":\"audit-data_divTitle__3i95E\",\"title\":\"audit-data_title__6oPFS\",\"tableSearch\":\"audit-data_tableSearch__2W-ai\",\"searchMerchants\":\"audit-data_searchMerchants__16-4y\",\"search_form\":\"audit-data_search_form__Mu2co\",\"rowstyle\":\"audit-data_rowstyle__294JT\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"contractContainer\":\"contract-details_contractContainer__1BZqb\",\"contractTitle\":\"contract-details_contractTitle__4x1Fe\",\"divTitle\":\"contract-details_divTitle__168Rv\",\"specialRentContainer\":\"contract-details_specialRentContainer__jxIOx\",\"specialRentTable\":\"contract-details_specialRentTable__221Cr\",\"graphContainer\":\"contract-details_graphContainer__tUAmw\",\"title\":\"contract-details_title__23YkR\",\"rentTable\":\"contract-details_rentTable__3meAT\",\"contractRent\":\"contract-details_contractRent__DoPde\",\"addSpecialRentBtn\":\"contract-details_addSpecialRentBtn__1FNSX\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"creditBtn\":\"add-credit_creditBtn__3Wjgx\",\"popup\":\"add-credit_popup__1PhqE\",\"btnContainer\":\"add-credit_btnContainer__2mB9M\",\"submitBtn\":\"add-credit_submitBtn__1WZaU\",\"requestFormInputRoot\":\"add-credit_requestFormInputRoot__29V-O\",\"requestFormInput\":\"add-credit_requestFormInput__1YJtW\",\"labelText\":\"add-credit_labelText__2yR5w\",\"cardInput\":\"add-credit_cardInput__3DVuB\",\"closeIcon\":\"add-credit_closeIcon__1-3ZD\",\"dialogTitle\":\"add-credit_dialogTitle__CE0zl\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"mainContainer\":\"wallet-history_mainContainer__1y7-b\",\"circleStyle\":\"wallet-history_circleStyle__Qhdgq\",\"welcomeName\":\"wallet-history_welcomeName__1dG0y\",\"searchContainer\":\"wallet-history_searchContainer__12a7_\",\"searchSection\":\"wallet-history_searchSection__2tkmU\",\"searchMerchants\":\"wallet-history_searchMerchants__2e81l\",\"searchButton\":\"wallet-history_searchButton__GM70o\",\"balanceSection\":\"wallet-history_balanceSection__2a3Gi\",\"balanceText\":\"wallet-history_balanceText__13fg1\",\"amountText\":\"wallet-history_amountText__1w8xk\",\"balanceAmount\":\"wallet-history_balanceAmount__3Nbo5\",\"tableContainer\":\"wallet-history_tableContainer__1spoo\",\"refundIcon\":\"wallet-history_refundIcon__HL89i\",\"actionsColumn\":\"wallet-history_actionsColumn__avI4E\",\"noData\":\"wallet-history_noData__cl9tf\",\"select\":\"wallet-history_select__1jNz7\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"settingsContainer\":\"merchant-capabilities_settingsContainer__2eWmD\",\"divTitle\":\"merchant-capabilities_divTitle__2eBLQ\",\"settingsTitle\":\"merchant-capabilities_settingsTitle__3zFw6\",\"container\":\"merchant-capabilities_container__3aDLI\",\"navContainer\":\"merchant-capabilities_navContainer__35cuJ\",\"searchMerchants\":\"merchant-capabilities_searchMerchants__1wSux\",\"searchButton\":\"merchant-capabilities_searchButton__30cuN\",\"settings__buttons\":\"merchant-capabilities_settings__buttons__32ZoD\",\"notificationContainer\":\"merchant-capabilities_notificationContainer__iHRL2\",\"success_icon\":\"merchant-capabilities_success_icon__2SAWs\",\"notification\":\"merchant-capabilities_notification__3FYfT\",\"search_form\":\"merchant-capabilities_search_form__1t8ze\",\"mainContainer\":\"merchant-capabilities_mainContainer__wJRfu\",\"datePicker\":\"merchant-capabilities_datePicker__uh63o\",\"filterContainer\":\"merchant-capabilities_filterContainer__2Aj5n\",\"formControl\":\"merchant-capabilities_formControl__3a1r5\",\"selectInput\":\"merchant-capabilities_selectInput__mB-hq\",\"inputlabel\":\"merchant-capabilities_inputlabel__32rdB\",\"listItemStyle\":\"merchant-capabilities_listItemStyle__vr6S6\"};","export const emailValidationPattern = {\n regexString: '^[a-zA-Z0-9+_.-]+@[a-zA-Z0-9.-]+[.]+[a-zA-Z]{2,20}'\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"paymentsNone\":\"payouts-list-table_paymentsNone__2peSL\",\"resultSpan\":\"payouts-list-table_resultSpan__1_9CQ\",\"buttonDiv\":\"payouts-list-table_buttonDiv__2JJPw\",\"referenceColumn\":\"payouts-list-table_referenceColumn__1dC5v\",\"resendBtns\":\"payouts-list-table_resendBtns__3d5qu\",\"buttons\":\"payouts-list-table_buttons__2PDob\",\"tableRow\":\"payouts-list-table_tableRow__2FDjc\",\"in_batch_container\":\"payouts-list-table_in_batch_container__2gCSh\",\"expand__arrow\":\"payouts-list-table_expand__arrow__2DSoh\",\"expand__arrow__disabled\":\"payouts-list-table_expand__arrow__disabled__OYMZH\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"title\":\"home-item-details_title__BMhxS\",\"businessDetailsContainer\":\"home-item-details_businessDetailsContainer__3kX38\",\"disableFlex\":\"home-item-details_disableFlex__3ocJF\",\"cardHeadertitleEdit\":\"home-item-details_cardHeadertitleEdit__1GBTt\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"listContainer\":\"merchant-list-container_listContainer__2Pl2N\",\"listItem\":\"merchant-list-container_listItem__8M3ln\",\"listIcon\":\"merchant-list-container_listIcon__3ovSY\",\"merchantNameContainer\":\"merchant-list-container_merchantNameContainer__2hNTV\",\"merchantName\":\"merchant-list-container_merchantName__2IEE4\",\"overflowCollapse\":\"merchant-list-container_overflowCollapse__-UPyu\",\"listItemSearchMerchants\":\"merchant-list-container_listItemSearchMerchants__3qCV_\",\"searchMerchants\":\"merchant-list-container_searchMerchants__2Fwv3\",\"loading\":\"merchant-list-container_loading__2k0vX\",\"createNewMerchant\":\"merchant-list-container_createNewMerchant__2HR8S\",\"paper\":\"merchant-list-container_paper__1dOmc\",\"listContentContainer\":\"merchant-list-container_listContentContainer__13_A3\",\"editIcon\":\"merchant-list-container_editIcon__2yCv9\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"buttonsWrapper\":\"next-btn_buttonsWrapper__1ysYU\",\"saveNextBtn\":\"next-btn_saveNextBtn__3Z93h\",\"saveExitBtn\":\"next-btn_saveExitBtn__1q6ce\",\"primaryButtonColor\":\"next-btn_primaryButtonColor__3RFMa\",\"nextBtn\":\"next-btn_nextBtn__1OAXK\",\"remindMeLater\":\"next-btn_remindMeLater__1w-ax\",\"pendingButton\":\"next-btn_pendingButton__14Yzc\",\"firstButton\":\"next-btn_firstButton__2q4la\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"cardContainer\":\"virtual-terminal_cardContainer__2S90x\",\"phoneInput\":\"virtual-terminal_phoneInput__WAi-W\",\"cardFormContainer\":\"virtual-terminal_cardFormContainer__3bHxk\",\"footerText\":\"virtual-terminal_footerText__3Lcyu\",\"headerText\":\"virtual-terminal_headerText__1YmeV\",\"cardInput\":\"virtual-terminal_cardInput__35uLi\",\"-select\":\"virtual-terminal_-select__2-tBA\",\"proceedViaCard\":\"virtual-terminal_proceedViaCard__3WPgN\",\"proceedViaLink\":\"virtual-terminal_proceedViaLink__3LcD-\",\"paymentOptionContainer\":\"virtual-terminal_paymentOptionContainer__yvaRJ\",\"paymentBox\":\"virtual-terminal_paymentBox__1lTdB\",\"select\":\"virtual-terminal_select__27_TL\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"teamContainer\":\"team-members_teamContainer__2ue-q\",\"gridContainer\":\"team-members_gridContainer__3bCXg\",\"itemContainer\":\"team-members_itemContainer__1r1zq\",\"buttonNewMember\":\"team-members_buttonNewMember__1cCS2\",\"buttonNewMemberDisabled\":\"team-members_buttonNewMemberDisabled__2XKxO\",\"headerDiv\":\"team-members_headerDiv__3-WAT\",\"pendingStatus\":\"team-members_pendingStatus__3H-LH\",\"activeStatus\":\"team-members_activeStatus__3Nagn\",\"pageTitle\":\"team-members_pageTitle__ujxFb\",\"teamCard\":\"team-members_teamCard__1IXdv\",\"Badge\":\"team-members_Badge__1FLHR\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"buttonGroupDirection\":\"onboarding-transaction-profile-step-two_buttonGroupDirection__2XgOz\",\"inputDescription\":\"onboarding-transaction-profile-step-two_inputDescription__1DOf7\",\"subTitle\":\"onboarding-transaction-profile-step-two_subTitle__2nDkl\",\"numberFormatInput\":\"onboarding-transaction-profile-step-two_numberFormatInput__2XTO2\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"calenderDiv\":\"calender-shuffle_calenderDiv__3Z4dP\",\"rangeDiv\":\"calender-shuffle_rangeDiv__3gWLL\",\"datepicker\":\"calender-shuffle_datepicker__3Trpa\",\"leftAlign\":\"calender-shuffle_leftAlign__22plz\",\"datePickerAlignment\":\"calender-shuffle_datePickerAlignment__3O0iH\",\"rightAlign\":\"calender-shuffle_rightAlign__4xFbp\",\"contentwrap\":\"calender-shuffle_contentwrap__1RWxd\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"paper\":\"forgot-password_paper__388PE\",\"homeLogo\":\"forgot-password_homeLogo__24mQ1\",\"content\":\"forgot-password_content__1sxhI\",\"textBold\":\"forgot-password_textBold__1wzqe\",\"linkFont\":\"forgot-password_linkFont__3E7-D\",\"submitOtpFormWrapper\":\"forgot-password_submitOtpFormWrapper__1gjlM\",\"linkNewRequest\":\"forgot-password_linkNewRequest__2eDE3\",\"validationNote\":\"forgot-password_validationNote__LDCSy\",\"password_errors\":\"forgot-password_password_errors__10iNZ\",\"primaryActionBtn\":\"forgot-password_primaryActionBtn__3Egnv\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"updateAttributeContainer\":\"change-user-attributes_updateAttributeContainer__k8YBL\",\"actionButtonHolder\":\"change-user-attributes_actionButtonHolder__3F_oK\",\"actionButtonHolderOk\":\"change-user-attributes_actionButtonHolderOk__3sXqg\",\"actionButtonHolderUpdate\":\"change-user-attributes_actionButtonHolderUpdate__3OpF1\",\"userName\":\"change-user-attributes_userName__QQcnM\",\"phoneInput\":\"change-user-attributes_phoneInput__3Bf3g\",\"attributes\":\"change-user-attributes_attributes__3Ukr7\",\"newContainer\":\"change-user-attributes_newContainer__oEItk\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"selectTermsAndConditionInput\":\"upload-terms-and-conditions_selectTermsAndConditionInput__1eMts\",\"termsAndConditionHeader\":\"upload-terms-and-conditions_termsAndConditionHeader__37C8H\",\"uploadTermsAndConditionContainer\":\"upload-terms-and-conditions_uploadTermsAndConditionContainer__6H4pX\",\"pdfIcon\":\"upload-terms-and-conditions_pdfIcon__1x3ME\",\"tableContainer\":\"upload-terms-and-conditions_tableContainer__p7mgf\",\"buttonContainer\":\"upload-terms-and-conditions_buttonContainer__3IreW\",\"disableInputClass\":\"upload-terms-and-conditions_disableInputClass__3BtI9\",\"noFiles\":\"upload-terms-and-conditions_noFiles__vI9It\",\"allowedFormateStyle\":\"upload-terms-and-conditions_allowedFormateStyle__BSAyP\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"updateAccountMypayContainer\":\"canonical-reseller-update-account_updateAccountMypayContainer__2ek3C\",\"formTitle\":\"canonical-reseller-update-account_formTitle__1eB2g\",\"pageTitle\":\"canonical-reseller-update-account_pageTitle__1b-IL\",\"companyAddressContainer\":\"canonical-reseller-update-account_companyAddressContainer__2kI9c\",\"companyTitle\":\"canonical-reseller-update-account_companyTitle__2zPjq\",\"subTitle\":\"canonical-reseller-update-account_subTitle__1y_Gj\",\"updateBtn\":\"canonical-reseller-update-account_updateBtn__1Q7vl\",\"bankDetailsContainer\":\"canonical-reseller-update-account_bankDetailsContainer__3nzrj\",\"bankFields\":\"canonical-reseller-update-account_bankFields__2-9Qn\",\"btnContainer\":\"canonical-reseller-update-account_btnContainer__1n734\",\"phoneInput\":\"canonical-reseller-update-account_phoneInput__2kETo\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"userManagement\":\"user-management_userManagement__1cjaX\",\"headerPage\":\"user-management_headerPage__3Wdw1\",\"textHeader\":\"user-management_textHeader__2qceE\",\"username\":\"user-management_username__2xbNg\",\"actionsColumn\":\"user-management_actionsColumn__TR7Ry\",\"assignButton\":\"user-management_assignButton__1Yre_\",\"entitiesColumn\":\"user-management_entitiesColumn__2Ipsj\",\"entitiesSelect\":\"user-management_entitiesSelect__1FL26\",\"circleEntity\":\"user-management_circleEntity__TINjS\",\"switchDisableEnableUser\":\"user-management_switchDisableEnableUser__2qQdK\",\"rowUser\":\"user-management_rowUser__14AhQ\",\"createUserBtn\":\"user-management_createUserBtn__345wB\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"header\":\"payout-not-received_header__ihRkd\",\"top\":\"payout-not-received_top__MvGKI\",\"tableDataCell\":\"payout-not-received_tableDataCell__2rYLh\",\"tableRefundCell\":\"payout-not-received_tableRefundCell__1c3UG\",\"row\":\"payout-not-received_row__owX6f\",\"mainContainer\":\"payout-not-received_mainContainer___2Wjb\",\"calenderDiv\":\"payout-not-received_calenderDiv__2XYKK\",\"refundsNone\":\"payout-not-received_refundsNone__2FkB8\",\"rangeDiv\":\"payout-not-received_rangeDiv__QLrsQ\",\"rangeSelect\":\"payout-not-received_rangeSelect__2sCMX\",\"paper\":\"payout-not-received_paper__Zr8-I\",\"TableContainer\":\"payout-not-received_TableContainer__3wWho\",\"navButton\":\"payout-not-received_navButton__xX_IC\",\"resendBtns\":\"payout-not-received_resendBtns__CxggH\",\"buttons\":\"payout-not-received_buttons__1WQ4g\"};","export const payoutStatus = {\n PENDING: 'PENDING',\n COMPLETE: 'COMPLETE',\n SENT: 'SENT',\n FAILED: 'FAILED',\n RESEND: 'RESEND',\n NOT_RECEIVED: 'NOT-RECEIVED',\n CANCEL: 'CANCEL'\n};\n\nexport const payoutStatusToDate = {\n PENDING: 'date_pending',\n COMPLETE: 'date_complete',\n SENT: 'date_sent',\n FAILED: 'date_complete'\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"divTableFooter\":\"table-footer_divTableFooter__18ydC\",\"currencySpan\":\"table-footer_currencySpan__2cxy4\",\"amountSpan\":\"table-footer_amountSpan__1TKwC\",\"columnSpan\":\"table-footer_columnSpan__2cNPO\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"checkListContainer\":\"merchant-verification-checklist_checkListContainer__3fXe_\",\"title\":\"merchant-verification-checklist_title__2quSZ\",\"actionButtons\":\"merchant-verification-checklist_actionButtons__xQcJT\",\"buttonStyle\":\"merchant-verification-checklist_buttonStyle__1iCE8\",\"checkListItem\":\"merchant-verification-checklist_checkListItem__3POS-\",\"closeButton\":\"merchant-verification-checklist_closeButton__2wMVF\",\"sendNotesContainer\":\"merchant-verification-checklist_sendNotesContainer__3c9Ch\",\"sendNotesButton\":\"merchant-verification-checklist_sendNotesButton__1XJm4\",\"sendNotesError\":\"merchant-verification-checklist_sendNotesError__zIV9e\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"merchant-details_container__33_mr\",\"backButtonBox\":\"merchant-details_backButtonBox__1Z01X\",\"merchantName\":\"merchant-details_merchantName__2gKyY\",\"loading\":\"merchant-details_loading__3kRga\",\"detailsView\":\"merchant-details_detailsView__2DY1L\",\"thirdId\":\"merchant-details_thirdId__1Y4P5\",\"mainContainer\":\"merchant-details_mainContainer__3S90R\",\"subTitle\":\"merchant-details_subTitle__3d8RE\",\"divSubTitle\":\"merchant-details_divSubTitle__2IY6D\",\"viewDocuments\":\"merchant-details_viewDocuments__WFy9T\",\"paymentsContainer\":\"merchant-details_paymentsContainer__sfNFS\"};","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Tabs, Tab } from '@material-ui/core';\nimport { withStyles } from '@material-ui/core/styles';\nimport styles from './filter-tabs.module.scss';\n\nconst StyledTab = withStyles(() => ({\n root: {\n textTransform: 'initial',\n color: '#8783b5',\n fontWeight: '500',\n fontSize: '14px',\n padding: '0px 20px',\n minWidth: '100px'\n }\n}))((props) => );\n\nconst FilterTabsComponent = (props) => {\n const { tabFilterValue, setTabFilterValue, tabList } = props;\n return (\n
    \n setTabFilterValue(newValue)}\n >\n {tabList &&\n Object.entries(tabList).map(([key, value], i) => )}\n \n
    \n );\n};\n\nexport default FilterTabsComponent;\n\nFilterTabsComponent.propTypes = {\n tabFilterValue: PropTypes.string.isRequired,\n setTabFilterValue: PropTypes.func.isRequired,\n tabList: PropTypes.object.isRequired\n};\n","import React from 'react';\n\nimport FilterTabsComponent from './filter-tabs.component.jsx';\n\nconst FilterTabs = (props) => {\n return ;\n};\n\nexport default FilterTabs;\n","export const PaymentsFilterTabs = {\n Successful: 'Sent',\n Refunded: 'Refunded',\n All: 'all'\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"signUpForm\":\"signup-form_signUpForm__1KsT_\",\"gridContainer\":\"signup-form_gridContainer__2FW4z\",\"signUpFormButton\":\"signup-form_signUpFormButton__21tbC\",\"loading\":\"signup-form_loading__2IWX_\",\"userName\":\"signup-form_userName__sN6bL\",\"signUpButton\":\"signup-form_signUpButton__C1W-E\",\"linkToSignUp\":\"signup-form_linkToSignUp__2CrFT\",\"socialAccountLink\":\"signup-form_socialAccountLink__3sKcu\",\"phoneInput\":\"signup-form_phoneInput__25SuS\",\"crossIcon\":\"signup-form_crossIcon__2cVkB\",\"validationText\":\"signup-form_validationText__T7mSV\",\"validationTextContainer\":\"signup-form_validationTextContainer__2u_rz\",\"validaion__messages\":\"signup-form_validaion__messages__2PpHS\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"modalUser\":\"modal-user-icon_modalUser__1XZo_\",\"modalDialog\":\"modal-user-icon_modalDialog__ZlHw6\",\"userInfo\":\"modal-user-icon_userInfo__P1Gv_\",\"picture\":\"modal-user-icon_picture__2y70K\",\"email\":\"modal-user-icon_email__1jCDC\",\"manageProfile\":\"modal-user-icon_manageProfile__7QElL\",\"modalBody\":\"modal-user-icon_modalBody__2-qvT\",\"listItem\":\"modal-user-icon_listItem__2c902\",\"modalFooter\":\"modal-user-icon_modalFooter__1vueo\",\"logout\":\"modal-user-icon_logout__29BuZ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"formItemGrid\":\"upload-documents_formItemGrid__3aJOr\",\"select\":\"upload-documents_select__U-ccP\",\"uploadBtn\":\"upload-documents_uploadBtn__1_TAH\",\"loading\":\"upload-documents_loading__2m4gL\",\"zoneDisabled\":\"upload-documents_zoneDisabled__GlS34\",\"zoneEnabled\":\"upload-documents_zoneEnabled__2ui1d\",\"dropzoneClass\":\"upload-documents_dropzoneClass__1UwmT\",\"idNumber\":\"upload-documents_idNumber__2ODB9\",\"cardNumber\":\"upload-documents_cardNumber__1gND0\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"previewContainer\":\"merchant-dashboard-preview_previewContainer__qjS9c\",\"previewTxtContainer\":\"merchant-dashboard-preview_previewTxtContainer__3Tv8Q\",\"textBold\":\"merchant-dashboard-preview_textBold__9wvvg\",\"welcomeName\":\"merchant-dashboard-preview_welcomeName__2rCCj\",\"nameOnboardContainer\":\"merchant-dashboard-preview_nameOnboardContainer__1eArh\",\"onboardBtn\":\"merchant-dashboard-preview_onboardBtn__3e6ef\",\"iconButton\":\"merchant-dashboard-preview_iconButton__F79JA\",\"orangBtn\":\"merchant-dashboard-preview_orangBtn__1gNpJ\",\"greenBtn\":\"merchant-dashboard-preview_greenBtn__3FV8S\",\"disabledBtn\":\"merchant-dashboard-preview_disabledBtn__1BQQx\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"chargebackNoteDetailsWrapper\":\"chargebacks-expanded-row_chargebackNoteDetailsWrapper__infZL\",\"avatar\":\"chargebacks-expanded-row_avatar__3Gfz8\",\"reporterOrg\":\"chargebacks-expanded-row_reporterOrg__ceKP3\",\"chargebackNoteHolder\":\"chargebacks-expanded-row_chargebackNoteHolder__uJwfj\",\"chargebackNote\":\"chargebacks-expanded-row_chargebackNote__3Yd6x\",\"proofOfDamageWrapper\":\"chargebacks-expanded-row_proofOfDamageWrapper__1dizI\",\"proofOfDamageLabel\":\"chargebacks-expanded-row_proofOfDamageLabel__1u_AK\",\"proofStats\":\"chargebacks-expanded-row_proofStats__1-3zW\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"formContainer\":\"update-account_formContainer__32x8h\",\"formTitle\":\"update-account_formTitle__21byR\",\"pageTitle\":\"update-account_pageTitle__1VYic\",\"updateBtn\":\"update-account_updateBtn__3_EVC\",\"bankDetailsContainer\":\"update-account_bankDetailsContainer__1T_4f\",\"bankFields\":\"update-account_bankFields__3KPPi\",\"btnContainer\":\"update-account_btnContainer__LwFu-\",\"background\":\"update-account_background__1-612\",\"phoneInput\":\"update-account_phoneInput__F2VnA\",\"UpdatesContainer\":\"update-account_UpdatesContainer__3CefO\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"containerDialog\":\"withdrawal-submission_containerDialog__3EW22\",\"headerDivider\":\"withdrawal-submission_headerDivider__3HGRF\",\"withdrawalText\":\"withdrawal-submission_withdrawalText__1lK-T\",\"withdrawalreqText\":\"withdrawal-submission_withdrawalreqText__16GZd\",\"withdrawalAmount\":\"withdrawal-submission_withdrawalAmount__Lxpke\",\"descriptionContainer\":\"withdrawal-submission_descriptionContainer__rHIes\",\"description\":\"withdrawal-submission_description__1Weq_\",\"button\":\"withdrawal-submission_button__3v0Oc\",\"codeInputIreland\":\"withdrawal-submission_codeInputIreland__32ZII\",\"validIcon\":\"withdrawal-submission_validIcon__3d3Mj\",\"errorIcon\":\"withdrawal-submission_errorIcon__31g6s\",\"firstWithdrawalContainer\":\"withdrawal-submission_firstWithdrawalContainer__s3FjK\",\"alert_message\":\"withdrawal-submission_alert_message__1Ge5X\",\"click__here\":\"withdrawal-submission_click__here__1ZY2F\",\"waiting\":\"withdrawal-submission_waiting__3aubJ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"headerDivider\":\"modal-cancel-internal-transfer_headerDivider__3Tg6G\",\"title\":\"modal-cancel-internal-transfer_title__rQa-q\",\"spanMessage\":\"modal-cancel-internal-transfer_spanMessage__1-sdC\",\"spanErrorMessage\":\"modal-cancel-internal-transfer_spanErrorMessage__3llbF\",\"supplier\":\"modal-cancel-internal-transfer_supplier__1lvaE\",\"withdrawalArrivingText\":\"modal-cancel-internal-transfer_withdrawalArrivingText__1IVcS\",\"customOutlineInput\":\"modal-cancel-internal-transfer_customOutlineInput__1DmAH\",\"buttonsContainer\":\"modal-cancel-internal-transfer_buttonsContainer__5ZS-w\",\"button\":\"modal-cancel-internal-transfer_button__3csUh\",\"transferLastText\":\"modal-cancel-internal-transfer_transferLastText__28bIn\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"settingsContainer\":\"canonical-reseller-settings_settingsContainer__13ofh\",\"divTitle\":\"canonical-reseller-settings_divTitle__Hrhh3\",\"settingsTitle\":\"canonical-reseller-settings_settingsTitle__3q4Fz\",\"container\":\"canonical-reseller-settings_container__s0SCA\",\"navContainer\":\"canonical-reseller-settings_navContainer__2a8et\",\"settings__buttons\":\"canonical-reseller-settings_settings__buttons__1lRq5\",\"notificationContainer\":\"canonical-reseller-settings_notificationContainer__1RDT8\",\"closeAccountnotification\":\"canonical-reseller-settings_closeAccountnotification__3LH3k\",\"iconUnverified\":\"canonical-reseller-settings_iconUnverified__2OORN\",\"errorIcon\":\"canonical-reseller-settings_errorIcon__3Nv-Z\",\"errorMessage\":\"canonical-reseller-settings_errorMessage__3c0Bt\",\"success_icon\":\"canonical-reseller-settings_success_icon__1Ij0p\",\"notification\":\"canonical-reseller-settings_notification__AcFSJ\",\"mainContainer\":\"canonical-reseller-settings_mainContainer__2tIIq\",\"listContainer\":\"canonical-reseller-settings_listContainer__25o0p\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"row\":\"print-agreement_row__Q-DsQ\",\"paper\":\"print-agreement_paper__3I8e9\",\"header\":\"print-agreement_header__1jFbx\",\"topbar\":\"print-agreement_topbar__1eXqZ\",\"tableheader\":\"print-agreement_tableheader__8kH-G\",\"exportPdfButton\":\"print-agreement_exportPdfButton__tonvB\",\"topright\":\"print-agreement_topright__3gFkV\",\"address\":\"print-agreement_address__3-dWK\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"formItemGrid\":\"onboarding-business-details_formItemGrid__W1tkv\",\"phoneInput\":\"onboarding-business-details_phoneInput__2jXCd\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"spanLabel\":\"modal-refund-internal-transfer_spanLabel__GOd2C\",\"spanErrorMessage\":\"modal-refund-internal-transfer_spanErrorMessage__1sbLa\",\"sender\":\"modal-refund-internal-transfer_sender__1Njgy\",\"action_items__account_balance\":\"modal-refund-internal-transfer_action_items__account_balance__3_a1g\",\"action_items__account_balance__currency\":\"modal-refund-internal-transfer_action_items__account_balance__currency__2avJi\",\"action_items__input\":\"modal-refund-internal-transfer_action_items__input__dxb82\",\"action_items__input__balance\":\"modal-refund-internal-transfer_action_items__input__balance__17AHB\",\"inputAmount\":\"modal-refund-internal-transfer_inputAmount__39tot\"};","import { AuthAxios, DatmanAxios } from './interceptor.service.js';\nimport { SuccesResponse, ErrorResponse } from 'models';\nimport { DatmanAPIEndpoint, RefundPaymentEndpoint, GetPaymentsEndpoint } from 'utils/constants';\n\nasync function GetPayments(merchantId, paymentsRequest) {\n try {\n const requestResult = await AuthAxios.post(\n `${GetPaymentsEndpoint}/get-payments/${merchantId}`,\n paymentsRequest\n );\n const { data, status } = requestResult;\n let payments = data.data.transactions.map((payment) => {\n if (!('key' in payment)) payment.status = 'Sent';\n return payment;\n });\n return new SuccesResponse({ payments: payments, total: data.data.total }, status);\n } catch (err) {\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nasync function GetPaymentsTotal(paymentsRequest) {\n try {\n const requestResult = await DatmanAxios.post(`${DatmanAPIEndpoint}/portal/payments`, paymentsRequest);\n const { data, status } = requestResult;\n\n return new SuccesResponse(data.data.total, status);\n } catch (err) {\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nasync function RefundPayment(refundPaymentRequest) {\n try {\n const requestResult = await AuthAxios.post(RefundPaymentEndpoint, JSON.stringify(refundPaymentRequest));\n\n const { data, status } = requestResult;\n\n return new SuccesResponse(data, status);\n } catch (err) {\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nasync function runStripePaymentReport(merchantId, reportRequest) {\n try {\n const response = await AuthAxios.post(\n `${GetPaymentsEndpoint}/run-stripe-payment-report/${merchantId}`,\n reportRequest\n );\n return new SuccesResponse(response.data, response.status);\n } catch (error) {\n const errMessage = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\nasync function fetchStripePaymentReport(merchantId, reportId) {\n try {\n const response = await AuthAxios.get(\n `${GetPaymentsEndpoint}/fetch-stripe-payment-report/${merchantId}/${reportId}`\n );\n return new SuccesResponse(response.data, response.status);\n } catch (error) {\n const errMessage = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\nasync function fetchAccountBalance(merchantId) {\n try {\n const response = await AuthAxios.get(`${GetPaymentsEndpoint}/account/balance/${merchantId}`);\n\n //total balance and convertion to decimal\n let data = { balance: (response.data.availableBalance + response.data.pendingBalance) / 100 };\n return new SuccesResponse(data, response.status);\n } catch (error) {\n const errMessage = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nasync function schedulePaymentsExport(data) {\n try {\n const requestResult = await DatmanAxios.post(`${DatmanAPIEndpoint}/portal/reports/schedule/payment`, data);\n\n return new SuccesResponse(requestResult);\n } catch (err) {\n console.log(err);\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nasync function sentExportReport(merchantId, payload) {\n try {\n const response = await AuthAxios.post(`${GetPaymentsEndpoint}/generate-payment-report/${merchantId}`, payload);\n\n return new SuccesResponse(response.data, response.status);\n } catch (err) {\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nasync function GetSplitFee(payLoad) {\n try {\n const response = await DatmanAxios.post(`${DatmanAPIEndpoint}/portal/payment/fee-details`, payLoad);\n return new SuccesResponse(response.data, response.status);\n } catch (err) {\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\nasync function MoveTransactions(payload) {\n try {\n const response = await DatmanAxios.post(`${DatmanAPIEndpoint}/portal/move-transaction`, payload);\n\n return new SuccesResponse(response.data, response.status);\n } catch (err) {\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nasync function GetPaymentProvider() {\n try {\n const response = await DatmanAxios.get(`${DatmanAPIEndpoint}/portal/get-payments-providers`);\n return new SuccesResponse(response.data);\n } catch (err) {\n console.log('error--', err);\n return new ErrorResponse('Error');\n }\n}\n\nasync function VoidIncorrectTransaction(paymentId) {\n try {\n const response = await DatmanAxios.post(`${DatmanAPIEndpoint}/portal/void-incorrect-transaction/${paymentId}`);\n return new SuccesResponse(response.data);\n } catch (err) {\n console.log('error--', err);\n return new ErrorResponse('Error');\n }\n}\n\nasync function getWalletHistory(payload) {\n try {\n const response = await AuthAxios.post(`${GetPaymentsEndpoint}/wallet-history`, payload);\n return new SuccesResponse(response.data, response.status);\n } catch (error) {\n console.log('error--', error);\n return new ErrorResponse('Error');\n }\n}\n\nasync function walletToCard(payload) {\n try {\n const response = await AuthAxios.post(`${GetPaymentsEndpoint}/wallet-to-card`, payload);\n return new SuccesResponse(response.data, response.status);\n } catch (error) {\n return new ErrorResponse('Error');\n }\n}\nasync function exportInCSV(merchantId, payload) {\n try {\n const response = await AuthAxios.post(`${GetPaymentsEndpoint}/export-csv/${merchantId}`, payload);\n\n return new SuccesResponse(response.data, response.status);\n } catch (err) {\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nexport default {\n GetPayments,\n RefundPayment,\n GetPaymentsTotal,\n runStripePaymentReport,\n fetchStripePaymentReport,\n fetchAccountBalance,\n schedulePaymentsExport,\n sentExportReport,\n GetSplitFee,\n MoveTransactions,\n GetPaymentProvider,\n VoidIncorrectTransaction,\n getWalletHistory,\n walletToCard,\n exportInCSV\n};\n","import { AuthAxios } from './interceptor.service.js';\nimport { SettingsServiceEndpoint } from '../utils/constants';\nimport { SuccesResponse, ErrorResponse } from 'models';\n\nasync function createOtp(merchantId, data) {\n try {\n const requestResult = await AuthAxios.post(`${SettingsServiceEndpoint}/otp/generate/${merchantId}`, data);\n return new SuccesResponse(requestResult.data);\n } catch (err) {\n const errMessage =\n err.response?.data?.data ||\n 'Unfortunately there was an issue and your request is taking longer than expected. Please try again later.';\n return new ErrorResponse(errMessage, err.response?.status);\n }\n}\nasync function verifyOtp(merchantId, data) {\n try {\n const requestResult = await AuthAxios.post(`${SettingsServiceEndpoint}/otp/verify/${merchantId}`, data);\n return new SuccesResponse(requestResult.data);\n } catch (err) {\n const errMessage =\n err.response?.data?.data ||\n 'Unfortunately there was an issue and your request is taking longer than expected. Please try again later.';\n return new ErrorResponse(errMessage, err.response?.status);\n }\n}\nasync function resendOtp(merchantId, data) {\n try {\n const requestResult = await AuthAxios.post(`${SettingsServiceEndpoint}/otp/resend/${merchantId}`, data);\n return new SuccesResponse(requestResult.data);\n } catch (err) {\n const errMessage =\n err.response?.data?.data ||\n 'Unfortunately there was an issue and your request is taking longer than expected. Please try again later.';\n return new ErrorResponse(errMessage, err.response?.status);\n }\n}\n\nexport default {\n createOtp,\n verifyOtp,\n resendOtp\n};\n","export const PaymentStatus = {\n OK: 'SUCCESS',\n FAILED: 'UNSUCCESSFUL',\n DECLINE: 'UNSUCCESSFUL',\n 'RISK-CHECK-DECLINE': 'UNSUCCESSFUL',\n ERROR: 'UNSUCCESSFUL',\n '3DS-PROGRESS': 'PENDING',\n REFUND: 'REFUND',\n 'REDEEM-CANCEL': 'REFUND'\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"updateAccountMypayContainer\":\"update-account-reseller-merchant_updateAccountMypayContainer__U4T4e\",\"formContainer\":\"update-account-reseller-merchant_formContainer__S51pU\",\"formSection\":\"update-account-reseller-merchant_formSection__2VEET\",\"formTitle\":\"update-account-reseller-merchant_formTitle__2z-OK\",\"pageTitle\":\"update-account-reseller-merchant_pageTitle__foll5\",\"updateBtn\":\"update-account-reseller-merchant_updateBtn__1yV_J\",\"bankDetailsContainer\":\"update-account-reseller-merchant_bankDetailsContainer__3Jjjj\",\"bankFields\":\"update-account-reseller-merchant_bankFields__3c6Jx\",\"btnContainer\":\"update-account-reseller-merchant_btnContainer__SHeCI\",\"phoneInput\":\"update-account-reseller-merchant_phoneInput__4ntII\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"dialogContentDatePicker\":\"modal-send-report_dialogContentDatePicker__2-acs\",\"dialog\":\"modal-send-report_dialog__1FHV3\",\"dialogContent\":\"modal-send-report_dialogContent__1RXYI\",\"datePicker\":\"modal-send-report_datePicker__8ZG5d\",\"exportSelect\":\"modal-send-report_exportSelect__3_X65\",\"selectTimeFrame\":\"modal-send-report_selectTimeFrame__RG5Ju\",\"dialogActions\":\"modal-send-report_dialogActions__2Rl7Q\",\"MuiOutlinedInput-input\":\"modal-send-report_MuiOutlinedInput-input__3MMKQ\",\"paraText\":\"modal-send-report_paraText__14i-q\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"content\":\"update-password_content__1M4uu\",\"updatePasswordCard\":\"update-password_updatePasswordCard__3-uSV\",\"pageTitle\":\"update-password_pageTitle__20RQ_\",\"inputContainer\":\"update-password_inputContainer__340_u\",\"buttonContainer\":\"update-password_buttonContainer__3VE8R\",\"buttonUpdatePass\":\"update-password_buttonUpdatePass__2pCDP\",\"validationNote\":\"update-password_validationNote__SeawD\",\"doneIcon\":\"update-password_doneIcon__2Sfbu\",\"crossIcon\":\"update-password_crossIcon__1aZYR\",\"validationText\":\"update-password_validationText__3x1m6\",\"validationTextContainer\":\"update-password_validationTextContainer__3BJ_F\",\"alertError\":\"update-password_alertError__2iYD4\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"termsAndConditionContainer\":\"settings-terms-and-conditions_termsAndConditionContainer__16M5t\",\"termsAndConditionsInSideModal\":\"settings-terms-and-conditions_termsAndConditionsInSideModal__3Tb3i\",\"centerAlignHeader\":\"settings-terms-and-conditions_centerAlignHeader__Lmv72\",\"pageTitle\":\"settings-terms-and-conditions_pageTitle__5c5bm\",\"termsAndConditionHeader\":\"settings-terms-and-conditions_termsAndConditionHeader__3dUv_\",\"iframeContainer\":\"settings-terms-and-conditions_iframeContainer__dg3u5\",\"iframePdf\":\"settings-terms-and-conditions_iframePdf__2MKsE\",\"submitInput\":\"settings-terms-and-conditions_submitInput__1fatd\",\"loading\":\"settings-terms-and-conditions_loading__3Hndg\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"qrImage\":\"modal-preview-qr-code_qrImage__2wKH3\",\"dialogContent\":\"modal-preview-qr-code_dialogContent__1u7cg\",\"qrViewModalTitle\":\"modal-preview-qr-code_qrViewModalTitle__lXHqh\",\"description\":\"modal-preview-qr-code_description__3tGqP\",\"dialog\":\"modal-preview-qr-code_dialog__R7YWg\",\"closeIcon\":\"modal-preview-qr-code_closeIcon__mwqK7\",\"loading\":\"modal-preview-qr-code_loading__1LFRl\",\"textInput\":\"modal-preview-qr-code_textInput__1zeN6\",\"copyIcon\":\"modal-preview-qr-code_copyIcon__IRXmz\",\"urlDiv\":\"modal-preview-qr-code_urlDiv__2ic1k\",\"qrBtn\":\"modal-preview-qr-code_qrBtn__9g9wu\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"btnContainer\":\"dialog-view-manage-products_btnContainer__3DkPa\",\"textfield\":\"dialog-view-manage-products_textfield__3c4vB\",\"closeIcon\":\"dialog-view-manage-products_closeIcon__1qmxv\",\"paper\":\"dialog-view-manage-products_paper__k_YRN\",\"secondaryActionBtn\":\"dialog-view-manage-products_secondaryActionBtn__3UkDf\",\"primaryActionBtn\":\"dialog-view-manage-products_primaryActionBtn__24_Kh\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"layout_container__1ApZB\",\"sideNavContainer\":\"layout_sideNavContainer__1jks0\",\"contentContainer\":\"layout_contentContainer__2Zfr_\",\"menuIcon\":\"layout_menuIcon__1-qDX\",\"waFloat\":\"layout_waFloat__1_BBO\",\"drawerMenu\":\"layout_drawerMenu__2NCVi\",\"listMerchantsContainer\":\"layout_listMerchantsContainer__3a74T\",\"menuIconContainer\":\"layout_menuIconContainer__3cVn-\",\"mobileHeader\":\"layout_mobileHeader__1Qh0d\",\"messageWidth\":\"layout_messageWidth__32b8K\"};","import { Auth, Hub } from 'aws-amplify';\nimport browserHistory from 'browserHistory';\nimport React, { useEffect, useState, useRef } from 'react';\nimport { AuthService, CanonicalResellerService, TaxonomyService } from 'services';\nimport regexRoutes from '../../routing/regex-routes';\nimport { parse } from 'query-string';\nimport { Cache } from 'aws-amplify';\nimport { UserType } from 'utils/enums/UserType';\nimport { UNDERMAINTAINANCE, AdminLogoutTime } from 'utils/constants';\nconst GlobalStateContext = React.createContext();\nconst userStore = localStorage.getItem('user');\nconst merchantStore = sessionStorage.getItem('merchant');\nconst resellerStore = localStorage.getItem('reseller');\nconst customDomainStore = localStorage.getItem('customDomain');\nlet user, merchant, reseller, customDomain;\n\nuser = userStore && JSON.parse(userStore);\nmerchant = merchantStore && JSON.parse(merchantStore);\nreseller = resellerStore && JSON.parse(resellerStore);\ncustomDomain = customDomainStore;\n\n/**\n * @type {{\n * user: {\n * id: number,\n * email: string,\n * firstName: string,\n * lastName: string,\n * isDeleted: boolean\n * isDisable: boolean,\n * isEmailConfirmed: boolean,\n * phoneNumber: string,\n * pictureUrl: string,\n * typeId: number,\n * UserType: {\n * name: string\n * }\n * },\n * merchant: {\n * country: string\n * createdAt: string\n * id: number\n * internalTransferStatus: boolean\n * isClosureRequested: boolean\n * label: string\n * merchantProductRequired: []\n * name: string\n * nameWithAddress: string\n * onboardingStep: number\n * postCode: string\n * status: number\n * userRole: string\n * },\n * reseller: {\n * faviconLink: string\n * helpPageURL: string\n * id: number\n * logo: string\n * name: string\n * portalTitle: string\n * portalURL: string\n * termAndCondPageURL: string\n * },\n * areLoadingMerchants: boolean,\n * isT2SMerchant: bool\n * }}\n */\nconst initialState = {\n user: user,\n merchant: merchant,\n reseller: window.location.href.includes(process.env.REACT_APP_CRM_NAME)\n ? JSON.parse(process.env.REACT_APP_CONFIG_SERVICE_ENDPOINT)[1]\n : JSON.parse(process.env.REACT_APP_CONFIG_SERVICE_ENDPOINT)[0],\n areLoadingMerchants: false,\n isT2SMerchant: window.location.href.includes(process.env.REACT_APP_CRM_NAME) ? true : false,\n customDomain: customDomain === 'true' ? true : false,\n merchantAcquirer: { acquirer: null, updatedAt: new Date() }\n};\n\nconst nonLoggedInRoute = ['terms-and-conditions', 'maintenance', 'signup', 'forgot-password'];\n\nfunction GlobalStateProvider(props) {\n const [globalState, setGlobalState] = useState(initialState);\n const storedUser = localStorage.user;\n const userType = storedUser ? JSON.parse(storedUser)?.UserType?.name : null;\n const isAdmin = userType === UserType.Admin || userType === UserType.SuperAdmin;\n const timeoutRef = useRef(null);\n console.log('window');\n\n // Function to logout the user after inactivity timeout\n function logoutUser() {\n if (isAdmin) {\n AuthService.logout();\n Auth.signOut({ global: true }).then(() => {\n setGlobalState({ ...globalState, user: null, merchant: null });\n });\n }\n // Perform logout action here (e.g., redirect to logout page)\n }\n\n // Function to handle user activity (e.g., called on mousemove, keydown, etc.)\n function handleUserActivity() {\n if (isAdmin) {\n clearTimeout(timeoutRef.current); // Clear existing timeout\n timeoutRef.current = setTimeout(logoutUser, AdminLogoutTime); // Set new timeout\n // Update localStorage to communicate with other tabs\n localStorage.setItem('lastActivity', Date.now());\n }\n }\n\n function storageChange(event) {\n if (\n !localStorage.user &&\n !window.location.pathname.includes('/login') &&\n !nonLoggedInRoute.some((pathname) => window.location.pathname.includes(pathname))\n ) {\n setReplaceRoute('/login');\n }\n\n if (localStorage.lastActivity && isAdmin) {\n handleUserActivity();\n }\n }\n window.addEventListener('storage', storageChange, false);\n\n useEffect(() => {\n if (isAdmin) {\n window.addEventListener('mousemove', handleUserActivity);\n window.addEventListener('keydown', handleUserActivity);\n\n handleUserActivity();\n return () => {\n clearTimeout(timeoutRef.current);\n window.removeEventListener('mousemove', handleUserActivity);\n window.removeEventListener('keydown', handleUserActivity);\n };\n }\n });\n\n useEffect(() => {\n async function getReseller() {\n var url = window.location.href;\n const resellerUrl = await getResellerUrl();\n\n const urlParams = parse(url);\n //Google or Facebook - do nothing\n if (urlParams && urlParams.state) {\n return;\n }\n if (resellerUrl !== globalState.reseller?.portalURL) {\n if (resellerUrl) {\n const responseReseller = await TaxonomyService.getResellerByPortalURL(resellerUrl);\n if (responseReseller.isSuccesfully) {\n setTitleAndIcon(responseReseller.data);\n localStorage.setItem('reseller', JSON.stringify(responseReseller.data));\n setGlobalState({\n ...globalState,\n reseller: responseReseller.data,\n isT2SMerchant: window.location.href.includes(process.env.REACT_APP_CRM_NAME) ? true : false\n });\n if (globalState.user) {\n AuthService.logout();\n Auth.signOut({ global: true }).then(() => {\n setRoute('/');\n });\n }\n }\n } else {\n setTitleAndIcon(globalState.reseller);\n setRoute('/');\n }\n } else if (!globalState.reseller?.portalURL) {\n const response = await TaxonomyService.getResellers();\n\n if (response.isSuccesfully) {\n const responseReseller = response.data[0];\n setTitleAndIcon(responseReseller);\n localStorage.setItem('reseller', JSON.stringify(responseReseller));\n setGlobalState({\n ...globalState,\n reseller: responseReseller,\n isT2SMerchant: window.location.href.includes(process.env.REACT_APP_CRM_NAME) ? true : false\n });\n setRoute('/');\n }\n } else {\n setTitleAndIcon(globalState.reseller);\n }\n }\n\n getReseller();\n\n // eslint-disable-next-line\n }, []);\n\n useEffect(() => {\n async function getCanonicalResellers() {\n const isCanonicalResellerUser = globalState.user?.UserType?.name === UserType.Reseller;\n setGlobalState({\n ...globalState,\n canonicalReseller: null\n });\n if (isCanonicalResellerUser && globalState.user) {\n let canonicalResellers = await CanonicalResellerService.getCanonicalResellers();\n\n setGlobalState({\n ...globalState,\n canonicalReseller: canonicalResellers[0]\n });\n }\n }\n\n getCanonicalResellers();\n // eslint-disable-next-line\n }, [globalState.user]);\n\n useEffect(() => {\n Hub.listen('auth', ({ payload: { event, data } }) => {\n switch (event) {\n case 'cognitoHostedUI': {\n if (data.username.startsWith('Google') || data.username.startsWith('Facebook')) {\n setTimeout(() => {\n Hub.dispatch('SignupSocial', {\n event: 'start',\n data: data,\n message: ''\n });\n }, 1000);\n }\n break;\n }\n case 'customOAuthState': {\n const decodedURI = decodeURIComponent(data);\n const portalUrl = decodedURI.includes('&&&')\n ? decodedURI.substring(0, decodedURI.indexOf('&&&'))\n : decodedURI;\n if (decodedURI.includes('&&&')) {\n Cache.setItem(\n 'thirdPartyResellerUrlParameter',\n decodedURI.substring(decodedURI.indexOf('&&&') + 3),\n { priority: 5 }\n );\n }\n\n TaxonomyService.getResellerByPortalURL(portalUrl).then((response) => {\n localStorage.setItem('reseller', JSON.stringify(response.data));\n setGlobalState({ ...globalState, reseller: response.data });\n setRoute('/');\n });\n\n break;\n }\n default: {\n }\n }\n });\n // eslint-disable-next-line\n }, []);\n\n const setRoute = (url, state) => {\n url = getRoute(url);\n browserHistory.push(url, state);\n };\n\n const setReplaceRoute = (url, state) => {\n url = getRoute(url);\n browserHistory.replace(url, state);\n };\n\n const getRoute = (url) => {\n const regex = regexRoutes;\n const isRoute = regex.test(url);\n if (!isRoute) {\n url = '/';\n }\n if (JSON.parse(localStorage.getItem('customDomain')) === false) {\n url = '/' + JSON.parse(localStorage.getItem('reseller'))?.portalURL + url;\n }\n return url;\n };\n\n const getResellerUrl = async () => {\n const response = await TaxonomyService.getResellers();\n let resellers;\n if (response.isSuccesfully) {\n resellers = response.data;\n }\n\n const resDomain = resellers.find((res) => {\n return window.location.host.includes(res.portalURL);\n });\n if (resDomain) {\n localStorage.setItem('customDomain', true);\n setGlobalState({\n ...globalState,\n customDomain: true,\n maintainance: UNDERMAINTAINANCE ? UNDERMAINTAINANCE : false\n });\n return resDomain.portalURL;\n } else {\n const reseller = resellers.find((res) => {\n if (window.location.pathname.length > 1) {\n //Exclude first / from parameter\n if (window.location.pathname.substring(1).startsWith(res.portalURL)) {\n return res;\n }\n }\n return null;\n });\n localStorage.setItem('customDomain', false);\n setGlobalState({ ...globalState, customDomain: false });\n return reseller?.portalURL;\n }\n };\n\n const onGoToAccount = (merchantId) => {\n let routeToGo = getRoute(`/admin-functions/${merchantId}`);\n window.open(routeToGo, '_blank');\n };\n\n return (\n \n {props.children}\n \n );\n}\n\n/**\n * @returns { {globalState: initialState, setGlobalState: (state: initialState) => {}} } [globalState, setGlobalStete]\n */\nfunction useGlobalStateContext() {\n const globalStateContext = React.useContext(GlobalStateContext);\n if (!globalStateContext) {\n throw new Error('useGlobalStateContext must be used within a GlobalStateContext');\n }\n return globalStateContext;\n}\n\n/**\n * @param {{\n * portalURL: string\n * }} reseller\n */\nfunction setTitleAndIcon(reseller) {\n document.title = reseller.portalTitle ?? 'Customer portal';\n\n if (reseller.faviconLink) {\n let link = document.querySelector('link[rel=\"shortcut icon\"]') || document.querySelector('link[rel=\"icon\"]');\n link.href = reseller.faviconLink;\n }\n}\n\nexport { GlobalStateProvider, useGlobalStateContext };\n","export default RegExp(\n '^/home.*$|' +\n '^/profile$|' +\n '^/roles-permissions$|' +\n '^/users$|' +\n '^/settings$|' +\n '^/print-agreement$|' +\n '^/team$|' +\n '^/payments/(month|week|day)/[0-9]{4}-[0-9]{2}-[0-9]{2}$|' +\n '^/chargebacks/(month|week|day)/[0-9]{4}-[0-9]{2}-[0-9]{2}$|' +\n '^/merchant-charges/(month|week|day)/[0-9]{4}-[0-9]{2}-[0-9]{2}$|' +\n '^/payouts/(month|week|day)/[0-9]{4}-[0-9]{2}-[0-9]{2}$|' +\n '^/internal-transfers/(month|week|day)/[0-9]{4}-[0-9]{2}-[0-9]{2}$|' +\n '^/pdq-transactions/(month|week|day)/[0-9]{4}-[0-9]{2}-[0-9]{2}$|' +\n '^/virtual-terminal$|' +\n '^/card-details$|' +\n '^/accept-invitation$|' +\n '^/update-password$|' +\n '^/upload-documents$|' +\n '^/payment-details/[0-9]+$|' +\n '^/payout-details/[0-9]+$|' +\n '^/admin-functions/[0-9]+$|' +\n '^/update-bank$|' +\n '^/update-account$|' +\n '^/manage-products$|' +\n '^/admin-pending-merchants$|' +\n '^/client-register$|' +\n '^/admin$|' +\n '^/support-utilities$|' +\n '^/pending-customers$|' +\n '^/login.*$|' +\n '^/signup.*$|' +\n '^/signup-form.*$|' +\n '^/forgot-password.*$|' +\n '^/help$|' +\n '^/onboarding$|' +\n '^/terms-and-conditions$|' +\n '^/not-authorized$|' +\n '^/merchant-details/[0-9]+$|' +\n '^/reset-password.*$|' +\n '^/upload-bank-documents$|' +\n '^/request-support-form$|' +\n '^/stripe-payout-details/[0-9]+$|' +\n '^/upload-bank-documents$|' +\n '^/canonical-reseller-onboarding$|' +\n '^/create-merchant$|' +\n '^/canonical-reseller-merchant-management/[0-9]+$|' +\n '^/setting-terms-and-conditions$|' +\n '^/document-management/[0-9]+$|' +\n '^/qr-code$|' +\n '^/payment-qr-code$|' +\n '^/generic-qr-code$|' +\n '^/refund-list/(month|week|day)/[0-9]{4}-[0-9]{2}-[0-9]{2}$|' +\n '^/list-chargebacks/(month|week|day)/[0-9]{4}-[0-9]{2}-[0-9]{2}$|' +\n '^/linkQr.*$|' +\n '^/adyen-response/[0-9]+$|' +\n '^/admin-missing-merchant$|' +\n '^/missing-merchant-document/[0-9]+$|' +\n '^/acquirer-details$|' +\n '^/pdq-order-merchant/[0-9]+$|' +\n '^/auditlogs$|' +\n '^/refund-list/(month|week|day)/[0-9]{4}-[0-9]{2}-[0-9]{2}$|' +\n '^/contract-details$|' +\n '^/bank-error-list$|' +\n '^/payouts-not-received$|' +\n '^/maintenance$|' +\n `^/adyen-blocked-merchants-list$|`\n);\n","import React from 'react';\nimport styles from './header.module.scss';\nimport { useGlobalStateContext } from 'contexts';\nimport moment from 'moment';\nimport { useMediaQuery, Typography } from '@material-ui/core';\n\n// import ReactAvatar from 'react-avatar';\n// import logo from '../../assets/images/logo.png';\n// import { Image } from 'react-bootstrap';\n// import { ModalUserIcon } from 'components';\n// import { UserType } from 'utils/enums/UserType';\nimport { ResellerType } from 'utils/enums/ResellerType';\n\nfunction HeaderComponent(props) {\n const { globalState, setGlobalState, setRoute } = useGlobalStateContext();\n // const [show, setShow] = useState(false);\n // const isReseller = globalState.user?.UserType?.name === UserType.Reseller;\n\n const isUserLoggedIn = globalState.user;\n const isOmniPayReseller = globalState.reseller?.name === ResellerType.OMNIPAY;\n const timeOut = props.timeOut;\n const showBanner = props.showBanner;\n const mediaLessThan960px = useMediaQuery('(max-width:959px)');\n\n if (isUserLoggedIn) {\n return (\n \n {/* {isReseller ? (\n
    \n
    \n {\n setRoute('/home');\n }}\n />\n
    \n {globalState.user && (\n
    \n setShow(true)}\n />\n setShow(false)} />\n
    \n )}\n
    \n ) : ( */}\n
    \n {\n setGlobalState({\n ...globalState,\n shouldCheckForUrgentMessages: !globalState.shouldCheckForUrgentMessages\n });\n if (timeOut) {\n localStorage.setItem('skip_clicked', moment().format('DD-MM-YYYY hh:mm:ss'));\n }\n setRoute('/home');\n }}\n >\n \n
    \n
    \n {showBanner && !mediaLessThan960px && (\n
    \n \n
    \n To make sure your details are up to date, please complete the details\n highlighted in red\n
    \n
    \n
    \n )}\n
    \n \n
    \n );\n } else {\n return
    ;\n }\n}\n\nexport default HeaderComponent;\n","import React from 'react';\nimport HeaderComponent from './header.component';\n\nfunction Header(props) {\n return ;\n}\n\nexport default Header;\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"wrapCircle\":\"hierarchy-list_wrapCircle__1wYEs\",\"itemTitle\":\"hierarchy-list_itemTitle__3Dp_o\"};","export const PaymentType = {\n ChargeBack: 0,\n InternalTransfer: 1,\n MerchantCharges: 2,\n Withdrawal: 3\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"updateAccountMypayContainer\":\"update-account-mypay_updateAccountMypayContainer__1qJrB\",\"formContainer\":\"update-account-mypay_formContainer__2q4YD\",\"formTitle\":\"update-account-mypay_formTitle__3kpff\",\"pageTitle\":\"update-account-mypay_pageTitle__2BvVN\",\"bankDetailsContainer\":\"update-account-mypay_bankDetailsContainer__CMqfC\",\"bankFields\":\"update-account-mypay_bankFields__rbf5F\",\"btnContainer\":\"update-account-mypay_btnContainer__3-2Dx\",\"updateBtn\":\"update-account-mypay_updateBtn__3R38E\",\"phoneInput\":\"update-account-mypay_phoneInput__17KVL\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"alertError\":\"link-qr_alertError__70t6Y\",\"homeLogo\":\"link-qr_homeLogo__2TS9w\",\"messageView\":\"link-qr_messageView__3NlKf\",\"merchantName\":\"link-qr_merchantName__3zSvJ\",\"message\":\"link-qr_message__omV5g\",\"btnView\":\"link-qr_btnView__1Q913\",\"merchantList\":\"link-qr_merchantList__23cY7\",\"errorMessage\":\"link-qr_errorMessage__3EUtQ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"paper\":\"bank-error-list_paper__2GD1y\",\"header\":\"bank-error-list_header__s4wSD\",\"tableHeader\":\"bank-error-list_tableHeader__226O4\",\"searchGrid\":\"bank-error-list_searchGrid__NVIbA\",\"searchMerchants\":\"bank-error-list_searchMerchants__3BSqG\",\"tableContainer\":\"bank-error-list_tableContainer__3kWdv\",\"loader\":\"bank-error-list_loader__3nM1v\",\"nameColumn\":\"bank-error-list_nameColumn__3cB6h\",\"noDataContainer\":\"bank-error-list_noDataContainer__2RJWr\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"wrapper\":\"appCTA_wrapper__1eqFf\",\"logo__container\":\"appCTA_logo__container__1AcOa\",\"content__container\":\"appCTA_content__container__3irK-\",\"content__container__text\":\"appCTA_content__container__text__2zGkU\",\"content__container__text__main\":\"appCTA_content__container__text__main__1VTdk\",\"content__container__text__para\":\"appCTA_content__container__text__para__3sAb4\",\"content__container__cta\":\"appCTA_content__container__cta__15cqt\",\"content__container__cta__button\":\"appCTA_content__container__cta__button__3lhdv\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container__img\":\"not-authorized_container__img__371LK\",\"container__redirect\":\"not-authorized_container__redirect__35r-p\",\"container__redirect__text\":\"not-authorized_container__redirect__text__29WCN\",\"container__text\":\"not-authorized_container__text__2egDV\",\"container__spinner\":\"not-authorized_container__spinner__3zh7d\",\"container__anchor\":\"not-authorized_container__anchor__365yB\"};","import { ValidationMessage } from 'models';\nimport { BankAccountLengthConstaints } from 'utils/enums/BankAccountLength';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\n\nexport function validateBankDetailsData(bankDetailsData, bankData) {\n const validData =\n bankDetailsData.confirmExistingAcountNumber &&\n bankDetailsData.confirmExistingAcountNumber.length === 8 &&\n bankDetailsData.confirmExistingSortCode &&\n bankDetailsData.confirmExistingSortCode.length === 6 &&\n bankDetailsData.newAcountNumber &&\n bankDetailsData.newAcountNumber.length === 8 &&\n bankDetailsData.newSortCode &&\n bankDetailsData.newSortCode.length === 6 &&\n bankDetailsData.newAcountHolder &&\n bankDetailsData.newAcountHolder.trim().length > 0;\n\n if (!validData) {\n return new ValidationMessage('Please fill all data.', false);\n }\n\n if (bankData.sortCode && bankDetailsData.confirmExistingSortCode !== bankData.sortCode) {\n return new ValidationMessage(\n ` Sortcode ${bankDetailsData.confirmExistingSortCode} does not match the existing one.`,\n false\n );\n }\n if (bankData.newAccountNumber && bankDetailsData.confirmExistingAcountNumber !== bankData.newAccountNumber) {\n return new ValidationMessage(\n ` Bank account number ${bankDetailsData.confirmExistingAcountNumber} does not match the existing one.`,\n false\n );\n }\n\n if (bankDetailsData.newAcountNumber !== bankDetailsData.newAcountNumberConfirm) {\n return new ValidationMessage('New account number does not match.', false);\n }\n return new ValidationMessage('', true);\n}\nexport function validateAustraliaBankDetails(bankDetailsData, bankData) {\n const validData =\n bankDetailsData.confirmAustraliaAcountNum &&\n bankDetailsData.confirmAustraliaAcountNum.length >= 5 &&\n bankDetailsData.confirmExistingBsbCode &&\n bankDetailsData.confirmExistingBsbCode.length === 6 &&\n bankDetailsData.newAustraliaAccountNum &&\n bankDetailsData.newAustraliaAccountNum.length >= 5 &&\n bankDetailsData.newBsbCode &&\n bankDetailsData.newBsbCode.length === 6 &&\n bankDetailsData.newAcountHolder &&\n bankDetailsData.newAcountHolder.trim().length > 0;\n\n if (!validData) {\n return new ValidationMessage('Please fill all data.', false);\n }\n\n if (bankData.bsb && bankDetailsData.confirmExistingBsbCode !== bankData.bsb) {\n return new ValidationMessage(\n ` Bsbcode ${bankDetailsData.confirmExistingBsbCode} does not match the existing one.`,\n false\n );\n }\n if (bankData.newAccountNumber && bankDetailsData.confirmAustraliaAcountNum !== bankData.newAccountNumber) {\n return new ValidationMessage(\n ` Bank account number ${bankDetailsData.confirmAustraliaAcountNum} does not match the existing one.`,\n\n false\n );\n }\n\n if (bankDetailsData.newAustraliaAccountNum !== bankDetailsData.newAustraliaAcountNumConfirm) {\n return new ValidationMessage('New account number does not match.', false);\n }\n return new ValidationMessage('', true);\n}\n\nexport function validateIrelandBankDetailsData(bankDetailsData, bankData) {\n let IBANStatusCode = 0;\n\n const validData =\n bankDetailsData.confirmExistingIBAN &&\n bankDetailsData.confirmExistingIBAN.length === 22 &&\n bankDetailsData.newIBAN &&\n bankDetailsData.newIBAN.length === 22 &&\n bankDetailsData.newAcountHolder &&\n bankDetailsData.newAcountHolder.trim().length > 0;\n\n if (!validData) {\n IBANStatusCode = 1;\n return new ValidationMessage('Please fill all data.', false);\n }\n\n if (\n bankData.newAccountNumber &&\n bankDetailsData.confirmExistingIBAN.toUpperCase() !== bankData.newAccountNumber.toUpperCase()\n ) {\n IBANStatusCode = 2;\n return IBANStatusCode;\n }\n\n if (bankDetailsData.newIBAN !== bankDetailsData.newIBANConfirm) {\n IBANStatusCode = 3;\n return IBANStatusCode;\n }\n return new ValidationMessage('', true);\n}\n\nexport function validateMypayBankDetailsData(bankDetailsData, bankData) {\n const validData =\n bankDetailsData.newAcountNumber &&\n bankDetailsData.newAcountNumber.length === 8 &&\n bankDetailsData.newSortCode &&\n bankDetailsData.newSortCode.length === 6 &&\n bankDetailsData.newAcountHolder &&\n bankDetailsData.newAcountHolder.trim().length > 0;\n\n if (!validData) {\n return new ValidationMessage('Please fill all data.', false);\n }\n if (bankDetailsData.newAcountNumber !== bankDetailsData.newAcountNumberConfirm) {\n return new ValidationMessage('New account number does not match.', false);\n }\n return new ValidationMessage('', true);\n}\n\nexport function validateNZBankDetailsData(bankDetailsData, bankData) {\n const validData =\n bankDetailsData.confirmExistingNZAcountNumber &&\n bankDetailsData.confirmExistingNZAcountNumber.length >= 15 &&\n bankDetailsData.newNZAcountNumber &&\n bankDetailsData.newNZAcountNumber.length >= 15 &&\n bankDetailsData.newAcountHolder &&\n bankDetailsData.newAcountHolder.trim().length > 0;\n let finalVal = bankDetailsData.confirmExistingNZAcountNumber.toString();\n var myRegexp = /^([^\\s]{6})([^\\s]{7})([^\\s]{2,3})$/g;\n var match = myRegexp.exec(finalVal);\n if (match) {\n match.shift();\n finalVal = match.join('-');\n }\n if (!validData) {\n return new ValidationMessage('Please fill all data.', false);\n }\n\n if (bankData.newAccountNumber && bankDetailsData.confirmExistingNZAcountNumber !== bankData.newAccountNumber) {\n return new ValidationMessage(` Bank account number ${finalVal} does not match the existing one.`, false);\n }\n\n if (bankDetailsData.newNZAcountNumber !== bankDetailsData.newNZAcountNumberConfirm) {\n return new ValidationMessage('New account number does not match .', false);\n }\n return new ValidationMessage('', true);\n}\n\nexport function validateUnitedStatesBankDetails(bankDetailsData, bankData) {\n const validData =\n bankDetailsData.confirmUnitedStatesAcountNum &&\n bankDetailsData.confirmUnitedStatesAcountNum.length >=\n BankAccountLengthConstaints[MerchantCountries.UNITED_STATES].minLength &&\n bankDetailsData.confirmExistingRouteNum &&\n bankDetailsData.confirmExistingRouteNum.length === 9 &&\n bankDetailsData.newUnitedStatesAccountNum &&\n bankDetailsData.newUnitedStatesAccountNum.length >=\n BankAccountLengthConstaints[MerchantCountries.UNITED_STATES].minLength &&\n bankDetailsData.newRouteNum &&\n bankDetailsData.newRouteNum.length === 9 &&\n bankDetailsData.newAcountHolder &&\n bankDetailsData.newAcountHolder.trim().length > 0;\n\n if (!validData) {\n return new ValidationMessage('Please fill all data.', false);\n }\n\n if (bankData.routingNumber && bankDetailsData.confirmExistingRouteNum !== bankData.routingNumber) {\n return new ValidationMessage(\n ` Routing Number ${bankDetailsData.confirmExistingRouteNum} does not match the existing one.`,\n false\n );\n }\n if (bankData.newAccountNumber && bankDetailsData.confirmUnitedStatesAcountNum !== bankData.newAccountNumber) {\n return new ValidationMessage(\n ` Bank account number ${bankDetailsData.confirmUnitedStatesAcountNum} does not match the existing one.`,\n\n false\n );\n }\n\n if (bankDetailsData.newUnitedStatesAccountNum !== bankDetailsData.newUnitedStatesAcountNumConfirm) {\n return new ValidationMessage('New account number does not match.', false);\n }\n return new ValidationMessage('', true);\n}\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n Dialog,\n DialogActions,\n DialogTitle,\n DialogContent,\n Button,\n Grid,\n Box,\n CircularProgress,\n InputAdornment,\n OutlinedInput,\n useMediaQuery\n} from '@material-ui/core';\nimport Alert from '@material-ui/lab/Alert';\nimport styles from './transaction-refund.module.scss';\nimport { FormItem, Label, Input } from '../../onboarding/onboarding-ui-components';\nimport { getCurrencyThreeAlpha } from 'utils/getCurrencyByCountry';\nimport { useGlobalStateContext } from 'contexts';\nimport { SnackBarAndAlert } from 'components';\nimport Radio from '@material-ui/core/Radio';\nimport RadioGroup from '@material-ui/core/RadioGroup';\nimport FormControlLabel from '@material-ui/core/FormControlLabel';\nimport FormControl from '@material-ui/core/FormControl';\nimport { formatAmount } from 'utils/helper';\nimport { LoadingScreen } from 'components';\n\nexport default function TransactinRefundComponent(props) {\n const { globalState } = useGlobalStateContext();\n const {\n handleOnSubmitRefund,\n error,\n errorMessage,\n refundAmount,\n reason,\n setRefundAmount,\n setReason,\n setOtherReason,\n otherReason,\n isRefunded,\n loading,\n handleOnClose,\n show,\n setShow,\n successMessage,\n onInput,\n disableSubmitButton,\n refundReason,\n isLoading,\n refundFailureMessage,\n currencyCode\n } = props;\n const mediaLessThan600px = useMediaQuery('(max-width:599px)');\n\n return (\n \n setShow(false)}\n fullWidth={true}\n maxWidth=\"sm\"\n className={styles.refundDialog}\n >\n {!loading ? (\n
    \n \n Refund Transaction\n
    \n
    \n {error ? (\n \n {errorMessage}\n \n ) : null}\n \n \n Refunds will take 3-5 days to reach customer's account.\n \n
    \n \n \n \n \n \n \n setRefundAmount(e.target.value)}\n onInput={onInput}\n endAdornment={\n \n {currencyCode ||\n getCurrencyThreeAlpha(globalState.merchant?.country)}\n \n }\n inputMode=\"numeric\"\n type=\"number\"\n min=\"0\"\n required\n disabled\n />\n \n \n \n \n \n \n \n \n setReason(e.target.value)}\n row\n className={styles.radioButtons}\n >\n {refundReason.map((reason) => {\n return (\n }\n label={reason}\n />\n );\n })}\n \n \n \n {reason === 'Other' ? (\n setOtherReason(e.target.value)}\n variant=\"outlined\"\n />\n ) : null}\n \n \n \n \n
    \n
    \n \n \n \n \n Cancel\n \n \n \n \n Refund\n \n \n \n \n
    \n ) : (\n \n \n \n )}\n \n {isRefunded !== null && (\n \n {isRefunded\n ? successMessage\n ? successMessage\n : 'Your refund request has been sent successfully.'\n : refundFailureMessage}\n \n )}\n \n
    \n );\n}\n\nTransactinRefundComponent.propTypes = {\n error: PropTypes.bool,\n errorMessage: PropTypes.string,\n refundAmount: PropTypes.string,\n reason: PropTypes.string,\n setRefundAmount: PropTypes.func,\n setReason: PropTypes.func,\n setOtherReason: PropTypes.func,\n otherReason: PropTypes.string,\n isRefunded: PropTypes.bool,\n loading: PropTypes.bool,\n handleOnClose: PropTypes.func,\n show: PropTypes.bool,\n setShow: PropTypes.func,\n handleOnSubmitRefund: PropTypes.func,\n successMessage: PropTypes.string,\n onInput: PropTypes.func\n};\n","import React, { useState, useEffect } from 'react';\nimport TransactionRefundComponent from './transaction-refund.component';\nimport { ValidationMessage } from 'models';\nimport { validateRefundData /*, validateRefund*/ } from 'validators';\nimport { RefundService, AuthService /*, BusinessDetailsService*/ } from 'services';\nimport { useBalanceContext, useGlobalStateContext } from 'contexts';\nimport { ResellerType } from 'utils/enums/ResellerType';\nimport { encryptData } from 'utils/helper';\nimport { cleverTapClick } from 'utils/helper';\nimport { formTypes } from 'utils/enums/FormTypes';\nimport { ErrorCodes } from 'utils/enums/ErrorCode';\nimport paymentsService from 'services/payments.service';\n\nexport default function TransactionRefund(props) {\n const { globalState } = useGlobalStateContext();\n const { refreshBalance } = useBalanceContext();\n const initialValidationMessage = new ValidationMessage();\n const { setShow, payment, setIsRefundHappen, isWalletTxn = false } = props;\n const {\n total,\n id: payment_id,\n order_id,\n payment_provider,\n TxnReference,\n original_total,\n currencyCode = null,\n shopper_id = ''\n } = payment;\n const [error, setError] = useState(false);\n const [errorMessage, setErrorMessage] = useState(initialValidationMessage.message);\n const [successMessage, setSuccessMessage] = useState(null);\n const [refundAmount, setRefundAmount] = useState(props.payment.total);\n const [reason, setReason] = useState('');\n const [otherReason, setOtherReason] = useState('');\n const [isRefunded, setIsRefunded] = useState(null);\n const [loading, setLoading] = useState(false);\n const [disableSubmitButton, setDisableSubmitButton] = useState(true);\n const refundReason = ['Duplicate', 'Fraudulent', 'Requested by Customer', 'Charged twice', 'Other'];\n const [csrfToken, setCSRFToken] = useState('');\n const [isLoading, setIsLoading] = useState(false);\n const [refundFailureMessage, setRefundFailureMessage] = useState('');\n\n useEffect(() => {\n const generateCSRFToken = async () => {\n setIsLoading(true);\n const response = await AuthService.generateCSRFToken(formTypes.REFUND_REQUEST, globalState.merchant?.id);\n if (response.isSuccesfully) {\n setCSRFToken(response.data.csrfToken);\n }\n setIsLoading(false);\n };\n generateCSRFToken();\n // eslint-disable-next-line\n }, []);\n\n const paymentActionValidation = () => {\n const validationResult = validateRefundData(refundAmount, original_total ? original_total : total);\n setErrorMessage(validationResult.message);\n setError(validationResult.isValid);\n return validationResult.isValid;\n };\n\n const handleOnClose = () => {\n props.setShow(false);\n setRefundAmount(payment.total);\n setReason('--Please select--');\n setIsRefunded(null);\n setRefundFailureMessage('');\n props.setPayment && props.setPayment({});\n };\n const handleOnSubmitRefund = async () => {\n // const merchantVerificationResponse = await BusinessDetailsService.getMerchantBusinessTypeAndBankStatus(\n // globalState.merchant?.id\n // );\n\n // if (merchantVerificationResponse.isSuccesfully) {\n // const cantWithDrawValidationResult = validateRefund(\n // merchantVerificationResponse.data.isAccountVerified,\n // merchantVerificationResponse.data.isBankAccountVerified,\n // merchantVerificationResponse.data.allowWithdrawals\n // );\n\n // if (!cantWithDrawValidationResult.isValid) {\n // setErrorMessage(cantWithDrawValidationResult.message);\n // setError(true);\n // return;\n // }\n // } else {\n // setIsRefunded(merchantVerificationResponse.isSuccesfully);\n // setShow(false);\n // setLoading(false);\n // setError(false);\n // return;\n // }\n\n if (paymentActionValidation()) {\n return;\n }\n const payload = {\n reason: reason === 'Other' ? reason + '(' + otherReason + ')' : reason,\n refund_amount: original_total ? original_total : refundAmount\n };\n cleverTapClick('Refund_btn_click', globalState, payload);\n let selectedReason = reason === 'Other' ? otherReason : reason;\n\n if (reason === 'Other' && otherReason === '') {\n setErrorMessage('Please provide reason');\n\n setError(true);\n return;\n }\n if (reason === '' || reason === '--Please Select--') {\n setErrorMessage('Please select a reason');\n setError(true);\n return;\n }\n\n let data = {\n amount: original_total ? original_total : refundAmount,\n order_id: order_id,\n payment_id: payment_id,\n reason: selectedReason\n };\n\n if (globalState.reseller?.name === ResellerType.OMNIPAY) {\n delete data['order_id'];\n data['payment_id'] = payment_id;\n data['payment_provider'] = payment_provider;\n data['TxnReference'] = encryptData(TxnReference);\n }\n\n setLoading(true);\n\n let response;\n if (isWalletTxn) {\n const payload = {\n order_id: order_id,\n shopper_id: shopper_id,\n amount: original_total\n };\n response = await paymentsService.walletToCard(payload);\n } else {\n response = await RefundService.TransactionRefund(data, csrfToken);\n }\n\n if (response.isSuccesfully && response.data.outcome !== 'failed') {\n setIsRefunded(true);\n setSuccessMessage(response.data.message);\n setIsRefundHappen && setIsRefundHappen(true);\n refreshBalance();\n } else {\n const errorMessage =\n response.data.errorCode === ErrorCodes.CSRF_VALIDATION_FAILURE.errorCode\n ? ErrorCodes.CSRF_VALIDATION_FAILURE.message\n : ErrorCodes.REFUND_ERROR.message;\n setIsRefunded(false);\n setRefundFailureMessage(errorMessage);\n }\n\n setShow(false);\n setLoading(false);\n setError(false);\n };\n const onInput = (e) => {\n let { value } = e.target;\n e.target.value =\n value.indexOf('.') >= 0 ? value.substr(0, value.indexOf('.')) + value.substr(value.indexOf('.'), 3) : value;\n };\n\n useEffect(() => {\n setErrorMessage('');\n setError(false);\n }, [reason, refundAmount, otherReason]);\n useEffect(() => {\n if (reason === '') {\n setDisableSubmitButton(true);\n } else if (reason === 'Other' && otherReason === '') {\n setDisableSubmitButton(true);\n } else if (reason !== 'Other' && otherReason !== '') {\n setDisableSubmitButton(false);\n } else if (reason !== 'Other' && otherReason === '') {\n setDisableSubmitButton(false);\n } else if (!/\\S/.test(otherReason)) {\n setDisableSubmitButton(true);\n } else {\n setDisableSubmitButton(false);\n }\n }, [reason, otherReason]);\n return (\n \n );\n}\n","import omnipayLogo from '../../assets/images/omni-pay.png';\nimport datmanLogo from '../../assets/images/datman.png';\n\nexport const ResellerLogoMap = {\n 1: omnipayLogo,\n 2: datmanLogo\n};\n","import React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { makeStyles } from '@material-ui/core/styles';\nimport {\n Paper,\n Box,\n CircularProgress,\n Table,\n TableBody,\n TableCell,\n TableContainer,\n TableRow,\n TableFooter,\n TablePagination,\n useMediaQuery,\n IconButton\n} from '@material-ui/core';\nimport TableHeader from '../table-header/table-header.container.js';\nimport { formatCurrency, formatDateTimeByFormatString, getComparator, stableSort } from '../../../../utils/helper';\nimport styles from './gfo-payment-list-table.module.scss';\nimport TableFooterComponent from '../table-footer/table-footer.component';\nimport { useGlobalStateContext } from 'contexts/index.js';\nimport { getCurrencyThreeAlpha } from 'utils/getCurrencyByCountry.js';\nimport { Roles } from 'utils/enums/Roles';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport _ from 'lodash';\nimport SettingsBackupRestoreSharpIcon from '@material-ui/icons/SettingsBackupRestoreSharp';\nimport TransactionRefund from '../../../transaction/transaction-refund/transaction-refund.container';\nimport FilterTabs from '../filter-tabs/filter-tabs.container';\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n width: '100%'\n },\n paper: {\n width: '100%',\n marginBottom: theme.spacing(2),\n boxShadow: 'none'\n },\n container: {\n 'overflow-y': 'visible'\n },\n table: {\n minWidth: '100%'\n },\n tableRow: {\n '&$selected, &$selected:hover': {\n backgroundColor: '#e4e1fe'\n }\n },\n selected: {},\n visuallyHidden: {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: 1,\n margin: -1,\n padding: 0,\n position: 'absolute',\n top: 20,\n width: 1\n },\n checkbox: {\n color: '#8783b5'\n },\n 'MuiIconButton-root': {\n padding: '0px 0px'\n }\n}));\n\nexport default function GfoPaymentsListTableComponent(props) {\n const { setRoute, globalState } = useGlobalStateContext();\n const classes = useStyles();\n const {\n rows,\n order,\n orderBy,\n loading,\n error,\n formatRefundReasonAndAmountString,\n isRefundedTransaction,\n showTransactionRefund,\n payment,\n show,\n setShow,\n setPayment,\n setIsRefundHappen,\n noTabs,\n statusFilter,\n setStatusFilter,\n GfoPaymentsFilterTabs,\n page,\n setPage\n } = props;\n let hidePaymentActions = globalState.merchant?.userRole === Roles.User;\n\n const [rowsPerPage, setRowsPerPage] = useState(20);\n\n const handleChangePage = (event, newPage) => {\n setPage(newPage);\n };\n\n const handleChangeRowsPerPage = (event) => {\n setRowsPerPage(parseInt(event.target.value, 10));\n setPage(0);\n };\n const mediaLessThan600px = useMediaQuery('(max-width:599px)');\n\n return (\n
    \n {!noTabs && (\n \n )}\n \n {loading ? (\n \n \n \n ) : error ? (\n
    An error occurred, please try reloading your browser.
    \n ) : (\n \n {!rows || rows.length === 0 ? (\n
    No transactions.
    \n ) : (\n \n \n \n \n \n {stableSort(\n rowsPerPage > 0\n ? rows.slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage)\n : rows,\n getComparator(order, orderBy)\n ).map((row, index) => {\n const labelId = `enhanced-table-checkbox-${index}`;\n let transactionDetails = _.compact([\n _.compact([row.firstname?.trim(), row.lastname?.trim()]).join(' '),\n row.address?.trim()\n ]).join(' - ');\n\n return (\n \n \n \n setRoute(`/payment-details/${row.id}`, {\n payment: row\n })\n }\n >\n {row.refund === '' ? (\n \n {formatCurrency(\n row.total,\n getCurrencyThreeAlpha(\n globalState.merchant?.country\n )\n )}\n \n ) : (\n \n \n {formatCurrency(\n row.total,\n getCurrencyThreeAlpha(\n globalState.merchant?.country\n )\n )}\n \n \n )}\n \n {/* \n setRoute(`/payment-details/${row.id}`, {\n payment: row\n })\n }\n >\n {row.description || '-'}\n */}\n {!mediaLessThan600px && (\n \n setRoute(`/payment-details/${row.id}`, {\n payment: row\n })\n }\n >\n {row.refund ? (\n
    \n {formatRefundReasonAndAmountString(\n row.refund\n )}\n {transactionDetails && (\n <>\n

    \n {transactionDetails}\n \n )}\n
    \n ) : (\n
    \n {transactionDetails ? (\n {transactionDetails}\n ) : (\n \n )}\n
    \n )}\n \n )}\n \n setRoute(`/payment-details/${row.id}`, {\n payment: row\n })\n }\n >\n {formatDateTimeByFormatString(row.time, 'DD MMM HH:mm')}\n \n {!isRefundedTransaction &&\n (hidePaymentActions ||\n row.total <= 0 ||\n row.payed <= 0 ||\n !row.order_id ||\n row.refund ? (\n \n ) : (\n \n {\n showTransactionRefund(row);\n }}\n disabled={\n globalState.merchant.status ===\n MerchantStatus.WATCHLIST\n }\n >\n \n \n {payment.id === row.id && (\n \n )}\n \n ))}\n \n {mediaLessThan600px && (\n \n \n setRoute(`/payment-details/${row.id}`, {\n payment: row\n })\n }\n >\n {row.refund ? (\n
    \n {formatRefundReasonAndAmountString(\n row.refund\n )}\n {transactionDetails && (\n <>\n

    \n {transactionDetails}\n \n )}\n
    \n ) : (\n
    \n {transactionDetails ? (\n {transactionDetails}\n ) : (\n \n )}\n
    \n )}\n \n
    \n )}\n
    \n );\n })}\n \n \n \n
    \n \n \n {rows.length > rowsPerPage && (\n \n )}\n \n \n \n\n \n
    \n
    \n )}\n
    \n )}\n
    \n
    \n );\n}\n\nGfoPaymentsListTableComponent.propTypes = {\n rows: PropTypes.array.isRequired,\n statusFilter: PropTypes.string.isRequired,\n setStatusFilter: PropTypes.func.isRequired,\n order: PropTypes.string.isRequired,\n orderBy: PropTypes.string.isRequired,\n loading: PropTypes.bool.isRequired,\n error: PropTypes.bool.isRequired,\n setPayment: PropTypes.func,\n formatRefundReasonAndAmountString: PropTypes.func,\n noTabs: PropTypes.bool\n};\n","export const GfoPaymentsFilterTabs = {\n Successful: 'Sent',\n Refunded: 'Refunded',\n All: 'all'\n};\n","import React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport GfoPaymentsListTableComponent from './gfo-payment-list-table.component';\nimport { useGlobalStateContext } from 'contexts';\nimport { useMediaQuery } from '@material-ui/core';\nimport { GfoPaymentsFilterTabs } from '../../../../utils/enums/GfoPaymentsFilterTabs';\nexport default function GfoPaymentsListTable(props) {\n const { gfoPayments, loading, channelFilter, error, noTabs, setIsRefundHappen } = props;\n const [rows, setRows] = useState([]);\n const [order, setOrder] = React.useState('desc');\n const [orderBy, setOrderBy] = React.useState('time');\n const [statusFilter, setStatusFilter] = useState(\n noTabs ? GfoPaymentsFilterTabs.All : GfoPaymentsFilterTabs.Successful\n );\n const paymentProvider = ['CHECKOUT-GFO', 'ADYEN'];\n const [show, setShow] = useState(false);\n const [payment, setPayment] = useState({});\n const [total, setTotal] = useState();\n const { globalState } = useGlobalStateContext();\n const mediaLessThan600px = useMediaQuery('(max-width:599px)');\n const [isRefundedTransaction, setIsRefundedTransaction] = useState(false);\n const [page, setPage] = useState(0);\n const [refundValue, setRefundValue] = useState();\n useEffect(() => {\n setPage(0);\n let dataRows = gfoPayments;\n dataRows =\n channelFilter !== 'All'\n ? gfoPayments.filter(\n (payment) => payment.channel.replace(/\\s/g, '').toLowerCase() === channelFilter.toLowerCase()\n )\n : gfoPayments;\n let totalPayment = 0;\n let refund = 0;\n if (statusFilter === GfoPaymentsFilterTabs.Successful) {\n dataRows = dataRows.filter((payment) => !(Number(payment.total) <= 0 && payment.refund));\n setIsRefundedTransaction(false);\n } else if (statusFilter === GfoPaymentsFilterTabs.Refunded) {\n dataRows = dataRows.filter((payment) => Number(payment.total) <= 0 && payment.refund);\n setIsRefundedTransaction(true);\n } else {\n setIsRefundedTransaction(false);\n }\n const gfoTransactions = dataRows.filter((row) => paymentProvider.includes(row.payment_provider));\n gfoTransactions.filter((payment) => {\n if (!(Number(payment.total) <= 0 && payment.refund))\n return (totalPayment = totalPayment + Number(payment.total));\n else {\n return (refund = refund + Number(payment.total));\n }\n }, 0);\n setRows(gfoTransactions);\n setTotal(totalPayment);\n setRefundValue(refund);\n //eslint-disable-next-line\n }, [gfoPayments, statusFilter, channelFilter]);\n\n const handleRequestSort = (event, property) => {\n const isAsc = orderBy === property && order === 'asc';\n setOrder(isAsc ? 'desc' : 'asc');\n setOrderBy(property);\n };\n\n const showTransactionRefund = (rowData) => {\n setShow(true);\n setPayment(rowData);\n };\n const formatRefundReasonAndAmountString = (str) => {\n str = str.replace('£', '');\n str = str.replace('\\\\n', '');\n str = str.replace('\\\\n', '');\n str = str.replace('
    ', '');\n str = str.replace('because', ' - ');\n let arr = str.split('.');\n let str2 = `${arr[0]}.${arr[1] ? arr[1] : ''}`;\n return str2;\n };\n\n let headCells = [\n {\n id: 'total',\n numeric: true,\n disablePadding: false,\n label: isRefundedTransaction ? 'Refunded amount' : 'Amount'\n },\n // { id: 'description', numeric: false, disablePadding: false, label: 'Description' },\n {\n id: 'transaction details',\n numeric: false,\n disablePadding: false,\n label: 'Transaction details',\n hideSortingIcon: true,\n notShow: mediaLessThan600px\n },\n { id: 'time', numeric: false, disablePadding: false, label: 'Date' },\n { id: 'refund', numeric: false, disablePadding: false, label: 'Refund', hideSortingIcon: true }\n ];\n if (isRefundedTransaction) {\n headCells = headCells.filter((headCellObj) => headCellObj.id !== 'refund');\n }\n if (globalState.merchant?.userRole === 'User') {\n headCells = headCells.filter((headCellObj) => headCellObj.id !== 'refund');\n }\n\n return (\n \n );\n}\n\n// export default GfoPaymentsListTable;\n\nGfoPaymentsListTable.propTypes = {\n payments: PropTypes.array.isRequired,\n loading: PropTypes.bool.isRequired,\n channelFilter: PropTypes.string.isRequired,\n error: PropTypes.bool.isRequired\n};\n","import React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { makeStyles } from '@material-ui/core/styles';\nimport {\n Paper,\n Box,\n CircularProgress,\n Table,\n TableBody,\n TableCell,\n TableContainer,\n TableRow,\n TableFooter,\n TablePagination,\n useMediaQuery\n} from '@material-ui/core';\nimport TableHeader from '../table-header/table-header.container.js';\nimport FilterTabs from '../filter-tabs/filter-tabs.container';\nimport {\n filterRefundDescription,\n formatCurrency,\n formatDateTimeByFormatString,\n getComparator,\n merchantTypesEnum,\n stableSort\n} from '../../../../utils/helper';\nimport styles from './datman-reseller-payments-list-table.module.scss';\nimport TableFooterComponent from '../table-footer/table-footer.component';\nimport { useGlobalStateContext } from 'contexts/index.js';\nimport { getCurrencyThreeAlpha } from 'utils/getCurrencyByCountry.js';\nimport _ from 'lodash';\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n width: '100%'\n },\n paper: {\n width: '100%',\n marginBottom: theme.spacing(2),\n boxShadow: 'none'\n },\n container: {\n 'overflow-y': 'visible'\n },\n table: {\n minWidth: '100%'\n },\n tableRow: {\n '&$selected, &$selected:hover': {\n backgroundColor: '#e4e1fe'\n }\n },\n selected: {},\n visuallyHidden: {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: 1,\n margin: -1,\n padding: 0,\n position: 'absolute',\n top: 20,\n width: 1\n },\n checkbox: {\n color: '#8783b5'\n },\n 'MuiIconButton-root': {\n padding: '0px 0px'\n },\n resellerFilterTabs: {\n display: 'none'\n }\n}));\n\nexport default function DatmanResellerPaymentsListTableComponent(props) {\n const { globalState } = useGlobalStateContext();\n const classes = useStyles();\n const {\n rows,\n statusFilter,\n setStatusFilter,\n order,\n orderBy,\n loading,\n error,\n formatRefundReasonAndAmountString,\n noTabs,\n showAcquirer,\n page,\n setPage,\n handleClick,\n clearFilter,\n acquirerName,\n selectedAcquirer\n } = props;\n\n const [rowsPerPage, setRowsPerPage] = useState(20);\n\n const handleChangePage = (event, newPage) => {\n setPage(newPage);\n };\n\n const handleChangeRowsPerPage = (event) => {\n setRowsPerPage(parseInt(event.target.value, 10));\n setPage(0);\n };\n const mediaLessThan600px = useMediaQuery('(max-width:599px)');\n\n const hideSensitiveDetails = globalState?.merchant?.merchantType === merchantTypesEnum.BIG_TABLE;\n\n return (\n
    \n
    \n {!noTabs && }\n
    \n \n {loading ? (\n \n \n \n ) : error ? (\n
    An error occurred, please try reloading your browser.
    \n ) : (\n \n {!rows || rows.length === 0 ? (\n selectedAcquirer?.length === 0 || selectedAcquirer?.length === acquirerName?.length ? (\n
    No transactions.
    \n ) : (\n
    \n No results available for this filter.\n \n Remove all filters\n \n
    \n )\n ) : (\n \n \n \n \n \n {stableSort(\n rowsPerPage > 0\n ? rows.slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage)\n : rows,\n getComparator(order, orderBy)\n ).map((row, index) => {\n const labelId = `enhanced-table-checkbox-${index}`;\n let transactionDetails = hideSensitiveDetails\n ? 'REDACTED'\n : _.compact([\n _.compact([row.firstname?.trim(), row.lastname?.trim()]).join(\n ' '\n ),\n row.address?.trim()\n ]).join(' - ');\n return (\n \n \n handleClick(row)}\n >\n {row.refund === '' ? (\n \n {formatCurrency(\n row.total,\n getCurrencyThreeAlpha(\n globalState.merchant?.country\n )\n )}\n \n ) : (\n \n \n {formatCurrency(\n row.total,\n getCurrencyThreeAlpha(\n globalState.merchant?.country\n )\n )}\n \n \n )}\n \n handleClick(row)}\n >\n {row.merchant_name}\n \n\n {/* \n setRoute(`/payment-details/${row.id}`, {\n payment: row\n })\n }\n >\n {row.description || '-'}\n */}\n {!mediaLessThan600px && (\n handleClick(row)}\n >\n {row.refund ? (\n
    \n {formatRefundReasonAndAmountString(\n row.refund\n )}\n {transactionDetails && (\n <>\n

    \n {transactionDetails}\n \n )}\n
    \n ) : (\n
    \n {transactionDetails ? (\n {transactionDetails}\n ) : (\n \n )}\n
    \n )}\n \n )}\n handleClick(row)}\n >\n {+row.total < 0 ? (\n \n {filterRefundDescription(row.refund) || '-'}\n \n ) : row.more_info ? (\n row.more_info\n ) : (\n \n )}\n \n {showAcquirer && (\n handleClick(row)}\n >\n {row.payment_provider}\n \n )}\n handleClick(row)}\n >\n {formatDateTimeByFormatString(row.time, 'DD MMM HH:mm')}\n \n \n {mediaLessThan600px && (\n \n handleClick(row)}\n >\n {row.refund ? (\n
    \n {formatRefundReasonAndAmountString(\n row.refund\n )}\n {transactionDetails && (\n <>\n

    \n {transactionDetails}\n \n )}\n
    \n ) : (\n
    \n {transactionDetails ? (\n {transactionDetails}\n ) : (\n \n )}\n
    \n )}\n \n
    \n )}\n
    \n );\n })}\n \n \n \n
    \n \n \n {rows.length > rowsPerPage && (\n \n )}\n \n \n \n\n \n
    \n
    \n )}\n
    \n )}\n
    \n
    \n );\n}\n\nDatmanResellerPaymentsListTableComponent.propTypes = {\n rows: PropTypes.array.isRequired,\n statusFilter: PropTypes.string.isRequired,\n setStatusFilter: PropTypes.func.isRequired,\n order: PropTypes.string.isRequired,\n orderBy: PropTypes.string.isRequired,\n loading: PropTypes.bool.isRequired,\n error: PropTypes.bool.isRequired,\n setPayment: PropTypes.func,\n formatRefundReasonAndAmountString: PropTypes.func,\n noTabs: PropTypes.bool,\n showAcquirer: PropTypes.bool\n};\n","export const DatmanResellerPaymentsFilterTabs = {\n Successful: 'Sent',\n All: 'all'\n};\n","import React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport DatmanResellerPaymentsListTableComponent from './datman-reseller-payments-list-table.component.jsx';\nimport { DatmanResellerPaymentsFilterTabs } from '../../../../utils/enums/DatmanResellerPaymentsFilterTabs';\nimport { useGlobalStateContext } from 'contexts';\nimport { useMediaQuery } from '@material-ui/core';\nimport { cleverTapClick } from 'utils/helper.js';\n\nconst DatmanResellerPaymentsListTable = (props) => {\n const {\n payments,\n loading,\n channelFilter,\n error,\n noTabs,\n setIsRefundHappen,\n showAcquirer,\n acquirerName,\n selectedAcquirer,\n onAcquirerChange\n } = props;\n const [rows, setRows] = useState([]);\n const [order, setOrder] = React.useState('desc');\n const [orderBy, setOrderBy] = React.useState('time');\n const defaultFilter = noTabs ? DatmanResellerPaymentsFilterTabs.All : DatmanResellerPaymentsFilterTabs.Successful;\n const [statusFilter, setStatusFilter] = useState(defaultFilter);\n const [show, setShow] = useState(false);\n const [payment, setPayment] = useState({});\n const [total, setTotal] = useState();\n const { globalState, setRoute } = useGlobalStateContext();\n const [page, setPage] = useState(0);\n const [refundValue, setRefundValue] = useState();\n const mediaLessThan600px = useMediaQuery('(max-width:599px)');\n useEffect(() => {\n let dataRows = payments;\n dataRows =\n channelFilter !== 'All'\n ? payments.filter(\n (payment) => payment.channel.replace(/\\s/g, '').toLowerCase() === channelFilter.toLowerCase()\n )\n : payments;\n\n const allTransactions = dataRows.filter((row) => row.payment_provider !== 'ADYEN');\n setRows(allTransactions);\n\n let totalPaymentValue = 0;\n let refund = 0;\n\n for (let i = 0; i < payments.length; i += 1) {\n if (payments[i].refund && payments[i].total < 0) {\n const splitRefundReason = payments[i].refund?.split(' - Refunded ');\n // eslint-disable-next-line no-unused-vars\n const [refundDescription, refundAmount] = splitRefundReason;\n // eslint-disable-next-line no-unused-vars\n const [partA, partB] = payments[i].refund?.split('because');\n // eslint-disable-next-line no-unused-vars\n const [transaction_partA, transaction_amount] = partA?.split('£ ');\n const formatedAmount = transaction_amount ? transaction_amount.trim() : 0.0;\n if (refundAmount) refund = parseFloat(refund) + parseFloat(refundAmount);\n else refund = parseFloat(refund) + parseFloat(formatedAmount);\n } else if (payments[i].total > 0) {\n totalPaymentValue += parseFloat(payments[i].total);\n }\n }\n\n setTotal(totalPaymentValue);\n setRefundValue(refund);\n setPage(0);\n // eslint-disable-next-line\n }, [payments, statusFilter, channelFilter]);\n\n const handleRequestSort = (event, property) => {\n const isAsc = orderBy === property && order === 'asc';\n setOrder(isAsc ? 'desc' : 'asc');\n setOrderBy(property);\n };\n\n const showTransactionRefund = (rowData) => {\n const data = {\n refund_amount: rowData.total,\n time_stamp: new Date()\n };\n cleverTapClick('Refund_list_click', globalState, data);\n setShow(true);\n setPayment(rowData);\n };\n const formatRefundReasonAndAmountString = (str) => {\n str = str.replace('£', '');\n str = str.replace('\\\\n', '');\n str = str.replace('\\\\n', '');\n str = str.replace('
    ', '');\n str = str.replace('because', ' - ');\n let arr = str.split('.');\n let str2 = `${arr[0]}.${arr[1] ? arr[1] : ''}`;\n return str2;\n };\n\n let headCells = [\n {\n id: 'total',\n numeric: true,\n disablePadding: false,\n label: 'Amount'\n },\n {\n id: 'merchant_name',\n numeric: false,\n disablePadding: false,\n label: 'Merchant name'\n },\n {\n id: 'transaction details',\n numeric: false,\n disablePadding: false,\n label: 'Transaction details',\n hideSortingIcon: true\n },\n {\n id: 'description',\n numeric: false,\n disablePadding: false,\n label: 'Description',\n hideSortingIcon: true,\n notShow: mediaLessThan600px\n },\n {\n id: 'payment_provider',\n numeric: false,\n disablePadding: false,\n label: 'Acquirer ID',\n notShow: !showAcquirer\n },\n { id: 'time', numeric: false, disablePadding: false, label: 'Date' },\n // { id: 'refund', numeric: false, disablePadding: false, label: 'Refund', hideSortingIcon: true },\n {\n id: 'payment_status',\n numeric: false,\n disablePadding: false,\n label: 'Status',\n hideSortingIcon: true,\n notShow: statusFilter !== DatmanResellerPaymentsFilterTabs.All\n }\n ];\n\n if (globalState.merchant?.userRole === 'User') {\n headCells = headCells.filter((headCellObj) => headCellObj.id !== 'refund');\n }\n const handleClick = (value) => {\n setRoute(`/payment-details/${value.id}`, {\n payment: value\n });\n const data = {\n time_stamp: new Date(),\n transactin_id: value.id\n };\n cleverTapClick('Txn_click', globalState, data);\n };\n const clearFilter = () => {\n onAcquirerChange(acquirerName);\n sessionStorage.setItem('selectedAcquirer', JSON.stringify([]));\n };\n return (\n \n );\n};\n\nexport default DatmanResellerPaymentsListTable;\n\nDatmanResellerPaymentsListTable.propTypes = {\n payments: PropTypes.array.isRequired,\n loading: PropTypes.bool.isRequired,\n channelFilter: PropTypes.string.isRequired,\n error: PropTypes.bool.isRequired\n};\n","import { unserialize } from 'php-serialize';\nimport { UrgentMessagesService } from 'services';\n\nexport const getT2SReferralLinkPayload = (encodedBase64, { globalState, setRoute, noRedirect }) => {\n let payload;\n try {\n payload = JSON.parse(atob(encodedBase64));\n } catch (ex) {\n try {\n payload = unserialize(atob(encodedBase64));\n } catch (ex) {\n if (noRedirect) {\n return {};\n }\n\n sessionStorage.setItem('generalPageError', 'Referral Link is invalid.');\n UrgentMessagesService.notifyApplicationFailures({\n resellerId: globalState?.reseller?.id,\n type: 'INVALID_FOODHUB_REFERRAL_LINK',\n details: {\n location: window.location.href,\n encodedBase64\n }\n });\n setRoute(`/login`);\n }\n }\n return fixReferralLinkPayload(payload);\n};\n\nfunction fixReferralLinkPayload(payload) {\n if (payload) {\n if (payload.OwnerEmail) {\n payload.OwnerEmail = payload.OwnerEmail.toLowerCase().replace(/ /g, '');\n payload.TradingName = payload.TradingName?.toString().trim() || '';\n }\n }\n return payload;\n}\n","// Max number of days user can keep same password\nexport const MAX_PASSWORD_CHANGE_DAYS = 90;\n\n// The number of days before 90 days when trigger password message will be shown to user\nexport const RemainingDays = [15, 10, 5, 3];\n\n// The days from last password change user will get the message.\nexport const triggerDays = RemainingDays.map((days) => MAX_PASSWORD_CHANGE_DAYS - days);\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"modalUserManagement\":\"modal-user-management_modalUserManagement__aRKpT\",\"modalDialog\":\"modal-user-management_modalDialog__29UmS\",\"modalBody\":\"modal-user-management_modalBody__1V7E6\",\"title\":\"modal-user-management_title__51lVV\",\"assignOnlyRoleCheckbox\":\"modal-user-management_assignOnlyRoleCheckbox__3L_qC\",\"pointer\":\"modal-user-management_pointer__9bvcx\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"google\":\"auth-with-social-media_google__2Hgr4\",\"fb\":\"auth-with-social-media_fb__3z6K6\",\"imageGoogle\":\"auth-with-social-media_imageGoogle__uOIIf\",\"imageFacebook\":\"auth-with-social-media_imageFacebook__1nDP8\",\"orContainer\":\"auth-with-social-media_orContainer__lWs9A\",\"buttonName\":\"auth-with-social-media_buttonName__W5a26\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"card\":\"balance-card_card__FO31X\",\"card_name\":\"balance-card_card_name__1TiCU\",\"country\":\"balance-card_country__34uGE\",\"balance\":\"balance-card_balance__1Reso\",\"action_items\":\"balance-card_action_items__fHJqN\",\"action_items__account_balance\":\"balance-card_action_items__account_balance__1uoYP\",\"action_items__currency\":\"balance-card_action_items__currency__3ipgm\",\"title\":\"balance-card_title__2alTN\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"card\":\"payout-card_card__lAy_F\",\"card_name\":\"payout-card_card_name__15qkG\",\"rightMenu\":\"payout-card_rightMenu__2XgBf\",\"payouts\":\"payout-card_payouts__2h3K1\",\"action_items\":\"payout-card_action_items__4wnap\",\"action_items__account_balance\":\"payout-card_action_items__account_balance__oNWEN\",\"action_items__currency\":\"payout-card_action_items__currency__1COJP\",\"title\":\"payout-card_title__3OhoC\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"card\":\"net-volume-card_card__2RcM7\",\"card_name\":\"net-volume-card_card_name__3CW1L\",\"rightMenu\":\"net-volume-card_rightMenu__3xMJY\",\"netVolume\":\"net-volume-card_netVolume__9Qi9M\",\"action_items\":\"net-volume-card_action_items__3X6uK\",\"action_items__account_balance\":\"net-volume-card_action_items__account_balance__21pRi\",\"action_items__currency\":\"net-volume-card_action_items__currency__2jjJj\",\"title\":\"net-volume-card_title__3iEK-\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"acquirerInput\":\"manage-partners_acquirerInput__2bO0V\",\"acquirerButton\":\"manage-partners_acquirerButton__2ENsf\",\"errorText\":\"manage-partners_errorText__127Ux\",\"acquirerGrid\":\"manage-partners_acquirerGrid__dHG9u\",\"acquirerTopGrid\":\"manage-partners_acquirerTopGrid__1v44D\",\"boldText\":\"manage-partners_boldText__12YYT\",\"tables\":\"manage-partners_tables__gNTi-\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"paper\":\"payment-configuration-modes-dialog_paper__tVf1u\",\"dilogbtn\":\"payment-configuration-modes-dialog_dilogbtn__13Hyv\",\"leavebtn\":\"payment-configuration-modes-dialog_leavebtn__20b5-\",\"btnContainer\":\"payment-configuration-modes-dialog_btnContainer__3K7Nm\",\"dialogContent\":\"payment-configuration-modes-dialog_dialogContent__1JAAj\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"copyIconContainer\":\"third-party-merchant-id-and-store-id_copyIconContainer___E30Y\",\"idContainer\":\"third-party-merchant-id-and-store-id_idContainer__xcqlb\",\"copyIcon\":\"third-party-merchant-id-and-store-id_copyIcon__35Nfl\",\"textInput\":\"third-party-merchant-id-and-store-id_textInput__1mUrr\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"mainDiv\":\"under-maintainance_mainDiv__1LxX9\",\"imageDiv\":\"under-maintainance_imageDiv__24mYS\",\"maintainenceMessage\":\"under-maintainance_maintainenceMessage__2Bu4e\",\"logoImage\":\"under-maintainance_logoImage__3S_IR\",\"svg\":\"under-maintainance_svg__1iz3H\",\"omniLogo\":\"under-maintainance_omniLogo__F_j1F\",\"copyRigthDiv\":\"under-maintainance_copyRigthDiv__3V6gP\"};","import { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { ValidationMessage } from 'models';\nimport { BankAccountLengthConstaints } from 'utils/enums/BankAccountLength';\n\nexport function bankValidationMap(country, newAccountNumber) {\n var minAccountNumberDigits;\n var maxAccountNumberDigits;\n var isMandatory = true;\n var isNumeric = false;\n\n switch (country) {\n case MerchantCountries.UNITED_KINGDOM:\n minAccountNumberDigits = 8;\n maxAccountNumberDigits = 8;\n isNumeric = true;\n\n break;\n\n case MerchantCountries.NEW_ZEALAND:\n minAccountNumberDigits = 15;\n maxAccountNumberDigits = 16;\n isNumeric = true;\n\n break;\n\n case MerchantCountries.AUSTRALIA:\n minAccountNumberDigits = 5;\n maxAccountNumberDigits = 9;\n isNumeric = false;\n break;\n\n case MerchantCountries.IRELAND:\n minAccountNumberDigits = 22;\n maxAccountNumberDigits = 22;\n isNumeric = false;\n break;\n\n case MerchantCountries.UNITED_STATES:\n minAccountNumberDigits = BankAccountLengthConstaints[MerchantCountries.UNITED_STATES].minLength;\n maxAccountNumberDigits = BankAccountLengthConstaints[MerchantCountries.UNITED_STATES].maxLength;\n isNumeric = true;\n break;\n\n case MerchantCountries.CANADA:\n minAccountNumberDigits = 7;\n maxAccountNumberDigits = 12;\n isNumeric = true;\n break;\n\n case MerchantCountries.MEXICO:\n minAccountNumberDigits = 18;\n maxAccountNumberDigits = 18;\n isNumeric = false;\n break;\n default:\n return new ValidationMessage('', true);\n }\n\n if (newAccountNumber && newAccountNumber.length > 0) {\n if (\n !isMandatory ||\n (isMandatory &&\n newAccountNumber &&\n newAccountNumber.length >= minAccountNumberDigits &&\n newAccountNumber.length <= maxAccountNumberDigits &&\n (isNumeric || !isNumeric))\n ) {\n return new ValidationMessage('', true);\n } else {\n let outOfNumberOfCharactersLabel =\n minAccountNumberDigits === maxAccountNumberDigits\n ? maxAccountNumberDigits\n : `${minAccountNumberDigits} to ${maxAccountNumberDigits}`;\n return new ValidationMessage(\n 'Please Enter ' +\n outOfNumberOfCharactersLabel +\n (isNumeric ? ' digit' : ' characters') +\n ' Account Number',\n false\n );\n }\n } else {\n if (isMandatory) {\n return new ValidationMessage('', false);\n }\n return new ValidationMessage('', true);\n }\n}\n","export const PaymentProvider = {\n CHECKOUT_HF: 'CHECKOUT-HF',\n CARDSTREAM: 'CARDSTREAM',\n GIFT_CARD: 'GIFT-CARD'\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"header\":\"header_header__1QaCW\",\"logo\":\"header_logo__3Ss90\",\"iconUser\":\"header_iconUser__ERL-8\",\"merchantHeader\":\"header_merchantHeader__-v9SX\",\"homeLogo\":\"header_homeLogo__1lJDK\",\"omniPayLogoStyle\":\"header_omniPayLogoStyle__V0VD7\",\"banner\":\"header_banner__z03wX\",\"listItemContainer\":\"header_listItemContainer__1HrVd\",\"bubbleMessage\":\"header_bubbleMessage__sSI83\",\"merchantLabel\":\"header_merchantLabel__3p5D3\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"resetPasswordForm\":\"reset-password-form_resetPasswordForm__1ziC4\",\"gridContainer\":\"reset-password-form_gridContainer__1dVqH\",\"resetPasswordFormButton\":\"reset-password-form_resetPasswordFormButton__17bRo\",\"resetPasswordButton\":\"reset-password-form_resetPasswordButton__1mSm9\",\"alert\":\"reset-password-form_alert__U0U7s\",\"loading\":\"reset-password-form_loading__TUrQb\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"uploadDocumentContainer\":\"account-verify-upload-documents_uploadDocumentContainer__1px6o\",\"container\":\"account-verify-upload-documents_container__3RhW2\",\"upload\":\"account-verify-upload-documents_upload__1-6n3\",\"documents\":\"account-verify-upload-documents_documents__QtRVq\",\"subHeaderBackground\":\"account-verify-upload-documents_subHeaderBackground__1nRfn\",\"paddingHeader\":\"account-verify-upload-documents_paddingHeader__2Dv_p\",\"popupText\":\"account-verify-upload-documents_popupText__JIa_P\",\"listItemContainer\":\"account-verify-upload-documents_listItemContainer__1_3ZU\",\"iconUnverified\":\"account-verify-upload-documents_iconUnverified__12tPB\",\"alert_background__color\":\"account-verify-upload-documents_alert_background__color__1TM31\",\"error_icon\":\"account-verify-upload-documents_error_icon__25nGN\",\"updateBtn\":\"account-verify-upload-documents_updateBtn__1s6-f\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"title\":\"manage-products-datman_title__2a7gS\",\"subTitle\":\"manage-products-datman_subTitle__zDUzt\",\"cardsContainer\":\"manage-products-datman_cardsContainer__18d76\",\"cards\":\"manage-products-datman_cards__SyAc3\",\"btn\":\"manage-products-datman_btn__2mRdT\",\"btnsubmit\":\"manage-products-datman_btnsubmit__14bzk\"};","const SnackbarMessages = {\n PASSWORD_EXPIRED_MESSAGE:\n 'Your password has expired as part of our security policy to rotate passwords. Please reset your password below to access the portal.',\n PASSWORD_UPCOMING_EXPIRY_MESSAGE: (expiryDay) =>\n `As per updated security measures, your password will expire in the next ${expiryDay} days. Please update it.`\n};\n\nexport { SnackbarMessages };\n","export const DocumentEventType = {\n DOWNLOAD: 'download',\n VIEWED: 'viewed'\n};\n","export const statusCodes = {\n REACTIVATING_SIGNUP_LINK: (day) => ({\n message: `The signup link has been successfully reactivated and will remain active for the next ${day} days.`,\n statusCode: 5006\n }),\n SIGNUP_LINK_REACTIVATION_UNAVAILABLE: {\n message: 'The signup link cannot be reactivated.'\n },\n RESEND_EMAIL_VERIFICATION_CODE: 'A verification code has been sent to your email address.'\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"notificationMessageContainer\":\"valid-url-input_notificationMessageContainer__3cGoM\",\"customOutlineInput\":\"valid-url-input_customOutlineInput__23Fw_\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"addBussinesButtonContainer\":\"home-work-items_addBussinesButtonContainer__1qnaK\",\"addBusinessButton\":\"home-work-items_addBusinessButton__28Qto\",\"title\":\"home-work-items_title__2LEbE\",\"workList\":\"home-work-items_workList__3wCXP\",\"loading\":\"home-work-items_loading__30xfm\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"modalConfirmation\":\"modal-confirmation_modalConfirmation__2iVDn\",\"modalDialog\":\"modal-confirmation_modalDialog__3dkPY\",\"modalHeader\":\"modal-confirmation_modalHeader__1itbo\",\"modalBody\":\"modal-confirmation_modalBody__31CWW\",\"text\":\"modal-confirmation_text__3old6\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"textFieldName\":\"modal-create-merchant-account_textFieldName__1GiVh\",\"paper\":\"modal-create-merchant-account_paper__1YeXT\",\"selectCountry\":\"modal-create-merchant-account_selectCountry__-QTX1\",\"nextButton\":\"modal-create-merchant-account_nextButton__3dX4b\",\"cancelBtn\":\"modal-create-merchant-account_cancelBtn__4qxyd\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"statusColumn\":\"table-header_statusColumn__2mvFm\",\"childLabel\":\"table-header_childLabel__3D7M9\",\"buttonText\":\"table-header_buttonText__2bvtl\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"paymentsNone\":\"merchant-charges-list-table_paymentsNone__3Nr21\",\"resultSpan\":\"merchant-charges-list-table_resultSpan__1ici_\",\"currencySpan\":\"merchant-charges-list-table_currencySpan__rR96A\",\"tableRow\":\"merchant-charges-list-table_tableRow__2XnmK\",\"dateColumn\":\"merchant-charges-list-table_dateColumn__VWdF4\",\"deleteIcon\":\"merchant-charges-list-table_deleteIcon__3eOa1\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"paper\":\"modal-update-bank-completion_paper__2lsrm\",\"dilogbtn\":\"modal-update-bank-completion_dilogbtn__2SO74\",\"leavebtn\":\"modal-update-bank-completion_leavebtn__22Bpq\",\"btnContainer\":\"modal-update-bank-completion_btnContainer__2EV2J\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"containerDialog\":\"modal-payouts-mark-not-received_containerDialog__3FTUI\",\"headerDivider\":\"modal-payouts-mark-not-received_headerDivider__tGA4e\",\"headerText\":\"modal-payouts-mark-not-received_headerText__FgPfS\",\"button\":\"modal-payouts-mark-not-received_button__2Ksjg\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"accordionItem\":\"api-keys_accordionItem__2vo1H\",\"accordionContent\":\"api-keys_accordionContent__xzO78\",\"expandButton\":\"api-keys_expandButton__3a0cu\",\"apiKeys\":\"api-keys_apiKeys__2c_58\",\"closeIcon\":\"api-keys_closeIcon__2B6q-\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"paper\":\"modal-pdq-confirmation_paper__1UfWb\",\"dialogBtn\":\"modal-pdq-confirmation_dialogBtn__16tYK\",\"leaveBtn\":\"modal-pdq-confirmation_leaveBtn__3CJor\",\"dialogContent\":\"modal-pdq-confirmation_dialogContent__2aqSI\",\"dialogText\":\"modal-pdq-confirmation_dialogText__Zd0gG\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"paper\":\"modal-form-confirmation_paper__1uG85\",\"loading\":\"modal-form-confirmation_loading__bHa_A\",\"dialogBtn\":\"modal-form-confirmation_dialogBtn__3ffM1\",\"leaveBtn\":\"modal-form-confirmation_leaveBtn__1FwR0\",\"dialogContent\":\"modal-form-confirmation_dialogContent__3-x3M\",\"dialogTitle\":\"modal-form-confirmation_dialogTitle__phqeB\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"special-rent-table_root__2E963\",\"paper\":\"special-rent-table_paper__1InkC\",\"noRent\":\"special-rent-table_noRent__3fZZ0\",\"rentTableHeader\":\"special-rent-table_rentTableHeader__38Gts\",\"icons\":\"special-rent-table_icons__1Cfnn\",\"editIcon\":\"special-rent-table_editIcon__EzMQH\",\"specialRentTableDeleteIcon\":\"special-rent-table_specialRentTableDeleteIcon__1HzhD\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"datePicker\":\"update-txn-limit_datePicker__2gSRA\",\"midInput\":\"update-txn-limit_midInput__2_xvV\",\"dialogbtn\":\"update-txn-limit_dialogbtn__1eQOY\",\"editContainer\":\"update-txn-limit_editContainer__puHxU\",\"disabledInput\":\"update-txn-limit_disabledInput__yneqf\",\"paraText\":\"update-txn-limit_paraText__P21O8\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"dialogContentDatePicker\":\"date-picker_dialogContentDatePicker__1P3BK\",\"blackClass\":\"date-picker_blackClass__l7SJo\",\"defaultClass\":\"date-picker_defaultClass__3SgyM\",\"errorClass\":\"date-picker_errorClass__351Xg\",\"MuiOutlinedInput-input\":\"date-picker_MuiOutlinedInput-input__2MWit\",\"paraText\":\"date-picker_paraText__1iW4Z\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"modalContainer\":\"adyen-accept-TOS_modalContainer__2v9a5\",\"containerStyles\":\"adyen-accept-TOS_containerStyles__efF_K\",\"yesBtn\":\"adyen-accept-TOS_yesBtn__2ym-c\",\"acquirerInput\":\"adyen-accept-TOS_acquirerInput__gLuDl\",\"viewerContainer\":\"adyen-accept-TOS_viewerContainer__2fm91\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"title\":\"manage-products-omnipay_title__3ey6I\",\"subTitle\":\"manage-products-omnipay_subTitle__3AqS3\",\"cardsContainer\":\"manage-products-omnipay_cardsContainer__3ZBYv\",\"cards\":\"manage-products-omnipay_cards__3GfII\",\"btn\":\"manage-products-omnipay_btn__3o6zM\",\"paper\":\"manage-products-omnipay_paper__2FtGE\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"bank-verification-upload-documents_container__KCHbE\",\"documents\":\"bank-verification-upload-documents_documents__2tx_t\",\"subHeaderBackground\":\"bank-verification-upload-documents_subHeaderBackground__3tjZp\",\"paddingHeader\":\"bank-verification-upload-documents_paddingHeader__29mvA\",\"popupText\":\"bank-verification-upload-documents_popupText__Du1RM\",\"docContainer\":\"bank-verification-upload-documents_docContainer__23qgz\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"documentManagementContainer\":\"document-management_documentManagementContainer__3yMGw\",\"pageTitle\":\"document-management_pageTitle__1RHiu\",\"documentManagementHeader\":\"document-management_documentManagementHeader__3Efix\",\"managementArea\":\"document-management_managementArea__3Y3KO\",\"merchantDetails\":\"document-management_merchantDetails__SP1sd\",\"documentManagementButtonsContainer\":\"document-management_documentManagementButtonsContainer__3j9Dx\",\"sendNotesContainer\":\"document-management_sendNotesContainer__3sGsO\",\"sendNotesButton\":\"document-management_sendNotesButton__ANOL5\",\"sendNotesError\":\"document-management_sendNotesError__25XO3\",\"noteInput\":\"document-management_noteInput__16cyF\",\"icon\":\"document-management_icon__1PTo_\",\"documentTitle\":\"document-management_documentTitle__1vrmW\",\"paper\":\"document-management_paper__1gzGa\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"steps\":\"onboarding_steps__2BZVu\",\"formContainer\":\"onboarding_formContainer__2F3fn\",\"headerContainer\":\"onboarding_headerContainer__3eIS3\",\"listItemContainer\":\"onboarding_listItemContainer__102zc\",\"bubbleMessage\":\"onboarding_bubbleMessage__32z-N\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container__img\":\"terms-and-conditions_container__img__2njAu\",\"container__datman__img\":\"terms-and-conditions_container__datman__img__2Vk5h\",\"container__text\":\"terms-and-conditions_container__text__UdkMR\",\"container__text__ruleTitle\":\"terms-and-conditions_container__text__ruleTitle__G9S8t\",\"container__text__rules\":\"terms-and-conditions_container__text__rules__1U8mf\",\"container__text__subRules\":\"terms-and-conditions_container__text__subRules__2aBVB\",\"container__text__subRules__cell\":\"terms-and-conditions_container__text__subRules__cell__BNFJf\",\"container__text__table\":\"terms-and-conditions_container__text__table__3TlFA\",\"container__text__rulesBullets\":\"terms-and-conditions_container__text__rulesBullets__1qAG6\",\"iframeContainer\":\"terms-and-conditions_iframeContainer__wzn4U\",\"iframeStyle\":\"terms-and-conditions_iframeStyle__1Fj4R\"};","import React, { useState } from 'react';\n\nconst SelectedElementContext = React.createContext();\n\nfunction SelectedElementProvider(props) {\n const [selectedElement, setSelectedElement] = useState();\n\n return (\n \n {props.children}\n \n );\n}\n\nfunction useSelectedElementContext() {\n const selectedElementContext = React.useContext(SelectedElementContext);\n if (!selectedElementContext) {\n throw new Error(`useSelectedElementContext must be used within a SelectedElementProvider`);\n }\n return selectedElementContext;\n}\n\nexport { SelectedElementProvider, useSelectedElementContext };\n","import React, { useState, useEffect } from 'react';\nimport {\n NonResellerMerchantService,\n TaxonomyService,\n DocumentsService\n //NationalityService\n} from 'services';\nimport { ProductRequirme } from 'models';\nimport { useGlobalStateContext } from 'contexts/global-state/global-state.context';\nimport moment from 'moment';\nimport nonResellerMerchantService from 'services/non-reseller.merchant.service';\nimport { getFormattedDocumentsStatsForMerchant } from 'utils/helper';\nimport { DocumentFlag } from 'utils/enums/DocumentFlag';\nimport { UserType } from 'utils/enums/UserType';\nconst imgPaths = [\n require('../../assets/icons/gateway.svg'),\n require('../../assets/icons/my-pay-app.svg'),\n require('../../assets/icons/virtual-terminal.png'),\n require('../../assets/icons/my-ecomm.svg'),\n require('../../assets/icons/card-machine.svg')\n];\n\nconst OnboardingFormContext = React.createContext();\n\nfunction OnboardingFormProvider(props) {\n const [oldSortCode, setOldSortCode] = useState('');\n const [oldAccountNumber, setOldAccountNumber] = useState('');\n const { globalState } = useGlobalStateContext();\n const isAdmin =\n globalState.user.UserType.name === UserType.Admin || globalState.user.UserType.name === UserType.SuperAdmin;\n let completedSteps = {};\n\n if (globalState.isT2SMerchant) {\n completedSteps = {\n nameAndAddress: false,\n bankDetails: false,\n tradingAddress: false,\n ownerDetails: false,\n uploadDocuments: false,\n summary: false\n };\n } else {\n completedSteps = {\n nameAndAddress: false,\n businessDetails: false,\n tradingAddress: false,\n ownerDetails: false,\n businessProfile: false,\n transactionProfile: false,\n productsRequired: false,\n uploadDocuments: false,\n summary: false\n };\n }\n\n const initialState = {\n isPopulated: false,\n nameAndAddress: {\n companies: [],\n legalName: globalState.merchant?.name || ''\n },\n businessTypes: [],\n businessDetails: {\n businessTypeId: 1,\n employeeIdNumber: '',\n email: '',\n phoneNumber: '',\n websiteUrl: '',\n businessCategory: ''\n },\n tradingAddress: {\n sortCode: '',\n newAccountNumber: '',\n routingNumber: '',\n bsb: '',\n transitNumber: '',\n financialInstitutionNumber: '',\n isValidated: false,\n isSameAsBusinessAddress: false,\n accountHolderName: globalState.merchant?.name,\n state: ''\n },\n ownersDetails: {\n title: 'Mr',\n persons: [],\n nationality: '--Please select--',\n dateOfBirth: { day: '', month: '', year: '' },\n ownership: 25,\n isOwnershipRange: false,\n ssnLastDigits: '',\n fullName: '',\n email: '',\n contactTel: '',\n businessTitle: 'Director',\n isSameAsBusinessEmail: false,\n isSameAsBusinessPhoneNumber: false,\n firstName: globalState?.user?.firstName,\n lastName: globalState?.user?.lastName,\n tinNumber: ''\n },\n nationalities: [\n '--Please select--',\n 'Afghan',\n 'Albanian',\n 'Algerian',\n 'American',\n 'Andorran',\n 'Angolan',\n 'Anguillan',\n 'Argentine',\n 'Armenian',\n 'Australian',\n 'Austrian',\n 'Azerbaijani',\n 'Bahamian',\n 'Bahraini',\n 'Bangladeshi',\n 'Barbadian',\n 'Belarusian',\n 'Belgian',\n 'Belizean',\n 'Beninese',\n 'Bermudian',\n 'Bhutanese',\n 'Bolivian',\n 'Botswanan',\n 'Brazilian',\n 'British',\n 'British Virgin Islander',\n 'Bruneian',\n 'Bulgarian',\n 'Burkinan',\n 'Burmese',\n 'Burundian',\n 'Cambodian',\n 'Cameroonian',\n 'Canadian',\n 'Cape Verdean',\n 'Cayman Islander',\n 'Central African',\n 'Chadian',\n 'Chilean',\n 'Chinese',\n 'Citizen of Antigua and Barbuda',\n 'Citizen of Bosnia and Herzegovina',\n 'Citizen of Guinea-Bissau',\n 'Citizen of Kiribati',\n 'Citizen of Seychelles',\n 'Citizen of the Dominican Republic',\n 'Citizen of Vanuatu',\n 'Colombian',\n 'Comoran',\n 'Congolese (Congo)',\n 'Congolese (DRC)',\n 'Cook Islander',\n 'Costa Rican',\n 'Croatian',\n 'Cuban',\n 'Cymraes',\n 'Cymro',\n 'Cypriot',\n 'Czech',\n 'Danish',\n 'Djiboutian',\n 'Dominican',\n 'Dutch',\n 'East Timorese',\n 'Ecuadorean',\n 'Egyptian',\n 'Emirati',\n 'English',\n 'Equatorial Guinean',\n 'Eritrean',\n 'Estonian',\n 'Ethiopian',\n 'Faroese',\n 'Fijian',\n 'Filipino',\n 'Finnish',\n 'French',\n 'Gabonese',\n 'Gambian',\n 'Georgian',\n 'German',\n 'Ghanaian',\n 'Gibraltarian',\n 'Greek',\n 'Greenlandic',\n 'Grenadian',\n 'Guamanian',\n 'Guatemalan',\n 'Guinean',\n 'Guyanese',\n 'Haitian',\n 'Honduran',\n 'Hong Konger',\n 'Hungarian',\n 'Icelandic',\n 'Indian',\n 'Indonesian',\n 'Iranian',\n 'Iraqi',\n 'Irish',\n 'Israeli',\n 'Italian',\n 'Ivorian',\n 'Jamaican',\n 'Japanese',\n 'Jordanian',\n 'Kazakh',\n 'Kenyan',\n 'Kittitian',\n 'Kosovan',\n 'Kuwaiti',\n 'Kyrgyz',\n 'Lao',\n 'Latvian',\n 'Lebanese',\n 'Liberian',\n 'Libyan',\n 'Liechtenstein citizen',\n 'Lithuanian',\n 'Luxembourger',\n 'Macanese',\n 'Macedonian',\n 'Malagasy',\n 'Malawian',\n 'Malaysian',\n 'Maldivian',\n 'Malian',\n 'Maltese',\n 'Marshallese',\n 'Martiniquais',\n 'Mauritanian',\n 'Mauritian',\n 'Mexican',\n 'Micronesian',\n 'Moldovan',\n 'Monegasque',\n 'Mongolian',\n 'Montenegrin',\n 'Montserratian',\n 'Moroccan',\n 'Mosotho',\n 'Mozambican',\n 'Namibian',\n 'Nauruan',\n 'Nepalese',\n 'New Zealander',\n 'Nicaraguan',\n 'Nigerian',\n 'Nigerien',\n 'Niuean',\n 'North Korean',\n 'Northern Irish',\n 'Norwegian',\n 'Omani',\n 'Pakistani',\n 'Palauan',\n 'Palestinian',\n 'Panamanian',\n 'Papua New Guinean',\n 'Paraguayan',\n 'Peruvian',\n 'Pitcairn Islander',\n 'Polish',\n 'Portuguese',\n 'Prydeinig',\n 'Puerto Rican',\n 'Qatari',\n 'Romanian',\n 'Russian',\n 'Rwandan',\n 'Salvadorean',\n 'Sammarinese',\n 'Samoan',\n 'Sao Tomean',\n 'Saudi Arabian',\n 'Scottish',\n 'Senegalese',\n 'Serbian',\n 'Sierra Leonean',\n 'Singaporean',\n 'Slovak',\n 'Slovenian',\n 'Solomon Islander',\n 'Somali',\n 'South African',\n 'South Korean',\n 'South Sudanese',\n 'Spanish',\n 'Sri Lankan',\n 'St Helenian',\n 'St Lucian',\n 'Stateless',\n 'Sudanese',\n 'Surinamese',\n 'Swazi',\n 'Swedish',\n 'Swiss',\n 'Syrian',\n 'Taiwanese',\n 'Tajik',\n 'Tanzanian',\n 'Thai',\n 'Togolese',\n 'Tongan',\n 'Trinidadian',\n 'Tristanian',\n 'Tunisian',\n 'Turkish',\n 'Turkmen',\n 'Turks and Caicos Islander',\n 'Tuvaluan',\n 'Ugandan',\n 'Ukrainian',\n 'Uruguayan',\n 'Uzbek',\n 'Vatican citizen',\n 'Venezuelan',\n 'Vietnamese',\n 'Vincentian',\n 'Wallisian',\n 'Welsh',\n 'Yemeni',\n 'Zambian',\n 'Zimbabwean'\n ],\n ownerPrimaryAddress: {\n isSameAsTradingAddress: 'false'\n },\n businessDescriptions: [],\n companies: [],\n businessProfile: {\n isBusinessMakingProducts: false,\n isStockSufficient: false,\n businessDescriptions: [],\n productDescription: null\n },\n motoRenewalReasonList: [],\n transactionProfile: {\n stepOne: {\n isDepositsTaken: false,\n goods: 0,\n cardTurnover: 0,\n depositFarDays: 1,\n noDeliveryDays: 1,\n isPrePayment: true,\n fullPrePayments: 0,\n advanceFullPaymentsDays: 1\n },\n stepTwo: {\n companyTurnOverActual: '',\n companyTurnOverProjected: '',\n cardTurnOverActual: '',\n cardTurnOverProjected: '',\n priceRangeMin: '',\n priceRangeMax: '',\n priceRangeAvg: ''\n },\n stepThree: {\n isMotoPayment: false,\n isMaxTicketApplied: false,\n totalCardTurnoverIsMoto: 0,\n advanceGoodsMotoProvidedDays: 1,\n isAutoRenewTransactions: false\n }\n },\n productsRequired: [],\n selectedProducts: [],\n loading: true,\n completedSteps: completedSteps,\n validOnboardingFrom: true\n };\n\n const [onboardingForm, setOnboardingForm] = useState(initialState);\n\n useEffect(() => {\n const fetchData = async () => {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm\n }));\n\n const [products, descriptions] = await Promise.all([\n initProducts(),\n initDescriptions(),\n initDataBusinessTypes()\n ]);\n await initMerchantsFullData(products, descriptions);\n if (globalState.isT2SMerchant) {\n await initCompletedSteps();\n } else {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n completedSteps: {\n ...onboardingForm.completedSteps,\n nameAndAddress: globalState.merchant.onboardingStep > 1,\n businessDetails: globalState.merchant.onboardingStep > 2,\n tradingAddress: globalState.merchant.onboardingStep > 3,\n ownerDetails: globalState.merchant.onboardingStep > 4,\n businessProfile: globalState.merchant.onboardingStep > 5,\n transactionProfile: globalState.merchant.onboardingStep > 6,\n productsRequired: globalState.merchant.onboardingStep > 7,\n uploadDocuments: globalState.merchant.onboardingStep > 8\n }\n }));\n }\n\n //TODO: Uncomment this and make sure the value from Company lookup is pre-populated correctly\n // NationalityService.getNationalities().then((response) => {\n // if (response.isSuccesfully) {\n // console.log(response.data);\n // setOnboardingForm((onboardingForm) => ({\n // ...onboardingForm,\n // nationalities: response.data\n // }));\n // }\n // });\n\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n loading: false\n }));\n\n setOldAccountNumber(onboardingForm.tradingAddress?.newAccountNumber);\n setOldSortCode(onboardingForm.tradingAddress?.sortCode);\n };\n\n fetchData();\n // eslint-disable-next-line\n }, []);\n\n useEffect(() => {\n const validateFrom = () => {\n const completedSteps = Object.values(onboardingForm.completedSteps);\n completedSteps.pop();\n const isValid = completedSteps.reduce((step1, step2) => step1 && step2);\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n validOnboardingFrom: isValid\n }));\n };\n validateFrom();\n }, [onboardingForm.completedSteps]);\n\n const initCompletedSteps = async () => {\n const completedStepsResponse = await nonResellerMerchantService.t2sIncompleteOnBoardingFormCheck(\n globalState.merchant?.id\n );\n\n let noDocumentsPending = false;\n const documentsResponse = await DocumentsService.listObjects(\n 'merchant',\n globalState.merchant?.id,\n DocumentFlag.ONBOARDING\n );\n\n if (completedStepsResponse.isSuccesfully) {\n setOnboardingForm((onboardingForm) => {\n if (documentsResponse.isSuccesfully) {\n noDocumentsPending = getFormattedDocumentsStatsForMerchant({\n merchantBusinessTypeId: onboardingForm.businessDetails.businessTypeId,\n merchantCountry: globalState.merchant?.country,\n merchantDocuments: documentsResponse.data\n }).hasAllMandatoryDocsUploaded;\n }\n\n return {\n ...onboardingForm,\n validOnboardingFrom: completedStepsResponse.data.validOnboardingFrom,\n completedSteps: {\n ...onboardingForm.completedSteps,\n nameAndAddress: completedStepsResponse.data.nameAndAddressIncompleteFields.length === 0,\n bankDetails: completedStepsResponse.data.bankDetailsIncompleteFields.length === 0,\n tradingAddress: completedStepsResponse.data.tradingAddressIncompleteFields.length === 0,\n ownerDetails: completedStepsResponse.data.ownerDetailsIncompleteFields.length === 0,\n uploadDocuments: onboardingForm.completedSteps.uploadDocuments || noDocumentsPending\n }\n };\n });\n }\n };\n\n const initDataBusinessTypes = async () => {\n const businessTypes = await TaxonomyService.getBusinessTypes();\n if (businessTypes.isSuccesfully) {\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n businessTypes: businessTypes.data\n }));\n } else {\n return;\n }\n };\n\n const initDescriptions = async () => {\n var descriptions;\n const descriptionsFetchResponse = await TaxonomyService.getDescriptions();\n if (descriptionsFetchResponse.isSuccesfully) {\n descriptions = descriptionsFetchResponse.data;\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n businessDescriptions: descriptions.businessDescriptions\n }));\n }\n\n return descriptions;\n };\n\n const initProducts = async () => {\n var products;\n const productsRequest = await TaxonomyService.getProductsRequired();\n if (productsRequest.isSuccesfully) {\n products = productsRequest.data;\n products.forEach((element, index) => {\n element.imgPath = imgPaths[index];\n });\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n productsRequired: products\n }));\n }\n\n return products;\n };\n\n const initMerchantsFullData = async (products, descriptions) => {\n const merchantResponse = await NonResellerMerchantService.getOnboardingFullData(globalState.merchant?.id);\n if (merchantResponse.isSuccesfully) {\n const merchantData = merchantResponse.data.merchantData;\n const isT2SMerchant = globalState.isT2SMerchant;\n\n if (merchantData.nameAndAddress && merchantData.tradingAddress) {\n const { nameAndAddress, tradingAddress } = merchantData;\n const isSameAsBusinessAddress =\n nameAndAddress.postCode === tradingAddress.postCode &&\n nameAndAddress.addressLine1 === tradingAddress.addressLine1 &&\n nameAndAddress.addressLine2 === tradingAddress.addressLine2 &&\n nameAndAddress.state === tradingAddress.state &&\n nameAndAddress.city === tradingAddress.city;\n\n merchantData.tradingAddress.isSameAsBusinessAddress = isSameAsBusinessAddress;\n }\n\n if (merchantData.tradingAddress && !merchantData.tradingAddress?.accountHolderName) {\n merchantData.tradingAddress.accountHolderName = globalState.merchant?.name;\n }\n\n if (isT2SMerchant && merchantData.businessDetails && merchantData.ownersDetails) {\n const { ownersDetails, businessDetails } = onboardingForm;\n const isSameAsBusinessPhoneNumber = ownersDetails.contactTel === businessDetails.phoneNumber;\n const isSameAsBusinessEmail = ownersDetails.email === businessDetails.email;\n merchantData.ownersDetails.isSameAsBusinessPhoneNumber = isSameAsBusinessPhoneNumber;\n merchantData.ownersDetails.isSameAsBusinessEmail = isSameAsBusinessEmail;\n }\n\n if (isT2SMerchant && merchantData.tradingAddress && merchantData.ownerPrimaryAddress) {\n const { ownerPrimaryAddress, tradingAddress } = onboardingForm;\n const isSameAsTradingAddress =\n ownerPrimaryAddress.postCode === tradingAddress.postCode &&\n ownerPrimaryAddress.addressLine1 === tradingAddress.addressLine1 &&\n ownerPrimaryAddress.addressLine2 === tradingAddress.addressLine2 &&\n ownerPrimaryAddress.city === tradingAddress.city &&\n ownerPrimaryAddress.state === tradingAddress.state &&\n ownerPrimaryAddress.country === tradingAddress.country;\n merchantData.ownerPrimaryAddress.isSameAsTradingAddress = isSameAsTradingAddress;\n }\n\n if (merchantData.businessProfile) {\n if (merchantData.businessProfile.startedBusinessAt) {\n const MONTHS_IN_A_YEAR = 12;\n merchantData.businessProfile.timeInBusinessYears = moment().diff(\n moment(merchantData.businessProfile.startedBusinessAt),\n 'years',\n false\n );\n merchantData.businessProfile.timeInBusinessMonths =\n moment().diff(moment(merchantData.businessProfile.startedBusinessAt), 'months', false) %\n MONTHS_IN_A_YEAR;\n\n merchantData.businessProfile.timeInBusinessYears = merchantData.businessProfile.timeInBusinessYears.toString();\n merchantData.businessProfile.timeInBusinessMonths = merchantData.businessProfile.timeInBusinessMonths.toString();\n }\n\n if (descriptions) {\n merchantData.businessProfile.businessDescriptions = descriptions.businessDescriptions.filter((pd) =>\n merchantData.businessProfile.businessDescriptions.includes(pd.id)\n );\n } else {\n merchantData.businessProfile.businessDescriptions = [];\n }\n }\n\n if (merchantData.transactionProfile) {\n merchantData.transactionProfile.stepThree.isMotoPayment =\n merchantData.transactionProfile.stepThree.isMotoPayment ??\n onboardingForm.transactionProfile.stepThree.isMotoPayment;\n merchantData.transactionProfile.stepThree.isMaxTicketApplied =\n merchantData.transactionProfile.stepThree.isMaxTicketApplied ??\n onboardingForm.transactionProfile.stepThree.isMaxTicketApplied;\n merchantData.transactionProfile.stepThree.totalCardTurnoverIsMoto =\n merchantData.transactionProfile.stepThree.totalCardTurnoverIsMoto ??\n onboardingForm.transactionProfile.stepThree.totalCardTurnoverIsMoto;\n merchantData.transactionProfile.stepThree.advanceGoodsMotoProvidedDays =\n merchantData.transactionProfile.stepThree.advanceGoodsMotoProvidedDays ??\n onboardingForm.transactionProfile.stepThree.advanceGoodsMotoProvidedDays;\n merchantData.transactionProfile.stepThree.isAutoRenewTransactions =\n merchantData.transactionProfile.stepThree.isAutoRenewTransactions ??\n onboardingForm.transactionProfile.stepThree.isAutoRenewTransactions;\n merchantData.transactionProfile.stepThree.motoRenewalReason =\n merchantData.transactionProfile.stepThree.motoRenewalReason ??\n onboardingForm.transactionProfile.stepThree.motoRenewalReason;\n }\n\n if (products && merchantData.selectedProducts.length === 0) {\n const gatewayProduct = products.find((product) => product.name === ProductRequirme.Gateway);\n if (gatewayProduct) {\n merchantData.selectedProducts = [gatewayProduct.id];\n }\n }\n\n if (merchantData.ownersDetails) {\n merchantData.ownersDetails.persons = [];\n if (merchantData.ownersDetails.dateOfBirth) {\n const birthDate = merchantData.ownersDetails.dateOfBirth.split('-');\n merchantData.ownersDetails.dateOfBirth = {\n day: birthDate[2],\n month: birthDate[1],\n year: birthDate[0]\n };\n } else {\n merchantData.ownersDetails.dateOfBirth = { day: '', month: '', year: '' };\n }\n merchantData.ownersDetails.ownership = merchantData.ownersDetails.ownership\n ? merchantData.ownersDetails.ownership\n : 25;\n merchantData.ownersDetails.businessTitle = merchantData.ownersDetails.businessDetails\n ? merchantData.ownersDetails.businessDetails\n : 'Director';\n\n merchantData.ownersDetails.title = merchantData.ownersDetails.title\n ? merchantData.ownersDetails.title\n : onboardingForm.ownersDetails.title;\n\n merchantData.ownersDetails.ssnLastDigits = merchantData.ownersDetails.ssnLastDigits\n ? merchantData.ownersDetails.ssnLastDigits\n : onboardingForm.ownersDetails.ssnLastDigits;\n\n merchantData.ownersDetails.nationality = merchantData.ownersDetails?.nationality\n ? merchantData.ownersDetails?.nationality\n : onboardingForm.ownersDetails.nationality;\n }\n\n if (merchantData.businessDetails) {\n merchantData.businessDetails.phoneNumber = merchantData.businessDetails.phoneNumber\n ? merchantData.businessDetails.phoneNumber\n : onboardingForm.businessDetails.phoneNumber;\n merchantData.businessDetails.email = merchantData.businessDetails.email\n ? merchantData.businessDetails.email\n : onboardingForm.businessDetails.email;\n merchantData.businessDetails.businessTypeId = merchantData.businessDetails.businessTypeId\n ? merchantData.businessDetails.businessTypeId\n : onboardingForm.businessDetails.businessTypeId;\n }\n\n setOnboardingForm((onboardingForm) => ({\n ...onboardingForm,\n isPopulated: true,\n nameAndAddress: merchantData.nameAndAddress\n ? merchantData.nameAndAddress\n : onboardingForm.nameAndAddress,\n businessDetails: merchantData.businessDetails\n ? merchantData.businessDetails\n : onboardingForm.businessDetails,\n tradingAddress: merchantData.tradingAddress\n ? merchantData.tradingAddress\n : onboardingForm.tradingAddress,\n ownersDetails: merchantData.ownersDetails ? merchantData.ownersDetails : onboardingForm.ownersDetails,\n ownerPrimaryAddress: merchantData.ownerPrimaryAddress\n ? merchantData.ownerPrimaryAddress\n : onboardingForm.ownerPrimaryAddress,\n businessProfile: merchantData.businessProfile\n ? merchantData.businessProfile\n : onboardingForm.businessProfile,\n transactionProfile: merchantData.transactionProfile\n ? merchantData.transactionProfile\n : onboardingForm.transactionProfile,\n selectedProducts: merchantData.selectedProducts\n }));\n }\n };\n\n return (\n \n {props.children}\n \n );\n}\n\nfunction useOnboardingFormContext() {\n const onboardingFormContext = React.useContext(OnboardingFormContext);\n if (!onboardingFormContext) {\n throw new Error('useOnboardingFormContext must be used within a OnboardingFormProvider');\n }\n return onboardingFormContext;\n}\n\nexport { OnboardingFormProvider, useOnboardingFormContext };\n","import React, { useState, useCallback } from 'react';\nimport { BalanceService } from 'services';\nimport { debounce } from 'lodash';\n\nconst initialBalance = sessionStorage.getItem('balance');\nconst initialTransitBalance = sessionStorage.getItem('transitBalance');\nconst initialAvailableBalance = sessionStorage.getItem('availableBalance');\n\nconst BalanceContext = React.createContext();\n\nfunction BalanceProvider(props) {\n const [balanceIsLoading, setBalanceIsLoading] = useState(false);\n const [balance, setBalance] = useState(initialBalance ?? 0);\n const [transitBalance, setTransitBalance] = useState(initialTransitBalance ?? 0);\n const [availableBalance, setAvailableBalance] = useState(initialAvailableBalance ?? 0);\n const [manualWithdrawalStatus, setManualWithdrawStatus] = useState(0);\n const getBalance = async () => {\n setBalanceIsLoading(true);\n await BalanceService.GetBalance().then((response) => {\n if (response.isSuccesfully) {\n setBalance(response.data.balance);\n setTransitBalance(response.data.balance_transit);\n setAvailableBalance(response.data.available_balance);\n setManualWithdrawStatus(response.data.manual_withdrawal_status);\n //session in last as long as the the tab opened and session is specific to that tab or page.\n //session storage gets cleared when closing the tab or refresh the tab\n sessionStorage.setItem('balance', response.data.balance);\n sessionStorage.setItem('transitBalance', response.data.balance_transit);\n sessionStorage.setItem('availableBalance', response.data.available_balance);\n sessionStorage.setItem('manual_withdrawal_status', response.data.manual_withdrawal_status);\n } else {\n setBalance(0);\n setTransitBalance(0);\n setAvailableBalance(0);\n sessionStorage.setItem('balance', 0);\n sessionStorage.setItem('transitBalance', 0);\n sessionStorage.setItem('availableBalance', 0);\n sessionStorage.setItem('manual_withdrawal_status', 0);\n }\n\n setBalanceIsLoading(false);\n });\n };\n\n const refreshBalance = useCallback(debounce(getBalance, 500), []);\n\n return (\n \n {props.children}\n \n );\n}\n\n/**\n * @returns {{\n * balance: number,\n * refreshBalance: () => {}\n * setBalance: () => {}\n * balanceIsLoading: boolean\n * }}\n */\nfunction useBalanceContext() {\n const balanceContext = React.useContext(BalanceContext);\n if (!balanceContext) {\n throw new Error('useBalanceContext must be used within a BalanceProvider');\n }\n return balanceContext;\n}\n\nexport { BalanceProvider, useBalanceContext };\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"createUserForm\":\"create-user-form_createUserForm___WQyz\",\"alertWindow\":\"create-user-form_alertWindow__3HMe1\",\"loadingSubmit\":\"create-user-form_loadingSubmit__TI5NN\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"customInput\":\"input_customInput__3bkg6\",\"errorBorder\":\"input_errorBorder__2Myoc\",\"withoutBorders\":\"input_withoutBorders__2OQgw\",\"withoutShadow\":\"input_withoutShadow__1Ub7_\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"onboarding-forms-container_container__1ZA7-\",\"formsContainer\":\"onboarding-forms-container_formsContainer__26oEa\",\"formItem\":\"onboarding-forms-container_formItem__Uaxph\",\"titleContainer\":\"onboarding-forms-container_titleContainer__xnV5N\",\"btnContainer\":\"onboarding-forms-container_btnContainer__OysxT\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"paper\":\"modal-confirm-reverse-withdrawal_paper__1EMnk\",\"dialogBtn\":\"modal-confirm-reverse-withdrawal_dialogBtn__2di05\",\"leaveBtn\":\"modal-confirm-reverse-withdrawal_leaveBtn__1l4TZ\",\"dialogContent\":\"modal-confirm-reverse-withdrawal_dialogContent__2_k-o\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"checkboxWrapper\":\"modal-export-report_checkboxWrapper__117Ji\",\"buttonWrapper\":\"modal-export-report_buttonWrapper__20Cug\",\"boxStyle\":\"modal-export-report_boxStyle__1BZyh\",\"exportrModalBox\":\"modal-export-report_exportrModalBox__1T05v\",\"payments-none\":\"modal-export-report_payments-none__1v9i1\",\"divStyle\":\"modal-export-report_divStyle__2erw7\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"btnContainer\":\"modal-reason-to-close_btnContainer__3RU2t\",\"qrBtn\":\"modal-reason-to-close_qrBtn__2o_KQ\",\"submitBtn\":\"modal-reason-to-close_submitBtn__35fS3\",\"reasonInput\":\"modal-reason-to-close_reasonInput__esrQ2\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"copyIconContainer\":\"merchant-stripe-id_copyIconContainer__2WdXN\",\"copyIcon\":\"merchant-stripe-id_copyIcon__2uIaP\",\"textInput\":\"merchant-stripe-id_textInput__3Oo-R\",\"createContainer\":\"merchant-stripe-id_createContainer__2HW_C\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"paper\":\"invoice-toggle-modes-dialog_paper__3CdSH\",\"dilogbtn\":\"invoice-toggle-modes-dialog_dilogbtn__DSaTG\",\"leavebtn\":\"invoice-toggle-modes-dialog_leavebtn__317a3\",\"btnContainer\":\"invoice-toggle-modes-dialog_btnContainer__u2Rt4\",\"dialogContent\":\"invoice-toggle-modes-dialog_dialogContent__30QEI\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"bannerIcon\":\"banner_bannerIcon__3TpbA\",\"bannerIconContainer\":\"banner_bannerIconContainer__2ipQ3\",\"bannerContainer\":\"banner_bannerContainer__1ecqs\",\"bannerText\":\"banner_bannerText__1EHWa\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"backgroundColor\":\"admin-dashboard_backgroundColor__1Us3U\",\"container\":\"admin-dashboard_container__2LJS1\",\"adminDashboardMenu\":\"admin-dashboard_adminDashboardMenu__2bPhN\",\"dashboardContentContainer\":\"admin-dashboard_dashboardContentContainer__r59EE\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"backgroundColor\":\"pending-customers_backgroundColor__3YGqz\",\"container\":\"pending-customers_container__3asYx\",\"adminDashboardMenu\":\"pending-customers_adminDashboardMenu__1dM7y\",\"dashboardContentContainer\":\"pending-customers_dashboardContentContainer__3YCfD\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"payment-details_container__2HkXK\",\"merchantListContainer\":\"payment-details_merchantListContainer__1CG7m\",\"merchantDashBoardMenu\":\"payment-details_merchantDashBoardMenu__3Y4XA\",\"pageContainer\":\"payment-details_pageContainer__1RWfy\",\"paymentsContainer\":\"payment-details_paymentsContainer__23rqJ\",\"backbtn\":\"payment-details_backbtn__1MQcv\",\"backbtnContainer\":\"payment-details_backbtnContainer__F8RrH\"};","module.exports = __webpack_public_path__ + \"static/media/gateway.89cad181.svg\";","module.exports = __webpack_public_path__ + \"static/media/my-pay-app.3d517baa.svg\";","module.exports = __webpack_public_path__ + \"static/media/virtual-terminal.14cdcfd8.png\";","module.exports = __webpack_public_path__ + \"static/media/my-ecomm.aa88d064.svg\";","module.exports = __webpack_public_path__ + \"static/media/card-machine.831e3075.svg\";","import React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { makeStyles } from '@material-ui/core/styles';\nimport {\n Paper,\n Box,\n CircularProgress,\n Table,\n TableBody,\n TableCell,\n TableContainer,\n TableRow,\n IconButton,\n TableFooter,\n TablePagination,\n useMediaQuery\n} from '@material-ui/core';\nimport SettingsBackupRestoreSharpIcon from '@material-ui/icons/SettingsBackupRestoreSharp';\nimport CloseIcon from '@mui/icons-material/Close';\nimport TableHeader from '../table-header/table-header.container.js';\nimport FilterTabs from '../filter-tabs/filter-tabs.container';\nimport {\n filterRefundDescription,\n formatCurrency,\n formatDateTimeByFormatString,\n getComparator,\n stableSort,\n merchantTypesEnum,\n filterDescription\n} from '../../../../utils/helper';\nimport { PaymentsFilterTabs } from '../../../../utils/enums/PaymentsFilterTabs';\nimport styles from './payments-list-table.module.scss';\nimport TransactionRefund from '../../../transaction/transaction-refund/transaction-refund.container';\nimport TableFooterComponent from '../table-footer/table-footer.component';\nimport { useGlobalStateContext } from 'contexts/index.js';\nimport { getCurrencyThreeAlpha } from 'utils/getCurrencyByCountry.js';\nimport _ from 'lodash';\nimport { UserType } from 'utils/enums/UserType';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport TransactionStatusLabel from '../transaction-status-label/transaction-status-label.container';\nimport { PaymentStatus } from 'utils/enums/PaymentStatus.js';\nimport { AcquirersNameMap } from 'utils/enums/Acquirers.js';\nimport { ModalFormConfirmation } from 'components';\nimport GitfCardLableChipContainer from '../gift-card-chip/gift-card-lable-chip.conatiner';\nimport { getChipLabel } from 'utils/getGiftCardStatus.js';\nimport { PaymentProvider } from 'utils/enums/PaymentProvider.js';\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n width: '100%'\n },\n paper: {\n width: '100%',\n marginBottom: theme.spacing(2),\n boxShadow: 'none'\n },\n container: {\n 'overflow-y': 'visible'\n },\n table: {\n minWidth: '100%'\n },\n tableRow: {\n '&$selected, &$selected:hover': {\n backgroundColor: '#e4e1fe'\n }\n },\n selected: {},\n visuallyHidden: {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: 1,\n margin: -1,\n padding: 0,\n position: 'absolute',\n top: 20,\n width: 1\n },\n checkbox: {\n color: '#8783b5'\n },\n 'MuiIconButton-root': {\n padding: '0px 0px'\n }\n}));\n\nexport default function PaymentsListTableComponent(props) {\n const { globalState } = useGlobalStateContext();\n const classes = useStyles();\n const {\n rows,\n statusFilter,\n setStatusFilter,\n order,\n orderBy,\n loading,\n show,\n setShow,\n showTransactionRefund,\n payment,\n error,\n setPayment,\n isRefundedTransaction,\n formatRefundReasonAndAmountString,\n noTabs,\n setIsRefundHappen,\n showAcquirer,\n page,\n setPage,\n isOmnipay,\n handleClick,\n showMerchantName,\n pagePath,\n successfullTransactions,\n selectedAcquirer,\n clearFilter,\n acquirerName,\n via,\n handleVoidTransaction,\n showCancelButton,\n voidableTransaction,\n showCancelBtn,\n isDateRangeArchived,\n PaymentVisibilityMessage\n } = props;\n\n let hidePaymentActions = globalState.merchant?.userRole === 'User';\n const isDatman = globalState.reseller?.id === 2;\n const isAdmin =\n globalState.user?.UserType?.name === UserType.Admin || globalState.user?.UserType?.name === UserType.SuperAdmin;\n const isSuperAdmin = globalState.user?.UserType?.name === UserType.SuperAdmin;\n\n const [rowsPerPage, setRowsPerPage] = useState(20);\n\n const handleChangePage = (event, newPage) => {\n setPage(newPage);\n };\n\n const handleChangeRowsPerPage = (event) => {\n setRowsPerPage(parseInt(event.target.value, 10));\n setPage(0);\n };\n const mediaLessThan600px = useMediaQuery('(max-width:599px)');\n const hideSensitiveDetails = globalState?.merchant?.merchantType === merchantTypesEnum.BIG_TABLE;\n return (\n
    \n {!noTabs && (\n \n )}\n \n {loading ? (\n \n \n \n ) : error ? (\n
    An error occurred, please try reloading your browser.
    \n ) : (\n \n {via === 'year' || via === 'all' ? (\n
    To check the transaction please export
    \n ) : !rows || rows.length === 0 ? (\n selectedAcquirer?.length === 0 || selectedAcquirer?.length === acquirerName?.length ? (\n
    \n {isDateRangeArchived ? `${PaymentVisibilityMessage}` : 'No transactions.'}\n
    \n ) : isAdmin ? (\n
    \n No results available for this filter.\n \n Remove all filters\n \n
    \n ) : (\n
    \n {isDateRangeArchived ? `${PaymentVisibilityMessage}` : 'No transactions.'}\n
    \n )\n ) : (\n \n \n \n \n \n {stableSort(\n rowsPerPage > 0\n ? rows.slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage)\n : rows,\n getComparator(order, orderBy)\n ).map((row, index) => {\n const labelId = `enhanced-table-checkbox-${index}`;\n let transactionDetails = hideSensitiveDetails\n ? 'REDACTED'\n : _.compact([\n _.compact([row.firstname?.trim(), row.lastname?.trim()]).join(\n ' '\n ),\n row.address?.trim()\n ]).join(' - ');\n let giftCardEnable = _.pick(row, [\n 'TxnReference',\n 'provider',\n 'origin',\n 'payment_status',\n 'total'\n ]);\n let chipTexts = getChipLabel(giftCardEnable);\n let giftCardExits =\n row.provider === PaymentProvider.GIFT_CARD ||\n giftCardEnable.TxnReference?.startsWith('OGC') ||\n giftCardEnable.TxnReference?.startsWith('GC');\n\n return (\n \n \n handleClick(row)}\n >\n {row.refund === '' ? (\n \n {formatCurrency(\n row.total,\n getCurrencyThreeAlpha(\n globalState.merchant?.country\n )\n )}\n \n ) : (\n \n \n {formatCurrency(\n row.total,\n getCurrencyThreeAlpha(\n globalState.merchant?.country\n )\n )}\n \n \n )}\n \n {showMerchantName && (\n handleClick(row)}\n >\n {row.merchant_name}\n \n )}\n {/* \n setRoute(`/payment-details/${row.id}`, {\n payment: row\n })\n }\n >\n {row.description || '-'}\n */}\n {!mediaLessThan600px && (\n handleClick(row)}\n >\n {row.refund ? (\n
    \n {formatRefundReasonAndAmountString(\n row.refund\n )}\n {transactionDetails && (\n <>\n

    \n {transactionDetails}\n \n )}\n
    \n ) : (\n
    \n {transactionDetails ? (\n \n {transactionDetails}\n {giftCardExits && (\n \n )}\n \n ) : (\n \n )}\n
    \n )}\n \n )}\n {!isDatman && (\n handleClick(row)}\n >\n {+row.total < 0 ? (\n \n {filterRefundDescription(row.refund) || '-'}\n \n ) : row.more_info ? (\n filterDescription(row.more_info)\n ) : row.description ? (\n row.description\n ) : (\n \n )}\n \n )}\n {showAcquirer && (\n handleClick(row)}\n >\n {row.payment_provider}\n \n )}\n handleClick(row)}\n >\n {formatDateTimeByFormatString(row.time, 'DD MMM HH:mm')}\n \n {!isRefundedTransaction &&\n (hidePaymentActions ||\n row.total <= 0 ||\n row.payed <= 0 ||\n !row.order_id ||\n (row.payment_status\n ? row.payment_status !== 'OK'\n : false) ||\n row.payment_provider ===\n AcquirersNameMap.VOUCHER_CREDIT ||\n row.refund ? (\n \n {isSuperAdmin &&\n !showCancelButton(\n row.firstname,\n row.lastname\n ) &&\n voidableTransaction(\n row.firstname,\n row.lastname\n ) &&\n !showCancelBtn && (\n {\n showTransactionRefund(row);\n }}\n >\n \n \n )}\n {payment.id === row.id ? (\n \n handleVoidTransaction(row)\n }\n buttonText={'Confirm'}\n modalText=\"Please confirm that you want to void this transaction\"\n />\n ) : null}\n \n ) : (\n \n {!giftCardExits && (\n {\n showTransactionRefund(row);\n }}\n disabled={\n globalState.merchant.status ===\n MerchantStatus.WATCHLIST\n }\n >\n \n \n )}\n {payment.id === row.id ? (\n \n ) : null}\n \n ))}\n {statusFilter === PaymentsFilterTabs.All && isOmnipay && (\n handleClick(row)}\n >\n {row.total <= 0 ? (\n \n ) : PaymentStatus[row.payment_status] ? (\n \n ) : row.payment_status ? (\n \n ) : null}\n \n )}\n \n {mediaLessThan600px && (\n \n handleClick(row)}\n >\n {row.refund ? (\n
    \n {formatRefundReasonAndAmountString(\n row.refund\n )}\n {transactionDetails && (\n <>\n

    \n {transactionDetails}\n \n )}\n
    \n ) : (\n
    \n {transactionDetails ? (\n {transactionDetails}\n ) : (\n \n )}\n
    \n )}\n \n
    \n )}\n
    \n );\n })}\n {pagePath !== 'dashboard' && (\n \n \n \n )}\n
    \n {pagePath !== 'dashboard' && (\n \n \n {rows.length > rowsPerPage && (\n \n )}\n \n \n )}\n \n {pagePath !== 'dashboard' && (\n \n )}\n
    \n
    \n )}\n
    \n )}\n
    \n
    \n );\n}\n\nPaymentsListTableComponent.propTypes = {\n rows: PropTypes.array.isRequired,\n statusFilter: PropTypes.string.isRequired,\n setStatusFilter: PropTypes.func.isRequired,\n order: PropTypes.string.isRequired,\n orderBy: PropTypes.string.isRequired,\n loading: PropTypes.bool.isRequired,\n error: PropTypes.bool.isRequired,\n setPayment: PropTypes.func,\n formatRefundReasonAndAmountString: PropTypes.func,\n noTabs: PropTypes.bool,\n showAcquirer: PropTypes.bool\n};\n","export const VoidablePayments = ['invoice', 'datman credit', 'setup fee'];\n\nexport const VoidedPayments = {\n VOIDED_TRANSACTION: 'returned',\n INCORRECT_TRANSACTION: 'mistakenly charged'\n};\n\nexport const VoidedPaymentsArray = Object.values(VoidedPayments);\n","import React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport moment from 'moment';\nimport PaymentsListTableComponent from './payments-list-table.component.jsx';\nimport { PaymentsFilterTabs } from '../../../../utils/enums/PaymentsFilterTabs';\nimport { useGlobalStateContext } from 'contexts';\nimport { useMediaQuery } from '@material-ui/core';\nimport { ResellerType } from 'utils/enums/ResellerType.js';\nimport { cleverTapClick, merchantTypes } from 'utils/helper.js';\nimport { VoidablePayments, VoidedPaymentsArray } from 'utils/enums/VoidedPayments.js';\nimport { REACT_APP_CARD_PAYMENT_ARCHIVE_DATE } from 'utils/constants';\nimport { Messages } from 'utils/enums/messages';\n\nconst PaymentsListTable = (props) => {\n const {\n payments,\n loading,\n channelFilter,\n error,\n noTabs,\n setIsRefundHappen,\n showAcquirer,\n pagePath,\n selectedAcquirer,\n onAcquirerChange,\n acquirerName,\n via,\n handleVoidTransaction,\n showCancelBtn,\n isDateRangeArchived\n } = props;\n const [rows, setRows] = useState([]);\n const [order, setOrder] = React.useState('desc');\n const [orderBy, setOrderBy] = React.useState('time');\n const [statusFilter, setStatusFilter] = useState(noTabs ? PaymentsFilterTabs.All : PaymentsFilterTabs.Successful);\n const [isRefundedTransaction, setIsRefundedTransaction] = useState(false);\n const [show, setShow] = useState(false);\n const [payment, setPayment] = useState({});\n const [total, setTotal] = useState();\n const { globalState, setRoute } = useGlobalStateContext();\n const [page, setPage] = useState(0);\n const [refundValue, setRefundValue] = useState();\n const [snackbar, setSnackbar] = useState({ type: '', message: '' });\n const [open, setOpen] = useState(false);\n const [paymentId, setPaymentId] = useState('');\n const mediaLessThan600px = useMediaQuery('(max-width:599px)');\n const isOmnipay = globalState.reseller?.name === ResellerType.OMNIPAY;\n const isDatman = globalState.reseller?.id === 2;\n const showMerchantName = merchantTypes.includes(globalState.merchant?.merchantType);\n\n const PaymentVisibilityMessage = Messages.PAYMENT_VISIBILITY(\n moment(REACT_APP_CARD_PAYMENT_ARCHIVE_DATE).format('MMMM D, YYYY')\n );\n\n useEffect(() => {\n let dataRows = payments;\n dataRows =\n channelFilter !== 'All'\n ? payments.filter(\n (payment) => payment.channel.replace(/\\s/g, '').toLowerCase() === channelFilter.toLowerCase()\n )\n : payments;\n\n if (statusFilter === PaymentsFilterTabs.Successful) {\n isOmnipay\n ? (dataRows = dataRows.filter((payment) =>\n payment.payment_provider === 'DNA'\n ? Number(payment.total) >= 0 && payment.payment_status === 'OK'\n : Number(payment.total) >= 0\n ))\n : (dataRows = dataRows.filter(\n (payment) =>\n !((Number(payment.total) <= 0 && payment.refund) || payment.firstname.includes('Charge back'))\n ));\n }\n if (statusFilter === PaymentsFilterTabs.Refunded) {\n dataRows = dataRows.filter(\n (payment) => (Number(payment.total) <= 0 && payment.refund) || payment.firstname.includes('Charge back')\n );\n setIsRefundedTransaction(true);\n } else {\n setIsRefundedTransaction(false);\n }\n if (pagePath === 'dashboard') {\n dataRows = dataRows.slice(0, 5);\n }\n setRows(dataRows);\n\n let totalPaymentValue = 0;\n let refund = 0;\n\n for (let i = 0; i < payments.length; i += 1) {\n if ((payments[i].refund && payments[i].total < 0) || payments[i].firstname.includes('Charge back')) {\n refund = parseFloat(refund) + parseFloat(payments[i].total);\n } else if (\n isOmnipay\n ? payment.payment_provider === 'DNA'\n ? payments[i].total > 0 && payments[i].payment_status === 'OK'\n : payments[i].total > 0\n : !(Number(payment.total) <= 0 && payment.refund)\n ) {\n totalPaymentValue = parseFloat(totalPaymentValue) + parseFloat(payments[i].total);\n }\n }\n\n setTotal(totalPaymentValue);\n setRefundValue(refund);\n setPage(0);\n // eslint-disable-next-line\n }, [payments, statusFilter, channelFilter]);\n\n const handleRequestSort = (event, property) => {\n const isAsc = orderBy === property && order === 'asc';\n setOrder(isAsc ? 'desc' : 'asc');\n setOrderBy(property);\n };\n const clearFilter = () => {\n onAcquirerChange(acquirerName);\n sessionStorage.setItem('selectedAcquirer', JSON.stringify([]));\n };\n\n const showTransactionRefund = (rowData) => {\n const data = {\n refund_amount: rowData.total,\n time_stamp: new Date()\n };\n cleverTapClick('Refund_list_click', globalState, data);\n setShow(true);\n setPayment(rowData);\n };\n const formatRefundReasonAndAmountString = (str) => {\n str = str.replace('£', '');\n str = str.replace('\\\\n', '');\n str = str.replace('\\\\n', '');\n str = str.replace('
    ', '');\n str = str.replace('because', ' - ');\n let arr = str.split('.');\n let str2 = `${arr[0]}.${arr[1] ? arr[1] : ''}`;\n return str2;\n };\n\n let headCells = [\n {\n id: 'total',\n numeric: true,\n disablePadding: false,\n label: isRefundedTransaction ? 'Refunded amount' : 'Amount'\n },\n {\n id: 'merchant_name',\n numeric: false,\n disablePadding: false,\n label: 'Merchant name',\n notShow: !showMerchantName\n },\n {\n id: 'transaction details',\n numeric: false,\n disablePadding: false,\n label: 'Transaction details',\n hideSortingIcon: true\n },\n {\n id: 'description',\n numeric: false,\n disablePadding: false,\n label: 'Description',\n hideSortingIcon: true,\n notShow: isDatman || mediaLessThan600px\n },\n {\n id: 'payment_provider',\n numeric: false,\n disablePadding: false,\n label: 'Acquirer ID',\n notShow: !showAcquirer\n },\n { id: 'time', numeric: false, disablePadding: false, label: 'Date' },\n { id: 'refund', numeric: false, disablePadding: false, label: 'Refund', hideSortingIcon: true },\n {\n id: 'payment_status',\n numeric: false,\n disablePadding: false,\n label: 'Status',\n hideSortingIcon: true,\n notShow: statusFilter !== PaymentsFilterTabs.All || !isOmnipay\n }\n ];\n if (isRefundedTransaction) {\n headCells = headCells.filter((headCellObj) => headCellObj.id !== 'refund');\n }\n\n if (globalState.merchant?.userRole === 'User') {\n headCells = headCells.filter((headCellObj) => headCellObj.id !== 'refund');\n }\n const handleClick = (value) => {\n setRoute(`/payment-details/${value.id}`, {\n payment: value\n });\n const data = {\n time_stamp: new Date(),\n transactin_id: value.id\n };\n cleverTapClick('Txn_click', globalState, data);\n };\n const voidableTransaction = (firstname, lastname) => {\n let name = `${firstname.toLowerCase()} ${lastname.toLowerCase()}`;\n return VoidablePayments.some((word) => name.includes(word));\n };\n const showCancelButton = (firstname, lastname) => {\n const foundInFirstName =\n firstname && firstname.trim().length > 0\n ? VoidedPaymentsArray.some((word) => firstname.toLowerCase().includes(word))\n : false;\n const foundInLastName =\n lastname && lastname.trim().length > 0\n ? VoidedPaymentsArray.some((word) => lastname.toLowerCase().includes(word))\n : false;\n return foundInFirstName || foundInLastName;\n };\n\n return (\n \n );\n};\n\nexport default PaymentsListTable;\n\nPaymentsListTable.propTypes = {\n payments: PropTypes.array.isRequired,\n loading: PropTypes.bool.isRequired,\n channelFilter: PropTypes.string.isRequired,\n error: PropTypes.bool.isRequired\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { InputLabel, Typography } from '@material-ui/core';\nimport style from './label.module.scss';\nimport { translateText } from '../../../../utils/languageTranslater';\n\nfunction LabelComponent(props) {\n return (\n \n \n {props.text ? (props.transalterEnabled ? translateText(props) : props.text) : props.children}\n \n \n );\n}\n\nLabelComponent.propTypes = {\n text: PropTypes.string,\n children: PropTypes.oneOfType([PropTypes.string, PropTypes.object, PropTypes.element]),\n id: PropTypes.string,\n bold: PropTypes.bool\n};\n\nexport default LabelComponent;\n","import React from 'react';\n\nimport LabelComponent from './label.component';\n\n/**\n *\n * @param {{\n * text: string;\n * id: string\n * }} props\n */\nfunction Label(props) {\n return ;\n}\n\nLabel.propspropTypes = {};\n\nexport default Label;\n","import { AuthAxios } from './interceptor.service.js';\nimport { NonResellerMerchantServiceEndpoint } from '../utils/constants';\nimport { SuccesResponse, ErrorResponse } from 'models';\nimport { validateMerchantName } from 'validators';\nimport { getT2SReferralLinkPayload } from 'utils/getT2SReferralLinkPayload';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\n\nconst getUserMerchants = async (resellerId) => {\n try {\n const response = await AuthAxios.get(`${NonResellerMerchantServiceEndpoint}/reseller/${resellerId}`);\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getMerchantAcquirer = async (merchandId) => {\n try {\n const response = await AuthAxios.post(`${NonResellerMerchantServiceEndpoint}/get-merchant-acquirer`, {\n merchant_id: merchandId\n });\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getAllMerchantsForReseller = async (resellerId, data) => {\n try {\n const response = await AuthAxios.post(\n `${NonResellerMerchantServiceEndpoint}/get-all-merchants-for-reseller/${resellerId}`,\n data\n );\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getAdminMerchants = async (resellerId, searchedString, includeMerchantId) => {\n try {\n const data = { searchedString, includeMerchantId };\n const response = await AuthAxios.post(`${NonResellerMerchantServiceEndpoint}/admin/${resellerId}`, data);\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getMerchant = async (id) => {\n try {\n const response = await AuthAxios.get(`${NonResellerMerchantServiceEndpoint}/merchant/${id}`);\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst createUserMerchant = async (data) => {\n try {\n const response = await AuthAxios.post(`${NonResellerMerchantServiceEndpoint}`, data);\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst createUserMerchantUsingThirdPartyCustomerKey = async (thirdPartyCustomerKey, resellerId = 2) => {\n let referralData = getT2SReferralLinkPayload(thirdPartyCustomerKey, {\n noRedirect: true\n });\n\n if (\n referralData &&\n referralData.TradingName &&\n referralData.BusinessAddressCountry &&\n Object.values(MerchantCountries).includes(referralData.BusinessAddressCountry)\n ) {\n try {\n const validationResult = validateMerchantName(referralData.TradingName);\n if (validationResult.isValid) {\n let data = {\n name: referralData.TradingName,\n country: referralData.BusinessAddressCountry,\n resellerId: resellerId,\n thirdPartyCustomerId: referralData.i || null,\n host: referralData.f || null,\n refferalDataValue: thirdPartyCustomerKey || null\n };\n const response = await AuthAxios.post(`${NonResellerMerchantServiceEndpoint}`, data);\n return new SuccesResponse(response.data);\n }\n } catch (error) {\n return getError(error);\n }\n }\n\n return getError({ message: 'Could not create merchant' });\n};\n\nconst updateMerchantInfo = async (merchantId, data) => {\n try {\n const response = await AuthAxios.post(\n `${NonResellerMerchantServiceEndpoint}/update-merchant-info/${merchantId}`,\n data\n );\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst deleteMerchantAccount = async (id) => {\n try {\n const response = await AuthAxios.delete(`${NonResellerMerchantServiceEndpoint}/delete/${id}`);\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst requestCloseMerchantAccount = async (id, data) => {\n try {\n const response = await AuthAxios.put(`${NonResellerMerchantServiceEndpoint}/request-close/${id}`, data);\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst completeOnboardingStep = async (merchantId, onboardingStep, data, csrfToken) => {\n try {\n const response = await AuthAxios.post(\n `${NonResellerMerchantServiceEndpoint}/save/${merchantId}/onboarding/${onboardingStep}`,\n data,\n { headers: { 'X-CSRF-TOKEN': csrfToken } }\n );\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst updateProducts = async (merchantId, data) => {\n try {\n const response = await AuthAxios.post(\n `${NonResellerMerchantServiceEndpoint}/send-updated-products-list/${merchantId}`,\n data\n );\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getOnboardingStepDetails = async (merchantId, onboardingStep) => {\n try {\n const response = await AuthAxios.get(\n `${NonResellerMerchantServiceEndpoint}/get/${merchantId}/onboarding/${onboardingStep}`\n );\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getOnboardingFullData = async (merchantId) => {\n try {\n const response = await AuthAxios.get(`${NonResellerMerchantServiceEndpoint}/get/${merchantId}/onboarding`);\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst completeOnboarding = async (merchantId, csrfToken) => {\n try {\n const response = await AuthAxios.get(`${NonResellerMerchantServiceEndpoint}/complete/${merchantId}`, {\n headers: { 'X-CSRF-TOKEN': csrfToken }\n });\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst incompleteBoardingFormCheck = async (merchantId) => {\n try {\n const response = await AuthAxios.get(`${NonResellerMerchantServiceEndpoint}/incomplete/${merchantId}`);\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst t2sIncompleteOnBoardingFormCheck = async (merchantId) => {\n try {\n const response = await AuthAxios.get(`${NonResellerMerchantServiceEndpoint}/t2s-incomplete/${merchantId}`);\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getError = (error) => {\n const message = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(message);\n};\nconst updateMerchantData = async (merchantId, data) => {\n try {\n const response = await AuthAxios.post(\n `${NonResellerMerchantServiceEndpoint}/update-merchant-data/${merchantId}`,\n data\n );\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getCanonicalResellerMerchant = async (merchantId) => {\n try {\n const response = await AuthAxios.get(\n `${NonResellerMerchantServiceEndpoint}/get-canonical-reseller-merchant/${merchantId}`\n );\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getTermsAndConditionsForMerchant = async (merchantId, modalTermsAndConditions) => {\n try {\n const response = await AuthAxios.get(\n `${NonResellerMerchantServiceEndpoint}/get-merchants-terms-and-conditions/${merchantId}/${modalTermsAndConditions}`\n );\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\nconst merchantAcceptTermsAndConditions = async (merchantId) => {\n try {\n const response = await AuthAxios.post(\n `${NonResellerMerchantServiceEndpoint}/merchant-accept-terms-and-conditions/${merchantId} `\n );\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst enableAutoWithdrawals = async (merchantId, data) => {\n try {\n const response = await AuthAxios.post(\n `${NonResellerMerchantServiceEndpoint}/merchant-enable-auto-withdrawal/${merchantId}`,\n data\n );\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst linkQrCode = async (data, id) => {\n try {\n const response = await AuthAxios.post(`${NonResellerMerchantServiceEndpoint}/link-merchant-qr/${id}`, data);\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getAllPdqOrders = async (canonicalResellerId) => {\n try {\n const response = await AuthAxios.get(\n `${NonResellerMerchantServiceEndpoint}/get-pdq-orders/${canonicalResellerId}`\n );\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\nconst RenewSignupLink = async (id) => {\n try {\n const response = await AuthAxios.post(\n `${NonResellerMerchantServiceEndpoint}/reactive-merchant-signup-link/${id}`\n );\n return new SuccesResponse(response.data, response.status);\n } catch (error) {\n return getError(error);\n }\n};\n\nexport default {\n getUserMerchants,\n getAdminMerchants,\n getAllMerchantsForReseller,\n createUserMerchant,\n updateMerchantInfo,\n deleteMerchantAccount,\n getMerchant,\n completeOnboardingStep,\n getOnboardingStepDetails,\n getOnboardingFullData,\n completeOnboarding,\n incompleteBoardingFormCheck,\n updateProducts,\n requestCloseMerchantAccount,\n updateMerchantData,\n t2sIncompleteOnBoardingFormCheck,\n getCanonicalResellerMerchant,\n createUserMerchantUsingThirdPartyCustomerKey,\n getTermsAndConditionsForMerchant,\n merchantAcceptTermsAndConditions,\n enableAutoWithdrawals,\n linkQrCode,\n getMerchantAcquirer,\n // getDnaForm\n getAllPdqOrders,\n RenewSignupLink\n};\n","import { SuccesResponse, ErrorResponse } from 'models';\nimport { DatmanAxios, AuthAxios } from './interceptor.service.js';\nimport { DatmanAPIEndpoint, GetPaymentsEndpoint } from 'utils/constants';\n\nasync function getPayoutsList(payoutsRequest) {\n try {\n const response = await DatmanAxios.post(`${DatmanAPIEndpoint}/portal/withdrawalsV2`, payoutsRequest);\n // const { data, status } = response;\n\n return new SuccesResponse(response.data, response.status);\n } catch (error) {\n const errMessage = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\nasync function markPayoutNotReceived(data) {\n try {\n const requestResult = await DatmanAxios.put(`${DatmanAPIEndpoint}/portal/withdrawals/batched`, data);\n return new SuccesResponse(requestResult.data, requestResult.status);\n } catch (err) {\n const errMessage = err.response ? err.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nasync function getStripePayoutsList({ merchantId }) {\n try {\n const response = await AuthAxios.get(`${GetPaymentsEndpoint}/fetch-stripe-payouts/${merchantId}`);\n return new SuccesResponse(response.data, response.status);\n } catch (error) {\n const errMessage = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nasync function getStripePayoutTransactions({ merchantId, payoutId }) {\n try {\n const response = await AuthAxios.get(\n `${GetPaymentsEndpoint}/fetch-stripe-payout-transactions/${merchantId}/${payoutId}`\n );\n return new SuccesResponse(response.data, response.status);\n } catch (error) {\n const errMessage = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\nasync function DeletePayoutTransaction(data) {\n try {\n const requestResult = await DatmanAxios.delete(`${DatmanAPIEndpoint}/portal/withdrawals/notBatched`, { data });\n return new SuccesResponse(requestResult.data);\n } catch (error) {\n const errMessage = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n}\n\nconst getAllPayouts = async (merchantId, data) => {\n try {\n const requestResult = await AuthAxios.post(`${GetPaymentsEndpoint}/get-payouts/${merchantId}`, data);\n return new SuccesResponse(requestResult.data);\n } catch (error) {\n const errMessage = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(errMessage);\n }\n};\n\nexport default {\n getPayoutsList,\n markPayoutNotReceived,\n getStripePayoutsList,\n getStripePayoutTransactions,\n getAllPayouts,\n DeletePayoutTransaction\n};\n","import { AuthAxios, BaseAxios } from './interceptor.service.js';\nimport { SuccesResponse, ErrorResponse } from 'models';\nimport { AdyenServiceEndpoint } from '../utils/constants';\n\nconst submitAdyenOnboarding = async (merchantId) => {\n try {\n const response = await AuthAxios.post(\n `${AdyenServiceEndpoint}/adyen-balance-platform-onboarding/${merchantId}`\n );\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\nconst AdyenUploadDocument = async (merchantId, data) => {\n try {\n const response = await AuthAxios.post(\n `${AdyenServiceEndpoint}/adyen-platform-upload-document/${merchantId}`,\n data\n );\n\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getError = (error) => {\n const message = error.response ? error.response.data : 'An error occurred';\n return new ErrorResponse(message);\n};\n\nconst getAdyenAccounts = async (merchantId) => {\n try {\n const response = await AuthAxios.get(`${AdyenServiceEndpoint}/adyen-account/get-adyen-account/${merchantId}`);\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst closeAdyenAccount = async (merchantId) => {\n try {\n const response = await AuthAxios.post(\n `${AdyenServiceEndpoint}/adyen-account/close-adyen-account/${merchantId}`\n );\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getAdyenResponse = async (merchantId) => {\n try {\n const response = await AuthAxios.get(`${AdyenServiceEndpoint}/get-adyen-response/${merchantId}`);\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getBalancePlatformOnboardingUrl = async (merchantId) => {\n try {\n const response = await AuthAxios.get(`${AdyenServiceEndpoint}/get-adyen-onboarding-hosted-form/${merchantId}`);\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst getAdyenCriticalMerchantsList = async () => {\n try {\n const response = await AuthAxios.get(`${AdyenServiceEndpoint}/get-adyen-blocked-accounts`);\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst migrateToAdyenBalancePlatform = async (merchantId, data) => {\n try {\n const response = await BaseAxios.post(`${AdyenServiceEndpoint}/balance-platform/create-account`, data);\n\n console.log('---', response);\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst adyenGetTOSTypes = async (merchantId) => {\n try {\n const response = await AuthAxios.get(`${AdyenServiceEndpoint}/get-terms-of-service-types/${merchantId}`);\n return new SuccesResponse(response.data);\n } catch (error) {\n return getError(error);\n }\n};\n\nconst adyenGetTOSDocuments = async (merchantId, data) => {\n try {\n const response = await AuthAxios.post(\n `${AdyenServiceEndpoint}/get-terms-of-service-documents/${merchantId}`,\n data\n );\n return new SuccesResponse(response.data);\n } catch (error) {\n getError(error);\n }\n};\n\nconst adyenAcceptedTermsAndConditon = async (merchantId, data) => {\n try {\n const response = await AuthAxios.patch(`${AdyenServiceEndpoint}/terms-of-service-accepted/${merchantId}`, data);\n return new SuccesResponse(response.data);\n } catch (error) {\n getError(error);\n }\n};\nconst adyenOnboardingShareableLink = async (merchantId) => {\n try {\n const response = await AuthAxios.get(\n `${AdyenServiceEndpoint}/get-adyen-shareable-onboarding-link/${merchantId}`\n );\n return new SuccesResponse(response.data);\n } catch (error) {\n getError(error);\n }\n};\n\nexport default {\n submitAdyenOnboarding,\n getAdyenAccounts,\n getAdyenResponse,\n getAdyenCriticalMerchantsList,\n closeAdyenAccount,\n getBalancePlatformOnboardingUrl,\n migrateToAdyenBalancePlatform,\n adyenGetTOSTypes,\n adyenGetTOSDocuments,\n adyenAcceptedTermsAndConditon,\n AdyenUploadDocument,\n adyenOnboardingShareableLink\n};\n","import React from 'react';\n\nimport {\n Kitchen as KitchenIcon,\n Person as PersonIcon,\n Business as BusinessIcon,\n Clear as ClearIcon\n} from '@material-ui/icons';\nimport PropTypes from 'prop-types';\n\nimport { Box, Typography, Collapse, Grid, Avatar } from '@material-ui/core';\n\nimport styles from './chargebacks-expanded-row.module.scss';\n\nconst ChargebacksExpandedRowComponent = (props) => {\n return (\n \n \n \n Chargeback note\n \n \n \n \n \n \n \n John{' '}\n \n \n \n Super dry PLC{' '}\n \n 22/01/2020 \n \n \n \n The item was damaged. Take it back and give me my money back.\n \n \n \n \n \n Proof of damage\n JPEG 215kb\n \n \n \n \n \n \n Proof of damage\n JPEG 215kb\n \n \n \n \n \n \n \n \n );\n};\n\nexport default ChargebacksExpandedRowComponent;\n\nChargebacksExpandedRowComponent.propTypes = {\n open: PropTypes.bool.isRequired\n};\n","import React from 'react';\nimport ChargebacksExpandedRowComponent from './chargebacks-expanded-row.component';\n\nconst ChargebacksExpandedRow = (props) => {\n return ;\n};\n\nexport default ChargebacksExpandedRow;\n","export const ChargebacksFilterTabs = {\n Resolved: 'RESOLVED',\n 'Not resolved': 'NOTRESOLVED',\n All: 'all'\n};\n","import React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { lighten, makeStyles } from '@material-ui/core/styles';\nimport {\n Paper,\n Box,\n CircularProgress,\n Table,\n TableBody,\n TableCell,\n TableContainer,\n TableRow,\n Toolbar,\n Typography,\n IconButton,\n Tooltip,\n TableFooter,\n TablePagination\n} from '@material-ui/core';\nimport DeleteIcon from '@material-ui/icons/Delete';\nimport FilterListIcon from '@material-ui/icons/FilterList';\nimport ChargebacksExpandedRow from './chargebacks-expanded-row/chargebacks-expanded-row.container';\nimport TableFooterComponent from '../table-footer/table-footer.component';\nimport TableHeader from '../table-header/table-header.container';\nimport FilterTabs from '../filter-tabs/filter-tabs.container';\nimport { ChargebacksFilterTabs } from '../../../../utils/enums/ChargebacksFilterTabs';\nimport { formatCurrency, formatDateTimeByFormatString, getComparator, stableSort } from '../../../../utils/helper';\nimport styles from './chargebacks-list-table.module.scss';\nimport { getCurrencyThreeAlpha } from 'utils/getCurrencyByCountry';\nimport { useGlobalStateContext } from 'contexts';\n\nconst useToolbarStyles = makeStyles((theme) => ({\n root: {\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(1)\n },\n highlight:\n theme.palette.type === 'light'\n ? {\n color: theme.palette.secondary.main,\n backgroundColor: lighten(theme.palette.secondary.light, 0.85)\n }\n : {\n color: theme.palette.text.primary,\n backgroundColor: '#8783b5'\n },\n title: {\n flex: '1 1 100%'\n }\n}));\n\nconst EnhancedTableToolbar = (props) => {\n const classes = useToolbarStyles();\n const { numSelected } = props;\n\n return (\n 0\n })}\n >\n {numSelected > 0 ? (\n \n {numSelected} selected\n \n ) : null}\n\n {numSelected > 0 ? (\n \n \n \n \n \n ) : (\n \n \n \n \n \n )}\n \n );\n};\n\nEnhancedTableToolbar.propTypes = {\n numSelected: PropTypes.number.isRequired\n};\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n width: '100%'\n },\n paper: {\n width: '100%',\n marginBottom: theme.spacing(2),\n boxShadow: 'none'\n },\n table: {\n minWidth: '100%'\n },\n tableRow: {\n '&$selected, &$selected:hover': {\n backgroundColor: '#e4e1fe'\n }\n },\n selected: {},\n visuallyHidden: {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: 1,\n margin: -1,\n padding: 0,\n position: 'absolute',\n top: 20,\n width: 1\n },\n checkbox: {\n color: '#8783b5'\n },\n representAction: {\n 'font-size': '8px',\n 'margin-right': '5px',\n color: 'cornflowerblue',\n textTransform: 'none'\n },\n acceptAction: {\n 'font-size': '8px',\n color: 'green',\n textTransform: 'none'\n }\n}));\n\nexport default function ChargebacksListTableComponent(props) {\n const { globalState } = useGlobalStateContext();\n const classes = useStyles();\n const {\n rows,\n statusFilter,\n setStatusFilter,\n checkIsExpanded,\n toggleExpandTheRow,\n order,\n orderBy,\n loading,\n error,\n totalChargeback,\n page,\n setPage\n } = props;\n\n const [rowsPerPage, setRowsPerPage] = useState(20);\n\n const handleChangePage = (event, newPage) => {\n setPage(newPage);\n };\n\n const handleChangeRowsPerPage = (event) => {\n setRowsPerPage(parseInt(event.target.value, 10));\n setPage(0);\n };\n\n return (\n
    \n \n \n {loading ? (\n \n \n \n ) : error ? (\n
    An error occurred, please try reloading your browser.
    \n ) : (\n \n {!rows || rows.length === 0 ? (\n
    There aren't any results for that query.
    \n ) : (\n \n \n \n \n \n {stableSort(\n rowsPerPage > 0\n ? rows.slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage)\n : rows,\n getComparator(order, orderBy)\n ).map((row, index) => {\n const labelId = `enhanced-table-checkbox-${index}`;\n const isExpanded = checkIsExpanded(row.id);\n return (\n \n toggleExpandTheRow(e, row.id)}\n >\n \n {formatCurrency(\n row.total,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n \n \n {formatDateTimeByFormatString(row.time, 'DD MMM HH:mm')}\n \n {row.address || '-'}\n {row.cb_reason}\n \n {isExpanded && (\n toggleExpandTheRow(e, row.id)}\n >\n \n \n \n \n )}\n \n );\n })}\n \n \n \n \n \n \n {rows.length > rowsPerPage && (\n \n )}\n \n \n \n \n \n \n )}\n
    \n )}\n
    \n
    \n );\n}\n\nChargebacksListTableComponent.propTypes = {\n rows: PropTypes.array.isRequired,\n statusFilter: PropTypes.string.isRequired,\n setStatusFilter: PropTypes.func.isRequired,\n checkIsExpanded: PropTypes.func.isRequired,\n toggleExpandTheRow: PropTypes.func.isRequired,\n order: PropTypes.string.isRequired,\n orderBy: PropTypes.string.isRequired,\n loading: PropTypes.bool.isRequired,\n error: PropTypes.bool.isRequired,\n totalChargeback: PropTypes.func\n};\n","import React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport ChargebacksListTableComponent from './chargebacks-list-table.component.jsx';\nimport { ChargebacksFilterTabs } from '../../../../utils/enums/ChargebacksFilterTabs';\nimport { formatAmount } from 'utils/helper';\n\nconst ChargebacksListTable = (props) => {\n const [rows, setRows] = useState([]);\n const [order, setOrder] = React.useState('asc');\n const [orderBy, setOrderBy] = React.useState('time');\n const [expandedRowIds, setExpandedRowIds] = React.useState([]);\n const [statusFilter, setStatusFilter] = useState(ChargebacksFilterTabs['Not resolved']);\n const [page, setPage] = useState(0);\n const { chargebacks, loading, error } = props;\n\n useEffect(() => {\n setPage(0);\n let dataRows = [];\n if (statusFilter !== ChargebacksFilterTabs.All) {\n dataRows = chargebacks.filter((Chargeback) => Chargeback.outcome === statusFilter);\n } else {\n dataRows = chargebacks;\n }\n setRows(dataRows);\n }, [chargebacks, statusFilter]);\n\n const handleRequestSort = (event, property) => {\n const isAsc = orderBy === property && order === 'asc';\n setOrder(isAsc ? 'desc' : 'asc');\n setOrderBy(property);\n };\n\n const toggleExpandTheRow = (event, id) => {\n const indexOfClickedRow = expandedRowIds.indexOf(id);\n let newExpandedRowIds = [];\n\n if (indexOfClickedRow === -1) {\n newExpandedRowIds = newExpandedRowIds.concat(expandedRowIds, id);\n } else if (indexOfClickedRow === 0) {\n newExpandedRowIds = newExpandedRowIds.concat(expandedRowIds.slice(1));\n } else if (indexOfClickedRow === expandedRowIds.length - 1) {\n newExpandedRowIds = newExpandedRowIds.concat(expandedRowIds.slice(0, -1));\n } else if (indexOfClickedRow > 0) {\n newExpandedRowIds = newExpandedRowIds.concat(\n expandedRowIds.slice(0, indexOfClickedRow),\n expandedRowIds.slice(indexOfClickedRow + 1)\n );\n }\n\n setExpandedRowIds(newExpandedRowIds);\n };\n\n const totalChargeback = () => {\n let total = chargebacks.reduce((accumulator, charge) => {\n return accumulator + Number(charge.total);\n }, 0);\n\n return formatAmount(total);\n };\n\n //const checkIsExpanded = (id) => expandedRowIds.indexOf(id) !== -1;\n const checkIsExpanded = () => false; //Hide for MVP\n\n const headCells = [\n { id: 'total', numeric: false, disablePadding: false, label: 'Amount' },\n { id: 'time', numeric: true, disablePadding: false, label: 'Date' },\n { id: 'address', numeric: false, disablePadding: false, label: 'Address', hideSortingIcon: true },\n { id: 'cb_reason', numeric: false, disablePadding: false, label: 'Chargeback reason' }\n ];\n\n return (\n \n );\n};\n\nexport default ChargebacksListTable;\n\nChargebacksListTable.propTypes = {\n chargebacks: PropTypes.array.isRequired,\n loading: PropTypes.bool.isRequired,\n error: PropTypes.bool.isRequired\n};\n","import React from 'react';\nimport { makeStyles } from '@material-ui/core/styles';\nimport Table from '@material-ui/core/Table';\nimport TableBody from '@material-ui/core/TableBody';\nimport TableCell from '@material-ui/core/TableCell';\nimport TableContainer from '@material-ui/core/TableContainer';\nimport TableHead from '@material-ui/core/TableHead';\nimport TableRow from '@material-ui/core/TableRow';\nimport Paper from '@material-ui/core/Paper';\nimport PropTypes from 'prop-types';\n\nimport { formatCurrency, formatDateTimeByFormatString } from '../../../../utils/helper';\nimport { getCurrencyThreeAlpha } from 'utils/getCurrencyByCountry';\nimport { useGlobalStateContext } from 'contexts';\n\nconst useStyles = makeStyles({\n table: {}\n});\n\nexport default function PayoutsReferenceTable(props) {\n const { globalState } = useGlobalStateContext();\n const classes = useStyles();\n const { rows, type } = props;\n\n const dateLabel = type === 'IN-BATCH' ? 'Issued' : 'Date requested';\n const dateField = type === 'IN-BATCH' ? 'date_issued' : 'date_requested';\n const rowKeyField = type === 'IN-BATCH' ? 'batch_item_id' : 'rowKeyIndex';\n const provider = 'provider';\n return (\n \n \n \n \n Amount\n {dateLabel}\n \n \n \n {rows.map((row) => (\n \n \n {formatCurrency(row.total, getCurrencyThreeAlpha(globalState.merchant?.country))}\n \n \n {formatDateTimeByFormatString(row[dateField], 'DD MMM HH:mm')}\n \n {row[provider]}\n \n ))}\n \n
    \n
    \n );\n}\n\nPayoutsReferenceTable.propTypes = {\n rows: PropTypes.array.isRequired,\n type: PropTypes.string.isRequired\n};\n","import React, { useState } from 'react';\nimport PropTypes from 'prop-types';\n\nimport {\n Paper,\n Box,\n CircularProgress,\n Table,\n TableBody,\n TableCell,\n TableContainer,\n TableRow,\n Typography,\n Grid,\n TableFooter,\n TablePagination,\n Button\n} from '@material-ui/core';\nimport { makeStyles } from '@material-ui/core/styles';\nimport moment from 'moment';\nimport TableFooterComponent from '../table-footer/table-footer.component';\nimport TransactionStatusLabel from '../transaction-status-label/transaction-status-label.container';\nimport TableHeader from '../table-header/table-header.container';\nimport PayoutsReferenceTable from './payouts-reference-table';\nimport { formatCurrency, formatDateTimeByFormatString, getComparator, stableSort } from '../../../../utils/helper';\nimport styles from './payouts-list-table.module.scss';\nimport { useGlobalStateContext } from 'contexts';\nimport { getCurrencyThreeAlpha } from 'utils/getCurrencyByCountry';\nimport { AcquirersNameMap } from 'utils/enums/Acquirers';\nimport { AcquirersToAcquirerName } from 'utils/enums/Acquirers';\nimport { UserType } from 'utils/enums/UserType';\nimport { payoutStatus } from 'utils/enums/payoutStatusToDate';\nimport { ModalPayoutsMarkNotReceived, SnackBarAndAlert } from 'components';\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n width: '100%',\n 'border-top': '1px solid #ddd',\n 'margin-top': '10px'\n },\n paper: {\n width: '100%',\n marginBottom: theme.spacing(2),\n boxShadow: 'none'\n },\n container: {\n maxHeight: '100%'\n },\n table: {\n minWidth: '100%'\n },\n tableRow: {\n '&$selected, &$selected:hover': {\n backgroundColor: '#e4e1fe'\n }\n },\n expandedRow: {\n backgroundColor: '#e4e1fe',\n cursor: 'pointer'\n },\n selected: {\n cursor: 'pointer',\n th: {\n cursor: 'pointer'\n }\n },\n visuallyHidden: {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: 1,\n margin: -1,\n padding: 0,\n position: 'absolute',\n top: 20,\n width: 1\n },\n referenceBatchId: {\n paddingRight: '10px',\n fontWeight: 'bold'\n },\n checkbox: {\n color: '#8783b5'\n }\n}));\n\nexport default function PayoutsListTableComponent(props) {\n const { setRoute, globalState } = useGlobalStateContext();\n const classes = useStyles();\n const {\n rows,\n selected,\n order,\n orderBy,\n loading,\n error,\n totalPayouts,\n notInBatchPayouts,\n openedBatchTabs,\n openedNotBatchTabs,\n isTabOpen,\n date,\n page,\n setPage,\n open,\n setOpen,\n markPayout,\n setmarkPayout,\n errors,\n onmarkConfirm,\n isLoading,\n isValidMerchant,\n message,\n snackbar,\n handleClose\n } = props;\n\n const notInBatchPayoutEquivalentSortingKeyMap = {\n reference: 'time',\n amount: 'payed',\n status: 'withdraw_status'\n };\n\n const notInBatchOrderByKey = notInBatchPayoutEquivalentSortingKeyMap[orderBy] || orderBy;\n\n const [rowsPerPage, setRowsPerPage] = useState(20);\n\n const handleChangePage = (event, newPage) => {\n setPage(newPage);\n };\n\n const handleChangeRowsPerPage = (event) => {\n setRowsPerPage(parseInt(event.target.value, 10));\n setPage(0);\n };\n const isAdminUserType =\n globalState.user?.UserType?.name === UserType.Admin || globalState.user?.UserType?.name === UserType.SuperAdmin;\n\n return (\n
    \n \n {loading ? (\n \n \n \n ) : error ? (\n
    An error occurred, please try reloading your browser.
    \n ) : (\n \n {(!rows || rows.length === 0) && (!notInBatchPayouts || notInBatchPayouts.length === 0) ? (\n
    There aren't any results for that query.
    \n ) : (\n \n \n \n \n \n {notInBatchPayouts &&\n stableSort(\n rowsPerPage > 0\n ? notInBatchPayouts.slice(\n page * rowsPerPage,\n page * rowsPerPage + rowsPerPage\n )\n : notInBatchPayouts,\n getComparator(order, notInBatchOrderByKey)\n ).map((row, index) => {\n const labelId = `enhanced-table-checkbox-${index}`;\n return (\n \n \n setRoute(`/payout-details/${index}`, {\n payouts: row,\n nextExpectedDate: row.expected_date,\n type: 'NOT-IN-BATCH',\n provider: row.provider,\n date: date\n })\n }\n >\n \n \n {formatCurrency(\n row.total,\n getCurrencyThreeAlpha(\n globalState.merchant?.country\n )\n )}\n \n \n \n {!row.expected_date ? (\n \n ) : (\n formatDateTimeByFormatString(\n row.expected_date,\n 'DD MMM HH:mm'\n )\n )}\n \n\n \n \n \n {isAdminUserType && (\n \n {AcquirersToAcquirerName[row.provider]}\n \n )}\n \n {isTabOpen(openedNotBatchTabs, index) && (\n \n \n \n \n \n \n \n )}\n \n );\n })}\n {rows &&\n stableSort(\n rowsPerPage > 0\n ? page * rowsPerPage > notInBatchPayouts.length\n ? rows.slice(\n page * rowsPerPage - notInBatchPayouts.length,\n page * rowsPerPage -\n notInBatchPayouts.length +\n rowsPerPage\n )\n : page * rowsPerPage + rowsPerPage >\n notInBatchPayouts.length\n ? rows.slice(\n 0,\n page * rowsPerPage +\n rowsPerPage -\n notInBatchPayouts.length\n )\n : []\n : rows,\n getComparator(order, orderBy)\n ).map((row, index) => {\n const labelId = `enhanced-table-checkbox-${index}`;\n return (\n \n \n row.provider === AcquirersNameMap.STRIPE\n ? setRoute(`/stripe-payout-details/${index}`, {\n payouts: row\n })\n : setRoute(`/payout-details/${index}`, {\n payouts: row,\n nextExpectedDate: row.expected_date,\n type: 'IN-BATCH',\n provider: row.provider,\n date: date\n })\n }\n >\n \n {formatCurrency(\n row.provider === AcquirersNameMap.STRIPE\n ? row.total / 100\n : row.total,\n getCurrencyThreeAlpha(\n globalState.merchant?.country\n )\n )}\n \n \n {!row.expected_date ? (\n \n ) : row.provider === AcquirersNameMap.STRIPE ? (\n formatDateTimeByFormatString(\n moment.unix(row.arrival_date),\n 'DD MMM HH:mm'\n )\n ) : (\n formatDateTimeByFormatString(\n row.expected_date,\n 'DD MMM HH:mm'\n )\n )}\n \n \n {row.not_received ? (\n \n \n {/* {false &&\n !isReseller &&\n (isOwner || isAdmin) && ( //Not required in MVP, remove false to show it again\n
    \n \n Resend\n \n
    \n )} */}\n
    \n ) : (\n \n )}\n
    \n\n {isAdminUserType && (\n \n {AcquirersToAcquirerName[row.provider]}\n \n )}\n {isAdminUserType && isValidMerchant && (\n {\n event.stopPropagation();\n }}\n >\n {isAdminUserType &&\n row.status === payoutStatus.SENT &&\n row.provider === AcquirersNameMap.DATMAN &&\n !row.not_received ? (\n
    \n {\n setmarkPayout({\n batch_id: row.batch_id,\n status:\n payoutStatus.NOT_RECEIVED\n });\n setOpen(true);\n }}\n >\n Not Received\n \n
    \n ) : !!row.not_received ? (\n
    \n {\n setmarkPayout({\n batch_id: row.batch_id,\n status: payoutStatus.RESEND\n });\n setOpen(true);\n }}\n className={styles.resendBtns}\n >\n Resend Payout\n \n {\n setmarkPayout({\n batch_id: row.batch_id,\n status: payoutStatus.CANCEL\n });\n setOpen(true);\n }}\n className={styles.resendBtns}\n >\n Cancel Payout\n \n
    \n ) : (\n \n )}\n \n )}\n \n {row.batch_items?.length > 1 &&\n isTabOpen(openedBatchTabs, index) && (\n \n \n \n \n {props.isAdminUserType ? (\n \n BatchId {row.batch_id}\n \n ) : null}\n \n \n \n \n \n \n \n )}\n
    \n );\n })}\n \n \n \n
    \n \n \n {rows.length > rowsPerPage && (\n \n )}\n \n \n \n
    \n \n \n
    \n )}\n {message && (\n \n {snackbar.message}\n \n )}\n
    \n )}\n
    \n
    \n );\n}\n\nPayoutsListTableComponent.propTypes = {\n rows: PropTypes.array.isRequired,\n selected: PropTypes.array.isRequired,\n order: PropTypes.string.isRequired,\n orderBy: PropTypes.string.isRequired,\n isAdminUserType: PropTypes.bool,\n loading: PropTypes.bool.isRequired,\n error: PropTypes.bool.isRequired,\n notInBatchPayouts: PropTypes.array.isRequired,\n openedBatchTabs: PropTypes.array,\n setOpenedBatchTabs: PropTypes.func,\n openedNotBatchTabs: PropTypes.array,\n setOpenedNotBatchTabs: PropTypes.func,\n handleOpenTableRow: PropTypes.func,\n isTabOpen: PropTypes.func,\n totalPayouts: PropTypes.func\n};\n","import React, { useState } from 'react';\nimport PayoutsListTableComponent from './payouts-list-table.component.jsx';\nimport PropTypes from 'prop-types';\nimport { useGlobalStateContext } from 'contexts';\nimport { UserType } from 'utils/enums/UserType';\nimport { PayoutsService } from 'services';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\n\nconst PayoutsListTable = (props) => {\n const [order, setOrder] = useState('desc');\n const { globalState } = useGlobalStateContext();\n const [orderBy, setOrderBy] = useState('payoutExpectedDate');\n const [selected, setSelected] = useState([]);\n const { payouts, loading, isOwner, error, notInBatchPayouts, date, page, setPage, refresh, setRefresh } = props;\n\n const [openedBatchTabs, setOpenedBatchTabs] = useState([]);\n const [openedNotBatchTabs, setOpenedNotBatchTabs] = useState([]);\n\n const [markPayout, setmarkPayout] = useState('');\n const [open, setOpen] = useState(false);\n const [isLoading, setIsLoading] = useState(false);\n const [errors, setErrors] = useState(false);\n const [message, setMessage] = useState(false);\n const [snackbar, SetSnackbar] = useState({ type: '', message: '' });\n\n const handleRequestSort = (event, property) => {\n const isAsc = orderBy === property && order === 'asc';\n setOrder(isAsc ? 'desc' : 'asc');\n setOrderBy(property);\n };\n\n const isAdminUserType =\n globalState.user?.UserType?.name === UserType.Admin || globalState.user?.UserType?.name === UserType.SuperAdmin;\n const isValidMerchant =\n globalState.merchant?.country === MerchantCountries.UNITED_KINGDOM ||\n globalState.merchant?.country === MerchantCountries.IRELAND;\n const handleSelectAllClick = (event) => {\n if (event.target.checked) {\n const newSelecteds = props.payouts.map((n) => n.id);\n setSelected(newSelecteds);\n return;\n }\n setSelected([]);\n };\n\n const handleClick = (event, id) => {\n const selectedIndex = selected.indexOf(id);\n let newSelected = [];\n\n if (selectedIndex === -1) {\n newSelected = newSelected.concat(selected, id);\n } else if (selectedIndex === 0) {\n newSelected = newSelected.concat(selected.slice(1));\n } else if (selectedIndex === selected.length - 1) {\n newSelected = newSelected.concat(selected.slice(0, -1));\n } else if (selectedIndex > 0) {\n newSelected = newSelected.concat(selected.slice(0, selectedIndex), selected.slice(selectedIndex + 1));\n }\n\n setSelected(newSelected);\n };\n\n const isSelected = (id) => selected.indexOf(id) !== -1;\n\n const totalPayouts = () => {\n let total =\n payouts.reduce((accumulator, payout) => {\n return accumulator + Number(payout.total);\n }, 0) +\n notInBatchPayouts.reduce((accumulator, payout) => {\n return accumulator + Number(payout.total);\n }, 0);\n\n return total;\n };\n\n const headCells = [\n { id: 'amount', numeric: true, disablePadding: false, label: 'Amount' },\n\n {\n id: 'payoutExpectedDate',\n numeric: false,\n disablePadding: false,\n label: 'Date expected'\n },\n { id: 'status', numeric: false, disablePadding: false, label: 'Status' },\n { id: 'SourceId', numeric: false, disablePadding: false, label: 'Source ID', notShow: !isAdminUserType },\n {\n id: 'More Options',\n numeric: false,\n disablePadding: false,\n label: 'More options',\n notShow: !isAdminUserType || !isValidMerchant\n }\n ];\n function handleOpenTableRow(openedTabsState, setOpenedTabsState, index) {\n const openedTabIndex = openedTabsState.findIndex((item) => item.tab === index);\n\n if (openedTabIndex !== -1) {\n openedTabsState[openedTabIndex].isOpen = !openedTabsState[openedTabIndex].isOpen;\n } else {\n openedTabsState.push({\n tab: index,\n isOpen: true\n });\n }\n setOpenedTabsState((oldState) => [...oldState, openedTabsState]);\n }\n\n function isTabOpen(openedTabsState, index) {\n return openedTabsState.some((item) => item.tab === index && item.isOpen);\n }\n const onmarkConfirm = async (data) => {\n setIsLoading(true);\n const response = await PayoutsService.markPayoutNotReceived(data);\n\n if (response.isSuccesfully) {\n setOpen(false);\n setRefresh(!refresh);\n SetSnackbar({ type: 'success', message: response.data?.message });\n } else {\n setErrors(true);\n SetSnackbar({ type: 'error', message: response.data?.message });\n }\n setMessage(true);\n setIsLoading(false);\n setOpen(false);\n };\n const handleClose = (event, reason) => {\n if (reason === 'clickaway') {\n setMessage(false);\n }\n };\n return (\n \n );\n};\n\nexport default PayoutsListTable;\n\nPayoutsListTable.propTypes = {\n payouts: PropTypes.array.isRequired,\n loading: PropTypes.bool.isRequired,\n error: PropTypes.bool.isRequired,\n notInBatchPayouts: PropTypes.array.isRequired\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n Paper,\n Box,\n CircularProgress,\n Table,\n TableBody,\n TableCell,\n TableContainer,\n TableRow,\n TablePagination,\n TableFooter,\n useMediaQuery,\n Button\n} from '@material-ui/core';\n\nimport { makeStyles } from '@material-ui/core/styles';\nimport TransactionStatusLabel from '../transaction-status-label/transaction-status-label.container';\nimport TableFooterComponent from '../table-footer/table-footer.component';\nimport TableHeader from '../table-header/table-header.container';\nimport { UserType } from 'utils/enums/UserType';\n\nimport {\n formatCurrency,\n formatDateTimeByFormatString,\n getComparator,\n stableSort,\n formatAmount\n} from '../../../../utils/helper';\nimport styles from './merchant-charges-list-table.module.scss';\nimport { getCurrencyThreeAlpha } from 'utils/getCurrencyByCountry';\nimport { useGlobalStateContext } from 'contexts';\nimport DeleteIcon from '@material-ui/icons/Delete';\nimport { SnackBarAndAlert, ModalFormConfirmation, MerchantChargeExport, ModalMerchantCharge } from 'components';\nimport { ResellerLogoMap } from 'utils/enums/ResellerLogoMap';\nimport paidImage from '../../../../../src/assets/images/paidImage.png';\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n width: '100%',\n 'border-top': '1px solid #ddd',\n 'margin-top': '10px'\n },\n paper: {\n width: '100%',\n marginBottom: theme.spacing(2),\n boxShadow: 'none'\n },\n table: {\n minWidth: '100%'\n },\n tableRow: {\n '&$selected, &$selected:hover': {\n backgroundColor: '#e4e1fe'\n }\n },\n selected: {},\n visuallyHidden: {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: 1,\n margin: -1,\n padding: 0,\n position: 'absolute',\n top: 20,\n width: 1\n },\n checkbox: {\n color: '#8783b5'\n }\n}));\n\nexport default function MerchantChargesListTableComponent(props) {\n const { globalState } = useGlobalStateContext();\n const classes = useStyles();\n const {\n rows,\n order,\n orderBy,\n loading,\n error,\n totalMerchantCharges,\n page,\n setPage,\n payMerchantChargesBtn,\n merchantChargeResponse,\n showSnackbarStatus,\n setShowSnackbarStatus,\n snackbarMessage,\n deleteMerchantChargesBtn,\n openMerchantDeleteModal,\n setOpenMerchantDeleteModal,\n handleMerchantDeleteModal,\n rowId,\n rowAmount,\n openMerchantPayModal,\n setOpenMerchantPayModal,\n handleMerchantPayModal,\n companyAddress,\n merchantTradingAddress,\n rowsPerPage,\n setRowsPerPage,\n getMerchantChargesList,\n count,\n columnStyles,\n openMerchantModal,\n setOpenMerchantModal,\n setMerchantChargeResponse,\n alertCloseMessage,\n setSnackbarMessage,\n formatDescription\n } = props;\n const isSuperAdmin = globalState.user?.UserType?.name === UserType.SuperAdmin;\n\n const handleChangePage = (event, newPage) => {\n setPage(newPage);\n getMerchantChargesList(newPage);\n };\n const alertMessage = () => {\n setShowSnackbarStatus(false);\n };\n\n const handleChangeRowsPerPage = (event) => {\n setRowsPerPage(parseInt(event.target.value, 10));\n setPage(0);\n getMerchantChargesList(0, parseInt(event.target.value, 10));\n };\n\n const mediaLessThan600px = useMediaQuery('(max-width:599px)');\n\n return (\n
    \n \n {showSnackbarStatus && merchantChargeResponse && (\n <>\n \n {snackbarMessage}\n \n \n )}\n {showSnackbarStatus && !merchantChargeResponse && (\n \n {snackbarMessage}\n \n )}\n {loading ? (\n \n \n \n ) : error ? (\n
    An error occurred, please try reloading your browser.
    \n ) : (\n \n {!rows || rows.length === 0 ? (\n
    There aren't any results for that query.
    \n ) : (\n \n \n \n \n \n {stableSort(rows, getComparator(order, orderBy)).map((row, index) => {\n const labelId = `enhanced-table-checkbox-${index}`;\n let paidStatus = row.paid_status ? 'Paid' : 'Unpaid';\n let currenySymbol = getCurrencyThreeAlpha(\n globalState?.merchant?.country\n );\n let csvData = [];\n let reportData = {\n 'Invoice Ref': row.id,\n 'Service provided': row.service_description\n ? row.service_description\n : '--',\n Date: formatDateTimeByFormatString(row.date_sent, 'DD MMM YYYY'),\n Status: paidStatus,\n Amount: `${currenySymbol.toString()} ${formatAmount(row.amount)}`,\n Total: `${currenySymbol.toString()} ${formatAmount(row.amount)}`\n };\n csvData.push(reportData);\n\n return (\n \n \n \n {formatCurrency(\n row.amount,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n \n \n {formatDateTimeByFormatString(\n row.date_sent,\n 'DD MMM YY'\n )}\n \n {!mediaLessThan600px && (\n \n {formatDescription(row.service_description) || '-'}\n \n )}\n \n {row.paid_status ? (\n \n ) : isSuperAdmin ? (\n \n handleMerchantPayModal(row.id, row.amount)\n }\n color=\"primary\"\n size=\"small\"\n >\n Pay Now\n \n ) : (\n \n )}\n \n {isSuperAdmin && (\n \n \n handleMerchantDeleteModal(\n row.id,\n row.amount\n )\n }\n />\n \n )}\n\n \n \n \n \n\n {mediaLessThan600px && row.service_description && (\n \n \n {row.service_description}\n \n \n )}\n \n );\n })}\n \n \n \n \n {count > 20 && (\n \n \n \n \n \n )}\n \n \n\n \n \n )}\n {openMerchantModal && (\n \n )}\n {openMerchantPayModal && (\n payMerchantChargesBtn(rowId, rowAmount)}\n buttonText={'Confirm'}\n modalText={`Pay for invoice number ${rowId} and ${formatCurrency(\n rowAmount,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )} ?`}\n />\n )}\n {openMerchantDeleteModal && (\n deleteMerchantChargesBtn(rowId, rowAmount)}\n buttonText={'Confirm'}\n modalText={`Delete invoice number ${rowId} and ${formatCurrency(\n rowAmount,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )} ?`}\n />\n )}\n {showSnackbarStatus && merchantChargeResponse && (\n \n {snackbarMessage}\n \n )}\n {showSnackbarStatus && !merchantChargeResponse && (\n \n {snackbarMessage}\n \n )}\n
    \n )}\n
    \n
    \n );\n}\n\nMerchantChargesListTableComponent.propTypes = {\n rows: PropTypes.array.isRequired,\n order: PropTypes.string.isRequired,\n orderBy: PropTypes.string.isRequired,\n loading: PropTypes.bool.isRequired,\n error: PropTypes.bool.isRequired,\n totalMerchantCharges: PropTypes.func\n};\n","import React, { useState } from 'react';\nimport MerchantChargesListTableComponent from './merchant-charges-list-table.component.jsx';\nimport PropTypes from 'prop-types';\nimport { UserType } from 'utils/enums/UserType';\n\nimport { formatAmount } from 'utils/helper';\nimport { useMediaQuery } from '@material-ui/core';\nimport { useGlobalStateContext, useBalanceContext } from 'contexts';\n\nimport { AdminService } from 'services';\n\nconst MerchantChargesListTable = (props) => {\n const [order, setOrder] = useState('desc');\n const [orderBy, setOrderBy] = useState('date_sent');\n const [snackbarMessage, setSnackbarMessage] = useState('');\n const [showSnackbarStatus, setShowSnackbarStatus] = useState(false);\n const [openMerchantDeleteModal, setOpenMerchantDeleteModal] = useState(false);\n const [openMerchantPayModal, setOpenMerchantPayModal] = useState(false);\n const [rowId, setRowId] = useState(null);\n const [rowAmount, setRowAmount] = useState(null);\n const { refreshBalance } = useBalanceContext();\n\n const {\n merchantCharges,\n error,\n page,\n setPage,\n loading,\n setLoading,\n merchantChargeResponse,\n setMerchantChargeResponse,\n setMerchantChargeResponseFlag,\n merchantChargeResponseFlag,\n companyAddress,\n merchantTradingAddress,\n rowsPerPage,\n setRowsPerPage,\n getMerchantChargesList,\n count,\n setOpenMerchantModal,\n openMerchantModal\n } = props;\n const mediaLessThan600px = useMediaQuery('(max-width:599px)');\n const [merchantChargeReportData, setMerchantChargeReportData] = useState([]);\n const { globalState } = useGlobalStateContext();\n const isSuperAdmin = globalState.user?.UserType?.name === UserType.SuperAdmin;\n const isMerchant = globalState.user.UserType.name === UserType.Merchant;\n const columnStyles = {\n 0: {\n columnWidth: 30\n }\n };\n\n const handleMerchantDeleteModal = (rowId, rowAmount) => {\n setOpenMerchantDeleteModal(true);\n setRowId(rowId);\n setRowAmount(rowAmount);\n };\n\n const handleMerchantPayModal = (rowId, rowAmount) => {\n setOpenMerchantPayModal(true);\n setRowId(rowId);\n setRowAmount(rowAmount);\n };\n const alertCloseMessage = () => {\n setShowSnackbarStatus(false);\n };\n\n const handleRequestSort = (event, property) => {\n const isAsc = orderBy === property && order === 'asc';\n setOrder(isAsc ? 'desc' : 'asc');\n setOrderBy(property);\n };\n\n const totalMerchantCharges = () => {\n let total = merchantCharges.reduce((accumulator, charge) => {\n return accumulator + charge.amount;\n }, 0);\n\n // return Math.floor(total * 100) / 100;\n\n return formatAmount(total);\n };\n const payMerchantChargesBtn = async (id) => {\n const response = await AdminService.payMerchantCharges({\n id: id\n });\n\n if (response.isSuccesfully) {\n setLoading(true);\n setShowSnackbarStatus(true);\n setSnackbarMessage(response.data.message);\n setMerchantChargeResponse(true);\n setMerchantChargeResponseFlag(true);\n refreshBalance();\n } else {\n setLoading(true);\n setShowSnackbarStatus(true);\n setSnackbarMessage(response.data.message);\n setMerchantChargeResponse(false);\n setMerchantChargeResponseFlag(false);\n }\n setLoading(false);\n setOpenMerchantPayModal(false);\n };\n const deleteMerchantChargesBtn = async (id) => {\n const response = await AdminService.deleteMerchantCharges({\n id: id\n });\n\n if (response.isSuccesfully) {\n setLoading(true);\n setShowSnackbarStatus(true);\n setSnackbarMessage(response.data.message);\n setMerchantChargeResponse(true);\n setMerchantChargeResponseFlag(true);\n } else {\n setLoading(true);\n setShowSnackbarStatus(true);\n setSnackbarMessage(response.data.message);\n setMerchantChargeResponse(false);\n setMerchantChargeResponseFlag(false);\n }\n setLoading(false);\n setOpenMerchantDeleteModal(false);\n };\n const headCells = [\n {\n id: 'amount',\n numeric: true,\n disablePadding: false,\n label: 'Amount'\n },\n {\n id: 'date_sent',\n numeric: false,\n disablePadding: false,\n label: 'Date'\n },\n {\n id: 'service_description',\n numeric: false,\n disablePadding: false,\n label: 'Description',\n notShow: mediaLessThan600px\n },\n { id: 'paid_status', numeric: false, disablePadding: false, label: 'Status' },\n\n {\n id: 'action',\n numeric: false,\n disablePadding: false,\n label: 'Action',\n notShow: !isSuperAdmin\n },\n { id: 'download', numeric: false, disablePadding: false, label: 'Download' }\n ];\n const formatDescription = (str) => {\n const regex = /[^a-zA-Z0-9 ]/g;\n str = str.replace(regex, ' ');\n return str;\n };\n return (\n \n );\n};\n\nexport default MerchantChargesListTable;\n\nMerchantChargesListTable.propTypes = {\n merchantCharges: PropTypes.array.isRequired,\n loading: PropTypes.bool.isRequired,\n error: PropTypes.bool.isRequired,\n getMerchantChargesList: PropTypes.func,\n formatDescription: PropTypes.func\n};\n","import React, { useState, useEffect } from 'react';\nimport { IntlProvider } from 'react-intl';\nimport { useGlobalStateContext } from 'contexts/global-state/global-state.context';\n\nexport const Context = React.createContext();\n\nfunction loadLocaleData(locale) {\n switch (locale) {\n case 'es-mx':\n return import('../../compiled-lang/es-mx.json');\n case 'en-GB':\n return import('../../compiled-lang/en.json');\n default:\n return import('../../compiled-lang/en.json');\n }\n}\n\nconst defaultLanguage = localStorage.getItem('selectedLanguage');\nconst local = defaultLanguage;\n\nlet lang = loadLocaleData(local);\n\nfunction LanguageContext(props) {\n const { globalState } = useGlobalStateContext();\n\n const [locale, setLocale] = useState(local);\n const [messages, setMessages] = useState(lang);\n\n async function selectLanguage(e) {\n const newLocale = e?.target ? e.target.value : e;\n localStorage.setItem('selectedLanguage', newLocale);\n setLocale(newLocale);\n let messageFile = await loadLocaleData(newLocale);\n setMessages(messageFile);\n }\n\n useEffect(() => {\n let selectedLanguage = localStorage.getItem('selectedLanguage');\n selectedLanguage = selectedLanguage ? selectedLanguage : 'en-GB';\n selectLanguage(selectedLanguage);\n }, [globalState.merchant]);\n\n return (\n \n \n {props.children}\n \n \n );\n}\n\nexport { LanguageContext };\n","import { PaymentProvider } from './enums/PaymentProvider';\nimport { PaymentStatus } from './enums/PaymentStatus';\n\nexport const getChipLabel = (giftCardEnable) => {\n if (!giftCardEnable) return { chipLable: '', titleText: '' };\n const { TxnReference, provider, origin, payment_status, total } = giftCardEnable;\n const negativeAmt = total < 0;\n\n if (provider == PaymentProvider.GIFT_CARD) {\n switch (origin) {\n case 26:\n if (payment_status === 'REDEEM-CANCEL') {\n return {\n chipLable: 'Gift Card Redeem Cancel',\n titleText: 'This amount is refunded to the gift card.'\n };\n }\n if (negativeAmt) {\n return {\n chipLable: 'Gift Card Redeem',\n titleText:\n 'The gift card amount was already credited to your account. The amount shown is the delivery fee deducted for this order.'\n };\n } else {\n return {\n chipLable: 'Gift Card Redeem',\n titleText: 'The gift card amount has already been added to your account balance.'\n };\n }\n case 27:\n return {\n chipLable: 'Gift Card Redeem',\n titleText:\n 'The gift card amount was already credited to your account. The amount shown is the delivery fee deducted for this order.'\n };\n default:\n break;\n }\n }\n\n if (TxnReference?.startsWith('OGC') || TxnReference?.startsWith('GC')) {\n return {\n chipLable: 'Gift Card Purchased',\n titleText: 'This is a gift card purchase order, the amount is added to your balance.'\n };\n }\n\n return { chipLable: '', titleText: '' };\n};\n","export const Messages = {\n PAYMENT_VISIBILITY: (date) =>\n `Data before ${date} is not accessible. Please contact our support team at info@datman.je.`\n};\n","import { Chip, Tooltip } from '@material-ui/core';\nimport React from 'react';\nimport styles from './gift-card-lable-chip.module.scss';\n\nconst GitfCardLableChipComponent = (props) => {\n const { titleText, chipLable } = props.status;\n return (\n } arrow>\n \n \n );\n};\n\nexport default GitfCardLableChipComponent;\n","import React from 'react';\nimport GitfCardLableChipComponent from './gift-card-lable-chip.component';\n\nconst GitfCardLableChipContainer = (props) => {\n return ;\n};\n\nexport default GitfCardLableChipContainer;\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"label\":\"label_label__2_xnc\",\"labelText\":\"label_labelText__3ylZt\",\"bold\":\"label_bold__2NQUe\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"formTitle\":\"onboarding-title_formTitle__2P41W\",\"formSubTitle\":\"onboarding-title_formSubTitle__33pM4\",\"dots\":\"onboarding-title_dots__3P_d_\",\"iconUnverified\":\"onboarding-title_iconUnverified__3jxkg\",\"error_icon\":\"onboarding-title_error_icon__37QYN\",\"listItemContainer\":\"onboarding-title_listItemContainer__1nT0Y\",\"bubbleMessage\":\"onboarding-title_bubbleMessage__3PlMW\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"lookupCompanyButton\":\"companies-house-lookup_lookupCompanyButton__C5cch\",\"errorSpan\":\"companies-house-lookup_errorSpan__5Zomb\",\"textButton\":\"companies-house-lookup_textButton__2qwFy\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"navigationBar\":\"merchant-dashboard-navigation-header_navigationBar__2vhqO\",\"navigationItem\":\"merchant-dashboard-navigation-header_navigationItem__25iLo\",\"navigationText\":\"merchant-dashboard-navigation-header_navigationText__hdnqF\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"paymentsNone\":\"chargebacks-list-table_paymentsNone__2-TPs\",\"resultSpan\":\"chargebacks-list-table_resultSpan__2lYqZ\",\"currencySpan\":\"chargebacks-list-table_currencySpan__3Dn4G\",\"actionHolder\":\"chargebacks-list-table_actionHolder__3gN8k\",\"tableRow\":\"chargebacks-list-table_tableRow__oyLKu\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"requestAmountButton\":\"modal-invoice-form_requestAmountButton__3wTUh\",\"phoneInput\":\"modal-invoice-form_phoneInput__30A6X\",\"note\":\"modal-invoice-form_note__1fShi\",\"heading\":\"modal-invoice-form_heading__2bSkA\",\"quantityInput\":\"modal-invoice-form_quantityInput__Ngtch\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"headerTable\":\"payouts-not-received_headerTable__17JXg\",\"container\":\"payouts-not-received_container__11QCC\",\"datePicker\":\"payouts-not-received_datePicker__2QSiK\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"paymentsNone\":\"pdq-list-table_paymentsNone__3CD4N\",\"resultSpan\":\"pdq-list-table_resultSpan__1dc2G\",\"currencySpan\":\"pdq-list-table_currencySpan__VM0K3\",\"actionHolder\":\"pdq-list-table_actionHolder__2OHOV\",\"tableRow\":\"pdq-list-table_tableRow__3T7fg\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"alertError\":\"modal-delete-merchant-account_alertError__3qeoH\",\"actionsContainer\":\"modal-delete-merchant-account_actionsContainer__1JxEW\",\"loading\":\"modal-delete-merchant-account_loading__2AZx2\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"alertError\":\"modal-close-merchant-account_alertError__1w5aS\",\"actionsContainer\":\"modal-close-merchant-account_actionsContainer__1D0f8\",\"loading\":\"modal-close-merchant-account_loading__2UciC\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"navigationBar\":\"admin-dashboard-navigation-header_navigationBar__3_wiU\",\"navigationItem\":\"admin-dashboard-navigation-header_navigationItem__2cMHM\",\"navigationText\":\"admin-dashboard-navigation-header_navigationText__1ISwW\",\"navigationSearchContainer\":\"admin-dashboard-navigation-header_navigationSearchContainer__kFTI4\",\"searchColor\":\"admin-dashboard-navigation-header_searchColor__KdjBS\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"table\":\"roles-and-permissions_table__S2qXG\",\"pageTitle\":\"roles-and-permissions_pageTitle__2xD76\",\"textHeader\":\"roles-and-permissions_textHeader__2LKUo\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"paper\":\"product-add-remove-dialog-box_paper__TkmYw\",\"secondaryActionBtn\":\"product-add-remove-dialog-box_secondaryActionBtn__1DX2_\",\"primaryActionBtn\":\"product-add-remove-dialog-box_primaryActionBtn__1kX__\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"errorListContainer\":\"bank-error-list_errorListContainer__3p6sB\",\"flexDiv\":\"bank-error-list_flexDiv__1qCKE\",\"pageTitle\":\"bank-error-list_pageTitle__38Of-\",\"containerDiv\":\"bank-error-list_containerDiv__szXCx\",\"contractTitle\":\"bank-error-list_contractTitle__3Z1k9\",\"divTitle\":\"bank-error-list_divTitle__3cH73\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"merchantListContainer\":\"side-bar-merchant_merchantListContainer__20uQJ\",\"merchantDashBoardMenu\":\"side-bar-merchant_merchantDashBoardMenu__SGqeY\",\"headerContainer\":\"side-bar-merchant_headerContainer__1lF1a\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"InputAdornment\":\"password-input_InputAdornment__1hQtU\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"table\":\"table-project_table__3Ozfn\",\"loading\":\"table-project_loading__2ZxLp\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"businessCreationTitle\":\"modal-business-creation_businessCreationTitle__2iROe\",\"modalContainer\":\"modal-business-creation_modalContainer__3c6HH\",\"alertError\":\"modal-business-creation_alertError__3dd03\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"customInput\":\"dropdown_customInput__1giMa\",\"errorBorder\":\"dropdown_errorBorder__2RVq8\",\"inputAreas\":\"dropdown_inputAreas__2XZN9\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"loader__component\":\"loader_loader__component__16Qoi\",\"rotate\":\"loader_rotate__2eDyi\",\"ball1\":\"loader_ball1__3hZ1V\",\"ball2\":\"loader_ball2__2BL82\",\"loader\":\"loader_loader__2d6FG\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"transactionStatusHolder\":\"transaction-status-label_transactionStatusHolder__2Mp4L\",\"textStyle\":\"transaction-status-label_textStyle__13EoZ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"paymentsNone\":\"internal-transfers-list-table_paymentsNone__1ReMc\",\"resultSpan\":\"internal-transfers-list-table_resultSpan__1-kwJ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"payAmount\":\"card-details-form_payAmount__3CNIM\",\"cardForm\":\"card-details-form_cardForm__2c1K7\"};","module.exports = __webpack_public_path__ + \"static/media/17.625d9dfd.jpeg\";","// extracted by mini-css-extract-plugin\nmodule.exports = {\"modalHeader\":\"modal-take-payment_modalHeader__3dpug\",\"modalBody\":\"modal-take-payment_modalBody__qTHLS\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"filterHeader\":\"payments-filter_filterHeader__35-0y\",\"filterItem\":\"payments-filter_filterItem__QVkVN\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"footerContainer\":\"page-footer_footerContainer__UgVvH\",\"footerInfoContainer\":\"page-footer_footerInfoContainer__2rIxF\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"help-contacts_container__QpPTs\",\"logo\":\"help-contacts_logo__13msy\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"btnWrapper\":\"finish-upload-button_btnWrapper__229lZ\",\"btnWrapper__finishBtn\":\"finish-upload-button_btnWrapper__finishBtn__3hcoU\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"paper\":\"modal-merchant-terms-and-conditions_paper__1ErFt\",\"dialogContent\":\"modal-merchant-terms-and-conditions_dialogContent__2jhjX\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"noMembers\":\"trigger-reset-password_noMembers__2TAPE\",\"dialog\":\"trigger-reset-password_dialog__37xfM\",\"requestOngoingSpinner\":\"trigger-reset-password_requestOngoingSpinner__2rlCz\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"payout-details_container__3Tdhu\",\"merchantListContainer\":\"payout-details_merchantListContainer__1KyHH\",\"merchantDashBoardMenu\":\"payout-details_merchantDashBoardMenu__3Sgou\",\"pageContainer\":\"payout-details_pageContainer__Tui7-\",\"payoutsContainer\":\"payout-details_payoutsContainer__2qJ_k\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"merchantHeader\":\"support-utilities_merchantHeader__2P5mP\",\"homeLogo\":\"support-utilities_homeLogo__3qZ7w\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"pageTitle\":\"adyen-response_pageTitle__1T41E\",\"adyenHeader\":\"adyen-response_adyenHeader__1iq3L\"};","import React, { useState, useEffect } from 'react';\nimport SignUpFormComponent from './signup-form.component';\nimport { AuthService, UserService } from 'services';\nimport { useLocation } from 'react-router-dom';\nimport { Auth } from 'aws-amplify';\nimport qs from 'query-string';\nimport { useGlobalStateContext } from 'contexts';\nimport { supportedLanguages, REACT_APP_SIGUP_EXPIRY_TIME } from 'utils/constants';\nimport { MerchantCountriesDialCode, MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { ErrorCodes } from 'utils/enums/ErrorCode';\nimport { statusCodes } from 'utils/StatusCodes';\n\nfunction ExternalSignUpForm() {\n const { globalState, setGlobalState, setRoute } = useGlobalStateContext();\n const [loader, setLoader] = useState(true);\n const [email, setEmail] = useState('');\n const [password, setPassword] = useState('');\n const [confirmPassword, setConfirmPassword] = useState('');\n const [firstName, setFirstName] = useState('');\n const [lastName, setLastName] = useState('');\n const [phone, setPhone] = useState(MerchantCountriesDialCode[MerchantCountries.UNITED_KINGDOM]);\n const [isPasswordValid, setIsPasswordValid] = useState(false);\n const [redoPasswordValidation, setRedoPasswordValidation] = useState(false);\n const [uuid, setUuid] = useState('');\n const location = useLocation();\n const [verificationCode, setVerificationCode] = useState('');\n const [snackbar, setSnackbar] = useState({ type: '', message: '' });\n const [verificationTxt, setVerificationTxt] = useState(false);\n const queryString = qs.parse(location.search, { ignoreQueryPrefix: true });\n const local = navigator.language;\n const locale = supportedLanguages.find((language) => language.locale === local) ? local : 'en-GB';\n const [isLinkExpired, setIsLinkExpired] = useState(false);\n const [otpMaxLimit, setOtpMaxLimit] = useState(false);\n const [isButtonDisabled, setIsButtonDisabled] = useState(false);\n const [countdown, setCountdown] = useState(0);\n const [isSubmitTriggered, setIsSubmitTriggered] = useState(false);\n const base64Decoded = Buffer.from(queryString.q, 'base64').toString('utf-8');\n const params = new URLSearchParams(base64Decoded);\n useEffect(() => {\n let prevData = sessionStorage.getItem('previousData');\n if (!prevData) {\n sessionStorage.setItem('previousData', queryString.q);\n }\n if (prevData !== queryString.q && prevData !== null) {\n setLoader(false);\n setIsLinkExpired(true);\n } else {\n if (decodeURIComponent(params.get('email')) && decodeURIComponent(params.get('oldPassword'))) {\n setEmail(decodeURIComponent(params.get('email')));\n setFirstName(decodeURIComponent(params.get('firstname')));\n setLastName(decodeURIComponent(params.get('lastname')));\n setPhone(decodeURIComponent(params.get('phone')));\n setUuid(decodeURIComponent(params.get('code')));\n }\n }\n }, [location]);\n\n useEffect(() => {\n // Check if uuid is a non-empty string\n if (uuid != '' && uuid != 'null') {\n linkExpiryFunction(uuid);\n } else {\n setLoader(false);\n setIsLinkExpired(true);\n }\n }, [uuid]);\n\n useEffect(() => {\n if (countdown > 0) {\n const timerId = setInterval(() => {\n setCountdown((prevCountdown) => prevCountdown - 1);\n }, 1000);\n return () => clearInterval(timerId);\n } else {\n setIsButtonDisabled(false);\n }\n }, [countdown]);\n\n const linkExpiryFunction = async (id) => {\n try {\n setLoader(true);\n const res = await AuthService.getLinkStatus(id);\n if (res?.isSuccesfully && res?.data?.statusCode !== 5002) {\n setIsLinkExpired(true);\n } else {\n setIsLinkExpired(false);\n }\n } catch (error) {\n console.error('Error in linkExpiryFunction:', error);\n }\n setLoader(false);\n };\n\n const sendOTPFunction = async (email) => {\n try {\n setIsButtonDisabled(true);\n setVerificationTxt(true);\n const response = await AuthService.updateOtpLinkStatus({\n uuid: uuid\n });\n if (response.isSuccesfully && response.data.statusCode === 5001) {\n setOtpMaxLimit(true);\n setIsLinkExpired(true);\n setIsButtonDisabled(true);\n } else if (response.isSuccesfully && response.data.statusCode === 6001) {\n setSnackbar({ type: 'error', message: ErrorCodes.OTP_MESSAGE_LIMIT_EXCEEDED.message });\n setIsButtonDisabled(false);\n } else {\n setOtpMaxLimit(false);\n try {\n await Auth.forgotPassword(email, {\n portalURL: globalState.reseller?.portalURL,\n externalSignupForm: '1'\n });\n await AuthService.updateOtpLinkStatus({\n uuid: uuid,\n otpGenerated: 'true'\n });\n setSnackbar({ type: 'success', message: statusCodes.RESEND_EMAIL_VERIFICATION_CODE });\n setCountdown(60);\n } catch (err) {\n setIsButtonDisabled(false);\n setSnackbar({ type: 'error', message: ErrorCodes.OTP_MESSAGE_LIMIT_EXCEEDED.message });\n }\n }\n } catch (error) {\n console.error('Error in sendOTPFunction:', error);\n setIsButtonDisabled(false);\n setSnackbar({ type: 'error', message: ErrorCodes.OTP_MESSAGE_LIMIT_EXCEEDED.message });\n }\n };\n\n const completeVerification = async (email) => {\n try {\n await Auth.forgotPasswordSubmit(email, verificationCode, password);\n await AuthService.updateChangePasswordTime({ email });\n return true;\n } catch (error) {\n console.error('Error in completeVerification:', error);\n setSnackbar({ type: 'error', message: ErrorCodes.INCOMPLETE_VERIFICATION_PROCESS.message });\n return false;\n }\n };\n\n const handleSubmit = async (event) => {\n event.preventDefault();\n event.stopPropagation();\n setIsSubmitTriggered(true);\n setLoader(true);\n try {\n const isVerified = await completeVerification(email);\n if (isVerified) {\n const user = await Auth.signIn({ username: email, password: password });\n sessionStorage.setItem('signUp', true);\n const userDetails = await UserService.getUserByCognitoUserName(user.attributes.sub);\n localStorage.setItem('selectedLanguage', locale);\n localStorage.setItem('user', JSON.stringify(userDetails.user));\n setGlobalState({ ...globalState, user: userDetails.user });\n setRoute('/home');\n await UserService.updateUserDetails({ email: email });\n await AuthService.updateOtpLinkStatus({\n uuid: uuid,\n linkStatus: '1'\n });\n } else {\n setSnackbar({ type: 'error', message: ErrorCodes.INVALID_VERIFICATION_CODE.message });\n }\n } catch (error) {\n event.preventDefault();\n event.stopPropagation();\n console.error('Error in handleSubmit:', error);\n setSnackbar({ type: 'error', message: ErrorCodes.INCOMPLETE_SIGNUP_PROCESS.message });\n }\n setLoader(false);\n };\n\n return (\n \n );\n}\n\nexport default ExternalSignUpForm;\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"merchantContent\":\"content_merchantContent__1Ve05\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"businessHierarchy\":\"business_businessHierarchy__3hd44\",\"itemBusiness\":\"business_itemBusiness__3_A4t\"};","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAWQAAAFkBqp2phgAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAGUSURBVDiNjZM/T1phFMZ/571X2tDL0BIcW61OYtJ07dBBZeED8AW0qSYmbUJcHBwcnJoQQlsW2g/AF2hKYHHo1qSDuGmMs04XSOH+OQ5wFeFifJKTvDnv8zznnLzvESawVHVXFbZCZUOQBQBFL4zQFKid7aROxvkSHbJ1TfSuOyWUbcBMGo8QoFSTGafYLsjg1iBb10T3qvNLYG2G8D6EVjLt5NsFGRiA3nWnFCd+Yg1jCsp676rzBUCWqu5qqPwDpqhH720A9o/92HGskDd2GPIBmRYDPJuTuHQEy7d004iw8RDrIYhKzlZ4GSWe2nDwzr6t/HZ++Bjl9TkAup5y+Mfn/91Erwygj62oOozxlLz+7rYVVuIEUeVPLW+W54kBGo/tIKal38aE1IAg7r7rKV1v5oRBYMlPAVj85lYQdicZ0Sfqx9iLUD7fSX02AMmMU0RoTZL6QbwYaD43zh6MlqZdkEEy7eSByqxxRvBFKL+wnPzfj+LB2DZGWP7qZn1LN0UlByyM0hegjcDIj8vt1Ok4/wangYH/cdJ/WwAAAABJRU5ErkJggg==\"","import React from 'react';\nimport styles from './signup-form.module.scss';\nimport { Form } from 'react-bootstrap';\nimport { Link } from 'react-router-dom';\nimport PropTypes from 'prop-types';\nimport { Button, Grid, makeStyles } from '@material-ui/core';\nimport { useGlobalStateContext } from 'contexts';\nimport { PasswordValidation, SnackBarAndAlert, ValidEmailInput, PasswordInput, CustomLoadingScreen } from 'components';\nimport PhoneInput from 'react-phone-input-2';\nimport 'react-phone-input-2/lib/bootstrap.css';\nimport { REACT_APP_ERROR_IMAGE } from 'utils/constants';\nimport { checkEmptyValue } from 'validators/onboarding/onboarding-check-value.validator';\nfunction SignUpComponent(props) {\n const { getRoute, globalState, setRoute } = useGlobalStateContext();\n const {\n onSubmit,\n email,\n setEmail,\n password,\n setPassword,\n confirmPassword,\n setConfirmPassword,\n firstName,\n setFirstName,\n lastName,\n setLastName,\n forceChangePassword,\n phone,\n setPhone,\n isT2SUser,\n setIsPasswordValid,\n isPasswordValid,\n setPhoneCountryIdentificator,\n redoPasswordValidation,\n setRedoPasswordValidation,\n verificationCode,\n setVerificationCode,\n isLinkExpired,\n loader,\n snackbar,\n setSnackbar,\n sendOTPFunction,\n isButtonDisabled,\n countdown,\n isSubmitTriggered\n } = props;\n\n const useStyles = makeStyles((theme) => ({\n disabledInput: {\n color: theme.palette.text.primary,\n backgroundColor: 'Gainsboro',\n border: '1px solid LightGray',\n borderRadius: '5px',\n fontWeight: '600',\n userSelect: 'none'\n }\n }));\n const inputStyle = {\n backgroundColor: '#f0f0f0', // Your desired background color\n borderRadius: '4px',\n border: '1px solid #ccc'\n };\n\n const classes = useStyles();\n\n return (\n
    \n {loader ? (\n
    \n \n
    \n ) : isLinkExpired ? (\n
    \n
    \n \"Logo\"\n
    \n
    \n
    \n
    \n \"Image\n
    \n

    Sign-up link has expired

    \n
    \n For assistance, please reach out to our support team at{' '}\n \n info@datman.je.\n \n
    \n
    \n
    \n
    setRoute('/terms-and-conditions')}>Terms and conditions
    \n
    © Datman. All rights reserved
    \n
    \n
    \n
    \n ) : (\n <>\n
    \n \"Logo\"\n
    \n
    \n
    \n \n \n First name*\n setFirstName(e.target.value)}\n required\n placeholder=\"First name\"\n autoFocus={true}\n disabled\n className={styles.formControl}\n />\n \n \n Last name*\n setLastName(e.target.value)}\n required\n placeholder=\"Last name\"\n disabled={true}\n className={styles.formControl}\n />\n \n \n \n setEmail(e.target.value.toLowerCase().replace(/ /g, ''))}\n onKeyPress={(e) => {\n if (e.key === ' ') {\n e.preventDefault();\n }\n }}\n required\n readOnly={forceChangePassword}\n type=\"email\"\n placeholder=\"Email\"\n name=\"email\"\n disabled\n classes={{ disabled: classes.disabledInput }}\n noClassname={true}\n />\n \n \n sendOTPFunction(email)}\n fullWidth\n >\n {isButtonDisabled ? `${countdown} s` : 'Get OTP'}\n \n \n \n\n \n Phone number *\n
    \n
    \n {\n setPhone(phone);\n setPhoneCountryIdentificator(data.dialCode);\n }}\n inputClass={styles.phoneInput}\n inputStyle={inputStyle}\n inputProps={{ required: isT2SUser }}\n name=\"phone\"\n countryCodeEditable={false}\n disabled={true}\n />\n
    \n
    \n
    \n\n \n Verification Code *\n {\n const value = e.target.value;\n const numbers = value.replace(/[^0-9]/g, '');\n setVerificationCode(numbers);\n }}\n inputClass={styles.phoneInput}\n name=\"otp\"\n />\n \n\n \n Password*\n \n \n \n {\n setPassword(value);\n setRedoPasswordValidation(true);\n }}\n required\n minLength=\"8\"\n pattern=\"(?=.*\\d)(?=.*[a-zA-Z]).{8,}\"\n title=\"Password must contain at least 8 characters including a number and a letter\"\n type=\"password\"\n placeholder=\"Password\"\n />\n \n \n Confirm password*\n {\n setConfirmPassword(value);\n setRedoPasswordValidation(true);\n }}\n type=\"password\"\n placeholder=\"Confirm password\"\n />\n \n
    \n setSnackbar({ type: '', message: '' })}\n type={snackbar.type}\n >\n {snackbar.message}\n \n\n
    \n \n Complete verification\n \n
    \n \n \n Do you already have an account? Log in\n \n \n \n
    \n \n )}\n
    \n );\n}\n\nSignUpComponent.propTypes = {\n onSubmit: PropTypes.func,\n email: PropTypes.string,\n setEmail: PropTypes.func,\n password: PropTypes.string,\n messages: PropTypes.object,\n setPassword: PropTypes.func,\n confirmPassword: PropTypes.string,\n setConfirmPassword: PropTypes.func,\n verifyEmail: PropTypes.bool,\n setVerifyEmail: PropTypes.func,\n firstName: PropTypes.string,\n setFirstName: PropTypes.func,\n lastName: PropTypes.string,\n setLastName: PropTypes.func,\n isLoading: PropTypes.bool,\n forceChangePassword: PropTypes.bool,\n oldPassword: PropTypes.string,\n setOldPassword: PropTypes.func,\n successSignupInvite: PropTypes.bool,\n setSuccessSignupInvite: PropTypes.func,\n isUserInvited: PropTypes.bool,\n phone: PropTypes.string,\n setPhone: PropTypes.func,\n isT2SUser: PropTypes.bool,\n isPasswordValid: PropTypes.bool,\n setIsPasswordValid: PropTypes.func,\n isPhoneValid: PropTypes.bool,\n setPhoneCountryIdentificator: PropTypes.string,\n redoPasswordValidation: PropTypes.bool\n};\n\nexport default SignUpComponent;\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"clientCreationTitle\":\"modal-client-creation_clientCreationTitle__2ZSrs\",\"modalContainer\":\"modal-client-creation_modalContainer__3n5sn\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"merchantCreationTitle\":\"modal-merchant-creation_merchantCreationTitle__osdY0\",\"modalContainer\":\"modal-merchant-creation_modalContainer__2ZH-M\"};","module.exports = __webpack_public_path__ + \"static/media/google.298bf198.png\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAAaVBMVEU6VZ////81Up0yT5xgc61+jbsvTZyXo8hFXaOirM0nSJmlrs7O1OUkRpkfQ5c1UZ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UL9ECLs0R8aFUYEFLSeAgAAAABJRU5ErkJggg==\"","// extracted by mini-css-extract-plugin\nmodule.exports = {\"formItem\":\"form-item_formItem__1Ds43\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"postCodeSearchResultBuilding\":\"post-code-selector_postCodeSearchResultBuilding__3VRF3\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"stepper\":\"onboarding-steps_stepper__3pmsP\",\"missingDetailMessage\":\"onboarding-steps_missingDetailMessage__1U32J\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"tabsDiv\":\"filter-tabs_tabsDiv__2PJt5\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"chipCard\":\"gift-card-lable-chip_chipCard__19eZp\"};","module.exports = __webpack_public_path__ + \"static/media/omni-pay.07c02ee1.png\";","module.exports = __webpack_public_path__ + \"static/media/datman.3bd47205.png\";","module.exports = __webpack_public_path__ + \"static/media/paidImage.b63e6caa.png\";","// extracted by mini-css-extract-plugin\nmodule.exports = {\"requestAmountButton\":\"modal-email-form_requestAmountButton__3CGOt\"};","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGUAAABSCAMAAAB63eroAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABdFBMVEX////////c4Obc4en02Ou5y9jU3ubX3uTo4+fq7OzW3+f09fXW3+W2tLPGyMG+vbvLzseztLT8+/v5+Pirq6vJysrNzs/U3ubYxuTQw965r8jdzerFvtjCttDg0vDY1O+1tcvVz+rJxt+7u9LBx93OzOW3wtbQ1OzEy+G8yty9zN+ksMCuuMvAz+LK2O3L3e7B1OTN4vKyxNK1yNXP5/S4zdfI4OzC2eWvwc7L4+3V7/rS6/fG3enZ9P2+1N/N4OTqz/CwrMLG0uaptcayvdCsvcu6xtnE1dzQ5era8PPC0tbG2Om60Nzh9/q5xcnK2+PV5ufg8vCoormYnK+dqbixvsTZ6+zo+f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6MDAFXAi8AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAABJRU5ErkJggg==\"","module.exports = __webpack_public_path__ + \"static/media/discover.3a4c51a2.png\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPoAAADDCAQAAAABkMTTAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElNRQfjCwoOMSnKGKAtAAAZNklEQVR42u2deYBO1f/Hr21UY8sQJpQlbZJtpOx7KJV+lexfIXz5WhMT/SqKkq1EocieCqXpm/ItmchWfImyFjGWhlQIjXl9/5iZ+5y7PNs897nP89Fzzj/Mvc/5fM7nfc+953xWDS2KehyJ3EAdkmhGu+zekCRqU4GS5IsqXq09LyWpQG2SaKhz35wk6nADicRFD6eRZuAKypNEZ0YxixRS2cE+TnCcM2Rm99Mc5xi72caXLGcaw3mQaiSSNwrEl4cyVKM9TzCN5axhK7s5xnFO69yf5Tgn2McOUklhNqPoQhLlufLvCHoijRnBUrZykty0o3zNAvpTm4QIcF+cWvRjPus5mivuT7GN9xhJE679O4BemLsYxSe5FJZd289yBlLVlddnAW5hAMvY5xj3x1jF09SjyOUJejFaMIOdhKdlsJFx3MEVYeK+IHV4ng38FSb+v+cNWnH15QN6fuoxhT240TYzmpsd5v9GnmKTK9zvYyoNKCAd9BL0JRV32598xENc5QD3V/IgKznnMv/r+CclpYJehfH8TKTadwylVAjcl2QQ2yPG/RFe5iZpoFfnLc4Q6XaUsZTLBffX8ixHIs79Wd6mlhTQb+VN/iRa2nGeD2rFl+RZ0qKG+/O8zW3RDnoZJnCaaGs/8q+A1CEF6cf+qOP+dyZTNlpBz0dPDhKtbTNt/PDfkg1Ry/3P9CF/9IGexGqivS2kkhfur2cemVHO/RrqRhPoVzGG80hov9Pahv/m/CqC+wuMo1B0gF6HdUhpn1LZZgYV+Fj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SGdZnpeljdoJnyKe7Sx1S7n3MohS262V53eS39BeLuYa+NmFNT/MMq3iOSf5AL0bd7G5dVVcHdC3BNvzoPsbzDinM44nsV6CHktmfNJHmDONV3iWFJUylP3X9eLDeTD9msJIPmUE/L2bZwjTlKWbxESnMZBRtbKomFNZ58peLMp4GDGEGK0lhDuO432sNhur0Yzor+YApdKJc9rsni8rthj14Du2ifmhfRwcmsIwUZjMoe4NcJvu3dyjvrSTeYSgfZC2A/wH6H9KgVIR3ugAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxOS0xMS0xMFQxNDo0OTo0MCswMDowMHQBsAAAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTktMTEtMTBUMTQ6NDk6NDArMDA6MDAFXAi8AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAABJRU5ErkJggg==\"","module.exports = __webpack_public_path__ + \"static/media/unionpay.4bbff7ad.png\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPoAAABvCAQAAABvThVGAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElNRQfjCwoOMSpTEfGXAAAMrUlEQVR42u1dW4GrMBCNhEhAQiREAhIiAQlxgAQkICESkICESDj3g0BpS2lmJune7ZJ+7M82lDnzOPMgKPVmwSCcfgY4da3vWnB4vyLaS1LfBHqPvOUvWX0P6AG5q7mk9S2gx2zQ+0ta3wG5Rv6aLnl9B+iWADoueX0H6N0F+t8DfSBgHi95/TXuDoyXvL4DdMq6MvWvgLwhgd5eEvtz3P0qznwH6P7i7n8P9JGAebjk9R2gTwTQryLsH+Tu3SWvb4DckEC3l8R+X3Jmnz4dDfSXH/NwLX3yv0//nfXLO3h4eHS8DAIGDh4jAgJmALN0GuhQnq8/ukimlf1ZvzKg3grEnCBieA8eNBzGp8avJ0LTvSCrD34Ljqa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aVrA0thuQeXQLMImBarH8Zl1YKPeKdqwu7qtBihUEpdAhKYUy+wa0PFUE/zeQMu4Ei/1D+WGy+UQoh/cYBfq8WD0ocMSi1We0CqU/fNGn/Gf3dLPqqCDr9Dq0URnilMN0xjvANkO/nLHxy7i6lUosAIiZM0NAL4YIB0kiOTydMBYSVdWLYGnzDJraYdt7YAeyT8Oxuxs4qhYAuzehYpRYYb6wBE7qdow0P4Wp6emy5W38humWgM6n0tF4DDfQ66rk6dAQ4NPcDoJVy9E9CrhR8itg+CSO54E3MET0axHX2ag0EGJWCP3jz4JRgceiUwoz2JjZMmz/QiHdPfIz75n/6X7+jVstvM8neNQAD/+Jo/ZWZ3OW+a2DBmKw4wi6h4Dkz2d1nc5+vVOLun4VcKQxr1xURIxx8im+3CNguEMAgJhcZlhICbIqWu+LKOr+JHgM0AI12Fe06obm5+rvnR2ARELdrzEDyIWYJKEqhSwq6UMgOEzQadPcd402x+g1yu6jtBnqTRiIX/hEwY1JqCwA2Xc0A6OARb6BU4O4/Md8Cd8QZ0aycGCEBMsIqlexs2px5l0hPe/vergJsEdDfBo9h7zJeixHhNm4MjQkDYprcXrKJJdR0KTx0yUUvOYJOcT/uCxow9wkmWmiloI+ZMSwCAkaY1TcphTZdTcPCoNkPgRbn7tMv6IGhQ7vQuWoMQ1ibq1vLL8zdx1/RA0OHgP7vtusKcvcPuvV/d4F8rab2DPsAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTktMTEtMTBUMTQ6NDk6NDArMDA6MDB0AbAAAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE5LTExLTEwVDE0OjQ5OjQwKzAwOjAwBVwIvAAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAASUVORK5CYII=\"","// extracted by mini-css-extract-plugin\nmodule.exports = {\"SpanStyles\":\"modal-remove-member_SpanStyles__10wA5\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"modalConfirmation\":\"modal-acquirer-filter_modalConfirmation__YVEGS\",\"modalDialog\":\"modal-acquirer-filter_modalDialog__1MVii\",\"modalHeader\":\"modal-acquirer-filter_modalHeader__3KIeL\",\"modalBody\":\"modal-acquirer-filter_modalBody__3oYo2\",\"text\":\"modal-acquirer-filter_text__1BEF8\",\"menuItem\":\"modal-acquirer-filter_menuItem__2FWS0\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"inputMerchantStoreId\":\"add-merchant-id_inputMerchantStoreId__2YBgs\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"inputRefund\":\"process-refund_inputRefund__116GM\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"inputMerchantStoreId\":\"merchnat-store-id_inputMerchantStoreId__2ejQx\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"snackbar-and-alert_container__2YK0l\",\"container_title\":\"snackbar-and-alert_container_title__3vm_N\",\"codeInput\":\"snackbar-and-alert_codeInput__2eE2L\",\"errorContainer\":\"snackbar-and-alert_errorContainer__2qiIF\",\"itemForm\":\"snackbar-and-alert_itemForm__26xOI\",\"alertMessage\":\"snackbar-and-alert_alertMessage__376hA\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"inputMessage\":\"url-input-field_inputMessage__EFYpV\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"inputRefund\":\"charging-set-up-fees_inputRefund__Evn6K\"};","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABmJLR0QA/wD/AP+gvaeTAAABR0lEQVRoge2YwU7CQBCGP30HG03o0fDupOEm3sUbnOTgU3AAHwAPHUklW2TL/h2N8yUNTRm+yex2y3Yg+F3UQAPsgUPmsQfmwNTLXwPbAeLTYwtMHPw0FvDUF/ADE2BhjpmD/zitQ+Rf1ObYOfiPU3QtfR6J/7aA0JUowJsowJsowJsowJsowJtuAR/2ee1mC9KbLbWfOe0madEJzJU/m6Nx8DOl3AvHo4MfaKd3RjtFueKdjUyvfAR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z0uIf1Q48hN3NtQit24WuA/XQZgWKtGG9hP6hR9IQ+gKiv/HqyRKBwOz6hPD9ei4OpagQn5lP3IQ5HlH/wN6M3/dlGyFVgAAAABJRU5ErkJggg==\"","// extracted by mini-css-extract-plugin\nmodule.exports = {\"agentFilter\":\"modal-filter-pdq-merchants_agentFilter__VPOjS\",\"statusFilterDiv\":\"modal-filter-pdq-merchants_statusFilterDiv__1bNk0\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"notificationMessageContainer\":\"valid-email-input_notificationMessageContainer__Ys600\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"autoWithdrawalStyle\":\"withdrawal_autoWithdrawalStyle__8xxHZ\",\"autoWithdrawalContainer\":\"withdrawal_autoWithdrawalContainer__23tQO\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"profileCard\":\"profile_profileCard__3nSIG\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"paymentsContainer\":\"payments_paymentsContainer__2Hex4\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"chargebacks_container__2_XWD\",\"merchantListContainer\":\"chargebacks_merchantListContainer__3l7hR\",\"merchantDashBoardMenu\":\"chargebacks_merchantDashBoardMenu__1pzeL\",\"chargebackContainer\":\"chargebacks_chargebackContainer__3Bh4t\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"merchantChargesContainer\":\"merchant-charges_merchantChargesContainer__1XsXU\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"internalTransfersContainer\":\"internal-transfers_internalTransfersContainer__3GWdt\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"payoutsContainer\":\"payouts_payoutsContainer__3Lhjn\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"gfoPaymentsContainer\":\"gfo-payments_gfoPaymentsContainer__3FfV_\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"pdqsContainer\":\"pdq-transactions_pdqsContainer__3Yy8i\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"alertError\":\"login_alertError__3NhE9\",\"loading\":\"login_loading__2J6wy\",\"homeLogo\":\"login_homeLogo__qCmWK\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"homeLogo\":\"signup_homeLogo__Q6Kqw\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"homeLogo\":\"reset-password_homeLogo__1Orw1\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"homeLogo\":\"request-support-form_homeLogo__3xaJ7\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"alertError\":\"link-qr_alertError__YPtkc\",\"loading\":\"link-qr_loading__2g9bb\",\"homeLogo\":\"link-qr_homeLogo__XvPl0\"};","module.exports = __webpack_public_path__ + \"static/media/maintenance.16827300.svg\";","// extracted by mini-css-extract-plugin\nmodule.exports = {\"homeLogo\":\"signup_homeLogo__QqwBl\"};","import React from 'react';\nimport { Redirect, Route } from 'react-router-dom';\nimport { useGlobalStateContext } from 'contexts';\nimport { AuthService } from 'services';\nimport { UNDERMAINTAINANCE } from 'utils/constants';\n\nexport default function LoggedRoute({ ...rest }) {\n const { getRoute, globalState } = useGlobalStateContext();\n\n if (UNDERMAINTAINANCE && globalState.customDomain) {\n return ;\n }\n\n if (!AuthService.isLoggedUser()) {\n return ;\n }\n\n return ;\n}\n","import React from 'react';\nimport { useGlobalStateContext } from 'contexts';\nimport { UserType } from 'utils/enums/UserType';\nimport { ResellerType } from 'utils/enums/ResellerType';\nimport LoggedRoute from './logged-route';\n\nexport default function RoutingManager(props, { ...rest }) {\n const { globalState } = useGlobalStateContext();\n const isReseller = globalState.user?.UserType?.name === UserType.Reseller;\n const datmanReseller = globalState.reseller?.id === ResellerType.DATMAN;\n const resellerComponent = datmanReseller && isReseller ? props.resellerComponent : props.pdqComponent;\n\n return (\n \n );\n}\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Grid } from '@material-ui/core';\nimport { PaymentAction } from 'components';\nimport { PaymentType } from '../../utils/enums/PaymentType';\nimport styles from './withdrawal.module.scss';\nimport { CheckMerchantCountries } from '../../components/onboarding/onboarding-ui-components/check-merchant-countries/check-merchant-countries';\nimport { MerchantCountries } from '../../utils/enums/MerchantCountries';\n\nfunction WithdrawalComponent(props) {\n const { show, setShow } = props;\n\n return (\n \n \n \n \n \n \n \n );\n}\n\nWithdrawalComponent.propTypes = {\n show: PropTypes.bool,\n setShow: PropTypes.func\n};\n\nexport default WithdrawalComponent;\n","import React, { useState } from 'react';\nimport WithdrawalComponent from './withdrawal.component';\n\nfunction WithdrawalContainer() {\n const [show, setShow] = useState(false);\n\n return ;\n}\n\nexport default WithdrawalContainer;\n","export const bannerMessage = {\n CLOSED_MERCHANT_ACCOUNT: 'This account has been closed'\n};\n","import React from 'react';\nimport { Grid, Button, Dialog, DialogActions } from '@material-ui/core';\nimport { LoadingScreen } from 'components';\nimport styles from './adyen-accept-TOS.module.scss';\n\nconst ModalAcceptTOS = (props) => {\n const { openTOSModal, handleCancleClick, viewerRef, checked, setChecked, loading, acceptTermsAndConditon } = props;\n\n return (\n \n {loading ? (\n \n ) : (\n \n \n
    \n\n \n
    \n \n
    \n
    \n \n \n \n acceptTermsAndConditon()}\n color=\"primary\"\n disabled={!checked}\n >\n Accept t&c\n \n \n \n )}\n
    \n );\n};\n\nModalAcceptTOS.propTypes = {};\nexport default ModalAcceptTOS;\n","import React, { useEffect, useRef, useState } from 'react';\nimport { useGlobalStateContext } from 'contexts';\nimport ModalAcceptTOS from './adyen-accept-TOS.component';\nimport AdyenDocumentViewer from '@adyen/adyen-document-viewer';\nimport '@adyen/adyen-document-viewer/dist/adyen-document-viewer.min.css';\nimport { AdyenService } from 'services';\n\nfunction AdyenAcceptTOSModal(props) {\n const {\n openTOSModal,\n setOpenTOSModal,\n documentBase64,\n serviceDocumentId,\n loadTOSModal,\n setTermsOfServiceTypes\n } = props;\n const { globalState } = useGlobalStateContext();\n const viewerRef = useRef(null);\n const [checked, setChecked] = useState(false);\n\n useEffect(() => {\n if (openTOSModal && documentBase64) {\n // Ensure the viewerRef is populated before initializing the document viewer\n const initializeDocumentViewer = () => {\n if (viewerRef.current) {\n const base64STR = atob(documentBase64);\n const parsedData = JSON.parse(base64STR);\n\n const newDocumentViewer = new AdyenDocumentViewer(viewerRef.current, {\n onExpandSection: (sectionTitle) => console.log(`${sectionTitle} expanded`),\n multiple: false\n });\n\n newDocumentViewer.render(parsedData);\n }\n };\n\n // Use requestAnimationFrame to wait for the next render cycle\n requestAnimationFrame(initializeDocumentViewer);\n }\n }, [documentBase64, openTOSModal]);\n\n const acceptTermsAndConditon = async () => {\n setOpenTOSModal(false);\n const merchantId = globalState.merchant.id;\n const data = {\n termsOfServiceDocumentId: serviceDocumentId\n };\n const response = await AdyenService.adyenAcceptedTermsAndConditon(merchantId, data);\n if (response.isSuccesfully) {\n const data = await AdyenService.adyenGetTOSTypes(merchantId);\n if (data.isSuccesfully) {\n setTermsOfServiceTypes([]);\n }\n }\n };\n\n const handleCancleClick = async () => {\n setOpenTOSModal(false);\n };\n\n return (\n \n );\n}\n\nexport default AdyenAcceptTOSModal;\n","import moment from 'moment-timezone';\n\nimport React from 'react';\nimport {\n MerchantDashboardOptions,\n MerchantDashboardPreview,\n BalanceCard,\n PayoutCard,\n LoadingScreen,\n SnackBarAndAlert,\n ModalFormConfirmation,\n Banner\n} from 'components';\nimport WithdrawalContainer from '../withdrawal/withdrawal.container';\nimport { MerchantCountries } from '../../utils/enums/MerchantCountries';\nimport style from './dashboard.module.scss';\nimport { useGlobalStateContext } from 'contexts';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport { ErrorOutline } from '@material-ui/icons';\nimport PropTypes from 'prop-types';\nimport { Grid, Typography, useMediaQuery, Link } from '@material-ui/core';\nimport { PaymentsListTable } from 'components/payments/transaction-tables';\nimport { ResellerType } from 'utils/enums/ResellerType';\nimport CheckCircleIcon from '@material-ui/icons/CheckCircle';\nimport { green } from '@material-ui/core/colors';\nimport { UserType } from 'utils/enums/UserType';\nimport { CheckMerchantCountries } from '../../components/onboarding/onboarding-ui-components/check-merchant-countries/check-merchant-countries';\nimport { DocumentStatusToName } from 'utils/enums/DocumentReviewStatus';\nimport { DocumentTypesToName } from 'utils/enums/DocumentType';\nimport InfoOutlinedIcon from '@material-ui/icons/InfoOutlined';\nimport { cleverTapClick } from 'utils/helper';\nimport { AnalyticsData } from 'components';\nimport { bannerMessage } from 'utils/banner-message';\nimport _ from 'lodash';\nimport AdyenAcceptTOSModal from 'pages/adyedAcceptTOSModal/adyen-accept-TOS.container';\n\nfunction DashboardComponent(props) {\n const { globalState, setGlobalState, setRoute } = useGlobalStateContext();\n const areLoadedMerchants = globalState.areLoadedMerchants;\n const merchantStatus = globalState.merchant?.status;\n const {\n isVerifiedBank,\n businessType,\n error,\n loading,\n payments,\n total,\n dateFormat,\n bankUpload,\n accountUpdated,\n querySubmitted,\n setQuerySubmitted,\n sendVerificationEmail,\n showMessage,\n setShowMessage,\n verificationEmailMessage,\n messageType,\n enableAutoWithdrawals,\n errorMessage,\n setErrorMessage,\n openModal,\n setOpenModal,\n pageLoading,\n bankDocStatus,\n accountDocStatus,\n rejectedDoc,\n nextPayoutDay,\n snackbar,\n userHasSeenSnackbar,\n openAdyen,\n setOpenAdyen,\n getBalancePlatformOnboardingUrl,\n adyenAccount,\n termsOfServiceTypes,\n handleTOSDocuments,\n openTOSModal,\n setOpenTOSModal,\n documentBase64,\n serviceDocumentId,\n loadTOSModal,\n setTermsOfServiceTypes,\n bannerLoader\n } = props;\n const mediaLessThan450px = useMediaQuery('(max-width:449px)');\n const mediaLessThan650px = useMediaQuery('(max-width:649px)');\n const datmanMerchant = globalState.reseller?.name === ResellerType.DATMAN;\n const isEmailConfirmed = globalState?.user?.isEmailConfirmed;\n const userEmail = globalState?.user?.email;\n const isAdmin =\n globalState.user?.UserType?.name === UserType.Admin || globalState.user?.UserType?.name === UserType.SuperAdmin;\n const isMerchant = globalState.user?.UserType?.name === UserType.Merchant;\n const autoWithdrawStatus = globalState.merchant?.autoWithdraw && globalState.reseller?.id === 2;\n const isUkMerchant = globalState.merchant?.country === MerchantCountries.UNITED_KINGDOM;\n const passwordAge = moment().diff(moment(globalState.user.updatedPasswordAt), 'days');\n const passwordExpiryDate = moment(globalState.user.updatedPasswordAt).add(90, 'days').format('DD-MM-YYYY');\n const passwordExpiryBannerVisibility = 75; // After 75 days of last password update we will show the banner\n const isMerchantAccountClosed = merchantStatus === MerchantStatus.CLOSED;\n\n const calculateFontSize = (balanceLength) => {\n let fontSizeBalance =\n balanceLength < 6\n ? 40\n : 40 -\n (balanceLength < 8\n ? (balanceLength - 5) * 4\n : balanceLength < 10\n ? 8 + (balanceLength - 7) * 3\n : balanceLength < 13\n ? 14 + (balanceLength - 9) * 2\n : 20 + balanceLength - 12);\n\n if (mediaLessThan450px) {\n fontSizeBalance = fontSizeBalance < 37 ? fontSizeBalance + 3 : 40;\n } else if (mediaLessThan650px) {\n fontSizeBalance = fontSizeBalance < 30 ? fontSizeBalance + 10 : 40;\n }\n\n return {\n fontSize: fontSizeBalance\n };\n };\n\n const showBanner =\n (datmanMerchant &&\n !isVerifiedBank &&\n !pageLoading &&\n (bankDocStatus === DocumentStatusToName.NEED_APPROVAL ||\n accountDocStatus === DocumentStatusToName.NEED_APPROVAL ||\n bankDocStatus === DocumentStatusToName.REJECTED ||\n accountDocStatus === DocumentStatusToName.REJECTED)) ||\n (autoWithdrawStatus && !isVerifiedBank && datmanMerchant && isUkMerchant) ||\n (!autoWithdrawStatus &&\n datmanMerchant &&\n isMerchant &&\n globalState.merchant?.status !== MerchantStatus.WATCHLIST &&\n isUkMerchant) ||\n !isEmailConfirmed ||\n passwordAge >= passwordExpiryBannerVisibility ||\n (globalState.merchant?.isAdyenBalancePlatformAccount && !globalState.merchant?.isAllCapabilitiesAllowed);\n\n return (\n
    \n {areLoadedMerchants && (\n \n {isMerchantAccountClosed && }\n {merchantStatus !== MerchantStatus.ACTIVE && merchantStatus !== MerchantStatus.WATCHLIST ? (\n \n \n \n \n \n \n \n \n ) : (\n \n \n \n \n {isAdmin && datmanMerchant && (\n \n \n \n )}\n {/* \n \n */}\n {!pageLoading && (\n <>\n {bankUpload && (\n
    \n
    \n \n
    \n \n \n
    \n Your Update Bank Details request has been submitted. This\n process can take up to 14 days.. \n
    \n
    \n
    \n
    \n )}\n {accountUpdated && (\n
    \n
    \n \n
    \n \n
    \n Your 'Update Account Details' request has been submitted. This\n process can take up to 14 days. \n
    \n
    \n
    \n )}\n {showBanner && !bannerLoader && (\n
    \n {passwordAge >= passwordExpiryBannerVisibility && (\n
    \n
    \n \n
    \n \n
    \n Your password will expire on {passwordExpiryDate}, please{' '}\n setRoute('/update-password')}\n >\n update your password.\n \n  \n
    \n
    \n
    \n )}\n {datmanMerchant && !isVerifiedBank && !pageLoading && (\n <>\n {(bankDocStatus === DocumentStatusToName.NEED_APPROVAL ||\n accountDocStatus === DocumentStatusToName.NEED_APPROVAL) && (\n
    \n
    \n \n
    \n \n \n
    \n We’ve received your documents for verification.\n Our team will review and verify the documents.\n
    \n
    \n
    \n
    \n )}\n {(accountDocStatus === DocumentStatusToName.REJECTED ||\n bankDocStatus === DocumentStatusToName.REJECTED) && (\n
    \n
    \n \n
    \n \n
    \n Your account is not yet fully verified, please\n upload the correct{' '}\n {rejectedDoc.map((doc, index) => {\n return `${DocumentTypesToName[doc]}${\n rejectedDoc.length - 1 === index\n ? '.'\n : rejectedDoc.length - 2 === index\n ? ' and '\n : ', '\n }`;\n })}\n  \n \n setRoute('/upload-documents', {\n businessType: businessType\n })\n }\n >\n Click here\n \n
    \n
    \n
    \n )}\n \n )}\n {autoWithdrawStatus && !isVerifiedBank && datmanMerchant && (\n \n
    \n
    \n \n
    \n \n \n
    \n You have automatic payouts enabled. Once your\n accounts is verified, available funds will be sent\n to your account on {nextPayoutDay}\n
    \n
    \n
    \n
    \n \n )}\n {!isEmailConfirmed && (\n
    \n
    \n \n
    \n \n The email \n \n {userEmail}\n \n {' is not verified. Click '}\n \n here\n \n {' to receive verification email.'}\n \n
    \n )}\n {!autoWithdrawStatus &&\n datmanMerchant &&\n isMerchant &&\n globalState.merchant?.status !== MerchantStatus.WATCHLIST && (\n \n \n
    \n \n
    \n \n \n
    \n Click \n setOpenModal(true)}\n >\n here\n \n  to enable the auto withdrawals.\n
    \n
    \n
    \n
    \n \n )}\n\n {globalState.merchant?.isAdyenBalancePlatformAccount &&\n !globalState.merchant?.isAllCapabilitiesAllowed &&\n !_.isEmpty(termsOfServiceTypes) &&\n termsOfServiceTypes.length > 0 && (\n \n
    \n
    \n \n
    \n \n \n
    \n handleTOSDocuments()}\n className={style.click__here}\n >\n Click here\n {' '}\n to accept the terms and conditions.\n
    \n
    \n
    \n
    \n
    \n )}\n \n )}\n \n )}\n\n {autoWithdrawStatus && isVerifiedBank && datmanMerchant && (\n \n \n \n \n
    \n You have automatic Payouts enabled, available funds will be paid to\n you {nextPayoutDay}\n
    \n
    \n
    \n \n
    \n )}\n
    \n \n
    \n
    \n Payments\n {\n setRoute(`/payments/day/${dateFormat}`);\n cleverTapClick('See_all_click', globalState, {});\n }}\n >\n See all\n \n
    \n \n
    \n\n {datmanMerchant && (\n
    \n \n \n {/* */}\n
    \n )}\n
    \n
    \n \n )}\n \n )}\n \n {globalState.wasDeletedMerchantName && (\n \n setGlobalState({\n ...globalState,\n wasDeletedMerchantName: null\n })\n }\n type=\"success\"\n >\n Account {globalState.wasDeletedMerchantName} was deleted successfully.\n \n )}\n {globalState.exitFromOnboarding && (\n \n setGlobalState({\n ...globalState,\n exitFromOnboarding: false\n })\n }\n type=\"success\"\n >\n Your submission has been saved and you can complete it at a later date.\n \n )}\n {querySubmitted && (\n setQuerySubmitted(false)} type=\"success\">\n Your query has been sent to our support team. We will get back to you shortly !\n \n )}\n {showMessage && (\n setShowMessage(false)} type={messageType}>\n {verificationEmailMessage}\n \n )}\n {errorMessage && (\n setErrorMessage(null)} type=\"error\">\n {errorMessage ?

    {errorMessage}

    : ''}\n
    \n )}\n {snackbar && !userHasSeenSnackbar && (\n 0} type=\"success\">\n {snackbar}\n \n )}\n \n \n \n\n \n \n );\n}\n\nDashboardComponent.propTypes = {\n isVerifiedBank: PropTypes.bool,\n businessType: PropTypes.string,\n error: PropTypes.bool,\n loading: PropTypes.bool,\n payments: PropTypes.array,\n total: PropTypes.number,\n dateFormat: PropTypes.string,\n accountUpdated: PropTypes.bool,\n bankUpload: PropTypes.bool,\n querySubmitted: PropTypes.bool,\n setQuerySubmitted: PropTypes.func,\n accountStatus: PropTypes.string\n};\n\nexport default DashboardComponent;\n","import { useGlobalStateContext } from 'contexts';\nimport React, { useEffect, useState } from 'react';\nimport {\n BusinessDetailsService,\n PaymentsService,\n AuthService,\n NonResellerMerchantService,\n WithdrawalService,\n AdyenService\n} from 'services';\nimport DashboardComponent from './dashboard.component';\nimport moment from 'moment';\nimport { ResellerType } from 'utils/enums/ResellerType';\nimport { DocumentStatusToName } from 'utils/enums/DocumentReviewStatus';\nimport clevertap from 'clevertap-web-sdk';\nimport { UserType } from 'utils/enums/UserType';\nimport { triggerDays, MAX_PASSWORD_CHANGE_DAYS } from 'utils/enums/ChangePasswordTriggerDays';\nimport { ProductStatus } from 'utils/enums/ProductsRequired';\nimport { SnackbarMessages } from 'utils/text enums/snackbar-text';\n\nfunction Dashboard(props) {\n const { globalState, setGlobalState, setRoute } = useGlobalStateContext();\n const [isVerifiedBank, setIsVerifiedBank] = useState(false);\n const [businessType, setBusinessType] = useState('');\n const [error, setError] = useState(false);\n const [payments, setPayments] = useState([]);\n const [total, setTotal] = useState(0);\n const [dateFormat, setDateFormat] = useState(null);\n const [showMerchantCreationMessage, setShowMerchantCreationMessage] = useState(false);\n const [loading, setLoading] = useState(true);\n const [bannerLoader, setBannerLoader] = useState(true);\n const [pageLoading, setIsPageLoading] = useState(true);\n const [bankUpload, setBankUpload] = useState(false);\n const [accountUpdated, setAccountUpdated] = useState(false);\n const [querySubmitted, setQuerySubmitted] = useState(false);\n const [accountStatus, setAccountStatus] = useState('');\n const [isAutoWithdrawalEnabled, setIsAutoWithdrawalEnabled] = useState(globalState.merchant?.autoWithdraw);\n const [showMessage, setShowMessage] = useState(false);\n const [verificationEmailMessage, setVerificationEmailMessage] = useState('');\n const [messageType, setMessageType] = useState('');\n const [errorMessage, setErrorMessage] = useState('');\n const [openModal, setOpenModal] = useState(false);\n const [openAdyen, setOpenAdyen] = useState(false);\n const [openTOSModal, setOpenTOSModal] = useState(false);\n const [nextPayoutDay, setNextpayoutDay] = useState('Tuesday 5PM');\n const [bankDocStatus, setBankDocStatus] = useState('');\n const [accountDocStatus, setAccountDocStatus] = useState('');\n const [rejectedDoc, setRejectedDoc] = useState([]);\n const [snackbar, setSnackbar] = useState('');\n const [adyenAccount, setAdyenAccount] = useState({});\n const [termsOfServiceTypes, setTermsOfServiceTypes] = useState(['rse']);\n const [serviceDocumentId, setServiceDocumentId] = useState('');\n const [documentBase64, setDocumentBase64] = useState('');\n const [loadTOSModal, setLoadTOSModal] = useState(false);\n let userHasSeenSnackbar;\n\n useEffect(() => {\n // Checking if the user has already seen the Snackbar\n const userHasSeenSnackbar = localStorage.getItem('userHasSeenSnackbar');\n\n // Calculating the difference in days since the password was updated\n const diffeneceInTime = moment().diff(\n moment(globalState.user.updatedPasswordAt, 'YYYY-MM-DD HH:mm:ss'),\n 'days'\n );\n\n // Checking if the user hasn't seen the Snackbar and if the difference in days matches a trigger day\n if (!userHasSeenSnackbar && triggerDays.includes(diffeneceInTime)) {\n setSnackbar(SnackbarMessages.PASSWORD_UPCOMING_EXPIRY_MESSAGE(MAX_PASSWORD_CHANGE_DAYS - diffeneceInTime));\n\n // Setting a timeout to mark the Snackbar as seen and clear the message after a delay of 10 seconds\n const timeout = setTimeout(() => {\n localStorage.setItem('userHasSeenSnackbar', 'true');\n setSnackbar('');\n }, 10000);\n\n // Cleaning up the timeout when the component unmounts or when the effect runs again\n return () => clearTimeout(timeout);\n } else setSnackbar('');\n }, [globalState.user.updatedPasswordAt]);\n\n const getAdyenTOS = async () => {\n setBannerLoader(true);\n if (globalState.merchant?.isAdyenBalancePlatformAccount && !globalState.merchant?.isAllCapabilitiesAllowed) {\n const response = await AdyenService.adyenGetTOSTypes(globalState.merchant.id);\n if (response.isSuccesfully) {\n setBannerLoader(false);\n setTermsOfServiceTypes(response.data.termsOfServiceTypes);\n } else {\n if (response.error) {\n setErrorMessage(response?.error);\n } else {\n setErrorMessage('error');\n }\n }\n }\n };\n\n useEffect(() => {\n getAdyenTOS();\n }, []);\n\n // For adding userHasSeenSnackbar if url changes. It will help us in not showing the snackbar only once\n useEffect(() => {\n localStorage.setItem('userHasSeenSnackbar', 'true');\n // eslint-disable-next-line\n }, [window.location.href]);\n const [link, setLink] = useState('');\n\n const getBalancePlatformOnboardingUrl = async () => {\n setLoading(true);\n setOpenAdyen(false);\n const response = await AdyenService.getBalancePlatformOnboardingUrl(globalState.merchant?.id);\n if (response.isSuccesfully) {\n window.open(response.data.url);\n setLink(response.data.url);\n } else {\n setErrorMessage('An error occurred. Try again !');\n }\n setLoading(false);\n };\n\n // const getAdyenAccounts = async () => {\n // const response = await AdyenService.getAdyenAccounts(globalState.merchant?.id);\n // if (response.isSuccesfully) {\n // setAdyenAccount(response.data);\n // } else {\n // setAdyenAccount({});\n // }\n // };\n\n useEffect(() => {\n const getBankStatus = async () => {\n setLoading(true);\n setIsPageLoading(true);\n setIsAutoWithdrawalEnabled(globalState.merchant.autoWithdraw);\n const response = await BusinessDetailsService.getMerchantBusinessTypeAndBankStatus(\n globalState.merchant?.id\n );\n if (response.isSuccesfully) {\n setBusinessType(response.data.typeName);\n setIsVerifiedBank(response.data.isBankAccountVerified && response.data.isAccountVerified);\n setAccountStatus(response.data.accountStatus);\n setBankDocStatus(response.data.bankDocStatus);\n if (\n response.data.idDocStatus === DocumentStatusToName.REJECTED ||\n response.data.addressDocStatus === DocumentStatusToName.REJECTED\n ) {\n setAccountDocStatus(DocumentStatusToName.REJECTED);\n } else if (\n response.data.idDocStatus === DocumentStatusToName.NEED_APPROVAL ||\n response.data.addressDocStatus === DocumentStatusToName.NEED_APPROVAL\n ) {\n setAccountDocStatus(DocumentStatusToName.NEED_APPROVAL);\n } else {\n setAccountDocStatus(DocumentStatusToName.ACTIVE);\n }\n setRejectedDoc(response.data.rejectedDoc);\n } else {\n setIsVerifiedBank(false);\n }\n\n setLoading(false);\n setIsPageLoading(false);\n };\n\n if (globalState.merchant?.id) {\n getBankStatus();\n // getAdyenAccounts();\n }\n // eslint-disable-next-line\n }, [globalState.merchant]);\n\n useEffect(() => {\n const fetchStatus = async () => {\n let notifyCount = sessionStorage.getItem('uploadSucess');\n if (notifyCount >= 1) {\n setBankUpload(true);\n const timeout = setTimeout(() => {\n setBankUpload(false);\n }, 15000);\n sessionStorage.removeItem('uploadSucess');\n\n return () => clearTimeout(timeout);\n } else {\n sessionStorage.removeItem('uploadSucess');\n setBankUpload(false);\n }\n };\n\n if (globalState.merchant?.id && globalState.reseller?.name === ResellerType.OMNIPAY) {\n fetchStatus();\n }\n }, [globalState.merchant, globalState.reseller]);\n\n useEffect(() => {\n const fetchStatus = async () => {\n const updatedAccount = sessionStorage.getItem('accountUpdated');\n if (updatedAccount) {\n setAccountUpdated(true);\n const timeout = setTimeout(() => {\n setAccountUpdated(false);\n }, 15000);\n sessionStorage.removeItem('accountUpdated');\n return () => clearTimeout(timeout);\n }\n };\n\n if (globalState.merchant?.id && globalState.reseller?.name === ResellerType.OMNIPAY) {\n fetchStatus();\n const products = globalState.merchant?.merchantProductRequired.filter(\n (product) => product.status === ProductStatus.ACTIVE\n );\n let productsAcquired;\n if (products) {\n productsAcquired = products.map(({ productName }) => productName).toString();\n }\n const login =\n (sessionStorage.getItem('login') || sessionStorage.getItem('signUp')) &&\n globalState.user?.UserType?.name === UserType.Merchant;\n if (login) {\n sessionStorage.removeItem('login', 'signUp');\n\n clevertap.onUserLogin.push({\n Site: {\n Name: globalState.merchant.name,\n Merchant_name: globalState.merchant.name,\n Identity: globalState.merchant.id,\n Phone: globalState.merchant?.phoneNumber,\n Product_type: productsAcquired,\n Country: globalState.merchant?.country,\n // optional fields. controls whether the user will be sent email, push etc.\n 'MSG-email': true, // Enable email notifications\n 'MSG-push': true, // Enable push notifications\n 'MSG-sms': true, // Enable sms notifications\n 'MSG-whatsapp': true\n }\n });\n setLoading(false);\n }\n }\n //eslint-disable-next-line\n }, [globalState.merchant, globalState.reseller]);\n\n useEffect(() => {\n const getPaymentsList = async () => {\n const date = new Date();\n setDateFormat(moment(date).format('YYYY-MM-DD'));\n const via = 'day';\n const from = moment(date).format('YYYY-MM-DD');\n\n const paymentsList = await PaymentsService.GetPayments(globalState.merchant?.id, {\n //merchantId,\n from,\n via: via.toUpperCase()\n });\n\n if (paymentsList.isSuccesfully) {\n setPayments(paymentsList.data.payments);\n setTotal(paymentsList.data.total);\n setError(false);\n } else {\n setPayments([]);\n setError(true);\n }\n setLoading(false);\n };\n\n setLoading(true);\n\n if (globalState.merchant?.id) {\n getPaymentsList();\n }\n }, [globalState.merchant]);\n\n useEffect(() => {\n const showMessage = sessionStorage.getItem('querySubmitted');\n if (showMessage) {\n sessionStorage.removeItem('querySubmitted');\n setQuerySubmitted(true);\n }\n const getNextPayoutDay = async () => {\n const response = await WithdrawalService.getNextWithdrawalDay();\n if (response.isSuccesfully) {\n setNextpayoutDay(response?.data?.data);\n }\n };\n getNextPayoutDay();\n }, []);\n\n useEffect(() => {\n try {\n //this redirection is for linkQR only.\n //forlinkQR queryParameter will be like ?data=71068e7c-0bc8-4e66-b19f-a38331069fa6\n //for signup queryParameter will be like ?q=YToyOntzOjE6ImkiO3M6NjoiODA4NTk4IjtzOjE6ImYiO3M6MjoiTVMiO30=\n if (props.location.search && props.location.search.includes('data=')) {\n setRoute(`/linkQr${props.location.search}`);\n }\n } catch (e) {\n console.log({ e });\n }\n // eslint-disable-next-line\n }, [props.location.search]);\n\n const sendVerificationEmail = async () => {\n setLoading(true);\n const response = await AuthService.sendVerificationEmail({\n email: globalState.user.email,\n resellerUrl: globalState.reseller.portalURL\n });\n setShowMessage(true);\n if (response.isSuccesfully) {\n setMessageType('success');\n setVerificationEmailMessage('Verification email has been sent successfully. Please check inbox.');\n } else {\n setMessageType('error');\n setVerificationEmailMessage('An error occurred. Try again !');\n }\n setLoading(false);\n };\n\n const enableAutoWithdrawals = async () => {\n setOpenModal(false);\n setLoading(true);\n const data = {\n resellerId: globalState.reseller.id,\n enable: 1\n };\n setIsAutoWithdrawalEnabled(true);\n const response = await NonResellerMerchantService.enableAutoWithdrawals(globalState.merchant.id, data);\n if (!response.isSuccesfully) {\n setIsAutoWithdrawalEnabled(false);\n setErrorMessage('An error occurred. Try again !');\n } else {\n setGlobalState((globalState) => ({\n ...globalState,\n merchant: {\n ...globalState.merchant,\n autoWithdraw: true\n }\n }));\n }\n setLoading(false);\n };\n\n const handleTOSDocuments = async () => {\n setLoadTOSModal(true);\n const data = {\n type: termsOfServiceTypes[0]\n };\n const response = await AdyenService.adyenGetTOSDocuments(globalState.merchant.id, data);\n if (response?.isSuccesfully) {\n setDocumentBase64(response.data.document);\n setServiceDocumentId(response.data.termsOfServiceDocumentId);\n }\n\n setTimeout(() => {\n setLoadTOSModal(false);\n setOpenTOSModal(true);\n }, 1500);\n };\n\n return (\n \n );\n}\n\nexport default Dashboard;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Card, Row, Col } from 'react-bootstrap';\nimport styles from './profile.module.scss';\n\nfunction ProfileComponent(props) {\n const { user } = props;\n\n return (\n \n
    \n \n Username:\n \n {user?.firstName} {user?.lastName}\n \n \n \n Email:\n {user?.email}\n \n
    \n
    \n );\n}\n\nProfileComponent.propTypes = {\n user: PropTypes.object\n};\n\nexport default ProfileComponent;\n","import React, { useState, useEffect } from 'react';\nimport ProfileComponent from './profile.component';\nimport { useGlobalStateContext } from 'contexts';\n\nfunction Profile() {\n const [user, setUser] = useState();\n const { globalState } = useGlobalStateContext();\n\n useEffect(() => {\n function fetchData() {\n const user = globalState.user;\n setUser(user);\n }\n fetchData();\n }, [globalState.user]);\n\n return ;\n}\n\nexport default Profile;\n","import React from 'react';\nimport styles from './roles-and-permissions.module.scss';\nimport { TableProject } from 'components';\n\nfunction RolesAndPermissionsComponent() {\n const columns = [\n 'Role',\n 'Level',\n 'Capabilities',\n 'Create user',\n 'Disable/Enable user',\n 'Add/Remove user',\n 'Setup/Modify bank account details',\n 'Refund',\n 'View transactions',\n 'CRUD B/C/M level entities'\n ];\n\n const dataList = [\n [\n Admin,\n Super user for the business entity,\n Everything humanly possible,\n Yes,\n Yes,\n Yes,\n Yes,\n Yes,\n Yes,\n Yes\n ],\n\n [\n Owner,\n User that create his own business,\n Everything humanly possible for his business,\n Yes,\n Yes,\n Yes,\n Yes,\n Yes,\n Yes,\n Yes\n ],\n\n [\n Manager,\n Manager,\n Add users to these businesses, top level view of business, drill down to detail transactions,\n Yes,\n Yes,\n Yes,\n Yes,\n Yes,\n Yes,\n No\n ],\n\n [\n User,\n User,\n View business data + Refunds?,\n No,\n No,\n No,\n No,\n No,\n Yes,\n No\n ]\n ];\n\n return (\n
    \n
    \n

    Roles And Permissions

    \n
    \n \n
    \n );\n}\n\nexport default RolesAndPermissionsComponent;\n","import React from 'react';\nimport RolesAndPermissionsComponent from './roles-and-permissions.component';\n\nfunction RolesAndPermissions() {\n return ;\n}\n\nexport default RolesAndPermissions;\n","import React from 'react';\nimport styles from './user-management.module.scss';\nimport PropTypes from 'prop-types';\nimport { Button, FormCheck, FormControl } from 'react-bootstrap';\nimport { TableProject, ModalUserManagement, ModalConfirmation, CreateUserForm } from 'components';\nimport { Roles } from 'utils/enums/Roles';\n\nfunction UserManagementComponent(props) {\n const {\n users,\n showAssignModal,\n setShowAssignModal,\n showConfirmationModal,\n setShowConfirmationModal,\n confirmationMessage,\n setConfirmationMessage,\n loading,\n setShowCreateUser,\n showCreateUser,\n selectedUser,\n setSelectedUser,\n onSubmitConfirmation,\n setIsForDeleting,\n setIsForUnassign,\n loadUsersAfterOperation,\n setRelationId,\n userEmail\n } = props;\n\n const columns = ['Name', 'Email', 'Entities', 'Actions', 'Enable'];\n\n const dataList = [];\n users.forEach((user, index) => {\n const isLoggedInUser = user.email === userEmail;\n const assignedEntity = React.createRef();\n const enableDisableCheck = React.createRef();\n const unassignButton = React.createRef();\n const row = [\n \n \n {user.firstName} {user.lastName}\n \n ,\n {user.email},\n \n {\n {\n if (JSON.parse(assignedEntity.current.value).Role.name === Roles.Owner) {\n enableDisableCheck.current.disabled = true;\n unassignButton.current.hidden = true;\n } else {\n enableDisableCheck.current.disabled = false;\n unassignButton.current.hidden = false;\n }\n }}\n >\n {user.Relationships.length > 0 ? (\n user.Relationships.map((relationship) =>\n relationship.businessId ? (\n \n ) : relationship.clientId ? (\n \n ) : (\n relationship.merchantId && (\n \n )\n )\n )\n ) : (\n \n )}\n \n }\n ,\n \n {user.isDisable && !isLoggedInUser ? (\n {\n setShowConfirmationModal(true);\n setConfirmationMessage(`Are you sure you want to DELETE user ${user.email} ?`);\n setSelectedUser(user);\n setIsForDeleting(true);\n setIsForUnassign(false);\n }}\n >\n Delete\n \n ) : (\n !isLoggedInUser && (\n \n {\n setShowAssignModal(true);\n setSelectedUser(user);\n }}\n >\n Assign\n \n {user.Relationships.length > 0 && (\n \n )\n )}\n ,\n \n
    \n {\n setShowConfirmationModal(true);\n setConfirmationMessage(\n `Are you sure you want to ${user.isDisable ? 'ENABLE' : 'DISABLE'} user ${user.email} ?`\n );\n setSelectedUser(user);\n setIsForDeleting(false);\n setIsForUnassign(false);\n }}\n label=\"\"\n />\n
    \n \n ];\n dataList.push(row);\n });\n\n const classesForRow = styles.rowUser;\n\n return (\n \n
    \n
    \n

    User management

    \n
    \n
    \n \n
    \n \n
    \n {showAssignModal && (\n \n )}\n {showConfirmationModal && (\n \n {confirmationMessage}\n \n )}\n {showCreateUser && (\n \n )}\n
    \n );\n}\n\nUserManagementComponent.propTypes = {\n users: PropTypes.array,\n showAssignModal: PropTypes.bool,\n setShowAssignModal: PropTypes.func,\n showConfirmationModal: PropTypes.bool,\n setShowConfirmationModal: PropTypes.func,\n confirmationMessage: PropTypes.string,\n setConfirmationMessage: PropTypes.func,\n showCreateUser: PropTypes.bool,\n setShowCreateUser: PropTypes.func,\n loading: PropTypes.bool,\n selectedUser: PropTypes.object,\n setSelectedUser: PropTypes.func,\n onSubmitConfirmation: PropTypes.func,\n setIsForDeleting: PropTypes.func,\n setIsForUnassign: PropTypes.func,\n loadUsersAfterOperation: PropTypes.func,\n setRelationId: PropTypes.func\n};\n\nexport default UserManagementComponent;\n","import React, { useEffect, useState } from 'react';\nimport UserManagementComponent from './user-management.component';\nimport { UserService, RelationshipService } from 'services';\nimport { useGlobalStateContext } from 'contexts';\n\nfunction UserManagement() {\n const [users, setUsers] = useState([]);\n const [selectedUser, setSelectedUser] = useState(null);\n const [showAssignModal, setShowAssignModal] = useState(false);\n const [showConfirmationModal, setShowConfirmationModal] = useState(false);\n const [confirmationMessage, setConfirmationMessage] = useState('');\n const [loading, setLoading] = useState(false);\n const [showCreateUser, setShowCreateUser] = useState(false);\n const [isForDeleting, setIsForDeleting] = useState(false);\n const [isForUnassign, setIsForUnassign] = useState(false);\n const [relationId, setRelationId] = useState(false);\n const { globalState } = useGlobalStateContext();\n\n useEffect(() => {\n setLoading(true);\n async function fetchData() {\n await loadUsers();\n setLoading(false);\n }\n fetchData();\n }, []);\n\n async function loadUsers() {\n await UserService.getUsers().then((response) => {\n if (response.isSuccesfully) {\n setUsers(response.data.users);\n } else {\n setUsers([]);\n // error\n }\n });\n }\n\n const onSubmitConfirmation = () => {\n if (isForDeleting) {\n onDeleteUser();\n } else if (isForUnassign) {\n onUnassignEntityForUser();\n } else {\n onDisableEnableUser();\n }\n };\n\n const onDisableEnableUser = () => {\n setLoading(true);\n const user = {\n email: selectedUser.email,\n isDisable: selectedUser.isDisable,\n };\n UserService.toggleDisableEnableUser(user).then((response) => {\n if (response.isSuccesfully) {\n loadUsers();\n setLoading(false);\n } else {\n // error\n setLoading(false);\n }\n });\n };\n\n const onDeleteUser = () => {\n setLoading(true);\n UserService.deleteUser(selectedUser.email).then((response) => {\n if (response.isSuccesfully) {\n loadUsers();\n setLoading(false);\n } else {\n // error\n }\n });\n };\n\n const onUnassignEntityForUser = () => {\n setLoading(true);\n RelationshipService.deleteRelationship(relationId).then((response) => {\n if (response.isSuccesfully) {\n loadUsers();\n setLoading(false);\n } else {\n // error\n }\n });\n };\n\n const loadUsersAfterOperation = async () => {\n setLoading(true);\n await loadUsers();\n setLoading(false);\n };\n\n return (\n \n );\n}\n\nexport default UserManagement;\n","import React from 'react';\nimport { MerchantSettings, CanonicalResellerSettings, Banner } from 'components';\nimport { useGlobalStateContext } from 'contexts';\nimport { UserType } from 'utils/enums/UserType';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport { bannerMessage } from 'utils/banner-message';\n\nconst TeamComponent = (props) => {\n const { globalState } = useGlobalStateContext();\n const isCanonicalResellerUser = globalState.user?.UserType?.name === UserType.Reseller;\n const isMerchantAccountClosed = globalState.merchant?.status === MerchantStatus.CLOSED;\n\n return (\n \n {isMerchantAccountClosed && }\n {isCanonicalResellerUser ? : }\n \n );\n};\n\nexport default TeamComponent;\n","import React from 'react';\nimport SettingsComponent from './settings.component';\n\nconst Settings = (props) => {\n return ;\n};\n\nexport default Settings;\n","import React from 'react';\nimport { TeamMembers } from 'components';\n\nconst TeamComponent = (props) => {\n return ;\n};\n\nexport default TeamComponent;\n","import React from 'react';\nimport TeamComponent from './team.component';\n\nconst Team = (props) => {\n return ;\n};\n\nexport default Team;\n","import React from 'react';\nimport { Grid, Box, Paper } from '@material-ui/core';\nimport { PageHeader, Calendar, PaymentsList, DatmanResellerPaymentsList, SnackBarAndAlert, Banner } from 'components';\nimport WithdrawalContainer from '../withdrawal/withdrawal.container';\nimport style from './payments.module.scss';\nimport PropTypes from 'prop-types';\nimport { merchantTypes } from 'utils/helper.js';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport { useGlobalStateContext } from 'contexts';\nimport { bannerMessage } from 'utils/banner-message';\n\nconst TransactionListComponent = (props) => {\n const { globalState } = useGlobalStateContext();\n\n const { date: dateFromUrlParams, via: viaFromUrlParams } = props.match.params;\n const { pathname } = props.location;\n const showMerchantName = merchantTypes.includes(globalState.merchant?.merchantType);\n const isMerchantAccountClosed = globalState.merchant?.status === MerchantStatus.CLOSED;\n\n const {\n dates,\n onChangeDateRange,\n daterange,\n offrange,\n setOffrange,\n showAcquirer,\n startDate,\n endDate,\n daysRange,\n setDaysRange,\n acquirer,\n setAcquirer,\n acquirerName,\n snackbar,\n setSnackbar,\n isDateRangeArchived\n } = props;\n\n return (\n
    \n \n {isMerchantAccountClosed && }\n \n \n \n \n \n \n {showMerchantName ? (\n \n ) : (\n \n )}\n \n setSnackbar({ type: '', message: '' })}\n open={snackbar.message}\n type={snackbar.type}\n >\n {snackbar.message}\n \n \n
    \n );\n};\n\nexport default TransactionListComponent;\n\nTransactionListComponent.propTypes = {\n onChangeDateRange: PropTypes.func,\n dates: PropTypes.array,\n daterange: PropTypes.object,\n setClear: PropTypes.func,\n offrange: PropTypes.bool,\n setOffrange: PropTypes.func,\n setDaysRange: PropTypes.func\n};\n","import React, { useState, useEffect } from 'react';\nimport TransactionListComponent from './payments.component';\nimport moment from 'moment';\nimport { UserType } from 'utils/enums/UserType';\nimport { ResellerType } from 'utils/enums/ResellerType';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries.js';\nimport { useGlobalStateContext } from 'contexts';\nimport { cleverTapClick } from 'utils/helper';\nimport { REACT_APP_CARD_PAYMENT_ARCHIVE_DATE } from 'utils/constants';\nimport { Messages } from 'utils/enums/messages';\n\nconst TransactionList = (props) => {\n const selectedAcquirers = sessionStorage.getItem('selectedAcquirer');\n const [channelFilter, setChannelFilter] = useState('All');\n const { globalState } = useGlobalStateContext();\n\n const [daterange, setDateRange] = useState({ start: moment().subtract(1, 'days'), end: moment() });\n const [dates, setDates] = useState([]);\n const [loading, setLoading] = useState(false);\n const [offrange, setOffrange] = useState(true);\n const [startDate, setStartDate] = useState();\n const [endDate, setEndDate] = useState();\n const [daysRange, setDaysRange] = useState({});\n const [acquirer, setAcquirer] = useState(JSON.parse(selectedAcquirers));\n const [snackbar, setSnackbar] = useState({ type: '', message: '' });\n const isAdmin =\n globalState.user?.UserType?.name === UserType.Admin || globalState.user?.UserType?.name === UserType.SuperAdmin;\n const isDatmanReseller = globalState.reseller?.name === ResellerType.DATMAN;\n const merchantCountry = globalState.merchant?.country === MerchantCountries.UNITED_KINGDOM;\n const showAcquirer = isAdmin && isDatmanReseller && merchantCountry;\n const acquirerName = globalState.merchant.paymentProviders;\n\n const onChangeDateRange = (startDate, endDate) => {\n setDateRange({ start: startDate, end: endDate });\n setOffrange(true);\n const initialDate = moment(startDate);\n const finalDate = moment(endDate).add(1, 'days');\n let includedMonths = [];\n let rangeDates;\n\n if (initialDate.isBefore(finalDate)) {\n rangeDates = {\n from: initialDate.format('YYYY-MM-DD'),\n to: finalDate.format('YYYY-MM-DD')\n };\n includedMonths.push(rangeDates);\n // initialDate.add(1, 'month');\n setDates(includedMonths);\n }\n setStartDate(initialDate.format('DD-MM-YYYY'));\n setEndDate(moment(endDate).format('DD-MM-YYYY'));\n const data = {\n date_start: initialDate.format('DD-MM-YYYY'),\n date_end: moment(endDate).format('DD-MM-YYYY')\n };\n cleverTapClick('Date_selector_click', globalState, data);\n };\n useEffect(() => {\n const fetchPaymentProviders = async () => {\n setLoading(true);\n const currentAcquirer = selectedAcquirers ? JSON.parse(selectedAcquirers) : acquirerName;\n setAcquirer(currentAcquirer);\n setLoading(false);\n };\n fetchPaymentProviders();\n //eslint-disable-next-line\n }, [globalState.merchant.paymentProviders]);\n\n const isDateBeforeCutOffDate = (date) => {\n const inputDate = moment(date, 'DD-MM-YYYY');\n const thresholdDate = moment(REACT_APP_CARD_PAYMENT_ARCHIVE_DATE, 'DD-MM-YYYY');\n return inputDate.isBefore(thresholdDate);\n };\n\n const dateRangeArchived = (startDate, endDate) =>\n isDateBeforeCutOffDate(startDate) && isDateBeforeCutOffDate(endDate);\n\n const isDateRangeArchived = dateRangeArchived(startDate, endDate);\n\n const snackbarVisibility = (fromDate) => {\n if (isDateBeforeCutOffDate(fromDate)) {\n setSnackbar({\n type: 'success',\n message: Messages.PAYMENT_VISIBILITY(moment(REACT_APP_CARD_PAYMENT_ARCHIVE_DATE).format('MMMM D, YYYY'))\n });\n } else {\n setSnackbar({\n type: '',\n message: ''\n });\n }\n };\n\n useEffect(() => {\n snackbarVisibility(startDate);\n //eslint-disable-next-line\n }, [startDate, endDate]);\n\n return (\n \n );\n};\n\nexport default TransactionList;\n","import React from 'react';\nimport { Grid, Paper, Box } from '@material-ui/core';\nimport { PageHeader, ChargebackList, Calendar, Banner } from 'components';\nimport WithdrawalContainer from '../withdrawal/withdrawal.container';\nimport style from './chargebacks.module.scss';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport { useGlobalStateContext } from 'contexts';\nimport { bannerMessage } from 'utils/banner-message';\n\nconst ChargebackListComponent = (props) => {\n const { globalState } = useGlobalStateContext();\n const { date: dateFromUrlParams, via: viaFromUrlParams } = props.match.params;\n const { offrange, setOffrange } = props;\n const { pathname } = props.location;\n const isMerchantAccountClosed = globalState.merchant?.status === MerchantStatus.CLOSED;\n\n return (\n \n \n {isMerchantAccountClosed && }\n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default ChargebackListComponent;\n","import React, { useState } from 'react';\nimport ChargebackListComponent from './chargebacks.component';\n\nconst ChargebackList = (props) => {\n const [loading, setLoading] = useState(false);\n\n return ;\n};\n\nexport default ChargebackList;\n","import React from 'react';\nimport { Box, Paper, Grid } from '@material-ui/core';\nimport { PageHeader, Calendar, MerchantChargesList, Banner } from 'components';\nimport WithdrawalContainer from '../withdrawal/withdrawal.container';\nimport style from './merchant-charges.module.scss';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport { useGlobalStateContext } from 'contexts';\nimport { bannerMessage } from 'utils/banner-message';\n\nconst MerchantChargesComponent = (props) => {\n const { globalState } = useGlobalStateContext();\n const { date: dateFromUrlParams, via: viaFromUrlParams } = props.match.params;\n const { pathname } = props.location;\n const { openMerchantModal, setOpenMerchantModal } = props;\n const isMerchantAccountClosed = globalState.merchant?.status === MerchantStatus.CLOSED;\n\n return (\n
    \n \n {isMerchantAccountClosed && }\n \n \n \n \n \n \n \n \n \n
    \n );\n};\n\nexport default MerchantChargesComponent;\n","import React, { useState } from 'react';\nimport MerchantChargesComponent from './merchant-charges.component';\n\nconst MerchantChargesList = (props) => {\n const [loading, setLoading] = useState(true);\n const [openMerchantModal, setOpenMerchantModal] = useState(false);\n return (\n \n );\n};\n\nexport default MerchantChargesList;\n","export const MerchantLabel = {\n SUPPLIER: 'Supplier',\n SENDER: 'Sender'\n};\n","import React from 'react';\nimport { Box, Paper, Grid } from '@material-ui/core';\nimport { MerchantLabel } from 'utils/enums/MerchantLabel';\nimport { Calendar, InternalTransfersList, PageHeader, PaymentAction } from 'components';\nimport { PaymentType } from 'utils/enums/PaymentType';\nimport style from './internal-transfers.module.scss';\nimport PropTypes from 'prop-types';\nimport { CheckMerchantCountries } from '../../components/onboarding/onboarding-ui-components/check-merchant-countries/check-merchant-countries';\nimport { MerchantCountries } from '../../utils/enums/MerchantCountries';\nimport WithdrawalContainer from '../withdrawal/withdrawal.container';\n\nconst InternalTransfersComponent = (props) => {\n const { date: dateFromUrlParams, via: viaFromUrlParams } = props.match.params;\n const { pathname } = props.location;\n const { merchant, enableWithdrawal, totalPendingAmount, show, setShow } = props;\n\n return (\n
    \n \n {merchant && merchant.label !== MerchantLabel.SUPPLIER && !enableWithdrawal && (\n \n \n \n )}\n {enableWithdrawal && }\n \n \n \n \n \n \n \n \n
    \n );\n};\n\nInternalTransfersComponent.propTypes = {\n merchant: PropTypes.object,\n totalPendingAmount: PropTypes.number,\n setTotalPendingAmount: PropTypes.func,\n show: PropTypes.bool,\n setShow: PropTypes.func,\n enableWithdrawal: PropTypes.bool,\n setEnableWithdrawal: PropTypes.func\n};\n\nexport default InternalTransfersComponent;\n","import React, { useState } from 'react';\nimport InternalTransfersComponent from './internal-transfers.component';\nimport { useGlobalStateContext } from 'contexts';\n\nconst InternalTransfersList = (props) => {\n const { globalState } = useGlobalStateContext();\n const [show, setShow] = useState(false);\n const [totalPendingAmount, setTotalPendingAmount] = useState(0);\n const [enableWithdrawal, setEnableWithdrawal] = useState(false);\n const [loading, setLoading] = useState(false);\n\n return (\n \n );\n};\n\nexport default InternalTransfersList;\n","import React from 'react';\nimport { Box, Paper, Grid } from '@material-ui/core';\nimport { PageHeader, Calendar, PayoutsList, Banner } from 'components';\nimport WithdrawalContainer from '../withdrawal/withdrawal.container';\nimport style from './payouts.module.scss';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport { useGlobalStateContext } from 'contexts';\nimport { bannerMessage } from 'utils/banner-message';\n\nconst PayoutsComponent = (props) => {\n const { globalState } = useGlobalStateContext();\n const { date: dateFromUrlParams, via: viaFromUrlParams } = props.match.params;\n const { pathname } = props.location;\n const { setSelectedProvider, selectedProvider } = props;\n const isMerchantAccountClosed = globalState.merchant?.status === MerchantStatus.CLOSED;\n\n return (\n
    \n \n {isMerchantAccountClosed && }\n \n \n \n \n \n \n \n \n \n
    \n );\n};\n\nexport default PayoutsComponent;\n","import React, { useState } from 'react';\nimport PayoutsComponent from './payouts.component';\n\nconst PayoutsList = (props) => {\n const [loading, setLoading] = useState(false);\n const provider = sessionStorage.getItem('selectedProvider') ? sessionStorage.getItem('selectedProvider') : 'All';\n const [selectedProvider, setSelectedProvider] = useState(provider);\n return (\n \n );\n};\n\nexport default PayoutsList;\n","import React from 'react';\nimport { Grid, Box, Paper } from '@material-ui/core';\nimport { PageHeader, Calendar, GfoPaymentsList, Banner } from 'components';\nimport WithdrawalContainer from '../withdrawal/withdrawal.container';\nimport style from './gfo-payments.module.scss';\nimport PropTypes from 'prop-types';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport { useGlobalStateContext } from 'contexts';\nimport { bannerMessage } from 'utils/banner-message';\n\nconst GfoPaymentsListComponent = (props) => {\n const { globalState } = useGlobalStateContext();\n const { date: dateFromUrlParams, via: viaFromUrlParams } = props.match.params;\n const { pathname } = props.location;\n const { onChangeDateRange, daterange, offrange, setOffrange, daysRange, setDaysRange } = props;\n const isMerchantAccountClosed = globalState.merchant?.status === MerchantStatus.CLOSED;\n\n return (\n
    \n {isMerchantAccountClosed && }\n \n \n \n \n \n \n \n \n \n \n
    \n );\n};\n\nexport default GfoPaymentsListComponent;\n\nGfoPaymentsListComponent.propTypes = {\n onChangeDateRange: PropTypes.func,\n dates: PropTypes.array,\n daterange: PropTypes.object,\n setClear: PropTypes.func,\n offrange: PropTypes.bool,\n setOffrange: PropTypes.func,\n setDaysRange: PropTypes.func\n};\n","import React, { useState } from 'react';\nimport GfoPaymentsListComponent from './gfo-payments.component';\nimport moment from 'moment';\n\nconst GfoPaymentsList = (props) => {\n const [channelFilter, setChannelFilter] = useState('All');\n const [daterange, setDateRange] = useState({ start: moment().subtract(1, 'days'), end: moment() });\n const [dates, setDates] = useState([]);\n const [offrange, setOffrange] = useState(true);\n const [loading, setLoading] = useState(false);\n const [daysRange, setDaysRange] = useState({});\n\n const onChangeDateRange = (startDate, endDate) => {\n setDateRange({ start: startDate, end: endDate });\n setOffrange(true);\n const initialDate = moment(startDate);\n const finalDate = moment(endDate).add(1, 'days');\n let includedMonths = [];\n let rangeDates;\n\n if (initialDate.isBefore(finalDate)) {\n rangeDates = {\n from: initialDate.format('YYYY-MM-DD'),\n to: finalDate.format('YYYY-MM-DD')\n };\n includedMonths.push(rangeDates);\n // initialDate.add(1, 'month');\n setDates(includedMonths);\n }\n };\n return (\n \n );\n};\n\nexport default GfoPaymentsList;\n","import React from 'react';\nimport { VirtualTerminal } from 'components';\n\nfunction VirtualTerminalComponent(props) {\n return ;\n}\n\nexport default VirtualTerminalComponent;\n","import React from 'react';\nimport VirtualTerminalComponent from './virtual-terminal.component';\n\nfunction VirtualTerminal(props) {\n return ;\n}\n\nexport default VirtualTerminal;\n","import React from 'react';\nimport { CardDetails } from 'components';\n\nfunction CardDetailsComponent(props) {\n return ;\n}\n\nexport default CardDetailsComponent;\n","import React from 'react';\nimport CardDetailsComponent from './card-details.component';\n\nfunction CardDetails(props) {\n return ;\n}\n\nexport default CardDetails;\n","import React from 'react';\n\nfunction AcceptInvitationComponent() {\n return <>;\n}\n\nexport default AcceptInvitationComponent;\n","import React from 'react';\nimport AcceptInvitationComponent from './accept-invitation.component';\nimport { useGlobalStateContext } from 'contexts';\nimport { AuthService, RelationshipService } from 'services';\n\nfunction AcceptInvitation() {\n const { globalState, setRoute } = useGlobalStateContext();\n const params = new URLSearchParams(window.location.href);\n\n if (params.has('email') && params.has('merchantId')) {\n const invitedUserEmail = params.get('email');\n const merchantId = params.get('merchantId');\n\n if (AuthService.isLoggedUser()) {\n if (globalState.user.email === invitedUserEmail) {\n const requestData = {\n merchantId: merchantId,\n userEmail: invitedUserEmail\n };\n\n RelationshipService.assignUserToMerchant(requestData);\n } else {\n AuthService.logout();\n setRoute('/signup?&merchantId=' + merchantId);\n }\n } else {\n setRoute('/signup?&merchantId=' + merchantId);\n }\n } else {\n setRoute('/login');\n }\n\n return ;\n}\n\nexport default AcceptInvitation;\n","import React from 'react';\nimport {\n AdminDashboardHome,\n AdminDashBoardNavigationHeader,\n AdminDashboardInfo,\n AdminHomeMenu,\n AdminDashboardTopBar\n} from 'components';\nimport { Dashboard } from '@material-ui/icons';\n\nimport { Grid } from '@material-ui/core';\nimport style from './admin-dashboard.module.scss';\n\nfunction DashboardComponent() {\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\nDashboardComponent.propTypes = {};\n\nexport default DashboardComponent;\n","import React from 'react';\nimport AdminDashboardComponent from './admin-dashboard.component';\n\nfunction AdminDashboard() {\n return ;\n}\n\nexport default AdminDashboard;\n","import React from 'react';\nimport { PendingCustomerInfo, AdminDashboardTopBar, AdminDashBoardNavigationHeader, AdminHomeMenu } from 'components';\nimport { Grid } from '@material-ui/core';\nimport { Dashboard } from '@material-ui/icons';\nimport style from './pending-customers.module.scss';\nexport default function PendingCustomersComponent() {\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","import React from 'react';\nimport PendingCustomersComponent from './pending-customers.component';\n\nexport default function PendingCustomers() {\n return ;\n}\n","import React from 'react';\nimport { UpdateBankInfo } from 'components';\n\nexport default function UpdateBankComponent() {\n return ;\n}\n","import React from 'react';\nimport UpdateBankComponent from './update-bank.component';\n\nexport default function UpdateBank() {\n return ;\n}\n","import React, { useEffect, useState } from 'react';\nimport {\n UpdateAccount,\n UpdateAccountMypay,\n CanonicalResellerUpdateAccount,\n UpdateAccountResellerMerchant\n} from 'components';\nimport { useGlobalStateContext } from 'contexts';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport { UserType } from 'utils/enums/UserType';\n\nfunction UpdateAccountComponent() {\n const { globalState } = useGlobalStateContext();\n const [isOnboarded, setIsOnboarded] = useState(false);\n const isT2SMerchant = globalState.isT2SMerchant;\n const isCanonicalResellerUser = globalState.user?.UserType?.name === UserType.Reseller;\n\n useEffect(() => {\n const validMerchantStatuses = [\n MerchantStatus.ACTIVE,\n MerchantStatus.MERCHANT_PENDING,\n MerchantStatus.VERIFIED,\n MerchantStatus.WATCHLIST\n ];\n\n setIsOnboarded(validMerchantStatuses.includes(globalState.merchant?.status));\n }, [globalState.merchant]);\n\n return isCanonicalResellerUser ? (\n \n ) : isOnboarded ? (\n ![1, 2].includes(globalState.merchant?.canonicalResellerId) && !isT2SMerchant ? ( //Other than Datman, MyPay merchants\n \n ) : isT2SMerchant ? (\n \n ) : (\n \n )\n ) : (\n \n );\n}\n\nexport default UpdateAccountComponent;\n","import React from 'react';\nimport UpdateAccountComponent from './update-account.component';\n\nfunction UpdateAccount() {\n return ;\n}\n\nexport default UpdateAccount;\n","import React from 'react';\nimport { GenericQrCodeInfo } from 'components';\n\nconst GenericQRCodeComponent = (props) => {\n return ;\n};\n\nexport default GenericQRCodeComponent;\n","import React from 'react';\nimport GenericQRCodeComponent from './generic-qr-code.component';\n\nconst GenericQRCode = (props) => {\n return ;\n};\n\nexport default GenericQRCode;\n","import React from 'react';\nimport { PaymentQrCodeInfo } from 'components';\n\nconst PaymentQRCodeComponent = (props) => {\n return ;\n};\n\nexport default PaymentQRCodeComponent;\n","import React from 'react';\nimport PaymentQRCodeComponent from './payment-qr-code.component';\n\nconst PaymentQRCode = (props) => {\n return ;\n};\n\nexport default PaymentQRCode;\n","import React from 'react';\nimport { UpdatePassword } from 'components';\n\nfunction UpdatePasswordComponent() {\n return ;\n}\n\nexport default UpdatePasswordComponent;\n","import React from 'react';\nimport UpdatePasswordComponent from './update-password.component';\n\nfunction UpdatePassword() {\n return ;\n}\n\nexport default UpdatePassword;\n","import React from 'react';\nimport style from './account-verify-upload-documents.module.scss';\nimport { Container, Card, Box, Typography } from '@material-ui/core';\nimport { UploadDocuments } from 'components/onboarding/onboarding-ui-components';\nimport { DocumentFlag } from 'utils/enums/DocumentFlag';\nimport PropTypes from 'prop-types';\nimport { BankSortCodeDetails, FinishUploadButton, PendingDocsList, SnackBarAndAlert } from 'components';\nimport LoadingScreen from 'components/loading-screen/loading-screen.container';\n\nfunction AccountVerifyUploadDocumentsComponent(props) {\n const {\n merchantId,\n setValidForm,\n setFormattedDocumentsStats,\n formattedDocumentsStats,\n setUploadSuccess,\n businessTypeId,\n isFinishButtonDisabled,\n setIsFinishButtonDisabled,\n loading,\n uploadSuccess,\n bankUpload,\n setBankUpload,\n country,\n source,\n isAdmin,\n csrfToken,\n formType,\n cardNumber,\n setCardNumber,\n setIdNumber,\n idNumber\n } = props;\n\n return (\n \n {/* {!isVerifiedBank && (\n \n
    \n \n
    \n \n \n
    \n You must verify your account before making a withdrawal. To verify your account, please\n upload the required documents. \n
    \n
    \n
    \n \n )} */}\n\n \n \n \n \n

    Account Verify Documents

    \n
    \n {formattedDocumentsStats?.pendingDocumentCategories?.length ? (\n <>\n {!formattedDocumentsStats.needsOnlyGenericCategoryDocs ? (\n

    Documents that are required for identification are:

    \n ) : (\n ''\n )}\n \n {!formattedDocumentsStats.needsOnlyGenericCategoryDocs ? (\n

    Kindly upload the above documents

    \n ) : (\n ''\n )}\n \n ) : (\n ''\n )}\n\n The required formats are: .png, .jpeg, .jpg, .pdf\n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n {\n setUploadSuccess(false);\n }}\n type=\"success\"\n >\n {isAdmin\n ? 'File Uploaded Successfully'\n : 'Our support team will review your documents and get back to you within 48 hours.'}\n \n
    \n \n {country !== 'Australia' ? : null}\n
    \n \n
    \n );\n}\n\nAccountVerifyUploadDocumentsComponent.propTypes = {\n merchantId: PropTypes.string,\n setValidForm: PropTypes.func,\n setUploadSuccess: PropTypes.func,\n isFinishButtonDisabled: PropTypes.bool,\n loading: PropTypes.bool,\n setIsFinishButtonDisabled: PropTypes.func,\n uploadSuccess: PropTypes.bool,\n bankUpload: PropTypes.bool,\n setBankUpload: PropTypes.func,\n source: PropTypes.string\n};\n\nexport default AccountVerifyUploadDocumentsComponent;\n","import React, { useState, useEffect } from 'react';\nimport AccountVerifyUploadDocumentsComponent from './account-verify-upload-documents.component';\nimport { useGlobalStateContext } from 'contexts';\nimport { DocumentsService, BusinessDetailsService, AuthService } from 'services';\nimport { UserType } from 'utils/enums/UserType';\nimport { DocumentTypesId } from 'utils/enums/DocumentType';\nimport { formTypes } from 'utils/enums/FormTypes';\nimport { BusinessTypeEnumId } from 'utils/enums/BusinessType';\n\nfunction AccountVerifyUploadDocuments(props) {\n const { globalState } = useGlobalStateContext();\n const [validForm, setValidForm] = useState(false);\n const [formattedDocumentsStats, setFormattedDocumentsStats] = useState({});\n const [loading, setLoading] = useState(false);\n const [uploadSuccess, setUploadSuccess] = useState(false);\n const [isVerifiedBank, setIsVerifiedBank] = useState(true);\n const [businessDetails, setBusinessDetails] = useState({});\n const [idNumber, setIdNumber] = useState('');\n const [cardNumber, setCardNumber] = useState('');\n const [isFinishButtonDisabled, setIsFinishButtonDisabled] = useState(true);\n const country = globalState.merchant?.country;\n const isAdmin =\n globalState.user?.UserType?.name === UserType.Admin || globalState.user?.UserType?.name === UserType.SuperAdmin;\n\n const [csrfToken, setCSRFToken] = useState('');\n\n useEffect(() => {\n const generateCSRFToken = async () => {\n setLoading(true);\n const response = await AuthService.generateCSRFToken(\n formTypes.ACCOUNT_DOCUMENT_UPLOAD,\n globalState.merchant?.id\n );\n if (response.isSuccesfully) {\n setCSRFToken(response.data.csrfToken);\n }\n setLoading(false);\n };\n generateCSRFToken();\n // eslint-disable-next-line\n }, [globalState.merchant.id]);\n\n useEffect(() => {\n const getBankStatusAndBusinessDetails = async () => {\n setLoading(true);\n const response = await BusinessDetailsService.getMerchantBusinessTypeAndBankStatus(\n globalState.merchant?.id\n );\n if (response.isSuccesfully) {\n setIsVerifiedBank(response.data.isBankAccountVerified && response.data.isAccountVerified);\n } else {\n setIsVerifiedBank(false);\n }\n\n const businessDetailsResult = await BusinessDetailsService.getBusinessDetails(globalState.merchant?.id);\n if (businessDetailsResult.isSuccesfully) {\n setBusinessDetails(businessDetailsResult.data.businessDetails || {});\n }\n setLoading(false);\n };\n\n if (globalState.merchant?.id) {\n getBankStatusAndBusinessDetails();\n }\n }, [globalState.merchant]);\n const [bankUpload, setBankUpload] = useState(false);\n const [count, setCount] = useState(1);\n\n useEffect(() => {\n async function sendAsyncRequest() {\n let nonMandatoryDocumentIds = [DocumentTypesId.STREET_VIEW, DocumentTypesId.FOOD_HYGIENE_CERTIFICATE];\n if (\n ![BusinessTypeEnumId.Sole_Trader, BusinessTypeEnumId.Partnership].includes(\n globalState.merchant.businessTypeId\n )\n ) {\n nonMandatoryDocumentIds = [...nonMandatoryDocumentIds, DocumentTypesId.UTILITY_BILL];\n }\n const uploadingDocumentId = sessionStorage.getItem('docTypeId');\n const result = nonMandatoryDocumentIds.includes(parseInt(uploadingDocumentId));\n if (uploadSuccess && !result) {\n const response = await DocumentsService.notifyAdminAboutDocumentUploading(\n globalState.merchant.id,\n globalState.reseller.id\n );\n if (response.isSuccesfully) {\n setCount(count + 1);\n sessionStorage.setItem('uploadSucess', count);\n }\n }\n sessionStorage.removeItem('docTypeId');\n }\n sendAsyncRequest();\n // eslint-disable-next-line\n }, [uploadSuccess]);\n\n return (\n \n );\n}\n\nAccountVerifyUploadDocuments.propTypes = {};\n\nexport default AccountVerifyUploadDocuments;\n","import React from 'react';\nimport { Grid, Box, Paper, Button } from '@material-ui/core';\nimport NavigateBeforeIcon from '@material-ui/icons/NavigateBefore';\nimport browserHistory from 'browserHistory';\nimport { PaymentDetailsContainer, DatmanResellerPaymentDetailsContainer } from 'components';\nimport WithdrawalContainer from '../withdrawal/withdrawal.container';\nimport style from './payment-details.module.scss';\nimport { merchantTypes } from 'utils/helper.js';\nimport { useGlobalStateContext } from 'contexts';\n\nconst PaymentDetailsComponent = (props) => {\n const { id: transactionId } = props.match.params;\n const { payment } = props.location.state;\n const { globalState } = useGlobalStateContext();\n const showMerchantName = merchantTypes.includes(globalState.merchant?.merchantType);\n\n return (\n \n \n \n \n \n }\n onClick={() => browserHistory.goBack()}\n className={style.backbtn}\n >\n Back\n \n \n \n {showMerchantName ? (\n \n ) : (\n \n )}\n \n \n \n \n );\n};\n\nexport default PaymentDetailsComponent;\n","import React from 'react';\nimport PaymentDetailsComponent from './payment-details.component';\n\nconst PaymentDetails = (props) => {\n return ;\n};\n\nexport default PaymentDetails;\n","import React from 'react';\nimport { Grid, Box, Paper, Button } from '@material-ui/core';\nimport NavigateBeforeIcon from '@material-ui/icons/NavigateBefore';\nimport browserHistory from 'browserHistory';\nimport { PayoutDetailsContainer } from 'components';\nimport WithdrawalContainer from '../withdrawal/withdrawal.container';\nimport style from './payout-details.module.scss';\n\nconst PayoutDetailsComponent = (props) => {\n const { id: batchId } = props.match.params;\n const { payouts, nextExpectedDate, type, provider, date } = props.location.state;\n\n return (\n \n \n \n \n \n }\n onClick={() => browserHistory.goBack()}\n >\n Back\n \n \n \n \n \n \n \n \n );\n};\n\nexport default PayoutDetailsComponent;\n","import React from 'react';\nimport PayoutDetailsComponent from './payout-details.component';\n\nconst PayoutDetails = (props) => {\n return ;\n};\n\nexport default PayoutDetails;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Grid, Button, Dialog, DialogActions, DialogContent, DialogTitle, TextareaAutosize } from '@material-ui/core';\nimport styles from './add-credit.module.scss';\nimport { Input, Label, FormItem } from 'components/onboarding/onboarding-ui-components';\nimport { useTheme, useMediaQuery, OutlinedInput } from '@material-ui/core';\nimport { SnackBarAndAlert } from 'components';\nimport NumberFormat from 'react-number-format';\nimport CloseIcon from '@material-ui/icons/Close';\nimport { useGlobalStateContext } from 'contexts';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nexport default function AddCredit(props) {\n const {\n disabled,\n handleOnClose,\n open,\n grossAmount,\n feesAmount,\n netAmount,\n onSubmit,\n isCredited,\n successMessage,\n setOpen,\n refundReason,\n setRefundReason,\n firstName,\n lastName,\n setFirstName,\n setLastName,\n address,\n setAddress,\n setFeesAmount,\n onChange,\n isLoading,\n setIsCredited,\n isMaxAmount\n } = props;\n const theme = useTheme();\n const fullScreen = useMediaQuery(theme.breakpoints.down('xs'));\n const { globalState } = useGlobalStateContext();\n const isMerchantAccountClosed = globalState.merchant?.status === MerchantStatus.CLOSED;\n\n return (\n
    \n setOpen(true)}\n disabled={isMerchantAccountClosed}\n >\n +Add Credit\n \n \n \n
    \n Add Credit\n
    \n \n
    \n
    \n
    \n \n \n \n \n \n\n \n \n\n setFeesAmount(e.target.value)}\n />\n \n\n \n
    \n \n *\n
    \n onChange(e)}\n isAllowed={isMaxAmount}\n labelWidth={0}\n required\n className={styles.cardInput}\n />\n
    \n \n
    \n \n *\n
    \n\n setRefundReason(e.target.value)}\n />\n
    \n \n \n setFirstName(e.target.value)}\n />\n \n \n \n setLastName(e.target.value)}\n />\n \n \n \n setAddress(e.target.value)}\n />\n \n
    \n
    \n \n \n \n {isLoading ? 'Please Wait...' : 'Submit'}\n \n \n \n
    \n
    \n setIsCredited(false)}\n type={successMessage ? 'success' : 'error'}\n >\n {successMessage ? successMessage : 'Credit request has failed.'}\n \n
    \n );\n}\n\nAddCredit.propTypes = {\n disabled: PropTypes.bool,\n open: PropTypes.bool,\n grossAmount: PropTypes.number,\n feesAmount: PropTypes.number,\n netAmount: PropTypes.number,\n setOpen: PropTypes.func,\n refundReason: PropTypes.string,\n setRefundReason: PropTypes.func,\n firstName: PropTypes.string,\n lastName: PropTypes.string,\n setFirstName: PropTypes.func,\n setLastName: PropTypes.func,\n address: PropTypes.string,\n setAddress: PropTypes.func,\n setFeesAmount: PropTypes.func,\n onChange: PropTypes.func,\n onSubmit: PropTypes.func,\n handleOnClose: PropTypes.func\n};\n","import React, { useState, useEffect } from 'react';\nimport AddCredit from './add-credit.component';\nimport { AdminService } from 'services';\nimport { roundOfInteger } from 'utils/helper';\n\nexport default function AddCreditFunc(props) {\n const { updateFeeTier } = props;\n const [disabled, setDisabled] = useState(true);\n const [open, setOpen] = React.useState(false);\n const [isLoading, setIsLoading] = useState(false);\n const [feesAmount, setFeesAmount] = useState('');\n const [netAmount, setNetAmount] = useState('');\n const [firstName, setFirstName] = useState('');\n const [lastName, setLastName] = useState('');\n const [refundReason, setRefundReason] = useState('');\n const [address, setAddress] = useState('');\n const [isCredited, setIsCredited] = useState(false);\n const [grossAmount, setGrossAmount] = useState('');\n const [successMessage, setSuccessMessage] = useState(false);\n\n const handleOnClose = () => {\n setOpen(false);\n setFeesAmount('');\n setGrossAmount('');\n setFirstName('');\n setLastName('');\n setRefundReason('');\n setAddress('');\n };\n\n const percentage_fee = Number(updateFeeTier.percentage_fee) / 100;\n const fixed_fee = Number(updateFeeTier.fixed_fee);\n const onChange = (netAmount) => {\n const { value } = netAmount;\n setNetAmount(value);\n let gross = roundOfInteger((Number(value) + fixed_fee) / (1 - percentage_fee));\n let fees = roundOfInteger(gross * percentage_fee + fixed_fee);\n setFeesAmount(parseFloat(value) > 0 ? fees.toFixed(2) : '');\n setGrossAmount(parseFloat(value) > 0 ? parseFloat(gross).toFixed(2) : '');\n };\n\n useEffect(() => {\n const isDisable = !netAmount || !parseFloat(netAmount) > 0 || !refundReason;\n\n setDisabled(isDisable);\n }, [netAmount, refundReason]);\n\n const onSubmit = async () => {\n let data = {\n credit_amount: parseFloat(netAmount),\n customer_name: firstName + ' ' + lastName,\n address: address,\n credit_reason: refundReason\n };\n setIsLoading(true);\n\n const result = await AdminService.AddCredit(data);\n\n if (result.isSuccesfully) {\n setIsCredited(true);\n setSuccessMessage('Amount has been credited successfully.');\n } else {\n setIsCredited(true);\n setSuccessMessage(false);\n }\n\n handleOnClose();\n setIsLoading(false);\n };\n const isMaxAmount = (values) => {\n const { value, floatValue } = values;\n const MAX_AMT = 2500.0;\n\n if (typeof floatValue === 'undefined' || typeof value === 'undefined') {\n return true;\n }\n if (value.charAt(0) === '0') {\n if (value.charAt(1) && value.charAt(1) !== '.') {\n return false;\n }\n }\n if (value > MAX_AMT) {\n return false;\n }\n return true;\n };\n return (\n \n );\n}\n","import React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { Grid, Box, Button, FormControlLabel, Checkbox, CircularProgress } from '@material-ui/core';\nimport {\n AccountStatus,\n BankVerification,\n AccountVerification,\n AddMerchantId,\n MerchantStoreId,\n ManagePartners,\n AdminTriggerResetPassword,\n ThirdPartyMerchantIdAndStoreId,\n LoadingScreen,\n CreateUrgentMessage,\n SnackBarAndAlert,\n AllowWithdrawals,\n MerchantStripeId,\n PaymentConfigurationModes,\n AutoWithdrawal,\n AddPricingTier,\n ModalCreateFeeTier,\n ModalFormConfirmation,\n InvoiceToggleModes,\n ModalOTPVerification,\n ModalMoveTxns,\n UpdateTxnLimitContainer\n} from 'components';\nimport { Alert } from '@material-ui/lab';\nimport WithdrawalContainer from '../../withdrawal/withdrawal.container';\nimport NavigateBeforeIcon from '@material-ui/icons/NavigateBefore';\nimport browserHistory from 'browserHistory';\nimport styles from './admin-functions.module.scss';\nimport { useAdminFunctionsContext, useGlobalStateContext } from 'contexts';\nimport { ResellerType } from 'utils/enums/ResellerType';\nimport { CheckMerchantCountries } from '../../../components/onboarding/onboarding-ui-components/check-merchant-countries/check-merchant-countries';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { UserType } from 'utils/enums/UserType';\nimport { merchantTypes } from 'utils/helper.js';\nimport { MerchantAccountStatus } from 'utils/enums/MerchantAccountStatus';\nimport AddCreditFunc from 'components/Add-credit/add-credit.container';\nimport DateFnsUtils from '@date-io/date-fns';\nimport { DatePicker, MuiPickersUtilsProvider } from '@material-ui/pickers';\nimport moment from 'moment';\nexport default function AdminFunctionsComponent(props) {\n const { globalState, setRoute, getRoute } = useGlobalStateContext();\n const { adminFunctions } = useAdminFunctionsContext();\n const {\n isLoading,\n error,\n setError,\n supportUtilitiesLinksMap,\n merchantVerificationAcceptRejectMessage,\n showMessage,\n setShowMessage,\n messageType,\n clientRegistered,\n setClientRegistered,\n resellerCreation,\n setResellerCreation,\n acceptTermsAndConditions,\n setShowAcceptTermsAndConditionsMessage,\n acceptTermsAndConditionsMessage,\n showAcceptTermsAndConditionsMessage,\n orangeMessageStyle,\n setOrangeMessageStyle,\n setIsTestMerchant,\n isTestMerchant,\n submitHandler,\n setShowCreateFeeTier,\n showCreateFeeTier,\n feeTier,\n setFeeTier,\n pricingTiers,\n setPricingTiers,\n message,\n setMessage,\n showFeeTierMessage,\n setShowFeeTierMessage,\n setMessageType,\n updateFeeTier,\n isModalUpdateFeeTier,\n setIsModalUpdateFeeTier,\n handleOnChange,\n setUpdateFeeTierValue,\n updateFeeTierValue,\n showUpdateFeeTierMessage,\n updateFeeTierMessage,\n setShowUpdateFeeTierMessage,\n loading,\n SubmitReport,\n BalanceReportMessage,\n SetBalanceReportMesssage,\n balanceReportModal,\n SetBalanceReportModal,\n setSelectedDate,\n selectedDate,\n setOpenModalOtpVerification,\n openModalOtpVerification,\n phoneNumber,\n sendOtp,\n otpError,\n setOtpError,\n showMerchantVerificationMessage,\n setShowMerchantVerificationMessage,\n cancelAction,\n showModal,\n setShowModal,\n snackbarDetails,\n setSnackbarDetails,\n paymentConfig,\n setLoading,\n setPaymentConfig,\n handleRenewSignupLink,\n showSignupModal,\n setShowSignupModal,\n handleAdyenOnboardingLink,\n adyenLoader\n } = props;\n const [showDialogCreateUrgentMessage, setShowDialogCreateUrgentMessage] = useState(false);\n const [successCreateUrgentMessage, setSuccessCreateUrgentMessage] = useState(false);\n const notShowOption = merchantTypes.includes(globalState.merchant?.merchantType);\n const isMerchantClosed = adminFunctions.accountStatus === MerchantAccountStatus.CLOSED;\n // const isInternalTransferEnabled = adminFunctions.internalTransferStatus === true;\n\n const isAdminOrSuperAdmin =\n globalState.user?.UserType?.name === UserType.SuperAdmin || globalState.user?.UserType?.name === UserType.Admin;\n const isSuperAdmin = globalState.user?.UserType?.name === UserType.SuperAdmin;\n\n const isAdyenOnboarded = adminFunctions.adyenAccountId ? true : false;\n const BalanceReportDatePicker = () => {\n return (\n
    \n Select the month and year\n \n setSelectedDate(value)}\n animateYearScrolling\n minDate={'01-01-2000'}\n maxDate={new Date()}\n />\n \n
    \n );\n };\n return (\n
    \n {error ? (\n setError(false)} severity=\"error\">\n An error occurred. Please contact support or try again.\n \n ) : loading ? (\n \n ) : (\n \n \n \n \n }\n onClick={() => browserHistory.goBack()}\n >\n Back\n \n \n \n \n \n \n \n \n {globalState.reseller?.name === ResellerType.DATMAN && !globalState.merchant?.isStripe && (\n \n )}\n \n {/* We might require the below code in future so it is currently commented out */}\n {/* \n {globalState.reseller?.name === ResellerType.DATMAN && !notShowOption && (\n \n )}\n \n \n {globalState.reseller?.name === ResellerType.DATMAN &&\n !notShowOption &&\n isInternalTransferEnabled &&\n isAdminOrSuperAdmin && }\n */}\n\n {globalState.reseller?.name === ResellerType.DATMAN && (\n \n )}\n {(!adminFunctions.accountVerify || !adminFunctions.bankVerify) && !notShowOption && (\n \n )}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {globalState.reseller?.name === ResellerType.OMNIPAY && (\n \n \n \n )}\n\n {globalState.reseller?.name === ResellerType.DATMAN && (\n \n {\n setIsTestMerchant(e.target.checked);\n submitHandler(e.target.checked);\n }}\n />\n }\n label=\"Test Merchant\"\n />\n \n )}\n {isModalUpdateFeeTier && (\n {\n handleOnChange(updateFeeTierValue);\n setIsModalUpdateFeeTier(false);\n }}\n buttonText={'Update'}\n modalText={`Are you sure you want to change Fee Tier to \"Tier ${updateFeeTierValue}\"`}\n />\n )}\n \n\n \n {globalState.reseller?.name === ResellerType.DATMAN && isSuperAdmin && (\n <>\n \n \n \n\n \n SetBalanceReportModal(true)}\n >\n get report\n \n \n {balanceReportModal && (\n \n )}\n \n )}\n\n \n \n {/* */}\n setRoute(`/document-management/${globalState.merchant?.id}`)}\n >\n Document management\n \n \n {/* \n \n */}\n {isSuperAdmin && (\n \n {\n window.open(supportUtilitiesLinksMap.updateUserAttributes, '_blank');\n }}\n >\n Update user email/phone\n \n \n )}\n\n \n setShowDialogCreateUrgentMessage(true)}\n >\n Add urgent message\n \n \n \n setRoute('/admin-pending-merchants')}\n >\n Pending merchants\n \n \n {globalState.reseller?.name === ResellerType.DATMAN && (\n \n setRoute('/payouts-not-received')}\n >\n Payout Not Received\n \n \n )}\n\n \n \n \n Accept Stripe T&C\n \n \n \n\n {globalState.reseller?.name === ResellerType.OMNIPAY && (\n \n setRoute('/client-register')}\n >\n + New Merchant\n \n \n )}\n\n \n setRoute('/canonical-reseller-onboarding')}\n >\n + Create reseller\n \n \n \n {isSuperAdmin && globalState.reseller?.name === ResellerType.DATMAN && (\n \n \n setShowCreateFeeTier(true)}\n >\n + Create Fee Tier\n \n \n \n )}\n \n {\n window.open(supportUtilitiesLinksMap.addResellerTermsAndConditions, '_blank');\n }}\n >\n Terms and conditions\n \n \n\n {globalState.merchant?.isAdyenMerchant && globalState.reseller?.name === ResellerType.DATMAN && (\n \n \n window.open(getRoute(`/adyen-response/${globalState?.merchant.id}`), '_blank')\n }\n >\n Adyen Response\n \n \n )}\n {isSuperAdmin && (\n \n \n window.open(getRoute(`/auditlogs`), '_blank')}\n >\n Audit Logs\n \n \n \n )}\n {globalState.reseller?.name === ResellerType.DATMAN && (\n \n \n window.open(getRoute(`/adyen-blocked-merchants-list`), '_blank')}\n >\n Adyen Blocked Merchant List\n \n \n \n )}\n {isAdminOrSuperAdmin && globalState.reseller?.name === ResellerType.DATMAN && (\n \n \n \n \n Verify Merchant\n \n \n \n \n )}\n {isAdminOrSuperAdmin && globalState.reseller?.name === ResellerType.DATMAN && (\n \n \n \n \n \n )}\n {isAdminOrSuperAdmin && (\n \n \n setShowSignupModal(true)}\n >\n Reactivate Signup Link\n \n \n \n )}\n {isAdminOrSuperAdmin && isAdyenOnboarded && (\n \n \n handleAdyenOnboardingLink()}\n disabled={adyenLoader}\n startIcon={adyenLoader ? : null}\n >\n {adyenLoader ? 'Loading...' : 'Adyen Onboarding Shareable Link'}\n \n \n \n )}\n {showSignupModal && (\n {\n handleRenewSignupLink();\n setShowSignupModal(false);\n }}\n buttonText={'Reactivate'}\n modalText={`Are you sure you want to reactivate this merchant's signup link?`}\n />\n )}\n {/* */}\n {showCreateFeeTier && (\n \n )}\n \n\n \n \n\n \n {showDialogCreateUrgentMessage && (\n \n )}\n\n {successCreateUrgentMessage && (\n setSuccessCreateUrgentMessage(false)}\n type=\"success\"\n >\n Urgent message was added successfully.\n \n )}\n\n {clientRegistered && (\n setClientRegistered(false)}\n type=\"success\"\n >\n Merchant registered successfully\n \n )}\n\n {resellerCreation && (\n setResellerCreation(false)}\n type=\"success\"\n >\n Reseller created successfully\n \n )}\n\n {showMessage && (\n {\n setOrangeMessageStyle(false);\n setShowMessage(false);\n }}\n type={messageType}\n orangeColor={orangeMessageStyle}\n >\n {merchantVerificationAcceptRejectMessage}\n \n )}\n {showAcceptTermsAndConditionsMessage && (\n {\n setShowAcceptTermsAndConditionsMessage(false);\n setOrangeMessageStyle(false);\n }}\n type={messageType}\n orangeColor={orangeMessageStyle}\n >\n {acceptTermsAndConditionsMessage}\n \n )}\n {(showFeeTierMessage || showMerchantVerificationMessage) && (\n {\n setShowFeeTierMessage(false);\n setShowMerchantVerificationMessage(false);\n }}\n type={messageType}\n >\n {message}\n \n )}\n {showUpdateFeeTierMessage && (\n {\n setShowUpdateFeeTierMessage(false);\n }}\n type={messageType}\n >\n {updateFeeTierMessage}\n \n )}\n {BalanceReportMessage && (\n {\n SetBalanceReportMesssage(false);\n setMessage('');\n }}\n type={messageType}\n >\n {message}\n \n )}\n \n\n {globalState.reseller?.name === ResellerType.DATMAN && (\n \n \n \n \n \n )}\n {openModalOtpVerification && (\n \n )}\n {showModal && (\n \n )}\n {/* {globalState.reseller?.name === ResellerType.DATMAN && (\n \n \n \n )} */}\n \n \n \n {\n setOtpError('');\n }}\n >\n {otpError}\n \n {snackbarDetails.message && (\n setSnackbarDetails({ type: '', message: '' })}\n >\n {snackbarDetails.message}\n \n )}\n \n )}\n \n
    \n );\n}\n\nAdminFunctionsComponent.propTypes = {\n isLoading: PropTypes.bool,\n error: PropTypes.bool,\n setError: PropTypes.func,\n message: PropTypes.bool,\n clientRegistered: PropTypes.bool\n};\n","import { useAdminFunctionsContext, useGlobalStateContext } from 'contexts';\nimport React, { useEffect, useState } from 'react';\nimport { AdminService, OtpService, NonResellerMerchantService, AdyenService } from 'services';\nimport { MerchantAccountStatus } from 'utils/enums/MerchantAccountStatus';\nimport { maskCharacter } from 'utils/helper';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport AdminFunctionsComponent from './admin-functions.component';\nimport moment from 'moment';\nimport { statusCodes } from 'utils/StatusCodes';\nimport { REACT_APP_SIGNUP_LINK_REACTIVATION_PERIOD } from 'utils/constants';\n\nexport default function AdminFunctions(props) {\n const { adminFunctions, setAdminFunctions } = useAdminFunctionsContext();\n const { globalState, getRoute } = useGlobalStateContext();\n const [isLoading, setIsLoading] = useState(false);\n const [adyenLoader, setAdyenLoader] = useState(false);\n const [error, setError] = useState(false);\n const isSubmitted = sessionStorage.getItem('isUserSubmitted');\n const [clientRegistered, setClientRegistered] = useState(false);\n const [resellerCreation, setResellerCreation] = useState(false);\n const [merchantVerificationAcceptRejectMessage, setMerchantVerificationAcceptRejectMessage] = useState('');\n const [showMessage, setShowMessage] = useState(false);\n const [messageType, setMessageType] = useState('');\n const [acceptTermsAndConditionsMessage, setAcceptTermsAndConditionsMessage] = useState('');\n const [showAcceptTermsAndConditionsMessage, setShowAcceptTermsAndConditionsMessage] = useState(false);\n const [orangeMessageStyle, setOrangeMessageStyle] = useState(false);\n const [showCreateFeeTier, setShowCreateFeeTier] = useState(false);\n const [feeTier, setFeeTier] = useState('');\n const [pricingTiers, setPricingTiers] = useState([]);\n const [message, setMessage] = useState('');\n const [showFeeTierMessage, setShowFeeTierMessage] = useState(false);\n const [updateFeeTier, setUpdateFeeTier] = useState('');\n const [isModalUpdateFeeTier, setIsModalUpdateFeeTier] = useState(false);\n const [updateFeeTierValue, setUpdateFeeTierValue] = useState('');\n const [updateFeeTierMessage, setUpdateFeeTierMessage] = useState('');\n const [showUpdateFeeTierMessage, setShowUpdateFeeTierMessage] = useState(false);\n const [loading, setLoading] = useState(false);\n const [BalanceReportMessage, SetBalanceReportMesssage] = useState(false);\n const [balanceReportModal, SetBalanceReportModal] = useState(false);\n const [selectedDate, setSelectedDate] = useState(new Date());\n const [openModalOtpVerification, setOpenModalOtpVerification] = useState(false);\n const [showMerchantVerificationMessage, setShowMerchantVerificationMessage] = useState(false);\n const [phoneNumber, setPhoneNumber] = useState('');\n const [otpError, setOtpError] = useState('');\n const [showModal, setShowModal] = useState(false);\n const [snackbarDetails, setSnackbarDetails] = useState({ type: '', message: '' });\n const [linkStatus, setLinkStatus] = useState(false);\n const [paymentConfig, setPaymentConfig] = useState({\n max_single_txn_limit: 0,\n txnUpperLimit: 0,\n xpress_sale_limit: 0,\n xpressSaleUpperLimit: 0\n });\n const [showSignupModal, setShowSignupModal] = useState(false);\n let supportUtilitiesBaseRoute = getRoute('/support-utilities/');\n\n const supportUtilitiesLinksMap = {\n updateUserAttributes: supportUtilitiesBaseRoute + 'update-user-attributes',\n addResellerTermsAndConditions: supportUtilitiesBaseRoute + 'add-terms-and-conditions'\n };\n\n const getCustomerConfig = async () => {\n setLoading(true);\n const response = await AdminService.GetMerchantDetails();\n\n if (response.isSuccesfully === true) {\n const data = {\n max_single_txn_limit: response.data.data.max_single_txn_limit,\n txnUpperLimit: response.data.data.single_txn_upper_limit,\n xpress_sale_limit: response.data.data.xpress_sale_limit,\n xpressSaleUpperLimit: response.data.data.xpress_sale_upper_limit\n };\n setPaymentConfig(data);\n } else {\n setMessageType('error');\n setMessage('An error occurred while loading Merchant Config');\n }\n setLoading(false);\n };\n useEffect(() => {\n const getPricingTiers = async () => {\n setIsLoading(true);\n const response = await AdminService.getFeeTierNames(globalState?.merchant?.id);\n setIsLoading(false);\n if (response.isSuccesfully === true && !response.data.errorMessage) {\n const customerTierId = response.data?.data?.customerFeetierId;\n const feeTier = response.data?.data?.feeTierNames?.filter((feeTier) => feeTier.id === customerTierId);\n setPricingTiers(response.data?.data?.feeTierNames);\n setFeeTier(feeTier[0]?.id);\n setUpdateFeeTier(feeTier[0]);\n } else {\n setMessageType('error');\n setMessage('An error occurred while loading FeeTierNames');\n }\n };\n getPricingTiers();\n getCustomerConfig();\n // eslint-disable-next-line\n }, [globalState?.merchant?.id]);\n\n useEffect(() => {\n const fetchData = async () => {\n setIsLoading(true);\n if (props?.match?.params?.merchantId) {\n const merchantData = await AdminService.GetMerchantDataForAdmin(props.match.params.merchantId);\n if (merchantData.isSuccesfully) {\n switch (merchantData.data.status) {\n case MerchantStatus.MERCHANT_PENDING:\n merchantData.data.accountStatus = MerchantAccountStatus.PENDING;\n break;\n case MerchantStatus.PENDING_STRIPE:\n merchantData.data.accountStatus = MerchantAccountStatus.PENDING_STRIPE;\n break;\n case MerchantStatus.ACTIVE:\n merchantData.data.accountStatus = MerchantAccountStatus.ACTIVE;\n break;\n case MerchantStatus.CLOSED:\n merchantData.data.accountStatus = MerchantAccountStatus.CLOSED;\n break;\n case MerchantStatus.REJECTED:\n merchantData.data.accountStatus = MerchantAccountStatus.REJECTED;\n break;\n case MerchantStatus.WATCHLIST:\n merchantData.data.accountStatus = MerchantAccountStatus.WATCHLIST;\n break;\n case MerchantStatus.NOT_SUBMITTED:\n merchantData.data.accountStatus = MerchantAccountStatus.NOT_SUBMITTED;\n break;\n default:\n merchantData.data.accountStatus = MerchantAccountStatus.PENDING;\n break;\n }\n setAdminFunctions(merchantData.data);\n setError(false);\n } else {\n setError(true);\n }\n }\n setIsLoading(false);\n };\n fetchData();\n\n // eslint-disable-next-line\n }, [props?.match?.params?.merchantId]);\n\n useEffect(() => {\n if (isSubmitted) {\n setClientRegistered(true);\n sessionStorage.removeItem('isUserSubmitted');\n }\n }, [isSubmitted]);\n\n useEffect(() => {\n const show = sessionStorage.getItem('resellerCreationSuccess');\n if (show) {\n setResellerCreation(true);\n sessionStorage.removeItem('resellerCreationSuccess');\n }\n }, []);\n\n const acceptTermsAndConditions = async () => {\n setIsLoading(true);\n const response = await AdminService.acceptTermsAndConditions(adminFunctions.stripeId, globalState.merchant.id);\n setIsLoading(false);\n setShowAcceptTermsAndConditionsMessage(true);\n if (response.isSuccesfully) {\n setMessageType('success');\n if (response.data.requirement) {\n setOrangeMessageStyle(true);\n setAcceptTermsAndConditionsMessage(response.data.requirement);\n } else {\n setAcceptTermsAndConditionsMessage('Terms and condition accepted');\n }\n } else {\n setMessageType('error');\n setAcceptTermsAndConditionsMessage(response?.error);\n }\n };\n\n const handleOnChange = async (value) => {\n setLoading(true);\n setFeeTier(value);\n setShowUpdateFeeTierMessage(true);\n const response = await AdminService.updateFeeTierId(globalState.merchant?.id, value);\n if (response.isSuccesfully) {\n setMessageType('success');\n setUpdateFeeTierMessage('Fee tier update successfully');\n } else {\n setMessageType('error');\n setAcceptTermsAndConditionsMessage(response?.error);\n }\n setLoading(false);\n setShowUpdateFeeTierMessage(false);\n };\n const SubmitReport = async () => {\n setIsLoading(true);\n const payload = {\n email: globalState?.user?.email,\n month: moment(selectedDate, 'YYYY-MM-DD').month() + 1,\n year: moment(selectedDate, 'YYYY-MM-DD').year()\n };\n const response = await AdminService.GetBalanceReport(payload);\n if (response.isSuccesfully) {\n setMessageType('success');\n setMessage(response.data.message);\n SetBalanceReportModal(false);\n } else {\n setMessageType('error');\n setMessage('No transaction found for this month');\n SetBalanceReportModal(false);\n }\n SetBalanceReportMesssage(true);\n setIsLoading(false);\n setSelectedDate(new Date());\n };\n const cancelAction = () => {\n setSelectedDate(new Date());\n };\n\n const sendOtp = async () => {\n setOpenModalOtpVerification(false);\n setIsLoading(true);\n const response = await OtpService.createOtp(globalState.merchant?.id, {\n method: 'phone',\n type: 'merchant-verification',\n portalURL: globalState.reseller?.portalURL\n });\n if (response.isSuccesfully) {\n setPhoneNumber(maskCharacter(response.data.data));\n setOpenModalOtpVerification(true);\n } else {\n setOtpError(response.data);\n }\n setIsLoading(false);\n };\n\n const handleRenewSignupLink = async () => {\n try {\n const { data } = await NonResellerMerchantService.RenewSignupLink(globalState.merchant?.id);\n const isSuccess = data?.statusCode === statusCodes.REACTIVATING_SIGNUP_LINK().statusCode;\n\n setSnackbarDetails({\n type: isSuccess ? 'success' : 'error',\n message: isSuccess\n ? statusCodes.REACTIVATING_SIGNUP_LINK(Number(REACT_APP_SIGNUP_LINK_REACTIVATION_PERIOD)).message\n : statusCodes.SIGNUP_LINK_REACTIVATION_UNAVAILABLE.message\n });\n } catch (error) {\n console.error('~~ Reactivation failed: ~~', error);\n }\n };\n\n const handleAdyenOnboardingLink = async () => {\n try {\n setAdyenLoader(true);\n const response = await AdyenService.adyenOnboardingShareableLink(globalState?.merchant?.id);\n if (response.isSuccesfully) {\n setAdyenLoader(false);\n await navigator.clipboard.writeText(response.data);\n setSnackbarDetails({\n type: 'success',\n message: 'Adyen onboarding link successfully sent to the merchant owner'\n });\n } else {\n setAdyenLoader(false);\n setSnackbarDetails({\n type: 'error',\n message: 'Not a valid merchantId'\n });\n }\n } catch (error) {\n setAdyenLoader(false);\n setSnackbarDetails({\n type: 'error',\n message: 'Not a valid merchantId'\n });\n console.error('~~ Coping Adyen Onboarding Link failed ~~', error);\n }\n };\n\n return (\n \n );\n}\n","import React from 'react';\nimport { Box, Paper, Grid } from '@material-ui/core';\nimport { PageHeader, Calendar, PdqTransactionList, Banner } from 'components';\nimport WithdrawalContainer from '../withdrawal/withdrawal.container';\nimport style from './pdq-transactions.module.scss';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport { useGlobalStateContext } from 'contexts';\nimport { bannerMessage } from 'utils/banner-message';\n\nconst PdqTransactionsComponent = (props) => {\n const { globalState } = useGlobalStateContext();\n const { date: dateFromUrlParams, via: viaFromUrlParams } = props.match.params;\n const { pathname } = props.location;\n const isMerchantAccountClosed = globalState.merchant?.status === MerchantStatus.CLOSED;\n\n return (\n
    \n \n {isMerchantAccountClosed && }\n \n \n \n \n \n \n\n \n \n \n
    \n );\n};\n\nexport default PdqTransactionsComponent;\n","import React, { useState } from 'react';\nimport PdqTransactionsComponent from './pdq-transactions.component';\n\nconst PdqTransactions = (props) => {\n const [loading, setLoading] = useState(false);\n const [startDate, setStartDate] = useState();\n const [endDate, setEndDate] = useState();\n\n return (\n \n );\n};\n\nexport default PdqTransactions;\n","import React from 'react';\nimport { Redirect } from 'react-router-dom';\nimport { useGlobalStateContext } from 'contexts';\nimport { UserType } from 'utils/enums/UserType';\nimport LoggedRoute from './logged-route';\n\nconst AdminUserTypeRoute = ({ component: Component, ...rest }) => {\n const { globalState } = useGlobalStateContext();\n return (\n \n globalState.user?.UserType?.name === UserType.Admin ||\n globalState.user?.UserType?.name === UserType.SuperAdmin ? (\n \n ) : (\n \n )\n }\n />\n );\n};\n\nexport default AdminUserTypeRoute;\n","import React from 'react';\nimport { Redirect } from 'react-router-dom';\nimport { useGlobalStateContext } from 'contexts';\nimport { UserType } from 'utils/enums/UserType';\nimport LoggedRoute from './logged-route';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\n\nconst RestrictedAdminUserTypeRoute = ({ component: Component, ...rest }) => {\n const { globalState } = useGlobalStateContext();\n const merchantStatus = globalState.merchant?.status;\n const isAdmin = globalState.user?.UserType?.name === UserType.Admin;\n const isSuperAdmin = globalState.user?.UserType?.name === UserType.SuperAdmin;\n const isClosedMerchant = merchantStatus === MerchantStatus.CLOSED;\n\n return (\n {\n if ((isAdmin && !isClosedMerchant) || isSuperAdmin) {\n return ;\n } else {\n return (\n \n );\n }\n }}\n />\n );\n};\n\nexport default RestrictedAdminUserTypeRoute;\n","import React from 'react';\nimport { Redirect } from 'react-router-dom';\nimport { useGlobalStateContext } from 'contexts';\nimport { UserType } from 'utils/enums/UserType';\nimport LoggedRoute from './logged-route';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\n\nconst WorkingAccountRoute = ({ component: Component, ...rest }) => {\n const { globalState } = useGlobalStateContext();\n const user = globalState.user;\n const merchantStatus = globalState.merchant?.status;\n const allowedUser = user?.UserType?.name === UserType.SuperAdmin || merchantStatus !== MerchantStatus.CLOSED;\n return (\n \n allowedUser ? (\n \n ) : (\n \n )\n }\n />\n );\n};\n\nexport default WorkingAccountRoute;\n","import React from 'react';\nimport { Redirect } from 'react-router-dom';\nimport { useGlobalStateContext } from 'contexts';\nimport LoggedRoute from './logged-route';\nimport { merchantTypes } from 'utils/helper.js';\n\nconst TransactionPageAccessibilityRoute = ({ component: Component, ...rest }) => {\n const { globalState } = useGlobalStateContext();\n\n function canAccessTheTransactionPage(merchant, transactionPagePath) {\n if (transactionPagePath.includes('internal-transfers')) {\n return merchant.internalTransferStatus && !merchantTypes.includes(globalState.merchant?.merchantType);\n }\n return true;\n }\n\n return (\n \n canAccessTheTransactionPage(globalState.merchant, rest.path) ? (\n \n ) : (\n \n )\n }\n />\n );\n};\n\nexport default TransactionPageAccessibilityRoute;\n","import React from 'react';\nimport { useGlobalStateContext } from 'contexts';\nimport { UserType } from 'utils/enums/UserType';\nimport LoggedRoute from './logged-route';\nimport { Redirect } from 'react-router-dom';\n\nexport default function MerchantManager({ ...rest }) {\n const { globalState } = useGlobalStateContext();\n const isReseller = globalState.user?.UserType?.name === UserType.Reseller;\n\n if (!isReseller) {\n return (\n \n );\n }\n\n return ;\n}\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { CardMultiSelectDatman } from 'components/onboarding/onboarding-ui-components';\nimport styles from './manage-products-datman.module.scss';\nimport { Button, Grid, Typography } from '@material-ui/core';\nimport { useGlobalStateContext } from 'contexts';\nimport { LoadingScreen } from 'components';\n\nexport default function ManageProductsDatmanComponent(props) {\n const { setRoute } = useGlobalStateContext();\n const { products, selectedProducts, setSelectedProducts, onSubmit, isLoading } = props;\n\n return (\n \n {!isLoading && (\n \n \n Products required\n \n \n Please select products you require.\n \n
    \n \n \n setSelectedProducts(value)}\n value={selectedProducts}\n />\n \n \n setRoute('/settings')}\n >\n Cancel\n \n \n \n onSubmit()}\n >\n Submit\n \n \n \n
    \n
    \n )}\n \n
    \n );\n}\n\nManageProductsDatmanComponent.propTypes = {\n products: PropTypes.array,\n selectedProducts: PropTypes.array,\n setSelectedProducts: PropTypes.func,\n onSubmit: PropTypes.func,\n isLoading: PropTypes.bool\n};\n","import { useGlobalStateContext } from 'contexts';\nimport React, { useEffect, useState } from 'react';\nimport { NonResellerMerchantService, TaxonomyService } from 'services';\nimport ManageProductsDatmanComponent from './manage-products-datman.component';\nimport { ResellerType } from 'utils/enums/ResellerType';\nimport { ProductsRequired } from 'utils/enums/ProductsRequired';\n\nexport default function ManageProductsDatman() {\n const { globalState, setGlobalState, setRoute } = useGlobalStateContext();\n const [products, setProducts] = useState([]);\n const merchantSelectedProducts = globalState.merchant?.merchantProductRequired.map((product) => {\n return product.id;\n });\n const [selectedProducts, setSelectedProducts] = useState(merchantSelectedProducts);\n const [isLoading, setIsLoading] = useState([]);\n const imgPaths = [\n require('../../../assets/icons/gateway.svg'),\n require('../../../assets/icons/my-pay-app.svg'),\n require('../../../assets/icons/virtual-terminal.png'),\n require('../../../assets/icons/my-ecomm.svg'),\n require('../../../assets/icons/card-machine.svg')\n ];\n\n useEffect(() => {\n const getProducts = async () => {\n setIsLoading(true);\n const productsRequest = await TaxonomyService.getProductsRequired();\n if (productsRequest.isSuccesfully) {\n const products = productsRequest.data;\n products.forEach((element, index) => {\n element.imgPath = imgPaths[index];\n });\n if (globalState.reseller?.name === ResellerType.DATMAN) {\n const datmanProducts = products.filter(function (product) {\n return product.name === ProductsRequired.PDQ || product.name === ProductsRequired.Gateway;\n });\n setProducts(datmanProducts);\n } else {\n setProducts(products);\n }\n }\n setIsLoading(false);\n };\n\n getProducts();\n // eslint-disable-next-line\n }, []);\n\n const onSubmit = async () => {\n setIsLoading(true);\n const data = {\n productsRequiredIds: selectedProducts,\n resellerId: globalState.reseller.id\n };\n await NonResellerMerchantService.completeOnboardingStep(globalState.merchant?.id, 7, data);\n setGlobalState((globalState) => ({\n ...globalState,\n shouldLoadMerchants: !globalState.shouldLoadMerchants,\n shouldLoadThisMerchant: globalState.merchant?.id\n }));\n\n setIsLoading(false);\n setRoute('/settings');\n };\n\n return (\n \n );\n}\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Button, TextField } from '@material-ui/core';\nimport styles from './dialog-view-manage-products.module.scss';\nimport { Dialog, DialogContent, DialogContentText, DialogActions } from '@material-ui/core';\nimport Divider from '@material-ui/core/Divider';\nimport CloseIcon from '@material-ui/icons/Close';\nimport { LoadingScreen } from 'components';\nimport { ProductStatus } from 'utils/enums/ProductsRequired';\n\nexport default function DialogViewProductsComponent(props) {\n const {\n isModalOpen,\n setIsModalOpen,\n onReject,\n setOnReject,\n setReason,\n onSubmit,\n approve,\n reject,\n onApprove,\n isLoading,\n selectedProduct\n } = props;\n\n return (\n \n \n \n \n \n \n \n Do you approve\n {selectedProduct?.status === ProductStatus.ADDITION_PENDING ? (\n addition\n ) : (\n deletion\n )}\n  of this new product?\n \n \n \n \n {\n setOnReject(true);\n setIsModalOpen(false);\n }}\n >\n Reject\n \n \n Approve\n \n \n \n \n \n \n \n \n \n \n Please enter the reason to reject\n \n setReason(e.target.value.trim())}\n className={styles.textfield}\n />\n \n \n {\n setOnReject(false);\n setIsModalOpen(true);\n }}\n >\n Cancel\n \n \n Submit\n \n \n \n \n \n );\n}\n\nDialogViewProductsComponent.propTypes = {\n isModalOpen: PropTypes.bool,\n setIsModalOpen: PropTypes.func,\n onApprove: PropTypes.func,\n onReject: PropTypes.bool,\n setOnReject: PropTypes.func,\n onSubmit: PropTypes.func,\n setReason: PropTypes.func,\n setApprove: PropTypes.func,\n setReject: PropTypes.func,\n isLoading: PropTypes.bool\n};\n","import React, { useState, useEffect } from 'react';\nimport { NonResellerMerchantService, AdminService } from 'services';\nimport DialogViewProductsComponent from './dialog-view-manage-products.component';\nimport { useGlobalStateContext } from 'contexts';\nimport { ProductStatus } from 'utils/enums/ProductsRequired';\nimport PropTypes from 'prop-types';\n\nexport default function DialogViewProducts(props) {\n const {\n isModalOpen,\n setIsModalOpen,\n productId,\n approvedProducts,\n approve,\n reject,\n setReject,\n setApprove,\n value,\n setSelectedProducts\n } = props;\n\n const [onReject, setOnReject] = useState(false);\n const [reason, setReason] = useState('');\n const { globalState, setGlobalState } = useGlobalStateContext();\n const [isLoading, setIsLoading] = useState(false);\n const [permissionEntities, setPermissionEntitites] = useState([]);\n const [selectedProduct, setSelectedProduct] = useState(null);\n\n useEffect(() => {\n setPermissionEntitites(value ? value : []);\n setSelectedProduct(value ? { ...value[productId] } : {});\n }, [value, productId]);\n\n const index = productId;\n\n const onApprove = async () => {\n setApprove(true);\n setIsLoading(true);\n const previousStatus = permissionEntities[index].status;\n permissionEntities[index].status =\n permissionEntities[index].status === ProductStatus.ADDITION_PENDING\n ? ProductStatus.ACTIVE\n : ProductStatus.INACTIVE;\n\n const data = {\n productsRequiredIds: permissionEntities,\n resellerId: globalState.reseller.id\n };\n await NonResellerMerchantService.completeOnboardingStep(globalState.merchant?.id, 7, data);\n\n await AdminService.SendProductStatusEmail(globalState.merchant?.id, {\n productId: permissionEntities[index].id,\n status: permissionEntities[index].status,\n resellerId: globalState.reseller.id,\n prevStatus: previousStatus\n });\n\n setGlobalState((globalState) => ({\n ...globalState,\n merchant: {\n ...globalState.merchant,\n merchantProductRequired: [...permissionEntities]\n }\n }));\n\n setIsModalOpen(false);\n setIsLoading(false);\n setApprove(false);\n };\n\n const onSubmit = async () => {\n setIsLoading(true);\n const prevStatus = permissionEntities[index].status;\n permissionEntities[index].status =\n permissionEntities[index].status === ProductStatus.ADDITION_PENDING\n ? ProductStatus.REJECTED\n : permissionEntities[index].status === ProductStatus.DELETION_PENDING\n ? ProductStatus.ACTIVE\n : ProductStatus.INACTIVE;\n permissionEntities[index].additionalInfo = reason;\n setSelectedProducts([...permissionEntities]);\n\n const data = {\n productsRequiredIds: permissionEntities,\n resellerId: globalState.reseller.id\n };\n await NonResellerMerchantService.completeOnboardingStep(globalState.merchant?.id, 7, data);\n\n setGlobalState((globalState) => ({\n ...globalState,\n merchant: {\n ...globalState.merchant,\n merchantProductRequired: [...permissionEntities]\n }\n }));\n\n await AdminService.SendProductStatusEmail(globalState.merchant?.id, {\n productId: permissionEntities[index].id,\n status: permissionEntities[index].status,\n reason: permissionEntities[index].additionalInfo,\n resellerId: globalState.reseller.id,\n prevStatus: prevStatus\n });\n\n setSelectedProduct({ ...permissionEntities[productId] });\n setIsModalOpen(false);\n setOnReject(false);\n setIsLoading(false);\n };\n\n return (\n \n );\n}\nDialogViewProducts.propTypes = {\n approvedProducts: PropTypes.array,\n setApprovedProducts: PropTypes.func,\n isModalOpen: PropTypes.bool,\n setIsModelOpen: PropTypes.func,\n productId: PropTypes.number,\n rejectedProducts: PropTypes.array,\n setRejectedProducts: PropTypes.func,\n isLoading: PropTypes,\n approve: PropTypes.bool,\n reject: PropTypes.bool,\n value: PropTypes.array\n};\n","import React from 'react';\nimport { Dialog, DialogTitle, DialogContent, DialogContentText, DialogActions } from '@material-ui/core';\nimport styles from './product-add-remove-dialog-box.module.scss';\nimport { Button } from '@material-ui/core';\n\nexport default function ProductAddRemoveDialogBoxComponent(props) {\n const { openDialog, setOpenDialog, dialogBoxTitle, dialogBoxContentText, confirmAction } = props;\n\n return (\n \n {dialogBoxTitle}\n\n \n {dialogBoxContentText}\n \n \n \n \n \n \n );\n}\n","import React, { useEffect, useState } from 'react';\nimport ProductAddRemoveDialogBoxComponent from './product-add-remove-dialog-box.component';\nimport { ProductStatus } from 'utils/enums/ProductsRequired';\n\nexport default function ProductAddRemoveDialogBox(props) {\n const { selectedEntity, selectedProducts, setSelectedProducts, setOpenDialog, onSubmit } = props;\n const [dialogBoxTitle, setDialogBoxTitle] = useState('');\n const [dialogBoxContentText, setDialogBoxContentText] = useState('');\n\n useEffect(() => {\n if (selectedEntity?.status === ProductStatus.INACTIVE) {\n setDialogBoxTitle('Add Product');\n setDialogBoxContentText('You selected a new product. Do you wish to add new product?');\n } else {\n setDialogBoxTitle('Remove Product');\n setDialogBoxContentText('Are you sure you want to remove this product?');\n }\n }, [selectedEntity]);\n\n const confirmAction = () => {\n setOpenDialog(false);\n const elementId = selectedEntity.id;\n const index = selectedProducts.indexOf(selectedProducts.find((e) => e.id === elementId));\n selectedProducts[index].status =\n selectedProducts[index].status === ProductStatus.INACTIVE\n ? ProductStatus.ADDITION_PENDING\n : ProductStatus.DELETION_PENDING;\n setSelectedProducts([...selectedProducts]);\n onSubmit();\n };\n\n return (\n \n );\n}\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { CardMultiSelect } from 'components/onboarding/onboarding-ui-components';\nimport styles from './manage-products-omnipay.module.scss';\nimport { Button, Grid, Typography } from '@material-ui/core';\nimport { useGlobalStateContext } from 'contexts';\nimport { LoadingScreen } from 'components';\nimport DialogViewProducts from '../dialog-view-manage-products/dialog-view-manage-products.container';\nimport ProductAddRemoveDialogBox from '../product-add-remove-dialog-box/product-add-remove-dialog-box.container';\nimport { SnackBarAndAlert } from 'components';\n\nexport default function ManageProductsOmniPayComponent(props) {\n const { setRoute } = useGlobalStateContext();\n const {\n //products,\n selectedProducts,\n setSelectedProducts,\n onSubmit,\n isLoading,\n openDialog,\n setOpenDialog,\n isModalOpen,\n setIsModalOpen,\n productId,\n setProductId,\n approve,\n setApprove,\n selectedEntity,\n setSelectedEntity,\n errorMessage,\n setErrorMessage\n } = props;\n\n return (\n \n {!isLoading && (\n \n {errorMessage && (\n setErrorMessage(null)} type=\"error\">\n {errorMessage ?

    {errorMessage}

    : ''}\n
    \n )}\n \n Products Required\n \n \n Please select products you require.\n \n
    \n \n \n setSelectedProducts(value)}\n value={selectedProducts}\n setIsModalOpen={setIsModalOpen}\n setProductId={setProductId}\n setOpenDialog={setOpenDialog}\n setSelectedEntity={setSelectedEntity}\n manageMyProductPage\n />\n \n \n setRoute('/settings')}\n >\n Close\n \n \n \n
    \n
    \n )}\n \n \n\n \n
    \n );\n}\n\nManageProductsOmniPayComponent.propTypes = {\n products: PropTypes.array,\n selectedProducts: PropTypes.array,\n setSelectedProducts: PropTypes.func,\n onSubmit: PropTypes.func,\n isLoading: PropTypes.bool,\n openDialog: PropTypes.bool,\n setOpenDialog: PropTypes.func,\n productId: PropTypes.number,\n setProductId: PropTypes.func\n};\n","import { useGlobalStateContext } from 'contexts';\nimport React, { useEffect, useState } from 'react';\nimport { NonResellerMerchantService, TaxonomyService } from 'services';\nimport ManageProductsOmniPayComponent from './manage-products-omnipay.component';\nimport { ProductStatus } from 'utils/enums/ProductsRequired';\nimport _ from 'lodash';\nimport { UserType } from 'utils/enums/UserType';\n\nexport default function ManageProductsOmniPay() {\n const { globalState, setGlobalState } = useGlobalStateContext();\n const [products, setProducts] = useState([]);\n const [hasUpdatedProducts, setHasUpdatedProducts] = useState(false);\n const [isModalOpen, setIsModalOpen] = useState(false);\n const [openDialog, setOpenDialog] = useState(false);\n const [productId, setProductId] = useState(0);\n const [approve, setApprove] = useState(false);\n const [selectedEntity, setSelectedEntity] = useState({});\n const [errorMessage, setErrorMessage] = useState('');\n\n const merchantSelectedProducts = globalState.merchant?.merchantProductRequired;\n const [selectedProducts, setSelectedProducts] = useState([]);\n const [isLoading, setIsLoading] = useState([]);\n const isAdmin =\n globalState.user?.UserType?.name === UserType.Admin || globalState.user?.UserType?.name === UserType.SuperAdmin;\n const imgPaths = [\n require('../../../assets/icons/gateway.svg'),\n require('../../../assets/icons/my-pay-app.svg'),\n require('../../../assets/icons/virtual-terminal.png'),\n require('../../../assets/icons/my-ecomm.svg'),\n require('../../../assets/icons/card-machine.svg')\n ];\n\n const merchantProducts = async (items) => {\n setProducts(JSON.parse(JSON.stringify(items)));\n };\n\n useEffect(() => {\n const getProducts = async () => {\n setIsLoading(true);\n const productsRequest = await TaxonomyService.getProductsRequired();\n if (productsRequest.isSuccesfully) {\n const allProducts = productsRequest.data;\n allProducts.forEach((element, index) => {\n element.imgPath = imgPaths[index];\n let product = merchantSelectedProducts.find((p) => p.id === element.id);\n\n if (product) {\n element.status = product.status;\n element.additionalInfo = product.additionalInfo;\n } else {\n element.status = ProductStatus.INACTIVE;\n element.additionalInfo = null;\n }\n });\n\n const mypayProducts = _.pullAt(allProducts, [0, 1, 2, 4]);\n await merchantProducts(mypayProducts);\n setSelectedProducts(mypayProducts);\n }\n\n setIsLoading(false);\n };\n\n getProducts();\n // eslint-disable-next-line\n }, [globalState.merchant]);\n\n useEffect(() => {\n const hasSelectedProducts = async () => {\n setHasUpdatedProducts(true);\n };\n hasSelectedProducts();\n }, [selectedProducts]);\n\n const onSubmit = async () => {\n const updatedProduct = selectedProducts.filter((el) => {\n return products.some((f) => {\n return f.status !== el.status && f.id === el.id;\n });\n });\n\n if (hasUpdatedProducts || updatedProduct.length === 0) {\n if (updatedProduct) {\n setIsLoading(true);\n if (!isAdmin) {\n await NonResellerMerchantService.updateProducts(globalState.merchant?.id, {\n updatedProduct,\n resellerId: globalState.reseller.id\n });\n }\n const data = {\n productsRequiredIds: selectedProducts,\n resellerId: globalState.reseller.id\n };\n const response = await NonResellerMerchantService.completeOnboardingStep(\n globalState.merchant?.id,\n 7,\n data\n );\n\n if (response.isSuccesfully) {\n const updated = [...selectedProducts];\n await merchantProducts(updated);\n } else {\n const notUpdated = [...products];\n setSelectedProducts(JSON.parse(JSON.stringify(notUpdated)));\n setErrorMessage('An error occurred. Try again !');\n }\n\n setGlobalState((globalState) => ({\n ...globalState,\n shouldLoadMerchants: !globalState.shouldLoadMerchants\n }));\n\n setIsLoading(false);\n }\n }\n };\n\n return (\n \n );\n}\n","import { useGlobalStateContext } from 'contexts';\nimport React from 'react';\nimport ManageProductsDatman from './mange-products-datman/manage-products-datman.container';\nimport ManageProductsOmniPay from './mange-product-omnipay/manage-products-omnipay.container';\n\nexport default function ManageProducts() {\n const { globalState } = useGlobalStateContext();\n const isDatmanReseller = globalState.reseller.id === 2;\n\n return isDatmanReseller ? : ;\n}\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport style from './bank-verification-upload-documents.module.scss';\nimport { Card, Box, Typography } from '@material-ui/core';\nimport { UploadDocuments } from 'components/onboarding/onboarding-ui-components';\nimport { DocumentFlag } from 'utils/enums/DocumentFlag';\nimport { FinishUploadButton, PendingDocsList, LoadingScreen } from 'components';\n\nfunction BunkAccountUploadingDocumentsComponent(props) {\n const {\n merchantId,\n setValidForm,\n setFormattedDocumentsStats,\n formattedDocumentsStats,\n setUploadSuccess,\n businessTypeId,\n isFinishButtonDisabled,\n setIsFinishButtonDisabled,\n bankUpload,\n setBankUpload,\n source,\n loading,\n csrfToken,\n formType\n } = props;\n\n return (\n \n \n \n \n

    Bank verification documents

    \n
    \n {formattedDocumentsStats?.pendingDocumentCategories?.length ? (\n <>\n {!formattedDocumentsStats.needsOnlyGenericCategoryDocs ? (\n

    Documents that are required for identification are:

    \n ) : (\n ''\n )}\n \n {!formattedDocumentsStats.needsOnlyGenericCategoryDocs ? (\n

    Kindly upload the above documents.

    \n ) : (\n ''\n )}\n \n ) : (\n ''\n )}\n The required formats are: .png, .jpeg, .jpg, .pdf.\n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n \n \n
    \n );\n}\n\nBunkAccountUploadingDocumentsComponent.propTypes = {\n isFinishButtonDisabled: PropTypes.bool,\n setIsFinishButtonDisabled: PropTypes.func,\n bankUpload: PropTypes.bool,\n setBankUpload: PropTypes.func,\n source: PropTypes.string\n};\nexport default BunkAccountUploadingDocumentsComponent;\n","import React, { useState, useEffect } from 'react';\nimport BunkAccountUploadingDocumentsComponent from './bank-verification-upload-documents.component';\nimport { useGlobalStateContext } from 'contexts';\nimport { DocumentsService, BusinessDetailsService, AuthService } from 'services';\nimport { formTypes } from 'utils/enums/FormTypes';\n\nfunction BunkAccountUploadingDocumentsContainer(props) {\n const { globalState } = useGlobalStateContext();\n\n const [validForm, setValidForm] = useState(false);\n const [formattedDocumentsStats, setFormattedDocumentsStats] = useState({});\n const [uploadSuccess, setUploadSuccess] = useState(false);\n const [isFinishButtonDisabled, setIsFinishButtonDisabled] = useState(true);\n const [bankUpload, setBankUpload] = useState(false);\n const [businessDetails, setBusinessDetails] = useState({});\n const [count, setCount] = useState(1);\n const [loading, setLoading] = useState(true);\n\n const isBankDetailsUpdated = props.location.state?.isBankDetailsUpdated;\n\n const [csrfToken, setCSRFToken] = useState('');\n\n useEffect(() => {\n const generateCSRFToken = async () => {\n setLoading(true);\n const response = await AuthService.generateCSRFToken(\n formTypes.BANK_DOCUMENT_UPLOAD,\n globalState.merchant?.id\n );\n if (response.isSuccesfully) {\n setCSRFToken(response.data.csrfToken);\n }\n setLoading(false);\n };\n generateCSRFToken();\n // eslint-disable-next-line\n }, [globalState.merchant.id]);\n\n useEffect(() => {\n const retrieveBusinessDetails = async () => {\n const businessDetailsResult = await BusinessDetailsService.getBusinessDetails(globalState.merchant?.id);\n if (businessDetailsResult.isSuccesfully) {\n setBusinessDetails(businessDetailsResult.data.businessDetails || {});\n }\n setLoading(false);\n };\n\n if (globalState.merchant?.id) {\n retrieveBusinessDetails();\n }\n }, [globalState.merchant]);\n\n useEffect(() => {\n async function sendAsyncRequest() {\n if (uploadSuccess) {\n const response = await DocumentsService.notifyAdminAboutDocumentUploading(\n globalState.merchant.id,\n globalState.reseller.id,\n isBankDetailsUpdated\n );\n if (response.isSuccesfully) {\n setCount(count + 1);\n sessionStorage.setItem('uploadSucess', count);\n }\n }\n }\n sendAsyncRequest();\n // eslint-disable-next-line\n }, [uploadSuccess]);\n\n return (\n \n );\n}\n\nBunkAccountUploadingDocumentsContainer.propTypes = {};\n\nexport default BunkAccountUploadingDocumentsContainer;\n","export const CanonicalResellerStatusNames = {\n 3: 'Active',\n 4: 'Closed'\n};\n\nexport const CanonicalResellerStatus = {\n ACTIVE: 3,\n CLOSED: 4\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n Button,\n CircularProgress,\n Paper,\n Table,\n TableBody,\n TableCell,\n TableContainer,\n TableFooter,\n TablePagination,\n TableRow,\n TextField,\n Select,\n MenuItem,\n FormControl,\n InputLabel,\n FormControlLabel,\n Checkbox,\n Grid,\n Input,\n Tooltip\n} from '@material-ui/core';\nimport { makeStyles } from '@material-ui/core/styles';\nimport TableHeader from '../../../components/payments/transaction-tables/table-header/table-header.container.js';\nimport { ThirdPartyMerchantIdAndStoreId } from 'components';\nimport { Link } from 'react-router-dom';\nimport styles from './admin-pending-merchants.module.scss';\nimport { formatDateTimeByFormatString, stableSort, getComparator } from 'utils/helper';\nimport { MerchantStatusNames } from 'utils/enums/MerchantStatusNames';\nimport { CanonicalResellerStatusNames } from 'utils/enums/CanonicalResellerStatus';\nimport FileCopyIcon from '@material-ui/icons/FileCopy';\nimport { SnackBarAndAlert } from 'components';\nimport { useGlobalStateContext } from 'contexts';\n\nconst useStyles = makeStyles(() => ({\n visuallyHidden: {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: 1,\n margin: -1,\n padding: 0,\n position: 'absolute',\n top: 20,\n width: 1\n },\n tableCellSmallSize: {\n '& td': {\n padding: '6px 14px 6px 14px'\n },\n '& th': {\n padding: '6px 14px 6px 14px'\n }\n }\n}));\n\nexport default function AdminPendingMerchantsComponent(props) {\n const { setRoute } = useGlobalStateContext();\n\n const {\n pendingMerchants,\n onGoToAccount,\n isLoading,\n onSearchMerchants,\n setInputValue,\n count,\n page,\n rowsPerPage,\n handleChangePage,\n handleChangeRowsPerPage,\n filter,\n setFilter,\n order,\n orderBy,\n showCanonicalResellersList,\n canonicalResellerList,\n handleCopyResellerId,\n closeCopyAlert,\n isCopyAlertOpen,\n checkResellerViewHandler\n } = props;\n const classes = useStyles();\n return (\n \n \n
    \n setInputValue(e.target.value)}\n />\n \n Search\n \n {!showCanonicalResellersList && (\n \n \n Filter\n \n {\n setFilter(e.target.value);\n }}\n className={styles.selectInput}\n >\n All\n Not Submitted\n Pending\n Pending Stripe\n Active\n Closed\n Rejected\n Watch List\n \n \n )}\n\n \n \n }\n label=\"Reseller\"\n labelPlacement=\"end\"\n />\n \n \n
    \n
    \n {isLoading ? (\n
    \n \n
    \n ) : (\n \n {pendingMerchants.length === 0 && canonicalResellerList.length === 0 ? (\n
    No results found
    \n ) : (\n \n \n {showCanonicalResellersList ? (\n \n {stableSort(canonicalResellerList, getComparator(order, orderBy)).map(\n (canonicalReseller) => (\n \n \n setRoute(\n `/canonical-reseller-merchant-management/${canonicalReseller.id}`\n )\n }\n className={styles.resellerNameStyle}\n >\n \n {canonicalReseller.name} \n \n \n \n {CanonicalResellerStatusNames[canonicalReseller.status]}\n \n \n \n \n \n \n \n \n handleCopyResellerId(canonicalReseller.id)\n }\n />\n \n \n \n \n {formatDateTimeByFormatString(\n canonicalReseller.createdDate,\n 'DD MMM HH:mm'\n )}\n \n \n )\n )}\n \n \n \n \n ) : (\n \n {stableSort(pendingMerchants, getComparator(order, orderBy)).map(\n (pendingMerchant) => (\n \n \n \n onGoToAccount(pendingMerchant.id)}>\n {pendingMerchant.name}\n \n \n \n\n {MerchantStatusNames[pendingMerchant.status]}\n \n {pendingMerchant.postCode}\n \n \n \n \n \n {formatDateTimeByFormatString(\n pendingMerchant.createdDate,\n 'DD MMM HH:mm'\n )}\n \n \n {formatDateTimeByFormatString(\n pendingMerchant.completedDate,\n 'DD MMM HH:mm'\n )}\n \n {/* \n onGoToAccount(pendingMerchant.id)}>\n Account\n \n */}\n \n \n MS\n \n \n \n )\n )}\n \n \n \n \n )}\n \n \n {count > 20 && (\n \n )}\n \n \n \n )}\n
    \n )}\n
    \n {isCopyAlertOpen && (\n \n Successfully copied the reseller id.\n \n )}\n
    \n );\n}\n\nAdminPendingMerchantsComponent.propTypes = {\n pendingMerchants: PropTypes.array,\n onGoToAccount: PropTypes.func,\n isLoading: PropTypes.bool,\n onSearchMerchants: PropTypes.func,\n setInputValue: PropTypes.func,\n count: PropTypes.number,\n page: PropTypes.number,\n rowsPerPage: PropTypes.number,\n handleChangePage: PropTypes.func,\n handleChangeRowsPerPage: PropTypes.func,\n filter: PropTypes.string,\n setFilter: PropTypes.func\n};\n","import { useGlobalStateContext } from 'contexts';\nimport React, { useEffect, useState } from 'react';\nimport { AdminService, CanonicalResellerService } from 'services';\nimport AdminPendingMerchantsComponent from './admin-pending-merchants.component';\nimport { useHistory } from 'react-router-dom';\n\nexport default function AdminPedingMerchants() {\n const { globalState, getRoute } = useGlobalStateContext();\n const [pendingMerchants, setPendingMerchants] = useState([]);\n const [isLoading, setIsLoading] = useState(false);\n const [inputValue, setInputValue] = useState('');\n const [count, setCount] = useState(0);\n // const [searchOnlyPendingMerchants, setSearchOnlyPendingMerchants] = useState(true);\n const [filter, setFilter] = useState('all');\n const [statusFilter, setStatusFilter] = useState([]);\n\n const [page, setPage] = useState(0);\n const [rowsPerPage, setRowsPerPage] = useState(50);\n const [order, setOrder] = React.useState('desc');\n const [orderBy, setOrderBy] = React.useState('createdDate');\n const [showCanonicalResellersList, setShowCanonicalResellersList] = useState(false);\n const [canonicalResellerList, setCanonicalResellerList] = useState([]);\n const [isCopyAlertOpen, setIsCopyAlertOpen] = useState(false);\n const history = useHistory();\n\n const pendingMerchantsHeadCells = [\n { id: 'name', numeric: false, disablePadding: false, label: 'Name' },\n { id: 'status', numeric: false, disablePadding: false, label: 'Status' },\n { id: 'postcode', numeric: false, disablePadding: false, label: 'Postcode', hideSortingIcon: true },\n { id: 'store/merchant id', numeric: true, disablePadding: false, label: 'Customer', hideSortingIcon: true },\n { id: 'createdDate', numeric: false, disablePadding: false, label: 'Created' },\n { id: 'completedDate', numeric: false, disablePadding: false, label: 'Completed' },\n // { id: 'account', numeric: false, disablePadding: false, label: 'Account', hideSortingIcon: true },\n { id: 'ms', numeric: false, disablePadding: false, label: 'MS', hideSortingIcon: true }\n ];\n\n const canonicalResellersHeadCells = [\n { id: 'name', numeric: false, disablePadding: false, label: 'Name' },\n { id: 'status', numeric: false, disablePadding: false, label: 'Status' },\n {\n id: 'resellerId',\n numeric: true,\n disablePadding: false,\n label: 'Reseller Id',\n hideSortingIcon: true\n },\n { id: 'createdDate', numeric: false, disablePadding: false, label: 'Created' }\n ];\n const [headCells, setHeadCells] = useState([...pendingMerchantsHeadCells]);\n\n const checkResellerViewHandler = (event) => {\n setShowCanonicalResellersList(!showCanonicalResellersList);\n sessionStorage.setItem('showCanonicalResellersList', JSON.stringify(!showCanonicalResellersList));\n };\n useEffect(() => {\n const showCanonicalResellersList = JSON.parse(sessionStorage.getItem('showCanonicalResellersList'));\n setShowCanonicalResellersList(showCanonicalResellersList);\n }, []);\n useEffect(() => {\n return history.listen((location) => {\n let pathName = location.pathname;\n if (pathName.split('/').includes('canonical-reseller-merchant-management')) {\n } else {\n sessionStorage.removeItem('showCanonicalResellersList');\n }\n });\n }, [history]);\n\n\n const handleChangePage = (event, newPage) => {\n setPage(newPage);\n if (!showCanonicalResellersList) {\n getPendingMerchants(newPage);\n } else {\n getCanonicalResellerList(newPage);\n }\n };\n\n const handleChangeRowsPerPage = (event) => {\n setRowsPerPage(parseInt(event.target.value, 10));\n setPage(0);\n if (!showCanonicalResellersList) {\n getPendingMerchants(0, parseInt(event.target.value, 10));\n } else {\n getCanonicalResellerList(0, parseInt(event.target.value, 10));\n }\n };\n\n useEffect(() => {\n switch (filter) {\n case 'notsubmitted':\n setStatusFilter([0]);\n\n break;\n case 'pending':\n setStatusFilter([1]);\n break;\n case 'active':\n setStatusFilter([3]);\n break;\n case 'closed':\n setStatusFilter([4]);\n break;\n case 'rejected':\n setStatusFilter([5]);\n break;\n case 'pendingstripe':\n setStatusFilter([6]);\n break;\n case 'watch list':\n setStatusFilter([12]);\n break;\n default:\n setStatusFilter([0, 1, 3, 4, 5, 6, 12]);\n }\n }, [filter]);\n\n const getPendingMerchants = async (newPage, newRowsPerPage) => {\n setIsLoading(true);\n const thePage = newPage ?? page;\n const theRowsPerPage = newRowsPerPage ?? rowsPerPage;\n const response = await AdminService.GetPendingMerchants(globalState.reseller?.id, {\n searchValue: inputValue.length > 2 ? inputValue.trim() : 'no',\n offset: thePage * theRowsPerPage,\n limit: theRowsPerPage,\n statusFilter: statusFilter\n });\n if (response.isSuccesfully) {\n setPendingMerchants(response.data.pendingMerchants);\n setCount(response.data.count);\n } else {\n setPendingMerchants([]);\n setCount(0);\n }\n\n setIsLoading(false);\n };\n\n const getCanonicalResellerList = async (newPage, newRowsPerPage) => {\n setIsLoading(true);\n const thePage = newPage ?? page;\n const theRowsPerPage = newRowsPerPage ?? rowsPerPage;\n const response = await CanonicalResellerService.getAllCanonicalResellers(globalState.reseller?.id, {\n searchValue: inputValue ? inputValue.trim() : '',\n offset: thePage * theRowsPerPage,\n limit: theRowsPerPage\n });\n\n if (response.isSuccesfully) {\n setCanonicalResellerList(response.data.canonicalResellers);\n setCount(response.data.count);\n } else {\n setCanonicalResellerList([]);\n setCount(0);\n }\n\n setIsLoading(false);\n };\n\n const onGoToAccount = (merchantId) => {\n let routeToGo = getRoute(`/admin-functions/${merchantId}`);\n window.open(routeToGo, '_blank');\n };\n\n const onSearchMerchants = (e) => {\n setPage(0);\n if (!showCanonicalResellersList) {\n getPendingMerchants(0);\n } else {\n getCanonicalResellerList(0);\n }\n e.preventDefault();\n };\n\n useEffect(() => {\n if (statusFilter && statusFilter.length) {\n setPage(0);\n if (!showCanonicalResellersList) {\n setHeadCells([...pendingMerchantsHeadCells]);\n setCanonicalResellerList([]);\n getPendingMerchants(0);\n } else {\n setHeadCells([...canonicalResellersHeadCells]);\n setPendingMerchants([]);\n getCanonicalResellerList(0);\n }\n }\n // eslint-disable-next-line\n }, [statusFilter, showCanonicalResellersList]);\n\n const handleRequestSort = (event, property) => {\n const isAsc = orderBy === property && order === 'asc';\n setOrder(isAsc ? 'desc' : 'asc');\n setOrderBy(property);\n };\n\n const handleCopyResellerId = (resellerId) => {\n navigator.clipboard.writeText(resellerId);\n setIsCopyAlertOpen(true);\n };\n\n const closeCopyAlert = () => {\n setIsCopyAlertOpen(false);\n };\n\n return (\n \n );\n}\n","import React from 'react';\nimport { Redirect } from 'react-router-dom';\nimport { useGlobalStateContext } from 'contexts';\nimport { Roles } from 'utils/enums/Roles';\nimport LoggedRoute from './logged-route';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport { UserType } from 'utils/enums/UserType';\nimport { ResellerType } from 'utils/enums/ResellerType';\n\nconst OwnerAndActiveMerchantOrAdminRoute = ({ component: Component, ...rest }) => {\n const { globalState } = useGlobalStateContext();\n const isAdmin =\n globalState.user?.UserType?.name === UserType.Admin || globalState.user?.UserType?.name === UserType.SuperAdmin;\n const isCanonicalResellerUser = globalState.user?.UserType?.name === UserType.Reseller;\n const isMerchantClosed = globalState.merchant?.status === MerchantStatus.CLOSED;\n const isSuperAdmin = globalState.user?.UserType?.name === UserType.SuperAdmin;\n const isMerchantUser = globalState.user?.UserType?.name === UserType.Merchant;\n const isSuperAdminAndMerchantClosed = ((isAdmin || isMerchantUser) && !isMerchantClosed) || isSuperAdmin;\n\n const canNotAccessThePage = (merchant, transactionPagePath) => {\n if (transactionPagePath.includes('update-bank')) {\n return merchant?.status === MerchantStatus.WATCHLIST && globalState.merchant?.userRole === Roles.Owner;\n }\n return false;\n };\n\n const canAccessQrPage = (transactionPagePath) => {\n if (transactionPagePath.includes('generic-qr-code') || transactionPagePath.includes('payment-qr-code')) {\n return globalState.reseller.name === ResellerType.OMNIPAY;\n }\n return true;\n };\n\n return (\n \n canAccessQrPage(rest.path) &&\n (!canNotAccessThePage(globalState?.merchant, rest.path) ||\n (globalState.merchant?.userRole === Roles.Owner &&\n globalState.merchant?.status === MerchantStatus.ACTIVE) ||\n isAdmin ||\n isCanonicalResellerUser) &&\n isSuperAdminAndMerchantClosed ? (\n \n ) : (\n \n )\n }\n />\n );\n};\n\nexport default OwnerAndActiveMerchantOrAdminRoute;\n","import React from 'react';\nimport { Redirect } from 'react-router-dom';\nimport { useGlobalStateContext } from 'contexts';\nimport { Roles } from 'utils/enums/Roles';\nimport LoggedRoute from './logged-route';\nimport { UserType } from 'utils/enums/UserType';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\n\nconst OwnerOrAdminRoute = ({ component: Component, ...rest }) => {\n const { globalState } = useGlobalStateContext();\n const isAdmin =\n globalState.user?.UserType?.name === UserType.Admin || globalState.user?.UserType?.name === UserType.SuperAdmin;\n const isSuperAdmin = globalState.user?.UserType?.name === UserType.SuperAdmin;\n const isMerchantClosed = globalState.merchant?.status === MerchantStatus.CLOSED;\n const isMerchantUser = globalState.user?.UserType?.name === UserType.Merchant;\n const isSuperAdminAndMerchantClosed = ((isAdmin || isMerchantUser) && !isMerchantClosed) || isSuperAdmin;\n\n const canNotAccessThePage = (merchant, transactionPagePath) => {\n if (transactionPagePath.includes('onboarding')) {\n return (\n [MerchantStatus.ACTIVE, MerchantStatus.WATCHLIST, MerchantStatus.CLOSED].includes(merchant?.status) &&\n globalState.merchant?.userRole === Roles.Owner\n );\n }\n return false;\n };\n\n return (\n \n ((!canNotAccessThePage(globalState.merchant, rest.path) &&\n globalState.merchant?.userRole === Roles.Owner) ||\n isAdmin) &&\n isSuperAdminAndMerchantClosed ? (\n \n ) : (\n \n )\n }\n />\n );\n};\n\nexport default OwnerOrAdminRoute;\n","import React from 'react';\nimport { MerchantResellerList } from 'components';\nimport { MerchantPdqList } from 'components';\nimport { useGlobalStateContext } from 'contexts';\nimport { ResellerType } from 'utils/enums/ResellerType';\n\nfunction DashboardResellerComponent() {\n const { globalState } = useGlobalStateContext();\n const isOmniPay = globalState.reseller?.name === ResellerType.OMNIPAY;\n return isOmniPay ? : ;\n}\n\nexport default DashboardResellerComponent;\n","import React from 'react';\nimport DashboardResellerComponent from './dashboard-reseller.component';\n\nfunction DashboardReseller() {\n return ;\n}\n\nexport default DashboardReseller;\n","import React from 'react';\nimport { ClientRegister } from 'components';\n\nexport default function ClientRegisterComponent() {\n return ;\n}\n","import React from 'react';\nimport ClientRegisterComponent from './client-registration.component';\n\nfunction ClientRegister() {\n return ;\n}\n\nexport default ClientRegister;\n","import React from 'react';\nimport { StripePayoutDetailsContainer } from 'components';\nimport { Grid, Box, Button } from '@material-ui/core';\nimport NavigateBeforeIcon from '@material-ui/icons/NavigateBefore';\nimport browserHistory from 'browserHistory';\n\nconst StripePayoutDetailsComponent = (props) => {\n const { batchId, payouts, date, provider } = props;\n return (\n \n \n \n \n }\n onClick={() => browserHistory.goBack()}\n >\n Back\n \n \n \n \n \n \n );\n};\n\nexport default StripePayoutDetailsComponent;\n","import React from 'react';\nimport StripePayoutDetailsComponent from './stripe-payout-details.component';\n\nconst StripePayoutDetails = (props) => {\n const { id: batchId } = props.match.params;\n const { payouts, date } = props.location.state;\n\n return ;\n};\n\nexport default StripePayoutDetails;\n","import React from 'react';\nimport NavigateBeforeIcon from '@material-ui/icons/NavigateBefore';\nimport { Box, Button, CircularProgress, Grid, Paper, Typography } from '@material-ui/core';\nimport { useAdminFunctionsContext, useGlobalStateContext } from 'contexts';\nimport styles from './merchant-details.module.scss';\nimport PropTypes from 'prop-types';\nimport { Alert } from 'react-bootstrap';\nimport WithdrawalContainer from 'pages/withdrawal/withdrawal.container';\nimport { AccountStatus, ThirdPartyMerchantIdAndStoreId, PageHeader, Calendar, PaymentsList } from 'components';\nimport { Label } from 'components';\nimport { formatDateTimeByFormatString } from 'utils/helper';\n\nfunction MerchantDetailsComponent(props) {\n const { setRoute } = useGlobalStateContext();\n const { adminFunctions } = useAdminFunctionsContext();\n const { pathname } = props.location;\n const {\n error,\n setError,\n isLoading,\n dates,\n onChangeDateRange,\n daterange,\n offrange,\n setOffrange,\n transactionsListingOptions,\n setTransactionsListingOptions,\n activatedAt,\n signedBy\n } = props;\n\n return (\n
    \n \n }\n onClick={() => setRoute('/home')}\n >\n Back\n \n \n
    {adminFunctions.name}
    \n
    \n {error ? (\n setError(false)} severity=\"error\">\n An error occurred. Please contact support or try again.\n \n ) : (\n \n {isLoading ? (\n
    \n \n
    \n ) : (\n
    \n \n \n \n \n Merchant Details\n \n \n \n \n \n \n \n \n \n \n {signedBy && (\n \n \n \n Terms & conditions\n \n \n \n \n \n \n \n {signedBy}\n \n \n \n \n \n \n \n {formatDateTimeByFormatString(\n activatedAt,\n 'DD MMM YY HH:mm'\n )}\n \n \n \n )}\n \n \n \n \n \n \n \n \n \n \n \n \n
    \n )}\n
    \n )}\n
    \n
    \n );\n}\n\nMerchantDetailsComponent.propTypes = {\n error: PropTypes.bool,\n isLoading: PropTypes.bool,\n setError: PropTypes.func\n};\n\nexport default MerchantDetailsComponent;\n","import { useAdminFunctionsContext } from 'contexts';\nimport React, { useEffect, useState } from 'react';\nimport { AdminService, TermsAndConditionsService } from 'services';\nimport { MerchantAccountStatus } from 'utils/enums/MerchantAccountStatus';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport MerchantDetailsComponent from './merchant-details.component';\nimport moment from 'moment';\n\nfunction MerchantDetails(props) {\n const merchantId = props.match?.params?.merchantId;\n const { setAdminFunctions } = useAdminFunctionsContext();\n const [error, setError] = useState(false);\n const [isLoading, setIsLoading] = useState(false);\n const [channelFilter, setChannelFilter] = useState('All');\n const [daterange, setDateRange] = useState({ start: moment().subtract(1, 'days'), end: moment() });\n const [dates, setDates] = useState([]);\n const [offrange, setOffrange] = useState(true);\n const [activatedAt, setActivatedAt] = useState('');\n const [signedBy, setSignedBy] = useState('');\n const [loading, setLoading] = useState(false);\n const [transactionsListingOptions, setTransactionsListingOptions] = useState({\n via: 'month',\n date: moment().format('YYYY-MM-DD'),\n locationInApp: 'merchant-details'\n });\n const [startDate, setStartDate] = useState();\n const [endDate, setEndDate] = useState();\n const entity = 'merchant';\n const entityId = merchantId;\n\n const onChangeDateRange = (startDate, endDate) => {\n setDateRange({ start: startDate, end: endDate });\n setOffrange(true);\n\n const initialDate = moment(daterange.start).date(1);\n const finalDate = moment(daterange.end).date(1);\n let includedMonths = [];\n let date;\n\n while (initialDate.isBefore(finalDate)) {\n date = {\n month: initialDate.month() + 1,\n year: initialDate.year()\n };\n includedMonths.push(date);\n initialDate.add(1, 'month');\n }\n setDates(includedMonths);\n };\n\n useEffect(() => {\n const fetchTermsAndConditionsData = async () => {\n setIsLoading(true);\n\n const response = await TermsAndConditionsService.getSignedTermsAndConditionsData(entity, entityId);\n if (response.isSuccesfully) {\n setSignedBy(response.data.signedTermsAncConditionInfo.signedBy);\n setActivatedAt(response.data.signedTermsAncConditionInfo.activatedAt);\n }\n setIsLoading(false);\n };\n\n fetchTermsAndConditionsData();\n // eslint-disable-next-line\n }, [merchantId]);\n\n useEffect(() => {\n const fetchData = async () => {\n setIsLoading(true);\n const merchantData = await AdminService.GetMerchantDataForAdmin(merchantId);\n if (merchantData.isSuccesfully) {\n switch (merchantData.data.status) {\n case MerchantStatus.MERCHANT_PENDING:\n merchantData.data.accountStatus = MerchantAccountStatus.PENDING;\n break;\n case MerchantStatus.ACTIVE:\n merchantData.data.accountStatus = MerchantAccountStatus.ACTIVE;\n break;\n case MerchantStatus.CLOSED:\n merchantData.data.accountStatus = MerchantAccountStatus.CLOSED;\n break;\n case MerchantStatus.REJECTED:\n merchantData.data.accountStatus = MerchantAccountStatus.REJECTED;\n break;\n default:\n merchantData.data.accountStatus = MerchantAccountStatus.PENDING;\n break;\n }\n setAdminFunctions(merchantData.data);\n setError(false);\n } else {\n setError(true);\n }\n setIsLoading(false);\n };\n fetchData();\n // eslint-disable-next-line\n }, []);\n\n return (\n \n );\n}\n\nexport default MerchantDetails;\n","import React from 'react';\nimport { CanonicalResellerOnboardingForm } from 'components';\n\nconst CanonicalResellerOnboardingComponent = () => {\n return ;\n};\n\nexport default CanonicalResellerOnboardingComponent;\n","import React from 'react';\nimport CanonicalResellerOnboardingComponent from './canonical-reseller-onboarding.component';\n\nfunction CanonicalResellerOnboarding() {\n return ;\n}\n\nexport default CanonicalResellerOnboarding;\n","import React from 'react';\nimport { CanonicalResellerNewMerchant } from 'components';\n\nconst CanonicalResellerMerchantComponent = (props) => {\n const merchantId = props.location.state?.merchantId;\n return ;\n};\n\nexport default CanonicalResellerMerchantComponent;\n","import React from 'react';\nimport CanonicalResellerMerchantComponent from './canonical-reseller-merchant.component';\n\nconst CanonicalResellerMerchant = (props) => {\n return ;\n};\n\nexport default CanonicalResellerMerchant;\n","import React from 'react';\nimport { CanonicalResellerManagementContainer } from 'components';\n\nconst CanonicalResellerMerchantManagementComponent = (props) => {\n const { canonicalResellerId } = props.match.params;\n return ;\n};\n\nexport default CanonicalResellerMerchantManagementComponent;\n","import React from 'react';\nimport CanonicalResellerMerchantManagementComponent from './canonical-reseller-merchant-management.component';\n\nfunction CanonicalResellerMerchantManagement(props) {\n return ;\n}\n\nexport default CanonicalResellerMerchantManagement;\n","import React from 'react';\nimport { SettingTermsAndConditionsContainer } from 'components';\n\nfunction SettingTermsAndConditionsParentComponent(props) {\n return ;\n}\n\nexport default SettingTermsAndConditionsParentComponent;\n","import React from 'react';\nimport SettingTermsAndConditionsParentComponent from './settings-terms-and-conditions.component';\n\nfunction SettingTermsAndConditions(props) {\n return ;\n}\n\nexport default SettingTermsAndConditions;\n","import React from 'react';\nimport { Paper, Typography, Grid, Divider, Button, TextField, Tooltip } from '@material-ui/core';\nimport style from './document-management.module.scss';\nimport { MerchantAccountDetails, DocumentReview } from 'components';\nimport GetAppOutlinedIcon from '@material-ui/icons/GetAppOutlined';\nimport { LoadingScreen } from 'components';\nimport PropTypes from 'prop-types';\nimport { Alert as MaterialAlert } from '@material-ui/lab';\n\nfunction DocumentManagementComponent(props) {\n const { isLoading, setDownload, download, pathMerchantId } = props;\n\n return (\n \n \n \n \n Document Management\n \n \n setDownload(true)} />\n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n );\n}\n\nDocumentManagementComponent.propTypes = {\n disable: PropTypes.bool,\n setDisable: PropTypes.func,\n isModalOpen: PropTypes.bool,\n setIsModalOpen: PropTypes.func,\n rejectedDocuments: PropTypes.array,\n rejectionNote: PropTypes.func,\n rejectButton: PropTypes.func,\n isLoading: PropTypes.bool,\n rejectMessage: PropTypes.string,\n setRejectMessage: PropTypes.func,\n setRejectedDocuments: PropTypes.func,\n disableRejectDocument: PropTypes.bool,\n setDisableRejectDocument: PropTypes.func,\n isOpenApproveAccountModal: PropTypes.bool,\n setIsOpenApproveAccountModal: PropTypes.func\n};\nexport default DocumentManagementComponent;\n","import React, { useState } from 'react';\nimport DocumentManagementComponent from './document-management.component';\nimport { AdminService } from 'services';\n\nconst DocumentManagement = (props) => {\n const [disable, setDisable] = useState(true);\n const [download, setDownload] = useState(false);\n const pathMerchantId = props?.match?.params?.merchantId;\n return (\n \n );\n};\n\nexport default DocumentManagement;\n","import React from 'react';\n// import styles from './missing-merchant-document.module.scss';\nimport { MissingMerchant } from 'components';\n\nexport default function AdminMissingMerchant() {\n return (\n
    \n \n
    \n );\n}\n","import React from 'react';\nimport AdminMissingMerchant from './admin-missing-merchant.component';\nexport default function MissingDocument() {\n return ;\n}\n","import React from 'react';\n// import styles from './missing-merchant-document.module.scss';\n\nimport { MissingDocumentContainer } from 'components';\nexport default function MissingMerchantDocument(props) {\n return ;\n}\n","import React from 'react';\nimport MissingMerchantDocument from './missing-merchant-document.component';\nexport default function MissingDocument(props) {\n return ;\n}\n","import React from 'react';\nimport { MerchantPdqList } from 'components';\n\nfunction DashboardPdqComponent() {\n return ;\n}\n\nexport default DashboardPdqComponent;\n","import React from 'react';\nimport DashboardPdqComponent from './dashboard-pdq.component';\n\nfunction DashboardPdq() {\n return ;\n}\n\nexport default DashboardPdq;\n","import React from 'react';\nimport { PdqOrderStatus } from 'components';\n\nconst PdqOrderMerchants = (props) => {\n return ;\n};\n\nexport default PdqOrderMerchants;\n","import React from 'react';\nimport PdqOrderMerchants from './pdq-order-merchant.component';\n\nconst PdqOrderMerchantsContainer = (props) => {\n const merchantId = props.match?.params?.merchantId;\n return ;\n};\n\nexport default PdqOrderMerchantsContainer;\n","import React from 'react';\nimport { Redirect } from 'react-router-dom';\nimport { useGlobalStateContext } from 'contexts';\nimport LoggedRoute from './logged-route';\nimport { ProductStatus } from 'utils/enums/ProductsRequired';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport { UserType } from 'utils/enums/UserType';\n\nconst ProductApprovedRoute = ({ component: Component, productName, ...rest }) => {\n const { globalState } = useGlobalStateContext();\n const merchantStatus = globalState.merchant?.status;\n const user = globalState.user;\n const allowedUser = user?.UserType?.name === UserType.SuperAdmin || merchantStatus !== MerchantStatus.CLOSED;\n\n const isProductApproved = (productName) => {\n if (globalState.merchant && globalState.merchant.hasOwnProperty('merchantProductRequired')) {\n const { merchantProductRequired } = globalState.merchant;\n if (\n merchantProductRequired.find(\n (eachProduct) =>\n eachProduct.productName === productName &&\n (eachProduct.status === ProductStatus.ACTIVE ||\n eachProduct.status === ProductStatus.DELETION_PENDING)\n )\n ) {\n return true;\n }\n }\n return false;\n };\n\n return (\n \n isProductApproved(productName) && allowedUser ? (\n \n ) : (\n \n )\n }\n />\n );\n};\n\nexport default ProductApprovedRoute;\n","import React from 'react';\nimport { RefundList } from 'components';\nimport { Grid, Box, Paper } from '@material-ui/core';\nimport { Calendar, PageHeader } from 'components';\nimport PropTypes from 'prop-types';\nimport style from './list-refund.scss';\n\nconst RefundComponent = (props) => {\n const { date: dateFromUrlParams, via: viaFromUrlParams } = props.match.params;\n const { dates, offrange, setOffrange } = props;\n const { pathname } = props.location;\n return (\n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default RefundComponent;\nRefundComponent.propTypes = {\n onChangeDateRange: PropTypes.func,\n dates: PropTypes.array,\n daterange: PropTypes.object,\n setClear: PropTypes.func,\n offrange: PropTypes.bool,\n setOffrange: PropTypes.func\n};\n","import React, { useState } from 'react';\nimport RefundComponent from './list-refund.component';\nconst RefundList = (props) => {\n const [offrange, setOffrange] = useState(true);\n\n return ;\n};\n\nexport default RefundList;\n","import React from 'react';\nimport { ContractDetails } from 'components';\n\nfunction ContractDetailsComponent() {\n return ;\n}\nexport default ContractDetailsComponent;\n","import React from 'react';\nimport ContractDetailsComponent from './contract-details.component';\n\nfunction ContractDetails() {\n return ;\n}\n\nexport default ContractDetails;\n","import React from 'react';\nimport { PrintAgreementContainer } from 'components';\n\nconst PrintAgreementPageComponent = (props) => {\n return (\n \n \n \n );\n};\n\nexport default PrintAgreementPageComponent;\n","import React from 'react';\nimport PrintAgreementPageComponent from './print-agreement.component';\n\nconst PrintAgreementPageContainer = (props) => {\n return ;\n};\n\nexport default PrintAgreementPageContainer;\n","import React from 'react';\nimport {\n TableContainer,\n Table,\n TableRow,\n TableCell,\n TableBody,\n TablePagination,\n CircularProgress,\n TableFooter,\n Tooltip\n} from '@material-ui/core';\nimport style from './bank-error-list.module.scss';\nimport { getComparator, stableSort } from '../../../utils/helper';\nimport TableHeader from '../../payments/transaction-tables/table-header/table-header.container';\nimport { Link } from 'react-router-dom';\n\nconst BankErrorComponent = (props) => {\n const {\n bankErrorList,\n page,\n rowsPerPage,\n count,\n loading,\n handleChangePage,\n handleChangeRowsPerPage,\n headCells,\n onGoToAccount\n } = props;\n\n return (\n \n \n \n \n {loading ? (\n \n \n \n \n \n \n \n ) : (\n \n {!bankErrorList || bankErrorList.length === 0 ? (\n \n \n \n
    No Data.
    \n
    \n
    \n
    \n ) : (\n \n {stableSort(\n rowsPerPage > 0\n ? bankErrorList.slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage)\n : bankErrorList,\n getComparator()\n ).map((list, index) => {\n return (\n \n \n {list.merchant_id}\n \n \n \n onGoToAccount(list.merchant_id)}>\n {list.business_name}\n \n \n \n \n {list.country_name}\n \n \n {list.errors}\n \n \n );\n })}\n \n )}\n
    \n )}\n\n \n \n {count > 20 && (\n \n )}\n \n \n
    \n
    \n
    \n );\n};\n\nexport default BankErrorComponent;\n","import React, { useState, useEffect } from 'react';\nimport BankErrorComponent from './bank-error-list.component';\nimport { BankService } from 'services';\nimport { useGlobalStateContext } from 'contexts';\n\nconst BankErrorContainer = (props) => {\n const [bankErrorList, setBankErrorList] = useState([]);\n const { globalState, getRoute } = useGlobalStateContext();\n const [page, setPage] = React.useState(0);\n const [rowsPerPage, setRowsPerPage] = useState(20);\n const [count, setCount] = useState(0);\n const [searchTerm, setSearchTerm] = useState('');\n const [loading, setLoading] = useState(false);\n\n const handleChangePage = (event, newPage) => {\n setPage(newPage);\n };\n\n const handleChangeRowsPerPage = (event) => {\n setRowsPerPage(parseInt(event.target.value, 10));\n setPage(0);\n };\n\n let headCells = [\n {\n id: 'merchantId',\n numeric: false,\n disablePadding: false,\n label: 'Merchant ID',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'name',\n numeric: false,\n disablePadding: false,\n label: 'Merchant name',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'country',\n numeric: false,\n disablePadding: false,\n label: 'Country',\n hideSortingIcon: true,\n alignCenter: true\n },\n {\n id: 'message',\n numeric: false,\n disablePadding: false,\n label: 'Message',\n hideSortingIcon: true,\n alignCenter: true\n }\n ];\n\n useEffect(() => {\n const fetchBankErrorData = async () => {\n setLoading(true);\n const response = await BankService.getBankErrorList();\n if (response.isSuccesfully) {\n const errorList = response.data.data;\n setBankErrorList(errorList);\n setCount(errorList.length);\n } else {\n setBankErrorList([]);\n setCount(0);\n }\n setLoading(false);\n };\n fetchBankErrorData();\n }, [globalState.merchant.id]);\n\n const onGoToAccount = (merchantId) => {\n let routeToGo = getRoute(`/admin-functions/${merchantId}`);\n window.open(routeToGo, '_blank');\n };\n\n return (\n \n );\n};\n\nexport default BankErrorContainer;\n","import React from 'react';\nimport { Grid, Paper, Typography, Box } from '@material-ui/core';\nimport style from './bank-error-list.module.scss';\nimport BankErrorContainer from '../../components/admin/bank-error-list/bank-error-list.container';\n\nconst BankErrorListComponent = (props) => {\n return (\n \n \n \n \n Bank error list\n \n \n \n \n \n );\n};\n\nexport default BankErrorListComponent;\n","import React from 'react';\nimport BankErrorComponent from './bank-error-list.component';\n\nconst BankErrorList = (props) => {\n return ;\n};\n\nexport default BankErrorList;\n","import React from 'react';\nimport { getComparator, stableSort, formatDateTimeByFormatString } from 'utils/helper';\nimport { Link } from 'react-router-dom';\nimport TableHeader from 'components/payments/transaction-tables/table-header/table-header.container';\nimport {\n TableBody,\n TableCell,\n TableRow,\n Table,\n TableContainer,\n Paper,\n CircularProgress,\n TableFooter,\n TablePagination,\n Box,\n makeStyles,\n Button\n} from '@material-ui/core';\nimport style from './payout-not-received.module.scss';\nimport { payoutStatus } from 'utils/enums/payoutStatusToDate';\nimport { ModalPayoutsMarkNotReceived, SnackBarAndAlert } from 'components';\nimport { useGlobalStateContext } from 'contexts';\nimport { formatCurrency } from 'utils/helper';\nimport { getCurrencyThreeAlpha } from 'utils/getCurrencyByCountry';\nconst useStyles = makeStyles(() => ({\n visuallyHidden: {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: 1,\n margin: -1,\n padding: 0,\n position: 'absolute',\n top: 20,\n width: 1\n },\n root: {\n width: '100%',\n 'border-top': '1px solid #ddd',\n 'margin-top': '10px'\n },\n paper: {\n width: '100%',\n boxShadow: 'none'\n },\n container: {\n maxHeight: '100%'\n },\n table: {\n minWidth: '100%'\n },\n tableRow: {\n '&$selected, &$selected:hover': {\n backgroundColor: '#e4e1fe'\n }\n }\n}));\nconst PayoutsNotReceivedsComponent = (props) => {\n const {\n loading,\n error,\n page,\n rowsPerPage,\n rows,\n handleChangePage,\n handleChangeRowsPerPage,\n onGoToAccount,\n count,\n order,\n orderBy,\n markPayout,\n setMarkPayout,\n open,\n setOpen,\n onMarkConfirm,\n message,\n snackbar,\n handleClose\n } = props;\n const classes = useStyles();\n const { globalState } = useGlobalStateContext();\n return (\n \n \n {loading ? (\n \n \n \n ) : error ? (\n
    An error occurred, please try reloading your browser.
    \n ) : (\n \n {!rows || rows.length === 0 ? (\n
    No Records
    \n ) : (\n \n \n \n \n\n \n {stableSort(\n rowsPerPage > 0\n ? rows.slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage)\n : rows,\n getComparator(order, orderBy)\n ).map((row) => {\n return (\n \n \n onGoToAccount(row.merchant_id)}>\n {row.merchant_id}\n \n \n \n {row.business_name}\n \n \n {formatDateTimeByFormatString(\n row.not_received_date,\n 'DD MMM YYYY'\n )}\n \n \n {formatCurrency(\n row.total,\n getCurrencyThreeAlpha(globalState.merchant?.country)\n )}\n \n \n
    \n {\n setMarkPayout({\n batch_id: row.batch_id,\n status: payoutStatus.RESEND\n });\n setOpen(true);\n }}\n className={style.resendBtns}\n >\n Resend Payout\n \n {\n setMarkPayout({\n batch_id: row.batch_id,\n status: payoutStatus.CANCEL\n });\n setOpen(true);\n }}\n className={style.resendBtns}\n >\n Cancel Payout\n \n
    \n
    \n
    \n );\n })}\n
    \n \n \n \n \n \n \n
    \n\n {message && (\n \n {snackbar.message}\n \n )}\n
    \n )}\n
    \n )}\n
    \n \n
    \n );\n};\n\nexport default PayoutsNotReceivedsComponent;\n","import React, { useState, useEffect } from 'react';\nimport PayoutsNotReceivedsComponent from './payout-not-received.component';\nimport AdminService from 'services/admin.service';\nimport PayoutsService from 'services/payouts.service';\nimport { getComparator, stableSort } from 'utils/helper';\n\nimport { useGlobalStateContext } from 'contexts';\nconst PayoutsNotReceived = (props) => {\n const { onGoToAccount, globalState } = useGlobalStateContext();\n const [loading, setLoading] = useState(false);\n const [error, setError] = useState(false);\n const [page, setPage] = useState(0);\n const [rowsPerPage, setRowsPerPage] = useState(20);\n const [notRecievedList, setNotRecievedList] = useState([]);\n const [count, setCount] = useState(0);\n const [order, setOrder] = React.useState('desc');\n const [orderBy, setOrderBy] = React.useState('not_received_date');\n const [open, setOpen] = useState(false);\n const [markPayout, setMarkPayout] = useState({});\n const [message, setMessage] = useState(false);\n const [snackbar, SetSnackbar] = useState({ type: '', message: '' });\n\n const headCells = [\n { id: 'merchant_id', numeric: true, disablePadding: false, label: 'Merchant ID', hideSortingIcon: true },\n { id: 'business_name', numeric: false, disablePadding: false, label: 'Business name', hideSortingIcon: true },\n {\n id: 'not_received_date',\n disablePadding: false,\n label: 'Flagged date',\n hideSortingIcon: true\n },\n { id: 'amount', numeric: false, disablePadding: false, label: 'Amount', hideSortingIcon: true },\n { id: 'options', numeric: false, disablePadding: false, label: 'More options', hideSortingIcon: true }\n ];\n const handleChangePage = (event, newPage) => {\n setPage(newPage);\n };\n\n const handleChangeRowsPerPage = (event) => {\n setRowsPerPage(parseInt(event.target.value, 10));\n\n setPage(0);\n };\n\n useEffect(() => {\n setLoading(true);\n getpayoutNotRecieved();\n setPage(0);\n // eslint-disable-next-line\n }, [globalState.merchant?.id]);\n\n const getpayoutNotRecieved = async () => {\n setLoading(true);\n\n const response = await AdminService.GetNotRecievedPayouts();\n if (response.isSuccesfully) {\n const data = stableSort(response.data.data, getComparator(order, orderBy));\n setNotRecievedList(data);\n setCount(response.data.data.length);\n } else {\n setError(true);\n }\n setLoading(false);\n };\n\n const handleClose = (event, reason) => {\n if (reason === 'clickaway') {\n setError(false);\n setMessage(false);\n }\n };\n const handleRequestSort = (event, property) => {\n const isAsc = orderBy === property && order === 'asc';\n setOrder(isAsc ? 'desc' : 'asc');\n setOrderBy(property);\n };\n\n const onMarkConfirm = async (data) => {\n setLoading(true);\n\n const response = await PayoutsService.markPayoutNotReceived(data);\n if (response.isSuccesfully) {\n SetSnackbar({ type: 'success', message: response.data?.message });\n getpayoutNotRecieved();\n } else {\n SetSnackbar({ type: 'error', message: response.data?.message });\n }\n setMessage(true);\n setOpen(false);\n setLoading(false);\n };\n return (\n \n );\n};\n\nexport default PayoutsNotReceived;\n","import { PendingVerificationList } from 'components';\nimport React from 'react';\n// import styles from './missing-merchant-document.module.scss'\n\nexport default function AdminPendingBankVerfication(props) {\n return (\n
    \n \n
    \n );\n}\n","import React from 'react';\nimport AdminPendingBankVerfication from './admin-pending-bank-verfication.component';\n\nexport default function PendingBankVerificationList(props) {\n return ;\n}\n","import { PendingVerificationList } from 'components';\nimport React from 'react';\n\nexport default function AdminPendingAccountVerfication(props) {\n return (\n
    \n \n
    \n );\n}\n","import React from 'react';\nimport AdminPendingAccountVerfication from './admin-pending-account-verification.component';\n\nexport default function PendingAccountVerificationList(props) {\n return ;\n}\n","import React from 'react';\nimport { ListChargebacks } from 'components';\nimport { Grid, Box, Paper } from '@material-ui/core';\nimport { Calendar, PageHeader } from 'components';\nconst ChargebacksComponent = (props) => {\n const { date: dateFromUrlParams, via: viaFromUrlParams } = props.match.params;\n const { offrange, setOffrange } = props;\n const { pathname } = props.location;\n return (\n \n \n \n \n \n \n \n \n \n );\n};\nexport default ChargebacksComponent;\n","import React from 'react';\nimport ChargebacksComponent from './chargeback.list.component';\n\nconst ChargeBacks = (props) => {\n return ;\n};\nexport default ChargeBacks;\n","import {\n Grid,\n TextField,\n Typography,\n Button,\n Table,\n TableBody,\n TableCell,\n TableContainer,\n TableHead,\n TableRow,\n Paper,\n IconButton,\n TableFooter,\n TablePagination,\n CircularProgress,\n Box,\n Select,\n MenuItem\n} from '@material-ui/core';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport style from './wallet-history.module.scss';\nimport { makeStyles } from '@material-ui/core/styles';\nimport SettingsBackupRestoreSharpIcon from '@material-ui/icons/SettingsBackupRestoreSharp';\nimport { withdrawalStatus } from 'utils/enums/Status';\nimport { formatDateTimeByFormatString } from 'utils/helper';\nimport { TransactionRefund } from 'components';\nimport _ from 'lodash';\n\nconst useStyles = makeStyles((theme) => ({\n 'MuiIconButton-root': {\n padding: '0px 0px'\n }\n}));\n\nconst WalletHistoryComponent = (props) => {\n const {\n firstName,\n initials,\n searchedMerchantBalance,\n setShopperId,\n setCurrency,\n shopperId,\n currency,\n page,\n getDataByOrderId,\n searchedData,\n handleChangePage,\n hasMorePages,\n loading,\n error,\n showTransactionRefund,\n show,\n setShow,\n payment,\n setPayment,\n setIsRefundHappen,\n handleSearch\n } = props;\n const classes = useStyles();\n return (\n \n {\n \n \n \n
    {initials}
    \n
    \n \n \n Hi {firstName}\n \n \n
    \n \n \n \n \n {\n setShopperId(e.target.value);\n }}\n />\n \n \n {\n setCurrency(e.target.value);\n }}\n >\n \n Select Currency\n \n GBP\n AUD\n USD\n \n \n \n \n Search\n \n \n \n \n \n \n\n \n \n \n \n {\n \n \n \n Type\n Date\n Amount\n Currency Code\n Withdrawal Status\n Order ID\n Refund\n \n \n {loading ? (\n \n \n \n \n \n \n \n \n \n ) : error || searchedData?.length === 0 ? (\n \n \n \n
    No data found.
    \n
    \n
    \n
    \n ) : (\n \n {searchedData?.map((transaction, index) => (\n \n {transaction.type}\n \n {formatDateTimeByFormatString(\n transaction.date,\n 'DD MMM YYYY HH:mm'\n )}\n \n {transaction.amount}\n {transaction.currencyCode}\n {transaction.withdrawal_status || '--'}\n {transaction.order_id}\n \n {transaction.withdrawal_status ==\n withdrawalStatus.ALLOW_WITHDRAWAL && (\n showTransactionRefund(transaction)}\n >\n \n \n )}\n {payment?.id === transaction?.id && (\n \n )}\n \n \n ))}\n \n )}\n \n \n `Page: ${page}`}\n SelectProps={{\n inputProps: { 'aria-label': 'rows per page' },\n native: true\n }}\n backIconButtonProps={{\n disabled: page === 1\n }}\n nextIconButtonProps={{\n disabled: searchedData?.length > 0 && hasMorePages != 0 ? false : true\n }}\n />\n \n \n
    \n }\n
    \n
    \n }\n
    \n );\n};\n\nWalletHistoryComponent.propTypes = {\n firstName: PropTypes.string,\n initials: PropTypes.string,\n searchedMerchantBalance: PropTypes.number,\n setShopperId: PropTypes.func,\n setCurrency: PropTypes.func,\n shopperId: PropTypes.number,\n currency: PropTypes.string,\n page: PropTypes.number,\n getDataByOrderId: PropTypes.func,\n searchedData: PropTypes.array,\n handleChangePage: PropTypes.func,\n hasMorePages: PropTypes.bool,\n loading: PropTypes.bool,\n error: PropTypes.object,\n showTransactionRefund: PropTypes.func,\n show: PropTypes.bool,\n setShow: PropTypes.func,\n payment: PropTypes.object,\n setPayment: PropTypes.func,\n setIsRefundHappen: PropTypes.func\n};\n\nexport default React.memo(WalletHistoryComponent);\n","import React, { useEffect, useState } from 'react';\nimport WalletHistoryComponent from './wallet-history.component';\nimport { useGlobalStateContext } from 'contexts';\nimport { PaymentsService } from 'services';\n\nconst WalletHistory = () => {\n const { globalState } = useGlobalStateContext();\n const firstName = globalState.user?.firstName;\n const lastName = globalState.user?.lastName;\n const initials = `${firstName[0]?.toUpperCase() || ''}${lastName[0]?.toUpperCase() || ''}`;\n const [loading, setLoading] = useState(false);\n const [error, setError] = useState(false);\n const [shopperId, setShopperId] = useState('');\n const [currency, setCurrency] = useState('');\n const [searchedData, setSearchData] = useState([]);\n const [page, setPage] = useState(1);\n const [hasMorePages, setHasMorePages] = useState(false);\n const [searchedMerchantBalance, setSearchedMerchantData] = useState('0.00');\n const [show, setShow] = useState(false);\n const [payment, setPayment] = useState();\n const [isRefundHappen, setIsRefundHappen] = useState(null);\n\n const getDataByOrderId = async (defaultPage) => {\n try {\n const payload = {\n shopper_id: shopperId,\n page: defaultPage ?? page,\n currencyCode: currency\n };\n setLoading(true);\n const response = await PaymentsService.getWalletHistory(payload);\n if (response?.isSuccesfully) {\n setError(false);\n const newData = addUniqueIds(response?.data?.data);\n if (newData.length === 0 && page > 1) {\n setPage(1); // Reset to page 1 if current page has no data\n return;\n }\n setSearchData(newData);\n setSearchedMerchantData(response?.data?.balance);\n setHasMorePages(response?.data?.has_more);\n setPayment(response?.data?.current_page);\n if (response?.data?.data?.length === 0) {\n setError(true);\n }\n }\n setLoading(false);\n } catch (error) {\n setError(true);\n }\n };\n\n function showTransactionRefund(rowData) {\n const refundData = {\n payment_provider: rowData?.type,\n date: rowData?.date,\n total: rowData?.amount,\n original_total: rowData?.amount,\n currencyCode: rowData?.currencyCode,\n payment_id: rowData?.order_id,\n order_id: rowData?.order_id,\n withdrawal_status: rowData?.withdrawal_status,\n shopper_id: shopperId,\n id: rowData?.id\n };\n\n setPayment(refundData);\n setShow(true);\n }\n\n const handleChangePage = (event, newPage) => {\n setPage(newPage);\n };\n\n const handleSearch = () => {\n setPage(1);\n getDataByOrderId(1); // Reset to page 1 when searching\n };\n\n useEffect(() => {\n if (shopperId) {\n getDataByOrderId();\n }\n }, [page]);\n\n const addUniqueIds = (arrayOfObjects) => {\n return arrayOfObjects.map((obj, index) => ({\n ...obj,\n id: index + 1\n }));\n };\n\n return (\n \n );\n};\n\nexport default WalletHistory;\n","export const PAYOUT_STATUS = {\n OPEN: 'Open',\n BLOCK: 'Block'\n};\n","import React, { useState } from 'react';\nimport {\n Table,\n TableBody,\n TableCell,\n TableContainer,\n TableHead,\n TableRow,\n IconButton,\n Collapse,\n Pagination,\n Paper,\n Typography,\n Box,\n Grid,\n FormControlLabel,\n Checkbox\n} from '@mui/material';\nimport { DatePicker } from 'components';\nimport { KeyboardArrowUp, KeyboardArrowDown } from '@mui/icons-material';\nimport style from './merchant-capabilities.module.scss';\nimport { Button, Container, FormControl, InputLabel, MenuItem, Select, TextField } from '@material-ui/core';\nimport moment from 'moment';\nimport { Spinner } from 'react-bootstrap';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { PAYOUT_STATUS } from 'utils/enums/PayoutStatus';\n\nconst ROWS_PER_PAGE = 10;\n\nfunction MerchantCapabilitiesComponent({\n handleCountryFilter,\n changePayoutStatus,\n payoutStatus,\n countryFilter,\n merchantCapabilities,\n deadline,\n setDeadline,\n onSearchMerchants,\n merchantId,\n setMerchantId,\n count,\n totalRecords,\n page,\n setPage,\n limit,\n setLimit,\n loader\n}) {\n const [openRow, setOpenRow] = useState(null);\n\n const handleRowClick = (rowId) => {\n setOpenRow(openRow === rowId ? null : rowId);\n };\n\n const handlePageChange = (event, value) => {\n setPage(value);\n setOpenRow(null);\n };\n\n return (\n \n \n \n Merchant capabilities\n \n \n
    \n setMerchantId(e.target.value)}\n />\n \n Search\n \n \n\n \n \n \n Country\n \n \n All\n {Object.values(MerchantCountries).map((element) => {\n return {element};\n })}\n \n \n\n \n \n Payout status\n \n \n All\n {Object.keys(PAYOUT_STATUS).map((element) => {\n return {PAYOUT_STATUS[element]};\n })}\n \n \n\n \n
    \n {\n newValue ? setDeadline(newValue['$d']) : setDeadline(null);\n setPage(1);\n }}\n placeholder={moment(new Date()).format('D MMM YYYY')}\n styleClass={'blackClass'}\n />\n
    \n
    \n
    \n\n \n \n \n \n \n \n \n ID\n Account Holder ID\n Country\n Legal Entity ID\n Payout status\n \n \n \n {loader ? (\n \n \n \n \n \n ) : merchantCapabilities?.length > 0 ? (\n merchantCapabilities?.map((row) => (\n \n \n \n handleRowClick(row.id)}>\n {openRow === row.id ? (\n \n ) : (\n \n )}\n \n \n {row.id}\n {row.account_holder_id}\n {row.country}\n {row.legal_entity_id}\n {row.payout_status}\n \n \n \n \n {row.capability_items.map((capability, index) => (\n \n \n Capability -{' '}\n 0\n ? `text-danger`\n : 'text-success'\n }\n >\n {capability.capability}\n \n \n \n {capability.verification_deadline && (\n \n Verification Deadline -{' '}\n {capability.verification_deadline}\n \n )}\n\n \n Verification Status -{' '}\n {capability.verification_status}\n \n\n {capability?.problems?.length > 0 && (\n \n Problems\n \n )}\n {capability?.problems?.map((problem, index) => (\n \n \n Message: {problem.message}\n \n \n Remediating Actions:\n \n
      \n {problem.remediatingActions.map(\n (action, idx) => (\n
    • {action}
    • \n )\n )}\n
    \n
    \n ))}\n
    \n
    \n ))}\n
    \n
    \n
    \n
    \n ))\n ) : (\n \n \n \n No data available\n \n \n \n )}\n
    \n
    \n \n
    \n \n \n Total {totalRecords} records\n \n
    \n \n
    \n
    \n );\n}\n\nexport default MerchantCapabilitiesComponent;\n","import React, { useEffect, useState } from 'react';\nimport MerchantCapabilitiesComponent from './merchant-capabilities.component';\nimport adminService from 'services/admin.service';\nimport moment from 'moment';\nimport { useGlobalStateContext } from 'contexts';\n\nfunction MerchantCapabilities() {\n const { globalState } = useGlobalStateContext();\n\n const [page, setPage] = useState(1);\n const [limit, setLimit] = useState(10);\n const [count, setCount] = useState(0);\n const [loader, setLoader] = useState(false);\n const [totalRecords, setTotalRecords] = useState(0);\n const [countryFilter, setCountryFilter] = useState('All');\n const [deadline, setDeadline] = useState(moment().add(1, 'week').format('YYYY-MM-DD'));\n const [payoutStatus, setPayoutStatus] = useState('All');\n const [merchantId, setMerchantId] = useState(''); // globalState.merchant?.id\n const [merchantCapabilities, setMerchantCapabilities] = useState([]);\n\n const handleCountryFilter = (event) => {\n setCountryFilter(event.target.value);\n setPage(1);\n };\n const changePayoutStatus = (event) => {\n setPayoutStatus(event.target.value);\n setPage(1);\n };\n\n useEffect(() => {\n getdataResponse();\n }, [page, limit, countryFilter, deadline, payoutStatus]);\n\n const getdataResponse = async () => {\n setLoader(true);\n let payload = {\n page,\n limit\n };\n if (merchantId) payload['merchant_id'] = merchantId.toString();\n if (countryFilter && countryFilter !== 'All') payload['country'] = countryFilter;\n if (deadline) payload['deadline'] = moment(deadline).format('YYYY-MM-DD');\n if (payoutStatus && payoutStatus !== 'All') payload['payout_status'] = payoutStatus;\n\n console.log('payload : ', payload);\n\n const response = await adminService.getMerchantCapabilities(payload);\n setLoader(false);\n console.log('response : ', response);\n setCount(response?.data?.count);\n setTotalRecords(response?.data?.totalNumberOfRecords || 0);\n setMerchantCapabilities(response?.data?.data?.length > 0 ? response.data.data : []);\n };\n\n const onSearchMerchants = (e) => {\n e.preventDefault();\n setPage(1);\n getdataResponse();\n };\n\n return (\n \n );\n}\n\nexport default MerchantCapabilities;\n","import React from 'react';\nimport { Route } from 'react-router-dom';\nimport RoutingManager from './routing-manager';\nimport Dashboard from './../pages/dashboard/dashboard.container';\nimport Profile from './../pages/profile/profile.container';\nimport RolesAndPermissions from './../pages/roles-and-permissions/roles-and-permissions.container';\nimport UserManagement from './../pages/user-management/user-management.container';\nimport Settings from './../pages/settings/settings.container';\nimport Team from './../pages/team/team.container';\nimport PaymentList from './../pages/payments/payments.container';\nimport ChargebackList from './../pages/chargebacks/chargebacks.container';\nimport MerchantChargesList from './../pages/merchant-charges/merchant-charges.container';\nimport InternalTransfersList from './../pages/internal-transfers/internal-transfers.container';\nimport PayoutsList from './../pages/payouts/payouts.container';\nimport GfoPaymentsList from '../pages/gfo-payments/gfo-payments.container';\nimport VirtualTerminal from './../pages/virtual-terminal/virtual-terminal.container';\nimport CardDetails from './../pages/card-details/card-details.container';\nimport AcceptInvitation from './../pages/accept-invitation/accept-invitation.container';\nimport AdminDashboard from './../pages/admin/dashboard/admin-dashboard.container';\nimport PendingCustomers from './../pages/admin/pending-customers/pending-customers.container';\nimport UpdateBank from './../pages/update-bank/update-bank.container';\nimport UpdateAccount from './../pages/update-account/update-account.container';\nimport GenericQRCode from '../pages/generic-qr-code/generic-qr-code.container';\nimport PaymentQRCode from '../pages/payment-qr-code/payment-qr-code.container';\nimport UpdatePassword from './../pages/update-password/update-password.container';\nimport AccountVerifyUploadDocuments from './../pages/account-verify-upload-documents/account-verify-upload-documents.container';\nimport PaymentDetails from 'pages/payment-details/payment-details.container';\nimport PayoutDetails from 'pages/payout-details/payout-details.container';\nimport AdminFunctions from 'pages/admin/admin-functions/admin-functions.container';\nimport PdqTransactions from 'pages/pdq-transactions/pdq-transactions.container';\nimport { AdminFunctionsProvider } from 'contexts';\nimport AdminUserTypeRoute from './admin-user-type-route';\nimport RestrictedAdminUserTypeRoute from './restricted-admin-user-type-route';\nimport LoggedRoute from './logged-route';\nimport WorkingAccountRoute from './working-account-route';\nimport TransactionPageAccessibilityRoute from './transaction-page-accessibility-route';\nimport MerchantManager from './merchant-routing-manager';\nimport ManageProducts from 'pages/manage-products/manage-products.container';\nimport BunkAccountUploadingDocumentsContainer from 'pages/bank-verification-upload-documents/bank-verification-upload-documents.container';\nimport AdminPendingMerchants from 'pages/admin/admin-pending-merchants/admin-pending-merchants.container';\nimport OwnerAndActiveMerchantOrAdminRoute from './owner-and-active-merchant-route';\nimport OwnerOrAdminRoute from './owner-or-admin-route';\nimport DashboardReseller from 'pages/dashboard-reseller/dashboard-reseller.container';\nimport ClientRegister from 'pages/client-registration/client-registration.container';\nimport StripePayoutDetails from 'pages/stripe-payouts-details/stripe-payout-details.container';\nimport MerchantDetails from 'pages/merchant-details/merchant-details.container';\nimport CanonicalResellerOnboarding from 'pages/canonical-reseller-onboarding/canonical-reseller-onboarding.container';\nimport canonicalResellerMerchant from 'pages/canonicalResellerMerchant/canonical-reseller-merchant.container';\nimport CanonicalResellerMerchantManagement from 'pages/canonical-reseller-merchant-management/canonical-reseller-merchant-management.container';\nimport SettingTermsAndConditions from 'pages/settings-terms-and-conditions/settings-terms-and-conditions.container';\nimport DocumentManagement from 'pages/admin/document-management/document-management.container';\nimport AdminMissingMerchantContainer from 'pages/admin/admin-missing-merchant/admin-missing-merchant.container';\nimport MissingDocument from 'pages/admin/missing-merchant-docoument/missing-merchant-document.container';\nimport DashboardPdq from 'pages/dashboard-pdq/dashboard-pdq.container';\nimport PdqOrderMerchantsContainer from 'pages/pdq-order-merchant/pdq-order-merchant.container';\nimport ProductApprovedRoute from './product-approved-route';\nimport { ProductsRequired } from 'utils/enums/ProductsRequired';\nimport RefundList from 'pages/refund-list/list-refund.container';\nimport ContractDetails from 'pages/contract-details/contract-details.container';\nimport PrintAgreementContainer from 'pages/print-agreement/print-agreement.container';\nimport BankErrorList from 'pages/bank-error-list/bank-error-list.container';\nimport PayoutsNotReceived from 'pages/payout-not-recieved/payout-not-received.container';\nimport PendingBankVerificationList from 'pages/admin/admin-pending-bank-verfication/admin-pending-bank-verification.container';\nimport PendingAccountVerificationList from 'pages/admin/admin-pending-account-verification/admin-pending-account-verification.container';\n\nimport ChargeBacks from 'pages/chargeback-list/chargeback.list.container';\nimport WalletHistory from 'pages/admin/admin-wallet-history/wallet-history.container';\nimport MerchantCapabilities from 'components/admin/merchant-capabilities/merchant-capabilities.container';\nexport default [\n ,\n ,\n ,\n ,\n ,\n ,\n ,\n ,\n ,\n ,\n ,\n ,\n ,\n\n ,\n ,\n ,\n ,\n ,\n ,\n\n ,\n ,\n ,\n ,\n ,\n ,\n\n \n \n ,\n \n \n ,\n\n \n \n ,\n \n \n ,\n \n \n ,\n \n \n ,\n \n \n ,\n \n \n ,\n \n \n ,\n \n \n ,\n \n \n ,\n \n \n ,\n \n \n ,\n \n \n ,\n \n \n ,\n \n \n ,\n \n \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';\nimport { Route } from 'react-router-dom';\nimport RoutingManager from './routing-manager';\nimport Dashboard from '../pages/dashboard/dashboard.container';\nimport Profile from '../pages/profile/profile.container';\nimport RolesAndPermissions from '../pages/roles-and-permissions/roles-and-permissions.container';\nimport UserManagement from '../pages/user-management/user-management.container';\nimport Settings from '../pages/settings/settings.container';\nimport Team from '../pages/team/team.container';\nimport PaymentList from '../pages/payments/payments.container';\nimport ChargebackList from '../pages/chargebacks/chargebacks.container';\nimport MerchantChargesList from '../pages/merchant-charges/merchant-charges.container';\nimport InternalTransfersList from '../pages/internal-transfers/internal-transfers.container';\nimport PayoutsList from '../pages/payouts/payouts.container';\nimport GfoPaymentsList from '../pages/gfo-payments/gfo-payments.container';\nimport VirtualTerminal from '../pages/virtual-terminal/virtual-terminal.container';\nimport CardDetails from '../pages/card-details/card-details.container';\nimport AcceptInvitation from '../pages/accept-invitation/accept-invitation.container';\nimport AdminDashboard from '../pages/admin/dashboard/admin-dashboard.container';\nimport PendingCustomers from '../pages/admin/pending-customers/pending-customers.container';\nimport UpdateBank from '../pages/update-bank/update-bank.container';\nimport UpdateAccount from '../pages/update-account/update-account.container';\nimport GenericQRCode from '../pages/generic-qr-code/generic-qr-code.container';\nimport PaymentQRCode from '../pages/payment-qr-code/payment-qr-code.container';\nimport UpdatePassword from '../pages/update-password/update-password.container';\nimport AccountVerifyUploadDocuments from '../pages/account-verify-upload-documents/account-verify-upload-documents.container';\nimport PaymentDetails from 'pages/payment-details/payment-details.container';\nimport PayoutDetails from 'pages/payout-details/payout-details.container';\nimport StripePayoutDetails from 'pages/stripe-payouts-details/stripe-payout-details.container';\nimport PayoutsNotReceived from 'pages/payout-not-recieved/payout-not-received.container';\n\nimport AdminFunctions from 'pages/admin/admin-functions/admin-functions.container';\nimport PdqTransactions from 'pages/pdq-transactions/pdq-transactions.container';\nimport { AdminFunctionsProvider } from 'contexts';\nimport AdminUserTypeRoute from './admin-user-type-route';\nimport LoggedRoute from './logged-route';\nimport WorkingAccountRoute from './working-account-route';\nimport RestrictedAdminUserTypeRoute from './restricted-admin-user-type-route';\nimport TransactionPageAccessibilityRoute from './transaction-page-accessibility-route';\nimport MerchantManager from './merchant-routing-manager';\nimport ManageProducts from 'pages/manage-products/manage-products.container';\nimport BunkAccountUploadingDocumentsContainer from 'pages/bank-verification-upload-documents/bank-verification-upload-documents.container';\nimport AdminPendingMerchants from 'pages/admin/admin-pending-merchants/admin-pending-merchants.container';\nimport OwnerAndActiveMerchantOrAdminRoute from './owner-and-active-merchant-route';\nimport OwnerOrAdminRoute from './owner-or-admin-route';\nimport DashboardReseller from 'pages/dashboard-reseller/dashboard-reseller.container';\nimport ClientRegister from 'pages/client-registration/client-registration.container';\nimport MerchantDetails from 'pages/merchant-details/merchant-details.container';\nimport CanonicalResellerOnboarding from 'pages/canonical-reseller-onboarding/canonical-reseller-onboarding.container';\nimport canonicalResellerMerchant from 'pages/canonicalResellerMerchant/canonical-reseller-merchant.container';\nimport CanonicalResellerMerchantManagement from 'pages/canonical-reseller-merchant-management/canonical-reseller-merchant-management.container';\nimport SettingTermsAndConditions from 'pages/settings-terms-and-conditions/settings-terms-and-conditions.container';\nimport DocumentManagement from 'pages/admin/document-management/document-management.container';\nimport AdminMissingMerchantContainer from 'pages/admin/admin-missing-merchant/admin-missing-merchant.container';\nimport MissingDocument from 'pages/admin/missing-merchant-docoument/missing-merchant-document.container';\nimport ProductApprovedRoute from './product-approved-route';\nimport { ProductsRequired } from 'utils/enums/ProductsRequired';\nimport DashboardPdq from 'pages/dashboard-pdq/dashboard-pdq.container';\n\nimport RefundList from 'pages/refund-list/list-refund.container';\nimport ChargeBacks from 'pages/chargeback-list/chargeback.list.container';\nimport ContractDetails from 'pages/contract-details/contract-details.container';\nimport PrintAgreementContainer from 'pages/print-agreement/print-agreement.container';\nimport PdqOrderMerchantsContainer from 'pages/pdq-order-merchant/pdq-order-merchant.container';\nimport BankErrorList from 'pages/bank-error-list/bank-error-list.container';\nimport PendingBankVerificationList from 'pages/admin/admin-pending-bank-verfication/admin-pending-bank-verification.container';\nimport PendingAccountVerificationList from 'pages/admin/admin-pending-account-verification/admin-pending-account-verification.container';\nimport WalletHistory from 'pages/admin/admin-wallet-history/wallet-history.container';\nimport MerchantCapabilities from 'components/admin/merchant-capabilities/merchant-capabilities.container';\n\nexport default [\n ,\n ,\n ,\n ,\n ,\n ,\n ,\n ,\n ,\n ,\n ,\n\n ,\n ,\n ,\n ,\n ,\n ,\n ,\n ,\n\n ,\n ,\n\n ,\n ,\n ,\n ,\n\n \n \n ,\n \n \n ,\n \n \n ,\n \n \n ,\n \n \n ,\n \n \n ,\n \n \n ,\n \n \n ,\n \n \n ,\n \n \n ,\n \n \n ,\n \n \n ,\n \n \n ,\n \n \n ,\n \n \n ,\n\n \n \n ,\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';\nimport styles from './content.module.scss';\nimport { Switch } from 'react-router-dom';\nimport { useGlobalStateContext } from 'contexts';\nimport sideBarMerchantRoutes from '../../routing/with-sidebar.routes';\nimport sideBarMerchantCustomDomainRoutes from '../../routing/with-sidebar.custom-domain.routes';\nimport { UserType } from 'utils/enums/UserType';\n\nfunction ContentComponent() {\n const { globalState } = useGlobalStateContext();\n return (\n
    \n \n {JSON.parse(localStorage.getItem('customDomain')) === false\n ? sideBarMerchantRoutes\n : sideBarMerchantCustomDomainRoutes}\n \n
    \n );\n}\n\nexport default ContentComponent;\n","import React from 'react';\nimport ContentComponent from './content.component';\n\nfunction Content() {\n return ;\n}\n\nexport default Content;\n","import React from 'react';\nimport { MerchantListContainer, MerchantDashBoardMenu } from 'components';\nimport { Grid, makeStyles } from '@material-ui/core';\nimport style from './side-bar-merchant.module.scss';\nimport Header from '../header/header.container';\nimport { useGlobalStateContext } from 'contexts';\nimport { UserType } from 'utils/enums/UserType';\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n '&.MuiGrid-grid-md-3': {\n 'max-width': 'none'\n }\n }\n}));\n\nfunction SideBarMerchantComponent(props) {\n const classes = useStyles();\n const { globalState } = useGlobalStateContext();\n const { forcedMerchantIdThroughParam } = props;\n const isCanonicalResellerUser = globalState.user?.UserType?.name === UserType.Reseller;\n\n return (\n \n \n \n
    \n \n \n {!isCanonicalResellerUser && (\n \n )}\n \n \n \n \n \n \n );\n}\n\nexport default SideBarMerchantComponent;\n","import React from 'react';\nimport SideBarMerchantComponent from './side-bar-merchant.component';\n\nfunction SideBarMerchant(props) {\n return ;\n}\n\nexport default SideBarMerchant;\n","import React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport Header from './header/header.container';\nimport Content from './content/content.container';\nimport SideBarMerchant from './side-bar-mechant/side-bar-merchant.container';\nimport style from './layout.module.scss';\nimport { Drawer, Grid, useMediaQuery } from '@material-ui/core';\nimport { Menu } from '@material-ui/icons';\nimport { MerchantDashBoardMenu, MerchantListContainer, UrgentMessage } from 'components';\nimport { AuthService } from 'services';\nimport { useGlobalStateContext } from 'contexts';\nimport { UserType } from 'utils/enums/UserType';\nfunction LayoutComponent(props) {\n const mediaLessThan960px = useMediaQuery('(max-width:959px)');\n const mediaLessThan600px = useMediaQuery('(max-width:599px)');\n const { globalState } = useGlobalStateContext();\n const isCanonicalResellerUser = globalState.user?.UserType?.name === UserType.Reseller;\n const [open, setOpen] = useState(false);\n const { urgentMessages, forcedMerchantIdThroughParam } = props;\n\n return (\n \n {AuthService.isLoggedUser() ? (\n \n {urgentMessages?.length !== 0 && (\n
    \n {urgentMessages.map((data) => {\n if (data.merchantIds !== null && JSON.parse(data.merchantIds)?.length !== 0) {\n if (JSON.parse(data.merchantIds)?.includes(globalState.merchant?.id?.toString())) {\n return ;\n } else {\n if (data.merchantIds === 'null') {\n return ;\n } else {\n return null;\n }\n }\n } else {\n return ;\n }\n })}\n
    \n )}\n\n {!mediaLessThan960px ? (\n
    \n \n
    \n ) : (\n \n \n \n setOpen(true)} />\n \n {!mediaLessThan960px && (\n \n {isCanonicalResellerUser &&
    }\n {!mediaLessThan600px && !isCanonicalResellerUser &&
    }\n \n )}\n \n {!isCanonicalResellerUser && (\n \n )}\n \n \n setOpen(false)}>\n
    \n \n
    \n
    \n \n )}\n \n \n \n \n ) : (\n \n )}\n \n );\n}\n\nLayoutComponent.propTypes = {\n urgentMessages: PropTypes.array\n};\n\nexport default LayoutComponent;\n","import { useGlobalStateContext } from 'contexts';\nimport React, { useEffect, useState } from 'react';\nimport { UrgentMessagesService } from 'services';\nimport LayoutComponent from './layout.component';\n\nfunction Layout(props) {\n const { globalState } = useGlobalStateContext();\n const [urgentMessages, setUrgentMessages] = useState([]);\n let pathname = props?.location?.pathname;\n let forcedMerchantIdThroughParam;\n\n if (\n pathname?.includes('/admin-functions/') ||\n pathname?.includes('/missing-merchant-document/') ||\n pathname?.includes('/document-management/')\n ) {\n forcedMerchantIdThroughParam = +pathname.substr(pathname.lastIndexOf('/') + 1);\n }\n\n useEffect(() => {\n const getUrgentMessages = async () => {\n if (localStorage.getItem('user')) {\n const response = await UrgentMessagesService.getUrgentMessages(globalState.reseller?.id);\n if (response.isSuccesfully) {\n setUrgentMessages(response.data.urgentMessages);\n }\n }\n };\n\n getUrgentMessages();\n }, [globalState.shouldCheckForUrgentMessages, globalState.reseller]);\n\n return (\n \n );\n}\n\nexport default Layout;\n","import React from 'react';\nimport styles from './appCTA.module.scss';\nimport Button from '@mui/material/Button';\nimport { useGlobalStateContext } from 'contexts';\n\nfunction AppCTAComponent(props) {\n const { redirection_link } = props;\n const { setRoute } = useGlobalStateContext();\n\n return (\n \n
    \n
    \n \n
    \n
    \n
    \n

    \n Hey{' '}\n \n 👋\n \n , Welcome to Datman\n

    \n

    \n Upgrade to Our New App for Enhanced Features and Performance.\n

    \n
    \n
    \n (window.location.href = redirection_link)}\n variant=\"contained\"\n className={styles.content__container__cta__button}\n >\n Use the App\n \n

    setRoute('/login')}>Continue on the web

    \n
    \n
    \n
    \n
    \n );\n}\nexport default AppCTAComponent;\n","import React from 'react';\nimport AppCTAComponent from './appCTA.component';\nimport { REACT_APP_DOWNLOAD_LINK } from 'utils/constants';\n\nfunction AppCTA() {\n const userAgent = navigator.userAgent;\n let redirection_link = REACT_APP_DOWNLOAD_LINK;\n const mobileDevices = ['ipad', 'iphone', 'android']; // It is used to check if the the device via which this page is being accessed is a mobile view-port or not\n redirection_link = mobileDevices.some((device) => userAgent.toLowerCase().includes(device))\n ? 'https://datman-alternate.app.link/'\n : redirection_link;\n\n return ;\n}\n\nexport default AppCTA;\n","import React from 'react';\nimport { LoginForm } from 'components';\nimport styles from './login.module.scss';\nimport { useGlobalStateContext } from 'contexts';\n\nfunction LoginComponent(props) {\n const { globalState } = useGlobalStateContext();\n\n return (\n
    \n
    \n \"Logo\"\n
    \n \n
    \n );\n}\nexport default LoginComponent;\n","import React from 'react';\nimport LoginComponent from './login.component';\nimport { useGlobalStateContext } from 'contexts';\nimport { Redirect } from 'react-router-dom';\nimport { AuthService } from 'services';\nimport { useLocation } from 'react-router-dom';\nimport { parse } from 'query-string';\n\nfunction Login(props) {\n const { globalState } = useGlobalStateContext();\n const location = useLocation();\n const urlParams = parse(location.hash);\n sessionStorage.setItem('login', true);\n if (globalState.user && globalState.user.email === urlParams.email) {\n globalState.user.isEmailConfirmed =\n urlParams.email_verification && urlParams.email_verification === 'success' ? true : false;\n const currentUser = JSON.parse(localStorage.getItem('user'));\n if (currentUser) {\n currentUser.isEmailConfirmed = true;\n }\n localStorage.setItem('user', JSON.stringify(currentUser));\n }\n (props.history.action === 'REPLACE' || props.history.action === 'PUSH') && window.location.reload();\n\n window.addEventListener('popstate', (e) => {\n window.location.reload(true);\n });\n\n if (AuthService.isLoggedUser()) {\n if (props.location.search && props.location.search?.includes('data='))\n return (\n \n );\n else\n return (\n \n );\n }\n\n return ;\n}\n\nexport default Login;\n","import React from 'react';\nimport { ForgotPassword } from 'components';\n\nfunction ForgotPasswordComponent() {\n return ;\n}\n\nexport default ForgotPasswordComponent;\n","import React from 'react';\nimport ForgotPasswordComponent from './forgot-password.component';\n\nfunction ForgotPassword() {\n return ;\n}\n\nexport default ForgotPassword;\n","import React from 'react';\nimport { Grid, useMediaQuery, Typography } from '@material-ui/core';\nimport { OnboardingSteps } from 'components';\nimport styles from './onboarding.module.scss';\nimport Header from 'layouts/header/header.container';\nimport { LoadingScreen } from 'components';\nimport { useOnboardingFormContext } from 'contexts';\nimport { MerchantCountries } from 'utils/enums/MerchantCountries';\nimport { MerchantStatus } from 'utils/enums/MerchantStatus';\nimport { useGlobalStateContext } from 'contexts';\nimport { UserType } from 'utils/enums/UserType';\n\nfunction OnboardingComponent(props) {\n const { getComponent, steps, step, setStep } = props;\n const { globalState } = useGlobalStateContext();\n const { onboardingForm } = useOnboardingFormContext();\n const mediaLessThan960px = useMediaQuery('(max-width:959px)');\n const isMerchantUserType = globalState.user?.UserType?.name === UserType.Merchant;\n const isActiveMerchant = globalState.merchant?.status === MerchantStatus.ACTIVE;\n const isUkMerchant = globalState.merchant?.country === MerchantCountries.UNITED_KINGDOM;\n\n return (\n
    \n \n \n
    \n \n {!mediaLessThan960px && }\n {isMerchantUserType && isActiveMerchant && isUkMerchant && mediaLessThan960px && (\n
    \n \n
    \n To make sure your details are up to date, please complete the details highlighted in red\n
    \n
    \n
    \n )}\n \n \n \n {!mediaLessThan960px && (\n \n \n \n {getComponent(step)}\n \n \n \n )}\n \n
    \n \n );\n}\n\nexport default OnboardingComponent;\n","import React, { useState, useEffect } from 'react';\nimport OnboardingComponent from './onboarding.component';\nimport { useGlobalStateContext } from 'contexts';\n\nimport {\n OnboardingNameAdress,\n OnboardingAdressStep,\n T2SOnboardingAdressStep,\n OnboardingOwnerDetails,\n OnboardingBusinessDetailsStep,\n OnboardingBusinessProfile,\n ProductsRequired,\n OnboardingTransactionProfile,\n OnboardingDocuments,\n OnboardingSummary,\n T2SOnboardingBankDetailsStep,\n T2SOnboardingOwnerDetails,\n T2SOnboardingNameAddress\n} from 'components';\nimport { OnboardingFormProvider } from 'contexts/onboarding-form-context/onboardingForm.context';\n\n//Importing enums\nimport { OnboardingSteps } from 'utils/enums/OnboardingStepsMapping';\n\nfunction Onboarding() {\n const { globalState } = useGlobalStateContext();\n const isT2SMerchant = globalState.isT2SMerchant;\n const [step, setStep] = useState(1);\n\n useEffect(() => {\n setStep(globalState.merchant?.onboardingStep);\n }, [globalState.merchant]);\n\n let steps = [];\n\n switch (true) {\n case isT2SMerchant:\n steps = [\n OnboardingSteps.NAME_AND_ADDRESS,\n OnboardingSteps.BANK_DETAILS,\n OnboardingSteps.TRADING_ADDRESS,\n OnboardingSteps.OWNER_DETAILS,\n OnboardingSteps.UPLOAD_DOCUMENTS,\n OnboardingSteps.SUMMARY\n ];\n break;\n\n default:\n steps = [\n OnboardingSteps.NAME_AND_ADDRESS,\n OnboardingSteps.BUSINESS_DETAILS,\n OnboardingSteps.TRADING_ADDRESS,\n OnboardingSteps.OWNER_DETAILS,\n OnboardingSteps.BUSINESS_PROFILE,\n OnboardingSteps.TRANSACTION_PROFILE,\n OnboardingSteps.PRODUCTS_REQUIRED,\n OnboardingSteps.UPLOAD_DOCUMENTS,\n OnboardingSteps.SUMMARY\n ];\n break;\n }\n\n const nextStep = (stepNumber) => {\n if (stepNumber) {\n setStep(stepNumber);\n } else {\n setStep(step + 1);\n }\n };\n const getComponent = (step) => {\n switch (step) {\n case 1:\n if (!isT2SMerchant) {\n return ;\n } else {\n return ;\n }\n case 2:\n if (!isT2SMerchant) {\n return ;\n } else {\n return ;\n }\n case 3:\n if (!isT2SMerchant) {\n return ;\n } else {\n return ;\n }\n case 4:\n if (!isT2SMerchant) {\n return ;\n } else {\n return ;\n }\n case 5:\n if (!isT2SMerchant) {\n return ;\n } else {\n return ;\n }\n case 6:\n if (!isT2SMerchant) {\n return ;\n } else {\n return ;\n }\n case 7:\n if (!isT2SMerchant) {\n return ;\n } else {\n setStep(step + 1);\n break;\n }\n case 8:\n return ;\n case 9:\n return ;\n default:\n return
    Component nr. {step}
    ;\n }\n };\n\n return (\n \n \n \n );\n}\n\nexport default Onboarding;\n","import React from 'react';\nimport { SignUpForm } from 'components';\nimport styles from './signup.module.scss';\nimport { useGlobalStateContext } from 'contexts';\n\nfunction SignUpComponent() {\n const { globalState } = useGlobalStateContext();\n\n return (\n
    \n
    \n \"Logo\"\n
    \n \n
    \n );\n}\n\nexport default SignUpComponent;\n","import React from 'react';\nimport SignUpComponent from './signup.component';\nimport { AuthService } from 'services';\nimport { Redirect } from 'react-router-dom';\nimport { useLocation } from 'react-router-dom';\nimport qs from 'qs';\nimport { useGlobalStateContext } from 'contexts';\n\nfunction SignUp() {\n const { getRoute } = useGlobalStateContext();\n const location = useLocation();\n\n const queryString = qs.parse(location.search, { ignoreQueryPrefix: true });\n const userIsLoggedIn = AuthService.isLoggedUser();\n\n if (userIsLoggedIn && queryString.email && queryString.oldPassword) {\n AuthService.logout();\n return ;\n }\n\n if (userIsLoggedIn) {\n return ;\n }\n\n return ;\n}\n\nexport default SignUp;\n","import React from 'react';\nimport { ExternalSignUpForm } from 'components';\nimport styles from './signup.module.scss';\nimport { useGlobalStateContext } from 'contexts';\n\nfunction SignUpComponent() {\n const { globalState } = useGlobalStateContext();\n\n return (\n
    \n \n
    \n );\n}\n\nexport default SignUpComponent;\n","import React from 'react';\nimport SignUpComponent from './signup.component';\nimport { AuthService } from 'services';\nimport { Redirect } from 'react-router-dom';\nimport { useLocation } from 'react-router-dom';\nimport qs from 'qs';\nimport { useGlobalStateContext } from 'contexts';\n\nfunction ExternalSignUp() {\n const { getRoute } = useGlobalStateContext();\n const location = useLocation();\n\n const queryString = qs.parse(location.search, { ignoreQueryPrefix: true });\n const userIsLoggedIn = AuthService.isLoggedUser();\n\n if (userIsLoggedIn && queryString.email && queryString.oldPassword) {\n AuthService.logout();\n return ;\n }\n\n if (userIsLoggedIn) {\n return ;\n }\n\n return ;\n}\n\nexport default ExternalSignUp;\n","import React from 'react';\nimport { HelpContacts } from 'components';\n\nfunction HelpPageComponent() {\n return ;\n}\n\nexport default HelpPageComponent;\n","import React from 'react';\nimport HelpPageComponent from './help.component.jsx';\n\nfunction Help() {\n return ;\n}\n\nexport default Help;\n","import React from 'react';\nimport { Redirect, Route } from 'react-router-dom';\nimport { useGlobalStateContext } from 'contexts';\nimport { AuthService } from 'services';\nimport { useLocation } from 'react-router-dom';\nimport { parse } from 'query-string';\nimport { UNDERMAINTAINANCE } from 'utils/constants';\n\nexport default function NotLoggedRoute({ ...rest }) {\n const { globalState, getRoute } = useGlobalStateContext();\n const location = useLocation();\n if (UNDERMAINTAINANCE && globalState.customDomain) {\n return ;\n }\n\n if (AuthService.isLoggedUser()) {\n const urlParams = parse(location.hash);\n if (globalState.user && globalState.user?.email === urlParams.email) {\n globalState.user.isEmailConfirmed =\n urlParams.email_verification && urlParams.email_verification === 'success' ? true : false;\n const currentUser = JSON.parse(localStorage.getItem('user'));\n currentUser.isEmailConfirmed = true;\n localStorage.setItem('user', JSON.stringify(currentUser));\n }\n if (localStorage.getItem('thirdPartyResellerUrl')) {\n return ;\n }\n\n if (rest.location.search && rest.location.search?.includes('data=')) {\n //for linkQR page\n return ;\n }\n\n return ;\n }\n\n return ;\n}\n","import React from 'react';\nimport { Redirect } from 'react-router-dom';\nimport { useGlobalStateContext } from 'contexts';\nimport NotLoggedRoute from './not-logged-route';\nimport { ResellerType } from 'utils/enums/ResellerType';\nimport { useLocation } from 'react-router-dom';\nimport qs from 'query-string';\nimport { UNDERMAINTAINANCE } from 'utils/constants';\n\n//dummy\nexport default function MypayOnlyNotLoggedRoute({ ...rest }) {\n const { globalState, getRoute } = useGlobalStateContext();\n const isMypayReseller = globalState.reseller?.name === ResellerType.OMNIPAY;\n const location = useLocation();\n\n if (UNDERMAINTAINANCE && globalState.customDomain) {\n return ;\n }\n\n if (!isMypayReseller) {\n const queryString = qs.parse(location.search, { ignoreQueryPrefix: true });\n if (!queryString?.q && !queryString?.email && !queryString?.phone) {\n return ;\n } else {\n return ;\n }\n }\n\n return ;\n}\n","import React from 'react';\nimport { Redirect } from 'react-router-dom';\nimport { useGlobalStateContext } from 'contexts';\nimport { UserType } from 'utils/enums/UserType';\nimport LoggedRoute from './logged-route';\n\nconst SuperAdminUserTypeRoute = ({ component: Component, ...rest }) => {\n const { globalState } = useGlobalStateContext();\n return (\n \n globalState.user?.UserType?.name === UserType.SuperAdmin ? (\n \n ) : (\n \n )\n }\n />\n );\n};\n\nexport default SuperAdminUserTypeRoute;\n","import React from 'react';\nimport { ResetPasswordForm, SnackBarAndAlert } from 'components';\nimport styles from './reset-password.module.scss';\nimport { useGlobalStateContext } from 'contexts';\nimport { SnackbarMessages } from 'utils/text enums/snackbar-text';\n\nfunction ResetPasswordComponent(props) {\n const { snackbar, setShowSnackbar } = props;\n const { globalState, setRoute } = useGlobalStateContext();\n const resetPasswordUrl = window.location.href;\n const userOnPasswordUpdatePageAfterExpiry = resetPasswordUrl.includes('passwordRotation');\n\n return (\n
    \n
    setRoute('/login')}>\n \"Logo\"\n
    \n \n {userOnPasswordUpdatePageAfterExpiry && (\n setShowSnackbar(false)} type={'success'}>\n {SnackbarMessages.PASSWORD_EXPIRED_MESSAGE}\n \n )}\n
    \n );\n}\n\nexport default ResetPasswordComponent;\n","import React, { useState } from 'react';\nimport ResetPasswordComponent from './reset-password.component';\n\nfunction ResetPassword() {\n const [snackbar, setShowSnackbar] = useState(true);\n return ;\n}\n\nexport default ResetPassword;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Grid, Box, Typography } from '@material-ui/core';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport { useGlobalStateContext } from 'contexts';\nimport styles from './not-authorized.module.scss';\n\nfunction NotAuthorizedPageComponent(props) {\n const { isAutoRedirect, progress } = props;\n const { globalState, setRoute } = useGlobalStateContext();\n\n return (\n \n \n {\n setRoute('/home');\n }}\n className={styles.container__img}\n />\n \n {isAutoRedirect && (\n \n
    \n \n Redirecting in:\n \n
    \n \n \n \n {`${Math.round(\n (100 - progress) / 20\n )}`}\n \n \n
    \n )}\n \n \n You are not authorised to access this page.\n {\n setRoute('/home');\n }}\n className={styles.container__anchor}\n >\n Click here\n \n \n \n
    \n );\n}\n\nNotAuthorizedPageComponent.propTypes = {\n isAutoRedirect: PropTypes.bool,\n progress: PropTypes.number\n};\n\nexport default NotAuthorizedPageComponent;\n","import React, { useState, useEffect } from 'react';\nimport NotAuthorizedPageComponent from './not-authorized.component';\nimport { useGlobalStateContext } from 'contexts';\n\nfunction NotAuthorizedPage(props) {\n const { autoRedirect } = props;\n const { setRoute } = useGlobalStateContext();\n const [progress, setProgress] = useState(0);\n\n useEffect(() => {\n const timer = setInterval(() => {\n setProgress((prevProgress) => (prevProgress >= 100 ? 0 : prevProgress + 20));\n }, 1000);\n\n return () => {\n clearInterval(timer);\n };\n }, []);\n\n useEffect(() => {\n if (autoRedirect && progress === 100) {\n setRoute('/home');\n }\n // eslint-disable-next-line\n }, [autoRedirect, progress]);\n\n return ;\n}\n\nexport default NotAuthorizedPage;\n","import React from 'react';\nimport { SupportChangeUserAttributes, SupportUploadTermsAnsConditions } from 'components';\nimport { Grid } from '@material-ui/core';\nimport { useGlobalStateContext } from 'contexts';\nimport styles from './support-utilities.module.scss';\nimport { UserType } from 'utils/enums/UserType';\nimport NotAuthorizedPage from 'pages/not-authorized/not-authorized.container';\nconst SupportUtilitiesComponent = (props) => {\n const { globalState, setRoute } = useGlobalStateContext();\n const { name: utilityName } = props.match.params;\n const isSuperAdmin = globalState.user?.UserType?.name === UserType.SuperAdmin;\n const utilityNameToSupportUtilityComponent = {\n 'update-user-attributes': ,\n 'add-terms-and-conditions': \n };\n\n return (\n \n {utilityName === 'update-user-attributes' && !isSuperAdmin ? (\n \n ) : (\n <>\n
    \n
    setRoute('/home')}>\n \"logo\"\n
    \n
    \n \n {utilityNameToSupportUtilityComponent[utilityName]}\n \n \n )}\n
    \n );\n};\n\nexport default SupportUtilitiesComponent;\n","import React from 'react';\nimport SupportUtilitiesComponent from './support-utilities.component';\n\nconst SupportUtilities = (props) => {\n return ;\n};\n\nexport default SupportUtilities;\n","import React from 'react';\nimport { Grid, Typography, useMediaQuery } from '@material-ui/core';\nimport styles from './terms-and-conditions.module.scss';\nimport { useGlobalStateContext } from 'contexts';\nimport Table from '@material-ui/core/Table';\nimport TableBody from '@material-ui/core/TableBody';\nimport TableCell from '@material-ui/core/TableCell';\nimport TableContainer from '@material-ui/core/TableContainer';\nimport TableHead from '@material-ui/core/TableHead';\nimport TableRow from '@material-ui/core/TableRow';\nimport Paper from '@material-ui/core/Paper';\nimport expressionMeaningRows from './expressionMeaningRows';\nimport { REACT_APP_TERMS_AND_CONDITION_URL } from 'utils/constants';\n\nfunction TermsAndConditionsPageComponent() {\n const { globalState } = useGlobalStateContext();\n const mediaLessThan600px = useMediaQuery('(max-width:599px)');\n const isDatman = globalState.reseller?.id === 2;\n\n return (\n \n \n \n \n\n
    \n \n
    \n\n {/* */}\n\n {/* \n \n Terms and conditions\n \n */}\n\n {/* \n \n Table of contents\n \n \n \n\n \n \n 1 Basis of contract\n \n \n 1.1 These Conditions apply to the Contract to the exclusion of any other terms that you seek\n to impose or incorporate, or which are implied by trade, custom, practice or course of dealing.\n \n \n 1.2 The Contract Form constitutes a Contract by you to accept the Services in accordance with\n these Conditions. You are responsible for ensuring that the terms set out on the Contract Form are\n complete and accurate.\n \n \n 1.3 The Contract Form shall only be deemed to be accepted when the Company signs the Contract\n Form (by a handwritten or electronic signature) at which point the Contract shall come into\n existence.\n \n \n 1.4 The Contract constitutes the entire Contract between the parties. You acknowledge that\n you have not relied on any statement, promise or representation made or given by or on behalf of the\n Company which is not set out in the Contract.\n \n \n\n \n \n 2 Term\n \n \n 2.1 The Contract shall start on the Commencement Date and shall run for the Initial Period.\n If the Contract is not terminated during the Initial Period in accordance with clause 18, the\n Contract shall continue to run on a rolling twelve (12) calendar month basis, starting on the next\n day following the expiration of the Initial Period.\n \n \n\n \n \n 3 The company’s role\n \n \n 3.1 The Company assists you, as a third party seller to process E-commerce Transactions in\n relation to Orders. While the Company as a platform provider helps facilitate Acquiring Services in\n respect of processing E-commerce Transactions relating to Orders that are carried out on your\n website, the Company is neither the buyer nor the seller of your goods.\n \n \n 3.2 The Company provides a venue for you and the Customers to complete E-commerce\n Transactions. Accordingly, the contract formed at the completion of an Order is solely between you\n and the Customer. The Company is not a party to this contract nor assumes any responsibility arising\n out of or in connection with it nor is it your agent.\n \n \n 3.3 You are responsible for the sale of the goods and for dealing with any Customer claims or\n any other issue arising out of or in connection with the contract between you and the Customer.\n \n \n 3.4 Provision of the Services, particularly Merchant and Acquiring Services are dependent\n upon the actions of Third Parties, including but not limited to Customer Cards, Card issuers and\n Financial Institutions processing Orders and E-commerce Transactions. Subject to the provisions of\n clause 17, we will not be held responsible for any delay or failure to comply with our obligations\n under these Conditions if the delay or failure arises from any cause which is beyond our reasonable\n control, particularly in respect of any Downtime in providing the Services at anytime, particularly{' '}\n outside of Office Hours.\n \n \n 3.5 It is expressly agreed that the Company shall not be liable for any delays or Downtime in\n respect of providing services caused by events beyond our control, such as the failure of Third\n Party internet providers for either you, Customers, Barclaycard, Smartpay, Financial Institutions,\n or otherwise, in respect of the Company delivering the Services.\n \n \n\n \n \n 4 Other businesses\n \n \n 4.1 Parties other than the Company and its subsidiaries, provide services on the Website. For\n example, Barclaycard and/or Smartpay provide the Acquiring Services in respect of processing payment\n of all Customer Orders via the Website. In addition, we provide links to the websites of affiliated\n companies and certain other businesses.\n \n \n 4.2 We are not responsible for examining or evaluating, and we do not warrant or endorse the\n offerings of any of these businesses or individuals, or the content of their websites. The Company\n does not assume any responsibility or liability for the actions, products, and content of any of\n these and any Third Parties. You can tell when a Third Party is involved in your transactions, and\n we may share Customer information related to those transactions with that Third Party. You should\n carefully review their privacy statements and other conditions of use.\n \n \n \n \n 5 Your responsibilities and payments\n \n \n 5.1 The first four (4) weeks of the Contract shall be free of charge. You shall make the\n Payments to the Company on the Weekly Payment Date for the Term. The Payments shall be paid in GBP\n Sterling by standing order from your Bank Account, or by such other means as may be agreed by the\n Company, to ensure that the Payments are made on or before the Weekly Payment Date.\n \n \n 5.2 The Payments are inclusive of VAT but exclusive of any other applicable taxes and duties\n or similar charges, which shall be payable by you at the rate and in the manner from time to time\n prescribed by Applicable Law.\n \n \n 5.3 All payments to be made by you under this Contract shall be made without withholding or\n set-off on account of disputes, counterclaims or for any other reason whatsoever.\n \n \n 5.4 You shall at all times comply with:\n \n \n 5.4.1 the provisions of this Contract;\n \n \n 5.4.2 all Applicable Laws, including those requirements which apply to the sale of goods by you in\n connection with the Transactions and the execution and performance by you of your obligations under\n this Contract; and\n \n \n 5.4.3 your obligations relating to the sale and/or supply of goods by you to Customers.\n \n \n 5.4.4 you will at all times comply with this Agreement, the PCI DSS, and any law or regulation\n applicable to your activities, Services and/or Transactions, as well as our reasonable instructions\n from time to time in relation to your use of the Services.\n \n \n 5.5 You shall:\n \n \n 5.5.1 in relation to Transactions involving Cards, only accept payment from Customers in connection\n with goods which you have sold and supplied to those Customers;\n \n \n 5.5.2 only accept payments in respect of goods the sale and supply of which commonly falls within\n your business as identified to us;\n \n \n 5.5.3 notify us in writing before you make any change to the nature of the goods the sale and supply\n of which fall within your business as identified to us;\n \n \n 5.5.4 only accept payments and submit Data to us in respect of Transactions which a Customer has\n authorized in accordance with Applicable Law, this Contract and any other information or\n instructions provided by us to you from time to time;\n \n \n 5.5.5 ensure that you prominently and unequivocally inform Customers of our identity at all points\n of interaction with a Customer (including prominently displaying the Company name and any trading\n name on any website through which Transactions are conducted), so that the Customer can readily\n identify the Company as the counterpart to the relevant Transaction; and\n \n \n 5.5.6 only submit Data to us directly from your own staff or systems, or via a Third Party Product,\n which has been expressly approved by us in writing as one you are entitled to use to submit Data to\n us.\n \n \n 5.6 You must notify us promptly and, in any event, no later than twelve (12) calendar months\n after becoming aware of any unauthorized or incorrectly executed Transactions.\n \n \n 5.7 PCI DSS\n \n \n 5.7.1 You will adhere to and taken ownership of current PCI DSS responsibilities, there\n implementation within the scope of your business, and be able to demonstrate that you are PCI DSS\n compliant.\n \n \n 5.7.2 You agree that if you suffer or suspect a data compromise you will inform us as soon as\n reasonably possible.\n \n \n 5.7.3 If we suspect a data compromise or you have told us of a data compromise you agree that if we\n require you to, at your own cost, instruct an industry-approved forensic assessor to carry out a\n forensic investigation of all relevant infrastructure. You will do so within the timescale we give\n to you. You also agree that the industry-approved forensic assessor can reveal and give to us any\n report they produce and will keep to all recommendations suggested to improve your data security.\n \n
    \n\n \n \n 6 Indemnity\n \n \n 6.1 You shall hold us harmless from and against, and indemnify us in respect of any losses,\n damages, costs or expenses which we may suffer or incur or other amounts for which we are liable\n (including any penalty, fine, surcharge or costs related thereto) in connection with any Claims\n brought against us by a Customer, Card Scheme, Financial Institution, regulatory authority or any\n other Third Party, to the extent such Claims arise out of or in consequence of or in connection\n with:\n \n \n 6.1.1 a Transaction;\n \n \n 6.1.2 the enforcement or attempted enforcement of this Contract;\n \n \n 6.1.3 a failure by you to comply with the requirements of an Applicable Law; and\n \n \n 6.1.4 any reasonable steps taken in the protection of our interests in connection with:\n \n \n (a) any breach of the requirements of a Card Scheme or Applicable Law; or\n \n \n (b) any allegation of fraud made in relation to you or your business, except, if and to the extent\n such Claim is caused by our fraud or any breach of this Contract by us.\n \n \n \n \n 7 Condition precedent\n \n \n 7.1 It is a condition precedent of this Contract that at all relevant times, particularly at\n the time of EPOS and prior to Transaction, all Customers provide you with their express and informed\n consent for the Company to Process Personal Data and Transaction Personal Data in order for the\n Company to provide you with the Services, particularly in respect of Data Analysis.\n \n \n 7.2 All Customers must verify their personal details using the 3D secure process, or latest\n industry standard, encompassing acquirer domain, issuer domain and interoperability domain to ensure\n it is the Customer making the Order with you. To afford greater levels of protection for all parties\n (including Customers), such online authentication is a condition precedent in respect of all\n Transactions and E- commerce Transactions to supplement the additional level of security provided by\n Streamline and Sage Pay.\n \n \n\n \n \n 8 Processing data\n \n \n 8.1 The Company warrants that, to the extent it processes any Personal Data on your behalf,\n or your Customers:\n \n \n 8.1.1 it shall act only on instructions from you; and\n \n \n 8.1.2 it has in place appropriate technical and organizational security measures against\n unauthorized or unlawful processing of Personal Data and against accidental loss or destruction of,\n or damage to, Personal Data.\n \n \n 8.2 Whenever we request it, you shall give us reasonable assistance to facilitate the\n successful collection and delivery of all Data.\n \n \n 8.3 You represent, warrant and undertake that you have obtained and will continue to obtain\n the specific and informed consent (and in the case of sensitive Personal Data, the explicit consent)\n of all and any of the Customers (or any other relevant Persons) to the processing of their Personal\n Data and Transaction Personal Data in the manner envisaged by this Contract.\n \n \n 8.4 It is agreed that the Company shall be a Data Controller and the Company or its appointed\n agents, servants, sub-contractors or any third parties used by the Company (as the case may be)\n shall be a Data Processor in respect of Personal Data and/or Transaction Personal Data, as\n applicable.\n \n \n 8.5 We shall, to the extent that we are a Data Processor:\n \n \n 8.5.1 take appropriate technical and organizational measures against unauthorized or unlawful\n processing of, and accidental loss or destruction of, or damage to Personal Data and/or Transaction\n Personal Data; and\n \n \n 8.5.2 only Process Personal Data and/or Transaction Personal Data as necessary for the purpose of\n performing our obligations under this Contract and as otherwise envisaged in this Contract.\n \n \n 8.6 We shall not store (as such term is used in the PCI SSC Standards), at any time:\n \n \n 8.6.1 Card verification value in the magnetic stripe;\n \n \n 8.6.2 Card verification value printed on the Card in or next to the signature panel;\n \n \n 8.6.3 Card verification value contained in the magnetic stripe image in a chip application;\n \n \n 8.6.4 PIN verification value contained in the magnetic stripe;\n \n \n 8.6.5 the full contents of any track from the magnetic stripe (on a Card, in a chip or elsewhere);\n or\n \n \n 8.6.6 any other Data that the Card Schemes mandate from time to time as Data that cannot be stored.\n \n \n 8.7 In addition to complying with all record retention provisions under Applicable Law, and\n subject to the requirements of the PCI SSC Standards, the Company shall retain legible copies of\n Data for a minimum period of eighteen (18) months from the date of each Transaction.\n \n \n \n \n 9 Provision and disclosure of data\n \n \n 9.1 During the course of providing the Services, particularly Merchant and Acquiring\n Services, the Company may upon request from Barclaycard, Smartpay or Financial Institutions, be\n requested to provide copies of Data:\n \n \n 9.1.1 relating to the performance of the Services or obligations under this Contract or Applicable\n Law;\n \n \n 9.1.2 to assist in handling any Claim or query raised by a Customer, a Card issuer, a Card Scheme or\n any other Third Party in relation to the Services or any Transaction;\n \n \n 9.1.3 to co-operate in providing any Financial Institution with all information requested by it in\n order for Transactions to be accepted by such Financial Institutions or otherwise to enable the\n Company to provide you with any of the Services (or any part thereof);\n \n \n 9.1.4 You hereby authorize us and any Financial Institution (including the credit institution at\n which the Company maintains the Merchant Bank Account) to use, share and release Data and any other\n information relating to you, the Services or the Card Schemes (or, if instructed by us, you shall\n provide such Data or information or procure that such Data or information is provided) to any\n Person, Card issuers, Card Schemes, Third Parties, regulatory authorities, law enforcement agencies,\n fraud prevention agencies and credit reference agencies:\n \n \n (a) for the purpose of fulfilling our obligations under the Contract or requirements of a Card\n Scheme or otherwise as required by Applicable Law;\n \n \n (b) in relation to any breach of, or to enforce, this Contract;\n \n \n (c) to recover debt or in relation to your insolvency;\n \n \n (d) to develop customer relationships, services and systems;\n \n \n (e) to prevent and detect fraud or crime;\n \n \n (f) in the course of any investigation by the Company, or any Financial Institution or any Third\n Party into any suspected criminal activity;\n \n \n (g) regarding information security, the risk of fraud, sector risk and credit risk; and\n \n \n (h) to enable the Card Schemes to assign codes to any undesirable act or omission.\n \n \n 9.2 You shall advise us in writing as soon as you become aware of any other agreement that\n you enter into concerning your acceptance of Transactions.\n \n \n 9.3 If you contact us electronically, we may collect your electronic identifier (for example,\n Internet Protocol (IP) address or telephone number) supplied by your service provider.\n \n \n 9.4 We may disclose information concerning you to Third Parties where we aggregate Data to\n facilitate cross industry analysis and comparisons.\n \n \n 9.5 The information which we and/or any Financial Institution collect from you may be\n transferred to, processed and stored at, a destination outside the EEA.\n \n \n\n \n \n 10 Data analysis\n \n \n 10.1 You shall provide the Company with Materials weekly, monthly, or otherwise as agreed.\n \n \n 10.2 The Company shall produce Data Analysis Reports based upon the Materials you provide and\n stored in the Merchant Data Account, which may entail reconciliation of payments processed by\n Barclaycard and/or Smartpay into the Merchant Account against Orders and Customer Personal Data\n and/or Transaction Personal Data.\n \n \n\n \n \n 11 Intellectual property\n \n \n 11.1 The Contract does not transfer, and is not intended to transfer, to any party any of the\n Intellectual Property Rights that any other party owns at the Commencement Date or any Intellectual\n Property Rights that are created, acquired or developed during the term of the Contract.\n Notwithstanding the foregoing sentence, you hereby grant the Company a licence to such Intellectual\n Property Rights in respect of Materials you provide to the extent required for the Company to\n perform its obligations under this Contract.\n \n \n 11.2 You shall not acquire any Intellectual Property Rights in any Merchant Data Account, any\n Data, or Data Reports that we make available to you under this Contract. Notwithstanding the\n foregoing sentence, the Company hereby grants you a non-exclusive licence to such Intellectual\n Property Rights to the extent required to utilise the Services in accordance with this Contract.\n \n \n 11.3 Each party shall obtain the written consent of the other Parties prior to using or\n referring to any trade marks, logos, copyrighted materials, business names or other similar\n Intellectual Property Rights in any promotional materials or literature, agreements or on any\n website.\n \n \n 11.4 On termination of the Contract, each Party shall remove any reference to the other\n Parties from any promotional materials or literature, agreements or on any websites.\n \n \n \n \n 12 Confidential information\n \n \n 12.1 Except to the extent set out in this clause 12, each Party shall:\n \n \n 12.1.1 treat as confidential all Confidential Information obtained from the other Parties under the\n Contract;\n \n \n 12.1.2 use the other Parties’ Confidential Information solely for the specific purposes for which it\n was disclosed;\n \n \n 12.1.3 not publish or otherwise disclose to any person the other Parties’ Confidential Information\n without the owner’s prior written consent; and\n \n \n 12.1.4 take all action reasonably necessary to secure the other Parties’ Confidential Information\n against theft, loss or unauthorized disclosure.\n \n\n \n 12.2 Each Party may disclose Confidential Information that would otherwise be subject to\n clause 12.1 but only if it can demonstrate that the Confidential Information:\n \n \n 12.2.1 is required to be disclosed by any court of competent jurisdiction, regulatory authority, or\n by Applicable Law;\n \n \n 12.2.2 was lawfully in its possession prior to disclosure to it by any other Party without an\n obligation restricting disclosure;\n \n \n 12.2.3 is already public knowledge or which becomes so at a future date (otherwise than as a result\n of breach of this clause 12);\n \n \n 12.2.4 is received from a Third Party who is not under an obligation of confidentiality in relation\n to the information; or\n \n \n 12.2.5 is developed independently without access to, or use or knowledge of, the Confidential\n Information.\n \n \n 12.3 Notwithstanding the provisions of clauses 12.1, 12.2 and 12.4, we and/or any Financial\n Institution may aggregate and anonymise your Confidential Information (including Data), and disclose\n it in that form to any Third Party.\n \n \n 12.4 Other than as expressly permitted under this Contract, on termination of the Contract\n for whatever reason, each Party shall forthwith cease to use any Confidential Information of the\n other parties and shall return on demand, or at the request of the other, destroy or permanently\n erase all copies of that Confidential Information in its possession or control, save that a party\n will be permitted to retain such part of the Confidential Information for the purposes of and for so\n long as required by any Applicable Law or its legitimate internal compliance requirements.\n \n \n\n \n \n 13 Acquiring services and merchant services\n \n \n 13.1 The Company shall provide you the Merchant Services and Acquiring Services in respect of\n your Customer Orders and processing Transactions and E-commerce Transactions via the Merchant\n Account. The functions in respect of Acquiring Services being provided by Streamline with processing\n of Sensitive Authentication Data being provided by Smartpay in compliance with PCI SSC standards.\n \n \n\n \n \n 14 Receipts\n \n \n 14.1 Following the value dating and crediting of Transactions and E-commerce Transactions by\n Streamline to the Merchant Bank Account, we shall initiate or procure the initiation of each Receipt\n by bank transfer to your Bank Account on the later of the following:\n \n \n 14.1.1 on, or before twenty-one (21) Business Days after the Remittance Date; or\n \n \n 14.1.2 the expiry of any period of deferment in respect of relevant Transactions.\n \n \n 14.2 We may defer any amount we are obliged to pay you:\n \n \n 14.2.1 where we reasonably believe that the Transaction may be fraudulent or involves any criminal\n activity, until the satisfactory completion of our investigation or that of any Financial\n Institution or any Third Party; or\n \n \n 14.2.2 without limit in amount or time, if we become aware or reasonably believe that you are in\n breach of or likely to be in breach of your obligations under this Contract.\n \n \n 14.3 We shall notify you of any such action, the reasons for it and the procedure for\n rectifying any factual errors that led to the refusal, unless we are prohibited from doing so under\n the Applicable Law. Subject to reasonable security measures and Applicable Law, we will notify you\n before any suspension of processing such affected Transaction if we are able to do so, or otherwise\n immediately after such suspension. We may charge you the reasonable costs of any such notification.\n \n \n 14.4 You shall not be entitled to receive interest, if any, paid by our bank service provider\n in connection with funds held in the Merchant Bank Account and any such interest may be retained by\n us.\n \n \n 14.5 Receipts shall be paid in the currency or currencies agreed between you and us as set\n out in the Application Form, or as otherwise agreed in writing by you and us from time to time. In\n circumstances where it is necessary to apply currency conversion to Receipts, we shall be obliged to\n apply the prevailing exchange rate based on the standard reference rate of the Royal Bank of\n Scotland plc or such other reference rate as we notify to you.\n \n \n\n \n \n 15 Service adjustments and contract variations\n \n \n 15.1 From time to time, we may adjust the content and interfaces of the Services, make\n changes to the Services which are necessary to comply with any Applicable Law, or make changes which\n do not materially affect the nature or quality of the Services. If such adjustments or changes lead\n to a change in software, interfaces or operating procedures, we shall notify you as soon as\n reasonably practicable prior to the implementation of such adjustments or changes.\n \n \n 15.2 From time to time we may change the way we use your information (other than Transaction\n Personal Data). Where we believe you may not reasonably expect such a change we shall write to you.\n If you do not object to the change within thirty (30) Business Days, you will be deemed to consent\n to that change.\n \n \n 15.3 We shall be entitled to vary the provisions of the Contract from time to time by giving\n you at least thirty (30) Business Days’ prior written notice. If we do this, you shall be entitled\n to terminate the Contract immediately by providing written notice to us, provided that such notice\n is served upon us within thirty (30) Business Days of you receiving the notice of variation.\n Otherwise, you will be deemed to have accepted any variation of the provisions of this Contract\n thirty (30) Business Days from receipt of the notice.\n \n \n\n \n \n 16 Level of services\n \n \n 16.1 The provisions of this paragraph 16 shall apply to the service levels and support\n applicable in respect of providing the Services.\n \n \n 16.2 We shall use of best endeavor to provide 99.9% Uptime, with no planned outages, and be\n responsible for all systems hosted on our servers and data centres that are{' '}\n within our direct control.\n \n \n 16.3 We will not be responsible for ensuring data is delivered correctly to your acquiring\n bank or authorized processor in a way acceptable to the acquiring bank or authorized processor, nor\n for any connection difficulties that are outside our control. We accept no responsibility for\n service levels of your acquiring bank or any other authorized processors’ networks or any other\n Third Party Product supplier, such as an ISP or other bandwidth provider of any description.\n \n \n \n 16.4 Direct Support:\n {' '}\n Only you may contact us directly if you are experiencing any problems with the Services. Under no\n circumstances must you encourage any of your customers to contact us directly, and we will not be\n responsible for accepting any such contacts.\n \n \n \n 16.5 Communication and Tools:\n {' '}\n On receipt of a non-critical incident notification, we will supply the relevant incident resolution\n service and will use its reasonable endeavour to meet the service levels set out in paragraph 16.9\n below. Critical incidents will be supported by us automatically in accordance with the service\n levels set out in paragraph 16.9.\n \n \n \n 16.6 Telephone:\n {' '}\n You should notify us of incidents initially by telephone. We will determine and notify you whether\n or not the problem is directly concerned with the Services, determine the severity of the problem\n and thereafter use our reasonable endeavor to remedy the problem within the timescale relevant to\n the determined severity of the problem (as detailed in paragraph 16.9 below).\n \n \n \n 16.7 Email:\n {' '}\n You may notify us of incidents via e-mail, but not severity 1 incidents (as detailed in paragraph\n 16.9 below), unless follow-up information has been requested.\n \n \n \n 16.8 Email:\n {' '}\n Severity 1 or 2 incidents (as detailed in paragraph 16.9 below) that have been notified to us by\n telephone should be followed up with an email notification.\n \n \n \n 16.9 Severity and Targets:\n {' '}\n The following definitions and targets apply for incident reporting and resolution:\n
    \n Severity Definition Targets\n \n
    \n \n Severity 1\n \n \n Critical incident: Business impact on you is critical. You are unable to use any of the\n Services; productivity is severely impacted. This shall include the ability to authorize and\n process Transactions, with accuracy, within the part of the authorization process that is within\n our direct control.\n \n
      \n
    • Resolution within 2 hours
    • \n
    • Confirmation of receipt in less than 30 minutes
    • \n
    • Initial response indicating anticipated resolution time less than 30 minutes
    • \n
    • Supported 24 x 7 x 365
    • \n
    \n
    \n
    \n \n Severity 2\n \n \n High incident: You are unable to use certain of the Services (such as processing\n Transactions); productivity is affected. This shall include any material adverse effect on the\n speed of transaction response, which is within our direct control.\n \n
      \n
    • Resolution within 3 to 8 hours following notification.
    • \n
    • Confirmation of receipt in less than 30 minutes
    • \n
    • \n Initial response indicating anticipated resolution time less than one hour and contingency\n support for affected service\n
    • \n
    • Supported 24 x 7 x 365
    • \n
    \n
    \n
    \n \n Severity 3\n \n \n Normal incident: You are able to use the Services; minor effect on productivity.\n \n
      \n
    • \n Resolution / support provided within 4 hours response from first notification. Provided if\n such notification is not during Office Hours within 4 business hours commencing on\n the next Business Day following the first notification.\n
    • \n
    \n
    \n
    \n \n Severity 4\n \n \n Low incident: You are able to use the Services, no impact on productivity. This also may\n include features that may or may not be fixed within the next revision.\n \n
      \n
    • \n Resolution within 5 days from first notification provided if such notification is{' '}\n not during Office Hours within 5 Business Days commencing on the next Business Day\n following the first notification.\n
    • \n
    • Workaround or fix may or may not be included in next scheduled revision.
    • \n
    \n
    \n \n 16.10 The targets for the delivery of these response and resolution times are 98% for any\n incident. 98% resolution means that we will use our reasonable endeavour to resolve 98% of Severity\n 1, 2, 3 or 4 (as applicable) problems within the specified time scales set out above.\n \n
    \n \n \n 17 Exclusion and limitation of liability\n \n \n 17.1 Subject to the provisions of clauses 17.2 to 17.5 inclusive, each party shall only be\n liable for loss or damage directly arising out of or in connection with its own breach of this\n Contract, negligence or wilful misconduct, provided that nothing in this Contract shall operate to\n exclude or limit a Party’s liability:\n \n \n 17.1.1 for losses suffered by the innocent party arising out of the other party’s (or its\n personnel’s) fraud, fraudulent misrepresentation or wilful misconduct;\n \n \n 17.1.2 for death or personal injury resulting from a party’s negligence or that of its personnel;\n \n \n 17.1.3 any breach of any obligations implied by the Sale of Goods Act 1979 or the Supply of Goods\n and Services Act 1982, or other Applicable Law; or\n \n \n 17.1.4 any other liability to the extent which it cannot be lawfully excluded or limited.\n \n \n 17.2 Subject to clause 17.1, you shall not be entitled to any interest or any other\n compensation whatsoever in respect of any sums held by us in accordance with this Contract prior to\n Receipts being transferred to you for any period for which payment may be deducted, withheld,\n deferred or not paid under clause 14.\n \n \n 17.3 Each of the following shall apply in respect to our liability:\n \n \n 17.3.1 We shall not be liable for any delay or failure to carry out any of our obligations under\n this Contract if and to the extent that such failure is due to:\n \n \n (a) circumstances beyond our reasonable control;\n \n \n (b) any cessation or interruption of any part of the Services which are due to any act or omission\n of a Card Scheme, or Financial Institution and is not caused by our breach of this Contract;\n \n \n (c) us complying with any Applicable Law;\n \n \n (d) your failure to provide complete and/or correct Data to us and/or your breach of this Contract\n (provided that we may make reasonable efforts to recover any funds paid by us as a result of such\n failure and may make a reasonable charge to you for doing so); or\n \n \n (e) a suspension of Services by us under clause 18.\n \n \n 17.3.2 The liability of the Company to you in relation to all Claims arising out of, or in\n connection with the Services or this Contract shall be limited to an amount equivalent to the\n average monthly Payments due to us in the period from the Commencement Date to the first event\n giving rise to such Claim, multiplied by twelve (12).\n \n \n 17.4 The Company and any other party providing the Services:\n \n \n 17.4.1 is providing its element of the Services as an independent contractor, and not as a partner\n or agent of or joint venturer with the other parties;\n \n \n 17.4.2 shall be only severally liable in respect of its own obligations under this Contract; and\n \n \n 17.4.3 shall not be liable in connection with the Services provided by the other parties, whether\n jointly, jointly and severally or at all.\n \n \n 17.5 The following additional exclusions and limitations apply in relation to the Services:\n \n \n 17.5.1 We accept no responsibility, and shall not be liable for (a) the accuracy or reliability of\n any Data you send to us; (b) our interpretation of that Data; or (c) the consequences or accuracy of\n our interpretation of that Data or any subsequent interpretation or other assessment you undertake\n in relation to that Data.\n \n \n 17.5.2 We do not warrant that Data Reports are accurate, up-to-date, reliable or error-free.\n \n \n 17.5.3 We accept no responsibility, and shall not be liable for any Third Party Product you use in\n connection with the Services, and any reference by us to a Third Party Product (including in any\n technical specification we provide to you) shall not constitute any recommendation or endorsement by\n us of that Third Party Product, or any warranty or representation that such Third Party Product will\n be suitable for your use or will deliver any specific result.\n \n \n 17.5.4 We accept no responsibility for any losses that you may incur as a result of any Downtime in\n provision of the Services caused by the failure, or omissions to act by Third Parties including, but\n not limited to Customer Card issuers, Card issuers, Financial Institutions, Barclaycard, Smartpay,\n or any other service providers in respect of processing Orders, Transaction and E- commerce\n Transactions at anytime, particularly outside of Office Hours.\n \n \n 17.5.5 You are responsible for all losses resulting from if you have acted fraudulently or you have\n either intentionally or through negligence failed to comply with the provisions of this Contract\n (including failing to notify us of the incorporate transaction).\n \n \n 17.5.6 For the avoidance of doubt, if you are a partnership, each of your partners shall be jointly\n and severally liable with the other(s) to perform your obligations under this Contract.\n \n \n 17.5.7 You acknowledge and agree that, given the nature of the Services, the availability to you of\n suitable alternative payment methods for the Customers and your ability to choose other providers of\n services similar to the Services before entering into this Contract, the limitations on liability\n contained in this clause 17 are reasonable in all the circumstances and that the Payments have been\n calculated taking into account such limitations (which would be higher but for such limitations) and\n accordingly you have accepted the risk of any losses which you may suffer because of the limitation\n on our liability under this clause 17.\n \n \n 17.5.8 No party shall be liable to any other party for any loss of profits, loss of Data, loss of\n customer business or goodwill, losses incurred by third parties or any indirect or consequential\n loss or damage, howsoever arising. Subject to clauses 17.1 and 17.3, we shall have no liability to\n you for any inaccuracy in the information we or any Financial Institution provide to any third\n parties pursuant to clause 9.\n \n \n \n \n 18 Term and termination\n \n \n 18.1 This Contract shall come into force on the Commencement Date and, unless otherwise\n terminated earlier in accordance with any provision of this Contract, continue thereafter until it\n is terminated in accordance with clause 18.2.\n \n \n 18.2 For the purposes of termination by notice under clause 18.1, you may terminate this\n Contract:\n \n \n 18.2.1 during the Initial Period, by giving at least sixty (60) Business Days’ written notice to the\n Company, such notice to expire no later than the last day of the Initial Period;\n \n \n 18.2.2 after the Initial Period, by giving at least sixty (60) Business Days’ written notice to the\n Company, such notice to expire no earlier than the last day of the rolling twelve (12) month period;\n \n \n 18.2.3 we may terminate this contract at any time by giving you thirty (30) Business Days’ prior\n written notice.\n \n \n 18.3 If having served a notice pursuant to clause 18.2.2 you wish the Contract to terminate\n prior to the end of the rolling twelve (12) month period, you shall pay to the Company all Payments\n that would otherwise be due up to the end of the Term, on receipt of which the Company will confirm\n that the Contract has been terminated.\n \n \n 18.4 You may terminate this Contract or any Service with immediate effect by giving written\n notice to us if any of us:\n \n \n 18.4.1 commits a material breach of this Contract which, if capable of remedy, is not remedied to\n your reasonable satisfaction within twenty-one (21) Business Days of service of a notice requiring\n such remedy;\n \n \n 18.4.2 is insolvent;\n \n \n 18.4.3 is the subject of a petition, order, or resolution or any step in connection with winding up\n (whether solvent or insolvent).\n \n \n 18.5 We may terminate this Contract or any Service, or suspend the provision of any Service\n with immediate effect by giving written notice if you:\n \n \n 18.5.1 commit a material breach of this Contract which:\n \n \n (a) is not, in our reasonable opinion, capable of remedy; or\n \n \n (b) if capable of remedy, is not remedied to our reasonable satisfaction within twenty-one (21) days\n of service of the notice requiring such remedy;\n \n \n 18.5.2 you commit a breach clause 7;\n \n \n 18.5.3 you default in any of your payment obligations;\n \n \n 18.5.4 are insolvent, or being an individual, you have a petition presented for your bankruptcy;\n \n \n 18.5.5 are the subject of a petition, order, or resolution or any step in connection with winding up\n (whether solvent or insolvent);\n \n \n 18.5.6 cease or threaten to cease to carry on all or a material part of your business, except for\n the purpose of a bona-fide reconstruction, amalgamation, reorganization, merger or consolidation;\n \n \n 18.5.7 begin negotiations or proceedings, or propose or agree to defer, reschedule or readjust your\n debts;\n \n \n 18.5.8 propose or make a general assignment of your debts or an arrangement or composition with or\n for the benefit of some or all of your creditors in respect of all or all of a particular type of\n your debts;\n \n \n 18.5.9 agree to a moratorium, or a moratorium is agreed or declared in respect of all or a material\n part of (or a particular type of) your debts;\n \n \n 18.5.10 are the subject of a petition for an administration order or an application for an\n administration order, or an administrator is appointed to you or notice of intention to appoint an\n administrator to you is given, or any other step is taken by any person with a view to the\n administration of you under the Insolvency Act 1986, or other Applicable Law, including the passing\n of any resolution by your directors or shareholders approving the presentation of any such petition,\n the making of any such application or appointment or the giving of any such notice;\n \n \n 18.5.11 are the subject of any step to enforce security over, or a distress, execution or other\n similar process is levied or served against, the whole or a substantial part of your assets or\n undertaking, including the appointment of a receiver, administrative receiver, manager or similar\n officer to enforce that security;\n \n \n 18.5.12 suffer or are subject to any equivalent event, circumstance or procedure to those set out\n above in this clause 18.5.2 to 18.5.11 (inclusive) in any other jurisdiction;\n \n \n 18.5.13 act in a manner, or if anything happens to you or comes to our attention in relation to you\n or arising from or incidental to your business or the conduct of your business (including trading\n practices or any individual’s activity), that we in our reasonable discretion consider:\n \n \n (a) to be disreputable or capable of damaging the reputation of us or that of any Card Scheme or a\n Financial Institution; or\n \n \n (b) to be detrimental to our systems, business or that of any Card Scheme or Financial Institution;\n or\n \n \n (c) may or does give rise to fraud or any other criminal activity or suspicion of fraud or any other\n criminal activity; or\n \n \n (d) may or does give rise to increased risk of loss or liability to any of us; or\n \n \n (e) may affect your ability or willingness to comply with all or any of your obligations or\n liabilities under this Contract.\n \n \n 18.6 We may terminate this Contract, or any Service, or suspend the provision of any Service\n with immediate effect by giving written notice if:\n \n \n 18.6.1 we or any Financial Institution becomes entitled to enforce any guarantee or security from or\n in relation to you;\n \n \n 18.6.2 we are required to do so by any Card Scheme or regulatory authority or Applicable Law;\n \n \n 18.6.3 a Card Scheme, any Third Party or any Financial Institution ceases to provide us with any\n Merchant or Acquiring Services necessary for us to provide a Service to you; or\n \n \n 18.6.4 any of the above provisions of clauses 18.5.2 to 18.5.9.\n \n \n 18.7 You shall inform us upon becoming aware of any of the events set out in the following\n clauses: clauses 18.6.2 to 18.6.11 (inclusive).\n \n \n 18.8 Where any party serves notice to terminate this Contract pursuant to clause 18.2, we\n shall during the relevant period prior to termination provide reasonable assistance to you, or use\n our reasonable endeavor to ensure that you are provided with reasonable assistance, for you to make\n arrangements for the processing of the relevant transactions by another service provider. We may\n charge you for providing such assistance and if so you shall be liable to pay us for any costs\n reasonably incurred in so doing.\n \n \n \n \n 19 Assignment, sub-contracting and novation\n \n \n 19.1 The Contract is personal to you and you may not assign, novate or transfer it or any of\n your rights or obligations under it.\n \n \n 19.2 You shall be liable to us for the acts or omissions of any of your Personnel in the\n course of or relating to the performance of your obligations under the Contract or arising out of or\n in connection with any Transaction.\n \n \n 19.3 Subject to Applicable Law, we shall be entitled at any time to assign or transfer the\n Contract or the benefit of any or all of our rights under the Contract and/or to sub-contract our\n obligations under the Contract without your consent. Upon request, you shall execute any documents\n required to effect any such assignment, transfer or subcontract.\n \n \n 19.4 We shall be entitled to novate any or all of our rights and obligations (as appropriate)\n under the Contract to a Third Party at any time on giving you at least thirty (30) Business Days’\n notice. If we do this you shall be entitled to terminate the Contract within thirty (30) Business\n Days’ of you receiving the notice of the novation. You will be deemed to have accepted the novation\n of the Contract thirty (30) Business Days from receipt of the notice.\n \n \n 19.5 With effect from the date that we novate our obligations under the Contract to a Third\n Party (the “Novation Date”), you shall release and discharge us from further performance of our\n obligations under the Contract and from all claims and demands against us, whatsoever arising out of\n or in respect of the Contract, whether prior to, on or subsequent to the Novation Date and the Third\n Party shall perform, or procure the performance of, all such obligations under the Contract, and\n shall accept all liabilities arising out of or in respect of the Contract, from the Novation Date.\n \n \n \n \n 20 Waiver\n \n \n 20.1 No failure or delay by a party in exercising any of its rights or remedies provided\n under the Contract or under Applicable Law shall be construed as a waiver or release of that right\n or any other right or remedy, nor shall it preclude or restrict the further exercise of that or any\n other right or remedy. The parties agree and acknowledge that the doctrine of affirmation, by which\n a party is deemed to have affirmed a decision to proceed with a contract notwithstanding the\n enlivening of a right to terminate, shall have no application to the Contract.\n \n \n 20.2 No single or partial exercise of any of a party’s rights or remedies under the Contract\n or under Applicable Law shall preclude or restrict the further exercise of such right or remedy. A\n waiver of any breach of any provisions of the Contract shall not constitute a waiver of any other\n breach, and shall not affect the other provisions, of the Contract.\n \n \n 20.3 Subject to clause 22.2, the rights and remedies of a party under the Contract are\n cumulative and not exclusive of each other or of any rights or remedies provided by Applicable Law.\n \n \n \n \n 21 Notices\n \n \n 21.1 Subject to clause 21.2, any notice to be given under or in connection with the Contract\n shall be in writing and signed by or on behalf of the Party giving it and shall be served by\n delivering it personally or sending it by post (or registered airmail in the case of an address for\n service outside the United Kingdom) or by email or by facsimile to the postal address, email address\n or fax number of the other Party as set out in this Contract or otherwise as notified by such Party\n from time to time. For the avoidance of doubt, any notice delivered by email shall not need to be\n signed.\n \n \n 21.2 Unless otherwise agreed in writing, notice from you to us to terminate the Contract must\n be delivered by post.\n \n \n 21.3 Any notice given in accordance with clauses 21.1 or 21.2 shall be deemed to have been\n received:\n \n \n 21.3.1 if sent by email, on the day on which the communication is sent and no report of non-delivery\n is received by the sender, provided that (i) any notice despatched after 17:00 hours on any Business\n Day or at any time on a day which is not a Business Day shall be deemed to have been given at 09:00\n on the next Business Day;\n \n \n 21.3.2 if delivered personally, at the time of delivery;\n \n \n 21.3.3 if sent by first class post within the United Kingdom, two (2) Business Days from the date of\n posting;\n \n \n 21.3.4 if sent by second class post within the United Kingdom, four (4) Business Days from the date\n of posting;\n \n \n 21.3.5 in the case of registered airmail, seven (7) Business Days from the date of posting; and\n \n \n 21.3.6 in the case of facsimile, on the date it is transmitted subject to confirmation of\n uninterrupted transmission by a transmission report, provided that (i) any notice despatched after\n 17:00 hours on any Business Day or at any time on a day which is not a Business Day shall be deemed\n to have been given at 09:00 on the next Business Day.\n \n \n 21.4 A party may specify (by giving notice to the other parties in accordance with this\n clause 21) a particular individual or office holder to whom any notices to be served are to be\n addressed, in which case a notice shall not be validly given unless so addressed.\n \n \n 21.5 The provisions of this clause shall not apply to the service of any proceedings or other\n documents in any legal action.\n \n \n \n \n 22 Entire agreement\n \n \n 21.1 The Contract constitutes the entire agreement and understanding between you and us in\n respect of its subject matter and supersedes and invalidates all other prior representations,\n arrangements, understandings and agreements relating to the same subject matter, (whether oral or in\n writing, express or implied), other than any securities or written pledges, undertakings or\n assurances which you may previously have given to us as a condition precedent or in anticipation of\n the Contract. Each party acknowledges that in entering into this Contract it does not rely on any\n statement, representation, warranty or understanding other than those expressly set out in this\n Contract.\n \n \n 21.2 No party shall have any claim for innocent or negligent misrepresentation based upon any\n statement in this Contract.\n \n \n 21.3 Nothing in this clause 22 shall operate to exclude any liability for fraud.\n \n \n \n \n 23 Severability\n \n \n 23.1 If any provision of the Contract or any part of it is held by any court or\n administrative body of competent jurisdiction to be illegal, invalid or unenforceable:\n \n \n 23.1.1 the legality, validity and enforceability of the remainder of the Contract shall not be\n affected; and\n \n \n 23.1.2 if such provision would cease to be illegal, invalid or unenforceable if some part of that\n provision were modified or deleted, the provision in question shall apply with the least such\n modification or deletion as may be necessary to make the provision legal, valid and enforceable.\n \n \n \n \n 24 Miscellaneous\n \n \n 24.1 Nothing in the Contract shall be construed as constituting a partnership, joint venture\n or agency between or among the parties.\n \n \n 24.2 This Contract is not intended to confer any benefit on any Third Party and no Person who\n is not party to the Contract shall have any rights to enforce any provisions of the Contract.\n Notwithstanding the foregoing sentence, the rights of the parties to terminate, rescind or agree any\n variation, waiver or settlement under this Contract are not subject to the consent of any Third\n Party.\n \n \n 24.2 This Contract is in the English language. We are only obliged to communicate with you in\n English. We may provide to you a foreign language translation of this Contract or any other\n communication (at your cost), provided that such translation shall be for your information purposes\n only and in the event of any inconsistency between the English version and the foreign language\n version, the English version shall prevail.\n \n \n \n \n 25 Dispute Resolution Procedure\n \n \n 25.1 Subject to the provisions of clause 27, if any dispute between you and us (each a\n “Disputing Party”) arises out of or in connection with this Contract or its subject matter,\n formation, validity or enforceability (including non-contractual claims) (each a “Dispute”) then,\n except as expressly provided in this Contract, the Disputing Parties shall follow the dispute\n resolution procedure set out in this clause.\n \n \n 25.2 Either Disputing Party shall give to the other written notice of the Dispute, setting\n out its nature and full particulars (“Dispute Notice”), together with any relevant supporting\n documentation. Following service of the Dispute Notice, representatives of each of the Disputing\n Parties shall attempt in good faith to resolve the Dispute.\n \n \n 25.3 If the representatives of the Disputing Parties are for any reason unable to resolve the\n Dispute with fourteen (14) Business Days of service of the Dispute Notice, either Disputing Party\n shall be entitled to commence proceedings under clause 31.2.\n \n \n 25.4 If the Dispute is resolved by the Representatives within fourteen (14) Business Days of\n service of the Dispute Notice in accordance with clause.\n \n \n 25.5 The settlement shall be recorded in writing and signed by each of the Disputing Parties\n within seven (7) Business Days of the end of the period referred to in clause 25.2.\n \n \n 25.6 Nothing in this clause 30 shall prevent either Disputing Party making any application\n for injunctive relief that it considers necessary to protect its position.\n \n \n \n \n 26 Governing law and jurisdiction\n \n \n 26.1 This Contract and any Dispute, shall be governed by and construed in accordance with\n laws of the Island of Guernsey.\n \n \n 26.2 Subject to the provisions of clause 25, the parties irrevocably agree, for our sole\n benefit that, subject as provided below, the Guernsey Courts shall have exclusive jurisdiction over\n any Dispute. Nothing in this clause shall limit our right to take proceedings against you in any\n other court of competent jurisdiction, nor shall the taking of proceedings in any one or more\n jurisdictions preclude the taking of proceedings by us in any other jurisdiction, whether\n concurrently or not, to the extent permitted by the law of such other jurisdiction. You waive any\n objection to any proceedings in such courts pursuant to this clause 26.2 on the grounds of venue or\n on the grounds that proceedings have been brought in an inappropriate forum. Any proceedings brought\n by you against us in respect of a Dispute must be brought in the Guernsey Courts.\n \n \n \n \n 27 Complaints\n \n \n 27.1 If you are not satisfied with our Services, you must initiate our complaints handling\n procedure to resolve such matters. For more information about this process please telephone us or\n visit such URL as we notify to you from time to time.\n \n \n \n \n 28 Interpretation and construction\n \n \n 28.1 Except where the context otherwise requires, words denoting the singular include the\n plural and vice versa, words denoting a gender include every gender and references to persons\n include bodies corporate and unincorporated.\n \n \n 28.2 A party or parties means a party or parties to this Contract.\n \n \n 28.3 References to Recitals and Clauses are, unless the context otherwise requires,\n references to recitals and clauses hereof hereto and references to sub-clauses are, unless otherwise\n stated, references to the sub-clause of the Clause in which the reference appears.\n \n \n 28.4 The Recitals form part of this Contract and shall have the same force and effect as if\n they were expressly set out in the body of this Contract and any reference to this Contract shall\n include the Recitals.\n \n \n 28.5 Any reference to this Contract or to any Contract or document referred to in this\n Contract shall be construed as reference to such Contract or document as amended, varied, modified,\n supplemented, restated, novated or replaced from time to time.\n \n \n 28.6 Any reference to any statute or statutory provision shall, unless the context otherwise\n requires, be construed as a reference to such statute or statutory provision as the same may have\n been or may from time to time be amended, modified, extended, consolidated, re- enacted or replaced.\n \n \n 28.7 Clause headings are inserted for convenience only and shall not affect the construction\n of this Contract.\n \n \n 28.8 In this Contract, unless the context otherwise requires, the following expressions shall\n have the following meaning:\n \n \n \n \n \n \n Expression\n \n Meaning\n \n \n \n {expressionMeaningRows.map((row) => (\n \n {row.expression}\n {row.child ? (\n isDatman ? (\n {row.meaning.datman}\n ) : (\n {row.meaning.omniPay}\n )\n ) : (\n {row.meaning}\n )}\n \n ))}\n \n
    \n \n */}\n \n );\n}\n\nexport default TermsAndConditionsPageComponent;\n","import React from 'react';\nimport TermsAndConditionsPageComponent from './terms-and-conditions.component';\n\nfunction TermsAndConditionsPage() {\n return ;\n}\n\nexport default TermsAndConditionsPage;\n","import React from 'react';\nimport { RequestSupportFormContainer } from 'components';\nimport { useGlobalStateContext } from 'contexts';\nimport styles from './request-support-form.module.scss';\nconst RequestSupportFormComponent = () => {\n const { globalState } = useGlobalStateContext();\n return (\n
    \n
    \n \"Logo\"\n
    \n \n
    \n );\n};\n\nexport default RequestSupportFormComponent;\n","import React from 'react';\nimport RequestSupportFormComponent from './request-support-form.component';\n\nconst RequestSupportForm = () => {\n return ;\n};\n\nexport default RequestSupportForm;\n","import React from 'react';\nimport { Grid, Typography } from '@material-ui/core';\nimport { LoadingScreen } from 'components';\nimport styles from './adyen-response.module.scss';\n\nconst AdyenResponseComponent = (props) => {\n const { adyenResponse, isLoading } = props;\n\n return (\n \n \n Adyen Response\n \n \n
    {adyenResponse}
    \n
    \n \n
    \n );\n};\n\nexport default AdyenResponseComponent;\n","import React, { useState, useEffect } from 'react';\nimport AdyenResponseComponent from './adyen-response.component';\nimport { AdyenService } from 'services';\n\nconst AdyenResponse = (props) => {\n const merchantId = props?.match?.params?.merchantId;\n\n const [adyenResponse, setAdyenResponse] = useState(null);\n const [isLoading, setIsLoading] = useState(false);\n\n useEffect(() => {\n const getAdyenResponse = async () => {\n setIsLoading(true);\n const response = await AdyenService.getAdyenResponse(merchantId);\n setAdyenResponse(JSON.stringify(response.data, null, 2));\n setIsLoading(false);\n };\n\n getAdyenResponse();\n }, [merchantId]);\n\n return ;\n};\n\nexport default AdyenResponse;\n","import React from 'react';\nimport { LinkQr } from 'components';\nimport styles from './link-qr.module.scss';\nimport { useGlobalStateContext } from 'contexts';\n\nfunction LinkQrComponent(props) {\n const { globalState } = useGlobalStateContext();\n\n return (\n
    \n
    \n \"Logo\"\n
    \n \n
    \n );\n}\nexport default LinkQrComponent;\n","import React from 'react';\nimport LinkQrComponent from './link-qr.component';\nimport { Redirect } from 'react-router-dom';\nimport { useGlobalStateContext } from 'contexts';\nimport { AuthService } from 'services';\n\nfunction LinkQr(props) {\n const { getRoute } = useGlobalStateContext();\n\n if (!AuthService.isLoggedUser()) {\n return ;\n }\n\n return ;\n}\n\nexport default LinkQr;\n","import React from 'react';\n// import styles from './missing-merchant-document.module.scss';\nimport { AuditData } from 'components';\n\nexport default function AuditLogDataComponent() {\n return (\n
    \n \n
    \n );\n}\n","import React from 'react';\nimport AuditLogDataComponent from './audit-log-data.component';\nexport default function AuditLogData() {\n return ;\n}\n","import React from 'react';\nimport svg from '../../assets/images/maintenance.svg';\nimport { ResellerLogoMap } from 'utils/enums/ResellerLogoMap';\nimport { useGlobalStateContext } from 'contexts';\nimport { ResellerType } from 'utils/enums/ResellerType';\nimport styles from './under-maintainance.module.scss';\nfunction MaintainanceComponent(props) {\n const { globalState } = useGlobalStateContext();\n return (\n
    \n \n
    \n \"under-maintenance\"\n {globalState?.maintainanceMessage}\n
    \n
    \n Image by\n \n Freepik\n \n
    \n
    \n );\n}\n\nexport default MaintainanceComponent;\n","import React from 'react';\nimport MaintainanceComponent from './under-maintainance.component';\n\nfunction Maintainance() {\n return ;\n}\n\nexport default Maintainance;\n","import React from 'react';\nimport { AdyenMerchantList } from 'components';\n\nexport default function AdyenMerchantListComponent() {\n return (\n
    \n \n
    \n );\n}\n","import React from 'react';\nimport AdyenMerchantListComponent from './adyen-merchant-list.component';\nexport default function AdyenMerchantList() {\n return ;\n}\n","import React from 'react';\nimport AppCTA from 'pages/appCTA/appCTA.container';\nimport Login from '../pages/login/login.container';\nimport ForgotPassword from '../pages/forgot-password/forgot-password.container';\nimport Onboarding from '../pages/onboarding/onboarding.container';\nimport SignUp from '../pages/signup/signup.container';\nimport ExternalSignUp from 'pages/external-signup/signup.container';\nimport Help from '../pages/help/help.container';\nimport { Route } from 'react-router-dom';\nimport NotLoggedRoute from './not-logged-route';\nimport AdminUserTypeRoute from './admin-user-type-route.js';\nimport MypayOnlyNotLoggedRoute from './mypay-only-not-logged-route';\nimport OwnerOrAdminRoute from './owner-or-admin-route';\nimport SuperAdminUserTypeRoute from './super-admin-user-type-route';\nimport ResetPassword from '../pages/reset-password/reset-password.container';\nimport SupportUtilities from '../pages/support-utilities/support-utilities.container';\nimport TermsAndConditionsPage from '../pages/terms-and-conditions/terms-and-conditions.container';\nimport NotAuthorizedPage from '../pages/not-authorized/not-authorized.container';\nimport RequestSupportForm from '../pages/request-support-form/request-support-form.container';\nimport AdyenResponse from '../pages/adyen-response/adyen-response.container';\nimport LinkQr from 'pages/link-qr/link-qr.container';\nimport AuditLogData from 'pages/admin/audit-log-data/audit-log-data.container';\nimport Maintainance from 'pages/under-maintainance/under-maintainance.container';\nimport AdyenMerchantList from 'pages/admin/adyen-merchants-list/adyen-merchant-list.container';\n\nexport default [\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';\nimport AppCTA from 'pages/appCTA/appCTA.container';\nimport Login from '../pages/login/login.container';\nimport ForgotPassword from '../pages/forgot-password/forgot-password.container';\nimport Onboarding from '../pages/onboarding/onboarding.container';\nimport SignUp from '../pages/signup/signup.container';\nimport ExternalSignUpForm from '../pages/external-signup/signup.container';\nimport Help from '../pages/help/help.container';\nimport ResetPassword from '../pages/reset-password/reset-password.container';\nimport SupportUtilities from '../pages/support-utilities/support-utilities.container';\nimport TermsAndConditionsPage from '../pages/terms-and-conditions/terms-and-conditions.container';\nimport NotAuthorizedPage from '../pages/not-authorized/not-authorized.container';\nimport { Route } from 'react-router-dom';\nimport RequestSupportForm from '../pages/request-support-form/request-support-form.container';\nimport AdyenResponse from '../pages/adyen-response/adyen-response.container';\nimport LinkQr from 'pages/link-qr/link-qr.container';\n\nimport NotLoggedRoute from './not-logged-route';\nimport MypayOnlyNotLoggedRoute from './mypay-only-not-logged-route';\nimport OwnerOrAdminRoute from './owner-or-admin-route';\nimport AdminUserTypeRoute from './admin-user-type-route.js';\nimport AuditLogData from 'pages/admin/audit-log-data/audit-log-data.container';\nimport SuperAdminUserTypeRoute from './super-admin-user-type-route';\nimport Maintainance from 'pages/under-maintainance/under-maintainance.container';\nimport AdyenMerchantList from 'pages/admin/adyen-merchants-list/adyen-merchant-list.container';\n\nexport default [\n ,\n\n ,\n ,\n ,\n ,\n ,\n ,\n ,\n ,\n ,\n ,\n ,\n }\n />,\n ,\n ,\n ,\n \n];\n","import React, { Suspense } from 'react';\nimport './styles/global.scss';\nimport './assets/css/theme.css';\nimport LayoutContainer from './layouts/layout.container';\nimport { Switch, Router } from 'react-router-dom';\nimport browserHistory from './browserHistory';\nimport {\n AuthProvider,\n BalanceProvider,\n ChatBotProvider,\n useGlobalStateContext,\n MerchantCreationProvider\n} from 'contexts';\nimport { createMuiTheme, MuiThemeProvider } from '@material-ui/core';\nimport withoutSideBarMerchantRoutes from './routing/without-sidebar.routes';\nimport withoutSideBarMerchantCustomDomainRoutes from './routing/without-sidebar.custom-domain.routes';\nimport Maintainance from 'pages/under-maintainance/under-maintainance.container';\nimport { TaxonomyService } from 'services';\n\n//\nconst theme = createMuiTheme({\n palette: {\n primary: {\n main: '#43425d',\n light: '#73729a'\n },\n error: {\n main: '#f44336',\n light: '#f44336'\n },\n success: {\n main: '#4caf50',\n light: '#f44336'\n }\n }\n});\n\nfunction App() {\n React.useEffect(() => {\n getMaintainceMode();\n }, []);\n\n const getMaintainceMode = async () => {\n try {\n const response = await TaxonomyService.getMaintainenceMode(globalState.maintainance);\n const maintainance_mode = response?.maintainence_mode == '1' ? true : false;\n setGlobalState({\n ...globalState,\n customDomain: true,\n maintainance: maintainance_mode,\n maintainanceMessage: response?.maintainence_mode_message\n });\n const maintainanceLink = window.location.href.split('.com')[0] + '.com/maintenance';\n if (!maintainance_mode && window.location.href.includes('maintenance')) {\n window.location.replace(window.location.href.replace('maintenance', 'home'));\n } else if (maintainance_mode && !window.location.href.includes('maintenance')) {\n window.location.replace(maintainanceLink);\n }\n } catch (error) {\n return false;\n }\n };\n // eslint-disable-next-line\n const { globalState, setGlobalState } = useGlobalStateContext();\n return (\n \n \n \n \n \n \n \n \n {JSON.parse(localStorage.getItem('customDomain')) === false ? (\n withoutSideBarMerchantRoutes\n ) : globalState.maintainance ? (\n \n ) : (\n withoutSideBarMerchantCustomDomainRoutes\n )}\n \n \n \n \n \n \n \n \n \n );\n}\n\nexport default App;\n","// This optional code is used to register a service worker.\n// register() is not called by default.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on subsequent visits to a page, after all the\n// existing tabs open on the page have been closed, since previously cached\n// resources are updated in the background.\n\n// To learn more about the benefits of this model and instructions on how to\n// opt-in, read https://bit.ly/CRA-PWA\n\nconst isLocalhost = Boolean(\n window.location.hostname === 'localhost' ||\n // [::1] is the IPv6 localhost address.\n window.location.hostname === '[::1]' ||\n // 127.0.0.0/8 are considered localhost for IPv4.\n window.location.hostname.match(/^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/)\n);\n\nexport function register(config) {\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n // The URL constructor is available in all browsers that support SW.\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);\n if (publicUrl.origin !== window.location.origin) {\n // Our service worker won't work if PUBLIC_URL is on a different origin\n // from what our page is served on. This might happen if a CDN is used to\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\n return;\n }\n\n window.addEventListener('load', () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n\n if (isLocalhost) {\n // This is running on localhost. Let's check if a service worker still exists or not.\n checkValidServiceWorker(swUrl, config);\n\n // Add some additional logging to localhost, pointing developers to the\n // service worker/PWA documentation.\n navigator.serviceWorker.ready.then(() => {\n console.log(\n 'This web app is being served cache-first by a service ' +\n 'worker. To learn more, visit https://bit.ly/CRA-PWA'\n );\n });\n } else {\n // Is not localhost. Just register service worker\n registerValidSW(swUrl, config);\n }\n });\n }\n}\n\nfunction registerValidSW(swUrl, config) {\n navigator.serviceWorker\n .register(swUrl)\n .then((registration) => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n if (installingWorker == null) {\n return;\n }\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the updated precached content has been fetched,\n // but the previous service worker will still serve the older\n // content until all client tabs are closed.\n console.log(\n 'New content is available and will be used when all ' +\n 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'\n );\n\n // Execute callback\n if (config && config.onUpdate) {\n config.onUpdate(registration);\n }\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a\n // \"Content is cached for offline use.\" message.\n console.log('Content is cached for offline use.');\n\n // Execute callback\n if (config && config.onSuccess) {\n config.onSuccess(registration);\n }\n }\n }\n };\n };\n })\n .catch((error) => {\n console.error('Error during service worker registration:', error);\n });\n}\n\nfunction checkValidServiceWorker(swUrl, config) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl, {\n headers: { 'Service-Worker': 'script' },\n })\n .then((response) => {\n // Ensure service worker exists, and that we really are getting a JS file.\n const contentType = response.headers.get('content-type');\n if (response.status === 404 || (contentType != null && contentType.indexOf('javascript') === -1)) {\n // No service worker found. Probably a different app. Reload the page.\n navigator.serviceWorker.ready.then((registration) => {\n registration.unregister().then(() => {\n window.location.reload();\n });\n });\n } else {\n // Service worker found. Proceed as normal.\n registerValidSW(swUrl, config);\n }\n })\n .catch(() => {\n console.log('No internet connection found. App is running in offline mode.');\n });\n}\n\nexport function unregister() {\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker.ready\n .then((registration) => {\n registration.unregister();\n })\n .catch((error) => {\n console.error(error.message);\n });\n }\n}\n","import './polyfill';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport './index.scss';\nimport { GlobalStateProvider } from 'contexts';\nimport App from './App';\nimport * as serviceWorker from './serviceWorker';\nimport * as Sentry from '@sentry/react';\nimport { LanguageContext } from './contexts/language-switch-context/language-switch-context';\nimport clevertap from 'clevertap-web-sdk';\nimport { CLEVERTAP_ID } from 'utils/constants';\nimport { Cache } from 'aws-amplify';\n\nclevertap.init(CLEVERTAP_ID);\nif (\n process.env.REACT_APP_ENV &&\n (process.env.REACT_APP_ENV === 'production' || process.env.REACT_APP_ENV === 'staging')\n) {\n Sentry.init({\n dsn: process.env.REACT_APP_SENTRY_DSN,\n environment: process.env.REACT_APP_ENV\n });\n}\nCache.setItem('resellers', JSON.parse(process.env.REACT_APP_CONFIG_SERVICE_ENDPOINT), { priority: 1 });\nlocalStorage.setItem(\n 'reseller',\n window.location.href.includes(process.env.REACT_APP_CRM_NAME)\n ? JSON.stringify(JSON.parse(process.env.REACT_APP_CONFIG_SERVICE_ENDPOINT)[1])\n : JSON.stringify(JSON.parse(process.env.REACT_APP_CONFIG_SERVICE_ENDPOINT)[0])\n);\nReactDOM.render(\n \n \n \n \n \n \n \n ,\n document.getElementById('root')\n);\n\n// If you want your app to work offline and load faster, you can change\n// unregister() to register() below. Note this comes with some pitfalls.\n// Learn more about service workers: https://bit.ly/CRA-PWA\nserviceWorker.unregister();\n"],"sourceRoot":""}