@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,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.cashFlowSectionIdsInOrder = exports.typeOfCashFlowRootSection = exports.ALL_CASHFLOW_FINANCING_ACTIVITIES_IDS = exports.toCashFlowFinancingActivitiesCalculatedSectionID = exports.ALL_CASHFLOW_FINANCING_ACTIVITIES_CALCULATED_SECTION_IDS = exports.toCashFlowFinancingActivitiesSectionID = exports.ALL_CASHFLOW_FINANCING_ACTIVITIES_SECTION_IDS = exports.ALL_CASHFLOW_INVESTING_ACTIVITIES_IDS = exports.toCashFlowInvestingActivitiesCalculatedSectionID = exports.ALL_CASHFLOW_INVESTING_ACTIVITIES_CALCULATED_SECTION_IDS = exports.toCashFlowInvestingActivitiesSectionID = exports.ALL_CASHFLOW_INVESTING_ACTIVITIES_SECTION_IDS = exports.ALL_CASHFLOW_OPERATING_ACTIVITIES_IDS = exports.toCashFlowOperatingActivitiesCalculatedSectionID = exports.ALL_CASHFLOW_OPERATING_ACTIVITIES_CALCULATED_SECTION_IDS = exports.toCashFlowOperatingActivitiesSectionID = exports.ALL_CASHFLOW_OPERATING_ACTIVITIES_SECTION_IDS = exports.toCashFlowReportViewRootSectionID = exports.ALL_CASH_FLOW_REPORT_VIEW_ROOT_SECTION_IDS = void 0;
|
|
4
|
+
const stringToUnion_1 = require("../../commonStateTypes/stringToUnion");
|
|
5
|
+
exports.ALL_CASH_FLOW_REPORT_VIEW_ROOT_SECTION_IDS = [
|
|
6
|
+
'operatingActivities',
|
|
7
|
+
'financingActivities',
|
|
8
|
+
'investingActivities',
|
|
9
|
+
];
|
|
10
|
+
const toCashFlowReportViewRootSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_CASH_FLOW_REPORT_VIEW_ROOT_SECTION_IDS);
|
|
11
|
+
exports.toCashFlowReportViewRootSectionID = toCashFlowReportViewRootSectionID;
|
|
12
|
+
exports.ALL_CASHFLOW_OPERATING_ACTIVITIES_SECTION_IDS = [
|
|
13
|
+
'operatingActivitiesAdjustments',
|
|
14
|
+
];
|
|
15
|
+
const toCashFlowOperatingActivitiesSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_CASHFLOW_OPERATING_ACTIVITIES_SECTION_IDS);
|
|
16
|
+
exports.toCashFlowOperatingActivitiesSectionID = toCashFlowOperatingActivitiesSectionID;
|
|
17
|
+
exports.ALL_CASHFLOW_OPERATING_ACTIVITIES_CALCULATED_SECTION_IDS = [
|
|
18
|
+
'operatingActivitiesNetIncome',
|
|
19
|
+
'operatingActivitiesTotal',
|
|
20
|
+
];
|
|
21
|
+
const toCashFlowOperatingActivitiesCalculatedSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_CASHFLOW_OPERATING_ACTIVITIES_CALCULATED_SECTION_IDS);
|
|
22
|
+
exports.toCashFlowOperatingActivitiesCalculatedSectionID = toCashFlowOperatingActivitiesCalculatedSectionID;
|
|
23
|
+
exports.ALL_CASHFLOW_OPERATING_ACTIVITIES_IDS = [
|
|
24
|
+
...exports.ALL_CASHFLOW_OPERATING_ACTIVITIES_SECTION_IDS,
|
|
25
|
+
...exports.ALL_CASHFLOW_OPERATING_ACTIVITIES_CALCULATED_SECTION_IDS,
|
|
26
|
+
];
|
|
27
|
+
// For investing activities
|
|
28
|
+
exports.ALL_CASHFLOW_INVESTING_ACTIVITIES_SECTION_IDS = [
|
|
29
|
+
'investingActivities',
|
|
30
|
+
];
|
|
31
|
+
const toCashFlowInvestingActivitiesSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_CASHFLOW_INVESTING_ACTIVITIES_SECTION_IDS);
|
|
32
|
+
exports.toCashFlowInvestingActivitiesSectionID = toCashFlowInvestingActivitiesSectionID;
|
|
33
|
+
exports.ALL_CASHFLOW_INVESTING_ACTIVITIES_CALCULATED_SECTION_IDS = [
|
|
34
|
+
'investingActivitiesTotal',
|
|
35
|
+
];
|
|
36
|
+
const toCashFlowInvestingActivitiesCalculatedSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_CASHFLOW_INVESTING_ACTIVITIES_CALCULATED_SECTION_IDS);
|
|
37
|
+
exports.toCashFlowInvestingActivitiesCalculatedSectionID = toCashFlowInvestingActivitiesCalculatedSectionID;
|
|
38
|
+
exports.ALL_CASHFLOW_INVESTING_ACTIVITIES_IDS = [
|
|
39
|
+
...exports.ALL_CASHFLOW_INVESTING_ACTIVITIES_SECTION_IDS,
|
|
40
|
+
...exports.ALL_CASHFLOW_INVESTING_ACTIVITIES_CALCULATED_SECTION_IDS,
|
|
41
|
+
];
|
|
42
|
+
// For financing activities
|
|
43
|
+
exports.ALL_CASHFLOW_FINANCING_ACTIVITIES_SECTION_IDS = [
|
|
44
|
+
'financingActivities',
|
|
45
|
+
];
|
|
46
|
+
const toCashFlowFinancingActivitiesSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_CASHFLOW_FINANCING_ACTIVITIES_SECTION_IDS);
|
|
47
|
+
exports.toCashFlowFinancingActivitiesSectionID = toCashFlowFinancingActivitiesSectionID;
|
|
48
|
+
exports.ALL_CASHFLOW_FINANCING_ACTIVITIES_CALCULATED_SECTION_IDS = [
|
|
49
|
+
'financingActivitiesTotal',
|
|
50
|
+
'changeInCashAndEquivalents',
|
|
51
|
+
'cashAndEquivalentsOpeningBalance',
|
|
52
|
+
'cashAndEquivalentsClosingBalance',
|
|
53
|
+
];
|
|
54
|
+
const toCashFlowFinancingActivitiesCalculatedSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_CASHFLOW_FINANCING_ACTIVITIES_CALCULATED_SECTION_IDS);
|
|
55
|
+
exports.toCashFlowFinancingActivitiesCalculatedSectionID = toCashFlowFinancingActivitiesCalculatedSectionID;
|
|
56
|
+
exports.ALL_CASHFLOW_FINANCING_ACTIVITIES_IDS = [
|
|
57
|
+
...exports.ALL_CASHFLOW_FINANCING_ACTIVITIES_SECTION_IDS,
|
|
58
|
+
...exports.ALL_CASHFLOW_FINANCING_ACTIVITIES_CALCULATED_SECTION_IDS,
|
|
59
|
+
];
|
|
60
|
+
const typeOfCashFlowRootSection = (id) => {
|
|
61
|
+
if (exports.ALL_CASHFLOW_OPERATING_ACTIVITIES_IDS.find((calcId) => id === calcId) != null) {
|
|
62
|
+
return 'operatingActivities';
|
|
63
|
+
}
|
|
64
|
+
else if (exports.ALL_CASHFLOW_INVESTING_ACTIVITIES_IDS.find((calcId) => id === calcId) != null) {
|
|
65
|
+
return 'investingActivities';
|
|
66
|
+
}
|
|
67
|
+
else if (exports.ALL_CASHFLOW_FINANCING_ACTIVITIES_IDS.find((calcId) => id === calcId) != null) {
|
|
68
|
+
return 'financingActivities';
|
|
69
|
+
}
|
|
70
|
+
else {
|
|
71
|
+
console.warn('Uncategorized Section Id');
|
|
72
|
+
return 'operatingActivities';
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
exports.typeOfCashFlowRootSection = typeOfCashFlowRootSection;
|
|
76
|
+
exports.cashFlowSectionIdsInOrder = [
|
|
77
|
+
'operatingActivitiesNetIncome',
|
|
78
|
+
'operatingActivitiesAdjustments',
|
|
79
|
+
'operatingActivitiesTotal',
|
|
80
|
+
'investingActivities',
|
|
81
|
+
'investingActivitiesTotal',
|
|
82
|
+
'financingActivities',
|
|
83
|
+
'financingActivitiesTotal',
|
|
84
|
+
'changeInCashAndEquivalents',
|
|
85
|
+
'cashAndEquivalentsOpeningBalance',
|
|
86
|
+
'cashAndEquivalentsClosingBalance',
|
|
87
|
+
];
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { RootState } from '../../reducer';
|
|
2
|
+
import { Section, CalculatedSection } from '../../commonStateTypes/selectorTypes/selectorTypes';
|
|
3
|
+
import { AccountState } from '../../entity/account/accountState';
|
|
4
|
+
import { AccountGroupState } from '../../entity/accountGroup/accountGroupState';
|
|
5
|
+
import { COABalancesFilter } from '../../commonStateTypes/coaBalance/coaBalancesFilter';
|
|
6
|
+
import { TimeframeTickWithMetaData } from '../../commonStateTypes/timeframeTick';
|
|
7
|
+
import { CashInCashOutReport, CashInCashOutUIStateSelectorView } from './cashInCashOutSelectorTypes';
|
|
8
|
+
import { CashInCashOutState } from './cashInCashOutState';
|
|
9
|
+
export declare const getCashInCashOut: (accountState: AccountState, accountGroupState: AccountGroupState, cashInCashOutState: CashInCashOutState, filter: COABalancesFilter) => {
|
|
10
|
+
filter: COABalancesFilter;
|
|
11
|
+
cashIn: Section;
|
|
12
|
+
cashOut: Section;
|
|
13
|
+
netCashFlow: CalculatedSection;
|
|
14
|
+
allTimeframeTicks: TimeframeTickWithMetaData[];
|
|
15
|
+
firstMonthOfFY: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
16
|
+
dataAvailable: import("../../commonStateTypes/timeframeTick").TimeframeTick | undefined;
|
|
17
|
+
availableNumberOfPeriods: number | undefined;
|
|
18
|
+
reportId: "cash_balance" | "card_balance" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets";
|
|
19
|
+
reportTitle: string;
|
|
20
|
+
version: string | number | undefined;
|
|
21
|
+
status: import("../..").Status | undefined;
|
|
22
|
+
fetchState: import("../..").FetchState;
|
|
23
|
+
error: import("../..").ZeniAPIStatus<Record<string, unknown>> | undefined;
|
|
24
|
+
insights: import("../..").InsightSummary[];
|
|
25
|
+
downloadState: import("../..").FetchState;
|
|
26
|
+
};
|
|
27
|
+
export declare const getCashInCashOutUIState: (state: RootState) => CashInCashOutUIStateSelectorView;
|
|
28
|
+
export declare const getCashInCashOutForSelectedRange: (state: RootState) => CashInCashOutReport;
|
|
29
|
+
export declare const getCashInCashOutForHighlightedRange: (state: RootState) => CashInCashOutReport;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getCashInCashOutForHighlightedRange = exports.getCashInCashOutForSelectedRange = exports.getCashInCashOutUIState = exports.getCashInCashOut = void 0;
|
|
4
|
+
const toolkit_1 = require("@reduxjs/toolkit");
|
|
5
|
+
const accountGroupSelector_1 = require("../../entity/accountGroup/accountGroupSelector");
|
|
6
|
+
const accountSelector_1 = require("../../entity/account/accountSelector");
|
|
7
|
+
const coaBalance_1 = require("../../commonStateTypes/coaBalance/coaBalance");
|
|
8
|
+
const coaBalancesFilter_1 = require("../../commonStateTypes/coaBalance/coaBalancesFilter");
|
|
9
|
+
const dataAvailable_1 = require("../../commonStateTypes/dataAvailable");
|
|
10
|
+
const timeframeTick_1 = require("../../commonStateTypes/timeframeTick");
|
|
11
|
+
const getCashInCashOut = (accountState, accountGroupState, cashInCashOutState, filter) => {
|
|
12
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
13
|
+
const reportId = 'cash_in_cash_out';
|
|
14
|
+
const cashIn = Object.assign({ itemOrder: 'last_balance_descending', accountGroupsOrdered: (0, accountGroupSelector_1.getAccountGroupsOrdered)(filter, accountState, accountGroupState, (_b = (_a = cashInCashOutState.cashIn) === null || _a === void 0 ? void 0 : _a.accountGroupIDs) !== null && _b !== void 0 ? _b : [], 'cash_in_cash_out', 'cash_in_cash_out', 'cashIn'), accountsOrdered: ((_c = cashInCashOutState.cashIn) === null || _c === void 0 ? void 0 : _c.accountGroupIDs.length) === 0
|
|
15
|
+
? (0, accountSelector_1.getAccountsOrdered)(filter, accountState, {
|
|
16
|
+
accountIDs: (_e = (_d = cashInCashOutState.cashIn) === null || _d === void 0 ? void 0 : _d.accountIDs) !== null && _e !== void 0 ? _e : [],
|
|
17
|
+
reportId,
|
|
18
|
+
}, 'cashIn')
|
|
19
|
+
: [] }, (0, coaBalance_1.getCOABalances)(cashInCashOutState.cashIn, filter));
|
|
20
|
+
const cashOut = Object.assign({ itemOrder: 'last_balance_descending', accountGroupsOrdered: (0, accountGroupSelector_1.getAccountGroupsOrdered)(filter, accountState, accountGroupState, (_g = (_f = cashInCashOutState.cashOut) === null || _f === void 0 ? void 0 : _f.accountGroupIDs) !== null && _g !== void 0 ? _g : [], 'cash_in_cash_out', 'cash_in_cash_out', 'cashOut'), accountsOrdered: ((_h = cashInCashOutState.cashOut) === null || _h === void 0 ? void 0 : _h.accountGroupIDs.length) === 0
|
|
21
|
+
? (0, accountSelector_1.getAccountsOrdered)(filter, accountState, {
|
|
22
|
+
accountIDs: (_k = (_j = cashInCashOutState.cashOut) === null || _j === void 0 ? void 0 : _j.accountIDs) !== null && _k !== void 0 ? _k : [],
|
|
23
|
+
reportId,
|
|
24
|
+
}, 'cashOut')
|
|
25
|
+
: [] }, (0, coaBalance_1.getCOABalances)(cashInCashOutState.cashOut, filter));
|
|
26
|
+
const netCashFlow = (0, coaBalance_1.getCOABalances)(cashInCashOutState.netCashFlow, filter);
|
|
27
|
+
let allTimeframeTicks = [];
|
|
28
|
+
const dataAvailable = cashInCashOutState.dataAvailable;
|
|
29
|
+
const firstMonthOfFY = cashInCashOutState.firstMonthOfFY;
|
|
30
|
+
if (dataAvailable != null) {
|
|
31
|
+
const noFilter = (0, coaBalancesFilter_1.newBalancesFilterForDateRange)(firstMonthOfFY, cashInCashOutState.uiState.timeframe, dataAvailable, 'ascending_date', []);
|
|
32
|
+
const cashInCashOutBalances = cashIn.balances.length > 0
|
|
33
|
+
? (0, coaBalance_1.getCOABalances)(cashInCashOutState.cashIn, noFilter)
|
|
34
|
+
: (0, coaBalance_1.getCOABalances)(cashInCashOutState.cashOut, noFilter);
|
|
35
|
+
allTimeframeTicks = cashInCashOutBalances.balances.map((balance) => (0, timeframeTick_1.toTimeframeTick)(balance));
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
filter,
|
|
39
|
+
cashIn,
|
|
40
|
+
cashOut,
|
|
41
|
+
netCashFlow,
|
|
42
|
+
allTimeframeTicks,
|
|
43
|
+
firstMonthOfFY,
|
|
44
|
+
dataAvailable,
|
|
45
|
+
availableNumberOfPeriods: (0, dataAvailable_1.getNumberOfPeriods)(firstMonthOfFY, filter.timeframe, dataAvailable),
|
|
46
|
+
reportId: cashInCashOutState.reportId,
|
|
47
|
+
reportTitle: cashInCashOutState.reportTitle,
|
|
48
|
+
version: cashInCashOutState.version,
|
|
49
|
+
status: cashInCashOutState.status,
|
|
50
|
+
fetchState: cashInCashOutState.fetchState,
|
|
51
|
+
error: cashInCashOutState.error,
|
|
52
|
+
insights: (_l = cashInCashOutState.insights) !== null && _l !== void 0 ? _l : [],
|
|
53
|
+
downloadState: cashInCashOutState.uiState.downloadState,
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
exports.getCashInCashOut = getCashInCashOut;
|
|
57
|
+
exports.getCashInCashOutUIState = (0, toolkit_1.createSelector)((state) => state.cashInCashOutState, (state) => {
|
|
58
|
+
const { timeframe, selectedCOABalancesRange, highlightedCOABalancesRange, selectedAdditionalBalances, downloadState, nodeCollapseState, scrollPosition, maxNumOfPeriodsToHighlight, isAdditionalBalancesShown, displayOrder, reportFormat, } = state.uiState;
|
|
59
|
+
return {
|
|
60
|
+
timeframe,
|
|
61
|
+
selectedCOABalancesRange,
|
|
62
|
+
highlightedCOABalancesRange,
|
|
63
|
+
selectedAdditionalBalances,
|
|
64
|
+
downloadState,
|
|
65
|
+
nodeCollapseState,
|
|
66
|
+
scrollPosition,
|
|
67
|
+
fetchState: state.fetchState,
|
|
68
|
+
error: state.error,
|
|
69
|
+
version: state.version,
|
|
70
|
+
mode: isAdditionalBalancesShown ? 'compare_mode' : 'off',
|
|
71
|
+
isAdditionalBalancesShown,
|
|
72
|
+
maxNumOfPeriodsToHighlight,
|
|
73
|
+
displayOrder,
|
|
74
|
+
reportFormat,
|
|
75
|
+
};
|
|
76
|
+
});
|
|
77
|
+
exports.getCashInCashOutForSelectedRange = (0, toolkit_1.createSelector)((state) => state.accountState, (state) => state.accountGroupState, (state) => state.cashInCashOutState, (accountState, accountGroupState, cashInCashOutState) => {
|
|
78
|
+
const { timeframe, selectedCOABalancesRange, selectedAdditionalBalances } = cashInCashOutState.uiState;
|
|
79
|
+
const noFilter = (0, coaBalancesFilter_1.newBalancesFilter)(cashInCashOutState.firstMonthOfFY, timeframe, selectedCOABalancesRange.numberOfPeriods, selectedCOABalancesRange.thisPeriod, 'ascending_date', selectedAdditionalBalances);
|
|
80
|
+
return (0, exports.getCashInCashOut)(accountState, accountGroupState, cashInCashOutState, noFilter);
|
|
81
|
+
});
|
|
82
|
+
exports.getCashInCashOutForHighlightedRange = (0, toolkit_1.createSelector)((state) => state.accountState, (state) => state.accountGroupState, (state) => state.cashInCashOutState, (accountState, accountGroupState, cashInCashOutState) => {
|
|
83
|
+
var _a;
|
|
84
|
+
const { timeframe, highlightedCOABalancesRange, selectedAdditionalBalances, maxNumOfPeriodsToHighlight, } = cashInCashOutState.uiState;
|
|
85
|
+
const filter = (0, coaBalancesFilter_1.newBalancesFilter)(cashInCashOutState.firstMonthOfFY, timeframe, (_a = highlightedCOABalancesRange === null || highlightedCOABalancesRange === void 0 ? void 0 : highlightedCOABalancesRange.numberOfPeriods) !== null && _a !== void 0 ? _a : maxNumOfPeriodsToHighlight, highlightedCOABalancesRange === null || highlightedCOABalancesRange === void 0 ? void 0 : highlightedCOABalancesRange.thisPeriod, 'ascending_date', selectedAdditionalBalances);
|
|
86
|
+
return (0, exports.getCashInCashOut)(accountState, accountGroupState, cashInCashOutState, filter);
|
|
87
|
+
});
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Section, CalculatedSection } from '../../commonStateTypes/selectorTypes/selectorTypes';
|
|
2
|
+
import { SelectorReport, SelectorView } from '../../commonStateTypes/viewAndReport/viewAndReport';
|
|
3
|
+
import { TimeframeTickWithMetaData } from '../../commonStateTypes/timeframeTick';
|
|
4
|
+
import { DataAvailable } from '../../commonStateTypes/dataAvailable';
|
|
5
|
+
import { Mode } from '../../commonStateTypes/common';
|
|
6
|
+
import { COABalancesFilter } from '../../commonStateTypes/coaBalance/coaBalancesFilter';
|
|
7
|
+
import { InsightSummary } from '../../entity/insights/insightSummary';
|
|
8
|
+
import { CashInCashOutUIState } from './cashInCashOutState';
|
|
9
|
+
export declare const ALL_CASH_IN_CASH_OUT_SECTION_IDS: readonly ["cash_in", "cash_out"];
|
|
10
|
+
export declare const toCashInCashOutSectionID: (v: string) => "cash_in" | "cash_out";
|
|
11
|
+
export declare type CashInCashOutSectionID = ReturnType<typeof toCashInCashOutSectionID>;
|
|
12
|
+
export declare const ALL_CASH_IN_CASH_OUT_CALCULATED_SECTION_IDS: readonly ["net_cash_flow"];
|
|
13
|
+
export declare const toCashInCashOutCalculatedSectionID: (v: string) => "cash_in" | "cash_out";
|
|
14
|
+
export declare type CashInCashOutCalculatedSectionID = ReturnType<typeof toCashInCashOutCalculatedSectionID>;
|
|
15
|
+
export interface CashInCashOutReport extends SelectorReport {
|
|
16
|
+
allTimeframeTicks: TimeframeTickWithMetaData[];
|
|
17
|
+
dataAvailable?: DataAvailable;
|
|
18
|
+
insights: InsightSummary[];
|
|
19
|
+
filter: COABalancesFilter;
|
|
20
|
+
cashIn: Section;
|
|
21
|
+
cashOut: Section;
|
|
22
|
+
netCashFlow: CalculatedSection;
|
|
23
|
+
}
|
|
24
|
+
export interface CashInCashOutUIStateSelectorView extends SelectorView, CashInCashOutUIState {
|
|
25
|
+
mode: Mode;
|
|
26
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.toCashInCashOutCalculatedSectionID = exports.ALL_CASH_IN_CASH_OUT_CALCULATED_SECTION_IDS = exports.toCashInCashOutSectionID = exports.ALL_CASH_IN_CASH_OUT_SECTION_IDS = void 0;
|
|
4
|
+
const stringToUnion_1 = require("../../commonStateTypes/stringToUnion");
|
|
5
|
+
exports.ALL_CASH_IN_CASH_OUT_SECTION_IDS = [
|
|
6
|
+
'cash_in',
|
|
7
|
+
'cash_out',
|
|
8
|
+
];
|
|
9
|
+
const toCashInCashOutSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_CASH_IN_CASH_OUT_SECTION_IDS);
|
|
10
|
+
exports.toCashInCashOutSectionID = toCashInCashOutSectionID;
|
|
11
|
+
exports.ALL_CASH_IN_CASH_OUT_CALCULATED_SECTION_IDS = [
|
|
12
|
+
'net_cash_flow',
|
|
13
|
+
];
|
|
14
|
+
const toCashInCashOutCalculatedSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_CASH_IN_CASH_OUT_SECTION_IDS);
|
|
15
|
+
exports.toCashInCashOutCalculatedSectionID = toCashInCashOutCalculatedSectionID;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { RootState } from '../../reducer';
|
|
2
|
+
import { SectionWithAccountOnly } from '../../commonStateTypes/selectorTypes/selectorTypes';
|
|
3
|
+
import { AccountState } from '../../entity/account/accountState';
|
|
4
|
+
import { COABalancesFilter } from '../../commonStateTypes/coaBalance/coaBalancesFilter';
|
|
5
|
+
import { TimeframeTickWithMetaData } from '../../commonStateTypes/timeframeTick';
|
|
6
|
+
import { CashPositionReport, CashPositionUIStateSelectorView } from './cashPositionSelectorTypes';
|
|
7
|
+
import { CashPositionState } from './cashPositionState';
|
|
8
|
+
export declare const getCashPosition: (accountState: AccountState, cashPositionState: CashPositionState, filter: COABalancesFilter) => {
|
|
9
|
+
filter: COABalancesFilter;
|
|
10
|
+
cashPosition: SectionWithAccountOnly;
|
|
11
|
+
allTimeframeTicks: TimeframeTickWithMetaData[];
|
|
12
|
+
firstMonthOfFY: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
13
|
+
dataAvailable: import("../../commonStateTypes/timeframeTick").TimeframeTick | undefined;
|
|
14
|
+
availableNumberOfPeriods: number | undefined;
|
|
15
|
+
reportId: "cash_balance" | "card_balance" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets";
|
|
16
|
+
reportTitle: string;
|
|
17
|
+
version: string | number | undefined;
|
|
18
|
+
status: import("../..").Status | undefined;
|
|
19
|
+
fetchState: import("../..").FetchState;
|
|
20
|
+
error: import("../..").ZeniAPIStatus<Record<string, unknown>> | undefined;
|
|
21
|
+
insights: import("../..").InsightSummary[];
|
|
22
|
+
downloadState: import("../..").FetchState;
|
|
23
|
+
};
|
|
24
|
+
export declare const getCashPositionUIState: (state: RootState) => CashPositionUIStateSelectorView;
|
|
25
|
+
export declare const getCashPositionForSelectedRange: (state: RootState) => CashPositionReport;
|
|
26
|
+
export declare const getCashPositionForHighlightedRange: (state: RootState) => CashPositionReport;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getCashPositionForHighlightedRange = exports.getCashPositionForSelectedRange = exports.getCashPositionUIState = exports.getCashPosition = void 0;
|
|
4
|
+
const toolkit_1 = require("@reduxjs/toolkit");
|
|
5
|
+
const accountSelector_1 = require("../../entity/account/accountSelector");
|
|
6
|
+
const coaBalance_1 = require("../../commonStateTypes/coaBalance/coaBalance");
|
|
7
|
+
const coaBalancesFilter_1 = require("../../commonStateTypes/coaBalance/coaBalancesFilter");
|
|
8
|
+
const dataAvailable_1 = require("../../commonStateTypes/dataAvailable");
|
|
9
|
+
const timeframeTick_1 = require("../../commonStateTypes/timeframeTick");
|
|
10
|
+
const getCashPosition = (accountState, cashPositionState, filter) => {
|
|
11
|
+
var _a, _b, _c;
|
|
12
|
+
const cashPosition = Object.assign({ itemOrder: 'last_balance_descending', accountsOrdered: (0, accountSelector_1.getAccountsOrdered)(filter, accountState, {
|
|
13
|
+
accountIDs: (_b = (_a = cashPositionState.cashPosition) === null || _a === void 0 ? void 0 : _a.accountIDs) !== null && _b !== void 0 ? _b : [],
|
|
14
|
+
reportId: 'cash_position',
|
|
15
|
+
}, 'cashPosition') }, (0, coaBalance_1.getCOABalances)(cashPositionState.cashPosition, filter));
|
|
16
|
+
let allTimeframeTicks = [];
|
|
17
|
+
const dataAvailable = cashPositionState.dataAvailable;
|
|
18
|
+
if (dataAvailable != null) {
|
|
19
|
+
const noFilter = (0, coaBalancesFilter_1.newBalancesFilterForDateRange)(cashPositionState.firstMonthOfFY, cashPositionState.uiState.timeframe, dataAvailable, 'ascending_date', []);
|
|
20
|
+
const cashPositionBalances = (0, coaBalance_1.getCOABalances)(cashPositionState.cashPosition, noFilter);
|
|
21
|
+
allTimeframeTicks = cashPositionBalances.balances.map((balance) => (0, timeframeTick_1.toTimeframeTick)(balance));
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
filter,
|
|
25
|
+
cashPosition,
|
|
26
|
+
allTimeframeTicks,
|
|
27
|
+
firstMonthOfFY: cashPositionState.firstMonthOfFY,
|
|
28
|
+
dataAvailable,
|
|
29
|
+
availableNumberOfPeriods: (0, dataAvailable_1.getNumberOfPeriods)(cashPositionState.firstMonthOfFY, filter.timeframe, dataAvailable),
|
|
30
|
+
reportId: cashPositionState.reportId,
|
|
31
|
+
reportTitle: cashPositionState.reportTitle,
|
|
32
|
+
version: cashPositionState.version,
|
|
33
|
+
status: cashPositionState.status,
|
|
34
|
+
fetchState: cashPositionState.fetchState,
|
|
35
|
+
error: cashPositionState.error,
|
|
36
|
+
insights: (_c = cashPositionState.insights) !== null && _c !== void 0 ? _c : [],
|
|
37
|
+
downloadState: cashPositionState.uiState.downloadState,
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
exports.getCashPosition = getCashPosition;
|
|
41
|
+
exports.getCashPositionUIState = (0, toolkit_1.createSelector)((state) => state.cashPositionState, (state) => {
|
|
42
|
+
const { timeframe, selectedCOABalancesRange, highlightedCOABalancesRange, selectedAdditionalBalances, downloadState, nodeCollapseState, scrollPosition, maxNumOfPeriodsToHighlight, isAdditionalBalancesShown, displayOrder, reportFormat, } = state.uiState;
|
|
43
|
+
return {
|
|
44
|
+
timeframe,
|
|
45
|
+
selectedCOABalancesRange,
|
|
46
|
+
highlightedCOABalancesRange,
|
|
47
|
+
selectedAdditionalBalances,
|
|
48
|
+
downloadState,
|
|
49
|
+
nodeCollapseState,
|
|
50
|
+
scrollPosition,
|
|
51
|
+
fetchState: state.fetchState,
|
|
52
|
+
error: state.error,
|
|
53
|
+
version: state.version,
|
|
54
|
+
mode: isAdditionalBalancesShown ? 'compare_mode' : 'off',
|
|
55
|
+
isAdditionalBalancesShown,
|
|
56
|
+
maxNumOfPeriodsToHighlight,
|
|
57
|
+
displayOrder,
|
|
58
|
+
reportFormat,
|
|
59
|
+
};
|
|
60
|
+
});
|
|
61
|
+
exports.getCashPositionForSelectedRange = (0, toolkit_1.createSelector)((state) => state.accountState, (state) => state.cashPositionState, (accountState, cashPositionState) => {
|
|
62
|
+
const { timeframe, selectedCOABalancesRange, selectedAdditionalBalances } = cashPositionState.uiState;
|
|
63
|
+
const noFilter = (0, coaBalancesFilter_1.newBalancesFilter)(cashPositionState.firstMonthOfFY, timeframe, selectedCOABalancesRange.numberOfPeriods, selectedCOABalancesRange.thisPeriod, 'ascending_date', selectedAdditionalBalances);
|
|
64
|
+
return (0, exports.getCashPosition)(accountState, cashPositionState, noFilter);
|
|
65
|
+
});
|
|
66
|
+
exports.getCashPositionForHighlightedRange = (0, toolkit_1.createSelector)((state) => state.accountState, (state) => state.cashPositionState, (accountState, cashPositionState) => {
|
|
67
|
+
var _a;
|
|
68
|
+
const { timeframe, highlightedCOABalancesRange, selectedAdditionalBalances, maxNumOfPeriodsToHighlight, } = cashPositionState.uiState;
|
|
69
|
+
const filter = (0, coaBalancesFilter_1.newBalancesFilter)(cashPositionState.firstMonthOfFY, timeframe, (_a = highlightedCOABalancesRange === null || highlightedCOABalancesRange === void 0 ? void 0 : highlightedCOABalancesRange.numberOfPeriods) !== null && _a !== void 0 ? _a : maxNumOfPeriodsToHighlight, highlightedCOABalancesRange === null || highlightedCOABalancesRange === void 0 ? void 0 : highlightedCOABalancesRange.thisPeriod, 'ascending_date', selectedAdditionalBalances);
|
|
70
|
+
return (0, exports.getCashPosition)(accountState, cashPositionState, filter);
|
|
71
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { SectionWithAccountOnly } from '../../commonStateTypes/selectorTypes/selectorTypes';
|
|
2
|
+
import { SelectorReport, SelectorView } from '../../commonStateTypes/viewAndReport/viewAndReport';
|
|
3
|
+
import { TimeframeTickWithMetaData } from '../../commonStateTypes/timeframeTick';
|
|
4
|
+
import { DataAvailable } from '../../commonStateTypes/dataAvailable';
|
|
5
|
+
import { COABalancesFilter } from '../../commonStateTypes/coaBalance/coaBalancesFilter';
|
|
6
|
+
import { InsightSummary } from '../../entity/insights/insightSummary';
|
|
7
|
+
import { CashPositionUIState } from './cashPositionState';
|
|
8
|
+
import { Mode } from '../../commonStateTypes/common';
|
|
9
|
+
export interface CashPositionReport extends SelectorReport {
|
|
10
|
+
allTimeframeTicks: TimeframeTickWithMetaData[];
|
|
11
|
+
dataAvailable?: DataAvailable;
|
|
12
|
+
insights: InsightSummary[];
|
|
13
|
+
filter: COABalancesFilter;
|
|
14
|
+
cashPosition: SectionWithAccountOnly;
|
|
15
|
+
}
|
|
16
|
+
export interface CashPositionUIStateSelectorView extends SelectorView, CashPositionUIState {
|
|
17
|
+
mode: Mode;
|
|
18
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ZeniAPI } from '../../zeniAPI';
|
|
4
|
+
import { RootState } from '../../reducer';
|
|
5
|
+
import { updateClasses } from '../../entity/class/classReducer';
|
|
6
|
+
import { fetchClassList, updateClassList, updateClassListFailure } from './classListReducer';
|
|
7
|
+
export declare type ActionType = ReturnType<typeof fetchClassList> | ReturnType<typeof updateClasses> | ReturnType<typeof updateClassList> | ReturnType<typeof updateClassListFailure>;
|
|
8
|
+
export declare const fetchClassListEpic: (actions$: ActionsObservable<ActionType>, _state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.fetchClassListEpic = void 0;
|
|
4
|
+
const rxjs_1 = require("rxjs");
|
|
5
|
+
const operators_1 = require("rxjs/operators");
|
|
6
|
+
const responsePayload_1 = require("../../responsePayload");
|
|
7
|
+
const classReducer_1 = require("../../entity/class/classReducer");
|
|
8
|
+
const classListReducer_1 = require("./classListReducer");
|
|
9
|
+
const fetchClassListEpic = (actions$, _state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(classListReducer_1.fetchClassList.match), (0, operators_1.switchMap)(() => {
|
|
10
|
+
return zeniAPI
|
|
11
|
+
.getJSON(`${zeniAPI.apiEndPoints.accountMicroServiceBaseUrl}/1.0/classes`)
|
|
12
|
+
.pipe((0, operators_1.mergeMap)((response) => {
|
|
13
|
+
var _a, _b;
|
|
14
|
+
if ((0, responsePayload_1.isSuccessResponse)(response)) {
|
|
15
|
+
return (0, rxjs_1.of)((0, classReducer_1.updateClasses)('class_list', (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.accounting_classes) !== null && _b !== void 0 ? _b : []), (0, classListReducer_1.updateClassList)(response));
|
|
16
|
+
}
|
|
17
|
+
else {
|
|
18
|
+
return (0, rxjs_1.of)((0, classListReducer_1.updateClassListFailure)(response.status));
|
|
19
|
+
}
|
|
20
|
+
}), (0, operators_1.catchError)((error) => {
|
|
21
|
+
return (0, rxjs_1.of)((0, classListReducer_1.updateClassListFailure)((0, responsePayload_1.createZeniAPIStatus)('Unexpected Error', 'Fetch Classes REST API call errored out' +
|
|
22
|
+
JSON.stringify(error))));
|
|
23
|
+
}));
|
|
24
|
+
}));
|
|
25
|
+
exports.fetchClassListEpic = fetchClassListEpic;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ID } from '../../commonStateTypes/common';
|
|
2
|
+
export declare const isZeniClearingAccountReport: (reportCoaId: ID) => boolean;
|
|
3
|
+
export declare const ZENI_CLEARING_ACCOUNT = "zeni-clearing-account";
|
|
4
|
+
export declare const isZeniClearingAccount: (accountId: ID) => boolean;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isZeniClearingAccount = exports.ZENI_CLEARING_ACCOUNT = exports.isZeniClearingAccountReport = void 0;
|
|
4
|
+
const ZENI_COA_NUMBER_FOR_ZENI_CLEARING_ACCOUNT = '11999';
|
|
5
|
+
const isZeniClearingAccountReport = (reportCoaId) => {
|
|
6
|
+
return Boolean(reportCoaId === ZENI_COA_NUMBER_FOR_ZENI_CLEARING_ACCOUNT);
|
|
7
|
+
};
|
|
8
|
+
exports.isZeniClearingAccountReport = isZeniClearingAccountReport;
|
|
9
|
+
exports.ZENI_CLEARING_ACCOUNT = 'zeni-clearing-account';
|
|
10
|
+
const isZeniClearingAccount = (accountId) => {
|
|
11
|
+
return Boolean(accountId === exports.ZENI_CLEARING_ACCOUNT);
|
|
12
|
+
};
|
|
13
|
+
exports.isZeniClearingAccount = isZeniClearingAccount;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { AddressPayload } from '../../entity/address/addressPayload';
|
|
2
|
+
import { BankAccountPayload } from '../../entity/bankAccount/bankAccountPayload';
|
|
3
|
+
import { ContactPayload } from '../../entity/billPay/contact/contactPayload';
|
|
4
|
+
import { FilePayload } from '../../entity/file/filePayload';
|
|
5
|
+
import { VendorPayload } from '../../entity/vendor/vendorPayload';
|
|
6
|
+
import { Recommendation } from '../../commonStateTypes/recommendationBase';
|
|
7
|
+
import { RecommendedAccountBase } from '../../entity/account/accountState';
|
|
8
|
+
import { RecommendedClassBase } from '../../entity/class/classState';
|
|
9
|
+
import { PaymentInstrumentPayload } from '../../entity/paymentInstrument/paymentInstrumentPayload';
|
|
10
|
+
export declare const getFlattenedAddress: (vendors: VendorPayload[]) => AddressPayload[];
|
|
11
|
+
export declare const getFlattenedContacts: (vendors: VendorPayload[]) => ContactPayload[];
|
|
12
|
+
export declare const getFlattenedBankAccounts: (vendors: VendorPayload[]) => BankAccountPayload[];
|
|
13
|
+
export declare const getFlattenedPaymentInstruments: (vendors: VendorPayload[]) => PaymentInstrumentPayload[];
|
|
14
|
+
export declare const getFlattenedDocuments: (vendors: VendorPayload[]) => FilePayload[];
|
|
15
|
+
export declare const recommendedCategorySelected: (currentCategory?: string | undefined, recommendations?: Recommendation[] | undefined) => boolean;
|
|
16
|
+
export declare const recommendedClassSelected: (currentClass?: string | undefined, recommendations?: Recommendation[] | undefined) => boolean;
|
|
17
|
+
export declare const getRecommendedCategoryClass: (recommendations?: Recommendation[] | undefined, accountId?: string | undefined, classId?: string | undefined) => {
|
|
18
|
+
recommendedAccount: RecommendedAccountBase | undefined;
|
|
19
|
+
recommendedClass: RecommendedClassBase | undefined;
|
|
20
|
+
};
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRecommendedCategoryClass = exports.recommendedClassSelected = exports.recommendedCategorySelected = exports.getFlattenedDocuments = exports.getFlattenedPaymentInstruments = exports.getFlattenedBankAccounts = exports.getFlattenedContacts = exports.getFlattenedAddress = void 0;
|
|
4
|
+
const getFlattenedAddress = (vendors) => {
|
|
5
|
+
if (vendors != null) {
|
|
6
|
+
const addresses = [];
|
|
7
|
+
vendors.forEach((vendor) => {
|
|
8
|
+
if (vendor.address != null) {
|
|
9
|
+
addresses.push(vendor.address);
|
|
10
|
+
}
|
|
11
|
+
if (vendor.billing_address != null) {
|
|
12
|
+
addresses.push(vendor.billing_address);
|
|
13
|
+
}
|
|
14
|
+
if (vendor.shipping_address != null) {
|
|
15
|
+
addresses.push(vendor.shipping_address);
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
return addresses;
|
|
19
|
+
}
|
|
20
|
+
return [];
|
|
21
|
+
};
|
|
22
|
+
exports.getFlattenedAddress = getFlattenedAddress;
|
|
23
|
+
const getFlattenedContacts = (vendors) => {
|
|
24
|
+
return vendors
|
|
25
|
+
.map((vendor) => { var _a; return (_a = vendor.contacts) !== null && _a !== void 0 ? _a : []; })
|
|
26
|
+
.reduce((prev, next) => prev.concat(next));
|
|
27
|
+
};
|
|
28
|
+
exports.getFlattenedContacts = getFlattenedContacts;
|
|
29
|
+
const getFlattenedBankAccounts = (vendors) => {
|
|
30
|
+
if (vendors != null) {
|
|
31
|
+
return vendors
|
|
32
|
+
.map((vendor) => { var _a; return (_a = vendor.bank_accounts) !== null && _a !== void 0 ? _a : []; })
|
|
33
|
+
.reduce((prev, next) => (next != null ? prev.concat(next) : prev));
|
|
34
|
+
}
|
|
35
|
+
return [];
|
|
36
|
+
};
|
|
37
|
+
exports.getFlattenedBankAccounts = getFlattenedBankAccounts;
|
|
38
|
+
const getFlattenedPaymentInstruments = (vendors) => {
|
|
39
|
+
if (vendors != null) {
|
|
40
|
+
return vendors
|
|
41
|
+
.map((vendor) => { var _a; return (_a = vendor.payment_instruments) !== null && _a !== void 0 ? _a : []; })
|
|
42
|
+
.reduce((prev, next) => (next != null ? prev.concat(next) : prev));
|
|
43
|
+
}
|
|
44
|
+
return [];
|
|
45
|
+
};
|
|
46
|
+
exports.getFlattenedPaymentInstruments = getFlattenedPaymentInstruments;
|
|
47
|
+
const getFlattenedDocuments = (vendors) => {
|
|
48
|
+
if (vendors != null) {
|
|
49
|
+
return vendors
|
|
50
|
+
.map((vendor) => { var _a; return (_a = vendor.documents) !== null && _a !== void 0 ? _a : []; })
|
|
51
|
+
.reduce((prev, next) => (next != null ? prev.concat(next) : prev));
|
|
52
|
+
}
|
|
53
|
+
return [];
|
|
54
|
+
};
|
|
55
|
+
exports.getFlattenedDocuments = getFlattenedDocuments;
|
|
56
|
+
const recommendedCategorySelected = (currentCategory, recommendations) => {
|
|
57
|
+
let isRecommendedCategorySelected = false;
|
|
58
|
+
recommendations === null || recommendations === void 0 ? void 0 : recommendations.forEach((rec) => {
|
|
59
|
+
var _a;
|
|
60
|
+
if (((_a = rec.account) === null || _a === void 0 ? void 0 : _a.accountId) === currentCategory) {
|
|
61
|
+
isRecommendedCategorySelected = true;
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
return isRecommendedCategorySelected;
|
|
65
|
+
};
|
|
66
|
+
exports.recommendedCategorySelected = recommendedCategorySelected;
|
|
67
|
+
const recommendedClassSelected = (currentClass, recommendations) => {
|
|
68
|
+
let isRecommendedClassSelected = false;
|
|
69
|
+
recommendations === null || recommendations === void 0 ? void 0 : recommendations.forEach((rec) => {
|
|
70
|
+
var _a;
|
|
71
|
+
if (((_a = rec.account) === null || _a === void 0 ? void 0 : _a.accountId) === currentClass) {
|
|
72
|
+
isRecommendedClassSelected = true;
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
return isRecommendedClassSelected;
|
|
76
|
+
};
|
|
77
|
+
exports.recommendedClassSelected = recommendedClassSelected;
|
|
78
|
+
const getRecommendedCategoryClass = (recommendations, accountId, classId) => {
|
|
79
|
+
let recommendedAccount;
|
|
80
|
+
let recommendedClass;
|
|
81
|
+
// Note: Recommended account/class will always be the first non-matching (with line account/class) value.
|
|
82
|
+
let isAccountOneOfRecommended = false;
|
|
83
|
+
let isClassOneOfRecommended = false;
|
|
84
|
+
recommendations === null || recommendations === void 0 ? void 0 : recommendations.forEach((rec) => {
|
|
85
|
+
if (rec.account != null &&
|
|
86
|
+
rec.account.accountId !== accountId &&
|
|
87
|
+
recommendedAccount == null) {
|
|
88
|
+
recommendedAccount = rec.account;
|
|
89
|
+
}
|
|
90
|
+
if (rec.class != null &&
|
|
91
|
+
rec.class.classId !== classId &&
|
|
92
|
+
recommendedClass == null) {
|
|
93
|
+
recommendedClass = rec.class;
|
|
94
|
+
}
|
|
95
|
+
if (rec.account != null && rec.account.accountId === accountId) {
|
|
96
|
+
isAccountOneOfRecommended = true;
|
|
97
|
+
}
|
|
98
|
+
if (rec.class != null && rec.class.classId === classId) {
|
|
99
|
+
isClassOneOfRecommended = true;
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
return {
|
|
103
|
+
recommendedAccount: isAccountOneOfRecommended
|
|
104
|
+
? undefined
|
|
105
|
+
: recommendedAccount,
|
|
106
|
+
recommendedClass: isClassOneOfRecommended ? undefined : recommendedClass,
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
exports.getRecommendedCategoryClass = getRecommendedCategoryClass;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ZeniAPI } from '../../../../zeniAPI';
|
|
4
|
+
import { RootState } from '../../../../reducer';
|
|
5
|
+
import { resetTransactionVendorLocalData, updateTransactionVendorLocalData } from '../transactionVendorViewReducer';
|
|
6
|
+
export declare type ActionType = ReturnType<typeof resetTransactionVendorLocalData> | ReturnType<typeof updateTransactionVendorLocalData>;
|
|
7
|
+
export declare const resetTransactionVendorLocalDataEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>, _zeniAPI: ZeniAPI) => Observable<ActionType>;
|
package/lib/view/commonVendorView/transactionVendorView/epics/resetTransactionVendorLocalDataEpic.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resetTransactionVendorLocalDataEpic = void 0;
|
|
4
|
+
const rxjs_1 = require("rxjs");
|
|
5
|
+
const operators_1 = require("rxjs/operators");
|
|
6
|
+
const vendorSelector_1 = require("../../../../entity/vendor/vendorSelector");
|
|
7
|
+
const transactionVendorViewReducer_1 = require("../transactionVendorViewReducer");
|
|
8
|
+
const transactionVendorLocalDataHelper_1 = require("../transactionVendorLocalDataHelper");
|
|
9
|
+
const resetTransactionVendorLocalDataEpic = (actions$, state$,
|
|
10
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
11
|
+
_zeniAPI) => actions$.pipe((0, operators_1.filter)(transactionVendorViewReducer_1.resetTransactionVendorLocalData.match), (0, operators_1.mergeMap)((action) => {
|
|
12
|
+
const actions = [];
|
|
13
|
+
if (action.payload.vendorId != null) {
|
|
14
|
+
const newVendorStateData = (0, vendorSelector_1.getVendorByVendorId)(state$.value.vendorState, action.payload.vendorId);
|
|
15
|
+
if (newVendorStateData != null) {
|
|
16
|
+
actions.push((0, transactionVendorViewReducer_1.updateTransactionVendorLocalData)({
|
|
17
|
+
vendorId: action.payload.vendorId,
|
|
18
|
+
localData: (0, transactionVendorLocalDataHelper_1.getInitializedTransactionVendorLocalData)(newVendorStateData),
|
|
19
|
+
}));
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
actions.push((0, transactionVendorViewReducer_1.updateTransactionVendorLocalData)({
|
|
24
|
+
localData: {},
|
|
25
|
+
vendorId: undefined,
|
|
26
|
+
}));
|
|
27
|
+
}
|
|
28
|
+
return (0, rxjs_1.from)(actions);
|
|
29
|
+
}));
|
|
30
|
+
exports.resetTransactionVendorLocalDataEpic = resetTransactionVendorLocalDataEpic;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
+
import { ZeniAPI } from '../../../../zeniAPI';
|
|
3
|
+
import { RootState } from '../../../../reducer';
|
|
4
|
+
import { saveTransactionVendor, saveTransactionVendorSuccessOrFailure, updateTransactionVendorLocalData } from '../transactionVendorViewReducer';
|
|
5
|
+
import { updateVendors } from '../../../../entity/vendor/vendorReducer';
|
|
6
|
+
import { openSnackbar } from '../../../../entity/snackbar/snackbarReducer';
|
|
7
|
+
import { saveTransactionDetail, updateSelectedVendor } from '../../../transactionDetail/transactionDetailReducer';
|
|
8
|
+
export declare type ActionType = ReturnType<typeof saveTransactionVendor> | ReturnType<typeof saveTransactionDetail> | ReturnType<typeof updateVendors> | ReturnType<typeof openSnackbar> | ReturnType<typeof saveTransactionVendorSuccessOrFailure> | ReturnType<typeof updateTransactionVendorLocalData> | ReturnType<typeof updateSelectedVendor>;
|
|
9
|
+
export declare const saveTransactionVendorEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => import("rxjs").Observable<ActionType>;
|