@zeniai/client-epic-state 4.9.30 → 4.9.31
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.
- package/lib/commonPayloadTypes/v2/getSumOfBalancesGroupedByPeriod.d.ts +8 -0
- package/lib/commonPayloadTypes/v2/getSumOfBalancesGroupedByPeriod.js +84 -0
- package/lib/commonStateTypes/bookCloseDateHelper.d.ts +8 -0
- package/lib/commonStateTypes/bookCloseDateHelper.js +48 -0
- package/lib/commonStateTypes/coaBalance/classBalances/getDifferenceOfBalancesGroupedByPeriod.d.ts +8 -0
- package/lib/commonStateTypes/coaBalance/classBalances/getDifferenceOfBalancesGroupedByPeriod.js +62 -0
- package/lib/commonStateTypes/currencyHelper.d.ts +1 -0
- package/lib/commonStateTypes/currencyHelper.js +7 -0
- package/lib/commonStateTypes/fileType.d.ts +3 -0
- package/lib/commonStateTypes/fileType.js +7 -0
- package/lib/commonStateTypes/fiscalYearHelpers/getActualPeriod.d.ts +4 -0
- package/lib/commonStateTypes/fiscalYearHelpers/getActualPeriod.js +38 -0
- package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSection.d.ts +2 -0
- package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSection.js +13 -0
- package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSectionWithAcOnly.d.ts +2 -0
- package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSectionWithAcOnly.js +11 -0
- package/lib/commonStateTypes/viewAndReport/reportIDHelper.d.ts +8 -0
- package/lib/commonStateTypes/viewAndReport/reportIDHelper.js +43 -0
- package/lib/configureStore.d.ts +9 -0
- package/lib/configureStore.js +24 -0
- package/lib/entity/accountGroup/pickAndMergeForecastAcGroupReport.d.ts +3 -0
- package/lib/entity/accountGroup/pickAndMergeForecastAcGroupReport.js +85 -0
- package/lib/entity/chargeCard/chargeCardSelector.d.ts +4 -0
- package/lib/entity/chargeCard/chargeCardSelector.js +18 -0
- package/lib/entity/chargeCardTransaction/chargeCardTransactionSelector.d.ts +4 -0
- package/lib/entity/chargeCardTransaction/chargeCardTransactionSelector.js +18 -0
- package/lib/entity/company/companyHelper.d.ts +5 -0
- package/lib/entity/company/companyHelper.js +26 -0
- package/lib/entity/companyHealthMetric/companyHealthMetricSelector.d.ts +4 -0
- package/lib/entity/companyHealthMetric/companyHealthMetricSelector.js +18 -0
- package/lib/entity/customer/customerSelector.d.ts +4 -0
- package/lib/entity/customer/customerSelector.js +15 -0
- package/lib/entity/depositAccountTransaction/depositAccountTransactionSelector.d.ts +4 -0
- package/lib/entity/depositAccountTransaction/depositAccountTransactionSelector.js +18 -0
- package/lib/entity/genericEntity/entitySelector.d.ts +3 -0
- package/lib/entity/genericEntity/entitySelector.js +9 -0
- package/lib/entity/globalMerchant/globalMerchantSelector.d.ts +6 -0
- package/lib/entity/globalMerchant/globalMerchantSelector.js +27 -0
- package/lib/entity/insights/insightSelector.d.ts +3 -0
- package/lib/entity/insights/insightSelector.js +9 -0
- package/lib/entity/jeSchedules/updateJESchedulesEpic.d.ts +10 -0
- package/lib/entity/jeSchedules/updateJESchedulesEpic.js +68 -0
- package/lib/entity/onboardingCustomer/onboardingCustomerSelector.d.ts +3 -0
- package/lib/entity/onboardingCustomer/onboardingCustomerSelector.js +17 -0
- package/lib/entity/snackbar/snackbarSelector.d.ts +16 -0
- package/lib/entity/snackbar/snackbarSelector.js +12 -0
- package/lib/entity/subscriptionPaymentAccount/subscriptionPaymentAccountSelector.d.ts +4 -0
- package/lib/entity/subscriptionPaymentAccount/subscriptionPaymentAccountSelector.js +18 -0
- package/lib/entity/tenant/epic/fetchSubscriptionSummaryForTenantEpic.d.ts +18 -0
- package/lib/entity/tenant/epic/fetchSubscriptionSummaryForTenantEpic.js +16 -0
- package/lib/epic.d.ts +349 -0
- package/lib/epic.js +359 -0
- package/lib/index.d.ts +653 -0
- package/lib/index.js +1361 -0
- package/lib/init.d.ts +53 -0
- package/lib/init.js +136 -0
- package/lib/view/accountList/fetchAccountListEpic.d.ts +8 -0
- package/lib/view/accountList/fetchAccountListEpic.js +55 -0
- package/lib/view/accountMappingView/accountMappingPayload.d.ts +8 -0
- package/lib/view/accountMappingView/accountMappingPayload.js +20 -0
- package/lib/view/accountMappingView/accountMappingViewSelector.d.ts +18 -0
- package/lib/view/accountMappingView/accountMappingViewSelector.js +48 -0
- package/lib/view/accountMappingView/accountTypeRecommendation/fetchRecommendationForAccountTypeEpic.d.ts +7 -0
- package/lib/view/accountMappingView/accountTypeRecommendation/fetchRecommendationForAccountTypeEpic.js +27 -0
- package/lib/view/accountMappingView/fetchAccountListForAccountTypesEpic.d.ts +8 -0
- package/lib/view/accountMappingView/fetchAccountListForAccountTypesEpic.js +45 -0
- package/lib/view/accountMappingView/initializeAccountMappingViewEpic.d.ts +7 -0
- package/lib/view/accountMappingView/initializeAccountMappingViewEpic.js +13 -0
- package/lib/view/accountMappingView/saveAccountMappingViewEpic.d.ts +7 -0
- package/lib/view/accountMappingView/saveAccountMappingViewEpic.js +38 -0
- package/lib/view/addressView/addressViewSelector.d.ts +13 -0
- package/lib/view/addressView/addressViewSelector.js +42 -0
- package/lib/view/addressView/epic/createAddressEpic.d.ts +7 -0
- package/lib/view/addressView/epic/createAddressEpic.js +43 -0
- package/lib/view/addressView/epic/createCompanyAddressEpic.d.ts +8 -0
- package/lib/view/addressView/epic/createCompanyAddressEpic.js +49 -0
- package/lib/view/addressView/epic/createCompanyUserAddressEpic.d.ts +10 -0
- package/lib/view/addressView/epic/createCompanyUserAddressEpic.js +56 -0
- package/lib/view/addressView/epic/fetchAddressEpic.d.ts +19 -0
- package/lib/view/addressView/epic/fetchAddressEpic.js +34 -0
- package/lib/view/addressView/epic/saveNewAddressEpic.d.ts +10 -0
- package/lib/view/addressView/epic/saveNewAddressEpic.js +32 -0
- package/lib/view/addressView/epic/updateAddressEpic.d.ts +19 -0
- package/lib/view/addressView/epic/updateAddressEpic.js +30 -0
- package/lib/view/addressView/toAddressViewLocalData.d.ts +3 -0
- package/lib/view/addressView/toAddressViewLocalData.js +42 -0
- package/lib/view/apAgingView/apAgingDetail/apAgingDetailSelector.d.ts +17 -0
- package/lib/view/apAgingView/apAgingDetail/apAgingDetailSelector.js +81 -0
- package/lib/view/apAgingView/apAgingDetail/fetchApAgingDetailEpic.d.ts +8 -0
- package/lib/view/apAgingView/apAgingDetail/fetchApAgingDetailEpic.js +37 -0
- package/lib/view/apAgingView/apAgingReport/apAgingSelector.d.ts +18 -0
- package/lib/view/apAgingView/apAgingReport/apAgingSelector.js +58 -0
- package/lib/view/apAgingView/apAgingReport/fetchApAgingEpic.d.ts +8 -0
- package/lib/view/apAgingView/apAgingReport/fetchApAgingEpic.js +43 -0
- package/lib/view/arAgingView/arAgingDetail/arAgingDetailSelector.d.ts +15 -0
- package/lib/view/arAgingView/arAgingDetail/arAgingDetailSelector.js +54 -0
- package/lib/view/arAgingView/arAgingDetail/fetchArAgingDetailEpic.d.ts +8 -0
- package/lib/view/arAgingView/arAgingDetail/fetchArAgingDetailEpic.js +37 -0
- package/lib/view/arAgingView/arAgingReport/arAgingSelector.d.ts +18 -0
- package/lib/view/arAgingView/arAgingReport/arAgingSelector.js +61 -0
- package/lib/view/arAgingView/arAgingReport/fetchArAgingEpic.d.ts +8 -0
- package/lib/view/arAgingView/arAgingReport/fetchArAgingEpic.js +42 -0
- package/lib/view/auditReportView/auditReportViewSelector.d.ts +22 -0
- package/lib/view/auditReportView/auditReportViewSelector.js +34 -0
- package/lib/view/auditReportView/epics/fetchAuditReportGroupViewEpic.d.ts +7 -0
- package/lib/view/auditReportView/epics/fetchAuditReportGroupViewEpic.js +54 -0
- package/lib/view/auditReportView/epics/fetchAuditRuleGroupViewEpic.d.ts +7 -0
- package/lib/view/auditReportView/epics/fetchAuditRuleGroupViewEpic.js +39 -0
- package/lib/view/authenticationView/authenticationViewSelector.d.ts +7 -0
- package/lib/view/authenticationView/authenticationViewSelector.js +11 -0
- package/lib/view/authenticationView/epics/fetchCollaborationAuthTokenEpic.d.ts +8 -0
- package/lib/view/authenticationView/epics/fetchCollaborationAuthTokenEpic.js +28 -0
- package/lib/view/autoComplete/entityAutoCompleteSelector.d.ts +8 -0
- package/lib/view/autoComplete/entityAutoCompleteSelector.js +25 -0
- package/lib/view/autoComplete/fetchEntityAutoCompleteEpic.d.ts +8 -0
- package/lib/view/autoComplete/fetchEntityAutoCompleteEpic.js +41 -0
- package/lib/view/balanceSheet/balanceSheetEpic.d.ts +6 -0
- package/lib/view/balanceSheet/balanceSheetEpic.js +35 -0
- package/lib/view/balanceSheet/balanceSheetForTimeframeEpic.d.ts +9 -0
- package/lib/view/balanceSheet/balanceSheetForTimeframeEpic.js +77 -0
- package/lib/view/balanceSheet/balanceSheetSelector.d.ts +17 -0
- package/lib/view/balanceSheet/balanceSheetSelector.js +77 -0
- package/lib/view/bankAccountView/epic/createBankAccountEpic.d.ts +10 -0
- package/lib/view/bankAccountView/epic/createBankAccountEpic.js +147 -0
- package/lib/view/bankAccountView/epic/createUserBankAccountEpic.d.ts +11 -0
- package/lib/view/bankAccountView/epic/createUserBankAccountEpic.js +65 -0
- package/lib/view/bankAccountView/epic/deleteBankAccountEpic.d.ts +9 -0
- package/lib/view/bankAccountView/epic/deleteBankAccountEpic.js +59 -0
- package/lib/view/bankAccountView/epic/deleteUserBankAccountEpic.d.ts +9 -0
- package/lib/view/bankAccountView/epic/deleteUserBankAccountEpic.js +63 -0
- package/lib/view/bankAccountView/epic/fetchBankCountryNameByIbanEpic.d.ts +7 -0
- package/lib/view/bankAccountView/epic/fetchBankCountryNameByIbanEpic.js +46 -0
- package/lib/view/bankAccountView/epic/fetchBankNameByRoutingEpic.d.ts +7 -0
- package/lib/view/bankAccountView/epic/fetchBankNameByRoutingEpic.js +45 -0
- package/lib/view/bankAccountView/epic/fetchBankNameBySwiftEpic.d.ts +7 -0
- package/lib/view/bankAccountView/epic/fetchBankNameBySwiftEpic.js +45 -0
- package/lib/view/billPayCard/billPayCardSelector.d.ts +12 -0
- package/lib/view/billPayCard/billPayCardSelector.js +16 -0
- package/lib/view/billPayCard/fetchBillPayCardEpic.d.ts +9 -0
- package/lib/view/billPayCard/fetchBillPayCardEpic.js +50 -0
- package/lib/view/cardBalance/cardBalanceSelector.d.ts +31 -0
- package/lib/view/cardBalance/cardBalanceSelector.js +19 -0
- package/lib/view/cashBalance/cashBalanceSelector.d.ts +31 -0
- package/lib/view/cashBalance/cashBalanceSelector.js +19 -0
- package/lib/view/cashFlow/cashFlowEpic.d.ts +6 -0
- package/lib/view/cashFlow/cashFlowEpic.js +35 -0
- package/lib/view/cashFlow/cashFlowForTimeframeEpic.d.ts +9 -0
- package/lib/view/cashFlow/cashFlowForTimeframeEpic.js +53 -0
- package/lib/view/cashFlow/cashFlowSelector.d.ts +9 -0
- package/lib/view/cashFlow/cashFlowSelector.js +94 -0
- package/lib/view/cashFlow/cashFlowSelectorTypes.d.ts +41 -0
- package/lib/view/cashFlow/cashFlowSelectorTypes.js +87 -0
- package/lib/view/cashInCashOut/cashInCashOutSelector.d.ts +29 -0
- package/lib/view/cashInCashOut/cashInCashOutSelector.js +87 -0
- package/lib/view/cashInCashOut/cashInCashOutSelectorTypes.d.ts +26 -0
- package/lib/view/cashInCashOut/cashInCashOutSelectorTypes.js +15 -0
- package/lib/view/cashPosition/cashPositionSelector.d.ts +26 -0
- package/lib/view/cashPosition/cashPositionSelector.js +71 -0
- package/lib/view/cashPosition/cashPositionSelectorTypes.d.ts +18 -0
- package/lib/view/cashPosition/cashPositionSelectorTypes.js +2 -0
- package/lib/view/classList/fetchClassListEpic.d.ts +8 -0
- package/lib/view/classList/fetchClassListEpic.js +25 -0
- package/lib/view/common/zeniClearingAccountHelper.d.ts +4 -0
- package/lib/view/common/zeniClearingAccountHelper.js +13 -0
- package/lib/view/commonVendorView/commonVendorViewHelper.d.ts +20 -0
- package/lib/view/commonVendorView/commonVendorViewHelper.js +109 -0
- package/lib/view/commonVendorView/transactionVendorView/epics/resetTransactionVendorLocalDataEpic.d.ts +7 -0
- package/lib/view/commonVendorView/transactionVendorView/epics/resetTransactionVendorLocalDataEpic.js +30 -0
- package/lib/view/commonVendorView/transactionVendorView/epics/saveTransactionVendorEpic.d.ts +9 -0
- package/lib/view/commonVendorView/transactionVendorView/epics/saveTransactionVendorEpic.js +92 -0
- package/lib/view/commonVendorView/transactionVendorView/transactionVendorLocalDataHelper.d.ts +3 -0
- package/lib/view/commonVendorView/transactionVendorView/transactionVendorLocalDataHelper.js +13 -0
- package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewPayload.d.ts +17 -0
- package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewPayload.js +50 -0
- package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewSelector.d.ts +25 -0
- package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewSelector.js +53 -0
- package/lib/view/commonVendorView/vendorView/epics/fetchAndUpdateVendorRecommendationsEpic.d.ts +7 -0
- package/lib/view/commonVendorView/vendorView/epics/fetchAndUpdateVendorRecommendationsEpic.js +68 -0
- package/lib/view/commonVendorView/vendorView/epics/fetchVendorDetailsEpic.d.ts +11 -0
- package/lib/view/commonVendorView/vendorView/epics/fetchVendorDetailsEpic.js +62 -0
- package/lib/view/commonVendorView/vendorView/epics/fetchVendorEpic.d.ts +16 -0
- package/lib/view/commonVendorView/vendorView/epics/fetchVendorEpic.js +70 -0
- package/lib/view/commonVendorView/vendorView/epics/initializeVendorAddressEpic.d.ts +7 -0
- package/lib/view/commonVendorView/vendorView/epics/initializeVendorAddressEpic.js +29 -0
- package/lib/view/commonVendorView/vendorView/epics/resetVendorDetailLocalDataEpic.d.ts +7 -0
- package/lib/view/commonVendorView/vendorView/epics/resetVendorDetailLocalDataEpic.js +30 -0
- package/lib/view/commonVendorView/vendorView/epics/saveVendorEpic.d.ts +14 -0
- package/lib/view/commonVendorView/vendorView/epics/saveVendorEpic.js +192 -0
- package/lib/view/commonVendorView/vendorView/epics/twoFactorAuth/fetchUserDetailEpic.d.ts +8 -0
- package/lib/view/commonVendorView/vendorView/epics/twoFactorAuth/fetchUserDetailEpic.js +25 -0
- package/lib/view/commonVendorView/vendorView/epics/twoFactorAuth/verifyUserEpic.d.ts +8 -0
- package/lib/view/commonVendorView/vendorView/epics/twoFactorAuth/verifyUserEpic.js +31 -0
- package/lib/view/commonVendorView/vendorView/epics/updateSelectedVendorForCreateFlowEpic.d.ts +7 -0
- package/lib/view/commonVendorView/vendorView/epics/updateSelectedVendorForCreateFlowEpic.js +24 -0
- package/lib/view/commonVendorView/vendorView/epics/vendorDetailLocalDataHelpers.d.ts +21 -0
- package/lib/view/commonVendorView/vendorView/epics/vendorDetailLocalDataHelpers.js +90 -0
- package/lib/view/commonVendorView/vendorView/vendorViewPayload.d.ts +30 -0
- package/lib/view/commonVendorView/vendorView/vendorViewPayload.js +93 -0
- package/lib/view/commonVendorView/vendorView/vendorViewSelector.d.ts +72 -0
- package/lib/view/commonVendorView/vendorView/vendorViewSelector.js +218 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorDetailPageViewEpic.d.ts +7 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorDetailPageViewEpic.js +29 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorDetailsEpic.d.ts +11 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorDetailsEpic.js +47 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorEpic.d.ts +15 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorEpic.js +63 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/epics/resetVendorsTabVendorDetailLocalDataEpic.d.ts +7 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/epics/resetVendorsTabVendorDetailLocalDataEpic.js +22 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/epics/saveVendorsTabVendorEpic.d.ts +11 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/epics/saveVendorsTabVendorEpic.js +57 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/epics/vendorsTabVendorDetailLocalDataHelpers.d.ts +19 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/epics/vendorsTabVendorDetailLocalDataHelpers.js +60 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewPayload.d.ts +29 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewPayload.js +48 -0
- package/lib/view/companyConfigView/companyConfigEpic.d.ts +7 -0
- package/lib/view/companyConfigView/companyConfigEpic.js +23 -0
- package/lib/view/companyConfigView/companyConfigSelector.d.ts +12 -0
- package/lib/view/companyConfigView/companyConfigSelector.js +12 -0
- package/lib/view/companyHealthMetricView/companyHealthMetricViewPayload.d.ts +8 -0
- package/lib/view/companyHealthMetricView/companyHealthMetricViewPayload.js +2 -0
- package/lib/view/companyHealthMetricView/companyHealthMetricViewSelector.d.ts +41 -0
- package/lib/view/companyHealthMetricView/companyHealthMetricViewSelector.js +240 -0
- package/lib/view/companyHealthMetricView/epic/fetchCompanyHealthMetricViewEpic.d.ts +9 -0
- package/lib/view/companyHealthMetricView/epic/fetchCompanyHealthMetricViewEpic.js +41 -0
- package/lib/view/companyHealthMetricView/epic/initializeCompanyHealthMetricViewLocalData.d.ts +6 -0
- package/lib/view/companyHealthMetricView/epic/initializeCompanyHealthMetricViewLocalData.js +27 -0
- package/lib/view/companyHealthMetricView/epic/saveCompanyHealthMetricByIdEpic.d.ts +9 -0
- package/lib/view/companyHealthMetricView/epic/saveCompanyHealthMetricByIdEpic.js +49 -0
- package/lib/view/companyMonthEndReportView/companyMonthEndReportViewSelector.d.ts +24 -0
- package/lib/view/companyMonthEndReportView/companyMonthEndReportViewSelector.js +59 -0
- package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportHistoricDataEpic.d.ts +8 -0
- package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportHistoricDataEpic.js +67 -0
- package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportHistoricDatesEpic.d.ts +7 -0
- package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportHistoricDatesEpic.js +54 -0
- package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportViewEpic.d.ts +8 -0
- package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportViewEpic.js +46 -0
- package/lib/view/companyMonthEndReportView/epics/improveUsingZeniGPTEpic.d.ts +7 -0
- package/lib/view/companyMonthEndReportView/epics/improveUsingZeniGPTEpic.js +30 -0
- package/lib/view/companyMonthEndReportView/epics/saveCompanyMonthEndReportEpic.d.ts +9 -0
- package/lib/view/companyMonthEndReportView/epics/saveCompanyMonthEndReportEpic.js +77 -0
- package/lib/view/companyMonthEndReportView/epics/sendCompanyMonthEndReportEpic.d.ts +9 -0
- package/lib/view/companyMonthEndReportView/epics/sendCompanyMonthEndReportEpic.js +79 -0
- package/lib/view/companyView/companyViewPayload.d.ts +84 -0
- package/lib/view/companyView/companyViewPayload.js +2 -0
- package/lib/view/companyView/epic/companyManagementSavePendingUpdates.d.ts +7 -0
- package/lib/view/companyView/epic/companyManagementSavePendingUpdates.js +18 -0
- package/lib/view/companyView/epic/companyManagementSaveUpdatesEpic.d.ts +10 -0
- package/lib/view/companyView/epic/companyManagementSaveUpdatesEpic.js +116 -0
- package/lib/view/companyView/epic/companyPassport/createCompanyOfficersEpic.d.ts +10 -0
- package/lib/view/companyView/epic/companyPassport/createCompanyOfficersEpic.js +87 -0
- package/lib/view/companyView/epic/companyPassport/fetchCompanyPassportViewEpic.d.ts +17 -0
- package/lib/view/companyView/epic/companyPassport/fetchCompanyPassportViewEpic.js +65 -0
- package/lib/view/companyView/epic/companyPassport/saveCompanyPassportDetailsEpic.d.ts +24 -0
- package/lib/view/companyView/epic/companyPassport/saveCompanyPassportDetailsEpic.js +37 -0
- package/lib/view/companyView/epic/companyPassport/updateCompanyDetailsEpic.d.ts +9 -0
- package/lib/view/companyView/epic/companyPassport/updateCompanyDetailsEpic.js +49 -0
- package/lib/view/companyView/epic/companyPassport/updateCompanyOfficerEpic.d.ts +10 -0
- package/lib/view/companyView/epic/companyPassport/updateCompanyOfficerEpic.js +54 -0
- package/lib/view/companyView/epic/companyPassport/updateCompanyPassportLocalStoreDataEpic.d.ts +6 -0
- package/lib/view/companyView/epic/companyPassport/updateCompanyPassportLocalStoreDataEpic.js +39 -0
- package/lib/view/companyView/epic/companyPassport/updatePrimaryContactEpic.d.ts +20 -0
- package/lib/view/companyView/epic/companyPassport/updatePrimaryContactEpic.js +68 -0
- package/lib/view/companyView/epic/fetchAllCockpitViewsEpic.d.ts +9 -0
- package/lib/view/companyView/epic/fetchAllCockpitViewsEpic.js +65 -0
- package/lib/view/companyView/epic/fetchCompanyManagementViewEpic.d.ts +16 -0
- package/lib/view/companyView/epic/fetchCompanyManagementViewEpic.js +101 -0
- package/lib/view/companyView/epic/fetchCompanyPortfolioViewEpic.d.ts +11 -0
- package/lib/view/companyView/epic/fetchCompanyPortfolioViewEpic.js +40 -0
- package/lib/view/companyView/epic/fetchManagementViewEpic.d.ts +6 -0
- package/lib/view/companyView/epic/fetchManagementViewEpic.js +27 -0
- package/lib/view/companyView/epic/fetchOnboardingViewEpic.d.ts +7 -0
- package/lib/view/companyView/epic/fetchOnboardingViewEpic.js +36 -0
- package/lib/view/companyView/epic/fetchPortfolioViewEpic.d.ts +6 -0
- package/lib/view/companyView/epic/fetchPortfolioViewEpic.js +27 -0
- package/lib/view/companyView/epic/fetchSubscriptionViewEpic.d.ts +7 -0
- package/lib/view/companyView/epic/fetchSubscriptionViewEpic.js +29 -0
- package/lib/view/companyView/epic/fetchZeniUsersEpic.d.ts +8 -0
- package/lib/view/companyView/epic/fetchZeniUsersEpic.js +24 -0
- package/lib/view/companyView/epic/getSubscriptionIDsByCompanyID.d.ts +2 -0
- package/lib/view/companyView/epic/getSubscriptionIDsByCompanyID.js +20 -0
- package/lib/view/companyView/helpers/cockpitHelpers.d.ts +16 -0
- package/lib/view/companyView/helpers/cockpitHelpers.js +144 -0
- package/lib/view/companyView/parentSubsidiaryView/fetchParentSubsidiaryManagementViewEpic.d.ts +6 -0
- package/lib/view/companyView/parentSubsidiaryView/fetchParentSubsidiaryManagementViewEpic.js +19 -0
- package/lib/view/companyView/parentSubsidiaryView/parentSubsidiaryViewSelector.d.ts +4 -0
- package/lib/view/companyView/parentSubsidiaryView/parentSubsidiaryViewSelector.js +16 -0
- package/lib/view/companyView/selector/companyManagementViewSelector.d.ts +41 -0
- package/lib/view/companyView/selector/companyManagementViewSelector.js +406 -0
- package/lib/view/companyView/selector/companyPassportViewSelector.d.ts +36 -0
- package/lib/view/companyView/selector/companyPassportViewSelector.js +163 -0
- package/lib/view/companyView/selector/companyPortfolioViewSelector.d.ts +15 -0
- package/lib/view/companyView/selector/companyPortfolioViewSelector.js +245 -0
- package/lib/view/companyView/selector/getAllCockpitTabsFilterView.d.ts +8 -0
- package/lib/view/companyView/selector/getAllCockpitTabsFilterView.js +55 -0
- package/lib/view/companyView/types/companyPassportViewPayload.d.ts +25 -0
- package/lib/view/companyView/types/companyPassportViewPayload.js +76 -0
- package/lib/view/dashboard/dashboardSelector.d.ts +40 -0
- package/lib/view/dashboard/dashboardSelector.js +105 -0
- package/lib/view/fileView/epic/deleteFileEpic.d.ts +8 -0
- package/lib/view/fileView/epic/deleteFileEpic.js +31 -0
- package/lib/view/fileView/epic/deleteFileListEpic.d.ts +8 -0
- package/lib/view/fileView/epic/deleteFileListEpic.js +28 -0
- package/lib/view/fileView/epic/fetchFileEpic.d.ts +8 -0
- package/lib/view/fileView/epic/fetchFileEpic.js +33 -0
- package/lib/view/fileView/epic/fetchFileListEpic.d.ts +8 -0
- package/lib/view/fileView/epic/fetchFileListEpic.js +31 -0
- package/lib/view/fileView/epic/updateFileNameEpic.d.ts +8 -0
- package/lib/view/fileView/epic/updateFileNameEpic.js +34 -0
- package/lib/view/fileView/epic/updateFilesMetadataEpic.d.ts +6 -0
- package/lib/view/fileView/epic/updateFilesMetadataEpic.js +16 -0
- package/lib/view/fileView/fileDownloadHelpers.d.ts +3 -0
- package/lib/view/fileView/fileDownloadHelpers.js +42 -0
- package/lib/view/fileView/fileViewPayload.d.ts +6 -0
- package/lib/view/fileView/fileViewPayload.js +2 -0
- package/lib/view/financeStatement/financeStatementEpic.d.ts +32 -0
- package/lib/view/financeStatement/financeStatementEpic.js +44 -0
- package/lib/view/financeStatement/financeStatementSelector.d.ts +27 -0
- package/lib/view/financeStatement/financeStatementSelector.js +96 -0
- package/lib/view/forecastList/fetchForecastListEpic.d.ts +8 -0
- package/lib/view/forecastList/fetchForecastListEpic.js +20 -0
- package/lib/view/globalMerchantView/epics/createGlobalMerchantEpic.d.ts +16 -0
- package/lib/view/globalMerchantView/epics/createGlobalMerchantEpic.js +101 -0
- package/lib/view/globalMerchantView/epics/fetchGlobalMerchantRecommendationEpic.d.ts +10 -0
- package/lib/view/globalMerchantView/epics/fetchGlobalMerchantRecommendationEpic.js +59 -0
- package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/fetchGlobalMerchantAutoCompleteViewEpic.d.ts +8 -0
- package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/fetchGlobalMerchantAutoCompleteViewEpic.js +48 -0
- package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewSelector.d.ts +7 -0
- package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewSelector.js +14 -0
- package/lib/view/globalMerchantView/globalMerchantViewPayload.d.ts +24 -0
- package/lib/view/globalMerchantView/globalMerchantViewPayload.js +2 -0
- package/lib/view/globalMerchantView/globalMerchantViewSelector.d.ts +9 -0
- package/lib/view/globalMerchantView/globalMerchantViewSelector.js +19 -0
- package/lib/view/insightsCard/insightsCardEpic.d.ts +15 -0
- package/lib/view/insightsCard/insightsCardEpic.js +21 -0
- package/lib/view/insightsCard/insightsCardSelector.d.ts +3 -0
- package/lib/view/insightsCard/insightsCardSelector.js +18 -0
- package/lib/view/insightsCard/insightsCardSelectorTypes.d.ts +8 -0
- package/lib/view/insightsCard/insightsCardSelectorTypes.js +2 -0
- package/lib/view/netBurnOrIncome/netBurnOrIncomeEpic.d.ts +5 -0
- package/lib/view/netBurnOrIncome/netBurnOrIncomeEpic.js +35 -0
- package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewSelector.d.ts +11 -0
- package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewSelector.js +105 -0
- package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewSelectorTypes.d.ts +17 -0
- package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewSelectorTypes.js +21 -0
- package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardSelector.d.ts +3 -0
- package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardSelector.js +86 -0
- package/lib/view/onboardingView/cockpitView/epic/fetchCompanyOnboardingViewEpic.d.ts +13 -0
- package/lib/view/onboardingView/cockpitView/epic/fetchCompanyOnboardingViewEpic.js +54 -0
- package/lib/view/onboardingView/cockpitView/epic/fetchOnboardingCompletedCompaniesEpic.d.ts +8 -0
- package/lib/view/onboardingView/cockpitView/epic/fetchOnboardingCompletedCompaniesEpic.js +27 -0
- package/lib/view/onboardingView/cockpitView/epic/getOnboardingEmailGroupEpic.d.ts +7 -0
- package/lib/view/onboardingView/cockpitView/epic/getOnboardingEmailGroupEpic.js +27 -0
- package/lib/view/onboardingView/cockpitView/epic/initializeOnboardingCustomerViewUpdateDataEpic.d.ts +6 -0
- package/lib/view/onboardingView/cockpitView/epic/initializeOnboardingCustomerViewUpdateDataEpic.js +105 -0
- package/lib/view/onboardingView/cockpitView/epic/retryBankAccountConnectionForOnboardingEpic.d.ts +8 -0
- package/lib/view/onboardingView/cockpitView/epic/retryBankAccountConnectionForOnboardingEpic.js +86 -0
- package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerCompletedStatusEpic.d.ts +10 -0
- package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerCompletedStatusEpic.js +37 -0
- package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerNotesEpic.d.ts +8 -0
- package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerNotesEpic.js +36 -0
- package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerViewUpdatesEpic.d.ts +14 -0
- package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerViewUpdatesEpic.js +128 -0
- package/lib/view/onboardingView/cockpitView/epic/sendOnboardingCustomerViewInviteEpic.d.ts +17 -0
- package/lib/view/onboardingView/cockpitView/epic/sendOnboardingCustomerViewInviteEpic.js +114 -0
- package/lib/view/onboardingView/cockpitView/onboardingCockpitViewSelector.d.ts +55 -0
- package/lib/view/onboardingView/cockpitView/onboardingCockpitViewSelector.js +185 -0
- package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerSetupViewEpic.d.ts +16 -0
- package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerSetupViewEpic.js +72 -0
- package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerViewEpic.d.ts +16 -0
- package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerViewEpic.js +27 -0
- package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewCompleteStatusEpic.d.ts +9 -0
- package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewCompleteStatusEpic.js +41 -0
- package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewEpic.d.ts +21 -0
- package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewEpic.js +128 -0
- package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewLocalStoreDataEpic.d.ts +14 -0
- package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewLocalStoreDataEpic.js +116 -0
- package/lib/view/onboardingView/customerView/epic/paymentAccounts/updateOnboardingPaymentAccountLoginStatusEpic.d.ts +10 -0
- package/lib/view/onboardingView/customerView/epic/paymentAccounts/updateOnboardingPaymentAccountLoginStatusEpic.js +37 -0
- package/lib/view/onboardingView/customerView/epic/paymentAccounts/updateOnboardingPaymentAccountStatusEpic.d.ts +10 -0
- package/lib/view/onboardingView/customerView/epic/paymentAccounts/updateOnboardingPaymentAccountStatusEpic.js +37 -0
- package/lib/view/onboardingView/customerView/epic/plaidConnection/establishOnboardingPlaidConnectionEpic.d.ts +10 -0
- package/lib/view/onboardingView/customerView/epic/plaidConnection/establishOnboardingPlaidConnectionEpic.js +42 -0
- package/lib/view/onboardingView/customerView/epic/plaidConnection/getOnboardingPlaidLinkTokenEpic.d.ts +8 -0
- package/lib/view/onboardingView/customerView/epic/plaidConnection/getOnboardingPlaidLinkTokenEpic.js +31 -0
- package/lib/view/onboardingView/customerView/onboardingCustomerViewPayload.d.ts +26 -0
- package/lib/view/onboardingView/customerView/onboardingCustomerViewPayload.js +2 -0
- package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.d.ts +53 -0
- package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.js +261 -0
- package/lib/view/onboardingView/customerView/types/paymentAccount.d.ts +8 -0
- package/lib/view/onboardingView/customerView/types/paymentAccount.js +2 -0
- package/lib/view/opExByVendor/opExByVendorSelector.d.ts +42 -0
- package/lib/view/opExByVendor/opExByVendorSelector.js +168 -0
- package/lib/view/ownerList/fetchOwnerListEpic.d.ts +8 -0
- package/lib/view/ownerList/fetchOwnerListEpic.js +35 -0
- package/lib/view/people/changeZeniPersonRolesEpic.d.ts +44 -0
- package/lib/view/people/changeZeniPersonRolesEpic.js +39 -0
- package/lib/view/people/deletePersonEpic.d.ts +31 -0
- package/lib/view/people/deletePersonEpic.js +24 -0
- package/lib/view/people/fetchAllPeopleRequiredViewsEpic.d.ts +8 -0
- package/lib/view/people/fetchAllPeopleRequiredViewsEpic.js +20 -0
- package/lib/view/people/helpers/updateManagersListOnRoleChange.d.ts +11 -0
- package/lib/view/people/helpers/updateManagersListOnRoleChange.js +16 -0
- package/lib/view/people/initializeEditPersonEpic.d.ts +5 -0
- package/lib/view/people/initializeEditPersonEpic.js +39 -0
- package/lib/view/people/invitePeopleEpic.d.ts +48 -0
- package/lib/view/people/invitePeopleEpic.js +53 -0
- package/lib/view/people/inviteZeniPeopleEpic.d.ts +50 -0
- package/lib/view/people/inviteZeniPeopleEpic.js +52 -0
- package/lib/view/people/peopleSaveUpdatesEpic.d.ts +6 -0
- package/lib/view/people/peopleSaveUpdatesEpic.js +83 -0
- package/lib/view/people/peopleSelector.d.ts +7 -0
- package/lib/view/people/peopleSelector.js +149 -0
- package/lib/view/people/resendInviteEpic.d.ts +26 -0
- package/lib/view/people/resendInviteEpic.js +25 -0
- package/lib/view/profitAndLoss/pAndLWithForecast/pAndLWithForecastSelector.d.ts +17 -0
- package/lib/view/profitAndLoss/pAndLWithForecast/pAndLWithForecastSelector.js +49 -0
- package/lib/view/profitAndLoss/profitAndLossSelector.d.ts +40 -0
- package/lib/view/profitAndLoss/profitAndLossSelector.js +104 -0
- package/lib/view/profitAndLossClassesView/profitAndLossClassesViewSelector.d.ts +8 -0
- package/lib/view/profitAndLossClassesView/profitAndLossClassesViewSelector.js +98 -0
- package/lib/view/profitAndLossClassesView/profitAndLossClassesViewSelectorTypes.d.ts +13 -0
- package/lib/view/profitAndLossClassesView/profitAndLossClassesViewSelectorTypes.js +26 -0
- package/lib/view/recommendation/fetchEntityRecommendationsByTransactionIdEpic.d.ts +10 -0
- package/lib/view/recommendation/fetchEntityRecommendationsByTransactionIdEpic.js +56 -0
- package/lib/view/recommendation/fetchRecommendationByEntityIdEpic.d.ts +7 -0
- package/lib/view/recommendation/fetchRecommendationByEntityIdEpic.js +39 -0
- package/lib/view/recommendation/fetchRecommendationByEntityNameEpic.d.ts +7 -0
- package/lib/view/recommendation/fetchRecommendationByEntityNameEpic.js +38 -0
- package/lib/view/recommendation/recommendationHelper.d.ts +6 -0
- package/lib/view/recommendation/recommendationHelper.js +58 -0
- package/lib/view/recommendation/recommendationPayload.d.ts +10 -0
- package/lib/view/recommendation/recommendationPayload.js +2 -0
- package/lib/view/referralView/epics/fetchReferralsEpic.d.ts +7 -0
- package/lib/view/referralView/epics/fetchReferralsEpic.js +36 -0
- package/lib/view/referralView/epics/fetchRewardsPlanEpic.d.ts +7 -0
- package/lib/view/referralView/epics/fetchRewardsPlanEpic.js +35 -0
- package/lib/view/referralView/epics/resendReferralInviteEpic.d.ts +8 -0
- package/lib/view/referralView/epics/resendReferralInviteEpic.js +33 -0
- package/lib/view/referralView/epics/sendReferralInviteEpic.d.ts +8 -0
- package/lib/view/referralView/epics/sendReferralInviteEpic.js +38 -0
- package/lib/view/referralView/referralSelector.d.ts +25 -0
- package/lib/view/referralView/referralSelector.js +90 -0
- package/lib/view/reimbursementCard/fetchReimbursementCardEpic.d.ts +8 -0
- package/lib/view/reimbursementCard/fetchReimbursementCardEpic.js +45 -0
- package/lib/view/reimbursementCard/reimbursementCardSelector.d.ts +12 -0
- package/lib/view/reimbursementCard/reimbursementCardSelector.js +16 -0
- package/lib/view/reportUIOptions/toggleReportUIOptionForecastModeEpic.d.ts +11 -0
- package/lib/view/reportUIOptions/toggleReportUIOptionForecastModeEpic.js +40 -0
- package/lib/view/reportUIOptions/updateReportUIOptionCOABalancesRangeEpic.d.ts +43 -0
- package/lib/view/reportUIOptions/updateReportUIOptionCOABalancesRangeEpic.js +74 -0
- package/lib/view/reportUIOptions/updateReportUIOptionCompareModeEpic.d.ts +17 -0
- package/lib/view/reportUIOptions/updateReportUIOptionCompareModeEpic.js +54 -0
- package/lib/view/reportUIOptions/updateReportUIOptionIsCompareModeOnEpic.d.ts +10 -0
- package/lib/view/reportUIOptions/updateReportUIOptionIsCompareModeOnEpic.js +68 -0
- package/lib/view/reportUIOptions/updateReportUIOptionThisPeriodEpic.d.ts +14 -0
- package/lib/view/reportUIOptions/updateReportUIOptionThisPeriodEpic.js +32 -0
- package/lib/view/reportUIOptions/updateReportUIOptionTimeFrameEpic.d.ts +11 -0
- package/lib/view/reportUIOptions/updateReportUIOptionTimeFrameEpic.js +15 -0
- package/lib/view/revenueClassesView/revenueClassesViewSelector.d.ts +12 -0
- package/lib/view/revenueClassesView/revenueClassesViewSelector.js +94 -0
- package/lib/view/revenueClassesView/revenueClassesViewSelectorTypes.d.ts +15 -0
- package/lib/view/revenueClassesView/revenueClassesViewSelectorTypes.js +16 -0
- package/lib/view/reviewCompanyView/fetchReviewCompanyViewEpic.d.ts +7 -0
- package/lib/view/reviewCompanyView/fetchReviewCompanyViewEpic.js +39 -0
- package/lib/view/reviewCompanyView/retryBankAccountConnectionEpic.d.ts +8 -0
- package/lib/view/reviewCompanyView/retryBankAccountConnectionEpic.js +77 -0
- package/lib/view/reviewCompanyView/reviewCompanyViewSelector.d.ts +15 -0
- package/lib/view/reviewCompanyView/reviewCompanyViewSelector.js +87 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/createNewSchedulesEpic.d.ts +6 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/createNewSchedulesEpic.js +35 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/deleteScheduleDetailEpic.d.ts +8 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/deleteScheduleDetailEpic.js +80 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsEpic.d.ts +8 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsEpic.js +58 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsPageEpic.d.ts +8 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsPageEpic.js +26 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/initializeScheduleDetailLocalDataEpic.d.ts +6 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/initializeScheduleDetailLocalDataEpic.js +35 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/saveScheduleDetailsEpic.d.ts +11 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/saveScheduleDetailsEpic.js +101 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/updateAmountsInScheduleDetailEpic.d.ts +6 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/updateAmountsInScheduleDetailEpic.js +36 -0
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.d.ts +64 -0
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.js +171 -0
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailSelector.d.ts +33 -0
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailSelector.js +99 -0
- package/lib/view/scheduleView/scheduleListView/epics/fetchDownloadSchedulesEpic.d.ts +8 -0
- package/lib/view/scheduleView/scheduleListView/epics/fetchDownloadSchedulesEpic.js +53 -0
- package/lib/view/scheduleView/scheduleListView/epics/fetchScheduleListEpic.d.ts +17 -0
- package/lib/view/scheduleView/scheduleListView/epics/fetchScheduleListEpic.js +66 -0
- package/lib/view/scheduleView/scheduleListView/epics/fetchSchedulesAccountEpic.d.ts +6 -0
- package/lib/view/scheduleView/scheduleListView/epics/fetchSchedulesAccountEpic.js +15 -0
- package/lib/view/scheduleView/scheduleListView/scheduleListHelper.d.ts +97 -0
- package/lib/view/scheduleView/scheduleListView/scheduleListHelper.js +269 -0
- package/lib/view/scheduleView/scheduleListView/scheduleListPayload.d.ts +7 -0
- package/lib/view/scheduleView/scheduleListView/scheduleListPayload.js +2 -0
- package/lib/view/scheduleView/scheduleListView/scheduleListSelector.d.ts +36 -0
- package/lib/view/scheduleView/scheduleListView/scheduleListSelector.js +210 -0
- package/lib/view/settingsView/epic/fetchBankAccountsListEpic.d.ts +22 -0
- package/lib/view/settingsView/epic/fetchBankAccountsListEpic.js +30 -0
- package/lib/view/settingsView/epic/fetchBankConnectionsViewEpic.d.ts +6 -0
- package/lib/view/settingsView/epic/fetchBankConnectionsViewEpic.js +14 -0
- package/lib/view/settingsView/epic/fetchMyProfileEpic.d.ts +43 -0
- package/lib/view/settingsView/epic/fetchMyProfileViewEpic.d.ts +7 -0
- package/lib/view/settingsView/epic/fetchMyProfileViewEpic.js +17 -0
- package/lib/view/settingsView/epic/fetchNotificationSettingsEpic.d.ts +17 -0
- package/lib/view/settingsView/epic/fetchNotificationSettingsEpic.js +23 -0
- package/lib/view/settingsView/epic/saveNotificationSettingsEpic.d.ts +31 -0
- package/lib/view/settingsView/epic/saveNotificationSettingsEpic.js +70 -0
- package/lib/view/settingsView/settingsViewHelpers.d.ts +12 -0
- package/lib/view/settingsView/settingsViewHelpers.js +116 -0
- package/lib/view/settingsView/settingsViewSelector.d.ts +16 -0
- package/lib/view/settingsView/settingsViewSelector.js +122 -0
- package/lib/view/settingsView/types/settingsViewSelectorTypes.d.ts +29 -0
- package/lib/view/settingsView/types/settingsViewSelectorTypes.js +2 -0
- package/lib/view/spendManagement/billPay/billDetailView/epics/approveOrRejectBillEpic.d.ts +11 -0
- package/lib/view/spendManagement/billPay/billDetailView/epics/approveOrRejectBillEpic.js +54 -0
- package/lib/view/spendManagement/billPay/billDetailView/epics/cancelAndDeleteBillEpic.d.ts +13 -0
- package/lib/view/spendManagement/billPay/billDetailView/epics/cancelAndDeleteBillEpic.js +78 -0
- package/lib/view/spendManagement/billPay/billDetailView/epics/deleteBillEpic.d.ts +10 -0
- package/lib/view/spendManagement/billPay/billDetailView/epics/deleteBillEpic.js +66 -0
- package/lib/view/spendManagement/billPay/billDetailView/epics/fetchBillDetailEpic.d.ts +41 -0
- package/lib/view/spendManagement/billPay/billDetailView/epics/fetchBillDetailEpic.js +161 -0
- package/lib/view/spendManagement/billPay/billList/billListDownloadSelector.d.ts +12 -0
- package/lib/view/spendManagement/billPay/billList/billListDownloadSelector.js +69 -0
- package/lib/view/spendManagement/billPay/billList/fetchBillListEpic.d.ts +7 -0
- package/lib/view/spendManagement/billPay/billList/fetchBillListEpic.js +42 -0
- package/lib/view/spendManagement/billPay/billList/fetchBillListPerTabEpic.d.ts +11 -0
- package/lib/view/spendManagement/billPay/billList/fetchBillListPerTabEpic.js +49 -0
- package/lib/view/spendManagement/billPay/billPayConfig/fetchBillPayConfigEpic.d.ts +7 -0
- package/lib/view/spendManagement/billPay/billPayConfig/fetchBillPayConfigEpic.js +29 -0
- package/lib/view/spendManagement/billPay/billPayReview/billPayReviewPayload.d.ts +18 -0
- package/lib/view/spendManagement/billPay/billPayReview/billPayReviewPayload.js +2 -0
- package/lib/view/spendManagement/billPay/billPayReview/fetchDuplicateBillEpic.d.ts +8 -0
- package/lib/view/spendManagement/billPay/billPayReview/fetchDuplicateBillEpic.js +42 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewPayload.d.ts +12 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewPayload.js +2 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/deleteBillPayApprovalRuleEpic.d.ts +10 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/deleteBillPayApprovalRuleEpic.js +40 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPayApproversDetailsEpic.d.ts +7 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPayApproversDetailsEpic.js +29 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPayApproversListEpic.d.ts +9 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPayApproversListEpic.js +40 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPaySetupApproverViewEpic.d.ts +9 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPaySetupApproverViewEpic.js +42 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/initializeBillPaySetupApproverViewUpdateDataEpic.d.ts +5 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/initializeBillPaySetupApproverViewUpdateDataEpic.js +37 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/saveBillPaySetupApproverViewUpdatesEpic.d.ts +10 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/saveBillPaySetupApproverViewUpdatesEpic.js +67 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/types/commonPayload.d.ts +19 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/types/commonPayload.js +50 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewPayload.d.ts +6 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewPayload.js +2 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewSelector.d.ts +16 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewSelector.js +29 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPaySetup/fetchBillPaySetupViewEpic.d.ts +16 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPaySetup/fetchBillPaySetupViewEpic.js +70 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPayTerms/acceptBillPayTermsEpic.d.ts +11 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPayTerms/acceptBillPayTermsEpic.js +44 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPayTerms/acceptBillPayUpdatedTermsEpic.d.ts +11 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPayTerms/acceptBillPayUpdatedTermsEpic.js +44 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/types/billPayTerms.d.ts +10 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/types/billPayTerms.js +2 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/convertAmountToHomeCurrencyEpic.d.ts +7 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/convertAmountToHomeCurrencyEpic.js +88 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/fetchBillAndInitializeLocalStoreEpic.d.ts +13 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/fetchBillAndInitializeLocalStoreEpic.js +58 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/fetchEditBillDetailPageEpic.d.ts +14 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/fetchEditBillDetailPageEpic.js +94 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/fetchVendorByNameAndParseInvoice.d.ts +14 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/fetchVendorByNameAndParseInvoice.js +39 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/initializeBillToLocalStoreEpic.d.ts +15 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/initializeBillToLocalStoreEpic.js +214 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/parseInvoiceToBillEpic.d.ts +14 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/parseInvoiceToBillEpic.js +406 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/saveBillDetailEpic.d.ts +17 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/saveBillDetailEpic.js +255 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/updateVendorContactEpic.d.ts +11 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/updateVendorContactEpic.js +116 -0
- package/lib/view/spendManagement/billPay/internationalWire/epics/createInternationalPaymentInstrumentEpic.d.ts +10 -0
- package/lib/view/spendManagement/billPay/internationalWire/epics/createInternationalPaymentInstrumentEpic.js +117 -0
- package/lib/view/spendManagement/billPay/internationalWire/epics/deletePaymentInstrumentEpic.d.ts +9 -0
- package/lib/view/spendManagement/billPay/internationalWire/epics/deletePaymentInstrumentEpic.js +59 -0
- package/lib/view/spendManagement/billPay/internationalWire/epics/fetchInternationalWireDynamicFormEpic.d.ts +7 -0
- package/lib/view/spendManagement/billPay/internationalWire/epics/fetchInternationalWireDynamicFormEpic.js +54 -0
- package/lib/view/spendManagement/billPay/internationalWire/epics/initializeDynamicFormEpic.d.ts +8 -0
- package/lib/view/spendManagement/billPay/internationalWire/epics/initializeDynamicFormEpic.js +41 -0
- package/lib/view/spendManagement/billPay/internationalWire/epics/initializeInternationalWireLocalDataEpic.d.ts +6 -0
- package/lib/view/spendManagement/billPay/internationalWire/epics/initializeInternationalWireLocalDataEpic.js +49 -0
- package/lib/view/spendManagement/billPay/internationalWire/internationalWireSelector.d.ts +12 -0
- package/lib/view/spendManagement/billPay/internationalWire/internationalWireSelector.js +49 -0
- package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBankNameByRoutingEpic.d.ts +7 -0
- package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBankNameByRoutingEpic.js +44 -0
- package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBankNameBySwiftEpic.d.ts +7 -0
- package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBankNameBySwiftEpic.js +44 -0
- package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBillEpic.d.ts +7 -0
- package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBillEpic.js +42 -0
- package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkTenantEpic.d.ts +7 -0
- package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkTenantEpic.js +35 -0
- package/lib/view/spendManagement/billPay/magicLinkView/epics/saveMagicLinkBankAccountEpic.d.ts +8 -0
- package/lib/view/spendManagement/billPay/magicLinkView/epics/saveMagicLinkBankAccountEpic.js +97 -0
- package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewPayload.d.ts +41 -0
- package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewPayload.js +2 -0
- package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewSelector.d.ts +15 -0
- package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewSelector.js +57 -0
- package/lib/view/spendManagement/billPay/previousBills/fetchPreviousBillsEpic.d.ts +8 -0
- package/lib/view/spendManagement/billPay/previousBills/fetchPreviousBillsEpic.js +66 -0
- package/lib/view/spendManagement/billPay/previousBills/previousBillsPayload.d.ts +24 -0
- package/lib/view/spendManagement/billPay/previousBills/previousBillsPayload.js +2 -0
- package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectEpic.d.ts +7 -0
- package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectEpic.js +32 -0
- package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectSelector.d.ts +3 -0
- package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectSelector.js +12 -0
- package/lib/view/spendManagement/chargeCards/chargeCardConfig/fetchChargeCardConfigEpic.d.ts +7 -0
- package/lib/view/spendManagement/chargeCards/chargeCardConfig/fetchChargeCardConfigEpic.js +23 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector.d.ts +18 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector.js +73 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailEpic.d.ts +11 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailEpic.js +58 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailPageEpic.d.ts +7 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailPageEpic.js +45 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardTransactionListEpic.d.ts +8 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardTransactionListEpic.js +44 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/updateChargeCardDetailEpic.d.ts +11 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/updateChargeCardDetailEpic.js +60 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.d.ts +31 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.js +92 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/fetchChargeCardListEpic.d.ts +10 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/fetchChargeCardListEpic.js +26 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/fetchChargeCardListPageEpic.d.ts +9 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/fetchChargeCardListPageEpic.js +51 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/fetchCreditAccountEpic.d.ts +7 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/fetchCreditAccountEpic.js +23 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/issueChargeCardEpic.d.ts +11 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/issueChargeCardEpic.js +65 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewPayload.d.ts +6 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewPayload.js +2 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewSelector.d.ts +18 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewSelector.js +33 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/acceptChargeCardTermsEpic.d.ts +11 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/acceptChargeCardTermsEpic.js +44 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/fetchChargeCardSetupViewEpic.d.ts +16 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/fetchChargeCardSetupViewEpic.js +70 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/types/chargeCardTerms.d.ts +10 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/types/chargeCardTerms.js +2 -0
- package/lib/view/spendManagement/commonHistoryView/fetchEntityHistoryEpic.d.ts +7 -0
- package/lib/view/spendManagement/commonHistoryView/fetchEntityHistoryEpic.js +61 -0
- package/lib/view/spendManagement/commonSetup/epic/paymentAccounts/getPaymentAccountsEpic.d.ts +9 -0
- package/lib/view/spendManagement/commonSetup/epic/paymentAccounts/getPaymentAccountsEpic.js +33 -0
- package/lib/view/spendManagement/commonSetup/epic/paymentAccounts/updatePaymentAccountEpic.d.ts +9 -0
- package/lib/view/spendManagement/commonSetup/epic/paymentAccounts/updatePaymentAccountEpic.js +31 -0
- package/lib/view/spendManagement/commonSetup/epic/paymentAccounts/updatePaymentAccountLoginStatusEpic.d.ts +10 -0
- package/lib/view/spendManagement/commonSetup/epic/paymentAccounts/updatePaymentAccountLoginStatusEpic.js +37 -0
- package/lib/view/spendManagement/commonSetup/epic/paymentAccounts/updatePaymentAccountStatusEpic.d.ts +10 -0
- package/lib/view/spendManagement/commonSetup/epic/paymentAccounts/updatePaymentAccountStatusEpic.js +37 -0
- package/lib/view/spendManagement/commonSetup/epic/plaidConnection/establishPlaidConnectionEpic.d.ts +13 -0
- package/lib/view/spendManagement/commonSetup/epic/plaidConnection/establishPlaidConnectionEpic.js +70 -0
- package/lib/view/spendManagement/commonSetup/epic/plaidConnection/getPlaidLinkTokenEpic.d.ts +15 -0
- package/lib/view/spendManagement/commonSetup/epic/plaidConnection/getPlaidLinkTokenEpic.js +52 -0
- package/lib/view/spendManagement/commonSetup/epic/setup/enableSetupEpic.d.ts +10 -0
- package/lib/view/spendManagement/commonSetup/epic/setup/enableSetupEpic.js +52 -0
- package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.d.ts +25 -0
- package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.js +248 -0
- package/lib/view/spendManagement/commonSetup/epic/setup/updateSetupViewLocalStoreDataEpic.d.ts +14 -0
- package/lib/view/spendManagement/commonSetup/epic/setup/updateSetupViewLocalStoreDataEpic.js +135 -0
- package/lib/view/spendManagement/commonSetup/setupViewPayload.d.ts +21 -0
- package/lib/view/spendManagement/commonSetup/setupViewPayload.js +2 -0
- package/lib/view/spendManagement/commonSetup/types/paymentAccount.d.ts +10 -0
- package/lib/view/spendManagement/commonSetup/types/paymentAccount.js +2 -0
- package/lib/view/spendManagement/commonSetup/types/plaidConnection.d.ts +6 -0
- package/lib/view/spendManagement/commonSetup/types/plaidConnection.js +2 -0
- package/lib/view/spendManagement/merchantList/fetchMerchantListEpic.d.ts +10 -0
- package/lib/view/spendManagement/merchantList/fetchMerchantListEpic.js +31 -0
- package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalPayload.d.ts +8 -0
- package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalPayload.js +2 -0
- package/lib/view/spendManagement/realTimeApprovalView/saveRealTimeApprovalEpic.d.ts +11 -0
- package/lib/view/spendManagement/realTimeApprovalView/saveRealTimeApprovalEpic.js +127 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchCurrencyConversionValueEpic.d.ts +7 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchCurrencyConversionValueEpic.js +63 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchEditRemiDetailPageEpic.d.ts +13 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchEditRemiDetailPageEpic.js +78 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRecommendationsAndUpdateMerchantRecommendationsEpic.d.ts +16 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRecommendationsAndUpdateMerchantRecommendationsEpic.js +127 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRemiAndInitializeLocalStoreEpic.d.ts +12 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRemiAndInitializeLocalStoreEpic.js +56 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/parseReceiptsToRemiEpic.d.ts +10 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/parseReceiptsToRemiEpic.js +165 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/saveRemiDetailEpic.d.ts +15 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/saveRemiDetailEpic.js +123 -0
- package/lib/view/spendManagement/reimbursement/reimbursementConfig/fetchReimbursementConfigEpic.d.ts +8 -0
- package/lib/view/spendManagement/reimbursement/reimbursementConfig/fetchReimbursementConfigEpic.js +25 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/approveOrRejectRemiEpic.d.ts +11 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/approveOrRejectRemiEpic.js +57 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/cancelAndDeleteRemiEpic.d.ts +9 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/cancelAndDeleteRemiEpic.js +66 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/deleteRemiEpic.d.ts +9 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/deleteRemiEpic.js +55 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/fetchDuplicateReimbursementEpic.d.ts +7 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/fetchDuplicateReimbursementEpic.js +66 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/fetchRemiDetailEpic.d.ts +19 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/fetchRemiDetailEpic.js +116 -0
- package/lib/view/spendManagement/reimbursement/remiListView/fetchRemiListEpic.d.ts +7 -0
- package/lib/view/spendManagement/reimbursement/remiListView/fetchRemiListEpic.js +42 -0
- package/lib/view/spendManagement/reimbursement/remiListView/fetchRemiListPerTabEpic.d.ts +10 -0
- package/lib/view/spendManagement/reimbursement/remiListView/fetchRemiListPerTabEpic.js +51 -0
- package/lib/view/spendManagement/reimbursement/remiListView/remiListDownloadSelector.d.ts +14 -0
- package/lib/view/spendManagement/reimbursement/remiListView/remiListDownloadSelector.js +75 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/deleteRemiApprovalRuleEpic.d.ts +10 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/deleteRemiApprovalRuleEpic.js +40 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiApproversDetailsEpic.d.ts +7 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiApproversDetailsEpic.js +29 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiApproversListEpic.d.ts +10 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiApproversListEpic.js +40 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiSetupApproverViewEpic.d.ts +9 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiSetupApproverViewEpic.js +42 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/initializeRemiSetupApproverViewUpdateDataEpic.d.ts +5 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/initializeRemiSetupApproverViewUpdateDataEpic.js +37 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/saveRemiSetupApproverViewUpdatesEpic.d.ts +10 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/saveRemiSetupApproverViewUpdatesEpic.js +67 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewPayload.d.ts +14 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewPayload.js +2 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/fetchRemiSetupViewEpic.d.ts +16 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/fetchRemiSetupViewEpic.js +72 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/updateMileageDetailsEpic.d.ts +16 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/updateMileageDetailsEpic.js +80 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/updateRemiSetupViewLocalStoreDataEpic.d.ts +13 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/updateRemiSetupViewLocalStoreDataEpic.js +41 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiTerms/acceptEmployeeRemiTermsEpic.d.ts +9 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiTerms/acceptEmployeeRemiTermsEpic.js +38 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiTerms/acceptRemiTermsEpic.d.ts +11 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiTerms/acceptRemiTermsEpic.js +44 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewPayload.d.ts +6 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewPayload.js +2 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewSelector.d.ts +26 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewSelector.js +44 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/types/remiTerms.d.ts +14 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/types/remiTerms.js +2 -0
- package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositEpic.d.ts +8 -0
- package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositEpic.js +49 -0
- package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositSelector.d.ts +15 -0
- package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositSelector.js +32 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailSelector.d.ts +26 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailSelector.js +87 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountDetailEpic.d.ts +11 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountDetailEpic.js +53 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountEpic.d.ts +8 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountEpic.js +36 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountHistoryEpic.d.ts +7 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountHistoryEpic.js +38 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/updateDepositAccountEpic.d.ts +9 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/updateDepositAccountEpic.js +68 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountList/fetchDepositAccountListEpic.d.ts +9 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountList/fetchDepositAccountListEpic.js +38 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListPayload.d.ts +17 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListPayload.js +2 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListSelector.d.ts +9 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListSelector.js +26 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/fetchDepositAccountTransactionListEpic.d.ts +8 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/fetchDepositAccountTransactionListEpic.js +58 -0
- package/lib/view/spendManagement/zeniAccounts/paymentAccountList/fetchPaymentAccountListEpic.d.ts +9 -0
- package/lib/view/spendManagement/zeniAccounts/paymentAccountList/fetchPaymentAccountListEpic.js +35 -0
- package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListPayload.d.ts +3 -0
- package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListPayload.js +2 -0
- package/lib/view/spendManagement/zeniAccounts/paymentAccountList/unlinkPaymentAccountEpic.d.ts +8 -0
- package/lib/view/spendManagement/zeniAccounts/paymentAccountList/unlinkPaymentAccountEpic.js +54 -0
- package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailPayload.d.ts +9 -0
- package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailPayload.js +2 -0
- package/lib/view/spendManagement/zeniAccounts/transferDetail/transferMoneyEpic.d.ts +9 -0
- package/lib/view/spendManagement/zeniAccounts/transferDetail/transferMoneyEpic.js +58 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountList/createCheckingAccountEpic.d.ts +10 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountList/createCheckingAccountEpic.js +69 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountList/fetchZeniAccountListPageEpic.d.ts +9 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountList/fetchZeniAccountListPageEpic.js +38 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListSelector.d.ts +22 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListSelector.js +59 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/epic/acceptZeniAccountTermsEpic.d.ts +11 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/epic/acceptZeniAccountTermsEpic.js +45 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/epic/fetchZeniAccountSetupViewEpic.d.ts +16 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/epic/fetchZeniAccountSetupViewEpic.js +71 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/types/zeniAccountTerms.d.ts +10 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/types/zeniAccountTerms.js +2 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewPayload.d.ts +6 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewPayload.js +2 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewSelector.d.ts +18 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewSelector.js +33 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/fetchZeniAccountsConfigEpic.d.ts +8 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/fetchZeniAccountsConfigEpic.js +33 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigSelector.d.ts +14 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigSelector.js +23 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionAddOnsEpic.d.ts +8 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionAddOnsEpic.js +39 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionCouponsEpic.d.ts +8 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionCouponsEpic.js +39 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionCreateEstimateEpic.d.ts +7 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionCreateEstimateEpic.js +49 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionDetailsEpic.d.ts +12 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionDetailsEpic.js +73 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionListEpic.d.ts +22 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionListEpic.js +87 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionPlansEpic.d.ts +8 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionPlansEpic.js +38 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionUpdateEstimateEpic.d.ts +7 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionUpdateEstimateEpic.js +52 -0
- package/lib/view/subscriptionView/epic/initializeSubscriptionLocalDataEpic.d.ts +5 -0
- package/lib/view/subscriptionView/epic/initializeSubscriptionLocalDataEpic.js +44 -0
- package/lib/view/subscriptionView/epic/saveSubscriptionNotesUpdatesEpic.d.ts +7 -0
- package/lib/view/subscriptionView/epic/saveSubscriptionNotesUpdatesEpic.js +36 -0
- package/lib/view/subscriptionView/epic/saveSubscriptionUpdatesEpic.d.ts +11 -0
- package/lib/view/subscriptionView/epic/saveSubscriptionUpdatesEpic.js +92 -0
- package/lib/view/subscriptionView/reduceSubscriptionViewFetchState.d.ts +3 -0
- package/lib/view/subscriptionView/reduceSubscriptionViewFetchState.js +49 -0
- package/lib/view/subscriptionView/selectorHelpers.d.ts +4 -0
- package/lib/view/subscriptionView/selectorHelpers.js +33 -0
- package/lib/view/subscriptionView/subscriptionViewPayload.d.ts +78 -0
- package/lib/view/subscriptionView/subscriptionViewPayload.js +42 -0
- package/lib/view/subscriptionView/subscriptionViewSelector.d.ts +7 -0
- package/lib/view/subscriptionView/subscriptionViewSelector.js +416 -0
- package/lib/view/subscriptionView/subscriptionViewSelectorTypes.d.ts +56 -0
- package/lib/view/subscriptionView/subscriptionViewSelectorTypes.js +2 -0
- package/lib/view/taskManager/taskDetailView/epics/archiveTaskEpic.d.ts +15 -0
- package/lib/view/taskManager/taskDetailView/epics/archiveTaskEpic.js +69 -0
- package/lib/view/taskManager/taskDetailView/epics/deleteTaskEpic.d.ts +7 -0
- package/lib/view/taskManager/taskDetailView/epics/deleteTaskEpic.js +46 -0
- package/lib/view/taskManager/taskDetailView/epics/fetchTaskDetailEpic.d.ts +9 -0
- package/lib/view/taskManager/taskDetailView/epics/fetchTaskDetailEpic.js +66 -0
- package/lib/view/taskManager/taskDetailView/epics/fetchTaskDetailPageEpic.d.ts +8 -0
- package/lib/view/taskManager/taskDetailView/epics/fetchTaskDetailPageEpic.js +38 -0
- package/lib/view/taskManager/taskDetailView/epics/fetchTaskHistoryEpic.d.ts +7 -0
- package/lib/view/taskManager/taskDetailView/epics/fetchTaskHistoryEpic.js +54 -0
- package/lib/view/taskManager/taskDetailView/epics/initializeTaskToLocalStoreEpic.d.ts +6 -0
- package/lib/view/taskManager/taskDetailView/epics/initializeTaskToLocalStoreEpic.js +36 -0
- package/lib/view/taskManager/taskDetailView/epics/saveTaskDetailEpic.d.ts +8 -0
- package/lib/view/taskManager/taskDetailView/epics/saveTaskDetailEpic.js +79 -0
- package/lib/view/taskManager/taskDetailView/taskDetailSelector.d.ts +25 -0
- package/lib/view/taskManager/taskDetailView/taskDetailSelector.js +182 -0
- package/lib/view/taskManager/taskListView/fetchTaskListEpic.d.ts +8 -0
- package/lib/view/taskManager/taskListView/fetchTaskListEpic.js +33 -0
- package/lib/view/taskManager/taskListView/fetchTaskListPageEpic.d.ts +8 -0
- package/lib/view/taskManager/taskListView/fetchTaskListPageEpic.js +32 -0
- package/lib/view/taskManager/taskListView/taskListPayload.d.ts +6 -0
- package/lib/view/taskManager/taskListView/taskListPayload.js +2 -0
- package/lib/view/tasksCard/fetchTasksCardEpic.d.ts +14 -0
- package/lib/view/tasksCard/fetchTasksCardEpic.js +19 -0
- package/lib/view/tasksCard/tasksCardSelector.d.ts +20 -0
- package/lib/view/tasksCard/tasksCardSelector.js +53 -0
- package/lib/view/topEx/topExSelector.d.ts +38 -0
- package/lib/view/topEx/topExSelector.js +69 -0
- package/lib/view/topEx/topExSelectorTypes.d.ts +35 -0
- package/lib/view/topEx/topExSelectorTypes.js +2 -0
- package/lib/view/transactionDetail/epics/initializeTransactionDetailLocalDataEpic.d.ts +5 -0
- package/lib/view/transactionDetail/epics/initializeTransactionDetailLocalDataEpic.js +28 -0
- package/lib/view/transactionDetail/epics/markTransactionAsNotMiscategorizedEpic.d.ts +8 -0
- package/lib/view/transactionDetail/epics/markTransactionAsNotMiscategorizedEpic.js +52 -0
- package/lib/view/transactionDetail/epics/saveTransactionDetailEpic.d.ts +5 -0
- package/lib/view/transactionDetail/epics/saveTransactionDetailEpic.js +32 -0
- package/lib/view/transactionDetail/epics/saveTransactionHelper.d.ts +21 -0
- package/lib/view/transactionDetail/epics/saveTransactionHelper.js +288 -0
- package/lib/view/transactionDetail/epics/transactionDetailEpic.d.ts +14 -0
- package/lib/view/transactionDetail/epics/transactionDetailEpic.js +130 -0
- package/lib/view/transactionDetail/epics/updateTransactionDetailEpic.d.ts +9 -0
- package/lib/view/transactionDetail/epics/updateTransactionDetailEpic.js +214 -0
- package/lib/view/transactionDetail/epics/uploadMissingReceiptSuccessEpic.d.ts +10 -0
- package/lib/view/transactionDetail/epics/uploadMissingReceiptSuccessEpic.js +15 -0
- package/lib/view/transactionDetail/transactionDetailPayload.d.ts +34 -0
- package/lib/view/transactionDetail/transactionDetailPayload.js +2 -0
- package/lib/view/transactionDetail/transactionDetailSelector.d.ts +34 -0
- package/lib/view/transactionDetail/transactionDetailSelector.js +168 -0
- package/lib/view/transactionList/fetchTransactionListByAccountEpic.d.ts +8 -0
- package/lib/view/transactionList/fetchTransactionListByAccountEpic.js +58 -0
- package/lib/view/transactionList/fetchTransactionListByClassEpic.d.ts +8 -0
- package/lib/view/transactionList/fetchTransactionListByClassEpic.js +53 -0
- package/lib/view/transactionList/fetchTransactionListByEntityEpic.d.ts +8 -0
- package/lib/view/transactionList/fetchTransactionListByEntityEpic.js +53 -0
- package/lib/view/transactionList/fetchTransactionsListByCategoryTypeEpic.d.ts +8 -0
- package/lib/view/transactionList/fetchTransactionsListByCategoryTypeEpic.js +71 -0
- package/lib/view/transactionList/parallelFetchClassTransactionListEpic.d.ts +12 -0
- package/lib/view/transactionList/parallelFetchClassTransactionListEpic.js +84 -0
- package/lib/view/transactionList/parallelFetchEntityTransactionListEpic.d.ts +14 -0
- package/lib/view/transactionList/parallelFetchEntityTransactionListEpic.js +90 -0
- package/lib/view/transactionList/parallelFetchTransactionListByCategoryTypeEpic.d.ts +6 -0
- package/lib/view/transactionList/parallelFetchTransactionListByCategoryTypeEpic.js +36 -0
- package/lib/view/transactionList/transactionListByAccountSelector.d.ts +21 -0
- package/lib/view/transactionList/transactionListByAccountSelector.js +65 -0
- package/lib/view/transactionList/transactionListByCategoryTypeSelector.d.ts +15 -0
- package/lib/view/transactionList/transactionListByCategoryTypeSelector.js +54 -0
- package/lib/view/transactionList/transactionListByClassSelector.d.ts +22 -0
- package/lib/view/transactionList/transactionListByClassSelector.js +66 -0
- package/lib/view/trend/fetchExpenseTrendEpic.d.ts +8 -0
- package/lib/view/trend/fetchExpenseTrendEpic.js +59 -0
- package/lib/view/trend/fetchIncomeTrendEpic.d.ts +7 -0
- package/lib/view/trend/fetchIncomeTrendEpic.js +56 -0
- package/lib/view/trendWithTransactions/fetchTransactionsForEntityEpic.d.ts +7 -0
- package/lib/view/trendWithTransactions/fetchTransactionsForEntityEpic.js +18 -0
- package/lib/view/trendWithTransactions/fetchTrendForEntityEpic.d.ts +7 -0
- package/lib/view/trendWithTransactions/fetchTrendForEntityEpic.js +20 -0
- package/lib/view/twoFactorAuthentication/resendOtpEpic.d.ts +10 -0
- package/lib/view/twoFactorAuthentication/resendOtpEpic.js +90 -0
- package/lib/view/twoFactorAuthentication/sendOtpEpic.d.ts +10 -0
- package/lib/view/twoFactorAuthentication/sendOtpEpic.js +93 -0
- package/lib/view/twoFactorAuthentication/verifyOtpEpic.d.ts +10 -0
- package/lib/view/twoFactorAuthentication/verifyOtpEpic.js +90 -0
- package/lib/view/userFinancialAccount/fetchUserFinancialAccountEpic.d.ts +12 -0
- package/lib/view/userFinancialAccount/fetchUserFinancialAccountEpic.js +55 -0
- package/lib/view/userFinancialAccount/userFinancialAccountSelector.d.ts +14 -0
- package/lib/view/userFinancialAccount/userFinancialAccountSelector.js +35 -0
- package/lib/view/userListView/fetchUserListByTypeEpic.d.ts +30 -0
- package/lib/view/userListView/fetchUserListByTypeEpic.js +55 -0
- package/lib/view/userListView/userListViewPayload.d.ts +8 -0
- package/lib/view/userListView/userListViewPayload.js +2 -0
- package/lib/view/userRoleConfigView/userRoleConfigEpic.d.ts +7 -0
- package/lib/view/userRoleConfigView/userRoleConfigEpic.js +29 -0
- package/lib/view/userRoleConfigView/userRoleConfigSelector.d.ts +12 -0
- package/lib/view/userRoleConfigView/userRoleConfigSelector.js +12 -0
- package/lib/view/vendorList/fetchVendorsListEpic.d.ts +17 -0
- package/lib/view/vendorList/fetchVendorsListEpic.js +95 -0
- package/lib/view/vendorList/vendorListSelector.d.ts +29 -0
- package/lib/view/vendorList/vendorListSelector.js +78 -0
- package/lib/view/vendorReviewView/vendorFirstReviewView/epics/fetchVendorFirstReviewViewEpic.d.ts +17 -0
- package/lib/view/vendorReviewView/vendorFirstReviewView/epics/fetchVendorFirstReviewViewEpic.js +94 -0
- package/lib/view/vendorReviewView/vendorFirstReviewView/epics/saveVendorFirstReviewViewEpic.d.ts +10 -0
- package/lib/view/vendorReviewView/vendorFirstReviewView/epics/saveVendorFirstReviewViewEpic.js +201 -0
- package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewSelector.d.ts +39 -0
- package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewSelector.js +97 -0
- package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/approveVendorGlobalReviewEpic.d.ts +7 -0
- package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/approveVendorGlobalReviewEpic.js +119 -0
- package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/fetchVendorGlobalReviewViewEpic.d.ts +17 -0
- package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/fetchVendorGlobalReviewViewEpic.js +96 -0
- package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/rejectVendorGlobalReviewEpic.d.ts +7 -0
- package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/rejectVendorGlobalReviewEpic.js +92 -0
- package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewSelector.d.ts +22 -0
- package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewSelector.js +58 -0
- package/lib/view/vendorTypeList/vendorTypeListEpic.d.ts +7 -0
- package/lib/view/vendorTypeList/vendorTypeListEpic.js +23 -0
- package/lib/view/vendorTypeList/vendorTypeSelector.d.ts +12 -0
- package/lib/view/vendorTypeList/vendorTypeSelector.js +12 -0
- package/lib/view/zeniAccStatementList/fetchZeniAccStatementListEpic.d.ts +7 -0
- package/lib/view/zeniAccStatementList/fetchZeniAccStatementListEpic.js +37 -0
- package/lib/view/zeniAccStatementList/fetchZeniAccStatementPageEpic.d.ts +7 -0
- package/lib/view/zeniAccStatementList/fetchZeniAccStatementPageEpic.js +37 -0
- package/lib/view/zeniAccStatementList/zeniAccStatementListSelector.d.ts +10 -0
- package/lib/view/zeniAccStatementList/zeniAccStatementListSelector.js +40 -0
- package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardEpic.d.ts +13 -0
- package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardEpic.js +20 -0
- package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardSelector.d.ts +14 -0
- package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardSelector.js +18 -0
- package/package.json +1 -1
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.fetchOnboardingCustomerSetupViewEpic = void 0;
|
|
4
|
+
const rxjs_1 = require("rxjs");
|
|
5
|
+
const operators_1 = require("rxjs/operators");
|
|
6
|
+
const responsePayload_1 = require("../../../../../responsePayload");
|
|
7
|
+
const userReducer_1 = require("../../../../../entity/user/userReducer");
|
|
8
|
+
const userRoleReducer_1 = require("../../../../../entity/userRole/userRoleReducer");
|
|
9
|
+
const companyReducer_1 = require("../../../../../entity/company/companyReducer");
|
|
10
|
+
const fileReducer_1 = require("../../../../../entity/file/fileReducer");
|
|
11
|
+
const addressReducer_1 = require("../../../../../entity/address/addressReducer");
|
|
12
|
+
const accountReducer_1 = require("../../../../../entity/account/accountReducer");
|
|
13
|
+
const paymentAccountReducer_1 = require("../../../../../entity/paymentAccount/paymentAccountReducer");
|
|
14
|
+
const subscriptionPaymentAccountReducer_1 = require("../../../../../entity/subscriptionPaymentAccount/subscriptionPaymentAccountReducer");
|
|
15
|
+
const companySelector_1 = require("../../../../../entity/company/companySelector");
|
|
16
|
+
const snackbarReducer_1 = require("../../../../../entity/snackbar/snackbarReducer");
|
|
17
|
+
const onboardingCustomerViewReducer_1 = require("../../onboardingCustomerViewReducer");
|
|
18
|
+
const fetchOnboardingCustomerSetupViewEpic = (actions$, state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(onboardingCustomerViewReducer_1.fetchOnboardingCustomerSetupView.match), (0, operators_1.switchMap)((action) => {
|
|
19
|
+
var _a;
|
|
20
|
+
const { companyId, cacheOverride, reCalculateCurrentStep } = action.payload;
|
|
21
|
+
const { onboardingCustomerViewState, companyState } = state$.value;
|
|
22
|
+
const company = (_a = (0, companySelector_1.getCompanyByCompanyId)(companyState, companyId)) === null || _a === void 0 ? void 0 : _a.company;
|
|
23
|
+
if (cacheOverride === true ||
|
|
24
|
+
company == null ||
|
|
25
|
+
(onboardingCustomerViewState.hasValidState() === false &&
|
|
26
|
+
onboardingCustomerViewState.fetchState !== 'In-Progress')) {
|
|
27
|
+
return zeniAPI
|
|
28
|
+
.getJSON(`${zeniAPI.apiEndPoints.tenantMicroServiceBaseUrl}/1.0/companies/${companyId}?query={"view":"onboarding_setup"}`)
|
|
29
|
+
.pipe((0, operators_1.mergeMap)((response) => {
|
|
30
|
+
if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
|
|
31
|
+
const paymentAccountIds = response.data.payment_accounts.map((paymentAccount) => paymentAccount.payment_account_id);
|
|
32
|
+
const subscriptionPaymentAccountIds = response.data.subscription_payment_accounts.map((subscriptionPaymentAccount) => subscriptionPaymentAccount.subscription_payment_account_id);
|
|
33
|
+
const actions = [
|
|
34
|
+
(0, userReducer_1.updateAllUsers)({ users: response.data.users }),
|
|
35
|
+
(0, userRoleReducer_1.updateUserRoles)(response.data.user_roles),
|
|
36
|
+
(0, companyReducer_1.updateCompanies)({
|
|
37
|
+
payload: response.data.companies,
|
|
38
|
+
schema: {},
|
|
39
|
+
}),
|
|
40
|
+
(0, addressReducer_1.updateAddresses)(response.data.addresses),
|
|
41
|
+
(0, fileReducer_1.updateFiles)({ files: response.data.files }),
|
|
42
|
+
(0, accountReducer_1.updateAccounts)(response.data.accounts, 'onboarding'),
|
|
43
|
+
(0, paymentAccountReducer_1.updatePaymentAccounts)(response.data.payment_accounts),
|
|
44
|
+
(0, subscriptionPaymentAccountReducer_1.updateSubscriptionPaymentAccounts)(response.data.subscription_payment_accounts),
|
|
45
|
+
(0, onboardingCustomerViewReducer_1.updateOnboardingCustomerViewAccountDetails)(paymentAccountIds, subscriptionPaymentAccountIds),
|
|
46
|
+
(0, onboardingCustomerViewReducer_1.updateOnboardingCustomerViewLocalStoreData)({
|
|
47
|
+
companyId: response.data.companies[0].company_id,
|
|
48
|
+
reCalculateCurrentStep,
|
|
49
|
+
}),
|
|
50
|
+
(0, onboardingCustomerViewReducer_1.fetchOnboardingCustomerSetupViewSuccess)(),
|
|
51
|
+
];
|
|
52
|
+
return (0, rxjs_1.from)(actions);
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
return (0, rxjs_1.of)((0, snackbarReducer_1.openSnackbar)({
|
|
56
|
+
messageSection: 'onboarding_customer_view',
|
|
57
|
+
messageText: 'failed',
|
|
58
|
+
type: 'error',
|
|
59
|
+
}), (0, onboardingCustomerViewReducer_1.fetchOnboardingCustomerSetupViewFailure)(response.status));
|
|
60
|
+
}
|
|
61
|
+
}), (0, operators_1.catchError)((error) => (0, rxjs_1.of)((0, onboardingCustomerViewReducer_1.fetchOnboardingCustomerSetupViewFailure)((0, responsePayload_1.createZeniAPIStatus)('Unexpected Error', 'Fetch Customer Onboarding view errored out' +
|
|
62
|
+
JSON.stringify(error))))));
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
const { subscriptionPaymentAccountIds, paymentAccountDetails } = onboardingCustomerViewState;
|
|
66
|
+
return (0, rxjs_1.of)((0, onboardingCustomerViewReducer_1.updateOnboardingCustomerViewAccountDetails)(paymentAccountDetails.paymentAccountIds, subscriptionPaymentAccountIds), (0, onboardingCustomerViewReducer_1.updateOnboardingCustomerViewLocalStoreData)({
|
|
67
|
+
companyId,
|
|
68
|
+
reCalculateCurrentStep,
|
|
69
|
+
}), (0, onboardingCustomerViewReducer_1.fetchOnboardingCustomerSetupViewSuccess)());
|
|
70
|
+
}
|
|
71
|
+
}));
|
|
72
|
+
exports.fetchOnboardingCustomerSetupViewEpic = fetchOnboardingCustomerSetupViewEpic;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
+
import { RootState } from '../../../../../reducer';
|
|
3
|
+
import { fetchOnboardingCustomerSetupView } from '../../onboardingCustomerViewReducer';
|
|
4
|
+
import { fetchCompanyConfig } from '../../../../companyConfigView/companyConfigReducer';
|
|
5
|
+
export declare type ActionType = ReturnType<typeof fetchOnboardingCustomerSetupView> | ReturnType<typeof fetchCompanyConfig>;
|
|
6
|
+
export declare const fetchOnboardingCustomerViewEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>) => import("rxjs").Observable<{
|
|
7
|
+
payload: undefined;
|
|
8
|
+
type: string;
|
|
9
|
+
} | {
|
|
10
|
+
payload: {
|
|
11
|
+
companyId: string;
|
|
12
|
+
cacheOverride: any;
|
|
13
|
+
reCalculateCurrentStep: any;
|
|
14
|
+
};
|
|
15
|
+
type: string;
|
|
16
|
+
}>;
|
package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerViewEpic.js
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.fetchOnboardingCustomerViewEpic = void 0;
|
|
4
|
+
const rxjs_1 = require("rxjs");
|
|
5
|
+
const operators_1 = require("rxjs/operators");
|
|
6
|
+
const onboardingCustomerViewReducer_1 = require("../../onboardingCustomerViewReducer");
|
|
7
|
+
const companyConfigReducer_1 = require("../../../../companyConfigView/companyConfigReducer");
|
|
8
|
+
const fetchOnboardingCustomerViewEpic = (actions$, state$) => actions$.pipe((0, operators_1.filter)(onboardingCustomerViewReducer_1.fetchOnboardingCustomerView.match), (0, operators_1.switchMap)((action) => {
|
|
9
|
+
const { companyId, cacheOverride, reCalculateCurrentStep } = action.payload;
|
|
10
|
+
if (cacheOverride === true) {
|
|
11
|
+
return (0, rxjs_1.of)((0, onboardingCustomerViewReducer_1.fetchOnboardingCustomerSetupView)(companyId, cacheOverride, reCalculateCurrentStep), (0, companyConfigReducer_1.fetchCompanyConfig)());
|
|
12
|
+
}
|
|
13
|
+
else {
|
|
14
|
+
const state = state$.value;
|
|
15
|
+
const fetchActions = [];
|
|
16
|
+
if (state.onboardingCustomerViewState.fetchState !== 'In-Progress' &&
|
|
17
|
+
!state.onboardingCustomerViewState.hasValidState()) {
|
|
18
|
+
fetchActions.push((0, onboardingCustomerViewReducer_1.fetchOnboardingCustomerSetupView)(companyId, cacheOverride, reCalculateCurrentStep));
|
|
19
|
+
}
|
|
20
|
+
if (state.companyConfigState.fetchState !== 'In-Progress' &&
|
|
21
|
+
!state.companyConfigState.hasValidState()) {
|
|
22
|
+
fetchActions.push((0, companyConfigReducer_1.fetchCompanyConfig)());
|
|
23
|
+
}
|
|
24
|
+
return (0, rxjs_1.from)(fetchActions);
|
|
25
|
+
}
|
|
26
|
+
}));
|
|
27
|
+
exports.fetchOnboardingCustomerViewEpic = fetchOnboardingCustomerViewEpic;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { RootState } from '../../../../../reducer';
|
|
4
|
+
import { ZeniAPI } from '../../../../../zeniAPI';
|
|
5
|
+
import { updateCompanies } from '../../../../../entity/company/companyReducer';
|
|
6
|
+
import { openSnackbar } from '../../../../../entity/snackbar/snackbarReducer';
|
|
7
|
+
import { updateOnboardingCustomerViewCompleteStatus, updateOnboardingCustomerViewCompleteStatusSuccess, updateOnboardingCustomerViewCompleteStatusFailure } from '../../onboardingCustomerViewReducer';
|
|
8
|
+
export declare type ActionType = ReturnType<typeof updateOnboardingCustomerViewCompleteStatus> | ReturnType<typeof updateCompanies> | ReturnType<typeof openSnackbar> | ReturnType<typeof updateOnboardingCustomerViewCompleteStatusSuccess> | ReturnType<typeof updateOnboardingCustomerViewCompleteStatusFailure>;
|
|
9
|
+
export declare const updateOnboardingCustomerViewCompleteStatusEpic: (actions$: ActionsObservable<ActionType>, _state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.updateOnboardingCustomerViewCompleteStatusEpic = void 0;
|
|
4
|
+
const rxjs_1 = require("rxjs");
|
|
5
|
+
const operators_1 = require("rxjs/operators");
|
|
6
|
+
const responsePayload_1 = require("../../../../../responsePayload");
|
|
7
|
+
const companyReducer_1 = require("../../../../../entity/company/companyReducer");
|
|
8
|
+
const snackbarReducer_1 = require("../../../../../entity/snackbar/snackbarReducer");
|
|
9
|
+
const onboardingCustomerViewReducer_1 = require("../../onboardingCustomerViewReducer");
|
|
10
|
+
const updateOnboardingCustomerViewCompleteStatusEpic = (actions$, _state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(onboardingCustomerViewReducer_1.updateOnboardingCustomerViewCompleteStatus.match), (0, operators_1.mergeMap)((action) => {
|
|
11
|
+
const { companyId } = action.payload;
|
|
12
|
+
return zeniAPI
|
|
13
|
+
.putAndGetJSON(`${zeniAPI.apiEndPoints.tenantMicroServiceBaseUrl}/1.0/companies/${companyId}`, { is_onboarding_completed: true })
|
|
14
|
+
.pipe((0, operators_1.mergeMap)((response) => {
|
|
15
|
+
if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
|
|
16
|
+
const actions = [
|
|
17
|
+
(0, companyReducer_1.updateCompanies)({
|
|
18
|
+
payload: response.data.companies,
|
|
19
|
+
schema: {},
|
|
20
|
+
}),
|
|
21
|
+
(0, onboardingCustomerViewReducer_1.updateOnboardingCustomerViewCompleteStatusSuccess)(),
|
|
22
|
+
];
|
|
23
|
+
return (0, rxjs_1.from)(actions);
|
|
24
|
+
}
|
|
25
|
+
else {
|
|
26
|
+
return (0, rxjs_1.of)((0, snackbarReducer_1.openSnackbar)({
|
|
27
|
+
messageSection: 'onboarding_customer_view_complete',
|
|
28
|
+
messageText: 'failed',
|
|
29
|
+
type: 'error',
|
|
30
|
+
variables: [
|
|
31
|
+
{
|
|
32
|
+
variableName: '_api-error_',
|
|
33
|
+
variableValue: response.status.message,
|
|
34
|
+
},
|
|
35
|
+
],
|
|
36
|
+
}), (0, onboardingCustomerViewReducer_1.updateOnboardingCustomerViewCompleteStatusFailure)(response.status));
|
|
37
|
+
}
|
|
38
|
+
}), (0, operators_1.catchError)((error) => (0, rxjs_1.of)((0, onboardingCustomerViewReducer_1.updateOnboardingCustomerViewCompleteStatusFailure)((0, responsePayload_1.createZeniAPIStatus)('Unexpected Error', 'Update - Onboarding Customer View Complete Status errored out' +
|
|
39
|
+
JSON.stringify(error))))));
|
|
40
|
+
}));
|
|
41
|
+
exports.updateOnboardingCustomerViewCompleteStatusEpic = updateOnboardingCustomerViewCompleteStatusEpic;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { RootState } from '../../../../../reducer';
|
|
4
|
+
import { ZeniAPI } from '../../../../../zeniAPI';
|
|
5
|
+
import { openSnackbar } from '../../../../../entity/snackbar/snackbarReducer';
|
|
6
|
+
import { updateAllUsers } from '../../../../../entity/user/userReducer';
|
|
7
|
+
import { updateUserRoles } from '../../../../../entity/userRole/userRoleReducer';
|
|
8
|
+
import { updateCompanies } from '../../../../../entity/company/companyReducer';
|
|
9
|
+
import { updateAddresses } from '../../../../../entity/address/addressReducer';
|
|
10
|
+
import { updateFiles } from '../../../../../entity/file/fileReducer';
|
|
11
|
+
import { updateAccounts } from '../../../../../entity/account/accountReducer';
|
|
12
|
+
import { updatePaymentAccounts } from '../../../../../entity/paymentAccount/paymentAccountReducer';
|
|
13
|
+
import { updateOnboardingCustomerView, updateOnboardingCustomerViewSuccess, updateOnboardingCustomerViewFailure, updateOnboardingCustomerViewLocalStoreData, updateCurrentStep } from '../../onboardingCustomerViewReducer';
|
|
14
|
+
import { CompanyDetailsVerificationPayload } from '../../../../spendManagement/commonSetup/types/businessVerification';
|
|
15
|
+
import { CompanyDetailsLocalData } from '../../../../spendManagement/commonSetup/setupViewState';
|
|
16
|
+
export declare type ActionType = ReturnType<typeof updateOnboardingCustomerView> | ReturnType<typeof updateAllUsers> | ReturnType<typeof updateUserRoles> | ReturnType<typeof updateCompanies> | ReturnType<typeof updateAddresses> | ReturnType<typeof updateFiles> | ReturnType<typeof updateAccounts> | ReturnType<typeof updatePaymentAccounts> | ReturnType<typeof updateOnboardingCustomerViewLocalStoreData> | ReturnType<typeof openSnackbar> | ReturnType<typeof updateCurrentStep> | ReturnType<typeof updateOnboardingCustomerViewSuccess> | ReturnType<typeof updateOnboardingCustomerViewFailure>;
|
|
17
|
+
export declare const updateOnboardingCustomerViewEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;
|
|
18
|
+
/**
|
|
19
|
+
* Helpers
|
|
20
|
+
*/
|
|
21
|
+
export declare const toBusinessVerificationMinimalCompanyDataPayload: (companyLocalData: CompanyDetailsLocalData) => Partial<CompanyDetailsVerificationPayload>;
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.toBusinessVerificationMinimalCompanyDataPayload = exports.updateOnboardingCustomerViewEpic = void 0;
|
|
4
|
+
const rxjs_1 = require("rxjs");
|
|
5
|
+
const operators_1 = require("rxjs/operators");
|
|
6
|
+
const responsePayload_1 = require("../../../../../responsePayload");
|
|
7
|
+
const snackbarReducer_1 = require("../../../../../entity/snackbar/snackbarReducer");
|
|
8
|
+
const userReducer_1 = require("../../../../../entity/user/userReducer");
|
|
9
|
+
const userRoleReducer_1 = require("../../../../../entity/userRole/userRoleReducer");
|
|
10
|
+
const companyReducer_1 = require("../../../../../entity/company/companyReducer");
|
|
11
|
+
const addressReducer_1 = require("../../../../../entity/address/addressReducer");
|
|
12
|
+
const fileReducer_1 = require("../../../../../entity/file/fileReducer");
|
|
13
|
+
const accountReducer_1 = require("../../../../../entity/account/accountReducer");
|
|
14
|
+
const paymentAccountReducer_1 = require("../../../../../entity/paymentAccount/paymentAccountReducer");
|
|
15
|
+
const getCompanyView_1 = require("../../../../companyView/selectorHelpers/getCompanyView");
|
|
16
|
+
const onboardingCustomerViewReducer_1 = require("../../onboardingCustomerViewReducer");
|
|
17
|
+
const updateBusinessVerificationDetailsEpic_1 = require("../../../../spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic");
|
|
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;
|
|
20
|
+
const { companyId, officerType, sendForVerification, reCalculateCurrentStep = false, } = action.payload;
|
|
21
|
+
const { onboardingCustomerViewState } = state$.value;
|
|
22
|
+
const { companyDetails, primaryContactDetails, companyOfficerUpdateStatus, currentStep, } = onboardingCustomerViewState;
|
|
23
|
+
const companyLocalData = companyDetails.localData;
|
|
24
|
+
const primaryContactLocalData = primaryContactDetails.localData;
|
|
25
|
+
const companyOfficerLocalData = companyOfficerUpdateStatus[officerType].localData;
|
|
26
|
+
if (companyLocalData != null) {
|
|
27
|
+
const companyView = (0, getCompanyView_1.getCompanyView)(state$.value, companyId, []);
|
|
28
|
+
const { newAddressState } = state$.value.addressViewState;
|
|
29
|
+
const companyAddressToCreate = (_a = newAddressState === null || newAddressState === void 0 ? void 0 : newAddressState.company_address) === null || _a === void 0 ? void 0 : _a.addressToCreate;
|
|
30
|
+
const addressType = officerType
|
|
31
|
+
.toLowerCase()
|
|
32
|
+
.concat('_address');
|
|
33
|
+
const companyOfficerAddressToCreate = (_b = newAddressState === null || newAddressState === void 0 ? void 0 : newAddressState[addressType]) === null || _b === void 0 ? void 0 : _b.addressToCreate;
|
|
34
|
+
const isNewPrimaryContactUser = (primaryContactLocalData === null || primaryContactLocalData === void 0 ? void 0 : primaryContactLocalData.userId) == null ||
|
|
35
|
+
(primaryContactLocalData === null || primaryContactLocalData === void 0 ? void 0 : primaryContactLocalData.email) !==
|
|
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);
|
|
38
|
+
const primary_contact_user = primaryContactLocalData != null &&
|
|
39
|
+
Boolean(primaryContactLocalData.email) === true // Don't save Empty Primary Contact details
|
|
40
|
+
? (0, updateBusinessVerificationDetailsEpic_1.toBusinessVerificationPrimaryContactDataPayload)(primaryContactLocalData, isNewPrimaryContactUser)
|
|
41
|
+
: {};
|
|
42
|
+
const company_officer = companyOfficerLocalData != null &&
|
|
43
|
+
Boolean(companyOfficerLocalData.email) === true // Don't save Empty Company Officer details
|
|
44
|
+
? (0, updateBusinessVerificationDetailsEpic_1.toBusinessVerificationOfficerDataPayload)(companyOfficerLocalData, false, companyOfficerAddressToCreate)
|
|
45
|
+
: {};
|
|
46
|
+
let payload;
|
|
47
|
+
if (currentStep === 'company_officer') {
|
|
48
|
+
payload = {
|
|
49
|
+
company: (0, exports.toBusinessVerificationMinimalCompanyDataPayload)(companyLocalData),
|
|
50
|
+
company_officer,
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
payload = {
|
|
55
|
+
company,
|
|
56
|
+
primary_contact_user,
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
const messageSection = sendForVerification === true
|
|
60
|
+
? currentStep === 'company_officer'
|
|
61
|
+
? 'onboarding_customer_identity_verification_submit'
|
|
62
|
+
: 'onboarding_customer_business_verification_submit'
|
|
63
|
+
: currentStep === 'company_officer'
|
|
64
|
+
? 'onboarding_customer_identity_verification_save'
|
|
65
|
+
: 'onboarding_customer_business_verification_save';
|
|
66
|
+
return zeniAPI
|
|
67
|
+
.putAndGetJSON(`${zeniAPI.apiEndPoints.tenantMicroServiceBaseUrl}/1.0/companies/${companyId}`, payload)
|
|
68
|
+
.pipe((0, operators_1.mergeMap)((response) => {
|
|
69
|
+
if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
|
|
70
|
+
const { users } = response.data;
|
|
71
|
+
const actions = [
|
|
72
|
+
(0, userReducer_1.updateAllUsers)({ users }),
|
|
73
|
+
(0, userRoleReducer_1.updateUserRoles)(response.data.user_roles),
|
|
74
|
+
(0, companyReducer_1.updateCompanies)({
|
|
75
|
+
payload: response.data.companies,
|
|
76
|
+
schema: {},
|
|
77
|
+
}),
|
|
78
|
+
(0, addressReducer_1.updateAddresses)(response.data.addresses),
|
|
79
|
+
(0, fileReducer_1.updateFiles)({ files: response.data.files }),
|
|
80
|
+
(0, accountReducer_1.updateAccounts)(response.data.accounts, 'onboarding'),
|
|
81
|
+
(0, paymentAccountReducer_1.updatePaymentAccounts)(response.data.payment_accounts),
|
|
82
|
+
];
|
|
83
|
+
if (currentStep === 'company_officer') {
|
|
84
|
+
actions.push((0, onboardingCustomerViewReducer_1.updateCurrentStep)({ step: 'company_details' }));
|
|
85
|
+
}
|
|
86
|
+
actions.push((0, onboardingCustomerViewReducer_1.updateOnboardingCustomerViewLocalStoreData)({
|
|
87
|
+
companyId: response.data.companies[0].company_id,
|
|
88
|
+
currentStep,
|
|
89
|
+
reCalculateCurrentStep,
|
|
90
|
+
}), (0, snackbarReducer_1.openSnackbar)({
|
|
91
|
+
messageSection,
|
|
92
|
+
messageText: 'success',
|
|
93
|
+
type: 'success',
|
|
94
|
+
}), (0, onboardingCustomerViewReducer_1.updateOnboardingCustomerViewSuccess)());
|
|
95
|
+
return (0, rxjs_1.from)(actions);
|
|
96
|
+
}
|
|
97
|
+
else {
|
|
98
|
+
return (0, rxjs_1.of)((0, snackbarReducer_1.openSnackbar)({
|
|
99
|
+
messageSection,
|
|
100
|
+
messageText: 'failed',
|
|
101
|
+
type: 'error',
|
|
102
|
+
}), (0, onboardingCustomerViewReducer_1.updateOnboardingCustomerViewFailure)(response.status));
|
|
103
|
+
}
|
|
104
|
+
}), (0, operators_1.catchError)((error) => (0, rxjs_1.of)((0, onboardingCustomerViewReducer_1.updateOnboardingCustomerViewFailure)((0, responsePayload_1.createZeniAPIStatus)('Unexpected Error', 'Update Onboarding Customer View Details errored out' +
|
|
105
|
+
JSON.stringify(error))))));
|
|
106
|
+
}
|
|
107
|
+
else {
|
|
108
|
+
return (0, rxjs_1.from)([]);
|
|
109
|
+
}
|
|
110
|
+
}));
|
|
111
|
+
exports.updateOnboardingCustomerViewEpic = updateOnboardingCustomerViewEpic;
|
|
112
|
+
/**
|
|
113
|
+
* Helpers
|
|
114
|
+
*/
|
|
115
|
+
const toBusinessVerificationMinimalCompanyDataPayload = (companyLocalData) => {
|
|
116
|
+
const { companyLegalName, syncToken } = companyLocalData;
|
|
117
|
+
const company = {
|
|
118
|
+
is_ready_for_verification: false,
|
|
119
|
+
};
|
|
120
|
+
if (companyLegalName != null) {
|
|
121
|
+
company['company_legal_name'] = companyLegalName;
|
|
122
|
+
}
|
|
123
|
+
if (syncToken != null) {
|
|
124
|
+
company['sync_token'] = syncToken;
|
|
125
|
+
}
|
|
126
|
+
return company;
|
|
127
|
+
};
|
|
128
|
+
exports.toBusinessVerificationMinimalCompanyDataPayload = toBusinessVerificationMinimalCompanyDataPayload;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
+
import { RootState } from '../../../../../reducer';
|
|
3
|
+
import { User } from '../../../../../entity/user/userState';
|
|
4
|
+
import { Company } from '../../../../../entity/company/companyStateTypes';
|
|
5
|
+
import { updateCurrentStep, saveOnboardingCustomerViewDataInLocalStore, clearOnboardingCustomerViewDataInLocalStore, updateOnboardingCustomerViewLocalStoreData } from '../../onboardingCustomerViewReducer';
|
|
6
|
+
import { OnboardingCustomerViewLocalData } from '../../onboardingCustomerViewState';
|
|
7
|
+
import { UserRole } from '../../../../../entity/userRole/userRoleState';
|
|
8
|
+
import { newAddressInLocalStore, resetNewAddressesInLocalStore } from '../../../../addressView/addressViewReducer';
|
|
9
|
+
export declare type ActionType = ReturnType<typeof updateOnboardingCustomerViewLocalStoreData> | ReturnType<typeof saveOnboardingCustomerViewDataInLocalStore> | ReturnType<typeof clearOnboardingCustomerViewDataInLocalStore> | ReturnType<typeof resetNewAddressesInLocalStore> | ReturnType<typeof newAddressInLocalStore> | ReturnType<typeof updateCurrentStep>;
|
|
10
|
+
export declare const updateOnboardingCustomerViewLocalStoreDataEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>) => import("rxjs").Observable<ActionType>;
|
|
11
|
+
/**
|
|
12
|
+
* Helpers
|
|
13
|
+
*/
|
|
14
|
+
export declare function toOnboardingCustomerViewLocalData(company: Company, users: User[], userRoles: UserRole[], primaryContact?: User): OnboardingCustomerViewLocalData;
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.toOnboardingCustomerViewLocalData = exports.updateOnboardingCustomerViewLocalStoreDataEpic = void 0;
|
|
7
|
+
const rxjs_1 = require("rxjs");
|
|
8
|
+
const operators_1 = require("rxjs/operators");
|
|
9
|
+
const get_1 = __importDefault(require("lodash/get"));
|
|
10
|
+
const companySelector_1 = require("../../../../../entity/company/companySelector");
|
|
11
|
+
const userSelector_1 = require("../../../../../entity/user/userSelector");
|
|
12
|
+
const getCompanyView_1 = require("../../../../companyView/selectorHelpers/getCompanyView");
|
|
13
|
+
const onboardingCustomerViewReducer_1 = require("../../onboardingCustomerViewReducer");
|
|
14
|
+
const updateSetupViewLocalStoreDataEpic_1 = require("../../../../spendManagement/commonSetup/epic/setup/updateSetupViewLocalStoreDataEpic");
|
|
15
|
+
const userRoleSelector_1 = require("../../../../../entity/userRole/userRoleSelector");
|
|
16
|
+
const toAddressViewLocalData_1 = require("../../../../addressView/toAddressViewLocalData");
|
|
17
|
+
const addressViewReducer_1 = require("../../../../addressView/addressViewReducer");
|
|
18
|
+
const paymentAccountSelector_1 = require("../../../../../entity/paymentAccount/paymentAccountSelector");
|
|
19
|
+
const tenantSelector_1 = require("../../../../../entity/tenant/tenantSelector");
|
|
20
|
+
const onboardingCustomerViewSelector_1 = require("../../onboardingCustomerViewSelector");
|
|
21
|
+
const subscriptionPaymentAccountSelector_1 = require("../../../../../entity/subscriptionPaymentAccount/subscriptionPaymentAccountSelector");
|
|
22
|
+
const updateOnboardingCustomerViewLocalStoreDataEpic = (actions$, state$) => actions$.pipe((0, operators_1.filter)(onboardingCustomerViewReducer_1.updateOnboardingCustomerViewLocalStoreData.match), (0, operators_1.mergeMap)((action) => {
|
|
23
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
24
|
+
const { companyId, currentStep, reCalculateCurrentStep } = action.payload;
|
|
25
|
+
const { companyState, companyViewState, fileState, userState, userRoleState, onboardingCustomerViewState, subscriptionPaymentAccountState, paymentAccountState, tenantState, } = state$.value;
|
|
26
|
+
const { subscriptionPaymentAccountIds } = onboardingCustomerViewState;
|
|
27
|
+
const subscriptionIDs = (0, get_1.default)(companyViewState.passportView.subscriptionIDsByCompanyID, companyId, undefined);
|
|
28
|
+
const companyView = (0, getCompanyView_1.getCompanyView)(state$.value, companyId, subscriptionIDs !== null && subscriptionIDs !== void 0 ? subscriptionIDs : []);
|
|
29
|
+
const company = (_a = (0, companySelector_1.getCompanyByCompanyId)(companyState, companyId)) === null || _a === void 0 ? void 0 : _a.company;
|
|
30
|
+
const companyOfficers = (0, userSelector_1.getUsersByUserIds)(userState, (_b = company === null || company === void 0 ? void 0 : company.managegmentInfo.companyOfficerUserIds) !== null && _b !== void 0 ? _b : []);
|
|
31
|
+
const primaryContact = (company === null || company === void 0 ? void 0 : company.managegmentInfo.primaryContactUserId) != null
|
|
32
|
+
? (0, userSelector_1.getUserByUserId)(userState, company === null || company === void 0 ? void 0 : company.managegmentInfo.primaryContactUserId)
|
|
33
|
+
: undefined;
|
|
34
|
+
const companyOfficerRoles = (0, userRoleSelector_1.getUserRoleByUserIds)(userRoleState, (_c = company === null || company === void 0 ? void 0 : company.managegmentInfo.companyOfficerUserIds) !== null && _c !== void 0 ? _c : []);
|
|
35
|
+
const fetchActions = [];
|
|
36
|
+
if (company != null) {
|
|
37
|
+
const onboardingCustomerViewLocalData = toOnboardingCustomerViewLocalData(company, companyOfficers, companyOfficerRoles, primaryContact);
|
|
38
|
+
const { companyDetails, officers, primaryContactDetails } = onboardingCustomerViewLocalData;
|
|
39
|
+
let updatedCompanyDetails = companyDetails;
|
|
40
|
+
if (currentStep === 'company_officer' &&
|
|
41
|
+
onboardingCustomerViewState.companyDetails.localData != null) {
|
|
42
|
+
const { companyInfo } = company;
|
|
43
|
+
const { syncToken } = companyInfo;
|
|
44
|
+
updatedCompanyDetails = Object.assign(Object.assign({}, onboardingCustomerViewState.companyDetails.localData), { syncToken });
|
|
45
|
+
}
|
|
46
|
+
let updatedCurrentStep = 'link_payment_account';
|
|
47
|
+
let subscriptionPaymentAccount;
|
|
48
|
+
const { companyOnboardingInfo } = company;
|
|
49
|
+
const accountingConnectionCreationMode = (_d = companyOnboardingInfo === null || companyOnboardingInfo === void 0 ? void 0 : companyOnboardingInfo.onboardingInfo) === null || _d === void 0 ? void 0 : _d.accountingConnectionCreationMode;
|
|
50
|
+
if (subscriptionPaymentAccountIds.length > 0) {
|
|
51
|
+
const subscriptionPaymentAccountId = subscriptionPaymentAccountIds[0];
|
|
52
|
+
subscriptionPaymentAccount = (0, subscriptionPaymentAccountSelector_1.getSubscriptionPaymentAccountByAccountId)(subscriptionPaymentAccountState, subscriptionPaymentAccountId);
|
|
53
|
+
}
|
|
54
|
+
const externalConnections = (0, tenantSelector_1.getCurrentTenantExternalConnections)(tenantState, companyState);
|
|
55
|
+
const isValidConnection = (_f = (_e = externalConnections === null || externalConnections === void 0 ? void 0 : externalConnections.accounting[0]) === null || _e === void 0 ? void 0 : _e.isValid) !== null && _f !== void 0 ? _f : false;
|
|
56
|
+
if (reCalculateCurrentStep === true) {
|
|
57
|
+
let paymentAccount;
|
|
58
|
+
const { paymentAccountDetails } = onboardingCustomerViewState;
|
|
59
|
+
const { paymentAccountIds } = paymentAccountDetails;
|
|
60
|
+
if ((paymentAccountIds === null || paymentAccountIds === void 0 ? void 0 : paymentAccountIds.length) > 0) {
|
|
61
|
+
const paymentAccountId = paymentAccountIds[0];
|
|
62
|
+
paymentAccount = (0, paymentAccountSelector_1.getPaymentAccountByPaymentAccountId)(paymentAccountState, paymentAccountId);
|
|
63
|
+
}
|
|
64
|
+
if ((((_h = (_g = paymentAccount === null || paymentAccount === void 0 ? void 0 : paymentAccount.providerVerificationStatus) === null || _g === void 0 ? void 0 : _g.code) === null || _h === void 0 ? void 0 : _h.includes('verified')) === true &&
|
|
65
|
+
(paymentAccount === null || paymentAccount === void 0 ? void 0 : paymentAccount.isLoginRequired) === false) ||
|
|
66
|
+
((_k = (_j = subscriptionPaymentAccount === null || subscriptionPaymentAccount === void 0 ? void 0 : subscriptionPaymentAccount.providerVerificationStatus) === null || _j === void 0 ? void 0 : _j.code) === null || _k === void 0 ? void 0 : _k.includes('verified')) === true) {
|
|
67
|
+
updatedCurrentStep = 'qbo_connection';
|
|
68
|
+
if (isValidConnection) {
|
|
69
|
+
updatedCurrentStep = 'company_officer';
|
|
70
|
+
let officerIndex = companyOfficers.length > 0
|
|
71
|
+
? officers.findIndex((officer) => (officer === null || officer === void 0 ? void 0 : officer.isSelectedForVerification) === true)
|
|
72
|
+
: 0;
|
|
73
|
+
if (officerIndex === -1) {
|
|
74
|
+
officerIndex = 0;
|
|
75
|
+
}
|
|
76
|
+
if ((0, onboardingCustomerViewSelector_1.isOfficerDetailsCompleted)(companyOfficers, companyOfficerRoles, officers[officerIndex], fileState)) {
|
|
77
|
+
updatedCurrentStep = 'company_details';
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
const { allStepsData } = (0, onboardingCustomerViewSelector_1.onboardingStepsData)(isValidConnection, accountingConnectionCreationMode, subscriptionPaymentAccount);
|
|
83
|
+
if (allStepsData.length > 0 &&
|
|
84
|
+
allStepsData.indexOf(updatedCurrentStep) === -1) {
|
|
85
|
+
updatedCurrentStep = allStepsData[0];
|
|
86
|
+
}
|
|
87
|
+
fetchActions.push((0, onboardingCustomerViewReducer_1.clearOnboardingCustomerViewDataInLocalStore)(), (0, onboardingCustomerViewReducer_1.saveOnboardingCustomerViewDataInLocalStore)({
|
|
88
|
+
companyDetails: updatedCompanyDetails,
|
|
89
|
+
officers,
|
|
90
|
+
primaryContactDetails,
|
|
91
|
+
}), (0, addressViewReducer_1.resetNewAddressesInLocalStore)());
|
|
92
|
+
if (reCalculateCurrentStep === true) {
|
|
93
|
+
fetchActions.push((0, onboardingCustomerViewReducer_1.updateCurrentStep)({ step: updatedCurrentStep }));
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
if (companyView != null) {
|
|
97
|
+
const addresses = (0, toAddressViewLocalData_1.toAddressViewLocalData)(companyView);
|
|
98
|
+
if (addresses != null) {
|
|
99
|
+
Object.keys(addresses).forEach((addressType) => {
|
|
100
|
+
fetchActions.push((0, addressViewReducer_1.newAddressInLocalStore)({
|
|
101
|
+
addressType: addressType,
|
|
102
|
+
addressToCreate: addresses[addressType],
|
|
103
|
+
}));
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
return (0, rxjs_1.from)(fetchActions);
|
|
108
|
+
}));
|
|
109
|
+
exports.updateOnboardingCustomerViewLocalStoreDataEpic = updateOnboardingCustomerViewLocalStoreDataEpic;
|
|
110
|
+
/**
|
|
111
|
+
* Helpers
|
|
112
|
+
*/
|
|
113
|
+
function toOnboardingCustomerViewLocalData(company, users, userRoles, primaryContact) {
|
|
114
|
+
return (0, updateSetupViewLocalStoreDataEpic_1.toSetupViewLocalData)(company, users, userRoles, primaryContact);
|
|
115
|
+
}
|
|
116
|
+
exports.toOnboardingCustomerViewLocalData = toOnboardingCustomerViewLocalData;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { RootState } from '../../../../../reducer';
|
|
4
|
+
import { ZeniAPI } from '../../../../../zeniAPI';
|
|
5
|
+
import { openSnackbar } from '../../../../../entity/snackbar/snackbarReducer';
|
|
6
|
+
import { updateAccounts } from '../../../../../entity/account/accountReducer';
|
|
7
|
+
import { updatePaymentAccounts } from '../../../../../entity/paymentAccount/paymentAccountReducer';
|
|
8
|
+
import { updateOnboardingPaymentAccountLoginStatus, updateOnboardingPaymentAccountLoginStatusSuccess, updateOnboardingPaymentAccountLoginStatusFailure } from '../../onboardingCustomerViewReducer';
|
|
9
|
+
export declare type ActionType = ReturnType<typeof updateOnboardingPaymentAccountLoginStatus> | ReturnType<typeof updateAccounts> | ReturnType<typeof updatePaymentAccounts> | ReturnType<typeof openSnackbar> | ReturnType<typeof updateOnboardingPaymentAccountLoginStatusSuccess> | ReturnType<typeof updateOnboardingPaymentAccountLoginStatusFailure>;
|
|
10
|
+
export declare const updateOnboardingPaymentAccountLoginStatusEpic: (actions$: ActionsObservable<ActionType>, _state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.updateOnboardingPaymentAccountLoginStatusEpic = void 0;
|
|
4
|
+
const rxjs_1 = require("rxjs");
|
|
5
|
+
const operators_1 = require("rxjs/operators");
|
|
6
|
+
const responsePayload_1 = require("../../../../../responsePayload");
|
|
7
|
+
const snackbarReducer_1 = require("../../../../../entity/snackbar/snackbarReducer");
|
|
8
|
+
const accountReducer_1 = require("../../../../../entity/account/accountReducer");
|
|
9
|
+
const paymentAccountReducer_1 = require("../../../../../entity/paymentAccount/paymentAccountReducer");
|
|
10
|
+
const onboardingCustomerViewReducer_1 = require("../../onboardingCustomerViewReducer");
|
|
11
|
+
const updateOnboardingPaymentAccountLoginStatusEpic = (actions$, _state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(onboardingCustomerViewReducer_1.updateOnboardingPaymentAccountLoginStatus.match), (0, operators_1.mergeMap)((action) => {
|
|
12
|
+
const { isLoginRequired, paymentAccountId, linkTokenType } = action.payload;
|
|
13
|
+
return zeniAPI
|
|
14
|
+
.putAndGetJSON(`${zeniAPI.apiEndPoints.payMicroServiceBaseUrl}/1.0/payment-accounts/${paymentAccountId}`, {
|
|
15
|
+
is_login_required: isLoginRequired,
|
|
16
|
+
})
|
|
17
|
+
.pipe((0, operators_1.mergeMap)((response) => {
|
|
18
|
+
if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
|
|
19
|
+
const paymentAccountIds = response.data.payment_accounts.map((paymentAccount) => paymentAccount.payment_account_id);
|
|
20
|
+
const actions = [
|
|
21
|
+
(0, accountReducer_1.updateAccounts)(response.data.accounts, 'onboarding'),
|
|
22
|
+
(0, paymentAccountReducer_1.updatePaymentAccounts)(response.data.payment_accounts),
|
|
23
|
+
(0, onboardingCustomerViewReducer_1.updateOnboardingPaymentAccountLoginStatusSuccess)(paymentAccountIds, linkTokenType),
|
|
24
|
+
];
|
|
25
|
+
return (0, rxjs_1.from)(actions);
|
|
26
|
+
}
|
|
27
|
+
else {
|
|
28
|
+
return (0, rxjs_1.of)((0, snackbarReducer_1.openSnackbar)({
|
|
29
|
+
messageSection: 'plaid_connection',
|
|
30
|
+
messageText: 'failed',
|
|
31
|
+
type: 'error',
|
|
32
|
+
}), (0, onboardingCustomerViewReducer_1.updateOnboardingPaymentAccountLoginStatusFailure)(response.status, linkTokenType));
|
|
33
|
+
}
|
|
34
|
+
}), (0, operators_1.catchError)((error) => (0, rxjs_1.of)((0, onboardingCustomerViewReducer_1.updateOnboardingPaymentAccountLoginStatusFailure)((0, responsePayload_1.createZeniAPIStatus)('Unexpected Error', 'Update Onboarding Payment Account Login Status failed ' +
|
|
35
|
+
JSON.stringify(error)), linkTokenType))));
|
|
36
|
+
}));
|
|
37
|
+
exports.updateOnboardingPaymentAccountLoginStatusEpic = updateOnboardingPaymentAccountLoginStatusEpic;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { RootState } from '../../../../../reducer';
|
|
4
|
+
import { ZeniAPI } from '../../../../../zeniAPI';
|
|
5
|
+
import { openSnackbar } from '../../../../../entity/snackbar/snackbarReducer';
|
|
6
|
+
import { updateAccounts } from '../../../../../entity/account/accountReducer';
|
|
7
|
+
import { updatePaymentAccounts } from '../../../../../entity/paymentAccount/paymentAccountReducer';
|
|
8
|
+
import { updateOnboardingPaymentAccountStatus, updateOnboardingPaymentAccountStatusSuccess, updateOnboardingPaymentAccountStatusFailure } from '../../onboardingCustomerViewReducer';
|
|
9
|
+
export declare type ActionType = ReturnType<typeof updateOnboardingPaymentAccountStatus> | ReturnType<typeof updateAccounts> | ReturnType<typeof updatePaymentAccounts> | ReturnType<typeof openSnackbar> | ReturnType<typeof updateOnboardingPaymentAccountStatusSuccess> | ReturnType<typeof updateOnboardingPaymentAccountStatusFailure>;
|
|
10
|
+
export declare const updateOnboardingPaymentAccountStatusEpic: (actions$: ActionsObservable<ActionType>, _state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.updateOnboardingPaymentAccountStatusEpic = void 0;
|
|
4
|
+
const rxjs_1 = require("rxjs");
|
|
5
|
+
const operators_1 = require("rxjs/operators");
|
|
6
|
+
const responsePayload_1 = require("../../../../../responsePayload");
|
|
7
|
+
const snackbarReducer_1 = require("../../../../../entity/snackbar/snackbarReducer");
|
|
8
|
+
const accountReducer_1 = require("../../../../../entity/account/accountReducer");
|
|
9
|
+
const paymentAccountReducer_1 = require("../../../../../entity/paymentAccount/paymentAccountReducer");
|
|
10
|
+
const onboardingCustomerViewReducer_1 = require("../../onboardingCustomerViewReducer");
|
|
11
|
+
const updateOnboardingPaymentAccountStatusEpic = (actions$, _state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(onboardingCustomerViewReducer_1.updateOnboardingPaymentAccountStatus.match), (0, operators_1.mergeMap)((action) => {
|
|
12
|
+
const { verificationStatusCode, paymentAccountId, linkTokenType } = action.payload;
|
|
13
|
+
return zeniAPI
|
|
14
|
+
.putAndGetJSON(`${zeniAPI.apiEndPoints.payMicroServiceBaseUrl}/1.0/payment-accounts/${paymentAccountId}`, {
|
|
15
|
+
provider_verification_status_code: verificationStatusCode,
|
|
16
|
+
})
|
|
17
|
+
.pipe((0, operators_1.mergeMap)((response) => {
|
|
18
|
+
if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
|
|
19
|
+
const paymentAccountIds = response.data.payment_accounts.map((paymentAccount) => paymentAccount.payment_account_id);
|
|
20
|
+
const actions = [
|
|
21
|
+
(0, accountReducer_1.updateAccounts)(response.data.accounts, 'onboarding'),
|
|
22
|
+
(0, paymentAccountReducer_1.updatePaymentAccounts)(response.data.payment_accounts),
|
|
23
|
+
(0, onboardingCustomerViewReducer_1.updateOnboardingPaymentAccountStatusSuccess)(paymentAccountIds, linkTokenType),
|
|
24
|
+
];
|
|
25
|
+
return (0, rxjs_1.from)(actions);
|
|
26
|
+
}
|
|
27
|
+
else {
|
|
28
|
+
return (0, rxjs_1.of)((0, snackbarReducer_1.openSnackbar)({
|
|
29
|
+
messageSection: 'plaid_connection',
|
|
30
|
+
messageText: 'failed',
|
|
31
|
+
type: 'error',
|
|
32
|
+
}), (0, onboardingCustomerViewReducer_1.updateOnboardingPaymentAccountStatusFailure)(response.status, linkTokenType));
|
|
33
|
+
}
|
|
34
|
+
}), (0, operators_1.catchError)((error) => (0, rxjs_1.of)((0, onboardingCustomerViewReducer_1.updateOnboardingPaymentAccountStatusFailure)((0, responsePayload_1.createZeniAPIStatus)('Unexpected Error', 'Update Onboarding Payment Account Status failed ' +
|
|
35
|
+
JSON.stringify(error)), linkTokenType))));
|
|
36
|
+
}));
|
|
37
|
+
exports.updateOnboardingPaymentAccountStatusEpic = updateOnboardingPaymentAccountStatusEpic;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { RootState } from '../../../../../reducer';
|
|
4
|
+
import { ZeniAPI } from '../../../../../zeniAPI';
|
|
5
|
+
import { openSnackbar } from '../../../../../entity/snackbar/snackbarReducer';
|
|
6
|
+
import { updateAccounts } from '../../../../../entity/account/accountReducer';
|
|
7
|
+
import { updatePaymentAccounts } from '../../../../../entity/paymentAccount/paymentAccountReducer';
|
|
8
|
+
import { establishOnboardingPlaidConnection, establishOnboardingPlaidConnectionSuccess, establishOnboardingPlaidConnectionFailure } from '../../onboardingCustomerViewReducer';
|
|
9
|
+
export declare type ActionType = ReturnType<typeof establishOnboardingPlaidConnection> | ReturnType<typeof updatePaymentAccounts> | ReturnType<typeof updateAccounts> | ReturnType<typeof openSnackbar> | ReturnType<typeof establishOnboardingPlaidConnectionSuccess> | ReturnType<typeof establishOnboardingPlaidConnectionFailure>;
|
|
10
|
+
export declare const establishOnboardingPlaidConnectionEpic: (actions$: ActionsObservable<ActionType>, _state: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.establishOnboardingPlaidConnectionEpic = void 0;
|
|
4
|
+
const rxjs_1 = require("rxjs");
|
|
5
|
+
const operators_1 = require("rxjs/operators");
|
|
6
|
+
const responsePayload_1 = require("../../../../../responsePayload");
|
|
7
|
+
const snackbarReducer_1 = require("../../../../../entity/snackbar/snackbarReducer");
|
|
8
|
+
const accountReducer_1 = require("../../../../../entity/account/accountReducer");
|
|
9
|
+
const paymentAccountReducer_1 = require("../../../../../entity/paymentAccount/paymentAccountReducer");
|
|
10
|
+
const onboardingCustomerViewReducer_1 = require("../../onboardingCustomerViewReducer");
|
|
11
|
+
const establishOnboardingPlaidConnectionEpic = (actions$, _state, zeniAPI) => actions$.pipe((0, operators_1.filter)(onboardingCustomerViewReducer_1.establishOnboardingPlaidConnection.match), (0, operators_1.mergeMap)((action) => {
|
|
12
|
+
const { publicToken, linkTokenType } = action.payload;
|
|
13
|
+
const requestPayload = {
|
|
14
|
+
public_token: publicToken,
|
|
15
|
+
};
|
|
16
|
+
if (linkTokenType !== 'update_account') {
|
|
17
|
+
requestPayload['is_primary_for_onboarding'] = true;
|
|
18
|
+
requestPayload['is_primary_for_bill_pay'] = true;
|
|
19
|
+
}
|
|
20
|
+
return zeniAPI
|
|
21
|
+
.postAndGetJSON(`${zeniAPI.apiEndPoints.payMicroServiceBaseUrl}/1.0/plaid/public-token`, requestPayload)
|
|
22
|
+
.pipe((0, operators_1.mergeMap)((response) => {
|
|
23
|
+
if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
|
|
24
|
+
const paymentAccountIds = response.data.payment_accounts.map((paymentAccount) => paymentAccount.payment_account_id);
|
|
25
|
+
const actions = [
|
|
26
|
+
(0, accountReducer_1.updateAccounts)(response.data.accounts, 'onboarding'),
|
|
27
|
+
(0, paymentAccountReducer_1.updatePaymentAccounts)(response.data.payment_accounts),
|
|
28
|
+
(0, onboardingCustomerViewReducer_1.establishOnboardingPlaidConnectionSuccess)(paymentAccountIds, linkTokenType),
|
|
29
|
+
];
|
|
30
|
+
return (0, rxjs_1.from)(actions);
|
|
31
|
+
}
|
|
32
|
+
else {
|
|
33
|
+
return (0, rxjs_1.of)((0, snackbarReducer_1.openSnackbar)({
|
|
34
|
+
messageSection: 'plaid_connection',
|
|
35
|
+
messageText: 'failed',
|
|
36
|
+
type: 'error',
|
|
37
|
+
}), (0, onboardingCustomerViewReducer_1.establishOnboardingPlaidConnectionFailure)(response.status, linkTokenType));
|
|
38
|
+
}
|
|
39
|
+
}), (0, operators_1.catchError)((error) => (0, rxjs_1.of)((0, onboardingCustomerViewReducer_1.establishOnboardingPlaidConnectionFailure)((0, responsePayload_1.createZeniAPIStatus)('Unexpected Error', 'Establish Onboarding Plaid Connection errored out' +
|
|
40
|
+
JSON.stringify(error)), linkTokenType))));
|
|
41
|
+
}));
|
|
42
|
+
exports.establishOnboardingPlaidConnectionEpic = establishOnboardingPlaidConnectionEpic;
|