@zeniai/client-epic-state 5.1.40-betaAK0 → 5.1.40
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/entity/tenant/clearAllEpic.d.ts +2 -44
- package/lib/entity/tenant/clearAllEpic.js +2 -86
- package/lib/entity/tenant/tenantReducer.js +3 -3
- package/lib/epic.d.ts +3 -41
- package/lib/epic.js +3 -60
- package/lib/esm/entity/tenant/clearAllEpic.js +0 -84
- package/lib/esm/entity/tenant/tenantReducer.js +3 -3
- package/lib/esm/entity/transactionActivityLog/transactionActivityLogPayload.js +1 -1
- package/lib/esm/epic.js +3 -60
- package/lib/esm/index.js +0 -97
- package/lib/esm/reducer.js +0 -129
- package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationEpic.js +1 -2
- package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationViewEpic.js +2 -4
- package/lib/esm/view/expenseAutomationView/reducers/transactionsViewReducer.js +2 -1
- package/lib/esm/view/fileView/fileUploadHelpers.js +2 -1
- package/lib/esm/view/onboardingView/cockpitView/epic/initializeOnboardingCustomerViewUpdateDataEpic.js +5 -1
- package/lib/esm/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewLocalStoreDataEpic.js +4 -5
- package/lib/esm/view/spendManagement/commonSetup/setupViewReducer.js +1 -2
- package/lib/esm/view/transactionDetail/epics/saveTransactionDetailEpic.js +1 -1
- package/lib/index.d.ts +0 -161
- package/lib/index.js +1 -353
- package/lib/reducer.d.ts +0 -129
- package/lib/reducer.js +3 -132
- package/lib/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationEpic.js +1 -2
- package/lib/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationViewEpic.js +2 -4
- package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.js +2 -1
- package/lib/view/expenseAutomationView/types/fluxAnalysisViewState.d.ts +1 -1
- package/lib/view/fileView/fileUploadHelpers.js +2 -1
- package/lib/view/onboardingView/cockpitView/epic/initializeOnboardingCustomerViewUpdateDataEpic.js +5 -1
- package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewLocalStoreDataEpic.js +4 -5
- 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 +1 -2
- 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/zeniAPI.d.ts +0 -1
- package/package.json +1 -1
- package/lib/entity/invoicing/coupon/couponConstants.d.ts +0 -11
- package/lib/entity/invoicing/coupon/couponConstants.js +0 -29
- package/lib/entity/invoicing/coupon/couponPayload.d.ts +0 -56
- package/lib/entity/invoicing/coupon/couponPayload.js +0 -47
- package/lib/entity/invoicing/coupon/couponReducer.d.ts +0 -9
- package/lib/entity/invoicing/coupon/couponReducer.js +0 -47
- package/lib/entity/invoicing/coupon/couponSelector.d.ts +0 -5
- package/lib/entity/invoicing/coupon/couponSelector.js +0 -9
- package/lib/entity/invoicing/coupon/couponState.d.ts +0 -39
- package/lib/entity/invoicing/coupon/couponState.js +0 -2
- package/lib/entity/invoicing/creditNote/creditNotePayload.d.ts +0 -45
- package/lib/entity/invoicing/creditNote/creditNotePayload.js +0 -60
- package/lib/entity/invoicing/creditNote/creditNoteReducer.d.ts +0 -9
- package/lib/entity/invoicing/creditNote/creditNoteReducer.js +0 -49
- package/lib/entity/invoicing/creditNote/creditNoteSelector.d.ts +0 -4
- package/lib/entity/invoicing/creditNote/creditNoteSelector.js +0 -17
- package/lib/entity/invoicing/creditNote/creditNoteState.d.ts +0 -46
- package/lib/entity/invoicing/creditNote/creditNoteState.js +0 -2
- package/lib/entity/invoicing/dunningCase/dunningCasePayload.d.ts +0 -25
- package/lib/entity/invoicing/dunningCase/dunningCasePayload.js +0 -35
- package/lib/entity/invoicing/dunningCase/dunningCaseReducer.d.ts +0 -9
- package/lib/entity/invoicing/dunningCase/dunningCaseReducer.js +0 -49
- package/lib/entity/invoicing/dunningCase/dunningCaseSelector.d.ts +0 -4
- package/lib/entity/invoicing/dunningCase/dunningCaseSelector.js +0 -17
- package/lib/entity/invoicing/dunningCase/dunningCaseState.d.ts +0 -28
- package/lib/entity/invoicing/dunningCase/dunningCaseState.js +0 -2
- package/lib/entity/invoicing/invoice/invoicePayload.d.ts +0 -100
- package/lib/entity/invoicing/invoice/invoicePayload.js +0 -128
- package/lib/entity/invoicing/invoice/invoiceReducer.d.ts +0 -9
- package/lib/entity/invoicing/invoice/invoiceReducer.js +0 -49
- package/lib/entity/invoicing/invoice/invoiceSelector.d.ts +0 -5
- package/lib/entity/invoicing/invoice/invoiceSelector.js +0 -9
- package/lib/entity/invoicing/invoice/invoiceState.d.ts +0 -103
- package/lib/entity/invoicing/invoice/invoiceState.js +0 -2
- package/lib/entity/invoicing/invoicingCommonPayload.d.ts +0 -67
- package/lib/entity/invoicing/invoicingCommonPayload.js +0 -2
- package/lib/entity/invoicing/invoicingCommonState.d.ts +0 -40
- package/lib/entity/invoicing/invoicingCommonState.js +0 -2
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerPayload.d.ts +0 -55
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerPayload.js +0 -71
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerReducer.d.ts +0 -9
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerReducer.js +0 -47
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerSelector.d.ts +0 -4
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerSelector.js +0 -17
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerState.d.ts +0 -50
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerState.js +0 -2
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionPayload.d.ts +0 -76
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionPayload.js +0 -104
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionReducer.d.ts +0 -9
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionReducer.js +0 -49
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionSelector.d.ts +0 -5
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionSelector.js +0 -17
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionState.d.ts +0 -75
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionState.js +0 -2
- package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionPayload.d.ts +0 -50
- package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionPayload.js +0 -62
- package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionReducer.d.ts +0 -9
- package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionReducer.js +0 -49
- package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionSelector.d.ts +0 -4
- package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionSelector.js +0 -17
- package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionState.d.ts +0 -53
- package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionState.js +0 -2
- package/lib/entity/invoicing/plan/planPayload.d.ts +0 -38
- package/lib/entity/invoicing/plan/planPayload.js +0 -49
- package/lib/entity/invoicing/plan/planReducer.d.ts +0 -9
- package/lib/entity/invoicing/plan/planReducer.js +0 -47
- package/lib/entity/invoicing/plan/planSelector.d.ts +0 -4
- package/lib/entity/invoicing/plan/planSelector.js +0 -17
- package/lib/entity/invoicing/plan/planState.d.ts +0 -41
- package/lib/entity/invoicing/plan/planState.js +0 -2
- package/lib/entity/invoicing/product/productPayload.d.ts +0 -64
- package/lib/entity/invoicing/product/productPayload.js +0 -77
- package/lib/entity/invoicing/product/productReducer.d.ts +0 -9
- package/lib/entity/invoicing/product/productReducer.js +0 -47
- package/lib/entity/invoicing/product/productSelector.d.ts +0 -4
- package/lib/entity/invoicing/product/productSelector.js +0 -17
- package/lib/entity/invoicing/product/productState.d.ts +0 -66
- package/lib/entity/invoicing/product/productState.js +0 -2
- package/lib/esm/entity/invoicing/coupon/couponConstants.js +0 -26
- package/lib/esm/entity/invoicing/coupon/couponPayload.js +0 -42
- package/lib/esm/entity/invoicing/coupon/couponReducer.js +0 -40
- package/lib/esm/entity/invoicing/coupon/couponSelector.js +0 -4
- package/lib/esm/entity/invoicing/coupon/couponState.js +0 -1
- package/lib/esm/entity/invoicing/creditNote/creditNotePayload.js +0 -54
- package/lib/esm/entity/invoicing/creditNote/creditNoteReducer.js +0 -42
- package/lib/esm/entity/invoicing/creditNote/creditNoteSelector.js +0 -10
- package/lib/esm/entity/invoicing/creditNote/creditNoteState.js +0 -1
- package/lib/esm/entity/invoicing/dunningCase/dunningCasePayload.js +0 -31
- package/lib/esm/entity/invoicing/dunningCase/dunningCaseReducer.js +0 -42
- package/lib/esm/entity/invoicing/dunningCase/dunningCaseSelector.js +0 -10
- package/lib/esm/entity/invoicing/dunningCase/dunningCaseState.js +0 -1
- package/lib/esm/entity/invoicing/invoice/invoicePayload.js +0 -123
- package/lib/esm/entity/invoicing/invoice/invoiceReducer.js +0 -42
- package/lib/esm/entity/invoicing/invoice/invoiceSelector.js +0 -4
- package/lib/esm/entity/invoicing/invoice/invoiceState.js +0 -1
- package/lib/esm/entity/invoicing/invoicingCommonPayload.js +0 -1
- package/lib/esm/entity/invoicing/invoicingCommonState.js +0 -1
- package/lib/esm/entity/invoicing/invoicingCustomer/invoicingCustomerPayload.js +0 -67
- package/lib/esm/entity/invoicing/invoicingCustomer/invoicingCustomerReducer.js +0 -40
- package/lib/esm/entity/invoicing/invoicingCustomer/invoicingCustomerSelector.js +0 -10
- package/lib/esm/entity/invoicing/invoicingCustomer/invoicingCustomerState.js +0 -1
- package/lib/esm/entity/invoicing/invoicingSubscription/invoicingSubscriptionPayload.js +0 -97
- package/lib/esm/entity/invoicing/invoicingSubscription/invoicingSubscriptionReducer.js +0 -42
- package/lib/esm/entity/invoicing/invoicingSubscription/invoicingSubscriptionSelector.js +0 -10
- package/lib/esm/entity/invoicing/invoicingSubscription/invoicingSubscriptionState.js +0 -1
- package/lib/esm/entity/invoicing/invoicingTransaction/invoicingTransactionPayload.js +0 -58
- package/lib/esm/entity/invoicing/invoicingTransaction/invoicingTransactionReducer.js +0 -42
- package/lib/esm/entity/invoicing/invoicingTransaction/invoicingTransactionSelector.js +0 -10
- package/lib/esm/entity/invoicing/invoicingTransaction/invoicingTransactionState.js +0 -1
- package/lib/esm/entity/invoicing/plan/planPayload.js +0 -45
- package/lib/esm/entity/invoicing/plan/planReducer.js +0 -40
- package/lib/esm/entity/invoicing/plan/planSelector.js +0 -10
- package/lib/esm/entity/invoicing/plan/planState.js +0 -1
- package/lib/esm/entity/invoicing/product/productPayload.js +0 -72
- package/lib/esm/entity/invoicing/product/productReducer.js +0 -40
- package/lib/esm/entity/invoicing/product/productSelector.js +0 -10
- package/lib/esm/entity/invoicing/product/productState.js +0 -1
- package/lib/esm/view/invoicing/approvalAction/approvalActionEpic.js +0 -27
- package/lib/esm/view/invoicing/approvalAction/approvalActionPayload.js +0 -1
- package/lib/esm/view/invoicing/approvalAction/approvalActionReducer.js +0 -36
- package/lib/esm/view/invoicing/approvalAction/approvalActionSelector.js +0 -5
- package/lib/esm/view/invoicing/approvalAction/approvalActionState.js +0 -1
- package/lib/esm/view/invoicing/approvalsView/approvalsViewEpics.js +0 -35
- package/lib/esm/view/invoicing/approvalsView/approvalsViewPayload.js +0 -1
- package/lib/esm/view/invoicing/approvalsView/approvalsViewReducer.js +0 -62
- package/lib/esm/view/invoicing/approvalsView/approvalsViewSelector.js +0 -8
- package/lib/esm/view/invoicing/approvalsView/approvalsViewState.js +0 -1
- package/lib/esm/view/invoicing/auditView/auditViewEpics.js +0 -44
- package/lib/esm/view/invoicing/auditView/auditViewPayload.js +0 -1
- package/lib/esm/view/invoicing/auditView/auditViewReducer.js +0 -56
- package/lib/esm/view/invoicing/auditView/auditViewSelector.js +0 -8
- package/lib/esm/view/invoicing/auditView/auditViewState.js +0 -1
- package/lib/esm/view/invoicing/couponView/couponViewEpics.js +0 -93
- package/lib/esm/view/invoicing/couponView/couponViewPayload.js +0 -1
- package/lib/esm/view/invoicing/couponView/couponViewReducer.js +0 -104
- package/lib/esm/view/invoicing/couponView/couponViewSelector.js +0 -37
- package/lib/esm/view/invoicing/couponView/couponViewState.js +0 -39
- package/lib/esm/view/invoicing/createInvoice/createInvoiceEpic.js +0 -22
- package/lib/esm/view/invoicing/createInvoice/createInvoicePayload.js +0 -1
- package/lib/esm/view/invoicing/createInvoice/createInvoiceReducer.js +0 -36
- package/lib/esm/view/invoicing/createInvoice/createInvoiceSelector.js +0 -28
- package/lib/esm/view/invoicing/createInvoice/createInvoiceState.js +0 -1
- package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodEpic.js +0 -60
- package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodPayload.js +0 -1
- package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodReducer.js +0 -84
- package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodSelector.js +0 -7
- package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodState.js +0 -1
- package/lib/esm/view/invoicing/dataImportAction/dataImportActionEpic.js +0 -35
- package/lib/esm/view/invoicing/dataImportAction/dataImportActionPayload.js +0 -1
- package/lib/esm/view/invoicing/dataImportAction/dataImportActionReducer.js +0 -68
- package/lib/esm/view/invoicing/dataImportAction/dataImportActionSelector.js +0 -5
- package/lib/esm/view/invoicing/dataImportAction/dataImportActionState.js +0 -1
- package/lib/esm/view/invoicing/dataImportView/dataImportViewEpics.js +0 -34
- package/lib/esm/view/invoicing/dataImportView/dataImportViewPayload.js +0 -1
- package/lib/esm/view/invoicing/dataImportView/dataImportViewReducer.js +0 -66
- package/lib/esm/view/invoicing/dataImportView/dataImportViewSelector.js +0 -8
- package/lib/esm/view/invoicing/dataImportView/dataImportViewState.js +0 -1
- package/lib/esm/view/invoicing/dunningAction/dunningActionEpic.js +0 -27
- package/lib/esm/view/invoicing/dunningAction/dunningActionPayload.js +0 -1
- package/lib/esm/view/invoicing/dunningAction/dunningActionReducer.js +0 -36
- package/lib/esm/view/invoicing/dunningAction/dunningActionRequestPayload.js +0 -2
- package/lib/esm/view/invoicing/dunningAction/dunningActionSelector.js +0 -5
- package/lib/esm/view/invoicing/dunningAction/dunningActionState.js +0 -1
- package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewPayload.js +0 -1
- package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewReducer.js +0 -39
- package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewSelector.js +0 -24
- package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewState.js +0 -1
- package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/saveInvoicingCatalogItemEpic.js +0 -37
- package/lib/esm/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewPayload.js +0 -1
- package/lib/esm/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewReducer.js +0 -36
- package/lib/esm/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewSelector.js +0 -29
- package/lib/esm/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewState.js +0 -1
- package/lib/esm/view/invoicing/editInvoicingCouponDetailView/saveInvoicingCouponEpic.js +0 -28
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewPayload.js +0 -1
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer.js +0 -36
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector.js +0 -19
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewState.js +0 -1
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/saveInvoicingCustomerEpic.js +0 -22
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewPayload.js +0 -1
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer.js +0 -45
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewSelector.js +0 -31
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewState.js +0 -1
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/fetchInvoicingSubscriptionFormPageEpic.js +0 -29
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/saveInvoicingSubscriptionEpic.js +0 -24
- package/lib/esm/view/invoicing/invoiceAction/invoiceActionEpic.js +0 -49
- package/lib/esm/view/invoicing/invoiceAction/invoiceActionPayload.js +0 -1
- package/lib/esm/view/invoicing/invoiceAction/invoiceActionReducer.js +0 -42
- package/lib/esm/view/invoicing/invoiceAction/invoiceActionRequestPayload.js +0 -2
- package/lib/esm/view/invoicing/invoiceAction/invoiceActionSelector.js +0 -5
- package/lib/esm/view/invoicing/invoiceAction/invoiceActionState.js +0 -1
- package/lib/esm/view/invoicing/invoiceDetail/fetchInvoiceDetailEpic.js +0 -22
- package/lib/esm/view/invoicing/invoiceDetail/invoiceDetailPayload.js +0 -1
- package/lib/esm/view/invoicing/invoiceDetail/invoiceDetailReducer.js +0 -38
- package/lib/esm/view/invoicing/invoiceDetail/invoiceDetailSelector.js +0 -13
- package/lib/esm/view/invoicing/invoiceDetail/invoiceDetailState.js +0 -1
- package/lib/esm/view/invoicing/invoiceList/fetchInvoiceCountsEpic.js +0 -32
- package/lib/esm/view/invoicing/invoiceList/fetchInvoiceKPIsEpic.js +0 -15
- package/lib/esm/view/invoicing/invoiceList/fetchInvoiceListEpic.js +0 -53
- package/lib/esm/view/invoicing/invoiceList/fetchInvoiceListPageEpic.js +0 -30
- package/lib/esm/view/invoicing/invoiceList/invoiceListPayload.js +0 -1
- package/lib/esm/view/invoicing/invoiceList/invoiceListReducer.js +0 -105
- package/lib/esm/view/invoicing/invoiceList/invoiceListSelector.js +0 -23
- package/lib/esm/view/invoicing/invoiceList/invoiceListState.js +0 -19
- package/lib/esm/view/invoicing/invoicingApiHelper.js +0 -14
- package/lib/esm/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewEpics.js +0 -24
- package/lib/esm/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewPayload.js +0 -1
- package/lib/esm/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewReducer.js +0 -34
- package/lib/esm/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewSelector.js +0 -14
- package/lib/esm/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewState.js +0 -1
- package/lib/esm/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogCountsEpic.js +0 -20
- package/lib/esm/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogListPageEpic.js +0 -33
- package/lib/esm/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogPlanListEpic.js +0 -43
- package/lib/esm/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogProductListEpic.js +0 -46
- package/lib/esm/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewPayload.js +0 -1
- package/lib/esm/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewReducer.js +0 -132
- package/lib/esm/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewSelector.js +0 -26
- package/lib/esm/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewState.js +0 -18
- package/lib/esm/view/invoicing/invoicingCouponDetailView/fetchInvoicingCouponDetailEpic.js +0 -22
- package/lib/esm/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewPayload.js +0 -1
- package/lib/esm/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewReducer.js +0 -38
- package/lib/esm/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewSelector.js +0 -11
- package/lib/esm/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewState.js +0 -1
- package/lib/esm/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewEpics.js +0 -19
- package/lib/esm/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewPayload.js +0 -1
- package/lib/esm/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewReducer.js +0 -31
- package/lib/esm/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewSelector.js +0 -11
- package/lib/esm/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewState.js +0 -1
- package/lib/esm/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteCountsEpic.js +0 -23
- package/lib/esm/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteListEpic.js +0 -43
- package/lib/esm/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteListPageEpic.js +0 -27
- package/lib/esm/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewPayload.js +0 -1
- package/lib/esm/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewReducer.js +0 -89
- package/lib/esm/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewSelector.js +0 -21
- package/lib/esm/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewState.js +0 -39
- package/lib/esm/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailEpic.js +0 -22
- package/lib/esm/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailPageEpic.js +0 -41
- package/lib/esm/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewPayload.js +0 -1
- package/lib/esm/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewReducer.js +0 -51
- package/lib/esm/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewSelector.js +0 -25
- package/lib/esm/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewState.js +0 -1
- package/lib/esm/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerCountsEpic.js +0 -20
- package/lib/esm/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListEpic.js +0 -40
- package/lib/esm/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListPageEpic.js +0 -27
- package/lib/esm/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewPayload.js +0 -1
- package/lib/esm/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer.js +0 -89
- package/lib/esm/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewSelector.js +0 -21
- package/lib/esm/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewState.js +0 -34
- package/lib/esm/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewEpics.js +0 -19
- package/lib/esm/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewPayload.js +0 -1
- package/lib/esm/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewReducer.js +0 -31
- package/lib/esm/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewSelector.js +0 -13
- package/lib/esm/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewState.js +0 -1
- package/lib/esm/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseCountsEpic.js +0 -20
- package/lib/esm/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseListEpic.js +0 -40
- package/lib/esm/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseListPageEpic.js +0 -27
- package/lib/esm/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewPayload.js +0 -1
- package/lib/esm/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewReducer.js +0 -89
- package/lib/esm/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewSelector.js +0 -21
- package/lib/esm/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewState.js +0 -40
- package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewChurnEpic.js +0 -17
- package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewDashboardSummaryEpic.js +0 -17
- package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewEpic.js +0 -55
- package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewKPIsEpic.js +0 -17
- package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewMRREpic.js +0 -17
- package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewPlanRevenueEpic.js +0 -17
- package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewRevenueEpic.js +0 -17
- package/lib/esm/view/invoicing/invoicingOverview/invoicingOverviewPayload.js +0 -87
- package/lib/esm/view/invoicing/invoicingOverview/invoicingOverviewReducer.js +0 -115
- package/lib/esm/view/invoicing/invoicingOverview/invoicingOverviewSelector.js +0 -65
- package/lib/esm/view/invoicing/invoicingOverview/invoicingOverviewState.js +0 -1
- package/lib/esm/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewEpics.js +0 -19
- package/lib/esm/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewPayload.js +0 -1
- package/lib/esm/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewReducer.js +0 -31
- package/lib/esm/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewSelector.js +0 -13
- package/lib/esm/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewState.js +0 -1
- package/lib/esm/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionCountsEpic.js +0 -23
- package/lib/esm/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListEpic.js +0 -49
- package/lib/esm/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListPageEpic.js +0 -27
- package/lib/esm/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewPayload.js +0 -1
- package/lib/esm/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer.js +0 -89
- package/lib/esm/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewSelector.js +0 -22
- package/lib/esm/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewState.js +0 -41
- package/lib/esm/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewEpics.js +0 -19
- package/lib/esm/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewPayload.js +0 -1
- package/lib/esm/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewReducer.js +0 -31
- package/lib/esm/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewSelector.js +0 -13
- package/lib/esm/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewState.js +0 -1
- package/lib/esm/view/invoicing/invoicingTransactionListView/epics/fetchInvoicingTransactionListEpic.js +0 -46
- package/lib/esm/view/invoicing/invoicingTransactionListView/epics/fetchInvoicingTransactionListPageEpic.js +0 -24
- package/lib/esm/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewPayload.js +0 -1
- package/lib/esm/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewReducer.js +0 -74
- package/lib/esm/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewSelector.js +0 -19
- package/lib/esm/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewState.js +0 -39
- package/lib/esm/view/invoicing/paymentAction/paymentActionEpic.js +0 -27
- package/lib/esm/view/invoicing/paymentAction/paymentActionPayload.js +0 -1
- package/lib/esm/view/invoicing/paymentAction/paymentActionReducer.js +0 -36
- package/lib/esm/view/invoicing/paymentAction/paymentActionRequestPayload.js +0 -2
- package/lib/esm/view/invoicing/paymentAction/paymentActionSelector.js +0 -5
- package/lib/esm/view/invoicing/paymentAction/paymentActionState.js +0 -1
- package/lib/esm/view/invoicing/recordPayment/recordPaymentEpic.js +0 -22
- package/lib/esm/view/invoicing/recordPayment/recordPaymentPayload.js +0 -1
- package/lib/esm/view/invoicing/recordPayment/recordPaymentReducer.js +0 -36
- package/lib/esm/view/invoicing/recordPayment/recordPaymentSelector.js +0 -5
- package/lib/esm/view/invoicing/recordPayment/recordPaymentState.js +0 -1
- package/lib/esm/view/invoicing/settingsView/settingsViewEpics.js +0 -66
- package/lib/esm/view/invoicing/settingsView/settingsViewPayload.js +0 -1
- package/lib/esm/view/invoicing/settingsView/settingsViewReducer.js +0 -75
- package/lib/esm/view/invoicing/settingsView/settingsViewSelector.js +0 -7
- package/lib/esm/view/invoicing/settingsView/settingsViewState.js +0 -1
- package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionEpic.js +0 -27
- package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionPayload.js +0 -1
- package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionReducer.js +0 -36
- package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionRequestPayload.js +0 -2
- package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionSelector.js +0 -5
- package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionState.js +0 -1
- package/lib/view/invoicing/approvalAction/approvalActionEpic.d.ts +0 -8
- package/lib/view/invoicing/approvalAction/approvalActionEpic.js +0 -31
- package/lib/view/invoicing/approvalAction/approvalActionPayload.d.ts +0 -3
- package/lib/view/invoicing/approvalAction/approvalActionPayload.js +0 -2
- package/lib/view/invoicing/approvalAction/approvalActionReducer.d.ts +0 -17
- package/lib/view/invoicing/approvalAction/approvalActionReducer.js +0 -40
- package/lib/view/invoicing/approvalAction/approvalActionSelector.d.ts +0 -3
- package/lib/view/invoicing/approvalAction/approvalActionSelector.js +0 -9
- package/lib/view/invoicing/approvalAction/approvalActionState.d.ts +0 -5
- package/lib/view/invoicing/approvalAction/approvalActionState.js +0 -2
- package/lib/view/invoicing/approvalsView/approvalsViewEpics.d.ts +0 -7
- package/lib/view/invoicing/approvalsView/approvalsViewEpics.js +0 -39
- package/lib/view/invoicing/approvalsView/approvalsViewPayload.d.ts +0 -14
- package/lib/view/invoicing/approvalsView/approvalsViewPayload.js +0 -2
- package/lib/view/invoicing/approvalsView/approvalsViewReducer.d.ts +0 -22
- package/lib/view/invoicing/approvalsView/approvalsViewReducer.js +0 -66
- package/lib/view/invoicing/approvalsView/approvalsViewSelector.d.ts +0 -9
- package/lib/view/invoicing/approvalsView/approvalsViewSelector.js +0 -16
- package/lib/view/invoicing/approvalsView/approvalsViewState.d.ts +0 -14
- package/lib/view/invoicing/approvalsView/approvalsViewState.js +0 -2
- package/lib/view/invoicing/auditView/auditViewEpics.d.ts +0 -7
- package/lib/view/invoicing/auditView/auditViewEpics.js +0 -48
- package/lib/view/invoicing/auditView/auditViewPayload.d.ts +0 -14
- package/lib/view/invoicing/auditView/auditViewPayload.js +0 -2
- package/lib/view/invoicing/auditView/auditViewReducer.d.ts +0 -22
- package/lib/view/invoicing/auditView/auditViewReducer.js +0 -60
- package/lib/view/invoicing/auditView/auditViewSelector.d.ts +0 -9
- package/lib/view/invoicing/auditView/auditViewSelector.js +0 -16
- package/lib/view/invoicing/auditView/auditViewState.d.ts +0 -17
- package/lib/view/invoicing/auditView/auditViewState.js +0 -2
- package/lib/view/invoicing/couponView/couponViewEpics.d.ts +0 -16
- package/lib/view/invoicing/couponView/couponViewEpics.js +0 -100
- package/lib/view/invoicing/couponView/couponViewPayload.d.ts +0 -6
- package/lib/view/invoicing/couponView/couponViewPayload.js +0 -2
- package/lib/view/invoicing/couponView/couponViewReducer.d.ts +0 -32
- package/lib/view/invoicing/couponView/couponViewReducer.js +0 -108
- package/lib/view/invoicing/couponView/couponViewSelector.d.ts +0 -33
- package/lib/view/invoicing/couponView/couponViewSelector.js +0 -47
- package/lib/view/invoicing/couponView/couponViewState.d.ts +0 -43
- package/lib/view/invoicing/couponView/couponViewState.js +0 -44
- package/lib/view/invoicing/createInvoice/createInvoiceEpic.d.ts +0 -8
- package/lib/view/invoicing/createInvoice/createInvoiceEpic.js +0 -26
- package/lib/view/invoicing/createInvoice/createInvoicePayload.d.ts +0 -24
- package/lib/view/invoicing/createInvoice/createInvoicePayload.js +0 -2
- package/lib/view/invoicing/createInvoice/createInvoiceReducer.d.ts +0 -10
- package/lib/view/invoicing/createInvoice/createInvoiceReducer.js +0 -40
- package/lib/view/invoicing/createInvoice/createInvoiceSelector.d.ts +0 -23
- package/lib/view/invoicing/createInvoice/createInvoiceSelector.js +0 -34
- package/lib/view/invoicing/createInvoice/createInvoiceState.d.ts +0 -6
- package/lib/view/invoicing/createInvoice/createInvoiceState.js +0 -2
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodEpic.d.ts +0 -11
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodEpic.js +0 -67
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodPayload.d.ts +0 -18
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodPayload.js +0 -2
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodReducer.d.ts +0 -21
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodReducer.js +0 -88
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodSelector.d.ts +0 -10
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodSelector.js +0 -17
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodState.d.ts +0 -23
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodState.js +0 -2
- package/lib/view/invoicing/dataImportAction/dataImportActionEpic.d.ts +0 -7
- package/lib/view/invoicing/dataImportAction/dataImportActionEpic.js +0 -39
- package/lib/view/invoicing/dataImportAction/dataImportActionPayload.d.ts +0 -3
- package/lib/view/invoicing/dataImportAction/dataImportActionPayload.js +0 -2
- package/lib/view/invoicing/dataImportAction/dataImportActionReducer.d.ts +0 -13
- package/lib/view/invoicing/dataImportAction/dataImportActionReducer.js +0 -72
- package/lib/view/invoicing/dataImportAction/dataImportActionSelector.d.ts +0 -4
- package/lib/view/invoicing/dataImportAction/dataImportActionSelector.js +0 -9
- package/lib/view/invoicing/dataImportAction/dataImportActionState.d.ts +0 -5
- package/lib/view/invoicing/dataImportAction/dataImportActionState.js +0 -2
- package/lib/view/invoicing/dataImportView/dataImportViewEpics.d.ts +0 -9
- package/lib/view/invoicing/dataImportView/dataImportViewEpics.js +0 -40
- package/lib/view/invoicing/dataImportView/dataImportViewPayload.d.ts +0 -50
- package/lib/view/invoicing/dataImportView/dataImportViewPayload.js +0 -2
- package/lib/view/invoicing/dataImportView/dataImportViewReducer.d.ts +0 -7
- package/lib/view/invoicing/dataImportView/dataImportViewReducer.js +0 -70
- package/lib/view/invoicing/dataImportView/dataImportViewSelector.d.ts +0 -9
- package/lib/view/invoicing/dataImportView/dataImportViewSelector.js +0 -17
- package/lib/view/invoicing/dataImportView/dataImportViewState.d.ts +0 -10
- package/lib/view/invoicing/dataImportView/dataImportViewState.js +0 -2
- package/lib/view/invoicing/dunningAction/dunningActionEpic.d.ts +0 -8
- package/lib/view/invoicing/dunningAction/dunningActionEpic.js +0 -31
- package/lib/view/invoicing/dunningAction/dunningActionPayload.d.ts +0 -3
- package/lib/view/invoicing/dunningAction/dunningActionPayload.js +0 -2
- package/lib/view/invoicing/dunningAction/dunningActionReducer.d.ts +0 -20
- package/lib/view/invoicing/dunningAction/dunningActionReducer.js +0 -40
- package/lib/view/invoicing/dunningAction/dunningActionRequestPayload.d.ts +0 -24
- package/lib/view/invoicing/dunningAction/dunningActionRequestPayload.js +0 -3
- package/lib/view/invoicing/dunningAction/dunningActionSelector.d.ts +0 -3
- package/lib/view/invoicing/dunningAction/dunningActionSelector.js +0 -9
- package/lib/view/invoicing/dunningAction/dunningActionState.d.ts +0 -5
- package/lib/view/invoicing/dunningAction/dunningActionState.js +0 -2
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewPayload.d.ts +0 -4
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewPayload.js +0 -2
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewReducer.d.ts +0 -17
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewReducer.js +0 -43
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewSelector.d.ts +0 -21
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewSelector.js +0 -31
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewState.d.ts +0 -7
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewState.js +0 -2
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/saveInvoicingCatalogItemEpic.d.ts +0 -9
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/saveInvoicingCatalogItemEpic.js +0 -41
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewPayload.d.ts +0 -3
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewPayload.js +0 -2
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewReducer.d.ts +0 -14
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewReducer.js +0 -40
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewSelector.d.ts +0 -28
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewSelector.js +0 -34
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewState.d.ts +0 -5
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewState.js +0 -2
- package/lib/view/invoicing/editInvoicingCouponDetailView/saveInvoicingCouponEpic.d.ts +0 -8
- package/lib/view/invoicing/editInvoicingCouponDetailView/saveInvoicingCouponEpic.js +0 -32
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewPayload.d.ts +0 -3
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewPayload.js +0 -2
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer.d.ts +0 -14
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer.js +0 -40
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector.d.ts +0 -15
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector.js +0 -23
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewState.d.ts +0 -5
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewState.js +0 -2
- package/lib/view/invoicing/editInvoicingCustomerDetailView/saveInvoicingCustomerEpic.d.ts +0 -8
- package/lib/view/invoicing/editInvoicingCustomerDetailView/saveInvoicingCustomerEpic.js +0 -26
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewPayload.d.ts +0 -3
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewPayload.js +0 -2
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer.d.ts +0 -18
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer.js +0 -49
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewSelector.d.ts +0 -34
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewSelector.js +0 -36
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewState.d.ts +0 -5
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewState.js +0 -2
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/fetchInvoicingSubscriptionFormPageEpic.d.ts +0 -20
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/fetchInvoicingSubscriptionFormPageEpic.js +0 -33
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/saveInvoicingSubscriptionEpic.d.ts +0 -8
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/saveInvoicingSubscriptionEpic.js +0 -28
- package/lib/view/invoicing/invoiceAction/invoiceActionEpic.d.ts +0 -9
- package/lib/view/invoicing/invoiceAction/invoiceActionEpic.js +0 -54
- package/lib/view/invoicing/invoiceAction/invoiceActionPayload.d.ts +0 -3
- package/lib/view/invoicing/invoiceAction/invoiceActionPayload.js +0 -2
- package/lib/view/invoicing/invoiceAction/invoiceActionReducer.d.ts +0 -24
- package/lib/view/invoicing/invoiceAction/invoiceActionReducer.js +0 -46
- package/lib/view/invoicing/invoiceAction/invoiceActionRequestPayload.d.ts +0 -47
- package/lib/view/invoicing/invoiceAction/invoiceActionRequestPayload.js +0 -3
- package/lib/view/invoicing/invoiceAction/invoiceActionSelector.d.ts +0 -3
- package/lib/view/invoicing/invoiceAction/invoiceActionSelector.js +0 -9
- package/lib/view/invoicing/invoiceAction/invoiceActionState.d.ts +0 -5
- package/lib/view/invoicing/invoiceAction/invoiceActionState.js +0 -2
- package/lib/view/invoicing/invoiceDetail/fetchInvoiceDetailEpic.d.ts +0 -8
- package/lib/view/invoicing/invoiceDetail/fetchInvoiceDetailEpic.js +0 -26
- package/lib/view/invoicing/invoiceDetail/invoiceDetailPayload.d.ts +0 -3
- package/lib/view/invoicing/invoiceDetail/invoiceDetailPayload.js +0 -2
- package/lib/view/invoicing/invoiceDetail/invoiceDetailReducer.d.ts +0 -16
- package/lib/view/invoicing/invoiceDetail/invoiceDetailReducer.js +0 -43
- package/lib/view/invoicing/invoiceDetail/invoiceDetailSelector.d.ts +0 -13
- package/lib/view/invoicing/invoiceDetail/invoiceDetailSelector.js +0 -20
- package/lib/view/invoicing/invoiceDetail/invoiceDetailState.d.ts +0 -7
- package/lib/view/invoicing/invoiceDetail/invoiceDetailState.js +0 -2
- package/lib/view/invoicing/invoiceList/fetchInvoiceCountsEpic.d.ts +0 -7
- package/lib/view/invoicing/invoiceList/fetchInvoiceCountsEpic.js +0 -36
- package/lib/view/invoicing/invoiceList/fetchInvoiceKPIsEpic.d.ts +0 -7
- package/lib/view/invoicing/invoiceList/fetchInvoiceKPIsEpic.js +0 -19
- package/lib/view/invoicing/invoiceList/fetchInvoiceListEpic.d.ts +0 -8
- package/lib/view/invoicing/invoiceList/fetchInvoiceListEpic.js +0 -57
- package/lib/view/invoicing/invoiceList/fetchInvoiceListPageEpic.d.ts +0 -11
- package/lib/view/invoicing/invoiceList/fetchInvoiceListPageEpic.js +0 -34
- package/lib/view/invoicing/invoiceList/invoiceListPayload.d.ts +0 -6
- package/lib/view/invoicing/invoiceList/invoiceListPayload.js +0 -2
- package/lib/view/invoicing/invoiceList/invoiceListReducer.d.ts +0 -32
- package/lib/view/invoicing/invoiceList/invoiceListReducer.js +0 -109
- package/lib/view/invoicing/invoiceList/invoiceListSelector.d.ts +0 -23
- package/lib/view/invoicing/invoiceList/invoiceListSelector.js +0 -26
- package/lib/view/invoicing/invoiceList/invoiceListState.d.ts +0 -36
- package/lib/view/invoicing/invoiceList/invoiceListState.js +0 -23
- package/lib/view/invoicing/invoicingApiHelper.d.ts +0 -15
- package/lib/view/invoicing/invoicingApiHelper.js +0 -19
- package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewEpics.d.ts +0 -9
- package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewEpics.js +0 -28
- package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewPayload.d.ts +0 -4
- package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewPayload.js +0 -2
- package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewReducer.d.ts +0 -13
- package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewReducer.js +0 -38
- package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewSelector.d.ts +0 -18
- package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewSelector.js +0 -20
- package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewState.d.ts +0 -6
- package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewState.js +0 -2
- package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogCountsEpic.d.ts +0 -7
- package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogCountsEpic.js +0 -24
- package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogListPageEpic.d.ts +0 -17
- package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogListPageEpic.js +0 -37
- package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogPlanListEpic.d.ts +0 -8
- package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogPlanListEpic.js +0 -47
- package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogProductListEpic.d.ts +0 -8
- package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogProductListEpic.js +0 -50
- package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewPayload.d.ts +0 -7
- package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewPayload.js +0 -2
- package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewReducer.d.ts +0 -49
- package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewReducer.js +0 -136
- package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewSelector.d.ts +0 -28
- package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewSelector.js +0 -29
- package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewState.d.ts +0 -49
- package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewState.js +0 -22
- package/lib/view/invoicing/invoicingCouponDetailView/fetchInvoicingCouponDetailEpic.d.ts +0 -8
- package/lib/view/invoicing/invoicingCouponDetailView/fetchInvoicingCouponDetailEpic.js +0 -26
- package/lib/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewPayload.d.ts +0 -3
- package/lib/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewPayload.js +0 -2
- package/lib/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewReducer.d.ts +0 -16
- package/lib/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewReducer.js +0 -43
- package/lib/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewSelector.d.ts +0 -12
- package/lib/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewSelector.js +0 -18
- package/lib/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewState.d.ts +0 -7
- package/lib/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewState.js +0 -2
- package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewEpics.d.ts +0 -8
- package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewEpics.js +0 -23
- package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewPayload.d.ts +0 -3
- package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewPayload.js +0 -2
- package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewReducer.d.ts +0 -11
- package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewReducer.js +0 -35
- package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewSelector.d.ts +0 -14
- package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewSelector.js +0 -16
- package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewState.d.ts +0 -4
- package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewState.js +0 -2
- package/lib/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteCountsEpic.d.ts +0 -7
- package/lib/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteCountsEpic.js +0 -27
- package/lib/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteListEpic.d.ts +0 -8
- package/lib/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteListEpic.js +0 -47
- package/lib/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteListPageEpic.d.ts +0 -16
- package/lib/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteListPageEpic.js +0 -31
- package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewPayload.d.ts +0 -5
- package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewPayload.js +0 -2
- package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewReducer.d.ts +0 -31
- package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewReducer.js +0 -93
- package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewSelector.d.ts +0 -22
- package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewSelector.js +0 -24
- package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewState.d.ts +0 -42
- package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewState.js +0 -44
- package/lib/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailEpic.d.ts +0 -8
- package/lib/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailEpic.js +0 -26
- package/lib/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailPageEpic.d.ts +0 -18
- package/lib/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailPageEpic.js +0 -45
- package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewPayload.d.ts +0 -3
- package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewPayload.js +0 -2
- package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewReducer.d.ts +0 -22
- package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewReducer.js +0 -56
- package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewSelector.d.ts +0 -25
- package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewSelector.js +0 -32
- package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewState.d.ts +0 -7
- package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewState.js +0 -2
- package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerCountsEpic.d.ts +0 -7
- package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerCountsEpic.js +0 -24
- package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListEpic.d.ts +0 -8
- package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListEpic.js +0 -44
- package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListPageEpic.d.ts +0 -16
- package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListPageEpic.js +0 -31
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewPayload.d.ts +0 -5
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewPayload.js +0 -2
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer.d.ts +0 -31
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer.js +0 -93
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewSelector.d.ts +0 -24
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewSelector.js +0 -24
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewState.d.ts +0 -41
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewState.js +0 -39
- package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewEpics.d.ts +0 -8
- package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewEpics.js +0 -23
- package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewPayload.d.ts +0 -3
- package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewPayload.js +0 -2
- package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewReducer.d.ts +0 -11
- package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewReducer.js +0 -35
- package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewSelector.d.ts +0 -15
- package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewSelector.js +0 -18
- package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewState.d.ts +0 -4
- package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewState.js +0 -2
- package/lib/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseCountsEpic.d.ts +0 -7
- package/lib/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseCountsEpic.js +0 -24
- package/lib/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseListEpic.d.ts +0 -8
- package/lib/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseListEpic.js +0 -44
- package/lib/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseListPageEpic.d.ts +0 -16
- package/lib/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseListPageEpic.js +0 -31
- package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewPayload.d.ts +0 -5
- package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewPayload.js +0 -2
- package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewReducer.d.ts +0 -31
- package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewReducer.js +0 -93
- package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewSelector.d.ts +0 -22
- package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewSelector.js +0 -24
- package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewState.d.ts +0 -41
- package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewState.js +0 -45
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewChurnEpic.d.ts +0 -7
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewChurnEpic.js +0 -21
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewDashboardSummaryEpic.d.ts +0 -7
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewDashboardSummaryEpic.js +0 -21
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewEpic.d.ts +0 -14
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewEpic.js +0 -59
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewKPIsEpic.d.ts +0 -7
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewKPIsEpic.js +0 -21
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewMRREpic.d.ts +0 -7
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewMRREpic.js +0 -21
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewPlanRevenueEpic.d.ts +0 -7
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewPlanRevenueEpic.js +0 -21
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewRevenueEpic.d.ts +0 -7
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewRevenueEpic.js +0 -21
- package/lib/view/invoicing/invoicingOverview/invoicingOverviewPayload.d.ts +0 -98
- package/lib/view/invoicing/invoicingOverview/invoicingOverviewPayload.js +0 -96
- package/lib/view/invoicing/invoicingOverview/invoicingOverviewReducer.d.ts +0 -10
- package/lib/view/invoicing/invoicingOverview/invoicingOverviewReducer.js +0 -119
- package/lib/view/invoicing/invoicingOverview/invoicingOverviewSelector.d.ts +0 -32
- package/lib/view/invoicing/invoicingOverview/invoicingOverviewSelector.js +0 -70
- package/lib/view/invoicing/invoicingOverview/invoicingOverviewState.d.ts +0 -110
- package/lib/view/invoicing/invoicingOverview/invoicingOverviewState.js +0 -2
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewEpics.d.ts +0 -8
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewEpics.js +0 -23
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewPayload.d.ts +0 -3
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewPayload.js +0 -2
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewReducer.d.ts +0 -11
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewReducer.js +0 -35
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewSelector.d.ts +0 -15
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewSelector.js +0 -18
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewState.d.ts +0 -4
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewState.js +0 -2
- package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionCountsEpic.d.ts +0 -7
- package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionCountsEpic.js +0 -27
- package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListEpic.d.ts +0 -8
- package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListEpic.js +0 -53
- package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListPageEpic.d.ts +0 -16
- package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListPageEpic.js +0 -31
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewPayload.d.ts +0 -5
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewPayload.js +0 -2
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer.d.ts +0 -31
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer.js +0 -93
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewSelector.d.ts +0 -25
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewSelector.js +0 -25
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewState.d.ts +0 -44
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewState.js +0 -46
- package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewEpics.d.ts +0 -8
- package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewEpics.js +0 -23
- package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewPayload.d.ts +0 -3
- package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewPayload.js +0 -2
- package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewReducer.d.ts +0 -11
- package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewReducer.js +0 -35
- package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewSelector.d.ts +0 -16
- package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewSelector.js +0 -18
- package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewState.d.ts +0 -4
- package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewState.js +0 -2
- package/lib/view/invoicing/invoicingTransactionListView/epics/fetchInvoicingTransactionListEpic.d.ts +0 -8
- package/lib/view/invoicing/invoicingTransactionListView/epics/fetchInvoicingTransactionListEpic.js +0 -50
- package/lib/view/invoicing/invoicingTransactionListView/epics/fetchInvoicingTransactionListPageEpic.d.ts +0 -16
- package/lib/view/invoicing/invoicingTransactionListView/epics/fetchInvoicingTransactionListPageEpic.js +0 -28
- package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewPayload.d.ts +0 -4
- package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewPayload.js +0 -2
- package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewReducer.d.ts +0 -30
- package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewReducer.js +0 -78
- package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewSelector.d.ts +0 -19
- package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewSelector.js +0 -22
- package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewState.d.ts +0 -40
- package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewState.js +0 -44
- package/lib/view/invoicing/paymentAction/paymentActionEpic.d.ts +0 -8
- package/lib/view/invoicing/paymentAction/paymentActionEpic.js +0 -31
- package/lib/view/invoicing/paymentAction/paymentActionPayload.d.ts +0 -3
- package/lib/view/invoicing/paymentAction/paymentActionPayload.js +0 -2
- package/lib/view/invoicing/paymentAction/paymentActionReducer.d.ts +0 -19
- package/lib/view/invoicing/paymentAction/paymentActionReducer.js +0 -40
- package/lib/view/invoicing/paymentAction/paymentActionRequestPayload.d.ts +0 -7
- package/lib/view/invoicing/paymentAction/paymentActionRequestPayload.js +0 -3
- package/lib/view/invoicing/paymentAction/paymentActionSelector.d.ts +0 -3
- package/lib/view/invoicing/paymentAction/paymentActionSelector.js +0 -9
- package/lib/view/invoicing/paymentAction/paymentActionState.d.ts +0 -5
- package/lib/view/invoicing/paymentAction/paymentActionState.js +0 -2
- package/lib/view/invoicing/recordPayment/recordPaymentEpic.d.ts +0 -8
- package/lib/view/invoicing/recordPayment/recordPaymentEpic.js +0 -26
- package/lib/view/invoicing/recordPayment/recordPaymentPayload.d.ts +0 -23
- package/lib/view/invoicing/recordPayment/recordPaymentPayload.js +0 -2
- package/lib/view/invoicing/recordPayment/recordPaymentReducer.d.ts +0 -10
- package/lib/view/invoicing/recordPayment/recordPaymentReducer.js +0 -40
- package/lib/view/invoicing/recordPayment/recordPaymentSelector.d.ts +0 -4
- package/lib/view/invoicing/recordPayment/recordPaymentSelector.js +0 -10
- package/lib/view/invoicing/recordPayment/recordPaymentState.d.ts +0 -6
- package/lib/view/invoicing/recordPayment/recordPaymentState.js +0 -2
- package/lib/view/invoicing/settingsView/settingsViewEpics.d.ts +0 -10
- package/lib/view/invoicing/settingsView/settingsViewEpics.js +0 -73
- package/lib/view/invoicing/settingsView/settingsViewPayload.d.ts +0 -18
- package/lib/view/invoicing/settingsView/settingsViewPayload.js +0 -2
- package/lib/view/invoicing/settingsView/settingsViewReducer.d.ts +0 -12
- package/lib/view/invoicing/settingsView/settingsViewReducer.js +0 -79
- package/lib/view/invoicing/settingsView/settingsViewSelector.d.ts +0 -7
- package/lib/view/invoicing/settingsView/settingsViewSelector.js +0 -14
- package/lib/view/invoicing/settingsView/settingsViewState.d.ts +0 -7
- package/lib/view/invoicing/settingsView/settingsViewState.js +0 -2
- package/lib/view/invoicing/subscriptionAction/subscriptionActionEpic.d.ts +0 -8
- package/lib/view/invoicing/subscriptionAction/subscriptionActionEpic.js +0 -31
- package/lib/view/invoicing/subscriptionAction/subscriptionActionPayload.d.ts +0 -3
- package/lib/view/invoicing/subscriptionAction/subscriptionActionPayload.js +0 -2
- package/lib/view/invoicing/subscriptionAction/subscriptionActionReducer.d.ts +0 -19
- package/lib/view/invoicing/subscriptionAction/subscriptionActionReducer.js +0 -40
- package/lib/view/invoicing/subscriptionAction/subscriptionActionRequestPayload.d.ts +0 -43
- package/lib/view/invoicing/subscriptionAction/subscriptionActionRequestPayload.js +0 -3
- package/lib/view/invoicing/subscriptionAction/subscriptionActionSelector.d.ts +0 -3
- package/lib/view/invoicing/subscriptionAction/subscriptionActionSelector.js +0 -9
- package/lib/view/invoicing/subscriptionAction/subscriptionActionState.d.ts +0 -5
- package/lib/view/invoicing/subscriptionAction/subscriptionActionState.js +0 -2
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.INVOICING_COUPON_APPLY_ON_OPTIONS = exports.INVOICING_COUPON_PERIOD_UNIT_OPTIONS = exports.INVOICING_COUPON_DURATION_TYPE_OPTIONS = exports.INVOICING_DISCOUNT_TYPE_OPTIONS = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Coupon form select options. Single source of truth (CES-owned) for the value
|
|
6
|
-
* sets that back the coupon's string-union domain fields; surfaced to the form
|
|
7
|
-
* via `getInvoicingCouponFormView` so web-components need not hardcode them.
|
|
8
|
-
*/
|
|
9
|
-
exports.INVOICING_DISCOUNT_TYPE_OPTIONS = [
|
|
10
|
-
{ label: 'Percentage', value: 'percentage' },
|
|
11
|
-
{ label: 'Fixed amount', value: 'fixed_amount' },
|
|
12
|
-
{ label: 'Offer quantity', value: 'offer_quantity' },
|
|
13
|
-
];
|
|
14
|
-
exports.INVOICING_COUPON_DURATION_TYPE_OPTIONS = [
|
|
15
|
-
{ label: 'One time', value: 'one_time' },
|
|
16
|
-
{ label: 'Forever', value: 'forever' },
|
|
17
|
-
{ label: 'Limited period', value: 'limited_period' },
|
|
18
|
-
];
|
|
19
|
-
exports.INVOICING_COUPON_PERIOD_UNIT_OPTIONS = [
|
|
20
|
-
{ label: 'Day', value: 'day' },
|
|
21
|
-
{ label: 'Week', value: 'week' },
|
|
22
|
-
{ label: 'Month', value: 'month' },
|
|
23
|
-
{ label: 'Year', value: 'year' },
|
|
24
|
-
];
|
|
25
|
-
exports.INVOICING_COUPON_APPLY_ON_OPTIONS = [
|
|
26
|
-
{ label: 'Invoice amount', value: 'invoice_amount' },
|
|
27
|
-
{ label: 'Each specified item', value: 'each_specified_item' },
|
|
28
|
-
{ label: 'Specified items total', value: 'specified_items_total' },
|
|
29
|
-
];
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { InvoicingCoupon, InvoicingDiscountKPIs } from './couponState';
|
|
2
|
-
export type InvoicingDiscountType = 'percentage' | 'fixed_amount' | 'offer_quantity';
|
|
3
|
-
export type InvoicingCouponDurationType = 'one_time' | 'forever' | 'limited_period';
|
|
4
|
-
export type InvoicingCouponStatus = 'active' | 'expired' | 'archived';
|
|
5
|
-
export type InvoicingCouponApplyOn = 'invoice_amount' | 'each_specified_item' | 'specified_items_total';
|
|
6
|
-
export type InvoicingCouponPeriodUnit = 'day' | 'week' | 'month' | 'year';
|
|
7
|
-
export interface InvoicingCouponPayload {
|
|
8
|
-
id: string;
|
|
9
|
-
apply_on?: InvoicingCouponApplyOn;
|
|
10
|
-
coupon_code?: string;
|
|
11
|
-
created_at?: string;
|
|
12
|
-
currency_code?: string;
|
|
13
|
-
currency_symbol?: string;
|
|
14
|
-
discount_amount?: number;
|
|
15
|
-
discount_percentage?: number;
|
|
16
|
-
discount_quantity?: number;
|
|
17
|
-
discount_type?: InvoicingDiscountType;
|
|
18
|
-
duration_type?: InvoicingCouponDurationType;
|
|
19
|
-
invoice_name?: string;
|
|
20
|
-
invoice_notes?: string;
|
|
21
|
-
item_constraints?: Record<string, unknown>[];
|
|
22
|
-
max_redemptions?: number;
|
|
23
|
-
name?: string;
|
|
24
|
-
period?: number;
|
|
25
|
-
period_unit?: InvoicingCouponPeriodUnit;
|
|
26
|
-
redemptions?: number;
|
|
27
|
-
restricted_products?: string[];
|
|
28
|
-
rev_rec_treatment?: string;
|
|
29
|
-
status?: InvoicingCouponStatus;
|
|
30
|
-
updated_at?: string;
|
|
31
|
-
valid_from?: string;
|
|
32
|
-
valid_till?: string;
|
|
33
|
-
}
|
|
34
|
-
export interface InvoicingCouponCode {
|
|
35
|
-
code: string;
|
|
36
|
-
coupon_id?: string;
|
|
37
|
-
coupon_set_id?: string;
|
|
38
|
-
status?: string;
|
|
39
|
-
}
|
|
40
|
-
export interface InvoicingCouponSet {
|
|
41
|
-
id: string;
|
|
42
|
-
archived_count?: number;
|
|
43
|
-
codes?: InvoicingCouponCode[];
|
|
44
|
-
coupon_id?: string;
|
|
45
|
-
name?: string;
|
|
46
|
-
redeemed_count?: number;
|
|
47
|
-
total_count?: number;
|
|
48
|
-
}
|
|
49
|
-
export interface InvoicingDiscountKPIsPayload {
|
|
50
|
-
total_active: number;
|
|
51
|
-
total_discounted_amount: number;
|
|
52
|
-
total_expired: number;
|
|
53
|
-
total_redemptions: number;
|
|
54
|
-
}
|
|
55
|
-
export declare const mapInvoicingCouponPayloadToState: (payload: InvoicingCouponPayload) => InvoicingCoupon;
|
|
56
|
-
export declare const mapInvoicingDiscountKPIsPayloadToState: (payload: InvoicingDiscountKPIsPayload) => InvoicingDiscountKPIs;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.mapInvoicingDiscountKPIsPayloadToState = exports.mapInvoicingCouponPayloadToState = void 0;
|
|
4
|
-
const amount_1 = require("../../../commonStateTypes/amount");
|
|
5
|
-
const currencyHelper_1 = require("../../../commonStateTypes/currencyHelper");
|
|
6
|
-
const zeniDayJS_1 = require("../../../zeniDayJS");
|
|
7
|
-
// ── Payload → State mappers (snake_case wire shape → camelCase domain shape) ──
|
|
8
|
-
const mapInvoicingCouponPayloadToState = (payload) => {
|
|
9
|
-
const currencyCode = payload.currency_code ?? currencyHelper_1.defaultCustomerCurrency.currencyCode;
|
|
10
|
-
const currencySymbol = payload.currency_symbol ?? currencyHelper_1.defaultCustomerCurrency.currencySymbol;
|
|
11
|
-
return {
|
|
12
|
-
id: payload.id,
|
|
13
|
-
applyOn: payload.apply_on,
|
|
14
|
-
couponCode: payload.coupon_code,
|
|
15
|
-
createdAt: payload.created_at != null ? (0, zeniDayJS_1.date)(payload.created_at) : undefined,
|
|
16
|
-
currencyCode: payload.currency_code,
|
|
17
|
-
discountAmount: payload.discount_amount != null
|
|
18
|
-
? (0, amount_1.toAmount)(payload.discount_amount, currencyCode, currencySymbol)
|
|
19
|
-
: undefined,
|
|
20
|
-
discountPercentage: payload.discount_percentage,
|
|
21
|
-
discountQuantity: payload.discount_quantity,
|
|
22
|
-
discountType: payload.discount_type,
|
|
23
|
-
durationType: payload.duration_type,
|
|
24
|
-
invoiceName: payload.invoice_name,
|
|
25
|
-
invoiceNotes: payload.invoice_notes,
|
|
26
|
-
itemConstraints: payload.item_constraints,
|
|
27
|
-
maxRedemptions: payload.max_redemptions,
|
|
28
|
-
name: payload.name,
|
|
29
|
-
period: payload.period,
|
|
30
|
-
periodUnit: payload.period_unit,
|
|
31
|
-
redemptions: payload.redemptions,
|
|
32
|
-
restrictedProducts: payload.restricted_products,
|
|
33
|
-
revRecTreatment: payload.rev_rec_treatment,
|
|
34
|
-
status: payload.status,
|
|
35
|
-
updatedAt: payload.updated_at != null ? (0, zeniDayJS_1.date)(payload.updated_at) : undefined,
|
|
36
|
-
validFrom: payload.valid_from != null ? (0, zeniDayJS_1.date)(payload.valid_from) : undefined,
|
|
37
|
-
validTill: payload.valid_till != null ? (0, zeniDayJS_1.date)(payload.valid_till) : undefined,
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
exports.mapInvoicingCouponPayloadToState = mapInvoicingCouponPayloadToState;
|
|
41
|
-
const mapInvoicingDiscountKPIsPayloadToState = (payload) => ({
|
|
42
|
-
totalActive: payload.total_active,
|
|
43
|
-
totalDiscountedAmount: (0, amount_1.toAmount)(payload.total_discounted_amount, currencyHelper_1.defaultCustomerCurrency.currencyCode, currencyHelper_1.defaultCustomerCurrency.currencySymbol),
|
|
44
|
-
totalExpired: payload.total_expired,
|
|
45
|
-
totalRedemptions: payload.total_redemptions,
|
|
46
|
-
});
|
|
47
|
-
exports.mapInvoicingDiscountKPIsPayloadToState = mapInvoicingDiscountKPIsPayloadToState;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { UpdateType } from '../../../commonStateTypes/common';
|
|
2
|
-
import { InvoicingCouponPayload } from './couponPayload';
|
|
3
|
-
import { InvoicingCouponState } from './couponState';
|
|
4
|
-
export declare const initialState: InvoicingCouponState;
|
|
5
|
-
export declare const updateInvoicingCoupons: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: InvoicingCouponPayload[], updateType?: UpdateType | undefined], InvoicingCouponPayload[], "invoicingCoupon/updateInvoicingCoupons", never, {
|
|
6
|
-
updateType: UpdateType;
|
|
7
|
-
}>, removeInvoicingCoupon: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "invoicingCoupon/removeInvoicingCoupon">, clearAllInvoicingCoupons: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"invoicingCoupon/clearAllInvoicingCoupons">;
|
|
8
|
-
declare const _default: import("redux").Reducer<InvoicingCouponState>;
|
|
9
|
-
export default _default;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
var _a;
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.clearAllInvoicingCoupons = exports.removeInvoicingCoupon = exports.updateInvoicingCoupons = exports.initialState = void 0;
|
|
8
|
-
const toolkit_1 = require("@reduxjs/toolkit");
|
|
9
|
-
const assignWith_1 = __importDefault(require("lodash/assignWith"));
|
|
10
|
-
const couponPayload_1 = require("./couponPayload");
|
|
11
|
-
exports.initialState = { couponByID: {} };
|
|
12
|
-
const coupon = (0, toolkit_1.createSlice)({
|
|
13
|
-
name: 'invoicingCoupon',
|
|
14
|
-
initialState: exports.initialState,
|
|
15
|
-
reducers: {
|
|
16
|
-
updateInvoicingCoupons: {
|
|
17
|
-
reducer(draft, action) {
|
|
18
|
-
doUpdateInvoicingCoupons(draft.couponByID, action.payload, action.meta.updateType);
|
|
19
|
-
},
|
|
20
|
-
prepare(payload, updateType = 'replace') {
|
|
21
|
-
return { payload, meta: { updateType } };
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
removeInvoicingCoupon(draft, action) {
|
|
25
|
-
delete draft.couponByID[action.payload];
|
|
26
|
-
},
|
|
27
|
-
clearAllInvoicingCoupons(draft) {
|
|
28
|
-
Object.assign(draft, exports.initialState);
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
});
|
|
32
|
-
_a = coupon.actions, exports.updateInvoicingCoupons = _a.updateInvoicingCoupons, exports.removeInvoicingCoupon = _a.removeInvoicingCoupon, exports.clearAllInvoicingCoupons = _a.clearAllInvoicingCoupons;
|
|
33
|
-
exports.default = coupon.reducer;
|
|
34
|
-
/**
|
|
35
|
-
* Helper functions.
|
|
36
|
-
*/
|
|
37
|
-
function doUpdateInvoicingCoupons(draft, payload, updateType) {
|
|
38
|
-
payload.forEach((couponPayload) => {
|
|
39
|
-
const latestCoupon = (0, couponPayload_1.mapInvoicingCouponPayloadToState)(couponPayload);
|
|
40
|
-
if (latestCoupon.id in draft && updateType === 'merge') {
|
|
41
|
-
(0, assignWith_1.default)(draft[latestCoupon.id], latestCoupon, (objValue, srcValue) => srcValue == null ? objValue : srcValue);
|
|
42
|
-
}
|
|
43
|
-
else {
|
|
44
|
-
draft[latestCoupon.id] = latestCoupon;
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ID } from '../../../commonStateTypes/common';
|
|
2
|
-
import { RootState } from '../../../reducer';
|
|
3
|
-
import { InvoicingCoupon } from './couponState';
|
|
4
|
-
export declare const getInvoicingCouponById: (state: RootState, id: ID) => InvoicingCoupon | undefined;
|
|
5
|
-
export declare const getInvoicingCouponsByIds: (state: RootState, ids: ID[]) => InvoicingCoupon[];
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getInvoicingCouponsByIds = exports.getInvoicingCouponById = void 0;
|
|
4
|
-
const getInvoicingCouponById = (state, id) => state.invoicingCouponState.couponByID[id];
|
|
5
|
-
exports.getInvoicingCouponById = getInvoicingCouponById;
|
|
6
|
-
const getInvoicingCouponsByIds = (state, ids) => ids
|
|
7
|
-
.map((id) => state.invoicingCouponState.couponByID[id])
|
|
8
|
-
.filter((coupon) => coupon != null);
|
|
9
|
-
exports.getInvoicingCouponsByIds = getInvoicingCouponsByIds;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { Amount } from '../../../commonStateTypes/amount';
|
|
2
|
-
import { ID } from '../../../commonStateTypes/common';
|
|
3
|
-
import { ZeniDate } from '../../../zeniDayJS';
|
|
4
|
-
import { InvoicingCouponApplyOn, InvoicingCouponDurationType, InvoicingCouponPeriodUnit, InvoicingCouponStatus, InvoicingDiscountType } from './couponPayload';
|
|
5
|
-
export interface InvoicingCoupon {
|
|
6
|
-
id: ID;
|
|
7
|
-
applyOn?: InvoicingCouponApplyOn;
|
|
8
|
-
couponCode?: string;
|
|
9
|
-
createdAt?: ZeniDate;
|
|
10
|
-
currencyCode?: string;
|
|
11
|
-
discountAmount?: Amount;
|
|
12
|
-
discountPercentage?: number;
|
|
13
|
-
discountQuantity?: number;
|
|
14
|
-
discountType?: InvoicingDiscountType;
|
|
15
|
-
durationType?: InvoicingCouponDurationType;
|
|
16
|
-
invoiceName?: string;
|
|
17
|
-
invoiceNotes?: string;
|
|
18
|
-
itemConstraints?: Record<string, unknown>[];
|
|
19
|
-
maxRedemptions?: number;
|
|
20
|
-
name?: string;
|
|
21
|
-
period?: number;
|
|
22
|
-
periodUnit?: InvoicingCouponPeriodUnit;
|
|
23
|
-
redemptions?: number;
|
|
24
|
-
restrictedProducts?: ID[];
|
|
25
|
-
revRecTreatment?: string;
|
|
26
|
-
status?: InvoicingCouponStatus;
|
|
27
|
-
updatedAt?: ZeniDate;
|
|
28
|
-
validFrom?: ZeniDate;
|
|
29
|
-
validTill?: ZeniDate;
|
|
30
|
-
}
|
|
31
|
-
export interface InvoicingDiscountKPIs {
|
|
32
|
-
totalActive: number;
|
|
33
|
-
totalDiscountedAmount: Amount;
|
|
34
|
-
totalExpired: number;
|
|
35
|
-
totalRedemptions: number;
|
|
36
|
-
}
|
|
37
|
-
export interface InvoicingCouponState {
|
|
38
|
-
couponByID: Record<ID, InvoicingCoupon>;
|
|
39
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { InvoicingPriceType } from '../invoicingCommonPayload';
|
|
2
|
-
import { InvoicingCreditNote, InvoicingCreditNoteAllocation, InvoicingCreditNoteLineItem } from './creditNoteState';
|
|
3
|
-
export type InvoicingCreditNoteStatus = 'adjusted' | 'refunded' | 'refund_due' | 'voided' | 'open' | 'closed' | 'partially_used';
|
|
4
|
-
export type InvoicingCreditNoteType = 'adjustment' | 'refundable' | 'store' | 'referral';
|
|
5
|
-
export interface InvoicingCreditNoteLineItemPayload {
|
|
6
|
-
amount: number;
|
|
7
|
-
description: string;
|
|
8
|
-
quantity: number;
|
|
9
|
-
unit_amount: number;
|
|
10
|
-
entity_type?: string;
|
|
11
|
-
id?: string;
|
|
12
|
-
}
|
|
13
|
-
export interface InvoicingCreditNoteAllocationPayload {
|
|
14
|
-
allocated_amount: number;
|
|
15
|
-
invoice_id: string;
|
|
16
|
-
allocated_at?: string;
|
|
17
|
-
}
|
|
18
|
-
export interface InvoicingCreditNotePayload {
|
|
19
|
-
id: string;
|
|
20
|
-
allocations?: InvoicingCreditNoteAllocationPayload[];
|
|
21
|
-
amount_allocated?: number;
|
|
22
|
-
amount_available?: number;
|
|
23
|
-
amount_refunded?: number;
|
|
24
|
-
create_reason_code?: string;
|
|
25
|
-
created_at?: string;
|
|
26
|
-
credit_note_number?: string;
|
|
27
|
-
currency_code?: string;
|
|
28
|
-
customer_id?: string;
|
|
29
|
-
customer_name?: string;
|
|
30
|
-
date?: string;
|
|
31
|
-
line_items?: InvoicingCreditNoteLineItemPayload[];
|
|
32
|
-
linked_refunds?: string[];
|
|
33
|
-
notes?: string;
|
|
34
|
-
price_type?: InvoicingPriceType;
|
|
35
|
-
reason_code?: string;
|
|
36
|
-
reference_invoice_id?: string;
|
|
37
|
-
status?: InvoicingCreditNoteStatus;
|
|
38
|
-
sub_total?: number;
|
|
39
|
-
subscription_id?: string;
|
|
40
|
-
total?: number;
|
|
41
|
-
type?: InvoicingCreditNoteType;
|
|
42
|
-
}
|
|
43
|
-
export declare const mapInvoicingCreditNoteLineItemPayloadToState: (payload: InvoicingCreditNoteLineItemPayload, currencyCode: string, currencySymbol: string) => InvoicingCreditNoteLineItem;
|
|
44
|
-
export declare const mapInvoicingCreditNoteAllocationPayloadToState: (payload: InvoicingCreditNoteAllocationPayload, currencyCode: string, currencySymbol: string) => InvoicingCreditNoteAllocation;
|
|
45
|
-
export declare const mapInvoicingCreditNotePayloadToState: (payload: InvoicingCreditNotePayload) => InvoicingCreditNote;
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.mapInvoicingCreditNotePayloadToState = exports.mapInvoicingCreditNoteAllocationPayloadToState = exports.mapInvoicingCreditNoteLineItemPayloadToState = void 0;
|
|
4
|
-
const amount_1 = require("../../../commonStateTypes/amount");
|
|
5
|
-
const zeniDayJS_1 = require("../../../zeniDayJS");
|
|
6
|
-
// ── Payload → State mappers (snake_case wire shape → camelCase domain shape) ──
|
|
7
|
-
const DEFAULT_CURRENCY_CODE = 'USD';
|
|
8
|
-
const DEFAULT_CURRENCY_SYMBOL = '$';
|
|
9
|
-
const mapInvoicingCreditNoteLineItemPayloadToState = (payload, currencyCode, currencySymbol) => ({
|
|
10
|
-
amount: (0, amount_1.toAmount)(payload.amount, currencyCode, currencySymbol),
|
|
11
|
-
description: payload.description,
|
|
12
|
-
quantity: payload.quantity,
|
|
13
|
-
unitAmount: (0, amount_1.toAmount)(payload.unit_amount, currencyCode, currencySymbol),
|
|
14
|
-
entityType: payload.entity_type,
|
|
15
|
-
id: payload.id,
|
|
16
|
-
});
|
|
17
|
-
exports.mapInvoicingCreditNoteLineItemPayloadToState = mapInvoicingCreditNoteLineItemPayloadToState;
|
|
18
|
-
const mapInvoicingCreditNoteAllocationPayloadToState = (payload, currencyCode, currencySymbol) => ({
|
|
19
|
-
allocatedAmount: (0, amount_1.toAmount)(payload.allocated_amount, currencyCode, currencySymbol),
|
|
20
|
-
invoiceID: payload.invoice_id,
|
|
21
|
-
allocatedAt: payload.allocated_at != null ? (0, zeniDayJS_1.date)(payload.allocated_at) : undefined,
|
|
22
|
-
});
|
|
23
|
-
exports.mapInvoicingCreditNoteAllocationPayloadToState = mapInvoicingCreditNoteAllocationPayloadToState;
|
|
24
|
-
const mapInvoicingCreditNotePayloadToState = (payload) => {
|
|
25
|
-
const currencyCode = payload.currency_code ?? DEFAULT_CURRENCY_CODE;
|
|
26
|
-
const currencySymbol = DEFAULT_CURRENCY_SYMBOL;
|
|
27
|
-
const toAmt = (value) => (0, amount_1.toAmount)(value, currencyCode, currencySymbol);
|
|
28
|
-
return {
|
|
29
|
-
id: payload.id,
|
|
30
|
-
allocations: payload.allocations?.map((allocation) => (0, exports.mapInvoicingCreditNoteAllocationPayloadToState)(allocation, currencyCode, currencySymbol)),
|
|
31
|
-
amountAllocated: payload.amount_allocated != null
|
|
32
|
-
? toAmt(payload.amount_allocated)
|
|
33
|
-
: undefined,
|
|
34
|
-
amountAvailable: payload.amount_available != null
|
|
35
|
-
? toAmt(payload.amount_available)
|
|
36
|
-
: undefined,
|
|
37
|
-
amountRefunded: payload.amount_refunded != null
|
|
38
|
-
? toAmt(payload.amount_refunded)
|
|
39
|
-
: undefined,
|
|
40
|
-
createReasonCode: payload.create_reason_code,
|
|
41
|
-
createdAt: payload.created_at != null ? (0, zeniDayJS_1.date)(payload.created_at) : undefined,
|
|
42
|
-
creditNoteNumber: payload.credit_note_number,
|
|
43
|
-
currencyCode: payload.currency_code,
|
|
44
|
-
customerID: payload.customer_id,
|
|
45
|
-
customerName: payload.customer_name,
|
|
46
|
-
date: payload.date != null ? (0, zeniDayJS_1.date)(payload.date) : undefined,
|
|
47
|
-
lineItems: payload.line_items?.map((lineItem) => (0, exports.mapInvoicingCreditNoteLineItemPayloadToState)(lineItem, currencyCode, currencySymbol)),
|
|
48
|
-
linkedRefunds: payload.linked_refunds,
|
|
49
|
-
notes: payload.notes,
|
|
50
|
-
priceType: payload.price_type,
|
|
51
|
-
reasonCode: payload.reason_code,
|
|
52
|
-
referenceInvoiceID: payload.reference_invoice_id,
|
|
53
|
-
status: payload.status,
|
|
54
|
-
subTotal: payload.sub_total != null ? toAmt(payload.sub_total) : undefined,
|
|
55
|
-
subscriptionID: payload.subscription_id,
|
|
56
|
-
total: payload.total != null ? toAmt(payload.total) : undefined,
|
|
57
|
-
type: payload.type,
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
exports.mapInvoicingCreditNotePayloadToState = mapInvoicingCreditNotePayloadToState;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { UpdateType } from '../../../commonStateTypes/common';
|
|
2
|
-
import { InvoicingCreditNotePayload } from './creditNotePayload';
|
|
3
|
-
import { InvoicingCreditNoteState } from './creditNoteState';
|
|
4
|
-
export declare const initialState: InvoicingCreditNoteState;
|
|
5
|
-
export declare const updateInvoicingCreditNotes: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: InvoicingCreditNotePayload[], updateType?: UpdateType | undefined], InvoicingCreditNotePayload[], "invoicingCreditNote/updateInvoicingCreditNotes", never, {
|
|
6
|
-
updateType: UpdateType;
|
|
7
|
-
}>, removeInvoicingCreditNote: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "invoicingCreditNote/removeInvoicingCreditNote">, clearAllInvoicingCreditNotes: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"invoicingCreditNote/clearAllInvoicingCreditNotes">;
|
|
8
|
-
declare const _default: import("redux").Reducer<InvoicingCreditNoteState>;
|
|
9
|
-
export default _default;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
var _a;
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.clearAllInvoicingCreditNotes = exports.removeInvoicingCreditNote = exports.updateInvoicingCreditNotes = exports.initialState = void 0;
|
|
8
|
-
const toolkit_1 = require("@reduxjs/toolkit");
|
|
9
|
-
const assignWith_1 = __importDefault(require("lodash/assignWith"));
|
|
10
|
-
const creditNotePayload_1 = require("./creditNotePayload");
|
|
11
|
-
exports.initialState = {
|
|
12
|
-
creditNoteByID: {},
|
|
13
|
-
};
|
|
14
|
-
const creditNote = (0, toolkit_1.createSlice)({
|
|
15
|
-
name: 'invoicingCreditNote',
|
|
16
|
-
initialState: exports.initialState,
|
|
17
|
-
reducers: {
|
|
18
|
-
updateInvoicingCreditNotes: {
|
|
19
|
-
reducer(draft, action) {
|
|
20
|
-
doUpdateInvoicingCreditNotes(draft.creditNoteByID, action.payload, action.meta.updateType);
|
|
21
|
-
},
|
|
22
|
-
prepare(payload, updateType = 'replace') {
|
|
23
|
-
return { payload, meta: { updateType } };
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
removeInvoicingCreditNote(draft, action) {
|
|
27
|
-
delete draft.creditNoteByID[action.payload];
|
|
28
|
-
},
|
|
29
|
-
clearAllInvoicingCreditNotes(draft) {
|
|
30
|
-
Object.assign(draft, exports.initialState);
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
});
|
|
34
|
-
_a = creditNote.actions, exports.updateInvoicingCreditNotes = _a.updateInvoicingCreditNotes, exports.removeInvoicingCreditNote = _a.removeInvoicingCreditNote, exports.clearAllInvoicingCreditNotes = _a.clearAllInvoicingCreditNotes;
|
|
35
|
-
exports.default = creditNote.reducer;
|
|
36
|
-
/**
|
|
37
|
-
* Helper functions.
|
|
38
|
-
*/
|
|
39
|
-
function doUpdateInvoicingCreditNotes(draft, payload, updateType) {
|
|
40
|
-
payload.forEach((creditNotePayload) => {
|
|
41
|
-
const latestCreditNote = (0, creditNotePayload_1.mapInvoicingCreditNotePayloadToState)(creditNotePayload);
|
|
42
|
-
if (latestCreditNote.id in draft && updateType === 'merge') {
|
|
43
|
-
(0, assignWith_1.default)(draft[latestCreditNote.id], latestCreditNote, (objValue, srcValue) => (srcValue == null ? objValue : srcValue));
|
|
44
|
-
}
|
|
45
|
-
else {
|
|
46
|
-
draft[latestCreditNote.id] = latestCreditNote;
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ID } from '../../../commonStateTypes/common';
|
|
2
|
-
import { InvoicingCreditNote, InvoicingCreditNoteState } from './creditNoteState';
|
|
3
|
-
export declare function getInvoicingCreditNotesByIds(creditNoteState: InvoicingCreditNoteState, ids: ID[]): InvoicingCreditNote[];
|
|
4
|
-
export declare function getInvoicingCreditNoteById(creditNoteState: InvoicingCreditNoteState, id: ID): InvoicingCreditNote | undefined;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.getInvoicingCreditNotesByIds = getInvoicingCreditNotesByIds;
|
|
7
|
-
exports.getInvoicingCreditNoteById = getInvoicingCreditNoteById;
|
|
8
|
-
const get_1 = __importDefault(require("lodash/get"));
|
|
9
|
-
function getInvoicingCreditNotesByIds(creditNoteState, ids) {
|
|
10
|
-
const creditNotes = ids
|
|
11
|
-
.map((id) => getInvoicingCreditNoteById(creditNoteState, id))
|
|
12
|
-
.filter((value) => value != null);
|
|
13
|
-
return creditNotes;
|
|
14
|
-
}
|
|
15
|
-
function getInvoicingCreditNoteById(creditNoteState, id) {
|
|
16
|
-
return (0, get_1.default)(creditNoteState.creditNoteByID, id);
|
|
17
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { Amount } from '../../../commonStateTypes/amount';
|
|
2
|
-
import { ID } from '../../../commonStateTypes/common';
|
|
3
|
-
import { ZeniDate } from '../../../zeniDayJS';
|
|
4
|
-
import { InvoicingPriceType } from '../invoicingCommonPayload';
|
|
5
|
-
import { InvoicingCreditNoteStatus, InvoicingCreditNoteType } from './creditNotePayload';
|
|
6
|
-
export interface InvoicingCreditNoteLineItem {
|
|
7
|
-
amount: Amount;
|
|
8
|
-
description: string;
|
|
9
|
-
quantity: number;
|
|
10
|
-
unitAmount: Amount;
|
|
11
|
-
entityType?: string;
|
|
12
|
-
id?: ID;
|
|
13
|
-
}
|
|
14
|
-
export interface InvoicingCreditNoteAllocation {
|
|
15
|
-
allocatedAmount: Amount;
|
|
16
|
-
invoiceID: ID;
|
|
17
|
-
allocatedAt?: ZeniDate;
|
|
18
|
-
}
|
|
19
|
-
export interface InvoicingCreditNote {
|
|
20
|
-
id: ID;
|
|
21
|
-
allocations?: InvoicingCreditNoteAllocation[];
|
|
22
|
-
amountAllocated?: Amount;
|
|
23
|
-
amountAvailable?: Amount;
|
|
24
|
-
amountRefunded?: Amount;
|
|
25
|
-
createdAt?: ZeniDate;
|
|
26
|
-
createReasonCode?: string;
|
|
27
|
-
creditNoteNumber?: string;
|
|
28
|
-
currencyCode?: string;
|
|
29
|
-
customerID?: ID;
|
|
30
|
-
customerName?: string;
|
|
31
|
-
date?: ZeniDate;
|
|
32
|
-
lineItems?: InvoicingCreditNoteLineItem[];
|
|
33
|
-
linkedRefunds?: ID[];
|
|
34
|
-
notes?: string;
|
|
35
|
-
priceType?: InvoicingPriceType;
|
|
36
|
-
reasonCode?: string;
|
|
37
|
-
referenceInvoiceID?: ID;
|
|
38
|
-
status?: InvoicingCreditNoteStatus;
|
|
39
|
-
subscriptionID?: ID;
|
|
40
|
-
subTotal?: Amount;
|
|
41
|
-
total?: Amount;
|
|
42
|
-
type?: InvoicingCreditNoteType;
|
|
43
|
-
}
|
|
44
|
-
export interface InvoicingCreditNoteState {
|
|
45
|
-
creditNoteByID: Record<ID, InvoicingCreditNote>;
|
|
46
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { InvoicingDunningCase } from './dunningCaseState';
|
|
2
|
-
export type InvoicingDunningStatus = 'Retrying' | 'Scheduled' | 'Manual Review' | 'Resolved' | 'Cancelled' | 'Paused';
|
|
3
|
-
export interface InvoicingDunningCasePayload {
|
|
4
|
-
id: string;
|
|
5
|
-
status: InvoicingDunningStatus;
|
|
6
|
-
amount?: number;
|
|
7
|
-
attempts?: number;
|
|
8
|
-
created_at?: string;
|
|
9
|
-
currency_code?: string;
|
|
10
|
-
currency_symbol?: string;
|
|
11
|
-
customer?: string;
|
|
12
|
-
customer_email?: string;
|
|
13
|
-
customer_id?: string;
|
|
14
|
-
days_past_due?: number;
|
|
15
|
-
failure_reason?: string;
|
|
16
|
-
initials?: string;
|
|
17
|
-
invoice_id?: string;
|
|
18
|
-
last_attempt?: string;
|
|
19
|
-
max_attempts?: number;
|
|
20
|
-
next_retry?: string;
|
|
21
|
-
paused_reason?: string;
|
|
22
|
-
paused_until?: string;
|
|
23
|
-
subscription_id?: string;
|
|
24
|
-
}
|
|
25
|
-
export declare const mapInvoicingDunningCasePayloadToState: (payload: InvoicingDunningCasePayload) => InvoicingDunningCase;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.mapInvoicingDunningCasePayloadToState = void 0;
|
|
4
|
-
const amount_1 = require("../../../commonStateTypes/amount");
|
|
5
|
-
const currencyHelper_1 = require("../../../commonStateTypes/currencyHelper");
|
|
6
|
-
const zeniDayJS_1 = require("../../../zeniDayJS");
|
|
7
|
-
// ── Payload → State mappers (snake_case wire shape → camelCase domain shape) ──
|
|
8
|
-
const mapInvoicingDunningCasePayloadToState = (payload) => {
|
|
9
|
-
const currencyCode = payload.currency_code ?? currencyHelper_1.defaultCustomerCurrency.currencyCode;
|
|
10
|
-
const currencySymbol = payload.currency_symbol ?? currencyHelper_1.defaultCustomerCurrency.currencySymbol;
|
|
11
|
-
return {
|
|
12
|
-
id: payload.id,
|
|
13
|
-
status: payload.status,
|
|
14
|
-
amount: payload.amount != null
|
|
15
|
-
? (0, amount_1.toAmount)(payload.amount, currencyCode, currencySymbol)
|
|
16
|
-
: undefined,
|
|
17
|
-
attempts: payload.attempts,
|
|
18
|
-
createdAt: payload.created_at != null ? (0, zeniDayJS_1.date)(payload.created_at) : undefined,
|
|
19
|
-
currencyCode: payload.currency_code,
|
|
20
|
-
customer: payload.customer,
|
|
21
|
-
customerEmail: payload.customer_email,
|
|
22
|
-
customerID: payload.customer_id,
|
|
23
|
-
daysPastDue: payload.days_past_due,
|
|
24
|
-
failureReason: payload.failure_reason,
|
|
25
|
-
initials: payload.initials,
|
|
26
|
-
invoiceID: payload.invoice_id,
|
|
27
|
-
lastAttempt: payload.last_attempt != null ? (0, zeniDayJS_1.date)(payload.last_attempt) : undefined,
|
|
28
|
-
maxAttempts: payload.max_attempts,
|
|
29
|
-
nextRetry: payload.next_retry != null ? (0, zeniDayJS_1.date)(payload.next_retry) : undefined,
|
|
30
|
-
pausedReason: payload.paused_reason,
|
|
31
|
-
pausedUntil: payload.paused_until != null ? (0, zeniDayJS_1.date)(payload.paused_until) : undefined,
|
|
32
|
-
subscriptionID: payload.subscription_id,
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
exports.mapInvoicingDunningCasePayloadToState = mapInvoicingDunningCasePayloadToState;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { UpdateType } from '../../../commonStateTypes/common';
|
|
2
|
-
import { InvoicingDunningCasePayload } from './dunningCasePayload';
|
|
3
|
-
import { InvoicingDunningCaseState } from './dunningCaseState';
|
|
4
|
-
export declare const initialState: InvoicingDunningCaseState;
|
|
5
|
-
export declare const updateInvoicingDunningCases: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: InvoicingDunningCasePayload[], updateType?: UpdateType | undefined], InvoicingDunningCasePayload[], "invoicingDunningCase/updateInvoicingDunningCases", never, {
|
|
6
|
-
updateType: UpdateType;
|
|
7
|
-
}>, removeInvoicingDunningCase: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "invoicingDunningCase/removeInvoicingDunningCase">, clearAllInvoicingDunningCases: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"invoicingDunningCase/clearAllInvoicingDunningCases">;
|
|
8
|
-
declare const _default: import("redux").Reducer<InvoicingDunningCaseState>;
|
|
9
|
-
export default _default;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
var _a;
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.clearAllInvoicingDunningCases = exports.removeInvoicingDunningCase = exports.updateInvoicingDunningCases = exports.initialState = void 0;
|
|
8
|
-
const toolkit_1 = require("@reduxjs/toolkit");
|
|
9
|
-
const assignWith_1 = __importDefault(require("lodash/assignWith"));
|
|
10
|
-
const dunningCasePayload_1 = require("./dunningCasePayload");
|
|
11
|
-
exports.initialState = {
|
|
12
|
-
dunningCaseByID: {},
|
|
13
|
-
};
|
|
14
|
-
const dunningCase = (0, toolkit_1.createSlice)({
|
|
15
|
-
name: 'invoicingDunningCase',
|
|
16
|
-
initialState: exports.initialState,
|
|
17
|
-
reducers: {
|
|
18
|
-
updateInvoicingDunningCases: {
|
|
19
|
-
reducer(draft, action) {
|
|
20
|
-
doUpdateInvoicingDunningCases(draft.dunningCaseByID, action.payload, action.meta.updateType);
|
|
21
|
-
},
|
|
22
|
-
prepare(payload, updateType = 'replace') {
|
|
23
|
-
return { payload, meta: { updateType } };
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
removeInvoicingDunningCase(draft, action) {
|
|
27
|
-
delete draft.dunningCaseByID[action.payload];
|
|
28
|
-
},
|
|
29
|
-
clearAllInvoicingDunningCases(draft) {
|
|
30
|
-
Object.assign(draft, exports.initialState);
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
});
|
|
34
|
-
_a = dunningCase.actions, exports.updateInvoicingDunningCases = _a.updateInvoicingDunningCases, exports.removeInvoicingDunningCase = _a.removeInvoicingDunningCase, exports.clearAllInvoicingDunningCases = _a.clearAllInvoicingDunningCases;
|
|
35
|
-
exports.default = dunningCase.reducer;
|
|
36
|
-
/**
|
|
37
|
-
* Helper functions.
|
|
38
|
-
*/
|
|
39
|
-
function doUpdateInvoicingDunningCases(draft, payload, updateType) {
|
|
40
|
-
payload.forEach((dunningCasePayload) => {
|
|
41
|
-
const latestDunningCase = (0, dunningCasePayload_1.mapInvoicingDunningCasePayloadToState)(dunningCasePayload);
|
|
42
|
-
if (latestDunningCase.id in draft && updateType === 'merge') {
|
|
43
|
-
(0, assignWith_1.default)(draft[latestDunningCase.id], latestDunningCase, (objValue, srcValue) => (srcValue == null ? objValue : srcValue));
|
|
44
|
-
}
|
|
45
|
-
else {
|
|
46
|
-
draft[latestDunningCase.id] = latestDunningCase;
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ID } from '../../../commonStateTypes/common';
|
|
2
|
-
import { InvoicingDunningCase, InvoicingDunningCaseState } from './dunningCaseState';
|
|
3
|
-
export declare function getInvoicingDunningCasesByIds(dunningCaseState: InvoicingDunningCaseState, ids: ID[]): InvoicingDunningCase[];
|
|
4
|
-
export declare function getInvoicingDunningCaseById(dunningCaseState: InvoicingDunningCaseState, id: ID): InvoicingDunningCase | undefined;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.getInvoicingDunningCasesByIds = getInvoicingDunningCasesByIds;
|
|
7
|
-
exports.getInvoicingDunningCaseById = getInvoicingDunningCaseById;
|
|
8
|
-
const get_1 = __importDefault(require("lodash/get"));
|
|
9
|
-
function getInvoicingDunningCasesByIds(dunningCaseState, ids) {
|
|
10
|
-
const dunningCases = ids
|
|
11
|
-
.map((id) => getInvoicingDunningCaseById(dunningCaseState, id))
|
|
12
|
-
.filter((value) => value != null);
|
|
13
|
-
return dunningCases;
|
|
14
|
-
}
|
|
15
|
-
function getInvoicingDunningCaseById(dunningCaseState, id) {
|
|
16
|
-
return (0, get_1.default)(dunningCaseState.dunningCaseByID, id);
|
|
17
|
-
}
|