@zeniai/client-epic-state 5.1.84 → 5.1.85-betaRD2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/coreEpics.js +1 -2
- package/lib/entity/account/accountReducer.js +6 -0
- package/lib/entity/account/accountState.d.ts +1 -1
- package/lib/entity/accountGroup/accountGroupReducer.js +6 -0
- package/lib/entity/accountRecon/accountReconReducer.js +6 -0
- package/lib/entity/accountRecon/accountReconState.d.ts +1 -1
- package/lib/entity/address/addressReducer.js +6 -0
- package/lib/entity/aiAccountantCustomer/aiAccountantCustomerReducer.js +6 -0
- package/lib/entity/aiAccountantCustomer/aiAccountantCustomerState.d.ts +2 -2
- package/lib/entity/aiCfo/aiCfoReducer.js +8 -0
- package/lib/entity/aiCfo/aiCfoState.d.ts +2 -2
- package/lib/entity/approvalRule/approvalRuleReducer.js +6 -0
- package/lib/entity/bankAccount/bankAccountReducer.js +6 -0
- package/lib/entity/billPay/billTransaction/billTransactionReducer.js +6 -0
- package/lib/entity/billPay/billTransaction/billTransactionState.d.ts +3 -3
- package/lib/entity/billPay/contact/contactReducer.js +6 -0
- package/lib/entity/billPay/recurringBills/recurringBillsReducer.js +6 -0
- package/lib/entity/cardPayment/cardPaymentReducer.js +6 -0
- package/lib/entity/cardPolicy/cardPolicyReducer.js +6 -0
- package/lib/entity/chargeCard/chargeCard.d.ts +2 -2
- package/lib/entity/chargeCard/chargeCardReducer.js +6 -0
- package/lib/entity/chargeCardRepayment/chargeCardRepayment.d.ts +1 -1
- package/lib/entity/chargeCardRepayment/chargeCardRepaymentReducer.js +6 -0
- package/lib/entity/chargeCardTransaction/chargeCardTransactionReducer.js +4 -0
- package/lib/entity/class/classReducer.js +6 -0
- package/lib/entity/company/companyReducer.js +11 -0
- package/lib/entity/companyHealthMetric/companyHealthMetricReducer.js +6 -0
- package/lib/entity/connectedAccount/connectedAccountReducer.js +6 -0
- package/lib/entity/countryList/countryListReducer.js +6 -0
- package/lib/entity/creditAgent/creditAgentReducer.js +6 -0
- package/lib/entity/creditAgent/creditAgentState.d.ts +1 -1
- package/lib/entity/currency/currencyReducer.js +6 -0
- package/lib/entity/customer/customerReducer.js +6 -0
- package/lib/entity/customerIncome/customerIncomeTrendReducer.js +6 -0
- package/lib/entity/customerSatisfaction/customerSatisfactionReducer.js +4 -0
- package/lib/entity/depositAccount/depositAccountReducer.js +8 -0
- package/lib/entity/depositAccountTransaction/depositAccountTransaction.d.ts +1 -1
- package/lib/entity/depositAccountTransaction/depositAccountTransactionReducer.js +6 -0
- package/lib/entity/entityApprovalStatus/entityApprovalStatusReducer.js +6 -0
- package/lib/entity/entityApprovalStatus/entityApprovalStatusState.d.ts +2 -2
- package/lib/entity/file/fileReducer.js +6 -0
- package/lib/entity/forecast/forecastReducer.js +6 -0
- package/lib/entity/genericEntity/entityReducer.js +6 -0
- package/lib/entity/globalMerchant/globalMerchantReducer.js +6 -0
- package/lib/entity/insights/insightReducer.js +6 -0
- package/lib/entity/invoicing/coupon/couponReducer.js +6 -0
- package/lib/entity/invoicing/creditNote/creditNoteReducer.js +6 -0
- package/lib/entity/invoicing/dunningCase/dunningCaseReducer.js +6 -0
- package/lib/entity/invoicing/invoice/invoiceReducer.js +6 -0
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerReducer.js +6 -0
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionReducer.js +6 -0
- package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionReducer.js +6 -0
- package/lib/entity/invoicing/plan/planReducer.js +6 -0
- package/lib/entity/invoicing/product/productReducer.js +6 -0
- package/lib/entity/jeSchedules/jeSchedulesReducer.d.ts +2 -2
- package/lib/entity/jeSchedules/jeSchedulesReducer.js +7 -0
- package/lib/entity/jeSchedules/jeSchedulesTypes.d.ts +3 -3
- package/lib/entity/merchant/merchantReducer.js +6 -0
- package/lib/entity/monthEndCloseChecks/monthEndCloseChecksReducer.js +6 -0
- package/lib/entity/notification/notificationReducer.js +6 -0
- package/lib/entity/notificationRegistry/notificationRegistryReducer.js +14 -0
- package/lib/entity/onboardingCustomer/onboardingCustomerReducer.js +6 -0
- package/lib/entity/paymentAccount/paymentAccountReducer.js +6 -0
- package/lib/entity/paymentInstrument/paymentInstrumentReducer.js +6 -0
- package/lib/entity/portfolio/accountingSummary/accountingSummaryReducer.js +6 -0
- package/lib/entity/project/projectReducer.js +6 -0
- package/lib/entity/reimbursement/reimbursementReducer.js +6 -0
- package/lib/entity/sectionAccountsView/sectionAccountsViewReducer.js +6 -0
- package/lib/entity/sectionClassesViewV2/sectionClassesViewReducer.js +6 -0
- package/lib/entity/sectionProjectView/sectionProjectViewReducer.js +6 -0
- package/lib/entity/snackbar/snackbarReducer.js +6 -0
- package/lib/entity/subscription/subscription/subscriptionReducer.js +6 -0
- package/lib/entity/subscription/subscriptionAddOn/subscriptionAddOnReducer.js +6 -0
- package/lib/entity/subscription/subscriptionCoupon/subscriptionCouponReducer.js +6 -0
- package/lib/entity/subscription/subscriptionPlan/subscriptionPlanReducer.js +6 -0
- package/lib/entity/subscription/subscriptionSummary/subscriptionSummaryReducer.js +6 -0
- package/lib/entity/subscriptionPaymentAccount/subscriptionPaymentAccountReducer.js +6 -0
- package/lib/entity/tag/tagReducer.js +6 -0
- package/lib/entity/task/taskReducer.js +6 -0
- package/lib/entity/task/taskState.d.ts +1 -1
- package/lib/entity/taskGroup/taskGroupReducer.js +6 -0
- package/lib/entity/taskGroupTemplate/taskGroupTemplateReducer.js +6 -0
- package/lib/entity/taskSummary/taskSummaryReducer.js +6 -0
- package/lib/entity/tenant/tenantReducer.d.ts +1 -3
- package/lib/entity/tenant/tenantReducer.js +14 -13
- package/lib/entity/toastNotification/toastNotificationReducer.js +6 -0
- package/lib/entity/transaction/stateTypes/reconciliationTransaction.d.ts +1 -1
- package/lib/entity/transaction/stateTypes/transactionType.d.ts +2 -2
- package/lib/entity/transaction/transactionReducer.js +8 -0
- package/lib/entity/transactionActivityLog/transactionActivityLogReducer.js +6 -0
- package/lib/entity/user/userReducer.js +6 -0
- package/lib/entity/userGroups/userGroupsReducer.js +6 -0
- package/lib/entity/userRole/userRoleReducer.js +6 -0
- package/lib/entity/vendor/vendorReducer.js +6 -0
- package/lib/entity/vendorExpense/vendorExpenseReducer.js +8 -0
- package/lib/epic.d.ts +1 -2
- package/lib/epic.js +1 -2
- package/lib/esm/coreEpics.js +1 -2
- package/lib/esm/entity/account/accountReducer.js +6 -0
- package/lib/esm/entity/accountGroup/accountGroupReducer.js +6 -0
- package/lib/esm/entity/accountRecon/accountReconReducer.js +6 -0
- package/lib/esm/entity/address/addressReducer.js +6 -0
- package/lib/esm/entity/aiAccountantCustomer/aiAccountantCustomerReducer.js +6 -0
- package/lib/esm/entity/aiCfo/aiCfoReducer.js +8 -0
- package/lib/esm/entity/approvalRule/approvalRuleReducer.js +6 -0
- package/lib/esm/entity/bankAccount/bankAccountReducer.js +6 -0
- package/lib/esm/entity/billPay/billTransaction/billTransactionReducer.js +6 -0
- package/lib/esm/entity/billPay/contact/contactReducer.js +6 -0
- package/lib/esm/entity/billPay/recurringBills/recurringBillsReducer.js +6 -0
- package/lib/esm/entity/cardPayment/cardPaymentReducer.js +6 -0
- package/lib/esm/entity/cardPolicy/cardPolicyReducer.js +6 -0
- package/lib/esm/entity/chargeCard/chargeCardReducer.js +6 -0
- package/lib/esm/entity/chargeCardRepayment/chargeCardRepaymentReducer.js +6 -0
- package/lib/esm/entity/chargeCardTransaction/chargeCardTransactionReducer.js +4 -0
- package/lib/esm/entity/class/classReducer.js +6 -0
- package/lib/esm/entity/company/companyReducer.js +11 -0
- package/lib/esm/entity/companyHealthMetric/companyHealthMetricReducer.js +6 -0
- package/lib/esm/entity/connectedAccount/connectedAccountReducer.js +6 -0
- package/lib/esm/entity/countryList/countryListReducer.js +6 -0
- package/lib/esm/entity/creditAgent/creditAgentReducer.js +6 -0
- package/lib/esm/entity/currency/currencyReducer.js +6 -0
- package/lib/esm/entity/customer/customerReducer.js +6 -0
- package/lib/esm/entity/customerIncome/customerIncomeTrendReducer.js +6 -0
- package/lib/esm/entity/customerSatisfaction/customerSatisfactionReducer.js +4 -0
- package/lib/esm/entity/depositAccount/depositAccountReducer.js +8 -0
- package/lib/esm/entity/depositAccountTransaction/depositAccountTransactionReducer.js +6 -0
- package/lib/esm/entity/entityApprovalStatus/entityApprovalStatusReducer.js +6 -0
- package/lib/esm/entity/file/fileReducer.js +6 -0
- package/lib/esm/entity/forecast/forecastReducer.js +6 -0
- package/lib/esm/entity/genericEntity/entityReducer.js +6 -0
- package/lib/esm/entity/globalMerchant/globalMerchantReducer.js +6 -0
- package/lib/esm/entity/insights/insightReducer.js +6 -0
- package/lib/esm/entity/invoicing/coupon/couponReducer.js +6 -0
- package/lib/esm/entity/invoicing/creditNote/creditNoteReducer.js +6 -0
- package/lib/esm/entity/invoicing/dunningCase/dunningCaseReducer.js +6 -0
- package/lib/esm/entity/invoicing/invoice/invoiceReducer.js +6 -0
- package/lib/esm/entity/invoicing/invoicingCustomer/invoicingCustomerReducer.js +6 -0
- package/lib/esm/entity/invoicing/invoicingSubscription/invoicingSubscriptionReducer.js +6 -0
- package/lib/esm/entity/invoicing/invoicingTransaction/invoicingTransactionReducer.js +6 -0
- package/lib/esm/entity/invoicing/plan/planReducer.js +6 -0
- package/lib/esm/entity/invoicing/product/productReducer.js +6 -0
- package/lib/esm/entity/jeSchedules/jeSchedulesReducer.js +7 -0
- package/lib/esm/entity/merchant/merchantReducer.js +6 -0
- package/lib/esm/entity/monthEndCloseChecks/monthEndCloseChecksReducer.js +6 -0
- package/lib/esm/entity/notification/notificationReducer.js +6 -0
- package/lib/esm/entity/notificationRegistry/notificationRegistryReducer.js +14 -0
- package/lib/esm/entity/onboardingCustomer/onboardingCustomerReducer.js +6 -0
- package/lib/esm/entity/paymentAccount/paymentAccountReducer.js +6 -0
- package/lib/esm/entity/paymentInstrument/paymentInstrumentReducer.js +6 -0
- package/lib/esm/entity/portfolio/accountingSummary/accountingSummaryReducer.js +6 -0
- package/lib/esm/entity/project/projectReducer.js +6 -0
- package/lib/esm/entity/reimbursement/reimbursementReducer.js +6 -0
- package/lib/esm/entity/sectionAccountsView/sectionAccountsViewReducer.js +6 -0
- package/lib/esm/entity/sectionClassesViewV2/sectionClassesViewReducer.js +6 -0
- package/lib/esm/entity/sectionProjectView/sectionProjectViewReducer.js +6 -0
- package/lib/esm/entity/snackbar/snackbarReducer.js +6 -0
- package/lib/esm/entity/subscription/subscription/subscriptionReducer.js +6 -0
- package/lib/esm/entity/subscription/subscriptionAddOn/subscriptionAddOnReducer.js +6 -0
- package/lib/esm/entity/subscription/subscriptionCoupon/subscriptionCouponReducer.js +6 -0
- package/lib/esm/entity/subscription/subscriptionPlan/subscriptionPlanReducer.js +6 -0
- package/lib/esm/entity/subscription/subscriptionSummary/subscriptionSummaryReducer.js +6 -0
- package/lib/esm/entity/subscriptionPaymentAccount/subscriptionPaymentAccountReducer.js +6 -0
- package/lib/esm/entity/tag/tagReducer.js +6 -0
- package/lib/esm/entity/task/taskReducer.js +6 -0
- package/lib/esm/entity/taskGroup/taskGroupReducer.js +6 -0
- package/lib/esm/entity/taskGroupTemplate/taskGroupTemplateReducer.js +6 -0
- package/lib/esm/entity/taskSummary/taskSummaryReducer.js +6 -0
- package/lib/esm/entity/tenant/tenantReducer.js +12 -11
- package/lib/esm/entity/toastNotification/toastNotificationReducer.js +6 -0
- package/lib/esm/entity/transaction/transactionReducer.js +8 -0
- package/lib/esm/entity/transactionActivityLog/transactionActivityLogReducer.js +6 -0
- package/lib/esm/entity/user/userReducer.js +6 -0
- package/lib/esm/entity/userGroups/userGroupsReducer.js +6 -0
- package/lib/esm/entity/userRole/userRoleReducer.js +6 -0
- package/lib/esm/entity/vendor/vendorReducer.js +6 -0
- package/lib/esm/entity/vendorExpense/vendorExpenseReducer.js +8 -0
- package/lib/esm/epic.js +1 -2
- package/lib/esm/index.js +2 -1
- package/lib/esm/rootActions.js +18 -0
- package/lib/esm/view/accountList/accountListReducer.js +6 -0
- package/lib/esm/view/accountMappingView/accountMappingReducer.js +6 -0
- package/lib/esm/view/addressView/addressViewReducer.js +6 -0
- package/lib/esm/view/aiAccountantView/aiAccountantViewReducer.js +4 -0
- package/lib/esm/view/aiAgentPerformance/aggregatedReportViewReducer.js +6 -0
- package/lib/esm/view/aiCfoView/aiCfoViewReducer.js +6 -0
- package/lib/esm/view/apAgingView/apAgingDetail/apAgingDetailReducer.js +6 -0
- package/lib/esm/view/apAgingView/apAgingReport/apAgingReducer.js +6 -0
- package/lib/esm/view/arAgingView/arAgingDetail/arAgingDetailReducer.js +6 -0
- package/lib/esm/view/arAgingView/arAgingReport/arAgingReducer.js +6 -0
- package/lib/esm/view/auditReportView/auditReportViewReducer.js +8 -0
- package/lib/esm/view/authenticationView/authenticationViewReducer.js +7 -0
- package/lib/esm/view/autoComplete/entityAutoCompleteReducer.js +7 -0
- package/lib/esm/view/balanceSheet/balanceSheetReducer.js +6 -0
- package/lib/esm/view/bankAccountView/bankAccountViewReducer.js +6 -0
- package/lib/esm/view/billPayCard/billPayCardReducer.js +6 -0
- package/lib/esm/view/cardBalance/cardBalanceReducer.js +6 -0
- package/lib/esm/view/cardPayment/cardPaymentViewReducer.js +6 -0
- package/lib/esm/view/cashBalance/cashBalanceReducer.js +6 -0
- package/lib/esm/view/cashFlow/cashFlowReducer.js +6 -0
- package/lib/esm/view/cashInCashOut/cashInCashOutReducer.js +6 -0
- package/lib/esm/view/cashPosition/cashPositionReducer.js +6 -0
- package/lib/esm/view/classList/classListReducer.js +6 -0
- package/lib/esm/view/commonVendorView/transactionVendorView/transactionVendorViewReducer.js +6 -0
- package/lib/esm/view/commonVendorView/vendorView/vendorViewReducer.js +6 -0
- package/lib/esm/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewReducer.js +6 -0
- package/lib/esm/view/companyConfigView/companyConfigReducer.js +6 -0
- package/lib/esm/view/companyHealthMetricView/companyHealthMetricConfigReducer.js +4 -0
- package/lib/esm/view/companyHealthMetricView/companyHealthMetricViewReducer.js +6 -0
- package/lib/esm/view/companyMonthEndReportView/companyMonthEndReportViewReducer.js +6 -0
- package/lib/esm/view/companyTaskManagerView/companyTaskManagerViewReducer.js +6 -0
- package/lib/esm/view/companyView/companyViewReducer.js +6 -0
- package/lib/esm/view/createTransferEntry/createTransferEntryReducer.js +7 -1
- package/lib/esm/view/creditAgentView/creditAgentViewReducer.js +4 -0
- package/lib/esm/view/dashboard/dashboardReducer.js +4 -0
- package/lib/esm/view/dashboardLayout/dashboardLayoutReducer.js +6 -0
- package/lib/esm/view/expenseAutomationView/expenseAutomationViewReducer.js +9 -0
- package/lib/esm/view/expenseAutomationView/reducers/fluxAnalysisViewReducer.js +6 -0
- package/lib/esm/view/expenseAutomationView/reducers/jeSchedulesViewReducer.js +6 -0
- package/lib/esm/view/expenseAutomationView/reducers/missingReceiptsViewReducer.js +6 -0
- package/lib/esm/view/expenseAutomationView/reducers/reconciliationViewReducer.js +6 -0
- package/lib/esm/view/expenseAutomationView/reducers/transactionsViewReducer.js +6 -0
- package/lib/esm/view/featureNotificationView/featureNotificationViewReducer.js +6 -0
- package/lib/esm/view/fileView/fileViewReducer.js +6 -0
- package/lib/esm/view/financeStatement/financeStatementReducer.js +6 -0
- package/lib/esm/view/forecastList/forecastListReducer.js +6 -0
- package/lib/esm/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewReducer.js +7 -0
- package/lib/esm/view/globalMerchantView/globalMerchantViewReducer.js +6 -0
- package/lib/esm/view/insightsCard/insightsCardReducer.js +6 -0
- package/lib/esm/view/invoicing/auditView/auditViewReducer.js +6 -0
- package/lib/esm/view/invoicing/catalogAction/catalogActionReducer.js +6 -0
- package/lib/esm/view/invoicing/couponView/couponViewReducer.js +6 -0
- package/lib/esm/view/invoicing/createCreditNote/createCreditNoteReducer.js +6 -0
- package/lib/esm/view/invoicing/createInvoice/createInvoiceReducer.js +6 -0
- package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodReducer.js +6 -0
- package/lib/esm/view/invoicing/dataImportAction/dataImportActionReducer.js +6 -0
- package/lib/esm/view/invoicing/dataImportView/dataImportViewReducer.js +13 -0
- package/lib/esm/view/invoicing/discountAction/discountActionReducer.js +6 -0
- package/lib/esm/view/invoicing/dunningAction/dunningActionReducer.js +6 -0
- package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewReducer.js +6 -0
- package/lib/esm/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewReducer.js +6 -0
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer.js +6 -0
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer.js +6 -0
- package/lib/esm/view/invoicing/invoiceAction/invoiceActionReducer.js +6 -0
- package/lib/esm/view/invoicing/invoiceDetail/invoiceDetailReducer.js +6 -0
- package/lib/esm/view/invoicing/invoiceList/invoiceListReducer.js +13 -0
- package/lib/esm/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewReducer.js +6 -0
- package/lib/esm/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewReducer.js +6 -0
- package/lib/esm/view/invoicing/invoicingConfigView/invoicingConfigViewReducer.js +6 -0
- package/lib/esm/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewReducer.js +6 -0
- package/lib/esm/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewReducer.js +6 -0
- package/lib/esm/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewReducer.js +6 -0
- package/lib/esm/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewReducer.js +6 -0
- package/lib/esm/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer.js +6 -0
- package/lib/esm/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewReducer.js +6 -0
- package/lib/esm/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewReducer.js +6 -0
- package/lib/esm/view/invoicing/invoicingOverview/invoicingOverviewReducer.js +6 -0
- package/lib/esm/view/invoicing/invoicingQboView/invoicingQboViewReducer.js +6 -0
- package/lib/esm/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewReducer.js +6 -0
- package/lib/esm/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer.js +6 -0
- package/lib/esm/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewReducer.js +6 -0
- package/lib/esm/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewReducer.js +9 -0
- package/lib/esm/view/invoicing/issueCreditNote/issueCreditNoteReducer.js +6 -0
- package/lib/esm/view/invoicing/paymentAction/paymentActionReducer.js +6 -0
- package/lib/esm/view/invoicing/promotionalCreditAction/promotionalCreditActionReducer.js +6 -0
- package/lib/esm/view/invoicing/recordPayment/recordPaymentReducer.js +6 -0
- package/lib/esm/view/invoicing/settingsView/settingsViewReducer.js +6 -0
- package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionReducer.js +6 -0
- package/lib/esm/view/monthEndCloseChecksView/monthEndCloseChecksViewReducer.js +6 -0
- package/lib/esm/view/netBurnOrIncome/netBurnOrIncomeReducer.js +6 -0
- package/lib/esm/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewReducer.js +6 -0
- package/lib/esm/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewReducer.js +6 -0
- package/lib/esm/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardReducer.js +6 -0
- package/lib/esm/view/notificationPreferencesView/notificationPreferencesViewReducer.js +25 -0
- package/lib/esm/view/notificationView/notificationViewReducer.js +6 -0
- package/lib/esm/view/onboardingView/cockpitView/onboardingCockpitViewReducer.js +6 -0
- package/lib/esm/view/onboardingView/customerView/onboardingCustomerViewReducer.js +4 -0
- package/lib/esm/view/opEx/opExReducer.js +6 -0
- package/lib/esm/view/opExByVendor/opExByVendorReducer.js +6 -0
- package/lib/esm/view/opExClassesView/opExClassesViewReducer.js +6 -0
- package/lib/esm/view/opExProjectView/opExProjectViewReducer.js +6 -0
- package/lib/esm/view/ownerList/ownerListReducer.js +6 -0
- package/lib/esm/view/people/peopleReducer.js +6 -0
- package/lib/esm/view/profitAndLoss/profitAndLossReducer.js +6 -0
- package/lib/esm/view/profitAndLossClassesView/profitAndLossClassesViewReducer.js +6 -0
- package/lib/esm/view/profitAndLossProjectView/profitAndLossProjectViewReducer.js +6 -0
- package/lib/esm/view/projectList/projectListReducer.js +6 -0
- package/lib/esm/view/recommendation/recommendationReducer.js +6 -0
- package/lib/esm/view/referralView/referralReducer.js +6 -0
- package/lib/esm/view/reimbursementCard/reimbursementCardReducer.js +6 -0
- package/lib/esm/view/reportUIOptions/reportUIOptionsReducer.js +6 -0
- package/lib/esm/view/reportsResync/reportsResyncReducer.js +6 -0
- package/lib/esm/view/revenue/revenueReducer.js +6 -0
- package/lib/esm/view/revenueClassesView/revenueClassesViewReducer.js +6 -0
- package/lib/esm/view/revenueProjectView/revenueProjectViewReducer.js +6 -0
- package/lib/esm/view/reviewCompanyView/reviewCompanyViewReducer.js +6 -0
- package/lib/esm/view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailReducer.js +6 -0
- package/lib/esm/view/scheduleView/scheduleDetailView/scheduleDetailReducer.js +6 -0
- package/lib/esm/view/scheduleView/scheduleListView/scheduleListReducer.js +6 -0
- package/lib/esm/view/settingsView/settingsViewReducer.js +6 -0
- package/lib/esm/view/spendManagement/autotransferRules/autoTransferRulesReducer.js +6 -0
- package/lib/esm/view/spendManagement/billPay/billDetailView/billDetailViewReducer.js +6 -0
- package/lib/esm/view/spendManagement/billPay/billList/billListReducer.js +6 -0
- package/lib/esm/view/spendManagement/billPay/billPayConfig/billPayConfigReducer.js +6 -0
- package/lib/esm/view/spendManagement/billPay/billPayReview/billPayReviewReducer.js +6 -0
- package/lib/esm/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewReducer.js +6 -0
- package/lib/esm/view/spendManagement/billPay/billPaySetupView/billPaySetupViewReducer.js +6 -0
- package/lib/esm/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewReducer.js +6 -0
- package/lib/esm/view/spendManagement/billPay/editBillView/editBillViewReducer.js +6 -0
- package/lib/esm/view/spendManagement/billPay/internationalWire/internationalWireReducer.js +6 -0
- package/lib/esm/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationReducer.js +6 -0
- package/lib/esm/view/spendManagement/billPay/magicLinkView/magicLinkViewReducer.js +6 -0
- package/lib/esm/view/spendManagement/billPay/previousBills/previousBillsReducer.js +6 -0
- package/lib/esm/view/spendManagement/billPay/wiseRedirectView/wiseRedirectReducer.js +6 -0
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/cardPolicyDetailReducer.js +6 -0
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/cardPolicyListReducer.js +6 -0
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicyReducer.js +6 -0
- package/lib/esm/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingReducer.js +6 -0
- package/lib/esm/view/spendManagement/chargeCards/cashbackDetail/cashbackDetailReducer.js +6 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigReducer.js +6 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer.js +4 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.js +6 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryReducer.js +6 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailReducer.js +6 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewReducer.js +6 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardStatementList/chargeCardStatementListReducer.js +6 -0
- package/lib/esm/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer.js +6 -0
- package/lib/esm/view/spendManagement/commonHistoryView/commonHistoryReducer.js +6 -0
- package/lib/esm/view/spendManagement/commonSetup/setupViewReducer.js +4 -0
- package/lib/esm/view/spendManagement/merchantList/merchantListReducer.js +6 -0
- package/lib/esm/view/spendManagement/plaidAccount/plaidAccountViewReducer.js +6 -0
- package/lib/esm/view/spendManagement/realTimeApprovalView/realTimeApprovalReducer.js +6 -0
- package/lib/esm/view/spendManagement/reimbursement/editRemiView/editRemiViewReducer.js +6 -0
- package/lib/esm/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigReducer.js +6 -0
- package/lib/esm/view/spendManagement/reimbursement/remiDetailView/remiDetailViewReducer.js +6 -0
- package/lib/esm/view/spendManagement/reimbursement/remiListView/remiListReducer.js +6 -0
- package/lib/esm/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewReducer.js +6 -0
- package/lib/esm/view/spendManagement/reimbursement/remiSetupView/remiSetupViewReducer.js +6 -0
- package/lib/esm/view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewReducer.js +6 -0
- package/lib/esm/view/spendManagement/treasury/treasuryList/treasuryDetailReducer.js +6 -0
- package/lib/esm/view/spendManagement/treasury/treasurySetUp/treasurySetupViewReducer.js +6 -0
- package/lib/esm/view/spendManagement/treasury/treasuryStatementList/treasuryStatementListReducer.js +6 -0
- package/lib/esm/view/spendManagement/treasury/treasuryTaxLetterList/treasuryTaxLetterListReducer.js +6 -0
- package/lib/esm/view/spendManagement/treasury/treasuryTransferMoney/treasuryTransferMoneyReducer.js +6 -0
- package/lib/esm/view/spendManagement/zeniAccounts/checkDeposit/checkDepositReducer.js +6 -0
- package/lib/esm/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailReducer.js +6 -0
- package/lib/esm/view/spendManagement/zeniAccounts/depositAccountList/depositAccountListReducer.js +6 -0
- package/lib/esm/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListReducer.js +6 -0
- package/lib/esm/view/spendManagement/zeniAccounts/expressPay/expressPayReducer.js +6 -0
- package/lib/esm/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListReducer.js +6 -0
- package/lib/esm/view/spendManagement/zeniAccounts/transferDetail/transferDetailReducer.js +6 -0
- package/lib/esm/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListReducer.js +6 -0
- package/lib/esm/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewReducer.js +6 -0
- package/lib/esm/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigReducer.js +6 -0
- package/lib/esm/view/subscriptionView/subscriptionViewReducer.js +6 -0
- package/lib/esm/view/tagView/tagViewReducer.js +6 -0
- package/lib/esm/view/taskManager/cannedResponsesView/cannedResponsesReducer.js +4 -0
- package/lib/esm/view/taskManager/taskDetailView/taskDetailReducer.js +6 -0
- package/lib/esm/view/taskManager/taskGroupTemplateView/taskGroupTemplateViewReducer.js +6 -0
- package/lib/esm/view/taskManager/taskGroupView/taskGroupViewReducer.js +6 -0
- package/lib/esm/view/taskManager/taskListView/taskListReducer.js +4 -0
- package/lib/esm/view/tasksCard/tasksCardReducer.js +6 -0
- package/lib/esm/view/topEx/topExReducer.js +6 -0
- package/lib/esm/view/transactionActivityLogView/transactionActivityLogViewReducer.js +6 -0
- package/lib/esm/view/transactionDetail/transactionDetailReducer.js +6 -0
- package/lib/esm/view/transactionList/transactionListReducer.js +6 -0
- package/lib/esm/view/trend/trendReducer.js +6 -0
- package/lib/esm/view/trendWithTransactions/trendWithTransactionsReducer.js +6 -0
- package/lib/esm/view/twoFactorAuthentication/twoFactorAuthenticationReducer.js +6 -0
- package/lib/esm/view/userFinancialAccount/userFinancialAccountReducer.js +6 -0
- package/lib/esm/view/userGroupListView/userGroupListViewReducer.js +6 -0
- package/lib/esm/view/userListView/userListViewReducer.js +6 -0
- package/lib/esm/view/userRoleConfigView/userRoleConfigReducer.js +6 -0
- package/lib/esm/view/vendor1099TypeList/vendor1099TypeListReducer.js +6 -0
- package/lib/esm/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListReducer.js +6 -0
- package/lib/esm/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsReducer.js +4 -0
- package/lib/esm/view/vendorList/vendorListReducer.js +6 -0
- package/lib/esm/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewReducer.js +6 -0
- package/lib/esm/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewReducer.js +6 -0
- package/lib/esm/view/vendorTabView/vendorTabViewReducer.js +6 -0
- package/lib/esm/view/vendorTypeList/vendorTypeListReducer.js +6 -0
- package/lib/esm/view/zeniAccStatementList/zeniAccStatementListReducer.js +6 -0
- package/lib/esm/view/zeniAccountsPromoCard/zeniAccountsPromoCardReducer.js +6 -0
- package/lib/esm/view/zeniOAuthView/zeniOAuthReducer.js +4 -0
- package/lib/index.d.ts +2 -1
- package/lib/index.js +2 -1
- package/lib/rootActions.d.ts +17 -0
- package/lib/rootActions.js +21 -0
- package/lib/view/accountList/accountListReducer.js +6 -0
- package/lib/view/accountMappingView/accountMappingReducer.js +6 -0
- package/lib/view/addressView/addressViewReducer.js +6 -0
- package/lib/view/aiAccountantView/aiAccountantViewReducer.js +4 -0
- package/lib/view/aiAgentPerformance/aggregatedReportViewReducer.js +6 -0
- package/lib/view/aiCfoView/aiCfoViewReducer.js +6 -0
- package/lib/view/apAgingView/apAgingDetail/apAgingDetailReducer.js +6 -0
- package/lib/view/apAgingView/apAgingReport/apAgingReducer.js +6 -0
- package/lib/view/arAgingView/arAgingDetail/arAgingDetailReducer.js +6 -0
- package/lib/view/arAgingView/arAgingReport/arAgingReducer.js +6 -0
- package/lib/view/auditReportView/auditReportViewReducer.js +8 -0
- package/lib/view/authenticationView/authenticationViewReducer.js +7 -0
- package/lib/view/autoComplete/entityAutoCompleteReducer.js +7 -0
- package/lib/view/balanceSheet/balanceSheetReducer.js +6 -0
- package/lib/view/bankAccountView/bankAccountViewReducer.js +6 -0
- package/lib/view/billPayCard/billPayCardReducer.js +6 -0
- package/lib/view/cardBalance/cardBalanceReducer.js +6 -0
- package/lib/view/cardPayment/cardPaymentViewReducer.js +6 -0
- package/lib/view/cashBalance/cashBalanceReducer.js +6 -0
- package/lib/view/cashFlow/cashFlowReducer.js +6 -0
- package/lib/view/cashInCashOut/cashInCashOutReducer.js +6 -0
- package/lib/view/cashPosition/cashPositionReducer.js +6 -0
- package/lib/view/classList/classListReducer.js +6 -0
- package/lib/view/common/recurringViewHelper.d.ts +2 -2
- package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewReducer.js +6 -0
- package/lib/view/commonVendorView/vendorView/vendorViewReducer.js +6 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewReducer.js +6 -0
- package/lib/view/companyConfigView/companyConfigReducer.js +6 -0
- package/lib/view/companyHealthMetricView/companyHealthMetricConfigReducer.js +4 -0
- package/lib/view/companyHealthMetricView/companyHealthMetricViewReducer.js +6 -0
- package/lib/view/companyMonthEndReportView/companyMonthEndReportViewReducer.js +6 -0
- package/lib/view/companyTaskManagerView/companyTaskManagerViewReducer.d.ts +2 -2
- package/lib/view/companyTaskManagerView/companyTaskManagerViewReducer.js +6 -0
- package/lib/view/companyView/companyViewReducer.js +6 -0
- package/lib/view/companyView/types/cockpitTypes.d.ts +3 -3
- package/lib/view/createTransferEntry/createTransferEntryReducer.js +7 -1
- package/lib/view/creditAgentView/creditAgentViewReducer.js +4 -0
- package/lib/view/dashboard/dashboardReducer.js +4 -0
- package/lib/view/dashboardLayout/dashboardLayoutReducer.js +6 -0
- package/lib/view/expenseAutomationView/expenseAutomationViewReducer.js +9 -0
- package/lib/view/expenseAutomationView/reducers/fluxAnalysisViewReducer.js +6 -0
- package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.d.ts +11 -11
- package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.js +6 -0
- package/lib/view/expenseAutomationView/reducers/missingReceiptsViewReducer.js +6 -0
- package/lib/view/expenseAutomationView/reducers/reconciliationViewReducer.js +6 -0
- package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.js +6 -0
- package/lib/view/expenseAutomationView/types/jeSchedulesViewState.d.ts +1 -1
- package/lib/view/expenseAutomationView/types/missingReceiptsViewState.d.ts +3 -3
- package/lib/view/expenseAutomationView/types/reconciliationViewState.d.ts +2 -2
- package/lib/view/expenseAutomationView/types/transactionsViewState.d.ts +2 -2
- package/lib/view/featureNotificationView/featureNotificationViewReducer.js +6 -0
- package/lib/view/fileView/fileViewReducer.js +6 -0
- package/lib/view/financeStatement/financeStatementReducer.js +6 -0
- package/lib/view/forecastList/forecastListReducer.js +6 -0
- package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewReducer.js +7 -0
- package/lib/view/globalMerchantView/globalMerchantViewReducer.js +6 -0
- package/lib/view/insightsCard/insightsCardReducer.js +6 -0
- package/lib/view/invoicing/auditView/auditViewReducer.js +6 -0
- package/lib/view/invoicing/catalogAction/catalogActionReducer.js +6 -0
- package/lib/view/invoicing/couponView/couponViewReducer.js +6 -0
- package/lib/view/invoicing/createCreditNote/createCreditNoteReducer.js +6 -0
- package/lib/view/invoicing/createInvoice/createInvoiceReducer.js +6 -0
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodReducer.js +6 -0
- package/lib/view/invoicing/dataImportAction/dataImportActionReducer.js +6 -0
- package/lib/view/invoicing/dataImportView/dataImportViewReducer.js +13 -0
- package/lib/view/invoicing/discountAction/discountActionReducer.js +6 -0
- package/lib/view/invoicing/dunningAction/dunningActionReducer.js +6 -0
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewReducer.js +6 -0
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewReducer.js +6 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer.js +6 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer.js +6 -0
- package/lib/view/invoicing/invoiceAction/invoiceActionReducer.js +6 -0
- package/lib/view/invoicing/invoiceDetail/invoiceDetailReducer.js +6 -0
- package/lib/view/invoicing/invoiceList/invoiceListReducer.js +13 -0
- package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewReducer.js +6 -0
- package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewReducer.js +6 -0
- package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewState.d.ts +1 -1
- package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewReducer.js +6 -0
- package/lib/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewReducer.js +6 -0
- package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewReducer.js +6 -0
- package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewReducer.js +6 -0
- package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewState.d.ts +1 -1
- package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewReducer.js +6 -0
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer.js +6 -0
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewState.d.ts +1 -1
- package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewReducer.js +6 -0
- package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewReducer.js +6 -0
- package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewState.d.ts +1 -1
- package/lib/view/invoicing/invoicingOverview/invoicingOverviewReducer.js +6 -0
- package/lib/view/invoicing/invoicingQboView/invoicingQboViewReducer.js +6 -0
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewReducer.js +6 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer.d.ts +1 -1
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer.js +6 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewState.d.ts +1 -1
- package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewReducer.js +6 -0
- package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewReducer.js +9 -0
- package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewState.d.ts +1 -1
- package/lib/view/invoicing/issueCreditNote/issueCreditNoteReducer.js +6 -0
- package/lib/view/invoicing/paymentAction/paymentActionReducer.js +6 -0
- package/lib/view/invoicing/promotionalCreditAction/promotionalCreditActionReducer.js +6 -0
- package/lib/view/invoicing/recordPayment/recordPaymentReducer.js +6 -0
- package/lib/view/invoicing/settingsView/settingsViewReducer.js +6 -0
- package/lib/view/invoicing/subscriptionAction/subscriptionActionReducer.js +6 -0
- package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewReducer.js +6 -0
- package/lib/view/netBurnOrIncome/netBurnOrIncomeReducer.js +6 -0
- package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewReducer.js +6 -0
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewReducer.js +6 -0
- package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardReducer.js +6 -0
- package/lib/view/notificationPreferencesView/epics/saveNotificationPreferencesEpic.d.ts +3 -3
- package/lib/view/notificationPreferencesView/notificationPreferencesViewReducer.js +25 -0
- package/lib/view/notificationView/notificationViewReducer.d.ts +4 -4
- package/lib/view/notificationView/notificationViewReducer.js +6 -0
- package/lib/view/notificationView/notificationViewState.d.ts +2 -2
- package/lib/view/onboardingView/cockpitView/onboardingCockpitViewReducer.js +6 -0
- package/lib/view/onboardingView/customerView/onboardingCustomerViewReducer.js +4 -0
- package/lib/view/opEx/opExReducer.js +6 -0
- package/lib/view/opExByVendor/opExByVendorReducer.js +6 -0
- package/lib/view/opExByVendor/opExByVendorState.d.ts +1 -1
- package/lib/view/opExClassesView/opExClassesViewReducer.js +6 -0
- package/lib/view/opExProjectView/opExProjectViewReducer.js +6 -0
- package/lib/view/ownerList/ownerListReducer.js +6 -0
- package/lib/view/people/peopleReducer.js +6 -0
- package/lib/view/profitAndLoss/profitAndLossReducer.js +6 -0
- package/lib/view/profitAndLossClassesView/profitAndLossClassesViewReducer.js +6 -0
- package/lib/view/profitAndLossProjectView/profitAndLossProjectViewReducer.js +6 -0
- package/lib/view/projectList/projectListReducer.js +6 -0
- package/lib/view/recommendation/recommendationReducer.js +6 -0
- package/lib/view/referralView/referralReducer.js +6 -0
- package/lib/view/referralView/referralState.d.ts +1 -1
- package/lib/view/reimbursementCard/reimbursementCardReducer.js +6 -0
- package/lib/view/reportUIOptions/reportUIOptionsReducer.js +6 -0
- package/lib/view/reportsResync/reportsResyncReducer.js +6 -0
- package/lib/view/revenue/revenueReducer.js +6 -0
- package/lib/view/revenueClassesView/revenueClassesViewReducer.js +6 -0
- package/lib/view/revenueProjectView/revenueProjectViewReducer.js +6 -0
- package/lib/view/reviewCompanyView/reviewCompanyViewReducer.js +6 -0
- package/lib/view/reviewCompanyView/reviewCompanyViewState.d.ts +1 -1
- package/lib/view/scheduleView/scheduleAccruedDetailView/LinkBillExpenseView/linkBillExpense.d.ts +1 -1
- package/lib/view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailReducer.js +6 -0
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailReducer.d.ts +4 -4
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailReducer.js +6 -0
- package/lib/view/scheduleView/scheduleListView/scheduleListReducer.js +6 -0
- package/lib/view/scheduleView/scheduleListView/scheduleListTypes.d.ts +1 -1
- package/lib/view/settingsView/settingsViewReducer.js +6 -0
- package/lib/view/settingsView/settingsViewState.d.ts +1 -1
- package/lib/view/spendManagement/autotransferRules/autoTransferRulesReducer.js +6 -0
- package/lib/view/spendManagement/billPay/billDetailView/billDetailViewReducer.js +6 -0
- package/lib/view/spendManagement/billPay/billList/billListReducer.d.ts +1 -1
- package/lib/view/spendManagement/billPay/billList/billListReducer.js +6 -0
- package/lib/view/spendManagement/billPay/billList/billListState.d.ts +2 -2
- package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigReducer.js +6 -0
- package/lib/view/spendManagement/billPay/billPayReview/billPayReviewReducer.js +6 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewReducer.js +6 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewReducer.js +6 -0
- package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewReducer.js +6 -0
- package/lib/view/spendManagement/billPay/editBillView/editBillViewReducer.js +6 -0
- package/lib/view/spendManagement/billPay/internationalWire/internationalWireReducer.js +6 -0
- package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationReducer.js +6 -0
- package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewReducer.js +6 -0
- package/lib/view/spendManagement/billPay/previousBills/previousBillsReducer.js +6 -0
- package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectReducer.js +6 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/cardPolicyDetailReducer.js +6 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/cardPolicyListReducer.js +6 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicyReducer.js +6 -0
- package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingReducer.js +6 -0
- package/lib/view/spendManagement/chargeCards/cashbackDetail/cashbackDetailReducer.js +6 -0
- package/lib/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigReducer.js +6 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.d.ts +1 -1
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer.js +4 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.d.ts +1 -1
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.js +6 -0
- package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryReducer.js +6 -0
- package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailReducer.js +6 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewReducer.js +6 -0
- package/lib/view/spendManagement/chargeCards/chargeCardStatementList/chargeCardStatementListReducer.js +6 -0
- package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer.js +6 -0
- package/lib/view/spendManagement/commonHistoryView/commonHistoryReducer.js +6 -0
- package/lib/view/spendManagement/commonSetup/setupViewReducer.js +4 -0
- package/lib/view/spendManagement/merchantList/merchantListReducer.js +6 -0
- package/lib/view/spendManagement/plaidAccount/plaidAccountViewReducer.js +6 -0
- package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalReducer.js +6 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewReducer.js +6 -0
- package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigReducer.js +6 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewReducer.js +6 -0
- package/lib/view/spendManagement/reimbursement/remiListView/remiListReducer.d.ts +1 -1
- package/lib/view/spendManagement/reimbursement/remiListView/remiListReducer.js +6 -0
- package/lib/view/spendManagement/reimbursement/remiListView/remiListState.d.ts +4 -4
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewReducer.js +6 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewReducer.js +6 -0
- package/lib/view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewReducer.js +6 -0
- package/lib/view/spendManagement/treasury/treasuryList/treasuryDetailReducer.js +6 -0
- package/lib/view/spendManagement/treasury/treasurySetUp/treasurySetupViewReducer.js +6 -0
- package/lib/view/spendManagement/treasury/treasuryStatementList/treasuryStatementListReducer.js +6 -0
- package/lib/view/spendManagement/treasury/treasuryTaxLetterList/treasuryTaxLetterListReducer.js +6 -0
- package/lib/view/spendManagement/treasury/treasuryTransferMoney/treasuryTransferMoneyReducer.js +6 -0
- package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositReducer.js +6 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailReducer.js +6 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountList/depositAccountListReducer.js +6 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListReducer.js +6 -0
- package/lib/view/spendManagement/zeniAccounts/expressPay/expressPayReducer.js +6 -0
- package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListReducer.js +6 -0
- package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailReducer.js +6 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListReducer.js +6 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewReducer.js +6 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigReducer.js +6 -0
- package/lib/view/subscriptionView/subscriptionViewReducer.js +6 -0
- package/lib/view/tagView/tagViewReducer.js +6 -0
- package/lib/view/taskManager/cannedResponsesView/cannedResponsesReducer.js +4 -0
- package/lib/view/taskManager/taskDetailView/taskDetailReducer.js +6 -0
- package/lib/view/taskManager/taskGroupTemplateView/taskGroupTemplateViewReducer.js +6 -0
- package/lib/view/taskManager/taskGroupView/taskGroupViewReducer.js +6 -0
- package/lib/view/taskManager/taskListView/taskList.d.ts +3 -3
- package/lib/view/taskManager/taskListView/taskListReducer.js +4 -0
- package/lib/view/tasksCard/tasksCardReducer.js +6 -0
- package/lib/view/topEx/topExReducer.js +6 -0
- package/lib/view/transactionActivityLogView/transactionActivityLogViewReducer.js +6 -0
- package/lib/view/transactionDetail/journalEntryLinesViewModel.d.ts +1 -1
- package/lib/view/transactionDetail/transactionDetailReducer.js +6 -0
- package/lib/view/transactionDetail/transactionDetailState.d.ts +2 -2
- package/lib/view/transactionList/transactionListReducer.js +6 -0
- package/lib/view/trend/trendReducer.js +6 -0
- package/lib/view/trendWithTransactions/trendWithTransactionsReducer.js +6 -0
- package/lib/view/twoFactorAuthentication/twoFactorAuthenticationReducer.js +6 -0
- package/lib/view/userFinancialAccount/userFinancialAccountReducer.js +6 -0
- package/lib/view/userGroupListView/userGroupListViewReducer.js +6 -0
- package/lib/view/userListView/userListViewReducer.js +6 -0
- package/lib/view/userRoleConfigView/userRoleConfigReducer.js +6 -0
- package/lib/view/vendor1099TypeList/vendor1099TypeListReducer.js +6 -0
- package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListReducer.js +6 -0
- package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsReducer.js +4 -0
- package/lib/view/vendorList/vendorListReducer.js +6 -0
- package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewReducer.js +6 -0
- package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewReducer.js +6 -0
- package/lib/view/vendorTabView/vendorTabViewReducer.js +6 -0
- package/lib/view/vendorTypeList/vendorTypeListReducer.js +6 -0
- package/lib/view/zeniAccStatementList/zeniAccStatementListReducer.js +6 -0
- package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardReducer.js +6 -0
- package/lib/view/zeniOAuthView/zeniOAuthReducer.js +4 -0
- package/package.json +1 -1
- package/lib/entity/tenant/clearAllEpic.d.ts +0 -287
- package/lib/entity/tenant/clearAllEpic.js +0 -584
- package/lib/esm/entity/tenant/clearAllEpic.js +0 -580
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
export const initialState = {
|
|
3
4
|
taskGroupsIds: [],
|
|
4
5
|
fetchState: 'Not-Started',
|
|
@@ -114,6 +115,11 @@ const taskGroupView = createSlice({
|
|
|
114
115
|
Object.assign(draft, initialState);
|
|
115
116
|
},
|
|
116
117
|
},
|
|
118
|
+
extraReducers: (builder) => {
|
|
119
|
+
builder.addCase(clearAll, (draft) => {
|
|
120
|
+
Object.assign(draft, initialState);
|
|
121
|
+
});
|
|
122
|
+
},
|
|
117
123
|
});
|
|
118
124
|
export const { fetchAllTaskGroups, updateTaskGroupsOnSuccess, updateTaskGroupsFetchStatus, createNewTaskGroup, updateTaskGroupCreationFetchStatus, updateTaskGroupViewOnTaskGroupCreationSuccess, deleteTaskGroup, updateTaskGroupDeletionFetchStatus, updateTaskGroupViewOnTaskDeletionSuccess, updateTaskGroupName, updateTaskGroupFetchStatus, clearTaskGroupView, } = taskGroupView.actions;
|
|
119
125
|
export default taskGroupView.reducer;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import { updateTasks } from '../../../entity/task/taskReducer';
|
|
3
3
|
import { toPriorityCodeType, toTaskStatusCodeType, } from '../../../entity/task/taskState';
|
|
4
|
+
import { clearAll } from '../../../rootActions';
|
|
4
5
|
import { date, dateNow } from '../../../zeniDayJS';
|
|
5
6
|
import { toDueDateGroupKeyType, } from './taskList';
|
|
6
7
|
const initialLocalData = {
|
|
@@ -588,6 +589,9 @@ const taskList = createSlice({
|
|
|
588
589
|
// tab the user is currently looking at.
|
|
589
590
|
copyTabDataToTopLevel(draft, draft.byTab[draft.currentTab]);
|
|
590
591
|
});
|
|
592
|
+
builder.addCase(clearAll, (draft) => {
|
|
593
|
+
Object.assign(draft, initialState);
|
|
594
|
+
});
|
|
591
595
|
},
|
|
592
596
|
});
|
|
593
597
|
export const { fetchTaskListPage, fetchTaskList, updateTaskList, updateTaskListTab, updateTaskListFetchStatus, updateTaskListSearchText, updateTaskListUIState, updateTaskFilters, updateTaskListOnNewGroupCreationSuccess, bulkUpdateTaskList, updateTasksListOnBulkUpdateTasksSuccess, updateTasksListOnBulkUpdateTasksFailure, initiateTaskListLocalData, updateTaskListLocalData, updateTaskListOnTaskGroupDeletion, dragNDropTasks, updateTaskListOnNewTaskCreationSuccess, updateTaskListOnTaskGroupNameUpdate, updateTaskFromListView, updateTasksListOnUpdateTaskSuccess, updateTasksListOnUpdateTaskFailure, updateTaskListOnCreateTaskFromTemplateSuccess, removeTaskFromList, removeTaskFromGroupBucket, clearTaskList, } = taskList.actions;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import { mapReportPayloadToReport } from '../../commonPayloadTypes/viewAndReportPayload';
|
|
3
|
+
import { clearAll } from '../../rootActions';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
firstMonthOfFY: 1,
|
|
5
6
|
fetchState: 'Not-Started',
|
|
@@ -55,6 +56,11 @@ const tasksCard = createSlice({
|
|
|
55
56
|
Object.assign(draft, initialState);
|
|
56
57
|
},
|
|
57
58
|
},
|
|
59
|
+
extraReducers: (builder) => {
|
|
60
|
+
builder.addCase(clearAll, (draft) => {
|
|
61
|
+
Object.assign(draft, initialState);
|
|
62
|
+
});
|
|
63
|
+
},
|
|
58
64
|
});
|
|
59
65
|
export const { fetchTasksCard, updateTasksCard, updateTasksCardFailure, clearTasksCard, } = tasksCard.actions;
|
|
60
66
|
export default tasksCard.reducer;
|
|
@@ -2,6 +2,7 @@ import { createSlice } from '@reduxjs/toolkit';
|
|
|
2
2
|
import { mapBalancePayloadToBalance } from '../../commonPayloadTypes/balanceChangePayload';
|
|
3
3
|
import { mapReportPayloadToReport } from '../../commonPayloadTypes/viewAndReportPayload';
|
|
4
4
|
import { toAmount } from '../../commonStateTypes/amount';
|
|
5
|
+
import { clearAll } from '../../rootActions';
|
|
5
6
|
import { date } from '../../zeniDayJS';
|
|
6
7
|
import { toTopExTimePeriod, } from './topExState';
|
|
7
8
|
export const initialState = {
|
|
@@ -63,6 +64,11 @@ const topEx = createSlice({
|
|
|
63
64
|
draft.topExTimePeriod = action.payload;
|
|
64
65
|
},
|
|
65
66
|
},
|
|
67
|
+
extraReducers: (builder) => {
|
|
68
|
+
builder.addCase(clearAll, (draft) => {
|
|
69
|
+
Object.assign(draft, initialState);
|
|
70
|
+
});
|
|
71
|
+
},
|
|
66
72
|
});
|
|
67
73
|
export const { fetchTopEx, updateTopEx, updateTopExFailure, clearTopEx, updateTopExTimeFrame, updateTopExDownloadState, } = topEx.actions;
|
|
68
74
|
export default topEx.reducer;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import { toActivityLogId, } from '../../entity/transactionActivityLog/transactionActivityLogPayload';
|
|
3
|
+
import { clearAll } from '../../rootActions';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
transactionActivityLogIdsByQboId: {},
|
|
5
6
|
transactionActivityLogFetchStateByQboId: {},
|
|
@@ -42,6 +43,11 @@ const transactionActivityLogView = createSlice({
|
|
|
42
43
|
Object.assign(draft, initialState);
|
|
43
44
|
},
|
|
44
45
|
},
|
|
46
|
+
extraReducers: (builder) => {
|
|
47
|
+
builder.addCase(clearAll, (draft) => {
|
|
48
|
+
Object.assign(draft, initialState);
|
|
49
|
+
});
|
|
50
|
+
},
|
|
45
51
|
});
|
|
46
52
|
export const { fetchTransactionActivityLog, updateTransactionActivityLogViewOnSuccess, clearTransactionActivityLogView, updateTransactionActivityLogViewFetchStatus, } = transactionActivityLogView.actions;
|
|
47
53
|
export default transactionActivityLogView.reducer;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import recordGet from 'lodash/get';
|
|
3
3
|
import { toEntityType, } from '../../entity/genericEntity/entity';
|
|
4
|
+
import { clearAll } from '../../rootActions';
|
|
4
5
|
import { removeEntityRecommendationForLineIdInLocalData, setEntityRecommendationForLineIdInLocalData, toSetAllLineItemsLocalDataIsUpdateAllChecked, toSetAllLineItemsToCategoryClass, toSetAllLineItemsToVendor, toUpdateLineItemsOriginalCategoryClass, toUpdateLineItemsToOriginalVendor, } from './transactionDetailLocalDataHelper';
|
|
5
6
|
import { getTransactionDetailKey, initialSupportedTransactionDetail, } from './transactionDetailState';
|
|
6
7
|
export const initialState = {
|
|
@@ -835,6 +836,11 @@ const transactionDetail = createSlice({
|
|
|
835
836
|
},
|
|
836
837
|
},
|
|
837
838
|
},
|
|
839
|
+
extraReducers: (builder) => {
|
|
840
|
+
builder.addCase(clearAll, (draft) => {
|
|
841
|
+
Object.assign(draft, initialState);
|
|
842
|
+
});
|
|
843
|
+
},
|
|
838
844
|
});
|
|
839
845
|
export const { downloadAccountingProviderAttachment, downloadAccountingProviderAttachmentSuccess, downloadAccountingProviderAttachmentFailure, fetchTransactionDetail, updateTransactionDetailFetchState, removeTransactionDetail, clearTransactionDetail, uploadMissingAttachmentSuccess, updateTransactionDetail, updateTransactionDetailSaveStatus, clearTransactionDetailSaveStatus, markTransactionAsNotMiscategorized, deleteTransactionAttachment, deleteTransactionAttachmentFailure, deleteTransactionAttachmentSuccess, updateStatusForTransactionNotMiscategorizedUpdate, updateStatusConsolidatedSaveTransactionDetail, updateTransactionStateIfUpdateActionNotAllowed, saveTransactionDetail, initializeTransactionDetailLocalData, saveTransactionDetailLocalData, clearTransactionDetailLocalData, resetLineItemsCategoryClassInLocalData, setAllLineItemsToCategoryClassInLocalData, setAllLineItemsLocalDataIsUpdateAllChecked, setEntityRecommendationForLineIdsForTransactionDetail, markCategoryClassRecommendationsInProgressForTransactionDetail, markCategoryClassRecommendationsCompletedForTransactionDetail, markCategoryClassRecommendationsFailureForTransactionDetail, removeEntityRecommendationForLineIdForTransactionDetail, updateSelectedVendor, updateSelectedCustomer, resetVendor, resetSelectedCustomer, updateLocalDataWithTransactionsUpdateWithVendorCheckbox, updateVendorToAllLineItems, resetAllLineItemsToVendor, updateLatestSelectedEntity, updateVendorBulkRecommendationsFetchStatus, setIsVendorUpdateAllChecked, addSplitLine, deleteSplitLine, toggleSplitEditMode, } = transactionDetail.actions;
|
|
840
846
|
export default transactionDetail.reducer;
|
|
@@ -2,6 +2,7 @@ import { createSlice } from '@reduxjs/toolkit';
|
|
|
2
2
|
import { toAbsoluteDay } from '../../commonStateTypes/timePeriod';
|
|
3
3
|
import { mapAccountBasePayloadToAccountBase } from '../../entity/account/accountPayload';
|
|
4
4
|
import { toEntityType } from '../../entity/genericEntity/entity';
|
|
5
|
+
import { clearAll } from '../../rootActions';
|
|
5
6
|
import { accountTransactionsInitialState, getAcKey, getAcTranKey, getCategoryTypeTranKey, getClassAcKey, getClassAcTranKey, getEntityTranKey, getProjectAcKey, getProjectAcTranKey, initialClassTransactionState, initialEntityTransactionState, initialProjectTransactionState, initialTransactionsStateByCategoryType, } from './transactionListState';
|
|
6
7
|
export const initialState = {
|
|
7
8
|
byAccount: {
|
|
@@ -401,6 +402,11 @@ const transactionList = createSlice({
|
|
|
401
402
|
Object.assign(draft, initialState);
|
|
402
403
|
},
|
|
403
404
|
},
|
|
405
|
+
extraReducers: (builder) => {
|
|
406
|
+
builder.addCase(clearAll, (draft) => {
|
|
407
|
+
Object.assign(draft, initialState);
|
|
408
|
+
});
|
|
409
|
+
},
|
|
404
410
|
});
|
|
405
411
|
export const { parallelFetchAccountTransactionList, fetchAccountTransactionList, updateTransactionListByAccount, updateTransactionListByAccountFailure, parallelFetchEntityTransactionList, fetchEntityTransactionList, updateTransactionListByEntity, updateTransactionListByEntityFailure, updateTransactionListByAccountUIState, parallelFetchClassTransactionList, fetchClassTransactionList, updateTransactionListByClass, updateTransactionListByClassUIState, updateTransactionListByClassFailure, parallelFetchProjectTransactionList, fetchProjectTransactionList, updateTransactionListByProject, updateTransactionListByProjectUIState, updateTransactionListByProjectFailure, parallelFetchTransactionListByCategoryType, fetchTransactionsListByCategoryType, updateTransactionListByCategoryType, updateTransactionsListByCategoryTypeFailure, updateTransactionListUIStateByCategoryType, clearTransactionList, updateLatestTransactionId, } = transactionList.actions;
|
|
406
412
|
export default transactionList.reducer;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import { toEntityType } from '../../entity/genericEntity/entity';
|
|
3
|
+
import { clearAll } from '../../rootActions';
|
|
3
4
|
export const initialTrendState = {
|
|
4
5
|
fetchState: 'Not-Started',
|
|
5
6
|
error: undefined,
|
|
@@ -61,6 +62,11 @@ const trend = createSlice({
|
|
|
61
62
|
Object.assign(draft, initialTrendState);
|
|
62
63
|
},
|
|
63
64
|
},
|
|
65
|
+
extraReducers: (builder) => {
|
|
66
|
+
builder.addCase(clearAll, (draft) => {
|
|
67
|
+
Object.assign(draft, initialTrendState);
|
|
68
|
+
});
|
|
69
|
+
},
|
|
64
70
|
});
|
|
65
71
|
export const { fetchExpenseTrend, fetchIncomeTrend, updateTrendSuccess, updateTrendFailure, clearTrendData, } = trend.actions;
|
|
66
72
|
export default trend.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
import { getEntityKey, } from './trendWithTransactionsState';
|
|
3
4
|
export const initialTrendWithTransactionsState = {
|
|
4
5
|
uiStateByEntityKey: {},
|
|
@@ -56,6 +57,11 @@ const trendWithTransactions = createSlice({
|
|
|
56
57
|
},
|
|
57
58
|
},
|
|
58
59
|
},
|
|
60
|
+
extraReducers: (builder) => {
|
|
61
|
+
builder.addCase(clearAll, (draft) => {
|
|
62
|
+
Object.assign(draft, initialTrendWithTransactionsState);
|
|
63
|
+
});
|
|
64
|
+
},
|
|
59
65
|
});
|
|
60
66
|
export const { fetchTrendForEntity, fetchTransactionsForEntity, clearTrendWithTransactions, updateSelectedTimeperiod, } = trendWithTransactions.actions;
|
|
61
67
|
export default trendWithTransactions.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
import { initialTwoFactorAuthentication, initialTwoFactorAuthenticationWithoutToken, } from './twoFactorAuthentication';
|
|
3
4
|
import { toToken } from './twoFactorAuthenticationPayload';
|
|
4
5
|
export const initialState = {
|
|
@@ -233,6 +234,11 @@ const twoFactorAuthentication = createSlice({
|
|
|
233
234
|
Object.assign(draft, initialState);
|
|
234
235
|
},
|
|
235
236
|
},
|
|
237
|
+
extraReducers: (builder) => {
|
|
238
|
+
builder.addCase(clearAll, (draft) => {
|
|
239
|
+
Object.assign(draft, initialState);
|
|
240
|
+
});
|
|
241
|
+
},
|
|
236
242
|
});
|
|
237
243
|
export const { sendOtp, resendOtp, sendOtpSuccess, sendOtpFailure, verifyOtp, verifyOtpSuccess, verifyOtpFailure, clearTwoFactorAuthentication, } = twoFactorAuthentication.actions;
|
|
238
244
|
export default twoFactorAuthentication.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
export const initialState = {
|
|
3
4
|
financialAccountByUserId: {},
|
|
4
5
|
};
|
|
@@ -84,6 +85,11 @@ const userFinancialAccount = createSlice({
|
|
|
84
85
|
Object.assign(draft, initialState);
|
|
85
86
|
},
|
|
86
87
|
},
|
|
88
|
+
extraReducers: (builder) => {
|
|
89
|
+
builder.addCase(clearAll, (draft) => {
|
|
90
|
+
Object.assign(draft, initialState);
|
|
91
|
+
});
|
|
92
|
+
},
|
|
87
93
|
});
|
|
88
94
|
export const { fetchUserFinancialAccount, updateUserBankAccount, removeUserBankAccount, updateUserFinancialAccount, updateUserFinancialAccountFailure, clearUserFinancialAccount, } = userFinancialAccount.actions;
|
|
89
95
|
export default userFinancialAccount.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
const initialUserGroupList = {
|
|
3
4
|
ids: [],
|
|
4
5
|
fetchState: 'Not-Started',
|
|
@@ -60,6 +61,11 @@ const userGroupListView = createSlice({
|
|
|
60
61
|
Object.assign(draft, initialState);
|
|
61
62
|
},
|
|
62
63
|
},
|
|
64
|
+
extraReducers: (builder) => {
|
|
65
|
+
builder.addCase(clearAll, (draft) => {
|
|
66
|
+
Object.assign(draft, initialState);
|
|
67
|
+
});
|
|
68
|
+
},
|
|
63
69
|
});
|
|
64
70
|
export const { fetchUserGroupListByType, updateUserGroupIds, addUserGroupId, removeUserGroupId, updateUserGroupListFetchFailure, clearUserGroupListView, } = userGroupListView.actions;
|
|
65
71
|
export default userGroupListView.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
const initialUserList = {
|
|
3
4
|
ids: [],
|
|
4
5
|
fetchState: 'Not-Started',
|
|
@@ -67,6 +68,11 @@ const userListView = createSlice({
|
|
|
67
68
|
Object.assign(draft, initialState);
|
|
68
69
|
},
|
|
69
70
|
},
|
|
71
|
+
extraReducers: (builder) => {
|
|
72
|
+
builder.addCase(clearAll, (draft) => {
|
|
73
|
+
Object.assign(draft, initialState);
|
|
74
|
+
});
|
|
75
|
+
},
|
|
70
76
|
});
|
|
71
77
|
export const { fetchUserListByType, updateUserIds, addUserId, removeUserId, updateUserListFetchFailure, clearUserListView, } = userListView.actions;
|
|
72
78
|
export default userListView.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,
|
|
@@ -35,6 +36,11 @@ const userRoleConfig = 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 { fetchUserRoleConfig, updateUserRoleConfig, updateUserRoleConfigFailure, clearUserRoleConfigView, } = userRoleConfig.actions;
|
|
40
46
|
export default userRoleConfig.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,
|
|
@@ -42,6 +43,11 @@ const vendor1099TypeList = createSlice({
|
|
|
42
43
|
Object.assign(draft, initialState);
|
|
43
44
|
},
|
|
44
45
|
},
|
|
46
|
+
extraReducers: (builder) => {
|
|
47
|
+
builder.addCase(clearAll, (draft) => {
|
|
48
|
+
Object.assign(draft, initialState);
|
|
49
|
+
});
|
|
50
|
+
},
|
|
45
51
|
});
|
|
46
52
|
export const { fetchVendor1099TypeList, updateVendor1099TypeList, updateVendor1099TypeListFailure, clearVendor1099TypeList, } = vendor1099TypeList.actions;
|
|
47
53
|
export default vendor1099TypeList.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
|
export const initialState = {
|
|
4
5
|
fetchState: 'Not-Started',
|
|
@@ -120,6 +121,11 @@ const vendorFiling1099List = createSlice({
|
|
|
120
121
|
Object.assign(draft, initialState);
|
|
121
122
|
},
|
|
122
123
|
},
|
|
124
|
+
extraReducers: (builder) => {
|
|
125
|
+
builder.addCase(clearAll, (draft) => {
|
|
126
|
+
Object.assign(draft, initialState);
|
|
127
|
+
});
|
|
128
|
+
},
|
|
123
129
|
});
|
|
124
130
|
export const { fetchVendorsFiling1099All, fetchVendorsFiling1099List, updateVendorsFiling1099List, updateVendorFiling1099ListFailure, clearVendorsFiling1099List, updateFiling1099ScrollYOffset, updateFiling1099SortUIState, updateFiling1099SearchUIState, fetchVendorsFiling1099Download, updateVendorFiling1099DownloadData, } = vendorFiling1099List.actions;
|
|
125
131
|
export default vendorFiling1099List.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
import { mapW9FormFileToAttachment, } from './vendorFiling1099UploadDetailsPayload';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
fetchState: 'Not-Started',
|
|
@@ -209,6 +210,9 @@ const vendorFiling1099UploadDetails = createSlice({
|
|
|
209
210
|
return initialState;
|
|
210
211
|
},
|
|
211
212
|
},
|
|
213
|
+
extraReducers: (builder) => {
|
|
214
|
+
builder.addCase(clearAll, () => initialState);
|
|
215
|
+
},
|
|
212
216
|
});
|
|
213
217
|
export const { clearVendorFiling1099UploadDetails, updateW9FormUploadFile, updateW9FormUploadFetchState, vendorFiling1099UploadDetailsSave, vendorFiling1099UploadDetailsResetLocalData, vendorFiling1099UploadDetailsSuccessOrFailure, initializeVendorFiling1099UploadDetailsLocalState, updateVendor1099DetailsLocalData, updateW9FormOCRDataToLocalData, vendorFiling1099UploadDetailsResetFormStatus, } = vendorFiling1099UploadDetails.actions;
|
|
214
218
|
export default vendorFiling1099UploadDetails.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
|
export const initialState = {
|
|
4
5
|
fetchState: 'Not-Started',
|
|
@@ -143,6 +144,11 @@ const vendorList = createSlice({
|
|
|
143
144
|
Object.assign(draft, initialState);
|
|
144
145
|
},
|
|
145
146
|
},
|
|
147
|
+
extraReducers: (builder) => {
|
|
148
|
+
builder.addCase(clearAll, (draft) => {
|
|
149
|
+
Object.assign(draft, initialState);
|
|
150
|
+
});
|
|
151
|
+
},
|
|
146
152
|
});
|
|
147
153
|
export const { fetchVendorsList, updateVendorsList, updateVendorListFailure, clearVendorsList, updateScrollYOffset, updateSortUiState, updatePageToken, updateYTDSelectionUIState, } = vendorList.actions;
|
|
148
154
|
export default vendorList.reducer;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import { toAttachment, } from '../../../entity/transaction/payloadTypes/attachmentPayload';
|
|
3
|
+
import { clearAll } from '../../../rootActions';
|
|
3
4
|
import { toAllRecommendationsFromPayload, toVendorFirstReviewViewStatusesTypeStrict, } from '../common/state/commonTypes';
|
|
4
5
|
export const initialState = {
|
|
5
6
|
vendorFirstReviewViewLocalDataById: {},
|
|
@@ -288,6 +289,11 @@ const vendorFirstReviewView = createSlice({
|
|
|
288
289
|
Object.assign(draft, initialState);
|
|
289
290
|
},
|
|
290
291
|
},
|
|
292
|
+
extraReducers: (builder) => {
|
|
293
|
+
builder.addCase(clearAll, (draft) => {
|
|
294
|
+
Object.assign(draft, initialState);
|
|
295
|
+
});
|
|
296
|
+
},
|
|
291
297
|
});
|
|
292
298
|
const toVendorReviewViewUpdatedVendorLocalData = (vendorId, vendorPayload) => {
|
|
293
299
|
const vendorView = mapPayloadToVendorFirstReviewView({
|
package/lib/esm/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewReducer.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
import { toAllRecommendationsFromPayload, } from '../common/state/commonTypes';
|
|
3
4
|
import { toVendorGlobalReviewSortByKeyType, } from './vendorGlobalReviewViewPayload';
|
|
4
5
|
export const initialState = {
|
|
@@ -209,6 +210,11 @@ const vendorGlobalReviewView = createSlice({
|
|
|
209
210
|
Object.assign(draft, initialState);
|
|
210
211
|
},
|
|
211
212
|
},
|
|
213
|
+
extraReducers: (builder) => {
|
|
214
|
+
builder.addCase(clearAll, (draft) => {
|
|
215
|
+
Object.assign(draft, initialState);
|
|
216
|
+
});
|
|
217
|
+
},
|
|
212
218
|
});
|
|
213
219
|
export const { fetchVendorGlobalReviewView, fetchVendorGlobalReviewViewSuccess, fetchVendorGlobalReviewViewFailure, initializeVendorGlobalReviewViewLocalData, updateVendorGlobalReviewViewUIState, updateSelectedGlobalMerchant, approveVendorGlobalReview, rejectVendorGlobalReview, approveVendorGlobalReviewSuccess, approveVendorGlobalReviewFailure, rejectVendorGlobalReviewFailure, rejectVendorGlobalReviewSuccess, clearVendorGlobalReviewView, updateVendorGlobalReviewViewLocalData, } = vendorGlobalReviewView.actions;
|
|
214
220
|
export default vendorGlobalReviewView.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
import { toVendorTabViewTabType, } from './vendorTabViewState';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
fetchState: 'Not-Started',
|
|
@@ -46,6 +47,11 @@ const vendorTabView = 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 { clearVendorTabView, fetchVendorTabView, updateVendorTabViewTab, } = vendorTabView.actions;
|
|
51
57
|
export default vendorTabView.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 vendorTypeList = 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 { fetchVendorTypeList, updateVendorTypeList, updateVendorTypeListFailure, clearVendorTypeList, } = vendorTypeList.actions;
|
|
33
39
|
export default vendorTypeList.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
import { initialStatements, } from './zeniAccStatementList';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
byDepositId: {},
|
|
@@ -73,6 +74,11 @@ const zeniAccStatementList = createSlice({
|
|
|
73
74
|
Object.assign(draft, initialState);
|
|
74
75
|
},
|
|
75
76
|
},
|
|
77
|
+
extraReducers: (builder) => {
|
|
78
|
+
builder.addCase(clearAll, (draft) => {
|
|
79
|
+
Object.assign(draft, initialState);
|
|
80
|
+
});
|
|
81
|
+
},
|
|
76
82
|
});
|
|
77
83
|
export const { fetchZeniAccStatementPage, fetchZeniAccStatementList, updateZeniAccStatementList, updateZeniAccStatementListFetchStatus, clearZeniAccStatementList, } = zeniAccStatementList.actions;
|
|
78
84
|
export default zeniAccStatementList.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,
|
|
@@ -49,6 +50,11 @@ const zeniAccountsPromoCard = createSlice({
|
|
|
49
50
|
Object.assign(draft, initialState);
|
|
50
51
|
},
|
|
51
52
|
},
|
|
53
|
+
extraReducers: (builder) => {
|
|
54
|
+
builder.addCase(clearAll, (draft) => {
|
|
55
|
+
Object.assign(draft, initialState);
|
|
56
|
+
});
|
|
57
|
+
},
|
|
52
58
|
});
|
|
53
59
|
export const { fetchZeniAccountsPromoCard, updateZeniAccountsPromoCard, updateZeniAccountsPromoCardFailure, clearZeniAccountsPromoCard, } = zeniAccountsPromoCard.actions;
|
|
54
60
|
export default zeniAccountsPromoCard.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,
|
|
@@ -44,6 +45,9 @@ const zeniOAuthView = createSlice({
|
|
|
44
45
|
return initialState;
|
|
45
46
|
},
|
|
46
47
|
},
|
|
48
|
+
extraReducers: (builder) => {
|
|
49
|
+
builder.addCase(clearAll, () => initialState);
|
|
50
|
+
},
|
|
47
51
|
});
|
|
48
52
|
export const { approveOAuthConsent, approveOAuthConsentSuccess, approveOAuthConsentFailure, clearZeniOAuthView, } = zeniOAuthView.actions;
|
|
49
53
|
export default zeniOAuthView.reducer;
|
package/lib/index.d.ts
CHANGED
|
@@ -136,7 +136,7 @@ import { ALL_WEEK_DAYS, DayOfWeek, PriorityCodeType, Task, TaskCodeType, TaskPri
|
|
|
136
136
|
import { getTaskGroupById } from './entity/taskGroup/taskGroupSelector';
|
|
137
137
|
import { TaskGroupState } from './entity/taskGroup/taskGroupState';
|
|
138
138
|
import { TaskGroupTemplate } from './entity/taskGroupTemplate/taskGroupTemplateState';
|
|
139
|
-
import { DoSignInPayload,
|
|
139
|
+
import { DoSignInPayload, deleteConnection, doMagicLinkSignIn, doSignIn, doSignOut, fetchActiveTenant, fetchAllTenants, fetchExcludedResources as fetchExcludedResourcesForTenant, fetchExternalConnections as fetchExternalConnectionsForTenant, fetchSubscriptionSummaryForTenant, initEmailConnectOAuth, resendVerifyDeviceOTP, resetSignInState, saveAPIKeyConnection, saveConnectorCredentials, saveExternalConnection as saveExternalConnectionForTenant, saveOAuthConnection, sendEmailMagicLinkToUser, sendSessionHeartbeat, toExternalIntegrationType, toExternalSupportedTool, updateCurrentTenant, updateSignInState, verifyDeviceWithTwoFA } from './entity/tenant/tenantReducer';
|
|
140
140
|
import { CurrentTenant, TenantBaseView, TenantCoreDetailsView, TenantView, TenantsBaseOrdered, TenantsOrdered, getCurrentTenant, getIsAccountingClassesEnabled, getIsAccountingProjectsEnabled, getTenantBaseById, getTenantBaseViewForTenantId, getTenantBaseViewForTenantView, getTenantsBaseByCheckInDateSelector, getTenantsByCheckInDateSelector, getTenantsCoreDetailsByCheckInDateSelector, isOtherProductsEnabledForTenant, isTenantBankingOnly, isTenantBookkeepingEnabled, isTenantCardsOnly, isTenantUsingZeniCOA, isZeniDomainTenant, toTenantCoreDetailsView } from './entity/tenant/tenantSelector';
|
|
141
141
|
import { CapitalizableAccount, CapitalizableAccounts, CapitalizableClassificationType, CapitalizableMatchPattern, Connection, LoggedInUser, RoleResource, Tenant, TenantProductSettings } from './entity/tenant/tenantState';
|
|
142
142
|
import { ToastNotificationPayload } from './entity/toastNotification/toastNotificationPayload';
|
|
@@ -165,6 +165,7 @@ import { ExternalAPIEndpoints } from './externalAPI';
|
|
|
165
165
|
import initialize, { ZeniStore, disconnectPusher, initializePusher, initializeWithNewStore, injectFeatureEpics, injectFeatureModules, updateZeniAPIClientConfig, zeniAPIClientConfig } from './init';
|
|
166
166
|
import { RootState } from './reducer';
|
|
167
167
|
import { ZeniAPIStatus, isAccessDeniedError, isInvalidSessionError, isSuccessResponse } from './responsePayload';
|
|
168
|
+
import { clearAll } from './rootActions';
|
|
168
169
|
import { fetchAccountList } from './view/accountList/accountListReducer';
|
|
169
170
|
import { AccountListSelectorView, UncategorizedAccounts, getNestedAccountListHierarchy, getUncategorizedAccounts } from './view/accountList/accountListSelector';
|
|
170
171
|
import { clearAccountMappingLocalData, initializeAccountMappingView, saveAccountMapping, saveAccountMappingLocalData } from './view/accountMappingView/accountMappingReducer';
|
package/lib/index.js
CHANGED
|
@@ -318,7 +318,6 @@ Object.defineProperty(exports, "toTaskStatusCodeType", { enumerable: true, get:
|
|
|
318
318
|
const taskGroupSelector_1 = require("./entity/taskGroup/taskGroupSelector");
|
|
319
319
|
Object.defineProperty(exports, "getTaskGroupById", { enumerable: true, get: function () { return taskGroupSelector_1.getTaskGroupById; } });
|
|
320
320
|
const tenantReducer_1 = require("./entity/tenant/tenantReducer");
|
|
321
|
-
Object.defineProperty(exports, "clearAll", { enumerable: true, get: function () { return tenantReducer_1.clearAll; } });
|
|
322
321
|
Object.defineProperty(exports, "deleteConnection", { enumerable: true, get: function () { return tenantReducer_1.deleteConnection; } });
|
|
323
322
|
Object.defineProperty(exports, "doMagicLinkSignIn", { enumerable: true, get: function () { return tenantReducer_1.doMagicLinkSignIn; } });
|
|
324
323
|
Object.defineProperty(exports, "doSignIn", { enumerable: true, get: function () { return tenantReducer_1.doSignIn; } });
|
|
@@ -447,6 +446,8 @@ const responsePayload_1 = require("./responsePayload");
|
|
|
447
446
|
Object.defineProperty(exports, "isAccessDeniedError", { enumerable: true, get: function () { return responsePayload_1.isAccessDeniedError; } });
|
|
448
447
|
Object.defineProperty(exports, "isInvalidSessionError", { enumerable: true, get: function () { return responsePayload_1.isInvalidSessionError; } });
|
|
449
448
|
Object.defineProperty(exports, "isSuccessResponse", { enumerable: true, get: function () { return responsePayload_1.isSuccessResponse; } });
|
|
449
|
+
const rootActions_1 = require("./rootActions");
|
|
450
|
+
Object.defineProperty(exports, "clearAll", { enumerable: true, get: function () { return rootActions_1.clearAll; } });
|
|
450
451
|
const accountListReducer_1 = require("./view/accountList/accountListReducer");
|
|
451
452
|
Object.defineProperty(exports, "fetchAccountList", { enumerable: true, get: function () { return accountListReducer_1.fetchAccountList; } });
|
|
452
453
|
const accountListSelector_1 = require("./view/accountList/accountListSelector");
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Store-wide reset. Every slice handles this action in its own `extraReducers`,
|
|
3
|
+
* so one dispatch produces one root-reducer pass instead of fanning out into a
|
|
4
|
+
* separate clear action per slice.
|
|
5
|
+
*
|
|
6
|
+
* Lives in a leaf module with no imports of its own so that any slice can import
|
|
7
|
+
* it without creating a cycle back into an entity or view module.
|
|
8
|
+
*
|
|
9
|
+
* `keepTenantCompanyState` is honoured only by `tenantState` and `companyState`;
|
|
10
|
+
* a tenant switch keeps them so the app never loses the identity it is switching
|
|
11
|
+
* to, while sign-out passes `false` to wipe them. It is required rather than
|
|
12
|
+
* defaulted because it decides whether tenant and company data survive, and that
|
|
13
|
+
* should never be implicit at a call site.
|
|
14
|
+
*/
|
|
15
|
+
export declare const clearAll: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[keepTenantCompanyState: boolean], {
|
|
16
|
+
keepTenantCompanyState: boolean;
|
|
17
|
+
}, "app/clearAll", never, never>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.clearAll = void 0;
|
|
4
|
+
const toolkit_1 = require("@reduxjs/toolkit");
|
|
5
|
+
/**
|
|
6
|
+
* Store-wide reset. Every slice handles this action in its own `extraReducers`,
|
|
7
|
+
* so one dispatch produces one root-reducer pass instead of fanning out into a
|
|
8
|
+
* separate clear action per slice.
|
|
9
|
+
*
|
|
10
|
+
* Lives in a leaf module with no imports of its own so that any slice can import
|
|
11
|
+
* it without creating a cycle back into an entity or view module.
|
|
12
|
+
*
|
|
13
|
+
* `keepTenantCompanyState` is honoured only by `tenantState` and `companyState`;
|
|
14
|
+
* a tenant switch keeps them so the app never loses the identity it is switching
|
|
15
|
+
* to, while sign-out passes `false` to wipe them. It is required rather than
|
|
16
|
+
* defaulted because it decides whether tenant and company data survive, and that
|
|
17
|
+
* should never be implicit at a call site.
|
|
18
|
+
*/
|
|
19
|
+
exports.clearAll = (0, toolkit_1.createAction)('app/clearAll', (keepTenantCompanyState) => ({
|
|
20
|
+
payload: { keepTenantCompanyState },
|
|
21
|
+
}));
|
|
@@ -10,6 +10,7 @@ const get_1 = __importDefault(require("lodash/get"));
|
|
|
10
10
|
const getNestedAccountIDHierarchyForReport_1 = require("../../commonStateTypes/accountView/getNestedAccountIDHierarchyForReport");
|
|
11
11
|
const accountPayload_1 = require("../../entity/account/accountPayload");
|
|
12
12
|
const accountState_1 = require("../../entity/account/accountState");
|
|
13
|
+
const rootActions_1 = require("../../rootActions");
|
|
13
14
|
exports.initialAccountList = {
|
|
14
15
|
fetchState: 'Not-Started',
|
|
15
16
|
error: undefined,
|
|
@@ -87,6 +88,11 @@ const accountList = (0, toolkit_1.createSlice)({
|
|
|
87
88
|
Object.assign(draft, exports.initialState);
|
|
88
89
|
},
|
|
89
90
|
},
|
|
91
|
+
extraReducers: (builder) => {
|
|
92
|
+
builder.addCase(rootActions_1.clearAll, (draft) => {
|
|
93
|
+
Object.assign(draft, exports.initialState);
|
|
94
|
+
});
|
|
95
|
+
},
|
|
90
96
|
});
|
|
91
97
|
_a = accountList.actions, exports.fetchAccountList = _a.fetchAccountList, exports.updateAccountList = _a.updateAccountList, exports.updateAccountListFailure = _a.updateAccountListFailure, exports.clearAccountList = _a.clearAccountList;
|
|
92
98
|
exports.default = accountList.reducer;
|
|
@@ -5,6 +5,7 @@ exports.clearAccountMappingView = exports.saveAccountMappingSuccess = exports.sa
|
|
|
5
5
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
6
|
const getNestedAccountIDHierarchyForReport_1 = require("../../commonStateTypes/accountView/getNestedAccountIDHierarchyForReport");
|
|
7
7
|
const accountPayload_1 = require("../../entity/account/accountPayload");
|
|
8
|
+
const rootActions_1 = require("../../rootActions");
|
|
8
9
|
const accountTypeRecommendationPayload_1 = require("./accountTypeRecommendation/accountTypeRecommendationPayload");
|
|
9
10
|
exports.initialState = {
|
|
10
11
|
data: {
|
|
@@ -135,6 +136,11 @@ const accountMapping = (0, toolkit_1.createSlice)({
|
|
|
135
136
|
Object.assign(draft, exports.initialState);
|
|
136
137
|
},
|
|
137
138
|
},
|
|
139
|
+
extraReducers: (builder) => {
|
|
140
|
+
builder.addCase(rootActions_1.clearAll, (draft) => {
|
|
141
|
+
Object.assign(draft, exports.initialState);
|
|
142
|
+
});
|
|
143
|
+
},
|
|
138
144
|
});
|
|
139
145
|
_a = accountMapping.actions, exports.initializeAccountMappingView = _a.initializeAccountMappingView, exports.fetchRecommendationForAccountMapping = _a.fetchRecommendationForAccountMapping, exports.updateRecommendationForAccountMapping = _a.updateRecommendationForAccountMapping, exports.updateRecommendationForAccountMappingFailure = _a.updateRecommendationForAccountMappingFailure, exports.fetchAccountListForAccountTypes = _a.fetchAccountListForAccountTypes, exports.updateAccountListForAccountTypes = _a.updateAccountListForAccountTypes, exports.updateAccountListForAccountTypesFailure = _a.updateAccountListForAccountTypesFailure, exports.saveAccountMappingLocalData = _a.saveAccountMappingLocalData, exports.clearAccountMappingLocalData = _a.clearAccountMappingLocalData, exports.saveAccountMapping = _a.saveAccountMapping, exports.saveAccountMappingFailure = _a.saveAccountMappingFailure, exports.saveAccountMappingSuccess = _a.saveAccountMappingSuccess, exports.clearAccountMappingView = _a.clearAccountMappingView;
|
|
140
146
|
exports.default = accountMapping.reducer;
|
|
@@ -7,6 +7,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
7
7
|
exports.clearAddressView = exports.updateAddressFailure = exports.updateAddressSuccess = exports.updateAddress = exports.createAddressFailure = exports.createAddressSuccess = exports.createAddress = exports.removeNewAddressDataInLocalStore = exports.resetNewAddressDataInLocalStoreForAddressTypes = exports.resetNewAddressDataInLocalStore = exports.resetNewAddressesInLocalStore = exports.createCompanyUserAddress = exports.createCompanyAddress = exports.saveNewAddress = exports.newAddressInLocalStore = exports.fetchAddressFailure = exports.fetchAddressSuccess = exports.fetchAddress = exports.initialState = void 0;
|
|
8
8
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
9
9
|
const get_1 = __importDefault(require("lodash/get"));
|
|
10
|
+
const rootActions_1 = require("../../rootActions");
|
|
10
11
|
exports.initialState = {
|
|
11
12
|
fetchAddressState: {},
|
|
12
13
|
updateAddressState: {},
|
|
@@ -179,6 +180,11 @@ const addressView = (0, toolkit_1.createSlice)({
|
|
|
179
180
|
Object.assign(draft, exports.initialState);
|
|
180
181
|
},
|
|
181
182
|
},
|
|
183
|
+
extraReducers: (builder) => {
|
|
184
|
+
builder.addCase(rootActions_1.clearAll, (draft) => {
|
|
185
|
+
Object.assign(draft, exports.initialState);
|
|
186
|
+
});
|
|
187
|
+
},
|
|
182
188
|
});
|
|
183
189
|
const updateStateForAddressType = (state, addressType, updates) => {
|
|
184
190
|
if (state.newAddressState != null) {
|