@zeniai/client-epic-state 4.11.75 → 4.11.76
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/epic.d.ts +2 -1
- package/lib/epic.js +2 -1
- package/lib/index.d.ts +4 -4
- package/lib/index.js +4 -2
- package/lib/view/auditReportView/auditReportViewHelper.d.ts +3 -2
- package/lib/view/auditReportView/auditReportViewHelper.js +16 -2
- package/lib/view/auditReportView/auditReportViewPayload.d.ts +39 -7
- package/lib/view/auditReportView/auditReportViewReducer.d.ts +18 -1
- package/lib/view/auditReportView/auditReportViewReducer.js +84 -2
- package/lib/view/auditReportView/auditReportViewSelector.d.ts +6 -1
- package/lib/view/auditReportView/auditReportViewSelector.js +19 -2
- package/lib/view/auditReportView/auditReportViewState.d.ts +15 -1
- package/lib/view/auditReportView/auditReportViewState.js +4 -1
- package/lib/view/auditReportView/epics/saveReasonForAuditRuleEpic.d.ts +8 -0
- package/lib/view/auditReportView/epics/saveReasonForAuditRuleEpic.js +46 -0
- package/lib/view/companyMonthEndReportView/companyMonthEndReportViewReducer.js +1 -0
- package/lib/view/reviewCompanyView/reviewCompanyPayload.d.ts +1 -0
- package/lib/view/reviewCompanyView/reviewCompanyViewState.d.ts +1 -0
- package/lib/view/reviewCompanyView/reviewCompanyViewState.js +1 -0
- package/package.json +1 -1
package/lib/epic.d.ts
CHANGED
|
@@ -357,6 +357,7 @@ import { ActionType as CreateTagActionType } from './view/tagView/epics/createTa
|
|
|
357
357
|
import { ActionType as FetchCollaborationAuthTokenActionType } from './view/authenticationView/epics/fetchCollaborationAuthTokenEpic';
|
|
358
358
|
import { ActionType as FetchAuditReportGroupViewActionType } from './view/auditReportView/epics/fetchAuditReportGroupViewEpic';
|
|
359
359
|
import { ActionType as FetchAuditRuleGroupViewActionType } from './view/auditReportView/epics/fetchAuditRuleGroupViewEpic';
|
|
360
|
+
import { ActionType as SaveReasonForAuditRuleActionType } from './view/auditReportView/epics/saveReasonForAuditRuleEpic';
|
|
360
361
|
import { ActionType as FetchReferralsActionType } from './view/referralView/epics/fetchReferralsEpic';
|
|
361
362
|
import { ActionType as FetchRewardsPlanActionType } from './view/referralView/epics/fetchRewardsPlanEpic';
|
|
362
363
|
import { ActionType as SendReferralInviteActionType } from './view/referralView/epics/sendReferralInviteEpic';
|
|
@@ -383,6 +384,6 @@ import { ActionType as FetchPaymentSourcesActionType } from './view/cardPayment/
|
|
|
383
384
|
import { ActionType as CreateCardSetupIntentActionType } from './view/cardPayment/epic/createCardSetupIntentEpic';
|
|
384
385
|
import { ActionType as FetchBillingAccountsListActionType } from './view/settingsView/epic/fetchBillingAccountsViewEpic';
|
|
385
386
|
/** Root action type is union of all the epic action type */
|
|
386
|
-
export declare type RootActionType = AcceptBillPayTermsActionType | AcceptBillPayUpdatedTermsActionType | AcceptChargeCardTermsActionType | AcceptEmployeeRemiTermsActionType | AcceptRemiTermsActionType | AcceptZeniAccountTermsActionType | AddCardPaymentSourceActionType | ApproveOrRejectBillActionType | ApproveOrRejectBillsBulkActionActionType | ApproveOrRejectRemiActionType | ApproveVendorGlobalReviewActionType | ArchiveTaskActionType | BalanceSheetActionType | BalanceSheetForTimeframeActionType | BulkUpdateTasksListActionType | CancelAndDeleteBillActionType | CancelAndDeleteRemiActionType | CancelOrDeleteBillsBulkActionActionType | CardBalanceActionType | CashBalanceActionType | CashFlowActionType | CashFlowForTimeframeActionType | CashInCashOutActionType | CashPositionActionType | ChangeZeniPersonRolesActionType | CheckDepositActionType | ClearAllActionType | CombinedStatementActionType | CompanyManagementSavePendingUpdatesActionType | CompanyManagementSaveUpdatesActionType | ConfirmCardSetupIntentActionType | CreateAddressActionType | CreateBankAccountActionType | CreateCardSetupIntentActionType | CreateCheckingAccountActionType | CreateCompanyAddressActionType | CreateCompanyOfficersActionType | CreateCompanyUserAddressActionType | CreateGlobalMerchantActionType | CreateInternationalBankAccountActionType | CreateNewSchedulesActionType | CreateNewTaskGroupActionType | CreatePaymentInstrumentActionType | CreateTagActionType | CreateUserBankAccountActionType | CurrencyConversionActionType | DeleteBankAccountActionType | DeleteBillActionType | DeleteBillPayApprovalRuleActionType | DeleteFileActionType | DeleteFileListActionType | DeleteInternationalBankAccountActionType | DeletePaymentInstrumentActionType | DeletePersonActionType | DeleteRemiActionType | DeleteRemiApprovalRuleActionType | DeleteScheduleDetailActionType | DeleteTagActionType | DeleteTaskActionType | DeleteTaskGroupActionType | DeleteUserBankAccountActionType | DepositAccountTransactionListActionType | DragNDropTasksActionType | EnableSetupActionType | EstablishOnboardingPlaidConnectionActionType | EstablishPlaidConnectionActionType | FetchAccountHistoryActionType | FetchAccountListActionType | FetchAccountListForAccountTypesActionType | FetchActiveTenantActionType | FetchAddressActionType | FetchAllCockpitViewsActionType | FetchAllPeopleRequiredActionType | FetchAllTagsActionType | FetchAllTaskGroupsActionType | FetchAllTenantsActionType | FetchApAgingActionType | FetchApAgingDetailActionType | FetchArAgingActionType | FetchArAgingDetailActionType | FetchAuditReportGroupViewActionType | FetchAuditRuleGroupViewActionType | FetchBankAccountsListActionType | FetchBankConnectionsViewActionType | FetchBankCountryNameByIbanActionType | FetchBankNameByRoutingActionType | FetchBankNameBySwiftActionType | FetchBillAndInitializeLocalStoreActionType | FetchBillDetailActionType | FetchBillingAccountsListActionType | FetchBillListActionType | FetchBillListPerTabActionType | FetchBillPayApproversDetailsActionType | FetchBillPayApproversListActionType | FetchBillPayCardActionType | FetchBillPayConfigActionType | FetchBillPaySetupApproverViewActionType | FetchBillPaySetupViewActionType | FetchCashbackDetailActionType | FetchChargeCardConfigActionType | FetchChargeCardDetailActionType | FetchChargeCardDetailPageActionType | FetchChargeCardListActionType | FetchChargeCardListPageActionType | FetchChargeCardSetupViewActionType | FetchChargeCardTransactionListActionType | FetchClassListActionType | FetchCollaborationAuthTokenActionType | FetchCompanyConfigActionType | FetchCompanyHealthMetricViewEpicActionType | FetchCompanyManagementActionType | FetchCompanyMetaDataActionType | FetchCompanyMonthEndReportHistoricDataActionType | FetchCompanyMonthEndReportHistoricDatesActionType | FetchCompanyMonthEndReportTemplatesActionType | FetchCompanyMonthEndReportViewActionType | FetchCompanyOnboardingViewActionType | FetchCompanyPassportViewActionType | FetchCompanyPortfolioActionType | FetchCompanyTaskManagerViewActionType | FetchCreditAccountActionType | FetchCurrencyConversionValueActionType | FetchDashboardActionType | FetchDepositAccStatementListActionType | FetchDepositAccountActionType | FetchDepositAccountDetailActionType | FetchDepositAccountListActionType | FetchDownloadSchedulesActionType | FetchDuplicateBillActionType | FetchDuplicateReimbursementEpicActionType | FetchEditBillDetailPageActionType | FetchEditRemiDetailPageActionType | FetchEntityAutoCompleteActionType | FetchEntityHistoryActionType | FetchEntityRecommendationsByTransactionIdActionType | FetchExcludedResourcesActionType | FetchExpenseTrendActionType | FetchExternalConnectionsActionType | FetchFileActionType | FetchFileListActionType | FetchForecastListActionType | FetchGlobalMerchantAutoCompleteActionType | FetchGlobalMerchantRecommendationActionType | FetchIncomeTrendActionType | FetchInternationalWireDynamicFormActionType | FetchMagicLinkBankNameByRoutingActionType | FetchMagicLinkBankNameBySwiftActionType | FetchMagicLinkBillActionType | FetchMagicLinkTenantActionType | FetchManagementActionType | FetchMerchantListActionType | FetchMyProfileActionType | FetchMyProfileViewActionType | FetchNetBurnOrIncomeStoryCardActionType | FetchNetBurnOrIncomeWithForecastActionType | FetchNotificationSettingsActionType | FetchNotificationSettingsViewActionType | FetchNotificationUnreadCountActionType | FetchNotificationViewActionType | FetchOnboardingActionType | FetchOnboardingCompletedCompaniesActionType | FetchOnboardingCustomerSetupViewActionType | FetchOnboardingCustomerViewActionType | FetchOpExWithForecastActionType | FetchOwnerListActionType | FetchParentSubsidiaryManagementActionType | FetchPaymentAccountListActionType | FetchPaymentSourcesActionType | FetchPortfolioActionType | FetchPreviousBillsActionType | FetchRecommendationByEntityIdActionType | FetchRecommendationByEntityNameActionType | FetchRecommendationsAndUpdateMerchantRecommendationsActionType | FetchRecommendationsAndUpdateVendorRecommendationsActionType | FetchReferralsActionType | FetchReimbursementCardActionType | FetchReimbursementConfigActionType | FetchRemiAndInitializeLocalStoreActionType | FetchRemiApproversDetailsActionType | FetchRemiApproversListActionType | FetchRemiDetailActionType | FetchRemiListActionType | FetchRemiListPerTabActionType | FetchRemiSetupApproverViewActionType | FetchRemiSetupViewActionType | FetchRevenueWithForecastActionType | FetchReviewCompanyActionType | FetchReviewTransferDetailActionType | FetchRewardsPlanActionType | FetchScheduleDetailsActionType | FetchScheduleDetailsPageActionType | FetchScheduleListActionType | FetchSchedulesListActionType | FetchSubscriptionActionType | FetchSubscriptionAddOnsActionType | FetchSubscriptionCouponsActionType | FetchSubscriptionCreateEstimateActionType | FetchSubscriptionDetailsActionType | FetchSubscriptionListActionType | FetchSubscriptionPlansActionType | FetchSubscriptionSummaryForTenantActionType | FetchSubscriptionUpdateEstimateActionType | FetchTaskDetailActionType | FetchTaskDetailPageActionType | FetchTaskHistoryActionType | FetchTaskListActionType | FetchTaskListPageActionType | FetchTasksCardActionType | FetchTransactionDetailActionType | FetchTransactionListByAccountActionType | FetchTransactionListByClassActionType | FetchTransactionListByEntityActionType | FetchTransactionsForEntityActionType | FetchTransactionsListByCategoryTypeActionType | FetchTrendForEntityActionType | FetchUserDetailActionType | FetchUserFinancialAccountActionType | FetchUserListByTypeActionType | FetchUserRoleConfigActionType | FetchVendorActionType | FetchVendorAndUpdateBillLocalDataActionType | FetchVendorByNameAndParseInvoiceActionType | FetchVendorDetailsActionType | FetchVendorFirstReviewAttachmentsActionType | FetchVendorFirstReviewViewActionType | FetchVendorGlobalReviewViewActionType | FetchVendorTypeListActionType | FetchVendorsActionType | FetchVendorTabViewActionType | FetchZeniAccStatePageActionType | FetchZeniAccountListPageActionType | FetchZeniAccountSetupViewActionType | FetchZeniAccountsConfigActionType | FetchZeniAccountsPromoCardActionType | FetchZeniUsersActionType | GetOnboardingEmailGroupActionType | GetOnboardingPlaidLinkTokenActionType | GetPaymentAccountsActionType | GetPlaidLinkTokenActionType | ImproveUsingZeniGPTActionType | InitializeAccountMappingViewActionType | InitializeBillPaySetupApproverViewUpdateDataActionType | InitializeBillToLocalStoreActionType | InitializeCompanyHealthMetricViewLocalDataEpicActionType | InitializeEditPersonActionType | InitializeInternationalWireLocalDataActionType | InitializeOnboardingCustomerViewUpdateDataActionType | InitializeRemiSetupApproverViewUpdateDataActionType | InitializeRemiToLocalStoreActionType | InitializeScheduleDetailLocalDataActionType | InitializeSubscriptionLocalDataActionType | InitializeTaskToLocalStoreActionType | InitializeTransactionDetailLocalDataActionType | InitializeVendorAddressActionType | InsightsCardActionType | InvitePeopleActionType | InviteZeniPeopleActionType | IssueChargeCardActionType | MarkAsCompleteScheduleDetailActionType | MarkTransactionAsNotMiscategorizedActionType | NetBurnOrIncomeActionType | NetBurnOrIncomeClassesViewActionType | NetBurnOrIncomeForTimeframeActionType | NetBurnOrIncomeForTimeframeClassesViewActionType | OpExActionType | OpExByVendorReportActionType | OpExByVendorReportForTimeframeActionType | OpExByVendorReportSummaryActionType | OpExClassesViewActionType | OpExForTimeframeClassesViewActionType | OpExForTimeframeViewActionType | ParallelFetchAccountTransactionListActionType | ParallelFetchClassTransactionListActionType | ParallelFetchEntityTransactionListActionType | ParallelFetchTransactionListByCategoryTypeActionType | ParseInvoiceToBillActionType | ParseReceiptsToRemiActionType | PeopleActionType | PeoplePageActionType | PeopleSaveUpdatesActionType | ProfitAndLossActionType | ProfitAndLossClassesViewActionType | ProfitAndLossForTimeframeActionType | ProfitAndLossForTimeframeClassesViewActionType | PushToastNotificationActionType | RecommendationForAccountTypeActionType | RefreshIntegrationsDataActionType | RejectVendorGlobalReviewActionType | ResendInviteActionType | ResendOtpActionType | ResendReferralInviteActionType | ResetTransactionVendorLocalDataActionType | ResetVendorDetailLocalDataActionType | RetryBankAccountConnectionActionType | RetryBankAccountConnectionForOnboardingActionType | RevenueActionType | RevenueClassesViewActionType | RevenueForTimeframeClassesViewActionType | RevenueForTimeframeViewActionType | ReviewDraftBillsBulkActionActionTye | SaveAccountMappingViewActionType | SaveAddressActionType | SaveBillDetailActionType | SaveBillPaySetupApproverViewUpdatesActionType | SaveCompanyHealthMetricByIdEpicActionType | SaveCompanyMonthEndReportActionType | SaveCompanyPassportDetailsActionType | SaveExternalConnectionActionType | SaveMagicLinkBankAccountActionType | SaveNotificationSettingsEpicActionType | SaveOnboardingCustomerCompletedStatusActionType | SaveOnboardingCustomerNotesActionType | SaveOnboardingCustomerViewUpdatesActionType | SaveRealTimeApprovalActionType | SaveRemiDetailActionType | SaveRemiSetupApproverViewUpdatesActionType | SaveScheduleDetailsActionType | SaveSubscriptionNotesUpdatesActionType | SaveSubscriptionUpdatesActionType | SaveTaskDetailActionType | SaveTranactionVendorActionType | SaveTransactionDetailActionType | SaveVendorActionType | SaveVendorFirstReviewViewActionType | SendCompanyMonthEndReportActionType | SendOnboardingCustomerViewInviteActionType | SendOtpActionType | SendReferralInviteActionType | SignInActionType | SignOutActionType | StatementCloseDayActionType | SubmitDraftBillsBulkActionActionType | ToggleReportUIOptionForecastModeActionType | TopExActionType | TransferMoneyActionType | UnlinkPaymentAccountActionType | UpdateAddressActionType | UpdateAmountsInScheduleDetailActionType | UpdateBusinessVerificationDetailsActionType | UpdateChargeCardDetailActionType | UpdateCompanyDetailsActionType | UpdateCompanyOfficerActionType | UpdateCompanyPassportLocalStoreDataActionType | UpdateDepositAccountActionType | UpdateDynamicFormActionType | UpdateFileNameActionType | UpdateFilesMetadataActionType | UpdateJESchedulesActionType | UpdateMappedCashAccountActionType | UpdateMileageDetailsActionType | UpdateNetBurnOrIncomeStoryCardSettingsActionType | UpdateNotificationViewAllNotificationsStatusActionType | UpdateNotificationViewNotificationStatusActionType | UpdateOnboardingCustomerViewActionType | UpdateOnboardingCustomerViewCompleteStatusActionType | UpdateOnboardingCustomerViewLocalStoreDataActionType | UpdateOnboardingPaymentAccountLoginStatusActionType | UpdateOnboardingPaymentAccountStatusActionType | UpdatePaymentAccountActionType | UpdatePaymentAccountLoginStatusActionType | UpdatePaymentAccountStatusActionType | UpdatePrimaryContactActionType | UpdatePrimaryFundingAccountActionType | UpdateReferViewedActionType | UpdateRemiSetupViewLocalStoreDataActionType | UpdateReportUIOptionCOABalancesRangeActionType | UpdateReportUIOptionIsCompareModeActionType | UpdateReportUIOptionIsCompareModeOnActionType | UpdateReportUIOptionThisPeriodActionType | UpdateReportUIOptionTimeFrameActionType | UpdateSectionAccountsViewActionType | UpdateSectionClassesViewV2ActionType | UpdateSelectedVendorForCreateFlowActionType | UpdateSetupViewLocalStoreDataActionType | UpdateTaskGroupNameActionType | UpdateTransactionDetailActionType | UpdateTransactionOnUploadSuccessActionType | UpdateVendorContactActionType | VendorsTabFetchVendorActionType | VendorsTabFetchVendorDetailPageViewActionType | VendorsTabFetchVendorDetailsActionType | VendorsTabResetVendorDetailLocalDataActionType | VendorsTabSaveVendorActionType | VerifyOtpActionType | VerifyUserActionType | WiseRedirectActionType;
|
|
387
|
+
export declare type RootActionType = AcceptBillPayTermsActionType | AcceptBillPayUpdatedTermsActionType | AcceptChargeCardTermsActionType | AcceptEmployeeRemiTermsActionType | AcceptRemiTermsActionType | AcceptZeniAccountTermsActionType | AddCardPaymentSourceActionType | ApproveOrRejectBillActionType | ApproveOrRejectBillsBulkActionActionType | ApproveOrRejectRemiActionType | ApproveVendorGlobalReviewActionType | ArchiveTaskActionType | BalanceSheetActionType | BalanceSheetForTimeframeActionType | BulkUpdateTasksListActionType | CancelAndDeleteBillActionType | CancelAndDeleteRemiActionType | CancelOrDeleteBillsBulkActionActionType | CardBalanceActionType | CashBalanceActionType | CashFlowActionType | CashFlowForTimeframeActionType | CashInCashOutActionType | CashPositionActionType | ChangeZeniPersonRolesActionType | CheckDepositActionType | ClearAllActionType | CombinedStatementActionType | CompanyManagementSavePendingUpdatesActionType | CompanyManagementSaveUpdatesActionType | ConfirmCardSetupIntentActionType | CreateAddressActionType | CreateBankAccountActionType | CreateCardSetupIntentActionType | CreateCheckingAccountActionType | CreateCompanyAddressActionType | CreateCompanyOfficersActionType | CreateCompanyUserAddressActionType | CreateGlobalMerchantActionType | CreateInternationalBankAccountActionType | CreateNewSchedulesActionType | CreateNewTaskGroupActionType | CreatePaymentInstrumentActionType | CreateTagActionType | CreateUserBankAccountActionType | CurrencyConversionActionType | DeleteBankAccountActionType | DeleteBillActionType | DeleteBillPayApprovalRuleActionType | DeleteFileActionType | DeleteFileListActionType | DeleteInternationalBankAccountActionType | DeletePaymentInstrumentActionType | DeletePersonActionType | DeleteRemiActionType | DeleteRemiApprovalRuleActionType | DeleteScheduleDetailActionType | DeleteTagActionType | DeleteTaskActionType | DeleteTaskGroupActionType | DeleteUserBankAccountActionType | DepositAccountTransactionListActionType | DragNDropTasksActionType | EnableSetupActionType | EstablishOnboardingPlaidConnectionActionType | EstablishPlaidConnectionActionType | FetchAccountHistoryActionType | FetchAccountListActionType | FetchAccountListForAccountTypesActionType | FetchActiveTenantActionType | FetchAddressActionType | FetchAllCockpitViewsActionType | FetchAllPeopleRequiredActionType | FetchAllTagsActionType | FetchAllTaskGroupsActionType | FetchAllTenantsActionType | FetchApAgingActionType | FetchApAgingDetailActionType | FetchArAgingActionType | FetchArAgingDetailActionType | FetchAuditReportGroupViewActionType | FetchAuditRuleGroupViewActionType | FetchBankAccountsListActionType | FetchBankConnectionsViewActionType | FetchBankCountryNameByIbanActionType | FetchBankNameByRoutingActionType | FetchBankNameBySwiftActionType | FetchBillAndInitializeLocalStoreActionType | FetchBillDetailActionType | FetchBillingAccountsListActionType | FetchBillListActionType | FetchBillListPerTabActionType | FetchBillPayApproversDetailsActionType | FetchBillPayApproversListActionType | FetchBillPayCardActionType | FetchBillPayConfigActionType | FetchBillPaySetupApproverViewActionType | FetchBillPaySetupViewActionType | FetchCashbackDetailActionType | FetchChargeCardConfigActionType | FetchChargeCardDetailActionType | FetchChargeCardDetailPageActionType | FetchChargeCardListActionType | FetchChargeCardListPageActionType | FetchChargeCardSetupViewActionType | FetchChargeCardTransactionListActionType | FetchClassListActionType | FetchCollaborationAuthTokenActionType | FetchCompanyConfigActionType | FetchCompanyHealthMetricViewEpicActionType | FetchCompanyManagementActionType | FetchCompanyMetaDataActionType | FetchCompanyMonthEndReportHistoricDataActionType | FetchCompanyMonthEndReportHistoricDatesActionType | FetchCompanyMonthEndReportTemplatesActionType | FetchCompanyMonthEndReportViewActionType | FetchCompanyOnboardingViewActionType | FetchCompanyPassportViewActionType | FetchCompanyPortfolioActionType | FetchCompanyTaskManagerViewActionType | FetchCreditAccountActionType | FetchCurrencyConversionValueActionType | FetchDashboardActionType | FetchDepositAccStatementListActionType | FetchDepositAccountActionType | FetchDepositAccountDetailActionType | FetchDepositAccountListActionType | FetchDownloadSchedulesActionType | FetchDuplicateBillActionType | FetchDuplicateReimbursementEpicActionType | FetchEditBillDetailPageActionType | FetchEditRemiDetailPageActionType | FetchEntityAutoCompleteActionType | FetchEntityHistoryActionType | FetchEntityRecommendationsByTransactionIdActionType | FetchExcludedResourcesActionType | FetchExpenseTrendActionType | FetchExternalConnectionsActionType | FetchFileActionType | FetchFileListActionType | FetchForecastListActionType | FetchGlobalMerchantAutoCompleteActionType | FetchGlobalMerchantRecommendationActionType | FetchIncomeTrendActionType | FetchInternationalWireDynamicFormActionType | FetchMagicLinkBankNameByRoutingActionType | FetchMagicLinkBankNameBySwiftActionType | FetchMagicLinkBillActionType | FetchMagicLinkTenantActionType | FetchManagementActionType | FetchMerchantListActionType | FetchMyProfileActionType | FetchMyProfileViewActionType | FetchNetBurnOrIncomeStoryCardActionType | FetchNetBurnOrIncomeWithForecastActionType | FetchNotificationSettingsActionType | FetchNotificationSettingsViewActionType | FetchNotificationUnreadCountActionType | FetchNotificationViewActionType | FetchOnboardingActionType | FetchOnboardingCompletedCompaniesActionType | FetchOnboardingCustomerSetupViewActionType | FetchOnboardingCustomerViewActionType | FetchOpExWithForecastActionType | FetchOwnerListActionType | FetchParentSubsidiaryManagementActionType | FetchPaymentAccountListActionType | FetchPaymentSourcesActionType | FetchPortfolioActionType | FetchPreviousBillsActionType | FetchRecommendationByEntityIdActionType | FetchRecommendationByEntityNameActionType | FetchRecommendationsAndUpdateMerchantRecommendationsActionType | FetchRecommendationsAndUpdateVendorRecommendationsActionType | FetchReferralsActionType | FetchReimbursementCardActionType | FetchReimbursementConfigActionType | FetchRemiAndInitializeLocalStoreActionType | FetchRemiApproversDetailsActionType | FetchRemiApproversListActionType | FetchRemiDetailActionType | FetchRemiListActionType | FetchRemiListPerTabActionType | FetchRemiSetupApproverViewActionType | FetchRemiSetupViewActionType | FetchRevenueWithForecastActionType | FetchReviewCompanyActionType | FetchReviewTransferDetailActionType | FetchRewardsPlanActionType | FetchScheduleDetailsActionType | FetchScheduleDetailsPageActionType | FetchScheduleListActionType | FetchSchedulesListActionType | FetchSubscriptionActionType | FetchSubscriptionAddOnsActionType | FetchSubscriptionCouponsActionType | FetchSubscriptionCreateEstimateActionType | FetchSubscriptionDetailsActionType | FetchSubscriptionListActionType | FetchSubscriptionPlansActionType | FetchSubscriptionSummaryForTenantActionType | FetchSubscriptionUpdateEstimateActionType | FetchTaskDetailActionType | FetchTaskDetailPageActionType | FetchTaskHistoryActionType | FetchTaskListActionType | FetchTaskListPageActionType | FetchTasksCardActionType | FetchTransactionDetailActionType | FetchTransactionListByAccountActionType | FetchTransactionListByClassActionType | FetchTransactionListByEntityActionType | FetchTransactionsForEntityActionType | FetchTransactionsListByCategoryTypeActionType | FetchTrendForEntityActionType | FetchUserDetailActionType | FetchUserFinancialAccountActionType | FetchUserListByTypeActionType | FetchUserRoleConfigActionType | FetchVendorActionType | FetchVendorAndUpdateBillLocalDataActionType | FetchVendorByNameAndParseInvoiceActionType | FetchVendorDetailsActionType | FetchVendorFirstReviewAttachmentsActionType | FetchVendorFirstReviewViewActionType | FetchVendorGlobalReviewViewActionType | FetchVendorTypeListActionType | FetchVendorsActionType | FetchVendorTabViewActionType | FetchZeniAccStatePageActionType | FetchZeniAccountListPageActionType | FetchZeniAccountSetupViewActionType | FetchZeniAccountsConfigActionType | FetchZeniAccountsPromoCardActionType | FetchZeniUsersActionType | GetOnboardingEmailGroupActionType | GetOnboardingPlaidLinkTokenActionType | GetPaymentAccountsActionType | GetPlaidLinkTokenActionType | ImproveUsingZeniGPTActionType | InitializeAccountMappingViewActionType | InitializeBillPaySetupApproverViewUpdateDataActionType | InitializeBillToLocalStoreActionType | InitializeCompanyHealthMetricViewLocalDataEpicActionType | InitializeEditPersonActionType | InitializeInternationalWireLocalDataActionType | InitializeOnboardingCustomerViewUpdateDataActionType | InitializeRemiSetupApproverViewUpdateDataActionType | InitializeRemiToLocalStoreActionType | InitializeScheduleDetailLocalDataActionType | InitializeSubscriptionLocalDataActionType | InitializeTaskToLocalStoreActionType | InitializeTransactionDetailLocalDataActionType | InitializeVendorAddressActionType | InsightsCardActionType | InvitePeopleActionType | InviteZeniPeopleActionType | IssueChargeCardActionType | MarkAsCompleteScheduleDetailActionType | MarkTransactionAsNotMiscategorizedActionType | NetBurnOrIncomeActionType | NetBurnOrIncomeClassesViewActionType | NetBurnOrIncomeForTimeframeActionType | NetBurnOrIncomeForTimeframeClassesViewActionType | OpExActionType | OpExByVendorReportActionType | OpExByVendorReportForTimeframeActionType | OpExByVendorReportSummaryActionType | OpExClassesViewActionType | OpExForTimeframeClassesViewActionType | OpExForTimeframeViewActionType | ParallelFetchAccountTransactionListActionType | ParallelFetchClassTransactionListActionType | ParallelFetchEntityTransactionListActionType | ParallelFetchTransactionListByCategoryTypeActionType | ParseInvoiceToBillActionType | ParseReceiptsToRemiActionType | PeopleActionType | PeoplePageActionType | PeopleSaveUpdatesActionType | ProfitAndLossActionType | ProfitAndLossClassesViewActionType | ProfitAndLossForTimeframeActionType | ProfitAndLossForTimeframeClassesViewActionType | PushToastNotificationActionType | RecommendationForAccountTypeActionType | RefreshIntegrationsDataActionType | RejectVendorGlobalReviewActionType | ResendInviteActionType | ResendOtpActionType | ResendReferralInviteActionType | ResetTransactionVendorLocalDataActionType | ResetVendorDetailLocalDataActionType | RetryBankAccountConnectionActionType | RetryBankAccountConnectionForOnboardingActionType | RevenueActionType | RevenueClassesViewActionType | RevenueForTimeframeClassesViewActionType | RevenueForTimeframeViewActionType | ReviewDraftBillsBulkActionActionTye | SaveAccountMappingViewActionType | SaveAddressActionType | SaveBillDetailActionType | SaveBillPaySetupApproverViewUpdatesActionType | SaveCompanyHealthMetricByIdEpicActionType | SaveCompanyMonthEndReportActionType | SaveCompanyPassportDetailsActionType | SaveExternalConnectionActionType | SaveMagicLinkBankAccountActionType | SaveNotificationSettingsEpicActionType | SaveOnboardingCustomerCompletedStatusActionType | SaveOnboardingCustomerNotesActionType | SaveOnboardingCustomerViewUpdatesActionType | SaveRealTimeApprovalActionType | SaveReasonForAuditRuleActionType | SaveRemiDetailActionType | SaveRemiSetupApproverViewUpdatesActionType | SaveScheduleDetailsActionType | SaveSubscriptionNotesUpdatesActionType | SaveSubscriptionUpdatesActionType | SaveTaskDetailActionType | SaveTranactionVendorActionType | SaveTransactionDetailActionType | SaveVendorActionType | SaveVendorFirstReviewViewActionType | SendCompanyMonthEndReportActionType | SendOnboardingCustomerViewInviteActionType | SendOtpActionType | SendReferralInviteActionType | SignInActionType | SignOutActionType | StatementCloseDayActionType | SubmitDraftBillsBulkActionActionType | ToggleReportUIOptionForecastModeActionType | TopExActionType | TransferMoneyActionType | UnlinkPaymentAccountActionType | UpdateAddressActionType | UpdateAmountsInScheduleDetailActionType | UpdateBusinessVerificationDetailsActionType | UpdateChargeCardDetailActionType | UpdateCompanyDetailsActionType | UpdateCompanyOfficerActionType | UpdateCompanyPassportLocalStoreDataActionType | UpdateDepositAccountActionType | UpdateDynamicFormActionType | UpdateFileNameActionType | UpdateFilesMetadataActionType | UpdateJESchedulesActionType | UpdateMappedCashAccountActionType | UpdateMileageDetailsActionType | UpdateNetBurnOrIncomeStoryCardSettingsActionType | UpdateNotificationViewAllNotificationsStatusActionType | UpdateNotificationViewNotificationStatusActionType | UpdateOnboardingCustomerViewActionType | UpdateOnboardingCustomerViewCompleteStatusActionType | UpdateOnboardingCustomerViewLocalStoreDataActionType | UpdateOnboardingPaymentAccountLoginStatusActionType | UpdateOnboardingPaymentAccountStatusActionType | UpdatePaymentAccountActionType | UpdatePaymentAccountLoginStatusActionType | UpdatePaymentAccountStatusActionType | UpdatePrimaryContactActionType | UpdatePrimaryFundingAccountActionType | UpdateReferViewedActionType | UpdateRemiSetupViewLocalStoreDataActionType | UpdateReportUIOptionCOABalancesRangeActionType | UpdateReportUIOptionIsCompareModeActionType | UpdateReportUIOptionIsCompareModeOnActionType | UpdateReportUIOptionThisPeriodActionType | UpdateReportUIOptionTimeFrameActionType | UpdateSectionAccountsViewActionType | UpdateSectionClassesViewV2ActionType | UpdateSelectedVendorForCreateFlowActionType | UpdateSetupViewLocalStoreDataActionType | UpdateTaskGroupNameActionType | UpdateTransactionDetailActionType | UpdateTransactionOnUploadSuccessActionType | UpdateVendorContactActionType | VendorsTabFetchVendorActionType | VendorsTabFetchVendorDetailPageViewActionType | VendorsTabFetchVendorDetailsActionType | VendorsTabResetVendorDetailLocalDataActionType | VendorsTabSaveVendorActionType | VerifyOtpActionType | VerifyUserActionType | WiseRedirectActionType;
|
|
387
388
|
declare const rootEpic: Epic<RootActionType>;
|
|
388
389
|
export default rootEpic;
|
package/lib/epic.js
CHANGED
|
@@ -364,6 +364,7 @@ const createTagEpic_1 = require("./view/tagView/epics/createTagEpic");
|
|
|
364
364
|
const fetchCollaborationAuthTokenEpic_1 = require("./view/authenticationView/epics/fetchCollaborationAuthTokenEpic");
|
|
365
365
|
const fetchAuditReportGroupViewEpic_1 = require("./view/auditReportView/epics/fetchAuditReportGroupViewEpic");
|
|
366
366
|
const fetchAuditRuleGroupViewEpic_1 = require("./view/auditReportView/epics/fetchAuditRuleGroupViewEpic");
|
|
367
|
+
const saveReasonForAuditRuleEpic_1 = require("./view/auditReportView/epics/saveReasonForAuditRuleEpic");
|
|
367
368
|
const fetchReferralsEpic_1 = require("./view/referralView/epics/fetchReferralsEpic");
|
|
368
369
|
const fetchRewardsPlanEpic_1 = require("./view/referralView/epics/fetchRewardsPlanEpic");
|
|
369
370
|
const sendReferralInviteEpic_1 = require("./view/referralView/epics/sendReferralInviteEpic");
|
|
@@ -390,7 +391,7 @@ const fetchPaymentSourcesEpic_1 = require("./view/cardPayment/epic/fetchPaymentS
|
|
|
390
391
|
const createCardSetupIntentEpic_1 = require("./view/cardPayment/epic/createCardSetupIntentEpic");
|
|
391
392
|
const fetchBillingAccountsViewEpic_1 = require("./view/settingsView/epic/fetchBillingAccountsViewEpic");
|
|
392
393
|
// Note: Please maintain strict alphabetical order
|
|
393
|
-
const combinedEpics = (0, redux_observable_1.combineEpics)(acceptBillPayTermsEpic_1.acceptBillPayTermsEpic, acceptBillPayUpdatedTermsEpic_1.acceptBillPayUpdatedTermsEpic, acceptChargeCardTermsEpic_1.acceptChargeCardTermsEpic, acceptEmployeeRemiTermsEpic_1.acceptEmployeeRemiTermsEpic, acceptRemiTermsEpic_1.acceptRemiTermsEpic, acceptZeniAccountTermsEpic_1.acceptZeniAccountTermsEpic, addCardPaymentSourceEpic_1.addCardPaymentSourceEpic, approveOrRejectBillEpic_1.approveOrRejectBillEpic, approveOrRejectBillsBulkActionEpic_1.approveOrRejectBillsBulkActionEpic, approveOrRejectRemiEpic_1.approveOrRejectRemiEpic, approveVendorGlobalReviewEpic_1.approveVendorGlobalReviewEpic, archiveTaskEpic_1.archiveTaskEpic, bulkUpdateTaskListEpic_1.bulkUpdateTaskListEpic, cancelAndDeleteBillEpic_1.cancelAndDeleteBillEpic, cancelAndDeleteRemiEpic_1.cancelAndDeleteRemiEpic, cancelOrDeleteBillsBulkActionEpic_1.cancelOrDeleteBillsBulkActionEpic, changeZeniPersonRolesEpic_1.changeZeniPersonRolesEpic, checkDepositEpic_1.checkDepositEpic, clearAllEpic_1.clearAllEpic, companyManagementSavePendingUpdates_1.companyManagementSavePendingUpdatesEpic, companyManagementSaveUpdatesEpic_1.companyManagementSaveUpdatesEpic, confirmCardSetupIntentEpic_1.confirmCardSetupIntentEpic, convertAmountToHomeCurrencyEpic_1.convertAmountToHomeCurrencyEpic, createAddressEpic_1.createAddressEpic, createBankAccountEpic_1.createBankAccountEpic, createCardSetupIntentEpic_1.createCardSetupIntentEpic, createCheckingAccountEpic_1.createCheckingAccountEpic, createCompanyAddressEpic_1.createCompanyAddressEpic, createCompanyOfficersEpic_1.createCompanyOfficersEpic, createCompanyUserAddressEpic_1.createCompanyUserAddressEpic, createGlobalMerchantEpic_1.createGlobalMerchantEpic, createInternationalBankAccountEpic_1.createInternationalBankAccountEpic, createNewSchedulesEpic_1.createNewSchedulesEpic, createNewTaskGroupEpic_1.createNewTaskGroupEpic, createInternationalPaymentInstrumentEpic_1.createPaymentInstrumentEpic, createTagEpic_1.createTagEpic, createUserBankAccountEpic_1.createUserBankAccountEpic, deleteBankAccountEpic_1.deleteBankAccountEpic, deleteBillEpic_1.deleteBillEpic, deleteBillPayApprovalRuleEpic_1.deleteBillPayApprovalRuleEpic, deleteFileEpic_1.deleteFileEpic, deleteFileListEpic_1.deleteFileListEpic, deleteInternationalBankAccountEpic_1.deleteInternationalBankAccountEpic, deletePaymentInstrumentEpic_1.deletePaymentInstrumentEpic, deletePersonEpic_1.deletePersonEpic, deleteRemiApprovalRuleEpic_1.deleteRemiApprovalRuleEpic, deleteRemiEpic_1.deleteRemiEpic, deleteScheduleDetailEpic_1.deleteScheduleDetailEpic, deleteTagEpic_1.deleteTagEpic, deleteTaskEpic_1.deleteTaskEpic, deleteTaskGroupEpic_1.deleteTaskGroupEpic, deleteUserBankAccountEpic_1.deleteUserBankAccountEpic, signInUserEpic_1.doSignInEpic, signOutUserEpic_1.doSignOutEpic, dragNDropTasksEpic_1.dragNDropTasksEpic, enableSetupEpic_1.enableSetupEpic, establishOnboardingPlaidConnectionEpic_1.establishOnboardingPlaidConnectionEpic, establishPlaidConnectionEpic_1.establishPlaidConnectionEpic, fetchAccountListEpic_1.fetchAccountListEpic, fetchAccountListForAccountTypesEpic_1.fetchAccountListForAccountTypesEpic, fetchActiveTenantEpic_1.fetchActiveTenantEpic, fetchAddressEpic_1.fetchAddressEpic, fetchAllCockpitViewsEpic_1.fetchAllCockpitViewsEpic, fetchAllPeopleRequiredViewsEpic_1.fetchAllPeopleRequiredViewsEpic, fetchAllTagsEpic_1.fetchAllTagsEpic, fetchAllTaskGroupsEpic_1.fetchAllTaskGroupsEpic, fetchAllTenantsEpic_1.fetchAllTenantsEpic, fetchAndUpdateVendorRecommendationsEpic_1.fetchAndUpdateVendorRecommendationsEpic, fetchApAgingDetailEpic_1.fetchApAgingDetailEpic, fetchApAgingEpic_1.fetchApAgingEpic, fetchArAgingDetailEpic_1.fetchArAgingDetailEpic, fetchArAgingEpic_1.fetchArAgingEpic, fetchAuditReportGroupViewEpic_1.fetchAuditReportGroupViewEpic, fetchAuditRuleGroupViewEpic_1.fetchAuditRuleGroupViewEpic, 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, cashBalanceEpic_1.fetchCashBalanceEpic, cashFlowEpic_1.fetchCashFlowEpic, cashFlowForTimeframeEpic_1.fetchCashFlowForTimeframeEpic, cashInCashOutEpic_1.fetchCashInCashOutEpic, cashPositionEpic_1.fetchCashPositionEpic, fetchCashbackDetailEpic_1.fetchCashbackDetailEpic, fetchChargeCardConfigEpic_1.fetchChargeCardConfigEpic, fetchChargeCardDetailEpic_1.fetchChargeCardDetailEpic, fetchChargeCardDetailPageEpic_1.fetchChargeCardDetailPageEpic, fetchChargeCardListEpic_1.fetchChargeCardListEpic, fetchChargeCardListPageEpic_1.fetchChargeCardListPageEpic, fetchChargeCardSetupViewEpic_1.fetchChargeCardSetupViewEpic, fetchChargeCardTransactionListEpic_1.fetchChargeCardTransactionListEpic, fetchClassListEpic_1.fetchClassListEpic, fetchCollaborationAuthTokenEpic_1.fetchCollaborationAuthTokenEpic, companyConfigEpic_1.fetchCompanyConfigEpic, 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, fetchCreditAccountEpic_1.fetchCreditAccountEpic, fetchCurrencyConversionValueEpic_1.fetchCurrencyConversionValueEpic, dashboardEpic_1.fetchDashboardEpic, fetchDepositAccountDetailEpic_1.fetchDepositAccountDetailEpic, fetchDepositAccountEpic_1.fetchDepositAccountEpic, fetchDepositAccountHistoryEpic_1.fetchDepositAccountHistoryEpic, fetchDepositAccountListEpic_1.fetchDepositAccountListEpic, fetchDepositAccountTransactionListEpic_1.fetchDepositAccountTransactionListEpic, fetchDownloadSchedulesEpic_1.fetchDownloadSchedulesEpic, fetchDuplicateBillEpic_1.fetchDuplicateBillPayReviewEpic, fetchDuplicateReimbursementEpic_1.fetchDuplicateReimbursementEpic, fetchEditBillDetailPageEpic_1.fetchEditBillDetailPageEpic, fetchEditRemiDetailPageEpic_1.fetchEditRemiDetailPageEpic, fetchEntityAutoCompleteEpic_1.fetchEntityAutoCompleteEpic, fetchEntityHistoryEpic_1.fetchEntityHistoryEpic, fetchEntityRecommendationsByTransactionIdEpic_1.fetchEntityRecommendationsByTransactionIdEpic, fetchExcludedResourcesEpic_1.fetchExcludedResourcesEpic, fetchExpenseTrendEpic_1.fetchExpenseTrendEpic, fetchExternalConnectionsEpic_1.fetchExternalConnectionsEpic, fetchFileEpic_1.fetchFileEpic, fetchFileListEpic_1.fetchFileListEpic, financeStatementEpic_1.fetchFinanceStatementEpic, fetchForecastListEpic_1.fetchForecastListEpic, fetchGlobalMerchantAutoCompleteViewEpic_1.fetchGlobalMerchantAutoCompleteViewEpic, fetchGlobalMerchantRecommendationEpic_1.fetchGlobalMerchantRecommendationEpic, fetchIncomeTrendEpic_1.fetchIncomeTrendEpic, insightsCardEpic_1.fetchInsightsCardEpic, fetchInternationalWireDynamicFormEpic_1.fetchInternationalWireDynamicFormEpic, fetchMagicLinkBankNameByRoutingEpic_1.fetchMagicLinkBankNameByRoutingEpic, fetchMagicLinkBankNameBySwiftEpic_1.fetchMagicLinkBankNameBySwiftEpic, fetchMagicLinkBillEpic_1.fetchMagicLinkBillEpic, fetchMagicLinkTenantEpic_1.fetchMagicLinkTenantEpic, fetchManagementViewEpic_1.fetchManagementViewEpic, fetchMerchantListEpic_1.fetchMerchantListEpic, 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, fetchOnboardingCompletedCompaniesEpic_1.fetchOnboardingCompletedCompaniesEpic, fetchOnboardingCustomerSetupViewEpic_1.fetchOnboardingCustomerSetupViewEpic, fetchOnboardingCustomerViewEpic_1.fetchOnboardingCustomerViewEpic, fetchOnboardingViewEpic_1.fetchOnboardingViewEpic, fetchOpExByVendorReportEpic_1.fetchOpExByVendorEpic, fetchOpExByVendorReportForTimeframeEpic_1.fetchOpExByVendorReportForTimeframeEpic, fetchOpExByVendorReportSummaryEpic_1.fetchOpExByVendorReportSummaryEpic, opExClassesViewEpic_1.fetchOpExClassesViewEpic, opExEpic_1.fetchOpExEpic, opExForTimeframeClassesViewEpic_1.fetchOpExForTimeframeClassesViewEpic, opExForTimeFrameEpic_1.fetchOpExReportForTimeframeEpic, fetchOpExWithForecastEpic_1.fetchOpExWithForecastEpic, fetchOwnerListEpic_1.fetchOwnerListEpic, fetchParentSubsidiaryManagementViewEpic_1.fetchParentSubsidiaryManagementViewEpic, 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, profitAndLossForTimeframeEpic_1.fetchProfitAndLossForTimeframeEpic, fetchRecommendationByEntityIdEpic_1.fetchRecommendationByEntityIdEpic, fetchRecommendationByEntityNameEpic_1.fetchRecommendationByEntityNameEpic, fetchRecommendationForAccountTypeEpic_1.fetchRecommendationForAccountTypeEpic, fetchRecommendationsAndUpdateMerchantRecommendationsEpic_1.fetchRecommendationsAndUpdateMerchantRecommendationsEpic, 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, 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, fetchTaskDetailEpic_1.fetchTaskDetailEpic, fetchTaskDetailPageEpic_1.fetchTaskDetailPageEpic, fetchTaskHistoryEpic_1.fetchTaskHistoryEpic, fetchTaskListEpic_1.fetchTaskListEpic, fetchTaskListPageEpic_1.fetchTaskListPageEpic, fetchTasksCardEpic_1.fetchTasksCardEpic, topExEpic_1.fetchTopExEpic, transactionDetailEpic_1.fetchTransactionDetailEpic, fetchTransactionListByAccountEpic_1.fetchTransactionListByAccountEpic, fetchTransactionListByClassEpic_1.fetchTransactionListByClassEpic, fetchTransactionListByEntityEpic_1.fetchTransactionListByEntityEpic, fetchTransactionsForEntityEpic_1.fetchTransactionsForEntityEpic, fetchTransactionsListByCategoryTypeEpic_1.fetchTransactionsListByCategoryTypeEpic, fetchTrendForEntityEpic_1.fetchTrendForEntityEpic, fetchUserDetailEpic_1.fetchUserDetailEpic, fetchUserFinancialAccountEpic_1.fetchUserFinancialAccountEpic, fetchUserListByTypeEpic_1.fetchUserListByTypeEpic, userRoleConfigEpic_1.fetchUserRoleConfigEpic, fetchVendorAndUpdateBillLocalDataEpic_1.fetchVendorAndUpdateBillLocalDataEpic, fetchVendorByNameAndParseInvoice_1.fetchVendorByNameAndParseInvoiceEpic, fetchVendorDetailsEpic_1.fetchVendorDetailsEpic, fetchVendorEpic_1.fetchVendorEpic, fetchVendorFirstReviewAttachmentsEpic_1.fetchVendorFirstReviewAttachmentsEpic, fetchVendorFirstReviewViewEpic_1.fetchVendorFirstReviewViewEpic, fetchVendorGlobalReviewViewEpic_1.fetchVendorGlobalReviewViewEpic, vendorTypeListEpic_1.fetchVendorTypeListEpic, vendorTypeListEpic_1.fetchVendorTypeListEpic, fetchVendorsListEpic_1.fetchVendorsListEpic, fetchVendorsTabVendorDetailPageViewEpic_1.fetchVendorsTabVendorDetailPageViewEpic, fetchVendorsTabVendorDetailsEpic_1.fetchVendorsTabVendorDetailsEpic, fetchVendorsTabVendorEpic_1.fetchVendorsTabVendorEpic, fetchVendorTabViewEpic_1.fetchVendorTabViewEpic, fetchZeniAccStatementListEpic_1.fetchZeniAccStatementListEpic, fetchZeniAccStatementPageEpic_1.fetchZeniAccStatementPageEpic, fetchZeniAccountListPageEpic_1.fetchZeniAccountListEpic, fetchZeniAccountSetupViewEpic_1.fetchZeniAccountSetupViewEpic, fetchZeniAccountsConfigEpic_1.fetchZeniAccountsConfigEpic, zeniAccountsPromoCardEpic_1.fetchZeniAccountsPromoCardEpic, fetchZeniUsersEpic_1.fetchZeniUsersEpic, getOnboardingEmailGroupEpic_1.getOnboardingEmailGroupEpic, getOnboardingPlaidLinkTokenEpic_1.getOnboardingPlaidLinkTokenEpic, getPaymentAccountsEpic_1.getPaymentAccountsEpic, getPlaidLinkTokenEpic_1.getPlaidLinkTokenEpic, improveUsingZeniGPTEpic_1.improveUsingZeniGPTEpic, initializeAccountMappingViewEpic_1.initializeAccountMappingViewEpic, initializeBillPaySetupApproverViewUpdateDataEpic_1.initializeBillPaySetupApproverViewUpdateDataEpic, initializeBillToLocalStoreEpic_1.initializeBillToLocalStoreEpic, initializeCompanyHealthMetricViewLocalData_1.initializeCompanyHealthMetricViewLocalDataEpic, initializeDynamicFormEpic_1.initializeDynamicFormEpic, initializeEditPersonEpic_1.initializeEditPersonEpic, initializeInternationalWireLocalDataEpic_1.initializeInternationalWireLocalDataEpic, initializeOnboardingCustomerViewUpdateDataEpic_1.initializeOnboardingCustomerViewUpdateDataEpic, initializeRemiSetupApproverViewUpdateDataEpic_1.initializeRemiSetupApproverViewUpdateDataEpic, initializeRemiToLocalStoreEpic_1.initializeRemiToLocalStoreEpic, initializeScheduleDetailLocalDataEpic_1.initializeScheduleDetailLocalDataEpic, initializeSubscriptionLocalDataEpic_1.initializeSubscriptionLocalDataEpic, initializeTaskToLocalStoreEpic_1.initializeTaskToLocalStoreEpic, initializeTransactionDetailLocalDataEpic_1.initializeTransactionDetailLocalDataEpic, initializeVendorAddressEpic_1.initializeVendorAddressEpic, invitePeopleEpic_1.invitePeopleEpic, inviteZeniPeopleEpic_1.inviteZeniPeopleEpic, issueChargeCardEpic_1.issueChargeCardEpic, markAsCompleteScheduleDetailEpic_1.markAsCompleteScheduleDetailEpic, markTransactionAsNotMiscategorizedEpic_1.markTransactionAsNotMiscategorizedEpic, parallelFetchAccountTransactionListEpic_1.parallelFetchAccountTransactionListEpic, parallelFetchClassTransactionListEpic_1.parallelFetchClassTransactionListEpic, parallelFetchEntityTransactionListEpic_1.parallelFetchEntityTransactionListEpic, parallelFetchTransactionListByCategoryTypeEpic_1.parallelFetchTransactionListByCategoryTypeEpic, parseInvoiceToBillEpic_1.parseInvoiceToBillEpic, parseReceiptsToRemiEpic_1.parseReceiptsToRemiEpic, peopleSaveUpdatesEpic_1.peopleSaveUpdatesEpic, pushToastNotificationEpic_1.pushToastNotificationEpic, refreshIntegrationsDataEpic_1.refreshIntegrationsDataEpic, rejectVendorGlobalReviewEpic_1.rejectVendorGlobalReviewEpic, resendInviteEpic_1.resendInviteEpic, resendOtpEpic_1.resendOtpEpic, resendReferralInviteEpic_1.resendReferralInviteEpic, resetTransactionVendorLocalDataEpic_1.resetTransactionVendorLocalDataEpic, resetVendorDetailLocalDataEpic_1.resetVendorDetailLocalDataEpic, resetVendorsTabVendorDetailLocalDataEpic_1.resetVendorsTabVendorDetailLocalDataEpic, retryBankAccountConnectionEpic_1.retryBankAccountConnectionEpic, retryBankAccountConnectionForOnboardingEpic_1.retryBankAccountConnectionForOnboardingEpic, reviewDraftBillsBulkActionEpic_ts_1.reviewDraftBillsBulkActionEpic, saveAccountMappingViewEpic_1.saveAccountMappingViewEpic, saveBillDetailEpic_1.saveBillDetailEpic, saveBillPaySetupApproverViewUpdatesEpic_1.saveBillPaySetupApproverViewUpdatesEpic, saveCompanyHealthMetricByIdEpic_1.saveCompanyHealthMetricByIdEpic, saveCompanyMonthEndReportEpic_1.saveCompanyMonthEndReportEpic, saveCompanyPassportDetailsEpic_1.saveCompanyPassportDetailsEpic, saveExternalConnectionEpic_1.saveExternalConnectionEpic, saveMagicLinkBankAccountEpic_1.saveMagicLinkBankAccountEpic, saveNewAddressEpic_1.saveNewAddressEpic, saveNotificationSettingsEpic_1.saveNotificationSettingsEpic, saveOnboardingCustomerCompletedStatusEpic_1.saveOnboardingCustomerCompletedStatusEpic, saveOnboardingCustomerNotesEpic_1.saveOnboardingCustomerNotesEpic, saveOnboardingCustomerViewUpdatesEpic_1.saveOnboardingCustomerViewUpdatesEpic, saveRealTimeApprovalEpic_1.saveRealTimeApprovalEpic, saveRemiDetailEpic_1.saveRemiDetailEpic, saveRemiSetupApproverViewUpdatesEpic_1.saveRemiSetupApproverViewUpdatesEpic, saveScheduleDetailsEpic_1.saveScheduleDetailsEpic, saveSubscriptionNotesUpdatesEpic_1.saveSubscriptionNotesUpdatesEpic, saveSubscriptionUpdatesEpic_1.saveSubscriptionUpdatesEpic, saveTaskDetailEpic_1.saveTaskDetailEpic, saveTransactionDetailEpic_1.saveTransactionDetailEpic, saveTransactionVendorEpic_1.saveTransactionVendorEpic, saveVendorEpic_1.saveVendorEpic, saveVendorFirstReviewViewEpic_1.saveVendorFirstReviewViewEpic, saveVendorsTabVendorEpic_1.saveVendorsTabVendorEpic, submitDraftBillsBulkActionEpic_1.submitDraftBillsBulkActionEpic, sendCompanyMonthEndReportEpic_1.sendCompanyMonthEndReportEpic, sendOnboardingCustomerViewInviteEpic_1.sendOnboardingCustomerViewInviteEpic, sendOtpEpic_1.sendOtpEpic, sendReferralInviteEpic_1.sendReferralInviteEpic, statementCloseDayEpic_1.statementCloseDayEpic, toggleReportUIOptionForecastModeEpic_1.toggleReportUIOptionForecastModeEpic, transferMoneyEpic_1.transferMoneyEpic, unlinkPaymentAccountEpic_1.unlinkPaymentAccountEpic, updateAddressEpic_1.updateAddressEpic, updateAmountsInScheduleDetailEpic_1.updateAmountsInScheduleDetailEpic, updateBusinessVerificationDetailsEpic_1.updateBusinessVerificationDetailsEpic, updateChargeCardDetailEpic_1.updateChargeCardDetailEpic, updateCompanyDetailsEpic_1.updateCompanyDetailsEpic, updateCompanyOfficerEpic_1.updateCompanyOfficerEpic, updateCompanyPassportLocalStoreDataEpic_1.updateCompanyPassportLocalStoreDataEpic, updateDepositAccountEpic_1.updateDepositAccountEpic, updateFileNameEpic_1.updateFileNameEpic, updateFilesMetadataEpic_1.updateFilesMetadataEpic, updateJESchedulesEpic_1.updateJESchedulesEpic, updateMappedCashAccountEpic_1.updateMappedCashAccountEpic, updateMileageDetailsEpic_1.updateMileageDetailsEpic, updateNetBurnOrIncomeStoryCardSettingsEpic_1.updateNetBurnOrIncomeStoryCardSettingsEpic, updateNotificationViewAllNotificationsStatusEpic_1.updateNotificationViewAllNotificationsStatusEpic, updateNotificationViewNotificationStatusEpic_1.updateNotificationViewNotificationStatusEpic, updateOnboardingCustomerViewCompleteStatusEpic_1.updateOnboardingCustomerViewCompleteStatusEpic, updateOnboardingCustomerViewEpic_1.updateOnboardingCustomerViewEpic, updateOnboardingCustomerViewLocalStoreDataEpic_1.updateOnboardingCustomerViewLocalStoreDataEpic, updateOnboardingPaymentAccountLoginStatusEpic_1.updateOnboardingPaymentAccountLoginStatusEpic, updateOnboardingPaymentAccountStatusEpic_1.updateOnboardingPaymentAccountStatusEpic, updatePaymentAccountEpic_1.updatePaymentAccountEpic, updatePaymentAccountLoginStatusEpic_1.updatePaymentAccountLoginStatusEpic, updatePaymentAccountStatusEpic_1.updatePaymentAccountStatusEpic, updatePrimaryContactEpic_1.updatePrimaryContactEpic, updatePrimaryFundingAccountEpic_1.updatePrimaryFundingAccountEpic, 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, updateSelectedVendorForCreateFlowEpic_1.updateSelectedVendorForCreateFlowEpic, updateSetupViewLocalStoreDataEpic_1.updateSetupViewLocalStoreDataEpic, updateTaskGroupNameEpic_1.updateTaskGroupNameEpic, updateTransactionDetailEpic_1.updateTransactionDetailEpic, updateVendorContactEpic_1.updateVendorContactEpic, uploadMissingReceiptSuccessEpic_1.uploadMissingReceiptSuccessEpic, 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);
|
|
394
|
+
const combinedEpics = (0, redux_observable_1.combineEpics)(acceptBillPayTermsEpic_1.acceptBillPayTermsEpic, acceptBillPayUpdatedTermsEpic_1.acceptBillPayUpdatedTermsEpic, acceptChargeCardTermsEpic_1.acceptChargeCardTermsEpic, acceptEmployeeRemiTermsEpic_1.acceptEmployeeRemiTermsEpic, acceptRemiTermsEpic_1.acceptRemiTermsEpic, acceptZeniAccountTermsEpic_1.acceptZeniAccountTermsEpic, addCardPaymentSourceEpic_1.addCardPaymentSourceEpic, approveOrRejectBillEpic_1.approveOrRejectBillEpic, approveOrRejectBillsBulkActionEpic_1.approveOrRejectBillsBulkActionEpic, approveOrRejectRemiEpic_1.approveOrRejectRemiEpic, approveVendorGlobalReviewEpic_1.approveVendorGlobalReviewEpic, archiveTaskEpic_1.archiveTaskEpic, bulkUpdateTaskListEpic_1.bulkUpdateTaskListEpic, cancelAndDeleteBillEpic_1.cancelAndDeleteBillEpic, cancelAndDeleteRemiEpic_1.cancelAndDeleteRemiEpic, cancelOrDeleteBillsBulkActionEpic_1.cancelOrDeleteBillsBulkActionEpic, changeZeniPersonRolesEpic_1.changeZeniPersonRolesEpic, checkDepositEpic_1.checkDepositEpic, clearAllEpic_1.clearAllEpic, companyManagementSavePendingUpdates_1.companyManagementSavePendingUpdatesEpic, companyManagementSaveUpdatesEpic_1.companyManagementSaveUpdatesEpic, confirmCardSetupIntentEpic_1.confirmCardSetupIntentEpic, convertAmountToHomeCurrencyEpic_1.convertAmountToHomeCurrencyEpic, createAddressEpic_1.createAddressEpic, createBankAccountEpic_1.createBankAccountEpic, createCardSetupIntentEpic_1.createCardSetupIntentEpic, createCheckingAccountEpic_1.createCheckingAccountEpic, createCompanyAddressEpic_1.createCompanyAddressEpic, createCompanyOfficersEpic_1.createCompanyOfficersEpic, createCompanyUserAddressEpic_1.createCompanyUserAddressEpic, createGlobalMerchantEpic_1.createGlobalMerchantEpic, createInternationalBankAccountEpic_1.createInternationalBankAccountEpic, createNewSchedulesEpic_1.createNewSchedulesEpic, createNewTaskGroupEpic_1.createNewTaskGroupEpic, createInternationalPaymentInstrumentEpic_1.createPaymentInstrumentEpic, createTagEpic_1.createTagEpic, createUserBankAccountEpic_1.createUserBankAccountEpic, deleteBankAccountEpic_1.deleteBankAccountEpic, deleteBillEpic_1.deleteBillEpic, deleteBillPayApprovalRuleEpic_1.deleteBillPayApprovalRuleEpic, deleteFileEpic_1.deleteFileEpic, deleteFileListEpic_1.deleteFileListEpic, deleteInternationalBankAccountEpic_1.deleteInternationalBankAccountEpic, deletePaymentInstrumentEpic_1.deletePaymentInstrumentEpic, deletePersonEpic_1.deletePersonEpic, deleteRemiApprovalRuleEpic_1.deleteRemiApprovalRuleEpic, deleteRemiEpic_1.deleteRemiEpic, deleteScheduleDetailEpic_1.deleteScheduleDetailEpic, deleteTagEpic_1.deleteTagEpic, deleteTaskEpic_1.deleteTaskEpic, deleteTaskGroupEpic_1.deleteTaskGroupEpic, deleteUserBankAccountEpic_1.deleteUserBankAccountEpic, signInUserEpic_1.doSignInEpic, signOutUserEpic_1.doSignOutEpic, dragNDropTasksEpic_1.dragNDropTasksEpic, enableSetupEpic_1.enableSetupEpic, establishOnboardingPlaidConnectionEpic_1.establishOnboardingPlaidConnectionEpic, establishPlaidConnectionEpic_1.establishPlaidConnectionEpic, fetchAccountListEpic_1.fetchAccountListEpic, fetchAccountListForAccountTypesEpic_1.fetchAccountListForAccountTypesEpic, fetchActiveTenantEpic_1.fetchActiveTenantEpic, fetchAddressEpic_1.fetchAddressEpic, fetchAllCockpitViewsEpic_1.fetchAllCockpitViewsEpic, fetchAllPeopleRequiredViewsEpic_1.fetchAllPeopleRequiredViewsEpic, fetchAllTagsEpic_1.fetchAllTagsEpic, fetchAllTaskGroupsEpic_1.fetchAllTaskGroupsEpic, fetchAllTenantsEpic_1.fetchAllTenantsEpic, fetchAndUpdateVendorRecommendationsEpic_1.fetchAndUpdateVendorRecommendationsEpic, fetchApAgingDetailEpic_1.fetchApAgingDetailEpic, fetchApAgingEpic_1.fetchApAgingEpic, fetchArAgingDetailEpic_1.fetchArAgingDetailEpic, fetchArAgingEpic_1.fetchArAgingEpic, fetchAuditReportGroupViewEpic_1.fetchAuditReportGroupViewEpic, fetchAuditRuleGroupViewEpic_1.fetchAuditRuleGroupViewEpic, 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, cashBalanceEpic_1.fetchCashBalanceEpic, cashFlowEpic_1.fetchCashFlowEpic, cashFlowForTimeframeEpic_1.fetchCashFlowForTimeframeEpic, cashInCashOutEpic_1.fetchCashInCashOutEpic, cashPositionEpic_1.fetchCashPositionEpic, fetchCashbackDetailEpic_1.fetchCashbackDetailEpic, fetchChargeCardConfigEpic_1.fetchChargeCardConfigEpic, fetchChargeCardDetailEpic_1.fetchChargeCardDetailEpic, fetchChargeCardDetailPageEpic_1.fetchChargeCardDetailPageEpic, fetchChargeCardListEpic_1.fetchChargeCardListEpic, fetchChargeCardListPageEpic_1.fetchChargeCardListPageEpic, fetchChargeCardSetupViewEpic_1.fetchChargeCardSetupViewEpic, fetchChargeCardTransactionListEpic_1.fetchChargeCardTransactionListEpic, fetchClassListEpic_1.fetchClassListEpic, fetchCollaborationAuthTokenEpic_1.fetchCollaborationAuthTokenEpic, companyConfigEpic_1.fetchCompanyConfigEpic, 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, fetchCreditAccountEpic_1.fetchCreditAccountEpic, fetchCurrencyConversionValueEpic_1.fetchCurrencyConversionValueEpic, dashboardEpic_1.fetchDashboardEpic, fetchDepositAccountDetailEpic_1.fetchDepositAccountDetailEpic, fetchDepositAccountEpic_1.fetchDepositAccountEpic, fetchDepositAccountHistoryEpic_1.fetchDepositAccountHistoryEpic, fetchDepositAccountListEpic_1.fetchDepositAccountListEpic, fetchDepositAccountTransactionListEpic_1.fetchDepositAccountTransactionListEpic, fetchDownloadSchedulesEpic_1.fetchDownloadSchedulesEpic, fetchDuplicateBillEpic_1.fetchDuplicateBillPayReviewEpic, fetchDuplicateReimbursementEpic_1.fetchDuplicateReimbursementEpic, fetchEditBillDetailPageEpic_1.fetchEditBillDetailPageEpic, fetchEditRemiDetailPageEpic_1.fetchEditRemiDetailPageEpic, fetchEntityAutoCompleteEpic_1.fetchEntityAutoCompleteEpic, fetchEntityHistoryEpic_1.fetchEntityHistoryEpic, fetchEntityRecommendationsByTransactionIdEpic_1.fetchEntityRecommendationsByTransactionIdEpic, fetchExcludedResourcesEpic_1.fetchExcludedResourcesEpic, fetchExpenseTrendEpic_1.fetchExpenseTrendEpic, fetchExternalConnectionsEpic_1.fetchExternalConnectionsEpic, fetchFileEpic_1.fetchFileEpic, fetchFileListEpic_1.fetchFileListEpic, financeStatementEpic_1.fetchFinanceStatementEpic, fetchForecastListEpic_1.fetchForecastListEpic, fetchGlobalMerchantAutoCompleteViewEpic_1.fetchGlobalMerchantAutoCompleteViewEpic, fetchGlobalMerchantRecommendationEpic_1.fetchGlobalMerchantRecommendationEpic, fetchIncomeTrendEpic_1.fetchIncomeTrendEpic, insightsCardEpic_1.fetchInsightsCardEpic, fetchInternationalWireDynamicFormEpic_1.fetchInternationalWireDynamicFormEpic, fetchMagicLinkBankNameByRoutingEpic_1.fetchMagicLinkBankNameByRoutingEpic, fetchMagicLinkBankNameBySwiftEpic_1.fetchMagicLinkBankNameBySwiftEpic, fetchMagicLinkBillEpic_1.fetchMagicLinkBillEpic, fetchMagicLinkTenantEpic_1.fetchMagicLinkTenantEpic, fetchManagementViewEpic_1.fetchManagementViewEpic, fetchMerchantListEpic_1.fetchMerchantListEpic, 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, fetchOnboardingCompletedCompaniesEpic_1.fetchOnboardingCompletedCompaniesEpic, fetchOnboardingCustomerSetupViewEpic_1.fetchOnboardingCustomerSetupViewEpic, fetchOnboardingCustomerViewEpic_1.fetchOnboardingCustomerViewEpic, fetchOnboardingViewEpic_1.fetchOnboardingViewEpic, fetchOpExByVendorReportEpic_1.fetchOpExByVendorEpic, fetchOpExByVendorReportForTimeframeEpic_1.fetchOpExByVendorReportForTimeframeEpic, fetchOpExByVendorReportSummaryEpic_1.fetchOpExByVendorReportSummaryEpic, opExClassesViewEpic_1.fetchOpExClassesViewEpic, opExEpic_1.fetchOpExEpic, opExForTimeframeClassesViewEpic_1.fetchOpExForTimeframeClassesViewEpic, opExForTimeFrameEpic_1.fetchOpExReportForTimeframeEpic, fetchOpExWithForecastEpic_1.fetchOpExWithForecastEpic, fetchOwnerListEpic_1.fetchOwnerListEpic, fetchParentSubsidiaryManagementViewEpic_1.fetchParentSubsidiaryManagementViewEpic, 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, profitAndLossForTimeframeEpic_1.fetchProfitAndLossForTimeframeEpic, fetchRecommendationByEntityIdEpic_1.fetchRecommendationByEntityIdEpic, fetchRecommendationByEntityNameEpic_1.fetchRecommendationByEntityNameEpic, fetchRecommendationForAccountTypeEpic_1.fetchRecommendationForAccountTypeEpic, fetchRecommendationsAndUpdateMerchantRecommendationsEpic_1.fetchRecommendationsAndUpdateMerchantRecommendationsEpic, 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, 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, fetchTaskDetailEpic_1.fetchTaskDetailEpic, fetchTaskDetailPageEpic_1.fetchTaskDetailPageEpic, fetchTaskHistoryEpic_1.fetchTaskHistoryEpic, fetchTaskListEpic_1.fetchTaskListEpic, fetchTaskListPageEpic_1.fetchTaskListPageEpic, fetchTasksCardEpic_1.fetchTasksCardEpic, topExEpic_1.fetchTopExEpic, transactionDetailEpic_1.fetchTransactionDetailEpic, fetchTransactionListByAccountEpic_1.fetchTransactionListByAccountEpic, fetchTransactionListByClassEpic_1.fetchTransactionListByClassEpic, fetchTransactionListByEntityEpic_1.fetchTransactionListByEntityEpic, fetchTransactionsForEntityEpic_1.fetchTransactionsForEntityEpic, fetchTransactionsListByCategoryTypeEpic_1.fetchTransactionsListByCategoryTypeEpic, fetchTrendForEntityEpic_1.fetchTrendForEntityEpic, fetchUserDetailEpic_1.fetchUserDetailEpic, fetchUserFinancialAccountEpic_1.fetchUserFinancialAccountEpic, fetchUserListByTypeEpic_1.fetchUserListByTypeEpic, userRoleConfigEpic_1.fetchUserRoleConfigEpic, fetchVendorAndUpdateBillLocalDataEpic_1.fetchVendorAndUpdateBillLocalDataEpic, fetchVendorByNameAndParseInvoice_1.fetchVendorByNameAndParseInvoiceEpic, fetchVendorDetailsEpic_1.fetchVendorDetailsEpic, fetchVendorEpic_1.fetchVendorEpic, fetchVendorFirstReviewAttachmentsEpic_1.fetchVendorFirstReviewAttachmentsEpic, fetchVendorFirstReviewViewEpic_1.fetchVendorFirstReviewViewEpic, fetchVendorGlobalReviewViewEpic_1.fetchVendorGlobalReviewViewEpic, vendorTypeListEpic_1.fetchVendorTypeListEpic, vendorTypeListEpic_1.fetchVendorTypeListEpic, fetchVendorsListEpic_1.fetchVendorsListEpic, fetchVendorsTabVendorDetailPageViewEpic_1.fetchVendorsTabVendorDetailPageViewEpic, fetchVendorsTabVendorDetailsEpic_1.fetchVendorsTabVendorDetailsEpic, fetchVendorsTabVendorEpic_1.fetchVendorsTabVendorEpic, fetchVendorTabViewEpic_1.fetchVendorTabViewEpic, fetchZeniAccStatementListEpic_1.fetchZeniAccStatementListEpic, fetchZeniAccStatementPageEpic_1.fetchZeniAccStatementPageEpic, fetchZeniAccountListPageEpic_1.fetchZeniAccountListEpic, fetchZeniAccountSetupViewEpic_1.fetchZeniAccountSetupViewEpic, fetchZeniAccountsConfigEpic_1.fetchZeniAccountsConfigEpic, zeniAccountsPromoCardEpic_1.fetchZeniAccountsPromoCardEpic, fetchZeniUsersEpic_1.fetchZeniUsersEpic, getOnboardingEmailGroupEpic_1.getOnboardingEmailGroupEpic, getOnboardingPlaidLinkTokenEpic_1.getOnboardingPlaidLinkTokenEpic, getPaymentAccountsEpic_1.getPaymentAccountsEpic, getPlaidLinkTokenEpic_1.getPlaidLinkTokenEpic, improveUsingZeniGPTEpic_1.improveUsingZeniGPTEpic, initializeAccountMappingViewEpic_1.initializeAccountMappingViewEpic, initializeBillPaySetupApproverViewUpdateDataEpic_1.initializeBillPaySetupApproverViewUpdateDataEpic, initializeBillToLocalStoreEpic_1.initializeBillToLocalStoreEpic, initializeCompanyHealthMetricViewLocalData_1.initializeCompanyHealthMetricViewLocalDataEpic, initializeDynamicFormEpic_1.initializeDynamicFormEpic, initializeEditPersonEpic_1.initializeEditPersonEpic, initializeInternationalWireLocalDataEpic_1.initializeInternationalWireLocalDataEpic, initializeOnboardingCustomerViewUpdateDataEpic_1.initializeOnboardingCustomerViewUpdateDataEpic, initializeRemiSetupApproverViewUpdateDataEpic_1.initializeRemiSetupApproverViewUpdateDataEpic, initializeRemiToLocalStoreEpic_1.initializeRemiToLocalStoreEpic, initializeScheduleDetailLocalDataEpic_1.initializeScheduleDetailLocalDataEpic, initializeSubscriptionLocalDataEpic_1.initializeSubscriptionLocalDataEpic, initializeTaskToLocalStoreEpic_1.initializeTaskToLocalStoreEpic, initializeTransactionDetailLocalDataEpic_1.initializeTransactionDetailLocalDataEpic, initializeVendorAddressEpic_1.initializeVendorAddressEpic, invitePeopleEpic_1.invitePeopleEpic, inviteZeniPeopleEpic_1.inviteZeniPeopleEpic, issueChargeCardEpic_1.issueChargeCardEpic, markAsCompleteScheduleDetailEpic_1.markAsCompleteScheduleDetailEpic, markTransactionAsNotMiscategorizedEpic_1.markTransactionAsNotMiscategorizedEpic, parallelFetchAccountTransactionListEpic_1.parallelFetchAccountTransactionListEpic, parallelFetchClassTransactionListEpic_1.parallelFetchClassTransactionListEpic, parallelFetchEntityTransactionListEpic_1.parallelFetchEntityTransactionListEpic, parallelFetchTransactionListByCategoryTypeEpic_1.parallelFetchTransactionListByCategoryTypeEpic, parseInvoiceToBillEpic_1.parseInvoiceToBillEpic, parseReceiptsToRemiEpic_1.parseReceiptsToRemiEpic, peopleSaveUpdatesEpic_1.peopleSaveUpdatesEpic, pushToastNotificationEpic_1.pushToastNotificationEpic, refreshIntegrationsDataEpic_1.refreshIntegrationsDataEpic, rejectVendorGlobalReviewEpic_1.rejectVendorGlobalReviewEpic, resendInviteEpic_1.resendInviteEpic, resendOtpEpic_1.resendOtpEpic, resendReferralInviteEpic_1.resendReferralInviteEpic, resetTransactionVendorLocalDataEpic_1.resetTransactionVendorLocalDataEpic, resetVendorDetailLocalDataEpic_1.resetVendorDetailLocalDataEpic, resetVendorsTabVendorDetailLocalDataEpic_1.resetVendorsTabVendorDetailLocalDataEpic, retryBankAccountConnectionEpic_1.retryBankAccountConnectionEpic, retryBankAccountConnectionForOnboardingEpic_1.retryBankAccountConnectionForOnboardingEpic, reviewDraftBillsBulkActionEpic_ts_1.reviewDraftBillsBulkActionEpic, saveAccountMappingViewEpic_1.saveAccountMappingViewEpic, saveBillDetailEpic_1.saveBillDetailEpic, saveBillPaySetupApproverViewUpdatesEpic_1.saveBillPaySetupApproverViewUpdatesEpic, saveCompanyHealthMetricByIdEpic_1.saveCompanyHealthMetricByIdEpic, saveCompanyMonthEndReportEpic_1.saveCompanyMonthEndReportEpic, saveCompanyPassportDetailsEpic_1.saveCompanyPassportDetailsEpic, saveExternalConnectionEpic_1.saveExternalConnectionEpic, saveMagicLinkBankAccountEpic_1.saveMagicLinkBankAccountEpic, saveNewAddressEpic_1.saveNewAddressEpic, saveNotificationSettingsEpic_1.saveNotificationSettingsEpic, saveOnboardingCustomerCompletedStatusEpic_1.saveOnboardingCustomerCompletedStatusEpic, saveOnboardingCustomerNotesEpic_1.saveOnboardingCustomerNotesEpic, saveOnboardingCustomerViewUpdatesEpic_1.saveOnboardingCustomerViewUpdatesEpic, saveRealTimeApprovalEpic_1.saveRealTimeApprovalEpic, saveReasonForAuditRuleEpic_1.saveReasonForAuditRuleEpic, saveRemiDetailEpic_1.saveRemiDetailEpic, saveRemiSetupApproverViewUpdatesEpic_1.saveRemiSetupApproverViewUpdatesEpic, saveScheduleDetailsEpic_1.saveScheduleDetailsEpic, saveSubscriptionNotesUpdatesEpic_1.saveSubscriptionNotesUpdatesEpic, saveSubscriptionUpdatesEpic_1.saveSubscriptionUpdatesEpic, saveTaskDetailEpic_1.saveTaskDetailEpic, saveTransactionDetailEpic_1.saveTransactionDetailEpic, saveTransactionVendorEpic_1.saveTransactionVendorEpic, saveVendorEpic_1.saveVendorEpic, saveVendorFirstReviewViewEpic_1.saveVendorFirstReviewViewEpic, saveVendorsTabVendorEpic_1.saveVendorsTabVendorEpic, submitDraftBillsBulkActionEpic_1.submitDraftBillsBulkActionEpic, sendCompanyMonthEndReportEpic_1.sendCompanyMonthEndReportEpic, sendOnboardingCustomerViewInviteEpic_1.sendOnboardingCustomerViewInviteEpic, sendOtpEpic_1.sendOtpEpic, sendReferralInviteEpic_1.sendReferralInviteEpic, statementCloseDayEpic_1.statementCloseDayEpic, toggleReportUIOptionForecastModeEpic_1.toggleReportUIOptionForecastModeEpic, transferMoneyEpic_1.transferMoneyEpic, unlinkPaymentAccountEpic_1.unlinkPaymentAccountEpic, updateAddressEpic_1.updateAddressEpic, updateAmountsInScheduleDetailEpic_1.updateAmountsInScheduleDetailEpic, updateBusinessVerificationDetailsEpic_1.updateBusinessVerificationDetailsEpic, updateChargeCardDetailEpic_1.updateChargeCardDetailEpic, updateCompanyDetailsEpic_1.updateCompanyDetailsEpic, updateCompanyOfficerEpic_1.updateCompanyOfficerEpic, updateCompanyPassportLocalStoreDataEpic_1.updateCompanyPassportLocalStoreDataEpic, updateDepositAccountEpic_1.updateDepositAccountEpic, updateFileNameEpic_1.updateFileNameEpic, updateFilesMetadataEpic_1.updateFilesMetadataEpic, updateJESchedulesEpic_1.updateJESchedulesEpic, updateMappedCashAccountEpic_1.updateMappedCashAccountEpic, updateMileageDetailsEpic_1.updateMileageDetailsEpic, updateNetBurnOrIncomeStoryCardSettingsEpic_1.updateNetBurnOrIncomeStoryCardSettingsEpic, updateNotificationViewAllNotificationsStatusEpic_1.updateNotificationViewAllNotificationsStatusEpic, updateNotificationViewNotificationStatusEpic_1.updateNotificationViewNotificationStatusEpic, updateOnboardingCustomerViewCompleteStatusEpic_1.updateOnboardingCustomerViewCompleteStatusEpic, updateOnboardingCustomerViewEpic_1.updateOnboardingCustomerViewEpic, updateOnboardingCustomerViewLocalStoreDataEpic_1.updateOnboardingCustomerViewLocalStoreDataEpic, updateOnboardingPaymentAccountLoginStatusEpic_1.updateOnboardingPaymentAccountLoginStatusEpic, updateOnboardingPaymentAccountStatusEpic_1.updateOnboardingPaymentAccountStatusEpic, updatePaymentAccountEpic_1.updatePaymentAccountEpic, updatePaymentAccountLoginStatusEpic_1.updatePaymentAccountLoginStatusEpic, updatePaymentAccountStatusEpic_1.updatePaymentAccountStatusEpic, updatePrimaryContactEpic_1.updatePrimaryContactEpic, updatePrimaryFundingAccountEpic_1.updatePrimaryFundingAccountEpic, 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, updateSelectedVendorForCreateFlowEpic_1.updateSelectedVendorForCreateFlowEpic, updateSetupViewLocalStoreDataEpic_1.updateSetupViewLocalStoreDataEpic, updateTaskGroupNameEpic_1.updateTaskGroupNameEpic, updateTransactionDetailEpic_1.updateTransactionDetailEpic, updateVendorContactEpic_1.updateVendorContactEpic, uploadMissingReceiptSuccessEpic_1.uploadMissingReceiptSuccessEpic, 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);
|
|
394
395
|
const rootEpic = (action$, store$, dependencies) => combinedEpics(action$, store$, dependencies).pipe((0, operators_1.map)(rxjs_1.identity), (0, operators_1.catchError)((error, source) => {
|
|
395
396
|
console.error(error);
|
|
396
397
|
return source;
|
package/lib/index.d.ts
CHANGED
|
@@ -670,10 +670,10 @@ import { AddCardPaymentSourceType } from './view/cardPayment/cardPaymentViewType
|
|
|
670
670
|
import { CardPaymentSelectorView, getAllCardsAndBankPaymentMethods } from './view/cardPayment/cardPaymentViewSelector';
|
|
671
671
|
import { createCardSetupIntent, confirmCardSetupIntent, addCardPaymentSource, fetchPaymentSources, resetCardPaymentErrorStatuses, clearCardPaymentView } from './view/cardPayment/cardPaymentViewReducer';
|
|
672
672
|
export { CardPayment, CardPaymentViewState, SetupIntentData, CardPaymentSelectorView, getAllCardsAndBankPaymentMethods, createCardSetupIntent, confirmCardSetupIntent, addCardPaymentSource, fetchPaymentSources, resetCardPaymentErrorStatuses, clearCardPaymentView, AddCardPaymentSourceType, };
|
|
673
|
-
import { getAuditReportGroupViewSelectorView, getAuditRuleGroupViewSelectorView, AuditReportGroupSelectorView, AuditReportGroupViewSelectorView, AuditRuleGroupViewSelectorView } from './view/auditReportView/auditReportViewSelector';
|
|
674
|
-
import { fetchAuditRuleGroupView, fetchAuditReportGroupView, clearAuditReportGroupViewByCompanyId } from './view/auditReportView/auditReportViewReducer';
|
|
675
|
-
import { AuditRuleGroup, AuditReportRule, AuditRuleGroupReport, AuditRuleEntityType, AuditRuleEntityIdType } from './view/auditReportView/auditReportViewState';
|
|
676
|
-
export { getAuditReportGroupViewSelectorView, getAuditRuleGroupViewSelectorView, AuditReportGroupSelectorView, AuditReportGroupViewSelectorView, AuditRuleGroupViewSelectorView, fetchAuditRuleGroupView, fetchAuditReportGroupView, AuditRuleGroup, AuditRuleGroupReport, AuditReportRule, AuditRuleEntityType, AuditRuleEntityIdType, clearAuditReportGroupViewByCompanyId, };
|
|
673
|
+
import { getAuditReportGroupViewSelectorView, getAuditRuleGroupViewSelectorView, AuditReportGroupSelectorView, AuditReportGroupViewSelectorView, AuditRuleGroupViewSelectorView, getUserFromAllUsers } from './view/auditReportView/auditReportViewSelector';
|
|
674
|
+
import { fetchAuditRuleGroupView, fetchAuditReportGroupView, saveReasonForAuditRule, clearAuditReportGroupViewByCompanyId } from './view/auditReportView/auditReportViewReducer';
|
|
675
|
+
import { AuditRuleGroup, AuditReportRule, AuditRuleGroupReport, AuditRuleEntityType, AuditRuleEntityIdType, AuditRuleBypassReason } from './view/auditReportView/auditReportViewState';
|
|
676
|
+
export { getAuditReportGroupViewSelectorView, getAuditRuleGroupViewSelectorView, getUserFromAllUsers, AuditReportGroupSelectorView, AuditReportGroupViewSelectorView, AuditRuleGroupViewSelectorView, fetchAuditRuleGroupView, fetchAuditReportGroupView, saveReasonForAuditRule, AuditRuleGroup, AuditRuleGroupReport, AuditReportRule, AuditRuleEntityType, AuditRuleEntityIdType, AuditRuleBypassReason, clearAuditReportGroupViewByCompanyId, };
|
|
677
677
|
import { AuthenticationFeatureType, AuthenticationDetails, AuthenticationViewState } from './view/authenticationView/authenticationViewState';
|
|
678
678
|
import { fetchCollaborationAuthToken } from './view/authenticationView/authenticationViewReducer';
|
|
679
679
|
import { getAuthenticationView } from './view/authenticationView/authenticationViewSelector';
|
package/lib/index.js
CHANGED
|
@@ -47,8 +47,8 @@ exports.updateOnboardingCustomerViewUIState = exports.updateCurrentStep = export
|
|
|
47
47
|
exports.getChargeCardBusinessVerificationDetails = exports.companyHealthMetricDropDownOptions = exports.hasCompanyHealthMetricFormFieldChanged = exports.getCompanyHealthMetricView = exports.isCompanyRunwayInfinite = exports.updateCompanyHealthViewUIState = exports.updateCompanyHealthMetricViewSuccessStatus = exports.updateCompanyHealthMetricViewErrorStatus = exports.updateCompanyHealthMetricLocalStore = exports.saveCompanyHealthMetricById = exports.removeSelectedCompanyId = exports.initializeCompanyHealthMetricViewLocalData = exports.fetchCompanyHealthMetricView = exports.clearCompanyHealthMetricView = exports.updateCompanyHealth = exports.updateCompaniesHealth = exports.getUserRoleConfig = exports.fetchUserRoleConfig = exports.clearInternationalWire = exports.deletePaymentInstrument = exports.createPaymentInstrumentUpdateStatus = exports.createPaymentInstrument = exports.fetchInternationalWireDynamicForm = exports.initializeDynamicForm = exports.updateInternationalWireLocalStoreData = exports.initializeInternationalWireLocalData = exports.getInternationalWireView = exports.fetchWiseRedirectStatus = exports.getWiseRedirect = exports.saveMagicLinkAddressInLocalStore = exports.fetchMagicLinkBankNameBySwift = exports.fetchMagicLinkBankNameByRouting = exports.updateMagicLinkInternationalBankAccountLocalStoreData = exports.updateMagicLinkBankAccountLocalStoreData = exports.saveBankAccount = exports.fetchBillAttachment = exports.fetchMagicLinkTenant = exports.getMagicLinkCurrentAddressState = exports.getMagicLinkBankAccountView = exports.getMagicLinkView = exports.initializeAccountMappingView = exports.getAccountMappingView = exports.clearAccountMappingLocalData = exports.saveAccountMappingLocalData = exports.saveAccountMapping = exports.getOnboardingCustomerView = exports.clearOnboardingCustomerViewDataInLocalStore = exports.clearOnboardingCustomerView = exports.saveOnboardingCustomerViewDataInLocalStore = exports.saveOnboardingCompnayOfficerPhoneInLocalStore = void 0;
|
|
48
48
|
exports.updatedSelectedJELinkRowIndex = exports.updateScheduleListDownloadState = exports.updateScheduleDetailsLocalData = exports.createNewSchedules = exports.deleteScheduleDetail = exports.saveScheduleDetails = exports.fetchScheduleDetailsPage = exports.getScheduleDetailsView = exports.fetchScheduleDetails = exports.updateSelectedJEScheduleKey = exports.updateScheduleListSortState = exports.updateScheduleListScrollState = exports.updateScheduleListSearchText = exports.updateScheduleListSubTab = exports.toScheduleSubTabType = exports.toScheduleListTabsFileTypeStrict = exports.toScheduleTypesTypeStrict = exports.toScheduleTypesType = exports.getFetchStateForScheduleAccountList = exports.updateScheduleListLocalData = exports.fetchSchedulesAccount = exports.fetchDownloadSchedules = exports.fetchScheduleList = exports.getScheduleListReport = exports.ALL_SCHEDULES_TYPES = exports.updateApAgingDetailUIState = exports.getApAgingDetailForVendor = exports.fetchApAgingDetail = exports.updateApAgingUIState = exports.getApAgingReport = exports.fetchApAging = exports.updateChargeCardDetail = exports.updateCashbackDetailUIState = exports.updateChargeCardListUIState = exports.updateChargeCardListSearchText = exports.resetIssueChargeCardForm = exports.updateChargeCardLocalStore = exports.issueChargeCard = exports.acceptChargeCardTerms = exports.fetchChargeCardSetupView = exports.getChargeCardSetupViewDetails = exports.toCreditLimitFrequencyCodeType = exports.getCashbackDetail = exports.toChargeCardSortKeyType = exports.fetchCashbackDetail = exports.fetchChargeCardTransactionList = exports.getChargeCardDetailView = exports.fetchChargeCardDetailPage = exports.getChargeCardListView = exports.fetchChargeCardListPage = void 0;
|
|
49
49
|
exports.fetchTaskListPage = exports.getAllTasks = exports.toRecurringBillFrequencyStrict = exports.toRecurringBillFrequency = exports.updateArAgingNodeCollapseState = exports.getArAgingDetailForCustomer = exports.getArAgingReport = exports.updateArAgingDetailUIState = exports.fetchArAgingDetail = exports.updateArAgingUIState = exports.fetchArAging = exports.toVendorGlobalReviewColumnSortKeyType = exports.getTenantMerchantByMerchantId = exports.getVendorGlobalReviewView = exports.updateVendorGlobalReviewViewUIState = exports.updateSelectedGlobalMerchant = exports.fetchVendorGlobalReviewView = exports.rejectVendorGlobalReview = exports.approveVendorGlobalReview = exports.getGlobalMerchantView = exports.clearGlobalMerchantView = exports.updateCreateGlobalMerchantLocalData = exports.createGlobalMerchant = exports.fetchGlobalMerchantRecommendation = exports.clearGlobalMerchantAutoCompleteResults = exports.fetchGlobalMerchantAutoCompleteView = exports.updateVendorFirstReviewSortUiState = exports.updateVendorFirstReviewViewLocalData = exports.saveVendorFirstReviewView = exports.clearRecentlySavedErroredVendorData = exports.updateVendorFirstReviewViewPageToken = exports.resetVendorFirstReviewLocalData = exports.updateVendorFirstReviewViewScrollYOffset = exports.fetchVendorFirstReviewAttachments = exports.fetchVendorFirstReviewView = exports.getVendorFirstReviewAttachmentView = exports.getVendorFirstReviewView = exports.getGlobalMerchantAutoCompleteResults = exports.toVendorFirstReviewViewColumnKeyType = exports.fetchVendorTabView = exports.resetMarkAsCompleteStatus = exports.markAsCompleteScheduleDetail = exports.getDefaultSelectedTimeframeForScheduleType = exports.getFetchStateForScheduleListByType = exports.updatedJELinkWithRecommendedLocalData = exports.resetJELinkInLocalData = exports.updateAmountsInScheduleDetail = exports.updatedJELinkInLocalData = exports.getThirdPartyIDFromQBOURL = exports.getQBOUrlForLink = void 0;
|
|
50
|
-
exports.
|
|
51
|
-
exports.getCompanyTaskManagerView = exports.fetchCompanyTaskManagerView = exports.getMinAllowedEndDate = exports.toRecurringFrequency = exports.getRecurringEndDateFromCount = exports.updateReferViewed = exports.getRewardsPlanCard = exports.fetchRewardsPlan = exports.resendReferralInvite = exports.updateReferralListSortUiState = exports.saveReferralFormDataInLocalStore = exports.clearReferrals = exports.sendReferralInvite = exports.fetchReferrals = exports.AmountStatusTypes = exports.StatusTypes = exports.toReferralListViewSortKeyType = exports.getInviteFormView = exports.getReferralListView = exports.getNotifications = exports.getLastNotificationTime = exports.pushToastNotification = exports.getNotificationsForSelectedSubTab = exports.getExternalNotificationsForSelectedSubTab = exports.getNotificationView = exports.updateNotificationViewUIState = exports.updateNotificationViewSubTab = exports.updateNotificationViewCurrentTabAndSubTab = exports.updateNotificationViewTabState = exports.updateNotificationViewNotificationStatus = exports.updateNotificationViewAllNotificationsStatus = exports.fetchNotificationUnreadCountSuccess = exports.fetchNotificationUnreadCount = exports.fetchNotificationView = exports.toNotificationTabTypeStrict = exports.toNotificationSubTabTypeStrict = exports.updateCommentsNotificationsStatuses = exports.updateCommentsNotifications = exports.toNotificationModeStrict = void 0;
|
|
50
|
+
exports.getAuthenticationView = exports.fetchCollaborationAuthToken = exports.clearAuditReportGroupViewByCompanyId = exports.saveReasonForAuditRule = exports.fetchAuditReportGroupView = exports.fetchAuditRuleGroupView = exports.getUserFromAllUsers = exports.getAuditRuleGroupViewSelectorView = exports.getAuditReportGroupViewSelectorView = exports.clearCardPaymentView = exports.resetCardPaymentErrorStatuses = exports.fetchPaymentSources = exports.addCardPaymentSource = exports.confirmCardSetupIntent = exports.createCardSetupIntent = exports.getAllCardsAndBankPaymentMethods = exports.deleteTag = exports.createTag = exports.fetchTagList = exports.getAllTags = exports.toDueDateGroupKeyType = exports.toTaskStatusCodeType = exports.toPriorityCodeType = exports.getDueDateValueFromDueDateGroupId = exports.initialTaskDetail = exports.fetchAllTaskGroups = exports.getTaskUpdates = exports.toTaskListGroupByKeyTypeStrict = exports.toTaskListGroupByKeyType = exports.updateTaskGroupName = exports.dragNDropTasks = exports.updateTaskListLocalData = exports.deleteTaskGroup = exports.initiateTaskListLocalData = exports.createNewTaskGroup = exports.bulkUpdateTaskList = exports.discardTaskUpdatesInLocalStore = exports.deleteTask = exports.TASK_LIST_GROUP_BY_CATEGORIES = exports.TASK_LIST_FILTER_CATEGORIES = exports.updateTaskFilters = exports.allTaskPriority = exports.allTaskStatus = exports.updateTaskListUIState = exports.updateTaskListSearchText = exports.archiveTask = exports.saveTaskDetail = exports.saveTaskUpdatesToLocalStore = exports.fetchTaskDetailPage = exports.getTaskDetail = void 0;
|
|
51
|
+
exports.getCompanyTaskManagerView = exports.fetchCompanyTaskManagerView = exports.getMinAllowedEndDate = exports.toRecurringFrequency = exports.getRecurringEndDateFromCount = exports.updateReferViewed = exports.getRewardsPlanCard = exports.fetchRewardsPlan = exports.resendReferralInvite = exports.updateReferralListSortUiState = exports.saveReferralFormDataInLocalStore = exports.clearReferrals = exports.sendReferralInvite = exports.fetchReferrals = exports.AmountStatusTypes = exports.StatusTypes = exports.toReferralListViewSortKeyType = exports.getInviteFormView = exports.getReferralListView = exports.getNotifications = exports.getLastNotificationTime = exports.pushToastNotification = exports.getNotificationsForSelectedSubTab = exports.getExternalNotificationsForSelectedSubTab = exports.getNotificationView = exports.updateNotificationViewUIState = exports.updateNotificationViewSubTab = exports.updateNotificationViewCurrentTabAndSubTab = exports.updateNotificationViewTabState = exports.updateNotificationViewNotificationStatus = exports.updateNotificationViewAllNotificationsStatus = exports.fetchNotificationUnreadCountSuccess = exports.fetchNotificationUnreadCount = exports.fetchNotificationView = exports.toNotificationTabTypeStrict = exports.toNotificationSubTabTypeStrict = exports.updateCommentsNotificationsStatuses = exports.updateCommentsNotifications = exports.toNotificationModeStrict = exports.fetchZeniAccountsPromoCard = exports.getZeniAccountsPromoCard = void 0;
|
|
52
52
|
const zeniDayJS_1 = require("./zeniDayJS");
|
|
53
53
|
Object.defineProperty(exports, "Dayjs", { enumerable: true, get: function () { return zeniDayJS_1.Dayjs; } });
|
|
54
54
|
Object.defineProperty(exports, "updateZeniDateLocaleID", { enumerable: true, get: function () { return zeniDayJS_1.updateZeniDateLocaleID; } });
|
|
@@ -1458,9 +1458,11 @@ Object.defineProperty(exports, "clearCardPaymentView", { enumerable: true, get:
|
|
|
1458
1458
|
const auditReportViewSelector_1 = require("./view/auditReportView/auditReportViewSelector");
|
|
1459
1459
|
Object.defineProperty(exports, "getAuditReportGroupViewSelectorView", { enumerable: true, get: function () { return auditReportViewSelector_1.getAuditReportGroupViewSelectorView; } });
|
|
1460
1460
|
Object.defineProperty(exports, "getAuditRuleGroupViewSelectorView", { enumerable: true, get: function () { return auditReportViewSelector_1.getAuditRuleGroupViewSelectorView; } });
|
|
1461
|
+
Object.defineProperty(exports, "getUserFromAllUsers", { enumerable: true, get: function () { return auditReportViewSelector_1.getUserFromAllUsers; } });
|
|
1461
1462
|
const auditReportViewReducer_1 = require("./view/auditReportView/auditReportViewReducer");
|
|
1462
1463
|
Object.defineProperty(exports, "fetchAuditRuleGroupView", { enumerable: true, get: function () { return auditReportViewReducer_1.fetchAuditRuleGroupView; } });
|
|
1463
1464
|
Object.defineProperty(exports, "fetchAuditReportGroupView", { enumerable: true, get: function () { return auditReportViewReducer_1.fetchAuditReportGroupView; } });
|
|
1465
|
+
Object.defineProperty(exports, "saveReasonForAuditRule", { enumerable: true, get: function () { return auditReportViewReducer_1.saveReasonForAuditRule; } });
|
|
1464
1466
|
Object.defineProperty(exports, "clearAuditReportGroupViewByCompanyId", { enumerable: true, get: function () { return auditReportViewReducer_1.clearAuditReportGroupViewByCompanyId; } });
|
|
1465
1467
|
const authenticationViewReducer_1 = require("./view/authenticationView/authenticationViewReducer");
|
|
1466
1468
|
Object.defineProperty(exports, "fetchCollaborationAuthToken", { enumerable: true, get: function () { return authenticationViewReducer_1.fetchCollaborationAuthToken; } });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AuditRule, AuditRuleGroup, AuditReportGroupQuery, AuditReport, AuditRuleGroupReport, AuditReportGroup, AuditRuleBase, AuditReportRule } from './auditReportViewState';
|
|
2
|
-
import { AuditReportGroupPayload, AuditReportGroupQueryPayload, AuditReportPayload, AuditRuleGroupPayload, AuditRulePayload, AuditRuleGroupReportPayload, AuditRuleBasePayload, AuditReportRulePayload } from './auditReportViewPayload';
|
|
1
|
+
import { AuditRule, AuditRuleGroup, AuditReportGroupQuery, AuditReport, AuditRuleGroupReport, AuditReportGroup, AuditRuleBase, AuditReportRule, AuditRuleBypassReason } from './auditReportViewState';
|
|
2
|
+
import { AuditReportGroupPayload, AuditReportGroupQueryPayload, AuditReportPayload, AuditRuleGroupPayload, AuditRulePayload, AuditRuleGroupReportPayload, AuditRuleBasePayload, AuditReportRulePayload, AuditRuleBypassReasonPayload } from './auditReportViewPayload';
|
|
3
3
|
declare const toAuditRuleGroupFromPayload: (auditRuleGroupPayload: AuditRuleGroupPayload) => AuditRuleGroup;
|
|
4
4
|
declare const toAuditRulesFromPayload: (auditRulesPayload: AuditRulePayload[]) => AuditRule[];
|
|
5
5
|
declare const toAuditRuleBaseFromPayload: (auditRuleBasePayload: AuditRuleBasePayload) => AuditRuleBase;
|
|
@@ -7,6 +7,7 @@ declare const toAuditRuleFromPayload: (auditRulesPayload: AuditRulePayload) => A
|
|
|
7
7
|
declare const toAuditReportGroupViewFromPayload: (auditReportGroupPayload: AuditReportGroupPayload) => AuditReportGroup;
|
|
8
8
|
declare const toAuditReportGroupQueryFromPayload: (queryPayload: AuditReportGroupQueryPayload) => AuditReportGroupQuery;
|
|
9
9
|
declare const toAuditReportFromPayload: (auditReportPayload: AuditReportPayload) => AuditReport;
|
|
10
|
+
export declare const toAuditRuleReasonPayload: (auditRuleBypassReasonPayload: AuditRuleBypassReasonPayload) => AuditRuleBypassReason;
|
|
10
11
|
declare const toAuditReportRuleFromPayload: (auditReportRulesPayload: AuditReportRulePayload[]) => AuditReportRule[];
|
|
11
12
|
declare const toAuditRuleReportGroupFromPayload: (auditRuleReportGroupPayload: AuditRuleGroupReportPayload[]) => AuditRuleGroupReport[];
|
|
12
13
|
export { toAuditRuleGroupFromPayload, toAuditRulesFromPayload, toAuditRuleBaseFromPayload, toAuditRuleFromPayload, toAuditReportGroupViewFromPayload, toAuditReportGroupQueryFromPayload, toAuditReportFromPayload, toAuditReportRuleFromPayload, toAuditRuleReportGroupFromPayload, };
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toAuditRuleReportGroupFromPayload = exports.toAuditReportRuleFromPayload = exports.toAuditReportFromPayload = exports.toAuditReportGroupQueryFromPayload = exports.toAuditReportGroupViewFromPayload = exports.toAuditRuleFromPayload = exports.toAuditRuleBaseFromPayload = exports.toAuditRulesFromPayload = exports.toAuditRuleGroupFromPayload = void 0;
|
|
3
|
+
exports.toAuditRuleReportGroupFromPayload = exports.toAuditReportRuleFromPayload = exports.toAuditReportFromPayload = exports.toAuditReportGroupQueryFromPayload = exports.toAuditReportGroupViewFromPayload = exports.toAuditRuleFromPayload = exports.toAuditRuleBaseFromPayload = exports.toAuditRulesFromPayload = exports.toAuditRuleGroupFromPayload = exports.toAuditRuleReasonPayload = void 0;
|
|
4
4
|
const statusPayload_1 = require("../../commonPayloadTypes/statusPayload");
|
|
5
5
|
const viewAndReport_1 = require("../../commonStateTypes/viewAndReport/viewAndReport");
|
|
6
6
|
const auditReportViewState_1 = require("./auditReportViewState");
|
|
7
7
|
const reviewCompanyViewState_1 = require("../reviewCompanyView/reviewCompanyViewState");
|
|
8
|
+
const zeniDayJS_1 = require("../../zeniDayJS");
|
|
8
9
|
const toAuditRuleGroupFromPayload = (auditRuleGroupPayload) => {
|
|
9
10
|
return {
|
|
10
11
|
auditRuleCategory: auditRuleGroupPayload.audit_rule_category,
|
|
11
12
|
auditRuleGroupDescription: auditRuleGroupPayload.audit_rule_group_description,
|
|
12
13
|
auditRuleGroupId: auditRuleGroupPayload.audit_rule_group_id,
|
|
13
14
|
auditRules: toAuditRulesFromPayload(auditRuleGroupPayload.audit_rules),
|
|
15
|
+
ruleType: (0, auditReportViewState_1.toAuditRuleTypeIdType)(auditRuleGroupPayload.rule_type),
|
|
14
16
|
sequence: auditRuleGroupPayload.sequence,
|
|
15
17
|
};
|
|
16
18
|
};
|
|
@@ -59,10 +61,22 @@ const toAuditReportFromPayload = (auditReportPayload) => {
|
|
|
59
61
|
};
|
|
60
62
|
};
|
|
61
63
|
exports.toAuditReportFromPayload = toAuditReportFromPayload;
|
|
64
|
+
const toAuditRuleReasonPayload = (auditRuleBypassReasonPayload) => {
|
|
65
|
+
return {
|
|
66
|
+
userId: auditRuleBypassReasonPayload.added_by_user_id,
|
|
67
|
+
reasonToPass: auditRuleBypassReasonPayload.reason_to_pass,
|
|
68
|
+
reasonStatus: auditRuleBypassReasonPayload.reason_status,
|
|
69
|
+
reasonCreatedAt: (0, zeniDayJS_1.date)(auditRuleBypassReasonPayload.reason_created_at),
|
|
70
|
+
reasonUpdatedAt: (0, zeniDayJS_1.date)(auditRuleBypassReasonPayload.reason_updated_at),
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
exports.toAuditRuleReasonPayload = toAuditRuleReasonPayload;
|
|
62
74
|
const toAuditReportRuleFromPayload = (auditReportRulesPayload) => {
|
|
63
75
|
var _a;
|
|
64
76
|
return ((_a = auditReportRulesPayload.map((auditReportRulePayload) => {
|
|
65
|
-
return Object.assign(Object.assign({}, toAuditRuleBaseFromPayload(auditReportRulePayload)), { isSuccess: auditReportRulePayload.is_success, entityType: (0, auditReportViewState_1.toAuditRuleEntityType)(auditReportRulePayload.entity_type), entityIds: auditReportRulePayload.entity_ids.map((id) => (0, viewAndReport_1.toReportID)(id)), message: auditReportRulePayload.message,
|
|
77
|
+
return Object.assign(Object.assign({}, toAuditRuleBaseFromPayload(auditReportRulePayload)), { isSuccess: auditReportRulePayload.is_success, entityType: (0, auditReportViewState_1.toAuditRuleEntityType)(auditReportRulePayload.entity_type), entityIds: auditReportRulePayload.entity_ids.map((id) => (0, viewAndReport_1.toReportID)(id)), message: auditReportRulePayload.message, reason: auditReportRulePayload.reasons != null
|
|
78
|
+
? (0, exports.toAuditRuleReasonPayload)(auditReportRulePayload.reasons)
|
|
79
|
+
: undefined, reasonUpdateFetchState: { fetchState: 'Not-Started', error: undefined }, sequence: auditReportRulePayload.sequence });
|
|
66
80
|
})) !== null && _a !== void 0 ? _a : []);
|
|
67
81
|
};
|
|
68
82
|
exports.toAuditReportRuleFromPayload = toAuditReportRuleFromPayload;
|
|
@@ -1,15 +1,28 @@
|
|
|
1
1
|
import { StatusPayload } from '../../commonPayloadTypes/statusPayload';
|
|
2
|
+
import { ID } from '../../commonStateTypes/common';
|
|
2
3
|
import { ZeniAPIResponse } from '../../responsePayload';
|
|
3
4
|
import { AuditSummaryPayload } from '../reviewCompanyView/reviewCompanyPayload';
|
|
4
5
|
export interface AuditRuleGroupBasePayload {
|
|
5
6
|
audit_rule_group_id: string;
|
|
6
7
|
}
|
|
8
|
+
export interface AuditRuleBypassReasonPayload {
|
|
9
|
+
added_by_user_id: ID;
|
|
10
|
+
reason_to_pass: string;
|
|
11
|
+
reason_status: string;
|
|
12
|
+
reason_created_at: string;
|
|
13
|
+
reason_updated_at: string;
|
|
14
|
+
}
|
|
7
15
|
export interface AuditRuleGroupPayload extends AuditRuleGroupBasePayload {
|
|
8
16
|
audit_rule_category: string;
|
|
9
17
|
audit_rule_group_description: string;
|
|
10
18
|
audit_rules: AuditRulePayload[];
|
|
19
|
+
rule_type: string;
|
|
11
20
|
sequence: number;
|
|
12
21
|
}
|
|
22
|
+
export interface AuditRuleGroupsPayload {
|
|
23
|
+
audit_rule_groups: AuditRuleGroupPayload[];
|
|
24
|
+
version: string;
|
|
25
|
+
}
|
|
13
26
|
export interface AuditRuleBasePayload {
|
|
14
27
|
audit_rule_id: string;
|
|
15
28
|
}
|
|
@@ -17,23 +30,25 @@ export interface AuditRulePayload extends AuditRuleBasePayload {
|
|
|
17
30
|
audit_rule_description: string;
|
|
18
31
|
sequence: number;
|
|
19
32
|
}
|
|
20
|
-
export interface AuditRuleGroupsPayload {
|
|
21
|
-
audit_rule_groups: AuditRuleGroupPayload[];
|
|
22
|
-
version: string;
|
|
23
|
-
}
|
|
24
33
|
export interface AuditReportRulePayload extends AuditRuleBasePayload {
|
|
25
34
|
is_success: boolean;
|
|
26
35
|
entity_type: string;
|
|
27
36
|
entity_ids: string[];
|
|
28
37
|
message: string;
|
|
38
|
+
reasons?: AuditRuleBypassReasonPayload;
|
|
29
39
|
sequence: number;
|
|
30
40
|
}
|
|
31
41
|
export interface AuditRuleGroupReportPayload extends AuditRuleGroupBasePayload {
|
|
32
42
|
is_success: boolean;
|
|
33
43
|
message: string;
|
|
34
44
|
audit_rules?: AuditReportRulePayload[] | null;
|
|
45
|
+
rule_type: string;
|
|
35
46
|
sequence: number;
|
|
36
47
|
}
|
|
48
|
+
export interface AuditReportGroupPayload {
|
|
49
|
+
query: AuditReportGroupQueryPayload;
|
|
50
|
+
report: AuditReportPayload;
|
|
51
|
+
}
|
|
37
52
|
export interface AuditReportPayload {
|
|
38
53
|
audit_month_and_year: string;
|
|
39
54
|
audit_summary: AuditSummaryPayload;
|
|
@@ -47,9 +62,26 @@ export interface AuditReportGroupQueryPayload {
|
|
|
47
62
|
audit_rule_group_ids: string[];
|
|
48
63
|
action: string;
|
|
49
64
|
}
|
|
50
|
-
export interface
|
|
51
|
-
|
|
52
|
-
|
|
65
|
+
export interface AuditReportGroupQueryRequestPayload {
|
|
66
|
+
audit_rule_group_ids: string[];
|
|
67
|
+
action: string;
|
|
68
|
+
}
|
|
69
|
+
export interface RuleResponsePayload {
|
|
70
|
+
audit_month_and_year: string;
|
|
71
|
+
audit_rule_group_id: string;
|
|
72
|
+
audit_rule_id: string;
|
|
73
|
+
create_time: string;
|
|
74
|
+
entity_ids: string[];
|
|
75
|
+
entity_type: string;
|
|
76
|
+
is_deleted: boolean;
|
|
77
|
+
is_success: boolean;
|
|
78
|
+
last_refresh_attempt_time: string;
|
|
79
|
+
last_refresh_success_time: string;
|
|
80
|
+
message: string;
|
|
81
|
+
sequence: number;
|
|
82
|
+
update_time: string;
|
|
83
|
+
reasons: AuditRuleBypassReasonPayload;
|
|
53
84
|
}
|
|
54
85
|
export declare type AuditReportGroupResponse = ZeniAPIResponse<AuditReportGroupPayload>;
|
|
55
86
|
export declare type AuditRuleGroupsResponse = ZeniAPIResponse<AuditRuleGroupsPayload>;
|
|
87
|
+
export declare type SaveReasonForAuditRuleResponse = ZeniAPIResponse<RuleResponsePayload>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ZeniAPIStatus } from '../../responsePayload';
|
|
2
|
+
import { ID } from '../../commonStateTypes/common';
|
|
2
3
|
import { AuditReportViewState } from './auditReportViewState';
|
|
3
|
-
import { AuditReportGroupPayload, AuditRuleGroupPayload } from './auditReportViewPayload';
|
|
4
|
+
import { AuditReportGroupPayload, AuditRuleGroupPayload, RuleResponsePayload } from './auditReportViewPayload';
|
|
4
5
|
export declare const initialState: AuditReportViewState;
|
|
5
6
|
export declare const fetchAuditRuleGroupView: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[cacheOverride?: any], {
|
|
6
7
|
cacheOverride: any;
|
|
@@ -20,6 +21,22 @@ export declare const fetchAuditRuleGroupView: import("@reduxjs/toolkit").ActionC
|
|
|
20
21
|
companyId: string;
|
|
21
22
|
reportGroupId: string;
|
|
22
23
|
error: ZeniAPIStatus<Record<string, unknown>>;
|
|
24
|
+
}, string, never, never>, saveReasonForAuditRule: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[companyId: string, auditGroupId: string, auditRuleId: string, reasonToPass: string, reasonStatus: string], {
|
|
25
|
+
companyId: string;
|
|
26
|
+
auditGroupId: string;
|
|
27
|
+
auditRuleId: string;
|
|
28
|
+
reasonToPass: string;
|
|
29
|
+
reasonStatus: string;
|
|
30
|
+
}, string, never, never>, saveReasonForAuditRuleOnSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
31
|
+
companyId: ID;
|
|
32
|
+
auditGroupId: string;
|
|
33
|
+
auditRuleId: string;
|
|
34
|
+
reasonResponsePayload: RuleResponsePayload;
|
|
35
|
+
}, string>, saveReasonForAuditRuleOnFailure: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[companyId: string, auditGroupId: string, auditRuleId: string, error: ZeniAPIStatus<Record<string, unknown>>], {
|
|
36
|
+
companyId: string;
|
|
37
|
+
auditGroupId: string;
|
|
38
|
+
auditRuleId: string;
|
|
39
|
+
error: ZeniAPIStatus<Record<string, unknown>>;
|
|
23
40
|
}, string, never, never>, clearAuditRuleGroupView: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, clearAuditReportGroupViewByCompanyId: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[companyId: string], {
|
|
24
41
|
companyId: string;
|
|
25
42
|
}, string, never, never>, clearAuditReportGroupView: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var _a;
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.clearAuditReportGroupView = exports.clearAuditReportGroupViewByCompanyId = exports.clearAuditRuleGroupView = exports.updateAuditReportGroupViewOnFailure = exports.updateAuditReportGroupViewOnSuccess = exports.fetchAuditReportGroupView = exports.updateAuditRuleGroupViewOnFailure = exports.updateAuditRuleGroupViewOnSuccess = exports.fetchAuditRuleGroupView = exports.initialState = void 0;
|
|
4
|
+
exports.clearAuditReportGroupView = exports.clearAuditReportGroupViewByCompanyId = exports.clearAuditRuleGroupView = exports.saveReasonForAuditRuleOnFailure = exports.saveReasonForAuditRuleOnSuccess = exports.saveReasonForAuditRule = exports.updateAuditReportGroupViewOnFailure = exports.updateAuditReportGroupViewOnSuccess = exports.fetchAuditReportGroupView = exports.updateAuditRuleGroupViewOnFailure = exports.updateAuditRuleGroupViewOnSuccess = exports.fetchAuditRuleGroupView = exports.initialState = void 0;
|
|
5
5
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
6
|
const auditReportViewHelper_1 = require("./auditReportViewHelper");
|
|
7
7
|
exports.initialState = {
|
|
@@ -112,10 +112,92 @@ const auditReportView = (0, toolkit_1.createSlice)({
|
|
|
112
112
|
clearAuditRuleGroupView(draft) {
|
|
113
113
|
draft.auditRuleGroupView = Object.assign(draft.auditRuleGroupView, exports.initialState.auditRuleGroupView);
|
|
114
114
|
},
|
|
115
|
+
saveReasonForAuditRule: {
|
|
116
|
+
prepare(companyId, auditGroupId, auditRuleId, reasonToPass, reasonStatus) {
|
|
117
|
+
return {
|
|
118
|
+
payload: {
|
|
119
|
+
companyId,
|
|
120
|
+
auditGroupId,
|
|
121
|
+
auditRuleId,
|
|
122
|
+
reasonToPass,
|
|
123
|
+
reasonStatus,
|
|
124
|
+
},
|
|
125
|
+
};
|
|
126
|
+
},
|
|
127
|
+
reducer(draft, action) {
|
|
128
|
+
var _a, _b;
|
|
129
|
+
const { companyId, auditGroupId, auditRuleId } = action.payload;
|
|
130
|
+
const auditReportGroup = (_b = (_a = draft.auditReportViewByCompanyId[companyId]) === null || _a === void 0 ? void 0 : _a.auditReportGroupViewByGroupId[auditGroupId]) === null || _b === void 0 ? void 0 : _b.auditReportGroup;
|
|
131
|
+
if (auditReportGroup) {
|
|
132
|
+
const auditRuleGroup = auditReportGroup.report.auditRulesGroupReport.find((group) => group.auditRuleGroupId === auditGroupId);
|
|
133
|
+
if (auditRuleGroup) {
|
|
134
|
+
// Find the audit rule that matches the auditRuleId
|
|
135
|
+
const auditRule = auditRuleGroup.auditRules.find((rule) => rule.auditRuleId === auditRuleId);
|
|
136
|
+
if (auditRule) {
|
|
137
|
+
// Update the reasonUpdateFetchState field of the audit rule
|
|
138
|
+
auditRule.reasonUpdateFetchState = {
|
|
139
|
+
fetchState: 'In-Progress',
|
|
140
|
+
error: undefined,
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
saveReasonForAuditRuleOnSuccess(draft, action) {
|
|
148
|
+
var _a, _b;
|
|
149
|
+
const { companyId, reasonResponsePayload } = action.payload;
|
|
150
|
+
// Locate the auditReportGroup using companyId and auditGroupId
|
|
151
|
+
const auditReportGroup = (_b = (_a = draft.auditReportViewByCompanyId[companyId]) === null || _a === void 0 ? void 0 : _a.auditReportGroupViewByGroupId[reasonResponsePayload.audit_rule_group_id]) === null || _b === void 0 ? void 0 : _b.auditReportGroup;
|
|
152
|
+
if (auditReportGroup) {
|
|
153
|
+
const auditRuleGroup = auditReportGroup.report.auditRulesGroupReport.find((group) => group.auditRuleGroupId ===
|
|
154
|
+
reasonResponsePayload.audit_rule_group_id);
|
|
155
|
+
if (auditRuleGroup) {
|
|
156
|
+
// Find the audit rule that matches the auditRuleId
|
|
157
|
+
const auditRule = auditRuleGroup.auditRules.find((rule) => rule.auditRuleId === reasonResponsePayload.audit_rule_id);
|
|
158
|
+
if (auditRule) {
|
|
159
|
+
// Update the reason field of the audit rule
|
|
160
|
+
auditRule.reason =
|
|
161
|
+
reasonResponsePayload.reasons != null
|
|
162
|
+
? (0, auditReportViewHelper_1.toAuditRuleReasonPayload)(reasonResponsePayload.reasons)
|
|
163
|
+
: undefined;
|
|
164
|
+
// Update the reasonUpdateFetchState field of the audit rule
|
|
165
|
+
auditRule.reasonUpdateFetchState = {
|
|
166
|
+
fetchState: 'Completed',
|
|
167
|
+
error: undefined,
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
saveReasonForAuditRuleOnFailure: {
|
|
174
|
+
reducer(draft, action) {
|
|
175
|
+
var _a, _b;
|
|
176
|
+
const { companyId, auditGroupId, auditRuleId } = action.payload;
|
|
177
|
+
const auditReportGroup = (_b = (_a = draft.auditReportViewByCompanyId[companyId]) === null || _a === void 0 ? void 0 : _a.auditReportGroupViewByGroupId[auditGroupId]) === null || _b === void 0 ? void 0 : _b.auditReportGroup;
|
|
178
|
+
if (auditReportGroup) {
|
|
179
|
+
const auditRuleGroup = auditReportGroup.report.auditRulesGroupReport.find((group) => group.auditRuleGroupId === auditGroupId);
|
|
180
|
+
if (auditRuleGroup) {
|
|
181
|
+
// Find the audit rule that matches the auditRuleId
|
|
182
|
+
const auditRule = auditRuleGroup.auditRules.find((rule) => rule.auditRuleId === auditRuleId);
|
|
183
|
+
if (auditRule) {
|
|
184
|
+
// Update the reasonUpdateFetchState field of the audit rule
|
|
185
|
+
auditRule.reasonUpdateFetchState = {
|
|
186
|
+
fetchState: 'Error',
|
|
187
|
+
error: action.payload.error,
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
prepare(companyId, auditGroupId, auditRuleId, error) {
|
|
194
|
+
return { payload: { companyId, auditGroupId, auditRuleId, error } };
|
|
195
|
+
},
|
|
196
|
+
},
|
|
115
197
|
clearAuditReportGroupView(draft) {
|
|
116
198
|
Object.assign(draft, exports.initialState);
|
|
117
199
|
},
|
|
118
200
|
},
|
|
119
201
|
});
|
|
120
|
-
_a = auditReportView.actions, exports.fetchAuditRuleGroupView = _a.fetchAuditRuleGroupView, exports.updateAuditRuleGroupViewOnSuccess = _a.updateAuditRuleGroupViewOnSuccess, exports.updateAuditRuleGroupViewOnFailure = _a.updateAuditRuleGroupViewOnFailure, exports.fetchAuditReportGroupView = _a.fetchAuditReportGroupView, exports.updateAuditReportGroupViewOnSuccess = _a.updateAuditReportGroupViewOnSuccess, exports.updateAuditReportGroupViewOnFailure = _a.updateAuditReportGroupViewOnFailure, exports.clearAuditRuleGroupView = _a.clearAuditRuleGroupView, exports.clearAuditReportGroupViewByCompanyId = _a.clearAuditReportGroupViewByCompanyId, exports.clearAuditReportGroupView = _a.clearAuditReportGroupView;
|
|
202
|
+
_a = auditReportView.actions, exports.fetchAuditRuleGroupView = _a.fetchAuditRuleGroupView, exports.updateAuditRuleGroupViewOnSuccess = _a.updateAuditRuleGroupViewOnSuccess, exports.updateAuditRuleGroupViewOnFailure = _a.updateAuditRuleGroupViewOnFailure, exports.fetchAuditReportGroupView = _a.fetchAuditReportGroupView, exports.updateAuditReportGroupViewOnSuccess = _a.updateAuditReportGroupViewOnSuccess, exports.updateAuditReportGroupViewOnFailure = _a.updateAuditReportGroupViewOnFailure, exports.saveReasonForAuditRule = _a.saveReasonForAuditRule, exports.saveReasonForAuditRuleOnSuccess = _a.saveReasonForAuditRuleOnSuccess, exports.saveReasonForAuditRuleOnFailure = _a.saveReasonForAuditRuleOnFailure, exports.clearAuditRuleGroupView = _a.clearAuditRuleGroupView, exports.clearAuditReportGroupViewByCompanyId = _a.clearAuditReportGroupViewByCompanyId, exports.clearAuditReportGroupView = _a.clearAuditReportGroupView;
|
|
121
203
|
exports.default = auditReportView.reducer;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { RootState } from '../../reducer';
|
|
2
|
+
import { User } from '../../entity/user/userState';
|
|
2
3
|
import { SelectorView } from '../../commonStateTypes/viewAndReport/viewAndReport';
|
|
3
4
|
import { ID } from '../../commonStateTypes/common';
|
|
4
5
|
import { AuditReport, AuditRuleGroup } from './auditReportViewState';
|
|
6
|
+
import { LoggedInUser } from '../../entity/tenant/tenantState';
|
|
5
7
|
export interface AuditRuleGroupViewSelectorView extends SelectorView {
|
|
6
8
|
auditRuleGroups: AuditRuleGroup[];
|
|
7
9
|
}
|
|
@@ -11,12 +13,15 @@ export interface AuditReportGroupSelectorView extends SelectorView {
|
|
|
11
13
|
}
|
|
12
14
|
export interface AuditReportGroupViewSelectorView {
|
|
13
15
|
auditReportGroups: AuditReportGroupSelectorView[];
|
|
16
|
+
isControllerOrReviewer: boolean;
|
|
14
17
|
}
|
|
15
18
|
export declare const getAuditRuleGroupViewSelectorView: (state: RootState) => {
|
|
16
19
|
auditRuleGroups: AuditRuleGroup[];
|
|
17
20
|
fetchState: import("../../commonStateTypes/common").FetchState;
|
|
18
21
|
error: import("../..").ZeniAPIStatus<Record<string, unknown>> | undefined;
|
|
19
22
|
};
|
|
20
|
-
export declare const getAuditReportGroupViewSelectorView: (companyId: ID, state: RootState) => {
|
|
23
|
+
export declare const getAuditReportGroupViewSelectorView: (companyId: ID, state: RootState, loggedInUser?: LoggedInUser | undefined) => {
|
|
21
24
|
auditReportGroups: AuditReportGroupSelectorView[];
|
|
25
|
+
isControllerOrReviewer: boolean;
|
|
22
26
|
};
|
|
27
|
+
export declare const getUserFromAllUsers: (allUsers: User[], userId: ID) => User | undefined;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getAuditReportGroupViewSelectorView = exports.getAuditRuleGroupViewSelectorView = void 0;
|
|
3
|
+
exports.getUserFromAllUsers = exports.getAuditReportGroupViewSelectorView = exports.getAuditRuleGroupViewSelectorView = void 0;
|
|
4
|
+
const companyManagementViewSelector_1 = require("../companyView/selector/companyManagementViewSelector");
|
|
4
5
|
const getAuditRuleGroupViewSelectorView = (state) => {
|
|
5
6
|
const { auditRuleGroupView } = state.auditReportViewState;
|
|
6
7
|
const auditRuleGroups = auditRuleGroupView.auditRuleGroups;
|
|
@@ -11,7 +12,7 @@ const getAuditRuleGroupViewSelectorView = (state) => {
|
|
|
11
12
|
};
|
|
12
13
|
};
|
|
13
14
|
exports.getAuditRuleGroupViewSelectorView = getAuditRuleGroupViewSelectorView;
|
|
14
|
-
const getAuditReportGroupViewSelectorView = (companyId, state) => {
|
|
15
|
+
const getAuditReportGroupViewSelectorView = (companyId, state, loggedInUser) => {
|
|
15
16
|
var _a;
|
|
16
17
|
const { auditReportViewByCompanyId } = state.auditReportViewState;
|
|
17
18
|
const auditReportGroupViewByGroupId = (_a = auditReportViewByCompanyId[companyId]) === null || _a === void 0 ? void 0 : _a.auditReportGroupViewByGroupId;
|
|
@@ -27,8 +28,24 @@ const getAuditReportGroupViewSelectorView = (companyId, state) => {
|
|
|
27
28
|
});
|
|
28
29
|
});
|
|
29
30
|
}
|
|
31
|
+
const managementView = (0, companyManagementViewSelector_1.getCompanyManagementView)(state);
|
|
32
|
+
const isControllerOrReviewer = managementView.companies.some((company) => {
|
|
33
|
+
const { managegmentInfo, companyInfo } = company.company.company;
|
|
34
|
+
const { controllerUserIds, reviewerUserIds } = managegmentInfo;
|
|
35
|
+
if (loggedInUser != null && companyInfo.companyId === companyId) {
|
|
36
|
+
return (controllerUserIds.includes(loggedInUser.userId) ||
|
|
37
|
+
reviewerUserIds.includes(loggedInUser.userId));
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
});
|
|
30
41
|
return {
|
|
31
42
|
auditReportGroups,
|
|
43
|
+
isControllerOrReviewer,
|
|
32
44
|
};
|
|
33
45
|
};
|
|
34
46
|
exports.getAuditReportGroupViewSelectorView = getAuditReportGroupViewSelectorView;
|
|
47
|
+
const getUserFromAllUsers = (allUsers, userId) => {
|
|
48
|
+
const foundPerson = allUsers.find((person) => person.userId === userId);
|
|
49
|
+
return foundPerson;
|
|
50
|
+
};
|
|
51
|
+
exports.getUserFromAllUsers = getUserFromAllUsers;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { FetchedState, ID } from '../../commonStateTypes/common';
|
|
1
|
+
import { FetchedState, FetchStateAndError, ID } from '../../commonStateTypes/common';
|
|
2
2
|
import { Status } from '../../commonStateTypes/status';
|
|
3
3
|
import { View } from '../../commonStateTypes/viewAndReport/viewAndReport';
|
|
4
|
+
import { ZeniDate } from '../../zeniDayJS';
|
|
4
5
|
import { AuditSummary } from '../reviewCompanyView/reviewCompanyViewState';
|
|
5
6
|
export declare const AUDIT_RULE_ENTITY_TYPES: readonly ["reports", "transactions", "dashboard"];
|
|
6
7
|
export declare const toAuditRuleEntityType: (v: string) => "dashboard" | "transactions" | "reports";
|
|
@@ -8,6 +9,8 @@ export declare type AuditRuleEntityType = ReturnType<typeof toAuditRuleEntityTyp
|
|
|
8
9
|
export declare const AUDIT_RULE_ENTITY_IDS: readonly ["uncategorized-expense", "uncategorized-income", "cash_balance", "card_balance", "operating_expenses", "operating_expenses_by_classes", "revenue", "revenue_by_classes", "net_burn_or_income", "net_burn_or_income_story_card", "net_burn_or_income_by_classes", "cash_position", "top_expenses", "profit_and_loss", "profit_and_loss_by_classes", "balance_sheet", "cash_flow", "dashboard", "finance_statement", "transaction_list_of_account", "transaction_list_missing_receipt", "transaction_list_of_account_by_class", "transaction_detail", "cash_in_cash_out", "insights_dashboard", "company_details", "class_list", "account_list", "account_list_by_type", "vendor", "task_card", "bill_pay", "reimbursement", "bill_pay_card", "reimbursement_card", "bill_pay_promo_card", "zeni_accounts", "zeni_accounts_promo_card", "charge_cards", "reimbursement_promo_card", "onboarding", "operating_expenses_by_vendor", "operating_expenses_by_vendor_summary", "vendors_tab", "accounts_payable_aging", "accounts_receivable_aging", "vendor_global_review", "prepaid_expenses", "fixed_assets", "notification", "rewards_card", "billing"];
|
|
9
10
|
export declare const toAuditRuleEntityIdType: (v: string) => "cash_balance" | "card_balance" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "uncategorized-expense" | "uncategorized-income";
|
|
10
11
|
export declare type AuditRuleEntityIdType = ReturnType<typeof toAuditRuleEntityIdType>;
|
|
12
|
+
export declare const toAuditRuleTypeIdType: (v: string) => "accounting" | "business";
|
|
13
|
+
declare type AuditRuleTypeIdType = ReturnType<typeof toAuditRuleTypeIdType>;
|
|
11
14
|
export declare const AUDIT_REPORT_ACTION_TYPES: readonly ["generate", "view"];
|
|
12
15
|
export declare const toAuditReportActionType: (v: string) => "view" | "generate";
|
|
13
16
|
export declare type AuditReportActionType = ReturnType<typeof toAuditReportActionType>;
|
|
@@ -21,16 +24,26 @@ export interface AuditRuleGroup extends AuditRuleGroupBase {
|
|
|
21
24
|
auditRuleCategory: string;
|
|
22
25
|
auditRuleGroupDescription: string;
|
|
23
26
|
auditRules: AuditRule[];
|
|
27
|
+
ruleType: AuditRuleTypeIdType;
|
|
24
28
|
sequence: number;
|
|
25
29
|
}
|
|
26
30
|
export interface AuditRule extends AuditRuleBase {
|
|
27
31
|
auditRuleDescription: string;
|
|
28
32
|
sequence: number;
|
|
29
33
|
}
|
|
34
|
+
export interface AuditRuleBypassReason {
|
|
35
|
+
userId: ID;
|
|
36
|
+
reasonToPass: string;
|
|
37
|
+
reasonStatus: string;
|
|
38
|
+
reasonCreatedAt: ZeniDate;
|
|
39
|
+
reasonUpdatedAt: ZeniDate;
|
|
40
|
+
}
|
|
30
41
|
export interface AuditReportRule extends AuditRuleBase {
|
|
31
42
|
isSuccess: boolean;
|
|
32
43
|
entityType: AuditRuleEntityType;
|
|
33
44
|
entityIds: AuditRuleEntityIdType[];
|
|
45
|
+
reason?: AuditRuleBypassReason;
|
|
46
|
+
reasonUpdateFetchState: FetchStateAndError;
|
|
34
47
|
message: string;
|
|
35
48
|
sequence: number;
|
|
36
49
|
}
|
|
@@ -71,3 +84,4 @@ export interface AuditReportViewState {
|
|
|
71
84
|
auditRuleGroupView: AuditRuleGroupViewState;
|
|
72
85
|
auditReportViewByCompanyId: Record<ID, AuditReportGroupViewState>;
|
|
73
86
|
}
|
|
87
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toAuditReportActionType = exports.AUDIT_REPORT_ACTION_TYPES = exports.toAuditRuleEntityIdType = exports.AUDIT_RULE_ENTITY_IDS = exports.toAuditRuleEntityType = exports.AUDIT_RULE_ENTITY_TYPES = void 0;
|
|
3
|
+
exports.toAuditReportActionType = exports.AUDIT_REPORT_ACTION_TYPES = exports.toAuditRuleTypeIdType = exports.toAuditRuleEntityIdType = exports.AUDIT_RULE_ENTITY_IDS = exports.toAuditRuleEntityType = exports.AUDIT_RULE_ENTITY_TYPES = void 0;
|
|
4
4
|
const stringToUnion_1 = require("../../commonStateTypes/stringToUnion");
|
|
5
5
|
const viewAndReport_1 = require("../../commonStateTypes/viewAndReport/viewAndReport");
|
|
6
6
|
exports.AUDIT_RULE_ENTITY_TYPES = [
|
|
@@ -17,6 +17,9 @@ exports.AUDIT_RULE_ENTITY_IDS = [
|
|
|
17
17
|
];
|
|
18
18
|
const toAuditRuleEntityIdType = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.AUDIT_RULE_ENTITY_IDS);
|
|
19
19
|
exports.toAuditRuleEntityIdType = toAuditRuleEntityIdType;
|
|
20
|
+
const AUDIT_RULE_TYPE_IDS = ['business', 'accounting'];
|
|
21
|
+
const toAuditRuleTypeIdType = (v) => (0, stringToUnion_1.stringToUnion)(v, AUDIT_RULE_TYPE_IDS);
|
|
22
|
+
exports.toAuditRuleTypeIdType = toAuditRuleTypeIdType;
|
|
20
23
|
exports.AUDIT_REPORT_ACTION_TYPES = ['generate', 'view'];
|
|
21
24
|
const toAuditReportActionType = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.AUDIT_REPORT_ACTION_TYPES);
|
|
22
25
|
exports.toAuditReportActionType = toAuditReportActionType;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { RootState } from '../../../reducer';
|
|
4
|
+
import { ZeniAPI } from '../../../zeniAPI';
|
|
5
|
+
import { saveReasonForAuditRule, saveReasonForAuditRuleOnSuccess, saveReasonForAuditRuleOnFailure } from '../auditReportViewReducer';
|
|
6
|
+
import { fetchReviewCompanyView } from '../../reviewCompanyView/reviewCompanyViewReducer';
|
|
7
|
+
export declare type ActionType = ReturnType<typeof saveReasonForAuditRule> | ReturnType<typeof saveReasonForAuditRuleOnFailure> | ReturnType<typeof saveReasonForAuditRuleOnSuccess> | ReturnType<typeof fetchReviewCompanyView>;
|
|
8
|
+
export declare const saveReasonForAuditRuleEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.saveReasonForAuditRuleEpic = void 0;
|
|
4
|
+
const rxjs_1 = require("rxjs");
|
|
5
|
+
const operators_1 = require("rxjs/operators");
|
|
6
|
+
const auditReportViewReducer_1 = require("../auditReportViewReducer");
|
|
7
|
+
const responsePayload_1 = require("../../../responsePayload");
|
|
8
|
+
const reviewCompanyViewReducer_1 = require("../../reviewCompanyView/reviewCompanyViewReducer");
|
|
9
|
+
const saveReasonForAuditRuleEpic = (actions$, state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(auditReportViewReducer_1.saveReasonForAuditRule.match), (0, operators_1.mergeMap)((action) => {
|
|
10
|
+
const { companyId, auditGroupId, auditRuleId, reasonToPass, reasonStatus } = action.payload;
|
|
11
|
+
const state = state$.value;
|
|
12
|
+
const company = state.companyState.companiesById[companyId];
|
|
13
|
+
const tenantId = company.companyInfo.tenantId;
|
|
14
|
+
const payload = {
|
|
15
|
+
reason_to_pass: reasonToPass,
|
|
16
|
+
reason_status: reasonStatus,
|
|
17
|
+
audit_rule_group_id: auditGroupId,
|
|
18
|
+
};
|
|
19
|
+
const query = { audit_rule_id: auditRuleId };
|
|
20
|
+
const url = `${zeniAPI.apiEndPoints.accountMicroServiceBaseUrl}/1.0/reports/audit/reasons?query=${encodeURIComponent(JSON.stringify(query))}`;
|
|
21
|
+
return zeniAPI
|
|
22
|
+
.putAndGetJSON(url, payload, {
|
|
23
|
+
'zeni-tenant-id': tenantId,
|
|
24
|
+
})
|
|
25
|
+
.pipe((0, operators_1.mergeMap)((response) => {
|
|
26
|
+
if ((0, responsePayload_1.isSuccessStatus)(response) && response.data != null) {
|
|
27
|
+
const actions = [
|
|
28
|
+
(0, auditReportViewReducer_1.saveReasonForAuditRuleOnSuccess)({
|
|
29
|
+
companyId,
|
|
30
|
+
auditGroupId,
|
|
31
|
+
auditRuleId,
|
|
32
|
+
reasonResponsePayload: response.data,
|
|
33
|
+
}),
|
|
34
|
+
];
|
|
35
|
+
if (reasonStatus === 'approved') {
|
|
36
|
+
actions.push((0, reviewCompanyViewReducer_1.fetchReviewCompanyView)(true, true));
|
|
37
|
+
}
|
|
38
|
+
return (0, rxjs_1.from)(actions);
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
return (0, rxjs_1.of)((0, auditReportViewReducer_1.saveReasonForAuditRuleOnFailure)(companyId, auditGroupId, auditRuleId, (0, responsePayload_1.createZeniAPIStatus)('Error', 'Invalid response status: ' + response.status)));
|
|
42
|
+
}
|
|
43
|
+
}), (0, operators_1.catchError)((error) => (0, rxjs_1.of)((0, auditReportViewReducer_1.saveReasonForAuditRuleOnFailure)(companyId, auditGroupId, auditRuleId, (0, responsePayload_1.createZeniAPIStatus)('Unexpected Error', 'Reason for audit rule REST API call failed: ' +
|
|
44
|
+
JSON.stringify(error))))));
|
|
45
|
+
}));
|
|
46
|
+
exports.saveReasonForAuditRuleEpic = saveReasonForAuditRuleEpic;
|
|
@@ -21,6 +21,7 @@ const toAuditSummary = (auditSummaryPayload) => {
|
|
|
21
21
|
fixesRequired: auditSummaryPayload.fixes_required,
|
|
22
22
|
totalChecks: auditSummaryPayload.total_checks,
|
|
23
23
|
auditScorePercentage: auditSummaryPayload.audit_score_percentage,
|
|
24
|
+
bypassedAuditScore: auditSummaryPayload.bypassed_audit_score,
|
|
24
25
|
auditReportLastGeneratedDate: auditSummaryPayload.audit_report_last_generated_date != null
|
|
25
26
|
? (0, zeniDayJS_1.date)(auditSummaryPayload.audit_report_last_generated_date)
|
|
26
27
|
: null,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "4.11.
|
|
3
|
+
"version": "4.11.76",
|
|
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
|
"types": "lib/index.d.ts",
|