@zeniai/client-epic-state 4.12.96 → 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 (92) 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/fileType.d.ts +2 -2
  5. package/lib/commonStateTypes/fileType.js +1 -1
  6. package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSectionWithAcOnly.d.ts +0 -0
  7. package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSectionWithAcOnly.js +1 -0
  8. package/lib/entity/company/companyPayload.d.ts +0 -4
  9. package/lib/entity/company/companyPayload.js +3 -8
  10. package/lib/entity/company/companyReducer.d.ts +1 -4
  11. package/lib/entity/company/companyReducer.js +2 -6
  12. package/lib/entity/company/companyStateTypes.d.ts +0 -4
  13. package/lib/entity/file/fileState.d.ts +3 -3
  14. package/lib/entity/file/fileState.js +0 -2
  15. package/lib/entity/tenant/clearAllEpic.d.ts +1 -3
  16. package/lib/entity/tenant/clearAllEpic.js +0 -4
  17. package/lib/entity/user/userPayload.d.ts +0 -1
  18. package/lib/entity/user/userReducer.js +8 -9
  19. package/lib/entity/user/userState.d.ts +0 -1
  20. package/lib/epic.d.ts +1 -7
  21. package/lib/epic.js +1 -7
  22. package/lib/index.d.ts +8 -16
  23. package/lib/index.js +8 -20
  24. package/lib/reducer.d.ts +0 -6
  25. package/lib/reducer.js +0 -6
  26. package/lib/view/addressView/__mocks__/json/createCompanyAddressSuccess.json +1 -7
  27. package/lib/view/addressView/__mocks__/json/createCompanyUserAddressSuccess.json +1 -7
  28. package/lib/view/addressView/addressViewState.d.ts +1 -1
  29. package/lib/view/addressView/toAddressViewLocalData.js +0 -5
  30. package/lib/view/commonVendorView/vendorView/vendorViewSelector.d.ts +1 -1
  31. package/lib/view/companyView/epic/companyPassport/updateCompanyPassportLocalStoreDataEpic.js +6 -1
  32. package/lib/view/companyView/selectorHelpers/getCompanyView.js +0 -4
  33. package/lib/view/companyView/types/companyPassport/companyUsersLocalData.d.ts +0 -2
  34. package/lib/view/companyView/types/companyPassport/companyUsersLocalData.js +1 -7
  35. package/lib/view/companyView/types/companyView.d.ts +0 -1
  36. package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerViewEpic.d.ts +1 -8
  37. package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerViewEpic.js +1 -3
  38. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewEpic.js +4 -5
  39. package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.d.ts +0 -2
  40. package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.js +3 -6
  41. package/lib/view/scheduleView/scheduleListView/scheduleListTypes.d.ts +1 -1
  42. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigState.d.ts +4 -1
  43. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.d.ts +0 -2
  44. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.js +0 -3
  45. package/lib/view/spendManagement/billPay/internationalWire/internationalWireSelector.d.ts +1 -2
  46. package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.d.ts +1 -1
  47. package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.js +6 -31
  48. package/lib/view/spendManagement/commonSetup/epic/setup/updateSetupViewLocalStoreDataEpic.d.ts +2 -2
  49. package/lib/view/spendManagement/commonSetup/epic/setup/updateSetupViewLocalStoreDataEpic.js +2 -5
  50. package/lib/view/spendManagement/commonSetup/setupViewSelector.d.ts +1 -4
  51. package/lib/view/spendManagement/commonSetup/setupViewSelector.js +2 -6
  52. package/lib/view/spendManagement/commonSetup/setupViewState.d.ts +0 -1
  53. package/lib/view/spendManagement/commonSetup/types/businessVerification.d.ts +0 -4
  54. package/lib/view/vendorFiling1099/__mock__/vendorFiling1099ListMock.js +0 -70
  55. package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListPayload.d.ts +0 -22
  56. package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListReducer.d.ts +1 -5
  57. package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListReducer.js +2 -29
  58. package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListSelector.d.ts +0 -2
  59. package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListSelector.js +1 -5
  60. package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListState.d.ts +0 -2
  61. package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardReducer.js +3 -1
  62. package/package.json +2 -2
  63. package/lib/view/countryList/countryListReducer.d.ts +0 -17
  64. package/lib/view/countryList/countryListReducer.js +0 -58
  65. package/lib/view/countryList/countryListSelector.d.ts +0 -7
  66. package/lib/view/countryList/countryListSelector.js +0 -13
  67. package/lib/view/countryList/countryListState.d.ts +0 -12
  68. package/lib/view/countryList/countryListState.js +0 -2
  69. package/lib/view/countryList/epics/fetchCountryListEpic.d.ts +0 -6
  70. package/lib/view/countryList/epics/fetchCountryListEpic.js +0 -19
  71. package/lib/view/countryList/epics/fetchNationalityCountryListEpic.d.ts +0 -7
  72. package/lib/view/countryList/epics/fetchNationalityCountryListEpic.js +0 -38
  73. package/lib/view/countryList/payloads/countryListPayload.d.ts +0 -6
  74. package/lib/view/countryList/payloads/countryListPayload.js +0 -10
  75. package/lib/view/countryList/payloads/nationalityCountryListPayload.d.ts +0 -11
  76. package/lib/view/countryList/payloads/nationalityCountryListPayload.js +0 -2
  77. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/fetchIntlVerificationFormEpic.d.ts +0 -7
  78. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/fetchIntlVerificationFormEpic.js +0 -36
  79. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/initializeIntlVerificationFormEpic.d.ts +0 -6
  80. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/initializeIntlVerificationFormEpic.js +0 -28
  81. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/submitIntlVerificationEpic.d.ts +0 -9
  82. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/submitIntlVerificationEpic.js +0 -67
  83. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationPayload.d.ts +0 -26
  84. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationPayload.js +0 -22
  85. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationReducer.d.ts +0 -22
  86. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationReducer.js +0 -89
  87. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationSelector.d.ts +0 -15
  88. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationSelector.js +0 -30
  89. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationState.d.ts +0 -20
  90. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationState.js +0 -2
  91. package/lib/view/vendorFiling1099/vendorFiling1099List/fetchVendorsFiling1099DownloadEpic.d.ts +0 -7
  92. package/lib/view/vendorFiling1099/vendorFiling1099List/fetchVendorsFiling1099DownloadEpic.js +0 -35
