@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,64 @@
|
|
|
1
|
+
import { RootState } from '../../../reducer';
|
|
2
|
+
import { JEScheduleDetailsLocalData, ScheduleDetailsLocalData, ScheduleDetailsLocalDataFixedAssets } from './scheduleDetailState';
|
|
3
|
+
import { JEScheduleKey, ScheduleTypes } from '../../../entity/jeSchedules/jeSchedulesTypes';
|
|
4
|
+
import { VendorBasePayload } from '../../../entity/vendor/vendorPayload';
|
|
5
|
+
import { JEScheduledTransaction } from '../../../entity/jeSchedules/jeSchedulesSelector';
|
|
6
|
+
import { Vendor, VendorState } from '../../../entity/vendor/vendorState';
|
|
7
|
+
import { ScheduleTransaction } from '../../../entity/transaction/stateTypes/scheduleTransaction';
|
|
8
|
+
import { AccountBasePayload } from '../../../entity/account/accountPayload';
|
|
9
|
+
import { ClassBasePayload } from '../../../entity/class/classPayload';
|
|
10
|
+
import { TransactionIDPayload } from '../../../entity/transaction/payloadTypes/transactionIDPayload';
|
|
11
|
+
import { StatusCodeWithLabelPayload } from '../../../commonPayloadTypes/statusPayload';
|
|
12
|
+
import { JEScheduleOtherAttributesPayload } from '../../../entity/jeSchedules/jeSchedulesPayload';
|
|
13
|
+
export declare type BaseScheduleTransactionPayload = SaveScheduleTransactionPayload;
|
|
14
|
+
export interface JESchedulePayload {
|
|
15
|
+
status: StatusCodeWithLabelPayload;
|
|
16
|
+
vendor: VendorBasePayload;
|
|
17
|
+
currency_code: string;
|
|
18
|
+
currency_symbol: string;
|
|
19
|
+
base_transaction: BaseScheduleTransactionPayload;
|
|
20
|
+
je_schedule_type: string;
|
|
21
|
+
period: number | null;
|
|
22
|
+
balance: number | null;
|
|
23
|
+
posting_date: number | null;
|
|
24
|
+
start_date: string | null;
|
|
25
|
+
end_date: string | null;
|
|
26
|
+
je_credit_accounting_class_id: string | null;
|
|
27
|
+
je_credit_account_id: string | null;
|
|
28
|
+
je_debit_account_id: string | null;
|
|
29
|
+
je_debit_accounting_class_id: string | null;
|
|
30
|
+
other_attributes: JEScheduleOtherAttributesPayload;
|
|
31
|
+
is_deleted?: boolean;
|
|
32
|
+
}
|
|
33
|
+
export interface SaveJESchedulePayload {
|
|
34
|
+
status: StatusCodeWithLabelPayload;
|
|
35
|
+
transaction_memo: string | null;
|
|
36
|
+
third_party_id: string | null;
|
|
37
|
+
expected_post_date: string | null;
|
|
38
|
+
je_schedule_id: string | null;
|
|
39
|
+
scheduled_journal_entry_id: string | null;
|
|
40
|
+
actual_post_date: string | null;
|
|
41
|
+
amount: number | null;
|
|
42
|
+
balance: number | null;
|
|
43
|
+
is_platform_generated: boolean | null;
|
|
44
|
+
update_time: string | null;
|
|
45
|
+
create_time: string | null;
|
|
46
|
+
is_deleted?: boolean;
|
|
47
|
+
}
|
|
48
|
+
export interface SaveScheduleTransactionPayload extends TransactionIDPayload, Omit<AccountBasePayload, 'qbo_id'>, Omit<ClassBasePayload, 'qbo_id'> {
|
|
49
|
+
third_party_transaction_id: string | null;
|
|
50
|
+
transaction_date: string | null;
|
|
51
|
+
total_amount: number | null;
|
|
52
|
+
transaction_memo: string | null;
|
|
53
|
+
line_id: string | null;
|
|
54
|
+
}
|
|
55
|
+
export interface SaveScheduleDetailPayload {
|
|
56
|
+
je_schedules: JESchedulePayload[];
|
|
57
|
+
scheduled_journal_entries: SaveJESchedulePayload[];
|
|
58
|
+
}
|
|
59
|
+
export declare const mapVendorToVendorPayload: (payload: Vendor) => VendorBasePayload;
|
|
60
|
+
export declare const mapScheduleTransactionToBaseScheduleTransactionPayload: (payload: ScheduleTransaction) => BaseScheduleTransactionPayload;
|
|
61
|
+
export declare const mapJEScheduleLocalDataToScheduleDetailPayload: (jeScheduleDetails: JEScheduleDetailsLocalData[], jeScheduleTransactionState: JEScheduledTransaction, isDelete?: boolean | undefined) => SaveJESchedulePayload[];
|
|
62
|
+
export declare const mapJEScheduleTransactionToPayload: (jeScheduleTransactionState: JEScheduledTransaction, vendorState: VendorState, scheduleDetailsLocalData: ScheduleDetailsLocalData, jeScheduleType: ScheduleTypes, isDelete?: boolean | undefined) => JESchedulePayload;
|
|
63
|
+
export declare const mapFixedAssetJEScheduleTransactionToPayload: (jeScheduleTransactionState: JEScheduledTransaction, vendorState: VendorState, scheduleDetailsLocalData: ScheduleDetailsLocalDataFixedAssets, isDelete?: boolean | undefined) => JESchedulePayload;
|
|
64
|
+
export declare const prepareScheduleDetailPayload: (state: RootState, scheduleDetailsLocalData: ScheduleDetailsLocalData, selectedJEScheduleKey: JEScheduleKey, jeScheduleType: ScheduleTypes, isDelete?: boolean | undefined) => SaveScheduleDetailPayload;
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.prepareScheduleDetailPayload = exports.mapFixedAssetJEScheduleTransactionToPayload = exports.mapJEScheduleTransactionToPayload = exports.mapJEScheduleLocalDataToScheduleDetailPayload = exports.mapScheduleTransactionToBaseScheduleTransactionPayload = exports.mapVendorToVendorPayload = void 0;
|
|
4
|
+
const jeSchedulesSelector_1 = require("../../../entity/jeSchedules/jeSchedulesSelector");
|
|
5
|
+
const timePeriod_1 = require("../../../commonStateTypes/timePeriod");
|
|
6
|
+
const formatZeniDateFY_1 = require("../../../commonStateTypes/fiscalYearHelpers/formatZeniDateFY");
|
|
7
|
+
const mapVendorToVendorPayload = (payload) => ({
|
|
8
|
+
vendor_id: payload.id,
|
|
9
|
+
vendor_name: payload.name,
|
|
10
|
+
});
|
|
11
|
+
exports.mapVendorToVendorPayload = mapVendorToVendorPayload;
|
|
12
|
+
const mapScheduleTransactionToBaseScheduleTransactionPayload = (payload) => {
|
|
13
|
+
var _a, _b;
|
|
14
|
+
return {
|
|
15
|
+
transaction_id: payload.id,
|
|
16
|
+
transaction_type: payload.type,
|
|
17
|
+
transaction_date: payload.date.format(formatZeniDateFY_1.DEFAULT_DATE_FORMAT),
|
|
18
|
+
total_amount: payload.amount.amount,
|
|
19
|
+
third_party_transaction_id: payload.thirdPartyTransactionId,
|
|
20
|
+
line_id: payload.lineId,
|
|
21
|
+
transaction_memo: payload.memo,
|
|
22
|
+
account_id: payload.account.accountId,
|
|
23
|
+
accounting_class_id: payload.classBase != null ? payload.classBase.classId : '',
|
|
24
|
+
labels: [],
|
|
25
|
+
account_name: (_b = (_a = payload.account) === null || _a === void 0 ? void 0 : _a.accountName) !== null && _b !== void 0 ? _b : '',
|
|
26
|
+
accounting_class_name: payload.classBase != null ? payload.classBase.className : '',
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
exports.mapScheduleTransactionToBaseScheduleTransactionPayload = mapScheduleTransactionToBaseScheduleTransactionPayload;
|
|
30
|
+
const mapJEScheduleLocalDataToScheduleDetailPayload = (jeScheduleDetails, jeScheduleTransactionState, isDelete) => {
|
|
31
|
+
const scheduleJournalEntry = jeScheduleTransactionState.scheduledJournalEntry;
|
|
32
|
+
return jeScheduleDetails.length > 0
|
|
33
|
+
? jeScheduleDetails.map((journalEntry, index) => {
|
|
34
|
+
var _a;
|
|
35
|
+
const currentScheduleJournalEntry = scheduleJournalEntry[index];
|
|
36
|
+
const payload = {
|
|
37
|
+
status: {
|
|
38
|
+
code: journalEntry.postingStatus,
|
|
39
|
+
label: journalEntry.postingStatus,
|
|
40
|
+
},
|
|
41
|
+
transaction_memo: journalEntry.memo,
|
|
42
|
+
third_party_id: (_a = journalEntry.jeLink.thirdPartyTransactionId) !== null && _a !== void 0 ? _a : null,
|
|
43
|
+
expected_post_date: journalEntry.postingDate.format(formatZeniDateFY_1.DEFAULT_DATE_FORMAT),
|
|
44
|
+
amount: journalEntry.amount.amount,
|
|
45
|
+
balance: journalEntry.runningBalance.amount,
|
|
46
|
+
scheduled_journal_entry_id: (currentScheduleJournalEntry === null || currentScheduleJournalEntry === void 0 ? void 0 : currentScheduleJournalEntry.scheduledJournalEntryID) != null
|
|
47
|
+
? currentScheduleJournalEntry.scheduledJournalEntryID
|
|
48
|
+
: null,
|
|
49
|
+
actual_post_date: (currentScheduleJournalEntry === null || currentScheduleJournalEntry === void 0 ? void 0 : currentScheduleJournalEntry.actualPostDate) != null
|
|
50
|
+
? currentScheduleJournalEntry.actualPostDate.format(formatZeniDateFY_1.DEFAULT_DATE_FORMAT)
|
|
51
|
+
: null,
|
|
52
|
+
is_platform_generated: (currentScheduleJournalEntry === null || currentScheduleJournalEntry === void 0 ? void 0 : currentScheduleJournalEntry.isPlatformGenerated) != null
|
|
53
|
+
? currentScheduleJournalEntry.isPlatformGenerated
|
|
54
|
+
: null,
|
|
55
|
+
je_schedule_id: (currentScheduleJournalEntry === null || currentScheduleJournalEntry === void 0 ? void 0 : currentScheduleJournalEntry.jeScheduleId) != null
|
|
56
|
+
? currentScheduleJournalEntry.jeScheduleId
|
|
57
|
+
: null,
|
|
58
|
+
update_time: (currentScheduleJournalEntry === null || currentScheduleJournalEntry === void 0 ? void 0 : currentScheduleJournalEntry.updateTime) != null
|
|
59
|
+
? currentScheduleJournalEntry.updateTime.format(formatZeniDateFY_1.DEFAULT_DATE_FORMAT)
|
|
60
|
+
: null,
|
|
61
|
+
create_time: (currentScheduleJournalEntry === null || currentScheduleJournalEntry === void 0 ? void 0 : currentScheduleJournalEntry.createTime) != null
|
|
62
|
+
? currentScheduleJournalEntry.createTime.format(formatZeniDateFY_1.DEFAULT_DATE_FORMAT)
|
|
63
|
+
: null,
|
|
64
|
+
};
|
|
65
|
+
return isDelete === true
|
|
66
|
+
? Object.assign(Object.assign({}, payload), { is_deleted: true }) : payload;
|
|
67
|
+
})
|
|
68
|
+
: [];
|
|
69
|
+
};
|
|
70
|
+
exports.mapJEScheduleLocalDataToScheduleDetailPayload = mapJEScheduleLocalDataToScheduleDetailPayload;
|
|
71
|
+
const mapJEScheduleTransactionToPayload = (jeScheduleTransactionState, vendorState, scheduleDetailsLocalData, jeScheduleType, isDelete) => {
|
|
72
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
73
|
+
const { vendor, currencyCode, currencySymbol, baseTransaction, status, startDate, endDate, balanceAsOfToday, jeCredit, } = jeScheduleTransactionState;
|
|
74
|
+
const { selectedMonths, selectedAccount, selectedClass, selectedDayOfMonth, lastDayOfMonth, } = scheduleDetailsLocalData;
|
|
75
|
+
const postingDate = selectedDayOfMonth !== null && selectedDayOfMonth !== void 0 ? selectedDayOfMonth : (lastDayOfMonth != null ? timePeriod_1.LAST_SCHEDULE_DAY_OF_MONTH : null);
|
|
76
|
+
const scheduleLength = scheduleDetailsLocalData.jeScheduleDetails.length;
|
|
77
|
+
const firstJEScheduleDate = scheduleLength > 0
|
|
78
|
+
? scheduleDetailsLocalData.jeScheduleDetails[0].postingDate.format(formatZeniDateFY_1.DEFAULT_DATE_FORMAT)
|
|
79
|
+
: null;
|
|
80
|
+
const lastJEScheduleDate = scheduleLength > 0
|
|
81
|
+
? scheduleDetailsLocalData.jeScheduleDetails[scheduleLength - 1].postingDate.format(formatZeniDateFY_1.DEFAULT_DATE_FORMAT)
|
|
82
|
+
: null;
|
|
83
|
+
const vendorID = vendor.id;
|
|
84
|
+
const vendorDetails = vendorState.vendorByID[vendorID];
|
|
85
|
+
const payload = {
|
|
86
|
+
status,
|
|
87
|
+
vendor: (0, exports.mapVendorToVendorPayload)(vendorDetails),
|
|
88
|
+
currency_code: currencyCode,
|
|
89
|
+
currency_symbol: currencySymbol,
|
|
90
|
+
period: selectedMonths !== null && selectedMonths !== void 0 ? selectedMonths : null,
|
|
91
|
+
je_schedule_type: jeScheduleType,
|
|
92
|
+
posting_date: postingDate,
|
|
93
|
+
balance: balanceAsOfToday != null
|
|
94
|
+
? balanceAsOfToday.amount
|
|
95
|
+
: baseTransaction.amount.amount,
|
|
96
|
+
start_date: (_a = startDate === null || startDate === void 0 ? void 0 : startDate.format(formatZeniDateFY_1.DEFAULT_DATE_FORMAT)) !== null && _a !== void 0 ? _a : firstJEScheduleDate,
|
|
97
|
+
end_date: (_b = endDate === null || endDate === void 0 ? void 0 : endDate.format(formatZeniDateFY_1.DEFAULT_DATE_FORMAT)) !== null && _b !== void 0 ? _b : lastJEScheduleDate,
|
|
98
|
+
je_credit_accounting_class_id: (_f = (_d = (_c = jeCredit.accountingClass) === null || _c === void 0 ? void 0 : _c.classId) !== null && _d !== void 0 ? _d : (_e = baseTransaction.classBase) === null || _e === void 0 ? void 0 : _e.classId) !== null && _f !== void 0 ? _f : null,
|
|
99
|
+
je_credit_account_id: (_h = (_g = jeCredit.account) === null || _g === void 0 ? void 0 : _g.accountId) !== null && _h !== void 0 ? _h : baseTransaction.account.accountId,
|
|
100
|
+
je_debit_account_id: selectedAccount !== null && selectedAccount !== void 0 ? selectedAccount : null,
|
|
101
|
+
je_debit_accounting_class_id: selectedClass !== null && selectedClass !== void 0 ? selectedClass : null,
|
|
102
|
+
other_attributes: {},
|
|
103
|
+
base_transaction: (0, exports.mapScheduleTransactionToBaseScheduleTransactionPayload)(baseTransaction),
|
|
104
|
+
};
|
|
105
|
+
return isDelete === true
|
|
106
|
+
? Object.assign(Object.assign({}, payload), { is_deleted: true }) : payload;
|
|
107
|
+
};
|
|
108
|
+
exports.mapJEScheduleTransactionToPayload = mapJEScheduleTransactionToPayload;
|
|
109
|
+
const mapFixedAssetJEScheduleTransactionToPayload = (jeScheduleTransactionState, vendorState, scheduleDetailsLocalData, isDelete) => {
|
|
110
|
+
var _a, _b, _c, _d, _e, _f;
|
|
111
|
+
const { vendor, currencyCode, currencySymbol, baseTransaction, status, startDate, endDate, balanceAsOfToday, jeCredit, } = jeScheduleTransactionState;
|
|
112
|
+
const { selectedMonths, selectedAccount, selectedClass, selectedDayOfMonth, lastDayOfMonth, selectedAccumulatedDepreciationCategory, assetId, } = scheduleDetailsLocalData;
|
|
113
|
+
const postingDate = selectedDayOfMonth !== null && selectedDayOfMonth !== void 0 ? selectedDayOfMonth : (lastDayOfMonth != null ? timePeriod_1.LAST_SCHEDULE_DAY_OF_MONTH : null);
|
|
114
|
+
const scheduleLength = scheduleDetailsLocalData.jeScheduleDetails.length;
|
|
115
|
+
const firstJEScheduleDate = scheduleLength > 0
|
|
116
|
+
? scheduleDetailsLocalData.jeScheduleDetails[0].postingDate.format(formatZeniDateFY_1.DEFAULT_DATE_FORMAT)
|
|
117
|
+
: null;
|
|
118
|
+
const lastJEScheduleDate = scheduleLength > 0
|
|
119
|
+
? scheduleDetailsLocalData.jeScheduleDetails[scheduleLength - 1].postingDate.format(formatZeniDateFY_1.DEFAULT_DATE_FORMAT)
|
|
120
|
+
: null;
|
|
121
|
+
const vendorID = vendor.id;
|
|
122
|
+
const vendorDetails = vendorState.vendorByID[vendorID];
|
|
123
|
+
const payload = {
|
|
124
|
+
status,
|
|
125
|
+
vendor: (0, exports.mapVendorToVendorPayload)(vendorDetails),
|
|
126
|
+
currency_code: currencyCode,
|
|
127
|
+
currency_symbol: currencySymbol,
|
|
128
|
+
period: selectedMonths !== null && selectedMonths !== void 0 ? selectedMonths : null,
|
|
129
|
+
je_schedule_type: 'fixed_assets',
|
|
130
|
+
posting_date: postingDate,
|
|
131
|
+
balance: balanceAsOfToday != null
|
|
132
|
+
? balanceAsOfToday.amount
|
|
133
|
+
: baseTransaction.amount.amount,
|
|
134
|
+
start_date: (_a = startDate === null || startDate === void 0 ? void 0 : startDate.format(formatZeniDateFY_1.DEFAULT_DATE_FORMAT)) !== null && _a !== void 0 ? _a : firstJEScheduleDate,
|
|
135
|
+
end_date: (_b = endDate === null || endDate === void 0 ? void 0 : endDate.format(formatZeniDateFY_1.DEFAULT_DATE_FORMAT)) !== null && _b !== void 0 ? _b : lastJEScheduleDate,
|
|
136
|
+
je_credit_accounting_class_id: (_f = (_d = (_c = jeCredit.accountingClass) === null || _c === void 0 ? void 0 : _c.classId) !== null && _d !== void 0 ? _d : (_e = baseTransaction.classBase) === null || _e === void 0 ? void 0 : _e.classId) !== null && _f !== void 0 ? _f : null,
|
|
137
|
+
je_credit_account_id: selectedAccumulatedDepreciationCategory !== null && selectedAccumulatedDepreciationCategory !== void 0 ? selectedAccumulatedDepreciationCategory : null,
|
|
138
|
+
je_debit_account_id: selectedAccount !== null && selectedAccount !== void 0 ? selectedAccount : null,
|
|
139
|
+
je_debit_accounting_class_id: selectedClass !== null && selectedClass !== void 0 ? selectedClass : null,
|
|
140
|
+
other_attributes: assetId != null
|
|
141
|
+
? {
|
|
142
|
+
asset_id: assetId,
|
|
143
|
+
}
|
|
144
|
+
: {},
|
|
145
|
+
base_transaction: (0, exports.mapScheduleTransactionToBaseScheduleTransactionPayload)(baseTransaction),
|
|
146
|
+
};
|
|
147
|
+
return isDelete === true
|
|
148
|
+
? Object.assign(Object.assign({}, payload), { is_deleted: true }) : payload;
|
|
149
|
+
};
|
|
150
|
+
exports.mapFixedAssetJEScheduleTransactionToPayload = mapFixedAssetJEScheduleTransactionToPayload;
|
|
151
|
+
const prepareScheduleDetailPayload = (state, scheduleDetailsLocalData, selectedJEScheduleKey, jeScheduleType, isDelete) => {
|
|
152
|
+
const payload = {
|
|
153
|
+
je_schedules: [],
|
|
154
|
+
scheduled_journal_entries: [],
|
|
155
|
+
};
|
|
156
|
+
const jeScheduleTransactionState = (0, jeSchedulesSelector_1.getJEScheduledTransactionByJEScheduleKey)(selectedJEScheduleKey, state);
|
|
157
|
+
const { vendorState } = state;
|
|
158
|
+
const jeScheduleDetailsLocalData = scheduleDetailsLocalData.jeScheduleDetails;
|
|
159
|
+
payload.je_schedules =
|
|
160
|
+
jeScheduleType !== 'fixed_assets'
|
|
161
|
+
? [
|
|
162
|
+
(0, exports.mapJEScheduleTransactionToPayload)(jeScheduleTransactionState, vendorState, scheduleDetailsLocalData, jeScheduleType, isDelete),
|
|
163
|
+
]
|
|
164
|
+
: [
|
|
165
|
+
(0, exports.mapFixedAssetJEScheduleTransactionToPayload)(jeScheduleTransactionState, vendorState, scheduleDetailsLocalData, isDelete),
|
|
166
|
+
];
|
|
167
|
+
payload.scheduled_journal_entries =
|
|
168
|
+
(0, exports.mapJEScheduleLocalDataToScheduleDetailPayload)(jeScheduleDetailsLocalData, jeScheduleTransactionState, isDelete);
|
|
169
|
+
return payload;
|
|
170
|
+
};
|
|
171
|
+
exports.prepareScheduleDetailPayload = prepareScheduleDetailPayload;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { RootState } from '../../../reducer';
|
|
2
|
+
import { NestedAccountHeirarchyForReport } from '../../../commonStateTypes/accountView/nestedAccountID';
|
|
3
|
+
import { NestedClassHeirarchyForReport } from '../../../commonStateTypes/classesView/nestedClassID';
|
|
4
|
+
import { AccountBase } from '../../../entity/account/accountState';
|
|
5
|
+
import { ClassBase } from '../../../entity/class/classState';
|
|
6
|
+
import { JEScheduledTransaction } from '../../../entity/jeSchedules/jeSchedulesSelector';
|
|
7
|
+
import { UncategorizedAccounts } from '../../accountList/accountListSelector';
|
|
8
|
+
import { ScheduleDetailUIState, ScheduleDetailsLocalData, ScheduleDetailsLocalDataFixedAssets } from './scheduleDetailState';
|
|
9
|
+
import { SelectorView } from '../../../commonStateTypes/viewAndReport/viewAndReport';
|
|
10
|
+
import { FetchStateAndError } from '../../../commonStateTypes/common';
|
|
11
|
+
import { ScheduleTypes } from '../../../entity/jeSchedules/jeSchedulesTypes';
|
|
12
|
+
export interface ScheduleDetailsView extends SelectorView {
|
|
13
|
+
scheduleType: ScheduleTypes;
|
|
14
|
+
allAccountList: AccountBase[];
|
|
15
|
+
uncategorizedAccounts: UncategorizedAccounts;
|
|
16
|
+
accountListNestedAccountHierarchy: NestedAccountHeirarchyForReport[];
|
|
17
|
+
allClassList: ClassBase[];
|
|
18
|
+
classListNestedAccountHierarchy: NestedClassHeirarchyForReport[];
|
|
19
|
+
allDepreciationAccountList: AccountBase[];
|
|
20
|
+
allDepreciationAccountListNestedAccountHeirarchy: NestedAccountHeirarchyForReport[];
|
|
21
|
+
uiState: ScheduleDetailUIState;
|
|
22
|
+
updateStatus: FetchStateAndError;
|
|
23
|
+
deleteStatus: FetchStateAndError;
|
|
24
|
+
scheduleDetailsLocalData: {
|
|
25
|
+
prepaid_expenses: ScheduleDetailsLocalData;
|
|
26
|
+
deferred_revenue: ScheduleDetailsLocalData;
|
|
27
|
+
accrued_expenses: ScheduleDetailsLocalData;
|
|
28
|
+
fixed_assets: ScheduleDetailsLocalDataFixedAssets;
|
|
29
|
+
};
|
|
30
|
+
selectedJEScheduleTransaction?: JEScheduledTransaction;
|
|
31
|
+
selectedJELinkRowIndex?: number;
|
|
32
|
+
}
|
|
33
|
+
export declare const getScheduleDetailsView: (state: RootState, scheduleType: ScheduleTypes) => ScheduleDetailsView;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.getScheduleDetailsView = void 0;
|
|
7
|
+
const omit_1 = __importDefault(require("lodash/omit"));
|
|
8
|
+
const jeSchedulesSelector_1 = require("../../../entity/jeSchedules/jeSchedulesSelector");
|
|
9
|
+
const accountListSelector_1 = require("../../accountList/accountListSelector");
|
|
10
|
+
const classListSelector_1 = require("../../classList/classListSelector");
|
|
11
|
+
const reduceFetchState_1 = require("../../../commonStateTypes/reduceFetchState");
|
|
12
|
+
const scheduleDetailReducer_1 = require("./scheduleDetailReducer");
|
|
13
|
+
const accountSelector_1 = require("../../../entity/account/accountSelector");
|
|
14
|
+
const scheduleDetailLocalDataHelper_1 = require("./scheduleDetailLocalDataHelper");
|
|
15
|
+
const scheduleListHelper_1 = require("../scheduleListView/scheduleListHelper");
|
|
16
|
+
const getScheduleDetailsView = (state, scheduleType) => {
|
|
17
|
+
const { accountState, accountListState, classState, classListState, scheduleDetailState, } = state;
|
|
18
|
+
const jeScheduleKey = scheduleDetailState.selectedJEScheduleKey;
|
|
19
|
+
const accountTypes = (0, scheduleListHelper_1.getAccountsTypesForScheduleList)(scheduleType);
|
|
20
|
+
const uncategorizedAccounts = (0, accountListSelector_1.getUncategorizedAccounts)(accountState, accountListState, accountTypes.accountListKey);
|
|
21
|
+
if (jeScheduleKey == null) {
|
|
22
|
+
return {
|
|
23
|
+
scheduleType,
|
|
24
|
+
uiState: scheduleDetailState.uiState,
|
|
25
|
+
selectedJEScheduleTransaction: undefined,
|
|
26
|
+
allAccountList: [],
|
|
27
|
+
allClassList: [],
|
|
28
|
+
allDepreciationAccountList: [],
|
|
29
|
+
uncategorizedAccounts,
|
|
30
|
+
accountListNestedAccountHierarchy: [],
|
|
31
|
+
classListNestedAccountHierarchy: [],
|
|
32
|
+
allDepreciationAccountListNestedAccountHeirarchy: [],
|
|
33
|
+
scheduleDetailsLocalData: scheduleDetailReducer_1.initialScheduleDetailsLocalData,
|
|
34
|
+
fetchState: scheduleDetailState.fetchState,
|
|
35
|
+
error: scheduleDetailState.error,
|
|
36
|
+
updateStatus: scheduleDetailState.updateStatus,
|
|
37
|
+
deleteStatus: scheduleDetailState.deleteStatus,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
const jeScheduleTransactionState = (0, jeSchedulesSelector_1.getJEScheduledTransactionByJEScheduleKey)(jeScheduleKey, state);
|
|
41
|
+
const scheduleDetailAccountTypes = (0, scheduleDetailLocalDataHelper_1.getAccountsTypesForScheduleDetails)(scheduleType);
|
|
42
|
+
const scheduleDetailAccountIds = (0, accountSelector_1.getAccountIdsForTypes)(accountState, scheduleDetailAccountTypes);
|
|
43
|
+
const allAccountList = (0, accountListSelector_1.getAccountList)(accountState, accountListState, accountTypes.accountListKey);
|
|
44
|
+
const filteredAccounts = allAccountList.accounts.filter((account) => scheduleDetailAccountIds.includes(account.accountId));
|
|
45
|
+
const depreciationCategoryIds = (0, accountSelector_1.getAccountIdsForTypes)(accountState, ['fixed_assets'] // This will always be for fixed assets list
|
|
46
|
+
);
|
|
47
|
+
const accountLabel = (0, scheduleListHelper_1.getAccountLabelForScheduleType)('fixed_assets');
|
|
48
|
+
const fixedAssetLabelAccountIds = accountLabel != null
|
|
49
|
+
? (0, accountListSelector_1.getAccountIdsForLabel)(accountListState, accountTypes.accountListKey, accountLabel)
|
|
50
|
+
: [];
|
|
51
|
+
const filteredDepAccounts = allAccountList.accounts.filter((account) => depreciationCategoryIds.includes(account.accountId) &&
|
|
52
|
+
!fixedAssetLabelAccountIds.includes(account.accountId));
|
|
53
|
+
const allClassList = (0, classListSelector_1.getClassList)(classState, classListState);
|
|
54
|
+
const allClasses = allClassList.classes.map((classData) => {
|
|
55
|
+
return (0, omit_1.default)(classData, ['accountIds', 'key']);
|
|
56
|
+
});
|
|
57
|
+
const accountListNestedAccountHierarchy = (0, accountListSelector_1.getNestedAccountListHeirarchy)(accountListState, accountTypes.accountListKey).filter((account) => account.accountId[0] != null &&
|
|
58
|
+
scheduleDetailAccountIds.includes(account.accountId[0]));
|
|
59
|
+
const depAccountListNestedAccountHierarchy = (0, accountListSelector_1.getNestedAccountListHeirarchy)(accountListState, accountTypes.accountListKey).filter((account) => account.accountId[0] != null &&
|
|
60
|
+
depreciationCategoryIds.includes(account.accountId[0]) &&
|
|
61
|
+
!fixedAssetLabelAccountIds.includes(account.accountId[0]));
|
|
62
|
+
const classListNestedAccountHierarchy = (0, classListSelector_1.getNestedClassListHeirarchy)(classListState);
|
|
63
|
+
const selectedJeScheduleDetailId = jeScheduleTransactionState.jeScheduleId;
|
|
64
|
+
const scheduleDetailsLocalData = Object.assign({}, scheduleDetailReducer_1.initialScheduleDetailsLocalData);
|
|
65
|
+
if (selectedJeScheduleDetailId != null) {
|
|
66
|
+
if (scheduleDetailState.editScheduleStateByDetailId[scheduleType][selectedJeScheduleDetailId] != null) {
|
|
67
|
+
scheduleDetailsLocalData[scheduleType] =
|
|
68
|
+
scheduleDetailState.editScheduleStateByDetailId[scheduleType][selectedJeScheduleDetailId];
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
else {
|
|
72
|
+
scheduleDetailsLocalData[scheduleType] =
|
|
73
|
+
scheduleDetailState.newScheduleState[scheduleType];
|
|
74
|
+
}
|
|
75
|
+
const fetchState = (0, reduceFetchState_1.reduceAllFetchState)([
|
|
76
|
+
scheduleDetailState,
|
|
77
|
+
allAccountList,
|
|
78
|
+
allClassList,
|
|
79
|
+
]);
|
|
80
|
+
return {
|
|
81
|
+
scheduleType,
|
|
82
|
+
uiState: scheduleDetailState.uiState,
|
|
83
|
+
selectedJEScheduleTransaction: jeScheduleTransactionState,
|
|
84
|
+
allAccountList: filteredAccounts,
|
|
85
|
+
allClassList: allClasses,
|
|
86
|
+
allDepreciationAccountList: filteredDepAccounts,
|
|
87
|
+
allDepreciationAccountListNestedAccountHeirarchy: depAccountListNestedAccountHierarchy,
|
|
88
|
+
uncategorizedAccounts,
|
|
89
|
+
accountListNestedAccountHierarchy,
|
|
90
|
+
classListNestedAccountHierarchy,
|
|
91
|
+
scheduleDetailsLocalData,
|
|
92
|
+
selectedJELinkRowIndex: scheduleDetailState.selectedJELinkRowIndex,
|
|
93
|
+
fetchState: fetchState.fetchState,
|
|
94
|
+
error: fetchState.error,
|
|
95
|
+
updateStatus: scheduleDetailState.updateStatus,
|
|
96
|
+
deleteStatus: scheduleDetailState.deleteStatus,
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
exports.getScheduleDetailsView = getScheduleDetailsView;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { fetchDownloadSchedules, updateDownloadScheduleFailure, updateDownloadScheduleSuccess } from '../scheduleListReducer';
|
|
4
|
+
import { RootState } from '../../../../reducer';
|
|
5
|
+
import { ZeniAPI } from '../../../../zeniAPI';
|
|
6
|
+
import { updateJESchedules, updateJESchedulesDetails } from '../../../../entity/jeSchedules/jeSchedulesReducer';
|
|
7
|
+
export declare type ActionType = ReturnType<typeof fetchDownloadSchedules> | ReturnType<typeof updateJESchedules> | ReturnType<typeof updateJESchedulesDetails> | ReturnType<typeof updateDownloadScheduleSuccess> | ReturnType<typeof updateDownloadScheduleFailure>;
|
|
8
|
+
export declare const fetchDownloadSchedulesEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.fetchDownloadSchedulesEpic = void 0;
|
|
4
|
+
const rxjs_1 = require("rxjs");
|
|
5
|
+
const operators_1 = require("rxjs/operators");
|
|
6
|
+
const scheduleListReducer_1 = require("../scheduleListReducer");
|
|
7
|
+
const responsePayload_1 = require("../../../../responsePayload");
|
|
8
|
+
const jeSchedulesReducer_1 = require("../../../../entity/jeSchedules/jeSchedulesReducer");
|
|
9
|
+
const timePeriod_1 = require("../../../../commonStateTypes/timePeriod");
|
|
10
|
+
const timeframeTick_1 = require("../../../../commonStateTypes/timeframeTick");
|
|
11
|
+
const scheduleListTypes_1 = require("../scheduleListTypes");
|
|
12
|
+
const fetchDownloadSchedulesEpic = (actions$, state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(scheduleListReducer_1.fetchDownloadSchedules.match), (0, operators_1.mergeMap)((action) => {
|
|
13
|
+
const { scheduleType, downloadCategories } = action.payload;
|
|
14
|
+
const scheduleListState = state$.value.scheduleListState;
|
|
15
|
+
// if parameters are provided, use those. else go to localdata
|
|
16
|
+
const scheduleState = (0, scheduleListReducer_1.getState)(scheduleListState, scheduleType);
|
|
17
|
+
const timeframe = action.payload.timeframeAndCategory != null
|
|
18
|
+
? action.payload.timeframeAndCategory.selectedTimeframe
|
|
19
|
+
: scheduleState.selectedTimeframe;
|
|
20
|
+
const categoryId = action.payload.timeframeAndCategory.selectedCategoryId;
|
|
21
|
+
const timePeriod = (0, timeframeTick_1.toTimePeriod)(timeframe);
|
|
22
|
+
const key = (0, scheduleListTypes_1.getScheduleListKey)(categoryId, timeframe);
|
|
23
|
+
const record = scheduleState.jeScheduleKeysByListKey[key];
|
|
24
|
+
if (record != null && record.fetchState === 'Completed') {
|
|
25
|
+
return (0, rxjs_1.from)([]);
|
|
26
|
+
}
|
|
27
|
+
const queryParam = {
|
|
28
|
+
start_date: (0, timePeriod_1.toString)(timePeriod.start),
|
|
29
|
+
end_date: (0, timePeriod_1.toString)(timePeriod.end),
|
|
30
|
+
je_schedule_type: scheduleType,
|
|
31
|
+
base_txn_account_ids: downloadCategories,
|
|
32
|
+
sort_by: 'transaction_date',
|
|
33
|
+
sort_order: 'desc',
|
|
34
|
+
filter: 'all',
|
|
35
|
+
};
|
|
36
|
+
return zeniAPI
|
|
37
|
+
.getJSON(`${zeniAPI.apiEndPoints.accountMicroServiceBaseUrl}/1.0/schedules/download?query=${encodeURIComponent(JSON.stringify(queryParam))}`)
|
|
38
|
+
.pipe((0, operators_1.mergeMap)((response) => {
|
|
39
|
+
if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
|
|
40
|
+
const updateActions = [
|
|
41
|
+
(0, jeSchedulesReducer_1.updateJESchedules)(response.data.je_schedules),
|
|
42
|
+
(0, jeSchedulesReducer_1.updateJESchedulesDetails)(response.data.je_schedules, response.data.scheduled_journal_entries),
|
|
43
|
+
(0, scheduleListReducer_1.updateDownloadScheduleSuccess)(scheduleType, timeframe, categoryId, response.data.je_schedules),
|
|
44
|
+
];
|
|
45
|
+
return (0, rxjs_1.from)(updateActions);
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
return (0, rxjs_1.of)((0, scheduleListReducer_1.updateDownloadScheduleFailure)(scheduleType, timeframe, categoryId, response.status));
|
|
49
|
+
}
|
|
50
|
+
}), (0, operators_1.catchError)((error) => (0, rxjs_1.of)((0, scheduleListReducer_1.updateDownloadScheduleFailure)(scheduleType, timeframe, categoryId, (0, responsePayload_1.createZeniAPIStatus)('Unexpected Error', 'Schedule Download REST API call errored out' +
|
|
51
|
+
JSON.stringify(error))))));
|
|
52
|
+
}));
|
|
53
|
+
exports.fetchDownloadSchedulesEpic = fetchDownloadSchedulesEpic;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { fetchScheduleList, updateScheduleListFailure, updateScheduleListSuccess } from '../scheduleListReducer';
|
|
4
|
+
import { RootState } from '../../../../reducer';
|
|
5
|
+
import { ZeniAPI } from '../../../../zeniAPI';
|
|
6
|
+
import { updateJESchedules, updateJESchedulesDetails } from '../../../../entity/jeSchedules/jeSchedulesReducer';
|
|
7
|
+
export declare type ActionType = ReturnType<typeof fetchScheduleList> | ReturnType<typeof updateJESchedules> | ReturnType<typeof updateJESchedulesDetails> | ReturnType<typeof updateScheduleListSuccess> | ReturnType<typeof updateScheduleListFailure>;
|
|
8
|
+
export declare const fetchScheduleListEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;
|
|
9
|
+
export interface ScheduleListQueryParam {
|
|
10
|
+
start_date: string;
|
|
11
|
+
end_date: string;
|
|
12
|
+
sort_by: string;
|
|
13
|
+
sort_order: string;
|
|
14
|
+
base_txn_account_ids: string[];
|
|
15
|
+
je_schedule_type: string;
|
|
16
|
+
filter: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.fetchScheduleListEpic = void 0;
|
|
4
|
+
const rxjs_1 = require("rxjs");
|
|
5
|
+
const operators_1 = require("rxjs/operators");
|
|
6
|
+
const scheduleListReducer_1 = require("../scheduleListReducer");
|
|
7
|
+
const responsePayload_1 = require("../../../../responsePayload");
|
|
8
|
+
const jeSchedulesReducer_1 = require("../../../../entity/jeSchedules/jeSchedulesReducer");
|
|
9
|
+
const timePeriod_1 = require("../../../../commonStateTypes/timePeriod");
|
|
10
|
+
const timeframeTick_1 = require("../../../../commonStateTypes/timeframeTick");
|
|
11
|
+
const scheduleListHelper_1 = require("../scheduleListHelper");
|
|
12
|
+
const scheduleListTypes_1 = require("../scheduleListTypes");
|
|
13
|
+
const accountListSelector_1 = require("../../../accountList/accountListSelector");
|
|
14
|
+
const fetchScheduleListEpic = (actions$, state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(scheduleListReducer_1.fetchScheduleList.match), (0, operators_1.mergeMap)((action) => {
|
|
15
|
+
const { scheduleType } = action.payload;
|
|
16
|
+
const { scheduleListState, accountListState } = state$.value;
|
|
17
|
+
// if parameters are provided, use those. else go to localdata
|
|
18
|
+
const scheduleState = (0, scheduleListReducer_1.getState)(scheduleListState, scheduleType);
|
|
19
|
+
const timeframe = action.payload.timeframeAndCategory != null
|
|
20
|
+
? action.payload.timeframeAndCategory.selectedTimeframe
|
|
21
|
+
: scheduleState.selectedTimeframe;
|
|
22
|
+
const categoryId = action.payload.timeframeAndCategory != null
|
|
23
|
+
? action.payload.timeframeAndCategory.selectedCategoryId
|
|
24
|
+
: scheduleState.selectedCategoryId;
|
|
25
|
+
const timePeriod = (0, timeframeTick_1.toTimePeriod)(timeframe);
|
|
26
|
+
const key = (0, scheduleListTypes_1.getScheduleListKey)(categoryId, timeframe);
|
|
27
|
+
const draft = scheduleState.jeScheduleKeysByListKey[key];
|
|
28
|
+
if (draft != null &&
|
|
29
|
+
draft.fetchState === 'Completed' &&
|
|
30
|
+
action.payload.cacheOverride === false) {
|
|
31
|
+
return (0, rxjs_1.from)([]);
|
|
32
|
+
}
|
|
33
|
+
const accountTypes = (0, scheduleListHelper_1.getAccountsTypesForScheduleList)(scheduleType);
|
|
34
|
+
const accountLabel = (0, scheduleListHelper_1.getAccountLabelForScheduleType)(scheduleType);
|
|
35
|
+
const scheduleListCurrentTabAccountIds = accountLabel != null
|
|
36
|
+
? (0, accountListSelector_1.getAccountIdsForLabel)(accountListState, accountTypes.accountListKey, accountLabel)
|
|
37
|
+
: [];
|
|
38
|
+
let categoryIds = [categoryId];
|
|
39
|
+
if (categoryId === 'all') {
|
|
40
|
+
categoryIds = scheduleListCurrentTabAccountIds;
|
|
41
|
+
}
|
|
42
|
+
const queryParam = {
|
|
43
|
+
start_date: (0, timePeriod_1.toString)(timePeriod.start),
|
|
44
|
+
end_date: (0, timePeriod_1.toString)(timePeriod.end),
|
|
45
|
+
je_schedule_type: scheduleType,
|
|
46
|
+
base_txn_account_ids: categoryIds,
|
|
47
|
+
// these are hard coded since sorting and filtering are at the client end
|
|
48
|
+
sort_by: 'transaction_date',
|
|
49
|
+
sort_order: 'desc',
|
|
50
|
+
filter: 'all',
|
|
51
|
+
};
|
|
52
|
+
return zeniAPI
|
|
53
|
+
.getJSON(`${zeniAPI.apiEndPoints.accountMicroServiceBaseUrl}/1.0/schedules?query=${encodeURIComponent(JSON.stringify(queryParam))}`)
|
|
54
|
+
.pipe((0, operators_1.mergeMap)((response) => {
|
|
55
|
+
if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
|
|
56
|
+
const updateActions = [];
|
|
57
|
+
updateActions.push((0, jeSchedulesReducer_1.updateJESchedules)(response.data.je_schedules), (0, jeSchedulesReducer_1.updateJESchedulesDetails)(response.data.je_schedules, response.data.scheduled_journal_entries), (0, scheduleListReducer_1.updateScheduleListSuccess)(scheduleType, timeframe, categoryId, response.data.je_schedules));
|
|
58
|
+
return (0, rxjs_1.from)(updateActions);
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
return (0, rxjs_1.of)((0, scheduleListReducer_1.updateScheduleListFailure)(scheduleType, timeframe, categoryId, response.status));
|
|
62
|
+
}
|
|
63
|
+
}), (0, operators_1.catchError)((error) => (0, rxjs_1.of)((0, scheduleListReducer_1.updateScheduleListFailure)(scheduleType, timeframe, categoryId, (0, responsePayload_1.createZeniAPIStatus)('Unexpected Error', 'Schedule List REST API call errored out' +
|
|
64
|
+
JSON.stringify(error))))));
|
|
65
|
+
}));
|
|
66
|
+
exports.fetchScheduleListEpic = fetchScheduleListEpic;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ActionsObservable } from 'redux-observable';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { fetchSchedulesAccount } from '../scheduleListReducer';
|
|
4
|
+
import { fetchAccountList } from '../../../accountList/accountListReducer';
|
|
5
|
+
export declare type ActionType = ReturnType<typeof fetchSchedulesAccount> | ReturnType<typeof fetchAccountList>;
|
|
6
|
+
export declare const fetchSchedulesAccountEpic: (actions$: ActionsObservable<ActionType>) => Observable<ActionType>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.fetchSchedulesAccountEpic = void 0;
|
|
4
|
+
const rxjs_1 = require("rxjs");
|
|
5
|
+
const operators_1 = require("rxjs/operators");
|
|
6
|
+
const scheduleListReducer_1 = require("../scheduleListReducer");
|
|
7
|
+
const accountListReducer_1 = require("../../../accountList/accountListReducer");
|
|
8
|
+
const scheduleListHelper_1 = require("../scheduleListHelper");
|
|
9
|
+
const fetchSchedulesAccountEpic = (actions$) => actions$.pipe((0, operators_1.filter)(scheduleListReducer_1.fetchSchedulesAccount.match), (0, operators_1.mergeMap)(() => {
|
|
10
|
+
const fetchScheduleListActions = [];
|
|
11
|
+
const accountType = (0, scheduleListHelper_1.getAccountsTypesForScheduleEpics)();
|
|
12
|
+
fetchScheduleListActions.push((0, accountListReducer_1.fetchAccountList)(accountType.accountListKey, false, false, false, false, accountType.allowedAccountList));
|
|
13
|
+
return (0, rxjs_1.from)(fetchScheduleListActions);
|
|
14
|
+
}));
|
|
15
|
+
exports.fetchSchedulesAccountEpic = fetchSchedulesAccountEpic;
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { NestedAccountHeirarchyForReport } from '../../../commonStateTypes/accountView/nestedAccountID';
|
|
2
|
+
import { Amount } from '../../../commonStateTypes/amount';
|
|
3
|
+
import { COABalance, COABalanceGroupedByPeriod } from '../../../commonStateTypes/coaBalance/coaBalance';
|
|
4
|
+
import { TimeframeTickWithMetaData } from '../../../commonStateTypes/timeframeTick';
|
|
5
|
+
import { AccountBase, AccountLabel, AccountType } from '../../../entity/account/accountState';
|
|
6
|
+
import { JEScheduledTransaction, ScheduledJournalEntry } from '../../../entity/jeSchedules/jeSchedulesSelector';
|
|
7
|
+
import { ScheduleTypes } from '../../../entity/jeSchedules/jeSchedulesTypes';
|
|
8
|
+
import { AccountListKeyType } from '../../accountList/accountListState';
|
|
9
|
+
import { JEScheduledTransactionWithBalance } from './scheduleListSelector';
|
|
10
|
+
export declare const scheduleTypesAccountLabels: Record<ScheduleTypes, AccountType>;
|
|
11
|
+
export declare type TimeframeTickBalances = Record<string, COABalance[]>;
|
|
12
|
+
export interface ScheduleTotalType {
|
|
13
|
+
totalAmount: Amount;
|
|
14
|
+
totalRunningBalances: Amount;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* This helper function calculates Total Amount and Total Running balances
|
|
18
|
+
* for all the JE transactions which can be used to display the totals on the Schedule List page.
|
|
19
|
+
* @param jeTransactions
|
|
20
|
+
* @returns
|
|
21
|
+
*/
|
|
22
|
+
export declare const getCalculatedScheduleTotals: (jeTransactions: JEScheduledTransaction[]) => ScheduleTotalType;
|
|
23
|
+
export declare const getAccountListKeyForSchedules: () => AccountListKeyType;
|
|
24
|
+
export declare const getAccountLabelForSchedulesTab: (tab: ScheduleTypes) => AccountLabel;
|
|
25
|
+
export declare const getAllAccountBase: () => AccountBase;
|
|
26
|
+
export declare const getAllAccountNested: () => NestedAccountHeirarchyForReport;
|
|
27
|
+
/**
|
|
28
|
+
* This helper function is to get all possible timeframe
|
|
29
|
+
* Logic --> Timeframe Range is startDate = (currentDate to 3 months back )and endDate = (currentDate to 9 months ahead)
|
|
30
|
+
* @param sortedJETransactionView
|
|
31
|
+
* @param startMonth
|
|
32
|
+
* @returns
|
|
33
|
+
*/
|
|
34
|
+
export declare const getAllTimeframeTicks: (sortedJETransactionView: JEScheduledTransaction[], startMonth: number) => TimeframeTickWithMetaData[];
|
|
35
|
+
/**
|
|
36
|
+
* This is a helper function to map totalBalanceTimeframeTicks to COABalance
|
|
37
|
+
* @param totalBalanceTimeframeTicks
|
|
38
|
+
* @returns
|
|
39
|
+
*/
|
|
40
|
+
export declare const mapTotalBalanceTimeframeTickToCOAGroupedBalance: (totalBalanceTimeframeTicks: TimeframeTickBalances) => COABalance[];
|
|
41
|
+
/**
|
|
42
|
+
* This function setting default values in the totalBalanceTimeframeTicks using allTimeframeTicks
|
|
43
|
+
* e.g {'Feb 2023' : [], 'Mar 2023' : [], 'Apr 2023' : [], 'Jun 2023' : [], 'Jun 2023' : [], 'Jul 2023' : []}
|
|
44
|
+
*
|
|
45
|
+
* @param allTimeframeTicks
|
|
46
|
+
* @returns
|
|
47
|
+
*/
|
|
48
|
+
export declare const setDefaultTotalBalanceTimeframeTicks: (allTimeframeTicks: TimeframeTickWithMetaData[]) => TimeframeTickBalances;
|
|
49
|
+
/**
|
|
50
|
+
* This function returns an COABalanceGroupedByPeriod (months, weeks, years, quarters) with an array of COABalances
|
|
51
|
+
* in which we loop over the totalBalanceTimeframeTicks which is a record of <Labels(mm yy), Balances>- {'Feb 2023' : [20, 30, 40]}
|
|
52
|
+
* e.g - { months : { balance, startDate, endDate, type}}
|
|
53
|
+
* @param allTimeframeTickBalances
|
|
54
|
+
* @param allTimeframeTicks
|
|
55
|
+
* @param timeframe
|
|
56
|
+
* @returns
|
|
57
|
+
*/
|
|
58
|
+
export declare const calculateTotalBalanceTimeframeTick: (allTimeframeTickBalances: JEScheduledTransactionWithBalance[], allTimeframeTicks: TimeframeTickWithMetaData[], timeframe: 'months') => COABalanceGroupedByPeriod;
|
|
59
|
+
/**
|
|
60
|
+
* This is a helper function just to map COABalance for every ScheduledJournalEntry
|
|
61
|
+
* @param scheduleJournal
|
|
62
|
+
* @param currencyCode
|
|
63
|
+
* @param currencySymbol
|
|
64
|
+
* @param timeframe
|
|
65
|
+
* @returns
|
|
66
|
+
*/
|
|
67
|
+
export declare const mapScheduleJournalToCOABalance: (scheduleJournal: ScheduledJournalEntry, currencyCode: string, currencySymbol: string, timeframe: 'month') => COABalance;
|
|
68
|
+
/**
|
|
69
|
+
* This function helps us in finding COABalanceGroupedByPeriod for months
|
|
70
|
+
* @param jeSchedule
|
|
71
|
+
* @returns
|
|
72
|
+
*/
|
|
73
|
+
export declare const calculateCOABalanceGroupedByPeriod: (jeSchedule: JEScheduledTransaction) => COABalanceGroupedByPeriod;
|
|
74
|
+
/**
|
|
75
|
+
* Function to get Duration of months out total months Eg 5/12 or 9/12
|
|
76
|
+
* @param jeSchedule
|
|
77
|
+
* @returns
|
|
78
|
+
*/
|
|
79
|
+
export declare const getDurationOfMonthOutTotalMonth: (jeSchedule: JEScheduledTransaction) => number;
|
|
80
|
+
declare type AccountListTypesPayload = {
|
|
81
|
+
accountListKey: AccountListKeyType;
|
|
82
|
+
allowedAccountList: AccountType[];
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Function to get accountListKey and allowedAccountList for a given tab
|
|
86
|
+
* @param scheduleType
|
|
87
|
+
* @returns
|
|
88
|
+
*/
|
|
89
|
+
export declare const getAccountsTypesForScheduleList: (scheduleType: ScheduleTypes) => AccountListTypesPayload;
|
|
90
|
+
export declare const getAccountLabelForScheduleType: (scheduleType: ScheduleTypes) => AccountLabel | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* Function to get accountListKey and allowedAccountList for a given tab
|
|
93
|
+
* @param scheduleType
|
|
94
|
+
* @returns
|
|
95
|
+
*/
|
|
96
|
+
export declare const getAccountsTypesForScheduleEpics: () => AccountListTypesPayload;
|
|
97
|
+
export {};
|