@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,134 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.localDataToSaveInvoicingCatalogItemPayload = void 0;
|
|
4
|
-
const invoicingCatalogItemFormConfig_1 = require("./invoicingCatalogItemFormConfig");
|
|
5
|
-
const CURRENCY_CODE = 'USD';
|
|
6
|
-
const trimOrUndefined = (value) => value.trim() !== '' ? value.trim() : undefined;
|
|
7
|
-
const trimOrNull = (value) => value.trim() !== '' ? value.trim() : null;
|
|
8
|
-
const toProductCode = (value) => value
|
|
9
|
-
.trim()
|
|
10
|
-
.toLowerCase()
|
|
11
|
-
.replace(/[^a-z0-9]+/g, '-')
|
|
12
|
-
.replace(/^-|-$/g, '');
|
|
13
|
-
const buildAccountingDetail = (subFamily) => {
|
|
14
|
-
const detail = {};
|
|
15
|
-
if (subFamily.sku.trim() !== '') {
|
|
16
|
-
detail.sku = subFamily.sku.trim();
|
|
17
|
-
}
|
|
18
|
-
if (subFamily.accountingCode.trim() !== '') {
|
|
19
|
-
detail.accounting_code = subFamily.accountingCode.trim();
|
|
20
|
-
}
|
|
21
|
-
if (subFamily.accountingCategory.trim() !== '') {
|
|
22
|
-
detail.accounting_category_1 = subFamily.accountingCategory.trim();
|
|
23
|
-
}
|
|
24
|
-
return Object.keys(detail).length > 0 ? detail : undefined;
|
|
25
|
-
};
|
|
26
|
-
const buildSubFamilyPayload = (localData, subFamily, clearEmptyValues) => {
|
|
27
|
-
const isAddon = localData.catalogType === 'addon';
|
|
28
|
-
const tiered = (0, invoicingCatalogItemFormConfig_1.isTieredCatalogPricingModel)(subFamily.pricingModel);
|
|
29
|
-
const name = subFamily.name.trim();
|
|
30
|
-
const priceCode = trimOrUndefined(subFamily.priceCode) ?? toProductCode(name);
|
|
31
|
-
const payload = {
|
|
32
|
-
currency_code: CURRENCY_CODE,
|
|
33
|
-
free_quantity: Number(subFamily.freeQuantity) || 0,
|
|
34
|
-
is_taxable: subFamily.isTaxable,
|
|
35
|
-
name,
|
|
36
|
-
price: tiered ? 0 : (subFamily.priceDollars?.amount ?? 0),
|
|
37
|
-
price_code: priceCode,
|
|
38
|
-
pricing_model: subFamily.pricingModel,
|
|
39
|
-
show_description_in_invoices: subFamily.showDescriptionInInvoices,
|
|
40
|
-
show_description_in_quotes: subFamily.showDescriptionInQuotes,
|
|
41
|
-
};
|
|
42
|
-
const description = trimOrUndefined(subFamily.description);
|
|
43
|
-
if (description != null) {
|
|
44
|
-
payload.description = description;
|
|
45
|
-
}
|
|
46
|
-
else if (clearEmptyValues) {
|
|
47
|
-
payload.description = null;
|
|
48
|
-
}
|
|
49
|
-
const invoiceNotes = trimOrUndefined(subFamily.invoiceNotes);
|
|
50
|
-
if (invoiceNotes != null) {
|
|
51
|
-
payload.invoice_notes = invoiceNotes;
|
|
52
|
-
}
|
|
53
|
-
else if (clearEmptyValues) {
|
|
54
|
-
payload.invoice_notes = null;
|
|
55
|
-
}
|
|
56
|
-
if (subFamily.period.trim() !== '') {
|
|
57
|
-
payload.period = Number(subFamily.period);
|
|
58
|
-
payload.period_unit = subFamily.periodUnit || 'month';
|
|
59
|
-
}
|
|
60
|
-
if (subFamily.trialPeriod.trim() !== '') {
|
|
61
|
-
payload.trial_period = Number(subFamily.trialPeriod);
|
|
62
|
-
payload.trial_period_unit = subFamily.trialPeriodUnit;
|
|
63
|
-
payload.trial_end_action = subFamily.trialEndAction;
|
|
64
|
-
}
|
|
65
|
-
if (subFamily.billingCycles.trim() !== '') {
|
|
66
|
-
payload.billing_cycles = Number(subFamily.billingCycles);
|
|
67
|
-
}
|
|
68
|
-
if (isAddon && subFamily.prorationType) {
|
|
69
|
-
payload.proration_type = subFamily.prorationType;
|
|
70
|
-
}
|
|
71
|
-
if (tiered) {
|
|
72
|
-
payload.tiers = subFamily.tiers.map((tier) => ({
|
|
73
|
-
ending_unit: tier.endingUnit.trim() !== '' ? Number(tier.endingUnit) : undefined,
|
|
74
|
-
package_size: tier.packageSize.trim() !== '' ? Number(tier.packageSize) : undefined,
|
|
75
|
-
price: tier.price?.amount ?? 0,
|
|
76
|
-
pricing_type: tier.pricingType,
|
|
77
|
-
starting_unit: Number(tier.startingUnit) || 1,
|
|
78
|
-
}));
|
|
79
|
-
}
|
|
80
|
-
const accountingDetail = buildAccountingDetail(subFamily);
|
|
81
|
-
if (accountingDetail != null) {
|
|
82
|
-
payload.accounting_detail = accountingDetail;
|
|
83
|
-
}
|
|
84
|
-
return payload;
|
|
85
|
-
};
|
|
86
|
-
/**
|
|
87
|
-
* Build the parent catalog-item request body from the form draft. Creates omit
|
|
88
|
-
* both parent and sub-family IDs; edits retain returned sub-family IDs.
|
|
89
|
-
*/
|
|
90
|
-
const localDataToSaveInvoicingCatalogItemPayload = (localData, isCreate) => {
|
|
91
|
-
const description = trimOrUndefined(localData.description);
|
|
92
|
-
const productCode = trimOrUndefined(localData.productCode) ?? toProductCode(localData.name);
|
|
93
|
-
const itemPayload = {
|
|
94
|
-
enabled_for_checkout: true,
|
|
95
|
-
enabled_in_portal: true,
|
|
96
|
-
is_giftable: false,
|
|
97
|
-
is_shippable: false,
|
|
98
|
-
item_applicability: localData.itemApplicability,
|
|
99
|
-
metered: false,
|
|
100
|
-
name: localData.name.trim(),
|
|
101
|
-
product_code: productCode,
|
|
102
|
-
type: localData.catalogType,
|
|
103
|
-
};
|
|
104
|
-
if (description != null) {
|
|
105
|
-
itemPayload.description = description;
|
|
106
|
-
}
|
|
107
|
-
const unit = trimOrUndefined(localData.unit);
|
|
108
|
-
if (unit != null) {
|
|
109
|
-
itemPayload.unit = unit;
|
|
110
|
-
}
|
|
111
|
-
if (localData.itemApplicability === 'restricted' &&
|
|
112
|
-
localData.applicableItems.length > 0) {
|
|
113
|
-
itemPayload.applicable_items = localData.applicableItems;
|
|
114
|
-
}
|
|
115
|
-
const subFamilies = localData.subFamilies.length > 0
|
|
116
|
-
? localData.subFamilies
|
|
117
|
-
: [(0, invoicingCatalogItemFormConfig_1.blankInvoicingCatalogSubFamily)()];
|
|
118
|
-
itemPayload.sub_family_details = isCreate
|
|
119
|
-
? subFamilies.map((subFamily) => buildSubFamilyPayload(localData, subFamily, false))
|
|
120
|
-
: subFamilies.map((subFamily) => {
|
|
121
|
-
const priceCode = trimOrUndefined(subFamily.priceCode) ?? toProductCode(subFamily.name);
|
|
122
|
-
const detail = {
|
|
123
|
-
description: trimOrNull(subFamily.description),
|
|
124
|
-
invoice_notes: trimOrNull(subFamily.invoiceNotes),
|
|
125
|
-
name: subFamily.name.trim(),
|
|
126
|
-
price_code: priceCode,
|
|
127
|
-
show_description_in_invoices: subFamily.showDescriptionInInvoices,
|
|
128
|
-
};
|
|
129
|
-
const id = trimOrUndefined(subFamily.id);
|
|
130
|
-
return id != null ? { ...detail, id } : detail;
|
|
131
|
-
});
|
|
132
|
-
return itemPayload;
|
|
133
|
-
};
|
|
134
|
-
exports.localDataToSaveInvoicingCatalogItemPayload = localDataToSaveInvoicingCatalogItemPayload;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { ID } from '../../../commonStateTypes/common';
|
|
2
|
-
import { ZeniAPIStatus } from '../../../responsePayload';
|
|
3
|
-
import { InvoicingCatalogItemKind } from '../invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewState';
|
|
4
|
-
import type { CatalogDetailProductUpdate } from './catalogDetailEditPayload';
|
|
5
|
-
import { EditInvoicingCatalogItemDetailViewState, InvoicingCatalogItemFormLocalData } from './editInvoicingCatalogItemDetailViewState';
|
|
6
|
-
/** Push the full form draft into CES (edit tree when `id` is present). */
|
|
7
|
-
export interface UpdateInvoicingCatalogItemFormDraftPayload {
|
|
8
|
-
localData: InvoicingCatalogItemFormLocalData;
|
|
9
|
-
id?: ID;
|
|
10
|
-
}
|
|
11
|
-
/** Trigger create (no id) / update (with id) from the stored draft. */
|
|
12
|
-
export interface SubmitInvoicingCatalogItemFormPayload {
|
|
13
|
-
id?: ID;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Data-based save used by the catalog detail-page inline edit (which builds its
|
|
17
|
-
* own partial payload). The create/edit form flow uses the draft-based
|
|
18
|
-
* `submitInvoicingCatalogItemForm` instead.
|
|
19
|
-
*/
|
|
20
|
-
export interface SaveInvoicingCatalogItemPayload {
|
|
21
|
-
data: Record<string, unknown>;
|
|
22
|
-
kind: InvoicingCatalogItemKind;
|
|
23
|
-
id?: ID;
|
|
24
|
-
productUpdates?: CatalogDetailProductUpdate[];
|
|
25
|
-
}
|
|
26
|
-
export interface CreateInvoicingCatalogSubFamilyPayload {
|
|
27
|
-
data: Record<string, unknown>;
|
|
28
|
-
parentItemId: ID;
|
|
29
|
-
}
|
|
30
|
-
export interface ArchiveInvoicingCatalogSubFamilyPayload {
|
|
31
|
-
parentItemId: ID;
|
|
32
|
-
subFamilyId: ID;
|
|
33
|
-
}
|
|
34
|
-
export declare const initialState: EditInvoicingCatalogItemDetailViewState;
|
|
35
|
-
export declare const updateInvoicingCatalogItemFormDraft: import("@reduxjs/toolkit").ActionCreatorWithPayload<UpdateInvoicingCatalogItemFormDraftPayload, "editInvoicingCatalogItemDetailView/updateInvoicingCatalogItemFormDraft">, submitInvoicingCatalogItemForm: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: SubmitInvoicingCatalogItemFormPayload], SubmitInvoicingCatalogItemFormPayload, "editInvoicingCatalogItemDetailView/submitInvoicingCatalogItemForm", never, never>, saveInvoicingCatalogItem: import("@reduxjs/toolkit").ActionCreatorWithPayload<SaveInvoicingCatalogItemPayload, "editInvoicingCatalogItemDetailView/saveInvoicingCatalogItem">, createInvoicingCatalogSubFamily: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: CreateInvoicingCatalogSubFamilyPayload], CreateInvoicingCatalogSubFamilyPayload, "editInvoicingCatalogItemDetailView/createInvoicingCatalogSubFamily", never, never>, archiveInvoicingCatalogSubFamily: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: ArchiveInvoicingCatalogSubFamilyPayload], ArchiveInvoicingCatalogSubFamilyPayload, "editInvoicingCatalogItemDetailView/archiveInvoicingCatalogSubFamily", never, never>, submitInvoicingCatalogItemFormSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
36
|
-
itemId: ID;
|
|
37
|
-
kind: InvoicingCatalogItemKind;
|
|
38
|
-
}, "editInvoicingCatalogItemDetailView/submitInvoicingCatalogItemFormSuccess">, submitInvoicingCatalogItemFormFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<ZeniAPIStatus<Record<string, unknown>>, "editInvoicingCatalogItemDetailView/submitInvoicingCatalogItemFormFailure">, resetEditInvoicingCatalogItemDetailView: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"editInvoicingCatalogItemDetailView/resetEditInvoicingCatalogItemDetailView">;
|
|
39
|
-
declare const _default: import("redux").Reducer<EditInvoicingCatalogItemDetailViewState>;
|
|
40
|
-
export default _default;
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var _a;
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.resetEditInvoicingCatalogItemDetailView = exports.submitInvoicingCatalogItemFormFailure = exports.submitInvoicingCatalogItemFormSuccess = exports.archiveInvoicingCatalogSubFamily = exports.createInvoicingCatalogSubFamily = exports.saveInvoicingCatalogItem = exports.submitInvoicingCatalogItemForm = exports.updateInvoicingCatalogItemFormDraft = exports.initialState = void 0;
|
|
5
|
-
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
|
-
const invoicingCatalogItemFormConfig_1 = require("./invoicingCatalogItemFormConfig");
|
|
7
|
-
exports.initialState = {
|
|
8
|
-
fetchState: 'Not-Started',
|
|
9
|
-
error: undefined,
|
|
10
|
-
editDraftById: {},
|
|
11
|
-
newItemDraft: { ...invoicingCatalogItemFormConfig_1.initialInvoicingCatalogItemFormLocalData },
|
|
12
|
-
savedItemId: undefined,
|
|
13
|
-
savedKind: undefined,
|
|
14
|
-
hasValidState() {
|
|
15
|
-
return this.fetchState === 'Completed';
|
|
16
|
-
},
|
|
17
|
-
};
|
|
18
|
-
const editInvoicingCatalogItemDetailView = (0, toolkit_1.createSlice)({
|
|
19
|
-
name: 'editInvoicingCatalogItemDetailView',
|
|
20
|
-
initialState: exports.initialState,
|
|
21
|
-
reducers: {
|
|
22
|
-
updateInvoicingCatalogItemFormDraft(draft, action) {
|
|
23
|
-
const { id, localData } = action.payload;
|
|
24
|
-
if (id != null) {
|
|
25
|
-
draft.editDraftById[id] = localData;
|
|
26
|
-
}
|
|
27
|
-
else {
|
|
28
|
-
draft.newItemDraft = localData;
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
submitInvoicingCatalogItemForm: {
|
|
32
|
-
reducer(draft) {
|
|
33
|
-
draft.fetchState = 'In-Progress';
|
|
34
|
-
draft.error = undefined;
|
|
35
|
-
draft.savedItemId = undefined;
|
|
36
|
-
},
|
|
37
|
-
prepare(payload) {
|
|
38
|
-
return { payload };
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
saveInvoicingCatalogItem(draft, action) {
|
|
42
|
-
draft.fetchState = 'In-Progress';
|
|
43
|
-
draft.error = undefined;
|
|
44
|
-
draft.savedItemId = undefined;
|
|
45
|
-
draft.savedKind = action.payload.kind;
|
|
46
|
-
},
|
|
47
|
-
createInvoicingCatalogSubFamily: {
|
|
48
|
-
reducer(draft) {
|
|
49
|
-
draft.fetchState = 'In-Progress';
|
|
50
|
-
draft.error = undefined;
|
|
51
|
-
draft.savedItemId = undefined;
|
|
52
|
-
},
|
|
53
|
-
prepare(payload) {
|
|
54
|
-
return { payload };
|
|
55
|
-
},
|
|
56
|
-
},
|
|
57
|
-
archiveInvoicingCatalogSubFamily: {
|
|
58
|
-
reducer(draft) {
|
|
59
|
-
draft.fetchState = 'In-Progress';
|
|
60
|
-
draft.error = undefined;
|
|
61
|
-
draft.savedItemId = undefined;
|
|
62
|
-
},
|
|
63
|
-
prepare(payload) {
|
|
64
|
-
return { payload };
|
|
65
|
-
},
|
|
66
|
-
},
|
|
67
|
-
submitInvoicingCatalogItemFormSuccess(draft, action) {
|
|
68
|
-
draft.fetchState = 'Completed';
|
|
69
|
-
draft.error = undefined;
|
|
70
|
-
draft.savedItemId = action.payload.itemId;
|
|
71
|
-
draft.savedKind = action.payload.kind;
|
|
72
|
-
},
|
|
73
|
-
submitInvoicingCatalogItemFormFailure(draft, action) {
|
|
74
|
-
draft.fetchState = 'Error';
|
|
75
|
-
draft.error = action.payload;
|
|
76
|
-
},
|
|
77
|
-
resetEditInvoicingCatalogItemDetailView(draft) {
|
|
78
|
-
draft.fetchState = 'Not-Started';
|
|
79
|
-
draft.error = undefined;
|
|
80
|
-
draft.savedItemId = undefined;
|
|
81
|
-
draft.savedKind = undefined;
|
|
82
|
-
draft.editDraftById = {};
|
|
83
|
-
draft.newItemDraft = { ...invoicingCatalogItemFormConfig_1.initialInvoicingCatalogItemFormLocalData };
|
|
84
|
-
},
|
|
85
|
-
},
|
|
86
|
-
});
|
|
87
|
-
_a = editInvoicingCatalogItemDetailView.actions, exports.updateInvoicingCatalogItemFormDraft = _a.updateInvoicingCatalogItemFormDraft, exports.submitInvoicingCatalogItemForm = _a.submitInvoicingCatalogItemForm, exports.saveInvoicingCatalogItem = _a.saveInvoicingCatalogItem, exports.createInvoicingCatalogSubFamily = _a.createInvoicingCatalogSubFamily, exports.archiveInvoicingCatalogSubFamily = _a.archiveInvoicingCatalogSubFamily, exports.submitInvoicingCatalogItemFormSuccess = _a.submitInvoicingCatalogItemFormSuccess, exports.submitInvoicingCatalogItemFormFailure = _a.submitInvoicingCatalogItemFormFailure, exports.resetEditInvoicingCatalogItemDetailView = _a.resetEditInvoicingCatalogItemDetailView;
|
|
88
|
-
exports.default = editInvoicingCatalogItemDetailView.reducer;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { FetchStateAndError, ID } from '../../../commonStateTypes/common';
|
|
2
|
-
import { SelectorView } from '../../../commonStateTypes/viewAndReport/viewAndReport';
|
|
3
|
-
import { InvoicingPlan } from '../../../entity/invoicing/plan/planState';
|
|
4
|
-
import { RootState } from '../../../reducer';
|
|
5
|
-
import { InvoicingCatalogItemKind } from '../invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewState';
|
|
6
|
-
import { InvoicingCatalogItemFormLocalData } from './editInvoicingCatalogItemDetailViewState';
|
|
7
|
-
export declare const getEditInvoicingCatalogItemDetailViewState: (state: RootState) => FetchStateAndError;
|
|
8
|
-
export declare const getSavedInvoicingCatalogItemId: (state: RootState) => ID | undefined;
|
|
9
|
-
export declare const getSavedInvoicingCatalogItemKind: (state: RootState) => InvoicingCatalogItemKind | undefined;
|
|
10
|
-
/** Picker option for a plan's `applicable_items` (add-ons / one-time charges). */
|
|
11
|
-
export interface ApplicableCatalogItemOption {
|
|
12
|
-
id: string;
|
|
13
|
-
label: string;
|
|
14
|
-
subtitle?: string;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Memoized add-on / one-time-charge options sourced from the catalog list slice.
|
|
18
|
-
* Kept referentially stable across unrelated dispatches; the form view filters
|
|
19
|
-
* out the item being edited (see `getInvoicingCatalogItemFormView`).
|
|
20
|
-
*/
|
|
21
|
-
export declare const getInvoicingApplicableCatalogItemOptions: (state: RootState) => ApplicableCatalogItemOption[];
|
|
22
|
-
/**
|
|
23
|
-
* Bundled view for the catalog item create/edit form. Given only the parent
|
|
24
|
-
* item `id`, it prefills the draft `localData` from the existing entity in edit
|
|
25
|
-
* mode, exposes the enum option sets and the
|
|
26
|
-
* `applicableItems` picker options, and carries the save fetch state/error plus
|
|
27
|
-
* the id/kind last saved — so the consumer wires a single selector.
|
|
28
|
-
*/
|
|
29
|
-
export interface InvoicingCatalogItemFormView extends SelectorView {
|
|
30
|
-
applicabilityValues: readonly string[];
|
|
31
|
-
applicableItemOptions: ApplicableCatalogItemOption[];
|
|
32
|
-
localData: InvoicingCatalogItemFormLocalData;
|
|
33
|
-
mode: 'create' | 'edit';
|
|
34
|
-
periodUnitValues: readonly string[];
|
|
35
|
-
pricingModelValues: readonly string[];
|
|
36
|
-
prorationValues: readonly string[];
|
|
37
|
-
tierTypeValues: readonly string[];
|
|
38
|
-
trialEndActionValues: readonly string[];
|
|
39
|
-
trialUnitValues: readonly string[];
|
|
40
|
-
typeValues: readonly string[];
|
|
41
|
-
kind?: InvoicingCatalogItemKind;
|
|
42
|
-
plan?: InvoicingPlan;
|
|
43
|
-
savedItemId?: ID;
|
|
44
|
-
savedKind?: InvoicingCatalogItemKind;
|
|
45
|
-
}
|
|
46
|
-
export declare const getInvoicingCatalogItemFormView: (state: RootState, id?: ID) => InvoicingCatalogItemFormView;
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getInvoicingCatalogItemFormView = exports.getInvoicingApplicableCatalogItemOptions = exports.getSavedInvoicingCatalogItemKind = exports.getSavedInvoicingCatalogItemId = exports.getEditInvoicingCatalogItemDetailViewState = void 0;
|
|
4
|
-
const toolkit_1 = require("@reduxjs/toolkit");
|
|
5
|
-
const planSelector_1 = require("../../../entity/invoicing/plan/planSelector");
|
|
6
|
-
const invoicingCatalogItemFormConfig_1 = require("./invoicingCatalogItemFormConfig");
|
|
7
|
-
const getEditInvoicingCatalogItemDetailViewState = (state) => ({
|
|
8
|
-
fetchState: state.editInvoicingCatalogItemDetailViewState.fetchState,
|
|
9
|
-
error: state.editInvoicingCatalogItemDetailViewState.error,
|
|
10
|
-
});
|
|
11
|
-
exports.getEditInvoicingCatalogItemDetailViewState = getEditInvoicingCatalogItemDetailViewState;
|
|
12
|
-
const getSavedInvoicingCatalogItemId = (state) => state.editInvoicingCatalogItemDetailViewState.savedItemId;
|
|
13
|
-
exports.getSavedInvoicingCatalogItemId = getSavedInvoicingCatalogItemId;
|
|
14
|
-
const getSavedInvoicingCatalogItemKind = (state) => state.editInvoicingCatalogItemDetailViewState.savedKind;
|
|
15
|
-
exports.getSavedInvoicingCatalogItemKind = getSavedInvoicingCatalogItemKind;
|
|
16
|
-
const isAddonOrCharge = (type) => type === 'addon' || type === 'charge';
|
|
17
|
-
const catalogItemSubtitle = (productCode, detail) => {
|
|
18
|
-
const parts = [productCode, detail].filter((part) => part != null && part !== '');
|
|
19
|
-
return parts.length > 0 ? parts.join(' • ') : undefined;
|
|
20
|
-
};
|
|
21
|
-
const buildApplicableCatalogItemOptions = (plans) => {
|
|
22
|
-
const options = new Map();
|
|
23
|
-
for (const plan of plans) {
|
|
24
|
-
const type = plan.type ?? plan.itemType;
|
|
25
|
-
if (!isAddonOrCharge(type)) {
|
|
26
|
-
continue;
|
|
27
|
-
}
|
|
28
|
-
options.set(plan.id, {
|
|
29
|
-
id: plan.id,
|
|
30
|
-
label: plan.name ?? plan.id,
|
|
31
|
-
subtitle: catalogItemSubtitle(plan.productCode, type),
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
return [...options.values()].sort((a, b) => a.label.localeCompare(b.label));
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* Memoized add-on / one-time-charge options sourced from the catalog list slice.
|
|
38
|
-
* Kept referentially stable across unrelated dispatches; the form view filters
|
|
39
|
-
* out the item being edited (see `getInvoicingCatalogItemFormView`).
|
|
40
|
-
*/
|
|
41
|
-
exports.getInvoicingApplicableCatalogItemOptions = (0, toolkit_1.createSelector)((state) => state.invoicingPlanState, (state) => state.invoicingCatalogListViewState, (planState, listViewState) => buildApplicableCatalogItemOptions((0, planSelector_1.getInvoicingPlansByIds)(planState, [
|
|
42
|
-
...listViewState.planIds,
|
|
43
|
-
...listViewState.productIds,
|
|
44
|
-
])));
|
|
45
|
-
const getInvoicingCatalogItemFormView = (state, id) => {
|
|
46
|
-
const { editDraftById, error, fetchState, newItemDraft, savedItemId, savedKind, } = state.editInvoicingCatalogItemDetailViewState;
|
|
47
|
-
const plan = id != null ? (0, planSelector_1.getInvoicingPlanById)(state.invoicingPlanState, id) : undefined;
|
|
48
|
-
const kind = plan != null ? 'plan' : undefined;
|
|
49
|
-
const localData = id != null
|
|
50
|
-
? (editDraftById[id] ?? (0, invoicingCatalogItemFormConfig_1.entityToInvoicingCatalogItemFormLocalData)(plan))
|
|
51
|
-
: newItemDraft;
|
|
52
|
-
const allApplicableItemOptions = (0, exports.getInvoicingApplicableCatalogItemOptions)(state);
|
|
53
|
-
const applicableItemOptions = id != null
|
|
54
|
-
? allApplicableItemOptions.filter((option) => option.id !== id)
|
|
55
|
-
: allApplicableItemOptions;
|
|
56
|
-
return {
|
|
57
|
-
applicabilityValues: invoicingCatalogItemFormConfig_1.INVOICING_CATALOG_APPLICABILITY_VALUES,
|
|
58
|
-
applicableItemOptions,
|
|
59
|
-
localData,
|
|
60
|
-
mode: id != null ? 'edit' : 'create',
|
|
61
|
-
periodUnitValues: invoicingCatalogItemFormConfig_1.INVOICING_CATALOG_PERIOD_UNIT_VALUES,
|
|
62
|
-
pricingModelValues: invoicingCatalogItemFormConfig_1.INVOICING_CATALOG_PRICING_MODEL_VALUES,
|
|
63
|
-
prorationValues: invoicingCatalogItemFormConfig_1.INVOICING_CATALOG_PRORATION_VALUES,
|
|
64
|
-
tierTypeValues: invoicingCatalogItemFormConfig_1.INVOICING_CATALOG_TIER_TYPE_VALUES,
|
|
65
|
-
trialEndActionValues: invoicingCatalogItemFormConfig_1.INVOICING_CATALOG_TRIAL_END_ACTION_VALUES,
|
|
66
|
-
trialUnitValues: invoicingCatalogItemFormConfig_1.INVOICING_CATALOG_TRIAL_UNIT_VALUES,
|
|
67
|
-
typeValues: invoicingCatalogItemFormConfig_1.INVOICING_CATALOG_TYPE_VALUES,
|
|
68
|
-
kind,
|
|
69
|
-
plan,
|
|
70
|
-
savedItemId,
|
|
71
|
-
savedKind,
|
|
72
|
-
fetchState,
|
|
73
|
-
error,
|
|
74
|
-
version: 1.0,
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
exports.getInvoicingCatalogItemFormView = getInvoicingCatalogItemFormView;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { Amount } from '../../../commonStateTypes/amount';
|
|
2
|
-
import { FetchedState, ID } from '../../../commonStateTypes/common';
|
|
3
|
-
import { InvoicingCatalogItemKind } from '../invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewState';
|
|
4
|
-
/** A single pricing tier within a sub-family (values kept as raw strings). */
|
|
5
|
-
export interface InvoicingCatalogItemFormTier {
|
|
6
|
-
endingUnit: string;
|
|
7
|
-
packageSize: string;
|
|
8
|
-
pricingType: string;
|
|
9
|
-
startingUnit: string;
|
|
10
|
-
/** Unset until entered, so a blank field is distinguishable from a real 0. */
|
|
11
|
-
price?: Amount;
|
|
12
|
-
}
|
|
13
|
-
/** A sub-family (price point) of a catalog item. */
|
|
14
|
-
export interface InvoicingCatalogItemFormSubFamily {
|
|
15
|
-
/** Accounting integration is per sub-family: the API carries
|
|
16
|
-
* `accounting_detail` on each product, not on the parent item. */
|
|
17
|
-
accountingCategory: string;
|
|
18
|
-
accountingCode: string;
|
|
19
|
-
billingCycles: string;
|
|
20
|
-
description: string;
|
|
21
|
-
freeQuantity: string;
|
|
22
|
-
id: string;
|
|
23
|
-
invoiceNotes: string;
|
|
24
|
-
isTaxable: boolean;
|
|
25
|
-
name: string;
|
|
26
|
-
period: string;
|
|
27
|
-
periodUnit: string;
|
|
28
|
-
priceCode: string;
|
|
29
|
-
pricingModel: string;
|
|
30
|
-
prorationType: string;
|
|
31
|
-
showDescriptionInInvoices: boolean;
|
|
32
|
-
showDescriptionInQuotes: boolean;
|
|
33
|
-
sku: string;
|
|
34
|
-
tiers: InvoicingCatalogItemFormTier[];
|
|
35
|
-
trialEndAction: string;
|
|
36
|
-
trialPeriod: string;
|
|
37
|
-
trialPeriodUnit: string;
|
|
38
|
-
/** Unset until entered, so a blank field is distinguishable from a real 0. */
|
|
39
|
-
priceDollars?: Amount;
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* Draft form state for the create/edit catalog item (plan / add-on / one-time
|
|
43
|
-
* charge) form. Held in CES so the form flows its data from here (mirrors the
|
|
44
|
-
* customer form pattern). `catalogType` is `plan` | `addon` | `charge`; the
|
|
45
|
-
* every type is persisted as a parent catalog item through `/catalog/plans`.
|
|
46
|
-
*/
|
|
47
|
-
export interface InvoicingCatalogItemFormLocalData {
|
|
48
|
-
applicableItems: string[];
|
|
49
|
-
catalogType: string;
|
|
50
|
-
description: string;
|
|
51
|
-
externalId: string;
|
|
52
|
-
itemApplicability: string;
|
|
53
|
-
name: string;
|
|
54
|
-
productCode: string;
|
|
55
|
-
subFamilies: InvoicingCatalogItemFormSubFamily[];
|
|
56
|
-
unit: string;
|
|
57
|
-
}
|
|
58
|
-
export interface EditInvoicingCatalogItemDetailViewState extends FetchedState {
|
|
59
|
-
editDraftById: Record<ID, InvoicingCatalogItemFormLocalData>;
|
|
60
|
-
newItemDraft: InvoicingCatalogItemFormLocalData;
|
|
61
|
-
savedItemId?: ID;
|
|
62
|
-
savedKind?: InvoicingCatalogItemKind;
|
|
63
|
-
}
|
package/lib/view/invoicing/editInvoicingCatalogItemDetailView/invoicingCatalogItemFormConfig.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { InvoicingPlan } from '../../../entity/invoicing/plan/planState';
|
|
2
|
-
import { InvoicingProduct } from '../../../entity/invoicing/product/productState';
|
|
3
|
-
import { InvoicingCatalogItemFormLocalData, InvoicingCatalogItemFormSubFamily, InvoicingCatalogItemFormTier } from './editInvoicingCatalogItemDetailViewState';
|
|
4
|
-
/**
|
|
5
|
-
* Canonical value sets for the catalog item form. CES owns the values;
|
|
6
|
-
* web-components maps each value to a localized label.
|
|
7
|
-
*/
|
|
8
|
-
export declare const INVOICING_CATALOG_TYPE_VALUES: readonly ["plan", "addon", "charge"];
|
|
9
|
-
export declare const INVOICING_CATALOG_PERIOD_UNIT_VALUES: readonly ["day", "week", "month", "year"];
|
|
10
|
-
export declare const INVOICING_CATALOG_PRICING_MODEL_VALUES: readonly ["flat_fee", "per_unit", "tiered", "volume", "stairstep"];
|
|
11
|
-
export declare const INVOICING_CATALOG_TIER_TYPE_VALUES: readonly ["per_unit", "flat_fee", "package"];
|
|
12
|
-
export declare const INVOICING_CATALOG_TRIAL_UNIT_VALUES: readonly ["day", "month"];
|
|
13
|
-
export declare const INVOICING_CATALOG_TRIAL_END_ACTION_VALUES: readonly ["site_default", "activate_subscription", "cancel_subscription"];
|
|
14
|
-
export declare const INVOICING_CATALOG_PRORATION_VALUES: readonly ["site_default", "partial_term", "full_term"];
|
|
15
|
-
export declare const INVOICING_CATALOG_APPLICABILITY_VALUES: readonly ["all", "restricted"];
|
|
16
|
-
export declare const isTieredCatalogPricingModel: (model: string) => boolean;
|
|
17
|
-
export declare const blankInvoicingCatalogTier: (startingUnit?: string) => InvoicingCatalogItemFormTier;
|
|
18
|
-
export declare const blankInvoicingCatalogSubFamily: () => InvoicingCatalogItemFormSubFamily;
|
|
19
|
-
export declare const invoicingProductToCatalogItemFormSubFamily: (product?: InvoicingProduct) => InvoicingCatalogItemFormSubFamily;
|
|
20
|
-
export declare const initialInvoicingCatalogItemFormLocalData: InvoicingCatalogItemFormLocalData;
|
|
21
|
-
/**
|
|
22
|
-
* Seed the form draft from a parent catalog item and its embedded sub-families.
|
|
23
|
-
*/
|
|
24
|
-
export declare const entityToInvoicingCatalogItemFormLocalData: (item?: InvoicingPlan) => InvoicingCatalogItemFormLocalData;
|
package/lib/view/invoicing/editInvoicingCatalogItemDetailView/invoicingCatalogItemFormConfig.js
DELETED
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.entityToInvoicingCatalogItemFormLocalData = exports.initialInvoicingCatalogItemFormLocalData = exports.invoicingProductToCatalogItemFormSubFamily = exports.blankInvoicingCatalogSubFamily = exports.blankInvoicingCatalogTier = exports.isTieredCatalogPricingModel = exports.INVOICING_CATALOG_APPLICABILITY_VALUES = exports.INVOICING_CATALOG_PRORATION_VALUES = exports.INVOICING_CATALOG_TRIAL_END_ACTION_VALUES = exports.INVOICING_CATALOG_TRIAL_UNIT_VALUES = exports.INVOICING_CATALOG_TIER_TYPE_VALUES = exports.INVOICING_CATALOG_PRICING_MODEL_VALUES = exports.INVOICING_CATALOG_PERIOD_UNIT_VALUES = exports.INVOICING_CATALOG_TYPE_VALUES = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Canonical value sets for the catalog item form. CES owns the values;
|
|
6
|
-
* web-components maps each value to a localized label.
|
|
7
|
-
*/
|
|
8
|
-
exports.INVOICING_CATALOG_TYPE_VALUES = [
|
|
9
|
-
'plan',
|
|
10
|
-
'addon',
|
|
11
|
-
'charge',
|
|
12
|
-
];
|
|
13
|
-
exports.INVOICING_CATALOG_PERIOD_UNIT_VALUES = [
|
|
14
|
-
'day',
|
|
15
|
-
'week',
|
|
16
|
-
'month',
|
|
17
|
-
'year',
|
|
18
|
-
];
|
|
19
|
-
exports.INVOICING_CATALOG_PRICING_MODEL_VALUES = [
|
|
20
|
-
'flat_fee',
|
|
21
|
-
'per_unit',
|
|
22
|
-
'tiered',
|
|
23
|
-
'volume',
|
|
24
|
-
'stairstep',
|
|
25
|
-
];
|
|
26
|
-
exports.INVOICING_CATALOG_TIER_TYPE_VALUES = [
|
|
27
|
-
'per_unit',
|
|
28
|
-
'flat_fee',
|
|
29
|
-
'package',
|
|
30
|
-
];
|
|
31
|
-
exports.INVOICING_CATALOG_TRIAL_UNIT_VALUES = ['day', 'month'];
|
|
32
|
-
exports.INVOICING_CATALOG_TRIAL_END_ACTION_VALUES = [
|
|
33
|
-
'site_default',
|
|
34
|
-
'activate_subscription',
|
|
35
|
-
'cancel_subscription',
|
|
36
|
-
];
|
|
37
|
-
exports.INVOICING_CATALOG_PRORATION_VALUES = [
|
|
38
|
-
'site_default',
|
|
39
|
-
'partial_term',
|
|
40
|
-
'full_term',
|
|
41
|
-
];
|
|
42
|
-
exports.INVOICING_CATALOG_APPLICABILITY_VALUES = [
|
|
43
|
-
'all',
|
|
44
|
-
'restricted',
|
|
45
|
-
];
|
|
46
|
-
const isTieredCatalogPricingModel = (model) => ['tiered', 'volume', 'stairstep'].includes(model);
|
|
47
|
-
exports.isTieredCatalogPricingModel = isTieredCatalogPricingModel;
|
|
48
|
-
const blankInvoicingCatalogTier = (startingUnit = '1') => ({
|
|
49
|
-
endingUnit: '',
|
|
50
|
-
packageSize: '',
|
|
51
|
-
pricingType: 'per_unit',
|
|
52
|
-
startingUnit,
|
|
53
|
-
});
|
|
54
|
-
exports.blankInvoicingCatalogTier = blankInvoicingCatalogTier;
|
|
55
|
-
const blankInvoicingCatalogSubFamily = () => ({
|
|
56
|
-
accountingCategory: '',
|
|
57
|
-
accountingCode: '',
|
|
58
|
-
billingCycles: '',
|
|
59
|
-
description: '',
|
|
60
|
-
freeQuantity: '0',
|
|
61
|
-
id: '',
|
|
62
|
-
invoiceNotes: '',
|
|
63
|
-
isTaxable: true,
|
|
64
|
-
name: '',
|
|
65
|
-
period: '1',
|
|
66
|
-
periodUnit: 'month',
|
|
67
|
-
priceCode: '',
|
|
68
|
-
pricingModel: 'flat_fee',
|
|
69
|
-
prorationType: 'site_default',
|
|
70
|
-
showDescriptionInInvoices: true,
|
|
71
|
-
showDescriptionInQuotes: true,
|
|
72
|
-
sku: '',
|
|
73
|
-
tiers: [(0, exports.blankInvoicingCatalogTier)('1')],
|
|
74
|
-
trialEndAction: 'site_default',
|
|
75
|
-
trialPeriod: '',
|
|
76
|
-
trialPeriodUnit: 'month',
|
|
77
|
-
});
|
|
78
|
-
exports.blankInvoicingCatalogSubFamily = blankInvoicingCatalogSubFamily;
|
|
79
|
-
const invoicingProductToCatalogItemFormSubFamily = (product) => {
|
|
80
|
-
const base = (0, exports.blankInvoicingCatalogSubFamily)();
|
|
81
|
-
if (product == null) {
|
|
82
|
-
return base;
|
|
83
|
-
}
|
|
84
|
-
return {
|
|
85
|
-
...base,
|
|
86
|
-
accountingCategory: product.accountingDetail?.accountingCategory1 ?? '',
|
|
87
|
-
accountingCode: product.accountingDetail?.accountingCode ?? '',
|
|
88
|
-
billingCycles: product.billingCycles != null ? String(product.billingCycles) : '',
|
|
89
|
-
sku: product.accountingDetail?.sku ?? '',
|
|
90
|
-
description: product.description ?? '',
|
|
91
|
-
freeQuantity: product.freeQuantity != null ? String(product.freeQuantity) : '0',
|
|
92
|
-
id: product.id,
|
|
93
|
-
invoiceNotes: product.invoiceNotes ?? '',
|
|
94
|
-
isTaxable: product.isTaxable ?? true,
|
|
95
|
-
name: product.name ?? '',
|
|
96
|
-
period: product.period != null ? String(product.period) : '1',
|
|
97
|
-
periodUnit: product.periodUnit ?? 'month',
|
|
98
|
-
priceDollars: product.price,
|
|
99
|
-
priceCode: product.priceCode ?? '',
|
|
100
|
-
pricingModel: product.pricingModel ?? 'flat_fee',
|
|
101
|
-
prorationType: product.prorationType ?? 'site_default',
|
|
102
|
-
showDescriptionInInvoices: product.showDescriptionInInvoices ?? true,
|
|
103
|
-
showDescriptionInQuotes: product.showDescriptionInQuotes ?? true,
|
|
104
|
-
tiers: product.tiers != null && product.tiers.length > 0
|
|
105
|
-
? product.tiers.map((tier) => ({
|
|
106
|
-
endingUnit: tier.endingUnit != null ? String(tier.endingUnit) : '',
|
|
107
|
-
packageSize: tier.packageSize != null ? String(tier.packageSize) : '',
|
|
108
|
-
price: tier.price,
|
|
109
|
-
pricingType: tier.pricingType ?? 'per_unit',
|
|
110
|
-
startingUnit: String(tier.startingUnit ?? 1),
|
|
111
|
-
}))
|
|
112
|
-
: [(0, exports.blankInvoicingCatalogTier)('1')],
|
|
113
|
-
trialEndAction: product.trialEndAction ?? 'site_default',
|
|
114
|
-
trialPeriod: product.trialPeriod != null ? String(product.trialPeriod) : '',
|
|
115
|
-
trialPeriodUnit: product.trialPeriodUnit ?? 'month',
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
exports.invoicingProductToCatalogItemFormSubFamily = invoicingProductToCatalogItemFormSubFamily;
|
|
119
|
-
exports.initialInvoicingCatalogItemFormLocalData = {
|
|
120
|
-
applicableItems: [],
|
|
121
|
-
catalogType: 'plan',
|
|
122
|
-
description: '',
|
|
123
|
-
externalId: '',
|
|
124
|
-
itemApplicability: 'all',
|
|
125
|
-
name: '',
|
|
126
|
-
productCode: '',
|
|
127
|
-
subFamilies: [(0, exports.blankInvoicingCatalogSubFamily)()],
|
|
128
|
-
unit: '',
|
|
129
|
-
};
|
|
130
|
-
/**
|
|
131
|
-
* Seed the form draft from a parent catalog item and its embedded sub-families.
|
|
132
|
-
*/
|
|
133
|
-
const entityToInvoicingCatalogItemFormLocalData = (item) => {
|
|
134
|
-
if (item == null) {
|
|
135
|
-
return {
|
|
136
|
-
...exports.initialInvoicingCatalogItemFormLocalData,
|
|
137
|
-
subFamilies: [(0, exports.blankInvoicingCatalogSubFamily)()],
|
|
138
|
-
};
|
|
139
|
-
}
|
|
140
|
-
const plan = item;
|
|
141
|
-
const catalogType = plan.type === 'charge' || plan.itemType === 'charge'
|
|
142
|
-
? 'charge'
|
|
143
|
-
: plan.type === 'addon' || plan.itemType === 'addon'
|
|
144
|
-
? 'addon'
|
|
145
|
-
: 'plan';
|
|
146
|
-
return {
|
|
147
|
-
applicableItems: item.applicableItems ?? [],
|
|
148
|
-
catalogType,
|
|
149
|
-
description: item.description ?? '',
|
|
150
|
-
externalId: item.externalId ?? '',
|
|
151
|
-
itemApplicability: item.itemApplicability ?? 'all',
|
|
152
|
-
name: item.name ?? '',
|
|
153
|
-
productCode: item.productCode ?? '',
|
|
154
|
-
subFamilies: plan?.subFamilies != null && plan.subFamilies.length > 0
|
|
155
|
-
? plan.subFamilies.map(exports.invoicingProductToCatalogItemFormSubFamily)
|
|
156
|
-
: [(0, exports.invoicingProductToCatalogItemFormSubFamily)()],
|
|
157
|
-
unit: item.unit ?? '',
|
|
158
|
-
};
|
|
159
|
-
};
|
|
160
|
-
exports.entityToInvoicingCatalogItemFormLocalData = entityToInvoicingCatalogItemFormLocalData;
|
package/lib/view/invoicing/editInvoicingCatalogItemDetailView/invoicingCatalogSubFamilyEpics.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { mergeInvoicingPlanSubFamily } from '../../../entity/invoicing/plan/planReducer';
|
|
4
|
-
import { RootState } from '../../../reducer';
|
|
5
|
-
import { ZeniAPI } from '../../../zeniAPI';
|
|
6
|
-
import { archiveInvoicingCatalogSubFamily, createInvoicingCatalogSubFamily, submitInvoicingCatalogItemFormFailure, submitInvoicingCatalogItemFormSuccess } from './editInvoicingCatalogItemDetailViewReducer';
|
|
7
|
-
export type ActionType = ReturnType<typeof createInvoicingCatalogSubFamily> | ReturnType<typeof archiveInvoicingCatalogSubFamily> | ReturnType<typeof mergeInvoicingPlanSubFamily> | ReturnType<typeof submitInvoicingCatalogItemFormSuccess> | ReturnType<typeof submitInvoicingCatalogItemFormFailure>;
|
|
8
|
-
export declare const createInvoicingCatalogSubFamilyEpic: (actions$: ActionsObservable<ActionType>, _state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;
|
|
9
|
-
export declare const archiveInvoicingCatalogSubFamilyEpic: (actions$: ActionsObservable<ActionType>, _state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;
|