@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,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 revenueProjectView = 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 { fetchRevenueProjectView, fetchRevenueForTimeframeProjectView, updateRevenueForTimeframeProjectView, updateRevenueForTimeframeProjectViewFailure, updateProjectsToFilterOut, updateRevenueProjectViewUIState, updateProjectViewAccountViewMode, resetProjectNodeCollapseState, clearRevenueProjectView, } = revenueProjectView.actions;
|
|
100
106
|
export default revenueProjectView.reducer;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import keys from 'lodash/keys';
|
|
3
3
|
import { toOnboardingInfo, } from '../../entity/company/companyPayload';
|
|
4
|
+
import { clearAll } from '../../rootActions';
|
|
4
5
|
import { dateInUTC } from '../../zeniDayJS';
|
|
5
6
|
import { toReviewCompany, } from './reviewCompanyViewState';
|
|
6
7
|
export const initialCockpitReviewUIState = {
|
|
@@ -119,6 +120,11 @@ const reviewCompanyView = createSlice({
|
|
|
119
120
|
Object.assign(draft, initialState);
|
|
120
121
|
},
|
|
121
122
|
},
|
|
123
|
+
extraReducers: (builder) => {
|
|
124
|
+
builder.addCase(clearAll, (draft) => {
|
|
125
|
+
Object.assign(draft, initialState);
|
|
126
|
+
});
|
|
127
|
+
},
|
|
122
128
|
});
|
|
123
129
|
export const { fetchReviewCompanyView, updateReviewCompanyOnSuccess, updateReviewCompanyOnFailure, updateReviewCompanyListUIState, clearReviewCompany, updateReviewCompanyNotes, retryBankAccountConnection, updateRetryBankAccountConnectionFailure, updateRetryBankAccountConnectionSuccess, } = reviewCompanyView.actions;
|
|
124
130
|
export default reviewCompanyView.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
import { getThirdPartyIdFromTransactionId, } from '../../transactionDetail/transactionDetailState';
|
|
3
4
|
import { getJETransactionLinkFromThirdPartyId, getThirdPartyIDFromQBOURL, } from '../scheduleDetailView/scheduleDetailLocalDataHelper';
|
|
4
5
|
export const initialScheduleDetailsLocalDataAccruedExpenses = {
|
|
@@ -315,6 +316,11 @@ const scheduleAccruedDetailView = createSlice({
|
|
|
315
316
|
Object.assign(draft, initialState);
|
|
316
317
|
},
|
|
317
318
|
},
|
|
319
|
+
extraReducers: (builder) => {
|
|
320
|
+
builder.addCase(clearAll, (draft) => {
|
|
321
|
+
Object.assign(draft, initialState);
|
|
322
|
+
});
|
|
323
|
+
},
|
|
318
324
|
});
|
|
319
325
|
export const { clearScheduleAccruedDetailView, createNewSchedulesAccrued, deleteScheduleAccruedDetail, deleteScheduleAccruedDetailSuccessOrFailure, fetchScheduleAccruedDetails, fetchScheduleAccruedDetailsPage, initializeScheduleAccruedDetailLocalData, resetJEAccruedLinkInLocalData, saveScheduleAccruedDetails, saveScheduleAccruedDetailsSuccessOrFailure, updateAmountsInScheduleAccruedDetail, clearSelectedJELinkRowIndex, updateDeletedScheduleAccruedDetail, updatedJEAccruedLinkWithRecommendedLocalData, updatedJELinkInLocalDataAccruedExpenses, fetchRecommendedTransactionRowIndex, updateScheduleAccruedDetailsFailure, updateScheduleAccruedDetailsLocalData, updateScheduleAccruedDetailsSuccess, updateSelectedJEAccruedScheduleKey, updateFetchedTransactionIds, updatedFetchRecommendationBillExpenseSuccessOrFailure, resetSelectedJEAccruedScheduleKey, resetAccruedDetailNewScheduleState, cancelScheduleAccruedJournalEntry, updateLinkBillExpenseLocalData, cancelScheduleAccruedJournalEntrySuccessOrFailure, } = scheduleAccruedDetailView.actions;
|
|
320
326
|
export default scheduleAccruedDetailView.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../rootActions';
|
|
2
3
|
import { getThirdPartyIdFromTransactionId } from '../../transactionDetail/transactionDetailState';
|
|
3
4
|
import { getJETransactionLinkFromThirdPartyId, getThirdPartyIDFromQBOURL, } from './scheduleDetailLocalDataHelper';
|
|
4
5
|
export const initialScheduleDetailsLocalData = {
|
|
@@ -301,6 +302,11 @@ const scheduleDetailView = createSlice({
|
|
|
301
302
|
Object.assign(draft, initialState);
|
|
302
303
|
},
|
|
303
304
|
},
|
|
305
|
+
extraReducers: (builder) => {
|
|
306
|
+
builder.addCase(clearAll, (draft) => {
|
|
307
|
+
Object.assign(draft, initialState);
|
|
308
|
+
});
|
|
309
|
+
},
|
|
304
310
|
});
|
|
305
311
|
export const { createNewSchedules, fetchScheduleDetailsPage, fetchScheduleDetails, updateScheduleDetailsSuccess, updateScheduleDetailsFailure, saveScheduleDetails, saveScheduleDetailsSuccessOrFailure, deleteScheduleDetail, updateDeletedScheduleDetail, deleteScheduleDetailSuccessOrFailure, initializeScheduleDetailLocalData, updateScheduleDetailsLocalData, updatedJELinkInLocalData, updateAmountsInScheduleDetail, updateSelectedJEScheduleKey, updatedSelectedJELinkRowIndex, updatedJELinkWithRecommendedLocalData, resetJELinkInLocalData, markAsCompleteScheduleDetail, markAsCompleteScheduleDetailSuccessOrFailure, resetMarkAsCompleteStatus, clearScheduleDetailView, } = scheduleDetailView.actions;
|
|
306
312
|
export default scheduleDetailView.reducer;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import { getJEScheduleKey, getJEScheduleTransactionDetailKeyPayload, } from '../../../entity/jeSchedules/jeSchedulesPayload';
|
|
3
|
+
import { clearAll } from '../../../rootActions';
|
|
3
4
|
import { getDefaultSelectedTimeframeForScheduleType } from './scheduleListHelper';
|
|
4
5
|
import { getScheduleListKey, } from './scheduleListTypes';
|
|
5
6
|
export const initialUIState = {
|
|
@@ -368,6 +369,11 @@ const scheduleListView = createSlice({
|
|
|
368
369
|
Object.assign(draft, initialState);
|
|
369
370
|
},
|
|
370
371
|
},
|
|
372
|
+
extraReducers: (builder) => {
|
|
373
|
+
builder.addCase(clearAll, (draft) => {
|
|
374
|
+
Object.assign(draft, initialState);
|
|
375
|
+
});
|
|
376
|
+
},
|
|
371
377
|
});
|
|
372
378
|
export const { fetchDownloadSchedules, fetchAccruedScheduleList, fetchScheduleList, fetchSchedulesAccount, updateScheduleListSuccess, updateAccruedScheduleListSuccess, updateScheduleListFailure, updateAccruedScheduleListFailure, updateDownloadScheduleFailure, updateDownloadScheduleSuccess, updateScheduleListSubTab, updateScheduleListScrollState, updateScheduleListSortState, updateScheduleListLocalData, updateScheduleListSearchText, updateScheduleListDownloadState, updateAccruedJEScheduleAccruedByListKey, clearScheduleList, } = scheduleListView.actions;
|
|
373
379
|
export default scheduleListView.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../rootActions';
|
|
2
3
|
import { toNotificationMode, toRemindersFrequencyType, } from './settingsViewState';
|
|
3
4
|
const initialNotificationSettingsData = {
|
|
4
5
|
reminderNotificationSettings: {
|
|
@@ -346,6 +347,11 @@ const settings = createSlice({
|
|
|
346
347
|
Object.assign(draft, initialState);
|
|
347
348
|
},
|
|
348
349
|
},
|
|
350
|
+
extraReducers: (builder) => {
|
|
351
|
+
builder.addCase(clearAll, (draft) => {
|
|
352
|
+
Object.assign(draft, initialState);
|
|
353
|
+
});
|
|
354
|
+
},
|
|
349
355
|
});
|
|
350
356
|
export const { fetchMyProfileView, fetchMyProfile, fetchNotificationSettingsView, updateMyProfileOnSuccess, updateMyProfileOnFailure, fetchBankConnectionsView, fetchBillingAccountsView, updateBankConnectionOnSuccess, updateBankConnectionOnFailure, fetchBankAccountsList, fetchNotificationSettings, updateNotificationSettingsOnSuccess, updateNotificationSettingsOnFailure, updateNotificationSettingsLocalData, resetNotificationSettingsLocalData, saveNotificationSettings, updateNotificationSettingsOnSaveSuccess, updateNotificationSettingsOnSaveFailure, resetNotificationSettingsUpdateStatus, refreshQBOData, refreshQBODataSuccess, refreshQBODataFailure, updateSettingsViewUIState, initializeMyProfileLocalData, updateMyProfileLocalData, updateMyProfile, updateMyProfileFailure, updateMyProfileSuccess, sendOtpMyProfile, sendOtpMyProfileFailure, sendOtpMyProfileSuccess, resendOtpMyProfile, verifyOtpMyProfile, verifyOtpMyProfileFailure, verifyOtpMyProfileSuccess, fetchCompanyBillingAddress, fetchCompanyBillingAddressSuccess, fetchCompanyBillingAddressFailure, saveCompanyBillingAddress, saveCompanyBillingAddressSuccess, saveCompanyBillingAddressFailure, clearSettingsView, } = settings.actions;
|
|
351
357
|
export default settings.reducer;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import recordGet from 'lodash/get';
|
|
3
|
+
import { clearAll } from '../../../rootActions';
|
|
3
4
|
import { initialCommonHistory } from '../commonHistoryView/commonHistory';
|
|
4
5
|
import { toHistoricEvent, } from '../commonHistoryView/commonHistoryPayload';
|
|
5
6
|
import { mapReviewTransferMoneyPayloadToReviewTransferMoney, } from '../zeniAccounts/transferDetail/transferDetailPayload';
|
|
@@ -194,6 +195,11 @@ const autotransferRules = createSlice({
|
|
|
194
195
|
Object.assign(draft, initialState);
|
|
195
196
|
},
|
|
196
197
|
},
|
|
198
|
+
extraReducers: (builder) => {
|
|
199
|
+
builder.addCase(clearAll, (draft) => {
|
|
200
|
+
Object.assign(draft, initialState);
|
|
201
|
+
});
|
|
202
|
+
},
|
|
197
203
|
});
|
|
198
204
|
export const { fetchAutoTransferRules, updateAutoTransferRules, updateAutoTransferRulesFailure, fetchAutoTransferReviewDetail, updateAutoTransferReviewDetail, updateAutoTransferReviewDetailFailure, clearAutoTransferReviewDetail, createAutoTransferRule, createAutoTransferRuleSuccess, createAutoTransferRuleFailure, updateAutoTransferRule, updateAutoTransferRuleSuccess, updateAutoTransferRuleFailure, deleteAutoTransferRule, deleteAutoTransferRuleSuccess, deleteAutoTransferRuleFailure, fetchAutoTransferRuleHistory, updateAutoTransferRuleHistory, updateAutoTransferRuleHistoryFetchStatus, updateRuleLocalData, clearRuleUpdateLocalData, clearAutoTransferRules, } = autotransferRules.actions;
|
|
199
205
|
export default autotransferRules.reducer;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import recordGet from 'lodash/get';
|
|
3
|
+
import { clearAll } from '../../../../rootActions';
|
|
3
4
|
import { getBillTransactionDetailKey, initialBillDetailView, } from './billDetailViewState';
|
|
4
5
|
export const initialState = {
|
|
5
6
|
billDetailById: {},
|
|
@@ -458,6 +459,11 @@ const billDetailView = createSlice({
|
|
|
458
459
|
Object.assign(draft, initialState);
|
|
459
460
|
},
|
|
460
461
|
},
|
|
462
|
+
extraReducers: (builder) => {
|
|
463
|
+
builder.addCase(clearAll, (draft) => {
|
|
464
|
+
Object.assign(draft, initialState);
|
|
465
|
+
});
|
|
466
|
+
},
|
|
461
467
|
});
|
|
462
468
|
export const { fetchBillDetail, updateBillDetail, updateBillDetailFetchState, removeBillDetail, deleteBill, deleteBillSuccessOrFailure, approveOrRejectBill, approveOrRejectBillSuccess, approveOrRejectBillFailure, updateApprovalStatusOnSuccess, clearBillDetailView, cancelAndDeleteBill, cancelAndDeleteBillSuccessOrFailure, waitForVendorByNameThenUpdateBillDetail, fetchEligibleActionsForBill, updateEligibleActionsForBill, updateFetchEligibleActionsFailureState, retryOrRefundBill, retryOrRefundBillSuccess, retryOrRefundBillFailure, } = billDetailView.actions;
|
|
463
469
|
export default billDetailView.reducer;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import { toAbsoluteDay, } from '../../../../commonStateTypes/timePeriod';
|
|
3
|
+
import { clearAll } from '../../../../rootActions';
|
|
3
4
|
import { getSpendManagementEffectiveListPeriod } from '../../helpers';
|
|
4
5
|
import { billListInitialState, getBillListKey, } from './billListState';
|
|
5
6
|
export const initialState = {
|
|
@@ -159,6 +160,11 @@ const billList = createSlice({
|
|
|
159
160
|
Object.assign(draft, initialState);
|
|
160
161
|
},
|
|
161
162
|
},
|
|
163
|
+
extraReducers: (builder) => {
|
|
164
|
+
builder.addCase(clearAll, (draft) => {
|
|
165
|
+
Object.assign(draft, initialState);
|
|
166
|
+
});
|
|
167
|
+
},
|
|
162
168
|
});
|
|
163
169
|
export const { fetchBillList, fetchBillListPerTab, updateBillListByStatus, updateBillListFailure, updateTab, updateSubTab, updateSelectedBillId, clearBillList, updateBillDetailSaveBillCode, updateBillListUIState, updateSearchResult, updateFilterResult, updateBillListDownloadUIState, removeTransactionIdFromBillTabList, } = billList.actions;
|
|
164
170
|
export default billList.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../../rootActions';
|
|
2
3
|
import { getAccountTypeSubConfigCodeKey, getBillPaymentSubConfigCodeKey, getBillPaymentWireSubConfigCodeKey, getInternationalSubConfigCodeKey, getInternationalWireMethodCodeKey, getPaymentAchSubConfigCodeKey, mapBillPayConfigPayloadToBillPayConfig, mapBillPayVendorConfigPayloadToBillPayVendorConfig, toVendorCurrency, } from './billPayConfigPayload';
|
|
3
4
|
import { ACCOUNT_TYPE_CODES, BILL_PAYMENT_METHOD_CODE, BILL_PAYMENT_OUTSIDE_ZENI_SUB_CODES, BILL_PAYMENT_WIRE_SUB_CODES, INTERNATIONAL_CODES, INTERNATIONAL_SUB_CODES, PAYMENT_ACH_SUB_CODES, getBillPayConfigKey, getBillPayConfigMethodKey, toAccType, } from './billPayConfigState';
|
|
4
5
|
export const initialState = {
|
|
@@ -128,6 +129,11 @@ const billPayConfig = createSlice({
|
|
|
128
129
|
Object.assign(draft, initialState);
|
|
129
130
|
},
|
|
130
131
|
},
|
|
132
|
+
extraReducers: (builder) => {
|
|
133
|
+
builder.addCase(clearAll, (draft) => {
|
|
134
|
+
Object.assign(draft, initialState);
|
|
135
|
+
});
|
|
136
|
+
},
|
|
131
137
|
});
|
|
132
138
|
export const { fetchBillPayConfig, updateBillPayConfig, updateBillPayConfigFailure, clearBillPayConfig, } = billPayConfig.actions;
|
|
133
139
|
export default billPayConfig.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../../rootActions';
|
|
2
3
|
import { getBillTransactionDetailKey } from '../billDetailView/billDetailViewState';
|
|
3
4
|
import { initialDuplicateBillCheckState, } from './billPayReviewState';
|
|
4
5
|
export const initialState = {
|
|
@@ -100,6 +101,11 @@ const billPayReview = createSlice({
|
|
|
100
101
|
Object.assign(draft, initialState);
|
|
101
102
|
},
|
|
102
103
|
},
|
|
104
|
+
extraReducers: (builder) => {
|
|
105
|
+
builder.addCase(clearAll, (draft) => {
|
|
106
|
+
Object.assign(draft, initialState);
|
|
107
|
+
});
|
|
108
|
+
},
|
|
103
109
|
});
|
|
104
110
|
export const { fetchDuplicateBill, updateDuplicateBillPaySuccess, updateDuplicateBillPayFailure, clearBillPayReview, } = billPayReview.actions;
|
|
105
111
|
export default billPayReview.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,
|
|
@@ -336,6 +337,11 @@ const billPaySetupApproverView = createSlice({
|
|
|
336
337
|
Object.assign(draft, initialState);
|
|
337
338
|
},
|
|
338
339
|
},
|
|
340
|
+
extraReducers: (builder) => {
|
|
341
|
+
builder.addCase(clearAll, (draft) => {
|
|
342
|
+
Object.assign(draft, initialState);
|
|
343
|
+
});
|
|
344
|
+
},
|
|
339
345
|
});
|
|
340
346
|
export const { fetchBillPaySetupApproverView, fetchBillPaySetupApproverViewSuccess, fetchBillPaySetupApproverViewFailure, fetchBillPayApproversDetails, fetchBillPayApproversList, fetchBillPayApproversListSuccess, fetchBillPayApproversListFailure, deleteBillPayApprovalRule, deleteBillPayApprovalRuleSuccess, deleteBillPayApprovalRuleFailure, reorderBillPayApprovalRules, reorderBillPayApprovalRulesSuccess, reorderBillPayApprovalRulesFailure, saveBillPaySetupApproverViewUpdates, saveBillPaySetupApproverViewUpdatesSuccess, saveBillPaySetupApproverViewUpdatesFailure, initializeBillPaySetupApproverViewUpdateData, saveBillPaySetupApproverViewUpdateData, clearBillPaySetupApproverViewUpdateData, setListeningToPusherEvent, clearBillPaySetupApproverView, } = billPaySetupApproverView.actions;
|
|
341
347
|
export default billPaySetupApproverView.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,
|
|
@@ -97,6 +98,11 @@ const billPaySetupView = createSlice({
|
|
|
97
98
|
Object.assign(draft, initialState);
|
|
98
99
|
},
|
|
99
100
|
},
|
|
101
|
+
extraReducers: (builder) => {
|
|
102
|
+
builder.addCase(clearAll, (draft) => {
|
|
103
|
+
Object.assign(draft, initialState);
|
|
104
|
+
});
|
|
105
|
+
},
|
|
100
106
|
});
|
|
101
107
|
export const { fetchBillPaySetupView, fetchBillPaySetupViewSuccess, fetchBillPaySetupViewFailure, acceptBillPayTerms, acceptBillPayTermsSuccess, acceptBillPayTermsFailure, acceptBillPayUpdatedTerms, clearBillPaySetupView, } = billPaySetupView.actions;
|
|
102
108
|
export default billPaySetupView.reducer;
|
package/lib/esm/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewReducer.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../../rootActions';
|
|
2
3
|
import { toBulkReviewErrorCode, toBulkReviewStatusCode, } from './billsBulkActionViewState';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
billsSelectedForBulkAction: [],
|
|
@@ -158,6 +159,11 @@ const billsBulkActionView = createSlice({
|
|
|
158
159
|
Object.assign(draft, initialState);
|
|
159
160
|
},
|
|
160
161
|
},
|
|
162
|
+
extraReducers: (builder) => {
|
|
163
|
+
builder.addCase(clearAll, (draft) => {
|
|
164
|
+
Object.assign(draft, initialState);
|
|
165
|
+
});
|
|
166
|
+
},
|
|
161
167
|
});
|
|
162
168
|
export const { updateBillsBulkActionList, removeBillFromBulkActionList, clearAllBillsFromBulkActionList, validateBillsBulkAction, validateBillsBulkActionSuccess, validateBillsBulkActionFailure, submitDraftBillsBulkAction, approveOrRejectBillsBulkAction, cancelOrDeleteBillsBulkAction, billsBulkActionFailure, autoReviewPendingApprovalBills, incrementBulkActionProcessedCount, billsBulkActionSuccess, clearBillPayBulkActionView, } = billsBulkActionView.actions;
|
|
163
169
|
export default billsBulkActionView.reducer;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import { toAmount } from '../../../../commonStateTypes/amount';
|
|
3
3
|
import { mapFileToAttachment } from '../../../../entity/transaction/payloadTypes/attachmentPayload';
|
|
4
|
+
import { clearAll } from '../../../../rootActions';
|
|
4
5
|
import { updateRecurringBillDetails } from '../../helpers';
|
|
5
6
|
import { getBillTransactionDetailKey } from '../billDetailView/billDetailViewState';
|
|
6
7
|
import { initialBillDetail, } from './editBillViewState';
|
|
@@ -490,6 +491,11 @@ const editBillView = createSlice({
|
|
|
490
491
|
Object.assign(draft, initialState);
|
|
491
492
|
},
|
|
492
493
|
},
|
|
494
|
+
extraReducers: (builder) => {
|
|
495
|
+
builder.addCase(clearAll, (draft) => {
|
|
496
|
+
Object.assign(draft, initialState);
|
|
497
|
+
});
|
|
498
|
+
},
|
|
493
499
|
});
|
|
494
500
|
export const { fetchEditBillDetailPage, fetchBillAndInitializeLocalStore, fetchVendorByNameAndParseInvoice, initializeBillToLocalStore, saveBillUpdatesToLocalStore, discardBillUpdatesInLocalStore, saveBillDetail, saveBillSuccessOrFailure, updateEditBillFetchStateCompleted, parseInvoiceToBill, clearEditBillViewDetail, waitForBillDetailThenInitializeLocalStore, waitForVendorByNameThenParsetoLocalStore, updateInternationalTransferFeeBearerPaymentMethodInLocalData, updateShowAutofill, updateAddBillAutoFields, updateBillUploadFetchState, updateRecommendedVendorId, updateSuggestedVendorIdFromParsedInvoice, updateVendorContact, updateVendorContactSuccessOrFailure, convertAmountToHomeCurrency, currencyConversionValueSuccessOrFailure, updateHomeCurrencyConversion, fetchVendorAndUpdateBillLocalData, waitForVendorByIdThenSaveBillUpdatetoLocalStore, markBillForRetry, updateOutsideZeniPaymentLocalData, discardOutsideZeniPaymentLocalData, updateNewAddedBillPaymentAccount, updateWithdrawFromAccountId, removeBillFileFromLocalStore, replaceBillFileInLocalStore, updateShouldReplaceBillData, } = editBillView.actions;
|
|
495
501
|
export default editBillView.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../../rootActions';
|
|
2
3
|
import { getSupportedAccountKey, intialDynamicFormDetails, } from './internationalWire';
|
|
3
4
|
import { toDynamicFormFields, toSupportedAccountPayload, } from './internationalWirePayload';
|
|
4
5
|
export const initialState = {
|
|
@@ -148,6 +149,11 @@ const internationalWire = createSlice({
|
|
|
148
149
|
Object.assign(draft, initialState);
|
|
149
150
|
},
|
|
150
151
|
},
|
|
152
|
+
extraReducers: (builder) => {
|
|
153
|
+
builder.addCase(clearAll, (draft) => {
|
|
154
|
+
Object.assign(draft, initialState);
|
|
155
|
+
});
|
|
156
|
+
},
|
|
151
157
|
});
|
|
152
158
|
export const { fetchInternationalWireDynamicForm, updateInternationalWireDynamicForm, updateInternationalWireDynamicFormFailure, updateInternationalWireLocalStoreData, initializeDynamicForm, createPaymentInstrument, createPaymentInstrumentUpdateStatus, deletePaymentInstrument, deletePaymentInstrumentUpdateStatus, initializeInternationalWireLocalData, clearInternationalWire, } = internationalWire.actions;
|
|
153
159
|
export default internationalWire.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../../rootActions';
|
|
2
3
|
import { toDynamicFormField, } from './internationalWireVerificationPayload';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
verificationFormFetchState: {
|
|
@@ -82,6 +83,11 @@ const internationalWireVerification = createSlice({
|
|
|
82
83
|
Object.assign(draft, initialState);
|
|
83
84
|
},
|
|
84
85
|
},
|
|
86
|
+
extraReducers: (builder) => {
|
|
87
|
+
builder.addCase(clearAll, (draft) => {
|
|
88
|
+
Object.assign(draft, initialState);
|
|
89
|
+
});
|
|
90
|
+
},
|
|
85
91
|
});
|
|
86
92
|
export const { fetchInternationalVerificationForm, updateInternationalVerificationForm, updateVerificationFormFailure, updateVerificationFormLocalData, submitInternationalVerificationForm, updateVerificationFormSubmissionStatus, initializeIntlVerificationForm, clearInternationalVerificationView, } = internationalWireVerification.actions;
|
|
87
93
|
export default internationalWireVerification.reducer;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import { toURL } from '../../../../commonPayloadTypes/urlPayload';
|
|
3
|
+
import { clearAll } from '../../../../rootActions';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
billFetchStatus: {
|
|
5
6
|
fetchState: 'Not-Started',
|
|
@@ -268,6 +269,11 @@ const magicLinkView = createSlice({
|
|
|
268
269
|
Object.assign(draft, initialState);
|
|
269
270
|
},
|
|
270
271
|
},
|
|
272
|
+
extraReducers: (builder) => {
|
|
273
|
+
builder.addCase(clearAll, (draft) => {
|
|
274
|
+
Object.assign(draft, initialState);
|
|
275
|
+
});
|
|
276
|
+
},
|
|
271
277
|
});
|
|
272
278
|
export const { fetchMagicLinkTenant, fetchBillAttachment, updateMagicLinkTenantSuccess, updateMagicLinkTenantFailure, updateBill, billFetchFail, saveBankAccount, updateStatusForSaveBankAccountMagicLinkFlow, updateMagicLinkBankAccountLocalStoreData, updateMagicLinkBankNameByRouting, updateMagicLinkBankNameByRoutingFailure, updateMagicLinkInternationalBankAccountLocalStoreData, fetchMagicLinkBankNameByRouting, fetchMagicLinkBankNameByRoutingSuccess, saveMagicLinkAddressInLocalStore, fetchMagicLinkBankNameBySwift, fetchMagicLinkBankNameBySwiftSuccess, updateMagicLinkBankNameBySwift, updateMagicLinkBankNameBySwiftFailure, clearMagicLinkView, } = magicLinkView.actions;
|
|
273
279
|
export default magicLinkView.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../../rootActions';
|
|
2
3
|
import { getPreviousBillsKey, initialPreviousBillsState, } from './previousBillsState';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
byEntityKey: {},
|
|
@@ -45,6 +46,11 @@ const previousBills = createSlice({
|
|
|
45
46
|
Object.assign(draft, initialState);
|
|
46
47
|
},
|
|
47
48
|
},
|
|
49
|
+
extraReducers: (builder) => {
|
|
50
|
+
builder.addCase(clearAll, (draft) => {
|
|
51
|
+
Object.assign(draft, initialState);
|
|
52
|
+
});
|
|
53
|
+
},
|
|
48
54
|
});
|
|
49
55
|
export const { fetchPreviousBills, updatePreviousBillsFetchState, updatePreviousBillTransactions, clearPreviousBills, } = previousBills.actions;
|
|
50
56
|
export default previousBills.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../../rootActions';
|
|
2
3
|
export const initialState = {
|
|
3
4
|
lastFetchRequestTime: undefined,
|
|
4
5
|
fetchState: 'Not-Started',
|
|
@@ -30,6 +31,11 @@ const wiseRedirect = createSlice({
|
|
|
30
31
|
Object.assign(draft, initialState);
|
|
31
32
|
},
|
|
32
33
|
},
|
|
34
|
+
extraReducers: (builder) => {
|
|
35
|
+
builder.addCase(clearAll, (draft) => {
|
|
36
|
+
Object.assign(draft, initialState);
|
|
37
|
+
});
|
|
38
|
+
},
|
|
33
39
|
});
|
|
34
40
|
export const { fetchWiseRedirectStatus, updateWiseRedirectStatus, clearWiseRedirectStatus, } = wiseRedirect.actions;
|
|
35
41
|
export default wiseRedirect.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../../../rootActions';
|
|
2
3
|
export const initialState = {
|
|
3
4
|
detailTemplateId: undefined,
|
|
4
5
|
detailFetchState: { fetchState: 'Not-Started', error: undefined },
|
|
@@ -47,6 +48,11 @@ const cardPolicyDetail = createSlice({
|
|
|
47
48
|
Object.assign(draft, initialState);
|
|
48
49
|
},
|
|
49
50
|
},
|
|
51
|
+
extraReducers: (builder) => {
|
|
52
|
+
builder.addCase(clearAll, (draft) => {
|
|
53
|
+
Object.assign(draft, initialState);
|
|
54
|
+
});
|
|
55
|
+
},
|
|
50
56
|
});
|
|
51
57
|
export const { fetchCardPolicyDetail, updateCardPolicyDetailFetchStatus, updateCardPolicyFormDraft, updateCardPolicy, updateCardPolicyFetchStatus, clearCardPolicyDetail, } = cardPolicyDetail.actions;
|
|
52
58
|
export default cardPolicyDetail.reducer;
|
package/lib/esm/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/cardPolicyListReducer.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../../../rootActions';
|
|
2
3
|
export const initialState = {
|
|
3
4
|
templateIds: [],
|
|
4
5
|
fetchState: {
|
|
@@ -66,6 +67,11 @@ const cardPolicyList = createSlice({
|
|
|
66
67
|
Object.assign(draft, initialState);
|
|
67
68
|
},
|
|
68
69
|
},
|
|
70
|
+
extraReducers: (builder) => {
|
|
71
|
+
builder.addCase(clearAll, (draft) => {
|
|
72
|
+
Object.assign(draft, initialState);
|
|
73
|
+
});
|
|
74
|
+
},
|
|
69
75
|
});
|
|
70
76
|
export const { fetchCardPolicyList, updateCardPolicyListFetchStatus, prependCardPolicyTemplateIds, archiveCardPolicy, updateArchiveCardPolicyFetchStatus, clearCardPolicyList, } = cardPolicyList.actions;
|
|
71
77
|
export default cardPolicyList.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../../../rootActions';
|
|
2
3
|
import { applyAiCardPolicyFormDraftUpdate } from './applyAiCardPolicyFormDraftUpdate';
|
|
3
4
|
import { applyExtractedPolicyToAiCardPolicyDraft as applyExtractedToAiDraftHelper } from './applyExtractedPolicyToAiCardPolicyDraft';
|
|
4
5
|
import { applyExtractedPolicyToManualCardPolicyDraft as applyExtractedToManualDraftHelper } from './applyExtractedPolicyToManualCardPolicyDraft';
|
|
@@ -149,6 +150,11 @@ const createCardPolicy = createSlice({
|
|
|
149
150
|
Object.assign(draft, initialState);
|
|
150
151
|
},
|
|
151
152
|
},
|
|
153
|
+
extraReducers: (builder) => {
|
|
154
|
+
builder.addCase(clearAll, (draft) => {
|
|
155
|
+
Object.assign(draft, initialState);
|
|
156
|
+
});
|
|
157
|
+
},
|
|
152
158
|
});
|
|
153
159
|
export const { createCardPolicyTemplates, updateCreateCardPolicyTemplateRequestState, seedAiCardPolicyFormDraft, updateAiCardPolicyFormDraft, updateAiCardPolicyFormDraftFromUploadPlan, applyExtractedPolicyToAiCardPolicyDraft, clearAiCardPolicyFormDraft, seedManualCardPolicyFormDraft, updateManualCardPolicyFormDraft, applyExtractedPolicyToManualCardPolicyDraft, clearManualCardPolicyFormDraft, clearCreateCardPolicy, } = createCardPolicy.actions;
|
|
154
160
|
export default createCardPolicy.reducer;
|
package/lib/esm/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingReducer.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../../rootActions';
|
|
2
3
|
export const initialState = {
|
|
3
4
|
cardUserOnboardingLocalData: undefined,
|
|
4
5
|
firstViewAfterActivation: false,
|
|
@@ -89,6 +90,11 @@ const cardUserOnboarding = createSlice({
|
|
|
89
90
|
Object.assign(draft, initialState);
|
|
90
91
|
},
|
|
91
92
|
},
|
|
93
|
+
extraReducers: (builder) => {
|
|
94
|
+
builder.addCase(clearAll, (draft) => {
|
|
95
|
+
Object.assign(draft, initialState);
|
|
96
|
+
});
|
|
97
|
+
},
|
|
92
98
|
});
|
|
93
99
|
export const { initializeCardUserOnboardingLocalData, updateCardUserOnboardingLocalData, sendOtpCardUserOnboarding, sendOtpCardUserOnboardingSuccess, sendOtpCardUserOnboardingFailure, resendOtpCardUserOnboarding, verifyOtpCardUserOnboarding, verifyOtpCardUserOnboardingSuccess, verifyOtpCardUserOnboardingFailure, saveCardOnboardingUserDetails, startCardUserOnboardingActivationWait, completeCardUserOnboardingActivationWait, setFirstViewAfterActivation, setFirstViewCompleteAfterActivation, setCurrentDisplayedCardId, clearCardUserOnboarding, } = cardUserOnboarding.actions;
|
|
94
100
|
export default cardUserOnboarding.reducer;
|
|
@@ -2,6 +2,7 @@ import { createSlice } from '@reduxjs/toolkit';
|
|
|
2
2
|
import { mapCurrencyPayloadToCurrency } from '../../../../commonPayloadTypes/v2/viewAndReportPayloadv2';
|
|
3
3
|
import { toAmount } from '../../../../commonStateTypes/amount';
|
|
4
4
|
import { createCacheOverrideFetchReducer } from '../../../../commonStateTypes/cacheOverrideFetchReducer';
|
|
5
|
+
import { clearAll } from '../../../../rootActions';
|
|
5
6
|
import { initialCashbackAnalytics, } from './cashbackDetailState';
|
|
6
7
|
export const initialState = {
|
|
7
8
|
fetchState: 'Not-Started',
|
|
@@ -55,6 +56,11 @@ const cashbackDetail = 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 { fetchCashbackDetail, updateCashbackDetail, updateCashbackDetailFailure, updateCashbackDetailUIState, clearCashbackDetail, } = cashbackDetail.actions;
|
|
60
66
|
export default cashbackDetail.reducer;
|
package/lib/esm/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigReducer.js
CHANGED
|
@@ -2,6 +2,7 @@ import { createSlice } from '@reduxjs/toolkit';
|
|
|
2
2
|
import { toAmount } from '../../../../commonStateTypes/amount';
|
|
3
3
|
import { createCacheOverrideFetchReducer } from '../../../../commonStateTypes/cacheOverrideFetchReducer';
|
|
4
4
|
import { toCreditLimitFrequencyCodeType } from '../../../../entity/chargeCard/chargeCard';
|
|
5
|
+
import { clearAll } from '../../../../rootActions';
|
|
5
6
|
import { toCreditTerm, toRePaymentInfo, } from './chargeCardConfigPayload';
|
|
6
7
|
export const initialState = {
|
|
7
8
|
creditLimitFrequency: [],
|
|
@@ -62,6 +63,11 @@ const chargeCardConfig = createSlice({
|
|
|
62
63
|
Object.assign(draft, initialState);
|
|
63
64
|
},
|
|
64
65
|
},
|
|
66
|
+
extraReducers: (builder) => {
|
|
67
|
+
builder.addCase(clearAll, (draft) => {
|
|
68
|
+
Object.assign(draft, initialState);
|
|
69
|
+
});
|
|
70
|
+
},
|
|
65
71
|
});
|
|
66
72
|
export const { fetchChargeCardConfig, updateChargeCardConfig, updateChargeCardConfigFailure, clearChargeCardConfig, } = chargeCardConfig.actions;
|
|
67
73
|
export default chargeCardConfig.reducer;
|
package/lib/esm/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer.js
CHANGED
|
@@ -2,6 +2,7 @@ import { createSlice } from '@reduxjs/toolkit';
|
|
|
2
2
|
import { mapSortOrderPayloadToSortOrder, } from '../../../../commonPayloadTypes/sortOrderPayload';
|
|
3
3
|
import { addChargeCardTransactionFromPusher, addDeclinedChargeCardTransactionFromPusher, } from '../../../../commonStateTypes/pusherActions';
|
|
4
4
|
import { toAttachment, } from '../../../../entity/transaction/payloadTypes/attachmentPayload';
|
|
5
|
+
import { clearAll } from '../../../../rootActions';
|
|
5
6
|
import { emptyChargeCardDetail, mapChargeCardTransactionStatisticsPayloadToChargeCardTransactionStatistics, toChargeCardTransactionSortKeyType, } from './chargeCardDetail';
|
|
6
7
|
export const initialState = {
|
|
7
8
|
detailById: {},
|
|
@@ -668,6 +669,9 @@ const chargeCardDetail = createSlice({
|
|
|
668
669
|
.addCase(addDeclinedChargeCardTransactionFromPusher, (draft, action) => {
|
|
669
670
|
prependTransaction(draft, action.payload.cardId, action.payload.transaction.transaction_id);
|
|
670
671
|
});
|
|
672
|
+
builder.addCase(clearAll, (draft) => {
|
|
673
|
+
Object.assign(draft, initialState);
|
|
674
|
+
});
|
|
671
675
|
},
|
|
672
676
|
});
|
|
673
677
|
export const { fetchChargeCardDetailPage, fetchChargeCardDetail, updateChargeCardDetailFetchState, fetchChargeCardTransactionList, updateChargeCardDetailUIState, updateChargeCardTransactionList, updateChargeCardTransactionUploadReceiptsFetchStatus, fetchChargeCardTransactionAttachments, updateChargeCardTransactionIsViewReceiptClicked, updateChargeCardTransactionAttachmentsFailure, updatePhysicalChargeCardAttemptSuccessOrFailure, updatePhysicalChargeCardAttempt, updateDebitCardPinAttempt, updateDebitCardPinAttemptSuccessOrFailure, updateChargeCardTransactionReceiptsShowTickFetchStatus, updateChargeCardTransactionAttachmentsInCardDetail, updateChargeCardTransactionListFailure, updateChargeCardDetail, startCVVActivationWait, completeCVVActivationWait, startDebitCardSetPinWait, completeDebitCardSetPinWait, updateChargeCardDetailUpdateStatus, updateChargeCardSpendLimit, updateChargeCardSpendLimitSuccessOrFailure, updateChargeCardName, updateChargeCardNameSuccessOrFailure, lockChargeCard, lockChargeCardSuccessOrFailure, unlockChargeCard, unlockChargeCardSuccessOrFailure, closeChargeCard, closeChargeCardSuccessOrFailure, fetchDepositAccountLimit, updateDepositAccountLimitFetchStatus, fetchChargeCardTransactionStatistics, updateChargeCardTransactionStatistics, updateChargeCardTransactionStatisticsFetchState, fetchChargeCardsRecurringExpenses, updateChargeCardsRecurringExpenses, updateChargeCardsRecurringExpensesFetchState, sendOtpCardHolder, resendOtpCardHolder, sendOtpCardHolderSuccess, sendOtpCardHolderFailure, verifyOtpCardHolder, verifyOtpCardHolderSuccess, verifyOtpCardHolderFailure, clearChargeCardDetail, } = chargeCardDetail.actions;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import { toAmount } from '../../../../commonStateTypes/amount';
|
|
3
3
|
import { createCacheOverrideFetchReducer } from '../../../../commonStateTypes/cacheOverrideFetchReducer';
|
|
4
|
+
import { clearAll } from '../../../../rootActions';
|
|
4
5
|
import { date } from '../../../../zeniDayJS';
|
|
5
6
|
import { initialCreditAcc, initialCreditAccountRepayment, initialDebitCardSummaries, initialResendRevokeCardInvite, toCreditAccountStatusType, } from './chargeCardList';
|
|
6
7
|
export const initialState = {
|
|
@@ -323,6 +324,11 @@ const chargeCardList = createSlice({
|
|
|
323
324
|
draft.cardIds = draft.cardIds.filter((cardId) => !action.payload.revokedCardIds.includes(cardId));
|
|
324
325
|
},
|
|
325
326
|
},
|
|
327
|
+
extraReducers: (builder) => {
|
|
328
|
+
builder.addCase(clearAll, (draft) => {
|
|
329
|
+
Object.assign(draft, initialState);
|
|
330
|
+
});
|
|
331
|
+
},
|
|
326
332
|
});
|
|
327
333
|
export const { fetchChargeCardListPage, fetchCreditAccountRepayment, updateCreditAccountRepayment, updateCreditAccountRepaymentFailure, updateCreditAccountRepaymentAmountAndDate, updateRowActionCardId, fetchCreditAccount, updateCreditAccount, updateCreditAccountFailure, fetchDebitCardSummary, updateDebitCardSummary, updateDebitCardSummaryFailure, fetchChargeCardList, updateChargeCardList, updateChargeCardListFailure, updateSearchText, updateBulkActionCardIds, updateChargeCardListUIState, updateCreditAccountBalanceFromPusher, clearChargeCardList, resendCardInvite, resendCardInviteSuccess, resendCardInviteFailure, revokeCardInvite, revokeCardInviteSuccess, revokeCardInviteFailure, updateChargeCardsSpendLimit, updateChargeCardsSpendLimitSuccessOrFailure, lockChargeCards, lockChargeCardsSuccessOrFailure, unlockChargeCards, unlockChargeCardsSuccessOrFailure, closeChargeCards, closeChargeCardsSuccessOrFailure, revokeChargeCardsInvite, revokeChargeCardsInviteSuccessOrFailure, } = chargeCardList.actions;
|
|
328
334
|
export default chargeCardList.reducer;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import { createCacheOverrideFetchReducer } from '../../../../commonStateTypes/cacheOverrideFetchReducer';
|
|
3
|
+
import { clearAll } from '../../../../rootActions';
|
|
3
4
|
import { initialChargeCardPaymentHistoryState, } from './chargeCardPaymentHistory';
|
|
4
5
|
export const initialState = initialChargeCardPaymentHistoryState;
|
|
5
6
|
const chargeCardPaymentHistory = createSlice({
|
|
@@ -79,6 +80,11 @@ const chargeCardPaymentHistory = createSlice({
|
|
|
79
80
|
}
|
|
80
81
|
},
|
|
81
82
|
},
|
|
83
|
+
extraReducers: (builder) => {
|
|
84
|
+
builder.addCase(clearAll, (draft) => {
|
|
85
|
+
Object.assign(draft, initialState);
|
|
86
|
+
});
|
|
87
|
+
},
|
|
82
88
|
});
|
|
83
89
|
export const { addRepaymentToChargeCardPaymentHistory, fetchChargeCardPaymentPage, fetchChargeCardPaymentHistory, updateChargeCardPaymentHistory, updateChargeCardPaymentHistoryFailure, clearChargeCardPaymentHistory, updatePaymentHistoryFilters, updatePaymentHistorySearchText, updatePaymentHistoryDownloadUIState, updatePaymentHistoryUIState, } = chargeCardPaymentHistory.actions;
|
|
84
90
|
export default chargeCardPaymentHistory.reducer;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
import { createCacheOverrideFetchReducer } from '../../../../commonStateTypes/cacheOverrideFetchReducer';
|
|
3
|
+
import { clearAll } from '../../../../rootActions';
|
|
3
4
|
export const initialState = {
|
|
4
5
|
localData: {
|
|
5
6
|
amount: {
|
|
@@ -44,6 +45,11 @@ const chargeCardRepaymentDetail = createSlice({
|
|
|
44
45
|
Object.assign(draft, initialState);
|
|
45
46
|
},
|
|
46
47
|
},
|
|
48
|
+
extraReducers: (builder) => {
|
|
49
|
+
builder.addCase(clearAll, (draft) => {
|
|
50
|
+
Object.assign(draft, initialState);
|
|
51
|
+
});
|
|
52
|
+
},
|
|
47
53
|
});
|
|
48
54
|
export const { fetchChargeCardRepaymentDetail, initiateChargeCardRepayment, updateNewAddedChargeCardPaymentAccount, updateChargeCardRepaymentLocalStore, updateChargeCardRepaymentStatus, clearChargeCardRepaymentDetail, } = chargeCardRepaymentDetail.actions;
|
|
49
55
|
export default chargeCardRepaymentDetail.reducer;
|
package/lib/esm/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewReducer.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../../rootActions';
|
|
2
3
|
export const initialState = {
|
|
3
4
|
fetchState: 'Not-Started',
|
|
4
5
|
error: undefined,
|
|
@@ -153,6 +154,11 @@ const chargeCardSetupView = createSlice({
|
|
|
153
154
|
Object.assign(draft, initialState);
|
|
154
155
|
},
|
|
155
156
|
},
|
|
157
|
+
extraReducers: (builder) => {
|
|
158
|
+
builder.addCase(clearAll, (draft) => {
|
|
159
|
+
Object.assign(draft, initialState);
|
|
160
|
+
});
|
|
161
|
+
},
|
|
156
162
|
});
|
|
157
163
|
export const { fetchChargeCardSetupView, fetchChargeCardSetupViewSuccess, fetchChargeCardSetupViewFailure, enableChargeCardAutoPay, enableChargeCardAutoPaySuccess, enableChargeCardAutoPayFailure, acceptChargeCardTerms, acceptChargeCardTermsSuccess, acceptChargeCardTermsFailure, expressInterestInChargeCard, expressInterestInChargeCardSuccess, expressInterestInChargeCardFailure, clearChargeCardSetupView, } = chargeCardSetupView.actions;
|
|
158
164
|
export default chargeCardSetupView.reducer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
|
+
import { clearAll } from '../../../../rootActions';
|
|
2
3
|
export const initialState = {
|
|
3
4
|
statements: [],
|
|
4
5
|
fetchState: 'Not-Started',
|
|
@@ -44,6 +45,11 @@ const chargeCardStatementList = createSlice({
|
|
|
44
45
|
Object.assign(draft, initialState);
|
|
45
46
|
},
|
|
46
47
|
},
|
|
48
|
+
extraReducers: (builder) => {
|
|
49
|
+
builder.addCase(clearAll, (draft) => {
|
|
50
|
+
Object.assign(draft, initialState);
|
|
51
|
+
});
|
|
52
|
+
},
|
|
47
53
|
});
|
|
48
54
|
export const { fetchChargeCardStatementList, updateChargeCardStatementList, updateChargeCardStatementListFetchStatus, clearChargeCardStatementList, } = chargeCardStatementList.actions;
|
|
49
55
|
export default chargeCardStatementList.reducer;
|