@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,6 +1,7 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import { mapBalancePayloadToBalance } from '../../commonPayloadTypes/balanceChangePayload';
|
|
3
3
|
import { mapReportPayloadToReport } from '../../commonPayloadTypes/viewAndReportPayload';
|
|
4
|
+
import { clearAll } from '../../rootActions';
|
|
4
5
|
export const initialState = {
|
|
5
6
|
fetchState: 'Not-Started',
|
|
6
7
|
error: undefined,
|
|
@@ -46,6 +47,11 @@ const cashBalance = createSlice({
|
|
|
46
47
|
Object.assign(draft, initialState);
|
|
47
48
|
},
|
|
48
49
|
},
|
|
50
|
+
extraReducers: (builder) => {
|
|
51
|
+
builder.addCase(clearAll, (draft) => {
|
|
52
|
+
Object.assign(draft, initialState);
|
|
53
|
+
});
|
|
54
|
+
},
|
|
49
55
|
});
|
|
50
56
|
export const { fetchCashBalance, updateCashBalance, updateCashBalanceFailure, clearCashBalance, } = cashBalance.actions;
|
|
51
57
|
export default cashBalance.reducer;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import { mapReportPayloadV2ToReportV2 } from '../../commonPayloadTypes/v2/viewAndReportPayloadv2';
|
|
3
|
+
import { clearAll } from '../../rootActions';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
fetchState: {
|
|
5
6
|
month: {
|
|
@@ -95,6 +96,11 @@ const cashFlow = createSlice({
|
|
|
95
96
|
Object.assign(draft, initialState);
|
|
96
97
|
},
|
|
97
98
|
},
|
|
99
|
+
extraReducers: (builder) => {
|
|
100
|
+
builder.addCase(clearAll, (draft) => {
|
|
101
|
+
Object.assign(draft, initialState);
|
|
102
|
+
});
|
|
103
|
+
},
|
|
98
104
|
});
|
|
99
105
|
export const { fetchCashFlow, fetchCashFlowForTimeframe, updateCashFlowForTimeframe, updateCashFlowForTimeframeFailure, updateCashFlowUIState, resetCashFlowNodeCollapseState, clearCashFlow, } = cashFlow.actions;
|
|
100
106
|
export default cashFlow.reducer;
|
|
@@ -4,6 +4,7 @@ import { mapReportPayloadToReport } from '../../commonPayloadTypes/viewAndReport
|
|
|
4
4
|
import { getDataAvailableDateRange, getNumberOfPeriods, } from '../../commonStateTypes/dataAvailable';
|
|
5
5
|
import { extractThisPeriod, getMatchingThisPeriod, } from '../../commonStateTypes/viewAndReport/thisPeriodHelpers';
|
|
6
6
|
import { mapInsightsPayloadtoInsightsState } from '../../entity/insights/insightSummaryPayload';
|
|
7
|
+
import { clearAll } from '../../rootActions';
|
|
7
8
|
import { getAvailableCOABalancesWithMostRecentNonZeroBalance, getInitialSelectedAndHighlightedRanges, getSelectedAndHighlightedRangesForNewSelection, getSelectedAndHighlightedRangesForThisPeriod, } from '../common/getSelectedAndHighlightedRanges';
|
|
8
9
|
export const defaultPeriods = {
|
|
9
10
|
numberOfPeriods: 5,
|
|
@@ -230,6 +231,11 @@ const cashInCashOut = createSlice({
|
|
|
230
231
|
}
|
|
231
232
|
},
|
|
232
233
|
},
|
|
234
|
+
extraReducers: (builder) => {
|
|
235
|
+
builder.addCase(clearAll, (draft) => {
|
|
236
|
+
Object.assign(draft, initialState);
|
|
237
|
+
});
|
|
238
|
+
},
|
|
233
239
|
});
|
|
234
240
|
export const { fetchCashInCashOut, updateCashInCashOut, updateCashInCashOutFailure, clearCashInCashOut, updateCashInCashOutCOABalancesRange, updateCashInCashOutAdditionalBalancesSelection, updateCashInCashOutThisPeriod, updateCashInCashOutDownloadState, updateCashInCashOutUIState, } = cashInCashOut.actions;
|
|
235
241
|
export default cashInCashOut.reducer;
|
|
@@ -4,6 +4,7 @@ import { mapReportPayloadToReport } from '../../commonPayloadTypes/viewAndReport
|
|
|
4
4
|
import { getDataAvailableDateRange, getNumberOfPeriods, } from '../../commonStateTypes/dataAvailable';
|
|
5
5
|
import { extractThisPeriod, getMatchingThisPeriod, } from '../../commonStateTypes/viewAndReport/thisPeriodHelpers';
|
|
6
6
|
import { mapInsightsPayloadtoInsightsState } from '../../entity/insights/insightSummaryPayload';
|
|
7
|
+
import { clearAll } from '../../rootActions';
|
|
7
8
|
import { getAvailableCOABalancesWithMostRecentNonZeroBalance, getInitialSelectedAndHighlightedRanges, getSelectedAndHighlightedRangesForNewSelection, getSelectedAndHighlightedRangesForThisPeriod, } from '../common/getSelectedAndHighlightedRanges';
|
|
8
9
|
export const defaultPeriods = {
|
|
9
10
|
numberOfPeriods: 8,
|
|
@@ -254,6 +255,11 @@ const cashPosition = createSlice({
|
|
|
254
255
|
}
|
|
255
256
|
},
|
|
256
257
|
},
|
|
258
|
+
extraReducers: (builder) => {
|
|
259
|
+
builder.addCase(clearAll, (draft) => {
|
|
260
|
+
Object.assign(draft, initialState);
|
|
261
|
+
});
|
|
262
|
+
},
|
|
257
263
|
});
|
|
258
264
|
export const { fetchCashPosition, updateCashPosition, updateCashPositionFailure, clearCashPosition, updateCashPositionTimeFrame, updateCashPositionCOABalancesRange, updateCashPositionAdditionalBalancesSelection, updateCashPositionThisPeriod, updateCashPositionDownloadState, updateCashPositionUIState, } = cashPosition.actions;
|
|
259
265
|
export default cashPosition.reducer;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import { geNestedClassIDHierarchyForReport } from '../../commonStateTypes/classesView/getNestedClassIDHierarchyForReport';
|
|
3
3
|
import { toClassMetadata } from '../../entity/class/classPayload';
|
|
4
|
+
import { clearAll } from '../../rootActions';
|
|
4
5
|
export const initialState = {
|
|
5
6
|
fetchState: 'Not-Started',
|
|
6
7
|
error: undefined,
|
|
@@ -40,6 +41,11 @@ const classList = createSlice({
|
|
|
40
41
|
Object.assign(draft, initialState);
|
|
41
42
|
},
|
|
42
43
|
},
|
|
44
|
+
extraReducers: (builder) => {
|
|
45
|
+
builder.addCase(clearAll, (draft) => {
|
|
46
|
+
Object.assign(draft, initialState);
|
|
47
|
+
});
|
|
48
|
+
},
|
|
43
49
|
});
|
|
44
50
|
export const { fetchClassList, updateClassList, updateClassListFailure, clearClassList, } = classList.actions;
|
|
45
51
|
export default classList.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
export const initialVendorDetailLocalData = {};
|
|
3
4
|
export const initialState = {
|
|
4
5
|
newVendorState: {
|
|
@@ -134,6 +135,11 @@ const transactionVendorView = createSlice({
|
|
|
134
135
|
Object.assign(draft, initialState);
|
|
135
136
|
},
|
|
136
137
|
},
|
|
138
|
+
extraReducers: (builder) => {
|
|
139
|
+
builder.addCase(clearAll, (draft) => {
|
|
140
|
+
Object.assign(draft, initialState);
|
|
141
|
+
});
|
|
142
|
+
},
|
|
137
143
|
});
|
|
138
144
|
export const { updateVendorSaveStatus, saveTransactionVendor, saveTransactionVendorSuccessOrFailure, updateTransactionVendorLocalData, resetTransactionVendorLocalData, clearTransactionVendorSaveStatus, clearVendorView, } = transactionVendorView.actions;
|
|
139
145
|
export default transactionVendorView.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
export const initialVendorDetailLocalData = {
|
|
3
4
|
contacts: [],
|
|
4
5
|
bankAccountIds: [],
|
|
@@ -644,6 +645,11 @@ const vendorView = createSlice({
|
|
|
644
645
|
Object.assign(draft, initialState);
|
|
645
646
|
},
|
|
646
647
|
},
|
|
648
|
+
extraReducers: (builder) => {
|
|
649
|
+
builder.addCase(clearAll, (draft) => {
|
|
650
|
+
Object.assign(draft, initialState);
|
|
651
|
+
});
|
|
652
|
+
},
|
|
647
653
|
});
|
|
648
654
|
export const { fetchVendorDetails, fetchVendor, updateVendorFetchStatus, updateVendorSaveStatus, updateBankAccountsInVendorView, removeBankAccountsInVendorView, updatePaymentInstrumentsInVendorView, removePaymentInstrumentsInVendorView, updateCountryCurrencyInVendorView, saveVendor, saveVendorSuccessOrFailure, updateSelectedVendorForCreateFlow, initializeVendorAddress, updateVendorDetailLocalData, resetVendorDetailLocalData, resetVendorSaveStatus, updateContactsInVendorDetailLocalData, fetchVendorDetailPageView, fetchUserDetails, fetchUserDetailsSuccess, fetchUserDetailsFailure, sendOtpVendorView, sendOtpVendorViewSuccess, sendOtpVendorViewFailure, resendOtpVendorView, verifyOtpVendorView, verifyOtpVendorViewSuccess, verifyOtpVendorViewFailure, verifyUser, verifyUserSuccess, verifyUserFailure, clearVendorView, fetchAndUpdateVendorRecommendations, updateRecommendationsInVendorDetailLocalData, waitForVendorRecommendationAndUpdatedRecommendationByLineId, indicateReadyToInitializeBillLocalStore, } = vendorView.actions;
|
|
649
655
|
export default vendorView.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
export const initialVendorDetailLocalData = {
|
|
3
4
|
contacts: [],
|
|
4
5
|
vendorId: undefined,
|
|
@@ -225,6 +226,11 @@ const vendorsTabVendorView = createSlice({
|
|
|
225
226
|
Object.assign(draft, initialState);
|
|
226
227
|
},
|
|
227
228
|
},
|
|
229
|
+
extraReducers: (builder) => {
|
|
230
|
+
builder.addCase(clearAll, (draft) => {
|
|
231
|
+
Object.assign(draft, initialState);
|
|
232
|
+
});
|
|
233
|
+
},
|
|
228
234
|
});
|
|
229
235
|
export const { fetchVendorsTabVendorDetails, fetchVendorsTabVendor, updateVendorsTabVendorFetchStatus, updateVendorsTabVendorSaveStatus, vendorsTabSaveVendor, vendorsTabSaveVendorSuccessOrFailure, vendorsTabUpdateVendorDetailLocalData, vendorsTabResetVendorDetailLocalData, fetchVendorsTabVendorDetailPageView, updateVendorsTabVendorAllTransactionsTabData, resetSelectedTabType, updateSelectedTabType, updateVendorSpendTrendFilterTabValue, resetVendorsTabVendorAllTransactionsTabData, updateContactsInVendorTabDetailLocalData, updateVendorTabDetailUIState, clearVendorsTabVendorView, } = vendorsTabVendorView.actions;
|
|
230
236
|
export default vendorsTabVendorView.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,
|
|
@@ -28,6 +29,11 @@ const companyConfig = createSlice({
|
|
|
28
29
|
Object.assign(draft, initialState);
|
|
29
30
|
},
|
|
30
31
|
},
|
|
32
|
+
extraReducers: (builder) => {
|
|
33
|
+
builder.addCase(clearAll, (draft) => {
|
|
34
|
+
Object.assign(draft, initialState);
|
|
35
|
+
});
|
|
36
|
+
},
|
|
31
37
|
});
|
|
32
38
|
export const { fetchCompanyConfig, updateCompanyConfig, updateCompanyConfigFailure, clearCompanyConfigView, } = companyConfig.actions;
|
|
33
39
|
export default companyConfig.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,
|
|
@@ -34,6 +35,9 @@ const companyHealthMetricConfigView = createSlice({
|
|
|
34
35
|
return initialState;
|
|
35
36
|
},
|
|
36
37
|
},
|
|
38
|
+
extraReducers: (builder) => {
|
|
39
|
+
builder.addCase(clearAll, () => initialState);
|
|
40
|
+
},
|
|
37
41
|
});
|
|
38
42
|
export const { clearCompanyHealthMetricConfigView, fetchCompanyHealthMetricConfig, updateCompanyHealthMetricConfig, updateCompanyHealthMetricConfigFailure, } = companyHealthMetricConfigView.actions;
|
|
39
43
|
export default companyHealthMetricConfigView.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
export const initialState = {
|
|
3
4
|
companyHealthMetricUpdateStatusById: {},
|
|
4
5
|
companyIds: [],
|
|
@@ -95,6 +96,11 @@ const companyMetricHealthView = createSlice({
|
|
|
95
96
|
Object.assign(draft, initialState);
|
|
96
97
|
},
|
|
97
98
|
},
|
|
99
|
+
extraReducers: (builder) => {
|
|
100
|
+
builder.addCase(clearAll, (draft) => {
|
|
101
|
+
Object.assign(draft, initialState);
|
|
102
|
+
});
|
|
103
|
+
},
|
|
98
104
|
});
|
|
99
105
|
export const { clearCompanyHealthMetricView, fetchCompanyHealthMetricView, initializeCompanyHealthMetricViewLocalData, removeSelectedCompanyId, saveCompanyHealthMetricById, saveCompanyHealthMetricByIdFailure, saveCompanyHealthMetricByIdSuccess, updateCompanyHealthMetricViewErrorStatus, updateCompanyHealthMetricViewSuccessStatus, updateCompanyHealthViewUIState, updateLocalStore, } = companyMetricHealthView.actions;
|
|
100
106
|
export default companyMetricHealthView.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
import { date as zeniDate } from '../../zeniDayJS';
|
|
3
4
|
import { getMonthEndReportHistoricDataKey, toCompanyMonthEndReportData, toMonthEndHistoricData, } from './companyMonthEndReportViewState';
|
|
4
5
|
export const initialState = {
|
|
@@ -333,6 +334,11 @@ const companyMonthEndReportView = createSlice({
|
|
|
333
334
|
Object.assign(draft, initialState);
|
|
334
335
|
},
|
|
335
336
|
},
|
|
337
|
+
extraReducers: (builder) => {
|
|
338
|
+
builder.addCase(clearAll, (draft) => {
|
|
339
|
+
Object.assign(draft, initialState);
|
|
340
|
+
});
|
|
341
|
+
},
|
|
336
342
|
});
|
|
337
343
|
export const { fetchImproveUsingZeniGPT, updateImproveUsingZeniGPTSuccess, updateImproveUsingZeniGPTFailure, fetchCompanyMonthEndReportView, updateCompanyMonthEndReportViewOnSuccess, updateCompanyMonthEndReportViewOnFailure, sendCompanyMonthEndReport, saveCompanyMonthEndReport, updateStatusForSendCompanyMonthEndReport, updateCompanyMonthEndReportDataOnSaveSuccess, updateStatusForCompanyMonthEndReportOnSaveFailure, clearCompanyMonthEndReportView, resetCompanyMonthEndReportFetchStatus, fetchCompanyMonthEndReportHistoricDates, updateCompanyMonthEndReportHistoricDatesOnFailure, updateCompanyMonthEndReportHistoricDatesOnSuccess, fetchCompanyMonthEndReportHistoricData, updateCompanyMonthEndReportHistoricDataOnFailure, updateCompanyMonthEndReportHistoricDataOnSuccess, fetchCompanyMonthEndReportTemplates, updateCompanyMonthEndReportTemplatesOnFailure, updateCompanyMonthEndReportTemplatesOnSuccess, resetSendCompanyMonthEndReportFetchStatus, } = companyMonthEndReportView.actions;
|
|
338
344
|
export default companyMonthEndReportView.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
export const initialUIState = {
|
|
3
4
|
filterText: '',
|
|
4
5
|
sortKey: 'dueDate',
|
|
@@ -117,6 +118,11 @@ const companyTaskManagerView = createSlice({
|
|
|
117
118
|
Object.assign(draft, initialState);
|
|
118
119
|
},
|
|
119
120
|
},
|
|
121
|
+
extraReducers: (builder) => {
|
|
122
|
+
builder.addCase(clearAll, (draft) => {
|
|
123
|
+
Object.assign(draft, initialState);
|
|
124
|
+
});
|
|
125
|
+
},
|
|
120
126
|
});
|
|
121
127
|
export const { fetchCompanyTaskManagerView, updateCompanyTaskManagerViewOnSuccess, updateCompanyTaskManagerViewOnFailure, fetchTaskManagerMetrics, updateTaskManagerMetrics, updateTaskManagerMetricsOnFailure, clearCompanyTaskManagerView, updateCompanyTaskManagerViewFilters, fetchCockpitContext, updateCockpitContextOnSuccess, updateCockpitContextOnFailure, } = companyTaskManagerView.actions;
|
|
122
128
|
export default companyTaskManagerView.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
import { initialParentSubsidiaryView } from './parentSubsidiaryView/parentSubsidiaryViewState';
|
|
3
4
|
import { getCompanyManagementPendingUpdates, getCompanyManagementUpdatesInProgress, initialCompanyManagementView, } from './types/companyManagementViewState';
|
|
4
5
|
import { getMetaDataByCompanyIds } from './types/companyMetaDataViewState';
|
|
@@ -693,6 +694,11 @@ const companyView = createSlice({
|
|
|
693
694
|
Object.assign(draft, initialState);
|
|
694
695
|
},
|
|
695
696
|
},
|
|
697
|
+
extraReducers: (builder) => {
|
|
698
|
+
builder.addCase(clearAll, (draft) => {
|
|
699
|
+
Object.assign(draft, initialState);
|
|
700
|
+
});
|
|
701
|
+
},
|
|
696
702
|
});
|
|
697
703
|
export const { fetchCompanyPassportView, fetchAllCockpitViews, fetchOnboardingView, fetchManagementView, fetchSubscriptionView, fetchPortfolioView, fetchCompanyManagementView, companyManagementSaveUpdates, companyManagementSavePendingUpdates, companyManagementDiscardUpdates, companyManagementSaveUpdatesSuccess, companyManagementSaveUpdatesFailure, updateCompanyViewOnSuccess, updateCompanyViewOnFailure, fetchCompanyPortfolioView, fetchZeniUsers, updateZeniUsersOnSuccess, updateZeniUsersOnFailure, clearCompanyView, updateCompanyPortfolioUIState, updateCompanyManagementUIState, companyPassportSaveDataInLocalStore, deleteCompanyOfficerInLocalStore, companyPassportClearDataInLocalStore, companyPassportUpdateCompanyDetails, companyPassportUpdateCompanyDetailsSuccess, companyPassportUpdateCompanyDetailsFailure, updateAccountingClassesEnabled, updateAccountingClassesEnabledSuccess, updateAccountingClassesEnabledFailure, enableAccountingProjects, resumeEnableAccountingProjects, disableAccountingProjects, updateAccountingProjectsEnabledSuccess, updateAccountingProjectsEnabledFailure, requestQboProjectsReconnect, clearQboProjectsReconnectRequest, updateCapitalizationAccountThreshold, updateCapitalizationAccountThresholdSuccess, updateCapitalizationAccountThresholdFailure, dismissCapitalizationOnboarding, companyPassportUpdatePrimaryContact, companyPassportUpdatePrimaryContactSuccess, companyPassportUpdatePrimaryContactFailure, companyPassportUpdateCompanyOfficer, companyPassportUpdateCompanyOfficerSuccess, companyPassportUpdateCompanyOfficerFailure, companyPassportCreateCompanyOfficers, companyPassportCreateCompanyOfficersSuccess, companyPassportCreateCompanyOfficersFailure, updateCompanyPassportLocalStoreData, saveIndustryAndIncDateInCompanyPassportLocalStore, saveCompanyPassportDetails, fetchParentSubsidiaryManagementView, updateParentSubsidiaryView, updateParentSubsidiaryViewOnFailure, updateCompanyDownloadState, fetchCompanyMetaData, updateCompanyMetaDataOnSuccess, updateCompanyMetaDataOnFailure, updateMetaDataOnSendMonthEndReport, } = companyView.actions;
|
|
698
704
|
export default companyView.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
import { initialCreateTransferEntryState, } from './createTransferEntryState';
|
|
3
4
|
export const initialState = initialCreateTransferEntryState;
|
|
4
5
|
const createTransferEntrySlice = createSlice({
|
|
@@ -69,7 +70,7 @@ const createTransferEntrySlice = createSlice({
|
|
|
69
70
|
draft.lastTransferEntryReplacement = undefined;
|
|
70
71
|
},
|
|
71
72
|
/**
|
|
72
|
-
* Full slice reset.
|
|
73
|
+
* Full slice reset. Also applied on `clearAll` (tenant switch) so
|
|
73
74
|
* stale per-tenant state (account-id pools, status, replacement signal)
|
|
74
75
|
* doesn't bleed across tenants.
|
|
75
76
|
*/
|
|
@@ -77,6 +78,11 @@ const createTransferEntrySlice = createSlice({
|
|
|
77
78
|
Object.assign(draft, initialState);
|
|
78
79
|
},
|
|
79
80
|
},
|
|
81
|
+
extraReducers: (builder) => {
|
|
82
|
+
builder.addCase(clearAll, (draft) => {
|
|
83
|
+
Object.assign(draft, initialState);
|
|
84
|
+
});
|
|
85
|
+
},
|
|
80
86
|
});
|
|
81
87
|
export const { fetchAccountsForTransferFlow, updateAccountsForTransferFlow, updateAccountsForTransferFlowFailure, createTransferEntry, createTransferEntrySuccess, createTransferEntryFailure, resetCreateTransferEntryStatus, createTransferEntryReplacedTransaction, clearTransferEntryRouteReplacement, clearCreateTransferEntry, } = createTransferEntrySlice.actions;
|
|
82
88
|
export default createTransferEntrySlice.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
const initialTenantView = {
|
|
3
4
|
analyzeStatus: { fetchState: 'Not-Started' },
|
|
4
5
|
updateStatus: { fetchState: 'Not-Started' },
|
|
@@ -148,6 +149,9 @@ const creditAgentView = createSlice({
|
|
|
148
149
|
return initialCreditAgentViewState;
|
|
149
150
|
},
|
|
150
151
|
},
|
|
152
|
+
extraReducers: (builder) => {
|
|
153
|
+
builder.addCase(clearAll, () => initialCreditAgentViewState);
|
|
154
|
+
},
|
|
151
155
|
});
|
|
152
156
|
export const { scheduleTenantCreditScoreCron, scheduleTenantCreditScoreCronSuccess, scheduleTenantCreditScoreCronFailure, fetchCreditAgentMacro, fetchCreditAgentMacroSuccess, fetchCreditAgentMacroFailure, saveCreditAgentMacro, saveCreditAgentMacroSuccess, saveCreditAgentMacroFailure, resetSaveMacroState, fetchCardProfiles, fetchCardProfilesSuccess, fetchCardProfilesFailure, updateCardProfile, updateCardProfileSuccess, updateCardProfileFailure, updateCreditAgentUIState, clearCreditAgentView, } = creditAgentView.actions;
|
|
153
157
|
export { initialCreditAgentViewState as initialState };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
import { dateNow } from '../../zeniDayJS';
|
|
3
4
|
import { updateTreasuryPromoIntroClosedByOutsideClick, updateTreasuryPromoRemindMeLaterClicked, } from '../spendManagement/treasury/treasurySetUp/treasurySetupViewReducer';
|
|
4
5
|
export const initialState = {
|
|
@@ -41,6 +42,9 @@ const dashboard = createSlice({
|
|
|
41
42
|
.addCase(updateTreasuryPromoIntroClosedByOutsideClick, (draft) => {
|
|
42
43
|
draft.isTreasuryVideoClosed = true;
|
|
43
44
|
});
|
|
45
|
+
builder.addCase(clearAll, (draft) => {
|
|
46
|
+
Object.assign(draft, initialState);
|
|
47
|
+
});
|
|
44
48
|
},
|
|
45
49
|
});
|
|
46
50
|
export const { fetchDashboard, updateTreasuryVideoClosed, clearDashboard } = dashboard.actions;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
export const defaultCardsInOrder = [
|
|
3
4
|
'cash_balance',
|
|
4
5
|
'card_balance',
|
|
@@ -80,6 +81,11 @@ const dashboardLayoutSlice = createSlice({
|
|
|
80
81
|
Object.assign(draft, initialState);
|
|
81
82
|
},
|
|
82
83
|
},
|
|
84
|
+
extraReducers: (builder) => {
|
|
85
|
+
builder.addCase(clearAll, (draft) => {
|
|
86
|
+
Object.assign(draft, initialState);
|
|
87
|
+
});
|
|
88
|
+
},
|
|
83
89
|
});
|
|
84
90
|
export const { fetchDashboardLayout, fetchDashboardLayoutSuccess, fetchDashboardLayoutFailure, updateDashboardLayout, updateDashboardLayoutSuccess, updateDashboardLayoutFailure, clearDashboardLayout, } = dashboardLayoutSlice.actions;
|
|
85
91
|
export default dashboardLayoutSlice.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
export const initialState = {
|
|
3
4
|
saveStatus: { fetchState: 'Not-Started', error: undefined },
|
|
4
5
|
updateStatus: { fetchState: 'Not-Started', error: undefined },
|
|
@@ -70,6 +71,14 @@ const expenseAutomationView = createSlice({
|
|
|
70
71
|
};
|
|
71
72
|
},
|
|
72
73
|
},
|
|
74
|
+
extraReducers: (builder) => {
|
|
75
|
+
builder.addCase(clearAll, (draft) => {
|
|
76
|
+
return {
|
|
77
|
+
...initialState,
|
|
78
|
+
selectedPeriodByTenantId: draft.selectedPeriodByTenantId,
|
|
79
|
+
};
|
|
80
|
+
});
|
|
81
|
+
},
|
|
73
82
|
});
|
|
74
83
|
export const { fetchAllExpenseAutomationTabs, updateCurrentSelectedPeriod, updateCurrentSelectedView, clearExpenseAutomationView, initializeSelectedPeriodForTenants, refreshExpenseAutomationCurrentTab, } = expenseAutomationView.actions;
|
|
75
84
|
export default expenseAutomationView.reducer;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import { toMonthYearPeriodId, } from '../../../commonStateTypes/timePeriod';
|
|
3
3
|
import { defaultVendorCurrency } from '../../../entity/vendor/vendorState';
|
|
4
|
+
import { clearAll } from '../../../rootActions';
|
|
4
5
|
import { date } from '../../../zeniDayJS';
|
|
5
6
|
import { toBalancesByMonthFromPayload, toVendorFluxAnalysisStatusFromPayload, } from '../helpers/helpers';
|
|
6
7
|
export const initialState = {
|
|
@@ -243,6 +244,11 @@ const expenseAutomationFluxAnalysisView = createSlice({
|
|
|
243
244
|
Object.assign(draft, initialState);
|
|
244
245
|
},
|
|
245
246
|
},
|
|
247
|
+
extraReducers: (builder) => {
|
|
248
|
+
builder.addCase(clearAll, (draft) => {
|
|
249
|
+
Object.assign(draft, initialState);
|
|
250
|
+
});
|
|
251
|
+
},
|
|
246
252
|
});
|
|
247
253
|
const toFluxAnalysisOperatingExpenses = (operatingExpensesPayload, currency) => {
|
|
248
254
|
const operatingExpenses = [];
|
|
@@ -3,6 +3,7 @@ import { geNestedAccountIDHierarchyForReport } from '../../../commonStateTypes/a
|
|
|
3
3
|
import { toMonthYearPeriodId, } from '../../../commonStateTypes/timePeriod';
|
|
4
4
|
import { mapAccountBasePayloadToAccountBase, mapAccountMetadataPayloadToAccountMetadata, } from '../../../entity/account/accountPayload';
|
|
5
5
|
import { getJEScheduleTransactionDetailKeyPayload, } from '../../../entity/jeSchedules/jeSchedulesPayload';
|
|
6
|
+
import { clearAll } from '../../../rootActions';
|
|
6
7
|
import { mapAccountTypeRecommendationPayloadToAccountRecommendationByType, } from '../../accountMappingView/accountTypeRecommendation/accountTypeRecommendationPayload';
|
|
7
8
|
export const accountSettingsInitialState = {
|
|
8
9
|
localData: {
|
|
@@ -389,6 +390,11 @@ const expenseAutomationJESchedulesView = createSlice({
|
|
|
389
390
|
Object.assign(draft, initialState);
|
|
390
391
|
},
|
|
391
392
|
},
|
|
393
|
+
extraReducers: (builder) => {
|
|
394
|
+
builder.addCase(clearAll, (draft) => {
|
|
395
|
+
Object.assign(draft, initialState);
|
|
396
|
+
});
|
|
397
|
+
},
|
|
392
398
|
});
|
|
393
399
|
export const { clearExpenseAutomationJESchedulesView, clearJeAccountSettingsLocalData, clearJeScheduleLocalData, fetchAccountSettingsListForAccountTypes, fetchJeSchedules, fetchJeSchedulesFailure, fetchJeSchedulesPage, fetchJeSchedulesSuccess, fetchRecommendationForAccountSettings, ignoreRecommendedJeSchedule, ignoreRecommendedJeScheduleFailure, ignoreRecommendedJeScheduleSuccess, initializeAccountSettingsView, initializeJeScheduleLocalData, removeFailedJeScheduleTransactionKey, removeJeScheduleLocalDataById, removeJeScheduleTransactionKey, retryJeSchedule, retryJeScheduleFailure, retryJeScheduleSuccess, saveAccountSettings, saveAccountSettingsFailure, saveAccountSettingsLocalData, saveAccountSettingsSuccess, updateAccountSettingsListForAccountTypes, updateAccountSettingsListForAccountTypesFailure, updateJESchedulesUIState, updateJeScheduleLocalDataById, updateJeScheduleTransactionKeys, updateRecommendationForAccountSettings, updateRecommendationForAccountSettingsFailure, } = expenseAutomationJESchedulesView.actions;
|
|
394
400
|
export default expenseAutomationJESchedulesView.reducer;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createAction, createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import { toMonthYearPeriodId } from '../../../commonStateTypes/timePeriod';
|
|
3
|
+
import { clearAll } from '../../../rootActions';
|
|
3
4
|
import { DEFAULT_COMPLETED_SUB_TAB, } from '../types/completedSubTab';
|
|
4
5
|
import { MIN_MANUAL_TRANSACTION_SEARCH_LENGTH, } from '../types/missingReceiptsViewState';
|
|
5
6
|
export const getCompletedTransactionsCacheKey = (periodId, sortKey, sortOrder, subTab) => {
|
|
@@ -654,6 +655,11 @@ const expenseAutomationMissingReceiptsView = createSlice({
|
|
|
654
655
|
}
|
|
655
656
|
},
|
|
656
657
|
},
|
|
658
|
+
extraReducers: (builder) => {
|
|
659
|
+
builder.addCase(clearAll, (draft) => {
|
|
660
|
+
Object.assign(draft, initialState);
|
|
661
|
+
});
|
|
662
|
+
},
|
|
657
663
|
});
|
|
658
664
|
export const { fetchMissingReceipts, fetchMissingReceiptsSuccess, fetchMissingReceiptsFailure, uploadMissingReceiptSuccess, updateMissingReceiptUploadState, updateMissingReceiptsUIState, markMissingReceiptAsDone, clearExpenseAutomationMissingReceiptsView,
|
|
659
665
|
// Bulk Upload
|
|
@@ -2,6 +2,7 @@ import { createSlice } from '@reduxjs/toolkit';
|
|
|
2
2
|
import { toMonthYearPeriodId, } from '../../../commonStateTypes/timePeriod';
|
|
3
3
|
import { toReconciliationAccountSource } from '../../../entity/account/accountState';
|
|
4
4
|
import { toBankStatusCodeType } from '../../../entity/accountRecon/accountReconState';
|
|
5
|
+
import { clearAll } from '../../../rootActions';
|
|
5
6
|
import { toReconciliationViewSummary, } from '../types/reconciliationViewState';
|
|
6
7
|
// Initial state
|
|
7
8
|
export const initialReconciliationTabsState = {
|
|
@@ -808,6 +809,11 @@ const expenseAutomationReconciliationView = createSlice({
|
|
|
808
809
|
Object.assign(draft, initialState);
|
|
809
810
|
},
|
|
810
811
|
},
|
|
812
|
+
extraReducers: (builder) => {
|
|
813
|
+
builder.addCase(clearAll, (draft) => {
|
|
814
|
+
Object.assign(draft, initialState);
|
|
815
|
+
});
|
|
816
|
+
},
|
|
811
817
|
});
|
|
812
818
|
// Export actions
|
|
813
819
|
export const { fetchReconciliation, fetchReconciliationFailure, fetchReconciliationSuccess, saveReconciliationDetail, saveReconciliationDetailFailure, updateSelectedAccountId, setConnectionInProgressForAccount, setStatementParseInProgress, setStatementProcessingDismissedToBackground, updateStatementProcessingBackgroundCompletedSteps, updateReconcileTabLocalData, updateReconcileTabListSortState, updateReconcileTabListScrollState, saveReconciliationDetailSuccess, updateSelectedTab, updateBalancesLocalData, initialiseLocalDataForSelectedAccountId, clearExpenseAutomationReconciliationView, updateSelectedDrawerAccountId, updateStatementProcessingFailed, updateReviewTabSortState, initializeReconciliationReviewTabLocalData, updateReviewTabLocalData, saveReconciliationReview, updateSaveReconciliationReviewFetchStatus, updateReconListScrollPosition, updateAccountReconciliationLocalData, deleteAccountStatement, deleteAccountStatementSuccess, deleteAccountStatementFailure, excludeAccountFromReconciliation, excludeAccountFromReconciliationSuccess, excludeAccountFromReconciliationFailure, includeAccountInReconciliation, includeAccountInReconciliationSuccess, includeAccountInReconciliationFailure, uploadAccountStatement, uploadAccountStatementSuccess, uploadAccountStatementFailure, parseStatement, parseStatementSuccess, parseStatementFailure, reparseStatement, reparseStatementSuccess, reparseStatementFailure, resetReparseStatementStatus, updateParsedStatementData, updateStatementUpdateLocalData, submitStatementUpdate, submitStatementUpdateSuccess, submitStatementUpdateFailure, clearStatementDateConflict, updateStatementUploadChosen, updateNodeCollapseState, } = expenseAutomationReconciliationView.actions;
|
|
@@ -3,6 +3,7 @@ import recordGet from 'lodash/get';
|
|
|
3
3
|
import uniq from 'lodash/uniq';
|
|
4
4
|
import { toMonthYearPeriodId, } from '../../../commonStateTypes/timePeriod';
|
|
5
5
|
import { isVendorTransaction } from '../../../entity/transaction/stateTypes/vendorTransaction';
|
|
6
|
+
import { clearAll } from '../../../rootActions';
|
|
6
7
|
import { filterAutoTabLineItems, mergeTabSpecificLineItems, removeTransactionFromTabView, setEntityRecommendationForLineIdInLocalData, shouldAutoSelectAndAdd, toSetAllLineItemsToCategoryClass, toTransactionDetailLocalData, } from '../helpers/transactionCategorizationLocalDataHelper';
|
|
7
8
|
import { DEFAULT_COMPLETED_SUB_TAB, } from '../types/completedSubTab';
|
|
8
9
|
import { TRANSACTIONS_TABS, } from '../types/transactionsViewState';
|
|
@@ -1068,6 +1069,11 @@ const expenseAutomationTransactionsView = createSlice({
|
|
|
1068
1069
|
},
|
|
1069
1070
|
},
|
|
1070
1071
|
},
|
|
1072
|
+
extraReducers: (builder) => {
|
|
1073
|
+
builder.addCase(clearAll, (draft) => {
|
|
1074
|
+
Object.assign(draft, initialState);
|
|
1075
|
+
});
|
|
1076
|
+
},
|
|
1071
1077
|
});
|
|
1072
1078
|
export const { fetchTransactionCategorization, updateTransactionCategorizationUIState, updateTransactionFilters, initializeTransactionCategorizationViewLocalData, saveTransactionCategorizationLocalData, fetchTransactionCategorizationFailure, saveTransactionCategorization, updateTransactionCategorization, updateCurrentSelectedTransactionCategorizationTab, updateTransactionCategorizationCompletedSubTab, updateTransactionCategorizationSaveStatus, markTransactionAsNotMiscategorized, updateStatusForTransactionNotMiscategorizedUpdateForCategorization, updateSelectedVendorForTransaction, updateSelectedCustomerForTransaction, setAllItemsToCategoryClassInLocalDataForCategorization, updateTotalCountForTransactionCategorization, updateParentTotalCountForTab, fetchTransactionCategorizationSuccess, resetOtherTabsFetchState, fetchTransactionCategorizationView, updateSelectedCheckboxTransactionIds, clearExpenseAutomationTransactionsViewPerTabView, clearExpenseAutomationTransactionsView, setEntityRecommendationForLineIdsForCategorization, markCategoryClassRecommendationsInProgressForCategorization, markCategoryClassRecommendationsCompletedForCategorization, markCategoryClassRecommendationsFailureForCategorization, updateSelectedTransactionId, syncTransactionCategorizationFromDetailSave, backgroundRefetchReviewTab, removeTransactionFromAllTabs, updateTransactionCategorizationUploadReceiptState, uploadTransactionCategorizationReceiptSuccess, } = expenseAutomationTransactionsView.actions;
|
|
1073
1079
|
export default expenseAutomationTransactionsView.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
import { toFeatureInterest, } from './featureNotificationViewPayload';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
fetchRegisteredInterestsState: {
|
|
@@ -101,6 +102,11 @@ const featureNotificationView = createSlice({
|
|
|
101
102
|
Object.assign(draft, initialState);
|
|
102
103
|
},
|
|
103
104
|
},
|
|
105
|
+
extraReducers: (builder) => {
|
|
106
|
+
builder.addCase(clearAll, (draft) => {
|
|
107
|
+
Object.assign(draft, initialState);
|
|
108
|
+
});
|
|
109
|
+
},
|
|
104
110
|
});
|
|
105
111
|
export const { clearFeatureNotificationView, fetchRegisteredInterests, fetchRegisteredInterestsFailure, fetchRegisteredInterestsSuccess, notifyMeForFeature, notifyMeForFeatureFailure, notifyMeForFeatureSuccess, } = featureNotificationView.actions;
|
|
106
112
|
export default featureNotificationView.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
import { initialFileViewState } from './fileViewState';
|
|
3
4
|
const fileView = createSlice({
|
|
4
5
|
name: 'fileView',
|
|
@@ -157,6 +158,11 @@ const fileView = createSlice({
|
|
|
157
158
|
Object.assign(draft, initialFileViewState);
|
|
158
159
|
},
|
|
159
160
|
},
|
|
161
|
+
extraReducers: (builder) => {
|
|
162
|
+
builder.addCase(clearAll, (draft) => {
|
|
163
|
+
Object.assign(draft, initialFileViewState);
|
|
164
|
+
});
|
|
165
|
+
},
|
|
160
166
|
});
|
|
161
167
|
export const { fetchFileList, fetchFileListFailure, fetchFileListSuccess, fetchFile, fetchFileSuccess, fetchFileFailure, updateFileName, updateFileNameFailure, updateFileNameSuccess, updateFilesMetadata, deleteFileList, deleteFileListFailure, deleteFileListSuccess, deleteFile, deleteFileFailure, deleteFileSuccess, clearFileViewList, } = fileView.actions;
|
|
162
168
|
export default fileView.reducer;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import { extractThisPeriod, getMatchingThisPeriod, } from '../../commonStateTypes/viewAndReport/thisPeriodHelpers';
|
|
3
|
+
import { clearAll } from '../../rootActions';
|
|
3
4
|
import { dateNow } from '../../zeniDayJS';
|
|
4
5
|
import { getSelectedAndHighlightedRangesForThisPeriod } from '../common/getSelectedAndHighlightedRanges';
|
|
5
6
|
export const initialFinanceStatementState = {
|
|
@@ -131,6 +132,11 @@ const financeStatement = createSlice({
|
|
|
131
132
|
Object.assign(draft, initialFinanceStatementState);
|
|
132
133
|
},
|
|
133
134
|
},
|
|
135
|
+
extraReducers: (builder) => {
|
|
136
|
+
builder.addCase(clearAll, (draft) => {
|
|
137
|
+
Object.assign(draft, initialFinanceStatementState);
|
|
138
|
+
});
|
|
139
|
+
},
|
|
134
140
|
});
|
|
135
141
|
export const { fetchFinanceStatement, updateFinanceStatementTimeframe, updateFinanceStatementThisPeriod, updateCOABalancesRange, updateSelectedReportId, updateFinanceStatementAdditionalBalancesSelection, updateDownloadState, updateFinanceStatementDisplayOrder, updateFinanceStatementFormat, clearFinanceStatement, } = financeStatement.actions;
|
|
136
142
|
export default financeStatement.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 forecastList = 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 { fetchForecastList, updateForecastList, updateForecastListFailure, clearForecastList, } = forecastList.actions;
|
|
34
40
|
export default forecastList.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
export const initialState = {
|
|
3
4
|
merchantIds: [],
|
|
4
5
|
version: '1.0',
|
|
@@ -36,6 +37,12 @@ const globalMerchantAutoComplete = createSlice({
|
|
|
36
37
|
Object.assign(globalMerchantAutoCompleteState, initialState);
|
|
37
38
|
},
|
|
38
39
|
},
|
|
40
|
+
extraReducers: (builder) => {
|
|
41
|
+
builder.addCase(clearAll, (globalMerchantAutoCompleteState) => {
|
|
42
|
+
//map state to initial state
|
|
43
|
+
Object.assign(globalMerchantAutoCompleteState, initialState);
|
|
44
|
+
});
|
|
45
|
+
},
|
|
39
46
|
});
|
|
40
47
|
export const { fetchGlobalMerchantAutoCompleteView, fetchGlobalMerchantAutoCompleteResultsSuccess, fetchGlobalMerchantAutoCompleteResultsFailure, clearGlobalMerchantAutoCompleteResults, } = globalMerchantAutoComplete.actions;
|
|
41
48
|
export default globalMerchantAutoComplete.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
import { toAllRecommendationsFromPayload } from '../vendorReviewView/common/state/commonTypes';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
newGlobalMerchantData: undefined,
|
|
@@ -109,6 +110,11 @@ const globalMerchantView = createSlice({
|
|
|
109
110
|
Object.assign(draft, initialState);
|
|
110
111
|
},
|
|
111
112
|
},
|
|
113
|
+
extraReducers: (builder) => {
|
|
114
|
+
builder.addCase(clearAll, (draft) => {
|
|
115
|
+
Object.assign(draft, initialState);
|
|
116
|
+
});
|
|
117
|
+
},
|
|
112
118
|
});
|
|
113
119
|
export const { createGlobalMerchant, createGlobalMerchantSuccess, createGlobalMerchantFailure, fetchGlobalMerchantRecommendation, fetchGlobalMerchantRecommendationSuccess, fetchGlobalMerchantRecommendationFailure, updateCreateGlobalMerchantLocalData, clearGlobalMerchantView, } = globalMerchantView.actions;
|
|
114
120
|
export default globalMerchantView.reducer;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import { getMonthFromMonthName } from '../../commonStateTypes/timePeriod';
|
|
3
|
+
import { clearAll } from '../../rootActions';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
fetchState: 'Not-Started',
|
|
5
6
|
error: undefined,
|
|
@@ -37,6 +38,11 @@ const insightsCard = createSlice({
|
|
|
37
38
|
draft.selectedInsightIndex = action.payload;
|
|
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 { fetchInsightsCard, updateInsightsCard, updateInsightsCardFailure, clearInsightsCard, updateSelectedInsightIndex, } = insightsCard.actions;
|
|
42
48
|
export default insightsCard.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,
|
|
@@ -51,6 +52,11 @@ const auditView = createSlice({
|
|
|
51
52
|
Object.assign(draft, initialState);
|
|
52
53
|
},
|
|
53
54
|
},
|
|
55
|
+
extraReducers: (builder) => {
|
|
56
|
+
builder.addCase(clearAll, (draft) => {
|
|
57
|
+
Object.assign(draft, initialState);
|
|
58
|
+
});
|
|
59
|
+
},
|
|
54
60
|
});
|
|
55
61
|
export const { fetchInvoicingAuditLog, updateInvoicingAuditLog, updateInvoicingAuditLogFailure, clearInvoicingAuditView, } = auditView.actions;
|
|
56
62
|
export default auditView.reducer;
|