@zeniai/client-epic-state 4.7.70 → 4.7.71
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/account/accountPayload.d.ts +1 -1
- package/lib/entity/paymentAccount/paymentAccountPayload.d.ts +0 -1
- package/lib/entity/paymentAccount/paymentAccountPayload.js +1 -2
- package/lib/entity/paymentAccount/paymentAccountSelector.d.ts +0 -2
- package/lib/entity/paymentAccount/paymentAccountSelector.js +1 -14
- package/lib/entity/paymentAccount/paymentAccountState.d.ts +0 -1
- package/lib/entity/tenant/clearAllEpic.d.ts +1 -2
- package/lib/entity/tenant/clearAllEpic.js +0 -2
- package/lib/epic.d.ts +1 -5
- package/lib/epic.js +1 -5
- package/lib/index.d.ts +2 -10
- package/lib/index.js +13 -26
- package/lib/reducer.d.ts +0 -3
- package/lib/reducer.js +0 -3
- package/lib/view/accountList/fetchAccountListEpic.js +7 -16
- package/package.json +1 -1
- package/lib/view/settingsView/epic/fetchBankAccountsListEpic.d.ts +0 -22
- package/lib/view/settingsView/epic/fetchBankAccountsListEpic.js +0 -30
- package/lib/view/settingsView/epic/fetchBankConnectionsViewEpic.d.ts +0 -6
- package/lib/view/settingsView/epic/fetchBankConnectionsViewEpic.js +0 -14
- package/lib/view/settingsView/epic/fetchMyProfileEpic.d.ts +0 -43
- package/lib/view/settingsView/epic/fetchMyProfileEpic.js +0 -50
- package/lib/view/settingsView/epic/fetchMyProfileViewEpic.d.ts +0 -7
- package/lib/view/settingsView/epic/fetchMyProfileViewEpic.js +0 -17
- package/lib/view/settingsView/settingsViewPayload.d.ts +0 -8
- package/lib/view/settingsView/settingsViewPayload.js +0 -2
- package/lib/view/settingsView/settingsViewReducer.d.ts +0 -13
- package/lib/view/settingsView/settingsViewReducer.js +0 -71
- package/lib/view/settingsView/settingsViewSelector.d.ts +0 -14
- package/lib/view/settingsView/settingsViewSelector.js +0 -119
- package/lib/view/settingsView/settingsViewState.d.ts +0 -12
- package/lib/view/settingsView/settingsViewState.js +0 -2
- package/lib/view/settingsView/types/settingsViewSelectorTypes.d.ts +0 -29
- package/lib/view/settingsView/types/settingsViewSelectorTypes.js +0 -2
|
@@ -9,7 +9,7 @@ export interface AccountBasePayload {
|
|
|
9
9
|
account_name: string;
|
|
10
10
|
account_type?: string | null;
|
|
11
11
|
account_sub_type?: string | null;
|
|
12
|
-
account_description?: string
|
|
12
|
+
account_description?: string;
|
|
13
13
|
last_4_digits?: string | null;
|
|
14
14
|
logo?: URLPayload;
|
|
15
15
|
qbo_id?: string;
|
|
@@ -39,7 +39,6 @@ export interface PaymentAccountPayload {
|
|
|
39
39
|
};
|
|
40
40
|
is_verified: boolean;
|
|
41
41
|
zeni_mapped_account_id: string | null;
|
|
42
|
-
bank_account_id?: string | null;
|
|
43
42
|
is_login_required: boolean | null;
|
|
44
43
|
is_primary_for_onboarding: boolean | null;
|
|
45
44
|
is_primary_for_bill_pay: boolean;
|
|
@@ -6,7 +6,7 @@ const amount_1 = require("../../commonStateTypes/amount");
|
|
|
6
6
|
const zeniDayJS_1 = require("../../zeniDayJS");
|
|
7
7
|
const companyPayload_1 = require("../company/companyPayload");
|
|
8
8
|
const toPaymentAccount = (payload) => {
|
|
9
|
-
var _a
|
|
9
|
+
var _a;
|
|
10
10
|
return {
|
|
11
11
|
paymentAccountId: payload.payment_account_id,
|
|
12
12
|
providerAccountId: payload.provider_account_id,
|
|
@@ -37,7 +37,6 @@ const toPaymentAccount = (payload) => {
|
|
|
37
37
|
: undefined,
|
|
38
38
|
isVerified: payload.is_verified,
|
|
39
39
|
zeniAccountId: (_a = payload.zeni_mapped_account_id) !== null && _a !== void 0 ? _a : '',
|
|
40
|
-
bankAccountId: (_b = payload.bank_account_id) !== null && _b !== void 0 ? _b : undefined,
|
|
41
40
|
updateTime: (0, zeniDayJS_1.date)(payload.update_time),
|
|
42
41
|
createTime: (0, zeniDayJS_1.date)(payload.create_time),
|
|
43
42
|
};
|
|
@@ -2,5 +2,3 @@ import { ID } from '../../commonStateTypes/common';
|
|
|
2
2
|
import { PaymentAccount, PaymentAccountState } from './paymentAccountState';
|
|
3
3
|
export declare function getPaymentAccountsByPaymentAccountIds(paymentAccountState: PaymentAccountState, paymentAccountIds: ID[]): PaymentAccount[];
|
|
4
4
|
export declare function getPaymentAccountByPaymentAccountId(paymentAccountState: PaymentAccountState, PaymentAccountId: ID): PaymentAccount | undefined;
|
|
5
|
-
export declare function getPaymentAccountByBankAccountId(paymentAccountState: PaymentAccountState, bankAccountId: ID): PaymentAccount | undefined;
|
|
6
|
-
export declare function getPaymentAccountsByBankAccountIds(paymentAccountState: PaymentAccountState, bankAccountIds: ID[]): PaymentAccount[];
|
|
@@ -3,9 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.getPaymentAccountByPaymentAccountId = exports.getPaymentAccountsByPaymentAccountIds = void 0;
|
|
7
7
|
const get_1 = __importDefault(require("lodash/get"));
|
|
8
|
-
const lodash_1 = require("lodash");
|
|
9
8
|
function getPaymentAccountsByPaymentAccountIds(paymentAccountState, paymentAccountIds) {
|
|
10
9
|
const paymentAccounts = paymentAccountIds
|
|
11
10
|
.map((paymentAccountId) => getPaymentAccountByPaymentAccountId(paymentAccountState, paymentAccountId))
|
|
@@ -17,15 +16,3 @@ function getPaymentAccountByPaymentAccountId(paymentAccountState, PaymentAccount
|
|
|
17
16
|
return (0, get_1.default)(paymentAccountState.paymentAccountByID, PaymentAccountId, undefined);
|
|
18
17
|
}
|
|
19
18
|
exports.getPaymentAccountByPaymentAccountId = getPaymentAccountByPaymentAccountId;
|
|
20
|
-
function getPaymentAccountByBankAccountId(paymentAccountState, bankAccountId) {
|
|
21
|
-
const allPaymentAccounts = (0, lodash_1.values)(paymentAccountState.paymentAccountByID);
|
|
22
|
-
return allPaymentAccounts.find((account) => account.bankAccountId === bankAccountId);
|
|
23
|
-
}
|
|
24
|
-
exports.getPaymentAccountByBankAccountId = getPaymentAccountByBankAccountId;
|
|
25
|
-
function getPaymentAccountsByBankAccountIds(paymentAccountState, bankAccountIds) {
|
|
26
|
-
const paymentAccounts = bankAccountIds
|
|
27
|
-
.map((bankAccountId) => getPaymentAccountByBankAccountId(paymentAccountState, bankAccountId))
|
|
28
|
-
.filter((value) => value != null);
|
|
29
|
-
return paymentAccounts;
|
|
30
|
-
}
|
|
31
|
-
exports.getPaymentAccountsByBankAccountIds = getPaymentAccountsByBankAccountIds;
|
|
@@ -22,7 +22,6 @@ import { clearAllInsights } from '../insights/insightReducer';
|
|
|
22
22
|
import { clearInsightsCard } from '../../view/insightsCard/insightsCardReducer';
|
|
23
23
|
import { clearAllForecasts } from '../forecast/forecastReducer';
|
|
24
24
|
import { clearPeople } from '../../view/people/peopleReducer';
|
|
25
|
-
import { clearSettingsView } from '../../view/settingsView/settingsViewReducer';
|
|
26
25
|
import { clearAllUsers } from '../user/userReducer';
|
|
27
26
|
import { clearAllUserRoles } from '../userRole/userRoleReducer';
|
|
28
27
|
import { clearReportUIOption } from '../../view/reportUIOptions/reportUIOptionsReducer';
|
|
@@ -135,7 +134,7 @@ import { clearChargeCardList } from '../../view/spendManagement/chargeCards/char
|
|
|
135
134
|
import { clearChargeCardDetail } from '../../view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer';
|
|
136
135
|
import { clearChargeCardSetupView } from '../../view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewReducer';
|
|
137
136
|
import { clearZeniAccountsConfig } from '../../view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigReducer';
|
|
138
|
-
declare type clearActionTypeForViews = ReturnType<typeof clearAccountList> | ReturnType<typeof clearAccountMappingView> | ReturnType<typeof clearActivityHistory> | ReturnType<typeof clearActivityRealTimeApproval> | ReturnType<typeof clearAddressView> | ReturnType<typeof clearAllClasses> | ReturnType<typeof clearApAging> | ReturnType<typeof clearApAgingDetail> | ReturnType<typeof clearArAging> | ReturnType<typeof clearArAgingDetail> | ReturnType<typeof clearBalanceSheet> | ReturnType<typeof clearBankAccountView> | ReturnType<typeof clearBillDetailView> | ReturnType<typeof clearBillList> | ReturnType<typeof clearBillPayCard> | ReturnType<typeof clearBillPayConfig> | ReturnType<typeof clearBillPayReview> | ReturnType<typeof clearBillPaySetupApproverView> | ReturnType<typeof clearBillPaySetupView> | ReturnType<typeof clearCardBalance> | ReturnType<typeof clearCashBalance> | ReturnType<typeof clearCashFlow> | ReturnType<typeof clearCashInCashOut> | ReturnType<typeof clearCashPosition> | ReturnType<typeof clearChargeCardConfig> | ReturnType<typeof clearChargeCardDetail> | ReturnType<typeof clearChargeCardList> | ReturnType<typeof clearChargeCardSetupView> | ReturnType<typeof clearCheckDeposit> | ReturnType<typeof clearCompanyConfigView> | ReturnType<typeof clearCompanyMonthEndReportView> | ReturnType<typeof clearCompanyView> | ReturnType<typeof clearDashboard> | ReturnType<typeof clearDepositAccountDetail> | ReturnType<typeof clearDepositAccountList> | ReturnType<typeof clearDepositAccountTransactionList> | ReturnType<typeof clearEditBillViewDetail> | ReturnType<typeof clearEditRemiViewDetail> | ReturnType<typeof clearEntityAutoCompleteResults> | ReturnType<typeof clearFileViewList> | ReturnType<typeof clearFinanceStatement> | ReturnType<typeof clearForecastList> | ReturnType<typeof clearGlobalMerchantView> | ReturnType<typeof clearInsightsCard> | ReturnType<typeof clearInternationalWire> | ReturnType<typeof clearMerchantList> | ReturnType<typeof clearNetBurnOrIncome> | ReturnType<typeof clearNetBurnOrIncomeClassesView> | ReturnType<typeof clearNetBurnOrIncomeStoryCard> | ReturnType<typeof clearOnboardingCockpitView> | ReturnType<typeof clearOnboardingCustomerView> | ReturnType<typeof clearOpEx> | ReturnType<typeof clearOpExByVendor> | ReturnType<typeof clearOpExClassesView> | ReturnType<typeof clearOwnerList> | ReturnType<typeof clearPaymentAccountList> | ReturnType<typeof clearPeople> | ReturnType<typeof clearPreviousBills> | ReturnType<typeof clearProfitAndLoss> | ReturnType<typeof clearProfitAndLossClassesView> | ReturnType<typeof clearRecommendation> | ReturnType<typeof clearReimbursementCard> | ReturnType<typeof clearReimbursementConfig> | ReturnType<typeof clearRemiDetailView> | ReturnType<typeof clearRemiList> | ReturnType<typeof clearRemiSetupApproverView> | ReturnType<typeof clearRemiSetupView> | ReturnType<typeof clearReportUIOption> | ReturnType<typeof clearRevenue> | ReturnType<typeof clearRevenueClassesView> | ReturnType<typeof clearReviewCompany> | ReturnType<typeof
|
|
137
|
+
declare type clearActionTypeForViews = ReturnType<typeof clearAccountList> | ReturnType<typeof clearAccountMappingView> | ReturnType<typeof clearActivityHistory> | ReturnType<typeof clearActivityRealTimeApproval> | ReturnType<typeof clearAddressView> | ReturnType<typeof clearAllClasses> | ReturnType<typeof clearApAging> | ReturnType<typeof clearApAgingDetail> | ReturnType<typeof clearArAging> | ReturnType<typeof clearArAgingDetail> | ReturnType<typeof clearBalanceSheet> | ReturnType<typeof clearBankAccountView> | ReturnType<typeof clearBillDetailView> | ReturnType<typeof clearBillList> | ReturnType<typeof clearBillPayCard> | ReturnType<typeof clearBillPayConfig> | ReturnType<typeof clearBillPayReview> | ReturnType<typeof clearBillPaySetupApproverView> | ReturnType<typeof clearBillPaySetupView> | ReturnType<typeof clearCardBalance> | ReturnType<typeof clearCashBalance> | ReturnType<typeof clearCashFlow> | ReturnType<typeof clearCashInCashOut> | ReturnType<typeof clearCashPosition> | ReturnType<typeof clearChargeCardConfig> | ReturnType<typeof clearChargeCardDetail> | ReturnType<typeof clearChargeCardList> | ReturnType<typeof clearChargeCardSetupView> | ReturnType<typeof clearCheckDeposit> | ReturnType<typeof clearCompanyConfigView> | ReturnType<typeof clearCompanyMonthEndReportView> | ReturnType<typeof clearCompanyView> | ReturnType<typeof clearDashboard> | ReturnType<typeof clearDepositAccountDetail> | ReturnType<typeof clearDepositAccountList> | ReturnType<typeof clearDepositAccountTransactionList> | ReturnType<typeof clearEditBillViewDetail> | ReturnType<typeof clearEditRemiViewDetail> | ReturnType<typeof clearEntityAutoCompleteResults> | ReturnType<typeof clearFileViewList> | ReturnType<typeof clearFinanceStatement> | ReturnType<typeof clearForecastList> | ReturnType<typeof clearGlobalMerchantView> | ReturnType<typeof clearInsightsCard> | ReturnType<typeof clearInternationalWire> | ReturnType<typeof clearMerchantList> | ReturnType<typeof clearNetBurnOrIncome> | ReturnType<typeof clearNetBurnOrIncomeClassesView> | ReturnType<typeof clearNetBurnOrIncomeStoryCard> | ReturnType<typeof clearOnboardingCockpitView> | ReturnType<typeof clearOnboardingCustomerView> | ReturnType<typeof clearOpEx> | ReturnType<typeof clearOpExByVendor> | ReturnType<typeof clearOpExClassesView> | ReturnType<typeof clearOwnerList> | ReturnType<typeof clearPaymentAccountList> | ReturnType<typeof clearPeople> | ReturnType<typeof clearPreviousBills> | ReturnType<typeof clearProfitAndLoss> | ReturnType<typeof clearProfitAndLossClassesView> | ReturnType<typeof clearRecommendation> | ReturnType<typeof clearReimbursementCard> | ReturnType<typeof clearReimbursementConfig> | ReturnType<typeof clearRemiDetailView> | ReturnType<typeof clearRemiList> | ReturnType<typeof clearRemiSetupApproverView> | ReturnType<typeof clearRemiSetupView> | ReturnType<typeof clearReportUIOption> | ReturnType<typeof clearRevenue> | ReturnType<typeof clearRevenueClassesView> | ReturnType<typeof clearReviewCompany> | ReturnType<typeof clearSetupView> | ReturnType<typeof clearSubscriptionView> | ReturnType<typeof clearTasksCard> | ReturnType<typeof clearTopEx> | ReturnType<typeof clearTransactionDetail> | ReturnType<typeof clearTransactionList> | ReturnType<typeof clearTransferDetail> | ReturnType<typeof clearTrendData> | ReturnType<typeof clearTrendWithTransactions> | ReturnType<typeof clearUserFinancialAccount> | ReturnType<typeof clearUserListView> | ReturnType<typeof clearUserRoleConfigView> | ReturnType<typeof clearVendorGlobalReviewView> | ReturnType<typeof clearVendorView> | ReturnType<typeof clearVendorsList> | ReturnType<typeof clearVendorsTabVendorView> | ReturnType<typeof clearWiseRedirectStatus> | ReturnType<typeof clearZeniAccStatementList> | ReturnType<typeof clearZeniAccountList> | ReturnType<typeof clearZeniAccountsConfig> | ReturnType<typeof clearZeniAccountSetupView>;
|
|
139
138
|
declare type clearActionTypeForEntities = ReturnType<typeof clearAllAccountGroups> | ReturnType<typeof clearAllAccountingSummary> | ReturnType<typeof clearAllAccounts> | ReturnType<typeof clearAllAddresses> | ReturnType<typeof clearAllApprovalRules> | ReturnType<typeof clearAllBankAccounts> | ReturnType<typeof clearAllBillTransactions> | ReturnType<typeof clearAllChargeCards> | ReturnType<typeof clearAllChargeCardTransactions> | ReturnType<typeof clearAllCompanies> | ReturnType<typeof clearAllCurrencies> | ReturnType<typeof clearAllCustomerIncomeTrend> | ReturnType<typeof clearAllCustomers> | ReturnType<typeof clearAllDepositAccounts> | ReturnType<typeof clearAllEntities> | ReturnType<typeof clearAllEntityApprovalStatus> | ReturnType<typeof clearAllFiles> | ReturnType<typeof clearAllForecasts> | ReturnType<typeof clearAllGlobalMerchants> | ReturnType<typeof clearAllInsights> | ReturnType<typeof clearAllMerchants> | ReturnType<typeof clearAllOnboardingCustomersInfo> | ReturnType<typeof clearAllPaymentAccounts> | ReturnType<typeof clearAllPaymentInstruments> | ReturnType<typeof clearAllRecurringBills> | ReturnType<typeof clearAllReimbursements> | ReturnType<typeof clearAllSectionsAccountsView> | ReturnType<typeof clearAllSectionsClassesViewV2> | ReturnType<typeof clearAllSubscriptionAddOns> | ReturnType<typeof clearAllSubscriptionCoupons> | ReturnType<typeof clearAllSubscriptionPlans> | ReturnType<typeof clearAllSubscriptionSummary> | ReturnType<typeof clearAllSubscriptions> | ReturnType<typeof clearAllTransactions> | ReturnType<typeof clearAllUserRoles> | ReturnType<typeof clearAllUsers> | ReturnType<typeof clearAllVendorExpenseTrends> | ReturnType<typeof clearAllVendors> | ReturnType<typeof clearClassList> | ReturnType<typeof clearContacts> | ReturnType<typeof clearDepositAccountTransaction> | ReturnType<typeof clearSnackbar>;
|
|
140
139
|
export declare type ActionType = clearActionTypeForViews | clearActionTypeForEntities | ReturnType<typeof clearAll>;
|
|
141
140
|
export declare const clearAllEpic: (actions$: ActionsObservable<ActionType>) => import("rxjs").Observable<ActionType>;
|
|
@@ -26,7 +26,6 @@ const insightReducer_1 = require("../insights/insightReducer");
|
|
|
26
26
|
const insightsCardReducer_1 = require("../../view/insightsCard/insightsCardReducer");
|
|
27
27
|
const forecastReducer_1 = require("../forecast/forecastReducer");
|
|
28
28
|
const peopleReducer_1 = require("../../view/people/peopleReducer");
|
|
29
|
-
const settingsViewReducer_1 = require("../../view/settingsView/settingsViewReducer");
|
|
30
29
|
const userReducer_1 = require("../user/userReducer");
|
|
31
30
|
const userRoleReducer_1 = require("../userRole/userRoleReducer");
|
|
32
31
|
const reportUIOptionsReducer_1 = require("../../view/reportUIOptions/reportUIOptionsReducer");
|
|
@@ -217,7 +216,6 @@ const clearAllEpic = (actions$) => actions$.pipe((0, operators_1.filter)(tenantR
|
|
|
217
216
|
(0, revenueReducer_1.clearRevenue)(),
|
|
218
217
|
(0, revenueClassesViewReducer_1.clearRevenueClassesView)(),
|
|
219
218
|
(0, reviewCompanyViewReducer_1.clearReviewCompany)(),
|
|
220
|
-
(0, settingsViewReducer_1.clearSettingsView)(),
|
|
221
219
|
(0, setupViewReducer_1.clearSetupView)(),
|
|
222
220
|
(0, subscriptionViewReducer_1.clearSubscriptionView)(),
|
|
223
221
|
(0, tasksCardReducer_1.clearTasksCard)(),
|
package/lib/epic.d.ts
CHANGED
|
@@ -40,10 +40,6 @@ import { ActionType as ProfitAndLossClassesViewActionType } from './view/profitA
|
|
|
40
40
|
import { ActionType as ProfitAndLossForTimeframeClassesViewActionType } from './view/profitAndLossClassesView/profitAndLossForTimeframeClassesViewEpic';
|
|
41
41
|
import { ActionType as PeoplePageActionType } from './view/people/peoplePageEpic';
|
|
42
42
|
import { ActionType as PeopleActionType } from './view/people/fetchPeopleEpic';
|
|
43
|
-
import { ActionType as FetchMyProfileActionType } from './view/settingsView/epic/fetchMyProfileEpic';
|
|
44
|
-
import { ActionType as FetchBankAccountsListEpic } from './view/settingsView/epic/fetchBankAccountsListEpic';
|
|
45
|
-
import { ActionType as FetchMyProfileViewActionType } from './view/settingsView/epic/fetchMyProfileViewEpic';
|
|
46
|
-
import { ActionType as FetchBankConnectionsViewActionType } from './view/settingsView/epic/fetchBankConnectionsViewEpic';
|
|
47
43
|
import { ActionType as DeletePersonActionType } from './view/people/deletePersonEpic';
|
|
48
44
|
import { ActionType as ResendInviteActionType } from './view/people/resendInviteEpic';
|
|
49
45
|
import { ActionType as BalanceSheetActionType } from './view/balanceSheet/balanceSheetEpic';
|
|
@@ -312,6 +308,6 @@ import { ActionType as FetchGlobalMerchantAutoCompleteActionType } from './view/
|
|
|
312
308
|
import { ActionType as FetchArAgingActionType } from './view/arAgingView/arAgingReport/fetchArAgingEpic';
|
|
313
309
|
import { ActionType as FetchArAgingDetailActionType } from './view/arAgingView/arAgingDetail/fetchArAgingDetailEpic';
|
|
314
310
|
/** Root action type is union of all the epic action type */
|
|
315
|
-
export declare type RootActionType = AcceptBillPayTermsActionType | AcceptBillPayUpdatedTermsActionType | AcceptChargeCardTermsActionType | AcceptEmployeeRemiTermsActionType | AcceptRemiTermsActionType | AcceptZeniAccountTermsActionType | ApproveOrRejectBillActionType | ApproveOrRejectRemiEpicActionType | ApproveVendorGlobalReviewActionType | BalanceSheetActionType | BalanceSheetForTimeframeActionType | CancelAndDeleteBillEpicActionType | CancelAndDeleteRemiEpicActionType | CardBalanceActionType | CashBalanceActionType | CashFlowActionType | CashFlowForTimeframeActionType | CashInCashOutActionType | CashPositionActionType | ChangeZeniPersonRolesActionType | CheckDepositEpicActionType | ClearAllActionType | CombinedStatementActionType | CompanyManagementSavePendingUpdatesActionType | CompanyManagementSaveUpdatesActionType | CreateAddressActionType | CreateBankAccountActionType | CreateCheckingAccountEpicActionType | CreateCompanyAddressActionType | CreateCompanyOfficersEpicActionType | CreateCompanyUserAddressActionType | CreateGlobalMerchantActionType | CreatePaymentInstrumentActionType | CreateUserBankAccountActionType | CurrencyConversionEpicActionType | DeleteBankAccountActionType | DeleteBillEpicActionType | DeleteBillPayApprovalRuleActionType | DeleteFileEpicActionType | DeleteFileListEpicActionType | DeletePaymentInstrumentActionType | DeletePersonActionType | DeleteRemiApprovalRuleActionType | DeleteRemiEpicActionType | DeleteUserBankAccountActionType | DepositAccountTransactionListEpicActionType | EnableSetupActionType | EstablishOnboardingPlaidConnectionActionType | EstablishPlaidConnectionActionType | FetchAccountHistoryActionType | FetchAccountListActionType | FetchAccountListForAccountTypesActionType | FetchActiveTenantActionType | FetchAddressActionType | FetchAllCockpitViewsEpicActionType | FetchAllPeopleRequiredActionType | FetchAllTenantsActionType | FetchApAgingActionType | FetchApAgingDetailActionType | FetchArAgingActionType | FetchArAgingDetailActionType | FetchBankAccountsListEpic | FetchBankConnectionsViewActionType | FetchBankCountryNameByIbanEpicActionType | FetchBankNameByRoutingEpicActionType | FetchBankNameBySwiftEpicActionType | FetchBillAndInitializeLocalStoreActionType | FetchBillDetailEpicActionType | FetchBillListEpicActionType | FetchBillListPerTabEpicActionType | FetchBillPayApproversDetailsActionType | FetchBillPayApproversListActionType | FetchBillPayCardEpicActionType | FetchBillPayConfigActionType | FetchBillPaySetupApproverViewActionType | FetchBillPaySetupViewActionType | FetchChargeCardConfigActionType | FetchChargeCardDetailActionType | FetchChargeCardDetailPageActionType | FetchChargeCardListActionType | FetchChargeCardListPageActionType | FetchChargeCardSetupViewActionType | FetchChargeCardTransactionListActionType | FetchClassListActionType | FetchCompanyConfigActionType | FetchCompanyManagementActionType | FetchCompanyMonthEndReportViewActionType | FetchCompanyOnboardingViewActionType | FetchCompanyPassportViewActionType | FetchCompanyPortfolioActionType | FetchCreditAccountActionType | FetchCurrencyConversionValueEpicActionType | FetchDashboardActionType | FetchDepositAccountActionType | FetchDepositAccountDetailEpicActionType | FetchDepositAccountListActionType | FetchDepositAccStatementListActionType | FetchDuplicateBillEpicActionType | FetchEditBillDetailPageEpicActionType | FetchEditRemiDetailPageEpicActionType | FetchEntityAutoCompleteActionType | FetchEntityHistoryActionType | FetchExcludedResourcesActionType | FetchExpenseTrendActionType | FetchExternalConnectionsActionType | FetchFileActionType | FetchFileListEpicActionType | FetchForecastListActionType | FetchGlobalMerchantAutoCompleteActionType | FetchGlobalMerchantRecommendationActionType | FetchIncomeTrendActionType | FetchInternationalWireDynamicFormActionType | FetchMagicLinkBankNameByRoutingEpicActionType | FetchMagicLinkBankNameBySwiftEpicActionType | FetchMagicLinkBillEpicActionType | FetchMagicLinkTenantEpicActionType | FetchManagementActionType | FetchMerchantListEpicActionType | FetchMyProfileActionType | FetchNetBurnOrIncomeStoryCardActionType | FetchNetBurnOrIncomeWithForecastActionType | FetchOnboardingActionType | FetchOnboardingCompletedCompaniesActionType | FetchOnboardingCustomerSetupViewActionType | FetchOnboardingCustomerViewActionType | FetchOpExWithForecastActionType | FetchOwnerListActionType | FetchParentSubsidiaryManagementActionType | FetchPaymentAccountListActionType | FetchPortfolioActionType | FetchPreviousBillsEpicActionType | FetchRecommendationByEntityIdActionType | FetchRecommendationByEntityNameActionType | FetchRecommendationByEntityQboIdActionType | FetchRecommendationsAndUpdateMerchantRecommendationsEpicActionType | FetchRecommendationsAndUpdateVendorRecommendationsEpicActionType | FetchReimbursementCardEpicActionType | FetchReimbursementConfigEpicActionType | FetchRemiAndInitializeLocalStoreEpicActionType | FetchRemiApproversDetailsActionType | FetchRemiApproversListActionType | FetchRemiDetailEpicActionType | FetchRemiListEpicActionType | FetchRemiListPerTabEpicActionType | FetchRemiSetupApproverViewActionType | FetchRemiSetupViewActionType | FetchRevenueWithForecastActionType | FetchReviewCompanyActionType | FetchSubscriptionActionType | FetchSubscriptionAddOnsEpicActionType | FetchSubscriptionCouponsActionType | FetchSubscriptionCreateEstimateActionType | FetchSubscriptionDetailsActionType | FetchSubscriptionListActionType | FetchSubscriptionPlansActionType | FetchSubscriptionSummaryForTenantActionType | FetchSubscriptionUpdateEstimateActionType | FetchTasksCardActionType | FetchTransactionDetailActionType | FetchTransactionListByAccountActionType | FetchTransactionListByClassActionType | FetchTransactionListByEntityActionType | FetchTransactionsForEntityActionType | FetchTransactionsListByCategoryTypeEpicActionType | FetchTrendForEntityActionType | FetchUserDetailActionType | FetchUserFinancialAccountActionType | FetchUserListByTypeActionType | FetchUserRoleConfigActionType | FetchVendorActionType | FetchVendorByNameAndParseInvoiceActionType | FetchVendorDetailsEpicActionType | FetchVendorFirstReviewViewActionType | FetchVendorGlobalReviewViewActionType | FetchVendorTypeListEpicActionType | FetchVendorsActionType | FetchZeniAccountListPageActionType | FetchZeniAccountsConfigActionType | FetchZeniAccountSetupViewActionType | FetchZeniAccStatePageActionType | FetchZeniUsersActionType | GetOnboardingEmailGroupActionType | GetOnboardingPlaidLinkTokenActionType | GetPaymentAccountsActionType | GetPlaidLinkTokenActionType | ImproveUsingZeniGPTActionType | InitializeAccountMappingViewActionType | InitializeBillPaySetupApproverViewUpdateDataActionType | InitializeBillToLocalStoreEpicActionType | InitializeEditPersonActionType | InitializeInternationalWireLocalDataActionType | InitializeOnboardingCustomerViewUpdateDataActionType | InitializeRemiSetupApproverViewUpdateDataActionType | InitializeRemiToLocalStoreEpicActionType | InitializeSubscriptionLocalDataActionType | InitializeTransactionDetailLocalDataActionType | InitializeVendorAddressActionType | InsightsCardActionType | InvitePeopleActionType | InviteZeniPeopleActionType | IssueChargeCardActionType | MarkTransactionAsNotMiscategorizedActionType | FetchMyProfileViewActionType | NetBurnOrIncomeActionType | NetBurnOrIncomeClassesViewActionType | NetBurnOrIncomeForTimeframeActionType | NetBurnOrIncomeForTimeframeClassesViewActionType | OpExActionType | OpExByVendorReportActionType | OpExByVendorReportForTimeframeActionType | OpExByVendorReportSummaryActionType | OpExClassesViewActionType | OpExForTimeframeClassesViewActionType | OpExForTimeframeViewActionType | ParallelFetchAccountTransactionListActionType | ParallelFetchClassTransactionListActionType | ParallelFetchEntityTransactionListActionType | ParallelFetchTransactionListByCategoryTypeEpicActionType | ParseInvoiceToBillEpicActionType | ParseReceiptsToRemiEpicActionType | PeopleActionType | PeoplePageActionType | PeopleSaveUpdatesActionType | ProfitAndLossActionType | ProfitAndLossClassesViewActionType | ProfitAndLossForTimeframeActionType | ProfitAndLossForTimeframeClassesViewActionType | RecommendationForAccountTypeActionType | ResendInviteActionType | ResendOnboardingOfficerOtpActionType | ResendOtpActionType | ResetTransactionVendorLocalDataEpicActionType | ResetVendorDetailLocalDataEpicActionType | RetryBankAccountConnectionActionType | RetryBankAccountConnectionForOnboardingActionType | RevenueActionType | RevenueClassesViewActionType | RevenueForTimeframeClassesViewActionType | RevenueForTimeframeViewActionType | SaveAccountMappingViewActionType | SaveAddressActionType | SaveBillDetailEpicActionType | SaveBillPaySetupApproverViewUpdatesActionType | SaveCompanyMonthEndReportActionType | SaveCompanyPassportDetailsActionType | SaveExternalConnectionActionType | SaveMagicLinkBankAccountEpicActionType | SaveOnboardingCustomerCompletedStatusActionType | SaveOnboardingCustomerNotesActionType | SaveOnboardingCustomerViewUpdatesActionType | SaveRealTimeApprovalActionType | SaveRemiDetailEpicActionType | SaveRemiSetupApproverViewUpdatesActionType | SaveSubscriptionNotesUpdatesActionType | SaveSubscriptionUpdatesActionType | SaveTranactionVendorActionType | SaveTransactionDetailActionType | SaveVendorActionType | SaveVendorFirstReviewViewActionType | SendCompanyMonthEndReportActionType | SendOnboardingCustomerViewInviteActionType | SendOnboardingOfficerOtpActionType | SendOtpActionType | SignInActionType | SignOutActionType | StatementCloseDayActionType | ToggleReportUIOptionForecastModeEpicActionType | TopExActionType | TransferMoneyEpicActionType | UnlinkPaymentAccountActionType | UpdateAddressActionType | UpdateBusinessVerificationDetailsActionType | UpdateCompanyDetailsActionType | UpdateCompanyOfficerActionType | UpdateCompanyPassportLocalStoreDataActionType | UpdateDepositAccountActionType | UpdateDynamicFormActionType | UpdateFileNameEpicActionType | UpdateFilesMetadataEpicActionType | UpdateMileageDetailsActionType | UpdateNetBurnOrIncomeStoryCardSettingsActionType | UpdateOnboardingCustomerViewActionType | UpdateOnboardingCustomerViewCompleteStatusActionType | UpdateOnboardingCustomerViewLocalStoreDataActionType | UpdateOnboardingPaymentAccountLoginStatusActionType | UpdateOnboardingPaymentAccountStatusActionType | UpdatePaymentAccountActionType | UpdatePaymentAccountLoginStatusActionType | UpdatePaymentAccountStatusActionType | UpdatePrimaryContactActionType | UpdateRemiSetupViewLocalStoreDataActionType | UpdateReportUIOptionCOABalancesRangeEpicActionType | UpdateReportUIOptionIsCompareModeEpicActionType | UpdateReportUIOptionIsCompareModeOnEpicActionType | UpdateReportUIOptionThisPeriodActionType | UpdateReportUIOptionTimeFrameActionType | UpdateSectionAccountsViewActionType | UpdateSectionClassesViewV2ActionType | UpdateSelectedVendorForCreateFlowActionType | UpdateSetupViewLocalStoreDataActionType | UpdateTransactionDetailActionType | UpdateTransactionOnUploadSuccessActionType | UpdateVendorContactEpicActionType | VendorsTabFetchVendorActionType | VendorsTabFetchVendorDetailPageViewEpicActionType | VendorsTabFetchVendorDetailsEpicActionType | VendorsTabResetVendorDetailLocalDataEpicActionType | VendorsTabSaveVendorActionType | VendorViewResendOtpActionType | VendorViewSendOtpActionType | VendorViewVerifyOtpActionType | VerifyOnboardingOfficerOtpActionType | VerifyOtpActionType | VerifyUserActionType | WiseRedirectEpicActionType;
|
|
311
|
+
export declare type RootActionType = AcceptBillPayTermsActionType | AcceptBillPayUpdatedTermsActionType | AcceptChargeCardTermsActionType | AcceptEmployeeRemiTermsActionType | AcceptRemiTermsActionType | AcceptZeniAccountTermsActionType | ApproveOrRejectBillActionType | ApproveOrRejectRemiEpicActionType | ApproveVendorGlobalReviewActionType | BalanceSheetActionType | BalanceSheetForTimeframeActionType | CancelAndDeleteBillEpicActionType | CancelAndDeleteRemiEpicActionType | CardBalanceActionType | CashBalanceActionType | CashFlowActionType | CashFlowForTimeframeActionType | CashInCashOutActionType | CashPositionActionType | ChangeZeniPersonRolesActionType | CheckDepositEpicActionType | ClearAllActionType | CombinedStatementActionType | CompanyManagementSavePendingUpdatesActionType | CompanyManagementSaveUpdatesActionType | CreateAddressActionType | CreateBankAccountActionType | CreateCheckingAccountEpicActionType | CreateCompanyAddressActionType | CreateCompanyOfficersEpicActionType | CreateCompanyUserAddressActionType | CreateGlobalMerchantActionType | CreatePaymentInstrumentActionType | CreateUserBankAccountActionType | CurrencyConversionEpicActionType | DeleteBankAccountActionType | DeleteBillEpicActionType | DeleteBillPayApprovalRuleActionType | DeleteFileEpicActionType | DeleteFileListEpicActionType | DeletePaymentInstrumentActionType | DeletePersonActionType | DeleteRemiApprovalRuleActionType | DeleteRemiEpicActionType | DeleteUserBankAccountActionType | DepositAccountTransactionListEpicActionType | EnableSetupActionType | EstablishOnboardingPlaidConnectionActionType | EstablishPlaidConnectionActionType | FetchAccountHistoryActionType | FetchAccountListActionType | FetchAccountListForAccountTypesActionType | FetchActiveTenantActionType | FetchAddressActionType | FetchAllCockpitViewsEpicActionType | FetchAllPeopleRequiredActionType | FetchAllTenantsActionType | FetchApAgingActionType | FetchApAgingDetailActionType | FetchArAgingActionType | FetchArAgingDetailActionType | FetchBankCountryNameByIbanEpicActionType | FetchBankNameByRoutingEpicActionType | FetchBankNameBySwiftEpicActionType | FetchBillAndInitializeLocalStoreActionType | FetchBillDetailEpicActionType | FetchBillListEpicActionType | FetchBillListPerTabEpicActionType | FetchBillPayApproversDetailsActionType | FetchBillPayApproversListActionType | FetchBillPayCardEpicActionType | FetchBillPayConfigActionType | FetchBillPaySetupApproverViewActionType | FetchBillPaySetupViewActionType | FetchChargeCardConfigActionType | FetchChargeCardDetailActionType | FetchChargeCardDetailPageActionType | FetchChargeCardListActionType | FetchChargeCardListPageActionType | FetchChargeCardSetupViewActionType | FetchChargeCardTransactionListActionType | FetchClassListActionType | FetchCompanyConfigActionType | FetchCompanyManagementActionType | FetchCompanyMonthEndReportViewActionType | FetchCompanyOnboardingViewActionType | FetchCompanyPassportViewActionType | FetchCompanyPortfolioActionType | FetchCreditAccountActionType | FetchCurrencyConversionValueEpicActionType | FetchDashboardActionType | FetchDepositAccountActionType | FetchDepositAccountDetailEpicActionType | FetchDepositAccountListActionType | FetchDepositAccStatementListActionType | FetchDuplicateBillEpicActionType | FetchEditBillDetailPageEpicActionType | FetchEditRemiDetailPageEpicActionType | FetchEntityAutoCompleteActionType | FetchEntityHistoryActionType | FetchExcludedResourcesActionType | FetchExpenseTrendActionType | FetchExternalConnectionsActionType | FetchFileActionType | FetchFileListEpicActionType | FetchForecastListActionType | FetchGlobalMerchantAutoCompleteActionType | FetchGlobalMerchantRecommendationActionType | FetchIncomeTrendActionType | FetchInternationalWireDynamicFormActionType | FetchMagicLinkBankNameByRoutingEpicActionType | FetchMagicLinkBankNameBySwiftEpicActionType | FetchMagicLinkBillEpicActionType | FetchMagicLinkTenantEpicActionType | FetchManagementActionType | FetchMerchantListEpicActionType | FetchNetBurnOrIncomeStoryCardActionType | FetchNetBurnOrIncomeWithForecastActionType | FetchOnboardingActionType | FetchOnboardingCompletedCompaniesActionType | FetchOnboardingCustomerSetupViewActionType | FetchOnboardingCustomerViewActionType | FetchOpExWithForecastActionType | FetchOwnerListActionType | FetchParentSubsidiaryManagementActionType | FetchPaymentAccountListActionType | FetchPortfolioActionType | FetchPreviousBillsEpicActionType | FetchRecommendationByEntityIdActionType | FetchRecommendationByEntityNameActionType | FetchRecommendationByEntityQboIdActionType | FetchRecommendationsAndUpdateMerchantRecommendationsEpicActionType | FetchRecommendationsAndUpdateVendorRecommendationsEpicActionType | FetchReimbursementCardEpicActionType | FetchReimbursementConfigEpicActionType | FetchRemiAndInitializeLocalStoreEpicActionType | FetchRemiApproversDetailsActionType | FetchRemiApproversListActionType | FetchRemiDetailEpicActionType | FetchRemiListEpicActionType | FetchRemiListPerTabEpicActionType | FetchRemiSetupApproverViewActionType | FetchRemiSetupViewActionType | FetchRevenueWithForecastActionType | FetchReviewCompanyActionType | FetchSubscriptionActionType | FetchSubscriptionAddOnsEpicActionType | FetchSubscriptionCouponsActionType | FetchSubscriptionCreateEstimateActionType | FetchSubscriptionDetailsActionType | FetchSubscriptionListActionType | FetchSubscriptionPlansActionType | FetchSubscriptionSummaryForTenantActionType | FetchSubscriptionUpdateEstimateActionType | FetchTasksCardActionType | FetchTransactionDetailActionType | FetchTransactionListByAccountActionType | FetchTransactionListByClassActionType | FetchTransactionListByEntityActionType | FetchTransactionsForEntityActionType | FetchTransactionsListByCategoryTypeEpicActionType | FetchTrendForEntityActionType | FetchUserDetailActionType | FetchUserFinancialAccountActionType | FetchUserListByTypeActionType | FetchUserRoleConfigActionType | FetchVendorActionType | FetchVendorByNameAndParseInvoiceActionType | FetchVendorDetailsEpicActionType | FetchVendorFirstReviewViewActionType | FetchVendorGlobalReviewViewActionType | FetchVendorTypeListEpicActionType | FetchVendorsActionType | FetchZeniAccountListPageActionType | FetchZeniAccountsConfigActionType | FetchZeniAccountSetupViewActionType | FetchZeniAccStatePageActionType | FetchZeniUsersActionType | GetOnboardingEmailGroupActionType | GetOnboardingPlaidLinkTokenActionType | GetPaymentAccountsActionType | GetPlaidLinkTokenActionType | ImproveUsingZeniGPTActionType | InitializeAccountMappingViewActionType | InitializeBillPaySetupApproverViewUpdateDataActionType | InitializeBillToLocalStoreEpicActionType | InitializeEditPersonActionType | InitializeInternationalWireLocalDataActionType | InitializeOnboardingCustomerViewUpdateDataActionType | InitializeRemiSetupApproverViewUpdateDataActionType | InitializeRemiToLocalStoreEpicActionType | InitializeSubscriptionLocalDataActionType | InitializeTransactionDetailLocalDataActionType | InitializeVendorAddressActionType | InsightsCardActionType | InvitePeopleActionType | InviteZeniPeopleActionType | IssueChargeCardActionType | MarkTransactionAsNotMiscategorizedActionType | NetBurnOrIncomeActionType | NetBurnOrIncomeClassesViewActionType | NetBurnOrIncomeForTimeframeActionType | NetBurnOrIncomeForTimeframeClassesViewActionType | OpExActionType | OpExByVendorReportActionType | OpExByVendorReportForTimeframeActionType | OpExByVendorReportSummaryActionType | OpExClassesViewActionType | OpExForTimeframeClassesViewActionType | OpExForTimeframeViewActionType | ParallelFetchAccountTransactionListActionType | ParallelFetchClassTransactionListActionType | ParallelFetchEntityTransactionListActionType | ParallelFetchTransactionListByCategoryTypeEpicActionType | ParseInvoiceToBillEpicActionType | ParseReceiptsToRemiEpicActionType | PeopleActionType | PeoplePageActionType | PeopleSaveUpdatesActionType | ProfitAndLossActionType | ProfitAndLossClassesViewActionType | ProfitAndLossForTimeframeActionType | ProfitAndLossForTimeframeClassesViewActionType | RecommendationForAccountTypeActionType | ResendInviteActionType | ResendOnboardingOfficerOtpActionType | ResendOtpActionType | ResetTransactionVendorLocalDataEpicActionType | ResetVendorDetailLocalDataEpicActionType | RetryBankAccountConnectionActionType | RetryBankAccountConnectionForOnboardingActionType | RevenueActionType | RevenueClassesViewActionType | RevenueForTimeframeClassesViewActionType | RevenueForTimeframeViewActionType | SaveAccountMappingViewActionType | SaveAddressActionType | SaveBillDetailEpicActionType | SaveBillPaySetupApproverViewUpdatesActionType | SaveCompanyMonthEndReportActionType | SaveCompanyPassportDetailsActionType | SaveExternalConnectionActionType | SaveMagicLinkBankAccountEpicActionType | SaveOnboardingCustomerCompletedStatusActionType | SaveOnboardingCustomerNotesActionType | SaveOnboardingCustomerViewUpdatesActionType | SaveRealTimeApprovalActionType | SaveRemiDetailEpicActionType | SaveRemiSetupApproverViewUpdatesActionType | SaveSubscriptionNotesUpdatesActionType | SaveSubscriptionUpdatesActionType | SaveTranactionVendorActionType | SaveTransactionDetailActionType | SaveVendorActionType | SaveVendorFirstReviewViewActionType | SendCompanyMonthEndReportActionType | SendOnboardingCustomerViewInviteActionType | SendOnboardingOfficerOtpActionType | SendOtpActionType | SignInActionType | SignOutActionType | StatementCloseDayActionType | ToggleReportUIOptionForecastModeEpicActionType | TopExActionType | TransferMoneyEpicActionType | UnlinkPaymentAccountActionType | UpdateAddressActionType | UpdateBusinessVerificationDetailsActionType | UpdateCompanyDetailsActionType | UpdateCompanyOfficerActionType | UpdateCompanyPassportLocalStoreDataActionType | UpdateDepositAccountActionType | UpdateDynamicFormActionType | UpdateFileNameEpicActionType | UpdateFilesMetadataEpicActionType | UpdateMileageDetailsActionType | UpdateNetBurnOrIncomeStoryCardSettingsActionType | UpdateOnboardingCustomerViewActionType | UpdateOnboardingCustomerViewCompleteStatusActionType | UpdateOnboardingCustomerViewLocalStoreDataActionType | UpdateOnboardingPaymentAccountLoginStatusActionType | UpdateOnboardingPaymentAccountStatusActionType | UpdatePaymentAccountActionType | UpdatePaymentAccountLoginStatusActionType | UpdatePaymentAccountStatusActionType | UpdatePrimaryContactActionType | UpdateRemiSetupViewLocalStoreDataActionType | UpdateReportUIOptionCOABalancesRangeEpicActionType | UpdateReportUIOptionIsCompareModeEpicActionType | UpdateReportUIOptionIsCompareModeOnEpicActionType | UpdateReportUIOptionThisPeriodActionType | UpdateReportUIOptionTimeFrameActionType | UpdateSectionAccountsViewActionType | UpdateSectionClassesViewV2ActionType | UpdateSelectedVendorForCreateFlowActionType | UpdateSetupViewLocalStoreDataActionType | UpdateTransactionDetailActionType | UpdateTransactionOnUploadSuccessActionType | UpdateVendorContactEpicActionType | VendorsTabFetchVendorActionType | VendorsTabFetchVendorDetailPageViewEpicActionType | VendorsTabFetchVendorDetailsEpicActionType | VendorsTabResetVendorDetailLocalDataEpicActionType | VendorsTabSaveVendorActionType | VendorViewResendOtpActionType | VendorViewSendOtpActionType | VendorViewVerifyOtpActionType | VerifyOnboardingOfficerOtpActionType | VerifyOtpActionType | VerifyUserActionType | WiseRedirectEpicActionType;
|
|
316
312
|
declare const rootEpic: Epic<RootActionType>;
|
|
317
313
|
export default rootEpic;
|
package/lib/epic.js
CHANGED
|
@@ -44,10 +44,6 @@ const profitAndLossClassesViewEpic_1 = require("./view/profitAndLossClassesView/
|
|
|
44
44
|
const profitAndLossForTimeframeClassesViewEpic_1 = require("./view/profitAndLossClassesView/profitAndLossForTimeframeClassesViewEpic");
|
|
45
45
|
const peoplePageEpic_1 = require("./view/people/peoplePageEpic");
|
|
46
46
|
const fetchPeopleEpic_1 = require("./view/people/fetchPeopleEpic");
|
|
47
|
-
const fetchMyProfileEpic_1 = require("./view/settingsView/epic/fetchMyProfileEpic");
|
|
48
|
-
const fetchBankAccountsListEpic_1 = require("./view/settingsView/epic/fetchBankAccountsListEpic");
|
|
49
|
-
const fetchMyProfileViewEpic_1 = require("./view/settingsView/epic/fetchMyProfileViewEpic");
|
|
50
|
-
const fetchBankConnectionsViewEpic_1 = require("./view/settingsView/epic/fetchBankConnectionsViewEpic");
|
|
51
47
|
const invitePeopleEpic_1 = require("./view/people/invitePeopleEpic");
|
|
52
48
|
const deletePersonEpic_1 = require("./view/people/deletePersonEpic");
|
|
53
49
|
const resendInviteEpic_1 = require("./view/people/resendInviteEpic");
|
|
@@ -319,7 +315,7 @@ const fetchGlobalMerchantAutoCompleteViewEpic_1 = require("./view/globalMerchant
|
|
|
319
315
|
const fetchArAgingEpic_1 = require("./view/arAgingView/arAgingReport/fetchArAgingEpic");
|
|
320
316
|
const fetchArAgingDetailEpic_1 = require("./view/arAgingView/arAgingDetail/fetchArAgingDetailEpic");
|
|
321
317
|
// Note: Please maintain strict alphabetical order
|
|
322
|
-
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, 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, createInternationalPaymentInstrumentEpic_1.createPaymentInstrumentEpic, createUserBankAccountEpic_1.createUserBankAccountEpic, deleteBankAccountEpic_1.deleteBankAccountEpic, deleteBillEpic_1.deleteBillEpic, deleteBillPayApprovalRuleEpic_1.deleteBillPayApprovalRuleEpic, deleteFileEpic_1.deleteFileEpic, deleteFileListEpic_1.deleteFileListEpic, deletePaymentInstrumentEpic_1.deletePaymentInstrumentEpic, deletePersonEpic_1.deletePersonEpic, deleteRemiApprovalRuleEpic_1.deleteRemiApprovalRuleEpic, deleteRemiEpic_1.deleteRemiEpic, 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, fetchAllTenantsEpic_1.fetchAllTenantsEpic, fetchAndUpdateVendorRecommendationsEpic_1.fetchAndUpdateVendorRecommendationsEpic, fetchApAgingDetailEpic_1.fetchApAgingDetailEpic, fetchApAgingEpic_1.fetchApAgingEpic, fetchArAgingDetailEpic_1.fetchArAgingDetailEpic, fetchArAgingEpic_1.fetchArAgingEpic, 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, companyConfigEpic_1.fetchCompanyConfigEpic, fetchCompanyManagementViewEpic_1.fetchCompanyManagementViewEpic, fetchCompanyMonthEndReportViewEpic_1.fetchCompanyMonthEndReportViewEpic, fetchCompanyOnboardingViewEpic_1.fetchCompanyOnboardingViewEpic, fetchCompanyPassportViewEpic_1.fetchCompanyPassportViewEpic, fetchCompanyPortfolioViewEpic_1.fetchCompanyPortfolioViewEpic, fetchCreditAccountEpic_1.fetchCreditAccountEpic, fetchCurrencyConversionValueEpic_1.fetchCurrencyConversionValueEpic, dashboardEpic_1.fetchDashboardEpic, fetchDepositAccountDetailEpic_1.fetchDepositAccountDetailEpic, fetchDepositAccountEpic_1.fetchDepositAccountEpic, fetchDepositAccountHistoryEpic_1.fetchDepositAccountHistoryEpic, fetchDepositAccountListEpic_1.fetchDepositAccountListEpic, fetchDepositAccountTransactionListEpic_1.fetchDepositAccountTransactionListEpic, fetchDuplicateBillEpic_1.fetchDuplicateBillPayReviewEpic, fetchEditBillDetailPageEpic_1.fetchEditBillDetailPageEpic, fetchEditRemiDetailPageEpic_1.fetchEditRemiDetailPageEpic, fetchEntityAutoCompleteEpic_1.fetchEntityAutoCompleteEpic, fetchEntityHistoryEpic_1.fetchEntityHistoryEpic, 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, 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, fetchRecommendationByEntityQboIdEpic_1.fetchRecommendationByEntityQboIdEpic, fetchRecommendationForAccountTypeEpic_1.fetchRecommendationForAccountTypeEpic, fetchRecommendationsAndUpdateMerchantRecommendationsEpic_1.fetchRecommendationsAndUpdateMerchantRecommendationsEpic, 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, 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, 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, fetchVendorByNameAndParseInvoice_1.fetchVendorByNameAndParseInvoiceEpic, fetchVendorDetailsEpic_1.fetchVendorDetailsEpic, fetchVendorEpic_1.fetchVendorEpic, fetchVendorFirstReviewViewEpic_1.fetchVendorFirstReviewViewEpic, fetchVendorGlobalReviewViewEpic_1.fetchVendorGlobalReviewViewEpic, vendorTypeListEpic_1.fetchVendorTypeListEpic, fetchVendorsListEpic_1.fetchVendorsListEpic, fetchVendorsTabVendorDetailPageViewEpic_1.fetchVendorsTabVendorDetailPageViewEpic, fetchVendorsTabVendorDetailsEpic_1.fetchVendorsTabVendorDetailsEpic, fetchVendorsTabVendorEpic_1.fetchVendorsTabVendorEpic, vendorTypeListEpic_1.fetchVendorTypeListEpic, fetchZeniAccountListPageEpic_1.fetchZeniAccountListEpic, fetchZeniAccountsConfigEpic_1.fetchZeniAccountsConfigEpic, fetchZeniAccountSetupViewEpic_1.fetchZeniAccountSetupViewEpic, fetchZeniAccStatementListEpic_1.fetchZeniAccStatementListEpic, fetchZeniAccStatementPageEpic_1.fetchZeniAccStatementPageEpic, 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, initializeDynamicFormEpic_1.initializeDynamicFormEpic, initializeEditPersonEpic_1.initializeEditPersonEpic, initializeInternationalWireLocalDataEpic_1.initializeInternationalWireLocalDataEpic, initializeOnboardingCustomerViewUpdateDataEpic_1.initializeOnboardingCustomerViewUpdateDataEpic, initializeRemiSetupApproverViewUpdateDataEpic_1.initializeRemiSetupApproverViewUpdateDataEpic, initializeRemiToLocalStoreEpic_1.initializeRemiToLocalStoreEpic, initializeSubscriptionLocalDataEpic_1.initializeSubscriptionLocalDataEpic, initializeTransactionDetailLocalDataEpic_1.initializeTransactionDetailLocalDataEpic, initializeVendorAddressEpic_1.initializeVendorAddressEpic, invitePeopleEpic_1.invitePeopleEpic, inviteZeniPeopleEpic_1.inviteZeniPeopleEpic, issueChargeCardEpic_1.issueChargeCardEpic, markTransactionAsNotMiscategorizedEpic_1.markTransactionAsNotMiscategorizedEpic, parallelFetchAccountTransactionListEpic_1.parallelFetchAccountTransactionListEpic, parallelFetchClassTransactionListEpic_1.parallelFetchClassTransactionListEpic, parallelFetchEntityTransactionListEpic_1.parallelFetchEntityTransactionListEpic, parallelFetchTransactionListByCategoryTypeEpic_1.parallelFetchTransactionListByCategoryTypeEpic, parseInvoiceToBillEpic_1.parseInvoiceToBillEpic, parseReceiptsToRemiEpic_1.parseReceiptsToRemiEpic, peopleSaveUpdatesEpic_1.peopleSaveUpdatesEpic, resendInviteEpic_1.resendInviteEpic, resendOnboardingOfficerOtpEpic_1.resendOnboardingOfficerOtpEpic, resendOtpEpic_1.resendOtpEpic, resetTransactionVendorLocalDataEpic_1.resetTransactionVendorLocalDataEpic, resetVendorDetailLocalDataEpic_1.resetVendorDetailLocalDataEpic, resetVendorsTabVendorDetailLocalDataEpic_1.resetVendorsTabVendorDetailLocalDataEpic, retryBankAccountConnectionEpic_1.retryBankAccountConnectionEpic, retryBankAccountConnectionForOnboardingEpic_1.retryBankAccountConnectionForOnboardingEpic, saveAccountMappingViewEpic_1.saveAccountMappingViewEpic, saveBillDetailEpic_1.saveBillDetailEpic, saveBillPaySetupApproverViewUpdatesEpic_1.saveBillPaySetupApproverViewUpdatesEpic, saveCompanyMonthEndReportEpic_1.saveCompanyMonthEndReportEpic, saveCompanyPassportDetailsEpic_1.saveCompanyPassportDetailsEpic, saveExternalConnectionEpic_1.saveExternalConnectionEpic, saveMagicLinkBankAccountEpic_1.saveMagicLinkBankAccountEpic, saveNewAddressEpic_1.saveNewAddressEpic, saveOnboardingCustomerCompletedStatusEpic_1.saveOnboardingCustomerCompletedStatusEpic, saveOnboardingCustomerNotesEpic_1.saveOnboardingCustomerNotesEpic, saveOnboardingCustomerViewUpdatesEpic_1.saveOnboardingCustomerViewUpdatesEpic, saveRealTimeApprovalEpic_1.saveRealTimeApprovalEpic, saveRemiDetailEpic_1.saveRemiDetailEpic, saveRemiSetupApproverViewUpdatesEpic_1.saveRemiSetupApproverViewUpdatesEpic, saveSubscriptionNotesUpdatesEpic_1.saveSubscriptionNotesUpdatesEpic, saveSubscriptionUpdatesEpic_1.saveSubscriptionUpdatesEpic, saveTransactionDetailEpic_1.saveTransactionDetailEpic, saveTransactionVendorEpic_1.saveTransactionVendorEpic, saveVendorEpic_1.saveVendorEpic, saveVendorFirstReviewViewEpic_1.saveVendorFirstReviewViewEpic, saveVendorsTabVendorEpic_1.saveVendorsTabVendorEpic, sendCompanyMonthEndReportEpic_1.sendCompanyMonthEndReportEpic, sendOnboardingCustomerViewInviteEpic_1.sendOnboardingCustomerViewInviteEpic, sendOnboardingOfficerOtpEpic_1.sendOnboardingOfficerOtpEpic, sendOtpEpic_1.sendOtpEpic, statementCloseDayEpic_1.statementCloseDayEpic, toggleReportUIOptionForecastModeEpic_1.toggleReportUIOptionForecastModeEpic, transferMoneyEpic_1.transferMoneyEpic, unlinkPaymentAccountEpic_1.unlinkPaymentAccountEpic, updateAddressEpic_1.updateAddressEpic, updateBusinessVerificationDetailsEpic_1.updateBusinessVerificationDetailsEpic, updateCompanyDetailsEpic_1.updateCompanyDetailsEpic, updateCompanyOfficerEpic_1.updateCompanyOfficerEpic, updateCompanyPassportLocalStoreDataEpic_1.updateCompanyPassportLocalStoreDataEpic, updateDepositAccountEpic_1.updateDepositAccountEpic, updateFileNameEpic_1.updateFileNameEpic, updateFilesMetadataEpic_1.updateFilesMetadataEpic, updateMileageDetailsEpic_1.updateMileageDetailsEpic, updateNetBurnOrIncomeStoryCardSettingsEpic_1.updateNetBurnOrIncomeStoryCardSettingsEpic, 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, vendorViewResendOtpEpic_1.vendorViewResendOtpEpic, vendorViewSendOtpEpic_1.vendorViewSendOtpEpic, vendorViewVerifyOtpEpic_1.vendorViewVerifyOtpEpic, verifyOnboardingOfficerOtpEpic_1.verifyOnboardingOfficerOtpEpic, verifyOtpEpic_1.verifyOtpEpic, verifyUserEpic_1.verifyUserEpic, fetchBillAndInitializeLocalStoreEpic_1.waitForBillDetailThenInitializeLocalStoreEpic, fetchNetBurnOrIncomeWithForecastEpic_1.waitForForecastListThenFetchNetBurnOrIncomeWithForecastEpic, fetchOpExWithForecastEpic_1.waitForForecastListThenFetchOpExWithForecastEpic, fetchRevenueWithForecastEpic_1.waitForForecastListThenFetchRevenueWithForecastEpic, fetchRecommendationsAndUpdateMerchantRecommendationsEpic_1.waitForMerchantRecommendationFetchThenUpdateRecommendationInMerchantEpic, fetchVendorByNameAndParseInvoice_1.waitForVendorByNameThenParsetoLocalStoreEpic, fetchBillDetailEpic_1.waitForVendorByNameThenUpdateBillDetailEpic, fetchAndUpdateVendorRecommendationsEpic_1.waitForVendorRecommendationFetchThenUpdateRecommendationInBillEpic, wiseRedirectEpic_1.wiseRedirectEpic);
|
|
318
|
+
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, 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, createInternationalPaymentInstrumentEpic_1.createPaymentInstrumentEpic, createUserBankAccountEpic_1.createUserBankAccountEpic, deleteBankAccountEpic_1.deleteBankAccountEpic, deleteBillEpic_1.deleteBillEpic, deleteBillPayApprovalRuleEpic_1.deleteBillPayApprovalRuleEpic, deleteFileEpic_1.deleteFileEpic, deleteFileListEpic_1.deleteFileListEpic, deletePaymentInstrumentEpic_1.deletePaymentInstrumentEpic, deletePersonEpic_1.deletePersonEpic, deleteRemiApprovalRuleEpic_1.deleteRemiApprovalRuleEpic, deleteRemiEpic_1.deleteRemiEpic, 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, fetchAllTenantsEpic_1.fetchAllTenantsEpic, fetchAndUpdateVendorRecommendationsEpic_1.fetchAndUpdateVendorRecommendationsEpic, fetchApAgingDetailEpic_1.fetchApAgingDetailEpic, fetchApAgingEpic_1.fetchApAgingEpic, fetchArAgingDetailEpic_1.fetchArAgingDetailEpic, fetchArAgingEpic_1.fetchArAgingEpic, balanceSheetEpic_1.fetchBalanceSheetEpic, balanceSheetForTimeframeEpic_1.fetchBalanceSheetForTimeframeEpic, 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, companyConfigEpic_1.fetchCompanyConfigEpic, fetchCompanyManagementViewEpic_1.fetchCompanyManagementViewEpic, fetchCompanyMonthEndReportViewEpic_1.fetchCompanyMonthEndReportViewEpic, fetchCompanyOnboardingViewEpic_1.fetchCompanyOnboardingViewEpic, fetchCompanyPassportViewEpic_1.fetchCompanyPassportViewEpic, fetchCompanyPortfolioViewEpic_1.fetchCompanyPortfolioViewEpic, fetchCreditAccountEpic_1.fetchCreditAccountEpic, fetchCurrencyConversionValueEpic_1.fetchCurrencyConversionValueEpic, dashboardEpic_1.fetchDashboardEpic, fetchDepositAccountDetailEpic_1.fetchDepositAccountDetailEpic, fetchDepositAccountEpic_1.fetchDepositAccountEpic, fetchDepositAccountHistoryEpic_1.fetchDepositAccountHistoryEpic, fetchDepositAccountListEpic_1.fetchDepositAccountListEpic, fetchDepositAccountTransactionListEpic_1.fetchDepositAccountTransactionListEpic, fetchDuplicateBillEpic_1.fetchDuplicateBillPayReviewEpic, fetchEditBillDetailPageEpic_1.fetchEditBillDetailPageEpic, fetchEditRemiDetailPageEpic_1.fetchEditRemiDetailPageEpic, fetchEntityAutoCompleteEpic_1.fetchEntityAutoCompleteEpic, fetchEntityHistoryEpic_1.fetchEntityHistoryEpic, 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, netBurnOrIncomeClassesViewEpic_1.fetchNetBurnOrIncomeClassesViewEpic, netBurnOrIncomeEpic_1.fetchNetBurnOrIncomeEpic, netBurnOrIncomeForTimeframeClassesViewEpic_1.fetchNetBurnOrIncomeForTimeframeClassesViewEpic, netBurnOrIncomeForTimeframeEpic_1.fetchNetBurnOrIncomeForTimeframeEpic, fetchNetBurnOrIncomeStoryCardEpic_1.fetchNetBurnOrIncomeStoryCardEpic, fetchNetBurnOrIncomeWithForecastEpic_1.fetchNetBurnOrIncomeWithForecastEpic, 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, fetchRecommendationByEntityQboIdEpic_1.fetchRecommendationByEntityQboIdEpic, fetchRecommendationForAccountTypeEpic_1.fetchRecommendationForAccountTypeEpic, fetchRecommendationsAndUpdateMerchantRecommendationsEpic_1.fetchRecommendationsAndUpdateMerchantRecommendationsEpic, 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, 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, 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, fetchVendorByNameAndParseInvoice_1.fetchVendorByNameAndParseInvoiceEpic, fetchVendorDetailsEpic_1.fetchVendorDetailsEpic, fetchVendorEpic_1.fetchVendorEpic, fetchVendorFirstReviewViewEpic_1.fetchVendorFirstReviewViewEpic, fetchVendorGlobalReviewViewEpic_1.fetchVendorGlobalReviewViewEpic, vendorTypeListEpic_1.fetchVendorTypeListEpic, fetchVendorsListEpic_1.fetchVendorsListEpic, fetchVendorsTabVendorDetailPageViewEpic_1.fetchVendorsTabVendorDetailPageViewEpic, fetchVendorsTabVendorDetailsEpic_1.fetchVendorsTabVendorDetailsEpic, fetchVendorsTabVendorEpic_1.fetchVendorsTabVendorEpic, vendorTypeListEpic_1.fetchVendorTypeListEpic, fetchZeniAccountListPageEpic_1.fetchZeniAccountListEpic, fetchZeniAccountsConfigEpic_1.fetchZeniAccountsConfigEpic, fetchZeniAccountSetupViewEpic_1.fetchZeniAccountSetupViewEpic, fetchZeniAccStatementListEpic_1.fetchZeniAccStatementListEpic, fetchZeniAccStatementPageEpic_1.fetchZeniAccStatementPageEpic, 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, initializeDynamicFormEpic_1.initializeDynamicFormEpic, initializeEditPersonEpic_1.initializeEditPersonEpic, initializeInternationalWireLocalDataEpic_1.initializeInternationalWireLocalDataEpic, initializeOnboardingCustomerViewUpdateDataEpic_1.initializeOnboardingCustomerViewUpdateDataEpic, initializeRemiSetupApproverViewUpdateDataEpic_1.initializeRemiSetupApproverViewUpdateDataEpic, initializeRemiToLocalStoreEpic_1.initializeRemiToLocalStoreEpic, initializeSubscriptionLocalDataEpic_1.initializeSubscriptionLocalDataEpic, initializeTransactionDetailLocalDataEpic_1.initializeTransactionDetailLocalDataEpic, initializeVendorAddressEpic_1.initializeVendorAddressEpic, invitePeopleEpic_1.invitePeopleEpic, inviteZeniPeopleEpic_1.inviteZeniPeopleEpic, issueChargeCardEpic_1.issueChargeCardEpic, markTransactionAsNotMiscategorizedEpic_1.markTransactionAsNotMiscategorizedEpic, parallelFetchAccountTransactionListEpic_1.parallelFetchAccountTransactionListEpic, parallelFetchClassTransactionListEpic_1.parallelFetchClassTransactionListEpic, parallelFetchEntityTransactionListEpic_1.parallelFetchEntityTransactionListEpic, parallelFetchTransactionListByCategoryTypeEpic_1.parallelFetchTransactionListByCategoryTypeEpic, parseInvoiceToBillEpic_1.parseInvoiceToBillEpic, parseReceiptsToRemiEpic_1.parseReceiptsToRemiEpic, peopleSaveUpdatesEpic_1.peopleSaveUpdatesEpic, resendInviteEpic_1.resendInviteEpic, resendOnboardingOfficerOtpEpic_1.resendOnboardingOfficerOtpEpic, resendOtpEpic_1.resendOtpEpic, resetTransactionVendorLocalDataEpic_1.resetTransactionVendorLocalDataEpic, resetVendorDetailLocalDataEpic_1.resetVendorDetailLocalDataEpic, resetVendorsTabVendorDetailLocalDataEpic_1.resetVendorsTabVendorDetailLocalDataEpic, retryBankAccountConnectionEpic_1.retryBankAccountConnectionEpic, retryBankAccountConnectionForOnboardingEpic_1.retryBankAccountConnectionForOnboardingEpic, saveAccountMappingViewEpic_1.saveAccountMappingViewEpic, saveBillDetailEpic_1.saveBillDetailEpic, saveBillPaySetupApproverViewUpdatesEpic_1.saveBillPaySetupApproverViewUpdatesEpic, saveCompanyMonthEndReportEpic_1.saveCompanyMonthEndReportEpic, saveCompanyPassportDetailsEpic_1.saveCompanyPassportDetailsEpic, saveExternalConnectionEpic_1.saveExternalConnectionEpic, saveMagicLinkBankAccountEpic_1.saveMagicLinkBankAccountEpic, saveNewAddressEpic_1.saveNewAddressEpic, saveOnboardingCustomerCompletedStatusEpic_1.saveOnboardingCustomerCompletedStatusEpic, saveOnboardingCustomerNotesEpic_1.saveOnboardingCustomerNotesEpic, saveOnboardingCustomerViewUpdatesEpic_1.saveOnboardingCustomerViewUpdatesEpic, saveRealTimeApprovalEpic_1.saveRealTimeApprovalEpic, saveRemiDetailEpic_1.saveRemiDetailEpic, saveRemiSetupApproverViewUpdatesEpic_1.saveRemiSetupApproverViewUpdatesEpic, saveSubscriptionNotesUpdatesEpic_1.saveSubscriptionNotesUpdatesEpic, saveSubscriptionUpdatesEpic_1.saveSubscriptionUpdatesEpic, saveTransactionDetailEpic_1.saveTransactionDetailEpic, saveTransactionVendorEpic_1.saveTransactionVendorEpic, saveVendorEpic_1.saveVendorEpic, saveVendorFirstReviewViewEpic_1.saveVendorFirstReviewViewEpic, saveVendorsTabVendorEpic_1.saveVendorsTabVendorEpic, sendCompanyMonthEndReportEpic_1.sendCompanyMonthEndReportEpic, sendOnboardingCustomerViewInviteEpic_1.sendOnboardingCustomerViewInviteEpic, sendOnboardingOfficerOtpEpic_1.sendOnboardingOfficerOtpEpic, sendOtpEpic_1.sendOtpEpic, statementCloseDayEpic_1.statementCloseDayEpic, toggleReportUIOptionForecastModeEpic_1.toggleReportUIOptionForecastModeEpic, transferMoneyEpic_1.transferMoneyEpic, unlinkPaymentAccountEpic_1.unlinkPaymentAccountEpic, updateAddressEpic_1.updateAddressEpic, updateBusinessVerificationDetailsEpic_1.updateBusinessVerificationDetailsEpic, updateCompanyDetailsEpic_1.updateCompanyDetailsEpic, updateCompanyOfficerEpic_1.updateCompanyOfficerEpic, updateCompanyPassportLocalStoreDataEpic_1.updateCompanyPassportLocalStoreDataEpic, updateDepositAccountEpic_1.updateDepositAccountEpic, updateFileNameEpic_1.updateFileNameEpic, updateFilesMetadataEpic_1.updateFilesMetadataEpic, updateMileageDetailsEpic_1.updateMileageDetailsEpic, updateNetBurnOrIncomeStoryCardSettingsEpic_1.updateNetBurnOrIncomeStoryCardSettingsEpic, 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, vendorViewResendOtpEpic_1.vendorViewResendOtpEpic, vendorViewSendOtpEpic_1.vendorViewSendOtpEpic, vendorViewVerifyOtpEpic_1.vendorViewVerifyOtpEpic, verifyOnboardingOfficerOtpEpic_1.verifyOnboardingOfficerOtpEpic, verifyOtpEpic_1.verifyOtpEpic, verifyUserEpic_1.verifyUserEpic, fetchBillAndInitializeLocalStoreEpic_1.waitForBillDetailThenInitializeLocalStoreEpic, fetchNetBurnOrIncomeWithForecastEpic_1.waitForForecastListThenFetchNetBurnOrIncomeWithForecastEpic, fetchOpExWithForecastEpic_1.waitForForecastListThenFetchOpExWithForecastEpic, fetchRevenueWithForecastEpic_1.waitForForecastListThenFetchRevenueWithForecastEpic, fetchRecommendationsAndUpdateMerchantRecommendationsEpic_1.waitForMerchantRecommendationFetchThenUpdateRecommendationInMerchantEpic, fetchVendorByNameAndParseInvoice_1.waitForVendorByNameThenParsetoLocalStoreEpic, fetchBillDetailEpic_1.waitForVendorByNameThenUpdateBillDetailEpic, fetchAndUpdateVendorRecommendationsEpic_1.waitForVendorRecommendationFetchThenUpdateRecommendationInBillEpic, wiseRedirectEpic_1.wiseRedirectEpic);
|
|
323
319
|
const rootEpic = (action$, store$, dependencies) => combinedEpics(action$, store$, dependencies).pipe((0, operators_1.map)(rxjs_1.identity), (0, operators_1.catchError)((error, source) => {
|
|
324
320
|
console.error(error);
|
|
325
321
|
return source;
|
package/lib/index.d.ts
CHANGED
|
@@ -161,11 +161,6 @@ import { PeopleSelectorView, Person, ZeniPersonUserRoleType, PeopleLocalDataView
|
|
|
161
161
|
import { getPeople, getPeopleLocalData } from './view/people/peopleSelector';
|
|
162
162
|
import { PeopleState, PersonUpdateType, PeoplePageMode, PeopleUIState, PeopleLocalData } from './view/people/peopleState';
|
|
163
163
|
export { fetchAllPeopleRequiredViews, fetchPeoplePage, fetchPeople, deletePerson, resendInvite, changeZeniPersonRoles, invitePeople, inviteZeniPeople, updatePeopleUIState, peopleSaveUpdates, resetUpdateErrorMessage, peopleSaveDataInLocalStore, peopleClearDataInLocalStore, PeopleSelectorView, PeopleLocalDataView, Person, getPeople, getPeopleLocalData, PeopleState, PersonUpdateType, PeoplePageMode, ZeniPersonUserRoleType, PeopleUIState, PeopleLocalData, initializeEditPerson, };
|
|
164
|
-
import { fetchMyProfileView, clearSettingsView, fetchBankConnectionsView } from './view/settingsView/settingsViewReducer';
|
|
165
|
-
import { MyProfileSelectorView, MyProfile, BankConnectionsSetupView, MyBankConnectionsView } from './view/settingsView/types/settingsViewSelectorTypes';
|
|
166
|
-
import { getMyProfileView, IntegrationsView, getApprovalRuleViewDetails, getBankConnectionsSetupViewDetails, getMyBankConnectionsDetails, getIntegrationsView } from './view/settingsView/settingsViewSelector';
|
|
167
|
-
import { SettingsViewState } from './view/settingsView/settingsViewState';
|
|
168
|
-
export { clearSettingsView, fetchMyProfileView, getMyProfileView, getMyBankConnectionsDetails, fetchBankConnectionsView, MyProfileSelectorView, MyBankConnectionsView, MyProfile, SettingsViewState, };
|
|
169
164
|
import { PeopleViewSortKey } from './view/people/peopleTypes';
|
|
170
165
|
export { PeopleViewSortKey };
|
|
171
166
|
import { fetchBalanceSheet, resetBalanceSheetNodeCollapseState, updateBalanceSheetUIState } from './view/balanceSheet/balanceSheetReducer';
|
|
@@ -391,11 +386,8 @@ import { BillPaySetupView, BillPayBusinessVerificationDetails, getBillPaySetupVi
|
|
|
391
386
|
import { ZeniAccountSetupView, ZeniAccountBusinessVerificationDetails, getZeniAccountSetupViewDetails, getZeniAccountBusinessVerificationDetails } from './view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewSelector';
|
|
392
387
|
import { SetupView, BusinessVerificationDetails, CompanyDetails, CompanyOfficersDetails, getCommonSetupViewDetails, getBusinessVerificationDetails } from './view/spendManagement/commonSetup/setupViewSelector';
|
|
393
388
|
export { BillPaySetupViewState, ZeniAccountSetupViewState, BillPaySetupViewLocalData, ZeniAccountSetupViewLocalData, fetchBillPaySetupView, fetchZeniAccountSetupView, enableSetup, getPaymentAccounts, getPlaidLinkToken, updateSelectedCompanyOfficer, updateSetupViewLocalStoreData, updateBusinessVerificationDetails, updatePaymentAccount, updatePaymentAccountLoginStatus, updatePaymentAccountStatus, establishPlaidConnection, acceptBillPayTerms, acceptZeniAccountTerms, acceptBillPayUpdatedTerms, saveSetupViewDataInLocalStore, saveCompnayOfficerPhoneInLocalStore, saveCompnayOfficerAdditionalDocumentsInLocalStore, saveIndustryAndIncDateInLocalStore, clearSetupViewDataInLocalStore, clearBillPaySetupView, clearZeniAccountSetupView, sendOtp, resendOtp, verifyOtp, CompanyDetails, CompanyOfficersDetails, BillPaySetupView, ZeniAccountSetupView, BillPayBusinessVerificationDetails, ZeniAccountBusinessVerificationDetails, SetupViewState, SetupViewLocalData, SetupView, BusinessVerificationDetails, getBillPaySetupViewDetails, getZeniAccountSetupViewDetails, getBusinessVerificationDetails, getBillPayBusinessVerificationDetails, getZeniAccountBusinessVerificationDetails, getCommonSetupViewDetails, PlaidConnectionDetails, PlaidLinkTokenType, };
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
export { fetchUserFinancialAccount };
|
|
397
|
-
import { getUserFinancialAccount, UserFinancialAccountSelectorView } from './view/userFinancialAccount/userFinancialAccountSelector';
|
|
398
|
-
export { getUserFinancialAccount, UserFinancialAccountSelectorView };
|
|
389
|
+
import { getUserFinancialAccount } from './view/userFinancialAccount/userFinancialAccountSelector';
|
|
390
|
+
export { getUserFinancialAccount };
|
|
399
391
|
import { RemiSetupViewState, RemiSetupViewLocalData, MileageDetailsLocalData, MileageDenomination } from './view/spendManagement/reimbursement/remiSetupView/remiSetupViewState';
|
|
400
392
|
import { fetchRemiSetupView, updateMileageDetails, saveRemiSetupViewDataInLocalStore, acceptRemiTerms, acceptEmployeeRemiTerms, clearRemiSetupView } from './view/spendManagement/reimbursement/remiSetupView/remiSetupViewReducer';
|
|
401
393
|
import { RemiSetupView, RemiBusinessVerificationDetails, getRemiSetupViewDetails, getRemiBusinessVerificationDetails } from './view/spendManagement/reimbursement/remiSetupView/remiSetupViewSelector';
|
package/lib/index.js
CHANGED
|
@@ -30,20 +30,19 @@ exports.mapTimePeriodtoTimeframeTick = exports.toTimeframeTick = exports.TOP_EX_
|
|
|
30
30
|
exports.updateOpExCOABalancesRange = exports.fetchOpEx = exports.fetchReimbursementCard = exports.fetchBillPayCard = exports.fetchCashBalance = exports.getCashBalance = exports.updateStatementCloseDay = exports.fetchCardBalance = exports.getCardBalance = exports.isZeniSignedInUser = exports.hasRemiFallbackAdminLevelAccess = exports.hasBillPayFallbackAdminLevelAccess = exports.hasSuperAdminLevelAccess = exports.hasZeniRoleOrCompanyOfficerAccess = exports.hasOnlyBillPayAccess = exports.getUserRoleMap = exports.hasInvestorBankerLevelAccess = exports.isNonZeniRole = exports.hasFullLevelAccess = exports.hasEmployeeLevelAccess = exports.hasAdminLevelAccess = exports.isFinOpsUserRoleType = exports.getForecast = exports.getAccountGroupKey = exports.toAccountGroupType = exports.toAccountType = exports.fetchSubscriptionSummaryForTenant = exports.saveExternalConnectionForTeanant = exports.fetchExternalConnectionsForTenant = exports.fetchExcludedResourcesForTenant = exports.doSignOut = exports.updateSignInState = exports.doSignIn = exports.clearAll = exports.updateCurrentTenant = exports.fetchAllTenants = exports.fetchActiveTenant = exports.isTenantUsingZeniCOA = exports.isZeniDomainTenant = exports.getTenantBaseViewForTenantView = exports.getTenantsBaseByCheckInDateSelector = exports.getTenantsByCheckInDateSelector = exports.getCurrentTenant = exports.getTenantBaseById = exports.toQuarterStrict = exports.toQuarter = exports.toMonthStrict = exports.toMonth = exports.getNumberOfPeriods = exports.toTimePeriod = void 0;
|
|
31
31
|
exports.getNetBurnOrIncomeForHighlightedRange = exports.getNetBurnOrIncomeForSelectedRange = exports.getNetBurnOrIncomeReport = exports.updateNetBurnOrIncomeDownloadState = exports.updateNetBurnOrIncomeCOABalancesRange = exports.fetchNetBurnOrIncomeWithForecast = exports.updateNetBurnOrIncomeUIState = exports.fetchNetBurnOrIncome = exports.isNetBurnOrIncomeClassesViewCalculatedSectionID = exports.isNetBurnOrIncomeClassesViewSectionID = exports.getNetBurnOrIncomeClassesViewForSelectedRange = exports.getNetBurnOrIncomeClassesViewForHighlightedRange = exports.getNetBurnOrIncomeClassesView = exports.updateNetBurnOrIncomeClassesViewUIState = exports.updateNetBurnOrIncomeClassesToFilterOut = exports.updateNetBurnOrIncomeAccountViewMode = exports.fetchNetBurnOrIncomeClassesView = exports.isOpExClassesViewCalculatedSectionID = exports.isOpExClassesViewSectionID = exports.getOpExClassesViewForSelectedRange = exports.getOpExClassesViewForHighlightedRange = exports.getOpExClassesView = exports.updateOpExClassesViewUIState = exports.updateOpExClassesToFilterOut = exports.updateOpExAccountViewMode = exports.fetchOpExClassesView = exports.isOpexByVendorIDNotSpecifiedVendor = exports.getOpexVendorTimeframeKey = exports.toOpexByVendorSortKeyType = exports.updateOpExByVendorPageLimit = exports.clearOpExByVendorSearch = exports.updateOpExByVendorDownloadState = exports.updateOpExByVendorSortOrSearchInProgress = exports.updateOpExByVendorPageFetchInProgress = exports.updateOpExByVendorSort = exports.updateOpExByVendorAdditionalBalancesSelection = exports.getOpExByVendorUIState = exports.getOpExByVendorReport = exports.updateOpExByVendorUIState = exports.updateOpExByVendorTimeFrame = exports.fetchOpExByVendorReportForTimeframe = exports.fetchOpExByVendor = exports.fetchOpExWithForecast = exports.getOperatingExpensesForHighlightedRange = exports.getOperatingExpensesForSelectedRange = exports.getOperatingExpensesUIState = exports.getOperatingExpensesReport = exports.getOperatingExpensesReportFetchState = exports.updateOpExUIState = exports.updateOpExDownloadState = void 0;
|
|
32
32
|
exports.getTop6Expenses = exports.getTopExpenses = exports.updateTopExDownloadState = exports.updateTopExTimeFrame = exports.fetchTopEx = exports.updateCashInCashOutUIState = exports.updateCashInCashOutDownloadState = exports.updateCashInCashOutCOABalancesRange = exports.getCashInCashOutForHighlightedRange = exports.getCashInCashOutForSelectedRange = exports.getCashInCashOutUIState = exports.getCashInCashOut = exports.fetchCashInCashOut = exports.getCashPositionForHighlightedRange = exports.getCashPositionForSelectedRange = exports.getCashPositionUIState = exports.getCashPosition = exports.updateCashPositionUIState = exports.updateCashPositionDownloadState = exports.updateCashPositionCOABalancesRange = exports.fetchCashPosition = exports.isRevenueClassesViewCalculatedSectionID = exports.isRevenueClassesViewSectionID = exports.getRevenueClassesViewForSelectedRange = exports.getRevenueClassesViewForHighlightedRange = exports.getRevenueClassesView = exports.updateRevenueClassesViewUIState = exports.updateRevenueClassesToFilterOut = exports.updateRevenueAccountViewMode = exports.fetchRevenueClassesView = exports.isRevenueSectionID = exports.isRevenueCalculatedSectionID = exports.updateRevenueUIState = exports.updateRevenueDownloadState = exports.updateRevenueCOABalancesRange = exports.getRevenueForHighlightedRange = exports.getRevenueForSelectedRange = exports.getRevenueUIState = exports.getRevenueReportFetchState = exports.getRevenueReport = exports.fetchRevenueWithForecast = exports.fetchRevenue = exports.toAverageMonthsCount = exports.getNetBurnOrIncomeStoryCardReport = exports.updateNetBurnOrIncomeStoryCardSettings = exports.fetchNetBurnOrIncomeStoryCard = exports.isNetBurnOrIncomeReportViewSectionID = exports.isNetBurnOrIncomeReportViewCalculatedSectionID = exports.getNetBurnOrIncomeReportFetchState = exports.getNetBurnOrIncomeUIState = void 0;
|
|
33
|
-
exports.
|
|
34
|
-
exports.clearTransactionDetailSaveStatus = exports.saveTransactionDetailLocalData = exports.updateTransactionListByEntity = exports.fetchEntityTransactionList = exports.getTransactionListUIStateByAccountKey = exports.getTransactionListByAccount = exports.parallelFetchTransactionListByCategoryType = exports.updateTransactionListUIStateByCategoryType = exports.updateTransactionListByClass = exports.updateTransactionListByClassUIState = exports.parallelFetchClassTransactionList = exports.updateTransactionListByAccountUIState = exports.updateTransactionListByAccountFailure = exports.updateTransactionListByAccount = exports.fetchAccountTransactionList = exports.parallelFetchEntityTransactionList = exports.parallelFetchAccountTransactionList = exports.updateLatestTransactionId = exports.clearTransactionList = exports.isTransferTransaction = exports.isVendorTransaction = exports.updateVendors = exports.defaultVendorCurrency = exports.toTransactionCategory = exports.toTransactionTypeStrict = exports.toTransactionType = exports.toPlatformLineDetailType = exports.toTransactionID = exports.isCustomerTransaction = exports.defaultCustomerCurrency = exports.toAttachment = exports.mapFileEntityToAttachment = exports.toContentType = exports.toContentTypeStrict = exports.updateFinanceStatementFormat = exports.updateFinanceStatementDisplayOrder = exports.updateFinanceStatementAdditionalBalancesSelection = exports.updateDownloadState = exports.updateSelectedReportId = exports.updateCOABalancesRange = exports.fetchFinanceStatement = exports.getFinanceStatement = exports.isCashFlowReportViewCalculatedSectionType1ID = exports.isCashFlowReportViewSectionID = exports.isCashFlowReportViewCalculatedSectionID =
|
|
35
|
-
exports.getEntityAutoCompleteResults = exports.fetchEntityAutoCompleteResults = exports.clearEntityAutoCompleteResults = exports.fetchEntityAutoCompleteEpic = exports.toEntityType = exports.VendorExpenseTrend = exports.CustomerIncomeTrend = exports.getTrendForEntity = exports.clearTrendData = exports.fetchExpenseTrend = exports.fetchIncomeTrend = exports.getEntityDetailUIStateByEntity = exports.getLatestTimeFrameWithTransactionsForEntity = exports.getTrendWithTransactions = exports.trendWithTransactionsUpdateSelectedTimeperiod = exports.clearTrendWithTransactions = exports.fetchTransactionsForEntity = exports.fetchTrendForEntity = exports.updateReportUIOptionCOABalancesRange = exports.updateReportUIOptionThisPeriod = exports.toggleReportUIOptionForecastMode = exports.updateReportUIOptionIsCompareModeOn = exports.updateReportUIOptionCompareMode = exports.updateReportUIOptionIsForecastVsActualOn = exports.updateReportUIOptionSelectedForecast = exports.updateReportUIOptionTimeframe = exports.getForecastList = exports.fetchForecastList = exports.updateSelectedInsightIndex = exports.fetchInsightsCard = exports.getInsights = exports.getUpdatablePeriodsForTransactionRecommendations = exports.getTransactionDetailForTransaction = exports.getTransactionDetail = exports.getTransactionListUIStateByClassKey = exports.getTransactionListByClass = exports.getTransactionListByEntity = exports.uploadMissingReceiptSuccess = exports.updateTransactionDetail = exports.fetchTransactionDetail = exports.updateLocalDataWithTransactionsUpdateWithVendorCheckbox = exports.resetVendor = exports.updateSelectedVendor = exports.removeEntityRecommendationForLineIdForTransactionDetail = exports.initializeTransactionDetailLocalData =
|
|
36
|
-
exports.toCockpitTabsFileTypeStrict = exports.toCockpitTabsIDStrict = exports.ALL_COCKPIT_TABS_IDS = exports.ALL_COCKPIT_TABS_FILE_TYPES = exports.toOnboardingSortKeyType = exports.toManagementSortKeyType = exports.toPortfolioSortKeyType = exports.clearAddressView = exports.fetchAddress = exports.getFormattedAddress = exports.getAllNewAddresses = exports.getNewAddress = exports.getAddress = exports.newAddressInLocalStore = exports.getCompanyMonthEndReportSelectorView = exports.resetCompanyMonthEndReportFetchStatus = exports.saveCompanyMonthEndReport = exports.sendCompanyMonthEndReport = exports.fetchCompanyMonthEndReportView = exports.fetchImproveUsingZeniGPT = exports.getAllCockpitTabsFilterView = exports.isInfiniteRunway = exports.getCompanyPortfolioView = exports.retryBankAccountConnection = exports.getReviewCompanyListCount = exports.getReviewCompanySelectorView = exports.updateReviewCompanyListUIState = exports.fetchReviewCompanyView = exports.updateCompanyDownloadState = exports.fetchZeniUsers = exports.fetchSubscriptionView = exports.fetchPortfolioView = exports.fetchManagementView = exports.fetchOnboardingView = exports.fetchParentSubsidiaryManagementView = exports.updateCompanyManagementUIState = exports.updateCompanyPortfolioUIState = exports.fetchCompanyPortfolioView = exports.fetchCompanyManagementView = exports.fetchAllCockpitViews = exports.companyManagementSaveUpdates = exports.getParentSubsidiaryManagementView = exports.getAddonListZeniSku = exports.getPlanListZeniSku = exports.getCompanyManagementView =
|
|
37
|
-
exports.deleteFileListSuccess = exports.deleteFileListFailure = exports.deleteFileList = exports.updateFilesMetadata = exports.updateFileNameSuccess = exports.updateFileNameFailure = exports.updateFileName = exports.fetchFile = exports.fetchFileListSuccess = exports.fetchFileListFailure = exports.fetchFileList = exports.toSupportedFileTypeStrict = exports.updateFiles = exports.getSubscriptionEstimationData = exports.getSubscriptionLocalStoreDataView = exports.getSubscriptionsDetailView = exports.clearSubscriptionLocalData = exports.clearSubscriptionUpdateViewDataByTenantId = exports.saveSubscriptionLocalData = exports.initializeSubscriptionLocalData = exports.clearSubscriptionView = exports.fetchSubscriptionUpdateEstimate = exports.fetchSubscriptionCreateEstimate = exports.saveSubscriptionNotesUpdates = exports.saveSubscriptionUpdates = exports.fetchSubscriptionDetails = exports.fetchSubscriptionCoupons = exports.fetchSubscriptionAddOns = exports.fetchSubscriptionPlans = exports.fetchSubscriptionList = exports.updateCompanySubscriptionUIState = exports.getCompanySubscriptionView = exports.toSubscriptionSortKeyType = exports.getBankAccount = exports.getNestedAccountListHeirarchy = exports.getUncategorizedAccounts = exports.toCompanyPassportLocalData = exports.clearCompanyView = exports.saveCompanyPassportDetails = exports.updateCompanyPassportLocalStoreData = exports.companyPassportClearDataInLocalStore = exports.deleteCompanyOfficerInLocalStore = exports.saveIndustryAndIncDateInCompanyPassportLocalStore = exports.companyPassportSaveDataInLocalStore = exports.isCompanyPassportDataToBeSaved =
|
|
38
|
-
exports.fetchRemiListPerTab = exports.fetchRemiList = exports.getRemiDownloadList = exports.getRemiList = exports.toRemiTabTypeStrict = exports.toRemiTabType = exports.toRemiSubTabTypeStrict = exports.toRemiSubTabType = exports.deleteUserBankAccount = exports.createUserBankAccount = exports.resetCreateBankAccountDetails = exports.createBankAccount = exports.deleteBankAccount = exports.fetchBankCountryNameByIban = exports.fetchBankNameBySwift = exports.fetchBankNameByRouting = exports.fetchVendorDetailPageView = exports.fetchVendorDetails = exports.updateStatusForCreateBankAccountFlow = exports.clearBankAccountView = exports.updateInternationalBankAccountViewLocalStoreData = exports.updateBankAccountViewLocalStoreData = exports.initializeVendorAddress = exports.updateSelectedVendorForCreateFlow = exports.removeBankAccountsInVendorView = exports.saveVendor = exports.fetchVendor = exports.updateScrollYOffset = exports.fetchVendorsList = exports.vendorsTabResetVendorDetailLocalData = exports.vendorsTabUpdateVendorDetailLocalData = exports.vendorsTabSaveVendorSuccessOrFailure = exports.vendorsTabSaveVendor = exports.getVendorsTabDetailPageView = exports.fetchVendorsTabVendorDetailPageView = exports.getVendorDetailPageView = exports.getVendorView = exports.getAnalyticsDataOnVendorSave = exports.fetchTasksCard = exports.downloadFile = exports.mapFilePayloadToFile = exports.uploadFile = exports.getFileDeleteStatusById = exports.getFileUpdateNameStatusById = exports.getDeleteFileListWithStatus =
|
|
39
|
-
exports.resendOtpVendorView = exports.sendOtpVendorView = exports.updateBillListSearchResult = exports.updateBillUploadFetchState = exports.updateContactsInVendorDetailLocalData = exports.resetVendorDetailLocalData = exports.updateVendorDetailLocalData = exports.BILL_PAY_FILTER_CATEGORIES = exports.updateBillListUIState = exports.saveVendorSuccessOrFailure = exports.updateShowAutofill = exports.fetchBillAndInitializeLocalStore = exports.getReviewPageBillDetail = exports.getEditBillDetail = exports.clearBillPayReview = exports.fetchDuplicateBill = exports.fetchAndUpdateVendorRecommendations = exports.fetchEditBillDetailPage = exports.fetchBillDetail = exports.getBillTransactionDetailKey = exports.checkApproveRejectBtnShowForBill = exports.getBillDetailView = exports.getBillDownloadList = exports.getBillList = exports.cancelAndDeleteBill = exports.deleteBill = exports.updateApprovalStatusOnSuccess = exports.approveOrRejectBill = exports.saveBillDetail = exports.discardBillUpdatesInLocalStore = exports.saveBillUpdatesToLocalStore = exports.fetchVendorByNameAndParseInvoice = exports.updateBillDetailSaveBillCode = exports.updateSelectedBillId = exports.updateSubTab = exports.updateTab = exports.fetchBillListPerTab = exports.fetchBillList = exports.getClassList = exports.updateBillListDownloadUIState = exports.updateRemiListDownloadUIState = exports.REIMBURSEMENT_FILTER_CATEGORIES_RESTRICTED = exports.REIMBURSEMENT_FILTER_CATEGORIES = exports.updateRemiListFilterResult = exports.updateBillListFilterResult =
|
|
40
|
-
exports.
|
|
41
|
-
exports.
|
|
42
|
-
exports.
|
|
43
|
-
exports.
|
|
44
|
-
exports.
|
|
45
|
-
exports.updateArAgingUIState = exports.fetchArAging = exports.toVendorGlobalReviewColumnSortKeyType = exports.getTenantMerchantByMerchantId = exports.getVendorGlobalReviewView = exports.updateVendorGlobalReviewViewUIState = exports.updateSelectedGlobalMerchant = exports.fetchVendorGlobalReviewView = 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.updateApAgingDetailUIState = exports.getApAgingDetailForVendor = exports.fetchApAgingDetail = exports.updateApAgingUIState = exports.getApAgingReport = exports.fetchApAging = exports.updateChargeCardListUIState = exports.updateChargeCardListSearchText = exports.resetIssueChargeCardForm = exports.updateChargeCardLocalStore = exports.issueChargeCard = exports.acceptChargeCardTerms = exports.fetchChargeCardSetupView = exports.getChargeCardSetupViewDetails =
|
|
46
|
-
exports.toRecurringBillFrequencyStrict = exports.toRecurringBillFrequency = exports.getArAgingDetailForCustomer = exports.getArAgingReport = exports.updateArAgingDetailUIState = exports.fetchArAgingDetail = void 0;
|
|
33
|
+
exports.typeOfCashFlowRootSection = exports.updateCashFlowUIState = exports.resetCashFlowNodeCollapseState = exports.getCashFlowReportFetchState = exports.getCashFlow = exports.fetchCashFlow = exports.isBalanceSheetReportViewCalculatedSectionID = exports.isBalanceSheetReportViewSectionID = exports.typeOfBalanceSheetRootSection = exports.updateBalanceSheetUIState = exports.resetBalanceSheetNodeCollapseState = exports.getBalanceSheetForFullDataAvailableRange = exports.getBalanceSheetFetchState = exports.getBalanceSheet = exports.fetchBalanceSheet = exports.initializeEditPerson = exports.getPeopleLocalData = exports.getPeople = exports.peopleClearDataInLocalStore = exports.peopleSaveDataInLocalStore = exports.resetUpdateErrorMessage = exports.peopleSaveUpdates = exports.updatePeopleUIState = exports.inviteZeniPeople = exports.invitePeople = exports.changeZeniPersonRoles = exports.resendInvite = exports.deletePerson = exports.fetchPeople = exports.fetchPeoplePage = exports.fetchAllPeopleRequiredViews = exports.getUserList = exports.fetchUserListByType = exports.isPandLReportViewSectionID = exports.isPandLReportViewCalculatedSectionID = exports.getProfitAndLossClassesView = exports.updateProfitAndLossAccountViewMode = exports.updateProfitAndLossClassesViewUIState = exports.resetProfitAndLossClassesNodeCollapseState = exports.updateProfitAndLossClassesToFilterOut = exports.fetchProfitAndLossClassesView = exports.getPandLReportFetchState = exports.getProfitAndLossReport = exports.updateProfitAndLossUIState = exports.resetProfitAndLossNodeCollapseState = exports.fetchProfitAndLoss = exports.getPandLWithForecast = exports.getDashboard = exports.fetchDashboard = exports.getAllTopExpenses = void 0;
|
|
34
|
+
exports.setAllLineItemsLocalDataIsUpdateAllChecked = exports.saveTransactionDetail = exports.setAllLineItemsToCategoryClassInLocalData = exports.resetLineItemsCategoryClassInLocalData = exports.updateTransactionListByEntityFailure = exports.clearTransactionDetailSaveStatus = exports.saveTransactionDetailLocalData = exports.updateTransactionListByEntity = exports.fetchEntityTransactionList = exports.getTransactionListUIStateByAccountKey = exports.getTransactionListByAccount = exports.parallelFetchTransactionListByCategoryType = exports.updateTransactionListUIStateByCategoryType = exports.updateTransactionListByClass = exports.updateTransactionListByClassUIState = exports.parallelFetchClassTransactionList = exports.updateTransactionListByAccountUIState = exports.updateTransactionListByAccountFailure = exports.updateTransactionListByAccount = exports.fetchAccountTransactionList = exports.parallelFetchEntityTransactionList = exports.parallelFetchAccountTransactionList = exports.updateLatestTransactionId = exports.clearTransactionList = exports.isTransferTransaction = exports.isVendorTransaction = exports.updateVendors = exports.defaultVendorCurrency = exports.toTransactionCategory = exports.toTransactionTypeStrict = exports.toTransactionType = exports.toPlatformLineDetailType = exports.toTransactionID = exports.isCustomerTransaction = exports.defaultCustomerCurrency = exports.toAttachment = exports.mapFileEntityToAttachment = exports.toContentType = exports.toContentTypeStrict = exports.updateFinanceStatementFormat = exports.updateFinanceStatementDisplayOrder = exports.updateFinanceStatementAdditionalBalancesSelection = exports.updateDownloadState = exports.updateSelectedReportId = exports.updateCOABalancesRange = exports.fetchFinanceStatement = exports.getFinanceStatement = exports.isCashFlowReportViewCalculatedSectionType1ID = exports.isCashFlowReportViewSectionID = exports.isCashFlowReportViewCalculatedSectionID = void 0;
|
|
35
|
+
exports.getCompanyByCompanyId = exports.ALL_ACCOUNTING_CONNECTION_CREATION_MODES = exports.getEntityByEntityIDs = exports.clearAllEntities = exports.updateEntities = exports.getEntityAutoCompleteResults = exports.fetchEntityAutoCompleteResults = exports.clearEntityAutoCompleteResults = exports.fetchEntityAutoCompleteEpic = exports.toEntityType = exports.VendorExpenseTrend = exports.CustomerIncomeTrend = exports.getTrendForEntity = exports.clearTrendData = exports.fetchExpenseTrend = exports.fetchIncomeTrend = exports.getEntityDetailUIStateByEntity = exports.getLatestTimeFrameWithTransactionsForEntity = exports.getTrendWithTransactions = exports.trendWithTransactionsUpdateSelectedTimeperiod = exports.clearTrendWithTransactions = exports.fetchTransactionsForEntity = exports.fetchTrendForEntity = exports.updateReportUIOptionCOABalancesRange = exports.updateReportUIOptionThisPeriod = exports.toggleReportUIOptionForecastMode = exports.updateReportUIOptionIsCompareModeOn = exports.updateReportUIOptionCompareMode = exports.updateReportUIOptionIsForecastVsActualOn = exports.updateReportUIOptionSelectedForecast = exports.updateReportUIOptionTimeframe = exports.getForecastList = exports.fetchForecastList = exports.updateSelectedInsightIndex = exports.fetchInsightsCard = exports.getInsights = exports.getUpdatablePeriodsForTransactionRecommendations = exports.getTransactionDetailForTransaction = exports.getTransactionDetail = exports.getTransactionListUIStateByClassKey = exports.getTransactionListByClass = exports.getTransactionListByEntity = exports.uploadMissingReceiptSuccess = exports.updateTransactionDetail = exports.fetchTransactionDetail = exports.updateLocalDataWithTransactionsUpdateWithVendorCheckbox = exports.resetVendor = exports.updateSelectedVendor = exports.removeEntityRecommendationForLineIdForTransactionDetail = exports.initializeTransactionDetailLocalData = void 0;
|
|
36
|
+
exports.getCompanyPassportLocalStoreData = exports.getCompanyPassportView = exports.fetchCompanyPassportView = exports.isAllowedValueWithID = exports.isAllowedValueWithCode = exports.toCockpitTabsFileTypeStrict = exports.toCockpitTabsIDStrict = exports.ALL_COCKPIT_TABS_IDS = exports.ALL_COCKPIT_TABS_FILE_TYPES = exports.toOnboardingSortKeyType = exports.toManagementSortKeyType = exports.toPortfolioSortKeyType = exports.clearAddressView = exports.fetchAddress = exports.getFormattedAddress = exports.getAllNewAddresses = exports.getNewAddress = exports.getAddress = exports.newAddressInLocalStore = exports.getCompanyMonthEndReportSelectorView = exports.resetCompanyMonthEndReportFetchStatus = exports.saveCompanyMonthEndReport = exports.sendCompanyMonthEndReport = exports.fetchCompanyMonthEndReportView = exports.fetchImproveUsingZeniGPT = exports.getAllCockpitTabsFilterView = exports.isInfiniteRunway = exports.getCompanyPortfolioView = exports.retryBankAccountConnection = exports.getReviewCompanyListCount = exports.getReviewCompanySelectorView = exports.updateReviewCompanyListUIState = exports.fetchReviewCompanyView = exports.updateCompanyDownloadState = exports.fetchZeniUsers = exports.fetchSubscriptionView = exports.fetchPortfolioView = exports.fetchManagementView = exports.fetchOnboardingView = exports.fetchParentSubsidiaryManagementView = exports.updateCompanyManagementUIState = exports.updateCompanyPortfolioUIState = exports.fetchCompanyPortfolioView = exports.fetchCompanyManagementView = exports.fetchAllCockpitViews = exports.companyManagementSaveUpdates = exports.getParentSubsidiaryManagementView = exports.getAddonListZeniSku = exports.getPlanListZeniSku = exports.getCompanyManagementView = void 0;
|
|
37
|
+
exports.getFileListWithStatus = exports.clearFileViewList = exports.deleteFileSuccess = exports.deleteFileFailure = exports.deleteFile = exports.deleteFileListSuccess = exports.deleteFileListFailure = exports.deleteFileList = exports.updateFilesMetadata = exports.updateFileNameSuccess = exports.updateFileNameFailure = exports.updateFileName = exports.fetchFile = exports.fetchFileListSuccess = exports.fetchFileListFailure = exports.fetchFileList = exports.toSupportedFileTypeStrict = exports.updateFiles = exports.getSubscriptionEstimationData = exports.getSubscriptionLocalStoreDataView = exports.getSubscriptionsDetailView = exports.clearSubscriptionLocalData = exports.clearSubscriptionUpdateViewDataByTenantId = exports.saveSubscriptionLocalData = exports.initializeSubscriptionLocalData = exports.clearSubscriptionView = exports.fetchSubscriptionUpdateEstimate = exports.fetchSubscriptionCreateEstimate = exports.saveSubscriptionNotesUpdates = exports.saveSubscriptionUpdates = exports.fetchSubscriptionDetails = exports.fetchSubscriptionCoupons = exports.fetchSubscriptionAddOns = exports.fetchSubscriptionPlans = exports.fetchSubscriptionList = exports.updateCompanySubscriptionUIState = exports.getCompanySubscriptionView = exports.toSubscriptionSortKeyType = exports.getBankAccount = exports.getNestedAccountListHeirarchy = exports.getUncategorizedAccounts = exports.toCompanyPassportLocalData = exports.clearCompanyView = exports.saveCompanyPassportDetails = exports.updateCompanyPassportLocalStoreData = exports.companyPassportClearDataInLocalStore = exports.deleteCompanyOfficerInLocalStore = exports.saveIndustryAndIncDateInCompanyPassportLocalStore = exports.companyPassportSaveDataInLocalStore = exports.isCompanyPassportDataToBeSaved = void 0;
|
|
38
|
+
exports.updateRemiListSearchResult = exports.updateRemiListUIState = exports.updateRemiDetailSaveRemiCode = exports.updateRemiListSubTab = exports.updateRemiListTab = exports.fetchRemiListPerTab = exports.fetchRemiList = exports.getRemiDownloadList = exports.getRemiList = exports.toRemiTabTypeStrict = exports.toRemiTabType = exports.toRemiSubTabTypeStrict = exports.toRemiSubTabType = exports.deleteUserBankAccount = exports.createUserBankAccount = exports.resetCreateBankAccountDetails = exports.createBankAccount = exports.deleteBankAccount = exports.fetchBankCountryNameByIban = exports.fetchBankNameBySwift = exports.fetchBankNameByRouting = exports.fetchVendorDetailPageView = exports.fetchVendorDetails = exports.updateStatusForCreateBankAccountFlow = exports.clearBankAccountView = exports.updateInternationalBankAccountViewLocalStoreData = exports.updateBankAccountViewLocalStoreData = exports.initializeVendorAddress = exports.updateSelectedVendorForCreateFlow = exports.removeBankAccountsInVendorView = exports.saveVendor = exports.fetchVendor = exports.updateScrollYOffset = exports.fetchVendorsList = exports.vendorsTabResetVendorDetailLocalData = exports.vendorsTabUpdateVendorDetailLocalData = exports.vendorsTabSaveVendorSuccessOrFailure = exports.vendorsTabSaveVendor = exports.getVendorsTabDetailPageView = exports.fetchVendorsTabVendorDetailPageView = exports.getVendorDetailPageView = exports.getVendorView = exports.getAnalyticsDataOnVendorSave = exports.fetchTasksCard = exports.downloadFile = exports.mapFilePayloadToFile = exports.uploadFile = exports.getFileDeleteStatusById = exports.getFileUpdateNameStatusById = exports.getDeleteFileListWithStatus = void 0;
|
|
39
|
+
exports.toPaymentToOption = exports.updateVendorContact = exports.verifyUser = exports.fetchUserDetails = exports.verifyOtpVendorView = exports.resendOtpVendorView = exports.sendOtpVendorView = exports.updateBillListSearchResult = exports.updateBillUploadFetchState = exports.updateContactsInVendorDetailLocalData = exports.resetVendorDetailLocalData = exports.updateVendorDetailLocalData = exports.BILL_PAY_FILTER_CATEGORIES = exports.updateBillListUIState = exports.saveVendorSuccessOrFailure = exports.updateShowAutofill = exports.fetchBillAndInitializeLocalStore = exports.getReviewPageBillDetail = exports.getEditBillDetail = exports.clearBillPayReview = exports.fetchDuplicateBill = exports.fetchAndUpdateVendorRecommendations = exports.fetchEditBillDetailPage = exports.fetchBillDetail = exports.getBillTransactionDetailKey = exports.checkApproveRejectBtnShowForBill = exports.getBillDetailView = exports.getBillDownloadList = exports.getBillList = exports.cancelAndDeleteBill = exports.deleteBill = exports.updateApprovalStatusOnSuccess = exports.approveOrRejectBill = exports.saveBillDetail = exports.discardBillUpdatesInLocalStore = exports.saveBillUpdatesToLocalStore = exports.fetchVendorByNameAndParseInvoice = exports.updateBillDetailSaveBillCode = exports.updateSelectedBillId = exports.updateSubTab = exports.updateTab = exports.fetchBillListPerTab = exports.fetchBillList = exports.getClassList = exports.updateBillListDownloadUIState = exports.updateRemiListDownloadUIState = exports.REIMBURSEMENT_FILTER_CATEGORIES_RESTRICTED = exports.REIMBURSEMENT_FILTER_CATEGORIES = exports.updateRemiListFilterResult = exports.updateBillListFilterResult = void 0;
|
|
40
|
+
exports.fetchBillPayApproversDetails = exports.fetchBillPaySetupApproverView = exports.getBillPaySetupApproverUpdateDataView = exports.getBillPaySetupApproverView = exports.toRoleTypeStrict = exports.toAttributeOrRoleTypeStrict = exports.toAttributeTypeStrict = exports.isSuccessResponse = exports.getRemiBusinessVerificationDetails = exports.getRemiSetupViewDetails = exports.clearRemiSetupView = exports.acceptEmployeeRemiTerms = exports.acceptRemiTerms = exports.saveRemiSetupViewDataInLocalStore = exports.updateMileageDetails = exports.fetchRemiSetupView = exports.getUserFinancialAccount = exports.getCommonSetupViewDetails = exports.getZeniAccountBusinessVerificationDetails = exports.getBillPayBusinessVerificationDetails = exports.getBusinessVerificationDetails = exports.getZeniAccountSetupViewDetails = exports.getBillPaySetupViewDetails = exports.verifyOtp = exports.resendOtp = exports.sendOtp = exports.clearZeniAccountSetupView = exports.clearBillPaySetupView = exports.clearSetupViewDataInLocalStore = exports.saveIndustryAndIncDateInLocalStore = exports.saveCompnayOfficerAdditionalDocumentsInLocalStore = exports.saveCompnayOfficerPhoneInLocalStore = exports.saveSetupViewDataInLocalStore = exports.acceptBillPayUpdatedTerms = exports.acceptZeniAccountTerms = exports.acceptBillPayTerms = exports.establishPlaidConnection = exports.updatePaymentAccountStatus = exports.updatePaymentAccountLoginStatus = exports.updatePaymentAccount = exports.updateBusinessVerificationDetails = exports.updateSetupViewLocalStoreData = exports.updateSelectedCompanyOfficer = exports.getPlaidLinkToken = exports.getPaymentAccounts = exports.enableSetup = exports.fetchZeniAccountSetupView = exports.fetchBillPaySetupView = exports.hideCreatedByFilter = exports.convertAmountToHomeCurrency = void 0;
|
|
41
|
+
exports.toFileTypeStrict = exports.ALL_FILE_TYPES = exports.reduceAllFetchState = exports.reduceAnyFetchState = exports.reduceFetchState = exports.clearAddRemiAutoFields = exports.clearTentativeMerchantName = exports.updateTentativeMerchantNames = exports.updateUploadFetchState = exports.updateAddRemiAutoFields = exports.clearEditRemiViewDetail = exports.parseReceiptsToRemi = exports.saveRemiSuccessOrFailure = exports.saveRemiDetail = exports.removeFileFromRemiUpdatesInLocalStore = exports.discardRemiUpdatesInLocalStore = exports.fetchCurrencyConversionValue = exports.saveRemiUpdatesToLocalStore = exports.initializeRemiToLocalStore = exports.fetchRemiAndInitializeLocalStore = exports.fetchRecommendationsAndUpdateMerchantRecommendations = exports.fetchEditRemiDetailPage = exports.getEditRemiDetail = exports.clearRemiDetailView = exports.approveOrRejectRemi = exports.cancelAndDeleteRemi = exports.fetchRemiDetail = exports.deleteRemi = exports.updateIsEditModeRealTimeApprovals = exports.saveRealTimeApproval = exports.checkApproveRejectBtnShowForRemi = exports.getRemiDetailView = exports.clearRemiSetupApproverView = exports.clearRemiSetupApproverViewUpdateData = exports.initializeRemiSetupApproverViewUpdateData = exports.saveRemiSetupApproverViewUpdates = exports.saveRemiSetupApproverViewUpdateData = exports.deleteRemiApprovalRule = exports.fetchRemiApproversDetails = exports.fetchRemiApproversList = exports.fetchRemiSetupApproverView = exports.getRemiSetupApproverUpdateDataView = exports.getRemiSetupApproverView = exports.clearBillPaySetupApproverView = exports.clearBillPaySetupApproverViewUpdateData = exports.initializeBillPaySetupApproverViewUpdateData = exports.saveBillPaySetupApproverViewUpdates = exports.saveBillPaySetupApproverViewUpdateData = exports.deleteBillPayApprovalRule = exports.fetchBillPayApproversList = void 0;
|
|
42
|
+
exports.fetchRecommendationByEntityId = exports.fetchRecommendationByEntityQboId = exports.isVendorsTabVisible = exports.isColumnYTDSpend = exports.updateYTDSelectionUIState = exports.updatePageToken = exports.updateSortUiState = exports.getVendorList = exports.LOCAL_CURRENCY_INTERNATIONAL_METHOD_SUBTEXT = exports.SWIFT_OUR_INTERNATIONAL_METHOD_SUBTEXT = exports.NEW_INTERNATIONAL_METHOD_SUBTEXT = exports.BILL_NEW_PAYMENT_METHODS = exports.getInternationalSubConfigCodeKey = exports.shouldEnableCalendarPickerForLastReportSent = exports.canSendMonthEndEmailReport = exports.getSelectedCompanyOfficer = exports.getSpendManagementEffectiveListPeriod = exports.getSnackbar = exports.closeSnackbar = exports.openSnackbar = exports.getChangedLineItemCountFromLocalData = exports.getTransactionListUIStateByCategoryType = exports.getTransactionsListByCategoryType = exports.retryBankAccountConnectionForOnboarding = exports.sendOnboardingCustomerViewInvite = exports.resetNewOnboardedCustomerId = exports.updateOnboardingCustomerDataInLocalStore = exports.saveOnboardingCustomerDataInLocalStore = exports.saveOnboardingCustomerNotes = exports.saveOnboardingCustomerViewUpdates = exports.updateStatusAfterOnboardingCompleted = exports.updateCustomerCreationStatus = exports.updateOnboardingCustomerListUIState = exports.saveOnboardingCustomerViewUpdateData = exports.clearOnboardingCustomerViewUpdateData = exports.initializeOnboardingCustomerViewUpdateData = exports.getOnboardingEmailGroup = exports.getNewOnboardingCustomerView = exports.getOnboardingCockpitView = exports.saveOnboardingCustomerCompletedStatus = exports.fetchOnboardingCompletedCompanies = exports.fetchCompanyOnboardingView = exports.PAYMENT_BUSINESS_DAYS = exports.holidaysFormatted = exports.isHoliday = exports.getYearsList = exports.filterDays = exports.isHolidayToday = exports.getPreviousNthWorkingDay = exports.getNextNthWorkingDay = void 0;
|
|
43
|
+
exports.updateOnboardingPaymentAccountLoginStatus = exports.updateOnboardingCustomerViewCompleteStatus = exports.updateOnboardingCustomerViewAccountDetails = exports.establishOnboardingPlaidConnection = exports.getOnboardingPlaidLinkToken = exports.fetchOnboardingCustomerSetupView = exports.fetchOnboardingCustomerView = exports.isZeniClearingAccount = exports.ZENI_CLEARING_ACCOUNT = exports.isZeniClearingAccountReport = exports.getCompanyConfig = 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.clearTransferDetail = exports.getTransferDetail = exports.transferMoney = exports.updateDepositToLocalData = exports.updateTransferToLocalData = exports.updateTransferMoneyLocalData = exports.fetchZeniAccountsConfig = exports.fetchDepositAccount = exports.getDepositAccountDetailForPDF = exports.getDepositAccountDetail = exports.unlinkPaymentAccount = exports.fetchPaymentAccountList = exports.createCheckingAccount = exports.updateZeniAccountListTab = exports.fetchZeniAccountList = exports.getZeniAccountList = exports.getZeniAccountsConfigDetail = exports.fetchOwnerList = exports.fetchRecommendationByEntityName = void 0;
|
|
44
|
+
exports.toCreditLimitFrequencyCodeType = exports.toChargeCardSortKeyType = exports.fetchChargeCardTransactionList = exports.getChargeCardDetailView = exports.fetchChargeCardDetailPage = exports.getChargeCardListView = exports.fetchChargeCardListPage = exports.getChargeCardBusinessVerificationDetails = 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.resendOnboardingOfficerOtp = exports.verifyOnboardingOfficerOtp = exports.sendOnboardingOfficerOtp = exports.saveOnboardingCustomerViewDataInLocalStore = exports.saveOnboardingCompnayOfficerPhoneInLocalStore = exports.updateOnboardingCustomerViewUIState = exports.updateCurrentStep = exports.updateOnboardingCustomerViewLocalStoreData = exports.updateOnboardingCustomerView = exports.updateOnboardingPaymentAccountStatus = void 0;
|
|
45
|
+
exports.toRecurringBillFrequencyStrict = exports.toRecurringBillFrequency = exports.getArAgingDetailForCustomer = exports.getArAgingReport = exports.updateArAgingDetailUIState = exports.fetchArAgingDetail = exports.updateArAgingUIState = exports.fetchArAging = exports.toVendorGlobalReviewColumnSortKeyType = exports.getTenantMerchantByMerchantId = exports.getVendorGlobalReviewView = exports.updateVendorGlobalReviewViewUIState = exports.updateSelectedGlobalMerchant = exports.fetchVendorGlobalReviewView = exports.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.updateApAgingDetailUIState = exports.getApAgingDetailForVendor = exports.fetchApAgingDetail = exports.updateApAgingUIState = exports.getApAgingReport = exports.fetchApAging = exports.updateChargeCardListUIState = exports.updateChargeCardListSearchText = exports.resetIssueChargeCardForm = exports.updateChargeCardLocalStore = exports.issueChargeCard = exports.acceptChargeCardTerms = exports.fetchChargeCardSetupView = exports.getChargeCardSetupViewDetails = void 0;
|
|
47
46
|
const zeniDayJS_1 = require("./zeniDayJS");
|
|
48
47
|
Object.defineProperty(exports, "Dayjs", { enumerable: true, get: function () { return zeniDayJS_1.Dayjs; } });
|
|
49
48
|
Object.defineProperty(exports, "updateZeniDateLocaleID", { enumerable: true, get: function () { return zeniDayJS_1.updateZeniDateLocaleID; } });
|
|
@@ -357,16 +356,6 @@ Object.defineProperty(exports, "initializeEditPerson", { enumerable: true, get:
|
|
|
357
356
|
const peopleSelector_1 = require("./view/people/peopleSelector");
|
|
358
357
|
Object.defineProperty(exports, "getPeople", { enumerable: true, get: function () { return peopleSelector_1.getPeople; } });
|
|
359
358
|
Object.defineProperty(exports, "getPeopleLocalData", { enumerable: true, get: function () { return peopleSelector_1.getPeopleLocalData; } });
|
|
360
|
-
const settingsViewReducer_1 = require("./view/settingsView/settingsViewReducer");
|
|
361
|
-
Object.defineProperty(exports, "fetchMyProfileView", { enumerable: true, get: function () { return settingsViewReducer_1.fetchMyProfileView; } });
|
|
362
|
-
Object.defineProperty(exports, "clearSettingsView", { enumerable: true, get: function () { return settingsViewReducer_1.clearSettingsView; } });
|
|
363
|
-
Object.defineProperty(exports, "fetchBankConnectionsView", { enumerable: true, get: function () { return settingsViewReducer_1.fetchBankConnectionsView; } });
|
|
364
|
-
const settingsViewSelector_1 = require("./view/settingsView/settingsViewSelector");
|
|
365
|
-
Object.defineProperty(exports, "getMyProfileView", { enumerable: true, get: function () { return settingsViewSelector_1.getMyProfileView; } });
|
|
366
|
-
Object.defineProperty(exports, "getApprovalRuleViewDetails", { enumerable: true, get: function () { return settingsViewSelector_1.getApprovalRuleViewDetails; } });
|
|
367
|
-
Object.defineProperty(exports, "getBankConnectionsSetupViewDetails", { enumerable: true, get: function () { return settingsViewSelector_1.getBankConnectionsSetupViewDetails; } });
|
|
368
|
-
Object.defineProperty(exports, "getMyBankConnectionsDetails", { enumerable: true, get: function () { return settingsViewSelector_1.getMyBankConnectionsDetails; } });
|
|
369
|
-
Object.defineProperty(exports, "getIntegrationsView", { enumerable: true, get: function () { return settingsViewSelector_1.getIntegrationsView; } });
|
|
370
359
|
const balanceSheetReducer_1 = require("./view/balanceSheet/balanceSheetReducer");
|
|
371
360
|
Object.defineProperty(exports, "fetchBalanceSheet", { enumerable: true, get: function () { return balanceSheetReducer_1.fetchBalanceSheet; } });
|
|
372
361
|
Object.defineProperty(exports, "resetBalanceSheetNodeCollapseState", { enumerable: true, get: function () { return balanceSheetReducer_1.resetBalanceSheetNodeCollapseState; } });
|
|
@@ -815,8 +804,6 @@ Object.defineProperty(exports, "getZeniAccountBusinessVerificationDetails", { en
|
|
|
815
804
|
const setupViewSelector_1 = require("./view/spendManagement/commonSetup/setupViewSelector");
|
|
816
805
|
Object.defineProperty(exports, "getCommonSetupViewDetails", { enumerable: true, get: function () { return setupViewSelector_1.getCommonSetupViewDetails; } });
|
|
817
806
|
Object.defineProperty(exports, "getBusinessVerificationDetails", { enumerable: true, get: function () { return setupViewSelector_1.getBusinessVerificationDetails; } });
|
|
818
|
-
const userFinancialAccountReducer_1 = require("./view/userFinancialAccount/userFinancialAccountReducer");
|
|
819
|
-
Object.defineProperty(exports, "fetchUserFinancialAccount", { enumerable: true, get: function () { return userFinancialAccountReducer_1.fetchUserFinancialAccount; } });
|
|
820
807
|
const userFinancialAccountSelector_1 = require("./view/userFinancialAccount/userFinancialAccountSelector");
|
|
821
808
|
Object.defineProperty(exports, "getUserFinancialAccount", { enumerable: true, get: function () { return userFinancialAccountSelector_1.getUserFinancialAccount; } });
|
|
822
809
|
const remiSetupViewReducer_1 = require("./view/spendManagement/reimbursement/remiSetupView/remiSetupViewReducer");
|
package/lib/reducer.d.ts
CHANGED
|
@@ -26,7 +26,6 @@ import { TransactionState } from './entity/transaction/transactionState';
|
|
|
26
26
|
import { TransactionListState } from './view/transactionList/transactionListState';
|
|
27
27
|
import { TransactionDetailState } from './view/transactionDetail/transactionDetailState';
|
|
28
28
|
import { PeopleState } from './view/people/peopleState';
|
|
29
|
-
import { SettingsViewState } from './view/settingsView/settingsViewState';
|
|
30
29
|
import { InsightState } from './entity/insights/insightState';
|
|
31
30
|
import { InsightsCardState } from './view/insightsCard/insightsCardState';
|
|
32
31
|
import { ForecastState } from './entity/forecast/forecastState';
|
|
@@ -263,7 +262,6 @@ declare type ViewsState = {
|
|
|
263
262
|
revenueClassesViewState: RevenueClassesViewState;
|
|
264
263
|
revenueState: RevenueWithForecastState;
|
|
265
264
|
reviewCompanyViewState: ReviewCompanyViewState;
|
|
266
|
-
settingsViewState: SettingsViewState;
|
|
267
265
|
setupViewState: SetupViewState;
|
|
268
266
|
subscriptionViewState: SubscriptionViewState;
|
|
269
267
|
tasksCardState: TasksCardState;
|
|
@@ -364,7 +362,6 @@ declare const reducers: import("redux").Reducer<import("redux").CombinedState<{
|
|
|
364
362
|
revenueClassesViewState: RevenueClassesViewState;
|
|
365
363
|
revenueState: RevenueWithForecastState;
|
|
366
364
|
reviewCompanyViewState: ReviewCompanyViewState;
|
|
367
|
-
settingsViewState: SettingsViewState;
|
|
368
365
|
setupViewState: SetupViewState;
|
|
369
366
|
subscriptionViewState: SubscriptionViewState;
|
|
370
367
|
tasksCardState: TasksCardState;
|
package/lib/reducer.js
CHANGED
|
@@ -56,7 +56,6 @@ const transactionReducer_1 = __importStar(require("./entity/transaction/transact
|
|
|
56
56
|
const transactionListReducer_1 = __importStar(require("./view/transactionList/transactionListReducer"));
|
|
57
57
|
const transactionDetailReducer_1 = __importStar(require("./view/transactionDetail/transactionDetailReducer"));
|
|
58
58
|
const peopleReducer_1 = __importStar(require("./view/people/peopleReducer"));
|
|
59
|
-
const settingsViewReducer_1 = __importStar(require("./view/settingsView/settingsViewReducer"));
|
|
60
59
|
const insightReducer_1 = __importStar(require("./entity/insights/insightReducer"));
|
|
61
60
|
const insightsCardReducer_1 = __importStar(require("./view/insightsCard/insightsCardReducer"));
|
|
62
61
|
const forecastReducer_1 = __importStar(require("./entity/forecast/forecastReducer"));
|
|
@@ -296,7 +295,6 @@ const initialViewsState = {
|
|
|
296
295
|
revenueClassesViewState: revenueClassesViewReducer_1.initialState,
|
|
297
296
|
revenueState: revenueReducer_1.initialState,
|
|
298
297
|
reviewCompanyViewState: reviewCompanyViewReducer_1.initialState,
|
|
299
|
-
settingsViewState: settingsViewReducer_1.initialState,
|
|
300
298
|
setupViewState: setupViewReducer_1.initialState,
|
|
301
299
|
subscriptionViewState: subscriptionViewReducer_1.initialState,
|
|
302
300
|
tasksCardState: tasksCardReducer_1.initialState,
|
|
@@ -448,7 +446,6 @@ const viewReducers = {
|
|
|
448
446
|
revenueClassesViewState: revenueClassesViewReducer_1.default,
|
|
449
447
|
revenueState: revenueReducer_1.default,
|
|
450
448
|
reviewCompanyViewState: reviewCompanyViewReducer_1.default,
|
|
451
|
-
settingsViewState: settingsViewReducer_1.default,
|
|
452
449
|
setupViewState: setupViewReducer_1.default,
|
|
453
450
|
subscriptionViewState: subscriptionViewReducer_1.default,
|
|
454
451
|
tasksCardState: tasksCardReducer_1.default,
|
|
@@ -6,34 +6,25 @@ const operators_1 = require("rxjs/operators");
|
|
|
6
6
|
const responsePayload_1 = require("../../responsePayload");
|
|
7
7
|
const accountReducer_1 = require("../../entity/account/accountReducer");
|
|
8
8
|
const accountListReducer_1 = require("./accountListReducer");
|
|
9
|
-
const getAccountTypes = (isLimitedCategoryEnabled) => {
|
|
10
|
-
if (isLimitedCategoryEnabled === true) {
|
|
11
|
-
return ['cogs', 'expenses', 'other_expense'];
|
|
12
|
-
}
|
|
13
|
-
return [];
|
|
14
|
-
};
|
|
15
9
|
const fetchAccountListEpic = (actions$, _state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(accountListReducer_1.fetchAccountList.match), (0, operators_1.switchMap)((action) => {
|
|
16
10
|
const { accountListKey, fetchFullResponse, excludeAccountPayableAccounts, excludeAccountReceivableAccounts, isLimitedCategoryEnabled, } = action.payload;
|
|
17
|
-
const accountTypes = getAccountTypes(isLimitedCategoryEnabled);
|
|
18
11
|
const queryValue = {
|
|
19
12
|
is_full: fetchFullResponse,
|
|
20
13
|
is_exclude_account_payable_accounts: excludeAccountPayableAccounts,
|
|
21
14
|
is_exclude_account_receivable_accounts: excludeAccountReceivableAccounts,
|
|
22
|
-
account_types:
|
|
15
|
+
account_types: isLimitedCategoryEnabled === true
|
|
16
|
+
? ['cogs', 'expenses', 'other_expense']
|
|
17
|
+
: [],
|
|
23
18
|
};
|
|
24
19
|
return zeniAPI
|
|
25
20
|
.getJSON(`${zeniAPI.apiEndPoints.accountMicroServiceBaseUrl}/1.0/accounts?query=${encodeURIComponent(JSON.stringify(queryValue))}`)
|
|
26
21
|
.pipe((0, operators_1.mergeMap)((response) => {
|
|
27
22
|
var _a, _b;
|
|
28
23
|
if ((0, responsePayload_1.isSuccessResponse)(response)) {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
accountListResponse: response,
|
|
34
|
-
}),
|
|
35
|
-
];
|
|
36
|
-
return (0, rxjs_1.from)(actions);
|
|
24
|
+
return (0, rxjs_1.of)((0, accountReducer_1.updateAccounts)((_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.accounts) !== null && _b !== void 0 ? _b : [], 'account_list'), (0, accountListReducer_1.updateAccountList)({
|
|
25
|
+
accountListKey,
|
|
26
|
+
accountListResponse: response,
|
|
27
|
+
}));
|
|
37
28
|
}
|
|
38
29
|
else {
|
|
39
30
|
return (0, rxjs_1.of)((0, accountListReducer_1.updateAccountListFailure)({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.71",
|
|
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,22 +0,0 @@
|
|
|
1
|
-
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
-
import { fetchBankAccountsList, updateBankConnectionOnSuccess, updateBankConnectionOnFailure } from '../settingsViewReducer';
|
|
3
|
-
import { ZeniAPI } from '../../../zeniAPI';
|
|
4
|
-
import { RootState } from '../../../reducer';
|
|
5
|
-
import { updateAccounts } from '../../../entity/account/accountReducer';
|
|
6
|
-
export declare type ActionType = ReturnType<typeof fetchBankAccountsList> | ReturnType<typeof updateBankConnectionOnSuccess> | ReturnType<typeof updateBankConnectionOnFailure> | ReturnType<typeof updateAccounts>;
|
|
7
|
-
export declare const fetchBankAccountsListEpic: (actions$: ActionsObservable<ActionType>, _state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => import("rxjs").Observable<{
|
|
8
|
-
payload: undefined;
|
|
9
|
-
type: string;
|
|
10
|
-
} | {
|
|
11
|
-
payload: import("../../../responsePayload").ZeniAPIStatus<Record<string, unknown>>;
|
|
12
|
-
type: string;
|
|
13
|
-
} | {
|
|
14
|
-
payload: {
|
|
15
|
-
bankAccountIds: string[];
|
|
16
|
-
};
|
|
17
|
-
type: string;
|
|
18
|
-
} | import("@reduxjs/toolkit").PayloadAction<import("../../../entity/account/accountPayload").AccountPayload[], string, {
|
|
19
|
-
reportId: import("../../..").ReportIDPlusForecastID;
|
|
20
|
-
classesViewParentId: import("../../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
21
|
-
updateType: import("../../..").UpdateType;
|
|
22
|
-
}, never>>;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.fetchBankAccountsListEpic = void 0;
|
|
4
|
-
const rxjs_1 = require("rxjs");
|
|
5
|
-
const operators_1 = require("rxjs/operators");
|
|
6
|
-
const settingsViewReducer_1 = require("../settingsViewReducer");
|
|
7
|
-
const responsePayload_1 = require("../../../responsePayload");
|
|
8
|
-
const accountReducer_1 = require("../../../entity/account/accountReducer");
|
|
9
|
-
const fetchBankAccountsListEpic = (actions$, _state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(settingsViewReducer_1.fetchBankAccountsList.match), (0, operators_1.switchMap)(() => {
|
|
10
|
-
const queryValue = {
|
|
11
|
-
is_full: true,
|
|
12
|
-
is_exclude_account_payable_accounts: true,
|
|
13
|
-
is_exclude_account_receivable_accounts: true,
|
|
14
|
-
account_types: ['bank'],
|
|
15
|
-
};
|
|
16
|
-
const URL = `${zeniAPI.apiEndPoints.accountMicroServiceBaseUrl}/1.0/accounts?query=${encodeURIComponent(JSON.stringify(queryValue))}`;
|
|
17
|
-
return zeniAPI.getJSON(URL).pipe((0, operators_1.mergeMap)((response) => {
|
|
18
|
-
if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
|
|
19
|
-
const bankAccountIds = response.data.accounts.map((account) => account.account_id);
|
|
20
|
-
const updateActions = [];
|
|
21
|
-
updateActions.push((0, settingsViewReducer_1.updateBankConnectionOnSuccess)({ bankAccountIds }), (0, accountReducer_1.updateAccounts)(response.data.accounts, 'bill_pay'));
|
|
22
|
-
return (0, rxjs_1.of)(...updateActions);
|
|
23
|
-
}
|
|
24
|
-
else {
|
|
25
|
-
return (0, rxjs_1.of)((0, settingsViewReducer_1.updateBankConnectionOnFailure)(response.status));
|
|
26
|
-
}
|
|
27
|
-
}), (0, operators_1.catchError)((error) => (0, rxjs_1.of)((0, settingsViewReducer_1.updateBankConnectionOnFailure)((0, responsePayload_1.createZeniAPIStatus)('Unexpected error', 'Fetch Bank Accounts REST API call errored out' +
|
|
28
|
-
JSON.stringify(error))))));
|
|
29
|
-
}));
|
|
30
|
-
exports.fetchBankAccountsListEpic = fetchBankAccountsListEpic;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ActionsObservable } from 'redux-observable';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { fetchBankConnectionsView, fetchBankAccountsList } from '../settingsViewReducer';
|
|
4
|
-
import { getPaymentAccounts } from '../../spendManagement/commonSetup/setupViewReducer';
|
|
5
|
-
export declare type ActionType = ReturnType<typeof fetchBankConnectionsView> | ReturnType<typeof fetchBankAccountsList> | ReturnType<typeof getPaymentAccounts>;
|
|
6
|
-
export declare const fetchBankConnectionsViewEpic: (actions$: ActionsObservable<ActionType>) => Observable<ActionType>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.fetchBankConnectionsViewEpic = void 0;
|
|
4
|
-
const rxjs_1 = require("rxjs");
|
|
5
|
-
const operators_1 = require("rxjs/operators");
|
|
6
|
-
const settingsViewReducer_1 = require("../settingsViewReducer");
|
|
7
|
-
const setupViewReducer_1 = require("../../spendManagement/commonSetup/setupViewReducer");
|
|
8
|
-
const fetchBankConnectionsViewEpic = (actions$) => actions$.pipe((0, operators_1.filter)(settingsViewReducer_1.fetchBankConnectionsView.match), (0, operators_1.switchMap)(() => {
|
|
9
|
-
return (0, rxjs_1.from)([
|
|
10
|
-
(0, settingsViewReducer_1.fetchBankAccountsList)(),
|
|
11
|
-
(0, setupViewReducer_1.getPaymentAccounts)('bill_pay', false),
|
|
12
|
-
]);
|
|
13
|
-
}));
|
|
14
|
-
exports.fetchBankConnectionsViewEpic = fetchBankConnectionsViewEpic;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
-
import { fetchMyProfile, updateMyProfileOnSuccess, updateMyProfileOnFailure } from '../settingsViewReducer';
|
|
3
|
-
import { ZeniAPI } from '../../../zeniAPI';
|
|
4
|
-
import { UserPayload } from '../../../entity/user/userPayload';
|
|
5
|
-
import { RootState } from '../../../reducer';
|
|
6
|
-
import { updateUserRoles } from '../../../entity/userRole/userRoleReducer';
|
|
7
|
-
import { updateAllUsers } from '../../../entity/user/userReducer';
|
|
8
|
-
import { updateUserIds } from '../../userListView/userListViewReducer';
|
|
9
|
-
import { UserRolePayload } from '../../../entity/userRole/userRolePayload';
|
|
10
|
-
import { ID } from '../../../commonStateTypes/common';
|
|
11
|
-
export declare type ActionType = ReturnType<typeof fetchMyProfile> | ReturnType<typeof updateUserRoles> | ReturnType<typeof updateAllUsers> | ReturnType<typeof updateMyProfileOnSuccess> | ReturnType<typeof updateUserIds> | ReturnType<typeof updateMyProfileOnFailure>;
|
|
12
|
-
export declare const fetchMyProfileEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => import("rxjs").Observable<{
|
|
13
|
-
payload: undefined;
|
|
14
|
-
type: string;
|
|
15
|
-
} | {
|
|
16
|
-
payload: import("../../../responsePayload").ZeniAPIStatus<Record<string, unknown>>;
|
|
17
|
-
type: string;
|
|
18
|
-
} | {
|
|
19
|
-
payload: {
|
|
20
|
-
users: UserPayload[];
|
|
21
|
-
updateType?: import("../../../commonStateTypes/common").UpdateType | undefined;
|
|
22
|
-
};
|
|
23
|
-
type: string;
|
|
24
|
-
} | {
|
|
25
|
-
payload: UserRolePayload[];
|
|
26
|
-
type: string;
|
|
27
|
-
} | {
|
|
28
|
-
payload: {
|
|
29
|
-
userType: import("../../userListView/userListViewState").UserListType;
|
|
30
|
-
usersPayload: UserPayload[];
|
|
31
|
-
};
|
|
32
|
-
type: string;
|
|
33
|
-
} | {
|
|
34
|
-
payload: {
|
|
35
|
-
userId: string;
|
|
36
|
-
};
|
|
37
|
-
type: string;
|
|
38
|
-
}>;
|
|
39
|
-
/**
|
|
40
|
-
* Helpers
|
|
41
|
-
*/
|
|
42
|
-
export declare function getUserPayloadByUserId(userId: ID | undefined, usersPayload: UserPayload[]): UserPayload[] | undefined;
|
|
43
|
-
export declare function getManagerUserIdFromUserRolesPayloadByUserId(userId: ID | undefined, userRolesPayload: UserRolePayload[]): ID | undefined;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getManagerUserIdFromUserRolesPayloadByUserId = exports.getUserPayloadByUserId = exports.fetchMyProfileEpic = void 0;
|
|
4
|
-
const rxjs_1 = require("rxjs");
|
|
5
|
-
const operators_1 = require("rxjs/operators");
|
|
6
|
-
const settingsViewReducer_1 = require("../settingsViewReducer");
|
|
7
|
-
const responsePayload_1 = require("../../../responsePayload");
|
|
8
|
-
const userRoleReducer_1 = require("../../../entity/userRole/userRoleReducer");
|
|
9
|
-
const userReducer_1 = require("../../../entity/user/userReducer");
|
|
10
|
-
const userListViewReducer_1 = require("../../userListView/userListViewReducer");
|
|
11
|
-
const fetchMyProfileEpic = (actions$, state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(settingsViewReducer_1.fetchMyProfile.match), (0, operators_1.switchMap)(() => {
|
|
12
|
-
const URL = `${zeniAPI.apiEndPoints.tenantMicroServiceBaseUrl}/1.0/settings/user-profile`;
|
|
13
|
-
const loggedInUser = state$.value.tenantState.loggedInUser;
|
|
14
|
-
return zeniAPI.getJSON(URL).pipe((0, operators_1.mergeMap)((response) => {
|
|
15
|
-
if ((0, responsePayload_1.isSuccessResponse)(response) &&
|
|
16
|
-
response.data != null &&
|
|
17
|
-
(loggedInUser === null || loggedInUser === void 0 ? void 0 : loggedInUser.userId) != null) {
|
|
18
|
-
const loggedInUserPayload = getUserPayloadByUserId(loggedInUser.userId, response.data.users);
|
|
19
|
-
const managerUserPayload = getUserPayloadByUserId(getManagerUserIdFromUserRolesPayloadByUserId(loggedInUser.userId, response.data.user_roles), response.data.users);
|
|
20
|
-
const updateActions = [];
|
|
21
|
-
updateActions.push((0, userRoleReducer_1.updateUserRoles)(response.data.user_roles), (0, userReducer_1.updateAllUsers)({ users: response.data.users }), (0, settingsViewReducer_1.updateMyProfileOnSuccess)(loggedInUser.userId));
|
|
22
|
-
if (managerUserPayload && loggedInUserPayload != null) {
|
|
23
|
-
updateActions.push((0, userListViewReducer_1.updateUserIds)({
|
|
24
|
-
userType: 'manager',
|
|
25
|
-
usersPayload: managerUserPayload,
|
|
26
|
-
}));
|
|
27
|
-
}
|
|
28
|
-
return (0, rxjs_1.of)(...updateActions);
|
|
29
|
-
}
|
|
30
|
-
else {
|
|
31
|
-
return (0, rxjs_1.of)((0, settingsViewReducer_1.updateMyProfileOnFailure)(response.status));
|
|
32
|
-
}
|
|
33
|
-
}), (0, operators_1.catchError)((error) => (0, rxjs_1.of)((0, settingsViewReducer_1.updateMyProfileOnFailure)((0, responsePayload_1.createZeniAPIStatus)('Unexpected error', 'Fetch My Profile REST API call errored out' +
|
|
34
|
-
JSON.stringify(error))))));
|
|
35
|
-
}));
|
|
36
|
-
exports.fetchMyProfileEpic = fetchMyProfileEpic;
|
|
37
|
-
/**
|
|
38
|
-
* Helpers
|
|
39
|
-
*/
|
|
40
|
-
function getUserPayloadByUserId(userId, usersPayload) {
|
|
41
|
-
const user = usersPayload.find((user) => user.user_id === userId);
|
|
42
|
-
return user ? [user] : undefined;
|
|
43
|
-
}
|
|
44
|
-
exports.getUserPayloadByUserId = getUserPayloadByUserId;
|
|
45
|
-
function getManagerUserIdFromUserRolesPayloadByUserId(userId, userRolesPayload) {
|
|
46
|
-
const userRoles = userRolesPayload.find((user) => user.user_id === userId);
|
|
47
|
-
const manager_user_id = userRoles === null || userRoles === void 0 ? void 0 : userRoles.manager_user_id;
|
|
48
|
-
return manager_user_id !== null && manager_user_id !== void 0 ? manager_user_id : undefined;
|
|
49
|
-
}
|
|
50
|
-
exports.getManagerUserIdFromUserRolesPayloadByUserId = getManagerUserIdFromUserRolesPayloadByUserId;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ActionsObservable } from 'redux-observable';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { fetchMyProfile } from '../settingsViewReducer';
|
|
4
|
-
import { fetchCompanyPassportView } from '../../companyView/companyViewReducer';
|
|
5
|
-
import { fetchClassList } from '../../classList/classListReducer';
|
|
6
|
-
export declare type ActionType = ReturnType<typeof fetchCompanyPassportView> | ReturnType<typeof fetchMyProfile> | ReturnType<typeof fetchClassList>;
|
|
7
|
-
export declare const fetchMyProfileViewEpic: (actions$: ActionsObservable<ActionType>) => Observable<ActionType>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.fetchMyProfileViewEpic = void 0;
|
|
4
|
-
const rxjs_1 = require("rxjs");
|
|
5
|
-
const operators_1 = require("rxjs/operators");
|
|
6
|
-
const settingsViewReducer_1 = require("../settingsViewReducer");
|
|
7
|
-
const companyViewReducer_1 = require("../../companyView/companyViewReducer");
|
|
8
|
-
const classListReducer_1 = require("../../classList/classListReducer");
|
|
9
|
-
const fetchMyProfileViewEpic = (actions$) => actions$.pipe((0, operators_1.filter)(settingsViewReducer_1.fetchMyProfileView.match), (0, operators_1.switchMap)((action) => {
|
|
10
|
-
const { companyId } = action.payload;
|
|
11
|
-
return (0, rxjs_1.from)([
|
|
12
|
-
(0, companyViewReducer_1.fetchCompanyPassportView)(companyId),
|
|
13
|
-
(0, classListReducer_1.fetchClassList)(),
|
|
14
|
-
(0, settingsViewReducer_1.fetchMyProfile)(),
|
|
15
|
-
]);
|
|
16
|
-
}));
|
|
17
|
-
exports.fetchMyProfileViewEpic = fetchMyProfileViewEpic;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { UserPayload } from '../../entity/user/userPayload';
|
|
2
|
-
import { UserRolePayload } from '../../entity/userRole/userRolePayload';
|
|
3
|
-
import { ZeniAPIResponse } from '../../responsePayload';
|
|
4
|
-
export interface MyProfilePeoplePayload {
|
|
5
|
-
user_roles: UserRolePayload[];
|
|
6
|
-
users: UserPayload[];
|
|
7
|
-
}
|
|
8
|
-
export declare type MyProfilePeopleResponse = ZeniAPIResponse<MyProfilePeoplePayload>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ZeniAPIStatus } from '../../responsePayload';
|
|
2
|
-
import { SettingsViewState } from './settingsViewState';
|
|
3
|
-
import { ID } from '../../commonStateTypes/common';
|
|
4
|
-
export declare const initialState: SettingsViewState;
|
|
5
|
-
export declare const fetchMyProfileView: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[companyId: string], {
|
|
6
|
-
companyId: string;
|
|
7
|
-
}, string, never, never>, fetchMyProfile: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, updateMyProfileOnSuccess: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[userId: string], {
|
|
8
|
-
userId: string;
|
|
9
|
-
}, string, never, never>, updateMyProfileOnFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<ZeniAPIStatus<Record<string, unknown>>, string>, fetchBankConnectionsView: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, updateBankConnectionOnSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
10
|
-
bankAccountIds: ID[];
|
|
11
|
-
}, string>, updateBankConnectionOnFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<ZeniAPIStatus<Record<string, unknown>>, string>, fetchBankAccountsList: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, clearSettingsView: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
12
|
-
declare const _default: import("@reduxjs/toolkit").Reducer<SettingsViewState, import("@reduxjs/toolkit").AnyAction>;
|
|
13
|
-
export default _default;
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var _a;
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.clearSettingsView = exports.fetchBankAccountsList = exports.updateBankConnectionOnFailure = exports.updateBankConnectionOnSuccess = exports.fetchBankConnectionsView = exports.updateMyProfileOnFailure = exports.updateMyProfileOnSuccess = exports.fetchMyProfile = exports.fetchMyProfileView = exports.initialState = void 0;
|
|
5
|
-
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
|
-
exports.initialState = {
|
|
7
|
-
profile: {
|
|
8
|
-
fetchState: 'Not-Started',
|
|
9
|
-
error: undefined,
|
|
10
|
-
userId: null,
|
|
11
|
-
},
|
|
12
|
-
bankConnection: {
|
|
13
|
-
fetchState: 'Not-Started',
|
|
14
|
-
error: undefined,
|
|
15
|
-
bankAccountIds: [],
|
|
16
|
-
},
|
|
17
|
-
};
|
|
18
|
-
const settings = (0, toolkit_1.createSlice)({
|
|
19
|
-
name: 'settings',
|
|
20
|
-
initialState: exports.initialState,
|
|
21
|
-
reducers: {
|
|
22
|
-
fetchMyProfileView: {
|
|
23
|
-
reducer() {
|
|
24
|
-
// Do nothing.
|
|
25
|
-
},
|
|
26
|
-
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
27
|
-
prepare(companyId) {
|
|
28
|
-
return { payload: { companyId } };
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
fetchMyProfile(draft) {
|
|
32
|
-
draft.profile.fetchState = 'In-Progress';
|
|
33
|
-
draft.profile.error = undefined;
|
|
34
|
-
},
|
|
35
|
-
updateMyProfileOnSuccess: {
|
|
36
|
-
prepare(userId) {
|
|
37
|
-
return { payload: { userId } };
|
|
38
|
-
},
|
|
39
|
-
reducer(draft, action) {
|
|
40
|
-
draft.profile.fetchState = 'Completed';
|
|
41
|
-
draft.profile.error = undefined;
|
|
42
|
-
draft.profile.userId = action.payload.userId;
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
updateMyProfileOnFailure(draft, action) {
|
|
46
|
-
draft.profile.fetchState = 'Error';
|
|
47
|
-
draft.profile.error = action.payload;
|
|
48
|
-
},
|
|
49
|
-
fetchBankConnectionsView() {
|
|
50
|
-
// Do nothing.
|
|
51
|
-
},
|
|
52
|
-
fetchBankAccountsList(draft) {
|
|
53
|
-
draft.bankConnection.fetchState = 'In-Progress';
|
|
54
|
-
draft.bankConnection.error = undefined;
|
|
55
|
-
},
|
|
56
|
-
updateBankConnectionOnSuccess(draft, action) {
|
|
57
|
-
draft.bankConnection.fetchState = 'Completed';
|
|
58
|
-
draft.bankConnection.error = undefined;
|
|
59
|
-
draft.bankConnection.bankAccountIds = action.payload.bankAccountIds;
|
|
60
|
-
},
|
|
61
|
-
updateBankConnectionOnFailure(draft, action) {
|
|
62
|
-
draft.bankConnection.fetchState = 'Error';
|
|
63
|
-
draft.bankConnection.error = action.payload;
|
|
64
|
-
},
|
|
65
|
-
clearSettingsView(draft) {
|
|
66
|
-
Object.assign(draft, exports.initialState);
|
|
67
|
-
},
|
|
68
|
-
},
|
|
69
|
-
});
|
|
70
|
-
_a = settings.actions, exports.fetchMyProfileView = _a.fetchMyProfileView, exports.fetchMyProfile = _a.fetchMyProfile, exports.updateMyProfileOnSuccess = _a.updateMyProfileOnSuccess, exports.updateMyProfileOnFailure = _a.updateMyProfileOnFailure, exports.fetchBankConnectionsView = _a.fetchBankConnectionsView, exports.updateBankConnectionOnSuccess = _a.updateBankConnectionOnSuccess, exports.updateBankConnectionOnFailure = _a.updateBankConnectionOnFailure, exports.fetchBankAccountsList = _a.fetchBankAccountsList, exports.clearSettingsView = _a.clearSettingsView;
|
|
71
|
-
exports.default = settings.reducer;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { RootState } from '../../reducer';
|
|
2
|
-
import { FetchStateAndError, ID } from '../../commonStateTypes/common';
|
|
3
|
-
import { TenantExternalConnections } from '../../entity/tenant/tenantState';
|
|
4
|
-
import { Company } from '../../entity/company/companyStateTypes';
|
|
5
|
-
import { MyBankConnectionsView, BankConnectionsSetupView, MyProfileSelectorView } from './types/settingsViewSelectorTypes';
|
|
6
|
-
export declare function getApprovalRuleViewDetails(state: RootState): FetchStateAndError;
|
|
7
|
-
export declare function getBankConnectionsSetupViewDetails(state: RootState, companyId: ID): BankConnectionsSetupView;
|
|
8
|
-
export declare function getMyBankConnectionsDetails(state: RootState, userId: ID): MyBankConnectionsView;
|
|
9
|
-
export interface IntegrationsView {
|
|
10
|
-
externalConnections: TenantExternalConnections | undefined;
|
|
11
|
-
companyView: Company | undefined;
|
|
12
|
-
}
|
|
13
|
-
export declare function getIntegrationsView(state: RootState, companyId: ID): IntegrationsView;
|
|
14
|
-
export declare const getMyProfileView: (state: RootState) => MyProfileSelectorView;
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getMyProfileView = exports.getIntegrationsView = exports.getMyBankConnectionsDetails = exports.getBankConnectionsSetupViewDetails = exports.getApprovalRuleViewDetails = void 0;
|
|
4
|
-
const toolkit_1 = require("@reduxjs/toolkit");
|
|
5
|
-
const tenantSelector_1 = require("../../entity/tenant/tenantSelector");
|
|
6
|
-
const companySelector_1 = require("../../entity/company/companySelector");
|
|
7
|
-
const userRoleSelector_1 = require("../../entity/userRole/userRoleSelector");
|
|
8
|
-
const userSelector_1 = require("../../entity/user/userSelector");
|
|
9
|
-
const accountSelector_1 = require("../../entity/account/accountSelector");
|
|
10
|
-
const paymentAccountSelector_1 = require("../../entity/paymentAccount/paymentAccountSelector");
|
|
11
|
-
const classSelector_1 = require("../../entity/class/classSelector");
|
|
12
|
-
const classSelectorV2_1 = require("../../entity/class/classSelectorV2");
|
|
13
|
-
const userListViewSelector_1 = require("../userListView/userListViewSelector");
|
|
14
|
-
const reduceFetchState_1 = require("../../commonStateTypes/reduceFetchState");
|
|
15
|
-
const companyPassportViewSelector_1 = require("../companyView/selector/companyPassportViewSelector");
|
|
16
|
-
const userFinancialAccountSelector_1 = require("../userFinancialAccount/userFinancialAccountSelector");
|
|
17
|
-
const setupViewSelector_1 = require("../../view/spendManagement/commonSetup/setupViewSelector");
|
|
18
|
-
function getApprovalRuleViewDetails(state) {
|
|
19
|
-
const { billPaySetupApproverViewState, remiSetupApproverViewState } = state;
|
|
20
|
-
const fetchState = (0, reduceFetchState_1.reduceAnyFetchState)([
|
|
21
|
-
billPaySetupApproverViewState,
|
|
22
|
-
remiSetupApproverViewState,
|
|
23
|
-
]);
|
|
24
|
-
return {
|
|
25
|
-
fetchState: fetchState.fetchState,
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
exports.getApprovalRuleViewDetails = getApprovalRuleViewDetails;
|
|
29
|
-
function getBankConnectionsSetupViewDetails(state, companyId) {
|
|
30
|
-
const { accountState, setupViewState, settingsViewState } = state;
|
|
31
|
-
const { bankConnection } = settingsViewState;
|
|
32
|
-
const allBankAccounts = bankConnection.bankAccountIds
|
|
33
|
-
.map((accountId) => (0, accountSelector_1.getAccountBase)(accountState, accountId, 'bill_pay'))
|
|
34
|
-
.filter((account) => account != null);
|
|
35
|
-
const fetchState = (0, reduceFetchState_1.reduceAnyFetchState)([
|
|
36
|
-
settingsViewState.bankConnection,
|
|
37
|
-
setupViewState.accountDetails.fetchStatus,
|
|
38
|
-
]);
|
|
39
|
-
return {
|
|
40
|
-
setupView: Object.assign(Object.assign({}, (0, setupViewSelector_1.getCommonSetupViewDetails)(state, companyId, 'bill_pay')), { allBankAccounts }),
|
|
41
|
-
fetchState: fetchState.fetchState,
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
exports.getBankConnectionsSetupViewDetails = getBankConnectionsSetupViewDetails;
|
|
45
|
-
function getMyBankConnectionsDetails(state, userId) {
|
|
46
|
-
var _a, _b;
|
|
47
|
-
const userFinancialAccount = (0, userFinancialAccountSelector_1.getUserFinancialAccount)(state, userId);
|
|
48
|
-
const paymentAccounts = (0, paymentAccountSelector_1.getPaymentAccountsByBankAccountIds)(state.paymentAccountState, (_b = (_a = state.userFinancialAccountState.financialAccountByUserId[userId]) === null || _a === void 0 ? void 0 : _a.bankAccountIds) !== null && _b !== void 0 ? _b : []);
|
|
49
|
-
return Object.assign(Object.assign({}, userFinancialAccount), { paymentAccounts });
|
|
50
|
-
}
|
|
51
|
-
exports.getMyBankConnectionsDetails = getMyBankConnectionsDetails;
|
|
52
|
-
function getIntegrationsView(state, companyId) {
|
|
53
|
-
var _a;
|
|
54
|
-
const externalConnections = (0, tenantSelector_1.getCurrentTenantExternalConnections)(state.tenantState, state.companyState);
|
|
55
|
-
const companyView = (_a = (0, companySelector_1.getCompanyByCompanyId)(state.companyState, companyId)) === null || _a === void 0 ? void 0 : _a.company;
|
|
56
|
-
return {
|
|
57
|
-
externalConnections,
|
|
58
|
-
companyView,
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
exports.getIntegrationsView = getIntegrationsView;
|
|
62
|
-
exports.getMyProfileView = (0, toolkit_1.createSelector)((state) => state.tenantState, (state) => state.userState, (state) => state.userRoleState, (state) => state.settingsViewState, (state) => state.classState, (state) => state.classListState, (state) => (0, companyPassportViewSelector_1.getCompanyPassportView)(state), (state) => (0, userListViewSelector_1.getUserList)(state, 'manager'), (tenantState, userState, userRoleState, settingsViewState, classState, classListState, companyPassportView, managersListView) => {
|
|
63
|
-
var _a, _b, _c, _d;
|
|
64
|
-
const userId = (_a = tenantState.loggedInUser) === null || _a === void 0 ? void 0 : _a.userId;
|
|
65
|
-
if (userId == null) {
|
|
66
|
-
throw new Error(`User not logged in`);
|
|
67
|
-
}
|
|
68
|
-
const user = (0, userSelector_1.getUserByUserId)(userState, userId);
|
|
69
|
-
const userRole = (0, userRoleSelector_1.getUserRoleByUserId)(userRoleState, userId);
|
|
70
|
-
const person = {
|
|
71
|
-
userId,
|
|
72
|
-
user,
|
|
73
|
-
userRole,
|
|
74
|
-
};
|
|
75
|
-
const isZeniUser = (_b = userRole === null || userRole === void 0 ? void 0 : userRole.isZeni) !== null && _b !== void 0 ? _b : true;
|
|
76
|
-
const departmentIds = (_c = userRole === null || userRole === void 0 ? void 0 : userRole.accountingClassIDs) !== null && _c !== void 0 ? _c : [];
|
|
77
|
-
const classList = (0, classSelectorV2_1.getClassesByIds)(classState, {
|
|
78
|
-
classIds: classListState.classIds,
|
|
79
|
-
reportId: 'class_list',
|
|
80
|
-
});
|
|
81
|
-
const department = departmentIds.length > 0
|
|
82
|
-
? (0, classSelector_1.getClassById)(classState, {
|
|
83
|
-
classId: departmentIds[0],
|
|
84
|
-
reportId: 'class_list',
|
|
85
|
-
})
|
|
86
|
-
: undefined;
|
|
87
|
-
const fetchState = (0, reduceFetchState_1.reduceAnyFetchState)([
|
|
88
|
-
settingsViewState.profile,
|
|
89
|
-
companyPassportView,
|
|
90
|
-
classListState,
|
|
91
|
-
]);
|
|
92
|
-
const controllersList = ((_d = companyPassportView.companyView) === null || _d === void 0 ? void 0 : _d.controllers) != null
|
|
93
|
-
? companyPassportView.companyView.controllers.map((controller) => controller.user)
|
|
94
|
-
: [];
|
|
95
|
-
const myProfilePeopleView = {
|
|
96
|
-
fetchState: fetchState.fetchState,
|
|
97
|
-
error: fetchState.error,
|
|
98
|
-
isZeniUser,
|
|
99
|
-
person,
|
|
100
|
-
department,
|
|
101
|
-
classList,
|
|
102
|
-
controllersList,
|
|
103
|
-
managersList: managersListView.users,
|
|
104
|
-
};
|
|
105
|
-
const managerId = userRole === null || userRole === void 0 ? void 0 : userRole.managerUserId;
|
|
106
|
-
if (managerId != null) {
|
|
107
|
-
const managerUser = (0, userSelector_1.getUserByUserId)(userState, managerId);
|
|
108
|
-
const managerUserRole = (0, userRoleSelector_1.getUserRoleByUserId)(userRoleState, managerId);
|
|
109
|
-
if (managerUser != null) {
|
|
110
|
-
const manager = {
|
|
111
|
-
userId: managerId,
|
|
112
|
-
user: managerUser,
|
|
113
|
-
userRole: managerUserRole,
|
|
114
|
-
};
|
|
115
|
-
return Object.assign(Object.assign({}, myProfilePeopleView), { manager });
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
return myProfilePeopleView;
|
|
119
|
-
});
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ID, FetchStateAndError } from '../../commonStateTypes/common';
|
|
2
|
-
interface MyProfile extends FetchStateAndError {
|
|
3
|
-
userId: ID | null;
|
|
4
|
-
}
|
|
5
|
-
interface BankConnection extends FetchStateAndError {
|
|
6
|
-
bankAccountIds: ID[];
|
|
7
|
-
}
|
|
8
|
-
export interface SettingsViewState {
|
|
9
|
-
profile: MyProfile;
|
|
10
|
-
bankConnection: BankConnection;
|
|
11
|
-
}
|
|
12
|
-
export {};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ID, FetchStateAndError } from '../../../commonStateTypes/common';
|
|
2
|
-
import { SelectorView } from '../../../commonStateTypes/viewAndReport/viewAndReport';
|
|
3
|
-
import { Class } from '../../../entity/class/classState';
|
|
4
|
-
import { PaymentAccount } from '../../../entity/paymentAccount/paymentAccountState';
|
|
5
|
-
import { User } from '../../../entity/user/userState';
|
|
6
|
-
import { UserRole } from '../../../entity/userRole/userRoleState';
|
|
7
|
-
import { Person } from '../../people/peopleSelectorTypes';
|
|
8
|
-
import { SetupView } from '../../spendManagement/commonSetup/setupViewSelector';
|
|
9
|
-
import { UserFinancialAccountSelectorView } from '../../userFinancialAccount/userFinancialAccountSelector';
|
|
10
|
-
export interface MyProfileSelectorView extends SelectorView {
|
|
11
|
-
isZeniUser: boolean;
|
|
12
|
-
person: MyProfile;
|
|
13
|
-
classList: Class[];
|
|
14
|
-
managersList: Person[];
|
|
15
|
-
controllersList: User[];
|
|
16
|
-
manager?: MyProfile;
|
|
17
|
-
department?: Class;
|
|
18
|
-
}
|
|
19
|
-
export interface MyProfile {
|
|
20
|
-
userId: ID;
|
|
21
|
-
user: User | undefined;
|
|
22
|
-
userRole: UserRole | undefined;
|
|
23
|
-
}
|
|
24
|
-
export interface MyBankConnectionsView extends UserFinancialAccountSelectorView {
|
|
25
|
-
paymentAccounts: PaymentAccount[];
|
|
26
|
-
}
|
|
27
|
-
export interface BankConnectionsSetupView extends FetchStateAndError {
|
|
28
|
-
setupView: SetupView;
|
|
29
|
-
}
|