@zeniai/client-epic-state 5.1.30 → 5.1.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/viewAndReport/agingReportStateTypes.d.ts +1 -1
- package/lib/entity/customer/customerPayload.js +11 -2
- package/lib/entity/genericEntity/entity.d.ts +1 -1
- package/lib/entity/invoicing/coupon/couponPayload.d.ts +50 -0
- package/lib/entity/invoicing/coupon/couponPayload.js +2 -0
- package/lib/entity/invoicing/coupon/couponReducer.d.ts +10 -0
- package/lib/entity/invoicing/coupon/couponReducer.js +33 -0
- package/lib/entity/invoicing/coupon/couponState.d.ts +5 -0
- package/lib/entity/invoicing/coupon/couponState.js +2 -0
- package/lib/entity/invoicing/creditNote/creditNotePayload.d.ts +47 -0
- package/lib/entity/invoicing/creditNote/creditNotePayload.js +2 -0
- package/lib/entity/invoicing/creditNote/creditNoteReducer.d.ts +10 -0
- package/lib/entity/invoicing/creditNote/creditNoteReducer.js +35 -0
- package/lib/entity/invoicing/creditNote/creditNoteState.d.ts +5 -0
- package/lib/entity/invoicing/creditNote/creditNoteState.js +2 -0
- package/lib/entity/invoicing/dunningCase/dunningCasePayload.d.ts +29 -0
- package/lib/entity/invoicing/dunningCase/dunningCasePayload.js +2 -0
- package/lib/entity/invoicing/dunningCase/dunningCaseReducer.d.ts +10 -0
- package/lib/entity/invoicing/dunningCase/dunningCaseReducer.js +35 -0
- package/lib/entity/invoicing/dunningCase/dunningCaseState.d.ts +5 -0
- package/lib/entity/invoicing/dunningCase/dunningCaseState.js +2 -0
- package/lib/entity/invoicing/invoice/invoicePayload.d.ts +93 -0
- package/lib/entity/invoicing/invoice/invoicePayload.js +2 -0
- package/lib/entity/invoicing/invoice/invoiceReducer.d.ts +10 -0
- package/lib/entity/invoicing/invoice/invoiceReducer.js +36 -0
- package/lib/entity/invoicing/invoice/invoiceSelector.d.ts +5 -0
- package/lib/entity/invoicing/invoice/invoiceSelector.js +9 -0
- package/lib/entity/invoicing/invoice/invoiceState.d.ts +5 -0
- package/lib/entity/invoicing/invoice/invoiceState.js +2 -0
- package/lib/entity/invoicing/invoicingCommonPayload.d.ts +56 -0
- package/lib/entity/invoicing/invoicingCommonPayload.js +2 -0
- package/lib/entity/invoicing/invoicingCommonState.d.ts +45 -0
- package/lib/entity/invoicing/invoicingCommonState.js +2 -0
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerPayload.d.ts +54 -0
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerPayload.js +72 -0
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerReducer.d.ts +9 -0
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerReducer.js +47 -0
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerSelector.d.ts +4 -0
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerSelector.js +17 -0
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerState.d.ts +50 -0
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerState.js +2 -0
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionPayload.d.ts +75 -0
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionPayload.js +105 -0
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionReducer.d.ts +9 -0
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionReducer.js +49 -0
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionSelector.d.ts +5 -0
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionSelector.js +17 -0
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionState.d.ts +75 -0
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionState.js +2 -0
- package/lib/entity/invoicing/plan/planPayload.d.ts +41 -0
- package/lib/entity/invoicing/plan/planPayload.js +2 -0
- package/lib/entity/invoicing/plan/planReducer.d.ts +10 -0
- package/lib/entity/invoicing/plan/planReducer.js +33 -0
- package/lib/entity/invoicing/plan/planState.d.ts +5 -0
- package/lib/entity/invoicing/plan/planState.js +2 -0
- package/lib/entity/invoicing/product/productPayload.d.ts +60 -0
- package/lib/entity/invoicing/product/productPayload.js +2 -0
- package/lib/entity/invoicing/product/productReducer.d.ts +10 -0
- package/lib/entity/invoicing/product/productReducer.js +33 -0
- package/lib/entity/invoicing/product/productState.d.ts +5 -0
- package/lib/entity/invoicing/product/productState.js +2 -0
- package/lib/entity/invoicing/transaction/transactionPayload.d.ts +54 -0
- package/lib/entity/invoicing/transaction/transactionPayload.js +2 -0
- package/lib/entity/invoicing/transaction/transactionReducer.d.ts +10 -0
- package/lib/entity/invoicing/transaction/transactionReducer.js +35 -0
- package/lib/entity/invoicing/transaction/transactionState.d.ts +5 -0
- package/lib/entity/invoicing/transaction/transactionState.js +2 -0
- package/lib/entity/jeSchedules/jeSchedulesPayload.js +2 -3
- package/lib/entity/jeSchedules/jeSchedulesSelector.d.ts +1 -1
- package/lib/entity/jeSchedules/jeSchedulesSelector.js +4 -4
- package/lib/entity/jeSchedules/jeSchedulesState.d.ts +1 -1
- package/lib/entity/tenant/clearAllEpic.d.ts +41 -2
- package/lib/entity/tenant/clearAllEpic.js +82 -4
- package/lib/entity/tenant/tenantReducer.js +3 -3
- package/lib/entity/transaction/payloadTypes/vendorTransactionPayload.js +1 -1
- package/lib/entity/vendor/vendorPayload.d.ts +2 -6
- package/lib/entity/vendor/vendorPayload.js +3 -14
- package/lib/entity/vendor/vendorReducer.js +0 -3
- package/lib/epic.d.ts +35 -2
- package/lib/epic.js +46 -2
- package/lib/esm/entity/customer/customerPayload.js +11 -2
- package/lib/esm/entity/invoicing/coupon/couponPayload.js +1 -0
- package/lib/esm/entity/invoicing/coupon/couponReducer.js +29 -0
- package/lib/esm/entity/invoicing/coupon/couponState.js +1 -0
- package/lib/esm/entity/invoicing/creditNote/creditNotePayload.js +1 -0
- package/lib/esm/entity/invoicing/creditNote/creditNoteReducer.js +31 -0
- package/lib/esm/entity/invoicing/creditNote/creditNoteState.js +1 -0
- package/lib/esm/entity/invoicing/dunningCase/dunningCasePayload.js +1 -0
- package/lib/esm/entity/invoicing/dunningCase/dunningCaseReducer.js +31 -0
- package/lib/esm/entity/invoicing/dunningCase/dunningCaseState.js +1 -0
- package/lib/esm/entity/invoicing/invoice/invoicePayload.js +1 -0
- package/lib/esm/entity/invoicing/invoice/invoiceReducer.js +32 -0
- package/lib/esm/entity/invoicing/invoice/invoiceSelector.js +4 -0
- package/lib/esm/entity/invoicing/invoice/invoiceState.js +1 -0
- package/lib/esm/entity/invoicing/invoicingCommonPayload.js +1 -0
- package/lib/esm/entity/invoicing/invoicingCommonState.js +1 -0
- package/lib/esm/entity/invoicing/invoicingCustomer/invoicingCustomerPayload.js +68 -0
- package/lib/esm/entity/invoicing/invoicingCustomer/invoicingCustomerReducer.js +40 -0
- package/lib/esm/entity/invoicing/invoicingCustomer/invoicingCustomerSelector.js +10 -0
- package/lib/esm/entity/invoicing/invoicingCustomer/invoicingCustomerState.js +1 -0
- package/lib/esm/entity/invoicing/invoicingSubscription/invoicingSubscriptionPayload.js +98 -0
- package/lib/esm/entity/invoicing/invoicingSubscription/invoicingSubscriptionReducer.js +42 -0
- package/lib/esm/entity/invoicing/invoicingSubscription/invoicingSubscriptionSelector.js +10 -0
- package/lib/esm/entity/invoicing/invoicingSubscription/invoicingSubscriptionState.js +1 -0
- package/lib/esm/entity/invoicing/plan/planPayload.js +1 -0
- package/lib/esm/entity/invoicing/plan/planReducer.js +29 -0
- package/lib/esm/entity/invoicing/plan/planState.js +1 -0
- package/lib/esm/entity/invoicing/product/productPayload.js +1 -0
- package/lib/esm/entity/invoicing/product/productReducer.js +29 -0
- package/lib/esm/entity/invoicing/product/productState.js +1 -0
- package/lib/esm/entity/invoicing/transaction/transactionPayload.js +1 -0
- package/lib/esm/entity/invoicing/transaction/transactionReducer.js +31 -0
- package/lib/esm/entity/invoicing/transaction/transactionState.js +1 -0
- package/lib/esm/entity/jeSchedules/jeSchedulesPayload.js +2 -3
- package/lib/esm/entity/jeSchedules/jeSchedulesSelector.js +4 -4
- package/lib/esm/entity/tenant/clearAllEpic.js +78 -0
- package/lib/esm/entity/tenant/tenantReducer.js +3 -3
- package/lib/esm/entity/transaction/payloadTypes/vendorTransactionPayload.js +2 -2
- package/lib/esm/entity/transactionActivityLog/transactionActivityLogPayload.js +1 -1
- package/lib/esm/entity/vendor/vendorPayload.js +2 -12
- package/lib/esm/entity/vendor/vendorReducer.js +1 -4
- package/lib/esm/epic.js +46 -2
- package/lib/esm/index.js +82 -0
- package/lib/esm/reducer.js +120 -0
- package/lib/esm/view/commonVendorView/transactionVendorView/epics/saveTransactionVendorEpic.js +6 -11
- package/lib/esm/view/commonVendorView/transactionVendorView/transactionVendorViewReducer.js +0 -2
- package/lib/esm/view/createTransferEntry/epics/createTransferEntryEpic.js +1 -5
- package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationEpic.js +2 -1
- package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationViewEpic.js +4 -2
- package/lib/esm/view/expenseAutomationView/payload/jeSchedulesPayload.js +1 -4
- package/lib/esm/view/expenseAutomationView/reducers/transactionsViewReducer.js +1 -2
- package/lib/esm/view/expenseAutomationView/selectors/jeSchedulesViewSelector.js +1 -1
- package/lib/esm/view/fileView/fileUploadHelpers.js +1 -2
- package/lib/esm/view/invoicing/approvalAction/approvalActionEpic.js +27 -0
- package/lib/esm/view/invoicing/approvalAction/approvalActionPayload.js +1 -0
- package/lib/esm/view/invoicing/approvalAction/approvalActionReducer.js +36 -0
- package/lib/esm/view/invoicing/approvalAction/approvalActionSelector.js +5 -0
- package/lib/esm/view/invoicing/approvalAction/approvalActionState.js +1 -0
- package/lib/esm/view/invoicing/approvalsView/approvalsViewEpics.js +35 -0
- package/lib/esm/view/invoicing/approvalsView/approvalsViewPayload.js +1 -0
- package/lib/esm/view/invoicing/approvalsView/approvalsViewReducer.js +62 -0
- package/lib/esm/view/invoicing/approvalsView/approvalsViewSelector.js +8 -0
- package/lib/esm/view/invoicing/approvalsView/approvalsViewState.js +1 -0
- package/lib/esm/view/invoicing/auditView/auditViewEpics.js +44 -0
- package/lib/esm/view/invoicing/auditView/auditViewPayload.js +1 -0
- package/lib/esm/view/invoicing/auditView/auditViewReducer.js +56 -0
- package/lib/esm/view/invoicing/auditView/auditViewSelector.js +8 -0
- package/lib/esm/view/invoicing/auditView/auditViewState.js +1 -0
- package/lib/esm/view/invoicing/catalogView/catalogViewEpics.js +139 -0
- package/lib/esm/view/invoicing/catalogView/catalogViewPayload.js +1 -0
- package/lib/esm/view/invoicing/catalogView/catalogViewReducer.js +162 -0
- package/lib/esm/view/invoicing/catalogView/catalogViewSelector.js +31 -0
- package/lib/esm/view/invoicing/catalogView/catalogViewState.js +1 -0
- package/lib/esm/view/invoicing/catalogWrite/catalogWriteEpic.js +35 -0
- package/lib/esm/view/invoicing/catalogWrite/catalogWritePayload.js +1 -0
- package/lib/esm/view/invoicing/catalogWrite/catalogWriteReducer.js +39 -0
- package/lib/esm/view/invoicing/catalogWrite/catalogWriteSelector.js +6 -0
- package/lib/esm/view/invoicing/catalogWrite/catalogWriteState.js +1 -0
- package/lib/esm/view/invoicing/couponView/couponViewEpics.js +79 -0
- package/lib/esm/view/invoicing/couponView/couponViewPayload.js +1 -0
- package/lib/esm/view/invoicing/couponView/couponViewReducer.js +105 -0
- package/lib/esm/view/invoicing/couponView/couponViewSelector.js +18 -0
- package/lib/esm/view/invoicing/couponView/couponViewState.js +1 -0
- package/lib/esm/view/invoicing/couponWrite/couponWriteEpic.js +28 -0
- package/lib/esm/view/invoicing/couponWrite/couponWritePayload.js +1 -0
- package/lib/esm/view/invoicing/couponWrite/couponWriteReducer.js +36 -0
- package/lib/esm/view/invoicing/couponWrite/couponWriteSelector.js +5 -0
- package/lib/esm/view/invoicing/couponWrite/couponWriteState.js +1 -0
- package/lib/esm/view/invoicing/createInvoice/createInvoiceEpic.js +22 -0
- package/lib/esm/view/invoicing/createInvoice/createInvoicePayload.js +1 -0
- package/lib/esm/view/invoicing/createInvoice/createInvoiceReducer.js +36 -0
- package/lib/esm/view/invoicing/createInvoice/createInvoiceSelector.js +5 -0
- package/lib/esm/view/invoicing/createInvoice/createInvoiceState.js +1 -0
- package/lib/esm/view/invoicing/creditNoteView/creditNoteViewEpics.js +85 -0
- package/lib/esm/view/invoicing/creditNoteView/creditNoteViewPayload.js +1 -0
- package/lib/esm/view/invoicing/creditNoteView/creditNoteViewReducer.js +105 -0
- package/lib/esm/view/invoicing/creditNoteView/creditNoteViewSelector.js +20 -0
- package/lib/esm/view/invoicing/creditNoteView/creditNoteViewState.js +1 -0
- package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodEpic.js +60 -0
- package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodPayload.js +1 -0
- package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodReducer.js +84 -0
- package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodSelector.js +7 -0
- package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodState.js +1 -0
- package/lib/esm/view/invoicing/dataImportAction/dataImportActionEpic.js +41 -0
- package/lib/esm/view/invoicing/dataImportAction/dataImportActionPayload.js +1 -0
- package/lib/esm/view/invoicing/dataImportAction/dataImportActionReducer.js +73 -0
- package/lib/esm/view/invoicing/dataImportAction/dataImportActionSelector.js +5 -0
- package/lib/esm/view/invoicing/dataImportAction/dataImportActionState.js +1 -0
- package/lib/esm/view/invoicing/dataImportView/dataImportViewEpics.js +34 -0
- package/lib/esm/view/invoicing/dataImportView/dataImportViewPayload.js +1 -0
- package/lib/esm/view/invoicing/dataImportView/dataImportViewReducer.js +66 -0
- package/lib/esm/view/invoicing/dataImportView/dataImportViewSelector.js +8 -0
- package/lib/esm/view/invoicing/dataImportView/dataImportViewState.js +1 -0
- package/lib/esm/view/invoicing/dunningAction/dunningActionEpic.js +27 -0
- package/lib/esm/view/invoicing/dunningAction/dunningActionPayload.js +1 -0
- package/lib/esm/view/invoicing/dunningAction/dunningActionReducer.js +36 -0
- package/lib/esm/view/invoicing/dunningAction/dunningActionSelector.js +5 -0
- package/lib/esm/view/invoicing/dunningAction/dunningActionState.js +1 -0
- package/lib/esm/view/invoicing/dunningCaseView/dunningCaseViewEpics.js +79 -0
- package/lib/esm/view/invoicing/dunningCaseView/dunningCaseViewPayload.js +1 -0
- package/lib/esm/view/invoicing/dunningCaseView/dunningCaseViewReducer.js +105 -0
- package/lib/esm/view/invoicing/dunningCaseView/dunningCaseViewSelector.js +20 -0
- package/lib/esm/view/invoicing/dunningCaseView/dunningCaseViewState.js +1 -0
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewPayload.js +1 -0
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer.js +36 -0
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector.js +19 -0
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewState.js +1 -0
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/saveInvoicingCustomerEpic.js +22 -0
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewPayload.js +1 -0
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer.js +36 -0
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewSelector.js +30 -0
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewState.js +1 -0
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/saveInvoicingSubscriptionEpic.js +24 -0
- package/lib/esm/view/invoicing/invoiceAction/invoiceActionEpic.js +49 -0
- package/lib/esm/view/invoicing/invoiceAction/invoiceActionPayload.js +1 -0
- package/lib/esm/view/invoicing/invoiceAction/invoiceActionReducer.js +42 -0
- package/lib/esm/view/invoicing/invoiceAction/invoiceActionSelector.js +5 -0
- package/lib/esm/view/invoicing/invoiceAction/invoiceActionState.js +1 -0
- package/lib/esm/view/invoicing/invoiceDetail/fetchInvoiceDetailEpic.js +19 -0
- package/lib/esm/view/invoicing/invoiceDetail/invoiceDetailPayload.js +1 -0
- package/lib/esm/view/invoicing/invoiceDetail/invoiceDetailReducer.js +34 -0
- package/lib/esm/view/invoicing/invoiceDetail/invoiceDetailSelector.js +9 -0
- package/lib/esm/view/invoicing/invoiceDetail/invoiceDetailState.js +1 -0
- package/lib/esm/view/invoicing/invoiceList/fetchInvoiceCountsEpic.js +32 -0
- package/lib/esm/view/invoicing/invoiceList/fetchInvoiceKPIsEpic.js +14 -0
- package/lib/esm/view/invoicing/invoiceList/fetchInvoiceListEpic.js +53 -0
- package/lib/esm/view/invoicing/invoiceList/invoiceListPayload.js +1 -0
- package/lib/esm/view/invoicing/invoiceList/invoiceListReducer.js +90 -0
- package/lib/esm/view/invoicing/invoiceList/invoiceListSelector.js +11 -0
- package/lib/esm/view/invoicing/invoiceList/invoiceListState.js +1 -0
- package/lib/esm/view/invoicing/invoicePdf/invoicePdfEpic.js +36 -0
- package/lib/esm/view/invoicing/invoicePdf/invoicePdfReducer.js +33 -0
- package/lib/esm/view/invoicing/invoicePdf/invoicePdfSelector.js +5 -0
- package/lib/esm/view/invoicing/invoicePdf/invoicePdfState.js +1 -0
- package/lib/esm/view/invoicing/invoicingApiHelper.js +14 -0
- package/lib/esm/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailEpic.js +22 -0
- package/lib/esm/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailPageEpic.js +41 -0
- package/lib/esm/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewPayload.js +1 -0
- package/lib/esm/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewReducer.js +51 -0
- package/lib/esm/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewSelector.js +25 -0
- package/lib/esm/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewState.js +1 -0
- package/lib/esm/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerCountsEpic.js +20 -0
- package/lib/esm/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListEpic.js +40 -0
- package/lib/esm/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListPageEpic.js +27 -0
- package/lib/esm/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewPayload.js +1 -0
- package/lib/esm/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer.js +89 -0
- package/lib/esm/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewSelector.js +9 -0
- package/lib/esm/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewState.js +1 -0
- package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewChurnEpic.js +17 -0
- package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewDashboardSummaryEpic.js +17 -0
- package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewEpic.js +55 -0
- package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewKPIsEpic.js +17 -0
- package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewMRREpic.js +17 -0
- package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewPlanRevenueEpic.js +17 -0
- package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewRevenueEpic.js +17 -0
- package/lib/esm/view/invoicing/invoicingOverview/invoicingOverviewPayload.js +87 -0
- package/lib/esm/view/invoicing/invoicingOverview/invoicingOverviewReducer.js +115 -0
- package/lib/esm/view/invoicing/invoicingOverview/invoicingOverviewSelector.js +62 -0
- package/lib/esm/view/invoicing/invoicingOverview/invoicingOverviewState.js +1 -0
- package/lib/esm/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewEpics.js +19 -0
- package/lib/esm/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewPayload.js +1 -0
- package/lib/esm/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewReducer.js +31 -0
- package/lib/esm/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewSelector.js +13 -0
- package/lib/esm/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewState.js +1 -0
- package/lib/esm/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionCountsEpic.js +23 -0
- package/lib/esm/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListEpic.js +49 -0
- package/lib/esm/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListPageEpic.js +27 -0
- package/lib/esm/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewPayload.js +1 -0
- package/lib/esm/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer.js +89 -0
- package/lib/esm/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewSelector.js +9 -0
- package/lib/esm/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewState.js +1 -0
- package/lib/esm/view/invoicing/paymentAction/paymentActionEpic.js +27 -0
- package/lib/esm/view/invoicing/paymentAction/paymentActionPayload.js +1 -0
- package/lib/esm/view/invoicing/paymentAction/paymentActionReducer.js +36 -0
- package/lib/esm/view/invoicing/paymentAction/paymentActionSelector.js +5 -0
- package/lib/esm/view/invoicing/paymentAction/paymentActionState.js +1 -0
- package/lib/esm/view/invoicing/recordPayment/recordPaymentEpic.js +22 -0
- package/lib/esm/view/invoicing/recordPayment/recordPaymentPayload.js +1 -0
- package/lib/esm/view/invoicing/recordPayment/recordPaymentReducer.js +36 -0
- package/lib/esm/view/invoicing/recordPayment/recordPaymentSelector.js +5 -0
- package/lib/esm/view/invoicing/recordPayment/recordPaymentState.js +1 -0
- package/lib/esm/view/invoicing/reportsView/reportsViewEpics.js +27 -0
- package/lib/esm/view/invoicing/reportsView/reportsViewPayload.js +1 -0
- package/lib/esm/view/invoicing/reportsView/reportsViewReducer.js +54 -0
- package/lib/esm/view/invoicing/reportsView/reportsViewSelector.js +13 -0
- package/lib/esm/view/invoicing/reportsView/reportsViewState.js +1 -0
- package/lib/esm/view/invoicing/settingsView/settingsViewEpics.js +52 -0
- package/lib/esm/view/invoicing/settingsView/settingsViewPayload.js +1 -0
- package/lib/esm/view/invoicing/settingsView/settingsViewReducer.js +69 -0
- package/lib/esm/view/invoicing/settingsView/settingsViewSelector.js +7 -0
- package/lib/esm/view/invoicing/settingsView/settingsViewState.js +1 -0
- package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionEpic.js +27 -0
- package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionPayload.js +1 -0
- package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionReducer.js +36 -0
- package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionSelector.js +5 -0
- package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionState.js +1 -0
- package/lib/esm/view/invoicing/transactionView/transactionViewEpics.js +70 -0
- package/lib/esm/view/invoicing/transactionView/transactionViewPayload.js +1 -0
- package/lib/esm/view/invoicing/transactionView/transactionViewReducer.js +90 -0
- package/lib/esm/view/invoicing/transactionView/transactionViewSelector.js +19 -0
- package/lib/esm/view/invoicing/transactionView/transactionViewState.js +1 -0
- package/lib/esm/view/onboardingView/cockpitView/epic/initializeOnboardingCustomerViewUpdateDataEpic.js +1 -5
- package/lib/esm/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewLocalStoreDataEpic.js +5 -4
- package/lib/esm/view/scheduleView/scheduleAccruedDetailView/epics/deleteScheduleAccruedDetailEpic.js +1 -1
- package/lib/esm/view/scheduleView/scheduleAccruedDetailView/epics/fetchRecommendedTransactionRowIndexEpic.js +5 -11
- package/lib/esm/view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailPayload.js +1 -4
- package/lib/esm/view/scheduleView/scheduleDetailView/epics/createNewSchedulesEpic.js +1 -1
- package/lib/esm/view/scheduleView/scheduleDetailView/epics/deleteScheduleDetailEpic.js +1 -1
- package/lib/esm/view/scheduleView/scheduleDetailView/epics/markAsCompleteScheduleDetailEpic.js +1 -1
- package/lib/esm/view/scheduleView/scheduleDetailView/epics/saveScheduleDetailsEpic.js +1 -1
- package/lib/esm/view/scheduleView/scheduleDetailView/scheduleDetailPayload.js +3 -12
- package/lib/esm/view/scheduleView/scheduleListView/scheduleListSelector.js +7 -8
- package/lib/esm/view/spendManagement/billPay/billDetailView/epics/fetchBillDetailEpic.js +3 -8
- package/lib/esm/view/spendManagement/commonSetup/setupViewReducer.js +2 -1
- package/lib/esm/view/transactionDetail/epics/saveTransactionDetailEpic.js +1 -1
- package/lib/esm/view/transactionDetail/epics/transactionDetailEpic.js +9 -10
- package/lib/esm/view/transactionDetail/epics/updateTransactionDetailEpic.js +2 -6
- package/lib/esm/view/trendWithTransactions/fetchTrendForEntityEpic.js +1 -3
- package/lib/esm/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListReducer.js +1 -4
- package/lib/esm/view/vendorList/vendorListReducer.js +1 -4
- package/lib/esm/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewReducer.js +1 -9
- package/lib/index.d.ts +127 -0
- package/lib/index.js +355 -1
- package/lib/reducer.d.ts +120 -0
- package/lib/reducer.js +126 -6
- package/lib/view/commonVendorView/transactionVendorView/epics/saveTransactionVendorEpic.js +6 -11
- package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewReducer.js +0 -2
- package/lib/view/createTransferEntry/epics/createTransferEntryEpic.js +1 -5
- package/lib/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationEpic.js +2 -1
- package/lib/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationViewEpic.js +4 -2
- package/lib/view/expenseAutomationView/payload/jeSchedulesPayload.js +1 -4
- package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.js +1 -2
- package/lib/view/expenseAutomationView/selectors/jeSchedulesViewSelector.js +1 -1
- package/lib/view/expenseAutomationView/types/fluxAnalysisViewState.d.ts +1 -1
- package/lib/view/fileView/fileUploadHelpers.js +1 -2
- package/lib/view/invoicing/approvalAction/approvalActionEpic.d.ts +8 -0
- package/lib/view/invoicing/approvalAction/approvalActionEpic.js +31 -0
- package/lib/view/invoicing/approvalAction/approvalActionPayload.d.ts +3 -0
- package/lib/view/invoicing/approvalAction/approvalActionPayload.js +2 -0
- package/lib/view/invoicing/approvalAction/approvalActionReducer.d.ts +17 -0
- package/lib/view/invoicing/approvalAction/approvalActionReducer.js +40 -0
- package/lib/view/invoicing/approvalAction/approvalActionSelector.d.ts +3 -0
- package/lib/view/invoicing/approvalAction/approvalActionSelector.js +9 -0
- package/lib/view/invoicing/approvalAction/approvalActionState.d.ts +5 -0
- package/lib/view/invoicing/approvalAction/approvalActionState.js +2 -0
- package/lib/view/invoicing/approvalsView/approvalsViewEpics.d.ts +7 -0
- package/lib/view/invoicing/approvalsView/approvalsViewEpics.js +39 -0
- package/lib/view/invoicing/approvalsView/approvalsViewPayload.d.ts +14 -0
- package/lib/view/invoicing/approvalsView/approvalsViewPayload.js +2 -0
- package/lib/view/invoicing/approvalsView/approvalsViewReducer.d.ts +22 -0
- package/lib/view/invoicing/approvalsView/approvalsViewReducer.js +66 -0
- package/lib/view/invoicing/approvalsView/approvalsViewSelector.d.ts +9 -0
- package/lib/view/invoicing/approvalsView/approvalsViewSelector.js +16 -0
- package/lib/view/invoicing/approvalsView/approvalsViewState.d.ts +14 -0
- package/lib/view/invoicing/approvalsView/approvalsViewState.js +2 -0
- package/lib/view/invoicing/auditView/auditViewEpics.d.ts +7 -0
- package/lib/view/invoicing/auditView/auditViewEpics.js +48 -0
- package/lib/view/invoicing/auditView/auditViewPayload.d.ts +14 -0
- package/lib/view/invoicing/auditView/auditViewPayload.js +2 -0
- package/lib/view/invoicing/auditView/auditViewReducer.d.ts +22 -0
- package/lib/view/invoicing/auditView/auditViewReducer.js +60 -0
- package/lib/view/invoicing/auditView/auditViewSelector.d.ts +9 -0
- package/lib/view/invoicing/auditView/auditViewSelector.js +16 -0
- package/lib/view/invoicing/auditView/auditViewState.d.ts +17 -0
- package/lib/view/invoicing/auditView/auditViewState.js +2 -0
- package/lib/view/invoicing/catalogView/catalogViewEpics.d.ts +14 -0
- package/lib/view/invoicing/catalogView/catalogViewEpics.js +148 -0
- package/lib/view/invoicing/catalogView/catalogViewPayload.d.ts +10 -0
- package/lib/view/invoicing/catalogView/catalogViewPayload.js +2 -0
- package/lib/view/invoicing/catalogView/catalogViewReducer.d.ts +46 -0
- package/lib/view/invoicing/catalogView/catalogViewReducer.js +166 -0
- package/lib/view/invoicing/catalogView/catalogViewSelector.d.ts +24 -0
- package/lib/view/invoicing/catalogView/catalogViewSelector.js +52 -0
- package/lib/view/invoicing/catalogView/catalogViewState.d.ts +36 -0
- package/lib/view/invoicing/catalogView/catalogViewState.js +2 -0
- package/lib/view/invoicing/catalogWrite/catalogWriteEpic.d.ts +9 -0
- package/lib/view/invoicing/catalogWrite/catalogWriteEpic.js +39 -0
- package/lib/view/invoicing/catalogWrite/catalogWritePayload.d.ts +4 -0
- package/lib/view/invoicing/catalogWrite/catalogWritePayload.js +2 -0
- package/lib/view/invoicing/catalogWrite/catalogWriteReducer.d.ts +16 -0
- package/lib/view/invoicing/catalogWrite/catalogWriteReducer.js +43 -0
- package/lib/view/invoicing/catalogWrite/catalogWriteSelector.d.ts +6 -0
- package/lib/view/invoicing/catalogWrite/catalogWriteSelector.js +12 -0
- package/lib/view/invoicing/catalogWrite/catalogWriteState.d.ts +7 -0
- package/lib/view/invoicing/catalogWrite/catalogWriteState.js +2 -0
- package/lib/view/invoicing/couponView/couponViewEpics.d.ts +11 -0
- package/lib/view/invoicing/couponView/couponViewEpics.js +86 -0
- package/lib/view/invoicing/couponView/couponViewPayload.d.ts +7 -0
- package/lib/view/invoicing/couponView/couponViewPayload.js +2 -0
- package/lib/view/invoicing/couponView/couponViewReducer.d.ts +28 -0
- package/lib/view/invoicing/couponView/couponViewReducer.js +109 -0
- package/lib/view/invoicing/couponView/couponViewSelector.d.ts +15 -0
- package/lib/view/invoicing/couponView/couponViewSelector.js +31 -0
- package/lib/view/invoicing/couponView/couponViewState.d.ts +20 -0
- package/lib/view/invoicing/couponView/couponViewState.js +2 -0
- package/lib/view/invoicing/couponWrite/couponWriteEpic.d.ts +8 -0
- package/lib/view/invoicing/couponWrite/couponWriteEpic.js +32 -0
- package/lib/view/invoicing/couponWrite/couponWritePayload.d.ts +3 -0
- package/lib/view/invoicing/couponWrite/couponWritePayload.js +2 -0
- package/lib/view/invoicing/couponWrite/couponWriteReducer.d.ts +14 -0
- package/lib/view/invoicing/couponWrite/couponWriteReducer.js +40 -0
- package/lib/view/invoicing/couponWrite/couponWriteSelector.d.ts +4 -0
- package/lib/view/invoicing/couponWrite/couponWriteSelector.js +10 -0
- package/lib/view/invoicing/couponWrite/couponWriteState.d.ts +5 -0
- package/lib/view/invoicing/couponWrite/couponWriteState.js +2 -0
- package/lib/view/invoicing/createInvoice/createInvoiceEpic.d.ts +8 -0
- package/lib/view/invoicing/createInvoice/createInvoiceEpic.js +26 -0
- package/lib/view/invoicing/createInvoice/createInvoicePayload.d.ts +25 -0
- package/lib/view/invoicing/createInvoice/createInvoicePayload.js +2 -0
- package/lib/view/invoicing/createInvoice/createInvoiceReducer.d.ts +10 -0
- package/lib/view/invoicing/createInvoice/createInvoiceReducer.js +40 -0
- package/lib/view/invoicing/createInvoice/createInvoiceSelector.d.ts +4 -0
- package/lib/view/invoicing/createInvoice/createInvoiceSelector.js +10 -0
- package/lib/view/invoicing/createInvoice/createInvoiceState.d.ts +6 -0
- package/lib/view/invoicing/createInvoice/createInvoiceState.js +2 -0
- package/lib/view/invoicing/creditNoteView/creditNoteViewEpics.d.ts +11 -0
- package/lib/view/invoicing/creditNoteView/creditNoteViewEpics.js +92 -0
- package/lib/view/invoicing/creditNoteView/creditNoteViewPayload.d.ts +7 -0
- package/lib/view/invoicing/creditNoteView/creditNoteViewPayload.js +2 -0
- package/lib/view/invoicing/creditNoteView/creditNoteViewReducer.d.ts +28 -0
- package/lib/view/invoicing/creditNoteView/creditNoteViewReducer.js +109 -0
- package/lib/view/invoicing/creditNoteView/creditNoteViewSelector.d.ts +15 -0
- package/lib/view/invoicing/creditNoteView/creditNoteViewSelector.js +33 -0
- package/lib/view/invoicing/creditNoteView/creditNoteViewState.d.ts +21 -0
- package/lib/view/invoicing/creditNoteView/creditNoteViewState.js +2 -0
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodEpic.d.ts +11 -0
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodEpic.js +67 -0
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodPayload.d.ts +18 -0
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodPayload.js +2 -0
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodReducer.d.ts +21 -0
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodReducer.js +88 -0
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodSelector.d.ts +10 -0
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodSelector.js +17 -0
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodState.d.ts +23 -0
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodState.js +2 -0
- package/lib/view/invoicing/dataImportAction/dataImportActionEpic.d.ts +7 -0
- package/lib/view/invoicing/dataImportAction/dataImportActionEpic.js +45 -0
- package/lib/view/invoicing/dataImportAction/dataImportActionPayload.d.ts +3 -0
- package/lib/view/invoicing/dataImportAction/dataImportActionPayload.js +2 -0
- package/lib/view/invoicing/dataImportAction/dataImportActionReducer.d.ts +19 -0
- package/lib/view/invoicing/dataImportAction/dataImportActionReducer.js +77 -0
- package/lib/view/invoicing/dataImportAction/dataImportActionSelector.d.ts +4 -0
- package/lib/view/invoicing/dataImportAction/dataImportActionSelector.js +9 -0
- package/lib/view/invoicing/dataImportAction/dataImportActionState.d.ts +5 -0
- package/lib/view/invoicing/dataImportAction/dataImportActionState.js +2 -0
- package/lib/view/invoicing/dataImportView/dataImportViewEpics.d.ts +9 -0
- package/lib/view/invoicing/dataImportView/dataImportViewEpics.js +40 -0
- package/lib/view/invoicing/dataImportView/dataImportViewPayload.d.ts +50 -0
- package/lib/view/invoicing/dataImportView/dataImportViewPayload.js +2 -0
- package/lib/view/invoicing/dataImportView/dataImportViewReducer.d.ts +7 -0
- package/lib/view/invoicing/dataImportView/dataImportViewReducer.js +70 -0
- package/lib/view/invoicing/dataImportView/dataImportViewSelector.d.ts +9 -0
- package/lib/view/invoicing/dataImportView/dataImportViewSelector.js +17 -0
- package/lib/view/invoicing/dataImportView/dataImportViewState.d.ts +10 -0
- package/lib/view/invoicing/dataImportView/dataImportViewState.js +2 -0
- package/lib/view/invoicing/dunningAction/dunningActionEpic.d.ts +8 -0
- package/lib/view/invoicing/dunningAction/dunningActionEpic.js +31 -0
- package/lib/view/invoicing/dunningAction/dunningActionPayload.d.ts +3 -0
- package/lib/view/invoicing/dunningAction/dunningActionPayload.js +2 -0
- package/lib/view/invoicing/dunningAction/dunningActionReducer.d.ts +21 -0
- package/lib/view/invoicing/dunningAction/dunningActionReducer.js +40 -0
- package/lib/view/invoicing/dunningAction/dunningActionSelector.d.ts +3 -0
- package/lib/view/invoicing/dunningAction/dunningActionSelector.js +9 -0
- package/lib/view/invoicing/dunningAction/dunningActionState.d.ts +5 -0
- package/lib/view/invoicing/dunningAction/dunningActionState.js +2 -0
- package/lib/view/invoicing/dunningCaseView/dunningCaseViewEpics.d.ts +11 -0
- package/lib/view/invoicing/dunningCaseView/dunningCaseViewEpics.js +86 -0
- package/lib/view/invoicing/dunningCaseView/dunningCaseViewPayload.d.ts +7 -0
- package/lib/view/invoicing/dunningCaseView/dunningCaseViewPayload.js +2 -0
- package/lib/view/invoicing/dunningCaseView/dunningCaseViewReducer.d.ts +28 -0
- package/lib/view/invoicing/dunningCaseView/dunningCaseViewReducer.js +109 -0
- package/lib/view/invoicing/dunningCaseView/dunningCaseViewSelector.d.ts +15 -0
- package/lib/view/invoicing/dunningCaseView/dunningCaseViewSelector.js +33 -0
- package/lib/view/invoicing/dunningCaseView/dunningCaseViewState.d.ts +20 -0
- package/lib/view/invoicing/dunningCaseView/dunningCaseViewState.js +2 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewPayload.d.ts +3 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewPayload.js +2 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer.d.ts +14 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer.js +40 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector.d.ts +15 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector.js +23 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewState.d.ts +5 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewState.js +2 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/saveInvoicingCustomerEpic.d.ts +8 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/saveInvoicingCustomerEpic.js +26 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewPayload.d.ts +3 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewPayload.js +2 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer.d.ts +14 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer.js +40 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewSelector.d.ts +34 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewSelector.js +35 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewState.d.ts +5 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewState.js +2 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/saveInvoicingSubscriptionEpic.d.ts +8 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/saveInvoicingSubscriptionEpic.js +28 -0
- package/lib/view/invoicing/invoiceAction/invoiceActionEpic.d.ts +9 -0
- package/lib/view/invoicing/invoiceAction/invoiceActionEpic.js +54 -0
- package/lib/view/invoicing/invoiceAction/invoiceActionPayload.d.ts +3 -0
- package/lib/view/invoicing/invoiceAction/invoiceActionPayload.js +2 -0
- package/lib/view/invoicing/invoiceAction/invoiceActionReducer.d.ts +23 -0
- package/lib/view/invoicing/invoiceAction/invoiceActionReducer.js +46 -0
- package/lib/view/invoicing/invoiceAction/invoiceActionSelector.d.ts +3 -0
- package/lib/view/invoicing/invoiceAction/invoiceActionSelector.js +9 -0
- package/lib/view/invoicing/invoiceAction/invoiceActionState.d.ts +5 -0
- package/lib/view/invoicing/invoiceAction/invoiceActionState.js +2 -0
- package/lib/view/invoicing/invoiceDetail/fetchInvoiceDetailEpic.d.ts +8 -0
- package/lib/view/invoicing/invoiceDetail/fetchInvoiceDetailEpic.js +23 -0
- package/lib/view/invoicing/invoiceDetail/invoiceDetailPayload.d.ts +3 -0
- package/lib/view/invoicing/invoiceDetail/invoiceDetailPayload.js +2 -0
- package/lib/view/invoicing/invoiceDetail/invoiceDetailReducer.d.ts +11 -0
- package/lib/view/invoicing/invoiceDetail/invoiceDetailReducer.js +38 -0
- package/lib/view/invoicing/invoiceDetail/invoiceDetailSelector.d.ts +5 -0
- package/lib/view/invoicing/invoiceDetail/invoiceDetailSelector.js +14 -0
- package/lib/view/invoicing/invoiceDetail/invoiceDetailState.d.ts +4 -0
- package/lib/view/invoicing/invoiceDetail/invoiceDetailState.js +2 -0
- package/lib/view/invoicing/invoiceList/fetchInvoiceCountsEpic.d.ts +7 -0
- package/lib/view/invoicing/invoiceList/fetchInvoiceCountsEpic.js +36 -0
- package/lib/view/invoicing/invoiceList/fetchInvoiceKPIsEpic.d.ts +7 -0
- package/lib/view/invoicing/invoiceList/fetchInvoiceKPIsEpic.js +18 -0
- package/lib/view/invoicing/invoiceList/fetchInvoiceListEpic.d.ts +8 -0
- package/lib/view/invoicing/invoiceList/fetchInvoiceListEpic.js +57 -0
- package/lib/view/invoicing/invoiceList/invoiceListPayload.d.ts +6 -0
- package/lib/view/invoicing/invoiceList/invoiceListPayload.js +2 -0
- package/lib/view/invoicing/invoiceList/invoiceListReducer.d.ts +23 -0
- package/lib/view/invoicing/invoiceList/invoiceListReducer.js +94 -0
- package/lib/view/invoicing/invoiceList/invoiceListSelector.d.ts +12 -0
- package/lib/view/invoicing/invoiceList/invoiceListSelector.js +21 -0
- package/lib/view/invoicing/invoiceList/invoiceListState.d.ts +26 -0
- package/lib/view/invoicing/invoiceList/invoiceListState.js +2 -0
- package/lib/view/invoicing/invoicePdf/invoicePdfEpic.d.ts +7 -0
- package/lib/view/invoicing/invoicePdf/invoicePdfEpic.js +40 -0
- package/lib/view/invoicing/invoicePdf/invoicePdfReducer.d.ts +17 -0
- package/lib/view/invoicing/invoicePdf/invoicePdfReducer.js +37 -0
- package/lib/view/invoicing/invoicePdf/invoicePdfSelector.d.ts +3 -0
- package/lib/view/invoicing/invoicePdf/invoicePdfSelector.js +9 -0
- package/lib/view/invoicing/invoicePdf/invoicePdfState.d.ts +5 -0
- package/lib/view/invoicing/invoicePdf/invoicePdfState.js +2 -0
- package/lib/view/invoicing/invoicingApiHelper.d.ts +15 -0
- package/lib/view/invoicing/invoicingApiHelper.js +19 -0
- package/lib/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailEpic.d.ts +8 -0
- package/lib/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailEpic.js +26 -0
- package/lib/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailPageEpic.d.ts +18 -0
- package/lib/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailPageEpic.js +45 -0
- package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewPayload.d.ts +3 -0
- package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewPayload.js +2 -0
- package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewReducer.d.ts +22 -0
- package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewReducer.js +56 -0
- package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewSelector.d.ts +25 -0
- package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewSelector.js +32 -0
- package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewState.d.ts +7 -0
- package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewState.js +2 -0
- package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerCountsEpic.d.ts +7 -0
- package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerCountsEpic.js +24 -0
- package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListEpic.d.ts +8 -0
- package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListEpic.js +44 -0
- package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListPageEpic.d.ts +16 -0
- package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListPageEpic.js +31 -0
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewPayload.d.ts +5 -0
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewPayload.js +2 -0
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer.d.ts +31 -0
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer.js +93 -0
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewSelector.d.ts +12 -0
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewSelector.js +13 -0
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewState.d.ts +16 -0
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewState.js +2 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewChurnEpic.d.ts +7 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewChurnEpic.js +21 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewDashboardSummaryEpic.d.ts +7 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewDashboardSummaryEpic.js +21 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewEpic.d.ts +14 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewEpic.js +59 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewKPIsEpic.d.ts +7 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewKPIsEpic.js +21 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewMRREpic.d.ts +7 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewMRREpic.js +21 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewPlanRevenueEpic.d.ts +7 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewPlanRevenueEpic.js +21 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewRevenueEpic.d.ts +7 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewRevenueEpic.js +21 -0
- package/lib/view/invoicing/invoicingOverview/invoicingOverviewPayload.d.ts +98 -0
- package/lib/view/invoicing/invoicingOverview/invoicingOverviewPayload.js +96 -0
- package/lib/view/invoicing/invoicingOverview/invoicingOverviewReducer.d.ts +10 -0
- package/lib/view/invoicing/invoicingOverview/invoicingOverviewReducer.js +119 -0
- package/lib/view/invoicing/invoicingOverview/invoicingOverviewSelector.d.ts +32 -0
- package/lib/view/invoicing/invoicingOverview/invoicingOverviewSelector.js +67 -0
- package/lib/view/invoicing/invoicingOverview/invoicingOverviewState.d.ts +110 -0
- package/lib/view/invoicing/invoicingOverview/invoicingOverviewState.js +2 -0
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewEpics.d.ts +8 -0
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewEpics.js +23 -0
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewPayload.d.ts +3 -0
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewPayload.js +2 -0
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewReducer.d.ts +11 -0
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewReducer.js +35 -0
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewSelector.d.ts +15 -0
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewSelector.js +18 -0
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewState.d.ts +4 -0
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewState.js +2 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionCountsEpic.d.ts +7 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionCountsEpic.js +27 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListEpic.d.ts +8 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListEpic.js +53 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListPageEpic.d.ts +16 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListPageEpic.js +31 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewPayload.d.ts +5 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewPayload.js +2 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer.d.ts +31 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer.js +93 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewSelector.d.ts +12 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewSelector.js +13 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewState.d.ts +19 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewState.js +2 -0
- package/lib/view/invoicing/paymentAction/paymentActionEpic.d.ts +8 -0
- package/lib/view/invoicing/paymentAction/paymentActionEpic.js +31 -0
- package/lib/view/invoicing/paymentAction/paymentActionPayload.d.ts +3 -0
- package/lib/view/invoicing/paymentAction/paymentActionPayload.js +2 -0
- package/lib/view/invoicing/paymentAction/paymentActionReducer.d.ts +18 -0
- package/lib/view/invoicing/paymentAction/paymentActionReducer.js +40 -0
- package/lib/view/invoicing/paymentAction/paymentActionSelector.d.ts +3 -0
- package/lib/view/invoicing/paymentAction/paymentActionSelector.js +9 -0
- package/lib/view/invoicing/paymentAction/paymentActionState.d.ts +5 -0
- package/lib/view/invoicing/paymentAction/paymentActionState.js +2 -0
- package/lib/view/invoicing/recordPayment/recordPaymentEpic.d.ts +8 -0
- package/lib/view/invoicing/recordPayment/recordPaymentEpic.js +26 -0
- package/lib/view/invoicing/recordPayment/recordPaymentPayload.d.ts +23 -0
- package/lib/view/invoicing/recordPayment/recordPaymentPayload.js +2 -0
- package/lib/view/invoicing/recordPayment/recordPaymentReducer.d.ts +10 -0
- package/lib/view/invoicing/recordPayment/recordPaymentReducer.js +40 -0
- package/lib/view/invoicing/recordPayment/recordPaymentSelector.d.ts +4 -0
- package/lib/view/invoicing/recordPayment/recordPaymentSelector.js +10 -0
- package/lib/view/invoicing/recordPayment/recordPaymentState.d.ts +6 -0
- package/lib/view/invoicing/recordPayment/recordPaymentState.js +2 -0
- package/lib/view/invoicing/reportsView/reportsViewEpics.d.ts +7 -0
- package/lib/view/invoicing/reportsView/reportsViewEpics.js +31 -0
- package/lib/view/invoicing/reportsView/reportsViewPayload.d.ts +58 -0
- package/lib/view/invoicing/reportsView/reportsViewPayload.js +2 -0
- package/lib/view/invoicing/reportsView/reportsViewReducer.d.ts +13 -0
- package/lib/view/invoicing/reportsView/reportsViewReducer.js +58 -0
- package/lib/view/invoicing/reportsView/reportsViewSelector.d.ts +12 -0
- package/lib/view/invoicing/reportsView/reportsViewSelector.js +24 -0
- package/lib/view/invoicing/reportsView/reportsViewState.d.ts +8 -0
- package/lib/view/invoicing/reportsView/reportsViewState.js +2 -0
- package/lib/view/invoicing/settingsView/settingsViewEpics.d.ts +10 -0
- package/lib/view/invoicing/settingsView/settingsViewEpics.js +59 -0
- package/lib/view/invoicing/settingsView/settingsViewPayload.d.ts +8 -0
- package/lib/view/invoicing/settingsView/settingsViewPayload.js +2 -0
- package/lib/view/invoicing/settingsView/settingsViewReducer.d.ts +7 -0
- package/lib/view/invoicing/settingsView/settingsViewReducer.js +73 -0
- package/lib/view/invoicing/settingsView/settingsViewSelector.d.ts +7 -0
- package/lib/view/invoicing/settingsView/settingsViewSelector.js +14 -0
- package/lib/view/invoicing/settingsView/settingsViewState.d.ts +7 -0
- package/lib/view/invoicing/settingsView/settingsViewState.js +2 -0
- package/lib/view/invoicing/subscriptionAction/subscriptionActionEpic.d.ts +8 -0
- package/lib/view/invoicing/subscriptionAction/subscriptionActionEpic.js +31 -0
- package/lib/view/invoicing/subscriptionAction/subscriptionActionPayload.d.ts +3 -0
- package/lib/view/invoicing/subscriptionAction/subscriptionActionPayload.js +2 -0
- package/lib/view/invoicing/subscriptionAction/subscriptionActionReducer.d.ts +18 -0
- package/lib/view/invoicing/subscriptionAction/subscriptionActionReducer.js +40 -0
- package/lib/view/invoicing/subscriptionAction/subscriptionActionSelector.d.ts +3 -0
- package/lib/view/invoicing/subscriptionAction/subscriptionActionSelector.js +9 -0
- package/lib/view/invoicing/subscriptionAction/subscriptionActionState.d.ts +5 -0
- package/lib/view/invoicing/subscriptionAction/subscriptionActionState.js +2 -0
- package/lib/view/invoicing/transactionView/transactionViewEpics.d.ts +10 -0
- package/lib/view/invoicing/transactionView/transactionViewEpics.js +76 -0
- package/lib/view/invoicing/transactionView/transactionViewPayload.d.ts +6 -0
- package/lib/view/invoicing/transactionView/transactionViewPayload.js +2 -0
- package/lib/view/invoicing/transactionView/transactionViewReducer.d.ts +27 -0
- package/lib/view/invoicing/transactionView/transactionViewReducer.js +94 -0
- package/lib/view/invoicing/transactionView/transactionViewSelector.d.ts +13 -0
- package/lib/view/invoicing/transactionView/transactionViewSelector.js +31 -0
- package/lib/view/invoicing/transactionView/transactionViewState.d.ts +20 -0
- package/lib/view/invoicing/transactionView/transactionViewState.js +2 -0
- package/lib/view/onboardingView/cockpitView/epic/initializeOnboardingCustomerViewUpdateDataEpic.js +1 -5
- package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewLocalStoreDataEpic.js +5 -4
- package/lib/view/scheduleView/scheduleAccruedDetailView/epics/deleteScheduleAccruedDetailEpic.js +1 -1
- package/lib/view/scheduleView/scheduleAccruedDetailView/epics/fetchRecommendedTransactionRowIndexEpic.js +5 -11
- package/lib/view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailPayload.js +1 -4
- package/lib/view/scheduleView/scheduleDetailView/epics/createNewSchedulesEpic.js +1 -1
- package/lib/view/scheduleView/scheduleDetailView/epics/deleteScheduleDetailEpic.js +1 -1
- package/lib/view/scheduleView/scheduleDetailView/epics/markAsCompleteScheduleDetailEpic.js +1 -1
- package/lib/view/scheduleView/scheduleDetailView/epics/saveScheduleDetailsEpic.js +1 -1
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.js +3 -12
- package/lib/view/scheduleView/scheduleListView/scheduleListSelector.js +7 -8
- package/lib/view/spendManagement/billPay/billDetailView/epics/fetchBillDetailEpic.js +3 -8
- package/lib/view/spendManagement/billPay/billList/billListReducer.d.ts +1 -1
- package/lib/view/spendManagement/billPay/billList/billListState.d.ts +1 -1
- package/lib/view/spendManagement/commonSetup/setupViewReducer.js +2 -1
- package/lib/view/spendManagement/reimbursement/remiListView/remiListReducer.d.ts +1 -1
- package/lib/view/spendManagement/reimbursement/remiListView/remiListState.d.ts +3 -3
- package/lib/view/transactionDetail/epics/saveTransactionDetailEpic.js +1 -1
- package/lib/view/transactionDetail/epics/transactionDetailEpic.js +8 -9
- package/lib/view/transactionDetail/epics/updateTransactionDetailEpic.js +2 -6
- package/lib/view/trendWithTransactions/fetchTrendForEntityEpic.js +1 -3
- package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListReducer.js +1 -4
- package/lib/view/vendorList/vendorListReducer.js +1 -4
- package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewReducer.js +1 -9
- package/lib/zeniAPI.d.ts +1 -0
- package/package.json +1 -1
- package/lib/commonPayloadTypes/payloadIdentifier.d.ts +0 -6
- package/lib/commonPayloadTypes/payloadIdentifier.js +0 -18
- package/lib/esm/commonPayloadTypes/payloadIdentifier.js +0 -14
package/lib/reducer.d.ts
CHANGED
|
@@ -32,6 +32,15 @@ import { ForecastState } from './entity/forecast/forecastState';
|
|
|
32
32
|
import { EntityState } from './entity/genericEntity/entityState';
|
|
33
33
|
import { GlobalMerchantState } from './entity/globalMerchant/globalMerchantState';
|
|
34
34
|
import { InsightState } from './entity/insights/insightState';
|
|
35
|
+
import { InvoicingCouponState } from './entity/invoicing/coupon/couponState';
|
|
36
|
+
import { InvoicingCreditNoteState } from './entity/invoicing/creditNote/creditNoteState';
|
|
37
|
+
import { InvoicingCustomerState } from './entity/invoicing/invoicingCustomer/invoicingCustomerState';
|
|
38
|
+
import { InvoicingDunningCaseState } from './entity/invoicing/dunningCase/dunningCaseState';
|
|
39
|
+
import { InvoiceState as InvoicingInvoiceState } from './entity/invoicing/invoice/invoiceState';
|
|
40
|
+
import { InvoicingPlanState } from './entity/invoicing/plan/planState';
|
|
41
|
+
import { InvoicingProductState } from './entity/invoicing/product/productState';
|
|
42
|
+
import { InvoicingSubscriptionState } from './entity/invoicing/invoicingSubscription/invoicingSubscriptionState';
|
|
43
|
+
import { InvoicingTransactionState } from './entity/invoicing/transaction/transactionState';
|
|
35
44
|
import { JESchedulesState } from './entity/jeSchedules/jeSchedulesState';
|
|
36
45
|
import { MerchantState } from './entity/merchant/merchant';
|
|
37
46
|
import { MonthEndCloseChecksState } from './entity/monthEndCloseChecks/monthEndCloseChecksState';
|
|
@@ -115,6 +124,37 @@ import { ForecastListState } from './view/forecastList/forecastListState';
|
|
|
115
124
|
import { GlobalMerchantAutoCompleteState } from './view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewState';
|
|
116
125
|
import { GlobalMerchantViewState } from './view/globalMerchantView/globalMerchantViewState';
|
|
117
126
|
import { InsightsCardState } from './view/insightsCard/insightsCardState';
|
|
127
|
+
import { InvoicingOverviewState } from './view/invoicing/invoicingOverview/invoicingOverviewState';
|
|
128
|
+
import { InvoicingApprovalActionState } from './view/invoicing/approvalAction/approvalActionState';
|
|
129
|
+
import { InvoicingApprovalsViewState } from './view/invoicing/approvalsView/approvalsViewState';
|
|
130
|
+
import { InvoicingAuditViewState } from './view/invoicing/auditView/auditViewState';
|
|
131
|
+
import { InvoicingCatalogViewState } from './view/invoicing/catalogView/catalogViewState';
|
|
132
|
+
import { InvoicingCatalogWriteState } from './view/invoicing/catalogWrite/catalogWriteState';
|
|
133
|
+
import { InvoicingCouponViewState } from './view/invoicing/couponView/couponViewState';
|
|
134
|
+
import { InvoicingCouponWriteState } from './view/invoicing/couponWrite/couponWriteState';
|
|
135
|
+
import { CreateInvoiceState as InvoicingCreateInvoiceState } from './view/invoicing/createInvoice/createInvoiceState';
|
|
136
|
+
import { InvoicingCreditNoteViewState } from './view/invoicing/creditNoteView/creditNoteViewState';
|
|
137
|
+
import { InvoicingCustomerPaymentMethodState } from './view/invoicing/customerPaymentMethod/customerPaymentMethodState';
|
|
138
|
+
import { InvoicingCustomerDetailViewState } from './view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewState';
|
|
139
|
+
import { InvoicingCustomerListViewState } from './view/invoicing/invoicingCustomerListView/invoicingCustomerListViewState';
|
|
140
|
+
import { EditInvoicingCustomerDetailViewState } from './view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewState';
|
|
141
|
+
import { InvoicingDataImportActionState } from './view/invoicing/dataImportAction/dataImportActionState';
|
|
142
|
+
import { InvoicingDataImportViewState } from './view/invoicing/dataImportView/dataImportViewState';
|
|
143
|
+
import { InvoicingDunningActionState } from './view/invoicing/dunningAction/dunningActionState';
|
|
144
|
+
import { InvoicingDunningCaseViewState } from './view/invoicing/dunningCaseView/dunningCaseViewState';
|
|
145
|
+
import { InvoicingInvoiceActionState } from './view/invoicing/invoiceAction/invoiceActionState';
|
|
146
|
+
import { InvoiceDetailState as InvoicingInvoiceDetailState } from './view/invoicing/invoiceDetail/invoiceDetailState';
|
|
147
|
+
import { InvoiceListState as InvoicingInvoiceListState } from './view/invoicing/invoiceList/invoiceListState';
|
|
148
|
+
import { InvoicingInvoicePdfState } from './view/invoicing/invoicePdf/invoicePdfState';
|
|
149
|
+
import { InvoicingPaymentActionState } from './view/invoicing/paymentAction/paymentActionState';
|
|
150
|
+
import { RecordPaymentState as InvoicingRecordPaymentState } from './view/invoicing/recordPayment/recordPaymentState';
|
|
151
|
+
import { InvoicingReportsViewState } from './view/invoicing/reportsView/reportsViewState';
|
|
152
|
+
import { InvoicingSettingsViewState } from './view/invoicing/settingsView/settingsViewState';
|
|
153
|
+
import { InvoicingSubscriptionActionState } from './view/invoicing/subscriptionAction/subscriptionActionState';
|
|
154
|
+
import { InvoicingSubscriptionDetailViewState } from './view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewState';
|
|
155
|
+
import { InvoicingSubscriptionListViewState } from './view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewState';
|
|
156
|
+
import { EditInvoicingSubscriptionDetailViewState } from './view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewState';
|
|
157
|
+
import { InvoicingTransactionViewState } from './view/invoicing/transactionView/transactionViewState';
|
|
118
158
|
import { MonthEndCloseChecksViewState } from './view/monthEndCloseChecksView/monthEndCloseChecksViewState';
|
|
119
159
|
import { NetBurnOrIncomeWithForecastState } from './view/netBurnOrIncome/netBurnOrIncomeState';
|
|
120
160
|
import { NetBurnOrIncomeClassesViewState } from './view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewState';
|
|
@@ -262,6 +302,15 @@ type EntitiesState = {
|
|
|
262
302
|
forecastState: ForecastState;
|
|
263
303
|
globalMerchantState: GlobalMerchantState;
|
|
264
304
|
insightState: InsightState;
|
|
305
|
+
invoicingCouponState: InvoicingCouponState;
|
|
306
|
+
invoicingCreditNoteState: InvoicingCreditNoteState;
|
|
307
|
+
invoicingCustomerState: InvoicingCustomerState;
|
|
308
|
+
invoicingDunningCaseState: InvoicingDunningCaseState;
|
|
309
|
+
invoicingInvoiceState: InvoicingInvoiceState;
|
|
310
|
+
invoicingPlanState: InvoicingPlanState;
|
|
311
|
+
invoicingProductState: InvoicingProductState;
|
|
312
|
+
invoicingSubscriptionState: InvoicingSubscriptionState;
|
|
313
|
+
invoicingTransactionState: InvoicingTransactionState;
|
|
265
314
|
jeSchedulesState: JESchedulesState;
|
|
266
315
|
merchantState: MerchantState;
|
|
267
316
|
monthEndCloseChecksState: MonthEndCloseChecksState;
|
|
@@ -362,6 +411,8 @@ type ViewsState = {
|
|
|
362
411
|
depositAccountListState: DepositAccountListState;
|
|
363
412
|
depositAccountTransactionListState: DepositAccountTransactionListState;
|
|
364
413
|
editBillDetailViewState: EditBillDetailViewState;
|
|
414
|
+
editInvoicingCustomerDetailViewState: EditInvoicingCustomerDetailViewState;
|
|
415
|
+
editInvoicingSubscriptionDetailViewState: EditInvoicingSubscriptionDetailViewState;
|
|
365
416
|
editRemiDetailViewState: EditRemiDetailViewState;
|
|
366
417
|
entityAutoCompleteState: EntityAutoCompleteState;
|
|
367
418
|
entityRecommendationState: EntityRecommendationState;
|
|
@@ -381,6 +432,35 @@ type ViewsState = {
|
|
|
381
432
|
insightsCardState: InsightsCardState;
|
|
382
433
|
internationalWireState: InternationalWireState;
|
|
383
434
|
internationalWireVerificationState: InternationalWireVerificationState;
|
|
435
|
+
invoicingApprovalActionState: InvoicingApprovalActionState;
|
|
436
|
+
invoicingApprovalsViewState: InvoicingApprovalsViewState;
|
|
437
|
+
invoicingAuditViewState: InvoicingAuditViewState;
|
|
438
|
+
invoicingCatalogViewState: InvoicingCatalogViewState;
|
|
439
|
+
invoicingCatalogWriteState: InvoicingCatalogWriteState;
|
|
440
|
+
invoicingCouponViewState: InvoicingCouponViewState;
|
|
441
|
+
invoicingCouponWriteState: InvoicingCouponWriteState;
|
|
442
|
+
invoicingCreateInvoiceState: InvoicingCreateInvoiceState;
|
|
443
|
+
invoicingCreditNoteViewState: InvoicingCreditNoteViewState;
|
|
444
|
+
invoicingCustomerDetailViewState: InvoicingCustomerDetailViewState;
|
|
445
|
+
invoicingCustomerListViewState: InvoicingCustomerListViewState;
|
|
446
|
+
invoicingCustomerPaymentMethodState: InvoicingCustomerPaymentMethodState;
|
|
447
|
+
invoicingDataImportActionState: InvoicingDataImportActionState;
|
|
448
|
+
invoicingDataImportViewState: InvoicingDataImportViewState;
|
|
449
|
+
invoicingDunningActionState: InvoicingDunningActionState;
|
|
450
|
+
invoicingDunningCaseViewState: InvoicingDunningCaseViewState;
|
|
451
|
+
invoicingInvoiceActionState: InvoicingInvoiceActionState;
|
|
452
|
+
invoicingInvoiceDetailState: InvoicingInvoiceDetailState;
|
|
453
|
+
invoicingInvoiceListState: InvoicingInvoiceListState;
|
|
454
|
+
invoicingInvoicePdfState: InvoicingInvoicePdfState;
|
|
455
|
+
invoicingOverviewState: InvoicingOverviewState;
|
|
456
|
+
invoicingPaymentActionState: InvoicingPaymentActionState;
|
|
457
|
+
invoicingRecordPaymentState: InvoicingRecordPaymentState;
|
|
458
|
+
invoicingReportsViewState: InvoicingReportsViewState;
|
|
459
|
+
invoicingSettingsViewState: InvoicingSettingsViewState;
|
|
460
|
+
invoicingSubscriptionActionState: InvoicingSubscriptionActionState;
|
|
461
|
+
invoicingSubscriptionDetailViewState: InvoicingSubscriptionDetailViewState;
|
|
462
|
+
invoicingSubscriptionListViewState: InvoicingSubscriptionListViewState;
|
|
463
|
+
invoicingTransactionViewState: InvoicingTransactionViewState;
|
|
384
464
|
issueChargeCardState: IssueChargeCardState;
|
|
385
465
|
magicLinkViewState: MagicLinkViewState;
|
|
386
466
|
merchantListState: MerchantListState;
|
|
@@ -545,6 +625,37 @@ declare const reducers: import("redux").Reducer<import("redux").CombinedState<{
|
|
|
545
625
|
globalMerchantAutoCompleteState: GlobalMerchantAutoCompleteState;
|
|
546
626
|
globalMerchantViewState: GlobalMerchantViewState;
|
|
547
627
|
insightsCardState: InsightsCardState;
|
|
628
|
+
invoicingOverviewState: InvoicingOverviewState;
|
|
629
|
+
invoicingApprovalActionState: InvoicingApprovalActionState;
|
|
630
|
+
invoicingApprovalsViewState: InvoicingApprovalsViewState;
|
|
631
|
+
invoicingAuditViewState: InvoicingAuditViewState;
|
|
632
|
+
invoicingCatalogViewState: InvoicingCatalogViewState;
|
|
633
|
+
invoicingCatalogWriteState: InvoicingCatalogWriteState;
|
|
634
|
+
invoicingCouponWriteState: InvoicingCouponWriteState;
|
|
635
|
+
invoicingCouponViewState: InvoicingCouponViewState;
|
|
636
|
+
invoicingCreditNoteViewState: InvoicingCreditNoteViewState;
|
|
637
|
+
invoicingCreateInvoiceState: InvoicingCreateInvoiceState;
|
|
638
|
+
invoicingRecordPaymentState: InvoicingRecordPaymentState;
|
|
639
|
+
invoicingCustomerDetailViewState: InvoicingCustomerDetailViewState;
|
|
640
|
+
invoicingCustomerListViewState: InvoicingCustomerListViewState;
|
|
641
|
+
invoicingCustomerPaymentMethodState: InvoicingCustomerPaymentMethodState;
|
|
642
|
+
editInvoicingCustomerDetailViewState: EditInvoicingCustomerDetailViewState;
|
|
643
|
+
invoicingDataImportActionState: InvoicingDataImportActionState;
|
|
644
|
+
invoicingDataImportViewState: InvoicingDataImportViewState;
|
|
645
|
+
invoicingDunningActionState: import("./view/invoicing/dunningAction/dunningActionReducer").InvoicingDunningActionState;
|
|
646
|
+
invoicingDunningCaseViewState: InvoicingDunningCaseViewState;
|
|
647
|
+
invoicingInvoiceActionState: InvoicingInvoiceActionState;
|
|
648
|
+
invoicingInvoiceDetailState: InvoicingInvoiceDetailState;
|
|
649
|
+
invoicingInvoiceListState: InvoicingInvoiceListState;
|
|
650
|
+
invoicingInvoicePdfState: InvoicingInvoicePdfState;
|
|
651
|
+
invoicingPaymentActionState: InvoicingPaymentActionState;
|
|
652
|
+
invoicingReportsViewState: InvoicingReportsViewState;
|
|
653
|
+
invoicingSettingsViewState: InvoicingSettingsViewState;
|
|
654
|
+
invoicingSubscriptionActionState: InvoicingSubscriptionActionState;
|
|
655
|
+
invoicingSubscriptionDetailViewState: InvoicingSubscriptionDetailViewState;
|
|
656
|
+
invoicingSubscriptionListViewState: InvoicingSubscriptionListViewState;
|
|
657
|
+
editInvoicingSubscriptionDetailViewState: EditInvoicingSubscriptionDetailViewState;
|
|
658
|
+
invoicingTransactionViewState: InvoicingTransactionViewState;
|
|
548
659
|
internationalWireState: InternationalWireState;
|
|
549
660
|
issueChargeCardState: IssueChargeCardState;
|
|
550
661
|
internationalWireVerificationState: InternationalWireVerificationState;
|
|
@@ -666,6 +777,15 @@ declare const reducers: import("redux").Reducer<import("redux").CombinedState<{
|
|
|
666
777
|
forecastState: ForecastState;
|
|
667
778
|
globalMerchantState: GlobalMerchantState;
|
|
668
779
|
insightState: InsightState;
|
|
780
|
+
invoicingCouponState: InvoicingCouponState;
|
|
781
|
+
invoicingCreditNoteState: InvoicingCreditNoteState;
|
|
782
|
+
invoicingCustomerState: InvoicingCustomerState;
|
|
783
|
+
invoicingDunningCaseState: InvoicingDunningCaseState;
|
|
784
|
+
invoicingInvoiceState: InvoicingInvoiceState;
|
|
785
|
+
invoicingPlanState: InvoicingPlanState;
|
|
786
|
+
invoicingProductState: InvoicingProductState;
|
|
787
|
+
invoicingSubscriptionState: InvoicingSubscriptionState;
|
|
788
|
+
invoicingTransactionState: InvoicingTransactionState;
|
|
669
789
|
jeSchedulesState: JESchedulesState;
|
|
670
790
|
merchantState: MerchantState;
|
|
671
791
|
monthEndCloseChecksState: MonthEndCloseChecksState;
|
package/lib/reducer.js
CHANGED
|
@@ -72,6 +72,15 @@ const forecastReducer_1 = __importStar(require("./entity/forecast/forecastReduce
|
|
|
72
72
|
const entityReducer_1 = __importStar(require("./entity/genericEntity/entityReducer"));
|
|
73
73
|
const globalMerchantReducer_1 = __importStar(require("./entity/globalMerchant/globalMerchantReducer"));
|
|
74
74
|
const insightReducer_1 = __importStar(require("./entity/insights/insightReducer"));
|
|
75
|
+
const couponReducer_1 = __importStar(require("./entity/invoicing/coupon/couponReducer"));
|
|
76
|
+
const creditNoteReducer_1 = __importStar(require("./entity/invoicing/creditNote/creditNoteReducer"));
|
|
77
|
+
const invoicingCustomerReducer_1 = __importStar(require("./entity/invoicing/invoicingCustomer/invoicingCustomerReducer"));
|
|
78
|
+
const dunningCaseReducer_1 = __importStar(require("./entity/invoicing/dunningCase/dunningCaseReducer"));
|
|
79
|
+
const invoiceReducer_1 = __importStar(require("./entity/invoicing/invoice/invoiceReducer"));
|
|
80
|
+
const planReducer_1 = __importStar(require("./entity/invoicing/plan/planReducer"));
|
|
81
|
+
const productReducer_1 = __importStar(require("./entity/invoicing/product/productReducer"));
|
|
82
|
+
const invoicingSubscriptionReducer_1 = __importStar(require("./entity/invoicing/invoicingSubscription/invoicingSubscriptionReducer"));
|
|
83
|
+
const transactionReducer_1 = __importStar(require("./entity/invoicing/transaction/transactionReducer"));
|
|
75
84
|
const jeSchedulesReducer_1 = __importStar(require("./entity/jeSchedules/jeSchedulesReducer"));
|
|
76
85
|
const merchantReducer_1 = __importStar(require("./entity/merchant/merchantReducer"));
|
|
77
86
|
const monthEndCloseChecksReducer_1 = __importStar(require("./entity/monthEndCloseChecks/monthEndCloseChecksReducer"));
|
|
@@ -99,7 +108,7 @@ const taskGroupTemplateReducer_1 = __importStar(require("./entity/taskGroupTempl
|
|
|
99
108
|
const taskSummaryReducer_1 = __importStar(require("./entity/taskSummary/taskSummaryReducer"));
|
|
100
109
|
const tenantReducer_1 = __importStar(require("./entity/tenant/tenantReducer"));
|
|
101
110
|
const toastNotificationReducer_1 = __importStar(require("./entity/toastNotification/toastNotificationReducer"));
|
|
102
|
-
const
|
|
111
|
+
const transactionReducer_2 = __importStar(require("./entity/transaction/transactionReducer"));
|
|
103
112
|
const transactionActivityLogReducer_1 = __importStar(require("./entity/transactionActivityLog/transactionActivityLogReducer"));
|
|
104
113
|
const userReducer_1 = __importStar(require("./entity/user/userReducer"));
|
|
105
114
|
const userGroupsReducer_1 = __importStar(require("./entity/userGroups/userGroupsReducer"));
|
|
@@ -156,6 +165,37 @@ const forecastListReducer_1 = __importStar(require("./view/forecastList/forecast
|
|
|
156
165
|
const globalMerchantAutoCompleteViewReducer_1 = __importStar(require("./view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewReducer"));
|
|
157
166
|
const globalMerchantViewReducer_1 = __importStar(require("./view/globalMerchantView/globalMerchantViewReducer"));
|
|
158
167
|
const insightsCardReducer_1 = __importStar(require("./view/insightsCard/insightsCardReducer"));
|
|
168
|
+
const invoicingOverviewReducer_1 = __importStar(require("./view/invoicing/invoicingOverview/invoicingOverviewReducer"));
|
|
169
|
+
const approvalActionReducer_1 = __importStar(require("./view/invoicing/approvalAction/approvalActionReducer"));
|
|
170
|
+
const approvalsViewReducer_1 = __importStar(require("./view/invoicing/approvalsView/approvalsViewReducer"));
|
|
171
|
+
const auditViewReducer_1 = __importStar(require("./view/invoicing/auditView/auditViewReducer"));
|
|
172
|
+
const catalogViewReducer_1 = __importStar(require("./view/invoicing/catalogView/catalogViewReducer"));
|
|
173
|
+
const catalogWriteReducer_1 = __importStar(require("./view/invoicing/catalogWrite/catalogWriteReducer"));
|
|
174
|
+
const couponViewReducer_1 = __importStar(require("./view/invoicing/couponView/couponViewReducer"));
|
|
175
|
+
const couponWriteReducer_1 = __importStar(require("./view/invoicing/couponWrite/couponWriteReducer"));
|
|
176
|
+
const createInvoiceReducer_1 = __importStar(require("./view/invoicing/createInvoice/createInvoiceReducer"));
|
|
177
|
+
const creditNoteViewReducer_1 = __importStar(require("./view/invoicing/creditNoteView/creditNoteViewReducer"));
|
|
178
|
+
const customerPaymentMethodReducer_1 = __importStar(require("./view/invoicing/customerPaymentMethod/customerPaymentMethodReducer"));
|
|
179
|
+
const invoicingCustomerDetailViewReducer_1 = __importStar(require("./view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewReducer"));
|
|
180
|
+
const invoicingCustomerListViewReducer_1 = __importStar(require("./view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer"));
|
|
181
|
+
const editInvoicingCustomerDetailViewReducer_1 = __importStar(require("./view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer"));
|
|
182
|
+
const dataImportActionReducer_1 = __importStar(require("./view/invoicing/dataImportAction/dataImportActionReducer"));
|
|
183
|
+
const dataImportViewReducer_1 = __importStar(require("./view/invoicing/dataImportView/dataImportViewReducer"));
|
|
184
|
+
const dunningActionReducer_1 = __importStar(require("./view/invoicing/dunningAction/dunningActionReducer"));
|
|
185
|
+
const dunningCaseViewReducer_1 = __importStar(require("./view/invoicing/dunningCaseView/dunningCaseViewReducer"));
|
|
186
|
+
const invoiceActionReducer_1 = __importStar(require("./view/invoicing/invoiceAction/invoiceActionReducer"));
|
|
187
|
+
const invoiceDetailReducer_1 = __importStar(require("./view/invoicing/invoiceDetail/invoiceDetailReducer"));
|
|
188
|
+
const invoiceListReducer_1 = __importStar(require("./view/invoicing/invoiceList/invoiceListReducer"));
|
|
189
|
+
const invoicePdfReducer_1 = __importStar(require("./view/invoicing/invoicePdf/invoicePdfReducer"));
|
|
190
|
+
const paymentActionReducer_1 = __importStar(require("./view/invoicing/paymentAction/paymentActionReducer"));
|
|
191
|
+
const recordPaymentReducer_1 = __importStar(require("./view/invoicing/recordPayment/recordPaymentReducer"));
|
|
192
|
+
const reportsViewReducer_1 = __importStar(require("./view/invoicing/reportsView/reportsViewReducer"));
|
|
193
|
+
const settingsViewReducer_1 = __importStar(require("./view/invoicing/settingsView/settingsViewReducer"));
|
|
194
|
+
const subscriptionActionReducer_1 = __importStar(require("./view/invoicing/subscriptionAction/subscriptionActionReducer"));
|
|
195
|
+
const invoicingSubscriptionDetailViewReducer_1 = __importStar(require("./view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewReducer"));
|
|
196
|
+
const invoicingSubscriptionListViewReducer_1 = __importStar(require("./view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer"));
|
|
197
|
+
const editInvoicingSubscriptionDetailViewReducer_1 = __importStar(require("./view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer"));
|
|
198
|
+
const transactionViewReducer_1 = __importStar(require("./view/invoicing/transactionView/transactionViewReducer"));
|
|
159
199
|
const monthEndCloseChecksViewReducer_1 = __importStar(require("./view/monthEndCloseChecksView/monthEndCloseChecksViewReducer"));
|
|
160
200
|
const netBurnOrIncomeReducer_1 = __importStar(require("./view/netBurnOrIncome/netBurnOrIncomeReducer"));
|
|
161
201
|
const netBurnOrIncomeClassesViewReducer_1 = __importStar(require("./view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewReducer"));
|
|
@@ -183,7 +223,7 @@ const reviewCompanyViewReducer_1 = __importStar(require("./view/reviewCompanyVie
|
|
|
183
223
|
const scheduleAccruedDetailReducer_1 = __importStar(require("./view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailReducer"));
|
|
184
224
|
const scheduleDetailReducer_1 = __importStar(require("./view/scheduleView/scheduleDetailView/scheduleDetailReducer"));
|
|
185
225
|
const scheduleListReducer_1 = __importStar(require("./view/scheduleView/scheduleListView/scheduleListReducer"));
|
|
186
|
-
const
|
|
226
|
+
const settingsViewReducer_2 = __importStar(require("./view/settingsView/settingsViewReducer"));
|
|
187
227
|
const autoTransferRulesReducer_1 = __importStar(require("./view/spendManagement/autotransferRules/autoTransferRulesReducer"));
|
|
188
228
|
const billDetailViewReducer_1 = __importStar(require("./view/spendManagement/billPay/billDetailView/billDetailViewReducer"));
|
|
189
229
|
const billListReducer_1 = __importStar(require("./view/spendManagement/billPay/billList/billListReducer"));
|
|
@@ -305,6 +345,15 @@ const initialEntitiesState = {
|
|
|
305
345
|
forecastState: forecastReducer_1.initialState,
|
|
306
346
|
globalMerchantState: globalMerchantReducer_1.initialState,
|
|
307
347
|
insightState: insightReducer_1.initialState,
|
|
348
|
+
invoicingCouponState: couponReducer_1.initialState,
|
|
349
|
+
invoicingCreditNoteState: creditNoteReducer_1.initialState,
|
|
350
|
+
invoicingCustomerState: invoicingCustomerReducer_1.initialState,
|
|
351
|
+
invoicingDunningCaseState: dunningCaseReducer_1.initialState,
|
|
352
|
+
invoicingInvoiceState: invoiceReducer_1.initialState,
|
|
353
|
+
invoicingPlanState: planReducer_1.initialState,
|
|
354
|
+
invoicingProductState: productReducer_1.initialState,
|
|
355
|
+
invoicingSubscriptionState: invoicingSubscriptionReducer_1.initialState,
|
|
356
|
+
invoicingTransactionState: transactionReducer_1.initialState,
|
|
308
357
|
jeSchedulesState: jeSchedulesReducer_1.initialState,
|
|
309
358
|
merchantState: merchantReducer_1.initialState,
|
|
310
359
|
monthEndCloseChecksState: monthEndCloseChecksReducer_1.initialState,
|
|
@@ -333,7 +382,7 @@ const initialEntitiesState = {
|
|
|
333
382
|
tenantState: tenantReducer_1.initialState,
|
|
334
383
|
toastNotificationState: toastNotificationReducer_1.initialState,
|
|
335
384
|
transactionActivityLogState: transactionActivityLogReducer_1.initialState,
|
|
336
|
-
transactionState:
|
|
385
|
+
transactionState: transactionReducer_2.initialState,
|
|
337
386
|
userGroupsState: userGroupsReducer_1.initialState,
|
|
338
387
|
userRoleState: userRoleReducer_1.initialState,
|
|
339
388
|
userState: userReducer_1.initialState,
|
|
@@ -421,6 +470,37 @@ const initialViewsState = {
|
|
|
421
470
|
globalMerchantAutoCompleteState: globalMerchantAutoCompleteViewReducer_1.initialState,
|
|
422
471
|
globalMerchantViewState: globalMerchantViewReducer_1.initialState,
|
|
423
472
|
insightsCardState: insightsCardReducer_1.initialState,
|
|
473
|
+
invoicingOverviewState: invoicingOverviewReducer_1.initialState,
|
|
474
|
+
invoicingApprovalActionState: approvalActionReducer_1.initialState,
|
|
475
|
+
invoicingApprovalsViewState: approvalsViewReducer_1.initialState,
|
|
476
|
+
invoicingAuditViewState: auditViewReducer_1.initialState,
|
|
477
|
+
invoicingCatalogViewState: catalogViewReducer_1.initialState,
|
|
478
|
+
invoicingCatalogWriteState: catalogWriteReducer_1.initialState,
|
|
479
|
+
invoicingCouponWriteState: couponWriteReducer_1.initialState,
|
|
480
|
+
invoicingCouponViewState: couponViewReducer_1.initialState,
|
|
481
|
+
invoicingCreditNoteViewState: creditNoteViewReducer_1.initialState,
|
|
482
|
+
invoicingCreateInvoiceState: createInvoiceReducer_1.initialState,
|
|
483
|
+
invoicingRecordPaymentState: recordPaymentReducer_1.initialState,
|
|
484
|
+
invoicingCustomerDetailViewState: invoicingCustomerDetailViewReducer_1.initialState,
|
|
485
|
+
invoicingCustomerListViewState: invoicingCustomerListViewReducer_1.initialState,
|
|
486
|
+
invoicingCustomerPaymentMethodState: customerPaymentMethodReducer_1.initialState,
|
|
487
|
+
editInvoicingCustomerDetailViewState: editInvoicingCustomerDetailViewReducer_1.initialState,
|
|
488
|
+
invoicingDataImportActionState: dataImportActionReducer_1.initialState,
|
|
489
|
+
invoicingDataImportViewState: dataImportViewReducer_1.initialState,
|
|
490
|
+
invoicingDunningActionState: dunningActionReducer_1.initialState,
|
|
491
|
+
invoicingDunningCaseViewState: dunningCaseViewReducer_1.initialState,
|
|
492
|
+
invoicingInvoiceActionState: invoiceActionReducer_1.initialState,
|
|
493
|
+
invoicingInvoiceDetailState: invoiceDetailReducer_1.initialState,
|
|
494
|
+
invoicingInvoiceListState: invoiceListReducer_1.initialState,
|
|
495
|
+
invoicingInvoicePdfState: invoicePdfReducer_1.initialState,
|
|
496
|
+
invoicingPaymentActionState: paymentActionReducer_1.initialState,
|
|
497
|
+
invoicingReportsViewState: reportsViewReducer_1.initialState,
|
|
498
|
+
invoicingSettingsViewState: settingsViewReducer_1.initialState,
|
|
499
|
+
invoicingSubscriptionActionState: subscriptionActionReducer_1.initialState,
|
|
500
|
+
invoicingSubscriptionDetailViewState: invoicingSubscriptionDetailViewReducer_1.initialState,
|
|
501
|
+
invoicingSubscriptionListViewState: invoicingSubscriptionListViewReducer_1.initialState,
|
|
502
|
+
editInvoicingSubscriptionDetailViewState: editInvoicingSubscriptionDetailViewReducer_1.initialState,
|
|
503
|
+
invoicingTransactionViewState: transactionViewReducer_1.initialState,
|
|
424
504
|
internationalWireState: internationalWireReducer_1.initialState,
|
|
425
505
|
issueChargeCardState: issueChargeCardReducer_1.initialState,
|
|
426
506
|
internationalWireVerificationState: internationalWireVerificationReducer_1.initialState,
|
|
@@ -462,7 +542,7 @@ const initialViewsState = {
|
|
|
462
542
|
scheduleAccruedDetailState: scheduleAccruedDetailReducer_1.initialState,
|
|
463
543
|
scheduleDetailState: scheduleDetailReducer_1.initialState,
|
|
464
544
|
scheduleListState: scheduleListReducer_1.initialState,
|
|
465
|
-
settingsViewState:
|
|
545
|
+
settingsViewState: settingsViewReducer_2.initialState,
|
|
466
546
|
setupViewState: setupViewReducer_1.initialState,
|
|
467
547
|
subscriptionViewState: subscriptionViewReducer_1.initialState,
|
|
468
548
|
tagViewState: tagViewReducer_1.initialState,
|
|
@@ -548,6 +628,15 @@ const entityReducers = {
|
|
|
548
628
|
forecastState: forecastReducer_1.default,
|
|
549
629
|
globalMerchantState: globalMerchantReducer_1.default,
|
|
550
630
|
insightState: insightReducer_1.default,
|
|
631
|
+
invoicingCouponState: couponReducer_1.default,
|
|
632
|
+
invoicingCreditNoteState: creditNoteReducer_1.default,
|
|
633
|
+
invoicingCustomerState: invoicingCustomerReducer_1.default,
|
|
634
|
+
invoicingDunningCaseState: dunningCaseReducer_1.default,
|
|
635
|
+
invoicingInvoiceState: invoiceReducer_1.default,
|
|
636
|
+
invoicingPlanState: planReducer_1.default,
|
|
637
|
+
invoicingProductState: productReducer_1.default,
|
|
638
|
+
invoicingSubscriptionState: invoicingSubscriptionReducer_1.default,
|
|
639
|
+
invoicingTransactionState: transactionReducer_1.default,
|
|
551
640
|
jeSchedulesState: jeSchedulesReducer_1.default,
|
|
552
641
|
merchantState: merchantReducer_1.default,
|
|
553
642
|
monthEndCloseChecksState: monthEndCloseChecksReducer_1.default,
|
|
@@ -576,7 +665,7 @@ const entityReducers = {
|
|
|
576
665
|
tenantState: tenantReducer_1.default,
|
|
577
666
|
toastNotificationState: toastNotificationReducer_1.default,
|
|
578
667
|
transactionActivityLogState: transactionActivityLogReducer_1.default,
|
|
579
|
-
transactionState:
|
|
668
|
+
transactionState: transactionReducer_2.default,
|
|
580
669
|
userGroupsState: userGroupsReducer_1.default,
|
|
581
670
|
userRoleState: userRoleReducer_1.default,
|
|
582
671
|
userState: userReducer_1.default,
|
|
@@ -663,6 +752,37 @@ const viewReducers = {
|
|
|
663
752
|
globalMerchantAutoCompleteState: globalMerchantAutoCompleteViewReducer_1.default,
|
|
664
753
|
globalMerchantViewState: globalMerchantViewReducer_1.default,
|
|
665
754
|
insightsCardState: insightsCardReducer_1.default,
|
|
755
|
+
invoicingOverviewState: invoicingOverviewReducer_1.default,
|
|
756
|
+
invoicingApprovalActionState: approvalActionReducer_1.default,
|
|
757
|
+
invoicingApprovalsViewState: approvalsViewReducer_1.default,
|
|
758
|
+
invoicingAuditViewState: auditViewReducer_1.default,
|
|
759
|
+
invoicingCatalogViewState: catalogViewReducer_1.default,
|
|
760
|
+
invoicingCatalogWriteState: catalogWriteReducer_1.default,
|
|
761
|
+
invoicingCouponWriteState: couponWriteReducer_1.default,
|
|
762
|
+
invoicingCouponViewState: couponViewReducer_1.default,
|
|
763
|
+
invoicingCreditNoteViewState: creditNoteViewReducer_1.default,
|
|
764
|
+
invoicingCreateInvoiceState: createInvoiceReducer_1.default,
|
|
765
|
+
invoicingRecordPaymentState: recordPaymentReducer_1.default,
|
|
766
|
+
invoicingCustomerDetailViewState: invoicingCustomerDetailViewReducer_1.default,
|
|
767
|
+
invoicingCustomerListViewState: invoicingCustomerListViewReducer_1.default,
|
|
768
|
+
invoicingCustomerPaymentMethodState: customerPaymentMethodReducer_1.default,
|
|
769
|
+
editInvoicingCustomerDetailViewState: editInvoicingCustomerDetailViewReducer_1.default,
|
|
770
|
+
invoicingDataImportActionState: dataImportActionReducer_1.default,
|
|
771
|
+
invoicingDataImportViewState: dataImportViewReducer_1.default,
|
|
772
|
+
invoicingDunningActionState: dunningActionReducer_1.default,
|
|
773
|
+
invoicingDunningCaseViewState: dunningCaseViewReducer_1.default,
|
|
774
|
+
invoicingInvoiceActionState: invoiceActionReducer_1.default,
|
|
775
|
+
invoicingInvoiceDetailState: invoiceDetailReducer_1.default,
|
|
776
|
+
invoicingInvoiceListState: invoiceListReducer_1.default,
|
|
777
|
+
invoicingInvoicePdfState: invoicePdfReducer_1.default,
|
|
778
|
+
invoicingPaymentActionState: paymentActionReducer_1.default,
|
|
779
|
+
invoicingReportsViewState: reportsViewReducer_1.default,
|
|
780
|
+
invoicingSettingsViewState: settingsViewReducer_1.default,
|
|
781
|
+
invoicingSubscriptionActionState: subscriptionActionReducer_1.default,
|
|
782
|
+
invoicingSubscriptionDetailViewState: invoicingSubscriptionDetailViewReducer_1.default,
|
|
783
|
+
invoicingSubscriptionListViewState: invoicingSubscriptionListViewReducer_1.default,
|
|
784
|
+
editInvoicingSubscriptionDetailViewState: editInvoicingSubscriptionDetailViewReducer_1.default,
|
|
785
|
+
invoicingTransactionViewState: transactionViewReducer_1.default,
|
|
666
786
|
internationalWireState: internationalWireReducer_1.default,
|
|
667
787
|
issueChargeCardState: issueChargeCardReducer_1.default,
|
|
668
788
|
internationalWireVerificationState: internationalWireVerificationReducer_1.default,
|
|
@@ -705,7 +825,7 @@ const viewReducers = {
|
|
|
705
825
|
scheduleAccruedDetailState: scheduleAccruedDetailReducer_1.default,
|
|
706
826
|
scheduleDetailState: scheduleDetailReducer_1.default,
|
|
707
827
|
scheduleListState: scheduleListReducer_1.default,
|
|
708
|
-
settingsViewState:
|
|
828
|
+
settingsViewState: settingsViewReducer_2.default,
|
|
709
829
|
setupViewState: setupViewReducer_1.default,
|
|
710
830
|
subscriptionViewState: subscriptionViewReducer_1.default,
|
|
711
831
|
cannedResponsesState: cannedResponsesReducer_1.default,
|
|
@@ -7,7 +7,6 @@ const snackbarReducer_1 = require("../../../../entity/snackbar/snackbarReducer")
|
|
|
7
7
|
const tenantSelector_1 = require("../../../../entity/tenant/tenantSelector");
|
|
8
8
|
const transactionSelector_1 = require("../../../../entity/transaction/transactionSelector");
|
|
9
9
|
const vendorReducer_1 = require("../../../../entity/vendor/vendorReducer");
|
|
10
|
-
const vendorPayload_1 = require("../../../../entity/vendor/vendorPayload");
|
|
11
10
|
const responsePayload_1 = require("../../../../responsePayload");
|
|
12
11
|
const zeniUrl_1 = require("../../../../zeniUrl");
|
|
13
12
|
const accountListSelector_1 = require("../../../accountList/accountListSelector");
|
|
@@ -39,13 +38,11 @@ const saveTransactionVendorEpic = (actions$, state$, zeniAPI) => actions$.pipe((
|
|
|
39
38
|
const actions = [
|
|
40
39
|
(0, vendorReducer_1.updateVendors)(response.data.vendors ?? []),
|
|
41
40
|
];
|
|
42
|
-
const savedVendor = response.data.vendors[0];
|
|
43
|
-
const resolvedVendorId = (0, vendorPayload_1.getVendorPayloadIdentifier)(savedVendor) ?? undefined;
|
|
44
41
|
actions.push((0, transactionVendorViewReducer_1.updateTransactionVendorLocalData)({
|
|
45
|
-
vendorId:
|
|
42
|
+
vendorId: response.data.vendors[0].vendor_id,
|
|
46
43
|
localData: {
|
|
47
|
-
vendorName:
|
|
48
|
-
vendorId:
|
|
44
|
+
vendorName: response.data.vendors[0].vendor_name,
|
|
45
|
+
vendorId: response.data.vendors[0].vendor_id,
|
|
49
46
|
},
|
|
50
47
|
}));
|
|
51
48
|
if (effectiveVendorId == null &&
|
|
@@ -73,8 +70,7 @@ const saveTransactionVendorEpic = (actions$, state$, zeniAPI) => actions$.pipe((
|
|
|
73
70
|
name: response.data.vendors[0].vendor_name,
|
|
74
71
|
id: response.data.vendors[0].qbo_id,
|
|
75
72
|
type: 'vendor',
|
|
76
|
-
|
|
77
|
-
zeniId: savedVendor.vendor_id ?? undefined,
|
|
73
|
+
zeniId: response.data.vendors[0].vendor_id,
|
|
78
74
|
qboId: response.data.vendors[0].qbo_id,
|
|
79
75
|
logo: (0, zeniUrl_1.toZeniUrlWithoutBaseURL)(response.data.vendors[0].logo?.url ?? ''),
|
|
80
76
|
},
|
|
@@ -87,15 +83,14 @@ const saveTransactionVendorEpic = (actions$, state$, zeniAPI) => actions$.pipe((
|
|
|
87
83
|
transactionId: action.payload.transactionId,
|
|
88
84
|
vendorUpdates: {
|
|
89
85
|
name: response.data.vendors[0].vendor_name,
|
|
90
|
-
id:
|
|
86
|
+
id: response.data.vendors[0].vendor_id,
|
|
91
87
|
qboId: response.data.vendors[0].qbo_id,
|
|
92
88
|
},
|
|
93
89
|
entity: {
|
|
94
90
|
name: response.data.vendors[0].vendor_name,
|
|
95
91
|
id: response.data.vendors[0].qbo_id,
|
|
96
92
|
type: 'vendor',
|
|
97
|
-
|
|
98
|
-
zeniId: savedVendor.vendor_id ?? undefined,
|
|
93
|
+
zeniId: response.data.vendors[0].vendor_id,
|
|
99
94
|
qboId: response.data.vendors[0].qbo_id,
|
|
100
95
|
logo: (0, zeniUrl_1.toZeniUrlWithoutBaseURL)(response.data.vendors[0].logo?.url ?? ''),
|
|
101
96
|
},
|
|
@@ -94,8 +94,6 @@ const transactionVendorView = (0, toolkit_1.createSlice)({
|
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
96
|
else {
|
|
97
|
-
// Legacy empty-string key from pre-resolution vendor id writes.
|
|
98
|
-
delete draft.editVendorStateById[''];
|
|
99
97
|
if (draft.editVendorStateById[vendorId] != null) {
|
|
100
98
|
draft.editVendorStateById[vendorId].vendorDetailLocalData = {
|
|
101
99
|
...exports.initialVendorDetailLocalData,
|
|
@@ -6,7 +6,6 @@ const operators_1 = require("rxjs/operators");
|
|
|
6
6
|
const snackbarReducer_1 = require("../../../entity/snackbar/snackbarReducer");
|
|
7
7
|
const transactionIDPayload_1 = require("../../../entity/transaction/payloadTypes/transactionIDPayload");
|
|
8
8
|
const transactionReducer_1 = require("../../../entity/transaction/transactionReducer");
|
|
9
|
-
const vendorPayload_1 = require("../../../entity/vendor/vendorPayload");
|
|
10
9
|
const responsePayload_1 = require("../../../responsePayload");
|
|
11
10
|
const transactionsViewReducer_1 = require("../../expenseAutomationView/reducers/transactionsViewReducer");
|
|
12
11
|
const transactionDetailReducer_1 = require("../../transactionDetail/transactionDetailReducer");
|
|
@@ -89,14 +88,11 @@ function handleSuccessWithoutTransactionBody(transactionId) {
|
|
|
89
88
|
function handleSuccessWithTransactionBody(transactionPayload, vendorPayload, previousTransactionId, sourceTransactionId) {
|
|
90
89
|
const newTransactionId = (0, transactionIDPayload_1.toTransactionID)(transactionPayload);
|
|
91
90
|
const replaced = !transactionIdsAreEqual(previousTransactionId, newTransactionId);
|
|
92
|
-
const firstVendor = vendorPayload?.[0];
|
|
93
91
|
const immediate = [
|
|
94
92
|
(0, transactionReducer_1.updateTransaction)((0, transactionDetailState_1.getTransactionDetailKey)(newTransactionId), transactionPayload),
|
|
95
93
|
(0, transactionDetailReducer_1.initializeTransactionDetailLocalData)({
|
|
96
94
|
transactionId: newTransactionId,
|
|
97
|
-
vendorId:
|
|
98
|
-
? (0, vendorPayload_1.getVendorPayloadIdentifier)(firstVendor) ?? undefined
|
|
99
|
-
: undefined,
|
|
95
|
+
vendorId: vendorPayload?.[0]?.vendor_id,
|
|
100
96
|
}),
|
|
101
97
|
...buildSuccessSideEffects(sourceTransactionId),
|
|
102
98
|
];
|
|
@@ -17,7 +17,8 @@ const fetchTransactionCategorizationEpic = (actions$, state$, zeniAPI) => action
|
|
|
17
17
|
(0, operators_1.groupBy)((action) => action.payload.selectedTab), (0, operators_1.mergeMap)((group$) => group$.pipe((0, operators_1.switchMap)((action) => {
|
|
18
18
|
const { expenseAutomationViewState: { selectedPeriodByTenantId }, expenseAutomationTransactionsViewState, } = state$.value;
|
|
19
19
|
const { period, keepExistingListItems, selectedTab, refreshViewInBackground, } = action.payload;
|
|
20
|
-
const uiState = expenseAutomationTransactionsViewState
|
|
20
|
+
const uiState = expenseAutomationTransactionsViewState
|
|
21
|
+
.transactionCategorizationView[selectedTab].uiState;
|
|
21
22
|
const { pageToken, sortOrder, sortKey } = uiState;
|
|
22
23
|
const requestSearchString = uiState.searchString;
|
|
23
24
|
const currentTenant = (0, tenantSelector_1.getCurrentTenant)(state$.value);
|
|
@@ -55,7 +55,8 @@ const fetchTransactionCategorizationViewEpic = (actions$, state$) => actions$.pi
|
|
|
55
55
|
// fresh fetch on click. refreshViewInBackground=true keeps it silent.
|
|
56
56
|
if (searchString === undefined) {
|
|
57
57
|
transactionsViewState_1.TRANSACTIONS_TABS.filter((tab) => tab !== selectedTab).forEach((otherTab) => {
|
|
58
|
-
const otherTabFetchState = expenseAutomationTransactionsViewState
|
|
58
|
+
const otherTabFetchState = expenseAutomationTransactionsViewState
|
|
59
|
+
.transactionCategorizationView[otherTab].fetchState;
|
|
59
60
|
if (otherTabFetchState === 'Not-Started') {
|
|
60
61
|
updateActions.push((0, transactionsViewReducer_1.fetchTransactionCategorization)(otherTab, period, false, false, undefined, undefined, true, undefined, isUncategorizedExpenseCategoryEnabled));
|
|
61
62
|
}
|
|
@@ -68,7 +69,8 @@ const fetchTransactionCategorizationViewEpic = (actions$, state$) => actions$.pi
|
|
|
68
69
|
// if available; otherwise issue a background fetch.
|
|
69
70
|
if (searchString !== undefined) {
|
|
70
71
|
transactionsViewState_1.TRANSACTIONS_TABS.filter((tab) => tab !== selectedTab).forEach((otherTab) => {
|
|
71
|
-
const otherTabSearchString = expenseAutomationTransactionsViewState
|
|
72
|
+
const otherTabSearchString = expenseAutomationTransactionsViewState
|
|
73
|
+
.transactionCategorizationView[otherTab].uiState.searchString;
|
|
72
74
|
if (searchString !== otherTabSearchString) {
|
|
73
75
|
updateActions.push((0, transactionsViewReducer_1.fetchTransactionCategorization)(otherTab, period, true, keepExistingListItems, searchString, undefined, true, true, isUncategorizedExpenseCategoryEnabled));
|
|
74
76
|
}
|
|
@@ -6,10 +6,7 @@ const scheduleDetailPayload_1 = require("../../scheduleView/scheduleDetailView/s
|
|
|
6
6
|
const prepareIgnoreSchedulePayload = (scheduleType, jeScheduleTransaction, state) => {
|
|
7
7
|
const { vendorState } = state;
|
|
8
8
|
const { vendor, currencyCode, currencySymbol, baseTransaction, status, balanceAsOfToday, period, startDate, endDate, jeCredit, jeDebit, } = jeScheduleTransaction;
|
|
9
|
-
const vendorID = vendor
|
|
10
|
-
if (vendorID == null) {
|
|
11
|
-
throw new Error('Vendor is required to build JE schedule payload');
|
|
12
|
-
}
|
|
9
|
+
const vendorID = vendor.id;
|
|
13
10
|
const vendorDetails = vendorState.vendorByID[vendorID];
|
|
14
11
|
const jeSchedulePayload = {
|
|
15
12
|
status: status,
|
|
@@ -173,8 +173,7 @@ const expenseAutomationTransactionsView = (0, toolkit_1.createSlice)({
|
|
|
173
173
|
// Only overwrite when explicitly set; undefined means a non-search fetch
|
|
174
174
|
// (tab switch, period change) should preserve the existing search string.
|
|
175
175
|
if (searchString !== undefined) {
|
|
176
|
-
draft.transactionCategorizationView[selectedTab].uiState.searchString =
|
|
177
|
-
searchString;
|
|
176
|
+
draft.transactionCategorizationView[selectedTab].uiState.searchString = searchString;
|
|
178
177
|
}
|
|
179
178
|
draft.transactionCategorizationView[selectedTab].error = undefined;
|
|
180
179
|
const monthYearPeriod = {
|
|
@@ -21,7 +21,7 @@ const jeAccountSettingsViewSelector_1 = require("./jeAccountSettingsViewSelector
|
|
|
21
21
|
function getJEScheduleSortAccessor(sortKey) {
|
|
22
22
|
switch (sortKey) {
|
|
23
23
|
case 'vendor':
|
|
24
|
-
return (s) => s.vendor
|
|
24
|
+
return (s) => s.vendor.name?.toLowerCase();
|
|
25
25
|
case 'category':
|
|
26
26
|
return (s) => s.jeDebit.account?.accountName?.toLowerCase();
|
|
27
27
|
case 'class':
|
|
@@ -4,8 +4,8 @@ import { FetchStateAndError, FetchedState, ID } from '../../../commonStateTypes/
|
|
|
4
4
|
import { SortOrder } from '../../../commonStateTypes/selectorTypes/sortOrderTypes';
|
|
5
5
|
import { MonthYearPeriodId } from '../../../commonStateTypes/timePeriod';
|
|
6
6
|
import { PageToken } from '../../../commonStateTypes/viewAndReport/viewAndReport';
|
|
7
|
-
import { FluxAnalysisSectionType } from '../selectorTypes/fluxAnalysisViewSelectorTypes';
|
|
8
7
|
import { ZeniDate } from '../../../zeniDayJS';
|
|
8
|
+
import { FluxAnalysisSectionType } from '../selectorTypes/fluxAnalysisViewSelectorTypes';
|
|
9
9
|
declare const toFluxAnalysisSortKey: (v: string) => "vendor" | "status" | "variance";
|
|
10
10
|
export type FluxAnalysisSortKey = ReturnType<typeof toFluxAnalysisSortKey>;
|
|
11
11
|
export type FluxAnalysisActionType = 'review' | 'unreview';
|
|
@@ -77,8 +77,7 @@ async function uploadFiles(fileBlobs, metadataPayload, filesEndPoint, authParams
|
|
|
77
77
|
return undefined;
|
|
78
78
|
}
|
|
79
79
|
const responseBody = await httpResponse.json();
|
|
80
|
-
if (responseBody?.status?.code >= 200 &&
|
|
81
|
-
responseBody?.status?.code < 300) {
|
|
80
|
+
if (responseBody?.status?.code >= 200 && responseBody?.status?.code < 300) {
|
|
82
81
|
return responseBody.data?.files;
|
|
83
82
|
}
|
|
84
83
|
console.error(`Upload files failed with ${responseBody?.status?.message ?? 'unknown API error'}`);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { RootState } from '../../../reducer';
|
|
4
|
+
import { ZeniAPI } from '../../../zeniAPI';
|
|
5
|
+
import { upsertInvoicingApproval } from '../approvalsView/approvalsViewReducer';
|
|
6
|
+
import { runInvoicingApprovalAction, runInvoicingApprovalActionFailure, runInvoicingApprovalActionSuccess } from './approvalActionReducer';
|
|
7
|
+
export type ActionType = ReturnType<typeof runInvoicingApprovalAction> | ReturnType<typeof runInvoicingApprovalActionSuccess> | ReturnType<typeof runInvoicingApprovalActionFailure> | ReturnType<typeof upsertInvoicingApproval>;
|
|
8
|
+
export declare const runInvoicingApprovalActionEpic: (actions$: ActionsObservable<ActionType>, _state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.runInvoicingApprovalActionEpic = void 0;
|
|
4
|
+
const rxjs_1 = require("rxjs");
|
|
5
|
+
const operators_1 = require("rxjs/operators");
|
|
6
|
+
const responsePayload_1 = require("../../../responsePayload");
|
|
7
|
+
const approvalsViewReducer_1 = require("../approvalsView/approvalsViewReducer");
|
|
8
|
+
const approvalActionReducer_1 = require("./approvalActionReducer");
|
|
9
|
+
const runInvoicingApprovalActionEpic = (actions$, _state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(approvalActionReducer_1.runInvoicingApprovalAction.match), (0, operators_1.mergeMap)((action) => {
|
|
10
|
+
const { action: kind, approvalId } = action.payload;
|
|
11
|
+
const apiUrl = `${zeniAPI.apiEndPoints.invoicingMicroServiceBaseUrl}/1.0/approvals/${encodeURIComponent(approvalId)}/${kind}`;
|
|
12
|
+
return zeniAPI
|
|
13
|
+
.postAndGetJSON(apiUrl, {})
|
|
14
|
+
.pipe((0, operators_1.mergeMap)((response) => {
|
|
15
|
+
if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
|
|
16
|
+
return [
|
|
17
|
+
(0, approvalsViewReducer_1.upsertInvoicingApproval)(response.data),
|
|
18
|
+
(0, approvalActionReducer_1.runInvoicingApprovalActionSuccess)({ approvalId }),
|
|
19
|
+
];
|
|
20
|
+
}
|
|
21
|
+
return (0, rxjs_1.of)((0, approvalActionReducer_1.runInvoicingApprovalActionFailure)({
|
|
22
|
+
error: response.status,
|
|
23
|
+
approvalId,
|
|
24
|
+
}));
|
|
25
|
+
}), (0, operators_1.catchError)((error) => (0, rxjs_1.of)((0, approvalActionReducer_1.runInvoicingApprovalActionFailure)({
|
|
26
|
+
error: (0, responsePayload_1.createZeniAPIStatus)('Unexpected Error', 'Approval action REST API call errored out ' +
|
|
27
|
+
JSON.stringify(error)),
|
|
28
|
+
approvalId,
|
|
29
|
+
}))));
|
|
30
|
+
}));
|
|
31
|
+
exports.runInvoicingApprovalActionEpic = runInvoicingApprovalActionEpic;
|