@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,13 +0,0 @@
|
|
|
1
|
-
import { CreateInvoiceRequest } from './createInvoicePayload';
|
|
2
|
-
import { InvoicingCreateInvoiceFormLineItem, InvoicingCreateInvoiceFormLocalData } from './createInvoiceState';
|
|
3
|
-
/** A blank line item with USD amounts (no cents — amounts are whole dollars). */
|
|
4
|
-
export declare const blankInvoicingCreateInvoiceLineItem: () => InvoicingCreateInvoiceFormLineItem;
|
|
5
|
-
export declare const initialInvoicingCreateInvoiceFormLocalData: InvoicingCreateInvoiceFormLocalData;
|
|
6
|
-
/**
|
|
7
|
-
* Build the create-invoice API request from the form draft. Amounts flow
|
|
8
|
-
* through as USD values (`unitAmount.amount` / `taxAmount.amount`) with NO
|
|
9
|
-
* minor-units conversion. Owns the due-date resolution (explicit due date →
|
|
10
|
-
* net-term offset → invoice date → today) and the notes shaping the form used
|
|
11
|
-
* to do inline.
|
|
12
|
-
*/
|
|
13
|
-
export declare const createInvoiceFormLocalDataToRequest: (localData: InvoicingCreateInvoiceFormLocalData) => CreateInvoiceRequest;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.createInvoiceFormLocalDataToRequest = exports.initialInvoicingCreateInvoiceFormLocalData = exports.blankInvoicingCreateInvoiceLineItem = void 0;
|
|
4
|
-
const amount_1 = require("../../../commonStateTypes/amount");
|
|
5
|
-
const DEFAULT_CURRENCY_CODE = 'USD';
|
|
6
|
-
const DEFAULT_CURRENCY_SYMBOL = '$';
|
|
7
|
-
const MS_PER_DAY = 86400000;
|
|
8
|
-
const todayIso = () => new Date().toISOString().slice(0, 10);
|
|
9
|
-
const isoDateAfterDays = (days) => new Date(Date.now() + days * MS_PER_DAY).toISOString().slice(0, 10);
|
|
10
|
-
/** A blank line item with USD amounts (no cents — amounts are whole dollars). */
|
|
11
|
-
const blankInvoicingCreateInvoiceLineItem = () => ({
|
|
12
|
-
description: '',
|
|
13
|
-
quantity: '1',
|
|
14
|
-
taxAmount: (0, amount_1.toAmount)(0, DEFAULT_CURRENCY_CODE, DEFAULT_CURRENCY_SYMBOL),
|
|
15
|
-
unitAmount: (0, amount_1.toAmount)(0, DEFAULT_CURRENCY_CODE, DEFAULT_CURRENCY_SYMBOL),
|
|
16
|
-
});
|
|
17
|
-
exports.blankInvoicingCreateInvoiceLineItem = blankInvoicingCreateInvoiceLineItem;
|
|
18
|
-
exports.initialInvoicingCreateInvoiceFormLocalData = {
|
|
19
|
-
customerId: '',
|
|
20
|
-
invoiceType: 'one_time',
|
|
21
|
-
lineItems: [(0, exports.blankInvoicingCreateInvoiceLineItem)()],
|
|
22
|
-
memo: '',
|
|
23
|
-
netTermDays: 0,
|
|
24
|
-
poNumber: '',
|
|
25
|
-
dueDate: undefined,
|
|
26
|
-
invoiceDate: undefined,
|
|
27
|
-
};
|
|
28
|
-
const toQuantity = (quantity) => {
|
|
29
|
-
const parsed = Number(quantity);
|
|
30
|
-
return Number.isFinite(parsed) && parsed > 0 ? parsed : 1;
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* Build the create-invoice API request from the form draft. Amounts flow
|
|
34
|
-
* through as USD values (`unitAmount.amount` / `taxAmount.amount`) with NO
|
|
35
|
-
* minor-units conversion. Owns the due-date resolution (explicit due date →
|
|
36
|
-
* net-term offset → invoice date → today) and the notes shaping the form used
|
|
37
|
-
* to do inline.
|
|
38
|
-
*/
|
|
39
|
-
const createInvoiceFormLocalDataToRequest = (localData) => {
|
|
40
|
-
const currencyCode = localData.lineItems[0]?.unitAmount.currencyCode || DEFAULT_CURRENCY_CODE;
|
|
41
|
-
const lineItems = localData.lineItems
|
|
42
|
-
.filter((line) => line.description.trim() !== '' || line.unitAmount.amount !== 0)
|
|
43
|
-
.map((line) => ({
|
|
44
|
-
description: line.description.trim(),
|
|
45
|
-
quantity: toQuantity(line.quantity),
|
|
46
|
-
tax_amount: line.taxAmount.amount,
|
|
47
|
-
unit_amount: line.unitAmount.amount,
|
|
48
|
-
}));
|
|
49
|
-
const invoiceDate = localData.invoiceDate != null && localData.invoiceDate !== ''
|
|
50
|
-
? localData.invoiceDate
|
|
51
|
-
: todayIso();
|
|
52
|
-
const dueDate = localData.dueDate != null && localData.dueDate !== ''
|
|
53
|
-
? localData.dueDate
|
|
54
|
-
: localData.netTermDays > 0
|
|
55
|
-
? isoDateAfterDays(localData.netTermDays)
|
|
56
|
-
: invoiceDate;
|
|
57
|
-
const trimmedMemo = localData.memo.trim();
|
|
58
|
-
return {
|
|
59
|
-
currency_code: currencyCode,
|
|
60
|
-
customer_id: localData.customerId,
|
|
61
|
-
date: invoiceDate,
|
|
62
|
-
due_date: dueDate,
|
|
63
|
-
invoice_type: localData.invoiceType,
|
|
64
|
-
line_items: lineItems,
|
|
65
|
-
net_term_days: localData.netTermDays,
|
|
66
|
-
notes: trimmedMemo !== '' ? [{ note: trimmedMemo }] : [],
|
|
67
|
-
po_number: localData.poNumber.trim(),
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
exports.createInvoiceFormLocalDataToRequest = createInvoiceFormLocalDataToRequest;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { InvoicingInvoicePayload } from '../../../entity/invoicing/invoice/invoicePayload';
|
|
2
|
-
import { ZeniAPIResponse } from '../../../responsePayload';
|
|
3
|
-
/** Line item shape sent when creating an invoice (amounts in USD whole units, not minor units). */
|
|
4
|
-
export interface CreateInvoiceLineItemRequest {
|
|
5
|
-
description: string;
|
|
6
|
-
quantity: number;
|
|
7
|
-
unit_amount: number;
|
|
8
|
-
tax_amount?: number;
|
|
9
|
-
}
|
|
10
|
-
/** Request body for creating an invoice; mirrors the Invoicing backend. */
|
|
11
|
-
export interface CreateInvoiceRequest {
|
|
12
|
-
customer_id: string;
|
|
13
|
-
invoice_type: 'one_time';
|
|
14
|
-
currency_code?: string;
|
|
15
|
-
date?: string;
|
|
16
|
-
due_date?: string;
|
|
17
|
-
line_items?: CreateInvoiceLineItemRequest[];
|
|
18
|
-
net_term_days?: number;
|
|
19
|
-
notes?: {
|
|
20
|
-
note: string;
|
|
21
|
-
}[];
|
|
22
|
-
po_number?: string;
|
|
23
|
-
}
|
|
24
|
-
export type CreateInvoiceResponse = ZeniAPIResponse<InvoicingInvoicePayload>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ID } from '../../../commonStateTypes/common';
|
|
2
|
-
import { ZeniAPIStatus } from '../../../responsePayload';
|
|
3
|
-
import { CreateInvoiceRequest } from './createInvoicePayload';
|
|
4
|
-
import { CreateInvoiceState, InvoicingCreateInvoiceFormLocalData } from './createInvoiceState';
|
|
5
|
-
export declare const initialState: CreateInvoiceState;
|
|
6
|
-
export declare const createInvoice: import("@reduxjs/toolkit").ActionCreatorWithPayload<CreateInvoiceRequest, "invoicingCreateInvoice/createInvoice">, createInvoiceSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
7
|
-
invoiceId: ID;
|
|
8
|
-
}, "invoicingCreateInvoice/createInvoiceSuccess">, createInvoiceFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<ZeniAPIStatus<Record<string, unknown>>, "invoicingCreateInvoice/createInvoiceFailure">, fetchCreateInvoiceFormPage: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: {
|
|
9
|
-
cacheOverride: boolean;
|
|
10
|
-
}], {
|
|
11
|
-
cacheOverride: boolean;
|
|
12
|
-
}, "invoicingCreateInvoice/fetchCreateInvoiceFormPage", never, never>, resetCreateInvoice: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"invoicingCreateInvoice/resetCreateInvoice">, updateInvoicingCreateInvoiceFormDraft: import("@reduxjs/toolkit").ActionCreatorWithPayload<InvoicingCreateInvoiceFormLocalData, "invoicingCreateInvoice/updateInvoicingCreateInvoiceFormDraft">;
|
|
13
|
-
declare const _default: import("redux").Reducer<CreateInvoiceState>;
|
|
14
|
-
export default _default;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var _a;
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.updateInvoicingCreateInvoiceFormDraft = exports.resetCreateInvoice = exports.fetchCreateInvoiceFormPage = exports.createInvoiceFailure = exports.createInvoiceSuccess = exports.createInvoice = exports.initialState = void 0;
|
|
5
|
-
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
|
-
const createInvoiceFormConfig_1 = require("./createInvoiceFormConfig");
|
|
7
|
-
exports.initialState = {
|
|
8
|
-
fetchState: 'Not-Started',
|
|
9
|
-
error: undefined,
|
|
10
|
-
createdInvoiceId: undefined,
|
|
11
|
-
formDraft: { ...createInvoiceFormConfig_1.initialInvoicingCreateInvoiceFormLocalData },
|
|
12
|
-
request: undefined,
|
|
13
|
-
hasValidState() {
|
|
14
|
-
return this.fetchState === 'Completed';
|
|
15
|
-
},
|
|
16
|
-
};
|
|
17
|
-
const createInvoiceSlice = (0, toolkit_1.createSlice)({
|
|
18
|
-
name: 'invoicingCreateInvoice',
|
|
19
|
-
initialState: exports.initialState,
|
|
20
|
-
reducers: {
|
|
21
|
-
/**
|
|
22
|
-
* Trigger-only action for {@link fetchCreateInvoiceFormPageEpic}: fans out to
|
|
23
|
-
* the customer/plan/product/settings fetches, skipping any already cached
|
|
24
|
-
* unless `cacheOverride` is set. Holds no state of its own.
|
|
25
|
-
*/
|
|
26
|
-
fetchCreateInvoiceFormPage: {
|
|
27
|
-
reducer() {
|
|
28
|
-
// No state mutation; fetchCreateInvoiceFormPageEpic fans out to the
|
|
29
|
-
// customer/plan/product/settings fetches in response to this action.
|
|
30
|
-
},
|
|
31
|
-
prepare(payload) {
|
|
32
|
-
return { payload };
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
updateInvoicingCreateInvoiceFormDraft(draft, action) {
|
|
36
|
-
draft.formDraft = action.payload;
|
|
37
|
-
},
|
|
38
|
-
createInvoice(draft, action) {
|
|
39
|
-
draft.fetchState = 'In-Progress';
|
|
40
|
-
draft.error = undefined;
|
|
41
|
-
draft.createdInvoiceId = undefined;
|
|
42
|
-
draft.request = action.payload;
|
|
43
|
-
},
|
|
44
|
-
createInvoiceSuccess(draft, action) {
|
|
45
|
-
draft.fetchState = 'Completed';
|
|
46
|
-
draft.error = undefined;
|
|
47
|
-
draft.createdInvoiceId = action.payload.invoiceId;
|
|
48
|
-
},
|
|
49
|
-
createInvoiceFailure(draft, action) {
|
|
50
|
-
draft.fetchState = 'Error';
|
|
51
|
-
draft.error = action.payload;
|
|
52
|
-
},
|
|
53
|
-
resetCreateInvoice(draft) {
|
|
54
|
-
Object.assign(draft, exports.initialState);
|
|
55
|
-
},
|
|
56
|
-
},
|
|
57
|
-
});
|
|
58
|
-
_a = createInvoiceSlice.actions, exports.createInvoice = _a.createInvoice, exports.createInvoiceSuccess = _a.createInvoiceSuccess, exports.createInvoiceFailure = _a.createInvoiceFailure, exports.fetchCreateInvoiceFormPage = _a.fetchCreateInvoiceFormPage, exports.resetCreateInvoice = _a.resetCreateInvoice, exports.updateInvoicingCreateInvoiceFormDraft = _a.updateInvoicingCreateInvoiceFormDraft;
|
|
59
|
-
exports.default = createInvoiceSlice.reducer;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { ID } from '../../../commonStateTypes/common';
|
|
2
|
-
import { SelectorView } from '../../../commonStateTypes/viewAndReport/viewAndReport';
|
|
3
|
-
import { Address } from '../../../entity/address/addressState';
|
|
4
|
-
import { InvoicingSettingsPayload } from '../../../entity/invoicing/invoicingCommonPayload';
|
|
5
|
-
import { InvoicingProduct } from '../../../entity/invoicing/product/productState';
|
|
6
|
-
import { RootState } from '../../../reducer';
|
|
7
|
-
import { InvoicingCreateInvoiceFormLocalData } from './createInvoiceState';
|
|
8
|
-
/**
|
|
9
|
-
* One catalog plan price, split into its two naming parts so consumers can
|
|
10
|
-
* compose the label themselves (the plan family name and the sub-family/price
|
|
11
|
-
* name are separate columns in the catalog).
|
|
12
|
-
*/
|
|
13
|
-
export interface InvoicingPlanNameOption {
|
|
14
|
-
planName: string;
|
|
15
|
-
subFamilyName: string;
|
|
16
|
-
}
|
|
17
|
-
/** One customer row of the create-invoice customer picker. */
|
|
18
|
-
export interface InvoicingCreateInvoiceCustomerOption {
|
|
19
|
-
id: ID;
|
|
20
|
-
name: string;
|
|
21
|
-
billingAddress?: Address;
|
|
22
|
-
email?: string;
|
|
23
|
-
}
|
|
24
|
-
export interface CreateInvoiceFormView extends SelectorView {
|
|
25
|
-
customers: InvoicingCreateInvoiceCustomerOption[];
|
|
26
|
-
localData: InvoicingCreateInvoiceFormLocalData;
|
|
27
|
-
planNames: InvoicingPlanNameOption[];
|
|
28
|
-
products: InvoicingProduct[];
|
|
29
|
-
savedInvoiceId?: ID;
|
|
30
|
-
settings?: InvoicingSettingsPayload;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Single bundled view for the create-invoice screen — web-ui consumes only this.
|
|
34
|
-
* Carries the form draft (`localData`), the option sources the form needs
|
|
35
|
-
* (customer picker rows, catalog plan names, products, settings), the
|
|
36
|
-
* create-invoice fetch state/error, and the id of the invoice last created
|
|
37
|
-
* (`savedInvoiceId`, to navigate on success).
|
|
38
|
-
*/
|
|
39
|
-
export declare const getCreateInvoiceFormView: (state: RootState) => CreateInvoiceFormView;
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getCreateInvoiceFormView = void 0;
|
|
4
|
-
const addressSelector_1 = require("../../../entity/address/addressSelector");
|
|
5
|
-
const invoicingCatalogListViewSelector_1 = require("../invoicingCatalogListView/invoicingCatalogListViewSelector");
|
|
6
|
-
const invoicingCustomerListViewSelector_1 = require("../invoicingCustomerListView/invoicingCustomerListViewSelector");
|
|
7
|
-
const settingsViewSelector_1 = require("../settingsView/settingsViewSelector");
|
|
8
|
-
/**
|
|
9
|
-
* Display name for a customer option: company, else the full name, else the
|
|
10
|
-
* email, else the raw id.
|
|
11
|
-
*/
|
|
12
|
-
const customerDisplayName = (customer) => {
|
|
13
|
-
const fullName = [customer.firstName, customer.lastName]
|
|
14
|
-
.filter((part) => part != null && part.trim() !== '')
|
|
15
|
-
.join(' ')
|
|
16
|
-
.trim();
|
|
17
|
-
const company = customer.company?.trim() ?? '';
|
|
18
|
-
const email = customer.email?.trim() ?? '';
|
|
19
|
-
return company !== ''
|
|
20
|
-
? company
|
|
21
|
-
: fullName !== ''
|
|
22
|
-
? fullName
|
|
23
|
-
: email !== ''
|
|
24
|
-
? email
|
|
25
|
-
: customer.id;
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* Single bundled view for the create-invoice screen — web-ui consumes only this.
|
|
29
|
-
* Carries the form draft (`localData`), the option sources the form needs
|
|
30
|
-
* (customer picker rows, catalog plan names, products, settings), the
|
|
31
|
-
* create-invoice fetch state/error, and the id of the invoice last created
|
|
32
|
-
* (`savedInvoiceId`, to navigate on success).
|
|
33
|
-
*/
|
|
34
|
-
const getCreateInvoiceFormView = (state) => {
|
|
35
|
-
const createInvoiceState = state.invoicingCreateInvoiceState;
|
|
36
|
-
const catalogListView = (0, invoicingCatalogListViewSelector_1.getInvoicingCatalogListView)(state);
|
|
37
|
-
return {
|
|
38
|
-
customers: (0, invoicingCustomerListViewSelector_1.getInvoicingCustomerListView)(state).customers.map((customer) => ({
|
|
39
|
-
billingAddress: customer.billingAddressId != null
|
|
40
|
-
? (0, addressSelector_1.getAddressByAddressId)(state.addressState, customer.billingAddressId)
|
|
41
|
-
: undefined,
|
|
42
|
-
email: customer.email,
|
|
43
|
-
id: customer.id,
|
|
44
|
-
name: customerDisplayName(customer),
|
|
45
|
-
})),
|
|
46
|
-
localData: createInvoiceState.formDraft,
|
|
47
|
-
planNames: catalogListView.plans.flatMap((plan) => (plan.subFamilies ?? [])
|
|
48
|
-
.filter((subFamily) => (subFamily.name ?? '') !== '')
|
|
49
|
-
.map((subFamily) => ({
|
|
50
|
-
planName: plan.name ?? '',
|
|
51
|
-
subFamilyName: subFamily.name ?? '',
|
|
52
|
-
}))),
|
|
53
|
-
products: (0, invoicingCatalogListViewSelector_1.getInvoicingCatalogPrices)(catalogListView.products),
|
|
54
|
-
savedInvoiceId: createInvoiceState.createdInvoiceId,
|
|
55
|
-
settings: (0, settingsViewSelector_1.getInvoicingSettings)(state),
|
|
56
|
-
fetchState: createInvoiceState.fetchState,
|
|
57
|
-
error: createInvoiceState.error,
|
|
58
|
-
version: 1.0,
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
exports.getCreateInvoiceFormView = getCreateInvoiceFormView;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { Amount } from '../../../commonStateTypes/amount';
|
|
2
|
-
import { FetchedState, ID } from '../../../commonStateTypes/common';
|
|
3
|
-
import { CreateInvoiceRequest } from './createInvoicePayload';
|
|
4
|
-
/**
|
|
5
|
-
* A single line item in the create-invoice form draft. Amounts are USD values
|
|
6
|
-
* (whole units, e.g. dollars) held via the `Amount` interface — never minor
|
|
7
|
-
* units. `quantity` is kept as a raw string to mirror the form's numeric input.
|
|
8
|
-
*/
|
|
9
|
-
export interface InvoicingCreateInvoiceFormLineItem {
|
|
10
|
-
description: string;
|
|
11
|
-
quantity: string;
|
|
12
|
-
taxAmount: Amount;
|
|
13
|
-
unitAmount: Amount;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Draft form state for the create-invoice form. Held in CES so the form flows
|
|
17
|
-
* its data straight from here (camelCase, no snake_case rename in web-c).
|
|
18
|
-
* Create-only, so there is a single draft. `invoiceDate` / `dueDate` are ISO
|
|
19
|
-
* `YYYY-MM-DD` strings; amounts are USD via `Amount` (no cents conversion).
|
|
20
|
-
*/
|
|
21
|
-
export interface InvoicingCreateInvoiceFormLocalData {
|
|
22
|
-
customerId: string;
|
|
23
|
-
invoiceType: 'one_time';
|
|
24
|
-
lineItems: InvoicingCreateInvoiceFormLineItem[];
|
|
25
|
-
memo: string;
|
|
26
|
-
netTermDays: number;
|
|
27
|
-
poNumber: string;
|
|
28
|
-
dueDate?: string;
|
|
29
|
-
invoiceDate?: string;
|
|
30
|
-
}
|
|
31
|
-
export interface CreateInvoiceState extends FetchedState {
|
|
32
|
-
formDraft: InvoicingCreateInvoiceFormLocalData;
|
|
33
|
-
createdInvoiceId?: ID;
|
|
34
|
-
request?: CreateInvoiceRequest;
|
|
35
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { RootState } from '../../../../reducer';
|
|
4
|
-
import { fetchInvoicingCatalogPlanList, fetchInvoicingCatalogProductList } from '../../invoicingCatalogListView/invoicingCatalogListViewReducer';
|
|
5
|
-
import { fetchInvoicingCustomerList } from '../../invoicingCustomerListView/invoicingCustomerListViewReducer';
|
|
6
|
-
import { fetchInvoicingSettings } from '../../settingsView/settingsViewReducer';
|
|
7
|
-
import { fetchCreateInvoiceFormPage } from '../createInvoiceReducer';
|
|
8
|
-
export type ActionType = ReturnType<typeof fetchCreateInvoiceFormPage> | ReturnType<typeof fetchInvoicingCustomerList> | ReturnType<typeof fetchInvoicingCatalogPlanList> | ReturnType<typeof fetchInvoicingCatalogProductList> | ReturnType<typeof fetchInvoicingSettings>;
|
|
9
|
-
/**
|
|
10
|
-
* Orchestrates the create-invoice form's option sources: on
|
|
11
|
-
* `fetchCreateInvoiceFormPage`, fans out to the customer, catalog plan, catalog
|
|
12
|
-
* product and settings fetches, skipping any already cached unless
|
|
13
|
-
* `cacheOverride` is set.
|
|
14
|
-
*/
|
|
15
|
-
export declare const fetchCreateInvoiceFormPageEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>) => Observable<ActionType>;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.fetchCreateInvoiceFormPageEpic = void 0;
|
|
4
|
-
const rxjs_1 = require("rxjs");
|
|
5
|
-
const operators_1 = require("rxjs/operators");
|
|
6
|
-
const invoicingCatalogListViewReducer_1 = require("../../invoicingCatalogListView/invoicingCatalogListViewReducer");
|
|
7
|
-
const invoicingCustomerListViewReducer_1 = require("../../invoicingCustomerListView/invoicingCustomerListViewReducer");
|
|
8
|
-
const settingsViewReducer_1 = require("../../settingsView/settingsViewReducer");
|
|
9
|
-
const createInvoiceReducer_1 = require("../createInvoiceReducer");
|
|
10
|
-
/**
|
|
11
|
-
* Fetch unless the resource is already loaded or in flight — or always when the
|
|
12
|
-
* caller forces a refresh via `cacheOverride` (false on a plain page open, true
|
|
13
|
-
* to force a reload).
|
|
14
|
-
*/
|
|
15
|
-
const shouldFetch = (fetchStateAndError, cacheOverride) => cacheOverride ||
|
|
16
|
-
(fetchStateAndError.fetchState !== 'Completed' &&
|
|
17
|
-
fetchStateAndError.fetchState !== 'In-Progress');
|
|
18
|
-
/**
|
|
19
|
-
* Orchestrates the create-invoice form's option sources: on
|
|
20
|
-
* `fetchCreateInvoiceFormPage`, fans out to the customer, catalog plan, catalog
|
|
21
|
-
* product and settings fetches, skipping any already cached unless
|
|
22
|
-
* `cacheOverride` is set.
|
|
23
|
-
*/
|
|
24
|
-
const fetchCreateInvoiceFormPageEpic = (actions$, state$) => actions$.pipe((0, operators_1.filter)(createInvoiceReducer_1.fetchCreateInvoiceFormPage.match), (0, operators_1.mergeMap)((action) => {
|
|
25
|
-
const { cacheOverride } = action.payload;
|
|
26
|
-
const state = state$.value;
|
|
27
|
-
const customerState = state.invoicingCustomerListViewState;
|
|
28
|
-
const catalogState = state.invoicingCatalogListViewState;
|
|
29
|
-
const settingsState = state.invoicingSettingsViewState;
|
|
30
|
-
const pageActions = [];
|
|
31
|
-
if (shouldFetch({ fetchState: customerState.fetchState, error: customerState.error }, cacheOverride)) {
|
|
32
|
-
pageActions.push((0, invoicingCustomerListViewReducer_1.fetchInvoicingCustomerList)({
|
|
33
|
-
filters: {},
|
|
34
|
-
keepExistingListItems: false,
|
|
35
|
-
}));
|
|
36
|
-
}
|
|
37
|
-
if (shouldFetch({ fetchState: catalogState.fetchState, error: catalogState.error }, cacheOverride)) {
|
|
38
|
-
pageActions.push((0, invoicingCatalogListViewReducer_1.fetchInvoicingCatalogPlanList)({
|
|
39
|
-
filters: { type: 'plan' },
|
|
40
|
-
keepExistingListItems: false,
|
|
41
|
-
}));
|
|
42
|
-
}
|
|
43
|
-
if (shouldFetch(catalogState.productFetchState, cacheOverride)) {
|
|
44
|
-
pageActions.push((0, invoicingCatalogListViewReducer_1.fetchInvoicingCatalogProductList)({
|
|
45
|
-
filters: { type: 'addon|charge' },
|
|
46
|
-
keepExistingListItems: false,
|
|
47
|
-
}));
|
|
48
|
-
}
|
|
49
|
-
if (shouldFetch({ fetchState: settingsState.fetchState, error: settingsState.error }, cacheOverride)) {
|
|
50
|
-
pageActions.push((0, settingsViewReducer_1.fetchInvoicingSettings)());
|
|
51
|
-
}
|
|
52
|
-
return (0, rxjs_1.from)(pageActions);
|
|
53
|
-
}));
|
|
54
|
-
exports.fetchCreateInvoiceFormPageEpic = fetchCreateInvoiceFormPageEpic;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { RootState } from '../../../reducer';
|
|
4
|
-
import { ZeniAPI } from '../../../zeniAPI';
|
|
5
|
-
import { fetchInvoicingCustomerDetail } from '../invoicingCustomerDetailView/invoicingCustomerDetailViewReducer';
|
|
6
|
-
import { createInvoicingSetupIntent, createInvoicingSetupIntentFailure, createInvoicingSetupIntentSuccess, fetchInvoicingPlaidLinkToken, fetchInvoicingPlaidLinkTokenFailure, fetchInvoicingPlaidLinkTokenSuccess, saveInvoicingPaymentMethod, saveInvoicingPaymentMethodFailure, saveInvoicingPaymentMethodSuccess, sendInvoicingPaymentLink, sendInvoicingPaymentLinkFailure, sendInvoicingPaymentLinkSuccess } from './customerPaymentMethodReducer';
|
|
7
|
-
export type ActionType = ReturnType<typeof createInvoicingSetupIntent> | ReturnType<typeof createInvoicingSetupIntentSuccess> | ReturnType<typeof createInvoicingSetupIntentFailure> | ReturnType<typeof fetchInvoicingPlaidLinkToken> | ReturnType<typeof fetchInvoicingPlaidLinkTokenSuccess> | ReturnType<typeof fetchInvoicingPlaidLinkTokenFailure> | ReturnType<typeof saveInvoicingPaymentMethod> | ReturnType<typeof saveInvoicingPaymentMethodSuccess> | ReturnType<typeof saveInvoicingPaymentMethodFailure> | ReturnType<typeof sendInvoicingPaymentLink> | ReturnType<typeof sendInvoicingPaymentLinkSuccess> | ReturnType<typeof sendInvoicingPaymentLinkFailure> | ReturnType<typeof fetchInvoicingCustomerDetail>;
|
|
8
|
-
export declare const createInvoicingSetupIntentEpic: (actions$: ActionsObservable<ActionType>, _state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;
|
|
9
|
-
export declare const fetchInvoicingPlaidLinkTokenEpic: (actions$: ActionsObservable<ActionType>, _state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;
|
|
10
|
-
export declare const saveInvoicingPaymentMethodEpic: (actions$: ActionsObservable<ActionType>, _state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;
|
|
11
|
-
export declare const sendInvoicingPaymentLinkEpic: (actions$: ActionsObservable<ActionType>, _state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.sendInvoicingPaymentLinkEpic = exports.saveInvoicingPaymentMethodEpic = exports.fetchInvoicingPlaidLinkTokenEpic = exports.createInvoicingSetupIntentEpic = void 0;
|
|
4
|
-
const rxjs_1 = require("rxjs");
|
|
5
|
-
const operators_1 = require("rxjs/operators");
|
|
6
|
-
const responsePayload_1 = require("../../../responsePayload");
|
|
7
|
-
const invoicingCustomerDetailViewReducer_1 = require("../invoicingCustomerDetailView/invoicingCustomerDetailViewReducer");
|
|
8
|
-
const customerPaymentMethodReducer_1 = require("./customerPaymentMethodReducer");
|
|
9
|
-
const createInvoicingSetupIntentEpic = (actions$, _state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(customerPaymentMethodReducer_1.createInvoicingSetupIntent.match), (0, operators_1.mergeMap)((action) => {
|
|
10
|
-
const { customerId } = action.payload;
|
|
11
|
-
const apiUrl = `${zeniAPI.apiEndPoints.invoicingMicroServiceBaseUrl}/1.0/customers/${encodeURIComponent(customerId)}/payment-methods/setup-intent`;
|
|
12
|
-
return zeniAPI
|
|
13
|
-
.postAndGetJSON(apiUrl, {})
|
|
14
|
-
.pipe((0, operators_1.switchMap)((response) => {
|
|
15
|
-
if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
|
|
16
|
-
return (0, rxjs_1.of)((0, customerPaymentMethodReducer_1.createInvoicingSetupIntentSuccess)(response.data));
|
|
17
|
-
}
|
|
18
|
-
return (0, rxjs_1.of)((0, customerPaymentMethodReducer_1.createInvoicingSetupIntentFailure)(response.status));
|
|
19
|
-
}), (0, operators_1.catchError)((error) => (0, rxjs_1.of)((0, customerPaymentMethodReducer_1.createInvoicingSetupIntentFailure)((0, responsePayload_1.createZeniAPIStatus)('Unexpected Error', 'Setup intent REST API call errored out ' +
|
|
20
|
-
JSON.stringify(error))))));
|
|
21
|
-
}));
|
|
22
|
-
exports.createInvoicingSetupIntentEpic = createInvoicingSetupIntentEpic;
|
|
23
|
-
const fetchInvoicingPlaidLinkTokenEpic = (actions$, _state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(customerPaymentMethodReducer_1.fetchInvoicingPlaidLinkToken.match), (0, operators_1.switchMap)((action) => {
|
|
24
|
-
const { customerId } = action.payload;
|
|
25
|
-
const apiUrl = `${zeniAPI.apiEndPoints.invoicingMicroServiceBaseUrl}/1.0/plaid/link-token?customer_id=${encodeURIComponent(customerId)}`;
|
|
26
|
-
return zeniAPI.getJSON(apiUrl).pipe((0, operators_1.switchMap)((response) => {
|
|
27
|
-
if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
|
|
28
|
-
return (0, rxjs_1.of)((0, customerPaymentMethodReducer_1.fetchInvoicingPlaidLinkTokenSuccess)(response.data.link_token));
|
|
29
|
-
}
|
|
30
|
-
return (0, rxjs_1.of)((0, customerPaymentMethodReducer_1.fetchInvoicingPlaidLinkTokenFailure)(response.status));
|
|
31
|
-
}), (0, operators_1.catchError)((error) => (0, rxjs_1.of)((0, customerPaymentMethodReducer_1.fetchInvoicingPlaidLinkTokenFailure)((0, responsePayload_1.createZeniAPIStatus)('Unexpected Error', 'Plaid link token REST API call errored out ' +
|
|
32
|
-
JSON.stringify(error))))));
|
|
33
|
-
}));
|
|
34
|
-
exports.fetchInvoicingPlaidLinkTokenEpic = fetchInvoicingPlaidLinkTokenEpic;
|
|
35
|
-
const saveInvoicingPaymentMethodEpic = (actions$, _state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(customerPaymentMethodReducer_1.saveInvoicingPaymentMethod.match), (0, operators_1.mergeMap)((action) => {
|
|
36
|
-
const { customerId, data } = action.payload;
|
|
37
|
-
const apiUrl = `${zeniAPI.apiEndPoints.invoicingMicroServiceBaseUrl}/1.0/customers/${encodeURIComponent(customerId)}/payment-methods`;
|
|
38
|
-
return zeniAPI
|
|
39
|
-
.postAndGetJSON(apiUrl, data)
|
|
40
|
-
.pipe((0, operators_1.mergeMap)((response) => {
|
|
41
|
-
if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
|
|
42
|
-
return [
|
|
43
|
-
(0, customerPaymentMethodReducer_1.saveInvoicingPaymentMethodSuccess)(),
|
|
44
|
-
(0, invoicingCustomerDetailViewReducer_1.fetchInvoicingCustomerDetail)({ id: customerId }),
|
|
45
|
-
];
|
|
46
|
-
}
|
|
47
|
-
return (0, rxjs_1.of)((0, customerPaymentMethodReducer_1.saveInvoicingPaymentMethodFailure)(response.status));
|
|
48
|
-
}), (0, operators_1.catchError)((error) => (0, rxjs_1.of)((0, customerPaymentMethodReducer_1.saveInvoicingPaymentMethodFailure)((0, responsePayload_1.createZeniAPIStatus)('Unexpected Error', 'Save payment method REST API call errored out ' +
|
|
49
|
-
JSON.stringify(error))))));
|
|
50
|
-
}));
|
|
51
|
-
exports.saveInvoicingPaymentMethodEpic = saveInvoicingPaymentMethodEpic;
|
|
52
|
-
const sendInvoicingPaymentLinkEpic = (actions$, _state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(customerPaymentMethodReducer_1.sendInvoicingPaymentLink.match), (0, operators_1.mergeMap)((action) => {
|
|
53
|
-
const { customerId, email } = action.payload;
|
|
54
|
-
const apiUrl = `${zeniAPI.apiEndPoints.invoicingMicroServiceBaseUrl}/1.0/customers/${encodeURIComponent(customerId)}/payment-link`;
|
|
55
|
-
return zeniAPI
|
|
56
|
-
.postAndGetJSON(apiUrl, {
|
|
57
|
-
email,
|
|
58
|
-
})
|
|
59
|
-
.pipe((0, operators_1.switchMap)((response) => {
|
|
60
|
-
if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
|
|
61
|
-
return (0, rxjs_1.of)((0, customerPaymentMethodReducer_1.sendInvoicingPaymentLinkSuccess)({
|
|
62
|
-
email: response.data.email,
|
|
63
|
-
magicLinkUrl: response.data.magic_link_url,
|
|
64
|
-
}));
|
|
65
|
-
}
|
|
66
|
-
return (0, rxjs_1.of)((0, customerPaymentMethodReducer_1.sendInvoicingPaymentLinkFailure)(response.status));
|
|
67
|
-
}), (0, operators_1.catchError)((error) => (0, rxjs_1.of)((0, customerPaymentMethodReducer_1.sendInvoicingPaymentLinkFailure)((0, responsePayload_1.createZeniAPIStatus)('Unexpected Error', 'Send payment link REST API call errored out ' +
|
|
68
|
-
JSON.stringify(error))))));
|
|
69
|
-
}));
|
|
70
|
-
exports.sendInvoicingPaymentLinkEpic = sendInvoicingPaymentLinkEpic;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ZeniAPIResponse } from '../../../responsePayload';
|
|
2
|
-
import { InvoicingSetupIntent } from './customerPaymentMethodState';
|
|
3
|
-
interface PlaidLinkTokenPayload {
|
|
4
|
-
link_token: string;
|
|
5
|
-
}
|
|
6
|
-
interface SavePaymentMethodPayload {
|
|
7
|
-
payment_method_last4: string;
|
|
8
|
-
payment_method_type: string;
|
|
9
|
-
}
|
|
10
|
-
interface SendPaymentLinkPayload {
|
|
11
|
-
email: string;
|
|
12
|
-
magic_link_url: string;
|
|
13
|
-
}
|
|
14
|
-
export type InvoicingSetupIntentResponse = ZeniAPIResponse<InvoicingSetupIntent>;
|
|
15
|
-
export type PlaidLinkTokenResponse = ZeniAPIResponse<PlaidLinkTokenPayload>;
|
|
16
|
-
export type SavePaymentMethodResponse = ZeniAPIResponse<SavePaymentMethodPayload>;
|
|
17
|
-
export type SendPaymentLinkResponse = ZeniAPIResponse<SendPaymentLinkPayload>;
|
|
18
|
-
export {};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ID } from '../../../commonStateTypes/common';
|
|
2
|
-
import { ZeniAPIStatus } from '../../../responsePayload';
|
|
3
|
-
import { InvoicingCustomerPaymentMethodState, InvoicingSetupIntent } from './customerPaymentMethodState';
|
|
4
|
-
export interface CreateInvoicingSetupIntentPayload {
|
|
5
|
-
customerId: ID;
|
|
6
|
-
}
|
|
7
|
-
export interface FetchInvoicingPlaidLinkTokenPayload {
|
|
8
|
-
customerId: ID;
|
|
9
|
-
}
|
|
10
|
-
export interface SaveInvoicingPaymentMethodPayload {
|
|
11
|
-
customerId: ID;
|
|
12
|
-
data: Record<string, unknown>;
|
|
13
|
-
}
|
|
14
|
-
export interface SendInvoicingPaymentLinkPayload {
|
|
15
|
-
customerId: ID;
|
|
16
|
-
email?: string;
|
|
17
|
-
}
|
|
18
|
-
export interface SendInvoicingPaymentLinkSuccessPayload {
|
|
19
|
-
email: string;
|
|
20
|
-
magicLinkUrl: string;
|
|
21
|
-
}
|
|
22
|
-
export declare const initialState: InvoicingCustomerPaymentMethodState;
|
|
23
|
-
export declare const createInvoicingSetupIntent: import("@reduxjs/toolkit").ActionCreatorWithPayload<CreateInvoicingSetupIntentPayload, "invoicingCustomerPaymentMethod/createInvoicingSetupIntent">, createInvoicingSetupIntentSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<InvoicingSetupIntent, "invoicingCustomerPaymentMethod/createInvoicingSetupIntentSuccess">, createInvoicingSetupIntentFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<ZeniAPIStatus<Record<string, unknown>>, "invoicingCustomerPaymentMethod/createInvoicingSetupIntentFailure">, fetchInvoicingPlaidLinkToken: import("@reduxjs/toolkit").ActionCreatorWithPayload<FetchInvoicingPlaidLinkTokenPayload, "invoicingCustomerPaymentMethod/fetchInvoicingPlaidLinkToken">, fetchInvoicingPlaidLinkTokenSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "invoicingCustomerPaymentMethod/fetchInvoicingPlaidLinkTokenSuccess">, fetchInvoicingPlaidLinkTokenFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<ZeniAPIStatus<Record<string, unknown>>, "invoicingCustomerPaymentMethod/fetchInvoicingPlaidLinkTokenFailure">, saveInvoicingPaymentMethod: import("@reduxjs/toolkit").ActionCreatorWithPayload<SaveInvoicingPaymentMethodPayload, "invoicingCustomerPaymentMethod/saveInvoicingPaymentMethod">, saveInvoicingPaymentMethodSuccess: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"invoicingCustomerPaymentMethod/saveInvoicingPaymentMethodSuccess">, saveInvoicingPaymentMethodFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<ZeniAPIStatus<Record<string, unknown>>, "invoicingCustomerPaymentMethod/saveInvoicingPaymentMethodFailure">, sendInvoicingPaymentLink: import("@reduxjs/toolkit").ActionCreatorWithPayload<SendInvoicingPaymentLinkPayload, "invoicingCustomerPaymentMethod/sendInvoicingPaymentLink">, sendInvoicingPaymentLinkSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<SendInvoicingPaymentLinkSuccessPayload, "invoicingCustomerPaymentMethod/sendInvoicingPaymentLinkSuccess">, sendInvoicingPaymentLinkFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<ZeniAPIStatus<Record<string, unknown>>, "invoicingCustomerPaymentMethod/sendInvoicingPaymentLinkFailure">, resetInvoicingCustomerPaymentMethod: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"invoicingCustomerPaymentMethod/resetInvoicingCustomerPaymentMethod">;
|
|
24
|
-
declare const _default: import("redux").Reducer<InvoicingCustomerPaymentMethodState>;
|
|
25
|
-
export default _default;
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var _a;
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.resetInvoicingCustomerPaymentMethod = exports.sendInvoicingPaymentLinkFailure = exports.sendInvoicingPaymentLinkSuccess = exports.sendInvoicingPaymentLink = exports.saveInvoicingPaymentMethodFailure = exports.saveInvoicingPaymentMethodSuccess = exports.saveInvoicingPaymentMethod = exports.fetchInvoicingPlaidLinkTokenFailure = exports.fetchInvoicingPlaidLinkTokenSuccess = exports.fetchInvoicingPlaidLinkToken = exports.createInvoicingSetupIntentFailure = exports.createInvoicingSetupIntentSuccess = exports.createInvoicingSetupIntent = exports.initialState = void 0;
|
|
5
|
-
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
|
-
exports.initialState = {
|
|
7
|
-
fetchState: 'Not-Started',
|
|
8
|
-
error: undefined,
|
|
9
|
-
customerId: undefined,
|
|
10
|
-
plaidLinkToken: undefined,
|
|
11
|
-
plaidTokenFetchState: { fetchState: 'Not-Started', error: undefined },
|
|
12
|
-
saveFetchState: { fetchState: 'Not-Started', error: undefined },
|
|
13
|
-
sendLinkFetchState: { fetchState: 'Not-Started', error: undefined },
|
|
14
|
-
sentLinkEmail: undefined,
|
|
15
|
-
sentLinkMagicUrl: undefined,
|
|
16
|
-
setupIntent: undefined,
|
|
17
|
-
setupIntentFetchState: { fetchState: 'Not-Started', error: undefined },
|
|
18
|
-
hasValidState() {
|
|
19
|
-
return true;
|
|
20
|
-
},
|
|
21
|
-
};
|
|
22
|
-
const customerPaymentMethod = (0, toolkit_1.createSlice)({
|
|
23
|
-
name: 'invoicingCustomerPaymentMethod',
|
|
24
|
-
initialState: exports.initialState,
|
|
25
|
-
reducers: {
|
|
26
|
-
createInvoicingSetupIntent(draft, action) {
|
|
27
|
-
draft.customerId = action.payload.customerId;
|
|
28
|
-
draft.setupIntent = undefined;
|
|
29
|
-
draft.setupIntentFetchState = {
|
|
30
|
-
fetchState: 'In-Progress',
|
|
31
|
-
error: undefined,
|
|
32
|
-
};
|
|
33
|
-
},
|
|
34
|
-
createInvoicingSetupIntentSuccess(draft, action) {
|
|
35
|
-
draft.setupIntent = action.payload;
|
|
36
|
-
draft.setupIntentFetchState = {
|
|
37
|
-
fetchState: 'Completed',
|
|
38
|
-
error: undefined,
|
|
39
|
-
};
|
|
40
|
-
},
|
|
41
|
-
createInvoicingSetupIntentFailure(draft, action) {
|
|
42
|
-
draft.setupIntentFetchState = {
|
|
43
|
-
fetchState: 'Error',
|
|
44
|
-
error: action.payload,
|
|
45
|
-
};
|
|
46
|
-
},
|
|
47
|
-
fetchInvoicingPlaidLinkToken(draft, action) {
|
|
48
|
-
draft.customerId = action.payload.customerId;
|
|
49
|
-
draft.plaidLinkToken = undefined;
|
|
50
|
-
draft.plaidTokenFetchState = {
|
|
51
|
-
fetchState: 'In-Progress',
|
|
52
|
-
error: undefined,
|
|
53
|
-
};
|
|
54
|
-
},
|
|
55
|
-
fetchInvoicingPlaidLinkTokenSuccess(draft, action) {
|
|
56
|
-
draft.plaidLinkToken = action.payload;
|
|
57
|
-
draft.plaidTokenFetchState = { fetchState: 'Completed', error: undefined };
|
|
58
|
-
},
|
|
59
|
-
fetchInvoicingPlaidLinkTokenFailure(draft, action) {
|
|
60
|
-
draft.plaidTokenFetchState = { fetchState: 'Error', error: action.payload };
|
|
61
|
-
},
|
|
62
|
-
saveInvoicingPaymentMethod(draft, action) {
|
|
63
|
-
draft.customerId = action.payload.customerId;
|
|
64
|
-
draft.saveFetchState = { fetchState: 'In-Progress', error: undefined };
|
|
65
|
-
},
|
|
66
|
-
saveInvoicingPaymentMethodSuccess(draft) {
|
|
67
|
-
draft.saveFetchState = { fetchState: 'Completed', error: undefined };
|
|
68
|
-
},
|
|
69
|
-
saveInvoicingPaymentMethodFailure(draft, action) {
|
|
70
|
-
draft.saveFetchState = { fetchState: 'Error', error: action.payload };
|
|
71
|
-
},
|
|
72
|
-
sendInvoicingPaymentLink(draft, action) {
|
|
73
|
-
draft.customerId = action.payload.customerId;
|
|
74
|
-
draft.sentLinkMagicUrl = undefined;
|
|
75
|
-
draft.sendLinkFetchState = { fetchState: 'In-Progress', error: undefined };
|
|
76
|
-
},
|
|
77
|
-
sendInvoicingPaymentLinkSuccess(draft, action) {
|
|
78
|
-
draft.sentLinkEmail = action.payload.email;
|
|
79
|
-
draft.sentLinkMagicUrl = action.payload.magicLinkUrl;
|
|
80
|
-
draft.sendLinkFetchState = { fetchState: 'Completed', error: undefined };
|
|
81
|
-
},
|
|
82
|
-
sendInvoicingPaymentLinkFailure(draft, action) {
|
|
83
|
-
draft.sendLinkFetchState = { fetchState: 'Error', error: action.payload };
|
|
84
|
-
},
|
|
85
|
-
resetInvoicingCustomerPaymentMethod(draft) {
|
|
86
|
-
Object.assign(draft, exports.initialState);
|
|
87
|
-
},
|
|
88
|
-
},
|
|
89
|
-
});
|
|
90
|
-
_a = customerPaymentMethod.actions, exports.createInvoicingSetupIntent = _a.createInvoicingSetupIntent, exports.createInvoicingSetupIntentSuccess = _a.createInvoicingSetupIntentSuccess, exports.createInvoicingSetupIntentFailure = _a.createInvoicingSetupIntentFailure, exports.fetchInvoicingPlaidLinkToken = _a.fetchInvoicingPlaidLinkToken, exports.fetchInvoicingPlaidLinkTokenSuccess = _a.fetchInvoicingPlaidLinkTokenSuccess, exports.fetchInvoicingPlaidLinkTokenFailure = _a.fetchInvoicingPlaidLinkTokenFailure, exports.saveInvoicingPaymentMethod = _a.saveInvoicingPaymentMethod, exports.saveInvoicingPaymentMethodSuccess = _a.saveInvoicingPaymentMethodSuccess, exports.saveInvoicingPaymentMethodFailure = _a.saveInvoicingPaymentMethodFailure, exports.sendInvoicingPaymentLink = _a.sendInvoicingPaymentLink, exports.sendInvoicingPaymentLinkSuccess = _a.sendInvoicingPaymentLinkSuccess, exports.sendInvoicingPaymentLinkFailure = _a.sendInvoicingPaymentLinkFailure, exports.resetInvoicingCustomerPaymentMethod = _a.resetInvoicingCustomerPaymentMethod;
|
|
91
|
-
exports.default = customerPaymentMethod.reducer;
|