@zeniai/client-epic-state 5.1.84 → 5.1.85-betaRD2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/coreEpics.js +1 -2
- package/lib/entity/account/accountReducer.js +6 -0
- package/lib/entity/account/accountState.d.ts +1 -1
- package/lib/entity/accountGroup/accountGroupReducer.js +6 -0
- package/lib/entity/accountRecon/accountReconReducer.js +6 -0
- package/lib/entity/accountRecon/accountReconState.d.ts +1 -1
- package/lib/entity/address/addressReducer.js +6 -0
- package/lib/entity/aiAccountantCustomer/aiAccountantCustomerReducer.js +6 -0
- package/lib/entity/aiAccountantCustomer/aiAccountantCustomerState.d.ts +2 -2
- package/lib/entity/aiCfo/aiCfoReducer.js +8 -0
- package/lib/entity/aiCfo/aiCfoState.d.ts +2 -2
- package/lib/entity/approvalRule/approvalRuleReducer.js +6 -0
- package/lib/entity/bankAccount/bankAccountReducer.js +6 -0
- package/lib/entity/billPay/billTransaction/billTransactionReducer.js +6 -0
- package/lib/entity/billPay/billTransaction/billTransactionState.d.ts +3 -3
- package/lib/entity/billPay/contact/contactReducer.js +6 -0
- package/lib/entity/billPay/recurringBills/recurringBillsReducer.js +6 -0
- package/lib/entity/cardPayment/cardPaymentReducer.js +6 -0
- package/lib/entity/cardPolicy/cardPolicyReducer.js +6 -0
- package/lib/entity/chargeCard/chargeCard.d.ts +2 -2
- package/lib/entity/chargeCard/chargeCardReducer.js +6 -0
- package/lib/entity/chargeCardRepayment/chargeCardRepayment.d.ts +1 -1
- package/lib/entity/chargeCardRepayment/chargeCardRepaymentReducer.js +6 -0
- package/lib/entity/chargeCardTransaction/chargeCardTransactionReducer.js +4 -0
- package/lib/entity/class/classReducer.js +6 -0
- package/lib/entity/company/companyReducer.js +11 -0
- package/lib/entity/companyHealthMetric/companyHealthMetricReducer.js +6 -0
- package/lib/entity/connectedAccount/connectedAccountReducer.js +6 -0
- package/lib/entity/countryList/countryListReducer.js +6 -0
- package/lib/entity/creditAgent/creditAgentReducer.js +6 -0
- package/lib/entity/creditAgent/creditAgentState.d.ts +1 -1
- package/lib/entity/currency/currencyReducer.js +6 -0
- package/lib/entity/customer/customerReducer.js +6 -0
- package/lib/entity/customerIncome/customerIncomeTrendReducer.js +6 -0
- package/lib/entity/customerSatisfaction/customerSatisfactionReducer.js +4 -0
- package/lib/entity/depositAccount/depositAccountReducer.js +8 -0
- package/lib/entity/depositAccountTransaction/depositAccountTransaction.d.ts +1 -1
- package/lib/entity/depositAccountTransaction/depositAccountTransactionReducer.js +6 -0
- package/lib/entity/entityApprovalStatus/entityApprovalStatusReducer.js +6 -0
- package/lib/entity/entityApprovalStatus/entityApprovalStatusState.d.ts +2 -2
- package/lib/entity/file/fileReducer.js +6 -0
- package/lib/entity/forecast/forecastReducer.js +6 -0
- package/lib/entity/genericEntity/entityReducer.js +6 -0
- package/lib/entity/globalMerchant/globalMerchantReducer.js +6 -0
- package/lib/entity/insights/insightReducer.js +6 -0
- package/lib/entity/invoicing/coupon/couponReducer.js +6 -0
- package/lib/entity/invoicing/creditNote/creditNoteReducer.js +6 -0
- package/lib/entity/invoicing/dunningCase/dunningCaseReducer.js +6 -0
- package/lib/entity/invoicing/invoice/invoiceReducer.js +6 -0
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerReducer.js +6 -0
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionReducer.js +6 -0
- package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionReducer.js +6 -0
- package/lib/entity/invoicing/plan/planReducer.js +6 -0
- package/lib/entity/invoicing/product/productReducer.js +6 -0
- package/lib/entity/jeSchedules/jeSchedulesReducer.d.ts +2 -2
- package/lib/entity/jeSchedules/jeSchedulesReducer.js +7 -0
- package/lib/entity/jeSchedules/jeSchedulesTypes.d.ts +3 -3
- package/lib/entity/merchant/merchantReducer.js +6 -0
- package/lib/entity/monthEndCloseChecks/monthEndCloseChecksReducer.js +6 -0
- package/lib/entity/notification/notificationReducer.js +6 -0
- package/lib/entity/notificationRegistry/notificationRegistryReducer.js +14 -0
- package/lib/entity/onboardingCustomer/onboardingCustomerReducer.js +6 -0
- package/lib/entity/paymentAccount/paymentAccountReducer.js +6 -0
- package/lib/entity/paymentInstrument/paymentInstrumentReducer.js +6 -0
- package/lib/entity/portfolio/accountingSummary/accountingSummaryReducer.js +6 -0
- package/lib/entity/project/projectReducer.js +6 -0
- package/lib/entity/reimbursement/reimbursementReducer.js +6 -0
- package/lib/entity/sectionAccountsView/sectionAccountsViewReducer.js +6 -0
- package/lib/entity/sectionClassesViewV2/sectionClassesViewReducer.js +6 -0
- package/lib/entity/sectionProjectView/sectionProjectViewReducer.js +6 -0
- package/lib/entity/snackbar/snackbarReducer.js +6 -0
- package/lib/entity/subscription/subscription/subscriptionReducer.js +6 -0
- package/lib/entity/subscription/subscriptionAddOn/subscriptionAddOnReducer.js +6 -0
- package/lib/entity/subscription/subscriptionCoupon/subscriptionCouponReducer.js +6 -0
- package/lib/entity/subscription/subscriptionPlan/subscriptionPlanReducer.js +6 -0
- package/lib/entity/subscription/subscriptionSummary/subscriptionSummaryReducer.js +6 -0
- package/lib/entity/subscriptionPaymentAccount/subscriptionPaymentAccountReducer.js +6 -0
- package/lib/entity/tag/tagReducer.js +6 -0
- package/lib/entity/task/taskReducer.js +6 -0
- package/lib/entity/task/taskState.d.ts +1 -1
- package/lib/entity/taskGroup/taskGroupReducer.js +6 -0
- package/lib/entity/taskGroupTemplate/taskGroupTemplateReducer.js +6 -0
- package/lib/entity/taskSummary/taskSummaryReducer.js +6 -0
- package/lib/entity/tenant/tenantReducer.d.ts +1 -3
- package/lib/entity/tenant/tenantReducer.js +14 -13
- package/lib/entity/toastNotification/toastNotificationReducer.js +6 -0
- package/lib/entity/transaction/stateTypes/reconciliationTransaction.d.ts +1 -1
- package/lib/entity/transaction/stateTypes/transactionType.d.ts +2 -2
- package/lib/entity/transaction/transactionReducer.js +8 -0
- package/lib/entity/transactionActivityLog/transactionActivityLogReducer.js +6 -0
- package/lib/entity/user/userReducer.js +6 -0
- package/lib/entity/userGroups/userGroupsReducer.js +6 -0
- package/lib/entity/userRole/userRoleReducer.js +6 -0
- package/lib/entity/vendor/vendorReducer.js +6 -0
- package/lib/entity/vendorExpense/vendorExpenseReducer.js +8 -0
- package/lib/epic.d.ts +1 -2
- package/lib/epic.js +1 -2
- package/lib/esm/coreEpics.js +1 -2
- package/lib/esm/entity/account/accountReducer.js +6 -0
- package/lib/esm/entity/accountGroup/accountGroupReducer.js +6 -0
- package/lib/esm/entity/accountRecon/accountReconReducer.js +6 -0
- package/lib/esm/entity/address/addressReducer.js +6 -0
- package/lib/esm/entity/aiAccountantCustomer/aiAccountantCustomerReducer.js +6 -0
- package/lib/esm/entity/aiCfo/aiCfoReducer.js +8 -0
- package/lib/esm/entity/approvalRule/approvalRuleReducer.js +6 -0
- package/lib/esm/entity/bankAccount/bankAccountReducer.js +6 -0
- package/lib/esm/entity/billPay/billTransaction/billTransactionReducer.js +6 -0
- package/lib/esm/entity/billPay/contact/contactReducer.js +6 -0
- package/lib/esm/entity/billPay/recurringBills/recurringBillsReducer.js +6 -0
- package/lib/esm/entity/cardPayment/cardPaymentReducer.js +6 -0
- package/lib/esm/entity/cardPolicy/cardPolicyReducer.js +6 -0
- package/lib/esm/entity/chargeCard/chargeCardReducer.js +6 -0
- package/lib/esm/entity/chargeCardRepayment/chargeCardRepaymentReducer.js +6 -0
- package/lib/esm/entity/chargeCardTransaction/chargeCardTransactionReducer.js +4 -0
- package/lib/esm/entity/class/classReducer.js +6 -0
- package/lib/esm/entity/company/companyReducer.js +11 -0
- package/lib/esm/entity/companyHealthMetric/companyHealthMetricReducer.js +6 -0
- package/lib/esm/entity/connectedAccount/connectedAccountReducer.js +6 -0
- package/lib/esm/entity/countryList/countryListReducer.js +6 -0
- package/lib/esm/entity/creditAgent/creditAgentReducer.js +6 -0
- package/lib/esm/entity/currency/currencyReducer.js +6 -0
- package/lib/esm/entity/customer/customerReducer.js +6 -0
- package/lib/esm/entity/customerIncome/customerIncomeTrendReducer.js +6 -0
- package/lib/esm/entity/customerSatisfaction/customerSatisfactionReducer.js +4 -0
- package/lib/esm/entity/depositAccount/depositAccountReducer.js +8 -0
- package/lib/esm/entity/depositAccountTransaction/depositAccountTransactionReducer.js +6 -0
- package/lib/esm/entity/entityApprovalStatus/entityApprovalStatusReducer.js +6 -0
- package/lib/esm/entity/file/fileReducer.js +6 -0
- package/lib/esm/entity/forecast/forecastReducer.js +6 -0
- package/lib/esm/entity/genericEntity/entityReducer.js +6 -0
- package/lib/esm/entity/globalMerchant/globalMerchantReducer.js +6 -0
- package/lib/esm/entity/insights/insightReducer.js +6 -0
- package/lib/esm/entity/invoicing/coupon/couponReducer.js +6 -0
- package/lib/esm/entity/invoicing/creditNote/creditNoteReducer.js +6 -0
- package/lib/esm/entity/invoicing/dunningCase/dunningCaseReducer.js +6 -0
- package/lib/esm/entity/invoicing/invoice/invoiceReducer.js +6 -0
- package/lib/esm/entity/invoicing/invoicingCustomer/invoicingCustomerReducer.js +6 -0
- package/lib/esm/entity/invoicing/invoicingSubscription/invoicingSubscriptionReducer.js +6 -0
- package/lib/esm/entity/invoicing/invoicingTransaction/invoicingTransactionReducer.js +6 -0
- package/lib/esm/entity/invoicing/plan/planReducer.js +6 -0
- package/lib/esm/entity/invoicing/product/productReducer.js +6 -0
- package/lib/esm/entity/jeSchedules/jeSchedulesReducer.js +7 -0
- package/lib/esm/entity/merchant/merchantReducer.js +6 -0
- package/lib/esm/entity/monthEndCloseChecks/monthEndCloseChecksReducer.js +6 -0
- package/lib/esm/entity/notification/notificationReducer.js +6 -0
- package/lib/esm/entity/notificationRegistry/notificationRegistryReducer.js +14 -0
- package/lib/esm/entity/onboardingCustomer/onboardingCustomerReducer.js +6 -0
- package/lib/esm/entity/paymentAccount/paymentAccountReducer.js +6 -0
- package/lib/esm/entity/paymentInstrument/paymentInstrumentReducer.js +6 -0
- package/lib/esm/entity/portfolio/accountingSummary/accountingSummaryReducer.js +6 -0
- package/lib/esm/entity/project/projectReducer.js +6 -0
- package/lib/esm/entity/reimbursement/reimbursementReducer.js +6 -0
- package/lib/esm/entity/sectionAccountsView/sectionAccountsViewReducer.js +6 -0
- package/lib/esm/entity/sectionClassesViewV2/sectionClassesViewReducer.js +6 -0
- package/lib/esm/entity/sectionProjectView/sectionProjectViewReducer.js +6 -0
- package/lib/esm/entity/snackbar/snackbarReducer.js +6 -0
- package/lib/esm/entity/subscription/subscription/subscriptionReducer.js +6 -0
- package/lib/esm/entity/subscription/subscriptionAddOn/subscriptionAddOnReducer.js +6 -0
- package/lib/esm/entity/subscription/subscriptionCoupon/subscriptionCouponReducer.js +6 -0
- package/lib/esm/entity/subscription/subscriptionPlan/subscriptionPlanReducer.js +6 -0
- package/lib/esm/entity/subscription/subscriptionSummary/subscriptionSummaryReducer.js +6 -0
- package/lib/esm/entity/subscriptionPaymentAccount/subscriptionPaymentAccountReducer.js +6 -0
- package/lib/esm/entity/tag/tagReducer.js +6 -0
- package/lib/esm/entity/task/taskReducer.js +6 -0
- package/lib/esm/entity/taskGroup/taskGroupReducer.js +6 -0
- package/lib/esm/entity/taskGroupTemplate/taskGroupTemplateReducer.js +6 -0
- package/lib/esm/entity/taskSummary/taskSummaryReducer.js +6 -0
- package/lib/esm/entity/tenant/tenantReducer.js +12 -11
- package/lib/esm/entity/toastNotification/toastNotificationReducer.js +6 -0
- package/lib/esm/entity/transaction/transactionReducer.js +8 -0
- package/lib/esm/entity/transactionActivityLog/transactionActivityLogReducer.js +6 -0
- package/lib/esm/entity/user/userReducer.js +6 -0
- package/lib/esm/entity/userGroups/userGroupsReducer.js +6 -0
- package/lib/esm/entity/userRole/userRoleReducer.js +6 -0
- package/lib/esm/entity/vendor/vendorReducer.js +6 -0
- package/lib/esm/entity/vendorExpense/vendorExpenseReducer.js +8 -0
- package/lib/esm/epic.js +1 -2
- package/lib/esm/index.js +2 -1
- package/lib/esm/rootActions.js +18 -0
- package/lib/esm/view/accountList/accountListReducer.js +6 -0
- package/lib/esm/view/accountMappingView/accountMappingReducer.js +6 -0
- package/lib/esm/view/addressView/addressViewReducer.js +6 -0
- package/lib/esm/view/aiAccountantView/aiAccountantViewReducer.js +4 -0
- package/lib/esm/view/aiAgentPerformance/aggregatedReportViewReducer.js +6 -0
- package/lib/esm/view/aiCfoView/aiCfoViewReducer.js +6 -0
- package/lib/esm/view/apAgingView/apAgingDetail/apAgingDetailReducer.js +6 -0
- package/lib/esm/view/apAgingView/apAgingReport/apAgingReducer.js +6 -0
- package/lib/esm/view/arAgingView/arAgingDetail/arAgingDetailReducer.js +6 -0
- package/lib/esm/view/arAgingView/arAgingReport/arAgingReducer.js +6 -0
- package/lib/esm/view/auditReportView/auditReportViewReducer.js +8 -0
- package/lib/esm/view/authenticationView/authenticationViewReducer.js +7 -0
- package/lib/esm/view/autoComplete/entityAutoCompleteReducer.js +7 -0
- package/lib/esm/view/balanceSheet/balanceSheetReducer.js +6 -0
- package/lib/esm/view/bankAccountView/bankAccountViewReducer.js +6 -0
- package/lib/esm/view/billPayCard/billPayCardReducer.js +6 -0
- package/lib/esm/view/cardBalance/cardBalanceReducer.js +6 -0
- package/lib/esm/view/cardPayment/cardPaymentViewReducer.js +6 -0
- package/lib/esm/view/cashBalance/cashBalanceReducer.js +6 -0
- package/lib/esm/view/cashFlow/cashFlowReducer.js +6 -0
- package/lib/esm/view/cashInCashOut/cashInCashOutReducer.js +6 -0
- package/lib/esm/view/cashPosition/cashPositionReducer.js +6 -0
- package/lib/esm/view/classList/classListReducer.js +6 -0
- package/lib/esm/view/commonVendorView/transactionVendorView/transactionVendorViewReducer.js +6 -0
- package/lib/esm/view/commonVendorView/vendorView/vendorViewReducer.js +6 -0
- package/lib/esm/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewReducer.js +6 -0
- package/lib/esm/view/companyConfigView/companyConfigReducer.js +6 -0
- package/lib/esm/view/companyHealthMetricView/companyHealthMetricConfigReducer.js +4 -0
- package/lib/esm/view/companyHealthMetricView/companyHealthMetricViewReducer.js +6 -0
- package/lib/esm/view/companyMonthEndReportView/companyMonthEndReportViewReducer.js +6 -0
- package/lib/esm/view/companyTaskManagerView/companyTaskManagerViewReducer.js +6 -0
- package/lib/esm/view/companyView/companyViewReducer.js +6 -0
- package/lib/esm/view/createTransferEntry/createTransferEntryReducer.js +7 -1
- package/lib/esm/view/creditAgentView/creditAgentViewReducer.js +4 -0
- package/lib/esm/view/dashboard/dashboardReducer.js +4 -0
- package/lib/esm/view/dashboardLayout/dashboardLayoutReducer.js +6 -0
- package/lib/esm/view/expenseAutomationView/expenseAutomationViewReducer.js +9 -0
- package/lib/esm/view/expenseAutomationView/reducers/fluxAnalysisViewReducer.js +6 -0
- package/lib/esm/view/expenseAutomationView/reducers/jeSchedulesViewReducer.js +6 -0
- package/lib/esm/view/expenseAutomationView/reducers/missingReceiptsViewReducer.js +6 -0
- package/lib/esm/view/expenseAutomationView/reducers/reconciliationViewReducer.js +6 -0
- package/lib/esm/view/expenseAutomationView/reducers/transactionsViewReducer.js +6 -0
- package/lib/esm/view/featureNotificationView/featureNotificationViewReducer.js +6 -0
- package/lib/esm/view/fileView/fileViewReducer.js +6 -0
- package/lib/esm/view/financeStatement/financeStatementReducer.js +6 -0
- package/lib/esm/view/forecastList/forecastListReducer.js +6 -0
- package/lib/esm/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewReducer.js +7 -0
- package/lib/esm/view/globalMerchantView/globalMerchantViewReducer.js +6 -0
- package/lib/esm/view/insightsCard/insightsCardReducer.js +6 -0
- package/lib/esm/view/invoicing/auditView/auditViewReducer.js +6 -0
- package/lib/esm/view/invoicing/catalogAction/catalogActionReducer.js +6 -0
- package/lib/esm/view/invoicing/couponView/couponViewReducer.js +6 -0
- package/lib/esm/view/invoicing/createCreditNote/createCreditNoteReducer.js +6 -0
- package/lib/esm/view/invoicing/createInvoice/createInvoiceReducer.js +6 -0
- package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodReducer.js +6 -0
- package/lib/esm/view/invoicing/dataImportAction/dataImportActionReducer.js +6 -0
- package/lib/esm/view/invoicing/dataImportView/dataImportViewReducer.js +13 -0
- package/lib/esm/view/invoicing/discountAction/discountActionReducer.js +6 -0
- package/lib/esm/view/invoicing/dunningAction/dunningActionReducer.js +6 -0
- package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewReducer.js +6 -0
- package/lib/esm/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewReducer.js +6 -0
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer.js +6 -0
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer.js +6 -0
- package/lib/esm/view/invoicing/invoiceAction/invoiceActionReducer.js +6 -0
- package/lib/esm/view/invoicing/invoiceDetail/invoiceDetailReducer.js +6 -0
- package/lib/esm/view/invoicing/invoiceList/invoiceListReducer.js +13 -0
- package/lib/esm/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewReducer.js +6 -0
- package/lib/esm/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewReducer.js +6 -0
- package/lib/esm/view/invoicing/invoicingConfigView/invoicingConfigViewReducer.js +6 -0
- package/lib/esm/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewReducer.js +6 -0
- package/lib/esm/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewReducer.js +6 -0
- package/lib/esm/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewReducer.js +6 -0
- package/lib/esm/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewReducer.js +6 -0
- package/lib/esm/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer.js +6 -0
- package/lib/esm/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewReducer.js +6 -0
- package/lib/esm/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewReducer.js +6 -0
- package/lib/esm/view/invoicing/invoicingOverview/invoicingOverviewReducer.js +6 -0
- package/lib/esm/view/invoicing/invoicingQboView/invoicingQboViewReducer.js +6 -0
- package/lib/esm/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewReducer.js +6 -0
- package/lib/esm/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer.js +6 -0
- package/lib/esm/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewReducer.js +6 -0
- package/lib/esm/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewReducer.js +9 -0
- package/lib/esm/view/invoicing/issueCreditNote/issueCreditNoteReducer.js +6 -0
- package/lib/esm/view/invoicing/paymentAction/paymentActionReducer.js +6 -0
- package/lib/esm/view/invoicing/promotionalCreditAction/promotionalCreditActionReducer.js +6 -0
- package/lib/esm/view/invoicing/recordPayment/recordPaymentReducer.js +6 -0
- package/lib/esm/view/invoicing/settingsView/settingsViewReducer.js +6 -0
- package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionReducer.js +6 -0
- package/lib/esm/view/monthEndCloseChecksView/monthEndCloseChecksViewReducer.js +6 -0
- package/lib/esm/view/netBurnOrIncome/netBurnOrIncomeReducer.js +6 -0
- package/lib/esm/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewReducer.js +6 -0
- package/lib/esm/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewReducer.js +6 -0
- package/lib/esm/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardReducer.js +6 -0
- package/lib/esm/view/notificationPreferencesView/notificationPreferencesViewReducer.js +25 -0
- package/lib/esm/view/notificationView/notificationViewReducer.js +6 -0
- package/lib/esm/view/onboardingView/cockpitView/onboardingCockpitViewReducer.js +6 -0
- package/lib/esm/view/onboardingView/customerView/onboardingCustomerViewReducer.js +4 -0
- package/lib/esm/view/opEx/opExReducer.js +6 -0
- package/lib/esm/view/opExByVendor/opExByVendorReducer.js +6 -0
- package/lib/esm/view/opExClassesView/opExClassesViewReducer.js +6 -0
- package/lib/esm/view/opExProjectView/opExProjectViewReducer.js +6 -0
- package/lib/esm/view/ownerList/ownerListReducer.js +6 -0
- package/lib/esm/view/people/peopleReducer.js +6 -0
- package/lib/esm/view/profitAndLoss/profitAndLossReducer.js +6 -0
- package/lib/esm/view/profitAndLossClassesView/profitAndLossClassesViewReducer.js +6 -0
- package/lib/esm/view/profitAndLossProjectView/profitAndLossProjectViewReducer.js +6 -0
- package/lib/esm/view/projectList/projectListReducer.js +6 -0
- package/lib/esm/view/recommendation/recommendationReducer.js +6 -0
- package/lib/esm/view/referralView/referralReducer.js +6 -0
- package/lib/esm/view/reimbursementCard/reimbursementCardReducer.js +6 -0
- package/lib/esm/view/reportUIOptions/reportUIOptionsReducer.js +6 -0
- package/lib/esm/view/reportsResync/reportsResyncReducer.js +6 -0
- package/lib/esm/view/revenue/revenueReducer.js +6 -0
- package/lib/esm/view/revenueClassesView/revenueClassesViewReducer.js +6 -0
- package/lib/esm/view/revenueProjectView/revenueProjectViewReducer.js +6 -0
- package/lib/esm/view/reviewCompanyView/reviewCompanyViewReducer.js +6 -0
- package/lib/esm/view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailReducer.js +6 -0
- package/lib/esm/view/scheduleView/scheduleDetailView/scheduleDetailReducer.js +6 -0
- package/lib/esm/view/scheduleView/scheduleListView/scheduleListReducer.js +6 -0
- package/lib/esm/view/settingsView/settingsViewReducer.js +6 -0
- package/lib/esm/view/spendManagement/autotransferRules/autoTransferRulesReducer.js +6 -0
- package/lib/esm/view/spendManagement/billPay/billDetailView/billDetailViewReducer.js +6 -0
- package/lib/esm/view/spendManagement/billPay/billList/billListReducer.js +6 -0
- package/lib/esm/view/spendManagement/billPay/billPayConfig/billPayConfigReducer.js +6 -0
- package/lib/esm/view/spendManagement/billPay/billPayReview/billPayReviewReducer.js +6 -0
- package/lib/esm/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewReducer.js +6 -0
- package/lib/esm/view/spendManagement/billPay/billPaySetupView/billPaySetupViewReducer.js +6 -0
- package/lib/esm/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewReducer.js +6 -0
- package/lib/esm/view/spendManagement/billPay/editBillView/editBillViewReducer.js +6 -0
- package/lib/esm/view/spendManagement/billPay/internationalWire/internationalWireReducer.js +6 -0
- package/lib/esm/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationReducer.js +6 -0
- package/lib/esm/view/spendManagement/billPay/magicLinkView/magicLinkViewReducer.js +6 -0
- package/lib/esm/view/spendManagement/billPay/previousBills/previousBillsReducer.js +6 -0
- package/lib/esm/view/spendManagement/billPay/wiseRedirectView/wiseRedirectReducer.js +6 -0
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/cardPolicyDetailReducer.js +6 -0
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/cardPolicyListReducer.js +6 -0
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicyReducer.js +6 -0
- package/lib/esm/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingReducer.js +6 -0
- package/lib/esm/view/spendManagement/chargeCards/cashbackDetail/cashbackDetailReducer.js +6 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigReducer.js +6 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer.js +4 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.js +6 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryReducer.js +6 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailReducer.js +6 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewReducer.js +6 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardStatementList/chargeCardStatementListReducer.js +6 -0
- package/lib/esm/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer.js +6 -0
- package/lib/esm/view/spendManagement/commonHistoryView/commonHistoryReducer.js +6 -0
- package/lib/esm/view/spendManagement/commonSetup/setupViewReducer.js +4 -0
- package/lib/esm/view/spendManagement/merchantList/merchantListReducer.js +6 -0
- package/lib/esm/view/spendManagement/plaidAccount/plaidAccountViewReducer.js +6 -0
- package/lib/esm/view/spendManagement/realTimeApprovalView/realTimeApprovalReducer.js +6 -0
- package/lib/esm/view/spendManagement/reimbursement/editRemiView/editRemiViewReducer.js +6 -0
- package/lib/esm/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigReducer.js +6 -0
- package/lib/esm/view/spendManagement/reimbursement/remiDetailView/remiDetailViewReducer.js +6 -0
- package/lib/esm/view/spendManagement/reimbursement/remiListView/remiListReducer.js +6 -0
- package/lib/esm/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewReducer.js +6 -0
- package/lib/esm/view/spendManagement/reimbursement/remiSetupView/remiSetupViewReducer.js +6 -0
- package/lib/esm/view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewReducer.js +6 -0
- package/lib/esm/view/spendManagement/treasury/treasuryList/treasuryDetailReducer.js +6 -0
- package/lib/esm/view/spendManagement/treasury/treasurySetUp/treasurySetupViewReducer.js +6 -0
- package/lib/esm/view/spendManagement/treasury/treasuryStatementList/treasuryStatementListReducer.js +6 -0
- package/lib/esm/view/spendManagement/treasury/treasuryTaxLetterList/treasuryTaxLetterListReducer.js +6 -0
- package/lib/esm/view/spendManagement/treasury/treasuryTransferMoney/treasuryTransferMoneyReducer.js +6 -0
- package/lib/esm/view/spendManagement/zeniAccounts/checkDeposit/checkDepositReducer.js +6 -0
- package/lib/esm/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailReducer.js +6 -0
- package/lib/esm/view/spendManagement/zeniAccounts/depositAccountList/depositAccountListReducer.js +6 -0
- package/lib/esm/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListReducer.js +6 -0
- package/lib/esm/view/spendManagement/zeniAccounts/expressPay/expressPayReducer.js +6 -0
- package/lib/esm/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListReducer.js +6 -0
- package/lib/esm/view/spendManagement/zeniAccounts/transferDetail/transferDetailReducer.js +6 -0
- package/lib/esm/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListReducer.js +6 -0
- package/lib/esm/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewReducer.js +6 -0
- package/lib/esm/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigReducer.js +6 -0
- package/lib/esm/view/subscriptionView/subscriptionViewReducer.js +6 -0
- package/lib/esm/view/tagView/tagViewReducer.js +6 -0
- package/lib/esm/view/taskManager/cannedResponsesView/cannedResponsesReducer.js +4 -0
- package/lib/esm/view/taskManager/taskDetailView/taskDetailReducer.js +6 -0
- package/lib/esm/view/taskManager/taskGroupTemplateView/taskGroupTemplateViewReducer.js +6 -0
- package/lib/esm/view/taskManager/taskGroupView/taskGroupViewReducer.js +6 -0
- package/lib/esm/view/taskManager/taskListView/taskListReducer.js +4 -0
- package/lib/esm/view/tasksCard/tasksCardReducer.js +6 -0
- package/lib/esm/view/topEx/topExReducer.js +6 -0
- package/lib/esm/view/transactionActivityLogView/transactionActivityLogViewReducer.js +6 -0
- package/lib/esm/view/transactionDetail/transactionDetailReducer.js +6 -0
- package/lib/esm/view/transactionList/transactionListReducer.js +6 -0
- package/lib/esm/view/trend/trendReducer.js +6 -0
- package/lib/esm/view/trendWithTransactions/trendWithTransactionsReducer.js +6 -0
- package/lib/esm/view/twoFactorAuthentication/twoFactorAuthenticationReducer.js +6 -0
- package/lib/esm/view/userFinancialAccount/userFinancialAccountReducer.js +6 -0
- package/lib/esm/view/userGroupListView/userGroupListViewReducer.js +6 -0
- package/lib/esm/view/userListView/userListViewReducer.js +6 -0
- package/lib/esm/view/userRoleConfigView/userRoleConfigReducer.js +6 -0
- package/lib/esm/view/vendor1099TypeList/vendor1099TypeListReducer.js +6 -0
- package/lib/esm/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListReducer.js +6 -0
- package/lib/esm/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsReducer.js +4 -0
- package/lib/esm/view/vendorList/vendorListReducer.js +6 -0
- package/lib/esm/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewReducer.js +6 -0
- package/lib/esm/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewReducer.js +6 -0
- package/lib/esm/view/vendorTabView/vendorTabViewReducer.js +6 -0
- package/lib/esm/view/vendorTypeList/vendorTypeListReducer.js +6 -0
- package/lib/esm/view/zeniAccStatementList/zeniAccStatementListReducer.js +6 -0
- package/lib/esm/view/zeniAccountsPromoCard/zeniAccountsPromoCardReducer.js +6 -0
- package/lib/esm/view/zeniOAuthView/zeniOAuthReducer.js +4 -0
- package/lib/index.d.ts +2 -1
- package/lib/index.js +2 -1
- package/lib/rootActions.d.ts +17 -0
- package/lib/rootActions.js +21 -0
- package/lib/view/accountList/accountListReducer.js +6 -0
- package/lib/view/accountMappingView/accountMappingReducer.js +6 -0
- package/lib/view/addressView/addressViewReducer.js +6 -0
- package/lib/view/aiAccountantView/aiAccountantViewReducer.js +4 -0
- package/lib/view/aiAgentPerformance/aggregatedReportViewReducer.js +6 -0
- package/lib/view/aiCfoView/aiCfoViewReducer.js +6 -0
- package/lib/view/apAgingView/apAgingDetail/apAgingDetailReducer.js +6 -0
- package/lib/view/apAgingView/apAgingReport/apAgingReducer.js +6 -0
- package/lib/view/arAgingView/arAgingDetail/arAgingDetailReducer.js +6 -0
- package/lib/view/arAgingView/arAgingReport/arAgingReducer.js +6 -0
- package/lib/view/auditReportView/auditReportViewReducer.js +8 -0
- package/lib/view/authenticationView/authenticationViewReducer.js +7 -0
- package/lib/view/autoComplete/entityAutoCompleteReducer.js +7 -0
- package/lib/view/balanceSheet/balanceSheetReducer.js +6 -0
- package/lib/view/bankAccountView/bankAccountViewReducer.js +6 -0
- package/lib/view/billPayCard/billPayCardReducer.js +6 -0
- package/lib/view/cardBalance/cardBalanceReducer.js +6 -0
- package/lib/view/cardPayment/cardPaymentViewReducer.js +6 -0
- package/lib/view/cashBalance/cashBalanceReducer.js +6 -0
- package/lib/view/cashFlow/cashFlowReducer.js +6 -0
- package/lib/view/cashInCashOut/cashInCashOutReducer.js +6 -0
- package/lib/view/cashPosition/cashPositionReducer.js +6 -0
- package/lib/view/classList/classListReducer.js +6 -0
- package/lib/view/common/recurringViewHelper.d.ts +2 -2
- package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewReducer.js +6 -0
- package/lib/view/commonVendorView/vendorView/vendorViewReducer.js +6 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewReducer.js +6 -0
- package/lib/view/companyConfigView/companyConfigReducer.js +6 -0
- package/lib/view/companyHealthMetricView/companyHealthMetricConfigReducer.js +4 -0
- package/lib/view/companyHealthMetricView/companyHealthMetricViewReducer.js +6 -0
- package/lib/view/companyMonthEndReportView/companyMonthEndReportViewReducer.js +6 -0
- package/lib/view/companyTaskManagerView/companyTaskManagerViewReducer.d.ts +2 -2
- package/lib/view/companyTaskManagerView/companyTaskManagerViewReducer.js +6 -0
- package/lib/view/companyView/companyViewReducer.js +6 -0
- package/lib/view/companyView/types/cockpitTypes.d.ts +3 -3
- package/lib/view/createTransferEntry/createTransferEntryReducer.js +7 -1
- package/lib/view/creditAgentView/creditAgentViewReducer.js +4 -0
- package/lib/view/dashboard/dashboardReducer.js +4 -0
- package/lib/view/dashboardLayout/dashboardLayoutReducer.js +6 -0
- package/lib/view/expenseAutomationView/expenseAutomationViewReducer.js +9 -0
- package/lib/view/expenseAutomationView/reducers/fluxAnalysisViewReducer.js +6 -0
- package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.d.ts +11 -11
- package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.js +6 -0
- package/lib/view/expenseAutomationView/reducers/missingReceiptsViewReducer.js +6 -0
- package/lib/view/expenseAutomationView/reducers/reconciliationViewReducer.js +6 -0
- package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.js +6 -0
- package/lib/view/expenseAutomationView/types/jeSchedulesViewState.d.ts +1 -1
- package/lib/view/expenseAutomationView/types/missingReceiptsViewState.d.ts +3 -3
- package/lib/view/expenseAutomationView/types/reconciliationViewState.d.ts +2 -2
- package/lib/view/expenseAutomationView/types/transactionsViewState.d.ts +2 -2
- package/lib/view/featureNotificationView/featureNotificationViewReducer.js +6 -0
- package/lib/view/fileView/fileViewReducer.js +6 -0
- package/lib/view/financeStatement/financeStatementReducer.js +6 -0
- package/lib/view/forecastList/forecastListReducer.js +6 -0
- package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewReducer.js +7 -0
- package/lib/view/globalMerchantView/globalMerchantViewReducer.js +6 -0
- package/lib/view/insightsCard/insightsCardReducer.js +6 -0
- package/lib/view/invoicing/auditView/auditViewReducer.js +6 -0
- package/lib/view/invoicing/catalogAction/catalogActionReducer.js +6 -0
- package/lib/view/invoicing/couponView/couponViewReducer.js +6 -0
- package/lib/view/invoicing/createCreditNote/createCreditNoteReducer.js +6 -0
- package/lib/view/invoicing/createInvoice/createInvoiceReducer.js +6 -0
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodReducer.js +6 -0
- package/lib/view/invoicing/dataImportAction/dataImportActionReducer.js +6 -0
- package/lib/view/invoicing/dataImportView/dataImportViewReducer.js +13 -0
- package/lib/view/invoicing/discountAction/discountActionReducer.js +6 -0
- package/lib/view/invoicing/dunningAction/dunningActionReducer.js +6 -0
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewReducer.js +6 -0
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewReducer.js +6 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer.js +6 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer.js +6 -0
- package/lib/view/invoicing/invoiceAction/invoiceActionReducer.js +6 -0
- package/lib/view/invoicing/invoiceDetail/invoiceDetailReducer.js +6 -0
- package/lib/view/invoicing/invoiceList/invoiceListReducer.js +13 -0
- package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewReducer.js +6 -0
- package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewReducer.js +6 -0
- package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewState.d.ts +1 -1
- package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewReducer.js +6 -0
- package/lib/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewReducer.js +6 -0
- package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewReducer.js +6 -0
- package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewReducer.js +6 -0
- package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewState.d.ts +1 -1
- package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewReducer.js +6 -0
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer.js +6 -0
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewState.d.ts +1 -1
- package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewReducer.js +6 -0
- package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewReducer.js +6 -0
- package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewState.d.ts +1 -1
- package/lib/view/invoicing/invoicingOverview/invoicingOverviewReducer.js +6 -0
- package/lib/view/invoicing/invoicingQboView/invoicingQboViewReducer.js +6 -0
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewReducer.js +6 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer.d.ts +1 -1
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer.js +6 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewState.d.ts +1 -1
- package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewReducer.js +6 -0
- package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewReducer.js +9 -0
- package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewState.d.ts +1 -1
- package/lib/view/invoicing/issueCreditNote/issueCreditNoteReducer.js +6 -0
- package/lib/view/invoicing/paymentAction/paymentActionReducer.js +6 -0
- package/lib/view/invoicing/promotionalCreditAction/promotionalCreditActionReducer.js +6 -0
- package/lib/view/invoicing/recordPayment/recordPaymentReducer.js +6 -0
- package/lib/view/invoicing/settingsView/settingsViewReducer.js +6 -0
- package/lib/view/invoicing/subscriptionAction/subscriptionActionReducer.js +6 -0
- package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewReducer.js +6 -0
- package/lib/view/netBurnOrIncome/netBurnOrIncomeReducer.js +6 -0
- package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewReducer.js +6 -0
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewReducer.js +6 -0
- package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardReducer.js +6 -0
- package/lib/view/notificationPreferencesView/epics/saveNotificationPreferencesEpic.d.ts +3 -3
- package/lib/view/notificationPreferencesView/notificationPreferencesViewReducer.js +25 -0
- package/lib/view/notificationView/notificationViewReducer.d.ts +4 -4
- package/lib/view/notificationView/notificationViewReducer.js +6 -0
- package/lib/view/notificationView/notificationViewState.d.ts +2 -2
- package/lib/view/onboardingView/cockpitView/onboardingCockpitViewReducer.js +6 -0
- package/lib/view/onboardingView/customerView/onboardingCustomerViewReducer.js +4 -0
- package/lib/view/opEx/opExReducer.js +6 -0
- package/lib/view/opExByVendor/opExByVendorReducer.js +6 -0
- package/lib/view/opExByVendor/opExByVendorState.d.ts +1 -1
- package/lib/view/opExClassesView/opExClassesViewReducer.js +6 -0
- package/lib/view/opExProjectView/opExProjectViewReducer.js +6 -0
- package/lib/view/ownerList/ownerListReducer.js +6 -0
- package/lib/view/people/peopleReducer.js +6 -0
- package/lib/view/profitAndLoss/profitAndLossReducer.js +6 -0
- package/lib/view/profitAndLossClassesView/profitAndLossClassesViewReducer.js +6 -0
- package/lib/view/profitAndLossProjectView/profitAndLossProjectViewReducer.js +6 -0
- package/lib/view/projectList/projectListReducer.js +6 -0
- package/lib/view/recommendation/recommendationReducer.js +6 -0
- package/lib/view/referralView/referralReducer.js +6 -0
- package/lib/view/referralView/referralState.d.ts +1 -1
- package/lib/view/reimbursementCard/reimbursementCardReducer.js +6 -0
- package/lib/view/reportUIOptions/reportUIOptionsReducer.js +6 -0
- package/lib/view/reportsResync/reportsResyncReducer.js +6 -0
- package/lib/view/revenue/revenueReducer.js +6 -0
- package/lib/view/revenueClassesView/revenueClassesViewReducer.js +6 -0
- package/lib/view/revenueProjectView/revenueProjectViewReducer.js +6 -0
- package/lib/view/reviewCompanyView/reviewCompanyViewReducer.js +6 -0
- package/lib/view/reviewCompanyView/reviewCompanyViewState.d.ts +1 -1
- package/lib/view/scheduleView/scheduleAccruedDetailView/LinkBillExpenseView/linkBillExpense.d.ts +1 -1
- package/lib/view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailReducer.js +6 -0
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailReducer.d.ts +4 -4
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailReducer.js +6 -0
- package/lib/view/scheduleView/scheduleListView/scheduleListReducer.js +6 -0
- package/lib/view/scheduleView/scheduleListView/scheduleListTypes.d.ts +1 -1
- package/lib/view/settingsView/settingsViewReducer.js +6 -0
- package/lib/view/settingsView/settingsViewState.d.ts +1 -1
- package/lib/view/spendManagement/autotransferRules/autoTransferRulesReducer.js +6 -0
- package/lib/view/spendManagement/billPay/billDetailView/billDetailViewReducer.js +6 -0
- package/lib/view/spendManagement/billPay/billList/billListReducer.d.ts +1 -1
- package/lib/view/spendManagement/billPay/billList/billListReducer.js +6 -0
- package/lib/view/spendManagement/billPay/billList/billListState.d.ts +2 -2
- package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigReducer.js +6 -0
- package/lib/view/spendManagement/billPay/billPayReview/billPayReviewReducer.js +6 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewReducer.js +6 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewReducer.js +6 -0
- package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewReducer.js +6 -0
- package/lib/view/spendManagement/billPay/editBillView/editBillViewReducer.js +6 -0
- package/lib/view/spendManagement/billPay/internationalWire/internationalWireReducer.js +6 -0
- package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationReducer.js +6 -0
- package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewReducer.js +6 -0
- package/lib/view/spendManagement/billPay/previousBills/previousBillsReducer.js +6 -0
- package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectReducer.js +6 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/cardPolicyDetailReducer.js +6 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/cardPolicyListReducer.js +6 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicyReducer.js +6 -0
- package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingReducer.js +6 -0
- package/lib/view/spendManagement/chargeCards/cashbackDetail/cashbackDetailReducer.js +6 -0
- package/lib/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigReducer.js +6 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.d.ts +1 -1
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer.js +4 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.d.ts +1 -1
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.js +6 -0
- package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryReducer.js +6 -0
- package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailReducer.js +6 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewReducer.js +6 -0
- package/lib/view/spendManagement/chargeCards/chargeCardStatementList/chargeCardStatementListReducer.js +6 -0
- package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer.js +6 -0
- package/lib/view/spendManagement/commonHistoryView/commonHistoryReducer.js +6 -0
- package/lib/view/spendManagement/commonSetup/setupViewReducer.js +4 -0
- package/lib/view/spendManagement/merchantList/merchantListReducer.js +6 -0
- package/lib/view/spendManagement/plaidAccount/plaidAccountViewReducer.js +6 -0
- package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalReducer.js +6 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewReducer.js +6 -0
- package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigReducer.js +6 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewReducer.js +6 -0
- package/lib/view/spendManagement/reimbursement/remiListView/remiListReducer.d.ts +1 -1
- package/lib/view/spendManagement/reimbursement/remiListView/remiListReducer.js +6 -0
- package/lib/view/spendManagement/reimbursement/remiListView/remiListState.d.ts +4 -4
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewReducer.js +6 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewReducer.js +6 -0
- package/lib/view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewReducer.js +6 -0
- package/lib/view/spendManagement/treasury/treasuryList/treasuryDetailReducer.js +6 -0
- package/lib/view/spendManagement/treasury/treasurySetUp/treasurySetupViewReducer.js +6 -0
- package/lib/view/spendManagement/treasury/treasuryStatementList/treasuryStatementListReducer.js +6 -0
- package/lib/view/spendManagement/treasury/treasuryTaxLetterList/treasuryTaxLetterListReducer.js +6 -0
- package/lib/view/spendManagement/treasury/treasuryTransferMoney/treasuryTransferMoneyReducer.js +6 -0
- package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositReducer.js +6 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailReducer.js +6 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountList/depositAccountListReducer.js +6 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListReducer.js +6 -0
- package/lib/view/spendManagement/zeniAccounts/expressPay/expressPayReducer.js +6 -0
- package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListReducer.js +6 -0
- package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailReducer.js +6 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListReducer.js +6 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewReducer.js +6 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigReducer.js +6 -0
- package/lib/view/subscriptionView/subscriptionViewReducer.js +6 -0
- package/lib/view/tagView/tagViewReducer.js +6 -0
- package/lib/view/taskManager/cannedResponsesView/cannedResponsesReducer.js +4 -0
- package/lib/view/taskManager/taskDetailView/taskDetailReducer.js +6 -0
- package/lib/view/taskManager/taskGroupTemplateView/taskGroupTemplateViewReducer.js +6 -0
- package/lib/view/taskManager/taskGroupView/taskGroupViewReducer.js +6 -0
- package/lib/view/taskManager/taskListView/taskList.d.ts +3 -3
- package/lib/view/taskManager/taskListView/taskListReducer.js +4 -0
- package/lib/view/tasksCard/tasksCardReducer.js +6 -0
- package/lib/view/topEx/topExReducer.js +6 -0
- package/lib/view/transactionActivityLogView/transactionActivityLogViewReducer.js +6 -0
- package/lib/view/transactionDetail/journalEntryLinesViewModel.d.ts +1 -1
- package/lib/view/transactionDetail/transactionDetailReducer.js +6 -0
- package/lib/view/transactionDetail/transactionDetailState.d.ts +2 -2
- package/lib/view/transactionList/transactionListReducer.js +6 -0
- package/lib/view/trend/trendReducer.js +6 -0
- package/lib/view/trendWithTransactions/trendWithTransactionsReducer.js +6 -0
- package/lib/view/twoFactorAuthentication/twoFactorAuthenticationReducer.js +6 -0
- package/lib/view/userFinancialAccount/userFinancialAccountReducer.js +6 -0
- package/lib/view/userGroupListView/userGroupListViewReducer.js +6 -0
- package/lib/view/userListView/userListViewReducer.js +6 -0
- package/lib/view/userRoleConfigView/userRoleConfigReducer.js +6 -0
- package/lib/view/vendor1099TypeList/vendor1099TypeListReducer.js +6 -0
- package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListReducer.js +6 -0
- package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsReducer.js +4 -0
- package/lib/view/vendorList/vendorListReducer.js +6 -0
- package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewReducer.js +6 -0
- package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewReducer.js +6 -0
- package/lib/view/vendorTabView/vendorTabViewReducer.js +6 -0
- package/lib/view/vendorTypeList/vendorTypeListReducer.js +6 -0
- package/lib/view/zeniAccStatementList/zeniAccStatementListReducer.js +6 -0
- package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardReducer.js +6 -0
- package/lib/view/zeniOAuthView/zeniOAuthReducer.js +4 -0
- package/package.json +1 -1
- package/lib/entity/tenant/clearAllEpic.d.ts +0 -287
- package/lib/entity/tenant/clearAllEpic.js +0 -584
- package/lib/esm/entity/tenant/clearAllEpic.js +0 -580
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
export const initialState = {
|
|
3
4
|
byId: {},
|
|
4
5
|
};
|
|
@@ -50,6 +51,11 @@ const catalogAction = createSlice({
|
|
|
50
51
|
draft.byId = {};
|
|
51
52
|
},
|
|
52
53
|
},
|
|
54
|
+
extraReducers: (builder) => {
|
|
55
|
+
builder.addCase(clearAll, (draft) => {
|
|
56
|
+
draft.byId = {};
|
|
57
|
+
});
|
|
58
|
+
},
|
|
53
59
|
});
|
|
54
60
|
export const { runInvoicingCatalogPlanAction, runInvoicingCatalogPlanActionSuccess, runInvoicingCatalogPlanActionFailure, runInvoicingCatalogProductAction, runInvoicingCatalogProductActionSuccess, runInvoicingCatalogProductActionFailure, clearInvoicingCatalogAction, clearAllInvoicingCatalogActions, } = catalogAction.actions;
|
|
55
61
|
export default catalogAction.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
// The discounts-list tabs look up counts by tab id ('active' / 'inactive'),
|
|
3
4
|
// while a coupon's status is 'active' | 'expired' | 'archived'. Collapse the
|
|
4
5
|
// non-active statuses onto the 'inactive' tab; a newly created coupon with no
|
|
@@ -110,6 +111,11 @@ const couponView = createSlice({
|
|
|
110
111
|
Object.assign(draft, initialState);
|
|
111
112
|
},
|
|
112
113
|
},
|
|
114
|
+
extraReducers: (builder) => {
|
|
115
|
+
builder.addCase(clearAll, (draft) => {
|
|
116
|
+
Object.assign(draft, initialState);
|
|
117
|
+
});
|
|
118
|
+
},
|
|
113
119
|
});
|
|
114
120
|
export const { fetchInvoicingCouponList, fetchInvoicingCouponListPage, updateInvoicingCouponList, updateInvoicingCouponListFailure, fetchInvoicingCouponCounts, updateInvoicingCouponCounts, updateInvoicingCouponCountsFailure, updateInvoicingCouponFilters, setInvoicingCouponActiveTab, addInvoicingCouponToList, clearInvoicingCouponView, } = couponView.actions;
|
|
115
121
|
export default couponView.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
import { initialCreateCreditNoteFormLocalData } from './createCreditNoteFormConfig';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
draft: initialCreateCreditNoteFormLocalData(),
|
|
@@ -37,6 +38,11 @@ const createCreditNoteSlice = createSlice({
|
|
|
37
38
|
draft.createdCreditNoteId = undefined;
|
|
38
39
|
},
|
|
39
40
|
},
|
|
41
|
+
extraReducers: (builder) => {
|
|
42
|
+
builder.addCase(clearAll, (draft) => {
|
|
43
|
+
Object.assign(draft, initialState);
|
|
44
|
+
});
|
|
45
|
+
},
|
|
40
46
|
});
|
|
41
47
|
export const { createCreditNoteFailure, createCreditNoteSuccess, resetCreateCreditNote, submitCreateCreditNote, updateCreateCreditNoteFormDraft, } = createCreditNoteSlice.actions;
|
|
42
48
|
export default createCreditNoteSlice.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
import { initialInvoicingCreateInvoiceFormLocalData } from './createInvoiceFormConfig';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
fetchState: 'Not-Started',
|
|
@@ -50,6 +51,11 @@ const createInvoiceSlice = createSlice({
|
|
|
50
51
|
Object.assign(draft, initialState);
|
|
51
52
|
},
|
|
52
53
|
},
|
|
54
|
+
extraReducers: (builder) => {
|
|
55
|
+
builder.addCase(clearAll, (draft) => {
|
|
56
|
+
Object.assign(draft, initialState);
|
|
57
|
+
});
|
|
58
|
+
},
|
|
53
59
|
});
|
|
54
60
|
export const { createInvoice, createInvoiceSuccess, createInvoiceFailure, fetchCreateInvoiceFormPage, resetCreateInvoice, updateInvoicingCreateInvoiceFormDraft, } = createInvoiceSlice.actions;
|
|
55
61
|
export default createInvoiceSlice.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
export const initialState = {
|
|
3
4
|
fetchState: 'Not-Started',
|
|
4
5
|
error: undefined,
|
|
@@ -82,6 +83,11 @@ const customerPaymentMethod = createSlice({
|
|
|
82
83
|
Object.assign(draft, initialState);
|
|
83
84
|
},
|
|
84
85
|
},
|
|
86
|
+
extraReducers: (builder) => {
|
|
87
|
+
builder.addCase(clearAll, (draft) => {
|
|
88
|
+
Object.assign(draft, initialState);
|
|
89
|
+
});
|
|
90
|
+
},
|
|
85
91
|
});
|
|
86
92
|
export const { createInvoicingSetupIntent, createInvoicingSetupIntentSuccess, createInvoicingSetupIntentFailure, fetchInvoicingPlaidLinkToken, fetchInvoicingPlaidLinkTokenSuccess, fetchInvoicingPlaidLinkTokenFailure, saveInvoicingPaymentMethod, saveInvoicingPaymentMethodSuccess, saveInvoicingPaymentMethodFailure, sendInvoicingPaymentLink, sendInvoicingPaymentLinkSuccess, sendInvoicingPaymentLinkFailure, resetInvoicingCustomerPaymentMethod, } = customerPaymentMethod.actions;
|
|
87
93
|
export default customerPaymentMethod.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
export const initialState = {
|
|
3
4
|
byKind: {},
|
|
4
5
|
};
|
|
@@ -63,6 +64,11 @@ const dataImportAction = createSlice({
|
|
|
63
64
|
draft.byKind = {};
|
|
64
65
|
},
|
|
65
66
|
},
|
|
67
|
+
extraReducers: (builder) => {
|
|
68
|
+
builder.addCase(clearAll, (draft) => {
|
|
69
|
+
draft.byKind = {};
|
|
70
|
+
});
|
|
71
|
+
},
|
|
66
72
|
});
|
|
67
73
|
export const { connectInvoicingChargebee, uploadInvoicingMigrationFiles, startInvoicingMigration, retryInvoicingMigration, rollbackInvoicingMigration, invoicingDataImportActionSuccess, invoicingDataImportActionFailure, clearInvoicingDataImportAction, clearAllInvoicingDataImportActions, } = dataImportAction.actions;
|
|
68
74
|
export default dataImportAction.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
export const initialState = {
|
|
3
4
|
activeDetailId: null,
|
|
4
5
|
sessions: [],
|
|
@@ -108,6 +109,18 @@ const dataImportView = createSlice({
|
|
|
108
109
|
draft.diagnosticsBySession = {};
|
|
109
110
|
},
|
|
110
111
|
},
|
|
112
|
+
extraReducers: (builder) => {
|
|
113
|
+
builder.addCase(clearAll, (draft) => {
|
|
114
|
+
draft.activeDetailId = null;
|
|
115
|
+
draft.sessions = [];
|
|
116
|
+
draft.sessionsFetch = { fetchState: 'Not-Started', error: undefined };
|
|
117
|
+
draft.statusRows = [];
|
|
118
|
+
draft.statusFetch = { fetchState: 'Not-Started', error: undefined };
|
|
119
|
+
draft.sessionDetail = {};
|
|
120
|
+
draft.sessionDetailFetch = { fetchState: 'Not-Started', error: undefined };
|
|
121
|
+
draft.diagnosticsBySession = {};
|
|
122
|
+
});
|
|
123
|
+
},
|
|
111
124
|
});
|
|
112
125
|
export const { fetchInvoicingMigrationSessions, updateInvoicingMigrationSessions, updateInvoicingMigrationSessionsFailure, fetchInvoicingDataImportStatus, updateInvoicingDataImportStatus, updateInvoicingDataImportStatusFailure, fetchInvoicingMigrationSession, setInvoicingActiveMigrationSessionId, updateInvoicingMigrationSessionFailure, upsertInvoicingMigrationSession, fetchInvoicingMigrationDiagnostics, updateInvoicingMigrationDiagnostics, updateInvoicingMigrationDiagnosticsFailure, clearInvoicingDataImportView, } = dataImportView.actions;
|
|
113
126
|
export default dataImportView.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
export const initialState = {
|
|
3
4
|
byId: {},
|
|
4
5
|
};
|
|
@@ -31,6 +32,11 @@ const discountAction = createSlice({
|
|
|
31
32
|
draft.byId = {};
|
|
32
33
|
},
|
|
33
34
|
},
|
|
35
|
+
extraReducers: (builder) => {
|
|
36
|
+
builder.addCase(clearAll, (draft) => {
|
|
37
|
+
draft.byId = {};
|
|
38
|
+
});
|
|
39
|
+
},
|
|
34
40
|
});
|
|
35
41
|
export const { runInvoicingDiscountAction, runInvoicingDiscountActionSuccess, runInvoicingDiscountActionFailure, clearInvoicingDiscountAction, clearAllInvoicingDiscountActions, } = discountAction.actions;
|
|
36
42
|
export default discountAction.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
export const initialState = {
|
|
3
4
|
byId: {},
|
|
4
5
|
};
|
|
@@ -31,6 +32,11 @@ const dunningAction = createSlice({
|
|
|
31
32
|
draft.byId = {};
|
|
32
33
|
},
|
|
33
34
|
},
|
|
35
|
+
extraReducers: (builder) => {
|
|
36
|
+
builder.addCase(clearAll, (draft) => {
|
|
37
|
+
draft.byId = {};
|
|
38
|
+
});
|
|
39
|
+
},
|
|
34
40
|
});
|
|
35
41
|
export const { runInvoicingDunningAction, runInvoicingDunningActionSuccess, runInvoicingDunningActionFailure, clearInvoicingDunningAction, clearAllInvoicingDunningActions, } = dunningAction.actions;
|
|
36
42
|
export default dunningAction.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
import { initialInvoicingCatalogItemFormLocalData } from './invoicingCatalogItemFormConfig';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
fetchState: 'Not-Started',
|
|
@@ -79,6 +80,11 @@ const editInvoicingCatalogItemDetailView = createSlice({
|
|
|
79
80
|
draft.newItemDraft = { ...initialInvoicingCatalogItemFormLocalData };
|
|
80
81
|
},
|
|
81
82
|
},
|
|
83
|
+
extraReducers: (builder) => {
|
|
84
|
+
builder.addCase(clearAll, (draft) => {
|
|
85
|
+
Object.assign(draft, initialState);
|
|
86
|
+
});
|
|
87
|
+
},
|
|
82
88
|
});
|
|
83
89
|
export const { updateInvoicingCatalogItemFormDraft, submitInvoicingCatalogItemForm, saveInvoicingCatalogItem, createInvoicingCatalogSubFamily, archiveInvoicingCatalogSubFamily, submitInvoicingCatalogItemFormSuccess, submitInvoicingCatalogItemFormFailure, resetEditInvoicingCatalogItemDetailView, } = editInvoicingCatalogItemDetailView.actions;
|
|
84
90
|
export default editInvoicingCatalogItemDetailView.reducer;
|
package/lib/esm/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewReducer.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
import { initialInvoicingCouponFormLocalData, } from './editInvoicingCouponDetailViewState';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
fetchState: 'Not-Started',
|
|
@@ -60,6 +61,11 @@ const editInvoicingCouponDetailView = createSlice({
|
|
|
60
61
|
draft.newCouponDraft = { ...initialInvoicingCouponFormLocalData };
|
|
61
62
|
},
|
|
62
63
|
},
|
|
64
|
+
extraReducers: (builder) => {
|
|
65
|
+
builder.addCase(clearAll, (draft) => {
|
|
66
|
+
Object.assign(draft, initialState);
|
|
67
|
+
});
|
|
68
|
+
},
|
|
63
69
|
});
|
|
64
70
|
export const { updateInvoicingCouponFormDraft, submitInvoicingCouponForm, saveInvoicingCoupon, submitInvoicingCouponFormSuccess, submitInvoicingCouponFormFailure, resetEditInvoicingCouponDetailView, } = editInvoicingCouponDetailView.actions;
|
|
65
71
|
export default editInvoicingCouponDetailView.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
import { initialInvoicingCustomerFormLocalData } from './invoicingCustomerFormConfig';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
fetchState: 'Not-Started',
|
|
@@ -57,6 +58,11 @@ const editInvoicingCustomerDetailView = createSlice({
|
|
|
57
58
|
},
|
|
58
59
|
},
|
|
59
60
|
},
|
|
61
|
+
extraReducers: (builder) => {
|
|
62
|
+
builder.addCase(clearAll, (draft) => {
|
|
63
|
+
Object.assign(draft, initialState);
|
|
64
|
+
});
|
|
65
|
+
},
|
|
60
66
|
});
|
|
61
67
|
export const { updateInvoicingCustomerFormDraft, submitInvoicingCustomerForm, submitInvoicingCustomerFormSuccess, submitInvoicingCustomerFormFailure, resetEditInvoicingCustomerDetailView, initializeInvoicingCustomerAddress, } = editInvoicingCustomerDetailView.actions;
|
|
62
68
|
export default editInvoicingCustomerDetailView.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
import { initialInvoicingSubscriptionFormLocalData } from './invoicingSubscriptionFormConfig';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
fetchState: 'Not-Started',
|
|
@@ -75,6 +76,11 @@ const editInvoicingSubscriptionDetailView = createSlice({
|
|
|
75
76
|
},
|
|
76
77
|
},
|
|
77
78
|
},
|
|
79
|
+
extraReducers: (builder) => {
|
|
80
|
+
builder.addCase(clearAll, (draft) => {
|
|
81
|
+
Object.assign(draft, initialState);
|
|
82
|
+
});
|
|
83
|
+
},
|
|
78
84
|
});
|
|
79
85
|
export const { fetchInvoicingSubscriptionFormPage, updateInvoicingSubscriptionFormDraft, submitInvoicingSubscriptionForm, submitInvoicingSubscriptionFormSuccess, submitInvoicingSubscriptionFormFailure, resetEditInvoicingSubscriptionDetailView, initializeInvoicingSubscriptionAddress, syncInvoicingSubscriptionCoupons, } = editInvoicingSubscriptionDetailView.actions;
|
|
80
86
|
export default editInvoicingSubscriptionDetailView.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
export const initialState = {
|
|
3
4
|
byInvoiceId: {},
|
|
4
5
|
};
|
|
@@ -37,6 +38,11 @@ const invoiceAction = createSlice({
|
|
|
37
38
|
draft.byInvoiceId = {};
|
|
38
39
|
},
|
|
39
40
|
},
|
|
41
|
+
extraReducers: (builder) => {
|
|
42
|
+
builder.addCase(clearAll, (draft) => {
|
|
43
|
+
draft.byInvoiceId = {};
|
|
44
|
+
});
|
|
45
|
+
},
|
|
40
46
|
});
|
|
41
47
|
export const { runInvoicingInvoiceAction, runInvoicingInvoiceActionSuccess, runInvoicingInvoiceActionFailure, updateInvoicingInvoice, clearInvoicingInvoiceAction, clearAllInvoicingInvoiceActions, } = invoiceAction.actions;
|
|
42
48
|
export default invoiceAction.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
export const initialState = {
|
|
3
4
|
detailById: {},
|
|
4
5
|
};
|
|
@@ -33,6 +34,11 @@ const invoiceDetail = createSlice({
|
|
|
33
34
|
draft.detailById = {};
|
|
34
35
|
},
|
|
35
36
|
},
|
|
37
|
+
extraReducers: (builder) => {
|
|
38
|
+
builder.addCase(clearAll, (draft) => {
|
|
39
|
+
draft.detailById = {};
|
|
40
|
+
});
|
|
41
|
+
},
|
|
36
42
|
});
|
|
37
43
|
export const { fetchInvoiceDetail, updateInvoiceDetail, updateInvoiceDetailFailure, clearAllInvoiceDetail, } = invoiceDetail.actions;
|
|
38
44
|
export default invoiceDetail.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
import { ALL_INVOICING_INVOICE_TAB_IDS, makeInvoiceByTab, } from './invoiceListState';
|
|
3
4
|
/**
|
|
4
5
|
* Whether two invoice-list queries share the same base (tab-independent) query.
|
|
@@ -161,6 +162,18 @@ const invoiceList = createSlice({
|
|
|
161
162
|
draft.kpisFetchState = { fetchState: 'Not-Started', error: undefined };
|
|
162
163
|
},
|
|
163
164
|
},
|
|
165
|
+
extraReducers: (builder) => {
|
|
166
|
+
builder.addCase(clearAll, (draft) => {
|
|
167
|
+
draft.activeTab = 'all';
|
|
168
|
+
draft.invoiceByTab = makeInvoiceByTab();
|
|
169
|
+
draft.filters = {};
|
|
170
|
+
draft.sort = undefined;
|
|
171
|
+
draft.counts = { all: 0 };
|
|
172
|
+
draft.countsFetchState = { fetchState: 'Not-Started', error: undefined };
|
|
173
|
+
draft.kpis = undefined;
|
|
174
|
+
draft.kpisFetchState = { fetchState: 'Not-Started', error: undefined };
|
|
175
|
+
});
|
|
176
|
+
},
|
|
164
177
|
});
|
|
165
178
|
export const { fetchInvoiceList, fetchInvoiceListPage, updateInvoiceList, updateInvoiceListFailure, fetchInvoiceCounts, updateInvoiceCounts, updateInvoiceCountsFailure, fetchInvoiceKPIs, updateInvoiceKPIs, updateInvoiceKPIsFailure, updateInvoiceListFilters, setInvoiceActiveTab, addInvoiceToList, clearInvoiceList, } = invoiceList.actions;
|
|
166
179
|
export default invoiceList.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
export const initialState = {
|
|
3
4
|
fetchState: 'Not-Started',
|
|
4
5
|
error: undefined,
|
|
@@ -29,6 +30,11 @@ const invoicingCatalogItemDetailView = createSlice({
|
|
|
29
30
|
Object.assign(draft, initialState);
|
|
30
31
|
},
|
|
31
32
|
},
|
|
33
|
+
extraReducers: (builder) => {
|
|
34
|
+
builder.addCase(clearAll, (draft) => {
|
|
35
|
+
Object.assign(draft, initialState);
|
|
36
|
+
});
|
|
37
|
+
},
|
|
32
38
|
});
|
|
33
39
|
export const { fetchInvoicingCatalogItemDetail, updateInvoicingCatalogItemDetail, updateInvoicingCatalogItemDetailFailure, clearInvoicingCatalogItemDetailView, } = invoicingCatalogItemDetailView.actions;
|
|
34
40
|
export default invoicingCatalogItemDetailView.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
export const initialState = {
|
|
3
4
|
fetchState: 'Not-Started',
|
|
4
5
|
error: undefined,
|
|
@@ -147,6 +148,11 @@ const invoicingCatalogListView = createSlice({
|
|
|
147
148
|
Object.assign(draft, initialState);
|
|
148
149
|
},
|
|
149
150
|
},
|
|
151
|
+
extraReducers: (builder) => {
|
|
152
|
+
builder.addCase(clearAll, (draft) => {
|
|
153
|
+
Object.assign(draft, initialState);
|
|
154
|
+
});
|
|
155
|
+
},
|
|
150
156
|
});
|
|
151
157
|
export const { fetchInvoicingCatalogPlanList, updateInvoicingCatalogPlanList, updateInvoicingCatalogPlanListFailure, fetchInvoicingCatalogProductList, updateInvoicingCatalogProductList, updateInvoicingCatalogProductListFailure, fetchInvoicingCatalogCounts, updateInvoicingCatalogCounts, updateInvoicingCatalogCountsFailure, updateInvoicingCatalogPlanFilters, updateInvoicingCatalogProductFilters, addInvoicingCatalogItem, fetchInvoicingCatalogListPage, clearInvoicingCatalogListView, } = invoicingCatalogListView.actions;
|
|
152
158
|
export default invoicingCatalogListView.reducer;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import { toAuditLogEntityRouteOption, toInvoicingCatalogItemLifecycleActionOption, toInvoicingCatalogProductLifecycleActionOption, toInvoicingDiscountLifecycleActionOption, toInvoicingDunningAction, toInvoicingNamedOption, toInvoicingQboAccountMappingKindOption, toInvoicingSubscriptionEditFieldOption, toInvoicingSubscriptionLifecycleActionOption, } from '../../../entity/invoicing/invoicingCommonPayload';
|
|
3
|
+
import { clearAll } from '../../../rootActions';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
fetchState: 'Not-Started',
|
|
5
6
|
error: undefined,
|
|
@@ -165,6 +166,11 @@ const invoicingConfigView = createSlice({
|
|
|
165
166
|
Object.assign(draft, initialState);
|
|
166
167
|
},
|
|
167
168
|
},
|
|
169
|
+
extraReducers: (builder) => {
|
|
170
|
+
builder.addCase(clearAll, (draft) => {
|
|
171
|
+
Object.assign(draft, initialState);
|
|
172
|
+
});
|
|
173
|
+
},
|
|
168
174
|
});
|
|
169
175
|
export const { fetchInvoicingConfig, updateInvoicingConfig, updateInvoicingConfigFailure, acceptInvoicingTerms, acceptInvoicingTermsSuccess, acceptInvoicingTermsFailure, enableInvoicing, enableInvoicingSuccess, enableInvoicingFailure, resetInvoicingConfigActionStates, clearInvoicingConfig, } = invoicingConfigView.actions;
|
|
170
176
|
export default invoicingConfigView.reducer;
|
package/lib/esm/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewReducer.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
export const initialState = {
|
|
3
4
|
detailById: {},
|
|
4
5
|
};
|
|
@@ -33,6 +34,11 @@ const invoicingCouponDetailView = createSlice({
|
|
|
33
34
|
draft.detailById = {};
|
|
34
35
|
},
|
|
35
36
|
},
|
|
37
|
+
extraReducers: (builder) => {
|
|
38
|
+
builder.addCase(clearAll, (draft) => {
|
|
39
|
+
draft.detailById = {};
|
|
40
|
+
});
|
|
41
|
+
},
|
|
36
42
|
});
|
|
37
43
|
export const { fetchInvoicingCouponDetail, updateInvoicingCouponDetail, updateInvoicingCouponDetailFailure, clearInvoicingCouponDetailView, } = invoicingCouponDetailView.actions;
|
|
38
44
|
export default invoicingCouponDetailView.reducer;
|
package/lib/esm/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewReducer.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
export const initialState = {
|
|
3
4
|
fetchState: 'Not-Started',
|
|
4
5
|
error: undefined,
|
|
@@ -26,6 +27,11 @@ const invoicingCreditNoteDetailView = createSlice({
|
|
|
26
27
|
Object.assign(draft, initialState);
|
|
27
28
|
},
|
|
28
29
|
},
|
|
30
|
+
extraReducers: (builder) => {
|
|
31
|
+
builder.addCase(clearAll, (draft) => {
|
|
32
|
+
Object.assign(draft, initialState);
|
|
33
|
+
});
|
|
34
|
+
},
|
|
29
35
|
});
|
|
30
36
|
export const { fetchInvoicingCreditNoteDetail, updateInvoicingCreditNoteDetail, updateInvoicingCreditNoteDetailFailure, clearInvoicingCreditNoteDetailView, } = invoicingCreditNoteDetailView.actions;
|
|
31
37
|
export default invoicingCreditNoteDetailView.reducer;
|
package/lib/esm/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewReducer.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
export const initialState = {
|
|
3
4
|
fetchState: 'Not-Started',
|
|
4
5
|
error: undefined,
|
|
@@ -90,6 +91,11 @@ const invoicingCreditNoteListView = createSlice({
|
|
|
90
91
|
Object.assign(draft, initialState);
|
|
91
92
|
},
|
|
92
93
|
},
|
|
94
|
+
extraReducers: (builder) => {
|
|
95
|
+
builder.addCase(clearAll, (draft) => {
|
|
96
|
+
Object.assign(draft, initialState);
|
|
97
|
+
});
|
|
98
|
+
},
|
|
93
99
|
});
|
|
94
100
|
export const { fetchInvoicingCreditNoteList, fetchInvoicingCreditNoteListPage, updateInvoicingCreditNoteList, updateInvoicingCreditNoteListFailure, fetchInvoicingCreditNoteCounts, updateInvoicingCreditNoteCounts, updateInvoicingCreditNoteCountsFailure, updateInvoicingCreditNoteFilters, setInvoicingCreditNoteActiveTab, clearInvoicingCreditNoteListView, } = invoicingCreditNoteListView.actions;
|
|
95
101
|
export default invoicingCreditNoteListView.reducer;
|
package/lib/esm/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewReducer.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
export const initialState = {
|
|
3
4
|
detailById: {},
|
|
4
5
|
};
|
|
@@ -46,6 +47,11 @@ const invoicingCustomerDetailView = createSlice({
|
|
|
46
47
|
draft.detailById = {};
|
|
47
48
|
},
|
|
48
49
|
},
|
|
50
|
+
extraReducers: (builder) => {
|
|
51
|
+
builder.addCase(clearAll, (draft) => {
|
|
52
|
+
draft.detailById = {};
|
|
53
|
+
});
|
|
54
|
+
},
|
|
49
55
|
});
|
|
50
56
|
export const { fetchInvoicingCustomerDetail, fetchInvoicingCustomerDetailPage, updateInvoicingCustomerDetail, updateInvoicingCustomerDetailFailure, clearInvoicingCustomerDetailView, } = invoicingCustomerDetailView.actions;
|
|
51
57
|
export default invoicingCustomerDetailView.reducer;
|
package/lib/esm/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
export const initialState = {
|
|
3
4
|
fetchState: 'Not-Started',
|
|
4
5
|
error: undefined,
|
|
@@ -106,6 +107,11 @@ const invoicingCustomerListView = createSlice({
|
|
|
106
107
|
Object.assign(draft, initialState);
|
|
107
108
|
},
|
|
108
109
|
},
|
|
110
|
+
extraReducers: (builder) => {
|
|
111
|
+
builder.addCase(clearAll, (draft) => {
|
|
112
|
+
Object.assign(draft, initialState);
|
|
113
|
+
});
|
|
114
|
+
},
|
|
109
115
|
});
|
|
110
116
|
export const { fetchInvoicingCustomerList, fetchInvoicingCustomerListPage, updateInvoicingCustomerList, updateInvoicingCustomerListFailure, fetchInvoicingCustomerCounts, updateInvoicingCustomerCounts, updateInvoicingCustomerCountsFailure, updateInvoicingCustomerFilters, setInvoicingCustomerActiveTab, addInvoicingCustomerToList, clearInvoicingCustomerListView, } = invoicingCustomerListView.actions;
|
|
111
117
|
export default invoicingCustomerListView.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
export const initialState = {
|
|
3
4
|
fetchState: 'Not-Started',
|
|
4
5
|
error: undefined,
|
|
@@ -26,6 +27,11 @@ const invoicingDunningCaseDetailView = createSlice({
|
|
|
26
27
|
Object.assign(draft, initialState);
|
|
27
28
|
},
|
|
28
29
|
},
|
|
30
|
+
extraReducers: (builder) => {
|
|
31
|
+
builder.addCase(clearAll, (draft) => {
|
|
32
|
+
Object.assign(draft, initialState);
|
|
33
|
+
});
|
|
34
|
+
},
|
|
29
35
|
});
|
|
30
36
|
export const { fetchInvoicingDunningCaseDetail, updateInvoicingDunningCaseDetail, updateInvoicingDunningCaseDetailFailure, clearInvoicingDunningCaseDetailView, } = invoicingDunningCaseDetailView.actions;
|
|
31
37
|
export default invoicingDunningCaseDetailView.reducer;
|
package/lib/esm/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewReducer.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
export const initialState = {
|
|
3
4
|
fetchState: 'Not-Started',
|
|
4
5
|
error: undefined,
|
|
@@ -90,6 +91,11 @@ const invoicingDunningCaseListView = createSlice({
|
|
|
90
91
|
Object.assign(draft, initialState);
|
|
91
92
|
},
|
|
92
93
|
},
|
|
94
|
+
extraReducers: (builder) => {
|
|
95
|
+
builder.addCase(clearAll, (draft) => {
|
|
96
|
+
Object.assign(draft, initialState);
|
|
97
|
+
});
|
|
98
|
+
},
|
|
93
99
|
});
|
|
94
100
|
export const { fetchInvoicingDunningCaseList, fetchInvoicingDunningCaseListPage, updateInvoicingDunningCaseList, updateInvoicingDunningCaseListFailure, fetchInvoicingDunningCaseCounts, updateInvoicingDunningCaseCounts, updateInvoicingDunningCaseCountsFailure, updateInvoicingDunningCaseFilters, setInvoicingDunningCaseActiveTab, clearInvoicingDunningCaseListView, } = invoicingDunningCaseListView.actions;
|
|
95
101
|
export default invoicingDunningCaseListView.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
import { mapInvoicingChurnDataPointPayloadToState, mapInvoicingDashboardSummaryPayloadToState, mapInvoicingMRRDataPointPayloadToState, mapInvoicingOverviewKPIsPayloadToState, mapInvoicingPlanRevenuePointPayloadToState, mapInvoicingRevenueDataPointPayloadToState, } from './invoicingOverviewPayload';
|
|
3
4
|
const notStarted = { fetchState: 'Not-Started', error: undefined };
|
|
4
5
|
export const initialState = {
|
|
@@ -110,6 +111,11 @@ const invoicingOverview = createSlice({
|
|
|
110
111
|
Object.assign(draft, initialState);
|
|
111
112
|
},
|
|
112
113
|
},
|
|
114
|
+
extraReducers: (builder) => {
|
|
115
|
+
builder.addCase(clearAll, (draft) => {
|
|
116
|
+
Object.assign(draft, initialState);
|
|
117
|
+
});
|
|
118
|
+
},
|
|
113
119
|
});
|
|
114
120
|
export const { fetchInvoicingOverview, fetchInvoicingOverviewKPIs, updateInvoicingOverviewKPIs, updateInvoicingOverviewKPIsFailure, fetchInvoicingOverviewRevenue, updateInvoicingOverviewRevenue, updateInvoicingOverviewRevenueFailure, fetchInvoicingOverviewMRR, updateInvoicingOverviewMRR, updateInvoicingOverviewMRRFailure, fetchInvoicingOverviewChurn, updateInvoicingOverviewChurn, updateInvoicingOverviewChurnFailure, fetchInvoicingOverviewPlanRevenue, updateInvoicingOverviewPlanRevenue, updateInvoicingOverviewPlanRevenueFailure, fetchInvoicingOverviewDashboardSummary, updateInvoicingOverviewDashboardSummary, updateInvoicingOverviewDashboardSummaryFailure, clearInvoicingOverview, } = invoicingOverview.actions;
|
|
115
121
|
export default invoicingOverview.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
export const initialState = {
|
|
3
4
|
accountsByAccountTypes: {},
|
|
4
5
|
accountsFetchStateByAccountTypes: {},
|
|
@@ -123,6 +124,11 @@ const invoicingQboView = createSlice({
|
|
|
123
124
|
Object.assign(draft, initialState);
|
|
124
125
|
},
|
|
125
126
|
},
|
|
127
|
+
extraReducers: (builder) => {
|
|
128
|
+
builder.addCase(clearAll, (draft) => {
|
|
129
|
+
Object.assign(draft, initialState);
|
|
130
|
+
});
|
|
131
|
+
},
|
|
126
132
|
});
|
|
127
133
|
export const { fetchInvoicingQboConnection, updateInvoicingQboConnection, updateInvoicingQboConnectionFailure, fetchInvoicingQboAccounts, updateInvoicingQboAccounts, updateInvoicingQboAccountsFailure, fetchInvoicingQboClasses, updateInvoicingQboClasses, updateInvoicingQboClassesFailure, fetchInvoicingQboSyncHealth, updateInvoicingQboSyncHealth, updateInvoicingQboSyncHealthFailure, retryInvoicingQboSyncTask, retryInvoicingQboSyncTaskSuccess, retryInvoicingQboSyncTaskFailure, startInvoicingQboBackfill, startInvoicingQboBackfillSuccess, startInvoicingQboBackfillFailure, clearInvoicingQboView, } = invoicingQboView.actions;
|
|
128
134
|
export default invoicingQboView.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
export const initialState = {
|
|
3
4
|
fetchState: 'Not-Started',
|
|
4
5
|
error: undefined,
|
|
@@ -26,6 +27,11 @@ const invoicingSubscriptionDetailView = createSlice({
|
|
|
26
27
|
Object.assign(draft, initialState);
|
|
27
28
|
},
|
|
28
29
|
},
|
|
30
|
+
extraReducers: (builder) => {
|
|
31
|
+
builder.addCase(clearAll, (draft) => {
|
|
32
|
+
Object.assign(draft, initialState);
|
|
33
|
+
});
|
|
34
|
+
},
|
|
29
35
|
});
|
|
30
36
|
export const { fetchInvoicingSubscriptionDetail, updateInvoicingSubscriptionDetail, updateInvoicingSubscriptionDetailFailure, clearInvoicingSubscriptionDetailView, } = invoicingSubscriptionDetailView.actions;
|
|
31
37
|
export default invoicingSubscriptionDetailView.reducer;
|
package/lib/esm/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
export const initialState = {
|
|
3
4
|
fetchState: 'Not-Started',
|
|
4
5
|
error: undefined,
|
|
@@ -104,6 +105,11 @@ const invoicingSubscriptionListView = createSlice({
|
|
|
104
105
|
Object.assign(draft, initialState);
|
|
105
106
|
},
|
|
106
107
|
},
|
|
108
|
+
extraReducers: (builder) => {
|
|
109
|
+
builder.addCase(clearAll, (draft) => {
|
|
110
|
+
Object.assign(draft, initialState);
|
|
111
|
+
});
|
|
112
|
+
},
|
|
107
113
|
});
|
|
108
114
|
export const { fetchInvoicingSubscriptionList, fetchInvoicingSubscriptionListPage, updateInvoicingSubscriptionList, updateInvoicingSubscriptionListFailure, fetchInvoicingSubscriptionCounts, updateInvoicingSubscriptionCounts, updateInvoicingSubscriptionCountsFailure, updateInvoicingSubscriptionFilters, setInvoicingSubscriptionActiveTab, addInvoicingSubscriptionToList, clearInvoicingSubscriptionListView, } = invoicingSubscriptionListView.actions;
|
|
109
115
|
export default invoicingSubscriptionListView.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
export const initialState = {
|
|
3
4
|
fetchState: 'Not-Started',
|
|
4
5
|
error: undefined,
|
|
@@ -26,6 +27,11 @@ const invoicingTransactionDetailView = createSlice({
|
|
|
26
27
|
Object.assign(draft, initialState);
|
|
27
28
|
},
|
|
28
29
|
},
|
|
30
|
+
extraReducers: (builder) => {
|
|
31
|
+
builder.addCase(clearAll, (draft) => {
|
|
32
|
+
Object.assign(draft, initialState);
|
|
33
|
+
});
|
|
34
|
+
},
|
|
29
35
|
});
|
|
30
36
|
export const { fetchInvoicingTransactionDetail, updateInvoicingTransactionDetail, updateInvoicingTransactionDetailFailure, clearInvoicingTransactionDetailView, } = invoicingTransactionDetailView.actions;
|
|
31
37
|
export default invoicingTransactionDetailView.reducer;
|
package/lib/esm/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewReducer.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
import { makeInvoicingTransactionIdsByTab, } from './invoicingTransactionListViewState';
|
|
3
4
|
/**
|
|
4
5
|
* Whether two transaction-list queries share the same base (tab-independent)
|
|
@@ -110,6 +111,14 @@ const invoicingTransactionListView = createSlice({
|
|
|
110
111
|
draft.sort = undefined;
|
|
111
112
|
},
|
|
112
113
|
},
|
|
114
|
+
extraReducers: (builder) => {
|
|
115
|
+
builder.addCase(clearAll, (draft) => {
|
|
116
|
+
draft.activeTab = 'all';
|
|
117
|
+
draft.byTab = makeInvoicingTransactionIdsByTab();
|
|
118
|
+
draft.filters = {};
|
|
119
|
+
draft.sort = undefined;
|
|
120
|
+
});
|
|
121
|
+
},
|
|
113
122
|
});
|
|
114
123
|
export const { fetchInvoicingTransactionList, fetchInvoicingTransactionListPage, updateInvoicingTransactionList, updateInvoicingTransactionListFailure, updateInvoicingTransactionFilters, setInvoicingTransactionActiveTab, addInvoicingTransactionToList, clearInvoicingTransactionListView, } = invoicingTransactionListView.actions;
|
|
115
124
|
export default invoicingTransactionListView.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
import { initialIssueCreditNoteFormLocalData } from './issueCreditNoteFormConfig';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
draft: initialIssueCreditNoteFormLocalData(),
|
|
@@ -43,6 +44,11 @@ const issueCreditNoteSlice = createSlice({
|
|
|
43
44
|
draft.issuedCreditNoteId = undefined;
|
|
44
45
|
},
|
|
45
46
|
},
|
|
47
|
+
extraReducers: (builder) => {
|
|
48
|
+
builder.addCase(clearAll, (draft) => {
|
|
49
|
+
Object.assign(draft, initialState);
|
|
50
|
+
});
|
|
51
|
+
},
|
|
46
52
|
});
|
|
47
53
|
export const { initializeIssueCreditNoteDraft, issueCreditNoteFailure, issueCreditNoteSuccess, resetIssueCreditNote, submitIssueCreditNote, updateIssueCreditNoteFormDraft, } = issueCreditNoteSlice.actions;
|
|
48
54
|
export default issueCreditNoteSlice.reducer;
|