@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
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { updateInvoicingCoupons } from '../../../entity/invoicing/coupon/couponReducer';
|
|
4
|
-
import { openSnackbar } from '../../../entity/snackbar/snackbarReducer';
|
|
5
|
-
import { RootState } from '../../../reducer';
|
|
6
|
-
import { ZeniAPI } from '../../../zeniAPI';
|
|
7
|
-
import { runInvoicingDiscountAction, runInvoicingDiscountActionFailure, runInvoicingDiscountActionSuccess } from './discountActionReducer';
|
|
8
|
-
export type ActionType = ReturnType<typeof runInvoicingDiscountAction> | ReturnType<typeof runInvoicingDiscountActionSuccess> | ReturnType<typeof runInvoicingDiscountActionFailure> | ReturnType<typeof updateInvoicingCoupons> | ReturnType<typeof openSnackbar>;
|
|
9
|
-
export declare const runInvoicingDiscountActionEpic: (actions$: ActionsObservable<ActionType>, _state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.runInvoicingDiscountActionEpic = void 0;
|
|
4
|
-
const rxjs_1 = require("rxjs");
|
|
5
|
-
const operators_1 = require("rxjs/operators");
|
|
6
|
-
const couponReducer_1 = require("../../../entity/invoicing/coupon/couponReducer");
|
|
7
|
-
const snackbarReducer_1 = require("../../../entity/snackbar/snackbarReducer");
|
|
8
|
-
const responsePayload_1 = require("../../../responsePayload");
|
|
9
|
-
const discountActionReducer_1 = require("./discountActionReducer");
|
|
10
|
-
/** Snackbar copy per action kind; unlisted kinds run without one. */
|
|
11
|
-
const SNACKBAR_SECTION_BY_KIND = {
|
|
12
|
-
archive: 'invoicing_discount_archive',
|
|
13
|
-
delete: 'invoicing_discount_delete',
|
|
14
|
-
unarchive: 'invoicing_discount_unarchive',
|
|
15
|
-
};
|
|
16
|
-
const runInvoicingDiscountActionEpic = (actions$, _state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(discountActionReducer_1.runInvoicingDiscountAction.match), (0, operators_1.mergeMap)((action) => {
|
|
17
|
-
const { action: kind, id } = action.payload;
|
|
18
|
-
const requestBody = { action: kind };
|
|
19
|
-
const snackbarSection = SNACKBAR_SECTION_BY_KIND[kind];
|
|
20
|
-
const snackbar = (messageText) => snackbarSection == null
|
|
21
|
-
? []
|
|
22
|
-
: [
|
|
23
|
-
(0, snackbarReducer_1.openSnackbar)({
|
|
24
|
-
messageSection: snackbarSection,
|
|
25
|
-
messageText,
|
|
26
|
-
type: messageText === 'success' ? 'success' : 'error',
|
|
27
|
-
}),
|
|
28
|
-
];
|
|
29
|
-
const apiUrl = `${zeniAPI.apiEndPoints.invoicingMicroServiceBaseUrl}/1.0/discounts/${encodeURIComponent(id)}/actions`;
|
|
30
|
-
return zeniAPI
|
|
31
|
-
.postAndGetJSON(apiUrl, requestBody)
|
|
32
|
-
.pipe((0, operators_1.mergeMap)((response) => {
|
|
33
|
-
if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
|
|
34
|
-
return [
|
|
35
|
-
(0, couponReducer_1.updateInvoicingCoupons)([response.data], 'merge'),
|
|
36
|
-
(0, discountActionReducer_1.runInvoicingDiscountActionSuccess)({ id }),
|
|
37
|
-
...snackbar('success'),
|
|
38
|
-
];
|
|
39
|
-
}
|
|
40
|
-
return (0, rxjs_1.from)([
|
|
41
|
-
(0, discountActionReducer_1.runInvoicingDiscountActionFailure)({
|
|
42
|
-
error: response.status,
|
|
43
|
-
id,
|
|
44
|
-
}),
|
|
45
|
-
...snackbar('failed'),
|
|
46
|
-
]);
|
|
47
|
-
}), (0, operators_1.catchError)((error) => (0, rxjs_1.from)([
|
|
48
|
-
(0, discountActionReducer_1.runInvoicingDiscountActionFailure)({
|
|
49
|
-
error: (0, responsePayload_1.createZeniAPIStatus)('Unexpected Error', 'Discount action REST API call errored out ' +
|
|
50
|
-
JSON.stringify(error)),
|
|
51
|
-
id,
|
|
52
|
-
}),
|
|
53
|
-
...snackbar('failed'),
|
|
54
|
-
])));
|
|
55
|
-
}));
|
|
56
|
-
exports.runInvoicingDiscountActionEpic = runInvoicingDiscountActionEpic;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ID } from '../../../commonStateTypes/common';
|
|
2
|
-
import { ZeniAPIStatus } from '../../../responsePayload';
|
|
3
|
-
import { InvoicingDiscountActionState } from './discountActionState';
|
|
4
|
-
export interface RunInvoicingDiscountActionPayload {
|
|
5
|
-
action: string;
|
|
6
|
-
id: ID;
|
|
7
|
-
}
|
|
8
|
-
export declare const initialState: InvoicingDiscountActionState;
|
|
9
|
-
export declare const runInvoicingDiscountAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<RunInvoicingDiscountActionPayload, "invoicingDiscountAction/runInvoicingDiscountAction">, runInvoicingDiscountActionSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
10
|
-
id: ID;
|
|
11
|
-
}, "invoicingDiscountAction/runInvoicingDiscountActionSuccess">, runInvoicingDiscountActionFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
12
|
-
error: ZeniAPIStatus;
|
|
13
|
-
id: ID;
|
|
14
|
-
}, "invoicingDiscountAction/runInvoicingDiscountActionFailure">, clearInvoicingDiscountAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "invoicingDiscountAction/clearInvoicingDiscountAction">, clearAllInvoicingDiscountActions: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"invoicingDiscountAction/clearAllInvoicingDiscountActions">;
|
|
15
|
-
declare const _default: import("redux").Reducer<InvoicingDiscountActionState>;
|
|
16
|
-
export default _default;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var _a;
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.clearAllInvoicingDiscountActions = exports.clearInvoicingDiscountAction = exports.runInvoicingDiscountActionFailure = exports.runInvoicingDiscountActionSuccess = exports.runInvoicingDiscountAction = exports.initialState = void 0;
|
|
5
|
-
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
|
-
exports.initialState = {
|
|
7
|
-
byId: {},
|
|
8
|
-
};
|
|
9
|
-
const discountAction = (0, toolkit_1.createSlice)({
|
|
10
|
-
name: 'invoicingDiscountAction',
|
|
11
|
-
initialState: exports.initialState,
|
|
12
|
-
reducers: {
|
|
13
|
-
runInvoicingDiscountAction(draft, action) {
|
|
14
|
-
draft.byId[action.payload.id] = {
|
|
15
|
-
fetchState: 'In-Progress',
|
|
16
|
-
error: undefined,
|
|
17
|
-
};
|
|
18
|
-
},
|
|
19
|
-
runInvoicingDiscountActionSuccess(draft, action) {
|
|
20
|
-
draft.byId[action.payload.id] = {
|
|
21
|
-
fetchState: 'Completed',
|
|
22
|
-
error: undefined,
|
|
23
|
-
};
|
|
24
|
-
},
|
|
25
|
-
runInvoicingDiscountActionFailure(draft, action) {
|
|
26
|
-
draft.byId[action.payload.id] = {
|
|
27
|
-
fetchState: 'Error',
|
|
28
|
-
error: action.payload.error,
|
|
29
|
-
};
|
|
30
|
-
},
|
|
31
|
-
clearInvoicingDiscountAction(draft, action) {
|
|
32
|
-
delete draft.byId[action.payload];
|
|
33
|
-
},
|
|
34
|
-
clearAllInvoicingDiscountActions(draft) {
|
|
35
|
-
draft.byId = {};
|
|
36
|
-
},
|
|
37
|
-
},
|
|
38
|
-
});
|
|
39
|
-
_a = discountAction.actions, exports.runInvoicingDiscountAction = _a.runInvoicingDiscountAction, exports.runInvoicingDiscountActionSuccess = _a.runInvoicingDiscountActionSuccess, exports.runInvoicingDiscountActionFailure = _a.runInvoicingDiscountActionFailure, exports.clearInvoicingDiscountAction = _a.clearInvoicingDiscountAction, exports.clearAllInvoicingDiscountActions = _a.clearAllInvoicingDiscountActions;
|
|
40
|
-
exports.default = discountAction.reducer;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getInvoicingDiscountActionState = void 0;
|
|
4
|
-
const NOT_STARTED = {
|
|
5
|
-
fetchState: 'Not-Started',
|
|
6
|
-
error: undefined,
|
|
7
|
-
};
|
|
8
|
-
const getInvoicingDiscountActionState = (id) => (state) => state.invoicingDiscountActionState.byId[id] ?? NOT_STARTED;
|
|
9
|
-
exports.getInvoicingDiscountActionState = getInvoicingDiscountActionState;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { updateInvoicingDunningCases } from '../../../entity/invoicing/dunningCase/dunningCaseReducer';
|
|
4
|
-
import { openSnackbar } from '../../../entity/snackbar/snackbarReducer';
|
|
5
|
-
import { RootState } from '../../../reducer';
|
|
6
|
-
import { ZeniAPI } from '../../../zeniAPI';
|
|
7
|
-
import { runInvoicingDunningAction, runInvoicingDunningActionFailure, runInvoicingDunningActionSuccess } from './dunningActionReducer';
|
|
8
|
-
export type ActionType = ReturnType<typeof runInvoicingDunningAction> | ReturnType<typeof runInvoicingDunningActionSuccess> | ReturnType<typeof runInvoicingDunningActionFailure> | ReturnType<typeof updateInvoicingDunningCases> | ReturnType<typeof openSnackbar>;
|
|
9
|
-
export declare const runInvoicingDunningActionEpic: (actions$: ActionsObservable<ActionType>, _state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.runInvoicingDunningActionEpic = void 0;
|
|
4
|
-
const rxjs_1 = require("rxjs");
|
|
5
|
-
const operators_1 = require("rxjs/operators");
|
|
6
|
-
const dunningCaseReducer_1 = require("../../../entity/invoicing/dunningCase/dunningCaseReducer");
|
|
7
|
-
const snackbarReducer_1 = require("../../../entity/snackbar/snackbarReducer");
|
|
8
|
-
const responsePayload_1 = require("../../../responsePayload");
|
|
9
|
-
const dunningActionReducer_1 = require("./dunningActionReducer");
|
|
10
|
-
/**
|
|
11
|
-
* Snackbar copy is per action kind; anything not listed here runs without one.
|
|
12
|
-
*/
|
|
13
|
-
const SNACKBAR_SECTION_BY_KIND = {
|
|
14
|
-
cancel: 'invoicing_dunning_cancel',
|
|
15
|
-
resolve: 'invoicing_dunning_case_resolved',
|
|
16
|
-
retry: 'invoicing_dunning_retry',
|
|
17
|
-
};
|
|
18
|
-
const runInvoicingDunningActionEpic = (actions$, _state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(dunningActionReducer_1.runInvoicingDunningAction.match), (0, operators_1.mergeMap)((action) => {
|
|
19
|
-
const { action: kind, body, id } = action.payload;
|
|
20
|
-
const snackbarSection = SNACKBAR_SECTION_BY_KIND[kind];
|
|
21
|
-
const snackbar = (messageText) => snackbarSection == null
|
|
22
|
-
? []
|
|
23
|
-
: [
|
|
24
|
-
(0, snackbarReducer_1.openSnackbar)({
|
|
25
|
-
messageSection: snackbarSection,
|
|
26
|
-
messageText,
|
|
27
|
-
type: messageText === 'success' ? 'success' : 'error',
|
|
28
|
-
}),
|
|
29
|
-
];
|
|
30
|
-
const apiUrl = `${zeniAPI.apiEndPoints.invoicingMicroServiceBaseUrl}/1.0/dunning/${encodeURIComponent(id)}/${kind}`;
|
|
31
|
-
return zeniAPI
|
|
32
|
-
.postAndGetJSON(apiUrl, (body ?? {}))
|
|
33
|
-
.pipe((0, operators_1.mergeMap)((response) => {
|
|
34
|
-
if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
|
|
35
|
-
return [
|
|
36
|
-
(0, dunningCaseReducer_1.updateInvoicingDunningCases)([response.data], 'merge'),
|
|
37
|
-
(0, dunningActionReducer_1.runInvoicingDunningActionSuccess)({ id }),
|
|
38
|
-
...snackbar('success'),
|
|
39
|
-
];
|
|
40
|
-
}
|
|
41
|
-
return (0, rxjs_1.from)([
|
|
42
|
-
(0, dunningActionReducer_1.runInvoicingDunningActionFailure)({
|
|
43
|
-
error: response.status,
|
|
44
|
-
id,
|
|
45
|
-
}),
|
|
46
|
-
...snackbar('failed'),
|
|
47
|
-
]);
|
|
48
|
-
}), (0, operators_1.catchError)((error) => (0, rxjs_1.from)([
|
|
49
|
-
(0, dunningActionReducer_1.runInvoicingDunningActionFailure)({
|
|
50
|
-
error: (0, responsePayload_1.createZeniAPIStatus)('Unexpected Error', 'Dunning action REST API call errored out ' +
|
|
51
|
-
JSON.stringify(error)),
|
|
52
|
-
id,
|
|
53
|
-
}),
|
|
54
|
-
...snackbar('failed'),
|
|
55
|
-
])));
|
|
56
|
-
}));
|
|
57
|
-
exports.runInvoicingDunningActionEpic = runInvoicingDunningActionEpic;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ID } from '../../../commonStateTypes/common';
|
|
2
|
-
import { ZeniAPIStatus } from '../../../responsePayload';
|
|
3
|
-
import { InvoicingDunningActionBody } from './dunningActionRequestPayload';
|
|
4
|
-
import { InvoicingDunningActionState } from './dunningActionState';
|
|
5
|
-
export interface RunInvoicingDunningActionPayload {
|
|
6
|
-
action: string;
|
|
7
|
-
id: ID;
|
|
8
|
-
/** Optional JSON body for actions that take parameters. */
|
|
9
|
-
body?: InvoicingDunningActionBody;
|
|
10
|
-
}
|
|
11
|
-
export declare const initialState: InvoicingDunningActionState;
|
|
12
|
-
export type { InvoicingDunningActionState } from './dunningActionState';
|
|
13
|
-
export declare const runInvoicingDunningAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<RunInvoicingDunningActionPayload, "invoicingDunningAction/runInvoicingDunningAction">, runInvoicingDunningActionSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
14
|
-
id: ID;
|
|
15
|
-
}, "invoicingDunningAction/runInvoicingDunningActionSuccess">, runInvoicingDunningActionFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
16
|
-
error: ZeniAPIStatus;
|
|
17
|
-
id: ID;
|
|
18
|
-
}, "invoicingDunningAction/runInvoicingDunningActionFailure">, clearInvoicingDunningAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "invoicingDunningAction/clearInvoicingDunningAction">, clearAllInvoicingDunningActions: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"invoicingDunningAction/clearAllInvoicingDunningActions">;
|
|
19
|
-
declare const _default: import("redux").Reducer<InvoicingDunningActionState>;
|
|
20
|
-
export default _default;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var _a;
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.clearAllInvoicingDunningActions = exports.clearInvoicingDunningAction = exports.runInvoicingDunningActionFailure = exports.runInvoicingDunningActionSuccess = exports.runInvoicingDunningAction = exports.initialState = void 0;
|
|
5
|
-
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
|
-
exports.initialState = {
|
|
7
|
-
byId: {},
|
|
8
|
-
};
|
|
9
|
-
const dunningAction = (0, toolkit_1.createSlice)({
|
|
10
|
-
name: 'invoicingDunningAction',
|
|
11
|
-
initialState: exports.initialState,
|
|
12
|
-
reducers: {
|
|
13
|
-
runInvoicingDunningAction(draft, action) {
|
|
14
|
-
draft.byId[action.payload.id] = {
|
|
15
|
-
fetchState: 'In-Progress',
|
|
16
|
-
error: undefined,
|
|
17
|
-
};
|
|
18
|
-
},
|
|
19
|
-
runInvoicingDunningActionSuccess(draft, action) {
|
|
20
|
-
draft.byId[action.payload.id] = {
|
|
21
|
-
fetchState: 'Completed',
|
|
22
|
-
error: undefined,
|
|
23
|
-
};
|
|
24
|
-
},
|
|
25
|
-
runInvoicingDunningActionFailure(draft, action) {
|
|
26
|
-
draft.byId[action.payload.id] = {
|
|
27
|
-
fetchState: 'Error',
|
|
28
|
-
error: action.payload.error,
|
|
29
|
-
};
|
|
30
|
-
},
|
|
31
|
-
clearInvoicingDunningAction(draft, action) {
|
|
32
|
-
delete draft.byId[action.payload];
|
|
33
|
-
},
|
|
34
|
-
clearAllInvoicingDunningActions(draft) {
|
|
35
|
-
draft.byId = {};
|
|
36
|
-
},
|
|
37
|
-
},
|
|
38
|
-
});
|
|
39
|
-
_a = dunningAction.actions, exports.runInvoicingDunningAction = _a.runInvoicingDunningAction, exports.runInvoicingDunningActionSuccess = _a.runInvoicingDunningActionSuccess, exports.runInvoicingDunningActionFailure = _a.runInvoicingDunningActionFailure, exports.clearInvoicingDunningAction = _a.clearInvoicingDunningAction, exports.clearAllInvoicingDunningActions = _a.clearAllInvoicingDunningActions;
|
|
40
|
-
exports.default = dunningAction.reducer;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/** Snake_case request bodies for dunning action endpoints. */
|
|
2
|
-
export type DunningPauseBody = {
|
|
3
|
-
duration?: number;
|
|
4
|
-
reason?: string;
|
|
5
|
-
resume_date?: string;
|
|
6
|
-
};
|
|
7
|
-
export type DunningCollectBody = {
|
|
8
|
-
amount?: number;
|
|
9
|
-
payment_method?: string;
|
|
10
|
-
};
|
|
11
|
-
export type DunningEmailBody = {
|
|
12
|
-
body?: string;
|
|
13
|
-
cc?: string;
|
|
14
|
-
subject?: string;
|
|
15
|
-
to?: string;
|
|
16
|
-
};
|
|
17
|
-
export type DunningBulkEmailBody = {
|
|
18
|
-
body?: string;
|
|
19
|
-
case_ids?: string[];
|
|
20
|
-
cc?: string;
|
|
21
|
-
subject?: string;
|
|
22
|
-
to?: string;
|
|
23
|
-
};
|
|
24
|
-
export type InvoicingDunningActionBody = DunningPauseBody | DunningCollectBody | DunningEmailBody | DunningBulkEmailBody | Record<string, never>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getInvoicingDunningActionState = void 0;
|
|
4
|
-
const NOT_STARTED = {
|
|
5
|
-
fetchState: 'Not-Started',
|
|
6
|
-
error: undefined,
|
|
7
|
-
};
|
|
8
|
-
const getInvoicingDunningActionState = (id) => (state) => state.invoicingDunningActionState.byId[id] ?? NOT_STARTED;
|
|
9
|
-
exports.getInvoicingDunningActionState = getInvoicingDunningActionState;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { Amount } from '../../../commonStateTypes/amount';
|
|
2
|
-
import type { InvoicingPlan } from '../../../entity/invoicing/plan/planState';
|
|
3
|
-
import type { InvoicingProduct } from '../../../entity/invoicing/product/productState';
|
|
4
|
-
import type { InvoicingCatalogItemFormSubFamily, InvoicingCatalogItemFormTier } from './editInvoicingCatalogItemDetailViewState';
|
|
5
|
-
export type CatalogDetailSubFamilyEditValues = InvoicingCatalogItemFormSubFamily;
|
|
6
|
-
export interface CatalogDetailEditValues {
|
|
7
|
-
applicableItems: string[];
|
|
8
|
-
description: string;
|
|
9
|
-
enabledForCheckout: boolean;
|
|
10
|
-
enabledInPortal: boolean;
|
|
11
|
-
giftClaimRedirectUrl: string;
|
|
12
|
-
includedInMrr: boolean;
|
|
13
|
-
isGiftable: boolean;
|
|
14
|
-
isShippable: boolean;
|
|
15
|
-
itemApplicability: string;
|
|
16
|
-
metered: boolean;
|
|
17
|
-
name: string;
|
|
18
|
-
productCode: string;
|
|
19
|
-
subFamilies: CatalogDetailSubFamilyEditValues[];
|
|
20
|
-
unit: string;
|
|
21
|
-
usageCalculation: string;
|
|
22
|
-
}
|
|
23
|
-
export interface CatalogDetailProductUpdate {
|
|
24
|
-
data: Record<string, unknown>;
|
|
25
|
-
id: string;
|
|
26
|
-
}
|
|
27
|
-
export interface CatalogDetailSavePayload {
|
|
28
|
-
planData: Record<string, unknown>;
|
|
29
|
-
productUpdates: CatalogDetailProductUpdate[];
|
|
30
|
-
}
|
|
31
|
-
/** Build default inline-edit form values from a loaded catalog item. */
|
|
32
|
-
export declare const planToCatalogDetailEditValues: (plan: InvoicingPlan) => CatalogDetailEditValues;
|
|
33
|
-
export declare const catalogDetailEditValuesToSavePayload: (values: CatalogDetailEditValues, itemType?: string, originalSubFamilies?: readonly InvoicingProduct[]) => CatalogDetailSavePayload;
|
|
34
|
-
export interface CreateSubFamilyFormValues {
|
|
35
|
-
billingCycles: string;
|
|
36
|
-
description: string;
|
|
37
|
-
freeQuantity: string;
|
|
38
|
-
invoiceNotes: string;
|
|
39
|
-
name: string;
|
|
40
|
-
period: string;
|
|
41
|
-
periodUnit: string;
|
|
42
|
-
priceCode: string;
|
|
43
|
-
pricingModel: string;
|
|
44
|
-
prorationType: string;
|
|
45
|
-
trialEndAction: string;
|
|
46
|
-
trialPeriod: string;
|
|
47
|
-
trialPeriodUnit: string;
|
|
48
|
-
priceDollars?: Amount;
|
|
49
|
-
/** Only sent for the tiered pricing models, which price per tier. */
|
|
50
|
-
tiers?: InvoicingCatalogItemFormTier[];
|
|
51
|
-
}
|
|
52
|
-
/** Build POST /catalog/products body for Create sub-family. */
|
|
53
|
-
export declare const createSubFamilyFormToPayload: (itemId: string, itemType: string, values: CreateSubFamilyFormValues) => Record<string, unknown>;
|
|
54
|
-
export declare const productToCreateSubFamilyFormValues: (product?: InvoicingProduct) => CreateSubFamilyFormValues;
|
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.productToCreateSubFamilyFormValues = exports.createSubFamilyFormToPayload = exports.catalogDetailEditValuesToSavePayload = exports.planToCatalogDetailEditValues = void 0;
|
|
4
|
-
const invoicingCatalogItemFormConfig_1 = require("./invoicingCatalogItemFormConfig");
|
|
5
|
-
const trimOrUndefined = (value) => value.trim() !== '' ? value.trim() : undefined;
|
|
6
|
-
const trimOrNull = (value) => value.trim() !== '' ? value.trim() : null;
|
|
7
|
-
const hasValue = (value) => String(value ?? '').trim() !== '';
|
|
8
|
-
const toProductCode = (value) => value
|
|
9
|
-
.trim()
|
|
10
|
-
.toLowerCase()
|
|
11
|
-
.replace(/[^a-z0-9]+/g, '-')
|
|
12
|
-
.replace(/^-|-$/g, '');
|
|
13
|
-
const subFamilyToEditValues = (subFamily) => (0, invoicingCatalogItemFormConfig_1.invoicingProductToCatalogItemFormSubFamily)(subFamily);
|
|
14
|
-
/** Build default inline-edit form values from a loaded catalog item. */
|
|
15
|
-
const planToCatalogDetailEditValues = (plan) => ({
|
|
16
|
-
applicableItems: plan.applicableItems ?? [],
|
|
17
|
-
description: plan.description ?? '',
|
|
18
|
-
enabledForCheckout: plan.enabledForCheckout ?? true,
|
|
19
|
-
enabledInPortal: plan.enabledInPortal ?? true,
|
|
20
|
-
giftClaimRedirectUrl: plan.giftClaimRedirectUrl ?? '',
|
|
21
|
-
includedInMrr: plan.includedInMrr ?? true,
|
|
22
|
-
isGiftable: plan.isGiftable ?? false,
|
|
23
|
-
isShippable: plan.isShippable ?? false,
|
|
24
|
-
itemApplicability: plan.itemApplicability ?? 'all',
|
|
25
|
-
metered: plan.metered ?? false,
|
|
26
|
-
name: plan.name ?? '',
|
|
27
|
-
productCode: plan.productCode ?? '',
|
|
28
|
-
subFamilies: (plan.subFamilies ?? []).map(subFamilyToEditValues),
|
|
29
|
-
unit: plan.unit ?? '',
|
|
30
|
-
usageCalculation: plan.usageCalculation ?? 'sum_of_usages',
|
|
31
|
-
});
|
|
32
|
-
exports.planToCatalogDetailEditValues = planToCatalogDetailEditValues;
|
|
33
|
-
const tierToPayload = (tier) => ({
|
|
34
|
-
ending_unit: hasValue(tier.endingUnit) ? Number(tier.endingUnit) : undefined,
|
|
35
|
-
package_size: hasValue(tier.packageSize)
|
|
36
|
-
? Number(tier.packageSize)
|
|
37
|
-
: undefined,
|
|
38
|
-
price: tier.price?.amount ?? 0,
|
|
39
|
-
pricing_type: tier.pricingType,
|
|
40
|
-
starting_unit: Number(tier.startingUnit) || 1,
|
|
41
|
-
});
|
|
42
|
-
const subFamilyToProductUpdate = (subFamily, itemType) => {
|
|
43
|
-
const tiered = (0, invoicingCatalogItemFormConfig_1.isTieredCatalogPricingModel)(subFamily.pricingModel);
|
|
44
|
-
const data = {
|
|
45
|
-
billing_cycles: hasValue(subFamily.billingCycles)
|
|
46
|
-
? Number(subFamily.billingCycles)
|
|
47
|
-
: null,
|
|
48
|
-
free_quantity: Number(subFamily.freeQuantity) || 0,
|
|
49
|
-
is_taxable: subFamily.isTaxable,
|
|
50
|
-
period: hasValue(subFamily.period) ? Number(subFamily.period) : null,
|
|
51
|
-
period_unit: hasValue(subFamily.period) ? subFamily.periodUnit : null,
|
|
52
|
-
price: tiered ? 0 : (subFamily.priceDollars?.amount ?? 0),
|
|
53
|
-
pricing_model: subFamily.pricingModel,
|
|
54
|
-
show_description_in_quotes: subFamily.showDescriptionInQuotes,
|
|
55
|
-
tiers: tiered ? subFamily.tiers.map(tierToPayload) : [],
|
|
56
|
-
trial_end_action: hasValue(subFamily.trialPeriod)
|
|
57
|
-
? subFamily.trialEndAction
|
|
58
|
-
: null,
|
|
59
|
-
trial_period: hasValue(subFamily.trialPeriod)
|
|
60
|
-
? Number(subFamily.trialPeriod)
|
|
61
|
-
: null,
|
|
62
|
-
trial_period_unit: hasValue(subFamily.trialPeriod)
|
|
63
|
-
? subFamily.trialPeriodUnit
|
|
64
|
-
: null,
|
|
65
|
-
};
|
|
66
|
-
if (itemType === 'addon') {
|
|
67
|
-
data.proration_type = subFamily.prorationType;
|
|
68
|
-
}
|
|
69
|
-
return { data, id: subFamily.id };
|
|
70
|
-
};
|
|
71
|
-
const catalogDetailEditValuesToSavePayload = (values, itemType = 'plan', originalSubFamilies) => {
|
|
72
|
-
const planData = {
|
|
73
|
-
applicable_items: values.itemApplicability === 'restricted' ? values.applicableItems : [],
|
|
74
|
-
enabled_for_checkout: values.enabledForCheckout,
|
|
75
|
-
enabled_in_portal: values.enabledInPortal,
|
|
76
|
-
gift_claim_redirect_url: trimOrNull(values.giftClaimRedirectUrl),
|
|
77
|
-
included_in_mrr: values.includedInMrr,
|
|
78
|
-
is_giftable: values.isGiftable,
|
|
79
|
-
is_shippable: values.isShippable,
|
|
80
|
-
item_applicability: values.itemApplicability,
|
|
81
|
-
metered: values.metered,
|
|
82
|
-
name: trimOrUndefined(values.name),
|
|
83
|
-
product_code: trimOrUndefined(values.productCode) ?? toProductCode(values.name),
|
|
84
|
-
sub_family_details: values.subFamilies.map((subFamily) => ({
|
|
85
|
-
description: trimOrNull(subFamily.description),
|
|
86
|
-
id: subFamily.id,
|
|
87
|
-
invoice_notes: trimOrNull(subFamily.invoiceNotes),
|
|
88
|
-
name: subFamily.name.trim(),
|
|
89
|
-
price_code: trimOrUndefined(subFamily.priceCode) ?? toProductCode(subFamily.name),
|
|
90
|
-
show_description_in_invoices: subFamily.showDescriptionInInvoices,
|
|
91
|
-
})),
|
|
92
|
-
usage_calculation: values.metered ? values.usageCalculation : null,
|
|
93
|
-
};
|
|
94
|
-
const description = trimOrUndefined(values.description);
|
|
95
|
-
if (description != null) {
|
|
96
|
-
planData.description = description;
|
|
97
|
-
}
|
|
98
|
-
const unit = trimOrUndefined(values.unit);
|
|
99
|
-
if (unit != null) {
|
|
100
|
-
planData.unit = unit;
|
|
101
|
-
}
|
|
102
|
-
const productUpdates = values.subFamilies.flatMap((subFamily) => {
|
|
103
|
-
const update = subFamilyToProductUpdate(subFamily, itemType);
|
|
104
|
-
const original = originalSubFamilies?.find((product) => product.id === subFamily.id);
|
|
105
|
-
if (original == null) {
|
|
106
|
-
return [update];
|
|
107
|
-
}
|
|
108
|
-
const originalUpdate = subFamilyToProductUpdate(subFamilyToEditValues(original), itemType);
|
|
109
|
-
const changedData = Object.fromEntries(Object.entries(update.data).filter(([key, value]) => JSON.stringify(value) !== JSON.stringify(originalUpdate.data[key])));
|
|
110
|
-
return Object.keys(changedData).length > 0
|
|
111
|
-
? [{ data: changedData, id: update.id }]
|
|
112
|
-
: [];
|
|
113
|
-
});
|
|
114
|
-
return {
|
|
115
|
-
planData,
|
|
116
|
-
productUpdates,
|
|
117
|
-
};
|
|
118
|
-
};
|
|
119
|
-
exports.catalogDetailEditValuesToSavePayload = catalogDetailEditValuesToSavePayload;
|
|
120
|
-
/** Build POST /catalog/products body for Create sub-family. */
|
|
121
|
-
const createSubFamilyFormToPayload = (itemId, itemType, values) => {
|
|
122
|
-
const name = values.name.trim();
|
|
123
|
-
const priceCode = trimOrUndefined(values.priceCode) ?? toProductCode(name);
|
|
124
|
-
const tiered = (0, invoicingCatalogItemFormConfig_1.isTieredCatalogPricingModel)(values.pricingModel);
|
|
125
|
-
const payload = {
|
|
126
|
-
currency_code: 'USD',
|
|
127
|
-
free_quantity: Number(values.freeQuantity) || 0,
|
|
128
|
-
is_taxable: true,
|
|
129
|
-
item_id: itemId,
|
|
130
|
-
name,
|
|
131
|
-
price: tiered ? 0 : (values.priceDollars?.amount ?? 0),
|
|
132
|
-
price_code: priceCode,
|
|
133
|
-
pricing_model: values.pricingModel || 'flat_fee',
|
|
134
|
-
show_description_in_invoices: true,
|
|
135
|
-
};
|
|
136
|
-
if (tiered) {
|
|
137
|
-
payload.tiers = (values.tiers ?? []).map(tierToPayload);
|
|
138
|
-
}
|
|
139
|
-
const description = trimOrUndefined(values.description);
|
|
140
|
-
if (description != null) {
|
|
141
|
-
payload.description = description;
|
|
142
|
-
}
|
|
143
|
-
const invoiceNotes = trimOrUndefined(values.invoiceNotes);
|
|
144
|
-
if (invoiceNotes != null) {
|
|
145
|
-
payload.invoice_notes = invoiceNotes;
|
|
146
|
-
}
|
|
147
|
-
if (itemType === 'plan' || itemType === 'addon') {
|
|
148
|
-
payload.period = Number(values.period) || 1;
|
|
149
|
-
payload.period_unit = values.periodUnit || 'month';
|
|
150
|
-
}
|
|
151
|
-
if (values.trialPeriod.trim() !== '') {
|
|
152
|
-
payload.trial_period = Number(values.trialPeriod);
|
|
153
|
-
payload.trial_period_unit = values.trialPeriodUnit || 'day';
|
|
154
|
-
payload.trial_end_action = values.trialEndAction || 'site_default';
|
|
155
|
-
}
|
|
156
|
-
if (values.billingCycles.trim() !== '') {
|
|
157
|
-
payload.billing_cycles = Number(values.billingCycles);
|
|
158
|
-
}
|
|
159
|
-
if (itemType === 'addon' && values.prorationType) {
|
|
160
|
-
payload.proration_type = values.prorationType;
|
|
161
|
-
}
|
|
162
|
-
return payload;
|
|
163
|
-
};
|
|
164
|
-
exports.createSubFamilyFormToPayload = createSubFamilyFormToPayload;
|
|
165
|
-
const productToCreateSubFamilyFormValues = (product) => ({
|
|
166
|
-
billingCycles: product?.billingCycles != null ? String(product.billingCycles) : '',
|
|
167
|
-
description: product?.description ?? '',
|
|
168
|
-
freeQuantity: product?.freeQuantity != null ? String(product.freeQuantity) : '0',
|
|
169
|
-
invoiceNotes: product?.invoiceNotes ?? '',
|
|
170
|
-
name: product?.name != null ? `${product.name} (copy)` : '',
|
|
171
|
-
period: product?.period != null ? String(product.period) : '1',
|
|
172
|
-
periodUnit: product?.periodUnit ?? 'month',
|
|
173
|
-
priceCode: '',
|
|
174
|
-
priceDollars: product?.price,
|
|
175
|
-
pricingModel: product?.pricingModel ?? 'flat_fee',
|
|
176
|
-
prorationType: product?.prorationType ?? 'site_default',
|
|
177
|
-
trialEndAction: product?.trialEndAction ?? 'site_default',
|
|
178
|
-
trialPeriod: product?.trialPeriod != null ? String(product.trialPeriod) : '',
|
|
179
|
-
trialPeriodUnit: product?.trialPeriodUnit ?? 'day',
|
|
180
|
-
});
|
|
181
|
-
exports.productToCreateSubFamilyFormValues = productToCreateSubFamilyFormValues;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { InvoicingPlanPayload } from '../../../entity/invoicing/plan/planPayload';
|
|
2
|
-
import { ZeniAPIResponse } from '../../../responsePayload';
|
|
3
|
-
import { InvoicingCatalogItemFormLocalData } from './editInvoicingCatalogItemDetailViewState';
|
|
4
|
-
export type SaveInvoicingCatalogItemResponse = ZeniAPIResponse<InvoicingPlanPayload>;
|
|
5
|
-
/**
|
|
6
|
-
* Build the parent catalog-item request body from the form draft. Creates omit
|
|
7
|
-
* both parent and sub-family IDs; edits retain returned sub-family IDs.
|
|
8
|
-
*/
|
|
9
|
-
export declare const localDataToSaveInvoicingCatalogItemPayload: (localData: InvoicingCatalogItemFormLocalData, isCreate: boolean) => Record<string, unknown>;
|