@zeniai/client-epic-state 5.1.83 → 5.1.84-beta1ND
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonStateTypes/viewAndReport/reportIDHelper.d.ts +0 -1
- package/lib/commonStateTypes/viewAndReport/reportIDHelper.js +1 -13
- package/lib/commonStateTypes/viewAndReport/viewAndReport.d.ts +2 -2
- package/lib/commonStateTypes/viewAndReport/viewAndReport.js +0 -3
- package/lib/coreEpics.js +2 -3
- package/lib/entity/account/accountState.d.ts +1 -1
- package/lib/entity/accountGroup/accountGroupState.d.ts +1 -1
- package/lib/entity/approvalRule/approvalRuleState.d.ts +0 -1
- package/lib/entity/chargeCard/chargeCard.d.ts +1 -1
- package/lib/entity/class/classReducer.d.ts +4 -4
- package/lib/entity/class/classState.d.ts +1 -1
- package/lib/entity/entityApprovalStatus/entityApprovalStatusPayload.d.ts +0 -1
- package/lib/entity/entityApprovalStatus/entityApprovalStatusPayload.js +0 -1
- package/lib/entity/entityApprovalStatus/entityApprovalStatusState.d.ts +0 -1
- package/lib/entity/forecast/forecastState.d.ts +1 -1
- package/lib/entity/monthEndCloseChecks/monthEndCloseChecksPayload.d.ts +0 -1
- package/lib/entity/monthEndCloseChecks/monthEndCloseChecksPayload.js +0 -1
- package/lib/entity/monthEndCloseChecks/monthEndCloseChecksState.d.ts +0 -1
- package/lib/entity/sectionAccountsView/sectionAccountsView.d.ts +1 -1
- package/lib/entity/sectionClassesViewV2/sectionClassesView.d.ts +1 -1
- package/lib/entity/sectionClassesViewV2/sectionClassesViewReducer.d.ts +2 -2
- package/lib/entity/sectionProjectView/sectionProjectView.d.ts +1 -1
- package/lib/entity/sectionProjectView/sectionProjectViewReducer.d.ts +2 -2
- package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
- package/lib/entity/snackbar/snackbarTypes.js +0 -32
- package/lib/entity/tenant/clearAllEpic.d.ts +2 -55
- package/lib/entity/tenant/clearAllEpic.js +2 -109
- package/lib/entity/tenant/tenantReducer.d.ts +1 -4
- package/lib/entity/tenant/tenantReducer.js +2 -8
- package/lib/entity/tenant/tenantSelector.d.ts +0 -1
- package/lib/entity/tenant/tenantSelector.js +0 -4
- package/lib/entity/userRole/userRoleType.d.ts +0 -1
- package/lib/entity/userRole/userRoleType.js +1 -15
- package/lib/epic.d.ts +2 -56
- package/lib/epic.js +2 -87
- package/lib/esm/commonStateTypes/viewAndReport/reportIDHelper.js +0 -11
- package/lib/esm/commonStateTypes/viewAndReport/viewAndReport.js +0 -3
- package/lib/esm/coreEpics.js +2 -3
- package/lib/esm/entity/entityApprovalStatus/entityApprovalStatusPayload.js +0 -1
- package/lib/esm/entity/monthEndCloseChecks/monthEndCloseChecksPayload.js +0 -1
- package/lib/esm/entity/snackbar/snackbarTypes.js +0 -32
- package/lib/esm/entity/tenant/clearAllEpic.js +0 -107
- package/lib/esm/entity/tenant/tenantReducer.js +1 -7
- package/lib/esm/entity/tenant/tenantSelector.js +0 -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 -87
- package/lib/esm/index.js +8 -152
- package/lib/esm/reducer.js +0 -159
- package/lib/esm/view/companyView/companyViewReducer.js +1 -68
- package/lib/esm/view/companyView/epic/companyPassport/dismissCapitalizationOnboardingEpic.js +1 -2
- package/lib/esm/view/companyView/epic/companyPassport/updateAccountingClassesEnabledEpic.js +1 -2
- package/lib/esm/view/companyView/epic/companyPassport/updateCapitalizationAccountThresholdEpic.js +1 -2
- package/lib/esm/view/companyView/types/companyPassport/companyPassportViewState.js +0 -5
- package/lib/esm/view/dashboard/dashboardSelector.js +10 -14
- package/lib/esm/view/expenseAutomationView/epics/common/fetchAllExpenseAutomationTabsEpic.js +1 -1
- package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationEpic.js +1 -2
- package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationViewEpic.js +2 -4
- package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/markTransactionAsNotMiscategorizedEpic.js +1 -1
- package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/saveTransactionCategorizationEpic.js +1 -1
- package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/triggerReviewTabRefetchEpic.js +1 -1
- package/lib/esm/view/expenseAutomationView/helpers/mapStatementUpdateLocalDataToRequestBody.js +3 -1
- package/lib/esm/view/expenseAutomationView/reducers/reconciliationViewReducer.js +2 -30
- package/lib/esm/view/expenseAutomationView/reducers/transactionsViewReducer.js +3 -2
- package/lib/esm/view/expenseAutomationView/selectors/reconciliationViewSelector.js +2 -3
- package/lib/esm/view/expenseAutomationView/selectors/transactionCategorizationSelector.js +18 -4
- package/lib/esm/view/fileView/fileUploadHelpers.js +2 -1
- package/lib/esm/view/onboardingView/cockpitView/epic/initializeOnboardingCustomerViewUpdateDataEpic.js +5 -1
- package/lib/esm/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewLocalStoreDataEpic.js +4 -5
- package/lib/esm/view/recommendation/fetchEntityRecommendationsForLineUpdateEpic.js +1 -1
- package/lib/esm/view/recommendation/recommendationReducer.js +17 -1
- package/lib/esm/view/recommendation/submitRecommendationFeedbackEpic.js +52 -0
- package/lib/esm/view/reportsResync/reportsClassViewRefetchingEpic.js +4 -0
- package/lib/esm/view/reportsResync/reportsResyncEpic.js +3 -11
- package/lib/esm/view/reportsResync/reportsResyncReducer.js +1 -9
- package/lib/esm/view/settingsView/epic/fetchNotificationSettingsEpic.js +2 -34
- package/lib/esm/view/settingsView/epic/saveNotificationSettingsEpic.js +1 -2
- package/lib/esm/view/settingsView/settingsViewHelpers.js +2 -3
- package/lib/esm/view/spendManagement/billPay/billDetailView/billDetailViewSelector.js +38 -83
- package/lib/esm/view/spendManagement/billPay/billList/billListSelector.js +17 -14
- package/lib/esm/view/spendManagement/billPay/editBillView/editBillViewSelector.js +3 -1
- package/lib/esm/view/spendManagement/billPay/editBillView/epics/fetchEditBillDetailPageEpic.js +14 -0
- package/lib/esm/view/spendManagement/commonSetup/setupViewReducer.js +1 -2
- package/lib/esm/view/spendManagement/helpers.js +0 -26
- package/lib/esm/view/spendManagement/reimbursement/editRemiView/epics/fetchEditRemiDetailPageEpic.js +12 -0
- package/lib/esm/view/spendManagement/reimbursement/remiDetailView/remiDetailViewSelector.js +18 -45
- package/lib/esm/view/spendManagement/reimbursement/remiListView/remiListSelector.js +17 -14
- package/lib/esm/view/transactionDetail/epics/saveTransactionDetailEpic.js +1 -1
- package/lib/esm/view/transactionDetail/epics/updateTransactionDetailEpic.js +1 -1
- package/lib/index.d.ts +9 -248
- package/lib/index.js +41 -604
- package/lib/reducer.d.ts +0 -159
- package/lib/reducer.js +3 -162
- package/lib/view/addressView/addressViewState.d.ts +1 -1
- package/lib/view/auditReportView/auditReportViewState.d.ts +1 -1
- package/lib/view/billPayCard/billPayCardSelector.d.ts +1 -1
- package/lib/view/cardBalance/cardBalanceSelector.d.ts +1 -1
- package/lib/view/cashBalance/cashBalanceSelector.d.ts +1 -1
- package/lib/view/cashInCashOut/cashInCashOutSelector.d.ts +1 -1
- package/lib/view/cashPosition/cashPositionSelector.d.ts +1 -1
- package/lib/view/common/recurringViewHelper.d.ts +2 -2
- package/lib/view/companyView/companyViewReducer.d.ts +1 -9
- package/lib/view/companyView/companyViewReducer.js +3 -70
- package/lib/view/companyView/epic/companyPassport/dismissCapitalizationOnboardingEpic.js +1 -2
- package/lib/view/companyView/epic/companyPassport/updateAccountingClassesEnabledEpic.js +1 -2
- package/lib/view/companyView/epic/companyPassport/updateCapitalizationAccountThresholdEpic.js +1 -2
- package/lib/view/companyView/types/companyPassport/companyPassportViewState.d.ts +0 -2
- package/lib/view/companyView/types/companyPassport/companyPassportViewState.js +0 -5
- package/lib/view/dashboard/dashboardReducer.d.ts +2 -2
- package/lib/view/dashboard/dashboardSelector.d.ts +3 -2
- package/lib/view/dashboard/dashboardSelector.js +9 -13
- package/lib/view/expenseAutomationView/epics/accountRecon/reparseStatementEpic.d.ts +1 -1
- package/lib/view/expenseAutomationView/epics/common/fetchAllExpenseAutomationTabsEpic.js +1 -1
- package/lib/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationEpic.js +1 -2
- package/lib/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationViewEpic.js +2 -4
- package/lib/view/expenseAutomationView/epics/transactionCategorization/markTransactionAsNotMiscategorizedEpic.js +1 -1
- package/lib/view/expenseAutomationView/epics/transactionCategorization/saveTransactionCategorizationEpic.js +1 -1
- package/lib/view/expenseAutomationView/epics/transactionCategorization/triggerReviewTabRefetchEpic.js +1 -1
- package/lib/view/expenseAutomationView/helpers/mapStatementUpdateLocalDataToRequestBody.js +3 -1
- package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.d.ts +1 -1
- package/lib/view/expenseAutomationView/reducers/reconciliationViewReducer.js +2 -30
- package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.js +3 -2
- package/lib/view/expenseAutomationView/selectors/reconciliationViewSelector.js +2 -3
- package/lib/view/expenseAutomationView/selectors/transactionCategorizationSelector.js +17 -3
- package/lib/view/expenseAutomationView/types/fluxAnalysisViewState.d.ts +1 -1
- package/lib/view/fileView/fileUploadHelpers.js +2 -1
- package/lib/view/financeStatement/financeStatementReducer.d.ts +1 -1
- package/lib/view/globalMerchantView/globalMerchantViewReducer.d.ts +2 -2
- package/lib/view/onboardingView/cockpitView/epic/initializeOnboardingCustomerViewUpdateDataEpic.js +5 -1
- package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewLocalStoreDataEpic.js +4 -5
- package/lib/view/recommendation/fetchEntityRecommendationsForLineUpdateEpic.js +1 -1
- package/lib/view/recommendation/recommendationPayload.d.ts +34 -0
- package/lib/view/recommendation/recommendationReducer.d.ts +2 -1
- package/lib/view/recommendation/recommendationReducer.js +18 -2
- package/lib/view/recommendation/submitRecommendationFeedbackEpic.d.ts +7 -0
- package/lib/view/recommendation/submitRecommendationFeedbackEpic.js +56 -0
- package/lib/view/reimbursementCard/reimbursementCardSelector.d.ts +1 -1
- package/lib/view/reportsResync/reportsClassViewRefetchingEpic.d.ts +2 -1
- package/lib/view/reportsResync/reportsClassViewRefetchingEpic.js +4 -0
- package/lib/view/reportsResync/reportsResyncEpic.d.ts +2 -2
- package/lib/view/reportsResync/reportsResyncEpic.js +2 -10
- package/lib/view/reportsResync/reportsResyncReducer.d.ts +3 -5
- package/lib/view/reportsResync/reportsResyncReducer.js +2 -10
- package/lib/view/settingsView/epic/fetchNotificationSettingsEpic.d.ts +1 -9
- package/lib/view/settingsView/epic/fetchNotificationSettingsEpic.js +2 -34
- package/lib/view/settingsView/epic/saveNotificationSettingsEpic.js +1 -2
- package/lib/view/settingsView/settingsViewHelpers.d.ts +1 -1
- package/lib/view/settingsView/settingsViewHelpers.js +2 -3
- package/lib/view/settingsView/settingsViewPayload.d.ts +0 -4
- package/lib/view/settingsView/settingsViewState.d.ts +1 -1
- package/lib/view/spendManagement/billPay/billDetailView/billDetailViewSelector.d.ts +0 -4
- package/lib/view/spendManagement/billPay/billDetailView/billDetailViewSelector.js +37 -82
- package/lib/view/spendManagement/billPay/billList/billListReducer.d.ts +1 -1
- package/lib/view/spendManagement/billPay/billList/billListSelector.js +16 -13
- package/lib/view/spendManagement/billPay/billList/billListState.d.ts +1 -1
- package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.js +3 -1
- package/lib/view/spendManagement/billPay/editBillView/epics/fetchEditBillDetailPageEpic.d.ts +2 -1
- package/lib/view/spendManagement/billPay/editBillView/epics/fetchEditBillDetailPageEpic.js +14 -0
- package/lib/view/spendManagement/commonSetup/setupViewReducer.js +1 -2
- package/lib/view/spendManagement/helpers.d.ts +1 -6
- package/lib/view/spendManagement/helpers.js +1 -31
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchEditRemiDetailPageEpic.d.ts +2 -1
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchEditRemiDetailPageEpic.js +12 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewSelector.d.ts +0 -3
- package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewSelector.js +17 -44
- package/lib/view/spendManagement/reimbursement/remiListView/remiListReducer.d.ts +1 -1
- package/lib/view/spendManagement/reimbursement/remiListView/remiListSelector.js +16 -13
- package/lib/view/spendManagement/reimbursement/remiListView/remiListState.d.ts +3 -3
- package/lib/view/tasksCard/tasksCardSelector.d.ts +1 -1
- package/lib/view/topEx/topExSelector.d.ts +1 -1
- package/lib/view/transactionDetail/epics/saveTransactionDetailEpic.js +1 -1
- package/lib/view/transactionDetail/epics/updateTransactionDetailEpic.js +1 -1
- package/lib/view/transactionDetail/transactionDetailState.d.ts +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 -4
- package/lib/entity/invoicing/coupon/couponSelector.js +0 -16
- 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 -4
- package/lib/entity/invoicing/invoice/invoiceSelector.js +0 -16
- 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 -220
- package/lib/entity/invoicing/invoicingCommonPayload.js +0 -232
- 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/entity/notificationRegistry/notificationRegistryPayload.d.ts +0 -19
- package/lib/entity/notificationRegistry/notificationRegistryPayload.js +0 -31
- package/lib/entity/notificationRegistry/notificationRegistryReducer.d.ts +0 -10
- package/lib/entity/notificationRegistry/notificationRegistryReducer.js +0 -50
- package/lib/entity/notificationRegistry/notificationRegistrySelector.d.ts +0 -2
- package/lib/entity/notificationRegistry/notificationRegistrySelector.js +0 -10
- package/lib/entity/notificationRegistry/notificationRegistryState.d.ts +0 -33
- package/lib/entity/notificationRegistry/notificationRegistryState.js +0 -10
- 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 -9
- 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 -9
- package/lib/esm/entity/invoicing/invoice/invoiceState.js +0 -1
- package/lib/esm/entity/invoicing/invoicingCommonPayload.js +0 -211
- 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/entity/notificationRegistry/notificationRegistryPayload.js +0 -27
- package/lib/esm/entity/notificationRegistry/notificationRegistryReducer.js +0 -46
- package/lib/esm/entity/notificationRegistry/notificationRegistrySelector.js +0 -6
- package/lib/esm/entity/notificationRegistry/notificationRegistryState.js +0 -5
- package/lib/esm/view/companyView/epic/companyPassport/projects/disableAccountingProjectsEpic.js +0 -56
- package/lib/esm/view/companyView/epic/companyPassport/projects/enableAccountingProjectsEpic.js +0 -37
- package/lib/esm/view/companyView/epic/companyPassport/projects/resumeEnableAccountingProjectsEpic.js +0 -73
- 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 -76
- package/lib/esm/view/invoicing/couponView/couponViewPayload.js +0 -1
- package/lib/esm/view/invoicing/couponView/couponViewReducer.js +0 -115
- package/lib/esm/view/invoicing/couponView/couponViewSelector.js +0 -47
- package/lib/esm/view/invoicing/couponView/couponViewState.js +0 -39
- package/lib/esm/view/invoicing/createCreditNote/createCreditNoteEpic.js +0 -43
- package/lib/esm/view/invoicing/createCreditNote/createCreditNoteFormConfig.js +0 -11
- package/lib/esm/view/invoicing/createCreditNote/createCreditNotePayload.js +0 -27
- 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 -50
- 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 -55
- package/lib/esm/view/invoicing/createInvoice/createInvoiceSelector.js +0 -57
- package/lib/esm/view/invoicing/createInvoice/createInvoiceState.js +0 -1
- package/lib/esm/view/invoicing/createInvoice/epics/fetchCreateInvoiceFormPageEpic.js +0 -50
- 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 -113
- package/lib/esm/view/invoicing/dataImportView/dataImportViewSelector.js +0 -19
- package/lib/esm/view/invoicing/dataImportView/dataImportViewState.js +0 -1
- package/lib/esm/view/invoicing/discountAction/discountActionEpic.js +0 -52
- 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 -53
- 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 -174
- package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewPayload.js +0 -130
- 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 -152
- package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/invoicingCatalogSubFamilyEpics.js +0 -39
- package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/saveInvoicingCatalogItemEpic.js +0 -108
- package/lib/esm/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewPayload.js +0 -58
- package/lib/esm/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewReducer.js +0 -65
- package/lib/esm/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewSelector.js +0 -43
- package/lib/esm/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewState.js +0 -43
- package/lib/esm/view/invoicing/editInvoicingCouponDetailView/saveInvoicingCouponEpic.js +0 -70
- 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 -73
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewPayload.js +0 -45
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer.js +0 -80
- 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 -73
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/saveInvoicingSubscriptionEpic.js +0 -104
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/syncInvoicingSubscriptionCouponsEpic.js +0 -82
- package/lib/esm/view/invoicing/invoiceAction/invoiceActionEpic.js +0 -97
- 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 -58
- package/lib/esm/view/invoicing/invoiceList/fetchInvoiceListPageEpic.js +0 -31
- package/lib/esm/view/invoicing/invoiceList/invoiceListPayload.js +0 -1
- package/lib/esm/view/invoicing/invoiceList/invoiceListReducer.js +0 -166
- package/lib/esm/view/invoicing/invoiceList/invoiceListSelector.js +0 -27
- package/lib/esm/view/invoicing/invoiceList/invoiceListState.js +0 -29
- 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 -170
- package/lib/esm/view/invoicing/invoicingConfigView/invoicingConfigViewSelector.js +0 -10
- 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 -40
- 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 -95
- package/lib/esm/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewSelector.js +0 -31
- 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 -46
- 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 -40
- package/lib/esm/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListPageEpic.js +0 -27
- package/lib/esm/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewPayload.js +0 -1
- package/lib/esm/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer.js +0 -111
- package/lib/esm/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewSelector.js +0 -34
- 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 -37
- 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 -95
- package/lib/esm/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewSelector.js +0 -31
- 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/invoicingQboView/epics/fetchInvoicingQboAccountsEpic.js +0 -25
- package/lib/esm/view/invoicing/invoicingQboView/epics/fetchInvoicingQboClassesEpic.js +0 -15
- package/lib/esm/view/invoicing/invoicingQboView/epics/fetchInvoicingQboConnectionEpic.js +0 -15
- package/lib/esm/view/invoicing/invoicingQboView/epics/fetchInvoicingQboSyncHealthEpic.js +0 -15
- package/lib/esm/view/invoicing/invoicingQboView/epics/invoicingQboViewActionType.js +0 -1
- package/lib/esm/view/invoicing/invoicingQboView/epics/retryInvoicingQboSyncTaskEpic.js +0 -45
- package/lib/esm/view/invoicing/invoicingQboView/epics/startInvoicingQboBackfillEpic.js +0 -41
- package/lib/esm/view/invoicing/invoicingQboView/invoicingQboViewPayload.js +0 -47
- package/lib/esm/view/invoicing/invoicingQboView/invoicingQboViewReducer.js +0 -128
- package/lib/esm/view/invoicing/invoicingQboView/invoicingQboViewSelector.js +0 -20
- package/lib/esm/view/invoicing/invoicingQboView/invoicingQboViewState.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 -49
- package/lib/esm/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListPageEpic.js +0 -27
- package/lib/esm/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewPayload.js +0 -1
- package/lib/esm/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer.js +0 -109
- package/lib/esm/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewSelector.js +0 -32
- 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 -48
- package/lib/esm/view/invoicing/invoicingTransactionListView/epics/fetchInvoicingTransactionListPageEpic.js +0 -25
- package/lib/esm/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewPayload.js +0 -1
- package/lib/esm/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewReducer.js +0 -115
- package/lib/esm/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewSelector.js +0 -23
- package/lib/esm/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewState.js +0 -49
- package/lib/esm/view/invoicing/issueCreditNote/issueCreditNoteEpic.js +0 -46
- package/lib/esm/view/invoicing/issueCreditNote/issueCreditNoteFormConfig.js +0 -13
- package/lib/esm/view/invoicing/issueCreditNote/issueCreditNotePayload.js +0 -44
- package/lib/esm/view/invoicing/issueCreditNote/issueCreditNoteReducer.js +0 -48
- package/lib/esm/view/invoicing/issueCreditNote/issueCreditNoteSelector.js +0 -28
- 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 -96
- package/lib/esm/view/invoicing/recordPayment/recordPaymentFormConfig.js +0 -36
- package/lib/esm/view/invoicing/recordPayment/recordPaymentPayload.js +0 -58
- 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 -89
- 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 -53
- package/lib/esm/view/invoicing/settingsView/settingsViewState.js +0 -1
- package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionEpic.js +0 -63
- 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/esm/view/netBurnOrIncomeProjectView/netBurnOrIncomeForTimeframeProjectViewEpic.js +0 -45
- package/lib/esm/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewEpic.js +0 -30
- package/lib/esm/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewPayload.js +0 -1
- package/lib/esm/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewReducer.js +0 -111
- package/lib/esm/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewSelector.js +0 -65
- package/lib/esm/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewSelectorTypes.js +0 -1
- package/lib/esm/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewState.js +0 -1
- package/lib/esm/view/notificationPreferencesView/epics/saveNotificationPreferencesEpic.js +0 -113
- package/lib/esm/view/notificationPreferencesView/notificationPreferencesEndpoint.js +0 -5
- package/lib/esm/view/notificationPreferencesView/notificationPreferencesViewPayload.js +0 -41
- package/lib/esm/view/notificationPreferencesView/notificationPreferencesViewReducer.js +0 -267
- package/lib/esm/view/notificationPreferencesView/notificationPreferencesViewSelector.js +0 -35
- package/lib/esm/view/notificationPreferencesView/notificationPreferencesViewState.js +0 -5
- package/lib/esm/view/opExProjectView/opExForTimeframeProjectViewEpic.js +0 -43
- package/lib/esm/view/opExProjectView/opExProjectViewEpic.js +0 -30
- package/lib/esm/view/opExProjectView/opExProjectViewPayload.js +0 -1
- package/lib/esm/view/opExProjectView/opExProjectViewReducer.js +0 -111
- package/lib/esm/view/opExProjectView/opExProjectViewSelector.js +0 -52
- package/lib/esm/view/opExProjectView/opExProjectViewSelectorTypes.js +0 -1
- package/lib/esm/view/opExProjectView/opExProjectViewState.js +0 -1
- package/lib/esm/view/reportsResync/reportsProjectViewRefetchingEpic.js +0 -30
- package/lib/esm/view/revenueProjectView/revenueForTimeframeProjectViewEpic.js +0 -35
- package/lib/esm/view/revenueProjectView/revenueProjectViewEpic.js +0 -30
- package/lib/esm/view/revenueProjectView/revenueProjectViewPayload.js +0 -1
- package/lib/esm/view/revenueProjectView/revenueProjectViewReducer.js +0 -111
- package/lib/esm/view/revenueProjectView/revenueProjectViewSelector.js +0 -58
- package/lib/esm/view/revenueProjectView/revenueProjectViewSelectorTypes.js +0 -1
- package/lib/esm/view/revenueProjectView/revenueProjectViewState.js +0 -1
- package/lib/view/companyView/epic/companyPassport/projects/disableAccountingProjectsEpic.d.ts +0 -10
- package/lib/view/companyView/epic/companyPassport/projects/disableAccountingProjectsEpic.js +0 -60
- package/lib/view/companyView/epic/companyPassport/projects/enableAccountingProjectsEpic.d.ts +0 -11
- package/lib/view/companyView/epic/companyPassport/projects/enableAccountingProjectsEpic.js +0 -41
- package/lib/view/companyView/epic/companyPassport/projects/resumeEnableAccountingProjectsEpic.d.ts +0 -13
- package/lib/view/companyView/epic/companyPassport/projects/resumeEnableAccountingProjectsEpic.js +0 -77
- 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 -82
- 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 -119
- package/lib/view/invoicing/couponView/couponViewSelector.d.ts +0 -31
- package/lib/view/invoicing/couponView/couponViewSelector.js +0 -56
- package/lib/view/invoicing/couponView/couponViewState.d.ts +0 -41
- package/lib/view/invoicing/couponView/couponViewState.js +0 -44
- package/lib/view/invoicing/createCreditNote/createCreditNoteEpic.d.ts +0 -9
- package/lib/view/invoicing/createCreditNote/createCreditNoteEpic.js +0 -47
- package/lib/view/invoicing/createCreditNote/createCreditNoteFormConfig.d.ts +0 -2
- package/lib/view/invoicing/createCreditNote/createCreditNoteFormConfig.js +0 -15
- package/lib/view/invoicing/createCreditNote/createCreditNotePayload.d.ts +0 -4
- package/lib/view/invoicing/createCreditNote/createCreditNotePayload.js +0 -31
- 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 -18
- package/lib/view/invoicing/createCreditNote/createCreditNoteState.js +0 -2
- package/lib/view/invoicing/createInvoice/createInvoiceEpic.d.ts +0 -11
- package/lib/view/invoicing/createInvoice/createInvoiceEpic.js +0 -54
- 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 -14
- package/lib/view/invoicing/createInvoice/createInvoiceReducer.js +0 -59
- package/lib/view/invoicing/createInvoice/createInvoiceSelector.d.ts +0 -39
- package/lib/view/invoicing/createInvoice/createInvoiceSelector.js +0 -61
- package/lib/view/invoicing/createInvoice/createInvoiceState.d.ts +0 -35
- package/lib/view/invoicing/createInvoice/createInvoiceState.js +0 -2
- package/lib/view/invoicing/createInvoice/epics/fetchCreateInvoiceFormPageEpic.d.ts +0 -15
- package/lib/view/invoicing/createInvoice/epics/fetchCreateInvoiceFormPageEpic.js +0 -54
- 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 -117
- package/lib/view/invoicing/dataImportView/dataImportViewSelector.d.ts +0 -21
- package/lib/view/invoicing/dataImportView/dataImportViewSelector.js +0 -23
- package/lib/view/invoicing/dataImportView/dataImportViewState.d.ts +0 -20
- package/lib/view/invoicing/dataImportView/dataImportViewState.js +0 -2
- package/lib/view/invoicing/discountAction/discountActionEpic.d.ts +0 -9
- package/lib/view/invoicing/discountAction/discountActionEpic.js +0 -56
- 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 -9
- package/lib/view/invoicing/dunningAction/dunningActionEpic.js +0 -57
- 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 -54
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/catalogDetailEditPayload.js +0 -181
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewPayload.d.ts +0 -9
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewPayload.js +0 -134
- 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 -63
- 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 -160
- 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 -11
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/saveInvoicingCatalogItemEpic.js +0 -112
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewPayload.d.ts +0 -10
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewPayload.js +0 -62
- 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 -48
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewState.d.ts +0 -36
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewState.js +0 -47
- package/lib/view/invoicing/editInvoicingCouponDetailView/saveInvoicingCouponEpic.d.ts +0 -10
- package/lib/view/invoicing/editInvoicingCouponDetailView/saveInvoicingCouponEpic.js +0 -74
- 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 -12
- package/lib/view/invoicing/editInvoicingCustomerDetailView/saveInvoicingCustomerEpic.js +0 -77
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewPayload.d.ts +0 -11
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewPayload.js +0 -49
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer.d.ts +0 -32
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer.js +0 -84
- 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 -29
- 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 -79
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/saveInvoicingSubscriptionEpic.d.ts +0 -12
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/saveInvoicingSubscriptionEpic.js +0 -108
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/syncInvoicingSubscriptionCouponsEpic.d.ts +0 -18
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/syncInvoicingSubscriptionCouponsEpic.js +0 -86
- package/lib/view/invoicing/invoiceAction/invoiceActionEpic.d.ts +0 -11
- package/lib/view/invoicing/invoiceAction/invoiceActionEpic.js +0 -102
- 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 -62
- package/lib/view/invoicing/invoiceList/fetchInvoiceListPageEpic.d.ts +0 -11
- package/lib/view/invoicing/invoiceList/fetchInvoiceListPageEpic.js +0 -35
- 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 -49
- package/lib/view/invoicing/invoiceList/invoiceListReducer.js +0 -171
- package/lib/view/invoicing/invoiceList/invoiceListSelector.d.ts +0 -24
- package/lib/view/invoicing/invoiceList/invoiceListSelector.js +0 -30
- package/lib/view/invoicing/invoiceList/invoiceListState.d.ts +0 -49
- package/lib/view/invoicing/invoiceList/invoiceListState.js +0 -35
- 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 -56
- 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 -175
- package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewSelector.d.ts +0 -18
- package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewSelector.js +0 -14
- package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewState.d.ts +0 -46
- 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 -44
- 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 -99
- package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewSelector.d.ts +0 -23
- package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewSelector.js +0 -34
- package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewState.d.ts +0 -43
- 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 -50
- 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 -44
- package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListPageEpic.d.ts +0 -16
- package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListPageEpic.js +0 -31
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewPayload.d.ts +0 -5
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewPayload.js +0 -2
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer.d.ts +0 -34
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer.js +0 -115
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewSelector.d.ts +0 -25
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewSelector.js +0 -37
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewState.d.ts +0 -42
- 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 -41
- 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 -99
- package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewSelector.d.ts +0 -23
- package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewSelector.js +0 -34
- package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewState.d.ts +0 -42
- 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/invoicingQboView/epics/fetchInvoicingQboAccountsEpic.d.ts +0 -6
- package/lib/view/invoicing/invoicingQboView/epics/fetchInvoicingQboAccountsEpic.js +0 -29
- package/lib/view/invoicing/invoicingQboView/epics/fetchInvoicingQboClassesEpic.d.ts +0 -6
- package/lib/view/invoicing/invoicingQboView/epics/fetchInvoicingQboClassesEpic.js +0 -19
- package/lib/view/invoicing/invoicingQboView/epics/fetchInvoicingQboConnectionEpic.d.ts +0 -6
- package/lib/view/invoicing/invoicingQboView/epics/fetchInvoicingQboConnectionEpic.js +0 -19
- package/lib/view/invoicing/invoicingQboView/epics/fetchInvoicingQboSyncHealthEpic.d.ts +0 -6
- package/lib/view/invoicing/invoicingQboView/epics/fetchInvoicingQboSyncHealthEpic.js +0 -19
- package/lib/view/invoicing/invoicingQboView/epics/invoicingQboViewActionType.d.ts +0 -3
- package/lib/view/invoicing/invoicingQboView/epics/invoicingQboViewActionType.js +0 -2
- package/lib/view/invoicing/invoicingQboView/epics/retryInvoicingQboSyncTaskEpic.d.ts +0 -6
- package/lib/view/invoicing/invoicingQboView/epics/retryInvoicingQboSyncTaskEpic.js +0 -49
- package/lib/view/invoicing/invoicingQboView/epics/startInvoicingQboBackfillEpic.d.ts +0 -6
- package/lib/view/invoicing/invoicingQboView/epics/startInvoicingQboBackfillEpic.js +0 -45
- package/lib/view/invoicing/invoicingQboView/invoicingQboViewPayload.d.ts +0 -79
- package/lib/view/invoicing/invoicingQboView/invoicingQboViewPayload.js +0 -52
- package/lib/view/invoicing/invoicingQboView/invoicingQboViewReducer.d.ts +0 -25
- package/lib/view/invoicing/invoicingQboView/invoicingQboViewReducer.js +0 -132
- package/lib/view/invoicing/invoicingQboView/invoicingQboViewSelector.d.ts +0 -21
- package/lib/view/invoicing/invoicingQboView/invoicingQboViewSelector.js +0 -24
- package/lib/view/invoicing/invoicingQboView/invoicingQboViewState.d.ts +0 -14
- package/lib/view/invoicing/invoicingQboView/invoicingQboViewState.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 -53
- package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListPageEpic.d.ts +0 -16
- package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListPageEpic.js +0 -31
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewPayload.d.ts +0 -5
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewPayload.js +0 -2
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer.d.ts +0 -35
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer.js +0 -113
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewSelector.d.ts +0 -26
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewSelector.js +0 -35
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewState.d.ts +0 -46
- 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 -52
- package/lib/view/invoicing/invoicingTransactionListView/epics/fetchInvoicingTransactionListPageEpic.d.ts +0 -16
- package/lib/view/invoicing/invoicingTransactionListView/epics/fetchInvoicingTransactionListPageEpic.js +0 -29
- 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 -119
- package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewSelector.d.ts +0 -20
- package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewSelector.js +0 -26
- package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewState.d.ts +0 -54
- package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewState.js +0 -56
- package/lib/view/invoicing/issueCreditNote/issueCreditNoteEpic.d.ts +0 -10
- package/lib/view/invoicing/issueCreditNote/issueCreditNoteEpic.js +0 -50
- 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 -50
- 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 -30
- package/lib/view/invoicing/issueCreditNote/issueCreditNoteSelector.js +0 -32
- package/lib/view/invoicing/issueCreditNote/issueCreditNoteState.d.ts +0 -20
- 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 -12
- package/lib/view/invoicing/recordPayment/recordPaymentEpic.js +0 -100
- package/lib/view/invoicing/recordPayment/recordPaymentFormConfig.d.ts +0 -8
- package/lib/view/invoicing/recordPayment/recordPaymentFormConfig.js +0 -39
- package/lib/view/invoicing/recordPayment/recordPaymentPayload.d.ts +0 -47
- package/lib/view/invoicing/recordPayment/recordPaymentPayload.js +0 -64
- 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 -27
- 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 -12
- package/lib/view/invoicing/settingsView/settingsViewEpics.js +0 -96
- 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 -24
- package/lib/view/invoicing/settingsView/settingsViewReducer.js +0 -90
- package/lib/view/invoicing/settingsView/settingsViewSelector.d.ts +0 -44
- package/lib/view/invoicing/settingsView/settingsViewSelector.js +0 -60
- 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 -10
- package/lib/view/invoicing/subscriptionAction/subscriptionActionEpic.js +0 -67
- 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
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeForTimeframeProjectViewEpic.d.ts +0 -9
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeForTimeframeProjectViewEpic.js +0 -49
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewEpic.d.ts +0 -6
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewEpic.js +0 -34
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewPayload.d.ts +0 -11
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewPayload.js +0 -2
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewReducer.d.ts +0 -33
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewReducer.js +0 -115
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewSelector.d.ts +0 -13
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewSelector.js +0 -69
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewSelectorTypes.d.ts +0 -21
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewSelectorTypes.js +0 -2
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewState.d.ts +0 -20
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewState.js +0 -2
- package/lib/view/notificationPreferencesView/epics/saveNotificationPreferencesEpic.d.ts +0 -34
- package/lib/view/notificationPreferencesView/epics/saveNotificationPreferencesEpic.js +0 -117
- package/lib/view/notificationPreferencesView/notificationPreferencesEndpoint.d.ts +0 -2
- package/lib/view/notificationPreferencesView/notificationPreferencesEndpoint.js +0 -9
- package/lib/view/notificationPreferencesView/notificationPreferencesViewPayload.d.ts +0 -8
- package/lib/view/notificationPreferencesView/notificationPreferencesViewPayload.js +0 -46
- package/lib/view/notificationPreferencesView/notificationPreferencesViewReducer.d.ts +0 -35
- package/lib/view/notificationPreferencesView/notificationPreferencesViewReducer.js +0 -271
- package/lib/view/notificationPreferencesView/notificationPreferencesViewSelector.d.ts +0 -7
- package/lib/view/notificationPreferencesView/notificationPreferencesViewSelector.js +0 -40
- package/lib/view/notificationPreferencesView/notificationPreferencesViewState.d.ts +0 -15
- package/lib/view/notificationPreferencesView/notificationPreferencesViewState.js +0 -9
- package/lib/view/opExProjectView/opExForTimeframeProjectViewEpic.d.ts +0 -9
- package/lib/view/opExProjectView/opExForTimeframeProjectViewEpic.js +0 -47
- package/lib/view/opExProjectView/opExProjectViewEpic.d.ts +0 -6
- package/lib/view/opExProjectView/opExProjectViewEpic.js +0 -34
- package/lib/view/opExProjectView/opExProjectViewPayload.d.ts +0 -6
- package/lib/view/opExProjectView/opExProjectViewPayload.js +0 -2
- package/lib/view/opExProjectView/opExProjectViewReducer.d.ts +0 -33
- package/lib/view/opExProjectView/opExProjectViewReducer.js +0 -115
- package/lib/view/opExProjectView/opExProjectViewSelector.d.ts +0 -12
- package/lib/view/opExProjectView/opExProjectViewSelector.js +0 -56
- package/lib/view/opExProjectView/opExProjectViewSelectorTypes.d.ts +0 -19
- package/lib/view/opExProjectView/opExProjectViewSelectorTypes.js +0 -2
- package/lib/view/opExProjectView/opExProjectViewState.d.ts +0 -20
- package/lib/view/opExProjectView/opExProjectViewState.js +0 -2
- package/lib/view/reportsResync/reportsProjectViewRefetchingEpic.d.ts +0 -10
- package/lib/view/reportsResync/reportsProjectViewRefetchingEpic.js +0 -34
- package/lib/view/revenueProjectView/revenueForTimeframeProjectViewEpic.d.ts +0 -9
- package/lib/view/revenueProjectView/revenueForTimeframeProjectViewEpic.js +0 -39
- package/lib/view/revenueProjectView/revenueProjectViewEpic.d.ts +0 -6
- package/lib/view/revenueProjectView/revenueProjectViewEpic.js +0 -34
- package/lib/view/revenueProjectView/revenueProjectViewPayload.d.ts +0 -9
- package/lib/view/revenueProjectView/revenueProjectViewPayload.js +0 -2
- package/lib/view/revenueProjectView/revenueProjectViewReducer.d.ts +0 -33
- package/lib/view/revenueProjectView/revenueProjectViewReducer.js +0 -115
- package/lib/view/revenueProjectView/revenueProjectViewSelector.d.ts +0 -12
- package/lib/view/revenueProjectView/revenueProjectViewSelector.js +0 -62
- package/lib/view/revenueProjectView/revenueProjectViewSelectorTypes.d.ts +0 -19
- package/lib/view/revenueProjectView/revenueProjectViewSelectorTypes.js +0 -2
- package/lib/view/revenueProjectView/revenueProjectViewState.d.ts +0 -20
- package/lib/view/revenueProjectView/revenueProjectViewState.js +0 -2
package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewReducer.js
DELETED
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var _a;
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.clearInvoicingTransactionListView = exports.addInvoicingTransactionToList = exports.setInvoicingTransactionActiveTab = exports.updateInvoicingTransactionFilters = exports.updateInvoicingTransactionListFailure = exports.updateInvoicingTransactionList = exports.fetchInvoicingTransactionListPage = exports.fetchInvoicingTransactionList = exports.initialState = void 0;
|
|
5
|
-
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
|
-
const invoicingTransactionListViewState_1 = require("./invoicingTransactionListViewState");
|
|
7
|
-
/**
|
|
8
|
-
* Whether two transaction-list queries share the same base (tab-independent)
|
|
9
|
-
* query. When the base query changes (search / customer / status / sort) every
|
|
10
|
-
* per-tab cache is stale, so the reducer resets them all.
|
|
11
|
-
*/
|
|
12
|
-
const sameTransactionBaseQuery = (a, b) => a.filters.customerId === b.filters.customerId &&
|
|
13
|
-
a.filters.status === b.filters.status &&
|
|
14
|
-
a.filters.search === b.filters.search &&
|
|
15
|
-
a.sort?.field === b.sort?.field &&
|
|
16
|
-
a.sort?.dir === b.sort?.dir;
|
|
17
|
-
exports.initialState = {
|
|
18
|
-
activeTab: 'all',
|
|
19
|
-
byTab: (0, invoicingTransactionListViewState_1.makeInvoicingTransactionIdsByTab)(),
|
|
20
|
-
filters: {},
|
|
21
|
-
};
|
|
22
|
-
const invoicingTransactionListView = (0, toolkit_1.createSlice)({
|
|
23
|
-
name: 'invoicingTransactionListView',
|
|
24
|
-
initialState: exports.initialState,
|
|
25
|
-
reducers: {
|
|
26
|
-
fetchInvoicingTransactionList: {
|
|
27
|
-
reducer(draft, action) {
|
|
28
|
-
const tab = draft.byTab[draft.activeTab];
|
|
29
|
-
if (!action.payload.keepExistingListItems) {
|
|
30
|
-
tab.ids = [];
|
|
31
|
-
tab.nextCursor = null;
|
|
32
|
-
}
|
|
33
|
-
draft.filters = action.payload.filters;
|
|
34
|
-
draft.sort = action.payload.sort;
|
|
35
|
-
tab.fetchState = 'In-Progress';
|
|
36
|
-
tab.error = undefined;
|
|
37
|
-
},
|
|
38
|
-
prepare(payload) {
|
|
39
|
-
return {
|
|
40
|
-
payload: {
|
|
41
|
-
filters: payload.filters ?? {},
|
|
42
|
-
cursor: payload.cursor,
|
|
43
|
-
keepExistingListItems: payload.keepExistingListItems ?? false,
|
|
44
|
-
sort: payload.sort,
|
|
45
|
-
},
|
|
46
|
-
};
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
fetchInvoicingTransactionListPage: {
|
|
50
|
-
reducer(draft, action) {
|
|
51
|
-
// A different base query invalidates every tab's cache — reset so the
|
|
52
|
-
// page epic's shouldFetch refetches the active tab instead of showing
|
|
53
|
-
// rows fetched under a stale search/customer/status/sort.
|
|
54
|
-
if (!sameTransactionBaseQuery(draft, action.payload)) {
|
|
55
|
-
draft.byTab = (0, invoicingTransactionListViewState_1.makeInvoicingTransactionIdsByTab)();
|
|
56
|
-
}
|
|
57
|
-
draft.filters = action.payload.filters;
|
|
58
|
-
draft.sort = action.payload.sort;
|
|
59
|
-
},
|
|
60
|
-
prepare(payload) {
|
|
61
|
-
return {
|
|
62
|
-
payload: {
|
|
63
|
-
cacheOverride: payload.cacheOverride ?? false,
|
|
64
|
-
filters: payload.filters ?? {},
|
|
65
|
-
sort: payload.sort,
|
|
66
|
-
},
|
|
67
|
-
};
|
|
68
|
-
},
|
|
69
|
-
},
|
|
70
|
-
updateInvoicingTransactionList(draft, action) {
|
|
71
|
-
const tab = draft.byTab[draft.activeTab];
|
|
72
|
-
tab.ids = action.payload.keepExistingListItems
|
|
73
|
-
? [...new Set([...tab.ids, ...action.payload.ids])]
|
|
74
|
-
: action.payload.ids;
|
|
75
|
-
tab.nextCursor = action.payload.nextCursor;
|
|
76
|
-
tab.fetchState = 'Completed';
|
|
77
|
-
tab.error = undefined;
|
|
78
|
-
},
|
|
79
|
-
updateInvoicingTransactionListFailure(draft, action) {
|
|
80
|
-
const tab = draft.byTab[draft.activeTab];
|
|
81
|
-
tab.fetchState = 'Error';
|
|
82
|
-
tab.error = action.payload;
|
|
83
|
-
},
|
|
84
|
-
updateInvoicingTransactionFilters(draft, action) {
|
|
85
|
-
draft.filters = action.payload;
|
|
86
|
-
},
|
|
87
|
-
// Select a type tab. The view dispatches the follow-up
|
|
88
|
-
// fetchInvoicingTransactionListPage so the page epic fetches the tab when
|
|
89
|
-
// its cache is empty and reuses it when already loaded.
|
|
90
|
-
setInvoicingTransactionActiveTab(draft, action) {
|
|
91
|
-
draft.activeTab = action.payload;
|
|
92
|
-
},
|
|
93
|
-
// Reflect a newly recorded payment's transaction in the cached list so the
|
|
94
|
-
// payments page shows it without refetching. The payload carries no type,
|
|
95
|
-
// so prepend to the 'all' tab and the tab currently in view (dedup/no-op if
|
|
96
|
-
// already present); other tabs refetch fresh on their next visit.
|
|
97
|
-
addInvoicingTransactionToList(draft, action) {
|
|
98
|
-
const id = action.payload;
|
|
99
|
-
const prependTo = (tabId) => {
|
|
100
|
-
const tab = draft.byTab[tabId];
|
|
101
|
-
if (!tab.ids.includes(id)) {
|
|
102
|
-
tab.ids = [id, ...tab.ids];
|
|
103
|
-
}
|
|
104
|
-
};
|
|
105
|
-
prependTo('all');
|
|
106
|
-
if (draft.activeTab !== 'all') {
|
|
107
|
-
prependTo(draft.activeTab);
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
clearInvoicingTransactionListView(draft) {
|
|
111
|
-
draft.activeTab = 'all';
|
|
112
|
-
draft.byTab = (0, invoicingTransactionListViewState_1.makeInvoicingTransactionIdsByTab)();
|
|
113
|
-
draft.filters = {};
|
|
114
|
-
draft.sort = undefined;
|
|
115
|
-
},
|
|
116
|
-
},
|
|
117
|
-
});
|
|
118
|
-
_a = invoicingTransactionListView.actions, exports.fetchInvoicingTransactionList = _a.fetchInvoicingTransactionList, exports.fetchInvoicingTransactionListPage = _a.fetchInvoicingTransactionListPage, exports.updateInvoicingTransactionList = _a.updateInvoicingTransactionList, exports.updateInvoicingTransactionListFailure = _a.updateInvoicingTransactionListFailure, exports.updateInvoicingTransactionFilters = _a.updateInvoicingTransactionFilters, exports.setInvoicingTransactionActiveTab = _a.setInvoicingTransactionActiveTab, exports.addInvoicingTransactionToList = _a.addInvoicingTransactionToList, exports.clearInvoicingTransactionListView = _a.clearInvoicingTransactionListView;
|
|
119
|
-
exports.default = invoicingTransactionListView.reducer;
|
package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewSelector.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { SelectorView } from '../../../commonStateTypes/viewAndReport/viewAndReport';
|
|
2
|
-
import { InvoicingTransaction } from '../../../entity/invoicing/invoicingTransaction/invoicingTransactionState';
|
|
3
|
-
import { RootState } from '../../../reducer';
|
|
4
|
-
import { InvoicingListSort } from '../invoicingApiHelper';
|
|
5
|
-
import { InvoicingTransactionColumnConfig, InvoicingTransactionFilters, InvoicingTransactionTabId } from './invoicingTransactionListViewState';
|
|
6
|
-
export interface InvoicingTransactionListView extends SelectorView {
|
|
7
|
-
activeTab: InvoicingTransactionTabId;
|
|
8
|
-
columns: InvoicingTransactionColumnConfig[];
|
|
9
|
-
filters: InvoicingTransactionFilters;
|
|
10
|
-
nextCursor: string | null;
|
|
11
|
-
tabIds: InvoicingTransactionTabId[];
|
|
12
|
-
transactions: InvoicingTransaction[];
|
|
13
|
-
sort?: InvoicingListSort;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Memoized so the denormalized `transactions` array (and the wrapping view
|
|
17
|
-
* object) keep referential identity until the transaction entity slice or the
|
|
18
|
-
* list-view slice actually change.
|
|
19
|
-
*/
|
|
20
|
-
export declare const getInvoicingTransactionListView: (state: RootState) => InvoicingTransactionListView;
|
package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewSelector.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getInvoicingTransactionListView = void 0;
|
|
4
|
-
const toolkit_1 = require("@reduxjs/toolkit");
|
|
5
|
-
const invoicingTransactionSelector_1 = require("../../../entity/invoicing/invoicingTransaction/invoicingTransactionSelector");
|
|
6
|
-
const invoicingTransactionListViewState_1 = require("./invoicingTransactionListViewState");
|
|
7
|
-
/**
|
|
8
|
-
* Memoized so the denormalized `transactions` array (and the wrapping view
|
|
9
|
-
* object) keep referential identity until the transaction entity slice or the
|
|
10
|
-
* list-view slice actually change.
|
|
11
|
-
*/
|
|
12
|
-
exports.getInvoicingTransactionListView = (0, toolkit_1.createSelector)((state) => state.invoicingTransactionState, (state) => state.invoicingTransactionListViewState, (transactionState, listViewState) => {
|
|
13
|
-
const activeTabState = listViewState.byTab[listViewState.activeTab];
|
|
14
|
-
return {
|
|
15
|
-
activeTab: listViewState.activeTab,
|
|
16
|
-
columns: invoicingTransactionListViewState_1.INVOICING_TRANSACTION_COLUMNS,
|
|
17
|
-
transactions: (0, invoicingTransactionSelector_1.getInvoicingTransactionsByIds)(transactionState, activeTabState.ids),
|
|
18
|
-
filters: listViewState.filters,
|
|
19
|
-
nextCursor: activeTabState.nextCursor,
|
|
20
|
-
fetchState: activeTabState.fetchState,
|
|
21
|
-
error: activeTabState.error,
|
|
22
|
-
tabIds: invoicingTransactionListViewState_1.INVOICING_TRANSACTION_TABS,
|
|
23
|
-
sort: listViewState.sort,
|
|
24
|
-
version: 1.0,
|
|
25
|
-
};
|
|
26
|
-
});
|
package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewState.d.ts
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { FetchStateAndError, ID } from '../../../commonStateTypes/common';
|
|
2
|
-
import { InvoicingListSort } from '../invoicingApiHelper';
|
|
3
|
-
export interface InvoicingTransactionFilters {
|
|
4
|
-
customerId?: ID;
|
|
5
|
-
search?: string;
|
|
6
|
-
status?: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const ALL_INVOICING_TRANSACTION_SORT_KEYS: readonly ["transaction", "customer", "method", "date", "type", "gateway", "status", "amount"];
|
|
9
|
-
export declare const toInvoicingTransactionSortKey: (v: string) => "date" | "amount" | "status" | "type" | "transaction" | "customer" | "gateway" | "method";
|
|
10
|
-
export type InvoicingTransactionSortKey = ReturnType<typeof toInvoicingTransactionSortKey>;
|
|
11
|
-
/**
|
|
12
|
-
* Structural column descriptor owned by CES so the payments-list column set,
|
|
13
|
-
* ordering and sortability live next to the `InvoicingTransaction` model rather
|
|
14
|
-
* than being hardcoded in web-components. Header labels, cell rendering and
|
|
15
|
-
* layout (alignment, widths) stay in the view layer; this only carries the
|
|
16
|
-
* column set, order and sort metadata.
|
|
17
|
-
*/
|
|
18
|
-
export interface InvoicingTransactionColumnConfig {
|
|
19
|
-
key: InvoicingTransactionSortKey;
|
|
20
|
-
sortable: boolean;
|
|
21
|
-
}
|
|
22
|
-
export declare const INVOICING_TRANSACTION_COLUMNS: InvoicingTransactionColumnConfig[];
|
|
23
|
-
export declare const ALL_INVOICING_TRANSACTION_TAB_IDS: readonly ["all", "payment", "refund", "authorization", "payment_reversal"];
|
|
24
|
-
export declare const toInvoicingTransactionTabId: (v: string) => "refund" | "payment" | "all" | "authorization" | "payment_reversal";
|
|
25
|
-
export type InvoicingTransactionTabId = ReturnType<typeof toInvoicingTransactionTabId>;
|
|
26
|
-
/**
|
|
27
|
-
* Ordered filter-tab id set owned by CES so the transaction-list tabs live next
|
|
28
|
-
* to the model rather than being hardcoded in web-components. Tab labels and the
|
|
29
|
-
* per-tab count lookup stay in the view layer; this only carries the id set and
|
|
30
|
-
* display order.
|
|
31
|
-
*/
|
|
32
|
-
export declare const INVOICING_TRANSACTION_TABS: InvoicingTransactionTabId[];
|
|
33
|
-
/**
|
|
34
|
-
* Per-tab cache slice. Each `type` tab is a separate server query (the backend
|
|
35
|
-
* filters by `type`), so its loaded ids, pagination cursor and fetch state are
|
|
36
|
-
* cached independently. Mirrors the `userListByType` per-key cache pattern.
|
|
37
|
-
*/
|
|
38
|
-
export interface InvoicingTransactionTabState extends FetchStateAndError {
|
|
39
|
-
ids: ID[];
|
|
40
|
-
nextCursor: string | null;
|
|
41
|
-
}
|
|
42
|
-
export type InvoicingTransactionIdsByTab = Record<InvoicingTransactionTabId, InvoicingTransactionTabState>;
|
|
43
|
-
export interface InvoicingTransactionListViewState {
|
|
44
|
-
/** Selected type tab (CES-owned so it persists across page revisits). */
|
|
45
|
-
activeTab: InvoicingTransactionTabId;
|
|
46
|
-
/** Per-tab cached ids + cursor + fetch state. */
|
|
47
|
-
byTab: InvoicingTransactionIdsByTab;
|
|
48
|
-
/** Base query shared across tabs (search / customer / status). */
|
|
49
|
-
filters: InvoicingTransactionFilters;
|
|
50
|
-
/** Active server-side sort (undefined = backend default order). */
|
|
51
|
-
sort?: InvoicingListSort;
|
|
52
|
-
}
|
|
53
|
-
export declare const makeInvoicingTransactionTabState: () => InvoicingTransactionTabState;
|
|
54
|
-
export declare const makeInvoicingTransactionIdsByTab: () => InvoicingTransactionIdsByTab;
|
package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewState.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.makeInvoicingTransactionIdsByTab = exports.makeInvoicingTransactionTabState = exports.INVOICING_TRANSACTION_TABS = exports.toInvoicingTransactionTabId = exports.ALL_INVOICING_TRANSACTION_TAB_IDS = exports.INVOICING_TRANSACTION_COLUMNS = exports.toInvoicingTransactionSortKey = exports.ALL_INVOICING_TRANSACTION_SORT_KEYS = void 0;
|
|
4
|
-
const stringToUnion_1 = require("../../../commonStateTypes/stringToUnion");
|
|
5
|
-
exports.ALL_INVOICING_TRANSACTION_SORT_KEYS = [
|
|
6
|
-
'transaction',
|
|
7
|
-
'customer',
|
|
8
|
-
'method',
|
|
9
|
-
'date',
|
|
10
|
-
'type',
|
|
11
|
-
'gateway',
|
|
12
|
-
'status',
|
|
13
|
-
'amount',
|
|
14
|
-
];
|
|
15
|
-
const toInvoicingTransactionSortKey = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_INVOICING_TRANSACTION_SORT_KEYS);
|
|
16
|
-
exports.toInvoicingTransactionSortKey = toInvoicingTransactionSortKey;
|
|
17
|
-
exports.INVOICING_TRANSACTION_COLUMNS = [
|
|
18
|
-
{ key: 'transaction', sortable: true },
|
|
19
|
-
{ key: 'customer', sortable: true },
|
|
20
|
-
{ key: 'method', sortable: true },
|
|
21
|
-
{ key: 'date', sortable: true },
|
|
22
|
-
{ key: 'type', sortable: true },
|
|
23
|
-
{ key: 'gateway', sortable: true },
|
|
24
|
-
{ key: 'status', sortable: true },
|
|
25
|
-
{ key: 'amount', sortable: true },
|
|
26
|
-
];
|
|
27
|
-
exports.ALL_INVOICING_TRANSACTION_TAB_IDS = [
|
|
28
|
-
'all',
|
|
29
|
-
'payment',
|
|
30
|
-
'refund',
|
|
31
|
-
'authorization',
|
|
32
|
-
'payment_reversal',
|
|
33
|
-
];
|
|
34
|
-
const toInvoicingTransactionTabId = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_INVOICING_TRANSACTION_TAB_IDS);
|
|
35
|
-
exports.toInvoicingTransactionTabId = toInvoicingTransactionTabId;
|
|
36
|
-
/**
|
|
37
|
-
* Ordered filter-tab id set owned by CES so the transaction-list tabs live next
|
|
38
|
-
* to the model rather than being hardcoded in web-components. Tab labels and the
|
|
39
|
-
* per-tab count lookup stay in the view layer; this only carries the id set and
|
|
40
|
-
* display order.
|
|
41
|
-
*/
|
|
42
|
-
exports.INVOICING_TRANSACTION_TABS = [
|
|
43
|
-
...exports.ALL_INVOICING_TRANSACTION_TAB_IDS,
|
|
44
|
-
];
|
|
45
|
-
const makeInvoicingTransactionTabState = () => ({
|
|
46
|
-
ids: [],
|
|
47
|
-
nextCursor: null,
|
|
48
|
-
fetchState: 'Not-Started',
|
|
49
|
-
error: undefined,
|
|
50
|
-
});
|
|
51
|
-
exports.makeInvoicingTransactionTabState = makeInvoicingTransactionTabState;
|
|
52
|
-
const makeInvoicingTransactionIdsByTab = () => exports.ALL_INVOICING_TRANSACTION_TAB_IDS.reduce((acc, tabId) => {
|
|
53
|
-
acc[tabId] = (0, exports.makeInvoicingTransactionTabState)();
|
|
54
|
-
return acc;
|
|
55
|
-
}, {});
|
|
56
|
-
exports.makeInvoicingTransactionIdsByTab = makeInvoicingTransactionIdsByTab;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { updateInvoicingCreditNotes } from '../../../entity/invoicing/creditNote/creditNoteReducer';
|
|
4
|
-
import { openSnackbar } from '../../../entity/snackbar/snackbarReducer';
|
|
5
|
-
import { RootState } from '../../../reducer';
|
|
6
|
-
import { ZeniAPI } from '../../../zeniAPI';
|
|
7
|
-
import { fetchInvoiceDetail } from '../invoiceDetail/invoiceDetailReducer';
|
|
8
|
-
import { issueCreditNoteFailure, issueCreditNoteSuccess, submitIssueCreditNote } from './issueCreditNoteReducer';
|
|
9
|
-
export type ActionType = ReturnType<typeof submitIssueCreditNote> | ReturnType<typeof issueCreditNoteSuccess> | ReturnType<typeof issueCreditNoteFailure> | ReturnType<typeof updateInvoicingCreditNotes> | ReturnType<typeof fetchInvoiceDetail> | ReturnType<typeof openSnackbar>;
|
|
10
|
-
export declare const issueCreditNoteEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.issueCreditNoteEpic = void 0;
|
|
4
|
-
const rxjs_1 = require("rxjs");
|
|
5
|
-
const operators_1 = require("rxjs/operators");
|
|
6
|
-
const creditNoteReducer_1 = require("../../../entity/invoicing/creditNote/creditNoteReducer");
|
|
7
|
-
const snackbarReducer_1 = require("../../../entity/snackbar/snackbarReducer");
|
|
8
|
-
const responsePayload_1 = require("../../../responsePayload");
|
|
9
|
-
const invoiceDetailReducer_1 = require("../invoiceDetail/invoiceDetailReducer");
|
|
10
|
-
const issueCreditNotePayload_1 = require("./issueCreditNotePayload");
|
|
11
|
-
const issueCreditNoteReducer_1 = require("./issueCreditNoteReducer");
|
|
12
|
-
const issueCreditNoteEpic = (actions$, state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(issueCreditNoteReducer_1.submitIssueCreditNote.match), (0, operators_1.mergeMap)(() => {
|
|
13
|
-
const { draft } = state$.value.invoicingIssueCreditNoteState;
|
|
14
|
-
const { invoiceId } = draft;
|
|
15
|
-
const apiUrl = `${zeniAPI.apiEndPoints.invoicingMicroServiceBaseUrl}/1.0/invoices/${encodeURIComponent(invoiceId)}/issue-credit-note`;
|
|
16
|
-
const body = (0, issueCreditNotePayload_1.localDataToIssueCreditNotePayload)(draft);
|
|
17
|
-
return zeniAPI
|
|
18
|
-
.postAndGetJSON(apiUrl, body)
|
|
19
|
-
.pipe((0, operators_1.mergeMap)((response) => {
|
|
20
|
-
if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
|
|
21
|
-
return [
|
|
22
|
-
(0, creditNoteReducer_1.updateInvoicingCreditNotes)([response.data], 'merge'),
|
|
23
|
-
(0, invoiceDetailReducer_1.fetchInvoiceDetail)({ invoiceId }),
|
|
24
|
-
(0, issueCreditNoteReducer_1.issueCreditNoteSuccess)({ creditNoteId: response.data.id }),
|
|
25
|
-
(0, snackbarReducer_1.openSnackbar)({
|
|
26
|
-
messageSection: 'invoicing_credit_note_saved',
|
|
27
|
-
messageText: 'success',
|
|
28
|
-
type: 'success',
|
|
29
|
-
}),
|
|
30
|
-
];
|
|
31
|
-
}
|
|
32
|
-
return (0, rxjs_1.from)([
|
|
33
|
-
(0, issueCreditNoteReducer_1.issueCreditNoteFailure)(response.status),
|
|
34
|
-
(0, snackbarReducer_1.openSnackbar)({
|
|
35
|
-
messageSection: 'invoicing_credit_note_saved',
|
|
36
|
-
messageText: 'failed',
|
|
37
|
-
type: 'error',
|
|
38
|
-
}),
|
|
39
|
-
]);
|
|
40
|
-
}), (0, operators_1.catchError)((error) => (0, rxjs_1.from)([
|
|
41
|
-
(0, issueCreditNoteReducer_1.issueCreditNoteFailure)((0, responsePayload_1.createZeniAPIStatus)('Unexpected Error', 'Issue credit note REST API call errored out ' +
|
|
42
|
-
JSON.stringify(error))),
|
|
43
|
-
(0, snackbarReducer_1.openSnackbar)({
|
|
44
|
-
messageSection: 'invoicing_credit_note_saved',
|
|
45
|
-
messageText: 'failed',
|
|
46
|
-
type: 'error',
|
|
47
|
-
}),
|
|
48
|
-
])));
|
|
49
|
-
}));
|
|
50
|
-
exports.issueCreditNoteEpic = issueCreditNoteEpic;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { IssueCreditNoteFormLocalData } from './issueCreditNoteState';
|
|
2
|
-
export declare const INVOICING_CREDIT_NOTE_REASON_CODES: readonly ["service_credit", "billing_error", "duplicate_charge", "pricing_correction", "goodwill", "other"];
|
|
3
|
-
export type InvoicingCreditNoteReasonCode = (typeof INVOICING_CREDIT_NOTE_REASON_CODES)[number];
|
|
4
|
-
export declare const initialIssueCreditNoteFormLocalData: (invoiceId?: string) => IssueCreditNoteFormLocalData;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.initialIssueCreditNoteFormLocalData = exports.INVOICING_CREDIT_NOTE_REASON_CODES = void 0;
|
|
4
|
-
exports.INVOICING_CREDIT_NOTE_REASON_CODES = [
|
|
5
|
-
'service_credit',
|
|
6
|
-
'billing_error',
|
|
7
|
-
'duplicate_charge',
|
|
8
|
-
'pricing_correction',
|
|
9
|
-
'goodwill',
|
|
10
|
-
'other',
|
|
11
|
-
];
|
|
12
|
-
const initialIssueCreditNoteFormLocalData = (invoiceId = '') => ({
|
|
13
|
-
invoiceId,
|
|
14
|
-
lineItems: [],
|
|
15
|
-
reasonCode: '',
|
|
16
|
-
});
|
|
17
|
-
exports.initialIssueCreditNoteFormLocalData = initialIssueCreditNoteFormLocalData;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { InvoicingCreditNotePayload } from '../../../entity/invoicing/creditNote/creditNotePayload';
|
|
2
|
-
import { InvoicingInvoice } from '../../../entity/invoicing/invoice/invoiceState';
|
|
3
|
-
import { ZeniAPIResponse } from '../../../responsePayload';
|
|
4
|
-
import { IssueCreditNoteFormLocalData, IssueCreditNoteLineItemDraft } from './issueCreditNoteState';
|
|
5
|
-
export interface IssueCreditNoteLineItemRequest {
|
|
6
|
-
description: string;
|
|
7
|
-
quantity: number;
|
|
8
|
-
unit_amount: number;
|
|
9
|
-
amount?: number;
|
|
10
|
-
entity_type?: string;
|
|
11
|
-
id?: string;
|
|
12
|
-
product_code?: string;
|
|
13
|
-
}
|
|
14
|
-
export interface IssueCreditNoteRequest {
|
|
15
|
-
line_items: IssueCreditNoteLineItemRequest[];
|
|
16
|
-
type: 'adjustment';
|
|
17
|
-
reason_code?: string;
|
|
18
|
-
}
|
|
19
|
-
export type IssueCreditNoteResponse = ZeniAPIResponse<InvoicingCreditNotePayload>;
|
|
20
|
-
export type CreateCreditNoteRequest = {
|
|
21
|
-
customer_id: string;
|
|
22
|
-
line_items: IssueCreditNoteLineItemRequest[];
|
|
23
|
-
type: 'adjustment';
|
|
24
|
-
reason_code?: string;
|
|
25
|
-
reference_invoice_id?: string;
|
|
26
|
-
};
|
|
27
|
-
export type CreateCreditNoteResponse = ZeniAPIResponse<InvoicingCreditNotePayload>;
|
|
28
|
-
export declare const computeIssueCreditNoteTotal: (lineItems: IssueCreditNoteLineItemDraft[]) => number;
|
|
29
|
-
export declare const localDataToIssueCreditNotePayload: (localData: IssueCreditNoteFormLocalData) => IssueCreditNoteRequest;
|
|
30
|
-
export declare const initializeIssueCreditNoteDraftFromInvoice: (invoice: InvoicingInvoice) => IssueCreditNoteFormLocalData;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.initializeIssueCreditNoteDraftFromInvoice = exports.localDataToIssueCreditNotePayload = exports.computeIssueCreditNoteTotal = void 0;
|
|
4
|
-
const computeIssueCreditNoteTotal = (lineItems) => lineItems
|
|
5
|
-
.filter((lineItem) => lineItem.selected)
|
|
6
|
-
.reduce((total, lineItem) => {
|
|
7
|
-
const quantity = Number.parseFloat(lineItem.quantity);
|
|
8
|
-
const unitAmount = lineItem.unitAmount.amount;
|
|
9
|
-
if (Number.isNaN(quantity) || quantity <= 0 || unitAmount <= 0) {
|
|
10
|
-
return total;
|
|
11
|
-
}
|
|
12
|
-
return total + Math.round(quantity) * unitAmount;
|
|
13
|
-
}, 0);
|
|
14
|
-
exports.computeIssueCreditNoteTotal = computeIssueCreditNoteTotal;
|
|
15
|
-
const localDataToIssueCreditNotePayload = (localData) => {
|
|
16
|
-
const lineItems = localData.lineItems
|
|
17
|
-
.filter((lineItem) => lineItem.selected)
|
|
18
|
-
.map((lineItem) => {
|
|
19
|
-
const quantity = Math.round(Number.parseFloat(lineItem.quantity));
|
|
20
|
-
const unitAmount = lineItem.unitAmount.amount;
|
|
21
|
-
return {
|
|
22
|
-
description: lineItem.description,
|
|
23
|
-
quantity,
|
|
24
|
-
unit_amount: unitAmount,
|
|
25
|
-
amount: quantity * unitAmount,
|
|
26
|
-
...(lineItem.id != null && lineItem.id !== '' ? { id: lineItem.id } : {}),
|
|
27
|
-
};
|
|
28
|
-
});
|
|
29
|
-
const reasonCode = localData.reasonCode.trim();
|
|
30
|
-
return {
|
|
31
|
-
line_items: lineItems,
|
|
32
|
-
type: 'adjustment',
|
|
33
|
-
...(reasonCode !== '' ? { reason_code: reasonCode } : {}),
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
exports.localDataToIssueCreditNotePayload = localDataToIssueCreditNotePayload;
|
|
37
|
-
const initializeIssueCreditNoteDraftFromInvoice = (invoice) => ({
|
|
38
|
-
invoiceId: invoice.id,
|
|
39
|
-
reasonCode: '',
|
|
40
|
-
lineItems: (invoice.lineItems ?? []).map((lineItem) => ({
|
|
41
|
-
description: lineItem.description,
|
|
42
|
-
id: lineItem.id,
|
|
43
|
-
maxQuantity: lineItem.quantity,
|
|
44
|
-
maxUnitAmount: lineItem.unitAmount,
|
|
45
|
-
quantity: String(lineItem.quantity),
|
|
46
|
-
selected: true,
|
|
47
|
-
unitAmount: lineItem.unitAmount,
|
|
48
|
-
})),
|
|
49
|
-
});
|
|
50
|
-
exports.initializeIssueCreditNoteDraftFromInvoice = initializeIssueCreditNoteDraftFromInvoice;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ID } from '../../../commonStateTypes/common';
|
|
2
|
-
import { ZeniAPIStatus } from '../../../responsePayload';
|
|
3
|
-
import { IssueCreditNoteFormLocalData, IssueCreditNoteState } from './issueCreditNoteState';
|
|
4
|
-
export declare const initialState: IssueCreditNoteState;
|
|
5
|
-
export declare const initializeIssueCreditNoteDraft: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
6
|
-
localData: IssueCreditNoteFormLocalData;
|
|
7
|
-
}, "invoicingIssueCreditNote/initializeIssueCreditNoteDraft">, issueCreditNoteFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<ZeniAPIStatus<Record<string, unknown>>, "invoicingIssueCreditNote/issueCreditNoteFailure">, issueCreditNoteSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
8
|
-
creditNoteId: ID;
|
|
9
|
-
}, "invoicingIssueCreditNote/issueCreditNoteSuccess">, resetIssueCreditNote: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"invoicingIssueCreditNote/resetIssueCreditNote">, submitIssueCreditNote: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"invoicingIssueCreditNote/submitIssueCreditNote">, updateIssueCreditNoteFormDraft: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
10
|
-
localData: IssueCreditNoteFormLocalData;
|
|
11
|
-
}, "invoicingIssueCreditNote/updateIssueCreditNoteFormDraft">;
|
|
12
|
-
declare const _default: import("redux").Reducer<IssueCreditNoteState>;
|
|
13
|
-
export default _default;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var _a;
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.updateIssueCreditNoteFormDraft = exports.submitIssueCreditNote = exports.resetIssueCreditNote = exports.issueCreditNoteSuccess = exports.issueCreditNoteFailure = exports.initializeIssueCreditNoteDraft = exports.initialState = void 0;
|
|
5
|
-
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
|
-
const issueCreditNoteFormConfig_1 = require("./issueCreditNoteFormConfig");
|
|
7
|
-
exports.initialState = {
|
|
8
|
-
draft: (0, issueCreditNoteFormConfig_1.initialIssueCreditNoteFormLocalData)(),
|
|
9
|
-
error: undefined,
|
|
10
|
-
fetchState: 'Not-Started',
|
|
11
|
-
issuedCreditNoteId: undefined,
|
|
12
|
-
hasValidState() {
|
|
13
|
-
return this.fetchState === 'Completed';
|
|
14
|
-
},
|
|
15
|
-
};
|
|
16
|
-
const issueCreditNoteSlice = (0, toolkit_1.createSlice)({
|
|
17
|
-
name: 'invoicingIssueCreditNote',
|
|
18
|
-
initialState: exports.initialState,
|
|
19
|
-
reducers: {
|
|
20
|
-
initializeIssueCreditNoteDraft(draft, action) {
|
|
21
|
-
draft.draft = action.payload.localData;
|
|
22
|
-
draft.fetchState = 'Not-Started';
|
|
23
|
-
draft.error = undefined;
|
|
24
|
-
draft.issuedCreditNoteId = undefined;
|
|
25
|
-
},
|
|
26
|
-
updateIssueCreditNoteFormDraft(draft, action) {
|
|
27
|
-
draft.draft = action.payload.localData;
|
|
28
|
-
},
|
|
29
|
-
submitIssueCreditNote(draft) {
|
|
30
|
-
draft.fetchState = 'In-Progress';
|
|
31
|
-
draft.error = undefined;
|
|
32
|
-
draft.issuedCreditNoteId = undefined;
|
|
33
|
-
},
|
|
34
|
-
issueCreditNoteSuccess(draft, action) {
|
|
35
|
-
draft.fetchState = 'Completed';
|
|
36
|
-
draft.error = undefined;
|
|
37
|
-
draft.issuedCreditNoteId = action.payload.creditNoteId;
|
|
38
|
-
},
|
|
39
|
-
issueCreditNoteFailure(draft, action) {
|
|
40
|
-
draft.fetchState = 'Error';
|
|
41
|
-
draft.error = action.payload;
|
|
42
|
-
},
|
|
43
|
-
resetIssueCreditNote(draft) {
|
|
44
|
-
draft.draft = (0, issueCreditNoteFormConfig_1.initialIssueCreditNoteFormLocalData)();
|
|
45
|
-
draft.error = undefined;
|
|
46
|
-
draft.fetchState = 'Not-Started';
|
|
47
|
-
draft.issuedCreditNoteId = undefined;
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
});
|
|
51
|
-
_a = issueCreditNoteSlice.actions, exports.initializeIssueCreditNoteDraft = _a.initializeIssueCreditNoteDraft, exports.issueCreditNoteFailure = _a.issueCreditNoteFailure, exports.issueCreditNoteSuccess = _a.issueCreditNoteSuccess, exports.resetIssueCreditNote = _a.resetIssueCreditNote, exports.submitIssueCreditNote = _a.submitIssueCreditNote, exports.updateIssueCreditNoteFormDraft = _a.updateIssueCreditNoteFormDraft;
|
|
52
|
-
exports.default = issueCreditNoteSlice.reducer;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { FetchStateAndError, ID } from '../../../commonStateTypes/common';
|
|
2
|
-
import { SelectorView } from '../../../commonStateTypes/viewAndReport/viewAndReport';
|
|
3
|
-
import { InvoicingInvoice } from '../../../entity/invoicing/invoice/invoiceState';
|
|
4
|
-
import { RootState } from '../../../reducer';
|
|
5
|
-
import { IssueCreditNoteFormLocalData } from './issueCreditNoteState';
|
|
6
|
-
/**
|
|
7
|
-
* Everything the issue-credit-note screen renders, in one view: the invoice being
|
|
8
|
-
* credited, the form draft and the submit run-state. `fetchState`/`error` track
|
|
9
|
-
* the invoice load (what gates the page); the submit action is exposed separately
|
|
10
|
-
* as `submitState` so a save failure can't be mistaken for a load failure.
|
|
11
|
-
*/
|
|
12
|
-
export interface IssueCreditNoteView extends SelectorView {
|
|
13
|
-
/**
|
|
14
|
-
* True once the invoice has loaded and the draft for *this* invoice has line
|
|
15
|
-
* items to credit.
|
|
16
|
-
*/
|
|
17
|
-
isPageReady: boolean;
|
|
18
|
-
localData: IssueCreditNoteFormLocalData;
|
|
19
|
-
reasonCodeValues: string[];
|
|
20
|
-
submitState: FetchStateAndError;
|
|
21
|
-
invoice?: InvoicingInvoice;
|
|
22
|
-
issuedCreditNoteId?: ID;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* The draft is a single global slice, so a draft seeded for a previously opened
|
|
26
|
-
* invoice can still be in state when another invoice's screen mounts. Anything
|
|
27
|
-
* that would render that stale draft next to this invoice is dropped until the
|
|
28
|
-
* screen re-seeds it for `invoiceId`.
|
|
29
|
-
*/
|
|
30
|
-
export declare const getIssueCreditNoteView: (state: RootState, invoiceId: ID) => IssueCreditNoteView;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getIssueCreditNoteView = void 0;
|
|
4
|
-
const invoiceDetailSelector_1 = require("../invoiceDetail/invoiceDetailSelector");
|
|
5
|
-
const issueCreditNoteFormConfig_1 = require("./issueCreditNoteFormConfig");
|
|
6
|
-
/**
|
|
7
|
-
* The draft is a single global slice, so a draft seeded for a previously opened
|
|
8
|
-
* invoice can still be in state when another invoice's screen mounts. Anything
|
|
9
|
-
* that would render that stale draft next to this invoice is dropped until the
|
|
10
|
-
* screen re-seeds it for `invoiceId`.
|
|
11
|
-
*/
|
|
12
|
-
const getIssueCreditNoteView = (state, invoiceId) => {
|
|
13
|
-
const invoiceView = (0, invoiceDetailSelector_1.getInvoiceDetail)(state, invoiceId);
|
|
14
|
-
const { draft, error, fetchState, issuedCreditNoteId } = state.invoicingIssueCreditNoteState;
|
|
15
|
-
const isDraftForInvoice = draft.invoiceId === invoiceId;
|
|
16
|
-
return {
|
|
17
|
-
invoice: invoiceView.invoice,
|
|
18
|
-
isPageReady: invoiceView.fetchState === 'Completed' &&
|
|
19
|
-
isDraftForInvoice &&
|
|
20
|
-
draft.lineItems.length > 0,
|
|
21
|
-
issuedCreditNoteId,
|
|
22
|
-
localData: isDraftForInvoice
|
|
23
|
-
? draft
|
|
24
|
-
: (0, issueCreditNoteFormConfig_1.initialIssueCreditNoteFormLocalData)(invoiceId),
|
|
25
|
-
reasonCodeValues: [...issueCreditNoteFormConfig_1.INVOICING_CREDIT_NOTE_REASON_CODES],
|
|
26
|
-
submitState: { error, fetchState },
|
|
27
|
-
error: invoiceView.error,
|
|
28
|
-
fetchState: invoiceView.fetchState,
|
|
29
|
-
version: 1.0,
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
exports.getIssueCreditNoteView = getIssueCreditNoteView;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Amount } from '../../../commonStateTypes/amount';
|
|
2
|
-
import { FetchedState, ID } from '../../../commonStateTypes/common';
|
|
3
|
-
export interface IssueCreditNoteLineItemDraft {
|
|
4
|
-
description: string;
|
|
5
|
-
maxQuantity: number;
|
|
6
|
-
maxUnitAmount: Amount;
|
|
7
|
-
quantity: string;
|
|
8
|
-
selected: boolean;
|
|
9
|
-
unitAmount: Amount;
|
|
10
|
-
id?: string;
|
|
11
|
-
}
|
|
12
|
-
export interface IssueCreditNoteFormLocalData {
|
|
13
|
-
invoiceId: ID;
|
|
14
|
-
lineItems: IssueCreditNoteLineItemDraft[];
|
|
15
|
-
reasonCode: string;
|
|
16
|
-
}
|
|
17
|
-
export interface IssueCreditNoteState extends FetchedState {
|
|
18
|
-
draft: IssueCreditNoteFormLocalData;
|
|
19
|
-
issuedCreditNoteId?: ID;
|
|
20
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { updateInvoicingTransactions } from '../../../entity/invoicing/invoicingTransaction/invoicingTransactionReducer';
|
|
4
|
-
import { RootState } from '../../../reducer';
|
|
5
|
-
import { ZeniAPI } from '../../../zeniAPI';
|
|
6
|
-
import { runInvoicingPaymentAction, runInvoicingPaymentActionFailure, runInvoicingPaymentActionSuccess } from './paymentActionReducer';
|
|
7
|
-
export type ActionType = ReturnType<typeof runInvoicingPaymentAction> | ReturnType<typeof runInvoicingPaymentActionSuccess> | ReturnType<typeof runInvoicingPaymentActionFailure> | ReturnType<typeof updateInvoicingTransactions>;
|
|
8
|
-
export declare const runInvoicingPaymentActionEpic: (actions$: ActionsObservable<ActionType>, _state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;
|