package/lib/index.d.ts CHANGED
@@ -504,24 +504,23 @@ 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';
513
513
  import { fetchVendorsList, updateScrollYOffset, updateSortUiState, updatePageToken, updateYTDSelectionUIState } from './view/vendorList/vendorListReducer';
514
- import { VendorFiling1099DownloadData } from './view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListPayload';
515
- import { fetchVendorsFiling1099All, fetchVendorsFiling1099List, updateFiling1099ScrollYOffset, updateFiling1099SortUIState, updateFiling1099SearchUIState, fetchVendorsFiling1099Download, updateVendorFiling1099DownloadData } from './view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListReducer';
514
+ import { fetchVendorsFiling1099All, fetchVendorsFiling1099List, updateFiling1099ScrollYOffset, updateFiling1099SortUIState, updateFiling1099SearchUIState } from './view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListReducer';
516
515
  import { VendorListViewSortKey, VendorViewUIState, VendorListQuery, VendorListViewYTDSpendSortKey, VendorViewType } from './view/vendorList/vendorListState';
517
516
  import { VendorFiling1099ListViewSortKey, VendorFiling1099ViewUIState } from './view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListState';
518
517
  import { VendorListSelectorView, getVendorList, VendorListView, isColumnYTDSpend, isVendorsTabVisible, VendorReportIDType, toVendorReportIDType } from './view/vendorList/vendorListSelector';
519
- import { VendorFiling1099ListSelectorView, getVendorFiling1099List, getVendorFiling1099DownloadData } from './view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListSelector';
518
+ import { VendorFiling1099ListSelectorView, getVendorFiling1099List } from './view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListSelector';
520
519
  import { Filing1099TinType } from './entity/vendor/vendorType';
521
520
  export { Filing1099TinType };
522
521
  export { BillPayCardReport };
523
522
  export { ReimbursementCardReport };
