@zeniai/client-epic-state 4.12.97 → 4.12.98

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/lib/commonPayloadTypes/commonPayload.d.ts +0 -7
  2. package/lib/commonPayloadTypes/v2/getSumOfBalancesGroupedByPeriod.d.ts +0 -0
  3. package/lib/commonPayloadTypes/v2/getSumOfBalancesGroupedByPeriod.js +1 -0
  4. package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSectionWithAcOnly.d.ts +0 -0
  5. package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSectionWithAcOnly.js +1 -0
  6. package/lib/entity/company/companyPayload.d.ts +0 -4
  7. package/lib/entity/company/companyPayload.js +3 -6
  8. package/lib/entity/company/companyReducer.d.ts +1 -4
  9. package/lib/entity/company/companyReducer.js +2 -6
  10. package/lib/entity/company/companyStateTypes.d.ts +0 -4
  11. package/lib/entity/file/fileState.d.ts +3 -3
  12. package/lib/entity/file/fileState.js +0 -2
  13. package/lib/entity/tenant/clearAllEpic.d.ts +1 -3
  14. package/lib/entity/tenant/clearAllEpic.js +0 -4
  15. package/lib/entity/user/userPayload.d.ts +0 -1
  16. package/lib/entity/user/userReducer.js +8 -9
  17. package/lib/entity/user/userState.d.ts +0 -1
  18. package/lib/epic.d.ts +1 -6
  19. package/lib/epic.js +1 -6
  20. package/lib/index.d.ts +5 -12
  21. package/lib/index.js +6 -15
  22. package/lib/reducer.d.ts +0 -6
  23. package/lib/reducer.js +0 -6
  24. package/lib/view/addressView/__mocks__/json/createCompanyAddressSuccess.json +1 -7
  25. package/lib/view/addressView/__mocks__/json/createCompanyUserAddressSuccess.json +1 -7
  26. package/lib/view/addressView/addressViewState.d.ts +1 -1
  27. package/lib/view/addressView/toAddressViewLocalData.js +0 -5
  28. package/lib/view/commonVendorView/vendorView/vendorViewSelector.d.ts +1 -1
  29. package/lib/view/companyView/epic/companyPassport/updateCompanyPassportLocalStoreDataEpic.js +6 -1
  30. package/lib/view/companyView/selectorHelpers/getCompanyView.js +0 -4
  31. package/lib/view/companyView/types/companyPassport/companyUsersLocalData.d.ts +0 -2
  32. package/lib/view/companyView/types/companyPassport/companyUsersLocalData.js +1 -7
  33. package/lib/view/companyView/types/companyView.d.ts +0 -1
  34. package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerViewEpic.d.ts +1 -8
  35. package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerViewEpic.js +1 -3
  36. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewEpic.js +4 -5
  37. package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.d.ts +0 -2
  38. package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.js +3 -6
  39. package/lib/view/scheduleView/scheduleListView/scheduleListTypes.d.ts +1 -1
  40. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigState.d.ts +4 -1
  41. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.d.ts +0 -2
  42. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.js +0 -3
  43. package/lib/view/spendManagement/billPay/internationalWire/internationalWireSelector.d.ts +1 -2
  44. package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.d.ts +1 -1
  45. package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.js +6 -31
  46. package/lib/view/spendManagement/commonSetup/epic/setup/updateSetupViewLocalStoreDataEpic.d.ts +2 -2
  47. package/lib/view/spendManagement/commonSetup/epic/setup/updateSetupViewLocalStoreDataEpic.js +2 -5
  48. package/lib/view/spendManagement/commonSetup/setupViewSelector.d.ts +1 -4
  49. package/lib/view/spendManagement/commonSetup/setupViewSelector.js +2 -6
  50. package/lib/view/spendManagement/commonSetup/setupViewState.d.ts +0 -1
  51. package/lib/view/spendManagement/commonSetup/types/businessVerification.d.ts +0 -4
  52. package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardReducer.js +3 -1
  53. package/package.json +1 -1
  54. package/lib/view/countryList/countryListReducer.d.ts +0 -17
  55. package/lib/view/countryList/countryListReducer.js +0 -58
  56. package/lib/view/countryList/countryListSelector.d.ts +0 -7
  57. package/lib/view/countryList/countryListSelector.js +0 -13
  58. package/lib/view/countryList/countryListState.d.ts +0 -12
  59. package/lib/view/countryList/countryListState.js +0 -2
  60. package/lib/view/countryList/epics/fetchCountryListEpic.d.ts +0 -6
  61. package/lib/view/countryList/epics/fetchCountryListEpic.js +0 -19
  62. package/lib/view/countryList/epics/fetchNationalityCountryListEpic.d.ts +0 -7
  63. package/lib/view/countryList/epics/fetchNationalityCountryListEpic.js +0 -38
  64. package/lib/view/countryList/payloads/countryListPayload.d.ts +0 -6
  65. package/lib/view/countryList/payloads/countryListPayload.js +0 -10
  66. package/lib/view/countryList/payloads/nationalityCountryListPayload.d.ts +0 -11
  67. package/lib/view/countryList/payloads/nationalityCountryListPayload.js +0 -2
  68. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/fetchIntlVerificationFormEpic.d.ts +0 -7
  69. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/fetchIntlVerificationFormEpic.js +0 -36
  70. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/initializeIntlVerificationFormEpic.d.ts +0 -6
  71. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/initializeIntlVerificationFormEpic.js +0 -40
  72. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/submitIntlVerificationEpic.d.ts +0 -9
  73. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/submitIntlVerificationEpic.js +0 -67
  74. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationPayload.d.ts +0 -26
  75. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationPayload.js +0 -22
  76. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationReducer.d.ts +0 -22
  77. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationReducer.js +0 -89
  78. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationSelector.d.ts +0 -15
  79. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationSelector.js +0 -30
  80. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationState.d.ts +0 -20
  81. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationState.js +0 -2
