@zeniai/client-epic-state 5.1.41-betaAK1 → 5.1.41-betaAK3
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/entity/invoicing/invoicingCustomer/invoicingCustomerPayload.d.ts +1 -0
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerPayload.js +1 -0
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerState.d.ts +1 -0
- package/lib/epic.js +2 -1
- package/lib/esm/entity/invoicing/invoicingCustomer/invoicingCustomerPayload.js +1 -0
- package/lib/esm/epic.js +2 -1
- package/lib/esm/index.js +2 -2
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewPayload.js +8 -24
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer.js +8 -1
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector.js +26 -2
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/initializeInvoicingCustomerAddressEpic.js +35 -0
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/invoicingCustomerFormConfig.js +2 -15
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/saveInvoicingCustomerEpic.js +11 -2
- package/lib/index.d.ts +2 -2
- package/lib/index.js +8 -6
- package/lib/view/addressView/addressViewState.d.ts +1 -1
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewPayload.d.ts +6 -4
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewPayload.js +8 -24
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer.d.ts +5 -1
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer.js +9 -2
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector.d.ts +2 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector.js +25 -1
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewState.d.ts +4 -11
- package/lib/view/invoicing/editInvoicingCustomerDetailView/initializeInvoicingCustomerAddressEpic.d.ts +16 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/initializeInvoicingCustomerAddressEpic.js +39 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/invoicingCustomerFormConfig.d.ts +2 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/invoicingCustomerFormConfig.js +3 -16
- package/lib/view/invoicing/editInvoicingCustomerDetailView/saveInvoicingCustomerEpic.d.ts +2 -1
- package/lib/view/invoicing/editInvoicingCustomerDetailView/saveInvoicingCustomerEpic.js +11 -2
- package/package.json +1 -1
|
@@ -6,6 +6,7 @@ export interface InvoicingCustomerPayload {
|
|
|
6
6
|
arr?: number;
|
|
7
7
|
auto_collection?: 'on' | 'off';
|
|
8
8
|
billing_address?: InvoicingBillingAddressPayload;
|
|
9
|
+
billing_address_id?: string;
|
|
9
10
|
card_status?: 'no_card' | 'valid' | 'expiring' | 'expired';
|
|
10
11
|
company?: string;
|
|
11
12
|
consolidated_invoicing?: boolean;
|
|
@@ -16,6 +16,7 @@ const mapInvoicingCustomerPayloadToState = (payload) => {
|
|
|
16
16
|
: undefined,
|
|
17
17
|
autoCollection: payload.auto_collection,
|
|
18
18
|
billingAddress: payload.billing_address,
|
|
19
|
+
billingAddressId: payload.billing_address_id,
|
|
19
20
|
cardStatus: payload.card_status,
|
|
20
21
|
company: payload.company,
|
|
21
22
|
consolidatedInvoicing: payload.consolidated_invoicing,
|
|
@@ -8,6 +8,7 @@ export interface InvoicingCustomer {
|
|
|
8
8
|
arr?: Amount;
|
|
9
9
|
autoCollection?: 'on' | 'off';
|
|
10
10
|
billingAddress?: InvoicingBillingAddressPayload;
|
|
11
|
+
billingAddressId?: ID;
|
|
11
12
|
cardStatus?: 'no_card' | 'valid' | 'expiring' | 'expired';
|
|
12
13
|
company?: string;
|
|
13
14
|
consolidatedInvoicing?: boolean;
|
package/lib/epic.js
CHANGED
|
@@ -231,6 +231,7 @@ const dunningActionEpic_1 = require("./view/invoicing/dunningAction/dunningActio
|
|
|
231
231
|
const saveInvoicingCatalogItemEpic_1 = require("./view/invoicing/editInvoicingCatalogItemDetailView/saveInvoicingCatalogItemEpic");
|
|
232
232
|
const saveInvoicingCouponEpic_1 = require("./view/invoicing/editInvoicingCouponDetailView/saveInvoicingCouponEpic");
|
|
233
233
|
const saveInvoicingCustomerEpic_1 = require("./view/invoicing/editInvoicingCustomerDetailView/saveInvoicingCustomerEpic");
|
|
234
|
+
const initializeInvoicingCustomerAddressEpic_1 = require("./view/invoicing/editInvoicingCustomerDetailView/initializeInvoicingCustomerAddressEpic");
|
|
234
235
|
const fetchInvoicingSubscriptionFormPageEpic_1 = require("./view/invoicing/editInvoicingSubscriptionDetailView/fetchInvoicingSubscriptionFormPageEpic");
|
|
235
236
|
const saveInvoicingSubscriptionEpic_1 = require("./view/invoicing/editInvoicingSubscriptionDetailView/saveInvoicingSubscriptionEpic");
|
|
236
237
|
const invoiceActionEpic_1 = require("./view/invoicing/invoiceAction/invoiceActionEpic");
|
|
@@ -678,7 +679,7 @@ const fetchZeniAccStatementPageEpic_1 = require("./view/zeniAccStatementList/fet
|
|
|
678
679
|
const zeniAccountsPromoCardEpic_1 = require("./view/zeniAccountsPromoCard/zeniAccountsPromoCardEpic");
|
|
679
680
|
const approveOAuthConsentEpic_1 = require("./view/zeniOAuthView/epics/approveOAuthConsentEpic");
|
|
680
681
|
// Note: Please maintain strict alphabetical order
|
|
681
|
-
const combinedEpics = (0, redux_observable_1.combineEpics)(fetchInvoiceListEpic_1.fetchInvoiceListEpic, fetchInvoiceListPageEpic_1.fetchInvoiceListPageEpic, fetchInvoiceCountsEpic_1.fetchInvoiceCountsEpic, fetchInvoiceKPIsEpic_1.fetchInvoiceKPIsEpic, fetchInvoiceDetailEpic_1.fetchInvoiceDetailEpic, createInvoiceEpic_1.createInvoiceEpic, recordPaymentEpic_1.recordPaymentEpic, fetchInvoicingOverviewEpic_1.fetchInvoicingOverviewEpic, fetchInvoicingOverviewKPIsEpic_1.fetchInvoicingOverviewKPIsEpic, fetchInvoicingOverviewRevenueEpic_1.fetchInvoicingOverviewRevenueEpic, fetchInvoicingOverviewMRREpic_1.fetchInvoicingOverviewMRREpic, fetchInvoicingOverviewChurnEpic_1.fetchInvoicingOverviewChurnEpic, fetchInvoicingOverviewPlanRevenueEpic_1.fetchInvoicingOverviewPlanRevenueEpic, fetchInvoicingOverviewDashboardSummaryEpic_1.fetchInvoicingOverviewDashboardSummaryEpic, auditViewEpics_1.fetchInvoicingAuditLogEpic, saveInvoicingCatalogItemEpic_1.saveInvoicingCatalogItemEpic, saveInvoicingCouponEpic_1.saveInvoicingCouponEpic, saveInvoicingCustomerEpic_1.saveInvoicingCustomerEpic, saveInvoicingSubscriptionEpic_1.saveInvoicingSubscriptionEpic, fetchInvoicingSubscriptionFormPageEpic_1.fetchInvoicingSubscriptionFormPageEpic, dataImportActionEpic_1.invoicingDataImportActionEpic, dataImportViewEpics_1.fetchInvoicingMigrationSessionsEpic, dataImportViewEpics_1.fetchInvoicingMigrationSessionEpic, dataImportViewEpics_1.fetchInvoicingDataImportStatusEpic, invoiceActionEpic_1.runInvoicingInvoiceActionEpic, invoiceActionEpic_1.updateInvoicingInvoiceEpic, subscriptionActionEpic_1.runInvoicingSubscriptionActionEpic, dunningActionEpic_1.runInvoicingDunningActionEpic, paymentActionEpic_1.runInvoicingPaymentActionEpic, fetchInvoicingCustomerListEpic_1.fetchInvoicingCustomerListEpic, fetchInvoicingCustomerListPageEpic_1.fetchInvoicingCustomerListPageEpic, fetchInvoicingCustomerCountsEpic_1.fetchInvoicingCustomerCountsEpic, fetchInvoicingCustomerDetailEpic_1.fetchInvoicingCustomerDetailEpic, fetchInvoicingCustomerDetailPageEpic_1.fetchInvoicingCustomerDetailPageEpic, customerPaymentMethodEpic_1.createInvoicingSetupIntentEpic, customerPaymentMethodEpic_1.fetchInvoicingPlaidLinkTokenEpic, customerPaymentMethodEpic_1.saveInvoicingPaymentMethodEpic, customerPaymentMethodEpic_1.sendInvoicingPaymentLinkEpic, fetchInvoicingSubscriptionListEpic_1.fetchInvoicingSubscriptionListEpic, fetchInvoicingSubscriptionListPageEpic_1.fetchInvoicingSubscriptionListPageEpic, fetchInvoicingSubscriptionCountsEpic_1.fetchInvoicingSubscriptionCountsEpic, invoicingSubscriptionDetailViewEpics_1.fetchInvoicingSubscriptionDetailEpic, fetchInvoicingTransactionListEpic_1.fetchInvoicingTransactionListEpic, fetchInvoicingTransactionListPageEpic_1.fetchInvoicingTransactionListPageEpic, invoicingTransactionDetailViewEpics_1.fetchInvoicingTransactionDetailEpic, fetchInvoicingCreditNoteListEpic_1.fetchInvoicingCreditNoteListEpic, fetchInvoicingCreditNoteListPageEpic_1.fetchInvoicingCreditNoteListPageEpic, fetchInvoicingCreditNoteCountsEpic_1.fetchInvoicingCreditNoteCountsEpic, invoicingCreditNoteDetailViewEpics_1.fetchInvoicingCreditNoteDetailEpic, couponViewEpics_1.fetchInvoicingCouponListEpic, couponViewEpics_1.fetchInvoicingCouponListPageEpic, couponViewEpics_1.fetchInvoicingCouponCountsEpic, fetchInvoicingCouponDetailEpic_1.fetchInvoicingCouponDetailEpic, fetchInvoicingDunningCaseListEpic_1.fetchInvoicingDunningCaseListEpic, fetchInvoicingDunningCaseListPageEpic_1.fetchInvoicingDunningCaseListPageEpic, fetchInvoicingDunningCaseCountsEpic_1.fetchInvoicingDunningCaseCountsEpic, invoicingDunningCaseDetailViewEpics_1.fetchInvoicingDunningCaseDetailEpic, fetchInvoicingCatalogPlanListEpic_1.fetchInvoicingCatalogPlanListEpic, fetchInvoicingCatalogProductListEpic_1.fetchInvoicingCatalogProductListEpic, fetchInvoicingCatalogListPageEpic_1.fetchInvoicingCatalogListPageEpic, fetchInvoicingCatalogCountsEpic_1.fetchInvoicingCatalogCountsEpic, invoicingCatalogItemDetailViewEpics_1.fetchInvoicingCatalogItemDetailEpic, settingsViewEpics_1.fetchInvoicingSettingsEpic, settingsViewEpics_1.saveInvoicingSettingsEpic, settingsViewEpics_1.connectInvoicingStripeEpic, settingsViewEpics_1.disconnectInvoicingStripeEpic, acceptBillPayTermsEpic_1.acceptBillPayTermsEpic, acceptBillPayUpdatedTermsEpic_1.acceptBillPayUpdatedTermsEpic, acceptChargeCardTermsEpic_1.acceptChargeCardTermsEpic, acceptEmployeeRemiTermsEpic_1.acceptEmployeeRemiTermsEpic, acceptMasterTOSEpic_1.acceptMasterTOSEpic, acceptRemiTermsEpic_1.acceptRemiTermsEpic, acceptTreasuryTermsEpic_1.acceptTreasuryTermsEpic, acceptZeniAccountTermsEpic_1.acceptZeniAccountTermsEpic, addCardPaymentSourceEpic_1.addCardPaymentSourceEpic, approveOAuthConsentEpic_1.approveOAuthConsentEpic, approveOrRejectBillEpic_1.approveOrRejectBillEpic, approveOrRejectBillsBulkActionEpic_1.approveOrRejectBillsBulkActionEpic, approveOrRejectRemiEpic_1.approveOrRejectRemiEpic, approveOrRejectRemisBulkActionEpic_1.approveOrRejectRemisBulkActionEpic, approveVendorGlobalReviewEpic_1.approveVendorGlobalReviewEpic, archiveTaskEpic_1.archiveTaskEpic, backgroundRefetchReviewTabEpic_1.backgroundRefetchReviewTabEpic, bulkUpdateTaskListEpic_1.bulkUpdateTaskListEpic, cancelAiAccountantOnboardingEpic_1.cancelAiAccountantOnboardingEpic, cancelAndDeleteBillEpic_1.cancelAndDeleteBillEpic, cancelAndDeleteRemiEpic_1.cancelAndDeleteRemiEpic, cancelOrDeleteBillsBulkActionEpic_1.cancelOrDeleteBillsBulkActionEpic, cancelOrDeleteRemisBulkActionEpic_1.cancelOrDeleteRemisBulkActionEpic, cancelScheduleAccruedJournalEntryEpic_1.cancelScheduleAccruedJournalEntryEpic, changeZeniPersonRolesEpic_1.changeZeniPersonRolesEpic, checkDepositEpic_1.checkDepositEpic, clearAllEpic_1.clearAllEpic, closeChargeCardEpic_1.closeChargeCardEpic, closeChargeCardsEpic_1.closeChargeCardsEpic, companyManagementSavePendingUpdates_1.companyManagementSavePendingUpdatesEpic, companyManagementSaveUpdatesEpic_1.companyManagementSaveUpdatesEpic, confirmCardSetupIntentEpic_1.confirmCardSetupIntentEpic, convertAmountToHomeCurrencyEpic_1.convertAmountToHomeCurrencyEpic, createAddressEpic_1.createAddressEpic, createAutoTransferRuleEpic_1.createAutoTransferRuleEpic, createBankAccountEpic_1.createBankAccountEpic, createCardSetupIntentEpic_1.createCardSetupIntentEpic, createCheckingAccountEpic_1.createCheckingAccountEpic, createCompanyAddressEpic_1.createCompanyAddressEpic, createCompanyOfficersEpic_1.createCompanyOfficersEpic, createCompanyUserAddressEpic_1.createCompanyUserAddressEpic, createGlobalMerchantEpic_1.createGlobalMerchantEpic, createInternationalBankAccountEpic_1.createInternationalBankAccountEpic, createNewSchedulesAccruedEpic_1.createNewSchedulesAccruedEpic, createNewSchedulesEpic_1.createNewSchedulesEpic, createNewTaskGroupEpic_1.createNewTaskGroupEpic, createInternationalPaymentInstrumentEpic_1.createPaymentInstrumentEpic, createSessionAndSubmitEpic_1.createSessionAndSubmitEpic, createSessionEpic_1.createSessionEpic, createTagEpic_1.createTagEpic, createTaskFromTaskGroupTemplateEpic_1.createTaskFromTaskGroupTemplateEpic, createTransferEntryEpic_1.createTransferEntryEpic, createUserBankAccountEpic_1.createUserBankAccountEpic, deleteAccountStatementEpic_1.deleteAccountStatementEpic, deleteAutoTransferRuleEpic_1.deleteAutoTransferRuleEpic, excludeAccountFromReconciliationEpic_1.excludeAccountFromReconciliationEpic, includeAccountInReconciliationEpic_1.includeAccountInReconciliationEpic, deleteBankAccountEpic_1.deleteBankAccountEpic, deleteBillEpic_1.deleteBillEpic, deleteChatSessionEpic_1.deleteChatSessionEpic, deleteConnectionEpic_1.deleteConnectionEpic, deleteBillPayApprovalRuleEpic_1.deleteBillPayApprovalRuleEpic, reorderBillPayApprovalRulesEpic_1.reorderBillPayApprovalRulesEpic, deleteFileEpic_1.deleteFileEpic, deleteFileListEpic_1.deleteFileListEpic, deleteInternationalBankAccountEpic_1.deleteInternationalBankAccountEpic, deletePaymentInstrumentEpic_1.deletePaymentInstrumentEpic, deletePersonEpic_1.deletePersonEpic, deleteRemiApprovalRuleEpic_1.deleteRemiApprovalRuleEpic, reorderRemiApprovalRulesEpic_1.reorderRemiApprovalRulesEpic, deleteRemiEpic_1.deleteRemiEpic, deleteScheduleAccruedDetailEpic_1.deleteScheduleAccruedDetailEpic, deleteScheduleDetailEpic_1.deleteScheduleDetailEpic, deleteTagEpic_1.deleteTagEpic, deleteTaskEpic_1.deleteTaskEpic, snoozeTaskEpic_1.snoozeTaskEpic, unsnoozeTaskEpic_1.unsnoozeTaskEpic, deleteTaskGroupEpic_1.deleteTaskGroupEpic, deleteTransactionAttachmentEpic_1.deleteTransactionAttachmentEpic, deleteUserBankAccountEpic_1.deleteUserBankAccountEpic, doMagicLinkSignInEpic_1.doMagicLinkSignInEpic, signInUserEpic_1.doSignInEpic, signOutUserEpic_1.doSignOutEpic, sendEmailMagicLinkToUserEpic_1.sendEmailMagicLinkToUserEpic, sessionHeartbeatEpic_1.sessionHeartbeatEpic, verifyDeviceWithTwoFAEpic_1.verifyDeviceWithTwoFAEpic, downloadAccountingProviderAttachmentEpic_1.downloadAccountingProviderAttachmentEpic, dragNDropTasksEpic_1.dragNDropTasksEpic, enableChargeCardAutoPayEpic_1.enableChargeCardAutoPayEpic, enableSetupEpic_1.enableSetupEpic, establishOnboardingPlaidConnectionEpic_1.establishOnboardingPlaidConnectionEpic, establishPlaidConnectionEpic_1.establishPlaidConnectionEpic, expressInterestChargeCardEpic_1.expressInterestChargeCardEpic, fetchAccountListEpic_1.fetchAccountListEpic, fetchAccountListForAccountTypesEpic_1.fetchAccountListForAccountTypesEpic, fetchAccountSettingsListForAccountTypesEpic_1.fetchAccountSettingsListForAccountTypesEpic, fetchAccruedScheduleListEpic_1.fetchAccruedScheduleListEpic, fetchActiveTenantEpic_1.fetchActiveTenantEpic, fetchAddressEpic_1.fetchAddressEpic, fetchAiAccountantCustomersEpic_1.fetchAiAccountantCustomersEpic, fetchAiAccountantJobsEpic_1.fetchAiAccountantJobsEpic, fetchAllCockpitViewsEpic_1.fetchAllCockpitViewsEpic, fetchAllExpenseAutomationTabsEpic_1.fetchAllExpenseAutomationTabsEpic, fetchAllPeopleRequiredViewsEpic_1.fetchAllPeopleRequiredViewsEpic, fetchAllTagsEpic_1.fetchAllTagsEpic, fetchAllTaskGroupsEpic_1.fetchAllTaskGroupsEpic, fetchAllTenantsEpic_1.fetchAllTenantsEpic, fetchAndUpdateVendorRecommendationsEpic_1.fetchAndUpdateVendorRecommendationsEpic, aggregatedReportEpic_1.fetchAggregatedReportEpic, fetchApAgingDetailEpic_1.fetchApAgingDetailEpic, fetchApAgingEpic_1.fetchApAgingEpic, fetchArAgingDetailEpic_1.fetchArAgingDetailEpic, fetchArAgingEpic_1.fetchArAgingEpic, fetchAuditReportGroupViewEpic_1.fetchAuditReportGroupViewEpic, fetchAuditRuleGroupViewEpic_1.fetchAuditRuleGroupViewEpic, fetchAutoTransferReviewDetailEpic_1.fetchAutoTransferReviewDetailEpic, fetchAutoTransferRuleHistory_1.fetchAutoTransferRuleHistoryEpic, fetchAutoTransferRulesEpic_1.fetchAutoTransferRulesEpic, balanceSheetEpic_1.fetchBalanceSheetEpic, balanceSheetForTimeframeEpic_1.fetchBalanceSheetForTimeframeEpic, fetchBankAccountsListEpic_1.fetchBankAccountsListEpic, fetchBankConnectionsViewEpic_1.fetchBankConnectionsViewEpic, fetchBankCountryNameByIbanEpic_1.fetchBankCountryNameByIbanEpic, fetchBankNameByRoutingEpic_1.fetchBankNameByRoutingEpic, fetchBankNameBySwiftEpic_1.fetchBankNameBySwiftEpic, fetchBillAndInitializeLocalStoreEpic_1.fetchBillAndInitializeLocalStoreEpic, fetchBillDetailEpic_1.fetchBillDetailEpic, fetchBillingAccountsViewEpic_1.fetchBillingAccountsListEpic, fetchBillListEpic_1.fetchBillListEpic, fetchBillListPerTabEpic_1.fetchBillListPerTabEpic, fetchBillPayApproversDetailsEpic_1.fetchBillPayApproversDetailsEpic, fetchBillPayApproversListEpic_1.fetchBillPayApproversListEpic, fetchBillPayCardEpic_1.fetchBillPayCardEpic, fetchBillPayConfigEpic_1.fetchBillPayConfigEpic, fetchBillPaySetupApproverViewEpic_1.fetchBillPaySetupApproverViewEpic, fetchBillPaySetupViewEpic_1.fetchBillPaySetupViewEpic, cardBalanceEpic_1.fetchCardBalanceEpic, archiveCardPolicyEpic_1.archiveCardPolicyEpic, createCardPolicyTemplateEpic_1.createCardPolicyTemplatesEpic, extractPolicyDocumentEpic_1.extractPolicyDocumentEpic, policyRecommendationFromUploadEpic_1.policyRecommendationFromUploadEpic, policyDocumentExtractionToRecommendationBridgeEpic_1.policyDocumentExtractionToRecommendationBridgeEpic, fetchCardPolicyDetailEpic_1.fetchCardPolicyDetailEpic, fetchCardPolicyListEpic_1.fetchCardPolicyListEpic, fetchCardPolicyMccCategoriesEpic_1.fetchCardPolicyMccCategoriesEpic, fetchCardPolicyVendorOptionsEpic_1.fetchCardPolicyVendorOptionsEpic, fetchCardProfilesEpic_1.fetchCardProfilesEpic, updateCardPolicyEpic_1.updateCardPolicyEpic, fetchCashbackDetailEpic_1.fetchCashbackDetailEpic, cashBalanceEpic_1.fetchCashBalanceEpic, cashFlowEpic_1.fetchCashFlowEpic, cashFlowForTimeframeEpic_1.fetchCashFlowForTimeframeEpic, cashInCashOutEpic_1.fetchCashInCashOutEpic, fetchCashManagementSettingsEpic_1.fetchCashManagementSettingsEpic, saveAutoSweepSettingsEpic_1.saveAutoSweepSettingsEpic, fetchCashManagementBannerEpic_1.fetchCashManagementBannerEpic, fetchCashManagementOverviewPageEpic_1.fetchCashManagementOverviewPageEpic, fetchCashManagementRecommendationEpic_1.fetchCashManagementRecommendationEpic, fetchRecentTransferEpic_1.fetchRecentTransferEpic, cashPositionEpic_1.fetchCashPositionEpic, fetchChargeCardConfigEpic_1.fetchChargeCardConfigEpic, fetchChargeCardDetailEpic_1.fetchChargeCardDetailEpic, fetchChargeCardDetailPageEpic_1.fetchChargeCardDetailPageEpic, fetchChargeCardListEpic_1.fetchChargeCardListEpic, fetchChargeCardListPageEpic_1.fetchChargeCardListPageEpic, fetchChargeCardPaymentPageEpic_1.fetchChargeCardPaymentPageEpic, fetchChargeCardRepaymentDetailEpic_1.fetchChargeCardRepaymentDetailEpic, fetchChargeCardPaymentHistoryEpic_1.fetchChargeCardPaymentHistoryEpic, fetchChargeCardSetupViewEpic_1.fetchChargeCardSetupViewEpic, fetchChargeCardStatementListEpic_1.fetchChargeCardStatementListEpic, fetchChargeCardTransactionAttachmentsEpic_1.fetchChargeCardTransactionAttachmentsEpic, fetchChargeCardTransactionListEpic_1.fetchChargeCardTransactionListEpic, fetchChargeCardTransactionStatisticsEpic_1.fetchChargeCardTransactionStatisticsEpic, fetchChargeCardsRecurringExpensesEpic_1.fetchChargeCardsRecurringExpensesEpic, fetchChatHistoryEpic_1.fetchChatHistoryEpic, fetchChatSessionsForUserEpic_1.fetchChatSessionsForUserEpic, fetchClassListEpic_1.fetchClassListEpic, fetchCollaborationAuthTokenEpic_1.fetchCollaborationAuthTokenEpic, fetchCockpitContextEpic_1.fetchCockpitContextEpic, fetchCompanyBillingAddressEpic_1.fetchCompanyBillingAddressEpic, companyConfigEpic_1.fetchCompanyConfigEpic, fetchCompanyHealthMetricConfigEpic_1.fetchCompanyHealthMetricConfigEpic, fetchCompanyHealthMetricViewEpic_1.fetchCompanyHealthMetricViewEpic, fetchCompanyManagementViewEpic_1.fetchCompanyManagementViewEpic, fetchCompanyMetaDataEpic_1.fetchCompanyMetaDataEpic, fetchCompanyMonthEndReportHistoricDataEpic_1.fetchCompanyMonthEndReportHistoricDataEpic, fetchCompanyMonthEndReportHistoricDatesEpic_1.fetchCompanyMonthEndReportHistoricDatesEpic, fetchCompanyMonthEndReportTemplatesEpic_1.fetchCompanyMonthEndReportTemplatesEpic, fetchCompanyMonthEndReportViewEpic_1.fetchCompanyMonthEndReportViewEpic, fetchCompanyOnboardingViewEpic_1.fetchCompanyOnboardingViewEpic, fetchCompanyPassportViewEpic_1.fetchCompanyPassportViewEpic, fetchCompanyPortfolioViewEpic_1.fetchCompanyPortfolioViewEpic, fetchCompanyTaskManagerViewEpic_1.fetchCompanyTaskManagerViewEpic, fetchTaskManagerMetricsEpic_1.fetchTaskManagerMetricsEpic, updateCompanyTaskManagerViewFiltersEpic_1.updateCompanyTaskManagerViewFiltersEpic, fetchCreditAccountEpic_1.fetchCreditAccountEpic, fetchCreditAccountRepaymentEpic_1.fetchCreditAccountRepaymentEpic, fetchCreditAgentMacroEpic_1.fetchCreditAgentMacroEpic, fetchCurrencyConversionValueEpic_1.fetchCurrencyConversionValueEpic, dashboardEpic_1.fetchDashboardEpic, fetchDashboardLayoutEpic_1.fetchDashboardLayoutEpic, fetchDebitCardSummaryEpic_1.fetchDebitCardSummaryEpic, fetchDepositAccountDetailEpic_1.fetchDepositAccountDetailEpic, fetchDepositAccountEpic_1.fetchDepositAccountEpic, fetchDepositAccountHistoryEpic_1.fetchDepositAccountHistoryEpic, fetchDepositAccountLimitEpic_1.fetchDepositAccountLimitEpic, fetchDepositAccountListEpic_1.fetchDepositAccountListEpic, fetchDepositAccountListForCardsEpic_1.fetchDepositAccountListForCardsEpic, fetchDepositAccountTransactionListEpic_1.fetchDepositAccountTransactionListEpic, fetchDownloadSchedulesEpic_1.fetchDownloadSchedulesEpic, fetchDuplicateBillEpic_1.fetchDuplicateBillPayReviewEpic, fetchDuplicateReimbursementEpic_1.fetchDuplicateReimbursementEpic, fetchEditBillDetailPageEpic_1.fetchEditBillDetailPageEpic, fetchEditRemiDetailPageEpic_1.fetchEditRemiDetailPageEpic, fetchEligibleActionsForBillEpic_1.fetchEligibleActionsForBillEpic, fetchEntityAutoCompleteEpic_1.fetchEntityAutoCompleteEpic, fetchEntityHistoryEpic_1.fetchEntityHistoryEpic, fetchEntityRecommendationsByTransactionIdEpic_1.fetchEntityRecommendationsByTransactionIdEpic, fetchEntityRecommendationsForLineUpdateEpic_1.fetchEntityRecommendationsForLineUpdateEpic, fetchExcludedResourcesEpic_1.fetchExcludedResourcesEpic, fetchFluxAnalysisViewEpic_1.fetchFluxAnalysisViewEpic, initializeTransactionCategorizationLocalDataEpic_1.initializeTransactionCategorizationViewLocalDataEpic, fetchJeSchedulesEpic_1.fetchJeSchedulesEpic, fetchJeSchedulePageEpic_1.fetchJeSchedulesPageEpic, markTransactionAsNotMiscategorizedEpic_1.markTransactionAsNotMiscategorizedEpic, fetchMissingReceiptsEpic_1.fetchMissingReceiptsEpic, bulkUploadReceiptsEpic_1.bulkUploadReceiptsEpic, confirmBulkUploadMatchEpic_1.confirmBulkUploadMatchEpic, fetchBulkUploadBatchDetailsEpic_1.fetchBulkUploadBatchDetailsEpic, fetchMultipleBatchDetailsEpic_1.fetchMultipleBatchDetailsEpic, fetchMoreBatchDetailsEpic_1.fetchMoreBatchDetailsEpic, fetchBulkUploadBatchesEpic_1.fetchBulkUploadBatchesEpic, fetchCompletedTransactionsEpic_1.fetchCompletedTransactionsEpic, refetchCompletedTransactionsOnBulkUploadSortEpic_1.refetchCompletedTransactionsOnBulkUploadSortEpic, refreshBatchDetailsForBatchIdEpic_1.refreshBatchDetailsForBatchIdEpic, watchBulkUploadBatchStatusEpic_1.bulkUploadAutomatchingTimeoutEpic, bulkUploadMatchResultToastEpic_1.bulkUploadMatchResultToastEpic, syncTabsAfterAutomatchEpic_1.syncTabsAfterAutomatchEpic, watchBulkUploadBatchStatusEpic_1.pollBulkUploadBatchStatusEpic, watchBulkUploadBatchStatusEpic_1.pusherBatchStatusCompletionEpic, restoreBulkUploadAutomatchingOnMountEpic_1.restoreBulkUploadAutomatchingOnMountEpic, searchTransactionsForManualMatchEpic_1.searchTransactionsForManualMatchEpic, fetchReconciliationViewEpic_1.fetchReconciliationViewEpic, saveTransactionCategorizationEpic_1.saveTransactionCategorizationEpic, fetchTransactionCategorizationEpic_1.fetchTransactionCategorizationEpic, fetchTransactionCategorizationViewEpic_1.fetchTransactionCategorizationViewEpic, updateTransactionCategorizationEpic_1.updateTransactionCategorizationEpic, fetchExpenseTrendEpic_1.fetchExpenseTrendEpic, fetchExpressPayInitialDetailsEpic_1.fetchExpressPayInitialDetailsEpic, fetchExternalConnectionsEpic_1.fetchExternalConnectionsEpic, fetchFileEpic_1.fetchFileEpic, fetchFileListEpic_1.fetchFileListEpic, financeStatementEpic_1.fetchFinanceStatementEpic, fetchForecastListEpic_1.fetchForecastListEpic, reportsClassViewRefetchingEpic_1.initiateReportsClassViewRefetchingEpic, reportsResyncEpic_1.reportsResyncEpic, fetchGlobalMerchantAutoCompleteViewEpic_1.fetchGlobalMerchantAutoCompleteViewEpic, fetchGlobalMerchantRecommendationEpic_1.fetchGlobalMerchantRecommendationEpic, fetchIncomeTrendEpic_1.fetchIncomeTrendEpic, insightsCardEpic_1.fetchInsightsCardEpic, fetchInternationalWireDynamicFormEpic_1.fetchInternationalWireDynamicFormEpic, fetchIntlVerificationFormEpic_1.fetchIntlVerificationFormEpic, fetchIssueCardPageEpic_1.fetchIssueCardPageEpic, seedAiCardCreationFormDraftEpic_1.seedAiCardCreationFormDraftEpic, seedAiCardPolicyFormDraftEpic_1.seedAiCardPolicyFormDraftEpic, applyExtractedPolicyToDraftEpic_1.applyExtractedPolicyToDraftEpic, fetchMagicLinkBankNameByRoutingEpic_1.fetchMagicLinkBankNameByRoutingEpic, fetchMagicLinkBankNameBySwiftEpic_1.fetchMagicLinkBankNameBySwiftEpic, fetchMagicLinkBillEpic_1.fetchMagicLinkBillEpic, fetchMagicLinkTenantEpic_1.fetchMagicLinkTenantEpic, fetchManagementViewEpic_1.fetchManagementViewEpic, fetchMerchantListEpic_1.fetchMerchantListEpic, fetchMonthClosePerformanceTrendEpic_1.fetchMonthClosePerformanceTrendEpic, fetchMonthEndCloseChecksEpic_1.fetchMonthEndCloseChecksEpic, fetchMyProfileEpic_1.fetchMyProfileEpic, fetchMyProfileViewEpic_1.fetchMyProfileViewEpic, netBurnOrIncomeClassesViewEpic_1.fetchNetBurnOrIncomeClassesViewEpic, netBurnOrIncomeEpic_1.fetchNetBurnOrIncomeEpic, netBurnOrIncomeForTimeframeClassesViewEpic_1.fetchNetBurnOrIncomeForTimeframeClassesViewEpic, netBurnOrIncomeForTimeframeEpic_1.fetchNetBurnOrIncomeForTimeframeEpic, fetchNetBurnOrIncomeStoryCardEpic_1.fetchNetBurnOrIncomeStoryCardEpic, fetchNetBurnOrIncomeWithForecastEpic_1.fetchNetBurnOrIncomeWithForecastEpic, fetchNotificationSettingsEpic_1.fetchNotificationSettingsEpic, fetchNotificationSettingsViewEpic_1.fetchNotificationSettingsViewEpic, fetchNotificationUnreadCountEpic_1.fetchNotificationUnreadCountEpic, fetchNotificationViewEpic_1.fetchNotificationViewEpic, fetchRegisteredInterestsEpic_1.fetchRegisteredInterestsEpic, fetchOnboardingCompletedCompaniesEpic_1.fetchOnboardingCompletedCompaniesEpic, fetchOnboardingCustomerSetupViewEpic_1.fetchOnboardingCustomerSetupViewEpic, fetchOnboardingCustomerViewEpic_1.fetchOnboardingCustomerViewEpic, fetchOnboardingViewEpic_1.fetchOnboardingViewEpic, fetchOpExByVendorReportEpic_1.fetchOpExByVendorEpic, fetchOpExByVendorReportForTimeframeEpic_1.fetchOpExByVendorReportForTimeframeEpic, fetchOpExByVendorReportSummaryEpic_1.fetchOpExByVendorReportSummaryEpic, refreshOpExByVendorReportEpic_1.refreshOpExByVendorReportEpic, opExClassesViewEpic_1.fetchOpExClassesViewEpic, opExEpic_1.fetchOpExEpic, opExForTimeframeClassesViewEpic_1.fetchOpExForTimeframeClassesViewEpic, opExForTimeFrameEpic_1.fetchOpExReportForTimeframeEpic, fetchOpExWithForecastEpic_1.fetchOpExWithForecastEpic, fetchOwnerListEpic_1.fetchOwnerListEpic, fetchParentSubsidiaryManagementViewEpic_1.fetchParentSubsidiaryManagementViewEpic, fetchPaymentAccountBalanceEpic_1.fetchPaymentAccountBalanceEpic, fetchPaymentAccountListEpic_1.fetchPaymentAccountListEpic, fetchPaymentSourcesEpic_1.fetchPaymentSourcesEpic, fetchPeopleEpic_1.fetchPeopleEpic, peoplePageEpic_1.fetchPeoplePageEpic, fetchPortfolioViewEpic_1.fetchPortfolioViewEpic, fetchPreviousBillsEpic_1.fetchPreviousBillsEpic, profitAndLossClassesViewEpic_1.fetchProfitAndLossClassesViewEpic, profitAndLossEpic_1.fetchProfitAndLossEpic, profitAndLossForTimeframeClassesViewEpic_1.fetchProfitAndLossForTimeframeClassesViewEpic, profitAndLossForTimeframeProjectViewEpic_1.fetchProfitAndLossForTimeframeProjectViewEpic, profitAndLossForTimeframeEpic_1.fetchProfitAndLossForTimeframeEpic, profitAndLossProjectViewEpic_1.fetchProfitAndLossProjectViewEpic, fetchProjectListEpic_1.fetchProjectListEpic, fetchQBOConnectionPoolEpic_1.fetchQBOConnectionPoolEpic, fetchRecommendationByEntityIdEpic_1.fetchRecommendationByEntityIdEpic, fetchRecommendationByEntityNameEpic_1.fetchRecommendationByEntityNameEpic, fetchRecommendationForAccountSettingsEpic_1.fetchRecommendationForAccountSettingsEpic, fetchRecommendationForAccountTypeEpic_1.fetchRecommendationForAccountTypeEpic, fetchRecommendationsAndUpdateMerchantRecommendationsEpic_1.fetchRecommendationsAndUpdateMerchantRecommendationsEpic, fetchRecommendedTransactionRowIndexEpic_1.fetchRecommendedTransactionRowIndexEpic, fetchReferralsEpic_1.fetchReferralsEpic, fetchReimbursementCardEpic_1.fetchReimbursementCardEpic, fetchReimbursementConfigEpic_1.fetchReimbursementConfigEpic, fetchRemiAndInitializeLocalStoreEpic_1.fetchRemiAndInitializeLocalStoreEpic, fetchRemiApproversDetailsEpic_1.fetchRemiApproversDetailsEpic, fetchRemiApproversListEpic_1.fetchRemiApproversListEpic, fetchRemiDetailEpic_1.fetchRemiDetailEpic, fetchRemiListEpic_1.fetchRemiListEpic, fetchRemiListPerTabEpic_1.fetchRemiListPerTabEpic, fetchRemiSetupApproverViewEpic_1.fetchRemiSetupApproverViewEpic, fetchRemiSetupViewEpic_1.fetchRemiSetupViewEpic, revenueClassesViewEpic_1.fetchRevenueClassesViewEpic, revenueEpic_1.fetchRevenueEpic, revenueForTimeframeClassesViewEpic_1.fetchRevenueForTimeframeClassesViewEpic, revenueForTimeframeEpic_1.fetchRevenueForTimeframeEpic, fetchRevenueWithForecastEpic_1.fetchRevenueWithForecastEpic, fetchReviewCompanyViewEpic_1.fetchReviewCompanyViewEpic, fetchReviewTransferDetailEpic_1.fetchReviewTransferDetailEpic, fetchRewardsPlanEpic_1.fetchRewardsPlanEpic, fetchScheduleAccruedDetailsEpic_1.fetchScheduleAccruedDetailsEpic, fetchScheduleAccruedDetailsPageEpic_1.fetchScheduleAccruedDetailsPageEpic, fetchScheduleDetailsEpic_1.fetchScheduleDetailsEpic, fetchScheduleDetailsPageEpic_1.fetchScheduleDetailsPageEpic, fetchScheduleListEpic_1.fetchScheduleListEpic, fetchSchedulesAccountEpic_1.fetchSchedulesAccountEpic, fetchSubscriptionAddOnsEpic_1.fetchSubscriptionAddOnsEpic, fetchSubscriptionCouponsEpic_1.fetchSubscriptionCouponsEpic, fetchSubscriptionCreateEstimateEpic_1.fetchSubscriptionCreateEstimateEpic, fetchSubscriptionDetailsEpic_1.fetchSubscriptionDetailsEpic, fetchSubscriptionListEpic_1.fetchSubscriptionListEpic, fetchSubscriptionPlansEpic_1.fetchSubscriptionPlansEpic, fetchSubscriptionSummaryForTenantEpic_1.fetchSubscriptionSummaryForTenantEpic, fetchSubscriptionUpdateEstimateEpic_1.fetchSubscriptionUpdateEstimateEpic, fetchSubscriptionViewEpic_1.fetchSubscriptionViewEpic, fetchSuggestedQuestionsEpic_1.fetchSuggestedQuestionsEpic, fetchSkillsEpic_1.fetchSkillsEpic, fetchTaskDetailEpic_1.fetchTaskDetailEpic, fetchTaskDetailPageEpic_1.fetchTaskDetailPageEpic, fetchTaskGroupTemplatesEpic_1.fetchTaskGroupTemplatesEpic, fetchTaskHistoryEpic_1.fetchTaskHistoryEpic, fetchTaskListEpic_1.fetchTaskListEpic, fetchTaskListPageEpic_1.fetchTaskListPageEpic, fetchTasksCardEpic_1.fetchTasksCardEpic, topExEpic_1.fetchTopExEpic, fetchTransactionActivityLogEpic_1.fetchTransactionActivityLogEpic, transactionDetailEpic_1.fetchTransactionDetailEpic, fetchTransactionListByAccountEpic_1.fetchTransactionListByAccountEpic, fetchTransactionListByClassEpic_1.fetchTransactionListByClassEpic, fetchTransactionListByProjectEpic_1.fetchTransactionListByProjectEpic, fetchTransactionListByEntityEpic_1.fetchTransactionListByEntityEpic, fetchTransactionsForEntityEpic_1.fetchTransactionsForEntityEpic, fetchTransactionsListByCategoryTypeEpic_1.fetchTransactionsListByCategoryTypeEpic, fetchTransferAccountsEpic_1.fetchTransferAccountsEpic, fetchTreasuryDetailEpic_1.fetchTreasuryDetailEpic, fetchTreasuryFundsEpic_1.fetchTreasuryFundsEpic, fetchTreasuryHistoryEpic_1.fetchTreasuryHistoryEpic, fetchTreasurySetupViewEpic_1.fetchTreasurySetupViewEpic, fetchTreasuryStatementListEpic_1.fetchTreasuryStatementListEpic, fetchTreasuryTaxLetterListEpic_1.fetchTreasuryTaxLetterListEpic, fetchTreasuryTransactionListEpic_1.fetchTreasuryTransactionListEpic, updatePortfolioAllocationEpic_1.updatePortfolioAllocationEpic, fetchPortfolioAllocationEpic_1.fetchPortfolioAllocationEpic, fetchTrendForEntityEpic_1.fetchTrendForEntityEpic, fetchUserDetailEpic_1.fetchUserDetailEpic, fetchUserFinancialAccountEpic_1.fetchUserFinancialAccountEpic, fetchUserListByTypeEpic_1.fetchUserListByTypeEpic, userRoleConfigEpic_1.fetchUserRoleConfigEpic, vendor1099TypeListEpic_1.fetchVendor1099TypeListEpic, fetchVendorAndUpdateBillLocalDataEpic_1.fetchVendorAndUpdateBillLocalDataEpic, fetchVendorByNameAndParseInvoice_1.fetchVendorByNameAndParseInvoiceEpic, fetchVendorDetailsEpic_1.fetchVendorDetailsEpic, fetchVendorEpic_1.fetchVendorEpic, fetchVendorFirstReviewAttachmentsEpic_1.fetchVendorFirstReviewAttachmentsEpic, fetchVendorFirstReviewViewEpic_1.fetchVendorFirstReviewViewEpic, fetchVendorGlobalReviewViewEpic_1.fetchVendorGlobalReviewViewEpic, fetchVendorsFiling1099AllEpic_1.fetchVendorsFiling1099AllEpic, fetchVendorsFiling1099DownloadEpic_1.fetchVendorsFiling1099DownloadEpic, fetchVendorsFiling1099ListEpic_1.fetchVendorsFiling1099ListEpic, fetchVendorsListEpic_1.fetchVendorsListEpic, fetchVendorsTabVendorDetailPageViewEpic_1.fetchVendorsTabVendorDetailPageViewEpic, fetchVendorsTabVendorDetailsEpic_1.fetchVendorsTabVendorDetailsEpic, fetchVendorsTabVendorEpic_1.fetchVendorsTabVendorEpic, fetchVendorTabViewEpic_1.fetchVendorTabViewEpic, vendorTypeListEpic_1.fetchVendorTypeListEpic, fetchZeniAccountListPageEpic_1.fetchZeniAccountListEpic, fetchZeniAccountsConfigEpic_1.fetchZeniAccountsConfigEpic, fetchZeniAccountSetupViewEpic_1.fetchZeniAccountSetupViewEpic, zeniAccountsPromoCardEpic_1.fetchZeniAccountsPromoCardEpic, fetchZeniAccStatementListEpic_1.fetchZeniAccStatementListEpic, fetchZeniAccStatementPageEpic_1.fetchZeniAccStatementPageEpic, fetchZeniUsersEpic_1.fetchZeniUsersEpic, getOnboardingEmailGroupEpic_1.getOnboardingEmailGroupEpic, getOnboardingPlaidLinkTokenEpic_1.getOnboardingPlaidLinkTokenEpic, getPaymentAccountsEpic_1.getPaymentAccountsEpic, getPlaidLinkTokenEpic_1.getPlaidLinkTokenEpic, ignoreRecommendedJeScheduleEpic_1.ignoreRecommendedJeScheduleEpic, improveUsingZeniGPTEpic_1.improveUsingZeniGPTEpic, initialiseLocalDataForSelectedAccountIdEpic_1.initialiseDataForSelectedAccountIdEpic, initializeAccountMappingViewEpic_1.initializeAccountMappingViewEpic, initializeAccountSettingsViewEpic_1.initializeAccountSettingsViewEpic, initializeBillPaySetupApproverViewUpdateDataEpic_1.initializeBillPaySetupApproverViewUpdateDataEpic, initializeBillToLocalStoreEpic_1.initializeBillToLocalStoreEpic, initializeCardUserOnboardingLocalDataEpic_1.initializeCardUserOnboardingLocalDataEpic, initializeCompanyHealthMetricViewLocalData_1.initializeCompanyHealthMetricViewLocalDataEpic, initializeDynamicFormEpic_1.initializeDynamicFormEpic, initializeEditPersonEpic_1.initializeEditPersonEpic, initializeJeScheduleLocalDataEpic_1.initializeJeScheduleLocalDataEpic, initializeInternationalWireLocalDataEpic_1.initializeInternationalWireLocalDataEpic, initializeIntlVerificationFormEpic_1.initializeIntlVerificationFormEpic, initializeMyProfileLocalDataEpic_1.initializeMyProfileLocalDataEpic, initializeOnboardingCustomerViewUpdateDataEpic_1.initializeOnboardingCustomerViewUpdateDataEpic, initializeRemiSetupApproverViewUpdateDataEpic_1.initializeRemiSetupApproverViewUpdateDataEpic, initializeRemiToLocalStoreEpic_1.initializeRemiToLocalStoreEpic, initializeScheduleAccruedDetailLocalDataEpic_1.initializeScheduleAccruedDetailLocalDataEpic, initializeScheduleDetailLocalDataEpic_1.initializeScheduleDetailLocalDataEpic, initializeSubscriptionLocalDataEpic_1.initializeSubscriptionLocalDataEpic, initializeTaskToLocalStoreEpic_1.initializeTaskToLocalStoreEpic, initializeTransactionDetailLocalDataEpic_1.initializeTransactionDetailLocalDataEpic, initializeVendorAddressEpic_1.initializeVendorAddressEpic, initiateChargeCardRepaymentEpic_1.initiateChargeCardRepaymentEpic, invitePeopleEpic_1.invitePeopleEpic, inviteZeniPeopleEpic_1.inviteZeniPeopleEpic, issueChargeCardEpic_1.issueChargeCardEpic, lockChargeCardEpic_1.lockChargeCardEpic, lockChargeCardsEpic_1.lockChargeCardsEpic, markAsCompleteScheduleDetailEpic_1.markAsCompleteScheduleDetailEpic, markTransactionAsNotMiscategorizedEpic_2.markTransactionAsNotMiscategorizedEpic, notifyMeForFeatureEpic_1.notifyMeForFeatureEpic, parallelFetchAccountTransactionListEpic_1.parallelFetchAccountTransactionListEpic, parallelFetchClassTransactionListEpic_1.parallelFetchClassTransactionListEpic, parallelFetchProjectTransactionListEpic_1.parallelFetchProjectTransactionListEpic, parallelFetchEntityTransactionListEpic_1.parallelFetchEntityTransactionListEpic, parallelFetchTransactionListByCategoryTypeEpic_1.parallelFetchTransactionListByCategoryTypeEpic, parseInvoiceToBillEpic_1.parseInvoiceToBillEpic, parseReceiptsToRemiEpic_1.parseReceiptsToRemiEpic, peopleSaveUpdatesEpic_1.peopleSaveUpdatesEpic, pushToastNotificationEpic_1.pushToastNotificationEpic, refreshExpenseAutomationCurrentTabEpic_1.refreshExpenseAutomationCurrentTabEpic, refreshIntegrationsDataEpic_1.refreshIntegrationsDataEpic, rejectVendorGlobalReviewEpic_1.rejectVendorGlobalReviewEpic, resendCardInviteEpic_1.resendCardInviteEpic, resendInviteEpic_1.resendInviteEpic, resendOtpEpic_1.resendOtpEpic, resendVerifyDeviceOTPEpic_1.resendVerifyDeviceOTPEpic, resendReferralInviteEpic_1.resendReferralInviteEpic, resetTransactionVendorLocalDataEpic_1.resetTransactionVendorLocalDataEpic, resetVendorDetailLocalDataEpic_1.resetVendorDetailLocalDataEpic, resetVendorsTabVendorDetailLocalDataEpic_1.resetVendorsTabVendorDetailLocalDataEpic, retryBankAccountConnectionEpic_1.retryBankAccountConnectionEpic, retryBankAccountConnectionForOnboardingEpic_1.retryBankAccountConnectionForOnboardingEpic, retryJeSchedulesEpic_1.retryJeScheduleEpic, retryOrRefundBillEpic_1.retryOrRefundBillEpic, validateBillsBulkActionEpic_ts_1.validateBillsBulkActionEpic, reviewDraftRemisBulkActionEpic_ts_1.reviewDraftRemisBulkActionEpic, reviewFluxAnalysisEpic_1.reviewFluxAnalysisViewEpic, revokeCardInviteEpic_1.revokeCardInviteEpic, revokeChargeCardsInviteEpic_1.revokeChargeCardsInviteEpic, saveAccountMappingViewEpic_1.saveAccountMappingViewEpic, saveAccountSettingsViewEpic_1.saveAccountSettingsViewEpic, saveAPIKeyConnectionEpic_1.saveAPIKeyConnectionEpic, saveBillDetailEpic_1.saveBillDetailEpic, saveBillPaySetupApproverViewUpdatesEpic_1.saveBillPaySetupApproverViewUpdatesEpic, saveCardOnboardingUserDetailsEpic_1.saveCardOnboardingUserDetailsEpic, saveCompanyBillingAddressEpic_1.saveCompanyBillingAddressEpic, saveCompanyHealthMetricByIdEpic_1.saveCompanyHealthMetricByIdEpic, saveCompanyMonthEndReportEpic_1.saveCompanyMonthEndReportEpic, saveCompanyPassportDetailsEpic_1.saveCompanyPassportDetailsEpic, initEmailConnectOAuthEpic_1.initEmailConnectOAuthEpic, saveConnectorCredentialsEpic_1.saveConnectorCredentialsEpic, saveCreditAgentMacroEpic_1.saveCreditAgentMacroEpic, saveReconciliationDetailEpic_1.saveReconciliationDetailsEpic, saveReconciliationReviewEpic_1.saveReconciliationReviewEpic, saveExternalConnectionEpic_1.saveExternalConnectionEpic, saveMagicLinkBankAccountEpic_1.saveMagicLinkBankAccountEpic, saveNewAddressEpic_1.saveNewAddressEpic, saveNotificationSettingsEpic_1.saveNotificationSettingsEpic, saveOAuthConnectionEpic_1.saveOAuthConnectionEpic, saveOnboardingCustomerCompletedStatusEpic_1.saveOnboardingCustomerCompletedStatusEpic, saveOnboardingCustomerNotesEpic_1.saveOnboardingCustomerNotesEpic, saveOnboardingCustomerViewUpdatesEpic_1.saveOnboardingCustomerViewUpdatesEpic, saveRealTimeApprovalEpic_1.saveRealTimeApprovalEpic, saveReasonForAuditRuleEpic_1.saveReasonForAuditRuleEpic, saveRemiDetailEpic_1.saveRemiDetailEpic, saveRemiSetupApproverViewUpdatesEpic_1.saveRemiSetupApproverViewUpdatesEpic, saveScheduleAccruedDetailsEpic_1.saveScheduleAccruedDetailsEpic, saveScheduleDetailsEpic_1.saveScheduleDetailsEpic, saveSubscriptionNotesUpdatesEpic_1.saveSubscriptionNotesUpdatesEpic, saveSubscriptionUpdatesEpic_1.saveSubscriptionUpdatesEpic, saveTaskDetailEpic_1.saveTaskDetailEpic, saveTransactionDetailEpic_1.saveTransactionDetailEpic, saveTransactionVendorEpic_1.saveTransactionVendorEpic, saveVendorDetailsViewEpic_1.saveVendorDetailsViewEpic, saveVendorEpic_1.saveVendorEpic, saveVendorFirstReviewViewEpic_1.saveVendorFirstReviewViewEpic, saveVendorsTabVendorEpic_1.saveVendorsTabVendorEpic, scheduleTenantCreditScoreCronEpic_1.scheduleTenantCreditScoreCronEpic, sendCompanyMonthEndReportEpic_1.sendCompanyMonthEndReportEpic, sendOnboardingCustomerViewInviteEpic_1.sendOnboardingCustomerViewInviteEpic, sendOtpEpic_1.sendOtpEpic, sendReferralInviteEpic_1.sendReferralInviteEpic, statementCloseDayEpic_1.statementCloseDayEpic, stopSubmitEpic_1.stopSubmitEpic, stopSubmitQuestionEpic_1.stopSubmitQuestionEpic, submitDraftBillsBulkActionEpic_1.submitDraftBillsBulkActionEpic, submitDraftRemisBulkActionEpic_1.submitDraftRemisBulkActionEpic, submitExpressPayEpic_1.submitExpressPayEpic, submitFeedbackEpic_1.submitFeedbackEpic, submitIntlVerificationEpic_1.submitIntlVerificationEpic, submitQuestionEpic_1.submitQuestionEpic, toggleReportUIOptionForecastModeEpic_1.toggleReportUIOptionForecastModeEpic, transferMoneyEpic_1.transferMoneyEpic, treasuryTransferMoneyEpic_1.treasuryTransferMoneyEpic, triggerAiAccountantJobEpic_1.triggerAiAccountantJobEpic, triggerReviewTabRefetchEpic_1.triggerReviewTabRefetchEpic, unlinkPaymentAccountEpic_1.unlinkPaymentAccountEpic, unlockChargeCardEpic_1.unlockChargeCardEpic, unlockChargeCardsEpic_1.unlockChargeCardsEpic, updateAccruedJESchedulesEpic_1.updateAccruedJESchedulesEpic, updateAddressEpic_1.updateAddressEpic, updateAmountsInScheduleAccruedDetailEpic_1.updateAmountsInScheduleAccruedDetailEpic, updateAmountsInScheduleDetailEpic_1.updateAmountsInScheduleDetailEpic, updateAutoTransferRuleEpic_1.updateAutoTransferRuleEpic, updateBusinessVerificationDetailsEpic_1.updateBusinessVerificationDetailsEpic, updateCardProfileEpic_1.updateCardProfileEpic, updateChargeCardDetailEpic_1.updateChargeCardDetailEpic, updateChargeCardLimitEpic_1.updateChargeCardLimitEpic, updateChargeCardNameEpic_1.updateChargeCardNameEpic, updateChargeCardsLimitEpic_1.updateChargeCardsLimitEpic, updateAccountingClassesEnabledEpic_1.updateAccountingClassesEnabledEpic, dismissCapitalizationOnboardingEpic_1.dismissCapitalizationOnboardingEpic, updateCapitalizationAccountThresholdEpic_1.updateCapitalizationAccountThresholdEpic, updateCompanyDetailsEpic_1.updateCompanyDetailsEpic, updateCompanyOfficerEpic_1.updateCompanyOfficerEpic, updateCompanyPassportLocalStoreDataEpic_1.updateCompanyPassportLocalStoreDataEpic, updateDashboardLayoutEpic_1.updateDashboardLayoutEpic, updateDebitCardPinAttemptEpic_1.updateDebitCardPinAttemptEpic, updateDepositAccountEpic_1.updateDepositAccountEpic, updateReconcileTabLocalDataEpic_1.updateReconcileTabLocalDataEpic, updateFileNameEpic_1.updateFileNameEpic, updateFilesMetadataEpic_1.updateFilesMetadataEpic, updateJESchedulesEpic_1.updateJESchedulesEpic, updateMappedCashAccountEpic_1.updateMappedCashAccountEpic, updateMileageDetailsEpic_1.updateMileageDetailsEpic, updateMyProfileEpic_1.updateMyProfileEpic, updateNetBurnOrIncomeStoryCardSettingsEpic_1.updateNetBurnOrIncomeStoryCardSettingsEpic, updateNotificationViewAllNotificationsStatusEpic_1.updateNotificationViewAllNotificationsStatusEpic, updateNotificationViewNotificationStatusEpic_1.updateNotificationViewNotificationStatusEpic, updateOnboardingCustomerViewCompleteStatusEpic_1.updateOnboardingCustomerViewCompleteStatusEpic, acknowledgeOnboardingAiActivationViewedEpic_1.acknowledgeOnboardingAiActivationViewedEpic, acknowledgeOnboardingAiFinanceTeamEpic_1.acknowledgeOnboardingAiFinanceTeamEpic, fetchAiAgentsActivationStatusEpic_1.fetchAiAgentsActivationStatusEpic, updateOnboardingCustomerViewDashboardLoadedEpic_1.updateOnboardingCustomerViewDashboardLoadedEpic, updateOnboardingCustomerViewEpic_1.updateOnboardingCustomerViewEpic, updateOnboardingCustomerViewLocalStoreDataEpic_1.updateOnboardingCustomerViewLocalStoreDataEpic, updateOnboardingPaymentAccountLoginStatusEpic_1.updateOnboardingPaymentAccountLoginStatusEpic, updateOnboardingPaymentAccountStatusEpic_1.updateOnboardingPaymentAccountStatusEpic, updatePaymentAccountEpic_1.updatePaymentAccountEpic, updatePaymentAccountLoginStatusEpic_1.updatePaymentAccountLoginStatusEpic, updatePaymentAccountStatusEpic_1.updatePaymentAccountStatusEpic, updatePhysicalChargeCardAttemptEpic_1.updatePhysicalChargeCardAttemptEpic, updatePrimaryContactEpic_1.updatePrimaryContactEpic, updatePrimaryFundingAccountEpic_1.updatePrimaryFundingAccountEpic, updateQBOConnectionPoolExternalConnectionEpic_1.updateQBOConnectionPoolExternalConnectionEpic, updateReferViewedEpic_1.updateReferViewedEpic, updateRemiSetupViewLocalStoreDataEpic_1.updateRemiSetupViewLocalStoreDataEpic, updateReportUIOptionCOABalancesRangeEpic_1.updateReportUIOptionCOABalancesRangeEpic, updateReportUIOptionCompareModeEpic_1.updateReportUIOptionIsCompareModeEpic, updateReportUIOptionIsCompareModeOnEpic_1.updateReportUIOptionIsCompareModeOnEpic, updateReportUIOptionThisPeriodEpic_1.updateReportUIOptionThisPeriodEpic, updateReportUIOptionTimeFrameEpic_1.updateReportUIOptionTimeFrameEpic, sectionAccountsViewEpic_1.updateSectionAccountsViewEpic, sectionClassesViewEpic_1.updateSectionClassesViewEpic, sectionProjectViewEpic_1.updateSectionProjectViewEpic, updateSelectedVendorForCreateFlowEpic_1.updateSelectedVendorForCreateFlowEpic, updateSetupViewLocalStoreDataEpic_1.updateSetupViewLocalStoreDataEpic, parseUploadedKycDocumentEpic_1.parseUploadedKycDocumentEpic, parseUploadedKybDocumentEpic_1.parseUploadedKybDocumentEpic, updateTaskFromListViewEpic_1.updateTaskFromListViewEpic, updateTaskGroupNameEpic_1.updateTaskGroupNameEpic, fetchCannedResponsesEpic_1.fetchCannedResponsesEpic, saveCannedResponseEpic_1.saveCannedResponseEpic, deleteCannedResponseEpic_1.deleteCannedResponseEpic, updateTransactionDetailEpic_1.updateTransactionDetailEpic, updateTreasuryPromoIntroClosedByOutsideClickEpic_1.updateTreasuryPromoIntroClosedByOutsideClickEpic, updateTreasuryPromoRemindMeLaterClickedEpic_1.updateTreasuryPromoRemindMeLaterClickedEpic, updateTreasuryVideoViewedEpic_1.updateTreasuryVideoViewedEpic, updateVendorContactEpic_1.updateVendorContactEpic, uploadAccountStatementEpic_1.uploadAccountStatementEpic, parseStatementEpic_1.parseStatementEpic, reparseStatementEpic_1.reparseStatementEpic, updateStatementInfoEpic_1.updateStatementInfoEpic, uploadMissingAttachmentSuccessEpic_1.uploadMissingAttachmentSuccessEpic, uploadMissingReceiptSuccessEpic_1.uploadMissingReceiptSuccessEpic, uploadTransactionReceiptSuccessEpic_1.uploadTransactionReceiptSuccessEpic, vendorFiling1099UploadDetailsSaveEpic_1.vendorFiling1099UploadDetailsSaveEpic, verifyOtpEpic_1.verifyOtpEpic, verifyUserEpic_1.verifyUserEpic, fetchBillAndInitializeLocalStoreEpic_1.waitForBillDetailThenInitializeLocalStoreEpic, fetchNetBurnOrIncomeWithForecastEpic_1.waitForForecastListThenFetchNetBurnOrIncomeWithForecastEpic, fetchOpExWithForecastEpic_1.waitForForecastListThenFetchOpExWithForecastEpic, fetchRevenueWithForecastEpic_1.waitForForecastListThenFetchRevenueWithForecastEpic, fetchRecommendationsAndUpdateMerchantRecommendationsEpic_1.waitForMerchantRecommendationFetchThenUpdateRecommendationInMerchantEpic, fetchVendorAndUpdateBillLocalDataEpic_1.waitForVendorByIdThenSaveBillUpdatetoLocalStoreEpic, fetchVendorByNameAndParseInvoice_1.waitForVendorByNameThenParsetoLocalStoreEpic, fetchBillDetailEpic_1.waitForVendorByNameThenUpdateBillDetailEpic, fetchAndUpdateVendorRecommendationsEpic_1.waitForVendorRecommendationFetchThenUpdateRecommendationInBillEpic, wiseRedirectEpic_1.wiseRedirectEpic);
|
|
682
|
+
const combinedEpics = (0, redux_observable_1.combineEpics)(fetchInvoiceListEpic_1.fetchInvoiceListEpic, fetchInvoiceListPageEpic_1.fetchInvoiceListPageEpic, fetchInvoiceCountsEpic_1.fetchInvoiceCountsEpic, fetchInvoiceKPIsEpic_1.fetchInvoiceKPIsEpic, fetchInvoiceDetailEpic_1.fetchInvoiceDetailEpic, createInvoiceEpic_1.createInvoiceEpic, recordPaymentEpic_1.recordPaymentEpic, fetchInvoicingOverviewEpic_1.fetchInvoicingOverviewEpic, fetchInvoicingOverviewKPIsEpic_1.fetchInvoicingOverviewKPIsEpic, fetchInvoicingOverviewRevenueEpic_1.fetchInvoicingOverviewRevenueEpic, fetchInvoicingOverviewMRREpic_1.fetchInvoicingOverviewMRREpic, fetchInvoicingOverviewChurnEpic_1.fetchInvoicingOverviewChurnEpic, fetchInvoicingOverviewPlanRevenueEpic_1.fetchInvoicingOverviewPlanRevenueEpic, fetchInvoicingOverviewDashboardSummaryEpic_1.fetchInvoicingOverviewDashboardSummaryEpic, auditViewEpics_1.fetchInvoicingAuditLogEpic, saveInvoicingCatalogItemEpic_1.saveInvoicingCatalogItemEpic, saveInvoicingCouponEpic_1.saveInvoicingCouponEpic, saveInvoicingCustomerEpic_1.saveInvoicingCustomerEpic, initializeInvoicingCustomerAddressEpic_1.initializeInvoicingCustomerAddressEpic, saveInvoicingSubscriptionEpic_1.saveInvoicingSubscriptionEpic, fetchInvoicingSubscriptionFormPageEpic_1.fetchInvoicingSubscriptionFormPageEpic, dataImportActionEpic_1.invoicingDataImportActionEpic, dataImportViewEpics_1.fetchInvoicingMigrationSessionsEpic, dataImportViewEpics_1.fetchInvoicingMigrationSessionEpic, dataImportViewEpics_1.fetchInvoicingDataImportStatusEpic, invoiceActionEpic_1.runInvoicingInvoiceActionEpic, invoiceActionEpic_1.updateInvoicingInvoiceEpic, subscriptionActionEpic_1.runInvoicingSubscriptionActionEpic, dunningActionEpic_1.runInvoicingDunningActionEpic, paymentActionEpic_1.runInvoicingPaymentActionEpic, fetchInvoicingCustomerListEpic_1.fetchInvoicingCustomerListEpic, fetchInvoicingCustomerListPageEpic_1.fetchInvoicingCustomerListPageEpic, fetchInvoicingCustomerCountsEpic_1.fetchInvoicingCustomerCountsEpic, fetchInvoicingCustomerDetailEpic_1.fetchInvoicingCustomerDetailEpic, fetchInvoicingCustomerDetailPageEpic_1.fetchInvoicingCustomerDetailPageEpic, customerPaymentMethodEpic_1.createInvoicingSetupIntentEpic, customerPaymentMethodEpic_1.fetchInvoicingPlaidLinkTokenEpic, customerPaymentMethodEpic_1.saveInvoicingPaymentMethodEpic, customerPaymentMethodEpic_1.sendInvoicingPaymentLinkEpic, fetchInvoicingSubscriptionListEpic_1.fetchInvoicingSubscriptionListEpic, fetchInvoicingSubscriptionListPageEpic_1.fetchInvoicingSubscriptionListPageEpic, fetchInvoicingSubscriptionCountsEpic_1.fetchInvoicingSubscriptionCountsEpic, invoicingSubscriptionDetailViewEpics_1.fetchInvoicingSubscriptionDetailEpic, fetchInvoicingTransactionListEpic_1.fetchInvoicingTransactionListEpic, fetchInvoicingTransactionListPageEpic_1.fetchInvoicingTransactionListPageEpic, invoicingTransactionDetailViewEpics_1.fetchInvoicingTransactionDetailEpic, fetchInvoicingCreditNoteListEpic_1.fetchInvoicingCreditNoteListEpic, fetchInvoicingCreditNoteListPageEpic_1.fetchInvoicingCreditNoteListPageEpic, fetchInvoicingCreditNoteCountsEpic_1.fetchInvoicingCreditNoteCountsEpic, invoicingCreditNoteDetailViewEpics_1.fetchInvoicingCreditNoteDetailEpic, couponViewEpics_1.fetchInvoicingCouponListEpic, couponViewEpics_1.fetchInvoicingCouponListPageEpic, couponViewEpics_1.fetchInvoicingCouponCountsEpic, fetchInvoicingCouponDetailEpic_1.fetchInvoicingCouponDetailEpic, fetchInvoicingDunningCaseListEpic_1.fetchInvoicingDunningCaseListEpic, fetchInvoicingDunningCaseListPageEpic_1.fetchInvoicingDunningCaseListPageEpic, fetchInvoicingDunningCaseCountsEpic_1.fetchInvoicingDunningCaseCountsEpic, invoicingDunningCaseDetailViewEpics_1.fetchInvoicingDunningCaseDetailEpic, fetchInvoicingCatalogPlanListEpic_1.fetchInvoicingCatalogPlanListEpic, fetchInvoicingCatalogProductListEpic_1.fetchInvoicingCatalogProductListEpic, fetchInvoicingCatalogListPageEpic_1.fetchInvoicingCatalogListPageEpic, fetchInvoicingCatalogCountsEpic_1.fetchInvoicingCatalogCountsEpic, invoicingCatalogItemDetailViewEpics_1.fetchInvoicingCatalogItemDetailEpic, settingsViewEpics_1.fetchInvoicingSettingsEpic, settingsViewEpics_1.saveInvoicingSettingsEpic, settingsViewEpics_1.connectInvoicingStripeEpic, settingsViewEpics_1.disconnectInvoicingStripeEpic, acceptBillPayTermsEpic_1.acceptBillPayTermsEpic, acceptBillPayUpdatedTermsEpic_1.acceptBillPayUpdatedTermsEpic, acceptChargeCardTermsEpic_1.acceptChargeCardTermsEpic, acceptEmployeeRemiTermsEpic_1.acceptEmployeeRemiTermsEpic, acceptMasterTOSEpic_1.acceptMasterTOSEpic, acceptRemiTermsEpic_1.acceptRemiTermsEpic, acceptTreasuryTermsEpic_1.acceptTreasuryTermsEpic, acceptZeniAccountTermsEpic_1.acceptZeniAccountTermsEpic, addCardPaymentSourceEpic_1.addCardPaymentSourceEpic, approveOAuthConsentEpic_1.approveOAuthConsentEpic, approveOrRejectBillEpic_1.approveOrRejectBillEpic, approveOrRejectBillsBulkActionEpic_1.approveOrRejectBillsBulkActionEpic, approveOrRejectRemiEpic_1.approveOrRejectRemiEpic, approveOrRejectRemisBulkActionEpic_1.approveOrRejectRemisBulkActionEpic, approveVendorGlobalReviewEpic_1.approveVendorGlobalReviewEpic, archiveTaskEpic_1.archiveTaskEpic, backgroundRefetchReviewTabEpic_1.backgroundRefetchReviewTabEpic, bulkUpdateTaskListEpic_1.bulkUpdateTaskListEpic, cancelAiAccountantOnboardingEpic_1.cancelAiAccountantOnboardingEpic, cancelAndDeleteBillEpic_1.cancelAndDeleteBillEpic, cancelAndDeleteRemiEpic_1.cancelAndDeleteRemiEpic, cancelOrDeleteBillsBulkActionEpic_1.cancelOrDeleteBillsBulkActionEpic, cancelOrDeleteRemisBulkActionEpic_1.cancelOrDeleteRemisBulkActionEpic, cancelScheduleAccruedJournalEntryEpic_1.cancelScheduleAccruedJournalEntryEpic, changeZeniPersonRolesEpic_1.changeZeniPersonRolesEpic, checkDepositEpic_1.checkDepositEpic, clearAllEpic_1.clearAllEpic, closeChargeCardEpic_1.closeChargeCardEpic, closeChargeCardsEpic_1.closeChargeCardsEpic, companyManagementSavePendingUpdates_1.companyManagementSavePendingUpdatesEpic, companyManagementSaveUpdatesEpic_1.companyManagementSaveUpdatesEpic, confirmCardSetupIntentEpic_1.confirmCardSetupIntentEpic, convertAmountToHomeCurrencyEpic_1.convertAmountToHomeCurrencyEpic, createAddressEpic_1.createAddressEpic, createAutoTransferRuleEpic_1.createAutoTransferRuleEpic, createBankAccountEpic_1.createBankAccountEpic, createCardSetupIntentEpic_1.createCardSetupIntentEpic, createCheckingAccountEpic_1.createCheckingAccountEpic, createCompanyAddressEpic_1.createCompanyAddressEpic, createCompanyOfficersEpic_1.createCompanyOfficersEpic, createCompanyUserAddressEpic_1.createCompanyUserAddressEpic, createGlobalMerchantEpic_1.createGlobalMerchantEpic, createInternationalBankAccountEpic_1.createInternationalBankAccountEpic, createNewSchedulesAccruedEpic_1.createNewSchedulesAccruedEpic, createNewSchedulesEpic_1.createNewSchedulesEpic, createNewTaskGroupEpic_1.createNewTaskGroupEpic, createInternationalPaymentInstrumentEpic_1.createPaymentInstrumentEpic, createSessionAndSubmitEpic_1.createSessionAndSubmitEpic, createSessionEpic_1.createSessionEpic, createTagEpic_1.createTagEpic, createTaskFromTaskGroupTemplateEpic_1.createTaskFromTaskGroupTemplateEpic, createTransferEntryEpic_1.createTransferEntryEpic, createUserBankAccountEpic_1.createUserBankAccountEpic, deleteAccountStatementEpic_1.deleteAccountStatementEpic, deleteAutoTransferRuleEpic_1.deleteAutoTransferRuleEpic, excludeAccountFromReconciliationEpic_1.excludeAccountFromReconciliationEpic, includeAccountInReconciliationEpic_1.includeAccountInReconciliationEpic, deleteBankAccountEpic_1.deleteBankAccountEpic, deleteBillEpic_1.deleteBillEpic, deleteChatSessionEpic_1.deleteChatSessionEpic, deleteConnectionEpic_1.deleteConnectionEpic, deleteBillPayApprovalRuleEpic_1.deleteBillPayApprovalRuleEpic, reorderBillPayApprovalRulesEpic_1.reorderBillPayApprovalRulesEpic, deleteFileEpic_1.deleteFileEpic, deleteFileListEpic_1.deleteFileListEpic, deleteInternationalBankAccountEpic_1.deleteInternationalBankAccountEpic, deletePaymentInstrumentEpic_1.deletePaymentInstrumentEpic, deletePersonEpic_1.deletePersonEpic, deleteRemiApprovalRuleEpic_1.deleteRemiApprovalRuleEpic, reorderRemiApprovalRulesEpic_1.reorderRemiApprovalRulesEpic, deleteRemiEpic_1.deleteRemiEpic, deleteScheduleAccruedDetailEpic_1.deleteScheduleAccruedDetailEpic, deleteScheduleDetailEpic_1.deleteScheduleDetailEpic, deleteTagEpic_1.deleteTagEpic, deleteTaskEpic_1.deleteTaskEpic, snoozeTaskEpic_1.snoozeTaskEpic, unsnoozeTaskEpic_1.unsnoozeTaskEpic, deleteTaskGroupEpic_1.deleteTaskGroupEpic, deleteTransactionAttachmentEpic_1.deleteTransactionAttachmentEpic, deleteUserBankAccountEpic_1.deleteUserBankAccountEpic, doMagicLinkSignInEpic_1.doMagicLinkSignInEpic, signInUserEpic_1.doSignInEpic, signOutUserEpic_1.doSignOutEpic, sendEmailMagicLinkToUserEpic_1.sendEmailMagicLinkToUserEpic, sessionHeartbeatEpic_1.sessionHeartbeatEpic, verifyDeviceWithTwoFAEpic_1.verifyDeviceWithTwoFAEpic, downloadAccountingProviderAttachmentEpic_1.downloadAccountingProviderAttachmentEpic, dragNDropTasksEpic_1.dragNDropTasksEpic, enableChargeCardAutoPayEpic_1.enableChargeCardAutoPayEpic, enableSetupEpic_1.enableSetupEpic, establishOnboardingPlaidConnectionEpic_1.establishOnboardingPlaidConnectionEpic, establishPlaidConnectionEpic_1.establishPlaidConnectionEpic, expressInterestChargeCardEpic_1.expressInterestChargeCardEpic, fetchAccountListEpic_1.fetchAccountListEpic, fetchAccountListForAccountTypesEpic_1.fetchAccountListForAccountTypesEpic, fetchAccountSettingsListForAccountTypesEpic_1.fetchAccountSettingsListForAccountTypesEpic, fetchAccruedScheduleListEpic_1.fetchAccruedScheduleListEpic, fetchActiveTenantEpic_1.fetchActiveTenantEpic, fetchAddressEpic_1.fetchAddressEpic, fetchAiAccountantCustomersEpic_1.fetchAiAccountantCustomersEpic, fetchAiAccountantJobsEpic_1.fetchAiAccountantJobsEpic, fetchAllCockpitViewsEpic_1.fetchAllCockpitViewsEpic, fetchAllExpenseAutomationTabsEpic_1.fetchAllExpenseAutomationTabsEpic, fetchAllPeopleRequiredViewsEpic_1.fetchAllPeopleRequiredViewsEpic, fetchAllTagsEpic_1.fetchAllTagsEpic, fetchAllTaskGroupsEpic_1.fetchAllTaskGroupsEpic, fetchAllTenantsEpic_1.fetchAllTenantsEpic, fetchAndUpdateVendorRecommendationsEpic_1.fetchAndUpdateVendorRecommendationsEpic, aggregatedReportEpic_1.fetchAggregatedReportEpic, fetchApAgingDetailEpic_1.fetchApAgingDetailEpic, fetchApAgingEpic_1.fetchApAgingEpic, fetchArAgingDetailEpic_1.fetchArAgingDetailEpic, fetchArAgingEpic_1.fetchArAgingEpic, fetchAuditReportGroupViewEpic_1.fetchAuditReportGroupViewEpic, fetchAuditRuleGroupViewEpic_1.fetchAuditRuleGroupViewEpic, fetchAutoTransferReviewDetailEpic_1.fetchAutoTransferReviewDetailEpic, fetchAutoTransferRuleHistory_1.fetchAutoTransferRuleHistoryEpic, fetchAutoTransferRulesEpic_1.fetchAutoTransferRulesEpic, balanceSheetEpic_1.fetchBalanceSheetEpic, balanceSheetForTimeframeEpic_1.fetchBalanceSheetForTimeframeEpic, fetchBankAccountsListEpic_1.fetchBankAccountsListEpic, fetchBankConnectionsViewEpic_1.fetchBankConnectionsViewEpic, fetchBankCountryNameByIbanEpic_1.fetchBankCountryNameByIbanEpic, fetchBankNameByRoutingEpic_1.fetchBankNameByRoutingEpic, fetchBankNameBySwiftEpic_1.fetchBankNameBySwiftEpic, fetchBillAndInitializeLocalStoreEpic_1.fetchBillAndInitializeLocalStoreEpic, fetchBillDetailEpic_1.fetchBillDetailEpic, fetchBillingAccountsViewEpic_1.fetchBillingAccountsListEpic, fetchBillListEpic_1.fetchBillListEpic, fetchBillListPerTabEpic_1.fetchBillListPerTabEpic, fetchBillPayApproversDetailsEpic_1.fetchBillPayApproversDetailsEpic, fetchBillPayApproversListEpic_1.fetchBillPayApproversListEpic, fetchBillPayCardEpic_1.fetchBillPayCardEpic, fetchBillPayConfigEpic_1.fetchBillPayConfigEpic, fetchBillPaySetupApproverViewEpic_1.fetchBillPaySetupApproverViewEpic, fetchBillPaySetupViewEpic_1.fetchBillPaySetupViewEpic, cardBalanceEpic_1.fetchCardBalanceEpic, archiveCardPolicyEpic_1.archiveCardPolicyEpic, createCardPolicyTemplateEpic_1.createCardPolicyTemplatesEpic, extractPolicyDocumentEpic_1.extractPolicyDocumentEpic, policyRecommendationFromUploadEpic_1.policyRecommendationFromUploadEpic, policyDocumentExtractionToRecommendationBridgeEpic_1.policyDocumentExtractionToRecommendationBridgeEpic, fetchCardPolicyDetailEpic_1.fetchCardPolicyDetailEpic, fetchCardPolicyListEpic_1.fetchCardPolicyListEpic, fetchCardPolicyMccCategoriesEpic_1.fetchCardPolicyMccCategoriesEpic, fetchCardPolicyVendorOptionsEpic_1.fetchCardPolicyVendorOptionsEpic, fetchCardProfilesEpic_1.fetchCardProfilesEpic, updateCardPolicyEpic_1.updateCardPolicyEpic, fetchCashbackDetailEpic_1.fetchCashbackDetailEpic, cashBalanceEpic_1.fetchCashBalanceEpic, cashFlowEpic_1.fetchCashFlowEpic, cashFlowForTimeframeEpic_1.fetchCashFlowForTimeframeEpic, cashInCashOutEpic_1.fetchCashInCashOutEpic, fetchCashManagementSettingsEpic_1.fetchCashManagementSettingsEpic, saveAutoSweepSettingsEpic_1.saveAutoSweepSettingsEpic, fetchCashManagementBannerEpic_1.fetchCashManagementBannerEpic, fetchCashManagementOverviewPageEpic_1.fetchCashManagementOverviewPageEpic, fetchCashManagementRecommendationEpic_1.fetchCashManagementRecommendationEpic, fetchRecentTransferEpic_1.fetchRecentTransferEpic, cashPositionEpic_1.fetchCashPositionEpic, fetchChargeCardConfigEpic_1.fetchChargeCardConfigEpic, fetchChargeCardDetailEpic_1.fetchChargeCardDetailEpic, fetchChargeCardDetailPageEpic_1.fetchChargeCardDetailPageEpic, fetchChargeCardListEpic_1.fetchChargeCardListEpic, fetchChargeCardListPageEpic_1.fetchChargeCardListPageEpic, fetchChargeCardPaymentPageEpic_1.fetchChargeCardPaymentPageEpic, fetchChargeCardRepaymentDetailEpic_1.fetchChargeCardRepaymentDetailEpic, fetchChargeCardPaymentHistoryEpic_1.fetchChargeCardPaymentHistoryEpic, fetchChargeCardSetupViewEpic_1.fetchChargeCardSetupViewEpic, fetchChargeCardStatementListEpic_1.fetchChargeCardStatementListEpic, fetchChargeCardTransactionAttachmentsEpic_1.fetchChargeCardTransactionAttachmentsEpic, fetchChargeCardTransactionListEpic_1.fetchChargeCardTransactionListEpic, fetchChargeCardTransactionStatisticsEpic_1.fetchChargeCardTransactionStatisticsEpic, fetchChargeCardsRecurringExpensesEpic_1.fetchChargeCardsRecurringExpensesEpic, fetchChatHistoryEpic_1.fetchChatHistoryEpic, fetchChatSessionsForUserEpic_1.fetchChatSessionsForUserEpic, fetchClassListEpic_1.fetchClassListEpic, fetchCollaborationAuthTokenEpic_1.fetchCollaborationAuthTokenEpic, fetchCockpitContextEpic_1.fetchCockpitContextEpic, fetchCompanyBillingAddressEpic_1.fetchCompanyBillingAddressEpic, companyConfigEpic_1.fetchCompanyConfigEpic, fetchCompanyHealthMetricConfigEpic_1.fetchCompanyHealthMetricConfigEpic, fetchCompanyHealthMetricViewEpic_1.fetchCompanyHealthMetricViewEpic, fetchCompanyManagementViewEpic_1.fetchCompanyManagementViewEpic, fetchCompanyMetaDataEpic_1.fetchCompanyMetaDataEpic, fetchCompanyMonthEndReportHistoricDataEpic_1.fetchCompanyMonthEndReportHistoricDataEpic, fetchCompanyMonthEndReportHistoricDatesEpic_1.fetchCompanyMonthEndReportHistoricDatesEpic, fetchCompanyMonthEndReportTemplatesEpic_1.fetchCompanyMonthEndReportTemplatesEpic, fetchCompanyMonthEndReportViewEpic_1.fetchCompanyMonthEndReportViewEpic, fetchCompanyOnboardingViewEpic_1.fetchCompanyOnboardingViewEpic, fetchCompanyPassportViewEpic_1.fetchCompanyPassportViewEpic, fetchCompanyPortfolioViewEpic_1.fetchCompanyPortfolioViewEpic, fetchCompanyTaskManagerViewEpic_1.fetchCompanyTaskManagerViewEpic, fetchTaskManagerMetricsEpic_1.fetchTaskManagerMetricsEpic, updateCompanyTaskManagerViewFiltersEpic_1.updateCompanyTaskManagerViewFiltersEpic, fetchCreditAccountEpic_1.fetchCreditAccountEpic, fetchCreditAccountRepaymentEpic_1.fetchCreditAccountRepaymentEpic, fetchCreditAgentMacroEpic_1.fetchCreditAgentMacroEpic, fetchCurrencyConversionValueEpic_1.fetchCurrencyConversionValueEpic, dashboardEpic_1.fetchDashboardEpic, fetchDashboardLayoutEpic_1.fetchDashboardLayoutEpic, fetchDebitCardSummaryEpic_1.fetchDebitCardSummaryEpic, fetchDepositAccountDetailEpic_1.fetchDepositAccountDetailEpic, fetchDepositAccountEpic_1.fetchDepositAccountEpic, fetchDepositAccountHistoryEpic_1.fetchDepositAccountHistoryEpic, fetchDepositAccountLimitEpic_1.fetchDepositAccountLimitEpic, fetchDepositAccountListEpic_1.fetchDepositAccountListEpic, fetchDepositAccountListForCardsEpic_1.fetchDepositAccountListForCardsEpic, fetchDepositAccountTransactionListEpic_1.fetchDepositAccountTransactionListEpic, fetchDownloadSchedulesEpic_1.fetchDownloadSchedulesEpic, fetchDuplicateBillEpic_1.fetchDuplicateBillPayReviewEpic, fetchDuplicateReimbursementEpic_1.fetchDuplicateReimbursementEpic, fetchEditBillDetailPageEpic_1.fetchEditBillDetailPageEpic, fetchEditRemiDetailPageEpic_1.fetchEditRemiDetailPageEpic, fetchEligibleActionsForBillEpic_1.fetchEligibleActionsForBillEpic, fetchEntityAutoCompleteEpic_1.fetchEntityAutoCompleteEpic, fetchEntityHistoryEpic_1.fetchEntityHistoryEpic, fetchEntityRecommendationsByTransactionIdEpic_1.fetchEntityRecommendationsByTransactionIdEpic, fetchEntityRecommendationsForLineUpdateEpic_1.fetchEntityRecommendationsForLineUpdateEpic, fetchExcludedResourcesEpic_1.fetchExcludedResourcesEpic, fetchFluxAnalysisViewEpic_1.fetchFluxAnalysisViewEpic, initializeTransactionCategorizationLocalDataEpic_1.initializeTransactionCategorizationViewLocalDataEpic, fetchJeSchedulesEpic_1.fetchJeSchedulesEpic, fetchJeSchedulePageEpic_1.fetchJeSchedulesPageEpic, markTransactionAsNotMiscategorizedEpic_1.markTransactionAsNotMiscategorizedEpic, fetchMissingReceiptsEpic_1.fetchMissingReceiptsEpic, bulkUploadReceiptsEpic_1.bulkUploadReceiptsEpic, confirmBulkUploadMatchEpic_1.confirmBulkUploadMatchEpic, fetchBulkUploadBatchDetailsEpic_1.fetchBulkUploadBatchDetailsEpic, fetchMultipleBatchDetailsEpic_1.fetchMultipleBatchDetailsEpic, fetchMoreBatchDetailsEpic_1.fetchMoreBatchDetailsEpic, fetchBulkUploadBatchesEpic_1.fetchBulkUploadBatchesEpic, fetchCompletedTransactionsEpic_1.fetchCompletedTransactionsEpic, refetchCompletedTransactionsOnBulkUploadSortEpic_1.refetchCompletedTransactionsOnBulkUploadSortEpic, refreshBatchDetailsForBatchIdEpic_1.refreshBatchDetailsForBatchIdEpic, watchBulkUploadBatchStatusEpic_1.bulkUploadAutomatchingTimeoutEpic, bulkUploadMatchResultToastEpic_1.bulkUploadMatchResultToastEpic, syncTabsAfterAutomatchEpic_1.syncTabsAfterAutomatchEpic, watchBulkUploadBatchStatusEpic_1.pollBulkUploadBatchStatusEpic, watchBulkUploadBatchStatusEpic_1.pusherBatchStatusCompletionEpic, restoreBulkUploadAutomatchingOnMountEpic_1.restoreBulkUploadAutomatchingOnMountEpic, searchTransactionsForManualMatchEpic_1.searchTransactionsForManualMatchEpic, fetchReconciliationViewEpic_1.fetchReconciliationViewEpic, saveTransactionCategorizationEpic_1.saveTransactionCategorizationEpic, fetchTransactionCategorizationEpic_1.fetchTransactionCategorizationEpic, fetchTransactionCategorizationViewEpic_1.fetchTransactionCategorizationViewEpic, updateTransactionCategorizationEpic_1.updateTransactionCategorizationEpic, fetchExpenseTrendEpic_1.fetchExpenseTrendEpic, fetchExpressPayInitialDetailsEpic_1.fetchExpressPayInitialDetailsEpic, fetchExternalConnectionsEpic_1.fetchExternalConnectionsEpic, fetchFileEpic_1.fetchFileEpic, fetchFileListEpic_1.fetchFileListEpic, financeStatementEpic_1.fetchFinanceStatementEpic, fetchForecastListEpic_1.fetchForecastListEpic, reportsClassViewRefetchingEpic_1.initiateReportsClassViewRefetchingEpic, reportsResyncEpic_1.reportsResyncEpic, fetchGlobalMerchantAutoCompleteViewEpic_1.fetchGlobalMerchantAutoCompleteViewEpic, fetchGlobalMerchantRecommendationEpic_1.fetchGlobalMerchantRecommendationEpic, fetchIncomeTrendEpic_1.fetchIncomeTrendEpic, insightsCardEpic_1.fetchInsightsCardEpic, fetchInternationalWireDynamicFormEpic_1.fetchInternationalWireDynamicFormEpic, fetchIntlVerificationFormEpic_1.fetchIntlVerificationFormEpic, fetchIssueCardPageEpic_1.fetchIssueCardPageEpic, seedAiCardCreationFormDraftEpic_1.seedAiCardCreationFormDraftEpic, seedAiCardPolicyFormDraftEpic_1.seedAiCardPolicyFormDraftEpic, applyExtractedPolicyToDraftEpic_1.applyExtractedPolicyToDraftEpic, fetchMagicLinkBankNameByRoutingEpic_1.fetchMagicLinkBankNameByRoutingEpic, fetchMagicLinkBankNameBySwiftEpic_1.fetchMagicLinkBankNameBySwiftEpic, fetchMagicLinkBillEpic_1.fetchMagicLinkBillEpic, fetchMagicLinkTenantEpic_1.fetchMagicLinkTenantEpic, fetchManagementViewEpic_1.fetchManagementViewEpic, fetchMerchantListEpic_1.fetchMerchantListEpic, fetchMonthClosePerformanceTrendEpic_1.fetchMonthClosePerformanceTrendEpic, fetchMonthEndCloseChecksEpic_1.fetchMonthEndCloseChecksEpic, fetchMyProfileEpic_1.fetchMyProfileEpic, fetchMyProfileViewEpic_1.fetchMyProfileViewEpic, netBurnOrIncomeClassesViewEpic_1.fetchNetBurnOrIncomeClassesViewEpic, netBurnOrIncomeEpic_1.fetchNetBurnOrIncomeEpic, netBurnOrIncomeForTimeframeClassesViewEpic_1.fetchNetBurnOrIncomeForTimeframeClassesViewEpic, netBurnOrIncomeForTimeframeEpic_1.fetchNetBurnOrIncomeForTimeframeEpic, fetchNetBurnOrIncomeStoryCardEpic_1.fetchNetBurnOrIncomeStoryCardEpic, fetchNetBurnOrIncomeWithForecastEpic_1.fetchNetBurnOrIncomeWithForecastEpic, fetchNotificationSettingsEpic_1.fetchNotificationSettingsEpic, fetchNotificationSettingsViewEpic_1.fetchNotificationSettingsViewEpic, fetchNotificationUnreadCountEpic_1.fetchNotificationUnreadCountEpic, fetchNotificationViewEpic_1.fetchNotificationViewEpic, fetchRegisteredInterestsEpic_1.fetchRegisteredInterestsEpic, fetchOnboardingCompletedCompaniesEpic_1.fetchOnboardingCompletedCompaniesEpic, fetchOnboardingCustomerSetupViewEpic_1.fetchOnboardingCustomerSetupViewEpic, fetchOnboardingCustomerViewEpic_1.fetchOnboardingCustomerViewEpic, fetchOnboardingViewEpic_1.fetchOnboardingViewEpic, fetchOpExByVendorReportEpic_1.fetchOpExByVendorEpic, fetchOpExByVendorReportForTimeframeEpic_1.fetchOpExByVendorReportForTimeframeEpic, fetchOpExByVendorReportSummaryEpic_1.fetchOpExByVendorReportSummaryEpic, refreshOpExByVendorReportEpic_1.refreshOpExByVendorReportEpic, opExClassesViewEpic_1.fetchOpExClassesViewEpic, opExEpic_1.fetchOpExEpic, opExForTimeframeClassesViewEpic_1.fetchOpExForTimeframeClassesViewEpic, opExForTimeFrameEpic_1.fetchOpExReportForTimeframeEpic, fetchOpExWithForecastEpic_1.fetchOpExWithForecastEpic, fetchOwnerListEpic_1.fetchOwnerListEpic, fetchParentSubsidiaryManagementViewEpic_1.fetchParentSubsidiaryManagementViewEpic, fetchPaymentAccountBalanceEpic_1.fetchPaymentAccountBalanceEpic, fetchPaymentAccountListEpic_1.fetchPaymentAccountListEpic, fetchPaymentSourcesEpic_1.fetchPaymentSourcesEpic, fetchPeopleEpic_1.fetchPeopleEpic, peoplePageEpic_1.fetchPeoplePageEpic, fetchPortfolioViewEpic_1.fetchPortfolioViewEpic, fetchPreviousBillsEpic_1.fetchPreviousBillsEpic, profitAndLossClassesViewEpic_1.fetchProfitAndLossClassesViewEpic, profitAndLossEpic_1.fetchProfitAndLossEpic, profitAndLossForTimeframeClassesViewEpic_1.fetchProfitAndLossForTimeframeClassesViewEpic, profitAndLossForTimeframeProjectViewEpic_1.fetchProfitAndLossForTimeframeProjectViewEpic, profitAndLossForTimeframeEpic_1.fetchProfitAndLossForTimeframeEpic, profitAndLossProjectViewEpic_1.fetchProfitAndLossProjectViewEpic, fetchProjectListEpic_1.fetchProjectListEpic, fetchQBOConnectionPoolEpic_1.fetchQBOConnectionPoolEpic, fetchRecommendationByEntityIdEpic_1.fetchRecommendationByEntityIdEpic, fetchRecommendationByEntityNameEpic_1.fetchRecommendationByEntityNameEpic, fetchRecommendationForAccountSettingsEpic_1.fetchRecommendationForAccountSettingsEpic, fetchRecommendationForAccountTypeEpic_1.fetchRecommendationForAccountTypeEpic, fetchRecommendationsAndUpdateMerchantRecommendationsEpic_1.fetchRecommendationsAndUpdateMerchantRecommendationsEpic, fetchRecommendedTransactionRowIndexEpic_1.fetchRecommendedTransactionRowIndexEpic, fetchReferralsEpic_1.fetchReferralsEpic, fetchReimbursementCardEpic_1.fetchReimbursementCardEpic, fetchReimbursementConfigEpic_1.fetchReimbursementConfigEpic, fetchRemiAndInitializeLocalStoreEpic_1.fetchRemiAndInitializeLocalStoreEpic, fetchRemiApproversDetailsEpic_1.fetchRemiApproversDetailsEpic, fetchRemiApproversListEpic_1.fetchRemiApproversListEpic, fetchRemiDetailEpic_1.fetchRemiDetailEpic, fetchRemiListEpic_1.fetchRemiListEpic, fetchRemiListPerTabEpic_1.fetchRemiListPerTabEpic, fetchRemiSetupApproverViewEpic_1.fetchRemiSetupApproverViewEpic, fetchRemiSetupViewEpic_1.fetchRemiSetupViewEpic, revenueClassesViewEpic_1.fetchRevenueClassesViewEpic, revenueEpic_1.fetchRevenueEpic, revenueForTimeframeClassesViewEpic_1.fetchRevenueForTimeframeClassesViewEpic, revenueForTimeframeEpic_1.fetchRevenueForTimeframeEpic, fetchRevenueWithForecastEpic_1.fetchRevenueWithForecastEpic, fetchReviewCompanyViewEpic_1.fetchReviewCompanyViewEpic, fetchReviewTransferDetailEpic_1.fetchReviewTransferDetailEpic, fetchRewardsPlanEpic_1.fetchRewardsPlanEpic, fetchScheduleAccruedDetailsEpic_1.fetchScheduleAccruedDetailsEpic, fetchScheduleAccruedDetailsPageEpic_1.fetchScheduleAccruedDetailsPageEpic, fetchScheduleDetailsEpic_1.fetchScheduleDetailsEpic, fetchScheduleDetailsPageEpic_1.fetchScheduleDetailsPageEpic, fetchScheduleListEpic_1.fetchScheduleListEpic, fetchSchedulesAccountEpic_1.fetchSchedulesAccountEpic, fetchSubscriptionAddOnsEpic_1.fetchSubscriptionAddOnsEpic, fetchSubscriptionCouponsEpic_1.fetchSubscriptionCouponsEpic, fetchSubscriptionCreateEstimateEpic_1.fetchSubscriptionCreateEstimateEpic, fetchSubscriptionDetailsEpic_1.fetchSubscriptionDetailsEpic, fetchSubscriptionListEpic_1.fetchSubscriptionListEpic, fetchSubscriptionPlansEpic_1.fetchSubscriptionPlansEpic, fetchSubscriptionSummaryForTenantEpic_1.fetchSubscriptionSummaryForTenantEpic, fetchSubscriptionUpdateEstimateEpic_1.fetchSubscriptionUpdateEstimateEpic, fetchSubscriptionViewEpic_1.fetchSubscriptionViewEpic, fetchSuggestedQuestionsEpic_1.fetchSuggestedQuestionsEpic, fetchSkillsEpic_1.fetchSkillsEpic, fetchTaskDetailEpic_1.fetchTaskDetailEpic, fetchTaskDetailPageEpic_1.fetchTaskDetailPageEpic, fetchTaskGroupTemplatesEpic_1.fetchTaskGroupTemplatesEpic, fetchTaskHistoryEpic_1.fetchTaskHistoryEpic, fetchTaskListEpic_1.fetchTaskListEpic, fetchTaskListPageEpic_1.fetchTaskListPageEpic, fetchTasksCardEpic_1.fetchTasksCardEpic, topExEpic_1.fetchTopExEpic, fetchTransactionActivityLogEpic_1.fetchTransactionActivityLogEpic, transactionDetailEpic_1.fetchTransactionDetailEpic, fetchTransactionListByAccountEpic_1.fetchTransactionListByAccountEpic, fetchTransactionListByClassEpic_1.fetchTransactionListByClassEpic, fetchTransactionListByProjectEpic_1.fetchTransactionListByProjectEpic, fetchTransactionListByEntityEpic_1.fetchTransactionListByEntityEpic, fetchTransactionsForEntityEpic_1.fetchTransactionsForEntityEpic, fetchTransactionsListByCategoryTypeEpic_1.fetchTransactionsListByCategoryTypeEpic, fetchTransferAccountsEpic_1.fetchTransferAccountsEpic, fetchTreasuryDetailEpic_1.fetchTreasuryDetailEpic, fetchTreasuryFundsEpic_1.fetchTreasuryFundsEpic, fetchTreasuryHistoryEpic_1.fetchTreasuryHistoryEpic, fetchTreasurySetupViewEpic_1.fetchTreasurySetupViewEpic, fetchTreasuryStatementListEpic_1.fetchTreasuryStatementListEpic, fetchTreasuryTaxLetterListEpic_1.fetchTreasuryTaxLetterListEpic, fetchTreasuryTransactionListEpic_1.fetchTreasuryTransactionListEpic, updatePortfolioAllocationEpic_1.updatePortfolioAllocationEpic, fetchPortfolioAllocationEpic_1.fetchPortfolioAllocationEpic, fetchTrendForEntityEpic_1.fetchTrendForEntityEpic, fetchUserDetailEpic_1.fetchUserDetailEpic, fetchUserFinancialAccountEpic_1.fetchUserFinancialAccountEpic, fetchUserListByTypeEpic_1.fetchUserListByTypeEpic, userRoleConfigEpic_1.fetchUserRoleConfigEpic, vendor1099TypeListEpic_1.fetchVendor1099TypeListEpic, fetchVendorAndUpdateBillLocalDataEpic_1.fetchVendorAndUpdateBillLocalDataEpic, fetchVendorByNameAndParseInvoice_1.fetchVendorByNameAndParseInvoiceEpic, fetchVendorDetailsEpic_1.fetchVendorDetailsEpic, fetchVendorEpic_1.fetchVendorEpic, fetchVendorFirstReviewAttachmentsEpic_1.fetchVendorFirstReviewAttachmentsEpic, fetchVendorFirstReviewViewEpic_1.fetchVendorFirstReviewViewEpic, fetchVendorGlobalReviewViewEpic_1.fetchVendorGlobalReviewViewEpic, fetchVendorsFiling1099AllEpic_1.fetchVendorsFiling1099AllEpic, fetchVendorsFiling1099DownloadEpic_1.fetchVendorsFiling1099DownloadEpic, fetchVendorsFiling1099ListEpic_1.fetchVendorsFiling1099ListEpic, fetchVendorsListEpic_1.fetchVendorsListEpic, fetchVendorsTabVendorDetailPageViewEpic_1.fetchVendorsTabVendorDetailPageViewEpic, fetchVendorsTabVendorDetailsEpic_1.fetchVendorsTabVendorDetailsEpic, fetchVendorsTabVendorEpic_1.fetchVendorsTabVendorEpic, fetchVendorTabViewEpic_1.fetchVendorTabViewEpic, vendorTypeListEpic_1.fetchVendorTypeListEpic, fetchZeniAccountListPageEpic_1.fetchZeniAccountListEpic, fetchZeniAccountsConfigEpic_1.fetchZeniAccountsConfigEpic, fetchZeniAccountSetupViewEpic_1.fetchZeniAccountSetupViewEpic, zeniAccountsPromoCardEpic_1.fetchZeniAccountsPromoCardEpic, fetchZeniAccStatementListEpic_1.fetchZeniAccStatementListEpic, fetchZeniAccStatementPageEpic_1.fetchZeniAccStatementPageEpic, fetchZeniUsersEpic_1.fetchZeniUsersEpic, getOnboardingEmailGroupEpic_1.getOnboardingEmailGroupEpic, getOnboardingPlaidLinkTokenEpic_1.getOnboardingPlaidLinkTokenEpic, getPaymentAccountsEpic_1.getPaymentAccountsEpic, getPlaidLinkTokenEpic_1.getPlaidLinkTokenEpic, ignoreRecommendedJeScheduleEpic_1.ignoreRecommendedJeScheduleEpic, improveUsingZeniGPTEpic_1.improveUsingZeniGPTEpic, initialiseLocalDataForSelectedAccountIdEpic_1.initialiseDataForSelectedAccountIdEpic, initializeAccountMappingViewEpic_1.initializeAccountMappingViewEpic, initializeAccountSettingsViewEpic_1.initializeAccountSettingsViewEpic, initializeBillPaySetupApproverViewUpdateDataEpic_1.initializeBillPaySetupApproverViewUpdateDataEpic, initializeBillToLocalStoreEpic_1.initializeBillToLocalStoreEpic, initializeCardUserOnboardingLocalDataEpic_1.initializeCardUserOnboardingLocalDataEpic, initializeCompanyHealthMetricViewLocalData_1.initializeCompanyHealthMetricViewLocalDataEpic, initializeDynamicFormEpic_1.initializeDynamicFormEpic, initializeEditPersonEpic_1.initializeEditPersonEpic, initializeJeScheduleLocalDataEpic_1.initializeJeScheduleLocalDataEpic, initializeInternationalWireLocalDataEpic_1.initializeInternationalWireLocalDataEpic, initializeIntlVerificationFormEpic_1.initializeIntlVerificationFormEpic, initializeMyProfileLocalDataEpic_1.initializeMyProfileLocalDataEpic, initializeOnboardingCustomerViewUpdateDataEpic_1.initializeOnboardingCustomerViewUpdateDataEpic, initializeRemiSetupApproverViewUpdateDataEpic_1.initializeRemiSetupApproverViewUpdateDataEpic, initializeRemiToLocalStoreEpic_1.initializeRemiToLocalStoreEpic, initializeScheduleAccruedDetailLocalDataEpic_1.initializeScheduleAccruedDetailLocalDataEpic, initializeScheduleDetailLocalDataEpic_1.initializeScheduleDetailLocalDataEpic, initializeSubscriptionLocalDataEpic_1.initializeSubscriptionLocalDataEpic, initializeTaskToLocalStoreEpic_1.initializeTaskToLocalStoreEpic, initializeTransactionDetailLocalDataEpic_1.initializeTransactionDetailLocalDataEpic, initializeVendorAddressEpic_1.initializeVendorAddressEpic, initiateChargeCardRepaymentEpic_1.initiateChargeCardRepaymentEpic, invitePeopleEpic_1.invitePeopleEpic, inviteZeniPeopleEpic_1.inviteZeniPeopleEpic, issueChargeCardEpic_1.issueChargeCardEpic, lockChargeCardEpic_1.lockChargeCardEpic, lockChargeCardsEpic_1.lockChargeCardsEpic, markAsCompleteScheduleDetailEpic_1.markAsCompleteScheduleDetailEpic, markTransactionAsNotMiscategorizedEpic_2.markTransactionAsNotMiscategorizedEpic, notifyMeForFeatureEpic_1.notifyMeForFeatureEpic, parallelFetchAccountTransactionListEpic_1.parallelFetchAccountTransactionListEpic, parallelFetchClassTransactionListEpic_1.parallelFetchClassTransactionListEpic, parallelFetchProjectTransactionListEpic_1.parallelFetchProjectTransactionListEpic, parallelFetchEntityTransactionListEpic_1.parallelFetchEntityTransactionListEpic, parallelFetchTransactionListByCategoryTypeEpic_1.parallelFetchTransactionListByCategoryTypeEpic, parseInvoiceToBillEpic_1.parseInvoiceToBillEpic, parseReceiptsToRemiEpic_1.parseReceiptsToRemiEpic, peopleSaveUpdatesEpic_1.peopleSaveUpdatesEpic, pushToastNotificationEpic_1.pushToastNotificationEpic, refreshExpenseAutomationCurrentTabEpic_1.refreshExpenseAutomationCurrentTabEpic, refreshIntegrationsDataEpic_1.refreshIntegrationsDataEpic, rejectVendorGlobalReviewEpic_1.rejectVendorGlobalReviewEpic, resendCardInviteEpic_1.resendCardInviteEpic, resendInviteEpic_1.resendInviteEpic, resendOtpEpic_1.resendOtpEpic, resendVerifyDeviceOTPEpic_1.resendVerifyDeviceOTPEpic, resendReferralInviteEpic_1.resendReferralInviteEpic, resetTransactionVendorLocalDataEpic_1.resetTransactionVendorLocalDataEpic, resetVendorDetailLocalDataEpic_1.resetVendorDetailLocalDataEpic, resetVendorsTabVendorDetailLocalDataEpic_1.resetVendorsTabVendorDetailLocalDataEpic, retryBankAccountConnectionEpic_1.retryBankAccountConnectionEpic, retryBankAccountConnectionForOnboardingEpic_1.retryBankAccountConnectionForOnboardingEpic, retryJeSchedulesEpic_1.retryJeScheduleEpic, retryOrRefundBillEpic_1.retryOrRefundBillEpic, validateBillsBulkActionEpic_ts_1.validateBillsBulkActionEpic, reviewDraftRemisBulkActionEpic_ts_1.reviewDraftRemisBulkActionEpic, reviewFluxAnalysisEpic_1.reviewFluxAnalysisViewEpic, revokeCardInviteEpic_1.revokeCardInviteEpic, revokeChargeCardsInviteEpic_1.revokeChargeCardsInviteEpic, saveAccountMappingViewEpic_1.saveAccountMappingViewEpic, saveAccountSettingsViewEpic_1.saveAccountSettingsViewEpic, saveAPIKeyConnectionEpic_1.saveAPIKeyConnectionEpic, saveBillDetailEpic_1.saveBillDetailEpic, saveBillPaySetupApproverViewUpdatesEpic_1.saveBillPaySetupApproverViewUpdatesEpic, saveCardOnboardingUserDetailsEpic_1.saveCardOnboardingUserDetailsEpic, saveCompanyBillingAddressEpic_1.saveCompanyBillingAddressEpic, saveCompanyHealthMetricByIdEpic_1.saveCompanyHealthMetricByIdEpic, saveCompanyMonthEndReportEpic_1.saveCompanyMonthEndReportEpic, saveCompanyPassportDetailsEpic_1.saveCompanyPassportDetailsEpic, initEmailConnectOAuthEpic_1.initEmailConnectOAuthEpic, saveConnectorCredentialsEpic_1.saveConnectorCredentialsEpic, saveCreditAgentMacroEpic_1.saveCreditAgentMacroEpic, saveReconciliationDetailEpic_1.saveReconciliationDetailsEpic, saveReconciliationReviewEpic_1.saveReconciliationReviewEpic, saveExternalConnectionEpic_1.saveExternalConnectionEpic, saveMagicLinkBankAccountEpic_1.saveMagicLinkBankAccountEpic, saveNewAddressEpic_1.saveNewAddressEpic, saveNotificationSettingsEpic_1.saveNotificationSettingsEpic, saveOAuthConnectionEpic_1.saveOAuthConnectionEpic, saveOnboardingCustomerCompletedStatusEpic_1.saveOnboardingCustomerCompletedStatusEpic, saveOnboardingCustomerNotesEpic_1.saveOnboardingCustomerNotesEpic, saveOnboardingCustomerViewUpdatesEpic_1.saveOnboardingCustomerViewUpdatesEpic, saveRealTimeApprovalEpic_1.saveRealTimeApprovalEpic, saveReasonForAuditRuleEpic_1.saveReasonForAuditRuleEpic, saveRemiDetailEpic_1.saveRemiDetailEpic, saveRemiSetupApproverViewUpdatesEpic_1.saveRemiSetupApproverViewUpdatesEpic, saveScheduleAccruedDetailsEpic_1.saveScheduleAccruedDetailsEpic, saveScheduleDetailsEpic_1.saveScheduleDetailsEpic, saveSubscriptionNotesUpdatesEpic_1.saveSubscriptionNotesUpdatesEpic, saveSubscriptionUpdatesEpic_1.saveSubscriptionUpdatesEpic, saveTaskDetailEpic_1.saveTaskDetailEpic, saveTransactionDetailEpic_1.saveTransactionDetailEpic, saveTransactionVendorEpic_1.saveTransactionVendorEpic, saveVendorDetailsViewEpic_1.saveVendorDetailsViewEpic, saveVendorEpic_1.saveVendorEpic, saveVendorFirstReviewViewEpic_1.saveVendorFirstReviewViewEpic, saveVendorsTabVendorEpic_1.saveVendorsTabVendorEpic, scheduleTenantCreditScoreCronEpic_1.scheduleTenantCreditScoreCronEpic, sendCompanyMonthEndReportEpic_1.sendCompanyMonthEndReportEpic, sendOnboardingCustomerViewInviteEpic_1.sendOnboardingCustomerViewInviteEpic, sendOtpEpic_1.sendOtpEpic, sendReferralInviteEpic_1.sendReferralInviteEpic, statementCloseDayEpic_1.statementCloseDayEpic, stopSubmitEpic_1.stopSubmitEpic, stopSubmitQuestionEpic_1.stopSubmitQuestionEpic, submitDraftBillsBulkActionEpic_1.submitDraftBillsBulkActionEpic, submitDraftRemisBulkActionEpic_1.submitDraftRemisBulkActionEpic, submitExpressPayEpic_1.submitExpressPayEpic, submitFeedbackEpic_1.submitFeedbackEpic, submitIntlVerificationEpic_1.submitIntlVerificationEpic, submitQuestionEpic_1.submitQuestionEpic, toggleReportUIOptionForecastModeEpic_1.toggleReportUIOptionForecastModeEpic, transferMoneyEpic_1.transferMoneyEpic, treasuryTransferMoneyEpic_1.treasuryTransferMoneyEpic, triggerAiAccountantJobEpic_1.triggerAiAccountantJobEpic, triggerReviewTabRefetchEpic_1.triggerReviewTabRefetchEpic, unlinkPaymentAccountEpic_1.unlinkPaymentAccountEpic, unlockChargeCardEpic_1.unlockChargeCardEpic, unlockChargeCardsEpic_1.unlockChargeCardsEpic, updateAccruedJESchedulesEpic_1.updateAccruedJESchedulesEpic, updateAddressEpic_1.updateAddressEpic, updateAmountsInScheduleAccruedDetailEpic_1.updateAmountsInScheduleAccruedDetailEpic, updateAmountsInScheduleDetailEpic_1.updateAmountsInScheduleDetailEpic, updateAutoTransferRuleEpic_1.updateAutoTransferRuleEpic, updateBusinessVerificationDetailsEpic_1.updateBusinessVerificationDetailsEpic, updateCardProfileEpic_1.updateCardProfileEpic, updateChargeCardDetailEpic_1.updateChargeCardDetailEpic, updateChargeCardLimitEpic_1.updateChargeCardLimitEpic, updateChargeCardNameEpic_1.updateChargeCardNameEpic, updateChargeCardsLimitEpic_1.updateChargeCardsLimitEpic, updateAccountingClassesEnabledEpic_1.updateAccountingClassesEnabledEpic, dismissCapitalizationOnboardingEpic_1.dismissCapitalizationOnboardingEpic, updateCapitalizationAccountThresholdEpic_1.updateCapitalizationAccountThresholdEpic, updateCompanyDetailsEpic_1.updateCompanyDetailsEpic, updateCompanyOfficerEpic_1.updateCompanyOfficerEpic, updateCompanyPassportLocalStoreDataEpic_1.updateCompanyPassportLocalStoreDataEpic, updateDashboardLayoutEpic_1.updateDashboardLayoutEpic, updateDebitCardPinAttemptEpic_1.updateDebitCardPinAttemptEpic, updateDepositAccountEpic_1.updateDepositAccountEpic, updateReconcileTabLocalDataEpic_1.updateReconcileTabLocalDataEpic, updateFileNameEpic_1.updateFileNameEpic, updateFilesMetadataEpic_1.updateFilesMetadataEpic, updateJESchedulesEpic_1.updateJESchedulesEpic, updateMappedCashAccountEpic_1.updateMappedCashAccountEpic, updateMileageDetailsEpic_1.updateMileageDetailsEpic, updateMyProfileEpic_1.updateMyProfileEpic, updateNetBurnOrIncomeStoryCardSettingsEpic_1.updateNetBurnOrIncomeStoryCardSettingsEpic, updateNotificationViewAllNotificationsStatusEpic_1.updateNotificationViewAllNotificationsStatusEpic, updateNotificationViewNotificationStatusEpic_1.updateNotificationViewNotificationStatusEpic, updateOnboardingCustomerViewCompleteStatusEpic_1.updateOnboardingCustomerViewCompleteStatusEpic, acknowledgeOnboardingAiActivationViewedEpic_1.acknowledgeOnboardingAiActivationViewedEpic, acknowledgeOnboardingAiFinanceTeamEpic_1.acknowledgeOnboardingAiFinanceTeamEpic, fetchAiAgentsActivationStatusEpic_1.fetchAiAgentsActivationStatusEpic, updateOnboardingCustomerViewDashboardLoadedEpic_1.updateOnboardingCustomerViewDashboardLoadedEpic, updateOnboardingCustomerViewEpic_1.updateOnboardingCustomerViewEpic, updateOnboardingCustomerViewLocalStoreDataEpic_1.updateOnboardingCustomerViewLocalStoreDataEpic, updateOnboardingPaymentAccountLoginStatusEpic_1.updateOnboardingPaymentAccountLoginStatusEpic, updateOnboardingPaymentAccountStatusEpic_1.updateOnboardingPaymentAccountStatusEpic, updatePaymentAccountEpic_1.updatePaymentAccountEpic, updatePaymentAccountLoginStatusEpic_1.updatePaymentAccountLoginStatusEpic, updatePaymentAccountStatusEpic_1.updatePaymentAccountStatusEpic, updatePhysicalChargeCardAttemptEpic_1.updatePhysicalChargeCardAttemptEpic, updatePrimaryContactEpic_1.updatePrimaryContactEpic, updatePrimaryFundingAccountEpic_1.updatePrimaryFundingAccountEpic, updateQBOConnectionPoolExternalConnectionEpic_1.updateQBOConnectionPoolExternalConnectionEpic, updateReferViewedEpic_1.updateReferViewedEpic, updateRemiSetupViewLocalStoreDataEpic_1.updateRemiSetupViewLocalStoreDataEpic, updateReportUIOptionCOABalancesRangeEpic_1.updateReportUIOptionCOABalancesRangeEpic, updateReportUIOptionCompareModeEpic_1.updateReportUIOptionIsCompareModeEpic, updateReportUIOptionIsCompareModeOnEpic_1.updateReportUIOptionIsCompareModeOnEpic, updateReportUIOptionThisPeriodEpic_1.updateReportUIOptionThisPeriodEpic, updateReportUIOptionTimeFrameEpic_1.updateReportUIOptionTimeFrameEpic, sectionAccountsViewEpic_1.updateSectionAccountsViewEpic, sectionClassesViewEpic_1.updateSectionClassesViewEpic, sectionProjectViewEpic_1.updateSectionProjectViewEpic, updateSelectedVendorForCreateFlowEpic_1.updateSelectedVendorForCreateFlowEpic, updateSetupViewLocalStoreDataEpic_1.updateSetupViewLocalStoreDataEpic, parseUploadedKycDocumentEpic_1.parseUploadedKycDocumentEpic, parseUploadedKybDocumentEpic_1.parseUploadedKybDocumentEpic, updateTaskFromListViewEpic_1.updateTaskFromListViewEpic, updateTaskGroupNameEpic_1.updateTaskGroupNameEpic, fetchCannedResponsesEpic_1.fetchCannedResponsesEpic, saveCannedResponseEpic_1.saveCannedResponseEpic, deleteCannedResponseEpic_1.deleteCannedResponseEpic, updateTransactionDetailEpic_1.updateTransactionDetailEpic, updateTreasuryPromoIntroClosedByOutsideClickEpic_1.updateTreasuryPromoIntroClosedByOutsideClickEpic, updateTreasuryPromoRemindMeLaterClickedEpic_1.updateTreasuryPromoRemindMeLaterClickedEpic, updateTreasuryVideoViewedEpic_1.updateTreasuryVideoViewedEpic, updateVendorContactEpic_1.updateVendorContactEpic, uploadAccountStatementEpic_1.uploadAccountStatementEpic, parseStatementEpic_1.parseStatementEpic, reparseStatementEpic_1.reparseStatementEpic, updateStatementInfoEpic_1.updateStatementInfoEpic, uploadMissingAttachmentSuccessEpic_1.uploadMissingAttachmentSuccessEpic, uploadMissingReceiptSuccessEpic_1.uploadMissingReceiptSuccessEpic, uploadTransactionReceiptSuccessEpic_1.uploadTransactionReceiptSuccessEpic, vendorFiling1099UploadDetailsSaveEpic_1.vendorFiling1099UploadDetailsSaveEpic, verifyOtpEpic_1.verifyOtpEpic, verifyUserEpic_1.verifyUserEpic, fetchBillAndInitializeLocalStoreEpic_1.waitForBillDetailThenInitializeLocalStoreEpic, fetchNetBurnOrIncomeWithForecastEpic_1.waitForForecastListThenFetchNetBurnOrIncomeWithForecastEpic, fetchOpExWithForecastEpic_1.waitForForecastListThenFetchOpExWithForecastEpic, fetchRevenueWithForecastEpic_1.waitForForecastListThenFetchRevenueWithForecastEpic, fetchRecommendationsAndUpdateMerchantRecommendationsEpic_1.waitForMerchantRecommendationFetchThenUpdateRecommendationInMerchantEpic, fetchVendorAndUpdateBillLocalDataEpic_1.waitForVendorByIdThenSaveBillUpdatetoLocalStoreEpic, fetchVendorByNameAndParseInvoice_1.waitForVendorByNameThenParsetoLocalStoreEpic, fetchBillDetailEpic_1.waitForVendorByNameThenUpdateBillDetailEpic, fetchAndUpdateVendorRecommendationsEpic_1.waitForVendorRecommendationFetchThenUpdateRecommendationInBillEpic, wiseRedirectEpic_1.wiseRedirectEpic);
|
|
682
683
|
const rootEpic = (action$, store$, dependencies) => combinedEpics(action$, store$, dependencies).pipe((0, operators_1.map)(rxjs_1.identity), (0, operators_1.catchError)((error, source) => {
|
|
683
684
|
console.error(error);
|
|
684
685
|
return source;
|
|
@@ -13,6 +13,7 @@ export const mapInvoicingCustomerPayloadToState = (payload) => {
|
|
|
13
13
|
: undefined,
|
|
14
14
|
autoCollection: payload.auto_collection,
|
|
15
15
|
billingAddress: payload.billing_address,
|
|
16
|
+
billingAddressId: payload.billing_address_id,
|
|
16
17
|
cardStatus: payload.card_status,
|
|
17
18
|
company: payload.company,
|
|
18
19
|
consolidatedInvoicing: payload.consolidated_invoicing,
|
package/lib/esm/epic.js
CHANGED
|
@@ -229,6 +229,7 @@ import { runInvoicingDunningActionEpic, } from './view/invoicing/dunningAction/d
|
|
|
229
229
|
import { saveInvoicingCatalogItemEpic, } from './view/invoicing/editInvoicingCatalogItemDetailView/saveInvoicingCatalogItemEpic';
|
|
230
230
|
import { saveInvoicingCouponEpic, } from './view/invoicing/editInvoicingCouponDetailView/saveInvoicingCouponEpic';
|
|
231
231
|
import { saveInvoicingCustomerEpic, } from './view/invoicing/editInvoicingCustomerDetailView/saveInvoicingCustomerEpic';
|
|
232
|
+
import { initializeInvoicingCustomerAddressEpic } from './view/invoicing/editInvoicingCustomerDetailView/initializeInvoicingCustomerAddressEpic';
|
|
232
233
|
import { fetchInvoicingSubscriptionFormPageEpic, } from './view/invoicing/editInvoicingSubscriptionDetailView/fetchInvoicingSubscriptionFormPageEpic';
|
|
233
234
|
import { saveInvoicingSubscriptionEpic, } from './view/invoicing/editInvoicingSubscriptionDetailView/saveInvoicingSubscriptionEpic';
|
|
234
235
|
import { runInvoicingInvoiceActionEpic, updateInvoicingInvoiceEpic, } from './view/invoicing/invoiceAction/invoiceActionEpic';
|
|
@@ -676,7 +677,7 @@ import { fetchZeniAccStatementPageEpic, } from './view/zeniAccStatementList/fetc
|
|
|
676
677
|
import { fetchZeniAccountsPromoCardEpic, } from './view/zeniAccountsPromoCard/zeniAccountsPromoCardEpic';
|
|
677
678
|
import { approveOAuthConsentEpic, } from './view/zeniOAuthView/epics/approveOAuthConsentEpic';
|
|
678
679
|
// Note: Please maintain strict alphabetical order
|
|
679
|
-
const combinedEpics = combineEpics(fetchInvoiceListEpic, fetchInvoiceListPageEpic, fetchInvoiceCountsEpic, fetchInvoiceKPIsEpic, fetchInvoiceDetailEpic, createInvoiceEpic, recordPaymentEpic, fetchInvoicingOverviewEpic, fetchInvoicingOverviewKPIsEpic, fetchInvoicingOverviewRevenueEpic, fetchInvoicingOverviewMRREpic, fetchInvoicingOverviewChurnEpic, fetchInvoicingOverviewPlanRevenueEpic, fetchInvoicingOverviewDashboardSummaryEpic, fetchInvoicingAuditLogEpic, saveInvoicingCatalogItemEpic, saveInvoicingCouponEpic, saveInvoicingCustomerEpic, saveInvoicingSubscriptionEpic, fetchInvoicingSubscriptionFormPageEpic, invoicingDataImportActionEpic, fetchInvoicingMigrationSessionsEpic, fetchInvoicingMigrationSessionEpic, fetchInvoicingDataImportStatusEpic, runInvoicingInvoiceActionEpic, updateInvoicingInvoiceEpic, runInvoicingSubscriptionActionEpic, runInvoicingDunningActionEpic, runInvoicingPaymentActionEpic, fetchInvoicingCustomerListEpic, fetchInvoicingCustomerListPageEpic, fetchInvoicingCustomerCountsEpic, fetchInvoicingCustomerDetailEpic, fetchInvoicingCustomerDetailPageEpic, createInvoicingSetupIntentEpic, fetchInvoicingPlaidLinkTokenEpic, saveInvoicingPaymentMethodEpic, sendInvoicingPaymentLinkEpic, fetchInvoicingSubscriptionListEpic, fetchInvoicingSubscriptionListPageEpic, fetchInvoicingSubscriptionCountsEpic, fetchInvoicingSubscriptionDetailEpic, fetchInvoicingTransactionListEpic, fetchInvoicingTransactionListPageEpic, fetchInvoicingTransactionDetailEpic, fetchInvoicingCreditNoteListEpic, fetchInvoicingCreditNoteListPageEpic, fetchInvoicingCreditNoteCountsEpic, fetchInvoicingCreditNoteDetailEpic, fetchInvoicingCouponListEpic, fetchInvoicingCouponListPageEpic, fetchInvoicingCouponCountsEpic, fetchInvoicingCouponDetailEpic, fetchInvoicingDunningCaseListEpic, fetchInvoicingDunningCaseListPageEpic, fetchInvoicingDunningCaseCountsEpic, fetchInvoicingDunningCaseDetailEpic, fetchInvoicingCatalogPlanListEpic, fetchInvoicingCatalogProductListEpic, fetchInvoicingCatalogListPageEpic, fetchInvoicingCatalogCountsEpic, fetchInvoicingCatalogItemDetailEpic, fetchInvoicingSettingsEpic, saveInvoicingSettingsEpic, connectInvoicingStripeEpic, disconnectInvoicingStripeEpic, acceptBillPayTermsEpic, acceptBillPayUpdatedTermsEpic, acceptChargeCardTermsEpic, acceptEmployeeRemiTermsEpic, acceptMasterTOSEpic, acceptRemiTermsEpic, acceptTreasuryTermsEpic, acceptZeniAccountTermsEpic, addCardPaymentSourceEpic, approveOAuthConsentEpic, approveOrRejectBillEpic, approveOrRejectBillsBulkActionEpic, approveOrRejectRemiEpic, approveOrRejectRemisBulkActionEpic, approveVendorGlobalReviewEpic, archiveTaskEpic, backgroundRefetchReviewTabEpic, bulkUpdateTaskListEpic, cancelAiAccountantOnboardingEpic, cancelAndDeleteBillEpic, cancelAndDeleteRemiEpic, cancelOrDeleteBillsBulkActionEpic, cancelOrDeleteRemisBulkActionEpic, cancelScheduleAccruedJournalEntryEpic, changeZeniPersonRolesEpic, checkDepositEpic, clearAllEpic, closeChargeCardEpic, closeChargeCardsEpic, companyManagementSavePendingUpdatesEpic, companyManagementSaveUpdatesEpic, confirmCardSetupIntentEpic, convertAmountToHomeCurrencyEpic, createAddressEpic, createAutoTransferRuleEpic, createBankAccountEpic, createCardSetupIntentEpic, createCheckingAccountEpic, createCompanyAddressEpic, createCompanyOfficersEpic, createCompanyUserAddressEpic, createGlobalMerchantEpic, createInternationalBankAccountEpic, createNewSchedulesAccruedEpic, createNewSchedulesEpic, createNewTaskGroupEpic, createPaymentInstrumentEpic, createSessionAndSubmitEpic, createSessionEpic, createTagEpic, createTaskFromTaskGroupTemplateEpic, createTransferEntryEpic, createUserBankAccountEpic, deleteAccountStatementEpic, deleteAutoTransferRuleEpic, excludeAccountFromReconciliationEpic, includeAccountInReconciliationEpic, deleteBankAccountEpic, deleteBillEpic, deleteChatSessionEpic, deleteConnectionEpic, deleteBillPayApprovalRuleEpic, reorderBillPayApprovalRulesEpic, deleteFileEpic, deleteFileListEpic, deleteInternationalBankAccountEpic, deletePaymentInstrumentEpic, deletePersonEpic, deleteRemiApprovalRuleEpic, reorderRemiApprovalRulesEpic, deleteRemiEpic, deleteScheduleAccruedDetailEpic, deleteScheduleDetailEpic, deleteTagEpic, deleteTaskEpic, snoozeTaskEpic, unsnoozeTaskEpic, deleteTaskGroupEpic, deleteTransactionAttachmentEpic, deleteUserBankAccountEpic, doMagicLinkSignInEpic, doSignInEpic, doSignOutEpic, sendEmailMagicLinkToUserEpic, sessionHeartbeatEpic, verifyDeviceWithTwoFAEpic, downloadAccountingProviderAttachmentEpic, dragNDropTasksEpic, enableChargeCardAutoPayEpic, enableSetupEpic, establishOnboardingPlaidConnectionEpic, establishPlaidConnectionEpic, expressInterestChargeCardEpic, fetchAccountListEpic, fetchAccountListForAccountTypesEpic, fetchAccountSettingsListForAccountTypesEpic, fetchAccruedScheduleListEpic, fetchActiveTenantEpic, fetchAddressEpic, fetchAiAccountantCustomersEpic, fetchAiAccountantJobsEpic, fetchAllCockpitViewsEpic, fetchAllExpenseAutomationTabsEpic, fetchAllPeopleRequiredViewsEpic, fetchAllTagsEpic, fetchAllTaskGroupsEpic, fetchAllTenantsEpic, fetchAndUpdateVendorRecommendationsEpic, fetchAggregatedReportEpic, fetchApAgingDetailEpic, fetchApAgingEpic, fetchArAgingDetailEpic, fetchArAgingEpic, fetchAuditReportGroupViewEpic, fetchAuditRuleGroupViewEpic, fetchAutoTransferReviewDetailEpic, fetchAutoTransferRuleHistoryEpic, fetchAutoTransferRulesEpic, fetchBalanceSheetEpic, fetchBalanceSheetForTimeframeEpic, fetchBankAccountsListEpic, fetchBankConnectionsViewEpic, fetchBankCountryNameByIbanEpic, fetchBankNameByRoutingEpic, fetchBankNameBySwiftEpic, fetchBillAndInitializeLocalStoreEpic, fetchBillDetailEpic, fetchBillingAccountsListEpic, fetchBillListEpic, fetchBillListPerTabEpic, fetchBillPayApproversDetailsEpic, fetchBillPayApproversListEpic, fetchBillPayCardEpic, fetchBillPayConfigEpic, fetchBillPaySetupApproverViewEpic, fetchBillPaySetupViewEpic, fetchCardBalanceEpic, archiveCardPolicyEpic, createCardPolicyTemplatesEpic, extractPolicyDocumentEpic, policyRecommendationFromUploadEpic, policyDocumentExtractionToRecommendationBridgeEpic, fetchCardPolicyDetailEpic, fetchCardPolicyListEpic, fetchCardPolicyMccCategoriesEpic, fetchCardPolicyVendorOptionsEpic, fetchCardProfilesEpic, updateCardPolicyEpic, fetchCashbackDetailEpic, fetchCashBalanceEpic, fetchCashFlowEpic, fetchCashFlowForTimeframeEpic, fetchCashInCashOutEpic, fetchCashManagementSettingsEpic, saveAutoSweepSettingsEpic, fetchCashManagementBannerEpic, fetchCashManagementOverviewPageEpic, fetchCashManagementRecommendationEpic, fetchRecentTransferEpic, fetchCashPositionEpic, fetchChargeCardConfigEpic, fetchChargeCardDetailEpic, fetchChargeCardDetailPageEpic, fetchChargeCardListEpic, fetchChargeCardListPageEpic, fetchChargeCardPaymentPageEpic, fetchChargeCardRepaymentDetailEpic, fetchChargeCardPaymentHistoryEpic, fetchChargeCardSetupViewEpic, fetchChargeCardStatementListEpic, fetchChargeCardTransactionAttachmentsEpic, fetchChargeCardTransactionListEpic, fetchChargeCardTransactionStatisticsEpic, fetchChargeCardsRecurringExpensesEpic, fetchChatHistoryEpic, fetchChatSessionsForUserEpic, fetchClassListEpic, fetchCollaborationAuthTokenEpic, fetchCockpitContextEpic, fetchCompanyBillingAddressEpic, fetchCompanyConfigEpic, fetchCompanyHealthMetricConfigEpic, fetchCompanyHealthMetricViewEpic, fetchCompanyManagementViewEpic, fetchCompanyMetaDataEpic, fetchCompanyMonthEndReportHistoricDataEpic, fetchCompanyMonthEndReportHistoricDatesEpic, fetchCompanyMonthEndReportTemplatesEpic, fetchCompanyMonthEndReportViewEpic, fetchCompanyOnboardingViewEpic, fetchCompanyPassportViewEpic, fetchCompanyPortfolioViewEpic, fetchCompanyTaskManagerViewEpic, fetchTaskManagerMetricsEpic, updateCompanyTaskManagerViewFiltersEpic, fetchCreditAccountEpic, fetchCreditAccountRepaymentEpic, fetchCreditAgentMacroEpic, fetchCurrencyConversionValueEpic, fetchDashboardEpic, fetchDashboardLayoutEpic, fetchDebitCardSummaryEpic, fetchDepositAccountDetailEpic, fetchDepositAccountEpic, fetchDepositAccountHistoryEpic, fetchDepositAccountLimitEpic, fetchDepositAccountListEpic, fetchDepositAccountListForCardsEpic, fetchDepositAccountTransactionListEpic, fetchDownloadSchedulesEpic, fetchDuplicateBillPayReviewEpic, fetchDuplicateReimbursementEpic, fetchEditBillDetailPageEpic, fetchEditRemiDetailPageEpic, fetchEligibleActionsForBillEpic, fetchEntityAutoCompleteEpic, fetchEntityHistoryEpic, fetchEntityRecommendationsByTransactionIdEpic, fetchEntityRecommendationsForLineUpdateEpic, fetchExcludedResourcesEpic, fetchExpenseAutomationFluxAnalysisViewEpic, fetchExpenseAutomationInitializeTransactionCategorizationViewLocalDataEpic, fetchExpenseAutomationJeSchedulesEpic, fetchExpenseAutomationJESchedulesPageEpic, fetchExpenseAutomationMarkTransactionAsNotMiscategorizedEpic, fetchExpenseAutomationMissingReceiptsEpic, bulkUploadReceiptsEpic, confirmBulkUploadMatchEpic, fetchBulkUploadBatchDetailsEpic, fetchMultipleBatchDetailsEpic, fetchMoreBatchDetailsEpic, fetchBulkUploadBatchesEpic, fetchCompletedTransactionsEpic, refetchCompletedTransactionsOnBulkUploadSortEpic, refreshBatchDetailsForBatchIdEpic, bulkUploadAutomatchingTimeoutEpic, bulkUploadMatchResultToastEpic, syncTabsAfterAutomatchEpic, pollBulkUploadBatchStatusEpic, pusherBatchStatusCompletionEpic, restoreBulkUploadAutomatchingOnMountEpic, searchTransactionsForManualMatchEpic, fetchExpenseAutomationReconciliationsViewEpic, fetchExpenseAutomationSaveTransactionCategorizationEpic, fetchExpenseAutomationTransactionCategorizationEpic, fetchExpenseAutomationTransactionCategorizationViewEpic, fetchExpenseAutomationUpdateTransactionCategorizationEpic, fetchExpenseTrendEpic, fetchExpressPayInitialDetailsEpic, fetchExternalConnectionsEpic, fetchFileEpic, fetchFileListEpic, fetchFinanceStatementEpic, fetchForecastListEpic, initiateReportsClassViewRefetchingEpic, reportsResyncEpic, fetchGlobalMerchantAutoCompleteViewEpic, fetchGlobalMerchantRecommendationEpic, fetchIncomeTrendEpic, fetchInsightsCardEpic, fetchInternationalWireDynamicFormEpic, fetchIntlVerificationFormEpic, fetchIssueCardPageEpic, seedAiCardCreationFormDraftEpic, seedAiCardPolicyFormDraftEpic, applyExtractedPolicyToDraftEpic, fetchMagicLinkBankNameByRoutingEpic, fetchMagicLinkBankNameBySwiftEpic, fetchMagicLinkBillEpic, fetchMagicLinkTenantEpic, fetchManagementViewEpic, fetchMerchantListEpic, fetchMonthClosePerformanceTrendEpic, fetchMonthEndCloseChecksEpic, fetchMyProfileEpic, fetchMyProfileViewEpic, fetchNetBurnOrIncomeClassesViewEpic, fetchNetBurnOrIncomeEpic, fetchNetBurnOrIncomeForTimeframeClassesViewEpic, fetchNetBurnOrIncomeForTimeframeEpic, fetchNetBurnOrIncomeStoryCardEpic, fetchNetBurnOrIncomeWithForecastEpic, fetchNotificationSettingsEpic, fetchNotificationSettingsViewEpic, fetchNotificationUnreadCountEpic, fetchNotificationViewEpic, fetchRegisteredInterestsEpic, fetchOnboardingCompletedCompaniesEpic, fetchOnboardingCustomerSetupViewEpic, fetchOnboardingCustomerViewEpic, fetchOnboardingViewEpic, fetchOpExByVendorEpic, fetchOpExByVendorReportForTimeframeEpic, fetchOpExByVendorReportSummaryEpic, refreshOpExByVendorReportEpic, fetchOpExClassesViewEpic, fetchOpExEpic, fetchOpExForTimeframeClassesViewEpic, fetchOpExReportForTimeframeEpic, fetchOpExWithForecastEpic, fetchOwnerListEpic, fetchParentSubsidiaryManagementViewEpic, fetchPaymentAccountBalanceEpic, fetchPaymentAccountListEpic, fetchPaymentSourcesEpic, fetchPeopleEpic, fetchPeoplePageEpic, fetchPortfolioViewEpic, fetchPreviousBillsEpic, fetchProfitAndLossClassesViewEpic, fetchProfitAndLossEpic, fetchProfitAndLossForTimeframeClassesViewEpic, fetchProfitAndLossForTimeframeProjectViewEpic, fetchProfitAndLossForTimeframeEpic, fetchProfitAndLossProjectViewEpic, fetchProjectListEpic, fetchQBOConnectionPoolEpic, fetchRecommendationByEntityIdEpic, fetchRecommendationByEntityNameEpic, fetchRecommendationForAccountSettingsEpic, fetchRecommendationForAccountTypeEpic, fetchRecommendationsAndUpdateMerchantRecommendationsEpic, fetchRecommendedTransactionRowIndexEpic, fetchReferralsEpic, fetchReimbursementCardEpic, fetchReimbursementConfigEpic, fetchRemiAndInitializeLocalStoreEpic, fetchRemiApproversDetailsEpic, fetchRemiApproversListEpic, fetchRemiDetailEpic, fetchRemiListEpic, fetchRemiListPerTabEpic, fetchRemiSetupApproverViewEpic, fetchRemiSetupViewEpic, fetchRevenueClassesViewEpic, fetchRevenueEpic, fetchRevenueForTimeframeClassesViewEpic, fetchRevenueForTimeframeEpic, fetchRevenueWithForecastEpic, fetchReviewCompanyViewEpic, fetchReviewTransferDetailEpic, fetchRewardsPlanEpic, fetchScheduleAccruedDetailsEpic, fetchScheduleAccruedDetailsPageEpic, fetchScheduleDetailsEpic, fetchScheduleDetailsPageEpic, fetchScheduleListEpic, fetchSchedulesAccountEpic, fetchSubscriptionAddOnsEpic, fetchSubscriptionCouponsEpic, fetchSubscriptionCreateEstimateEpic, fetchSubscriptionDetailsEpic, fetchSubscriptionListEpic, fetchSubscriptionPlansEpic, fetchSubscriptionSummaryForTenantEpic, fetchSubscriptionUpdateEstimateEpic, fetchSubscriptionViewEpic, fetchSuggestedQuestionsEpic, fetchSkillsEpic, fetchTaskDetailEpic, fetchTaskDetailPageEpic, fetchTaskGroupTemplatesEpic, fetchTaskHistoryEpic, fetchTaskListEpic, fetchTaskListPageEpic, fetchTasksCardEpic, fetchTopExEpic, fetchTransactionActivityLogEpic, fetchTransactionDetailEpic, fetchTransactionListByAccountEpic, fetchTransactionListByClassEpic, fetchTransactionListByProjectEpic, fetchTransactionListByEntityEpic, fetchTransactionsForEntityEpic, fetchTransactionsListByCategoryTypeEpic, fetchTransferAccountsEpic, fetchTreasuryDetailEpic, fetchTreasuryFundsEpic, fetchTreasuryHistoryEpic, fetchTreasurySetupViewEpic, fetchTreasuryStatementListEpic, fetchTreasuryTaxLetterListEpic, fetchTreasuryTransactionListEpic, updatePortfolioAllocationEpic, fetchPortfolioAllocationEpic, fetchTrendForEntityEpic, fetchUserDetailEpic, fetchUserFinancialAccountEpic, fetchUserListByTypeEpic, fetchUserRoleConfigEpic, fetchVendor1099TypeListEpic, fetchVendorAndUpdateBillLocalDataEpic, fetchVendorByNameAndParseInvoiceEpic, fetchVendorDetailsEpic, fetchVendorEpic, fetchVendorFirstReviewAttachmentsEpic, fetchVendorFirstReviewViewEpic, fetchVendorGlobalReviewViewEpic, fetchVendorsFiling1099AllEpic, fetchVendorsFiling1099DownloadEpic, fetchVendorsFiling1099ListEpic, fetchVendorsListEpic, fetchVendorsTabVendorDetailPageViewEpic, fetchVendorsTabVendorDetailsEpic, fetchVendorsTabVendorEpic, fetchVendorTabViewEpic, fetchVendorTypeListEpic, fetchZeniAccountListEpic, fetchZeniAccountsConfigEpic, fetchZeniAccountSetupViewEpic, fetchZeniAccountsPromoCardEpic, fetchZeniAccStatementListEpic, fetchZeniAccStatementPageEpic, fetchZeniUsersEpic, getOnboardingEmailGroupEpic, getOnboardingPlaidLinkTokenEpic, getPaymentAccountsEpic, getPlaidLinkTokenEpic, ignoreExpenseAutomationJEScheduleEpic, improveUsingZeniGPTEpic, initialiseExpenseAutomationReconciliationLocalDataForSelectedAccountIdEpic, initializeAccountMappingViewEpic, initializeAccountSettingsViewEpic, initializeBillPaySetupApproverViewUpdateDataEpic, initializeBillToLocalStoreEpic, initializeCardUserOnboardingLocalDataEpic, initializeCompanyHealthMetricViewLocalDataEpic, initializeDynamicFormEpic, initializeEditPersonEpic, initializeExpenseAutomationJeScheduleLocalDataEpic, initializeInternationalWireLocalDataEpic, initializeIntlVerificationFormEpic, initializeMyProfileLocalDataEpic, initializeOnboardingCustomerViewUpdateDataEpic, initializeRemiSetupApproverViewUpdateDataEpic, initializeRemiToLocalStoreEpic, initializeScheduleAccruedDetailLocalDataEpic, initializeScheduleDetailLocalDataEpic, initializeSubscriptionLocalDataEpic, initializeTaskToLocalStoreEpic, initializeTransactionDetailLocalDataEpic, initializeVendorAddressEpic, initiateChargeCardRepaymentEpic, invitePeopleEpic, inviteZeniPeopleEpic, issueChargeCardEpic, lockChargeCardEpic, lockChargeCardsEpic, markAsCompleteScheduleDetailEpic, markTransactionAsNotMiscategorizedEpic, notifyMeForFeatureEpic, parallelFetchAccountTransactionListEpic, parallelFetchClassTransactionListEpic, parallelFetchProjectTransactionListEpic, parallelFetchEntityTransactionListEpic, parallelFetchTransactionListByCategoryTypeEpic, parseInvoiceToBillEpic, parseReceiptsToRemiEpic, peopleSaveUpdatesEpic, pushToastNotificationEpic, refreshExpenseAutomationCurrentTabEpic, refreshIntegrationsDataEpic, rejectVendorGlobalReviewEpic, resendCardInviteEpic, resendInviteEpic, resendOtpEpic, resendVerifyDeviceOTPEpic, resendReferralInviteEpic, resetTransactionVendorLocalDataEpic, resetVendorDetailLocalDataEpic, resetVendorsTabVendorDetailLocalDataEpic, retryBankAccountConnectionEpic, retryBankAccountConnectionForOnboardingEpic, retryExpenseAutomationJEScheduleEpic, retryOrRefundBillEpic, validateBillsBulkActionEpic, reviewDraftRemisBulkActionEpic, reviewExpenseAutomationFluxAnalysisViewEpic, revokeCardInviteEpic, revokeChargeCardsInviteEpic, saveAccountMappingViewEpic, saveAccountSettingsViewEpic, saveAPIKeyConnectionEpic, saveBillDetailEpic, saveBillPaySetupApproverViewUpdatesEpic, saveCardOnboardingUserDetailsEpic, saveCompanyBillingAddressEpic, saveCompanyHealthMetricByIdEpic, saveCompanyMonthEndReportEpic, saveCompanyPassportDetailsEpic, initEmailConnectOAuthEpic, saveConnectorCredentialsEpic, saveCreditAgentMacroEpic, saveExpenseAutomationReconciliationDetailsEpic, saveExpenseAutomationReconciliationReviewEpic, saveExternalConnectionEpic, saveMagicLinkBankAccountEpic, saveNewAddressEpic, saveNotificationSettingsEpic, saveOAuthConnectionEpic, saveOnboardingCustomerCompletedStatusEpic, saveOnboardingCustomerNotesEpic, saveOnboardingCustomerViewUpdatesEpic, saveRealTimeApprovalEpic, saveReasonForAuditRuleEpic, saveRemiDetailEpic, saveRemiSetupApproverViewUpdatesEpic, saveScheduleAccruedDetailsEpic, saveScheduleDetailsEpic, saveSubscriptionNotesUpdatesEpic, saveSubscriptionUpdatesEpic, saveTaskDetailEpic, saveTransactionDetailEpic, saveTransactionVendorEpic, saveVendorDetailsViewEpic, saveVendorEpic, saveVendorFirstReviewViewEpic, saveVendorsTabVendorEpic, scheduleTenantCreditScoreCronEpic, sendCompanyMonthEndReportEpic, sendOnboardingCustomerViewInviteEpic, sendOtpEpic, sendReferralInviteEpic, statementCloseDayEpic, stopSubmitEpic, stopSubmitQuestionEpic, submitDraftBillsBulkActionEpic, submitDraftRemisBulkActionEpic, submitExpressPayEpic, submitFeedbackEpic, submitIntlVerificationEpic, submitQuestionEpic, toggleReportUIOptionForecastModeEpic, transferMoneyEpic, treasuryTransferMoneyEpic, triggerAiAccountantJobEpic, triggerReviewTabRefetchEpic, unlinkPaymentAccountEpic, unlockChargeCardEpic, unlockChargeCardsEpic, updateAccruedJESchedulesEpic, updateAddressEpic, updateAmountsInScheduleAccruedDetailEpic, updateAmountsInScheduleDetailEpic, updateAutoTransferRuleEpic, updateBusinessVerificationDetailsEpic, updateCardProfileEpic, updateChargeCardDetailEpic, updateChargeCardLimitEpic, updateChargeCardNameEpic, updateChargeCardsLimitEpic, updateAccountingClassesEnabledEpic, dismissCapitalizationOnboardingEpic, updateCapitalizationAccountThresholdEpic, updateCompanyDetailsEpic, updateCompanyOfficerEpic, updateCompanyPassportLocalStoreDataEpic, updateDashboardLayoutEpic, updateDebitCardPinAttemptEpic, updateDepositAccountEpic, updateExpenseAutomationReconciliationBalanceLocalDataEpic, updateFileNameEpic, updateFilesMetadataEpic, updateJESchedulesEpic, updateMappedCashAccountEpic, updateMileageDetailsEpic, updateMyProfileEpic, updateNetBurnOrIncomeStoryCardSettingsEpic, updateNotificationViewAllNotificationsStatusEpic, updateNotificationViewNotificationStatusEpic, updateOnboardingCustomerViewCompleteStatusEpic, acknowledgeOnboardingAiActivationViewedEpic, acknowledgeOnboardingAiFinanceTeamEpic, fetchAiAgentsActivationStatusEpic, updateOnboardingCustomerViewDashboardLoadedEpic, updateOnboardingCustomerViewEpic, updateOnboardingCustomerViewLocalStoreDataEpic, updateOnboardingPaymentAccountLoginStatusEpic, updateOnboardingPaymentAccountStatusEpic, updatePaymentAccountEpic, updatePaymentAccountLoginStatusEpic, updatePaymentAccountStatusEpic, updatePhysicalChargeCardAttemptEpic, updatePrimaryContactEpic, updatePrimaryFundingAccountEpic, updateQBOConnectionPoolExternalConnectionEpic, updateReferViewedEpic, updateRemiSetupViewLocalStoreDataEpic, updateReportUIOptionCOABalancesRangeEpic, updateReportUIOptionIsCompareModeEpic, updateReportUIOptionIsCompareModeOnEpic, updateReportUIOptionThisPeriodEpic, updateReportUIOptionTimeFrameEpic, updateSectionAccountsViewEpic, updateSectionClassesViewEpicV2, updateSectionProjectViewEpic, updateSelectedVendorForCreateFlowEpic, updateSetupViewLocalStoreDataEpic, parseUploadedKycDocumentEpic, parseUploadedKybDocumentEpic, updateTaskFromListViewEpic, updateTaskGroupNameEpic, fetchCannedResponsesEpic, saveCannedResponseEpic, deleteCannedResponseEpic, updateTransactionDetailEpic, updateTreasuryPromoIntroClosedByOutsideClickEpic, updateTreasuryPromoRemindMeLaterClickedEpic, updateTreasuryVideoViewedEpic, updateVendorContactEpic, uploadAccountStatementEpic, parseStatementEpic, reparseStatementEpic, updateStatementInfoEpic, uploadMissingAttachmentSuccessEpic, uploadMissingReceiptSuccessEpic, uploadTransactionReceiptSuccessEpic, vendorFiling1099UploadDetailsSaveEpic, verifyOtpEpic, verifyUserEpic, waitForBillDetailThenInitializeLocalStoreEpic, waitForForecastListThenFetchNetBurnOrIncomeWithForecastEpic, waitForForecastListThenFetchOpExWithForecastEpic, waitForForecastListThenFetchRevenueWithForecastEpic, waitForMerchantRecommendationFetchThenUpdateRecommendationInMerchantEpic, waitForVendorByIdThenSaveBillUpdatetoLocalStoreEpic, waitForVendorByNameThenParsetoLocalStoreEpic, waitForVendorByNameThenUpdateBillDetailEpic, waitForVendorRecommendationFetchThenUpdateRecommendationInBillEpic, wiseRedirectEpic);
|
|
680
|
+
const combinedEpics = combineEpics(fetchInvoiceListEpic, fetchInvoiceListPageEpic, fetchInvoiceCountsEpic, fetchInvoiceKPIsEpic, fetchInvoiceDetailEpic, createInvoiceEpic, recordPaymentEpic, fetchInvoicingOverviewEpic, fetchInvoicingOverviewKPIsEpic, fetchInvoicingOverviewRevenueEpic, fetchInvoicingOverviewMRREpic, fetchInvoicingOverviewChurnEpic, fetchInvoicingOverviewPlanRevenueEpic, fetchInvoicingOverviewDashboardSummaryEpic, fetchInvoicingAuditLogEpic, saveInvoicingCatalogItemEpic, saveInvoicingCouponEpic, saveInvoicingCustomerEpic, initializeInvoicingCustomerAddressEpic, saveInvoicingSubscriptionEpic, fetchInvoicingSubscriptionFormPageEpic, invoicingDataImportActionEpic, fetchInvoicingMigrationSessionsEpic, fetchInvoicingMigrationSessionEpic, fetchInvoicingDataImportStatusEpic, runInvoicingInvoiceActionEpic, updateInvoicingInvoiceEpic, runInvoicingSubscriptionActionEpic, runInvoicingDunningActionEpic, runInvoicingPaymentActionEpic, fetchInvoicingCustomerListEpic, fetchInvoicingCustomerListPageEpic, fetchInvoicingCustomerCountsEpic, fetchInvoicingCustomerDetailEpic, fetchInvoicingCustomerDetailPageEpic, createInvoicingSetupIntentEpic, fetchInvoicingPlaidLinkTokenEpic, saveInvoicingPaymentMethodEpic, sendInvoicingPaymentLinkEpic, fetchInvoicingSubscriptionListEpic, fetchInvoicingSubscriptionListPageEpic, fetchInvoicingSubscriptionCountsEpic, fetchInvoicingSubscriptionDetailEpic, fetchInvoicingTransactionListEpic, fetchInvoicingTransactionListPageEpic, fetchInvoicingTransactionDetailEpic, fetchInvoicingCreditNoteListEpic, fetchInvoicingCreditNoteListPageEpic, fetchInvoicingCreditNoteCountsEpic, fetchInvoicingCreditNoteDetailEpic, fetchInvoicingCouponListEpic, fetchInvoicingCouponListPageEpic, fetchInvoicingCouponCountsEpic, fetchInvoicingCouponDetailEpic, fetchInvoicingDunningCaseListEpic, fetchInvoicingDunningCaseListPageEpic, fetchInvoicingDunningCaseCountsEpic, fetchInvoicingDunningCaseDetailEpic, fetchInvoicingCatalogPlanListEpic, fetchInvoicingCatalogProductListEpic, fetchInvoicingCatalogListPageEpic, fetchInvoicingCatalogCountsEpic, fetchInvoicingCatalogItemDetailEpic, fetchInvoicingSettingsEpic, saveInvoicingSettingsEpic, connectInvoicingStripeEpic, disconnectInvoicingStripeEpic, acceptBillPayTermsEpic, acceptBillPayUpdatedTermsEpic, acceptChargeCardTermsEpic, acceptEmployeeRemiTermsEpic, acceptMasterTOSEpic, acceptRemiTermsEpic, acceptTreasuryTermsEpic, acceptZeniAccountTermsEpic, addCardPaymentSourceEpic, approveOAuthConsentEpic, approveOrRejectBillEpic, approveOrRejectBillsBulkActionEpic, approveOrRejectRemiEpic, approveOrRejectRemisBulkActionEpic, approveVendorGlobalReviewEpic, archiveTaskEpic, backgroundRefetchReviewTabEpic, bulkUpdateTaskListEpic, cancelAiAccountantOnboardingEpic, cancelAndDeleteBillEpic, cancelAndDeleteRemiEpic, cancelOrDeleteBillsBulkActionEpic, cancelOrDeleteRemisBulkActionEpic, cancelScheduleAccruedJournalEntryEpic, changeZeniPersonRolesEpic, checkDepositEpic, clearAllEpic, closeChargeCardEpic, closeChargeCardsEpic, companyManagementSavePendingUpdatesEpic, companyManagementSaveUpdatesEpic, confirmCardSetupIntentEpic, convertAmountToHomeCurrencyEpic, createAddressEpic, createAutoTransferRuleEpic, createBankAccountEpic, createCardSetupIntentEpic, createCheckingAccountEpic, createCompanyAddressEpic, createCompanyOfficersEpic, createCompanyUserAddressEpic, createGlobalMerchantEpic, createInternationalBankAccountEpic, createNewSchedulesAccruedEpic, createNewSchedulesEpic, createNewTaskGroupEpic, createPaymentInstrumentEpic, createSessionAndSubmitEpic, createSessionEpic, createTagEpic, createTaskFromTaskGroupTemplateEpic, createTransferEntryEpic, createUserBankAccountEpic, deleteAccountStatementEpic, deleteAutoTransferRuleEpic, excludeAccountFromReconciliationEpic, includeAccountInReconciliationEpic, deleteBankAccountEpic, deleteBillEpic, deleteChatSessionEpic, deleteConnectionEpic, deleteBillPayApprovalRuleEpic, reorderBillPayApprovalRulesEpic, deleteFileEpic, deleteFileListEpic, deleteInternationalBankAccountEpic, deletePaymentInstrumentEpic, deletePersonEpic, deleteRemiApprovalRuleEpic, reorderRemiApprovalRulesEpic, deleteRemiEpic, deleteScheduleAccruedDetailEpic, deleteScheduleDetailEpic, deleteTagEpic, deleteTaskEpic, snoozeTaskEpic, unsnoozeTaskEpic, deleteTaskGroupEpic, deleteTransactionAttachmentEpic, deleteUserBankAccountEpic, doMagicLinkSignInEpic, doSignInEpic, doSignOutEpic, sendEmailMagicLinkToUserEpic, sessionHeartbeatEpic, verifyDeviceWithTwoFAEpic, downloadAccountingProviderAttachmentEpic, dragNDropTasksEpic, enableChargeCardAutoPayEpic, enableSetupEpic, establishOnboardingPlaidConnectionEpic, establishPlaidConnectionEpic, expressInterestChargeCardEpic, fetchAccountListEpic, fetchAccountListForAccountTypesEpic, fetchAccountSettingsListForAccountTypesEpic, fetchAccruedScheduleListEpic, fetchActiveTenantEpic, fetchAddressEpic, fetchAiAccountantCustomersEpic, fetchAiAccountantJobsEpic, fetchAllCockpitViewsEpic, fetchAllExpenseAutomationTabsEpic, fetchAllPeopleRequiredViewsEpic, fetchAllTagsEpic, fetchAllTaskGroupsEpic, fetchAllTenantsEpic, fetchAndUpdateVendorRecommendationsEpic, fetchAggregatedReportEpic, fetchApAgingDetailEpic, fetchApAgingEpic, fetchArAgingDetailEpic, fetchArAgingEpic, fetchAuditReportGroupViewEpic, fetchAuditRuleGroupViewEpic, fetchAutoTransferReviewDetailEpic, fetchAutoTransferRuleHistoryEpic, fetchAutoTransferRulesEpic, fetchBalanceSheetEpic, fetchBalanceSheetForTimeframeEpic, fetchBankAccountsListEpic, fetchBankConnectionsViewEpic, fetchBankCountryNameByIbanEpic, fetchBankNameByRoutingEpic, fetchBankNameBySwiftEpic, fetchBillAndInitializeLocalStoreEpic, fetchBillDetailEpic, fetchBillingAccountsListEpic, fetchBillListEpic, fetchBillListPerTabEpic, fetchBillPayApproversDetailsEpic, fetchBillPayApproversListEpic, fetchBillPayCardEpic, fetchBillPayConfigEpic, fetchBillPaySetupApproverViewEpic, fetchBillPaySetupViewEpic, fetchCardBalanceEpic, archiveCardPolicyEpic, createCardPolicyTemplatesEpic, extractPolicyDocumentEpic, policyRecommendationFromUploadEpic, policyDocumentExtractionToRecommendationBridgeEpic, fetchCardPolicyDetailEpic, fetchCardPolicyListEpic, fetchCardPolicyMccCategoriesEpic, fetchCardPolicyVendorOptionsEpic, fetchCardProfilesEpic, updateCardPolicyEpic, fetchCashbackDetailEpic, fetchCashBalanceEpic, fetchCashFlowEpic, fetchCashFlowForTimeframeEpic, fetchCashInCashOutEpic, fetchCashManagementSettingsEpic, saveAutoSweepSettingsEpic, fetchCashManagementBannerEpic, fetchCashManagementOverviewPageEpic, fetchCashManagementRecommendationEpic, fetchRecentTransferEpic, fetchCashPositionEpic, fetchChargeCardConfigEpic, fetchChargeCardDetailEpic, fetchChargeCardDetailPageEpic, fetchChargeCardListEpic, fetchChargeCardListPageEpic, fetchChargeCardPaymentPageEpic, fetchChargeCardRepaymentDetailEpic, fetchChargeCardPaymentHistoryEpic, fetchChargeCardSetupViewEpic, fetchChargeCardStatementListEpic, fetchChargeCardTransactionAttachmentsEpic, fetchChargeCardTransactionListEpic, fetchChargeCardTransactionStatisticsEpic, fetchChargeCardsRecurringExpensesEpic, fetchChatHistoryEpic, fetchChatSessionsForUserEpic, fetchClassListEpic, fetchCollaborationAuthTokenEpic, fetchCockpitContextEpic, fetchCompanyBillingAddressEpic, fetchCompanyConfigEpic, fetchCompanyHealthMetricConfigEpic, fetchCompanyHealthMetricViewEpic, fetchCompanyManagementViewEpic, fetchCompanyMetaDataEpic, fetchCompanyMonthEndReportHistoricDataEpic, fetchCompanyMonthEndReportHistoricDatesEpic, fetchCompanyMonthEndReportTemplatesEpic, fetchCompanyMonthEndReportViewEpic, fetchCompanyOnboardingViewEpic, fetchCompanyPassportViewEpic, fetchCompanyPortfolioViewEpic, fetchCompanyTaskManagerViewEpic, fetchTaskManagerMetricsEpic, updateCompanyTaskManagerViewFiltersEpic, fetchCreditAccountEpic, fetchCreditAccountRepaymentEpic, fetchCreditAgentMacroEpic, fetchCurrencyConversionValueEpic, fetchDashboardEpic, fetchDashboardLayoutEpic, fetchDebitCardSummaryEpic, fetchDepositAccountDetailEpic, fetchDepositAccountEpic, fetchDepositAccountHistoryEpic, fetchDepositAccountLimitEpic, fetchDepositAccountListEpic, fetchDepositAccountListForCardsEpic, fetchDepositAccountTransactionListEpic, fetchDownloadSchedulesEpic, fetchDuplicateBillPayReviewEpic, fetchDuplicateReimbursementEpic, fetchEditBillDetailPageEpic, fetchEditRemiDetailPageEpic, fetchEligibleActionsForBillEpic, fetchEntityAutoCompleteEpic, fetchEntityHistoryEpic, fetchEntityRecommendationsByTransactionIdEpic, fetchEntityRecommendationsForLineUpdateEpic, fetchExcludedResourcesEpic, fetchExpenseAutomationFluxAnalysisViewEpic, fetchExpenseAutomationInitializeTransactionCategorizationViewLocalDataEpic, fetchExpenseAutomationJeSchedulesEpic, fetchExpenseAutomationJESchedulesPageEpic, fetchExpenseAutomationMarkTransactionAsNotMiscategorizedEpic, fetchExpenseAutomationMissingReceiptsEpic, bulkUploadReceiptsEpic, confirmBulkUploadMatchEpic, fetchBulkUploadBatchDetailsEpic, fetchMultipleBatchDetailsEpic, fetchMoreBatchDetailsEpic, fetchBulkUploadBatchesEpic, fetchCompletedTransactionsEpic, refetchCompletedTransactionsOnBulkUploadSortEpic, refreshBatchDetailsForBatchIdEpic, bulkUploadAutomatchingTimeoutEpic, bulkUploadMatchResultToastEpic, syncTabsAfterAutomatchEpic, pollBulkUploadBatchStatusEpic, pusherBatchStatusCompletionEpic, restoreBulkUploadAutomatchingOnMountEpic, searchTransactionsForManualMatchEpic, fetchExpenseAutomationReconciliationsViewEpic, fetchExpenseAutomationSaveTransactionCategorizationEpic, fetchExpenseAutomationTransactionCategorizationEpic, fetchExpenseAutomationTransactionCategorizationViewEpic, fetchExpenseAutomationUpdateTransactionCategorizationEpic, fetchExpenseTrendEpic, fetchExpressPayInitialDetailsEpic, fetchExternalConnectionsEpic, fetchFileEpic, fetchFileListEpic, fetchFinanceStatementEpic, fetchForecastListEpic, initiateReportsClassViewRefetchingEpic, reportsResyncEpic, fetchGlobalMerchantAutoCompleteViewEpic, fetchGlobalMerchantRecommendationEpic, fetchIncomeTrendEpic, fetchInsightsCardEpic, fetchInternationalWireDynamicFormEpic, fetchIntlVerificationFormEpic, fetchIssueCardPageEpic, seedAiCardCreationFormDraftEpic, seedAiCardPolicyFormDraftEpic, applyExtractedPolicyToDraftEpic, fetchMagicLinkBankNameByRoutingEpic, fetchMagicLinkBankNameBySwiftEpic, fetchMagicLinkBillEpic, fetchMagicLinkTenantEpic, fetchManagementViewEpic, fetchMerchantListEpic, fetchMonthClosePerformanceTrendEpic, fetchMonthEndCloseChecksEpic, fetchMyProfileEpic, fetchMyProfileViewEpic, fetchNetBurnOrIncomeClassesViewEpic, fetchNetBurnOrIncomeEpic, fetchNetBurnOrIncomeForTimeframeClassesViewEpic, fetchNetBurnOrIncomeForTimeframeEpic, fetchNetBurnOrIncomeStoryCardEpic, fetchNetBurnOrIncomeWithForecastEpic, fetchNotificationSettingsEpic, fetchNotificationSettingsViewEpic, fetchNotificationUnreadCountEpic, fetchNotificationViewEpic, fetchRegisteredInterestsEpic, fetchOnboardingCompletedCompaniesEpic, fetchOnboardingCustomerSetupViewEpic, fetchOnboardingCustomerViewEpic, fetchOnboardingViewEpic, fetchOpExByVendorEpic, fetchOpExByVendorReportForTimeframeEpic, fetchOpExByVendorReportSummaryEpic, refreshOpExByVendorReportEpic, fetchOpExClassesViewEpic, fetchOpExEpic, fetchOpExForTimeframeClassesViewEpic, fetchOpExReportForTimeframeEpic, fetchOpExWithForecastEpic, fetchOwnerListEpic, fetchParentSubsidiaryManagementViewEpic, fetchPaymentAccountBalanceEpic, fetchPaymentAccountListEpic, fetchPaymentSourcesEpic, fetchPeopleEpic, fetchPeoplePageEpic, fetchPortfolioViewEpic, fetchPreviousBillsEpic, fetchProfitAndLossClassesViewEpic, fetchProfitAndLossEpic, fetchProfitAndLossForTimeframeClassesViewEpic, fetchProfitAndLossForTimeframeProjectViewEpic, fetchProfitAndLossForTimeframeEpic, fetchProfitAndLossProjectViewEpic, fetchProjectListEpic, fetchQBOConnectionPoolEpic, fetchRecommendationByEntityIdEpic, fetchRecommendationByEntityNameEpic, fetchRecommendationForAccountSettingsEpic, fetchRecommendationForAccountTypeEpic, fetchRecommendationsAndUpdateMerchantRecommendationsEpic, fetchRecommendedTransactionRowIndexEpic, fetchReferralsEpic, fetchReimbursementCardEpic, fetchReimbursementConfigEpic, fetchRemiAndInitializeLocalStoreEpic, fetchRemiApproversDetailsEpic, fetchRemiApproversListEpic, fetchRemiDetailEpic, fetchRemiListEpic, fetchRemiListPerTabEpic, fetchRemiSetupApproverViewEpic, fetchRemiSetupViewEpic, fetchRevenueClassesViewEpic, fetchRevenueEpic, fetchRevenueForTimeframeClassesViewEpic, fetchRevenueForTimeframeEpic, fetchRevenueWithForecastEpic, fetchReviewCompanyViewEpic, fetchReviewTransferDetailEpic, fetchRewardsPlanEpic, fetchScheduleAccruedDetailsEpic, fetchScheduleAccruedDetailsPageEpic, fetchScheduleDetailsEpic, fetchScheduleDetailsPageEpic, fetchScheduleListEpic, fetchSchedulesAccountEpic, fetchSubscriptionAddOnsEpic, fetchSubscriptionCouponsEpic, fetchSubscriptionCreateEstimateEpic, fetchSubscriptionDetailsEpic, fetchSubscriptionListEpic, fetchSubscriptionPlansEpic, fetchSubscriptionSummaryForTenantEpic, fetchSubscriptionUpdateEstimateEpic, fetchSubscriptionViewEpic, fetchSuggestedQuestionsEpic, fetchSkillsEpic, fetchTaskDetailEpic, fetchTaskDetailPageEpic, fetchTaskGroupTemplatesEpic, fetchTaskHistoryEpic, fetchTaskListEpic, fetchTaskListPageEpic, fetchTasksCardEpic, fetchTopExEpic, fetchTransactionActivityLogEpic, fetchTransactionDetailEpic, fetchTransactionListByAccountEpic, fetchTransactionListByClassEpic, fetchTransactionListByProjectEpic, fetchTransactionListByEntityEpic, fetchTransactionsForEntityEpic, fetchTransactionsListByCategoryTypeEpic, fetchTransferAccountsEpic, fetchTreasuryDetailEpic, fetchTreasuryFundsEpic, fetchTreasuryHistoryEpic, fetchTreasurySetupViewEpic, fetchTreasuryStatementListEpic, fetchTreasuryTaxLetterListEpic, fetchTreasuryTransactionListEpic, updatePortfolioAllocationEpic, fetchPortfolioAllocationEpic, fetchTrendForEntityEpic, fetchUserDetailEpic, fetchUserFinancialAccountEpic, fetchUserListByTypeEpic, fetchUserRoleConfigEpic, fetchVendor1099TypeListEpic, fetchVendorAndUpdateBillLocalDataEpic, fetchVendorByNameAndParseInvoiceEpic, fetchVendorDetailsEpic, fetchVendorEpic, fetchVendorFirstReviewAttachmentsEpic, fetchVendorFirstReviewViewEpic, fetchVendorGlobalReviewViewEpic, fetchVendorsFiling1099AllEpic, fetchVendorsFiling1099DownloadEpic, fetchVendorsFiling1099ListEpic, fetchVendorsListEpic, fetchVendorsTabVendorDetailPageViewEpic, fetchVendorsTabVendorDetailsEpic, fetchVendorsTabVendorEpic, fetchVendorTabViewEpic, fetchVendorTypeListEpic, fetchZeniAccountListEpic, fetchZeniAccountsConfigEpic, fetchZeniAccountSetupViewEpic, fetchZeniAccountsPromoCardEpic, fetchZeniAccStatementListEpic, fetchZeniAccStatementPageEpic, fetchZeniUsersEpic, getOnboardingEmailGroupEpic, getOnboardingPlaidLinkTokenEpic, getPaymentAccountsEpic, getPlaidLinkTokenEpic, ignoreExpenseAutomationJEScheduleEpic, improveUsingZeniGPTEpic, initialiseExpenseAutomationReconciliationLocalDataForSelectedAccountIdEpic, initializeAccountMappingViewEpic, initializeAccountSettingsViewEpic, initializeBillPaySetupApproverViewUpdateDataEpic, initializeBillToLocalStoreEpic, initializeCardUserOnboardingLocalDataEpic, initializeCompanyHealthMetricViewLocalDataEpic, initializeDynamicFormEpic, initializeEditPersonEpic, initializeExpenseAutomationJeScheduleLocalDataEpic, initializeInternationalWireLocalDataEpic, initializeIntlVerificationFormEpic, initializeMyProfileLocalDataEpic, initializeOnboardingCustomerViewUpdateDataEpic, initializeRemiSetupApproverViewUpdateDataEpic, initializeRemiToLocalStoreEpic, initializeScheduleAccruedDetailLocalDataEpic, initializeScheduleDetailLocalDataEpic, initializeSubscriptionLocalDataEpic, initializeTaskToLocalStoreEpic, initializeTransactionDetailLocalDataEpic, initializeVendorAddressEpic, initiateChargeCardRepaymentEpic, invitePeopleEpic, inviteZeniPeopleEpic, issueChargeCardEpic, lockChargeCardEpic, lockChargeCardsEpic, markAsCompleteScheduleDetailEpic, markTransactionAsNotMiscategorizedEpic, notifyMeForFeatureEpic, parallelFetchAccountTransactionListEpic, parallelFetchClassTransactionListEpic, parallelFetchProjectTransactionListEpic, parallelFetchEntityTransactionListEpic, parallelFetchTransactionListByCategoryTypeEpic, parseInvoiceToBillEpic, parseReceiptsToRemiEpic, peopleSaveUpdatesEpic, pushToastNotificationEpic, refreshExpenseAutomationCurrentTabEpic, refreshIntegrationsDataEpic, rejectVendorGlobalReviewEpic, resendCardInviteEpic, resendInviteEpic, resendOtpEpic, resendVerifyDeviceOTPEpic, resendReferralInviteEpic, resetTransactionVendorLocalDataEpic, resetVendorDetailLocalDataEpic, resetVendorsTabVendorDetailLocalDataEpic, retryBankAccountConnectionEpic, retryBankAccountConnectionForOnboardingEpic, retryExpenseAutomationJEScheduleEpic, retryOrRefundBillEpic, validateBillsBulkActionEpic, reviewDraftRemisBulkActionEpic, reviewExpenseAutomationFluxAnalysisViewEpic, revokeCardInviteEpic, revokeChargeCardsInviteEpic, saveAccountMappingViewEpic, saveAccountSettingsViewEpic, saveAPIKeyConnectionEpic, saveBillDetailEpic, saveBillPaySetupApproverViewUpdatesEpic, saveCardOnboardingUserDetailsEpic, saveCompanyBillingAddressEpic, saveCompanyHealthMetricByIdEpic, saveCompanyMonthEndReportEpic, saveCompanyPassportDetailsEpic, initEmailConnectOAuthEpic, saveConnectorCredentialsEpic, saveCreditAgentMacroEpic, saveExpenseAutomationReconciliationDetailsEpic, saveExpenseAutomationReconciliationReviewEpic, saveExternalConnectionEpic, saveMagicLinkBankAccountEpic, saveNewAddressEpic, saveNotificationSettingsEpic, saveOAuthConnectionEpic, saveOnboardingCustomerCompletedStatusEpic, saveOnboardingCustomerNotesEpic, saveOnboardingCustomerViewUpdatesEpic, saveRealTimeApprovalEpic, saveReasonForAuditRuleEpic, saveRemiDetailEpic, saveRemiSetupApproverViewUpdatesEpic, saveScheduleAccruedDetailsEpic, saveScheduleDetailsEpic, saveSubscriptionNotesUpdatesEpic, saveSubscriptionUpdatesEpic, saveTaskDetailEpic, saveTransactionDetailEpic, saveTransactionVendorEpic, saveVendorDetailsViewEpic, saveVendorEpic, saveVendorFirstReviewViewEpic, saveVendorsTabVendorEpic, scheduleTenantCreditScoreCronEpic, sendCompanyMonthEndReportEpic, sendOnboardingCustomerViewInviteEpic, sendOtpEpic, sendReferralInviteEpic, statementCloseDayEpic, stopSubmitEpic, stopSubmitQuestionEpic, submitDraftBillsBulkActionEpic, submitDraftRemisBulkActionEpic, submitExpressPayEpic, submitFeedbackEpic, submitIntlVerificationEpic, submitQuestionEpic, toggleReportUIOptionForecastModeEpic, transferMoneyEpic, treasuryTransferMoneyEpic, triggerAiAccountantJobEpic, triggerReviewTabRefetchEpic, unlinkPaymentAccountEpic, unlockChargeCardEpic, unlockChargeCardsEpic, updateAccruedJESchedulesEpic, updateAddressEpic, updateAmountsInScheduleAccruedDetailEpic, updateAmountsInScheduleDetailEpic, updateAutoTransferRuleEpic, updateBusinessVerificationDetailsEpic, updateCardProfileEpic, updateChargeCardDetailEpic, updateChargeCardLimitEpic, updateChargeCardNameEpic, updateChargeCardsLimitEpic, updateAccountingClassesEnabledEpic, dismissCapitalizationOnboardingEpic, updateCapitalizationAccountThresholdEpic, updateCompanyDetailsEpic, updateCompanyOfficerEpic, updateCompanyPassportLocalStoreDataEpic, updateDashboardLayoutEpic, updateDebitCardPinAttemptEpic, updateDepositAccountEpic, updateExpenseAutomationReconciliationBalanceLocalDataEpic, updateFileNameEpic, updateFilesMetadataEpic, updateJESchedulesEpic, updateMappedCashAccountEpic, updateMileageDetailsEpic, updateMyProfileEpic, updateNetBurnOrIncomeStoryCardSettingsEpic, updateNotificationViewAllNotificationsStatusEpic, updateNotificationViewNotificationStatusEpic, updateOnboardingCustomerViewCompleteStatusEpic, acknowledgeOnboardingAiActivationViewedEpic, acknowledgeOnboardingAiFinanceTeamEpic, fetchAiAgentsActivationStatusEpic, updateOnboardingCustomerViewDashboardLoadedEpic, updateOnboardingCustomerViewEpic, updateOnboardingCustomerViewLocalStoreDataEpic, updateOnboardingPaymentAccountLoginStatusEpic, updateOnboardingPaymentAccountStatusEpic, updatePaymentAccountEpic, updatePaymentAccountLoginStatusEpic, updatePaymentAccountStatusEpic, updatePhysicalChargeCardAttemptEpic, updatePrimaryContactEpic, updatePrimaryFundingAccountEpic, updateQBOConnectionPoolExternalConnectionEpic, updateReferViewedEpic, updateRemiSetupViewLocalStoreDataEpic, updateReportUIOptionCOABalancesRangeEpic, updateReportUIOptionIsCompareModeEpic, updateReportUIOptionIsCompareModeOnEpic, updateReportUIOptionThisPeriodEpic, updateReportUIOptionTimeFrameEpic, updateSectionAccountsViewEpic, updateSectionClassesViewEpicV2, updateSectionProjectViewEpic, updateSelectedVendorForCreateFlowEpic, updateSetupViewLocalStoreDataEpic, parseUploadedKycDocumentEpic, parseUploadedKybDocumentEpic, updateTaskFromListViewEpic, updateTaskGroupNameEpic, fetchCannedResponsesEpic, saveCannedResponseEpic, deleteCannedResponseEpic, updateTransactionDetailEpic, updateTreasuryPromoIntroClosedByOutsideClickEpic, updateTreasuryPromoRemindMeLaterClickedEpic, updateTreasuryVideoViewedEpic, updateVendorContactEpic, uploadAccountStatementEpic, parseStatementEpic, reparseStatementEpic, updateStatementInfoEpic, uploadMissingAttachmentSuccessEpic, uploadMissingReceiptSuccessEpic, uploadTransactionReceiptSuccessEpic, vendorFiling1099UploadDetailsSaveEpic, verifyOtpEpic, verifyUserEpic, waitForBillDetailThenInitializeLocalStoreEpic, waitForForecastListThenFetchNetBurnOrIncomeWithForecastEpic, waitForForecastListThenFetchOpExWithForecastEpic, waitForForecastListThenFetchRevenueWithForecastEpic, waitForMerchantRecommendationFetchThenUpdateRecommendationInMerchantEpic, waitForVendorByIdThenSaveBillUpdatetoLocalStoreEpic, waitForVendorByNameThenParsetoLocalStoreEpic, waitForVendorByNameThenUpdateBillDetailEpic, waitForVendorRecommendationFetchThenUpdateRecommendationInBillEpic, wiseRedirectEpic);
|
|
680
681
|
const rootEpic = (action$, store$, dependencies) => combinedEpics(action$, store$, dependencies).pipe(map(identity), catchError((error, source) => {
|
|
681
682
|
console.error(error);
|
|
682
683
|
return source;
|
package/lib/esm/index.js
CHANGED
|
@@ -724,8 +724,8 @@ export { clearInvoicingAuditView, fetchInvoicingAuditLog, } from './view/invoici
|
|
|
724
724
|
export { getInvoicingAuditLogFetchState, getInvoicingAuditLogFilters, getInvoicingAuditLogHasMore, getInvoicingAuditLogItems, getInvoicingAuditLogNextCursor, } from './view/invoicing/auditView/auditViewSelector';
|
|
725
725
|
export { getCreateInvoiceFetchState, getCreateInvoiceFormView, getCreatedInvoiceId, } from './view/invoicing/createInvoice/createInvoiceSelector';
|
|
726
726
|
export { getRecordPaymentFetchState, getRecordedTransactionId, } from './view/invoicing/recordPayment/recordPaymentSelector';
|
|
727
|
-
export { resetEditInvoicingCustomerDetailView, submitInvoicingCustomerForm, submitInvoicingCustomerFormFailure, submitInvoicingCustomerFormSuccess, updateInvoicingCustomerFormDraft, } from './view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer';
|
|
728
|
-
export { INVOICING_CUSTOMER_TYPE_VALUES, INVOICING_NET_TERM_DAY_VALUES, INVOICING_TAXABILITY_VALUES, entityToInvoicingCustomerFormLocalData, initialInvoicingCustomerFormLocalData, } from './view/invoicing/editInvoicingCustomerDetailView/invoicingCustomerFormConfig';
|
|
727
|
+
export { initializeInvoicingCustomerAddress, resetEditInvoicingCustomerDetailView, submitInvoicingCustomerForm, submitInvoicingCustomerFormFailure, submitInvoicingCustomerFormSuccess, updateInvoicingCustomerFormDraft, } from './view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer';
|
|
728
|
+
export { INVOICING_CUSTOMER_BILLING_ADDRESS_TYPE, INVOICING_CUSTOMER_TYPE_VALUES, INVOICING_NET_TERM_DAY_VALUES, INVOICING_TAXABILITY_VALUES, entityToInvoicingCustomerFormLocalData, initialInvoicingCustomerFormLocalData, } from './view/invoicing/editInvoicingCustomerDetailView/invoicingCustomerFormConfig';
|
|
729
729
|
export { getInvoicingCustomerFormView } from './view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector';
|
|
730
730
|
export { fetchInvoicingSubscriptionFormPage, resetEditInvoicingSubscriptionDetailView, saveInvoicingSubscription, } from './view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer';
|
|
731
731
|
export { getEditInvoicingSubscriptionDetailViewState, getInvoicingSubscriptionFormView, } from './view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewSelector';
|
|
@@ -1,24 +1,16 @@
|
|
|
1
|
+
import { toAddressUpdatableInfoPayload } from '../../addressView/addressViewPayload';
|
|
1
2
|
const trimOrUndefined = (value) => value.trim() !== '' ? value.trim() : undefined;
|
|
2
3
|
/**
|
|
3
|
-
* Build the create/update customer request body from the form draft.
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Build the create/update customer request body from the form draft. The
|
|
5
|
+
* billing address is sent as an object (captured via the shared Address
|
|
6
|
+
* screen); the backend creates it and returns its id — same pattern as the
|
|
7
|
+
* vendor save flow.
|
|
6
8
|
*/
|
|
7
|
-
export const localDataToSaveInvoicingCustomerPayload = (localData) => {
|
|
9
|
+
export const localDataToSaveInvoicingCustomerPayload = (localData, billingAddress) => {
|
|
8
10
|
const firstName = trimOrUndefined(localData.firstName);
|
|
9
11
|
const lastName = trimOrUndefined(localData.lastName);
|
|
10
12
|
const company = trimOrUndefined(localData.company);
|
|
11
13
|
const netTerm = localData.netTermDays.trim();
|
|
12
|
-
const addressFields = {
|
|
13
|
-
city: trimOrUndefined(localData.billingCity),
|
|
14
|
-
country: trimOrUndefined(localData.billingCountry),
|
|
15
|
-
line1: trimOrUndefined(localData.billingLine1),
|
|
16
|
-
line2: trimOrUndefined(localData.billingLine2),
|
|
17
|
-
phone: trimOrUndefined(localData.billingPhone),
|
|
18
|
-
state_code: trimOrUndefined(localData.billingState),
|
|
19
|
-
zip: trimOrUndefined(localData.billingZip),
|
|
20
|
-
};
|
|
21
|
-
const hasAddress = Object.values(addressFields).some((part) => part != null);
|
|
22
14
|
return {
|
|
23
15
|
auto_collection: localData.autoCollection ? 'on' : 'off',
|
|
24
16
|
company,
|
|
@@ -32,16 +24,8 @@ export const localDataToSaveInvoicingCustomerPayload = (localData) => {
|
|
|
32
24
|
taxability: localData.taxability,
|
|
33
25
|
vat_number: trimOrUndefined(localData.vatNumber),
|
|
34
26
|
...(netTerm !== '' ? { net_term_days: Number(netTerm) } : {}),
|
|
35
|
-
...(
|
|
36
|
-
? {
|
|
37
|
-
billing_address: {
|
|
38
|
-
...addressFields,
|
|
39
|
-
company,
|
|
40
|
-
first_name: firstName,
|
|
41
|
-
last_name: lastName,
|
|
42
|
-
validation_status: 'not_validated',
|
|
43
|
-
},
|
|
44
|
-
}
|
|
27
|
+
...(billingAddress != null
|
|
28
|
+
? { billing_address: toAddressUpdatableInfoPayload(billingAddress) }
|
|
45
29
|
: {}),
|
|
46
30
|
};
|
|
47
31
|
};
|
|
@@ -49,7 +49,14 @@ const editInvoicingCustomerDetailView = createSlice({
|
|
|
49
49
|
draft.editDraftById = {};
|
|
50
50
|
draft.newCustomerDraft = { ...initialInvoicingCustomerFormLocalData };
|
|
51
51
|
},
|
|
52
|
+
// Trigger only — handled by initializeInvoicingCustomerAddressEpic.
|
|
53
|
+
initializeInvoicingCustomerAddress: {
|
|
54
|
+
reducer() { },
|
|
55
|
+
prepare(payload) {
|
|
56
|
+
return { payload };
|
|
57
|
+
},
|
|
58
|
+
},
|
|
52
59
|
},
|
|
53
60
|
});
|
|
54
|
-
export const { updateInvoicingCustomerFormDraft, submitInvoicingCustomerForm, submitInvoicingCustomerFormSuccess, submitInvoicingCustomerFormFailure, resetEditInvoicingCustomerDetailView, } = editInvoicingCustomerDetailView.actions;
|
|
61
|
+
export const { updateInvoicingCustomerFormDraft, submitInvoicingCustomerForm, submitInvoicingCustomerFormSuccess, submitInvoicingCustomerFormFailure, resetEditInvoicingCustomerDetailView, initializeInvoicingCustomerAddress, } = editInvoicingCustomerDetailView.actions;
|
|
55
62
|
export default editInvoicingCustomerDetailView.reducer;
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
import { getInvoicingCustomerById } from '../../../entity/invoicing/invoicingCustomer/invoicingCustomerSelector';
|
|
2
|
-
import {
|
|
2
|
+
import { getFormattedAddress } from '../../addressView/addressViewSelector';
|
|
3
|
+
import { INVOICING_CUSTOMER_BILLING_ADDRESS_TYPE, INVOICING_CUSTOMER_TYPE_VALUES, INVOICING_NET_TERM_DAY_VALUES, INVOICING_TAXABILITY_VALUES, entityToInvoicingCustomerFormLocalData, } from './invoicingCustomerFormConfig';
|
|
4
|
+
const formatInvoicingBillingAddress = (address) => [
|
|
5
|
+
address.line1,
|
|
6
|
+
address.line2,
|
|
7
|
+
address.city,
|
|
8
|
+
`${address.state_code ?? ''} ${address.zip ?? ''}`.trim(),
|
|
9
|
+
address.country,
|
|
10
|
+
]
|
|
11
|
+
.filter((part) => part != null && part !== '')
|
|
12
|
+
.join(', ');
|
|
3
13
|
/**
|
|
4
14
|
* Bundled view for the customer create/edit form. Exposes the draft `localData`
|
|
5
15
|
* (seeded from the existing customer entity in edit mode until the user edits),
|
|
@@ -10,16 +20,30 @@ import { INVOICING_CUSTOMER_TYPE_VALUES, INVOICING_NET_TERM_DAY_VALUES, INVOICIN
|
|
|
10
20
|
export const getInvoicingCustomerFormView = (state, invoicingCustomerID) => {
|
|
11
21
|
const { editDraftById, error, fetchState, newCustomerDraft, savedCustomerId } = state.editInvoicingCustomerDetailViewState;
|
|
12
22
|
const mode = invoicingCustomerID != null ? 'edit' : 'create';
|
|
23
|
+
const customer = invoicingCustomerID != null
|
|
24
|
+
? getInvoicingCustomerById(state.invoicingCustomerState, invoicingCustomerID)
|
|
25
|
+
: undefined;
|
|
13
26
|
const localData = invoicingCustomerID != null
|
|
14
27
|
? (editDraftById[invoicingCustomerID] ??
|
|
15
|
-
entityToInvoicingCustomerFormLocalData(
|
|
28
|
+
entityToInvoicingCustomerFormLocalData(customer))
|
|
16
29
|
: newCustomerDraft;
|
|
30
|
+
// Billing address is captured via the shared Address screen: prefer a
|
|
31
|
+
// freshly-saved address, else the customer's existing one.
|
|
32
|
+
const newAddress = state.addressViewState.newAddressState?.[INVOICING_CUSTOMER_BILLING_ADDRESS_TYPE];
|
|
33
|
+
const billingAddressId = newAddress?.newAddressId ?? customer?.billingAddressId;
|
|
34
|
+
const billingAddressLabel = newAddress?.addressToCreate != null
|
|
35
|
+
? getFormattedAddress(newAddress.addressToCreate)
|
|
36
|
+
: customer?.billingAddress != null
|
|
37
|
+
? formatInvoicingBillingAddress(customer.billingAddress)
|
|
38
|
+
: undefined;
|
|
17
39
|
return {
|
|
18
40
|
customerTypeValues: [...INVOICING_CUSTOMER_TYPE_VALUES],
|
|
19
41
|
localData,
|
|
20
42
|
mode,
|
|
21
43
|
netTermDayValues: [...INVOICING_NET_TERM_DAY_VALUES],
|
|
22
44
|
taxabilityValues: [...INVOICING_TAXABILITY_VALUES],
|
|
45
|
+
billingAddressId,
|
|
46
|
+
billingAddressLabel,
|
|
23
47
|
savedCustomerId,
|
|
24
48
|
fetchState,
|
|
25
49
|
error,
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { EMPTY, of } from 'rxjs';
|
|
2
|
+
import { filter, mergeMap } from 'rxjs/operators';
|
|
3
|
+
import { getAddressByAddressId } from '../../../entity/address/addressSelector';
|
|
4
|
+
import { getInvoicingCustomerById } from '../../../entity/invoicing/invoicingCustomer/invoicingCustomerSelector';
|
|
5
|
+
import { newAddressInLocalStore } from '../../addressView/addressViewReducer';
|
|
6
|
+
import { updateInvoicingCustomerDetail } from '../invoicingCustomerDetailView/invoicingCustomerDetailViewReducer';
|
|
7
|
+
import { initializeInvoicingCustomerAddress } from './editInvoicingCustomerDetailViewReducer';
|
|
8
|
+
import { INVOICING_CUSTOMER_BILLING_ADDRESS_TYPE } from './invoicingCustomerFormConfig';
|
|
9
|
+
/**
|
|
10
|
+
* Seed the shared Address screen with an existing customer's saved billing
|
|
11
|
+
* address (looked up in the address entity store by `billingAddressId`). Runs
|
|
12
|
+
* both when the customer detail loads and on an explicit initialize trigger.
|
|
13
|
+
* Skips when an in-progress draft already exists, so an address the user just
|
|
14
|
+
* entered survives navigating between the form and the Address screen. Mirrors
|
|
15
|
+
* `initializeVendorAddressEpic`.
|
|
16
|
+
*/
|
|
17
|
+
export const initializeInvoicingCustomerAddressEpic = (actions$, state$) => actions$.pipe(filter((action) => initializeInvoicingCustomerAddress.match(action) ||
|
|
18
|
+
updateInvoicingCustomerDetail.match(action)), mergeMap((action) => {
|
|
19
|
+
const { id } = action.payload;
|
|
20
|
+
const rootState = state$.value;
|
|
21
|
+
const existingDraft = rootState.addressViewState.newAddressState?.[INVOICING_CUSTOMER_BILLING_ADDRESS_TYPE]?.addressToCreate;
|
|
22
|
+
if (existingDraft != null || id == null) {
|
|
23
|
+
return EMPTY;
|
|
24
|
+
}
|
|
25
|
+
const customer = getInvoicingCustomerById(rootState.invoicingCustomerState, id);
|
|
26
|
+
const address = customer?.billingAddressId != null
|
|
27
|
+
? getAddressByAddressId(rootState.addressState, customer.billingAddressId)
|
|
28
|
+
: undefined;
|
|
29
|
+
return address != null
|
|
30
|
+
? of(newAddressInLocalStore({
|
|
31
|
+
addressType: INVOICING_CUSTOMER_BILLING_ADDRESS_TYPE,
|
|
32
|
+
addressToCreate: address,
|
|
33
|
+
}))
|
|
34
|
+
: EMPTY;
|
|
35
|
+
}));
|
package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/invoicingCustomerFormConfig.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/** `AddressType` key used when the customer form opens the shared Address screen. */
|
|
2
|
+
export const INVOICING_CUSTOMER_BILLING_ADDRESS_TYPE = 'invoicing_customer_billing_address';
|
|
1
3
|
/**
|
|
2
4
|
* Canonical option value sets for the customer form. CES owns the values;
|
|
3
5
|
* web-components maps each value to a localized label (same split as the
|
|
@@ -17,13 +19,6 @@ export const INVOICING_NET_TERM_DAY_VALUES = [
|
|
|
17
19
|
];
|
|
18
20
|
export const initialInvoicingCustomerFormLocalData = {
|
|
19
21
|
autoCollection: true,
|
|
20
|
-
billingCity: '',
|
|
21
|
-
billingCountry: '',
|
|
22
|
-
billingLine1: '',
|
|
23
|
-
billingLine2: '',
|
|
24
|
-
billingPhone: '',
|
|
25
|
-
billingState: '',
|
|
26
|
-
billingZip: '',
|
|
27
22
|
company: '',
|
|
28
23
|
customerType: 'business',
|
|
29
24
|
email: '',
|
|
@@ -41,16 +36,8 @@ export const entityToInvoicingCustomerFormLocalData = (customer) => {
|
|
|
41
36
|
if (customer == null) {
|
|
42
37
|
return { ...initialInvoicingCustomerFormLocalData };
|
|
43
38
|
}
|
|
44
|
-
const address = customer.billingAddress;
|
|
45
39
|
return {
|
|
46
40
|
autoCollection: (customer.autoCollection ?? 'on') === 'on',
|
|
47
|
-
billingCity: address?.city ?? '',
|
|
48
|
-
billingCountry: address?.country ?? '',
|
|
49
|
-
billingLine1: address?.line1 ?? '',
|
|
50
|
-
billingLine2: address?.line2 ?? '',
|
|
51
|
-
billingPhone: address?.phone ?? '',
|
|
52
|
-
billingState: address?.state_code ?? '',
|
|
53
|
-
billingZip: address?.zip ?? '',
|
|
54
41
|
company: customer.company ?? '',
|
|
55
42
|
customerType: customer.customerType ?? 'business',
|
|
56
43
|
email: customer.email ?? '',
|
|
@@ -2,14 +2,21 @@ import { of } from 'rxjs';
|
|
|
2
2
|
import { catchError, filter, mergeMap } from 'rxjs/operators';
|
|
3
3
|
import { updateInvoicingCustomers } from '../../../entity/invoicing/invoicingCustomer/invoicingCustomerReducer';
|
|
4
4
|
import { createZeniAPIStatus, isSuccessResponse } from '../../../responsePayload';
|
|
5
|
+
import { resetNewAddressDataInLocalStore } from '../../addressView/addressViewReducer';
|
|
5
6
|
import { localDataToSaveInvoicingCustomerPayload, } from './editInvoicingCustomerDetailViewPayload';
|
|
7
|
+
import { INVOICING_CUSTOMER_BILLING_ADDRESS_TYPE } from './invoicingCustomerFormConfig';
|
|
6
8
|
import { submitInvoicingCustomerForm, submitInvoicingCustomerFormFailure, submitInvoicingCustomerFormSuccess, } from './editInvoicingCustomerDetailViewReducer';
|
|
7
9
|
export const saveInvoicingCustomerEpic = (actions$, state$, zeniAPI) => actions$.pipe(filter(submitInvoicingCustomerForm.match), mergeMap((action) => {
|
|
8
10
|
const { id } = action.payload;
|
|
9
|
-
const
|
|
11
|
+
const rootState = state$.value;
|
|
12
|
+
const viewState = rootState.editInvoicingCustomerDetailViewState;
|
|
10
13
|
const localData = (id != null ? viewState.editDraftById[id] : viewState.newCustomerDraft) ??
|
|
11
14
|
viewState.newCustomerDraft;
|
|
12
|
-
|
|
15
|
+
// Billing address captured via the shared Address screen is sent as an
|
|
16
|
+
// object in the payload; the backend creates it and returns its id
|
|
17
|
+
// (same pattern as the vendor save flow).
|
|
18
|
+
const billingAddress = rootState.addressViewState.newAddressState?.[INVOICING_CUSTOMER_BILLING_ADDRESS_TYPE]?.addressToCreate;
|
|
19
|
+
const data = localDataToSaveInvoicingCustomerPayload(localData, billingAddress);
|
|
13
20
|
const baseUrl = `${zeniAPI.apiEndPoints.invoicingMicroServiceBaseUrl}/1.0`;
|
|
14
21
|
const request$ = id != null
|
|
15
22
|
? zeniAPI.putAndGetJSON(`${baseUrl}/customers/${encodeURIComponent(id)}`, { ...data })
|
|
@@ -21,6 +28,8 @@ export const saveInvoicingCustomerEpic = (actions$, state$, zeniAPI) => actions$
|
|
|
21
28
|
submitInvoicingCustomerFormSuccess({
|
|
22
29
|
customerId: response.data.id,
|
|
23
30
|
}),
|
|
31
|
+
// Clear the stashed address so the next customer starts fresh.
|
|
32
|
+
resetNewAddressDataInLocalStore(INVOICING_CUSTOMER_BILLING_ADDRESS_TYPE),
|
|
24
33
|
];
|
|
25
34
|
}
|
|
26
35
|
return of(submitInvoicingCustomerFormFailure(response.status));
|
package/lib/index.d.ts
CHANGED
|
@@ -1038,10 +1038,10 @@ export { getInvoicingAuditLogFetchState, getInvoicingAuditLogFilters, getInvoici
|
|
|
1038
1038
|
export { getCreateInvoiceFetchState, getCreateInvoiceFormView, getCreatedInvoiceId, } from './view/invoicing/createInvoice/createInvoiceSelector';
|
|
1039
1039
|
export type { CreateInvoiceFormView } from './view/invoicing/createInvoice/createInvoiceSelector';
|
|
1040
1040
|
export { getRecordPaymentFetchState, getRecordedTransactionId, } from './view/invoicing/recordPayment/recordPaymentSelector';
|
|
1041
|
-
export { resetEditInvoicingCustomerDetailView, submitInvoicingCustomerForm, submitInvoicingCustomerFormFailure, submitInvoicingCustomerFormSuccess, updateInvoicingCustomerFormDraft, } from './view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer';
|
|
1041
|
+
export { initializeInvoicingCustomerAddress, resetEditInvoicingCustomerDetailView, submitInvoicingCustomerForm, submitInvoicingCustomerFormFailure, submitInvoicingCustomerFormSuccess, updateInvoicingCustomerFormDraft, } from './view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer';
|
|
1042
1042
|
export type { SubmitInvoicingCustomerFormPayload, UpdateInvoicingCustomerFormDraftPayload, } from './view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer';
|
|
1043
1043
|
export type { InvoicingCustomerFormLocalData } from './view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewState';
|
|
1044
|
-
export { INVOICING_CUSTOMER_TYPE_VALUES, INVOICING_NET_TERM_DAY_VALUES, INVOICING_TAXABILITY_VALUES, entityToInvoicingCustomerFormLocalData, initialInvoicingCustomerFormLocalData, } from './view/invoicing/editInvoicingCustomerDetailView/invoicingCustomerFormConfig';
|
|
1044
|
+
export { INVOICING_CUSTOMER_BILLING_ADDRESS_TYPE, INVOICING_CUSTOMER_TYPE_VALUES, INVOICING_NET_TERM_DAY_VALUES, INVOICING_TAXABILITY_VALUES, entityToInvoicingCustomerFormLocalData, initialInvoicingCustomerFormLocalData, } from './view/invoicing/editInvoicingCustomerDetailView/invoicingCustomerFormConfig';
|
|
1045
1045
|
export { getInvoicingCustomerFormView } from './view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector';
|
|
1046
1046
|
export type { InvoicingCustomerFormView } from './view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector';
|
|
1047
1047
|
export { fetchInvoicingSubscriptionFormPage, resetEditInvoicingSubscriptionDetailView, saveInvoicingSubscription, } from './view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer';
|
package/lib/index.js
CHANGED
|
@@ -76,12 +76,12 @@ exports.toInteractiveFormType = exports.toAiCfoAnswerResponseTypeStrict = export
|
|
|
76
76
|
exports.toCardPolicyEditFormDraft = exports.toBulkCreateCardPolicyTemplateError = exports.toCardPolicyTemplateStatus = exports.toCardPolicyTemplateMode = exports.ALL_CARD_POLICY_TEMPLATE_STATUSES = exports.ALL_CARD_POLICY_TEMPLATE_MODES = exports.getUploadedPolicyDocumentFileName = exports.getPolicyRecommendationFromUploadFetchState = exports.getPolicyRecommendationFromUploadError = exports.getPolicyRecommendationFromUploadChatSessionId = exports.getPolicyRecommendationFromUploadAnswerId = exports.getPolicyDocumentExtractionFetchState = exports.getPolicyDocumentExtractionError = exports.getExtractedCardPolicyRules = exports.getCardPolicyVendorSearchString = exports.getCardPolicyVendorSearchOptions = exports.getCardPolicyVendorSearchFetchState = exports.getCardPolicyTemplatesByIds = exports.getCardPolicyTemplateById = exports.getCardPolicySuggestedBlockMerchants = exports.getCardPolicySuggestedBlockCategories = exports.getCardPolicySuggestedAllowMerchants = exports.getCardPolicySuggestedAllowCategories = exports.getCardPolicyStats = exports.getCardPolicyMccCategoriesFetchState = exports.getCardPolicyMccCategoriesError = exports.getCardPolicyMccCategories = exports.getAllCardPolicyTemplates = exports.clearCardPolicy = exports.updatePolicyRecommendationFromUploadSuccess = exports.updatePolicyRecommendationFromUploadFailure = exports.updatePolicyDocumentExtractionSuccess = exports.updatePolicyDocumentExtractionFailure = exports.updateCreatedCardPolicyTemplate = exports.updateCardPolicyVendorOptionsFailure = exports.updateCardPolicyVendorOptions = exports.updateCardPolicyTemplates = exports.updateCardPolicyStats = exports.updateCardPolicyMccCategoriesFailure = exports.updateCardPolicyMccCategories = exports.removeCardPolicyTemplate = exports.fetchCardPolicyVendorOptions = exports.fetchCardPolicyRecommendationFromUpload = exports.fetchCardPolicyMccCategories = exports.extractPolicyDocument = exports.clearPolicyDocumentExtraction = exports.toMessageType = exports.toMessageSender = exports.ALL_SYNTHETIC_AI_CFO_ANSWER_KINDS = exports.toInteractiveFormTypeStrict = void 0;
|
|
77
77
|
exports.updateArchiveCardPolicyFetchStatus = exports.prependCardPolicyTemplateIds = exports.fetchCardPolicyList = exports.clearCardPolicyList = exports.archiveCardPolicy = exports.toManualCardPolicyTemplateRequestFromDraft = exports.toBulkCardPolicyTemplateRequestsFromDraft = exports.toCardPolicyTemplateRequestFromDraft = exports.applyAiCardPolicyFormDraftUpdate = exports.deriveAiPolicyReviewRowsFromInputs = exports.buildManualCardPolicyFormDraftSeed = exports.buildUploadReviewRows = exports.buildEmptyLimitRows = exports.buildAiCardPolicyFormDraftSeed = exports.toVendorChipFieldValue = exports.toMccCategoryChipFieldValue = exports.buildVendorChipId = exports.buildMccCategoryChipId = exports.VENDOR_CHIP_ID_PREFIX = exports.MCC_CHIP_ID_PREFIX = exports.toMccCategoryLike = exports.CARD_POLICY_LIMIT_ROW_ID_TRANSACTION = exports.CARD_POLICY_LIMIT_ROW_ID_REQUIRE_RECEIPT = exports.getManualCardPolicyFormDraft = exports.getLastCreatedCardPolicyTemplateIds = exports.getLastCreatedCardPolicyTemplateId = exports.getLastCreateCardPolicyTemplateErrors = exports.getLastCreateCardPolicySourceChatSessionId = exports.getCreateCardPolicyTemplateRequestState = exports.getAiCardPolicyFormDraft = exports.updateManualCardPolicyFormDraft = exports.updateCreateCardPolicyTemplateRequestState = exports.updateAiCardPolicyFormDraftFromUploadPlan = exports.updateAiCardPolicyFormDraft = exports.seedManualCardPolicyFormDraft = exports.seedAiCardPolicyFormDraft = exports.createCardPolicyTemplates = exports.clearManualCardPolicyFormDraft = exports.clearCreateCardPolicy = exports.clearAiCardPolicyFormDraft = exports.applyExtractedPolicyToManualCardPolicyDraft = exports.applyExtractedPolicyToAiCardPolicyDraft = exports.toUpdateCardPolicyTemplateRequestBody = exports.toExtractedCardPolicyRules = exports.toCreateCardPolicyTemplatesRequestBody = exports.toCreateCardPolicyTemplateRequestBody = exports.toCardPolicyVendorSearchOption = exports.toCardPolicyTemplateList = exports.toCardPolicyTemplate = exports.toCardPolicyStats = void 0;
|
|
78
78
|
exports.saveAutoSweepSettings = exports.clearAutoSweepFlow = exports.fetchCashManagementOverviewPage = exports.fetchCashManagementBanner = exports.toKycProvidedDocumentTypeFromAllowed = exports.toKycProvidedDocumentType = exports.DEFAULT_SESSION_CONFIG = exports.SessionManager = exports.getTransactionActivityLogView = exports.fetchTransactionActivityLog = exports.BULK_UPLOAD_BAR_COMPLETE_HOLD_MS = exports.BULK_UPLOAD_AUTOMATCHING_TIMEOUT_MS = exports.getAutoTransferRuleHistory = exports.getAutoTransferRuleById = exports.getAutoTransferRules = exports.clearRuleUpdateLocalData = exports.updateRuleLocalData = exports.fetchAutoTransferReviewDetail = exports.fetchAutoTransferRuleHistory = exports.deleteAutoTransferRule = exports.updateAutoTransferRule = exports.createAutoTransferRule = exports.fetchAutoTransferRules = exports.getTreasuryTaxLetters = exports.fetchTreasuryTaxLetterList = exports.getTreasuryStatements = exports.fetchTreasuryStatementList = exports.getTreasuryTransferMoney = exports.clearTreasuryTransferMoney = exports.updateTreasuryTransferMoneyLocalData = exports.executeTreasuryTransferMoney = exports.getTreasuryDetail = exports.updateTreasuryTransactionListUIState = exports.fetchTreasuryTransactionList = exports.fetchTreasuryOverviewDetail = exports.getUpdateCardPolicyFetchState = exports.getCardPolicyFormDraft = exports.getCardPolicyDetailView = exports.getCardPolicyDetailFetchState = exports.updateCardPolicyFormDraft = exports.updateCardPolicyFetchStatus = exports.updateCardPolicyDetailFetchStatus = exports.updateCardPolicy = exports.fetchCardPolicyDetail = exports.clearCardPolicyDetail = exports.getCardPolicyTemplateIds = exports.getCardPolicyListView = exports.getCardPolicyListFetchState = exports.getArchiveCardPolicyFetchState = exports.updateCardPolicyListFetchStatus = void 0;
|
|
79
|
-
exports.
|
|
80
|
-
exports.
|
|
81
|
-
exports.
|
|
82
|
-
exports.
|
|
83
|
-
exports.
|
|
84
|
-
exports.isStripeConnectedFromSettings = exports.getInvoicingStripeConnectState = exports.getInvoicingSettingsSaveState = exports.getInvoicingSettingsFetchState = exports.getInvoicingSettings = exports.updateInvoicingSettings = exports.saveInvoicingSettings = exports.resetSaveInvoicingSettings = void 0;
|
|
79
|
+
exports.submitInvoicingCustomerForm = exports.resetEditInvoicingCustomerDetailView = exports.initializeInvoicingCustomerAddress = exports.getRecordedTransactionId = exports.getRecordPaymentFetchState = exports.getCreatedInvoiceId = exports.getCreateInvoiceFormView = exports.getCreateInvoiceFetchState = exports.getInvoicingAuditLogNextCursor = exports.getInvoicingAuditLogItems = exports.getInvoicingAuditLogHasMore = exports.getInvoicingAuditLogFilters = exports.getInvoicingAuditLogFetchState = exports.fetchInvoicingAuditLog = exports.clearInvoicingAuditView = exports.getInvoicingOverview = exports.buildPeriodOptions = exports.fetchInvoicingOverview = exports.clearInvoicingOverview = exports.resetRecordPayment = exports.recordPayment = exports.resetCreateInvoice = exports.createInvoice = exports.getInvoiceDetail = exports.fetchInvoiceDetail = exports.clearAllInvoiceDetail = exports.getInvoiceListView = exports.INVOICING_INVOICE_TABS = exports.ALL_INVOICING_INVOICE_TAB_IDS = exports.updateInvoiceListFilters = exports.fetchInvoiceListPage = exports.fetchInvoiceList = exports.fetchInvoiceKPIs = exports.fetchInvoiceCounts = exports.clearInvoiceList = exports.getInvoicesByIds = exports.getInvoiceById = exports.updateInvoices = exports.removeInvoice = exports.clearAllInvoices = exports.getCashManagementOverviewBanner = exports.getCashManagementOverview = exports.bufferAmountToRisk = exports.RISK_BUFFER_AMOUNT = exports.getAutoSweepFlow = exports.updateCashManagementSettingsFetchStatus = exports.updateCashManagementSettings = exports.updateAutoSweepSettingsFetchStatus = exports.updateAutoSweepRisk = exports.updateAutoSweepDraft = void 0;
|
|
80
|
+
exports.clearAllInvoicingDataImportActions = exports.getInvoicingMigrationSessionsFetchState = exports.getInvoicingMigrationSessions = exports.getInvoicingMigrationSessionById = exports.getInvoicingDataImportStatusRows = exports.getInvoicingDataImportStatusFetchState = exports.getInvoicingActiveMigrationSessionId = exports.setInvoicingActiveMigrationSessionId = exports.fetchInvoicingMigrationSessions = exports.fetchInvoicingMigrationSession = exports.fetchInvoicingDataImportStatus = exports.clearInvoicingDataImportView = exports.getInvoicingPaymentActionState = exports.runInvoicingPaymentAction = exports.clearInvoicingPaymentAction = exports.getInvoicingDunningActionState = exports.runInvoicingDunningAction = exports.clearInvoicingDunningAction = exports.getInvoicingSubscriptionActionState = exports.runInvoicingSubscriptionAction = exports.clearInvoicingSubscriptionAction = exports.getInvoicingInvoiceActionState = exports.updateInvoicingInvoice = exports.runInvoicingInvoiceAction = exports.clearInvoicingInvoiceAction = exports.getInvoicingCouponFormView = exports.getEditInvoicingCouponDetailViewState = exports.saveInvoicingCoupon = exports.resetEditInvoicingCouponDetailView = exports.getSavedInvoicingCatalogItemKind = exports.getSavedInvoicingCatalogItemId = exports.getInvoicingCatalogItemFormView = exports.getEditInvoicingCatalogItemDetailViewState = exports.saveInvoicingCatalogItem = exports.resetEditInvoicingCatalogItemDetailView = exports.getInvoicingSubscriptionFormView = exports.getEditInvoicingSubscriptionDetailViewState = exports.saveInvoicingSubscription = exports.resetEditInvoicingSubscriptionDetailView = exports.fetchInvoicingSubscriptionFormPage = exports.getInvoicingCustomerFormView = exports.initialInvoicingCustomerFormLocalData = exports.entityToInvoicingCustomerFormLocalData = exports.INVOICING_TAXABILITY_VALUES = exports.INVOICING_NET_TERM_DAY_VALUES = exports.INVOICING_CUSTOMER_TYPE_VALUES = exports.INVOICING_CUSTOMER_BILLING_ADDRESS_TYPE = exports.updateInvoicingCustomerFormDraft = exports.submitInvoicingCustomerFormSuccess = exports.submitInvoicingCustomerFormFailure = void 0;
|
|
81
|
+
exports.getInvoicingSubscriptionListView = exports.INVOICING_SUBSCRIPTION_TABS = exports.INVOICING_SUBSCRIPTION_COLUMNS = exports.ALL_INVOICING_SUBSCRIPTION_TAB_IDS = exports.ALL_INVOICING_SUBSCRIPTION_SORT_KEYS = exports.updateInvoicingSubscriptionFilters = exports.fetchInvoicingSubscriptionListPage = exports.fetchInvoicingSubscriptionList = exports.fetchInvoicingSubscriptionCounts = exports.clearInvoicingSubscriptionListView = exports.updateInvoicingSubscriptions = exports.removeInvoicingSubscription = exports.clearAllInvoicingSubscriptions = exports.getInvoicingSetupIntentFetchState = exports.getInvoicingSetupIntent = exports.getInvoicingSentPaymentLinkMagicUrl = exports.getInvoicingSentPaymentLinkEmail = exports.getInvoicingPlaidLinkTokenFetchState = exports.getInvoicingPlaidLinkToken = exports.getInvoicingPaymentMethodSaveState = exports.getInvoicingPaymentLinkSendState = exports.sendInvoicingPaymentLink = exports.saveInvoicingPaymentMethod = exports.resetInvoicingCustomerPaymentMethod = exports.fetchInvoicingPlaidLinkToken = exports.createInvoicingSetupIntent = exports.getInvoicingCustomerDetail = exports.fetchInvoicingCustomerDetailPage = exports.fetchInvoicingCustomerDetail = exports.clearInvoicingCustomerDetailView = exports.getInvoicingCustomerListView = exports.INVOICING_CUSTOMER_TABS = exports.INVOICING_CUSTOMER_COLUMNS = exports.ALL_INVOICING_CUSTOMER_TAB_IDS = exports.ALL_INVOICING_CUSTOMER_SORT_KEYS = exports.updateInvoicingCustomerFilters = exports.fetchInvoicingCustomerListPage = exports.fetchInvoicingCustomerList = exports.fetchInvoicingCustomerCounts = exports.clearInvoicingCustomerListView = exports.updateInvoicingCustomers = exports.removeInvoicingCustomer = exports.clearAllInvoicingCustomers = exports.INVOICING_LIST_PAGE_SIZE = exports.getInvoicingDataImportActionState = exports.uploadInvoicingMigrationFiles = exports.startInvoicingMigration = exports.rollbackInvoicingMigration = exports.retryInvoicingMigration = exports.connectInvoicingChargebee = void 0;
|
|
82
|
+
exports.getInvoicingCouponCounts = exports.INVOICING_COUPON_TABS = exports.INVOICING_COUPON_COLUMNS = exports.ALL_INVOICING_COUPON_TAB_IDS = exports.ALL_INVOICING_COUPON_SORT_KEYS = exports.updateInvoicingCouponFilters = exports.fetchInvoicingCouponListPage = exports.fetchInvoicingCouponList = exports.fetchInvoicingCouponCounts = exports.clearInvoicingCouponView = exports.updateInvoicingCoupons = exports.removeInvoicingCoupon = exports.clearAllInvoicingCoupons = exports.getInvoicingCreditNoteDetail = exports.getInvoicingCreditNoteById = exports.fetchInvoicingCreditNoteDetail = exports.clearInvoicingCreditNoteDetailView = exports.getInvoicingCreditNoteListView = exports.INVOICING_CREDIT_NOTE_TABS = exports.INVOICING_CREDIT_NOTE_COLUMNS = exports.ALL_INVOICING_CREDIT_NOTE_TAB_IDS = exports.ALL_INVOICING_CREDIT_NOTE_SORT_KEYS = exports.updateInvoicingCreditNoteFilters = exports.fetchInvoicingCreditNoteListPage = exports.fetchInvoicingCreditNoteList = exports.fetchInvoicingCreditNoteCounts = exports.clearInvoicingCreditNoteListView = exports.updateInvoicingCreditNotes = exports.removeInvoicingCreditNote = exports.clearAllInvoicingCreditNotes = exports.getInvoicingTransactionDetail = exports.getInvoicingTransactionById = exports.fetchInvoicingTransactionDetail = exports.clearInvoicingTransactionDetailView = exports.getInvoicingTransactionListView = exports.INVOICING_TRANSACTION_TABS = exports.INVOICING_TRANSACTION_COLUMNS = exports.ALL_INVOICING_TRANSACTION_TAB_IDS = exports.ALL_INVOICING_TRANSACTION_SORT_KEYS = exports.updateInvoicingTransactionFilters = exports.fetchInvoicingTransactionListPage = exports.fetchInvoicingTransactionList = exports.clearInvoicingTransactionListView = exports.updateInvoicingTransactions = exports.removeInvoicingTransaction = exports.clearAllInvoicingTransactions = exports.getInvoicingSubscriptionDetail = exports.getInvoicingSubscriptionById = exports.fetchInvoicingSubscriptionDetail = exports.clearInvoicingSubscriptionDetailView = void 0;
|
|
83
|
+
exports.connectInvoicingStripe = exports.clearInvoicingSettings = exports.getInvoicingProductById = exports.getInvoicingPlanById = exports.getInvoicingCatalogItemDetail = exports.fetchInvoicingCatalogItemDetail = exports.clearInvoicingCatalogItemDetailView = exports.getInvoicingCatalogListView = exports.INVOICING_PRODUCT_COLUMNS = exports.ALL_INVOICING_PRODUCT_SORT_KEYS = exports.updateInvoicingCatalogProductFilters = exports.updateInvoicingCatalogPlanFilters = exports.fetchInvoicingCatalogProductList = exports.fetchInvoicingCatalogPlanList = exports.fetchInvoicingCatalogListPage = exports.fetchInvoicingCatalogCounts = exports.clearInvoicingCatalogListView = exports.updateInvoicingProducts = exports.removeInvoicingProduct = exports.clearAllInvoicingProducts = exports.updateInvoicingPlans = exports.removeInvoicingPlan = exports.clearAllInvoicingPlans = exports.getInvoicingDunningCaseDetail = exports.getInvoicingDunningCaseById = exports.fetchInvoicingDunningCaseDetail = exports.clearInvoicingDunningCaseDetailView = exports.getInvoicingDunningCaseListView = exports.INVOICING_DUNNING_CASE_TABS = exports.INVOICING_DUNNING_CASE_COLUMNS = exports.ALL_INVOICING_DUNNING_CASE_TAB_IDS = exports.ALL_INVOICING_DUNNING_CASE_SORT_KEYS = exports.updateInvoicingDunningCaseFilters = exports.fetchInvoicingDunningCaseListPage = exports.fetchInvoicingDunningCaseList = exports.fetchInvoicingDunningCaseCounts = exports.clearInvoicingDunningCaseListView = exports.updateInvoicingDunningCases = exports.removeInvoicingDunningCase = exports.clearAllInvoicingDunningCases = exports.getInvoicingCouponDetail = exports.fetchInvoicingCouponDetail = exports.clearInvoicingCouponDetailView = exports.getInvoicingCouponById = exports.getInvoicingCouponListView = exports.getInvoicingCouponListNextCursor = exports.getInvoicingCouponListItems = exports.getInvoicingCouponListHasMore = exports.getInvoicingCouponListFilters = exports.getInvoicingCouponListFetchState = void 0;
|
|
84
|
+
exports.isStripeConnectedFromSettings = exports.getInvoicingStripeConnectState = exports.getInvoicingSettingsSaveState = exports.getInvoicingSettingsFetchState = exports.getInvoicingSettings = exports.updateInvoicingSettings = exports.saveInvoicingSettings = exports.resetSaveInvoicingSettings = exports.fetchInvoicingSettings = exports.disconnectInvoicingStripe = void 0;
|
|
85
85
|
const allowedValue_1 = require("./commonStateTypes/allowedValue");
|
|
86
86
|
Object.defineProperty(exports, "isAllowedValueWithCode", { enumerable: true, get: function () { return allowedValue_1.isAllowedValueWithCode; } });
|
|
87
87
|
Object.defineProperty(exports, "isAllowedValueWithID", { enumerable: true, get: function () { return allowedValue_1.isAllowedValueWithID; } });
|
|
@@ -2664,12 +2664,14 @@ var recordPaymentSelector_1 = require("./view/invoicing/recordPayment/recordPaym
|
|
|
2664
2664
|
Object.defineProperty(exports, "getRecordPaymentFetchState", { enumerable: true, get: function () { return recordPaymentSelector_1.getRecordPaymentFetchState; } });
|
|
2665
2665
|
Object.defineProperty(exports, "getRecordedTransactionId", { enumerable: true, get: function () { return recordPaymentSelector_1.getRecordedTransactionId; } });
|
|
2666
2666
|
var editInvoicingCustomerDetailViewReducer_1 = require("./view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer");
|
|
2667
|
+
Object.defineProperty(exports, "initializeInvoicingCustomerAddress", { enumerable: true, get: function () { return editInvoicingCustomerDetailViewReducer_1.initializeInvoicingCustomerAddress; } });
|
|
2667
2668
|
Object.defineProperty(exports, "resetEditInvoicingCustomerDetailView", { enumerable: true, get: function () { return editInvoicingCustomerDetailViewReducer_1.resetEditInvoicingCustomerDetailView; } });
|
|
2668
2669
|
Object.defineProperty(exports, "submitInvoicingCustomerForm", { enumerable: true, get: function () { return editInvoicingCustomerDetailViewReducer_1.submitInvoicingCustomerForm; } });
|
|
2669
2670
|
Object.defineProperty(exports, "submitInvoicingCustomerFormFailure", { enumerable: true, get: function () { return editInvoicingCustomerDetailViewReducer_1.submitInvoicingCustomerFormFailure; } });
|
|
2670
2671
|
Object.defineProperty(exports, "submitInvoicingCustomerFormSuccess", { enumerable: true, get: function () { return editInvoicingCustomerDetailViewReducer_1.submitInvoicingCustomerFormSuccess; } });
|
|
2671
2672
|
Object.defineProperty(exports, "updateInvoicingCustomerFormDraft", { enumerable: true, get: function () { return editInvoicingCustomerDetailViewReducer_1.updateInvoicingCustomerFormDraft; } });
|
|
2672
2673
|
var invoicingCustomerFormConfig_1 = require("./view/invoicing/editInvoicingCustomerDetailView/invoicingCustomerFormConfig");
|
|
2674
|
+
Object.defineProperty(exports, "INVOICING_CUSTOMER_BILLING_ADDRESS_TYPE", { enumerable: true, get: function () { return invoicingCustomerFormConfig_1.INVOICING_CUSTOMER_BILLING_ADDRESS_TYPE; } });
|
|
2673
2675
|
Object.defineProperty(exports, "INVOICING_CUSTOMER_TYPE_VALUES", { enumerable: true, get: function () { return invoicingCustomerFormConfig_1.INVOICING_CUSTOMER_TYPE_VALUES; } });
|
|
2674
2676
|
Object.defineProperty(exports, "INVOICING_NET_TERM_DAY_VALUES", { enumerable: true, get: function () { return invoicingCustomerFormConfig_1.INVOICING_NET_TERM_DAY_VALUES; } });
|
|
2675
2677
|
Object.defineProperty(exports, "INVOICING_TAXABILITY_VALUES", { enumerable: true, get: function () { return invoicingCustomerFormConfig_1.INVOICING_TAXABILITY_VALUES; } });
|
|
@@ -2,7 +2,7 @@ import { FetchStateAndError, ID } from '../../commonStateTypes/common';
|
|
|
2
2
|
import { Address } from '../../entity/address/addressState';
|
|
3
3
|
import { OfficerType } from '../companyView/types/companyPassport/companyUsersLocalData';
|
|
4
4
|
export type AddressUpdatableInfo = Omit<Address, 'updateTime' | 'createTime' | 'addressId'>;
|
|
5
|
-
export type AddressType = 'company_address' | 'company_registered_address' | `officer_${OfficerType}_address` | 'vendor_address' | 'user_address' | `credit_custom_shipping_${ID}_address` | `debit_custom_shipping_${ID}_address` | `subscription_billing_address`;
|
|
5
|
+
export type AddressType = 'company_address' | 'company_registered_address' | `officer_${OfficerType}_address` | 'vendor_address' | 'user_address' | `credit_custom_shipping_${ID}_address` | `debit_custom_shipping_${ID}_address` | `subscription_billing_address` | `invoicing_customer_billing_address`;
|
|
6
6
|
export interface NewAddressData {
|
|
7
7
|
addressToCreate: AddressUpdatableInfo;
|
|
8
8
|
addressType: AddressType;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { InvoicingCustomerPayload } from '../../../entity/invoicing/invoicingCustomer/invoicingCustomerPayload';
|
|
2
2
|
import { ZeniAPIResponse } from '../../../responsePayload';
|
|
3
|
+
import { AddressUpdatableInfo } from '../../addressView/addressViewState';
|
|
3
4
|
import { InvoicingCustomerFormLocalData } from './editInvoicingCustomerDetailViewState';
|
|
4
5
|
export type SaveInvoicingCustomerResponse = ZeniAPIResponse<InvoicingCustomerPayload>;
|
|
5
6
|
/**
|
|
6
|
-
* Build the create/update customer request body from the form draft.
|
|
7
|
-
*
|
|
8
|
-
*
|
|
7
|
+
* Build the create/update customer request body from the form draft. The
|
|
8
|
+
* billing address is sent as an object (captured via the shared Address
|
|
9
|
+
* screen); the backend creates it and returns its id — same pattern as the
|
|
10
|
+
* vendor save flow.
|
|
9
11
|
*/
|
|
10
|
-
export declare const localDataToSaveInvoicingCustomerPayload: (localData: InvoicingCustomerFormLocalData) => Record<string, unknown>;
|
|
12
|
+
export declare const localDataToSaveInvoicingCustomerPayload: (localData: InvoicingCustomerFormLocalData, billingAddress?: AddressUpdatableInfo) => Record<string, unknown>;
|
package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewPayload.js
CHANGED
|
@@ -1,27 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.localDataToSaveInvoicingCustomerPayload = void 0;
|
|
4
|
+
const addressViewPayload_1 = require("../../addressView/addressViewPayload");
|
|
4
5
|
const trimOrUndefined = (value) => value.trim() !== '' ? value.trim() : undefined;
|
|
5
6
|
/**
|
|
6
|
-
* Build the create/update customer request body from the form draft.
|
|
7
|
-
*
|
|
8
|
-
*
|
|
7
|
+
* Build the create/update customer request body from the form draft. The
|
|
8
|
+
* billing address is sent as an object (captured via the shared Address
|
|
9
|
+
* screen); the backend creates it and returns its id — same pattern as the
|
|
10
|
+
* vendor save flow.
|
|
9
11
|
*/
|
|
10
|
-
const localDataToSaveInvoicingCustomerPayload = (localData) => {
|
|
12
|
+
const localDataToSaveInvoicingCustomerPayload = (localData, billingAddress) => {
|
|
11
13
|
const firstName = trimOrUndefined(localData.firstName);
|
|
12
14
|
const lastName = trimOrUndefined(localData.lastName);
|
|
13
15
|
const company = trimOrUndefined(localData.company);
|
|
14
16
|
const netTerm = localData.netTermDays.trim();
|
|
15
|
-
const addressFields = {
|
|
16
|
-
city: trimOrUndefined(localData.billingCity),
|
|
17
|
-
country: trimOrUndefined(localData.billingCountry),
|
|
18
|
-
line1: trimOrUndefined(localData.billingLine1),
|
|
19
|
-
line2: trimOrUndefined(localData.billingLine2),
|
|
20
|
-
phone: trimOrUndefined(localData.billingPhone),
|
|
21
|
-
state_code: trimOrUndefined(localData.billingState),
|
|
22
|
-
zip: trimOrUndefined(localData.billingZip),
|
|
23
|
-
};
|
|
24
|
-
const hasAddress = Object.values(addressFields).some((part) => part != null);
|
|
25
17
|
return {
|
|
26
18
|
auto_collection: localData.autoCollection ? 'on' : 'off',
|
|
27
19
|
company,
|
|
@@ -35,16 +27,8 @@ const localDataToSaveInvoicingCustomerPayload = (localData) => {
|
|
|
35
27
|
taxability: localData.taxability,
|
|
36
28
|
vat_number: trimOrUndefined(localData.vatNumber),
|
|
37
29
|
...(netTerm !== '' ? { net_term_days: Number(netTerm) } : {}),
|
|
38
|
-
...(
|
|
39
|
-
? {
|
|
40
|
-
billing_address: {
|
|
41
|
-
...addressFields,
|
|
42
|
-
company,
|
|
43
|
-
first_name: firstName,
|
|
44
|
-
last_name: lastName,
|
|
45
|
-
validation_status: 'not_validated',
|
|
46
|
-
},
|
|
47
|
-
}
|
|
30
|
+
...(billingAddress != null
|
|
31
|
+
? { billing_address: (0, addressViewPayload_1.toAddressUpdatableInfoPayload)(billingAddress) }
|
|
48
32
|
: {}),
|
|
49
33
|
};
|
|
50
34
|
};
|
|
@@ -10,9 +10,13 @@ export interface UpdateInvoicingCustomerFormDraftPayload {
|
|
|
10
10
|
export interface SubmitInvoicingCustomerFormPayload {
|
|
11
11
|
id?: ID;
|
|
12
12
|
}
|
|
13
|
+
/** Trigger seeding the Address screen from an existing customer (edit mode). */
|
|
14
|
+
export interface InitializeInvoicingCustomerAddressPayload {
|
|
15
|
+
id?: ID;
|
|
16
|
+
}
|
|
13
17
|
export declare const initialState: EditInvoicingCustomerDetailViewState;
|
|
14
18
|
export declare const updateInvoicingCustomerFormDraft: import("@reduxjs/toolkit").ActionCreatorWithPayload<UpdateInvoicingCustomerFormDraftPayload, "editInvoicingCustomerDetailView/updateInvoicingCustomerFormDraft">, submitInvoicingCustomerForm: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: SubmitInvoicingCustomerFormPayload], SubmitInvoicingCustomerFormPayload, "editInvoicingCustomerDetailView/submitInvoicingCustomerForm", never, never>, submitInvoicingCustomerFormSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
15
19
|
customerId: ID;
|
|
16
|
-
}, "editInvoicingCustomerDetailView/submitInvoicingCustomerFormSuccess">, submitInvoicingCustomerFormFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<ZeniAPIStatus<Record<string, unknown>>, "editInvoicingCustomerDetailView/submitInvoicingCustomerFormFailure">, resetEditInvoicingCustomerDetailView: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"editInvoicingCustomerDetailView/resetEditInvoicingCustomerDetailView">;
|
|
20
|
+
}, "editInvoicingCustomerDetailView/submitInvoicingCustomerFormSuccess">, submitInvoicingCustomerFormFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<ZeniAPIStatus<Record<string, unknown>>, "editInvoicingCustomerDetailView/submitInvoicingCustomerFormFailure">, resetEditInvoicingCustomerDetailView: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"editInvoicingCustomerDetailView/resetEditInvoicingCustomerDetailView">, initializeInvoicingCustomerAddress: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: InitializeInvoicingCustomerAddressPayload], InitializeInvoicingCustomerAddressPayload, "editInvoicingCustomerDetailView/initializeInvoicingCustomerAddress", never, never>;
|
|
17
21
|
declare const _default: import("redux").Reducer<EditInvoicingCustomerDetailViewState>;
|
|
18
22
|
export default _default;
|
package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var _a;
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.resetEditInvoicingCustomerDetailView = exports.submitInvoicingCustomerFormFailure = exports.submitInvoicingCustomerFormSuccess = exports.submitInvoicingCustomerForm = exports.updateInvoicingCustomerFormDraft = exports.initialState = void 0;
|
|
4
|
+
exports.initializeInvoicingCustomerAddress = exports.resetEditInvoicingCustomerDetailView = exports.submitInvoicingCustomerFormFailure = exports.submitInvoicingCustomerFormSuccess = exports.submitInvoicingCustomerForm = exports.updateInvoicingCustomerFormDraft = exports.initialState = void 0;
|
|
5
5
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
6
|
const invoicingCustomerFormConfig_1 = require("./invoicingCustomerFormConfig");
|
|
7
7
|
exports.initialState = {
|
|
@@ -53,7 +53,14 @@ const editInvoicingCustomerDetailView = (0, toolkit_1.createSlice)({
|
|
|
53
53
|
draft.editDraftById = {};
|
|
54
54
|
draft.newCustomerDraft = { ...invoicingCustomerFormConfig_1.initialInvoicingCustomerFormLocalData };
|
|
55
55
|
},
|
|
56
|
+
// Trigger only — handled by initializeInvoicingCustomerAddressEpic.
|
|
57
|
+
initializeInvoicingCustomerAddress: {
|
|
58
|
+
reducer() { },
|
|
59
|
+
prepare(payload) {
|
|
60
|
+
return { payload };
|
|
61
|
+
},
|
|
62
|
+
},
|
|
56
63
|
},
|
|
57
64
|
});
|
|
58
|
-
_a = editInvoicingCustomerDetailView.actions, exports.updateInvoicingCustomerFormDraft = _a.updateInvoicingCustomerFormDraft, exports.submitInvoicingCustomerForm = _a.submitInvoicingCustomerForm, exports.submitInvoicingCustomerFormSuccess = _a.submitInvoicingCustomerFormSuccess, exports.submitInvoicingCustomerFormFailure = _a.submitInvoicingCustomerFormFailure, exports.resetEditInvoicingCustomerDetailView = _a.resetEditInvoicingCustomerDetailView;
|
|
65
|
+
_a = editInvoicingCustomerDetailView.actions, exports.updateInvoicingCustomerFormDraft = _a.updateInvoicingCustomerFormDraft, exports.submitInvoicingCustomerForm = _a.submitInvoicingCustomerForm, exports.submitInvoicingCustomerFormSuccess = _a.submitInvoicingCustomerFormSuccess, exports.submitInvoicingCustomerFormFailure = _a.submitInvoicingCustomerFormFailure, exports.resetEditInvoicingCustomerDetailView = _a.resetEditInvoicingCustomerDetailView, exports.initializeInvoicingCustomerAddress = _a.initializeInvoicingCustomerAddress;
|
|
59
66
|
exports.default = editInvoicingCustomerDetailView.reducer;
|
|
@@ -2,7 +2,17 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getInvoicingCustomerFormView = void 0;
|
|
4
4
|
const invoicingCustomerSelector_1 = require("../../../entity/invoicing/invoicingCustomer/invoicingCustomerSelector");
|
|
5
|
+
const addressViewSelector_1 = require("../../addressView/addressViewSelector");
|
|
5
6
|
const invoicingCustomerFormConfig_1 = require("./invoicingCustomerFormConfig");
|
|
7
|
+
const formatInvoicingBillingAddress = (address) => [
|
|
8
|
+
address.line1,
|
|
9
|
+
address.line2,
|
|
10
|
+
address.city,
|
|
11
|
+
`${address.state_code ?? ''} ${address.zip ?? ''}`.trim(),
|
|
12
|
+
address.country,
|
|
13
|
+
]
|
|
14
|
+
.filter((part) => part != null && part !== '')
|
|
15
|
+
.join(', ');
|
|
6
16
|
/**
|
|
7
17
|
* Bundled view for the customer create/edit form. Exposes the draft `localData`
|
|
8
18
|
* (seeded from the existing customer entity in edit mode until the user edits),
|
|
@@ -13,16 +23,30 @@ const invoicingCustomerFormConfig_1 = require("./invoicingCustomerFormConfig");
|
|
|
13
23
|
const getInvoicingCustomerFormView = (state, invoicingCustomerID) => {
|
|
14
24
|
const { editDraftById, error, fetchState, newCustomerDraft, savedCustomerId } = state.editInvoicingCustomerDetailViewState;
|
|
15
25
|
const mode = invoicingCustomerID != null ? 'edit' : 'create';
|
|
26
|
+
const customer = invoicingCustomerID != null
|
|
27
|
+
? (0, invoicingCustomerSelector_1.getInvoicingCustomerById)(state.invoicingCustomerState, invoicingCustomerID)
|
|
28
|
+
: undefined;
|
|
16
29
|
const localData = invoicingCustomerID != null
|
|
17
30
|
? (editDraftById[invoicingCustomerID] ??
|
|
18
|
-
(0, invoicingCustomerFormConfig_1.entityToInvoicingCustomerFormLocalData)(
|
|
31
|
+
(0, invoicingCustomerFormConfig_1.entityToInvoicingCustomerFormLocalData)(customer))
|
|
19
32
|
: newCustomerDraft;
|
|
33
|
+
// Billing address is captured via the shared Address screen: prefer a
|
|
34
|
+
// freshly-saved address, else the customer's existing one.
|
|
35
|
+
const newAddress = state.addressViewState.newAddressState?.[invoicingCustomerFormConfig_1.INVOICING_CUSTOMER_BILLING_ADDRESS_TYPE];
|
|
36
|
+
const billingAddressId = newAddress?.newAddressId ?? customer?.billingAddressId;
|
|
37
|
+
const billingAddressLabel = newAddress?.addressToCreate != null
|
|
38
|
+
? (0, addressViewSelector_1.getFormattedAddress)(newAddress.addressToCreate)
|
|
39
|
+
: customer?.billingAddress != null
|
|
40
|
+
? formatInvoicingBillingAddress(customer.billingAddress)
|
|
41
|
+
: undefined;
|
|
20
42
|
return {
|
|
21
43
|
customerTypeValues: [...invoicingCustomerFormConfig_1.INVOICING_CUSTOMER_TYPE_VALUES],
|
|
22
44
|
localData,
|
|
23
45
|
mode,
|
|
24
46
|
netTermDayValues: [...invoicingCustomerFormConfig_1.INVOICING_NET_TERM_DAY_VALUES],
|
|
25
47
|
taxabilityValues: [...invoicingCustomerFormConfig_1.INVOICING_TAXABILITY_VALUES],
|
|
48
|
+
billingAddressId,
|
|
49
|
+
billingAddressLabel,
|
|
26
50
|
savedCustomerId,
|
|
27
51
|
fetchState,
|
|
28
52
|
error,
|
package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewState.d.ts
CHANGED
|
@@ -1,20 +1,13 @@
|
|
|
1
1
|
import { FetchedState, ID } from '../../../commonStateTypes/common';
|
|
2
2
|
/**
|
|
3
3
|
* Draft form state for the create/edit customer form. Held in CES so the form
|
|
4
|
-
* flows its data from here (mirrors the bill-pay / reimbursement pattern).
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
4
|
+
* flows its data from here (mirrors the bill-pay / reimbursement pattern). The
|
|
5
|
+
* billing address is NOT part of this draft — it is captured via the shared
|
|
6
|
+
* Address screen (`addressView`) and threaded into the save payload as
|
|
7
|
+
* `billing_address_id` by the save epic.
|
|
8
8
|
*/
|
|
9
9
|
export interface InvoicingCustomerFormLocalData {
|
|
10
10
|
autoCollection: boolean;
|
|
11
|
-
billingCity: string;
|
|
12
|
-
billingCountry: string;
|
|
13
|
-
billingLine1: string;
|
|
14
|
-
billingLine2: string;
|
|
15
|
-
billingPhone: string;
|
|
16
|
-
billingState: string;
|
|
17
|
-
billingZip: string;
|
|
18
11
|
company: string;
|
|
19
12
|
customerType: string;
|
|
20
13
|
email: string;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { RootState } from '../../../reducer';
|
|
4
|
+
import { newAddressInLocalStore } from '../../addressView/addressViewReducer';
|
|
5
|
+
import { updateInvoicingCustomerDetail } from '../invoicingCustomerDetailView/invoicingCustomerDetailViewReducer';
|
|
6
|
+
import { initializeInvoicingCustomerAddress } from './editInvoicingCustomerDetailViewReducer';
|
|
7
|
+
export type ActionType = ReturnType<typeof initializeInvoicingCustomerAddress> | ReturnType<typeof updateInvoicingCustomerDetail> | ReturnType<typeof newAddressInLocalStore>;
|
|
8
|
+
/**
|
|
9
|
+
* Seed the shared Address screen with an existing customer's saved billing
|
|
10
|
+
* address (looked up in the address entity store by `billingAddressId`). Runs
|
|
11
|
+
* both when the customer detail loads and on an explicit initialize trigger.
|
|
12
|
+
* Skips when an in-progress draft already exists, so an address the user just
|
|
13
|
+
* entered survives navigating between the form and the Address screen. Mirrors
|
|
14
|
+
* `initializeVendorAddressEpic`.
|
|
15
|
+
*/
|
|
16
|
+
export declare const initializeInvoicingCustomerAddressEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>) => Observable<ActionType>;
|
package/lib/view/invoicing/editInvoicingCustomerDetailView/initializeInvoicingCustomerAddressEpic.js
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.initializeInvoicingCustomerAddressEpic = void 0;
|
|
4
|
+
const rxjs_1 = require("rxjs");
|
|
5
|
+
const operators_1 = require("rxjs/operators");
|
|
6
|
+
const addressSelector_1 = require("../../../entity/address/addressSelector");
|
|
7
|
+
const invoicingCustomerSelector_1 = require("../../../entity/invoicing/invoicingCustomer/invoicingCustomerSelector");
|
|
8
|
+
const addressViewReducer_1 = require("../../addressView/addressViewReducer");
|
|
9
|
+
const invoicingCustomerDetailViewReducer_1 = require("../invoicingCustomerDetailView/invoicingCustomerDetailViewReducer");
|
|
10
|
+
const editInvoicingCustomerDetailViewReducer_1 = require("./editInvoicingCustomerDetailViewReducer");
|
|
11
|
+
const invoicingCustomerFormConfig_1 = require("./invoicingCustomerFormConfig");
|
|
12
|
+
/**
|
|
13
|
+
* Seed the shared Address screen with an existing customer's saved billing
|
|
14
|
+
* address (looked up in the address entity store by `billingAddressId`). Runs
|
|
15
|
+
* both when the customer detail loads and on an explicit initialize trigger.
|
|
16
|
+
* Skips when an in-progress draft already exists, so an address the user just
|
|
17
|
+
* entered survives navigating between the form and the Address screen. Mirrors
|
|
18
|
+
* `initializeVendorAddressEpic`.
|
|
19
|
+
*/
|
|
20
|
+
const initializeInvoicingCustomerAddressEpic = (actions$, state$) => actions$.pipe((0, operators_1.filter)((action) => editInvoicingCustomerDetailViewReducer_1.initializeInvoicingCustomerAddress.match(action) ||
|
|
21
|
+
invoicingCustomerDetailViewReducer_1.updateInvoicingCustomerDetail.match(action)), (0, operators_1.mergeMap)((action) => {
|
|
22
|
+
const { id } = action.payload;
|
|
23
|
+
const rootState = state$.value;
|
|
24
|
+
const existingDraft = rootState.addressViewState.newAddressState?.[invoicingCustomerFormConfig_1.INVOICING_CUSTOMER_BILLING_ADDRESS_TYPE]?.addressToCreate;
|
|
25
|
+
if (existingDraft != null || id == null) {
|
|
26
|
+
return rxjs_1.EMPTY;
|
|
27
|
+
}
|
|
28
|
+
const customer = (0, invoicingCustomerSelector_1.getInvoicingCustomerById)(rootState.invoicingCustomerState, id);
|
|
29
|
+
const address = customer?.billingAddressId != null
|
|
30
|
+
? (0, addressSelector_1.getAddressByAddressId)(rootState.addressState, customer.billingAddressId)
|
|
31
|
+
: undefined;
|
|
32
|
+
return address != null
|
|
33
|
+
? (0, rxjs_1.of)((0, addressViewReducer_1.newAddressInLocalStore)({
|
|
34
|
+
addressType: invoicingCustomerFormConfig_1.INVOICING_CUSTOMER_BILLING_ADDRESS_TYPE,
|
|
35
|
+
addressToCreate: address,
|
|
36
|
+
}))
|
|
37
|
+
: rxjs_1.EMPTY;
|
|
38
|
+
}));
|
|
39
|
+
exports.initializeInvoicingCustomerAddressEpic = initializeInvoicingCustomerAddressEpic;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { InvoicingCustomer } from '../../../entity/invoicing/invoicingCustomer/invoicingCustomerState';
|
|
2
2
|
import { InvoicingCustomerFormLocalData } from './editInvoicingCustomerDetailViewState';
|
|
3
|
+
/** `AddressType` key used when the customer form opens the shared Address screen. */
|
|
4
|
+
export declare const INVOICING_CUSTOMER_BILLING_ADDRESS_TYPE: "invoicing_customer_billing_address";
|
|
3
5
|
/**
|
|
4
6
|
* Canonical option value sets for the customer form. CES owns the values;
|
|
5
7
|
* web-components maps each value to a localized label (same split as the
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.entityToInvoicingCustomerFormLocalData = exports.initialInvoicingCustomerFormLocalData = exports.INVOICING_NET_TERM_DAY_VALUES = exports.INVOICING_TAXABILITY_VALUES = exports.INVOICING_CUSTOMER_TYPE_VALUES = void 0;
|
|
3
|
+
exports.entityToInvoicingCustomerFormLocalData = exports.initialInvoicingCustomerFormLocalData = exports.INVOICING_NET_TERM_DAY_VALUES = exports.INVOICING_TAXABILITY_VALUES = exports.INVOICING_CUSTOMER_TYPE_VALUES = exports.INVOICING_CUSTOMER_BILLING_ADDRESS_TYPE = void 0;
|
|
4
|
+
/** `AddressType` key used when the customer form opens the shared Address screen. */
|
|
5
|
+
exports.INVOICING_CUSTOMER_BILLING_ADDRESS_TYPE = 'invoicing_customer_billing_address';
|
|
4
6
|
/**
|
|
5
7
|
* Canonical option value sets for the customer form. CES owns the values;
|
|
6
8
|
* web-components maps each value to a localized label (same split as the
|
|
@@ -20,13 +22,6 @@ exports.INVOICING_NET_TERM_DAY_VALUES = [
|
|
|
20
22
|
];
|
|
21
23
|
exports.initialInvoicingCustomerFormLocalData = {
|
|
22
24
|
autoCollection: true,
|
|
23
|
-
billingCity: '',
|
|
24
|
-
billingCountry: '',
|
|
25
|
-
billingLine1: '',
|
|
26
|
-
billingLine2: '',
|
|
27
|
-
billingPhone: '',
|
|
28
|
-
billingState: '',
|
|
29
|
-
billingZip: '',
|
|
30
25
|
company: '',
|
|
31
26
|
customerType: 'business',
|
|
32
27
|
email: '',
|
|
@@ -44,16 +39,8 @@ const entityToInvoicingCustomerFormLocalData = (customer) => {
|
|
|
44
39
|
if (customer == null) {
|
|
45
40
|
return { ...exports.initialInvoicingCustomerFormLocalData };
|
|
46
41
|
}
|
|
47
|
-
const address = customer.billingAddress;
|
|
48
42
|
return {
|
|
49
43
|
autoCollection: (customer.autoCollection ?? 'on') === 'on',
|
|
50
|
-
billingCity: address?.city ?? '',
|
|
51
|
-
billingCountry: address?.country ?? '',
|
|
52
|
-
billingLine1: address?.line1 ?? '',
|
|
53
|
-
billingLine2: address?.line2 ?? '',
|
|
54
|
-
billingPhone: address?.phone ?? '',
|
|
55
|
-
billingState: address?.state_code ?? '',
|
|
56
|
-
billingZip: address?.zip ?? '',
|
|
57
44
|
company: customer.company ?? '',
|
|
58
45
|
customerType: customer.customerType ?? 'business',
|
|
59
46
|
email: customer.email ?? '',
|
|
@@ -3,6 +3,7 @@ import { Observable } from 'rxjs';
|
|
|
3
3
|
import { updateInvoicingCustomers } from '../../../entity/invoicing/invoicingCustomer/invoicingCustomerReducer';
|
|
4
4
|
import { RootState } from '../../../reducer';
|
|
5
5
|
import { ZeniAPI } from '../../../zeniAPI';
|
|
6
|
+
import { resetNewAddressDataInLocalStore } from '../../addressView/addressViewReducer';
|
|
6
7
|
import { submitInvoicingCustomerForm, submitInvoicingCustomerFormFailure, submitInvoicingCustomerFormSuccess } from './editInvoicingCustomerDetailViewReducer';
|
|
7
|
-
export type ActionType = ReturnType<typeof submitInvoicingCustomerForm> | ReturnType<typeof submitInvoicingCustomerFormSuccess> | ReturnType<typeof submitInvoicingCustomerFormFailure> | ReturnType<typeof updateInvoicingCustomers>;
|
|
8
|
+
export type ActionType = ReturnType<typeof submitInvoicingCustomerForm> | ReturnType<typeof submitInvoicingCustomerFormSuccess> | ReturnType<typeof submitInvoicingCustomerFormFailure> | ReturnType<typeof resetNewAddressDataInLocalStore> | ReturnType<typeof updateInvoicingCustomers>;
|
|
8
9
|
export declare const saveInvoicingCustomerEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;
|
|
@@ -5,14 +5,21 @@ const rxjs_1 = require("rxjs");
|
|
|
5
5
|
const operators_1 = require("rxjs/operators");
|
|
6
6
|
const invoicingCustomerReducer_1 = require("../../../entity/invoicing/invoicingCustomer/invoicingCustomerReducer");
|
|
7
7
|
const responsePayload_1 = require("../../../responsePayload");
|
|
8
|
+
const addressViewReducer_1 = require("../../addressView/addressViewReducer");
|
|
8
9
|
const editInvoicingCustomerDetailViewPayload_1 = require("./editInvoicingCustomerDetailViewPayload");
|
|
10
|
+
const invoicingCustomerFormConfig_1 = require("./invoicingCustomerFormConfig");
|
|
9
11
|
const editInvoicingCustomerDetailViewReducer_1 = require("./editInvoicingCustomerDetailViewReducer");
|
|
10
12
|
const saveInvoicingCustomerEpic = (actions$, state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(editInvoicingCustomerDetailViewReducer_1.submitInvoicingCustomerForm.match), (0, operators_1.mergeMap)((action) => {
|
|
11
13
|
const { id } = action.payload;
|
|
12
|
-
const
|
|
14
|
+
const rootState = state$.value;
|
|
15
|
+
const viewState = rootState.editInvoicingCustomerDetailViewState;
|
|
13
16
|
const localData = (id != null ? viewState.editDraftById[id] : viewState.newCustomerDraft) ??
|
|
14
17
|
viewState.newCustomerDraft;
|
|
15
|
-
|
|
18
|
+
// Billing address captured via the shared Address screen is sent as an
|
|
19
|
+
// object in the payload; the backend creates it and returns its id
|
|
20
|
+
// (same pattern as the vendor save flow).
|
|
21
|
+
const billingAddress = rootState.addressViewState.newAddressState?.[invoicingCustomerFormConfig_1.INVOICING_CUSTOMER_BILLING_ADDRESS_TYPE]?.addressToCreate;
|
|
22
|
+
const data = (0, editInvoicingCustomerDetailViewPayload_1.localDataToSaveInvoicingCustomerPayload)(localData, billingAddress);
|
|
16
23
|
const baseUrl = `${zeniAPI.apiEndPoints.invoicingMicroServiceBaseUrl}/1.0`;
|
|
17
24
|
const request$ = id != null
|
|
18
25
|
? zeniAPI.putAndGetJSON(`${baseUrl}/customers/${encodeURIComponent(id)}`, { ...data })
|
|
@@ -24,6 +31,8 @@ const saveInvoicingCustomerEpic = (actions$, state$, zeniAPI) => actions$.pipe((
|
|
|
24
31
|
(0, editInvoicingCustomerDetailViewReducer_1.submitInvoicingCustomerFormSuccess)({
|
|
25
32
|
customerId: response.data.id,
|
|
26
33
|
}),
|
|
34
|
+
// Clear the stashed address so the next customer starts fresh.
|
|
35
|
+
(0, addressViewReducer_1.resetNewAddressDataInLocalStore)(invoicingCustomerFormConfig_1.INVOICING_CUSTOMER_BILLING_ADDRESS_TYPE),
|
|
27
36
|
];
|
|
28
37
|
}
|
|
29
38
|
return (0, rxjs_1.of)((0, editInvoicingCustomerDetailViewReducer_1.submitInvoicingCustomerFormFailure)(response.status));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "5.1.41-
|
|
3
|
+
"version": "5.1.41-betaAK3",
|
|
4
4
|
"description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/esm/index.js",
|