524
- export { VendorListViewSortKey, VendorViewUIState, VendorListSelectorView, VendorListQuery, getVendorList, VendorListView, updateSortUiState, updatePageToken, updateYTDSelectionUIState, VendorListViewYTDSpendSortKey, isColumnYTDSpend, isVendorsTabVisible, VendorViewType, VendorReportIDType, toVendorReportIDType, VendorFiling1099ListSelectorView, getVendorFiling1099List, VendorFiling1099ListViewSortKey, VendorFiling1099ViewUIState, VendorFiling1099DownloadData, getVendorFiling1099DownloadData, fetchVendorsFiling1099Download, updateVendorFiling1099DownloadData, };
523
+ export { VendorListViewSortKey, VendorViewUIState, VendorListSelectorView, VendorListQuery, getVendorList, VendorListView, updateSortUiState, updatePageToken, updateYTDSelectionUIState, VendorListViewYTDSpendSortKey, isColumnYTDSpend, isVendorsTabVisible, VendorViewType, VendorReportIDType, toVendorReportIDType, VendorFiling1099ListSelectorView, getVendorFiling1099List, VendorFiling1099ListViewSortKey, VendorFiling1099ViewUIState, };
525
524
  import { fetchEntityRecommendationsByTransactionId, fetchRecommendationByEntityId, fetchRecommendationByEntityName } from './view/recommendation/recommendationReducer';
526
525
  import { fetchOwnerList } from './view/ownerList/ownerListReducer';
527
526
  export { fetchEntityRecommendationsByTransactionId, fetchRecommendationByEntityId, fetchRecommendationByEntityName, };
