@zeniai/client-epic-state 5.1.32 → 5.1.34-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/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/tenant/clearAllEpic.d.ts +41 -2
- package/lib/entity/tenant/clearAllEpic.js +82 -4
- package/lib/entity/tenant/tenantReducer.js +3 -3
- package/lib/epic.d.ts +35 -2
- package/lib/epic.js +46 -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/tenant/clearAllEpic.js +78 -0
- package/lib/esm/entity/tenant/tenantReducer.js +3 -3
- package/lib/esm/entity/transactionActivityLog/transactionActivityLogPayload.js +1 -1
- 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/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationEpic.js +2 -1
- package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationViewEpic.js +4 -2
- package/lib/esm/view/expenseAutomationView/reducers/transactionsViewReducer.js +1 -2
- 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 +66 -0
- package/lib/esm/view/invoicing/settingsView/settingsViewPayload.js +1 -0
- package/lib/esm/view/invoicing/settingsView/settingsViewReducer.js +75 -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/spendManagement/commonSetup/setupViewReducer.js +2 -1
- package/lib/esm/view/transactionDetail/epics/saveTransactionDetailEpic.js +1 -1
- package/lib/esm/view/transactionDetail/epics/updateTransactionDetailEpic.js +1 -1
- package/lib/index.d.ts +128 -0
- package/lib/index.js +355 -1
- package/lib/reducer.d.ts +120 -0
- package/lib/reducer.js +126 -6
- package/lib/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationEpic.js +2 -1
- package/lib/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationViewEpic.js +4 -2
- package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.js +1 -2
- 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 +73 -0
- package/lib/view/invoicing/settingsView/settingsViewPayload.d.ts +18 -0
- package/lib/view/invoicing/settingsView/settingsViewPayload.js +2 -0
- package/lib/view/invoicing/settingsView/settingsViewReducer.d.ts +12 -0
- package/lib/view/invoicing/settingsView/settingsViewReducer.js +79 -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/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/updateTransactionDetailEpic.js +1 -1
- package/lib/zeniAPI.d.ts +1 -0
- package/package.json +38 -70
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.fetchInvoicingTransactionDetailEpic = exports.fetchInvoicingTransactionKPIsEpic = exports.fetchInvoicingTransactionListEpic = void 0;
|
|
4
|
+
const rxjs_1 = require("rxjs");
|
|
5
|
+
const operators_1 = require("rxjs/operators");
|
|
6
|
+
const transactionReducer_1 = require("../../../entity/invoicing/transaction/transactionReducer");
|
|
7
|
+
const responsePayload_1 = require("../../../responsePayload");
|
|
8
|
+
const invoicingApiHelper_1 = require("../invoicingApiHelper");
|
|
9
|
+
const transactionViewReducer_1 = require("./transactionViewReducer");
|
|
10
|
+
const buildQuery = (filters, cursor, sort) => {
|
|
11
|
+
const params = new URLSearchParams();
|
|
12
|
+
if (filters.status != null && filters.status.length > 0) {
|
|
13
|
+
params.set('status', filters.status);
|
|
14
|
+
}
|
|
15
|
+
if (filters.customerId != null) {
|
|
16
|
+
params.set('customer_id', filters.customerId);
|
|
17
|
+
}
|
|
18
|
+
if (filters.type != null && filters.type.length > 0) {
|
|
19
|
+
params.set('type', filters.type);
|
|
20
|
+
}
|
|
21
|
+
if (filters.search != null && filters.search.length > 0) {
|
|
22
|
+
params.set('search', filters.search);
|
|
23
|
+
}
|
|
24
|
+
params.set('limit', String(invoicingApiHelper_1.INVOICING_LIST_PAGE_SIZE));
|
|
25
|
+
if (cursor != null) {
|
|
26
|
+
params.set('cursor', cursor);
|
|
27
|
+
}
|
|
28
|
+
(0, invoicingApiHelper_1.applyListSortParams)(params, sort);
|
|
29
|
+
return params;
|
|
30
|
+
};
|
|
31
|
+
const fetchInvoicingTransactionListEpic = (actions$, _state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(transactionViewReducer_1.fetchInvoicingTransactionList.match), (0, operators_1.switchMap)((action) => {
|
|
32
|
+
const { filters, cursor, keepExistingListItems, sort } = action.payload;
|
|
33
|
+
const apiUrl = (0, invoicingApiHelper_1.withQuery)(`${zeniAPI.apiEndPoints.invoicingMicroServiceBaseUrl}/1.0/payments`, buildQuery(filters, cursor, sort));
|
|
34
|
+
return zeniAPI.getJSON(apiUrl).pipe((0, operators_1.switchMap)((response) => {
|
|
35
|
+
if ((0, responsePayload_1.isSuccessResponse)(response)) {
|
|
36
|
+
const items = response.data?.items ?? [];
|
|
37
|
+
return [
|
|
38
|
+
(0, transactionReducer_1.updateInvoicingTransactions)(items, 'merge'),
|
|
39
|
+
(0, transactionViewReducer_1.updateInvoicingTransactionList)({
|
|
40
|
+
ids: items.map((item) => item.id),
|
|
41
|
+
nextCursor: response.data?.next_cursor ?? null,
|
|
42
|
+
keepExistingListItems,
|
|
43
|
+
}),
|
|
44
|
+
];
|
|
45
|
+
}
|
|
46
|
+
return (0, rxjs_1.of)((0, transactionViewReducer_1.updateInvoicingTransactionListFailure)(response.status));
|
|
47
|
+
}), (0, operators_1.catchError)((error) => (0, rxjs_1.of)((0, transactionViewReducer_1.updateInvoicingTransactionListFailure)((0, responsePayload_1.createZeniAPIStatus)('Unexpected Error', 'Fetch payment list REST API call errored out ' +
|
|
48
|
+
JSON.stringify(error))))));
|
|
49
|
+
}));
|
|
50
|
+
exports.fetchInvoicingTransactionListEpic = fetchInvoicingTransactionListEpic;
|
|
51
|
+
const fetchInvoicingTransactionKPIsEpic = (actions$, _state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(transactionViewReducer_1.fetchInvoicingTransactionKPIs.match), (0, operators_1.switchMap)(() => {
|
|
52
|
+
const apiUrl = `${zeniAPI.apiEndPoints.invoicingMicroServiceBaseUrl}/1.0/payments/kpis`;
|
|
53
|
+
return zeniAPI.getJSON(apiUrl).pipe((0, operators_1.switchMap)((response) => {
|
|
54
|
+
if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
|
|
55
|
+
return (0, rxjs_1.of)((0, transactionViewReducer_1.updateInvoicingTransactionKPIs)(response.data));
|
|
56
|
+
}
|
|
57
|
+
return (0, rxjs_1.of)((0, transactionViewReducer_1.updateInvoicingTransactionKPIsFailure)(response.status));
|
|
58
|
+
}), (0, operators_1.catchError)((error) => (0, rxjs_1.of)((0, transactionViewReducer_1.updateInvoicingTransactionKPIsFailure)((0, responsePayload_1.createZeniAPIStatus)('Unexpected Error', 'Fetch payment KPIs REST API call errored out ' +
|
|
59
|
+
JSON.stringify(error))))));
|
|
60
|
+
}));
|
|
61
|
+
exports.fetchInvoicingTransactionKPIsEpic = fetchInvoicingTransactionKPIsEpic;
|
|
62
|
+
const fetchInvoicingTransactionDetailEpic = (actions$, _state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(transactionViewReducer_1.fetchInvoicingTransactionDetail.match), (0, operators_1.switchMap)((action) => {
|
|
63
|
+
const { id } = action.payload;
|
|
64
|
+
const apiUrl = `${zeniAPI.apiEndPoints.invoicingMicroServiceBaseUrl}/1.0/payments/${id}`;
|
|
65
|
+
return zeniAPI.getJSON(apiUrl).pipe((0, operators_1.switchMap)((response) => {
|
|
66
|
+
if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
|
|
67
|
+
return [
|
|
68
|
+
(0, transactionReducer_1.updateInvoicingTransactions)([response.data], 'merge'),
|
|
69
|
+
(0, transactionViewReducer_1.updateInvoicingTransactionDetail)({ id: response.data.id }),
|
|
70
|
+
];
|
|
71
|
+
}
|
|
72
|
+
return (0, rxjs_1.of)((0, transactionViewReducer_1.updateInvoicingTransactionDetailFailure)(response.status));
|
|
73
|
+
}), (0, operators_1.catchError)((error) => (0, rxjs_1.of)((0, transactionViewReducer_1.updateInvoicingTransactionDetailFailure)((0, responsePayload_1.createZeniAPIStatus)('Unexpected Error', 'Fetch payment detail REST API call errored out ' +
|
|
74
|
+
JSON.stringify(error))))));
|
|
75
|
+
}));
|
|
76
|
+
exports.fetchInvoicingTransactionDetailEpic = fetchInvoicingTransactionDetailEpic;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { InvoicingPaginatedList } from '../../../entity/invoicing/invoicingCommonPayload';
|
|
2
|
+
import { InvoicingPaymentKPIs, InvoicingTransaction } from '../../../entity/invoicing/transaction/transactionPayload';
|
|
3
|
+
import { ZeniAPIResponse } from '../../../responsePayload';
|
|
4
|
+
export type InvoicingTransactionListResponse = ZeniAPIResponse<InvoicingPaginatedList<InvoicingTransaction>>;
|
|
5
|
+
export type InvoicingTransactionKPIsResponse = ZeniAPIResponse<InvoicingPaymentKPIs>;
|
|
6
|
+
export type InvoicingTransactionDetailResponse = ZeniAPIResponse<InvoicingTransaction>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ID } from '../../../commonStateTypes/common';
|
|
2
|
+
import { InvoicingPaymentKPIs } from '../../../entity/invoicing/transaction/transactionPayload';
|
|
3
|
+
import { ZeniAPIStatus } from '../../../responsePayload';
|
|
4
|
+
import { InvoicingListSort } from '../invoicingApiHelper';
|
|
5
|
+
import { InvoicingTransactionFilters, InvoicingTransactionViewState } from './transactionViewState';
|
|
6
|
+
export declare const initialState: InvoicingTransactionViewState;
|
|
7
|
+
export declare const fetchInvoicingTransactionList: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: {
|
|
8
|
+
cursor?: string;
|
|
9
|
+
filters?: InvoicingTransactionFilters;
|
|
10
|
+
keepExistingListItems?: boolean;
|
|
11
|
+
sort?: InvoicingListSort;
|
|
12
|
+
}], {
|
|
13
|
+
filters: InvoicingTransactionFilters;
|
|
14
|
+
cursor: string | undefined;
|
|
15
|
+
keepExistingListItems: boolean;
|
|
16
|
+
sort: InvoicingListSort | undefined;
|
|
17
|
+
}, "invoicingTransactionView/fetchInvoicingTransactionList", never, never>, updateInvoicingTransactionList: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
18
|
+
ids: ID[];
|
|
19
|
+
keepExistingListItems: boolean;
|
|
20
|
+
nextCursor: string | null;
|
|
21
|
+
}, "invoicingTransactionView/updateInvoicingTransactionList">, updateInvoicingTransactionListFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<ZeniAPIStatus<Record<string, unknown>>, "invoicingTransactionView/updateInvoicingTransactionListFailure">, fetchInvoicingTransactionKPIs: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"invoicingTransactionView/fetchInvoicingTransactionKPIs">, updateInvoicingTransactionKPIs: import("@reduxjs/toolkit").ActionCreatorWithPayload<InvoicingPaymentKPIs, "invoicingTransactionView/updateInvoicingTransactionKPIs">, updateInvoicingTransactionKPIsFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<ZeniAPIStatus<Record<string, unknown>>, "invoicingTransactionView/updateInvoicingTransactionKPIsFailure">, updateInvoicingTransactionFilters: import("@reduxjs/toolkit").ActionCreatorWithPayload<InvoicingTransactionFilters, "invoicingTransactionView/updateInvoicingTransactionFilters">, fetchInvoicingTransactionDetail: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
22
|
+
id: ID;
|
|
23
|
+
}, "invoicingTransactionView/fetchInvoicingTransactionDetail">, updateInvoicingTransactionDetail: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
24
|
+
id: ID;
|
|
25
|
+
}, "invoicingTransactionView/updateInvoicingTransactionDetail">, updateInvoicingTransactionDetailFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<ZeniAPIStatus<Record<string, unknown>>, "invoicingTransactionView/updateInvoicingTransactionDetailFailure">, clearInvoicingTransactionView: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"invoicingTransactionView/clearInvoicingTransactionView">;
|
|
26
|
+
declare const _default: import("redux").Reducer<InvoicingTransactionViewState>;
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var _a;
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.clearInvoicingTransactionView = exports.updateInvoicingTransactionDetailFailure = exports.updateInvoicingTransactionDetail = exports.fetchInvoicingTransactionDetail = exports.updateInvoicingTransactionFilters = exports.updateInvoicingTransactionKPIsFailure = exports.updateInvoicingTransactionKPIs = exports.fetchInvoicingTransactionKPIs = exports.updateInvoicingTransactionListFailure = exports.updateInvoicingTransactionList = exports.fetchInvoicingTransactionList = exports.initialState = void 0;
|
|
5
|
+
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
|
+
exports.initialState = {
|
|
7
|
+
fetchState: 'Not-Started',
|
|
8
|
+
error: undefined,
|
|
9
|
+
ids: [],
|
|
10
|
+
nextCursor: null,
|
|
11
|
+
filters: {},
|
|
12
|
+
kpis: undefined,
|
|
13
|
+
kpisFetchState: { fetchState: 'Not-Started', error: undefined },
|
|
14
|
+
detailId: undefined,
|
|
15
|
+
detailFetchState: { fetchState: 'Not-Started', error: undefined },
|
|
16
|
+
hasValidState() {
|
|
17
|
+
return this.fetchState === 'Completed';
|
|
18
|
+
},
|
|
19
|
+
};
|
|
20
|
+
const transactionView = (0, toolkit_1.createSlice)({
|
|
21
|
+
name: 'invoicingTransactionView',
|
|
22
|
+
initialState: exports.initialState,
|
|
23
|
+
reducers: {
|
|
24
|
+
fetchInvoicingTransactionList: {
|
|
25
|
+
reducer(draft, action) {
|
|
26
|
+
if (!action.payload.keepExistingListItems) {
|
|
27
|
+
draft.ids = [];
|
|
28
|
+
draft.nextCursor = null;
|
|
29
|
+
}
|
|
30
|
+
draft.filters = action.payload.filters;
|
|
31
|
+
draft.sort = action.payload.sort;
|
|
32
|
+
draft.fetchState = 'In-Progress';
|
|
33
|
+
draft.error = undefined;
|
|
34
|
+
},
|
|
35
|
+
prepare(payload) {
|
|
36
|
+
return {
|
|
37
|
+
payload: {
|
|
38
|
+
filters: payload.filters ?? {},
|
|
39
|
+
cursor: payload.cursor,
|
|
40
|
+
keepExistingListItems: payload.keepExistingListItems ?? false,
|
|
41
|
+
sort: payload.sort,
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
updateInvoicingTransactionList(draft, action) {
|
|
47
|
+
draft.ids = action.payload.keepExistingListItems
|
|
48
|
+
? [...new Set([...draft.ids, ...action.payload.ids])]
|
|
49
|
+
: action.payload.ids;
|
|
50
|
+
draft.nextCursor = action.payload.nextCursor;
|
|
51
|
+
draft.fetchState = 'Completed';
|
|
52
|
+
draft.error = undefined;
|
|
53
|
+
},
|
|
54
|
+
updateInvoicingTransactionListFailure(draft, action) {
|
|
55
|
+
draft.fetchState = 'Error';
|
|
56
|
+
draft.error = action.payload;
|
|
57
|
+
},
|
|
58
|
+
fetchInvoicingTransactionKPIs(draft) {
|
|
59
|
+
draft.kpisFetchState.fetchState = 'In-Progress';
|
|
60
|
+
draft.kpisFetchState.error = undefined;
|
|
61
|
+
},
|
|
62
|
+
updateInvoicingTransactionKPIs(draft, action) {
|
|
63
|
+
draft.kpis = action.payload;
|
|
64
|
+
draft.kpisFetchState.fetchState = 'Completed';
|
|
65
|
+
draft.kpisFetchState.error = undefined;
|
|
66
|
+
},
|
|
67
|
+
updateInvoicingTransactionKPIsFailure(draft, action) {
|
|
68
|
+
draft.kpisFetchState.fetchState = 'Error';
|
|
69
|
+
draft.kpisFetchState.error = action.payload;
|
|
70
|
+
},
|
|
71
|
+
updateInvoicingTransactionFilters(draft, action) {
|
|
72
|
+
draft.filters = action.payload;
|
|
73
|
+
},
|
|
74
|
+
fetchInvoicingTransactionDetail(draft, action) {
|
|
75
|
+
draft.detailId = action.payload.id;
|
|
76
|
+
draft.detailFetchState.fetchState = 'In-Progress';
|
|
77
|
+
draft.detailFetchState.error = undefined;
|
|
78
|
+
},
|
|
79
|
+
updateInvoicingTransactionDetail(draft, action) {
|
|
80
|
+
draft.detailId = action.payload.id;
|
|
81
|
+
draft.detailFetchState.fetchState = 'Completed';
|
|
82
|
+
draft.detailFetchState.error = undefined;
|
|
83
|
+
},
|
|
84
|
+
updateInvoicingTransactionDetailFailure(draft, action) {
|
|
85
|
+
draft.detailFetchState.fetchState = 'Error';
|
|
86
|
+
draft.detailFetchState.error = action.payload;
|
|
87
|
+
},
|
|
88
|
+
clearInvoicingTransactionView(draft) {
|
|
89
|
+
Object.assign(draft, exports.initialState);
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
});
|
|
93
|
+
_a = transactionView.actions, exports.fetchInvoicingTransactionList = _a.fetchInvoicingTransactionList, exports.updateInvoicingTransactionList = _a.updateInvoicingTransactionList, exports.updateInvoicingTransactionListFailure = _a.updateInvoicingTransactionListFailure, exports.fetchInvoicingTransactionKPIs = _a.fetchInvoicingTransactionKPIs, exports.updateInvoicingTransactionKPIs = _a.updateInvoicingTransactionKPIs, exports.updateInvoicingTransactionKPIsFailure = _a.updateInvoicingTransactionKPIsFailure, exports.updateInvoicingTransactionFilters = _a.updateInvoicingTransactionFilters, exports.fetchInvoicingTransactionDetail = _a.fetchInvoicingTransactionDetail, exports.updateInvoicingTransactionDetail = _a.updateInvoicingTransactionDetail, exports.updateInvoicingTransactionDetailFailure = _a.updateInvoicingTransactionDetailFailure, exports.clearInvoicingTransactionView = _a.clearInvoicingTransactionView;
|
|
94
|
+
exports.default = transactionView.reducer;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FetchStateAndError } from '../../../commonStateTypes/common';
|
|
2
|
+
import { InvoicingPaymentKPIs, InvoicingTransaction } from '../../../entity/invoicing/transaction/transactionPayload';
|
|
3
|
+
import { RootState } from '../../../reducer';
|
|
4
|
+
import { InvoicingTransactionFilters } from './transactionViewState';
|
|
5
|
+
export declare const getInvoicingTransactionListItems: (state: RootState) => InvoicingTransaction[];
|
|
6
|
+
export declare const getInvoicingTransactionListFetchState: (state: RootState) => FetchStateAndError;
|
|
7
|
+
export declare const getInvoicingTransactionListNextCursor: (state: RootState) => string | null;
|
|
8
|
+
export declare const getInvoicingTransactionListHasMore: (state: RootState) => boolean;
|
|
9
|
+
export declare const getInvoicingTransactionListFilters: (state: RootState) => InvoicingTransactionFilters;
|
|
10
|
+
export declare const getInvoicingTransactionKPIs: (state: RootState) => InvoicingPaymentKPIs | undefined;
|
|
11
|
+
export declare const getInvoicingTransactionById: (state: RootState, id: string) => InvoicingTransaction | undefined;
|
|
12
|
+
export declare const getInvoicingTransactionDetail: (state: RootState) => InvoicingTransaction | undefined;
|
|
13
|
+
export declare const getInvoicingTransactionDetailFetchState: (state: RootState) => FetchStateAndError;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getInvoicingTransactionDetailFetchState = exports.getInvoicingTransactionDetail = exports.getInvoicingTransactionById = exports.getInvoicingTransactionKPIs = exports.getInvoicingTransactionListFilters = exports.getInvoicingTransactionListHasMore = exports.getInvoicingTransactionListNextCursor = exports.getInvoicingTransactionListFetchState = exports.getInvoicingTransactionListItems = void 0;
|
|
4
|
+
const getInvoicingTransactionListItems = (state) => state.invoicingTransactionViewState.ids
|
|
5
|
+
.map((id) => state.invoicingTransactionState.transactionByID[id])
|
|
6
|
+
.filter((item) => item != null);
|
|
7
|
+
exports.getInvoicingTransactionListItems = getInvoicingTransactionListItems;
|
|
8
|
+
const getInvoicingTransactionListFetchState = (state) => ({
|
|
9
|
+
fetchState: state.invoicingTransactionViewState.fetchState,
|
|
10
|
+
error: state.invoicingTransactionViewState.error,
|
|
11
|
+
});
|
|
12
|
+
exports.getInvoicingTransactionListFetchState = getInvoicingTransactionListFetchState;
|
|
13
|
+
const getInvoicingTransactionListNextCursor = (state) => state.invoicingTransactionViewState.nextCursor;
|
|
14
|
+
exports.getInvoicingTransactionListNextCursor = getInvoicingTransactionListNextCursor;
|
|
15
|
+
const getInvoicingTransactionListHasMore = (state) => state.invoicingTransactionViewState.nextCursor != null;
|
|
16
|
+
exports.getInvoicingTransactionListHasMore = getInvoicingTransactionListHasMore;
|
|
17
|
+
const getInvoicingTransactionListFilters = (state) => state.invoicingTransactionViewState.filters;
|
|
18
|
+
exports.getInvoicingTransactionListFilters = getInvoicingTransactionListFilters;
|
|
19
|
+
const getInvoicingTransactionKPIs = (state) => state.invoicingTransactionViewState.kpis;
|
|
20
|
+
exports.getInvoicingTransactionKPIs = getInvoicingTransactionKPIs;
|
|
21
|
+
const getInvoicingTransactionById = (state, id) => state.invoicingTransactionState.transactionByID[id];
|
|
22
|
+
exports.getInvoicingTransactionById = getInvoicingTransactionById;
|
|
23
|
+
const getInvoicingTransactionDetail = (state) => {
|
|
24
|
+
const id = state.invoicingTransactionViewState.detailId;
|
|
25
|
+
return id != null
|
|
26
|
+
? state.invoicingTransactionState.transactionByID[id]
|
|
27
|
+
: undefined;
|
|
28
|
+
};
|
|
29
|
+
exports.getInvoicingTransactionDetail = getInvoicingTransactionDetail;
|
|
30
|
+
const getInvoicingTransactionDetailFetchState = (state) => state.invoicingTransactionViewState.detailFetchState;
|
|
31
|
+
exports.getInvoicingTransactionDetailFetchState = getInvoicingTransactionDetailFetchState;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { FetchStateAndError, FetchedState, ID } from '../../../commonStateTypes/common';
|
|
2
|
+
import { InvoicingPaymentKPIs } from '../../../entity/invoicing/transaction/transactionPayload';
|
|
3
|
+
import { InvoicingListSort } from '../invoicingApiHelper';
|
|
4
|
+
export interface InvoicingTransactionFilters {
|
|
5
|
+
customerId?: ID;
|
|
6
|
+
search?: string;
|
|
7
|
+
status?: string;
|
|
8
|
+
type?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface InvoicingTransactionViewState extends FetchedState {
|
|
11
|
+
detailFetchState: FetchStateAndError;
|
|
12
|
+
filters: InvoicingTransactionFilters;
|
|
13
|
+
ids: ID[];
|
|
14
|
+
kpisFetchState: FetchStateAndError;
|
|
15
|
+
nextCursor: string | null;
|
|
16
|
+
detailId?: ID;
|
|
17
|
+
kpis?: InvoicingPaymentKPIs;
|
|
18
|
+
/** Active server-side sort (undefined = backend default order). */
|
|
19
|
+
sort?: InvoicingListSort;
|
|
20
|
+
}
|
package/lib/view/onboardingView/cockpitView/epic/initializeOnboardingCustomerViewUpdateDataEpic.js
CHANGED
|
@@ -126,11 +126,7 @@ const getSelectedProducts = (isDebitCardFlagEnabled, tenant) => {
|
|
|
126
126
|
return [];
|
|
127
127
|
}
|
|
128
128
|
else if (isBookkeepingEnabled) {
|
|
129
|
-
return [
|
|
130
|
-
'bookkeeping',
|
|
131
|
-
'zeni_bill_pay',
|
|
132
|
-
'zeni_reimbursements',
|
|
133
|
-
];
|
|
129
|
+
return ['bookkeeping', 'zeni_bill_pay', 'zeni_reimbursements'];
|
|
134
130
|
}
|
|
135
131
|
else if (isOtherProductsEnabled) {
|
|
136
132
|
const selectedProducts = [];
|
|
@@ -84,9 +84,8 @@ const updateOnboardingCustomerViewLocalStoreDataEpic = (actions$, state$) => act
|
|
|
84
84
|
companyView?.company.company.companyOnboardingInfo
|
|
85
85
|
.subscriptionBillingAddressId != null) {
|
|
86
86
|
updatedCurrentStep = 'connect_ledger';
|
|
87
|
-
const isOnboardingAiActivationViewed = companyOnboardingInfo?.onboardingInfo
|
|
88
|
-
?.
|
|
89
|
-
false;
|
|
87
|
+
const isOnboardingAiActivationViewed = companyOnboardingInfo?.onboardingInfo?.onboardingAiActivationInfo
|
|
88
|
+
?.isOnboardingAiActivationViewed ?? false;
|
|
90
89
|
// Past the ledger step we always sit on connect_data_source —
|
|
91
90
|
// it has many integrations, so we treat it as never auto-complete
|
|
92
91
|
// and only advance to verification on an explicit user dispatch.
|
|
@@ -120,7 +119,9 @@ const updateOnboardingCustomerViewLocalStoreDataEpic = (actions$, state$) => act
|
|
|
120
119
|
// stale subStep (e.g. 'default' carried over from another step)
|
|
121
120
|
// leaves verification rendering an empty form.
|
|
122
121
|
if (updatedCurrentStep !== onboardingCustomerViewState.currentStep) {
|
|
123
|
-
const targetSubStep = updatedCurrentStep === 'verification'
|
|
122
|
+
const targetSubStep = updatedCurrentStep === 'verification'
|
|
123
|
+
? 'unlock-stack'
|
|
124
|
+
: 'default';
|
|
124
125
|
fetchActions.push((0, onboardingCustomerViewReducer_1.updateCurrentSubStep)({ subStep: targetSubStep }));
|
|
125
126
|
}
|
|
126
127
|
}
|
|
@@ -21,7 +21,7 @@ export declare const fetchBillList: import("@reduxjs/toolkit").ActionCreatorWith
|
|
|
21
21
|
period: TimePeriod;
|
|
22
22
|
tab: "paid" | "pending_approval" | "scheduled" | "draft";
|
|
23
23
|
error: ZeniAPIStatus<Record<string, unknown>>;
|
|
24
|
-
}, "billList/updateBillListFailure", never, never>, updateTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"paid" | "pending_approval" | "scheduled" | "draft", "billList/updateTab">, updateSubTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "
|
|
24
|
+
}, "billList/updateBillListFailure", never, never>, updateTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"paid" | "pending_approval" | "scheduled" | "draft", "billList/updateTab">, updateSubTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "all" | "overdue" | "awaiting_approval" | "awaiting_my_approval" | "offline", "billList/updateSubTab">, updateSelectedBillId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "billList/updateSelectedBillId">, clearBillList: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"billList/clearBillList">, updateBillDetailSaveBillCode: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SaveBillStageCode, "billList/updateBillDetailSaveBillCode">, updateBillListUIState: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
25
25
|
period: TimePeriod;
|
|
26
26
|
uiState: Partial<BillListUIState>;
|
|
27
27
|
}, "billList/updateBillListUIState">, updateSearchResult: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "billList/updateSearchResult">, updateFilterResult: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
@@ -35,7 +35,7 @@ export type SaveBillStageCode = 'draft' | 'pending_approval' | undefined;
|
|
|
35
35
|
export declare const ALL_BILL_TABS: readonly ["paid", "pending_approval", "scheduled", "draft"];
|
|
36
36
|
declare const toBillTabType: (v: string) => "paid" | "pending_approval" | "scheduled" | "draft";
|
|
37
37
|
export type BillTab = ReturnType<typeof toBillTabType>;
|
|
38
|
-
declare const toBillsSubTabType: (v: string) => "failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "
|
|
38
|
+
declare const toBillsSubTabType: (v: string) => "failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "all" | "overdue" | "awaiting_approval" | "awaiting_my_approval" | "offline";
|
|
39
39
|
export type BillsSubTabType = ReturnType<typeof toBillsSubTabType>;
|
|
40
40
|
declare const toBillPaySortKeyType: (v: string) => "amount" | "status" | "name" | "dueDate" | "paymentMethod" | "invoiceNumber" | "invoiceDate";
|
|
41
41
|
export declare type BillPayViewSortKey = ReturnType<typeof toBillPaySortKeyType>;
|
|
@@ -115,7 +115,8 @@ const setupView = (0, toolkit_1.createSlice)({
|
|
|
115
115
|
saveSetupViewDataInLocalStore(draft, action) {
|
|
116
116
|
const setupViewLocalData = action.payload;
|
|
117
117
|
if (setupViewLocalData.companyDetails != null) {
|
|
118
|
-
const syncToken = setupViewLocalData.companyDetails.syncToken ??
|
|
118
|
+
const syncToken = setupViewLocalData.companyDetails.syncToken ??
|
|
119
|
+
draft.companyDetails.localData?.syncToken;
|
|
119
120
|
draft.companyDetails.localData = {
|
|
120
121
|
...setupViewLocalData.companyDetails,
|
|
121
122
|
...(syncToken != null ? { syncToken } : {}),
|
|
@@ -27,7 +27,7 @@ export declare const fetchRemiList: import("@reduxjs/toolkit").ActionCreatorWith
|
|
|
27
27
|
}, "remiList/updateRemiListFailure", never, never>, updateRemiListUIState: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
28
28
|
period: TimePeriod;
|
|
29
29
|
uiState: Partial<RemiListUIState>;
|
|
30
|
-
}, "remiList/updateRemiListUIState">, updateTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"paid" | "pending_approval" | "scheduled" | "draft", "remiList/updateTab">, updateSubTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "
|
|
30
|
+
}, "remiList/updateRemiListUIState">, updateTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"paid" | "pending_approval" | "scheduled" | "draft", "remiList/updateTab">, updateSubTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "all" | "overdue" | "myDrafts" | "awaitingApproval" | "awaitingMyApproval" | "awaitingAllApproval", "remiList/updateSubTab">, updateSelectedRemiId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "remiList/updateSelectedRemiId">, clearRemiList: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"remiList/clearRemiList">, updateRemiDetailSaveRemiCode: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SaveRemiStageCode, "remiList/updateRemiDetailSaveRemiCode">, updateSearchResult: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "remiList/updateSearchResult">, updateFilterResult: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
31
31
|
filters: ReimbursementFilters;
|
|
32
32
|
}, "remiList/updateFilterResult">, updateRemiListDownloadUIState: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
33
33
|
uiState: Partial<RemiListDownloadUIState>;
|
|
@@ -33,10 +33,10 @@ export declare const ALL_REMI_TABS: readonly ["paid", "pending_approval", "sched
|
|
|
33
33
|
export declare const toRemiTabType: (v: string) => "paid" | "pending_approval" | "scheduled" | "draft";
|
|
34
34
|
export declare const toRemiTabTypeStrict: (v: string) => "paid" | "pending_approval" | "scheduled" | "draft" | undefined;
|
|
35
35
|
export type RemiTabType = ReturnType<typeof toRemiTabType>;
|
|
36
|
-
export declare const toRemiSubTabType: (v: string) => "failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "
|
|
37
|
-
export declare const toRemiSubTabTypeStrict: (v: string) => "failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "
|
|
36
|
+
export declare const toRemiSubTabType: (v: string) => "failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "all" | "overdue" | "myDrafts" | "awaitingApproval" | "awaitingMyApproval" | "awaitingAllApproval";
|
|
37
|
+
export declare const toRemiSubTabTypeStrict: (v: string) => "failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "all" | "overdue" | "myDrafts" | "awaitingApproval" | "awaitingMyApproval" | "awaitingAllApproval" | undefined;
|
|
38
38
|
export type RemiSubTabType = ReturnType<typeof toRemiSubTabType>;
|
|
39
|
-
export declare const toRemiSubTabUnderScoreType: (v: string) => "failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "
|
|
39
|
+
export declare const toRemiSubTabUnderScoreType: (v: string) => "failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "all" | "overdue" | "awaiting_approval" | "awaiting_my_approval" | "my_drafts" | "awaiting_all_approval";
|
|
40
40
|
export type RemiSubTabUnderScoreType = ReturnType<typeof toRemiSubTabUnderScoreType>;
|
|
41
41
|
declare const toReimbursementSortKeyType: (v: string) => "amount" | "status" | "type" | "createdBy" | "submittedOn" | "reportName";
|
|
42
42
|
export type ReimbursementViewSortKey = ReturnType<typeof toReimbursementSortKeyType>;
|
|
@@ -7,8 +7,8 @@ exports.saveTransactionDetailEpic = void 0;
|
|
|
7
7
|
const get_1 = __importDefault(require("lodash/get"));
|
|
8
8
|
const rxjs_1 = require("rxjs");
|
|
9
9
|
const operators_1 = require("rxjs/operators");
|
|
10
|
-
const transactionSelector_1 = require("../../../entity/transaction/transactionSelector");
|
|
11
10
|
const tenantSelector_1 = require("../../../entity/tenant/tenantSelector");
|
|
11
|
+
const transactionSelector_1 = require("../../../entity/transaction/transactionSelector");
|
|
12
12
|
const transactionDetailReducer_1 = require("../transactionDetailReducer");
|
|
13
13
|
const transactionDetailState_1 = require("../transactionDetailState");
|
|
14
14
|
const saveTransactionHelper_1 = require("./saveTransactionHelper");
|
|
@@ -9,6 +9,7 @@ const rxjs_1 = require("rxjs");
|
|
|
9
9
|
const operators_1 = require("rxjs/operators");
|
|
10
10
|
const recommendationPayload_1 = require("../../../commonPayloadTypes/recommendationPayload");
|
|
11
11
|
const snackbarReducer_1 = require("../../../entity/snackbar/snackbarReducer");
|
|
12
|
+
const tenantSelector_1 = require("../../../entity/tenant/tenantSelector");
|
|
12
13
|
const customerTransactionPayload_1 = require("../../../entity/transaction/payloadTypes/customerTransactionPayload");
|
|
13
14
|
const otherTransactionPayload_1 = require("../../../entity/transaction/payloadTypes/otherTransactionPayload");
|
|
14
15
|
const transactionIDPayload_1 = require("../../../entity/transaction/payloadTypes/transactionIDPayload");
|
|
@@ -25,7 +26,6 @@ const transactionSelector_1 = require("../../../entity/transaction/transactionSe
|
|
|
25
26
|
const vendorReducer_1 = require("../../../entity/vendor/vendorReducer");
|
|
26
27
|
const vendorSelector_1 = require("../../../entity/vendor/vendorSelector");
|
|
27
28
|
const responsePayload_1 = require("../../../responsePayload");
|
|
28
|
-
const tenantSelector_1 = require("../../../entity/tenant/tenantSelector");
|
|
29
29
|
const accountListSelector_1 = require("../../accountList/accountListSelector");
|
|
30
30
|
const transactionCategorizationLocalDataHelper_1 = require("../../expenseAutomationView/helpers/transactionCategorizationLocalDataHelper");
|
|
31
31
|
const transactionsViewReducer_1 = require("../../expenseAutomationView/reducers/transactionsViewReducer");
|
package/lib/zeniAPI.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export interface RESTAPIEndpoints {
|
|
|
15
15
|
readonly documentAIMicroServiceBaseUrl: string;
|
|
16
16
|
readonly fileMicroServiceBaseUrl: string;
|
|
17
17
|
readonly insightsMicroServiceBaseUrl: string;
|
|
18
|
+
readonly invoicingMicroServiceBaseUrl: string;
|
|
18
19
|
readonly noAuthMicroServiceBaseUrl: string;
|
|
19
20
|
readonly notificationMicroServiceBaseUrl: string;
|
|
20
21
|
readonly payMicroServiceBaseUrl: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.34-betaAK0",
|
|
4
4
|
"description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/esm/index.js",
|
|
@@ -33,44 +33,6 @@
|
|
|
33
33
|
"require": "./lib/view/*.js"
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
|
-
"scripts": {
|
|
37
|
-
"clean": "rimraf lib",
|
|
38
|
-
"test:typecheck": "echo 'Typechecking test files...' && NODE_OPTIONS=--max-old-space-size=4096 time tsc -p tsconfig.typecheck.json",
|
|
39
|
-
"test:typecheck-modified-files": "chmod +x ./scripts/tsc-modified-files.sh && SINCE_DAYS=2 ./scripts/tsc-modified-files.sh master tsconfig.typecheck.json",
|
|
40
|
-
"test:typecheck-mocks": "echo 'Typechecking mock files...' && NODE_OPTIONS=--max-old-space-size=4096 time tsc -p tsconfig.mocks.json",
|
|
41
|
-
"test:typecheck-mocks-modified-files": "chmod +x ./scripts/tsc-modified-files.sh && SINCE_DAYS=2 ./scripts/tsc-modified-files.sh master tsconfig.mocks.json",
|
|
42
|
-
"test": "pnpm lint-modified-files && pnpm test:typecheck-modified-files && pnpm test:typecheck-mocks-modified-files && vitest run --typecheck",
|
|
43
|
-
"test:full": "pnpm test:typecheck-modified-files && pnpm test:typecheck-mocks-modified-files && vitest run --typecheck",
|
|
44
|
-
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --max-warnings 0 --fix",
|
|
45
|
-
"lint-modified-files": "chmod +x ./scripts/lint-modified-files.sh && ./scripts/lint-modified-files.sh",
|
|
46
|
-
"lint:fix-modified-files": "chmod +x ./scripts/lint-modified-files.sh && LINT_FIX=true ./scripts/lint-modified-files.sh",
|
|
47
|
-
"tsc-modified-files": "chmod +x ./scripts/tsc-modified-files.sh && ./scripts/tsc-modified-files.sh",
|
|
48
|
-
"typecheck": "tsc --noEmit",
|
|
49
|
-
"find-dead-code": "ts-prune | grep -v '(used in module)'",
|
|
50
|
-
"find-unused-exports": "ts-unused-exports ./tsconfig.json",
|
|
51
|
-
"circular-dependency": "npx madge --circular --extensions ts ./src",
|
|
52
|
-
"build": "concurrently --kill-others-on-fail --handle-input \"echo 'TypeScript build in progress...' && time tsc && echo 'ESM build...' && tsc -p tsconfig.esm.json\" \"echo 'Running tests and typecheck (incl. lint-modified-files)...' && pnpm test\" && rimraf \"lib/**/__mocks__\" \"lib/**/__testHelpers__\"",
|
|
53
|
-
"only-build": "eslint . --ext .js,.jsx,.ts,.tsx && time tsc && tsc -p tsconfig.esm.json && rimraf \"lib/**/__mocks__\" \"lib/**/__testHelpers__\"",
|
|
54
|
-
"only-build-dev": "eslint . --ext .js,.jsx,.ts,.tsx && time tsc -p tsconfig.dev.json && tsc -p tsconfig.esm.dev.json && rimraf \"lib/**/__mocks__\" \"lib/**/__testHelpers__\"",
|
|
55
|
-
"format": "prettier --write --ignore-unknown \"src/**/*\" && pnpm lint",
|
|
56
|
-
"format-watch": "(git diff --name-only --diff-filter=ACM && git ls-files --others --exclude-standard) | grep -E '\\.(ts|tsx)$' | xargs prettier --write",
|
|
57
|
-
"check-version": "node ./scripts/check_version.js",
|
|
58
|
-
"prepublishOnly": "chmod +x ./scripts/branch_validation.sh && ./scripts/branch_validation.sh && (npm run update-slack-group-topic || true) && npm run check-version && npm run clean && npm run only-build",
|
|
59
|
-
"version": "git add -A src",
|
|
60
|
-
"postversion": "git push && git push --tags",
|
|
61
|
-
"check-dependencies": "node ./scripts/check_dependencies.js",
|
|
62
|
-
"clean-overrides": "node ./scripts/clean_overrides.js",
|
|
63
|
-
"create-or-update-release-branch": "chmod +x ./scripts/create_or_update_release_branch.sh && ./scripts/create_or_update_release_branch.sh",
|
|
64
|
-
"bump-versions-master": "chmod +x ./scripts/bump_versions_master.sh && ./scripts/bump_versions_master.sh",
|
|
65
|
-
"bump-versions-beta": "chmod +x ./scripts/bump_versions_beta.sh && ./scripts/bump_versions_beta.sh",
|
|
66
|
-
"bump-update-web-app-cockpit-beta": "chmod +x ./scripts/bump_and_update_web_app_ui_beta.sh && ./scripts/bump_and_update_web_app_ui_beta.sh",
|
|
67
|
-
"send-release-notes": "chmod +x ./scripts/send_release_notes.sh && ./scripts/send_release_notes.sh",
|
|
68
|
-
"update-slack-group-topic": "chmod +x ./scripts/update-slack-group-topic.sh && ./scripts/update-slack-group-topic.sh",
|
|
69
|
-
"build-beta-and-copy": "chmod +x ./scripts/build_and_copy.sh && ./scripts/build_and_copy.sh",
|
|
70
|
-
"pr-approvals-update": "chmod +x ./scripts/pr_approvals.sh && ./scripts/pr_approvals.sh",
|
|
71
|
-
"raise-pr-automation": "chmod +x ./scripts/raise_pr_automation.sh && ./scripts/raise_pr_automation.sh",
|
|
72
|
-
"test:file": "scripts/test-file.sh"
|
|
73
|
-
},
|
|
74
36
|
"files": [
|
|
75
37
|
"lib/**/*"
|
|
76
38
|
],
|
|
@@ -142,35 +104,41 @@
|
|
|
142
104
|
"dayjs": "^1.10.7",
|
|
143
105
|
"url-parse": "^1.5.10"
|
|
144
106
|
},
|
|
145
|
-
"
|
|
146
|
-
"
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
107
|
+
"scripts": {
|
|
108
|
+
"clean": "rimraf lib",
|
|
109
|
+
"test:typecheck": "echo 'Typechecking test files...' && NODE_OPTIONS=--max-old-space-size=4096 time tsc -p tsconfig.typecheck.json",
|
|
110
|
+
"test:typecheck-modified-files": "chmod +x ./scripts/tsc-modified-files.sh && SINCE_DAYS=2 ./scripts/tsc-modified-files.sh master tsconfig.typecheck.json",
|
|
111
|
+
"test:typecheck-mocks": "echo 'Typechecking mock files...' && NODE_OPTIONS=--max-old-space-size=4096 time tsc -p tsconfig.mocks.json",
|
|
112
|
+
"test:typecheck-mocks-modified-files": "chmod +x ./scripts/tsc-modified-files.sh && SINCE_DAYS=2 ./scripts/tsc-modified-files.sh master tsconfig.mocks.json",
|
|
113
|
+
"test": "pnpm lint-modified-files && pnpm test:typecheck-modified-files && pnpm test:typecheck-mocks-modified-files && vitest run --typecheck",
|
|
114
|
+
"test:full": "pnpm test:typecheck-modified-files && pnpm test:typecheck-mocks-modified-files && vitest run --typecheck",
|
|
115
|
+
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --max-warnings 0 --fix",
|
|
116
|
+
"lint-modified-files": "chmod +x ./scripts/lint-modified-files.sh && ./scripts/lint-modified-files.sh",
|
|
117
|
+
"lint:fix-modified-files": "chmod +x ./scripts/lint-modified-files.sh && LINT_FIX=true ./scripts/lint-modified-files.sh",
|
|
118
|
+
"tsc-modified-files": "chmod +x ./scripts/tsc-modified-files.sh && ./scripts/tsc-modified-files.sh",
|
|
119
|
+
"typecheck": "tsc --noEmit",
|
|
120
|
+
"find-dead-code": "ts-prune | grep -v '(used in module)'",
|
|
121
|
+
"find-unused-exports": "ts-unused-exports ./tsconfig.json",
|
|
122
|
+
"circular-dependency": "npx madge --circular --extensions ts ./src",
|
|
123
|
+
"build": "concurrently --kill-others-on-fail --handle-input \"echo 'TypeScript build in progress...' && time tsc && echo 'ESM build...' && tsc -p tsconfig.esm.json\" \"echo 'Running tests and typecheck (incl. lint-modified-files)...' && pnpm test\" && rimraf \"lib/**/__mocks__\" \"lib/**/__testHelpers__\"",
|
|
124
|
+
"only-build": "eslint . --ext .js,.jsx,.ts,.tsx && time tsc && tsc -p tsconfig.esm.json && rimraf \"lib/**/__mocks__\" \"lib/**/__testHelpers__\"",
|
|
125
|
+
"only-build-dev": "eslint . --ext .js,.jsx,.ts,.tsx && time tsc -p tsconfig.dev.json && tsc -p tsconfig.esm.dev.json && rimraf \"lib/**/__mocks__\" \"lib/**/__testHelpers__\"",
|
|
126
|
+
"format": "prettier --write --ignore-unknown \"src/**/*\" && pnpm lint",
|
|
127
|
+
"format-watch": "(git diff --name-only --diff-filter=ACM && git ls-files --others --exclude-standard) | grep -E '\\.(ts|tsx)$' | xargs prettier --write",
|
|
128
|
+
"check-version": "node ./scripts/check_version.js",
|
|
129
|
+
"version": "git add -A src",
|
|
130
|
+
"postversion": "git push && git push --tags",
|
|
131
|
+
"check-dependencies": "node ./scripts/check_dependencies.js",
|
|
132
|
+
"clean-overrides": "node ./scripts/clean_overrides.js",
|
|
133
|
+
"create-or-update-release-branch": "chmod +x ./scripts/create_or_update_release_branch.sh && ./scripts/create_or_update_release_branch.sh",
|
|
134
|
+
"bump-versions-master": "chmod +x ./scripts/bump_versions_master.sh && ./scripts/bump_versions_master.sh",
|
|
135
|
+
"bump-versions-beta": "chmod +x ./scripts/bump_versions_beta.sh && ./scripts/bump_versions_beta.sh",
|
|
136
|
+
"bump-update-web-app-cockpit-beta": "chmod +x ./scripts/bump_and_update_web_app_ui_beta.sh && ./scripts/bump_and_update_web_app_ui_beta.sh",
|
|
137
|
+
"send-release-notes": "chmod +x ./scripts/send_release_notes.sh && ./scripts/send_release_notes.sh",
|
|
138
|
+
"update-slack-group-topic": "chmod +x ./scripts/update-slack-group-topic.sh && ./scripts/update-slack-group-topic.sh",
|
|
139
|
+
"build-beta-and-copy": "chmod +x ./scripts/build_and_copy.sh && ./scripts/build_and_copy.sh",
|
|
140
|
+
"pr-approvals-update": "chmod +x ./scripts/pr_approvals.sh && ./scripts/pr_approvals.sh",
|
|
141
|
+
"raise-pr-automation": "chmod +x ./scripts/raise_pr_automation.sh && ./scripts/raise_pr_automation.sh",
|
|
142
|
+
"test:file": "scripts/test-file.sh"
|
|
175
143
|
}
|
|
176
|
-
}
|
|
144
|
+
}
|