@zeniai/client-epic-state 5.2.30 → 5.2.32-betaAK0
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/commonStateTypes/coaBalance/classBalances/getSumOfBalancesGroupedByPeriod.js +16 -3
- package/lib/commonStateTypes/viewAndReport/reportIDHelper.d.ts +6 -0
- package/lib/commonStateTypes/viewAndReport/reportIDHelper.js +12 -1
- package/lib/commonStateTypes/viewAndReport/viewAndReport.d.ts +2 -2
- package/lib/commonStateTypes/viewAndReport/viewAndReport.js +2 -0
- package/lib/entity/accountGroup/accountGroupState.d.ts +1 -1
- package/lib/entity/class/classReducer.d.ts +4 -4
- package/lib/entity/class/classState.d.ts +1 -1
- package/lib/entity/forecast/forecastState.d.ts +1 -1
- package/lib/entity/sectionAccountsView/sectionAccountsView.d.ts +1 -1
- package/lib/entity/sectionClassesViewV2/sectionClassesView.d.ts +1 -1
- package/lib/entity/sectionClassesViewV2/sectionClassesViewEpic.js +2 -1
- package/lib/entity/sectionClassesViewV2/sectionClassesViewReducer.d.ts +2 -2
- package/lib/entity/sectionProjectView/sectionProjectView.d.ts +1 -1
- package/lib/entity/sectionProjectView/sectionProjectViewReducer.d.ts +2 -2
- package/lib/epic.d.ts +10 -6
- package/lib/epic.js +15 -8
- package/lib/esm/commonStateTypes/coaBalance/classBalances/getSumOfBalancesGroupedByPeriod.js +16 -3
- package/lib/esm/commonStateTypes/viewAndReport/reportIDHelper.js +7 -0
- package/lib/esm/commonStateTypes/viewAndReport/viewAndReport.js +2 -0
- package/lib/esm/entity/sectionClassesViewV2/sectionClassesViewEpic.js +2 -1
- package/lib/esm/epic.js +14 -7
- package/lib/esm/index.js +16 -13
- package/lib/esm/reducer.js +18 -12
- package/lib/esm/view/cashFlow/cashFlowGroupedSectionOrder.js +47 -0
- package/lib/esm/view/cashFlowClassesView/cashFlowClassesViewEpic.js +30 -0
- package/lib/esm/view/cashFlowClassesView/cashFlowClassesViewReducer.js +129 -0
- package/lib/esm/view/cashFlowClassesView/cashFlowClassesViewSelector.js +53 -0
- package/lib/esm/view/cashFlowClassesView/cashFlowForTimeframeClassesViewEpic.js +55 -0
- package/lib/esm/view/cashFlowProjectView/cashFlowForTimeframeProjectViewEpic.js +57 -0
- package/lib/esm/view/cashFlowProjectView/cashFlowProjectViewEpic.js +30 -0
- package/lib/esm/view/cashFlowProjectView/cashFlowProjectViewReducer.js +125 -0
- package/lib/esm/view/cashFlowProjectView/cashFlowProjectViewSelector.js +54 -0
- package/lib/esm/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulesEpic.js +29 -11
- package/lib/esm/view/financeStatement/financeStatementSelector.js +21 -1
- package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodEpic.js +1 -1
- package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewPayload.js +1 -1
- package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewReducer.js +1 -24
- package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewSelector.js +10 -36
- package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/invoicingCatalogSubFamilyEpics.js +2 -21
- package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/saveInvoicingCatalogItemEpic.js +11 -33
- package/lib/esm/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewSelector.js +9 -1
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector.js +2 -0
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/initializeInvoicingCustomerAddressEpic.js +1 -1
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewSelector.js +15 -0
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/fetchInvoicingSubscriptionFormPageEpic.js +1 -1
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/initializeInvoicingSubscriptionAddressEpic.js +1 -1
- package/lib/esm/view/invoicing/{invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewEpics.js → invoicingCatalogItemRecordView/invoicingCatalogItemRecordViewEpics.js} +1 -1
- package/lib/esm/view/invoicing/{invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewReducer.js → invoicingCatalogItemRecordView/invoicingCatalogItemRecordViewReducer.js} +4 -4
- package/lib/esm/view/invoicing/{invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewSelector.js → invoicingCatalogItemRecordView/invoicingCatalogItemRecordViewSelector.js} +2 -4
- package/lib/esm/view/invoicing/{invoicingCouponDetailView → invoicingCouponRecordView}/fetchInvoicingCouponDetailEpic.js +1 -1
- package/lib/esm/view/invoicing/invoicingCouponRecordView/invoicingCouponRecordViewPayload.js +1 -0
- package/lib/esm/view/invoicing/{invoicingCouponDetailView/invoicingCouponDetailViewReducer.js → invoicingCouponRecordView/invoicingCouponRecordViewReducer.js} +4 -4
- package/lib/esm/view/invoicing/{invoicingCouponDetailView/invoicingCouponDetailViewSelector.js → invoicingCouponRecordView/invoicingCouponRecordViewSelector.js} +2 -2
- package/lib/esm/view/invoicing/invoicingCouponRecordView/invoicingCouponRecordViewState.js +1 -0
- package/lib/esm/view/invoicing/{invoicingCustomerDetailView → invoicingCustomerRecordView}/fetchInvoicingCustomerDetailEpic.js +1 -1
- package/lib/esm/view/invoicing/{invoicingCustomerDetailView → invoicingCustomerRecordView}/fetchInvoicingCustomerDetailPageEpic.js +2 -2
- package/lib/esm/view/invoicing/invoicingCustomerRecordView/invoicingCustomerRecordViewPayload.js +1 -0
- package/lib/esm/view/invoicing/{invoicingCustomerDetailView/invoicingCustomerDetailViewReducer.js → invoicingCustomerRecordView/invoicingCustomerRecordViewReducer.js} +4 -4
- package/lib/esm/view/invoicing/{invoicingCustomerDetailView/invoicingCustomerDetailViewSelector.js → invoicingCustomerRecordView/invoicingCustomerRecordViewSelector.js} +3 -3
- package/lib/esm/view/invoicing/invoicingCustomerRecordView/invoicingCustomerRecordViewState.js +1 -0
- package/lib/esm/view/invoicing/{invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewEpics.js → invoicingSubscriptionRecordView/invoicingSubscriptionRecordViewEpics.js} +1 -1
- package/lib/esm/view/invoicing/invoicingSubscriptionRecordView/invoicingSubscriptionRecordViewPayload.js +1 -0
- package/lib/esm/view/invoicing/{invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewReducer.js → invoicingSubscriptionRecordView/invoicingSubscriptionRecordViewReducer.js} +4 -4
- package/lib/esm/view/invoicing/{invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewSelector.js → invoicingSubscriptionRecordView/invoicingSubscriptionRecordViewSelector.js} +2 -2
- package/lib/esm/view/invoicing/invoicingSubscriptionRecordView/invoicingSubscriptionRecordViewState.js +1 -0
- package/lib/esm/view/invoicing/promotionalCreditAction/promotionalCreditActionEpic.js +1 -1
- package/lib/index.d.ts +26 -20
- package/lib/index.js +88 -74
- package/lib/reducer.d.ts +6 -4
- package/lib/reducer.js +18 -12
- package/lib/rootStateTypes.d.ts +12 -8
- package/lib/view/auditReportView/auditReportViewState.d.ts +1 -1
- package/lib/view/billPayCard/billPayCardSelector.d.ts +1 -1
- package/lib/view/cardBalance/cardBalanceSelector.d.ts +1 -1
- package/lib/view/cashBalance/cashBalanceSelector.d.ts +1 -1
- package/lib/view/cashFlow/cashFlowGroupedSectionOrder.d.ts +15 -0
- package/lib/view/cashFlow/cashFlowGroupedSectionOrder.js +50 -0
- package/lib/view/cashFlowClassesView/cashFlowClassesViewEpic.d.ts +6 -0
- package/lib/view/cashFlowClassesView/cashFlowClassesViewEpic.js +34 -0
- package/lib/view/cashFlowClassesView/cashFlowClassesViewPayload.d.ts +14 -0
- package/lib/view/cashFlowClassesView/cashFlowClassesViewReducer.d.ts +34 -0
- package/lib/view/cashFlowClassesView/cashFlowClassesViewReducer.js +133 -0
- package/lib/view/cashFlowClassesView/cashFlowClassesViewSelector.d.ts +7 -0
- package/lib/view/cashFlowClassesView/cashFlowClassesViewSelector.js +57 -0
- package/lib/view/cashFlowClassesView/cashFlowClassesViewSelectorTypes.d.ts +15 -0
- package/lib/view/cashFlowClassesView/cashFlowClassesViewState.d.ts +23 -0
- package/lib/view/cashFlowClassesView/cashFlowForTimeframeClassesViewEpic.d.ts +9 -0
- package/lib/view/cashFlowClassesView/cashFlowForTimeframeClassesViewEpic.js +60 -0
- package/lib/view/cashFlowProjectView/cashFlowForTimeframeProjectViewEpic.d.ts +10 -0
- package/lib/view/cashFlowProjectView/cashFlowForTimeframeProjectViewEpic.js +62 -0
- package/lib/view/cashFlowProjectView/cashFlowProjectViewEpic.d.ts +6 -0
- package/lib/view/cashFlowProjectView/cashFlowProjectViewEpic.js +34 -0
- package/lib/view/cashFlowProjectView/cashFlowProjectViewPayload.d.ts +14 -0
- package/lib/view/cashFlowProjectView/cashFlowProjectViewReducer.d.ts +33 -0
- package/lib/view/cashFlowProjectView/cashFlowProjectViewReducer.js +129 -0
- package/lib/view/cashFlowProjectView/cashFlowProjectViewSelector.d.ts +7 -0
- package/lib/view/cashFlowProjectView/cashFlowProjectViewSelector.js +58 -0
- package/lib/view/cashFlowProjectView/cashFlowProjectViewSelectorTypes.d.ts +19 -0
- package/lib/view/cashFlowProjectView/cashFlowProjectViewState.d.ts +22 -0
- package/lib/view/cashInCashOut/cashInCashOutSelector.d.ts +1 -1
- package/lib/view/cashPosition/cashPositionSelector.d.ts +1 -1
- package/lib/view/dashboard/dashboardReducer.d.ts +2 -2
- package/lib/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulesEpic.js +29 -11
- package/lib/view/financeStatement/financeStatementReducer.d.ts +1 -1
- package/lib/view/financeStatement/financeStatementSelector.d.ts +4 -0
- package/lib/view/financeStatement/financeStatementSelector.js +21 -1
- package/lib/view/globalMerchantView/globalMerchantViewReducer.d.ts +2 -2
- package/lib/view/invoicing/createInvoice/createInvoiceSelector.d.ts +2 -2
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodEpic.d.ts +1 -1
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodEpic.js +2 -2
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewPayload.d.ts +1 -1
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewPayload.js +1 -1
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewReducer.d.ts +3 -19
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewReducer.js +2 -25
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewSelector.d.ts +11 -11
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewSelector.js +11 -38
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewState.d.ts +4 -27
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/invoicingCatalogSubFamilyEpics.d.ts +2 -3
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/invoicingCatalogSubFamilyEpics.js +2 -22
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/saveInvoicingCatalogItemEpic.d.ts +2 -2
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/saveInvoicingCatalogItemEpic.js +9 -31
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewSelector.d.ts +12 -1
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewSelector.js +9 -1
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector.d.ts +8 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector.js +2 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/initializeInvoicingCustomerAddressEpic.d.ts +1 -1
- package/lib/view/invoicing/editInvoicingCustomerDetailView/initializeInvoicingCustomerAddressEpic.js +2 -2
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewSelector.d.ts +11 -2
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewSelector.js +15 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/fetchInvoicingSubscriptionFormPageEpic.d.ts +1 -1
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/fetchInvoicingSubscriptionFormPageEpic.js +2 -2
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/initializeInvoicingSubscriptionAddressEpic.d.ts +1 -1
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/initializeInvoicingSubscriptionAddressEpic.js +2 -2
- package/lib/view/invoicing/{invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewEpics.d.ts → invoicingCatalogItemRecordView/invoicingCatalogItemRecordViewEpics.d.ts} +1 -1
- package/lib/view/invoicing/{invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewEpics.js → invoicingCatalogItemRecordView/invoicingCatalogItemRecordViewEpics.js} +5 -5
- package/lib/view/invoicing/{invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewReducer.d.ts → invoicingCatalogItemRecordView/invoicingCatalogItemRecordViewReducer.d.ts} +5 -5
- package/lib/view/invoicing/{invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewReducer.js → invoicingCatalogItemRecordView/invoicingCatalogItemRecordViewReducer.js} +4 -4
- package/lib/view/invoicing/{invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewSelector.d.ts → invoicingCatalogItemRecordView/invoicingCatalogItemRecordViewSelector.d.ts} +3 -5
- package/lib/view/invoicing/{invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewSelector.js → invoicingCatalogItemRecordView/invoicingCatalogItemRecordViewSelector.js} +4 -6
- package/lib/view/invoicing/{invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewState.d.ts → invoicingCatalogItemRecordView/invoicingCatalogItemRecordViewState.d.ts} +1 -1
- package/lib/view/invoicing/{invoicingCouponDetailView → invoicingCouponRecordView}/fetchInvoicingCouponDetailEpic.d.ts +1 -1
- package/lib/view/invoicing/{invoicingCouponDetailView → invoicingCouponRecordView}/fetchInvoicingCouponDetailEpic.js +5 -5
- package/lib/view/invoicing/invoicingCouponRecordView/invoicingCouponRecordViewPayload.js +2 -0
- package/lib/view/invoicing/{invoicingCouponDetailView/invoicingCouponDetailViewReducer.d.ts → invoicingCouponRecordView/invoicingCouponRecordViewReducer.d.ts} +6 -6
- package/lib/view/invoicing/{invoicingCouponDetailView/invoicingCouponDetailViewReducer.js → invoicingCouponRecordView/invoicingCouponRecordViewReducer.js} +4 -4
- package/lib/view/invoicing/{invoicingCouponDetailView/invoicingCouponDetailViewSelector.d.ts → invoicingCouponRecordView/invoicingCouponRecordViewSelector.d.ts} +2 -2
- package/lib/view/invoicing/{invoicingCouponDetailView/invoicingCouponDetailViewSelector.js → invoicingCouponRecordView/invoicingCouponRecordViewSelector.js} +4 -4
- package/lib/view/invoicing/{invoicingCouponDetailView/invoicingCouponDetailViewState.d.ts → invoicingCouponRecordView/invoicingCouponRecordViewState.d.ts} +1 -1
- package/lib/view/invoicing/invoicingCouponRecordView/invoicingCouponRecordViewState.js +2 -0
- package/lib/view/invoicing/{invoicingCustomerDetailView → invoicingCustomerRecordView}/fetchInvoicingCustomerDetailEpic.d.ts +1 -1
- package/lib/view/invoicing/{invoicingCustomerDetailView → invoicingCustomerRecordView}/fetchInvoicingCustomerDetailEpic.js +5 -5
- package/lib/view/invoicing/{invoicingCustomerDetailView → invoicingCustomerRecordView}/fetchInvoicingCustomerDetailPageEpic.d.ts +1 -1
- package/lib/view/invoicing/{invoicingCustomerDetailView → invoicingCustomerRecordView}/fetchInvoicingCustomerDetailPageEpic.js +4 -4
- package/lib/view/invoicing/invoicingCustomerRecordView/invoicingCustomerRecordViewPayload.js +2 -0
- package/lib/view/invoicing/{invoicingCustomerDetailView/invoicingCustomerDetailViewReducer.d.ts → invoicingCustomerRecordView/invoicingCustomerRecordViewReducer.d.ts} +7 -7
- package/lib/view/invoicing/{invoicingCustomerDetailView/invoicingCustomerDetailViewReducer.js → invoicingCustomerRecordView/invoicingCustomerRecordViewReducer.js} +4 -4
- package/lib/view/invoicing/{invoicingCustomerDetailView/invoicingCustomerDetailViewSelector.d.ts → invoicingCustomerRecordView/invoicingCustomerRecordViewSelector.d.ts} +2 -2
- package/lib/view/invoicing/{invoicingCustomerDetailView/invoicingCustomerDetailViewSelector.js → invoicingCustomerRecordView/invoicingCustomerRecordViewSelector.js} +5 -5
- package/lib/view/invoicing/{invoicingCustomerDetailView/invoicingCustomerDetailViewState.d.ts → invoicingCustomerRecordView/invoicingCustomerRecordViewState.d.ts} +1 -1
- package/lib/view/invoicing/invoicingCustomerRecordView/invoicingCustomerRecordViewState.js +2 -0
- package/lib/view/invoicing/{invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewEpics.d.ts → invoicingSubscriptionRecordView/invoicingSubscriptionRecordViewEpics.d.ts} +1 -1
- package/lib/view/invoicing/{invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewEpics.js → invoicingSubscriptionRecordView/invoicingSubscriptionRecordViewEpics.js} +5 -5
- package/lib/view/invoicing/invoicingSubscriptionRecordView/invoicingSubscriptionRecordViewPayload.js +2 -0
- package/lib/view/invoicing/{invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewReducer.d.ts → invoicingSubscriptionRecordView/invoicingSubscriptionRecordViewReducer.d.ts} +5 -5
- package/lib/view/invoicing/{invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewReducer.js → invoicingSubscriptionRecordView/invoicingSubscriptionRecordViewReducer.js} +4 -4
- package/lib/view/invoicing/{invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewSelector.d.ts → invoicingSubscriptionRecordView/invoicingSubscriptionRecordViewSelector.d.ts} +2 -2
- package/lib/view/invoicing/{invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewSelector.js → invoicingSubscriptionRecordView/invoicingSubscriptionRecordViewSelector.js} +4 -4
- package/lib/view/invoicing/{invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewState.d.ts → invoicingSubscriptionRecordView/invoicingSubscriptionRecordViewState.d.ts} +1 -1
- package/lib/view/invoicing/invoicingSubscriptionRecordView/invoicingSubscriptionRecordViewState.js +2 -0
- package/lib/view/invoicing/promotionalCreditAction/promotionalCreditActionEpic.d.ts +1 -1
- package/lib/view/invoicing/promotionalCreditAction/promotionalCreditActionEpic.js +2 -2
- package/lib/view/reimbursementCard/reimbursementCardSelector.d.ts +1 -1
- package/lib/view/reportsResync/reportsResyncReducer.d.ts +2 -2
- package/lib/view/tasksCard/tasksCardSelector.d.ts +1 -1
- package/lib/view/topEx/topExSelector.d.ts +1 -1
- package/package.json +71 -38
- package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/catalogDetailEditPayload.js +0 -191
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/catalogDetailEditPayload.d.ts +0 -46
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/catalogDetailEditPayload.js +0 -198
- /package/lib/esm/view/{invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewPayload.js → cashFlowClassesView/cashFlowClassesViewPayload.js} +0 -0
- /package/lib/esm/view/{invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewState.js → cashFlowClassesView/cashFlowClassesViewSelectorTypes.js} +0 -0
- /package/lib/esm/view/{invoicing/invoicingCouponDetailView/invoicingCouponDetailViewPayload.js → cashFlowClassesView/cashFlowClassesViewState.js} +0 -0
- /package/lib/esm/view/{invoicing/invoicingCouponDetailView/invoicingCouponDetailViewState.js → cashFlowProjectView/cashFlowProjectViewPayload.js} +0 -0
- /package/lib/esm/view/{invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewPayload.js → cashFlowProjectView/cashFlowProjectViewSelectorTypes.js} +0 -0
- /package/lib/esm/view/{invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewState.js → cashFlowProjectView/cashFlowProjectViewState.js} +0 -0
- /package/lib/esm/view/invoicing/{invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewPayload.js → invoicingCatalogItemRecordView/invoicingCatalogItemRecordViewPayload.js} +0 -0
- /package/lib/esm/view/invoicing/{invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewState.js → invoicingCatalogItemRecordView/invoicingCatalogItemRecordViewState.js} +0 -0
- /package/lib/view/{invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewPayload.js → cashFlowClassesView/cashFlowClassesViewPayload.js} +0 -0
- /package/lib/view/{invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewState.js → cashFlowClassesView/cashFlowClassesViewSelectorTypes.js} +0 -0
- /package/lib/view/{invoicing/invoicingCouponDetailView/invoicingCouponDetailViewPayload.js → cashFlowClassesView/cashFlowClassesViewState.js} +0 -0
- /package/lib/view/{invoicing/invoicingCouponDetailView/invoicingCouponDetailViewState.js → cashFlowProjectView/cashFlowProjectViewPayload.js} +0 -0
- /package/lib/view/{invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewPayload.js → cashFlowProjectView/cashFlowProjectViewSelectorTypes.js} +0 -0
- /package/lib/view/{invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewState.js → cashFlowProjectView/cashFlowProjectViewState.js} +0 -0
- /package/lib/view/invoicing/{invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewPayload.d.ts → invoicingCatalogItemRecordView/invoicingCatalogItemRecordViewPayload.d.ts} +0 -0
- /package/lib/view/invoicing/{invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewPayload.js → invoicingCatalogItemRecordView/invoicingCatalogItemRecordViewPayload.js} +0 -0
- /package/lib/view/invoicing/{invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewState.js → invoicingCatalogItemRecordView/invoicingCatalogItemRecordViewState.js} +0 -0
- /package/lib/view/invoicing/{invoicingCouponDetailView/invoicingCouponDetailViewPayload.d.ts → invoicingCouponRecordView/invoicingCouponRecordViewPayload.d.ts} +0 -0
- /package/lib/view/invoicing/{invoicingCustomerDetailView/invoicingCustomerDetailViewPayload.d.ts → invoicingCustomerRecordView/invoicingCustomerRecordViewPayload.d.ts} +0 -0
- /package/lib/view/invoicing/{invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewPayload.d.ts → invoicingSubscriptionRecordView/invoicingSubscriptionRecordViewPayload.d.ts} +0 -0
package/lib/reducer.d.ts
CHANGED
|
@@ -33,6 +33,8 @@ declare const reducers: import("redux").Reducer<import("redux").CombinedState<{
|
|
|
33
33
|
cardUserOnboardingState: import("./view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingState").CardUserOnboardingState;
|
|
34
34
|
cashbackDetailState: import("./view/spendManagement/chargeCards/cashbackDetail/cashbackDetailState").CashbackDetailState;
|
|
35
35
|
cashBalanceState: import(".").CashBalanceState;
|
|
36
|
+
cashFlowClassesViewState: import("./view/cashFlowClassesView/cashFlowClassesViewState").CashFlowClassesViewState;
|
|
37
|
+
cashFlowProjectViewState: import("./view/cashFlowProjectView/cashFlowProjectViewState").CashFlowProjectViewState;
|
|
36
38
|
cashFlowState: import("./view/cashFlow/cashFlowState").CashFlowState;
|
|
37
39
|
cashInCashOutState: import("./view/cashInCashOut/cashInCashOutState").CashInCashOutState;
|
|
38
40
|
cashPositionState: import("./view/cashPosition/cashPositionState").CashPositionState;
|
|
@@ -82,10 +84,10 @@ declare const reducers: import("redux").Reducer<import("redux").CombinedState<{
|
|
|
82
84
|
invoicingOverviewState: import("./view/invoicing/invoicingOverview/invoicingOverviewState").InvoicingOverviewState;
|
|
83
85
|
invoicingAuditViewState: import("./view/invoicing/auditView/auditViewState").InvoicingAuditViewState;
|
|
84
86
|
editInvoicingCatalogItemDetailViewState: import("./view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewState").EditInvoicingCatalogItemDetailViewState;
|
|
85
|
-
|
|
87
|
+
invoicingCatalogItemRecordViewState: import("./view/invoicing/invoicingCatalogItemRecordView/invoicingCatalogItemRecordViewState").InvoicingCatalogItemRecordViewState;
|
|
86
88
|
invoicingCatalogListViewState: import("./view/invoicing/invoicingCatalogListView/invoicingCatalogListViewState").InvoicingCatalogListViewState;
|
|
87
89
|
editInvoicingCouponDetailViewState: import("./view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewState").EditInvoicingCouponDetailViewState;
|
|
88
|
-
|
|
90
|
+
invoicingCouponRecordViewState: import("./view/invoicing/invoicingCouponRecordView/invoicingCouponRecordViewState").InvoicingCouponRecordViewState;
|
|
89
91
|
invoicingCouponViewState: import("./view/invoicing/couponView/couponViewState").InvoicingCouponViewState;
|
|
90
92
|
invoicingCreditNoteDetailViewState: import("./view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewState").InvoicingCreditNoteDetailViewState;
|
|
91
93
|
invoicingCreditNoteListViewState: import("./view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewState").InvoicingCreditNoteListViewState;
|
|
@@ -93,7 +95,7 @@ declare const reducers: import("redux").Reducer<import("redux").CombinedState<{
|
|
|
93
95
|
invoicingRecordPaymentState: import("./view/invoicing/recordPayment/recordPaymentState").RecordPaymentState;
|
|
94
96
|
invoicingIssueCreditNoteState: import("./view/invoicing/issueCreditNote/issueCreditNoteState").IssueCreditNoteState;
|
|
95
97
|
invoicingCreateCreditNoteState: import("./view/invoicing/createCreditNote/createCreditNoteState").CreateCreditNoteState;
|
|
96
|
-
|
|
98
|
+
invoicingCustomerRecordViewState: import("./view/invoicing/invoicingCustomerRecordView/invoicingCustomerRecordViewState").InvoicingCustomerRecordViewState;
|
|
97
99
|
invoicingCustomerListViewState: import("./view/invoicing/invoicingCustomerListView/invoicingCustomerListViewState").InvoicingCustomerListViewState;
|
|
98
100
|
invoicingCustomerPaymentMethodState: import("./view/invoicing/customerPaymentMethod/customerPaymentMethodState").InvoicingCustomerPaymentMethodState;
|
|
99
101
|
invoicingPromotionalCreditActionState: import(".").PromotionalCreditActionState;
|
|
@@ -113,7 +115,7 @@ declare const reducers: import("redux").Reducer<import("redux").CombinedState<{
|
|
|
113
115
|
invoicingCatalogActionState: import(".").InvoicingCatalogActionState;
|
|
114
116
|
invoicingDiscountActionState: import(".").InvoicingDiscountActionState;
|
|
115
117
|
invoicingSubscriptionActionState: import(".").InvoicingSubscriptionActionState;
|
|
116
|
-
|
|
118
|
+
invoicingSubscriptionRecordViewState: import("./view/invoicing/invoicingSubscriptionRecordView/invoicingSubscriptionRecordViewState").InvoicingSubscriptionRecordViewState;
|
|
117
119
|
invoicingSubscriptionListViewState: import("./view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewState").InvoicingSubscriptionListViewState;
|
|
118
120
|
editInvoicingSubscriptionDetailViewState: import("./view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewState").EditInvoicingSubscriptionDetailViewState;
|
|
119
121
|
invoicingTransactionDetailViewState: import("./view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewState").InvoicingTransactionDetailViewState;
|
package/lib/reducer.js
CHANGED
|
@@ -138,6 +138,8 @@ const cardBalanceReducer_1 = __importStar(require("./view/cardBalance/cardBalanc
|
|
|
138
138
|
const cardPaymentViewReducer_1 = __importStar(require("./view/cardPayment/cardPaymentViewReducer"));
|
|
139
139
|
const cashBalanceReducer_1 = __importStar(require("./view/cashBalance/cashBalanceReducer"));
|
|
140
140
|
const cashFlowReducer_1 = __importStar(require("./view/cashFlow/cashFlowReducer"));
|
|
141
|
+
const cashFlowClassesViewReducer_1 = __importStar(require("./view/cashFlowClassesView/cashFlowClassesViewReducer"));
|
|
142
|
+
const cashFlowProjectViewReducer_1 = __importStar(require("./view/cashFlowProjectView/cashFlowProjectViewReducer"));
|
|
141
143
|
const cashInCashOutReducer_1 = __importStar(require("./view/cashInCashOut/cashInCashOutReducer"));
|
|
142
144
|
const cashPositionReducer_1 = __importStar(require("./view/cashPosition/cashPositionReducer"));
|
|
143
145
|
const classListReducer_1 = __importStar(require("./view/classList/classListReducer"));
|
|
@@ -185,19 +187,19 @@ const editInvoicingSubscriptionDetailViewReducer_1 = __importStar(require("./vie
|
|
|
185
187
|
const invoiceActionReducer_1 = __importStar(require("./view/invoicing/invoiceAction/invoiceActionReducer"));
|
|
186
188
|
const invoiceDetailReducer_1 = __importStar(require("./view/invoicing/invoiceDetail/invoiceDetailReducer"));
|
|
187
189
|
const invoiceListReducer_1 = __importStar(require("./view/invoicing/invoiceList/invoiceListReducer"));
|
|
188
|
-
const
|
|
190
|
+
const invoicingCatalogItemRecordViewReducer_1 = __importStar(require("./view/invoicing/invoicingCatalogItemRecordView/invoicingCatalogItemRecordViewReducer"));
|
|
189
191
|
const invoicingCatalogListViewReducer_1 = __importStar(require("./view/invoicing/invoicingCatalogListView/invoicingCatalogListViewReducer"));
|
|
190
192
|
const invoicingConfigViewReducer_1 = __importStar(require("./view/invoicing/invoicingConfigView/invoicingConfigViewReducer"));
|
|
191
|
-
const
|
|
193
|
+
const invoicingCouponRecordViewReducer_1 = __importStar(require("./view/invoicing/invoicingCouponRecordView/invoicingCouponRecordViewReducer"));
|
|
192
194
|
const invoicingCreditNoteDetailViewReducer_1 = __importStar(require("./view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewReducer"));
|
|
193
195
|
const invoicingCreditNoteListViewReducer_1 = __importStar(require("./view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewReducer"));
|
|
194
|
-
const
|
|
196
|
+
const invoicingCustomerRecordViewReducer_1 = __importStar(require("./view/invoicing/invoicingCustomerRecordView/invoicingCustomerRecordViewReducer"));
|
|
195
197
|
const invoicingCustomerListViewReducer_1 = __importStar(require("./view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer"));
|
|
196
198
|
const invoicingDunningCaseDetailViewReducer_1 = __importStar(require("./view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewReducer"));
|
|
197
199
|
const invoicingDunningCaseListViewReducer_1 = __importStar(require("./view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewReducer"));
|
|
198
200
|
const invoicingOverviewReducer_1 = __importStar(require("./view/invoicing/invoicingOverview/invoicingOverviewReducer"));
|
|
199
201
|
const invoicingQboViewReducer_1 = __importStar(require("./view/invoicing/invoicingQboView/invoicingQboViewReducer"));
|
|
200
|
-
const
|
|
202
|
+
const invoicingSubscriptionRecordViewReducer_1 = __importStar(require("./view/invoicing/invoicingSubscriptionRecordView/invoicingSubscriptionRecordViewReducer"));
|
|
201
203
|
const invoicingSubscriptionListViewReducer_1 = __importStar(require("./view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer"));
|
|
202
204
|
const invoicingTransactionDetailViewReducer_1 = __importStar(require("./view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewReducer"));
|
|
203
205
|
const invoicingTransactionListViewReducer_1 = __importStar(require("./view/invoicing/invoicingTransactionListView/invoicingTransactionListViewReducer"));
|
|
@@ -436,6 +438,8 @@ const initialViewsState = {
|
|
|
436
438
|
cardUserOnboardingState: cardUserOnboardingReducer_1.initialState,
|
|
437
439
|
cashbackDetailState: cashbackDetailReducer_1.initialState,
|
|
438
440
|
cashBalanceState: cashBalanceReducer_1.initialState,
|
|
441
|
+
cashFlowClassesViewState: cashFlowClassesViewReducer_1.initialState,
|
|
442
|
+
cashFlowProjectViewState: cashFlowProjectViewReducer_1.initialState,
|
|
439
443
|
cashFlowState: cashFlowReducer_1.initialState,
|
|
440
444
|
cashInCashOutState: cashInCashOutReducer_1.initialState,
|
|
441
445
|
cashPositionState: cashPositionReducer_1.initialState,
|
|
@@ -485,10 +489,10 @@ const initialViewsState = {
|
|
|
485
489
|
invoicingOverviewState: invoicingOverviewReducer_1.initialState,
|
|
486
490
|
invoicingAuditViewState: auditViewReducer_1.initialState,
|
|
487
491
|
editInvoicingCatalogItemDetailViewState: editInvoicingCatalogItemDetailViewReducer_1.initialState,
|
|
488
|
-
|
|
492
|
+
invoicingCatalogItemRecordViewState: invoicingCatalogItemRecordViewReducer_1.initialState,
|
|
489
493
|
invoicingCatalogListViewState: invoicingCatalogListViewReducer_1.initialState,
|
|
490
494
|
editInvoicingCouponDetailViewState: editInvoicingCouponDetailViewReducer_1.initialState,
|
|
491
|
-
|
|
495
|
+
invoicingCouponRecordViewState: invoicingCouponRecordViewReducer_1.initialState,
|
|
492
496
|
invoicingCouponViewState: couponViewReducer_1.initialState,
|
|
493
497
|
invoicingCreditNoteDetailViewState: invoicingCreditNoteDetailViewReducer_1.initialState,
|
|
494
498
|
invoicingCreditNoteListViewState: invoicingCreditNoteListViewReducer_1.initialState,
|
|
@@ -496,7 +500,7 @@ const initialViewsState = {
|
|
|
496
500
|
invoicingRecordPaymentState: recordPaymentReducer_1.initialState,
|
|
497
501
|
invoicingIssueCreditNoteState: issueCreditNoteReducer_1.initialState,
|
|
498
502
|
invoicingCreateCreditNoteState: createCreditNoteReducer_1.initialState,
|
|
499
|
-
|
|
503
|
+
invoicingCustomerRecordViewState: invoicingCustomerRecordViewReducer_1.initialState,
|
|
500
504
|
invoicingCustomerListViewState: invoicingCustomerListViewReducer_1.initialState,
|
|
501
505
|
invoicingCustomerPaymentMethodState: customerPaymentMethodReducer_1.initialState,
|
|
502
506
|
invoicingPromotionalCreditActionState: promotionalCreditActionReducer_1.initialState,
|
|
@@ -516,7 +520,7 @@ const initialViewsState = {
|
|
|
516
520
|
invoicingCatalogActionState: catalogActionReducer_1.initialState,
|
|
517
521
|
invoicingDiscountActionState: discountActionReducer_1.initialState,
|
|
518
522
|
invoicingSubscriptionActionState: subscriptionActionReducer_1.initialState,
|
|
519
|
-
|
|
523
|
+
invoicingSubscriptionRecordViewState: invoicingSubscriptionRecordViewReducer_1.initialState,
|
|
520
524
|
invoicingSubscriptionListViewState: invoicingSubscriptionListViewReducer_1.initialState,
|
|
521
525
|
editInvoicingSubscriptionDetailViewState: editInvoicingSubscriptionDetailViewReducer_1.initialState,
|
|
522
526
|
invoicingTransactionDetailViewState: invoicingTransactionDetailViewReducer_1.initialState,
|
|
@@ -730,6 +734,8 @@ const viewReducers = {
|
|
|
730
734
|
cardUserOnboardingState: cardUserOnboardingReducer_1.default,
|
|
731
735
|
cashbackDetailState: cashbackDetailReducer_1.default,
|
|
732
736
|
cashBalanceState: cashBalanceReducer_1.default,
|
|
737
|
+
cashFlowClassesViewState: cashFlowClassesViewReducer_1.default,
|
|
738
|
+
cashFlowProjectViewState: cashFlowProjectViewReducer_1.default,
|
|
733
739
|
cashFlowState: cashFlowReducer_1.default,
|
|
734
740
|
cashInCashOutState: cashInCashOutReducer_1.default,
|
|
735
741
|
cashPositionState: cashPositionReducer_1.default,
|
|
@@ -779,10 +785,10 @@ const viewReducers = {
|
|
|
779
785
|
invoicingOverviewState: invoicingOverviewReducer_1.default,
|
|
780
786
|
invoicingAuditViewState: auditViewReducer_1.default,
|
|
781
787
|
editInvoicingCatalogItemDetailViewState: editInvoicingCatalogItemDetailViewReducer_1.default,
|
|
782
|
-
|
|
788
|
+
invoicingCatalogItemRecordViewState: invoicingCatalogItemRecordViewReducer_1.default,
|
|
783
789
|
invoicingCatalogListViewState: invoicingCatalogListViewReducer_1.default,
|
|
784
790
|
editInvoicingCouponDetailViewState: editInvoicingCouponDetailViewReducer_1.default,
|
|
785
|
-
|
|
791
|
+
invoicingCouponRecordViewState: invoicingCouponRecordViewReducer_1.default,
|
|
786
792
|
invoicingCouponViewState: couponViewReducer_1.default,
|
|
787
793
|
invoicingCreditNoteDetailViewState: invoicingCreditNoteDetailViewReducer_1.default,
|
|
788
794
|
invoicingCreditNoteListViewState: invoicingCreditNoteListViewReducer_1.default,
|
|
@@ -790,7 +796,7 @@ const viewReducers = {
|
|
|
790
796
|
invoicingRecordPaymentState: recordPaymentReducer_1.default,
|
|
791
797
|
invoicingIssueCreditNoteState: issueCreditNoteReducer_1.default,
|
|
792
798
|
invoicingCreateCreditNoteState: createCreditNoteReducer_1.default,
|
|
793
|
-
|
|
799
|
+
invoicingCustomerRecordViewState: invoicingCustomerRecordViewReducer_1.default,
|
|
794
800
|
invoicingCustomerListViewState: invoicingCustomerListViewReducer_1.default,
|
|
795
801
|
invoicingCustomerPaymentMethodState: customerPaymentMethodReducer_1.default,
|
|
796
802
|
invoicingPromotionalCreditActionState: promotionalCreditActionReducer_1.default,
|
|
@@ -810,7 +816,7 @@ const viewReducers = {
|
|
|
810
816
|
invoicingCatalogActionState: catalogActionReducer_1.default,
|
|
811
817
|
invoicingDiscountActionState: discountActionReducer_1.default,
|
|
812
818
|
invoicingSubscriptionActionState: subscriptionActionReducer_1.default,
|
|
813
|
-
|
|
819
|
+
invoicingSubscriptionRecordViewState: invoicingSubscriptionRecordViewReducer_1.default,
|
|
814
820
|
invoicingSubscriptionListViewState: invoicingSubscriptionListViewReducer_1.default,
|
|
815
821
|
editInvoicingSubscriptionDetailViewState: editInvoicingSubscriptionDetailViewReducer_1.default,
|
|
816
822
|
invoicingTransactionDetailViewState: invoicingTransactionDetailViewReducer_1.default,
|
package/lib/rootStateTypes.d.ts
CHANGED
|
@@ -98,6 +98,8 @@ import { CardBalanceState } from './view/cardBalance/cardBalanceState';
|
|
|
98
98
|
import { CardPaymentViewState } from './view/cardPayment/cardPaymentViewState';
|
|
99
99
|
import { CashBalanceState } from './view/cashBalance/cashBalanceState';
|
|
100
100
|
import { CashFlowState } from './view/cashFlow/cashFlowState';
|
|
101
|
+
import { CashFlowClassesViewState } from './view/cashFlowClassesView/cashFlowClassesViewState';
|
|
102
|
+
import { CashFlowProjectViewState } from './view/cashFlowProjectView/cashFlowProjectViewState';
|
|
101
103
|
import { CashInCashOutState } from './view/cashInCashOut/cashInCashOutState';
|
|
102
104
|
import { CashPositionState } from './view/cashPosition/cashPositionState';
|
|
103
105
|
import { ClassListState } from './view/classList/classListState';
|
|
@@ -143,19 +145,19 @@ import { EditInvoicingSubscriptionDetailViewState } from './view/invoicing/editI
|
|
|
143
145
|
import { InvoicingInvoiceActionState } from './view/invoicing/invoiceAction/invoiceActionState';
|
|
144
146
|
import { InvoiceDetailState as InvoicingInvoiceDetailState } from './view/invoicing/invoiceDetail/invoiceDetailState';
|
|
145
147
|
import { InvoiceListState as InvoicingInvoiceListState } from './view/invoicing/invoiceList/invoiceListState';
|
|
146
|
-
import {
|
|
148
|
+
import { InvoicingCatalogItemRecordViewState } from './view/invoicing/invoicingCatalogItemRecordView/invoicingCatalogItemRecordViewState';
|
|
147
149
|
import { InvoicingCatalogListViewState } from './view/invoicing/invoicingCatalogListView/invoicingCatalogListViewState';
|
|
148
150
|
import { InvoicingConfigViewState } from './view/invoicing/invoicingConfigView/invoicingConfigViewState';
|
|
149
|
-
import {
|
|
151
|
+
import { InvoicingCouponRecordViewState } from './view/invoicing/invoicingCouponRecordView/invoicingCouponRecordViewState';
|
|
150
152
|
import { InvoicingCreditNoteDetailViewState } from './view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewState';
|
|
151
153
|
import { InvoicingCreditNoteListViewState } from './view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewState';
|
|
152
|
-
import {
|
|
154
|
+
import { InvoicingCustomerRecordViewState } from './view/invoicing/invoicingCustomerRecordView/invoicingCustomerRecordViewState';
|
|
153
155
|
import { InvoicingCustomerListViewState } from './view/invoicing/invoicingCustomerListView/invoicingCustomerListViewState';
|
|
154
156
|
import { InvoicingDunningCaseDetailViewState } from './view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewState';
|
|
155
157
|
import { InvoicingDunningCaseListViewState } from './view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewState';
|
|
156
158
|
import { InvoicingOverviewState } from './view/invoicing/invoicingOverview/invoicingOverviewState';
|
|
157
159
|
import { InvoicingQboViewState } from './view/invoicing/invoicingQboView/invoicingQboViewState';
|
|
158
|
-
import {
|
|
160
|
+
import { InvoicingSubscriptionRecordViewState } from './view/invoicing/invoicingSubscriptionRecordView/invoicingSubscriptionRecordViewState';
|
|
159
161
|
import { InvoicingSubscriptionListViewState } from './view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewState';
|
|
160
162
|
import { InvoicingTransactionDetailViewState } from './view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewState';
|
|
161
163
|
import { InvoicingTransactionListViewState } from './view/invoicing/invoicingTransactionListView/invoicingTransactionListViewState';
|
|
@@ -393,6 +395,8 @@ export type ViewsState = {
|
|
|
393
395
|
cardUserOnboardingState: CardUserOnboardingState;
|
|
394
396
|
cashbackDetailState: CashbackDetailState;
|
|
395
397
|
cashBalanceState: CashBalanceState;
|
|
398
|
+
cashFlowClassesViewState: CashFlowClassesViewState;
|
|
399
|
+
cashFlowProjectViewState: CashFlowProjectViewState;
|
|
396
400
|
cashFlowState: CashFlowState;
|
|
397
401
|
cashInCashOutState: CashInCashOutState;
|
|
398
402
|
cashPositionState: CashPositionState;
|
|
@@ -447,18 +451,18 @@ export type ViewsState = {
|
|
|
447
451
|
internationalWireVerificationState: InternationalWireVerificationState;
|
|
448
452
|
invoicingAuditViewState: InvoicingAuditViewState;
|
|
449
453
|
invoicingCatalogActionState: InvoicingCatalogActionState;
|
|
450
|
-
|
|
454
|
+
invoicingCatalogItemRecordViewState: InvoicingCatalogItemRecordViewState;
|
|
451
455
|
invoicingCatalogListViewState: InvoicingCatalogListViewState;
|
|
452
456
|
invoicingConfigViewState: InvoicingConfigViewState;
|
|
453
|
-
|
|
457
|
+
invoicingCouponRecordViewState: InvoicingCouponRecordViewState;
|
|
454
458
|
invoicingCouponViewState: InvoicingCouponViewState;
|
|
455
459
|
invoicingCreateCreditNoteState: InvoicingCreateCreditNoteState;
|
|
456
460
|
invoicingCreateInvoiceState: InvoicingCreateInvoiceState;
|
|
457
461
|
invoicingCreditNoteDetailViewState: InvoicingCreditNoteDetailViewState;
|
|
458
462
|
invoicingCreditNoteListViewState: InvoicingCreditNoteListViewState;
|
|
459
|
-
invoicingCustomerDetailViewState: InvoicingCustomerDetailViewState;
|
|
460
463
|
invoicingCustomerListViewState: InvoicingCustomerListViewState;
|
|
461
464
|
invoicingCustomerPaymentMethodState: InvoicingCustomerPaymentMethodState;
|
|
465
|
+
invoicingCustomerRecordViewState: InvoicingCustomerRecordViewState;
|
|
462
466
|
invoicingDataImportActionState: InvoicingDataImportActionState;
|
|
463
467
|
invoicingDataImportViewState: InvoicingDataImportViewState;
|
|
464
468
|
invoicingDiscountActionState: InvoicingDiscountActionState;
|
|
@@ -476,8 +480,8 @@ export type ViewsState = {
|
|
|
476
480
|
invoicingRecordPaymentState: InvoicingRecordPaymentState;
|
|
477
481
|
invoicingSettingsViewState: InvoicingSettingsViewState;
|
|
478
482
|
invoicingSubscriptionActionState: InvoicingSubscriptionActionState;
|
|
479
|
-
invoicingSubscriptionDetailViewState: InvoicingSubscriptionDetailViewState;
|
|
480
483
|
invoicingSubscriptionListViewState: InvoicingSubscriptionListViewState;
|
|
484
|
+
invoicingSubscriptionRecordViewState: InvoicingSubscriptionRecordViewState;
|
|
481
485
|
invoicingTransactionDetailViewState: InvoicingTransactionDetailViewState;
|
|
482
486
|
invoicingTransactionListViewState: InvoicingTransactionListViewState;
|
|
483
487
|
issueChargeCardState: IssueChargeCardState;
|
|
@@ -5,7 +5,7 @@ import { ZeniDate } from '../../zeniDayJS';
|
|
|
5
5
|
import { AuditSummary } from '../reviewCompanyView/reviewCompanyViewState';
|
|
6
6
|
export declare const toAuditRuleEntityType: (v: string) => "dashboard" | "transactions" | "reports";
|
|
7
7
|
export type AuditRuleEntityType = ReturnType<typeof toAuditRuleEntityType>;
|
|
8
|
-
declare const toAuditRuleEntityIdType: (v: string) => "vendor" | "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "operating_expenses_by_projects" | "revenue" | "revenue_by_classes" | "revenue_by_projects" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "net_burn_or_income_by_projects" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "profit_and_loss_by_projects" | "balance_sheet" | "balance_sheet_by_classes" | "balance_sheet_by_projects" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_list_of_account_by_project" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "zeni_treasury" | "charge_cards" | "other_connection" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card" | "treasury_promo_card" | "excluded_account_reconciliation" | "transfer_accounts" | "credit_card_transfer_accounts" | "uncategorized-expense" | "uncategorized-income";
|
|
8
|
+
declare const toAuditRuleEntityIdType: (v: string) => "vendor" | "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "operating_expenses_by_projects" | "revenue" | "revenue_by_classes" | "revenue_by_projects" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "net_burn_or_income_by_projects" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "profit_and_loss_by_projects" | "balance_sheet" | "balance_sheet_by_classes" | "balance_sheet_by_projects" | "cash_flow" | "cash_flow_by_classes" | "cash_flow_by_projects" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_list_of_account_by_project" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "zeni_treasury" | "charge_cards" | "other_connection" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card" | "treasury_promo_card" | "excluded_account_reconciliation" | "transfer_accounts" | "credit_card_transfer_accounts" | "uncategorized-expense" | "uncategorized-income";
|
|
9
9
|
export type AuditRuleEntityIdType = ReturnType<typeof toAuditRuleEntityIdType>;
|
|
10
10
|
export declare const toAuditRuleTypeIdType: (v: string) => "business" | "accounting";
|
|
11
11
|
type AuditRuleTypeIdType = ReturnType<typeof toAuditRuleTypeIdType>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RootState } from '../../rootStateTypes';
|
|
2
2
|
export declare const getBillPayCardReport: (state: RootState) => {
|
|
3
|
-
reportId: "vendor" | "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "operating_expenses_by_projects" | "revenue" | "revenue_by_classes" | "revenue_by_projects" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "net_burn_or_income_by_projects" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "profit_and_loss_by_projects" | "balance_sheet" | "balance_sheet_by_classes" | "balance_sheet_by_projects" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_list_of_account_by_project" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "zeni_treasury" | "charge_cards" | "other_connection" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card" | "treasury_promo_card" | "excluded_account_reconciliation" | "transfer_accounts" | "credit_card_transfer_accounts";
|
|
3
|
+
reportId: "vendor" | "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "operating_expenses_by_projects" | "revenue" | "revenue_by_classes" | "revenue_by_projects" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "net_burn_or_income_by_projects" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "profit_and_loss_by_projects" | "balance_sheet" | "balance_sheet_by_classes" | "balance_sheet_by_projects" | "cash_flow" | "cash_flow_by_classes" | "cash_flow_by_projects" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_list_of_account_by_project" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "zeni_treasury" | "charge_cards" | "other_connection" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card" | "treasury_promo_card" | "excluded_account_reconciliation" | "transfer_accounts" | "credit_card_transfer_accounts";
|
|
4
4
|
reportTitle: string;
|
|
5
5
|
version: string | number | undefined;
|
|
6
6
|
fetchState: import("../..").FetchState;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RootState } from '../../rootStateTypes';
|
|
2
2
|
export declare const getCardBalance: (state: RootState) => {
|
|
3
|
-
reportId: "vendor" | "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "operating_expenses_by_projects" | "revenue" | "revenue_by_classes" | "revenue_by_projects" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "net_burn_or_income_by_projects" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "profit_and_loss_by_projects" | "balance_sheet" | "balance_sheet_by_classes" | "balance_sheet_by_projects" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_list_of_account_by_project" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "zeni_treasury" | "charge_cards" | "other_connection" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card" | "treasury_promo_card" | "excluded_account_reconciliation" | "transfer_accounts" | "credit_card_transfer_accounts";
|
|
3
|
+
reportId: "vendor" | "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "operating_expenses_by_projects" | "revenue" | "revenue_by_classes" | "revenue_by_projects" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "net_burn_or_income_by_projects" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "profit_and_loss_by_projects" | "balance_sheet" | "balance_sheet_by_classes" | "balance_sheet_by_projects" | "cash_flow" | "cash_flow_by_classes" | "cash_flow_by_projects" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_list_of_account_by_project" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "zeni_treasury" | "charge_cards" | "other_connection" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card" | "treasury_promo_card" | "excluded_account_reconciliation" | "transfer_accounts" | "credit_card_transfer_accounts";
|
|
4
4
|
reportTitle: string;
|
|
5
5
|
version: string | number | undefined;
|
|
6
6
|
status: import("../..").Status | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RootState } from '../../rootStateTypes';
|
|
2
2
|
export declare const getCashBalance: (state: RootState) => {
|
|
3
|
-
reportId: "vendor" | "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "operating_expenses_by_projects" | "revenue" | "revenue_by_classes" | "revenue_by_projects" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "net_burn_or_income_by_projects" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "profit_and_loss_by_projects" | "balance_sheet" | "balance_sheet_by_classes" | "balance_sheet_by_projects" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_list_of_account_by_project" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "zeni_treasury" | "charge_cards" | "other_connection" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card" | "treasury_promo_card" | "excluded_account_reconciliation" | "transfer_accounts" | "credit_card_transfer_accounts";
|
|
3
|
+
reportId: "vendor" | "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "operating_expenses_by_projects" | "revenue" | "revenue_by_classes" | "revenue_by_projects" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "net_burn_or_income_by_projects" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "profit_and_loss_by_projects" | "balance_sheet" | "balance_sheet_by_classes" | "balance_sheet_by_projects" | "cash_flow" | "cash_flow_by_classes" | "cash_flow_by_projects" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_list_of_account_by_project" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "zeni_treasury" | "charge_cards" | "other_connection" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card" | "treasury_promo_card" | "excluded_account_reconciliation" | "transfer_accounts" | "credit_card_transfer_accounts";
|
|
4
4
|
reportTitle: string;
|
|
5
5
|
version: string | number | undefined;
|
|
6
6
|
status: import("../..").Status | undefined;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CashFlowReportViewCalculatedSectionID, CashFlowReportViewID, CashFlowReportViewSectionID } from './cashFlowPayload';
|
|
2
|
+
export declare const CASH_FLOW_GROUPED_HIDDEN_IDS: CashFlowReportViewID[];
|
|
3
|
+
export declare const CASH_FLOW_GROUPED_OPERATING_IDS_IN_ORDER: ("operatingActivitiesAdjustments" | "operatingActivitiesTotal" | "operatingActivitiesNetIncome")[];
|
|
4
|
+
export declare const CASH_FLOW_GROUPED_INVESTING_IDS_IN_ORDER: ("investingActivities" | "investingActivitiesTotal")[];
|
|
5
|
+
export declare const CASH_FLOW_GROUPED_FINANCING_IDS_IN_ORDER: ("financingActivities" | "cashAndEquivalentsOpeningBalance" | "cashAndEquivalentsClosingBalance" | "changeInCashAndEquivalents" | "financingActivitiesTotal")[];
|
|
6
|
+
export declare const CASH_FLOW_GROUPED_IDS_IN_ORDER: CashFlowReportViewID[];
|
|
7
|
+
export declare const CASH_FLOW_GROUPED_SECTION_IDS: CashFlowReportViewSectionID[];
|
|
8
|
+
export type CashFlowGroupedBreakdownID = CashFlowReportViewSectionID | CashFlowReportViewCalculatedSectionID;
|
|
9
|
+
export declare const CASH_FLOW_GROUPED_CALCULATED_IDS: CashFlowReportViewCalculatedSectionID[];
|
|
10
|
+
/**
|
|
11
|
+
* Rows rendered with a per-class/per-project breakdown: the account sections
|
|
12
|
+
* plus the aggregates the response groups. Derived from the two lists above so a
|
|
13
|
+
* new grouped aggregate only has to be added once.
|
|
14
|
+
*/
|
|
15
|
+
export declare const CASH_FLOW_GROUPED_BREAKDOWN_IDS: CashFlowGroupedBreakdownID[];
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CASH_FLOW_GROUPED_BREAKDOWN_IDS = exports.CASH_FLOW_GROUPED_CALCULATED_IDS = exports.CASH_FLOW_GROUPED_SECTION_IDS = exports.CASH_FLOW_GROUPED_IDS_IN_ORDER = exports.CASH_FLOW_GROUPED_FINANCING_IDS_IN_ORDER = exports.CASH_FLOW_GROUPED_INVESTING_IDS_IN_ORDER = exports.CASH_FLOW_GROUPED_OPERATING_IDS_IN_ORDER = exports.CASH_FLOW_GROUPED_HIDDEN_IDS = void 0;
|
|
4
|
+
const cashFlowSelectorTypes_1 = require("./cashFlowSelectorTypes");
|
|
5
|
+
// Opening and closing cash balances are omitted from the grouped views: the
|
|
6
|
+
// backend cannot attribute a bank balance to a class or project (see
|
|
7
|
+
// cash_flow_group_by_class_report_v2), so the response does not carry them.
|
|
8
|
+
exports.CASH_FLOW_GROUPED_HIDDEN_IDS = [
|
|
9
|
+
'cashAndEquivalentsOpeningBalance',
|
|
10
|
+
'cashAndEquivalentsClosingBalance',
|
|
11
|
+
];
|
|
12
|
+
const isShownInGroupedView = (id) => exports.CASH_FLOW_GROUPED_HIDDEN_IDS.includes(id) === false;
|
|
13
|
+
const byDisplayOrder = (a, b) => cashFlowSelectorTypes_1.cashFlowSectionIdsInOrder.indexOf(a) - cashFlowSelectorTypes_1.cashFlowSectionIdsInOrder.indexOf(b);
|
|
14
|
+
exports.CASH_FLOW_GROUPED_OPERATING_IDS_IN_ORDER = [
|
|
15
|
+
...cashFlowSelectorTypes_1.ALL_CASHFLOW_OPERATING_ACTIVITIES_IDS,
|
|
16
|
+
]
|
|
17
|
+
.filter(isShownInGroupedView)
|
|
18
|
+
.sort(byDisplayOrder);
|
|
19
|
+
exports.CASH_FLOW_GROUPED_INVESTING_IDS_IN_ORDER = [
|
|
20
|
+
...cashFlowSelectorTypes_1.ALL_CASHFLOW_INVESTING_ACTIVITIES_IDS,
|
|
21
|
+
]
|
|
22
|
+
.filter(isShownInGroupedView)
|
|
23
|
+
.sort(byDisplayOrder);
|
|
24
|
+
exports.CASH_FLOW_GROUPED_FINANCING_IDS_IN_ORDER = [
|
|
25
|
+
...cashFlowSelectorTypes_1.ALL_CASHFLOW_FINANCING_ACTIVITIES_IDS,
|
|
26
|
+
]
|
|
27
|
+
.filter(isShownInGroupedView)
|
|
28
|
+
.sort(byDisplayOrder);
|
|
29
|
+
exports.CASH_FLOW_GROUPED_IDS_IN_ORDER = cashFlowSelectorTypes_1.cashFlowSectionIdsInOrder.filter(isShownInGroupedView);
|
|
30
|
+
// The grouped response carries per-class/per-project balances only for these
|
|
31
|
+
// three; every other row on the report is a rollup computed in the selectors.
|
|
32
|
+
exports.CASH_FLOW_GROUPED_SECTION_IDS = [
|
|
33
|
+
'operatingActivitiesAdjustments',
|
|
34
|
+
'investingActivities',
|
|
35
|
+
'financingActivities',
|
|
36
|
+
];
|
|
37
|
+
exports.CASH_FLOW_GROUPED_CALCULATED_IDS = [
|
|
38
|
+
'operatingActivitiesNetIncome',
|
|
39
|
+
'operatingActivitiesTotal',
|
|
40
|
+
'changeInCashAndEquivalents',
|
|
41
|
+
];
|
|
42
|
+
/**
|
|
43
|
+
* Rows rendered with a per-class/per-project breakdown: the account sections
|
|
44
|
+
* plus the aggregates the response groups. Derived from the two lists above so a
|
|
45
|
+
* new grouped aggregate only has to be added once.
|
|
46
|
+
*/
|
|
47
|
+
exports.CASH_FLOW_GROUPED_BREAKDOWN_IDS = [
|
|
48
|
+
...exports.CASH_FLOW_GROUPED_SECTION_IDS,
|
|
49
|
+
...exports.CASH_FLOW_GROUPED_CALCULATED_IDS,
|
|
50
|
+
];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { RootState } from '../../reducer';
|
|
4
|
+
import { fetchCashFlowClassesView, fetchCashFlowForTimeframeClassesView } from './cashFlowClassesViewReducer';
|
|
5
|
+
export type ActionType = ReturnType<typeof fetchCashFlowClassesView> | ReturnType<typeof fetchCashFlowForTimeframeClassesView>;
|
|
6
|
+
export declare const fetchCashFlowClassesViewEpic: (actions$: ActionsObservable<ActionType>, state: StateObservable<RootState>) => Observable<ActionType>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.fetchCashFlowClassesViewEpic = void 0;
|
|
4
|
+
const rxjs_1 = require("rxjs");
|
|
5
|
+
const operators_1 = require("rxjs/operators");
|
|
6
|
+
const cashFlowClassesViewReducer_1 = require("./cashFlowClassesViewReducer");
|
|
7
|
+
const fetchCashFlowClassesViewEpic = (actions$, state) => actions$.pipe((0, operators_1.filter)(cashFlowClassesViewReducer_1.fetchCashFlowClassesView.match), (0, operators_1.switchMap)((action) => {
|
|
8
|
+
const { cacheOverride } = action.payload;
|
|
9
|
+
if (cacheOverride === true) {
|
|
10
|
+
return (0, rxjs_1.from)([
|
|
11
|
+
(0, cashFlowClassesViewReducer_1.fetchCashFlowForTimeframeClassesView)('month', true),
|
|
12
|
+
(0, cashFlowClassesViewReducer_1.fetchCashFlowForTimeframeClassesView)('quarter', true),
|
|
13
|
+
(0, cashFlowClassesViewReducer_1.fetchCashFlowForTimeframeClassesView)('year', true),
|
|
14
|
+
]);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
const fetchActions = [];
|
|
18
|
+
const classFetchState = state.value.cashFlowClassesViewState.fetchState;
|
|
19
|
+
if (classFetchState['month'].fetchState !== 'In-Progress' &&
|
|
20
|
+
classFetchState['month'].fetchState !== 'Completed') {
|
|
21
|
+
fetchActions.push((0, cashFlowClassesViewReducer_1.fetchCashFlowForTimeframeClassesView)('month'));
|
|
22
|
+
}
|
|
23
|
+
if (classFetchState['quarter'].fetchState !== 'In-Progress' &&
|
|
24
|
+
classFetchState['quarter'].fetchState !== 'Completed') {
|
|
25
|
+
fetchActions.push((0, cashFlowClassesViewReducer_1.fetchCashFlowForTimeframeClassesView)('quarter'));
|
|
26
|
+
}
|
|
27
|
+
if (classFetchState['year'].fetchState !== 'In-Progress' &&
|
|
28
|
+
classFetchState['year'].fetchState !== 'Completed') {
|
|
29
|
+
fetchActions.push((0, cashFlowClassesViewReducer_1.fetchCashFlowForTimeframeClassesView)('year'));
|
|
30
|
+
}
|
|
31
|
+
return (0, rxjs_1.from)(fetchActions);
|
|
32
|
+
}
|
|
33
|
+
}));
|
|
34
|
+
exports.fetchCashFlowClassesViewEpic = fetchCashFlowClassesViewEpic;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReportByClassMetadataPayloadV2, SectionByClassCOABalanceGroupedPayloadV2 } from '../../commonPayloadTypes/classesView/reportByClassPayloadV2';
|
|
2
|
+
import { ZeniReportResponse } from '../../responsePayload';
|
|
3
|
+
interface OperatingActivitiesClassesView {
|
|
4
|
+
adjustments: SectionByClassCOABalanceGroupedPayloadV2;
|
|
5
|
+
net_income: SectionByClassCOABalanceGroupedPayloadV2;
|
|
6
|
+
}
|
|
7
|
+
export interface CashFlowClassesViewPayload extends ReportByClassMetadataPayloadV2 {
|
|
8
|
+
change_in_cash_and_equivalents: SectionByClassCOABalanceGroupedPayloadV2;
|
|
9
|
+
financing_activities: SectionByClassCOABalanceGroupedPayloadV2;
|
|
10
|
+
investing_activities: SectionByClassCOABalanceGroupedPayloadV2;
|
|
11
|
+
operating_activities: SectionByClassCOABalanceGroupedPayloadV2 & OperatingActivitiesClassesView;
|
|
12
|
+
}
|
|
13
|
+
export type CashFlowReportClassesViewResponse = ZeniReportResponse<CashFlowClassesViewPayload>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { NestedClassID } from '../../commonStateTypes/classesView/nestedClassID';
|
|
2
|
+
import { AccountViewMode, ID } from '../../commonStateTypes/common';
|
|
3
|
+
import { ZeniAPIStatus, ZeniReportData } from '../../responsePayload';
|
|
4
|
+
import { CashFlowClassesViewPayload } from './cashFlowClassesViewPayload';
|
|
5
|
+
import { CashFlowClassesViewState } from './cashFlowClassesViewState';
|
|
6
|
+
export declare const initialState: CashFlowClassesViewState;
|
|
7
|
+
export declare const fetchCashFlowClassesView: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[cacheOverride?: boolean | undefined], {
|
|
8
|
+
cacheOverride: boolean;
|
|
9
|
+
}, "cashFlowClassesView/fetchCashFlowClassesView", never, never>, fetchCashFlowForTimeframeClassesView: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[timeframe: "month" | "year" | "quarter", cacheOverride?: boolean | undefined], {
|
|
10
|
+
timeframe: "month" | "year" | "quarter";
|
|
11
|
+
cacheOverride: boolean;
|
|
12
|
+
}, "cashFlowClassesView/fetchCashFlowForTimeframeClassesView", never, never>, updateCashFlowForTimeframeClassesView: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
13
|
+
report: ZeniReportData<CashFlowClassesViewPayload>;
|
|
14
|
+
timeframe: "month" | "quarter" | "year";
|
|
15
|
+
}, "cashFlowClassesView/updateCashFlowForTimeframeClassesView">, updateCashFlowForTimeframeClassesViewFailure: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[error: ZeniAPIStatus<Record<string, unknown>>, timeframe: "month" | "year" | "quarter"], {
|
|
16
|
+
error: ZeniAPIStatus<Record<string, unknown>>;
|
|
17
|
+
timeframe: "month" | "year" | "quarter";
|
|
18
|
+
}, "cashFlowClassesView/updateCashFlowForTimeframeClassesViewFailure", never, never>, updateCashFlowClassesToFilterOut: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
19
|
+
classesToFilterOut: NestedClassID[];
|
|
20
|
+
}, "cashFlowClassesView/updateCashFlowClassesToFilterOut">, updateCashFlowClassesViewUIState: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
21
|
+
nodeCollapseState?: {
|
|
22
|
+
isCollapsed: boolean;
|
|
23
|
+
nodeId: ID;
|
|
24
|
+
};
|
|
25
|
+
resetLeftScroll?: boolean;
|
|
26
|
+
scrollPosition?: {
|
|
27
|
+
scrollTop: number;
|
|
28
|
+
scrollLeft?: number;
|
|
29
|
+
};
|
|
30
|
+
}, "cashFlowClassesView/updateCashFlowClassesViewUIState">, updateCashFlowClassesViewAccountViewMode: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
31
|
+
viewMode: AccountViewMode;
|
|
32
|
+
}, "cashFlowClassesView/updateCashFlowClassesViewAccountViewMode">, resetCashFlowClassesNodeCollapseState: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"cashFlowClassesView/resetCashFlowClassesNodeCollapseState">;
|
|
33
|
+
declare const _default: import("redux").Reducer<CashFlowClassesViewState>;
|
|
34
|
+
export default _default;
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var _a;
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.resetCashFlowClassesNodeCollapseState = exports.updateCashFlowClassesViewAccountViewMode = exports.updateCashFlowClassesViewUIState = exports.updateCashFlowClassesToFilterOut = exports.updateCashFlowForTimeframeClassesViewFailure = exports.updateCashFlowForTimeframeClassesView = exports.fetchCashFlowForTimeframeClassesView = exports.fetchCashFlowClassesView = exports.initialState = void 0;
|
|
5
|
+
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
|
+
const viewAndReportPayloadv2_1 = require("../../commonPayloadTypes/v2/viewAndReportPayloadv2");
|
|
7
|
+
const getNestedClassIDHierarchyForReport_1 = require("../../commonStateTypes/classesView/getNestedClassIDHierarchyForReport");
|
|
8
|
+
const classPayload_1 = require("../../entity/class/classPayload");
|
|
9
|
+
const rootActions_1 = require("../../rootActions");
|
|
10
|
+
exports.initialState = {
|
|
11
|
+
classHierarchy: [],
|
|
12
|
+
bookCloseDate: undefined,
|
|
13
|
+
fetchState: {
|
|
14
|
+
month: {
|
|
15
|
+
fetchState: 'Not-Started',
|
|
16
|
+
error: undefined,
|
|
17
|
+
},
|
|
18
|
+
quarter: {
|
|
19
|
+
fetchState: 'Not-Started',
|
|
20
|
+
error: undefined,
|
|
21
|
+
},
|
|
22
|
+
year: {
|
|
23
|
+
fetchState: 'Not-Started',
|
|
24
|
+
error: undefined,
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
uiState: {
|
|
28
|
+
nodeCollapseState: {},
|
|
29
|
+
scrollPosition: undefined,
|
|
30
|
+
accountViewMode: 'account_group',
|
|
31
|
+
classesToFilterOut: [],
|
|
32
|
+
},
|
|
33
|
+
firstMonthOfFY: 1,
|
|
34
|
+
reportId: 'cash_flow_by_classes',
|
|
35
|
+
reportTitle: 'cash_flow_by_classes',
|
|
36
|
+
};
|
|
37
|
+
const cashFlowClassesView = (0, toolkit_1.createSlice)({
|
|
38
|
+
name: 'cashFlowClassesView',
|
|
39
|
+
initialState: exports.initialState,
|
|
40
|
+
reducers: {
|
|
41
|
+
fetchCashFlowClassesView: {
|
|
42
|
+
prepare(cacheOverride = false) {
|
|
43
|
+
return { payload: { cacheOverride } };
|
|
44
|
+
},
|
|
45
|
+
reducer(
|
|
46
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
47
|
+
_draft,
|
|
48
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
49
|
+
_action) {
|
|
50
|
+
// nothing to do here
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
fetchCashFlowForTimeframeClassesView: {
|
|
54
|
+
prepare(timeframe, cacheOverride = false) {
|
|
55
|
+
return { payload: { timeframe, cacheOverride } };
|
|
56
|
+
},
|
|
57
|
+
reducer(draft, action) {
|
|
58
|
+
const timeframe = action.payload.timeframe;
|
|
59
|
+
draft.fetchState[timeframe].fetchState = 'In-Progress';
|
|
60
|
+
draft.fetchState[timeframe].error = undefined;
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
updateCashFlowForTimeframeClassesView(draft, action) {
|
|
64
|
+
doUpdateCashFlowClassesView(draft, action.payload.timeframe, action.payload.report);
|
|
65
|
+
},
|
|
66
|
+
updateCashFlowForTimeframeClassesViewFailure: {
|
|
67
|
+
prepare(error, timeframe) {
|
|
68
|
+
return {
|
|
69
|
+
payload: {
|
|
70
|
+
error,
|
|
71
|
+
timeframe,
|
|
72
|
+
},
|
|
73
|
+
};
|
|
74
|
+
},
|
|
75
|
+
reducer(draft, action) {
|
|
76
|
+
draft.fetchState[action.payload.timeframe] = {
|
|
77
|
+
fetchState: 'Error',
|
|
78
|
+
error: action.payload.error,
|
|
79
|
+
};
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
updateCashFlowClassesToFilterOut(draft, action) {
|
|
83
|
+
draft.uiState.classesToFilterOut = action.payload.classesToFilterOut;
|
|
84
|
+
},
|
|
85
|
+
updateCashFlowClassesViewUIState(draft, action) {
|
|
86
|
+
const { nodeCollapseState, scrollPosition, resetLeftScroll } = action.payload;
|
|
87
|
+
if (nodeCollapseState != null) {
|
|
88
|
+
draft.uiState.nodeCollapseState = Object.assign({}, draft.uiState.nodeCollapseState, {
|
|
89
|
+
[nodeCollapseState.nodeId]: nodeCollapseState.isCollapsed,
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
// Mutually exclusive: resetLeftScroll clears only scrollLeft from the
|
|
93
|
+
// recorded position, scrollPosition replaces the whole record.
|
|
94
|
+
if (resetLeftScroll === true && draft.uiState.scrollPosition != null) {
|
|
95
|
+
draft.uiState.scrollPosition.scrollLeft = undefined;
|
|
96
|
+
}
|
|
97
|
+
else if (scrollPosition != null) {
|
|
98
|
+
draft.uiState.scrollPosition = scrollPosition;
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
updateCashFlowClassesViewAccountViewMode(draft, action) {
|
|
102
|
+
draft.uiState.accountViewMode = action.payload.viewMode;
|
|
103
|
+
},
|
|
104
|
+
resetCashFlowClassesNodeCollapseState(draft) {
|
|
105
|
+
draft.uiState.nodeCollapseState = {};
|
|
106
|
+
},
|
|
107
|
+
},
|
|
108
|
+
extraReducers: (builder) => {
|
|
109
|
+
builder.addCase(rootActions_1.clearAll, (draft) => {
|
|
110
|
+
Object.assign(draft, exports.initialState);
|
|
111
|
+
});
|
|
112
|
+
},
|
|
113
|
+
});
|
|
114
|
+
_a = cashFlowClassesView.actions, exports.fetchCashFlowClassesView = _a.fetchCashFlowClassesView, exports.fetchCashFlowForTimeframeClassesView = _a.fetchCashFlowForTimeframeClassesView, exports.updateCashFlowForTimeframeClassesView = _a.updateCashFlowForTimeframeClassesView, exports.updateCashFlowForTimeframeClassesViewFailure = _a.updateCashFlowForTimeframeClassesViewFailure, exports.updateCashFlowClassesToFilterOut = _a.updateCashFlowClassesToFilterOut, exports.updateCashFlowClassesViewUIState = _a.updateCashFlowClassesViewUIState, exports.updateCashFlowClassesViewAccountViewMode = _a.updateCashFlowClassesViewAccountViewMode, exports.resetCashFlowClassesNodeCollapseState = _a.resetCashFlowClassesNodeCollapseState;
|
|
115
|
+
exports.default = cashFlowClassesView.reducer;
|
|
116
|
+
const doUpdateCashFlowClassesView = (draft, timeframe, cashFlowReport) => {
|
|
117
|
+
const report = (0, viewAndReportPayloadv2_1.mapReportPayloadV2ToReportV2)(cashFlowReport.report);
|
|
118
|
+
draft.currency = report.currency;
|
|
119
|
+
draft.dataAvailable = report.dataAvailable;
|
|
120
|
+
draft.firstMonthOfFY = report.firstMonthOfFY;
|
|
121
|
+
draft.bookCloseDate = report.bookCloseDate;
|
|
122
|
+
draft.status = report.status;
|
|
123
|
+
draft.fetchState[timeframe].fetchState = 'Completed';
|
|
124
|
+
draft.fetchState[timeframe].error = undefined;
|
|
125
|
+
const classMetadata = cashFlowReport.report.classes.map((eachClass) => (0, classPayload_1.toClassMetadata)(eachClass));
|
|
126
|
+
// Populated once and then left alone, so a per-timeframe response cannot
|
|
127
|
+
// clobber a hierarchy built from a full one. A class added mid-session is
|
|
128
|
+
// therefore not picked up until the store is cleared, even by a hard refresh —
|
|
129
|
+
// the same trade-off profitAndLossClassesViewReducer makes.
|
|
130
|
+
if (draft.classHierarchy.length <= 0) {
|
|
131
|
+
draft.classHierarchy = (0, getNestedClassIDHierarchyForReport_1.geNestedClassIDHierarchyForReport)(classMetadata);
|
|
132
|
+
}
|
|
133
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { COABalancesFilterClassesView } from '../../commonStateTypes/coaBalance/coaBalancesFilterClassesView';
|
|
2
|
+
import { AccountState } from '../../entity/account/accountState';
|
|
3
|
+
import { ClassState } from '../../entity/class/classState';
|
|
4
|
+
import { SectionClassesViewStateV2 } from '../../entity/sectionClassesViewV2/sectionClassesViewState';
|
|
5
|
+
import { CashFlowClassesViewReport } from './cashFlowClassesViewSelectorTypes';
|
|
6
|
+
import { CashFlowClassesViewState } from './cashFlowClassesViewState';
|
|
7
|
+
export declare const getCashFlowClassesView: (filter: COABalancesFilterClassesView, accountState: AccountState, classState: ClassState, sectionsState: SectionClassesViewStateV2, cashFlowClassesViewState: CashFlowClassesViewState) => CashFlowClassesViewReport;
|