@@ -607,7 +606,7 @@ import { ChargeCardViewSortKey, ChargeCardListUIState, ChargeCardLocalData, Issu
607
606
  import { ChargeCardListSelectorView, ChargeCardWithUser, getChargeCardListView, getCreditAccount, anyCardOnHold } from './view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector';
608
607
  import { ChargeCard, CreditLimitFrequency, CreditLimitFrequencyCodeType, toCreditLimitFrequencyCodeType } from './entity/chargeCard/chargeCard';
609
608
  import { updateCashbackDetailUIState, fetchCashbackDetail } from './view/spendManagement/chargeCards/cashbackDetail/cashbackDetailReducer';
610
- 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';
611
610
  import { fetchChargeCardDetailPage, fetchChargeCardTransactionList, updateChargeCardDetail, updateChargeCardTransactionUploadReceiptsFetchStatus, updateChargeCardTransactionReceiptsShowTickFetchStatus, updateChargeCardTransactionIsViewReceiptClicked, fetchChargeCardTransactionAttachments } from './view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer';
612
611
  import { ChargeCardDetailSelectorView, getChargeCardDetailView, ChargeCardTransactionAttachmentView, getChargeCardTransactionAttachmentView } from './view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector';
613
612
  import { ChargeCardConfigState } from './view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigState';
@@ -615,7 +614,7 @@ import { ChargeCardTransaction, ChargeCardTransactionStatus, ChargeCardTransacti
615
614
  import { TransactionReceiptsPayload } from './entity/chargeCardTransaction/chargeCardTransactionPayload';
616
615
  import { updateChargeCardTransactionAttachments } from './entity/chargeCardTransaction/chargeCardTransactionReducer';
617
616
  import { ChargeCardDetailUiState, ChargeCardTransactionSortKey } from './view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail';
618
- import { getChargeCardSetupViewDetails, ChargeCardSetupView, ChargeCardBusinessVerificationDetails, getChargeCardBusinessVerificationDetails } from './view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewSelector';
617
+ import { getChargeCardSetupViewDetails, ChargeCardSetupView, getChargeCardBusinessVerificationDetails } from './view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewSelector';
619
618
  import { acceptChargeCardTerms, fetchChargeCardSetupView } from './view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewReducer';
620
619
  import { fetchChargeCardStatementList } from './view/spendManagement/chargeCards/chargeCardStatementList/chargeCardStatementListReducer';
621
620
  import { getChargeCardStatements, ChargeCardStatementsSelectorView } from './view/spendManagement/chargeCards/chargeCardStatementList/chargeCardStatementListSelector';
@@ -623,7 +622,7 @@ import { ChargeCardStatement } from './view/spendManagement/chargeCards/chargeCa
623
622
  import { CardUserOnboardingLocalData } from './view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingState';
624
623
  import { initializeCardUserOnboardingLocalData, updateCardUserOnboardingLocalData, saveCardOnboardingUserDetails, startActivationWait, completeActivationWait, setFirstViewAfterActivation, setFirstViewCompleteAfterActivation } from './view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingReducer';
625
624
  import { getCardUserOnboardingView, CardUserOnboardingView } from './view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingSelector';
626
- 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, };
627
626
  import { AgingBalance, AgingPeriod } from './commonStateTypes/agingBalance/agingBalance';
628
627
  import { fetchApAging, updateApAgingUIState } from './view/apAgingView/apAgingReport/apAgingReducer';
629
628
  import { ApAgingReport, getApAgingReport, AgingBalancesByVendor } from './view/apAgingView/apAgingReport/apAgingSelector';
@@ -738,10 +737,3 @@ import { fetchCompanyTaskManagerView } from './view/companyTaskManagerView/compa
738
737
  import { getCompanyTaskManagerView, CompanyTaskManagerSelectorView, TaskWithCompanyDetail } from './view/companyTaskManagerView/companyTaskManagerViewSelector';
739
738
  import { CompanyTaskManagerViewUIState } from './view/companyTaskManagerView/companyTaskManagerViewState';
740
739
  export { fetchCompanyTaskManagerView, CompanyTaskManagerSelectorView, CompanyTaskManagerViewUIState, getCompanyTaskManagerView, TaskWithCompanyDetail, };
741
- import { fetchCountryList } from './view/countryList/countryListReducer';
742
- import { Country } from './view/countryList/countryListState';
743
- export { fetchCountryList, Country };
744
- import { getIntlWireVerificationView, InternationalWireVerificationView } from './view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationSelector';
745
- import { InternationalWireVerificationState, VerificationFormField, VerificationFormLocalData, FieldValueType } from './view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationState';
746
- import { fetchInternationalVerificationForm, submitInternationalVerificationForm, updateVerificationFormLocalData } from './view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationReducer';
747
- export { InternationalWireVerificationState, VerificationFormField, VerificationFormLocalData, FieldValueType, fetchInternationalVerificationForm, submitInternationalVerificationForm, updateVerificationFormLocalData, getIntlWireVerificationView, InternationalWireVerificationView, };
package/lib/index.js CHANGED
@@ -43,14 +43,14 @@ exports.updateBillListSearchResult = exports.updateBillUploadFetchState = export
43
43
  exports.updateMileageDetails = exports.fetchRemiSetupView = exports.getUserFinancialAccount = exports.fetchUserFinancialAccount = exports.getIntegrationsView = exports.getBankConnectionsSetupViewDetails = exports.getApprovalRuleViewDetails = exports.getTwoFactorAuthenticationView = exports.getCommonSetupViewDetails = exports.getZeniAccountBusinessVerificationDetails = exports.getBillPayBusinessVerificationDetails = exports.getBusinessVerificationDetails = exports.getZeniAccountSetupViewDetails = exports.getPlaidAccountDetails = exports.getBillPaySetupViewDetails = exports.verifyOtp = exports.resendOtp = exports.sendOtp = exports.clearZeniAccountSetupView = exports.clearBillPaySetupView = exports.clearSetupViewDataInLocalStore = exports.saveIndustryAndIncDateInLocalStore = exports.saveCompnayOfficerAdditionalDocumentsInLocalStore = exports.saveCompnayOfficerPhoneInLocalStore = exports.saveSetupViewDataInLocalStore = exports.acceptBillPayUpdatedTerms = exports.acceptZeniAccountTerms = exports.acceptBillPayTerms = exports.updatePrimaryFundingAccount = exports.updateMappedCashAccount = exports.establishPlaidConnection = exports.updatePaymentAccountStatus = exports.updatePaymentAccountLoginStatus = exports.updatePaymentAccount = exports.updateBusinessVerificationDetails = exports.updateSetupViewLocalStoreData = exports.updateSelectedCompanyOfficer = exports.getPlaidLinkToken = exports.getPaymentAccounts = exports.enableSetup = exports.fetchZeniAccountSetupView = exports.fetchBillPaySetupView = exports.hideCreatedByFilter = exports.markBillForRetry = exports.fetchVendorAndUpdateBillLocalData = exports.convertAmountToHomeCurrency = exports.toPaymentToOption = exports.updateVendorContact = exports.verifyUser = exports.fetchUserDetails = void 0;
44
44
  exports.saveRemiUpdatesToLocalStore = exports.initializeRemiToLocalStore = exports.fetchRemiAndInitializeLocalStore = exports.fetchRecommendationsAndUpdateMerchantRecommendations = exports.fetchEditRemiDetailPage = exports.getEditRemiDetail = exports.removeDuplicateReimbursementByLineId = exports.clearDuplicateReimbursementDetail = exports.fetchDuplicateReimbursement = exports.clearRemiDetailView = exports.approveOrRejectRemi = exports.cancelAndDeleteRemi = exports.fetchRemiDetail = exports.deleteRemi = exports.updateIsEditModeRealTimeApprovals = exports.saveRealTimeApproval = exports.checkApproveRejectBtnShowForRemi = exports.getRemiDetailView = exports.clearRemiSetupApproverView = exports.clearRemiSetupApproverViewUpdateData = exports.initializeRemiSetupApproverViewUpdateData = exports.saveRemiSetupApproverViewUpdates = exports.saveRemiSetupApproverViewUpdateData = exports.deleteRemiApprovalRule = exports.fetchRemiApproversDetails = exports.fetchRemiApproversList = exports.fetchRemiSetupApproverView = exports.getRemiSetupApproverUpdateDataView = exports.getRemiSetupApproverView = exports.clearBillPaySetupApproverView = exports.clearBillPaySetupApproverViewUpdateData = exports.initializeBillPaySetupApproverViewUpdateData = exports.saveBillPaySetupApproverViewUpdates = exports.saveBillPaySetupApproverViewUpdateData = exports.deleteBillPayApprovalRule = exports.fetchBillPayApproversList = exports.fetchBillPayApproversDetails = exports.fetchBillPaySetupApproverView = exports.getBillPaySetupApproverUpdateDataView = exports.getBillPaySetupApproverView = exports.toRoleTypeStrict = exports.toAttributeOrRoleTypeStrict = exports.toAttributeTypeStrict = exports.isSuccessResponse = exports.getRemiBusinessVerificationDetails = exports.getRemiSetupViewDetails = exports.clearRemiSetupView = exports.acceptEmployeeRemiTerms = exports.acceptRemiTerms = exports.saveRemiSetupViewDataInLocalStore = void 0;
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
- 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.updateVendorFiling1099DownloadData = exports.fetchVendorsFiling1099Download = exports.getVendorFiling1099DownloadData = 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
- 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 = exports.updateDepositToLocalData = exports.updateTransferToLocalData = exports.updateTransferMoneyLocalData = void 0;
48
- 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 = exports.getAccountMappingView = exports.clearAccountMappingLocalData = exports.saveAccountMappingLocalData = void 0;
49
- 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 = exports.getChargeCardTransactionAttachmentView = exports.getChargeCardDetailView = exports.fetchChargeCardDetailPage = void 0;
50
- 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 = exports.updateLinkBillExpenseLocalData = exports.fetchRecommendedTransactionRowIndex = exports.updatedJELinkInLocalDataAccruedExpenses = void 0;
51
- 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 = exports.fetchVendorFirstReviewAttachments = exports.fetchVendorFirstReviewView = exports.getVendorFirstReviewAttachmentView = void 0;
52
- 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 = exports.deleteTask = exports.TASK_LIST_GROUP_BY_CATEGORIES = exports.TASK_LIST_FILTER_CATEGORIES = 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 = exports.updateNotificationViewAllNotificationsStatus = exports.fetchNotificationUnreadCountSuccess = exports.fetchNotificationUnreadCount = void 0;
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
+ 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.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; } });
@@ -1156,8 +1156,6 @@ Object.defineProperty(exports, "fetchVendorsFiling1099List", { enumerable: true,
1156
1156
  Object.defineProperty(exports, "updateFiling1099ScrollYOffset", { enumerable: true, get: function () { return vendorFiling1099ListReducer_1.updateFiling1099ScrollYOffset; } });
1157
1157
  Object.defineProperty(exports, "updateFiling1099SortUIState", { enumerable: true, get: function () { return vendorFiling1099ListReducer_1.updateFiling1099SortUIState; } });
1158
1158
  Object.defineProperty(exports, "updateFiling1099SearchUIState", { enumerable: true, get: function () { return vendorFiling1099ListReducer_1.updateFiling1099SearchUIState; } });
1159
- Object.defineProperty(exports, "fetchVendorsFiling1099Download", { enumerable: true, get: function () { return vendorFiling1099ListReducer_1.fetchVendorsFiling1099Download; } });
1160
- Object.defineProperty(exports, "updateVendorFiling1099DownloadData", { enumerable: true, get: function () { return vendorFiling1099ListReducer_1.updateVendorFiling1099DownloadData; } });
1161
1159
  const vendorListSelector_1 = require("./view/vendorList/vendorListSelector");
1162
1160
  Object.defineProperty(exports, "getVendorList", { enumerable: true, get: function () { return vendorListSelector_1.getVendorList; } });
1163
1161
  Object.defineProperty(exports, "isColumnYTDSpend", { enumerable: true, get: function () { return vendorListSelector_1.isColumnYTDSpend; } });
@@ -1165,7 +1163,6 @@ Object.defineProperty(exports, "isVendorsTabVisible", { enumerable: true, get: f
1165
1163
  Object.defineProperty(exports, "toVendorReportIDType", { enumerable: true, get: function () { return vendorListSelector_1.toVendorReportIDType; } });
1166
1164
  const vendorFiling1099ListSelector_1 = require("./view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListSelector");
1167
1165
  Object.defineProperty(exports, "getVendorFiling1099List", { enumerable: true, get: function () { return vendorFiling1099ListSelector_1.getVendorFiling1099List; } });
1168
- Object.defineProperty(exports, "getVendorFiling1099DownloadData", { enumerable: true, get: function () { return vendorFiling1099ListSelector_1.getVendorFiling1099DownloadData; } });
1169
1166
  const recommendationReducer_1 = require("./view/recommendation/recommendationReducer");
1170
1167
  Object.defineProperty(exports, "fetchEntityRecommendationsByTransactionId", { enumerable: true, get: function () { return recommendationReducer_1.fetchEntityRecommendationsByTransactionId; } });
1171
1168
  Object.defineProperty(exports, "fetchRecommendationByEntityId", { enumerable: true, get: function () { return recommendationReducer_1.fetchRecommendationByEntityId; } });
@@ -1330,7 +1327,6 @@ Object.defineProperty(exports, "updateCashbackDetailUIState", { enumerable: true
1330
1327
  Object.defineProperty(exports, "fetchCashbackDetail", { enumerable: true, get: function () { return cashbackDetailReducer_1.fetchCashbackDetail; } });
1331
1328
  const chargeCardListReducer_1 = require("./view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer");
1332
1329
  Object.defineProperty(exports, "fetchChargeCardListPage", { enumerable: true, get: function () { return chargeCardListReducer_1.fetchChargeCardListPage; } });
1333
- Object.defineProperty(exports, "fetchChargeCardList", { enumerable: true, get: function () { return chargeCardListReducer_1.fetchChargeCardList; } });
1334
1330
  Object.defineProperty(exports, "fetchCreditAccount", { enumerable: true, get: function () { return chargeCardListReducer_1.fetchCreditAccount; } });
1335
1331
  Object.defineProperty(exports, "issueChargeCard", { enumerable: true, get: function () { return chargeCardListReducer_1.issueChargeCard; } });
1336
1332
  Object.defineProperty(exports, "resetIssueChargeCardForm", { enumerable: true, get: function () { return chargeCardListReducer_1.resetIssueChargeCardForm; } });
@@ -1633,11 +1629,3 @@ const companyTaskManagerViewReducer_1 = require("./view/companyTaskManagerView/c
1633
1629
  Object.defineProperty(exports, "fetchCompanyTaskManagerView", { enumerable: true, get: function () { return companyTaskManagerViewReducer_1.fetchCompanyTaskManagerView; } });
1634
1630
  const companyTaskManagerViewSelector_1 = require("./view/companyTaskManagerView/companyTaskManagerViewSelector");
1635
1631
  Object.defineProperty(exports, "getCompanyTaskManagerView", { enumerable: true, get: function () { return companyTaskManagerViewSelector_1.getCompanyTaskManagerView; } });
1636
- const countryListReducer_1 = require("./view/countryList/countryListReducer");
1637
- Object.defineProperty(exports, "fetchCountryList", { enumerable: true, get: function () { return countryListReducer_1.fetchCountryList; } });
1638
- const internationalWireVerificationSelector_1 = require("./view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationSelector");
1639
- Object.defineProperty(exports, "getIntlWireVerificationView", { enumerable: true, get: function () { return internationalWireVerificationSelector_1.getIntlWireVerificationView; } });
1640
- const internationalWireVerificationReducer_1 = require("./view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationReducer");
1641
- Object.defineProperty(exports, "fetchInternationalVerificationForm", { enumerable: true, get: function () { return internationalWireVerificationReducer_1.fetchInternationalVerificationForm; } });
1642
- Object.defineProperty(exports, "submitInternationalVerificationForm", { enumerable: true, get: function () { return internationalWireVerificationReducer_1.submitInternationalVerificationForm; } });
1643
- 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;