package/lib/index.d.ts CHANGED
@@ -504,9 +504,9 @@ import { getSpendManagementEffectiveListPeriod, getSelectedCompanyOfficer, showB
504
504
  export { getSpendManagementEffectiveListPeriod, getSelectedCompanyOfficer, showBillPayPromoPage, showReimbursementPromoPage, getActualPaymentDate, isVerifiedStatusCode, isBulkProcessing, getBillListUniqueType, getRemiListUniqueType, BulkOperationType, BulkOperationFinishedType, getBulkOperationSuffix, };
505
505
  import { FilterCategoryValueType, canSendMonthEndEmailReport, shouldEnableCalendarPickerForLastReportSent } from './view/companyView/helpers/cockpitHelpers';
506
506
  export { FilterCategoryValueType, canSendMonthEndEmailReport, shouldEnableCalendarPickerForLastReportSent, };
507
- import { BillPayConfig, BillPaymentConfigCodeType, BillPaymentSubConfigCodeType, VendorCurrency, InternationalSubConfigCodeType, BILL_NEW_PAYMENT_METHODS, NEW_INTERNATIONAL_METHOD_SUBTEXT, SWIFT_OUR_INTERNATIONAL_METHOD_SUBTEXT, LOCAL_CURRENCY_INTERNATIONAL_METHOD_SUBTEXT, AccountTypeSubConfigCodeKeyType } from './view/spendManagement/billPay/billPayConfig/billPayConfigState';
507
+ import { BillPayConfig, BillPaymentConfigCodeType, BillPaymentSubConfigCodeType, Country, VendorCurrency, InternationalSubConfigCodeType, BILL_NEW_PAYMENT_METHODS, NEW_INTERNATIONAL_METHOD_SUBTEXT, SWIFT_OUR_INTERNATIONAL_METHOD_SUBTEXT, LOCAL_CURRENCY_INTERNATIONAL_METHOD_SUBTEXT, AccountTypeSubConfigCodeKeyType } from './view/spendManagement/billPay/billPayConfig/billPayConfigState';
508
508
  import { getInternationalSubConfigCodeKey } from './view/spendManagement/billPay/billPayConfig/billPayConfigPayload';
509
- export { BillPayConfig, BillPaymentConfigCodeType, BillPaymentSubConfigCodeType, getInternationalSubConfigCodeKey, InternationalSubConfigCodeType, BILL_NEW_PAYMENT_METHODS, NEW_INTERNATIONAL_METHOD_SUBTEXT, SWIFT_OUR_INTERNATIONAL_METHOD_SUBTEXT, LOCAL_CURRENCY_INTERNATIONAL_METHOD_SUBTEXT, AccountTypeSubConfigCodeKeyType, };
509
+ export { Country, BillPayConfig, BillPaymentConfigCodeType, BillPaymentSubConfigCodeType, getInternationalSubConfigCodeKey, InternationalSubConfigCodeType, BILL_NEW_PAYMENT_METHODS, NEW_INTERNATIONAL_METHOD_SUBTEXT, SWIFT_OUR_INTERNATIONAL_METHOD_SUBTEXT, LOCAL_CURRENCY_INTERNATIONAL_METHOD_SUBTEXT, AccountTypeSubConfigCodeKeyType, };
510
510
  import { BillPayCardReport } from './view/billPayCard/billPayCardSelector';
511
511
  import { ReimbursementCardReport } from './view/reimbursementCard/reimbursementCardSelector';
512
512
  import { Recommendation } from './commonStateTypes/recommendationBase';
@@ -606,7 +606,7 @@ import { ChargeCardViewSortKey, ChargeCardListUIState, ChargeCardLocalData, Issu
606
606
  import { ChargeCardListSelectorView, ChargeCardWithUser, getChargeCardListView, getCreditAccount, anyCardOnHold } from './view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector';
607
607
  import { ChargeCard, CreditLimitFrequency, CreditLimitFrequencyCodeType, toCreditLimitFrequencyCodeType } from './entity/chargeCard/chargeCard';
608
608
  import { updateCashbackDetailUIState, fetchCashbackDetail } from './view/spendManagement/chargeCards/cashbackDetail/cashbackDetailReducer';
609
- import { fetchChargeCardListPage, fetchChargeCardList, fetchCreditAccount, issueChargeCard, resetIssueChargeCardForm, updateChargeCardLocalStore, updateSearchText as updateChargeCardListSearchText, updateChargeCardListUIState, resendCardInvite, revokeCardInvite } from './view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer';
609
+ import { fetchChargeCardListPage, fetchCreditAccount, issueChargeCard, resetIssueChargeCardForm, updateChargeCardLocalStore, updateSearchText as updateChargeCardListSearchText, updateChargeCardListUIState, resendCardInvite, revokeCardInvite } from './view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer';
610
610
  import { fetchChargeCardDetailPage, fetchChargeCardTransactionList, updateChargeCardDetail, updateChargeCardTransactionUploadReceiptsFetchStatus, updateChargeCardTransactionReceiptsShowTickFetchStatus, updateChargeCardTransactionIsViewReceiptClicked, fetchChargeCardTransactionAttachments } from './view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer';
611
611
  import { ChargeCardDetailSelectorView, getChargeCardDetailView, ChargeCardTransactionAttachmentView, getChargeCardTransactionAttachmentView } from './view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector';
612
612
  import { ChargeCardConfigState } from './view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigState';
@@ -614,7 +614,7 @@ import { ChargeCardTransaction, ChargeCardTransactionStatus, ChargeCardTransacti
614
614
  import { TransactionReceiptsPayload } from './entity/chargeCardTransaction/chargeCardTransactionPayload';
615
615
  import { updateChargeCardTransactionAttachments } from './entity/chargeCardTransaction/chargeCardTransactionReducer';
616
616
  import { ChargeCardDetailUiState, ChargeCardTransactionSortKey } from './view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail';
617
- import { getChargeCardSetupViewDetails, ChargeCardSetupView, ChargeCardBusinessVerificationDetails, getChargeCardBusinessVerificationDetails } from './view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewSelector';
617
+ import { getChargeCardSetupViewDetails, ChargeCardSetupView, getChargeCardBusinessVerificationDetails } from './view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewSelector';
618
618
  import { acceptChargeCardTerms, fetchChargeCardSetupView } from './view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewReducer';
619
619
  import { fetchChargeCardStatementList } from './view/spendManagement/chargeCards/chargeCardStatementList/chargeCardStatementListReducer';
620
620
  import { getChargeCardStatements, ChargeCardStatementsSelectorView } from './view/spendManagement/chargeCards/chargeCardStatementList/chargeCardStatementListSelector';
@@ -622,7 +622,7 @@ import { ChargeCardStatement } from './view/spendManagement/chargeCards/chargeCa
622
622
  import { CardUserOnboardingLocalData } from './view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingState';
623
623
  import { initializeCardUserOnboardingLocalData, updateCardUserOnboardingLocalData, saveCardOnboardingUserDetails, startActivationWait, completeActivationWait, setFirstViewAfterActivation, setFirstViewCompleteAfterActivation } from './view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingReducer';
624
624
  import { getCardUserOnboardingView, CardUserOnboardingView } from './view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingSelector';
625
- export { updateChargeCardTransactionAttachments, TransactionReceiptsPayload, ProductServices, ProductServiceKey, isCompanyRunwayInfinite, getCompanyHealthMetricView, hasCompanyHealthMetricFormFieldChanged, companyHealthMetricDropDownOptions, CompanyHealthMetricViewSelector, CompanyHealthMetricDropDownOption, CompanyDetailWithHealthMetric, ChargeCardBusinessVerificationDetails, getChargeCardBusinessVerificationDetails, fetchChargeCardList, fetchChargeCardListPage, fetchCreditAccount, getChargeCardListView, getCreditAccount, ChargeCardStatementsSelectorView, fetchChargeCardDetailPage, getChargeCardDetailView, ChargeCardTransactionAttachmentView, getChargeCardTransactionAttachmentView, fetchChargeCardTransactionList, fetchCashbackDetail, ChargeCard, ChargeCardWithUser, ChargeCardViewSortKey, toChargeCardSortKeyType, CashbackPeriod, CashbackDetailUIState, CashbackViewSortKey, getCashbackDetail, CashbackDetailSelectorView, toCreditLimitFrequencyCodeType, ChargeCardListSelectorView, ChargeCardDetailSelectorView, ChargeCardConfigState, ChargeCardListUIState, ChargeCardTransaction, ChargeCardTransactionStatusCode, ChargeCardTransactionTypeCode, ChargeCardTransactionStatus, ChargeCardDetailUiState, ChargeCardTransactionSortKey, getChargeCardSetupViewDetails, ChargeCardSetupView, fetchChargeCardStatementList, ChargeCardStatement, getChargeCardStatements, fetchChargeCardSetupView, acceptChargeCardTerms, ChargeCardLocalData, IssueChargeCard, CreditLimitFrequencyCodeType, CreditLimitFrequency, issueChargeCard, updateChargeCardLocalStore, resetIssueChargeCardForm, updateChargeCardListSearchText, updateChargeCardListUIState, updateCashbackDetailUIState, updateChargeCardDetail, CardUserOnboardingLocalData, getCardUserOnboardingView, initializeCardUserOnboardingLocalData, updateCardUserOnboardingLocalData, CardUserOnboardingView, saveCardOnboardingUserDetails, updateChargeCardTransactionUploadReceiptsFetchStatus, updateChargeCardTransactionReceiptsShowTickFetchStatus, updateChargeCardTransactionIsViewReceiptClicked, fetchChargeCardTransactionAttachments, resendCardInvite, revokeCardInvite, startActivationWait, completeActivationWait, setFirstViewAfterActivation, setFirstViewCompleteAfterActivation, anyCardOnHold, };
625
+ export { updateChargeCardTransactionAttachments, TransactionReceiptsPayload, ProductServices, ProductServiceKey, isCompanyRunwayInfinite, getCompanyHealthMetricView, hasCompanyHealthMetricFormFieldChanged, companyHealthMetricDropDownOptions, CompanyHealthMetricViewSelector, CompanyHealthMetricDropDownOption, CompanyDetailWithHealthMetric, getChargeCardBusinessVerificationDetails, fetchChargeCardListPage, fetchCreditAccount, getChargeCardListView, getCreditAccount, ChargeCardStatementsSelectorView, fetchChargeCardDetailPage, getChargeCardDetailView, ChargeCardTransactionAttachmentView, getChargeCardTransactionAttachmentView, fetchChargeCardTransactionList, fetchCashbackDetail, ChargeCard, ChargeCardWithUser, ChargeCardViewSortKey, toChargeCardSortKeyType, CashbackPeriod, CashbackDetailUIState, CashbackViewSortKey, getCashbackDetail, CashbackDetailSelectorView, toCreditLimitFrequencyCodeType, ChargeCardListSelectorView, ChargeCardDetailSelectorView, ChargeCardConfigState, ChargeCardListUIState, ChargeCardTransaction, ChargeCardTransactionStatusCode, ChargeCardTransactionTypeCode, ChargeCardTransactionStatus, ChargeCardDetailUiState, ChargeCardTransactionSortKey, getChargeCardSetupViewDetails, ChargeCardSetupView, fetchChargeCardStatementList, ChargeCardStatement, getChargeCardStatements, fetchChargeCardSetupView, acceptChargeCardTerms, ChargeCardLocalData, IssueChargeCard, CreditLimitFrequencyCodeType, CreditLimitFrequency, issueChargeCard, updateChargeCardLocalStore, resetIssueChargeCardForm, updateChargeCardListSearchText, updateChargeCardListUIState, updateCashbackDetailUIState, updateChargeCardDetail, CardUserOnboardingLocalData, getCardUserOnboardingView, initializeCardUserOnboardingLocalData, updateCardUserOnboardingLocalData, CardUserOnboardingView, saveCardOnboardingUserDetails, updateChargeCardTransactionUploadReceiptsFetchStatus, updateChargeCardTransactionReceiptsShowTickFetchStatus, updateChargeCardTransactionIsViewReceiptClicked, fetchChargeCardTransactionAttachments, resendCardInvite, revokeCardInvite, startActivationWait, completeActivationWait, setFirstViewAfterActivation, setFirstViewCompleteAfterActivation, anyCardOnHold, };
626
626
  import { AgingBalance, AgingPeriod } from './commonStateTypes/agingBalance/agingBalance';
627
627
  import { fetchApAging, updateApAgingUIState } from './view/apAgingView/apAgingReport/apAgingReducer';
628
628
  import { ApAgingReport, getApAgingReport, AgingBalancesByVendor } from './view/apAgingView/apAgingReport/apAgingSelector';
@@ -737,10 +737,3 @@ import { fetchCompanyTaskManagerView } from './view/companyTaskManagerView/compa
737
737
  import { getCompanyTaskManagerView, CompanyTaskManagerSelectorView, TaskWithCompanyDetail } from './view/companyTaskManagerView/companyTaskManagerViewSelector';
738
738
  import { CompanyTaskManagerViewUIState } from './view/companyTaskManagerView/companyTaskManagerViewState';
739
739
  export { fetchCompanyTaskManagerView, CompanyTaskManagerSelectorView, CompanyTaskManagerViewUIState, getCompanyTaskManagerView, TaskWithCompanyDetail, };
740
- import { fetchCountryList } from './view/countryList/countryListReducer';
741
- import { Country } from './view/countryList/countryListState';
742
- export { fetchCountryList, Country };
743
- import { getIntlWireVerificationView, InternationalWireVerificationView } from './view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationSelector';
744
- import { InternationalWireVerificationState, VerificationFormField, VerificationFormLocalData, FieldValueType } from './view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationState';
745
- import { fetchInternationalVerificationForm, submitInternationalVerificationForm, updateVerificationFormLocalData } from './view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationReducer';
746
- export { InternationalWireVerificationState, VerificationFormField, VerificationFormLocalData, FieldValueType, fetchInternationalVerificationForm, submitInternationalVerificationForm, updateVerificationFormLocalData, getIntlWireVerificationView, InternationalWireVerificationView, };
package/lib/index.js CHANGED
@@ -45,12 +45,12 @@ exports.saveRemiUpdatesToLocalStore = exports.initializeRemiToLocalStore = expor
45
45
  exports.retryBankAccountConnectionForOnboarding = exports.sendOnboardingCustomerViewInvite = exports.resetNewOnboardedCustomerId = exports.updateOnboardingCustomerDataInLocalStore = exports.saveOnboardingCustomerDataInLocalStore = exports.saveOnboardingCustomerNotes = exports.saveOnboardingCustomerViewUpdates = exports.updateStatusAfterOnboardingCompleted = exports.updateCustomerCreationStatus = exports.updateOnboardingCustomerListUIState = exports.saveOnboardingCustomerViewUpdateData = exports.clearOnboardingCustomerViewUpdateData = exports.initializeOnboardingCustomerViewUpdateData = exports.getOnboardingEmailGroup = exports.getNewOnboardingCustomerView = exports.getOnboardingCockpitView = exports.toProductTypeStrict = exports.toProductType = exports.saveOnboardingCustomerCompletedStatus = exports.fetchOnboardingCompletedCompanies = exports.fetchCompanyOnboardingView = exports.PAYMENT_BUSINESS_DAYS = exports.holidaysFormatted = exports.isHoliday = exports.getYearsList = exports.filterDays = exports.isHolidayToday = exports.getPreviousNthWorkingDay = exports.getNextNthWorkingDay = exports.toFileTypeStrict = exports.ALL_FILE_TYPES = exports.isAllFetchCompleted = exports.isAnyFetchInProgress = exports.reduceAnyCompletedFetchState = exports.reduceAllFetchState = exports.reduceAnyFetchState = exports.reduceFetchState = exports.clearAddRemiAutoFields = exports.updateHomeCurrencyConversion = exports.clearTentativeMerchantName = exports.updateTentativeMerchantNames = exports.updateUploadFetchState = exports.updateAddRemiAutoFields = exports.clearEditRemiViewDetail = exports.parseReceiptsToRemi = exports.saveRemiSuccessOrFailure = exports.saveRemiDetail = exports.removeFileFromRemiUpdatesInLocalStore = exports.discardRemiUpdatesInLocalStore = exports.fetchCurrencyConversionValue = void 0;
46
46
  exports.updateDepositToLocalData = exports.updateTransferToLocalData = exports.updateTransferMoneyLocalData = exports.fetchZeniAccountsConfig = exports.fetchDepositAccount = exports.getDepositAccountDetailForPDF = exports.getAllDepostAccounts = exports.getDepositAccountDetail = exports.unlinkPaymentAccount = exports.fetchPaymentAccountList = exports.createCheckingAccount = exports.updateZeniAccountListTab = exports.fetchZeniAccountList = exports.getZeniAccountList = exports.getZeniAccountsConfigDetail = exports.fetchOwnerList = exports.fetchRecommendationByEntityName = exports.fetchRecommendationByEntityId = exports.fetchEntityRecommendationsByTransactionId = exports.getVendorFiling1099List = exports.toVendorReportIDType = exports.isVendorsTabVisible = exports.isColumnYTDSpend = exports.updateYTDSelectionUIState = exports.updatePageToken = exports.updateSortUiState = exports.getVendorList = exports.LOCAL_CURRENCY_INTERNATIONAL_METHOD_SUBTEXT = exports.SWIFT_OUR_INTERNATIONAL_METHOD_SUBTEXT = exports.NEW_INTERNATIONAL_METHOD_SUBTEXT = exports.BILL_NEW_PAYMENT_METHODS = exports.getInternationalSubConfigCodeKey = exports.shouldEnableCalendarPickerForLastReportSent = exports.canSendMonthEndEmailReport = exports.getBulkOperationSuffix = exports.getRemiListUniqueType = exports.getBillListUniqueType = exports.isBulkProcessing = exports.isVerifiedStatusCode = exports.getActualPaymentDate = exports.showReimbursementPromoPage = exports.showBillPayPromoPage = exports.getSelectedCompanyOfficer = exports.getSpendManagementEffectiveListPeriod = exports.getSnackbar = exports.closeSnackbar = exports.openSnackbar = exports.getChangedLineItemCountFromLocalData = exports.getTransactionListUIStateByCategoryType = exports.getTransactionsListByCategoryType = void 0;
47
47
  exports.getAccountMappingView = exports.clearAccountMappingLocalData = exports.saveAccountMappingLocalData = exports.saveAccountMapping = exports.getOnboardingCustomerView = exports.clearOnboardingCustomerViewDataInLocalStore = exports.clearOnboardingCustomerView = exports.saveOnboardingCustomerViewDataInLocalStore = exports.saveOnboardingCompnayOfficerPhoneInLocalStore = exports.updateOnboardingCustomerViewUIState = exports.updateCurrentStep = exports.updateOnboardingCustomerViewLocalStoreData = exports.updateOnboardingCustomerView = exports.updateOnboardingPaymentAccountStatus = exports.updateOnboardingPaymentAccountLoginStatus = exports.updateOnboardingCustomerViewCompleteStatus = exports.updateOnboardingCustomerViewAccountDetails = exports.establishOnboardingPlaidConnection = exports.getOnboardingPlaidLinkToken = exports.fetchOnboardingCustomerSetupView = exports.fetchOnboardingCustomerView = exports.isZeniClearingAccount = exports.ZENI_CLEARING_ACCOUNT = exports.isZeniClearingAccountReport = exports.getCompanyConfig = exports.fetchCompanyConfig = exports.clearTransactionVendorSaveStatus = exports.resetTransactionVendorLocalData = exports.updateTransactionVendorLocalData = exports.saveTransactionVendorSuccessOrFailure = exports.saveTransactionVendor = exports.getTransactionVendorView = exports.getZeniAccStatements = exports.fetchZeniAccStatementPage = exports.getDepositAccountTransactionList = exports.fetchDepositAccountTransactionList = exports.fetchDepositAccountHistoryFailure = exports.fetchDepositAccountHistorySuccess = exports.updateDepositAccount = exports.getCheckDepositDetail = exports.clearCheckDeposit = exports.updateCheckDepositLocalData = exports.depositCheck = exports.ZENI_ACCOUNTS_TAB = exports.fetchDepositAccountDetail = exports.fetchReviewTransferDetail = exports.clearReviewTransferDetail = exports.clearTransferDetail = exports.getTransferDetail = exports.transferMoney = void 0;
48
- exports.getChargeCardTransactionAttachmentView = exports.getChargeCardDetailView = exports.fetchChargeCardDetailPage = exports.getCreditAccount = exports.getChargeCardListView = exports.fetchCreditAccount = exports.fetchChargeCardListPage = exports.fetchChargeCardList = exports.getChargeCardBusinessVerificationDetails = exports.companyHealthMetricDropDownOptions = exports.hasCompanyHealthMetricFormFieldChanged = exports.getCompanyHealthMetricView = exports.isCompanyRunwayInfinite = exports.updateChargeCardTransactionAttachments = exports.updateCompanyHealthViewUIState = exports.updateCompanyHealthMetricViewSuccessStatus = exports.updateCompanyHealthMetricViewErrorStatus = exports.updateCompanyHealthMetricLocalStore = exports.saveCompanyHealthMetricById = exports.removeSelectedCompanyId = exports.initializeCompanyHealthMetricViewLocalData = exports.fetchCompanyHealthMetricView = exports.clearCompanyHealthMetricView = exports.updateCompanyHealth = exports.updateCompaniesHealth = exports.getUserRoleConfig = exports.fetchUserRoleConfig = exports.clearInternationalWire = exports.deletePaymentInstrument = exports.createPaymentInstrumentUpdateStatus = exports.createPaymentInstrument = exports.fetchInternationalWireDynamicForm = exports.initializeDynamicForm = exports.updateInternationalWireLocalStoreData = exports.initializeInternationalWireLocalData = exports.getInternationalWireView = exports.fetchWiseRedirectStatus = exports.getWiseRedirect = exports.saveMagicLinkAddressInLocalStore = exports.fetchMagicLinkBankNameBySwift = exports.fetchMagicLinkBankNameByRouting = exports.updateMagicLinkInternationalBankAccountLocalStoreData = exports.updateMagicLinkBankAccountLocalStoreData = exports.saveBankAccount = exports.fetchBillAttachment = exports.fetchMagicLinkTenant = exports.getMagicLinkCurrentAddressState = exports.getMagicLinkBankAccountView = exports.getMagicLinkView = exports.initializeAccountMappingView = void 0;
49
- exports.updateLinkBillExpenseLocalData = exports.fetchRecommendedTransactionRowIndex = exports.updatedJELinkInLocalDataAccruedExpenses = exports.updatedJEAccruedLinkWithRecommendedLocalData = exports.updateAmountsInScheduleAccruedDetail = exports.saveScheduleAccruedDetails = exports.resetJEAccruedLinkInLocalData = exports.fetchScheduleAccruedDetailsPage = exports.fetchScheduleAccruedDetails = exports.cancelScheduleAccruedJournalEntry = exports.deleteScheduleAccruedDetail = exports.createNewSchedulesAccrued = exports.updateApAgingDetailUIState = exports.getApAgingDetailForVendor = exports.fetchApAgingDetail = exports.updateApAgingUIState = exports.getApAgingReport = exports.fetchApAging = exports.anyCardOnHold = exports.setFirstViewCompleteAfterActivation = exports.setFirstViewAfterActivation = exports.completeActivationWait = exports.startActivationWait = exports.revokeCardInvite = exports.resendCardInvite = exports.fetchChargeCardTransactionAttachments = exports.updateChargeCardTransactionIsViewReceiptClicked = exports.updateChargeCardTransactionReceiptsShowTickFetchStatus = exports.updateChargeCardTransactionUploadReceiptsFetchStatus = exports.saveCardOnboardingUserDetails = exports.updateCardUserOnboardingLocalData = exports.initializeCardUserOnboardingLocalData = exports.getCardUserOnboardingView = exports.updateChargeCardDetail = exports.updateCashbackDetailUIState = exports.updateChargeCardListUIState = exports.updateChargeCardListSearchText = exports.resetIssueChargeCardForm = exports.updateChargeCardLocalStore = exports.issueChargeCard = exports.acceptChargeCardTerms = exports.fetchChargeCardSetupView = exports.getChargeCardStatements = exports.fetchChargeCardStatementList = exports.getChargeCardSetupViewDetails = exports.toCreditLimitFrequencyCodeType = exports.getCashbackDetail = exports.toChargeCardSortKeyType = exports.fetchCashbackDetail = exports.fetchChargeCardTransactionList = void 0;
50
- exports.fetchVendorFirstReviewAttachments = exports.fetchVendorFirstReviewView = exports.getVendorFirstReviewAttachmentView = exports.getVendorFirstReviewView = exports.getGlobalMerchantAutoCompleteResults = exports.toVendorFirstReviewViewColumnKeyType = exports.fetchVendorTabView = exports.resetMarkAsCompleteStatus = exports.markAsCompleteScheduleDetail = exports.getDefaultSelectedTimeframeForScheduleType = exports.getFetchStateForScheduleListByType = exports.updatedJELinkWithRecommendedLocalData = exports.resetJELinkInLocalData = exports.updateAmountsInScheduleDetail = exports.updatedJELinkInLocalData = exports.getThirdPartyIDFromQBOURL = exports.getQBOUrlForLink = exports.updatedSelectedJELinkRowIndex = exports.updateAccruedJEScheduleAccruedByListKey = exports.updateScheduleListDownloadState = exports.updateScheduleDetailsLocalData = exports.createNewSchedules = exports.deleteScheduleDetail = exports.saveScheduleDetails = exports.fetchScheduleDetailsPage = exports.getAccruedScheduleDetailsView = exports.getScheduleDetailsView = exports.fetchScheduleDetails = exports.updateSelectedJEScheduleKey = exports.updateScheduleListSortState = exports.updateScheduleListScrollState = exports.updateScheduleListSearchText = exports.updateScheduleListSubTab = exports.toScheduleSubTabType = exports.toScheduleListTabsFileTypeStrict = exports.toScheduleTypesTypeStrict = exports.toScheduleTypesType = exports.getFetchStateForScheduleAccountList = exports.updateScheduleListLocalData = exports.fetchSchedulesAccount = exports.fetchDownloadSchedules = exports.fetchAccruedScheduleList = exports.fetchScheduleList = exports.getAccruedScheduleListReport = exports.getScheduleListReport = exports.ALL_SCHEDULES_TYPES = exports.resetAccruedDetailNewScheduleState = exports.resetSelectedJEAccruedScheduleKey = exports.updateSelectedJEAccruedScheduleKey = exports.updateScheduleAccruedDetailsLocalData = void 0;
51
- exports.deleteTask = exports.TASK_LIST_GROUP_BY_CATEGORIES = exports.TASK_LIST_FILTER_CATEGORIES = exports.updateTaskFilters = exports.allTaskPriority = exports.allTaskStatus = exports.updateTaskListUIState = exports.updateTaskListSearchText = exports.archiveTask = exports.saveTaskDetail = exports.saveTaskUpdatesToLocalStore = exports.fetchTaskDetailPage = exports.getTaskDetail = exports.fetchTaskListPage = exports.getAllTasks = exports.toRecurringBillFrequencyStrict = exports.toRecurringBillFrequency = exports.updateArAgingNodeCollapseState = exports.getArAgingDetailForCustomer = exports.getArAgingReport = exports.updateArAgingDetailUIState = exports.fetchArAgingDetail = exports.updateArAgingUIState = exports.fetchArAging = exports.updateVendorGlobalReviewViewLocalData = exports.toVendorGlobalReviewColumnSortKeyType = exports.getTenantMerchantByMerchantId = exports.getVendorGlobalReviewView = exports.updateVendorGlobalReviewViewUIState = exports.updateSelectedGlobalMerchant = exports.fetchVendorGlobalReviewView = exports.rejectVendorGlobalReview = exports.approveVendorGlobalReview = exports.getGlobalMerchantView = exports.clearGlobalMerchantView = exports.updateCreateGlobalMerchantLocalData = exports.createGlobalMerchant = exports.fetchGlobalMerchantRecommendation = exports.getVendorDetailSelectorView = exports.saveVendorDetailsView = exports.updateReviewVendorDetailLocalData = exports.clearGlobalMerchantAutoCompleteResults = exports.fetchGlobalMerchantAutoCompleteView = exports.updateVendorFirstReviewSortUiState = exports.updateVendorFirstReviewViewLocalData = exports.saveVendorFirstReviewView = exports.clearRecentlySavedErroredVendorData = exports.updateVendorFirstReviewViewPageToken = exports.resetVendorFirstReviewLocalData = exports.updateVendorFirstReviewViewScrollYOffset = void 0;
52
- exports.updateNotificationViewAllNotificationsStatus = exports.fetchNotificationUnreadCountSuccess = exports.fetchNotificationUnreadCount = exports.fetchNotificationView = exports.toNotificationTabTypeStrict = exports.toNotificationSubTabTypeStrict = exports.updateCommentsNotificationsStatuses = exports.updateCommentsNotifications = exports.toNotificationModeStrict = exports.fetchZeniAccountsPromoCard = exports.getZeniAccountsPromoCard = exports.getAuthenticationView = exports.fetchCollaborationAuthToken = exports.clearAuditReportGroupViewByCompanyId = exports.saveReasonForAuditRule = exports.fetchAuditReportGroupView = exports.fetchAuditRuleGroupView = exports.getUserFromAllUsers = exports.getAuditRuleGroupViewSelectorView = exports.getAuditReportGroupViewSelectorView = exports.clearCardPaymentView = exports.resetCardPaymentErrorStatuses = exports.fetchPaymentSources = exports.addCardPaymentSource = exports.confirmCardSetupIntent = exports.createCardSetupIntent = exports.getAllCardsAndBankPaymentMethods = exports.deleteTag = exports.createTag = exports.fetchTagList = exports.getAllTags = exports.convertHHMMStrToMinutes = exports.updateTaskFromListView = exports.toDueDateGroupKeyType = exports.toTaskStatusCodeType = exports.toPriorityCodeType = exports.getDueDateValueFromDueDateGroupId = exports.initialTaskDetail = exports.fetchAllTaskGroups = exports.getTaskUpdates = exports.toTaskListGroupByKeyTypeStrict = exports.toTaskListGroupByKeyType = exports.updateTaskGroupName = exports.dragNDropTasks = exports.updateTaskListLocalData = exports.deleteTaskGroup = exports.initiateTaskListLocalData = exports.createNewTaskGroup = exports.bulkUpdateTaskList = exports.discardTaskUpdatesInLocalStore = void 0;
53
- exports.getIntlWireVerificationView = exports.updateVerificationFormLocalData = exports.submitInternationalVerificationForm = exports.fetchInternationalVerificationForm = exports.fetchCountryList = exports.getCompanyTaskManagerView = exports.fetchCompanyTaskManagerView = exports.getMinAllowedEndDate = exports.toRecurringFrequency = exports.getRecurringEndDateFromCount = exports.updateReferViewed = exports.getRewardsPlanCard = exports.fetchRewardsPlan = exports.resendReferralInvite = exports.updateReferralListSortUiState = exports.saveReferralFormDataInLocalStore = exports.clearReferrals = exports.sendReferralInvite = exports.fetchReferrals = exports.AmountStatusTypes = exports.StatusTypes = exports.toReferralListViewSortKeyType = exports.getInviteFormView = exports.getReferralListView = exports.getNotifications = exports.getLastNotificationTime = exports.pushToastNotification = exports.getNotificationsForSelectedSubTab = exports.getExternalNotificationsForSelectedSubTab = exports.getNotificationView = exports.updateNotificationViewUIState = exports.updateNotificationViewSubTab = exports.updateNotificationViewCurrentTabAndSubTab = exports.updateNotificationViewTabState = exports.updateNotificationViewNotificationStatus = void 0;
48
+ exports.fetchChargeCardTransactionList = exports.getChargeCardTransactionAttachmentView = exports.getChargeCardDetailView = exports.fetchChargeCardDetailPage = exports.getCreditAccount = exports.getChargeCardListView = exports.fetchCreditAccount = exports.fetchChargeCardListPage = exports.getChargeCardBusinessVerificationDetails = exports.companyHealthMetricDropDownOptions = exports.hasCompanyHealthMetricFormFieldChanged = exports.getCompanyHealthMetricView = exports.isCompanyRunwayInfinite = exports.updateChargeCardTransactionAttachments = exports.updateCompanyHealthViewUIState = exports.updateCompanyHealthMetricViewSuccessStatus = exports.updateCompanyHealthMetricViewErrorStatus = exports.updateCompanyHealthMetricLocalStore = exports.saveCompanyHealthMetricById = exports.removeSelectedCompanyId = exports.initializeCompanyHealthMetricViewLocalData = exports.fetchCompanyHealthMetricView = exports.clearCompanyHealthMetricView = exports.updateCompanyHealth = exports.updateCompaniesHealth = exports.getUserRoleConfig = exports.fetchUserRoleConfig = exports.clearInternationalWire = exports.deletePaymentInstrument = exports.createPaymentInstrumentUpdateStatus = exports.createPaymentInstrument = exports.fetchInternationalWireDynamicForm = exports.initializeDynamicForm = exports.updateInternationalWireLocalStoreData = exports.initializeInternationalWireLocalData = exports.getInternationalWireView = exports.fetchWiseRedirectStatus = exports.getWiseRedirect = exports.saveMagicLinkAddressInLocalStore = exports.fetchMagicLinkBankNameBySwift = exports.fetchMagicLinkBankNameByRouting = exports.updateMagicLinkInternationalBankAccountLocalStoreData = exports.updateMagicLinkBankAccountLocalStoreData = exports.saveBankAccount = exports.fetchBillAttachment = exports.fetchMagicLinkTenant = exports.getMagicLinkCurrentAddressState = exports.getMagicLinkBankAccountView = exports.getMagicLinkView = exports.initializeAccountMappingView = void 0;
49
+ exports.updateScheduleAccruedDetailsLocalData = exports.updateLinkBillExpenseLocalData = exports.fetchRecommendedTransactionRowIndex = exports.updatedJELinkInLocalDataAccruedExpenses = exports.updatedJEAccruedLinkWithRecommendedLocalData = exports.updateAmountsInScheduleAccruedDetail = exports.saveScheduleAccruedDetails = exports.resetJEAccruedLinkInLocalData = exports.fetchScheduleAccruedDetailsPage = exports.fetchScheduleAccruedDetails = exports.cancelScheduleAccruedJournalEntry = exports.deleteScheduleAccruedDetail = exports.createNewSchedulesAccrued = exports.updateApAgingDetailUIState = exports.getApAgingDetailForVendor = exports.fetchApAgingDetail = exports.updateApAgingUIState = exports.getApAgingReport = exports.fetchApAging = exports.anyCardOnHold = exports.setFirstViewCompleteAfterActivation = exports.setFirstViewAfterActivation = exports.completeActivationWait = exports.startActivationWait = exports.revokeCardInvite = exports.resendCardInvite = exports.fetchChargeCardTransactionAttachments = exports.updateChargeCardTransactionIsViewReceiptClicked = exports.updateChargeCardTransactionReceiptsShowTickFetchStatus = exports.updateChargeCardTransactionUploadReceiptsFetchStatus = exports.saveCardOnboardingUserDetails = exports.updateCardUserOnboardingLocalData = exports.initializeCardUserOnboardingLocalData = exports.getCardUserOnboardingView = exports.updateChargeCardDetail = exports.updateCashbackDetailUIState = exports.updateChargeCardListUIState = exports.updateChargeCardListSearchText = exports.resetIssueChargeCardForm = exports.updateChargeCardLocalStore = exports.issueChargeCard = exports.acceptChargeCardTerms = exports.fetchChargeCardSetupView = exports.getChargeCardStatements = exports.fetchChargeCardStatementList = exports.getChargeCardSetupViewDetails = exports.toCreditLimitFrequencyCodeType = exports.getCashbackDetail = exports.toChargeCardSortKeyType = exports.fetchCashbackDetail = void 0;
50
+ exports.updateVendorFirstReviewViewScrollYOffset = exports.fetchVendorFirstReviewAttachments = exports.fetchVendorFirstReviewView = exports.getVendorFirstReviewAttachmentView = exports.getVendorFirstReviewView = exports.getGlobalMerchantAutoCompleteResults = exports.toVendorFirstReviewViewColumnKeyType = exports.fetchVendorTabView = exports.resetMarkAsCompleteStatus = exports.markAsCompleteScheduleDetail = exports.getDefaultSelectedTimeframeForScheduleType = exports.getFetchStateForScheduleListByType = exports.updatedJELinkWithRecommendedLocalData = exports.resetJELinkInLocalData = exports.updateAmountsInScheduleDetail = exports.updatedJELinkInLocalData = exports.getThirdPartyIDFromQBOURL = exports.getQBOUrlForLink = exports.updatedSelectedJELinkRowIndex = exports.updateAccruedJEScheduleAccruedByListKey = exports.updateScheduleListDownloadState = exports.updateScheduleDetailsLocalData = exports.createNewSchedules = exports.deleteScheduleDetail = exports.saveScheduleDetails = exports.fetchScheduleDetailsPage = exports.getAccruedScheduleDetailsView = exports.getScheduleDetailsView = exports.fetchScheduleDetails = exports.updateSelectedJEScheduleKey = exports.updateScheduleListSortState = exports.updateScheduleListScrollState = exports.updateScheduleListSearchText = exports.updateScheduleListSubTab = exports.toScheduleSubTabType = exports.toScheduleListTabsFileTypeStrict = exports.toScheduleTypesTypeStrict = exports.toScheduleTypesType = exports.getFetchStateForScheduleAccountList = exports.updateScheduleListLocalData = exports.fetchSchedulesAccount = exports.fetchDownloadSchedules = exports.fetchAccruedScheduleList = exports.fetchScheduleList = exports.getAccruedScheduleListReport = exports.getScheduleListReport = exports.ALL_SCHEDULES_TYPES = exports.resetAccruedDetailNewScheduleState = exports.resetSelectedJEAccruedScheduleKey = exports.updateSelectedJEAccruedScheduleKey = void 0;
51
+ exports.discardTaskUpdatesInLocalStore = exports.deleteTask = exports.TASK_LIST_GROUP_BY_CATEGORIES = exports.TASK_LIST_FILTER_CATEGORIES = exports.updateTaskFilters = exports.allTaskPriority = exports.allTaskStatus = exports.updateTaskListUIState = exports.updateTaskListSearchText = exports.archiveTask = exports.saveTaskDetail = exports.saveTaskUpdatesToLocalStore = exports.fetchTaskDetailPage = exports.getTaskDetail = exports.fetchTaskListPage = exports.getAllTasks = exports.toRecurringBillFrequencyStrict = exports.toRecurringBillFrequency = exports.updateArAgingNodeCollapseState = exports.getArAgingDetailForCustomer = exports.getArAgingReport = exports.updateArAgingDetailUIState = exports.fetchArAgingDetail = exports.updateArAgingUIState = exports.fetchArAging = exports.updateVendorGlobalReviewViewLocalData = exports.toVendorGlobalReviewColumnSortKeyType = exports.getTenantMerchantByMerchantId = exports.getVendorGlobalReviewView = exports.updateVendorGlobalReviewViewUIState = exports.updateSelectedGlobalMerchant = exports.fetchVendorGlobalReviewView = exports.rejectVendorGlobalReview = exports.approveVendorGlobalReview = exports.getGlobalMerchantView = exports.clearGlobalMerchantView = exports.updateCreateGlobalMerchantLocalData = exports.createGlobalMerchant = exports.fetchGlobalMerchantRecommendation = exports.getVendorDetailSelectorView = exports.saveVendorDetailsView = exports.updateReviewVendorDetailLocalData = exports.clearGlobalMerchantAutoCompleteResults = exports.fetchGlobalMerchantAutoCompleteView = exports.updateVendorFirstReviewSortUiState = exports.updateVendorFirstReviewViewLocalData = exports.saveVendorFirstReviewView = exports.clearRecentlySavedErroredVendorData = exports.updateVendorFirstReviewViewPageToken = exports.resetVendorFirstReviewLocalData = void 0;
52
+ exports.updateNotificationViewNotificationStatus = exports.updateNotificationViewAllNotificationsStatus = exports.fetchNotificationUnreadCountSuccess = exports.fetchNotificationUnreadCount = exports.fetchNotificationView = exports.toNotificationTabTypeStrict = exports.toNotificationSubTabTypeStrict = exports.updateCommentsNotificationsStatuses = exports.updateCommentsNotifications = exports.toNotificationModeStrict = exports.fetchZeniAccountsPromoCard = exports.getZeniAccountsPromoCard = exports.getAuthenticationView = exports.fetchCollaborationAuthToken = exports.clearAuditReportGroupViewByCompanyId = exports.saveReasonForAuditRule = exports.fetchAuditReportGroupView = exports.fetchAuditRuleGroupView = exports.getUserFromAllUsers = exports.getAuditRuleGroupViewSelectorView = exports.getAuditReportGroupViewSelectorView = exports.clearCardPaymentView = exports.resetCardPaymentErrorStatuses = exports.fetchPaymentSources = exports.addCardPaymentSource = exports.confirmCardSetupIntent = exports.createCardSetupIntent = exports.getAllCardsAndBankPaymentMethods = exports.deleteTag = exports.createTag = exports.fetchTagList = exports.getAllTags = exports.convertHHMMStrToMinutes = exports.updateTaskFromListView = exports.toDueDateGroupKeyType = exports.toTaskStatusCodeType = exports.toPriorityCodeType = exports.getDueDateValueFromDueDateGroupId = exports.initialTaskDetail = exports.fetchAllTaskGroups = exports.getTaskUpdates = exports.toTaskListGroupByKeyTypeStrict = exports.toTaskListGroupByKeyType = exports.updateTaskGroupName = exports.dragNDropTasks = exports.updateTaskListLocalData = exports.deleteTaskGroup = exports.initiateTaskListLocalData = exports.createNewTaskGroup = exports.bulkUpdateTaskList = void 0;
53
+ exports.getCompanyTaskManagerView = exports.fetchCompanyTaskManagerView = exports.getMinAllowedEndDate = exports.toRecurringFrequency = exports.getRecurringEndDateFromCount = exports.updateReferViewed = exports.getRewardsPlanCard = exports.fetchRewardsPlan = exports.resendReferralInvite = exports.updateReferralListSortUiState = exports.saveReferralFormDataInLocalStore = exports.clearReferrals = exports.sendReferralInvite = exports.fetchReferrals = exports.AmountStatusTypes = exports.StatusTypes = exports.toReferralListViewSortKeyType = exports.getInviteFormView = exports.getReferralListView = exports.getNotifications = exports.getLastNotificationTime = exports.pushToastNotification = exports.getNotificationsForSelectedSubTab = exports.getExternalNotificationsForSelectedSubTab = exports.getNotificationView = exports.updateNotificationViewUIState = exports.updateNotificationViewSubTab = exports.updateNotificationViewCurrentTabAndSubTab = exports.updateNotificationViewTabState = void 0;
54
54
  const zeniDayJS_1 = require("./zeniDayJS");
55
55
  Object.defineProperty(exports, "Dayjs", { enumerable: true, get: function () { return zeniDayJS_1.Dayjs; } });
56
56
  Object.defineProperty(exports, "updateZeniDateLocaleID", { enumerable: true, get: function () { return zeniDayJS_1.updateZeniDateLocaleID; } });
@@ -1327,7 +1327,6 @@ Object.defineProperty(exports, "updateCashbackDetailUIState", { enumerable: true
1327
1327
  Object.defineProperty(exports, "fetchCashbackDetail", { enumerable: true, get: function () { return cashbackDetailReducer_1.fetchCashbackDetail; } });
1328
1328
  const chargeCardListReducer_1 = require("./view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer");
1329
1329
  Object.defineProperty(exports, "fetchChargeCardListPage", { enumerable: true, get: function () { return chargeCardListReducer_1.fetchChargeCardListPage; } });
1330
- Object.defineProperty(exports, "fetchChargeCardList", { enumerable: true, get: function () { return chargeCardListReducer_1.fetchChargeCardList; } });
1331
1330
  Object.defineProperty(exports, "fetchCreditAccount", { enumerable: true, get: function () { return chargeCardListReducer_1.fetchCreditAccount; } });
1332
1331
  Object.defineProperty(exports, "issueChargeCard", { enumerable: true, get: function () { return chargeCardListReducer_1.issueChargeCard; } });
1333
1332
  Object.defineProperty(exports, "resetIssueChargeCardForm", { enumerable: true, get: function () { return chargeCardListReducer_1.resetIssueChargeCardForm; } });
@@ -1630,11 +1629,3 @@ const companyTaskManagerViewReducer_1 = require("./view/companyTaskManagerView/c
1630
1629
  Object.defineProperty(exports, "fetchCompanyTaskManagerView", { enumerable: true, get: function () { return companyTaskManagerViewReducer_1.fetchCompanyTaskManagerView; } });
1631
1630
  const companyTaskManagerViewSelector_1 = require("./view/companyTaskManagerView/companyTaskManagerViewSelector");
1632
1631
  Object.defineProperty(exports, "getCompanyTaskManagerView", { enumerable: true, get: function () { return companyTaskManagerViewSelector_1.getCompanyTaskManagerView; } });
1633
- const countryListReducer_1 = require("./view/countryList/countryListReducer");
1634
- Object.defineProperty(exports, "fetchCountryList", { enumerable: true, get: function () { return countryListReducer_1.fetchCountryList; } });
1635
- const internationalWireVerificationSelector_1 = require("./view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationSelector");
1636
- Object.defineProperty(exports, "getIntlWireVerificationView", { enumerable: true, get: function () { return internationalWireVerificationSelector_1.getIntlWireVerificationView; } });
1637
- const internationalWireVerificationReducer_1 = require("./view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationReducer");
1638
- Object.defineProperty(exports, "fetchInternationalVerificationForm", { enumerable: true, get: function () { return internationalWireVerificationReducer_1.fetchInternationalVerificationForm; } });
1639
- Object.defineProperty(exports, "submitInternationalVerificationForm", { enumerable: true, get: function () { return internationalWireVerificationReducer_1.submitInternationalVerificationForm; } });
1640
- Object.defineProperty(exports, "updateVerificationFormLocalData", { enumerable: true, get: function () { return internationalWireVerificationReducer_1.updateVerificationFormLocalData; } });
package/lib/reducer.d.ts CHANGED
@@ -49,7 +49,6 @@ import { CompanyViewState } from './view/companyView/companyViewState';
49
49
  import { AccountingSummaryState } from './entity/portfolio/accountingSummary/accountingSummaryState';
50
50
  import { AddressViewState } from './view/addressView/addressViewState';
51
51
  import { AccountListState } from './view/accountList/accountListState';
52
- import { CountryListState } from './view/countryList/countryListState';
53
52
  import { MerchantListState } from './view/spendManagement/merchantList/merchantListState';
54
53
  import { ClassListState } from './view/classList/classListState';
55
54
  import { ClassState } from './entity/class/classState';
@@ -176,7 +175,6 @@ import { BillsBulkActionViewState } from './view/spendManagement/billPay/billsBu
176
175
  import { RemisBulkActionViewState } from './view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewState';
177
176
  import { VendorFiling1099ListState } from './view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListState';
178
177
  import { VendorFiling1099UploadDetailsState } from './view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsState';
179
- import { InternationalWireVerificationState } from './view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationState';
180
178
  declare type EntitiesState = {
181
179
  accountGroupState: AccountGroupState;
182
180
  accountingSummaryState: AccountingSummaryState;
@@ -276,7 +274,6 @@ declare type ViewsState = {
276
274
  companyMonthEndReportViewState: CompanyMonthEndReportViewState;
277
275
  companyTaskManagerViewState: CompanyTaskManagerViewState;
278
276
  companyViewState: CompanyViewState;
279
- countryListState: CountryListState;
280
277
  dashboardState: DashboardState;
281
278
  depositAccountListState: DepositAccountListState;
282
279
  depositAccountTransactionListState: DepositAccountTransactionListState;
@@ -291,7 +288,6 @@ declare type ViewsState = {
291
288
  globalMerchantViewState: GlobalMerchantViewState;
292
289
  insightsCardState: InsightsCardState;
293
290
  internationalWireState: InternationalWireState;
294
- internationalWireVerificationState: InternationalWireVerificationState;
295
291
  magicLinkViewState: MagicLinkViewState;
296
292
  merchantListState: MerchantListState;
297
293
  netBurnOrIncomeClassesViewState: NetBurnOrIncomeClassesViewState;
@@ -403,7 +399,6 @@ declare const reducers: import("redux").Reducer<import("redux").CombinedState<{
403
399
  companyMonthEndReportViewState: CompanyMonthEndReportViewState;
404
400
  companyTaskManagerViewState: CompanyTaskManagerViewState;
405
401
  companyViewState: CompanyViewState;
406
- countryListState: CountryListState;
407
402
  dashboardState: DashboardState;
408
403
  depositAccountListState: DepositAccountListState;
409
404
  depositAccountTransactionListState: DepositAccountTransactionListState;
@@ -418,7 +413,6 @@ declare const reducers: import("redux").Reducer<import("redux").CombinedState<{
418
413
  globalMerchantViewState: GlobalMerchantViewState;
419
414
  insightsCardState: InsightsCardState;
420
415
  internationalWireState: InternationalWireState;
421
- internationalWireVerificationState: InternationalWireVerificationState;
422
416
  magicLinkViewState: MagicLinkViewState;
423
417
  merchantListState: MerchantListState;
424
418
  netBurnOrIncomeClassesViewState: NetBurnOrIncomeClassesViewState;
package/lib/reducer.js CHANGED
@@ -79,7 +79,6 @@ const companyViewReducer_1 = __importStar(require("./view/companyView/companyVie
79
79
  const accountingSummaryReducer_1 = __importStar(require("./entity/portfolio/accountingSummary/accountingSummaryReducer"));
80
80
  const addressViewReducer_1 = __importStar(require("./view/addressView/addressViewReducer"));
81
81
  const accountListReducer_1 = __importStar(require("./view/accountList/accountListReducer"));
82
- const countryListReducer_1 = __importStar(require("./view/countryList/countryListReducer"));
83
82
  const merchantListReducer_1 = __importStar(require("./view/spendManagement/merchantList/merchantListReducer"));
84
83
  const classListReducer_1 = __importStar(require("./view/classList/classListReducer"));
85
84
  const classReducer_1 = __importStar(require("./entity/class/classReducer"));
@@ -207,7 +206,6 @@ const billsBulkActionViewReducer_1 = __importStar(require("./view/spendManagemen
207
206
  const remisBulkActionViewReducer_1 = __importStar(require("./view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewReducer"));
208
207
  const vendorFiling1099ListReducer_1 = __importStar(require("./view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListReducer"));
209
208
  const vendorFiling1099UploadDetailsReducer_1 = __importStar(require("./view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsReducer"));
210
- const internationalWireVerificationReducer_1 = __importStar(require("./view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationReducer"));
211
209
  // Note: Please maintain strict alphabetical order
212
210
  const initialEntitiesState = {
213
211
  accountGroupState: accountGroupReducer_1.initialState,
@@ -309,7 +307,6 @@ const initialViewsState = {
309
307
  companyMonthEndReportViewState: companyMonthEndReportViewReducer_1.initialState,
310
308
  companyTaskManagerViewState: companyTaskManagerViewReducer_1.initialState,
311
309
  companyViewState: companyViewReducer_1.initialState,
312
- countryListState: countryListReducer_1.initialState,
313
310
  dashboardState: dashboardReducer_1.initialState,
314
311
  depositAccountListState: depositAccountListReducer_1.initialState,
315
312
  depositAccountTransactionListState: depositAccountTransactionListReducer_1.initialState,
@@ -324,7 +321,6 @@ const initialViewsState = {
324
321
  globalMerchantViewState: globalMerchantViewReducer_1.initialState,
325
322
  insightsCardState: insightsCardReducer_1.initialState,
326
323
  internationalWireState: internationalWireReducer_1.initialState,
327
- internationalWireVerificationState: internationalWireVerificationReducer_1.initialState,
328
324
  magicLinkViewState: magicLinkViewReducer_1.initialState,
329
325
  merchantListState: merchantListReducer_1.initialState,
330
326
  netBurnOrIncomeClassesViewState: netBurnOrIncomeClassesViewReducer_1.initialState,
@@ -496,7 +492,6 @@ const viewReducers = {
496
492
  companyMonthEndReportViewState: companyMonthEndReportViewReducer_1.default,
497
493
  companyTaskManagerViewState: companyTaskManagerViewReducer_1.default,
498
494
  companyViewState: companyViewReducer_1.default,
499
- countryListState: countryListReducer_1.default,
500
495
  dashboardState: dashboardReducer_1.default,
501
496
  depositAccountListState: depositAccountListReducer_1.default,
502
497
  depositAccountTransactionListState: depositAccountTransactionListReducer_1.default,
@@ -511,7 +506,6 @@ const viewReducers = {
511
506
  globalMerchantViewState: globalMerchantViewReducer_1.default,
512
507
  insightsCardState: insightsCardReducer_1.default,
513
508
  internationalWireState: internationalWireReducer_1.default,
514
- internationalWireVerificationState: internationalWireVerificationReducer_1.default,
515
509
  magicLinkViewState: magicLinkViewReducer_1.default,
516
510
  merchantListState: merchantListReducer_1.default,
517
511
  netBurnOrIncomeClassesViewState: netBurnOrIncomeClassesViewReducer_1.default,
@@ -53,12 +53,7 @@
53
53
  "primary_funding_account": {
54
54
  "account_id": null,
55
55
  "account_type": null
56
- },
57
- "international_wire_onboarding_status": {
58
- "code": "verified",
59
- "name": "Verified"
60
- },
61
- "international_wire_onboarding_details": {}
56
+ }
62
57
  },
63
58
  "reimbursement_info": {
64
59
  "is_reimbursement_enabled": true,
@@ -163,7 +158,6 @@
163
158
  "company_monthly_expenses_max": 100000,
164
159
  "phone": "+1 (732) 497-2351",
165
160
  "company_address_id": "a_8a1498b2-ab42-4c46-bda1-3bd946ec3cc3",
166
- "registered_address_id": "a_8a1498b2-ab42-4c46-bda1-3bd946ec3cc3",
167
161
  "company_group": {
168
162
  "id": "z4",
169
163
  "name": null
@@ -135,12 +135,7 @@
135
135
  "primary_funding_account": {
136
136
  "account_id": null,
137
137
  "account_type": null
138
- },
139
- "international_wire_onboarding_status": {
140
- "code": "verified",
141
- "name": "Verified"
142
- },
143
- "international_wire_onboarding_details": {}
138
+ }
144
139
  },
145
140
  "reimbursement_info": {
146
141
  "is_reimbursement_enabled": true,
@@ -245,7 +240,6 @@
245
240
  "company_monthly_expenses_max": 100000,
246
241
  "phone": "+1 (732) 497-2351",
247
242
  "company_address_id": "a_8a1498b2-ab42-4c46-bda1-3bd946ec3cc3",
248
- "registered_address_id": "a_8a1498b2-ab42-4c46-bda1-3bd946ec3cc3",
249
243
  "company_group": {
250
244
  "id": "z4",
251
245
  "name": null
@@ -2,7 +2,7 @@ import { FetchStateAndError, ID } from '../../commonStateTypes/common';
2
2
  import { Address } from '../../entity/address/addressState';
3
3
  import { OfficerType } from '../companyView/types/companyPassport/companyUsersLocalData';
4
4
  export declare type AddressUpdatableInfo = Omit<Address, 'updateTime' | 'createTime' | 'addressId'>;
5
- export declare type AddressType = 'company_address' | 'company_registered_address' | `officer_${OfficerType}_address` | 'vendor_address' | 'user_address';
5
+ export declare type AddressType = 'company_address' | `officer_${OfficerType}_address` | 'vendor_address' | 'user_address';
6
6
  export interface NewAddressData {
7
7
  addressType: AddressType;
8
8
  parentEntityId?: {
@@ -20,11 +20,6 @@ function toAddressViewLocalData(companyView) {
20
20
  company_address: getAddressUpdatableInfoFromAddress(companyView.companyAddress),
21
21
  });
22
22
  }
23
- if (companyView.registeredAddress != null) {
24
- newAddresses = Object.assign({}, newAddresses, {
25
- company_registered_address: getAddressUpdatableInfoFromAddress(companyView.registeredAddress),
26
- });
27
- }
28
23
  companyView.companyOfficers
29
24
  .slice(0, companyUsersLocalData_1.ALL_OFFICERS.length)
30
25
  .sort((a, b) => { var _a; return ((_a = a.user.createTime) === null || _a === void 0 ? void 0 : _a.isAfter(b.user.createTime)) === true ? 1 : -1; })
@@ -9,6 +9,7 @@ import { ClassBase } from '../../../entity/class/classState';
9
9
  import { BankAccount } from '../../../entity/bankAccount/bankAccount';
10
10
  import { Contact } from '../../../entity/billPay/contact/contact';
11
11
  import { Address } from '../../../entity/address/addressState';
12
+ import { Country } from '../../spendManagement/billPay/billPayConfig/billPayConfigState';
12
13
  import { NewAddressData } from '../../addressView/addressViewState';
13
14
  import { BankAccountSelectorView } from '../../bankAccountView/bankAccountViewSelector';
14
15
  import { TrendWithTransactionsView } from '../../trendWithTransactions/trendWithTransactionsSelector';
@@ -20,7 +21,6 @@ import { VendorType } from '../../vendorTypeList/vendorTypeListPayload';
20
21
  import { NestedAccountHierarchyForReport } from '../../../commonStateTypes/accountView/nestedAccountID';
21
22
  import { NestedClassHierarchyForReport } from '../../../commonStateTypes/classesView/nestedClassID';
22
23
  import { PaymentInstrument } from '../../../entity/paymentInstrument/paymentInstrument';
23
- import { Country } from '../../countryList/countryListState';
24
24
  export interface VendorDetails {
25
25
  vendorBasic: VendorBasic | undefined;
26
26
  bankAccountsUpdated: BankAccount[];
@@ -25,7 +25,12 @@ const updateCompanyPassportLocalStoreDataEpic = (actions$, state$) => actions$.p
25
25
  const companyFiles = (0, fileSelector_1.getFilesByFileIds)(fileState, fileIds);
26
26
  const companyLocalData = (0, companyPassportLocalData_1.toCompanyPassportLocalData)(companyView, companyFiles);
27
27
  fetchActions.push((0, companyViewReducer_1.companyPassportClearDataInLocalStore)(), (0, companyViewReducer_1.companyPassportSaveDataInLocalStore)(companyLocalData));
28
- fetchActions.push((0, addressViewReducer_1.resetNewAddressDataInLocalStoreForAddressTypes)(companyUsersLocalData_1.AllCompanyPassportAddressTypes));
28
+ const officerAddressTypes = companyUsersLocalData_1.ALL_OFFICERS.map((all) => `officer_${all}_address`);
29
+ const companyPassportAddressTypes = [
30
+ 'company_address',
31
+ ...officerAddressTypes,
32
+ ];
33
+ fetchActions.push((0, addressViewReducer_1.resetNewAddressDataInLocalStoreForAddressTypes)(companyPassportAddressTypes));
29
34
  const addresses = (0, toAddressViewLocalData_1.toAddressViewLocalData)(companyView);
30
35
  if (addresses != null) {
31
36
  Object.keys(addresses).forEach((addressType) => {
@@ -60,9 +60,6 @@ function getCompanyView(state, companyId, subscriptionIdsOfCompany, mergePending
60
60
  const companyAddress = updatedManagegmentInfo.companyAddressId != null
61
61
  ? (0, addressSelector_1.getAddressByAddressId)(state.addressState, updatedManagegmentInfo.companyAddressId)
62
62
  : undefined;
63
- const registeredAddress = updatedManagegmentInfo.registeredAddressId != null
64
- ? (0, addressSelector_1.getAddressByAddressId)(state.addressState, updatedManagegmentInfo.registeredAddressId)
65
- : undefined;
66
63
  const primaryContact = updatedManagegmentInfo.primaryContactUserId != null
67
64
  ? (0, userAndRole_1.getUserAndUserRole)(state.userState, state.userRoleState, state.addressState, updatedManagegmentInfo.primaryContactUserId)
68
65
  : undefined;
@@ -173,7 +170,6 @@ function getCompanyView(state, companyId, subscriptionIdsOfCompany, mergePending
173
170
  return {
174
171
  company,
175
172
  companyAddress,
176
- registeredAddress,
177
173
  primaryContact,
178
174
  companyOfficers,
179
175
  companyContact,
@@ -1,5 +1,4 @@
1
1
  import { ID } from '../../../../commonStateTypes/common';
2
- import { AddressType } from '../../../addressView/addressViewState';
3
2
  export interface PrimaryContactLocalData {
4
3
  userId: ID | undefined;
5
4
  firstName: string;
@@ -10,7 +9,6 @@ export declare const ALL_OFFICERS: readonly [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
10
9
  declare const toOfficerType: (n: number) => 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
11
10
  export declare type OfficerType = ReturnType<typeof toOfficerType>;
12
11
  export declare type CompanyOfficerType = `Officer_${OfficerType}`;
13
- export declare const AllCompanyPassportAddressTypes: AddressType[];
14
12
  export interface CompanyOfficerLocalData {
15
13
  officerType: CompanyOfficerType;
16
14
  userId: ID | undefined;
@@ -1,12 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AllCompanyPassportAddressTypes = exports.ALL_OFFICERS = void 0;
3
+ exports.ALL_OFFICERS = void 0;
4
4
  const numberToUnion_1 = require("../../../../commonStateTypes/numberToUnion");
5
5
  exports.ALL_OFFICERS = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
6
6
  const toOfficerType = (n) => (0, numberToUnion_1.numberToUnion)(n, exports.ALL_OFFICERS);
7
- const officerAddressTypes = exports.ALL_OFFICERS.map((all) => `officer_${all}_address`);
8
- exports.AllCompanyPassportAddressTypes = [
9
- 'company_address',
10
- 'company_registered_address',
11
- ...officerAddressTypes,
12
- ];
@@ -12,7 +12,6 @@ export interface PrimarySubscription {
12
12
  export interface CompanyView {
13
13
  company: CompanyWithSchema;
14
14
  companyAddress?: Address;
15
- registeredAddress?: Address;
16
15
  primaryContact?: UserAndRole;
17
16
  companyOfficers: UserAndRole[];
18
17
  companyContact?: UserAndRole;
@@ -2,17 +2,10 @@ import { ActionsObservable, StateObservable } from 'redux-observable';
2
2
  import { RootState } from '../../../../../reducer';
3
3
  import { fetchOnboardingCustomerSetupView } from '../../onboardingCustomerViewReducer';
4
4
  import { fetchCompanyConfig } from '../../../../companyConfigView/companyConfigReducer';
5
- import { fetchCountryList } from '../../../../countryList/countryListReducer';
6
- export declare type ActionType = ReturnType<typeof fetchOnboardingCustomerSetupView> | ReturnType<typeof fetchCountryList> | ReturnType<typeof fetchCompanyConfig>;
5
+ export declare type ActionType = ReturnType<typeof fetchOnboardingCustomerSetupView> | ReturnType<typeof fetchCompanyConfig>;
7
6
  export declare const fetchOnboardingCustomerViewEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>) => import("rxjs").Observable<{
8
7
  payload: undefined;
9
8
  type: string;
10
- } | {
11
- payload: {
12
- countryListKey: "nationalityCountryList";
13
- cacheOverride: any;
14
- };
15
- type: string;
16
9
  } | {
17
10
  payload: {
18
11
  companyId: string;
@@ -5,16 +5,14 @@ const rxjs_1 = require("rxjs");
5
5
  const operators_1 = require("rxjs/operators");
6
6
  const onboardingCustomerViewReducer_1 = require("../../onboardingCustomerViewReducer");
7
7
  const companyConfigReducer_1 = require("../../../../companyConfigView/companyConfigReducer");
8
- const countryListReducer_1 = require("../../../../countryList/countryListReducer");
9
8
  const fetchOnboardingCustomerViewEpic = (actions$, state$) => actions$.pipe((0, operators_1.filter)(onboardingCustomerViewReducer_1.fetchOnboardingCustomerView.match), (0, operators_1.switchMap)((action) => {
10
9
  const { companyId, cacheOverride, reCalculateCurrentStep } = action.payload;
11
10
  if (cacheOverride === true) {
12
- return (0, rxjs_1.of)((0, countryListReducer_1.fetchCountryList)('nationalityCountryList', true), (0, onboardingCustomerViewReducer_1.fetchOnboardingCustomerSetupView)(companyId, cacheOverride, reCalculateCurrentStep), (0, companyConfigReducer_1.fetchCompanyConfig)());
11
+ return (0, rxjs_1.of)((0, onboardingCustomerViewReducer_1.fetchOnboardingCustomerSetupView)(companyId, cacheOverride, reCalculateCurrentStep), (0, companyConfigReducer_1.fetchCompanyConfig)());
13
12
  }
14
13
  else {
15
14
  const state = state$.value;
16
15
  const fetchActions = [];
17
- fetchActions.push((0, countryListReducer_1.fetchCountryList)('nationalityCountryList'));
18
16
  if (state.onboardingCustomerViewState.fetchState !== 'In-Progress' &&
19
17
  !state.onboardingCustomerViewState.hasValidState()) {
20
18
  fetchActions.push((0, onboardingCustomerViewReducer_1.fetchOnboardingCustomerSetupView)(companyId, cacheOverride, reCalculateCurrentStep));
@@ -16,7 +16,7 @@ const getCompanyView_1 = require("../../../../companyView/selectorHelpers/getCom
16
16
  const onboardingCustomerViewReducer_1 = require("../../onboardingCustomerViewReducer");
17
17
  const updateBusinessVerificationDetailsEpic_1 = require("../../../../spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic");
18
18
  const updateOnboardingCustomerViewEpic = (actions$, state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(onboardingCustomerViewReducer_1.updateOnboardingCustomerView.match), (0, operators_1.mergeMap)((action) => {
19
- var _a, _b, _c, _d;
19
+ var _a, _b, _c;
20
20
  const { companyId, officerType, sendForVerification, reCalculateCurrentStep = false, } = action.payload;
21
21
  const { onboardingCustomerViewState } = state$.value;
22
22
  const { companyDetails, primaryContactDetails, companyOfficerUpdateStatus, currentStep, } = onboardingCustomerViewState;
@@ -27,15 +27,14 @@ const updateOnboardingCustomerViewEpic = (actions$, state$, zeniAPI) => actions$
27
27
  const companyView = (0, getCompanyView_1.getCompanyView)(state$.value, companyId, []);
28
28
  const { newAddressState } = state$.value.addressViewState;
29
29
  const companyAddressToCreate = (_a = newAddressState === null || newAddressState === void 0 ? void 0 : newAddressState.company_address) === null || _a === void 0 ? void 0 : _a.addressToCreate;
30
- const registeredAddressToCreate = (_b = newAddressState === null || newAddressState === void 0 ? void 0 : newAddressState.company_registered_address) === null || _b === void 0 ? void 0 : _b.addressToCreate;
31
30
  const addressType = officerType
32
31
  .toLowerCase()
33
32
  .concat('_address');
34
- const companyOfficerAddressToCreate = (_c = newAddressState === null || newAddressState === void 0 ? void 0 : newAddressState[addressType]) === null || _c === void 0 ? void 0 : _c.addressToCreate;
33
+ const companyOfficerAddressToCreate = (_b = newAddressState === null || newAddressState === void 0 ? void 0 : newAddressState[addressType]) === null || _b === void 0 ? void 0 : _b.addressToCreate;
35
34
  const isNewPrimaryContactUser = (primaryContactLocalData === null || primaryContactLocalData === void 0 ? void 0 : primaryContactLocalData.userId) == null ||
36
35
  (primaryContactLocalData === null || primaryContactLocalData === void 0 ? void 0 : primaryContactLocalData.email) !==
37
- ((_d = companyView === null || companyView === void 0 ? void 0 : companyView.primaryContact) === null || _d === void 0 ? void 0 : _d.user.email);
38
- const company = (0, updateBusinessVerificationDetailsEpic_1.toBusinessVerificationCompanyDataPayload)(companyLocalData, sendForVerification, companyAddressToCreate, registeredAddressToCreate);
36
+ ((_c = companyView === null || companyView === void 0 ? void 0 : companyView.primaryContact) === null || _c === void 0 ? void 0 : _c.user.email);
37
+ const company = (0, updateBusinessVerificationDetailsEpic_1.toBusinessVerificationCompanyDataPayload)(companyLocalData, sendForVerification, companyAddressToCreate);
39
38
  const primary_contact_user = primaryContactLocalData != null &&
40
39
  Boolean(primaryContactLocalData.email) === true // Don't save Empty Primary Contact details
41
40
  ? (0, updateBusinessVerificationDetailsEpic_1.toBusinessVerificationPrimaryContactDataPayload)(primaryContactLocalData, isNewPrimaryContactUser)
@@ -14,7 +14,6 @@ import { TenantExternalConnections, TenantProductSettings } from '../../../entit
14
14
  import { AccountingConnectionCreationMode } from '../../../entity/company/companyStateTypes';
15
15
  import { FileState } from '../../../entity/file/fileState';
16
16
  import { PlaidConnectionDetails } from '../../spendManagement/plaidAccount/plaidAccountViewState';
17
- import { Country } from '../../countryList/countryListState';
18
17
  export interface OnboardingCustomerView {
19
18
  companyDetailsLocalData?: CompanyDetails;
20
19
  companyOfficerLocalData: Record<CompanyOfficerType, CompanyOfficersDetails | undefined>;
@@ -35,7 +34,6 @@ export interface OnboardingCustomerView {
35
34
  allStepsCompleted: boolean;
36
35
  allSteps: OnboardingStep[];
37
36
  companyIndustries: AllowedValueWithCode[];
38
- allNationalityCountries: Country[];
39
37
  updateStatus: FetchStateAndError;
40
38
  fetchStatus: FetchStateAndError;
41
39
  saveStatus: FetchStateAndError;
@@ -14,7 +14,7 @@ const userRoleSelector_1 = require("../../../entity/userRole/userRoleSelector");
14
14
  const fileSelector_1 = require("../../../entity/file/fileSelector");
15
15
  function getOnboardingCustomerView(state, companyId) {
16
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
17
- const { fileState, paymentAccountState, onboardingCustomerViewState, userState, userRoleState, subscriptionPaymentAccountState, companyConfigState, cardPaymentViewState, countryListState, } = state;
17
+ const { fileState, paymentAccountState, onboardingCustomerViewState, userState, userRoleState, subscriptionPaymentAccountState, companyConfigState, cardPaymentViewState, } = state;
18
18
  const { companyDetails, companyOfficerUpdateStatus, primaryContactDetails, subscriptionPaymentAccountIds, paymentAccountDetails, plaidConnectionDetails, updateStatus, saveStatus, currentStep, uiState, fetchState, error, } = onboardingCustomerViewState;
19
19
  const { paymentAccountIds } = paymentAccountDetails;
20
20
  let subscriptionPaymentAccount;
@@ -94,12 +94,10 @@ function getOnboardingCustomerView(state, companyId) {
94
94
  { fetchState: configFetchState, error: configError },
95
95
  { fetchState, error },
96
96
  ]);
97
- const allNationalityCountries = countryListState.byCountryListCode.nationalityCountryList.countries;
98
97
  return {
99
98
  companyDetailsLocalData,
100
99
  companyOfficerLocalData,
101
100
  companyView,
102
- allNationalityCountries,
103
101
  pendingSaveDetails: {
104
102
  companyDetails: isCompanyDetailsSavePending(fileState, companyView, primaryContact, companyDetailsLocalData),
105
103
  officer: isOfficerDetailsSavePending(companyOfficers, companyOfficerRoles, fileState, companyOfficerLocalData[selectedOfficerType]),
@@ -246,8 +244,8 @@ function isOfficerDetailsSavePending(companyOfficers, companyOfficerRoles, fileS
246
244
  if (selectedOfficerIndex < 0) {
247
245
  selectedOfficerIndex = 0;
248
246
  }
249
- const { userId, firstName, lastName, birthday, email, phone: userPhone, ssn, nationalityCountryCode, } = companyOfficers[selectedOfficerIndex];
250
- const { firstName: firstNameLocalData, lastName: lastNameLocalData, birthday: birthdayLocalData, email: emailLocalData, phone, ssn: ssnLocalData, nationalityCountryCode: nccLocalData, fileIds: officerFileIds, documentTypeSelectedForVerification, ownershipInCompany, titleAtCompany, } = officerDetails;
247
+ const { userId, firstName, lastName, birthday, email, phone: userPhone, ssn, } = companyOfficers[selectedOfficerIndex];
248
+ const { firstName: firstNameLocalData, lastName: lastNameLocalData, birthday: birthdayLocalData, email: emailLocalData, phone, ssn: ssnLocalData, fileIds: officerFileIds, documentTypeSelectedForVerification, ownershipInCompany, titleAtCompany, } = officerDetails;
251
249
  const fileIdsLocalData = (0, fileSelector_1.getFilesByFileIds)(fileState, officerFileIds).map((file) => file.fileId);
252
250
  const userRole = companyOfficerRoles.find((userRole) => userRole.userId === userId);
253
251
  const fileIds = (0, fileSelector_1.getFilesByFileIds)(fileState, (_a = userRole === null || userRole === void 0 ? void 0 : userRole.fileIds) !== null && _a !== void 0 ? _a : []).map((file) => file.fileId);
@@ -257,7 +255,6 @@ function isOfficerDetailsSavePending(companyOfficers, companyOfficerRoles, fileS
257
255
  email != emailLocalData ||
258
256
  userPhone != phone ||
259
257
  ssn != ssnLocalData ||
260
- nationalityCountryCode != nccLocalData ||
261
258
  (userRole === null || userRole === void 0 ? void 0 : userRole.documentTypeSelectedForVerification) !=
262
259
  documentTypeSelectedForVerification ||
263
260
  (userRole === null || userRole === void 0 ? void 0 : userRole.titleAtCompany) != titleAtCompany ||
@@ -7,7 +7,7 @@ export declare const getScheduleListKey: (selectedCategory: ID, selectedTimefram
7
7
  export declare type ScheduleListKey = ReturnType<typeof getScheduleListKey>;
8
8
  export declare const toScheduleSubTabType: (v: string) => "all" | "new" | "completed" | "ongoing";
9
9
  export declare type ScheduleSubTabType = ReturnType<typeof toScheduleSubTabType>;
10
- declare const toScheduleSortKeyType: (v: string) => "status" | "user" | "months" | "amount" | "vendor" | "class" | "createTime" | "balanceAsOfToday" | "memo" | "transactionDate" | "transactionType" | "accruedExpenseCategory" | "scheduleCategory" | "expenseCategory" | "accumulatedDepreciationCategory" | "startMonth" | "endMonth" | "assetId";
10
+ declare const toScheduleSortKeyType: (v: string) => "status" | "user" | "months" | "amount" | "vendor" | "class" | "balanceAsOfToday" | "createTime" | "memo" | "transactionDate" | "transactionType" | "accruedExpenseCategory" | "scheduleCategory" | "expenseCategory" | "accumulatedDepreciationCategory" | "startMonth" | "endMonth" | "assetId";
11
11
  export declare type ScheduleListSortKey = ReturnType<typeof toScheduleSortKeyType>;
12
12
  export interface DownloadJEScheduleTabOptions {
13
13
  timezone: string;
@@ -2,7 +2,6 @@ import { Amount, Currency } from '../../../../commonStateTypes/amount';
2
2
  import { FetchedState, ID } from '../../../../commonStateTypes/common';
3
3
  import { AccountBase } from '../../../../entity/account/accountState';
4
4
  import { ClassBase } from '../../../../entity/class/classState';
5
- import { Country } from '../../../countryList/countryListState';
6
5
  export declare const getBillPayConfigKey: (method: string, subMethod: string) => string;
7
6
  declare type BillPayConfigKey = ReturnType<typeof getBillPayConfigKey>;
8
7
  export declare const getBillPayConfigMethodKey: (method: BillPaymentConfigCodeType, subMethod: BillPaymentSubConfigCodeKeyType, accType?: "depositAccount" | "paymentAccount" | undefined, internationalMethod?: "usdToLocalCurrency" | "usdToUsd" | undefined, internationalSubMethod?: "swiftOur" | "swiftSha" | undefined) => string;
@@ -28,6 +27,10 @@ export interface VendorCurrency extends Currency {
28
27
  currencyName: string;
29
28
  countryCode: string;
30
29
  }
30
+ export interface Country {
31
+ countryCode: string;
32
+ countryName: string;
33
+ }
31
34
  export interface BillPayConfig {
32
35
  minPeriod: ConfigPeriod;
33
36
  maxPeriod: ConfigPeriod;
@@ -26,7 +26,6 @@ import { AccountBase, RecommendedAccountBase } from '../../../../entity/account/
26
26
  import { ClassBase, RecommendedClassBase } from '../../../../entity/class/classState';
27
27
  import { RecurringBillState } from '../../../../entity/billPay/recurringBills/recurringBillsState';
28
28
  import { FundingAccount } from '../../commonSetup/setupViewSelector';
29
- import { AllowedValueWithCode } from '../../../../commonStateTypes/allowedValue';
30
29
  export declare type PaymentToOption = {
31
30
  id: ID;
32
31
  type: PaymentModeType;
@@ -108,7 +107,6 @@ export interface EditBillDetailSelectorView extends SelectorView {
108
107
  recurringConfig?: RecurringBillConfigLocalData;
109
108
  recurringBillInstances?: RecurringBillInstance[];
110
109
  isBillMarkedForRetry?: boolean;
111
- internationalWireOnboardingStatus?: AllowedValueWithCode;
112
110
  }
113
111
  export interface EditBillInitialDetails {
114
112
  vendor?: Vendor;