@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
|
import { mapBankAccountPayloadToBankAccountState, } from './bankAccountPayload';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
bankAccountByID: {},
|
|
@@ -21,6 +22,11 @@ const bankAccount = createSlice({
|
|
|
21
22
|
draft.bankAccountByID = {};
|
|
22
23
|
},
|
|
23
24
|
},
|
|
25
|
+
extraReducers: (builder) => {
|
|
26
|
+
builder.addCase(clearAll, (draft) => {
|
|
27
|
+
draft.bankAccountByID = {};
|
|
28
|
+
});
|
|
29
|
+
},
|
|
24
30
|
});
|
|
25
31
|
export const { updateBankAccounts, removeBankAccount, clearAllBankAccounts } = bankAccount.actions;
|
|
26
32
|
export default bankAccount.reducer;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import assignWith from 'lodash/assignWith';
|
|
3
|
+
import { clearAll } from '../../../rootActions';
|
|
3
4
|
import { toBillTransaction, } from './billTransactionPayload';
|
|
4
5
|
import { toBulkProcessingStateType, } from './billTransactionState';
|
|
5
6
|
export const initialState = {
|
|
@@ -29,6 +30,11 @@ const billTransaction = createSlice({
|
|
|
29
30
|
draft.transactionById = {};
|
|
30
31
|
},
|
|
31
32
|
},
|
|
33
|
+
extraReducers: (builder) => {
|
|
34
|
+
builder.addCase(clearAll, (draft) => {
|
|
35
|
+
draft.transactionById = {};
|
|
36
|
+
});
|
|
37
|
+
},
|
|
32
38
|
});
|
|
33
39
|
export const { updateBillTransactions, updateBillTransaction, updateBillTransactionsWithBulkActionStatus, removeBillTransaction, clearAllBillTransactions, } = billTransaction.actions;
|
|
34
40
|
export default billTransaction.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
import { toContact } from './contactPayload';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
contactById: {},
|
|
@@ -20,6 +21,11 @@ const contact = createSlice({
|
|
|
20
21
|
draft.contactById = {};
|
|
21
22
|
},
|
|
22
23
|
},
|
|
24
|
+
extraReducers: (builder) => {
|
|
25
|
+
builder.addCase(clearAll, (draft) => {
|
|
26
|
+
draft.contactById = {};
|
|
27
|
+
});
|
|
28
|
+
},
|
|
23
29
|
});
|
|
24
30
|
export const { updateContacts, removeContact, clearContacts } = contact.actions;
|
|
25
31
|
export default contact.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
import { toRecurringBillConfig, toRecurringBillData, } from './recurringBillsPayload';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
recurringBillDetailByConfigId: {},
|
|
@@ -30,6 +31,11 @@ const recurringBill = createSlice({
|
|
|
30
31
|
draft.recurringBillDetailByConfigId = {};
|
|
31
32
|
},
|
|
32
33
|
},
|
|
34
|
+
extraReducers: (builder) => {
|
|
35
|
+
builder.addCase(clearAll, (draft) => {
|
|
36
|
+
draft.recurringBillDetailByConfigId = {};
|
|
37
|
+
});
|
|
38
|
+
},
|
|
33
39
|
});
|
|
34
40
|
export const { updateRecurringBillConfigs, updateRecurringBills, removeRecurringBill, clearAllRecurringBills, } = recurringBill.actions;
|
|
35
41
|
export default recurringBill.reducer;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import assignWith from 'lodash/assignWith';
|
|
3
|
+
import { clearAll } from '../../rootActions';
|
|
3
4
|
import { mapCardPaymentPayloadToCardPayment, } from './cardPaymentPayload';
|
|
4
5
|
export const initialState = {
|
|
5
6
|
cardByID: {},
|
|
@@ -38,6 +39,11 @@ const cardPayment = createSlice({
|
|
|
38
39
|
draft.cardByID = {};
|
|
39
40
|
},
|
|
40
41
|
},
|
|
42
|
+
extraReducers: (builder) => {
|
|
43
|
+
builder.addCase(clearAll, (draft) => {
|
|
44
|
+
draft.cardByID = {};
|
|
45
|
+
});
|
|
46
|
+
},
|
|
41
47
|
});
|
|
42
48
|
export const { updateCardPayments, removeCardPayment, clearAllCardPayments } = cardPayment.actions;
|
|
43
49
|
export default cardPayment.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
import { toCardPolicyTemplate, toCardPolicyVendorSearchOption, toExtractedCardPolicyRules, toMccCategory, } from './cardPolicyPayload';
|
|
3
4
|
// `buildVendorChipId(name)` calls `name.trim().toLowerCase()`; empty/whitespace names would crash or collapse into one colliding chip-id.
|
|
4
5
|
const isUsableMerchantName = (name) => typeof name === 'string' && name.trim() !== '';
|
|
@@ -166,6 +167,11 @@ const cardPolicy = createSlice({
|
|
|
166
167
|
Object.assign(draft, initialState);
|
|
167
168
|
},
|
|
168
169
|
},
|
|
170
|
+
extraReducers: (builder) => {
|
|
171
|
+
builder.addCase(clearAll, (draft) => {
|
|
172
|
+
Object.assign(draft, initialState);
|
|
173
|
+
});
|
|
174
|
+
},
|
|
169
175
|
});
|
|
170
176
|
export const { fetchCardPolicyMccCategories, fetchCardPolicyVendorOptions, updateCardPolicyMccCategories, updateCardPolicyMccCategoriesFailure, updateCardPolicyVendorOptions, updateCardPolicyVendorOptionsFailure, updateCreatedCardPolicyTemplate, updateCardPolicyTemplates, removeCardPolicyTemplate, updateCardPolicyStats, extractPolicyDocument, updatePolicyDocumentExtractionSuccess, updatePolicyDocumentExtractionFailure, clearPolicyDocumentExtraction, fetchCardPolicyRecommendationFromUpload, updatePolicyRecommendationFromUploadSuccess, updatePolicyRecommendationFromUploadFailure, clearCardPolicy, } = cardPolicy.actions;
|
|
171
177
|
export default cardPolicy.reducer;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import assignWith from 'lodash/assignWith';
|
|
3
3
|
import { toAmount } from '../../commonStateTypes/amount';
|
|
4
|
+
import { clearAll } from '../../rootActions';
|
|
4
5
|
import { toCardStatusCodeType } from './chargeCard';
|
|
5
6
|
import { mapChargeCardPayloadToChargeCard, } from './chargeCardPayload';
|
|
6
7
|
export const initialState = {
|
|
@@ -75,6 +76,11 @@ const chargeCard = createSlice({
|
|
|
75
76
|
draft.chargeCardByID = {};
|
|
76
77
|
},
|
|
77
78
|
},
|
|
79
|
+
extraReducers: (builder) => {
|
|
80
|
+
builder.addCase(clearAll, (draft) => {
|
|
81
|
+
draft.chargeCardByID = {};
|
|
82
|
+
});
|
|
83
|
+
},
|
|
78
84
|
});
|
|
79
85
|
export const { updateChargeCards, updateChargeCard, updateChargeCardStatusFromPusher, updateChargeCardSpendingFromPusher, removeChargeCard, clearAllChargeCards, } = chargeCard.actions;
|
|
80
86
|
export default chargeCard.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
import { mapChargeCardRepaymentPayloadToChargeCardRepayment, } from './chargeCardRepaymentPayload';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
chargeCardRepaymentByID: {},
|
|
@@ -32,6 +33,11 @@ const chargeCard = createSlice({
|
|
|
32
33
|
draft.chargeCardRepaymentByID = {};
|
|
33
34
|
},
|
|
34
35
|
},
|
|
36
|
+
extraReducers: (builder) => {
|
|
37
|
+
builder.addCase(clearAll, (draft) => {
|
|
38
|
+
draft.chargeCardRepaymentByID = {};
|
|
39
|
+
});
|
|
40
|
+
},
|
|
35
41
|
});
|
|
36
42
|
export const { updateChargeCardRepayments, updateChargeCardRepayment, removeChargeCardRepayment, clearAllChargeCardRepayments, } = chargeCard.actions;
|
|
37
43
|
export default chargeCard.reducer;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import { addChargeCardTransactionFromPusher, addDeclinedChargeCardTransactionFromPusher, } from '../../commonStateTypes/pusherActions';
|
|
3
|
+
import { clearAll } from '../../rootActions';
|
|
3
4
|
import { toCardTransactionStatusCode, } from './chargeCardTransaction';
|
|
4
5
|
import { toChargeCardTransaction, } from './chargeCardTransactionPayload';
|
|
5
6
|
export const initialState = {
|
|
@@ -83,6 +84,9 @@ const chargeCardTransaction = createSlice({
|
|
|
83
84
|
const entity = toChargeCardTransaction(action.payload.transaction);
|
|
84
85
|
draft.chargeCardTransactionById[entity.id] = entity;
|
|
85
86
|
});
|
|
87
|
+
builder.addCase(clearAll, (draft) => {
|
|
88
|
+
draft.chargeCardTransactionById = {};
|
|
89
|
+
});
|
|
86
90
|
},
|
|
87
91
|
});
|
|
88
92
|
export const { updateChargeCardTransactions, updateChargeCardTransaction, updateChargeCardTransactionAttachments, updateChargeCardTransactionStatusFromPusher, updateChargeCardTransactionFromPusher, updateChargeCardTransactionReceiptFromPusher, removeChargeCardTransaction, removeChargeCardTransactionAttachmentByThirdPartyTransactionId, clearAllChargeCardTransactions, } = chargeCardTransaction.actions;
|
|
@@ -3,6 +3,7 @@ import assignWith from 'lodash/assignWith';
|
|
|
3
3
|
import recordGet from 'lodash/get';
|
|
4
4
|
import { mapCOABalanceGroupedByPeriodPayloadV2ToCOABalanceGroupedByPeriod } from '../../commonPayloadTypes/v2/coaBalancePayload';
|
|
5
5
|
import { getParentClassId } from '../../commonStateTypes/classesView/getNestedClassIDHierarchyForReport';
|
|
6
|
+
import { clearAll } from '../../rootActions';
|
|
6
7
|
import { mapClassBasePayloadToClass, } from './classPayload';
|
|
7
8
|
import { getClassKey, } from './classState';
|
|
8
9
|
export const initialState = {
|
|
@@ -48,6 +49,11 @@ const classes = createSlice({
|
|
|
48
49
|
Object.assign(draft, initialState);
|
|
49
50
|
},
|
|
50
51
|
},
|
|
52
|
+
extraReducers: (builder) => {
|
|
53
|
+
builder.addCase(clearAll, (draft) => {
|
|
54
|
+
Object.assign(draft, initialState);
|
|
55
|
+
});
|
|
56
|
+
},
|
|
51
57
|
});
|
|
52
58
|
export const { updateClasses, updateClassesWithBalancesV2, clearAllClasses } = classes.actions;
|
|
53
59
|
export default classes.reducer;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import isEmpty from 'lodash/isEmpty';
|
|
3
3
|
import isEqual from 'lodash/isEqual';
|
|
4
|
+
import { clearAll } from '../../rootActions';
|
|
4
5
|
import { dateNow, getBusinessDayOfDate } from '../../zeniDayJS';
|
|
5
6
|
import { toCompany, toOnboardingInfo, } from './companyPayload';
|
|
6
7
|
export const initialState = {
|
|
@@ -192,6 +193,16 @@ const company = createSlice({
|
|
|
192
193
|
},
|
|
193
194
|
},
|
|
194
195
|
},
|
|
196
|
+
extraReducers: (builder) => {
|
|
197
|
+
builder.addCase(clearAll, (draft, action) => {
|
|
198
|
+
// `!== false` rather than `!`: the flag is required at the type level, but an
|
|
199
|
+
// untyped or stale-build caller doing `clearAll()` would send `undefined`,
|
|
200
|
+
// and defaulting that to "wipe" is the dangerous direction. Keep is safe.
|
|
201
|
+
if (action.payload.keepTenantCompanyState === false) {
|
|
202
|
+
Object.assign(draft, initialState);
|
|
203
|
+
}
|
|
204
|
+
});
|
|
205
|
+
},
|
|
195
206
|
});
|
|
196
207
|
export const { updateCompanies, updateCompanyMonthEndReportSentDate, removeCompany, clearAllCompanies, updateOnboardingCompanies, updateOnboardingCompletedCompanies, removeOnboardingCompany, removeOnboardingCompletedCompany, toggleCompanyMonthEndReportDraftFlag, updateQBOConnectionStatusForCompany, updateOnboardingInfoOnRetryBankAccountConnectionSuccess, updateCompanyPrimaryAccount, updateEnableAutoPayForChargeCard, updateInternationalWireOnboardingStatus, } = company.actions;
|
|
197
208
|
export default company.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
import { toCompanyHealthMetrics, } from './companyHealthMetricPayload';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
companyHealthStateByCompanyId: {},
|
|
@@ -24,6 +25,11 @@ const companyHealthMetric = createSlice({
|
|
|
24
25
|
Object.assign(draft, initialState);
|
|
25
26
|
},
|
|
26
27
|
},
|
|
28
|
+
extraReducers: (builder) => {
|
|
29
|
+
builder.addCase(clearAll, (draft) => {
|
|
30
|
+
Object.assign(draft, initialState);
|
|
31
|
+
});
|
|
32
|
+
},
|
|
27
33
|
});
|
|
28
34
|
export default companyHealthMetric.reducer;
|
|
29
35
|
export const { clearCompanyHealthMetric, updateCompaniesHealth, updateCompanyHealth, } = companyHealthMetric.actions;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
import { mapConnectedAccountPayloadToConnectedAccountState, } from './connectedAccountPayload';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
connectedAccountByID: {},
|
|
@@ -18,6 +19,11 @@ const connectedAccount = createSlice({
|
|
|
18
19
|
draft.connectedAccountByID = {};
|
|
19
20
|
},
|
|
20
21
|
},
|
|
22
|
+
extraReducers: (builder) => {
|
|
23
|
+
builder.addCase(clearAll, (draft) => {
|
|
24
|
+
draft.connectedAccountByID = {};
|
|
25
|
+
});
|
|
26
|
+
},
|
|
21
27
|
});
|
|
22
28
|
export const { updateConnectedAccount, removeConnectedAccount, clearAllConnectedAccounts, } = connectedAccount.actions;
|
|
23
29
|
export default connectedAccount.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
import { toCountry } from './payloads/countryListPayload';
|
|
3
4
|
export const initialCountryList = {
|
|
4
5
|
countries: [],
|
|
@@ -23,6 +24,11 @@ const countryList = createSlice({
|
|
|
23
24
|
Object.assign(draft, initialState);
|
|
24
25
|
},
|
|
25
26
|
},
|
|
27
|
+
extraReducers: (builder) => {
|
|
28
|
+
builder.addCase(clearAll, (draft) => {
|
|
29
|
+
Object.assign(draft, initialState);
|
|
30
|
+
});
|
|
31
|
+
},
|
|
26
32
|
});
|
|
27
33
|
export const { updateCountryList, clearCountryList } = countryList.actions;
|
|
28
34
|
export default countryList.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
import { toCardTenantProfileRow, toMacro, } from './creditAgentPayload';
|
|
3
4
|
export const initialCreditAgentEntityState = {
|
|
4
5
|
macro: undefined,
|
|
@@ -28,6 +29,11 @@ const creditAgent = createSlice({
|
|
|
28
29
|
Object.assign(draft, initialCreditAgentEntityState);
|
|
29
30
|
},
|
|
30
31
|
},
|
|
32
|
+
extraReducers: (builder) => {
|
|
33
|
+
builder.addCase(clearAll, (draft) => {
|
|
34
|
+
Object.assign(draft, initialCreditAgentEntityState);
|
|
35
|
+
});
|
|
36
|
+
},
|
|
31
37
|
});
|
|
32
38
|
export const { clearAllCreditAgent, updateCreditAgentMacro, updateCreditAgentRow, updateCreditAgentRows, } = creditAgent.actions;
|
|
33
39
|
export default creditAgent.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
import { mapCurrencyCountryPayloadToCurrencyCountryMapping, } from './currencyPayload';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
currencyByCountryCode: {},
|
|
@@ -22,6 +23,11 @@ const currency = createSlice({
|
|
|
22
23
|
draft.currencyByCountryCode = {};
|
|
23
24
|
},
|
|
24
25
|
},
|
|
26
|
+
extraReducers: (builder) => {
|
|
27
|
+
builder.addCase(clearAll, (draft) => {
|
|
28
|
+
draft.currencyByCountryCode = {};
|
|
29
|
+
});
|
|
30
|
+
},
|
|
25
31
|
});
|
|
26
32
|
export const { updateCurrencies, updateCurrency, clearAllCurrencies } = currency.actions;
|
|
27
33
|
export default currency.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
import { toCustomer } from './customerPayload';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
byCustomerId: {},
|
|
@@ -35,6 +36,11 @@ const customer = createSlice({
|
|
|
35
36
|
Object.assign(draft, initialState);
|
|
36
37
|
},
|
|
37
38
|
},
|
|
39
|
+
extraReducers: (builder) => {
|
|
40
|
+
builder.addCase(clearAll, (draft) => {
|
|
41
|
+
Object.assign(draft, initialState);
|
|
42
|
+
});
|
|
43
|
+
},
|
|
38
44
|
});
|
|
39
45
|
export const { updateCustomers, updateCustomer, removeCustomer, clearAllCustomers, } = customer.actions;
|
|
40
46
|
export default customer.reducer;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import { mapCOABalanceGroupedPayloadToCOABalanceGrouped, } from '../../commonPayloadTypes/coaBalancePayload';
|
|
3
3
|
import { toTimePeriod, } from '../../commonStateTypes/timeframeTick';
|
|
4
|
+
import { clearAll } from '../../rootActions';
|
|
4
5
|
import { mapInsightsPayloadtoInsightsState, } from '../insights/insightSummaryPayload';
|
|
5
6
|
import { getCustomerIncomeTrendKey, } from './customerIncomeTrendState';
|
|
6
7
|
export const initialState = {
|
|
@@ -24,6 +25,11 @@ const customer = createSlice({
|
|
|
24
25
|
draft.customerIncomeTrendByPeriod = {};
|
|
25
26
|
},
|
|
26
27
|
},
|
|
28
|
+
extraReducers: (builder) => {
|
|
29
|
+
builder.addCase(clearAll, (draft) => {
|
|
30
|
+
draft.customerIncomeTrendByPeriod = {};
|
|
31
|
+
});
|
|
32
|
+
},
|
|
27
33
|
});
|
|
28
34
|
export const { updateCustomerIncomeTrend, clearAllCustomerIncomeTrend } = customer.actions;
|
|
29
35
|
export default customer.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
import { toCustomerSatisfaction } from './customerSatisfactionReducerHelpers';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
customerSatisfactionByCompanyId: {},
|
|
@@ -18,6 +19,9 @@ const customerSatisfaction = createSlice({
|
|
|
18
19
|
return initialState;
|
|
19
20
|
},
|
|
20
21
|
},
|
|
22
|
+
extraReducers: (builder) => {
|
|
23
|
+
builder.addCase(clearAll, () => initialState);
|
|
24
|
+
},
|
|
21
25
|
});
|
|
22
26
|
export const { clearAllCustomerSatisfaction, updateCustomerSatisfaction } = customerSatisfaction.actions;
|
|
23
27
|
export default customerSatisfaction.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
import { mapDepositAccountPayloadToDepositAccountState, mapDepositAccountWithLimitPayloadToDepositAccountWithLimit, } from './depositAccountPayload';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
depositAccountByID: {},
|
|
@@ -26,6 +27,13 @@ const depositAccount = createSlice({
|
|
|
26
27
|
draft.depositAccountByID = {};
|
|
27
28
|
},
|
|
28
29
|
},
|
|
30
|
+
extraReducers: (builder) => {
|
|
31
|
+
builder.addCase(clearAll, (draft) => {
|
|
32
|
+
// Full reset rather than mirroring clearAllDepositAccounts, which leaves
|
|
33
|
+
// depositAccountLimitForChargeCardByID holding the previous tenant's limits.
|
|
34
|
+
Object.assign(draft, initialState);
|
|
35
|
+
});
|
|
36
|
+
},
|
|
29
37
|
});
|
|
30
38
|
export const { updateDepositAccounts, removeDepositAccount, updateDepositAccountLimitsForChargeCard, clearAllDepositAccounts, } = depositAccount.actions;
|
|
31
39
|
export default depositAccount.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
import { toDepositAccountTransaction, } from './depositAccountTransactionPayload';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
byTransactionId: {},
|
|
@@ -20,6 +21,11 @@ const depositAccountTransaction = createSlice({
|
|
|
20
21
|
draft.byTransactionId = {};
|
|
21
22
|
},
|
|
22
23
|
},
|
|
24
|
+
extraReducers: (builder) => {
|
|
25
|
+
builder.addCase(clearAll, (draft) => {
|
|
26
|
+
draft.byTransactionId = {};
|
|
27
|
+
});
|
|
28
|
+
},
|
|
23
29
|
});
|
|
24
30
|
export const { updateDepositAccountTransactions, removeDepositAccountTransaction, clearDepositAccountTransaction, } = depositAccountTransaction.actions;
|
|
25
31
|
export default depositAccountTransaction.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
import { toEntityApprovalStatus, } from './entityApprovalStatusPayload';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
entityApprovalStatusById: {},
|
|
@@ -18,6 +19,11 @@ const entityApprovalStatus = createSlice({
|
|
|
18
19
|
draft.entityApprovalStatusById = {};
|
|
19
20
|
},
|
|
20
21
|
},
|
|
22
|
+
extraReducers: (builder) => {
|
|
23
|
+
builder.addCase(clearAll, (draft) => {
|
|
24
|
+
draft.entityApprovalStatusById = {};
|
|
25
|
+
});
|
|
26
|
+
},
|
|
21
27
|
});
|
|
22
28
|
export const { updateEntityApprovalStatus, removeEntityApprovalStatus, clearAllEntityApprovalStatus, } = entityApprovalStatus.actions;
|
|
23
29
|
export default entityApprovalStatus.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
import { date } from '../../zeniDayJS';
|
|
3
4
|
import { toZeniUrl } from '../../zeniUrl';
|
|
4
5
|
import { toSupportedAttachmentFileFormatType, } from './fileState';
|
|
@@ -32,6 +33,11 @@ const user = createSlice({
|
|
|
32
33
|
Object.assign(draft, initialState);
|
|
33
34
|
},
|
|
34
35
|
},
|
|
36
|
+
extraReducers: (builder) => {
|
|
37
|
+
builder.addCase(clearAll, (draft) => {
|
|
38
|
+
Object.assign(draft, initialState);
|
|
39
|
+
});
|
|
40
|
+
},
|
|
35
41
|
});
|
|
36
42
|
export const { updateFiles, removeFiles, updateAttachmentFiles, removeAttachmentFiles, clearAllFiles, } = user.actions;
|
|
37
43
|
export default user.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
import { toForecast } from './forecastPayload';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
forecastsByID: {},
|
|
@@ -21,6 +22,11 @@ const forecast = createSlice({
|
|
|
21
22
|
Object.assign(draft, initialState);
|
|
22
23
|
},
|
|
23
24
|
},
|
|
25
|
+
extraReducers: (builder) => {
|
|
26
|
+
builder.addCase(clearAll, (draft) => {
|
|
27
|
+
Object.assign(draft, initialState);
|
|
28
|
+
});
|
|
29
|
+
},
|
|
24
30
|
});
|
|
25
31
|
export const { updateForecasts, updateForecast, clearAllForecasts } = forecast.actions;
|
|
26
32
|
export default forecast.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
import { mapEntityPayloadToEntity } from './entityPayload';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
entityById: {},
|
|
@@ -21,6 +22,11 @@ const entity = createSlice({
|
|
|
21
22
|
Object.assign(draft, initialState);
|
|
22
23
|
},
|
|
23
24
|
},
|
|
25
|
+
extraReducers: (builder) => {
|
|
26
|
+
builder.addCase(clearAll, (draft) => {
|
|
27
|
+
Object.assign(draft, initialState);
|
|
28
|
+
});
|
|
29
|
+
},
|
|
24
30
|
});
|
|
25
31
|
export const { updateEntities, clearAllEntities } = entity.actions;
|
|
26
32
|
export default entity.reducer;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import assignWith from 'lodash/assignWith';
|
|
3
|
+
import { clearAll } from '../../rootActions';
|
|
3
4
|
import { toGlobalMerchant, toGlobalMerchantBase, toTenantMerchant, } from './globalMerchantPayload';
|
|
4
5
|
import { getTenantMerchantKey, } from './globalMerchantState';
|
|
5
6
|
export const initialState = {
|
|
@@ -43,6 +44,11 @@ const globalMerchant = createSlice({
|
|
|
43
44
|
Object.assign(draft, initialState);
|
|
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 { updateGlobalMerchantsBase, updateGlobalMerchants, removeGlobalMerchant, removeGlobalMerchants, updateTenantMerchants, removeTenantMerchant, clearTenantMerchants, clearGlobalMerchants, clearAllGlobalMerchants, } = globalMerchant.actions;
|
|
48
54
|
export default globalMerchant.reducer;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import assignWith from 'lodash/assignWith';
|
|
3
|
+
import { clearAll } from '../../rootActions';
|
|
3
4
|
import { date } from '../../zeniDayJS';
|
|
4
5
|
import { toZeniUrl } from '../../zeniUrl';
|
|
5
6
|
export const initialState = {
|
|
@@ -21,6 +22,11 @@ const insights = createSlice({
|
|
|
21
22
|
Object.assign(draft, initialState);
|
|
22
23
|
},
|
|
23
24
|
},
|
|
25
|
+
extraReducers: (builder) => {
|
|
26
|
+
builder.addCase(clearAll, (draft) => {
|
|
27
|
+
Object.assign(draft, initialState);
|
|
28
|
+
});
|
|
29
|
+
},
|
|
24
30
|
});
|
|
25
31
|
export const { updateInsights, clearAllInsights } = insights.actions;
|
|
26
32
|
export default insights.reducer;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import assignWith from 'lodash/assignWith';
|
|
3
|
+
import { clearAll } from '../../../rootActions';
|
|
3
4
|
import { mapInvoicingCouponPayloadToState, } from './couponPayload';
|
|
4
5
|
export const initialState = { couponByID: {} };
|
|
5
6
|
const coupon = createSlice({
|
|
@@ -21,6 +22,11 @@ const coupon = createSlice({
|
|
|
21
22
|
Object.assign(draft, initialState);
|
|
22
23
|
},
|
|
23
24
|
},
|
|
25
|
+
extraReducers: (builder) => {
|
|
26
|
+
builder.addCase(clearAll, (draft) => {
|
|
27
|
+
Object.assign(draft, initialState);
|
|
28
|
+
});
|
|
29
|
+
},
|
|
24
30
|
});
|
|
25
31
|
export const { updateInvoicingCoupons, removeInvoicingCoupon, clearAllInvoicingCoupons, } = coupon.actions;
|
|
26
32
|
export default coupon.reducer;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import assignWith from 'lodash/assignWith';
|
|
3
|
+
import { clearAll } from '../../../rootActions';
|
|
3
4
|
import { mapInvoicingCreditNotePayloadToState, } from './creditNotePayload';
|
|
4
5
|
export const initialState = {
|
|
5
6
|
creditNoteByID: {},
|
|
@@ -23,6 +24,11 @@ const creditNote = createSlice({
|
|
|
23
24
|
Object.assign(draft, initialState);
|
|
24
25
|
},
|
|
25
26
|
},
|
|
27
|
+
extraReducers: (builder) => {
|
|
28
|
+
builder.addCase(clearAll, (draft) => {
|
|
29
|
+
Object.assign(draft, initialState);
|
|
30
|
+
});
|
|
31
|
+
},
|
|
26
32
|
});
|
|
27
33
|
export const { updateInvoicingCreditNotes, removeInvoicingCreditNote, clearAllInvoicingCreditNotes, } = creditNote.actions;
|
|
28
34
|
export default creditNote.reducer;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import assignWith from 'lodash/assignWith';
|
|
3
|
+
import { clearAll } from '../../../rootActions';
|
|
3
4
|
import { mapInvoicingDunningCasePayloadToState, } from './dunningCasePayload';
|
|
4
5
|
export const initialState = {
|
|
5
6
|
dunningCaseByID: {},
|
|
@@ -23,6 +24,11 @@ const dunningCase = createSlice({
|
|
|
23
24
|
Object.assign(draft, initialState);
|
|
24
25
|
},
|
|
25
26
|
},
|
|
27
|
+
extraReducers: (builder) => {
|
|
28
|
+
builder.addCase(clearAll, (draft) => {
|
|
29
|
+
Object.assign(draft, initialState);
|
|
30
|
+
});
|
|
31
|
+
},
|
|
26
32
|
});
|
|
27
33
|
export const { updateInvoicingDunningCases, removeInvoicingDunningCase, clearAllInvoicingDunningCases, } = dunningCase.actions;
|
|
28
34
|
export default dunningCase.reducer;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import assignWith from 'lodash/assignWith';
|
|
3
|
+
import { clearAll } from '../../../rootActions';
|
|
3
4
|
import { mapInvoicingInvoicePayloadToState, } from './invoicePayload';
|
|
4
5
|
export const initialState = {
|
|
5
6
|
invoiceByID: {},
|
|
@@ -23,6 +24,11 @@ const invoice = createSlice({
|
|
|
23
24
|
Object.assign(draft, initialState);
|
|
24
25
|
},
|
|
25
26
|
},
|
|
27
|
+
extraReducers: (builder) => {
|
|
28
|
+
builder.addCase(clearAll, (draft) => {
|
|
29
|
+
Object.assign(draft, initialState);
|
|
30
|
+
});
|
|
31
|
+
},
|
|
26
32
|
});
|
|
27
33
|
export const { updateInvoices, removeInvoice, clearAllInvoices } = invoice.actions;
|
|
28
34
|
export default invoice.reducer;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import assignWith from 'lodash/assignWith';
|
|
3
|
+
import { clearAll } from '../../../rootActions';
|
|
3
4
|
import { mapInvoicingCustomerPayloadToState, } from './invoicingCustomerPayload';
|
|
4
5
|
export const initialState = { customerByID: {} };
|
|
5
6
|
const customer = createSlice({
|
|
@@ -21,6 +22,11 @@ const customer = createSlice({
|
|
|
21
22
|
Object.assign(draft, initialState);
|
|
22
23
|
},
|
|
23
24
|
},
|
|
25
|
+
extraReducers: (builder) => {
|
|
26
|
+
builder.addCase(clearAll, (draft) => {
|
|
27
|
+
Object.assign(draft, initialState);
|
|
28
|
+
});
|
|
29
|
+
},
|
|
24
30
|
});
|
|
25
31
|
export const { updateInvoicingCustomers, removeInvoicingCustomer, clearAllInvoicingCustomers, } = customer.actions;
|
|
26
32
|
export default customer.reducer;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import assignWith from 'lodash/assignWith';
|
|
3
|
+
import { clearAll } from '../../../rootActions';
|
|
3
4
|
import { mapInvoicingSubscriptionPayloadToState, } from './invoicingSubscriptionPayload';
|
|
4
5
|
export const initialState = {
|
|
5
6
|
invoicingSubscriptionByID: {},
|
|
@@ -23,6 +24,11 @@ const invoicingSubscription = createSlice({
|
|
|
23
24
|
Object.assign(draft, initialState);
|
|
24
25
|
},
|
|
25
26
|
},
|
|
27
|
+
extraReducers: (builder) => {
|
|
28
|
+
builder.addCase(clearAll, (draft) => {
|
|
29
|
+
Object.assign(draft, initialState);
|
|
30
|
+
});
|
|
31
|
+
},
|
|
26
32
|
});
|
|
27
33
|
export const { updateInvoicingSubscriptions, removeInvoicingSubscription, clearAllInvoicingSubscriptions, } = invoicingSubscription.actions;
|
|
28
34
|
export default invoicingSubscription.reducer;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import assignWith from 'lodash/assignWith';
|
|
3
|
+
import { clearAll } from '../../../rootActions';
|
|
3
4
|
import { mapInvoicingTransactionPayloadToState, } from './invoicingTransactionPayload';
|
|
4
5
|
export const initialState = {
|
|
5
6
|
invoicingTransactionByID: {},
|
|
@@ -23,6 +24,11 @@ const invoicingTransaction = createSlice({
|
|
|
23
24
|
Object.assign(draft, initialState);
|
|
24
25
|
},
|
|
25
26
|
},
|
|
27
|
+
extraReducers: (builder) => {
|
|
28
|
+
builder.addCase(clearAll, (draft) => {
|
|
29
|
+
Object.assign(draft, initialState);
|
|
30
|
+
});
|
|
31
|
+
},
|
|
26
32
|
});
|
|
27
33
|
export const { updateInvoicingTransactions, removeInvoicingTransaction, clearAllInvoicingTransactions, } = invoicingTransaction.actions;
|
|
28
34
|
export default invoicingTransaction.reducer;
|