@zeniai/client-epic-state 4.10.65 → 4.10.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
- package/lib/entity/snackbar/snackbarTypes.js +0 -1
- package/lib/entity/tenant/tenantSelector.js +4 -2
- package/lib/epic.d.ts +1 -2
- package/lib/epic.js +1 -2
- package/lib/index.d.ts +3 -4
- package/lib/index.js +3 -5
- package/lib/reducer.d.ts +0 -3
- package/lib/reducer.js +0 -3
- package/lib/view/companyHealthMetricView/companyHealthMetricViewSelector.js +20 -8
- package/lib/view/companyMonthEndReportView/companyMonthEndReportViewPayload.d.ts +0 -1
- package/lib/view/companyMonthEndReportView/companyMonthEndReportViewReducer.d.ts +1 -2
- package/lib/view/companyMonthEndReportView/companyMonthEndReportViewReducer.js +1 -14
- package/lib/view/companyMonthEndReportView/companyMonthEndReportViewSelector.d.ts +2 -8
- package/lib/view/companyMonthEndReportView/companyMonthEndReportViewSelector.js +3 -41
- package/lib/view/companyMonthEndReportView/companyMonthEndReportViewState.d.ts +0 -7
- package/lib/view/companyMonthEndReportView/companyMonthEndReportViewState.js +1 -2
- package/lib/view/people/changeZeniPersonRolesEpic.d.ts +1 -1
- package/lib/view/people/deletePersonEpic.d.ts +1 -1
- package/lib/view/people/invitePeopleEpic.d.ts +1 -1
- package/lib/view/people/inviteZeniPeopleEpic.d.ts +1 -1
- package/lib/view/people/resendInviteEpic.d.ts +1 -1
- package/lib/view/reviewCompanyView/fetchReviewCompanyViewEpic.d.ts +1 -2
- package/lib/view/reviewCompanyView/fetchReviewCompanyViewEpic.js +1 -9
- package/lib/view/reviewCompanyView/reviewCompanyViewReducer.d.ts +1 -2
- package/lib/view/reviewCompanyView/reviewCompanyViewReducer.js +2 -2
- package/lib/view/settingsView/epic/saveNotificationSettingsEpic.d.ts +1 -1
- package/lib/view/tagView/epics/createTagEpic.d.ts +1 -1
- package/lib/view/tagView/epics/deleteTagEpic.d.ts +1 -1
- package/package.json +1 -1
- package/lib/view/vendorTabView/fetchVendorTabViewEpic.d.ts +0 -9
- package/lib/view/vendorTabView/fetchVendorTabViewEpic.js +0 -53
- package/lib/view/vendorTabView/vendorTabViewReducer.d.ts +0 -15
- package/lib/view/vendorTabView/vendorTabViewReducer.js +0 -37
- package/lib/view/vendorTabView/vendorTabViewState.d.ts +0 -2
- package/lib/view/vendorTabView/vendorTabViewState.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const toSnackbarMessageSection: (v: string) => "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "
|
|
1
|
+
export declare const toSnackbarMessageSection: (v: string) => "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_setup" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "bill_pay_setup" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "zeni_account_accept_term" | "update_vendor" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "charge_card_setup" | "charge_card_accept_term" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "settings_accounting_accounts_updated";
|
|
2
2
|
export declare type SnackbarMessageSections = ReturnType<typeof toSnackbarMessageSection>;
|
|
3
3
|
export declare const toSnackbarMessageSectionTexts: (v: string) => "failed" | "success";
|
|
4
4
|
export declare type SnackbarMessageSectionTexts = ReturnType<typeof toSnackbarMessageSectionTexts>;
|
|
@@ -9,7 +9,6 @@ const ALL_SNACKBAR_MESSAGE_SECTIONS = [
|
|
|
9
9
|
'cockpit_month_end_email_sent',
|
|
10
10
|
'cockpit_month_end_email_save',
|
|
11
11
|
'cockpit_month_end_email_attachment_upload',
|
|
12
|
-
'audit_score_updated',
|
|
13
12
|
'people_invite_people',
|
|
14
13
|
'people_invite_multiple_people',
|
|
15
14
|
'people_delete_person',
|
|
@@ -243,7 +243,8 @@ const toTenantCoreDetailsView = (tenantsBaseView) => {
|
|
|
243
243
|
};
|
|
244
244
|
exports.toTenantCoreDetailsView = toTenantCoreDetailsView;
|
|
245
245
|
const isTenantBankingOnly = (tenant) => {
|
|
246
|
-
|
|
246
|
+
// if the tenants API takes time, tenant can be non null with productSettings as null
|
|
247
|
+
return tenant != null && tenant.productSettings != null
|
|
247
248
|
? tenant.productSettings.isBankingEnabled === true &&
|
|
248
249
|
tenant.productSettings.isBookkeepingEnabled === false &&
|
|
249
250
|
tenant.productSettings.isSpendManagementEnabled === false
|
|
@@ -251,7 +252,8 @@ const isTenantBankingOnly = (tenant) => {
|
|
|
251
252
|
};
|
|
252
253
|
exports.isTenantBankingOnly = isTenantBankingOnly;
|
|
253
254
|
const isTenantBookkeepingEnabled = (tenant) => {
|
|
254
|
-
|
|
255
|
+
// if the tenants API takes time, tenant can be non null with productSettings as null
|
|
256
|
+
return tenant != null && tenant.productSettings != null
|
|
255
257
|
? tenant.productSettings.isBookkeepingEnabled === true
|
|
256
258
|
: true;
|
|
257
259
|
};
|
package/lib/epic.d.ts
CHANGED
|
@@ -315,7 +315,6 @@ import { ActionType as FetchZeniAccountsConfigActionType } from './view/spendMan
|
|
|
315
315
|
import { ActionType as UpdateJESchedulesActionType } from './entity/jeSchedules/updateJESchedulesEpic';
|
|
316
316
|
import { ActionType as FetchSchedulesListActionType } from './view/scheduleView/scheduleListView/epics/fetchSchedulesAccountEpic';
|
|
317
317
|
import { ActionType as FetchScheduleListActionType } from './view/scheduleView/scheduleListView/epics/fetchScheduleListEpic';
|
|
318
|
-
import { ActionType as FetchVendorTabViewActionType } from './view/vendorTabView/fetchVendorTabViewEpic';
|
|
319
318
|
import { ActionType as FetchDownloadSchedulesActionType } from './view/scheduleView/scheduleListView/epics/fetchDownloadSchedulesEpic';
|
|
320
319
|
import { ActionType as FetchScheduleDetailsActionType } from './view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsEpic';
|
|
321
320
|
import { ActionType as InitializeScheduleDetailLocalDataActionType } from './view/scheduleView/scheduleDetailView/epics/initializeScheduleDetailLocalDataEpic';
|
|
@@ -361,6 +360,6 @@ import { ActionType as UpdateNotificationViewNotificationStatusActionType } from
|
|
|
361
360
|
import { ActionType as UpdateNotificationViewAllNotificationsStatusActionType } from './view/notificationView/epics/updateNotificationViewAllNotificationsStatusEpic';
|
|
362
361
|
import { ActionType as FetchCompanyTaskManagerViewActionType } from './view/companyTaskManagerView/epics/fetchCompanyTaskManagerViewEpic';
|
|
363
362
|
/** Root action type is union of all the epic action type */
|
|
364
|
-
export declare type RootActionType = AcceptBillPayTermsActionType | AcceptBillPayUpdatedTermsActionType | AcceptChargeCardTermsActionType | AcceptEmployeeRemiTermsActionType | AcceptRemiTermsActionType | AcceptZeniAccountTermsActionType | ApproveOrRejectBillActionType | ApproveOrRejectRemiActionType | ApproveVendorGlobalReviewActionType | ArchiveTaskActionType | BalanceSheetActionType | BalanceSheetForTimeframeActionType | CancelAndDeleteBillActionType | CancelAndDeleteRemiActionType | CardBalanceActionType | CashBalanceActionType | CashFlowActionType | CashFlowForTimeframeActionType | CashInCashOutActionType | CashPositionActionType | ChangeZeniPersonRolesActionType | CheckDepositActionType | ClearAllActionType | CombinedStatementActionType | CompanyManagementSavePendingUpdatesActionType | CompanyManagementSaveUpdatesActionType | CreateAddressActionType | CreateBankAccountActionType | CreateCheckingAccountActionType | CreateCompanyAddressActionType | CreateCompanyOfficersActionType | CreateCompanyUserAddressActionType | CreateGlobalMerchantActionType | CreateInternationalBankAccountActionType | CreateNewSchedulesActionType | CreatePaymentInstrumentActionType | CreateTagActionType | CreateUserBankAccountActionType | CurrencyConversionActionType | DeleteBankAccountActionType | DeleteBillActionType | DeleteBillPayApprovalRuleActionType | DeleteFileActionType | DeleteFileListActionType | DeleteInternationalBankAccountActionType | DeletePaymentInstrumentActionType | DeletePersonActionType | DeleteRemiActionType | DeleteRemiApprovalRuleActionType | DeleteScheduleDetailActionType | DeleteTagActionType | DeleteTaskActionType | DeleteUserBankAccountActionType | DepositAccountTransactionListActionType | EnableSetupActionType | EstablishOnboardingPlaidConnectionActionType | EstablishPlaidConnectionActionType | FetchAccountHistoryActionType | FetchAccountListActionType | FetchAccountListForAccountTypesActionType | FetchActiveTenantActionType | FetchAddressActionType | FetchAllCockpitViewsActionType | FetchAllPeopleRequiredActionType | FetchAllTagsActionType | FetchAllTenantsActionType | FetchApAgingActionType | FetchApAgingDetailActionType | FetchArAgingActionType | FetchArAgingDetailActionType | FetchAuditReportGroupViewActionType | FetchAuditRuleGroupViewActionType | FetchBankAccountsListActionType | FetchBankConnectionsViewActionType | FetchBankCountryNameByIbanActionType | FetchBankNameByRoutingActionType | FetchBankNameBySwiftActionType | FetchBillAndInitializeLocalStoreActionType | FetchBillDetailActionType | FetchBillListActionType | FetchBillListPerTabActionType | FetchBillPayApproversDetailsActionType | FetchBillPayApproversListActionType | FetchBillPayCardActionType | FetchBillPayConfigActionType | FetchBillPaySetupApproverViewActionType | FetchBillPaySetupViewActionType | 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 | 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 | 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 | RecommendationForAccountTypeActionType | RejectVendorGlobalReviewActionType | ResendInviteActionType | ResendOtpActionType | ResendReferralInviteActionType | ResetTransactionVendorLocalDataActionType | ResetVendorDetailLocalDataActionType | RetryBankAccountConnectionActionType | RetryBankAccountConnectionForOnboardingActionType | RevenueActionType | RevenueClassesViewActionType | RevenueForTimeframeClassesViewActionType | RevenueForTimeframeViewActionType | 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 | ToggleReportUIOptionForecastModeActionType | TopExActionType | TransferMoneyActionType | UnlinkPaymentAccountActionType | UpdateAddressActionType | UpdateAmountsInScheduleDetailActionType | UpdateBusinessVerificationDetailsActionType | UpdateChargeCardDetailActionType | UpdateCompanyDetailsActionType | UpdateCompanyOfficerActionType | UpdateCompanyPassportLocalStoreDataActionType | UpdateDepositAccountActionType | UpdateDynamicFormActionType | UpdateFileNameActionType | UpdateFilesMetadataActionType | UpdateJESchedulesActionType | UpdateMileageDetailsActionType | UpdateNetBurnOrIncomeStoryCardSettingsActionType | UpdateNotificationViewAllNotificationsStatusActionType | UpdateNotificationViewNotificationStatusActionType | UpdateOnboardingCustomerViewActionType | UpdateOnboardingCustomerViewCompleteStatusActionType | UpdateOnboardingCustomerViewLocalStoreDataActionType | UpdateOnboardingPaymentAccountLoginStatusActionType | UpdateOnboardingPaymentAccountStatusActionType | UpdatePaymentAccountActionType | UpdatePaymentAccountLoginStatusActionType | UpdatePaymentAccountStatusActionType | UpdatePrimaryContactActionType | UpdateRemiSetupViewLocalStoreDataActionType | UpdateReportUIOptionCOABalancesRangeActionType | UpdateReportUIOptionIsCompareModeActionType | UpdateReportUIOptionIsCompareModeOnActionType | UpdateReportUIOptionThisPeriodActionType | UpdateReportUIOptionTimeFrameActionType | UpdateSectionAccountsViewActionType | UpdateSectionClassesViewV2ActionType | UpdateSelectedVendorForCreateFlowActionType | UpdateSetupViewLocalStoreDataActionType | UpdateTransactionDetailActionType | UpdateTransactionOnUploadSuccessActionType | UpdateVendorContactActionType | VendorsTabFetchVendorActionType | VendorsTabFetchVendorDetailPageViewActionType | VendorsTabFetchVendorDetailsActionType | VendorsTabResetVendorDetailLocalDataActionType | VendorsTabSaveVendorActionType | VerifyOtpActionType | VerifyUserActionType | WiseRedirectActionType;
|
|
363
|
+
export declare type RootActionType = AcceptBillPayTermsActionType | AcceptBillPayUpdatedTermsActionType | AcceptChargeCardTermsActionType | AcceptEmployeeRemiTermsActionType | AcceptRemiTermsActionType | AcceptZeniAccountTermsActionType | ApproveOrRejectBillActionType | ApproveOrRejectRemiActionType | ApproveVendorGlobalReviewActionType | ArchiveTaskActionType | BalanceSheetActionType | BalanceSheetForTimeframeActionType | CancelAndDeleteBillActionType | CancelAndDeleteRemiActionType | CardBalanceActionType | CashBalanceActionType | CashFlowActionType | CashFlowForTimeframeActionType | CashInCashOutActionType | CashPositionActionType | ChangeZeniPersonRolesActionType | CheckDepositActionType | ClearAllActionType | CombinedStatementActionType | CompanyManagementSavePendingUpdatesActionType | CompanyManagementSaveUpdatesActionType | CreateAddressActionType | CreateBankAccountActionType | CreateCheckingAccountActionType | CreateCompanyAddressActionType | CreateCompanyOfficersActionType | CreateCompanyUserAddressActionType | CreateGlobalMerchantActionType | CreateInternationalBankAccountActionType | CreateNewSchedulesActionType | CreatePaymentInstrumentActionType | CreateTagActionType | CreateUserBankAccountActionType | CurrencyConversionActionType | DeleteBankAccountActionType | DeleteBillActionType | DeleteBillPayApprovalRuleActionType | DeleteFileActionType | DeleteFileListActionType | DeleteInternationalBankAccountActionType | DeletePaymentInstrumentActionType | DeletePersonActionType | DeleteRemiActionType | DeleteRemiApprovalRuleActionType | DeleteScheduleDetailActionType | DeleteTagActionType | DeleteTaskActionType | DeleteUserBankAccountActionType | DepositAccountTransactionListActionType | EnableSetupActionType | EstablishOnboardingPlaidConnectionActionType | EstablishPlaidConnectionActionType | FetchAccountHistoryActionType | FetchAccountListActionType | FetchAccountListForAccountTypesActionType | FetchActiveTenantActionType | FetchAddressActionType | FetchAllCockpitViewsActionType | FetchAllPeopleRequiredActionType | FetchAllTagsActionType | FetchAllTenantsActionType | FetchApAgingActionType | FetchApAgingDetailActionType | FetchArAgingActionType | FetchArAgingDetailActionType | FetchAuditReportGroupViewActionType | FetchAuditRuleGroupViewActionType | FetchBankAccountsListActionType | FetchBankConnectionsViewActionType | FetchBankCountryNameByIbanActionType | FetchBankNameByRoutingActionType | FetchBankNameBySwiftActionType | FetchBillAndInitializeLocalStoreActionType | FetchBillDetailActionType | FetchBillListActionType | FetchBillListPerTabActionType | FetchBillPayApproversDetailsActionType | FetchBillPayApproversListActionType | FetchBillPayCardActionType | FetchBillPayConfigActionType | FetchBillPaySetupApproverViewActionType | FetchBillPaySetupViewActionType | 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 | 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 | FetchVendorFirstReviewViewActionType | FetchVendorGlobalReviewViewActionType | FetchVendorTypeListActionType | FetchVendorsActionType | 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 | RecommendationForAccountTypeActionType | RejectVendorGlobalReviewActionType | ResendInviteActionType | ResendOtpActionType | ResendReferralInviteActionType | ResetTransactionVendorLocalDataActionType | ResetVendorDetailLocalDataActionType | RetryBankAccountConnectionActionType | RetryBankAccountConnectionForOnboardingActionType | RevenueActionType | RevenueClassesViewActionType | RevenueForTimeframeClassesViewActionType | RevenueForTimeframeViewActionType | 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 | ToggleReportUIOptionForecastModeActionType | TopExActionType | TransferMoneyActionType | UnlinkPaymentAccountActionType | UpdateAddressActionType | UpdateAmountsInScheduleDetailActionType | UpdateBusinessVerificationDetailsActionType | UpdateChargeCardDetailActionType | UpdateCompanyDetailsActionType | UpdateCompanyOfficerActionType | UpdateCompanyPassportLocalStoreDataActionType | UpdateDepositAccountActionType | UpdateDynamicFormActionType | UpdateFileNameActionType | UpdateFilesMetadataActionType | UpdateJESchedulesActionType | UpdateMileageDetailsActionType | UpdateNetBurnOrIncomeStoryCardSettingsActionType | UpdateNotificationViewAllNotificationsStatusActionType | UpdateNotificationViewNotificationStatusActionType | UpdateOnboardingCustomerViewActionType | UpdateOnboardingCustomerViewCompleteStatusActionType | UpdateOnboardingCustomerViewLocalStoreDataActionType | UpdateOnboardingPaymentAccountLoginStatusActionType | UpdateOnboardingPaymentAccountStatusActionType | UpdatePaymentAccountActionType | UpdatePaymentAccountLoginStatusActionType | UpdatePaymentAccountStatusActionType | UpdatePrimaryContactActionType | UpdateRemiSetupViewLocalStoreDataActionType | UpdateReportUIOptionCOABalancesRangeActionType | UpdateReportUIOptionIsCompareModeActionType | UpdateReportUIOptionIsCompareModeOnActionType | UpdateReportUIOptionThisPeriodActionType | UpdateReportUIOptionTimeFrameActionType | UpdateSectionAccountsViewActionType | UpdateSectionClassesViewV2ActionType | UpdateSelectedVendorForCreateFlowActionType | UpdateSetupViewLocalStoreDataActionType | UpdateTransactionDetailActionType | UpdateTransactionOnUploadSuccessActionType | UpdateVendorContactActionType | VendorsTabFetchVendorActionType | VendorsTabFetchVendorDetailPageViewActionType | VendorsTabFetchVendorDetailsActionType | VendorsTabResetVendorDetailLocalDataActionType | VendorsTabSaveVendorActionType | VerifyOtpActionType | VerifyUserActionType | WiseRedirectActionType;
|
|
365
364
|
declare const rootEpic: Epic<RootActionType>;
|
|
366
365
|
export default rootEpic;
|
package/lib/epic.js
CHANGED
|
@@ -322,7 +322,6 @@ const fetchZeniAccountsConfigEpic_1 = require("./view/spendManagement/zeniAccoun
|
|
|
322
322
|
const updateJESchedulesEpic_1 = require("./entity/jeSchedules/updateJESchedulesEpic");
|
|
323
323
|
const fetchSchedulesAccountEpic_1 = require("./view/scheduleView/scheduleListView/epics/fetchSchedulesAccountEpic");
|
|
324
324
|
const fetchScheduleListEpic_1 = require("./view/scheduleView/scheduleListView/epics/fetchScheduleListEpic");
|
|
325
|
-
const fetchVendorTabViewEpic_1 = require("./view/vendorTabView/fetchVendorTabViewEpic");
|
|
326
325
|
const fetchDownloadSchedulesEpic_1 = require("./view/scheduleView/scheduleListView/epics/fetchDownloadSchedulesEpic");
|
|
327
326
|
const fetchScheduleDetailsEpic_1 = require("./view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsEpic");
|
|
328
327
|
const initializeScheduleDetailLocalDataEpic_1 = require("./view/scheduleView/scheduleDetailView/epics/initializeScheduleDetailLocalDataEpic");
|
|
@@ -368,7 +367,7 @@ const updateNotificationViewNotificationStatusEpic_1 = require("./view/notificat
|
|
|
368
367
|
const updateNotificationViewAllNotificationsStatusEpic_1 = require("./view/notificationView/epics/updateNotificationViewAllNotificationsStatusEpic");
|
|
369
368
|
const fetchCompanyTaskManagerViewEpic_1 = require("./view/companyTaskManagerView/epics/fetchCompanyTaskManagerViewEpic");
|
|
370
369
|
// Note: Please maintain strict alphabetical order
|
|
371
|
-
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, approveOrRejectBillEpic_1.approveOrRejectBillEpic, approveOrRejectRemiEpic_1.approveOrRejectRemiEpic, approveVendorGlobalReviewEpic_1.approveVendorGlobalReviewEpic, archiveTaskEpic_1.archiveTaskEpic, cancelAndDeleteBillEpic_1.cancelAndDeleteBillEpic, cancelAndDeleteRemiEpic_1.cancelAndDeleteRemiEpic, changeZeniPersonRolesEpic_1.changeZeniPersonRolesEpic, checkDepositEpic_1.checkDepositEpic, clearAllEpic_1.clearAllEpic, companyManagementSavePendingUpdates_1.companyManagementSavePendingUpdatesEpic, companyManagementSaveUpdatesEpic_1.companyManagementSaveUpdatesEpic, convertAmountToHomeCurrencyEpic_1.convertAmountToHomeCurrencyEpic, createAddressEpic_1.createAddressEpic, createBankAccountEpic_1.createBankAccountEpic, createCheckingAccountEpic_1.createCheckingAccountEpic, createCompanyAddressEpic_1.createCompanyAddressEpic, createCompanyOfficersEpic_1.createCompanyOfficersEpic, createCompanyUserAddressEpic_1.createCompanyUserAddressEpic, createGlobalMerchantEpic_1.createGlobalMerchantEpic, createInternationalBankAccountEpic_1.createInternationalBankAccountEpic, createNewSchedulesEpic_1.createNewSchedulesEpic, 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, deleteUserBankAccountEpic_1.deleteUserBankAccountEpic, signInUserEpic_1.doSignInEpic, signOutUserEpic_1.doSignOutEpic, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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);
|
|
370
|
+
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, approveOrRejectBillEpic_1.approveOrRejectBillEpic, approveOrRejectRemiEpic_1.approveOrRejectRemiEpic, approveVendorGlobalReviewEpic_1.approveVendorGlobalReviewEpic, archiveTaskEpic_1.archiveTaskEpic, cancelAndDeleteBillEpic_1.cancelAndDeleteBillEpic, cancelAndDeleteRemiEpic_1.cancelAndDeleteRemiEpic, changeZeniPersonRolesEpic_1.changeZeniPersonRolesEpic, checkDepositEpic_1.checkDepositEpic, clearAllEpic_1.clearAllEpic, companyManagementSavePendingUpdates_1.companyManagementSavePendingUpdatesEpic, companyManagementSaveUpdatesEpic_1.companyManagementSaveUpdatesEpic, convertAmountToHomeCurrencyEpic_1.convertAmountToHomeCurrencyEpic, createAddressEpic_1.createAddressEpic, createBankAccountEpic_1.createBankAccountEpic, createCheckingAccountEpic_1.createCheckingAccountEpic, createCompanyAddressEpic_1.createCompanyAddressEpic, createCompanyOfficersEpic_1.createCompanyOfficersEpic, createCompanyUserAddressEpic_1.createCompanyUserAddressEpic, createGlobalMerchantEpic_1.createGlobalMerchantEpic, createInternationalBankAccountEpic_1.createInternationalBankAccountEpic, createNewSchedulesEpic_1.createNewSchedulesEpic, 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, deleteUserBankAccountEpic_1.deleteUserBankAccountEpic, signInUserEpic_1.doSignInEpic, signOutUserEpic_1.doSignOutEpic, 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, 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, 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, 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, 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, fetchVendorFirstReviewViewEpic_1.fetchVendorFirstReviewViewEpic, fetchVendorGlobalReviewViewEpic_1.fetchVendorGlobalReviewViewEpic, vendorTypeListEpic_1.fetchVendorTypeListEpic, vendorTypeListEpic_1.fetchVendorTypeListEpic, fetchVendorsListEpic_1.fetchVendorsListEpic, fetchVendorsTabVendorDetailPageViewEpic_1.fetchVendorsTabVendorDetailPageViewEpic, fetchVendorsTabVendorDetailsEpic_1.fetchVendorsTabVendorDetailsEpic, fetchVendorsTabVendorEpic_1.fetchVendorsTabVendorEpic, 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, 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, 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, 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, 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, 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, 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);
|
|
372
371
|
const rootEpic = (action$, store$, dependencies) => combinedEpics(action$, store$, dependencies).pipe((0, operators_1.map)(rxjs_1.identity), (0, operators_1.catchError)((error, source) => {
|
|
373
372
|
console.error(error);
|
|
374
373
|
return source;
|
package/lib/index.d.ts
CHANGED
|
@@ -295,8 +295,8 @@ import { AllCockpitTabsView, getAllCockpitTabsFilterView } from './view/companyV
|
|
|
295
295
|
export { AllCockpitTabsView, getAllCockpitTabsFilterView };
|
|
296
296
|
import { fetchImproveUsingZeniGPT, fetchCompanyMonthEndReportView, sendCompanyMonthEndReport, saveCompanyMonthEndReport, resetCompanyMonthEndReportFetchStatus, fetchCompanyMonthEndReportHistoricDates, fetchCompanyMonthEndReportHistoricData, fetchCompanyMonthEndReportTemplates } from './view/companyMonthEndReportView/companyMonthEndReportViewReducer';
|
|
297
297
|
import { getCompanyMonthEndReportSelectorView, CompanyMonthEndReportSelectorView, getCompanyMonthEndReportHistoricData, CompanyMonthEndReportHistoricDataSelectorView } from './view/companyMonthEndReportView/companyMonthEndReportViewSelector';
|
|
298
|
-
import { CompanyMonthEndReportData, TemplatesList, CompanyMonthReportTemplates
|
|
299
|
-
export {
|
|
298
|
+
import { CompanyMonthEndReportData, TemplatesList, CompanyMonthReportTemplates } from './view/companyMonthEndReportView/companyMonthEndReportViewState';
|
|
299
|
+
export { fetchImproveUsingZeniGPT, fetchCompanyMonthEndReportView, sendCompanyMonthEndReport, saveCompanyMonthEndReport, resetCompanyMonthEndReportFetchStatus, getCompanyMonthEndReportSelectorView, CompanyMonthEndReportSelectorView, fetchCompanyMonthEndReportHistoricDates, fetchCompanyMonthEndReportHistoricData, fetchCompanyMonthEndReportTemplates, getCompanyMonthEndReportHistoricData, CompanyMonthEndReportHistoricDataSelectorView, CompanyMonthEndReportData, TemplatesList, CompanyMonthReportTemplates, };
|
|
300
300
|
import { Runway, AccountingSummary } from './entity/portfolio/accountingSummary/accountingSummaryState';
|
|
301
301
|
export { Runway, AccountingSummary };
|
|
302
302
|
import { AddressUpdatableInfo, AddressType, NewAddressData } from './view/addressView/addressViewState';
|
|
@@ -604,14 +604,13 @@ import { getDefaultSelectedTimeframeForScheduleType } from './view/scheduleView/
|
|
|
604
604
|
import { ScheduleListLocalData } from './view/scheduleView/scheduleListView/scheduleListState';
|
|
605
605
|
import { ScheduleSubTabType, ScheduleListSortKey, toScheduleSubTabType, DownloadJEScheduleTabOptions, ScheduleListTabsFileType, toScheduleListTabsFileTypeStrict } from './view/scheduleView/scheduleListView/scheduleListTypes';
|
|
606
606
|
import { fetchScheduleList, fetchSchedulesAccount, updateScheduleListLocalData, updateScheduleListSearchText, updateScheduleListSubTab, updateScheduleListScrollState, updateScheduleListSortState, updateScheduleListDownloadState, fetchDownloadSchedules } from './view/scheduleView/scheduleListView/scheduleListReducer';
|
|
607
|
-
import { fetchVendorTabView } from './view/vendorTabView/vendorTabViewReducer';
|
|
608
607
|
import { ScheduleListReport, getScheduleListReport, getFetchStateForScheduleAccountList, JEScheduledTransactionWithBalance, getFetchStateForScheduleListByType } from './view/scheduleView/scheduleListView/scheduleListSelector';
|
|
609
608
|
import { ScheduleDetailsView, getScheduleDetailsView } from './view/scheduleView/scheduleDetailView/scheduleDetailSelector';
|
|
610
609
|
import { JELinkType, JEScheduleDetailsLocalData, JETransactionLink, ScheduleDetailsLocalData, ScheduleDetailUIState, ScheduleDetailsLocalDataFixedAssets } from './view/scheduleView/scheduleDetailView/scheduleDetailState';
|
|
611
610
|
import { ScheduleDetailSortKey } from './view/scheduleView/scheduleDetailView/scheduleDetailTypes';
|
|
612
611
|
import { createNewSchedules, fetchScheduleDetails, fetchScheduleDetailsPage, saveScheduleDetails, deleteScheduleDetail, updateSelectedJEScheduleKey, updateScheduleDetailsLocalData, updatedSelectedJELinkRowIndex, updatedJELinkInLocalData, updateAmountsInScheduleDetail, resetJELinkInLocalData, updatedJELinkWithRecommendedLocalData, markAsCompleteScheduleDetail, resetMarkAsCompleteStatus } from './view/scheduleView/scheduleDetailView/scheduleDetailReducer';
|
|
613
612
|
import { getQBOUrlForLink, getThirdPartyIDFromQBOURL } from './view/scheduleView/scheduleDetailView/scheduleDetailLocalDataHelper';
|
|
614
|
-
export { JEScheduleKey, ALL_SCHEDULES_TYPES, JEScheduledTransaction, ScheduleTypes, ScheduleJournalEntryStatusCodeType, ScheduleListReport, getScheduleListReport, ScheduleSubTabType, ScheduleListSortKey, fetchScheduleList, fetchDownloadSchedules, fetchSchedulesAccount, updateScheduleListLocalData, getFetchStateForScheduleAccountList, toScheduleTypesType, toScheduleTypesTypeStrict, toScheduleListTabsFileTypeStrict, ScheduleListLocalData, ScheduleDetailsLocalDataFixedAssets, ScheduleDetailsView, JEScheduleDetailsLocalData, ScheduleDetailsLocalData, toScheduleSubTabType, ScheduleStatusCodeType, ScheduleTransaction, updateScheduleListSubTab, updateScheduleListSearchText, updateScheduleListScrollState, updateScheduleListSortState, ScheduleDetailSortKey, ScheduledJournalEntry, updateSelectedJEScheduleKey, fetchScheduleDetails, getScheduleDetailsView, fetchScheduleDetailsPage, saveScheduleDetails, deleteScheduleDetail, createNewSchedules, updateScheduleDetailsLocalData, JETransactionLink, updateScheduleListDownloadState, DownloadJEScheduleTabOptions, updatedSelectedJELinkRowIndex, ScheduleListTabsFileType, getQBOUrlForLink, getThirdPartyIDFromQBOURL, updatedJELinkInLocalData, updateAmountsInScheduleDetail, ScheduleDetailUIState, resetJELinkInLocalData, JEScheduledTransactionWithBalance, JELinkType, updatedJELinkWithRecommendedLocalData, getFetchStateForScheduleListByType, getDefaultSelectedTimeframeForScheduleType, markAsCompleteScheduleDetail, resetMarkAsCompleteStatus,
|
|
613
|
+
export { JEScheduleKey, ALL_SCHEDULES_TYPES, JEScheduledTransaction, ScheduleTypes, ScheduleJournalEntryStatusCodeType, ScheduleListReport, getScheduleListReport, ScheduleSubTabType, ScheduleListSortKey, fetchScheduleList, fetchDownloadSchedules, fetchSchedulesAccount, updateScheduleListLocalData, getFetchStateForScheduleAccountList, toScheduleTypesType, toScheduleTypesTypeStrict, toScheduleListTabsFileTypeStrict, ScheduleListLocalData, ScheduleDetailsLocalDataFixedAssets, ScheduleDetailsView, JEScheduleDetailsLocalData, ScheduleDetailsLocalData, toScheduleSubTabType, ScheduleStatusCodeType, ScheduleTransaction, updateScheduleListSubTab, updateScheduleListSearchText, updateScheduleListScrollState, updateScheduleListSortState, ScheduleDetailSortKey, ScheduledJournalEntry, updateSelectedJEScheduleKey, fetchScheduleDetails, getScheduleDetailsView, fetchScheduleDetailsPage, saveScheduleDetails, deleteScheduleDetail, createNewSchedules, updateScheduleDetailsLocalData, JETransactionLink, updateScheduleListDownloadState, DownloadJEScheduleTabOptions, updatedSelectedJELinkRowIndex, ScheduleListTabsFileType, getQBOUrlForLink, getThirdPartyIDFromQBOURL, updatedJELinkInLocalData, updateAmountsInScheduleDetail, ScheduleDetailUIState, resetJELinkInLocalData, JEScheduledTransactionWithBalance, JELinkType, updatedJELinkWithRecommendedLocalData, getFetchStateForScheduleListByType, getDefaultSelectedTimeframeForScheduleType, markAsCompleteScheduleDetail, resetMarkAsCompleteStatus, };
|
|
615
614
|
import { GlobalMerchant, GlobalMerchantBase, TenantMerchant } from './entity/globalMerchant/globalMerchantState';
|
|
616
615
|
export { GlobalMerchant, GlobalMerchantBase, TenantMerchant };
|
|
617
616
|
import { ReviewStatus, VendorReviewRecommendationViewState, VendorReviewRowCurrentSelection } from './view/vendorReviewView/common/state/commonTypes';
|
package/lib/index.js
CHANGED
|
@@ -45,9 +45,9 @@ exports.getVendorList = exports.LOCAL_CURRENCY_INTERNATIONAL_METHOD_SUBTEXT = ex
|
|
|
45
45
|
exports.fetchCompanyConfig = exports.clearTransactionVendorSaveStatus = exports.resetTransactionVendorLocalData = exports.updateTransactionVendorLocalData = exports.saveTransactionVendorSuccessOrFailure = exports.saveTransactionVendor = exports.getTransactionVendorView = exports.getZeniAccStatements = exports.fetchZeniAccStatementPage = exports.getDepositAccountTransactionList = exports.fetchDepositAccountTransactionList = exports.fetchDepositAccountHistoryFailure = exports.fetchDepositAccountHistorySuccess = exports.updateDepositAccount = exports.getCheckDepositDetail = exports.clearCheckDeposit = exports.updateCheckDepositLocalData = exports.depositCheck = exports.ZENI_ACCOUNTS_TAB = exports.fetchDepositAccountDetail = exports.fetchReviewTransferDetail = exports.clearReviewTransferDetail = exports.clearTransferDetail = exports.getTransferDetail = exports.transferMoney = exports.updateDepositToLocalData = exports.updateTransferToLocalData = exports.updateTransferMoneyLocalData = exports.fetchZeniAccountsConfig = exports.fetchDepositAccount = exports.getDepositAccountDetailForPDF = exports.getAllDepostAccounts = exports.getDepositAccountDetail = exports.unlinkPaymentAccount = exports.fetchPaymentAccountList = exports.createCheckingAccount = exports.updateZeniAccountListTab = exports.fetchZeniAccountList = exports.getZeniAccountList = exports.getZeniAccountsConfigDetail = exports.fetchOwnerList = exports.fetchRecommendationByEntityName = exports.fetchRecommendationByEntityId = exports.fetchEntityRecommendationsByTransactionId = exports.toVendorReportIDType = exports.isVendorsTabVisible = exports.isColumnYTDSpend = exports.updateYTDSelectionUIState = exports.updatePageToken = exports.updateSortUiState = void 0;
|
|
46
46
|
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 = exports.updateOnboardingCustomerViewUIState = exports.updateCurrentStep = exports.updateOnboardingCustomerViewLocalStoreData = exports.updateOnboardingCustomerView = exports.updateOnboardingPaymentAccountStatus = exports.updateOnboardingPaymentAccountLoginStatus = exports.updateOnboardingCustomerViewCompleteStatus = exports.updateOnboardingCustomerViewAccountDetails = exports.establishOnboardingPlaidConnection = exports.getOnboardingPlaidLinkToken = exports.fetchOnboardingCustomerSetupView = exports.fetchOnboardingCustomerView = exports.isZeniClearingAccount = exports.ZENI_CLEARING_ACCOUNT = exports.isZeniClearingAccountReport = exports.getCompanyConfig = void 0;
|
|
47
47
|
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.updateChargeCardListUIState = exports.updateChargeCardListSearchText = exports.resetIssueChargeCardForm = exports.updateChargeCardLocalStore = exports.issueChargeCard = exports.acceptChargeCardTerms = exports.fetchChargeCardSetupView = exports.getChargeCardSetupViewDetails = exports.toCreditLimitFrequencyCodeType = exports.toChargeCardSortKeyType = exports.fetchChargeCardTransactionList = exports.getChargeCardDetailView = exports.fetchChargeCardDetailPage = exports.getChargeCardListView = exports.fetchChargeCardListPage = 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 = void 0;
|
|
48
|
-
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.fetchVendorFirstReviewView = exports.getVendorFirstReviewView = exports.getGlobalMerchantAutoCompleteResults = exports.toVendorFirstReviewViewColumnKeyType = exports.
|
|
49
|
-
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 = exports.getAuthenticationView = exports.fetchCollaborationAuthToken = exports.clearAuditReportGroupViewByCompanyId = exports.fetchAuditReportGroupView = exports.fetchAuditRuleGroupView = exports.getAuditRuleGroupViewSelectorView = exports.getAuditReportGroupViewSelectorView = exports.deleteTag = exports.createTag = exports.fetchTagList = exports.getAllTags = exports.discardTaskUpdatesInLocalStore = exports.deleteTask = 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 = exports.fetchTaskListPage = exports.getAllTasks = exports.toRecurringBillFrequencyStrict = exports.toRecurringBillFrequency = exports.updateArAgingNodeCollapseState = exports.getArAgingDetailForCustomer = exports.getArAgingReport = exports.updateArAgingDetailUIState = exports.fetchArAgingDetail = exports.updateArAgingUIState =
|
|
50
|
-
exports.getCompanyTaskManagerView = exports.fetchCompanyTaskManagerView = exports.getMinAllowedEndDate = exports.toRecurringFrequency = exports.getRecurringEndDateFromCount = 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.getNotificationsForSelectedSubTab = exports.getExternalNotificationsForSelectedSubTab = exports.getNotificationView =
|
|
48
|
+
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.fetchVendorFirstReviewView = exports.getVendorFirstReviewView = exports.getGlobalMerchantAutoCompleteResults = exports.toVendorFirstReviewViewColumnKeyType = exports.resetMarkAsCompleteStatus = exports.markAsCompleteScheduleDetail = exports.getDefaultSelectedTimeframeForScheduleType = exports.getFetchStateForScheduleListByType = exports.updatedJELinkWithRecommendedLocalData = exports.resetJELinkInLocalData = exports.updateAmountsInScheduleDetail = exports.updatedJELinkInLocalData = exports.getThirdPartyIDFromQBOURL = exports.getQBOUrlForLink = 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 = void 0;
|
|
49
|
+
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 = exports.getAuthenticationView = exports.fetchCollaborationAuthToken = exports.clearAuditReportGroupViewByCompanyId = exports.fetchAuditReportGroupView = exports.fetchAuditRuleGroupView = exports.getAuditRuleGroupViewSelectorView = exports.getAuditReportGroupViewSelectorView = exports.deleteTag = exports.createTag = exports.fetchTagList = exports.getAllTags = exports.discardTaskUpdatesInLocalStore = exports.deleteTask = 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 = exports.fetchTaskListPage = exports.getAllTasks = exports.toRecurringBillFrequencyStrict = exports.toRecurringBillFrequency = exports.updateArAgingNodeCollapseState = exports.getArAgingDetailForCustomer = exports.getArAgingReport = exports.updateArAgingDetailUIState = exports.fetchArAgingDetail = exports.updateArAgingUIState = void 0;
|
|
50
|
+
exports.getCompanyTaskManagerView = exports.fetchCompanyTaskManagerView = exports.getMinAllowedEndDate = exports.toRecurringFrequency = exports.getRecurringEndDateFromCount = 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.getNotificationsForSelectedSubTab = exports.getExternalNotificationsForSelectedSubTab = exports.getNotificationView = void 0;
|
|
51
51
|
const zeniDayJS_1 = require("./zeniDayJS");
|
|
52
52
|
Object.defineProperty(exports, "Dayjs", { enumerable: true, get: function () { return zeniDayJS_1.Dayjs; } });
|
|
53
53
|
Object.defineProperty(exports, "updateZeniDateLocaleID", { enumerable: true, get: function () { return zeniDayJS_1.updateZeniDateLocaleID; } });
|
|
@@ -1277,8 +1277,6 @@ Object.defineProperty(exports, "updateScheduleListScrollState", { enumerable: tr
|
|
|
1277
1277
|
Object.defineProperty(exports, "updateScheduleListSortState", { enumerable: true, get: function () { return scheduleListReducer_1.updateScheduleListSortState; } });
|
|
1278
1278
|
Object.defineProperty(exports, "updateScheduleListDownloadState", { enumerable: true, get: function () { return scheduleListReducer_1.updateScheduleListDownloadState; } });
|
|
1279
1279
|
Object.defineProperty(exports, "fetchDownloadSchedules", { enumerable: true, get: function () { return scheduleListReducer_1.fetchDownloadSchedules; } });
|
|
1280
|
-
const vendorTabViewReducer_1 = require("./view/vendorTabView/vendorTabViewReducer");
|
|
1281
|
-
Object.defineProperty(exports, "fetchVendorTabView", { enumerable: true, get: function () { return vendorTabViewReducer_1.fetchVendorTabView; } });
|
|
1282
1280
|
const scheduleListSelector_1 = require("./view/scheduleView/scheduleListView/scheduleListSelector");
|
|
1283
1281
|
Object.defineProperty(exports, "getScheduleListReport", { enumerable: true, get: function () { return scheduleListSelector_1.getScheduleListReport; } });
|
|
1284
1282
|
Object.defineProperty(exports, "getFetchStateForScheduleAccountList", { enumerable: true, get: function () { return scheduleListSelector_1.getFetchStateForScheduleAccountList; } });
|
package/lib/reducer.d.ts
CHANGED
|
@@ -160,7 +160,6 @@ import { ZeniAccountsPromoCardState } from './view/zeniAccountsPromoCard/zeniAcc
|
|
|
160
160
|
import { ReferralViewState } from './view/referralView/referralState';
|
|
161
161
|
import { NotificationState } from './entity/notification/notificationState';
|
|
162
162
|
import { NotificationViewState } from './view/notificationView/notificationViewState';
|
|
163
|
-
import { VendorTabViewState } from './view/vendorTabView/vendorTabViewState';
|
|
164
163
|
import { CompanyTaskManagerViewState } from './view/companyTaskManagerView/companyTaskManagerViewState';
|
|
165
164
|
declare type EntitiesState = {
|
|
166
165
|
accountGroupState: AccountGroupState;
|
|
@@ -321,7 +320,6 @@ declare type ViewsState = {
|
|
|
321
320
|
vendorGlobalReviewViewState: VendorGlobalReviewViewState;
|
|
322
321
|
vendorListState: VendorListState;
|
|
323
322
|
vendorsTabVendorViewState: VendorsTabVendorViewState;
|
|
324
|
-
vendorTabViewState: VendorTabViewState;
|
|
325
323
|
vendorTypeListState: VendorTypeListState;
|
|
326
324
|
vendorViewState: VendorViewState;
|
|
327
325
|
wiseRedirectState: WiseRedirectState;
|
|
@@ -437,7 +435,6 @@ declare const reducers: import("redux").Reducer<import("redux").CombinedState<{
|
|
|
437
435
|
vendorGlobalReviewViewState: VendorGlobalReviewViewState;
|
|
438
436
|
vendorListState: VendorListState;
|
|
439
437
|
vendorsTabVendorViewState: VendorsTabVendorViewState;
|
|
440
|
-
vendorTabViewState: import(".").FetchedState;
|
|
441
438
|
vendorTypeListState: VendorTypeListState;
|
|
442
439
|
vendorViewState: VendorViewState;
|
|
443
440
|
wiseRedirectState: WiseRedirectState;
|
package/lib/reducer.js
CHANGED
|
@@ -191,7 +191,6 @@ const zeniAccountsPromoCardReducer_1 = __importStar(require("./view/zeniAccounts
|
|
|
191
191
|
const referralReducer_1 = __importStar(require("./view/referralView/referralReducer"));
|
|
192
192
|
const notificationReducer_1 = __importStar(require("./entity/notification/notificationReducer"));
|
|
193
193
|
const notificationViewReducer_1 = __importStar(require("./view/notificationView/notificationViewReducer"));
|
|
194
|
-
const vendorTabViewReducer_1 = __importStar(require("./view/vendorTabView/vendorTabViewReducer"));
|
|
195
194
|
const companyTaskManagerViewReducer_1 = __importStar(require("./view/companyTaskManagerView/companyTaskManagerViewReducer"));
|
|
196
195
|
// Note: Please maintain strict alphabetical order
|
|
197
196
|
const initialEntitiesState = {
|
|
@@ -354,7 +353,6 @@ const initialViewsState = {
|
|
|
354
353
|
vendorGlobalReviewViewState: vendorGlobalReviewViewReducer_1.initialState,
|
|
355
354
|
vendorListState: vendorListReducer_1.initialState,
|
|
356
355
|
vendorsTabVendorViewState: vendorsTabVendorViewReducer_1.initialState,
|
|
357
|
-
vendorTabViewState: vendorTabViewReducer_1.initialState,
|
|
358
356
|
vendorTypeListState: vendorTypeListReducer_1.initialState,
|
|
359
357
|
vendorViewState: vendorViewReducer_1.initialState,
|
|
360
358
|
wiseRedirectState: wiseRedirectReducer_1.initialState,
|
|
@@ -527,7 +525,6 @@ const viewReducers = {
|
|
|
527
525
|
vendorGlobalReviewViewState: vendorGlobalReviewViewReducer_1.default,
|
|
528
526
|
vendorListState: vendorListReducer_1.default,
|
|
529
527
|
vendorsTabVendorViewState: vendorsTabVendorViewReducer_1.default,
|
|
530
|
-
vendorTabViewState: vendorTabViewReducer_1.default,
|
|
531
528
|
vendorTypeListState: vendorTypeListReducer_1.default,
|
|
532
529
|
vendorViewState: vendorViewReducer_1.default,
|
|
533
530
|
wiseRedirectState: wiseRedirectReducer_1.default,
|
|
@@ -50,7 +50,7 @@ exports.companyHealthMetricDropDownOptions = [
|
|
|
50
50
|
{ label: 'Very High', value: 'very_high' },
|
|
51
51
|
];
|
|
52
52
|
const getCompanyHealthMetricView = (state) => {
|
|
53
|
-
const { companyHealthMetricViewState, companyHealthMetricState, companyState, userState, } = state;
|
|
53
|
+
const { companyViewState, companyHealthMetricViewState, companyHealthMetricState, companyState, userState, } = state;
|
|
54
54
|
const { companyIds, companyHealthMetricUpdateStatusById, uiState, selectedCompanyId, } = companyHealthMetricViewState;
|
|
55
55
|
const { sortKey, sortOrder, filterText, filters } = uiState;
|
|
56
56
|
const companies = (0, companySelector_1.getCompanyByCompanyIds)(companyState, companyIds).map((company) => company.company);
|
|
@@ -60,8 +60,10 @@ const getCompanyHealthMetricView = (state) => {
|
|
|
60
60
|
if (selectedCompanyId != null) {
|
|
61
61
|
selectedCompanyDetail = companyDetailWithHealthMetric.find((company) => company.companyInfo.companyId === selectedCompanyId);
|
|
62
62
|
}
|
|
63
|
-
companyDetailWithHealthMetric = sortAndFilterCompanies(sortKey, sortOrder, filterText, filters, companyDetailWithHealthMetric);
|
|
64
|
-
const zeniUsers =
|
|
63
|
+
companyDetailWithHealthMetric = sortAndFilterCompanies(sortKey, sortOrder, filterText, filters, companyDetailWithHealthMetric, userState);
|
|
64
|
+
const zeniUsers = companyViewState.zeniUsers.ids
|
|
65
|
+
.map((userId) => (0, userSelector_1.getUserByUserId)(userState, userId))
|
|
66
|
+
.filter((value) => value != null);
|
|
65
67
|
const orderedZeniUsers = (0, orderBy_1.default)(zeniUsers, (user) => (0, userSelector_1.getUserName)(user), 'asc');
|
|
66
68
|
return {
|
|
67
69
|
uiState: uiState,
|
|
@@ -239,7 +241,7 @@ const applyAdvancedFiltersOnCompaniesList = (allCompanies, filters, filteredComp
|
|
|
239
241
|
? companiesWithCurrentFilter
|
|
240
242
|
: filteredCompanies, index + 1);
|
|
241
243
|
};
|
|
242
|
-
const sortAndFilterCompanies = (sortKey, sortOrder, filterText, filters, companies) => {
|
|
244
|
+
const sortAndFilterCompanies = (sortKey, sortOrder, filterText, filters, companies, userState) => {
|
|
243
245
|
const sortOrderKey = (0, sortOrderPayload_1.getSortOrder)(sortOrder);
|
|
244
246
|
let updatedCompanies = [];
|
|
245
247
|
const trimmedFilterText = filterText.trim();
|
|
@@ -321,10 +323,20 @@ const sortAndFilterCompanies = (sortKey, sortOrder, filterText, filters, compani
|
|
|
321
323
|
}
|
|
322
324
|
break;
|
|
323
325
|
case 'controller':
|
|
324
|
-
|
|
326
|
+
if (company.managegmentInfo.controllerUserIds[0] != null) {
|
|
327
|
+
companiesWithSortKeyValues.push(company);
|
|
328
|
+
}
|
|
329
|
+
else {
|
|
330
|
+
companiesWithNoSortKeyValues.push(company);
|
|
331
|
+
}
|
|
325
332
|
break;
|
|
326
333
|
case 'customerSuccessManager':
|
|
327
|
-
|
|
334
|
+
if (company.managegmentInfo.customerSuccessManagerUserIds[0] != null) {
|
|
335
|
+
companiesWithSortKeyValues.push(company);
|
|
336
|
+
}
|
|
337
|
+
else {
|
|
338
|
+
companiesWithNoSortKeyValues.push(company);
|
|
339
|
+
}
|
|
328
340
|
break;
|
|
329
341
|
case 'companyName':
|
|
330
342
|
companiesWithSortKeyValues.push(company);
|
|
@@ -359,9 +371,9 @@ const sortAndFilterCompanies = (sortKey, sortOrder, filterText, filters, compani
|
|
|
359
371
|
case 'customerSatisfactionScore':
|
|
360
372
|
return (_g = company.companyHealthMetric.customerSatisfactionScore) !== null && _g !== void 0 ? _g : 0;
|
|
361
373
|
case 'controller':
|
|
362
|
-
return company.managegmentInfo.controllerUserIds.
|
|
374
|
+
return (0, userSelector_1.getUserNameById)(userState, company.managegmentInfo.controllerUserIds[0]).toLowerCase();
|
|
363
375
|
case 'customerSuccessManager':
|
|
364
|
-
return company.managegmentInfo.customerSuccessManagerUserIds.
|
|
376
|
+
return (0, userSelector_1.getUserNameById)(userState, company.managegmentInfo.customerSuccessManagerUserIds[0]).toLowerCase();
|
|
365
377
|
default:
|
|
366
378
|
case 'companyName':
|
|
367
379
|
return company.companyInfo.name;
|
|
@@ -11,7 +11,6 @@ export interface CompanyMonthEndReportViewPayload {
|
|
|
11
11
|
zeni_requests_html?: string;
|
|
12
12
|
last_month_end_email_draft_saved_at?: string;
|
|
13
13
|
draft_user_id?: string;
|
|
14
|
-
zeni_requests_data: string[];
|
|
15
14
|
}
|
|
16
15
|
export interface MonthEndHistoricReportPayload {
|
|
17
16
|
email_history_html: string;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { FetchState, FetchStateAndError, ID } from '../../commonStateTypes/common';
|
|
2
2
|
import { ZeniAPIStatus } from '../../responsePayload';
|
|
3
3
|
import { CompanyMonthEndReportViewPayload, CompanyMonthEndReportHistoricDatesPayload, CompanyMonthEndHistoricReportPayload, CompanyMonthEndReportTemplatesPayload } from './companyMonthEndReportViewPayload';
|
|
4
|
-
import { CompanyMonthEndReportViewState, CompanyMonthEndReportData, CompanyMonthReportTemplates
|
|
4
|
+
import { CompanyMonthEndReportViewState, CompanyMonthEndReportData, CompanyMonthReportTemplates } from './companyMonthEndReportViewState';
|
|
5
5
|
import { ZeniDate } from '../../zeniDayJS';
|
|
6
6
|
export declare const initialState: CompanyMonthEndReportViewState;
|
|
7
7
|
export declare const initialCompanyMonthEndReportData: CompanyMonthEndReportData;
|
|
8
|
-
export declare const initialAuditSummaryData: AuditSummaryData;
|
|
9
8
|
export declare const initialCompanyMonthEndReportTemplatesData: CompanyMonthReportTemplates;
|
|
10
9
|
export declare const initialSendMonthEndReportStatus: FetchStateAndError;
|
|
11
10
|
export declare const initialImproveUsingZeniGPTStatus: FetchStateAndError;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var _a;
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.updateCompanyMonthEndReportTemplatesOnSuccess = exports.updateCompanyMonthEndReportTemplatesOnFailure = exports.fetchCompanyMonthEndReportTemplates = exports.updateCompanyMonthEndReportHistoricDataOnSuccess = exports.updateCompanyMonthEndReportHistoricDataOnFailure = exports.fetchCompanyMonthEndReportHistoricData = exports.updateCompanyMonthEndReportHistoricDatesOnSuccess = exports.updateCompanyMonthEndReportHistoricDatesOnFailure = exports.fetchCompanyMonthEndReportHistoricDates = exports.resetCompanyMonthEndReportFetchStatus = exports.clearCompanyMonthEndReportView = exports.updateStatusForCompanyMonthEndReportOnSaveFailure = exports.updateCompanyMonthEndReportDataOnSaveSuccess = exports.updateStatusForSendCompanyMonthEndReport = exports.saveCompanyMonthEndReport = exports.sendCompanyMonthEndReport = exports.updateCompanyMonthEndReportViewOnFailure = exports.updateCompanyMonthEndReportViewOnSuccess = exports.fetchCompanyMonthEndReportView = exports.updateImproveUsingZeniGPTFailure = exports.updateImproveUsingZeniGPTSuccess = exports.fetchImproveUsingZeniGPT = exports.initialImproveUsingZeniGPTStatus = exports.initialSendMonthEndReportStatus = exports.initialCompanyMonthEndReportTemplatesData = exports.
|
|
4
|
+
exports.updateCompanyMonthEndReportTemplatesOnSuccess = exports.updateCompanyMonthEndReportTemplatesOnFailure = exports.fetchCompanyMonthEndReportTemplates = exports.updateCompanyMonthEndReportHistoricDataOnSuccess = exports.updateCompanyMonthEndReportHistoricDataOnFailure = exports.fetchCompanyMonthEndReportHistoricData = exports.updateCompanyMonthEndReportHistoricDatesOnSuccess = exports.updateCompanyMonthEndReportHistoricDatesOnFailure = exports.fetchCompanyMonthEndReportHistoricDates = exports.resetCompanyMonthEndReportFetchStatus = exports.clearCompanyMonthEndReportView = exports.updateStatusForCompanyMonthEndReportOnSaveFailure = exports.updateCompanyMonthEndReportDataOnSaveSuccess = exports.updateStatusForSendCompanyMonthEndReport = exports.saveCompanyMonthEndReport = exports.sendCompanyMonthEndReport = exports.updateCompanyMonthEndReportViewOnFailure = exports.updateCompanyMonthEndReportViewOnSuccess = exports.fetchCompanyMonthEndReportView = exports.updateImproveUsingZeniGPTFailure = exports.updateImproveUsingZeniGPTSuccess = exports.fetchImproveUsingZeniGPT = exports.initialImproveUsingZeniGPTStatus = exports.initialSendMonthEndReportStatus = exports.initialCompanyMonthEndReportTemplatesData = exports.initialCompanyMonthEndReportData = exports.initialState = void 0;
|
|
5
5
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
6
|
const companyMonthEndReportViewState_1 = require("./companyMonthEndReportViewState");
|
|
7
7
|
const zeniDayJS_1 = require("../../zeniDayJS");
|
|
@@ -14,18 +14,6 @@ exports.initialCompanyMonthEndReportData = {
|
|
|
14
14
|
subject: '',
|
|
15
15
|
html: '',
|
|
16
16
|
recipientEmailList: [],
|
|
17
|
-
zeniRequestsData: [],
|
|
18
|
-
};
|
|
19
|
-
exports.initialAuditSummaryData = {
|
|
20
|
-
fetchState: 'Not-Started',
|
|
21
|
-
error: undefined,
|
|
22
|
-
auditSummary: {
|
|
23
|
-
fixesRequired: 0,
|
|
24
|
-
totalChecks: 0,
|
|
25
|
-
auditScorePercentage: 0,
|
|
26
|
-
auditReportLastGeneratedDate: null,
|
|
27
|
-
},
|
|
28
|
-
isControllerOrReviewer: false,
|
|
29
17
|
};
|
|
30
18
|
exports.initialCompanyMonthEndReportTemplatesData = {
|
|
31
19
|
fetchState: 'Not-Started',
|
|
@@ -56,7 +44,6 @@ const companyMonthEndReportView = (0, toolkit_1.createSlice)({
|
|
|
56
44
|
fetchState: 'In-Progress',
|
|
57
45
|
error: undefined,
|
|
58
46
|
companyMonthEndReportData: exports.initialCompanyMonthEndReportData,
|
|
59
|
-
auditSummaryData: exports.initialAuditSummaryData,
|
|
60
47
|
companyMonthEndReportTemplatesData: exports.initialCompanyMonthEndReportTemplatesData,
|
|
61
48
|
sendMonthEndReportStatus: exports.initialSendMonthEndReportStatus,
|
|
62
49
|
saveMonthEndReportStatus: exports.initialSendMonthEndReportStatus,
|
|
@@ -2,16 +2,11 @@ import { FetchStateAndError, ID } from '../../commonStateTypes/common';
|
|
|
2
2
|
import { SelectorView } from '../../commonStateTypes/viewAndReport/viewAndReport';
|
|
3
3
|
import { User } from '../../entity/user/userState';
|
|
4
4
|
import { RootState } from '../../reducer';
|
|
5
|
-
import { CompanyMonthEndReportData, CompanyMonthEndReportHistoricData, CompanyMonthReportTemplates
|
|
5
|
+
import { CompanyMonthEndReportData, CompanyMonthEndReportHistoricData, CompanyMonthReportTemplates } from './companyMonthEndReportViewState';
|
|
6
6
|
import { ZeniDate } from '../../zeniDayJS';
|
|
7
7
|
import { Month } from '../../commonStateTypes/timePeriod';
|
|
8
|
-
import { ReviewCompanyViewState } from '../reviewCompanyView/reviewCompanyViewState';
|
|
9
|
-
import { AuditRuleGroupViewState } from '../auditReportView/auditReportViewState';
|
|
10
|
-
import { CompanyManagementView } from '../companyView/selector/companyManagementViewSelector';
|
|
11
|
-
import { LoggedInUser } from '../../entity/tenant/tenantState';
|
|
12
8
|
export interface CompanyMonthEndReportSelectorView extends SelectorView, CompanyMonthEndReportData {
|
|
13
9
|
reportLastSavedByUser?: User;
|
|
14
|
-
auditSummaryData: AuditSummaryData;
|
|
15
10
|
companyMonthEndReportTemplatesData: CompanyMonthReportTemplates;
|
|
16
11
|
sendMonthEndReportStatus: FetchStateAndError;
|
|
17
12
|
saveMonthEndReportStatus: FetchStateAndError;
|
|
@@ -26,6 +21,5 @@ export interface CompanyMonthEndReportHistoricDataSelectorView extends CompanyMo
|
|
|
26
21
|
firstMonthOfFY: Month;
|
|
27
22
|
reportLastSentByUser?: User;
|
|
28
23
|
}
|
|
29
|
-
export declare const getCompanyMonthEndReportSelectorView: (state: RootState, companyId: ID
|
|
24
|
+
export declare const getCompanyMonthEndReportSelectorView: (state: RootState, companyId: ID) => CompanyMonthEndReportSelectorView;
|
|
30
25
|
export declare const getCompanyMonthEndReportHistoricData: (state: RootState, companyId: ID, reportSentDate: ZeniDate) => CompanyMonthEndReportHistoricDataSelectorView;
|
|
31
|
-
export declare const getAuditSummaryData: (companyId: ID, loggedInUser: LoggedInUser | undefined, managementView: CompanyManagementView, reviewState: ReviewCompanyViewState, auditRuleGroupViewState: AuditRuleGroupViewState) => AuditSummaryData;
|
|
@@ -1,24 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.getCompanyMonthEndReportHistoricData = exports.getCompanyMonthEndReportSelectorView = void 0;
|
|
4
4
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
5
5
|
const userSelector_1 = require("../../entity/user/userSelector");
|
|
6
6
|
const companyMonthEndReportViewState_1 = require("./companyMonthEndReportViewState");
|
|
7
7
|
const reduceFetchState_1 = require("../../commonStateTypes/reduceFetchState");
|
|
8
|
-
|
|
9
|
-
const companyManagementViewSelector_1 = require("../companyView/selector/companyManagementViewSelector");
|
|
10
|
-
exports.getCompanyMonthEndReportSelectorView = (0, toolkit_1.createSelector)([
|
|
11
|
-
(state) => state,
|
|
12
|
-
(_, companyId) => companyId,
|
|
13
|
-
(_, _companyId, loggedInUser) => loggedInUser,
|
|
14
|
-
], (rootState, companyId, loggedInUser) => {
|
|
8
|
+
exports.getCompanyMonthEndReportSelectorView = (0, toolkit_1.createSelector)([(state) => state, (_, companyId) => companyId], (rootState, companyId) => {
|
|
15
9
|
var _a, _b, _c, _d;
|
|
16
10
|
const companyMonthEndReport = rootState.companyMonthEndReportViewState.monthEndReportDataByCompanyId[companyId];
|
|
17
|
-
const managementView = (0, companyManagementViewSelector_1.getCompanyManagementView)(rootState);
|
|
18
|
-
const auditSummaryData = (0, exports.getAuditSummaryData)(companyId, loggedInUser, managementView, rootState.reviewCompanyViewState, rootState.auditReportViewState.auditRuleGroupView);
|
|
19
11
|
const companyName = (_a = rootState.companyState.companiesById[companyId]) === null || _a === void 0 ? void 0 : _a.companyInfo.name;
|
|
20
12
|
const draftUserId = companyMonthEndReport === null || companyMonthEndReport === void 0 ? void 0 : companyMonthEndReport.companyMonthEndReportData.draftUserId;
|
|
21
|
-
return Object.assign(Object.assign({}, companyMonthEndReport === null || companyMonthEndReport === void 0 ? void 0 : companyMonthEndReport.companyMonthEndReportData), {
|
|
13
|
+
return Object.assign(Object.assign({}, companyMonthEndReport === null || companyMonthEndReport === void 0 ? void 0 : companyMonthEndReport.companyMonthEndReportData), { companyMonthEndReportTemplatesData: {
|
|
22
14
|
fetchState: companyMonthEndReport != null
|
|
23
15
|
? companyMonthEndReport.companyMonthEndReportTemplatesData
|
|
24
16
|
.fetchState
|
|
@@ -76,33 +68,3 @@ exports.getCompanyMonthEndReportHistoricData = (0, toolkit_1.createSelector)([
|
|
|
76
68
|
firstMonthOfFY: (_b = rootState.companyState.companiesById[companyId]) === null || _b === void 0 ? void 0 : _b.companyInfo.firstMonthOfFY,
|
|
77
69
|
};
|
|
78
70
|
});
|
|
79
|
-
/*
|
|
80
|
-
Helper functions
|
|
81
|
-
*/
|
|
82
|
-
const getAuditSummaryData = (companyId, loggedInUser, managementView, reviewState, auditRuleGroupViewState) => {
|
|
83
|
-
const auditSummaryFetchState = (0, reduceFetchState_1.reduceAnyFetchState)([
|
|
84
|
-
reviewState,
|
|
85
|
-
auditRuleGroupViewState,
|
|
86
|
-
]);
|
|
87
|
-
const isControllerOrReviewer = managementView.companies.some((company) => {
|
|
88
|
-
const { managegmentInfo, companyInfo } = company.company.company;
|
|
89
|
-
const { controllerUserIds, reviewerUserIds } = managegmentInfo;
|
|
90
|
-
if (loggedInUser != null && companyInfo.companyId === companyId) {
|
|
91
|
-
return (controllerUserIds.includes(loggedInUser.userId) ||
|
|
92
|
-
reviewerUserIds.includes(loggedInUser.userId));
|
|
93
|
-
}
|
|
94
|
-
return false;
|
|
95
|
-
});
|
|
96
|
-
if (auditSummaryFetchState.fetchState === 'Completed') {
|
|
97
|
-
return {
|
|
98
|
-
auditSummary: reviewState.reviewCompanyById[companyId].auditSummary,
|
|
99
|
-
isControllerOrReviewer: isControllerOrReviewer,
|
|
100
|
-
fetchState: auditSummaryFetchState.fetchState,
|
|
101
|
-
error: auditSummaryFetchState.error,
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
else {
|
|
105
|
-
return companyMonthEndReportViewReducer_1.initialAuditSummaryData;
|
|
106
|
-
}
|
|
107
|
-
};
|
|
108
|
-
exports.getAuditSummaryData = getAuditSummaryData;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { FetchStateAndError, ID } from '../../commonStateTypes/common';
|
|
2
2
|
import { AttachmentFile } from '../../entity/file/fileState';
|
|
3
3
|
import { ZeniDate } from '../../zeniDayJS';
|
|
4
|
-
import { AuditSummary } from '../reviewCompanyView/reviewCompanyViewState';
|
|
5
4
|
import { MonthEndTemplateData, CompanyMonthEndReportViewPayload, CompanyMonthEndHistoricReportPayload } from './companyMonthEndReportViewPayload';
|
|
6
5
|
export interface CompanyMonthEndReportData {
|
|
7
6
|
recipientEmailList: string[];
|
|
@@ -15,21 +14,15 @@ export interface CompanyMonthEndReportData {
|
|
|
15
14
|
lastDraftSavedDate?: ZeniDate;
|
|
16
15
|
draftUserId?: string;
|
|
17
16
|
reportSentDate?: ZeniDate;
|
|
18
|
-
zeniRequestsData?: string[];
|
|
19
17
|
}
|
|
20
18
|
export interface CompanyMonthEndReport extends FetchStateAndError {
|
|
21
19
|
companyMonthEndReportData: CompanyMonthEndReportData;
|
|
22
|
-
auditSummaryData: AuditSummaryData;
|
|
23
20
|
companyMonthEndReportTemplatesData: CompanyMonthReportTemplates;
|
|
24
21
|
sendMonthEndReportStatus: FetchStateAndError;
|
|
25
22
|
saveMonthEndReportStatus: FetchStateAndError;
|
|
26
23
|
previewMonthEndReportStatus: FetchStateAndError;
|
|
27
24
|
improveUsingZeniGPTStatus: FetchStateAndError;
|
|
28
25
|
}
|
|
29
|
-
export interface AuditSummaryData extends FetchStateAndError {
|
|
30
|
-
auditSummary: AuditSummary;
|
|
31
|
-
isControllerOrReviewer: boolean;
|
|
32
|
-
}
|
|
33
26
|
export declare const getMonthEndReportHistoricDataKey: (companyId: ID, reportDate: ZeniDate) => `${string}_${string}`;
|
|
34
27
|
export declare type CompanyMonthEndReportHistoricDataKey = ReturnType<typeof getMonthEndReportHistoricDataKey>;
|
|
35
28
|
interface HistoricDatesList extends FetchStateAndError {
|
|
@@ -7,7 +7,7 @@ const zeniDayJS_1 = require("../../zeniDayJS");
|
|
|
7
7
|
const getMonthEndReportHistoricDataKey = (companyId, reportDate) => `${companyId}_${reportDate.format(formatZeniDateFY_1.DEFAULT_DATE_FORMAT)}`;
|
|
8
8
|
exports.getMonthEndReportHistoricDataKey = getMonthEndReportHistoricDataKey;
|
|
9
9
|
const toCompanyMonthEndReportData = (data) => {
|
|
10
|
-
var _a, _b
|
|
10
|
+
var _a, _b;
|
|
11
11
|
return {
|
|
12
12
|
html: (_a = data.html) !== null && _a !== void 0 ? _a : undefined,
|
|
13
13
|
subject: (_b = data.subject) !== null && _b !== void 0 ? _b : undefined,
|
|
@@ -22,7 +22,6 @@ const toCompanyMonthEndReportData = (data) => {
|
|
|
22
22
|
? (0, zeniDayJS_1.date)(data.last_month_end_email_draft_saved_at)
|
|
23
23
|
: undefined,
|
|
24
24
|
draftUserId: data.draft_user_id,
|
|
25
|
-
zeniRequestsData: (_c = data.zeni_requests_data) !== null && _c !== void 0 ? _c : [],
|
|
26
25
|
};
|
|
27
26
|
};
|
|
28
27
|
exports.toCompanyMonthEndReportData = toCompanyMonthEndReportData;
|
|
@@ -26,7 +26,7 @@ export declare const changeZeniPersonRolesEpic: (actions$: ActionsObservable<Act
|
|
|
26
26
|
type: string;
|
|
27
27
|
} | {
|
|
28
28
|
payload: {
|
|
29
|
-
messageSection: "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "
|
|
29
|
+
messageSection: "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_setup" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "bill_pay_setup" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "zeni_account_accept_term" | "update_vendor" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "charge_card_setup" | "charge_card_accept_term" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "settings_accounting_accounts_updated";
|
|
30
30
|
messageText: "failed" | "success";
|
|
31
31
|
type: import("../..").SnackbarMessageType;
|
|
32
32
|
showStatusIcon?: boolean | undefined;
|
|
@@ -18,7 +18,7 @@ export declare const deletePersonEpic: (actions$: ActionsObservable<ActionType>,
|
|
|
18
18
|
type: string;
|
|
19
19
|
} | {
|
|
20
20
|
payload: {
|
|
21
|
-
messageSection: "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "
|
|
21
|
+
messageSection: "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_setup" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "bill_pay_setup" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "zeni_account_accept_term" | "update_vendor" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "charge_card_setup" | "charge_card_accept_term" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "settings_accounting_accounts_updated";
|
|
22
22
|
messageText: "failed" | "success";
|
|
23
23
|
type: import("../..").SnackbarMessageType;
|
|
24
24
|
showStatusIcon?: boolean | undefined;
|
|
@@ -35,7 +35,7 @@ export declare const invitePeopleEpic: (actions$: ActionsObservable<ActionType>,
|
|
|
35
35
|
type: string;
|
|
36
36
|
} | {
|
|
37
37
|
payload: {
|
|
38
|
-
messageSection: "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "
|
|
38
|
+
messageSection: "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_setup" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "bill_pay_setup" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "zeni_account_accept_term" | "update_vendor" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "charge_card_setup" | "charge_card_accept_term" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "settings_accounting_accounts_updated";
|
|
39
39
|
messageText: "failed" | "success";
|
|
40
40
|
type: import("../..").SnackbarMessageType;
|
|
41
41
|
showStatusIcon?: boolean | undefined;
|
|
@@ -32,7 +32,7 @@ export declare const inviteZeniPeopleEpic: (actions$: ActionsObservable<ActionTy
|
|
|
32
32
|
type: string;
|
|
33
33
|
} | {
|
|
34
34
|
payload: {
|
|
35
|
-
messageSection: "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "
|
|
35
|
+
messageSection: "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_setup" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "bill_pay_setup" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "zeni_account_accept_term" | "update_vendor" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "charge_card_setup" | "charge_card_accept_term" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "settings_accounting_accounts_updated";
|
|
36
36
|
messageText: "failed" | "success";
|
|
37
37
|
type: import("../..").SnackbarMessageType;
|
|
38
38
|
showStatusIcon?: boolean | undefined;
|
|
@@ -13,7 +13,7 @@ export declare const resendInviteEpic: (actions$: ActionsObservable<ActionType>,
|
|
|
13
13
|
type: string;
|
|
14
14
|
} | {
|
|
15
15
|
payload: {
|
|
16
|
-
messageSection: "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "
|
|
16
|
+
messageSection: "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_setup" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "bill_pay_setup" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "zeni_account_accept_term" | "update_vendor" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "charge_card_setup" | "charge_card_accept_term" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "settings_accounting_accounts_updated";
|
|
17
17
|
messageText: "failed" | "success";
|
|
18
18
|
type: import("../..").SnackbarMessageType;
|
|
19
19
|
showStatusIcon?: boolean | undefined;
|
|
@@ -3,6 +3,5 @@ import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
|
3
3
|
import { ZeniAPI } from '../../zeniAPI';
|
|
4
4
|
import { fetchReviewCompanyView, updateReviewCompanyOnSuccess, updateReviewCompanyOnFailure } from './reviewCompanyViewReducer';
|
|
5
5
|
import { RootState } from '../../reducer';
|
|
6
|
-
|
|
7
|
-
export declare type ActionType = ReturnType<typeof fetchReviewCompanyView> | ReturnType<typeof updateReviewCompanyOnSuccess> | ReturnType<typeof openSnackbar> | ReturnType<typeof updateReviewCompanyOnFailure>;
|
|
6
|
+
export declare type ActionType = ReturnType<typeof fetchReviewCompanyView> | ReturnType<typeof updateReviewCompanyOnSuccess> | ReturnType<typeof updateReviewCompanyOnFailure>;
|
|
8
7
|
export declare const fetchReviewCompanyViewEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;
|
|
@@ -5,9 +5,8 @@ const rxjs_1 = require("rxjs");
|
|
|
5
5
|
const operators_1 = require("rxjs/operators");
|
|
6
6
|
const reviewCompanyViewReducer_1 = require("./reviewCompanyViewReducer");
|
|
7
7
|
const responsePayload_1 = require("../../responsePayload");
|
|
8
|
-
const snackbarReducer_1 = require("../../entity/snackbar/snackbarReducer");
|
|
9
8
|
const fetchReviewCompanyViewEpic = (actions$, state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(reviewCompanyViewReducer_1.fetchReviewCompanyView.match), (0, operators_1.switchMap)((action) => {
|
|
10
|
-
const { cacheOverride
|
|
9
|
+
const { cacheOverride } = action.payload;
|
|
11
10
|
const state = state$.value;
|
|
12
11
|
const { fetchState } = state.reviewCompanyViewState;
|
|
13
12
|
if (cacheOverride === true || fetchState !== 'In-Progress') {
|
|
@@ -18,13 +17,6 @@ const fetchReviewCompanyViewEpic = (actions$, state$, zeniAPI) => actions$.pipe(
|
|
|
18
17
|
const actions = [
|
|
19
18
|
(0, reviewCompanyViewReducer_1.updateReviewCompanyOnSuccess)(response.data.companies),
|
|
20
19
|
];
|
|
21
|
-
if (isFromMonthEnd === true) {
|
|
22
|
-
actions.push((0, snackbarReducer_1.openSnackbar)({
|
|
23
|
-
messageSection: 'audit_score_updated',
|
|
24
|
-
messageText: 'success',
|
|
25
|
-
type: 'success',
|
|
26
|
-
}));
|
|
27
|
-
}
|
|
28
20
|
return (0, rxjs_1.from)(actions);
|
|
29
21
|
}
|
|
30
22
|
else {
|
|
@@ -5,9 +5,8 @@ import { ReviewCompanyPayload } from './reviewCompanyPayload';
|
|
|
5
5
|
import { ReviewCompanyViewState, ReviewCompanyListUIState } from './reviewCompanyViewState';
|
|
6
6
|
export declare const initialCockpitReviewUIState: ReviewCompanyListUIState;
|
|
7
7
|
export declare const initialState: ReviewCompanyViewState;
|
|
8
|
-
export declare const fetchReviewCompanyView: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[cacheOverride?: any
|
|
8
|
+
export declare const fetchReviewCompanyView: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[cacheOverride?: any], {
|
|
9
9
|
cacheOverride: any;
|
|
10
|
-
isFromMonthEnd: any;
|
|
11
10
|
}, string, never, never>, updateReviewCompanyOnSuccess: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[companies: ReviewCompanyPayload[]], {
|
|
12
11
|
companies: ReviewCompanyPayload[];
|
|
13
12
|
}, string, never, never>, updateReviewCompanyOnFailure: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[error: ZeniAPIStatus<Record<string, unknown>>], {
|
|
@@ -29,8 +29,8 @@ const reviewCompanyView = (0, toolkit_1.createSlice)({
|
|
|
29
29
|
initialState: exports.initialState,
|
|
30
30
|
reducers: {
|
|
31
31
|
fetchReviewCompanyView: {
|
|
32
|
-
prepare(cacheOverride = true
|
|
33
|
-
return { payload: { cacheOverride
|
|
32
|
+
prepare(cacheOverride = true) {
|
|
33
|
+
return { payload: { cacheOverride } };
|
|
34
34
|
},
|
|
35
35
|
reducer(draft) {
|
|
36
36
|
if (draft.fetchState !== 'Completed' ||
|
|
@@ -18,7 +18,7 @@ export declare const saveNotificationSettingsEpic: (actions$: ActionsObservable<
|
|
|
18
18
|
type: string;
|
|
19
19
|
} | {
|
|
20
20
|
payload: {
|
|
21
|
-
messageSection: "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "
|
|
21
|
+
messageSection: "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_setup" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "bill_pay_setup" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "zeni_account_accept_term" | "update_vendor" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "charge_card_setup" | "charge_card_accept_term" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "settings_accounting_accounts_updated";
|
|
22
22
|
messageText: "failed" | "success";
|
|
23
23
|
type: import("../../..").SnackbarMessageType;
|
|
24
24
|
showStatusIcon?: boolean | undefined;
|
|
@@ -8,7 +8,7 @@ import { updateCreatedTagToLocalStore } from '../../taskManager/taskDetailView/t
|
|
|
8
8
|
export declare type ActionType = ReturnType<typeof createTag> | ReturnType<typeof updateTagCreateStatus> | ReturnType<typeof openSnackbar> | ReturnType<typeof updateCreatedTagToLocalStore> | ReturnType<typeof updateTags>;
|
|
9
9
|
export declare const createTagEpic: (actions$: ActionsObservable<ActionType>, _state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => import("rxjs").Observable<{
|
|
10
10
|
payload: {
|
|
11
|
-
messageSection: "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "
|
|
11
|
+
messageSection: "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_setup" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "bill_pay_setup" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "zeni_account_accept_term" | "update_vendor" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "charge_card_setup" | "charge_card_accept_term" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "settings_accounting_accounts_updated";
|
|
12
12
|
messageText: "failed" | "success";
|
|
13
13
|
type: import("../../..").SnackbarMessageType;
|
|
14
14
|
showStatusIcon?: boolean | undefined;
|
|
@@ -9,7 +9,7 @@ export declare const deleteTagEpic: (actions$: ActionsObservable<ActionType>, _s
|
|
|
9
9
|
type: string;
|
|
10
10
|
} | {
|
|
11
11
|
payload: {
|
|
12
|
-
messageSection: "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "
|
|
12
|
+
messageSection: "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_setup" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "bill_pay_setup" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "zeni_account_accept_term" | "update_vendor" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "charge_card_setup" | "charge_card_accept_term" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "settings_accounting_accounts_updated";
|
|
13
13
|
messageText: "failed" | "success";
|
|
14
14
|
type: import("../../..").SnackbarMessageType;
|
|
15
15
|
showStatusIcon?: boolean | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "4.10.
|
|
3
|
+
"version": "4.10.67",
|
|
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",
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { RootState } from '../../reducer';
|
|
4
|
-
import { fetchVendorTabView } from './vendorTabViewReducer';
|
|
5
|
-
import { fetchScheduleList } from '../scheduleView/scheduleListView/scheduleListReducer';
|
|
6
|
-
import { fetchOpExByVendor } from '../opExByVendor/opExByVendorReducer';
|
|
7
|
-
import { fetchVendorsList } from '../vendorList/vendorListReducer';
|
|
8
|
-
export declare type ActionType = ReturnType<typeof fetchVendorTabView> | ReturnType<typeof fetchOpExByVendor> | ReturnType<typeof fetchVendorsList> | ReturnType<typeof fetchScheduleList>;
|
|
9
|
-
export declare const fetchVendorTabViewEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>) => Observable<ActionType>;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.fetchVendorTabViewEpic = void 0;
|
|
4
|
-
const rxjs_1 = require("rxjs");
|
|
5
|
-
const operators_1 = require("rxjs/operators");
|
|
6
|
-
const vendorTabViewReducer_1 = require("./vendorTabViewReducer");
|
|
7
|
-
const scheduleListReducer_1 = require("../scheduleView/scheduleListView/scheduleListReducer");
|
|
8
|
-
const opExByVendorReducer_1 = require("../opExByVendor/opExByVendorReducer");
|
|
9
|
-
const vendorListReducer_1 = require("../vendorList/vendorListReducer");
|
|
10
|
-
const scheduleListSelector_1 = require("../scheduleView/scheduleListView/scheduleListSelector");
|
|
11
|
-
const scheduleListHelper_1 = require("../scheduleView/scheduleListView/scheduleListHelper");
|
|
12
|
-
const opExByVendorSelector_1 = require("../opExByVendor/opExByVendorSelector");
|
|
13
|
-
const vendorListSelector_1 = require("../vendorList/vendorListSelector");
|
|
14
|
-
const fetchVendorTabViewEpic = (actions$, state$) => actions$.pipe((0, operators_1.filter)(vendorTabViewReducer_1.fetchVendorTabView.match), (0, operators_1.switchMap)((action) => {
|
|
15
|
-
const { shouldFetchFixedAssets, shouldFetchOpexByVendor, shouldFetchPrepaidExpenses, shouldFetchVendorsList, } = action.payload;
|
|
16
|
-
const state = state$.value;
|
|
17
|
-
const fetchActions = [];
|
|
18
|
-
const accountFetchState = (0, scheduleListSelector_1.getFetchStateForScheduleAccountList)(state);
|
|
19
|
-
const fixedAssetsSchedulesListFetchState = (0, scheduleListSelector_1.getFetchStateForScheduleListByType)(state, 'fixed_assets');
|
|
20
|
-
const prepaidExpensesSchedulesListFetchState = (0, scheduleListSelector_1.getFetchStateForScheduleListByType)(state, 'prepaid_expenses');
|
|
21
|
-
const opExByVendorFetchState = (0, opExByVendorSelector_1.getOpExByVendorReport)(state).fetchState;
|
|
22
|
-
const vendorsListFetchState = (0, vendorListSelector_1.getVendorList)(state, 'vendorsTab').fetchState;
|
|
23
|
-
if (shouldFetchFixedAssets === true &&
|
|
24
|
-
accountFetchState === 'Completed' &&
|
|
25
|
-
fixedAssetsSchedulesListFetchState !== 'In-Progress' &&
|
|
26
|
-
fixedAssetsSchedulesListFetchState !== 'Completed') {
|
|
27
|
-
fetchActions.push((0, scheduleListReducer_1.fetchScheduleList)('fixed_assets', {
|
|
28
|
-
selectedTimeframe: (0, scheduleListHelper_1.getDefaultSelectedTimeframeForScheduleType)('fixed_assets'),
|
|
29
|
-
selectedCategoryId: 'all',
|
|
30
|
-
}));
|
|
31
|
-
}
|
|
32
|
-
if (shouldFetchPrepaidExpenses === true &&
|
|
33
|
-
accountFetchState === 'Completed' &&
|
|
34
|
-
prepaidExpensesSchedulesListFetchState !== 'In-Progress' &&
|
|
35
|
-
prepaidExpensesSchedulesListFetchState !== 'Completed') {
|
|
36
|
-
fetchActions.push((0, scheduleListReducer_1.fetchScheduleList)('prepaid_expenses', {
|
|
37
|
-
selectedTimeframe: (0, scheduleListHelper_1.getDefaultSelectedTimeframeForScheduleType)('prepaid_expenses'),
|
|
38
|
-
selectedCategoryId: 'all',
|
|
39
|
-
}));
|
|
40
|
-
}
|
|
41
|
-
if (shouldFetchOpexByVendor &&
|
|
42
|
-
opExByVendorFetchState !== 'In-Progress' &&
|
|
43
|
-
opExByVendorFetchState !== 'Completed') {
|
|
44
|
-
fetchActions.push((0, opExByVendorReducer_1.fetchOpExByVendor)());
|
|
45
|
-
}
|
|
46
|
-
if (shouldFetchVendorsList &&
|
|
47
|
-
vendorsListFetchState !== 'In-Progress' &&
|
|
48
|
-
vendorsListFetchState !== 'Completed') {
|
|
49
|
-
fetchActions.push((0, vendorListReducer_1.fetchVendorsList)('', false, 'vendorsTab'));
|
|
50
|
-
}
|
|
51
|
-
return (0, rxjs_1.from)(fetchActions);
|
|
52
|
-
}));
|
|
53
|
-
exports.fetchVendorTabViewEpic = fetchVendorTabViewEpic;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { VendorTabViewState } from './vendorTabViewState';
|
|
2
|
-
export declare const initialState: VendorTabViewState;
|
|
3
|
-
export declare const fetchVendorTabView: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[{
|
|
4
|
-
shouldFetchPrepaidExpenses: boolean;
|
|
5
|
-
shouldFetchFixedAssets: boolean;
|
|
6
|
-
shouldFetchVendorsList: boolean;
|
|
7
|
-
shouldFetchOpexByVendor: boolean;
|
|
8
|
-
}], {
|
|
9
|
-
shouldFetchPrepaidExpenses: boolean;
|
|
10
|
-
shouldFetchFixedAssets: boolean;
|
|
11
|
-
shouldFetchVendorsList: boolean;
|
|
12
|
-
shouldFetchOpexByVendor: boolean;
|
|
13
|
-
}, string, never, never>;
|
|
14
|
-
declare const _default: import("@reduxjs/toolkit").Reducer<import("../..").FetchedState, import("@reduxjs/toolkit").AnyAction>;
|
|
15
|
-
export default _default;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.fetchVendorTabView = exports.initialState = void 0;
|
|
4
|
-
const toolkit_1 = require("@reduxjs/toolkit");
|
|
5
|
-
exports.initialState = {
|
|
6
|
-
fetchState: 'Not-Started',
|
|
7
|
-
hasValidState() {
|
|
8
|
-
return this.fetchState == 'Completed';
|
|
9
|
-
},
|
|
10
|
-
};
|
|
11
|
-
const vendorTabView = (0, toolkit_1.createSlice)({
|
|
12
|
-
name: 'vendorTabView',
|
|
13
|
-
initialState: exports.initialState,
|
|
14
|
-
reducers: {
|
|
15
|
-
fetchVendorTabView: {
|
|
16
|
-
prepare({ shouldFetchPrepaidExpenses, shouldFetchFixedAssets, shouldFetchVendorsList, shouldFetchOpexByVendor, }) {
|
|
17
|
-
return {
|
|
18
|
-
payload: {
|
|
19
|
-
shouldFetchPrepaidExpenses,
|
|
20
|
-
shouldFetchFixedAssets,
|
|
21
|
-
shouldFetchVendorsList,
|
|
22
|
-
shouldFetchOpexByVendor,
|
|
23
|
-
},
|
|
24
|
-
};
|
|
25
|
-
},
|
|
26
|
-
reducer(
|
|
27
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
28
|
-
_draft,
|
|
29
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
30
|
-
_action) {
|
|
31
|
-
//do nothing
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
});
|
|
36
|
-
exports.fetchVendorTabView = vendorTabView.actions.fetchVendorTabView;
|
|
37
|
-
exports.default = vendorTabView.reducer;
|