@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
package/lib/coreEpics.js
CHANGED
|
@@ -13,7 +13,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
13
13
|
*/
|
|
14
14
|
const redux_observable_1 = require("redux-observable");
|
|
15
15
|
// ── Tenant & Auth Epics ──────────────────────────────────────────────
|
|
16
|
-
const clearAllEpic_1 = require("./entity/tenant/clearAllEpic");
|
|
17
16
|
const doMagicLinkSignInEpic_1 = require("./entity/tenant/epic/doMagicLinkSignInEpic");
|
|
18
17
|
const fetchActiveTenantEpic_1 = require("./entity/tenant/epic/fetchActiveTenantEpic");
|
|
19
18
|
const fetchAllTenantsEpic_1 = require("./entity/tenant/epic/fetchAllTenantsEpic");
|
|
@@ -50,7 +49,7 @@ const verifyOtpEpic_1 = require("./view/twoFactorAuthentication/verifyOtpEpic");
|
|
|
50
49
|
// RootActionType is only available in the dynamically imported epic.ts.
|
|
51
50
|
const coreRootEpic = (0, redux_observable_1.combineEpics)(
|
|
52
51
|
// Auth & tenant
|
|
53
|
-
|
|
52
|
+
doMagicLinkSignInEpic_1.doMagicLinkSignInEpic, signInUserEpic_1.doSignInEpic, signOutUserEpic_1.doSignOutEpic, sessionHeartbeatEpic_1.sessionHeartbeatEpic, fetchActiveTenantEpic_1.fetchActiveTenantEpic, fetchAllTenantsEpic_1.fetchAllTenantsEpic, fetchExcludedResourcesEpic_1.fetchExcludedResourcesEpic, fetchExternalConnectionsEpic_1.fetchExternalConnectionsEpic, fetchSubscriptionSummaryForTenantEpic_1.fetchSubscriptionSummaryForTenantEpic, resendVerifyDeviceOTPEpic_1.resendVerifyDeviceOTPEpic, saveExternalConnectionEpic_1.saveExternalConnectionEpic, sendEmailMagicLinkToUserEpic_1.sendEmailMagicLinkToUserEpic, verifyDeviceWithTwoFAEpic_1.verifyDeviceWithTwoFAEpic,
|
|
54
53
|
// Toast
|
|
55
54
|
pushToastNotificationEpic_1.pushToastNotificationEpic,
|
|
56
55
|
// Collaboration
|
|
@@ -11,6 +11,7 @@ const balanceChangePayload_1 = require("../../commonPayloadTypes/balanceChangePa
|
|
|
11
11
|
const coaBalancePayload_1 = require("../../commonPayloadTypes/coaBalancePayload");
|
|
12
12
|
const statusPayload_1 = require("../../commonPayloadTypes/statusPayload");
|
|
13
13
|
const coaBalancePayload_2 = require("../../commonPayloadTypes/v2/coaBalancePayload");
|
|
14
|
+
const rootActions_1 = require("../../rootActions");
|
|
14
15
|
const accountPayload_1 = require("./accountPayload");
|
|
15
16
|
const accountState_1 = require("./accountState");
|
|
16
17
|
exports.initialState = {
|
|
@@ -61,6 +62,11 @@ const account = (0, toolkit_1.createSlice)({
|
|
|
61
62
|
draft.accountsByKey = {};
|
|
62
63
|
},
|
|
63
64
|
},
|
|
65
|
+
extraReducers: (builder) => {
|
|
66
|
+
builder.addCase(rootActions_1.clearAll, (draft) => {
|
|
67
|
+
draft.accountsByKey = {};
|
|
68
|
+
});
|
|
69
|
+
},
|
|
64
70
|
});
|
|
65
71
|
_a = account.actions, exports.updateAccounts = _a.updateAccounts, exports.updateMultipleSubAccountsWithBalances = _a.updateMultipleSubAccountsWithBalances, exports.updateAccountStatementCloseDay = _a.updateAccountStatementCloseDay, exports.changeAccountKey = _a.changeAccountKey, exports.clearAllAccounts = _a.clearAllAccounts;
|
|
66
72
|
exports.default = account.reducer;
|
|
@@ -20,7 +20,7 @@ export type UncategorizedAccountTypes = 'expense' | 'income';
|
|
|
20
20
|
declare const toAccountLabel: (v: string) => "prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses";
|
|
21
21
|
export type AccountLabel = ReturnType<typeof toAccountLabel>;
|
|
22
22
|
export declare const toAccountLabelStrict: (v: string | null | undefined) => AccountLabel | undefined;
|
|
23
|
-
export declare function getAccountKey(reportIdUniqueKey: ReportIDPlusForecastID, accountId: ID, classesViewParentId?: ClassesViewParentID, accountsViewParentId?: AccountsViewParentID, projectsViewParentId?: ProjectsViewParentID):
|
|
23
|
+
export declare function getAccountKey(reportIdUniqueKey: ReportIDPlusForecastID, accountId: ID, classesViewParentId?: ClassesViewParentID, accountsViewParentId?: AccountsViewParentID, projectsViewParentId?: ProjectsViewParentID): string;
|
|
24
24
|
export type AccountKey = ReturnType<typeof getAccountKey>;
|
|
25
25
|
export declare const toReconciliationAccountSource: (v: string) => "plaid" | "bank_statement";
|
|
26
26
|
export type ReconciliationAccountSourceType = ReturnType<typeof toReconciliationAccountSource>;
|
|
@@ -9,6 +9,7 @@ const toolkit_1 = require("@reduxjs/toolkit");
|
|
|
9
9
|
const assignWith_1 = __importDefault(require("lodash/assignWith"));
|
|
10
10
|
const coaBalancePayload_1 = require("../../commonPayloadTypes/coaBalancePayload");
|
|
11
11
|
const coaBalancePayload_2 = require("../../commonPayloadTypes/v2/coaBalancePayload");
|
|
12
|
+
const rootActions_1 = require("../../rootActions");
|
|
12
13
|
const accountGroupState_1 = require("./accountGroupState");
|
|
13
14
|
exports.initialState = {
|
|
14
15
|
accountGroupsByKey: {},
|
|
@@ -45,6 +46,11 @@ const accountGroup = (0, toolkit_1.createSlice)({
|
|
|
45
46
|
draft.accountGroupsByKey = {};
|
|
46
47
|
},
|
|
47
48
|
},
|
|
49
|
+
extraReducers: (builder) => {
|
|
50
|
+
builder.addCase(rootActions_1.clearAll, (draft) => {
|
|
51
|
+
draft.accountGroupsByKey = {};
|
|
52
|
+
});
|
|
53
|
+
},
|
|
48
54
|
});
|
|
49
55
|
_a = accountGroup.actions, exports.updateAccountGroups = _a.updateAccountGroups, exports.addAccountGroupsWithBalances = _a.addAccountGroupsWithBalances, exports.clearAllAccountGroups = _a.clearAllAccountGroups;
|
|
50
56
|
exports.default = accountGroup.reducer;
|
|
@@ -3,6 +3,7 @@ var _a;
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.updateAccountReconUploadStatement = exports.updateAccountReconReparseStatement = exports.updateAccountReconDeleteStatement = exports.addTransactionToReconcileList = exports.clearAllAccountRecon = exports.excludeReconReviewTransaction = exports.updateAccountRecon = exports.initialState = void 0;
|
|
5
5
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
|
+
const rootActions_1 = require("../../rootActions");
|
|
6
7
|
const accountReconPayload_1 = require("./accountReconPayload");
|
|
7
8
|
const accountReconState_1 = require("./accountReconState");
|
|
8
9
|
exports.initialState = {
|
|
@@ -165,6 +166,11 @@ const accountRecon = (0, toolkit_1.createSlice)({
|
|
|
165
166
|
Object.assign(draft, exports.initialState);
|
|
166
167
|
},
|
|
167
168
|
},
|
|
169
|
+
extraReducers: (builder) => {
|
|
170
|
+
builder.addCase(rootActions_1.clearAll, (draft) => {
|
|
171
|
+
Object.assign(draft, exports.initialState);
|
|
172
|
+
});
|
|
173
|
+
},
|
|
168
174
|
});
|
|
169
175
|
_a = accountRecon.actions, exports.updateAccountRecon = _a.updateAccountRecon, exports.excludeReconReviewTransaction = _a.excludeReconReviewTransaction, exports.clearAllAccountRecon = _a.clearAllAccountRecon, exports.addTransactionToReconcileList = _a.addTransactionToReconcileList, exports.updateAccountReconDeleteStatement = _a.updateAccountReconDeleteStatement, exports.updateAccountReconReparseStatement = _a.updateAccountReconReparseStatement, exports.updateAccountReconUploadStatement = _a.updateAccountReconUploadStatement;
|
|
170
176
|
exports.default = accountRecon.reducer;
|
|
@@ -6,7 +6,7 @@ import { MerchantType, TransactionDirectionType } from '../transaction/stateType
|
|
|
6
6
|
import { TransactionType } from '../transaction/stateTypes/transactionType';
|
|
7
7
|
export declare const toRecommendedActionCodeType: (v: string) => "record_expense" | "record_deposit" | "record_transfer" | "record_bill_payment" | "record_cc_payment" | "record_cc_credit";
|
|
8
8
|
export type RecommendedActionCodeType = ReturnType<typeof toRecommendedActionCodeType>;
|
|
9
|
-
export declare const toReconciliationStatusCodeType: (v: string) => "
|
|
9
|
+
export declare const toReconciliationStatusCodeType: (v: string) => "failed" | "pending" | "in_progress" | "save_for_later" | "reconciled" | "reconciled_on_qbo";
|
|
10
10
|
export type ReconciliationStatusCodeType = ReturnType<typeof toReconciliationStatusCodeType>;
|
|
11
11
|
export declare const toBalanceDataStatusCodeType: (v: string) => "completed" | "in_progress" | "not_found";
|
|
12
12
|
export type BalanceDataStatusCodeType = ReturnType<typeof toBalanceDataStatusCodeType>;
|
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.clearAllAddresses = exports.removeAddress = exports.updateAddresses = exports.updateAddress = exports.initialState = void 0;
|
|
5
5
|
exports.mapAddressPayloadToAddress = mapAddressPayloadToAddress;
|
|
6
6
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
7
|
+
const rootActions_1 = require("../../rootActions");
|
|
7
8
|
const zeniDayJS_1 = require("../../zeniDayJS");
|
|
8
9
|
exports.initialState = {
|
|
9
10
|
addressesById: {},
|
|
@@ -40,6 +41,11 @@ const address = (0, toolkit_1.createSlice)({
|
|
|
40
41
|
draft.addressesById = {};
|
|
41
42
|
},
|
|
42
43
|
},
|
|
44
|
+
extraReducers: (builder) => {
|
|
45
|
+
builder.addCase(rootActions_1.clearAll, (draft) => {
|
|
46
|
+
draft.addressesById = {};
|
|
47
|
+
});
|
|
48
|
+
},
|
|
43
49
|
});
|
|
44
50
|
_a = address.actions, exports.updateAddress = _a.updateAddress, exports.updateAddresses = _a.updateAddresses, exports.removeAddress = _a.removeAddress, exports.clearAllAddresses = _a.clearAllAddresses;
|
|
45
51
|
exports.default = address.reducer;
|
|
@@ -3,6 +3,7 @@ var _a;
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.updateAiAccountantJobs = exports.updateAiAccountantCustomer = exports.updateAiAccountantCustomers = exports.clearAllAiAccountantCustomers = exports.initialAiAccountantCustomerState = void 0;
|
|
5
5
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
|
+
const rootActions_1 = require("../../rootActions");
|
|
6
7
|
const aiAccountantCustomerPayload_1 = require("./aiAccountantCustomerPayload");
|
|
7
8
|
exports.initialAiAccountantCustomerState = {
|
|
8
9
|
customerByTenantId: {},
|
|
@@ -45,6 +46,11 @@ const aiAccountantCustomer = (0, toolkit_1.createSlice)({
|
|
|
45
46
|
Object.assign(draft, exports.initialAiAccountantCustomerState);
|
|
46
47
|
},
|
|
47
48
|
},
|
|
49
|
+
extraReducers: (builder) => {
|
|
50
|
+
builder.addCase(rootActions_1.clearAll, (draft) => {
|
|
51
|
+
Object.assign(draft, exports.initialAiAccountantCustomerState);
|
|
52
|
+
});
|
|
53
|
+
},
|
|
48
54
|
});
|
|
49
55
|
_a = aiAccountantCustomer.actions, exports.clearAllAiAccountantCustomers = _a.clearAllAiAccountantCustomers, exports.updateAiAccountantCustomers = _a.updateAiAccountantCustomers, exports.updateAiAccountantCustomer = _a.updateAiAccountantCustomer, exports.updateAiAccountantJobs = _a.updateAiAccountantJobs;
|
|
50
56
|
exports.default = aiAccountantCustomer.reducer;
|
|
@@ -2,10 +2,10 @@ import { ID } from '../../commonStateTypes/common';
|
|
|
2
2
|
import { ZeniDate } from '../../zeniDayJS';
|
|
3
3
|
export declare const toAiAccountantOperationType: (v: string) => "onboard" | "offboard" | "retrain" | "evaluate" | "full_pipeline" | "cancel_onboarding";
|
|
4
4
|
export type AiAccountantOperationType = ReturnType<typeof toAiAccountantOperationType>;
|
|
5
|
-
export declare const toAiAccountantEnrollmentStatus: (v: string) => "onboarding" | "error" | "
|
|
5
|
+
export declare const toAiAccountantEnrollmentStatus: (v: string) => "onboarding" | "error" | "failed" | "pending" | "active" | "offboarding" | "offboarded";
|
|
6
6
|
export type AiAccountantEnrollmentStatus = ReturnType<typeof toAiAccountantEnrollmentStatus>;
|
|
7
7
|
export declare const getAllowedOperationsForStatus: (status: string | null | undefined) => AiAccountantOperationType[];
|
|
8
|
-
export declare const toAiAccountantJobStatus: (v: string) => "failed" | "
|
|
8
|
+
export declare const toAiAccountantJobStatus: (v: string) => "failed" | "cancelled" | "completed" | "queued" | "running" | "retried";
|
|
9
9
|
export type AiAccountantJobStatus = ReturnType<typeof toAiAccountantJobStatus>;
|
|
10
10
|
export interface AiAccountantEnrollment {
|
|
11
11
|
status: AiAccountantEnrollmentStatus;
|
|
@@ -3,6 +3,7 @@ var _a;
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.clearSyntheticAiCfoAnswers = exports.removeSyntheticAiCfoAnswer = exports.updateSyntheticAiCfoAnswer = exports.appendSyntheticAiCfoAnswer = exports.updateAiCfoAnswerCardPolicyWizardPlan = exports.deleteQuestion = exports.clearAiCfo = exports.addQuestionPayload = exports.upsertOrAddQuestionAnswerPayload = exports.upsertAnswerPayload = exports.setChatHistory = exports.setSessions = exports.clearSession = exports.setNewSession = exports.toAiCfoVisualization = exports.initialAiCfoState = void 0;
|
|
5
5
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
|
+
const rootActions_1 = require("../../rootActions");
|
|
6
7
|
const zeniDayJS_1 = require("../../zeniDayJS");
|
|
7
8
|
const aiCfoState_1 = require("./aiCfoState");
|
|
8
9
|
exports.initialAiCfoState = {
|
|
@@ -727,6 +728,13 @@ const aiCfo = (0, toolkit_1.createSlice)({
|
|
|
727
728
|
}
|
|
728
729
|
},
|
|
729
730
|
},
|
|
731
|
+
extraReducers: (builder) => {
|
|
732
|
+
builder.addCase(rootActions_1.clearAll, (draft) => {
|
|
733
|
+
draft.aiCfoByChatSessionId = {};
|
|
734
|
+
draft.partialQuestionAnswers = {};
|
|
735
|
+
draft.syntheticAnswersByChatSessionId = {};
|
|
736
|
+
});
|
|
737
|
+
},
|
|
730
738
|
});
|
|
731
739
|
const toChatSession = (chatSessionPayload) => {
|
|
732
740
|
const { chat_session_id, user_id, created_at, chat_session_summary } = chatSessionPayload;
|
|
@@ -41,9 +41,9 @@ export interface YFormat {
|
|
|
41
41
|
symbol?: string;
|
|
42
42
|
}
|
|
43
43
|
export declare const toAiCfoAnswerStateType: (v: string) => "complete" | "partial";
|
|
44
|
-
export declare const toAiCfoAnswerResponseType: (v: string) => "
|
|
44
|
+
export declare const toAiCfoAnswerResponseType: (v: string) => "reasoning" | "analysis" | "answer" | "thought";
|
|
45
45
|
export declare const toAiCfoAnswerStateTypeStrict: (v: string) => "complete" | "partial" | undefined;
|
|
46
|
-
export declare const toAiCfoAnswerResponseTypeStrict: (v: string) => "
|
|
46
|
+
export declare const toAiCfoAnswerResponseTypeStrict: (v: string) => "reasoning" | "analysis" | "answer" | "thought" | undefined;
|
|
47
47
|
export type AiCfoAnswerStateType = ReturnType<typeof toAiCfoAnswerStateType>;
|
|
48
48
|
export type AiCfoAnswerResponseType = ReturnType<typeof toAiCfoAnswerResponseType>;
|
|
49
49
|
export interface TableVisualization {
|
|
@@ -3,6 +3,7 @@ var _a;
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.clearAllApprovalRules = exports.removeApprovalRule = exports.updateApprovalRules = exports.initialState = void 0;
|
|
5
5
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
|
+
const rootActions_1 = require("../../rootActions");
|
|
6
7
|
const approvalRulePayload_1 = require("./approvalRulePayload");
|
|
7
8
|
exports.initialState = {
|
|
8
9
|
approvalRuleById: {},
|
|
@@ -23,6 +24,11 @@ const approvalRule = (0, toolkit_1.createSlice)({
|
|
|
23
24
|
draft.approvalRuleById = {};
|
|
24
25
|
},
|
|
25
26
|
},
|
|
27
|
+
extraReducers: (builder) => {
|
|
28
|
+
builder.addCase(rootActions_1.clearAll, (draft) => {
|
|
29
|
+
draft.approvalRuleById = {};
|
|
30
|
+
});
|
|
31
|
+
},
|
|
26
32
|
});
|
|
27
33
|
_a = approvalRule.actions, exports.updateApprovalRules = _a.updateApprovalRules, exports.removeApprovalRule = _a.removeApprovalRule, exports.clearAllApprovalRules = _a.clearAllApprovalRules;
|
|
28
34
|
exports.default = approvalRule.reducer;
|
|
@@ -3,6 +3,7 @@ var _a;
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.clearAllBankAccounts = exports.removeBankAccount = exports.updateBankAccounts = exports.initialState = void 0;
|
|
5
5
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
|
+
const rootActions_1 = require("../../rootActions");
|
|
6
7
|
const bankAccountPayload_1 = require("./bankAccountPayload");
|
|
7
8
|
exports.initialState = {
|
|
8
9
|
bankAccountByID: {},
|
|
@@ -25,6 +26,11 @@ const bankAccount = (0, toolkit_1.createSlice)({
|
|
|
25
26
|
draft.bankAccountByID = {};
|
|
26
27
|
},
|
|
27
28
|
},
|
|
29
|
+
extraReducers: (builder) => {
|
|
30
|
+
builder.addCase(rootActions_1.clearAll, (draft) => {
|
|
31
|
+
draft.bankAccountByID = {};
|
|
32
|
+
});
|
|
33
|
+
},
|
|
28
34
|
});
|
|
29
35
|
_a = bankAccount.actions, exports.updateBankAccounts = _a.updateBankAccounts, exports.removeBankAccount = _a.removeBankAccount, exports.clearAllBankAccounts = _a.clearAllBankAccounts;
|
|
30
36
|
exports.default = bankAccount.reducer;
|
|
@@ -7,6 +7,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
7
7
|
exports.clearAllBillTransactions = exports.removeBillTransaction = exports.updateBillTransactionsWithBulkActionStatus = exports.updateBillTransaction = exports.updateBillTransactions = exports.initialState = void 0;
|
|
8
8
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
9
9
|
const assignWith_1 = __importDefault(require("lodash/assignWith"));
|
|
10
|
+
const rootActions_1 = require("../../../rootActions");
|
|
10
11
|
const billTransactionPayload_1 = require("./billTransactionPayload");
|
|
11
12
|
const billTransactionState_1 = require("./billTransactionState");
|
|
12
13
|
exports.initialState = {
|
|
@@ -36,6 +37,11 @@ const billTransaction = (0, toolkit_1.createSlice)({
|
|
|
36
37
|
draft.transactionById = {};
|
|
37
38
|
},
|
|
38
39
|
},
|
|
40
|
+
extraReducers: (builder) => {
|
|
41
|
+
builder.addCase(rootActions_1.clearAll, (draft) => {
|
|
42
|
+
draft.transactionById = {};
|
|
43
|
+
});
|
|
44
|
+
},
|
|
39
45
|
});
|
|
40
46
|
_a = billTransaction.actions, exports.updateBillTransactions = _a.updateBillTransactions, exports.updateBillTransaction = _a.updateBillTransaction, exports.updateBillTransactionsWithBulkActionStatus = _a.updateBillTransactionsWithBulkActionStatus, exports.removeBillTransaction = _a.removeBillTransaction, exports.clearAllBillTransactions = _a.clearAllBillTransactions;
|
|
41
47
|
exports.default = billTransaction.reducer;
|
|
@@ -111,9 +111,9 @@ export interface BulkProcessingDetail {
|
|
|
111
111
|
}
|
|
112
112
|
declare const toBillStageCodeType: (v: string) => "paid" | "pending_approval" | "scheduled" | "draft";
|
|
113
113
|
export type BillStageCodeType = ReturnType<typeof toBillStageCodeType>;
|
|
114
|
-
declare const toBillPaymentStatusCodeType: (v: string) => "
|
|
114
|
+
declare const toBillPaymentStatusCodeType: (v: string) => "paid" | "failed" | "returned" | "processing" | "posted" | "cancelled" | "pending_vendor_action" | "awaiting_to_be_marked_as_paid" | "mark_as_paid";
|
|
115
115
|
export type BillPaymentStatusCodeType = ReturnType<typeof toBillPaymentStatusCodeType>;
|
|
116
|
-
declare const toBillPaymentRefundStatusCodeType: (v: string) => "failed" | "
|
|
116
|
+
declare const toBillPaymentRefundStatusCodeType: (v: string) => "failed" | "returned" | "processing" | "cancelled" | "completed";
|
|
117
117
|
export type BillPaymentRefundStatusCodeType = ReturnType<typeof toBillPaymentRefundStatusCodeType>;
|
|
118
118
|
declare const toBillStatusCodeType: (v: string) => "approved" | "rejected" | "pending_approval" | "initiated";
|
|
119
119
|
export type BillStatusCodeType = ReturnType<typeof toBillStatusCodeType>;
|
|
@@ -131,6 +131,6 @@ export declare const toDeletionSourceType: (v: string) => "zeni_dashboard" | "qb
|
|
|
131
131
|
export type DeletionSourceType = ReturnType<typeof toDeletionSourceType>;
|
|
132
132
|
export declare const toBulkProcessingStateType: (v: string) => "error" | "processing" | "processing_queued" | "processed";
|
|
133
133
|
export type BulkProcessingStateType = ReturnType<typeof toBulkProcessingStateType>;
|
|
134
|
-
export declare const toOutsideZeniPaymentModeType: (v: string) => "
|
|
134
|
+
export declare const toOutsideZeniPaymentModeType: (v: string) => "check" | "ach" | "cash" | "ach_same_day" | "us_domestic_wire" | "international_wire" | "other";
|
|
135
135
|
export type OutsideZeniPaymentModeType = ReturnType<typeof toOutsideZeniPaymentModeType>;
|
|
136
136
|
export {};
|
|
@@ -3,6 +3,7 @@ var _a;
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.clearContacts = exports.removeContact = exports.updateContacts = exports.initialState = void 0;
|
|
5
5
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
|
+
const rootActions_1 = require("../../../rootActions");
|
|
6
7
|
const contactPayload_1 = require("./contactPayload");
|
|
7
8
|
exports.initialState = {
|
|
8
9
|
contactById: {},
|
|
@@ -24,6 +25,11 @@ const contact = (0, toolkit_1.createSlice)({
|
|
|
24
25
|
draft.contactById = {};
|
|
25
26
|
},
|
|
26
27
|
},
|
|
28
|
+
extraReducers: (builder) => {
|
|
29
|
+
builder.addCase(rootActions_1.clearAll, (draft) => {
|
|
30
|
+
draft.contactById = {};
|
|
31
|
+
});
|
|
32
|
+
},
|
|
27
33
|
});
|
|
28
34
|
_a = contact.actions, exports.updateContacts = _a.updateContacts, exports.removeContact = _a.removeContact, exports.clearContacts = _a.clearContacts;
|
|
29
35
|
exports.default = contact.reducer;
|
|
@@ -3,6 +3,7 @@ var _a;
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.clearAllRecurringBills = exports.removeRecurringBill = exports.updateRecurringBills = exports.updateRecurringBillConfigs = exports.initialState = void 0;
|
|
5
5
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
|
+
const rootActions_1 = require("../../../rootActions");
|
|
6
7
|
const recurringBillsPayload_1 = require("./recurringBillsPayload");
|
|
7
8
|
exports.initialState = {
|
|
8
9
|
recurringBillDetailByConfigId: {},
|
|
@@ -34,6 +35,11 @@ const recurringBill = (0, toolkit_1.createSlice)({
|
|
|
34
35
|
draft.recurringBillDetailByConfigId = {};
|
|
35
36
|
},
|
|
36
37
|
},
|
|
38
|
+
extraReducers: (builder) => {
|
|
39
|
+
builder.addCase(rootActions_1.clearAll, (draft) => {
|
|
40
|
+
draft.recurringBillDetailByConfigId = {};
|
|
41
|
+
});
|
|
42
|
+
},
|
|
37
43
|
});
|
|
38
44
|
_a = recurringBill.actions, exports.updateRecurringBillConfigs = _a.updateRecurringBillConfigs, exports.updateRecurringBills = _a.updateRecurringBills, exports.removeRecurringBill = _a.removeRecurringBill, exports.clearAllRecurringBills = _a.clearAllRecurringBills;
|
|
39
45
|
exports.default = recurringBill.reducer;
|
|
@@ -7,6 +7,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
7
7
|
exports.clearAllCardPayments = exports.removeCardPayment = exports.updateCardPayments = exports.initialState = void 0;
|
|
8
8
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
9
9
|
const assignWith_1 = __importDefault(require("lodash/assignWith"));
|
|
10
|
+
const rootActions_1 = require("../../rootActions");
|
|
10
11
|
const cardPaymentPayload_1 = require("./cardPaymentPayload");
|
|
11
12
|
exports.initialState = {
|
|
12
13
|
cardByID: {},
|
|
@@ -45,6 +46,11 @@ const cardPayment = (0, toolkit_1.createSlice)({
|
|
|
45
46
|
draft.cardByID = {};
|
|
46
47
|
},
|
|
47
48
|
},
|
|
49
|
+
extraReducers: (builder) => {
|
|
50
|
+
builder.addCase(rootActions_1.clearAll, (draft) => {
|
|
51
|
+
draft.cardByID = {};
|
|
52
|
+
});
|
|
53
|
+
},
|
|
48
54
|
});
|
|
49
55
|
_a = cardPayment.actions, exports.updateCardPayments = _a.updateCardPayments, exports.removeCardPayment = _a.removeCardPayment, exports.clearAllCardPayments = _a.clearAllCardPayments;
|
|
50
56
|
exports.default = cardPayment.reducer;
|
|
@@ -3,6 +3,7 @@ var _a;
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.clearCardPolicy = exports.updatePolicyRecommendationFromUploadFailure = exports.updatePolicyRecommendationFromUploadSuccess = exports.fetchCardPolicyRecommendationFromUpload = exports.clearPolicyDocumentExtraction = exports.updatePolicyDocumentExtractionFailure = exports.updatePolicyDocumentExtractionSuccess = exports.extractPolicyDocument = exports.updateCardPolicyStats = exports.removeCardPolicyTemplate = exports.updateCardPolicyTemplates = exports.updateCreatedCardPolicyTemplate = exports.updateCardPolicyVendorOptionsFailure = exports.updateCardPolicyVendorOptions = exports.updateCardPolicyMccCategoriesFailure = exports.updateCardPolicyMccCategories = exports.fetchCardPolicyVendorOptions = exports.fetchCardPolicyMccCategories = exports.initialState = void 0;
|
|
5
5
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
|
+
const rootActions_1 = require("../../rootActions");
|
|
6
7
|
const cardPolicyPayload_1 = require("./cardPolicyPayload");
|
|
7
8
|
// `buildVendorChipId(name)` calls `name.trim().toLowerCase()`; empty/whitespace names would crash or collapse into one colliding chip-id.
|
|
8
9
|
const isUsableMerchantName = (name) => typeof name === 'string' && name.trim() !== '';
|
|
@@ -170,6 +171,11 @@ const cardPolicy = (0, toolkit_1.createSlice)({
|
|
|
170
171
|
Object.assign(draft, exports.initialState);
|
|
171
172
|
},
|
|
172
173
|
},
|
|
174
|
+
extraReducers: (builder) => {
|
|
175
|
+
builder.addCase(rootActions_1.clearAll, (draft) => {
|
|
176
|
+
Object.assign(draft, exports.initialState);
|
|
177
|
+
});
|
|
178
|
+
},
|
|
173
179
|
});
|
|
174
180
|
_a = cardPolicy.actions, exports.fetchCardPolicyMccCategories = _a.fetchCardPolicyMccCategories, exports.fetchCardPolicyVendorOptions = _a.fetchCardPolicyVendorOptions, exports.updateCardPolicyMccCategories = _a.updateCardPolicyMccCategories, exports.updateCardPolicyMccCategoriesFailure = _a.updateCardPolicyMccCategoriesFailure, exports.updateCardPolicyVendorOptions = _a.updateCardPolicyVendorOptions, exports.updateCardPolicyVendorOptionsFailure = _a.updateCardPolicyVendorOptionsFailure, exports.updateCreatedCardPolicyTemplate = _a.updateCreatedCardPolicyTemplate, exports.updateCardPolicyTemplates = _a.updateCardPolicyTemplates, exports.removeCardPolicyTemplate = _a.removeCardPolicyTemplate, exports.updateCardPolicyStats = _a.updateCardPolicyStats, exports.extractPolicyDocument = _a.extractPolicyDocument, exports.updatePolicyDocumentExtractionSuccess = _a.updatePolicyDocumentExtractionSuccess, exports.updatePolicyDocumentExtractionFailure = _a.updatePolicyDocumentExtractionFailure, exports.clearPolicyDocumentExtraction = _a.clearPolicyDocumentExtraction, exports.fetchCardPolicyRecommendationFromUpload = _a.fetchCardPolicyRecommendationFromUpload, exports.updatePolicyRecommendationFromUploadSuccess = _a.updatePolicyRecommendationFromUploadSuccess, exports.updatePolicyRecommendationFromUploadFailure = _a.updatePolicyRecommendationFromUploadFailure, exports.clearCardPolicy = _a.clearCardPolicy;
|
|
175
181
|
exports.default = cardPolicy.reducer;
|
|
@@ -63,7 +63,7 @@ export interface CreditLimitFrequency {
|
|
|
63
63
|
code: CreditLimitFrequencyCodeType;
|
|
64
64
|
name: string;
|
|
65
65
|
}
|
|
66
|
-
export declare const toCreditLimitFrequencyCodeType: (v: string) => "
|
|
66
|
+
export declare const toCreditLimitFrequencyCodeType: (v: string) => "weekly" | "monthly" | "quarterly" | "daily" | "yearly";
|
|
67
67
|
export type CreditLimitFrequencyCodeType = ReturnType<typeof toCreditLimitFrequencyCodeType>;
|
|
68
68
|
interface CardStatus {
|
|
69
69
|
code: CardStatusCodeType;
|
|
@@ -83,7 +83,7 @@ export declare const toCardCodeType: (v: string) => "business_physical_credit_ca
|
|
|
83
83
|
export type CardCodeType = ReturnType<typeof toCardCodeType>;
|
|
84
84
|
export declare const toChargeCardType: (v: string) => "credit_card" | "debit_card";
|
|
85
85
|
export type ChargeCardType = ReturnType<typeof toChargeCardType>;
|
|
86
|
-
export declare const toShippingAddressType: (v: string) => "
|
|
86
|
+
export declare const toShippingAddressType: (v: string) => "card_holder_personal_address" | "company_address" | "custom_address";
|
|
87
87
|
export type ShippingAddressType = ReturnType<typeof toShippingAddressType>;
|
|
88
88
|
interface CardType {
|
|
89
89
|
code: CreditCardCodeType | DebitCardCodeType;
|
|
@@ -8,6 +8,7 @@ exports.clearAllChargeCards = exports.removeChargeCard = exports.updateChargeCar
|
|
|
8
8
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
9
9
|
const assignWith_1 = __importDefault(require("lodash/assignWith"));
|
|
10
10
|
const amount_1 = require("../../commonStateTypes/amount");
|
|
11
|
+
const rootActions_1 = require("../../rootActions");
|
|
11
12
|
const chargeCard_1 = require("./chargeCard");
|
|
12
13
|
const chargeCardPayload_1 = require("./chargeCardPayload");
|
|
13
14
|
exports.initialState = {
|
|
@@ -82,6 +83,11 @@ const chargeCard = (0, toolkit_1.createSlice)({
|
|
|
82
83
|
draft.chargeCardByID = {};
|
|
83
84
|
},
|
|
84
85
|
},
|
|
86
|
+
extraReducers: (builder) => {
|
|
87
|
+
builder.addCase(rootActions_1.clearAll, (draft) => {
|
|
88
|
+
draft.chargeCardByID = {};
|
|
89
|
+
});
|
|
90
|
+
},
|
|
85
91
|
});
|
|
86
92
|
_a = chargeCard.actions, exports.updateChargeCards = _a.updateChargeCards, exports.updateChargeCard = _a.updateChargeCard, exports.updateChargeCardStatusFromPusher = _a.updateChargeCardStatusFromPusher, exports.updateChargeCardSpendingFromPusher = _a.updateChargeCardSpendingFromPusher, exports.removeChargeCard = _a.removeChargeCard, exports.clearAllChargeCards = _a.clearAllChargeCards;
|
|
87
93
|
exports.default = chargeCard.reducer;
|
|
@@ -31,7 +31,7 @@ export interface ChargeCardRepayment {
|
|
|
31
31
|
export interface ChargeCardRepaymentState {
|
|
32
32
|
chargeCardRepaymentByID: Record<ID, ChargeCardRepayment>;
|
|
33
33
|
}
|
|
34
|
-
export declare const toChargeCardRepaymentStatusCodeType: (v: string) => "
|
|
34
|
+
export declare const toChargeCardRepaymentStatusCodeType: (v: string) => "PendingReview" | "Pending" | "Sent" | "Clearing" | "Rejected" | "Returned";
|
|
35
35
|
export type ChargeCardRepaymentStatusCodeType = ReturnType<typeof toChargeCardRepaymentStatusCodeType>;
|
|
36
36
|
export declare const toChargeCardRepaymentType: (v: string) => "scheduled" | "onDemand" | undefined;
|
|
37
37
|
export type ChargeCardRepaymentType = ReturnType<typeof toChargeCardRepaymentType>;
|
|
@@ -3,6 +3,7 @@ var _a;
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.clearAllChargeCardRepayments = exports.removeChargeCardRepayment = exports.updateChargeCardRepayment = exports.updateChargeCardRepayments = exports.initialState = void 0;
|
|
5
5
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
|
+
const rootActions_1 = require("../../rootActions");
|
|
6
7
|
const chargeCardRepaymentPayload_1 = require("./chargeCardRepaymentPayload");
|
|
7
8
|
exports.initialState = {
|
|
8
9
|
chargeCardRepaymentByID: {},
|
|
@@ -36,6 +37,11 @@ const chargeCard = (0, toolkit_1.createSlice)({
|
|
|
36
37
|
draft.chargeCardRepaymentByID = {};
|
|
37
38
|
},
|
|
38
39
|
},
|
|
40
|
+
extraReducers: (builder) => {
|
|
41
|
+
builder.addCase(rootActions_1.clearAll, (draft) => {
|
|
42
|
+
draft.chargeCardRepaymentByID = {};
|
|
43
|
+
});
|
|
44
|
+
},
|
|
39
45
|
});
|
|
40
46
|
_a = chargeCard.actions, exports.updateChargeCardRepayments = _a.updateChargeCardRepayments, exports.updateChargeCardRepayment = _a.updateChargeCardRepayment, exports.removeChargeCardRepayment = _a.removeChargeCardRepayment, exports.clearAllChargeCardRepayments = _a.clearAllChargeCardRepayments;
|
|
41
47
|
exports.default = chargeCard.reducer;
|
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.clearAllChargeCardTransactions = exports.removeChargeCardTransactionAttachmentByThirdPartyTransactionId = exports.removeChargeCardTransaction = exports.updateChargeCardTransactionReceiptFromPusher = exports.updateChargeCardTransactionFromPusher = exports.updateChargeCardTransactionStatusFromPusher = exports.updateChargeCardTransactionAttachments = exports.updateChargeCardTransaction = exports.updateChargeCardTransactions = exports.initialState = void 0;
|
|
5
5
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
6
|
const pusherActions_1 = require("../../commonStateTypes/pusherActions");
|
|
7
|
+
const rootActions_1 = require("../../rootActions");
|
|
7
8
|
const chargeCardTransaction_1 = require("./chargeCardTransaction");
|
|
8
9
|
const chargeCardTransactionPayload_1 = require("./chargeCardTransactionPayload");
|
|
9
10
|
exports.initialState = {
|
|
@@ -87,6 +88,9 @@ const chargeCardTransaction = (0, toolkit_1.createSlice)({
|
|
|
87
88
|
const entity = (0, chargeCardTransactionPayload_1.toChargeCardTransaction)(action.payload.transaction);
|
|
88
89
|
draft.chargeCardTransactionById[entity.id] = entity;
|
|
89
90
|
});
|
|
91
|
+
builder.addCase(rootActions_1.clearAll, (draft) => {
|
|
92
|
+
draft.chargeCardTransactionById = {};
|
|
93
|
+
});
|
|
90
94
|
},
|
|
91
95
|
});
|
|
92
96
|
_a = chargeCardTransaction.actions, exports.updateChargeCardTransactions = _a.updateChargeCardTransactions, exports.updateChargeCardTransaction = _a.updateChargeCardTransaction, exports.updateChargeCardTransactionAttachments = _a.updateChargeCardTransactionAttachments, exports.updateChargeCardTransactionStatusFromPusher = _a.updateChargeCardTransactionStatusFromPusher, exports.updateChargeCardTransactionFromPusher = _a.updateChargeCardTransactionFromPusher, exports.updateChargeCardTransactionReceiptFromPusher = _a.updateChargeCardTransactionReceiptFromPusher, exports.removeChargeCardTransaction = _a.removeChargeCardTransaction, exports.removeChargeCardTransactionAttachmentByThirdPartyTransactionId = _a.removeChargeCardTransactionAttachmentByThirdPartyTransactionId, exports.clearAllChargeCardTransactions = _a.clearAllChargeCardTransactions;
|
|
@@ -10,6 +10,7 @@ const assignWith_1 = __importDefault(require("lodash/assignWith"));
|
|
|
10
10
|
const get_1 = __importDefault(require("lodash/get"));
|
|
11
11
|
const coaBalancePayload_1 = require("../../commonPayloadTypes/v2/coaBalancePayload");
|
|
12
12
|
const getNestedClassIDHierarchyForReport_1 = require("../../commonStateTypes/classesView/getNestedClassIDHierarchyForReport");
|
|
13
|
+
const rootActions_1 = require("../../rootActions");
|
|
13
14
|
const classPayload_1 = require("./classPayload");
|
|
14
15
|
const classState_1 = require("./classState");
|
|
15
16
|
exports.initialState = {
|
|
@@ -55,6 +56,11 @@ const classes = (0, toolkit_1.createSlice)({
|
|
|
55
56
|
Object.assign(draft, exports.initialState);
|
|
56
57
|
},
|
|
57
58
|
},
|
|
59
|
+
extraReducers: (builder) => {
|
|
60
|
+
builder.addCase(rootActions_1.clearAll, (draft) => {
|
|
61
|
+
Object.assign(draft, exports.initialState);
|
|
62
|
+
});
|
|
63
|
+
},
|
|
58
64
|
});
|
|
59
65
|
_a = classes.actions, exports.updateClasses = _a.updateClasses, exports.updateClassesWithBalancesV2 = _a.updateClassesWithBalancesV2, exports.clearAllClasses = _a.clearAllClasses;
|
|
60
66
|
exports.default = classes.reducer;
|
|
@@ -8,6 +8,7 @@ exports.updateInternationalWireOnboardingStatus = exports.updateEnableAutoPayFor
|
|
|
8
8
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
9
9
|
const isEmpty_1 = __importDefault(require("lodash/isEmpty"));
|
|
10
10
|
const isEqual_1 = __importDefault(require("lodash/isEqual"));
|
|
11
|
+
const rootActions_1 = require("../../rootActions");
|
|
11
12
|
const zeniDayJS_1 = require("../../zeniDayJS");
|
|
12
13
|
const companyPayload_1 = require("./companyPayload");
|
|
13
14
|
exports.initialState = {
|
|
@@ -199,6 +200,16 @@ const company = (0, toolkit_1.createSlice)({
|
|
|
199
200
|
},
|
|
200
201
|
},
|
|
201
202
|
},
|
|
203
|
+
extraReducers: (builder) => {
|
|
204
|
+
builder.addCase(rootActions_1.clearAll, (draft, action) => {
|
|
205
|
+
// `!== false` rather than `!`: the flag is required at the type level, but an
|
|
206
|
+
// untyped or stale-build caller doing `clearAll()` would send `undefined`,
|
|
207
|
+
// and defaulting that to "wipe" is the dangerous direction. Keep is safe.
|
|
208
|
+
if (action.payload.keepTenantCompanyState === false) {
|
|
209
|
+
Object.assign(draft, exports.initialState);
|
|
210
|
+
}
|
|
211
|
+
});
|
|
212
|
+
},
|
|
202
213
|
});
|
|
203
214
|
_a = company.actions, exports.updateCompanies = _a.updateCompanies, exports.updateCompanyMonthEndReportSentDate = _a.updateCompanyMonthEndReportSentDate, exports.removeCompany = _a.removeCompany, exports.clearAllCompanies = _a.clearAllCompanies, exports.updateOnboardingCompanies = _a.updateOnboardingCompanies, exports.updateOnboardingCompletedCompanies = _a.updateOnboardingCompletedCompanies, exports.removeOnboardingCompany = _a.removeOnboardingCompany, exports.removeOnboardingCompletedCompany = _a.removeOnboardingCompletedCompany, exports.toggleCompanyMonthEndReportDraftFlag = _a.toggleCompanyMonthEndReportDraftFlag, exports.updateQBOConnectionStatusForCompany = _a.updateQBOConnectionStatusForCompany, exports.updateOnboardingInfoOnRetryBankAccountConnectionSuccess = _a.updateOnboardingInfoOnRetryBankAccountConnectionSuccess, exports.updateCompanyPrimaryAccount = _a.updateCompanyPrimaryAccount, exports.updateEnableAutoPayForChargeCard = _a.updateEnableAutoPayForChargeCard, exports.updateInternationalWireOnboardingStatus = _a.updateInternationalWireOnboardingStatus;
|
|
204
215
|
exports.default = company.reducer;
|
|
@@ -3,6 +3,7 @@ var _a;
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.updateCompanyHealth = exports.updateCompaniesHealth = exports.clearCompanyHealthMetric = exports.initialState = void 0;
|
|
5
5
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
|
+
const rootActions_1 = require("../../rootActions");
|
|
6
7
|
const companyHealthMetricPayload_1 = require("./companyHealthMetricPayload");
|
|
7
8
|
exports.initialState = {
|
|
8
9
|
companyHealthStateByCompanyId: {},
|
|
@@ -28,6 +29,11 @@ const companyHealthMetric = (0, toolkit_1.createSlice)({
|
|
|
28
29
|
Object.assign(draft, exports.initialState);
|
|
29
30
|
},
|
|
30
31
|
},
|
|
32
|
+
extraReducers: (builder) => {
|
|
33
|
+
builder.addCase(rootActions_1.clearAll, (draft) => {
|
|
34
|
+
Object.assign(draft, exports.initialState);
|
|
35
|
+
});
|
|
36
|
+
},
|
|
31
37
|
});
|
|
32
38
|
exports.default = companyHealthMetric.reducer;
|
|
33
39
|
_a = companyHealthMetric.actions, exports.clearCompanyHealthMetric = _a.clearCompanyHealthMetric, exports.updateCompaniesHealth = _a.updateCompaniesHealth, exports.updateCompanyHealth = _a.updateCompanyHealth;
|
|
@@ -3,6 +3,7 @@ var _a;
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.clearAllConnectedAccounts = exports.removeConnectedAccount = exports.updateConnectedAccount = exports.initialState = void 0;
|
|
5
5
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
|
+
const rootActions_1 = require("../../rootActions");
|
|
6
7
|
const connectedAccountPayload_1 = require("./connectedAccountPayload");
|
|
7
8
|
exports.initialState = {
|
|
8
9
|
connectedAccountByID: {},
|
|
@@ -22,6 +23,11 @@ const connectedAccount = (0, toolkit_1.createSlice)({
|
|
|
22
23
|
draft.connectedAccountByID = {};
|
|
23
24
|
},
|
|
24
25
|
},
|
|
26
|
+
extraReducers: (builder) => {
|
|
27
|
+
builder.addCase(rootActions_1.clearAll, (draft) => {
|
|
28
|
+
draft.connectedAccountByID = {};
|
|
29
|
+
});
|
|
30
|
+
},
|
|
25
31
|
});
|
|
26
32
|
_a = connectedAccount.actions, exports.updateConnectedAccount = _a.updateConnectedAccount, exports.removeConnectedAccount = _a.removeConnectedAccount, exports.clearAllConnectedAccounts = _a.clearAllConnectedAccounts;
|
|
27
33
|
exports.default = connectedAccount.reducer;
|
|
@@ -3,6 +3,7 @@ var _a;
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.clearCountryList = exports.updateCountryList = exports.initialState = exports.initialCountryList = void 0;
|
|
5
5
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
|
+
const rootActions_1 = require("../../rootActions");
|
|
6
7
|
const countryListPayload_1 = require("./payloads/countryListPayload");
|
|
7
8
|
exports.initialCountryList = {
|
|
8
9
|
countries: [],
|
|
@@ -27,6 +28,11 @@ const countryList = (0, toolkit_1.createSlice)({
|
|
|
27
28
|
Object.assign(draft, exports.initialState);
|
|
28
29
|
},
|
|
29
30
|
},
|
|
31
|
+
extraReducers: (builder) => {
|
|
32
|
+
builder.addCase(rootActions_1.clearAll, (draft) => {
|
|
33
|
+
Object.assign(draft, exports.initialState);
|
|
34
|
+
});
|
|
35
|
+
},
|
|
30
36
|
});
|
|
31
37
|
_a = countryList.actions, exports.updateCountryList = _a.updateCountryList, exports.clearCountryList = _a.clearCountryList;
|
|
32
38
|
exports.default = countryList.reducer;
|
|
@@ -3,6 +3,7 @@ var _a;
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.updateCreditAgentRows = exports.updateCreditAgentRow = exports.updateCreditAgentMacro = exports.clearAllCreditAgent = exports.initialCreditAgentEntityState = void 0;
|
|
5
5
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
|
+
const rootActions_1 = require("../../rootActions");
|
|
6
7
|
const creditAgentPayload_1 = require("./creditAgentPayload");
|
|
7
8
|
exports.initialCreditAgentEntityState = {
|
|
8
9
|
macro: undefined,
|
|
@@ -32,6 +33,11 @@ const creditAgent = (0, toolkit_1.createSlice)({
|
|
|
32
33
|
Object.assign(draft, exports.initialCreditAgentEntityState);
|
|
33
34
|
},
|
|
34
35
|
},
|
|
36
|
+
extraReducers: (builder) => {
|
|
37
|
+
builder.addCase(rootActions_1.clearAll, (draft) => {
|
|
38
|
+
Object.assign(draft, exports.initialCreditAgentEntityState);
|
|
39
|
+
});
|
|
40
|
+
},
|
|
35
41
|
});
|
|
36
42
|
_a = creditAgent.actions, exports.clearAllCreditAgent = _a.clearAllCreditAgent, exports.updateCreditAgentMacro = _a.updateCreditAgentMacro, exports.updateCreditAgentRow = _a.updateCreditAgentRow, exports.updateCreditAgentRows = _a.updateCreditAgentRows;
|
|
37
43
|
exports.default = creditAgent.reducer;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ID } from '../../commonStateTypes/common';
|
|
2
2
|
import { ZeniDate } from '../../zeniDayJS';
|
|
3
3
|
declare const ALL_CARD_STATUS_VALUES: readonly ["Not-Initiated", "Interested", "Pre-approved", "Approved", "Enabled", "Active", "Rejected", "Locked"];
|
|
4
|
-
export declare const toCardStatus: (v: string) => "Not-Initiated" | "Interested" | "Pre-approved" | "Approved" | "Enabled" | "Active" | "
|
|
4
|
+
export declare const toCardStatus: (v: string) => "Rejected" | "Not-Initiated" | "Interested" | "Pre-approved" | "Approved" | "Enabled" | "Active" | "Locked";
|
|
5
5
|
export type CardStatus = ReturnType<typeof toCardStatus>;
|
|
6
6
|
export { ALL_CARD_STATUS_VALUES };
|
|
7
7
|
export interface CardTenantProfileRow {
|