@zeniai/client-epic-state 5.1.60-betaAK0 → 5.1.60-betaDI0
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/coreEpics.js +3 -2
- package/lib/entity/chargeCard/chargeCard.d.ts +1 -1
- package/lib/entity/notificationRegistry/notificationRegistryPayload.d.ts +18 -0
- package/lib/entity/notificationRegistry/notificationRegistryPayload.js +28 -0
- package/lib/entity/notificationRegistry/notificationRegistryReducer.d.ts +6 -0
- package/lib/entity/notificationRegistry/notificationRegistryReducer.js +26 -0
- package/lib/entity/notificationRegistry/notificationRegistrySelector.d.ts +2 -0
- package/lib/entity/notificationRegistry/notificationRegistrySelector.js +10 -0
- package/lib/entity/notificationRegistry/notificationRegistryState.d.ts +31 -0
- package/lib/entity/notificationRegistry/notificationRegistryState.js +10 -0
- package/lib/entity/tenant/clearAllEpic.d.ts +4 -48
- package/lib/entity/tenant/clearAllEpic.js +6 -94
- package/lib/entity/tenant/tenantReducer.js +3 -3
- package/lib/entity/userRole/userRoleType.d.ts +0 -1
- package/lib/entity/userRole/userRoleType.js +1 -15
- package/lib/epic.d.ts +2 -42
- package/lib/epic.js +2 -68
- package/lib/esm/coreEpics.js +3 -2
- package/lib/esm/entity/notificationRegistry/notificationRegistryPayload.js +24 -0
- package/lib/esm/entity/notificationRegistry/notificationRegistryReducer.js +22 -0
- package/lib/esm/entity/notificationRegistry/notificationRegistrySelector.js +6 -0
- package/lib/esm/entity/notificationRegistry/notificationRegistryState.js +5 -0
- package/lib/esm/entity/tenant/clearAllEpic.js +4 -92
- package/lib/esm/entity/tenant/tenantReducer.js +3 -3
- package/lib/esm/entity/transactionActivityLog/transactionActivityLogPayload.js +1 -1
- package/lib/esm/entity/userRole/userRoleType.js +0 -13
- package/lib/esm/epic.js +2 -68
- package/lib/esm/index.js +7 -126
- package/lib/esm/reducer.js +6 -141
- 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/fileView/fileUploadHelpers.js +2 -1
- package/lib/esm/view/notificationPreferencesView/epics/saveNotificationPreferencesEpic.js +116 -0
- package/lib/esm/view/notificationPreferencesView/notificationPreferencesEndpoint.js +5 -0
- package/lib/esm/view/notificationPreferencesView/notificationPreferencesViewPayload.js +36 -0
- package/lib/esm/view/notificationPreferencesView/notificationPreferencesViewReducer.js +222 -0
- package/lib/esm/view/notificationPreferencesView/notificationPreferencesViewSelector.js +25 -0
- package/lib/esm/view/notificationPreferencesView/notificationPreferencesViewState.js +4 -0
- 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/settingsView/epic/fetchNotificationSettingsEpic.js +21 -2
- package/lib/esm/view/settingsView/epic/saveNotificationSettingsEpic.js +2 -1
- package/lib/esm/view/settingsView/settingsViewHelpers.js +3 -2
- 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 +8 -211
- package/lib/index.js +50 -514
- package/lib/reducer.d.ts +6 -141
- package/lib/reducer.js +9 -144
- package/lib/view/addressView/addressViewState.d.ts +1 -1
- package/lib/view/common/recurringViewHelper.d.ts +2 -2
- package/lib/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationEpic.js +1 -2
- package/lib/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationViewEpic.js +2 -4
- package/lib/view/expenseAutomationView/types/fluxAnalysisViewState.d.ts +1 -1
- package/lib/view/fileView/fileUploadHelpers.js +2 -1
- package/lib/view/notificationPreferencesView/epics/saveNotificationPreferencesEpic.d.ts +40 -0
- package/lib/view/notificationPreferencesView/epics/saveNotificationPreferencesEpic.js +120 -0
- package/lib/view/notificationPreferencesView/notificationPreferencesEndpoint.d.ts +2 -0
- package/lib/view/notificationPreferencesView/notificationPreferencesEndpoint.js +9 -0
- package/lib/view/notificationPreferencesView/notificationPreferencesViewPayload.d.ts +7 -0
- package/lib/view/notificationPreferencesView/notificationPreferencesViewPayload.js +41 -0
- package/lib/view/notificationPreferencesView/notificationPreferencesViewReducer.d.ts +30 -0
- package/lib/view/notificationPreferencesView/notificationPreferencesViewReducer.js +226 -0
- package/lib/view/notificationPreferencesView/notificationPreferencesViewSelector.d.ts +7 -0
- package/lib/view/notificationPreferencesView/notificationPreferencesViewSelector.js +32 -0
- package/lib/view/notificationPreferencesView/notificationPreferencesViewState.d.ts +14 -0
- package/lib/view/notificationPreferencesView/notificationPreferencesViewState.js +8 -0
- package/lib/view/onboardingView/cockpitView/epic/initializeOnboardingCustomerViewUpdateDataEpic.js +5 -1
- package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewLocalStoreDataEpic.js +4 -5
- package/lib/view/settingsView/epic/fetchNotificationSettingsEpic.d.ts +9 -1
- package/lib/view/settingsView/epic/fetchNotificationSettingsEpic.js +21 -2
- package/lib/view/settingsView/epic/saveNotificationSettingsEpic.js +2 -1
- package/lib/view/settingsView/settingsViewHelpers.d.ts +1 -1
- package/lib/view/settingsView/settingsViewHelpers.js +3 -2
- package/lib/view/settingsView/settingsViewPayload.d.ts +4 -0
- package/lib/view/settingsView/settingsViewState.d.ts +1 -1
- 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 -49
- package/lib/entity/invoicing/coupon/couponPayload.js +0 -40
- 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 -33
- package/lib/entity/invoicing/coupon/couponState.js +0 -2
- package/lib/entity/invoicing/creditNote/creditNotePayload.d.ts +0 -49
- package/lib/entity/invoicing/creditNote/creditNotePayload.js +0 -62
- 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 -49
- package/lib/entity/invoicing/creditNote/creditNoteState.js +0 -2
- package/lib/entity/invoicing/dunningCase/dunningCasePayload.d.ts +0 -26
- package/lib/entity/invoicing/dunningCase/dunningCasePayload.js +0 -36
- 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 -29
- package/lib/entity/invoicing/dunningCase/dunningCaseState.js +0 -2
- package/lib/entity/invoicing/invoice/invoicePayload.d.ts +0 -118
- package/lib/entity/invoicing/invoice/invoicePayload.js +0 -152
- 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 -113
- package/lib/entity/invoicing/invoice/invoiceState.js +0 -2
- package/lib/entity/invoicing/invoicingCommonPayload.d.ts +0 -178
- package/lib/entity/invoicing/invoicingCommonPayload.js +0 -167
- 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 -64
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerPayload.js +0 -81
- 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 -85
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionPayload.js +0 -118
- 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 -77
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionState.js +0 -2
- package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionPayload.d.ts +0 -52
- 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 -54
- package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionState.js +0 -2
- package/lib/entity/invoicing/plan/planPayload.d.ts +0 -40
- package/lib/entity/invoicing/plan/planPayload.js +0 -51
- package/lib/entity/invoicing/plan/planReducer.d.ts +0 -14
- package/lib/entity/invoicing/plan/planReducer.js +0 -72
- 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 -43
- package/lib/entity/invoicing/plan/planState.js +0 -2
- package/lib/entity/invoicing/product/productPayload.d.ts +0 -66
- package/lib/entity/invoicing/product/productPayload.js +0 -79
- 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 -68
- 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 -36
- 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 -56
- 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 -32
- 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 -146
- 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 -150
- package/lib/esm/entity/invoicing/invoicingCommonState.js +0 -1
- package/lib/esm/entity/invoicing/invoicingCustomer/invoicingCustomerPayload.js +0 -76
- 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 -110
- 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 -47
- package/lib/esm/entity/invoicing/plan/planReducer.js +0 -65
- 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 -74
- 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/auditView/auditViewEpics.js +0 -54
- package/lib/esm/view/invoicing/auditView/auditViewPayload.js +0 -64
- package/lib/esm/view/invoicing/auditView/auditViewReducer.js +0 -56
- package/lib/esm/view/invoicing/auditView/auditViewSelector.js +0 -17
- package/lib/esm/view/invoicing/auditView/auditViewState.js +0 -1
- package/lib/esm/view/invoicing/catalogAction/catalogActionEpic.js +0 -56
- package/lib/esm/view/invoicing/catalogAction/catalogActionPayload.js +0 -1
- package/lib/esm/view/invoicing/catalogAction/catalogActionReducer.js +0 -55
- package/lib/esm/view/invoicing/catalogAction/catalogActionSelector.js +0 -5
- package/lib/esm/view/invoicing/catalogAction/catalogActionState.js +0 -1
- package/lib/esm/view/invoicing/couponView/couponViewEpics.js +0 -79
- package/lib/esm/view/invoicing/couponView/couponViewPayload.js +0 -1
- package/lib/esm/view/invoicing/couponView/couponViewReducer.js +0 -109
- package/lib/esm/view/invoicing/couponView/couponViewSelector.js +0 -34
- package/lib/esm/view/invoicing/couponView/couponViewState.js +0 -39
- package/lib/esm/view/invoicing/createCreditNote/createCreditNoteEpic.js +0 -23
- package/lib/esm/view/invoicing/createCreditNote/createCreditNoteFormConfig.js +0 -6
- package/lib/esm/view/invoicing/createCreditNote/createCreditNotePayload.js +0 -34
- package/lib/esm/view/invoicing/createCreditNote/createCreditNoteReducer.js +0 -42
- package/lib/esm/view/invoicing/createCreditNote/createCreditNoteSelector.js +0 -20
- package/lib/esm/view/invoicing/createCreditNote/createCreditNoteState.js +0 -1
- package/lib/esm/view/invoicing/createInvoice/createInvoiceEpic.js +0 -30
- package/lib/esm/view/invoicing/createInvoice/createInvoiceFormConfig.js +0 -65
- package/lib/esm/view/invoicing/createInvoice/createInvoicePayload.js +0 -1
- package/lib/esm/view/invoicing/createInvoice/createInvoiceReducer.js +0 -41
- package/lib/esm/view/invoicing/createInvoice/createInvoiceSelector.js +0 -26
- package/lib/esm/view/invoicing/createInvoice/createInvoiceState.js +0 -1
- package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodEpic.js +0 -63
- package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodPayload.js +0 -1
- package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodReducer.js +0 -87
- package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodSelector.js +0 -8
- 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 -74
- package/lib/esm/view/invoicing/dataImportView/dataImportViewPayload.js +0 -1
- package/lib/esm/view/invoicing/dataImportView/dataImportViewReducer.js +0 -106
- package/lib/esm/view/invoicing/dataImportView/dataImportViewSelector.js +0 -18
- package/lib/esm/view/invoicing/dataImportView/dataImportViewState.js +0 -1
- package/lib/esm/view/invoicing/discountAction/discountActionEpic.js +0 -28
- package/lib/esm/view/invoicing/discountAction/discountActionPayload.js +0 -1
- package/lib/esm/view/invoicing/discountAction/discountActionReducer.js +0 -36
- package/lib/esm/view/invoicing/discountAction/discountActionSelector.js +0 -5
- package/lib/esm/view/invoicing/discountAction/discountActionState.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/catalogDetailEditPayload.js +0 -171
- package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewPayload.js +0 -131
- package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewReducer.js +0 -84
- package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewSelector.js +0 -70
- package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewState.js +0 -1
- package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/invoicingCatalogItemFormConfig.js +0 -154
- package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/invoicingCatalogSubFamilyEpics.js +0 -39
- package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/saveInvoicingCatalogItemEpic.js +0 -81
- package/lib/esm/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewPayload.js +0 -59
- package/lib/esm/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewReducer.js +0 -65
- package/lib/esm/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewSelector.js +0 -41
- package/lib/esm/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewState.js +0 -1
- package/lib/esm/view/invoicing/editInvoicingCouponDetailView/invoicingCouponFormConfig.js +0 -44
- package/lib/esm/view/invoicing/editInvoicingCouponDetailView/saveInvoicingCouponEpic.js +0 -50
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewPayload.js +0 -32
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer.js +0 -62
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector.js +0 -42
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewState.js +0 -1
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/initializeInvoicingCustomerAddressEpic.js +0 -35
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/invoicingCustomerFormConfig.js +0 -55
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/saveInvoicingCustomerEpic.js +0 -53
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewPayload.js +0 -48
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer.js +0 -73
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewSelector.js +0 -56
- 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/initializeInvoicingSubscriptionAddressEpic.js +0 -36
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/invoicingSubscriptionFormConfig.js +0 -74
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/saveInvoicingSubscriptionEpic.js +0 -95
- package/lib/esm/view/invoicing/invoiceAction/invoiceActionEpic.js +0 -54
- 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 -25
- 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 -21
- 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 -56
- 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 -140
- 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 -19
- 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 -10
- 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 -35
- package/lib/esm/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogPlanListEpic.js +0 -43
- package/lib/esm/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogProductListEpic.js +0 -43
- package/lib/esm/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewPayload.js +0 -1
- package/lib/esm/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewReducer.js +0 -152
- package/lib/esm/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewSelector.js +0 -33
- package/lib/esm/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewState.js +0 -20
- package/lib/esm/view/invoicing/invoicingConfigView/epics/acceptInvoicingTermsEpic.js +0 -21
- package/lib/esm/view/invoicing/invoicingConfigView/epics/enableInvoicingEpic.js +0 -18
- package/lib/esm/view/invoicing/invoicingConfigView/epics/fetchInvoicingConfigEpic.js +0 -21
- package/lib/esm/view/invoicing/invoicingConfigView/invoicingConfigViewPayload.js +0 -17
- package/lib/esm/view/invoicing/invoicingConfigView/invoicingConfigViewReducer.js +0 -134
- package/lib/esm/view/invoicing/invoicingConfigView/invoicingConfigViewSelector.js +0 -32
- package/lib/esm/view/invoicing/invoicingConfigView/invoicingConfigViewState.js +0 -1
- 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 -25
- package/lib/esm/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailPageEpic.js +0 -45
- 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 -30
- 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 -43
- 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 -105
- 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 -88
- 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 -22
- 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 -52
- 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 -103
- package/lib/esm/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewSelector.js +0 -22
- package/lib/esm/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewState.js +0 -43
- 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 -84
- 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/issueCreditNote/issueCreditNoteEpic.js +0 -26
- package/lib/esm/view/invoicing/issueCreditNote/issueCreditNoteFormConfig.js +0 -13
- package/lib/esm/view/invoicing/issueCreditNote/issueCreditNotePayload.js +0 -51
- package/lib/esm/view/invoicing/issueCreditNote/issueCreditNoteReducer.js +0 -48
- package/lib/esm/view/invoicing/issueCreditNote/issueCreditNoteSelector.js +0 -20
- package/lib/esm/view/invoicing/issueCreditNote/issueCreditNoteState.js +0 -1
- 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/promotionalCreditAction/promotionalCreditActionEpic.js +0 -25
- package/lib/esm/view/invoicing/promotionalCreditAction/promotionalCreditActionPayload.js +0 -1
- package/lib/esm/view/invoicing/promotionalCreditAction/promotionalCreditActionReducer.js +0 -31
- package/lib/esm/view/invoicing/promotionalCreditAction/promotionalCreditActionState.js +0 -1
- package/lib/esm/view/invoicing/recordPayment/recordPaymentEpic.js +0 -57
- package/lib/esm/view/invoicing/recordPayment/recordPaymentFormConfig.js +0 -37
- package/lib/esm/view/invoicing/recordPayment/recordPaymentPayload.js +0 -67
- package/lib/esm/view/invoicing/recordPayment/recordPaymentReducer.js +0 -61
- package/lib/esm/view/invoicing/recordPayment/recordPaymentSelector.js +0 -50
- package/lib/esm/view/invoicing/recordPayment/recordPaymentState.js +0 -1
- package/lib/esm/view/invoicing/settingsView/invoicingBrandingFormConfig.js +0 -47
- package/lib/esm/view/invoicing/settingsView/invoicingBrandingFormEpics.js +0 -58
- package/lib/esm/view/invoicing/settingsView/invoicingSettingsHelpers.js +0 -7
- package/lib/esm/view/invoicing/settingsView/settingsViewEpics.js +0 -71
- package/lib/esm/view/invoicing/settingsView/settingsViewPayload.js +0 -1
- package/lib/esm/view/invoicing/settingsView/settingsViewReducer.js +0 -86
- package/lib/esm/view/invoicing/settingsView/settingsViewSelector.js +0 -50
- package/lib/esm/view/invoicing/settingsView/settingsViewState.js +0 -1
- package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionEpic.js +0 -31
- 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/auditView/auditViewEpics.d.ts +0 -7
- package/lib/view/invoicing/auditView/auditViewEpics.js +0 -58
- package/lib/view/invoicing/auditView/auditViewPayload.d.ts +0 -86
- package/lib/view/invoicing/auditView/auditViewPayload.js +0 -67
- 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 -16
- package/lib/view/invoicing/auditView/auditViewSelector.js +0 -21
- package/lib/view/invoicing/auditView/auditViewState.d.ts +0 -17
- package/lib/view/invoicing/auditView/auditViewState.js +0 -2
- package/lib/view/invoicing/catalogAction/catalogActionEpic.d.ts +0 -10
- package/lib/view/invoicing/catalogAction/catalogActionEpic.js +0 -61
- package/lib/view/invoicing/catalogAction/catalogActionPayload.d.ts +0 -5
- package/lib/view/invoicing/catalogAction/catalogActionPayload.js +0 -2
- package/lib/view/invoicing/catalogAction/catalogActionReducer.d.ts +0 -27
- package/lib/view/invoicing/catalogAction/catalogActionReducer.js +0 -59
- package/lib/view/invoicing/catalogAction/catalogActionSelector.d.ts +0 -3
- package/lib/view/invoicing/catalogAction/catalogActionSelector.js +0 -9
- package/lib/view/invoicing/catalogAction/catalogActionState.d.ts +0 -5
- package/lib/view/invoicing/catalogAction/catalogActionState.js +0 -2
- package/lib/view/invoicing/couponView/couponViewEpics.d.ts +0 -15
- package/lib/view/invoicing/couponView/couponViewEpics.js +0 -85
- package/lib/view/invoicing/couponView/couponViewPayload.d.ts +0 -5
- package/lib/view/invoicing/couponView/couponViewPayload.js +0 -2
- package/lib/view/invoicing/couponView/couponViewReducer.d.ts +0 -35
- package/lib/view/invoicing/couponView/couponViewReducer.js +0 -113
- package/lib/view/invoicing/couponView/couponViewSelector.d.ts +0 -30
- package/lib/view/invoicing/couponView/couponViewSelector.js +0 -43
- package/lib/view/invoicing/couponView/couponViewState.d.ts +0 -40
- package/lib/view/invoicing/couponView/couponViewState.js +0 -44
- package/lib/view/invoicing/createCreditNote/createCreditNoteEpic.d.ts +0 -8
- package/lib/view/invoicing/createCreditNote/createCreditNoteEpic.js +0 -27
- package/lib/view/invoicing/createCreditNote/createCreditNoteFormConfig.d.ts +0 -2
- package/lib/view/invoicing/createCreditNote/createCreditNoteFormConfig.js +0 -10
- package/lib/view/invoicing/createCreditNote/createCreditNotePayload.d.ts +0 -4
- package/lib/view/invoicing/createCreditNote/createCreditNotePayload.js +0 -38
- package/lib/view/invoicing/createCreditNote/createCreditNoteReducer.d.ts +0 -11
- package/lib/view/invoicing/createCreditNote/createCreditNoteReducer.js +0 -46
- package/lib/view/invoicing/createCreditNote/createCreditNoteSelector.d.ts +0 -13
- package/lib/view/invoicing/createCreditNote/createCreditNoteSelector.js +0 -25
- package/lib/view/invoicing/createCreditNote/createCreditNoteState.d.ts +0 -16
- package/lib/view/invoicing/createCreditNote/createCreditNoteState.js +0 -2
- package/lib/view/invoicing/createInvoice/createInvoiceEpic.d.ts +0 -10
- package/lib/view/invoicing/createInvoice/createInvoiceEpic.js +0 -34
- package/lib/view/invoicing/createInvoice/createInvoiceFormConfig.d.ts +0 -13
- package/lib/view/invoicing/createInvoice/createInvoiceFormConfig.js +0 -70
- 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 -45
- package/lib/view/invoicing/createInvoice/createInvoiceSelector.d.ts +0 -24
- package/lib/view/invoicing/createInvoice/createInvoiceSelector.js +0 -30
- package/lib/view/invoicing/createInvoice/createInvoiceState.d.ts +0 -35
- 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 -70
- 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 -25
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodReducer.js +0 -91
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodSelector.d.ts +0 -11
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodSelector.js +0 -19
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodState.d.ts +0 -24
- 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 -10
- package/lib/view/invoicing/dataImportView/dataImportViewEpics.js +0 -81
- package/lib/view/invoicing/dataImportView/dataImportViewPayload.d.ts +0 -84
- package/lib/view/invoicing/dataImportView/dataImportViewPayload.js +0 -2
- package/lib/view/invoicing/dataImportView/dataImportViewReducer.d.ts +0 -15
- package/lib/view/invoicing/dataImportView/dataImportViewReducer.js +0 -110
- package/lib/view/invoicing/dataImportView/dataImportViewSelector.d.ts +0 -20
- package/lib/view/invoicing/dataImportView/dataImportViewSelector.js +0 -22
- package/lib/view/invoicing/dataImportView/dataImportViewState.d.ts +0 -19
- package/lib/view/invoicing/dataImportView/dataImportViewState.js +0 -2
- package/lib/view/invoicing/discountAction/discountActionEpic.d.ts +0 -8
- package/lib/view/invoicing/discountAction/discountActionEpic.js +0 -32
- package/lib/view/invoicing/discountAction/discountActionPayload.d.ts +0 -3
- package/lib/view/invoicing/discountAction/discountActionPayload.js +0 -2
- package/lib/view/invoicing/discountAction/discountActionReducer.d.ts +0 -16
- package/lib/view/invoicing/discountAction/discountActionReducer.js +0 -40
- package/lib/view/invoicing/discountAction/discountActionSelector.d.ts +0 -3
- package/lib/view/invoicing/discountAction/discountActionSelector.js +0 -9
- package/lib/view/invoicing/discountAction/discountActionState.d.ts +0 -5
- package/lib/view/invoicing/discountAction/discountActionState.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/catalogDetailEditPayload.d.ts +0 -51
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/catalogDetailEditPayload.js +0 -178
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewPayload.d.ts +0 -9
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewPayload.js +0 -135
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewReducer.d.ts +0 -40
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewReducer.js +0 -88
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewSelector.d.ts +0 -46
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewSelector.js +0 -77
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewState.d.ts +0 -58
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewState.js +0 -2
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/invoicingCatalogItemFormConfig.d.ts +0 -24
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/invoicingCatalogItemFormConfig.js +0 -162
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/invoicingCatalogSubFamilyEpics.d.ts +0 -9
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/invoicingCatalogSubFamilyEpics.js +0 -44
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/saveInvoicingCatalogItemEpic.d.ts +0 -10
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/saveInvoicingCatalogItemEpic.js +0 -85
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewPayload.d.ts +0 -10
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewPayload.js +0 -63
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewReducer.d.ts +0 -27
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewReducer.js +0 -69
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewSelector.d.ts +0 -32
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewSelector.js +0 -46
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewState.d.ts +0 -29
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewState.js +0 -2
- package/lib/view/invoicing/editInvoicingCouponDetailView/invoicingCouponFormConfig.d.ts +0 -5
- package/lib/view/invoicing/editInvoicingCouponDetailView/invoicingCouponFormConfig.js +0 -48
- package/lib/view/invoicing/editInvoicingCouponDetailView/saveInvoicingCouponEpic.d.ts +0 -9
- package/lib/view/invoicing/editInvoicingCouponDetailView/saveInvoicingCouponEpic.js +0 -54
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewPayload.d.ts +0 -12
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewPayload.js +0 -36
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer.d.ts +0 -22
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer.js +0 -66
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector.d.ts +0 -22
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector.js +0 -46
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewState.d.ts +0 -28
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewState.js +0 -2
- package/lib/view/invoicing/editInvoicingCustomerDetailView/initializeInvoicingCustomerAddressEpic.d.ts +0 -16
- package/lib/view/invoicing/editInvoicingCustomerDetailView/initializeInvoicingCustomerAddressEpic.js +0 -39
- package/lib/view/invoicing/editInvoicingCustomerDetailView/invoicingCustomerFormConfig.d.ts +0 -15
- package/lib/view/invoicing/editInvoicingCustomerDetailView/invoicingCustomerFormConfig.js +0 -59
- package/lib/view/invoicing/editInvoicingCustomerDetailView/saveInvoicingCustomerEpic.d.ts +0 -11
- package/lib/view/invoicing/editInvoicingCustomerDetailView/saveInvoicingCustomerEpic.js +0 -57
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewPayload.d.ts +0 -11
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewPayload.js +0 -52
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer.d.ts +0 -26
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer.js +0 -77
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewSelector.d.ts +0 -40
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewSelector.js +0 -61
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewState.d.ts +0 -27
- 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/initializeInvoicingSubscriptionAddressEpic.d.ts +0 -17
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/initializeInvoicingSubscriptionAddressEpic.js +0 -40
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/invoicingSubscriptionFormConfig.d.ts +0 -20
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/invoicingSubscriptionFormConfig.js +0 -80
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/saveInvoicingSubscriptionEpic.d.ts +0 -11
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/saveInvoicingSubscriptionEpic.js +0 -99
- package/lib/view/invoicing/invoiceAction/invoiceActionEpic.d.ts +0 -10
- package/lib/view/invoicing/invoiceAction/invoiceActionEpic.js +0 -59
- 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 -52
- 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 -9
- package/lib/view/invoicing/invoiceDetail/fetchInvoiceDetailEpic.js +0 -29
- 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 -18
- package/lib/view/invoicing/invoiceDetail/invoiceDetailSelector.js +0 -28
- 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 -9
- package/lib/view/invoicing/invoiceList/fetchInvoiceListEpic.js +0 -60
- 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 -48
- package/lib/view/invoicing/invoiceList/invoiceListReducer.js +0 -145
- 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 -8
- package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewEpics.js +0 -23
- package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewPayload.d.ts +0 -3
- 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 -14
- package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewSelector.js +0 -14
- 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 -16
- package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogListPageEpic.js +0 -39
- 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 -47
- package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewPayload.d.ts +0 -6
- package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewPayload.js +0 -2
- package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewReducer.d.ts +0 -52
- package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewReducer.js +0 -156
- package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewSelector.d.ts +0 -29
- package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewSelector.js +0 -37
- package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewState.d.ts +0 -48
- package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewState.js +0 -24
- package/lib/view/invoicing/invoicingConfigView/epics/acceptInvoicingTermsEpic.d.ts +0 -8
- package/lib/view/invoicing/invoicingConfigView/epics/acceptInvoicingTermsEpic.js +0 -25
- package/lib/view/invoicing/invoicingConfigView/epics/enableInvoicingEpic.d.ts +0 -7
- package/lib/view/invoicing/invoicingConfigView/epics/enableInvoicingEpic.js +0 -22
- package/lib/view/invoicing/invoicingConfigView/epics/fetchInvoicingConfigEpic.d.ts +0 -12
- package/lib/view/invoicing/invoicingConfigView/epics/fetchInvoicingConfigEpic.js +0 -25
- package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewPayload.d.ts +0 -40
- package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewPayload.js +0 -21
- package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewReducer.d.ts +0 -12
- package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewReducer.js +0 -139
- package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewSelector.d.ts +0 -35
- package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewSelector.js +0 -36
- package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewState.d.ts +0 -28
- package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewState.js +0 -2
- 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 -9
- package/lib/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailEpic.js +0 -29
- package/lib/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailPageEpic.d.ts +0 -18
- package/lib/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailPageEpic.js +0 -49
- 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 -31
- package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewSelector.js +0 -37
- 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 -9
- package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListEpic.js +0 -47
- 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 -34
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer.js +0 -109
- 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 -99
- package/lib/view/invoicing/invoicingOverview/invoicingOverviewPayload.js +0 -97
- 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 -111
- package/lib/view/invoicing/invoicingOverview/invoicingOverviewState.js +0 -2
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewEpics.d.ts +0 -9
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewEpics.js +0 -26
- 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 -9
- package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListEpic.js +0 -56
- 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 -35
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer.js +0 -107
- 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 -48
- 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 -88
- 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/issueCreditNote/issueCreditNoteEpic.d.ts +0 -9
- package/lib/view/invoicing/issueCreditNote/issueCreditNoteEpic.js +0 -30
- package/lib/view/invoicing/issueCreditNote/issueCreditNoteFormConfig.d.ts +0 -4
- package/lib/view/invoicing/issueCreditNote/issueCreditNoteFormConfig.js +0 -17
- package/lib/view/invoicing/issueCreditNote/issueCreditNotePayload.d.ts +0 -30
- package/lib/view/invoicing/issueCreditNote/issueCreditNotePayload.js +0 -57
- package/lib/view/invoicing/issueCreditNote/issueCreditNoteReducer.d.ts +0 -13
- package/lib/view/invoicing/issueCreditNote/issueCreditNoteReducer.js +0 -52
- package/lib/view/invoicing/issueCreditNote/issueCreditNoteSelector.d.ts +0 -13
- package/lib/view/invoicing/issueCreditNote/issueCreditNoteSelector.js +0 -25
- package/lib/view/invoicing/issueCreditNote/issueCreditNoteState.d.ts +0 -19
- package/lib/view/invoicing/issueCreditNote/issueCreditNoteState.js +0 -2
- 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/promotionalCreditAction/promotionalCreditActionEpic.d.ts +0 -8
- package/lib/view/invoicing/promotionalCreditAction/promotionalCreditActionEpic.js +0 -29
- package/lib/view/invoicing/promotionalCreditAction/promotionalCreditActionPayload.d.ts +0 -3
- package/lib/view/invoicing/promotionalCreditAction/promotionalCreditActionPayload.js +0 -2
- package/lib/view/invoicing/promotionalCreditAction/promotionalCreditActionReducer.d.ts +0 -13
- package/lib/view/invoicing/promotionalCreditAction/promotionalCreditActionReducer.js +0 -35
- package/lib/view/invoicing/promotionalCreditAction/promotionalCreditActionState.d.ts +0 -5
- package/lib/view/invoicing/promotionalCreditAction/promotionalCreditActionState.js +0 -2
- package/lib/view/invoicing/recordPayment/recordPaymentEpic.d.ts +0 -11
- package/lib/view/invoicing/recordPayment/recordPaymentEpic.js +0 -61
- package/lib/view/invoicing/recordPayment/recordPaymentFormConfig.d.ts +0 -8
- package/lib/view/invoicing/recordPayment/recordPaymentFormConfig.js +0 -40
- package/lib/view/invoicing/recordPayment/recordPaymentPayload.d.ts +0 -47
- package/lib/view/invoicing/recordPayment/recordPaymentPayload.js +0 -73
- package/lib/view/invoicing/recordPayment/recordPaymentReducer.d.ts +0 -17
- package/lib/view/invoicing/recordPayment/recordPaymentReducer.js +0 -65
- package/lib/view/invoicing/recordPayment/recordPaymentSelector.d.ts +0 -30
- package/lib/view/invoicing/recordPayment/recordPaymentSelector.js +0 -56
- package/lib/view/invoicing/recordPayment/recordPaymentState.d.ts +0 -25
- package/lib/view/invoicing/recordPayment/recordPaymentState.js +0 -2
- package/lib/view/invoicing/settingsView/invoicingBrandingFormConfig.d.ts +0 -32
- package/lib/view/invoicing/settingsView/invoicingBrandingFormConfig.js +0 -52
- package/lib/view/invoicing/settingsView/invoicingBrandingFormEpics.d.ts +0 -22
- package/lib/view/invoicing/settingsView/invoicingBrandingFormEpics.js +0 -63
- package/lib/view/invoicing/settingsView/invoicingSettingsHelpers.d.ts +0 -2
- package/lib/view/invoicing/settingsView/invoicingSettingsHelpers.js +0 -11
- package/lib/view/invoicing/settingsView/settingsViewEpics.d.ts +0 -11
- package/lib/view/invoicing/settingsView/settingsViewEpics.js +0 -78
- 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 -15
- package/lib/view/invoicing/settingsView/settingsViewReducer.js +0 -90
- package/lib/view/invoicing/settingsView/settingsViewSelector.d.ts +0 -42
- package/lib/view/invoicing/settingsView/settingsViewSelector.js +0 -57
- package/lib/view/invoicing/settingsView/settingsViewState.d.ts +0 -9
- package/lib/view/invoicing/settingsView/settingsViewState.js +0 -2
- package/lib/view/invoicing/subscriptionAction/subscriptionActionEpic.d.ts +0 -9
- package/lib/view/invoicing/subscriptionAction/subscriptionActionEpic.js +0 -35
- 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 -45
- 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,49 +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
|
-
productCode?: string;
|
|
14
|
-
}
|
|
15
|
-
export interface InvoicingCreditNoteAllocation {
|
|
16
|
-
allocatedAmount: Amount;
|
|
17
|
-
invoiceID: ID;
|
|
18
|
-
invoiceNumber: string;
|
|
19
|
-
allocatedAt?: ZeniDate;
|
|
20
|
-
}
|
|
21
|
-
export interface InvoicingCreditNote {
|
|
22
|
-
id: ID;
|
|
23
|
-
allocations?: InvoicingCreditNoteAllocation[];
|
|
24
|
-
amountAllocated?: Amount;
|
|
25
|
-
amountAvailable?: Amount;
|
|
26
|
-
amountRefunded?: Amount;
|
|
27
|
-
createdAt?: ZeniDate;
|
|
28
|
-
createReasonCode?: string;
|
|
29
|
-
creditNoteNumber?: string;
|
|
30
|
-
currencyCode?: string;
|
|
31
|
-
customerID?: ID;
|
|
32
|
-
customerName?: string;
|
|
33
|
-
date?: ZeniDate;
|
|
34
|
-
lineItems?: InvoicingCreditNoteLineItem[];
|
|
35
|
-
linkedRefunds?: ID[];
|
|
36
|
-
notes?: string;
|
|
37
|
-
priceType?: InvoicingPriceType;
|
|
38
|
-
reasonCode?: string;
|
|
39
|
-
referenceInvoiceID?: ID;
|
|
40
|
-
referenceInvoiceNumber?: string;
|
|
41
|
-
status?: InvoicingCreditNoteStatus;
|
|
42
|
-
subscriptionID?: ID;
|
|
43
|
-
subTotal?: Amount;
|
|
44
|
-
total?: Amount;
|
|
45
|
-
type?: InvoicingCreditNoteType;
|
|
46
|
-
}
|
|
47
|
-
export interface InvoicingCreditNoteState {
|
|
48
|
-
creditNoteByID: Record<ID, InvoicingCreditNote>;
|
|
49
|
-
}
|
|
@@ -1,26 +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
|
-
invoice_number?: string | null;
|
|
19
|
-
last_attempt?: string;
|
|
20
|
-
max_attempts?: number;
|
|
21
|
-
next_retry?: string;
|
|
22
|
-
paused_reason?: string;
|
|
23
|
-
paused_until?: string;
|
|
24
|
-
subscription_id?: string;
|
|
25
|
-
}
|
|
26
|
-
export declare const mapInvoicingDunningCasePayloadToState: (payload: InvoicingDunningCasePayload) => InvoicingDunningCase;
|
|
@@ -1,36 +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
|
-
invoiceNumber: payload.invoice_number ?? undefined,
|
|
28
|
-
lastAttempt: payload.last_attempt != null ? (0, zeniDayJS_1.date)(payload.last_attempt) : undefined,
|
|
29
|
-
maxAttempts: payload.max_attempts,
|
|
30
|
-
nextRetry: payload.next_retry != null ? (0, zeniDayJS_1.date)(payload.next_retry) : undefined,
|
|
31
|
-
pausedReason: payload.paused_reason,
|
|
32
|
-
pausedUntil: payload.paused_until != null ? (0, zeniDayJS_1.date)(payload.paused_until) : undefined,
|
|
33
|
-
subscriptionID: payload.subscription_id,
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
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
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Amount } from '../../../commonStateTypes/amount';
|
|
2
|
-
import { ID } from '../../../commonStateTypes/common';
|
|
3
|
-
import { ZeniDate } from '../../../zeniDayJS';
|
|
4
|
-
import { InvoicingDunningStatus } from './dunningCasePayload';
|
|
5
|
-
export interface InvoicingDunningCase {
|
|
6
|
-
id: ID;
|
|
7
|
-
status: InvoicingDunningStatus;
|
|
8
|
-
amount?: Amount;
|
|
9
|
-
attempts?: number;
|
|
10
|
-
createdAt?: ZeniDate;
|
|
11
|
-
currencyCode?: string;
|
|
12
|
-
customer?: string;
|
|
13
|
-
customerEmail?: string;
|
|
14
|
-
customerID?: ID;
|
|
15
|
-
daysPastDue?: number;
|
|
16
|
-
failureReason?: string;
|
|
17
|
-
initials?: string;
|
|
18
|
-
invoiceID?: ID;
|
|
19
|
-
invoiceNumber?: string;
|
|
20
|
-
lastAttempt?: ZeniDate;
|
|
21
|
-
maxAttempts?: number;
|
|
22
|
-
nextRetry?: ZeniDate;
|
|
23
|
-
pausedReason?: string;
|
|
24
|
-
pausedUntil?: ZeniDate;
|
|
25
|
-
subscriptionID?: ID;
|
|
26
|
-
}
|
|
27
|
-
export interface InvoicingDunningCaseState {
|
|
28
|
-
dunningCaseByID: Record<ID, InvoicingDunningCase>;
|
|
29
|
-
}
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import { AddressPayload } from '../../address/addressPayload';
|
|
2
|
-
import { InvoicingPriceType } from '../invoicingCommonPayload';
|
|
3
|
-
import { InvoicingInvoice, InvoicingInvoiceKPIs } from './invoiceState';
|
|
4
|
-
export type InvoicingInvoiceStatus = 'paid' | 'partially_paid' | 'posted' | 'payment_due' | 'not_paid' | 'voided' | 'pending' | 'draft';
|
|
5
|
-
export interface InvoicingLineItemPayload {
|
|
6
|
-
amount: number;
|
|
7
|
-
description: string;
|
|
8
|
-
quantity: number;
|
|
9
|
-
unit_amount: number;
|
|
10
|
-
date_from?: string;
|
|
11
|
-
date_to?: string;
|
|
12
|
-
discount_amount?: number;
|
|
13
|
-
entity_description?: string;
|
|
14
|
-
entity_type?: string;
|
|
15
|
-
id?: string;
|
|
16
|
-
is_taxed?: boolean;
|
|
17
|
-
item_level_discount_amount?: number;
|
|
18
|
-
product_code?: string;
|
|
19
|
-
subscription_id?: string;
|
|
20
|
-
tax_amount?: number;
|
|
21
|
-
tax_exempt_reason?: string;
|
|
22
|
-
tax_rate?: number;
|
|
23
|
-
usage_percentage?: number;
|
|
24
|
-
}
|
|
25
|
-
export interface InvoicingLinkedPaymentPayload {
|
|
26
|
-
applied_amount: number;
|
|
27
|
-
txn_id: string;
|
|
28
|
-
applied_at?: string;
|
|
29
|
-
txn_amount?: number;
|
|
30
|
-
txn_date?: string;
|
|
31
|
-
txn_status?: string;
|
|
32
|
-
}
|
|
33
|
-
export interface InvoicingIssuedCreditNotePayload {
|
|
34
|
-
cn_id: string;
|
|
35
|
-
cn_status: string;
|
|
36
|
-
cn_total: number;
|
|
37
|
-
}
|
|
38
|
-
export interface InvoicingDunningAttemptPayload {
|
|
39
|
-
attempt: number;
|
|
40
|
-
created_at?: string;
|
|
41
|
-
dunning_type?: string;
|
|
42
|
-
transaction_id?: string;
|
|
43
|
-
}
|
|
44
|
-
export interface InvoicingInvoiceNotePayload {
|
|
45
|
-
note: string;
|
|
46
|
-
entity_id?: string;
|
|
47
|
-
entity_type?: string;
|
|
48
|
-
}
|
|
49
|
-
export interface InvoicingInvoiceDiscountPayload {
|
|
50
|
-
amount: number;
|
|
51
|
-
description: string;
|
|
52
|
-
entity_id: string;
|
|
53
|
-
entity_type: string;
|
|
54
|
-
line_item_id?: string | null;
|
|
55
|
-
}
|
|
56
|
-
export interface InvoicingInvoicePayload {
|
|
57
|
-
customer_id: string;
|
|
58
|
-
date: string;
|
|
59
|
-
id: string;
|
|
60
|
-
status: InvoicingInvoiceStatus;
|
|
61
|
-
total: number;
|
|
62
|
-
adjustment_credit_notes?: string[];
|
|
63
|
-
amount_adjusted?: number;
|
|
64
|
-
amount_due?: number;
|
|
65
|
-
amount_paid?: number;
|
|
66
|
-
amount_to_collect?: number;
|
|
67
|
-
billing_address?: AddressPayload | null;
|
|
68
|
-
created_at?: string;
|
|
69
|
-
credits_applied?: number;
|
|
70
|
-
currency_code?: string;
|
|
71
|
-
currency_symbol?: string;
|
|
72
|
-
customer_email?: string;
|
|
73
|
-
customer_name?: string;
|
|
74
|
-
discounts?: InvoicingInvoiceDiscountPayload[];
|
|
75
|
-
due_date?: string;
|
|
76
|
-
dunning_attempts?: InvoicingDunningAttemptPayload[];
|
|
77
|
-
dunning_status?: string;
|
|
78
|
-
first_invoice?: boolean;
|
|
79
|
-
generated_at?: string;
|
|
80
|
-
gross_sub_total?: number;
|
|
81
|
-
has_advance_charges?: boolean;
|
|
82
|
-
invoice_number?: string;
|
|
83
|
-
invoice_type?: 'one_time' | 'recurring';
|
|
84
|
-
issued_credit_notes?: InvoicingIssuedCreditNotePayload[];
|
|
85
|
-
line_items?: InvoicingLineItemPayload[];
|
|
86
|
-
linked_payments?: InvoicingLinkedPaymentPayload[];
|
|
87
|
-
net_term_days?: number;
|
|
88
|
-
next_retry_at?: string;
|
|
89
|
-
notes?: InvoicingInvoiceNotePayload[];
|
|
90
|
-
paid_at?: string;
|
|
91
|
-
pdf_file_id?: string;
|
|
92
|
-
pdf_url?: string;
|
|
93
|
-
po_number?: string;
|
|
94
|
-
price_type?: InvoicingPriceType;
|
|
95
|
-
recurring?: boolean;
|
|
96
|
-
round_off_amount?: number;
|
|
97
|
-
shipping_address?: AddressPayload | null;
|
|
98
|
-
sub_total?: number;
|
|
99
|
-
subscription_id?: string;
|
|
100
|
-
subscription_name?: string;
|
|
101
|
-
tax?: number;
|
|
102
|
-
updated_at?: string;
|
|
103
|
-
write_off_amount?: number;
|
|
104
|
-
}
|
|
105
|
-
export interface InvoicingInvoiceKPIsPayload {
|
|
106
|
-
due_total: number;
|
|
107
|
-
paid_total: number;
|
|
108
|
-
pending_total: number;
|
|
109
|
-
total_invoiced: number;
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* Collect the embedded billing + shipping addresses from invoice payloads so they
|
|
113
|
-
* can be pushed into the shared address store (`updateAddresses`), while the
|
|
114
|
-
* invoice entity keeps only the address ids — mirrors the vendor flow.
|
|
115
|
-
*/
|
|
116
|
-
export declare const extractInvoicingInvoiceAddresses: (payloads: InvoicingInvoicePayload[]) => AddressPayload[];
|
|
117
|
-
export declare const mapInvoicingInvoicePayloadToState: (payload: InvoicingInvoicePayload) => InvoicingInvoice;
|
|
118
|
-
export declare const mapInvoicingInvoiceKPIsPayloadToState: (payload: InvoicingInvoiceKPIsPayload) => InvoicingInvoiceKPIs;
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.mapInvoicingInvoiceKPIsPayloadToState = exports.mapInvoicingInvoicePayloadToState = exports.extractInvoicingInvoiceAddresses = 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 mapLineItem = (payload, currencyCode, currencySymbol) => ({
|
|
9
|
-
amount: (0, amount_1.toAmount)(payload.amount, currencyCode, currencySymbol),
|
|
10
|
-
description: payload.description,
|
|
11
|
-
quantity: payload.quantity,
|
|
12
|
-
unitAmount: (0, amount_1.toAmount)(payload.unit_amount, currencyCode, currencySymbol),
|
|
13
|
-
dateFrom: payload.date_from != null ? (0, zeniDayJS_1.date)(payload.date_from) : undefined,
|
|
14
|
-
dateTo: payload.date_to != null ? (0, zeniDayJS_1.date)(payload.date_to) : undefined,
|
|
15
|
-
discountAmount: payload.discount_amount != null
|
|
16
|
-
? (0, amount_1.toAmount)(payload.discount_amount, currencyCode, currencySymbol)
|
|
17
|
-
: undefined,
|
|
18
|
-
entityDescription: payload.entity_description,
|
|
19
|
-
entityType: payload.entity_type,
|
|
20
|
-
id: payload.id,
|
|
21
|
-
isTaxed: payload.is_taxed,
|
|
22
|
-
itemLevelDiscountAmount: payload.item_level_discount_amount != null
|
|
23
|
-
? (0, amount_1.toAmount)(payload.item_level_discount_amount, currencyCode, currencySymbol)
|
|
24
|
-
: undefined,
|
|
25
|
-
productCode: payload.product_code,
|
|
26
|
-
subscriptionID: payload.subscription_id,
|
|
27
|
-
taxAmount: payload.tax_amount != null
|
|
28
|
-
? (0, amount_1.toAmount)(payload.tax_amount, currencyCode, currencySymbol)
|
|
29
|
-
: undefined,
|
|
30
|
-
taxExemptReason: payload.tax_exempt_reason,
|
|
31
|
-
taxRate: payload.tax_rate,
|
|
32
|
-
usagePercentage: payload.usage_percentage,
|
|
33
|
-
});
|
|
34
|
-
const mapLinkedPayment = (payload, currencyCode, currencySymbol) => ({
|
|
35
|
-
appliedAmount: (0, amount_1.toAmount)(payload.applied_amount, currencyCode, currencySymbol),
|
|
36
|
-
txnID: payload.txn_id,
|
|
37
|
-
appliedAt: payload.applied_at != null ? (0, zeniDayJS_1.date)(payload.applied_at) : undefined,
|
|
38
|
-
txnAmount: payload.txn_amount != null
|
|
39
|
-
? (0, amount_1.toAmount)(payload.txn_amount, currencyCode, currencySymbol)
|
|
40
|
-
: undefined,
|
|
41
|
-
txnDate: payload.txn_date != null ? (0, zeniDayJS_1.date)(payload.txn_date) : undefined,
|
|
42
|
-
txnStatus: payload.txn_status,
|
|
43
|
-
});
|
|
44
|
-
const mapIssuedCreditNote = (payload, currencyCode, currencySymbol) => ({
|
|
45
|
-
cnID: payload.cn_id,
|
|
46
|
-
cnStatus: payload.cn_status,
|
|
47
|
-
cnTotal: (0, amount_1.toAmount)(payload.cn_total, currencyCode, currencySymbol),
|
|
48
|
-
});
|
|
49
|
-
const mapDunningAttempt = (payload) => ({
|
|
50
|
-
attempt: payload.attempt,
|
|
51
|
-
createdAt: payload.created_at != null ? (0, zeniDayJS_1.date)(payload.created_at) : undefined,
|
|
52
|
-
dunningType: payload.dunning_type,
|
|
53
|
-
transactionID: payload.transaction_id,
|
|
54
|
-
});
|
|
55
|
-
const mapInvoiceNote = (payload) => ({
|
|
56
|
-
note: payload.note,
|
|
57
|
-
entityID: payload.entity_id,
|
|
58
|
-
entityType: payload.entity_type,
|
|
59
|
-
});
|
|
60
|
-
const mapInvoiceDiscount = (payload, currencyCode, currencySymbol) => ({
|
|
61
|
-
entityType: payload.entity_type,
|
|
62
|
-
entityID: payload.entity_id,
|
|
63
|
-
amount: (0, amount_1.toAmount)(payload.amount, currencyCode, currencySymbol),
|
|
64
|
-
description: payload.description,
|
|
65
|
-
lineItemID: payload.line_item_id,
|
|
66
|
-
});
|
|
67
|
-
/**
|
|
68
|
-
* Collect the embedded billing + shipping addresses from invoice payloads so they
|
|
69
|
-
* can be pushed into the shared address store (`updateAddresses`), while the
|
|
70
|
-
* invoice entity keeps only the address ids — mirrors the vendor flow.
|
|
71
|
-
*/
|
|
72
|
-
const extractInvoicingInvoiceAddresses = (payloads) => payloads
|
|
73
|
-
.flatMap((payload) => [payload.billing_address, payload.shipping_address])
|
|
74
|
-
.filter((address) => address != null);
|
|
75
|
-
exports.extractInvoicingInvoiceAddresses = extractInvoicingInvoiceAddresses;
|
|
76
|
-
const mapInvoicingInvoicePayloadToState = (payload) => {
|
|
77
|
-
const currencyCode = payload.currency_code ?? currencyHelper_1.defaultCustomerCurrency.currencyCode;
|
|
78
|
-
const currencySymbol = payload.currency_symbol ?? currencyHelper_1.defaultCustomerCurrency.currencySymbol;
|
|
79
|
-
const toAmt = (value) => (0, amount_1.toAmount)(value, currencyCode, currencySymbol);
|
|
80
|
-
return {
|
|
81
|
-
customerID: payload.customer_id,
|
|
82
|
-
date: (0, zeniDayJS_1.date)(payload.date),
|
|
83
|
-
id: payload.id,
|
|
84
|
-
status: payload.status,
|
|
85
|
-
total: toAmt(payload.total),
|
|
86
|
-
adjustmentCreditNotes: payload.adjustment_credit_notes,
|
|
87
|
-
amountAdjusted: payload.amount_adjusted != null
|
|
88
|
-
? toAmt(payload.amount_adjusted)
|
|
89
|
-
: undefined,
|
|
90
|
-
amountDue: payload.amount_due != null ? toAmt(payload.amount_due) : undefined,
|
|
91
|
-
amountPaid: payload.amount_paid != null ? toAmt(payload.amount_paid) : undefined,
|
|
92
|
-
amountToCollect: payload.amount_to_collect != null
|
|
93
|
-
? toAmt(payload.amount_to_collect)
|
|
94
|
-
: undefined,
|
|
95
|
-
billingAddressId: payload.billing_address != null
|
|
96
|
-
? payload.billing_address.address_id
|
|
97
|
-
: undefined,
|
|
98
|
-
createdAt: payload.created_at != null ? (0, zeniDayJS_1.date)(payload.created_at) : undefined,
|
|
99
|
-
creditsApplied: payload.credits_applied != null
|
|
100
|
-
? toAmt(payload.credits_applied)
|
|
101
|
-
: undefined,
|
|
102
|
-
currencyCode: payload.currency_code,
|
|
103
|
-
customerEmail: payload.customer_email,
|
|
104
|
-
customerName: payload.customer_name,
|
|
105
|
-
discounts: payload.discounts?.map((discount) => mapInvoiceDiscount(discount, currencyCode, currencySymbol)),
|
|
106
|
-
dueDate: payload.due_date != null ? (0, zeniDayJS_1.date)(payload.due_date) : undefined,
|
|
107
|
-
dunningAttempts: payload.dunning_attempts?.map(mapDunningAttempt),
|
|
108
|
-
dunningStatus: payload.dunning_status,
|
|
109
|
-
firstInvoice: payload.first_invoice,
|
|
110
|
-
generatedAt: payload.generated_at != null ? (0, zeniDayJS_1.date)(payload.generated_at) : undefined,
|
|
111
|
-
grossSubTotal: payload.gross_sub_total != null
|
|
112
|
-
? toAmt(payload.gross_sub_total)
|
|
113
|
-
: undefined,
|
|
114
|
-
hasAdvanceCharges: payload.has_advance_charges,
|
|
115
|
-
issuedCreditNotes: payload.issued_credit_notes?.map((note) => mapIssuedCreditNote(note, currencyCode, currencySymbol)),
|
|
116
|
-
lineItems: payload.line_items?.map((item) => mapLineItem(item, currencyCode, currencySymbol)),
|
|
117
|
-
linkedPayments: payload.linked_payments?.map((payment) => mapLinkedPayment(payment, currencyCode, currencySymbol)),
|
|
118
|
-
netTermDays: payload.net_term_days,
|
|
119
|
-
nextRetryAt: payload.next_retry_at != null ? (0, zeniDayJS_1.date)(payload.next_retry_at) : undefined,
|
|
120
|
-
notes: payload.notes?.map(mapInvoiceNote),
|
|
121
|
-
paidAt: payload.paid_at != null ? (0, zeniDayJS_1.date)(payload.paid_at) : undefined,
|
|
122
|
-
pdfFileId: payload.pdf_file_id,
|
|
123
|
-
pdfUrl: payload.pdf_url,
|
|
124
|
-
invoiceNumber: payload.invoice_number,
|
|
125
|
-
poNumber: payload.po_number,
|
|
126
|
-
priceType: payload.price_type,
|
|
127
|
-
invoiceType: payload.invoice_type,
|
|
128
|
-
recurring: payload.recurring,
|
|
129
|
-
roundOffAmount: payload.round_off_amount != null
|
|
130
|
-
? toAmt(payload.round_off_amount)
|
|
131
|
-
: undefined,
|
|
132
|
-
shippingAddressId: payload.shipping_address != null
|
|
133
|
-
? payload.shipping_address.address_id
|
|
134
|
-
: undefined,
|
|
135
|
-
subscriptionID: payload.subscription_id,
|
|
136
|
-
subscriptionName: payload.subscription_name,
|
|
137
|
-
subTotal: payload.sub_total != null ? toAmt(payload.sub_total) : undefined,
|
|
138
|
-
tax: payload.tax != null ? toAmt(payload.tax) : undefined,
|
|
139
|
-
updatedAt: payload.updated_at != null ? (0, zeniDayJS_1.date)(payload.updated_at) : undefined,
|
|
140
|
-
writeOffAmount: payload.write_off_amount != null
|
|
141
|
-
? toAmt(payload.write_off_amount)
|
|
142
|
-
: undefined,
|
|
143
|
-
};
|
|
144
|
-
};
|
|
145
|
-
exports.mapInvoicingInvoicePayloadToState = mapInvoicingInvoicePayloadToState;
|
|
146
|
-
const mapInvoicingInvoiceKPIsPayloadToState = (payload) => ({
|
|
147
|
-
dueTotal: (0, amount_1.toAmount)(payload.due_total, currencyHelper_1.defaultCustomerCurrency.currencyCode, currencyHelper_1.defaultCustomerCurrency.currencySymbol),
|
|
148
|
-
paidTotal: (0, amount_1.toAmount)(payload.paid_total, currencyHelper_1.defaultCustomerCurrency.currencyCode, currencyHelper_1.defaultCustomerCurrency.currencySymbol),
|
|
149
|
-
pendingTotal: (0, amount_1.toAmount)(payload.pending_total, currencyHelper_1.defaultCustomerCurrency.currencyCode, currencyHelper_1.defaultCustomerCurrency.currencySymbol),
|
|
150
|
-
totalInvoiced: (0, amount_1.toAmount)(payload.total_invoiced, currencyHelper_1.defaultCustomerCurrency.currencyCode, currencyHelper_1.defaultCustomerCurrency.currencySymbol),
|
|
151
|
-
});
|
|
152
|
-
exports.mapInvoicingInvoiceKPIsPayloadToState = mapInvoicingInvoiceKPIsPayloadToState;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { UpdateType } from '../../../commonStateTypes/common';
|
|
2
|
-
import { InvoicingInvoicePayload } from './invoicePayload';
|
|
3
|
-
import { InvoiceState } from './invoiceState';
|
|
4
|
-
export declare const initialState: InvoiceState;
|
|
5
|
-
export declare const updateInvoices: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: InvoicingInvoicePayload[], updateType?: UpdateType | undefined], InvoicingInvoicePayload[], "invoicingInvoice/updateInvoices", never, {
|
|
6
|
-
updateType: UpdateType;
|
|
7
|
-
}>, removeInvoice: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "invoicingInvoice/removeInvoice">, clearAllInvoices: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"invoicingInvoice/clearAllInvoices">;
|
|
8
|
-
declare const _default: import("redux").Reducer<InvoiceState>;
|
|
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.clearAllInvoices = exports.removeInvoice = exports.updateInvoices = exports.initialState = void 0;
|
|
8
|
-
const toolkit_1 = require("@reduxjs/toolkit");
|
|
9
|
-
const assignWith_1 = __importDefault(require("lodash/assignWith"));
|
|
10
|
-
const invoicePayload_1 = require("./invoicePayload");
|
|
11
|
-
exports.initialState = {
|
|
12
|
-
invoiceByID: {},
|
|
13
|
-
};
|
|
14
|
-
const invoice = (0, toolkit_1.createSlice)({
|
|
15
|
-
name: 'invoicingInvoice',
|
|
16
|
-
initialState: exports.initialState,
|
|
17
|
-
reducers: {
|
|
18
|
-
updateInvoices: {
|
|
19
|
-
reducer(draft, action) {
|
|
20
|
-
doUpdateInvoices(draft.invoiceByID, action.payload, action.meta.updateType);
|
|
21
|
-
},
|
|
22
|
-
prepare(payload, updateType = 'replace') {
|
|
23
|
-
return { payload, meta: { updateType } };
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
removeInvoice(draft, action) {
|
|
27
|
-
delete draft.invoiceByID[action.payload];
|
|
28
|
-
},
|
|
29
|
-
clearAllInvoices(draft) {
|
|
30
|
-
Object.assign(draft, exports.initialState);
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
});
|
|
34
|
-
_a = invoice.actions, exports.updateInvoices = _a.updateInvoices, exports.removeInvoice = _a.removeInvoice, exports.clearAllInvoices = _a.clearAllInvoices;
|
|
35
|
-
exports.default = invoice.reducer;
|
|
36
|
-
/**
|
|
37
|
-
* Helper functions.
|
|
38
|
-
*/
|
|
39
|
-
function doUpdateInvoices(draft, payload, updateType) {
|
|
40
|
-
payload.forEach((invoicePayload) => {
|
|
41
|
-
const latestInvoice = (0, invoicePayload_1.mapInvoicingInvoicePayloadToState)(invoicePayload);
|
|
42
|
-
if (latestInvoice.id in draft && updateType === 'merge') {
|
|
43
|
-
(0, assignWith_1.default)(draft[latestInvoice.id], latestInvoice, (objValue, srcValue) => (srcValue == null ? objValue : srcValue));
|
|
44
|
-
}
|
|
45
|
-
else {
|
|
46
|
-
draft[latestInvoice.id] = latestInvoice;
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ID } from '../../../commonStateTypes/common';
|
|
2
|
-
import { RootState } from '../../../reducer';
|
|
3
|
-
import { InvoicingInvoice } from './invoiceState';
|
|
4
|
-
export declare const getInvoiceById: (state: RootState, invoiceId: ID) => InvoicingInvoice | undefined;
|
|
5
|
-
export declare const getInvoicesByIds: (state: RootState, invoiceIds: ID[]) => InvoicingInvoice[];
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getInvoicesByIds = exports.getInvoiceById = void 0;
|
|
4
|
-
const getInvoiceById = (state, invoiceId) => state.invoicingInvoiceState.invoiceByID[invoiceId];
|
|
5
|
-
exports.getInvoiceById = getInvoiceById;
|
|
6
|
-
const getInvoicesByIds = (state, invoiceIds) => invoiceIds
|
|
7
|
-
.map((id) => state.invoicingInvoiceState.invoiceByID[id])
|
|
8
|
-
.filter((invoice) => invoice != null);
|
|
9
|
-
exports.getInvoicesByIds = getInvoicesByIds;
|